Commit graph

50 commits

Author SHA1 Message Date
QC
5b017b017b Add gcov option. 2014-08-29 00:01:36 +02:00
Dave Davenport
0795cfda8d Add display text modi. 2014-08-27 19:44:15 +02:00
QC
24e7041604 Use g_spawn instead of fork+exec*
* Avoids issue with atexit being called for fork.
        * less code.
2014-08-25 20:02:48 +02:00
Dave Davenport
86b7571e04 Cleanup warnings.
* unused var and arguments.
2014-08-22 09:43: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
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
280c3d7f7f Using Glib's utf8 functions to do string collating.
* casefold and use utf-8 collating.
        * use g_utf8_next/prev for moving cursor.
2014-08-07 21:42:16 +02:00
QC
77a0a765ae Reverting c/p behavior, misread comments. 2014-08-03 21:09:20 +02:00
QC
5ddcac2514 Cleanup previous test commit. 2014-08-03 17:05:06 +02:00
QC
bd4aa3d2fa Fix #67 Allow alt-<num> to switch between modis 2014-07-21 23:19:45 +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
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
c400c44ec1 Make cppcheck happy. (normally we assume malloc does not fail.) 2014-05-26 09:19:58 +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
f29751b573 Change the prompt to be more consistent. Bug #49 2014-05-21 23:54:48 +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
Qball Cow
a925e59653 Small fixes 2014-05-13 22:11:42 +02:00
Qball Cow
87b51f5430 Extract out the history code and create functions for it.
(Easier to fix issues later on)
2014-05-13 10:45:59 +02:00
Qball Cow
4fd76f59b4 Use asprintf.
Avoid possible errors.
2014-04-22 14:38:36 +02:00
Dave Davenport
0d6556618e Allow window title to be set. issue #42 2014-04-22 11:11:46 +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
Qball Cow
c268c10f8b Fix warning from clang --analyze 2014-03-11 20:16:44 +01:00
QC
1bed4252ae More rename. 2014-03-01 17:28:55 +01:00
QC
7f32582582 Rename simpleswitcher to rofi. 2014-03-01 17:27:52 +01:00
QC
52a28ea494 Small cleanups. 2014-02-27 20:26:35 +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
0737b4f5b2 Read settings from Xresource.
Code borrowed from Sean Pringle (yet again).
2014-02-01 23:04:45 +01:00
Qball Cow
fa5a496629 Fix a few minor bugs 2014-02-01 14:39:49 +01:00
Qball Cow
5415cd60ed Add delete option to ssh switcher 2014-02-01 14:06:08 +01:00
Qball Cow
6177c90a87 Restructure for and add option to delete entry from history. 2014-02-01 14:03:23 +01:00
Qball Cow
c32e18b600 Make dmenu mode behave more like dmenu 2014-01-30 18:23:52 +01:00
QC
b0ee6ab8dd also accept . in ssh hostname 2014-01-26 16:47:26 +01:00
QC
8b6b494830 Support _ in ssh hostname 2014-01-26 16:21:08 +01:00
QC
e62ada2a83 Add support for horizontal mode. 2014-01-26 12:59:10 +01:00
QC
6e242c197e Use XDG basedir for CACHE. 2014-01-25 23:37:37 +01:00
Qball Cow
95dd228dd6 Small compile fix on arm 2014-01-23 18:03:11 +01:00
Qball Cow
e95727c3bc Config cleanups. 2014-01-23 11:39:12 +01:00
Qball Cow
498c007193 Add line. 2014-01-22 13:15:38 +01:00
Qball Cow
f4da5aceb2 Don't add empty ssh targets. 2014-01-22 10:01:45 +01:00
Qball Cow
6bb615f1d1 small cleanup 2014-01-22 09:24:31 +01:00
Qball Cow
0dbd57b46f Include errno.h 2014-01-21 14:56:25 +01:00
Qball Cow
0068618573 cleanup 2014-01-21 10:35:59 +01:00
Qball Cow
ef8d444dd2 Add keybinding. 2014-01-21 10:13:42 +01:00
Qball Cow
a749aa35e9 Add a SSH selector. 2014-01-21 10:01:55 +01:00