Dave Davenport
764992e4bb
Remove more display usage
2016-02-28 00:25:53 +01:00
Dave Davenport
d813d03a5f
Convert more stuff to xcb, keyboard grab, cleanup
2016-02-28 00:09:05 +01:00
Dave Davenport
4c661c3932
Move most of window modi to xcb
2016-02-27 22:55:47 +01:00
Dave Davenport
bb2f0d8b83
Move more to xcb, window_*_ functions to xcb_ functions
2016-02-27 21:55:43 +01:00
Dave Davenport
a02cb83a98
Move more to xcb.
2016-02-27 20:45:47 +01:00
Dave Davenport
5a204829f0
Fix not updating in daemon mode
2016-02-23 23:54:35 +01:00
Dave Davenport
3b58c3a26a
Fix issue: #347 .
2016-02-23 21:14:15 +01:00
Dave Davenport
319524c7c5
Test for single mainloop
2016-02-23 21:04:24 +01:00
Dave Davenport
87546caa8f
Fix previous commit.
2016-02-23 19:34:48 +01:00
Dave Davenport
faf5c49b8c
Remove hardcoded string length in window list.
2016-02-23 19:14:21 +01:00
Quentin Glidic
2ef950eab9
WIP: Port window stuff to xcb
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2016-02-23 17:37:25 +01:00
Quentin Glidic
990914d20f
rofi: Drop daemon mode
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2016-02-23 12:15:03 +01:00
Dave Davenport
9121732e36
Cleanups.
2016-02-19 21:16:35 +01:00
Dave Davenport
038346b640
Cleanup + fix
2016-02-19 21:08:46 +01:00
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
99515f986e
Fix issue #281
...
if one entry as input and autoselect enabled return immediately
2016-02-17 08:46:22 +01:00
Dave Davenport
6217edf622
#343 Add history support to drun mode.
2016-02-16 10:40:21 +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
f7e2632624
Merge remote-tracking branch 'origin/master' into glib-loop
2016-02-09 19:55:31 +01:00
Dave Davenport
5185f1181c
Validate if input is utf-8 for dmenu, if not ignore that line
...
This should avoid crashing on invalid encoding.
2016-02-09 19:54:43 +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
5a86ae5c99
Cleanups
2016-02-08 09:03:11 +01:00
Dave Davenport
c217307b43
Update!
2016-02-06 14:41:08 +01:00
Dave Davenport
adfc83f07d
Restructuring, my biggest joy.
2016-02-06 14:27:36 +01:00
Dave Davenport
312ca274fc
Split of files.
2016-02-06 13:06:58 +01:00
Dave Davenport
531f3f884a
Merge remote-tracking branch 'origin/master' into glib-loop
2016-02-04 16:25:04 +01:00
Dave Davenport
69b88caac5
Allow user to open an disabled modi.
2016-02-04 09:20:10 +01:00
Dave Davenport
b557c4df6e
Issue: #333 , Check if row is selected, don't assume selected_line is valid.
2016-02-03 09:01:13 +01:00
Dave Davenport
91780b71db
Small fix.
2016-01-27 23:39:52 +01:00
Dave Davenport
afc056ecc5
Play with dmenu black screen
2016-01-27 23:28:14 +01:00
Dave Davenport
eab4e1438f
Make dmenu use glib mainloop.
2016-01-26 08:38:07 +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
ec24e4426e
Fixing SardemFF7 Feedback: boolean, g_getenv and clear_error
2016-01-14 21:06:03 +01:00
Dave Davenport
98fdf04285
[RUN] UTF-8/locale conversion and sardem exec test.
2016-01-14 20:40:19 +01:00
Dave Davenport
121278e6d1
[DRUN] Expand path we get from Desktop file
...
* This is more 'free' then spec. but does not break anything.
Fixes : #317
2016-01-14 17:42:07 +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
7f621a4a91
Replace strdup_printf with build_filename
2016-01-06 12:42:53 +01:00
Dave Davenport
c512f81c9c
Update comments, replace printf/build_filename
2016-01-06 12:40:41 +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
5a3c202423
Update copyright
2016-01-01 00:27:00 +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
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
08d6d6b685
Fix return code multi-select
2015-12-12 20:54:59 +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
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
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
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
6978b146f0
[Combi] only textual map, when not using glob/regex mode.
2015-11-24 14:14:55 +01:00
Dave Davenport
fa2bcd778c
Fix for complete issue #273 .
...
- Add complete handler.
2015-11-24 13:59:35 +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
Qball Cow
84daf5fd6c
Fix issue #285 , clear memory on realloc
2015-11-23 17:11:12 +01:00
Dave Davenport
b974b10c96
[DRun] Skip entries that have NoDisplay set.
...
Closes issue #283
2015-11-23 09:47:29 +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
238a34162a
Try to fix crasher on mixing glib free and free.
2015-11-15 13:12:43 +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
80e873c8a3
Add threadpool support, add optional timings compile flag
2015-11-14 13:47:45 +01:00
Qball Cow
311cedf87f
Fix silly little bug.
2015-11-12 14:53:02 +01:00
Qball Cow
c7dcb4821a
Use getdelim instead of custom fgets function.
2015-11-12 14:15:33 +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
Dave Davenport
195dc0fb01
Cleanups.
2015-11-07 12:59:08 +01:00
Dave Davenport
53e9332603
Fix #260 .
2015-11-07 11:20:25 +01:00
Dave Davenport
4c8404f87d
Fix combi and drun and localization
2015-11-03 19:57:07 +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
Dave Davenport
b454791ccd
Merge pull request #257 from klemens/no-parse-known-hosts
...
Add -no-parse-known-hosts option
2015-10-31 19:14:20 +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
Dave Davenport
02b99e6f95
Fix: 256 Do not accept custom entry when not applicable.
...
Add test to reproducet .
2015-10-31 18:04:55 +01:00
Dave Davenport
f9e7bc0775
Possible fix for 256. Need test cases for these.
2015-10-31 17:31:24 +01:00
Dave Davenport
bc2b532a51
Add dmenu options to -h
2015-10-21 18:58:01 +02:00
Dave Davenport
64cb4c781c
Fix some compiler warnings
2015-10-19 09:23:06 +02:00
QC
1b425c7bd0
Fix crash on deleting entries in ssh/run.
...
Fix bang for custom run.
2015-10-18 22:12:06 +02:00
Dave Davenport
4975704a05
Fix #244 Do not catch sigchld, let glib handle this internally
...
- TODO fix man page viewing.
2015-10-12 08:12:25 +02:00