Dave Davenport
6e3bb506de
Full mainloop madness
2016-02-19 19:50:48 +01:00
Dave Davenport
4eb3fd1da3
Test for single mainloop
2016-02-19 19:29:06 +01:00
Dave Davenport
d2567a6884
#219 : Implement continious scroll
2016-02-17 20:29:23 +01:00
Dave Davenport
63be750c5b
Quick work-around fix for rofi blocking X on unavailable monitor
2016-02-17 00:00:41 +01:00
Dave Davenport
6217edf622
#343 Add history support to drun mode.
2016-02-16 10:40:21 +01:00
Dave Davenport
5da7430b1e
Fix double typedef.
2016-02-11 20:24:29 +01:00
Dave Davenport
11c347fad8
Use accessors in RofiView to get modi's and num modi for sidebar.
2016-02-11 08:41:19 +01:00
Dave Davenport
fdb4c99456
Remove normal window global.
2016-02-10 19:40:19 +01:00
Dave Davenport
2cd8888d2c
Merge remote-tracking branch 'origin/master' into glib-loop
2016-02-09 22:35:03 +01:00
Dave Davenport
289795b22a
Fix finding active desktop!
2016-02-09 21:25:29 +01:00
Dave Davenport
c3f15a4e2a
Merge remote-tracking branch 'origin/master' into glib-loop
2016-02-09 07:56:45 +01:00
Dave Davenport
e7b18d3a88
Issue: #334 : Only allow markup-rows to be set on cmdline
...
This should avoid people setting this in XResrouces and breaking random dmenu scripts.
2016-02-09 07:37:48 +01:00
Dave Davenport
5d430824b3
Doxygen updates.
2016-02-08 18:16:16 +01:00
Dave Davenport
5a86ae5c99
Cleanups
2016-02-08 09:03:11 +01:00
Dave Davenport
ad932c8fd0
More cleanups
2016-02-07 20:38:34 +01:00
Dave Davenport
ca3afc6a6e
more renameing
2016-02-07 14:09:00 +01:00
Dave Davenport
69b3a360fc
Continue cleanup
2016-02-07 12:31:17 +01:00
Dave Davenport
adfc83f07d
Restructuring, my biggest joy.
2016-02-06 14:27:36 +01:00
Dave Davenport
73169af793
Remove no longer needed structure.
2016-02-06 13:40:25 +01:00
Dave Davenport
312ca274fc
Split of files.
2016-02-06 13:06:58 +01:00
Dave Davenport
91780b71db
Small fix.
2016-01-27 23:39:52 +01:00
Dave Davenport
eab4e1438f
Make dmenu use glib mainloop.
2016-01-26 08:38:07 +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
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
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
98fdf04285
[RUN] UTF-8/locale conversion and sardem exec test.
2016-01-14 20:40:19 +01:00
Dave Davenport
cc682f107b
Update display value for modi (testing)
2016-01-12 22:18:10 +01:00
Dave Davenport
f080aa2d61
Remove duplicate code, make password right character length.
2016-01-11 08:36:20 +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
63a3552c63
Doxy mode.h
2016-01-08 09:29:15 +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
504e27f701
Add some doxygen sugar.
2016-01-07 08:54:24 +01:00
Dave Davenport
c512f81c9c
Update comments, replace printf/build_filename
2016-01-06 12:40:41 +01:00
Dave Davenport
0b26287396
Add small wrapper around history.
2016-01-05 21:31:17 +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
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
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
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
8ed31cab7e
Add option to dump color scheme.
2015-12-10 18:20:04 +01:00
Dave Davenport
98de9b554f
Add screenshot keybinding.
2015-12-09 08:51:40 +01:00
Dave Davenport
0ff0f15264
Add test, remove whitespace
2015-12-08 08:39:18 +01:00
Dave Davenport
dbd7476054
__FUNCTION__ is gcc extension, use __func__ now. Fixes issue #288
2015-12-02 18:11:23 +01:00
Dave Davenport
e4c7fe8f1e
Fix func. def in wrong header file.
2015-12-02 17:56:25 +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
Dave Davenport
544229d975
Issue #287 mark selected rows.
2015-11-30 14:05:39 +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
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
Dave Davenport
fa2bcd778c
Fix for complete issue #273 .
...
- Add complete handler.
2015-11-24 13:59:35 +01:00
Dave Davenport
bdeb57a2c4
Remove unused typedef
2015-11-24 13:42:20 +01:00
Dave Davenport
cbba58914f
Some cleanups and re-ordering of parameters to be consistent.
2015-11-23 22:15:27 +01:00
Dave Davenport
ad778b7dc1
Const making.
2015-11-23 22:15:27 +01:00
Dave Davenport
4510f65d5a
textbox: advance cursor correctly for multi-char input
...
Thanks to eigengrau
fixes : #280
2015-11-22 20:41:45 +01:00
Dave Davenport
5bdcd47dde
consts and small ensurance (though should be correct to begin with)
2015-11-22 00:33:26 +01:00
Dave Davenport
8c9b72f34e
Start at fixing Issue 273, this might break some things.
...
* Only use get_display_data for displaying. (Except the select complete (ctrl-space), this needs fixing).
* Fix possible race condition in parallelization.
* Fix small bug in case-sensitive handling. (beware for collision in keybinding)
* Keep less lists around.
2015-11-21 23:59:59 +01:00
Dave Davenport
266ee5efb7
Hopefully fix for #268
2015-11-20 20:53:27 +01:00
Dave Davenport
922aa5f946
Remove old XIM/XIC from textbox structure.
2015-11-20 08:21:34 +01:00
Dave Davenport
aeaceb154a
Add experimental regex support
2015-11-17 16:10:14 +01:00
Dave Davenport
b70421e75b
Remove duplicate code.
2015-11-16 08:17:30 +01:00
Dave Davenport
2eaffceada
Fix printing.
2015-11-14 19:59:56 +01:00
Dave Davenport
56e85d0f5a
Cleanup.
2015-11-14 19:42:43 +01:00
Dave Davenport
12886ab0cb
Add missing timing files.
2015-11-14 13:49:42 +01:00
Dave Davenport
80e873c8a3
Add threadpool support, add optional timings compile flag
2015-11-14 13:47:45 +01:00
Dave Davenport
45c8de9387
If threads is set to 0, try to autodetect number of threads.
2015-11-12 17:20:51 +01:00
Dave Davenport
0fe524d0cd
Add threading support.
2015-11-12 00:18:43 +01:00
Dave Davenport
09ab44bf92
Fix #264 fall back to age ordered list if stacked list does not work
2015-11-10 23:52:52 +01:00
Qball Cow
aedd26aef4
Fix #258 : Set fallback alternative color before trying to allocate it.
2015-11-04 12:03:59 +01:00
Dave Davenport
80ac118655
Put things together, making desktop menu work
2015-11-03 17:34:02 +01:00
Dave Davenport
6f404ddc8e
Initial import desktop file runner.
2015-11-03 08:31:38 +01:00
Klemens Schölhorn
9cb0073ce8
Add -no-parse-known-hosts to disable parsing of ~/.ssh/known_hosts
...
For humans who like to keep the list of available servers clean. Also useful
if you use different names in ~/.ssh/config.
The previous default of always parsing known_hosts is not changed.
2015-10-31 18:35:37 +01:00
QC
cb9dd606aa
Allow dpi to be set
2015-10-30 21:32:09 +01:00
QC
10292b08cb
Fix: 250 Fixing message.
2015-10-26 20:13:15 +01:00
QC
de1f7a11aa
Merge remote-tracking branch 'origin/Transparency'
2015-10-21 20:42:40 +02:00
Dave Davenport
bc2b532a51
Add dmenu options to -h
2015-10-21 18:58:01 +02:00
Qball Cow
a7c7cf8159
Add fake transparency
2015-10-20 18:41:45 +02:00
QC
93b6b83fb9
Try todo some validation of monitor size/padding in config sanity check.
2015-10-18 13:40:39 +02:00
QC
0818fbd68b
Add fullscreen mode and fix some redrawing issues.
2015-10-16 20:51:37 +02:00
Dave Davenport
291d1ed16c
Update rofi -h output
2015-10-16 08:42:01 +02:00
QC
fdc86399cf
Revert "Remove levenshtein"
...
Adding help list.
This reverts commit 77cdc8d7c4
.
2015-10-15 22:33:44 +02:00
Dave Davenport
cc6bf27ccb
Merge branch 'master' of github:DaveDavenport/rofi
2015-10-11 13:43:32 +02:00
QC
2898eeda88
Cache colors.
2015-10-10 14:15:27 +02:00
QC
b0ceccb93e
Use cairo for all drawing, also borders
2015-10-10 13:03:11 +02:00
Tom Hinton
a53061b890
Merge remote-tracking branch 'upstream/master' into fast-ascii-filtering
...
Conflicts:
source/dialogs/dmenu.c
source/helper.c
source/rofi.c
2015-10-05 10:44:11 +01:00
QC
77cdc8d7c4
Remove levenshtein
2015-10-04 20:14:08 +02:00
Dave Davenport
6b039ac524
Add tokenize option and append * to glob.
2015-10-04 16:37:07 +02:00
QC
5de38cd755
Add glob version for testing.
2015-10-02 20:39:57 +02:00
Tom Hinton
af6a4b83eb
Make normal filtering of plain ASCII lines faster
...
This patch adds a field lines_not_ascii to the MenuState structure. The
nth entry is 0 unless the nth member of MenuState.lines has a non-ascii
codepoint in it.
All comparison functions (menu_match_cb type) take an additional
argument to tell them if the thing they are matching is not_ascii. They
can use this to determine whether to collate and case-fold the
input (for non-ascii strings), or whether to use strstr/strcasestr (for
ascii strings).
The change is not currently implemented for flex matching, due to my
laziness. However, it should be a simple enough matter to add.
For my large input of 400,000 lines, this reduces typical filtering time
to about ten microseconds from about 2 seconds.
2015-10-01 12:16:41 +01:00
Tom Hinton
574bf2da82
Make dmenu reading very marginally faster
...
A slight reduction in use of realloc and avoidance of 3 or 4 strlens for
a string we know the length of
2015-10-01 11:41:44 +01:00
Dave Davenport
2d167e21d7
Fix #237 add none style to separator style
2015-09-30 09:09:34 +02:00
Qball Cow
9b67838b56
Only cache successful run. (Thanks to Koppa nd daemoni)
2015-09-29 17:28:21 +02:00
QC
29360b20aa
Parse name in textbox.
2015-09-28 21:41:58 +02:00
QC
838c838d31
Try to fix #234
2015-09-27 12:57:54 +02:00
QC
6061e046de
Get color type.
2015-09-27 11:46:19 +02:00
QC
8f1f03e6d2
Use cairo to do drawing.
2015-09-26 20:34:34 +02:00
QC
29e81fdb07
Make wrap an extra option for textbox
2015-09-23 20:44:24 +02:00
Dave Davenport
5cc695e186
Add markup flag for dmenu.
2015-09-22 22:23:52 +02:00
QC
108c16e0d4
Default disable levenshtein
2015-09-20 10:32:49 +02:00
QC
b18d68eff2
Adjust new editor width
2015-09-19 12:57:48 +02:00
QC
442e235c24
Some cleanups, tweak uncrustify.
2015-09-19 12:21:30 +02:00
Dave Davenport
4c970fe4da
Properly resize content when window is resized.
2015-09-17 17:32:51 +02:00
Dave Davenport
a5c1eb1f1b
Allow window mode to be disabled
2015-09-14 08:57:10 +02:00
Dave Davenport
f443c56487
In normal mode set normal window window type hint.
2015-09-10 19:24:23 +02:00
Dave Davenport
d2aad68bce
Keep the line matched (if possible) when filtering.
2015-09-08 22:23:03 +02:00
Dave Davenport
13203c9de7
Refactor to make dmenu use Switcher, and make menu func use this.
2015-09-08 21:41:54 +02:00
Dave Davenport
ae26c13daf
Allow switchers to run multiple times.
2015-09-07 19:10:44 +02:00
Dave Davenport
092a2c5037
Issue: #224 test version window current desktop
...
run: rofi -show windowcd -modi windowcd,window
Using ctrl-tab you can switch between two modes (all windows, or just current desktop).
2015-09-07 17:41:48 +02:00
QC
e10aa09f74
Add hide scrollbar option.
2015-09-04 21:08:23 +02:00
Dave Davenport
5031cdd228
Calculate size of handle for scrollbar better.
2015-09-04 14:52:57 +02:00
Dave Davenport
72ef9c014f
Document doc, fix small drawing things in scrollbar
2015-09-04 08:42:09 +02:00
Dave Davenport
380697b895
scrollbar: Handle mouse clicks, fix width, remove border.
2015-09-04 08:26:57 +02:00
Dave Davenport
4bbbecd17d
Add scrollbar source code.
2015-09-03 22:12:20 +02:00
Dave Davenport
d16bf26bf8
Add initial scrollbar
2015-09-03 18:23:00 +02:00
Dave Davenport
2c45c02c7f
Small cleanup.
2015-09-03 08:20:08 +02:00
QC
27f5c7413e
cleanup.
2015-09-02 12:29:28 +02:00
QC
9d7518c7ab
Add 10 more custom key binding. Issue: #218
2015-09-02 10:05:02 +02:00
Dave Davenport
29d0c109cb
Add WINDOW_TYPE_DESKTOP to ignore list.
...
Issue: #215
2015-08-31 08:00:23 +02:00
Dave Davenport
5c618681c4
Add dialogs.h header.
2015-08-31 07:57:29 +02:00
QC
89dcb5be1e
Remove unused function
2015-08-29 11:57:04 +02:00
Dave Davenport
3c91c8d6e0
Issue: #213 hide windows marked as type DOCK
...
Removes i3 hack.
2015-08-27 21:09:12 +02:00
Dave Davenport
d9a9d2489a
Add separator color and style option.
2015-08-26 18:11:53 +02:00
QC
c170eae8c8
Issue: #207 add generic -filter
mode.
2015-08-20 21:42:53 +02:00
Dave Davenport
1ca7141621
Add quick solution for #202 , expose line-margin setting.
2015-08-04 09:42:14 +02:00
QC
77e5541ba5
Bug #200 implement -m
mode
2015-08-02 15:45:52 +02:00
Dave Davenport
dffc27e5aa
Try to make things more robust, e.g. try to recover before giving up.
2015-07-31 12:23:41 +02:00
Dave Davenport
8d6a78939c
Small cleanup + fail more gracefull here and there
2015-07-30 08:57:09 +02:00
Dave Davenport
c68ab67dd8
Add some comments and cleanups, allow reeloading of keybindings at run-time
2015-07-29 09:37:40 +02:00
Dave Davenport
93c01ccbd5
Add new event handling
2015-07-28 22:22:18 +02:00
Qball Cow
2bbd589f0d
Add prefix to header guard. #191
2015-07-27 10:17:12 +02:00
Dave Davenport
8104997e6f
Bug #191 rename header guard to not use reserved macro name.
2015-07-27 09:22:21 +02:00
Dave Davenport
98b8e583cb
Make fuzzy matching available everywhere: #133 (-fuzzy)
2015-07-01 09:12:22 +02:00
Dave Davenport
30743d1789
Move fuzzy_token_match to where it can be reused.
2015-06-28 13:53:37 +02:00
Dave Davenport
90eb18b3c0
Make 'all?' keys user configurable.
...
Fixes #66
2015-06-15 09:01:22 +02:00
Dave Davenport
25633ca4dc
Issue #66 , allow keybindings for navigation to be changed.
...
up,down,left,right
2015-06-15 08:48:13 +02:00
Dave Davenport
1a188af2e9
Add markup support to error msg.
2015-06-08 23:23:33 +02:00
Qball Cow
e5caaf9d1a
Possible fix issue #175
2015-06-09 18:10:23 +02:00
QC
a93aec02bd
Add support for msg string with pango markup.
2015-05-23 20:06:06 +02:00
Dave Davenport
0e7009bcad
Test fix for issue #167
2015-05-21 23:53:28 +02:00
Qball Cow
09e4a64780
fix issue #165
2015-05-19 19:59:50 +02:00
QC
354ccdd94d
Fix Issue #164
2015-05-16 13:58:09 +02:00
QC
9307a1668e
Add -format option to dmenu.
2015-05-10 12:08:08 +02:00
QC
13eee4571c
Allow alt-1t/m9 be re-bound.
2015-05-05 19:30:43 +02:00
QC
8d4e1ee8fa
Rasi patch, allowing special keys, modifying return value.
...
In dmenu pressing alt-[1-9 will return the selected entry and set the return value to the
pressed number.
2015-05-03 13:04:03 +02:00
QC
9492fe7611
Cleanup keyb.h file.
2015-05-02 12:22:31 +02:00
QC
61fc9e8310
Finish adding all different keybindings. Issue: #131
2015-05-02 11:53:27 +02:00
Dave Davenport
e8d6e8f829
Move more items to keybinding system.
2015-05-01 08:16:52 +02:00
QC
073836f142
First version of keybindings ( #131 )
2015-04-30 22:46:51 +02:00
QC
09d2be260b
Allow keybindings to be set.
2015-04-30 22:42:04 +02:00
Dave Davenport
a70404f128
First part of infrastructure for Issue: #131 customizable keybindings.
2015-04-30 21:52:30 +02:00
Qball Cow
bee103aea8
Improvement of situation for Issue #153 .
2015-04-30 17:13:17 +02:00
QC
99118420ea
Support Levenshtein in dmenu.i #149
2015-04-16 21:13:45 +02:00
Dave Davenport
f64395e4e9
Remove unused code
2015-04-15 22:41:50 +02:00
QC
a38ddb3b06
Fix space.
2015-04-14 22:12:21 +02:00
QC
c1a8735e24
Re-enable background/foreground. Make theming method an option.
2015-04-11 12:04:14 +02:00
QC
2590ecf7e5
ADd new coloring scheme.
2015-04-06 17:13:26 +02:00
QC
39518b0e15
Add more user-colors.
2015-04-06 15:23:58 +02:00
Jason Pleau
34e578ef86
use '\033' instead of '\e' for output-formatting
...
'\e' is a GNU shortcut for \033. Also gcc complained (warning) that '\e'
was a non-ISO standard. Less warnings, the prettier :)
2015-04-05 17:40:43 -04:00
QC
91fcc76cb2
Help users that do not pass the read-the-manual stage.
2015-04-05 22:29:26 +02:00
QC
9b415e60a0
Fix crasher with fixed-lines off and 0 visible rows
2015-04-05 13:36:39 +02:00
QC
f2c4aff37c
Add active/urgent color.
2015-04-03 18:40:07 +02:00
Dave Davenport
0ab7aa4bba
Add italic support and use it for windows that demand attention (working?)
2015-04-02 22:23:17 +02:00
Qball Cow
2b340a4762
Update manpage.
2015-04-01 14:49:27 +02:00
Dave Davenport
0d87cf12a3
Add combi viewer, where (selected) modi can be combined.
...
- Add active window highlighter.
2015-03-31 22:45:02 +02:00
QC
9ff5a615e9
Add combi viewer.
...
Use by adding combi to the list of enabled modi.
2015-03-30 20:12:22 +02:00
QC
55160c6eff
Issue: #137 , Parse /etc/hosts file.
2015-03-29 12:27:00 +02:00
QC
888260b06b
Small cleanup
2015-03-27 20:50:48 +01:00
QC
b21368c005
OO-ify the Switchers.
2015-03-27 20:28:53 +01:00
Dave Davenport
f52b697dd4
Remove double names.
2015-03-25 08:36:19 +01:00
Dave Davenport
9530f195d1
Better way of getting font height. Use ascent and descent.
2015-03-19 19:58:47 +01:00
QC
743f1919cd
Autoscale when drawing the number of columns and col width.
2015-03-18 20:56:50 +01:00
QC
4dd0a85fc4
Update header.
2015-03-17 20:05:37 +01:00
Dave Davenport
4fad02225e
Cleanup argc/argv lugging around.
2015-03-11 18:32:37 +01:00
Dave Davenport
c89a272d4d
Add number mode for dmenu (Request from Taharqa)
...
* option -i.
2015-03-11 18:07:54 +01:00
Qball Cow
3b21f1dac8
Update copyright notice
2015-02-28 18:11:46 +01:00
Dave Davenport
a83a06a95c
Re-add zeltak mode.
2015-02-24 17:35:09 +01:00
Dave Davenport
da8902ac88
Replace signal by sigaction
2015-02-19 13:22:10 +01:00
Dave Davenport
8b50e94fea
Make compiler more picky.
...
Add -Werror=missing-prototypes
2015-02-18 08:53:38 +01:00
Qball Cow
3b18c28792
Remove unused function.
2015-02-17 14:27:12 +01:00
Dave Davenport
a534a0f244
Rewrite of the configuration parsing, no longer duplicating options between Xrm and CMD.
...
* NEEDS TESTING.
2015-02-17 10:31:59 +01:00
QC
dee0bfb821
Fix #128 : Better handling of keybindings and remove deprecated launching.
...
See manpage.
2015-02-15 21:15:16 +01:00
QC
b6652a0221
Small move
2015-02-14 19:42:04 +01:00
QC
c760432a6c
Moving files around, dialogs in dialog directory.
2015-02-12 22:26:28 +01:00
Dave Davenport
605fe4911c
Refactor code, split out window switcher code.
2015-02-12 22:16:32 +01:00
Dave Davenport
a50219e903
Remove hmode. (Rather no implementation then a bad one.)
2015-02-10 07:42:40 +01:00
QC
67cbd48c8b
Add some comments, rename.
2015-02-09 20:05:30 +01:00
Dave Davenport
682907d340
Splitting over more files.
2015-02-09 19:35:51 +01:00
Dave Davenport
d9aef65ea7
Cleanups.
2015-02-04 09:37:34 +01:00
Dave Davenport
63fd534ba2
Move data around, constness, etc.
2015-02-03 08:21:59 +01:00
Dave Davenport
f86cf8988b
Move stuff around. Try to reduce size rofi.c.
2015-02-03 08:00:33 +01:00
Dave Davenport
ca876feec6
Put i3 specific interaction code in separate file.
2015-02-02 14:49:19 +01:00
Dave Davenport
382b93ae03
Fix LLVM compiler warnings.
2015-02-01 10:43:28 +01:00
QC
b74e6b791a
Fix not grabbing keyboard, and add pid file to ensure one instance.
2015-01-31 18:23:17 +01:00
Dave Davenport
9cc63d4948
Updates fixing pango transparancy.
2015-01-21 10:04:15 +01:00
QC
661b65dd2a
Introduce lazy-refilter mode for long lists.
2015-01-18 18:17:09 +01:00
Edwin Pujols
32b8281cfb
Merge branch 'master' of https://github.com/DaveDavenport/rofi
...
Conflicts:
doc/rofi-manpage.markdown
doc/rofi.1
2015-01-12 15:48:04 -04:00
Dave Davenport
a8843af9f3
Add support for alternating row colors.
2015-01-12 19:14:46 +01:00
Edwin Pujols
d1ba4bd8dc
Fix #102 - Add case sensitivity.
2015-01-12 09:25:20 -04:00
Dave Davenport
a28b6df307
Add support custom command.
2015-01-05 21:53:50 +01:00
QC
8afba6e875
Bug #98 : Select a certain line.
...
* -l select line
2014-12-16 21:08:12 +01:00
Dave Davenport
781ca03f02
Small moving to helper.
2014-12-02 09:09:20 +01:00
Dave Davenport
2c9f33a1bd
More commenting.
...
Code Comment Comment % Blank Total File
------ --------- --------- --------- --------- -----------------
36 69 65.7% 2 107 config.c
66 31 32.0% 14 111 dmenu-dialog.c
185 52 21.9% 19 256 helper.c
179 66 26.9% 27 272 history.c
1896 325 14.6% 345 2566 rofi.c
197 45 18.6% 42 284 run-dialog.c
144 31 17.7% 24 199 script-dialog.c
171 42 19.7% 31 244 ssh-dialog.c
350 69 16.5% 84 503 textbox.c
151 37 19.7% 27 215 xrmoptions.c
26 0 0.0% 5 31 helper-test.c
65 6 8.5% 35 106 history-test.c
109 5 4.4% 22 136 textbox-test.c
34 33 49.3% 24 91 config.h
5 10 66.7% 4 19 dmenu-dialog.h
11 70 86.4% 10 91 helper.h
9 46 83.6% 8 63 history.h
83 128 60.7% 17 228 rofi.h
4 8 66.7% 2 14 run-dialog.h
11 26 70.3% 5 42 script-dialog.h
4 8 66.7% 2 14 ssh-dialog.h
64 142 68.9% 31 237 textbox.h
6 13 68.4% 4 23 xrmoptions.h
2014-11-25 12:57:34 +01:00
Dave Davenport
471c0c5df7
Update comment of headers.
2014-11-25 08:27:08 +01:00
QC
be9bc59c34
Comment more code.
2014-11-24 20:35:28 +01:00
Dave Davenport
baec02cf1b
Comment some header files.
2014-11-24 20:22:44 +01:00
QC
66349a00dc
Small updates.
2014-11-15 16:26:55 +01:00
QC
f710912042
Add ctrl-/ as reverse tab.
2014-11-11 21:50:16 +01:00
QC
ab82941b5e
Add sidebar modi to ROFI.
2014-11-09 13:10:24 +01:00
Dave Davenport
f56bd03a86
Add multi-line elements support.
2014-10-30 17:53:22 +01:00
QC
f728e3f03e
Add separator option.
2014-10-19 19:42:02 +02:00
Dave Davenport
0462811800
Add flexible configuration for launching
...
* You can now specify links: {terminal} -e bash -e "{ssh-client} {host}"
* Add test for this code.
2014-09-03 13:07:26 +02:00
Dave Davenport
229bb6931b
Play with adding some more test, bug fixes
...
* delete an invalid memmove in textbox
2014-08-30 20:45:08 +02:00
Dave Davenport
0795cfda8d
Add display text modi.
2014-08-27 19:44:15 +02:00
Dave Davenport
e44183b406
Refactor the to-long menu() function.
...
* Split out larger sub-parts into separate functions.
* Create a state structure.
* Remove zeltak mode.
2014-08-26 20:25:00 +02:00
Dave Davenport
26e1561622
Removed unused code. (NEAR and i3_mode)
2014-08-25 09:14:49 +02:00
Dave Davenport
62d4f0cdad
Make rofi compile happily under clang.
...
* Set features in configure.ac
* use config.h file, instead of hardcoded _GNU_SOURCE
in each c file.
* Fix mix up unsigned/signed.
2014-08-22 09:27:45 +02:00
QC
9af1d490a6
Make Rasi a happy boy, add character width mode.
2014-08-11 20:21:29 +02:00
QC
280c3d7f7f
Using Glib's utf8 functions to do string collating.
...
* casefold and use utf-8 collating.
* use g_utf8_next/prev for moving cursor.
2014-08-07 21:42:16 +02:00
Dave Davenport
b196649f10
Fix #76 : DMENU returns 1 on cancel.
...
* Pull out dmenu, separate it from normal modi.
* Give dmenu a return value (1 on cancel)
2014-08-05 09:07:41 +02:00
QC
9bbb79a888
Remove Active mode. IT causes problems with matching and has limited use.
2014-08-03 17:21:42 +02:00
QC
5ddcac2514
Cleanup previous test commit.
2014-08-03 17:05:06 +02:00
QC
6a45a18a4e
Pango testing.
2014-08-02 20:02:37 +02:00
QC
bd4aa3d2fa
Fix #67 Allow alt-<num> to switch between modis
2014-07-21 23:19:45 +02:00
QC
cd4888a5cf
Fix #65 , Fix #63 Allow user to select list of modi's
...
* Add script_dialog, so user can add dialogs using a script.
* Add a way to disable modi's
* Add -show <modi> option.
2014-07-21 21:39:24 +02:00
Qball Cow
7a1766fa45
Fix issue #61
2014-07-21 16:26:35 +02:00
QC
0f279b2995
Restructure some code, fix a small bug in dmenu mode.
...
* dmenu crashed on no input lines (wrong free)
* Pass length of lines to menu function.
2014-07-20 12:29:27 +02:00
Dave Davenport
c86f28493a
Make levenshtein sorting its own option.
...
* TODO: update manpage. (no md2man on this machine)
2014-07-16 08:42:42 +02:00
QC
f9149b5bdb
Add option to disable history.
2014-06-05 21:55:47 +02:00
Dave Davenport
d361b6c445
Cleanup, integrate opacity.
2014-06-05 08:11:01 +02:00
QC
6fb7e345d0
Insert key paste secondary, shift-insert primary.
2014-06-02 13:29:43 +02:00
QC
477b10fb2f
Comments?
2014-06-02 12:54:35 +02:00
Qball Cow
ec538c64ea
Initial pasting support.
2014-05-27 12:55:47 +02:00
Qball Cow
3188236121
Cleanups
2014-05-27 08:42:21 +02:00
Qball Cow
749d3e6223
Add docs
2014-05-27 08:31:59 +02:00
QC
56a911129d
Re-use XftFont instead of recreating it each and every time.
2014-05-25 23:32:06 +02:00
QC
87958d4cad
Add option to dump xresources entries.
2014-05-22 21:56:57 +02:00
QC
5769bc36f1
Make ssh set title public.
2014-05-22 10:03:36 +02:00
Qball Cow
beced5d36e
Use true/false for hmode and fixed-num-lines
...
* Also update man page to reflect this.
2014-05-22 00:38:14 +02:00
Qball Cow
e3c20447c7
Remove prompt option from textbox, simplify code, fix small drawing issue.
2014-05-21 17:33:28 +02:00
Qball Cow
6d308cefd8
Remove value from config struct.
2014-05-20 11:22:03 +02:00
Qball Cow
85172743ee
Keys via xresources, dump config.
2014-05-20 09:43:45 +02:00
QC
3157358c63
Add hmode to xrmoptions.
2014-05-19 22:12:54 +02:00
QC
05cf49a880
Fix some small memory leaks.
2014-05-19 21:58:13 +02:00
Qball Cow
0a95ba47fa
Extra checks, first part cleanup
2014-05-19 21:02:05 +02:00
Qball Cow
cb15a57fb7
Remove memory wrappers, and use system stuff directly.
2014-05-19 16:48:50 +02:00
Qball Cow
b535533569
Add some initial columns support.
2014-05-19 09:50:09 +02:00
QC
f44fd74987
Add option to fix the size of rofi
2014-05-17 22:17:23 +02:00
QC
3ebd0d9001
Allow xoffset, fix bottom/right edge.
2014-05-15 21:55:23 +02:00
Qball Cow
82bdb5f348
Add a y-offset.
2014-05-15 16:54:35 +02:00
QC
7b7af4cfb4
Show arrows in list.
2014-05-14 20:56:38 +02:00
Qball Cow
de5187bb01
Add small arrows indicating more pages. (to be updated later)
2014-05-14 19:51:48 +02:00
Qball Cow
87b51f5430
Extract out the history code and create functions for it.
...
(Easier to fix issues later on)
2014-05-13 10:45:59 +02:00
Dave Davenport
0d6556618e
Allow window title to be set. issue #42
2014-04-22 11:11:46 +02:00
QC
c87312be36
Indent o mania.
2014-03-22 21:04:19 +01:00
Qball Cow
4d37cf35dc
Small fix!
2014-03-18 10:55:25 +01:00
Qball Cow
5d5779ad1d
Small i3 fix
2014-03-18 10:38:30 +01:00
QC
7e12aeb597
Remove profile.
2014-03-17 19:28:11 +01:00
Qball Cow
6e7f1b746a
Rename main file.
2014-03-12 08:41:38 +01:00
Qball Cow
c268c10f8b
Fix warning from clang --analyze
2014-03-11 20:16:44 +01:00
Dave Davenport
8a3daf3194
Make things behave nice again in i3.
2014-03-02 12:53:06 +01:00
QC
57abc12c43
cleanups
2014-02-03 23:07:04 +01:00
QC
b9c192c4fe
Removing duplicate code, small fixes.
2014-02-03 22:49:07 +01:00
QC
2bfc2fff4b
Remove mark dialog.
2014-02-03 22:28:04 +01:00
QC
96e76c1998
Split out xresource and add -v --version
2014-02-02 10:54:01 +01:00
QC
0737b4f5b2
Read settings from Xresource.
...
Code borrowed from Sean Pringle (yet again).
2014-02-01 23:04:45 +01:00
Qball Cow
6177c90a87
Restructure for and add option to delete entry from history.
2014-02-01 14:03:23 +01:00
Qball Cow
8edac70eae
Remove json.
2014-01-31 13:57:49 +01:00
Qball Cow
bbe4a3d330
Add dmenu option
2014-01-30 00:47:23 +01:00
Qball Cow
acc46c4dd2
Add a test json mode
2014-01-29 15:38:08 +01:00
QC
8a053642c4
Rename inner_margin to padding so it goal is more clear. issue #14
2014-01-28 20:48:48 +01:00
QC
8508c73b12
Add switch_profile.sh mode
2014-01-27 22:15:33 +01:00
QC
07072de251
Add missing files
2014-01-26 15:41:45 +01:00
QC
0529d21ffd
Add support for selecting marks
2014-01-26 15:39:50 +01:00
QC
bd33e93e16
Put user settable config in separate file.
2014-01-26 13:29:38 +01:00
QC
e62ada2a83
Add support for horizontal mode.
2014-01-26 12:59:10 +01:00
Qball Cow
f72a60580f
Allow user to specify location of switcher
2014-01-26 00:27:57 +01:00
QC
6e242c197e
Use XDG basedir for CACHE.
2014-01-25 23:37:37 +01:00
Qball Cow
95dd228dd6
Small compile fix on arm
2014-01-23 18:03:11 +01:00
Qball Cow
e95727c3bc
Config cleanups.
2014-01-23 11:39:12 +01:00
Qball Cow
6bb615f1d1
small cleanup
2014-01-22 09:24:31 +01:00
Qball Cow
ef8d444dd2
Add keybinding.
2014-01-21 10:13:42 +01:00
Qball Cow
a749aa35e9
Add a SSH selector.
2014-01-21 10:01:55 +01:00
Qball Cow
3a44951e9f
More cleanups to make more extendable
2014-01-21 00:20:09 +01:00
QC
5e72018497
Split of run-dialog part in separate file.
2014-01-20 23:36:20 +01:00