Commit graph

236 commits

Author SHA1 Message Date
Dave Davenport
21e2e67412 Make tokenize test use libcheck.
- Add some tests for negate.
2017-09-29 18:44:21 +02:00
Quentin Glidic
b7a36f5ea5
autotools: Include subprojects meson_options.txt too
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-09-27 11:21:33 +02:00
Quentin Glidic
d7d239d808
meson: Fix update-manpage target
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-07-17 10:13:48 +02:00
Dave Davenport
9af191de26 Fix tests by splitting types name into separate file. 2017-06-20 21:02:13 +02:00
Dave Davenport
252d89a1b8 Add Pop-Dark theme. 2017-06-19 09:30:38 +02:00
Dave Davenport
5775e80111 Add dmenu theme 2017-06-05 20:31:32 +02:00
Dave Davenport
21615ccacd Remove non-existing files from Makefile. 2017-06-03 12:16:04 +02:00
Quentin Glidic
48a80e3f82
display: Introduce display.h
The API is meant to be neutral to fit any display backend.

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-01 15:06:57 +02:00
Quentin Glidic
96364c461f
autotools: Fix build
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-01 12:00:51 +02:00
Aaron Ash
43053cdfc3
view: Add icon (basic) support 2017-05-30 19:00:57 +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
e324d0c6a9
Makefile.am: Use wrapper script for test-x
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-28 00:24:52 +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
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
Quentin Glidic
21982db450
meson: Now dist target is upstream
This reverts commit 2140c9dffb, but not
the Makefile.am part. Also fixes EXTRA_DIST.

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-15 13:18:12 +02:00
Dave Davenport
e4c935c764 Add a old theme conversion test and default theme dump test. 2017-05-14 18:22:27 +02:00
Quentin Glidic
2140c9dffb
meson: Add dist target
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-04 22:26:03 +02:00
Quentin Glidic
9302ef59f3
gitmodules: Move to subprojects/
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-04 21:50:07 +02:00
Dave Davenport
0cde9a9d0e Fixing make dist including build lexer header file 2017-05-04 21:49:24 +02:00
Dave Davenport
82e2456043 Fix building out of source dir. 2017-05-04 21:41:38 +02:00
Quentin Glidic
4fccb3efdc
theme-parser: Drop lexer/ in #includes
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-04 13:40:12 +02:00
Dave Davenport
5d41d228f0 Make explicit flag for enabling/disabling libcheck usage.
Automagic detection is frowned upon:
https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Automagic_dependencies
2017-04-30 20:03:31 +02:00
Dave Davenport
7892a83301 Allow libcheck to be disabled if not found 2017-04-30 18:34:37 +02:00
Dave Davenport
aba295647a [Test] Convert theme-parser test to use libcheck. 2017-04-30 17:44:53 +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
be6bf5fd01 Fix check 2017-04-25 11:44:13 +02:00
Quentin Glidic
6250e39e31
Do not hardcode ${datadir} as ${prefix}/share
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-04-17 18:18:07 +02:00
Dave Davenport
f23d035e52 Fix checks 2017-04-17 18:07:50 +02:00
Dave Davenport
97fe894f43 Add some theme name resolving functions. 2017-04-17 17:46:01 +02:00
Dave Davenport
abaae5f403 Add (initial) check for theme parser. 2017-04-04 08:56:19 +02:00
Dave Davenport
eeee200d8f Remove old theme support. (part 1) 2017-03-29 20:18:41 +02:00
Dave Davenport
5186dab1b8 Fix #581 2017-03-26 23:19:30 +02:00
Dave Davenport
8cdd4437d8 Add place-holder manpage for rofi-theme manpage. 2017-03-18 15:57:34 +01:00
Dave Davenport
048d601a85 Update tests 2017-03-11 14:55:58 +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
35deecec36 Do not export settings 2017-02-17 14:34:10 +01:00
Dave Davenport
dc7e4aa96e Install some headers for use in plugins 2017-02-17 14:06:31 +01:00
Dave Davenport
2ef45c46a8 Add small pkg-config file that can be used by plugins. 2017-02-16 23:29:26 +01:00
Dave Davenport
0825479710 Add sidebar and paper-float theme 2017-01-19 18:58:07 +01:00
Dave Davenport
46f1e6f107 Add arthur as theme 2017-01-19 09:26:16 +01:00
Dave Davenport
823d1b4651 Convert built-in themes to new format. 2017-01-19 09:19:14 +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
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
16e4eb04a8 Merge remote-tracking branch 'origin/master' into themer 2017-01-03 17:55:14 +01:00
Dave Davenport
eac5895374 Add copyright to themes. 2017-01-03 17:50:56 +01:00
Dave Davenport
62bfeafb1a Fix typo in makefile 2017-01-01 17:03:42 +01:00
Dave Davenport
eb33f64046 Add BUILT_SOURCES for flex/bison generated files. 2017-01-01 16:52:25 +01:00
Dave Davenport
d20587da54 Fix? tests 2017-01-01 16:32:01 +01:00
Dave Davenport
a2001d1b9c Add window widget, play with logic for sizing (broken) 2016-12-28 19:42:14 +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
d18f037d1c Add lex/bison parser for theme. 2016-12-09 19:49:49 +01:00
Dave Davenport
a41d734d88 Add themes from rofi-themes (adapta, indego, monokai) 2016-11-18 18:13:38 +01:00
Dave Davenport
d245a4e6a1 Add themes, make rofi-theme-selector show highlighted rows. 2016-11-16 09:22:41 +01:00
Dave Davenport
503a6ef4c5 Add 2 more themes. 2016-10-28 08:58:11 +02:00
Dave Davenport
24a945eb3f Add darkblue as screen 2016-10-27 21:08:08 +02:00
Dave Davenport
f0d2a06268 Add some themes to be installed, add theme-selector script thingy. 2016-10-27 15:28:11 +02:00
Dave Davenport
b19ab62e17 add scrollbar test. 2016-10-24 17:48:04 +02:00
Dave Davenport
f602ea1486 Add some tests for the box widget. 2016-10-21 18:48:01 +02:00
Dave Davenport
bd4f4aa2ff fix typo 2016-10-20 20:31:39 +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
a78d0b53fc Add help output compare test. 2016-10-19 13:12:55 +02:00
Dave Davenport
970f7af037 try to print coverage report in travis 2016-10-18 22:54:38 +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
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
a5acff542d Update INSTALL.md and Makefile.am to reflect changes randr. 2016-08-19 11:00:16 +02:00
Dave Davenport
342192b4ed Remove work-around for older i3 version (< 4.9)
- I3 got ewhm support in Feb. 2015.
2016-07-06 08:34:47 +02:00
Dave Davenport
03239cb989 Remove fuzzy matching option. 2016-06-18 20:54:29 +02:00
Dave Davenport
c095476419 Add extra test for widget. 2016-06-01 07:57:04 +02:00
Dave Davenport
1b5bcaa9f4 Issue #411: Show list of Keyboard bindings with rofi, from rofi. 2016-05-30 10:25:58 +02:00
Dave Davenport
d3350afbed Use SYSCONFDIR 2016-04-01 19:51:24 +02:00
Dave Davenport
6693799923 Split test for helper in separate test for config cmdline parser. 2016-03-22 10:43:42 +01:00
Dave Davenport
3ac0c6dd7d Quick fix. 2016-03-21 20:27:16 +01:00
Dave Davenport
8914fbf2df Split test in 2. 2016-03-21 17:16:45 +01:00
Quentin Glidic
86c8934b86 test-x: Remove daemon mode test
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2016-03-20 11:56:28 +01:00
Dave Davenport
545c423b61 Tried to fix strlen on NULL 2016-03-12 14:00:19 +01:00
Dave Davenport
1aed0427f9 Remove hack with config file. 2016-03-05 20:16:10 +01:00
Dave Davenport
72dfe2ad4c Propagate error down, show dialog.
Fix positioning dialog.
2016-03-05 11:08:32 +01:00
Dave Davenport
fa7ceaf580 Check for the availability of the xinerama extension. 2016-03-04 17:03:24 +01:00
Dave Davenport
7d046a1f5b Pack magic externs into a xcb_stuff. 2016-03-01 18:11:55 +01:00
Dave Davenport
6d0d6d9eb2 Tests. 2016-02-28 01:21:22 +01:00
Dave Davenport
aa1d8b4046 Remove x11-event-source, replaced by libgwater. 2016-02-21 17:47:19 +01:00
Dave Davenport
3be6079705 Add missing header files xkb,xkb-internal 2016-02-21 17:14:02 +01:00
Dave Davenport
be76712dba Fix tests. 2016-02-21 16:40:29 +01:00
Quentin Glidic
fe7ca2079d rofi: Convert to XCB events
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2016-02-21 16:04:53 +01:00
Dave Davenport
85fcdf9f97 Textbox_test does not run on travis. test-x depends on textbox_test 2016-02-21 13:15:17 +01:00
Dave Davenport
d352528aab Add textbox_test to make check 2016-02-21 13:08:33 +01:00
Dave Davenport
d3a044db8e Fixing make dist after merge of make cleanups. 2016-02-21 12:57:30 +01:00
Quentin Glidic
4c11da91f5 Autotools cleanup
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2016-02-21 12:42:28 +01:00
Dave Davenport
730ee1ad4e Update makefile. (thx ci) 2016-02-06 14:56:13 +01:00
Dave Davenport
2b1095d5d3 Merge remote-tracking branch 'origin/master' into glib-loop 2016-02-06 13:07:34 +01:00
Dave Davenport
312ca274fc Split of files. 2016-02-06 13:06:58 +01:00
Dave Davenport
0a8148a95a Another typo bytes the dust, and another one gone.. 2016-02-05 08:12:36 +01:00
Dave Davenport
3c5cb76796 Fix typo 2016-02-05 08:00:27 +01:00
Dave Davenport
531f3f884a Merge remote-tracking branch 'origin/master' into glib-loop 2016-02-04 16:25:04 +01:00
Dave Davenport
b557c4df6e Issue: #333, Check if row is selected, don't assume selected_line is valid. 2016-02-03 09:01:13 +01:00
Dave Davenport
42ee408d0f Move X11EventSource into separate file. 2016-01-18 22:02:07 +01:00