2409 Commits

Author SHA1 Message Date
9f458ad2e7 Fix a merge conflict resolution error 2025-05-18 20:20:19 +02:00
5596ecaca4 Merge tag '1.7.9' into wayland 2025-05-18 20:03:28 +02:00
b35f516556 Add -imdkit config to toggle imdkit at runtime (#2124) 2025-04-26 16:16:51 +02:00
f0ccf4c186 [Widget] Add 2 workaround for error in corner radius drawing
* Disable AA (works on nvidia)
* Disable nvidia workaround.
2025-03-30 15:04:22 +02:00
56fd08ed58 [scrollbar] Add theming for rounded corners (#2108)
* [scrollbar] Add theming for rounded corners

* rename "rounded-corners" to "handle-rounded-corners"
2025-03-08 18:34:39 +01:00
e70e3906cc Add theming to hide text cursor if no text is put in (#2106)
* Add theming to hide text cursor if no text is put in

* rename "hide-empty-cursor" to "hide-cursor-on-empty"

* update docs
2025-02-25 18:50:25 +01:00
a84f04a14b [DRUN] Add option to exclude categories from drun #2102 (#2104)
* Add option to exclude categories from drun

* Fix memory leak when both -drun-categories and -drun-exclude-categories are used

* update docs
2025-02-21 16:28:21 +01:00
3bec3fac59 Wayland: remove some dead code
Found with Codacy https://app.codacy.com/gh/davatorium/rofi/pull-requests/2099
2025-02-20 19:08:45 +01:00
8639783f5f [XCB] Don't keep casting from int to double to int 2025-02-20 10:08:35 +01:00
5d77a9bb33 [Helper] Add a rofi_fallthrough macro to tell compiler fallthrough is intentional 2025-02-20 09:59:53 +01:00
47053f30d2 [View] xcb_clear_area fixed wrong argument order. 2025-02-18 21:15:14 +01:00
183b0b5d75 Wayland: fix key repeat rate
Fixes #81
2025-02-16 19:35:07 +01:00
c609e5e085 [DRun] Better handling of corrupted cache file. 2025-02-13 21:04:29 +01:00
cebb0fd1a7 Merge remote-tracking branch 'upstream/next' into wayland 2025-02-13 09:35:15 +01:00
88456b6adc [WIP] [View] Allow cycling through matching methods (#2091)
* [View] Allow cycling through matching methods

* [Doc] Fix documentation and test for keybindings

* [Helper] Allow selecting different matching modes for cycling at runtime.

* [View] Fix bool to gboolean

* [Doc] Small type fix, theme cleanup

* [Overlay] Make timeout configurable.

* [Helper] Reduce scope of variable.
2025-02-09 17:34:57 +01:00
995cd3c048 Fix wrong pointer -replace and small cleanup. 2025-02-09 11:00:59 +01:00
f43d578264 [Textbox] Small signedness fixes for password mask code. 2025-02-08 21:37:20 +01:00
1c144cc901 [dmenu] Modified textbox password masking (#2067)
* Modified textbox password masking

Use Unicode Character “●” (U+25CF) inteads '*'

* [dmenu] change password mask via theme config file

* revert wrong delete lib

* Fix cursor position

* Correct cursor positioning for UTF-8 paste in textboxes, remove unused variables.

* [Revert] Fix pasting UTF-8 characters. It causes the cursor position to move incorrectly.

* Make everything work again

* fix memory leak
2025-02-08 17:01:35 +01:00
0c3cbd0cfb feat: add smartcase support like vim (#2060) 2025-01-27 17:52:32 +01:00
fb326c1b61 Revert "[Window] Allow active window to be sorted on top."
This reverts commit 8542b3ee7e.
2025-01-26 20:13:21 +01:00
e068ddbc01 [Mode] Add some wrappers and use object via accessors.
* Make sure file is only shown once in parsed list, not twice.
2025-01-26 20:07:04 +01:00
613bc5814c Merge remote-tracking branch 'github/next' into next 2025-01-24 11:33:02 +01:00
bc67d8a8a6 [WIP] Execute custom user commands or scripts on a variety of rofi events (#2053)
* Implemented custom user command execution on the following menu events: entry selected, entry accepted, menu canceled, menu error, mode changed, screenshot taken

* fixed different signedness comparison warning and compare unfiltered entry index in selection_changed_user_callback

* track previously selected line in RofiViewState

* added documentation about custom scripts to run on certain actions

---------

Co-authored-by: Matteo <giomatfois62@yahoo.it>
2025-01-24 11:19:48 +01:00
168b5d6381 Merge remote-tracking branch 'github/next' into next 2025-01-22 18:19:30 +01:00
5870040256 Add option to enable the kb-delete-entry in script mode (#2087)
* Add option to enable the `kb-delete-entry` in script mode

* Remove `use-delete` option
2025-01-22 18:12:27 +01:00
42c384aec0 Merge tag '1.7.8' into wayland 2025-01-20 19:41:23 +01:00
8542b3ee7e [Window] Allow active window to be sorted on top.
fixes: #2048
2025-01-20 18:27:19 +01:00
4cdca24995 Fix buffer overflow in rofi -e after reading from stdin (#2082) 2025-01-16 18:22:28 +01:00
4287ff444a [DRun] Reduce DBus timeout to 1500ms add option to disable DBusActivatable.
Issue: #2077
2025-01-09 12:53:37 +01:00
5df2d3a137 Merge remote-tracking branch 'upstream/next' into wayland 2025-01-07 13:24:51 +01:00
60181710dc [Widget] Actually remove ADD operator from border drawing.
Issue: #2076
2025-01-06 18:38:55 +01:00
3550af6d5b Fix imdkit detection
config.h needs to be included before ifdef check...
2025-01-05 14:38:29 +01:00
fab79016fb Fix a shadowing warning 2025-01-05 14:01:36 +01:00
57c53bdc16 Merge tag '1.7.7' into wayland 2025-01-05 14:01:24 +01:00
3b1e483a6c [Widget] Don't use cairo_push/pop_group as it causes issues.
Seems to happen on nvidia systems, rendering to PNG surface is fine,
problem is with rendering to screen.
Hopefully this patch fixes it.

Issue: #2068
2025-01-03 22:28:49 +01:00
496101ac36 Revert "[window] Check bitmask, not full comparison"
This reverts commit 5185895643.
2025-01-03 19:48:56 +01:00
de4e10a7de [Config] Remove character data type as it aliases with string.
Internal character option will now use the first ascii char from the
string type.
2025-01-03 13:12:05 +01:00
25c1adbb2a [Theme] Fix resolving of 'rasinc' extension when no extension is given.
Was an unresolved TODO in code.

Fixes: #2069
2025-01-02 21:01:14 +01:00
d8e9a1981f Be more diligent trying to resolve -config 2024-12-31 12:00:03 +01:00
f9491690fd Use FALSE instead of false. 2024-12-29 15:10:47 +01:00
39f231b5ff Resolve -config argument identical to a -theme argument.
fixes: #2040
2024-12-29 10:34:50 +01:00
b955b9aff9 [DRun] If indicated by .desktop file, launch via dbus activation.
fixes: #1924
2024-12-29 10:26:39 +01:00
54ebfa7484 [CI] Update doxygen-coverage. 2024-12-23 14:15:48 +01:00
0a0cc5f6d7 Remove duplicated disable history code 2024-11-10 20:49:42 +01:00
2baa809d8a Merge remote-tracking branch 'upstream/next' into wayland 2024-11-06 18:51:32 +01:00
c38dc9a1d9 Re-indent recursivebrowser.c with clang-format 2024-11-04 10:12:06 +01:00
9d785b5ce1 Add -Wshadow to build system. (#2042)
* Add -Wshadow to build system.

Issue: #2036

* Take out unintended change

* [Icon] Add more descriptive variable name.
2024-10-20 12:54:13 +02:00
df7d8b65f0 [textbox] Fix aliasing variable name. (thanks to xsy420)
Issue: #2036
2024-10-18 22:01:09 +02:00
186b0e7be0 [Textbox] Use FontMetrics font height (if available) to get height 2024-10-03 17:32:53 +02:00
7402e451e2 [Theme] Fixes recursion in double_inside
fixes: #2021
2024-09-01 09:56:03 +02:00