lbonn
5596ecaca4
Merge tag '1.7.9' into wayland
2025-05-18 20:03:28 +02:00
J0hannes101
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
lbonn
cebb0fd1a7
Merge remote-tracking branch 'upstream/next' into wayland
2025-02-13 09:35:15 +01:00
Qball Cow
995cd3c048
Fix wrong pointer -replace
and small cleanup.
2025-02-09 11:00:59 +01:00
Qball Cow
f43d578264
[Textbox] Small signedness fixes for password mask code.
2025-02-08 21:37:20 +01:00
Zebra2711
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
lbonn
2baa809d8a
Merge remote-tracking branch 'upstream/next' into wayland
2024-11-06 18:51:32 +01:00
Dave Davenport
df7d8b65f0
[textbox] Fix aliasing variable name. (thanks to xsy420)
...
Issue: #2036
2024-10-18 22:01:09 +02:00
Dave Davenport
186b0e7be0
[Textbox] Use FontMetrics font height (if available) to get height
2024-10-03 17:32:53 +02:00
lbonn
070c830a92
Merge remote-tracking branch 'upstream/next' into wayland
2024-02-16 17:54:10 +01:00
vE5li
05327773d9
Fix text color when cursor-color
is set ( #1901 )
...
* Fix text color when cursor color is set
* Add comment
2023-09-27 18:23:18 +02: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
Dave Davenport
b68f64ccee
Small memory leaks fixed and other cleanups.
2023-04-21 12:50:55 +02:00
Dave Davenport
bb5868199f
Re-indent the code using clang-format
2023-03-26 13:19:58 +02: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
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
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
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
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
lbonn
853c8c9af3
Merge remote-tracking branch 'upstream/next' into wayland
2022-07-16 12:37:31 +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
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
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
lbonn
70efa84f9b
Merge remote-tracking branch 'upstream/next' into wayland
2021-10-25 20:14:21 +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
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
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
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
c64565e877
[CppCheck] Fix some shadowing variables.
2021-08-21 01:08:40 +02:00
Dave Davenport
954fc728b2
[Cleanup] Using clang-tidy
2021-08-18 01:16:45 +02:00