Commit graph

341 commits

Author SHA1 Message Date
Edward Betts
79adae77d7 Correct spelling mistakes. (#722) 2017-11-23 18:41:52 +01:00
Dave Davenport
9cd1e3fac2 Indent 2017-11-07 20:04:07 +01:00
Dave Davenport
d9def87930 Allow height to be specified on window.
Fixes: #718
2017-11-06 20:49:26 +01:00
Dave Davenport
1dccdb302e Remove color from prompt, can be added in theme now.
fixed: #637
2017-10-30 21:40:13 +01:00
Dave Davenport
9ae62960c1 Indent files. 2017-10-05 17:45:50 +02:00
Dave Davenport
91d88b1fd1 Rename tokenize to helper_tokenize 2017-10-01 10:51:02 +02:00
Dave Davenport
ff4946edaf Cleanup compiler warnings.
- Unused var.
- Missing switch statement.
- Change fallthrough for older compilers.
2017-09-17 18:17:26 +02:00
Dave Davenport
acfc07a63e Fix Inherit keyword 2017-09-07 13:46:09 +02:00
Dave Davenport
50998b8f04 Flatten hierarchy, don't inherit by default.
* add keyword inherit to language parser and theme structure.
2017-09-06 10:03:44 +02:00
Dave Davenport
508e39c3f3 Set cursor to end of input field.
Fixes: #662
2017-08-29 10:40:24 +02:00
Dave Davenport
3c52f15140 Move more enums to rofi-types.h 2017-08-18 11:38:54 +02:00
Dave Davenport
7b57985203 Add wid:{window id} to monitor option.
- By specifying the window id, rofi will assume that window to be the
monitor (for placing.)
 - syntax: wid:{monitor id}

Issue: #632
2017-07-12 12:27:45 +02:00
Dave Davenport
5996303c08 Convert old location format into new, so we are compatible again.
Fixes: #630
2017-07-11 19:41:24 +02:00
Dave Davenport
d82231d0df Correctly switch to other RofiViewState.
* Triggers when error message occurs on handling action.
 * Reproducable with broken drun file. (give a non-existing path)
2017-07-05 00:14:28 +02:00
Dave Davenport
3556f65198 Update DPI value once auto-detected. 2017-06-26 20:14:51 +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
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
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
f102ed7295 Center align sidebar buttons by default. 2017-06-11 19:23:18 +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
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
9a62bfd172 Run indenter. 2017-06-03 20:35:50 +02:00
Dave Davenport
684211aba4 [View] Remove extra return. 2017-06-03 20:33:30 +02:00
Quentin Glidic
0adc0d7c08
view: Always create textbox with type
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-03 20:04:21 +02:00
Dave Davenport
a2620745e2 Fix sidebar in stock theme and sidebar button clicking 2017-06-03 19:56:02 +02:00
Dave Davenport
8b7ceb9286 Fix textview clicking. 2017-06-03 18:34:26 +02:00
Dave Davenport
4bd9828aa7 Remove index from box_add. 2017-06-02 16:53:39 +02:00
Dave Davenport
1d622aa59c Change ThemeHighlight to RofiHighlightColorStyle 2017-06-02 16:46:28 +02:00
Dave Davenport
ea7d20d150 Change Orientation enum to RofiOrientation. 2017-06-02 16:34:52 +02:00
Dave Davenport
9915857a2e Change Distance struct to RofiDistance. 2017-06-02 16:25:47 +02:00
Dave Davenport
48bf1709b6 Rename HL_ to ROFI_HL_ and fix box test. 2017-06-02 16:09:20 +02:00
Dave Davenport
eec5c6eadc Add orientation property. 2017-06-02 14:05:19 +02:00
Dave Davenport
85b6e32158 Merge remote-tracking branch 'origin/master' into barview 2017-06-01 18:54:30 +02:00
Quentin Glidic
48a80e3f82
display: Introduce display.h
The API is meant to be neutral to fit any display backend.

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-01 15:06:57 +02:00
Dave Davenport
cdc8e462b8 Merge remote-tracking branch 'origin/master' into barview 2017-06-01 14:20:36 +02:00
Quentin Glidic
93cb04e30f
xcb: Move (most) event handling to xcb.c
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-01 13:30:29 +02:00
Quentin Glidic
4792a16593
xcb: Hide release details
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-01 13:26:31 +02:00
Quentin Glidic
2b6c084f32
textbox: Fix appending more than one character
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-01 13:26:19 +02:00
Quentin Glidic
a8aac87bb0
xcb: Move GWater source in xcb.c
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-01 11:44:21 +02:00
Quentin Glidic
9b58a9bc31
xcb: Move more stuff to xcb.c
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-01 00:39:11 +02:00
Quentin Glidic
46dee2671d
x11-helper: Rename xcb.c
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-01 00:12:58 +02:00
Quentin Glidic
52aac6d3b6
gitmodules: Update libnkutils
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-31 20:26:12 +02:00
Quentin Glidic
ac8868f3b1
Indent icon code rework
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-31 20:21:58 +02:00
Dave Davenport
d8b0e24b09 Merge remote-tracking branch 'origin/master' into barview 2017-05-31 11:18:30 +02:00
Dave Davenport
4d8784cf85 Port fixes from icon-cleanup branch.
- Thread for fetching icons for drun.
- Fixed placing of icons instead of adding place-holder token that can
  mis-render.
- Give textbox TB_ICON flag.
2017-05-31 11:05:45 +02:00
Quentin Glidic
fb37aaa70d
view: Use \uFFFC character as icon placeholder
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-30 19:01:01 +02:00
Aaron Ash
43053cdfc3
view: Add icon (basic) support 2017-05-30 19:00:57 +02:00