t5c
eedd220e37
check return values of malloc and handle error.
...
added some missing includes, too.
closes #199 .
2014-11-04 15:14:22 +01:00
René 'Necoro' Neumann
5ff85b3d28
Integrate signal handling with the GLib main loop
2014-07-09 16:48:24 +02:00
Sascha Kruse
3cd7f24fdd
config for max history length
...
fix #177
2014-06-16 20:54:06 +02:00
Sascha Kruse
27eb2bcbe6
remove trailing whitespaces
2014-03-08 19:03:50 +01:00
Sascha Kruse
1ccb6185ac
allow rule matching against category
...
fix issue #135
2014-03-08 15:03:38 +01:00
progandy
dab943a702
fix unreliable and missed timeouts
2013-05-28 17:25:20 +02:00
progandy
0b3599076b
switch timer to seconds instead of ms
2013-05-28 17:25:19 +02:00
progandy
5b3a46e2ec
fix broken window update for history
2013-05-28 17:25:19 +02:00
Sascha Kruse
04248fd49e
fix pause/resume
...
this fixes github issue #98
2013-04-22 20:09:00 +00:00
Sascha Kruse
f8e8f71937
update copyright year
2013-03-15 16:06:40 +00:00
Sascha Kruse
9931512315
only add timeout when it hits before any existing timeout
2013-03-08 07:27:19 +01:00
Sascha Kruse
c612822057
sleep until notification times out or we need redraw
2013-03-08 04:15:47 +01:00
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