summaryrefslogtreecommitdiff
path: root/extensions
AgeCommit message (Collapse)Author
2026-02-18ext/image: Test via mime type's generic iconPeter Eisenmann
Since [1] GdkPixbuf isn't used anymore to read image information, so it shouldn't be used to determine whether an image is supported. Instead use the mime type's generic icon, which will result in some false positives of formats not actually handled, but will work fine for common formats. [1] https://gitlab.gnome.org/GNOME/nautilus/-/commit/d24ccd35ceee75103fefa8ce5d4ed4c1facb9c63
2026-02-18ext/image: Add glycin-based fallbackPeter Eisenmann
For formats not supported by gexiv, such as svg or JPEGXL. Fixes https://gitlab.gnome.org/GNOME/nautilus/-/issues/4136
2026-02-18ext/image: Restructure basic info settingPeter Eisenmann
Prepares this code to be reused in upcoming commit.
2026-02-16extensions/image-properties: Fix image properties path for recentsKhalid Abu Shawarib
2026-01-13general: Replace usage of g_file_get_path() with g_file_peek_path() where ↵Khalid Abu Shawarib
possible
2025-12-29image-prop: Drop GdkPixbuf usagePeter Eisenmann
GdkPixbuf was used to get the image type, width and height, all of which are also provided by gexiv2, which is already used anyway.
2025-12-29image-prop: Inline some variable declarationsPeter Eisenmann
This is done so now to keep the next commit diff readable.
2025-12-29image-prop: Clarify heigh/width with orientationPeter Eisenmann
2025-12-26av-properties: Drop unknown mime typesPeter Eisenmann
These types are unknown to xdg-shared-mime-info.
2025-12-26av-properties: Drop unused mime type listsPeter Eisenmann
2025-11-20extensions: Fix list store leakKhalid Abu Shawarib
2025-09-19extensions/image-properties: Update gexiv dependency to 0.16Khalid Abu Shawarib
This requires a library name change.
2025-07-06image-properties: Increase ref count for un-owned file_infoCorey Berla
Per the docs, the files from get_model() are owned by the caller, but image-properties assumes it owns the file. This doesn't cause any problems now, but it could in the future.
2025-05-01extensions/totem-properties: Check if info is for container before addingKhalid Abu Shawarib
Don't add container info if the info given by gst_discoverer_info_get_stream_info() is not for containers. We should be using gst_discoverer_info_get_container_streams() but it seems to give null on the files I tried. Fixes: https://gitlab.gnome.org/GNOME/nautilus/-/issues/3839
2024-04-27audio-video-properties: return early without discovererPeter Eisenmann
Without a correctly initialized GstDiscoverer, no locations can be set, so return early if that is the case.
2024-01-17audio-video-properties: format with uncrustifyPeter Eisenmann
While the code is imported, indentions on the current files are a mess. This makes it more difficult for contributors to get things right, so incude these files in the uncrustify script and format them.
2024-01-11audio-video-properties: Convert sample rate unit to kHz if larger than 999HzHariharan D
This changes the way sampling rate units get displayed, it will now append 'kHz' for values larger than 999Hz. Additionally, this also includes a thousands separator for kHz for better presentation. Fixes #3237
2023-12-22extensions/image-properties: Format raw Exif datetimeKhalid Abu Shawarib
Convert the Exif datetime format to standard ISO time format. Fixes: https://gitlab.gnome.org/GNOME/nautilus/-/issues/1170
2023-12-22extensions-image-properties: Move Exif tags defs to file scopeKhalid Abu Shawarib
Also rename a variable to avoid shadowing.
2023-11-18audio-video-properties: set GTypeInfo explicitlyPeter Eisenmann
Fixes missing field initializers warnings.
2023-11-18general: simple un<>signed comparison fixesPeter Eisenmann
A collection of simple fixes for comparison warnings.
2023-11-08extensions/image-properties: Remove unnecessary codeKhalid Abu Shawarib
2023-11-08extensions/image-properties: Cleanup cancellation properlyKhalid Abu Shawarib
Free the resources left over in the case of a cancellation which was handeled in the previous commit.
2023-11-08extensions/image-properties: Handle cancellation properlyKhalid Abu Shawarib
Calling refresh_extension_model_pages() might cancel a pending IO operation and free the ImagesPropertiesModel. Bailout after being cancelled instead of using a freed data.
2023-10-18image-properties: Fix crash with null metadata tagKhalid Abu Shawarib
Handle the case where gexiv2_metadata_try_get_tag_interpreted_string returns a null pointer to avoid a crash. Fixes: https://gitlab.gnome.org/GNOME/nautilus/-/issues/3138
2023-10-12image-properties: Don't read orientation with invalid metadataKhalid Abu Shawarib
Don't try to read the image orientation if the metadata is not ready.
2022-10-22image-properties: Actually show failure infoAntónio Fernandes
We ask to append a failure message with NULL value, and then don't actually append it because of the value being NULL. This makes no sense, so fix it. Despite that, in order to improve visuals, move the failure message to the value and use an existing generic error string as title.
2022-09-01audio-video-properties: Drop obsolete test programAntónio Fernandes
The properties extension no longer creates a widget, so it's no longer a simple task of packing that widget into a window. We never use that test program anyway; manual testing can and should be performed in the main application.
2022-08-31audio-video-properties: Add error row on failureAntónio Fernandes
Rather than displaying a broken page without any row.
2022-08-07audio-video-properties: Port to new APIAntónio Fernandes
2022-08-07image-properties: Don't depend on GTKAntónio Fernandes
GdkPixbuf is enough here.
2022-08-07image-properties: Port to new APIAntónio Fernandes
2022-07-21sendto-extension: Remove extensionCorey Berla
nautilus-sendto is no longer maintained and never worked in sandboxed environments. Remove and re-add using portal See: https://gitlab.gnome.org/GNOME/nautilus/-/issues/928
2022-07-16general: Remove unnecessary use of `focusable`Christopher Davis
gtk4-builder-tool tries to port uses of `can_focus` to `focusable`, but in real code you generally don't need to set `focusable` - the defaults are always sensible, and removing the explicit property means less code without any behavior change.
2022-07-09libnautilus-extension: Remove compatibility typedefsAntónio Fernandes
Now that we have broken the API, remove compatibility typedefs introduced in 7e2605c681d065e6b0a3d779c30b892932597991 Also update audio-video-properies to use the new symbols.
2022-07-06audio-video-properties: Enable buildCorey Berla
Now that gtk4 code is in place, enable build of audio-video-properties again. Previously disabled in 9f8d4c9e111b972acedf1dfbdd83fcb3ca20e027 However, we must still disable tests for the time being, until we port them away from gtk_main(), together with other tests already disabled due to gtk4 by commit 388b2cbb09a2d19eb1b948c435d8bc7cb111149d
2022-07-06audio-video-properties: Switch to GTK4Corey Berla
Use new functions and syntax. Minor code cleanup in order to make debugging easier. GTK4 doesn't use border width, use margins consistent with main properties page.
2022-01-09general: Switch to GTK4António Fernandes
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
2022-01-05image-properties: Use N/S and E/W distinction for GPS coordinatesMichael von Gunten
Also drop the slash separator, which is non-standard for geographical coordinates.
2021-12-31extensions/audio-video-properties: Disable buildAntónio Fernandes
Not ported to GTK 4 yet. To speedup the port, disable the extension. To be ported later.
2021-12-06extensions/image-properties: Reduce container APIAntónio Fernandes
Preparing for GTK4.
2021-12-06extensions/image-properties: Don't subclass widgetAntónio Fernandes
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.
2021-12-04extensions/image-properties: Replace deprecated functionsNishal Kulkarni
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
2021-07-09extensions/image-properties: Replace deprecated symbolsOndrej Holy
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.
2020-11-18image properties: Handle rotated imagesJames Westman
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.
2020-04-05general: Run uncrustify scriptOndrej Holy
There are some style issue since the last run. Let's run it again before enabling style-check CI job.
2020-01-11audio-video-properties:fix string not translatableWaqar Ahmed
"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
2019-04-11audio-video-properties: Use ‘frame rate’ and ’bit rate’ not run-onsPhilip Withnall
‘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>
2019-03-18Fix build in ClangAlbert Vaca Cintora
I was getting: error: variable 'string' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized]
2019-02-13audio-video-properties: Make the framerate more preciseBastien Nocera
Add a bit more precision to the frames per second property. Closes: #901