Dave Davenport
ca6b1a8178
Fixing path.
2015-11-28 12:59:10 +01:00
Dave Davenport
2da1207b7d
Fix issue #271 expand path.
2015-11-27 13:01:25 +01:00
Dave Davenport
611c2c4302
Don't create collate, use normalized form to match.
2015-11-22 23:49:41 +01:00
Dave Davenport
8c9b72f34e
Start at fixing Issue 273, this might break some things.
...
* Only use get_display_data for displaying. (Except the select complete (ctrl-space), this needs fixing).
* Fix possible race condition in parallelization.
* Fix small bug in case-sensitive handling. (beware for collision in keybinding)
* Keep less lists around.
2015-11-21 23:59:59 +01:00
Dave Davenport
38d2bc717a
handle failed regex better.
2015-11-17 16:25:42 +01:00
Dave Davenport
00c8439b57
Small fix
2015-11-17 16:21:30 +01:00
Dave Davenport
aeaceb154a
Add experimental regex support
2015-11-17 16:10:14 +01:00
Dave Davenport
80e873c8a3
Add threadpool support, add optional timings compile flag
2015-11-14 13:47:45 +01:00
Dave Davenport
45c8de9387
If threads is set to 0, try to autodetect number of threads.
2015-11-12 17:20:51 +01:00
Qball Cow
c7dcb4821a
Use getdelim instead of custom fgets function.
2015-11-12 14:15:33 +01:00
Qball Cow
aedd26aef4
Fix #258 : Set fallback alternative color before trying to allocate it.
2015-11-04 12:03:59 +01:00
QC
683632c36c
Some cleanups
2015-10-18 19:02:19 +02:00
QC
73fd87f820
Add mesg about fullscreen and monitor setup
2015-10-18 13:45:15 +02:00
QC
93b6b83fb9
Try todo some validation of monitor size/padding in config sanity check.
2015-10-18 13:40:39 +02:00
Dave Davenport
4975704a05
Fix #244 Do not catch sigchld, let glib handle this internally
...
- TODO fix man page viewing.
2015-10-12 08:12:25 +02:00
Tom Hinton
a53061b890
Merge remote-tracking branch 'upstream/master' into fast-ascii-filtering
...
Conflicts:
source/dialogs/dmenu.c
source/helper.c
source/rofi.c
2015-10-05 10:44:11 +01:00
QC
9a39ebb3e9
Fix typo
2015-10-04 17:02:54 +02:00
Dave Davenport
6b039ac524
Add tokenize option and append * to glob.
2015-10-04 16:37:07 +02:00
QC
5de38cd755
Add glob version for testing.
2015-10-02 20:39:57 +02:00
Tom Hinton
c2d8cb1f45
Move ascii testing gizmos to macros at the top.
...
Still not sure about best way to do this.
2015-10-02 09:58:56 +01:00
Tom Hinton
d1a5b0d362
whoops, rogue print statement
2015-10-01 13:46:50 +01:00
Tom Hinton
0a953a03b4
Make fuzzy matching fast and unicode-happy
2015-10-01 13:45:23 +01:00
Tom Hinton
af6a4b83eb
Make normal filtering of plain ASCII lines faster
...
This patch adds a field lines_not_ascii to the MenuState structure. The
nth entry is 0 unless the nth member of MenuState.lines has a non-ascii
codepoint in it.
All comparison functions (menu_match_cb type) take an additional
argument to tell them if the thing they are matching is not_ascii. They
can use this to determine whether to collate and case-fold the
input (for non-ascii strings), or whether to use strstr/strcasestr (for
ascii strings).
The change is not currently implemented for flex matching, due to my
laziness. However, it should be a simple enough matter to add.
For my large input of 400,000 lines, this reduces typical filtering time
to about ten microseconds from about 2 seconds.
2015-10-01 12:16:41 +01:00
Tom Hinton
574bf2da82
Make dmenu reading very marginally faster
...
A slight reduction in use of realloc and avoidance of 3 or 4 strlens for
a string we know the length of
2015-10-01 11:41:44 +01:00
QC
023bb23bcf
Support \0
2015-09-20 20:05:04 +02:00
QC
b18d68eff2
Adjust new editor width
2015-09-19 12:57:48 +02:00
QC
442e235c24
Some cleanups, tweak uncrustify.
2015-09-19 12:21:30 +02:00
QC
89dcb5be1e
Remove unused function
2015-08-29 11:57:04 +02:00
Dave Davenport
353e82b27d
Allow 0 line margin
2015-08-27 07:35:34 +02:00
QC
2277501566
Cleanup drawing a bit.
2015-08-26 21:49:53 +02:00
Dave Davenport
1ca7141621
Add quick solution for #202 , expose line-margin setting.
2015-08-04 09:42:14 +02:00
QC
5777ee57e5
Remove use of g_close, not available on travis
2015-08-02 15:56:52 +02:00
Dave Davenport
dffc27e5aa
Try to make things more robust, e.g. try to recover before giving up.
2015-07-31 12:23:41 +02:00
Dave Davenport
69c75971f3
Print error to stderr when fclose fails.
2015-07-31 10:21:32 +02:00
Dave Davenport
8d6a78939c
Small cleanup + fail more gracefull here and there
2015-07-30 08:57:09 +02:00
Dave Davenport
93c01ccbd5
Add new event handling
2015-07-28 22:22:18 +02:00
QC
d60f6701de
Add patches from BSD (hopefully ok?)
2015-07-04 15:36:11 +02:00
Dave Davenport
98b8e583cb
Make fuzzy matching available everywhere: #133 (-fuzzy)
2015-07-01 09:12:22 +02:00
Dave Davenport
30743d1789
Move fuzzy_token_match to where it can be reused.
2015-06-28 13:53:37 +02:00
QC
354ccdd94d
Fix Issue #164
2015-05-16 13:58:09 +02:00
QC
a38ddb3b06
Fix space.
2015-04-14 22:12:21 +02:00
QC
9ff5a615e9
Add combi viewer.
...
Use by adding combi to the list of enabled modi.
2015-03-30 20:12:22 +02:00
QC
b21368c005
OO-ify the Switchers.
2015-03-27 20:28:53 +01:00
Dave Davenport
42b86015c3
Make pointers static.
2015-03-12 08:39:50 +01:00
Dave Davenport
4fad02225e
Cleanup argc/argv lugging around.
2015-03-11 18:32:37 +01:00
Dave Davenport
444d09b905
Update spell.
2015-03-05 20:26:52 +01:00
Dave Davenport
2474575a90
Small move.
2015-02-19 13:44:59 +01:00
Qball Cow
3b18c28792
Remove unused function.
2015-02-17 14:27:12 +01:00
Dave Davenport
a534a0f244
Rewrite of the configuration parsing, no longer duplicating options between Xrm and CMD.
...
* NEEDS TESTING.
2015-02-17 10:31:59 +01:00
Dave Davenport
bda97e0849
Throw a warning when using old commandline arguments.
...
* Give error on -now, -rnow, -snow, -key, -skey, -rkey
* Update manpage.
2015-02-16 09:07:05 +01:00