Eizen
7f12704b07
Merge branch 'master' of tsipinakis/dunst
2016-11-22 15:35:27 -03:00
Eizen
2d562968c0
Fix raw data when icon position is off and uninitialized pointer
2016-11-22 15:22:28 -03:00
Nikos Tsipinakis
256440b25a
Implement tests for most of the util functions
...
Also improved the implementation of the test_string_replace_char test.
2016-11-22 18:47:38 +02:00
Nikos Tsipinakis
756dee58c7
Remove unused function
2016-11-22 17:55:28 +02:00
Sascha Kruse
360985b11a
update readme with maintainership info
2016-11-22 13:24:57 +01:00
Eizen
2784950f45
Fix uninitialized value warning and code indentation
2016-11-22 01:47:42 -03:00
Eizen
d605c91790
Fix merge commit
2016-11-20 00:03:25 -03:00
Eizen
b6dafbd444
Merge pull request #174
2016-11-19 23:58:17 -03:00
Eizen
b8364f4104
Fix missing link README
2016-11-19 20:16:35 -03:00
Eizen
dfdc082687
Change README
...
Move README to docs/dunst.pod to be used as man page. Write a README with building instructions and dependencies. Remove INSTALL as it's no longer necessary.
2016-11-19 20:11:21 -03:00
Nikos Tsipinakis
d441e950d8
Implement test target and add the first test
...
make test will now compile the tests to test/test.
The first test, testing string_replace_char from utils.c, was added.
2016-11-19 12:26:00 +02:00
Nikos Tsipinakis
7ba0fe03ae
Add 'greatest' testing framework
...
Never used this framework before but it seems promising.
2016-11-19 12:17:23 +02:00
Nikos Tsipinakis
e0a8b233c2
Move the main function to main.c
...
Move the main function to main.c in the git root to allow for
alternative main functions to be linked in its place. Specifically this
will be used to link the test runner main to run tests.
2016-11-19 12:15:39 +02:00
Nikos Tsipinakis
32fb32f96f
Split clean and install targets to *-doc *-dunst
...
This allows better control over when to clean and install, and is more
easily expandable in the long run.
2016-11-19 12:08:27 +02:00
Nikos Tsipinakis
2df2e7d06c
Move dunst source files to src/
2016-11-19 11:54:03 +02:00
Nikos Tsipinakis
4b36abff9a
Fix uninitialised pointer warning
2016-11-18 21:30:48 +02:00
Nikos Tsipinakis
8cadd8f905
Don't indent top-level comments
2016-11-17 22:11:08 +02:00
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
Sascha Kruse
2a62a045cc
unmaintained notice in README
2016-10-28 15:17:52 +02: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
Bernard Nauwelaerts
bd84bcb70d
fix/sigsegv-due-to-null-notification-category
2016-09-02 14:05:24 +02:00
Bernard Nauwelaerts
94eecd6b3b
fix/read-category-from-rule
2016-09-02 11:21:36 +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