Fix mimetypes and folders selection
[nautilus-actions.git] / ChangeLog
blobb22551402b969979339d57d491a1beee455a9994
1 2010-08-19 Pierre Wieser <pwieser@trychlos.org>
3         * src/core/na-icontext.c
4         (is_mimetype_of): Take care of wildcard expressions.
5         (is_candidate_for_folders): Only try to g_pattern_match() if has pattern.
7         * src/plugin-menu/nautilus-actions.c
8         (build_nautilus_menus): Add debug messages.
10         * data/actions/open-terminal-here.desktop:
11         * data/actions/show-na-parameters.desktop: Fix typo.
13         * src/api/na-object-item.h:
14         * src/core/na-object-item.c
15         (na_object_item_deals_with_version): New function.
17         * src/api/na-object-profile.h:
18         * src/core/na-object-profile.c
19         (na_object_profile_convert_v2_to_last): New function.
21         * src/core/na-object-action.c:
22         * src/core/na-object-menu.c
23         (ifactory_object_read_start): Removed (unused) function.
25         * src/io-xml/naxml-reader.c (naxml_reader_read_done): Cleanup code.
27         * src/nact/nact-ibasenames-tab.c (on_tab_updatable_selection_changed):
28         Display matchcase status for the current context.
30 2010-08-18 Pierre Wieser <pwieser@trychlos.org>
32         * src/core/na-object-profile.c (convert_pre_v3_parameters_str):
33         As a special optimization, converts '%d/%f' to '%f'.
35         * src/io-xml/naxml-reader.c (naxml_reader_read_data):
36         Let a node available for a second reading in case of a multiple-defined
37         data (e.g. icon which exists in localized and unlocalized forms).
39         * src/io-desktop/nadp-desktop-file.c (nadp_desktop_file_new_from_uri):
40         Do not warn about malformed .desktop file when importing an URI.
42         Path+parameters are splitted whatever be the I/O importer.
44         * src/io-desktop/nadp-reader.c (read_done_profile_split_exec): Removed function.
46         * src/core/na-object-profile.c (split_path_parameters): New function.
48         * src/core/na-data-boxed.c (uint_set_from_string):
49         Fix default uint value when reading null string.
51         * src/nact/nact-assistant-import.c (assistant_apply): Cleanup code.
53 2010-08-17 Pierre Wieser <pwieser@trychlos.org>
55         * Replace GtkLable with GtkTextView in import and export assistants.
57         * src/nact/nact-assistant-export.c (assist_prepare_exportdone):
58         * src/nact/nact-assistant-import.c (prepare_importdone):
59         * src/nact/nact-assistant-export.ui:
60         * src/nact/nautilus-actions-config-tool.ui: Updated accordingly.
62         * src/core/na-core-utils.c (na_core_utils_str_split_first_word):
63         Accepts null or empty input string or output pointers.
65         * src/io-desktop/nadp-reader.c (read_done_profile_split_exec):
66         Only try to split a non-null command.
68 2010-08-16 Pierre Wieser <pwieser@trychlos.org>
70         * doc/nact/Makefile.am: Fix PDF build.
72         * configure.ac: Bump version number after unstable release.
74         * doc/nact/Makefile.am: Fix manuals cleanup.
76         * src/core/na-icontext.c (is_candidate_for_schemes):
77         Remove wrong variable override.
79         * configure.ac: Bump version number after unstable release.
81 2010-08-15 Pierre Wieser <pwieser@trychlos.org>
83         * data/actions/Makefile.am:
84         * data/actions/my-first-na-action.desktop:
85         * data/actions/my-first-na-menu.desktop:
86         * data/actions/open-terminal-here.desktop:
87         * data/actions/show-na-parameters.desktop: New files.
89         * data/gconf-schemas/Makefile.am:
90         Install GConf schemas in PKGDATADIR/gconf-schemas.
92         * NEWS: Update NEWS before unstable release.
94         Create a new data/actions subdirectory.
96         * configure.ac:
97         * data/Makefile.am: Updated accordingly.
99         * data/actions/Makefile.am:
100         * data/actions/README: New files.
102         Move schemas into a new subdirectory data/gconf-schemas.
104         * configure.ac:
105         * data/Makefile.am: Updated accordingly.
107         Move exports/ subdirectory into data/ tree.
109         * configure.ac:
110         * data/Makefile.am: Updated accordingly.
112         * data/exports/Makefile.am:
113         * data/exports/README: New files.
115         * doc/nact/Makefile.am: Fix PDF installation.
117         * src/core/na-object-profile.c (convert_pre_v3_parameters_str):
118         %f used to be the name of the file (a basename), converts it to %b.
120 2010-08-13 Pierre Wieser <pwieser@trychlos.org>
122         * doc/api/nautilus-actions-sections.txt:
123         * doc/api/nautilus-actions-docs.xml: New files.
125         * src/io-desktop/nadp-desktop-file.c (nadp_desktop_file_set_locale_string):
126         Write all available locales to have a chance another locale can get it.
128         * Makefile.am:
129         Build doc after src so that libraries are available when documenting them.
131         * autogen.sh:
132         * configure.ac: Implement gtk-doc and manuals generation.
134         * doc/api/Makefile.am: Build gtk-doc for public API.
136         * doc/nact/C/nact-conditions.xml:
137         * doc/nact/C/nact-execution.xml:
138         * doc/nact/C/nact-menus.xml:
139         * doc/nact/C/nact-profiles.xml:
140         * doc/nact/C/nact-sorting.xml:
141         * doc/nact/C/nact-starting.xml:
142         * doc/nact/C/nact-where.xml:
143         * doc/nact/C/nautilus-actions-config-tool.xml:
144         Update NACT user's manual.
146         * doc/nact/Makefile.am: Implement manuals generation.
148         * src/api/na-core-utils.h:
149         * src/api/na-data-boxed.h:
150         * src/api/na-data-types.h:
151         * src/api/na-gconf-utils.h:
152         * src/api/na-icontext.h:
153         * src/api/na-iduplicable.h:
154         * src/api/na-iimporter.h:
155         * src/api/na-object-api.h:
156         * src/api/na-object-id.h:
157         * src/api/na-object-item.h:
158         * src/core/na-core-utils.c:
159         * src/core/na-data-boxed.c:
160         * src/core/na-export-format.c:
161         * src/core/na-export-format.h:
162         * src/core/na-exporter.c:
163         * src/core/na-exporter.h:
164         * src/core/na-factory-object.c:
165         * src/core/na-factory-object.h:
166         * src/core/na-gconf-monitor.c:
167         * src/core/na-gconf-utils.c:
168         * src/core/na-iabout.h:
169         * src/core/na-icontext.c:
170         * src/core/na-ifactory-provider.c:
171         * src/core/na-importer-ask.c:
172         * src/core/na-io-provider.c:
173         * src/core/na-iprefs.c:
174         * src/core/na-object-id.c:
175         * src/core/na-object-item.c:
176         * src/core/na-object.c:
177         * src/core/na-selected-info.c:
178         * src/core/na-selected-info.h:
179         Update comments to suits gtk-doc requirements.
181         * COPYING-DOCS:
182         * doc/nact/C/figures/nact-desktop-environment-frame.png:
183         * doc/nact/C/figures/nact-exec-mode-frame.png:
184         * doc/nact/C/figures/nact-execute-as-frame.png:
185         * doc/nact/C/figures/nact-execution-environment-frame.png:
186         * doc/nact/C/figures/nact-selection-count-frame.png:
187         * doc/nact/C/figures/nact-startup-mode-frame.png:
188         * doc/nact/C/figures/nact-target-location.png:
189         * doc/nact/C/figures/nact-working-directory-frame.png:
190         * doc/nact/C/figures/sort-asc.png doc/nact/C/figures/sort-desc.png:
191         * doc/nact/C/figures/sort-manual.png:
192         * m4/na-enable-manuals.m4: New files.
194 2010-08-10 Pierre Wieser <pwieser@trychlos.org>
196         * src/nact/nact-icommand-tab.c: No more check for a non-empty profile name.
198         Allow writing of empty data.
200         * src/api/na-data-boxed.h:
201         * src/core/na-data-boxed.c
202         (na_data_boxed_is_set): Removed function.
203         (na_data_boxed_is_default): New function.
205         * src/io-desktop/nadp-writer.c (nadp_writer_ifactory_provider_write_data):
206         * src/io-gconf/nagp-writer.c (nagp_writer_write_data):
207         * src/io-xml/naxml-writer.c (naxml_writer_write_data):
208         Updated accordingly.
210         * src/core/na-object-item-factory.c:
211         * src/core/na-object-profile-factory.c:
212         Remove useless log description for a fake data.
214         * src/io-desktop/nadp-reader.c
215         (nadp_reader_ifactory_provider_read_data):
216         * src/io-xml/naxml-reader.c (read_data_boxed_from_node):
217         Set NADataBoxed as soon as a value is found.
219         Review pre- and post- write operations in I/O providers.
221         * src/core/na-object-action.c: Cleanup the code.
223         * src/core/na-object-item-factory.c:
224         NAFO_DATA_IVERSION becomes unwritable.
226         * src/io-desktop/nadp-writer.c:
227         * src/io-gconf/nagp-writer.c:
228         * src/io-xml/naxml-writer.c: Cleanup the code.
230         Immediately reacts to a status change in I/O providers.
232         * src/core/na-ipivot-consumer.c:
233         * src/core/na-ipivot-consumer.h
234         (na_ipivot_consumer_notify_of_io_provider_prefs_changed): New function.
235         (on_io_provider_prefs_changed): New interface API.
237         * src/core/na-pivot.c (monitor_runtime_preferences):
238         Add a monitor on io-providers GConf branch.
240         * src/nact/nact-main-window.c
241         (ipivot_consumer_on_io_provider_prefs_changed): New function.
243         Controls are not modifiable for a read-only item.
245         * src/nact/nact-gtk-utils.c:
246         * src/nact/nact-gtk-utils.h
247         (nact_gtk_utils_set_initial_state, nact_gtk_utils_reset_initial_state):
248         New functions.
250         * src/nact/nact-icommand-tab.c (on_tab_updatable_selection_changed):
251         Manage working directory browse button.
253         * src/nact/nact-ienvironment-tab.c (on_tab_updatable_selection_changed):
254         Manage try exec and show if running browse buttons.
255         Manage desktop environment radio buttons.
257         * src/nact/nact-iexecution-tab.c (on_tab_updatable_selection_changed):
258         Manage execution mode radio buttons.
260         * src/nact/nact-iproperties-tab.c (on_tab_updatable_selection_changed):
261         Manage description text view.
263         * src/nact/nact-match-list.c
264         (on_key_pressed_event): Only insert/delete rows if item is editable.
265         (on_must_match_toggled, on_must_not_match_toggled): Manage radio buttons.
267 2010-08-09 Pierre Wieser <pwieser@trychlos.org>
269         Review notification bufferization.
271         * src/core/na-ipivot-consumer.c:
272         * src/core/na-ipivot-consumer.h
273         (na_ipivot_consumer_delay_notify): Removed function.
274         (na_ipivot_consumer_allow_notify): New function.
276         * src/nact/nact-main-menubar-file.c (nact_main_menubar_file_save_items):
277         * src/nact/nact-main-window.c (instance_init):
278         * src/plugin-menu/nautilus-actions.c (instance_init):
279         Updated accordingly.
281         * src/core/na-pivot.c (on_item_changed_timeout):
282         * src/io-desktop/nadp-desktop-provider.c (on_monitor_timeout):
283         * src/io-gconf/nagp-gconf-provider.c (config_path_changed_trigger_interface):
284         Review the code.
286         Fix XML import of localized vs. unlocalized profile label.
288         * src/api/na-ifactory-object-data.h:
289         * src/core/na-object-profile-factory.c:
290         Define new NAFO_DATA_DESCNAME_NOLOC unlocalized profile label.
292         * src/api/na-object-api.h (na_object_get_label_noloc): New macro.
294         * src/io-xml/naxml-reader.c (naxml_reader_read_done):
295         Deals with localized vs. unlocalized profile description name.
297         Fix XML import of localized vs. unlocalized icons.
299         * src/api/na-ifactory-object-data.h:
300         * src/core/na-object-item-factory.c:
301         Define new NAFO_DATA_ICON_NOLOC unlocalized icon name.
303         * src/api/na-object-api.h (na_object_get_icon_noloc): New macro.
305         * src/io-xml/naxml-reader.c
306         (read_data_boxed_from_node): Only allocate a NADataBoxed for a non null value.
307         (naxml_reader_read_done): Deals with localized/unlocalized icon name.
309         * src/io-xml/naxml-reader.c (naxml_reader_read_start):
310         Attach the profile to the action before trying to read it.
312         * src/nact/nact-iexecution-tab.c (execution_mode_toggle):
313         Fix sensitivity of startup fields vs. execution mode.
315         * src/core/na-icontext.c (is_candidate_for_capabilities):
316         Fix incorrect handling of capability conditions.
318         * src/core/na-icontext.c (is_candidate_for_folders):
319         Fix incorrect and optimize handling of folder conditions.
321         * src/core/na-icontext.c (is_candidate_for_schemes):
322         Fix incorrect and optimize handling of scheme conditions.
324         * src/core/na-icontext.c (is_candidate_for_basenames):
325         Fix incorrect handling of basename conditions.
327         * src/core/na-icontext.c (is_candidate_for_mimetypes):
328         Fix incorrect handling of mimetype conditions.
330         * src/nact/nact-iaction-tab.c (on_icon_browse):
331         Fix incorrect setting of GConf preference.
333         * src/nact/nact-gtk-utils.c:
334         * src/nact/nact-gtk-utils.h
335         (nact_gtk_utils_get_pixbuf, nact_gtk_utils_render):
336         Size parameter is actually of GtkIconSize type.
338 2010-08-07 Pierre Wieser <pwieser@trychlos.org>
340         * configure.ac: Bump version number after unstable release.
342         Implement auto-save feature.
344         * src/core/na-ipivot-consumer.c:
345         * src/core/na-ipivot-consumer.h (on_autosave_changed): New interface.
347         * src/core/na-iprefs.c:
348         * src/core/na-iprefs.h (na_iprefs_read_uint): New function.
350         * src/nact/nact-iprefs.c:
351         * src/nact/nact-iprefs.h (nact_iprefs_read_uint): Removed function.
353         * src/core/na-pivot.c (on_preferences_change):
354         Trigger NAIPivotConsumer interface when autosave is changed.
356         * src/nact/nact-main-menubar-file.c:
357         * src/nact/nact-main-menubar-file.h
358         (nact_main_menubar_file_set_autosave): New function.
360         * src/nact/nact-main-window.c (ipivot_consumer_on_autosave_changed):
361         Implement the new on_autosave_changed() NAIPivotConsumer interface.
363         * src/nact/nact-preferences-editor.c (on_base_runtime_init_dialog):
364         Replace nact_iprefs_read_uint() with na_iprefs_read_uint().
366         Setup auto-save in preferences.
368         * data/nautilus-actions-prefs.schemas.in:
369         Describe new auto-save-on and auto-save-period preference keys.
371         * src/nact/nact-iprefs.c:
372         * src/nact/nact-iprefs.h
373         (nact_iprefs_read_uint, nact_iprefs_write_uint): New functions.
374         IPREFS_AUTOSAVE_ON, IPREFS_AUTOSAVE_PERIOD: New preference keys.
376         * src/nact/nact-preferences-editor.c:
377         Update the new auto-save-on and auto-save-period preference keys.
380         * src/nact/nact-preferences.ui:
381         * src/nact/nautilus-actions-config-tool.ui: New preference frame.
383 2010-08-05 Pierre Wieser <pwieser@trychlos.org>
385         * src/api/na-core-utils.h:
386         * src/core/na-core-utils.c
387         (na_core_utils_str_get_first_word): Removed function.
388         (na_core_utils_str_split_first_word): New function.
390         * src/io-desktop/nadp-reader.c
391         (nadp_reader_ifactory_provider_read_done):
392         Split the Exec content to get Path and Parameters data.
394         * src/core/na-object-profile-factory.c:
395         Review the description of the NAFO_DATA_PARAMETERS data.
397         * src/core/na-tokens.h: Update the comment.
399         * po/POTFILES.in: Add src/core/na-tokens.c file.
401         * src/core/na-tokens.c:
402         * src/core/na-tokens.h (na_tokens_new_for_example): New function.
404         * src/core/na-tokens.c (parse_singular):
405         Implement %m and %M parameters for mimetypes.
407         * src/nact/nact-icommand-tab.c (parse_parameters):
408         Use a fake NATokens object to print an example of the command.
410         * src/nact/nautilus-actions-config-tool.ui: Fix some labels.
412 2010-08-04 Pierre Wieser <pwieser@trychlos.org>
414         * src/core/na-tokens.c (is_singular_exec):
415         Implement DES-EMA draft v 0.13 which defines irrelevant parameters.
417 2010-08-02 Pierre Wieser <pwieser@trychlos.org>
419         * src/nact/nact-gtk-utils.c (nact_gtk_utils_get_pixbuf):
420         * src/nact/nact-iaction-tab.c (on_icon_changed):
421         Fix bad reinitialization of the icon item.
423         * doc/nact/C/figures/nact-basenames-tab.png:
424         * doc/nact/C/figures/nact-capabilities-tab.png:
425         * doc/nact/C/figures/nact-command-tab.png:
426         * doc/nact/C/figures/nact-environment-tab.png:
427         * doc/nact/C/figures/nact-execution-tab.png:
428         * doc/nact/C/figures/nact-folders-tab.png:
429         * doc/nact/C/figures/nact-legend.png:
430         * doc/nact/C/figures/nact-main-empty.png:
431         * doc/nact/C/figures/nact-mimetypes-tab.png:
432         * doc/nact/C/figures/nact-new-capability.png:
433         * doc/nact/C/figures/nact-preferences-export.png:
434         * doc/nact/C/figures/nact-preferences-import.png:
435         * doc/nact/C/figures/nact-preferences-io-providers.png:
436         * doc/nact/C/figures/nact-preferences-runtime.png:
437         * doc/nact/C/figures/nact-preferences-schemes.png:
438         * doc/nact/C/figures/nact-preferences-ui.png:
439         * doc/nact/C/figures/nact-properties-tab.png:
440         * doc/nact/C/figures/nact-schemes-tab.png:
441         Update all screenshots to include window decoration.
443         * doc/nact/nautilus-actions-config-tool.omf.in:
444         Change categorie and type of the NACT user's manual.
446         * src/nact/nact-main-menubar.c:
447         Change help menu item from Gtk default to Gnome (apparent) standard.
449         * src/nact/nact-main-menubar-help.c (nact_main_menubar_help_on_help):
450         Connect to Yelp.
452         * configure.ac: Update comments.
454         * src/nact/nact-add-capability-dialog.c (try_for_send_ok):
455         * src/nact/nact-add-scheme-dialog.c (try_for_send_ok):
456         * src/nact/nact-main-tab.c (nact_main_tab_is_page_enabled):
457         Check that Gtk+ is more recent that 2.18 for gtk_widget_get_sensitive().
459         Split the NACT manual by chapter.
461         * doc/nact/C/nact-usage.xml:
462         * doc/nact/C/nact-prefs.xml:
463         * doc/nact/C/nact-misc.xml: New files.
465         * doc/nact/C/nautilus-actions-config-tool.xml:
466         * doc/nact/Makefile.am: Updated accordingly.
468 2010-08-01 Pierre Wieser <pwieser@trychlos.org>
470         * nact/nact-iactions-list-bis.c (nact_iactions_list_bis_insert_items):
471         A new NAObjectItem must be inserted before the current NAObjectItem.
473         * doc/README: Define a global documentation plan.
475         * doc/api/Makefile.am:
476         * doc/api/version.xml.in:
477         Define a stub for future public API documentation, targeting
478         Nautilus-Actions plugins developers.
480         * doc/internals/Makefile.am:
481         Define a stub for future internal documentation, targeting
482         Nautilus-Actions core developers.
484         * doc/product/Makefile.am:
485         Define a stub for future global Nautilus-Actions documentation.
487         * configure.ac:
488         * doc/Makefile.am: Updated accordingly.
490         * doc/nact/ChangeLog:
491         * doc/nact/nautilus-actions-config-tool.omf.in: New files.
493         * doc/nact/C/articleinfo.xml:
494         * doc/nact/C/legalnotice.xml: Included as external entities rather
495         than from xi:include because of db2omf complains.
497         * doc/nact/C/appendix-feedback.xml:
498         * doc/nact/C/appendix-gnu-fdl-1.3.xml: Add DOCTYPE declaration.
500 2010-07-31 Pierre Wieser <pwieser@trychlos.org>
502         * src/nact/nautilus-actions-config-tool.ui:
503         Review tooltips.
505         * src/nact/nact-match-list.c (on_must_not_match_clicked):
506         Fix incorrect column id.
508         * src/nact/nact-match-list.c (sort_on_column):
509         Display sort indicator.
511         * src/nact/nact-match-list.c (on_must_match_toggled):
512         Fix crash when defining a positive assertion.
514         * src/core/na-icontext.c (is_candidate_for_capabilities):
515         Implement the function.
517         * src/core/na-selected-info.c:
518         * src/core/na-selected-info.h (na_selected_info_is_executable,
519         na_selected_info_is_owner, na_selected_info_is_readable,
520         na_selected_info_is_writable): New function.
522         * src/core/na-icontext.c (is_candidate_for_folders):
523         Implement the function.
525         * src/core/na-selected-info.c:
526         * src/core/na-selected-info.h (na_selected_info_get_dirname):
527         New function.
529         * src/core/na-icontext.c (is_candidate_for_schemes):
530         Implement the function.
532         * src/core/na-icontext.c (is_candidate_for_selection_count):
533         Implement the function.
535         * src/io-desktop/nadp-reader.c
536         (nadp_reader_ifactory_provider_read_start): Set minimal version number.
538 2010-07-30 Pierre Wieser <pwieser@trychlos.org>
540         * src/core/na-icontext.c (is_candidate_for_basenames):
541         Unref the GPatternSpec after use.
543         * src/core/na-icontext.c (is_candidate_for_basenames):
544         Implement the function.
546         * src/core/na-selected-info.c:
547         * src/core/na-selected-info.h (na_selected_info_get_basename):
548         New function.
550         * configure.ac: Add a dependancy on libgtop.
552         * src/core/na-icontext.c (is_candidate_for_show_if_running):
553         Implement the function.
555 2010-07-29 Pierre Wieser <pwieser@trychlos.org>
557         * src/io-desktop/nadp-formats.c:
558         * src/io-desktop/nadp-formats.h: New files.
559         These should have been added to 2.99.0, but where forgotten.
561         * docs/nact/Makefile.am: New file.
563         * configure.ac:
564         * docs/Makefile.am: Updated accordingly.
566         Create NACT user's manual skeleton.
567         
568         * docs/nact/C/appendix-feedback.xml:
569         * docs/nact/C/appendix-gnu-fdl-1.3.xml:
570         * docs/nact/C/articleinfo.xml:
571         * docs/nact/C/figures/nact-basenames-tab.png:
572         * docs/nact/C/figures/nact-capabilities-tab.png:
573         * docs/nact/C/figures/nact-command-tab.png:
574         * docs/nact/C/figures/nact-environment-tab.png:
575         * docs/nact/C/figures/nact-execution-tab.png:
576         * docs/nact/C/figures/nact-folders-tab.png:
577         * docs/nact/C/figures/nact-legend.png:
578         * docs/nact/C/figures/nact-main-empty.png:
579         * docs/nact/C/figures/nact-mimetypes-tab.png:
580         * docs/nact/C/figures/nact-preferences-export.png:
581         * docs/nact/C/figures/nact-preferences-import.png:
582         * docs/nact/C/figures/nact-preferences-io-providers.png:
583         * docs/nact/C/figures/nact-preferences-runtime.png:
584         * docs/nact/C/figures/nact-preferences-schemes.png:
585         * docs/nact/C/figures/nact-preferences-ui.png:
586         * docs/nact/C/figures/nact-properties-tab.png:
587         * docs/nact/C/figures/nact-schemes-tab.png:
588         * docs/nact/C/figures/nat-new-capability.png:
589         * docs/nact/C/index.xml:
590         * docs/nact/C/legalnotice.xml: New files.
592         Do some cleanup in NAObjectAction and NAObjectProfile code.
593         Implement execution of singular vs. plural command forms.
595         * src/api/na-object-action.h:
596         * src/core/na-object-action.c (na_object_action_is_candidate):
597         Removed function.
599         * src/api/na-object-profile.h:
600         * src/core/na-object-profile.c (na_object_profile_parse_parameters):
601         Removed function.
603         * src/core/na-tokens.c:
604         * src/core/na-tokens.h (na_tokens_execute_action): New function.
606         * src/plugin-menu/nautilus-actions.c (execute_action):
607         Move action execution to NATokens class.
609         * src/utils/nautilus-actions-run.c: Now use NATokens class.
611         * doc/: Renamed as docs/
613         * configure.ac:
614         * Makefile;am: Updated accordingly.
616         * configure.ac: Bump the version number after release.
618 2010-07-28 Pierre Wieser <pwieser@trychlos.org>
620         * NEWS: Update NEWS before unstable release.
622         * configure.ac: Bump the version number before unstable release.
624         * src/io-desktop/nadp-module.c (na_extension_startup):
625         Remove the #if/#endif macros to let the .desktop provider be released.
627         * src/io-desktop/nadp-desktop-file.c:
628         * src/io-desktop/nadp-desktop-file.h
629         (nadp_desktop_file_new, nadp_desktop_file_get_key_file):
630         New functions.
632         * src/io-desktop/nadp-writer.c
633         (nadp_writer_iexporter_export_to_buffer): Implement the function.
635         Import/export .desktop files.
637         * doc/export-format-id: Declare the new export format.
639         * po/POTFILES.in: Add a file.
641         * src/api/na-core-utils.h:
642         * src/core/na-core-utils.c
643         (na_core_utils_slist_add_message, na_core_utils_file_load_from_uri):
644         New functions.
646         * src/api/na-iimporter.h:
647         * src/core/na-iimporter.c (na_iimporter_manage_import_mode):
648         New function.
650         * src/io-desktop/nadp-formats.c:
651         * src/io-desktop/nadp-formats.h: New files.
653         * src/io-desktop/Makefile.am: Updated accordingly.
655         * src/io-desktop/nadp-desktop-file.c:
656         * src/io-desktop/nadp-desktop-file.h
657         (nadp_desktop_file_new_from_uri): New function.
658         (nadp_desktop_file_get_key_file_path): Renamed as nadp_desktop_file_get_key_file_uri().
660         * src/io-desktop/nadp-desktop-provider.c:
661         Declare NAIImporterInterface and NAIExporterInterface interfaces.
663         * src/io-desktop/nadp-reader.c:
664         * src/io-desktop/nadp-reader.h
665         (nadp_reader_iimporter_import_from_uri): New function.
667         * src/io-desktop/nadp-utils.c:
668         * src/io-desktop/nadp-utils.h
669         (nadp_utils_is_writable_file): Renamed as nadp_utils_uri_is_writable().
670         (nadp_utils_uri_delete): New function.
672         * src/io-desktop/nadp-writer.c:
673         * src/io-desktop/nadp-writer.h
674         (nadp_writer_iexporter_export_to_buffer, nadp_writer_iexporter_export_to_file):
675         New functions.
677         * src/nact/nact-add-scheme-dialog.c:
678         Prevent a default scheme to be inserted twice.
680         * src/nact/nact-ischemes-tab.c:
681         Use the current list of rows instead of the current schemes list.
683         * src/nact/nact-match-list.c:
684         Prevent a standard filter to be inserted twice.
686         * src/api/na-core-utils.h:
687         * src/core/na-core-utils.c (na_core_utils_slist_dump):
688         Add a prefix parameter to the function.
690         * src/core/na-data-boxed.c (slist_dump):
691         * src/core/na-io-provider.c (na_io_provider_get_providers_list):
692         * src/io-desktop/nadp-writer.c (nadp_writer_ifactory_provider_write_done):
693         * src/nact/nact-match-list.c (nact_match_list_on_selection_changed):
694         * src/test/test-reader.c (main): Updated accordingly.
696 2010-07-26 Pierre Wieser <pwieser@trychlos.org>
698         * src/api/na-core-utils.h:
699         * src/core/na-core-utils.c (na_core_utils_slist_find):
700         Moved to na_core_utils_slist_count.
702         * src/core/na-icontext.c (is_candidate_for_show_in):
703         * src/io-desktop/nadp-writer.c
704         (nadp_writer_ifactory_provider_write_done): Updated accordingly.
706         * src/nact/nact-match-list.c (on_filter_edited):
707         Add g_return_if_fail checks on data and context.
709         Prevent of inline edition of capabilities.
711         * src/nact/nact-match-list.c:
712         * src/nact/nact-match-list.h (nact_match_list_create_model):
713         Add editable_filter input parameter.
715         * src/nact/nact-match-list.c (nact_match_list_on_selection_changed):
716         Only enable the column if filter and item are both editable.
718         * src/nact/nact-ibasenames-tab.c:
719         * src/nact/nact-icapabilities-tab.c:
720         * src/nact/nact-ifolders-tab.c:
721         * src/nact/nact-imimetypes-tab.c:
722         * src/nact/nact-ischemes-tab.c: Updated accordingly.
724         Prevent a capability to be inserted twice.
726         * src/nact/nact-add-capability-dialog.c (on_button_press_event):
727         On double-clic, check for OK sensitivity.
729         * src/nact/nact-icapabilities-tab.c (on_add_clicked):
730         Provide the dialog with our current content rather than current capabilities.
732         * src/nact/nact-match-list.c:
733         * src/nact/nact-match-list.h (nact_match_list_get_rows): New function.
735         Fix parameters conversion to v3.
737         * src/core/na-object-action.c (icontext_is_candidate):
738         Fix comment and minor typo.
740         * src/core/na-object-profile.c:
741         * src/io-gconf/nagp-reader.c (convert_pre_v3_parameters):
742         Move pre-v3 parameters conversion from GConf provider to profile class.
744         * src/io-desktop/nadp-reader.c
745         (nadp_reader_ifactory_provider_read_start):
746         * src/io-gconf/nagp-reader.c (nagp_reader_read_start):
747         * src/io-gconf/nagp-gconf-provider.c (ifactory_provider_iface_init):
748         * src/io-gconf/nagp-reader.h:
749         Now attach profile to its parent in 'read_start' interface.
751         * src/io-desktop/nadp-reader.c
752         (nadp_reader_ifactory_provider_read_done):
753         * src/io-gconf/nagp-reader.c (nagp_reader_read_done):
754         Homogeneïze the read_done functions.
756         Move the reading of the subitems key for the desktop I/O provider
757         from 'read_done' to 'read_start'.
759         * src/io-desktop/nadp-reader.c:
760         * src/io-desktop/nadp-reader.h
761         (nadp_reader_ifactory_provider_read_start): New function.
763         * src/io-desktop/nadp-desktop-provider.c: Updated accordingly.
765 2010-07-19 Pierre Wieser <pwieser@trychlos.org>
767         * src/api/na-object-item.h:
768         * src/core/na-object-item.c (na_object_item_factory_write_start):
769         Function is renamed as na_object_item_rebuild_children_slist().
771         * src/core/na-object-action.c:
772         * src/core/na-object-menu.c: Updated accordingly.
774 2010-07-05 Pierre Wieser <pwieser@trychlos.org>
776         * src/nact/nact-icommand-tab.c (nact_icommand_tab_runtime_init_toplevel):
777         Connect to delete-event signal to hide the GtkWindow.
779 2010-07-03 Pierre Wieser <pwieser@trychlos.org>
781         * src/nact/nact-add-capability-dialog.c (on_base_runtime_init_dialog):
782         Doucle-click validates the dialog.
784         * src/nact/nact-add-scheme-dialog.c (on_base_runtime_init_dialog):
785         Doucle-click validates the dialog.
787         * src/nact/nact-schemes-list.c (nact_schemes_list_create_model):
788         Scheme keyword and description are editable in user preferences.
790 2010-07-02 Pierre Wieser <pwieser@trychlos.org>
792         * src/core/na-tokens.c (na_tokens_new_from_selection):
793         Add a trace.
795         * src/core/na-tokens.h: Fix minor typo.
797         * src/plugin-menu/nautilus-actions.c:
798         There should not be any need to keep a reference to our menu.
800         * data/nautilus-actions-prefs.schemas.in:
801         * src/core/na-iprefs.h:
802         * src/core/na-importer-ask.c:
803         * src/core/na-importer-ask.h:
804         Define a new GConf preference 'keep last user choice'.
806         * src/api/na-iimporter.h:
807         * src/core/na-iimporter.c:
808         from_uri() interface is renamed as import_from_uri().
809         Only define na_iimporter_import_from_uri() public API.
811         * src/core/na-importer.c:
812         * src/core/na-importer.h:
813         Define here na_importer_import_from_list() internal API.
815         * src/io-xml/naxml-provider.c:
816         * src/io-xml/naxml-reader.c:
817         * src/io-xml/naxml-reader.h:
818         * src/nact/nact-assistant-import.c:
819         * src/nact/nact-tree-model-dnd.c:
820         * src/test/test-reader.c: Updated accordingly.
822         * src/core/na-object-id.c (na_object_id_set_new_id):
823         Fix object type test.
825         * src/core/na-object-item.c (object_id_new_id):
826         Fix minor typo.
828         * src/core/na-object-profile.c (object_id_new_id):
829         Fix order of validity test.
830         Only get a new profile name when a new parent is provided.
832 2010-06-29 Pierre Wieser <pwieser@trychlos.org>
834         * src/nact/nact-tree-model-dnd.c (drop_uri_list):
835         Make the code in adequation with the comment.
837         * src/nact/nact-gtk-utils.c (nact_gtk_utils_get_pixbuf):
838         Do not emit a warning when file is just not found.
840 2010-06-28 Pierre Wieser <pwieser@trychlos.org>
842         * src/io-desktop/nadp-writer.c
843         (nadp_writer_ifactory_provider_write_data):
844         Concatenate path and parameters fields to the Exec key.
846         * src/nact/nact-assistant-import.c (has_readable_files):
847         Get ride of warning messages in some usual situations.
849         * src/nact/nact-main-menubar-file.c (nact_main_menubar_file_save_items):
850         Force sensitivities update when new tree store is empty.
852         * src/core/na-iduplicable.c (na_iduplicable_check_status):
853         * src/core/na-object.c (na_object_object_unref):
854         Review debug messages.
856         * src/core/na-pivot.c:
857         * src/core/na-pivot.h (na_pivot_set_new_items): New function.
859         * src/nact/nact-main-menubar-file.c (save_item):
860         Duplicate all current tree store to a new pivot.
862 2010-06-23 Pierre Wieser <pwieser@trychlos.org>
864         * src/nact/nact-ienvironment-tab.c (on_tab_updatable_selection_changed):
865         * src/nact/nact-iexecution-tab.c (on_tab_updatable_selection_changed):
866         Radio buttons are inconsistent if and only if there is no context.
868         * src/nact/nact-tree-model.c (dump_store): Also dumps origin.
870         * src/core/na-updater.c (na_updater_remove_item):
871         Do not unref here removed item.
872         Also remove item from non level zero parent.
874         * src/nact/nact-main-window.c (actually_delete_item):
875         Updated accordingly.
877         * src/core/na-icontext.c (is_candidate_for_try_exec):
878         Do not try to get info for non existing file.
880 2010-06-21 Pierre Wieser <pwieser@trychlos.org>
882         * src/core/na-icontext.c (is_candidate_for_show_in):
883         Implement the check of the environment (though not yet the desktop
884         detection).
886         * src/nact/nact-iaction-tab.c:
887         * src/nact/nact-ibasenames-tab.c:
888         * src/nact/nact-icommand-tab.c:
889         * src/nact/nact-ienvironment-tab.c:
890         * src/nact/nact-iexecution-tab.c:
891         * src/nact/nact-iproperties-tab.c:
892         * src/nact/nact-match-list.c:
893         Reset all fields to an empty value when there is no selection.
895         * src/nact/nact-main-tab.h:
896         * src/nact/nautilus-actions-config-tool.ui:
897         Move the Execution tab just besides the Command one.
899 2010-06-20 Pierre Wieser <pwieser@trychlos.org>
901         * src/core/na-object.c (na_object_object_unref):
902         Fix infinite unref of child items.
904         * src/nact/nact-tree-model.c (nact_tree_model_display):
905         Set debug messages.
907 2010-06-18 Pierre Wieser <pwieser@trychlos.org>
909         * src/core/na-object.c (na_object_object_unref):
910         Fix segfault when unfiltering invalid items.
912         * src/core/na-object-item-factory.c:
913         Numeric version is no more writable by default.
915         * src/io-gconf/nagp-keys.h:
916         * src/io-gconf/nagp-writer.c (nagp_writer_write_start):
917         Explicitely write the numeric version to GConf.
919         * src/core/na-object-item-factory.c:
920         Provider data is no more duplicable by NAIFactoryObject.
922         * src/core/na-object-item.c (object_copy):
923         Explicitely triggers NAIOProvider::duplicate_data method.
925         * src/io-desktop/nadp-desktop-provider.c (iio_provider_iface_init):
926         * src/io-desktop/nadp-writer.c:
927         * src/io-desktop/nadp-writer.h (nadp_iio_provider_duplicate_data):
928         Implement NAIIOProvider::duplicate_data interface.
930         * src/io-gconf/nagp-gconf-provider.c (iio_provider_iface_init):
931         Initialize NAIIOProvider duplicate_data() virtual pointer.
933         * src/api/na-iio-provider.h:
934         * src/core/na-iio-provider.c (duplicate_data):
935         * src/core/na-io-provider.c:
936         * src/core/na-io-provider.h (na_io_provider_duplicate_data):
937         Define new NAIIOProvider interface.
939 2010-06-17 Pierre Wieser <pwieser@trychlos.org>
941         * src/api/na-iio-provider.h:
942         * src/core/na-iio-provider.c (na_iio_provider_item_changed):
943         Remove useless item id parameter.
945         * src/core/na-ipivot-consumer.c (is_notify_allowed):
946         Set a higher delay (1s to 2s) before notifying NAPivot
947         because of the delay of file monitoring.
949         * src/nact/nact-clipboard.c (export_objects):
950         Remove unused dest_folder parameter.
952         * src/nact/nact-tree-model-dnd.c
953         (nact_tree_model_dnd_imulti_drag_source_drag_data_get):
954         Get destination folder as an URI.
956         * src/nact/nact-iaction-tab.c:
957         Fix invalid cast of NAObjectMenu to NAObjectAction.
959         * src/nact/nact-sort-buttons.c:
960         * src/nact/nact-sort-buttons.h (nact_sort_buttons_enable_buttons):
961         New function.
963         * src/nact/nact-main-menubar.c (on_iactions_list_count_updated):
964         Enable/disable sort buttons depending of items list count.
966         * src/api/na-object-api.h
967         (na_object_get_shortcut, na_object_set_shortcut): New macros.
969         * src/nact/nact-iproperties-tab.c: Review NactIPropertiesTab page.
971         * src/api/na-object-api.h
972         (na_object_get_execution_mode,
973         na_object_get_startup_notify, na_object_get_startup_class,
974         na_object_get_execute_as, na_object_set_execution_mode,
975         na_object_set_startup_notify, na_object_set_startup_class,
976         na_object_set_execute_as): New macros.
978         * src/core/na-object-profile-factory.c:
979         Change type of execution mode from uint to string.
981         * src/nact/nact-iexecution-tab.c: Implement NactIExecutionTab page.
983         * src/nact/nact-ienvironment-tab.c: Implement NactIEnvironmentTab page.
985 2010-06-16 Pierre Wieser <pwieser@trychlos.org>
987         * src/nact/nact-gtk-utils.c:
988         * src/nact/nact-gtk-utils.h
989         (nact_gtk_utils_select_file, nact_gtk_utils_select_dir): New functions.
991         * src/nact/nact-icommand-tab.c: Updated accordingly.
993         * src/api/na-core-utils.h:
994         * src/core/na-core-utils.c (na_core_utils_slist_setup_element): New function.
996         * src/api/na-icontext.h:
997         * src/core/na-icontext.c (na_icontext_set_only_desktop, na_icontext_set_not_desktop):
998         New functions.
1000         * src/api/na-object-api.h (na_object_set_only_desktop, na_object_set_not_desktop):
1001         New macros.
1003         * src/nact/nact-ienvironment-tab.c: Implement desktop choice.
1005         * src/nact/nact-icapabilities-tab.c:
1006         * src/nact/nautilus-actions-config-tool.ui: Review NactICapabilitiesTab page.
1008         * src/nact/nact-ischemes-tab.c: Review NactISchemesTab page.
1010         * src/nact/nact-ifolders-tab.c: Review NactIFoldersTab page.
1012         * src/nact/nact-ibasenames-tab.c: Review NactIBasenamesTab page.
1014         * src/nact/nact-match-list.c:
1015         * src/nact/nact-match-list.h (nact_match_list_on_enable_tab):
1016         Removed function.
1018         * src/nact/nact-icommand-tab.c:
1019         * src/nact/nact-icommand-tab.h: Review NactICommandTab page.
1021         * src/core/na-object-action-factory.c: Fix comment.
1023         * src/nact/nact-iaction-tab.c:
1024         * src/nact/nact-iaction-tab.h: Homogeneïse the code.
1026 2010-06-15 Pierre Wieser <pwieser@trychlos.org>
1028         * src/nact/nact-main-tab.c:
1029         * src/nact/nact-main-tab.h (nact_main_tab_get_context):
1030         New function.
1032         * src/nact/nact-iaction-tab.c:
1033         * src/nact/nact-ibasenames-tab.c:
1034         * src/nact/nact-icapabilities-tab.c:
1035         * src/nact/nact-ienvironment-tab.c:
1036         * src/nact/nact-ifolders-tab.c:
1037         * src/nact/nact-imimetypes-tab.c:
1038         * src/nact/nact-ischemes-tab.c:
1039         * src/nact/nact-main-tab.h:
1040         * src/nact/nact-main-window.c:
1041         Remove irrelevant TAB_UPDATABLE_SIGNAL_ENABLE_TAB signal.
1043         * src/nact/nact-match-list.c:
1044         Do not try to get filters when there is no current context.
1046         * src/nact/nact-main-window.c:
1047         Do not mark the application as modified when list is empty.
1049         * src/nact/nact-iaction-tab.c:
1050         * src/nact/nact-ibasenames-tab.c:
1051         * src/nact/nact-icapabilities-tab.c:
1052         * src/nact/nact-icommand-tab.c:
1053         * src/nact/nact-ienvironment-tab.c:
1054         * src/nact/nact-ifolders-tab.c:
1055         * src/nact/nact-iproperties-tab.c:
1056         * src/nact/nact-ischemes-tab.c:
1057         * src/nact/nact-main-menubar-edit.c:
1058         * src/nact/nact-main-menubar-file.c:
1059         * src/nact/nact-main-tab.h:
1060         * src/nact/nact-main-window.c:
1061         * src/nact/nact-match-list.c: Rename main properties.
1063         * src/nact/nact-main-tab.h:
1064         * src/nact/nact-main-window.c: Remove unused PROP_SELECTED_ROW property.
1066         * po/POTFILES.in: Add src/nact/nact-ienvironment-tab.c file.
1068         * src/nact/nact-ienvironment-tab.c: Connect signals.
1070 2010-06-14 Pierre Wieser <pwieser@trychlos.org>
1072         * src/core/na-icontext-factory.c:
1073         Change default capabilities to empty list.
1075         * src/nact/nact-add-capability-dialog.c:
1076         * src/nact/nact-add-capability-dialog.h:
1077         * src/nact/nact-add-capability.ui: New files.
1079         * po/POTFILES.in:
1080         * src/nact/Makefile.am: Updated accordingly.
1082         * src/nact/nact-match-list.c:
1083         * src/nact/nact-match-list.h (nact_match_list_create_model):
1084         Add match_header parameter.
1086         * src/nact/nact-ibasenames-tab.c:
1087         * src/nact/nact-icapabilities-tab.c:
1088         * src/nact/nact-ifolders-tab.c:
1089         * src/nact/nact-imimetypes-tab.c:
1090         * src/nact/nact-ischemes-tab.c: Updated accordingly.
1092 2010-06-13 Pierre Wieser <pwieser@trychlos.org>
1094         * src/nact/nact-match-list.c:
1095         * src/nact/nact-match-list.h (nact_match_list_create_model):
1096         Add on_add_clicked callback parameter.
1098         * src/nact/nact-ibasenames-tab.c:
1099         * src/nact/nact-ifolders-tab.c:
1100         * src/nact/nact-imimetypes-tab.c:
1101         * src/nact/nact-ischemes-tab.c: Updated accordingly.
1103         * src/nact/nact-iaction-tab.c:
1104         Use gtk_bin_get_child() function instead of GTK_BIN()->child.
1106         * po/POTFILES.in:
1107         Add src/nact/nact-icapabilities-tab.c, src/nact/nact-ischemes-tab.c.
1108         Remove src/nact/nact-iconditions-tab.c.
1110         * src/api/na-core-utils.h:
1111         * src/core/na-core-utils.c (na_core_utils_selcount_get_ope_int):
1112         New function.
1114         * src/nact/nact-icapabilities-tab.c: Implement selection count.
1116 2010-06-11 Pierre Wieser <pwieser@trychlos.org>
1118         * src/api/na-icontext.h:
1119         * src/core/na-icontext.c (na_icontext_is_all_mimetypes): New function.
1121         * src/api/na-object-api.h: Define new getters/setters.
1123         * src/core/na-icontext-factory.c:
1124         * src/core/na-object-item-factory.c: Fix comments.
1126         * src/io-gconf/nagp-reader.c:
1127         Convert pre-v3 is_multiple, is_file and is_dir parameters.
1129 2010-06-10 Pierre Wieser <pwieser@trychlos.org>
1131         * configure.ac: Bump post-release version number.
1133         * Changelog: Update NEWS before release.
1135         * configure.ac: Bump pre-release version number.
1137         * src/core/na-iabout.c: Update copyright notice.
1139 2010-06-09 Pierre Wieser <pwieser@trychlos.org>
1141         * src/api/na-core-utils.h:
1142         * src/api/na-core-utils.c (na_core_utils_slist_find_negated):
1143         New function.
1145         * src/nact/nact-add-scheme-dialog.c:
1146         * src/nact/nact-add-scheme-dialog.h: New files.
1148         * src/nact/Makefile.am: Updated accordingly.
1150         * src/nact/nact-main-menubar.c: Update test for Gtk+ version.
1152         * src/nact/nact-match-list.c:
1153         * src/nact/nact-match-list.h: Remove on_add callback.
1155         * src/nact/nact-ibasenames-tab.c:
1156         * src/nact/nact-ifolders-tab.c:
1157         * src/nact/nact-imimetypes-tab.c:
1158         * src/nact/nact-ischemes-tab.c:
1159         * src/nact/nact-preferences-editor.c: Updated accordingly.
1161         * src/nact/nact-schemes-list.c:
1162         * src/nact/nact-schemes-list.h
1163         (nact_schemes_list_show_all, nact_schemes_list_get_current_scheme):
1164         New functions.
1166 2010-06-07 Pierre Wieser <pwieser@trychlos.org>
1168         * src/nact/nact-add-scheme.ui: New file.
1170         * po/POTFILES.in:
1171         * src/nact/Makefile.am: Updated accordingly.
1173 2010-06-04 Pierre Wieser <pwieser@trychlos.org>
1175         * src/api/na-object-api.h: Reorganization.
1177         * src/core/na-icontext-factory.c: Set schemes default to '*'.
1179         * src/nact/nact-icommand-tab.c: Get schemes from current object.
1181         * src/nact/nact-ischemes-tab.c:
1182         * src/nact/nact-ischemes-tab.h:
1183         Take advantage of new nact_match_list_xxx functions.
1185         * src/api/na-object-api.h:
1186         * src/api/na-ifactory-object-data.h:
1187         * src/core/na-object-profile-factory.c: Add NAFO_DATA_WORKING_DIR data.
1189         * src/core/na-factory-object.c:
1190         * src/core/na-factory-object.h (na_factory_object_get_default):
1191         New     function.
1193         * src/nact/nact-icommand-tab.c: Implement working directory.
1195         * src/nact/nact-imimetypes-tab.c: 
1196         Take advantage of new nact_match_list_xxx functions.
1198         * src/nact/nact-match-list.c:
1199         * src/nact/nact-match-list.h: New files.
1201         * src/nact/Makefile.am: Updated accordingly.
1203         * src/nact/base-window.c:
1204         * src/nact/base-window.h (base_window_signal_connect_with_data):
1205         New function.
1207         * src/nact/nact-ibasenames-tab.c: 
1208         Take advantage of new nact_match_list_xxx functions.
1210 2010-06-03 Pierre Wieser <pwieser@trychlos.org>
1212         * src/nact/nact-ibasenames-tab.c: Implement NactIBasenamesInterface interface.
1214 2010-06-02 Pierre Wieser <pwieser@trychlos.org>
1216         * src/nact/nautilus-actions-config-tool.ui:
1217         * src/nact/nact-ibasenames-tab.c: Define basename new conditions skeleton.
1219         * src/nact/nact-icapabilities-tab.c:
1220         * src/nact/nact-icapabilities-tab.h: Define NactICapabilitiesInterface interface.
1222         * src/nact/Makefile.am:
1223         * src/nact/nact-main-tab.h:
1224         * src/nact/nact-main-window.c: Updated accordingly.
1226 2010-05-30 Pierre Wieser <pwieser@trychlos.org>
1228         * src/nact/nact-ibasenames-tab.c:
1229         * src/nact/nact-ibasenames-tab.h: Define NactIBasenamesTabInterface interface.
1231         * src/nact/nact-icommand-tab.c:
1232         No more include removed nact-iconditions-tab.h file.
1234         * src/nact/nact-ienvironment-tab.c:
1235         * src/nact/nact-ienvironment-tab.h: Define NactIEnvironmentTabInterface interface.
1237         * src/nact/nact-iexecution-tab.c:
1238         * src/nact/nact-iexecution-tab.h: Define NactIExecutionTabInterface interface.
1240         * src/nact/nact-ifolders-tab.c (on_tab_updatable_selection_changed):
1241         * src/nact/nact-ischemes-tab.c (on_tab_updatable_selection_changed):
1242         tab_set_sensitive() returned value is not used here.
1244         * src/nact/nact-imimetypes-tab.c:
1245         * src/nact/nact-imimetypes-tab.h: Define NactIMimetypesTabInterface interface.
1247         * src/nact/nact-iproperties-tab.c (on_tab_updatable_selection_changed):
1248         Set a mnemonic in the tab label.
1250         * src/nact/nact-main-tab.h:
1251         * src/nact/nact-main-window.c: Add the four new tabs, remove the old one.
1253         * src/nact/nautilus-actions-config-tool.ui: Fix some size groups.
1255 2010-05-29 Pierre Wieser <pwieser@trychlos.org>
1257         * configure.ac: Define GSEAL_ENABLED.
1259         * src/nact/nautilus-actions-config-tool.ui:
1260         Implement all new fields.
1262 2010-05-26 Pierre Wieser <pwieser@trychlos.org>
1264         * src/api/na-core-utils.h:
1265         * src/core/na-core-utils.c (na_core_utils_dir_split_ext):
1266         New function.
1268         * src/core/na-tokens.h:
1269         * src/core/na-tokens.c: New files.
1271         * src/core/Makefile.am: Udated accordingly.
1273         * src/plugin-menu/nautilus-actions.c:
1274         Expand tokens which may embed parameters.
1276 2010-05-20 Pierre Wieser <pwieser@trychlos.org>
1278         * src/io-gconf/nagp-reader.c (read_done_profile_attach_profile):
1279         Migrate old v2 parameters to v3.
1281         * src/core/na-object-action.c (deals_with_version):
1282         Setup a version number if not already set.
1284         * src/core/na-object-action.c (convert_pre_v2_action):
1285         Renamed as convert_v1_to_v2.
1287         * src/api/na-data-def.h: Add write_if_default.
1289         * src/core/na-icontext-factory.c:
1290         * src/core/na-object-action-factory.c:
1291         * src/core/na-object-id-factory.c:
1292         * src/core/na-object-item-factory.c:
1293         * src/core/na-object-profile-factory.c: Update all data structures.
1295         * src/io-desktop/nadp-writer.c
1296         (nadp_writer_ifactory_provider_write_data):
1297         * src/io-gconf/nagp-writer.c (nagp_writer_write_data):
1298         * src/io-xml/naxml-writer.c (naxml_writer_write_data):
1299         Updated accordingly.
1301         * src/io-desktop/nadp-reader.c
1302         (nadp_reader_ifactory_provider_read_start): Removed function.
1304 2010-05-17 Pierre Wieser <pwieser@trychlos.org>
1306         * configure.ac: Fix typo.
1308         * src/core/na-core-utils.c (na_core_utils_slist_from_array):
1309         Strip the strings extracted from the array.
1311         * src/core/na-factory-object.c (na_factory_object_are_equal):
1312         Dump the data when different.
1314         * src/nact/nact-main-menubar-file.c
1315         (nact_main_menubar_file_save_items): Add a debug message.
1317         * src/api/na-object-api.h (na_object_set_last_version):
1318         * src/api/na-object-action.h:
1319         * src/core/na-object-action.c (na_object_action_set_last_version):
1320         New functions.
1322         * src/core/na-object-action.c (convert_pre_v2_action):
1323         Reset action to last version number after conversion from pre-v2.
1325         * src/core/na-object-profile.c (na_object_profile_parse_parameters):
1326         Do not add extraneous blanks when parsing parameters.
1328         * configure.ac: Post release bump version number.
1330         * src/io-desktop/nadp-reader.c (read_done_load_profiles):
1331         Do not reload already loaded profiles.
1332         Just ignore non-referenced profiles.
1334         * src/io-gconf/nagp-reader.c
1335         (read_done_action_load_profiles_from_list): Do not reload already loaded profiles.
1337         * src/utils/nautilus-actions-new.c:
1338         Factorize error message to make translation easier.
1340         * src/utils/nautilus-actions-run.c:
1341         Mark two new strings for translation.
1343         * src/core/na-object-action-factory.c:
1344         No more set a string version.
1346         * src/io-gconf/nagp-reader.c (read_done_profile_attach_profile):
1347         Test both string and integer versions.
1349 2010-05-12 Pierre Wieser <pwieser@trychlos.org>
1351         * src/api/na-icontext.h:
1352         * src/core/na-icontext.c
1353         (na_icontext_have_all_mimetypes): Removed function.
1354         (na_icontext_read_done): New function.
1356         * src/core/na-object-action.c:
1357         * src/core/na-object-menu.c:
1358         * src/core/na-object-profile.c: Updated accordingly.
1360         * src/api/na-object-api.h
1361         (na_object_get_iversion, na_object_set_iversion): New functions.
1363         * src/core/na-icontext-factory.c:
1364         * src/core/na-object-item-factory.c:
1365         Adjustments on default values.
1367         * src/io-gconf/nagp-reader.c (read_done_profile_attach_profile):
1368         Convert pre-v3 parameters.
1370         * src/plugin-menu/nautilus-actions.c:
1371         Adjust NautilusMenuProvider interface.
1373 2010-05-10 Pierre Wieser <pwieser@trychlos.org>
1375         Monitor .desktop files and directories.
1377         * src/io-desktop/nadp-monitor.c:
1378         * src/io-desktop/nadp-monitor.h: New files.
1380         * src/io-desktop/Makefile.am: Updated accordingly.
1382         * src/io-desktop/nadp-desktop-provider.c:
1383         * src/io-desktop/nadp-desktop-provider.h
1384         (nadp_desktop_provider_add_monitor,
1385         nadp_desktop_provider_on_monitor_event,
1386         nadp_desktop_provider_release_monitors): New functions.
1388         * src/io-desktop/nadp-reader.c (get_list_of_desktop_paths):
1389         Installs a monitor for each candidate directory.
1391 2010-05-03 Pierre Wieser <pwieser@trychlos.org>
1393         * src/api/na-icontext.h:
1394         * src/api/na-ifactory-object-data.h:
1395         * src/api/na-object-api.h:
1396         * src/core/na-icontext-factory.c:
1397         * src/core/na-icontext.c:
1398         Define new NAFO_DATA_ALL_MIMETYPES data, set to TRUE when the context
1399         is to be selected for all mimetypes.
1401         * src/core/na-object-action.c:
1402         * src/core/na-object-menu.c:
1403         * src/core/na-object-profile.c:
1404         * src/plugin-menu/nautilus-actions.c:
1405         All objects implement NAIContextInterface.
1407         * src/nact/nact-iconditions-tab.c (na_object_is_matchcase):
1408         Renamed as na_object_get_matchcase().
1410         * src/core/na-object-profile.c (na_object_profile_parse_parameters):
1411         Do not add extraneous blanks when parsing parameters.
1413 2010-04-19 Pierre Wieser <pwieser@trychlos.org>
1415         * src/api/na-ifactory-object-data.h:
1416         * src/api/na-object-profile.h:
1417         * src/core/na-icontext-factory.c:
1418         * src/core/na-object-action-factory.c:
1419         * src/core/na-object-item-factory.c:
1420         * src/core/na-object-menu-factory.c:
1421         * src/core/na-object-profile-factory.c:
1422         Define all new data, new parameters, and include context informations
1423         to actions and menus.
1425         * src/api/na-core-utils.h:
1426         * src/core/na-core-utils.c (na_core_utils_slist_from_array):
1427         Fix leading and trailing spaces management.
1429 2010-04-18 Pierre Wieser <pwieser@trychlos.org>
1431         * src/api/na-ifactory-object-data.h:
1432         * src/core/na-object-item-factory.c:
1433         Define new NAFO_DATA_SHORTCUT data.
1435 2010-04-15 Pierre Wieser <pwieser@trychlos.org>
1437         * src/nact/nact-schemes-list.c (insert_new_row):
1438         Rewrite row insertion; do not insert a - non-editable - description.
1440         * src/nact/nact-preferences.ui: Fix typo.
1442         * src/io-gconf/nagp-keys.h:
1443         Remove unused GConf entry keys.
1445         * src/io-gconf/nagp-writer.c (nagp_iio_provider_is_willing_to_write):
1446         Force GConf sync to get ride of 'foo' entry.
1448 2010-04-14 Pierre Wieser <pwieser@trychlos.org>
1450         * NEWS: Update before release.
1452         * configure.ac: Bump version number before release.
1454         * src/core/na-selected-info.h:
1455         * src/core/na-selected-info.c (na_selected_info_get_name):
1456         Renamed as na_selected_info_get_path.
1458         * src/core/na-icontext.c
1459         (is_current_folder_inside, is_target_selection_candidate):
1460         Updated accordingly.
1462         * src/core/na-object-profile.c (na_object_profile_parse_parameters):
1463         Do not try to deal with null values.
1465         * src/plugin-menu/nautilus-actions.c (create_item_from_profile):
1466         Duplicate the candidate profile, set the parent to null.
1468         * src/core/na-selected-info.c (na_selected_info_get_location):
1469         Increment the reference count of the returned location.
1471         * src/core/na-gconf-utils.c (dump_entry):
1472         Do not try to dump a null value.
1474         * src/core/na-selected-info.c
1475         (dump): New function.
1476         (na_selected_info_create_for_uri): Accepts a mimetype.
1478         * src/plugin-tracker/na-tracker-dbus.c
1479         (na_tracker_dbus_get_selected_paths): Also sends the mimetype.
1481 2010-04-13 Pierre Wieser <pwieser@trychlos.org>
1483         * po/POTFILES.in: Adding src/nact/nact-iconditions-tab.c file.
1485         * src/api/na-ifactory-object-data.h:
1486         * src/core/na-icontext-factory.c:
1487         Adding NAFO_DATA_SELECTION_COUNT data, obsoleting NAFO_DATA_MULTIPLE.
1489         * src/nact/nact-iconditions-tab.c:
1490         * src/nact/nautilus-actions-config-tool.ui:
1491         Adding required entries for SelectionCount data.
1493 2010-04-12 Pierre Wieser <pwieser@trychlos.org>
1495         * src/plugin-menu/Makefile.am:
1496         * src/plugin-tracker/Makefile.am: Fix incorrect log domains.
1498         * po/POTFILES.in: Add src/nact/nact-iproperties-tab.c file.
1500         * src/nact/nautilus-actions-config-tool.ui: Adjust vertical paddings.
1502         "Advanced conditions" tab is renamed as "Schemes".
1504         * src/nact/nact-iadvanced-tab.c: Renamed as src/nact/nact-ischemes-tab.c.
1505         * src/nact/nact-iadvanced-tab.h: Renamed as src/nact/nact-ischemes-tab.h.
1507         * src/nact/Makefile.am:
1508         * src/nact/nact-icommand-tab.c:
1509         * src/nact/nact-main-tab.h:
1510         * src/nact/nact-main-window.c: Updated accordingly.
1512         Move item properties to their own tab.
1514         * src/nact/nact-iproperties-tab.c:
1515         * src/nact/nact-iproperties-tab.h: New files.
1517         * src/nact/Makefile.am:
1518         * src/nact/nact-iaction-tab.c:
1519         * src/nact/nact-main-tab.h:
1520         * src/nact/nact-main-window.c:
1521         * src/nact/nautilus-actions-config-tool.ui: Updated accordingly.
1523 2010-04-09 Pierre Wieser <pwieser@trychlos.org>
1525         * NEWS: Updated.
1527         * src/nact/nact-sort-buttons.c (set_new_sort_order):
1528         Do not rewrite in GConf a just-readen sort order.
1530         * src/io-gconf/nagp-writer.c (nagp_iio_provider_delete_item):
1531         Also delete the schema names which may be embedded in GConfEntry.
1533         * src/api/na-gconf-utils.h:
1534         * src/core/na-gconf-utils.c (na_gconf_utils_dump_entries):
1535         New function.
1537         * src/io-gconf/nagp-reader.c (read_item):
1538         Dump content of readen entries.
1540         * src/io-gconf/nagp-gconf-provider.c (install_monitors):
1541         Also monitors schemas to be triggered when importing a schema.
1543         * configure.ac: Bump version number for release.
1545         * src/nact/nact-iaction-tab.c (on_icon_browse):
1546         Save current position and folder of icon chooser.
1548 2010-04-08 Pierre Wieser <pwieser@trychlos.org>
1550         * src/core/na-object-profile.c (is_valid_path_parameters):
1551         Only check for non-empty path+parameters (fix #614596).
1553         * src/nact/nact-sort-buttons.c (on_sort_down_button_toggled,
1554         on_sort_manual_button_toggled, on_sort_up_button_toggled):
1555         Do not let the user click twice on a sort button.
1557         * src/nact/nact-main-window.c (setup_dialog_title):
1558         Review/normalize debug entry message.
1560         * src/nact/nact-ifolders-tab.c (on_add_folder_clicked):
1561         Folders list is definitively a list of paths (not URI).
1563         * src/api/na-core-utils.h:
1564         * src/core/na-core-utils.c (na_core_utils_str_collate): New function.
1566         * src/core/na-data-boxed.c (locale_are_equal):
1567         * src/core/na-object-action.c (deals_with_toolbar_label):
1568         * src/core/na-object-id.c (na_object_id_sort_alpha_asc):
1569         * src/io-desktop/nadp-utils.c (nadp_utils_gslist_remove_from):
1570         * src/nact/base-builder.c (already_loaded): Updated accordingly.
1572         * src/api/na-gconf-utils.h:
1573         * src/core/na-gconf-utils.c (na_gconf_utils_has_entry):
1574         Check for an entry in the previously loaded list.
1576         * src/io-gconf/nagp-reader.c
1577         (read_item): First check for Type default value.
1578         (read_item, read_done_item_is_writable,
1579         read_done_action_load_profile): Load entries.
1581         * src/nact/nact-iaction-tab.c (on_tab_updatable_selection_changed):
1582         * src/nact/nact-icommand-tab.c (on_tab_updatable_selection_changed):
1583         Protect gtk_ functions against null values.
1585         * src/plugin-menu/Makefile.am:
1586         Rename plugin to libnautilus-actions-menu.
1588         * src/io-desktop/nadp-reader.c (item_from_desktop_path):
1589         First check Type for default value.
1591 2010-04-07 Pierre Wieser <pwieser@trychlos.org>
1593         * src/nact/nact-gtk-utils.c:
1594         * src/nact/nact-gtk-utils.h
1595         (nact_gtk_utils_get_pixbuf): Render an icon for a given widget.
1596         (nact_utils_render): New function.
1598         * src/nact/nact-iaction-tab.c (on_icon_changed):
1599         * src/nact/nact-main-statusbar.c (nact_main_statusbar_set_locked):
1600         * src/nact/nact-tree-model.c (display_item): Updated accordingly.
1602 2010-04-02 Pierre Wieser <pwieser@trychlos.org>
1604         * configure.ac:
1605         * src/nact/nact-main-tab.c (nact_main_tab_is_page_enabled):
1606         GTK_WIDGET_IS_SENSITIVE is deprecated starting from gtk 2.20.
1608         * src/core/na-core-utils.c (na_core_utils_file_exists):
1609         * src/io-xml/naxml-writer.c (output_xml_to_file):
1610         Takes an URI as the filename.
1612 2010-04-01 Pierre Wieser <pwieser@trychlos.org>
1614         * src/api/na-icontextual.h: Renamed as src/api/na-icontext.h.
1615         * src/core/na-icontextual.c: Renamed as src/core/na-icontext.c.
1616         * src/core/na-icontextual-factory.c: Renamed as src/core/na-icontext-factory.c.
1618         * po/POTFILES.in:
1619         * src/api/Makefile.am:
1620         * src/api/na-icontext.h:
1621         * src/api/na-object-api.h:
1622         * src/core/Makefile.am:
1623         * src/core/na-icontext.c:
1624         * src/core/na-object-action.c:
1625         * src/core/na-object-profile.c:
1626         * src/plugin-menu/nautilus-actions.c:
1627         * src/utils/nautilus-actions-run.c: Updated accordingly.
1629         * src/api/na-object-api.h (na_object_prepare_for_paste):
1630         * src/core/na-object-id.c (na_object_id_prepare_for_paste):
1631         Parent is not always an action, may be a menu.
1633         * src/io-desktop/nadp-desktop-file.c
1634         (nadp_desktop_file_get_file_type):
1635         Do not emit a warning if Type is not found in the .desktop file.
1637         * src/core/na-core-utils.c (na_core_utils_slist_to_array):
1638         Fix built of array.
1640         * src/io-desktop/nadp-keys.h:
1641         Set back action (resp. menu) Type to Action (resp. Menu).
1643         * src/nact/nautilus-actions-config-tool.ui:
1644         Insert a scrolled window as text view parent.
1646         * src/io-desktop/nadp-desktop-file.c (check_key_file):
1647         Only write a debug message if file is hidden.
1649 2010-03-29 Pierre Wieser <pwieser@trychlos.org>
1651         * src/nact/nact-gtk-utils.c (nact_gtk_utils_set_editable):
1652         Take into account new GtktextView widget.
1654         * src/io-desktop/nadp-writer.c (nadp_iio_provider_write_item):
1655         Remove groups which no longer exist.
1657         * src/io-desktop/nadp-reader.c (read_done_load_profiles):
1658         Free string lists.
1660         * src/io-desktop/nadp-desktop-file.c:
1661         * src/io-desktop/nadp-desktop-file.h (nadp_desktop_file_remove_profile):
1662         New function.
1664         * src/io-desktop/nadp-desktop-file.c (nadp_desktop_file_get_profiles):
1665         Fix allocation of profile id.
1667         * src/io-desktop/nadp-desktop-file.c:
1668         * src/io-desktop/nadp-desktop-file.h (nadp_desktop_file_remove_key):
1669         New function.
1671         * src/io-desktop/nadp-writer.c (nadp_iio_provider_write_item):
1672         Remove key when it is no more set.
1674         * src/api/na-object-api.h
1675         (na_object_get_description, na_object_set_description): New macros.
1677         * src/nact/nact-iaction-tab.c:
1678         * src/nact/nautilus-actions-config-tool.ui: Add description entry.
1680         * src/io-desktop/nadp-keys.h: Remove unused keys.
1682         * src/io-desktop/nadp-reader.c (nadp_reader_ifactory_provider_read_done):
1683         Explicitly read subitems string list.
1685         * src/io-desktop/nadp-desktop-provider.c (ifactory_provider_iface_init):
1686         * src/io-desktop/nadp-writer.c:
1687         * src/io-desktop/nadp-writer.h (nadp_writer_ifactory_provider_write_done):
1688         New function: explicitly write subitems string list for actions and menus.
1690 2010-03-28 Pierre Wieser <pwieser@trychlos.org>
1692         * src/api/na-data-boxed.h:
1693         * src/core/na-data-boxed.c (na_data_boxed_set_default): Removed function.
1695         * src/core/na-factory-object.c (set_defaults_iter):
1696         Only set a default value when the box has not been yet allocated.
1698         * src/api/na-ifactory-object.h:
1699         * src/core/na-ifactory-object.c (na_ifactory_object_get_data_groups):
1700         New function.
1702         * src/core/na-object-item-factory.c:
1703         * src/core/na-object-action.c (instance_init):
1704         * src/core/na-object-menu.c (instance_init):
1705         No more instantiate 'type' data box.
1707         * src/core/na-object-item-factory.c:
1708         NAFO_DATA_TYPE is no more automatically readen nor written.
1710         * src/io-desktop/nadp-desktop-provider.c (ifactory_provider_iface_init):
1711         Implement data writing.
1713         * src/io-desktop/nadp-keys.c:
1714         * src/io-desktop/nadp-keys.h (nadp_keys_get_group_and_key):
1715         Removed function.
1717         * src/io-desktop/nadp-reader.c
1718         (item_from_desktop_path): Test default value first.
1719         (nadp_reader_ifactory_provider_read_data): Use new desktop_entry field.
1721         * src/io-desktop/nadp-writer.c:
1722         * src/io-desktop/nadp-writer.h (nadp_writer_ifactory_provider_write_start,
1723         nadp_writer_ifactory_provider_write_data): New functions.
1725         * src/io-gconf/nagp-writer.c (nagp_writer_write_start):
1726         Explicitely write item type.
1728         * src/io-desktop/nadp-desktop-file.c:
1729         * src/io-desktop/nadp-desktop-file.h
1730         (nadp_desktop_file_set_boolean, nadp_desktop_file_set_locale_string,
1731         nadp_desktop_file_set_string, nadp_desktop_file_set_string_list,
1732         nadp_desktop_file_set_uint): New functions.
1734         * src/api/na-core-utils.h:
1735         * src/core/na-core-utils.c (na_core_utils_slist_to_array):
1736         New function.
1738 2010-03-26 Pierre Wieser <pwieser@trychlos.org>
1740         * src/api/na-data-def.h:
1741         * src/core/na-icontextual-factory.c:
1742         * src/core/na-object-id-factory.c:
1743         * src/core/na-object-item-factory.c:
1744         * src/core/na-object-action-factory.c:
1745         * src/core/na-object-profile-factory.c:
1746         Define the key for .desktop file.
1748         * src/io-gconf/nagp-writer.c (nagp_writer_write_data):
1749         Remove blank line.
1751         * src/io-desktop/nadp-desktop-provider.c:
1752         * src/io-desktop/nadp-reader.c:
1753         * src/io-desktop/nadp-reader.h
1754         (nadp_reader_ifactory_provider_read_start): Removed unused function.
1756         * src/io-desktop/nadp-desktop-file.c:
1757         * src/io-desktop/nadp-desktop-file.h
1758         (check_key_file): Check that we don't have a 'Hidden=true' key.
1759         (nadp_desktop_file_get_profiles): New function.
1761         * src/io-desktop/nadp-desktop-provider.c:
1762         * src/io-desktop/nadp-desktop-provider.h:
1763         Move reader functions and structure to nadp-reader.c.
1765         * src/io-desktop/nadp-keys.h:
1766         Relabel type of items in .desktop file (cf. draft 0.9).
1768         * src/io-desktop/nadp-reader.c:
1769         * src/io-desktop/nadp-reader.h:
1770         Read profiles present in the .desktop file.
1772 2010-03-26 Pierre Wieser <pwieser@trychlos.org>
1774         * src/io-desktop/nadp-desktop-file.c:
1775         * src/io-desktop/nadp-desktop-file.h
1776         (check_key_file): Check that we don't have a 'Hidden=true' key.
1777         (nadp_desktop_file_get_profiles): New function.
1779         * src/io-desktop/nadp-desktop-provider.c:
1780         * src/io-desktop/nadp-desktop-provider.h:
1781         Move reader functions and structure to nadp-reader.c.
1783         * src/io-desktop/nadp-keys.h:
1784         Relabel type of items in .desktop file (cf. draft 0.9).
1786         * src/io-desktop/nadp-reader.c:
1787         * src/io-desktop/nadp-reader.h:
1788         Read profiles present in the .desktop file.
1790 2010-03-26 Pierre Wieser <pwieser@trychlos.org>
1792         * configure.ac: Bump version number for data branch.
1794 2010-03-26 Pierre Wieser <pwieser@trychlos.org>
1796         Releasing 2.30.0.
1798 2010-03-25 Pierre Wieser <pwieser@trychlos.org>
1800         * src/nact/nact-main-menubar-edit.c:
1801         * src/nact/nact-main-menubar-edit.h:
1802         * src/nact/nact-main-menubar-file.c:
1803         * src/nact/nact-main-menubar-file.h:
1804         * src/nact/nact-main-menubar-view.c:
1805         * src/nact/nact-main-menubar-view.h: New files.
1807         * po/POTFILES.in:
1808         * src/nact/Makefile.am: Updated accordingly.
1810         * src/nact/nact-main-window.c
1811         (ipivot_consumer_on_mandatory_prefs_changed):
1812         Implement NAIPivotConsumer notification.
1814         * src/nact/nact-sort-buttons.c:
1815         * src/nact/nact-sort-buttons.h
1816         (nact_sort_buttons_level_zero_writability_change):
1817         Enable/disable the buttons depending of the level zero writability
1818         status.
1820 2010-03-24 Pierre Wieser <pwieser@trychlos.org>
1822         * src/core/na-ipivot-consumer.c
1823         (na_ipivot_consumer_notify_of_mandatory_prefs_changed) : New function.
1824         (on_mandatory_prefs_changed): New interface API.
1826         * src/core/na-pivot.c (monitor_runtime_preferences):
1827         Monitor the mandatory preferences set by the admin.
1829         * src/nact/nact-main-window.c (ipivot_consumer_iface_init):
1830         * src/plugin-menu/nautilus-actions.c (ipivot_consumer_iface_init):
1831         For now, only declare NULL implementations.
1833         * src/nact/nact-preferences-editor.c (on_base_runtime_init_dialog):
1834         * src/nact/nact-sort-buttons.c (nact_sort_buttons_runtime_init):
1835         Forbid the modification of order mode is level zero is not writable.
1837         * src/core/na-pivot.c (na_pivot_is_level_zero_writable):
1838         Writable if not all not GConf are locked by admin.
1840         * src/nact/nact-iaction-tab.c (nact_iaction_tab_runtime_init_toplevel):
1841         * src/nact/nact-iadvanced-tab.c (runtime_init_connect_signals):
1842         * src/nact/nact-icommand-tab.c (nact_icommand_tab_runtime_init_toplevel):
1843         * src/nact/nact-iconditions-tab.c (nact_iconditions_tab_runtime_init_toplevel):
1844         * src/nact/nact-ifolders-tab.c (nact_ifolders_tab_runtime_init_toplevel):
1845         * src/nact/nact-main-tab.h:
1846         Signal TAB_UPDATABLE_SIGNAL_SELECTION_CHANGED is renamed as
1847         MAIN_WINDOW_SIGNAL_SELECTION_CHANGED.
1849         * src/nact/nact-main-menubar.c:
1850         * src/nact/nact-main-menubar.h
1851         (nact_main_menubar_is_level_zero_order_changed): New function.
1853         * src/nact/nact-iactions-list.h:
1854         * src/nact/nact-iactions-list-bis.c (nact_iactions_list_bis_delete):
1855         Add an argument to select the row at end of the function.
1857         * src/nact/nact-main-window.c:
1858         Connect to MAIN_WINDOW_SIGNAL_LEVEL_ZERO_ORDER_CHANGED to update
1859         dialog title.
1861         * src/nact/nact-iactions-list.c:
1862         * src/nact/nact-iactions-list.h
1863         (selection_changed): Remove the not used API.
1864         Remove the connection to the signal and the call to the interface.
1866         * src/nact/nact-assistant-export.c (iactions_list_iface_init):
1867         Use the IACTIONS_LIST_SIGNAL_SELECTION_CHANGED instead of the
1868         interface API.
1870         * src/nact/nact-main-window.c
1871         (ipivot_consumer_on_display_order_changed):
1872         Relay NAIPivotConsumer notification to nact_sort_buttons.
1874         * src/nact/nact-sort-buttons.c:
1875         * src/nact/nact-sort-buttons.h
1876         (nact_sort_buttons_display_order_change): New function.
1878         * src/nact/nact-main-menubar.c (save_item):
1879         Not only unref old origin, but also remove it from tree.
1881 2010-03-23 Pierre Wieser <pwieser@trychlos.org>
1883         Add buttons to sort the list.
1885         * src/nact/nact-sort-buttons.c:
1886         * src/nact/nact-sort-buttons.h: New files.
1888         * src/nact/Makefile.am:
1889         * src/nact/nact-main-window.c: Updated accordingly.
1891         * src/nact/nautilus-actions-config-tool.ui:
1892         Define three new buttons to help to sort the list of items.
1894         * src/core/Makefile.am:
1895         No more give a version number to the core library.
1897         Restore the target-location indicator.
1899         * src/api/na-ifactory-object-data.h:
1900         * src/core/na-object-action-factory.c:
1901         Renamed NAFO_DATA_TARGET_BACKGROUND as NAFO_DATA_TARGET_LOCATION.
1903         * src/api/na-object-api.h
1904         (na_object_is_target_location, na_object_set_target_location):
1905         New macros.
1907         * src/api/na-object-item.h:
1908         * src/plugin-menu/nautilus-actions.c (menu_provider_get_background_items):
1909         Renamed ITEM_TARGET_BACKGROUND as ITEM_TARGET_LOCATION.
1911         * src/core/na-icontextual-factory.c:
1912         * src/core/na-object-action-factory.c:
1913         * src/core/na-object-item-factory.c:
1914         Update data descriptions.
1916         * src/core/na-icontextual.c (is_target_background_candidate):
1917         Renamed as is_target_location_candidate().
1919         * src/core/na-object-action.c (na_object_action_is_candidate):
1920         Only selects the action if it is candidate for this target.
1922         * src/nact/nact-iaction-tab.c (on_tab_updatable_selection_changed):
1923         * src/nact/nautilus-actions-config-tool.ui:
1924         Display the target-location checkbox.
1926         * src/utils/nautilus-actions-new.c:
1927         Let the user select the target-location boolean indicator.
1929 2010-03-22 Pierre Wieser <pwieser@trychlos.org>
1931         * src/core/na-icontextual.c
1932         (is_current_folder_inside): Compare path rather that URI.
1933         (is_target_selection_candidate): Fix NASelectedInfo addressing.
1935         * src/plugin-menu/nautilus-actions.c
1936         (get_file_or_background_items): New function.
1937         (build_nautilus_menus, get_candidate_profile): Add debug messages.
1939         * src/core/na-selected-info.c (query_file_attributes):
1940         Fix file_info_get_attribute.
1942         * src/core/na-object-action.c (na_object_action_is_candidate):
1943         Considere background menu just as a special case of selection menu.
1945         * data/.gitignore: Update .gitignore.
1947 2010-03-17 Pierre Wieser <pwieser@trychlos.org>
1949         * data/Makefile.am: Automatically generate configurations schemas.
1951         * data/nautilus-actions.schemas.in:
1952         Renamed as data/nautilus-actions-prefs.schemas.in.
1953         Remove configurations schemas (now dynamically generated).
1955         * po/POTFILES.in: Updated accordingly.
1957         * src/core/na-icontextual-factory.c:
1958         * src/core/na-object-action-factory.c: Fix typo.
1960         * src/utils/nautilus-actions-schemas.c:
1961         Output configurations schemas to stdout.
1963         * po/POTFILES.skip:
1964         New file: do not try to translate dynamically generated schema.
1966         * Makefile.am:
1967         Build data/ after src/ to bo take advantage of dynamic generation of schemas.
1969         * src/core/na-icontextual-factory.c:
1970         String lists are now initialized in GConf-style.
1972         * src/io-gconf/nagp-writer.c (nagp_writer_write_data):
1973         * src/io-xml/naxml-writer.c (write_data_schema_v2, write_data_dump):
1974         Do not output empty values.
1976         * src/api/na-data-boxed.h:
1977         * src/core/na-data-boxed.c (na_data_boxed_is_set): New function.
1979         * data/nautilus-actions.schemas.in:
1980         Fix typo.
1981         Add io-providers/read-at-startup and io-providers/writable keys.
1983         * src/nact/nact.desktop.in: Add StartupNotify=true.
1985         * src/nact/nact-main-window.c (reload):
1986         Free the deleted list before filling the tree.
1988         * src/nact/nact-main-menubar.c
1989         (on_cut_activated): Do not cut not deletable items.
1990         (get_deletables): Add a ref on items to delete.
1992         * src/test/init-dispose-diff.sh:
1993         Do not take into account some debug messages.
1995 2010-03-16 Pierre Wieser <pwieser@trychlos.org>
1997         * src/utils/nautilus-actions-new.c
1998         (output_to_dir): Output the new action to a file.
2000         * src/core/na-core-utils.c (info_dir_is_writable):
2001         Do not emit a warning on 'no such file or directory' error.
2003         * src/utils/nautilus-actions-new.c
2004         (output_to_stdout): Output the new action to stdout.
2005         (output_to_gconf): Output the new action to GConf.
2007         * src/io-xml/naxml-writer.c (naxml_writer_write_start):
2008         Add attribute to list node, thus fixing writing of action.
2010 2010-03-15 Pierre Wieser <pwieser@trychlos.org>
2012         * src/io-xml/naxml-writer.c (naxml_writer_write_start):
2013         No need to explicitely write item type as the data is marked writable.
2015         * src/utils/nautilus-actions-new.c:
2016         Cleanup old command-line code.
2017         Check for incompatibility between boolean arguments.
2019         * src/api/na-data-def.h (na_data_def_get_data_def): New function.
2021         * src/core/na-data-def.c: New file.
2023         * src/core/Makefile.am: Updated accordingly.
2025         * src/core/na-icontextual-factory.c:
2026         * src/core/na-object-profile-factory.c:
2027         Update command-line options to not have duplicates.
2029         * src/utils/nautilus-actions-new.c:
2030         Use new ArgFromDataDef structure and display suitable help.
2032         * src/core/na-icontextual-factory.c:
2033         * src/core/na-object-action-factory.c:
2034         * src/core/na-object-item-factory.c:
2035         * src/core/na-object-profile-factory.c:
2036         * src/utils/nautilus-actions-new.c:
2037         Update data definitions to handle command-line arguments.
2039 2010-03-10 Pierre Wieser <pwieser@trychlos.org>
2041         * src/utils/nautilus-actions-new.c:
2042         Define a structure to host NADataDef argument definitions.
2044         * src/api/na-data-def.h:
2045         Add parameters to be able to manage command-line arguments.
2047         * src/core/na-icontextual-factory.c:
2048         * src/core/na-object-action-factory.c:
2049         * src/core/na-object-id-factory.c:
2050         * src/core/na-object-item-factory.c:
2051         * src/core/na-object-profile-factory.c: Updated accordingly.
2053         * src/core/na-io-provider.c (build_hierarchy):
2054         Attach the child item to its parent.
2056         * src/core/na-object-id.c (instance_dispose):
2057         * src/core/na-object-item.c (instance_dispose):
2058         * src/core/na-object.c (instance_dispose):
2059         Add debug messages.
2061         * src/core/na-dbus-tracker.h: Remove no more used file.
2063         * src/core/Makefile.am: Updated accordingly.
2065         * src/core/na-icontextual.c:
2066         * src/core/na-object-profile.c:
2067         * src/plugin-tracker/na-tracker-dbus.c:
2068         * src/utils/nautilus-actions-run.c:
2069         Remove all references to NATrackedItem obsolete class.
2071         * src/api/na-ifactory-object-data.h:
2072         Rename v1 action data group to NA_FACTORY_ACTION_V1_GROUP.
2074         * src/core/na-object-action-factory.c:
2075         No more try to read obsolete NAFO_DATA_TARGET_BACKGROUND data.
2077         * src/plugin-tracker/na-tracker.c
2078         (menu_provider_get_background_items):
2079         Implement Nautilus get_background_items() interface.
2081         * data/nautilus-actions.schemas.in:
2082         Remove 'target-background' entry description.
2084         * src/api/na-object-api.h
2085         (na_object_is_target_background): Removed macro.
2087         * src/api/na-object-profile.h
2088         * src/core/na-object-profile.c
2089         (na_object_profile_is_target_background): Removed function.
2091 2010-03-09 Pierre Wieser <pwieser@trychlos.org>
2093         * src/io-gconf/nagp-writer.c (nagp_writer_write_data):
2094         Replace gconf_concat_dir_and_key by g_strdup_printf.
2096         * src/core/na-ifactory-provider.c (na_ifactory_provider_write_item):
2097         Add a debug trace when entering in the function.
2099         * src/api/na-icontext-conditions.h: Renamed as na-icontextual.h.
2100         * src/core/na-icontext-conditions.c: Renamed as na-icontextual.c.
2101         * src/core/na-icontext-conditions-factory.c:
2102         Renamed as na-icontextual-factory.c.
2104         * po/POTFILES.in:
2105         * src/api/Makefile.am:
2106         * src/api/na-icontextual.h:
2107         * src/api/na-object-api.h:
2108         * src/core/Makefile.am:
2109         * src/core/na-icontextual.c:
2110         * src/core/na-object-action.c:
2111         * src/core/na-object-profile.c:
2112         * src/plugin-menu/nautilus-actions.c:
2113         * src/utils/nautilus-actions-run.c: Updated accordingly.
2115 2010-03-09 Pierre Wieser <pwieser@trychlos.org>
2117         Refactor NactIBackgroundTab class as NactIFoldersTab.
2119         * src/nact/nact-ibackground-tab.c:
2120         * src/nact/nact-ibackground-tab.h: Renamed as nact-ifolders-tab.{c,h}.
2122         * src/nact/Makefile.am:
2123         * src/nact/nact-main-tab.h:
2124         * src/nact/nact-main-window.c: Updated accordingly.
2126         Remove the 'target background' indicator which was introduced in 2.29.1.
2128         * src/core/na-object-action-factory.c:
2129         Update properties for NAFO_DATA_TARGET_BACKGROUND.
2131         * src/nact/nact-iaction-tab.c
2132         (nact_iaction_tab_runtime_init_toplevel): Remove the signal connection.
2133         (on_tab_updatable_selection_changed): Remove fields initialization.
2134         (on_target_background_toggled): Remove the function.
2136         * src/nact/nact-ibackground-tab.c (tab_set_sensitive):
2137         Always sensitive for profiles.
2139         * src/nact/nautilus-actions-config-tool.ui: Remove the fields.
2141         * src/core/na-object-action-factory.c:
2142         data_def_action_v1 is now available from outside.
2144         * src/core/na-object-action.c
2145         (ifactory_object_read_done, ifactory_object_write_done):
2146         Rewrite input/output functions.
2148         * src/io-gconf/nagp-reader.c
2149         (nagp_reader_read_data): Simplify the code.
2151         * src/io-gconf/nagp-writer.c
2152         (nagp_writer_write_start): No more write type as this is a normal data.
2153         (nagp_writer_write_data): Rewrite profile writing.
2154         (nagp_writer_write_done): Profile writing is now driven by NAObjectAction.
2156         * src/nact/nact-tree-model-dnd.c: Cleanup the code.
2158 2010-03-05 Pierre Wieser <pwieser@trychlos.org>
2160         * nact/nact-tree-model-dnd.c (drop_inside):
2161         Split to three functions to better readibility.
2162         Fix drop inside an empty menu.
2163         Fix drop into a non writable parent.
2165         * src/api/na-iio-provider.h: Add a comment.
2167         * src/core/na-io-provider.c:
2168         * src/core/na-io-provider.h (na_io_provider_get_return_code_label):
2169         New function.
2171         * src/nact/nact-window.c (nact_window_save_item):
2172         Better error message.
2174         * src/nact/nact-export-ask.c (on_base_runtime_init_dialog):
2175         Set more clear label, whether the item be a label or an action.
2177         * src/nact/nact-tree-model-dnd.c (get_xds_atom_value):
2178         Remove debug traces after validation both on 32 and 64 bits systems.
2180         * src/api/na-core-utils.h:
2181         * src/core/na-core-utils.c
2182         (na_core_utils_slist_join_at_end): New function.
2184         * src/api/na-iio-provider.h: Fix typo in comment.
2186         * src/nact/nact-main-menubar.c (on_delete_activated):
2187         Do not delete a tree if at least one item is not writable.
2189         * src/nact/nact-tree-model-dnd.c (get_xds_atom_value):
2190         Fix 64 bits value.
2192         * src/plugin-menu/nautilus-actions.c
2193         (create_item_from_menu): Add a trace on weak notify.
2195 2010-03-04 Pierre Wieser <pwieser@trychlos.org>
2197         * src/core/na-object-action.c (instance_init):
2198         * src/core/na-object-menu.c (instance_init):
2199         Rather create the 'Type' box here than in read_start().
2201 2010-03-03 Pierre Wieser <pwieser@trychlos.org>
2203         * src/core/Makefile.am:
2204         * src/nact/Makefile.am: Fix make distcheck.
2206         * po/POTFILES.in: Updated.
2208         Rename the NAIConditions interface to NAIContextConditions
2209         (hopefully, there will be a NAIContextParameters some day :)).
2211         * src/core/na-iconditions-factory.c:
2212         Renamed as src/core/na-icontext-conditions-factory.c.
2214         * src/core/na-iconditions.c:
2215         Renamed as src/core/na-icontext-conditions.c.
2217         * src/api/na-iconditions.h:
2218         Renamed as src/core/na-icontext-conditions.h.
2220         * src/api/Makefile.am:
2221         * src/core/Makefile.am: Updated accordingly.
2223         * src/core/na-object-profile.c:
2224         * src/plugin-menu/nautilus-actions.c:
2225         Use new na_icontext_conditions_is_candidate() function.
2227         Define the NAIConditions interface, to be implemented by actions,
2228         profiles and menus (for now, only profiles).
2230         * src/api/na-iconditions.h:
2231         * src/core/na-iconditions.c:
2232         * src/core/na-iconditions-factory.c: New files.
2234         * src/api/Makefile.am:
2235         * src/core/Makefile.am: Updated accordingly.
2237         * src/api/na-ifactory-object-data.h:
2238         Define the NA_FACTORY_CONDITIONS_GROUP data group.
2240         * src/core/na-object-profile-factory.c:
2241         Use new data_def_conditions.
2243         * src/core/na-object-profile.c (register_type):
2244         Implement the new NAIConditions interface.
2246         Review the rationales, replacing serializable+obsoleted by
2247         readable+writable flags in NADataDef structure.
2249         * src/api/na-data-def.h:
2250         * src/core/na-factory-object.c:
2251         * src/core/na-object-action-factory.c:
2252         * src/core/na-object-action.c:
2253         * src/core/na-object-id-factory.c:
2254         * src/core/na-object-item-factory.c:
2255         * src/core/na-object-profile-factory.c:
2256         * src/io-desktop/nadp-desktop-provider.c: Updated accordingly.
2258         * src/plugin-tracker/na-tracker-dbus.c (instance_dispose):
2259         Release selected items in instance_dispose() rather than in
2260         instance_finalize() which caused a FPE in Nautilus terminaison.
2262         * src/api/na-ifactory-object.h:
2263         * src/core/na-ifactory-object.c:
2264         * src/core/na-iio-provider.c:
2265         * src/io-desktop/nadp-desktop-file.c:
2266         * src/io-desktop/nadp-desktop-file.h:
2267         * src/io-xml/naxml-writer.c:
2268         * src/io-xml/naxml-writer.h:
2269         * src/nact/nact-iadvanced-tab.c:
2270         * src/nact/nact-main-menubar.c:
2271         * src/utils/nautilus-actions-new.c: Cleanup the code.
2273         * src/nact/nact-assistant-export.c (assist_prepare_confirm):
2274         Optimize the build of the displayed text.
2276         * src/nact/nact-assistant-export.c (on_all_widgets_showed):
2277         Select and expand the first row of the list.
2279         * src/core/na-module.c (add_module_type):
2280         * src/io-desktop/nadp-reader.c (na_ifactory_provider_read_item):
2281         * src/io-desktop/nadp-writer.c (nadp_iio_provider_write_item):
2282         * src/nact/nact-export-format.c (draw_in_vbox):
2283         Add a weak_notify() local function in order to be able to trace
2284         the dispose of attached objects.
2286         * src/api/na-core-utils.h:
2287         * src/core/na-core-utils.c
2288         (na_core_utils_str_remove_char): New function.
2290         * src/api/na-iexporter.h:
2291         Onlu reference one short label in NAIExporterFormat structure.
2293         * src/core/na-export-format.c:
2294         * src/core/na-export-format.h:
2295         * src/io-xml/naxml-formats.c: Updated accordingly.
2297         * src/nact/base-window.c (setup_builder):
2298         Display a dialog error when unable to load a XML definition.
2300         * src/nact/nact-assistant-export.c:
2301         * src/nact/nact-assistant-export.ui:
2302         * src/nact/nact-assistant-import.c:
2303         Adjust the display to be more funny.
2305         * src/nact/nact-clipboard.c:
2306         Add na-export-format.h include file.
2308         * src/nact/nact-export-ask.c:
2309         * src/nact/nact-export-format.c:
2310         * src/nact/nact-export-format.h:
2311         Reference the NAExportFormat object instead of each and every label.
2313         * src/nact/nact-iprefs.h:
2314         Remove IPREFS_EXPORT_FORMAT_ASK definition.
2316         * src/nact/nact-preferences-editor.c:
2317         * src/nact/nautilus-actions-config-tool.ui:
2318         Use (renamed) nact_export_format_init_display() function.
2320         * src/api/na-core-utils.h:
2321         * src/core/na-core-utils.c (na_core_utils_file_exists):
2322         New function.
2324         * src/io-xml/naxml-writer.c: Export to file.
2326         * po/POTFILES.in: Updated.
2328         * src/api/na-data-types.h
2329         (na_data_types_get_gconf_dump_key): New function.
2331         * src/core/na-data-types.c: New file.
2333         * src/core/Makefile.am: Updated accordingly.
2335         * src/api/na-ifactory-object-data.h:
2336         * src/core/na-object-item-factory.c:
2337         (NAFO_DATA_TYPE): New elementary data.
2339         * src/core/na-ifactory-object.c:
2340         * src/api/na-ifactory-object.h
2341         (na_ifactory_object_get_data_boxed): New function.
2343         * src/core/na-core-utils.c (na_core_utils_dir_is_writable_uri):
2344         Give a better name to the parameter.
2346         * src/core/na-exporter.c:
2347         * src/core/na-exporter.h (na_exporter_to_buffer, na_exporter_to_file):
2348         Reorder of functions in the files.
2350         * src/core/na-factory-object.c:
2351         * src/core/na-factory-object.h:
2352         Now use the new na_ifactory_object_get_data_boxed() function.
2354         * src/core/na-object-action-factory.c:
2355         * src/core/na-object-profile-factory.c:
2356         * src/io-xml/naxml-keys.h:
2357         Move the schema descriptions to data factory.
2359         * src/core/na-object-action.c:
2360         * src/core/na-object-menu.c:
2361         (ifactory_object_read_start): Allocate the 'type' data boxed.
2363         * src/io-gconf/nagp-keys.h: Fix the path of the schemas.
2365         * src/io-xml/naxml-formats.c:
2366         * src/io-xml/naxml-formats.h: New files.
2368         * src/io-xml/Makefile.am: Updated accordingly.
2370         * src/io-xml/naxml-provider.c: Implement NAXMLWriter calls.
2372         * src/io-xml/naxml-writer.c:
2373         * src/io-xml/naxml-writer.h: Export to buffer.
2375         * src/nact/nact-clipboard.c
2376         (nact_clipboard_dnd_drag_end): Fix gtk_selection_data_free() call.
2377         (export_row_object): Also exports menus.
2379         * src/nact/nact-tree-model-dnd.c
2380         (nact_tree_model_dnd_imulti_drag_source_drag_data_get):
2381         Fix and parse the returned URI to get the path of the target folder.
2383 2010-03-01 Pierre Wieser <pwieser@trychlos.org>
2385         * po/POTFILES.in: Add src/core/na-exporter.c file.
2387         * src/api/na-iexporter.h: Refactor NAIExporter interface.
2389         * src/core/na-export-format.c:
2390         * src/core/na-export-format.h
2391         (na_export_format_get_exporter): New function.
2393         * src/core/na-exporter.c:
2394         * src/core/na-exporter.h:
2395         * src/core/na-iexporter.c:
2396         * src/core/na-importer.c:
2397         * src/io-xml/naxml-provider.c:
2398         * src/nact/nact-assistant-export.c:
2399         * src/nact/nact-clipboard.c: Updated accordingly.
2401         * src/api/na-iexporter.h:
2402         * src/core/na-export-format.c:
2403         * src/core/na-export-format.h:
2404         * src/core/na-exporter.c:
2405         * src/core/na-iexporter.c:
2406         * src/io-xml/naxml-provider.c:
2407         * src/nact/nact-export-format.c:
2408         NAExporterStr structure is renamed as NAIExporterFormat.
2410         * src/api/na-iimporter.h (from_uri):
2411         Rename the API function to be consistant with NAIExporter interface.
2413         * src/core/na-iimporter.c:
2414         * src/io-xml/naxml-provider.c: Updated accordingly.
2416         * src/nact/nact-tree-model-dnd.c
2417         (nact_tree_model_dnd_imulti_drag_source_drag_data_get):
2418         Target folder is an URI.
2420         * src/nact/nact-main-menubar-tools.c:
2421         * src/nact/nact-main-menubar-tools.h: New files.
2423         * src/nact/nact-main-menubar-maintainer.c:
2424         * src/nact/nact-main-menubar-maintainer.h: New files.
2426         * src/nact/nact-main-menubar.c (on_update_sensitivities):
2427         Only paste a NAObjectItem into a menu.
2429         * src/nact/nact-main-menubar-help.c:
2430         * src/nact/nact-main-menubar-help.h: New files.
2432         * src/nact/Makefile.am:
2433         * src/nact/nact-main-menubar.c:
2434         * src/nact/nact-main-menubar.h: Updated accordingly.
2436         * src/core/na-updater.c:
2437         * src/core/na-updater.h (na_updater_append_item): New function.
2439         * src/nact/nact-main-menubar.c (save_item): Fix save machinery.
2441         * src/nact/nact-assistant-import.c
2442         (check_for_existance): Directly use the main window.
2444         * src/nact/nact-tree-model-dnd.c (drop_uri_list):
2445         Adapt to use na_importer_import_from_list() function.
2446         Display messages in a dialog box.
2447         Split the selection data on a '\r\n' separator.
2449         * src/api/na-iimporter.h (NAIImporterListParms): New structure.
2451         * src/core/na-importer.c:
2452         * src/core/na-importer.h (na_importer_import_from_list): New function.
2454         * src/api/na-iimporter.h:
2455         * src/core/na-iimporter.c:
2456         * src/core/na-importer-ask.c:
2457         * src/core/na-importer-ask.h:
2458         * src/core/na-importer.c:
2459         * src/core/na-importer.h:
2460         * src/io-xml/naxml-reader.c:
2461         * src/io-xml/naxml-reader.h:
2462         * src/nact/nact-assistant-import.c:
2463         * src/nact/nact-tree-model-dnd.c:
2464         * src/test/test-reader.c:
2465         NAIImporterParms structure is renamed as NAIImporterUriParms.
2466         'item' member of this same structure is renamed as imported.
2468         * src/io-gconf/nagp-reader.c:
2469         * src/io-gconf/nagp-writer.c:
2470         * src/io-gconf/nagp-writer.h: Cleanup the code.
2472         * src/nact/nact-iaction-tab.c (setup_toolbar_label):
2473         Immediately update the toolbar label when it is the same that those
2474         of the action.
2476         * src/nact/nact-icommand-tab.c (parse_parameters):
2477         Fix display of a single '%' char.
2479         * src/nact/nautilus-actions-config-tool.ui:
2480         ActionIconLabelLabel field renamed as ActionToolbarLabelLabel.
2482         * src/io-gconf/nagp-reader.c (read_done_item):
2483         Only action needs to setup the parent pointer.
2485         * src/io-gconf/nagp-writer.c (nagp_writer_write_data):
2486         Only writes non-empty values.
2488         * src/core/na-object.c (na_object_object_reset_origin):
2489         No more check for the value of object origin before resetting it.
2491         * src/core/na-object-item.c
2492         (na_object_item_remove_item): Improve debug message.
2493         (copy_children): Refuse to copy when target already has children.
2495         * src/nact/nact-main-menubar.c
2496         (nact_main_menubar_save_items): Do not re-dump all the items hierarchy.
2497         (save_item): Remove old children after having created the new ones.
2499         * src/core/na-object-action.c (ifactory_object_read_done):
2500         Force toolbar label to be the same that action one if flag is set to true.
2502         * src/api/na-object-api.h: Fix minor typo.
2504 2010-02-28 Pierre Wieser <pwieser@trychlos.org>
2506         * src/io-desktop/nadp-desktop-file.c
2507         (nadp_desktop_file_get_key_file_path):
2508         No more invalidate the function.
2510         * src/api/na-ifactory-object.h:
2511         * src/core/na-object-item-factory.c:
2512         * src/nact/nact-iactions-list-bis.c:
2513         * src/nact/nact-iactions-list.h:
2514         Fix minor typo.
2516         * src/api/na-object-api.h:
2517         New na_object_copy macro (evaluates as na_object_object_copy).
2519         * src/api/na-object-item.h (na_object_item_copy): Removed function.
2521         * src/api/na-object.h:
2522         * src/core/na-object.c:.
2523         (copy): Add 'recursive' flag.
2524         (iduplicable_copy): Use na_object_copy() macro.
2525         (na_object_object_copy): New function.
2527         * src/core/na-factory-object.c (na_factory_object_copy):
2528         No more delete all NADataBoxed, but update those who already exist.
2529         (write_data_iter): Fix return code.
2531         * src/core/na-iduplicable.c (na_iduplicable_duplicate):
2532         Review the rationale, and ensure that the function is recursive.
2534         * src/core/na-object-action.c
2535         * src/core/na-object-item.c:
2536         * src/core/na-object-menu.c:
2537         * src/core/na-object-profile.c:
2538         (instance_constructed): Removed function.
2539         (ifactory_object_copy): Removed function.
2540         (object_copy): New function, implementation of NAObject::copy.
2542         * src/core/na-pivot.c (instance_dispose): Add debug message.
2544         * src/core/na-updater.c (na_updater_remove_item):
2545         Only update tree if object has no parent.
2547         * src/io-gconf/nagp-gconf-provider.c
2548         (ifactory_provider_iface_init): Address nagp_writer_write_start().
2550         * src/io-gconf/nagp-reader.c (nagp_reader_read_data): Comment debug message.
2552         * src/io-gconf/nagp-writer.c:
2553         * src/io-gconf/nagp-writer.h (nagp_writer_write_start): New function.
2554         Write the type of the NAObjectItem.
2556         * src/nact/nact-iaction-tab.c (on_tab_updatable_selection_changed):
2557         * src/nact/nact-icommand-tab.c (on_tab_updatable_selection_changed):
2558         * src/nact/nact-iconditions-tab.c (on_tab_updatable_selection_changed):
2559         As objects have defaults, no more test for null string.
2561         * src/nact/nact-main-menubar.c
2562         (nact_main_menubar_save_items): Dump after check status.
2563         (save_item): Use new na_object_copy() macro.
2565         * src/nact/nact-window.c (nact_window_save_item):
2566         Remove superfluous dumps.
2568 2010-02-27 Pierre Wieser <pwieser@trychlos.org>
2570         * src/core/na-iduplicable.c (na_iduplicable_check_status):
2571         An object without any origin is considered modified.
2573         * src/core/na-iduplicable.c (get_duplicable_str):
2574         NAIDuplicable object defaults to not modified.
2576         * src/core/na-object-item-factory.c:
2577         Pointers to list of subitems are not comparable.
2579         Rewrite the update of the pivot tree where there is a non null origin.
2580         * src/core/na-updater.c:
2581         * src/core/na-updater.h
2582         (na_updater_add_item): Removed function.
2583         (na_updater_insert_item): New function.
2585         * src/io-gconf/nagp-writer.c (nagp_writer_write_data):
2586         Fix the path of written data.
2588         * src/nact/nact-main-menubar.c (on_new_profile_activated): 
2589         Do not attach the profile as this is done by the tree model.
2590         (save_item): Copy the tree item to the pivot one if it exists.
2592         * src/core/na-object-item.c (instance_dispose):
2593         Set the subitems pointer to NULL before unreffing the children.
2595         * src/core/na-object.c (instance_finalize):
2596         Add a protection when finalizing NADataBoxed.
2598         * src/core/na-object-action.c (instance_constructed):
2599         * src/core/na-object-profile.c (instance_constructed):
2600         * src/core/na-object-menu.c (instance_constructed):
2601         Initialize NAIFactoryObject defaults here, rather than in object_new.
2603         * src/api/na-data-def.h: Remove fn_free() function pointer.
2605         * src/core/na-data-boxed.c:
2606         * src/core/na-object-action-factory.c:
2607         * src/core/na-object-id-factory.c:
2608         * src/core/na-object-profile-factory.c
2609         * src/core/na-object-item-factory.c: Updated accordingly.
2611         * src/core/na-iduplicable.c (get_duplicable_str):
2612         Initialize modification status to TRUE if origin is NULL.
2614         * src/nact/nact-tree-model.c (nact_tree_model_fill):
2615         Recheck modification and validity status of newly duplicated object.
2617 2010-02-26 Pierre Wieser <pwieser@trychlos.org>
2619         Fix references count mistakes in NACT.
2621         * src/api/na-object-api.h (na_object_unref_selected_items):
2622         New macro, more specifically targeting the tree selections.
2624         * src/core/na-factory-object.c:
2625         * src/core/na-factory-object.h (na_factory_object_finalize_instance):
2626         Renamed as na_factory_object_finalize().
2628         * src/core/na-object-action.c (instance_finalize):
2629         * src/core/na-object-item.c (instance_finalize):
2630         * src/core/na-object-menu.c (instance_finalize):
2631         * src/core/na-object-profile.c (instance_finalize):
2632         * src/core/na-object.c (instance_finalize):
2633         Move na_object_unref_selected_items() to 
2634         na_object:na_factory_object_finalize.
2636         * src/core/na-pivot.c (instance_dispose, reload_items):
2637         Use non-recursive na_object_unref_items() macro.
2639         * src/nact/nact-assistant-export.c (assist_prepare_confirm):
2640         * src/nact/nact-iactions-list.c (free_items_callback):
2641         * src/nact/nact-main-menubar.c (on_update_sensitivities):
2642         Use recursive na_object_unref_selected_items() macro.
2644         * src/nact/nact-iactions-list.c (filter_selection):
2645         Unref the got object immediately (which was the actual bug).
2647         * src/test/init-dispose-diff.sh: Fix and optimize.
2649         Fix display of modification status in NACT.
2651         * src/api/na-iduplicable.h:
2652         * src/core/na-iduplicable.c (na_iduplicable_set_modified):
2653         New function.
2655         * src/api/na-object-api.h:
2656         * src/api/na-object-item.h:
2657         * src/core/na-object-item.c (na_object_item_unref_items_rec):
2658         New function.
2660         * src/core/na-data-boxed.c (string_are_equal):
2661         * src/core/na-factory-object.c (na_factory_object_are_equal):
2662         * src/core/na-object.c (na_object_object_check_status_up):
2663         Rewrite equality tests.
2665         * src/core/na-object-action-factory.c:
2666         * src/core/na-object-item-factory.c:
2667         * src/core/na-object-profile-factory.c:
2668         * src/core/na-object-action.c:
2669         * src/core/na-object-menu.c:
2670         * src/core/na-object-profile.c:
2671         Review one more time default values and initial allocations.
2673         * src/core/na-pivot.c (instance_dispose, na_pivot_load_items:
2674         Only unref the first level of items.
2676         * src/core/na-updater.c (na_updater_remove_item):
2677         Only unref the removed object as it will take care of also unreffing
2678         its children if its reference count is correct.
2680         * src/nact/nact-iactions-list.c (display_label):
2681         Add a commented debug line.
2683         * src/test/check-po.sh: Test cpompleteness of po/POTFILES.in.
2684         * src/test/time.sh: Bench the elapsed build time.
2686 2010-02-25 Pierre Wieser <pwieser@trychlos.org>
2688         * po/POTFILES.in: Updated.
2690         * src/core/na-object-profile.c:
2691         Remove no more used default profile.
2693         * src/core/na-object-profile.c:
2694         * src/nact/nact-iactions-list.c:
2695         No more include gi18n.h.
2697         * src/api/na-ifactory-object.h:
2698         * src/core/na-ifactory-object.c:
2699         Remove get_default() function from the interface.
2701         * src/api/na-object-action.h:
2702         * src/core/na-object-action.c (na_object_action_new_with_defaults):
2703         New function.
2704         Remove ifactory_object_get_default() implementation.
2706         * src/api/na-object-menu.h:
2707         * src/core/na-object-menu.c (na_object_menu_new_with_defaults):
2708         New function.
2709         Remove ifactory_object_get_default() implementation.
2711         * src/api/na-object-profile.h:
2712         * src/core/na-object-profile.c (na_object_profile_new_with_defaults):
2713         New function.
2714         Remove ifactory_object_get_default() implementation.
2716         * src/core/na-factory-object.c:
2717         * src/core/na-factory-object.h
2718         (na_factory_object_set_defaults): New function.
2719         (na_factory_object_attach_with_default): Removed function.
2720         Cleanup the code.
2722         * src/core/na-object-action-factory.c:
2723         * src/core/na-object-item-factory.c:
2724         * src/core/na-object-profile-factory.c:
2725         Review default values.
2727         * src/nact/nact-iaction-tab.c:
2728         * src/nact/nact-icommand-tab.c:
2729         * src/nact/nact-iconditions-tab.c:
2730         Fix the display of NULL texts.
2732         * src/nact/nact-main-menubar.c:
2733         * src/utils/nautilus-actions-new.c:
2734         Allocate new objects with defaults.
2736         * src/api/na-ifactory-object.h:
2737         * src/api/na-ifactory-provider.h:
2738         * src/api/na-object-api.h:
2739         * src/api/na-object-item.h:
2740         * src/core/na-factory-object.c:
2741         * src/core/na-factory-object.h:
2742         * src/core/na-factory-provider.c:
2743         * src/core/na-factory-provider.h:
2744         * src/core/na-ifactory-provider.c:
2745         * src/core/na-object-action.c:
2746         * src/core/na-object-item.c:
2747         * src/core/na-object-menu.c:
2748         * src/core/na-object-profile.c:
2749         * src/core/na-updater.c:
2750         * src/io-gconf/nagp-gconf-provider.c:
2751         * src/io-gconf/nagp-writer.c:
2752         * src/io-gconf/nagp-writer.h:
2753         Implement NAIfactoryProvider in GConf I/O provider writer.
2755         Fix reference count errors in NACT user interface.
2757         * src/core/na-object-id.c (instance_dispose):
2758         Remove the disposing child from its parent childs list.
2760         * src/core/na-object-item-factory.c (free_items_list):
2761         * src/core/na-object-item.c (instance_dispose):
2762         * src/core/na-object.c (na_object_object_unref):
2763         Fix minor typo.
2765         * src/core/na-object-item.c (na_object_item_unref_items):
2766         Do not recursively unref objects here as this is done in dispose.
2768         * src/nact/nact-tree-model.c (nact_tree_model_dispose):
2769         Add a debug message.
2771         Make the menus exportable.
2773         * src/nact/nact-iactions-list.c:
2774         * src/nact/nact-tree-model-priv.h:
2775         * src/nact/nact-tree-model.c:
2776         * src/nact/nact-tree-model.h:
2777         Change the 'only_actions' semantic by a 'are_profiles_displayed' one.
2778         Profiles are actually stored, but not displayed.
2780         * src/nact/nact-iactions-list.c
2781         (nact_iactions_list_initial_load_toplevel):
2782         The title of the label column is no more localizable.
2784         Fix validity checks.
2786         * src/core/na-data-boxed.c
2787         (string_is_valid, locale_is_valid, slist_is_valid, pointer_is_valid,
2788         uint_is_valid): Fix individual validity checks of elementary data.
2790         * src/core/na-factory-object.c (na_factory_object_is_valid):
2791         First check for presence of mandatory data, then check present data.
2793         * src/core/na-iduplicable.c (na_iduplicable_duplicate):
2794         Also duplicate the status of the source object.
2796         * src/core/na-io-provider.c (na_io_provider_read_items):
2797         Add a comment.
2799         * src/core/na-object-item.c (na_object_item_copy):
2800         * src/core/na-object.c (na_object_object_check_status):
2801         Fix minor typo.
2803         * src/nact/nact-tree-model.c (nact_tree_model_fill):
2804         No more check status of newly duplicated objects.
2806         * src/nact/base-window.c (instance_dispose):
2807         Only set dispose after having tested for main window.
2809         * src/api/na-object-api.h:
2810         Distinguish between profile and item on get_label.
2812         * src/core/na-gtk-utils.c:
2813         * src/core/na-gtk-utils.h: New files.
2814         * src/core/Makefile.am: Updated accordingly.
2816         * src/core/na-data-boxed.c:
2817         * src/core/na-gconf-monitor.c:
2818         * src/core/na-importer-ask.c:
2819         * src/io-gconf/nagp-gconf-provider.c:
2820         * src/io-gconf/nagp-reader.c:
2821         * src/io-gconf/nagp-reader.h:
2822         Fix objects reading from GConf.
2824         * src/nact/nact-assistant-import.c:
2825         * src/nact/nact-iprefs.c:
2826         * src/nact/nact-preferences-editor.c:
2827         * src/nact/nact-tree-model-dnd.c:
2828         * src/utils/nautilus-actions-schemas.c:
2829         Move GConfClient to private object data, unref on dispose.
2831 2010-02-24 Pierre Wieser <pwieser@trychlos.org>
2833         * src/api/na-iimporter.h:
2834         * src/core/Makefile.am:
2835         * src/core/na-iimporter.c:
2836         * src/core/na-importer-ask.c:
2837         * src/core/na-importer-ask.h:
2838         * src/core/na-iprefs.c:
2839         * src/core/na-iprefs.h:
2840         * src/io-xml/naxml-reader.c:
2841         * src/nact/Makefile.am:
2842         * src/nact/nact-assistant-import.c:
2843         * src/nact/nact-iprefs.c:
2844         * src/nact/nact-iprefs.h:
2845         * src/nact/nact-main-window.h:
2846         * src/nact/nact-preferences-editor.c:
2847         * src/nact/nact-tree-model-dnd.c:
2848         * src/nact/nautilus-actions-config-tool.ui:
2849         * src/test/test-reader.c: ImporterAsk dialog.
2851         * src/io-xml/naxml-keys.c:
2852         * src/io-xml/naxml-keys.h:
2853         * src/io-xml/naxml-reader.c: Able to import type 3 XML files.
2855         * exports/config_1af5a47e-96d9_v1.4.schemas:
2856         * src/api/na-data-boxed.h:
2857         * src/api/na-ifactory-object-data.h:
2858         * src/core/na-data-boxed.c:
2859         * src/core/na-factory-object.c:
2860         * src/core/na-object-action.c:
2861         * src/core/na-object-id-factory.c:
2862         * src/core/na-object-item-factory.c:
2863         * src/core/na-object-profile-factory.c:
2864         * src/io-xml/naxml-provider.c:
2865         * src/io-xml/naxml-reader.c:
2866         * src/io-xml/naxml-reader.h: Able to import two profiles.
2868         * src/api/na-data-boxed.h:
2869         * src/api/na-gconf-utils.h:
2870         * src/core/na-data-boxed.c:
2871         * src/core/na-factory-object.c:
2872         * src/core/na-gconf-utils.c:
2873         Make the dump more pretty.
2875         * exports/action-5c4fa203-b5d0_post_v1.11_type_3.xml:
2876         * exports/config-4c4fa203-b5d0_post_v1.11_type_2.schema:
2877         * exports/config_1af5a47e-96d9_v1.schemas:
2878         * exports/config_2af5a47e-96d9_pre_v1.11.schemas:
2879         * exports/config_3c4fa203-b5d0_post_v1.11_type_1.schemas:
2880         Refactor export files to better suit test-reader needs.
2882         * src/api/Makefile.am:
2883         * src/api/na-data-boxed.h:
2884         * src/api/na-data-types.h:
2885         * src/api/na-gconf-utils.h:
2886         * src/api/na-ifactory-object-data.h:
2887         * src/api/na-ifactory-object.h:
2888         * src/api/na-ifactory-provider.h:
2889         * src/api/na-iimporter.h:
2890         * src/api/na-object-api.h:
2891         * src/api/na-object-profile.h:
2892         * src/core/Makefile.am:
2893         * src/core/na-data-boxed.c:
2894         * src/core/na-factory-object.c:
2895         * src/core/na-factory-object.h:
2896         * src/core/na-factory-provider.c:
2897         * src/core/na-factory-provider.h:
2898         * src/core/na-gconf-utils.c:
2899         * src/core/na-ifactory-object.c:
2900         * src/core/na-ifactory-provider.c:
2901         * src/core/na-importer.c:
2902         * src/core/na-importer.h:
2903         * src/core/na-io-provider.c:
2904         * src/core/na-object-action-factory.c:
2905         * src/core/na-object-action.c:
2906         * src/core/na-object-id-factory.c:
2907         * src/core/na-object-item-factory.c:
2908         * src/core/na-object-menu-factory.c:
2909         * src/core/na-object-menu.c:
2910         * src/core/na-object-profile-factory.c:
2911         * src/core/na-object-profile.c:
2912         * src/io-desktop/nadp-desktop-file.c:
2913         * src/io-desktop/nadp-desktop-file.h:
2914         * src/io-desktop/nadp-desktop-provider.c:
2915         * src/io-desktop/nadp-keys.c:
2916         * src/io-desktop/nadp-keys.h:
2917         * src/io-desktop/nadp-reader.c:
2918         * src/io-gconf/nagp-gconf-provider.c:
2919         * src/io-xml/naxml-keys.h:
2920         * src/io-xml/naxml-provider.c:
2921         * src/io-xml/naxml-reader.c:
2922         * src/io-xml/naxml-reader.h:
2923         * src/nact/nact-assistant-import.c:
2924         * src/nact/nact-tree-model-dnd.c:
2925         * src/test/test-include.c:
2926         * src/test/test-reader.c: Able to import a pre-v2 action.
2928 2010-02-22 Pierre Wieser <pwieser@trychlos.org>
2930         * src/api/Makefile.am:
2931         * src/api/na-ifactory-object-enum.h:
2932         * src/api/na-ifactory-object-str.h:
2933         * src/api/na-ifactory-object.h:
2934         * src/api/na-ifactory-provider.h:
2935         * src/api/na-iio-provider.h:
2936         * src/api/na-object-api.h:
2937         * src/core/Makefile.am:
2938         * src/core/na-data-element.c:
2939         * src/core/na-data-element.h:
2940         * src/core/na-factory-object.c:
2941         * src/core/na-factory-object.h:
2942         * src/core/na-ifactory-object.c:
2943         * src/core/na-ifactory-provider-priv.h:
2944         * src/core/na-ifactory-provider.c:
2945         * src/core/na-object-action-enum.c:
2946         * src/core/na-object-action.c:
2947         * src/core/na-object-id-enum.c:
2948         * src/core/na-object-item-enum.c:
2949         * src/core/na-object-item.c:
2950         * src/core/na-object-menu-enum.c:
2951         * src/core/na-object-menu.c:
2952         * src/core/na-object-profile-enum.c:
2953         * src/core/na-object-profile.c:
2954         * src/core/na-object.c:
2955         * src/io-desktop/nadp-desktop-provider.c:
2956         * src/io-desktop/nadp-desktop-provider.h:
2957         * src/io-desktop/nadp-keys.c:
2958         * src/io-desktop/nadp-keys.h:
2959         * src/io-desktop/nadp-reader.c:
2960         * src/io-desktop/nadp-writer.c:
2961         * src/io-xml/naxml-keys.h:
2962         * src/io-xml/naxml-reader.c:
2963         * src/test/test-include.c:
2964         Rename NAIDataFactory interface as NAIFactoryObject.
2966         * src/api/Makefile.am:
2967         * src/api/na-idata-factory-str.h:
2968         * src/api/na-idata-factory.h:
2969         * src/api/na-ifactory-provider-provider.h:
2970         * src/api/na-ifactory-provider.h:
2971         * src/api/na-iio-provider.h:
2972         * src/core/Makefile.am:
2973         * src/core/na-data-factory.c:
2974         * src/core/na-data-factory.h:
2975         * src/core/na-factory-provider.c:
2976         * src/core/na-factory-provider.h:
2977         * src/core/na-ifactory-provider-priv.h:
2978         * src/core/na-ifactory-provider.c:
2979         * src/core/na-object-action.c:
2980         * src/core/na-object-menu.c:
2981         * src/core/na-object-profile.c:
2982         * src/io-desktop/nadp-desktop-provider.c:
2983         * src/io-desktop/nadp-reader.c:
2984         * src/io-desktop/nadp-writer.c:
2985         * src/io-gconf/nagp-gconf-provider.c:
2986         * src/io-xml/naxml-provider.c:
2987         * src/io-xml/naxml-reader.c:
2988         Rename NAIIOFactory interface as NAIFactoryProvider.
2990         * src/core/na-io-provider.c:
2991         * src/core/na-pivot.c:
2992         * src/core/na-pivot.h:
2993         * src/nact/nact-application.c:
2994         * src/nact/nact-main-window.c:
2995         * src/plugin-menu/nautilus-actions.c:
2996         * src/utils/nautilus-actions-run.c
2997         (na_pivot_set_loadable): New function.
2998         (na_pivot_reload_items): Removed function.
3000 2010-02-21 Pierre Wieser <pwieser@trychlos.org>
3002         * src/core/na-pivot.c:
3003         * src/core/na-pivot.h:
3004         * src/core/na-updater.c:
3005         * src/core/na-updater.h:
3006         * src/nact/nact-application.c:
3007         * src/nact/nact-main-window.c:
3008         * src/plugin-menu/nautilus-actions.c:
3009         * src/test/test-reader.c:
3010         * src/utils/nautilus-actions-new.c:
3011         * src/utils/nautilus-actions-run.c:
3012         No more define the loadable set at NAPivot construction time,
3013         but deffer this when actually loading items.
3015 2010-02-20 Pierre Wieser <pwieser@trychlos.org>
3017         * po/POTFILES.in:
3018         * src/api/na-idata-factory-str.h:
3019         * src/api/na-idata-factory.h:
3020         * src/api/na-iimporter.h:
3021         * src/api/na-iio-factory.h:
3022         * src/api/na-object-api.h:
3023         * src/core/Makefile.am:
3024         * src/core/na-data-factory.c:
3025         * src/core/na-data-factory.h:
3026         * src/core/na-idata-factory.c:
3027         * src/core/na-iio-factory.c:
3028         * src/core/na-importer.c:
3029         * src/core/na-importer.h:
3030         * src/core/na-io-factory.c:
3031         * src/core/na-io-factory.h:
3032         * src/core/na-iprefs.h:
3033         * src/core/na-module.c:
3034         * src/core/na-object-action-enum.c:
3035         * src/core/na-object-action.c:
3036         * src/core/na-object-id-enum.c:
3037         * src/core/na-object-item-enum.c:
3038         * src/core/na-object-item.c:
3039         * src/core/na-object-menu-enum.c:
3040         * src/core/na-object-menu.c:
3041         * src/core/na-object-profile-enum.c:
3042         * src/core/na-object-profile.c:
3043         * src/core/na-pivot.c:
3044         * src/io-desktop/Makefile.am:
3045         * src/io-gconf/Makefile.am:
3046         * src/io-xml/Makefile.am:
3047         * src/io-xml/naxml-keys.c:
3048         * src/io-xml/naxml-keys.h:
3049         * src/io-xml/naxml-provider.c:
3050         * src/io-xml/naxml-provider.h:
3051         * src/io-xml/naxml-reader.c:
3052         * src/io-xml/naxml-reader.h:
3053         * src/nact/Makefile.am:
3054         * src/nact/nact-assistant-import.c:
3055         * src/nact/nact-import-ask.c:
3056         * src/nact/nact-iprefs.c:
3057         * src/nact/nact-preferences-editor.c:
3058         * src/nact/nact-tree-model-dnd.c:
3059         * src/plugin-menu/Makefile.am:
3060         * src/plugin-tracker/Makefile.am:
3061         * src/test/.gitignore:
3062         * src/test/Makefile.am:
3063         * src/utils/Makefile.am: Implement NAXMLReader.
3065 2010-02-18 Pierre Wieser <pwieser@trychlos.org>
3067         * src/api/na-core-utils.h:
3068         * src/api/na-idata-factory-str.h:
3069         * src/core/na-core-utils.c:
3070         * src/core/na-data-element.c:
3071         * src/core/na-data-element.h:
3072         * src/core/na-data-factory.c:
3073         * src/core/na-io-provider.c:
3074         * src/core/na-io-provider.h:
3075         * src/core/na-object-action-enum.c:
3076         * src/core/na-object-id-enum.c:
3077         * src/core/na-object-item-enum.c:
3078         * src/core/na-object-item.c:
3079         * src/core/na-object-menu-enum.c:
3080         * src/core/na-object-profile-enum.c:
3081         * src/core/na-object.c:
3082         * src/io-desktop/nadp-writer.c:
3083         * src/io-gconf/nagp-reader.c:
3084         * src/nact/nact-assistant-export.c:
3085         * src/nact/nact-iactions-list-bis.c:
3086         * src/nact/nact-main-statusbar.c:
3087         * src/nact/nact-tree-model-dnd.c:
3088         * src/nact/nact-tree-model.c:
3089         Fix non empty string list.
3090         Fix under reference in export assistant.
3091         Refactor NADataElement class.
3093         * src/core/na-exporter.c (na_exporter_get_formats):
3094         Fix infinite loop.
3096         * src/core/na-iduplicable.c (na_iduplicable_dispose):
3097         Test for effective connexion before trying to disconnect.
3099         * src/core/na-data-element.c (na_data_element_set):
3100         Fix value->type inverted assertion.
3102         * src/api/na-core-utils.h:
3103         * src/core/na-core-utils.c:
3104         * src/io-desktop/nadp-desktop-file.c:
3105         * src/io-desktop/nadp-desktop-provider.c:
3106         * src/io-desktop/nadp-xdg-dirs.c:
3107         Fix reading of localized values in the desktop file.
3109         * src/nact/base-iprefs.c:
3110         * src/nact/base-iprefs.h:
3111         * src/nact/nact-assistant-import.c:
3112         * src/nact/nact-icommand-tab.c:
3113         * src/nact/nact-import-ask.c:
3114         * src/nact/nact-iprefs.c:
3115         * src/nact/nact-iprefs.h:
3116         * src/nact/nact-main-toolbar.c:
3117         * src/nact/nact-preferences-editor.c:
3118         Fix bad inheritance of interfaces.
3120         * src/api/na-object-api.h:
3121         * src/api/na-object.h:
3122         * src/core/na-data-factory.c:
3123         * src/core/na-io-provider.c:
3124         * src/core/na-object-action.c:
3125         * src/core/na-object-id.c:
3126         * src/core/na-object-menu.c:
3127         * src/core/na-object-profile.c:
3128         * src/core/na-object.c: Fix validity check of the items.
3130 2010-02-17 Pierre Wieser <pwieser@trychlos.org>
3132         * po/POTFILES.in:
3133         * src/test/test-parse-uris.c:
3134         * src/nact/nact-preferences-editor.c:
3135         * src/nact/nact-main-statusbar.c:
3136         * src/nact/nact-iconditions-tab.c: Update list of translatable files.
3138         * src/api/na-core-utils.h:
3139         * src/api/na-idata-factory-str.h:
3140         * src/api/na-idata-factory.h:
3141         * src/api/na-iduplicable.h:
3142         * src/core/na-core-utils.c:
3143         * src/core/na-data-element.c:
3144         * src/core/na-data-element.h:
3145         * src/core/na-data-factory.c:
3146         * src/core/na-data-factory.h:
3147         * src/core/na-idata-factory.c:
3148         * src/core/na-iduplicable.c:
3149         * src/core/na-io-provider.c:
3150         * src/core/na-iprefs.c:
3151         * src/core/na-object-action-enum.c:
3152         * src/core/na-object-action.c:
3153         * src/core/na-object-id-enum.c:
3154         * src/core/na-object-item-enum.c:
3155         * src/core/na-object-menu.c:
3156         * src/core/na-object-profile-enum.c:
3157         * src/core/na-object-profile.c:
3158         * src/core/na-object.c:
3159         * src/io-desktop/nadp-desktop-provider.c:
3160         * src/io-gconf/nagp-reader.c: Add is_valid() functions.
3162         * src/utils/nautilus-actions-run.c: Restore production loadable set.
3164         * src/api/na-idata-factory.h:
3165         * src/api/na-iio-factory.h:
3166         * src/core/na-data-factory.c:
3167         * src/core/na-iio-factory.c:
3168         * src/core/na-object-action.c:
3169         * src/core/na-object-menu.c:
3170         * src/core/na-object-profile.c:
3171         * src/io-desktop/nadp-desktop-provider.c:
3172         * src/io-gconf/nagp-gconf-provider.c:
3173         * src/io-xml/naxml-provider.c:
3174         Add read_start() and write_start() to NAIIOFactory and 
3175         NAIDataFactory interfaces.
3177         * po/POTFILES.in: Update list of translatable files.
3179         * src/utils/console-utils.c:
3180         * src/utils/nautilus-actions-run.c: Update command-line utilities.
3182         * src/test/test-include.c:
3183         * src/test/test-parse-uris.c: Update test utilities.
3185         * src/plugin-tracker/na-tracker-dbus.c:
3186         * src/plugin-tracker/na-tracker.c: Update NATracker plugin.
3188         * src/core/Makefile.am:
3189         * src/core/na-updater.c:
3190         * src/core/na-updater.h:
3191         * src/nact/nact-window.c:
3192         * src/nact/nact-window.h: Update NactWindow class.
3194         * src/api/na-object-api.h:
3195         * src/api/na-object-item.h:
3196         * src/core/na-object-item.c:
3197         * src/nact/nact-tree-model-dnd.c:
3198         * src/nact/nact-tree-model.c: Update NactTreeModel class.
3200         * src/api/na-core-utils.h:
3201         * src/api/na-object-api.h:
3202         * src/api/na-object-profile.h:
3203         * src/core/na-core-utils.c:
3204         * src/core/na-object-profile.c:
3205         * src/io-gconf/nagp-reader.c:
3206         * src/nact/nact-ibackground-tab.c:
3207         * src/nact/nact-schemes-list.c: Update schemes list.
3209         * src/nact/nact-providers-list.c: Update providers list.
3211         * src/core/na-iprefs.c:
3212         * src/core/na-iprefs.h:
3213         * src/nact/nact-assistant-export.c:
3214         * src/nact/nact-export-ask.c:
3215         * src/nact/nact-export-format.c:
3216         * src/nact/nact-export-format.h:
3217         * src/nact/nact-preferences-editor.c:
3218         * src/nact/nact-preferences.ui: Update NactPreferencesEditor class.
3220         * src/nact/base-iprefs.c:
3221         * src/nact/base-iprefs.h:
3222         * src/nact/nact-main-window.c:
3223         * src/nact/nact-main-window.h: Update NactMainWindow class.
3225         * src/core/na-iprefs.c:
3226         * src/core/na-iprefs.h:
3227         * src/nact/nact-iprefs.c:
3228         * src/nact/nact-iprefs.h:
3229         * src/nact/nact-main-toolbar.c: Update toolbar.
3231         * src/api/na-iio-provider.h:
3232         * src/core/na-io-provider.c:
3233         * src/core/na-io-provider.h:
3234         * src/nact/nact-main-statusbar.c: Update status bar.
3236         * src/api/na-object-action.h:
3237         * src/api/na-object-api.h:
3238         * src/api/na-object-id.h:
3239         * src/api/na-object-item.h:
3240         * src/api/na-object-profile.h:
3241         * src/api/na-object.h:
3242         * src/core/na-object-action.c:
3243         * src/core/na-object-id.c:
3244         * src/core/na-object-item.c:
3245         * src/core/na-object-profile.c:
3246         * src/core/na-object.c:
3247         * src/core/na-pivot.c:
3248         * src/core/na-pivot.h:
3249         * src/core/na-updater.c:
3250         * src/core/na-updater.h:
3251         * src/nact/nact-export-format.c:
3252         * src/nact/nact-main-menubar.c: Update menu bar.
3254         * src/nact/nact-iprefs.c: Update NactIPrefs interface.
3256         * src/api/na-core-utils.h:
3257         * src/core/na-core-utils.c:
3258         * src/nact/nact-iconditions-tab.c:
3259         Update NactIConditionsTab interface.
3261         * src/api/na-core-utils.h:
3262         * src/core/na-core-utils.c:
3263         * src/core/na-iprefs.c:
3264         * src/core/na-iprefs.h:
3265         * src/nact/nact-icommand-tab.c:
3266         * src/nact/nact-iprefs.c:
3267         * src/nact/nact-iprefs.h: Update NactICommandTab interface.
3269         * src/api/na-object-api.h:
3270         * src/api/na-object-profile.h:
3271         * src/core/na-object-profile.c:
3272         * src/nact/nact-iaction-tab.c:
3273         * src/nact/nact-iadvanced-tab.c:
3274         * src/nact/nact-ibackground-tab.c: Update NactIBackgroundTab
3275         interface.
3277         * src/api/na-object-api.h:
3278         * src/api/na-object-item.h:
3279         * src/nact/nact-gtk-utils.c:
3280         * src/nact/nact-gtk-utils.h:
3281         * src/nact/nact-iaction-tab.c: Update NactIActionTab interface.
3283         * core/na-object-action-fn.h:
3284         * core/na-object-action-priv.h:
3285         * core/na-object-fn.h:
3286         * core/na-object-id-fn.h:
3287         * core/na-object-id-priv.h:
3288         * core/na-object-item-fn.h:
3289         * core/na-object-item-priv.h:
3290         * core/na-object-menu-fn.h:
3291         * core/na-object-menu-priv.h:
3292         * core/na-object-profile-fn.h:
3293         * core/na-object-profile-priv.h: Remove no more used files.
3295         * src/api/na-iduplicable.h:
3296         * src/api/na-object-api.h:
3297         * src/api/na-object-item.h:
3298         * src/api/na-object.h:
3299         * src/core/na-iduplicable.c:
3300         * src/core/na-object-item.c:
3301         * src/core/na-object.c:
3302         * src/nact/nact-iactions-list-bis.c:
3303         * src/nact/nact-iactions-list.c:
3304         * src/nact/nact-window.c:
3305         * src/nact/nact-window.h: Update NactIActionsList interface.
3307         * src/api/na-iduplicable.h:
3308         * src/api/na-object-api.h:
3309         * src/api/na-object-item.h:
3310         * src/core/na-exporter.c:
3311         * src/core/na-exporter.h:
3312         * src/core/na-iduplicable.c:
3313         * src/core/na-object-item.c:
3314         * src/nact/Makefile.am:
3315         * src/nact/nact-assistant-export.c:
3316         * src/nact/nact-clipboard.c:
3317         * src/nact/nact-clipboard.h:
3318         * src/nact/nact-confirm-logout.c:
3319         * src/nact/nact-export-ask.c:
3320         * src/nact/nact-export-format.c:
3321         * src/nact/nact-export-format.h:
3322         * src/nact/nact-iprefs.h:
3323         * src/nact/nact-main-menubar.h:
3324         * src/nact/nact-assistant-export.c:
3325         * src/nact/nact-assistant-export.h:
3326         * src/nact/nact-assistant-export.ui:
3327         * src/nact/nact-assistant-import.c:
3328         * src/nact/nact-import-ask.c:
3329         * src/nact/nact-import-ask.h:
3330         * src/nact/nact-iprefs.c:
3331         * src/nact/nact-iprefs.h:
3332         * src/nact/nact-tree-model.h: Update Nact classes.
3334         Refactor: move all XML code to src/io-xml plugin.
3336         * src/nact/Makefile.am:
3337         * src/nact/base-application-class.h:
3338         * src/nact/base-assistant.h:
3339         * src/nact/base-assistant.h:
3340         * src/nact/base-builder.h:
3341         * src/nact/base-dialog.h:
3342         * src/nact/base-iprefs.c:
3343         * src/nact/base-window-class.h: Update typo in Base class headers.
3345         * src/core/na-importer.c:
3346         * src/core/na-importer.h: New files.
3348         * src/core/Makefile.am:
3349         * src/core/na-iimporter.c:
3350         * src/core/na-io-provider.c:
3351         * src/core/na-iprefs.h: Update core library.
3353         * src/nact/nact-export-format.h:
3354         * src/nact/nact-export-format.c:
3355         * src/core/na-exporter.h:
3356         * src/core/na-exporter.c: Update export treatements.
3358         * src/api/na-iexporter.h:
3359         * src/core/na-iexporter.c:
3360         * src/io-xml/naxml-module.c:
3361         * src/io-xml/naxml-provider.c: Update NAIExporter interface.
3363         Define NAExportFormat new class.
3365         * src/core/na-export-format.c:
3366         * src/core/na-export-format.h: New files.
3368         Rename src/nact/nact-assistant-export-ask.{c,h} to
3369         src/nact/nact-export-ask.{c,h}
3371 2010-02-15 Pierre Wieser <pwieser@trychlos.org>
3373         Now install defined ids in docdir.
3375         * doc/export-format-id: New file.
3377         * doc/Makefile.am: Updated accordingly.
3379         Define NactIPrefs interface.
3381         * src/nact/nact-iprefs.c:
3382         * src/nact/nact-iprefs.h: New files.
3384         Update src/nact/
3385         Remove useless src/private directory.
3387         Define NAUpdater class.
3389         * src/core/na-updater.c:
3390         * src/core/na-updater.h: New files.
3392         Update src/core/na-pivot.{c,h}
3393         Update src/core/na-module.{c,h}
3394         Update src/core/na-iprefs.{c,h}
3395         Update src/core/na-ipivot-consumer.{c,h}
3396         Update src/core/na-io-factory.{c,h}
3397         Update src/core/na-io-provider.{c,h}
3398         Update src/core/na-iabout.{c,h}
3399         Update src/utils.
3401 2010-02-15 Deji Akingunola <dakingun@gmail.com>
3403         * src/test/Makefile.am: Fix typo.
3405 2010-02-15 Pierre Wieser <pwieser@trychlos.org>
3407         Update src/test.
3408         Update src/plugin-tracker.
3409         Update src/plugin-menu.
3411         Define NAIImporter interface.
3413         * src/api/na-iimporter.h:
3414         * src/core/na-iimporter.c: New files.
3416         Define NAIExporter interface.
3418         * src/api/na-iexporter.h:
3419         * src/core/na-iexporter.c: New files.
3421         * src/core/na-dbus-tracker.h: New file.
3423         Remove useless src/api/na-gconf-keys.h
3424         Update GConf I/O provider.
3425         Create src/io-gconf/nagp-keys.c
3426         Rename src/io-gconf/nagp-write.{c,h} to src/io-gconf/nagp-writer.{c,h}
3427         Rename src/io-gconf/nagp-read.{c,h} to src/io-gconf/nagp-reader.{c,h}
3429         Update I/O desktop provider.
3431         * src/io-desktop/nadp-keys.c:
3432         * src/io-desktop/nadp-keys.h: New files.
3434         Rename src/io-desktop/nadp-xdg-data-dirs.{c,h} to src/io-desktop/nadp-xdg-dirs.{c,h}
3435         Rename src/io-desktop/nadp-write.{c,h} to src/io-desktop/nadp-writer.{c,h}
3436         Rename src/io-desktop/nadp-read.{c,h} to src/io-desktop/nadp-reader.{c,h}
3438         NAObject-derived classes implement NAIDataFactory interface.
3440         * src/core/na-object-id-enum.c:
3441         * src/core/na-object-item-enum.c:
3442         * src/core/na-object-action-enum.c:
3443         * src/core/na-object-profile-enum.c:
3444         * src/core/na-object-menu-enum.c: New files.
3446         Define NADataElement class.
3448         * src/core/na-data-element.c:
3449         * src/core/na-data-element.h: New files.
3451         Define NAIDataFactory interface.
3453         * src/api/na-idata-factory.h:
3454         * src/api/na-idata-factory-enum.h:
3455         * src/api/na-idata-factory-str.h:
3456         * src/core/na-idata-factory.c:
3457         * src/core/na-data-factory.c:
3458         * src/core/na-data-factory.h: New files.
3460         Define NAIIOFactory interface.
3462         * src/api/na-iio-factory.h:
3463         * src/api/na-iio-factory-factory.h:
3464         * src/core/na-iio-factory.c:
3465         * src/core/na-io-factory.c:
3466         * src/core/na-io-factory.h: New files.
3468         Rename src/core/na-object-menu-class.h to src/api/na-object-menu.h
3469         Rename src/core/na-object-profile-class.h to src/api/na-object-profile.h
3470         Rename src/core/na-object-action-class.h to src/api/na-object-action.h
3471         Rename src/core/na-object-item-class.h to src/api/na-object-item.h
3472         Rename src/core/na-object-id-class.h to src/api/na-object-id.h
3473         Rename src/core/na-object-class.h to src/api/na-object.h
3474         Rename src/core/na-iduplicable.h to src/api/na-iduplicable.h
3475         Rename src/core/na-gconf-utils.h to src/api/na-gconf-utils.h
3476         Rename src/api/na-iio-provider.c to src/core/na-iio-provider.c
3478         * src/api/na-dbus.h: Update defined name.
3480         * m4/na-log-domains.m4: Update log domains with new subdirs.
3482         * doc/io-provider-id: Reference na-xml XML provider.
3484         Rename src/api/na-gconf-monitor.c to src/core/na-gconf-monitor.c
3485         Rename src/core/na-utils.h to src/api/na-core-utils.h
3486         Rename src/core/na-utils.c to src/core/na-core-utils.c
3488         * src/api/Makefile.am:
3489         * src/core/Makefile.am: Updated accordingly.
3491         * src/core/na-core-utils.c:
3492         * src/core/na-core-utils.h: Normalize functions names.
3494         Merge src/private/ and src/runtime to src/core/
3495         Rename src/api/na-api.h to src/api/na-extension.h
3497         * src/api/README:
3498         * src/io-desktop/nadp-module.c:
3499         * src/io-gconf/nagp-module.c:
3500         * src/runtime/na-module.c: Updated accordingly.
3502         Define XML provider as a dynamic module.
3503         
3504         * io-xml/Makefile.am:
3505         * io-xml/naxml-module.c:
3506         * io-xml/naxml-provider.c:
3507         * io-xml/naxml-provider.h: New files.
3509         Rename source tree from nautilus-actions/ to src/
3510         Rename src/io-provider-desktop/ to src/io-desktop/
3511         Rename src/io-provider-gconf/ to src/io-gconf/
3512         Rename src/plugin to src/plugin-menu/
3513         Rename src/tracker to src/plugin-tracker/
3515         * Makefile.am:
3516         * configure.ac:
3517         * po/POTFILES.in: Updated accordingly.
3519 2010-01-31 Pierre Wieser <pwieser@trychlos.org>
3521         * nautilus-actions/io-provider-desktop/nadp-desktop-file.c:
3522         * nautilus-actions/io-provider-desktop/nadp-desktop-file.h:
3523         * nautilus-actions/io-provider-desktop/nadp-read.c:
3524         * nautilus-actions/io-provider-desktop/nadp-utils.c:
3525         * nautilus-actions/io-provider-desktop/nadp-utils.h:
3526         * nautilus-actions/io-provider-gconf/nagp-read.c:
3527         Implements reading of .desktop files.
3529         * nautilus-actions/io-provider-gconf/nagp-write.c (write_item_action):
3530         Always writes the 'OBJECT_ITEM_TOOLBAR_LABEL_ENTRY' key.
3532 2010-01-30 Pierre Wieser <pwieser@trychlos.org>
3534         No more record the toolbar_same_label indicator.
3536         * nautilus-actions.schemas.in:
3537         Remove schema for 'toolbar-same-label' key.
3539         * nautilus-actions/io-provider-gconf/nagp-read.c
3540         (read_item_action_properties):
3541         No more read the 'toolbar-same-label' entry.
3543         * nautilus-actions/io-provider-gconf/nagp-write.c (write_item_action):
3544         No more write the 'toolbar-same-label' entry.
3545         Remove the key if undeeded.
3547         * nautilus-actions/nact/nact-iaction-tab.c
3548         (on_toolbar_same_label_toggled): Fix toolbar label setup.
3550         * nautilus-actions/nact/nact-xml-reader.c (apply_values):
3551         No more read OBJECT_ITEM_TOOLBAR_SAME_LABEL_ENTRY node.
3553         * nautilus-actions/runtime/na-gconf-utils.c:
3554         * nautilus-actions/runtime/na-gconf-utils.h
3555         (na_gconf_utils_remove_entry): New function.
3557         * nautilus-actions/runtime/na-xml-writer.c
3558         (create_schema_entry, create_dump_entry):
3559         No more write the 'toolbar-same-label' entry.
3561         * nautilus-actions/nact/nact-iaction-tab.c
3562         (on_tab_updatable_selection_changed):
3563         Update tab label depending on the currently selected item.
3565         * nautilus-actions/nact/nautilus-actions-config-tool.ui:
3566         No more give a special name to Action tab label.
3568         * nautilus-actions/nact/nautilus-actions-config-tool.ui:
3569         Fix Action tab layout.
3571         A full rewriting of the writability of items vs. providers.
3573         * data/nautilus-actions.schemas.in:
3574         Describe 'export-format' and 'io-providers-order' keys.
3575         Define 'mandatory/all/locked' key to lock all configuration.
3577         * doc/io-provider-id: Reserve 'all' special provider_id.
3579         * nautilus-actions/api/na-gconf-monitor.c
3580         * nautilus-actions/io-provider-desktop/nadp-desktop-file.c
3581         * nautilus-actions/io-provider-desktop/nadp-desktop-provider.c
3582         * nautilus-actions/nact/base-application.c
3583         * nautilus-actions/nact/base-assistant.c
3584         * nautilus-actions/nact/base-builder.c
3585         * nautilus-actions/nact/base-dialog.c
3586         * nautilus-actions/nact/base-window.c
3587         * nautilus-actions/nact/nact-application.c
3588         * nautilus-actions/nact/nact-assistant-export-ask.c
3589         * nautilus-actions/nact/nact-assistant-export.c
3590         * nautilus-actions/nact/nact-assistant-import-ask.c
3591         * nautilus-actions/nact/nact-assistant-import.c
3592         * nautilus-actions/nact/nact-clipboard.c
3593         * nautilus-actions/nact/nact-confirm-logout.c
3594         * nautilus-actions/nact/nact-window.c
3595         * nautilus-actions/runtime/na-module.c
3596         (instance_init, instance_dispose):
3597         Review debug messages formatting.
3599         * nautilus-actions/api/na-iio-provider.c:
3600         * nautilus-actions/api/na-iio-provider.h
3601         (is_writable): Removed API.
3602         (is_able_to_write): New API.
3603         Review operations return codes.
3604         Add provider status.
3606         * nautilus-actions/io-provider-desktop/nadp-desktop-provider.c:
3607         * nautilus-actions/io-provider-desktop/nadp-desktop-provider.h:
3608         * nautilus-actions/io-provider-desktop/nadp-read.c:
3609         * nautilus-actions/io-provider-desktop/nadp-write.c:
3610         * nautilus-actions/io-provider-desktop/nadp-write.h:
3611         * nautilus-actions/io-provider-gconf/nagp-gconf-provider.c:
3612         * nautilus-actions/io-provider-gconf/nagp-write.c:
3613         * nautilus-actions/io-provider-gconf/nagp-write.h:
3614         Updated to new NAIIOProvider API.
3616         * nautilus-actions/nact/nact-iaction-tab.c:
3617         * nautilus-actions/nact/nact-iactions-list.c:
3618         * nautilus-actions/nact/nact-iactions-list.h:
3619         * nautilus-actions/nact/nact-iadvanced-tab.c:
3620         * nautilus-actions/nact/nact-ibackground-tab.c:
3621         * nautilus-actions/nact/nact-icommand-tab.c:
3622         * nautilus-actions/nact/nact-iconditions-tab.c:
3623         * nautilus-actions/nact/nact-main-menubar.c:
3624         * nautilus-actions/nact/nact-main-tab.h:
3625         * nautilus-actions/nact/nact-main-window.c:
3626         * nautilus-actions/nact/nact-providers-list.c:
3627         * nautilus-actions/nact/nact-tree-model-dnd.c:
3628         * nautilus-actions/nact/nact-tree-model.c:
3629         * nautilus-actions/nact/nact-window.c:
3630         * nautilus-actions/nact/nact-window.h:
3631         Take advantage of the new global item writability status.
3633         * nautilus-actions/nact/nact-main-statusbar.c:
3634         * nautilus-actions/nact/nact-main-statusbar.h
3635         (nact_main_statusbar_set_locked): Display the reason.
3637         * nautilus-actions/nact/nact-iactions-list-bis.c
3638         (nact_iactions_list_bis_list_modified_items):
3639         Dump the raw content of the list.
3641         * nautilus-actions/plugin/nautilus-actions.c (instance_init):
3642         * nautilus-actions/runtime/na-pivot.c:
3643         * nautilus-actions/runtime/na-pivot.h(na_pivot_new):
3644         * nautilus-actions/utils/nautilus-actions-new.c (write_to_gconf):
3645         * nautilus-actions/utils/nautilus-actions-run.c (get_action):
3646         New na_pivot_new() signature.
3648         * nautilus-actions/private/na-object-item-fn.h:
3649         * nautilus-actions/private/na-object-item-priv.h:
3650         * nautilus-actions/private/na-object-item.c:
3651         The NAObjectItem now embeds a NAIOProvider pointer.
3653         * nautilus-actions/runtime/na-io-provider.c:
3654         * nautilus-actions/runtime/na-io-provider.h:
3655         Load all available and defined I/O providers.
3657         * nautilus-actions/test/init-dispose-diff.sh: New file.
3659 2010-01-27 Pierre Wieser <pwieser@trychlos.org>
3661         * nautilus-actions/nact/nact-preferences.ui:
3662         Fix the name of the Down button.
3663         Invert buttons so that Up is at the top, and Down at the bottom.
3665         * nautilus-actions/nact/nact-providers-list.c:
3666         Activate up/down buttons.
3667         Save the I/O providers individual preferences.
3668         Load and save in order.
3670         * nautilus-actions/runtime/na-io-provider.c:
3671         Order the I/O providers in write priority.
3673 2010-01-26 Pierre Wieser <pwieser@trychlos.org>
3675         * nautilus-actions/io-provider-gconf/nagp-read.c
3676         (nagp_iio_provider_read_items): Remove path trace.
3678         * nautilus-actions/nact/nact-application.c
3679         (appli_initialize_application):
3680         * nautilus-actions/plugin/nautilus-actions.c (instance_init):
3681         * nautilus-actions/utils/nautilus-actions-new.c (write_to_gconf):
3682         * nautilus-actions/utils/nautilus-actions-run.c (get_action):
3683         Adapt to new na_pivot_new().
3685         * nautilus-actions/nact/nact-iaction-tab.c (display_provider_name):
3686         Adapt to the temporary new NAIOProvider API.
3688         * nautilus-actions/nact/nact-preferences-editor.c:
3689         Fix compilation error by adding nact-providers-list.h include file.
3691         * nautilus-actions/nact/nact-providers-list.c:
3692         Display list of providers with their initial state.
3694         * nautilus-actions/plugin/nautilus-module.c:
3695         * nautilus-actions/tracker/na-tracker-plugin.c:
3696         (nautilus_module_initialize):
3697         Prefix the log message with "[N-A]".
3699         * nautilus-actions/runtime/na-gconf-utils.c:
3700         * nautilus-actions/runtime/na-gconf-utils.h
3701         (na_gconf_utils_get_subdirs, na_gconf_utils_free_subdirs):
3702         New functions.
3704         * nautilus-actions/runtime/na-io-provider.c:
3705         * nautilus-actions/runtime/na-io-provider.h:
3706         Refactoring to keep a static list of capable I/O providers.
3708         * nautilus-actions/runtime/na-module.c
3709         (na_module_load_modules): Only displays the name of the loaded module.
3710         (is_a_na_plugin): Add a trace with the full path of the module.
3712         * nautilus-actions/runtime/na-pivot.c:
3713         * nautilus-actions/runtime/na-pivot.h:
3714         Define loadable_set and io_provider_set as construct-only properties.
3715         Remove unused action_changed_handler stuff.
3716         No more maintain the list of capable I/O providers.
3718 2010-01-25 Pierre Wieser <pwieser@trychlos.org>
3720         * nautilus-actions/runtime/na-pivot.c:
3721         * nautilus-actions/runtime/na-pivot.h: Source reorganization.
3723         * nautilus-actions/runtime/na-pivot.c:
3724         * nautilus-actions/runtime/na-pivot.h (na_pivot_get_automatic_reload):
3725         Remove unused function.
3727         * nautilus-actions/runtime/na-pivot.c:
3728         * nautilus-actions/runtime/na-pivot.h (na_pivot_set_population):
3729         Function is renamed to na_pivot_set_loadable_population().
3730         The enum is named NAPivotLoadable.
3732         * nautilus-actions/plugin/nautilus-actions.c (instance_init):
3733         * nautilus-actions/utils/nautilus-actions-run.c (get_action):
3734         Adjusted accordingly.
3736         * nautilus-actions/runtime/na-module.c: Source slight adjustment.
3738 2010-01-23 Pierre Wieser <pwieser@trychlos.org>
3740         * nautilus-actions/nact/nact-schemes-list.c: Cleanup the source file.
3742         * nautilus-actions/nact/nact-preferences.ui:
3743         Reset tooltips in all preference pages.
3745         * nautilus-actions/nact/nact-providers-list.c:
3746         * nautilus-actions/nact/nact-providers-list.h: New files.
3748         * nautilus-actions/nact/Makefile.am: Updated accordingly.
3750         * nautilus-actions/nact/nact-preferences-editor.c:
3751         Updated to handle a sixth tab.
3753 2010-01-23 Pierre Wieser <pwieser@trychlos.org>
3755         * configure.ac: Bump version number.
3757         * All source files: Updated copyright notice.
3759 2010-01-23 Pierre Wieser <pwieser@trychlos.org>
3761         * NEWS: Updated for release.
3763         * po/POTFILES.in:
3764         Add nautilus-actions/nact/nact-preferences.ui file.
3766         * configure.ac:
3767         Add a dependancy on dbus-lib-1 for tracker.
3769         * nautilus-actions/nact/base-window.c (search_for_child_widget):
3770         Use GtkBuildable interface instead of 'name' field (fix #607704).
3772 2010-01-20 Pierre Wieser <pwieser@trychlos.org>
3774         * data/nautilus-actions.schemas.in:
3775         Add a schema for 'na-desktop/locked' mandatory key.
3777         * .gitignore:
3778         Ignore eclipse-specific files.
3780         * data/nautilus-actions.schemas.in:
3781         Fix default value for level zero key.
3782         Describe the new 'schemes' preference key.
3784         * nautilus-actions/nact/nact-preferences.ui:
3785         * nautilus-actions/nact/nact-schemes-list.c:
3786         * nautilus-actions/nact/nact-schemes-list.h: New files.
3788         * nautilus-actions/nact/nact-iadvanced-tab.c:
3789         * nautilus-actions/nact/nact-preferences-editor.c:
3790         * nautilus-actions/nact/Makefile.am: Updated accordingly.
3792 2010-01-17 Pierre Wieser <pwieser@trychlos.org>
3794         * nautilus-actions/nact/nact-assistant-export.ui:
3795         * nautilus-actions/nact/nautilus-actions-config-tool.ui:
3796         Forces default orientation of vboxes (fix #607218).
3798         * nautilus-actions/nact/nact-main-toolbar.c:
3799         * nautilus-actions/nact/nact-main-toolbar.h: New files.
3801         * nautilus-actions/nact/Makefile.am:
3802         * nautilus-actions/nact/nact-main-menubar.c: Updated accordingly.
3804 2010-01-16 Pierre Wieser <pwieser@trychlos.org>
3806         * nautilus-actions/nact/nact-clipboard.c:
3807         Fix primary clipboard management.
3809         * nautilus-actions/nact/nact-main-menubar.c     (on_update_sensitivities):
3810         Fix cut/copy/duplicate/delete sensitivity when selection is     multiple.
3812 2010-01-15 Pierre Wieser <pwieser@trychlos.org>
3814         * nautilus-actions/nact/nact-iactions-list-bis.c:
3815         * nautilus-actions/nact/nact-iactions-list.h
3816         (nact_iactions_list_bis_clear_selection): New function.
3818         * nautilus-actions/nact/nact-iactions-list.c (nact_iactions_list_fill):
3819         Clear the selection before filling the tree view.
3821         * nautilus-actions/nact/nact-main-menubar.c (on_update_sensitivities):
3822         Force the count of selected items to be consistant with the list.
3824         * nautilus-actions/nact/nact-tree-model-dnd.c (drop_inside):
3825         Dropped new item is set as new.
3827         * nautilus-actions/nact/nact-iactions-list.c (filter_selection):
3828         Review selection criteria, introducing implicit selection.
3830         * nautilus-actions/nact/nact-main-menubar.c (on_update_sensitivities):
3831         Review menu items sensitivity, especially when provider is not writable.
3832         Enable new item even when selection is multiple.
3834         * nautilus-actions/nact/nact-window.c:
3835         * nautilus-actions/nact/nact-window.h (nact_window_is_writable_item):
3836         New function.
3838 2010-01-05 Pierre Wieser <pwieser@trychlos.org>
3840         * configure.ac: Bump version number.
3842 2010-01-05 Pierre Wieser <pwieser@trychlos.org>
3844         * configure.ac: Add -Wformat=2 compilation option.
3846         * nautilus-actions/nact/nact-gtk-utils.c (nact_gtk_utils_set_editable):
3847         * nautilus-actions/nact/nact-iactions-list.c
3848         (nact_iactions_list_runtime_init_toplevel):
3849         * nautilus-actions/nact/nact-iadvanced-tab.c
3850         (runtime_init_connect_signals):
3851         * nautilus-actions/nact/nact-ibackground-tab.c
3852         (nact_ibackground_tab_runtime_init_toplevel):
3853         Substitute gtk_cell_layout_get_cells to obsoleted
3854         gtk_tree_view_column_get_cell_renderers.
3856         * nautilus-actions/runtime/na-xml-writer.c (na_xml_writer_output_xml):
3857         Use correct printf format.