Commit graph

78 commits

Author SHA1 Message Date
lbonn
54a2c45120 Merge remote-tracking branch 'upstream/next' into wayland 2024-02-27 13:29:54 +01:00
Qball Cow
2bbaa36b7a Fix some compiler warnings. 2024-02-25 23:33:22 +01:00
lbonn
070c830a92 Merge remote-tracking branch 'upstream/next' into wayland 2024-02-16 17:54:10 +01:00
lbonn
102e6de7a9 Revert "[IconFetcher] Apply scaling when loading images and icons"
This reverts commit 2c0fcf9da9.
2023-11-30 16:49:47 +01:00
Dave Davenport
c78179dcc8 [lexer] Add dmenu as enabled option for media type.
fixes: #1903
2023-10-03 21:06:53 +02: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
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
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
ff4946edaf Cleanup compiler warnings.
- Unused var.
- Missing switch statement.
- Change fallthrough for older compilers.
2017-09-17 18:17:26 +02:00
Dave Davenport
acfc07a63e Fix Inherit keyword 2017-09-07 13:46:09 +02:00
Dave Davenport
9af191de26 Fix tests by splitting types name into separate file. 2017-06-20 21:02:13 +02:00
Dave Davenport
9fe67c1822 [TextBox] Remove TB_LEFT/CENTER/RIGHT replace with xalign/yalign. 2017-06-07 20:16:14 +02:00
Quentin Glidic
0adc0d7c08
view: Always create textbox with type
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-03 20:04:21 +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
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
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
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
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
9941efa5f4 Fix textbox test 2017-01-26 17:40:46 +01:00
Dave Davenport
d88a5197b5 Fix tests. 2017-01-09 23:15:45 +01:00
Dave Davenport
da917993f7 Fix tests 2017-01-03 19:35:23 +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
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
881056ea9b Add some more tests, make some textbox api's private 2016-10-20 09:41:32 +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
1aed0427f9 Remove hack with config file. 2016-03-05 20:16:10 +01:00
Dave Davenport
b4cc0f611b Fix build test 2016-03-03 08:23:12 +01:00
Dave Davenport
a4fd907fe8 Run indenter 2016-02-28 15:32:53 +01:00
Quentin Glidic
909241ddfe Remove X11 headers includes
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2016-02-28 12:21:26 +01:00
Dave Davenport
ab57479da9 Remove Atom with xcb_atom_t. 2016-02-28 12:19:56 +01:00
Dave Davenport
6d0d6d9eb2 Tests. 2016-02-28 01:21:22 +01:00
Dave Davenport
be76712dba Fix tests. 2016-02-21 16:40:29 +01:00
Dave Davenport
5a86ae5c99 Cleanups 2016-02-08 09:03:11 +01:00
Dave Davenport
adfc83f07d Restructuring, my biggest joy. 2016-02-06 14:27:36 +01:00
Dave Davenport
312ca274fc Split of files. 2016-02-06 13:06:58 +01:00