Commit graph

221 commits

Author SHA1 Message Date
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
Dave Davenport
d7dab65e5b Making widget class, moving stuff around 2016-01-09 16:22:09 +01:00
Dave Davenport
e8daff0f6a First cleanup steps. 2016-01-07 19:47:37 +01:00
Dave Davenport
51b5511017 More doxygen sugar. 2016-01-07 16:01:56 +01:00
Dave Davenport
38be9d94ae Generate doxygen file using autoconf. 2016-01-07 13:38:53 +01:00
Dave Davenport
329f31bd75 Add doxygen target. 2016-01-05 19:49:13 +01:00
Dave Davenport
200f8e5faa Do not test the ones that require window manager. 2016-01-04 21:51:08 +01:00
Dave Davenport
fefd992c11 Merge branch 'master' of github:DaveDavenport/rofi 2016-01-04 20:56:54 +01:00
Dave Davenport
f715a33bf7 Add window manager as test if possible 2016-01-04 20:46:34 +01:00
Dave Davenport
05a1be9753 Another silly test to make sure this code is hit and should show breakage. 2016-01-04 18:26:18 +01:00
Dave Davenport
dac711cf22 Add fuzzy test. 2016-01-04 18:04:15 +01:00
Dave Davenport
d370a446f3 Add config loading test. 2016-01-03 18:13:41 +01:00
Dave Davenport
4fbbce891b Test glob/regex. 2016-01-01 11:31:29 +01:00
Dave Davenport
58c856e22a Add combi test 2015-12-31 23:27:06 +01:00
Dave Davenport
ade91a3875 Add simple drun test 2015-12-31 23:14:38 +01:00
Dave Davenport
e102e11637 Update test 2015-12-31 23:02:13 +01:00