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
Dave Davenport
9b16f21ddc
Remove extra newlines after log messages.
2016-12-15 09:09:14 +01:00
Dave Davenport
eef6fa6f95
Fix typo in widget class name.
2016-12-13 18:06:16 +01:00
Dave Davenport
38035568f3
Fix separator class and tweak parser inheritance.
2016-12-13 00:09:51 +01:00
Dave Davenport
fd64bb7a41
Improve lexer by adding support for modes.
2016-12-12 23:40:43 +01:00
Dave Davenport
be0677cf49
Update theme to new format.
...
- @class state {
}
- #name state {
}
2016-12-12 21:14:57 +01:00
Dave Davenport
c6030063c6
Keep track of location in parser
2016-12-12 16:55:31 +01:00
Dave Davenport
d6ec7b1de8
Cleanup, fix missing initializer.
2016-12-12 09:11:57 +01:00
Dave Davenport
6d9ce47974
Merge remote-tracking branch 'origin/master' into themer
2016-12-12 08:53:35 +01:00
Dave Davenport
47125daecf
Reset user input on script selection.
...
Fixes : #513
2016-12-12 08:52:27 +01:00
Dave Davenport
6cca2b1ecd
Remove debug output
2016-12-11 21:58:55 +01:00
Dave Davenport
95667e60d9
Add theme option to config system.
2016-12-11 18:06:35 +01:00
Dave Davenport
3b850f4472
Fix theme_name generator for textbox
2016-12-11 18:00:45 +01:00
Dave Davenport
a0096f52c4
Border width via new config system.
2016-12-11 17:13:26 +01:00
Dave Davenport
78abbeb710
Textbox uses new theme engine..
2016-12-11 17:06:31 +01:00
Dave Davenport
5e371eedeb
Change language parser to glr type, remove type prefix.
2016-12-11 14:08:28 +01:00
Dave Davenport
7ad0432d82
Set separator name
2016-12-11 12:55:09 +01:00
Dave Davenport
1dfac3c4da
Update to new theme
2016-12-11 12:19:46 +01:00
Dave Davenport
5fd76b75b1
Add some color stuff
2016-12-10 19:48:44 +01:00
Dave Davenport
db248ea765
Merge remote-tracking branch 'origin/master' into themer
2016-12-10 18:34:30 +01:00
Dave Davenport
1879361250
Fix positioning of sidebar in the grand scheme of things. (this needs rewrite next release)
2016-12-10 18:27:36 +01:00
Dave Davenport
2d01d1566a
Add some properties to themes
2016-12-09 22:16:31 +01:00
Dave Davenport
d18f037d1c
Add lex/bison parser for theme.
2016-12-09 19:49:49 +01:00
Dave Davenport
ea28bcdc74
Use g_strsplit_set instead of strtok so we can run g_strsplit in place
2016-12-08 16:53:48 +01:00
Dave Davenport
3e3fb24ea5
Strip spaces from key-name (Issue: #511 )
2016-12-06 19:30:53 +01:00
Dave Davenport
c759f248b4
Add configuration file location in -help output.
2016-12-06 19:24:17 +01:00
Dave Davenport
3f88ef0032
Issue: #38 remove delay (until next blink) when triggering on release (version 2.0)
2016-11-30 17:30:10 +01:00
Dave Davenport
c9b5667a3f
Issue: #39 remove delay (until next blink) when triggering on release
2016-11-30 16:35:34 +01:00
Dave Davenport
2220b75467
Fix two issues detected by coverty. 1.) copy /paste error. 2.) dead code
2016-11-30 08:41:47 +01:00
Dave Davenport
4889b5f7bc
Don't destroy the window, but send close request to window.
2016-11-29 16:09:26 +01:00
Dave Davenport
4f7e9b3811
Make resize look better. less flickering.
2016-11-29 11:20:52 +01:00
Dave Davenport
862c04ef61
Fix drawing order when widget is added at end. This simplifies bottom mode.
...
Fixes : #505
2016-11-27 16:02:37 +01:00
Dave Davenport
84baa94bfc
Remove trailing whitespace from string options.
2016-11-26 17:29:42 +01:00
Dave Davenport
84f7ec2f0e
Fuzzy matcher, take simple escaping into account when creating regex.
2016-11-26 17:18:38 +01:00
Dave Davenport
4f3c7f122e
Fix check being the wrong way around.
2016-11-26 16:57:13 +01:00
Dave Davenport
80c7b3774e
Fix compare add forum to links.
2016-11-25 21:47:28 +01:00
Dave Davenport
31115dd312
Print compile options (window, drun,timing, asan, gcov) in -help
...
Issue: #506
2016-11-25 20:00:27 +01:00
Dave Davenport
b1a44cc65e
Update code documentation
2016-11-15 21:54:31 +01:00
Dave Davenport
7e74d39a01
Fix indentation
2016-11-15 08:24:27 +01:00
Dave Davenport
c86a28ca70
Small code restructure
2016-11-15 08:24:06 +01:00
Dave Davenport
a9dbd787cf
Include in error mesg, what key failed to bind.
2016-11-14 18:42:41 +01:00
Dave Davenport
29cacd0e83
Try to improve parsing of Keybinding. Give more specific error of what failed.
...
+ Implementation is slower. but is one time, so should be fine.
2016-11-14 18:32:22 +01:00
Dave Davenport
d22920fd5e
Backspace->BackSpace
2016-11-14 16:58:43 +01:00
Dave Davenport
62879ee739
Continue parsing when keybinding fail, only show errors after all are done.
2016-11-14 16:53:01 +01:00
Dave Davenport
d450d02ad6
For redraw when rofi_view_set_active is called.
2016-11-14 16:31:26 +01:00
Dave Davenport
fcf3c33415
Fix keybinding with Shift in name. Alt-Shift-S -> Alt-S. Alt-Shift-1 -> Alt-exclam
...
+ indent.
2016-11-14 16:25:04 +01:00
Dave Davenport
01751db4c0
Fix #498 : Right count for unicode charaters in column code.
2016-11-14 12:39:37 +01:00
Dave Davenport
f0bc7e3185
Fix #485 : Correctly remove consumed masks.
2016-11-14 08:28:54 +01:00
Dave Davenport
7cc90abceb
[DMenu] Dump when there is an empty filter.
2016-11-13 23:15:13 +01:00
Dave Davenport
31a29e452b
Fix #497 : Create user runtime dir if not exists.
2016-11-12 11:36:39 +01:00
Dave Davenport
27cef3c9ae
Fix #497 : Create cache dir if not exists.
2016-11-12 11:28:40 +01:00
Dave Davenport
cd0fedd0db
If no fake background failed to load, still paint a background. Add debug info.
2016-11-11 22:11:32 +01:00
Dave Davenport
1d40782515
Re-work the expose, redraw system. Use XServer side pixmaps to do drawing and flipping.
...
- By server side drawing and flipping buffer time to draw buffer to window speed up by factor 1000+.
Flipping is now one xcb_copy_area call.
- Don't abuse Xserver expose events to singal internal drawings.
- Queue redraws in idle time.
- Avoid unneeded redraws.
2016-11-11 16:29:59 +01:00
Dave Davenport
e3af1efaef
Fix crash when clicked out of window.
2016-11-11 09:30:44 +01:00
Dave Davenport
0da5737cee
If widget is disabled, don't check redraw flag as it wont be cleared.
...
This reduces a lot of false redraws caused by overlay widget.
Issue: #496
2016-11-10 12:17:27 +01:00
Dave Davenport
545be58e40
Issue #454 pass our window id along in the change active window request
2016-11-07 09:15:04 +01:00
Dave Davenport
90c314f397
Re-add column, but not for dmenu when prompt is set
2016-11-07 08:51:23 +01:00
Dave Davenport
da2e6a2cc4
Remove debug sleep
2016-11-06 16:55:41 +01:00
Dave Davenport
89e3e0e645
Grab keyboard as early as possible ( #494 )
2016-11-06 16:50:12 +01:00
Dave Davenport
0554db65ea
Fix dmenu with -selected-row
2016-11-05 20:00:22 +01:00
Dave Davenport
ed6cb59b5d
Fix crash on wrongly queued ViewState (thx to teto)
2016-11-02 18:24:20 +01:00
Dave Davenport
e72508b782
Remove opacity option.
2016-11-01 08:10:27 +01:00
Dave Davenport
4c5df96fcd
Pull config option access from out of separator widget.
2016-11-01 08:04:39 +01:00
Dave Davenport
69c19afcfc
[DRun] Fix free
2016-10-31 17:02:10 +01:00
Dave Davenport
3f577f917a
Small re-indent
2016-10-31 15:51:47 +01:00
Dave Davenport
01e32c9c61
Cleanup some drun code, use hash table for seen check instead of two arrays
2016-10-31 08:44:04 +01:00
Dave Davenport
e3ab39ea6f
add more details to timing log
2016-10-31 08:07:02 +01:00
Dave Davenport
f5f4f52957
Use strtok_r instead of strtok.
2016-10-30 10:14:32 +01:00
Dave Davenport
86b6beb1e9
Update some code.
2016-10-28 23:28:49 +02:00
Dave Davenport
3c8b757930
Remove auto :
2016-10-28 21:52:22 +02:00
Dave Davenport
c598791aa4
Indent
2016-10-28 18:57:12 +02:00
Dave Davenport
8e0ced2378
Remove commented code
2016-10-28 18:32:29 +02:00
Dave Davenport
217290479e
Merge two functions that no longer have a reason to be split.
...
Fixes : #491
2016-10-28 08:51:53 +02:00
Dave Davenport
fb459e1660
Make scrollbar behave better
2016-10-26 08:24:34 +02:00
Dave Davenport
163934fa8c
Simplify some code, more comments. (90% docu)
2016-10-25 22:45:11 +02:00
Dave Davenport
a38ac9caf3
Update scrollbar behaviour, so dragging is more natural. (limit range from hw/2 to h-hw/2)
2016-10-25 21:19:39 +02:00
Dave Davenport
440756af94
Option to disable/enable the highlighting of match.
2016-10-24 21:47:36 +02:00
Dave Davenport
b19ab62e17
add scrollbar test.
2016-10-24 17:48:04 +02:00
Dave Davenport
0ae0d50bbc
Revert "Fix: #485 Remove used modifiers before figuring out keybinding."
...
This reverts commit 25c210b851
.
2016-10-23 13:23:04 +02:00
Dave Davenport
25c210b851
Fix : #485 Remove used modifiers before figuring out keybinding.
2016-10-23 13:08:52 +02:00
Dave Davenport
d25ad4dac6
clang-check fix.
2016-10-22 21:34:19 +02:00
Dave Davenport
881056ea9b
Add some more tests, make some textbox api's private
2016-10-20 09:41:32 +02:00
Dave Davenport
7b3b68462e
Fix memory leak in box and listview widget, add coverage make target. (ggcov and lcov)
2016-10-18 13:49:24 +02:00
Dave Davenport
b622a98d9c
Fix some coverty found issues.
2016-10-17 20:54:41 +02:00
Dave Davenport
df26193096
Fix redrawing (call queue redraw, not need redraw) fix end of string check.
2016-10-17 20:54:02 +02:00
Dave Davenport
0e176199fc
Fix some possible null pointer dereference. (clang-check)
2016-10-17 18:21:03 +02:00
Dave Davenport
313dffa28d
Some comments
2016-10-16 19:38:33 +02:00