453 Commits

Author SHA1 Message Date
Sascha Kruse
5f5f706381 remove debug printfs 2013-02-22 18:36:24 +00:00
Sascha Kruse
138476486e removed another unused function 2013-02-22 18:36:24 +00:00
Sascha Kruse
ced9186cf1 removed the rest of old drawing code 2013-02-22 18:36:24 +00:00
Sascha Kruse
c2032b9cc6 removed some unused code 2013-02-22 18:36:24 +00:00
Sascha Kruse
ec52f00edf frame 2013-02-22 18:36:24 +00:00
Sascha Kruse
ce4e834de5 horizontal padding 2013-02-22 18:36:24 +00:00
Sascha Kruse
658cc9f88f padding 2013-02-22 18:36:24 +00:00
Sascha Kruse
d1fa0faefc separator 2013-02-22 18:36:24 +00:00
Sascha Kruse
ec2c23a652 spacing (settings.line_height) 2013-02-22 18:36:24 +00:00
Sascha Kruse
8c8c6c9c47 alignment 2013-02-22 18:36:24 +00:00
Sascha Kruse
b2883b2133 implement basic features with pango/cairo 2013-02-22 18:35:55 +00:00
Sascha Kruse
64a7dd9743 move text generation to notification code 2013-02-22 10:47:11 +00:00
Sascha Kruse
cff9c74e0e License header and vim modeline 2013-02-22 06:09:13 +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
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