Commit graph

807 commits

Author SHA1 Message Date
MoetaYuko
36621af0e4 [IconFetcher] Re-introduce icon scaling on wayland
This time, preserving ABI compatibility with upstream rofi

Fixes #96
2023-11-30 16:49:47 +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
lbonn
bb85634182 Merge remote-tracking branch 'upstream/next' into wayland 2023-09-14 17:37:40 +02:00
Dave Davenport
51a8df9da5 [Rofi] Expand cache-dir
Fixes: #1892
2023-08-24 19:46:29 +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
7814da7ee4 [ROFI] -e '-' reads from stdin 2023-06-15 22:29:03 +02:00
Dave Davenport
e409322faf Print window manager in -help output 2023-06-12 19:16:46 +02:00
Dave Davenport
d27cee89fa Merging in the Recursive file browser.
Squashed commit of the following:

commit 92e730076d461622dc81e44e87ec456317514904
Author: Dave Davenport <qball@gmpclient.org>
Date:   Sun Jun 11 18:17:12 2023 +0200

    [Doc] Add regex filtering to recursivebrowser.

commit ee80c8487f9765b1e6e8ab8219a6baea089cf5af
Author: Dave Davenport <qball@gmpclient.org>
Date:   Sun Jun 11 17:49:29 2023 +0200

    [recursivebrowser] Update manpage.

commit a24b68f52362aaf1461935c2340e3bf5e31da59d
Author: Dave Davenport <qball@gmpclient.org>
Date:   Sun Jun 11 17:37:56 2023 +0200

    [Mode] Add some extra validating of the mode selected to complete.

commit cf497e8685e806521c0f61922827687adce268c9
Author: Dave Davenport <qball@gmpclient.org>
Date:   Sun Jun 4 15:12:31 2023 +0200

    [Recursive browser] Make completer selectable.

commit 722f07a803c28a406d8a610f31a24b3f7247b9ba
Author: Dave Davenport <qball@gmpclient.org>
Date:   Sun Jun 4 14:36:14 2023 +0200

    Add methods for completer to modes.

commit 7972420c30275514751802d1ed517a45bbd83da1
Author: Qball Cow <qball@blame.services>
Date:   Thu Jun 1 21:56:06 2023 +0200

    Prepare updates for new APIs.

commit dd3035a1a61f8196d394f6867701a0e1b3af30ac
Author: Dave Davenport <qball@gmpclient.org>
Date:   Wed May 10 19:24:48 2023 +0200

    [RB] Fix regex and cleanups

commit 4d2941caf32dfb946aee54c467c1319c7a89804a
Author: Dave Davenport <qball@blame.services>
Date:   Wed May 10 18:09:54 2023 +0200

    [RB] Add (unfinished regex test)

commit 848277001fc8cf9afc538067f2afa24a174f8c7f
Author: Dave Davenport <qball@blame.services>
Date:   Wed May 10 17:49:16 2023 +0200

    [RB] Pull the scanning into a separate thread.

commit f369a7f63f618bbcad10c18e73f7e2b117c515f1
Author: Dave Davenport <qball@gmpclient.org>
Date:   Wed May 3 18:35:15 2023 +0200

    [Recursive File Browser] First test version.
2023-06-12 19:07:00 +02:00
Dave Davenport
3446e88cb8 Remove unneeded test and extra enforcement of 0 terminated buffer 2023-03-27 11:52:27 +02:00
Dave Davenport
bb5868199f Re-indent the code using clang-format 2023-03-26 13:19:58 +02:00
Dave Davenport
727d7c579d Update copyright dates. 2023-01-14 13:02:35 +01:00
Dave Davenport
9143d291d4 [themes] don't use screenshot transparency in shipped themes 2022-12-31 00:23:48 +01:00
Dave Davenport
d9935e594e [Doc] Fix some missing docu. 2022-11-19 21:50:34 +01:00
duarm
6d02648d3a
input method (#1735)
* input method draft

* restoring relese event

* using unused macro, removing debug code, handling disconnection

* review fixes, new update_im_window_pos method

* initializing variables correctly

* initializing im pos queue correctly

* ime window positioning

* add widget_get_y_pos() position

* [Build] Update makefile with imdkit

* [CI] Add imdkit as dependency.

* [XCB] rofi_view_paste don't throw warning, print debug.

* [XCB] rofi_view_paste lower 'failed to convert selection'

* [Build] Add minimum version check to imdkit

* new macro XCB_IMDKIT_1_0_3_LOWER

* [Build] Try to support old version of imdkit in meson/makefile.

* [Build] Fix typo in meson.build

* [XIM] Don't set use compound/set use utf8 when on old version.

* [Build] Allow building without imdkit.

* [Doc] Add imdkit to dependency list.

Co-authored-by: Dave Davenport <qball@gmpclient.org>
2022-11-08 19:18:45 +01:00
lbonn
d44b81e778 Merge remote-tracking branch 'upstream/next' into wayland 2022-10-05 18:49:54 +02:00
Dave Davenport
5ae8fa5a3f [Keyb] Add a -list-keybindings command. 2022-09-18 20:28:38 +02:00
Aleksei Bavshin
1e4ef36611 [Window] Initial support for wayland window switcher
The code still lacks a lot of features of XCB Window mode, but at least
following should work:
 - Activate and Delete (close) actions
 - matching by window title
 - live update
 - icon lookup by app_id
2022-09-08 09:16:24 +02:00
Dave Davenport
594c7f2b31 [Theme] If no theme loaded, load default. Downgrade missing theme file to warning.
Issue: #1689
2022-08-26 14:05:16 +02:00
lbonn
4e833a4ec4 Merge tag '1.7.4' into wayland 2022-08-24 00:05:02 +02:00
Jasper Lievisse Adriaanse
c896cbbca4
Include sys/stat.h for S_IWUSR (#1685) 2022-08-21 20:51:03 +02:00
Dave Davenport
406a6954aa [Help] add -config to -help output.
Issue: #1665
2022-07-30 17:49:26 +02:00
Dave Davenport
ac701018fd [Help] Print pango version. 2022-07-30 15:48:00 +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
lbonn
853c8c9af3 Merge remote-tracking branch 'upstream/next' into wayland 2022-07-16 12:37:31 +02:00
Dave Davenport
96027decd9 [Debug] Add a '-log' flag. 2022-07-08 22:53:07 +02:00
Dave Davenport
40ecfcd1f1 [Script] Print list of user scripts in -h 2022-06-12 17:49:04 +02:00
Dave Davenport
ffa1d11e3c [Script] Look into ~/.config/rofi/scripts/ for user scripts. 2022-06-12 15:22:56 +02:00
Dave Davenport
6f971e1110 [Rofi] Move the commandline no argument msg to a popup. 2022-05-06 15:25:32 +02:00
lbonn
1e8c22b4a0 Merge remote-tracking branch 'upstream/next' into wayland 2022-04-17 11:19:36 +02:00
Dave Davenport
534aa6ad54 Rename Dialogs -> Modes
Try to fix some of old syntax.
2022-02-23 23:18:53 +01:00
Dave Davenport
4e06bff706 Change modi -> modes
issues: #1599
2022-02-23 22:42:56 +01:00
Dave Davenport
eff3b86c94 Bump copyright date. 2022-02-07 23:17:15 +01:00
Dave Davenport
a34c13bdb2 [Theme] Validate variables in theme and throw error on fail.
issue: #1580
2022-01-31 23:19:51 +01:00
Jakub Jirutka
d34e827dd0 Merge tag '1.7.3' into wayland 2022-01-29 20:53:22 +01:00
Dave Davenport
e563cd3ad0 Add -replace option
Issue: #568
2021-12-22 21:03:54 +01:00
Dave Davenport
0424dc6f2e Small rename switcher --> mode. 2021-12-22 20:33:22 +01:00
lbonn
0a0d8333ca Merge tag '1.7.2' into wayland 2021-12-16 21:10:52 +01:00
Dave Davenport
8f5d9b425e [KeyBindings] Fix keybinding modified by -theme-str. 2021-12-15 20:49:53 +01:00
Dave Davenport
f0500a5a0e [Help] Print out the parsed config/theme files. 2021-12-12 20:56:32 +01:00
Dave Davenport
dee9c526d3 [Rofi] Don't try to parse commandline options using theme engine if theme parsing failed.
Issues: #1531
2021-11-28 17:08:09 +01:00
lbonn
fd68f97fe7 Merge tag '1.7.1' into wayland 2021-11-28 15:50:59 +01:00
Dave Davenport
8d943e4a55 [Rofi] Fix error message to have right syntax. 2021-11-12 23:51:12 +01:00
lbonn
70efa84f9b Merge remote-tracking branch 'upstream/next' into wayland 2021-10-25 20:14:21 +02:00
Jakub Jirutka
6d18d7812a Allow build without X11/XCB backend 2021-09-30 21:55:46 +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
Dave Davenport
562146730b
[THEME] I1442 Fix parsing of nested media blocks.
* [1442] Fix widget media nested
* [Theme] Fix memory leak in P_LIST
* [I1442] Support merging down default block.
2021-09-08 14:16:28 +02:00
lbonn
cfc3be4a5d Merge tag '1.7.0' into wayland 2021-09-06 13:16:48 +02:00
lbonn
6baa463264 Merge commit '954fc728b29d3c63a09a84870f29b57640062966' into wayland
Formatting changes only
2021-09-06 13:01:37 +02:00
lbonn
deb9330a0d Merge commit '1a1dc7282f5ed010af874398b5b3d70ea7cda8e8' into wayland 2021-09-06 13:00:57 +02:00