Make the error message translatable
[nautilus-actions.git] / ChangeLog
blobfd5095f5ab4f02969310484cd0f391f638e5f6fc
1 2010-08-23 Pierre Wieser <pwieser@trychlos.org>
3         * po/POTFILES.in: Add src/core/na-selected-info.c file.
5         * src/core/na-selected-info.c (query_file_attributes):
6         Make the error message translatable.
9         * src/core/na-tokens.c
10         (na_tokens_new_from_selection): Do not get dirname of a null filename.
11         (parse_singular): Take care of possibly null data or over-indexing.
13         * src/core/na-selected-info.c:
14         * src/core/na-selected-info.h (na_selected_info_create_for_uri):
15         Add errmsg parameter to check for incorrect URIs.
17         * src/utils/nautilus-actions-run.c (get_selection_from_strv):
18         Do not try to deal with malformed URIs.
20         * src/utils/nautilus-actions-schemas.c: Include glib-object.h.
22         * src/api/na-data-boxed.h: Revert to glib-object.h.
24 2010-08-22 Pierre Wieser <pwieser@trychlos.org>
26         * src/core/na-icontext.c (is_candidate_for_mimetypes):
27         * src/core/na-selected-info.c (na_selected_info_get_mime_type):
28         Take care of possibly NULL mimetype.
30 2010-08-21 Pierre Wieser <pwieser@trychlos.org>
32         * src/api/na-dbus.h
33         * src/api/na-ifactory-provider-provider.h
34         * src/core/na-importer-ask.h
35         * src/io-desktop/nadp-formats.h
36         * src/io-desktop/nadp-reader.h
37         * src/io-desktop/nadp-utils.h
38         * src/io-desktop/nadp-writer.h
39         * src/io-gconf/nagp-reader.h
40         * src/io-gconf/nagp-writer.h
41         * src/io-xml/naxml-formats.h
42         * src/io-xml/naxml-reader.h
43         * src/io-xml/naxml-writer.h
44         * src/nact/nact-tree-model-priv.h: Fix single inclusion.
46         * src/core/na-icontext.c
47         (is_candidate_for_schemes, is_candidate_for_folders):
48         Address each ocurrence of file instead of just the first one.
50         * doc/nact/Makefile.am: Fix PDF distribution.
52 2010-08-19 Pierre Wieser <pwieser@trychlos.org>
54         * src/nact/nautilus-actions-config-tool.ui:
55         Do not overexpand the example label.
57         * src/core/na-object-profile.c (convert_pre_v3_parameters_str):
58         Fix conversion of '%d/%f' to '%f' when there are other parameters.
60         * src/core/na-icontext.c
61         (is_candidate_for_mimetypes): Improve debug messages.
62         (is_candidate_for_basenames): Take care of matchcase.
64         * src/core/na-icontext.c
65         (is_mimetype_of): Take care of wildcard expressions.
66         (is_candidate_for_folders): Only try to g_pattern_match() if has pattern.
68         * src/plugin-menu/nautilus-actions.c
69         (build_nautilus_menus): Add debug messages.
71         * data/actions/open-terminal-here.desktop:
72         * data/actions/show-na-parameters.desktop: Fix typo.
74         * src/api/na-object-item.h:
75         * src/core/na-object-item.c
76         (na_object_item_deals_with_version): New function.
78         * src/api/na-object-profile.h:
79         * src/core/na-object-profile.c
80         (na_object_profile_convert_v2_to_last): New function.
82         * src/core/na-object-action.c:
83         * src/core/na-object-menu.c
84         (ifactory_object_read_start): Removed (unused) function.
86         * src/io-xml/naxml-reader.c (naxml_reader_read_done): Cleanup code.
88         * src/nact/nact-ibasenames-tab.c (on_tab_updatable_selection_changed):
89         Display matchcase status for the current context.
91 2010-08-18 Pierre Wieser <pwieser@trychlos.org>
93         * src/core/na-object-profile.c (convert_pre_v3_parameters_str):
94         As a special optimization, converts '%d/%f' to '%f'.
96         * src/io-xml/naxml-reader.c (naxml_reader_read_data):
97         Let a node available for a second reading in case of a multiple-defined
98         data (e.g. icon which exists in localized and unlocalized forms).
100         * src/io-desktop/nadp-desktop-file.c (nadp_desktop_file_new_from_uri):
101         Do not warn about malformed .desktop file when importing an URI.
103         Path+parameters are splitted whatever be the I/O importer.
105         * src/io-desktop/nadp-reader.c (read_done_profile_split_exec): Removed function.
107         * src/core/na-object-profile.c (split_path_parameters): New function.
109         * src/core/na-data-boxed.c (uint_set_from_string):
110         Fix default uint value when reading null string.
112         * src/nact/nact-assistant-import.c (assistant_apply): Cleanup code.
114 2010-08-17 Pierre Wieser <pwieser@trychlos.org>
116         * Replace GtkLable with GtkTextView in import and export assistants.
118         * src/nact/nact-assistant-export.c (assist_prepare_exportdone):
119         * src/nact/nact-assistant-import.c (prepare_importdone):
120         * src/nact/nact-assistant-export.ui:
121         * src/nact/nautilus-actions-config-tool.ui: Updated accordingly.
123         * src/core/na-core-utils.c (na_core_utils_str_split_first_word):
124         Accepts null or empty input string or output pointers.
126         * src/io-desktop/nadp-reader.c (read_done_profile_split_exec):
127         Only try to split a non-null command.
129 2010-08-16 Pierre Wieser <pwieser@trychlos.org>
131         * doc/nact/Makefile.am: Fix PDF build.
133         * configure.ac: Bump version number after unstable release.
135         * doc/nact/Makefile.am: Fix manuals cleanup.
137         * src/core/na-icontext.c (is_candidate_for_schemes):
138         Remove wrong variable override.
140         * configure.ac: Bump version number after unstable release.
142 2010-08-15 Pierre Wieser <pwieser@trychlos.org>
144         * data/actions/Makefile.am:
145         * data/actions/my-first-na-action.desktop:
146         * data/actions/my-first-na-menu.desktop:
147         * data/actions/open-terminal-here.desktop:
148         * data/actions/show-na-parameters.desktop: New files.
150         * data/gconf-schemas/Makefile.am:
151         Install GConf schemas in PKGDATADIR/gconf-schemas.
153         * NEWS: Update NEWS before unstable release.
155         Create a new data/actions subdirectory.
157         * configure.ac:
158         * data/Makefile.am: Updated accordingly.
160         * data/actions/Makefile.am:
161         * data/actions/README: New files.
163         Move schemas into a new subdirectory data/gconf-schemas.
165         * configure.ac:
166         * data/Makefile.am: Updated accordingly.
168         Move exports/ subdirectory into data/ tree.
170         * configure.ac:
171         * data/Makefile.am: Updated accordingly.
173         * data/exports/Makefile.am:
174         * data/exports/README: New files.
176         * doc/nact/Makefile.am: Fix PDF installation.
178         * src/core/na-object-profile.c (convert_pre_v3_parameters_str):
179         %f used to be the name of the file (a basename), converts it to %b.
181 2010-08-13 Pierre Wieser <pwieser@trychlos.org>
183         * doc/api/nautilus-actions-sections.txt:
184         * doc/api/nautilus-actions-docs.xml: New files.
186         * src/io-desktop/nadp-desktop-file.c (nadp_desktop_file_set_locale_string):
187         Write all available locales to have a chance another locale can get it.
189         * Makefile.am:
190         Build doc after src so that libraries are available when documenting them.
192         * autogen.sh:
193         * configure.ac: Implement gtk-doc and manuals generation.
195         * doc/api/Makefile.am: Build gtk-doc for public API.
197         * doc/nact/C/nact-conditions.xml:
198         * doc/nact/C/nact-execution.xml:
199         * doc/nact/C/nact-menus.xml:
200         * doc/nact/C/nact-profiles.xml:
201         * doc/nact/C/nact-sorting.xml:
202         * doc/nact/C/nact-starting.xml:
203         * doc/nact/C/nact-where.xml:
204         * doc/nact/C/nautilus-actions-config-tool.xml:
205         Update NACT user's manual.
207         * doc/nact/Makefile.am: Implement manuals generation.
209         * src/api/na-core-utils.h:
210         * src/api/na-data-boxed.h:
211         * src/api/na-data-types.h:
212         * src/api/na-gconf-utils.h:
213         * src/api/na-icontext.h:
214         * src/api/na-iduplicable.h:
215         * src/api/na-iimporter.h:
216         * src/api/na-object-api.h:
217         * src/api/na-object-id.h:
218         * src/api/na-object-item.h:
219         * src/core/na-core-utils.c:
220         * src/core/na-data-boxed.c:
221         * src/core/na-export-format.c:
222         * src/core/na-export-format.h:
223         * src/core/na-exporter.c:
224         * src/core/na-exporter.h:
225         * src/core/na-factory-object.c:
226         * src/core/na-factory-object.h:
227         * src/core/na-gconf-monitor.c:
228         * src/core/na-gconf-utils.c:
229         * src/core/na-iabout.h:
230         * src/core/na-icontext.c:
231         * src/core/na-ifactory-provider.c:
232         * src/core/na-importer-ask.c:
233         * src/core/na-io-provider.c:
234         * src/core/na-iprefs.c:
235         * src/core/na-object-id.c:
236         * src/core/na-object-item.c:
237         * src/core/na-object.c:
238         * src/core/na-selected-info.c:
239         * src/core/na-selected-info.h:
240         Update comments to suits gtk-doc requirements.
242         * COPYING-DOCS:
243         * doc/nact/C/figures/nact-desktop-environment-frame.png:
244         * doc/nact/C/figures/nact-exec-mode-frame.png:
245         * doc/nact/C/figures/nact-execute-as-frame.png:
246         * doc/nact/C/figures/nact-execution-environment-frame.png:
247         * doc/nact/C/figures/nact-selection-count-frame.png:
248         * doc/nact/C/figures/nact-startup-mode-frame.png:
249         * doc/nact/C/figures/nact-target-location.png:
250         * doc/nact/C/figures/nact-working-directory-frame.png:
251         * doc/nact/C/figures/sort-asc.png doc/nact/C/figures/sort-desc.png:
252         * doc/nact/C/figures/sort-manual.png:
253         * m4/na-enable-manuals.m4: New files.
255 2010-08-10 Pierre Wieser <pwieser@trychlos.org>
257         * src/nact/nact-icommand-tab.c: No more check for a non-empty profile name.
259         Allow writing of empty data.
261         * src/api/na-data-boxed.h:
262         * src/core/na-data-boxed.c
263         (na_data_boxed_is_set): Removed function.
264         (na_data_boxed_is_default): New function.
266         * src/io-desktop/nadp-writer.c (nadp_writer_ifactory_provider_write_data):
267         * src/io-gconf/nagp-writer.c (nagp_writer_write_data):
268         * src/io-xml/naxml-writer.c (naxml_writer_write_data):
269         Updated accordingly.
271         * src/core/na-object-item-factory.c:
272         * src/core/na-object-profile-factory.c:
273         Remove useless log description for a fake data.
275         * src/io-desktop/nadp-reader.c
276         (nadp_reader_ifactory_provider_read_data):
277         * src/io-xml/naxml-reader.c (read_data_boxed_from_node):
278         Set NADataBoxed as soon as a value is found.
280         Review pre- and post- write operations in I/O providers.
282         * src/core/na-object-action.c: Cleanup the code.
284         * src/core/na-object-item-factory.c:
285         NAFO_DATA_IVERSION becomes unwritable.
287         * src/io-desktop/nadp-writer.c:
288         * src/io-gconf/nagp-writer.c:
289         * src/io-xml/naxml-writer.c: Cleanup the code.
291         Immediately reacts to a status change in I/O providers.
293         * src/core/na-ipivot-consumer.c:
294         * src/core/na-ipivot-consumer.h
295         (na_ipivot_consumer_notify_of_io_provider_prefs_changed): New function.
296         (on_io_provider_prefs_changed): New interface API.
298         * src/core/na-pivot.c (monitor_runtime_preferences):
299         Add a monitor on io-providers GConf branch.
301         * src/nact/nact-main-window.c
302         (ipivot_consumer_on_io_provider_prefs_changed): New function.
304         Controls are not modifiable for a read-only item.
306         * src/nact/nact-gtk-utils.c:
307         * src/nact/nact-gtk-utils.h
308         (nact_gtk_utils_set_initial_state, nact_gtk_utils_reset_initial_state):
309         New functions.
311         * src/nact/nact-icommand-tab.c (on_tab_updatable_selection_changed):
312         Manage working directory browse button.
314         * src/nact/nact-ienvironment-tab.c (on_tab_updatable_selection_changed):
315         Manage try exec and show if running browse buttons.
316         Manage desktop environment radio buttons.
318         * src/nact/nact-iexecution-tab.c (on_tab_updatable_selection_changed):
319         Manage execution mode radio buttons.
321         * src/nact/nact-iproperties-tab.c (on_tab_updatable_selection_changed):
322         Manage description text view.
324         * src/nact/nact-match-list.c
325         (on_key_pressed_event): Only insert/delete rows if item is editable.
326         (on_must_match_toggled, on_must_not_match_toggled): Manage radio buttons.
328 2010-08-09 Pierre Wieser <pwieser@trychlos.org>
330         Review notification bufferization.
332         * src/core/na-ipivot-consumer.c:
333         * src/core/na-ipivot-consumer.h
334         (na_ipivot_consumer_delay_notify): Removed function.
335         (na_ipivot_consumer_allow_notify): New function.
337         * src/nact/nact-main-menubar-file.c (nact_main_menubar_file_save_items):
338         * src/nact/nact-main-window.c (instance_init):
339         * src/plugin-menu/nautilus-actions.c (instance_init):
340         Updated accordingly.
342         * src/core/na-pivot.c (on_item_changed_timeout):
343         * src/io-desktop/nadp-desktop-provider.c (on_monitor_timeout):
344         * src/io-gconf/nagp-gconf-provider.c (config_path_changed_trigger_interface):
345         Review the code.
347         Fix XML import of localized vs. unlocalized profile label.
349         * src/api/na-ifactory-object-data.h:
350         * src/core/na-object-profile-factory.c:
351         Define new NAFO_DATA_DESCNAME_NOLOC unlocalized profile label.
353         * src/api/na-object-api.h (na_object_get_label_noloc): New macro.
355         * src/io-xml/naxml-reader.c (naxml_reader_read_done):
356         Deals with localized vs. unlocalized profile description name.
358         Fix XML import of localized vs. unlocalized icons.
360         * src/api/na-ifactory-object-data.h:
361         * src/core/na-object-item-factory.c:
362         Define new NAFO_DATA_ICON_NOLOC unlocalized icon name.
364         * src/api/na-object-api.h (na_object_get_icon_noloc): New macro.
366         * src/io-xml/naxml-reader.c
367         (read_data_boxed_from_node): Only allocate a NADataBoxed for a non null value.
368         (naxml_reader_read_done): Deals with localized/unlocalized icon name.
370         * src/io-xml/naxml-reader.c (naxml_reader_read_start):
371         Attach the profile to the action before trying to read it.
373         * src/nact/nact-iexecution-tab.c (execution_mode_toggle):
374         Fix sensitivity of startup fields vs. execution mode.
376         * src/core/na-icontext.c (is_candidate_for_capabilities):
377         Fix incorrect handling of capability conditions.
379         * src/core/na-icontext.c (is_candidate_for_folders):
380         Fix incorrect and optimize handling of folder conditions.
382         * src/core/na-icontext.c (is_candidate_for_schemes):
383         Fix incorrect and optimize handling of scheme conditions.
385         * src/core/na-icontext.c (is_candidate_for_basenames):
386         Fix incorrect handling of basename conditions.
388         * src/core/na-icontext.c (is_candidate_for_mimetypes):
389         Fix incorrect handling of mimetype conditions.
391         * src/nact/nact-iaction-tab.c (on_icon_browse):
392         Fix incorrect setting of GConf preference.
394         * src/nact/nact-gtk-utils.c:
395         * src/nact/nact-gtk-utils.h
396         (nact_gtk_utils_get_pixbuf, nact_gtk_utils_render):
397         Size parameter is actually of GtkIconSize type.
399 2010-08-07 Pierre Wieser <pwieser@trychlos.org>
401         * configure.ac: Bump version number after unstable release.
403         Implement auto-save feature.
405         * src/core/na-ipivot-consumer.c:
406         * src/core/na-ipivot-consumer.h (on_autosave_changed): New interface.
408         * src/core/na-iprefs.c:
409         * src/core/na-iprefs.h (na_iprefs_read_uint): New function.
411         * src/nact/nact-iprefs.c:
412         * src/nact/nact-iprefs.h (nact_iprefs_read_uint): Removed function.
414         * src/core/na-pivot.c (on_preferences_change):
415         Trigger NAIPivotConsumer interface when autosave is changed.
417         * src/nact/nact-main-menubar-file.c:
418         * src/nact/nact-main-menubar-file.h
419         (nact_main_menubar_file_set_autosave): New function.
421         * src/nact/nact-main-window.c (ipivot_consumer_on_autosave_changed):
422         Implement the new on_autosave_changed() NAIPivotConsumer interface.
424         * src/nact/nact-preferences-editor.c (on_base_runtime_init_dialog):
425         Replace nact_iprefs_read_uint() with na_iprefs_read_uint().
427         Setup auto-save in preferences.
429         * data/nautilus-actions-prefs.schemas.in:
430         Describe new auto-save-on and auto-save-period preference keys.
432         * src/nact/nact-iprefs.c:
433         * src/nact/nact-iprefs.h
434         (nact_iprefs_read_uint, nact_iprefs_write_uint): New functions.
435         IPREFS_AUTOSAVE_ON, IPREFS_AUTOSAVE_PERIOD: New preference keys.
437         * src/nact/nact-preferences-editor.c:
438         Update the new auto-save-on and auto-save-period preference keys.
441         * src/nact/nact-preferences.ui:
442         * src/nact/nautilus-actions-config-tool.ui: New preference frame.
444 2010-08-05 Pierre Wieser <pwieser@trychlos.org>
446         * src/api/na-core-utils.h:
447         * src/core/na-core-utils.c
448         (na_core_utils_str_get_first_word): Removed function.
449         (na_core_utils_str_split_first_word): New function.
451         * src/io-desktop/nadp-reader.c
452         (nadp_reader_ifactory_provider_read_done):
453         Split the Exec content to get Path and Parameters data.
455         * src/core/na-object-profile-factory.c:
456         Review the description of the NAFO_DATA_PARAMETERS data.
458         * src/core/na-tokens.h: Update the comment.
460         * po/POTFILES.in: Add src/core/na-tokens.c file.
462         * src/core/na-tokens.c:
463         * src/core/na-tokens.h (na_tokens_new_for_example): New function.
465         * src/core/na-tokens.c (parse_singular):
466         Implement %m and %M parameters for mimetypes.
468         * src/nact/nact-icommand-tab.c (parse_parameters):
469         Use a fake NATokens object to print an example of the command.
471         * src/nact/nautilus-actions-config-tool.ui: Fix some labels.
473 2010-08-04 Pierre Wieser <pwieser@trychlos.org>
475         * src/core/na-tokens.c (is_singular_exec):
476         Implement DES-EMA draft v 0.13 which defines irrelevant parameters.
478 2010-08-02 Pierre Wieser <pwieser@trychlos.org>
480         * src/nact/nact-gtk-utils.c (nact_gtk_utils_get_pixbuf):
481         * src/nact/nact-iaction-tab.c (on_icon_changed):
482         Fix bad reinitialization of the icon item.
484         * doc/nact/C/figures/nact-basenames-tab.png:
485         * doc/nact/C/figures/nact-capabilities-tab.png:
486         * doc/nact/C/figures/nact-command-tab.png:
487         * doc/nact/C/figures/nact-environment-tab.png:
488         * doc/nact/C/figures/nact-execution-tab.png:
489         * doc/nact/C/figures/nact-folders-tab.png:
490         * doc/nact/C/figures/nact-legend.png:
491         * doc/nact/C/figures/nact-main-empty.png:
492         * doc/nact/C/figures/nact-mimetypes-tab.png:
493         * doc/nact/C/figures/nact-new-capability.png:
494         * doc/nact/C/figures/nact-preferences-export.png:
495         * doc/nact/C/figures/nact-preferences-import.png:
496         * doc/nact/C/figures/nact-preferences-io-providers.png:
497         * doc/nact/C/figures/nact-preferences-runtime.png:
498         * doc/nact/C/figures/nact-preferences-schemes.png:
499         * doc/nact/C/figures/nact-preferences-ui.png:
500         * doc/nact/C/figures/nact-properties-tab.png:
501         * doc/nact/C/figures/nact-schemes-tab.png:
502         Update all screenshots to include window decoration.
504         * doc/nact/nautilus-actions-config-tool.omf.in:
505         Change categorie and type of the NACT user's manual.
507         * src/nact/nact-main-menubar.c:
508         Change help menu item from Gtk default to Gnome (apparent) standard.
510         * src/nact/nact-main-menubar-help.c (nact_main_menubar_help_on_help):
511         Connect to Yelp.
513         * configure.ac: Update comments.
515         * src/nact/nact-add-capability-dialog.c (try_for_send_ok):
516         * src/nact/nact-add-scheme-dialog.c (try_for_send_ok):
517         * src/nact/nact-main-tab.c (nact_main_tab_is_page_enabled):
518         Check that Gtk+ is more recent that 2.18 for gtk_widget_get_sensitive().
520         Split the NACT manual by chapter.
522         * doc/nact/C/nact-usage.xml:
523         * doc/nact/C/nact-prefs.xml:
524         * doc/nact/C/nact-misc.xml: New files.
526         * doc/nact/C/nautilus-actions-config-tool.xml:
527         * doc/nact/Makefile.am: Updated accordingly.
529 2010-08-01 Pierre Wieser <pwieser@trychlos.org>
531         * nact/nact-iactions-list-bis.c (nact_iactions_list_bis_insert_items):
532         A new NAObjectItem must be inserted before the current NAObjectItem.
534         * doc/README: Define a global documentation plan.
536         * doc/api/Makefile.am:
537         * doc/api/version.xml.in:
538         Define a stub for future public API documentation, targeting
539         Nautilus-Actions plugins developers.
541         * doc/internals/Makefile.am:
542         Define a stub for future internal documentation, targeting
543         Nautilus-Actions core developers.
545         * doc/product/Makefile.am:
546         Define a stub for future global Nautilus-Actions documentation.
548         * configure.ac:
549         * doc/Makefile.am: Updated accordingly.
551         * doc/nact/ChangeLog:
552         * doc/nact/nautilus-actions-config-tool.omf.in: New files.
554         * doc/nact/C/articleinfo.xml:
555         * doc/nact/C/legalnotice.xml: Included as external entities rather
556         than from xi:include because of db2omf complains.
558         * doc/nact/C/appendix-feedback.xml:
559         * doc/nact/C/appendix-gnu-fdl-1.3.xml: Add DOCTYPE declaration.
561 2010-07-31 Pierre Wieser <pwieser@trychlos.org>
563         * src/nact/nautilus-actions-config-tool.ui:
564         Review tooltips.
566         * src/nact/nact-match-list.c (on_must_not_match_clicked):
567         Fix incorrect column id.
569         * src/nact/nact-match-list.c (sort_on_column):
570         Display sort indicator.
572         * src/nact/nact-match-list.c (on_must_match_toggled):
573         Fix crash when defining a positive assertion.
575         * src/core/na-icontext.c (is_candidate_for_capabilities):
576         Implement the function.
578         * src/core/na-selected-info.c:
579         * src/core/na-selected-info.h (na_selected_info_is_executable,
580         na_selected_info_is_owner, na_selected_info_is_readable,
581         na_selected_info_is_writable): New function.
583         * src/core/na-icontext.c (is_candidate_for_folders):
584         Implement the function.
586         * src/core/na-selected-info.c:
587         * src/core/na-selected-info.h (na_selected_info_get_dirname):
588         New function.
590         * src/core/na-icontext.c (is_candidate_for_schemes):
591         Implement the function.
593         * src/core/na-icontext.c (is_candidate_for_selection_count):
594         Implement the function.
596         * src/io-desktop/nadp-reader.c
597         (nadp_reader_ifactory_provider_read_start): Set minimal version number.
599 2010-07-30 Pierre Wieser <pwieser@trychlos.org>
601         * src/core/na-icontext.c (is_candidate_for_basenames):
602         Unref the GPatternSpec after use.
604         * src/core/na-icontext.c (is_candidate_for_basenames):
605         Implement the function.
607         * src/core/na-selected-info.c:
608         * src/core/na-selected-info.h (na_selected_info_get_basename):
609         New function.
611         * configure.ac: Add a dependancy on libgtop.
613         * src/core/na-icontext.c (is_candidate_for_show_if_running):
614         Implement the function.
616 2010-07-29 Pierre Wieser <pwieser@trychlos.org>
618         * src/io-desktop/nadp-formats.c:
619         * src/io-desktop/nadp-formats.h: New files.
620         These should have been added to 2.99.0, but where forgotten.
622         * docs/nact/Makefile.am: New file.
624         * configure.ac:
625         * docs/Makefile.am: Updated accordingly.
627         Create NACT user's manual skeleton.
628         
629         * docs/nact/C/appendix-feedback.xml:
630         * docs/nact/C/appendix-gnu-fdl-1.3.xml:
631         * docs/nact/C/articleinfo.xml:
632         * docs/nact/C/figures/nact-basenames-tab.png:
633         * docs/nact/C/figures/nact-capabilities-tab.png:
634         * docs/nact/C/figures/nact-command-tab.png:
635         * docs/nact/C/figures/nact-environment-tab.png:
636         * docs/nact/C/figures/nact-execution-tab.png:
637         * docs/nact/C/figures/nact-folders-tab.png:
638         * docs/nact/C/figures/nact-legend.png:
639         * docs/nact/C/figures/nact-main-empty.png:
640         * docs/nact/C/figures/nact-mimetypes-tab.png:
641         * docs/nact/C/figures/nact-preferences-export.png:
642         * docs/nact/C/figures/nact-preferences-import.png:
643         * docs/nact/C/figures/nact-preferences-io-providers.png:
644         * docs/nact/C/figures/nact-preferences-runtime.png:
645         * docs/nact/C/figures/nact-preferences-schemes.png:
646         * docs/nact/C/figures/nact-preferences-ui.png:
647         * docs/nact/C/figures/nact-properties-tab.png:
648         * docs/nact/C/figures/nact-schemes-tab.png:
649         * docs/nact/C/figures/nat-new-capability.png:
650         * docs/nact/C/index.xml:
651         * docs/nact/C/legalnotice.xml: New files.
653         Do some cleanup in NAObjectAction and NAObjectProfile code.
654         Implement execution of singular vs. plural command forms.
656         * src/api/na-object-action.h:
657         * src/core/na-object-action.c (na_object_action_is_candidate):
658         Removed function.
660         * src/api/na-object-profile.h:
661         * src/core/na-object-profile.c (na_object_profile_parse_parameters):
662         Removed function.
664         * src/core/na-tokens.c:
665         * src/core/na-tokens.h (na_tokens_execute_action): New function.
667         * src/plugin-menu/nautilus-actions.c (execute_action):
668         Move action execution to NATokens class.
670         * src/utils/nautilus-actions-run.c: Now use NATokens class.
672         * doc/: Renamed as docs/
674         * configure.ac:
675         * Makefile;am: Updated accordingly.
677         * configure.ac: Bump the version number after release.
679 2010-07-28 Pierre Wieser <pwieser@trychlos.org>
681         * NEWS: Update NEWS before unstable release.
683         * configure.ac: Bump the version number before unstable release.
685         * src/io-desktop/nadp-module.c (na_extension_startup):
686         Remove the #if/#endif macros to let the .desktop provider be released.
688         * src/io-desktop/nadp-desktop-file.c:
689         * src/io-desktop/nadp-desktop-file.h
690         (nadp_desktop_file_new, nadp_desktop_file_get_key_file):
691         New functions.
693         * src/io-desktop/nadp-writer.c
694         (nadp_writer_iexporter_export_to_buffer): Implement the function.
696         Import/export .desktop files.
698         * doc/export-format-id: Declare the new export format.
700         * po/POTFILES.in: Add a file.
702         * src/api/na-core-utils.h:
703         * src/core/na-core-utils.c
704         (na_core_utils_slist_add_message, na_core_utils_file_load_from_uri):
705         New functions.
707         * src/api/na-iimporter.h:
708         * src/core/na-iimporter.c (na_iimporter_manage_import_mode):
709         New function.
711         * src/io-desktop/nadp-formats.c:
712         * src/io-desktop/nadp-formats.h: New files.
714         * src/io-desktop/Makefile.am: Updated accordingly.
716         * src/io-desktop/nadp-desktop-file.c:
717         * src/io-desktop/nadp-desktop-file.h
718         (nadp_desktop_file_new_from_uri): New function.
719         (nadp_desktop_file_get_key_file_path): Renamed as nadp_desktop_file_get_key_file_uri().
721         * src/io-desktop/nadp-desktop-provider.c:
722         Declare NAIImporterInterface and NAIExporterInterface interfaces.
724         * src/io-desktop/nadp-reader.c:
725         * src/io-desktop/nadp-reader.h
726         (nadp_reader_iimporter_import_from_uri): New function.
728         * src/io-desktop/nadp-utils.c:
729         * src/io-desktop/nadp-utils.h
730         (nadp_utils_is_writable_file): Renamed as nadp_utils_uri_is_writable().
731         (nadp_utils_uri_delete): New function.
733         * src/io-desktop/nadp-writer.c:
734         * src/io-desktop/nadp-writer.h
735         (nadp_writer_iexporter_export_to_buffer, nadp_writer_iexporter_export_to_file):
736         New functions.
738         * src/nact/nact-add-scheme-dialog.c:
739         Prevent a default scheme to be inserted twice.
741         * src/nact/nact-ischemes-tab.c:
742         Use the current list of rows instead of the current schemes list.
744         * src/nact/nact-match-list.c:
745         Prevent a standard filter to be inserted twice.
747         * src/api/na-core-utils.h:
748         * src/core/na-core-utils.c (na_core_utils_slist_dump):
749         Add a prefix parameter to the function.
751         * src/core/na-data-boxed.c (slist_dump):
752         * src/core/na-io-provider.c (na_io_provider_get_providers_list):
753         * src/io-desktop/nadp-writer.c (nadp_writer_ifactory_provider_write_done):
754         * src/nact/nact-match-list.c (nact_match_list_on_selection_changed):
755         * src/test/test-reader.c (main): Updated accordingly.
757 2010-07-26 Pierre Wieser <pwieser@trychlos.org>
759         * src/api/na-core-utils.h:
760         * src/core/na-core-utils.c (na_core_utils_slist_find):
761         Moved to na_core_utils_slist_count.
763         * src/core/na-icontext.c (is_candidate_for_show_in):
764         * src/io-desktop/nadp-writer.c
765         (nadp_writer_ifactory_provider_write_done): Updated accordingly.
767         * src/nact/nact-match-list.c (on_filter_edited):
768         Add g_return_if_fail checks on data and context.
770         Prevent of inline edition of capabilities.
772         * src/nact/nact-match-list.c:
773         * src/nact/nact-match-list.h (nact_match_list_create_model):
774         Add editable_filter input parameter.
776         * src/nact/nact-match-list.c (nact_match_list_on_selection_changed):
777         Only enable the column if filter and item are both editable.
779         * src/nact/nact-ibasenames-tab.c:
780         * src/nact/nact-icapabilities-tab.c:
781         * src/nact/nact-ifolders-tab.c:
782         * src/nact/nact-imimetypes-tab.c:
783         * src/nact/nact-ischemes-tab.c: Updated accordingly.
785         Prevent a capability to be inserted twice.
787         * src/nact/nact-add-capability-dialog.c (on_button_press_event):
788         On double-clic, check for OK sensitivity.
790         * src/nact/nact-icapabilities-tab.c (on_add_clicked):
791         Provide the dialog with our current content rather than current capabilities.
793         * src/nact/nact-match-list.c:
794         * src/nact/nact-match-list.h (nact_match_list_get_rows): New function.
796         Fix parameters conversion to v3.
798         * src/core/na-object-action.c (icontext_is_candidate):
799         Fix comment and minor typo.
801         * src/core/na-object-profile.c:
802         * src/io-gconf/nagp-reader.c (convert_pre_v3_parameters):
803         Move pre-v3 parameters conversion from GConf provider to profile class.
805         * src/io-desktop/nadp-reader.c
806         (nadp_reader_ifactory_provider_read_start):
807         * src/io-gconf/nagp-reader.c (nagp_reader_read_start):
808         * src/io-gconf/nagp-gconf-provider.c (ifactory_provider_iface_init):
809         * src/io-gconf/nagp-reader.h:
810         Now attach profile to its parent in 'read_start' interface.
812         * src/io-desktop/nadp-reader.c
813         (nadp_reader_ifactory_provider_read_done):
814         * src/io-gconf/nagp-reader.c (nagp_reader_read_done):
815         Homogeneïze the read_done functions.
817         Move the reading of the subitems key for the desktop I/O provider
818         from 'read_done' to 'read_start'.
820         * src/io-desktop/nadp-reader.c:
821         * src/io-desktop/nadp-reader.h
822         (nadp_reader_ifactory_provider_read_start): New function.
824         * src/io-desktop/nadp-desktop-provider.c: Updated accordingly.
826 2010-07-19 Pierre Wieser <pwieser@trychlos.org>
828         * src/api/na-object-item.h:
829         * src/core/na-object-item.c (na_object_item_factory_write_start):
830         Function is renamed as na_object_item_rebuild_children_slist().
832         * src/core/na-object-action.c:
833         * src/core/na-object-menu.c: Updated accordingly.
835 2010-07-05 Pierre Wieser <pwieser@trychlos.org>
837         * src/nact/nact-icommand-tab.c (nact_icommand_tab_runtime_init_toplevel):
838         Connect to delete-event signal to hide the GtkWindow.
840 2010-07-03 Pierre Wieser <pwieser@trychlos.org>
842         * src/nact/nact-add-capability-dialog.c (on_base_runtime_init_dialog):
843         Doucle-click validates the dialog.
845         * src/nact/nact-add-scheme-dialog.c (on_base_runtime_init_dialog):
846         Doucle-click validates the dialog.
848         * src/nact/nact-schemes-list.c (nact_schemes_list_create_model):
849         Scheme keyword and description are editable in user preferences.
851 2010-07-02 Pierre Wieser <pwieser@trychlos.org>
853         * src/core/na-tokens.c (na_tokens_new_from_selection):
854         Add a trace.
856         * src/core/na-tokens.h: Fix minor typo.
858         * src/plugin-menu/nautilus-actions.c:
859         There should not be any need to keep a reference to our menu.
861         * data/nautilus-actions-prefs.schemas.in:
862         * src/core/na-iprefs.h:
863         * src/core/na-importer-ask.c:
864         * src/core/na-importer-ask.h:
865         Define a new GConf preference 'keep last user choice'.
867         * src/api/na-iimporter.h:
868         * src/core/na-iimporter.c:
869         from_uri() interface is renamed as import_from_uri().
870         Only define na_iimporter_import_from_uri() public API.
872         * src/core/na-importer.c:
873         * src/core/na-importer.h:
874         Define here na_importer_import_from_list() internal API.
876         * src/io-xml/naxml-provider.c:
877         * src/io-xml/naxml-reader.c:
878         * src/io-xml/naxml-reader.h:
879         * src/nact/nact-assistant-import.c:
880         * src/nact/nact-tree-model-dnd.c:
881         * src/test/test-reader.c: Updated accordingly.
883         * src/core/na-object-id.c (na_object_id_set_new_id):
884         Fix object type test.
886         * src/core/na-object-item.c (object_id_new_id):
887         Fix minor typo.
889         * src/core/na-object-profile.c (object_id_new_id):
890         Fix order of validity test.
891         Only get a new profile name when a new parent is provided.
893 2010-06-29 Pierre Wieser <pwieser@trychlos.org>
895         * src/nact/nact-tree-model-dnd.c (drop_uri_list):
896         Make the code in adequation with the comment.
898         * src/nact/nact-gtk-utils.c (nact_gtk_utils_get_pixbuf):
899         Do not emit a warning when file is just not found.
901 2010-06-28 Pierre Wieser <pwieser@trychlos.org>
903         * src/io-desktop/nadp-writer.c
904         (nadp_writer_ifactory_provider_write_data):
905         Concatenate path and parameters fields to the Exec key.
907         * src/nact/nact-assistant-import.c (has_readable_files):
908         Get ride of warning messages in some usual situations.
910         * src/nact/nact-main-menubar-file.c (nact_main_menubar_file_save_items):
911         Force sensitivities update when new tree store is empty.
913         * src/core/na-iduplicable.c (na_iduplicable_check_status):
914         * src/core/na-object.c (na_object_object_unref):
915         Review debug messages.
917         * src/core/na-pivot.c:
918         * src/core/na-pivot.h (na_pivot_set_new_items): New function.
920         * src/nact/nact-main-menubar-file.c (save_item):
921         Duplicate all current tree store to a new pivot.
923 2010-06-23 Pierre Wieser <pwieser@trychlos.org>
925         * src/nact/nact-ienvironment-tab.c (on_tab_updatable_selection_changed):
926         * src/nact/nact-iexecution-tab.c (on_tab_updatable_selection_changed):
927         Radio buttons are inconsistent if and only if there is no context.
929         * src/nact/nact-tree-model.c (dump_store): Also dumps origin.
931         * src/core/na-updater.c (na_updater_remove_item):
932         Do not unref here removed item.
933         Also remove item from non level zero parent.
935         * src/nact/nact-main-window.c (actually_delete_item):
936         Updated accordingly.
938         * src/core/na-icontext.c (is_candidate_for_try_exec):
939         Do not try to get info for non existing file.
941 2010-06-21 Pierre Wieser <pwieser@trychlos.org>
943         * src/core/na-icontext.c (is_candidate_for_show_in):
944         Implement the check of the environment (though not yet the desktop
945         detection).
947         * src/nact/nact-iaction-tab.c:
948         * src/nact/nact-ibasenames-tab.c:
949         * src/nact/nact-icommand-tab.c:
950         * src/nact/nact-ienvironment-tab.c:
951         * src/nact/nact-iexecution-tab.c:
952         * src/nact/nact-iproperties-tab.c:
953         * src/nact/nact-match-list.c:
954         Reset all fields to an empty value when there is no selection.
956         * src/nact/nact-main-tab.h:
957         * src/nact/nautilus-actions-config-tool.ui:
958         Move the Execution tab just besides the Command one.
960 2010-06-20 Pierre Wieser <pwieser@trychlos.org>
962         * src/core/na-object.c (na_object_object_unref):
963         Fix infinite unref of child items.
965         * src/nact/nact-tree-model.c (nact_tree_model_display):
966         Set debug messages.
968 2010-06-18 Pierre Wieser <pwieser@trychlos.org>
970         * src/core/na-object.c (na_object_object_unref):
971         Fix segfault when unfiltering invalid items.
973         * src/core/na-object-item-factory.c:
974         Numeric version is no more writable by default.
976         * src/io-gconf/nagp-keys.h:
977         * src/io-gconf/nagp-writer.c (nagp_writer_write_start):
978         Explicitely write the numeric version to GConf.
980         * src/core/na-object-item-factory.c:
981         Provider data is no more duplicable by NAIFactoryObject.
983         * src/core/na-object-item.c (object_copy):
984         Explicitely triggers NAIOProvider::duplicate_data method.
986         * src/io-desktop/nadp-desktop-provider.c (iio_provider_iface_init):
987         * src/io-desktop/nadp-writer.c:
988         * src/io-desktop/nadp-writer.h (nadp_iio_provider_duplicate_data):
989         Implement NAIIOProvider::duplicate_data interface.
991         * src/io-gconf/nagp-gconf-provider.c (iio_provider_iface_init):
992         Initialize NAIIOProvider duplicate_data() virtual pointer.
994         * src/api/na-iio-provider.h:
995         * src/core/na-iio-provider.c (duplicate_data):
996         * src/core/na-io-provider.c:
997         * src/core/na-io-provider.h (na_io_provider_duplicate_data):
998         Define new NAIIOProvider interface.
1000 2010-06-17 Pierre Wieser <pwieser@trychlos.org>
1002         * src/api/na-iio-provider.h:
1003         * src/core/na-iio-provider.c (na_iio_provider_item_changed):
1004         Remove useless item id parameter.
1006         * src/core/na-ipivot-consumer.c (is_notify_allowed):
1007         Set a higher delay (1s to 2s) before notifying NAPivot
1008         because of the delay of file monitoring.
1010         * src/nact/nact-clipboard.c (export_objects):
1011         Remove unused dest_folder parameter.
1013         * src/nact/nact-tree-model-dnd.c
1014         (nact_tree_model_dnd_imulti_drag_source_drag_data_get):
1015         Get destination folder as an URI.
1017         * src/nact/nact-iaction-tab.c:
1018         Fix invalid cast of NAObjectMenu to NAObjectAction.
1020         * src/nact/nact-sort-buttons.c:
1021         * src/nact/nact-sort-buttons.h (nact_sort_buttons_enable_buttons):
1022         New function.
1024         * src/nact/nact-main-menubar.c (on_iactions_list_count_updated):
1025         Enable/disable sort buttons depending of items list count.
1027         * src/api/na-object-api.h
1028         (na_object_get_shortcut, na_object_set_shortcut): New macros.
1030         * src/nact/nact-iproperties-tab.c: Review NactIPropertiesTab page.
1032         * src/api/na-object-api.h
1033         (na_object_get_execution_mode,
1034         na_object_get_startup_notify, na_object_get_startup_class,
1035         na_object_get_execute_as, na_object_set_execution_mode,
1036         na_object_set_startup_notify, na_object_set_startup_class,
1037         na_object_set_execute_as): New macros.
1039         * src/core/na-object-profile-factory.c:
1040         Change type of execution mode from uint to string.
1042         * src/nact/nact-iexecution-tab.c: Implement NactIExecutionTab page.
1044         * src/nact/nact-ienvironment-tab.c: Implement NactIEnvironmentTab page.
1046 2010-06-16 Pierre Wieser <pwieser@trychlos.org>
1048         * src/nact/nact-gtk-utils.c:
1049         * src/nact/nact-gtk-utils.h
1050         (nact_gtk_utils_select_file, nact_gtk_utils_select_dir): New functions.
1052         * src/nact/nact-icommand-tab.c: Updated accordingly.
1054         * src/api/na-core-utils.h:
1055         * src/core/na-core-utils.c (na_core_utils_slist_setup_element): New function.
1057         * src/api/na-icontext.h:
1058         * src/core/na-icontext.c (na_icontext_set_only_desktop, na_icontext_set_not_desktop):
1059         New functions.
1061         * src/api/na-object-api.h (na_object_set_only_desktop, na_object_set_not_desktop):
1062         New macros.
1064         * src/nact/nact-ienvironment-tab.c: Implement desktop choice.
1066         * src/nact/nact-icapabilities-tab.c:
1067         * src/nact/nautilus-actions-config-tool.ui: Review NactICapabilitiesTab page.
1069         * src/nact/nact-ischemes-tab.c: Review NactISchemesTab page.
1071         * src/nact/nact-ifolders-tab.c: Review NactIFoldersTab page.
1073         * src/nact/nact-ibasenames-tab.c: Review NactIBasenamesTab page.
1075         * src/nact/nact-match-list.c:
1076         * src/nact/nact-match-list.h (nact_match_list_on_enable_tab):
1077         Removed function.
1079         * src/nact/nact-icommand-tab.c:
1080         * src/nact/nact-icommand-tab.h: Review NactICommandTab page.
1082         * src/core/na-object-action-factory.c: Fix comment.
1084         * src/nact/nact-iaction-tab.c:
1085         * src/nact/nact-iaction-tab.h: Homogeneïse the code.
1087 2010-06-15 Pierre Wieser <pwieser@trychlos.org>
1089         * src/nact/nact-main-tab.c:
1090         * src/nact/nact-main-tab.h (nact_main_tab_get_context):
1091         New function.
1093         * src/nact/nact-iaction-tab.c:
1094         * src/nact/nact-ibasenames-tab.c:
1095         * src/nact/nact-icapabilities-tab.c:
1096         * src/nact/nact-ienvironment-tab.c:
1097         * src/nact/nact-ifolders-tab.c:
1098         * src/nact/nact-imimetypes-tab.c:
1099         * src/nact/nact-ischemes-tab.c:
1100         * src/nact/nact-main-tab.h:
1101         * src/nact/nact-main-window.c:
1102         Remove irrelevant TAB_UPDATABLE_SIGNAL_ENABLE_TAB signal.
1104         * src/nact/nact-match-list.c:
1105         Do not try to get filters when there is no current context.
1107         * src/nact/nact-main-window.c:
1108         Do not mark the application as modified when list is empty.
1110         * src/nact/nact-iaction-tab.c:
1111         * src/nact/nact-ibasenames-tab.c:
1112         * src/nact/nact-icapabilities-tab.c:
1113         * src/nact/nact-icommand-tab.c:
1114         * src/nact/nact-ienvironment-tab.c:
1115         * src/nact/nact-ifolders-tab.c:
1116         * src/nact/nact-iproperties-tab.c:
1117         * src/nact/nact-ischemes-tab.c:
1118         * src/nact/nact-main-menubar-edit.c:
1119         * src/nact/nact-main-menubar-file.c:
1120         * src/nact/nact-main-tab.h:
1121         * src/nact/nact-main-window.c:
1122         * src/nact/nact-match-list.c: Rename main properties.
1124         * src/nact/nact-main-tab.h:
1125         * src/nact/nact-main-window.c: Remove unused PROP_SELECTED_ROW property.
1127         * po/POTFILES.in: Add src/nact/nact-ienvironment-tab.c file.
1129         * src/nact/nact-ienvironment-tab.c: Connect signals.
1131 2010-06-14 Pierre Wieser <pwieser@trychlos.org>
1133         * src/core/na-icontext-factory.c:
1134         Change default capabilities to empty list.
1136         * src/nact/nact-add-capability-dialog.c:
1137         * src/nact/nact-add-capability-dialog.h:
1138         * src/nact/nact-add-capability.ui: New files.
1140         * po/POTFILES.in:
1141         * src/nact/Makefile.am: Updated accordingly.
1143         * src/nact/nact-match-list.c:
1144         * src/nact/nact-match-list.h (nact_match_list_create_model):
1145         Add match_header parameter.
1147         * src/nact/nact-ibasenames-tab.c:
1148         * src/nact/nact-icapabilities-tab.c:
1149         * src/nact/nact-ifolders-tab.c:
1150         * src/nact/nact-imimetypes-tab.c:
1151         * src/nact/nact-ischemes-tab.c: Updated accordingly.
1153 2010-06-13 Pierre Wieser <pwieser@trychlos.org>
1155         * src/nact/nact-match-list.c:
1156         * src/nact/nact-match-list.h (nact_match_list_create_model):
1157         Add on_add_clicked callback parameter.
1159         * src/nact/nact-ibasenames-tab.c:
1160         * src/nact/nact-ifolders-tab.c:
1161         * src/nact/nact-imimetypes-tab.c:
1162         * src/nact/nact-ischemes-tab.c: Updated accordingly.
1164         * src/nact/nact-iaction-tab.c:
1165         Use gtk_bin_get_child() function instead of GTK_BIN()->child.
1167         * po/POTFILES.in:
1168         Add src/nact/nact-icapabilities-tab.c, src/nact/nact-ischemes-tab.c.
1169         Remove src/nact/nact-iconditions-tab.c.
1171         * src/api/na-core-utils.h:
1172         * src/core/na-core-utils.c (na_core_utils_selcount_get_ope_int):
1173         New function.
1175         * src/nact/nact-icapabilities-tab.c: Implement selection count.
1177 2010-06-11 Pierre Wieser <pwieser@trychlos.org>
1179         * src/api/na-icontext.h:
1180         * src/core/na-icontext.c (na_icontext_is_all_mimetypes): New function.
1182         * src/api/na-object-api.h: Define new getters/setters.
1184         * src/core/na-icontext-factory.c:
1185         * src/core/na-object-item-factory.c: Fix comments.
1187         * src/io-gconf/nagp-reader.c:
1188         Convert pre-v3 is_multiple, is_file and is_dir parameters.
1190 2010-06-10 Pierre Wieser <pwieser@trychlos.org>
1192         * configure.ac: Bump post-release version number.
1194         * Changelog: Update NEWS before release.
1196         * configure.ac: Bump pre-release version number.
1198         * src/core/na-iabout.c: Update copyright notice.
1200 2010-06-09 Pierre Wieser <pwieser@trychlos.org>
1202         * src/api/na-core-utils.h:
1203         * src/api/na-core-utils.c (na_core_utils_slist_find_negated):
1204         New function.
1206         * src/nact/nact-add-scheme-dialog.c:
1207         * src/nact/nact-add-scheme-dialog.h: New files.
1209         * src/nact/Makefile.am: Updated accordingly.
1211         * src/nact/nact-main-menubar.c: Update test for Gtk+ version.
1213         * src/nact/nact-match-list.c:
1214         * src/nact/nact-match-list.h: Remove on_add callback.
1216         * src/nact/nact-ibasenames-tab.c:
1217         * src/nact/nact-ifolders-tab.c:
1218         * src/nact/nact-imimetypes-tab.c:
1219         * src/nact/nact-ischemes-tab.c:
1220         * src/nact/nact-preferences-editor.c: Updated accordingly.
1222         * src/nact/nact-schemes-list.c:
1223         * src/nact/nact-schemes-list.h
1224         (nact_schemes_list_show_all, nact_schemes_list_get_current_scheme):
1225         New functions.
1227 2010-06-07 Pierre Wieser <pwieser@trychlos.org>
1229         * src/nact/nact-add-scheme.ui: New file.
1231         * po/POTFILES.in:
1232         * src/nact/Makefile.am: Updated accordingly.
1234 2010-06-04 Pierre Wieser <pwieser@trychlos.org>
1236         * src/api/na-object-api.h: Reorganization.
1238         * src/core/na-icontext-factory.c: Set schemes default to '*'.
1240         * src/nact/nact-icommand-tab.c: Get schemes from current object.
1242         * src/nact/nact-ischemes-tab.c:
1243         * src/nact/nact-ischemes-tab.h:
1244         Take advantage of new nact_match_list_xxx functions.
1246         * src/api/na-object-api.h:
1247         * src/api/na-ifactory-object-data.h:
1248         * src/core/na-object-profile-factory.c: Add NAFO_DATA_WORKING_DIR data.
1250         * src/core/na-factory-object.c:
1251         * src/core/na-factory-object.h (na_factory_object_get_default):
1252         New     function.
1254         * src/nact/nact-icommand-tab.c: Implement working directory.
1256         * src/nact/nact-imimetypes-tab.c: 
1257         Take advantage of new nact_match_list_xxx functions.
1259         * src/nact/nact-match-list.c:
1260         * src/nact/nact-match-list.h: New files.
1262         * src/nact/Makefile.am: Updated accordingly.
1264         * src/nact/base-window.c:
1265         * src/nact/base-window.h (base_window_signal_connect_with_data):
1266         New function.
1268         * src/nact/nact-ibasenames-tab.c: 
1269         Take advantage of new nact_match_list_xxx functions.
1271 2010-06-03 Pierre Wieser <pwieser@trychlos.org>
1273         * src/nact/nact-ibasenames-tab.c: Implement NactIBasenamesInterface interface.
1275 2010-06-02 Pierre Wieser <pwieser@trychlos.org>
1277         * src/nact/nautilus-actions-config-tool.ui:
1278         * src/nact/nact-ibasenames-tab.c: Define basename new conditions skeleton.
1280         * src/nact/nact-icapabilities-tab.c:
1281         * src/nact/nact-icapabilities-tab.h: Define NactICapabilitiesInterface interface.
1283         * src/nact/Makefile.am:
1284         * src/nact/nact-main-tab.h:
1285         * src/nact/nact-main-window.c: Updated accordingly.
1287 2010-05-30 Pierre Wieser <pwieser@trychlos.org>
1289         * src/nact/nact-ibasenames-tab.c:
1290         * src/nact/nact-ibasenames-tab.h: Define NactIBasenamesTabInterface interface.
1292         * src/nact/nact-icommand-tab.c:
1293         No more include removed nact-iconditions-tab.h file.
1295         * src/nact/nact-ienvironment-tab.c:
1296         * src/nact/nact-ienvironment-tab.h: Define NactIEnvironmentTabInterface interface.
1298         * src/nact/nact-iexecution-tab.c:
1299         * src/nact/nact-iexecution-tab.h: Define NactIExecutionTabInterface interface.
1301         * src/nact/nact-ifolders-tab.c (on_tab_updatable_selection_changed):
1302         * src/nact/nact-ischemes-tab.c (on_tab_updatable_selection_changed):
1303         tab_set_sensitive() returned value is not used here.
1305         * src/nact/nact-imimetypes-tab.c:
1306         * src/nact/nact-imimetypes-tab.h: Define NactIMimetypesTabInterface interface.
1308         * src/nact/nact-iproperties-tab.c (on_tab_updatable_selection_changed):
1309         Set a mnemonic in the tab label.
1311         * src/nact/nact-main-tab.h:
1312         * src/nact/nact-main-window.c: Add the four new tabs, remove the old one.
1314         * src/nact/nautilus-actions-config-tool.ui: Fix some size groups.
1316 2010-05-29 Pierre Wieser <pwieser@trychlos.org>
1318         * configure.ac: Define GSEAL_ENABLED.
1320         * src/nact/nautilus-actions-config-tool.ui:
1321         Implement all new fields.
1323 2010-05-26 Pierre Wieser <pwieser@trychlos.org>
1325         * src/api/na-core-utils.h:
1326         * src/core/na-core-utils.c (na_core_utils_dir_split_ext):
1327         New function.
1329         * src/core/na-tokens.h:
1330         * src/core/na-tokens.c: New files.
1332         * src/core/Makefile.am: Udated accordingly.
1334         * src/plugin-menu/nautilus-actions.c:
1335         Expand tokens which may embed parameters.
1337 2010-05-20 Pierre Wieser <pwieser@trychlos.org>
1339         * src/io-gconf/nagp-reader.c (read_done_profile_attach_profile):
1340         Migrate old v2 parameters to v3.
1342         * src/core/na-object-action.c (deals_with_version):
1343         Setup a version number if not already set.
1345         * src/core/na-object-action.c (convert_pre_v2_action):
1346         Renamed as convert_v1_to_v2.
1348         * src/api/na-data-def.h: Add write_if_default.
1350         * src/core/na-icontext-factory.c:
1351         * src/core/na-object-action-factory.c:
1352         * src/core/na-object-id-factory.c:
1353         * src/core/na-object-item-factory.c:
1354         * src/core/na-object-profile-factory.c: Update all data structures.
1356         * src/io-desktop/nadp-writer.c
1357         (nadp_writer_ifactory_provider_write_data):
1358         * src/io-gconf/nagp-writer.c (nagp_writer_write_data):
1359         * src/io-xml/naxml-writer.c (naxml_writer_write_data):
1360         Updated accordingly.
1362         * src/io-desktop/nadp-reader.c
1363         (nadp_reader_ifactory_provider_read_start): Removed function.
1365 2010-05-17 Pierre Wieser <pwieser@trychlos.org>
1367         * configure.ac: Fix typo.
1369         * src/core/na-core-utils.c (na_core_utils_slist_from_array):
1370         Strip the strings extracted from the array.
1372         * src/core/na-factory-object.c (na_factory_object_are_equal):
1373         Dump the data when different.
1375         * src/nact/nact-main-menubar-file.c
1376         (nact_main_menubar_file_save_items): Add a debug message.
1378         * src/api/na-object-api.h (na_object_set_last_version):
1379         * src/api/na-object-action.h:
1380         * src/core/na-object-action.c (na_object_action_set_last_version):
1381         New functions.
1383         * src/core/na-object-action.c (convert_pre_v2_action):
1384         Reset action to last version number after conversion from pre-v2.
1386         * src/core/na-object-profile.c (na_object_profile_parse_parameters):
1387         Do not add extraneous blanks when parsing parameters.
1389         * configure.ac: Post release bump version number.
1391         * src/io-desktop/nadp-reader.c (read_done_load_profiles):
1392         Do not reload already loaded profiles.
1393         Just ignore non-referenced profiles.
1395         * src/io-gconf/nagp-reader.c
1396         (read_done_action_load_profiles_from_list): Do not reload already loaded profiles.
1398         * src/utils/nautilus-actions-new.c:
1399         Factorize error message to make translation easier.
1401         * src/utils/nautilus-actions-run.c:
1402         Mark two new strings for translation.
1404         * src/core/na-object-action-factory.c:
1405         No more set a string version.
1407         * src/io-gconf/nagp-reader.c (read_done_profile_attach_profile):
1408         Test both string and integer versions.
1410 2010-05-12 Pierre Wieser <pwieser@trychlos.org>
1412         * src/api/na-icontext.h:
1413         * src/core/na-icontext.c
1414         (na_icontext_have_all_mimetypes): Removed function.
1415         (na_icontext_read_done): New function.
1417         * src/core/na-object-action.c:
1418         * src/core/na-object-menu.c:
1419         * src/core/na-object-profile.c: Updated accordingly.
1421         * src/api/na-object-api.h
1422         (na_object_get_iversion, na_object_set_iversion): New functions.
1424         * src/core/na-icontext-factory.c:
1425         * src/core/na-object-item-factory.c:
1426         Adjustments on default values.
1428         * src/io-gconf/nagp-reader.c (read_done_profile_attach_profile):
1429         Convert pre-v3 parameters.
1431         * src/plugin-menu/nautilus-actions.c:
1432         Adjust NautilusMenuProvider interface.
1434 2010-05-10 Pierre Wieser <pwieser@trychlos.org>
1436         Monitor .desktop files and directories.
1438         * src/io-desktop/nadp-monitor.c:
1439         * src/io-desktop/nadp-monitor.h: New files.
1441         * src/io-desktop/Makefile.am: Updated accordingly.
1443         * src/io-desktop/nadp-desktop-provider.c:
1444         * src/io-desktop/nadp-desktop-provider.h
1445         (nadp_desktop_provider_add_monitor,
1446         nadp_desktop_provider_on_monitor_event,
1447         nadp_desktop_provider_release_monitors): New functions.
1449         * src/io-desktop/nadp-reader.c (get_list_of_desktop_paths):
1450         Installs a monitor for each candidate directory.
1452 2010-05-03 Pierre Wieser <pwieser@trychlos.org>
1454         * src/api/na-icontext.h:
1455         * src/api/na-ifactory-object-data.h:
1456         * src/api/na-object-api.h:
1457         * src/core/na-icontext-factory.c:
1458         * src/core/na-icontext.c:
1459         Define new NAFO_DATA_ALL_MIMETYPES data, set to TRUE when the context
1460         is to be selected for all mimetypes.
1462         * src/core/na-object-action.c:
1463         * src/core/na-object-menu.c:
1464         * src/core/na-object-profile.c:
1465         * src/plugin-menu/nautilus-actions.c:
1466         All objects implement NAIContextInterface.
1468         * src/nact/nact-iconditions-tab.c (na_object_is_matchcase):
1469         Renamed as na_object_get_matchcase().
1471         * src/core/na-object-profile.c (na_object_profile_parse_parameters):
1472         Do not add extraneous blanks when parsing parameters.
1474 2010-04-19 Pierre Wieser <pwieser@trychlos.org>
1476         * src/api/na-ifactory-object-data.h:
1477         * src/api/na-object-profile.h:
1478         * src/core/na-icontext-factory.c:
1479         * src/core/na-object-action-factory.c:
1480         * src/core/na-object-item-factory.c:
1481         * src/core/na-object-menu-factory.c:
1482         * src/core/na-object-profile-factory.c:
1483         Define all new data, new parameters, and include context informations
1484         to actions and menus.
1486         * src/api/na-core-utils.h:
1487         * src/core/na-core-utils.c (na_core_utils_slist_from_array):
1488         Fix leading and trailing spaces management.
1490 2010-04-18 Pierre Wieser <pwieser@trychlos.org>
1492         * src/api/na-ifactory-object-data.h:
1493         * src/core/na-object-item-factory.c:
1494         Define new NAFO_DATA_SHORTCUT data.
1496 2010-04-15 Pierre Wieser <pwieser@trychlos.org>
1498         * src/nact/nact-schemes-list.c (insert_new_row):
1499         Rewrite row insertion; do not insert a - non-editable - description.
1501         * src/nact/nact-preferences.ui: Fix typo.
1503         * src/io-gconf/nagp-keys.h:
1504         Remove unused GConf entry keys.
1506         * src/io-gconf/nagp-writer.c (nagp_iio_provider_is_willing_to_write):
1507         Force GConf sync to get ride of 'foo' entry.
1509 2010-04-14 Pierre Wieser <pwieser@trychlos.org>
1511         * NEWS: Update before release.
1513         * configure.ac: Bump version number before release.
1515         * src/core/na-selected-info.h:
1516         * src/core/na-selected-info.c (na_selected_info_get_name):
1517         Renamed as na_selected_info_get_path.
1519         * src/core/na-icontext.c
1520         (is_current_folder_inside, is_target_selection_candidate):
1521         Updated accordingly.
1523         * src/core/na-object-profile.c (na_object_profile_parse_parameters):
1524         Do not try to deal with null values.
1526         * src/plugin-menu/nautilus-actions.c (create_item_from_profile):
1527         Duplicate the candidate profile, set the parent to null.
1529         * src/core/na-selected-info.c (na_selected_info_get_location):
1530         Increment the reference count of the returned location.
1532         * src/core/na-gconf-utils.c (dump_entry):
1533         Do not try to dump a null value.
1535         * src/core/na-selected-info.c
1536         (dump): New function.
1537         (na_selected_info_create_for_uri): Accepts a mimetype.
1539         * src/plugin-tracker/na-tracker-dbus.c
1540         (na_tracker_dbus_get_selected_paths): Also sends the mimetype.
1542 2010-04-13 Pierre Wieser <pwieser@trychlos.org>
1544         * po/POTFILES.in: Adding src/nact/nact-iconditions-tab.c file.
1546         * src/api/na-ifactory-object-data.h:
1547         * src/core/na-icontext-factory.c:
1548         Adding NAFO_DATA_SELECTION_COUNT data, obsoleting NAFO_DATA_MULTIPLE.
1550         * src/nact/nact-iconditions-tab.c:
1551         * src/nact/nautilus-actions-config-tool.ui:
1552         Adding required entries for SelectionCount data.
1554 2010-04-12 Pierre Wieser <pwieser@trychlos.org>
1556         * src/plugin-menu/Makefile.am:
1557         * src/plugin-tracker/Makefile.am: Fix incorrect log domains.
1559         * po/POTFILES.in: Add src/nact/nact-iproperties-tab.c file.
1561         * src/nact/nautilus-actions-config-tool.ui: Adjust vertical paddings.
1563         "Advanced conditions" tab is renamed as "Schemes".
1565         * src/nact/nact-iadvanced-tab.c: Renamed as src/nact/nact-ischemes-tab.c.
1566         * src/nact/nact-iadvanced-tab.h: Renamed as src/nact/nact-ischemes-tab.h.
1568         * src/nact/Makefile.am:
1569         * src/nact/nact-icommand-tab.c:
1570         * src/nact/nact-main-tab.h:
1571         * src/nact/nact-main-window.c: Updated accordingly.
1573         Move item properties to their own tab.
1575         * src/nact/nact-iproperties-tab.c:
1576         * src/nact/nact-iproperties-tab.h: New files.
1578         * src/nact/Makefile.am:
1579         * src/nact/nact-iaction-tab.c:
1580         * src/nact/nact-main-tab.h:
1581         * src/nact/nact-main-window.c:
1582         * src/nact/nautilus-actions-config-tool.ui: Updated accordingly.
1584 2010-04-09 Pierre Wieser <pwieser@trychlos.org>
1586         * NEWS: Updated.
1588         * src/nact/nact-sort-buttons.c (set_new_sort_order):
1589         Do not rewrite in GConf a just-readen sort order.
1591         * src/io-gconf/nagp-writer.c (nagp_iio_provider_delete_item):
1592         Also delete the schema names which may be embedded in GConfEntry.
1594         * src/api/na-gconf-utils.h:
1595         * src/core/na-gconf-utils.c (na_gconf_utils_dump_entries):
1596         New function.
1598         * src/io-gconf/nagp-reader.c (read_item):
1599         Dump content of readen entries.
1601         * src/io-gconf/nagp-gconf-provider.c (install_monitors):
1602         Also monitors schemas to be triggered when importing a schema.
1604         * configure.ac: Bump version number for release.
1606         * src/nact/nact-iaction-tab.c (on_icon_browse):
1607         Save current position and folder of icon chooser.
1609 2010-04-08 Pierre Wieser <pwieser@trychlos.org>
1611         * src/core/na-object-profile.c (is_valid_path_parameters):
1612         Only check for non-empty path+parameters (fix #614596).
1614         * src/nact/nact-sort-buttons.c (on_sort_down_button_toggled,
1615         on_sort_manual_button_toggled, on_sort_up_button_toggled):
1616         Do not let the user click twice on a sort button.
1618         * src/nact/nact-main-window.c (setup_dialog_title):
1619         Review/normalize debug entry message.
1621         * src/nact/nact-ifolders-tab.c (on_add_folder_clicked):
1622         Folders list is definitively a list of paths (not URI).
1624         * src/api/na-core-utils.h:
1625         * src/core/na-core-utils.c (na_core_utils_str_collate): New function.
1627         * src/core/na-data-boxed.c (locale_are_equal):
1628         * src/core/na-object-action.c (deals_with_toolbar_label):
1629         * src/core/na-object-id.c (na_object_id_sort_alpha_asc):
1630         * src/io-desktop/nadp-utils.c (nadp_utils_gslist_remove_from):
1631         * src/nact/base-builder.c (already_loaded): Updated accordingly.
1633         * src/api/na-gconf-utils.h:
1634         * src/core/na-gconf-utils.c (na_gconf_utils_has_entry):
1635         Check for an entry in the previously loaded list.
1637         * src/io-gconf/nagp-reader.c
1638         (read_item): First check for Type default value.
1639         (read_item, read_done_item_is_writable,
1640         read_done_action_load_profile): Load entries.
1642         * src/nact/nact-iaction-tab.c (on_tab_updatable_selection_changed):
1643         * src/nact/nact-icommand-tab.c (on_tab_updatable_selection_changed):
1644         Protect gtk_ functions against null values.
1646         * src/plugin-menu/Makefile.am:
1647         Rename plugin to libnautilus-actions-menu.
1649         * src/io-desktop/nadp-reader.c (item_from_desktop_path):
1650         First check Type for default value.
1652 2010-04-07 Pierre Wieser <pwieser@trychlos.org>
1654         * src/nact/nact-gtk-utils.c:
1655         * src/nact/nact-gtk-utils.h
1656         (nact_gtk_utils_get_pixbuf): Render an icon for a given widget.
1657         (nact_utils_render): New function.
1659         * src/nact/nact-iaction-tab.c (on_icon_changed):
1660         * src/nact/nact-main-statusbar.c (nact_main_statusbar_set_locked):
1661         * src/nact/nact-tree-model.c (display_item): Updated accordingly.
1663 2010-04-02 Pierre Wieser <pwieser@trychlos.org>
1665         * configure.ac:
1666         * src/nact/nact-main-tab.c (nact_main_tab_is_page_enabled):
1667         GTK_WIDGET_IS_SENSITIVE is deprecated starting from gtk 2.20.
1669         * src/core/na-core-utils.c (na_core_utils_file_exists):
1670         * src/io-xml/naxml-writer.c (output_xml_to_file):
1671         Takes an URI as the filename.
1673 2010-04-01 Pierre Wieser <pwieser@trychlos.org>
1675         * src/api/na-icontextual.h: Renamed as src/api/na-icontext.h.
1676         * src/core/na-icontextual.c: Renamed as src/core/na-icontext.c.
1677         * src/core/na-icontextual-factory.c: Renamed as src/core/na-icontext-factory.c.
1679         * po/POTFILES.in:
1680         * src/api/Makefile.am:
1681         * src/api/na-icontext.h:
1682         * src/api/na-object-api.h:
1683         * src/core/Makefile.am:
1684         * src/core/na-icontext.c:
1685         * src/core/na-object-action.c:
1686         * src/core/na-object-profile.c:
1687         * src/plugin-menu/nautilus-actions.c:
1688         * src/utils/nautilus-actions-run.c: Updated accordingly.
1690         * src/api/na-object-api.h (na_object_prepare_for_paste):
1691         * src/core/na-object-id.c (na_object_id_prepare_for_paste):
1692         Parent is not always an action, may be a menu.
1694         * src/io-desktop/nadp-desktop-file.c
1695         (nadp_desktop_file_get_file_type):
1696         Do not emit a warning if Type is not found in the .desktop file.
1698         * src/core/na-core-utils.c (na_core_utils_slist_to_array):
1699         Fix built of array.
1701         * src/io-desktop/nadp-keys.h:
1702         Set back action (resp. menu) Type to Action (resp. Menu).
1704         * src/nact/nautilus-actions-config-tool.ui:
1705         Insert a scrolled window as text view parent.
1707         * src/io-desktop/nadp-desktop-file.c (check_key_file):
1708         Only write a debug message if file is hidden.
1710 2010-03-29 Pierre Wieser <pwieser@trychlos.org>
1712         * src/nact/nact-gtk-utils.c (nact_gtk_utils_set_editable):
1713         Take into account new GtktextView widget.
1715         * src/io-desktop/nadp-writer.c (nadp_iio_provider_write_item):
1716         Remove groups which no longer exist.
1718         * src/io-desktop/nadp-reader.c (read_done_load_profiles):
1719         Free string lists.
1721         * src/io-desktop/nadp-desktop-file.c:
1722         * src/io-desktop/nadp-desktop-file.h (nadp_desktop_file_remove_profile):
1723         New function.
1725         * src/io-desktop/nadp-desktop-file.c (nadp_desktop_file_get_profiles):
1726         Fix allocation of profile id.
1728         * src/io-desktop/nadp-desktop-file.c:
1729         * src/io-desktop/nadp-desktop-file.h (nadp_desktop_file_remove_key):
1730         New function.
1732         * src/io-desktop/nadp-writer.c (nadp_iio_provider_write_item):
1733         Remove key when it is no more set.
1735         * src/api/na-object-api.h
1736         (na_object_get_description, na_object_set_description): New macros.
1738         * src/nact/nact-iaction-tab.c:
1739         * src/nact/nautilus-actions-config-tool.ui: Add description entry.
1741         * src/io-desktop/nadp-keys.h: Remove unused keys.
1743         * src/io-desktop/nadp-reader.c (nadp_reader_ifactory_provider_read_done):
1744         Explicitly read subitems string list.
1746         * src/io-desktop/nadp-desktop-provider.c (ifactory_provider_iface_init):
1747         * src/io-desktop/nadp-writer.c:
1748         * src/io-desktop/nadp-writer.h (nadp_writer_ifactory_provider_write_done):
1749         New function: explicitly write subitems string list for actions and menus.
1751 2010-03-28 Pierre Wieser <pwieser@trychlos.org>
1753         * src/api/na-data-boxed.h:
1754         * src/core/na-data-boxed.c (na_data_boxed_set_default): Removed function.
1756         * src/core/na-factory-object.c (set_defaults_iter):
1757         Only set a default value when the box has not been yet allocated.
1759         * src/api/na-ifactory-object.h:
1760         * src/core/na-ifactory-object.c (na_ifactory_object_get_data_groups):
1761         New function.
1763         * src/core/na-object-item-factory.c:
1764         * src/core/na-object-action.c (instance_init):
1765         * src/core/na-object-menu.c (instance_init):
1766         No more instantiate 'type' data box.
1768         * src/core/na-object-item-factory.c:
1769         NAFO_DATA_TYPE is no more automatically readen nor written.
1771         * src/io-desktop/nadp-desktop-provider.c (ifactory_provider_iface_init):
1772         Implement data writing.
1774         * src/io-desktop/nadp-keys.c:
1775         * src/io-desktop/nadp-keys.h (nadp_keys_get_group_and_key):
1776         Removed function.
1778         * src/io-desktop/nadp-reader.c
1779         (item_from_desktop_path): Test default value first.
1780         (nadp_reader_ifactory_provider_read_data): Use new desktop_entry field.
1782         * src/io-desktop/nadp-writer.c:
1783         * src/io-desktop/nadp-writer.h (nadp_writer_ifactory_provider_write_start,
1784         nadp_writer_ifactory_provider_write_data): New functions.
1786         * src/io-gconf/nagp-writer.c (nagp_writer_write_start):
1787         Explicitely write item type.
1789         * src/io-desktop/nadp-desktop-file.c:
1790         * src/io-desktop/nadp-desktop-file.h
1791         (nadp_desktop_file_set_boolean, nadp_desktop_file_set_locale_string,
1792         nadp_desktop_file_set_string, nadp_desktop_file_set_string_list,
1793         nadp_desktop_file_set_uint): New functions.
1795         * src/api/na-core-utils.h:
1796         * src/core/na-core-utils.c (na_core_utils_slist_to_array):
1797         New function.
1799 2010-03-26 Pierre Wieser <pwieser@trychlos.org>
1801         * src/api/na-data-def.h:
1802         * src/core/na-icontextual-factory.c:
1803         * src/core/na-object-id-factory.c:
1804         * src/core/na-object-item-factory.c:
1805         * src/core/na-object-action-factory.c:
1806         * src/core/na-object-profile-factory.c:
1807         Define the key for .desktop file.
1809         * src/io-gconf/nagp-writer.c (nagp_writer_write_data):
1810         Remove blank line.
1812         * src/io-desktop/nadp-desktop-provider.c:
1813         * src/io-desktop/nadp-reader.c:
1814         * src/io-desktop/nadp-reader.h
1815         (nadp_reader_ifactory_provider_read_start): Removed unused function.
1817         * src/io-desktop/nadp-desktop-file.c:
1818         * src/io-desktop/nadp-desktop-file.h
1819         (check_key_file): Check that we don't have a 'Hidden=true' key.
1820         (nadp_desktop_file_get_profiles): New function.
1822         * src/io-desktop/nadp-desktop-provider.c:
1823         * src/io-desktop/nadp-desktop-provider.h:
1824         Move reader functions and structure to nadp-reader.c.
1826         * src/io-desktop/nadp-keys.h:
1827         Relabel type of items in .desktop file (cf. draft 0.9).
1829         * src/io-desktop/nadp-reader.c:
1830         * src/io-desktop/nadp-reader.h:
1831         Read profiles present in the .desktop file.
1833 2010-03-26 Pierre Wieser <pwieser@trychlos.org>
1835         * src/io-desktop/nadp-desktop-file.c:
1836         * src/io-desktop/nadp-desktop-file.h
1837         (check_key_file): Check that we don't have a 'Hidden=true' key.
1838         (nadp_desktop_file_get_profiles): New function.
1840         * src/io-desktop/nadp-desktop-provider.c:
1841         * src/io-desktop/nadp-desktop-provider.h:
1842         Move reader functions and structure to nadp-reader.c.
1844         * src/io-desktop/nadp-keys.h:
1845         Relabel type of items in .desktop file (cf. draft 0.9).
1847         * src/io-desktop/nadp-reader.c:
1848         * src/io-desktop/nadp-reader.h:
1849         Read profiles present in the .desktop file.
1851 2010-03-26 Pierre Wieser <pwieser@trychlos.org>
1853         * configure.ac: Bump version number for data branch.
1855 2010-03-26 Pierre Wieser <pwieser@trychlos.org>
1857         Releasing 2.30.0.
1859 2010-03-25 Pierre Wieser <pwieser@trychlos.org>
1861         * src/nact/nact-main-menubar-edit.c:
1862         * src/nact/nact-main-menubar-edit.h:
1863         * src/nact/nact-main-menubar-file.c:
1864         * src/nact/nact-main-menubar-file.h:
1865         * src/nact/nact-main-menubar-view.c:
1866         * src/nact/nact-main-menubar-view.h: New files.
1868         * po/POTFILES.in:
1869         * src/nact/Makefile.am: Updated accordingly.
1871         * src/nact/nact-main-window.c
1872         (ipivot_consumer_on_mandatory_prefs_changed):
1873         Implement NAIPivotConsumer notification.
1875         * src/nact/nact-sort-buttons.c:
1876         * src/nact/nact-sort-buttons.h
1877         (nact_sort_buttons_level_zero_writability_change):
1878         Enable/disable the buttons depending of the level zero writability
1879         status.
1881 2010-03-24 Pierre Wieser <pwieser@trychlos.org>
1883         * src/core/na-ipivot-consumer.c
1884         (na_ipivot_consumer_notify_of_mandatory_prefs_changed) : New function.
1885         (on_mandatory_prefs_changed): New interface API.
1887         * src/core/na-pivot.c (monitor_runtime_preferences):
1888         Monitor the mandatory preferences set by the admin.
1890         * src/nact/nact-main-window.c (ipivot_consumer_iface_init):
1891         * src/plugin-menu/nautilus-actions.c (ipivot_consumer_iface_init):
1892         For now, only declare NULL implementations.
1894         * src/nact/nact-preferences-editor.c (on_base_runtime_init_dialog):
1895         * src/nact/nact-sort-buttons.c (nact_sort_buttons_runtime_init):
1896         Forbid the modification of order mode is level zero is not writable.
1898         * src/core/na-pivot.c (na_pivot_is_level_zero_writable):
1899         Writable if not all not GConf are locked by admin.
1901         * src/nact/nact-iaction-tab.c (nact_iaction_tab_runtime_init_toplevel):
1902         * src/nact/nact-iadvanced-tab.c (runtime_init_connect_signals):
1903         * src/nact/nact-icommand-tab.c (nact_icommand_tab_runtime_init_toplevel):
1904         * src/nact/nact-iconditions-tab.c (nact_iconditions_tab_runtime_init_toplevel):
1905         * src/nact/nact-ifolders-tab.c (nact_ifolders_tab_runtime_init_toplevel):
1906         * src/nact/nact-main-tab.h:
1907         Signal TAB_UPDATABLE_SIGNAL_SELECTION_CHANGED is renamed as
1908         MAIN_WINDOW_SIGNAL_SELECTION_CHANGED.
1910         * src/nact/nact-main-menubar.c:
1911         * src/nact/nact-main-menubar.h
1912         (nact_main_menubar_is_level_zero_order_changed): New function.
1914         * src/nact/nact-iactions-list.h:
1915         * src/nact/nact-iactions-list-bis.c (nact_iactions_list_bis_delete):
1916         Add an argument to select the row at end of the function.
1918         * src/nact/nact-main-window.c:
1919         Connect to MAIN_WINDOW_SIGNAL_LEVEL_ZERO_ORDER_CHANGED to update
1920         dialog title.
1922         * src/nact/nact-iactions-list.c:
1923         * src/nact/nact-iactions-list.h
1924         (selection_changed): Remove the not used API.
1925         Remove the connection to the signal and the call to the interface.
1927         * src/nact/nact-assistant-export.c (iactions_list_iface_init):
1928         Use the IACTIONS_LIST_SIGNAL_SELECTION_CHANGED instead of the
1929         interface API.
1931         * src/nact/nact-main-window.c
1932         (ipivot_consumer_on_display_order_changed):
1933         Relay NAIPivotConsumer notification to nact_sort_buttons.
1935         * src/nact/nact-sort-buttons.c:
1936         * src/nact/nact-sort-buttons.h
1937         (nact_sort_buttons_display_order_change): New function.
1939         * src/nact/nact-main-menubar.c (save_item):
1940         Not only unref old origin, but also remove it from tree.
1942 2010-03-23 Pierre Wieser <pwieser@trychlos.org>
1944         Add buttons to sort the list.
1946         * src/nact/nact-sort-buttons.c:
1947         * src/nact/nact-sort-buttons.h: New files.
1949         * src/nact/Makefile.am:
1950         * src/nact/nact-main-window.c: Updated accordingly.
1952         * src/nact/nautilus-actions-config-tool.ui:
1953         Define three new buttons to help to sort the list of items.
1955         * src/core/Makefile.am:
1956         No more give a version number to the core library.
1958         Restore the target-location indicator.
1960         * src/api/na-ifactory-object-data.h:
1961         * src/core/na-object-action-factory.c:
1962         Renamed NAFO_DATA_TARGET_BACKGROUND as NAFO_DATA_TARGET_LOCATION.
1964         * src/api/na-object-api.h
1965         (na_object_is_target_location, na_object_set_target_location):
1966         New macros.
1968         * src/api/na-object-item.h:
1969         * src/plugin-menu/nautilus-actions.c (menu_provider_get_background_items):
1970         Renamed ITEM_TARGET_BACKGROUND as ITEM_TARGET_LOCATION.
1972         * src/core/na-icontextual-factory.c:
1973         * src/core/na-object-action-factory.c:
1974         * src/core/na-object-item-factory.c:
1975         Update data descriptions.
1977         * src/core/na-icontextual.c (is_target_background_candidate):
1978         Renamed as is_target_location_candidate().
1980         * src/core/na-object-action.c (na_object_action_is_candidate):
1981         Only selects the action if it is candidate for this target.
1983         * src/nact/nact-iaction-tab.c (on_tab_updatable_selection_changed):
1984         * src/nact/nautilus-actions-config-tool.ui:
1985         Display the target-location checkbox.
1987         * src/utils/nautilus-actions-new.c:
1988         Let the user select the target-location boolean indicator.
1990 2010-03-22 Pierre Wieser <pwieser@trychlos.org>
1992         * src/core/na-icontextual.c
1993         (is_current_folder_inside): Compare path rather that URI.
1994         (is_target_selection_candidate): Fix NASelectedInfo addressing.
1996         * src/plugin-menu/nautilus-actions.c
1997         (get_file_or_background_items): New function.
1998         (build_nautilus_menus, get_candidate_profile): Add debug messages.
2000         * src/core/na-selected-info.c (query_file_attributes):
2001         Fix file_info_get_attribute.
2003         * src/core/na-object-action.c (na_object_action_is_candidate):
2004         Considere background menu just as a special case of selection menu.
2006         * data/.gitignore: Update .gitignore.
2008 2010-03-17 Pierre Wieser <pwieser@trychlos.org>
2010         * data/Makefile.am: Automatically generate configurations schemas.
2012         * data/nautilus-actions.schemas.in:
2013         Renamed as data/nautilus-actions-prefs.schemas.in.
2014         Remove configurations schemas (now dynamically generated).
2016         * po/POTFILES.in: Updated accordingly.
2018         * src/core/na-icontextual-factory.c:
2019         * src/core/na-object-action-factory.c: Fix typo.
2021         * src/utils/nautilus-actions-schemas.c:
2022         Output configurations schemas to stdout.
2024         * po/POTFILES.skip:
2025         New file: do not try to translate dynamically generated schema.
2027         * Makefile.am:
2028         Build data/ after src/ to bo take advantage of dynamic generation of schemas.
2030         * src/core/na-icontextual-factory.c:
2031         String lists are now initialized in GConf-style.
2033         * src/io-gconf/nagp-writer.c (nagp_writer_write_data):
2034         * src/io-xml/naxml-writer.c (write_data_schema_v2, write_data_dump):
2035         Do not output empty values.
2037         * src/api/na-data-boxed.h:
2038         * src/core/na-data-boxed.c (na_data_boxed_is_set): New function.
2040         * data/nautilus-actions.schemas.in:
2041         Fix typo.
2042         Add io-providers/read-at-startup and io-providers/writable keys.
2044         * src/nact/nact.desktop.in: Add StartupNotify=true.
2046         * src/nact/nact-main-window.c (reload):
2047         Free the deleted list before filling the tree.
2049         * src/nact/nact-main-menubar.c
2050         (on_cut_activated): Do not cut not deletable items.
2051         (get_deletables): Add a ref on items to delete.
2053         * src/test/init-dispose-diff.sh:
2054         Do not take into account some debug messages.
2056 2010-03-16 Pierre Wieser <pwieser@trychlos.org>
2058         * src/utils/nautilus-actions-new.c
2059         (output_to_dir): Output the new action to a file.
2061         * src/core/na-core-utils.c (info_dir_is_writable):
2062         Do not emit a warning on 'no such file or directory' error.
2064         * src/utils/nautilus-actions-new.c
2065         (output_to_stdout): Output the new action to stdout.
2066         (output_to_gconf): Output the new action to GConf.
2068         * src/io-xml/naxml-writer.c (naxml_writer_write_start):
2069         Add attribute to list node, thus fixing writing of action.
2071 2010-03-15 Pierre Wieser <pwieser@trychlos.org>
2073         * src/io-xml/naxml-writer.c (naxml_writer_write_start):
2074         No need to explicitely write item type as the data is marked writable.
2076         * src/utils/nautilus-actions-new.c:
2077         Cleanup old command-line code.
2078         Check for incompatibility between boolean arguments.
2080         * src/api/na-data-def.h (na_data_def_get_data_def): New function.
2082         * src/core/na-data-def.c: New file.
2084         * src/core/Makefile.am: Updated accordingly.
2086         * src/core/na-icontextual-factory.c:
2087         * src/core/na-object-profile-factory.c:
2088         Update command-line options to not have duplicates.
2090         * src/utils/nautilus-actions-new.c:
2091         Use new ArgFromDataDef structure and display suitable help.
2093         * src/core/na-icontextual-factory.c:
2094         * src/core/na-object-action-factory.c:
2095         * src/core/na-object-item-factory.c:
2096         * src/core/na-object-profile-factory.c:
2097         * src/utils/nautilus-actions-new.c:
2098         Update data definitions to handle command-line arguments.
2100 2010-03-10 Pierre Wieser <pwieser@trychlos.org>
2102         * src/utils/nautilus-actions-new.c:
2103         Define a structure to host NADataDef argument definitions.
2105         * src/api/na-data-def.h:
2106         Add parameters to be able to manage command-line arguments.
2108         * src/core/na-icontextual-factory.c:
2109         * src/core/na-object-action-factory.c:
2110         * src/core/na-object-id-factory.c:
2111         * src/core/na-object-item-factory.c:
2112         * src/core/na-object-profile-factory.c: Updated accordingly.
2114         * src/core/na-io-provider.c (build_hierarchy):
2115         Attach the child item to its parent.
2117         * src/core/na-object-id.c (instance_dispose):
2118         * src/core/na-object-item.c (instance_dispose):
2119         * src/core/na-object.c (instance_dispose):
2120         Add debug messages.
2122         * src/core/na-dbus-tracker.h: Remove no more used file.
2124         * src/core/Makefile.am: Updated accordingly.
2126         * src/core/na-icontextual.c:
2127         * src/core/na-object-profile.c:
2128         * src/plugin-tracker/na-tracker-dbus.c:
2129         * src/utils/nautilus-actions-run.c:
2130         Remove all references to NATrackedItem obsolete class.
2132         * src/api/na-ifactory-object-data.h:
2133         Rename v1 action data group to NA_FACTORY_ACTION_V1_GROUP.
2135         * src/core/na-object-action-factory.c:
2136         No more try to read obsolete NAFO_DATA_TARGET_BACKGROUND data.
2138         * src/plugin-tracker/na-tracker.c
2139         (menu_provider_get_background_items):
2140         Implement Nautilus get_background_items() interface.
2142         * data/nautilus-actions.schemas.in:
2143         Remove 'target-background' entry description.
2145         * src/api/na-object-api.h
2146         (na_object_is_target_background): Removed macro.
2148         * src/api/na-object-profile.h
2149         * src/core/na-object-profile.c
2150         (na_object_profile_is_target_background): Removed function.
2152 2010-03-09 Pierre Wieser <pwieser@trychlos.org>
2154         * src/io-gconf/nagp-writer.c (nagp_writer_write_data):
2155         Replace gconf_concat_dir_and_key by g_strdup_printf.
2157         * src/core/na-ifactory-provider.c (na_ifactory_provider_write_item):
2158         Add a debug trace when entering in the function.
2160         * src/api/na-icontext-conditions.h: Renamed as na-icontextual.h.
2161         * src/core/na-icontext-conditions.c: Renamed as na-icontextual.c.
2162         * src/core/na-icontext-conditions-factory.c:
2163         Renamed as na-icontextual-factory.c.
2165         * po/POTFILES.in:
2166         * src/api/Makefile.am:
2167         * src/api/na-icontextual.h:
2168         * src/api/na-object-api.h:
2169         * src/core/Makefile.am:
2170         * src/core/na-icontextual.c:
2171         * src/core/na-object-action.c:
2172         * src/core/na-object-profile.c:
2173         * src/plugin-menu/nautilus-actions.c:
2174         * src/utils/nautilus-actions-run.c: Updated accordingly.
2176 2010-03-09 Pierre Wieser <pwieser@trychlos.org>
2178         Refactor NactIBackgroundTab class as NactIFoldersTab.
2180         * src/nact/nact-ibackground-tab.c:
2181         * src/nact/nact-ibackground-tab.h: Renamed as nact-ifolders-tab.{c,h}.
2183         * src/nact/Makefile.am:
2184         * src/nact/nact-main-tab.h:
2185         * src/nact/nact-main-window.c: Updated accordingly.
2187         Remove the 'target background' indicator which was introduced in 2.29.1.
2189         * src/core/na-object-action-factory.c:
2190         Update properties for NAFO_DATA_TARGET_BACKGROUND.
2192         * src/nact/nact-iaction-tab.c
2193         (nact_iaction_tab_runtime_init_toplevel): Remove the signal connection.
2194         (on_tab_updatable_selection_changed): Remove fields initialization.
2195         (on_target_background_toggled): Remove the function.
2197         * src/nact/nact-ibackground-tab.c (tab_set_sensitive):
2198         Always sensitive for profiles.
2200         * src/nact/nautilus-actions-config-tool.ui: Remove the fields.
2202         * src/core/na-object-action-factory.c:
2203         data_def_action_v1 is now available from outside.
2205         * src/core/na-object-action.c
2206         (ifactory_object_read_done, ifactory_object_write_done):
2207         Rewrite input/output functions.
2209         * src/io-gconf/nagp-reader.c
2210         (nagp_reader_read_data): Simplify the code.
2212         * src/io-gconf/nagp-writer.c
2213         (nagp_writer_write_start): No more write type as this is a normal data.
2214         (nagp_writer_write_data): Rewrite profile writing.
2215         (nagp_writer_write_done): Profile writing is now driven by NAObjectAction.
2217         * src/nact/nact-tree-model-dnd.c: Cleanup the code.
2219 2010-03-05 Pierre Wieser <pwieser@trychlos.org>
2221         * nact/nact-tree-model-dnd.c (drop_inside):
2222         Split to three functions to better readibility.
2223         Fix drop inside an empty menu.
2224         Fix drop into a non writable parent.
2226         * src/api/na-iio-provider.h: Add a comment.
2228         * src/core/na-io-provider.c:
2229         * src/core/na-io-provider.h (na_io_provider_get_return_code_label):
2230         New function.
2232         * src/nact/nact-window.c (nact_window_save_item):
2233         Better error message.
2235         * src/nact/nact-export-ask.c (on_base_runtime_init_dialog):
2236         Set more clear label, whether the item be a label or an action.
2238         * src/nact/nact-tree-model-dnd.c (get_xds_atom_value):
2239         Remove debug traces after validation both on 32 and 64 bits systems.
2241         * src/api/na-core-utils.h:
2242         * src/core/na-core-utils.c
2243         (na_core_utils_slist_join_at_end): New function.
2245         * src/api/na-iio-provider.h: Fix typo in comment.
2247         * src/nact/nact-main-menubar.c (on_delete_activated):
2248         Do not delete a tree if at least one item is not writable.
2250         * src/nact/nact-tree-model-dnd.c (get_xds_atom_value):
2251         Fix 64 bits value.
2253         * src/plugin-menu/nautilus-actions.c
2254         (create_item_from_menu): Add a trace on weak notify.
2256 2010-03-04 Pierre Wieser <pwieser@trychlos.org>
2258         * src/core/na-object-action.c (instance_init):
2259         * src/core/na-object-menu.c (instance_init):
2260         Rather create the 'Type' box here than in read_start().
2262 2010-03-03 Pierre Wieser <pwieser@trychlos.org>
2264         * src/core/Makefile.am:
2265         * src/nact/Makefile.am: Fix make distcheck.
2267         * po/POTFILES.in: Updated.
2269         Rename the NAIConditions interface to NAIContextConditions
2270         (hopefully, there will be a NAIContextParameters some day :)).
2272         * src/core/na-iconditions-factory.c:
2273         Renamed as src/core/na-icontext-conditions-factory.c.
2275         * src/core/na-iconditions.c:
2276         Renamed as src/core/na-icontext-conditions.c.
2278         * src/api/na-iconditions.h:
2279         Renamed as src/core/na-icontext-conditions.h.
2281         * src/api/Makefile.am:
2282         * src/core/Makefile.am: Updated accordingly.
2284         * src/core/na-object-profile.c:
2285         * src/plugin-menu/nautilus-actions.c:
2286         Use new na_icontext_conditions_is_candidate() function.
2288         Define the NAIConditions interface, to be implemented by actions,
2289         profiles and menus (for now, only profiles).
2291         * src/api/na-iconditions.h:
2292         * src/core/na-iconditions.c:
2293         * src/core/na-iconditions-factory.c: New files.
2295         * src/api/Makefile.am:
2296         * src/core/Makefile.am: Updated accordingly.
2298         * src/api/na-ifactory-object-data.h:
2299         Define the NA_FACTORY_CONDITIONS_GROUP data group.
2301         * src/core/na-object-profile-factory.c:
2302         Use new data_def_conditions.
2304         * src/core/na-object-profile.c (register_type):
2305         Implement the new NAIConditions interface.
2307         Review the rationales, replacing serializable+obsoleted by
2308         readable+writable flags in NADataDef structure.
2310         * src/api/na-data-def.h:
2311         * src/core/na-factory-object.c:
2312         * src/core/na-object-action-factory.c:
2313         * src/core/na-object-action.c:
2314         * src/core/na-object-id-factory.c:
2315         * src/core/na-object-item-factory.c:
2316         * src/core/na-object-profile-factory.c:
2317         * src/io-desktop/nadp-desktop-provider.c: Updated accordingly.
2319         * src/plugin-tracker/na-tracker-dbus.c (instance_dispose):
2320         Release selected items in instance_dispose() rather than in
2321         instance_finalize() which caused a FPE in Nautilus terminaison.
2323         * src/api/na-ifactory-object.h:
2324         * src/core/na-ifactory-object.c:
2325         * src/core/na-iio-provider.c:
2326         * src/io-desktop/nadp-desktop-file.c:
2327         * src/io-desktop/nadp-desktop-file.h:
2328         * src/io-xml/naxml-writer.c:
2329         * src/io-xml/naxml-writer.h:
2330         * src/nact/nact-iadvanced-tab.c:
2331         * src/nact/nact-main-menubar.c:
2332         * src/utils/nautilus-actions-new.c: Cleanup the code.
2334         * src/nact/nact-assistant-export.c (assist_prepare_confirm):
2335         Optimize the build of the displayed text.
2337         * src/nact/nact-assistant-export.c (on_all_widgets_showed):
2338         Select and expand the first row of the list.
2340         * src/core/na-module.c (add_module_type):
2341         * src/io-desktop/nadp-reader.c (na_ifactory_provider_read_item):
2342         * src/io-desktop/nadp-writer.c (nadp_iio_provider_write_item):
2343         * src/nact/nact-export-format.c (draw_in_vbox):
2344         Add a weak_notify() local function in order to be able to trace
2345         the dispose of attached objects.
2347         * src/api/na-core-utils.h:
2348         * src/core/na-core-utils.c
2349         (na_core_utils_str_remove_char): New function.
2351         * src/api/na-iexporter.h:
2352         Onlu reference one short label in NAIExporterFormat structure.
2354         * src/core/na-export-format.c:
2355         * src/core/na-export-format.h:
2356         * src/io-xml/naxml-formats.c: Updated accordingly.
2358         * src/nact/base-window.c (setup_builder):
2359         Display a dialog error when unable to load a XML definition.
2361         * src/nact/nact-assistant-export.c:
2362         * src/nact/nact-assistant-export.ui:
2363         * src/nact/nact-assistant-import.c:
2364         Adjust the display to be more funny.
2366         * src/nact/nact-clipboard.c:
2367         Add na-export-format.h include file.
2369         * src/nact/nact-export-ask.c:
2370         * src/nact/nact-export-format.c:
2371         * src/nact/nact-export-format.h:
2372         Reference the NAExportFormat object instead of each and every label.
2374         * src/nact/nact-iprefs.h:
2375         Remove IPREFS_EXPORT_FORMAT_ASK definition.
2377         * src/nact/nact-preferences-editor.c:
2378         * src/nact/nautilus-actions-config-tool.ui:
2379         Use (renamed) nact_export_format_init_display() function.
2381         * src/api/na-core-utils.h:
2382         * src/core/na-core-utils.c (na_core_utils_file_exists):
2383         New function.
2385         * src/io-xml/naxml-writer.c: Export to file.
2387         * po/POTFILES.in: Updated.
2389         * src/api/na-data-types.h
2390         (na_data_types_get_gconf_dump_key): New function.
2392         * src/core/na-data-types.c: New file.
2394         * src/core/Makefile.am: Updated accordingly.
2396         * src/api/na-ifactory-object-data.h:
2397         * src/core/na-object-item-factory.c:
2398         (NAFO_DATA_TYPE): New elementary data.
2400         * src/core/na-ifactory-object.c:
2401         * src/api/na-ifactory-object.h
2402         (na_ifactory_object_get_data_boxed): New function.
2404         * src/core/na-core-utils.c (na_core_utils_dir_is_writable_uri):
2405         Give a better name to the parameter.
2407         * src/core/na-exporter.c:
2408         * src/core/na-exporter.h (na_exporter_to_buffer, na_exporter_to_file):
2409         Reorder of functions in the files.
2411         * src/core/na-factory-object.c:
2412         * src/core/na-factory-object.h:
2413         Now use the new na_ifactory_object_get_data_boxed() function.
2415         * src/core/na-object-action-factory.c:
2416         * src/core/na-object-profile-factory.c:
2417         * src/io-xml/naxml-keys.h:
2418         Move the schema descriptions to data factory.
2420         * src/core/na-object-action.c:
2421         * src/core/na-object-menu.c:
2422         (ifactory_object_read_start): Allocate the 'type' data boxed.
2424         * src/io-gconf/nagp-keys.h: Fix the path of the schemas.
2426         * src/io-xml/naxml-formats.c:
2427         * src/io-xml/naxml-formats.h: New files.
2429         * src/io-xml/Makefile.am: Updated accordingly.
2431         * src/io-xml/naxml-provider.c: Implement NAXMLWriter calls.
2433         * src/io-xml/naxml-writer.c:
2434         * src/io-xml/naxml-writer.h: Export to buffer.
2436         * src/nact/nact-clipboard.c
2437         (nact_clipboard_dnd_drag_end): Fix gtk_selection_data_free() call.
2438         (export_row_object): Also exports menus.
2440         * src/nact/nact-tree-model-dnd.c
2441         (nact_tree_model_dnd_imulti_drag_source_drag_data_get):
2442         Fix and parse the returned URI to get the path of the target folder.
2444 2010-03-01 Pierre Wieser <pwieser@trychlos.org>
2446         * po/POTFILES.in: Add src/core/na-exporter.c file.
2448         * src/api/na-iexporter.h: Refactor NAIExporter interface.
2450         * src/core/na-export-format.c:
2451         * src/core/na-export-format.h
2452         (na_export_format_get_exporter): New function.
2454         * src/core/na-exporter.c:
2455         * src/core/na-exporter.h:
2456         * src/core/na-iexporter.c:
2457         * src/core/na-importer.c:
2458         * src/io-xml/naxml-provider.c:
2459         * src/nact/nact-assistant-export.c:
2460         * src/nact/nact-clipboard.c: Updated accordingly.
2462         * src/api/na-iexporter.h:
2463         * src/core/na-export-format.c:
2464         * src/core/na-export-format.h:
2465         * src/core/na-exporter.c:
2466         * src/core/na-iexporter.c:
2467         * src/io-xml/naxml-provider.c:
2468         * src/nact/nact-export-format.c:
2469         NAExporterStr structure is renamed as NAIExporterFormat.
2471         * src/api/na-iimporter.h (from_uri):
2472         Rename the API function to be consistant with NAIExporter interface.
2474         * src/core/na-iimporter.c:
2475         * src/io-xml/naxml-provider.c: Updated accordingly.
2477         * src/nact/nact-tree-model-dnd.c
2478         (nact_tree_model_dnd_imulti_drag_source_drag_data_get):
2479         Target folder is an URI.
2481         * src/nact/nact-main-menubar-tools.c:
2482         * src/nact/nact-main-menubar-tools.h: New files.
2484         * src/nact/nact-main-menubar-maintainer.c:
2485         * src/nact/nact-main-menubar-maintainer.h: New files.
2487         * src/nact/nact-main-menubar.c (on_update_sensitivities):
2488         Only paste a NAObjectItem into a menu.
2490         * src/nact/nact-main-menubar-help.c:
2491         * src/nact/nact-main-menubar-help.h: New files.
2493         * src/nact/Makefile.am:
2494         * src/nact/nact-main-menubar.c:
2495         * src/nact/nact-main-menubar.h: Updated accordingly.
2497         * src/core/na-updater.c:
2498         * src/core/na-updater.h (na_updater_append_item): New function.
2500         * src/nact/nact-main-menubar.c (save_item): Fix save machinery.
2502         * src/nact/nact-assistant-import.c
2503         (check_for_existance): Directly use the main window.
2505         * src/nact/nact-tree-model-dnd.c (drop_uri_list):
2506         Adapt to use na_importer_import_from_list() function.
2507         Display messages in a dialog box.
2508         Split the selection data on a '\r\n' separator.
2510         * src/api/na-iimporter.h (NAIImporterListParms): New structure.
2512         * src/core/na-importer.c:
2513         * src/core/na-importer.h (na_importer_import_from_list): New function.
2515         * src/api/na-iimporter.h:
2516         * src/core/na-iimporter.c:
2517         * src/core/na-importer-ask.c:
2518         * src/core/na-importer-ask.h:
2519         * src/core/na-importer.c:
2520         * src/core/na-importer.h:
2521         * src/io-xml/naxml-reader.c:
2522         * src/io-xml/naxml-reader.h:
2523         * src/nact/nact-assistant-import.c:
2524         * src/nact/nact-tree-model-dnd.c:
2525         * src/test/test-reader.c:
2526         NAIImporterParms structure is renamed as NAIImporterUriParms.
2527         'item' member of this same structure is renamed as imported.
2529         * src/io-gconf/nagp-reader.c:
2530         * src/io-gconf/nagp-writer.c:
2531         * src/io-gconf/nagp-writer.h: Cleanup the code.
2533         * src/nact/nact-iaction-tab.c (setup_toolbar_label):
2534         Immediately update the toolbar label when it is the same that those
2535         of the action.
2537         * src/nact/nact-icommand-tab.c (parse_parameters):
2538         Fix display of a single '%' char.
2540         * src/nact/nautilus-actions-config-tool.ui:
2541         ActionIconLabelLabel field renamed as ActionToolbarLabelLabel.
2543         * src/io-gconf/nagp-reader.c (read_done_item):
2544         Only action needs to setup the parent pointer.
2546         * src/io-gconf/nagp-writer.c (nagp_writer_write_data):
2547         Only writes non-empty values.
2549         * src/core/na-object.c (na_object_object_reset_origin):
2550         No more check for the value of object origin before resetting it.
2552         * src/core/na-object-item.c
2553         (na_object_item_remove_item): Improve debug message.
2554         (copy_children): Refuse to copy when target already has children.
2556         * src/nact/nact-main-menubar.c
2557         (nact_main_menubar_save_items): Do not re-dump all the items hierarchy.
2558         (save_item): Remove old children after having created the new ones.
2560         * src/core/na-object-action.c (ifactory_object_read_done):
2561         Force toolbar label to be the same that action one if flag is set to true.
2563         * src/api/na-object-api.h: Fix minor typo.
2565 2010-02-28 Pierre Wieser <pwieser@trychlos.org>
2567         * src/io-desktop/nadp-desktop-file.c
2568         (nadp_desktop_file_get_key_file_path):
2569         No more invalidate the function.
2571         * src/api/na-ifactory-object.h:
2572         * src/core/na-object-item-factory.c:
2573         * src/nact/nact-iactions-list-bis.c:
2574         * src/nact/nact-iactions-list.h:
2575         Fix minor typo.
2577         * src/api/na-object-api.h:
2578         New na_object_copy macro (evaluates as na_object_object_copy).
2580         * src/api/na-object-item.h (na_object_item_copy): Removed function.
2582         * src/api/na-object.h:
2583         * src/core/na-object.c:.
2584         (copy): Add 'recursive' flag.
2585         (iduplicable_copy): Use na_object_copy() macro.
2586         (na_object_object_copy): New function.
2588         * src/core/na-factory-object.c (na_factory_object_copy):
2589         No more delete all NADataBoxed, but update those who already exist.
2590         (write_data_iter): Fix return code.
2592         * src/core/na-iduplicable.c (na_iduplicable_duplicate):
2593         Review the rationale, and ensure that the function is recursive.
2595         * src/core/na-object-action.c
2596         * src/core/na-object-item.c:
2597         * src/core/na-object-menu.c:
2598         * src/core/na-object-profile.c:
2599         (instance_constructed): Removed function.
2600         (ifactory_object_copy): Removed function.
2601         (object_copy): New function, implementation of NAObject::copy.
2603         * src/core/na-pivot.c (instance_dispose): Add debug message.
2605         * src/core/na-updater.c (na_updater_remove_item):
2606         Only update tree if object has no parent.
2608         * src/io-gconf/nagp-gconf-provider.c
2609         (ifactory_provider_iface_init): Address nagp_writer_write_start().
2611         * src/io-gconf/nagp-reader.c (nagp_reader_read_data): Comment debug message.
2613         * src/io-gconf/nagp-writer.c:
2614         * src/io-gconf/nagp-writer.h (nagp_writer_write_start): New function.
2615         Write the type of the NAObjectItem.
2617         * src/nact/nact-iaction-tab.c (on_tab_updatable_selection_changed):
2618         * src/nact/nact-icommand-tab.c (on_tab_updatable_selection_changed):
2619         * src/nact/nact-iconditions-tab.c (on_tab_updatable_selection_changed):
2620         As objects have defaults, no more test for null string.
2622         * src/nact/nact-main-menubar.c
2623         (nact_main_menubar_save_items): Dump after check status.
2624         (save_item): Use new na_object_copy() macro.
2626         * src/nact/nact-window.c (nact_window_save_item):
2627         Remove superfluous dumps.
2629 2010-02-27 Pierre Wieser <pwieser@trychlos.org>
2631         * src/core/na-iduplicable.c (na_iduplicable_check_status):
2632         An object without any origin is considered modified.
2634         * src/core/na-iduplicable.c (get_duplicable_str):
2635         NAIDuplicable object defaults to not modified.
2637         * src/core/na-object-item-factory.c:
2638         Pointers to list of subitems are not comparable.
2640         Rewrite the update of the pivot tree where there is a non null origin.
2641         * src/core/na-updater.c:
2642         * src/core/na-updater.h
2643         (na_updater_add_item): Removed function.
2644         (na_updater_insert_item): New function.
2646         * src/io-gconf/nagp-writer.c (nagp_writer_write_data):
2647         Fix the path of written data.
2649         * src/nact/nact-main-menubar.c (on_new_profile_activated): 
2650         Do not attach the profile as this is done by the tree model.
2651         (save_item): Copy the tree item to the pivot one if it exists.
2653         * src/core/na-object-item.c (instance_dispose):
2654         Set the subitems pointer to NULL before unreffing the children.
2656         * src/core/na-object.c (instance_finalize):
2657         Add a protection when finalizing NADataBoxed.
2659         * src/core/na-object-action.c (instance_constructed):
2660         * src/core/na-object-profile.c (instance_constructed):
2661         * src/core/na-object-menu.c (instance_constructed):
2662         Initialize NAIFactoryObject defaults here, rather than in object_new.
2664         * src/api/na-data-def.h: Remove fn_free() function pointer.
2666         * src/core/na-data-boxed.c:
2667         * src/core/na-object-action-factory.c:
2668         * src/core/na-object-id-factory.c:
2669         * src/core/na-object-profile-factory.c
2670         * src/core/na-object-item-factory.c: Updated accordingly.
2672         * src/core/na-iduplicable.c (get_duplicable_str):
2673         Initialize modification status to TRUE if origin is NULL.
2675         * src/nact/nact-tree-model.c (nact_tree_model_fill):
2676         Recheck modification and validity status of newly duplicated object.
2678 2010-02-26 Pierre Wieser <pwieser@trychlos.org>
2680         Fix references count mistakes in NACT.
2682         * src/api/na-object-api.h (na_object_unref_selected_items):
2683         New macro, more specifically targeting the tree selections.
2685         * src/core/na-factory-object.c:
2686         * src/core/na-factory-object.h (na_factory_object_finalize_instance):
2687         Renamed as na_factory_object_finalize().
2689         * src/core/na-object-action.c (instance_finalize):
2690         * src/core/na-object-item.c (instance_finalize):
2691         * src/core/na-object-menu.c (instance_finalize):
2692         * src/core/na-object-profile.c (instance_finalize):
2693         * src/core/na-object.c (instance_finalize):
2694         Move na_object_unref_selected_items() to 
2695         na_object:na_factory_object_finalize.
2697         * src/core/na-pivot.c (instance_dispose, reload_items):
2698         Use non-recursive na_object_unref_items() macro.
2700         * src/nact/nact-assistant-export.c (assist_prepare_confirm):
2701         * src/nact/nact-iactions-list.c (free_items_callback):
2702         * src/nact/nact-main-menubar.c (on_update_sensitivities):
2703         Use recursive na_object_unref_selected_items() macro.
2705         * src/nact/nact-iactions-list.c (filter_selection):
2706         Unref the got object immediately (which was the actual bug).
2708         * src/test/init-dispose-diff.sh: Fix and optimize.
2710         Fix display of modification status in NACT.
2712         * src/api/na-iduplicable.h:
2713         * src/core/na-iduplicable.c (na_iduplicable_set_modified):
2714         New function.
2716         * src/api/na-object-api.h:
2717         * src/api/na-object-item.h:
2718         * src/core/na-object-item.c (na_object_item_unref_items_rec):
2719         New function.
2721         * src/core/na-data-boxed.c (string_are_equal):
2722         * src/core/na-factory-object.c (na_factory_object_are_equal):
2723         * src/core/na-object.c (na_object_object_check_status_up):
2724         Rewrite equality tests.
2726         * src/core/na-object-action-factory.c:
2727         * src/core/na-object-item-factory.c:
2728         * src/core/na-object-profile-factory.c:
2729         * src/core/na-object-action.c:
2730         * src/core/na-object-menu.c:
2731         * src/core/na-object-profile.c:
2732         Review one more time default values and initial allocations.
2734         * src/core/na-pivot.c (instance_dispose, na_pivot_load_items:
2735         Only unref the first level of items.
2737         * src/core/na-updater.c (na_updater_remove_item):
2738         Only unref the removed object as it will take care of also unreffing
2739         its children if its reference count is correct.
2741         * src/nact/nact-iactions-list.c (display_label):
2742         Add a commented debug line.
2744         * src/test/check-po.sh: Test cpompleteness of po/POTFILES.in.
2745         * src/test/time.sh: Bench the elapsed build time.
2747 2010-02-25 Pierre Wieser <pwieser@trychlos.org>
2749         * po/POTFILES.in: Updated.
2751         * src/core/na-object-profile.c:
2752         Remove no more used default profile.
2754         * src/core/na-object-profile.c:
2755         * src/nact/nact-iactions-list.c:
2756         No more include gi18n.h.
2758         * src/api/na-ifactory-object.h:
2759         * src/core/na-ifactory-object.c:
2760         Remove get_default() function from the interface.
2762         * src/api/na-object-action.h:
2763         * src/core/na-object-action.c (na_object_action_new_with_defaults):
2764         New function.
2765         Remove ifactory_object_get_default() implementation.
2767         * src/api/na-object-menu.h:
2768         * src/core/na-object-menu.c (na_object_menu_new_with_defaults):
2769         New function.
2770         Remove ifactory_object_get_default() implementation.
2772         * src/api/na-object-profile.h:
2773         * src/core/na-object-profile.c (na_object_profile_new_with_defaults):
2774         New function.
2775         Remove ifactory_object_get_default() implementation.
2777         * src/core/na-factory-object.c:
2778         * src/core/na-factory-object.h
2779         (na_factory_object_set_defaults): New function.
2780         (na_factory_object_attach_with_default): Removed function.
2781         Cleanup the code.
2783         * src/core/na-object-action-factory.c:
2784         * src/core/na-object-item-factory.c:
2785         * src/core/na-object-profile-factory.c:
2786         Review default values.
2788         * src/nact/nact-iaction-tab.c:
2789         * src/nact/nact-icommand-tab.c:
2790         * src/nact/nact-iconditions-tab.c:
2791         Fix the display of NULL texts.
2793         * src/nact/nact-main-menubar.c:
2794         * src/utils/nautilus-actions-new.c:
2795         Allocate new objects with defaults.
2797         * src/api/na-ifactory-object.h:
2798         * src/api/na-ifactory-provider.h:
2799         * src/api/na-object-api.h:
2800         * src/api/na-object-item.h:
2801         * src/core/na-factory-object.c:
2802         * src/core/na-factory-object.h:
2803         * src/core/na-factory-provider.c:
2804         * src/core/na-factory-provider.h:
2805         * src/core/na-ifactory-provider.c:
2806         * src/core/na-object-action.c:
2807         * src/core/na-object-item.c:
2808         * src/core/na-object-menu.c:
2809         * src/core/na-object-profile.c:
2810         * src/core/na-updater.c:
2811         * src/io-gconf/nagp-gconf-provider.c:
2812         * src/io-gconf/nagp-writer.c:
2813         * src/io-gconf/nagp-writer.h:
2814         Implement NAIfactoryProvider in GConf I/O provider writer.
2816         Fix reference count errors in NACT user interface.
2818         * src/core/na-object-id.c (instance_dispose):
2819         Remove the disposing child from its parent childs list.
2821         * src/core/na-object-item-factory.c (free_items_list):
2822         * src/core/na-object-item.c (instance_dispose):
2823         * src/core/na-object.c (na_object_object_unref):
2824         Fix minor typo.
2826         * src/core/na-object-item.c (na_object_item_unref_items):
2827         Do not recursively unref objects here as this is done in dispose.
2829         * src/nact/nact-tree-model.c (nact_tree_model_dispose):
2830         Add a debug message.
2832         Make the menus exportable.
2834         * src/nact/nact-iactions-list.c:
2835         * src/nact/nact-tree-model-priv.h:
2836         * src/nact/nact-tree-model.c:
2837         * src/nact/nact-tree-model.h:
2838         Change the 'only_actions' semantic by a 'are_profiles_displayed' one.
2839         Profiles are actually stored, but not displayed.
2841         * src/nact/nact-iactions-list.c
2842         (nact_iactions_list_initial_load_toplevel):
2843         The title of the label column is no more localizable.
2845         Fix validity checks.
2847         * src/core/na-data-boxed.c
2848         (string_is_valid, locale_is_valid, slist_is_valid, pointer_is_valid,
2849         uint_is_valid): Fix individual validity checks of elementary data.
2851         * src/core/na-factory-object.c (na_factory_object_is_valid):
2852         First check for presence of mandatory data, then check present data.
2854         * src/core/na-iduplicable.c (na_iduplicable_duplicate):
2855         Also duplicate the status of the source object.
2857         * src/core/na-io-provider.c (na_io_provider_read_items):
2858         Add a comment.
2860         * src/core/na-object-item.c (na_object_item_copy):
2861         * src/core/na-object.c (na_object_object_check_status):
2862         Fix minor typo.
2864         * src/nact/nact-tree-model.c (nact_tree_model_fill):
2865         No more check status of newly duplicated objects.
2867         * src/nact/base-window.c (instance_dispose):
2868         Only set dispose after having tested for main window.
2870         * src/api/na-object-api.h:
2871         Distinguish between profile and item on get_label.
2873         * src/core/na-gtk-utils.c:
2874         * src/core/na-gtk-utils.h: New files.
2875         * src/core/Makefile.am: Updated accordingly.
2877         * src/core/na-data-boxed.c:
2878         * src/core/na-gconf-monitor.c:
2879         * src/core/na-importer-ask.c:
2880         * src/io-gconf/nagp-gconf-provider.c:
2881         * src/io-gconf/nagp-reader.c:
2882         * src/io-gconf/nagp-reader.h:
2883         Fix objects reading from GConf.
2885         * src/nact/nact-assistant-import.c:
2886         * src/nact/nact-iprefs.c:
2887         * src/nact/nact-preferences-editor.c:
2888         * src/nact/nact-tree-model-dnd.c:
2889         * src/utils/nautilus-actions-schemas.c:
2890         Move GConfClient to private object data, unref on dispose.
2892 2010-02-24 Pierre Wieser <pwieser@trychlos.org>
2894         * src/api/na-iimporter.h:
2895         * src/core/Makefile.am:
2896         * src/core/na-iimporter.c:
2897         * src/core/na-importer-ask.c:
2898         * src/core/na-importer-ask.h:
2899         * src/core/na-iprefs.c:
2900         * src/core/na-iprefs.h:
2901         * src/io-xml/naxml-reader.c:
2902         * src/nact/Makefile.am:
2903         * src/nact/nact-assistant-import.c:
2904         * src/nact/nact-iprefs.c:
2905         * src/nact/nact-iprefs.h:
2906         * src/nact/nact-main-window.h:
2907         * src/nact/nact-preferences-editor.c:
2908         * src/nact/nact-tree-model-dnd.c:
2909         * src/nact/nautilus-actions-config-tool.ui:
2910         * src/test/test-reader.c: ImporterAsk dialog.
2912         * src/io-xml/naxml-keys.c:
2913         * src/io-xml/naxml-keys.h:
2914         * src/io-xml/naxml-reader.c: Able to import type 3 XML files.
2916         * exports/config_1af5a47e-96d9_v1.4.schemas:
2917         * src/api/na-data-boxed.h:
2918         * src/api/na-ifactory-object-data.h:
2919         * src/core/na-data-boxed.c:
2920         * src/core/na-factory-object.c:
2921         * src/core/na-object-action.c:
2922         * src/core/na-object-id-factory.c:
2923         * src/core/na-object-item-factory.c:
2924         * src/core/na-object-profile-factory.c:
2925         * src/io-xml/naxml-provider.c:
2926         * src/io-xml/naxml-reader.c:
2927         * src/io-xml/naxml-reader.h: Able to import two profiles.
2929         * src/api/na-data-boxed.h:
2930         * src/api/na-gconf-utils.h:
2931         * src/core/na-data-boxed.c:
2932         * src/core/na-factory-object.c:
2933         * src/core/na-gconf-utils.c:
2934         Make the dump more pretty.
2936         * exports/action-5c4fa203-b5d0_post_v1.11_type_3.xml:
2937         * exports/config-4c4fa203-b5d0_post_v1.11_type_2.schema:
2938         * exports/config_1af5a47e-96d9_v1.schemas:
2939         * exports/config_2af5a47e-96d9_pre_v1.11.schemas:
2940         * exports/config_3c4fa203-b5d0_post_v1.11_type_1.schemas:
2941         Refactor export files to better suit test-reader needs.
2943         * src/api/Makefile.am:
2944         * src/api/na-data-boxed.h:
2945         * src/api/na-data-types.h:
2946         * src/api/na-gconf-utils.h:
2947         * src/api/na-ifactory-object-data.h:
2948         * src/api/na-ifactory-object.h:
2949         * src/api/na-ifactory-provider.h:
2950         * src/api/na-iimporter.h:
2951         * src/api/na-object-api.h:
2952         * src/api/na-object-profile.h:
2953         * src/core/Makefile.am:
2954         * src/core/na-data-boxed.c:
2955         * src/core/na-factory-object.c:
2956         * src/core/na-factory-object.h:
2957         * src/core/na-factory-provider.c:
2958         * src/core/na-factory-provider.h:
2959         * src/core/na-gconf-utils.c:
2960         * src/core/na-ifactory-object.c:
2961         * src/core/na-ifactory-provider.c:
2962         * src/core/na-importer.c:
2963         * src/core/na-importer.h:
2964         * src/core/na-io-provider.c:
2965         * src/core/na-object-action-factory.c:
2966         * src/core/na-object-action.c:
2967         * src/core/na-object-id-factory.c:
2968         * src/core/na-object-item-factory.c:
2969         * src/core/na-object-menu-factory.c:
2970         * src/core/na-object-menu.c:
2971         * src/core/na-object-profile-factory.c:
2972         * src/core/na-object-profile.c:
2973         * src/io-desktop/nadp-desktop-file.c:
2974         * src/io-desktop/nadp-desktop-file.h:
2975         * src/io-desktop/nadp-desktop-provider.c:
2976         * src/io-desktop/nadp-keys.c:
2977         * src/io-desktop/nadp-keys.h:
2978         * src/io-desktop/nadp-reader.c:
2979         * src/io-gconf/nagp-gconf-provider.c:
2980         * src/io-xml/naxml-keys.h:
2981         * src/io-xml/naxml-provider.c:
2982         * src/io-xml/naxml-reader.c:
2983         * src/io-xml/naxml-reader.h:
2984         * src/nact/nact-assistant-import.c:
2985         * src/nact/nact-tree-model-dnd.c:
2986         * src/test/test-include.c:
2987         * src/test/test-reader.c: Able to import a pre-v2 action.
2989 2010-02-22 Pierre Wieser <pwieser@trychlos.org>
2991         * src/api/Makefile.am:
2992         * src/api/na-ifactory-object-enum.h:
2993         * src/api/na-ifactory-object-str.h:
2994         * src/api/na-ifactory-object.h:
2995         * src/api/na-ifactory-provider.h:
2996         * src/api/na-iio-provider.h:
2997         * src/api/na-object-api.h:
2998         * src/core/Makefile.am:
2999         * src/core/na-data-element.c:
3000         * src/core/na-data-element.h:
3001         * src/core/na-factory-object.c:
3002         * src/core/na-factory-object.h:
3003         * src/core/na-ifactory-object.c:
3004         * src/core/na-ifactory-provider-priv.h:
3005         * src/core/na-ifactory-provider.c:
3006         * src/core/na-object-action-enum.c:
3007         * src/core/na-object-action.c:
3008         * src/core/na-object-id-enum.c:
3009         * src/core/na-object-item-enum.c:
3010         * src/core/na-object-item.c:
3011         * src/core/na-object-menu-enum.c:
3012         * src/core/na-object-menu.c:
3013         * src/core/na-object-profile-enum.c:
3014         * src/core/na-object-profile.c:
3015         * src/core/na-object.c:
3016         * src/io-desktop/nadp-desktop-provider.c:
3017         * src/io-desktop/nadp-desktop-provider.h:
3018         * src/io-desktop/nadp-keys.c:
3019         * src/io-desktop/nadp-keys.h:
3020         * src/io-desktop/nadp-reader.c:
3021         * src/io-desktop/nadp-writer.c:
3022         * src/io-xml/naxml-keys.h:
3023         * src/io-xml/naxml-reader.c:
3024         * src/test/test-include.c:
3025         Rename NAIDataFactory interface as NAIFactoryObject.
3027         * src/api/Makefile.am:
3028         * src/api/na-idata-factory-str.h:
3029         * src/api/na-idata-factory.h:
3030         * src/api/na-ifactory-provider-provider.h:
3031         * src/api/na-ifactory-provider.h:
3032         * src/api/na-iio-provider.h:
3033         * src/core/Makefile.am:
3034         * src/core/na-data-factory.c:
3035         * src/core/na-data-factory.h:
3036         * src/core/na-factory-provider.c:
3037         * src/core/na-factory-provider.h:
3038         * src/core/na-ifactory-provider-priv.h:
3039         * src/core/na-ifactory-provider.c:
3040         * src/core/na-object-action.c:
3041         * src/core/na-object-menu.c:
3042         * src/core/na-object-profile.c:
3043         * src/io-desktop/nadp-desktop-provider.c:
3044         * src/io-desktop/nadp-reader.c:
3045         * src/io-desktop/nadp-writer.c:
3046         * src/io-gconf/nagp-gconf-provider.c:
3047         * src/io-xml/naxml-provider.c:
3048         * src/io-xml/naxml-reader.c:
3049         Rename NAIIOFactory interface as NAIFactoryProvider.
3051         * src/core/na-io-provider.c:
3052         * src/core/na-pivot.c:
3053         * src/core/na-pivot.h:
3054         * src/nact/nact-application.c:
3055         * src/nact/nact-main-window.c:
3056         * src/plugin-menu/nautilus-actions.c:
3057         * src/utils/nautilus-actions-run.c
3058         (na_pivot_set_loadable): New function.
3059         (na_pivot_reload_items): Removed function.
3061 2010-02-21 Pierre Wieser <pwieser@trychlos.org>
3063         * src/core/na-pivot.c:
3064         * src/core/na-pivot.h:
3065         * src/core/na-updater.c:
3066         * src/core/na-updater.h:
3067         * src/nact/nact-application.c:
3068         * src/nact/nact-main-window.c:
3069         * src/plugin-menu/nautilus-actions.c:
3070         * src/test/test-reader.c:
3071         * src/utils/nautilus-actions-new.c:
3072         * src/utils/nautilus-actions-run.c:
3073         No more define the loadable set at NAPivot construction time,
3074         but deffer this when actually loading items.
3076 2010-02-20 Pierre Wieser <pwieser@trychlos.org>
3078         * po/POTFILES.in:
3079         * src/api/na-idata-factory-str.h:
3080         * src/api/na-idata-factory.h:
3081         * src/api/na-iimporter.h:
3082         * src/api/na-iio-factory.h:
3083         * src/api/na-object-api.h:
3084         * src/core/Makefile.am:
3085         * src/core/na-data-factory.c:
3086         * src/core/na-data-factory.h:
3087         * src/core/na-idata-factory.c:
3088         * src/core/na-iio-factory.c:
3089         * src/core/na-importer.c:
3090         * src/core/na-importer.h:
3091         * src/core/na-io-factory.c:
3092         * src/core/na-io-factory.h:
3093         * src/core/na-iprefs.h:
3094         * src/core/na-module.c:
3095         * src/core/na-object-action-enum.c:
3096         * src/core/na-object-action.c:
3097         * src/core/na-object-id-enum.c:
3098         * src/core/na-object-item-enum.c:
3099         * src/core/na-object-item.c:
3100         * src/core/na-object-menu-enum.c:
3101         * src/core/na-object-menu.c:
3102         * src/core/na-object-profile-enum.c:
3103         * src/core/na-object-profile.c:
3104         * src/core/na-pivot.c:
3105         * src/io-desktop/Makefile.am:
3106         * src/io-gconf/Makefile.am:
3107         * src/io-xml/Makefile.am:
3108         * src/io-xml/naxml-keys.c:
3109         * src/io-xml/naxml-keys.h:
3110         * src/io-xml/naxml-provider.c:
3111         * src/io-xml/naxml-provider.h:
3112         * src/io-xml/naxml-reader.c:
3113         * src/io-xml/naxml-reader.h:
3114         * src/nact/Makefile.am:
3115         * src/nact/nact-assistant-import.c:
3116         * src/nact/nact-import-ask.c:
3117         * src/nact/nact-iprefs.c:
3118         * src/nact/nact-preferences-editor.c:
3119         * src/nact/nact-tree-model-dnd.c:
3120         * src/plugin-menu/Makefile.am:
3121         * src/plugin-tracker/Makefile.am:
3122         * src/test/.gitignore:
3123         * src/test/Makefile.am:
3124         * src/utils/Makefile.am: Implement NAXMLReader.
3126 2010-02-18 Pierre Wieser <pwieser@trychlos.org>
3128         * src/api/na-core-utils.h:
3129         * src/api/na-idata-factory-str.h:
3130         * src/core/na-core-utils.c:
3131         * src/core/na-data-element.c:
3132         * src/core/na-data-element.h:
3133         * src/core/na-data-factory.c:
3134         * src/core/na-io-provider.c:
3135         * src/core/na-io-provider.h:
3136         * src/core/na-object-action-enum.c:
3137         * src/core/na-object-id-enum.c:
3138         * src/core/na-object-item-enum.c:
3139         * src/core/na-object-item.c:
3140         * src/core/na-object-menu-enum.c:
3141         * src/core/na-object-profile-enum.c:
3142         * src/core/na-object.c:
3143         * src/io-desktop/nadp-writer.c:
3144         * src/io-gconf/nagp-reader.c:
3145         * src/nact/nact-assistant-export.c:
3146         * src/nact/nact-iactions-list-bis.c:
3147         * src/nact/nact-main-statusbar.c:
3148         * src/nact/nact-tree-model-dnd.c:
3149         * src/nact/nact-tree-model.c:
3150         Fix non empty string list.
3151         Fix under reference in export assistant.
3152         Refactor NADataElement class.
3154         * src/core/na-exporter.c (na_exporter_get_formats):
3155         Fix infinite loop.
3157         * src/core/na-iduplicable.c (na_iduplicable_dispose):
3158         Test for effective connexion before trying to disconnect.
3160         * src/core/na-data-element.c (na_data_element_set):
3161         Fix value->type inverted assertion.
3163         * src/api/na-core-utils.h:
3164         * src/core/na-core-utils.c:
3165         * src/io-desktop/nadp-desktop-file.c:
3166         * src/io-desktop/nadp-desktop-provider.c:
3167         * src/io-desktop/nadp-xdg-dirs.c:
3168         Fix reading of localized values in the desktop file.
3170         * src/nact/base-iprefs.c:
3171         * src/nact/base-iprefs.h:
3172         * src/nact/nact-assistant-import.c:
3173         * src/nact/nact-icommand-tab.c:
3174         * src/nact/nact-import-ask.c:
3175         * src/nact/nact-iprefs.c:
3176         * src/nact/nact-iprefs.h:
3177         * src/nact/nact-main-toolbar.c:
3178         * src/nact/nact-preferences-editor.c:
3179         Fix bad inheritance of interfaces.
3181         * src/api/na-object-api.h:
3182         * src/api/na-object.h:
3183         * src/core/na-data-factory.c:
3184         * src/core/na-io-provider.c:
3185         * src/core/na-object-action.c:
3186         * src/core/na-object-id.c:
3187         * src/core/na-object-menu.c:
3188         * src/core/na-object-profile.c:
3189         * src/core/na-object.c: Fix validity check of the items.
3191 2010-02-17 Pierre Wieser <pwieser@trychlos.org>
3193         * po/POTFILES.in:
3194         * src/test/test-parse-uris.c:
3195         * src/nact/nact-preferences-editor.c:
3196         * src/nact/nact-main-statusbar.c:
3197         * src/nact/nact-iconditions-tab.c: Update list of translatable files.
3199         * src/api/na-core-utils.h:
3200         * src/api/na-idata-factory-str.h:
3201         * src/api/na-idata-factory.h:
3202         * src/api/na-iduplicable.h:
3203         * src/core/na-core-utils.c:
3204         * src/core/na-data-element.c:
3205         * src/core/na-data-element.h:
3206         * src/core/na-data-factory.c:
3207         * src/core/na-data-factory.h:
3208         * src/core/na-idata-factory.c:
3209         * src/core/na-iduplicable.c:
3210         * src/core/na-io-provider.c:
3211         * src/core/na-iprefs.c:
3212         * src/core/na-object-action-enum.c:
3213         * src/core/na-object-action.c:
3214         * src/core/na-object-id-enum.c:
3215         * src/core/na-object-item-enum.c:
3216         * src/core/na-object-menu.c:
3217         * src/core/na-object-profile-enum.c:
3218         * src/core/na-object-profile.c:
3219         * src/core/na-object.c:
3220         * src/io-desktop/nadp-desktop-provider.c:
3221         * src/io-gconf/nagp-reader.c: Add is_valid() functions.
3223         * src/utils/nautilus-actions-run.c: Restore production loadable set.
3225         * src/api/na-idata-factory.h:
3226         * src/api/na-iio-factory.h:
3227         * src/core/na-data-factory.c:
3228         * src/core/na-iio-factory.c:
3229         * src/core/na-object-action.c:
3230         * src/core/na-object-menu.c:
3231         * src/core/na-object-profile.c:
3232         * src/io-desktop/nadp-desktop-provider.c:
3233         * src/io-gconf/nagp-gconf-provider.c:
3234         * src/io-xml/naxml-provider.c:
3235         Add read_start() and write_start() to NAIIOFactory and 
3236         NAIDataFactory interfaces.
3238         * po/POTFILES.in: Update list of translatable files.
3240         * src/utils/console-utils.c:
3241         * src/utils/nautilus-actions-run.c: Update command-line utilities.
3243         * src/test/test-include.c:
3244         * src/test/test-parse-uris.c: Update test utilities.
3246         * src/plugin-tracker/na-tracker-dbus.c:
3247         * src/plugin-tracker/na-tracker.c: Update NATracker plugin.
3249         * src/core/Makefile.am:
3250         * src/core/na-updater.c:
3251         * src/core/na-updater.h:
3252         * src/nact/nact-window.c:
3253         * src/nact/nact-window.h: Update NactWindow class.
3255         * src/api/na-object-api.h:
3256         * src/api/na-object-item.h:
3257         * src/core/na-object-item.c:
3258         * src/nact/nact-tree-model-dnd.c:
3259         * src/nact/nact-tree-model.c: Update NactTreeModel class.
3261         * src/api/na-core-utils.h:
3262         * src/api/na-object-api.h:
3263         * src/api/na-object-profile.h:
3264         * src/core/na-core-utils.c:
3265         * src/core/na-object-profile.c:
3266         * src/io-gconf/nagp-reader.c:
3267         * src/nact/nact-ibackground-tab.c:
3268         * src/nact/nact-schemes-list.c: Update schemes list.
3270         * src/nact/nact-providers-list.c: Update providers list.
3272         * src/core/na-iprefs.c:
3273         * src/core/na-iprefs.h:
3274         * src/nact/nact-assistant-export.c:
3275         * src/nact/nact-export-ask.c:
3276         * src/nact/nact-export-format.c:
3277         * src/nact/nact-export-format.h:
3278         * src/nact/nact-preferences-editor.c:
3279         * src/nact/nact-preferences.ui: Update NactPreferencesEditor class.
3281         * src/nact/base-iprefs.c:
3282         * src/nact/base-iprefs.h:
3283         * src/nact/nact-main-window.c:
3284         * src/nact/nact-main-window.h: Update NactMainWindow class.
3286         * src/core/na-iprefs.c:
3287         * src/core/na-iprefs.h:
3288         * src/nact/nact-iprefs.c:
3289         * src/nact/nact-iprefs.h:
3290         * src/nact/nact-main-toolbar.c: Update toolbar.
3292         * src/api/na-iio-provider.h:
3293         * src/core/na-io-provider.c:
3294         * src/core/na-io-provider.h:
3295         * src/nact/nact-main-statusbar.c: Update status bar.
3297         * src/api/na-object-action.h:
3298         * src/api/na-object-api.h:
3299         * src/api/na-object-id.h:
3300         * src/api/na-object-item.h:
3301         * src/api/na-object-profile.h:
3302         * src/api/na-object.h:
3303         * src/core/na-object-action.c:
3304         * src/core/na-object-id.c:
3305         * src/core/na-object-item.c:
3306         * src/core/na-object-profile.c:
3307         * src/core/na-object.c:
3308         * src/core/na-pivot.c:
3309         * src/core/na-pivot.h:
3310         * src/core/na-updater.c:
3311         * src/core/na-updater.h:
3312         * src/nact/nact-export-format.c:
3313         * src/nact/nact-main-menubar.c: Update menu bar.
3315         * src/nact/nact-iprefs.c: Update NactIPrefs interface.
3317         * src/api/na-core-utils.h:
3318         * src/core/na-core-utils.c:
3319         * src/nact/nact-iconditions-tab.c:
3320         Update NactIConditionsTab interface.
3322         * src/api/na-core-utils.h:
3323         * src/core/na-core-utils.c:
3324         * src/core/na-iprefs.c:
3325         * src/core/na-iprefs.h:
3326         * src/nact/nact-icommand-tab.c:
3327         * src/nact/nact-iprefs.c:
3328         * src/nact/nact-iprefs.h: Update NactICommandTab interface.
3330         * src/api/na-object-api.h:
3331         * src/api/na-object-profile.h:
3332         * src/core/na-object-profile.c:
3333         * src/nact/nact-iaction-tab.c:
3334         * src/nact/nact-iadvanced-tab.c:
3335         * src/nact/nact-ibackground-tab.c: Update NactIBackgroundTab
3336         interface.
3338         * src/api/na-object-api.h:
3339         * src/api/na-object-item.h:
3340         * src/nact/nact-gtk-utils.c:
3341         * src/nact/nact-gtk-utils.h:
3342         * src/nact/nact-iaction-tab.c: Update NactIActionTab interface.
3344         * core/na-object-action-fn.h:
3345         * core/na-object-action-priv.h:
3346         * core/na-object-fn.h:
3347         * core/na-object-id-fn.h:
3348         * core/na-object-id-priv.h:
3349         * core/na-object-item-fn.h:
3350         * core/na-object-item-priv.h:
3351         * core/na-object-menu-fn.h:
3352         * core/na-object-menu-priv.h:
3353         * core/na-object-profile-fn.h:
3354         * core/na-object-profile-priv.h: Remove no more used files.
3356         * src/api/na-iduplicable.h:
3357         * src/api/na-object-api.h:
3358         * src/api/na-object-item.h:
3359         * src/api/na-object.h:
3360         * src/core/na-iduplicable.c:
3361         * src/core/na-object-item.c:
3362         * src/core/na-object.c:
3363         * src/nact/nact-iactions-list-bis.c:
3364         * src/nact/nact-iactions-list.c:
3365         * src/nact/nact-window.c:
3366         * src/nact/nact-window.h: Update NactIActionsList interface.
3368         * src/api/na-iduplicable.h:
3369         * src/api/na-object-api.h:
3370         * src/api/na-object-item.h:
3371         * src/core/na-exporter.c:
3372         * src/core/na-exporter.h:
3373         * src/core/na-iduplicable.c:
3374         * src/core/na-object-item.c:
3375         * src/nact/Makefile.am:
3376         * src/nact/nact-assistant-export.c:
3377         * src/nact/nact-clipboard.c:
3378         * src/nact/nact-clipboard.h:
3379         * src/nact/nact-confirm-logout.c:
3380         * src/nact/nact-export-ask.c:
3381         * src/nact/nact-export-format.c:
3382         * src/nact/nact-export-format.h:
3383         * src/nact/nact-iprefs.h:
3384         * src/nact/nact-main-menubar.h:
3385         * src/nact/nact-assistant-export.c:
3386         * src/nact/nact-assistant-export.h:
3387         * src/nact/nact-assistant-export.ui:
3388         * src/nact/nact-assistant-import.c:
3389         * src/nact/nact-import-ask.c:
3390         * src/nact/nact-import-ask.h:
3391         * src/nact/nact-iprefs.c:
3392         * src/nact/nact-iprefs.h:
3393         * src/nact/nact-tree-model.h: Update Nact classes.
3395         Refactor: move all XML code to src/io-xml plugin.
3397         * src/nact/Makefile.am:
3398         * src/nact/base-application-class.h:
3399         * src/nact/base-assistant.h:
3400         * src/nact/base-assistant.h:
3401         * src/nact/base-builder.h:
3402         * src/nact/base-dialog.h:
3403         * src/nact/base-iprefs.c:
3404         * src/nact/base-window-class.h: Update typo in Base class headers.
3406         * src/core/na-importer.c:
3407         * src/core/na-importer.h: New files.
3409         * src/core/Makefile.am:
3410         * src/core/na-iimporter.c:
3411         * src/core/na-io-provider.c:
3412         * src/core/na-iprefs.h: Update core library.
3414         * src/nact/nact-export-format.h:
3415         * src/nact/nact-export-format.c:
3416         * src/core/na-exporter.h:
3417         * src/core/na-exporter.c: Update export treatements.
3419         * src/api/na-iexporter.h:
3420         * src/core/na-iexporter.c:
3421         * src/io-xml/naxml-module.c:
3422         * src/io-xml/naxml-provider.c: Update NAIExporter interface.
3424         Define NAExportFormat new class.
3426         * src/core/na-export-format.c:
3427         * src/core/na-export-format.h: New files.
3429         Rename src/nact/nact-assistant-export-ask.{c,h} to
3430         src/nact/nact-export-ask.{c,h}
3432 2010-02-15 Pierre Wieser <pwieser@trychlos.org>
3434         Now install defined ids in docdir.
3436         * doc/export-format-id: New file.
3438         * doc/Makefile.am: Updated accordingly.
3440         Define NactIPrefs interface.
3442         * src/nact/nact-iprefs.c:
3443         * src/nact/nact-iprefs.h: New files.
3445         Update src/nact/
3446         Remove useless src/private directory.
3448         Define NAUpdater class.
3450         * src/core/na-updater.c:
3451         * src/core/na-updater.h: New files.
3453         Update src/core/na-pivot.{c,h}
3454         Update src/core/na-module.{c,h}
3455         Update src/core/na-iprefs.{c,h}
3456         Update src/core/na-ipivot-consumer.{c,h}
3457         Update src/core/na-io-factory.{c,h}
3458         Update src/core/na-io-provider.{c,h}
3459         Update src/core/na-iabout.{c,h}
3460         Update src/utils.
3462 2010-02-15 Deji Akingunola <dakingun@gmail.com>
3464         * src/test/Makefile.am: Fix typo.
3466 2010-02-15 Pierre Wieser <pwieser@trychlos.org>
3468         Update src/test.
3469         Update src/plugin-tracker.
3470         Update src/plugin-menu.
3472         Define NAIImporter interface.
3474         * src/api/na-iimporter.h:
3475         * src/core/na-iimporter.c: New files.
3477         Define NAIExporter interface.
3479         * src/api/na-iexporter.h:
3480         * src/core/na-iexporter.c: New files.
3482         * src/core/na-dbus-tracker.h: New file.
3484         Remove useless src/api/na-gconf-keys.h
3485         Update GConf I/O provider.
3486         Create src/io-gconf/nagp-keys.c
3487         Rename src/io-gconf/nagp-write.{c,h} to src/io-gconf/nagp-writer.{c,h}
3488         Rename src/io-gconf/nagp-read.{c,h} to src/io-gconf/nagp-reader.{c,h}
3490         Update I/O desktop provider.
3492         * src/io-desktop/nadp-keys.c:
3493         * src/io-desktop/nadp-keys.h: New files.
3495         Rename src/io-desktop/nadp-xdg-data-dirs.{c,h} to src/io-desktop/nadp-xdg-dirs.{c,h}
3496         Rename src/io-desktop/nadp-write.{c,h} to src/io-desktop/nadp-writer.{c,h}
3497         Rename src/io-desktop/nadp-read.{c,h} to src/io-desktop/nadp-reader.{c,h}
3499         NAObject-derived classes implement NAIDataFactory interface.
3501         * src/core/na-object-id-enum.c:
3502         * src/core/na-object-item-enum.c:
3503         * src/core/na-object-action-enum.c:
3504         * src/core/na-object-profile-enum.c:
3505         * src/core/na-object-menu-enum.c: New files.
3507         Define NADataElement class.
3509         * src/core/na-data-element.c:
3510         * src/core/na-data-element.h: New files.
3512         Define NAIDataFactory interface.
3514         * src/api/na-idata-factory.h:
3515         * src/api/na-idata-factory-enum.h:
3516         * src/api/na-idata-factory-str.h:
3517         * src/core/na-idata-factory.c:
3518         * src/core/na-data-factory.c:
3519         * src/core/na-data-factory.h: New files.
3521         Define NAIIOFactory interface.
3523         * src/api/na-iio-factory.h:
3524         * src/api/na-iio-factory-factory.h:
3525         * src/core/na-iio-factory.c:
3526         * src/core/na-io-factory.c:
3527         * src/core/na-io-factory.h: New files.
3529         Rename src/core/na-object-menu-class.h to src/api/na-object-menu.h
3530         Rename src/core/na-object-profile-class.h to src/api/na-object-profile.h
3531         Rename src/core/na-object-action-class.h to src/api/na-object-action.h
3532         Rename src/core/na-object-item-class.h to src/api/na-object-item.h
3533         Rename src/core/na-object-id-class.h to src/api/na-object-id.h
3534         Rename src/core/na-object-class.h to src/api/na-object.h
3535         Rename src/core/na-iduplicable.h to src/api/na-iduplicable.h
3536         Rename src/core/na-gconf-utils.h to src/api/na-gconf-utils.h
3537         Rename src/api/na-iio-provider.c to src/core/na-iio-provider.c
3539         * src/api/na-dbus.h: Update defined name.
3541         * m4/na-log-domains.m4: Update log domains with new subdirs.
3543         * doc/io-provider-id: Reference na-xml XML provider.
3545         Rename src/api/na-gconf-monitor.c to src/core/na-gconf-monitor.c
3546         Rename src/core/na-utils.h to src/api/na-core-utils.h
3547         Rename src/core/na-utils.c to src/core/na-core-utils.c
3549         * src/api/Makefile.am:
3550         * src/core/Makefile.am: Updated accordingly.
3552         * src/core/na-core-utils.c:
3553         * src/core/na-core-utils.h: Normalize functions names.
3555         Merge src/private/ and src/runtime to src/core/
3556         Rename src/api/na-api.h to src/api/na-extension.h
3558         * src/api/README:
3559         * src/io-desktop/nadp-module.c:
3560         * src/io-gconf/nagp-module.c:
3561         * src/runtime/na-module.c: Updated accordingly.
3563         Define XML provider as a dynamic module.
3564         
3565         * io-xml/Makefile.am:
3566         * io-xml/naxml-module.c:
3567         * io-xml/naxml-provider.c:
3568         * io-xml/naxml-provider.h: New files.
3570         Rename source tree from nautilus-actions/ to src/
3571         Rename src/io-provider-desktop/ to src/io-desktop/
3572         Rename src/io-provider-gconf/ to src/io-gconf/
3573         Rename src/plugin to src/plugin-menu/
3574         Rename src/tracker to src/plugin-tracker/
3576         * Makefile.am:
3577         * configure.ac:
3578         * po/POTFILES.in: Updated accordingly.
3580 2010-01-31 Pierre Wieser <pwieser@trychlos.org>
3582         * nautilus-actions/io-provider-desktop/nadp-desktop-file.c:
3583         * nautilus-actions/io-provider-desktop/nadp-desktop-file.h:
3584         * nautilus-actions/io-provider-desktop/nadp-read.c:
3585         * nautilus-actions/io-provider-desktop/nadp-utils.c:
3586         * nautilus-actions/io-provider-desktop/nadp-utils.h:
3587         * nautilus-actions/io-provider-gconf/nagp-read.c:
3588         Implements reading of .desktop files.
3590         * nautilus-actions/io-provider-gconf/nagp-write.c (write_item_action):
3591         Always writes the 'OBJECT_ITEM_TOOLBAR_LABEL_ENTRY' key.
3593 2010-01-30 Pierre Wieser <pwieser@trychlos.org>
3595         No more record the toolbar_same_label indicator.
3597         * nautilus-actions.schemas.in:
3598         Remove schema for 'toolbar-same-label' key.
3600         * nautilus-actions/io-provider-gconf/nagp-read.c
3601         (read_item_action_properties):
3602         No more read the 'toolbar-same-label' entry.
3604         * nautilus-actions/io-provider-gconf/nagp-write.c (write_item_action):
3605         No more write the 'toolbar-same-label' entry.
3606         Remove the key if undeeded.
3608         * nautilus-actions/nact/nact-iaction-tab.c
3609         (on_toolbar_same_label_toggled): Fix toolbar label setup.
3611         * nautilus-actions/nact/nact-xml-reader.c (apply_values):
3612         No more read OBJECT_ITEM_TOOLBAR_SAME_LABEL_ENTRY node.
3614         * nautilus-actions/runtime/na-gconf-utils.c:
3615         * nautilus-actions/runtime/na-gconf-utils.h
3616         (na_gconf_utils_remove_entry): New function.
3618         * nautilus-actions/runtime/na-xml-writer.c
3619         (create_schema_entry, create_dump_entry):
3620         No more write the 'toolbar-same-label' entry.
3622         * nautilus-actions/nact/nact-iaction-tab.c
3623         (on_tab_updatable_selection_changed):
3624         Update tab label depending on the currently selected item.
3626         * nautilus-actions/nact/nautilus-actions-config-tool.ui:
3627         No more give a special name to Action tab label.
3629         * nautilus-actions/nact/nautilus-actions-config-tool.ui:
3630         Fix Action tab layout.
3632         A full rewriting of the writability of items vs. providers.
3634         * data/nautilus-actions.schemas.in:
3635         Describe 'export-format' and 'io-providers-order' keys.
3636         Define 'mandatory/all/locked' key to lock all configuration.
3638         * doc/io-provider-id: Reserve 'all' special provider_id.
3640         * nautilus-actions/api/na-gconf-monitor.c
3641         * nautilus-actions/io-provider-desktop/nadp-desktop-file.c
3642         * nautilus-actions/io-provider-desktop/nadp-desktop-provider.c
3643         * nautilus-actions/nact/base-application.c
3644         * nautilus-actions/nact/base-assistant.c
3645         * nautilus-actions/nact/base-builder.c
3646         * nautilus-actions/nact/base-dialog.c
3647         * nautilus-actions/nact/base-window.c
3648         * nautilus-actions/nact/nact-application.c
3649         * nautilus-actions/nact/nact-assistant-export-ask.c
3650         * nautilus-actions/nact/nact-assistant-export.c
3651         * nautilus-actions/nact/nact-assistant-import-ask.c
3652         * nautilus-actions/nact/nact-assistant-import.c
3653         * nautilus-actions/nact/nact-clipboard.c
3654         * nautilus-actions/nact/nact-confirm-logout.c
3655         * nautilus-actions/nact/nact-window.c
3656         * nautilus-actions/runtime/na-module.c
3657         (instance_init, instance_dispose):
3658         Review debug messages formatting.
3660         * nautilus-actions/api/na-iio-provider.c:
3661         * nautilus-actions/api/na-iio-provider.h
3662         (is_writable): Removed API.
3663         (is_able_to_write): New API.
3664         Review operations return codes.
3665         Add provider status.
3667         * nautilus-actions/io-provider-desktop/nadp-desktop-provider.c:
3668         * nautilus-actions/io-provider-desktop/nadp-desktop-provider.h:
3669         * nautilus-actions/io-provider-desktop/nadp-read.c:
3670         * nautilus-actions/io-provider-desktop/nadp-write.c:
3671         * nautilus-actions/io-provider-desktop/nadp-write.h:
3672         * nautilus-actions/io-provider-gconf/nagp-gconf-provider.c:
3673         * nautilus-actions/io-provider-gconf/nagp-write.c:
3674         * nautilus-actions/io-provider-gconf/nagp-write.h:
3675         Updated to new NAIIOProvider API.
3677         * nautilus-actions/nact/nact-iaction-tab.c:
3678         * nautilus-actions/nact/nact-iactions-list.c:
3679         * nautilus-actions/nact/nact-iactions-list.h:
3680         * nautilus-actions/nact/nact-iadvanced-tab.c:
3681         * nautilus-actions/nact/nact-ibackground-tab.c:
3682         * nautilus-actions/nact/nact-icommand-tab.c:
3683         * nautilus-actions/nact/nact-iconditions-tab.c:
3684         * nautilus-actions/nact/nact-main-menubar.c:
3685         * nautilus-actions/nact/nact-main-tab.h:
3686         * nautilus-actions/nact/nact-main-window.c:
3687         * nautilus-actions/nact/nact-providers-list.c:
3688         * nautilus-actions/nact/nact-tree-model-dnd.c:
3689         * nautilus-actions/nact/nact-tree-model.c:
3690         * nautilus-actions/nact/nact-window.c:
3691         * nautilus-actions/nact/nact-window.h:
3692         Take advantage of the new global item writability status.
3694         * nautilus-actions/nact/nact-main-statusbar.c:
3695         * nautilus-actions/nact/nact-main-statusbar.h
3696         (nact_main_statusbar_set_locked): Display the reason.
3698         * nautilus-actions/nact/nact-iactions-list-bis.c
3699         (nact_iactions_list_bis_list_modified_items):
3700         Dump the raw content of the list.
3702         * nautilus-actions/plugin/nautilus-actions.c (instance_init):
3703         * nautilus-actions/runtime/na-pivot.c:
3704         * nautilus-actions/runtime/na-pivot.h(na_pivot_new):
3705         * nautilus-actions/utils/nautilus-actions-new.c (write_to_gconf):
3706         * nautilus-actions/utils/nautilus-actions-run.c (get_action):
3707         New na_pivot_new() signature.
3709         * nautilus-actions/private/na-object-item-fn.h:
3710         * nautilus-actions/private/na-object-item-priv.h:
3711         * nautilus-actions/private/na-object-item.c:
3712         The NAObjectItem now embeds a NAIOProvider pointer.
3714         * nautilus-actions/runtime/na-io-provider.c:
3715         * nautilus-actions/runtime/na-io-provider.h:
3716         Load all available and defined I/O providers.
3718         * nautilus-actions/test/init-dispose-diff.sh: New file.
3720 2010-01-27 Pierre Wieser <pwieser@trychlos.org>
3722         * nautilus-actions/nact/nact-preferences.ui:
3723         Fix the name of the Down button.
3724         Invert buttons so that Up is at the top, and Down at the bottom.
3726         * nautilus-actions/nact/nact-providers-list.c:
3727         Activate up/down buttons.
3728         Save the I/O providers individual preferences.
3729         Load and save in order.
3731         * nautilus-actions/runtime/na-io-provider.c:
3732         Order the I/O providers in write priority.
3734 2010-01-26 Pierre Wieser <pwieser@trychlos.org>
3736         * nautilus-actions/io-provider-gconf/nagp-read.c
3737         (nagp_iio_provider_read_items): Remove path trace.
3739         * nautilus-actions/nact/nact-application.c
3740         (appli_initialize_application):
3741         * nautilus-actions/plugin/nautilus-actions.c (instance_init):
3742         * nautilus-actions/utils/nautilus-actions-new.c (write_to_gconf):
3743         * nautilus-actions/utils/nautilus-actions-run.c (get_action):
3744         Adapt to new na_pivot_new().
3746         * nautilus-actions/nact/nact-iaction-tab.c (display_provider_name):
3747         Adapt to the temporary new NAIOProvider API.
3749         * nautilus-actions/nact/nact-preferences-editor.c:
3750         Fix compilation error by adding nact-providers-list.h include file.
3752         * nautilus-actions/nact/nact-providers-list.c:
3753         Display list of providers with their initial state.
3755         * nautilus-actions/plugin/nautilus-module.c:
3756         * nautilus-actions/tracker/na-tracker-plugin.c:
3757         (nautilus_module_initialize):
3758         Prefix the log message with "[N-A]".
3760         * nautilus-actions/runtime/na-gconf-utils.c:
3761         * nautilus-actions/runtime/na-gconf-utils.h
3762         (na_gconf_utils_get_subdirs, na_gconf_utils_free_subdirs):
3763         New functions.
3765         * nautilus-actions/runtime/na-io-provider.c:
3766         * nautilus-actions/runtime/na-io-provider.h:
3767         Refactoring to keep a static list of capable I/O providers.
3769         * nautilus-actions/runtime/na-module.c
3770         (na_module_load_modules): Only displays the name of the loaded module.
3771         (is_a_na_plugin): Add a trace with the full path of the module.
3773         * nautilus-actions/runtime/na-pivot.c:
3774         * nautilus-actions/runtime/na-pivot.h:
3775         Define loadable_set and io_provider_set as construct-only properties.
3776         Remove unused action_changed_handler stuff.
3777         No more maintain the list of capable I/O providers.
3779 2010-01-25 Pierre Wieser <pwieser@trychlos.org>
3781         * nautilus-actions/runtime/na-pivot.c:
3782         * nautilus-actions/runtime/na-pivot.h: Source reorganization.
3784         * nautilus-actions/runtime/na-pivot.c:
3785         * nautilus-actions/runtime/na-pivot.h (na_pivot_get_automatic_reload):
3786         Remove unused function.
3788         * nautilus-actions/runtime/na-pivot.c:
3789         * nautilus-actions/runtime/na-pivot.h (na_pivot_set_population):
3790         Function is renamed to na_pivot_set_loadable_population().
3791         The enum is named NAPivotLoadable.
3793         * nautilus-actions/plugin/nautilus-actions.c (instance_init):
3794         * nautilus-actions/utils/nautilus-actions-run.c (get_action):
3795         Adjusted accordingly.
3797         * nautilus-actions/runtime/na-module.c: Source slight adjustment.
3799 2010-01-23 Pierre Wieser <pwieser@trychlos.org>
3801         * nautilus-actions/nact/nact-schemes-list.c: Cleanup the source file.
3803         * nautilus-actions/nact/nact-preferences.ui:
3804         Reset tooltips in all preference pages.
3806         * nautilus-actions/nact/nact-providers-list.c:
3807         * nautilus-actions/nact/nact-providers-list.h: New files.
3809         * nautilus-actions/nact/Makefile.am: Updated accordingly.
3811         * nautilus-actions/nact/nact-preferences-editor.c:
3812         Updated to handle a sixth tab.
3814 2010-01-23 Pierre Wieser <pwieser@trychlos.org>
3816         * configure.ac: Bump version number.
3818         * All source files: Updated copyright notice.
3820 2010-01-23 Pierre Wieser <pwieser@trychlos.org>
3822         * NEWS: Updated for release.
3824         * po/POTFILES.in:
3825         Add nautilus-actions/nact/nact-preferences.ui file.
3827         * configure.ac:
3828         Add a dependancy on dbus-lib-1 for tracker.
3830         * nautilus-actions/nact/base-window.c (search_for_child_widget):
3831         Use GtkBuildable interface instead of 'name' field (fix #607704).
3833 2010-01-20 Pierre Wieser <pwieser@trychlos.org>
3835         * data/nautilus-actions.schemas.in:
3836         Add a schema for 'na-desktop/locked' mandatory key.
3838         * .gitignore:
3839         Ignore eclipse-specific files.
3841         * data/nautilus-actions.schemas.in:
3842         Fix default value for level zero key.
3843         Describe the new 'schemes' preference key.
3845         * nautilus-actions/nact/nact-preferences.ui:
3846         * nautilus-actions/nact/nact-schemes-list.c:
3847         * nautilus-actions/nact/nact-schemes-list.h: New files.
3849         * nautilus-actions/nact/nact-iadvanced-tab.c:
3850         * nautilus-actions/nact/nact-preferences-editor.c:
3851         * nautilus-actions/nact/Makefile.am: Updated accordingly.
3853 2010-01-17 Pierre Wieser <pwieser@trychlos.org>
3855         * nautilus-actions/nact/nact-assistant-export.ui:
3856         * nautilus-actions/nact/nautilus-actions-config-tool.ui:
3857         Forces default orientation of vboxes (fix #607218).
3859         * nautilus-actions/nact/nact-main-toolbar.c:
3860         * nautilus-actions/nact/nact-main-toolbar.h: New files.
3862         * nautilus-actions/nact/Makefile.am:
3863         * nautilus-actions/nact/nact-main-menubar.c: Updated accordingly.
3865 2010-01-16 Pierre Wieser <pwieser@trychlos.org>
3867         * nautilus-actions/nact/nact-clipboard.c:
3868         Fix primary clipboard management.
3870         * nautilus-actions/nact/nact-main-menubar.c     (on_update_sensitivities):
3871         Fix cut/copy/duplicate/delete sensitivity when selection is     multiple.
3873 2010-01-15 Pierre Wieser <pwieser@trychlos.org>
3875         * nautilus-actions/nact/nact-iactions-list-bis.c:
3876         * nautilus-actions/nact/nact-iactions-list.h
3877         (nact_iactions_list_bis_clear_selection): New function.
3879         * nautilus-actions/nact/nact-iactions-list.c (nact_iactions_list_fill):
3880         Clear the selection before filling the tree view.
3882         * nautilus-actions/nact/nact-main-menubar.c (on_update_sensitivities):
3883         Force the count of selected items to be consistant with the list.
3885         * nautilus-actions/nact/nact-tree-model-dnd.c (drop_inside):
3886         Dropped new item is set as new.
3888         * nautilus-actions/nact/nact-iactions-list.c (filter_selection):
3889         Review selection criteria, introducing implicit selection.
3891         * nautilus-actions/nact/nact-main-menubar.c (on_update_sensitivities):
3892         Review menu items sensitivity, especially when provider is not writable.
3893         Enable new item even when selection is multiple.
3895         * nautilus-actions/nact/nact-window.c:
3896         * nautilus-actions/nact/nact-window.h (nact_window_is_writable_item):
3897         New function.
3899 2010-01-05 Pierre Wieser <pwieser@trychlos.org>
3901         * configure.ac: Bump version number.
3903 2010-01-05 Pierre Wieser <pwieser@trychlos.org>
3905         * configure.ac: Add -Wformat=2 compilation option.
3907         * nautilus-actions/nact/nact-gtk-utils.c (nact_gtk_utils_set_editable):
3908         * nautilus-actions/nact/nact-iactions-list.c
3909         (nact_iactions_list_runtime_init_toplevel):
3910         * nautilus-actions/nact/nact-iadvanced-tab.c
3911         (runtime_init_connect_signals):
3912         * nautilus-actions/nact/nact-ibackground-tab.c
3913         (nact_ibackground_tab_runtime_init_toplevel):
3914         Substitute gtk_cell_layout_get_cells to obsoleted
3915         gtk_tree_view_column_get_cell_renderers.
3917         * nautilus-actions/runtime/na-xml-writer.c (na_xml_writer_output_xml):
3918         Use correct printf format.