Commit graph

57 commits

Author SHA1 Message Date
lbonn
102e6de7a9 Revert "[IconFetcher] Apply scaling when loading images and icons"
This reverts commit 2c0fcf9da9.
2023-11-30 16:49:47 +01:00
lbonn
7c79169309 Wayland: fix wayland-only mode again 2023-09-24 01:57:11 +02:00
lbonn
bb85634182 Merge remote-tracking branch 'upstream/next' into wayland 2023-09-14 17:37:40 +02:00
MoetaYuko
2c0fcf9da9 [IconFetcher] Apply scaling when loading images and icons
Partially fixes #45
2023-07-23 14:10:10 +02:00
Dave Davenport
66d782e0e7 Move config.h
small updates

Tweak header a bit

[CI] Add lto build to sh ci.

[CI] Fix artifact upload

[CI] no wildcard for artifact
2022-11-19 20:35:52 +01:00
lbonn
9ec86220d5 Fix wayland-only build 2022-08-24 00:45:36 +02:00
lbonn
4e833a4ec4 Merge tag '1.7.4' into wayland 2022-08-24 00:05:02 +02: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
Jakub Jirutka
7ce8c8584b Remove unused/surplus xcb-related includes
Includes in the rofi code base are a complete mess; there are many
needless includes and many files rely on transitive includes.

I used include-what-you-use tool to find them. There are much more,
I cherry picked only suggestions relevant to the goal - allow building
rofi without XCB dependencies.

This doesn't break X11 support and it can be upstreamed (after rebasing
and removing changes in wayland-stuff).
2021-09-30 21:48:44 +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
382a497c4e [Test] Fix some of the tests. 2021-07-06 23:49:17 +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
95c4e0424e Fix tests. 2021-06-01 14:21:21 +02:00
Dave Davenport
9f1a19b21e [TESTS] Fix helper-test assert argument format. 2019-02-02 11:34:54 +01:00
Dave Davenport
f80e7d52bc [Helper] Remove fixed key/values and accept keys with NULL as values. 2018-10-17 22:41:20 +02:00
Dave Davenport
e8edc42f9d [Helper] Quick and dirty string replacer with optional keys block.
First (quick and dirty) version of a more advanced key replacer where
sets of text are only outputted if the contained key matches.
2018-10-16 21:01:45 +02:00
Dave Davenport
6efd73ff92 Remove duplicate test, use tempnam instead of hardcoded path.
Issue: #543
2018-03-07 21:23:49 +01: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
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
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
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
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
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
f96461a543 Remove invalid tests. 2016-05-27 09:34:17 +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
8914fbf2df Split test in 2. 2016-03-21 17:16:45 +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
a4fd907fe8 Run indenter 2016-02-28 15:32:53 +01:00
Dave Davenport
6d0d6d9eb2 Tests. 2016-02-28 01:21:22 +01:00
Dave Davenport
5a86ae5c99 Cleanups 2016-02-08 09:03:11 +01:00
Dave Davenport
51b5511017 More doxygen sugar. 2016-01-07 16:01:56 +01:00
Dave Davenport
d661a515f0 Make levenshtein sort utf8 aware and obey case sensitive setting.
- Add tests.
        - Use Glibs unichar for comparison.
2016-01-04 17:18:49 +01:00
Dave Davenport
7a9263e929 Extend test case. 2015-12-08 22:47:54 +01:00
Dave Davenport
bb68cded68 tweak 2015-12-08 08:44:44 +01:00
Dave Davenport
0ff0f15264 Add test, remove whitespace 2015-12-08 08:39:18 +01:00
Dave Davenport
eaa553bfd5 Indent. 2015-12-03 22:48:30 +01:00
Dave Davenport
e4c7fe8f1e Fix func. def in wrong header file. 2015-12-02 17:56:25 +01:00
Dave Davenport
a21f8dd179 Add some helper tests. 2015-12-02 09:53:39 +01:00
QC
683632c36c Some cleanups 2015-10-18 19:02:19 +02:00
QC
93b6b83fb9 Try todo some validation of monitor size/padding in config sanity check. 2015-10-18 13:40:39 +02:00
QC
442e235c24 Some cleanups, tweak uncrustify. 2015-09-19 12:21:30 +02:00