Commit graph

332 commits

Author SHA1 Message Date
Sebastian Dröge
9bdd305b8f Make sure to override vfuncs of all parent classes correctly 2018-11-19 11:31:46 +02:00
Sebastian Dröge
243f4420e1 Run everything through rustfmt 2018-11-08 00:02:26 +02:00
Sebastian Dröge
27cbaee340 First run lints, then tests 2018-11-08 00:01:16 +02:00
Sebastian Dröge
e43a517f92 Run gitlab-ci also with Rust 1.28 2018-11-08 00:01:08 +02:00
Sebastian Dröge
9c47ce4ee9 Point to the new repo location in README.md 2018-11-08 00:01:01 +02:00
Sebastian Dröge
8e500ae2eb Change all references from GitHub to freedesktop.org GitLab 2018-11-08 00:00:39 +02:00
Arun Raghavan
bca2c64439 Implement From instead of Into for FlowError -> FlowReturn
It is recommended to implement From as that is more flexible and
includes an implicit Into instance.
2018-11-07 23:58:48 +02:00
Arun Raghavan
cd930be47f Update gitignore for Cargo.lock and vim files 2018-11-07 23:58:35 +02:00
Jordan Petridis
c8d30cbab3 CI: Add gitlab-ci config.
Similar to how ti was done for gstreamer-rs.
See [1] for more.

[1] https://github.com/sdroege/gstreamer-rs/pull/132
2018-11-07 23:58:26 +02:00
Sebastian Dröge
9bccab9071 Remove travis cargo cache 2018-11-07 23:58:16 +02:00
Sebastian Dröge
5ab98981b3 Update travis to use GStreamer 1.14.3 binaries (including OpenGL library) 2018-11-07 23:58:09 +02:00
Sebastian Dröge
307238b858 Update versions of everything and use releases instead of GIT 2018-09-10 01:56:25 +03:00
Sebastian Dröge
d768b08140 Update CHANGELOG.md for 0.3.0 2018-09-08 20:25:24 +03:00
Sebastian Dröge
5fd1f2bcbe Remove accidentally committed mixer module 2018-09-06 14:21:24 +03:00
Sebastian Dröge
17193e3308 Update num-rational to 0.2 2018-09-06 14:19:47 +03:00
Sebastian Dröge
5cac22d1c0 Switch gobject-subclass repository URI 2018-09-06 13:56:16 +03:00
Sebastian Dröge
5e55ed6b6c Add support for subclassing GstAggregator and GstAggregatorPad 2018-08-01 19:13:42 +03:00
Sebastian Dröge
bf63a823cd Use from_glib_borrow() for more vfunc parameters 2018-07-30 12:24:12 +03:00
Sebastian Dröge
d1f90d0fea Add support for implementing GstChildProxy 2018-07-30 12:20:56 +03:00
Sebastian Dröge
0826906704 Add support for subclassing ghost pads 2018-07-30 11:22:07 +03:00
Sebastian Dröge
484c5186cd Add support for subclassing pads 2018-07-30 11:15:29 +03:00
Sebastian Dröge
dcb3683232 Run everything through latest rustfmt 2018-07-27 13:35:58 +03:00
Sebastian Dröge
bdfc95e6e8 Get rid of send-cell dependency and fix reference cycles 2018-07-27 13:35:24 +03:00
Sebastian Dröge
6e33313b78 Make use of downcast_ref() to prevent some clones 2018-07-12 08:35:09 +03:00
Sebastian Dröge
b3089ca047 Use ObjectExt::notify() instead of the gobject-subclass variant 2018-07-11 16:12:10 +03:00
Sebastian Dröge
a9960f1fc0 Get rid of callback_guard! as unwinding through FFI is defined behaviour now and aborts 2018-06-24 14:56:11 +03:00
Sebastian Dröge
754373ba6c Update to byte-slice-cast 0.2 2018-06-01 12:02:32 +03:00
Thibault Saunier
25af5afb2b Move plugin-simpler::error code back to gst-plugin
Prepatory work to write element base class for decoders (which will be
outside of plugin-simple).
2018-05-13 13:53:18 +03:00
Sebastian Dröge
48ce43ce06 Update to muldiv 0.2 2018-05-11 10:37:34 +03:00
Sebastian Dröge
389e25ae03 Fix diff links in the CHANGELOG.md 2018-05-09 12:32:59 +03:00
Sebastian Dröge
57dc9451cc Update CHANGELOG.md for 0.2.1 2018-05-09 12:30:23 +03:00
Sebastian Dröge
3703999895 Fix memory leak in ElementClass::add_pad_template()
It's taking the pad template as transfer-floating, not transfer-full.
2018-05-09 12:00:55 +03:00
Sebastian Dröge
2c0e7a9192 Update for gobject-subclass API changes 2018-05-04 13:58:02 +02:00
Sebastian Dröge
88596f933f Update CHANGELOG.md for 0.2.0 2018-05-02 15:29:47 +03:00
Sebastian Dröge
318656ea9b Add api-bindings category to the crate 2018-05-02 14:12:39 +03:00
Sebastian Dröge
1f596d414d Use unsafe impl for the Instance trait impl 2018-05-02 13:48:03 +03:00
Sebastian Dröge
6803cb5fac Move gobject-subclass to its own repository 2018-05-01 17:55:27 +03:00
Sebastian Dröge
80793cd766 Move export/re-export cleanup 2018-05-01 17:43:52 +03:00
Sebastian Dröge
9559742e19 Clean up module exports/re-exports 2018-05-01 17:30:02 +03:00
Sebastian Dröge
51b21ef977 Cleanup up imports/macro_use 2018-05-01 17:25:49 +03:00
Sebastian Dröge
8bc3f12061 Run everything through rustfmt again 2018-05-01 17:16:12 +03:00
Dirk Van Haerenborgh
d74995ee7e remove Send+Sync requirement from object. Does not bode well with gtk 2018-05-01 17:16:07 +03:00
Dirk Van Haerenborgh
a401427a0c add Instance trait implementation for InstanceStruct 2018-05-01 17:11:18 +03:00
Dirk Van Haerenborgh
31a48c4baa Split out base object traits
This allows using this independent from GStreamer for subclassing e.g.
GIO or GTK GObjects.

Fixes https://github.com/sdroege/gst-plugin-rs/issues/28
Fixes https://github.com/sdroege/gst-plugin-rs/pull/32
2018-05-01 17:11:18 +03:00
Sebastian Dröge
f2f18ebb27 Fix ElementImplExt::catch_panic_pad_function() to actually work 2018-04-05 12:16:09 +03:00
Sebastian Dröge
c7103765db Run everything through rustfmt again 2018-04-05 11:36:10 +03:00
Sebastian Dröge
40f243dfc3 Move catch_panic_pad_function() into a generic place for all element subclasses 2018-04-05 11:34:57 +03:00
Sebastian Dröge
7bffce7a6f Fix compilation with gobject-sys changes to use plain uints for bitflags 2018-04-04 17:32:46 +03:00
Sebastian Dröge
d25b5006cb Run everything through rustfmt again 2018-04-01 12:12:39 +03:00
Sebastian Dröge
3db1c92663 Use ptr::NonNull in various places 2018-04-01 12:12:27 +03:00