summaryrefslogtreecommitdiff
path: root/extensions
Commit message (Collapse)AuthorAgeFilesLines
* Revert "extensions/audio-video-properties: Disable build"Ondrej Holy2022-02-111-1/+1
| | | | This reverts commit 9f8d4c9e111b972acedf1dfbdd83fcb3ca20e027.
* Revert "general: Switch to GTK4"Ondrej Holy2022-02-113-6/+6
| | | | This reverts commit e358c2343c47aa26d568254a12f06a8431b2da42.
* general: Switch to GTK4António Fernandes2022-01-093-6/+6
| | | | | | | | | | | | | | | | The new major version of the toolkit is a requirement to fix old issues and enable future enhancements. Update symbols and adapt logic to API changes. Update and simplify UI definitions. Update local copy of places sidebar and places view. Replace dependencies with their GTK4-compatible successors. Make a minimum changes required to build and run, with known regressions to be fixed in future commits. For a detailed breakup of the changes, see the 36 commits-deep log leading to d5763facb1e5045251171ed1273dca0859f3542f. This is the main part of https://gitlab.gnome.org/GNOME/nautilus/-/issues/276
* image-properties: Use N/S and E/W distinction for GPS coordinatesMichael von Gunten2022-01-051-2/+12
| | | | Also drop the slash separator, which is non-standard for geographical coordinates.
* extensions/audio-video-properties: Disable buildAntónio Fernandes2021-12-311-1/+1
| | | | | Not ported to GTK 4 yet. To speedup the port, disable the extension. To be ported later.
* extensions/image-properties: Reduce container APIAntónio Fernandes2021-12-061-2/+7
| | | | Preparing for GTK4.
* extensions/image-properties: Don't subclass widgetAntónio Fernandes2021-12-063-60/+37
| | | | | | | | GTK discourages subclassing widgets. The only reason we are subclassing here is to add struct fields. But we don't need to subclass a widget for that. We don't even need to subclass GObject. A plain data struct is enough.
* extensions/image-properties: Replace deprecated functionsNishal Kulkarni2021-12-041-2/+2
| | | | | | | | | Build log contains deprecation warnings for gexiv2 functions. Replaced `gexiv2_metadata_has_tag()` with `gexiv2_metadata_try_has_tag()` and `gexiv2_metadata_get_orientation()` with `gexiv2_metadata_try_get_orientation()` Closes: #2033
* extensions/image-properties: Replace deprecated symbolsOndrej Holy2021-07-091-3/+3
| | | | | | The build log contains warnings about deprecated gexiv2 functions. Let's port to the new API, unpin exiv3 and gexiv2 dependencies in flatpak manifests and bump the build dependency accordingly to get rid of the warnings.
* image properties: Handle rotated imagesJames Westman2020-11-181-4/+23
| | | | | | | | Images with EXIF metadata can contain an orientation tag, which indicates the image should be rotated. In the Image tab of the Properties dialog, swap the width and height if the image is rotated by 90 or 270 degrees. Fixes #1590.
* general: Run uncrustify scriptOndrej Holy2020-04-051-1/+1
| | | | | There are some style issue since the last run. Let's run it again before enabling style-check CI job.
* audio-video-properties:fix string not translatableWaqar Ahmed2020-01-112-1/+5
| | | | | | | | "Frames per second" string in audio-video-properties tab was unavailable for translation. To fix this, handle the string with g_dngettext() and allow for both singular and plural translation. Closes https://gitlab.gnome.org/GNOME/nautilus/issues/990
* audio-video-properties: Use ‘frame rate’ and ’bit rate’ not run-onsPhilip Withnall2019-04-111-3/+3
| | | | | | | | | ‘framerate’ and ‘bitrate’ aren’t dictionary words; add a space to make them ‘frame rate’ and ‘bit rate’ instead. This makes them match the ‘sample rate’ string also in that file. Signed-off-by: Philip Withnall <withnall@endlessm.com>
* Fix build in ClangAlbert Vaca Cintora2019-03-181-0/+2
| | | | | | I was getting: error: variable 'string' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized]
* audio-video-properties: Make the framerate more preciseBastien Nocera2019-02-133-10/+8
| | | | | | Add a bit more precision to the frames per second property. Closes: #901
* audio-video-properties: Add context to "Unknown" stringsBastien Nocera2019-02-131-5/+5
| | | | See https://gitlab.gnome.org/GNOME/totem/issues/299
* audio-video-properties: Remove unused codeBastien Nocera2019-02-132-68/+1
|
* audio-video-properties: Use totem_gst_disable_display_decoders()Bastien Nocera2019-02-132-0/+4
|
* audio-video-properties: Add decoder disabler helperBastien Nocera2019-02-133-0/+152
| | | | | (Re-)add a helper to disable decoders that require windowing environments to even be used while gathering metadata.
* Add copy/paste of totem's properties window nautilus extensionBastien Nocera2019-02-1111-0/+2042
| | | | | | | | | The code is quite stable and this is basic functionality which is going to be better in Nautilus rather than relying on extensions, given the quite bad extension system Nautilus has. This will also help with the port to gtk4, so we rely in yet another important extension providing properties pages (which in turn export gtk3 widgets).
* general: Remove include guards in favor of pragma onceAlexandru Fazakas2018-03-193-15/+6
| | | | | | | | | | | | | | | | | | The traditional include guards are not as easy to handle and require extra thought into the names. Pragma once is an easier, more contributor friendly approach. Closes https://gitlab.gnome.org/GNOME/nautilus/issues/294 general: Remove include guards in favor of pragma once The traditional include guards are not as easy to handle and require extra thought into the names. Pragma once is an easier, more contributor friendly approach. Closes https://gitlab.gnome.org/GNOME/nautilus/issues/294
* general: fix old-style function declarationsErnestas Kulik2018-03-011-1/+1
| | | | | Parameterless function declarations imply indeterminate parameter count, while the implementations take no arguments.
* extensions: build as modules instead of librariesYaakov Selkowitz2018-02-172-2/+2
| | | | | Since the extensions are loaded dynamically instead of being linked in, there is no need to build them as import libraries.
* extensions: sendto: modernize codeErnestas Kulik2018-02-093-85/+39
| | | | This mainly removes the manual type definitions.
* sendto-extension: move under extensions/Ernestas Kulik2018-02-095-0/+310
| | | | | | Now that the image property page is an extension, both extensions can be held under the same subdirectory. This commit also makes the image property extension optional.
* general: reimplement image properties as an extensionErnestas Kulik2018-02-097-0/+792
The image property page is already implemented using the extension API, but it’s not an extension and relies on a library that is not essential to Nautilus. This commit builds the image properties as an extension and introduces some minor refactoring to the code.