Dave Davenport
9a363b3ecb
Fix switchign between switchers.
2016-01-20 23:25:50 +01:00
Dave Davenport
1e57dd40e1
Try to force propper showing of rofi.
2016-01-20 23:08:19 +01:00
Dave Davenport
984257fffc
Very dirty first attempt at glib mainloop in switcher (not yet dmenu.)
2016-01-20 20:57:26 +01:00
Dave Davenport
4b7a29a26f
Take SardemFF7 feedback on putting g_source_[attach|add_callback] inside factory.
2016-01-20 19:12:17 +01:00
Dave Davenport
874f587021
Merge remote-tracking branch 'origin/master' into glib-loop
2016-01-20 19:11:00 +01:00
Dave Davenport
784244a35b
Remove unused timeout function.
2016-01-20 19:10:19 +01:00
Dave Davenport
d9ac267960
Merge remote-tracking branch 'origin/master' into glib-loop
2016-01-20 18:57:41 +01:00
Dave Davenport
eadf455c8c
Let DMenu mode reuse open dialog and not restart it. handy for multi-select.
2016-01-20 18:50:33 +01:00
Dave Davenport
d0716efe12
Refactor menu function into three parts, setup, itterrate and finalize.
2016-01-20 18:24:31 +01:00
Dave Davenport
70c1012e91
Bind the right signal (int not term)
2016-01-19 08:10:17 +01:00
Dave Davenport
42ee408d0f
Move X11EventSource into separate file.
2016-01-18 22:02:07 +01:00
Dave Davenport
6692f36423
SardemF77 input.
2016-01-18 21:43:33 +01:00
Dave Davenport
80a6aa4549
Test a first glib mainloop.
2016-01-18 20:51:35 +01:00
Dave Davenport
cc682f107b
Update display value for modi (testing)
2016-01-12 22:18:10 +01:00
Dave Davenport
13810d5911
Add experimental 'password' mode. ( #315 )
2016-01-10 13:10:44 +01:00
Dave Davenport
c6a9de8c4a
Use snprintf instead of sprintf
2016-01-09 19:25:03 +01:00
Dave Davenport
d7dab65e5b
Making widget class, moving stuff around
2016-01-09 16:22:09 +01:00
Dave Davenport
dc8fb4f202
Start making SardemFF happy. Use g_return_if_fail
2016-01-08 09:16:59 +01:00
Dave Davenport
fa51aeb484
More splitting and abstracting.
2016-01-07 21:27:20 +01:00
Dave Davenport
e8daff0f6a
First cleanup steps.
2016-01-07 19:47:37 +01:00
Dave Davenport
51b5511017
More doxygen sugar.
2016-01-07 16:01:56 +01:00
Dave Davenport
b59552003e
More doxygen sugar
2016-01-07 13:32:33 +01:00
Dave Davenport
70dd6e2cef
Replace code we should never hit by an assert, as it should be.
2016-01-05 21:46:05 +01:00
Dave Davenport
d661a515f0
Make levenshtein sort utf8 aware and obey case sensitive setting.
...
- Add tests.
- Use Glibs unichar for comparison.
2016-01-04 17:18:49 +01:00
Dave Davenport
41bd981b38
Initialize Xrm only once.
2016-01-04 07:59:30 +01:00
Jasper Lievisse Adriaanse
b2bc07e51d
Fix a crash due to overlapping arguments of memcpy(3).
...
As the use of memcpy(3) on overlapping memory regions is strictly undefined,
OpenBSD's memcpy(3) triggers an abort in such cases.
2016-01-03 21:20:24 +01:00
Jasper Lievisse Adriaanse
043a67d062
Workaround lack of sigwaitinfo() on OpenBSD.
2016-01-03 20:49:13 +01:00
Dave Davenport
bd3d472bec
Add optional config file that overrides local Xresources
...
Rofi will look at XDG_CONFIG_USER_DIR/rofi/config and load this after the Xresources db on DISPLAY.
This can be overridden using the -config commandline option.
The file should be in the same format as the Xresources file.
2016-01-03 13:30:43 +01:00
Dave Davenport
5a3c202423
Update copyright
2016-01-01 00:27:00 +01:00
Dave Davenport
745f9f3c62
Add screenshot test
2015-12-31 21:55:15 +01:00
Dave Davenport
38fabb6b1b
Issue #303 : Create one pango context from xlib surface
...
- Create one pango context and set font options from main xlib surface
- Set font type on global pango context.
- Use CAIRO_OPERATOR_OVER for drawing text (otherwise subpixel rendering is not done).
2015-12-28 11:27:27 +01:00
Dave Davenport
8b82787df6
Fix possible issue with uninitialized data
2015-12-21 23:14:56 +01:00
Dave Davenport
6760453d80
Reduce scope of index variable
2015-12-21 20:27:20 +01:00
Dave Davenport
06f9fee3f8
Add indicator for sorting/case sensitive.
2015-12-14 21:02:36 +01:00
Dave Davenport
2d354b3b3f
Re-indent
2015-12-13 19:21:06 +01:00
Dave Davenport
97fa0cc61d
Add option to set scrollbar width
2015-12-13 13:51:59 +01:00
Dave Davenport
f3c22c50e4
Add sorting switch: Issue: #298
2015-12-13 11:52:40 +01:00
Dave Davenport
bae5427913
Add option to output to specific file.
2015-12-10 20:57:43 +01:00
Dave Davenport
8ed31cab7e
Add option to dump color scheme.
2015-12-10 18:20:04 +01:00
Dave Davenport
bb39372dd3
Remove : from filename, it makes scp stupid
2015-12-10 18:00:26 +01:00
Martijn Koedam
61738f881f
Indent + ChangeLog
2015-12-09 08:58:24 +01:00
Dave Davenport
98de9b554f
Add screenshot keybinding.
2015-12-09 08:51:40 +01:00
Dave Davenport
c4f3cbd2b1
Tweak selected row color. #293
2015-12-04 23:57:08 +01:00
Dave Davenport
273d09ba1a
Fix crasher on empty list
2015-12-04 22:01:32 +01:00
Dave Davenport
d2d95d2d4b
Get the right next position from line map.
2015-12-04 21:53:18 +01:00
Dave Davenport
f3897b2a60
Fake background should only be done once every run.
...
Not on every re-run, as you will capture old rofi window.
2015-11-30 10:15:53 +01:00
Dave Davenport
3c411433b4
Big rename from Switcher to Mode internal, to match with user terminology
2015-11-25 09:26:38 +01:00
Dave Davenport
627643281d
Fix ; in macro.
2015-11-24 22:53:40 +01:00
Dave Davenport
d1591273e7
Cleanups, rename and document.
2015-11-24 22:02:30 +01:00
Dave Davenport
00a555b685
Create more consistent ordering of arguments
2015-11-24 14:22:35 +01:00