Dave Davenport
80e873c8a3
Add threadpool support, add optional timings compile flag
2015-11-14 13:47:45 +01:00
Dave Davenport
0fe524d0cd
Add threading support.
2015-11-12 00:18:43 +01:00
Dave Davenport
80ac118655
Put things together, making desktop menu work
2015-11-03 17:34:02 +01:00
Klemens Schölhorn
9cb0073ce8
Add -no-parse-known-hosts to disable parsing of ~/.ssh/known_hosts
...
For humans who like to keep the list of available servers clean. Also useful
if you use different names in ~/.ssh/config.
The previous default of always parsing known_hosts is not changed.
2015-10-31 18:35:37 +01:00
QC
cb9dd606aa
Allow dpi to be set
2015-10-30 21:32:09 +01:00
Qball Cow
a7c7cf8159
Add fake transparency
2015-10-20 18:41:45 +02:00
QC
0818fbd68b
Add fullscreen mode and fix some redrawing issues.
2015-10-16 20:51:37 +02:00
Dave Davenport
291d1ed16c
Update rofi -h output
2015-10-16 08:42:01 +02:00
QC
fdc86399cf
Revert "Remove levenshtein"
...
Adding help list.
This reverts commit 77cdc8d7c4
.
2015-10-15 22:33:44 +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
77cdc8d7c4
Remove levenshtein
2015-10-04 20:14:08 +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
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
QC
838c838d31
Try to fix #234
2015-09-27 12:57:54 +02:00
QC
8f1f03e6d2
Use cairo to do drawing.
2015-09-26 20:34:34 +02:00
Dave Davenport
5cc695e186
Add markup flag for dmenu.
2015-09-22 22:23:52 +02:00
QC
108c16e0d4
Default disable levenshtein
2015-09-20 10:32:49 +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
Dave Davenport
d2aad68bce
Keep the line matched (if possible) when filtering.
2015-09-08 22:23:03 +02:00
Dave Davenport
13203c9de7
Refactor to make dmenu use Switcher, and make menu func use this.
2015-09-08 21:41:54 +02:00
Dave Davenport
ae26c13daf
Allow switchers to run multiple times.
2015-09-07 19:10:44 +02:00
QC
e10aa09f74
Add hide scrollbar option.
2015-09-04 21:08:23 +02:00
Dave Davenport
2c45c02c7f
Small cleanup.
2015-09-03 08:20:08 +02:00
Dave Davenport
d9a9d2489a
Add separator color and style option.
2015-08-26 18:11:53 +02:00
QC
c170eae8c8
Issue: #207 add generic -filter
mode.
2015-08-20 21:42:53 +02:00
Dave Davenport
1ca7141621
Add quick solution for #202 , expose line-margin setting.
2015-08-04 09:42:14 +02:00
QC
77e5541ba5
Bug #200 implement -m
mode
2015-08-02 15:45:52 +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
Qball Cow
2bbd589f0d
Add prefix to header guard. #191
2015-07-27 10:17:12 +02:00
Dave Davenport
8104997e6f
Bug #191 rename header guard to not use reserved macro name.
2015-07-27 09:22:21 +02:00
Dave Davenport
98b8e583cb
Make fuzzy matching available everywhere: #133 (-fuzzy)
2015-07-01 09:12:22 +02:00
Dave Davenport
1a188af2e9
Add markup support to error msg.
2015-06-08 23:23:33 +02:00
QC
a93aec02bd
Add support for msg string with pango markup.
2015-05-23 20:06:06 +02:00
QC
9307a1668e
Add -format option to dmenu.
2015-05-10 12:08:08 +02:00
QC
8d4e1ee8fa
Rasi patch, allowing special keys, modifying return value.
...
In dmenu pressing alt-[1-9 will return the selected entry and set the return value to the
pressed number.
2015-05-03 13:04:03 +02:00
Dave Davenport
a70404f128
First part of infrastructure for Issue: #131 customizable keybindings.
2015-04-30 21:52:30 +02:00
QC
99118420ea
Support Levenshtein in dmenu.i #149
2015-04-16 21:13:45 +02:00
Dave Davenport
f64395e4e9
Remove unused code
2015-04-15 22:41:50 +02:00
QC
c1a8735e24
Re-enable background/foreground. Make theming method an option.
2015-04-11 12:04:14 +02:00
QC
2590ecf7e5
ADd new coloring scheme.
2015-04-06 17:13:26 +02:00
QC
39518b0e15
Add more user-colors.
2015-04-06 15:23:58 +02:00
Jason Pleau
34e578ef86
use '\033' instead of '\e' for output-formatting
...
'\e' is a GNU shortcut for \033. Also gcc complained (warning) that '\e'
was a non-ISO standard. Less warnings, the prettier :)
2015-04-05 17:40:43 -04:00
QC
91fcc76cb2
Help users that do not pass the read-the-manual stage.
2015-04-05 22:29:26 +02:00
QC
9b415e60a0
Fix crasher with fixed-lines off and 0 visible rows
2015-04-05 13:36:39 +02:00
QC
f2c4aff37c
Add active/urgent color.
2015-04-03 18:40:07 +02:00
Dave Davenport
0d87cf12a3
Add combi viewer, where (selected) modi can be combined.
...
- Add active window highlighter.
2015-03-31 22:45:02 +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