Commit graph

1857 commits

Author SHA1 Message Date
Dave Davenport
313dffa28d Some comments 2016-10-16 19:38:33 +02:00
Dave Davenport
703426716a [DRun] Fix parsing subdirectories because of wrong suffix check 2016-10-16 14:49:32 +02:00
Dave Davenport
cdb1b96414 Fix issue #482: Set work directory 2016-10-15 20:00:26 +02:00
Dave Davenport
e95b2047bd Fix stupid missing */ in commit 2016-10-15 15:45:28 +02:00
Dave Davenport
f0981d6697 Indenting, comments 2016-10-15 15:39:08 +02:00
Dave Davenport
9293c8b8ce More docu updates 2016-10-14 18:56:09 +02:00
Dave Davenport
ce341f6885 Document more headers. 2016-10-14 16:46:54 +02:00
Dave Davenport
b4c599f022 Add more documentation.
Current state: 61% coverage.
2016-10-14 08:47:21 +02:00
Dave Davenport
cc496c38ee check coverall behaviour 2016-10-13 18:29:32 +02:00
Dave Davenport
eb5f169af0 Remove error check for large windows as it is incorrect often. Fix issue 468 2016-10-13 18:11:15 +02:00
Dave Davenport
f6755d8a18 Always fallback to mouse position when one of the -X options are choosen. 2016-10-13 18:09:03 +02:00
Dave Davenport
306eeac3fe Add some NULL tests to widget test 2016-10-13 17:54:52 +02:00
Dave Davenport
1cd94c27c7 Update documentation, tests for widget 2016-10-13 09:22:08 +02:00
Dave Davenport
3aa1922aa6 Remove padding from input bar: Fix #479 2016-10-13 08:53:22 +02:00
Dave Davenport
cc3bb30a7b Remove unneeded calls to tokenize. 2016-10-11 08:18:34 +02:00
Dave Davenport
07425fd10a Always refilter when switching modi. 2016-10-11 08:11:14 +02:00
Dave Davenport
f3298801f3 Split internal widget into separate file 2016-10-09 10:13:15 +02:00
Dave Davenport
f10bc5004f Make separator work in both directions ( hori/vert ). 2016-10-09 10:07:32 +02:00
Dave Davenport
ad02f8f0b7 Small docu update. 2016-10-09 09:40:21 +02:00
Dave Davenport
1dc32727b3 Document box public api. 2016-10-09 09:30:57 +02:00
Dave Davenport
3c64507f02 Qtk widgets (#478)
* Initial support for using boxes for packing widgets.

* Make CapiTalIzation more consistent

* Move widgets to subdirectory

* Removed nolonger needed resize function.

* Small cleanup

* When switching mode, reuse view, don't rebuild it. Reduces artifacts.

* Needs cleaning up.

* Remove separate prompt argument, use display_name

* Simplify run-switcher code.

* Add notion of parents, and trigger parent update on resize.

* Use widget_get_height wrapper, avoid crash

* Size separator width based on height. (indent)

 * TODO add margin to box.

* First draft version of listview.

* Add scrollbar to listview widget

* Add padding option to box

* Move access to global config out of widget. (1/2 done)

*  Remove printf

* Make listview not access global config

* Add click support, implement on mode buttons.

* Re-introduce mouse handling on list-view.

* TODO draggin on scrollbar.

* Fix multi-select

* Fix warnings

* Fix include
2016-10-08 18:57:59 +02:00
Dave Davenport
0da0587087 Make widget_free work on textbox and scrollbar, use widget specific free. 2016-09-27 22:38:26 +02:00
Dave Davenport
89acc7b6ed Make one widget_draw function, abstract rest (textbox, scrollbar) behind it. 2016-09-27 22:15:39 +02:00
Dave Davenport
769dab5f66 When view centered, don't change x,y. 2016-09-26 18:19:29 +02:00
Dave Davenport
5815dc7b75 Issue #474: reverse logic. 2016-09-26 11:57:40 +02:00
Dave Davenport
ca766b4ed7 Still parse commandline options when -no-config is passed. 2016-09-18 22:29:05 +02:00
Dave Davenport
6131329210 Fix for #467, don't count border twice, take right line-margin into account. 2016-09-18 22:23:39 +02:00
Dave Davenport
acdb6bdf53 Fix fprintf. 2016-09-18 14:44:03 +02:00
Dave Davenport
5b843bd08b Remove entry from history if fails to execute.
Issue: #466
2016-09-17 21:28:22 +02:00
Dave Davenport
050fd66c02 Force dmenu in sync mode to stop breaking old features that rely on this. 2016-09-17 19:41:24 +02:00
Dave Davenport
5ee5bb1e23 First rough version of async loading for dmenu. 2016-09-17 18:57:44 +02:00
Dave Davenport
6191662ccf Fix indenting view.c. 2016-09-17 18:35:03 +02:00
Dave Davenport
3e272b2b00 Don't throw error when textbox gets input but is not editable. 2016-09-17 18:34:04 +02:00
Dave Davenport
d4d757a7c0 Allow for reloading of window content (10fps), needed for async transfer.
* Resize window to fit rows if not num-fixed-lines is set.
 * If there is no entry to show, remove separator.
 * Store size/pos per State.
2016-09-17 18:06:25 +02:00
Dave Davenport
cf70fbf709 Issue: #462 Do not blink on cursor move, text insert,remove. 2016-09-16 20:35:46 +02:00
Dave Davenport
05600368ff Small cleanups.
Remove duplicate code to update window size, make error dialog use normal mainloop.
2016-09-16 20:28:59 +02:00
Ian Remmler
71f5f1ac54 Initialize mouse_seen. (#461)
* Add Ian Remmler to AUTHORS.

* Explicitly initialize mouse_seen.
2016-09-09 20:36:12 +02:00
Dave Davenport
c200709838 Fix wrong entry + CI. 2016-09-08 22:56:22 +02:00
Ian Remmler
91e2ecf212 Added click-to-exit option. (#460)
Exit if a mouse button is pressed and released outside of the rofi
window.
2016-09-08 22:42:41 +02:00
Dave Davenport
e3fb17a843 Ask window manager to hide decoration in normal-window mode.
Issue #485
2016-09-08 08:57:35 +02:00
Anton Löfgren
abc190fd7c man: Typo fix (#459)
Just a tiny typo fix for the -modi docs.
2016-09-07 08:14:14 +02:00
Dave Davenport
43be4bd18f Fix keyboard grab normal-window mode 2016-09-06 09:06:02 +02:00
Dave Davenport
926fbdb190 Release pointer too 2016-09-02 20:19:37 +02:00
Dave Davenport
4379f3be7c Ctrl-click does alternate accept entry.
Fixes #429
2016-09-02 18:19:16 +02:00
Dave Davenport
b420db8d30 Another trow at #454
- Hide window, ungrab mouse.
 - Flush, before switching window.
2016-09-02 09:38:51 +02:00
Dave Davenport
642cad350d Remove pointless NULL check. 2016-09-02 09:32:32 +02:00
Dave Davenport
f19e3b1a35 Update Changelog. 2016-09-01 21:29:02 +02:00
Dave Davenport
74cbad6814 Enable drun in travis builds. 2016-08-31 10:09:41 +02:00
Dave Davenport
4a4769f0b4 Add debug and indent 2016-08-31 10:06:42 +02:00
Dave Davenport
2b0f4b2f57 Update INSTALL. 2016-08-31 10:01:49 +02:00