nautilus-actions-new: mimetypes default to */*
[nautilus-actions.git] / ChangeLog-2010
blob948ac886e9769f1392322057dd4a410889d67d33
1 2010-12-30 Pierre Wieser <pwieser@trychlos.org>
3         * NEWS: Update NEWS before release.
5         * src/io-desktop/nadp-desktop-file.c (nadp_desktop_file_write):
6         Use returned data length instead of trying to computer a (false) another.
8         * src/io-desktop/nadp-desktop-file.c (nadp_desktop_file_set_locale_string):
9         Improve the writing of locale strings for other languages.
11         * configure.ac: Check for gtk-doc >= 1.15.
13         * docs/reference/Makefile.am:
14         Handle multiple source directories when gtk-doc >= 1.15.
16         * src/core/na-icontext.c: Fix documentation comment.
18         * src/io-desktop/nadp-desktop-file.c (nadp_desktop_file_set_locale_string):
19         No more write the encoding part of the locale in the .desktop file.
21         * src/nact/nact-main-window.c (setup_dialog_title):
22         Setup item label before application name in window title.
24         * src/core/na-icontext.c (na_icontext_read_done):
25         Convert 'all/allfiles' mimetype to 'all/all' + 'file' scheme.
27         * src/core/na-object-id.c (na_object_id_prepare_for_paste):
28         Set data provider to NULL when duplicating a desktop file item.
29         This fixed the 'unable to save a copied item' bug.
31 2010-12-29 Pierre Wieser <pwieser@trychlos.org>
33         * src/core/na-selected-info.c:
34         * src/core/na-selected-info.h:
35         No more keep GFile location nor NAGnomeVFSURI parsed URI.
36         (na_selected_info_get_location): Removed function.
37         (na_selected_info_get_uri_host, na_selected_info_get_uri_user,
38         na_selected_info_get_uri_port): New functions.
40         * src/core/na-tokens.c (na_tokens_new_from_selection):
41         Make use of new na_selected_info functions.
42         Quote the filename elements.
43         Fix #638278.
45         * src/core/na-tokens.c (build_string_lists):
46         Keep the same order than Nautilus. Fix #638272.
48         * src/core/na-selected-info.c (new_from_nautilus_file_info):
49         * src/plugin-menu/nautilus-actions.c (menu_provider_get_file_items):
50         Add debug messages to trace order and names in the selection.
52         * src/plugin-menu/nautilus-module.c (set_log_handler):
53         Remove obsolete TODO.
55 2010-12-26 Pierre Wieser <pwieser@trychlos.org>
57         * src/core/Makefile.am:
58         Add -fPIC parameter
59         Get ride of 'relocation R_X86_64_32 against .rodata.str1.8' message.
61 2010-12-22 Pierre Wieser <pwieser@trychlos.org>
63         * src/io-desktop/Makefile.am:
64         * src/io-gconf/Makefile.am:
65         * src/io-xml/Makefile.am:
66         Also compile dynamic plugins with needed dependancies
67         (get ride of #637797 when loaded from PcManFm)
69         * src/nact/egg-sm-client-private.h:
70         * src/nact/egg-sm-client-xsmp.c:
71         Apply Mathias Clasen patch to build against Gtk+ 2.91.7.
73         * doc/reference/Makefile.am: include auto created files in
74         content_files, so that they are build before XML generation.
76         * Makefile.am: Enable '-Wl,--as-needed' link option at make distcheck.
78         * configure.ac:
79         * m4/na-compiler-flags.m4: Define --enable-as-needed configure option.
81         * src/core/Makefile.am: Build core library against its dependancies.
82         Fix #637797 - -Wl,--as-needed bug.
84         * run-autogen.sh: No more enable silent rules in development.
86         * tools/release-tarball.sh: Fix remote install of the tarball.
88 2010-12-20 Pierre Wieser <pwieser@trychlos.org>
90         * configure.ac: Post-release bump version.
92         * NEWS: Update before release.
94         * README: Add some words about importer/exporter plugins.
96         * m4/na-check-for-gtk.m4: New file.
98         * configure.ac: Add check for building against Gtk+ 3.0.
100         * m4/na-check-module.m4:
101         * m4/na-nautilus-extdir.m4:
102         * run-autogen.sh: Updated accordingly.
104         * src/nact/base-keysyms.h: New file which holds defines for Gdk keys.
106         * src/nact/Makefile.am:
107         * src/nact/base-assistant.c (on_key_pressed_event):
108         * src/nact/nact-iactions-list.c (on_key_pressed_event):
109         * src/nact/nact-match-list.c (on_key_pressed_event):
110         * src/nact/nact-schemes-list.c (on_key_pressed_event):
111         Updated accordingly.
113         * src/nact/nact-iaction-tab.c
114         (nact_iaction_tab_initial_load_toplevel):
115         Fix arguments when building against Gtk+ 2.0.
117         * src/nact/nact-icommand-tab.c (update_example_label):
118         Replace 'e.g.,' with 'Ex.:'.
120         * src/nact/nautilus-actions-config-tool.ui: Review the widget layout.
122 2010-12-16 Pierre Wieser <pwieser@trychlos.org>
124         * m4/na-check-module.m4: Fix variable substitution.
126         * run-autogen.sh: Re-enable silent rules in Gtk+-3 build.
128         * src/nact/nact-gtk-utils.c:
129         * src/nact/nact-gtk-utils.h (nact_gtk_utils_set_editable):
130         * src/nact/nact-iaction-tab.c (on_tab_updatable_selection_changed):
131         * src/nact/nact-ibasenames-tab.c (on_tab_updatable_selection_changed):
132         * src/nact/nact-icommand-tab.c (on_tab_updatable_selection_changed):
133         * src/nact/nact-ienvironment-tab.c (on_tab_updatable_selection_changed):
134         * src/nact/nact-iexecution-tab.c (on_tab_updatable_selection_changed):
135         * src/nact/nact-ifolders-tab.c (on_tab_updatable_selection_changed):
136         * src/nact/nact-iproperties-tab.c (on_tab_updatable_selection_changed):
137         * src/nact/nact-ischemes-tab.c (on_tab_updatable_selection_changed):
138         * src/nact/nact-match-list.c (nact_match_list_on_selection_changed):
139         * src/nact/nact-schemes-list.c (nact_schemes_list_create_model):
140         Use GObject instead of GtkWidget parameter.
142         * src/nact/nact-iaction-tab.c
143         (nact_iaction_tab_runtime_init_toplevel):
144         Dynamicallu allocates the GtkComboBox or the GtkComboBoxEntry.
146         * configure.ac: Build with Gtk+ 3.0 if first found by pkg-config.
148         * run-autogen.sh: Setup PKG_CONFIG_PATH and LD_LIBRARY_PATH
149         to be able to build against Gtk+ 3.0.
151         * src/core/na-importer-ask.c (na_importer_ask_user):
152         * src/nact/base-window.c (instance_dispose):
153         Replace deprecated gtk_widget_hide_all() with gtk_widget_hide().
155         * src/nact/base-assistant.c (on_key_pressed_event):
156         * src/nact/nact-iactions-list.c (on_key_pressed_event):
157         * src/nact/nact-match-list.c (on_key_pressed_event):
158         * src/nact/nact-schemes-list.c (on_key_pressed_event):
159         Replace deprecated GDK_xxxx symbols keys with GDK_KEY_xxxx.
161         * src/nact/nact-clipboard.c
162         (nact_clipboard_dnd_get_data,get_from_dnd_clipboard_callback,
163         nact_clipboard_primary_get,get_from_primary_clipboard_callback):
164         * src/nact/nact-tree-model-dnd.c
165         (nact_tree_model_dnd_idrag_dest_drag_data_received,
166         nact_tree_model_dnd_imulti_drag_source_drag_data_get,
167         nact_tree_model_dnd_on_drag_begin,nact_tree_model_dnd_on_drag_end,
168         drop_uri_list,get_xds_atom_value):
169         Use gtk_selection_data_get_xxx accessors, available since Gtk+ 2.14.
170         Use gdk_drag_context_get_xxx accessors, available since Gtk+ 2.22.
172         * src/nact/nact-gtk-utils.c (nact_gtk_utils_set_editable):
173         * src/nact/nact-gtk-utils.h:
174         * src/nact/nact-iaction-tab.c (on_tab_updatable_selection_changed):
175         * src/nact/nact-ibasenames-tab.c (on_tab_updatable_selection_changed):
176         * src/nact/nact-icommand-tab.c (on_tab_updatable_selection_changed):
177         * src/nact/nact-ienvironment-tab.c (on_tab_updatable_selection_changed):
178         * src/nact/nact-iexecution-tab.c (on_tab_updatable_selection_changed):
179         * src/nact/nact-ifolders-tab.c (on_tab_updatable_selection_changed):
180         * src/nact/nact-iproperties-tab.c (on_tab_updatable_selection_changed):
181         * src/nact/nact-ischemes-tab.c (on_tab_updatable_selection_changed):
182         * src/nact/nact-match-list.c (nact_match_list_on_selection_changed):
183         * src/nact/nact-schemes-list.c (nact_schemes_list_create_model):
184         Replace deprecated GtkObject with GtkWidget.
185         Replace deprecated GtkComboboxEntry with GtkCombobox starting with
186         Gtk+ 2.24.
188         * src/nact/nact-gtk-utils.c (nact_gtk_utils_get_pixbuf):
189         Replace deprecated gtk_widget_render_icon() with gtk_widget_render_icon_pixbuf().
191         * src/nact/nact-main-statusbar.c (nact_main_statusbar_initial_load_toplevel):
192         Replace deprecated gtk_widget_size_request() with gtk_widget_get_preferred_size().
194 2010-12-14 Pierre Wieser <pwieser@trychlos.org>
196         * configure.ac:
197         - make silent rules available, disabling by default
198         - individualize modules cheks.
200         * run-autogen.sh: Enable silent rules.
202         * src/core/na-pivot.c (na_pivot_write_level_zero): Improve comment.
204         * src/nact/nact-main-menubar-file.c (nact_main_menubar_file_save_items):
205         Improve delete process, restoring items which cannot have been deleted.
207         * src/nact/nact-main-window.c:
208         * src/nact/nact-main-window.h (nact_main_window_remove_deleted):
209         * src/nact/nact-window.c:
210         * src/nact/nact-window.h (nact_window_delete_item):
211         Improve delete process, returning a status and an error message.
213 2010-12-13 Pierre Wieser <pwieser@trychlos.org>
215         * src/nact/nact-main-menubar-file.c (nact_main_menubar_file_save_items):
216         Display a warning summary when items may not have been saved.
218         * src/core/na-pivot.c:
219         * src/core/na-pivot.h (na_pivot_write_level_zero):
220         Let the function returns error messages.
222         * src/core/na-io-provider.c (na_io_provider_get_writable_provider):
223         * src/nact/nact-main-menubar-file.c (nact_main_menubar_file_save_items):
224         Updated accordingly.
226         * src/core/na-iprefs.c:
227         * src/core/na-iprefs.h (na_iprefs_write_string_list):
228         Returns a writing status.
230         * Makefile.am:
231         * run-autogen.sh: Ask for PDF generation of the reference manual.
233         Fix API index reference.
235         * docs/reference/nautilus-actions-docs.xml:
236         * src/api/na-core-utils.h:
237         * src/api/na-extension.h:
238         * src/api/na-gconf-utils.h:
239         * src/api/na-icontext.h:
240         * src/api/na-iduplicable.h:
241         * src/api/na-iexporter.h:
242         * src/api/na-ifactory-object.h:
243         * src/api/na-ifactory-provider.h:
244         * src/api/na-iimporter.h:
245         * src/api/na-iio-provider.h:
246         * src/api/na-object-id.h:
247         * src/api/na-object.h:
248         * src/core/na-core-utils.c:
249         * src/core/na-data-boxed.c:
250         * src/core/na-data-def.c:
251         * src/core/na-data-types.c:
252         * src/core/na-gconf-monitor.c:
253         * src/core/na-gconf-utils.c:
254         * src/core/na-icontext.c:
255         * src/core/na-iduplicable.c:
256         * src/core/na-ifactory-object.c:
257         * src/core/na-ifactory-provider.c:
258         * src/core/na-iimporter.c:
259         * src/core/na-iio-provider.c:
260         * src/core/na-object-action.c:
261         * src/core/na-object-id.c:
262         * src/core/na-object-item.c:
263         * src/core/na-object-menu.c:
264         * src/core/na-object-profile.c:
265         * src/core/na-object.c: Updated accordingly.
267         * docs/nact/C/nact-conditions.xml: Review 'note' vs. 'tip' usage.
269         * docs/reference/Makefile.am:
270         Remove call to GTKDOC_CHECK macro which makes 'make distcheck' fail.
272 2010-12-11 Pierre Wieser <pwieser@trychlos.org>
274         * docs/nact/Makefile.am: Fix user's manual generation.
276         Fic Miscellaneous API documentation.
278         * docs/reference/nautilus-actions-docs.xml:
279         * docs/reference/nautilus-actions-sections.txt:
280         * src/api/na-core-utils.h:
281         * src/api/na-gconf-monitor.h:
282         * src/api/na-gconf-utils.h:
283         * src/core/na-core-utils.c:
284         * src/core/na-gconf-monitor.c:
285         * src/core/na-gconf-utils.c: Updated accordingly.
287         Fix NAObject API documentation.
289         * docs/reference/nautilus-actions-docs.xml:
290         * docs/reference/nautilus-actions-sections.txt:
291         * src/api/na-icontext.h:
292         * src/api/na-object-api.h:
293         * src/core/na-icontext.c: Updated accordingly.
295         Fix NAIDuplicable Interface documentation.
297         * docs/reference/nautilus-actions-docs.xml:
298         * docs/reference/nautilus-actions-sections.txt:
299         * src/api/na-iduplicable.h:
300         * src/api/na-object-menu.h:
301         * src/api/na-object-profile.h:
302         * src/core/na-iduplicable.c:
303         * src/core/na-object-menu.c:
304         * src/core/na-object-profile.c: Updated accordingly.
306         Fix NAObjectAction documentation.
308         * docs/reference/nautilus-actions-docs.xml:
309         * docs/reference/nautilus-actions-sections.txt:
310         * src/api/na-object-action.h:
311         * src/core/na-icontext-factory.c:
312         * src/core/na-object-action.c: Updated accordingly.
314         Fix NAObjectItem documentation.
316         * docs/reference/nautilus-actions-docs.xml:
317         * docs/reference/nautilus-actions-sections.txt:
318         * src/api/na-object-id.h:
319         * src/api/na-object-item.h:
320         * src/core/na-object-item.c: Updated accordingly.
322         Fix NAObjectId documentation.
324         * docs/reference/nautilus-actions-docs.xml:
325         * docs/reference/nautilus-actions-sections.txt:
326         * src/api/na-object-id.h:
327         * src/api/na-object.h:
328         * src/core/na-object-id.c: Updated accordingly.
330         Fix NAObject documentation.
332         * docs/reference/nautilus-actions-docs.xml
333         * docs/reference/nautilus-actions-sections.txt:
334         * src/api/na-data-boxed.h:
335         * src/api/na-data-def.h:
336         * src/api/na-data-types.h:
337         * src/api/na-iexporter.h:
338         * src/api/na-ifactory-object.h:
339         * src/api/na-ifactory-provider.h:
340         * src/api/na-iimporter.h:
341         * src/api/na-iio-provider.h:
342         * src/api/na-object.h:
343         * src/core/na-data-boxed.c:
344         * src/core/na-data-def.c:
345         * src/core/na-data-types.c:
346         * src/core/na-export-format.c:
347         * src/core/na-export-format.h:
348         * src/core/na-exporter.h:
349         * src/core/na-factory-object.h:
350         * src/core/na-factory-provider.c:
351         * src/core/na-factory-provider.h:
352         * src/core/na-gnome-vfs-uri.c:
353         * src/core/na-gnome-vfs-uri.h:
354         * src/core/na-gtk-utils.c:
355         * src/core/na-gtk-utils.h:
356         * src/core/na-iabout.c:
357         * src/core/na-iabout.h:
358         * src/core/na-iexporter.c:
359         * src/core/na-ifactory-object.c:
360         * src/core/na-ifactory-provider.c:
361         * src/core/na-iimporter.c:
362         * src/core/na-iio-provider.c:
363         * src/core/na-importer-ask.c:
364         * src/core/na-importer-ask.h:
365         * src/core/na-importer.h:
366         * src/core/na-io-provider.c:
367         * src/core/na-io-provider.h:
368         * src/core/na-ipivot-consumer.c:
369         * src/core/na-ipivot-consumer.h:
370         * src/core/na-iprefs.c:
371         * src/core/na-iprefs.h:
372         * src/core/na-module.c:
373         * src/core/na-module.h:
374         * src/core/na-object.c:
375         * src/core/na-pivot.c:
376         * src/core/na-pivot.h:
377         * src/core/na-selected-info.c:
378         * src/core/na-selected-info.h:
379         * src/core/na-tokens.c:
380         * src/core/na-tokens.h:
381         * src/core/na-updater.c:
382         * src/core/na-updater.h: Updated accordingly.
384         Fix D-Bus Services documentation.
386         * docs/reference/nautilus-actions-docs.xml:
387         * docs/reference/nautilus-actions-sections.txt:
388         * src/api/na-dbus.h:
389         * src/plugin-tracker/na-tracker-dbus.h:
390         * src/plugin-tracker/na-tracker.c:
391         * src/utils/nautilus-actions-run.c:
392         * tools/dbus-introspect.sh: Updated accordingly.
394 2010-12-10 Pierre Wieser <pwieser@trychlos.org>
396         Fix Data Factory Management System documentation.
398         * docs/reference/nautilus-actions-docs.xml:
399         * docs/reference/nautilus-actions-sections.txt:
400         * src/api/na-extension.h:
401         * src/api/na-iexporter.h:
402         * src/api/na-ifactory-object-data.h:
403         * src/core/na-data-boxed.c:
404         * src/core/na-data-def.c:
405         * src/core/na-data-types.c:
406         * src/core/na-iexporter.c:
407         * src/core/na-ifactory-object.c:
408         * src/core/na-ifactory-provider.c:
409         * src/core/na-iimporter.c:
410         * src/core/na-iio-provider.c: Updated accordingly.
412 2010-12-09 Pierre Wieser <pwieser@trychlos.org>
414         Document NADataBoxed class.
416         * docs/reference/nautilus-actions-docs.xml:
417         * docs/reference/nautilus-actions-sections.txt:
418         * src/api/na-data-boxed.h:
419         * src/api/na-data-types.h:
420         * src/core/na-data-boxed.c:
421         * src/core/na-data-types.c: Updated accordingly.
423         Document NADataDef and NADataGroup structures.
425         * docs/reference/nautilus-actions-docs.xml:
426         * docs/reference/nautilus-actions-sections.txt:
427         * src/api/na-data-def.h:
428         * src/api/na-ifactory-object-data.h:
429         * src/api/na-ifactory-object.h:
430         * src/core/na-data-def.c:
431         * src/core/na-factory-object.c:
432         * src/core/na-factory-object.h:
433         * src/core/na-ifactory-object.c:
434         * src/core/na-ifactory-provider.c: Updated accordingly.
436         Document NAIFactoryObject interface.
438         * docs/reference/nautilus-actions-sections.txt:
439         * src/api/na-ifactory-object.h:
440         * src/core/na-ifactory-object.c:
441         * src/core/na-ifactory-provider.c: Updated accordingly.
443         Document NAIFactoryProvider interface.
445         * docs/reference/nautilus-actions-docs.xml:
446         * docs/reference/nautilus-actions-sections.txt:
447         * src/api/na-ifactory-provider-provider.h:
448         * src/api/na-ifactory-provider.h:
449         * src/core/na-factory-provider.h:
450         * src/core/na-ifactory-provider.c: Updated accordingly.
452         Fix NAIExporter reference manual.
454         * docs/reference/nautilus-actions-sections.txt:
455         * src/api/na-iexporter.h:
456         * src/api/na-iimporter.h:
457         * src/api/na-iio-provider.h:
458         * src/core/na-exporter.c:
459         * src/core/na-exporter.h:
460         * src/core/na-iexporter.c: Updated accordingly.
462         Fix NAIImporter reference manual.
464         * docs/reference/.gitignore:
465         * docs/reference/nautilus-actions-sections.txt:
466         * src/api/na-iimporter.h:
467         * src/api/na-iio-provider.h:
468         * src/core/na-iimporter.c:
469         * src/core/na-iio-provider.c:
470         * src/core/na-importer-ask.c:
471         * src/core/na-importer-ask.h:
472         * src/core/na-importer.c:
473         * src/core/na-importer.h: Updated accordingly.
475         * docs/reference/nautilus-actions-sections.txt: New file.
477 2010-12-08 Pierre Wieser <pwieser@trychlos.org>
479         Update reference manual for extensions.
480         Update reference manual for NAIIOProvider interface.
482         * docs/reference/na-about.xml: New file.
484 2010-12-06 Pierre Wieser <pwieser@trychlos.org>
486         * docs/reference/na-compiling.xml:
487         * docs/reference/na-dist-content.xml:
488         * docs/reference/na-getting.xml:
489         * docs/reference/na-plugin.xml:
490         * docs/reference/na-what-is-it.xml:
491         * docs/reference/version_dir.xml: New files.
493         * data/actions/my-first-na-action.desktop:
494         * data/actions/my-first-na-menu.desktop:
495         * data/actions/open-terminal-here.desktop:
496         * data/actions/show-na-parameters.desktop:
497         - Actually disabled actions and menus as stated in the doc and the README.
498         - Remove character encodings from localizable strings.
500 2010-12-03 Pierre Wieser <pwieser@trychlos.org>
502         * docs/nact/Makefile.am:
503         Automatically build DOC_ENTITIES and DOC_FIGURES lists.
505         Rename doc/ subdirectory to docs/.
507         * Makefile.am:
508         * configure.ac:
509         * docs/nact/Makefile.am: Updated accordingly.
511         * configure.ac: Post release version bump.
513         Releasing 3.0.2
515         * NEWS:
516         * README: Update before release.
518 2010-12-02 Pierre Wieser <pwieser@trychlos.org>
520         * src/nact/nautilus-actions-config-tool.ui:
521         Do not allow actions list to fully disappeared.
523         * src/nact/nact-gtk-utils.c:
524         * src/nact/nact-gtk-utils.h (nact_gtk_utils_select_file_with_preview):
525         New function.
527         * src/nact/nact-iaction-tab.c (on_icon_browse):
528         Add a preview when selecting an icon.
530         Factorize help description.
532         * po/POTFILES.in: add src/utils/console-utils.c file.
534         * src/utils/console-utils.c:
535         * src/utils/console-utils.h (console_cmdline_get_description):
536         New function.
538         * src/utils/nautilus-actions-new.c (init_options):
539         * src/utils/nautilus-actions-run.c (init_options):
540         * src/utils/nautilus-actions-schemas.c (init_options):
541         Updated to take advantage of new function.
543         * configure.ac: Display a summary of configuration options.
545         * m4/na-enable-manuals.m4:
546         * m4/na-maintainer-mode.m4:
547         * m4/na-nautilus-extdir.m4: Define displayable variables.
549 2010-12-01 Pierre Wieser <pwieser@trychlos.org>
551         * src/nact/nact-assistant-export.c
552         (assist_runtime_init_target_folder, on_folder_selection_changed):
553         Set/get current folder URI. Fix #616532.
555         * src/nact/nact-ifolders-tab.c (on_browse_folder_clicked):
556         Set/get current folder. Fix #616532.
558         * src/api/na-object-item.h: Define new ITEM_TARGET_ANY target.
560         * src/core/na-icontext.c (is_candidate_for_target):
561         Unconditionnally accepts any target.
563         * src/utils/nautilus-actions-run.c (main, get_profile_for_targets):
564         Ask there is no selection on the target. Fix #634056.
566         * configure.ac: call new NA_SET_DEFAULT_IO_PROVIDER macro.
568         * m4/na-default-io-provider.m4: New file.
570         * src/core/na-io-provider.c (na_io_provider_get_providers_list):
571         Used the configured default I/O provider when no preference has been
572         yet registered.
574         * configure.ac:
575         - Pre-release bump version number.
576         - Define NAUTILUS_ACTIONS_DEBUG variable.
578         * src/nact/nact-main.c (log_handler),
579         * src/plugin-menu/nautilus-module.c (log_handler),
580         * src/plugin-tracker/na-tracker-plugin.c (log_handler),
581         * src/utils/console-utils.c (log_handler):
582         Display debug informations when NAUTILUS_ACTIONS_DEBUG variable is set.
584         * doc/nact/Makefile.am:
585         Distribute admon-* icons with html docs (workaround for #636175).
587 2010-11-30 Pierre Wieser <pwieser@trychlos.org>
589         * doc/nact/Makefile.am: Only rebuild manuals when needed.
591         * src/plugin-menu/nautilus-actions.c (create_menu_item):
592         Set a unique name per target menu so that icons are displayed even
593         when both toolbar and location context menu are targeted.
595 2010-11-25 Pierre Wieser <pwieser@trychlos.org>
597         Add %o/%O no-op parameters.
599         * doc/nact/C/figures/nact-legend.png: Update legend screenshot.
600         * doc/nact/C/nact-execution.xml: Update parameters description.
602         * src/core/na-object-profile-factory.c:
603         * src/core/na-tokens.h: Update comments.
605         * src/core/na-tokens.c
606         (is_singular_exec, parse_singular): Update with new parameters.
608         * src/nact/nautilus-actions-config-tool.ui:
609         Update legend dialog.
611 2010-11-24 Pierre Wieser <pwieser@trychlos.org>
613         * doc/des-ema/des-ema-0.12:
614         * doc/des-ema/des-ema-0.13:
615         * doc/des-ema/des-ema-0.14:
616         * doc/des-ema/des-ema-0.15: New files.
618         * doc/nact/Makefile.am:
619         Do not distribute non translated figures in xx/ subdirectories.
621 2010-11-23 Pierre Wieser <pwieser@trychlos.org>
623         * doc/nact/C/nact-starting.xml:
624         Work-around in order to be able to build sl pdf.
626         * doc/nact/Makefile.am:
627         Include non-translated figures in translated pdf.
629 2010-11-22 Pierre Wieser <pwieser@trychlos.org>
631         * doc/nact/Makefile.am:
632         Be tolerant about not buildable pdf.
634         * po/POTFILES.in:
635         Fix #635521: translatable sentences of the *.ui files don't appear in .po file.
637         * run-autogen.sh:
638         Clean up aborted make distcheck before running autogen.
640         * doc/nact/C/nact-execution.xml:
641         Fix typo in NACT user's manual.
643         * src/core/na-icontext-factory.c:
644         Fix #632992: add comment about default value translation.
646 2010-09-23 Pierre Wieser <pwieser@trychlos.org>
648         * configure.ac: Pre-release version bump.
650         * doc/api/Makefile.am: Fix the warning when overriding GTKDOC_RUN.
652         * m4/na-enable-manuals.m4:
653         * run-autogen.sh:
654         Update --enable-html-manuals and --enable-pdf-manuals options.
656         * doc/nact/Makefile.am:
657         Do not rebuild pdf files each time make is run.
658         Have figures available when pdf are built.
659         Install figures with html documents.
661 2010-09-04 Pierre Wieser <pwieser@trychlos.org>
663         * doc/nact/Makefile.am: Fix make distcheck.
665 2010-09-03 Pierre Wieser <pwieser@trychlos.org>
667         Declare --with-db2html and --with-gdt options.
669         * Makefile.am:
670         Defaut distribution includes PDF and gnome-doc-tool HTML manuals.
672         * doc/nact/Makefile.am:
673         * m4/na-enable-manuals.m4:
674         Define --with-db2html and --with-gdt options.
676         * doc/nact/Makefile.am:
677         HTML and PDF installations honor --htmldir= and --pdfdir= options.
679         * doc/nact/Makefile.am:
680         Fix make distcheck when distributing tranlations of NACT user's manual.
682         * configure.ac:
683         Revert inversion of AC_CANONICAL_TARGET and AM_INIT_AUTOMAKE.
685         * src/io-desktop/nadp-writer.c (write_done_write_subitems_list):
686         Improve debug messages.
688         * src/nact/nact-icommand-tab.c
689         (on_tab_updatable_selection_changed): Update example label.
690         (parse_parameters): Cleanup code.
692 2010-09-02 Pierre Wieser <pwieser@trychlos.org>
694         * src/io-desktop/nadp-reader.c (nadp_reader_iimporter_import_from_uri):
695         Do not keep the imported desktop file.
697         * src/io-desktop/nadp-desktop-file.c (nadp_desktop_file_write):
698         Do not return TRUE if file has not been written due to dispose state.
700         * configure.ac: Setup the package URL.
702 2010-08-30 Pierre Wieser <pwieser@trychlos.org>
704         * doc/nact/C/nact-starting.xml: Update manual.
706         * doc/nact/C/figures/read-only.png: New file.
708         * doc/nact/Makefile.am: Remove '$(NULL)' expressions.
710         * configure.ac: Bump version number after unstable release.
712 2010-08-23 Pierre Wieser <pwieser@trychlos.org>
714         * NEWS: Update NEWS before unstable release.
716         * src/core/na-selected-info.c
717         (na_selected_info_get_list_from_item, na_selected_info_get_list_from_list):
718         Returns a null list when NASelectedInfo object is null.
720         * src/plugin-menu/nautilus-actions.c
721         (menu_provider_get_background_items, menu_provider_get_file_items,
722         menu_provider_get_toolbar_items):
723         Do not try to build a menu for Nautilus when NASelectedInfo list is empty.
725         * configure.ac: Bump version number after unstable release.
727         * NEWS: Update NEWS before unstable release.
729         * po/POTFILES.in: Add src/core/na-selected-info.c file.
731         * src/core/na-selected-info.c (query_file_attributes):
732         Make the error message translatable.
735         * src/core/na-tokens.c
736         (na_tokens_new_from_selection): Do not get dirname of a null filename.
737         (parse_singular): Take care of possibly null data or over-indexing.
739         * src/core/na-selected-info.c:
740         * src/core/na-selected-info.h (na_selected_info_create_for_uri):
741         Add errmsg parameter to check for incorrect URIs.
743         * src/utils/nautilus-actions-run.c (get_selection_from_strv):
744         Do not try to deal with malformed URIs.
746         * src/utils/nautilus-actions-schemas.c: Include glib-object.h.
748         * src/api/na-data-boxed.h: Revert to glib-object.h.
750 2010-08-22 Pierre Wieser <pwieser@trychlos.org>
752         * src/core/na-icontext.c (is_candidate_for_mimetypes):
753         * src/core/na-selected-info.c (na_selected_info_get_mime_type):
754         Take care of possibly NULL mimetype.
756 2010-08-21 Pierre Wieser <pwieser@trychlos.org>
758         * src/api/na-dbus.h
759         * src/api/na-ifactory-provider-provider.h
760         * src/core/na-importer-ask.h
761         * src/io-desktop/nadp-formats.h
762         * src/io-desktop/nadp-reader.h
763         * src/io-desktop/nadp-utils.h
764         * src/io-desktop/nadp-writer.h
765         * src/io-gconf/nagp-reader.h
766         * src/io-gconf/nagp-writer.h
767         * src/io-xml/naxml-formats.h
768         * src/io-xml/naxml-reader.h
769         * src/io-xml/naxml-writer.h
770         * src/nact/nact-tree-model-priv.h: Fix single inclusion.
772         * src/core/na-icontext.c
773         (is_candidate_for_schemes, is_candidate_for_folders):
774         Address each ocurrence of file instead of just the first one.
776         * doc/nact/Makefile.am: Fix PDF distribution.
778 2010-08-19 Pierre Wieser <pwieser@trychlos.org>
780         * src/nact/nautilus-actions-config-tool.ui:
781         Do not overexpand the example label.
783         * src/core/na-object-profile.c (convert_pre_v3_parameters_str):
784         Fix conversion of '%d/%f' to '%f' when there are other parameters.
786         * src/core/na-icontext.c
787         (is_candidate_for_mimetypes): Improve debug messages.
788         (is_candidate_for_basenames): Take care of matchcase.
790         * src/core/na-icontext.c
791         (is_mimetype_of): Take care of wildcard expressions.
792         (is_candidate_for_folders): Only try to g_pattern_match() if has pattern.
794         * src/plugin-menu/nautilus-actions.c
795         (build_nautilus_menus): Add debug messages.
797         * data/actions/open-terminal-here.desktop:
798         * data/actions/show-na-parameters.desktop: Fix typo.
800         * src/api/na-object-item.h:
801         * src/core/na-object-item.c
802         (na_object_item_deals_with_version): New function.
804         * src/api/na-object-profile.h:
805         * src/core/na-object-profile.c
806         (na_object_profile_convert_v2_to_last): New function.
808         * src/core/na-object-action.c:
809         * src/core/na-object-menu.c
810         (ifactory_object_read_start): Removed (unused) function.
812         * src/io-xml/naxml-reader.c (naxml_reader_read_done): Cleanup code.
814         * src/nact/nact-ibasenames-tab.c (on_tab_updatable_selection_changed):
815         Display matchcase status for the current context.
817 2010-08-18 Pierre Wieser <pwieser@trychlos.org>
819         * src/core/na-object-profile.c (convert_pre_v3_parameters_str):
820         As a special optimization, converts '%d/%f' to '%f'.
822         * src/io-xml/naxml-reader.c (naxml_reader_read_data):
823         Let a node available for a second reading in case of a multiple-defined
824         data (e.g. icon which exists in localized and unlocalized forms).
826         * src/io-desktop/nadp-desktop-file.c (nadp_desktop_file_new_from_uri):
827         Do not warn about malformed .desktop file when importing an URI.
829         Path+parameters are splitted whatever be the I/O importer.
831         * src/io-desktop/nadp-reader.c (read_done_profile_split_exec): Removed function.
833         * src/core/na-object-profile.c (split_path_parameters): New function.
835         * src/core/na-data-boxed.c (uint_set_from_string):
836         Fix default uint value when reading null string.
838         * src/nact/nact-assistant-import.c (assistant_apply): Cleanup code.
840 2010-08-17 Pierre Wieser <pwieser@trychlos.org>
842         * Replace GtkLable with GtkTextView in import and export assistants.
844         * src/nact/nact-assistant-export.c (assist_prepare_exportdone):
845         * src/nact/nact-assistant-import.c (prepare_importdone):
846         * src/nact/nact-assistant-export.ui:
847         * src/nact/nautilus-actions-config-tool.ui: Updated accordingly.
849         * src/core/na-core-utils.c (na_core_utils_str_split_first_word):
850         Accepts null or empty input string or output pointers.
852         * src/io-desktop/nadp-reader.c (read_done_profile_split_exec):
853         Only try to split a non-null command.
855 2010-08-16 Pierre Wieser <pwieser@trychlos.org>
857         * doc/nact/Makefile.am: Fix PDF build.
859         * configure.ac: Bump version number after unstable release.
861         * doc/nact/Makefile.am: Fix manuals cleanup.
863         * src/core/na-icontext.c (is_candidate_for_schemes):
864         Remove wrong variable override.
866         * configure.ac: Bump version number after unstable release.
868 2010-08-15 Pierre Wieser <pwieser@trychlos.org>
870         * data/actions/Makefile.am:
871         * data/actions/my-first-na-action.desktop:
872         * data/actions/my-first-na-menu.desktop:
873         * data/actions/open-terminal-here.desktop:
874         * data/actions/show-na-parameters.desktop: New files.
876         * data/gconf-schemas/Makefile.am:
877         Install GConf schemas in PKGDATADIR/gconf-schemas.
879         * NEWS: Update NEWS before unstable release.
881         Create a new data/actions subdirectory.
883         * configure.ac:
884         * data/Makefile.am: Updated accordingly.
886         * data/actions/Makefile.am:
887         * data/actions/README: New files.
889         Move schemas into a new subdirectory data/gconf-schemas.
891         * configure.ac:
892         * data/Makefile.am: Updated accordingly.
894         Move exports/ subdirectory into data/ tree.
896         * configure.ac:
897         * data/Makefile.am: Updated accordingly.
899         * data/exports/Makefile.am:
900         * data/exports/README: New files.
902         * doc/nact/Makefile.am: Fix PDF installation.
904         * src/core/na-object-profile.c (convert_pre_v3_parameters_str):
905         %f used to be the name of the file (a basename), converts it to %b.
907 2010-08-13 Pierre Wieser <pwieser@trychlos.org>
909         * doc/api/nautilus-actions-sections.txt:
910         * doc/api/nautilus-actions-docs.xml: New files.
912         * src/io-desktop/nadp-desktop-file.c (nadp_desktop_file_set_locale_string):
913         Write all available locales to have a chance another locale can get it.
915         * Makefile.am:
916         Build doc after src so that libraries are available when documenting them.
918         * autogen.sh:
919         * configure.ac: Implement gtk-doc and manuals generation.
921         * doc/api/Makefile.am: Build gtk-doc for public API.
923         * doc/nact/C/nact-conditions.xml:
924         * doc/nact/C/nact-execution.xml:
925         * doc/nact/C/nact-menus.xml:
926         * doc/nact/C/nact-profiles.xml:
927         * doc/nact/C/nact-sorting.xml:
928         * doc/nact/C/nact-starting.xml:
929         * doc/nact/C/nact-where.xml:
930         * doc/nact/C/nautilus-actions-config-tool.xml:
931         Update NACT user's manual.
933         * doc/nact/Makefile.am: Implement manuals generation.
935         * src/api/na-core-utils.h:
936         * src/api/na-data-boxed.h:
937         * src/api/na-data-types.h:
938         * src/api/na-gconf-utils.h:
939         * src/api/na-icontext.h:
940         * src/api/na-iduplicable.h:
941         * src/api/na-iimporter.h:
942         * src/api/na-object-api.h:
943         * src/api/na-object-id.h:
944         * src/api/na-object-item.h:
945         * src/core/na-core-utils.c:
946         * src/core/na-data-boxed.c:
947         * src/core/na-export-format.c:
948         * src/core/na-export-format.h:
949         * src/core/na-exporter.c:
950         * src/core/na-exporter.h:
951         * src/core/na-factory-object.c:
952         * src/core/na-factory-object.h:
953         * src/core/na-gconf-monitor.c:
954         * src/core/na-gconf-utils.c:
955         * src/core/na-iabout.h:
956         * src/core/na-icontext.c:
957         * src/core/na-ifactory-provider.c:
958         * src/core/na-importer-ask.c:
959         * src/core/na-io-provider.c:
960         * src/core/na-iprefs.c:
961         * src/core/na-object-id.c:
962         * src/core/na-object-item.c:
963         * src/core/na-object.c:
964         * src/core/na-selected-info.c:
965         * src/core/na-selected-info.h:
966         Update comments to suits gtk-doc requirements.
968         * COPYING-DOCS:
969         * doc/nact/C/figures/nact-desktop-environment-frame.png:
970         * doc/nact/C/figures/nact-exec-mode-frame.png:
971         * doc/nact/C/figures/nact-execute-as-frame.png:
972         * doc/nact/C/figures/nact-execution-environment-frame.png:
973         * doc/nact/C/figures/nact-selection-count-frame.png:
974         * doc/nact/C/figures/nact-startup-mode-frame.png:
975         * doc/nact/C/figures/nact-target-location.png:
976         * doc/nact/C/figures/nact-working-directory-frame.png:
977         * doc/nact/C/figures/sort-asc.png doc/nact/C/figures/sort-desc.png:
978         * doc/nact/C/figures/sort-manual.png:
979         * m4/na-enable-manuals.m4: New files.
981 2010-08-10 Pierre Wieser <pwieser@trychlos.org>
983         * src/nact/nact-icommand-tab.c: No more check for a non-empty profile name.
985         Allow writing of empty data.
987         * src/api/na-data-boxed.h:
988         * src/core/na-data-boxed.c
989         (na_data_boxed_is_set): Removed function.
990         (na_data_boxed_is_default): New function.
992         * src/io-desktop/nadp-writer.c (nadp_writer_ifactory_provider_write_data):
993         * src/io-gconf/nagp-writer.c (nagp_writer_write_data):
994         * src/io-xml/naxml-writer.c (naxml_writer_write_data):
995         Updated accordingly.
997         * src/core/na-object-item-factory.c:
998         * src/core/na-object-profile-factory.c:
999         Remove useless log description for a fake data.
1001         * src/io-desktop/nadp-reader.c
1002         (nadp_reader_ifactory_provider_read_data):
1003         * src/io-xml/naxml-reader.c (read_data_boxed_from_node):
1004         Set NADataBoxed as soon as a value is found.
1006         Review pre- and post- write operations in I/O providers.
1008         * src/core/na-object-action.c: Cleanup the code.
1010         * src/core/na-object-item-factory.c:
1011         NAFO_DATA_IVERSION becomes unwritable.
1013         * src/io-desktop/nadp-writer.c:
1014         * src/io-gconf/nagp-writer.c:
1015         * src/io-xml/naxml-writer.c: Cleanup the code.
1017         Immediately reacts to a status change in I/O providers.
1019         * src/core/na-ipivot-consumer.c:
1020         * src/core/na-ipivot-consumer.h
1021         (na_ipivot_consumer_notify_of_io_provider_prefs_changed): New function.
1022         (on_io_provider_prefs_changed): New interface API.
1024         * src/core/na-pivot.c (monitor_runtime_preferences):
1025         Add a monitor on io-providers GConf branch.
1027         * src/nact/nact-main-window.c
1028         (ipivot_consumer_on_io_provider_prefs_changed): New function.
1030         Controls are not modifiable for a read-only item.
1032         * src/nact/nact-gtk-utils.c:
1033         * src/nact/nact-gtk-utils.h
1034         (nact_gtk_utils_set_initial_state, nact_gtk_utils_reset_initial_state):
1035         New functions.
1037         * src/nact/nact-icommand-tab.c (on_tab_updatable_selection_changed):
1038         Manage working directory browse button.
1040         * src/nact/nact-ienvironment-tab.c (on_tab_updatable_selection_changed):
1041         Manage try exec and show if running browse buttons.
1042         Manage desktop environment radio buttons.
1044         * src/nact/nact-iexecution-tab.c (on_tab_updatable_selection_changed):
1045         Manage execution mode radio buttons.
1047         * src/nact/nact-iproperties-tab.c (on_tab_updatable_selection_changed):
1048         Manage description text view.
1050         * src/nact/nact-match-list.c
1051         (on_key_pressed_event): Only insert/delete rows if item is editable.
1052         (on_must_match_toggled, on_must_not_match_toggled): Manage radio buttons.
1054 2010-08-09 Pierre Wieser <pwieser@trychlos.org>
1056         Review notification bufferization.
1058         * src/core/na-ipivot-consumer.c:
1059         * src/core/na-ipivot-consumer.h
1060         (na_ipivot_consumer_delay_notify): Removed function.
1061         (na_ipivot_consumer_allow_notify): New function.
1063         * src/nact/nact-main-menubar-file.c (nact_main_menubar_file_save_items):
1064         * src/nact/nact-main-window.c (instance_init):
1065         * src/plugin-menu/nautilus-actions.c (instance_init):
1066         Updated accordingly.
1068         * src/core/na-pivot.c (on_item_changed_timeout):
1069         * src/io-desktop/nadp-desktop-provider.c (on_monitor_timeout):
1070         * src/io-gconf/nagp-gconf-provider.c (config_path_changed_trigger_interface):
1071         Review the code.
1073         Fix XML import of localized vs. unlocalized profile label.
1075         * src/api/na-ifactory-object-data.h:
1076         * src/core/na-object-profile-factory.c:
1077         Define new NAFO_DATA_DESCNAME_NOLOC unlocalized profile label.
1079         * src/api/na-object-api.h (na_object_get_label_noloc): New macro.
1081         * src/io-xml/naxml-reader.c (naxml_reader_read_done):
1082         Deals with localized vs. unlocalized profile description name.
1084         Fix XML import of localized vs. unlocalized icons.
1086         * src/api/na-ifactory-object-data.h:
1087         * src/core/na-object-item-factory.c:
1088         Define new NAFO_DATA_ICON_NOLOC unlocalized icon name.
1090         * src/api/na-object-api.h (na_object_get_icon_noloc): New macro.
1092         * src/io-xml/naxml-reader.c
1093         (read_data_boxed_from_node): Only allocate a NADataBoxed for a non null value.
1094         (naxml_reader_read_done): Deals with localized/unlocalized icon name.
1096         * src/io-xml/naxml-reader.c (naxml_reader_read_start):
1097         Attach the profile to the action before trying to read it.
1099         * src/nact/nact-iexecution-tab.c (execution_mode_toggle):
1100         Fix sensitivity of startup fields vs. execution mode.
1102         * src/core/na-icontext.c (is_candidate_for_capabilities):
1103         Fix incorrect handling of capability conditions.
1105         * src/core/na-icontext.c (is_candidate_for_folders):
1106         Fix incorrect and optimize handling of folder conditions.
1108         * src/core/na-icontext.c (is_candidate_for_schemes):
1109         Fix incorrect and optimize handling of scheme conditions.
1111         * src/core/na-icontext.c (is_candidate_for_basenames):
1112         Fix incorrect handling of basename conditions.
1114         * src/core/na-icontext.c (is_candidate_for_mimetypes):
1115         Fix incorrect handling of mimetype conditions.
1117         * src/nact/nact-iaction-tab.c (on_icon_browse):
1118         Fix incorrect setting of GConf preference.
1120         * src/nact/nact-gtk-utils.c:
1121         * src/nact/nact-gtk-utils.h
1122         (nact_gtk_utils_get_pixbuf, nact_gtk_utils_render):
1123         Size parameter is actually of GtkIconSize type.
1125 2010-08-07 Pierre Wieser <pwieser@trychlos.org>
1127         * configure.ac: Bump version number after unstable release.
1129         Implement auto-save feature.
1131         * src/core/na-ipivot-consumer.c:
1132         * src/core/na-ipivot-consumer.h (on_autosave_changed): New interface.
1134         * src/core/na-iprefs.c:
1135         * src/core/na-iprefs.h (na_iprefs_read_uint): New function.
1137         * src/nact/nact-iprefs.c:
1138         * src/nact/nact-iprefs.h (nact_iprefs_read_uint): Removed function.
1140         * src/core/na-pivot.c (on_preferences_change):
1141         Trigger NAIPivotConsumer interface when autosave is changed.
1143         * src/nact/nact-main-menubar-file.c:
1144         * src/nact/nact-main-menubar-file.h
1145         (nact_main_menubar_file_set_autosave): New function.
1147         * src/nact/nact-main-window.c (ipivot_consumer_on_autosave_changed):
1148         Implement the new on_autosave_changed() NAIPivotConsumer interface.
1150         * src/nact/nact-preferences-editor.c (on_base_runtime_init_dialog):
1151         Replace nact_iprefs_read_uint() with na_iprefs_read_uint().
1153         Setup auto-save in preferences.
1155         * data/nautilus-actions-prefs.schemas.in:
1156         Describe new auto-save-on and auto-save-period preference keys.
1158         * src/nact/nact-iprefs.c:
1159         * src/nact/nact-iprefs.h
1160         (nact_iprefs_read_uint, nact_iprefs_write_uint): New functions.
1161         IPREFS_AUTOSAVE_ON, IPREFS_AUTOSAVE_PERIOD: New preference keys.
1163         * src/nact/nact-preferences-editor.c:
1164         Update the new auto-save-on and auto-save-period preference keys.
1167         * src/nact/nact-preferences.ui:
1168         * src/nact/nautilus-actions-config-tool.ui: New preference frame.
1170 2010-08-05 Pierre Wieser <pwieser@trychlos.org>
1172         * src/api/na-core-utils.h:
1173         * src/core/na-core-utils.c
1174         (na_core_utils_str_get_first_word): Removed function.
1175         (na_core_utils_str_split_first_word): New function.
1177         * src/io-desktop/nadp-reader.c
1178         (nadp_reader_ifactory_provider_read_done):
1179         Split the Exec content to get Path and Parameters data.
1181         * src/core/na-object-profile-factory.c:
1182         Review the description of the NAFO_DATA_PARAMETERS data.
1184         * src/core/na-tokens.h: Update the comment.
1186         * po/POTFILES.in: Add src/core/na-tokens.c file.
1188         * src/core/na-tokens.c:
1189         * src/core/na-tokens.h (na_tokens_new_for_example): New function.
1191         * src/core/na-tokens.c (parse_singular):
1192         Implement %m and %M parameters for mimetypes.
1194         * src/nact/nact-icommand-tab.c (parse_parameters):
1195         Use a fake NATokens object to print an example of the command.
1197         * src/nact/nautilus-actions-config-tool.ui: Fix some labels.
1199 2010-08-04 Pierre Wieser <pwieser@trychlos.org>
1201         * src/core/na-tokens.c (is_singular_exec):
1202         Implement DES-EMA draft v 0.13 which defines irrelevant parameters.
1204 2010-08-02 Pierre Wieser <pwieser@trychlos.org>
1206         * src/nact/nact-gtk-utils.c (nact_gtk_utils_get_pixbuf):
1207         * src/nact/nact-iaction-tab.c (on_icon_changed):
1208         Fix bad reinitialization of the icon item.
1210         * doc/nact/C/figures/nact-basenames-tab.png:
1211         * doc/nact/C/figures/nact-capabilities-tab.png:
1212         * doc/nact/C/figures/nact-command-tab.png:
1213         * doc/nact/C/figures/nact-environment-tab.png:
1214         * doc/nact/C/figures/nact-execution-tab.png:
1215         * doc/nact/C/figures/nact-folders-tab.png:
1216         * doc/nact/C/figures/nact-legend.png:
1217         * doc/nact/C/figures/nact-main-empty.png:
1218         * doc/nact/C/figures/nact-mimetypes-tab.png:
1219         * doc/nact/C/figures/nact-new-capability.png:
1220         * doc/nact/C/figures/nact-preferences-export.png:
1221         * doc/nact/C/figures/nact-preferences-import.png:
1222         * doc/nact/C/figures/nact-preferences-io-providers.png:
1223         * doc/nact/C/figures/nact-preferences-runtime.png:
1224         * doc/nact/C/figures/nact-preferences-schemes.png:
1225         * doc/nact/C/figures/nact-preferences-ui.png:
1226         * doc/nact/C/figures/nact-properties-tab.png:
1227         * doc/nact/C/figures/nact-schemes-tab.png:
1228         Update all screenshots to include window decoration.
1230         * doc/nact/nautilus-actions-config-tool.omf.in:
1231         Change categorie and type of the NACT user's manual.
1233         * src/nact/nact-main-menubar.c:
1234         Change help menu item from Gtk default to Gnome (apparent) standard.
1236         * src/nact/nact-main-menubar-help.c (nact_main_menubar_help_on_help):
1237         Connect to Yelp.
1239         * configure.ac: Update comments.
1241         * src/nact/nact-add-capability-dialog.c (try_for_send_ok):
1242         * src/nact/nact-add-scheme-dialog.c (try_for_send_ok):
1243         * src/nact/nact-main-tab.c (nact_main_tab_is_page_enabled):
1244         Check that Gtk+ is more recent that 2.18 for gtk_widget_get_sensitive().
1246         Split the NACT manual by chapter.
1248         * doc/nact/C/nact-usage.xml:
1249         * doc/nact/C/nact-prefs.xml:
1250         * doc/nact/C/nact-misc.xml: New files.
1252         * doc/nact/C/nautilus-actions-config-tool.xml:
1253         * doc/nact/Makefile.am: Updated accordingly.
1255 2010-08-01 Pierre Wieser <pwieser@trychlos.org>
1257         * nact/nact-iactions-list-bis.c (nact_iactions_list_bis_insert_items):
1258         A new NAObjectItem must be inserted before the current NAObjectItem.
1260         * doc/README: Define a global documentation plan.
1262         * doc/api/Makefile.am:
1263         * doc/api/version.xml.in:
1264         Define a stub for future public API documentation, targeting
1265         Nautilus-Actions plugins developers.
1267         * doc/internals/Makefile.am:
1268         Define a stub for future internal documentation, targeting
1269         Nautilus-Actions core developers.
1271         * doc/product/Makefile.am:
1272         Define a stub for future global Nautilus-Actions documentation.
1274         * configure.ac:
1275         * doc/Makefile.am: Updated accordingly.
1277         * doc/nact/ChangeLog:
1278         * doc/nact/nautilus-actions-config-tool.omf.in: New files.
1280         * doc/nact/C/articleinfo.xml:
1281         * doc/nact/C/legalnotice.xml: Included as external entities rather
1282         than from xi:include because of db2omf complains.
1284         * doc/nact/C/appendix-feedback.xml:
1285         * doc/nact/C/appendix-gnu-fdl-1.3.xml: Add DOCTYPE declaration.
1287 2010-07-31 Pierre Wieser <pwieser@trychlos.org>
1289         * src/nact/nautilus-actions-config-tool.ui:
1290         Review tooltips.
1292         * src/nact/nact-match-list.c (on_must_not_match_clicked):
1293         Fix incorrect column id.
1295         * src/nact/nact-match-list.c (sort_on_column):
1296         Display sort indicator.
1298         * src/nact/nact-match-list.c (on_must_match_toggled):
1299         Fix crash when defining a positive assertion.
1301         * src/core/na-icontext.c (is_candidate_for_capabilities):
1302         Implement the function.
1304         * src/core/na-selected-info.c:
1305         * src/core/na-selected-info.h (na_selected_info_is_executable,
1306         na_selected_info_is_owner, na_selected_info_is_readable,
1307         na_selected_info_is_writable): New function.
1309         * src/core/na-icontext.c (is_candidate_for_folders):
1310         Implement the function.
1312         * src/core/na-selected-info.c:
1313         * src/core/na-selected-info.h (na_selected_info_get_dirname):
1314         New function.
1316         * src/core/na-icontext.c (is_candidate_for_schemes):
1317         Implement the function.
1319         * src/core/na-icontext.c (is_candidate_for_selection_count):
1320         Implement the function.
1322         * src/io-desktop/nadp-reader.c
1323         (nadp_reader_ifactory_provider_read_start): Set minimal version number.
1325 2010-07-30 Pierre Wieser <pwieser@trychlos.org>
1327         * src/core/na-icontext.c (is_candidate_for_basenames):
1328         Unref the GPatternSpec after use.
1330         * src/core/na-icontext.c (is_candidate_for_basenames):
1331         Implement the function.
1333         * src/core/na-selected-info.c:
1334         * src/core/na-selected-info.h (na_selected_info_get_basename):
1335         New function.
1337         * configure.ac: Add a dependancy on libgtop.
1339         * src/core/na-icontext.c (is_candidate_for_show_if_running):
1340         Implement the function.
1342 2010-07-29 Pierre Wieser <pwieser@trychlos.org>
1344         * src/io-desktop/nadp-formats.c:
1345         * src/io-desktop/nadp-formats.h: New files.
1346         These should have been added to 2.99.0, but where forgotten.
1348         * docs/nact/Makefile.am: New file.
1350         * configure.ac:
1351         * docs/Makefile.am: Updated accordingly.
1353         Create NACT user's manual skeleton.
1354         
1355         * docs/nact/C/appendix-feedback.xml:
1356         * docs/nact/C/appendix-gnu-fdl-1.3.xml:
1357         * docs/nact/C/articleinfo.xml:
1358         * docs/nact/C/figures/nact-basenames-tab.png:
1359         * docs/nact/C/figures/nact-capabilities-tab.png:
1360         * docs/nact/C/figures/nact-command-tab.png:
1361         * docs/nact/C/figures/nact-environment-tab.png:
1362         * docs/nact/C/figures/nact-execution-tab.png:
1363         * docs/nact/C/figures/nact-folders-tab.png:
1364         * docs/nact/C/figures/nact-legend.png:
1365         * docs/nact/C/figures/nact-main-empty.png:
1366         * docs/nact/C/figures/nact-mimetypes-tab.png:
1367         * docs/nact/C/figures/nact-preferences-export.png:
1368         * docs/nact/C/figures/nact-preferences-import.png:
1369         * docs/nact/C/figures/nact-preferences-io-providers.png:
1370         * docs/nact/C/figures/nact-preferences-runtime.png:
1371         * docs/nact/C/figures/nact-preferences-schemes.png:
1372         * docs/nact/C/figures/nact-preferences-ui.png:
1373         * docs/nact/C/figures/nact-properties-tab.png:
1374         * docs/nact/C/figures/nact-schemes-tab.png:
1375         * docs/nact/C/figures/nat-new-capability.png:
1376         * docs/nact/C/index.xml:
1377         * docs/nact/C/legalnotice.xml: New files.
1379         Do some cleanup in NAObjectAction and NAObjectProfile code.
1380         Implement execution of singular vs. plural command forms.
1382         * src/api/na-object-action.h:
1383         * src/core/na-object-action.c (na_object_action_is_candidate):
1384         Removed function.
1386         * src/api/na-object-profile.h:
1387         * src/core/na-object-profile.c (na_object_profile_parse_parameters):
1388         Removed function.
1390         * src/core/na-tokens.c:
1391         * src/core/na-tokens.h (na_tokens_execute_action): New function.
1393         * src/plugin-menu/nautilus-actions.c (execute_action):
1394         Move action execution to NATokens class.
1396         * src/utils/nautilus-actions-run.c: Now use NATokens class.
1398         * doc/: Renamed as docs/
1400         * configure.ac:
1401         * Makefile;am: Updated accordingly.
1403         * configure.ac: Bump the version number after release.
1405 2010-07-28 Pierre Wieser <pwieser@trychlos.org>
1407         * NEWS: Update NEWS before unstable release.
1409         * configure.ac: Bump the version number before unstable release.
1411         * src/io-desktop/nadp-module.c (na_extension_startup):
1412         Remove the #if/#endif macros to let the .desktop provider be released.
1414         * src/io-desktop/nadp-desktop-file.c:
1415         * src/io-desktop/nadp-desktop-file.h
1416         (nadp_desktop_file_new, nadp_desktop_file_get_key_file):
1417         New functions.
1419         * src/io-desktop/nadp-writer.c
1420         (nadp_writer_iexporter_export_to_buffer): Implement the function.
1422         Import/export .desktop files.
1424         * doc/export-format-id: Declare the new export format.
1426         * po/POTFILES.in: Add a file.
1428         * src/api/na-core-utils.h:
1429         * src/core/na-core-utils.c
1430         (na_core_utils_slist_add_message, na_core_utils_file_load_from_uri):
1431         New functions.
1433         * src/api/na-iimporter.h:
1434         * src/core/na-iimporter.c (na_iimporter_manage_import_mode):
1435         New function.
1437         * src/io-desktop/nadp-formats.c:
1438         * src/io-desktop/nadp-formats.h: New files.
1440         * src/io-desktop/Makefile.am: Updated accordingly.
1442         * src/io-desktop/nadp-desktop-file.c:
1443         * src/io-desktop/nadp-desktop-file.h
1444         (nadp_desktop_file_new_from_uri): New function.
1445         (nadp_desktop_file_get_key_file_path): Renamed as nadp_desktop_file_get_key_file_uri().
1447         * src/io-desktop/nadp-desktop-provider.c:
1448         Declare NAIImporterInterface and NAIExporterInterface interfaces.
1450         * src/io-desktop/nadp-reader.c:
1451         * src/io-desktop/nadp-reader.h
1452         (nadp_reader_iimporter_import_from_uri): New function.
1454         * src/io-desktop/nadp-utils.c:
1455         * src/io-desktop/nadp-utils.h
1456         (nadp_utils_is_writable_file): Renamed as nadp_utils_uri_is_writable().
1457         (nadp_utils_uri_delete): New function.
1459         * src/io-desktop/nadp-writer.c:
1460         * src/io-desktop/nadp-writer.h
1461         (nadp_writer_iexporter_export_to_buffer, nadp_writer_iexporter_export_to_file):
1462         New functions.
1464         * src/nact/nact-add-scheme-dialog.c:
1465         Prevent a default scheme to be inserted twice.
1467         * src/nact/nact-ischemes-tab.c:
1468         Use the current list of rows instead of the current schemes list.
1470         * src/nact/nact-match-list.c:
1471         Prevent a standard filter to be inserted twice.
1473         * src/api/na-core-utils.h:
1474         * src/core/na-core-utils.c (na_core_utils_slist_dump):
1475         Add a prefix parameter to the function.
1477         * src/core/na-data-boxed.c (slist_dump):
1478         * src/core/na-io-provider.c (na_io_provider_get_providers_list):
1479         * src/io-desktop/nadp-writer.c (nadp_writer_ifactory_provider_write_done):
1480         * src/nact/nact-match-list.c (nact_match_list_on_selection_changed):
1481         * src/test/test-reader.c (main): Updated accordingly.
1483 2010-07-26 Pierre Wieser <pwieser@trychlos.org>
1485         * src/api/na-core-utils.h:
1486         * src/core/na-core-utils.c (na_core_utils_slist_find):
1487         Moved to na_core_utils_slist_count.
1489         * src/core/na-icontext.c (is_candidate_for_show_in):
1490         * src/io-desktop/nadp-writer.c
1491         (nadp_writer_ifactory_provider_write_done): Updated accordingly.
1493         * src/nact/nact-match-list.c (on_filter_edited):
1494         Add g_return_if_fail checks on data and context.
1496         Prevent of inline edition of capabilities.
1498         * src/nact/nact-match-list.c:
1499         * src/nact/nact-match-list.h (nact_match_list_create_model):
1500         Add editable_filter input parameter.
1502         * src/nact/nact-match-list.c (nact_match_list_on_selection_changed):
1503         Only enable the column if filter and item are both editable.
1505         * src/nact/nact-ibasenames-tab.c:
1506         * src/nact/nact-icapabilities-tab.c:
1507         * src/nact/nact-ifolders-tab.c:
1508         * src/nact/nact-imimetypes-tab.c:
1509         * src/nact/nact-ischemes-tab.c: Updated accordingly.
1511         Prevent a capability to be inserted twice.
1513         * src/nact/nact-add-capability-dialog.c (on_button_press_event):
1514         On double-clic, check for OK sensitivity.
1516         * src/nact/nact-icapabilities-tab.c (on_add_clicked):
1517         Provide the dialog with our current content rather than current capabilities.
1519         * src/nact/nact-match-list.c:
1520         * src/nact/nact-match-list.h (nact_match_list_get_rows): New function.
1522         Fix parameters conversion to v3.
1524         * src/core/na-object-action.c (icontext_is_candidate):
1525         Fix comment and minor typo.
1527         * src/core/na-object-profile.c:
1528         * src/io-gconf/nagp-reader.c (convert_pre_v3_parameters):
1529         Move pre-v3 parameters conversion from GConf provider to profile class.
1531         * src/io-desktop/nadp-reader.c
1532         (nadp_reader_ifactory_provider_read_start):
1533         * src/io-gconf/nagp-reader.c (nagp_reader_read_start):
1534         * src/io-gconf/nagp-gconf-provider.c (ifactory_provider_iface_init):
1535         * src/io-gconf/nagp-reader.h:
1536         Now attach profile to its parent in 'read_start' interface.
1538         * src/io-desktop/nadp-reader.c
1539         (nadp_reader_ifactory_provider_read_done):
1540         * src/io-gconf/nagp-reader.c (nagp_reader_read_done):
1541         Homogeneïze the read_done functions.
1543         Move the reading of the subitems key for the desktop I/O provider
1544         from 'read_done' to 'read_start'.
1546         * src/io-desktop/nadp-reader.c:
1547         * src/io-desktop/nadp-reader.h
1548         (nadp_reader_ifactory_provider_read_start): New function.
1550         * src/io-desktop/nadp-desktop-provider.c: Updated accordingly.
1552 2010-07-19 Pierre Wieser <pwieser@trychlos.org>
1554         * src/api/na-object-item.h:
1555         * src/core/na-object-item.c (na_object_item_factory_write_start):
1556         Function is renamed as na_object_item_rebuild_children_slist().
1558         * src/core/na-object-action.c:
1559         * src/core/na-object-menu.c: Updated accordingly.
1561 2010-07-05 Pierre Wieser <pwieser@trychlos.org>
1563         * src/nact/nact-icommand-tab.c (nact_icommand_tab_runtime_init_toplevel):
1564         Connect to delete-event signal to hide the GtkWindow.
1566 2010-07-03 Pierre Wieser <pwieser@trychlos.org>
1568         * src/nact/nact-add-capability-dialog.c (on_base_runtime_init_dialog):
1569         Doucle-click validates the dialog.
1571         * src/nact/nact-add-scheme-dialog.c (on_base_runtime_init_dialog):
1572         Doucle-click validates the dialog.
1574         * src/nact/nact-schemes-list.c (nact_schemes_list_create_model):
1575         Scheme keyword and description are editable in user preferences.
1577 2010-07-02 Pierre Wieser <pwieser@trychlos.org>
1579         * src/core/na-tokens.c (na_tokens_new_from_selection):
1580         Add a trace.
1582         * src/core/na-tokens.h: Fix minor typo.
1584         * src/plugin-menu/nautilus-actions.c:
1585         There should not be any need to keep a reference to our menu.
1587         * data/nautilus-actions-prefs.schemas.in:
1588         * src/core/na-iprefs.h:
1589         * src/core/na-importer-ask.c:
1590         * src/core/na-importer-ask.h:
1591         Define a new GConf preference 'keep last user choice'.
1593         * src/api/na-iimporter.h:
1594         * src/core/na-iimporter.c:
1595         from_uri() interface is renamed as import_from_uri().
1596         Only define na_iimporter_import_from_uri() public API.
1598         * src/core/na-importer.c:
1599         * src/core/na-importer.h:
1600         Define here na_importer_import_from_list() internal API.
1602         * src/io-xml/naxml-provider.c:
1603         * src/io-xml/naxml-reader.c:
1604         * src/io-xml/naxml-reader.h:
1605         * src/nact/nact-assistant-import.c:
1606         * src/nact/nact-tree-model-dnd.c:
1607         * src/test/test-reader.c: Updated accordingly.
1609         * src/core/na-object-id.c (na_object_id_set_new_id):
1610         Fix object type test.
1612         * src/core/na-object-item.c (object_id_new_id):
1613         Fix minor typo.
1615         * src/core/na-object-profile.c (object_id_new_id):
1616         Fix order of validity test.
1617         Only get a new profile name when a new parent is provided.
1619 2010-06-29 Pierre Wieser <pwieser@trychlos.org>
1621         * src/nact/nact-tree-model-dnd.c (drop_uri_list):
1622         Make the code in adequation with the comment.
1624         * src/nact/nact-gtk-utils.c (nact_gtk_utils_get_pixbuf):
1625         Do not emit a warning when file is just not found.
1627 2010-06-28 Pierre Wieser <pwieser@trychlos.org>
1629         * src/io-desktop/nadp-writer.c
1630         (nadp_writer_ifactory_provider_write_data):
1631         Concatenate path and parameters fields to the Exec key.
1633         * src/nact/nact-assistant-import.c (has_readable_files):
1634         Get ride of warning messages in some usual situations.
1636         * src/nact/nact-main-menubar-file.c (nact_main_menubar_file_save_items):
1637         Force sensitivities update when new tree store is empty.
1639         * src/core/na-iduplicable.c (na_iduplicable_check_status):
1640         * src/core/na-object.c (na_object_object_unref):
1641         Review debug messages.
1643         * src/core/na-pivot.c:
1644         * src/core/na-pivot.h (na_pivot_set_new_items): New function.
1646         * src/nact/nact-main-menubar-file.c (save_item):
1647         Duplicate all current tree store to a new pivot.
1649 2010-06-23 Pierre Wieser <pwieser@trychlos.org>
1651         * src/nact/nact-ienvironment-tab.c (on_tab_updatable_selection_changed):
1652         * src/nact/nact-iexecution-tab.c (on_tab_updatable_selection_changed):
1653         Radio buttons are inconsistent if and only if there is no context.
1655         * src/nact/nact-tree-model.c (dump_store): Also dumps origin.
1657         * src/core/na-updater.c (na_updater_remove_item):
1658         Do not unref here removed item.
1659         Also remove item from non level zero parent.
1661         * src/nact/nact-main-window.c (actually_delete_item):
1662         Updated accordingly.
1664         * src/core/na-icontext.c (is_candidate_for_try_exec):
1665         Do not try to get info for non existing file.
1667 2010-06-21 Pierre Wieser <pwieser@trychlos.org>
1669         * src/core/na-icontext.c (is_candidate_for_show_in):
1670         Implement the check of the environment (though not yet the desktop
1671         detection).
1673         * src/nact/nact-iaction-tab.c:
1674         * src/nact/nact-ibasenames-tab.c:
1675         * src/nact/nact-icommand-tab.c:
1676         * src/nact/nact-ienvironment-tab.c:
1677         * src/nact/nact-iexecution-tab.c:
1678         * src/nact/nact-iproperties-tab.c:
1679         * src/nact/nact-match-list.c:
1680         Reset all fields to an empty value when there is no selection.
1682         * src/nact/nact-main-tab.h:
1683         * src/nact/nautilus-actions-config-tool.ui:
1684         Move the Execution tab just besides the Command one.
1686 2010-06-20 Pierre Wieser <pwieser@trychlos.org>
1688         * src/core/na-object.c (na_object_object_unref):
1689         Fix infinite unref of child items.
1691         * src/nact/nact-tree-model.c (nact_tree_model_display):
1692         Set debug messages.
1694 2010-06-18 Pierre Wieser <pwieser@trychlos.org>
1696         * src/core/na-object.c (na_object_object_unref):
1697         Fix segfault when unfiltering invalid items.
1699         * src/core/na-object-item-factory.c:
1700         Numeric version is no more writable by default.
1702         * src/io-gconf/nagp-keys.h:
1703         * src/io-gconf/nagp-writer.c (nagp_writer_write_start):
1704         Explicitely write the numeric version to GConf.
1706         * src/core/na-object-item-factory.c:
1707         Provider data is no more duplicable by NAIFactoryObject.
1709         * src/core/na-object-item.c (object_copy):
1710         Explicitely triggers NAIOProvider::duplicate_data method.
1712         * src/io-desktop/nadp-desktop-provider.c (iio_provider_iface_init):
1713         * src/io-desktop/nadp-writer.c:
1714         * src/io-desktop/nadp-writer.h (nadp_iio_provider_duplicate_data):
1715         Implement NAIIOProvider::duplicate_data interface.
1717         * src/io-gconf/nagp-gconf-provider.c (iio_provider_iface_init):
1718         Initialize NAIIOProvider duplicate_data() virtual pointer.
1720         * src/api/na-iio-provider.h:
1721         * src/core/na-iio-provider.c (duplicate_data):
1722         * src/core/na-io-provider.c:
1723         * src/core/na-io-provider.h (na_io_provider_duplicate_data):
1724         Define new NAIIOProvider interface.
1726 2010-06-17 Pierre Wieser <pwieser@trychlos.org>
1728         * src/api/na-iio-provider.h:
1729         * src/core/na-iio-provider.c (na_iio_provider_item_changed):
1730         Remove useless item id parameter.
1732         * src/core/na-ipivot-consumer.c (is_notify_allowed):
1733         Set a higher delay (1s to 2s) before notifying NAPivot
1734         because of the delay of file monitoring.
1736         * src/nact/nact-clipboard.c (export_objects):
1737         Remove unused dest_folder parameter.
1739         * src/nact/nact-tree-model-dnd.c
1740         (nact_tree_model_dnd_imulti_drag_source_drag_data_get):
1741         Get destination folder as an URI.
1743         * src/nact/nact-iaction-tab.c:
1744         Fix invalid cast of NAObjectMenu to NAObjectAction.
1746         * src/nact/nact-sort-buttons.c:
1747         * src/nact/nact-sort-buttons.h (nact_sort_buttons_enable_buttons):
1748         New function.
1750         * src/nact/nact-main-menubar.c (on_iactions_list_count_updated):
1751         Enable/disable sort buttons depending of items list count.
1753         * src/api/na-object-api.h
1754         (na_object_get_shortcut, na_object_set_shortcut): New macros.
1756         * src/nact/nact-iproperties-tab.c: Review NactIPropertiesTab page.
1758         * src/api/na-object-api.h
1759         (na_object_get_execution_mode,
1760         na_object_get_startup_notify, na_object_get_startup_class,
1761         na_object_get_execute_as, na_object_set_execution_mode,
1762         na_object_set_startup_notify, na_object_set_startup_class,
1763         na_object_set_execute_as): New macros.
1765         * src/core/na-object-profile-factory.c:
1766         Change type of execution mode from uint to string.
1768         * src/nact/nact-iexecution-tab.c: Implement NactIExecutionTab page.
1770         * src/nact/nact-ienvironment-tab.c: Implement NactIEnvironmentTab page.
1772 2010-06-16 Pierre Wieser <pwieser@trychlos.org>
1774         * src/nact/nact-gtk-utils.c:
1775         * src/nact/nact-gtk-utils.h
1776         (nact_gtk_utils_select_file, nact_gtk_utils_select_dir): New functions.
1778         * src/nact/nact-icommand-tab.c: Updated accordingly.
1780         * src/api/na-core-utils.h:
1781         * src/core/na-core-utils.c (na_core_utils_slist_setup_element): New function.
1783         * src/api/na-icontext.h:
1784         * src/core/na-icontext.c (na_icontext_set_only_desktop, na_icontext_set_not_desktop):
1785         New functions.
1787         * src/api/na-object-api.h (na_object_set_only_desktop, na_object_set_not_desktop):
1788         New macros.
1790         * src/nact/nact-ienvironment-tab.c: Implement desktop choice.
1792         * src/nact/nact-icapabilities-tab.c:
1793         * src/nact/nautilus-actions-config-tool.ui: Review NactICapabilitiesTab page.
1795         * src/nact/nact-ischemes-tab.c: Review NactISchemesTab page.
1797         * src/nact/nact-ifolders-tab.c: Review NactIFoldersTab page.
1799         * src/nact/nact-ibasenames-tab.c: Review NactIBasenamesTab page.
1801         * src/nact/nact-match-list.c:
1802         * src/nact/nact-match-list.h (nact_match_list_on_enable_tab):
1803         Removed function.
1805         * src/nact/nact-icommand-tab.c:
1806         * src/nact/nact-icommand-tab.h: Review NactICommandTab page.
1808         * src/core/na-object-action-factory.c: Fix comment.
1810         * src/nact/nact-iaction-tab.c:
1811         * src/nact/nact-iaction-tab.h: Homogeneïse the code.
1813 2010-06-15 Pierre Wieser <pwieser@trychlos.org>
1815         * src/nact/nact-main-tab.c:
1816         * src/nact/nact-main-tab.h (nact_main_tab_get_context):
1817         New function.
1819         * src/nact/nact-iaction-tab.c:
1820         * src/nact/nact-ibasenames-tab.c:
1821         * src/nact/nact-icapabilities-tab.c:
1822         * src/nact/nact-ienvironment-tab.c:
1823         * src/nact/nact-ifolders-tab.c:
1824         * src/nact/nact-imimetypes-tab.c:
1825         * src/nact/nact-ischemes-tab.c:
1826         * src/nact/nact-main-tab.h:
1827         * src/nact/nact-main-window.c:
1828         Remove irrelevant TAB_UPDATABLE_SIGNAL_ENABLE_TAB signal.
1830         * src/nact/nact-match-list.c:
1831         Do not try to get filters when there is no current context.
1833         * src/nact/nact-main-window.c:
1834         Do not mark the application as modified when list is empty.
1836         * src/nact/nact-iaction-tab.c:
1837         * src/nact/nact-ibasenames-tab.c:
1838         * src/nact/nact-icapabilities-tab.c:
1839         * src/nact/nact-icommand-tab.c:
1840         * src/nact/nact-ienvironment-tab.c:
1841         * src/nact/nact-ifolders-tab.c:
1842         * src/nact/nact-iproperties-tab.c:
1843         * src/nact/nact-ischemes-tab.c:
1844         * src/nact/nact-main-menubar-edit.c:
1845         * src/nact/nact-main-menubar-file.c:
1846         * src/nact/nact-main-tab.h:
1847         * src/nact/nact-main-window.c:
1848         * src/nact/nact-match-list.c: Rename main properties.
1850         * src/nact/nact-main-tab.h:
1851         * src/nact/nact-main-window.c: Remove unused PROP_SELECTED_ROW property.
1853         * po/POTFILES.in: Add src/nact/nact-ienvironment-tab.c file.
1855         * src/nact/nact-ienvironment-tab.c: Connect signals.
1857 2010-06-14 Pierre Wieser <pwieser@trychlos.org>
1859         * src/core/na-icontext-factory.c:
1860         Change default capabilities to empty list.
1862         * src/nact/nact-add-capability-dialog.c:
1863         * src/nact/nact-add-capability-dialog.h:
1864         * src/nact/nact-add-capability.ui: New files.
1866         * po/POTFILES.in:
1867         * src/nact/Makefile.am: Updated accordingly.
1869         * src/nact/nact-match-list.c:
1870         * src/nact/nact-match-list.h (nact_match_list_create_model):
1871         Add match_header parameter.
1873         * src/nact/nact-ibasenames-tab.c:
1874         * src/nact/nact-icapabilities-tab.c:
1875         * src/nact/nact-ifolders-tab.c:
1876         * src/nact/nact-imimetypes-tab.c:
1877         * src/nact/nact-ischemes-tab.c: Updated accordingly.
1879 2010-06-13 Pierre Wieser <pwieser@trychlos.org>
1881         * src/nact/nact-match-list.c:
1882         * src/nact/nact-match-list.h (nact_match_list_create_model):
1883         Add on_add_clicked callback parameter.
1885         * src/nact/nact-ibasenames-tab.c:
1886         * src/nact/nact-ifolders-tab.c:
1887         * src/nact/nact-imimetypes-tab.c:
1888         * src/nact/nact-ischemes-tab.c: Updated accordingly.
1890         * src/nact/nact-iaction-tab.c:
1891         Use gtk_bin_get_child() function instead of GTK_BIN()->child.
1893         * po/POTFILES.in:
1894         Add src/nact/nact-icapabilities-tab.c, src/nact/nact-ischemes-tab.c.
1895         Remove src/nact/nact-iconditions-tab.c.
1897         * src/api/na-core-utils.h:
1898         * src/core/na-core-utils.c (na_core_utils_selcount_get_ope_int):
1899         New function.
1901         * src/nact/nact-icapabilities-tab.c: Implement selection count.
1903 2010-06-11 Pierre Wieser <pwieser@trychlos.org>
1905         * src/api/na-icontext.h:
1906         * src/core/na-icontext.c (na_icontext_is_all_mimetypes): New function.
1908         * src/api/na-object-api.h: Define new getters/setters.
1910         * src/core/na-icontext-factory.c:
1911         * src/core/na-object-item-factory.c: Fix comments.
1913         * src/io-gconf/nagp-reader.c:
1914         Convert pre-v3 is_multiple, is_file and is_dir parameters.
1916 2010-06-10 Pierre Wieser <pwieser@trychlos.org>
1918         * configure.ac: Bump post-release version number.
1920         * Changelog: Update NEWS before release.
1922         * configure.ac: Bump pre-release version number.
1924         * src/core/na-iabout.c: Update copyright notice.
1926 2010-06-09 Pierre Wieser <pwieser@trychlos.org>
1928         * src/api/na-core-utils.h:
1929         * src/api/na-core-utils.c (na_core_utils_slist_find_negated):
1930         New function.
1932         * src/nact/nact-add-scheme-dialog.c:
1933         * src/nact/nact-add-scheme-dialog.h: New files.
1935         * src/nact/Makefile.am: Updated accordingly.
1937         * src/nact/nact-main-menubar.c: Update test for Gtk+ version.
1939         * src/nact/nact-match-list.c:
1940         * src/nact/nact-match-list.h: Remove on_add callback.
1942         * src/nact/nact-ibasenames-tab.c:
1943         * src/nact/nact-ifolders-tab.c:
1944         * src/nact/nact-imimetypes-tab.c:
1945         * src/nact/nact-ischemes-tab.c:
1946         * src/nact/nact-preferences-editor.c: Updated accordingly.
1948         * src/nact/nact-schemes-list.c:
1949         * src/nact/nact-schemes-list.h
1950         (nact_schemes_list_show_all, nact_schemes_list_get_current_scheme):
1951         New functions.
1953 2010-06-07 Pierre Wieser <pwieser@trychlos.org>
1955         * src/nact/nact-add-scheme.ui: New file.
1957         * po/POTFILES.in:
1958         * src/nact/Makefile.am: Updated accordingly.
1960 2010-06-04 Pierre Wieser <pwieser@trychlos.org>
1962         * src/api/na-object-api.h: Reorganization.
1964         * src/core/na-icontext-factory.c: Set schemes default to '*'.
1966         * src/nact/nact-icommand-tab.c: Get schemes from current object.
1968         * src/nact/nact-ischemes-tab.c:
1969         * src/nact/nact-ischemes-tab.h:
1970         Take advantage of new nact_match_list_xxx functions.
1972         * src/api/na-object-api.h:
1973         * src/api/na-ifactory-object-data.h:
1974         * src/core/na-object-profile-factory.c: Add NAFO_DATA_WORKING_DIR data.
1976         * src/core/na-factory-object.c:
1977         * src/core/na-factory-object.h (na_factory_object_get_default):
1978         New     function.
1980         * src/nact/nact-icommand-tab.c: Implement working directory.
1982         * src/nact/nact-imimetypes-tab.c: 
1983         Take advantage of new nact_match_list_xxx functions.
1985         * src/nact/nact-match-list.c:
1986         * src/nact/nact-match-list.h: New files.
1988         * src/nact/Makefile.am: Updated accordingly.
1990         * src/nact/base-window.c:
1991         * src/nact/base-window.h (base_window_signal_connect_with_data):
1992         New function.
1994         * src/nact/nact-ibasenames-tab.c: 
1995         Take advantage of new nact_match_list_xxx functions.
1997 2010-06-03 Pierre Wieser <pwieser@trychlos.org>
1999         * src/nact/nact-ibasenames-tab.c: Implement NactIBasenamesInterface interface.
2001 2010-06-02 Pierre Wieser <pwieser@trychlos.org>
2003         * src/nact/nautilus-actions-config-tool.ui:
2004         * src/nact/nact-ibasenames-tab.c: Define basename new conditions skeleton.
2006         * src/nact/nact-icapabilities-tab.c:
2007         * src/nact/nact-icapabilities-tab.h: Define NactICapabilitiesInterface interface.
2009         * src/nact/Makefile.am:
2010         * src/nact/nact-main-tab.h:
2011         * src/nact/nact-main-window.c: Updated accordingly.
2013 2010-05-30 Pierre Wieser <pwieser@trychlos.org>
2015         * src/nact/nact-ibasenames-tab.c:
2016         * src/nact/nact-ibasenames-tab.h: Define NactIBasenamesTabInterface interface.
2018         * src/nact/nact-icommand-tab.c:
2019         No more include removed nact-iconditions-tab.h file.
2021         * src/nact/nact-ienvironment-tab.c:
2022         * src/nact/nact-ienvironment-tab.h: Define NactIEnvironmentTabInterface interface.
2024         * src/nact/nact-iexecution-tab.c:
2025         * src/nact/nact-iexecution-tab.h: Define NactIExecutionTabInterface interface.
2027         * src/nact/nact-ifolders-tab.c (on_tab_updatable_selection_changed):
2028         * src/nact/nact-ischemes-tab.c (on_tab_updatable_selection_changed):
2029         tab_set_sensitive() returned value is not used here.
2031         * src/nact/nact-imimetypes-tab.c:
2032         * src/nact/nact-imimetypes-tab.h: Define NactIMimetypesTabInterface interface.
2034         * src/nact/nact-iproperties-tab.c (on_tab_updatable_selection_changed):
2035         Set a mnemonic in the tab label.
2037         * src/nact/nact-main-tab.h:
2038         * src/nact/nact-main-window.c: Add the four new tabs, remove the old one.
2040         * src/nact/nautilus-actions-config-tool.ui: Fix some size groups.
2042 2010-05-29 Pierre Wieser <pwieser@trychlos.org>
2044         * configure.ac: Define GSEAL_ENABLED.
2046         * src/nact/nautilus-actions-config-tool.ui:
2047         Implement all new fields.
2049 2010-05-26 Pierre Wieser <pwieser@trychlos.org>
2051         * src/api/na-core-utils.h:
2052         * src/core/na-core-utils.c (na_core_utils_dir_split_ext):
2053         New function.
2055         * src/core/na-tokens.h:
2056         * src/core/na-tokens.c: New files.
2058         * src/core/Makefile.am: Udated accordingly.
2060         * src/plugin-menu/nautilus-actions.c:
2061         Expand tokens which may embed parameters.
2063 2010-05-20 Pierre Wieser <pwieser@trychlos.org>
2065         * src/io-gconf/nagp-reader.c (read_done_profile_attach_profile):
2066         Migrate old v2 parameters to v3.
2068         * src/core/na-object-action.c (deals_with_version):
2069         Setup a version number if not already set.
2071         * src/core/na-object-action.c (convert_pre_v2_action):
2072         Renamed as convert_v1_to_v2.
2074         * src/api/na-data-def.h: Add write_if_default.
2076         * src/core/na-icontext-factory.c:
2077         * src/core/na-object-action-factory.c:
2078         * src/core/na-object-id-factory.c:
2079         * src/core/na-object-item-factory.c:
2080         * src/core/na-object-profile-factory.c: Update all data structures.
2082         * src/io-desktop/nadp-writer.c
2083         (nadp_writer_ifactory_provider_write_data):
2084         * src/io-gconf/nagp-writer.c (nagp_writer_write_data):
2085         * src/io-xml/naxml-writer.c (naxml_writer_write_data):
2086         Updated accordingly.
2088         * src/io-desktop/nadp-reader.c
2089         (nadp_reader_ifactory_provider_read_start): Removed function.
2091 2010-05-17 Pierre Wieser <pwieser@trychlos.org>
2093         * configure.ac: Fix typo.
2095         * src/core/na-core-utils.c (na_core_utils_slist_from_array):
2096         Strip the strings extracted from the array.
2098         * src/core/na-factory-object.c (na_factory_object_are_equal):
2099         Dump the data when different.
2101         * src/nact/nact-main-menubar-file.c
2102         (nact_main_menubar_file_save_items): Add a debug message.
2104         * src/api/na-object-api.h (na_object_set_last_version):
2105         * src/api/na-object-action.h:
2106         * src/core/na-object-action.c (na_object_action_set_last_version):
2107         New functions.
2109         * src/core/na-object-action.c (convert_pre_v2_action):
2110         Reset action to last version number after conversion from pre-v2.
2112         * src/core/na-object-profile.c (na_object_profile_parse_parameters):
2113         Do not add extraneous blanks when parsing parameters.
2115         * configure.ac: Post release bump version number.
2117         * src/io-desktop/nadp-reader.c (read_done_load_profiles):
2118         Do not reload already loaded profiles.
2119         Just ignore non-referenced profiles.
2121         * src/io-gconf/nagp-reader.c
2122         (read_done_action_load_profiles_from_list): Do not reload already loaded profiles.
2124         * src/utils/nautilus-actions-new.c:
2125         Factorize error message to make translation easier.
2127         * src/utils/nautilus-actions-run.c:
2128         Mark two new strings for translation.
2130         * src/core/na-object-action-factory.c:
2131         No more set a string version.
2133         * src/io-gconf/nagp-reader.c (read_done_profile_attach_profile):
2134         Test both string and integer versions.
2136 2010-05-12 Pierre Wieser <pwieser@trychlos.org>
2138         * src/api/na-icontext.h:
2139         * src/core/na-icontext.c
2140         (na_icontext_have_all_mimetypes): Removed function.
2141         (na_icontext_read_done): New function.
2143         * src/core/na-object-action.c:
2144         * src/core/na-object-menu.c:
2145         * src/core/na-object-profile.c: Updated accordingly.
2147         * src/api/na-object-api.h
2148         (na_object_get_iversion, na_object_set_iversion): New functions.
2150         * src/core/na-icontext-factory.c:
2151         * src/core/na-object-item-factory.c:
2152         Adjustments on default values.
2154         * src/io-gconf/nagp-reader.c (read_done_profile_attach_profile):
2155         Convert pre-v3 parameters.
2157         * src/plugin-menu/nautilus-actions.c:
2158         Adjust NautilusMenuProvider interface.
2160 2010-05-10 Pierre Wieser <pwieser@trychlos.org>
2162         Monitor .desktop files and directories.
2164         * src/io-desktop/nadp-monitor.c:
2165         * src/io-desktop/nadp-monitor.h: New files.
2167         * src/io-desktop/Makefile.am: Updated accordingly.
2169         * src/io-desktop/nadp-desktop-provider.c:
2170         * src/io-desktop/nadp-desktop-provider.h
2171         (nadp_desktop_provider_add_monitor,
2172         nadp_desktop_provider_on_monitor_event,
2173         nadp_desktop_provider_release_monitors): New functions.
2175         * src/io-desktop/nadp-reader.c (get_list_of_desktop_paths):
2176         Installs a monitor for each candidate directory.
2178 2010-05-03 Pierre Wieser <pwieser@trychlos.org>
2180         * src/api/na-icontext.h:
2181         * src/api/na-ifactory-object-data.h:
2182         * src/api/na-object-api.h:
2183         * src/core/na-icontext-factory.c:
2184         * src/core/na-icontext.c:
2185         Define new NAFO_DATA_ALL_MIMETYPES data, set to TRUE when the context
2186         is to be selected for all mimetypes.
2188         * src/core/na-object-action.c:
2189         * src/core/na-object-menu.c:
2190         * src/core/na-object-profile.c:
2191         * src/plugin-menu/nautilus-actions.c:
2192         All objects implement NAIContextInterface.
2194         * src/nact/nact-iconditions-tab.c (na_object_is_matchcase):
2195         Renamed as na_object_get_matchcase().
2197         * src/core/na-object-profile.c (na_object_profile_parse_parameters):
2198         Do not add extraneous blanks when parsing parameters.
2200 2010-04-19 Pierre Wieser <pwieser@trychlos.org>
2202         * src/api/na-ifactory-object-data.h:
2203         * src/api/na-object-profile.h:
2204         * src/core/na-icontext-factory.c:
2205         * src/core/na-object-action-factory.c:
2206         * src/core/na-object-item-factory.c:
2207         * src/core/na-object-menu-factory.c:
2208         * src/core/na-object-profile-factory.c:
2209         Define all new data, new parameters, and include context informations
2210         to actions and menus.
2212         * src/api/na-core-utils.h:
2213         * src/core/na-core-utils.c (na_core_utils_slist_from_array):
2214         Fix leading and trailing spaces management.
2216 2010-04-18 Pierre Wieser <pwieser@trychlos.org>
2218         * src/api/na-ifactory-object-data.h:
2219         * src/core/na-object-item-factory.c:
2220         Define new NAFO_DATA_SHORTCUT data.
2222 2010-04-15 Pierre Wieser <pwieser@trychlos.org>
2224         * src/nact/nact-schemes-list.c (insert_new_row):
2225         Rewrite row insertion; do not insert a - non-editable - description.
2227         * src/nact/nact-preferences.ui: Fix typo.
2229         * src/io-gconf/nagp-keys.h:
2230         Remove unused GConf entry keys.
2232         * src/io-gconf/nagp-writer.c (nagp_iio_provider_is_willing_to_write):
2233         Force GConf sync to get ride of 'foo' entry.
2235 2010-04-14 Pierre Wieser <pwieser@trychlos.org>
2237         * NEWS: Update before release.
2239         * configure.ac: Bump version number before release.
2241         * src/core/na-selected-info.h:
2242         * src/core/na-selected-info.c (na_selected_info_get_name):
2243         Renamed as na_selected_info_get_path.
2245         * src/core/na-icontext.c
2246         (is_current_folder_inside, is_target_selection_candidate):
2247         Updated accordingly.
2249         * src/core/na-object-profile.c (na_object_profile_parse_parameters):
2250         Do not try to deal with null values.
2252         * src/plugin-menu/nautilus-actions.c (create_item_from_profile):
2253         Duplicate the candidate profile, set the parent to null.
2255         * src/core/na-selected-info.c (na_selected_info_get_location):
2256         Increment the reference count of the returned location.
2258         * src/core/na-gconf-utils.c (dump_entry):
2259         Do not try to dump a null value.
2261         * src/core/na-selected-info.c
2262         (dump): New function.
2263         (na_selected_info_create_for_uri): Accepts a mimetype.
2265         * src/plugin-tracker/na-tracker-dbus.c
2266         (na_tracker_dbus_get_selected_paths): Also sends the mimetype.
2268 2010-04-13 Pierre Wieser <pwieser@trychlos.org>
2270         * po/POTFILES.in: Adding src/nact/nact-iconditions-tab.c file.
2272         * src/api/na-ifactory-object-data.h:
2273         * src/core/na-icontext-factory.c:
2274         Adding NAFO_DATA_SELECTION_COUNT data, obsoleting NAFO_DATA_MULTIPLE.
2276         * src/nact/nact-iconditions-tab.c:
2277         * src/nact/nautilus-actions-config-tool.ui:
2278         Adding required entries for SelectionCount data.
2280 2010-04-12 Pierre Wieser <pwieser@trychlos.org>
2282         * src/plugin-menu/Makefile.am:
2283         * src/plugin-tracker/Makefile.am: Fix incorrect log domains.
2285         * po/POTFILES.in: Add src/nact/nact-iproperties-tab.c file.
2287         * src/nact/nautilus-actions-config-tool.ui: Adjust vertical paddings.
2289         "Advanced conditions" tab is renamed as "Schemes".
2291         * src/nact/nact-iadvanced-tab.c: Renamed as src/nact/nact-ischemes-tab.c.
2292         * src/nact/nact-iadvanced-tab.h: Renamed as src/nact/nact-ischemes-tab.h.
2294         * src/nact/Makefile.am:
2295         * src/nact/nact-icommand-tab.c:
2296         * src/nact/nact-main-tab.h:
2297         * src/nact/nact-main-window.c: Updated accordingly.
2299         Move item properties to their own tab.
2301         * src/nact/nact-iproperties-tab.c:
2302         * src/nact/nact-iproperties-tab.h: New files.
2304         * src/nact/Makefile.am:
2305         * src/nact/nact-iaction-tab.c:
2306         * src/nact/nact-main-tab.h:
2307         * src/nact/nact-main-window.c:
2308         * src/nact/nautilus-actions-config-tool.ui: Updated accordingly.
2310 2010-04-09 Pierre Wieser <pwieser@trychlos.org>
2312         * NEWS: Updated.
2314         * src/nact/nact-sort-buttons.c (set_new_sort_order):
2315         Do not rewrite in GConf a just-readen sort order.
2317         * src/io-gconf/nagp-writer.c (nagp_iio_provider_delete_item):
2318         Also delete the schema names which may be embedded in GConfEntry.
2320         * src/api/na-gconf-utils.h:
2321         * src/core/na-gconf-utils.c (na_gconf_utils_dump_entries):
2322         New function.
2324         * src/io-gconf/nagp-reader.c (read_item):
2325         Dump content of readen entries.
2327         * src/io-gconf/nagp-gconf-provider.c (install_monitors):
2328         Also monitors schemas to be triggered when importing a schema.
2330         * configure.ac: Bump version number for release.
2332         * src/nact/nact-iaction-tab.c (on_icon_browse):
2333         Save current position and folder of icon chooser.
2335 2010-04-08 Pierre Wieser <pwieser@trychlos.org>
2337         * src/core/na-object-profile.c (is_valid_path_parameters):
2338         Only check for non-empty path+parameters (fix #614596).
2340         * src/nact/nact-sort-buttons.c (on_sort_down_button_toggled,
2341         on_sort_manual_button_toggled, on_sort_up_button_toggled):
2342         Do not let the user click twice on a sort button.
2344         * src/nact/nact-main-window.c (setup_dialog_title):
2345         Review/normalize debug entry message.
2347         * src/nact/nact-ifolders-tab.c (on_add_folder_clicked):
2348         Folders list is definitively a list of paths (not URI).
2350         * src/api/na-core-utils.h:
2351         * src/core/na-core-utils.c (na_core_utils_str_collate): New function.
2353         * src/core/na-data-boxed.c (locale_are_equal):
2354         * src/core/na-object-action.c (deals_with_toolbar_label):
2355         * src/core/na-object-id.c (na_object_id_sort_alpha_asc):
2356         * src/io-desktop/nadp-utils.c (nadp_utils_gslist_remove_from):
2357         * src/nact/base-builder.c (already_loaded): Updated accordingly.
2359         * src/api/na-gconf-utils.h:
2360         * src/core/na-gconf-utils.c (na_gconf_utils_has_entry):
2361         Check for an entry in the previously loaded list.
2363         * src/io-gconf/nagp-reader.c
2364         (read_item): First check for Type default value.
2365         (read_item, read_done_item_is_writable,
2366         read_done_action_load_profile): Load entries.
2368         * src/nact/nact-iaction-tab.c (on_tab_updatable_selection_changed):
2369         * src/nact/nact-icommand-tab.c (on_tab_updatable_selection_changed):
2370         Protect gtk_ functions against null values.
2372         * src/plugin-menu/Makefile.am:
2373         Rename plugin to libnautilus-actions-menu.
2375         * src/io-desktop/nadp-reader.c (item_from_desktop_path):
2376         First check Type for default value.
2378 2010-04-07 Pierre Wieser <pwieser@trychlos.org>
2380         * src/nact/nact-gtk-utils.c:
2381         * src/nact/nact-gtk-utils.h
2382         (nact_gtk_utils_get_pixbuf): Render an icon for a given widget.
2383         (nact_utils_render): New function.
2385         * src/nact/nact-iaction-tab.c (on_icon_changed):
2386         * src/nact/nact-main-statusbar.c (nact_main_statusbar_set_locked):
2387         * src/nact/nact-tree-model.c (display_item): Updated accordingly.
2389 2010-04-02 Pierre Wieser <pwieser@trychlos.org>
2391         * configure.ac:
2392         * src/nact/nact-main-tab.c (nact_main_tab_is_page_enabled):
2393         GTK_WIDGET_IS_SENSITIVE is deprecated starting from gtk 2.20.
2395         * src/core/na-core-utils.c (na_core_utils_file_exists):
2396         * src/io-xml/naxml-writer.c (output_xml_to_file):
2397         Takes an URI as the filename.
2399 2010-04-01 Pierre Wieser <pwieser@trychlos.org>
2401         * src/api/na-icontextual.h: Renamed as src/api/na-icontext.h.
2402         * src/core/na-icontextual.c: Renamed as src/core/na-icontext.c.
2403         * src/core/na-icontextual-factory.c: Renamed as src/core/na-icontext-factory.c.
2405         * po/POTFILES.in:
2406         * src/api/Makefile.am:
2407         * src/api/na-icontext.h:
2408         * src/api/na-object-api.h:
2409         * src/core/Makefile.am:
2410         * src/core/na-icontext.c:
2411         * src/core/na-object-action.c:
2412         * src/core/na-object-profile.c:
2413         * src/plugin-menu/nautilus-actions.c:
2414         * src/utils/nautilus-actions-run.c: Updated accordingly.
2416         * src/api/na-object-api.h (na_object_prepare_for_paste):
2417         * src/core/na-object-id.c (na_object_id_prepare_for_paste):
2418         Parent is not always an action, may be a menu.
2420         * src/io-desktop/nadp-desktop-file.c
2421         (nadp_desktop_file_get_file_type):
2422         Do not emit a warning if Type is not found in the .desktop file.
2424         * src/core/na-core-utils.c (na_core_utils_slist_to_array):
2425         Fix built of array.
2427         * src/io-desktop/nadp-keys.h:
2428         Set back action (resp. menu) Type to Action (resp. Menu).
2430         * src/nact/nautilus-actions-config-tool.ui:
2431         Insert a scrolled window as text view parent.
2433         * src/io-desktop/nadp-desktop-file.c (check_key_file):
2434         Only write a debug message if file is hidden.
2436 2010-03-29 Pierre Wieser <pwieser@trychlos.org>
2438         * src/nact/nact-gtk-utils.c (nact_gtk_utils_set_editable):
2439         Take into account new GtktextView widget.
2441         * src/io-desktop/nadp-writer.c (nadp_iio_provider_write_item):
2442         Remove groups which no longer exist.
2444         * src/io-desktop/nadp-reader.c (read_done_load_profiles):
2445         Free string lists.
2447         * src/io-desktop/nadp-desktop-file.c:
2448         * src/io-desktop/nadp-desktop-file.h (nadp_desktop_file_remove_profile):
2449         New function.
2451         * src/io-desktop/nadp-desktop-file.c (nadp_desktop_file_get_profiles):
2452         Fix allocation of profile id.
2454         * src/io-desktop/nadp-desktop-file.c:
2455         * src/io-desktop/nadp-desktop-file.h (nadp_desktop_file_remove_key):
2456         New function.
2458         * src/io-desktop/nadp-writer.c (nadp_iio_provider_write_item):
2459         Remove key when it is no more set.
2461         * src/api/na-object-api.h
2462         (na_object_get_description, na_object_set_description): New macros.
2464         * src/nact/nact-iaction-tab.c:
2465         * src/nact/nautilus-actions-config-tool.ui: Add description entry.
2467         * src/io-desktop/nadp-keys.h: Remove unused keys.
2469         * src/io-desktop/nadp-reader.c (nadp_reader_ifactory_provider_read_done):
2470         Explicitly read subitems string list.
2472         * src/io-desktop/nadp-desktop-provider.c (ifactory_provider_iface_init):
2473         * src/io-desktop/nadp-writer.c:
2474         * src/io-desktop/nadp-writer.h (nadp_writer_ifactory_provider_write_done):
2475         New function: explicitly write subitems string list for actions and menus.
2477 2010-03-28 Pierre Wieser <pwieser@trychlos.org>
2479         * src/api/na-data-boxed.h:
2480         * src/core/na-data-boxed.c (na_data_boxed_set_default): Removed function.
2482         * src/core/na-factory-object.c (set_defaults_iter):
2483         Only set a default value when the box has not been yet allocated.
2485         * src/api/na-ifactory-object.h:
2486         * src/core/na-ifactory-object.c (na_ifactory_object_get_data_groups):
2487         New function.
2489         * src/core/na-object-item-factory.c:
2490         * src/core/na-object-action.c (instance_init):
2491         * src/core/na-object-menu.c (instance_init):
2492         No more instantiate 'type' data box.
2494         * src/core/na-object-item-factory.c:
2495         NAFO_DATA_TYPE is no more automatically readen nor written.
2497         * src/io-desktop/nadp-desktop-provider.c (ifactory_provider_iface_init):
2498         Implement data writing.
2500         * src/io-desktop/nadp-keys.c:
2501         * src/io-desktop/nadp-keys.h (nadp_keys_get_group_and_key):
2502         Removed function.
2504         * src/io-desktop/nadp-reader.c
2505         (item_from_desktop_path): Test default value first.
2506         (nadp_reader_ifactory_provider_read_data): Use new desktop_entry field.
2508         * src/io-desktop/nadp-writer.c:
2509         * src/io-desktop/nadp-writer.h (nadp_writer_ifactory_provider_write_start,
2510         nadp_writer_ifactory_provider_write_data): New functions.
2512         * src/io-gconf/nagp-writer.c (nagp_writer_write_start):
2513         Explicitely write item type.
2515         * src/io-desktop/nadp-desktop-file.c:
2516         * src/io-desktop/nadp-desktop-file.h
2517         (nadp_desktop_file_set_boolean, nadp_desktop_file_set_locale_string,
2518         nadp_desktop_file_set_string, nadp_desktop_file_set_string_list,
2519         nadp_desktop_file_set_uint): New functions.
2521         * src/api/na-core-utils.h:
2522         * src/core/na-core-utils.c (na_core_utils_slist_to_array):
2523         New function.
2525 2010-03-26 Pierre Wieser <pwieser@trychlos.org>
2527         * src/api/na-data-def.h:
2528         * src/core/na-icontextual-factory.c:
2529         * src/core/na-object-id-factory.c:
2530         * src/core/na-object-item-factory.c:
2531         * src/core/na-object-action-factory.c:
2532         * src/core/na-object-profile-factory.c:
2533         Define the key for .desktop file.
2535         * src/io-gconf/nagp-writer.c (nagp_writer_write_data):
2536         Remove blank line.
2538         * src/io-desktop/nadp-desktop-provider.c:
2539         * src/io-desktop/nadp-reader.c:
2540         * src/io-desktop/nadp-reader.h
2541         (nadp_reader_ifactory_provider_read_start): Removed unused function.
2543         * src/io-desktop/nadp-desktop-file.c:
2544         * src/io-desktop/nadp-desktop-file.h
2545         (check_key_file): Check that we don't have a 'Hidden=true' key.
2546         (nadp_desktop_file_get_profiles): New function.
2548         * src/io-desktop/nadp-desktop-provider.c:
2549         * src/io-desktop/nadp-desktop-provider.h:
2550         Move reader functions and structure to nadp-reader.c.
2552         * src/io-desktop/nadp-keys.h:
2553         Relabel type of items in .desktop file (cf. draft 0.9).
2555         * src/io-desktop/nadp-reader.c:
2556         * src/io-desktop/nadp-reader.h:
2557         Read profiles present in the .desktop file.
2559 2010-03-26 Pierre Wieser <pwieser@trychlos.org>
2561         * src/io-desktop/nadp-desktop-file.c:
2562         * src/io-desktop/nadp-desktop-file.h
2563         (check_key_file): Check that we don't have a 'Hidden=true' key.
2564         (nadp_desktop_file_get_profiles): New function.
2566         * src/io-desktop/nadp-desktop-provider.c:
2567         * src/io-desktop/nadp-desktop-provider.h:
2568         Move reader functions and structure to nadp-reader.c.
2570         * src/io-desktop/nadp-keys.h:
2571         Relabel type of items in .desktop file (cf. draft 0.9).
2573         * src/io-desktop/nadp-reader.c:
2574         * src/io-desktop/nadp-reader.h:
2575         Read profiles present in the .desktop file.
2577 2010-03-26 Pierre Wieser <pwieser@trychlos.org>
2579         * configure.ac: Bump version number for data branch.
2581 2010-03-26 Pierre Wieser <pwieser@trychlos.org>
2583         Releasing 2.30.0.
2585 2010-03-25 Pierre Wieser <pwieser@trychlos.org>
2587         * src/nact/nact-main-menubar-edit.c:
2588         * src/nact/nact-main-menubar-edit.h:
2589         * src/nact/nact-main-menubar-file.c:
2590         * src/nact/nact-main-menubar-file.h:
2591         * src/nact/nact-main-menubar-view.c:
2592         * src/nact/nact-main-menubar-view.h: New files.
2594         * po/POTFILES.in:
2595         * src/nact/Makefile.am: Updated accordingly.
2597         * src/nact/nact-main-window.c
2598         (ipivot_consumer_on_mandatory_prefs_changed):
2599         Implement NAIPivotConsumer notification.
2601         * src/nact/nact-sort-buttons.c:
2602         * src/nact/nact-sort-buttons.h
2603         (nact_sort_buttons_level_zero_writability_change):
2604         Enable/disable the buttons depending of the level zero writability
2605         status.
2607 2010-03-24 Pierre Wieser <pwieser@trychlos.org>
2609         * src/core/na-ipivot-consumer.c
2610         (na_ipivot_consumer_notify_of_mandatory_prefs_changed) : New function.
2611         (on_mandatory_prefs_changed): New interface API.
2613         * src/core/na-pivot.c (monitor_runtime_preferences):
2614         Monitor the mandatory preferences set by the admin.
2616         * src/nact/nact-main-window.c (ipivot_consumer_iface_init):
2617         * src/plugin-menu/nautilus-actions.c (ipivot_consumer_iface_init):
2618         For now, only declare NULL implementations.
2620         * src/nact/nact-preferences-editor.c (on_base_runtime_init_dialog):
2621         * src/nact/nact-sort-buttons.c (nact_sort_buttons_runtime_init):
2622         Forbid the modification of order mode is level zero is not writable.
2624         * src/core/na-pivot.c (na_pivot_is_level_zero_writable):
2625         Writable if not all not GConf are locked by admin.
2627         * src/nact/nact-iaction-tab.c (nact_iaction_tab_runtime_init_toplevel):
2628         * src/nact/nact-iadvanced-tab.c (runtime_init_connect_signals):
2629         * src/nact/nact-icommand-tab.c (nact_icommand_tab_runtime_init_toplevel):
2630         * src/nact/nact-iconditions-tab.c (nact_iconditions_tab_runtime_init_toplevel):
2631         * src/nact/nact-ifolders-tab.c (nact_ifolders_tab_runtime_init_toplevel):
2632         * src/nact/nact-main-tab.h:
2633         Signal TAB_UPDATABLE_SIGNAL_SELECTION_CHANGED is renamed as
2634         MAIN_WINDOW_SIGNAL_SELECTION_CHANGED.
2636         * src/nact/nact-main-menubar.c:
2637         * src/nact/nact-main-menubar.h
2638         (nact_main_menubar_is_level_zero_order_changed): New function.
2640         * src/nact/nact-iactions-list.h:
2641         * src/nact/nact-iactions-list-bis.c (nact_iactions_list_bis_delete):
2642         Add an argument to select the row at end of the function.
2644         * src/nact/nact-main-window.c:
2645         Connect to MAIN_WINDOW_SIGNAL_LEVEL_ZERO_ORDER_CHANGED to update
2646         dialog title.
2648         * src/nact/nact-iactions-list.c:
2649         * src/nact/nact-iactions-list.h
2650         (selection_changed): Remove the not used API.
2651         Remove the connection to the signal and the call to the interface.
2653         * src/nact/nact-assistant-export.c (iactions_list_iface_init):
2654         Use the IACTIONS_LIST_SIGNAL_SELECTION_CHANGED instead of the
2655         interface API.
2657         * src/nact/nact-main-window.c
2658         (ipivot_consumer_on_display_order_changed):
2659         Relay NAIPivotConsumer notification to nact_sort_buttons.
2661         * src/nact/nact-sort-buttons.c:
2662         * src/nact/nact-sort-buttons.h
2663         (nact_sort_buttons_display_order_change): New function.
2665         * src/nact/nact-main-menubar.c (save_item):
2666         Not only unref old origin, but also remove it from tree.
2668 2010-03-23 Pierre Wieser <pwieser@trychlos.org>
2670         Add buttons to sort the list.
2672         * src/nact/nact-sort-buttons.c:
2673         * src/nact/nact-sort-buttons.h: New files.
2675         * src/nact/Makefile.am:
2676         * src/nact/nact-main-window.c: Updated accordingly.
2678         * src/nact/nautilus-actions-config-tool.ui:
2679         Define three new buttons to help to sort the list of items.
2681         * src/core/Makefile.am:
2682         No more give a version number to the core library.
2684         Restore the target-location indicator.
2686         * src/api/na-ifactory-object-data.h:
2687         * src/core/na-object-action-factory.c:
2688         Renamed NAFO_DATA_TARGET_BACKGROUND as NAFO_DATA_TARGET_LOCATION.
2690         * src/api/na-object-api.h
2691         (na_object_is_target_location, na_object_set_target_location):
2692         New macros.
2694         * src/api/na-object-item.h:
2695         * src/plugin-menu/nautilus-actions.c (menu_provider_get_background_items):
2696         Renamed ITEM_TARGET_BACKGROUND as ITEM_TARGET_LOCATION.
2698         * src/core/na-icontextual-factory.c:
2699         * src/core/na-object-action-factory.c:
2700         * src/core/na-object-item-factory.c:
2701         Update data descriptions.
2703         * src/core/na-icontextual.c (is_target_background_candidate):
2704         Renamed as is_target_location_candidate().
2706         * src/core/na-object-action.c (na_object_action_is_candidate):
2707         Only selects the action if it is candidate for this target.
2709         * src/nact/nact-iaction-tab.c (on_tab_updatable_selection_changed):
2710         * src/nact/nautilus-actions-config-tool.ui:
2711         Display the target-location checkbox.
2713         * src/utils/nautilus-actions-new.c:
2714         Let the user select the target-location boolean indicator.
2716 2010-03-22 Pierre Wieser <pwieser@trychlos.org>
2718         * src/core/na-icontextual.c
2719         (is_current_folder_inside): Compare path rather that URI.
2720         (is_target_selection_candidate): Fix NASelectedInfo addressing.
2722         * src/plugin-menu/nautilus-actions.c
2723         (get_file_or_background_items): New function.
2724         (build_nautilus_menus, get_candidate_profile): Add debug messages.
2726         * src/core/na-selected-info.c (query_file_attributes):
2727         Fix file_info_get_attribute.
2729         * src/core/na-object-action.c (na_object_action_is_candidate):
2730         Considere background menu just as a special case of selection menu.
2732         * data/.gitignore: Update .gitignore.
2734 2010-03-17 Pierre Wieser <pwieser@trychlos.org>
2736         * data/Makefile.am: Automatically generate configurations schemas.
2738         * data/nautilus-actions.schemas.in:
2739         Renamed as data/nautilus-actions-prefs.schemas.in.
2740         Remove configurations schemas (now dynamically generated).
2742         * po/POTFILES.in: Updated accordingly.
2744         * src/core/na-icontextual-factory.c:
2745         * src/core/na-object-action-factory.c: Fix typo.
2747         * src/utils/nautilus-actions-schemas.c:
2748         Output configurations schemas to stdout.
2750         * po/POTFILES.skip:
2751         New file: do not try to translate dynamically generated schema.
2753         * Makefile.am:
2754         Build data/ after src/ to bo take advantage of dynamic generation of schemas.
2756         * src/core/na-icontextual-factory.c:
2757         String lists are now initialized in GConf-style.
2759         * src/io-gconf/nagp-writer.c (nagp_writer_write_data):
2760         * src/io-xml/naxml-writer.c (write_data_schema_v2, write_data_dump):
2761         Do not output empty values.
2763         * src/api/na-data-boxed.h:
2764         * src/core/na-data-boxed.c (na_data_boxed_is_set): New function.
2766         * data/nautilus-actions.schemas.in:
2767         Fix typo.
2768         Add io-providers/read-at-startup and io-providers/writable keys.
2770         * src/nact/nact.desktop.in: Add StartupNotify=true.
2772         * src/nact/nact-main-window.c (reload):
2773         Free the deleted list before filling the tree.
2775         * src/nact/nact-main-menubar.c
2776         (on_cut_activated): Do not cut not deletable items.
2777         (get_deletables): Add a ref on items to delete.
2779         * src/test/init-dispose-diff.sh:
2780         Do not take into account some debug messages.
2782 2010-03-16 Pierre Wieser <pwieser@trychlos.org>
2784         * src/utils/nautilus-actions-new.c
2785         (output_to_dir): Output the new action to a file.
2787         * src/core/na-core-utils.c (info_dir_is_writable):
2788         Do not emit a warning on 'no such file or directory' error.
2790         * src/utils/nautilus-actions-new.c
2791         (output_to_stdout): Output the new action to stdout.
2792         (output_to_gconf): Output the new action to GConf.
2794         * src/io-xml/naxml-writer.c (naxml_writer_write_start):
2795         Add attribute to list node, thus fixing writing of action.
2797 2010-03-15 Pierre Wieser <pwieser@trychlos.org>
2799         * src/io-xml/naxml-writer.c (naxml_writer_write_start):
2800         No need to explicitely write item type as the data is marked writable.
2802         * src/utils/nautilus-actions-new.c:
2803         Cleanup old command-line code.
2804         Check for incompatibility between boolean arguments.
2806         * src/api/na-data-def.h (na_data_def_get_data_def): New function.
2808         * src/core/na-data-def.c: New file.
2810         * src/core/Makefile.am: Updated accordingly.
2812         * src/core/na-icontextual-factory.c:
2813         * src/core/na-object-profile-factory.c:
2814         Update command-line options to not have duplicates.
2816         * src/utils/nautilus-actions-new.c:
2817         Use new ArgFromDataDef structure and display suitable help.
2819         * src/core/na-icontextual-factory.c:
2820         * src/core/na-object-action-factory.c:
2821         * src/core/na-object-item-factory.c:
2822         * src/core/na-object-profile-factory.c:
2823         * src/utils/nautilus-actions-new.c:
2824         Update data definitions to handle command-line arguments.
2826 2010-03-10 Pierre Wieser <pwieser@trychlos.org>
2828         * src/utils/nautilus-actions-new.c:
2829         Define a structure to host NADataDef argument definitions.
2831         * src/api/na-data-def.h:
2832         Add parameters to be able to manage command-line arguments.
2834         * src/core/na-icontextual-factory.c:
2835         * src/core/na-object-action-factory.c:
2836         * src/core/na-object-id-factory.c:
2837         * src/core/na-object-item-factory.c:
2838         * src/core/na-object-profile-factory.c: Updated accordingly.
2840         * src/core/na-io-provider.c (build_hierarchy):
2841         Attach the child item to its parent.
2843         * src/core/na-object-id.c (instance_dispose):
2844         * src/core/na-object-item.c (instance_dispose):
2845         * src/core/na-object.c (instance_dispose):
2846         Add debug messages.
2848         * src/core/na-dbus-tracker.h: Remove no more used file.
2850         * src/core/Makefile.am: Updated accordingly.
2852         * src/core/na-icontextual.c:
2853         * src/core/na-object-profile.c:
2854         * src/plugin-tracker/na-tracker-dbus.c:
2855         * src/utils/nautilus-actions-run.c:
2856         Remove all references to NATrackedItem obsolete class.
2858         * src/api/na-ifactory-object-data.h:
2859         Rename v1 action data group to NA_FACTORY_ACTION_V1_GROUP.
2861         * src/core/na-object-action-factory.c:
2862         No more try to read obsolete NAFO_DATA_TARGET_BACKGROUND data.
2864         * src/plugin-tracker/na-tracker.c
2865         (menu_provider_get_background_items):
2866         Implement Nautilus get_background_items() interface.
2868         * data/nautilus-actions.schemas.in:
2869         Remove 'target-background' entry description.
2871         * src/api/na-object-api.h
2872         (na_object_is_target_background): Removed macro.
2874         * src/api/na-object-profile.h
2875         * src/core/na-object-profile.c
2876         (na_object_profile_is_target_background): Removed function.
2878 2010-03-09 Pierre Wieser <pwieser@trychlos.org>
2880         * src/io-gconf/nagp-writer.c (nagp_writer_write_data):
2881         Replace gconf_concat_dir_and_key by g_strdup_printf.
2883         * src/core/na-ifactory-provider.c (na_ifactory_provider_write_item):
2884         Add a debug trace when entering in the function.
2886         * src/api/na-icontext-conditions.h: Renamed as na-icontextual.h.
2887         * src/core/na-icontext-conditions.c: Renamed as na-icontextual.c.
2888         * src/core/na-icontext-conditions-factory.c:
2889         Renamed as na-icontextual-factory.c.
2891         * po/POTFILES.in:
2892         * src/api/Makefile.am:
2893         * src/api/na-icontextual.h:
2894         * src/api/na-object-api.h:
2895         * src/core/Makefile.am:
2896         * src/core/na-icontextual.c:
2897         * src/core/na-object-action.c:
2898         * src/core/na-object-profile.c:
2899         * src/plugin-menu/nautilus-actions.c:
2900         * src/utils/nautilus-actions-run.c: Updated accordingly.
2902 2010-03-09 Pierre Wieser <pwieser@trychlos.org>
2904         Refactor NactIBackgroundTab class as NactIFoldersTab.
2906         * src/nact/nact-ibackground-tab.c:
2907         * src/nact/nact-ibackground-tab.h: Renamed as nact-ifolders-tab.{c,h}.
2909         * src/nact/Makefile.am:
2910         * src/nact/nact-main-tab.h:
2911         * src/nact/nact-main-window.c: Updated accordingly.
2913         Remove the 'target background' indicator which was introduced in 2.29.1.
2915         * src/core/na-object-action-factory.c:
2916         Update properties for NAFO_DATA_TARGET_BACKGROUND.
2918         * src/nact/nact-iaction-tab.c
2919         (nact_iaction_tab_runtime_init_toplevel): Remove the signal connection.
2920         (on_tab_updatable_selection_changed): Remove fields initialization.
2921         (on_target_background_toggled): Remove the function.
2923         * src/nact/nact-ibackground-tab.c (tab_set_sensitive):
2924         Always sensitive for profiles.
2926         * src/nact/nautilus-actions-config-tool.ui: Remove the fields.
2928         * src/core/na-object-action-factory.c:
2929         data_def_action_v1 is now available from outside.
2931         * src/core/na-object-action.c
2932         (ifactory_object_read_done, ifactory_object_write_done):
2933         Rewrite input/output functions.
2935         * src/io-gconf/nagp-reader.c
2936         (nagp_reader_read_data): Simplify the code.
2938         * src/io-gconf/nagp-writer.c
2939         (nagp_writer_write_start): No more write type as this is a normal data.
2940         (nagp_writer_write_data): Rewrite profile writing.
2941         (nagp_writer_write_done): Profile writing is now driven by NAObjectAction.
2943         * src/nact/nact-tree-model-dnd.c: Cleanup the code.
2945 2010-03-05 Pierre Wieser <pwieser@trychlos.org>
2947         * nact/nact-tree-model-dnd.c (drop_inside):
2948         Split to three functions to better readibility.
2949         Fix drop inside an empty menu.
2950         Fix drop into a non writable parent.
2952         * src/api/na-iio-provider.h: Add a comment.
2954         * src/core/na-io-provider.c:
2955         * src/core/na-io-provider.h (na_io_provider_get_return_code_label):
2956         New function.
2958         * src/nact/nact-window.c (nact_window_save_item):
2959         Better error message.
2961         * src/nact/nact-export-ask.c (on_base_runtime_init_dialog):
2962         Set more clear label, whether the item be a label or an action.
2964         * src/nact/nact-tree-model-dnd.c (get_xds_atom_value):
2965         Remove debug traces after validation both on 32 and 64 bits systems.
2967         * src/api/na-core-utils.h:
2968         * src/core/na-core-utils.c
2969         (na_core_utils_slist_join_at_end): New function.
2971         * src/api/na-iio-provider.h: Fix typo in comment.
2973         * src/nact/nact-main-menubar.c (on_delete_activated):
2974         Do not delete a tree if at least one item is not writable.
2976         * src/nact/nact-tree-model-dnd.c (get_xds_atom_value):
2977         Fix 64 bits value.
2979         * src/plugin-menu/nautilus-actions.c
2980         (create_item_from_menu): Add a trace on weak notify.
2982 2010-03-04 Pierre Wieser <pwieser@trychlos.org>
2984         * src/core/na-object-action.c (instance_init):
2985         * src/core/na-object-menu.c (instance_init):
2986         Rather create the 'Type' box here than in read_start().
2988 2010-03-03 Pierre Wieser <pwieser@trychlos.org>
2990         * src/core/Makefile.am:
2991         * src/nact/Makefile.am: Fix make distcheck.
2993         * po/POTFILES.in: Updated.
2995         Rename the NAIConditions interface to NAIContextConditions
2996         (hopefully, there will be a NAIContextParameters some day :)).
2998         * src/core/na-iconditions-factory.c:
2999         Renamed as src/core/na-icontext-conditions-factory.c.
3001         * src/core/na-iconditions.c:
3002         Renamed as src/core/na-icontext-conditions.c.
3004         * src/api/na-iconditions.h:
3005         Renamed as src/core/na-icontext-conditions.h.
3007         * src/api/Makefile.am:
3008         * src/core/Makefile.am: Updated accordingly.
3010         * src/core/na-object-profile.c:
3011         * src/plugin-menu/nautilus-actions.c:
3012         Use new na_icontext_conditions_is_candidate() function.
3014         Define the NAIConditions interface, to be implemented by actions,
3015         profiles and menus (for now, only profiles).
3017         * src/api/na-iconditions.h:
3018         * src/core/na-iconditions.c:
3019         * src/core/na-iconditions-factory.c: New files.
3021         * src/api/Makefile.am:
3022         * src/core/Makefile.am: Updated accordingly.
3024         * src/api/na-ifactory-object-data.h:
3025         Define the NA_FACTORY_CONDITIONS_GROUP data group.
3027         * src/core/na-object-profile-factory.c:
3028         Use new data_def_conditions.
3030         * src/core/na-object-profile.c (register_type):
3031         Implement the new NAIConditions interface.
3033         Review the rationales, replacing serializable+obsoleted by
3034         readable+writable flags in NADataDef structure.
3036         * src/api/na-data-def.h:
3037         * src/core/na-factory-object.c:
3038         * src/core/na-object-action-factory.c:
3039         * src/core/na-object-action.c:
3040         * src/core/na-object-id-factory.c:
3041         * src/core/na-object-item-factory.c:
3042         * src/core/na-object-profile-factory.c:
3043         * src/io-desktop/nadp-desktop-provider.c: Updated accordingly.
3045         * src/plugin-tracker/na-tracker-dbus.c (instance_dispose):
3046         Release selected items in instance_dispose() rather than in
3047         instance_finalize() which caused a FPE in Nautilus terminaison.
3049         * src/api/na-ifactory-object.h:
3050         * src/core/na-ifactory-object.c:
3051         * src/core/na-iio-provider.c:
3052         * src/io-desktop/nadp-desktop-file.c:
3053         * src/io-desktop/nadp-desktop-file.h:
3054         * src/io-xml/naxml-writer.c:
3055         * src/io-xml/naxml-writer.h:
3056         * src/nact/nact-iadvanced-tab.c:
3057         * src/nact/nact-main-menubar.c:
3058         * src/utils/nautilus-actions-new.c: Cleanup the code.
3060         * src/nact/nact-assistant-export.c (assist_prepare_confirm):
3061         Optimize the build of the displayed text.
3063         * src/nact/nact-assistant-export.c (on_all_widgets_showed):
3064         Select and expand the first row of the list.
3066         * src/core/na-module.c (add_module_type):
3067         * src/io-desktop/nadp-reader.c (na_ifactory_provider_read_item):
3068         * src/io-desktop/nadp-writer.c (nadp_iio_provider_write_item):
3069         * src/nact/nact-export-format.c (draw_in_vbox):
3070         Add a weak_notify() local function in order to be able to trace
3071         the dispose of attached objects.
3073         * src/api/na-core-utils.h:
3074         * src/core/na-core-utils.c
3075         (na_core_utils_str_remove_char): New function.
3077         * src/api/na-iexporter.h:
3078         Onlu reference one short label in NAIExporterFormat structure.
3080         * src/core/na-export-format.c:
3081         * src/core/na-export-format.h:
3082         * src/io-xml/naxml-formats.c: Updated accordingly.
3084         * src/nact/base-window.c (setup_builder):
3085         Display a dialog error when unable to load a XML definition.
3087         * src/nact/nact-assistant-export.c:
3088         * src/nact/nact-assistant-export.ui:
3089         * src/nact/nact-assistant-import.c:
3090         Adjust the display to be more funny.
3092         * src/nact/nact-clipboard.c:
3093         Add na-export-format.h include file.
3095         * src/nact/nact-export-ask.c:
3096         * src/nact/nact-export-format.c:
3097         * src/nact/nact-export-format.h:
3098         Reference the NAExportFormat object instead of each and every label.
3100         * src/nact/nact-iprefs.h:
3101         Remove IPREFS_EXPORT_FORMAT_ASK definition.
3103         * src/nact/nact-preferences-editor.c:
3104         * src/nact/nautilus-actions-config-tool.ui:
3105         Use (renamed) nact_export_format_init_display() function.
3107         * src/api/na-core-utils.h:
3108         * src/core/na-core-utils.c (na_core_utils_file_exists):
3109         New function.
3111         * src/io-xml/naxml-writer.c: Export to file.
3113         * po/POTFILES.in: Updated.
3115         * src/api/na-data-types.h
3116         (na_data_types_get_gconf_dump_key): New function.
3118         * src/core/na-data-types.c: New file.
3120         * src/core/Makefile.am: Updated accordingly.
3122         * src/api/na-ifactory-object-data.h:
3123         * src/core/na-object-item-factory.c:
3124         (NAFO_DATA_TYPE): New elementary data.
3126         * src/core/na-ifactory-object.c:
3127         * src/api/na-ifactory-object.h
3128         (na_ifactory_object_get_data_boxed): New function.
3130         * src/core/na-core-utils.c (na_core_utils_dir_is_writable_uri):
3131         Give a better name to the parameter.
3133         * src/core/na-exporter.c:
3134         * src/core/na-exporter.h (na_exporter_to_buffer, na_exporter_to_file):
3135         Reorder of functions in the files.
3137         * src/core/na-factory-object.c:
3138         * src/core/na-factory-object.h:
3139         Now use the new na_ifactory_object_get_data_boxed() function.
3141         * src/core/na-object-action-factory.c:
3142         * src/core/na-object-profile-factory.c:
3143         * src/io-xml/naxml-keys.h:
3144         Move the schema descriptions to data factory.
3146         * src/core/na-object-action.c:
3147         * src/core/na-object-menu.c:
3148         (ifactory_object_read_start): Allocate the 'type' data boxed.
3150         * src/io-gconf/nagp-keys.h: Fix the path of the schemas.
3152         * src/io-xml/naxml-formats.c:
3153         * src/io-xml/naxml-formats.h: New files.
3155         * src/io-xml/Makefile.am: Updated accordingly.
3157         * src/io-xml/naxml-provider.c: Implement NAXMLWriter calls.
3159         * src/io-xml/naxml-writer.c:
3160         * src/io-xml/naxml-writer.h: Export to buffer.
3162         * src/nact/nact-clipboard.c
3163         (nact_clipboard_dnd_drag_end): Fix gtk_selection_data_free() call.
3164         (export_row_object): Also exports menus.
3166         * src/nact/nact-tree-model-dnd.c
3167         (nact_tree_model_dnd_imulti_drag_source_drag_data_get):
3168         Fix and parse the returned URI to get the path of the target folder.
3170 2010-03-01 Pierre Wieser <pwieser@trychlos.org>
3172         * po/POTFILES.in: Add src/core/na-exporter.c file.
3174         * src/api/na-iexporter.h: Refactor NAIExporter interface.
3176         * src/core/na-export-format.c:
3177         * src/core/na-export-format.h
3178         (na_export_format_get_exporter): New function.
3180         * src/core/na-exporter.c:
3181         * src/core/na-exporter.h:
3182         * src/core/na-iexporter.c:
3183         * src/core/na-importer.c:
3184         * src/io-xml/naxml-provider.c:
3185         * src/nact/nact-assistant-export.c:
3186         * src/nact/nact-clipboard.c: Updated accordingly.
3188         * src/api/na-iexporter.h:
3189         * src/core/na-export-format.c:
3190         * src/core/na-export-format.h:
3191         * src/core/na-exporter.c:
3192         * src/core/na-iexporter.c:
3193         * src/io-xml/naxml-provider.c:
3194         * src/nact/nact-export-format.c:
3195         NAExporterStr structure is renamed as NAIExporterFormat.
3197         * src/api/na-iimporter.h (from_uri):
3198         Rename the API function to be consistant with NAIExporter interface.
3200         * src/core/na-iimporter.c:
3201         * src/io-xml/naxml-provider.c: Updated accordingly.
3203         * src/nact/nact-tree-model-dnd.c
3204         (nact_tree_model_dnd_imulti_drag_source_drag_data_get):
3205         Target folder is an URI.
3207         * src/nact/nact-main-menubar-tools.c:
3208         * src/nact/nact-main-menubar-tools.h: New files.
3210         * src/nact/nact-main-menubar-maintainer.c:
3211         * src/nact/nact-main-menubar-maintainer.h: New files.
3213         * src/nact/nact-main-menubar.c (on_update_sensitivities):
3214         Only paste a NAObjectItem into a menu.
3216         * src/nact/nact-main-menubar-help.c:
3217         * src/nact/nact-main-menubar-help.h: New files.
3219         * src/nact/Makefile.am:
3220         * src/nact/nact-main-menubar.c:
3221         * src/nact/nact-main-menubar.h: Updated accordingly.
3223         * src/core/na-updater.c:
3224         * src/core/na-updater.h (na_updater_append_item): New function.
3226         * src/nact/nact-main-menubar.c (save_item): Fix save machinery.
3228         * src/nact/nact-assistant-import.c
3229         (check_for_existance): Directly use the main window.
3231         * src/nact/nact-tree-model-dnd.c (drop_uri_list):
3232         Adapt to use na_importer_import_from_list() function.
3233         Display messages in a dialog box.
3234         Split the selection data on a '\r\n' separator.
3236         * src/api/na-iimporter.h (NAIImporterListParms): New structure.
3238         * src/core/na-importer.c:
3239         * src/core/na-importer.h (na_importer_import_from_list): New function.
3241         * src/api/na-iimporter.h:
3242         * src/core/na-iimporter.c:
3243         * src/core/na-importer-ask.c:
3244         * src/core/na-importer-ask.h:
3245         * src/core/na-importer.c:
3246         * src/core/na-importer.h:
3247         * src/io-xml/naxml-reader.c:
3248         * src/io-xml/naxml-reader.h:
3249         * src/nact/nact-assistant-import.c:
3250         * src/nact/nact-tree-model-dnd.c:
3251         * src/test/test-reader.c:
3252         NAIImporterParms structure is renamed as NAIImporterUriParms.
3253         'item' member of this same structure is renamed as imported.
3255         * src/io-gconf/nagp-reader.c:
3256         * src/io-gconf/nagp-writer.c:
3257         * src/io-gconf/nagp-writer.h: Cleanup the code.
3259         * src/nact/nact-iaction-tab.c (setup_toolbar_label):
3260         Immediately update the toolbar label when it is the same that those
3261         of the action.
3263         * src/nact/nact-icommand-tab.c (parse_parameters):
3264         Fix display of a single '%' char.
3266         * src/nact/nautilus-actions-config-tool.ui:
3267         ActionIconLabelLabel field renamed as ActionToolbarLabelLabel.
3269         * src/io-gconf/nagp-reader.c (read_done_item):
3270         Only action needs to setup the parent pointer.
3272         * src/io-gconf/nagp-writer.c (nagp_writer_write_data):
3273         Only writes non-empty values.
3275         * src/core/na-object.c (na_object_object_reset_origin):
3276         No more check for the value of object origin before resetting it.
3278         * src/core/na-object-item.c
3279         (na_object_item_remove_item): Improve debug message.
3280         (copy_children): Refuse to copy when target already has children.
3282         * src/nact/nact-main-menubar.c
3283         (nact_main_menubar_save_items): Do not re-dump all the items hierarchy.
3284         (save_item): Remove old children after having created the new ones.
3286         * src/core/na-object-action.c (ifactory_object_read_done):
3287         Force toolbar label to be the same that action one if flag is set to true.
3289         * src/api/na-object-api.h: Fix minor typo.
3291 2010-02-28 Pierre Wieser <pwieser@trychlos.org>
3293         * src/io-desktop/nadp-desktop-file.c
3294         (nadp_desktop_file_get_key_file_path):
3295         No more invalidate the function.
3297         * src/api/na-ifactory-object.h:
3298         * src/core/na-object-item-factory.c:
3299         * src/nact/nact-iactions-list-bis.c:
3300         * src/nact/nact-iactions-list.h:
3301         Fix minor typo.
3303         * src/api/na-object-api.h:
3304         New na_object_copy macro (evaluates as na_object_object_copy).
3306         * src/api/na-object-item.h (na_object_item_copy): Removed function.
3308         * src/api/na-object.h:
3309         * src/core/na-object.c:.
3310         (copy): Add 'recursive' flag.
3311         (iduplicable_copy): Use na_object_copy() macro.
3312         (na_object_object_copy): New function.
3314         * src/core/na-factory-object.c (na_factory_object_copy):
3315         No more delete all NADataBoxed, but update those who already exist.
3316         (write_data_iter): Fix return code.
3318         * src/core/na-iduplicable.c (na_iduplicable_duplicate):
3319         Review the rationale, and ensure that the function is recursive.
3321         * src/core/na-object-action.c
3322         * src/core/na-object-item.c:
3323         * src/core/na-object-menu.c:
3324         * src/core/na-object-profile.c:
3325         (instance_constructed): Removed function.
3326         (ifactory_object_copy): Removed function.
3327         (object_copy): New function, implementation of NAObject::copy.
3329         * src/core/na-pivot.c (instance_dispose): Add debug message.
3331         * src/core/na-updater.c (na_updater_remove_item):
3332         Only update tree if object has no parent.
3334         * src/io-gconf/nagp-gconf-provider.c
3335         (ifactory_provider_iface_init): Address nagp_writer_write_start().
3337         * src/io-gconf/nagp-reader.c (nagp_reader_read_data): Comment debug message.
3339         * src/io-gconf/nagp-writer.c:
3340         * src/io-gconf/nagp-writer.h (nagp_writer_write_start): New function.
3341         Write the type of the NAObjectItem.
3343         * src/nact/nact-iaction-tab.c (on_tab_updatable_selection_changed):
3344         * src/nact/nact-icommand-tab.c (on_tab_updatable_selection_changed):
3345         * src/nact/nact-iconditions-tab.c (on_tab_updatable_selection_changed):
3346         As objects have defaults, no more test for null string.
3348         * src/nact/nact-main-menubar.c
3349         (nact_main_menubar_save_items): Dump after check status.
3350         (save_item): Use new na_object_copy() macro.
3352         * src/nact/nact-window.c (nact_window_save_item):
3353         Remove superfluous dumps.
3355 2010-02-27 Pierre Wieser <pwieser@trychlos.org>
3357         * src/core/na-iduplicable.c (na_iduplicable_check_status):
3358         An object without any origin is considered modified.
3360         * src/core/na-iduplicable.c (get_duplicable_str):
3361         NAIDuplicable object defaults to not modified.
3363         * src/core/na-object-item-factory.c:
3364         Pointers to list of subitems are not comparable.
3366         Rewrite the update of the pivot tree where there is a non null origin.
3367         * src/core/na-updater.c:
3368         * src/core/na-updater.h
3369         (na_updater_add_item): Removed function.
3370         (na_updater_insert_item): New function.
3372         * src/io-gconf/nagp-writer.c (nagp_writer_write_data):
3373         Fix the path of written data.
3375         * src/nact/nact-main-menubar.c (on_new_profile_activated): 
3376         Do not attach the profile as this is done by the tree model.
3377         (save_item): Copy the tree item to the pivot one if it exists.
3379         * src/core/na-object-item.c (instance_dispose):
3380         Set the subitems pointer to NULL before unreffing the children.
3382         * src/core/na-object.c (instance_finalize):
3383         Add a protection when finalizing NADataBoxed.
3385         * src/core/na-object-action.c (instance_constructed):
3386         * src/core/na-object-profile.c (instance_constructed):
3387         * src/core/na-object-menu.c (instance_constructed):
3388         Initialize NAIFactoryObject defaults here, rather than in object_new.
3390         * src/api/na-data-def.h: Remove fn_free() function pointer.
3392         * src/core/na-data-boxed.c:
3393         * src/core/na-object-action-factory.c:
3394         * src/core/na-object-id-factory.c:
3395         * src/core/na-object-profile-factory.c
3396         * src/core/na-object-item-factory.c: Updated accordingly.
3398         * src/core/na-iduplicable.c (get_duplicable_str):
3399         Initialize modification status to TRUE if origin is NULL.
3401         * src/nact/nact-tree-model.c (nact_tree_model_fill):
3402         Recheck modification and validity status of newly duplicated object.
3404 2010-02-26 Pierre Wieser <pwieser@trychlos.org>
3406         Fix references count mistakes in NACT.
3408         * src/api/na-object-api.h (na_object_unref_selected_items):
3409         New macro, more specifically targeting the tree selections.
3411         * src/core/na-factory-object.c:
3412         * src/core/na-factory-object.h (na_factory_object_finalize_instance):
3413         Renamed as na_factory_object_finalize().
3415         * src/core/na-object-action.c (instance_finalize):
3416         * src/core/na-object-item.c (instance_finalize):
3417         * src/core/na-object-menu.c (instance_finalize):
3418         * src/core/na-object-profile.c (instance_finalize):
3419         * src/core/na-object.c (instance_finalize):
3420         Move na_object_unref_selected_items() to 
3421         na_object:na_factory_object_finalize.
3423         * src/core/na-pivot.c (instance_dispose, reload_items):
3424         Use non-recursive na_object_unref_items() macro.
3426         * src/nact/nact-assistant-export.c (assist_prepare_confirm):
3427         * src/nact/nact-iactions-list.c (free_items_callback):
3428         * src/nact/nact-main-menubar.c (on_update_sensitivities):
3429         Use recursive na_object_unref_selected_items() macro.
3431         * src/nact/nact-iactions-list.c (filter_selection):
3432         Unref the got object immediately (which was the actual bug).
3434         * src/test/init-dispose-diff.sh: Fix and optimize.
3436         Fix display of modification status in NACT.
3438         * src/api/na-iduplicable.h:
3439         * src/core/na-iduplicable.c (na_iduplicable_set_modified):
3440         New function.
3442         * src/api/na-object-api.h:
3443         * src/api/na-object-item.h:
3444         * src/core/na-object-item.c (na_object_item_unref_items_rec):
3445         New function.
3447         * src/core/na-data-boxed.c (string_are_equal):
3448         * src/core/na-factory-object.c (na_factory_object_are_equal):
3449         * src/core/na-object.c (na_object_object_check_status_up):
3450         Rewrite equality tests.
3452         * src/core/na-object-action-factory.c:
3453         * src/core/na-object-item-factory.c:
3454         * src/core/na-object-profile-factory.c:
3455         * src/core/na-object-action.c:
3456         * src/core/na-object-menu.c:
3457         * src/core/na-object-profile.c:
3458         Review one more time default values and initial allocations.
3460         * src/core/na-pivot.c (instance_dispose, na_pivot_load_items:
3461         Only unref the first level of items.
3463         * src/core/na-updater.c (na_updater_remove_item):
3464         Only unref the removed object as it will take care of also unreffing
3465         its children if its reference count is correct.
3467         * src/nact/nact-iactions-list.c (display_label):
3468         Add a commented debug line.
3470         * src/test/check-po.sh: Test cpompleteness of po/POTFILES.in.
3471         * src/test/time.sh: Bench the elapsed build time.
3473 2010-02-25 Pierre Wieser <pwieser@trychlos.org>
3475         * po/POTFILES.in: Updated.
3477         * src/core/na-object-profile.c:
3478         Remove no more used default profile.
3480         * src/core/na-object-profile.c:
3481         * src/nact/nact-iactions-list.c:
3482         No more include gi18n.h.
3484         * src/api/na-ifactory-object.h:
3485         * src/core/na-ifactory-object.c:
3486         Remove get_default() function from the interface.
3488         * src/api/na-object-action.h:
3489         * src/core/na-object-action.c (na_object_action_new_with_defaults):
3490         New function.
3491         Remove ifactory_object_get_default() implementation.
3493         * src/api/na-object-menu.h:
3494         * src/core/na-object-menu.c (na_object_menu_new_with_defaults):
3495         New function.
3496         Remove ifactory_object_get_default() implementation.
3498         * src/api/na-object-profile.h:
3499         * src/core/na-object-profile.c (na_object_profile_new_with_defaults):
3500         New function.
3501         Remove ifactory_object_get_default() implementation.
3503         * src/core/na-factory-object.c:
3504         * src/core/na-factory-object.h
3505         (na_factory_object_set_defaults): New function.
3506         (na_factory_object_attach_with_default): Removed function.
3507         Cleanup the code.
3509         * src/core/na-object-action-factory.c:
3510         * src/core/na-object-item-factory.c:
3511         * src/core/na-object-profile-factory.c:
3512         Review default values.
3514         * src/nact/nact-iaction-tab.c:
3515         * src/nact/nact-icommand-tab.c:
3516         * src/nact/nact-iconditions-tab.c:
3517         Fix the display of NULL texts.
3519         * src/nact/nact-main-menubar.c:
3520         * src/utils/nautilus-actions-new.c:
3521         Allocate new objects with defaults.
3523         * src/api/na-ifactory-object.h:
3524         * src/api/na-ifactory-provider.h:
3525         * src/api/na-object-api.h:
3526         * src/api/na-object-item.h:
3527         * src/core/na-factory-object.c:
3528         * src/core/na-factory-object.h:
3529         * src/core/na-factory-provider.c:
3530         * src/core/na-factory-provider.h:
3531         * src/core/na-ifactory-provider.c:
3532         * src/core/na-object-action.c:
3533         * src/core/na-object-item.c:
3534         * src/core/na-object-menu.c:
3535         * src/core/na-object-profile.c:
3536         * src/core/na-updater.c:
3537         * src/io-gconf/nagp-gconf-provider.c:
3538         * src/io-gconf/nagp-writer.c:
3539         * src/io-gconf/nagp-writer.h:
3540         Implement NAIfactoryProvider in GConf I/O provider writer.
3542         Fix reference count errors in NACT user interface.
3544         * src/core/na-object-id.c (instance_dispose):
3545         Remove the disposing child from its parent childs list.
3547         * src/core/na-object-item-factory.c (free_items_list):
3548         * src/core/na-object-item.c (instance_dispose):
3549         * src/core/na-object.c (na_object_object_unref):
3550         Fix minor typo.
3552         * src/core/na-object-item.c (na_object_item_unref_items):
3553         Do not recursively unref objects here as this is done in dispose.
3555         * src/nact/nact-tree-model.c (nact_tree_model_dispose):
3556         Add a debug message.
3558         Make the menus exportable.
3560         * src/nact/nact-iactions-list.c:
3561         * src/nact/nact-tree-model-priv.h:
3562         * src/nact/nact-tree-model.c:
3563         * src/nact/nact-tree-model.h:
3564         Change the 'only_actions' semantic by a 'are_profiles_displayed' one.
3565         Profiles are actually stored, but not displayed.
3567         * src/nact/nact-iactions-list.c
3568         (nact_iactions_list_initial_load_toplevel):
3569         The title of the label column is no more localizable.
3571         Fix validity checks.
3573         * src/core/na-data-boxed.c
3574         (string_is_valid, locale_is_valid, slist_is_valid, pointer_is_valid,
3575         uint_is_valid): Fix individual validity checks of elementary data.
3577         * src/core/na-factory-object.c (na_factory_object_is_valid):
3578         First check for presence of mandatory data, then check present data.
3580         * src/core/na-iduplicable.c (na_iduplicable_duplicate):
3581         Also duplicate the status of the source object.
3583         * src/core/na-io-provider.c (na_io_provider_read_items):
3584         Add a comment.
3586         * src/core/na-object-item.c (na_object_item_copy):
3587         * src/core/na-object.c (na_object_object_check_status):
3588         Fix minor typo.
3590         * src/nact/nact-tree-model.c (nact_tree_model_fill):
3591         No more check status of newly duplicated objects.
3593         * src/nact/base-window.c (instance_dispose):
3594         Only set dispose after having tested for main window.
3596         * src/api/na-object-api.h:
3597         Distinguish between profile and item on get_label.
3599         * src/core/na-gtk-utils.c:
3600         * src/core/na-gtk-utils.h: New files.
3601         * src/core/Makefile.am: Updated accordingly.
3603         * src/core/na-data-boxed.c:
3604         * src/core/na-gconf-monitor.c:
3605         * src/core/na-importer-ask.c:
3606         * src/io-gconf/nagp-gconf-provider.c:
3607         * src/io-gconf/nagp-reader.c:
3608         * src/io-gconf/nagp-reader.h:
3609         Fix objects reading from GConf.
3611         * src/nact/nact-assistant-import.c:
3612         * src/nact/nact-iprefs.c:
3613         * src/nact/nact-preferences-editor.c:
3614         * src/nact/nact-tree-model-dnd.c:
3615         * src/utils/nautilus-actions-schemas.c:
3616         Move GConfClient to private object data, unref on dispose.
3618 2010-02-24 Pierre Wieser <pwieser@trychlos.org>
3620         * src/api/na-iimporter.h:
3621         * src/core/Makefile.am:
3622         * src/core/na-iimporter.c:
3623         * src/core/na-importer-ask.c:
3624         * src/core/na-importer-ask.h:
3625         * src/core/na-iprefs.c:
3626         * src/core/na-iprefs.h:
3627         * src/io-xml/naxml-reader.c:
3628         * src/nact/Makefile.am:
3629         * src/nact/nact-assistant-import.c:
3630         * src/nact/nact-iprefs.c:
3631         * src/nact/nact-iprefs.h:
3632         * src/nact/nact-main-window.h:
3633         * src/nact/nact-preferences-editor.c:
3634         * src/nact/nact-tree-model-dnd.c:
3635         * src/nact/nautilus-actions-config-tool.ui:
3636         * src/test/test-reader.c: ImporterAsk dialog.
3638         * src/io-xml/naxml-keys.c:
3639         * src/io-xml/naxml-keys.h:
3640         * src/io-xml/naxml-reader.c: Able to import type 3 XML files.
3642         * exports/config_1af5a47e-96d9_v1.4.schemas:
3643         * src/api/na-data-boxed.h:
3644         * src/api/na-ifactory-object-data.h:
3645         * src/core/na-data-boxed.c:
3646         * src/core/na-factory-object.c:
3647         * src/core/na-object-action.c:
3648         * src/core/na-object-id-factory.c:
3649         * src/core/na-object-item-factory.c:
3650         * src/core/na-object-profile-factory.c:
3651         * src/io-xml/naxml-provider.c:
3652         * src/io-xml/naxml-reader.c:
3653         * src/io-xml/naxml-reader.h: Able to import two profiles.
3655         * src/api/na-data-boxed.h:
3656         * src/api/na-gconf-utils.h:
3657         * src/core/na-data-boxed.c:
3658         * src/core/na-factory-object.c:
3659         * src/core/na-gconf-utils.c:
3660         Make the dump more pretty.
3662         * exports/action-5c4fa203-b5d0_post_v1.11_type_3.xml:
3663         * exports/config-4c4fa203-b5d0_post_v1.11_type_2.schema:
3664         * exports/config_1af5a47e-96d9_v1.schemas:
3665         * exports/config_2af5a47e-96d9_pre_v1.11.schemas:
3666         * exports/config_3c4fa203-b5d0_post_v1.11_type_1.schemas:
3667         Refactor export files to better suit test-reader needs.
3669         * src/api/Makefile.am:
3670         * src/api/na-data-boxed.h:
3671         * src/api/na-data-types.h:
3672         * src/api/na-gconf-utils.h:
3673         * src/api/na-ifactory-object-data.h:
3674         * src/api/na-ifactory-object.h:
3675         * src/api/na-ifactory-provider.h:
3676         * src/api/na-iimporter.h:
3677         * src/api/na-object-api.h:
3678         * src/api/na-object-profile.h:
3679         * src/core/Makefile.am:
3680         * src/core/na-data-boxed.c:
3681         * src/core/na-factory-object.c:
3682         * src/core/na-factory-object.h:
3683         * src/core/na-factory-provider.c:
3684         * src/core/na-factory-provider.h:
3685         * src/core/na-gconf-utils.c:
3686         * src/core/na-ifactory-object.c:
3687         * src/core/na-ifactory-provider.c:
3688         * src/core/na-importer.c:
3689         * src/core/na-importer.h:
3690         * src/core/na-io-provider.c:
3691         * src/core/na-object-action-factory.c:
3692         * src/core/na-object-action.c:
3693         * src/core/na-object-id-factory.c:
3694         * src/core/na-object-item-factory.c:
3695         * src/core/na-object-menu-factory.c:
3696         * src/core/na-object-menu.c:
3697         * src/core/na-object-profile-factory.c:
3698         * src/core/na-object-profile.c:
3699         * src/io-desktop/nadp-desktop-file.c:
3700         * src/io-desktop/nadp-desktop-file.h:
3701         * src/io-desktop/nadp-desktop-provider.c:
3702         * src/io-desktop/nadp-keys.c:
3703         * src/io-desktop/nadp-keys.h:
3704         * src/io-desktop/nadp-reader.c:
3705         * src/io-gconf/nagp-gconf-provider.c:
3706         * src/io-xml/naxml-keys.h:
3707         * src/io-xml/naxml-provider.c:
3708         * src/io-xml/naxml-reader.c:
3709         * src/io-xml/naxml-reader.h:
3710         * src/nact/nact-assistant-import.c:
3711         * src/nact/nact-tree-model-dnd.c:
3712         * src/test/test-include.c:
3713         * src/test/test-reader.c: Able to import a pre-v2 action.
3715 2010-02-22 Pierre Wieser <pwieser@trychlos.org>
3717         * src/api/Makefile.am:
3718         * src/api/na-ifactory-object-enum.h:
3719         * src/api/na-ifactory-object-str.h:
3720         * src/api/na-ifactory-object.h:
3721         * src/api/na-ifactory-provider.h:
3722         * src/api/na-iio-provider.h:
3723         * src/api/na-object-api.h:
3724         * src/core/Makefile.am:
3725         * src/core/na-data-element.c:
3726         * src/core/na-data-element.h:
3727         * src/core/na-factory-object.c:
3728         * src/core/na-factory-object.h:
3729         * src/core/na-ifactory-object.c:
3730         * src/core/na-ifactory-provider-priv.h:
3731         * src/core/na-ifactory-provider.c:
3732         * src/core/na-object-action-enum.c:
3733         * src/core/na-object-action.c:
3734         * src/core/na-object-id-enum.c:
3735         * src/core/na-object-item-enum.c:
3736         * src/core/na-object-item.c:
3737         * src/core/na-object-menu-enum.c:
3738         * src/core/na-object-menu.c:
3739         * src/core/na-object-profile-enum.c:
3740         * src/core/na-object-profile.c:
3741         * src/core/na-object.c:
3742         * src/io-desktop/nadp-desktop-provider.c:
3743         * src/io-desktop/nadp-desktop-provider.h:
3744         * src/io-desktop/nadp-keys.c:
3745         * src/io-desktop/nadp-keys.h:
3746         * src/io-desktop/nadp-reader.c:
3747         * src/io-desktop/nadp-writer.c:
3748         * src/io-xml/naxml-keys.h:
3749         * src/io-xml/naxml-reader.c:
3750         * src/test/test-include.c:
3751         Rename NAIDataFactory interface as NAIFactoryObject.
3753         * src/api/Makefile.am:
3754         * src/api/na-idata-factory-str.h:
3755         * src/api/na-idata-factory.h:
3756         * src/api/na-ifactory-provider-provider.h:
3757         * src/api/na-ifactory-provider.h:
3758         * src/api/na-iio-provider.h:
3759         * src/core/Makefile.am:
3760         * src/core/na-data-factory.c:
3761         * src/core/na-data-factory.h:
3762         * src/core/na-factory-provider.c:
3763         * src/core/na-factory-provider.h:
3764         * src/core/na-ifactory-provider-priv.h:
3765         * src/core/na-ifactory-provider.c:
3766         * src/core/na-object-action.c:
3767         * src/core/na-object-menu.c:
3768         * src/core/na-object-profile.c:
3769         * src/io-desktop/nadp-desktop-provider.c:
3770         * src/io-desktop/nadp-reader.c:
3771         * src/io-desktop/nadp-writer.c:
3772         * src/io-gconf/nagp-gconf-provider.c:
3773         * src/io-xml/naxml-provider.c:
3774         * src/io-xml/naxml-reader.c:
3775         Rename NAIIOFactory interface as NAIFactoryProvider.
3777         * src/core/na-io-provider.c:
3778         * src/core/na-pivot.c:
3779         * src/core/na-pivot.h:
3780         * src/nact/nact-application.c:
3781         * src/nact/nact-main-window.c:
3782         * src/plugin-menu/nautilus-actions.c:
3783         * src/utils/nautilus-actions-run.c
3784         (na_pivot_set_loadable): New function.
3785         (na_pivot_reload_items): Removed function.
3787 2010-02-21 Pierre Wieser <pwieser@trychlos.org>
3789         * src/core/na-pivot.c:
3790         * src/core/na-pivot.h:
3791         * src/core/na-updater.c:
3792         * src/core/na-updater.h:
3793         * src/nact/nact-application.c:
3794         * src/nact/nact-main-window.c:
3795         * src/plugin-menu/nautilus-actions.c:
3796         * src/test/test-reader.c:
3797         * src/utils/nautilus-actions-new.c:
3798         * src/utils/nautilus-actions-run.c:
3799         No more define the loadable set at NAPivot construction time,
3800         but deffer this when actually loading items.
3802 2010-02-20 Pierre Wieser <pwieser@trychlos.org>
3804         * po/POTFILES.in:
3805         * src/api/na-idata-factory-str.h:
3806         * src/api/na-idata-factory.h:
3807         * src/api/na-iimporter.h:
3808         * src/api/na-iio-factory.h:
3809         * src/api/na-object-api.h:
3810         * src/core/Makefile.am:
3811         * src/core/na-data-factory.c:
3812         * src/core/na-data-factory.h:
3813         * src/core/na-idata-factory.c:
3814         * src/core/na-iio-factory.c:
3815         * src/core/na-importer.c:
3816         * src/core/na-importer.h:
3817         * src/core/na-io-factory.c:
3818         * src/core/na-io-factory.h:
3819         * src/core/na-iprefs.h:
3820         * src/core/na-module.c:
3821         * src/core/na-object-action-enum.c:
3822         * src/core/na-object-action.c:
3823         * src/core/na-object-id-enum.c:
3824         * src/core/na-object-item-enum.c:
3825         * src/core/na-object-item.c:
3826         * src/core/na-object-menu-enum.c:
3827         * src/core/na-object-menu.c:
3828         * src/core/na-object-profile-enum.c:
3829         * src/core/na-object-profile.c:
3830         * src/core/na-pivot.c:
3831         * src/io-desktop/Makefile.am:
3832         * src/io-gconf/Makefile.am:
3833         * src/io-xml/Makefile.am:
3834         * src/io-xml/naxml-keys.c:
3835         * src/io-xml/naxml-keys.h:
3836         * src/io-xml/naxml-provider.c:
3837         * src/io-xml/naxml-provider.h:
3838         * src/io-xml/naxml-reader.c:
3839         * src/io-xml/naxml-reader.h:
3840         * src/nact/Makefile.am:
3841         * src/nact/nact-assistant-import.c:
3842         * src/nact/nact-import-ask.c:
3843         * src/nact/nact-iprefs.c:
3844         * src/nact/nact-preferences-editor.c:
3845         * src/nact/nact-tree-model-dnd.c:
3846         * src/plugin-menu/Makefile.am:
3847         * src/plugin-tracker/Makefile.am:
3848         * src/test/.gitignore:
3849         * src/test/Makefile.am:
3850         * src/utils/Makefile.am: Implement NAXMLReader.
3852 2010-02-18 Pierre Wieser <pwieser@trychlos.org>
3854         * src/api/na-core-utils.h:
3855         * src/api/na-idata-factory-str.h:
3856         * src/core/na-core-utils.c:
3857         * src/core/na-data-element.c:
3858         * src/core/na-data-element.h:
3859         * src/core/na-data-factory.c:
3860         * src/core/na-io-provider.c:
3861         * src/core/na-io-provider.h:
3862         * src/core/na-object-action-enum.c:
3863         * src/core/na-object-id-enum.c:
3864         * src/core/na-object-item-enum.c:
3865         * src/core/na-object-item.c:
3866         * src/core/na-object-menu-enum.c:
3867         * src/core/na-object-profile-enum.c:
3868         * src/core/na-object.c:
3869         * src/io-desktop/nadp-writer.c:
3870         * src/io-gconf/nagp-reader.c:
3871         * src/nact/nact-assistant-export.c:
3872         * src/nact/nact-iactions-list-bis.c:
3873         * src/nact/nact-main-statusbar.c:
3874         * src/nact/nact-tree-model-dnd.c:
3875         * src/nact/nact-tree-model.c:
3876         Fix non empty string list.
3877         Fix under reference in export assistant.
3878         Refactor NADataElement class.
3880         * src/core/na-exporter.c (na_exporter_get_formats):
3881         Fix infinite loop.
3883         * src/core/na-iduplicable.c (na_iduplicable_dispose):
3884         Test for effective connexion before trying to disconnect.
3886         * src/core/na-data-element.c (na_data_element_set):
3887         Fix value->type inverted assertion.
3889         * src/api/na-core-utils.h:
3890         * src/core/na-core-utils.c:
3891         * src/io-desktop/nadp-desktop-file.c:
3892         * src/io-desktop/nadp-desktop-provider.c:
3893         * src/io-desktop/nadp-xdg-dirs.c:
3894         Fix reading of localized values in the desktop file.
3896         * src/nact/base-iprefs.c:
3897         * src/nact/base-iprefs.h:
3898         * src/nact/nact-assistant-import.c:
3899         * src/nact/nact-icommand-tab.c:
3900         * src/nact/nact-import-ask.c:
3901         * src/nact/nact-iprefs.c:
3902         * src/nact/nact-iprefs.h:
3903         * src/nact/nact-main-toolbar.c:
3904         * src/nact/nact-preferences-editor.c:
3905         Fix bad inheritance of interfaces.
3907         * src/api/na-object-api.h:
3908         * src/api/na-object.h:
3909         * src/core/na-data-factory.c:
3910         * src/core/na-io-provider.c:
3911         * src/core/na-object-action.c:
3912         * src/core/na-object-id.c:
3913         * src/core/na-object-menu.c:
3914         * src/core/na-object-profile.c:
3915         * src/core/na-object.c: Fix validity check of the items.
3917 2010-02-17 Pierre Wieser <pwieser@trychlos.org>
3919         * po/POTFILES.in:
3920         * src/test/test-parse-uris.c:
3921         * src/nact/nact-preferences-editor.c:
3922         * src/nact/nact-main-statusbar.c:
3923         * src/nact/nact-iconditions-tab.c: Update list of translatable files.
3925         * src/api/na-core-utils.h:
3926         * src/api/na-idata-factory-str.h:
3927         * src/api/na-idata-factory.h:
3928         * src/api/na-iduplicable.h:
3929         * src/core/na-core-utils.c:
3930         * src/core/na-data-element.c:
3931         * src/core/na-data-element.h:
3932         * src/core/na-data-factory.c:
3933         * src/core/na-data-factory.h:
3934         * src/core/na-idata-factory.c:
3935         * src/core/na-iduplicable.c:
3936         * src/core/na-io-provider.c:
3937         * src/core/na-iprefs.c:
3938         * src/core/na-object-action-enum.c:
3939         * src/core/na-object-action.c:
3940         * src/core/na-object-id-enum.c:
3941         * src/core/na-object-item-enum.c:
3942         * src/core/na-object-menu.c:
3943         * src/core/na-object-profile-enum.c:
3944         * src/core/na-object-profile.c:
3945         * src/core/na-object.c:
3946         * src/io-desktop/nadp-desktop-provider.c:
3947         * src/io-gconf/nagp-reader.c: Add is_valid() functions.
3949         * src/utils/nautilus-actions-run.c: Restore production loadable set.
3951         * src/api/na-idata-factory.h:
3952         * src/api/na-iio-factory.h:
3953         * src/core/na-data-factory.c:
3954         * src/core/na-iio-factory.c:
3955         * src/core/na-object-action.c:
3956         * src/core/na-object-menu.c:
3957         * src/core/na-object-profile.c:
3958         * src/io-desktop/nadp-desktop-provider.c:
3959         * src/io-gconf/nagp-gconf-provider.c:
3960         * src/io-xml/naxml-provider.c:
3961         Add read_start() and write_start() to NAIIOFactory and 
3962         NAIDataFactory interfaces.
3964         * po/POTFILES.in: Update list of translatable files.
3966         * src/utils/console-utils.c:
3967         * src/utils/nautilus-actions-run.c: Update command-line utilities.
3969         * src/test/test-include.c:
3970         * src/test/test-parse-uris.c: Update test utilities.
3972         * src/plugin-tracker/na-tracker-dbus.c:
3973         * src/plugin-tracker/na-tracker.c: Update NATracker plugin.
3975         * src/core/Makefile.am:
3976         * src/core/na-updater.c:
3977         * src/core/na-updater.h:
3978         * src/nact/nact-window.c:
3979         * src/nact/nact-window.h: Update NactWindow class.
3981         * src/api/na-object-api.h:
3982         * src/api/na-object-item.h:
3983         * src/core/na-object-item.c:
3984         * src/nact/nact-tree-model-dnd.c:
3985         * src/nact/nact-tree-model.c: Update NactTreeModel class.
3987         * src/api/na-core-utils.h:
3988         * src/api/na-object-api.h:
3989         * src/api/na-object-profile.h:
3990         * src/core/na-core-utils.c:
3991         * src/core/na-object-profile.c:
3992         * src/io-gconf/nagp-reader.c:
3993         * src/nact/nact-ibackground-tab.c:
3994         * src/nact/nact-schemes-list.c: Update schemes list.
3996         * src/nact/nact-providers-list.c: Update providers list.
3998         * src/core/na-iprefs.c:
3999         * src/core/na-iprefs.h:
4000         * src/nact/nact-assistant-export.c:
4001         * src/nact/nact-export-ask.c:
4002         * src/nact/nact-export-format.c:
4003         * src/nact/nact-export-format.h:
4004         * src/nact/nact-preferences-editor.c:
4005         * src/nact/nact-preferences.ui: Update NactPreferencesEditor class.
4007         * src/nact/base-iprefs.c:
4008         * src/nact/base-iprefs.h:
4009         * src/nact/nact-main-window.c:
4010         * src/nact/nact-main-window.h: Update NactMainWindow class.
4012         * src/core/na-iprefs.c:
4013         * src/core/na-iprefs.h:
4014         * src/nact/nact-iprefs.c:
4015         * src/nact/nact-iprefs.h:
4016         * src/nact/nact-main-toolbar.c: Update toolbar.
4018         * src/api/na-iio-provider.h:
4019         * src/core/na-io-provider.c:
4020         * src/core/na-io-provider.h:
4021         * src/nact/nact-main-statusbar.c: Update status bar.
4023         * src/api/na-object-action.h:
4024         * src/api/na-object-api.h:
4025         * src/api/na-object-id.h:
4026         * src/api/na-object-item.h:
4027         * src/api/na-object-profile.h:
4028         * src/api/na-object.h:
4029         * src/core/na-object-action.c:
4030         * src/core/na-object-id.c:
4031         * src/core/na-object-item.c:
4032         * src/core/na-object-profile.c:
4033         * src/core/na-object.c:
4034         * src/core/na-pivot.c:
4035         * src/core/na-pivot.h:
4036         * src/core/na-updater.c:
4037         * src/core/na-updater.h:
4038         * src/nact/nact-export-format.c:
4039         * src/nact/nact-main-menubar.c: Update menu bar.
4041         * src/nact/nact-iprefs.c: Update NactIPrefs interface.
4043         * src/api/na-core-utils.h:
4044         * src/core/na-core-utils.c:
4045         * src/nact/nact-iconditions-tab.c:
4046         Update NactIConditionsTab interface.
4048         * src/api/na-core-utils.h:
4049         * src/core/na-core-utils.c:
4050         * src/core/na-iprefs.c:
4051         * src/core/na-iprefs.h:
4052         * src/nact/nact-icommand-tab.c:
4053         * src/nact/nact-iprefs.c:
4054         * src/nact/nact-iprefs.h: Update NactICommandTab interface.
4056         * src/api/na-object-api.h:
4057         * src/api/na-object-profile.h:
4058         * src/core/na-object-profile.c:
4059         * src/nact/nact-iaction-tab.c:
4060         * src/nact/nact-iadvanced-tab.c:
4061         * src/nact/nact-ibackground-tab.c: Update NactIBackgroundTab
4062         interface.
4064         * src/api/na-object-api.h:
4065         * src/api/na-object-item.h:
4066         * src/nact/nact-gtk-utils.c:
4067         * src/nact/nact-gtk-utils.h:
4068         * src/nact/nact-iaction-tab.c: Update NactIActionTab interface.
4070         * core/na-object-action-fn.h:
4071         * core/na-object-action-priv.h:
4072         * core/na-object-fn.h:
4073         * core/na-object-id-fn.h:
4074         * core/na-object-id-priv.h:
4075         * core/na-object-item-fn.h:
4076         * core/na-object-item-priv.h:
4077         * core/na-object-menu-fn.h:
4078         * core/na-object-menu-priv.h:
4079         * core/na-object-profile-fn.h:
4080         * core/na-object-profile-priv.h: Remove no more used files.
4082         * src/api/na-iduplicable.h:
4083         * src/api/na-object-api.h:
4084         * src/api/na-object-item.h:
4085         * src/api/na-object.h:
4086         * src/core/na-iduplicable.c:
4087         * src/core/na-object-item.c:
4088         * src/core/na-object.c:
4089         * src/nact/nact-iactions-list-bis.c:
4090         * src/nact/nact-iactions-list.c:
4091         * src/nact/nact-window.c:
4092         * src/nact/nact-window.h: Update NactIActionsList interface.
4094         * src/api/na-iduplicable.h:
4095         * src/api/na-object-api.h:
4096         * src/api/na-object-item.h:
4097         * src/core/na-exporter.c:
4098         * src/core/na-exporter.h:
4099         * src/core/na-iduplicable.c:
4100         * src/core/na-object-item.c:
4101         * src/nact/Makefile.am:
4102         * src/nact/nact-assistant-export.c:
4103         * src/nact/nact-clipboard.c:
4104         * src/nact/nact-clipboard.h:
4105         * src/nact/nact-confirm-logout.c:
4106         * src/nact/nact-export-ask.c:
4107         * src/nact/nact-export-format.c:
4108         * src/nact/nact-export-format.h:
4109         * src/nact/nact-iprefs.h:
4110         * src/nact/nact-main-menubar.h:
4111         * src/nact/nact-assistant-export.c:
4112         * src/nact/nact-assistant-export.h:
4113         * src/nact/nact-assistant-export.ui:
4114         * src/nact/nact-assistant-import.c:
4115         * src/nact/nact-import-ask.c:
4116         * src/nact/nact-import-ask.h:
4117         * src/nact/nact-iprefs.c:
4118         * src/nact/nact-iprefs.h:
4119         * src/nact/nact-tree-model.h: Update Nact classes.
4121         Refactor: move all XML code to src/io-xml plugin.
4123         * src/nact/Makefile.am:
4124         * src/nact/base-application-class.h:
4125         * src/nact/base-assistant.h:
4126         * src/nact/base-assistant.h:
4127         * src/nact/base-builder.h:
4128         * src/nact/base-dialog.h:
4129         * src/nact/base-iprefs.c:
4130         * src/nact/base-window-class.h: Update typo in Base class headers.
4132         * src/core/na-importer.c:
4133         * src/core/na-importer.h: New files.
4135         * src/core/Makefile.am:
4136         * src/core/na-iimporter.c:
4137         * src/core/na-io-provider.c:
4138         * src/core/na-iprefs.h: Update core library.
4140         * src/nact/nact-export-format.h:
4141         * src/nact/nact-export-format.c:
4142         * src/core/na-exporter.h:
4143         * src/core/na-exporter.c: Update export treatements.
4145         * src/api/na-iexporter.h:
4146         * src/core/na-iexporter.c:
4147         * src/io-xml/naxml-module.c:
4148         * src/io-xml/naxml-provider.c: Update NAIExporter interface.
4150         Define NAExportFormat new class.
4152         * src/core/na-export-format.c:
4153         * src/core/na-export-format.h: New files.
4155         Rename src/nact/nact-assistant-export-ask.{c,h} to
4156         src/nact/nact-export-ask.{c,h}
4158 2010-02-15 Pierre Wieser <pwieser@trychlos.org>
4160         Now install defined ids in docdir.
4162         * doc/export-format-id: New file.
4164         * doc/Makefile.am: Updated accordingly.
4166         Define NactIPrefs interface.
4168         * src/nact/nact-iprefs.c:
4169         * src/nact/nact-iprefs.h: New files.
4171         Update src/nact/
4172         Remove useless src/private directory.
4174         Define NAUpdater class.
4176         * src/core/na-updater.c:
4177         * src/core/na-updater.h: New files.
4179         Update src/core/na-pivot.{c,h}
4180         Update src/core/na-module.{c,h}
4181         Update src/core/na-iprefs.{c,h}
4182         Update src/core/na-ipivot-consumer.{c,h}
4183         Update src/core/na-io-factory.{c,h}
4184         Update src/core/na-io-provider.{c,h}
4185         Update src/core/na-iabout.{c,h}
4186         Update src/utils.
4188 2010-02-15 Deji Akingunola <dakingun@gmail.com>
4190         * src/test/Makefile.am: Fix typo.
4192 2010-02-15 Pierre Wieser <pwieser@trychlos.org>
4194         Update src/test.
4195         Update src/plugin-tracker.
4196         Update src/plugin-menu.
4198         Define NAIImporter interface.
4200         * src/api/na-iimporter.h:
4201         * src/core/na-iimporter.c: New files.
4203         Define NAIExporter interface.
4205         * src/api/na-iexporter.h:
4206         * src/core/na-iexporter.c: New files.
4208         * src/core/na-dbus-tracker.h: New file.
4210         Remove useless src/api/na-gconf-keys.h
4211         Update GConf I/O provider.
4212         Create src/io-gconf/nagp-keys.c
4213         Rename src/io-gconf/nagp-write.{c,h} to src/io-gconf/nagp-writer.{c,h}
4214         Rename src/io-gconf/nagp-read.{c,h} to src/io-gconf/nagp-reader.{c,h}
4216         Update I/O desktop provider.
4218         * src/io-desktop/nadp-keys.c:
4219         * src/io-desktop/nadp-keys.h: New files.
4221         Rename src/io-desktop/nadp-xdg-data-dirs.{c,h} to src/io-desktop/nadp-xdg-dirs.{c,h}
4222         Rename src/io-desktop/nadp-write.{c,h} to src/io-desktop/nadp-writer.{c,h}
4223         Rename src/io-desktop/nadp-read.{c,h} to src/io-desktop/nadp-reader.{c,h}
4225         NAObject-derived classes implement NAIDataFactory interface.
4227         * src/core/na-object-id-enum.c:
4228         * src/core/na-object-item-enum.c:
4229         * src/core/na-object-action-enum.c:
4230         * src/core/na-object-profile-enum.c:
4231         * src/core/na-object-menu-enum.c: New files.
4233         Define NADataElement class.
4235         * src/core/na-data-element.c:
4236         * src/core/na-data-element.h: New files.
4238         Define NAIDataFactory interface.
4240         * src/api/na-idata-factory.h:
4241         * src/api/na-idata-factory-enum.h:
4242         * src/api/na-idata-factory-str.h:
4243         * src/core/na-idata-factory.c:
4244         * src/core/na-data-factory.c:
4245         * src/core/na-data-factory.h: New files.
4247         Define NAIIOFactory interface.
4249         * src/api/na-iio-factory.h:
4250         * src/api/na-iio-factory-factory.h:
4251         * src/core/na-iio-factory.c:
4252         * src/core/na-io-factory.c:
4253         * src/core/na-io-factory.h: New files.
4255         Rename src/core/na-object-menu-class.h to src/api/na-object-menu.h
4256         Rename src/core/na-object-profile-class.h to src/api/na-object-profile.h
4257         Rename src/core/na-object-action-class.h to src/api/na-object-action.h
4258         Rename src/core/na-object-item-class.h to src/api/na-object-item.h
4259         Rename src/core/na-object-id-class.h to src/api/na-object-id.h
4260         Rename src/core/na-object-class.h to src/api/na-object.h
4261         Rename src/core/na-iduplicable.h to src/api/na-iduplicable.h
4262         Rename src/core/na-gconf-utils.h to src/api/na-gconf-utils.h
4263         Rename src/api/na-iio-provider.c to src/core/na-iio-provider.c
4265         * src/api/na-dbus.h: Update defined name.
4267         * m4/na-log-domains.m4: Update log domains with new subdirs.
4269         * doc/io-provider-id: Reference na-xml XML provider.
4271         Rename src/api/na-gconf-monitor.c to src/core/na-gconf-monitor.c
4272         Rename src/core/na-utils.h to src/api/na-core-utils.h
4273         Rename src/core/na-utils.c to src/core/na-core-utils.c
4275         * src/api/Makefile.am:
4276         * src/core/Makefile.am: Updated accordingly.
4278         * src/core/na-core-utils.c:
4279         * src/core/na-core-utils.h: Normalize functions names.
4281         Merge src/private/ and src/runtime to src/core/
4282         Rename src/api/na-api.h to src/api/na-extension.h
4284         * src/api/README:
4285         * src/io-desktop/nadp-module.c:
4286         * src/io-gconf/nagp-module.c:
4287         * src/runtime/na-module.c: Updated accordingly.
4289         Define XML provider as a dynamic module.
4290         
4291         * io-xml/Makefile.am:
4292         * io-xml/naxml-module.c:
4293         * io-xml/naxml-provider.c:
4294         * io-xml/naxml-provider.h: New files.
4296         Rename source tree from nautilus-actions/ to src/
4297         Rename src/io-provider-desktop/ to src/io-desktop/
4298         Rename src/io-provider-gconf/ to src/io-gconf/
4299         Rename src/plugin to src/plugin-menu/
4300         Rename src/tracker to src/plugin-tracker/
4302         * Makefile.am:
4303         * configure.ac:
4304         * po/POTFILES.in: Updated accordingly.
4306 2010-01-31 Pierre Wieser <pwieser@trychlos.org>
4308         * nautilus-actions/io-provider-desktop/nadp-desktop-file.c:
4309         * nautilus-actions/io-provider-desktop/nadp-desktop-file.h:
4310         * nautilus-actions/io-provider-desktop/nadp-read.c:
4311         * nautilus-actions/io-provider-desktop/nadp-utils.c:
4312         * nautilus-actions/io-provider-desktop/nadp-utils.h:
4313         * nautilus-actions/io-provider-gconf/nagp-read.c:
4314         Implements reading of .desktop files.
4316         * nautilus-actions/io-provider-gconf/nagp-write.c (write_item_action):
4317         Always writes the 'OBJECT_ITEM_TOOLBAR_LABEL_ENTRY' key.
4319 2010-01-30 Pierre Wieser <pwieser@trychlos.org>
4321         No more record the toolbar_same_label indicator.
4323         * nautilus-actions.schemas.in:
4324         Remove schema for 'toolbar-same-label' key.
4326         * nautilus-actions/io-provider-gconf/nagp-read.c
4327         (read_item_action_properties):
4328         No more read the 'toolbar-same-label' entry.
4330         * nautilus-actions/io-provider-gconf/nagp-write.c (write_item_action):
4331         No more write the 'toolbar-same-label' entry.
4332         Remove the key if undeeded.
4334         * nautilus-actions/nact/nact-iaction-tab.c
4335         (on_toolbar_same_label_toggled): Fix toolbar label setup.
4337         * nautilus-actions/nact/nact-xml-reader.c (apply_values):
4338         No more read OBJECT_ITEM_TOOLBAR_SAME_LABEL_ENTRY node.
4340         * nautilus-actions/runtime/na-gconf-utils.c:
4341         * nautilus-actions/runtime/na-gconf-utils.h
4342         (na_gconf_utils_remove_entry): New function.
4344         * nautilus-actions/runtime/na-xml-writer.c
4345         (create_schema_entry, create_dump_entry):
4346         No more write the 'toolbar-same-label' entry.
4348         * nautilus-actions/nact/nact-iaction-tab.c
4349         (on_tab_updatable_selection_changed):
4350         Update tab label depending on the currently selected item.
4352         * nautilus-actions/nact/nautilus-actions-config-tool.ui:
4353         No more give a special name to Action tab label.
4355         * nautilus-actions/nact/nautilus-actions-config-tool.ui:
4356         Fix Action tab layout.
4358         A full rewriting of the writability of items vs. providers.
4360         * data/nautilus-actions.schemas.in:
4361         Describe 'export-format' and 'io-providers-order' keys.
4362         Define 'mandatory/all/locked' key to lock all configuration.
4364         * doc/io-provider-id: Reserve 'all' special provider_id.
4366         * nautilus-actions/api/na-gconf-monitor.c
4367         * nautilus-actions/io-provider-desktop/nadp-desktop-file.c
4368         * nautilus-actions/io-provider-desktop/nadp-desktop-provider.c
4369         * nautilus-actions/nact/base-application.c
4370         * nautilus-actions/nact/base-assistant.c
4371         * nautilus-actions/nact/base-builder.c
4372         * nautilus-actions/nact/base-dialog.c
4373         * nautilus-actions/nact/base-window.c
4374         * nautilus-actions/nact/nact-application.c
4375         * nautilus-actions/nact/nact-assistant-export-ask.c
4376         * nautilus-actions/nact/nact-assistant-export.c
4377         * nautilus-actions/nact/nact-assistant-import-ask.c
4378         * nautilus-actions/nact/nact-assistant-import.c
4379         * nautilus-actions/nact/nact-clipboard.c
4380         * nautilus-actions/nact/nact-confirm-logout.c
4381         * nautilus-actions/nact/nact-window.c
4382         * nautilus-actions/runtime/na-module.c
4383         (instance_init, instance_dispose):
4384         Review debug messages formatting.
4386         * nautilus-actions/api/na-iio-provider.c:
4387         * nautilus-actions/api/na-iio-provider.h
4388         (is_writable): Removed API.
4389         (is_able_to_write): New API.
4390         Review operations return codes.
4391         Add provider status.
4393         * nautilus-actions/io-provider-desktop/nadp-desktop-provider.c:
4394         * nautilus-actions/io-provider-desktop/nadp-desktop-provider.h:
4395         * nautilus-actions/io-provider-desktop/nadp-read.c:
4396         * nautilus-actions/io-provider-desktop/nadp-write.c:
4397         * nautilus-actions/io-provider-desktop/nadp-write.h:
4398         * nautilus-actions/io-provider-gconf/nagp-gconf-provider.c:
4399         * nautilus-actions/io-provider-gconf/nagp-write.c:
4400         * nautilus-actions/io-provider-gconf/nagp-write.h:
4401         Updated to new NAIIOProvider API.
4403         * nautilus-actions/nact/nact-iaction-tab.c:
4404         * nautilus-actions/nact/nact-iactions-list.c:
4405         * nautilus-actions/nact/nact-iactions-list.h:
4406         * nautilus-actions/nact/nact-iadvanced-tab.c:
4407         * nautilus-actions/nact/nact-ibackground-tab.c:
4408         * nautilus-actions/nact/nact-icommand-tab.c:
4409         * nautilus-actions/nact/nact-iconditions-tab.c:
4410         * nautilus-actions/nact/nact-main-menubar.c:
4411         * nautilus-actions/nact/nact-main-tab.h:
4412         * nautilus-actions/nact/nact-main-window.c:
4413         * nautilus-actions/nact/nact-providers-list.c:
4414         * nautilus-actions/nact/nact-tree-model-dnd.c:
4415         * nautilus-actions/nact/nact-tree-model.c:
4416         * nautilus-actions/nact/nact-window.c:
4417         * nautilus-actions/nact/nact-window.h:
4418         Take advantage of the new global item writability status.
4420         * nautilus-actions/nact/nact-main-statusbar.c:
4421         * nautilus-actions/nact/nact-main-statusbar.h
4422         (nact_main_statusbar_set_locked): Display the reason.
4424         * nautilus-actions/nact/nact-iactions-list-bis.c
4425         (nact_iactions_list_bis_list_modified_items):
4426         Dump the raw content of the list.
4428         * nautilus-actions/plugin/nautilus-actions.c (instance_init):
4429         * nautilus-actions/runtime/na-pivot.c:
4430         * nautilus-actions/runtime/na-pivot.h(na_pivot_new):
4431         * nautilus-actions/utils/nautilus-actions-new.c (write_to_gconf):
4432         * nautilus-actions/utils/nautilus-actions-run.c (get_action):
4433         New na_pivot_new() signature.
4435         * nautilus-actions/private/na-object-item-fn.h:
4436         * nautilus-actions/private/na-object-item-priv.h:
4437         * nautilus-actions/private/na-object-item.c:
4438         The NAObjectItem now embeds a NAIOProvider pointer.
4440         * nautilus-actions/runtime/na-io-provider.c:
4441         * nautilus-actions/runtime/na-io-provider.h:
4442         Load all available and defined I/O providers.
4444         * nautilus-actions/test/init-dispose-diff.sh: New file.
4446 2010-01-27 Pierre Wieser <pwieser@trychlos.org>
4448         * nautilus-actions/nact/nact-preferences.ui:
4449         Fix the name of the Down button.
4450         Invert buttons so that Up is at the top, and Down at the bottom.
4452         * nautilus-actions/nact/nact-providers-list.c:
4453         Activate up/down buttons.
4454         Save the I/O providers individual preferences.
4455         Load and save in order.
4457         * nautilus-actions/runtime/na-io-provider.c:
4458         Order the I/O providers in write priority.
4460 2010-01-26 Pierre Wieser <pwieser@trychlos.org>
4462         * nautilus-actions/io-provider-gconf/nagp-read.c
4463         (nagp_iio_provider_read_items): Remove path trace.
4465         * nautilus-actions/nact/nact-application.c
4466         (appli_initialize_application):
4467         * nautilus-actions/plugin/nautilus-actions.c (instance_init):
4468         * nautilus-actions/utils/nautilus-actions-new.c (write_to_gconf):
4469         * nautilus-actions/utils/nautilus-actions-run.c (get_action):
4470         Adapt to new na_pivot_new().
4472         * nautilus-actions/nact/nact-iaction-tab.c (display_provider_name):
4473         Adapt to the temporary new NAIOProvider API.
4475         * nautilus-actions/nact/nact-preferences-editor.c:
4476         Fix compilation error by adding nact-providers-list.h include file.
4478         * nautilus-actions/nact/nact-providers-list.c:
4479         Display list of providers with their initial state.
4481         * nautilus-actions/plugin/nautilus-module.c:
4482         * nautilus-actions/tracker/na-tracker-plugin.c:
4483         (nautilus_module_initialize):
4484         Prefix the log message with "[N-A]".
4486         * nautilus-actions/runtime/na-gconf-utils.c:
4487         * nautilus-actions/runtime/na-gconf-utils.h
4488         (na_gconf_utils_get_subdirs, na_gconf_utils_free_subdirs):
4489         New functions.
4491         * nautilus-actions/runtime/na-io-provider.c:
4492         * nautilus-actions/runtime/na-io-provider.h:
4493         Refactoring to keep a static list of capable I/O providers.
4495         * nautilus-actions/runtime/na-module.c
4496         (na_module_load_modules): Only displays the name of the loaded module.
4497         (is_a_na_plugin): Add a trace with the full path of the module.
4499         * nautilus-actions/runtime/na-pivot.c:
4500         * nautilus-actions/runtime/na-pivot.h:
4501         Define loadable_set and io_provider_set as construct-only properties.
4502         Remove unused action_changed_handler stuff.
4503         No more maintain the list of capable I/O providers.
4505 2010-01-25 Pierre Wieser <pwieser@trychlos.org>
4507         * nautilus-actions/runtime/na-pivot.c:
4508         * nautilus-actions/runtime/na-pivot.h: Source reorganization.
4510         * nautilus-actions/runtime/na-pivot.c:
4511         * nautilus-actions/runtime/na-pivot.h (na_pivot_get_automatic_reload):
4512         Remove unused function.
4514         * nautilus-actions/runtime/na-pivot.c:
4515         * nautilus-actions/runtime/na-pivot.h (na_pivot_set_population):
4516         Function is renamed to na_pivot_set_loadable_population().
4517         The enum is named NAPivotLoadable.
4519         * nautilus-actions/plugin/nautilus-actions.c (instance_init):
4520         * nautilus-actions/utils/nautilus-actions-run.c (get_action):
4521         Adjusted accordingly.
4523         * nautilus-actions/runtime/na-module.c: Source slight adjustment.
4525 2010-01-23 Pierre Wieser <pwieser@trychlos.org>
4527         * nautilus-actions/nact/nact-schemes-list.c: Cleanup the source file.
4529         * nautilus-actions/nact/nact-preferences.ui:
4530         Reset tooltips in all preference pages.
4532         * nautilus-actions/nact/nact-providers-list.c:
4533         * nautilus-actions/nact/nact-providers-list.h: New files.
4535         * nautilus-actions/nact/Makefile.am: Updated accordingly.
4537         * nautilus-actions/nact/nact-preferences-editor.c:
4538         Updated to handle a sixth tab.
4540 2010-01-23 Pierre Wieser <pwieser@trychlos.org>
4542         * configure.ac: Bump version number.
4544         * All source files: Updated copyright notice.
4546 2010-01-23 Pierre Wieser <pwieser@trychlos.org>
4548         * NEWS: Updated for release.
4550         * po/POTFILES.in:
4551         Add nautilus-actions/nact/nact-preferences.ui file.
4553         * configure.ac:
4554         Add a dependancy on dbus-lib-1 for tracker.
4556         * nautilus-actions/nact/base-window.c (search_for_child_widget):
4557         Use GtkBuildable interface instead of 'name' field (fix #607704).
4559 2010-01-20 Pierre Wieser <pwieser@trychlos.org>
4561         * data/nautilus-actions.schemas.in:
4562         Add a schema for 'na-desktop/locked' mandatory key.
4564         * .gitignore:
4565         Ignore eclipse-specific files.
4567         * data/nautilus-actions.schemas.in:
4568         Fix default value for level zero key.
4569         Describe the new 'schemes' preference key.
4571         * nautilus-actions/nact/nact-preferences.ui:
4572         * nautilus-actions/nact/nact-schemes-list.c:
4573         * nautilus-actions/nact/nact-schemes-list.h: New files.
4575         * nautilus-actions/nact/nact-iadvanced-tab.c:
4576         * nautilus-actions/nact/nact-preferences-editor.c:
4577         * nautilus-actions/nact/Makefile.am: Updated accordingly.
4579 2010-01-17 Pierre Wieser <pwieser@trychlos.org>
4581         * nautilus-actions/nact/nact-assistant-export.ui:
4582         * nautilus-actions/nact/nautilus-actions-config-tool.ui:
4583         Forces default orientation of vboxes (fix #607218).
4585         * nautilus-actions/nact/nact-main-toolbar.c:
4586         * nautilus-actions/nact/nact-main-toolbar.h: New files.
4588         * nautilus-actions/nact/Makefile.am:
4589         * nautilus-actions/nact/nact-main-menubar.c: Updated accordingly.
4591 2010-01-16 Pierre Wieser <pwieser@trychlos.org>
4593         * nautilus-actions/nact/nact-clipboard.c:
4594         Fix primary clipboard management.
4596         * nautilus-actions/nact/nact-main-menubar.c     (on_update_sensitivities):
4597         Fix cut/copy/duplicate/delete sensitivity when selection is     multiple.
4599 2010-01-15 Pierre Wieser <pwieser@trychlos.org>
4601         * nautilus-actions/nact/nact-iactions-list-bis.c:
4602         * nautilus-actions/nact/nact-iactions-list.h
4603         (nact_iactions_list_bis_clear_selection): New function.
4605         * nautilus-actions/nact/nact-iactions-list.c (nact_iactions_list_fill):
4606         Clear the selection before filling the tree view.
4608         * nautilus-actions/nact/nact-main-menubar.c (on_update_sensitivities):
4609         Force the count of selected items to be consistant with the list.
4611         * nautilus-actions/nact/nact-tree-model-dnd.c (drop_inside):
4612         Dropped new item is set as new.
4614         * nautilus-actions/nact/nact-iactions-list.c (filter_selection):
4615         Review selection criteria, introducing implicit selection.
4617         * nautilus-actions/nact/nact-main-menubar.c (on_update_sensitivities):
4618         Review menu items sensitivity, especially when provider is not writable.
4619         Enable new item even when selection is multiple.
4621         * nautilus-actions/nact/nact-window.c:
4622         * nautilus-actions/nact/nact-window.h (nact_window_is_writable_item):
4623         New function.
4625 2010-01-05 Pierre Wieser <pwieser@trychlos.org>
4627         * configure.ac: Bump version number.
4629 2010-01-05 Pierre Wieser <pwieser@trychlos.org>
4631         * configure.ac: Add -Wformat=2 compilation option.
4633         * nautilus-actions/nact/nact-gtk-utils.c (nact_gtk_utils_set_editable):
4634         * nautilus-actions/nact/nact-iactions-list.c
4635         (nact_iactions_list_runtime_init_toplevel):
4636         * nautilus-actions/nact/nact-iadvanced-tab.c
4637         (runtime_init_connect_signals):
4638         * nautilus-actions/nact/nact-ibackground-tab.c
4639         (nact_ibackground_tab_runtime_init_toplevel):
4640         Substitute gtk_cell_layout_get_cells to obsoleted
4641         gtk_tree_view_column_get_cell_renderers.
4643         * nautilus-actions/runtime/na-xml-writer.c (na_xml_writer_output_xml):
4644         Use correct printf format.