Commit graph

726 commits

Author SHA1 Message Date
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
81ea5fd8c6 Update documentation for ssh dialog 2016-01-05 21:19:30 +01:00
Dave Davenport
329f31bd75 Add doxygen target. 2016-01-05 19:49:13 +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
d83f0531d6 Change writing of file, a+ does not allow fseek start on bsd. 2016-01-03 20:13:08 +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
192acf0f78 Playing 2015-12-31 19:04:38 +01:00
Dave Davenport
cb09512780 Add username to theme output. 2015-12-29 12:57:07 +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
54a1147986 Small fix 2015-12-23 17:59:03 +01:00
Dave Davenport
696d0a2fa0 Fix 1 off memory leak 2015-12-23 17:03:00 +01:00
Dave Davenport
270ec0c14b Fix out of memory bound on array 2015-12-22 20:57:57 +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
04eebf964a Indent 2015-12-14 20:28:25 +01:00
Dave Davenport
541c653913 Improve matching for DesktopFile run mode 2015-12-14 20:25:36 +01:00
Dave Davenport
47c110ed94 Fix #299: Clear attributes when setting text on pango layout 2015-12-14 09:17:28 +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
08d6d6b685 Fix return code multi-select 2015-12-12 20:54:59 +01:00
Dave Davenport
86f63af7a8 Separator style 2015-12-10 22:00:41 +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
Martijn Koedam
c78815250f Update manpage and indent. 2015-12-04 09:50:53 +01:00
Dave Davenport
6b609b8e6d Tell the users what Modifiers exist, warn if using Mod?
* Mod? modifier is deprecated.

Issue: #290
2015-12-04 08:54:27 +01:00
Dave Davenport
eaa553bfd5 Indent. 2015-12-03 22:48:30 +01:00
Dave Davenport
697abdfdfc [DMenu] Add option to read from file instead of stdin. 2015-12-03 18:22:13 +01:00
Dave Davenport
91e0f6b555 Fix small char s/u issue 2015-12-02 17:46:17 +01:00
Dave Davenport
4b77a1728d Remove custom code, replace by glib, fix fuzzy matching for unicode.
- Also fixes char endianess issues.
2015-12-01 22:09:34 +01:00
Qball Cow
ff52140697 Check for nil before updating. 2015-12-01 13:17:59 +01:00
Dave Davenport
544229d975 Issue #287 mark selected rows. 2015-11-30 14:05:39 +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
ca6b1a8178 Fixing path. 2015-11-28 12:59:10 +01:00
Dave Davenport
bf60d9c01c Fix return code 2015-11-28 11:59:11 +01:00
Dave Davenport
864a00b9fd Add option to dump filtered list to stdout.
uses format option and filter `-dump`.
2015-11-27 13:14:46 +01:00
Dave Davenport
2da1207b7d Fix issue #271 expand path. 2015-11-27 13:01:25 +01:00
Dave Davenport
e196df01fa Do not support ModMasks, breaks to much stuff, This fixes #286 2015-11-26 20:30:51 +01:00