597 Commits

Author SHA1 Message Date
nopjmp
71032c3c11 remove whitespace 2014-06-16 21:32:25 -05:00
nopjmp
788bd964d7 move id replace before stack_duplicates logic 2014-06-16 21:14:03 -05:00
Sascha Kruse
f48d512223 Abort build if config.h needs to be updated
close #179

Thanks progandy
2014-06-16 22:00:42 +02:00
Sascha Kruse
3c841c418a add new history_length option to example dunstrc 2014-06-16 21:47:22 +02:00
Sascha Kruse
3cd7f24fdd config for max history length
fix #177
2014-06-16 20:54:06 +02:00
Sascha Kruse
1221ac8c92 Use sanitized variable instead of settings value 2014-06-16 20:42:04 +02:00
Sascha Kruse
39a0826fea fix invalid free
Thanks To DaveDavenport
2014-06-15 01:38:00 +02:00
Sascha Kruse
605eab0d4a Merge pull request #167 from badosu/add-name-setting
Set wm class and name
2014-06-14 15:26:44 +02:00
Sascha Kruse
686691c9be Merge pull request #178 from Necoro/modeline
Add Vim modeline for dunstrc.
2014-06-14 15:16:08 +02:00
René 'Necoro' Neumann
010bdf01ae Add Vim modeline for dunstrc.
With this modeline, the dunstrc gets syntax highlighting in vim by
default.
2014-06-11 15:52:33 +02:00
Sascha Kruse
61bf3ddaa3 Merge pull request #175 from catharsis/mem-leaks
dbus: Fix iterator memory leak
2014-05-30 14:24:45 +02:00
Anton Lofgren
7a4d7fdd79 dbus: Fix iterator memory leak
The manual for g_variant_iter_next_value states the following:

"[..]
Use g_variant_unref() to drop your reference on the return value when
you no longer need it.
[..]"
https://developer.gnome.org/glib/unstable/glib-GVariant.html#g-variant-iter-next-value

For most notifications (I guess), this is not a problem, since the leak
is relatively tiny. However, for notifications that contain big chunks
of binary data, such as those sent out by the new Spotify client, it
adds up fast.

The Spotify notifications in particular contain a rather large
"icon_data" byte array (contained in a dict), which while never recorded
is never-the-less iterated over and allocated, which in turn gives rise to
issue #173.

This fixes #173.
2014-05-30 11:52:24 +02:00
Amadeus Folego
d2245c70f6 Set wm class and name with -name 2014-04-30 19:36:59 -03:00
Sascha Kruse
48de907812 error handling for follow mode
see issue #141
2014-03-10 22:57:16 +01: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
Sascha Kruse
d082f51cbb restore old rule order 2014-03-08 14:42:12 +01:00
Sascha Kruse
8bb8f6269f fix compiler warnings 2014-03-08 12:09:18 +01:00
Sascha Kruse
6715f74a47 use --std=gnu99 to get rid of compiler warnings 2014-03-08 12:08:39 +01:00
Sascha Kruse
98ac8a649e Don't build dunstify on 'make' or 'make all' 2014-03-08 11:57:23 +01:00
Sascha Kruse
6957ac77a0 Merge branch 'feature-icon' of git://github.com/Gjum/dunst into pull_requests
Conflicts:
	dunstrc
	settings.c
2014-03-08 11:57:09 +01:00
Sascha Kruse
62809844ed Merge branch 'fix_memory_leak' of git://github.com/gs93/dunst into pull_requests 2014-03-08 11:36:35 +01:00
Sascha Kruse
ff4d56e826 Merge branch 'fix_layout_alignment' of git://github.com/wavexx/dunst into pull_requests 2014-03-08 11:36:11 +01:00
Sascha Kruse
79e6b3f349 Merge branch 'fix_raise_hell' of git://github.com/wavexx/dunst into pull_requests 2014-03-08 11:35:49 +01:00
Sascha Kruse
54c1b58cb0 Merge branch 'match_msg_urgency' of git://github.com/wavexx/dunst into pull_requests 2014-03-08 11:35:11 +01:00
Yuri D'Elia
2023623b16 Fix URL matching regex
The URL matching regex as currently used by dust is too liberal, and will just
match about anything.

Some examples:

  "establishing connection..." => connection...
  "setting volume to [50%]" => 50%]

The following expression is an adapted copy of urxvt's URL matcher.
2014-03-06 18:05:22 +01:00
Yuri D'Elia
431c65fc76 Add 'msg_urgency' as a new filter to match on the urgency.
This patch adds a new filter 'msg_urgency' which _matches_ on the urgency on
the notification.

This allows to configure different notification parameters/scripts to different
urgency levels.
2014-03-06 17:22:08 +01:00
Yuri D'Elia
0466d41c50 Set _NET_WM_STATE_ABOVE and fix window type.
- Fix indentation.
- Fix wrong paramenters in call to XChangeProperty
- Do not try to raise the window, set _NET_WM_STATE_ABOVE instead
2014-03-06 16:47:06 +01:00
Yuri D'Elia
38702761a3 Fix layout alignment with dynamic width.
Update pango layout's width if width has changed and alignment != left.
2014-03-06 12:56:57 +01:00
Giuliano Schneider
9e03b5258f fix memory leak in string_to_argv 2014-03-05 13:31:01 +01:00
Gjum
5a5dab2ff3 Add script option to override shown icon 2014-03-01 14:53:30 +01:00
Gjum
d0662e78ec Introduce default icon setting 2014-02-28 22:18:57 +01:00
Gjum
a02ab4cf70 Change how icons are loaded
- use several icon_folders instead of a single icon_path
- check all paths for the icon
2014-02-27 15:15:11 +01:00
Gjum
c6ef8ecaed Fix error on non-existent icon names 2014-02-27 00:36:59 +01:00
Gjum
687a69a99f Change default icon size to 16x16 (was 32x32)
might fit better to dunst's minimalistic style
2014-02-26 23:27:07 +01:00
Gjum
01327a6bc4 Add option to align icons left or right 2014-02-26 22:43:53 +01:00
Gjum
d9e68803dc Fix stuff regarding icons
- fix icon_path string calculations
- add default settings to config.def.h
2014-02-26 19:05:32 +01:00
Gjum
c2801181f8 Add icon support
- icons are displayed at the top left corner
- disabed by default, fully backwards-compatible
- no additional dependencies, only cairo used
- TODO: only supports png (but all default images are png)
- TODO: message formatting is sometimes buggy
2014-02-25 23:35:08 +01:00
Sascha Kruse
2638178e5a Merge remote-tracking branch 'galex-713/patch-1' into merge
Conflicts:
	dunstrc
2014-01-22 22:20:31 +01:00
Sascha Kruse
bf6c1a6406 make notification stacking optional
see #137
2014-01-22 10:44:30 +01:00
Garreau Alexandre
438e215524 Little adjustments
Corrected text filling to 72 columns, indentations between lines, some miswriting (“<s/>”), points, caps, <pro://url/file.html> syntax, etc.
2014-01-03 01:11:12 +01:00
Sascha Kruse
aa585017e0 Merge pull request #133 from progandy/master
fix dynamic width calculation
2013-12-30 14:52:06 -08:00
progandy
80af8a1030 fix dynamic width calculation 2013-12-06 07:01:51 +01:00
Sascha Kruse
92cda4319d note about compile errors with outdated config.h 2013-08-23 21:39:55 +02:00
Steven Allen
95c67908c1 Fix memory leak in URL scanning code 2013-08-12 18:37:54 -07:00
Sascha Kruse
6a3a855b48 Merge pull request #117 from aliasbind/master
Add "show_indicators" option
2013-07-27 13:35:15 -07:00
Andrei Gorgan
619076660b Add "show_indicators" option
Add an option for disabling marking messages containing URLs or actions.
This means that messages will not be displayed with "(U)" or "(A)"
before them, but you can still use the context menu on them.
2013-07-21 15:31:41 +03:00
Sascha Kruse
41e5976e6d set _NET_WM_WINDOW_TYPE (thanks lexming)
fix #113
2013-07-16 13:30:46 +02:00
Sascha Kruse
0ccd06faf3 don't increment dup_count when progess differs
work around the fact that notify-send doesn't expose the replaces-id.
2013-07-16 13:22:53 +02:00
Sascha Kruse
5cd2b26d0f compare summary & body when looking for duplicates
this way similar notifications with different progres hint are seen as duplicates.

fix #114
2013-07-16 13:22:47 +02:00