Commit graph

3194 commits

Author SHA1 Message Date
QC
b6a1d430bf Remove xdg from install.md. 2014-08-09 12:18:59 +02:00
QC
1a47507f7b Remove custom strlcpy for g_strlcpy. 2014-08-09 11:49:37 +02:00
QC
0be8e7ffa9 Remove xdg as dependency, glib provides this. 2014-08-09 11:44:06 +02:00
QC
98dfbddadb Move to glib's based memory allocation functions
* replace calloc by malloc0_n
        * malloc by g_malloc
        * strdup by g_strdup
        * asprintf by g_strdup_printf
        * realloc by g_realloc
        * free loop by g_strfreev (if possible)
2014-08-09 11:40:42 +02:00
Dave Davenport
9ac8f408f4 Remove useless prefix complete code.
* it is slow (ish)
    * it is not propper utf8 matching, doing this will make it slower.
2014-08-08 17:35:39 +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
QC
2d87f12c44 Move the website a few lines down. #73 2014-08-05 20:09:39 +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
da69111a20 Work on bug #73 2014-08-03 21:51:31 +02:00
QC
77a0a765ae Reverting c/p behavior, misread comments. 2014-08-03 21:09:20 +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
8ba11b2fe3 Remove unused active font variable. 2014-08-03 17:07:28 +02:00
QC
5ddcac2514 Cleanup previous test commit. 2014-08-03 17:05:06 +02:00
QC
d02f43966e Test to see if this fixes issue from Rafi. 2014-08-03 16:44:14 +02:00
QC
5a8a249fa6 Add pango to the list of dependencies in INSTALL.md 2014-08-03 15:27:13 +02:00
QC
09130a6d11 Fix cursor height. 2014-08-03 11:48:48 +02:00
QC
0e12051783 Make insert and ctrl-v behavior the opposite.
* ctrl-v clipboard ctrl-shift-v primary
        * insert primary shift-insert clipboard.
2014-08-02 23:08:14 +02:00
QC
7046656246 Small tweak. 2014-08-02 22:27:04 +02:00
QC
eb688ad629 Fix a small pango scaling issue, center text in Y direction. 2014-08-02 21:09:20 +02:00
QC
48f592b7c1 Small fix (no functional change) 2014-08-02 20:57:05 +02:00
QC
7bebd1d7dd Set ellipsizing in the middle for edit boxes. 2014-08-02 20:25:43 +02:00
QC
6a45a18a4e Pango testing. 2014-08-02 20:02:37 +02:00
QC
f87b55dde9 Fix #72: Use correct # entries. 2014-08-02 11:19:16 +02:00
QC
65903e61d0 Fix #71 2014-08-01 23:29:01 +02:00
QC
c2ccd37312 Indent file, split out opacity code. 2014-07-30 20:54:16 +02:00
QC
f1f4e55d43 Update installation page. 2014-07-27 12:46:00 +02:00
QC
e52f846089 Update dependency list in INSTALL.md 2014-07-27 09:54:10 +02:00
QC
c11fe3d056 Remove the -loc option for -location so things are more consistent. 2014-07-24 20:38:21 +02:00
QC
b146f432a9 Second fix for positioning window 2014-07-24 20:20:30 +02:00
QC
c3708f8dce Do not try to compensate for border when getting x,y 2014-07-24 20:15:09 +02:00
QC
e7cac06c7b Ctrl-j should go down, Ctrl-k up. 2014-07-22 20:33:50 +02:00
Dave Davenport
b1800fdf50 Fix previous commit, otherwise -show <window> matching goes wrong. 2014-07-22 18:19:00 +02:00
Dave Davenport
8cecc27992 Append ':' after Switcher name. 2014-07-22 18:04:42 +02:00
Dave Davenport
43bc36c1a6 Add example script (laptop brightness), add i3 version to install. 2014-07-22 09:02:57 +02:00
Dave Davenport
3c28012a87 Use strtok_r not strtok. 2014-07-22 08:21:56 +02:00
QC
bd4aa3d2fa Fix #67 Allow alt-<num> to switch between modis 2014-07-21 23:19:45 +02:00
QC
60e23568d8 Add example for interactive. 2014-07-21 22:41:22 +02:00
QC
9ecf1e13a7 Small fix for easier scripting. 2014-07-21 22:22:16 +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
d584987c81 Fix #64
* Properly inverse the previous expression. (XGetWindowAttributes() == 0)
2014-07-21 16:53:10 +02:00
Qball Cow
e4b4aadad4 Fix #62
Add install file.
2014-07-21 16:41:31 +02:00
Qball Cow
7a1766fa45 Fix issue #61 2014-07-21 16:26:35 +02:00
QC
57f28bbb3b Close bug #57.
* Also accept XK_KP_Enter
2014-07-20 17:10:10 +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
QC
842d19231a Hopeful fix for Issue: #58 2014-07-20 12:10:15 +02:00
QC
9526712bc7 Small tweak to get more sane start window size. (related to #58?) 2014-07-20 10:36:48 +02:00
QC
b30ace3ffe Some reordering. 2014-07-19 22:01:34 +02:00
QC
89efbba4b4 Some small cleanup and splitting. 2014-07-19 21:11:27 +02:00
QC
ea9090eb50 Remove a big chunk of duplicate code by re-ordering.
* Remove the refilter code that was in there twice (and directly squash a small bug)
 * Pull out the window position calculation in a sub-function.
2014-07-19 20:42:22 +02:00
QC
1fd2f04f0a Update manpage. 2014-07-16 20:06:48 +02:00