summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Bump version to 0.7.100.7.10Marco Trevisan (Treviño)2022-04-272-1/+20
| | | | Update NEWS.
* CI: Also install the built files and expose docs and logsMarco Trevisan (Treviño)2022-04-271-1/+9
|
* notification: Add support for getting actions activation tokenMarco Trevisan (Treviño)2022-04-275-0/+113
| | | | | | | | | | | | | Notification actions can now be activated with an activation token containing platform data. So update the notification-spec to include latest version of the specification, and expose the activation token during an action activation. Not to change the API, by modifying the type of NotifyActionCallback it's just better to provide a function to fetch the activation token during activation only, so that this can be retro-compatible. Reference: https://gitlab.freedesktop.org/xdg/xdg-specs/-/commit/b9a4700
* notify-send: Clear errors that could be re-usedMarco Trevisan (Treviño)2022-04-251-2/+2
| | | | | We're using error variable multiple times, and this may lead to problems when trying to set it again. So let's just clear once it's used.
* notify: Use the application ID if available to set the fallback app nameMarco Trevisan (Treviño)2022-04-251-0/+8
|
* docs/notify-send: Add missing --app-name description to manualBen Blain2022-04-251-0/+6
|
* notify-send: Check for notification server actions capability supportBen Blain2022-04-251-1/+17
|
* notify-send: Add support for notification actions and responsesBen Blain2022-04-252-0/+59
| | | | | The activated action name is written to stdout and the notification is closed when a valid action has been selected.
* notify-send: Add option to wait until notification has been closedBen Blain2022-04-252-0/+45
| | | | | If an expiration timeout is set, the notification is not waited longer than such time.
* docs/notify-send: Add print/replace-id arguments to man pageMatthias Sweertvaegher2022-04-251-0/+12
|
* notify-send: Support for replacing an existing notificationPaul Collins2022-04-251-3/+18
| | | | | | | | | | | | | | Support printing and overriding notification ID, so that it's possible to replace a notification that is currently showing with an updated content. Based on patch as provided by Paul Collins in the following bug report: https://bugs.launchpad.net/ubuntu/+source/libnotify/+bug/257135/comments/8 Co-authored-by: Marco Trevisan (Treviño) <mail@3v1n0.net> Fixes #19
* notification: Keep converted URIs as such when we prepend a pathMarco Trevisan (Treviño)2022-04-251-0/+11
|
* notification: Do not duplicate calls on parse functionsMarco Trevisan (Treviño)2022-04-251-9/+9
|
* notification: Improve debug logs when rewriting pathsMarco Trevisan (Treviño)2022-04-251-4/+5
|
* notification: Avoid creating a new hint variant when nothing has changedMarco Trevisan (Treviño)2022-04-251-1/+1
|
* notification: Use snap name and app name as fallback desktop-entryMarco Trevisan (Treviño)2022-04-251-2/+95
| | | | | | | | | | Snaps use desktop IDs based on the snap name and the application name inside the snap, so if we're in a such container, we need to compute the desktop-entry using those values. We can figure them out from the snap cgroup they're in. In such case, don't even try to use the GApplication ID as that is likely wrong in a snapped environment.
* notification: Preserve snap details into the private structMarco Trevisan (Treviño)2022-04-251-19/+65
| | | | | | We may need to use them in various places, so there's no point to repeat the same in multiple places, this way we can also use some shortcuts for non-snap setups.
* notification: Do not try to append snap name to desktop when it's a pathMarco Trevisan (Treviño)2022-04-251-1/+1
|
* notification: Do not prepend SNAP prefix when is already presentMarco Trevisan (Treviño)2022-04-251-5/+16
| | | | | | | | | We used to just add it again, to eventually figure out that the file did not exists, but may not work properly in some scenarios. Also always fill the path_filename when using a file-name only, as that may be refer to something under the SNAP path, and in such case we want to try check if that exists before giving up.
* build: Do not require g-ir-scanner on introspection=autoMarco Trevisan (Treviño)2022-04-211-2/+3
|
* notification: Use g_memdup2 when availableMarco Trevisan (Treviño)2022-04-211-0/+4
| | | | | It's not really an issue here, as we use a properly typed len, but better not to use a deprecated and potentially dangerous API.
* build: Avoid warnings or mis-behavior in recent meson versionsMarco Trevisan (Treviño)2022-04-211-1/+1
| | | | | In future meson will check the run_command result by default, while it's fine for us, it would cause our nicer error message not to work.
* Revert "Revert "Merge branch 'readme' into 'master'""Marco Trevisan (Treviño)2022-04-211-0/+16
| | | | | | This reverts commit 1ad46301071856663735812a4dd7c15e6f054fd4. As per: https://gitlab.gnome.org/GNOME/libnotify/-/commit/1ad46301#note_1434358
* Send the application ID when possibleCorentin Noël2022-04-211-0/+18
|
* docs: Use consistent IDs in spec buildDavid King2022-04-211-0/+1
| | | | | This avoids differences between IDs for separate builds of the specification.
* Revert "Merge branch 'readme' into 'master'"Logan Rathbone2022-03-211-16/+0
| | | This reverts merge request !21
* Merge branch 'readme' into 'master'Logan Rathbone2022-03-211-0/+16
|\ | | | | | | | | Add README clarifying status of libnotify See merge request GNOME/libnotify!21
| * Add README clarifying status of libnotifyMaximiliano Sandoval R2022-03-141-0/+16
|/ | | | | | See discussions at https://gitlab.gnome.org/GNOME/libnotify/-/issues/20. Based off https://gitlab.gnome.org/GNOME/libnotify/-/merge_requests/19
* notify-send: Give failing exit code if showing notification failsRay Strode2021-05-141-4/+14
| | | | | | | | | Right now notify-send will quietly return a successful exit status even if showing the notification fails. This commit changes the behavior to instead fail on failure. https://gitlab.gnome.org/GNOME/libnotify/-/merge_requests/13
* Merge branch 'update_documenation' into 'master'Marco Trevisan2021-04-061-1/+1
|\ | | | | | | | | Update documenation (generated man file) to express that plasma notification... See merge request GNOME/libnotify!14
| * Take Marco Trevisan text enhencmentBoris Shtrasman2020-09-171-1/+1
| |
| * enhence textBoris Shtrasman2020-09-011-1/+1
| |
| * Update documenation (generated man file) to express that plasma notification ↵Boris Shtrasman2020-08-311-1/+1
| | | | | | | | system will ignore timeout value when level is in critical mode
* | Merge branch 'master' into 'master'Alberts Muktupāvels2021-03-262-14/+3
|\ \ | | | | | | | | | | | | notify-send: Support commas in icon filenames See merge request GNOME/libnotify!15
| * | notify-send: Support commas in icon filenamesThorsten Wißmann2021-03-262-14/+3
|/ / | | | | | | | | | | | | | | | | | | | | | | Do not cut off an icon filename (passed to -i) at the first comma character. The original motivation probably was to support a list of icon names in -i separated by comma. However, this has never been implemented and the help text for -i also only mentions "an icon". Hence, no functionality is lost by this change. In contrast, -i now supports commas in icon filepaths. https://gitlab.gnome.org/GNOME/libnotify/-/issues/16
* | Merge branch 'fix-ci' into 'master'Alberts Muktupāvels2020-12-241-0/+3
|\ \ | |/ |/| | | | | fix CI build stuck on TZ data config See merge request GNOME/libnotify!16
| * fix CI build stuck on TZ data configMatthias Sweertvaegher2020-12-141-0/+3
|/ | | | | | | | | | | | | when pushing a new commit, I noticed the CI build gets stuck on: Configuring tzdata ------------------ Please select the geographic area in which you live. Subsequent configuration questions will narrow this down by presenting a list of cities, representing the time zones in which they are located. 1. Africa 3. Antarctica 5. Arctic 7. Atlantic 9. Indian 11. US 2. America 4. Australia 6. Asia 8. Europe 10. Pacific 12. Etc Geographic area:
* release: 0.7.90.7.9Marco Trevisan (Treviño)2020-02-262-1/+10
|
* Merge branch 'wip/jtojnar/manpage' into 'master'Marco Trevisan2020-01-135-0/+143
|\ | | | | | | | | | | | | Add notify-send manpage Closes #4 See merge request GNOME/libnotify!6
| * Add notify-send manpageJan Tojnar2020-01-135-0/+143
| | | | | | | | | | | | Taken from Debian, converted to Docbook and fixed some issues. Closes: https://gitlab.gnome.org/GNOME/libnotify/issues/4
* | Merge branch 'snap-paths-support' into 'master'Marco Trevisan2020-01-131-0/+106
|\ \ | | | | | | | | | | | | notification: use snap namespace and prefix whent launched inside snap See merge request GNOME/libnotify!5
| * | notification: Handle snap applicationsIain Lane2019-08-141-0/+106
| |/ | | | | | | | | | | | | | | | | | | | | | | When a non-relocatable application is packaged as a snap, its resources will be visible under `${SNAP}`. We can discover these resources by probing paths that are given to us and trying the same path under `${SNAP}` if the probe fails. Snap packages have desktop files namespaced by the snap name. This name is available inside the snap environment as `${SNAP_NAME}`. Also probe desktop files and try this form of mangled name if the referenced desktop file is not found.
* | Merge branch 'wip/jtojnar/drop-autotools' into 'master'Marco Trevisan2020-01-1313-1843/+11
|\ \ | |/ |/| | | | | Drop Autotools See merge request GNOME/libnotify!11
| * ci: Do not pass default flags to mesonJan Tojnar2020-01-131-1/+1
| |
| * Drop AutotoolsJan Tojnar2020-01-1313-1842/+10
|/
* build: check supported linker args before buildJan Tojnar2019-04-262-2/+4
| | | | | MacOS linker does not support --version-script argument so we need to only add it to ldflags when it is available.
* Bump version to 0.7.80.7.8Florian Müllner2019-03-283-2/+12
| | | | Update NEWS.
* build: Don't use absolute path with 'subdir' keywordwip/fmuellner/fix-meson-buildFlorian Müllner2019-03-281-2/+3
| | | | | | | Newer meson versions expect a relative path (to the includedir option) there and reject passing an absolute path. https://gitlab.gnome.org/GNOME/libnotify/merge_requests/8
* Merge branch 'notify-send-support-file-proto' into 'master'Iain Lane2019-02-151-1/+1
|\ | | | | | | | | notify-send: allow passing colon as hint value See merge request GNOME/libnotify!4
| * notify-send: allow passing colon as hint valueMarco Trevisan (Treviño)2019-02-151-1/+1
|/ | | | | | | | | | | | | While some hints like image-path or sound-file supports parameters using the file:// protocol, it's impossible to pass such hints to notify-send, because it splits the passed argument so that it can have an unlimited number of colons, while only 3 should be there (as per TYPE:NAME:VALUE format). So, make `g_strsplit` to accept only 3 tokens as maximum, while pass the remaining parameters all-together. So now it's possible to do notify-send -h string:image-path:file:///usr/share/icons/foo.png