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
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
953e260511
When order is reversed. reverse listview order fix #523
2017-01-03 20:33:30 +01:00
Dave Davenport
f9fc01b176
Add percentage option to border,padding
2017-01-03 19:23:09 +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
b60ca07f1f
Remove border-width property from window.
2017-01-03 15:57:40 +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
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
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
068592414e
Support em format in padding
2016-12-31 22:47:22 +01:00
Dave Davenport
eafd4697a2
Fix some of the sizing issues.
2016-12-30 18:31:30 +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
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
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
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
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
4858dad631
Merge remote-tracking branch 'origin/master' into themer
2016-12-15 09:17:55 +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
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
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
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
2220b75467
Fix two issues detected by coverty. 1.) copy /paste error. 2.) dead code
2016-11-30 08:41:47 +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
4f3c7f122e
Fix check being the wrong way around.
2016-11-26 16:57:13 +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
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
f0bc7e3185
Fix #485 : Correctly remove consumed masks.
2016-11-14 08:28:54 +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
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
89e3e0e645
Grab keyboard as early as possible ( #494 )
2016-11-06 16:50:12 +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
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
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
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
881056ea9b
Add some more tests, make some textbox api's private
2016-10-20 09:41:32 +02:00
Dave Davenport
b622a98d9c
Fix some coverty found issues.
2016-10-17 20:54:41 +02:00
Dave Davenport
b4c599f022
Add more documentation.
...
Current state: 61% coverage.
2016-10-14 08:47:21 +02:00
Dave Davenport
3aa1922aa6
Remove padding from input bar: Fix #479
2016-10-13 08:53:22 +02:00
Dave Davenport
cc3bb30a7b
Remove unneeded calls to tokenize.
2016-10-11 08:18:34 +02:00
Dave Davenport
07425fd10a
Always refilter when switching modi.
2016-10-11 08:11:14 +02:00
Dave Davenport
f10bc5004f
Make separator work in both directions ( hori/vert ).
2016-10-09 10:07:32 +02:00
Dave Davenport
3c64507f02
Qtk widgets ( #478 )
...
* Initial support for using boxes for packing widgets.
* Make CapiTalIzation more consistent
* Move widgets to subdirectory
* Removed nolonger needed resize function.
* Small cleanup
* When switching mode, reuse view, don't rebuild it. Reduces artifacts.
* Needs cleaning up.
* Remove separate prompt argument, use display_name
* Simplify run-switcher code.
* Add notion of parents, and trigger parent update on resize.
* Use widget_get_height wrapper, avoid crash
* Size separator width based on height. (indent)
* TODO add margin to box.
* First draft version of listview.
* Add scrollbar to listview widget
* Add padding option to box
* Move access to global config out of widget. (1/2 done)
* Remove printf
* Make listview not access global config
* Add click support, implement on mode buttons.
* Re-introduce mouse handling on list-view.
* TODO draggin on scrollbar.
* Fix multi-select
* Fix warnings
* Fix include
2016-10-08 18:57:59 +02:00
Dave Davenport
0da0587087
Make widget_free work on textbox and scrollbar, use widget specific free.
2016-09-27 22:38:26 +02:00
Dave Davenport
89acc7b6ed
Make one widget_draw function, abstract rest (textbox, scrollbar) behind it.
2016-09-27 22:15:39 +02:00
Dave Davenport
769dab5f66
When view centered, don't change x,y.
2016-09-26 18:19:29 +02:00
Dave Davenport
6131329210
Fix for #467 , don't count border twice, take right line-margin into account.
2016-09-18 22:23:39 +02:00
Dave Davenport
acdb6bdf53
Fix fprintf.
2016-09-18 14:44:03 +02:00
Dave Davenport
5ee5bb1e23
First rough version of async loading for dmenu.
2016-09-17 18:57:44 +02:00