summaryrefslogtreecommitdiff
path: root/libnautilus-extension
Commit message (Collapse)AuthorAgeFilesLines
* column: Add visible property for column chooserCorey Berla2023-05-041-0/+30
| | | | | Add a private property that is meant to help that column chooser know if the nautilus-column should be visible or not.
* column: Remove extra newline from documentation commentOndrej Holy2023-03-291-1/+0
| | | | | | | Currently, the `Nautilus: "@name" parameter unexpected at this location` warning is shown during build. This is caused by the extra newline character in the documentation comment for the `nautilus_column_new` function. Let's remove this extra newline character to get rid of that warning.
* docs: Fix ColumnProvider type in nautilus-columnCorey Berla2023-01-161-1/+1
|
* files-info: Add precondition-checking for emblem nameAntónio Fernandes2023-01-081-0/+1
| | | | | | Don't allow empty or null names. While the previous commit probably prevents the symptoms, adding empty or null names is useless and potentially problematic.
* extension/Column: Port docs to gi-docgenJan Tojnar2022-09-042-16/+44
|
* extension: Fix GIR warningsJan Tojnar2022-09-042-4/+4
| | | | | | | | ../libnautilus-extension/nautilus-properties-model-provider.h:61: Warning: Nautilus: nautilus_properties_model_provider_get_models: Unknown type: 'NautilusPropertyModel' ../libnautilus-extension/nautilus-properties-item.h:37: Warning: Nautilus: nautilus_properties_item_new: unknown parameter 'model' in documentation comment, should be 'value' ../libnautilus-extension/nautilus-properties-item.h:46: Warning: Nautilus: nautilus_properties_item_get_name: unknown parameter 'item' in documentation comment, should be 'self' ../libnautilus-extension/nautilus-properties-item.h:54: Warning: Nautilus: nautilus_properties_item_get_value: unknown parameter 'item' in documentation comment, should be 'self' ../libnautilus-extension/nautilus-properties-model-provider.h:45: Warning: Nautilus: NautilusPropertyModel: Unknown type: 'NautilusPropertyModel'
* docs: Switch to gi-docgenJan Tojnar2022-09-041-1/+1
|
* extension: Bump extensiondir to 4Jeremy Bicha2022-08-081-2/+0
| | | | Closes: https://gitlab.gnome.org/GNOME/nautilus/-/issues/2417
* column: Fix property setting/gettingAntónio Fernandes2022-08-071-2/+2
| | | | | | Was spamming warnings on list view. Left over from c60d3099edca0558601c50c32f7307a26dda2532
* libnautilus-extension: Bump pkgconfig versionAntónio Fernandes2022-08-071-8/+7
| | | | | | Also drop GTK dependency, now that GTK is no longer used in our API. Closes https://gitlab.gnome.org/GNOME/nautilus/-/issues/2135
* column: Don't depend on GTKAntónio Fernandes2022-08-072-9/+14
| | | | We use GtkSortOrder internally only, it's not meant for extensions.
* libnautilus-extension: Drop widget providerAntónio Fernandes2022-08-074-137/+0
| | | | | | | | 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.
* menu-provider: Don't pass GtkWindowAntónio Fernandes2022-08-072-13/+2
| | | | | | We don't want menu items to create their own windows in our process. This helps with the effort to de-GTK-ize libnautilus-extensions API.
* properties: Remove old extensions APIAntónio Fernandes2022-08-076-480/+0
| | | | | | | 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.
* libnautilus-extension: Introduce model-based properties extensionsAntónio Fernandes2022-08-078-0/+552
| | | | | | This is meant to replace the existing GtkWidget-based solution. Part of https://gitlab.gnome.org/GNOME/nautilus/-/issues/2365
* extension: Add docstrings for all remaining public functionsAaron Jacobs2022-07-302-0/+105
| | | | Most of these are pretty sparse but could be expanded on as needed.
* properties-window: Use GtkStack for navigationPeter Eisenmann2022-07-282-0/+43
| | | | | | | | | | | Replace the tabbed GtkNotebook view with inlined navigation rows that link to subpages and a back button that allows navigating back. Add additional needed getters to NautilusPropertyPage. Also, replace the now-inadequate .view style class with .background. Part of #1326
* general: Delete no longer needed git ignoresPeter Eisenmann2022-07-171-3/+0
| | | | | | Meson builds out-of-tree, these ignored files will never get created in these directories. If they do, it indicates a build configuration error and should not be hidden.
* libnautilus-extension: Drop compatibility includesAntónio Fernandes2022-07-098-20/+0
| | | | | | They were introduced to ensure compatibility in 0e5815e95ae2f071be73b75b57925aceb23f503a Now that we have broken the API, it's time to drop them.
* libnautilus-extension: Remove compatibility typedefsAntónio Fernandes2022-07-096-41/+0
| | | | | | | Now that we have broken the API, remove compatibility typedefs introduced in 7e2605c681d065e6b0a3d779c30b892932597991 Also update audio-video-properies to use the new symbols.
* libnautilus-extension: Remove deprecated headersAntónio Fernandes2022-07-093-70/+0
| | | | Deprecated since commit 7e2605c681d065e6b0a3d779c30b892932597991
* libnautilus-extension: Bump library versionAntónio Fernandes2022-07-091-1/+1
| | | | | | | | | | | | | The GTK3 to GTK4 switch requires extensions to port their widgets too, because 2 versions of GTK cannot be loaded in the same program. Therefore, this is effectively an API break. We must update the library version. Also, we are going to introduce breaking more changes before the API freeze. Closes: https://gitlab.gnome.org/GNOME/nautilus/-/issues/2135
* general: Switch to GTK4António Fernandes2022-01-091-3/+3
| | | | | | | | | | | | | | | | 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
* extension: Allow @tip to be NULL in nautilus_menu_item_new()Aaron Jacobs2021-12-042-2/+1
| | | | | Tooltips are currently unused, so it makes sense to allow NULL here, as with the @icon parameter.
* extension: Add some missing nullable annotationsAaron Jacobs2021-12-045-7/+7
| | | | | I've generally verified that these are nullable by looking elsewhere in the source.
* extension: Mark backwards-compatibility typedefs as not introspectableAaron Jacobs2021-11-286-0/+18
| | | | | | | | | I believe these are only included to prevent breakage of existing C extensions, but as they're not intended for actual use we should mark them with `(skip)`. This has the added benefit of making the VAPI file generated from the resulting GIR file much less noisy.
* extension: Mark entry points as not introspectableAaron Jacobs2021-11-281-3/+3
| | | | | | | 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
* extension: Fix annotation for modules's type listAaron Jacobs2021-11-281-1/+1
| | | | | | | 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
* general: Run uncrustify scriptOndrej Holy2020-04-051-1/+2
| | | | | There are some style issue since the last run. Let's run it again before enabling style-check CI job.
* menu-provider: Fix signal id argument984-glib-signal_id-0-is-invalidPatrick Monnerat2020-01-041-1/+1
| | | | | | | ITEMS_UPDATED is not the signal id. It's the index for the array of signal ids. Fixes https://gitlab.gnome.org/GNOME/nautilus/issues/984
* nautilus-extension: file-info: Tweak punctuationErnestas Kulik2019-02-171-1/+1
| | | A bit more readable with a semicolon.
* Include pkg-config package name in introspection file.Tomasz Miąsko2019-01-101-0/+3
| | | | | | This effectively adds `<package name="libnautilus-extension"/>` to gir xml file, which makes it easy to obtain necessary compiler and linker flags for use in compile time bindings.
* nautilus-extension: file-info: Fix doc oopsErnestas Kulik2018-08-261-1/+1
| | | | The same function was accidentally documented twice.
* docs: Reorganize and fixErnestas Kulik2018-08-0320-312/+344
| | | | | | | | | 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
* build: Allow disabling GIR data generationErnestas Kulik2018-07-251-16/+18
|
* eel: self-checks: Fix misaligned argumentsAlexandru Fazakas2018-03-191-4/+3
| | | | | A couple of arguments were misaligned, so we placed them properly.
* general: Remove include guards in favor of pragma onceAlexandru Fazakas2018-03-1913-64/+28
| | | | | | | | | | | | | | | | | | 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: Allow running in separate instanceErnestas Kulik2018-03-181-0/+1
| | | | | | | | | | | | | | | | When hacking on Nautilus, it is very inconvenient to have to close any running instance before running the built version. This commit enables running three different instances by changing the application ID. Beside the default “profile” is one crafted for stable flatpak releases and one for development. The stable flatpak profile adds an identifying mark to the about dialog to aid collecting information in bug reports. The development profile is that plus additional styling to help visually identify the development instance. It also will be used when generating Flatpak bundles with the help of CI. Generally, the implementation is slightly hacky to allow all the different workflows, spanning from regular installations to GNOME Builder flatpak builds, as each comes with its own quirks.
* general: Run uncrustifyCarlos Soriano2018-02-131-1/+1
|
* libnautilus-extension: add removed includes back inErnestas Kulik2018-02-139-2/+25
| | | | | | Some extensions break because of weird inclusion patterns. Fixes https://gitlab.gnome.org/GNOME/nautilus/issues/252
* Ensure that extensions depends on generated headersEmmanuele Bassi2018-02-091-8/+11
| | | | | | | The libnautilus-extensions internal dependency must include the generated enumeration header file, otherwise we may end up building targets that depend on the library prior to have the header properly generated.
* general: refactor extension libraryErnestas Kulik2018-02-0924-959/+772
| | | | | | | | | | | | | | | | | | | | 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)
* nautilus-extension: use Meson to generate pkgconfig fileErnestas Kulik2018-02-093-38/+20
| | | | | | | Currently, the pkgconfig file for nautilus-extension is generated by substituting variables in a template file. That is prone to mistakes and requires manual tracking of dependencies. Using the pkgconfig module from Meson helps automate much of the process.
* build: general cleanupsErnestas Kulik2018-01-021-52/+72
| | | | | | | | | | | | | | This commit does the following: * Canonicalize the style: * Use two-space indentations. * Un-Autotools-ify option names. * Don’t align arguments, simply increase indentation. * Don’t add a space before opening parenthesis in calls. * Remove unused variables. * Remove unused dependencies. * Remove config.h.meson. * Optimize dependencies. * Use disabler functionality for libselinux dependency, to save lines.
* Add license to libnautilus-extensionErnestas Kulik2017-08-071-0/+458
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=785062
* autotools: kill itErnestas Kulik2017-03-221-87/+0
| | | | | | We’re moving to Meson this cycle, so this is losing some deadweight. https://bugzilla.gnome.org/show_bug.cgi?id=780366
* meson: set correct libnautilus-extension version in .pcErnestas Kulik2017-03-031-1/+1
| | | | | | | | | | Currently, when building with Meson, the version of the pkg-config file for libnautilus-extension is set to the version of the library itself. This is incompatible with how it was before - the version was set to the version of Nautilus. That breaks some modules that build extensions (e.g. file-roller). https://bugzilla.gnome.org/show_bug.cgi?id=779472
* general: add support for MesonErnestas Kulik2017-02-241-0/+67
| | | | | | | | | | | | Since it’s 2017 already, Nautilus should use a build system that doesn’t take longer to set up the build than it takes to actually build. An observed build time using Ninja of roughly one-fifth of what it took Autotools is more than reason enough to add support for Meson. Along with that, this commit adds a convenience script to generate a tarball for releases, since we use libgd as a submodule and Meson does not handle source distributions. https://bugzilla.gnome.org/show_bug.cgi?id=778167
* general: drop git.mkErnestas Kulik2017-02-242-2/+3
| | | | | | | | This commit removes git.mk and adds hand-written gitignore files. That is needed to ignore build/, which is the directory of choice for Meson builds. https://bugzilla.gnome.org/show_bug.cgi?id=778167
* general: format code with newer UncrustifyCarlos Soriano2016-11-301-12/+12
| | | | | Some issues were fixed, and now we can rerun Uncrustify to format correctly more part of the code.