Commit graph

20923 commits

Author SHA1 Message Date
Carlos Soriano 0994474acc Flatpak: Update exiv2 upstream url and build system 2018-05-28 19:50:08 +00:00
Carlos Soriano 6daacbec2e CI: Test weekly all master of dependencies
So we test the ecosystem regularly.
2018-05-28 19:50:08 +00:00
Carlos Soriano b496a4cb3e CI: Use non-master dependencies for regular operations
See previous commit for more info.
2018-05-28 19:50:08 +00:00
Carlos Soriano d945455178 Flatpak: Separate master dependencies from stable
So far we have been building master of all of our dependencies, also
master of the Sdk. This is good for testing the next version of the
ecosystem, but has many downsides that we now can avoid with Flatpak.

For instance, we want to be buildable at any point in the history,
specially when doing bisects. Also, we need to be a bit stable so that
when designers, users or others build the latest Nautilus they are able
to work with it regardless of its dependencies on other projects.

Even more, now with CI we can test the master of the ecosystem regularly
while not affecting our regular development and operations by depending
on that.

So let's separate in two different manifests the development version
with stable dependencies, intended for our regular operations, and a
development version with all the ecosystem on master, to test the
ecosystem regularly on the CI or on-demand locally.
2018-05-28 19:50:08 +00:00
Ernestas Kulik 35536fdea8 general: Stop relying on side effect in warning macros
The expression will not be evaluated if the macros are disabled.
2018-05-28 13:13:56 +03:00
Ernestas Kulik fc4cbbe647 location-entry: Handle less-deprecated signals
::event-after is obsolete and ::key-press-event is getting there, too.
2018-05-28 13:13:56 +03:00
Ernestas Kulik ad15b58c77 location-entry: Handle focus changes in ::notify::has-focus 2018-05-28 13:13:56 +03:00
Ernestas Kulik 34c9fcb2f7 pathbar: Handle scroll events in generic event signal handler 2018-05-28 13:13:56 +03:00
Ernestas Kulik 578b67a719 container-max-width: Add missing break statement 2018-05-28 13:13:56 +03:00
Ernestas Kulik 8eb0b0d378 files-view: Handle key presses in generic event signal handler 2018-05-28 13:13:56 +03:00
Ernestas Kulik 2e62e2def6 window: Use GdkEvent accessors 2018-05-28 13:13:56 +03:00
Ernestas Kulik ebac1a33d2 window: Use notify signal to handle state changes
::window-state-event is gone.
2018-05-28 13:13:56 +03:00
Ernestas Kulik d6f1fa6128 window: Handle button presses using a gesture 2018-05-28 13:13:56 +03:00
Ernestas Kulik 11d7e5c129 window: Make type final
After removing the desktop window, this type is no longer derived.
2018-05-28 13:13:56 +03:00
Ernestas Kulik 0a6e406344 eel: Remove superfluous include
gdk/gdkprivate.h is no longer a thing in GTK+ 4 and doesn’t seem to be
at all required.
2018-05-28 13:13:56 +03:00
Ernestas Kulik dde1a81b85 selection-canvas-item: Use GTK+ to draw rubber band
This commit also drops properties that no longer apply, including border
width - it’s controlled by the theme.
2018-05-28 13:13:56 +03:00
Ernestas Kulik 197d2d1d6b pathbar: Drop composite child API
Easiest fix so far.
2018-05-28 13:13:56 +03:00
Ernestas Kulik c38834973c floating-bar: Stop handling ::enter-notify-event
And replace it with a handler for ::event.
2018-05-28 13:13:56 +03:00
Ernestas Kulik f692a93ddf list-view: Merge event and key-press-event handlers 2018-05-28 13:13:56 +03:00
Ernestas Kulik c8998da860 mime-actions: Stop handling delete-event
Docs say that a response signal is emitted automagically when such an
event is received.
2018-05-28 13:13:56 +03:00
Ernestas Kulik a781e5aee3 general: Stop setting WM class
According to GTK+ docs, this should be the same for all windows of an
application, and GTK+ defaults to doing that itself. However, there is a
slight issue in that the properties window sets a custom window icon
that isn’t reset instantaneously after closing the dialog.
2018-05-28 13:13:56 +03:00
Ernestas Kulik 2507db5aba properties-window: Use “notify” signal instead of focus events 2018-05-28 13:13:56 +03:00
Ernestas Kulik 3cf82d89da query-editor: Make type final
It’s not derived anywhere, and thus it shouldn’t be derivable.
2018-05-28 13:13:56 +03:00
Ernestas Kulik 485b746620 query-editor: Remove key-press-event handler
With the query editor being inside the header bar now, switching focus
to the content view no longer works.
2018-05-28 13:13:56 +03:00
Ernestas Kulik 238004b9d8 query-editor: Include types header
NautilusQueryEditor is only mentioned in passing, this will do just as
fine.
2018-05-28 13:13:56 +03:00
Ernestas Kulik 260b4f7a09 search-popover: Fix signal parameter types 2018-05-28 13:13:56 +03:00
Ernestas Kulik 7077841501 rename-file-popover-controller: Stop using key-press-event 2018-05-28 13:13:52 +03:00
Ernestas Kulik 902ce37f57 canvas-container: Use “notify” signal instead of focus events 2018-05-28 13:04:26 +03:00
Ernestas Kulik d4a6c36182 toolbar: Use “notify” signal instead of focus events 2018-05-28 13:04:26 +03:00
Ernestas Kulik 894cda329c build: Warn on duplicate conditions in conditional statements
Since we’re handling duplicate branches, this makes sense.
2018-05-28 12:59:33 +03:00
Mingcong Bai 1706678bda Update Chinese (China) translation 2018-05-28 09:46:02 +00:00
Carlos Soriano d3a6c2bf1f CI: Run the tests before the bundle
It makes a bit more sense
2018-05-25 22:27:05 +00:00
Ernestas Kulik 3cdf284a1f CI: pass --libdir to Meson
It defaults to lib64 and that might be an issue.
2018-05-25 22:24:36 +03:00
Ernestas Kulik 4432a75d79 CI: export all Meson logs
The install log might be useful.
2018-05-25 22:10:22 +03:00
Carlos Soriano e6a94fcef3 Flatpak/CI: Fix exiv.org being down
So the site is down, and the archive cannot be downloaded...

I uploaded the archive to an issue in GitLab
https://gitlab.gnome.org/GNOME/nautilus/issues/458.

If it works...

It works.
2018-05-25 17:10:12 +02:00
Cheng-Chia Tseng 871051f60f Update Chinese (Taiwan) translation 2018-05-25 13:02:54 +00:00
Carlos Soriano 3b8f238624 Flatpak: Add yaml variant
I needed for a talk because it's more compacted, and we should switch to
it as soon as Builder gets support for yaml!
2018-05-25 12:09:48 +02:00
Jordan Petridis 91cc228171
CI: Re-Enable the display tests 2018-05-22 19:48:23 +03:00
Ernestas Kulik 4b28831306 view-icon-controller: Use a gesture for button press event
Additionally, this requires setting adjustments in the underlying flow
box after removing the (now deprecated) event box.
2018-05-22 16:52:49 +03:00
Ernestas Kulik 873156cf85 window: Check if a tab was hit on right click
Since we have to handle the event in reverse order (because GtkTreeView
claims the event sequence in the capture phase, meaning that the events
won’t bubble up), the context menu for notebook tabs will open
everywhere, because the event handler is not stopped by those lower in
the hierarchy. A simple check if the cursor is on a tab will prevent
that.
2018-05-22 16:52:49 +03:00
Ernestas Kulik 13a8d3efac list-view: Use gesture for button event handling 2018-05-22 16:52:49 +03:00
Ernestas Kulik 1029a818ae toolbar: Use gestures for nav button right-clicks 2018-05-22 16:52:49 +03:00
Ernestas Kulik a40f2b5415 pathbar: Use gesture for path button middle-click handling
This also moves out control-clicking to the “clicked” signal handler, as
it gets harder to make it work with self-click logic.
2018-05-22 16:52:49 +03:00
Ernestas Kulik 1a37805932 pathbar: Use long press gesture for scrolling 2018-05-22 16:52:49 +03:00
Ernestas Kulik 4ff6b8388a window: Use gesture for button press events 2018-05-22 16:52:49 +03:00
Ernestas Kulik 390b6519b1 notebook: Use gesture for button press events 2018-05-22 16:52:49 +03:00
Ernestas Kulik c9180d6065 list-view: Use generic “event” signal
The finer-grained signals/vfuncs are deprecated. It would be possible to
use gestures for some of them as well.
2018-05-22 16:52:49 +03:00
Ernestas Kulik 2fc335e389 batch-rename-dialog: Connect to the “event” signal
For handling motion events, using an event controller would be the GTK+
4 way, but motion controllers are not available in GTK+ 3.
2018-05-22 16:52:49 +03:00
Ernestas Kulik cadede9bfe files-view: Connect to the “event” signal for scrolling
GTK+ 4 no longer has the fine-grained signals and vfuncs for various
events. Additionally, the scroll_event override in NautilusFilesView
doesn’t seem to be ever called, so this commit removes it.
2018-05-22 16:52:49 +03:00
Ernestas Kulik 81c4c0d175 meson.build: Enable deprecation warnings 2018-05-22 16:52:49 +03:00