lbonn
d44b81e778
Merge remote-tracking branch 'upstream/next' into wayland
2022-10-05 18:49:54 +02:00
lbonn
ce950c2ad8
Wayland: Fix incomplete merge/refactor of xcb display
2022-10-05 18:42:54 +02:00
lbonn
d19e8cfe10
Reformat xcb/display.c
...
To match xcb.c upstream (954fc728b2
)
2022-10-05 18:18:35 +02:00
David Kosorin
b3c46d2d5a
Add format option to disable padding with space the "window-format" entries ( #1715 )
2022-10-03 19:13:22 +02:00
Dave Davenport
35d066efe2
[Script] Split mode string only once on :, allowing : in right part.
...
Issue: #1718
2022-10-03 16:58:45 +02:00
Dave Davenport
5185895643
[window] Check bitmask, not full comparison
2022-09-25 21:45:51 +02:00
Dave Davenport
5ae8fa5a3f
[Keyb] Add a -list-keybindings command.
2022-09-18 20:28:38 +02:00
Dave Davenport
858d6c030c
[listview] Add extra checks before resolving pointer.
...
Issue: #1703
2022-09-10 17:42:49 +02:00
Aleksei Bavshin
8995b575df
[Window] window-match-fields support for Wayland window mode
...
The only supported fields are 'title' and 'app-id' ('class') due to a
Wayland protocol limitations.
2022-09-08 09:16:24 +02:00
Aleksei Bavshin
f8c97bab98
[Window] Formatting support for Wayland window mode
...
Use `window-format` to configure lines in the Wayland Window view.
Note that only `{t}` (title) and `{c}` (class) are supported on Wayland.
It is suggested to change the format string to `{c} {t}`.
2022-09-08 09:16:24 +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
fce721a105
[Textbox] Add 'placeholder-markup' flag.
...
Fixes : #1690
2022-08-28 21:47:05 +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
Dave Davenport
0f097f2998
[DMenu] reset variable correctly so keep-selection is initially off.
...
fixes : #1686
2022-08-24 15:10:58 +02:00
lbonn
7adf0be146
Fix CI
2022-08-24 00:36:27 +02:00
lbonn
f792680b48
Merge tag '1.7.5' into wayland
2022-08-24 00:14:11 +02:00
lbonn
4e833a4ec4
Merge tag '1.7.4' into wayland
2022-08-24 00:05:02 +02:00
lbonn
f2e08e7425
wayland: fix some compiler warnings
2022-08-24 00:03:58 +02:00
Dave Davenport
09b9e32fd1
Merge remote-tracking branch 'github/next' into next
2022-08-22 21:53:30 +02:00
Dave Davenport
fc07619ac6
[View|Xcb] Add support to copy current selected item to clipboard
...
Adds control-v binding that copies it to the clipboard.
THIS ONLY WORKS WITH CLIPBOARD MANAGER!!! once rofi is closes, the data is
gone!
This needs to be tested. Documentation on this is lacking so reversed
engineered from other applications.
TODO: how do we do the SAVE_TARGETS?
fixes : #378
2022-08-22 21:44:52 +02:00
Jasper Lievisse Adriaanse
c896cbbca4
Include sys/stat.h for S_IWUSR ( #1685 )
2022-08-21 20:51:03 +02:00
Dave Davenport
f36977dee7
[View] Tweak error message and instant/delayed switching.
2022-08-21 15:52:39 +02:00
Dave Davenport
f3c1dafec2
[View] Change refilter timeout limit to be in time units (ms)
...
Issue: #1683
2022-08-21 15:47:49 +02:00
Dave Davenport
d5cd4ca32d
[Combi] Fix possible memory leak.
2022-08-21 02:57:16 +02:00
Dave Davenport
bd60a68d1c
[combi] Fix selecting entry with only bang as input.
...
Check for a space or eos.
2022-08-21 02:50:08 +02:00
Dave Davenport
89e00ebb32
[Dmenu] Add a minimum update rate for dmenu reading. ( #1681 )
...
This avoid slow loading for some weird slow spaced out input stream.
(one input every 250ms).
Not sure what use-case this fixes.
This fix does cause a noticable slow-down on very large lists.
Issue: #1680
2022-08-19 21:35:23 +02:00
Dave Davenport
a22c81c4a9
[DMenu] Strip off delimiter in sync mode.
...
Fixes : #1679
2022-08-18 10:17:24 +02:00
Dave Davenport
65b48aae4f
[View] Reduce idle delay as tradeof for cpu usage.
...
Issue: #1678
2022-08-18 00:19:42 +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
7c7fe729e6
[script] #1064 clear view on keep-selection/new-selection.
...
issue: #1064
2022-07-30 15:17:50 +02:00
Dave Davenport
9d001aaaf7
[Theme] Do a pango version check.
2022-07-30 15:05:28 +02:00
Dave Davenport
77af850200
[textbox] Implement text-transform add upper/lower/capitalize transform
...
fixes : #1010
2022-07-30 14:50:05 +02:00
Sainnhe Park
28ad6e34cf
[filebrowser] Fix st_atim undefined on macOS ( #1662 )
...
When compiling on macOS, an error message will pop up:
```
error: no member named 'st_atim' in 'struct stat'
```
This is because `st_atim`, `st_ctim` and `st_mtim` does not exist on
macOS, instead it uses `st_atimespec`, `st_ctimespec` and
`st_mtimespec`.
In this commit, 3 macros are defined to try to fix this problem.
Reference: https://github.com/hboetes/mg/issues/7
2022-07-28 18:19:39 +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
952aaae295
[DMenu] Fix completion with multi-select
2022-07-26 22:12:20 +02:00
Dave Davenport
f3064e0fee
[Script] Add new-selection option.
...
Allow you to select an entry (based on view, so might not work in combi
mode).
fixes : #1248
2022-07-24 01:08:24 +02:00
Dave Davenport
d20926abab
[window] Add an option to hide active window.
...
fixes : #1336
2022-07-24 00:52:13 +02:00
Dave Davenport
5a5d333fdf
[dmenu] Fix missing - in find_arg
2022-07-23 23:25:37 +02:00
Dave Davenport
be6fe8ac61
[Textbox] Remove the dot indicator.
...
Weird hack from dmenu that dripped through rofi code-base for multi-select.
Change it so it is just a prefix to the string of ☐ and ☑.
2022-07-23 20:21:00 +02:00
Dave Davenport
7bd77684db
[Textbox] Fix multi-select dot placement.
2022-07-23 00:55:59 +02:00
Dave Davenport
0e90fb065f
[Build] Fix some compile warnings.
2022-07-23 00:28:55 +02:00
Dave Davenport
af976c3779
[XCB] Add a flag to enable work around for #611 .
...
In issue #611 there is a workaround implemented for an issue within
xserver: https://bugs.freedesktop.org/show_bug.cgi?id=104323#c1 ,
https://gitlab.freedesktop.org/xorg/xserver/-/issues/300 .
With a latest update in xkeyboard-config this workaround breaks rofi,
see #1642 and
https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/-/issues/341 .
This commits disabled this work-around (can be re-enabled with
-xserver-i300-workaround flag).
Hopefully this restores correct rofi functionality.
issue: #611 #1642
2022-07-19 15:50:42 +02:00
Dave Davenport
52f587a191
[IconFetcher] Add support for font rendering as icon.
...
Issue: #1132
2022-07-16 13:13:29 +02:00
lbonn
853c8c9af3
Merge remote-tracking branch 'upstream/next' into wayland
2022-07-16 12:37:31 +02:00
Dave Davenport
386877dd22
[Theme] Add enabled property with env support.
2022-07-15 23:28:57 +02:00
Dave Davenport
daf3127d3a
[Script] Add keep-selection flag that keeps the current selection.
...
Fixes : #1064
2022-07-09 14:12:28 +02:00
Dave Davenport
96027decd9
[Debug] Add a '-log' flag.
2022-07-08 22:53:07 +02:00
Dave Davenport
f3634d4ff3
[XCB] Try to correct for rotated monitors.
2022-07-08 22:04:06 +02:00
Dave Davenport
c37186a911
[Options] explicitely mark offset deprecated.
2022-07-02 20:55:16 +02:00