Commit Graph

32 Commits

Author SHA1 Message Date
QC ba6a055683 Fix #59: Add some basic mouse support.
* TOOD: fix double click.
2014-08-23 12:47:09 +02:00
Dave Davenport b665e85e69 Fix compile warnings with CLANG.
* signed compare with unsigned.
2014-08-22 17:29:15 +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
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
Dave Davenport b196649f10 Fix #76: DMENU returns 1 on cancel.
* Pull out dmenu, separate it from normal modi.
    * Give dmenu a return value (1 on cancel)
2014-08-05 09:07:41 +02:00
QC 5ddcac2514 Cleanup previous test commit. 2014-08-03 17:05:06 +02:00
QC d02f43966e Test to see if this fixes issue from Rafi. 2014-08-03 16:44:14 +02:00
QC 65903e61d0 Fix #71 2014-08-01 23:29:01 +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 57f28bbb3b Close bug #57.
* Also accept XK_KP_Enter
2014-07-20 17:10:10 +02:00
QC 0f279b2995 Restructure some code, fix a small bug in dmenu mode.
* dmenu crashed on no input lines (wrong free)
 * Pass length of lines to menu function.
2014-07-20 12:29:27 +02:00
QC 9fbd7fc99c Re-indent. 2014-06-04 21:29:23 +02:00
Qball Cow 749d3e6223 Add docs 2014-05-27 08:31:59 +02:00
Qball Cow c400c44ec1 Make cppcheck happy. (normally we assume malloc does not fail.) 2014-05-26 09:19:58 +02:00
Qball Cow cb15a57fb7 Remove memory wrappers, and use system stuff directly. 2014-05-19 16:48:50 +02:00
QC 4f1ab47b7d Small 'correctness' fixes (thx to sparse) 2014-05-17 23:06: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
QC a3569079c9 Make cppcheck happy. 2014-02-26 22:48:49 +01:00
QC 57abc12c43 cleanups 2014-02-03 23:07:04 +01:00
QC b9c192c4fe Removing duplicate code, small fixes. 2014-02-03 22:49:07 +01:00
QC 2bfc2fff4b Remove mark dialog. 2014-02-03 22:28:04 +01:00
QC 0737b4f5b2 Read settings from Xresource.
Code borrowed from Sean Pringle (yet again).
2014-02-01 23:04:45 +01:00
QC 76a8f79211 Accept empty lists 2014-02-01 22:31:07 +01:00
Qball Cow 6177c90a87 Restructure for and add option to delete entry from history. 2014-02-01 14:03:23 +01:00
QC 8310a97219 Fix endline thingy in dmenu 2014-01-31 20:36:14 +01:00
Qball Cow e9770460dd Fix i3less build. 2014-01-31 15:52:04 +01:00
QC 101c63cde6 Indent. 2014-01-30 21:32:36 +01:00
Qball Cow c32e18b600 Make dmenu mode behave more like dmenu 2014-01-30 18:23:52 +01:00
QC 760a634731 Indent. 2014-01-30 10:02:01 +01:00
Qball Cow bbe4a3d330 Add dmenu option 2014-01-30 00:47:23 +01:00