468 Commits

Author SHA1 Message Date
Sascha Kruse
06b056eea2 actually use the result of calculate_width() 2013-02-23 00:46:41 +00:00
Sascha Kruse
4ef3cf96ff fix possible memory corruption 2013-02-23 00:46:19 +00:00
Sascha Kruse
7af28d7145 ellipsize when !word_wrap 2013-02-23 00:35:06 +00:00
Sascha Kruse
dd0647eaf7 fix width calculation 2013-02-23 00:35:06 +00:00
Sascha Kruse
6b6427262f option_parser: allow arguments beginning with '-' 2013-02-23 00:35:06 +00:00
Sascha Kruse
23f0230baa basic testing framework 2013-02-23 00:35:02 +00:00
Sascha Kruse
81fa1dfc02 update dunstrc 2013-02-23 00:35:01 +00:00
Sascha Kruse
a34adda3a4 resize surface to match window size 2013-02-22 20:41:23 +00:00
Sascha Kruse
88cb136b88 reintroduced (x more) message 2013-02-22 20:32:45 +00:00
Sascha Kruse
0909620b3a fix insertion order on close_key 2013-02-22 19:58:03 +00:00
Sascha Kruse
f12d5332a8 fail more gracefully on broken markup
Strip markup and display plain text. Also print
error message why markup couldn't be parsed.
2013-02-22 19:38:42 +00:00
Sascha Kruse
0d8be7dccf markup 2013-02-22 18:36:25 +00:00
Sascha Kruse
bcc0c6621f fix dup_count indicator 2013-02-22 18:36:24 +00:00
Sascha Kruse
f839d0656e use cairo_rectangle for separator 2013-02-22 18:36:24 +00:00
Sascha Kruse
fdffe4a6c0 colors 2013-02-22 18:36:24 +00:00
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