summaryrefslogtreecommitdiffstats
path: root/source/dialogs/combi.c
AgeCommit message (Collapse)Author
2017-05-30view: Add icon (basic) supportAaron Ash
2017-04-27Re-Indent codeDave Davenport
2017-04-15Fix licenses headersQuentin Glidic
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-04-15Consolidate loggingQuentin Glidic
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-03-31Fix alternate separatorDave Davenport
2017-03-31Document '/' as separator and add to combi mode.Dave Davenport
2017-03-17[Keys] Cleanup view a bit.Dave Davenport
2017-03-10Zeltakmadness (#572)Dave Davenport
* Allow modi to set extra pango attributes on displayed rows * Fix some documentation, only highlight the mode name with color. * Small rename.
2017-03-04Indent code.Dave Davenport
2017-03-04Detect plugins on startup.Dave Davenport
2017-02-04Allow bang to match multiple modes when incomplete to select single. Fixes #552Dave Davenport
2017-02-03Don't recreate every string everytime.Dave Davenport
2017-01-26Combi mode: Bang mode prefixes with len>1 (#542)Moritz Maxeiner
* Combi mode: Bang mode prefixes with len>1 This is required to match on modes that share a prefix. Let 'power' and 'pass' be such modes for the following explanation: Previously, only the first character of after the bang was compared, so '!p' would always be matched to the 'pass' mode and there was no way to limit selection in combi mode to the 'power' mode. Now we can use prefixes of arbitrary length following the bang such as '!po' (matches 'power' mode), or '!pa' (matches 'pass' mode). Prefixes of length 1 are unchanged compared to the previous behaviour, i.e. '!p' will still match 'pass'. * Combi-mode prefixes should be utf-8 aware
2017-01-03Update copyright to 2017.Dave Davenport
2016-10-08Qtk widgets (#478)Dave Davenport
* Initial support for using boxes for packing widgets. * Make CapiTalIzation more consistent * Move widgets to subdirectory * Removed nolonger needed resize function. * Small cleanup * When switching mode, reuse view, don't rebuild it. Reduces artifacts. * Needs cleaning up. * Remove separate prompt argument, use display_name * Simplify run-switcher code. * Add notion of parents, and trigger parent update on resize. * Use widget_get_height wrapper, avoid crash * Size separator width based on height. (indent) * TODO add margin to box. * First draft version of listview. * Add scrollbar to listview widget * Add padding option to box * Move access to global config out of widget. (1/2 done) * Remove printf * Make listview not access global config * Add click support, implement on mode buttons. * Re-introduce mouse handling on list-view. * TODO draggin on scrollbar. * Fix multi-select * Fix warnings * Fix include
2016-08-29Fix configure script a bit.Dave Davenport
2016-05-26Fix combi mode 'bang' behaviour, improve levenshtein with combiDave Davenport
2016-05-22Remove the is_ascii mess.Dave Davenport
2016-04-20Move teardown to the logic place again (possible with deamon mode removed)Dave Davenport
2016-04-10Issue: #380 Make combi complete prepend bangDave Davenport
2016-03-24Cleanup unused type specifier (dialogs).Dave Davenport
2016-03-20Fix positioning window on top of window.Dave Davenport
2016-03-19Make clang static code analyzer happy (300+ -> 5)Dave Davenport
2016-02-23rofi: Drop daemon modeQuentin Glidic
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2016-01-12Update display value for modi (testing)Dave Davenport
2016-01-08Start making SardemFF happy. Use g_return_if_failDave Davenport
2016-01-07More splitting and abstracting.Dave Davenport
2016-01-07First cleanup steps.Dave Davenport
2016-01-07More doxygen sugar.Dave Davenport
2016-01-01Update copyrightDave Davenport
2015-11-25Big rename from Switcher to Mode internal, to match with user terminologyDave Davenport
2015-11-24Create more consistent ordering of argumentsDave Davenport
2015-11-24[Combi] only textual map, when not using glob/regex mode.Dave Davenport
2015-11-24Fix for complete issue #273.Dave Davenport
- Add complete handler.
2015-11-23Some cleanups and re-ordering of parameters to be consistent.Dave Davenport
2015-11-23Const making.Dave Davenport
2015-11-22textbox: advance cursor correctly for multi-char inputDave Davenport
Thanks to eigengrau fixes: #280
2015-11-22consts and small ensurance (though should be correct to begin with)Dave Davenport
2015-11-21Start at fixing Issue 273, this might break some things.Dave Davenport
* 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-03Fix combi and drun and localizationDave Davenport
2015-10-19Fix some compiler warningsDave Davenport
2015-10-18Fix crash on deleting entries in ssh/run.QC
Fix bang for custom run.
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-09-28Add bang support to combiDave Davenport
2015-09-19More line fixing.QC
2015-09-19Some cleanups, tweak uncrustify.QC
2015-09-14Allow window mode to be disabledDave Davenport
2015-09-07Allow switchers to run multiple times.Dave Davenport
2015-06-30Free in right orderQC
2015-04-14Fix space.QC