435 Commits

Author SHA1 Message Date
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
a5103e88f5 re-add -DVERSION to clang_complete 2013-02-20 09:04:12 +00: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
71182f486c default to normal urgency 2013-02-20 06:31:09 +00:00
Sascha Kruse
e56dbae718 call wake_up() in history_pop() 2013-02-19 23:09:42 +00:00
Sascha Kruse
1684e1ac30 onGetServerInformation reply correct spec_version 2013-02-19 11:59:43 +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
e15d918a3c fix glib assertion warnings 2013-02-19 01:30:38 +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
f17b8e4330 fix onGetCapabilities 2013-02-18 08:55:02 +00:00
Sascha Kruse
03ec6e2864 fix compile warnings 2013-02-18 08:31:24 +00:00
Sascha Kruse
b58038e2f1 add glib to dependencies in INSTALL 2013-02-18 07:51:06 +00:00
Sascha Kruse
9af567e421 remove more debug prinfs 2013-02-18 07:50:40 +00:00
Sascha Kruse
773cc6e7b4 onCloseNotification send reply 2013-02-18 07:49:04 +00:00
Sascha Kruse
a9360ad3d9 remove debugging printfs 2013-02-18 07:43:12 +00:00
Sascha Kruse
85866b07e1 notificationClosed (not working yet) 2013-02-18 06:59:13 +00:00
Sascha Kruse
731ada9b61 onCloseNotification 2013-02-18 05:45:04 +00:00
Sascha Kruse
1bd7686be5 reintroduce fgcolor/bgcolor hints 2013-02-18 05:36:37 +00:00
Sascha Kruse
ee8c9dbe02 improve responsiveness 2013-02-18 05:32:41 +00:00
Sascha Kruse
0829615385 remove some debugging printfs 2013-02-18 05:32:12 +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