Commit graph

67 commits

Author SHA1 Message Date
QC
3df30438b1 Fix some font stuff. 2015-03-19 23:48:49 +01:00
Dave Davenport
9530f195d1 Better way of getting font height. Use ascent and descent. 2015-03-19 19:58:47 +01:00
QC
f6ad00c7bf Pointless commit fixing comments. 2015-03-08 15:43:31 +01:00
Dave Davenport
444d09b905 Update spell. 2015-03-05 20:26:52 +01:00
Dave Davenport
8b50e94fea Make compiler more picky.
Add -Werror=missing-prototypes
2015-02-18 08:53:38 +01:00
QC
dee0bfb821 Fix #128: Better handling of keybindings and remove deprecated launching.
See manpage.
2015-02-15 21:15:16 +01:00
Dave Davenport
8347963ed8 Fix some warnings from clang-check. 2015-02-13 15:37:55 +01:00
QC
877c8051c6 Update copyright license. 2015-02-12 22:34:06 +01:00
Dave Davenport
f7eeaec60f Fix #126: Allow (simplistic) word movement and deletion.
* Ctrl-Alt-d: Delete word
        * Ctrl-Alt-h: Delete previous word
        * Alt-f: Forward one word
        * Alt-b: Backwards one word
2015-02-07 16:42:42 +01:00
Dave Davenport
63fd534ba2 Move data around, constness, etc. 2015-02-03 08:21:59 +01:00
QC
3a98c71fa1 Fix: #121 Print utf8 until invalid character. 2015-02-02 16:44:08 +01:00
Dave Davenport
9cc63d4948 Updates fixing pango transparancy. 2015-01-21 10:04:15 +01:00
Dave Davenport
291070e579 First try out. (tests not compiling at.. do make rofi) 2015-01-20 23:32:57 +01:00
Dave Davenport
a8843af9f3 Add support for alternating row colors. 2015-01-12 19:14:46 +01:00
QC
79909cd807 Another possible NULL pointer fix. 2015-01-07 17:48:10 +01:00
Dave Davenport
59ee49a557 [TextBox] fix alignment issue with cursor. 2014-12-02 08:11:53 +01:00
QC
e2a3139b7d Small update trying to fix past commit. 2014-11-29 16:54:42 +01:00
qedi
ada9f81ce0 fix logic for Ctrl+Return/Ctrl+Enter 2014-11-29 09:39:27 -05:00
qedi
21235b0600 Force custom commandline when Ctrl-Return is used 2014-11-28 22:24:07 -05:00
QC
03f919a0fb Fix center mode. 2014-11-09 12:35:12 +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
229bb6931b Play with adding some more test, bug fixes
* delete an invalid memmove in textbox
2014-08-30 20:45:08 +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
ba6a055683 Fix #59: Add some basic mouse support.
* TOOD: fix double click.
2014-08-23 12:47:09 +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
9af1d490a6 Make Rasi a happy boy, add character width mode. 2014-08-11 20:21:29 +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
da69111a20 Work on bug #73 2014-08-03 21:51:31 +02:00
QC
9bbb79a888 Remove Active mode. IT causes problems with matching and has limited use. 2014-08-03 17:21:42 +02:00
QC
09130a6d11 Fix cursor height. 2014-08-03 11:48:48 +02:00
QC
0e12051783 Make insert and ctrl-v behavior the opposite.
* ctrl-v clipboard ctrl-shift-v primary
        * insert primary shift-insert clipboard.
2014-08-02 23:08:14 +02:00
QC
7046656246 Small tweak. 2014-08-02 22:27:04 +02:00
QC
eb688ad629 Fix a small pango scaling issue, center text in Y direction. 2014-08-02 21:09:20 +02:00
QC
48f592b7c1 Small fix (no functional change) 2014-08-02 20:57:05 +02:00
QC
7bebd1d7dd Set ellipsizing in the middle for edit boxes. 2014-08-02 20:25:43 +02:00
QC
6a45a18a4e Pango testing. 2014-08-02 20:02:37 +02:00
QC
57f28bbb3b Close bug #57.
* Also accept XK_KP_Enter
2014-07-20 17:10:10 +02:00
QC
df49b0709b Fix segfault in hmode. 2014-06-06 19:34:10 +02:00
QC
9fbd7fc99c Re-indent. 2014-06-04 21:29:23 +02:00
QC
6fb7e345d0 Insert key paste secondary, shift-insert primary. 2014-06-02 13:29:43 +02:00
QC
92db68b36d How many times will I break/fix trailing spaces, only buddah knows 2014-06-02 13:23:36 +02:00
Qball Cow
dfa2915ef0 Remove globals 2014-05-26 10:32:26 +02:00
Qball Cow
e63de1220a Remove unused variables 2014-05-26 09:21:39 +02:00
Qball Cow
469b566614 Cleanup, possibly unbreak daemon mode. 2014-05-26 09:00:14 +02:00
QC
56a911129d Re-use XftFont instead of recreating it each and every time. 2014-05-25 23:32:06 +02:00
QC
21a0666a6e Cleanups and indenting. 2014-05-22 09:33:32 +02:00
Qball Cow
e3c20447c7 Remove prompt option from textbox, simplify code, fix small drawing issue. 2014-05-21 17:33:28 +02:00
Qball Cow
6cd01dba0e Add 4px gap between cursor and last Glyph 2014-05-19 17:57:27 +02:00