Sascha Kruse
ced9186cf1
removed the rest of old drawing code
2013-02-22 18:36:24 +00:00
Sascha Kruse
e82da9d5e7
indent -linx --no-tabs
2013-02-21 23:23:54 +00:00
Sascha Kruse
b8004f56d8
remove folding markers again
2013-02-21 23:19:30 +00:00
Sascha Kruse
0a04bceb6f
move x_* functions to x.c
2013-02-21 23:14:23 +00:00
Sascha Kruse
5bc68ffc4b
move global variables related to x in struct
2013-02-21 23:04:43 +00:00
Sascha Kruse
f88cc4e831
renamed draw.{c,h} x.{c,h}
2013-02-21 20:03:00 +00:00
Sascha Kruse
4e92d61804
notification.{c,h}
2013-02-21 18:02:20 +00:00
Sascha Kruse
e07744fd49
move context_menu related stuff into menu.{c,h}
2013-02-21 03:08:04 +00:00
Sascha Kruse
a587fea56f
moved rules related stuff to rules.{c,h}
2013-02-21 01:37:57 +00:00
Sascha Kruse
56716ec948
options.{c,h} -> option_parser.{c,h}
2013-02-21 01:27:32 +00:00
Sascha Kruse
be5940bc74
settings.{c,h}
...
Put all global variables that store user settings into
a struct to keep the namespace clean. Move loading of
settings into own file so that only the namespace of
settings.c gets polluted with the stuff from config.h
2013-02-21 01:22:46 +00:00
Sascha Kruse
36f7d5c8b7
remove unused global variable "colors"
2013-02-21 00:31:02 +00:00
Sascha Kruse
6f5ef3f3a2
get rid of global variable scr
2013-02-21 00:28:53 +00:00
Sascha Kruse
cb0b276998
more comments, sorting and foldings
2013-02-20 14:00:18 +01:00
Sascha Kruse
c29620737e
x_mainloop_fd_*
2013-02-20 13:41:45 +01:00
Sascha Kruse
c01b032a65
Major cleanup in dunstrc
...
This includes:
* ordering functions by topic
* add folding markers for vim
* start commenting every function
I hope nobody else is currently working on a patch
since this might render applying patches very difficult.
2013-02-20 13:36:39 +01:00
Sascha Kruse
1428f82758
x_setup, x_win_setup()
2013-02-20 11:04:23 +01:00
Sascha Kruse
4337dbf140
cleanup x_shortcut_* function names
2013-02-20 11:00:26 +01:00
Sascha Kruse
e2d2360a39
cleanup x related function names
2013-02-20 10:44:21 +01:00
Sascha Kruse
3a3edab374
cleanup win_* function names
2013-02-20 10:30:54 +01:00
Sascha Kruse
f2e42aabfd
cleanup notification_* function names
2013-02-20 10:26:12 +01:00
Sascha Kruse
39b4dfb726
refactor rules code
2013-02-20 10:04:45 +01:00
Sascha Kruse
0dc127715f
renamed dunst_dbus.* -> dbus.*
2013-02-20 08:52:54 +00:00
Sascha Kruse
c003e4c454
show warning when VERSION is not defined
2013-02-20 08:07:10 +00:00
Sascha Kruse
e56dbae718
call wake_up() in history_pop()
2013-02-19 23:09:42 +00:00
Sascha Kruse
3eebe366d6
indicator when notification contains action/url
2013-02-19 10:38:32 +00:00
Sascha Kruse
52f0f485bc
replace var "now" with calls to time()
...
we can't depend on the variable now to contain the current
time, since the mainloop that updates that variable might be blocking
while other things can still access the variable.
2013-02-19 01:50:19 +00:00
Sascha Kruse
1ac31d9397
wake_up() call from init_notification to onNotify
2013-02-19 01:31:17 +00:00
Sascha Kruse
6169a8e676
use global win/dpy in XEvent handler
2013-02-19 01:16:49 +00:00
Sascha Kruse
f0c9b71b97
wordwrap one char earlier
2013-02-18 22:36:23 +00:00
Sascha Kruse
62e92c7625
add actions to context menu
2013-02-18 10:03:54 +00:00
Sascha Kruse
b03cc9bc01
add actions to -print
2013-02-18 08:55:25 +00:00
Sascha Kruse
03ec6e2864
fix compile warnings
2013-02-18 08:31:24 +00:00
Sascha Kruse
a9360ad3d9
remove debugging printfs
2013-02-18 07:43:12 +00:00
Sascha Kruse
ee8c9dbe02
improve responsiveness
2013-02-18 05:32:41 +00:00
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