Commit graph

2035 commits

Author SHA1 Message Date
QC
23136e12a7 Add another small test. 2014-08-29 17:26:47 +02:00
QC
a20e2a5ed9 Forgot to remove debug code, causing false negative. 2014-08-29 17:03:35 +02:00
QC
4ab95f5d26 Add dmenu test. 2014-08-29 16:57:36 +02:00
QC
0b4c582c1a Add coverage picture. 2014-08-29 16:40:55 +02:00
QC
a9953f4c3b Try to fix test on travis server. 2014-08-29 16:39:11 +02:00
QC
1916b0e66e Remove clang, does not work with the coverage stuff. 2014-08-29 16:34:04 +02:00
QC
bcbf512dc4 Add another test. 2014-08-29 16:24:39 +02:00
QC
94d17b0001 No idea why coverall is failing now. 2014-08-29 16:14:19 +02:00
QC
fb16b110af Try to fix coveral. 2014-08-29 15:32:46 +02:00
QC
41520160f9 Only report coverage c files. 2014-08-29 15:27:13 +02:00
QC
f41657476e Add missing test file. 2014-08-29 15:21:10 +02:00
QC
12258eb02b Try out small fake X server test. 2014-08-29 15:17:57 +02:00
QC
79e729bd37 Update the test to integrate in build.
* TODO: fix make distcheck.
2014-08-29 13:06:40 +02:00
QC
b7f6799af9 Playing with coveralls 2014-08-29 12:20:22 +02:00
QC
169c05cc15 Fix crash in history when removing last entry. 2014-08-29 12:14:43 +02:00
QC
5b017b017b Add gcov option. 2014-08-29 00:01:36 +02:00
QC
92f518cdf8 Add CI image. 2014-08-28 21:36:53 +02:00
QC
4457f3d948 Remove i3 from travis build as its version is to old. 2014-08-28 21:30:57 +02:00
QC
8d708522fb Tell travis it is C language. 2014-08-28 21:29:06 +02:00
QC
a35343b09a Update INSTALL file. 2014-08-28 21:27:04 +02:00
QC
2a72d1624b Add travis build file. 2014-08-28 21:19:46 +02:00
Dave Davenport
562ace6b78 small cleanup error_dialog, remove dummy calc 2014-08-28 10:10:16 +02:00
QC
bdeceaa35b Update manpage. 2014-08-27 19:48:54 +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
d76571bcaa Initialize fd to -1. 2014-08-25 20:07:31 +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
30051c8e80 issue: #79: Crash when enter on empty list.
* This fixes the reproducable part of the bug. (enter on empty list)
    * check selected < filtered_lines. so we do not try to dereference a null pointer.
2014-08-25 17:48:42 +02:00
Dave Davenport
26e1561622 Removed unused code. (NEAR and i3_mode) 2014-08-25 09:14:49 +02:00
Dave Davenport
04e13e3a20 Fix compile warnings. 2014-08-24 15:21:35 +02:00
QC
02ef657c41 [Click to select] Only select visible boxes. 2014-08-24 11:24:35 +02:00
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
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
06b274c9d9 Regenerate manpage. 2014-08-21 22:37:13 +02:00
Dave Davenport
7c20ab1d96 Add note about levenshtein being disabled on dmenu mode. 2014-08-21 22:35:13 +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
1a7819275a Update manpage. 2014-08-14 21:16:42 +02:00
QC
9af1d490a6 Make Rasi a happy boy, add character width mode. 2014-08-11 20:21:29 +02:00
QC
17654e3ab2 Release 0.14.8 2014-08-09 22:00:29 +02:00
QC
b6a1d430bf Remove xdg from install.md. 2014-08-09 12:18:59 +02:00
QC
1a47507f7b Remove custom strlcpy for g_strlcpy. 2014-08-09 11:49:37 +02:00
QC
0be8e7ffa9 Remove xdg as dependency, glib provides this. 2014-08-09 11:44:06 +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
9ac8f408f4 Remove useless prefix complete code.
* it is slow (ish)
    * it is not propper utf8 matching, doing this will make it slower.
2014-08-08 17:35:39 +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
2d87f12c44 Move the website a few lines down. #73 2014-08-05 20:09:39 +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
da69111a20 Work on bug #73 2014-08-03 21:51:31 +02:00