Nikos Tsipinakis
7e58e5c64c
Add expandtab to vim modelines & expand abbreviations
...
Add expandtab to vim modelines so that spaces are expanded to tabs, make
life easier for people that have vim configured to use tabs by default.
Expand modeline abbreviations to improve readability.
2016-11-17 20:27:46 +02:00
Nikos Tsipinakis
9dd4768a1f
Switch to _DEFAULT_SOURCE, _BSD_SOURCE is deprecated
2016-11-17 19:50:00 +02:00
Jack Henschel
9db667be45
Add note about ctrl+grave to default config
...
Fixes #268
2016-11-10 01:20:20 -03:00
vimbaer
69537c2c1d
Don't trim leading whitespace, fixes #208 .
...
Use g_strchomp (https://developer.gnome.org/glib/stable/glib-String-Utility-Functions.html#g-strchomp ) instead of g_strstrip which both removes leading and trailing whitespace.
2016-11-10 00:48:42 -03:00
Eizen
812b3f972f
Merge pull request #210
2016-11-10 00:35:55 -03:00
Yuri D'Elia
cf910b0683
Avoid allocations in string_replace_at when possible.
2016-11-10 00:32:18 -03:00
Yuri D'Elia
98566667c7
Consistent indentation.
2016-11-10 00:32:18 -03:00
Yuri D'Elia
4b53e44d92
Avoid allocations by performing stripping in-place
...
Introduce a helper function (string_strip_delimited).
2016-11-10 00:32:18 -03:00
Yuri D'Elia
bed4877d7b
Fix/simplify notification_strip_markup
...
- Strip markup before interpreting entitites.
- Handle *any* tag uniformly (<span> is also handled by pango)
2016-11-10 00:32:18 -03:00
Jakob Nixdorf
8ee86dc477
add initial support for per-urgency frame-colors
2016-11-06 16:52:13 -03:00
Moritz Luedecke
30085f7abd
Add option to hide duplicates count
2016-11-01 16:28:32 -03:00
Ilya Tumaykin
40905c9ff8
Remove unneeded Xft include in x.h
...
https://github.com/knopwob/dunst/issues/267
2016-10-29 03:20:52 -03:00
Ilya Tumaykin
8ca41b13a8
Fix: Multiple implicitly declared functions
...
https://github.com/knopwob/dunst/issues/267
2016-10-29 02:52:53 -03:00
Ilya Tumaykin
d2c63f1f00
Fix: Add a couple of missing stdlib.h includes required for exit()
...
https://github.com/knopwob/dunst/issues/267
2016-10-29 02:52:30 -03:00
Ilya Tumaykin
be72e22c38
Fix: Respect CFLAGS when building dunstify
...
https://github.com/knopwob/dunst/issues/267
2016-10-29 02:51:49 -03:00
kongo2002
4f16213f9f
add some graceful termination handling
2016-10-29 02:27:29 -03:00
kongo2002
f25c294569
fix memleaks
2016-10-29 02:27:17 -03:00
Justin Jacobs
539d4dd102
Fix crash from uninitialized pointer value
2016-10-29 02:27:08 -03:00
Johannes M. Griebler
7ba4c1cc9b
Fix two segfaults trying to display invalid icons
2016-10-16 22:29:10 +02:00
Johannes M. Griebler
57d3b293a2
Free original pixbuf after scaling
2016-10-16 12:18:45 +02:00
Johannes M. Griebler
ce8fe45cbf
Add configuration option for icon scaling
...
The maximum size for icons can now be set with the max_icon_size option.
Setting its value to 0 will disable the scaling of icons.
2016-10-14 18:12:09 +02:00
Johannes M. Griebler
342a23548f
Scale images down if they exceed a certain size
2016-10-14 17:48:59 +02:00
Andrew Krasichkov
ad2aef6606
Merge pull request #2 from jgriebler/master
...
Actually fix segfault :)
2016-10-13 21:59:28 +03:00
Johannes M. Griebler
9e80de6153
Actually fix segfault
2016-10-13 20:51:49 +02:00
Andrew Krasichkov
cafedc3ea4
Merge pull request #1 from jgriebler/master
...
Fix segfault in startup notification
2016-10-13 21:45:00 +03:00
Johannes M. Griebler
1c1d173379
Fix segfault while displaying startup notification
2016-10-13 19:59:08 +02:00
Johannes M. Griebler
33ab80f1a9
Merge icon handling from buglloc/master
2016-10-13 19:18:00 +02:00
Johannes M. Griebler
f1b0e83776
Take lightweight tags into account in VERSION
2016-10-13 19:08:59 +02:00
Andrew Krasichkov
a6d9626c54
Try to support raw image data (see knopwob/dunst#151 )
2016-03-09 18:37:04 +02:00
Andrew Krasichkov
b6f56be97b
Added support for more image formats for icons ( see knopwob/dunst#150 )
2015-11-15 21:16:37 +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