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
QC
cbc51910bc
Small fix with spaces not being rendered.
2014-05-18 18:14:15 +02:00
Qball Cow
08da286931
Fix small miss-drawing
2014-05-16 09:17:55 +02:00
QC
7b7af4cfb4
Show arrows in list.
2014-05-14 20:56:38 +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
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
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
52a28ea494
Small cleanups.
2014-02-27 20:26:35 +01:00
Qball Cow
c2e25dc0c1
Use Xutf8LookupString
2014-02-25 22:54:44 +01:00
Qball Cow
5619c856f1
First throw at some utf8 support
2014-02-25 09:16:52 +01:00
Qball Cow
6177c90a87
Restructure for and add option to delete entry from history.
2014-02-01 14:03:23 +01:00
QC
8725748916
Home/End key map to list browsing.
2014-01-31 19:39:09 +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
Qball Cow
498c007193
Add line.
2014-01-22 13:15:38 +01:00
QC
5e72018497
Split of run-dialog part in separate file.
2014-01-20 23:36:20 +01:00
QC
06039b8c9c
Restructure a bit.
2014-01-19 14:18:42 +01:00