summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* backend: Port test to new video widget APIBastien Nocera2022-02-091-2/+2
|
* backend: Remove GInitable interfaceBastien Nocera2022-02-092-52/+55
| | | | | | | | | | | | | | | | BaconVideoWidget could fail to initialise if GStreamer plugins were missing, but GStreamer is initialised after options are parsed in the GtkApplication's ->startup vfunc, which we want to use a GtkBuilder template for, which has the fallible widget inside it. This means that we can't be using a GInitable as we don't want to have unreportable errors during the template creation[1]. Instead, move all the initialisation inside the GObject's _init() function and add a function to check on its success and propagate an error. See https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/4461
* backend: Simplify object initialisationBastien Nocera2022-02-091-14/+0
| | | | | g_object_new() will already have initialised the object struct to all zeroes, so remove NULL, and 0 assignments, they're unnecessary.
* backend: Show errors instantiating video widget in test appBastien Nocera2022-02-091-3/+6
|
* ci: Work-around crun permission problemBastien Nocera2022-02-081-0/+2
| | | | See https://gitlab.gnome.org/Infrastructure/GitLab/-/issues/545#note_1376925
* backend: Remove unused variables from testBastien Nocera2022-02-081-3/+0
|
* backend: Move internal icons to GResourceBastien Nocera2022-02-085-12/+5
|
* backend: Update copyright dateBastien Nocera2022-02-081-1/+1
|
* backend: Use GtkBuilder templateBastien Nocera2022-02-084-19/+66
| | | | Except for the video widget itself, which requires code.
* main: Simplify BaconTimeLabel creationBastien Nocera2022-02-082-38/+19
| | | | Use G_DECLARE_FINAL_TYPE(), and remove intermediate private struct.
* main: Simplify TotemSelectionToolbar creationBastien Nocera2022-02-082-65/+36
| | | | Use G_DECLARE_FINAL_TYPE(), and remove intermediate private struct.
* main: Simplify TotemMainToolbar creationBastien Nocera2022-02-082-126/+89
| | | | Use G_DECLARE_FINAL_TYPE(), and remove intermediate private struct.
* grilo: Simplify object creationBastien Nocera2022-02-082-313/+280
| | | | Use G_DECLARE_FINAL_TYPE(), and remove intermediate private struct.
* main: Remove yet another intermediate box widgetBastien Nocera2022-02-082-28/+3
| | | | tmw_bvw_box contained the video widget and an unused revealer.
* data: Remove another intermediate box widgetBastien Nocera2022-02-081-22/+11
| | | | totem_main_vbox wasn't used anymore, so remove it from the hierarchy.
* data: Remove intermediate box widgetBastien Nocera2022-02-081-27/+16
| | | | tmw_main_vbox wasn't used anymore, so remove it from the hierarchy.
* Update Indonesian translationKukuh Syafaat2022-02-081-154/+154
|
* Update Slovenian translationMatej Urbančič2022-02-071-228/+228
|
* Update Brazilian Portuguese translationLeônidas Araújo2022-02-071-213/+217
|
* Update Hebrew translationYosef Or Boczko2022-02-071-214/+210
|
* Updated Spanish translationDaniel Mustieles2022-02-071-154/+155
|
* Update Portuguese translationHugo Carvalho2022-02-061-211/+215
|
* Update Chinese (China) translationLuming Zh2022-02-051-7/+8
|
* main: Don't hide cursor when switched away from playerBastien Nocera2022-02-041-1/+3
| | | | | | | | If we exited the player with the popups still shown, the timeout to hide the popups would hide the cursor. Remove the timeouts when switching away from the player and don't schedule new timeouts. Closes: #502
* main: Fix warning on Alt-TabBastien Nocera2022-02-041-0/+1
| | | | | | | | | | | | | Alt+Tab'ing the window after starting totem without any movies throws an error: (totem:511152): Gtk-CRITICAL **: 18:12:59.499: gtk_widget_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed The widget in question is BaconVideoWidget for which we removed an explicit gtk_widget_realize() while doing the GL port. Reinstate that call for GTK 3. Closes: #503
* ci: Remove gnome.org nightliesBastien Nocera2022-02-041-5/+0
| | | | | | | | | | | Remove the GNOME nightlies as we could not ship all the codecs we needed. Development versions will now be made available regularly on Flathub. Click to install the "Preview" version: https://flathub.org/beta-repo/appstream/org.gnome.Totem.Devel.flatpakref Closes: #260
* Update Galician translationFran Dieguez2022-02-041-207/+220
|
* Update Russian translationAleksandr Melman2022-02-041-315/+193
|
* backend: Use better placeholder when there's no videoBastien Nocera2022-02-044-12/+63
| | | | | | | | When there's no video because we're playing an audio-only file, or because a plugin is missing, show a placeholder that corresponds to that type of media. See https://gitlab.gnome.org/Teams/Design/icon-development-kit/-/issues/44
* backend: Remove unused LOGO_PATH cflagsBastien Nocera2022-02-041-1/+0
|
* main: Remove obsolete popover transitions overridesBastien Nocera2022-02-041-2/+0
| | | | | They were disabled because they broke in clutter-gtk, but now the calls are obsolete, and the animations work correctly, so remove those calls.
* backend: Add FPS display when using FPS_DISPLAY=1Bastien Nocera2022-02-041-1/+18
|
* ci: Remove obsolete clutter dependenciesBastien Nocera2022-02-041-3/+0
|
* flatpak: Remove obsolete clutter dependenciesBastien Nocera2022-02-041-32/+0
|
* all: Remove obsolete source filesBastien Nocera2022-02-048-1153/+0
|
* backend: Remove unused *-requested signalsBastien Nocera2022-02-041-49/+0
| | | | All user input is now handled in the front-end.
* backend: Port to gtkglsinkBastien Nocera2022-02-0412-1046/+420
| | | | | | | | | | | | | | | | | | | | | Replace the clutter-gtk based video widget with a native GL GStreamer widget, "gtkglsink". - Display aspect-ratio support for non-square pixels was removed. While it still worked correctly (you can try setting your display's resolution to a different aspect ratio), things like text and icons, and everything else in every application and the shell chrome would have been looked broken, including the video player. Except the video in the video player. - Video aspect ratio, pillar-boxing, letter-boxing and automatic rotation is now handled in the GStreamer widget - The placeholder logos, when playing files with unsupported video, or no video tracks have been changed. - Handling of mouse events has been simplified Some functionality could not be brought forward at this time: - Crop-zooming (available using the R/T keys) isn't implemented yet - Gestures support, which never worked properly anyway, wasn't reimplemented
* Update Chinese (China) translationBoyuan Yang2022-02-031-205/+208
|
* Update Ukrainian translationYuri Chornoivan2022-02-031-213/+214
|
* Update POTFILES.inPiotr Drąg2022-02-031-1/+1
|
* main: Add visual hint to development buildBastien Nocera2022-02-031-0/+8
| | | | See https://gitlab.gnome.org/GNOME/Initiatives/-/wikis/DevOps-with-Flatpak#adding-a-visual-hint-for-development
* main: Allow translation of development branch app nameBastien Nocera2022-02-035-4/+10
| | | | | | | | Rather than using an icon, use a string that can be translated as the app name. "Preview" will the suffix for that app name until we agree on a common name in https://gitlab.gnome.org/Teams/Design/os-mockups/-/issues/155
* main: Fix warning starting remote applicationBastien Nocera2022-02-021-4/+7
| | | | | | | | (totem:2268540): Gtk-CRITICAL **: 21:59:00.013: gtk_style_context_add_provider_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed (totem:2268540): GLib-GObject-WARNING **: 21:59:00.013: invalid (NULL) pointer instance etc. Fixes: a784629f446f024bc585a9484fd0e119f7f28fcb
* docs: Document bacon_video_widget_lang_info_free()Bastien Nocera2022-02-021-0/+6
|
* docs: Update for removed functionsBastien Nocera2022-02-021-3/+0
| | | | They were removed in commit 2970e93373b46482d1ddabe01f52a6c0fc2c2b16
* data: Fix appdata application IDBastien Nocera2022-02-021-2/+2
| | | | | | We were using the wrong configuration to substitute the application ID. But appstream-glib validate should have caught this, but didn't: https://github.com/hughsie/appstream-glib/issues/426
* flatpak: Remove unneeded desktop file renameBastien Nocera2022-02-021-1/+0
| | | | We now generate a desktop file with the correct filename.
* data: Fix appdata filename in devel profileBastien Nocera2022-02-023-84/+12
|
* data: Process subdirs after the current oneBastien Nocera2022-02-021-3/+3
| | | | So we can reuse variables declared locally in the appdata subfolder.
* data: Fix desktop filename in devel profileBastien Nocera2022-02-022-4/+84
|