Commit graph

185 commits

Author SHA1 Message Date
Dave Davenport
0462811800 Add flexible configuration for launching
* You can now specify links: {terminal} -e bash -e "{ssh-client} {host}"
    * Add test for this code.
2014-09-03 13:07:26 +02:00
Dave Davenport
62d4f0cdad Make rofi compile happily under clang.
* Set features in configure.ac
    * use config.h file, instead of hardcoded _GNU_SOURCE
      in each c file.
    * Fix mix up unsigned/signed.
2014-08-22 09:27:45 +02:00
Dave Davenport
63e5f4e940 Small cleanup and fixes.
* Use g_strfreev
    * Use g_ascii*strto(u)ll
2014-08-21 19:14:01 +02:00
QC
98dfbddadb Move to glib's based memory allocation functions
* replace calloc by malloc0_n
        * malloc by g_malloc
        * strdup by g_strdup
        * asprintf by g_strdup_printf
        * realloc by g_realloc
        * free loop by g_strfreev (if possible)
2014-08-09 11:40:42 +02:00
QC
c11fe3d056 Remove the -loc option for -location so things are more consistent. 2014-07-24 20:38:21 +02:00
QC
cd4888a5cf Fix #65, Fix #63 Allow user to select list of modi's
* Add script_dialog, so user can add dialogs using a script.
    * Add a way to disable modi's
    * Add -show <modi> option.
2014-07-21 21:39:24 +02:00
QC
ea9090eb50 Remove a big chunk of duplicate code by re-ordering.
* Remove the refilter code that was in there twice (and directly squash a small bug)
 * Pull out the window position calculation in a sub-function.
2014-07-19 20:42:22 +02:00
Dave Davenport
c86f28493a Make levenshtein sorting its own option.
* TODO: update manpage. (no md2man on this machine)
2014-07-16 08:42:42 +02:00
QC
f9149b5bdb Add option to disable history. 2014-06-05 21:55:47 +02:00
QC
9fbd7fc99c Re-indent. 2014-06-04 21:29:23 +02:00
QC
241e4516c0 Small fix. 2014-05-24 16:23:01 +02:00
QC
1df6489746 Fix small typo 2014-05-22 21:59:27 +02:00
QC
87958d4cad Add option to dump xresources entries. 2014-05-22 21:56:57 +02:00
QC
5769bc36f1 Make ssh set title public. 2014-05-22 10:03:36 +02:00
QC
21a0666a6e Cleanups and indenting. 2014-05-22 09:33:32 +02:00
QC
a26cf2637d Commandline options and Xresources now match in nameing. 2014-05-22 09:18:16 +02:00
Qball Cow
beced5d36e Use true/false for hmode and fixed-num-lines
* Also update man page to reflect this.
2014-05-22 00:38:14 +02:00
Qball Cow
85172743ee Keys via xresources, dump config. 2014-05-20 09:43:45 +02:00
QC
3157358c63 Add hmode to xrmoptions. 2014-05-19 22:12:54 +02:00
QC
05cf49a880 Fix some small memory leaks. 2014-05-19 21:58:13 +02:00
Qball Cow
0a95ba47fa Extra checks, first part cleanup 2014-05-19 21:02:05 +02:00
Qball Cow
b360cdd13c Change malloc+sprintf to asprintf 2014-05-19 17:54:53 +02:00
Qball Cow
cb15a57fb7 Remove memory wrappers, and use system stuff directly. 2014-05-19 16:48:50 +02:00
Qball Cow
b535533569 Add some initial columns support. 2014-05-19 09:50:09 +02:00
QC
4f1ab47b7d Small 'correctness' fixes (thx to sparse) 2014-05-17 23:06:45 +02:00
QC
f44fd74987 Add option to fix the size of rofi 2014-05-17 22:17:23 +02:00
QC
3ebd0d9001 Allow xoffset, fix bottom/right edge. 2014-05-15 21:55:23 +02:00
Qball Cow
82bdb5f348 Add a y-offset. 2014-05-15 16:54:35 +02:00
Qball Cow
1b9d4fb325 add location to xrm options 2014-05-15 08:44:45 +02:00
QC
c87312be36 Indent o mania. 2014-03-22 21:04:19 +01:00
Qball Cow
6e7f1b746a Rename main file. 2014-03-12 08:41:38 +01:00
QC
7f32582582 Rename simpleswitcher to rofi. 2014-03-01 17:27:52 +01:00
Qball Cow
faab271283 Do not free the return value of XResourceManagerString.
(See manual http://tronche.com/gui/x/xlib/resource-manager/XResourceManagerString.html)
2014-02-04 18:39:32 +01:00
QC
c71e0313a9 Add header. 2014-02-03 21:46:44 +01:00
QC
96e76c1998 Split out xresource and add -v --version 2014-02-02 10:54:01 +01:00