Guillaume Gomez
96266ff922
Generate missing doc aliases
2021-06-02 17:35:30 +02:00
Marijn Suijten
7fcd560d18
Update gir and regenerate
...
- Doc aliases for types;
- ffi constants for bitflags too;
- Completely overhauled docs generation under the hood (only emitting
valid links, more types receive documentation now).
2021-06-02 09:47:51 +02:00
Marijn Suijten
170f7214eb
Regen with extended Gir.toml
2021-06-01 13:40:52 +00:00
Marijn Suijten
b19dcd0b66
player/gir: Document manually implemented types and functions
2021-06-01 13:40:52 +00:00
Marijn Suijten
be33e4f776
rtsp-server/gir: Document manually implemented types and functions
2021-06-01 13:40:52 +00:00
Marijn Suijten
09d39a9cbb
rtp/gir: Document manually implemented types and functions
2021-06-01 13:40:52 +00:00
Marijn Suijten
f78cb39615
ges: Replace (set_)child_property with autogenerated implementation
...
This function is now autogenerated thanks to `glib::Value` being
declared as available in `Gir.toml` and does not seem to have any
deficiencies compared to the manual implementation [1].
[1]: https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/789#note_937493
2021-06-01 13:40:52 +00:00
Marijn Suijten
1c05f61bb8
ges/gir: Document manually implemented types and functions
2021-06-01 13:40:52 +00:00
Marijn Suijten
9b600416a1
check/gir: Document manually implemented types and functions
2021-06-01 13:40:52 +00:00
Marijn Suijten
d43234b65e
gl: Reexport glib
crate from crate root
...
Reexporting dependencies is common for all crates here, and relied upon
by the documentation generator.
2021-06-01 13:40:52 +00:00
Marijn Suijten
4b3ea270d8
gl/gir: Document manually implemented types and functions
2021-06-01 13:40:52 +00:00
Marijn Suijten
800ad5fc4a
video/gir: Document manually implemented types and functions
2021-06-01 13:40:52 +00:00
Marijn Suijten
5ebf6de6eb
base/gir: Document manually implemented types and functions
2021-06-01 13:40:52 +00:00
Marijn Suijten
d192d1caf8
audio/gir: Document manually implemented types and functions
2021-06-01 13:40:52 +00:00
Marijn Suijten
4f479326f3
gstreamer/gir: Document manually implemented types and functions
2021-06-01 13:40:52 +00:00
Marijn Suijten
1e58dd553c
treewide: Add missing external external types to manual
list
...
Gir now uses analyzed objects to generate documentation, and to know
exactly what is available. Additionally, this allows more bindings to
be generated.
2021-06-01 13:40:52 +00:00
Guillaume Gomez
5ba79976a9
Generate missing doc aliases for newtypes
2021-06-01 15:15:59 +02:00
Sebastian Dröge
04e6c1b547
app: Remove signals bindings from appsrc/appsink for the signals that also have callbacks
...
The callbacks are more flexible and performant.
Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/issues/338
2021-05-30 23:00:44 +03:00
Sebastian Dröge
33484258d1
app: Re-add properties from basesrc/basesink that make sense for appsrc/appsink
...
Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/issues/339
2021-05-30 23:00:44 +03:00
Sebastian Dröge
b23bb2039e
base: Rename basesink's is_drop_out_of_segment() to drops_out_of_segment()
2021-05-30 20:59:16 +03:00
Sebastian Dröge
a21f334290
base: Remove duplicated setters/getters for basesink/basetransform properties
...
The functions are named non-standard and because of that can't be
automatically ignored in favour of the properties.
2021-05-30 20:59:16 +03:00
Sebastian Dröge
849a524b09
element: Make caps in link_filtered() / link_pads_filtered() mandatory
...
Instead of passing `None`, the non-filtered variants of the functions
can be used.
Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/issues/328
2021-05-30 17:30:22 +00:00
Sophie Herold
e453701b50
Adapt gir-docs -> gir-rustdoc script rename
2021-05-30 12:55:11 +02:00
Sebastian Dröge
34f3e7710c
Point to the new documentation location everywhere
2021-05-29 19:00:50 +03:00
Sebastian Dröge
4960782ba0
Add more redirects for old documentation links
...
Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/issues/342
2021-05-29 18:56:03 +03:00
Marijn Suijten
819d60ec8b
ci: gir-checks: Update submodules before running jobs
...
This might explain the weird diff we were seeing in submodule hashes.
All other jobs checking `git diff` after their operations make sure
they're up-to-date, except the `gir-checks` step.
2021-05-28 17:07:27 +00:00
Sebastian Dröge
b15d8e4c2e
ci: Add more git diff
s to the gir checker job to figure out where it fails
...
It regularly fails when building a pipeline on master with dirty git
submodules, but never seems to fail in MRs.
2021-05-28 16:54:56 +03:00
Bilal Elmoussaoui
b2083d0973
gir-files: drop broken commit & regen
2021-05-28 14:16:15 +02:00
Marijn Suijten
0f73912133
gstreamer/gir: Remove duplicate function configurations
...
Found this ambiguity in https://github.com/gtk-rs/gir/pull/1164 .
2021-05-28 13:24:49 +02:00
Marijn Suijten
eaed54e279
Update gir and regenerate with simplified trait bounds
...
Trait bounds moved from `where T: Foo` directly into the type parameter
definition at `<T: Foo>`: https://github.com/gtk-rs/gir/pull/1160 .
2021-05-27 00:02:42 +02:00
Sophie Herold
21b3bf1f78
Add redirects for legacy URLs
2021-05-26 11:33:24 +02:00
Sophie Herold
8e05ee28ed
Base pages on gir-docs
2021-05-25 19:04:48 +02:00
Guillaume Desmottes
7c592a5b9b
examples: manually destroy the GTK window when shutting down
...
Make the leaks tracer happy, allowing us to detect actual leaks.
Fix #341
2021-05-25 11:57:52 +02:00
Guillaume Desmottes
37a352dc35
examples: ensure pipeline is destroyed when application is shutting down
2021-05-25 11:57:52 +02:00
Guillaume Desmottes
10573d882f
examples: gtksvideooverlay: call gst::deinit()
...
Needed so we can use the leaks tracer.
2021-05-25 11:47:14 +02:00
Guillaume Desmottes
c1c06868e9
examples: gtkvideooverlay: use app.quit() to exit properly
...
We can't use gtk::main_quit() as the loop is handled by the
GtkApplication.
2021-05-25 11:47:14 +02:00
Sebastian Dröge
88c4f70195
Regenerate with latest gir
2021-05-23 16:27:57 +00:00
Sebastian Dröge
7e4627baf8
gir: Update
2021-05-23 16:27:57 +00:00
Guillaume Gomez
dcd0695567
Improve conversion code for enum variants
2021-05-23 13:15:27 +02:00
Guillaume Gomez
7e892b507f
Add missing doc aliases on variants
2021-05-23 13:06:57 +02:00
Guillaume Desmottes
4ae0168aea
examples: gtksink: call gst::deinit()
...
Needed so we can use the leaks tracer.
2021-05-22 17:38:48 +02:00
Guillaume Desmottes
87fb66f283
examples: gtksink: use app.quit() to exit properly
...
We can't use gtk::main_quit() as the loop is handled by the
GtkApplication.
2021-05-22 17:36:31 +02:00
Guillaume Gomez
1b1a4aa30b
Add CI check for doc aliases
2021-05-21 12:05:46 +02:00
Marijn Suijten
540062b97c
Add missing doc aliases to manual code
...
Using the same script as [1], called with:
python3 add_doc_alias.py gstreamer*/**/src
[1]: https://github.com/gtk-rs/gtk-rs-core/pull/83
2021-05-19 22:36:18 +02:00
Sebastian Dröge
b02f2acae5
gstreamer: Update for try_from_glib() having become an unsafe function
...
Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/issues/337
2021-05-19 11:47:11 +03:00
Sebastian Dröge
b1088a6d11
tutorials/basic-tutorial-13: Make sure that acquiring the main context actually succeeds
2021-05-18 12:16:59 +03:00
Sebastian Dröge
6b8bfd2701
tutorials/basic-tutorial-13: Store the main context acquire guard in a variable
...
Otherwise it will be immediately released again.
2021-05-18 11:43:37 +03:00
Guillaume Desmottes
1fa5028b90
ci: update Rust stable to 1.52
...
Looks like it's needed for the plugins:
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/512
2021-05-17 09:41:55 +02:00
Sebastian Dröge
11a85449e7
gstreamer/uri_handler: Only assign to GError**
s if they're not NULL
2021-05-15 10:41:34 +03:00
Sebastian Dröge
840a1129ba
deny: Remove obsolete configurations
2021-05-14 10:47:02 +03:00