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
Nikita Zlobin
a53daa68c4
[View|Textbox] cleanups to drawing code
2023-08-29 21:36:03 +02:00
Nikita Zlobin
9b2b52b13e
Clip text with extents rectangle
...
Fonts are not ideal, some characters have mismatch between reported and
painted size.
2023-08-27 21:10:00 +02:00
Nikita Zlobin
82f9605c30
widget_draw: clean useless calls in corner drawing
...
Signed-off-by: Dave Davenport <qball@gmpclient.org>
2023-07-24 22:56:00 +02:00
Nikita Zlobin
45688b0a53
Fix border segments stitch
...
Signed-off-by: Dave Davenport <qball@gmpclient.org>
2023-07-24 22:56:00 +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
b68f64ccee
Small memory leaks fixed and other cleanups.
2023-04-21 12:50:55 +02:00
Dave Davenport
c1f63350f4
Fix to pointless or's.
2023-03-26 23:37:44 +02:00
Dave Davenport
bb5868199f
Re-indent the code using clang-format
2023-03-26 13:19:58 +02:00
notuxic
c870d512ff
Add support for adding textbox widgets to listview elements ( #1792 )
...
* Add support for adding textbox-widgets to listview entries
* Add support for adding icons and buttons to listview elements
2023-03-05 11:17:25 +01:00
Dave Davenport
a5bd8bc630
[Textbox] cairo_save/restore does not store path.
...
Fix by moving cairo_move_to to after blink.
Also fix drawing outline.
2023-02-23 15:14:49 +01:00
Dave Davenport
6caece77d4
I785 ( #1789 )
...
* [Textbox] Add history to the entrybox.
* [Textbox] Add comments and move into sub functions.
* [doc] Add conflicting constraint section to manpage.
* [Script] Some small memory leak fixes.
* [Entry History] Add documentation.
fixes : #785
2023-01-22 17:25:17 +01:00
Dave Davenport
a20f8280a7
[Textbox] Replace 'space' with a space
...
Issue: #1784
2023-01-18 09:25:39 +01:00
vE5li
8155b2c476
draw text after cursor ( #1777 )
2023-01-16 18:59:37 +01:00
Dave Davenport
727d7c579d
Update copyright dates.
2023-01-14 13:02:35 +01:00
Dave Davenport
d47b1515b5
[listview] Don't calculate infinite rows on empty height.
...
Issue: #1769
2022-12-29 18:41:51 +01:00
Dave Davenport
09b9039718
[Theme] Move some definitions header around for plugin.
2022-12-24 11:46:03 +01:00
Dave Davenport
3d73cf2554
[Textbox] Cursor goes over, not under. allow cursor outline.
2022-12-23 22:11:22 +01:00
Dave Davenport
0ff6ff21c3
[Textbox] Add text-outline to style
2022-12-23 13:38:09 +01:00
vE5li
23de9e9d2c
make cursor more customizable by adding cursor-width and cursor-color ( #1753 )
...
* make cursor more customizable by adding cursor-width and cursor-color to the theme
* fix placeholder color
* add doc entry
* more documentation
2022-11-25 10:28:34 +01:00
Dave Davenport
063195922f
[DMenu] Add -ellipsize-mode option.
2022-11-19 21:03:22 +01: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
Dave Davenport
c6ba962673
[listview] Set ellipsize mode on creation of textbox
...
So if rows are added, they behave correctily.
Issue: #1746
2022-11-18 08:46:16 +01:00
Dave Davenport
62ebb863ed
[Textbox] Add a 'get_cursor_x_pos' function.
2022-10-27 22:22:11 +02:00
lbonn
d44b81e778
Merge remote-tracking branch 'upstream/next' into wayland
2022-10-05 18:49:54 +02:00
Dave Davenport
858d6c030c
[listview] Add extra checks before resolving pointer.
...
Issue: #1703
2022-09-10 17:42:49 +02:00
Dave Davenport
fce721a105
[Textbox] Add 'placeholder-markup' flag.
...
Fixes : #1690
2022-08-28 21:47:05 +02:00
lbonn
4e833a4ec4
Merge tag '1.7.4' into wayland
2022-08-24 00:05:02 +02:00
Dave Davenport
77af850200
[textbox] Implement text-transform add upper/lower/capitalize transform
...
fixes : #1010
2022-07-30 14:50:05 +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
lbonn
853c8c9af3
Merge remote-tracking branch 'upstream/next' into wayland
2022-07-16 12:37:31 +02:00
Dave Davenport
8ee05a718e
[View] Add textbox-current-entry widget.
2022-06-27 16:56:59 +02:00
Dave Davenport
b891ffa2b3
[Textbox] Try to fix pango alignment
2022-05-30 19:21:31 +02:00
Dave Davenport
69387d6336
[Textbox] Set pango align based on horizontal-align
2022-05-27 11:10:13 +02:00
Dave Davenport
f5fce95330
[ #1079 ]: Option to hide listview elements when not filtered ( #1622 )
...
* [listview] Optional don't show elements when not filtered (#1079 )
* [Listview] Fix auto-complete error.
2022-04-20 23:24:52 +02:00
Dave Davenport
e2a7cfdd52
[DMenu] Huge list speedups ( #1621 )
...
* Don´t refilter on each key-press.
* Make sure refiltering is not completely starved.
* Force refilter before accepting entry
* Go into 'timeout' refilter mode only after certain # elements.
* [DMenu] threading with getdelim to speed up reading.
* [View] Remove debug output.
* [dmenu] Fix pre-read.
* [DMenu] Make sure that async mode cannot block
* Remove mutex for IPC via pipes.
* [Dmenu] Small cleanup.
* [Scrollbar] Fix scrollbar overflowing on big lists.
* Fix stack overflow by creating to many filter jobs.
* [Doc] Add new option to manpage
2022-04-20 21:53:44 +02:00
lbonn
1e8c22b4a0
Merge remote-tracking branch 'upstream/next' into wayland
2022-04-17 11:19:36 +02:00
Dave Davenport
f088d75ee4
Cleanup some duplicate checks.
2022-03-15 01:00:56 +01:00
Dave Davenport
47d785758a
[listview] Allow settings of flow direction of elements ( #1605 )
...
* [Listview] Initial implementation for left to right packing.
* [Listview] fix movement in pack-left-to-right.
* Add element-next/prev keybinding and remap tab.
* [Listview] Change option name to 'flow' and use rofi orientation type.
* [Listview] Make listview work with reverse property.
* Update test for 2 new keybindings.
fixes : #1058
2022-03-07 20:37:58 +01:00
Dave Davenport
eff3b86c94
Bump copyright date.
2022-02-07 23:17:15 +01:00
Jakub Jirutka
d34e827dd0
Merge tag '1.7.3' into wayland
2022-01-29 20:53:22 +01:00
Dave Davenport
85c6545a43
Merge List and Array type into one. ( #1572 )
...
* Merge list and array into one.
* [Lexer] Only use string without " in list
* Some cleanups
* Cleanups based on feedback.
2022-01-25 09:57:59 +01:00
Jakub Jirutka
6e3feee179
Add support for setting tabs stops on textboxes ( #1571 )
...
* Document new array of values type
* Move WIDGET_PADDING_INIT from widget.c to widget-internal.h
* Refactor WIDGET_PADDING_INIT macro
* Add support for setting tab stops on textbox
This allows to emulate a multi-column layout inside the text boxes.
The implementation is kinda hackish due to the limitations of the theme
parser. The only property type that can contain multiple distance values
is Padding, so I used that.
* Use new array syntax for tab-stops
2022-01-24 22:20:41 +01:00
Dave Davenport
dac09b8728
Cleanups based on cppcheck.
2021-12-01 13:14:36 +01:00
lbonn
fd68f97fe7
Merge tag '1.7.1' into wayland
2021-11-28 15:50:59 +01:00
Quentin Glidic
bde8175d39
gitmodules: Update libnkutils
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2021-10-28 06:33:12 +00:00