Commit graph

2553 commits

Author SHA1 Message Date
Dave Davenport
ee9f5f71c1 [TextBox] Remove dead (commented code) 2017-06-26 20:14:31 +02:00
Dave Davenport
03d6ac4de3 Run indenter. 2017-06-25 20:25:17 +02:00
Dave Davenport
ea4328b921 [DRun] Add a small thread-pool for fetching icons. 2017-06-25 20:24:26 +02:00
Quentin Glidic
b9097dc488
drun: Preload icon themes
This will allow multi-thread icon loading.

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-25 20:12:35 +02:00
Quentin Glidic
ef88423445
gitmodules: Update libnkutils
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-25 01:32:08 +02:00
Dave Davenport
32639b75ce [Test] Fix reference file 2017-06-24 13:14:25 +02:00
Dave Davenport
51e4361552 [Travis] Add randr dependency. 2017-06-24 12:58:16 +02:00
Dave Davenport
e28b038d62 Check user data dir when looking for theme.
- set default textbox color to black.
2017-06-22 08:54:29 +02:00
Quentin Glidic
8f8c43e50d
xcb: Support back some weird X11 feature
Namely, key redirects, that play with the modifiers state at the
KEY_PRESS level.

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-22 08:35:21 +02:00
Dave Davenport
69d32164c9 Fix test building. 2017-06-21 19:18:57 +02:00
Dave Davenport
77a4d97262 Add -dump-config option. 2017-06-21 08:19:47 +02:00
Dave Davenport
9af191de26 Fix tests by splitting types name into separate file. 2017-06-20 21:02:13 +02:00
Quentin Glidic
4d813a5391
gitmodules: Update libnkutils
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-20 20:52:59 +02:00
Dave Davenport
da00848416 Do better error reporting on configuration entries in rasi format. 2017-06-20 18:10:18 +02:00
Dave Davenport
8375fbb513 Support a config.rasi configuration file in the new format 2017-06-20 17:56:27 +02:00
Quentin Glidic
dc2d85cf9f
gitmodules: Update libnkutils
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-20 15:12:44 +02:00
Quentin Glidic
2d96f94878
meson: Generate pkg-config file
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-20 14:57:34 +02:00
Dave Davenport
252d89a1b8 Add Pop-Dark theme. 2017-06-19 09:30:38 +02:00
Dave Davenport
10e6c333bc Create CODE_OF_CONDUCT.md (#608) 2017-06-17 13:20:34 +02:00
Rasmus Steinke
799ace6dfd include more terminals and remove duplicates 2017-06-15 15:26:12 +02:00
Dave Davenport
22aacb8f94 Add extra check for rofi_theme_parse_prepare_file 2017-06-14 16:19:17 +02:00
Dave Davenport
c851134411 [X11Helper] Add extra debug output when determining target monitor. 2017-06-14 08:26:53 +02:00
Dave Davenport
32f67ab5a5 Add list property test, allow empty lists. 2017-06-14 08:18:59 +02:00
Dave Davenport
8f035bf919 Add extra checks so widgets do not get added twice. 2017-06-14 07:54:20 +02:00
Dave Davenport
02ef2f41ef Extend list of printable properties names to include list and orientation. 2017-06-13 21:42:03 +02:00
Dave Davenport
6e5e21b66d Initialize all fields in hsl_to_rgb conversion 2017-06-13 10:41:58 +02:00
Dave Davenport
a3c1ff7d94 [helper] Fix type issue with variadic function.
*
https://www.securecoding.cert.org/confluence/display/c/DCL11-C.+Understand+the+type+issues+associated+with+variadic+functions
2017-06-13 10:16:40 +02:00
Quentin Glidic
3061980741
gitmodules: Update libnkutils
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-12 14:18:08 +02:00
Dave Davenport
1b3ce23b80 Add missing null statement for fallthrough 2017-06-12 08:53:16 +02:00
Dave Davenport
26d9da7263 Position the overlay in the top right corner of the listview. 2017-06-12 08:17:28 +02:00
Dave Davenport
c53e6cc20c Make the compiler STFU about desired fallthroughs.
* https://dzone.com/articles/implicit-fallthrough-in-gcc-7
2017-06-12 07:47:44 +02:00
Dave Davenport
5d3f69ff69 Fix param 2017-06-11 20:06:07 +02:00
Dave Davenport
f102ed7295 Center align sidebar buttons by default. 2017-06-11 19:23:18 +02:00
Quentin Glidic
19a2d37df3
gitmodules: Update libnkutils
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-11 18:39:26 +02:00
Dave Davenport
067544120f Make function declaration match function prototype.
- Extra NULL check.
2017-06-09 09:18:17 +02:00
Dave Davenport
b99f86f341 Require->Require.private in pkg-config file 2017-06-08 09:00:31 +02:00
Dave Davenport
4547078f16 Add glib-2.0 and cairo as dep to the rofi.pc file. 2017-06-08 08:52:24 +02:00
Dave Davenport
ad91f9a124 [TextBox] Calculate yalign based on actual side, not estimated size. 2017-06-08 08:46:16 +02:00
Dave Davenport
47c7518656 Fix parsing old themes from rofi-themes repo. 2017-06-07 20:41:43 +02:00
Dave Davenport
9fe67c1822 [TextBox] Remove TB_LEFT/CENTER/RIGHT replace with xalign/yalign. 2017-06-07 20:16:14 +02:00
Dave Davenport
8c27289d95 Support empty strings as property. 2017-06-07 13:28:43 +02:00
Quentin Glidic
6e1178c4a8
test: Update reference dump
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-07 12:55:50 +02:00
Quentin Glidic
726d940eca
drun: Use the requested icon size for lookup
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-07 12:49:20 +02:00
Quentin Glidic
9b3a60928f
drun: Re-remove the context limitations for icon lookup
Some applications use Devices, Status or even Actions icons.

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-07 12:42:54 +02:00
Quentin Glidic
3067f67fd1
drun: Use Adwaita and gnome as fallback themes
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-07 12:41:09 +02:00
Dave Davenport
07076d154a Load theme-str after loading fallback themes.
* If no theme loaded, try converting old theme.
 * If still no theme loaded, try default theme.
 * Then load modifications (theme-str option)
2017-06-07 07:53:33 +02:00
Dave Davenport
d33edaf09d [View] Do not set rofi fullheight when num lines eq 0 2017-06-06 17:49:24 +02:00
Dave Davenport
2a18a46b24 [View] Update sidebar buttons when we have no prompt. 2017-06-06 09:40:56 +02:00
Dave Davenport
a399adfa38 [TextBox] Fix centering with large padding 2017-06-06 09:28:36 +02:00
Dave Davenport
27d1da76b1 [TextBox] Fix yalign for cursor and icon. 2017-06-06 09:09:57 +02:00