Dave Davenport
191f49dbea
[LISTVIEW] Support more customization in element.
2020-05-13 17:17:15 +02:00
Dave Davenport
f2b6cf6b3c
[Widget] Propaget set_state to children.
2020-05-13 16:25:12 +02:00
nick87720z
8a2e67f6fe
workaround for #303 ( #1122 )
...
* workaround for #303
Subpixel rendering may be disabled by some clip paths or when text
itself is clipped.
* optimize draw_pango_layout()
2020-05-12 12:05:56 +02:00
Dave Davenport
2ccc65ff52
Add some ui benchmark code
2020-05-12 10:40:50 +02:00
Dave Davenport
865821f829
Update help for option in source code.
2020-05-10 15:47:20 +02:00
Dave Davenport
1a9e6450e3
[Helper] Throw error when shell parsing fails.
2020-05-04 14:10:35 +02:00
Dave Davenport
86cdcae55b
[Window] Update manpage and --help.
2020-04-29 12:59:49 +02:00
Dave Davenport
9a3d4b1d2e
[Test] Fix compiler warning, theme test (bug in lexer) and more.
2020-04-26 11:43:14 +02:00
Dave Davenport
151547a99e
[Themes] add calc() support to distance in theme format. ( #1105 )
...
* Initial test to allow math in distances.
Support + and -
Needs spaces around + and -.
* [THEME] Fix printing theme with math in distance.
* [Theme] use calc() syntax.
* [Theme] Add * and / to calc().
* [Theme] Fix the precedense ordering in parsing. Also avoid making copies.
* [Theme] Don't print unneeded ().
* [Theme] Add modulo to calc.
2020-04-24 19:54:08 +02:00
Dave Davenport
906b520daf
[Script] Add no-custom mode.
2020-04-22 23:41:25 +02:00
Jaakko Luttinen
ccfecef936
fix xetc to config_path ( #1097 )
2020-04-19 19:07:58 +02:00
Dave Davenport
ed55b6c634
check before xresource config file parsing if it exist
2020-04-19 16:24:17 +02:00
Dave Davenport
e7554da627
Parse XDG_CONFIG_DIRS for default configuration file.
2020-04-19 11:55:53 +02:00
Dave Davenport
3a9c60804b
Add ROFI_PLUGIN_PATH environment variable.
2020-04-19 11:34:28 +02:00
Dave Davenport
3e64e4422d
[DMenu] Implement -keep-right
...
Fixes : #1089
2020-04-16 23:31:43 +02:00
Dave Davenport
1104d1d53a
[DRun] cleanup debug message.
2020-04-15 19:08:01 +02:00
Dave Davenport
0214d5a6e4
[DRun] Adding %% as escape character.
2020-04-15 19:06:39 +02:00
Dave Davenport
7587149950
[Script] Update example and doc.
2020-04-07 13:20:16 +02:00
Dave Davenport
de38e0f4a9
[Script|Dmenu] Don't -1 in a unsigned variable.
2020-04-07 13:14:53 +02:00
Dave Davenport
34a278f943
[Combi] Remove strchrnull
...
Issue: #1083
2020-04-07 12:48:53 +02:00
Dave Davenport
f63da72ea6
[Dmenu] Fix possible crash.
...
Don't pass empty string.
Issue: #1083
2020-04-06 23:31:45 +02:00
Dave Davenport
825fe4ae58
[Script] Fix crash when custom input with custom keybinding.
2020-04-05 13:19:22 +02:00
Dave Davenport
bacecf3044
[Script] Add environment variable to indicate state.
...
* ROFI_RETV shows the state rofi was in before calling rofi.
2020-04-05 12:56:33 +02:00
Dave Davenport
5879fd6099
[Script] Free g_shell_parse result.
2020-04-05 11:48:03 +02:00
Dave Davenport
aa07b8ef94
[Script] Add option to set deliminter and example script.
...
Issue: #1041
2020-04-01 13:58:01 +02:00
Dave Davenport
8be08007f8
[Textbox] Round estimated size up.
2020-03-31 14:05:12 +02:00
Dave Davenport
c6a405e840
Fix hack for height calc.
2020-03-30 00:09:28 +02:00
Dave Davenport
ca067234ff
[Textbox|Listview] Fix sizing of textbox.
...
- don't get height of layout, but calculate height using metrics.
- listview, set string with right number of lines.
Issue: #925 , #1069
2020-03-29 16:31:47 +02:00
Dave Davenport
d8a0f540f0
Add selected-row option to normal operation.
2020-03-29 12:56:47 +02:00
Dave Davenport
e0e6c5e670
Fix detection no theme.
2020-03-02 12:21:34 +01:00
Dave Davenport
333d71af11
[IconFetcher] Do faster scaling.
2020-02-14 14:37:41 +01:00
Dave Davenport
855d09ded7
[IconFetcher] Add jpeg support, scale on load.
...
TODO: fix scaling speed.
2020-02-14 14:27:03 +01:00
Dave Davenport
3bf9d3d3b1
[Script] Reload dialog, on selecting non-selectable item.
2020-02-13 21:32:19 +01:00
Dave Davenport
c458047ef6
[Script] Fix next dialog option.
...
Error slipped in from previous patch.
Issue: #1059
2020-02-13 21:29:02 +01:00
Dave Davenport
03775378e0
[Script] init nonselectable.
...
Issue: #1057
2020-02-13 16:52:11 +01:00
Dave Davenport
bc2e1549fb
Add rofi-script manpage, add meta option support to dmenu.
...
update ronn to go-md2man
2020-02-02 17:21:21 +01:00
Dave Davenport
7dcc3f450c
Add option to make entry non-selectable in dmenu/script.
...
Fixes : #1024
2020-02-02 14:21:29 +01:00
Dave Davenport
b169289996
Indent all the code.
2020-02-02 13:56:37 +01:00
Jeff
83c2e467d5
Add support for additional field on script entries meta
( #1052 )
...
* Add test for hidden meta data in script mode
The purpose of this is to provide support for "hidden" fields on a
script item that work for search but don't get displayed. This is
mostly to provide something similar to the optional display (but still
matchable) fields in drun like "categories" or "keywords". This also
enables the choice to display unicode icons but still allow for
searching for the keywords without needing to print them.
* Ignore the output file from test runs
* Add support for the "meta" field on script entries
This fields provides a matchable but unprinted string for entries in a
script mode list match. This means you can use one thing but provide
multiple options that can match that item without polluting the list
view or make confusing output.
* Add new test to test suite file
2020-02-01 13:49:11 +01:00
Dave Davenport
a35a898816
[DRun] Add desktop cache
...
Add a desktop cache file. Usable for system with slow filesystems.
* -drun-use-desktop-cache
* -drun-reload-desktop-cache
Fixes : #1040
2020-01-26 12:47:04 +01:00
Dave Davenport
7a6fcb20f4
Initialize all the configuration before upgrading config.
2020-01-02 18:57:53 +01:00
Dave Davenport
25402f44eb
[Textbox] Correctly fall back to content when str is empty.
2020-01-02 16:37:24 +01:00
Dave Davenport
b4b85b2a71
[Textbox] Don't use placeholder color for cursor.
2020-01-02 13:42:14 +01:00
Dave Davenport
b44b5e8d16
Add -upgrade-config option.
...
* Print warning when old-style configuration is used.
* Add -upgrade-config option.
2020-01-02 12:00:44 +01:00
Dave Davenport
7650ed5d7a
[Listview] Small fix when distributing remaining space whith scrollbar.
2020-01-01 15:44:01 +01:00
Dave Davenport
b03edc5cf3
Update copyright dates.
2020-01-01 12:23:12 +01:00
Dave Davenport
f1a90c5d0c
[Listview] Add more debug output for debugging.
2019-12-29 21:26:41 +01:00
Dave Davenport
de89be5c95
[Listview] Make str code more explicit.
2019-12-29 21:23:26 +01:00
Dave Davenport
cd4607c77c
[Listview] Fix wrong flag set on index
2019-12-29 21:19:31 +01:00
Dave Davenport
50be2b446a
[Timings] Add extra debug.
2019-12-29 20:38:30 +01:00
Dave Davenport
40c1476855
[Listview] Fix drawing issue
2019-12-29 20:33:34 +01:00
Dave Davenport
e6bed0e5d3
[Listview] Add support for showing the (keybindable) index.
...
fixes : #1050
2019-12-29 19:04:29 +01:00
Dave Davenport
afda9cbb13
[Doc] Update theme manpage with import.
2019-12-29 17:30:53 +01:00
Dave Davenport
f3bb043df0
[Textbox] Add placeholder.
...
Fixes : #1020
2019-12-26 14:24:10 +01:00
Dave Davenport
cc71fa13b7
[Window] Remove pointless mem duplication.
2019-12-20 15:55:23 +01:00
Dave Davenport
b71f51523a
[Window] Remove arbitrary limit of 100 windows.
...
Fixes : #1047
2019-12-20 15:49:33 +01:00
Dave Davenport
e9dde8e2ac
[Doc] Update rofi-theme documentation.
...
allow `content` as alias to `str` on textbox.
2019-12-14 10:59:10 +01:00
Dave Davenport
cd06d593b2
[listview] Always do full update to update all theme elements.
...
fixes : #1032
2019-11-23 16:23:58 +01:00
Dave Davenport
c4a4243616
[Theme] Add alpha channel to highlight color.
...
Fixes: 1033
2019-11-20 11:18:53 +01:00
Dave Davenport
37121bfbe2
[ListView] Fix right-to-left scrolling in bar-view.
...
Issue: #1028
2019-11-14 13:01:49 +01:00
Dave Davenport
eb5c4bfdcc
[Box] Fix update not propagating to parent.
2019-11-07 12:44:20 +01:00
Dave Davenport
c1378e4c60
[View] Add two widgets num-rows/num-filtered-rows
...
Issue: #1026
2019-11-07 11:49:45 +01:00
Simon Legner
5f57519940
Fix typo "Csutom" ( #1025 )
2019-11-03 20:06:48 +01:00
Dave Davenport
74f7a48c4f
[Textbox] Add theme option to stop blinking.
2019-11-03 11:31:08 +01:00
Dave Davenport
aeecf34c27
[Window] Add thumbnail of windows as option.
2019-10-17 21:19:19 +02:00
Dave Davenport
8590a7ccf2
[CI] Fixing some more doxygen warnings.
2019-09-30 10:57:23 +02:00
Dave Davenport
0a0556c765
[CI] Update missing documentation.
2019-09-30 10:35:12 +02:00
Dave Davenport
8d9e403659
Update copyright.
2019-09-27 11:58:32 +02:00
Dave Davenport
7c613f6a4c
Issue893: Add support for @media in the theme format. ( #1015 )
...
* [Lexer] Add support for @media.
Issue: #893
* [Theme] @media limit to px.
* [Theme@Media] add *{} support.
* [Theme@Media] Add support for monitor-id media.
* [Theme@Media] Code cleanup.
* [Theme@Media] Add min/max-aspect-ratio.
* [Theme@Media] Remove some debug output
Fixes : #893
2019-09-20 15:05:36 +02:00
Dave Davenport
138acf6f3d
Alow buttons to be added to the UI.
...
Support:
* ok
* custom
* ok|alternate
* custom|alternate
|alternate launches in terminal.
2019-09-16 22:07:30 +02:00
Dave Davenport
c3caa20df8
[Theme] Add sidebar as alias to mode-switcher
2019-08-24 11:04:45 +02:00
Dave Davenport
aa35ecc40a
[DRun] Add keywords to match and printing.
2019-08-20 22:51:07 +02:00
qball
ad74da45d1
[Workaround] Add default icon size.
2019-08-17 22:57:05 +02:00
Dave Davenport
245ce2a95f
[Icon] Suppport distance for size.
2019-08-15 21:52:17 +02:00
Dave Davenport
85279323e6
Set window title based on mode name.
...
For dmenu allow customize with `-window-title`.
Fixes : #969
2019-08-10 12:02:49 +02:00
Dave Davenport
204008d389
[DRun] Do not run custom command in drun mode.
...
Fixes : #966
2019-08-09 20:08:41 +02:00
Dave Davenport
a42e9f869f
[DMenu] Strip pango markup when matching rows.
...
fixes : #579
2019-08-09 19:55:34 +02:00
Dave Davenport
f896146217
[DRUN] Add option to only show desktop files in certain categories
...
closes : #817
2019-08-09 19:33:23 +02:00
Dave Davenport
618d1396ee
Issue949 ( #999 )
...
* [Issue 949] Add initial split of listview row into widget tree.
Allowing better themeing.
* Remove unneeded code from textbox. allow dis. icons.
* Fix typo.
* Fix wrong widget offset in textbox.
* Fix mouse handling
* [ListView] Add 'fixed-columns' boolean option.
* [Listview] Fix inversion of option.
* [ListView] remove commented old code.
* [Textbox] Handle null pointer on desired width.
* [Listview] Fix crasher with fixed_columns and more max elements requested items.
* Add hack to get backwards compatibility for new listview structure.
* Fix the scrollbar test.
* Fix tests for theme update..
2019-08-08 20:02:20 +02:00
Keith Collister
d9eb9f25a1
Added 'rofi/themes' to paths checked for theme files ( #1001 )
2019-08-04 21:04:26 +02:00
Dave Davenport
eece00bad6
[combi|script] Add static keyword to inline get_index.
2019-07-09 09:01:35 +02:00
Dave Davenport
209fb9be18
[Script|Combi] Fix compilation warning about mixing singed and unsigned.
2019-07-06 17:04:17 +02:00
Kenneth Ho
be21fbae5d
add pythonic rows selection to -a and -u ( #985 )
2019-07-02 21:27:46 +02:00
Dave Davenport
14955e5508
[SSH] Fix wrong sizeof in read_hosts_file
2019-06-24 22:09:19 +02:00
Dave Davenport
eb0e132bcc
[Timings] Move into new debug system. ( #961 )
...
* [Timings] Move into new debug system.
* [Timings] Remove newlines.
2019-05-11 20:57:18 +02:00
qball
871ea42785
[SSH] Always initialize .port field.
2019-05-10 20:29:11 +02:00
Dave Davenport
52c5592a6f
[ListView|Textbox] Add user-settable ellipsize mode.
...
Fixes : #917
2019-05-04 11:04:54 +02:00
Dave Davenport
e7da00dbff
[DMenu] Add format option to output string stripped from pango markup.
2019-05-04 10:24:59 +02:00
Dave Davenport
4707927031
[SSH] Match lowered keywords.
...
Fixes issue: #954
2019-04-24 21:59:36 +02:00
Dave Davenport
109bc23d53
[Dialogs.SSH] Remove use of g_ascii_string_to_signed.
2019-04-20 10:46:44 +02:00
Quentin Glidic
4224614115
theme: Fix g_list_copy_deep() warning
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2019-04-19 10:10:07 +02:00
Quentin Glidic
a9dae788d1
Correctly include config.h first
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2019-04-19 09:59:53 +02:00
Dave Davenport
5b96be66ae
[View] Move overlay into the theme system instead of weird addon.
...
It is now a child in the inputbar.
Fixes : #950
2019-04-16 12:52:53 +02:00
Dave Davenport
011d92075c
[Dmenu][Script] Share some code between the two modi
2019-04-02 13:51:53 +02:00
Dave Davenport
88d987b054
[DMenu] Add icon support.
...
Same syntax as used for script mode.
Fixes : #948 #840
2019-04-02 13:12:42 +02:00
Dave Davenport
7d117886b5
Use g_ascii_string_to_signed instead of atoi in ssh, allows error
...
checking.
2019-03-29 13:50:48 +01:00
Dave Davenport
fadfae5433
[Window] Fix default value and help comment.
2019-03-29 11:24:10 +01:00
Dave Davenport
8d4b8ce5de
[Icon] Use horizontal align for x-align option.
...
Thx SardemFF7 for spotting this.
2019-03-24 12:37:27 +01:00
Dave Davenport
5b83b2ed23
Allow aligning icon
2019-03-24 10:31:13 +01:00
Dave Davenport
1a77cae593
When mode not found, show gui, not only on commandline.
2019-03-24 02:39:57 +01:00