Commit graph

1374 commits

Author SHA1 Message Date
Dave Davenport
ee931f5480 [Textbox] Remove unneeded calls to pango_layout_get_baseline.
Now bulk time is spend in drawing, not calculating.
2017-03-14 17:12:22 +01:00
Dave Davenport
d52c80d76f [Textbox] Remove unneeded calls to pango_layout_get_pixel_size.
This was 21% of the widget update time.
2017-03-14 17:02:03 +01:00
Dave Davenport
9cfb075bc4 Add filename to location in error message. 2017-03-13 16:42:17 +01:00
Dave Davenport
be036f086d Reset location when importing, correctly resolve relative path 2017-03-13 08:54:55 +01:00
Dave Davenport
b7f4b7484f Some initial support for @import in theme and try to fall back when theme fails to load 2017-03-11 17:06:06 +01:00
Dave Davenport
13bac230a2 [SSH] Fix missing parameter documentation 2017-03-11 13:40:05 +01:00
Dave Davenport
652749081a Fix missing doxygen documentation 2017-03-11 13:20:46 +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
25678d7a59 Floor the result, so we do not get 1/2 pixel gaps. 2017-03-09 19:00:26 +01:00
Dave Davenport
b72a010908 Issue570 (#571)
* First start issue #570

* Implement (glob style) includes.

* Add glob check to configure.

* If expanding path, use it
2017-03-08 16:56:28 +01:00
Dave Davenport
88cde09055 Merge remote-tracking branch 'gitcreate/master' 2017-03-06 10:35:20 +01:00
Dave Davenport
9938317dc5 Don't g_strsplit everytime, use strtok. 2017-03-06 09:56:02 +01:00
Dave Davenport
cb9255bbea Allow slice allocator for theme 2017-03-04 20:09:19 +01:00
Dave Davenport
3f4d58ef53 Indent code. 2017-03-04 19:41:06 +01:00
Dave Davenport
8ee37012d1 Add dir parser function 2017-03-04 12:22:28 +01:00
Dave Davenport
86dc1e1448 Detect plugins on startup. 2017-03-04 12:00:59 +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
8aac855fe0 Remove replace test. (Don't do commit -a ) 2017-03-01 09:50:23 +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
1de6239616 Also parse global config for dynamic options 2017-02-27 09:01:59 +01:00
Dave Davenport
3d2491556e Fix small issue positioning top of text in entrybox. (I hope) 2017-02-24 09:54:11 +01:00
Dave Davenport
8608a46633 Fix missing capital. (sorry not awake yet) 2017-02-18 12:12:51 +01:00
Dave Davenport
ed7cfcb6aa Add openbox to the naughty list 2017-02-18 10:47:53 +01:00
Dave Davenport
85bd47e42f Quick 'n dirty hack to find plugin in plugin dir 2017-02-17 20:02:12 +01:00
Dave Davenport
dc7e4aa96e Install some headers for use in plugins 2017-02-17 14:06:31 +01:00
Dave Davenport
f7b4bebb9b Rename token_match to helper_token_match. 2017-02-17 09:58:47 +01:00
Dave Davenport
9bd4096346 Add quick'n dirty abi check. 2017-02-14 18:12:07 +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
97be4e9c72 Use xcb_ewmh_get_supporting_wm to get window to get wm name on 2017-02-11 19:51:02 +01:00
Dave Davenport
a579c86c1f Only switch to the desktop first if we are on AweSome WM 2017-02-11 17:12:07 +01:00
Dave Davenport
c386521574 Add an window manager detection function to startup.
current_window_manager now is an enum of known window managers.
2017-02-11 16:53:37 +01:00
Dave Davenport
0ea74e5c7f Update function check configure.ac 2017-02-09 08:45:15 +01:00
Dave Davenport
87251a991c Indent 2017-02-09 08:27:26 +01:00
Dave Davenport
ef4d09be1f Tweaking corner case when box is small 2017-02-08 19:48:15 +01:00
Dave Davenport
1d6b1494e9 Fiddle with the corners again.. less complecated is good 2017-02-08 10:15:38 +01:00
Dave Davenport
7b3e0918cf Reduce amount of paths created 2017-02-06 23:45:46 +01:00
Dave Davenport
d3b050e1f1 First draw widget, then draw border around it.. extend clipmask by 0.5 a pixel in the corner. 2017-02-06 23:30:39 +01:00
Dave Davenport
3056064e68 Fix missing - in clip mask 2017-02-06 23:02:19 +01:00
Dave Davenport
b51a20c433 limit radius when height/weight gets to small 2017-02-06 21:31:13 +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
2fe22cb7e2 Return to default border when nothing set after state update 2017-02-03 15:44:52 +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
42a1eba275 Remove the extra layer each textbox keeps for drawing its text. (#553) 2017-02-02 20:31:47 +01:00
Dave Davenport
8392b207a9 Enable lazy-grab by default. 2017-02-02 19:00:45 +01:00
Dave Davenport
601a20aba5 Speedup drun by 10% by reducing number of reallocs. 2017-02-02 08:36:55 +01:00
Dave Davenport
cc0ab10833 Fix malloc in textbox 2017-02-02 08:36:55 +01:00