Commit Graph

94 Commits

Author SHA1 Message Date
Julian Ospald a951e61a6c
Update libnotify deps 2017-09-02 01:00:43 +02:00
Julian Ospald d830a339e1
Update libnotify-sys deps 2017-09-02 00:59:43 +02:00
Julian Ospald 843fb0c731
Fix build against latest glib 2017-07-19 19:47:08 +02:00
Julian Ospald afcf7a7581
Fix build against latest gtk-rs 2017-07-14 00:47:21 +02:00
Julian Ospald 831b761b02 Explicitly add LICENSE to libnotify-sys subdir
So we also make sure it ends up in the cargo crate.
2017-07-13 11:41:45 +02:00
Julian Ospald 8e955a6e08 Add badges to libnotify-sys 2017-07-13 11:35:04 +02:00
Julian Ospald a3d579d750 Fix LICENSE link 2017-07-13 11:24:15 +02:00
Julian Ospald 6536667a4d Reorder bagdes, add download count badge 2017-07-13 11:20:23 +02:00
Julian Ospald f954a77778 Add documentation badges 2017-07-13 11:12:44 +02:00
Ospald, Julian fc8ca1af63 Fix documentation 2017-07-11 16:33:31 +02:00
Ospald, Julian f28b8bc052 Bump to 1.0.1 2017-07-11 15:59:55 +02:00
Ospald, Julian 49f09df64a Remove obsolete dependency 2017-07-11 15:59:24 +02:00
Ospald, Julian a8b22fa6ef Cosmetic README fix 2017-07-11 15:53:01 +02:00
Ospald, Julian 5f551cf664 Add README.md to libnotify-sys 2017-07-11 15:53:01 +02:00
Ospald, Julian 08d77ee4ff Update metadata 2017-07-11 15:53:01 +02:00
Ospald, Julian 03059f79c6 Remove git dependencies 2017-07-11 15:53:01 +02:00
Ospald, Julian 091ee97b70 Remove BoolError occurences
Because currently depends on unpublished glib binding.
2017-07-11 15:53:01 +02:00
Ospald, Julian d939bee7ea Cargo fmt 2017-07-11 15:24:10 +02:00
Ospald, Julian 557ebbc93f Fix examples 2017-07-11 15:18:40 +02:00
Ospald, Julian b50ff703ad Update README 2017-07-11 15:06:27 +02:00
Ospald, Julian a75ae6a1fe Fix documentation 2017-07-11 14:48:23 +02:00
Ospald, Julian d2a17eba0b Fix compiler warnings 2017-07-11 14:48:17 +02:00
Ospald, Julian e789326c83 Update .gitignore 2017-07-11 14:36:45 +02:00
Ospald, Julian 6a96044a68 Fix examples 2017-07-11 14:36:21 +02:00
Ospald, Julian cee315cf36 Fix travis secret 2017-07-11 14:11:04 +02:00
Ospald, Julian ac0502b16c Merge branch 'gir' 2017-07-11 13:58:52 +02:00
Ospald, Julian fb42397f55 Fix README 2017-07-11 13:58:06 +02:00
Ospald, Julian 69f5fe66f1 Fix travis 2017-07-11 13:58:06 +02:00
Julian Ospald 13850652a7 Switch to gir 2017-07-11 13:58:06 +02:00
Ospald, Julian 965a64aa55 Drop use of gtypes 2017-07-10 11:57:41 +02:00
Ospald, Julian 9f6e3f5d31 Add Drop impl for Notification
The notification is now unrefed via the GObject system.
2017-07-10 11:53:22 +02:00
Julian Ospald 437f2cc756
Rename new_notification() to new() 2017-07-10 01:09:21 +02:00
Julian Ospald fe4d803efe
Small rewrite:
* Use error-chain for errors and expose them
* Don't use Context object, since the lifetimes get us in trouble
  when used with gtk-rs, which has callback closures with static
  lifetime. Instead we just expose notify_init()/notify_uninit() and
  panic when functions are called before notify_init().
2017-07-10 01:01:36 +02:00
Julian Ospald 172cbd5143
Add lifetime specifiers to &self 2017-07-09 21:46:44 +02:00
Julian Ospald 8c16ab53b5
Update travis secret 2017-07-09 19:52:57 +02:00
Julian Ospald f351cc15e2
Add Notification::close() 2017-07-09 19:33:53 +02:00
Julian Ospald b77584e0a0
Add Notification::clear_hints() 2017-07-09 19:33:32 +02:00
Julian Ospald c3897b7c0e
Add Notification::set_image_from_pixbuf() 2017-07-09 19:33:13 +02:00
Julian Ospald 6166c861e4
Add Notification::set_urgency() 2017-07-09 19:31:25 +02:00
Julian Ospald c2efdd0842
Add Notification::set_category() 2017-07-09 19:30:49 +02:00
Julian Ospald a52c50a318
Add Author 2017-07-09 14:38:55 +02:00
Julian Ospald 34880d2117
Bump version to 0.5.0 2017-07-09 14:34:45 +02:00
Julian Ospald 73eb0cc68d
Cosmetics 2017-07-09 14:25:30 +02:00
Julian Ospald 95263c33f8
Add Notification::set_hint() 2017-07-09 14:23:37 +02:00
Julian Ospald cdc4af3be1
Add Notification::update() 2017-07-09 14:22:36 +02:00
Julian Ospald 8c66220a4e
Add Notification::set_notification_timeout() 2017-07-09 14:22:06 +02:00
Julian Ospald 923c801814
Fix gtypes version constraint 2017-07-09 14:20:11 +02:00
Julian Ospald 6e5a9ab5d4
Switch to using glib-sys
We need GVariant and to_glib_none() later,
which must be from the crate glib_sys.
2017-07-09 14:19:48 +02:00
Julian Ospald bf90bccef8
Undeprecate 2017-07-09 13:52:54 +02:00
Julian Ospald 7d80600657
Fix body/icon pointing to garbage
The pattern matching moves 'body' and drops it after
creation of the pointer. We must avoid the move, by using 'ref'.
2017-07-09 12:51:55 +02:00