324 Commits

Author SHA1 Message Date
Sascha Kruse
820cfe7315 Basic dbus functionality reintroduced 2013-02-18 04:30:57 +00:00
Sascha Kruse
e6125914ab use GLibs main_loop (x11 part)
this is WIP since the dbus part is missing
2013-02-17 23:23:02 +00:00
Sascha Kruse
74bae9ee0b get rid of str_array 2013-02-17 03:38:48 +01:00
Sascha Kruse
5e66f5d007 only redraw when needed 2013-02-17 03:26:35 +01:00
Sascha Kruse
8e29c4dc5b replace r_line_cache stuff 2013-02-17 03:04:27 +01:00
Sascha Kruse
6de8d785ff use GSList for rules 2013-02-16 10:41:06 +01:00
Sascha Kruse
51b2cb9d52 cleanup cmp_notification 2013-02-16 10:23:49 +01:00
Sascha Kruse
ba09fa21f9 strdup -> g_strdup 2013-02-16 10:18:26 +01:00
Sascha Kruse
34714fe1f9 replaced stack/queue with GList/GQueue 2013-02-16 06:13:53 +01:00
Sascha Kruse
023473ac25 replace string_to_argv() with g_strsplit() 2013-02-16 06:13:53 +01:00
Sascha Kruse
e2dc1872a7 replace sasprintf with g_* equivalent 2013-02-16 06:13:52 +01:00
Sascha Kruse
78ed4d77c5 replace string strip functions with glib equivalent 2013-02-16 06:13:52 +01:00
Sascha Kruse
70231fe231 bugfix: only compile regex in extract_urls() once 2013-02-16 06:13:03 +01:00
Sascha Kruse
2c84ecabdd fix typo in --version output
add a space between description and version
2013-01-26 00:01:19 +01:00
Matthew Todd
3beb9e42dc Replace all occurrences of markup in notification.
fix_markup previously would only replace one occurrence of needle in the
notification string. So we'd end up with some markup's making it
through, if there was more than one of a particular kind.

Introduces new function string_replace_all and calls it from fix_markup.
2013-01-16 21:15:23 -08:00
Sascha Kruse
1b90d82972 update copyright year 2013-01-17 00:39:47 +01:00
Sascha Kruse
dfb48b0e5f change description texts 2013-01-16 22:41:42 +01:00
Sascha Kruse
9f49bcf7e9 redo mouse click position calculation 2013-01-08 02:46:08 +01:00
Sascha Kruse
0689d6643c initialize variables for startup notification 2013-01-03 20:49:06 +01:00
Sascha Kruse
a51f564037 new option: igonre_newline
see github issue 83
2013-01-02 12:21:53 +01:00
Sascha Kruse
414d3d056a account for padding on mouse click calculation
this should hopefully fix gihub issue #84
2012-12-28 21:23:44 +01:00
Sascha Kruse
f2075a3409 more options for separator color 2012-12-22 17:12:27 +01:00
Sascha Kruse
f46f9bff17 replace string "\n" with char '\n'
this way we don't need the extra check for the string "\n" in
do_word_wrap and rstrip strips newlines away.

fixes github issue #80
2012-12-21 16:04:48 +01:00
Sascha Kruse
f054dab8be horizontal padding 2012-12-21 15:46:25 +01:00
Sascha Kruse
67b54e2ace framing 2012-12-21 15:35:51 +01:00
Sascha Kruse
dd1b2f3cc7 don't add space infront of summary
fix github issue #79
2012-12-21 15:30:24 +01:00
Sascha Kruse
2650d3667c fix height when (x more) is added 2012-12-21 14:14:23 +01:00
Sascha Kruse
4b7c856c0a add padding 2012-12-21 13:46:20 +01:00
Sascha Kruse
94e8fed7c5 prevent the zombie apocalypse 2012-12-21 13:03:54 +01:00
Sascha Kruse
23925815b1 remove unused variable browser_cmd 2012-12-21 12:27:29 +01:00
Sascha Kruse
131016878b run script via rule 2012-12-21 12:27:24 +01:00
Sascha Kruse
aa0b63b270 add rule name when loading rule from ini 2012-12-21 11:54:22 +01:00
Sascha Kruse
83c523cf53 asprintf wrapper 2012-12-19 22:34:47 +01:00
Sascha Kruse
aa514c94eb better error handling 2012-12-19 22:23:40 +01:00
Sascha Kruse
8617ce7b2d actually add url to browser command 2012-12-19 19:28:37 +01:00
Sascha Kruse
02bd587935 allow parameters to dmenu and browser calls 2012-12-19 16:38:14 +01:00
Sascha Kruse
42e49a7b34 context menu for urls 2012-12-19 15:56:15 +01:00
Sascha Kruse
9a662f2313 extract urls 2012-12-19 15:04:27 +01:00
Sascha Kruse
b46d02bfd7 don't strip newline from summary 2012-12-19 02:01:00 +01:00
Sascha Kruse
3918fd32a8 print notification on startup 2012-12-13 22:50:13 +01:00
Sascha Kruse
43b2b3bb1d don't try to replace NULL icon 2012-12-13 22:49:11 +01:00
Sascha Kruse
6de6ef0619 fix left mouse click 2012-12-12 14:25:01 +01:00
Sascha Kruse
73e4ab0e00 fix height calculation 2012-12-12 14:06:04 +01:00
Sascha Kruse
3af63f1ddc stuff memory leak 2012-12-12 13:53:04 +01:00
Sascha Kruse
d866bb0c35 rstrip(n->msg)
This causes the dupliate detection to ignore trailing whitespaces
2012-12-12 13:38:45 +01:00
Sascha Kruse
70839e1321 fix segfault 2012-12-12 13:34:07 +01:00
Sascha Kruse
1b04f51d67 use n_queue for displayed notifications 2012-12-12 12:48:21 +01:00
Sascha Kruse
91fa27fbf4 n_history -> history 2012-12-12 12:06:51 +01:00
Sascha Kruse
1dd6e2587e use queue for notification queue 2012-12-12 12:06:04 +01:00
Sascha Kruse
557a8e29fa removed deprecated keyboard settings 2012-12-12 10:07:40 +01:00