Commit graph

41 commits

Author SHA1 Message Date
Dave Davenport
c78179dcc8 [lexer] Add dmenu as enabled option for media type.
fixes: #1903
2023-10-03 21:06:53 +02:00
Dave Davenport
ad06fb9516 [Theme] Try to fix importing of theme.
- Fix the two place of resolving into one method.
- Do not accept file in CWD.
- Prefer file if it exists in same directory as parent file that
  imported it.

fixes: #1889
2023-08-15 19:12:14 +02:00
Dave Davenport
d464822505 [Theme] support rasinc for theme include files. 2022-12-30 11:54:15 +01:00
Dave Davenport
fb80595725 [Build] Add option to build with lto to meson.
Fix error in test.

Issue: #1743
2022-11-17 11:25:45 +01:00
Dave Davenport
fb24fc0999 Add a warning list and append it to the message box. 2022-07-27 23:44:56 +02:00
Dave Davenport
0e90fb065f [Build] Fix some compile warnings. 2022-07-23 00:28:55 +02:00
Dave Davenport
47f26ca2f1 [IconFetcher] Look for images in theme directories. 2021-08-17 11:05:03 +02:00
a1346054
c62137f8ab
Simple maintenance improvements (#1370)
* rofi moved to libera.chat

* unify some theme headers and whitespace

* consistently use the same hashbang for bash

* improve obsolete way of testing equality

see https://github.com/koalaman/shellcheck/wiki/SC2268 for explanation

* use consistent function definitions in bash scripts

* remove duplicated author and fix whitespace

* quote all variables in scripts

fixes many warnings identified through shellcheck

* fix whitespace in scripts

* fix whitespace in non-source files

* fix spelling in non-source files

* fix whitespace and indentation in source files

* fix spelling in source files
2021-08-14 13:03:16 +02:00
Dave Davenport
a1a0ed68f2 [Test] Fix tests. 2021-06-16 00:11:57 +02:00
Dave Davenport
43957321d4 [Test] meson build updates. 2021-06-15 12:45:02 +02:00
Dave Davenport
74144db77d [Test] Fix the test. 2021-06-15 12:31:32 +02:00
Dave Davenport
4e0dfb03b1 [Test] Fix building of tests.
Fixes: #1017
2019-09-27 10:43:29 +02:00
Dave Davenport
d506c09f85 [TEST] box-test fix commit polution. (oops). 2019-02-02 11:19:43 +01:00
Dave Davenport
4e3a33acda [TESTS] Fix format data type in box-test asserts. 2019-02-02 11:12:01 +01:00
Dave Davenport
ff4946edaf Cleanup compiler warnings.
- Unused var.
- Missing switch statement.
- Change fallthrough for older compilers.
2017-09-17 18:17:26 +02:00
Dave Davenport
28ca3cb510 Fix tests. 2017-09-07 20:03:21 +02:00
Dave Davenport
acfc07a63e Fix Inherit keyword 2017-09-07 13:46:09 +02:00
Dave Davenport
ba296f9210 Add ch as size unit. 2017-09-05 13:52:21 +02:00
Dave Davenport
9af191de26 Fix tests by splitting types name into separate file. 2017-06-20 21:02:13 +02:00
Dave Davenport
4bd9828aa7 Remove index from box_add. 2017-06-02 16:53:39 +02:00
Dave Davenport
ea7d20d150 Change Orientation enum to RofiOrientation. 2017-06-02 16:34:52 +02:00
Dave Davenport
48bf1709b6 Rename HL_ to ROFI_HL_ and fix box test. 2017-06-02 16:09: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
a9199e3e17
Use libnkutils for keybindings
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-29 16:51:06 +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
Dave Davenport
dbf551ec15 Cleanup some compile warning on the tests 2017-05-03 17:57:08 +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
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
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
8a186726f8 Update box test with some click injections 2016-10-25 18:26:18 +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