Commit graph

98 commits

Author SHA1 Message Date
Stéphane Cerveau 2a1a43ea2f ci: create rustfmt-clippy
To save precious time, run clippy and fmt in the same
run.
2022-02-01 09:52:35 +01:00
Stéphane Cerveau ec20b318d1 ui: move gps.ui to dedicated folder 2022-02-01 09:52:35 +01:00
Stéphane Cerveau 7aac6cb08f gps.ui: add a label for "no "preview" 2022-01-31 17:33:19 +01:00
Stéphane Cerveau 9b768b7d56 app: display position/duration and seek scale
The user can now see the position and duration of the playback
The slider can now seek to the given position.
2022-01-31 17:32:54 +01:00
Stéphane Cerveau 8f72b9ac79 element: display the rank in the description 2022-01-31 13:37:22 +01:00
Stéphane Cerveau 18606b687c favorites: display properties as well
As in element list, display properties when selected
2022-01-28 16:16:29 +01:00
Stéphane Cerveau b84483057b pipeline: add gtk4paintablesink
Add a way to draw whenever possible
the video render into the preview box
in UI
2022-01-28 16:01:01 +01:00
Stéphane Cerveau 42e0057829 app: use new graphview API
Use new APIs from unit test graphview changes
Update the TODO
2022-01-27 17:35:47 +01:00
Stéphane Cerveau d19387f039 graphview: implement tests infra
- Implement test for graph creation, save and load.
- Change xml API
- Update public/private api
- Add a graphview clear API
2022-01-27 17:35:47 +01:00
Stéphane Cerveau 9cc40d2b7b grahview: add create_link methods to clarify API 2022-01-27 13:18:46 +01:00
Stéphane Cerveau 2ddd49fa0d tests: implement graphview unit test 2022-01-27 13:18:46 +01:00
Stéphane Cerveau 620f6bf699 graphview: implement link on mouse pointer
Draw a dash line following the mouse pointer
when an available port has been clicked.
2022-01-27 13:18:46 +01:00
Stéphane Cerveau cf8c8ab585 graphview: remove all links when node is deleted
The node can have more links than one, so all the links
must be destroyed when the node is destroyed.

Cleanup the code and panic if a link does not have
the node or port described in it.
2022-01-27 13:18:46 +01:00
Stéphane Cerveau a8e7b039a0 pipeline: can now communicate with app
Tell the status of pipeline in the status bar.
2022-01-27 13:18:46 +01:00
Stéphane Cerveau ee66f53171 pipeline: Able to render a graph and check for error
If the pipeline can not be created, display an error dialog
when checking it.
2022-01-27 13:18:46 +01:00
Stéphane Cerveau 5c25417569 pipeline: set state to stop when error
Do not display a dialog when an error happens,
only a log error is sufficient.
2022-01-27 13:18:46 +01:00
Stéphane Cerveau 13421b4d5b app: display the caps as a tooltip on port
The port can now display a tooltip
with the port
2022-01-27 13:18:46 +01:00
Stéphane Cerveau 375d01c0cd port: Rework the way to add a port/node
Allow to tell than a port has been added with its property
2022-01-27 13:18:46 +01:00
Stéphane Cerveau f483b51c9e app: Use the new PropertyExt interface from Graphview 2022-01-27 13:18:46 +01:00
Stéphane Cerveau 17ecce9748 port: support properties
Allow port to have a property set
and store it in the xml file

Introduce PropertyExt

Rewrote the port layout
2022-01-27 13:18:46 +01:00
Stéphane Cerveau b360f4a13a node: update the layout and use GtkGrid
The node uses a GrkGrid to display
ports, name and description.
2022-01-27 13:18:46 +01:00
Stéphane Cerveau 39815eb8d9 properties: support more properties
Support enum and flags properties in
addition to numerous and string ones.
2022-01-27 13:18:46 +01:00
Stéphane Cerveau 24e5e947d5 properties: fix regression with gst 0.18
Fix alignement
2022-01-20 16:17:06 +01:00
Stéphane Cerveau 45d5f19c10 gps: use it as a whole module
Namespace the use of gps
2022-01-20 15:32:30 +01:00
Stéphane Cerveau a2503ce86b ui: introduce a new module
- Cleanup up app.rs and use the new module ui
- Remove display_plugin_list
- Can now render a graph and get the
parse launch line.
2022-01-20 15:32:30 +01:00
Stéphane Cerveau 71e68b846f app: Display a tooltip on node
Handle node-added signal to set
a tooltip on each node.
2022-01-20 12:04:24 +01:00
Stéphane Cerveau 548f4cb3fc graphview: add "node-added" signal
Signal the app that a node has been added
correctly.
2022-01-20 12:04:24 +01:00
Stéphane Cerveau 6dd37b95e4 app: display plugin description in property box
On element selection, the property view display
the description
2022-01-20 12:04:24 +01:00
Stéphane Cerveau 7f4a4b438d app: add an element notebook for all and favorites
Can now see all elements and favorites from the main window
2022-01-20 12:04:24 +01:00
Stéphane Cerveau 8f83721047 app: redesign the UI to have a dashboard
The dashboard contains:

- GStreamer elements
- Element's property
- Preview
2022-01-19 13:32:33 +01:00
Stéphane Cerveau f4b7a18d76 Revert "gitlab-ci: disable rust-doc"
This reverts commit 95a095482f.
2022-01-19 12:26:39 +01:00
Stéphane Cerveau 7abc0190cd gstreamer-rs: move to 0.18.1 release 2022-01-19 12:24:13 +01:00
Stéphane Cerveau 2182fd56ed main: update license header 2022-01-19 11:56:21 +01:00
Stéphane Cerveau a572d04958 app: use create_node_with_port API
Instead of add_new_node_with_port
2022-01-19 11:56:05 +01:00
Stéphane Cerveau 6c31bc3912 graphview: add documentation and refactor the code
Add documentation to public method.
Publish method which are public
Use SelectionExt trait.
Rename add_node_with_port to create_node_with_port
2022-01-19 11:55:13 +01:00
Stéphane Cerveau ade3f14902 graphview: update css for node and port
Change border style and
port presence entries
2022-01-18 17:43:01 +01:00
Stéphane Cerveau 0f0f9d6fc0 app: port support update
Connect the port to the element pad
capabilities.
Can now create a port only if the element
supports the request pad
Can only delete a port which is a "sometimes"
port/pad.

Introduce GPS module.
2022-01-18 17:43:01 +01:00
Stéphane Cerveau 4bae12c011 graphview: introduce PortPresence
The port presence helps to know
if the port can be deleted or not.

XML Format break.
2022-01-18 16:39:39 +01:00
Stéphane Cerveau ef2a6ea1ba TODO: update the todo list
Add sections in todo file
2022-01-18 16:39:39 +01:00
Stéphane Cerveau e5334b1d5e graphview: Remove the link in remove_port
Remove the link when removing a port from a
node.

Update documentation
2022-01-18 16:39:39 +01:00
Stéphane Cerveau 7a37e5b736 app: Use new "node" api from graphview 2022-01-18 16:39:39 +01:00
Stéphane Cerveau 9ef073d3c3 graphview: update node API
Update doc for `node` and take u32
in argument.
2022-01-18 16:39:39 +01:00
Stéphane Cerveau c7c8817f9d flatpak: add a builder to build nightly Devel flatpak 2022-01-18 09:39:50 +01:00
Stéphane Cerveau 2548040463 graphview: port to gtk4 version 0.4.1 2022-01-17 14:40:09 +01:00
Stéphane Cerveau 21e5e4b4cb app: port to gtk4 version 0.4.1 2022-01-17 14:40:09 +01:00
Stéphane Cerveau fdfd739831 pipeline: fix a small issue with properties
Line formatting was wrong with properties set
ie filesrc location.
2022-01-17 14:40:09 +01:00
Stéphane Cerveau 95a095482f gitlab-ci: disable rust-doc 2022-01-17 12:09:03 +01:00
Stéphane Cerveau 8fa825f070 meson: improve application install
Add:
- new icons and installation procedure
- desktop file
- appdata
- po files
2022-01-17 11:01:08 +01:00
Stéphane Cerveau 573157707d ReadMe: update contents
Add License, Credits, Screenshot
2022-01-17 11:01:08 +01:00
Stéphane Cerveau 6c669d54cf gitignore: add new patterns
log
config.rs
2022-01-17 11:01:08 +01:00