summaryrefslogtreecommitdiff
path: root/libnautilus-extension
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* general: run uncrustifyCarlos Soriano2016-08-2911-972/+1122
| | | | | | | | And make the style of Nautilus the same for all files. Hopefully we can fix all the style issues we can find in the next days, so expect a little of movement on this. https://bugzilla.gnome.org/show_bug.cgi?id=770564
* libnautilus-extension: add gtk-doc documentation coverageCosimo Cecchi2015-05-2517-8/+231
| | | | | A lot of the library was poorly documented. Make sure the output of the documentation looks okay.
* libnautilus-extension: remove cusetom i18n headerCosimo Cecchi2015-05-256-29/+4
| | | | Just use glib-i18n-lib.h.
* Don't mention FSF addressCosimo Cecchi2014-02-1723-46/+23
| | | | | | Use the website instead. https://bugzilla.gnome.org/show_bug.cgi?id=721518
* build: stop using INCLUDES, deprecated by automake 1.7Andrés G. Aragoneses2013-06-181-1/+1
| | | | | | | | | | | | | | | | | | | We already depend on automake 1.9, so using the replacement of INCLUDES (AM_CPPFLAGS) won't hurt, especially now that it is a warning shown by default since automake 1.13, as evidenced by this build log of mine: Makefile.am: installing './INSTALL' eel/Makefile.am:5: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') eel/Makefile.am: installing './depcomp' parallel-tests: installing './test-driver' libnautilus-extension/Makefile.am:7: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') libnautilus-private/Makefile.am:5: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') nautilus-sendto-extension/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') src/Makefile.am:13: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') test/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') Signed-off-by: Alexander Larsson <alexl@redhat.com>
* Normalize signal namesWilliam Jon McCann2013-01-221-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=692234
* build: use GNOME_MAINTAINER_MODE_DEFINESCosimo Cecchi2012-10-231-1/+1
| | | | Instead of defining our own set of deprecation cflags.
* Use git.mkWilliam Jon McCann2012-09-171-0/+2
|
* Make time columns default to descending sort orderWilliam Jon McCann2012-07-202-0/+19
|
* extension: add some more missing gir annotationsCosimo Cecchi2012-01-164-2/+35
|
* extension: add some annotationsCosimo Cecchi2012-01-092-0/+72
|
* libnautilus-extension: remove the ability to add toolbar itemsCosimo Cecchi2011-02-172-22/+0
| | | | We want to fully control our toolbar now.
* libnautilus-extension: use a different directory for 3.0Cosimo Cecchi2010-12-033-9/+9
| | | | | | So that old extensions do not pull in GTK+2 code. https://bugzilla.gnome.org/show_bug.cgi?id=624244
* build: simplify configure scriptCosimo Cecchi2010-10-301-3/+3
| | | | Also, don't support old exif/exempi APIs anymore.
* Update pkg-config files for GTK+ 3.xBastien Nocera2010-06-232-2/+2
|
* Depend on the right gtk gir fileMatthias Clasen2010-06-211-1/+1
| | | | We need Gtk-3.0.gir now.
* Split WARNING_CFLAGS into its own variable.Cosimo Cecchi2010-05-201-1/+5
| | | | | So that we can use e.g. LIBNAUTILUS_EXTENSIONS_CFLAGS when compiling the gir information.
* Add introspection support for libnautilus-extensionRodrigo Moya2010-05-191-28/+21
|
* Added introspection to libnautilus-extensionRodrigo Moya2010-05-181-0/+34
|
* Don't use C++ keywords in NautilusMenu (#616657).Cosimo Cecchi2010-04-272-16/+16
|
* Dist nautilus-extension-private.hAlexander Larsson2009-12-171-0/+1
|
* Forgot to add nautilus-extension-private.h in last commitAlexander Larsson2009-12-071-0/+35
|
* Add lookup and creator functions for NautilusFileInfo objectsAlexander Larsson2009-12-042-0/+44
| | | | This has been requested by many extension developers.
* Bug 574546 – Document nautilus_property_page_provider_get_pages()Sven Herzberg2009-03-091-1/+14
| | | | | | | | | | | | | | 2009-03-08 Sven Herzberg <herzi@lanedo.com> Bug 574546 – Document nautilus_property_page_provider_get_pages() * libnautilus-extension/nautilus-property-page-provider.c: document the function * src/nautilus-image-properties-page.c, * src/nautilus-notes-viewer.c: drop the function documentation, it's in the API reference now svn path=/trunk/; revision=15070
* Use G_DEFINE_TYPE_* instead of hand-written nautilus_foo_get_type()Cosimo Cecchi2009-02-022-58/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2009-02-02 Cosimo Cecchi <cosimoc@pluto> * libnautilus-extension/nautilus-column.c: (nautilus_column_finalize), (nautilus_column_init), (nautilus_column_class_init): * libnautilus-extension/nautilus-menu.c: (nautilus_menu_finalize): * libnautilus-private/nautilus-cell-renderer-pixbuf-emblem.c: (nautilus_cell_renderer_pixbuf_emblem_class_init), (nautilus_cell_renderer_pixbuf_emblem_finalize): * libnautilus-private/nautilus-cell-renderer-text-ellipsized.c: (nautilus_cell_renderer_text_ellipsized_init), (nautilus_cell_renderer_text_ellipsized_class_init), (nautilus_cell_renderer_text_ellipsized_get_size): * libnautilus-private/nautilus-entry.c: (nautilus_entry_finalize), (nautilus_entry_key_press), (nautilus_entry_motion_notify), (nautilus_entry_button_press), (nautilus_entry_button_release), (nautilus_entry_selection_clear), (nautilus_entry_class_init): * libnautilus-private/nautilus-file.c: (nautilus_file_init), (nautilus_file_constructor), (finalize), (nautilus_file_class_init): * libnautilus-private/nautilus-icon-canvas-item.c: (nautilus_icon_canvas_item_finalize), (nautilus_icon_canvas_item_update), (nautilus_icon_canvas_item_class_init): * libnautilus-private/nautilus-icon-container.c: (nautilus_icon_container_new): * libnautilus-private/nautilus-icon-container.h: * libnautilus-private/nautilus-mime-application-chooser.c: (nautilus_mime_application_chooser_finalize), (nautilus_mime_application_chooser_destroy), (nautilus_mime_application_chooser_class_init), (nautilus_mime_application_chooser_init): * libnautilus-private/nautilus-open-with-dialog.c: (nautilus_open_with_dialog_finalize), (nautilus_open_with_dialog_destroy), (nautilus_open_with_dialog_class_init), (nautilus_open_with_dialog_init): * src/file-manager/fm-icon-container.c: * src/file-manager/fm-list-model.c: (fm_list_model_dispose), (fm_list_model_finalize), (fm_list_model_class_init): * src/file-manager/fm-tree-model.c: (fm_tree_model_finalize), (fm_tree_model_class_init): Use G_DEFINE_TYPE_* instead of hand-written nautilus_foo_get_type() functions where possible. svn path=/trunk/; revision=14911
* Use single GLib/GTK+ includes. Patch by Maxim Ermilov (#560432).Cosimo Cecchi2008-12-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | 2008-12-06 Cosimo Cecchi <cosimoc@gnome.org> * cut-n-paste-code/libegg/eggtreemultidnd.c: * cut-n-paste-code/libegg/eggtreemultidnd.h: * libnautilus-extension/nautilus-menu.c: * libnautilus-private/nautilus-directory-notify.h: * libnautilus-private/nautilus-file-operations.c: * libnautilus-private/nautilus-file.c: * libnautilus-private/nautilus-icon-info.h: * libnautilus-private/nautilus-idle-queue.h: * libnautilus-private/nautilus-monitor.h: * libnautilus-private/nautilus-search-engine-simple.c: * src/file-manager/fm-list-model.c: * src/file-manager/fm-list-model.h: * src/file-manager/fm-list-view.c: * src/nautilus-emblem-sidebar.h: * src/nautilus-notebook.c: * src/nautilus-notebook.h: Use single GLib/GTK+ includes. Patch by Maxim Ermilov (#560432). svn path=/trunk/; revision=14797
* Only include gtk/gtk.h, to allow extensions to build withChristian Persch2008-10-273-3/+3
| | | | | | | | | | * libnautilus-extension/nautilus-location-widget-provider.h: * libnautilus-extension/nautilus-menu-provider.h: * libnautilus-extension/nautilus-property-page.h: Only include gtk/gtk.h, to allow extensions to build with *_DISABLE_SINGLE_INCLKUDES. Bug #558070. svn path=/trunk/; revision=14767
* Remove gnome-vfs from the required libs.Cosimo Cecchi2008-10-021-1/+1
| | | | | | | | | 2008-10-02 Cosimo Cecchi <cosimoc@gnome.org> * libnautilus-extension/libnautilus-extension-uninstalled.pc.in: Remove gnome-vfs from the required libs. svn path=/trunk/; revision=14679