Commit graph

1718 commits

Author SHA1 Message Date
Dave Davenport
ba2188d649 Print out diff. 2016-10-19 21:19:19 +02:00
Dave Davenport
a78d0b53fc Add help output compare test. 2016-10-19 13:12:55 +02:00
Dave Davenport
a7cfc75592 gcov is not a package. 2016-10-18 22:57:53 +02:00
Dave Davenport
970f7af037 try to print coverage report in travis 2016-10-18 22:54:38 +02:00
Dave Davenport
7b3b68462e Fix memory leak in box and listview widget, add coverage make target. (ggcov and lcov) 2016-10-18 13:49:24 +02:00
Dave Davenport
2c0c3c675a Add Coverity scan 2016-10-17 20:58:50 +02:00
Dave Davenport
b622a98d9c Fix some coverty found issues. 2016-10-17 20:54:41 +02:00
Dave Davenport
df26193096 Fix redrawing (call queue redraw, not need redraw) fix end of string check. 2016-10-17 20:54:02 +02:00
Dave Davenport
0f1ba8aca8 Update travis 2016-10-17 20:19:58 +02:00
Dave Davenport
0297d9445c Try to add coverity 2016-10-17 18:38:17 +02:00
Dave Davenport
0e176199fc Fix some possible null pointer dereference. (clang-check) 2016-10-17 18:21:03 +02:00
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