Dave Davenport
4cd2d87ed2
Merge remote-tracking branch 'origin/master' into barview
2017-06-02 18:52:28 +02:00
Dave Davenport
4bd9828aa7
Remove index from box_add.
2017-06-02 16:53:39 +02:00
Dave Davenport
1d622aa59c
Change ThemeHighlight to RofiHighlightColorStyle
2017-06-02 16:46:28 +02:00
Dave Davenport
3e46228074
Change Padding to RofiPadding
2017-06-02 16:44:16 +02:00
Dave Davenport
ea7d20d150
Change Orientation enum to RofiOrientation.
2017-06-02 16:34:52 +02:00
Dave Davenport
9915857a2e
Change Distance struct to RofiDistance.
2017-06-02 16:25:47 +02:00
Dave Davenport
7352f1c2ba
Change PixelWidth to RofiPixelUnit.
2017-06-02 16:21:05 +02:00
Dave Davenport
48bf1709b6
Rename HL_ to ROFI_HL_ and fix box test.
2017-06-02 16:09:20 +02:00
Quentin Glidic
51d34b662e
helper: Add API to support startup notification
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-02 14:54:21 +02:00
Quentin Glidic
46dee2671d
x11-helper: Rename xcb.c
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-01 00:12:58 +02:00
Quentin Glidic
352103c5d4
test-x/issue333: Fix binding Control+a for the test
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-30 15:08:46 +02:00
Quentin Glidic
faa88343f0
test-x: Try to run tests without fluxbox
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-30 15:07:48 +02:00
Quentin Glidic
4891bcd7eb
bindings: Use a wrapper around rofi_view_trigger_action
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-30 14:14:59 +02:00
Quentin Glidic
4e448eac45
widget.test: Add NULL tests for trigger_action functions
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-30 13:45:20 +02:00
Quentin Glidic
c68dc38c36
box.test: Test find_mouse_target
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-30 13:45:20 +02:00
Quentin Glidic
839693391b
theme-parser.test: Run in locale C, as we test error strings
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-30 13:45:20 +02:00
Quentin Glidic
a24af6e64c
mode/keys: Display all bindings
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-30 13:45:20 +02:00
Quentin Glidic
0555d15c46
scrollbar: Make it scroll again
...
On click for now, will add motion grab in the following commit
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-30 13:45:19 +02:00
Quentin Glidic
823a45f711
scrollbar: Rework scrollbar_scroll_get_line to work on relative y
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-30 13:45:19 +02:00
Quentin Glidic
a9199e3e17
Use libnkutils for keybindings
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-29 16:51:06 +02:00
Quentin Glidic
0afe4d237d
test-x: Keep server and fluxbox logs out of the way
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-28 00:43:46 +02:00
Quentin Glidic
04faad945a
Merge branch 'master' into wip/meson
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-28 00:21:57 +02:00
Dave Davenport
8616e4e8c6
Add whitespace check for hsl and error range check check
2017-05-21 13:34:58 +02:00
Dave Davenport
421f84285f
Add strikethrough to theme manpage.
...
- extend theme test to hit all rgba rules.
2017-05-18 18:04:52 +02:00
Dave Davenport
fa125cb456
Add extra test for angle unit.
2017-05-18 08:14:41 +02:00
Dave Davenport
41a7e06919
[Theme] Update theme-manpage
2017-05-17 08:24:28 +02:00
Dave Davenport
30fb8c514e
Change ARGB to RGBA, fix in theme converter
2017-05-16 21:55:52 +02:00
Dave Davenport
494550d38d
[ThemeParser] Add CSS color names support
...
* [ThemeParser] Add css color names
* Add CSS color support (WIP)
* Parse color names in the lexer.
* Add test for css color names
* Indent and fix ordering
2017-05-15 22:46:33 +02:00
Dave Davenport
e397c346da
[ThemeParser] Extend color formats.
...
- Support whitespace format.
- Support deg,rad, grad, turn angle.
- Add alpha channel support to hwb
2017-05-15 15:05:40 +02:00
Dave Davenport
f0ceeb86d8
[Lexer] Support hsla
2017-05-15 09:10:02 +02:00
Dave Davenport
3fe42c3f79
Update old-theme-convert test
2017-05-14 19:43:44 +02:00
Dave Davenport
e4c935c764
Add a old theme conversion test and default theme dump test.
2017-05-14 18:22:27 +02:00
Dave Davenport
4e7aa06333
Update test to have no user path.
2017-05-14 17:42:05 +02:00
Dave Davenport
47c6c8435a
Add a small test for error message failing to open file.
2017-05-14 17:21:34 +02:00
Dave Davenport
94ee637102
[Parser] Fix HWB parser alpha channel and add test.
2017-05-13 22:51:10 +02:00
Dave Davenport
ed11c3265d
Cleanup parser (document some rules)
2017-05-11 18:23:36 +02:00
Dave Davenport
aaea2b2c8a
Add hsl and cmyk test, add extra error checking
2017-05-10 20:54:16 +02:00
Dave Davenport
cf8796ccd3
Move position parsing to bison file.
2017-05-09 13:53:45 +02:00
Quentin Glidic
7fd8ce4c0a
Add Meson build system support
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-04 21:50:07 +02:00
Quentin Glidic
bc295bddd5
tests: Properly define placeholders
...
And include all needed headers, to catch misdefinitions.
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-04 17:05:27 +02:00
Quentin Glidic
cdc352edf9
tests: Mark static functions as static
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-04 17:05:24 +02:00
Quentin Glidic
1bbb19b4cb
tests: Drop leftover placeholder functions
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-04 14:55:58 +02:00
Dave Davenport
dbf551ec15
Cleanup some compile warning on the tests
2017-05-03 17:57:08 +02:00
Dave Davenport
fb11b8ceb6
[Test,Helper] Add test for utf8_strncmp and fuzzy evaluate.
2017-05-01 09:07:22 +02:00
Dave Davenport
651c0bf03d
[Test,Lexer] Add a newline test
2017-04-30 20:15:49 +02:00
Dave Davenport
aba295647a
[Test] Convert theme-parser test to use libcheck.
2017-04-30 17:44:53 +02:00
Dave Davenport
90d946b809
Hopefully fix for outdated travis
2017-04-29 18:09:10 +02:00
Dave Davenport
084125bc4c
[Test] Play with check.
2017-04-29 17:52:37 +02:00
Dave Davenport
e7d58ada4d
[Test] Add initial code for mode test. (without gui)
2017-04-28 09:43:12 +02:00
Dave Davenport
b1ecb6ca77
[Test] Fix test.
2017-04-27 00:03:59 +02:00
Dave Davenport
d3594e275e
[Test] test configuration block in config.
2017-04-26 23:47:58 +02:00
Dave Davenport
e16d8f755a
[Test] Fixing test
2017-04-26 23:36:27 +02:00
Dave Davenport
ac2390c76d
[Lexer] More tests.
...
Fix return of double.
2017-04-26 23:24:14 +02:00
Dave Davenport
484aa35716
[Lexer] Fix color parsing.
2017-04-26 22:45:14 +02:00
Dave Davenport
d79423f2cf
[Lexer] Fix wrong division factor for #RGB color parsing (15 not 16)
2017-04-26 18:43:49 +02:00
Dave Davenport
38f91e8953
[Test,Lexer] Add test for distance parsing, fix bug in em (double)
...
* Parsed as int, not double.
2017-04-26 08:05:04 +02:00
Dave Davenport
7291c1f497
[Test,Theme] Add extra test for wind direction and newline and link
2017-04-26 07:46:01 +02:00
Dave Davenport
470057be17
Add some tests importing (and failing) file.
2017-04-25 23:34:48 +02:00
Dave Davenport
8d2da410df
Print out diff of failing match
2017-04-25 20:13:34 +02:00
Dave Davenport
f23d035e52
Fix checks
2017-04-17 18:07:50 +02:00
Quentin Glidic
9a68b22009
Fix licenses headers
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-04-15 12:32:05 +02:00
Dave Davenport
4156d142fe
Set PID and wm_client_machine hints on rofi window.
2017-04-10 09:27:22 +02:00
Dave Davenport
898b5466f0
Fix memory leak on parser fail.
2017-04-06 09:12:03 +02:00
Dave Davenport
cada24250c
[ThemeParserTest] Initialize the widget name to NULL
2017-04-04 23:26:35 +02:00
Dave Davenport
c40bb4fc35
Fix small bug and extend test for theme parser
2017-04-04 23:02:08 +02:00
Dave Davenport
abaae5f403
Add (initial) check for theme parser.
2017-04-04 08:56:19 +02:00
Dave Davenport
5259eb11bc
Merge the configuration loading into something more simple (3)
2017-03-28 17:33:43 +02:00
Dave Davenport
5b387f76b1
Fix tests
2017-03-28 12:08:14 +02: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
048d601a85
Update tests
2017-03-11 14:55:58 +01:00
Dave Davenport
f7b4bebb9b
Rename token_match to helper_token_match.
2017-02-17 09:58:47 +01:00
Dave Davenport
9941efa5f4
Fix textbox test
2017-01-26 17:40:46 +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
d88a5197b5
Fix tests.
2017-01-09 23:15:45 +01:00
Dave Davenport
9aaf21cd85
Fix theme converter and check.
2017-01-06 16:53:21 +01:00
Dave Davenport
da917993f7
Fix tests
2017-01-03 19:35:23 +01:00
Dave Davenport
fe0219a025
Fix the box widget test
2017-01-03 12:40:29 +01:00
Dave Davenport
d20587da54
Fix? tests
2017-01-01 16:32:01 +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
45fd97d842
Fix test box widget..
2016-11-27 16:28:20 +01:00
Dave Davenport
fb459e1660
Make scrollbar behave better
2016-10-26 08:24:34 +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
8a186726f8
Update box test with some click injections
2016-10-25 18:26:18 +02:00
Dave Davenport
b19ab62e17
add scrollbar test.
2016-10-24 17:48:04 +02:00
Dave Davenport
b8fd2ce738
Add two more cases to the test.
2016-10-21 20:21:53 +02:00
Dave Davenport
f602ea1486
Add some tests for the box widget.
2016-10-21 18:48:01 +02:00
Dave Davenport
c8d2069098
Add more tests and re-add textbox_test to normal check set.
2016-10-20 19:34:03 +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
d0d1869604
Fix test?
2016-10-19 21:39:43 +02:00
Dave Davenport
ba2188d649
Print out diff.
2016-10-19 21:19:19 +02:00
Dave Davenport
a78d0b53fc
Add help output compare test.
2016-10-19 13:12:55 +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
cc496c38ee
check coverall behaviour
2016-10-13 18:29:32 +02:00
Dave Davenport
306eeac3fe
Add some NULL tests to widget test
2016-10-13 17:54:52 +02:00
Dave Davenport
1cd94c27c7
Update documentation, tests for widget
2016-10-13 09:22:08 +02:00
Dave Davenport
f3298801f3
Split internal widget into separate file
2016-10-09 10:13:15 +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
20e55e1e4e
Add fuzzy matching, make a -matching option.
...
* -matching *method* option instead of -regex, -glob, -fuzzy.
* Re-add fuzzy matching pattern.
* When there are substrings in regex, only highlight those matches.
Fixes : #447
2016-08-25 21:17:58 +02:00
Dave Davenport
e55dfe8b10
Test something
2016-08-19 19:40:39 +02:00