Commit graph

207 commits

Author SHA1 Message Date
António Fernandes adf860d3a3 general: Add xdp-gnome imported code to the build
Make it a private static library to be used in commming commits.

Contrary to upstream, we use the imported *.impl.* definitions.

For convenience (not to move a lot of meson code around), define
the HAVE_GTK_WAYLAND and HAVE_GTK_X11 in config.h instead of
compiler flags.
2024-07-24 15:31:58 +02:00
Corey Berla c9a58883b8 Post-release version bump 2024-07-17 08:41:40 -07:00
Khalid Abu Shawarib 764c94d108 css: Use newer syntax 2024-07-10 10:45:42 +00:00
Balló György 25377dc214 files-view: Don't abort if failed to create XdpPortal instance 2024-07-01 14:46:54 +00:00
𝅳Automeris naranja 42c5b9c7c6 properties-window: Port "Open in Disks" row to AdwButttonRow
AdwButtonRow is a new widget to present actions at the end of a
boxed list. Requires a bump of libadwaita dependency to v1.6.alpha.

Also, add a mnemonic to this button row.
2024-05-02 22:25:42 +00:00
Peter Eisenmann 2d3ebb3505 Post-branching version bump 2024-03-22 02:09:29 +01:00
Ondrej Holy fafc791209 Post-release version bump 2024-03-18 14:09:47 +01:00
António Fernandes 6de0ebbaad Post-release version bump 2024-03-04 02:40:39 +00:00
António Fernandes 34005a354b Post-release version bump 2024-02-11 22:12:37 +00:00
António Fernandes 20d8db336c build: Bump gtk dependency
I've just reverted a workaround to a GtkExpression bug which has been fixed by 14e78663ee

So, depend on the latest development release, which includes this bugfix.
2024-01-30 23:40:31 +00:00
António Fernandes c93da5f024 Post-release version bump
46.alpha.1 has been released from another branch.
2024-01-28 21:45:57 +00:00
Khalid Abu Shawarib ea55d1e8ed build: bump libadwaita dependency to stable 2024-01-16 02:10:03 +00:00
António Fernandes 47687ba66b appdata: Use non-legacy file extension
https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#spec-component-location
2024-01-10 17:12:00 +00:00
António Fernandes a9d4fbd8d0 Post-release version bump 2024-01-08 02:11:00 +00:00
António Fernandes b7e44006b6 appdata: Don't generate release date based on current date
The release date should not change. The date of build is not the date
of release.
2024-01-08 01:58:32 +00:00
Peter Eisenmann e435c2e367 build: enable -Wextra
Enable extra warnings by enabling -Wextra. Disable warnings about
functions casts and unused parameters, as they are not meaningful for
us, due to the way that GLib functions are commonly used.
2023-11-18 00:40:09 +01:00
Peter Eisenmann 9dbef31384 build: remove unused libxml dependency
Before gvfs metadata, nautilus would save its metadata in XML, so a conversion
tool was introduced[0]. Since GNOME 3.0, this conversion tool has been the sole
reason why nautilus needed libxml. But it's been removed in the 3.18 cycle.[1]
Let's stop depending on a library we haven't been using for more than 7 years.

(Note: before 3.0, nautilus would directly use XML for many other purposes, such
as the folder background patterns and custom file emblems browser.)

[0] commit 1d14824dc8
[1] commit 87d24047f6
2023-11-17 23:56:29 +01:00
Khalid Abu Shawarib 2434f099d9 build: remove leftover profiling options
These were forgotten in 5cf288a93e.
2023-10-29 23:43:16 +01:00
Peter Eisenmann efa356c6db general: allow mixing declarations and statements
C89 demands declarations to precede any statements. We build with C11
though, so there is no need for this restriction.
2023-10-28 00:47:54 +00:00
Khalid Abu Shawarib 530fb19c2e file-operations: Set new mtime when copying from a template
Sets the file modified time as default when creating a file from a
template so that it appears as a new file.

Also bump glib dependency to 2.79 to insure the API for the default
modification time is supported.

Fixes: https://gitlab.gnome.org/GNOME/nautilus/-/issues/1686
2023-10-27 23:37:37 +00:00
Khalid Abu Shawarib ad865de618 window: Replace deprecated toplevel wayland function
Use gdk_wayland_toplevel_drop_exported_handle instead of the
deprecated no-op gdk_wayland_toplevel_unexport_handle. Also
bump the gtk dependency.
2023-10-12 00:11:50 +03:00
Khalid Abu Shawarib 4425df0966 build: bump gexiv dependency to 0.14.2
This resolves an issue with GPS coordinates not showing
when there's no altitude number.

See: 634df09f85
2023-09-11 13:27:13 +03:00
António Fernandes f804923c29 Post-branching version bump 2023-09-02 19:00:25 +01:00
António Fernandes 435913a2d4 build: Post-release version bump 2023-08-27 00:08:01 +01:00
António Fernandes 02f3e41073 Release version 45.beta2 2023-08-26 23:57:08 +01:00
Peter Eisenmann 272ec309fc build: disable deprecation warnings for now
There are currently too many warnings caused by deprecations, hindering
the usefulness of any other warnings. Disable them until
https://gitlab.gnome.org/GNOME/nautilus/-/issues/2722 is resolved.


(cherry picked from commit f01209be8ce662d2decf3e1091bf62541845cea0)
2023-08-12 12:19:18 -04:00
António Fernandes 525d96e98f Post-release version bump 2023-08-06 00:24:20 +01:00
António Fernandes fc6a641f6d Release version 45.beta 2023-08-06 00:06:42 +01:00
Peter Eisenmann 2d28cc235b eel: use g_string_replace over eel functionality
Use g_string_replace over eel_str_replace_substring and
eel_str_double_underscores.

Remove the now unused eel* functions.

Bump glib version to 2.76 for g_string_free_and_steal().
2023-07-20 17:52:47 +00:00
António Fernandes 3bddcc5123 Post-release version bump
Bonus 45.alpha2 milestone due june 16th.
2023-07-09 15:05:26 +00:00
Ondrej Holy ed6c79ecfa sidebar: Make cloudproviders dependency optional again
This partially reverts commit 673e6b157a.
It turns out that the cloudproviders dependency is not desired for RHEL.
2023-06-22 16:04:20 +00:00
Corey Berla 793eb904f4 build: Bump gtk 2023-06-17 21:46:44 +01:00
Corey Berla ba4c89e165 build: Bump libadwaita to 1.4.alpha
Bump libadwaita in order to use adw_tab_bar_get_extra_drag_preferred_action()
2023-06-07 16:36:29 +00:00
António Fernandes c55642397d search-engine-simple: Delay starting IO
While the user types a search query, we restart our search engines for
every key stroke. This is desirable for quick results.

But unlike other engines, starting the simple engine multiple times in
rapid succession can put some stress on system resources.
Depending on the hardware and windowing system, this may result in user
perception of poor performance.

Previously, we've dealt with this by setting the delay directly in the
search entry. But that was a bad solution because it draged down the
responsiveness of other search engines.

Instead, let's save resources by starting the simple engine IO thread
half a second later, if not cancelled/restated before that.

Bump glib minimum version to use "once" source helpers.
2023-05-24 02:17:38 +01:00
Khalid Abu Shawarib 99b6782206 build: Bump gtk depencency minor version
This is required for GtkColumnViewCell that was added in
93a714df.
2023-05-08 20:50:16 +00:00
António Fernandes dba5684c99 Post-branching version bump 2023-04-23 15:14:30 +00:00
António Fernandes ee1d823737 build: Bump gtk depencency micro version
It includes the GTK bugfix mentioned in 2e10ed11d9

As we have removed the workaround, we cannot accept a GTK
version without that bugfix, because that would cause a
regression.

And we can't restore the workaround either, because it
misbehaves when using the fixed GTK version.

This leaves us with no other choice than requiring the
fixed GTK version.
2023-04-22 21:54:36 +01:00
António Fernandes b33bc6428c style: Drop view item color overrides
We've added them because the colors assigned by the default stylesheet
were not adequate as per design review: d7b0365621

Libadwaita 1.3 updated the stylesheet to use the design-choosen colors
by default in views. [0]

So, we should drop our overrides which are now unnecessary and even
harmful (they may be out of sync). Also, require the stable release of
the dependency, because 1.3.alpha didn't include [0].

[0] fd83834f83
2023-04-15 22:00:32 +01:00
Ondrej Holy 92f088a319 desktop: Add application/zstd to supported mime-types
Currently, it isn't possible to use Nautilus for the extraction of the
".zstd" and ".tar.zst" archives. However, it seems that this compression
is supported by the libarchive library nowadays. Let's add the
`application/zstd` and `application/x-zstd-compressed-tar` mime-types
to the list of supported. This will allow Nautilus to show the "Extract"
and "Extract to..."  actions. Also, bump the gnome-autoar dependency to
the version with a corresponding change.

Related: https://gitlab.gnome.org/GNOME/gnome-autoar/-/merge_requests/38
Fixes: https://gitlab.gnome.org/GNOME/nautilus/-/issues/2860
2023-04-11 14:11:11 +00:00
Ondrej Holy 322afdb729 Post release version bump 2023-03-17 10:13:01 +01:00
Ondrej Holy 686e7a076a Post release version bump 2023-03-05 00:39:01 +00:00
Ondrej Holy e74b847c48 Release version 44.rc 2023-03-05 00:27:22 +00:00
Ondrej Holy c59065cefb Post release version bump 2023-02-11 14:37:57 +01:00
Ondrej Holy 62729bae5f Release version 44.beta 2023-02-11 14:36:36 +01:00
Corey Berla dac56fcab6 build: Only generate docs when 'docs' option enabled
We have a docs options, but we are generating the docs regardless
of if it is set. This was a regression in  d47403bced.
`gi_docgen.found()` is redundant because when 'docs' is set to true
gi_docgen is a requirement.
2023-01-16 12:11:25 +00:00
Jeremy Bicha 9890e7ad42 build: require libadwaita >= 1.3.alpha
needed for adw_tab_bar_set_extra_drag_preload
2023-01-12 13:36:19 -05:00
António Fernandes cfded2c02e Post-release version bump 2023-01-10 03:18:32 +00:00
Corey Berla a90f60e359 Revert "meson.build: Disable GLib deprecation warnings"
This reverts commit 7605b17b27.
2023-01-09 09:23:04 +00:00
Corey Berla a5ca1f830a general: Replace GtkStyleContext with GtkWidget functions
GtkStyleContext is deprecated in 4.10, use the corresponding
GtkWidget functions.

Also bump GTK version to use the new gtk_widget_get_color().
2022-12-19 17:53:30 +00:00
António Fernandes 583fc9b6bc Post-release version bump 2022-09-18 00:50:32 +02:00