634 Commits

Author SHA1 Message Date
Sascha Kruse
2a62a045cc unmaintained notice in README 2016-10-28 15:17:52 +02:00
Sascha Kruse
f60131258a Merge pull request #237 from travisred/master
Fixed a couple of misspelled words
2015-09-11 12:28:07 +02:00
Travis Reddell
a724d8e3ad Fixed a couple of misspelled words 2015-09-10 11:30:58 -07:00
Sascha Kruse
f0ca84e4cd Merge pull request #235 from catharsis/settings-format-template-helptext-typofix
settings: Trivial typo fix on format option description
2015-08-26 14:31:12 +02:00
Anton Löfgren
3d11743d3a settings: Trivial typo fix on format option description
Signed-off-by: Anton Löfgren <anton.lofgren@gmail.com>
2015-08-24 18:10:08 +02:00
Sascha Kruse
b7eb981b0b Merge pull request #230 from springworm/always_script
Add option to always run script (even for suppressed notifications)
2015-07-01 12:22:40 +02:00
Spencer
2ce9b72591 Merge branch 'always_script' of github.com:springworm/dunst into always_script 2015-06-30 19:23:37 -07:00
Spencer
504477edc1 add option to run scripts for suppressed notifications - fix #212 2015-06-30 19:22:32 -07:00
Spencer
dd63fad928 add option to run scripts for suppressed notifications 2015-06-30 19:16:53 -07:00
Sascha Kruse
08fa6ea998 Merge pull request #217 from dorkster/master
Fix memory leaks
2015-03-05 12:02:36 +01:00
Justin Jacobs
61ce42a7e2 Fix memory leaks 2015-03-03 00:49:24 -05:00
Sascha Kruse
f8e1e330b2 Merge pull request #209 from Nauxuron/master
Notification height option
2014-12-17 14:56:43 +01:00
Sascha Kruse
56b0a7c7d9 Merge pull request #204 from wavexx/rule_allow_markup
Fix markup handling.
2014-12-17 11:35:52 +01:00
Wim de With
dfb4c933dc Fix issue with ceil and floor 2014-12-13 19:21:56 +01:00
Wim de With
f4cdb2acfa Add notification_height option
Fix the line_height description
2014-12-13 17:02:31 +01:00
Yuri D'Elia
b5e00c43c7 Fix markup handling.
The current "allow_markup" setting will simply strip any markup from the final
notification, which includes formatting elements. On top of that, literal
[<>&..] symbols are not quoted before are being passed onto pango in several
places, resulting in stray error messages.

This patch fixes allow_markup to correctly strip markup only from the incoming
notification, not from the format.

You might also want to treat incoming messages as literal text (supplied by
un-aware programs), in which case you need to properly quote the text before
it's processed by pango. A new setting is introduced, called "plain_text",
which forces incoming messages to be treated literally.

allow_markup/plain_text are complimentary to each other.

The new rule actions allow to narrow down the handling to a specific block,
achieving notification Zen.

The following is done in this patch:

- Fix ruleset initialization in config.def.h.
- Introduce new allow_markup/plain_text actions in the rules.
- Fix handling of allow_markup to strip markup from summary/body only,
  preserving format's markup.
- Fix broken string functions (string_replace_all didn't handle recursive
  replacements correctly).
- Fix quoting of other literal fields (icon name/appname).
- Fix handling of ignore_newline as well (applied only on summary/body).
- Dunstrc update with the same previous defaults.
2014-12-05 16:05:41 +01:00
Sascha Kruse
be0c965027 Merge pull request #203 from akseli0x61/master
Add instructions to set font size and multiple font options
2014-12-03 17:51:10 +01:00
Akseli Koskinen
2751c6738d Add instructions to set font size and multiple font options 2014-12-02 11:29:34 +02:00
Sascha Kruse
9117df53ed Merge pull request #200 from jan-schreib/check_malloc
check return values of malloc and handle error.
2014-11-04 16:33:57 +01:00
Jan S
2674268aef fix NULL check 2014-11-04 16:31:06 +01:00
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
Sascha Kruse
f3fcc109f4 Fix comparison of registration_id
Fixes #193
2014-09-11 10:27:43 +02:00
Sascha Kruse
4b7d1f722c fix '-' and '_' matching in urls
fix issue #192
2014-08-27 09:44:31 +02:00
Sascha Kruse
c319472982 fix spelling error 2014-08-13 06:54:25 +02:00
Sascha Kruse
716051064a fix endless loop with duplicate sections
fix #191
2014-08-12 20:26:24 +02:00
Sascha Kruse
3e621b994a Merge pull request #190 from jb/master
Fix trailing spaces and spelling
2014-08-03 20:21:52 +02:00
Josh Brown
d3ae6c5951 Remove trailing spaces from all other files 2014-08-03 15:47:59 +00:00
Josh Brown
76419dcc76 Fix spelling in dunstrc 2014-08-03 15:42:12 +00:00
Josh Brown
30f2af439d Remove trailing whitespace in .dunstrc 2014-08-03 15:32:08 +00:00
Sascha Kruse
604feab0d2 Merge pull request #189 from Necoro/fix_signal
Fix signal handling to avoid deadlocks
v1.1.0
2014-07-29 22:16:43 +02:00
Sascha Kruse
088cfe1021 Merge pull request #186 from progandy/master
allow file:// protocol for icons
2014-07-29 21:50:21 +02:00
Sascha Kruse
6f3bd10318 Merge pull request #185 from mickael9/patch-1
Add g_strdup to argv elements in string_to_argv
2014-07-29 21:49:34 +02:00
René 'Necoro' Neumann
36a858da3f Set dependency to '>=glib-2.36' as needed by the glib signal handler 2014-07-09 17:09:52 +02:00
René 'Necoro' Neumann
5ff85b3d28 Integrate signal handling with the GLib main loop 2014-07-09 16:48:24 +02:00
progandy
84fcd78d77 allow file:// protocol for icons 2014-07-07 17:10:23 +02:00
mickael9
a69354b1aa Add g_strdup to argv elements in string_to_argv 2014-06-20 16:03:03 +02:00
Sascha Kruse
131ff38e65 Merge pull request #183 from nopjmp/stack-replace-fix
Notifcations that replace another still 'stack'
2014-06-17 13:40:14 +02:00
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