Commit Graph

58 Commits

Author SHA1 Message Date
Edwin Pujols
d1ba4bd8dc Fix #102 - Add case sensitivity. 2015-01-12 09:25:20 -04:00
QC
7c22f34154 Fix bug #97: Remove duplicates. 2015-01-07 15:53:41 +01:00
Qball Cow
10cdd0e48e Do not crash on empty list in run dialog. 2015-01-06 11:45:01 +01:00
QC
cfde1bde9a Add run-list command. 2015-01-05 22:16:13 +01:00
Dave Davenport
a28b6df307 Add support custom command. 2015-01-05 21:53:50 +01:00
QC
f710912042 Add ctrl-/ as reverse tab. 2014-11-11 21:50:16 +01:00
QC
2e0d79d73e [Run] Filter out duplicates. Issue #86 2014-11-06 17:44:41 +01:00
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
0795cfda8d Add display text modi. 2014-08-27 19:44:15 +02:00
Dave Davenport
e44183b406 Refactor the to-long menu() function.
* Split out larger sub-parts into separate functions.
    * Create a state structure.
    * Remove zeltak mode.
2014-08-26 20:25:00 +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
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
6a917315ce When disabling history go into 'levenshtein' distance sorting when typing. 2014-07-05 19:47:55 +02:00
QC
eb20e77d6e Run-dialog, ignore dot files. 2014-06-07 11:00:21 +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
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
de5187bb01 Add small arrows indicating more pages. (to be updated later) 2014-05-14 19:51:48 +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
QC
db9bb13111 clearer that run dialog 2014-05-10 22:58:21 +02:00
Qball Cow
832c2cb584 Add comment to avoid mistake later, remove alloca
* Add comments so previous mistake is not repeated.
    * Remove alloca, replace it by strdup/asprintf.

Code now passes cppcheck.
2014-04-25 09:11:10 +02:00
Qball Cow
a0a5400c72 Fix bug with extra trailing \n 2014-04-24 23:39:26 +02:00
Qball Cow
7887344d44 Removed unused, add comments. 2014-04-24 17:35:40 +02:00
Qball Cow
f0aa796fd8 Small cleanups. 2014-04-23 08:47:46 +02:00
QC
c87312be36 Indent o mania. 2014-03-22 21:04:19 +01:00
QC
f033a0d669 Small fix. 2014-03-16 13:48:03 +01:00
Qball Cow
dc5c853d91 small fix for stupid error 2014-03-12 17:40:23 +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
Qball Cow
702ff68eb4 Sort favorites by # of runs 2014-03-08 21:35:27 +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
Qball Cow
fa5a496629 Fix a few minor bugs 2014-02-01 14:39:49 +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
6e242c197e Use XDG basedir for CACHE. 2014-01-25 23:37:37 +01:00