Commit graph

9 commits

Author SHA1 Message Date
António Fernandes b625533fa4 libnautilus-extension: Drop widget provider
We don't want extensions to inject random inconsistent widgets
into our window.

If there are good reasons for this, in the future we can introduce a
new model-like API instead of a widget-based one.
2022-08-07 01:14:22 +00:00
António Fernandes e418cf4362 properties: Remove old extensions API
We want to control the layout of the window, not having extensions
injecting their own widgets.

This also avoids future breakage when porting to newer versions of GTK.
2022-08-07 01:14:22 +00:00
António Fernandes a3002b148c libnautilus-extension: Introduce model-based properties extensions
This is meant to replace the existing GtkWidget-based solution.

Part of https://gitlab.gnome.org/GNOME/nautilus/-/issues/2365
2022-08-07 01:14:22 +00:00
Aaron Jacobs 4309509d51 extension: Mark entry points as not introspectable
As pointed out by Emmanuele Bassi, these are not part of the ABI and
should be marked with (skip).

See: https://discourse.gnome.org/t/vala-bindings-for-an-unusual-c-ownership-function-signature/8184
2021-11-28 13:11:27 +00:00
Aaron Jacobs 068f0315bc extension: Fix annotation for modules's type list
As pointed out by Emmanuele Bassi, this should be transfer=none instead
of the present transfer=full.

See: https://discourse.gnome.org/t/vala-bindings-for-an-unusual-c-ownership-function-signature/8184
2021-11-28 13:10:14 +00:00
Ernestas Kulik 4ae0361342 docs: Reorganize and fix
This commit completes the sections file with subsections, moves most
documentation to headers (no real reason to, especially given that
changes there may cause unwanted rebuilds, but it feels better to have
it in the headers) and fixes some annotations.

Closes https://gitlab.gnome.org/GNOME/nautilus/issues/565
2018-08-03 20:35:47 +03:00
Alexandru Fazakas aa7cfcf01c eel: self-checks: Fix misaligned arguments
A couple of arguments were misaligned, so we placed
them properly.
2018-03-19 14:49:44 +02:00
Alexandru Fazakas 95ecfc8ea0 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: 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
2018-03-19 14:43:38 +02:00
Ernestas Kulik 7e2605c681 general: refactor extension library
The changes include:

  * adding a single-include header and deprecating
    nautilus-extension-types.h and direct inclusions of individual
    headers;

  * type definition simplifications - this causes some breakages in
    nautilus-file, because NautilusFile used to be typedefed to
    NautilusFileInfo, and that is no longer possible, so the interface
    implementation was moved to static functions and the public
    NautilusFile API provides thin wrappers for them to maintain
    compatibility;

  * documentation cleanups and reorganization;

  * general build rule and code cleanups: mostly g_auto* sprinkled
    around and style changes (sorry)
2018-02-09 06:32:38 +02:00