Commit graph

3570 commits

Author SHA1 Message Date
lbonn
70efa84f9b Merge remote-tracking branch 'upstream/next' into wayland 2021-10-25 20:14:21 +02:00
lbonn
9f0f97a8d9 [Doc] update note about x-offset/y-offset 2021-10-16 13:03:19 +02:00
Jakub Jirutka
e963c3174a [Wayland] Implement partial support for offset properties on window
...using zwlr_layer_surface_v1::set_margin. It's only partial because
surface margin has effect only when the the window is located on edge of
the screen, not in center. Also the anchor property is not implemented,
the anchor point is always the edge of the window corresponding to the
location property.
2021-10-16 12:54:27 +02:00
Dave Davenport
06bb72d39b [DMenu] Do not crash when no entry is available.
Issue: #1504
2021-10-16 01:39:21 +02:00
sporif
083a88fa39 Fix cursor size
Default to a size of 24 pixels
Use the environment variable XCURSOR_SIZE if it's set
2021-10-15 13:57:01 +02:00
Jakub Jirutka
97953eddd4 [Doc] Add repology versions badge to INSTALL 2021-10-13 11:12:35 +02:00
Dave Davenport
ec7aa09f0a [DOC] Fix key names in theme location name. 2021-10-12 22:47:40 +02:00
Dave Davenport
ccaaaf6a46 [RUN|DRUN] Only initialize file-completer on first use. 2021-10-12 13:35:00 +02:00
Dave Davenport
e3860c89e8 [FileBrowser] Reduce number of re-allocs. 2021-10-12 10:34:47 +02:00
Dave Davenport
6ec5bfba64 [Config] Downgrade unknown options from error to warning. 2021-10-09 18:28:55 +02:00
Dave Davenport
13d9971d39 [Doc] Update link to pango markup.
Issue: #1496
2021-10-08 20:14:14 +02:00
Dave Davenport
419d676fbe [Build] Remove generating of README.html and bundling.
Issue: #1495
2021-10-08 20:05:40 +02:00
Jakub Jirutka
2025b73ec2 [Meson] Fix version in rofi.pc again
rofi.pc: pkgconf version 1.7.0+wayland1 is invalid
2021-10-04 10:00:43 +02:00
lbonn
197611e7ad README: mention swayr 2021-10-01 19:40:16 +02:00
lbonn
46fdac5224 Set version to -dev 2021-10-01 19:26:18 +02:00
lbonn
b2304c793b 1.7.0+wayland1 2021-10-01 19:16:10 +02:00
Dave Davenport
1520a4a5cd [DOC] Fix typo 2021-10-01 15:43:48 +02:00
lbonn
2630ef8ef0 [CI] Polish
* use recent meson with .gitattributes
* add release upload
* build with different flag combinations
2021-10-01 00:51:02 +02:00
Omar Zeghouani
65c6ec68fe ci: generate tarballs 2021-09-30 23:47:53 +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
Quantum
06da4cf24c Implement async clipboard support for Wayland
This uses GIOChannels and the Glib event loop to read the file descriptor
in an asynchronous fashion.
2021-09-30 21:27:34 +02:00
Jakub Jirutka
42039e34db [Doc] Fix link to INSTALL.md in README.md 2021-09-28 18:44:56 +02:00
Jakub Jirutka
f54b1f2a39 [Doc] Update badges for this fork 2021-09-28 18:44:56 +02:00
lbonn
31cf9feb69 [Doc] Update some wayland-specific information
* re-organize dropped features list
* add a list of user-maintained packages
2021-09-28 16:09:15 +02:00
Jakub Jirutka
05a5c61590 [Meson] Fix version in rofi.pc
rofi.pc: pkgconf version 1.7.0-wayland is invalid
2021-09-28 09:10:52 +02:00
Dave Davenport
3b81f639e7 [Lexer] Fix regex for env() 2021-09-24 10:31:23 +02:00
Dave Davenport
76a271570d [Lexer] Add _ to environement variable.
Fixes: #1475
2021-09-24 10:22:16 +02:00
Dave Davenport
324cbd7746 [DMenu] Fix uninitialized memory (nonselectable). 2021-09-23 10:22:19 +02:00
Dave Davenport
e081feec27 [FileBrowser] if text cannot be converted, try to mangle it into something.
Issue: #1471
2021-09-22 19:08:32 +02:00
Dave Davenport
e116aa5bc1 [Textbox|FileBrowser] Fix crash on invalid filename
Try to fix some crash on invalid filenames.

Issue: #1471
2021-09-22 15:45:02 +02:00
Dave Davenport
0e70d8a5c9 [Config] Add 'in your face' error message about deprecated theme setting.
Issue: #1468
2021-09-21 12:51:57 +02:00
Dave Davenport
4face975a9 [Theme] Print known colors as color name.
When printing look if the set color has a known color name, print this.
2021-09-20 19:57:12 +02:00
Dave Davenport
abe4d2d85e [Doc] Fix layout image. 2021-09-20 06:56:34 +02:00
Dave Davenport
af3464a1c3 [Window] Lower class name before icon lookup 2021-09-15 18:10:22 +02:00
lbonn
a97ba40bc7 Require wayland-protocols >= 1.17
Required for X11 clipboard support
2021-09-15 00:23:25 +02:00
Dave Davenport
ca47ffee9c [Helper] Don't tell g_utf8_strlen to ignore length.
Fixes: #1459
2021-09-13 11:26:48 +02:00
Dave Davenport
ff022f8940 [DOC] Add default theme loading to rofi-theme manpage. 2021-09-12 19:59:36 +02:00
Dave Davenport
b9e28942bf [CMD] If failed to convert commandline option to new config do not stop.
Fixes: #1425
2021-09-08 14:20:24 +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
Dave Davenport
c10ee955bd
#1437 - Fix sizing logic for widgets and textboxes. (#1444)
* [I1437] Textbox make get_desired_width depend on width.

Should fix some weird sizing issues on creation of widgest.


* [i1437] [View] Do the sizing based on the desired window width.

issue: #1437

* [i1437] Fix header documentation.
2021-09-07 19:40:07 +02:00
Dave Davenport
f4e5fd328a Revert "[I1437] Textbox make get_desired_width depend on width."
This reverts commit 154e03efc1.
2021-09-06 22:47:35 +02:00
Dave Davenport
965d3631cb Revert "[i1437] [View] Do the sizing based on the desired window width."
This reverts commit 46ac770fcc.
2021-09-06 22:47:26 +02:00
Dave Davenport
46ac770fcc [i1437] [View] Do the sizing based on the desired window width.
issue: #1437
2021-09-06 22:42:33 +02:00
Dave Davenport
154e03efc1 [I1437] Textbox make get_desired_width depend on width.
Should fix some weird sizing issues on creation of widgest.

Issue: #1437
2021-09-06 22:36:21 +02:00
Dave Davenport
294a22f3dd Fix some memory leaks. 2021-09-06 21:26:04 +02:00
Dave Davenport
c63e03fd49 [Window] Try to fix the autosizing of desktop name for non-i3 dekstop.
Issue: #1439
2021-09-06 20:32:36 +02:00
lbonn
2a68677b6a Initial clipboard support for wayland
Using wl_data and primary_selection protocols
2021-09-06 15:34:53 +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