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
|
13a83e3495
|
Give a visible (popup) error message when failed to open theme
|
2017-01-19 18:49:55 +01:00 |
|
Dave Davenport
|
b5d094fa35
|
Update theme specifcation documentation.
|
2017-01-18 09:43:58 +01:00 |
|
Dave Davenport
|
253724c85c
|
Ignore empty path.
Not in spec. but lets ignore it.
Fix: #539
|
2017-01-17 20:00:00 +01:00 |
|
Dave Davenport
|
30f7846e4c
|
Give error when multiple (non-modifier) keys are hit.
|
2017-01-15 21:14:43 +01:00 |
|
Dave Davenport
|
63d8bfb071
|
Updates
|
2017-01-11 23:19:29 +01:00 |
|
Dave Davenport
|
d8ca3e01de
|
fzf matching remove debug
|
2017-01-11 09:43:24 +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
|
a5d2db256e
|
Clear theme memory on close, free temporary widget
|
2017-01-09 23:08:11 +01:00 |
|
Dave Davenport
|
cf1940f8cb
|
Reset theme if parsing fails, so we don't display using 1/2 parsed theme
|
2017-01-09 23:01:09 +01:00 |
|
Dave Davenport
|
25dff63006
|
Improve error handling string.
|
2017-01-09 22:40:11 +01:00 |
|
Dave Davenport
|
ca01af6338
|
Try to improve error handling and messages
|
2017-01-09 22:29:31 +01:00 |
|
Dave Davenport
|
854aa55453
|
Better error reporting (1)
|
2017-01-09 18:32:26 +01:00 |
|
Dave Davenport
|
a199fa3275
|
Improve error message theme a little bit
|
2017-01-09 08:55:51 +01:00 |
|
Dave Davenport
|
5188e36147
|
Remove unused functions and other small fixes
|
2017-01-09 08:39:02 +01:00 |
|
Dave Davenport
|
f42e4ffbd7
|
Remove old cairo color set functions
|
2017-01-09 08:32:16 +01:00 |
|
Dave Davenport
|
78916c6a94
|
Give up and quit rofi after failed to grab keyboard in <5 sec.
|
2017-01-09 08:17:16 +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
|
8c0c43952d
|
Make 'text' override foreground color for rendering text
|
2017-01-08 20:39:37 +01:00 |
|
Dave Davenport
|
35a9b04f87
|
Print position as textual in dump-theme.
|
2017-01-08 18:03:31 +01:00 |
|
Dave Davenport
|
5d1fa66c30
|
Fix dumping of theme
|
2017-01-08 17:50:42 +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
|
8543ac8438
|
Fix doxygen.
|
2017-01-08 16:23:17 +01:00 |
|
Dave Davenport
|
c57e7348d2
|
Add some better error message. Allow -theme-str option to override part of theme
|
2017-01-08 16:09:24 +01:00 |
|
Dave Davenport
|
8124cfb023
|
Merge remote-tracking branch 'origin/master' into themer
|
2017-01-07 10:38:47 +01:00 |
|
Dave Davenport
|
c98b67ed0d
|
Make lazy-key-grab an option, add --release for i3 to manpage.
|
2017-01-07 10:35:36 +01:00 |
|
Dave Davenport
|
361d5c62d7
|
Draw scrollbar when list is empty.
|
2017-01-06 22:12:24 +01:00 |
|
Dave Davenport
|
02dafeeccc
|
Fix percentual margin.
|
2017-01-06 20:36:06 +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
|
9aaf21cd85
|
Fix theme converter and check.
|
2017-01-06 16:53: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
|
5078034672
|
Add scrollbar 'handle-width' and 'handle-color' remove old syntax
|
2017-01-06 15:36:06 +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
|
0e037237f8
|
Only queue redraw when state actually changes
|
2017-01-06 13:26:26 +01:00 |
|
Dave Davenport
|
f45e910a1b
|
Q'nD: Update border and force redraw on state change
|
2017-01-06 13:24:35 +01:00 |
|
Dave Davenport
|
7e13bd8658
|
Quick 'n Dirty work around for handle color in scrollbar.
|
2017-01-06 13:13:03 +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
|
a02de2c410
|
Textbox take height set, when bigger then desired in autowidth mode
|
2017-01-05 22:56:32 +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
|
e6a6d5f894
|
Fix printing of link element.
|
2017-01-05 18:23:27 +01:00 |
|
Dave Davenport
|
4cc21b93a5
|
Allow linking to top level properties.
|
2017-01-05 18:22:34 +01:00 |
|
Dave Davenport
|
a4bab4654a
|
Scrollbarwidth is a Distance.
|
2017-01-04 23:14:43 +01:00 |
|
Dave Davenport
|
b8ff85adb6
|
Improve exporting of theme.
|
2017-01-04 23:11:25 +01:00 |
|
Dave Davenport
|
5d70985bb9
|
Reset line style, reset state after drawing border.
|
2017-01-04 22:46:46 +01:00 |
|
Dave Davenport
|
9dd3cb312e
|
Support linestyle on border
|
2017-01-04 22:27:27 +01:00 |
|
Dave Davenport
|
b618cd63d8
|
Fix transparency in theme converter.
Implicitely convert P_INTEGER to P_PADDING if asked for a padding.
|
2017-01-04 15:18:12 +01:00 |
|
Dave Davenport
|
85a0e1a57e
|
Remove class system from new theme format. Fix theme converter.
|
2017-01-04 15:05:39 +01:00 |
|
Dave Davenport
|
645fe24890
|
Add debug output to themer that indicates unset properties.
|
2017-01-04 14:01:28 +01:00 |
|
Dave Davenport
|
44581fd90b
|
Allow packing order to be set using theme.
|
2017-01-04 13:34:02 +01:00 |
|
Dave Davenport
|
8bbf1b36d5
|
Don't draw widget when size is 0 or less.
|
2017-01-04 10:47:37 +01:00 |
|
Dave Davenport
|
8f6a323ed6
|
Merge remote-tracking branch 'origin/master' into themer
|
2017-01-04 10:39:50 +01:00 |
|
Dave Davenport
|
129d96928a
|
Quick when failed to grab keyboard. #524
|
2017-01-04 10:37:05 +01:00 |
|
Dave Davenport
|
6305bbbf39
|
Fix border with margin. take 2.
|
2017-01-04 00:36:33 +01:00 |
|
Dave Davenport
|
c96e95c766
|
Hopefully fix border with margin setting
|
2017-01-04 00:06:13 +01:00 |
|
Dave Davenport
|
495dfb4c20
|
Add support for margin.
|
2017-01-03 23:51:15 +01:00 |
|
Dave Davenport
|
953e260511
|
When order is reversed. reverse listview order fix #523
|
2017-01-03 20:33:30 +01:00 |
|
Dave Davenport
|
3f8c5378c4
|
Reverse scrollbar when listview is reversed.
|
2017-01-03 20:28:19 +01:00 |
|
Dave Davenport
|
a836346968
|
Allow listview to be reversed in order.
Issue: #523
|
2017-01-03 20:22:29 +01:00 |
|
Dave Davenport
|
f9fc01b176
|
Add percentage option to border,padding
|
2017-01-03 19:23:09 +01:00 |
|
Dave Davenport
|
7600668bff
|
Update window copyright
|
2017-01-03 18:06:21 +01:00 |
|
Dave Davenport
|
9f294437f0
|
Merge remote-tracking branch 'origin/master' into themer
|
2017-01-03 18:02:51 +01:00 |
|
Dave Davenport
|
4f4770ee4f
|
Fix wrong sed replace.
|
2017-01-03 18:02:21 +01:00 |
|
Dave Davenport
|
8163204320
|
Merge remote-tracking branch 'origin/master' into themer
|
2017-01-03 18:00:12 +01:00 |
|
Dave Davenport
|
22e2d7587d
|
Update copyright to 2017.
|
2017-01-03 17:59:28 +01:00 |
|
Dave Davenport
|
3435599939
|
Allow for different color handle
|
2017-01-03 16:05:00 +01:00 |
|
Dave Davenport
|
b60ca07f1f
|
Remove border-width property from window.
|
2017-01-03 15:57:40 +01:00 |
|
Dave Davenport
|
861b52a523
|
Add support for borders around widgets.
|
2017-01-03 15:39:19 +01:00 |
|
Dave Davenport
|
e982a439fb
|
Fix spacing in listview and box.
|
2017-01-03 14:25:24 +01:00 |
|
Dave Davenport
|
30726b6c6e
|
Fix pasting of multi-line clipboard.
Previous newline removal only removed trailing newline.
|
2017-01-03 12:20:21 +01:00 |
|
Dave Davenport
|
0307a14984
|
Fix compile warning different architectures where long long unsigned != uint64_t
|
2017-01-03 12:19:52 +01:00 |
|
Dave Davenport
|
23e1bf9566
|
Resize widgets in width before determining initial height.
- Solves Rasi weird sizing issue.
|
2017-01-03 12:19:07 +01:00 |
|
Dave Davenport
|
f82129aab8
|
Box: static widget should get their desired height.
|
2017-01-03 12:18:11 +01:00 |
|
Dave Davenport
|
a41d6c4ab4
|
textbox, draw better cursor, fix desired height query.
- update layout before query.
- Correct autoheight logic.
|
2017-01-03 12:17:17 +01:00 |
|
Dave Davenport
|
9c7b5fe7a9
|
Restructure for readability. no change
|
2017-01-03 00:59:37 +01:00 |
|
Dave Davenport
|
37d99378dd
|
cleanup some of sizing logic.
|
2017-01-02 21:19:27 +01:00 |
|
Dave Davenport
|
df74540624
|
Fix crasher in error message. update reference output.
|
2017-01-01 19:33:16 +01:00 |
|
Dave Davenport
|
47aa7c4900
|
Fix errors in doxygen comments
|
2017-01-01 18:40:49 +01:00 |
|
Dave Davenport
|
ccf3f23d9b
|
Update comments, rename Widget to ThemeWidget.
|
2017-01-01 18:08:49 +01:00 |
|
Dave Davenport
|
d20587da54
|
Fix? tests
|
2017-01-01 16:32:01 +01:00 |
|
Dave Davenport
|
7d16d1a552
|
Slowly move more settings to the configuration convert.
|
2017-01-01 15:39:02 +01:00 |
|
Dave Davenport
|
44534653bf
|
Remove border from ViewState
|
2017-01-01 12:16:04 +01:00 |
|
Dave Davenport
|
5c547393b8
|
Repaint (if) needed before flipping xcb_copy_area
|
2017-01-01 02:57:04 +01:00 |
|
Dave Davenport
|
0a8bdb6a98
|
Always queue a redraw on a resize event.
|
2017-01-01 02:27:51 +01:00 |
|
Dave Davenport
|
f43bf3dc6a
|
On textbox update tell it to update parent.
|
2017-01-01 02:00:54 +01:00 |
|
Dave Davenport
|
d35e70d817
|
Support converting old theme internally, add first option to dump theme
|
2017-01-01 01:06:38 +01:00 |
|
Dave Davenport
|
05871703d5
|
Fall back to old style padding (with int) if no metric specified.
|
2016-12-31 23:34:48 +01:00 |
|
Dave Davenport
|
fb2d8b37a6
|
Fall back to integer setting for distance
|
2016-12-31 23:30:57 +01:00 |
|
Dave Davenport
|
7b0e0643c8
|
Make spacing be of type distance.
|
2016-12-31 23:27:17 +01:00 |
|
Dave Davenport
|
52e850dc33
|
Fix EM support, use char height
|
2016-12-31 23:00:06 +01:00 |
|
Dave Davenport
|
068592414e
|
Support em format in padding
|
2016-12-31 22:47:22 +01:00 |
|
Dave Davenport
|
5f424fa598
|
Padding should be specified in px now and 4 borders can be specified on
one pixel line.
|
2016-12-31 21:37:19 +01:00 |
|
Dave Davenport
|
2bfbb464e6
|
Fix more sizing issues
|
2016-12-30 19:59:45 +01:00 |
|
Dave Davenport
|
eafd4697a2
|
Fix some of the sizing issues.
|
2016-12-30 18:31:30 +01:00 |
|
Dave Davenport
|
04ad719c01
|
Merge remote-tracking branch 'origin/master' into themer
|
2016-12-30 17:34:58 +01:00 |
|
Dave Davenport
|
6e55cb86b9
|
Work-around for detecting end of file, hopefully fixing #518.
|
2016-12-30 17:33:24 +01:00 |
|
Dave Davenport
|
eda70f337a
|
Remove debug output.
|
2016-12-29 22:11:02 +01:00 |
|
Dave Davenport
|
c0e6e7c555
|
Redraw the window, if it moves
|
2016-12-29 22:06:31 +01:00 |
|
Dave Davenport
|
b0a8edc95a
|
Fix resizing normal-window mode.
|
2016-12-29 21:58:32 +01:00 |
|
Dave Davenport
|
5183c14b51
|
textbox use padding accessors
|
2016-12-29 17:31:37 +01:00 |
|
Dave Davenport
|
aa5b7a7ff8
|
box use padding accessors
|
2016-12-29 17:25:28 +01:00 |
|
Dave Davenport
|
530eee0bf6
|
scrollbar use padding accessors
|
2016-12-29 17:25:09 +01:00 |
|
Dave Davenport
|
a966cd158d
|
separator use padding accessors
|
2016-12-29 17:09:22 +01:00 |
|
Dave Davenport
|
eec772d01d
|
listview use padding accessors
|
2016-12-29 17:04:16 +01:00 |
|
Dave Davenport
|
a2001d1b9c
|
Add window widget, play with logic for sizing (broken)
|
2016-12-28 19:42:14 +01:00 |
|
Dave Davenport
|
2db879e979
|
Fix clicking
|
2016-12-28 14:23:43 +01:00 |
|
Dave Davenport
|
91baac3968
|
Fix desired size of listview, tweak textbox rendering
|
2016-12-28 14:10:27 +01:00 |
|
Dave Davenport
|
d63b9cb15e
|
Padding to textbox. remove config.line_padding
|
2016-12-28 13:46:53 +01:00 |
|
Dave Davenport
|
5dfddf8840
|
Support padding in listview
|
2016-12-28 13:17:02 +01:00 |
|
Dave Davenport
|
77fdb08169
|
Allow padding on scrollbar
|
2016-12-28 12:57:58 +01:00 |
|
Dave Davenport
|
843ccc1e41
|
Update drawing, background per widget.
|
2016-12-28 12:21:42 +01:00 |
|
Dave Davenport
|
dfc8a31126
|
Redo some of the redrawing methods, better padding support
|
2016-12-28 00:37:32 +01:00 |
|
Dave Davenport
|
1c611b0eec
|
First start at adding 4 sided padding
|
2016-12-27 22:19:15 +01:00 |
|
Dave Davenport
|
c5439118a7
|
Merge remote-tracking branch 'origin/master' into themer
|
2016-12-27 10:49:27 +01:00 |
|
Dave Davenport
|
0865e0f9d4
|
Directly queue a redraw on overlay change.
|
2016-12-26 20:57:33 +01:00 |
|
Dave Davenport
|
aa08c8ea78
|
Make workspace name also searchable
|
2016-12-26 16:23:55 +01:00 |
|
Dave Davenport
|
9cc048e48e
|
Merge remote-tracking branch 'origin/master' into themer
|
2016-12-26 16:04:19 +01:00 |
|
Dave Davenport
|
ee310c8470
|
Strip pango markup from workspace names when detecting I3.
Thanks I3 for this crap.
Issue: #507
|
2016-12-26 15:58:51 +01:00 |
|
Dave Davenport
|
5a638b1fa0
|
Search categories when searching Desktop Files.
Issue: #499
|
2016-12-26 15:18:52 +01:00 |
|
Dave Davenport
|
a0bab0e99a
|
Merge remote-tracking branch 'origin/master' into themer
|
2016-12-26 13:10:19 +01:00 |
|
Dave Davenport
|
3be5791fb2
|
Use clipboard atom instead of XCB_ATOM_SECONDARY for pasting.
Should fix issue: #516
|
2016-12-24 14:13:31 +01:00 |
|
Dave Davenport
|
68b0502220
|
Merge remote-tracking branch 'origin/master' into themer
|
2016-12-20 19:34:24 +01:00 |
|
Dave Davenport
|
74a1d0313a
|
Force all three properties of scrollbar to be in sync
|
2016-12-20 19:29:46 +01:00 |
|
Dave Davenport
|
cd529acd9a
|
Fix typo in resolving theme element.
|
2016-12-20 10:27:23 +01:00 |
|
Dave Davenport
|
8793475501
|
Fix and document resolving.
|
2016-12-20 09:17:19 +01:00 |
|
Dave Davenport
|
9c6019d3d0
|
Allow theme to set background.
|
2016-12-19 17:49:52 +01:00 |
|
Dave Davenport
|
7fa4c164ab
|
Merge remote-tracking branch 'origin/master' into themer
|
2016-12-19 17:35:24 +01:00 |
|
Dave Davenport
|
5b1b8d4d05
|
Destroy the lexer after parsing
|
2016-12-19 15:50:35 +01:00 |
|
Dave Davenport
|
d8b877147c
|
Fix cleanup lexer, add properties to theme documentation.
|
2016-12-19 08:10:33 +01:00 |
|
Dave Davenport
|
7d9ca64dd6
|
Merge branch 'master' of github:DaveDavenport/rofi
|
2016-12-17 17:58:29 +01:00 |
|
Dave Davenport
|
84508bdc1b
|
Lower priority of loading data from dmenu, so drawing is not delayed
|
2016-12-17 17:56:54 +01:00 |
|
Dave Davenport
|
b8e58b0342
|
Make parser more flexible, allow global properties to be anywhere in file and allow multiple similar entries.
|
2016-12-16 09:28:13 +01:00 |
|
Dave Davenport
|
efd1e07755
|
Fix typo in theme name.
|
2016-12-15 09:46:42 +01:00 |
|
Dave Davenport
|
4858dad631
|
Merge remote-tracking branch 'origin/master' into themer
|
2016-12-15 09:17:55 +01:00 |
|
Dave Davenport
|
d7b5b9fbfa
|
Fix some compile warnings
|
2016-12-15 09:17:39 +01:00 |
|