Commit graph

983 commits

Author SHA1 Message Date
LAGonauta 839d2a5316 Initial notification provider using WinRT
Crashes when activating actions, might be related to threads.
2021-06-09 07:19:32 -03:00
LAGonauta be0e1841b8 Anitial builder 2021-06-09 07:19:32 -03:00
LAGonauta 2476b5e04b Initial experiments with notification XML building 2021-06-09 07:19:32 -03:00
LAGonauta bc9b9b95e0 Add template getter 2021-06-09 07:19:31 -03:00
LAGonauta 9d9b9e8e42 Rename plugin vala file 2021-06-09 07:19:31 -03:00
LAGonauta 0153953b5d Rename enums to better match what Vala expects 2021-06-09 07:19:30 -03:00
LAGonauta 363b200272 Add template type enum 2021-06-09 07:19:28 -03:00
LAGonauta c6a96fc025 Cleanup dismissed actions on toast notification finalizer 2021-06-09 07:19:27 -03:00
LAGonauta 898470ed23 Add failed and dimissed actions 2021-06-09 07:19:25 -03:00
LAGonauta 6cdaad315a Fields must be created in the private struct
Also change unordered_map to list, we do not need hashing and stuff.
2021-06-09 07:19:24 -03:00
LAGonauta 91d61843f2 No need to enable coroutines 2021-06-09 07:19:22 -03:00
LAGonauta c4f526329d Remove unity compilation unit 2021-06-09 07:19:21 -03:00
LAGonauta 40bf3d2fd4 Actions can stack 2021-06-09 07:19:20 -03:00
LAGonauta 7fd918f32d Fix string conversion 2021-06-09 07:19:19 -03:00
LAGonauta 1d1b00222f Add toastnotifier 2021-06-09 07:19:17 -03:00
LAGonauta 8df226ec29 Increase ref on event token 2021-06-09 07:19:15 -03:00
LAGonauta 13e0a5c0c4 Use string_view 2021-06-09 07:19:14 -03:00
LAGonauta ca0cab0e36 Initial code to allow buttons and text 2021-06-09 07:19:13 -03:00
LAGonauta ae9671716f Initial GObject wrapper for WinRT notifications
Still missing a lot of stuff
2021-06-09 07:19:11 -03:00
LAGonauta ce0deed0dc Initial callback support 2021-06-09 07:19:09 -03:00
LAGonauta 95051d304a Initial code for using winrt headers 2021-06-09 07:19:08 -03:00
LAGonauta 915dd4c738 Add MIT licensed winrt headers 2021-06-09 07:19:06 -03:00
LAGonauta e3356bb3aa Do not use GLib to open links in messages
Use ShellExecute
2021-06-09 07:19:05 -03:00
LAGonauta 03774a3756 Fix muc invite and voide request not working 2021-06-09 07:19:05 -03:00
LAGonauta 2d63c8ae77 Rename field 2021-06-09 07:19:04 -03:00
LAGonauta 96f96ead7e Use list with all notifications 2021-06-09 07:19:04 -03:00
LAGonauta 5f2e636868 Add notification retraction 2021-06-09 07:19:03 -03:00
LAGonauta d8bb9897a4 Add support for custom actions on notification 2021-06-09 07:19:02 -03:00
LAGonauta 08f2391acc Initial plugin using new notification provider 2021-06-09 07:19:02 -03:00
LAGonauta eae628758c Use VAPI and generate template in-app 2021-06-09 07:19:01 -03:00
LAGonauta 931f09504d Added 32-bit wintoast linker library 2021-06-09 07:19:01 -03:00
LAGonauta 5702b323c9 Use dynamic linking instead of runtime loading
Also made me notice that the signature of the function with the callback was wrong. Oops.
2021-06-09 07:19:00 -03:00
LAGonauta 198bce4a84 Allow null image_path 2021-06-09 07:18:59 -03:00
LAGonauta 8553a7cd86 Add callback support 2021-06-09 07:18:59 -03:00
LAGonauta 642ed6ab1b Convert C code to Vala 2021-06-09 07:18:58 -03:00
LAGonauta d36de2b9ea Use code from Dino.Ui.Util 2021-06-09 07:18:56 -03:00
LAGonauta 49978edebf Clean up 2021-06-09 07:18:55 -03:00
LAGonauta 65a26bce53 Refactor windows-notification plugin 2021-06-09 07:18:53 -03:00
LAGonauta 1d4bb774a5 Initial notification support 2021-06-09 07:18:51 -03:00
LAGonauta 3dd19fad71 Use last_index_of instead of index_of 2021-06-09 07:18:47 -03:00
LAGonauta 4a3306b479 Allow 32-bit linking
Win32 apis are __stdcall
2021-06-09 07:18:45 -03:00
LAGonauta 0b9bebd97e Use Dino.Util.get_content_type also on preview 2021-06-09 07:18:45 -03:00
LAGonauta 24890ca38a Export all plugin symbols on Windows 2021-06-09 07:18:44 -03:00
LAGonauta 50b2a0dc0a Do not hardcode GPG path on Windows 2021-06-09 07:18:43 -03:00
LAGonauta a6515ed826 Add implicit link directories to package HINT path on MingW
Instead of blacklisting those libraries
2021-06-09 07:18:43 -03:00
LAGonauta e7fd7f4726 Add --export-all-symbols to Windows compilation 2021-06-09 07:18:42 -03:00
LAGonauta 9022ac596b Every call to CoInitialize() must be balanced
with a call to CoUninitialize()
2021-06-09 07:18:42 -03:00
LAGonauta 823df3ed70 Add WIN32 fonts as a plugin 2021-06-09 07:18:26 -03:00
LAGonauta 6d5ee03e9e Set Windows executable version from PROJECT_VERSION 2021-06-09 07:17:22 -03:00
LAGonauta 1673ec3481 Added information and Dino icon to Windows executable 2021-06-09 07:17:22 -03:00