summaryrefslogtreecommitdiffstats
path: root/source/helper.c
AgeCommit message (Collapse)Author
2015-11-12Use getdelim instead of custom fgets function.Qball Cow
2015-11-04Fix #258: Set fallback alternative color before trying to allocate it.Qball Cow
2015-10-18Some cleanupsQC
2015-10-18Add mesg about fullscreen and monitor setupQC
2015-10-18Try todo some validation of monitor size/padding in config sanity check.QC
2015-10-12Fix #244 Do not catch sigchld, let glib handle this internallyDave Davenport
- TODO fix man page viewing.
2015-10-05Merge remote-tracking branch 'upstream/master' into fast-ascii-filteringTom Hinton
Conflicts: source/dialogs/dmenu.c source/helper.c source/rofi.c
2015-10-04Fix typoQC
2015-10-04Add tokenize option and append * to glob.Dave Davenport
2015-10-02Add glob version for testing.QC
2015-10-02Move ascii testing gizmos to macros at the top.Tom Hinton
Still not sure about best way to do this.
2015-10-01whoops, rogue print statementTom Hinton
2015-10-01Make fuzzy matching fast and unicode-happyTom Hinton
2015-10-01Make normal filtering of plain ASCII lines fasterTom Hinton
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-01Make dmenu reading very marginally fasterTom Hinton
A slight reduction in use of realloc and avoidance of 3 or 4 strlens for a string we know the length of
2015-09-20Support \0QC
2015-09-19Adjust new editor widthQC
2015-09-19Some cleanups, tweak uncrustify.QC
2015-08-29Remove unused functionQC
2015-08-27Allow 0 line marginDave Davenport
2015-08-26Cleanup drawing a bit.QC
2015-08-04Add quick solution for #202, expose line-margin setting.Dave Davenport
2015-08-02Remove use of g_close, not available on travisQC
2015-07-31Try to make things more robust, e.g. try to recover before giving up.Dave Davenport
2015-07-31Print error to stderr when fclose fails.Dave Davenport
2015-07-30Small cleanup + fail more gracefull here and thereDave Davenport
2015-07-28Add new event handlingDave Davenport
2015-07-04Add patches from BSD (hopefully ok?)QC
2015-07-01Make fuzzy matching available everywhere: #133 (-fuzzy)Dave Davenport
2015-06-28Move fuzzy_token_match to where it can be reused.Dave Davenport
2015-05-16Fix Issue #164QC
2015-04-14Fix space.QC
2015-03-30Add combi viewer.QC
Use by adding combi to the list of enabled modi.
2015-03-27OO-ify the Switchers.QC
2015-03-12Make pointers static.Dave Davenport
2015-03-11Cleanup argc/argv lugging around.Dave Davenport
2015-03-05Update spell.Dave Davenport
2015-02-19Small move.Dave Davenport
2015-02-17Remove unused function.Qball Cow
2015-02-17Rewrite of the configuration parsing, no longer duplicating options between ↵Dave Davenport
Xrm and CMD. * NEEDS TESTING.
2015-02-16Throw a warning when using old commandline arguments.Dave Davenport
* Give error on -now, -rnow, -snow, -key, -skey, -rkey * Update manpage.
2015-02-15Fix #128: Better handling of keybindings and remove deprecated launching.QC
See manpage.
2015-02-13Fix some warnings from clang-check.Dave Davenport
2015-02-12Update copyright license.QC
2015-02-10Remove hmode. (Rather no implementation then a bad one.)Dave Davenport
2015-02-04Cleanups.Dave Davenport
2015-02-03Move data around, constness, etc.Dave Davenport
2015-02-03Move stuff around. Try to reduce size rofi.c.Dave Davenport
2015-01-31Fix not grabbing keyboard, and add pid file to ensure one instance.QC
2015-01-15Small cleanup and reducing of scopes.Dave Davenport