Commit graph

262 commits

Author SHA1 Message Date
Dave Davenport
61e537a05f ISSUE 576: Clutching at straws.
* Don't use atexit anymore. (what happens with g_spawn and atexit?
should be fine, but a test).
 * Even though not needed, force wait on running thread (of which there
should be none) when destroy thread pool.
2017-03-25 14:23:31 +01:00
Dave Davenport
5c42f7f626 Do an extra log before calling unmap and destroy window 2017-03-21 19:59:40 +01:00
Dave Davenport
6447ddf0d7 clang-check fixes 2017-03-17 14:27:08 +01:00
Dave Davenport
50477a0b99 [Keys] Cleanup view a bit. 2017-03-17 14:07:11 +01:00
Dave Davenport
cee753bd3c Zeltakmadness (#572)
* Allow modi to set extra pango attributes on displayed rows

* Fix some documentation, only highlight the mode name with color.

* Small rename.
2017-03-10 23:39:29 +01:00
Dave Davenport
3f4d58ef53 Indent code. 2017-03-04 19:41:06 +01:00
Dave Davenport
45c70cbecf Allow modes to set message box, instead of view creation argument. 2017-03-01 09:57:54 +01:00
Dave Davenport
8bd7db31d2 Add message box to view structure. Always add it, disable it when not showing anything 2017-03-01 09:37:20 +01:00
Dave Davenport
9ee61a6447 Use new get_desired_height to determine height of error message dialog 2017-02-27 17:40:36 +01:00
Dave Davenport
0cd257f554 Add missing point in container name. 2017-02-27 16:50:56 +01:00
Dave Davenport
dc7e4aa96e Install some headers for use in plugins 2017-02-17 14:06:31 +01:00
Dave Davenport
fb05409365 Start of making SardemFF7 happy
Allow mode's to be loaded as dynamic plugins.
2017-02-14 08:52:17 +01:00
Dave Davenport
db92ff1f41 Add border radius to border around widget. 2017-02-06 21:17:56 +01:00
Dave Davenport
c5506e4cdd Allow bang to match multiple modes when incomplete to select single. Fixes #552 2017-02-04 10:54:15 +01:00
Dave Davenport
8ef7b4b794 Don't recreate every string everytime. 2017-02-03 20:49:16 +01:00
Dave Davenport
8f4a4d51c6 Don't apply fonts that don't result in family name or have size 0.
Issue: 554
2017-02-03 09:54:18 +01:00
Dave Davenport
1ee67e8bba Always set size, to work better in floating window manager in normal window mode 2017-02-01 21:17:45 +01:00
Dave Davenport
8e64885c55 Set default language on pango context. 2017-02-01 08:47:43 +01:00
Dave Davenport
cbea7e3337 Add more debug output to timing on creating window 2017-01-31 17:58:23 +01:00
Dave Davenport
954288ab81 Give overlay widget a parent, queue widget redraw on enable/disable 2017-01-31 08:09:55 +01:00
Dave Davenport
c9d16d2eda Only pre-process input once. 2017-01-30 08:23:57 +01:00
Dave Davenport
6a01c9c9f8 Set WM_CLASS. Fixes #549 2017-01-29 21:29:26 +01:00
Dave Davenport
b63e417e38 Add configurable fonts for testing. #544 2017-01-24 08:40:37 +01:00
Dave Davenport
46db427735 Update DPI detection method. 2017-01-22 14:58:59 +01:00
Dave Davenport
2306e58a25 Output detected DPI to debug system. 2017-01-21 13:05:57 +01:00
Dave Davenport
0ebd6a260b Add auto-detect option to DPI setting. 2017-01-21 12:58:52 +01:00
Dave Davenport
be9ae4490c Don't release keyboard on FOCUS-out event.. for some reason we do not always get focus-in event 2017-01-19 19:12:28 +01:00
Dave Davenport
63d8bfb071 Updates 2017-01-11 23:19:29 +01:00
Dave Davenport
19b023b221 Split sorting option. one for sorting. One to force levenshtein. 2017-01-11 09:42:37 +01:00
Dave Davenport
4452b08288 Move fzf matcher into helper 2017-01-11 09:20:19 +01:00
Dave Davenport
56c787690f Move full algorithm in function. 2017-01-11 09:14:01 +01:00
Dave Davenport
bfae111579 Fix indenting and header commenting. 2017-01-11 09:11:19 +01:00
Fangrui Song
d1edf0dc08 Revise fuzzy finding algorithm for -matching fuzzy 2017-01-11 08:59:34 +01:00
Dave Davenport
17155867a1 Add a quick theme tutorial. 2017-01-10 11:20:38 +01:00
Dave Davenport
268b0fa3b0 Super-1..10 keybinding activates row 1..10.
Allowing fore quick switching to entry.
https://forum.qtools.org/t/select-entry-by-offset/84/5
2017-01-10 07:41:37 +01:00
Dave Davenport
713d41f619 Allow matching highlighting to be set. Fixes #522 2017-01-09 00:09:02 +01:00
Dave Davenport
baab2047ad Indent magic, rework makefile so lexer and yacc file are not passed. 2017-01-08 21:36:06 +01:00
Dave Davenport
97d96fdabd Add fullscreen option to theme 2017-01-08 17:38:21 +01:00
Dave Davenport
26efbecbc3 Fix multiple -theme-str lines parsing, fix num lines 2017-01-08 17:18:49 +01:00
Dave Davenport
ce2cf6b2d9 Make error dialog widget layout match normal one 2017-01-08 16:49:46 +01:00
Dave Davenport
06c5f51e7d Allow to set anchor position on normitor and anchor position on window. 2017-01-06 19:04:25 +01:00
Dave Davenport
8bc1831d17 Allow window width to be set in theme 2017-01-06 17:21:21 +01:00
Dave Davenport
af8a6541a2 Order entries in box based on index, allow theme to override. 2017-01-06 16:41:23 +01:00
Dave Davenport
52f4f32d89 Listview: hide widget when no row is visible and dynamic is enabled. 2017-01-06 13:42:00 +01:00
Dave Davenport
add0e2f801 Merge remote-tracking branch 'origin/master' into themer 2017-01-06 11:07:14 +01:00
Dave Davenport
051be0cfe6 Change keyboard grabbing behaviour, if you fail, continue running and try in background to get them. 2017-01-06 11:00:27 +01:00
Dave Davenport
f2a4049991 Remove separator 2017-01-05 22:07:50 +01:00
Dave Davenport
3eb450c37e Add generic container (renamed window widget) put container around message. 2017-01-05 18:33:57 +01:00
Dave Davenport
9dd3cb312e Support linestyle on border 2017-01-04 22:27:27 +01:00
Dave Davenport
85a0e1a57e Remove class system from new theme format. Fix theme converter. 2017-01-04 15:05:39 +01:00