Fix Data Factory Management System documentation
[nautilus-actions.git] / ChangeLog
blobe225b0c2c68648dd811705000da787164e60e576
1 2010-12-10 Pierre Wieser <pwieser@trychlos.org>
3         Fix Data Factory Management System documentation.
5         * docs/reference/nautilus-actions-docs.xml:
6         * docs/reference/nautilus-actions-sections.txt:
7         * src/api/na-extension.h:
8         * src/api/na-iexporter.h:
9         * src/api/na-ifactory-object-data.h:
10         * src/core/na-data-boxed.c:
11         * src/core/na-data-def.c:
12         * src/core/na-data-types.c:
13         * src/core/na-iexporter.c:
14         * src/core/na-ifactory-object.c:
15         * src/core/na-ifactory-provider.c:
16         * src/core/na-iimporter.c:
17         * src/core/na-iio-provider.c: Updated accordingly.
19 2010-12-09 Pierre Wieser <pwieser@trychlos.org>
21         Document NADataBoxed class.
23         * docs/reference/nautilus-actions-docs.xml:
24         * docs/reference/nautilus-actions-sections.txt:
25         * src/api/na-data-boxed.h:
26         * src/api/na-data-types.h:
27         * src/core/na-data-boxed.c:
28         * src/core/na-data-types.c: Updated accordingly.
30         Document NADataDef and NADataGroup structures.
32         * docs/reference/nautilus-actions-docs.xml:
33         * docs/reference/nautilus-actions-sections.txt:
34         * src/api/na-data-def.h:
35         * src/api/na-ifactory-object-data.h:
36         * src/api/na-ifactory-object.h:
37         * src/core/na-data-def.c:
38         * src/core/na-factory-object.c:
39         * src/core/na-factory-object.h:
40         * src/core/na-ifactory-object.c:
41         * src/core/na-ifactory-provider.c: Updated accordingly.
43         Document NAIFactoryObject interface.
45         * docs/reference/nautilus-actions-sections.txt:
46         * src/api/na-ifactory-object.h:
47         * src/core/na-ifactory-object.c:
48         * src/core/na-ifactory-provider.c: Updated accordingly.
50         Document NAIFactoryProvider interface.
52         * docs/reference/nautilus-actions-docs.xml:
53         * docs/reference/nautilus-actions-sections.txt:
54         * src/api/na-ifactory-provider-provider.h:
55         * src/api/na-ifactory-provider.h:
56         * src/core/na-factory-provider.h:
57         * src/core/na-ifactory-provider.c: Updated accordingly.
59         Fix NAIExporter reference manual.
61         * docs/reference/nautilus-actions-sections.txt:
62         * src/api/na-iexporter.h:
63         * src/api/na-iimporter.h:
64         * src/api/na-iio-provider.h:
65         * src/core/na-exporter.c:
66         * src/core/na-exporter.h:
67         * src/core/na-iexporter.c: Updated accordingly.
69         Fix NAIImporter reference manual.
71         * docs/reference/.gitignore:
72         * docs/reference/nautilus-actions-sections.txt:
73         * src/api/na-iimporter.h:
74         * src/api/na-iio-provider.h:
75         * src/core/na-iimporter.c:
76         * src/core/na-iio-provider.c:
77         * src/core/na-importer-ask.c:
78         * src/core/na-importer-ask.h:
79         * src/core/na-importer.c:
80         * src/core/na-importer.h: Updated accordingly.
82         * docs/reference/nautilus-actions-sections.txt: New file.
84 2010-12-08 Pierre Wieser <pwieser@trychlos.org>
86         Update reference manual for extensions.
87         Update reference manual for NAIIOProvider interface.
89         * docs/reference/na-about.xml: New file.
91 2010-12-06 Pierre Wieser <pwieser@trychlos.org>
93         * docs/reference/na-compiling.xml:
94         * docs/reference/na-dist-content.xml:
95         * docs/reference/na-getting.xml:
96         * docs/reference/na-plugin.xml:
97         * docs/reference/na-what-is-it.xml:
98         * docs/reference/version_dir.xml: New files.
100         * data/actions/my-first-na-action.desktop:
101         * data/actions/my-first-na-menu.desktop:
102         * data/actions/open-terminal-here.desktop:
103         * data/actions/show-na-parameters.desktop:
104         - Actually disabled actions and menus as stated in the doc and the README.
105         - Remove character encodings from localizable strings.
107 2010-12-03 Pierre Wieser <pwieser@trychlos.org>
109         * docs/nact/Makefile.am:
110         Automatically build DOC_ENTITIES and DOC_FIGURES lists.
112         Rename doc/ subdirectory to docs/.
114         * Makefile.am:
115         * configure.ac:
116         * docs/nact/Makefile.am: Updated accordingly.
118         * configure.ac: Post release version bump.
120         Releasing 3.0.2
122         * NEWS:
123         * README: Update before release.
125 2010-12-02 Pierre Wieser <pwieser@trychlos.org>
127         * src/nact/nautilus-actions-config-tool.ui:
128         Do not allow actions list to fully disappeared.
130         * src/nact/nact-gtk-utils.c:
131         * src/nact/nact-gtk-utils.h (nact_gtk_utils_select_file_with_preview):
132         New function.
134         * src/nact/nact-iaction-tab.c (on_icon_browse):
135         Add a preview when selecting an icon.
137         Factorize help description.
139         * po/POTFILES.in: add src/utils/console-utils.c file.
141         * src/utils/console-utils.c:
142         * src/utils/console-utils.h (console_cmdline_get_description):
143         New function.
145         * src/utils/nautilus-actions-new.c (init_options):
146         * src/utils/nautilus-actions-run.c (init_options):
147         * src/utils/nautilus-actions-schemas.c (init_options):
148         Updated to take advantage of new function.
150         * configure.ac: Display a summary of configuration options.
152         * m4/na-enable-manuals.m4:
153         * m4/na-maintainer-mode.m4:
154         * m4/na-nautilus-extdir.m4: Define displayable variables.
156 2010-12-01 Pierre Wieser <pwieser@trychlos.org>
158         * src/nact/nact-assistant-export.c
159         (assist_runtime_init_target_folder, on_folder_selection_changed):
160         Set/get current folder URI. Fix #616532.
162         * src/nact/nact-ifolders-tab.c (on_browse_folder_clicked):
163         Set/get current folder. Fix #616532.
165         * src/api/na-object-item.h: Define new ITEM_TARGET_ANY target.
167         * src/core/na-icontext.c (is_candidate_for_target):
168         Unconditionnally accepts any target.
170         * src/utils/nautilus-actions-run.c (main, get_profile_for_targets):
171         Ask there is no selection on the target. Fix #634056.
173         * configure.ac: call new NA_SET_DEFAULT_IO_PROVIDER macro.
175         * m4/na-default-io-provider.m4: New file.
177         * src/core/na-io-provider.c (na_io_provider_get_providers_list):
178         Used the configured default I/O provider when no preference has been
179         yet registered.
181         * configure.ac:
182         - Pre-release bump version number.
183         - Define NAUTILUS_ACTIONS_DEBUG variable.
185         * src/nact/nact-main.c (log_handler),
186         * src/plugin-menu/nautilus-module.c (log_handler),
187         * src/plugin-tracker/na-tracker-plugin.c (log_handler),
188         * src/utils/console-utils.c (log_handler):
189         Display debug informations when NAUTILUS_ACTIONS_DEBUG variable is set.
191         * doc/nact/Makefile.am:
192         Distribute admon-* icons with html docs (workaround for #636175).
194 2010-11-30 Pierre Wieser <pwieser@trychlos.org>
196         * doc/nact/Makefile.am: Only rebuild manuals when needed.
198         * src/plugin-menu/nautilus-actions.c (create_menu_item):
199         Set a unique name per target menu so that icons are displayed even
200         when both toolbar and location context menu are targeted.
202 2010-11-25 Pierre Wieser <pwieser@trychlos.org>
204         Add %o/%O no-op parameters.
206         * doc/nact/C/figures/nact-legend.png: Update legend screenshot.
207         * doc/nact/C/nact-execution.xml: Update parameters description.
209         * src/core/na-object-profile-factory.c:
210         * src/core/na-tokens.h: Update comments.
212         * src/core/na-tokens.c
213         (is_singular_exec, parse_singular): Update with new parameters.
215         * src/nact/nautilus-actions-config-tool.ui:
216         Update legend dialog.
218 2010-11-24 Pierre Wieser <pwieser@trychlos.org>
220         * doc/des-ema/des-ema-0.12:
221         * doc/des-ema/des-ema-0.13:
222         * doc/des-ema/des-ema-0.14:
223         * doc/des-ema/des-ema-0.15: New files.
225         * doc/nact/Makefile.am:
226         Do not distribute non translated figures in xx/ subdirectories.
228 2010-11-23 Pierre Wieser <pwieser@trychlos.org>
230         * doc/nact/C/nact-starting.xml:
231         Work-around in order to be able to build sl pdf.
233         * doc/nact/Makefile.am:
234         Include non-translated figures in translated pdf.
236 2010-11-22 Pierre Wieser <pwieser@trychlos.org>
238         * doc/nact/Makefile.am:
239         Be tolerant about not buildable pdf.
241         * po/POTFILES.in:
242         Fix #635521: translatable sentences of the *.ui files don't appear in .po file.
244         * run-autogen.sh:
245         Clean up aborted make distcheck before running autogen.
247         * doc/nact/C/nact-execution.xml:
248         Fix typo in NACT user's manual.
250         * src/core/na-icontext-factory.c:
251         Fix #632992: add comment about default value translation.
253 2010-09-23 Pierre Wieser <pwieser@trychlos.org>
255         * configure.ac: Pre-release version bump.
257         * doc/api/Makefile.am: Fix the warning when overriding GTKDOC_RUN.
259         * m4/na-enable-manuals.m4:
260         * run-autogen.sh:
261         Update --enable-html-manuals and --enable-pdf-manuals options.
263         * doc/nact/Makefile.am:
264         Do not rebuild pdf files each time make is run.
265         Have figures available when pdf are built.
266         Install figures with html documents.
268 2010-09-04 Pierre Wieser <pwieser@trychlos.org>
270         * doc/nact/Makefile.am: Fix make distcheck.
272 2010-09-03 Pierre Wieser <pwieser@trychlos.org>
274         Declare --with-db2html and --with-gdt options.
276         * Makefile.am:
277         Defaut distribution includes PDF and gnome-doc-tool HTML manuals.
279         * doc/nact/Makefile.am:
280         * m4/na-enable-manuals.m4:
281         Define --with-db2html and --with-gdt options.
283         * doc/nact/Makefile.am:
284         HTML and PDF installations honor --htmldir= and --pdfdir= options.
286         * doc/nact/Makefile.am:
287         Fix make distcheck when distributing tranlations of NACT user's manual.
289         * configure.ac:
290         Revert inversion of AC_CANONICAL_TARGET and AM_INIT_AUTOMAKE.
292         * src/io-desktop/nadp-writer.c (write_done_write_subitems_list):
293         Improve debug messages.
295         * src/nact/nact-icommand-tab.c
296         (on_tab_updatable_selection_changed): Update example label.
297         (parse_parameters): Cleanup code.
299 2010-09-02 Pierre Wieser <pwieser@trychlos.org>
301         * src/io-desktop/nadp-reader.c (nadp_reader_iimporter_import_from_uri):
302         Do not keep the imported desktop file.
304         * src/io-desktop/nadp-desktop-file.c (nadp_desktop_file_write):
305         Do not return TRUE if file has not been written due to dispose state.
307         * configure.ac: Setup the package URL.
309 2010-08-30 Pierre Wieser <pwieser@trychlos.org>
311         * doc/nact/C/nact-starting.xml: Update manual.
313         * doc/nact/C/figures/read-only.png: New file.
315         * doc/nact/Makefile.am: Remove '$(NULL)' expressions.
317         * configure.ac: Bump version number after unstable release.
319 2010-08-23 Pierre Wieser <pwieser@trychlos.org>
321         * NEWS: Update NEWS before unstable release.
323         * src/core/na-selected-info.c
324         (na_selected_info_get_list_from_item, na_selected_info_get_list_from_list):
325         Returns a null list when NASelectedInfo object is null.
327         * src/plugin-menu/nautilus-actions.c
328         (menu_provider_get_background_items, menu_provider_get_file_items,
329         menu_provider_get_toolbar_items):
330         Do not try to build a menu for Nautilus when NASelectedInfo list is empty.
332         * configure.ac: Bump version number after unstable release.
334         * NEWS: Update NEWS before unstable release.
336         * po/POTFILES.in: Add src/core/na-selected-info.c file.
338         * src/core/na-selected-info.c (query_file_attributes):
339         Make the error message translatable.
342         * src/core/na-tokens.c
343         (na_tokens_new_from_selection): Do not get dirname of a null filename.
344         (parse_singular): Take care of possibly null data or over-indexing.
346         * src/core/na-selected-info.c:
347         * src/core/na-selected-info.h (na_selected_info_create_for_uri):
348         Add errmsg parameter to check for incorrect URIs.
350         * src/utils/nautilus-actions-run.c (get_selection_from_strv):
351         Do not try to deal with malformed URIs.
353         * src/utils/nautilus-actions-schemas.c: Include glib-object.h.
355         * src/api/na-data-boxed.h: Revert to glib-object.h.
357 2010-08-22 Pierre Wieser <pwieser@trychlos.org>
359         * src/core/na-icontext.c (is_candidate_for_mimetypes):
360         * src/core/na-selected-info.c (na_selected_info_get_mime_type):
361         Take care of possibly NULL mimetype.
363 2010-08-21 Pierre Wieser <pwieser@trychlos.org>
365         * src/api/na-dbus.h
366         * src/api/na-ifactory-provider-provider.h
367         * src/core/na-importer-ask.h
368         * src/io-desktop/nadp-formats.h
369         * src/io-desktop/nadp-reader.h
370         * src/io-desktop/nadp-utils.h
371         * src/io-desktop/nadp-writer.h
372         * src/io-gconf/nagp-reader.h
373         * src/io-gconf/nagp-writer.h
374         * src/io-xml/naxml-formats.h
375         * src/io-xml/naxml-reader.h
376         * src/io-xml/naxml-writer.h
377         * src/nact/nact-tree-model-priv.h: Fix single inclusion.
379         * src/core/na-icontext.c
380         (is_candidate_for_schemes, is_candidate_for_folders):
381         Address each ocurrence of file instead of just the first one.
383         * doc/nact/Makefile.am: Fix PDF distribution.
385 2010-08-19 Pierre Wieser <pwieser@trychlos.org>
387         * src/nact/nautilus-actions-config-tool.ui:
388         Do not overexpand the example label.
390         * src/core/na-object-profile.c (convert_pre_v3_parameters_str):
391         Fix conversion of '%d/%f' to '%f' when there are other parameters.
393         * src/core/na-icontext.c
394         (is_candidate_for_mimetypes): Improve debug messages.
395         (is_candidate_for_basenames): Take care of matchcase.
397         * src/core/na-icontext.c
398         (is_mimetype_of): Take care of wildcard expressions.
399         (is_candidate_for_folders): Only try to g_pattern_match() if has pattern.
401         * src/plugin-menu/nautilus-actions.c
402         (build_nautilus_menus): Add debug messages.
404         * data/actions/open-terminal-here.desktop:
405         * data/actions/show-na-parameters.desktop: Fix typo.
407         * src/api/na-object-item.h:
408         * src/core/na-object-item.c
409         (na_object_item_deals_with_version): New function.
411         * src/api/na-object-profile.h:
412         * src/core/na-object-profile.c
413         (na_object_profile_convert_v2_to_last): New function.
415         * src/core/na-object-action.c:
416         * src/core/na-object-menu.c
417         (ifactory_object_read_start): Removed (unused) function.
419         * src/io-xml/naxml-reader.c (naxml_reader_read_done): Cleanup code.
421         * src/nact/nact-ibasenames-tab.c (on_tab_updatable_selection_changed):
422         Display matchcase status for the current context.
424 2010-08-18 Pierre Wieser <pwieser@trychlos.org>
426         * src/core/na-object-profile.c (convert_pre_v3_parameters_str):
427         As a special optimization, converts '%d/%f' to '%f'.
429         * src/io-xml/naxml-reader.c (naxml_reader_read_data):
430         Let a node available for a second reading in case of a multiple-defined
431         data (e.g. icon which exists in localized and unlocalized forms).
433         * src/io-desktop/nadp-desktop-file.c (nadp_desktop_file_new_from_uri):
434         Do not warn about malformed .desktop file when importing an URI.
436         Path+parameters are splitted whatever be the I/O importer.
438         * src/io-desktop/nadp-reader.c (read_done_profile_split_exec): Removed function.
440         * src/core/na-object-profile.c (split_path_parameters): New function.
442         * src/core/na-data-boxed.c (uint_set_from_string):
443         Fix default uint value when reading null string.
445         * src/nact/nact-assistant-import.c (assistant_apply): Cleanup code.
447 2010-08-17 Pierre Wieser <pwieser@trychlos.org>
449         * Replace GtkLable with GtkTextView in import and export assistants.
451         * src/nact/nact-assistant-export.c (assist_prepare_exportdone):
452         * src/nact/nact-assistant-import.c (prepare_importdone):
453         * src/nact/nact-assistant-export.ui:
454         * src/nact/nautilus-actions-config-tool.ui: Updated accordingly.
456         * src/core/na-core-utils.c (na_core_utils_str_split_first_word):
457         Accepts null or empty input string or output pointers.
459         * src/io-desktop/nadp-reader.c (read_done_profile_split_exec):
460         Only try to split a non-null command.
462 2010-08-16 Pierre Wieser <pwieser@trychlos.org>
464         * doc/nact/Makefile.am: Fix PDF build.
466         * configure.ac: Bump version number after unstable release.
468         * doc/nact/Makefile.am: Fix manuals cleanup.
470         * src/core/na-icontext.c (is_candidate_for_schemes):
471         Remove wrong variable override.
473         * configure.ac: Bump version number after unstable release.
475 2010-08-15 Pierre Wieser <pwieser@trychlos.org>
477         * data/actions/Makefile.am:
478         * data/actions/my-first-na-action.desktop:
479         * data/actions/my-first-na-menu.desktop:
480         * data/actions/open-terminal-here.desktop:
481         * data/actions/show-na-parameters.desktop: New files.
483         * data/gconf-schemas/Makefile.am:
484         Install GConf schemas in PKGDATADIR/gconf-schemas.
486         * NEWS: Update NEWS before unstable release.
488         Create a new data/actions subdirectory.
490         * configure.ac:
491         * data/Makefile.am: Updated accordingly.
493         * data/actions/Makefile.am:
494         * data/actions/README: New files.
496         Move schemas into a new subdirectory data/gconf-schemas.
498         * configure.ac:
499         * data/Makefile.am: Updated accordingly.
501         Move exports/ subdirectory into data/ tree.
503         * configure.ac:
504         * data/Makefile.am: Updated accordingly.
506         * data/exports/Makefile.am:
507         * data/exports/README: New files.
509         * doc/nact/Makefile.am: Fix PDF installation.
511         * src/core/na-object-profile.c (convert_pre_v3_parameters_str):
512         %f used to be the name of the file (a basename), converts it to %b.
514 2010-08-13 Pierre Wieser <pwieser@trychlos.org>
516         * doc/api/nautilus-actions-sections.txt:
517         * doc/api/nautilus-actions-docs.xml: New files.
519         * src/io-desktop/nadp-desktop-file.c (nadp_desktop_file_set_locale_string):
520         Write all available locales to have a chance another locale can get it.
522         * Makefile.am:
523         Build doc after src so that libraries are available when documenting them.
525         * autogen.sh:
526         * configure.ac: Implement gtk-doc and manuals generation.
528         * doc/api/Makefile.am: Build gtk-doc for public API.
530         * doc/nact/C/nact-conditions.xml:
531         * doc/nact/C/nact-execution.xml:
532         * doc/nact/C/nact-menus.xml:
533         * doc/nact/C/nact-profiles.xml:
534         * doc/nact/C/nact-sorting.xml:
535         * doc/nact/C/nact-starting.xml:
536         * doc/nact/C/nact-where.xml:
537         * doc/nact/C/nautilus-actions-config-tool.xml:
538         Update NACT user's manual.
540         * doc/nact/Makefile.am: Implement manuals generation.
542         * src/api/na-core-utils.h:
543         * src/api/na-data-boxed.h:
544         * src/api/na-data-types.h:
545         * src/api/na-gconf-utils.h:
546         * src/api/na-icontext.h:
547         * src/api/na-iduplicable.h:
548         * src/api/na-iimporter.h:
549         * src/api/na-object-api.h:
550         * src/api/na-object-id.h:
551         * src/api/na-object-item.h:
552         * src/core/na-core-utils.c:
553         * src/core/na-data-boxed.c:
554         * src/core/na-export-format.c:
555         * src/core/na-export-format.h:
556         * src/core/na-exporter.c:
557         * src/core/na-exporter.h:
558         * src/core/na-factory-object.c:
559         * src/core/na-factory-object.h:
560         * src/core/na-gconf-monitor.c:
561         * src/core/na-gconf-utils.c:
562         * src/core/na-iabout.h:
563         * src/core/na-icontext.c:
564         * src/core/na-ifactory-provider.c:
565         * src/core/na-importer-ask.c:
566         * src/core/na-io-provider.c:
567         * src/core/na-iprefs.c:
568         * src/core/na-object-id.c:
569         * src/core/na-object-item.c:
570         * src/core/na-object.c:
571         * src/core/na-selected-info.c:
572         * src/core/na-selected-info.h:
573         Update comments to suits gtk-doc requirements.
575         * COPYING-DOCS:
576         * doc/nact/C/figures/nact-desktop-environment-frame.png:
577         * doc/nact/C/figures/nact-exec-mode-frame.png:
578         * doc/nact/C/figures/nact-execute-as-frame.png:
579         * doc/nact/C/figures/nact-execution-environment-frame.png:
580         * doc/nact/C/figures/nact-selection-count-frame.png:
581         * doc/nact/C/figures/nact-startup-mode-frame.png:
582         * doc/nact/C/figures/nact-target-location.png:
583         * doc/nact/C/figures/nact-working-directory-frame.png:
584         * doc/nact/C/figures/sort-asc.png doc/nact/C/figures/sort-desc.png:
585         * doc/nact/C/figures/sort-manual.png:
586         * m4/na-enable-manuals.m4: New files.
588 2010-08-10 Pierre Wieser <pwieser@trychlos.org>
590         * src/nact/nact-icommand-tab.c: No more check for a non-empty profile name.
592         Allow writing of empty data.
594         * src/api/na-data-boxed.h:
595         * src/core/na-data-boxed.c
596         (na_data_boxed_is_set): Removed function.
597         (na_data_boxed_is_default): New function.
599         * src/io-desktop/nadp-writer.c (nadp_writer_ifactory_provider_write_data):
600         * src/io-gconf/nagp-writer.c (nagp_writer_write_data):
601         * src/io-xml/naxml-writer.c (naxml_writer_write_data):
602         Updated accordingly.
604         * src/core/na-object-item-factory.c:
605         * src/core/na-object-profile-factory.c:
606         Remove useless log description for a fake data.
608         * src/io-desktop/nadp-reader.c
609         (nadp_reader_ifactory_provider_read_data):
610         * src/io-xml/naxml-reader.c (read_data_boxed_from_node):
611         Set NADataBoxed as soon as a value is found.
613         Review pre- and post- write operations in I/O providers.
615         * src/core/na-object-action.c: Cleanup the code.
617         * src/core/na-object-item-factory.c:
618         NAFO_DATA_IVERSION becomes unwritable.
620         * src/io-desktop/nadp-writer.c:
621         * src/io-gconf/nagp-writer.c:
622         * src/io-xml/naxml-writer.c: Cleanup the code.
624         Immediately reacts to a status change in I/O providers.
626         * src/core/na-ipivot-consumer.c:
627         * src/core/na-ipivot-consumer.h
628         (na_ipivot_consumer_notify_of_io_provider_prefs_changed): New function.
629         (on_io_provider_prefs_changed): New interface API.
631         * src/core/na-pivot.c (monitor_runtime_preferences):
632         Add a monitor on io-providers GConf branch.
634         * src/nact/nact-main-window.c
635         (ipivot_consumer_on_io_provider_prefs_changed): New function.
637         Controls are not modifiable for a read-only item.
639         * src/nact/nact-gtk-utils.c:
640         * src/nact/nact-gtk-utils.h
641         (nact_gtk_utils_set_initial_state, nact_gtk_utils_reset_initial_state):
642         New functions.
644         * src/nact/nact-icommand-tab.c (on_tab_updatable_selection_changed):
645         Manage working directory browse button.
647         * src/nact/nact-ienvironment-tab.c (on_tab_updatable_selection_changed):
648         Manage try exec and show if running browse buttons.
649         Manage desktop environment radio buttons.
651         * src/nact/nact-iexecution-tab.c (on_tab_updatable_selection_changed):
652         Manage execution mode radio buttons.
654         * src/nact/nact-iproperties-tab.c (on_tab_updatable_selection_changed):
655         Manage description text view.
657         * src/nact/nact-match-list.c
658         (on_key_pressed_event): Only insert/delete rows if item is editable.
659         (on_must_match_toggled, on_must_not_match_toggled): Manage radio buttons.
661 2010-08-09 Pierre Wieser <pwieser@trychlos.org>
663         Review notification bufferization.
665         * src/core/na-ipivot-consumer.c:
666         * src/core/na-ipivot-consumer.h
667         (na_ipivot_consumer_delay_notify): Removed function.
668         (na_ipivot_consumer_allow_notify): New function.
670         * src/nact/nact-main-menubar-file.c (nact_main_menubar_file_save_items):
671         * src/nact/nact-main-window.c (instance_init):
672         * src/plugin-menu/nautilus-actions.c (instance_init):
673         Updated accordingly.
675         * src/core/na-pivot.c (on_item_changed_timeout):
676         * src/io-desktop/nadp-desktop-provider.c (on_monitor_timeout):
677         * src/io-gconf/nagp-gconf-provider.c (config_path_changed_trigger_interface):
678         Review the code.
680         Fix XML import of localized vs. unlocalized profile label.
682         * src/api/na-ifactory-object-data.h:
683         * src/core/na-object-profile-factory.c:
684         Define new NAFO_DATA_DESCNAME_NOLOC unlocalized profile label.
686         * src/api/na-object-api.h (na_object_get_label_noloc): New macro.
688         * src/io-xml/naxml-reader.c (naxml_reader_read_done):
689         Deals with localized vs. unlocalized profile description name.
691         Fix XML import of localized vs. unlocalized icons.
693         * src/api/na-ifactory-object-data.h:
694         * src/core/na-object-item-factory.c:
695         Define new NAFO_DATA_ICON_NOLOC unlocalized icon name.
697         * src/api/na-object-api.h (na_object_get_icon_noloc): New macro.
699         * src/io-xml/naxml-reader.c
700         (read_data_boxed_from_node): Only allocate a NADataBoxed for a non null value.
701         (naxml_reader_read_done): Deals with localized/unlocalized icon name.
703         * src/io-xml/naxml-reader.c (naxml_reader_read_start):
704         Attach the profile to the action before trying to read it.
706         * src/nact/nact-iexecution-tab.c (execution_mode_toggle):
707         Fix sensitivity of startup fields vs. execution mode.
709         * src/core/na-icontext.c (is_candidate_for_capabilities):
710         Fix incorrect handling of capability conditions.
712         * src/core/na-icontext.c (is_candidate_for_folders):
713         Fix incorrect and optimize handling of folder conditions.
715         * src/core/na-icontext.c (is_candidate_for_schemes):
716         Fix incorrect and optimize handling of scheme conditions.
718         * src/core/na-icontext.c (is_candidate_for_basenames):
719         Fix incorrect handling of basename conditions.
721         * src/core/na-icontext.c (is_candidate_for_mimetypes):
722         Fix incorrect handling of mimetype conditions.
724         * src/nact/nact-iaction-tab.c (on_icon_browse):
725         Fix incorrect setting of GConf preference.
727         * src/nact/nact-gtk-utils.c:
728         * src/nact/nact-gtk-utils.h
729         (nact_gtk_utils_get_pixbuf, nact_gtk_utils_render):
730         Size parameter is actually of GtkIconSize type.
732 2010-08-07 Pierre Wieser <pwieser@trychlos.org>
734         * configure.ac: Bump version number after unstable release.
736         Implement auto-save feature.
738         * src/core/na-ipivot-consumer.c:
739         * src/core/na-ipivot-consumer.h (on_autosave_changed): New interface.
741         * src/core/na-iprefs.c:
742         * src/core/na-iprefs.h (na_iprefs_read_uint): New function.
744         * src/nact/nact-iprefs.c:
745         * src/nact/nact-iprefs.h (nact_iprefs_read_uint): Removed function.
747         * src/core/na-pivot.c (on_preferences_change):
748         Trigger NAIPivotConsumer interface when autosave is changed.
750         * src/nact/nact-main-menubar-file.c:
751         * src/nact/nact-main-menubar-file.h
752         (nact_main_menubar_file_set_autosave): New function.
754         * src/nact/nact-main-window.c (ipivot_consumer_on_autosave_changed):
755         Implement the new on_autosave_changed() NAIPivotConsumer interface.
757         * src/nact/nact-preferences-editor.c (on_base_runtime_init_dialog):
758         Replace nact_iprefs_read_uint() with na_iprefs_read_uint().
760         Setup auto-save in preferences.
762         * data/nautilus-actions-prefs.schemas.in:
763         Describe new auto-save-on and auto-save-period preference keys.
765         * src/nact/nact-iprefs.c:
766         * src/nact/nact-iprefs.h
767         (nact_iprefs_read_uint, nact_iprefs_write_uint): New functions.
768         IPREFS_AUTOSAVE_ON, IPREFS_AUTOSAVE_PERIOD: New preference keys.
770         * src/nact/nact-preferences-editor.c:
771         Update the new auto-save-on and auto-save-period preference keys.
774         * src/nact/nact-preferences.ui:
775         * src/nact/nautilus-actions-config-tool.ui: New preference frame.
777 2010-08-05 Pierre Wieser <pwieser@trychlos.org>
779         * src/api/na-core-utils.h:
780         * src/core/na-core-utils.c
781         (na_core_utils_str_get_first_word): Removed function.
782         (na_core_utils_str_split_first_word): New function.
784         * src/io-desktop/nadp-reader.c
785         (nadp_reader_ifactory_provider_read_done):
786         Split the Exec content to get Path and Parameters data.
788         * src/core/na-object-profile-factory.c:
789         Review the description of the NAFO_DATA_PARAMETERS data.
791         * src/core/na-tokens.h: Update the comment.
793         * po/POTFILES.in: Add src/core/na-tokens.c file.
795         * src/core/na-tokens.c:
796         * src/core/na-tokens.h (na_tokens_new_for_example): New function.
798         * src/core/na-tokens.c (parse_singular):
799         Implement %m and %M parameters for mimetypes.
801         * src/nact/nact-icommand-tab.c (parse_parameters):
802         Use a fake NATokens object to print an example of the command.
804         * src/nact/nautilus-actions-config-tool.ui: Fix some labels.
806 2010-08-04 Pierre Wieser <pwieser@trychlos.org>
808         * src/core/na-tokens.c (is_singular_exec):
809         Implement DES-EMA draft v 0.13 which defines irrelevant parameters.
811 2010-08-02 Pierre Wieser <pwieser@trychlos.org>
813         * src/nact/nact-gtk-utils.c (nact_gtk_utils_get_pixbuf):
814         * src/nact/nact-iaction-tab.c (on_icon_changed):
815         Fix bad reinitialization of the icon item.
817         * doc/nact/C/figures/nact-basenames-tab.png:
818         * doc/nact/C/figures/nact-capabilities-tab.png:
819         * doc/nact/C/figures/nact-command-tab.png:
820         * doc/nact/C/figures/nact-environment-tab.png:
821         * doc/nact/C/figures/nact-execution-tab.png:
822         * doc/nact/C/figures/nact-folders-tab.png:
823         * doc/nact/C/figures/nact-legend.png:
824         * doc/nact/C/figures/nact-main-empty.png:
825         * doc/nact/C/figures/nact-mimetypes-tab.png:
826         * doc/nact/C/figures/nact-new-capability.png:
827         * doc/nact/C/figures/nact-preferences-export.png:
828         * doc/nact/C/figures/nact-preferences-import.png:
829         * doc/nact/C/figures/nact-preferences-io-providers.png:
830         * doc/nact/C/figures/nact-preferences-runtime.png:
831         * doc/nact/C/figures/nact-preferences-schemes.png:
832         * doc/nact/C/figures/nact-preferences-ui.png:
833         * doc/nact/C/figures/nact-properties-tab.png:
834         * doc/nact/C/figures/nact-schemes-tab.png:
835         Update all screenshots to include window decoration.
837         * doc/nact/nautilus-actions-config-tool.omf.in:
838         Change categorie and type of the NACT user's manual.
840         * src/nact/nact-main-menubar.c:
841         Change help menu item from Gtk default to Gnome (apparent) standard.
843         * src/nact/nact-main-menubar-help.c (nact_main_menubar_help_on_help):
844         Connect to Yelp.
846         * configure.ac: Update comments.
848         * src/nact/nact-add-capability-dialog.c (try_for_send_ok):
849         * src/nact/nact-add-scheme-dialog.c (try_for_send_ok):
850         * src/nact/nact-main-tab.c (nact_main_tab_is_page_enabled):
851         Check that Gtk+ is more recent that 2.18 for gtk_widget_get_sensitive().
853         Split the NACT manual by chapter.
855         * doc/nact/C/nact-usage.xml:
856         * doc/nact/C/nact-prefs.xml:
857         * doc/nact/C/nact-misc.xml: New files.
859         * doc/nact/C/nautilus-actions-config-tool.xml:
860         * doc/nact/Makefile.am: Updated accordingly.
862 2010-08-01 Pierre Wieser <pwieser@trychlos.org>
864         * nact/nact-iactions-list-bis.c (nact_iactions_list_bis_insert_items):
865         A new NAObjectItem must be inserted before the current NAObjectItem.
867         * doc/README: Define a global documentation plan.
869         * doc/api/Makefile.am:
870         * doc/api/version.xml.in:
871         Define a stub for future public API documentation, targeting
872         Nautilus-Actions plugins developers.
874         * doc/internals/Makefile.am:
875         Define a stub for future internal documentation, targeting
876         Nautilus-Actions core developers.
878         * doc/product/Makefile.am:
879         Define a stub for future global Nautilus-Actions documentation.
881         * configure.ac:
882         * doc/Makefile.am: Updated accordingly.
884         * doc/nact/ChangeLog:
885         * doc/nact/nautilus-actions-config-tool.omf.in: New files.
887         * doc/nact/C/articleinfo.xml:
888         * doc/nact/C/legalnotice.xml: Included as external entities rather
889         than from xi:include because of db2omf complains.
891         * doc/nact/C/appendix-feedback.xml:
892         * doc/nact/C/appendix-gnu-fdl-1.3.xml: Add DOCTYPE declaration.
894 2010-07-31 Pierre Wieser <pwieser@trychlos.org>
896         * src/nact/nautilus-actions-config-tool.ui:
897         Review tooltips.
899         * src/nact/nact-match-list.c (on_must_not_match_clicked):
900         Fix incorrect column id.
902         * src/nact/nact-match-list.c (sort_on_column):
903         Display sort indicator.
905         * src/nact/nact-match-list.c (on_must_match_toggled):
906         Fix crash when defining a positive assertion.
908         * src/core/na-icontext.c (is_candidate_for_capabilities):
909         Implement the function.
911         * src/core/na-selected-info.c:
912         * src/core/na-selected-info.h (na_selected_info_is_executable,
913         na_selected_info_is_owner, na_selected_info_is_readable,
914         na_selected_info_is_writable): New function.
916         * src/core/na-icontext.c (is_candidate_for_folders):
917         Implement the function.
919         * src/core/na-selected-info.c:
920         * src/core/na-selected-info.h (na_selected_info_get_dirname):
921         New function.
923         * src/core/na-icontext.c (is_candidate_for_schemes):
924         Implement the function.
926         * src/core/na-icontext.c (is_candidate_for_selection_count):
927         Implement the function.
929         * src/io-desktop/nadp-reader.c
930         (nadp_reader_ifactory_provider_read_start): Set minimal version number.
932 2010-07-30 Pierre Wieser <pwieser@trychlos.org>
934         * src/core/na-icontext.c (is_candidate_for_basenames):
935         Unref the GPatternSpec after use.
937         * src/core/na-icontext.c (is_candidate_for_basenames):
938         Implement the function.
940         * src/core/na-selected-info.c:
941         * src/core/na-selected-info.h (na_selected_info_get_basename):
942         New function.
944         * configure.ac: Add a dependancy on libgtop.
946         * src/core/na-icontext.c (is_candidate_for_show_if_running):
947         Implement the function.
949 2010-07-29 Pierre Wieser <pwieser@trychlos.org>
951         * src/io-desktop/nadp-formats.c:
952         * src/io-desktop/nadp-formats.h: New files.
953         These should have been added to 2.99.0, but where forgotten.
955         * docs/nact/Makefile.am: New file.
957         * configure.ac:
958         * docs/Makefile.am: Updated accordingly.
960         Create NACT user's manual skeleton.
961         
962         * docs/nact/C/appendix-feedback.xml:
963         * docs/nact/C/appendix-gnu-fdl-1.3.xml:
964         * docs/nact/C/articleinfo.xml:
965         * docs/nact/C/figures/nact-basenames-tab.png:
966         * docs/nact/C/figures/nact-capabilities-tab.png:
967         * docs/nact/C/figures/nact-command-tab.png:
968         * docs/nact/C/figures/nact-environment-tab.png:
969         * docs/nact/C/figures/nact-execution-tab.png:
970         * docs/nact/C/figures/nact-folders-tab.png:
971         * docs/nact/C/figures/nact-legend.png:
972         * docs/nact/C/figures/nact-main-empty.png:
973         * docs/nact/C/figures/nact-mimetypes-tab.png:
974         * docs/nact/C/figures/nact-preferences-export.png:
975         * docs/nact/C/figures/nact-preferences-import.png:
976         * docs/nact/C/figures/nact-preferences-io-providers.png:
977         * docs/nact/C/figures/nact-preferences-runtime.png:
978         * docs/nact/C/figures/nact-preferences-schemes.png:
979         * docs/nact/C/figures/nact-preferences-ui.png:
980         * docs/nact/C/figures/nact-properties-tab.png:
981         * docs/nact/C/figures/nact-schemes-tab.png:
982         * docs/nact/C/figures/nat-new-capability.png:
983         * docs/nact/C/index.xml:
984         * docs/nact/C/legalnotice.xml: New files.
986         Do some cleanup in NAObjectAction and NAObjectProfile code.
987         Implement execution of singular vs. plural command forms.
989         * src/api/na-object-action.h:
990         * src/core/na-object-action.c (na_object_action_is_candidate):
991         Removed function.
993         * src/api/na-object-profile.h:
994         * src/core/na-object-profile.c (na_object_profile_parse_parameters):
995         Removed function.
997         * src/core/na-tokens.c:
998         * src/core/na-tokens.h (na_tokens_execute_action): New function.
1000         * src/plugin-menu/nautilus-actions.c (execute_action):
1001         Move action execution to NATokens class.
1003         * src/utils/nautilus-actions-run.c: Now use NATokens class.
1005         * doc/: Renamed as docs/
1007         * configure.ac:
1008         * Makefile;am: Updated accordingly.
1010         * configure.ac: Bump the version number after release.
1012 2010-07-28 Pierre Wieser <pwieser@trychlos.org>
1014         * NEWS: Update NEWS before unstable release.
1016         * configure.ac: Bump the version number before unstable release.
1018         * src/io-desktop/nadp-module.c (na_extension_startup):
1019         Remove the #if/#endif macros to let the .desktop provider be released.
1021         * src/io-desktop/nadp-desktop-file.c:
1022         * src/io-desktop/nadp-desktop-file.h
1023         (nadp_desktop_file_new, nadp_desktop_file_get_key_file):
1024         New functions.
1026         * src/io-desktop/nadp-writer.c
1027         (nadp_writer_iexporter_export_to_buffer): Implement the function.
1029         Import/export .desktop files.
1031         * doc/export-format-id: Declare the new export format.
1033         * po/POTFILES.in: Add a file.
1035         * src/api/na-core-utils.h:
1036         * src/core/na-core-utils.c
1037         (na_core_utils_slist_add_message, na_core_utils_file_load_from_uri):
1038         New functions.
1040         * src/api/na-iimporter.h:
1041         * src/core/na-iimporter.c (na_iimporter_manage_import_mode):
1042         New function.
1044         * src/io-desktop/nadp-formats.c:
1045         * src/io-desktop/nadp-formats.h: New files.
1047         * src/io-desktop/Makefile.am: Updated accordingly.
1049         * src/io-desktop/nadp-desktop-file.c:
1050         * src/io-desktop/nadp-desktop-file.h
1051         (nadp_desktop_file_new_from_uri): New function.
1052         (nadp_desktop_file_get_key_file_path): Renamed as nadp_desktop_file_get_key_file_uri().
1054         * src/io-desktop/nadp-desktop-provider.c:
1055         Declare NAIImporterInterface and NAIExporterInterface interfaces.
1057         * src/io-desktop/nadp-reader.c:
1058         * src/io-desktop/nadp-reader.h
1059         (nadp_reader_iimporter_import_from_uri): New function.
1061         * src/io-desktop/nadp-utils.c:
1062         * src/io-desktop/nadp-utils.h
1063         (nadp_utils_is_writable_file): Renamed as nadp_utils_uri_is_writable().
1064         (nadp_utils_uri_delete): New function.
1066         * src/io-desktop/nadp-writer.c:
1067         * src/io-desktop/nadp-writer.h
1068         (nadp_writer_iexporter_export_to_buffer, nadp_writer_iexporter_export_to_file):
1069         New functions.
1071         * src/nact/nact-add-scheme-dialog.c:
1072         Prevent a default scheme to be inserted twice.
1074         * src/nact/nact-ischemes-tab.c:
1075         Use the current list of rows instead of the current schemes list.
1077         * src/nact/nact-match-list.c:
1078         Prevent a standard filter to be inserted twice.
1080         * src/api/na-core-utils.h:
1081         * src/core/na-core-utils.c (na_core_utils_slist_dump):
1082         Add a prefix parameter to the function.
1084         * src/core/na-data-boxed.c (slist_dump):
1085         * src/core/na-io-provider.c (na_io_provider_get_providers_list):
1086         * src/io-desktop/nadp-writer.c (nadp_writer_ifactory_provider_write_done):
1087         * src/nact/nact-match-list.c (nact_match_list_on_selection_changed):
1088         * src/test/test-reader.c (main): Updated accordingly.
1090 2010-07-26 Pierre Wieser <pwieser@trychlos.org>
1092         * src/api/na-core-utils.h:
1093         * src/core/na-core-utils.c (na_core_utils_slist_find):
1094         Moved to na_core_utils_slist_count.
1096         * src/core/na-icontext.c (is_candidate_for_show_in):
1097         * src/io-desktop/nadp-writer.c
1098         (nadp_writer_ifactory_provider_write_done): Updated accordingly.
1100         * src/nact/nact-match-list.c (on_filter_edited):
1101         Add g_return_if_fail checks on data and context.
1103         Prevent of inline edition of capabilities.
1105         * src/nact/nact-match-list.c:
1106         * src/nact/nact-match-list.h (nact_match_list_create_model):
1107         Add editable_filter input parameter.
1109         * src/nact/nact-match-list.c (nact_match_list_on_selection_changed):
1110         Only enable the column if filter and item are both editable.
1112         * src/nact/nact-ibasenames-tab.c:
1113         * src/nact/nact-icapabilities-tab.c:
1114         * src/nact/nact-ifolders-tab.c:
1115         * src/nact/nact-imimetypes-tab.c:
1116         * src/nact/nact-ischemes-tab.c: Updated accordingly.
1118         Prevent a capability to be inserted twice.
1120         * src/nact/nact-add-capability-dialog.c (on_button_press_event):
1121         On double-clic, check for OK sensitivity.
1123         * src/nact/nact-icapabilities-tab.c (on_add_clicked):
1124         Provide the dialog with our current content rather than current capabilities.
1126         * src/nact/nact-match-list.c:
1127         * src/nact/nact-match-list.h (nact_match_list_get_rows): New function.
1129         Fix parameters conversion to v3.
1131         * src/core/na-object-action.c (icontext_is_candidate):
1132         Fix comment and minor typo.
1134         * src/core/na-object-profile.c:
1135         * src/io-gconf/nagp-reader.c (convert_pre_v3_parameters):
1136         Move pre-v3 parameters conversion from GConf provider to profile class.
1138         * src/io-desktop/nadp-reader.c
1139         (nadp_reader_ifactory_provider_read_start):
1140         * src/io-gconf/nagp-reader.c (nagp_reader_read_start):
1141         * src/io-gconf/nagp-gconf-provider.c (ifactory_provider_iface_init):
1142         * src/io-gconf/nagp-reader.h:
1143         Now attach profile to its parent in 'read_start' interface.
1145         * src/io-desktop/nadp-reader.c
1146         (nadp_reader_ifactory_provider_read_done):
1147         * src/io-gconf/nagp-reader.c (nagp_reader_read_done):
1148         Homogeneïze the read_done functions.
1150         Move the reading of the subitems key for the desktop I/O provider
1151         from 'read_done' to 'read_start'.
1153         * src/io-desktop/nadp-reader.c:
1154         * src/io-desktop/nadp-reader.h
1155         (nadp_reader_ifactory_provider_read_start): New function.
1157         * src/io-desktop/nadp-desktop-provider.c: Updated accordingly.
1159 2010-07-19 Pierre Wieser <pwieser@trychlos.org>
1161         * src/api/na-object-item.h:
1162         * src/core/na-object-item.c (na_object_item_factory_write_start):
1163         Function is renamed as na_object_item_rebuild_children_slist().
1165         * src/core/na-object-action.c:
1166         * src/core/na-object-menu.c: Updated accordingly.
1168 2010-07-05 Pierre Wieser <pwieser@trychlos.org>
1170         * src/nact/nact-icommand-tab.c (nact_icommand_tab_runtime_init_toplevel):
1171         Connect to delete-event signal to hide the GtkWindow.
1173 2010-07-03 Pierre Wieser <pwieser@trychlos.org>
1175         * src/nact/nact-add-capability-dialog.c (on_base_runtime_init_dialog):
1176         Doucle-click validates the dialog.
1178         * src/nact/nact-add-scheme-dialog.c (on_base_runtime_init_dialog):
1179         Doucle-click validates the dialog.
1181         * src/nact/nact-schemes-list.c (nact_schemes_list_create_model):
1182         Scheme keyword and description are editable in user preferences.
1184 2010-07-02 Pierre Wieser <pwieser@trychlos.org>
1186         * src/core/na-tokens.c (na_tokens_new_from_selection):
1187         Add a trace.
1189         * src/core/na-tokens.h: Fix minor typo.
1191         * src/plugin-menu/nautilus-actions.c:
1192         There should not be any need to keep a reference to our menu.
1194         * data/nautilus-actions-prefs.schemas.in:
1195         * src/core/na-iprefs.h:
1196         * src/core/na-importer-ask.c:
1197         * src/core/na-importer-ask.h:
1198         Define a new GConf preference 'keep last user choice'.
1200         * src/api/na-iimporter.h:
1201         * src/core/na-iimporter.c:
1202         from_uri() interface is renamed as import_from_uri().
1203         Only define na_iimporter_import_from_uri() public API.
1205         * src/core/na-importer.c:
1206         * src/core/na-importer.h:
1207         Define here na_importer_import_from_list() internal API.
1209         * src/io-xml/naxml-provider.c:
1210         * src/io-xml/naxml-reader.c:
1211         * src/io-xml/naxml-reader.h:
1212         * src/nact/nact-assistant-import.c:
1213         * src/nact/nact-tree-model-dnd.c:
1214         * src/test/test-reader.c: Updated accordingly.
1216         * src/core/na-object-id.c (na_object_id_set_new_id):
1217         Fix object type test.
1219         * src/core/na-object-item.c (object_id_new_id):
1220         Fix minor typo.
1222         * src/core/na-object-profile.c (object_id_new_id):
1223         Fix order of validity test.
1224         Only get a new profile name when a new parent is provided.
1226 2010-06-29 Pierre Wieser <pwieser@trychlos.org>
1228         * src/nact/nact-tree-model-dnd.c (drop_uri_list):
1229         Make the code in adequation with the comment.
1231         * src/nact/nact-gtk-utils.c (nact_gtk_utils_get_pixbuf):
1232         Do not emit a warning when file is just not found.
1234 2010-06-28 Pierre Wieser <pwieser@trychlos.org>
1236         * src/io-desktop/nadp-writer.c
1237         (nadp_writer_ifactory_provider_write_data):
1238         Concatenate path and parameters fields to the Exec key.
1240         * src/nact/nact-assistant-import.c (has_readable_files):
1241         Get ride of warning messages in some usual situations.
1243         * src/nact/nact-main-menubar-file.c (nact_main_menubar_file_save_items):
1244         Force sensitivities update when new tree store is empty.
1246         * src/core/na-iduplicable.c (na_iduplicable_check_status):
1247         * src/core/na-object.c (na_object_object_unref):
1248         Review debug messages.
1250         * src/core/na-pivot.c:
1251         * src/core/na-pivot.h (na_pivot_set_new_items): New function.
1253         * src/nact/nact-main-menubar-file.c (save_item):
1254         Duplicate all current tree store to a new pivot.
1256 2010-06-23 Pierre Wieser <pwieser@trychlos.org>
1258         * src/nact/nact-ienvironment-tab.c (on_tab_updatable_selection_changed):
1259         * src/nact/nact-iexecution-tab.c (on_tab_updatable_selection_changed):
1260         Radio buttons are inconsistent if and only if there is no context.
1262         * src/nact/nact-tree-model.c (dump_store): Also dumps origin.
1264         * src/core/na-updater.c (na_updater_remove_item):
1265         Do not unref here removed item.
1266         Also remove item from non level zero parent.
1268         * src/nact/nact-main-window.c (actually_delete_item):
1269         Updated accordingly.
1271         * src/core/na-icontext.c (is_candidate_for_try_exec):
1272         Do not try to get info for non existing file.
1274 2010-06-21 Pierre Wieser <pwieser@trychlos.org>
1276         * src/core/na-icontext.c (is_candidate_for_show_in):
1277         Implement the check of the environment (though not yet the desktop
1278         detection).
1280         * src/nact/nact-iaction-tab.c:
1281         * src/nact/nact-ibasenames-tab.c:
1282         * src/nact/nact-icommand-tab.c:
1283         * src/nact/nact-ienvironment-tab.c:
1284         * src/nact/nact-iexecution-tab.c:
1285         * src/nact/nact-iproperties-tab.c:
1286         * src/nact/nact-match-list.c:
1287         Reset all fields to an empty value when there is no selection.
1289         * src/nact/nact-main-tab.h:
1290         * src/nact/nautilus-actions-config-tool.ui:
1291         Move the Execution tab just besides the Command one.
1293 2010-06-20 Pierre Wieser <pwieser@trychlos.org>
1295         * src/core/na-object.c (na_object_object_unref):
1296         Fix infinite unref of child items.
1298         * src/nact/nact-tree-model.c (nact_tree_model_display):
1299         Set debug messages.
1301 2010-06-18 Pierre Wieser <pwieser@trychlos.org>
1303         * src/core/na-object.c (na_object_object_unref):
1304         Fix segfault when unfiltering invalid items.
1306         * src/core/na-object-item-factory.c:
1307         Numeric version is no more writable by default.
1309         * src/io-gconf/nagp-keys.h:
1310         * src/io-gconf/nagp-writer.c (nagp_writer_write_start):
1311         Explicitely write the numeric version to GConf.
1313         * src/core/na-object-item-factory.c:
1314         Provider data is no more duplicable by NAIFactoryObject.
1316         * src/core/na-object-item.c (object_copy):
1317         Explicitely triggers NAIOProvider::duplicate_data method.
1319         * src/io-desktop/nadp-desktop-provider.c (iio_provider_iface_init):
1320         * src/io-desktop/nadp-writer.c:
1321         * src/io-desktop/nadp-writer.h (nadp_iio_provider_duplicate_data):
1322         Implement NAIIOProvider::duplicate_data interface.
1324         * src/io-gconf/nagp-gconf-provider.c (iio_provider_iface_init):
1325         Initialize NAIIOProvider duplicate_data() virtual pointer.
1327         * src/api/na-iio-provider.h:
1328         * src/core/na-iio-provider.c (duplicate_data):
1329         * src/core/na-io-provider.c:
1330         * src/core/na-io-provider.h (na_io_provider_duplicate_data):
1331         Define new NAIIOProvider interface.
1333 2010-06-17 Pierre Wieser <pwieser@trychlos.org>
1335         * src/api/na-iio-provider.h:
1336         * src/core/na-iio-provider.c (na_iio_provider_item_changed):
1337         Remove useless item id parameter.
1339         * src/core/na-ipivot-consumer.c (is_notify_allowed):
1340         Set a higher delay (1s to 2s) before notifying NAPivot
1341         because of the delay of file monitoring.
1343         * src/nact/nact-clipboard.c (export_objects):
1344         Remove unused dest_folder parameter.
1346         * src/nact/nact-tree-model-dnd.c
1347         (nact_tree_model_dnd_imulti_drag_source_drag_data_get):
1348         Get destination folder as an URI.
1350         * src/nact/nact-iaction-tab.c:
1351         Fix invalid cast of NAObjectMenu to NAObjectAction.
1353         * src/nact/nact-sort-buttons.c:
1354         * src/nact/nact-sort-buttons.h (nact_sort_buttons_enable_buttons):
1355         New function.
1357         * src/nact/nact-main-menubar.c (on_iactions_list_count_updated):
1358         Enable/disable sort buttons depending of items list count.
1360         * src/api/na-object-api.h
1361         (na_object_get_shortcut, na_object_set_shortcut): New macros.
1363         * src/nact/nact-iproperties-tab.c: Review NactIPropertiesTab page.
1365         * src/api/na-object-api.h
1366         (na_object_get_execution_mode,
1367         na_object_get_startup_notify, na_object_get_startup_class,
1368         na_object_get_execute_as, na_object_set_execution_mode,
1369         na_object_set_startup_notify, na_object_set_startup_class,
1370         na_object_set_execute_as): New macros.
1372         * src/core/na-object-profile-factory.c:
1373         Change type of execution mode from uint to string.
1375         * src/nact/nact-iexecution-tab.c: Implement NactIExecutionTab page.
1377         * src/nact/nact-ienvironment-tab.c: Implement NactIEnvironmentTab page.
1379 2010-06-16 Pierre Wieser <pwieser@trychlos.org>
1381         * src/nact/nact-gtk-utils.c:
1382         * src/nact/nact-gtk-utils.h
1383         (nact_gtk_utils_select_file, nact_gtk_utils_select_dir): New functions.
1385         * src/nact/nact-icommand-tab.c: Updated accordingly.
1387         * src/api/na-core-utils.h:
1388         * src/core/na-core-utils.c (na_core_utils_slist_setup_element): New function.
1390         * src/api/na-icontext.h:
1391         * src/core/na-icontext.c (na_icontext_set_only_desktop, na_icontext_set_not_desktop):
1392         New functions.
1394         * src/api/na-object-api.h (na_object_set_only_desktop, na_object_set_not_desktop):
1395         New macros.
1397         * src/nact/nact-ienvironment-tab.c: Implement desktop choice.
1399         * src/nact/nact-icapabilities-tab.c:
1400         * src/nact/nautilus-actions-config-tool.ui: Review NactICapabilitiesTab page.
1402         * src/nact/nact-ischemes-tab.c: Review NactISchemesTab page.
1404         * src/nact/nact-ifolders-tab.c: Review NactIFoldersTab page.
1406         * src/nact/nact-ibasenames-tab.c: Review NactIBasenamesTab page.
1408         * src/nact/nact-match-list.c:
1409         * src/nact/nact-match-list.h (nact_match_list_on_enable_tab):
1410         Removed function.
1412         * src/nact/nact-icommand-tab.c:
1413         * src/nact/nact-icommand-tab.h: Review NactICommandTab page.
1415         * src/core/na-object-action-factory.c: Fix comment.
1417         * src/nact/nact-iaction-tab.c:
1418         * src/nact/nact-iaction-tab.h: Homogeneïse the code.
1420 2010-06-15 Pierre Wieser <pwieser@trychlos.org>
1422         * src/nact/nact-main-tab.c:
1423         * src/nact/nact-main-tab.h (nact_main_tab_get_context):
1424         New function.
1426         * src/nact/nact-iaction-tab.c:
1427         * src/nact/nact-ibasenames-tab.c:
1428         * src/nact/nact-icapabilities-tab.c:
1429         * src/nact/nact-ienvironment-tab.c:
1430         * src/nact/nact-ifolders-tab.c:
1431         * src/nact/nact-imimetypes-tab.c:
1432         * src/nact/nact-ischemes-tab.c:
1433         * src/nact/nact-main-tab.h:
1434         * src/nact/nact-main-window.c:
1435         Remove irrelevant TAB_UPDATABLE_SIGNAL_ENABLE_TAB signal.
1437         * src/nact/nact-match-list.c:
1438         Do not try to get filters when there is no current context.
1440         * src/nact/nact-main-window.c:
1441         Do not mark the application as modified when list is empty.
1443         * src/nact/nact-iaction-tab.c:
1444         * src/nact/nact-ibasenames-tab.c:
1445         * src/nact/nact-icapabilities-tab.c:
1446         * src/nact/nact-icommand-tab.c:
1447         * src/nact/nact-ienvironment-tab.c:
1448         * src/nact/nact-ifolders-tab.c:
1449         * src/nact/nact-iproperties-tab.c:
1450         * src/nact/nact-ischemes-tab.c:
1451         * src/nact/nact-main-menubar-edit.c:
1452         * src/nact/nact-main-menubar-file.c:
1453         * src/nact/nact-main-tab.h:
1454         * src/nact/nact-main-window.c:
1455         * src/nact/nact-match-list.c: Rename main properties.
1457         * src/nact/nact-main-tab.h:
1458         * src/nact/nact-main-window.c: Remove unused PROP_SELECTED_ROW property.
1460         * po/POTFILES.in: Add src/nact/nact-ienvironment-tab.c file.
1462         * src/nact/nact-ienvironment-tab.c: Connect signals.
1464 2010-06-14 Pierre Wieser <pwieser@trychlos.org>
1466         * src/core/na-icontext-factory.c:
1467         Change default capabilities to empty list.
1469         * src/nact/nact-add-capability-dialog.c:
1470         * src/nact/nact-add-capability-dialog.h:
1471         * src/nact/nact-add-capability.ui: New files.
1473         * po/POTFILES.in:
1474         * src/nact/Makefile.am: Updated accordingly.
1476         * src/nact/nact-match-list.c:
1477         * src/nact/nact-match-list.h (nact_match_list_create_model):
1478         Add match_header parameter.
1480         * src/nact/nact-ibasenames-tab.c:
1481         * src/nact/nact-icapabilities-tab.c:
1482         * src/nact/nact-ifolders-tab.c:
1483         * src/nact/nact-imimetypes-tab.c:
1484         * src/nact/nact-ischemes-tab.c: Updated accordingly.
1486 2010-06-13 Pierre Wieser <pwieser@trychlos.org>
1488         * src/nact/nact-match-list.c:
1489         * src/nact/nact-match-list.h (nact_match_list_create_model):
1490         Add on_add_clicked callback parameter.
1492         * src/nact/nact-ibasenames-tab.c:
1493         * src/nact/nact-ifolders-tab.c:
1494         * src/nact/nact-imimetypes-tab.c:
1495         * src/nact/nact-ischemes-tab.c: Updated accordingly.
1497         * src/nact/nact-iaction-tab.c:
1498         Use gtk_bin_get_child() function instead of GTK_BIN()->child.
1500         * po/POTFILES.in:
1501         Add src/nact/nact-icapabilities-tab.c, src/nact/nact-ischemes-tab.c.
1502         Remove src/nact/nact-iconditions-tab.c.
1504         * src/api/na-core-utils.h:
1505         * src/core/na-core-utils.c (na_core_utils_selcount_get_ope_int):
1506         New function.
1508         * src/nact/nact-icapabilities-tab.c: Implement selection count.
1510 2010-06-11 Pierre Wieser <pwieser@trychlos.org>
1512         * src/api/na-icontext.h:
1513         * src/core/na-icontext.c (na_icontext_is_all_mimetypes): New function.
1515         * src/api/na-object-api.h: Define new getters/setters.
1517         * src/core/na-icontext-factory.c:
1518         * src/core/na-object-item-factory.c: Fix comments.
1520         * src/io-gconf/nagp-reader.c:
1521         Convert pre-v3 is_multiple, is_file and is_dir parameters.
1523 2010-06-10 Pierre Wieser <pwieser@trychlos.org>
1525         * configure.ac: Bump post-release version number.
1527         * Changelog: Update NEWS before release.
1529         * configure.ac: Bump pre-release version number.
1531         * src/core/na-iabout.c: Update copyright notice.
1533 2010-06-09 Pierre Wieser <pwieser@trychlos.org>
1535         * src/api/na-core-utils.h:
1536         * src/api/na-core-utils.c (na_core_utils_slist_find_negated):
1537         New function.
1539         * src/nact/nact-add-scheme-dialog.c:
1540         * src/nact/nact-add-scheme-dialog.h: New files.
1542         * src/nact/Makefile.am: Updated accordingly.
1544         * src/nact/nact-main-menubar.c: Update test for Gtk+ version.
1546         * src/nact/nact-match-list.c:
1547         * src/nact/nact-match-list.h: Remove on_add callback.
1549         * src/nact/nact-ibasenames-tab.c:
1550         * src/nact/nact-ifolders-tab.c:
1551         * src/nact/nact-imimetypes-tab.c:
1552         * src/nact/nact-ischemes-tab.c:
1553         * src/nact/nact-preferences-editor.c: Updated accordingly.
1555         * src/nact/nact-schemes-list.c:
1556         * src/nact/nact-schemes-list.h
1557         (nact_schemes_list_show_all, nact_schemes_list_get_current_scheme):
1558         New functions.
1560 2010-06-07 Pierre Wieser <pwieser@trychlos.org>
1562         * src/nact/nact-add-scheme.ui: New file.
1564         * po/POTFILES.in:
1565         * src/nact/Makefile.am: Updated accordingly.
1567 2010-06-04 Pierre Wieser <pwieser@trychlos.org>
1569         * src/api/na-object-api.h: Reorganization.
1571         * src/core/na-icontext-factory.c: Set schemes default to '*'.
1573         * src/nact/nact-icommand-tab.c: Get schemes from current object.
1575         * src/nact/nact-ischemes-tab.c:
1576         * src/nact/nact-ischemes-tab.h:
1577         Take advantage of new nact_match_list_xxx functions.
1579         * src/api/na-object-api.h:
1580         * src/api/na-ifactory-object-data.h:
1581         * src/core/na-object-profile-factory.c: Add NAFO_DATA_WORKING_DIR data.
1583         * src/core/na-factory-object.c:
1584         * src/core/na-factory-object.h (na_factory_object_get_default):
1585         New     function.
1587         * src/nact/nact-icommand-tab.c: Implement working directory.
1589         * src/nact/nact-imimetypes-tab.c: 
1590         Take advantage of new nact_match_list_xxx functions.
1592         * src/nact/nact-match-list.c:
1593         * src/nact/nact-match-list.h: New files.
1595         * src/nact/Makefile.am: Updated accordingly.
1597         * src/nact/base-window.c:
1598         * src/nact/base-window.h (base_window_signal_connect_with_data):
1599         New function.
1601         * src/nact/nact-ibasenames-tab.c: 
1602         Take advantage of new nact_match_list_xxx functions.
1604 2010-06-03 Pierre Wieser <pwieser@trychlos.org>
1606         * src/nact/nact-ibasenames-tab.c: Implement NactIBasenamesInterface interface.
1608 2010-06-02 Pierre Wieser <pwieser@trychlos.org>
1610         * src/nact/nautilus-actions-config-tool.ui:
1611         * src/nact/nact-ibasenames-tab.c: Define basename new conditions skeleton.
1613         * src/nact/nact-icapabilities-tab.c:
1614         * src/nact/nact-icapabilities-tab.h: Define NactICapabilitiesInterface interface.
1616         * src/nact/Makefile.am:
1617         * src/nact/nact-main-tab.h:
1618         * src/nact/nact-main-window.c: Updated accordingly.
1620 2010-05-30 Pierre Wieser <pwieser@trychlos.org>
1622         * src/nact/nact-ibasenames-tab.c:
1623         * src/nact/nact-ibasenames-tab.h: Define NactIBasenamesTabInterface interface.
1625         * src/nact/nact-icommand-tab.c:
1626         No more include removed nact-iconditions-tab.h file.
1628         * src/nact/nact-ienvironment-tab.c:
1629         * src/nact/nact-ienvironment-tab.h: Define NactIEnvironmentTabInterface interface.
1631         * src/nact/nact-iexecution-tab.c:
1632         * src/nact/nact-iexecution-tab.h: Define NactIExecutionTabInterface interface.
1634         * src/nact/nact-ifolders-tab.c (on_tab_updatable_selection_changed):
1635         * src/nact/nact-ischemes-tab.c (on_tab_updatable_selection_changed):
1636         tab_set_sensitive() returned value is not used here.
1638         * src/nact/nact-imimetypes-tab.c:
1639         * src/nact/nact-imimetypes-tab.h: Define NactIMimetypesTabInterface interface.
1641         * src/nact/nact-iproperties-tab.c (on_tab_updatable_selection_changed):
1642         Set a mnemonic in the tab label.
1644         * src/nact/nact-main-tab.h:
1645         * src/nact/nact-main-window.c: Add the four new tabs, remove the old one.
1647         * src/nact/nautilus-actions-config-tool.ui: Fix some size groups.
1649 2010-05-29 Pierre Wieser <pwieser@trychlos.org>
1651         * configure.ac: Define GSEAL_ENABLED.
1653         * src/nact/nautilus-actions-config-tool.ui:
1654         Implement all new fields.
1656 2010-05-26 Pierre Wieser <pwieser@trychlos.org>
1658         * src/api/na-core-utils.h:
1659         * src/core/na-core-utils.c (na_core_utils_dir_split_ext):
1660         New function.
1662         * src/core/na-tokens.h:
1663         * src/core/na-tokens.c: New files.
1665         * src/core/Makefile.am: Udated accordingly.
1667         * src/plugin-menu/nautilus-actions.c:
1668         Expand tokens which may embed parameters.
1670 2010-05-20 Pierre Wieser <pwieser@trychlos.org>
1672         * src/io-gconf/nagp-reader.c (read_done_profile_attach_profile):
1673         Migrate old v2 parameters to v3.
1675         * src/core/na-object-action.c (deals_with_version):
1676         Setup a version number if not already set.
1678         * src/core/na-object-action.c (convert_pre_v2_action):
1679         Renamed as convert_v1_to_v2.
1681         * src/api/na-data-def.h: Add write_if_default.
1683         * src/core/na-icontext-factory.c:
1684         * src/core/na-object-action-factory.c:
1685         * src/core/na-object-id-factory.c:
1686         * src/core/na-object-item-factory.c:
1687         * src/core/na-object-profile-factory.c: Update all data structures.
1689         * src/io-desktop/nadp-writer.c
1690         (nadp_writer_ifactory_provider_write_data):
1691         * src/io-gconf/nagp-writer.c (nagp_writer_write_data):
1692         * src/io-xml/naxml-writer.c (naxml_writer_write_data):
1693         Updated accordingly.
1695         * src/io-desktop/nadp-reader.c
1696         (nadp_reader_ifactory_provider_read_start): Removed function.
1698 2010-05-17 Pierre Wieser <pwieser@trychlos.org>
1700         * configure.ac: Fix typo.
1702         * src/core/na-core-utils.c (na_core_utils_slist_from_array):
1703         Strip the strings extracted from the array.
1705         * src/core/na-factory-object.c (na_factory_object_are_equal):
1706         Dump the data when different.
1708         * src/nact/nact-main-menubar-file.c
1709         (nact_main_menubar_file_save_items): Add a debug message.
1711         * src/api/na-object-api.h (na_object_set_last_version):
1712         * src/api/na-object-action.h:
1713         * src/core/na-object-action.c (na_object_action_set_last_version):
1714         New functions.
1716         * src/core/na-object-action.c (convert_pre_v2_action):
1717         Reset action to last version number after conversion from pre-v2.
1719         * src/core/na-object-profile.c (na_object_profile_parse_parameters):
1720         Do not add extraneous blanks when parsing parameters.
1722         * configure.ac: Post release bump version number.
1724         * src/io-desktop/nadp-reader.c (read_done_load_profiles):
1725         Do not reload already loaded profiles.
1726         Just ignore non-referenced profiles.
1728         * src/io-gconf/nagp-reader.c
1729         (read_done_action_load_profiles_from_list): Do not reload already loaded profiles.
1731         * src/utils/nautilus-actions-new.c:
1732         Factorize error message to make translation easier.
1734         * src/utils/nautilus-actions-run.c:
1735         Mark two new strings for translation.
1737         * src/core/na-object-action-factory.c:
1738         No more set a string version.
1740         * src/io-gconf/nagp-reader.c (read_done_profile_attach_profile):
1741         Test both string and integer versions.
1743 2010-05-12 Pierre Wieser <pwieser@trychlos.org>
1745         * src/api/na-icontext.h:
1746         * src/core/na-icontext.c
1747         (na_icontext_have_all_mimetypes): Removed function.
1748         (na_icontext_read_done): New function.
1750         * src/core/na-object-action.c:
1751         * src/core/na-object-menu.c:
1752         * src/core/na-object-profile.c: Updated accordingly.
1754         * src/api/na-object-api.h
1755         (na_object_get_iversion, na_object_set_iversion): New functions.
1757         * src/core/na-icontext-factory.c:
1758         * src/core/na-object-item-factory.c:
1759         Adjustments on default values.
1761         * src/io-gconf/nagp-reader.c (read_done_profile_attach_profile):
1762         Convert pre-v3 parameters.
1764         * src/plugin-menu/nautilus-actions.c:
1765         Adjust NautilusMenuProvider interface.
1767 2010-05-10 Pierre Wieser <pwieser@trychlos.org>
1769         Monitor .desktop files and directories.
1771         * src/io-desktop/nadp-monitor.c:
1772         * src/io-desktop/nadp-monitor.h: New files.
1774         * src/io-desktop/Makefile.am: Updated accordingly.
1776         * src/io-desktop/nadp-desktop-provider.c:
1777         * src/io-desktop/nadp-desktop-provider.h
1778         (nadp_desktop_provider_add_monitor,
1779         nadp_desktop_provider_on_monitor_event,
1780         nadp_desktop_provider_release_monitors): New functions.
1782         * src/io-desktop/nadp-reader.c (get_list_of_desktop_paths):
1783         Installs a monitor for each candidate directory.
1785 2010-05-03 Pierre Wieser <pwieser@trychlos.org>
1787         * src/api/na-icontext.h:
1788         * src/api/na-ifactory-object-data.h:
1789         * src/api/na-object-api.h:
1790         * src/core/na-icontext-factory.c:
1791         * src/core/na-icontext.c:
1792         Define new NAFO_DATA_ALL_MIMETYPES data, set to TRUE when the context
1793         is to be selected for all mimetypes.
1795         * src/core/na-object-action.c:
1796         * src/core/na-object-menu.c:
1797         * src/core/na-object-profile.c:
1798         * src/plugin-menu/nautilus-actions.c:
1799         All objects implement NAIContextInterface.
1801         * src/nact/nact-iconditions-tab.c (na_object_is_matchcase):
1802         Renamed as na_object_get_matchcase().
1804         * src/core/na-object-profile.c (na_object_profile_parse_parameters):
1805         Do not add extraneous blanks when parsing parameters.
1807 2010-04-19 Pierre Wieser <pwieser@trychlos.org>
1809         * src/api/na-ifactory-object-data.h:
1810         * src/api/na-object-profile.h:
1811         * src/core/na-icontext-factory.c:
1812         * src/core/na-object-action-factory.c:
1813         * src/core/na-object-item-factory.c:
1814         * src/core/na-object-menu-factory.c:
1815         * src/core/na-object-profile-factory.c:
1816         Define all new data, new parameters, and include context informations
1817         to actions and menus.
1819         * src/api/na-core-utils.h:
1820         * src/core/na-core-utils.c (na_core_utils_slist_from_array):
1821         Fix leading and trailing spaces management.
1823 2010-04-18 Pierre Wieser <pwieser@trychlos.org>
1825         * src/api/na-ifactory-object-data.h:
1826         * src/core/na-object-item-factory.c:
1827         Define new NAFO_DATA_SHORTCUT data.
1829 2010-04-15 Pierre Wieser <pwieser@trychlos.org>
1831         * src/nact/nact-schemes-list.c (insert_new_row):
1832         Rewrite row insertion; do not insert a - non-editable - description.
1834         * src/nact/nact-preferences.ui: Fix typo.
1836         * src/io-gconf/nagp-keys.h:
1837         Remove unused GConf entry keys.
1839         * src/io-gconf/nagp-writer.c (nagp_iio_provider_is_willing_to_write):
1840         Force GConf sync to get ride of 'foo' entry.
1842 2010-04-14 Pierre Wieser <pwieser@trychlos.org>
1844         * NEWS: Update before release.
1846         * configure.ac: Bump version number before release.
1848         * src/core/na-selected-info.h:
1849         * src/core/na-selected-info.c (na_selected_info_get_name):
1850         Renamed as na_selected_info_get_path.
1852         * src/core/na-icontext.c
1853         (is_current_folder_inside, is_target_selection_candidate):
1854         Updated accordingly.
1856         * src/core/na-object-profile.c (na_object_profile_parse_parameters):
1857         Do not try to deal with null values.
1859         * src/plugin-menu/nautilus-actions.c (create_item_from_profile):
1860         Duplicate the candidate profile, set the parent to null.
1862         * src/core/na-selected-info.c (na_selected_info_get_location):
1863         Increment the reference count of the returned location.
1865         * src/core/na-gconf-utils.c (dump_entry):
1866         Do not try to dump a null value.
1868         * src/core/na-selected-info.c
1869         (dump): New function.
1870         (na_selected_info_create_for_uri): Accepts a mimetype.
1872         * src/plugin-tracker/na-tracker-dbus.c
1873         (na_tracker_dbus_get_selected_paths): Also sends the mimetype.
1875 2010-04-13 Pierre Wieser <pwieser@trychlos.org>
1877         * po/POTFILES.in: Adding src/nact/nact-iconditions-tab.c file.
1879         * src/api/na-ifactory-object-data.h:
1880         * src/core/na-icontext-factory.c:
1881         Adding NAFO_DATA_SELECTION_COUNT data, obsoleting NAFO_DATA_MULTIPLE.
1883         * src/nact/nact-iconditions-tab.c:
1884         * src/nact/nautilus-actions-config-tool.ui:
1885         Adding required entries for SelectionCount data.
1887 2010-04-12 Pierre Wieser <pwieser@trychlos.org>
1889         * src/plugin-menu/Makefile.am:
1890         * src/plugin-tracker/Makefile.am: Fix incorrect log domains.
1892         * po/POTFILES.in: Add src/nact/nact-iproperties-tab.c file.
1894         * src/nact/nautilus-actions-config-tool.ui: Adjust vertical paddings.
1896         "Advanced conditions" tab is renamed as "Schemes".
1898         * src/nact/nact-iadvanced-tab.c: Renamed as src/nact/nact-ischemes-tab.c.
1899         * src/nact/nact-iadvanced-tab.h: Renamed as src/nact/nact-ischemes-tab.h.
1901         * src/nact/Makefile.am:
1902         * src/nact/nact-icommand-tab.c:
1903         * src/nact/nact-main-tab.h:
1904         * src/nact/nact-main-window.c: Updated accordingly.
1906         Move item properties to their own tab.
1908         * src/nact/nact-iproperties-tab.c:
1909         * src/nact/nact-iproperties-tab.h: New files.
1911         * src/nact/Makefile.am:
1912         * src/nact/nact-iaction-tab.c:
1913         * src/nact/nact-main-tab.h:
1914         * src/nact/nact-main-window.c:
1915         * src/nact/nautilus-actions-config-tool.ui: Updated accordingly.
1917 2010-04-09 Pierre Wieser <pwieser@trychlos.org>
1919         * NEWS: Updated.
1921         * src/nact/nact-sort-buttons.c (set_new_sort_order):
1922         Do not rewrite in GConf a just-readen sort order.
1924         * src/io-gconf/nagp-writer.c (nagp_iio_provider_delete_item):
1925         Also delete the schema names which may be embedded in GConfEntry.
1927         * src/api/na-gconf-utils.h:
1928         * src/core/na-gconf-utils.c (na_gconf_utils_dump_entries):
1929         New function.
1931         * src/io-gconf/nagp-reader.c (read_item):
1932         Dump content of readen entries.
1934         * src/io-gconf/nagp-gconf-provider.c (install_monitors):
1935         Also monitors schemas to be triggered when importing a schema.
1937         * configure.ac: Bump version number for release.
1939         * src/nact/nact-iaction-tab.c (on_icon_browse):
1940         Save current position and folder of icon chooser.
1942 2010-04-08 Pierre Wieser <pwieser@trychlos.org>
1944         * src/core/na-object-profile.c (is_valid_path_parameters):
1945         Only check for non-empty path+parameters (fix #614596).
1947         * src/nact/nact-sort-buttons.c (on_sort_down_button_toggled,
1948         on_sort_manual_button_toggled, on_sort_up_button_toggled):
1949         Do not let the user click twice on a sort button.
1951         * src/nact/nact-main-window.c (setup_dialog_title):
1952         Review/normalize debug entry message.
1954         * src/nact/nact-ifolders-tab.c (on_add_folder_clicked):
1955         Folders list is definitively a list of paths (not URI).
1957         * src/api/na-core-utils.h:
1958         * src/core/na-core-utils.c (na_core_utils_str_collate): New function.
1960         * src/core/na-data-boxed.c (locale_are_equal):
1961         * src/core/na-object-action.c (deals_with_toolbar_label):
1962         * src/core/na-object-id.c (na_object_id_sort_alpha_asc):
1963         * src/io-desktop/nadp-utils.c (nadp_utils_gslist_remove_from):
1964         * src/nact/base-builder.c (already_loaded): Updated accordingly.
1966         * src/api/na-gconf-utils.h:
1967         * src/core/na-gconf-utils.c (na_gconf_utils_has_entry):
1968         Check for an entry in the previously loaded list.
1970         * src/io-gconf/nagp-reader.c
1971         (read_item): First check for Type default value.
1972         (read_item, read_done_item_is_writable,
1973         read_done_action_load_profile): Load entries.
1975         * src/nact/nact-iaction-tab.c (on_tab_updatable_selection_changed):
1976         * src/nact/nact-icommand-tab.c (on_tab_updatable_selection_changed):
1977         Protect gtk_ functions against null values.
1979         * src/plugin-menu/Makefile.am:
1980         Rename plugin to libnautilus-actions-menu.
1982         * src/io-desktop/nadp-reader.c (item_from_desktop_path):
1983         First check Type for default value.
1985 2010-04-07 Pierre Wieser <pwieser@trychlos.org>
1987         * src/nact/nact-gtk-utils.c:
1988         * src/nact/nact-gtk-utils.h
1989         (nact_gtk_utils_get_pixbuf): Render an icon for a given widget.
1990         (nact_utils_render): New function.
1992         * src/nact/nact-iaction-tab.c (on_icon_changed):
1993         * src/nact/nact-main-statusbar.c (nact_main_statusbar_set_locked):
1994         * src/nact/nact-tree-model.c (display_item): Updated accordingly.
1996 2010-04-02 Pierre Wieser <pwieser@trychlos.org>
1998         * configure.ac:
1999         * src/nact/nact-main-tab.c (nact_main_tab_is_page_enabled):
2000         GTK_WIDGET_IS_SENSITIVE is deprecated starting from gtk 2.20.
2002         * src/core/na-core-utils.c (na_core_utils_file_exists):
2003         * src/io-xml/naxml-writer.c (output_xml_to_file):
2004         Takes an URI as the filename.
2006 2010-04-01 Pierre Wieser <pwieser@trychlos.org>
2008         * src/api/na-icontextual.h: Renamed as src/api/na-icontext.h.
2009         * src/core/na-icontextual.c: Renamed as src/core/na-icontext.c.
2010         * src/core/na-icontextual-factory.c: Renamed as src/core/na-icontext-factory.c.
2012         * po/POTFILES.in:
2013         * src/api/Makefile.am:
2014         * src/api/na-icontext.h:
2015         * src/api/na-object-api.h:
2016         * src/core/Makefile.am:
2017         * src/core/na-icontext.c:
2018         * src/core/na-object-action.c:
2019         * src/core/na-object-profile.c:
2020         * src/plugin-menu/nautilus-actions.c:
2021         * src/utils/nautilus-actions-run.c: Updated accordingly.
2023         * src/api/na-object-api.h (na_object_prepare_for_paste):
2024         * src/core/na-object-id.c (na_object_id_prepare_for_paste):
2025         Parent is not always an action, may be a menu.
2027         * src/io-desktop/nadp-desktop-file.c
2028         (nadp_desktop_file_get_file_type):
2029         Do not emit a warning if Type is not found in the .desktop file.
2031         * src/core/na-core-utils.c (na_core_utils_slist_to_array):
2032         Fix built of array.
2034         * src/io-desktop/nadp-keys.h:
2035         Set back action (resp. menu) Type to Action (resp. Menu).
2037         * src/nact/nautilus-actions-config-tool.ui:
2038         Insert a scrolled window as text view parent.
2040         * src/io-desktop/nadp-desktop-file.c (check_key_file):
2041         Only write a debug message if file is hidden.
2043 2010-03-29 Pierre Wieser <pwieser@trychlos.org>
2045         * src/nact/nact-gtk-utils.c (nact_gtk_utils_set_editable):
2046         Take into account new GtktextView widget.
2048         * src/io-desktop/nadp-writer.c (nadp_iio_provider_write_item):
2049         Remove groups which no longer exist.
2051         * src/io-desktop/nadp-reader.c (read_done_load_profiles):
2052         Free string lists.
2054         * src/io-desktop/nadp-desktop-file.c:
2055         * src/io-desktop/nadp-desktop-file.h (nadp_desktop_file_remove_profile):
2056         New function.
2058         * src/io-desktop/nadp-desktop-file.c (nadp_desktop_file_get_profiles):
2059         Fix allocation of profile id.
2061         * src/io-desktop/nadp-desktop-file.c:
2062         * src/io-desktop/nadp-desktop-file.h (nadp_desktop_file_remove_key):
2063         New function.
2065         * src/io-desktop/nadp-writer.c (nadp_iio_provider_write_item):
2066         Remove key when it is no more set.
2068         * src/api/na-object-api.h
2069         (na_object_get_description, na_object_set_description): New macros.
2071         * src/nact/nact-iaction-tab.c:
2072         * src/nact/nautilus-actions-config-tool.ui: Add description entry.
2074         * src/io-desktop/nadp-keys.h: Remove unused keys.
2076         * src/io-desktop/nadp-reader.c (nadp_reader_ifactory_provider_read_done):
2077         Explicitly read subitems string list.
2079         * src/io-desktop/nadp-desktop-provider.c (ifactory_provider_iface_init):
2080         * src/io-desktop/nadp-writer.c:
2081         * src/io-desktop/nadp-writer.h (nadp_writer_ifactory_provider_write_done):
2082         New function: explicitly write subitems string list for actions and menus.
2084 2010-03-28 Pierre Wieser <pwieser@trychlos.org>
2086         * src/api/na-data-boxed.h:
2087         * src/core/na-data-boxed.c (na_data_boxed_set_default): Removed function.
2089         * src/core/na-factory-object.c (set_defaults_iter):
2090         Only set a default value when the box has not been yet allocated.
2092         * src/api/na-ifactory-object.h:
2093         * src/core/na-ifactory-object.c (na_ifactory_object_get_data_groups):
2094         New function.
2096         * src/core/na-object-item-factory.c:
2097         * src/core/na-object-action.c (instance_init):
2098         * src/core/na-object-menu.c (instance_init):
2099         No more instantiate 'type' data box.
2101         * src/core/na-object-item-factory.c:
2102         NAFO_DATA_TYPE is no more automatically readen nor written.
2104         * src/io-desktop/nadp-desktop-provider.c (ifactory_provider_iface_init):
2105         Implement data writing.
2107         * src/io-desktop/nadp-keys.c:
2108         * src/io-desktop/nadp-keys.h (nadp_keys_get_group_and_key):
2109         Removed function.
2111         * src/io-desktop/nadp-reader.c
2112         (item_from_desktop_path): Test default value first.
2113         (nadp_reader_ifactory_provider_read_data): Use new desktop_entry field.
2115         * src/io-desktop/nadp-writer.c:
2116         * src/io-desktop/nadp-writer.h (nadp_writer_ifactory_provider_write_start,
2117         nadp_writer_ifactory_provider_write_data): New functions.
2119         * src/io-gconf/nagp-writer.c (nagp_writer_write_start):
2120         Explicitely write item type.
2122         * src/io-desktop/nadp-desktop-file.c:
2123         * src/io-desktop/nadp-desktop-file.h
2124         (nadp_desktop_file_set_boolean, nadp_desktop_file_set_locale_string,
2125         nadp_desktop_file_set_string, nadp_desktop_file_set_string_list,
2126         nadp_desktop_file_set_uint): New functions.
2128         * src/api/na-core-utils.h:
2129         * src/core/na-core-utils.c (na_core_utils_slist_to_array):
2130         New function.
2132 2010-03-26 Pierre Wieser <pwieser@trychlos.org>
2134         * src/api/na-data-def.h:
2135         * src/core/na-icontextual-factory.c:
2136         * src/core/na-object-id-factory.c:
2137         * src/core/na-object-item-factory.c:
2138         * src/core/na-object-action-factory.c:
2139         * src/core/na-object-profile-factory.c:
2140         Define the key for .desktop file.
2142         * src/io-gconf/nagp-writer.c (nagp_writer_write_data):
2143         Remove blank line.
2145         * src/io-desktop/nadp-desktop-provider.c:
2146         * src/io-desktop/nadp-reader.c:
2147         * src/io-desktop/nadp-reader.h
2148         (nadp_reader_ifactory_provider_read_start): Removed unused function.
2150         * src/io-desktop/nadp-desktop-file.c:
2151         * src/io-desktop/nadp-desktop-file.h
2152         (check_key_file): Check that we don't have a 'Hidden=true' key.
2153         (nadp_desktop_file_get_profiles): New function.
2155         * src/io-desktop/nadp-desktop-provider.c:
2156         * src/io-desktop/nadp-desktop-provider.h:
2157         Move reader functions and structure to nadp-reader.c.
2159         * src/io-desktop/nadp-keys.h:
2160         Relabel type of items in .desktop file (cf. draft 0.9).
2162         * src/io-desktop/nadp-reader.c:
2163         * src/io-desktop/nadp-reader.h:
2164         Read profiles present in the .desktop file.
2166 2010-03-26 Pierre Wieser <pwieser@trychlos.org>
2168         * src/io-desktop/nadp-desktop-file.c:
2169         * src/io-desktop/nadp-desktop-file.h
2170         (check_key_file): Check that we don't have a 'Hidden=true' key.
2171         (nadp_desktop_file_get_profiles): New function.
2173         * src/io-desktop/nadp-desktop-provider.c:
2174         * src/io-desktop/nadp-desktop-provider.h:
2175         Move reader functions and structure to nadp-reader.c.
2177         * src/io-desktop/nadp-keys.h:
2178         Relabel type of items in .desktop file (cf. draft 0.9).
2180         * src/io-desktop/nadp-reader.c:
2181         * src/io-desktop/nadp-reader.h:
2182         Read profiles present in the .desktop file.
2184 2010-03-26 Pierre Wieser <pwieser@trychlos.org>
2186         * configure.ac: Bump version number for data branch.
2188 2010-03-26 Pierre Wieser <pwieser@trychlos.org>
2190         Releasing 2.30.0.
2192 2010-03-25 Pierre Wieser <pwieser@trychlos.org>
2194         * src/nact/nact-main-menubar-edit.c:
2195         * src/nact/nact-main-menubar-edit.h:
2196         * src/nact/nact-main-menubar-file.c:
2197         * src/nact/nact-main-menubar-file.h:
2198         * src/nact/nact-main-menubar-view.c:
2199         * src/nact/nact-main-menubar-view.h: New files.
2201         * po/POTFILES.in:
2202         * src/nact/Makefile.am: Updated accordingly.
2204         * src/nact/nact-main-window.c
2205         (ipivot_consumer_on_mandatory_prefs_changed):
2206         Implement NAIPivotConsumer notification.
2208         * src/nact/nact-sort-buttons.c:
2209         * src/nact/nact-sort-buttons.h
2210         (nact_sort_buttons_level_zero_writability_change):
2211         Enable/disable the buttons depending of the level zero writability
2212         status.
2214 2010-03-24 Pierre Wieser <pwieser@trychlos.org>
2216         * src/core/na-ipivot-consumer.c
2217         (na_ipivot_consumer_notify_of_mandatory_prefs_changed) : New function.
2218         (on_mandatory_prefs_changed): New interface API.
2220         * src/core/na-pivot.c (monitor_runtime_preferences):
2221         Monitor the mandatory preferences set by the admin.
2223         * src/nact/nact-main-window.c (ipivot_consumer_iface_init):
2224         * src/plugin-menu/nautilus-actions.c (ipivot_consumer_iface_init):
2225         For now, only declare NULL implementations.
2227         * src/nact/nact-preferences-editor.c (on_base_runtime_init_dialog):
2228         * src/nact/nact-sort-buttons.c (nact_sort_buttons_runtime_init):
2229         Forbid the modification of order mode is level zero is not writable.
2231         * src/core/na-pivot.c (na_pivot_is_level_zero_writable):
2232         Writable if not all not GConf are locked by admin.
2234         * src/nact/nact-iaction-tab.c (nact_iaction_tab_runtime_init_toplevel):
2235         * src/nact/nact-iadvanced-tab.c (runtime_init_connect_signals):
2236         * src/nact/nact-icommand-tab.c (nact_icommand_tab_runtime_init_toplevel):
2237         * src/nact/nact-iconditions-tab.c (nact_iconditions_tab_runtime_init_toplevel):
2238         * src/nact/nact-ifolders-tab.c (nact_ifolders_tab_runtime_init_toplevel):
2239         * src/nact/nact-main-tab.h:
2240         Signal TAB_UPDATABLE_SIGNAL_SELECTION_CHANGED is renamed as
2241         MAIN_WINDOW_SIGNAL_SELECTION_CHANGED.
2243         * src/nact/nact-main-menubar.c:
2244         * src/nact/nact-main-menubar.h
2245         (nact_main_menubar_is_level_zero_order_changed): New function.
2247         * src/nact/nact-iactions-list.h:
2248         * src/nact/nact-iactions-list-bis.c (nact_iactions_list_bis_delete):
2249         Add an argument to select the row at end of the function.
2251         * src/nact/nact-main-window.c:
2252         Connect to MAIN_WINDOW_SIGNAL_LEVEL_ZERO_ORDER_CHANGED to update
2253         dialog title.
2255         * src/nact/nact-iactions-list.c:
2256         * src/nact/nact-iactions-list.h
2257         (selection_changed): Remove the not used API.
2258         Remove the connection to the signal and the call to the interface.
2260         * src/nact/nact-assistant-export.c (iactions_list_iface_init):
2261         Use the IACTIONS_LIST_SIGNAL_SELECTION_CHANGED instead of the
2262         interface API.
2264         * src/nact/nact-main-window.c
2265         (ipivot_consumer_on_display_order_changed):
2266         Relay NAIPivotConsumer notification to nact_sort_buttons.
2268         * src/nact/nact-sort-buttons.c:
2269         * src/nact/nact-sort-buttons.h
2270         (nact_sort_buttons_display_order_change): New function.
2272         * src/nact/nact-main-menubar.c (save_item):
2273         Not only unref old origin, but also remove it from tree.
2275 2010-03-23 Pierre Wieser <pwieser@trychlos.org>
2277         Add buttons to sort the list.
2279         * src/nact/nact-sort-buttons.c:
2280         * src/nact/nact-sort-buttons.h: New files.
2282         * src/nact/Makefile.am:
2283         * src/nact/nact-main-window.c: Updated accordingly.
2285         * src/nact/nautilus-actions-config-tool.ui:
2286         Define three new buttons to help to sort the list of items.
2288         * src/core/Makefile.am:
2289         No more give a version number to the core library.
2291         Restore the target-location indicator.
2293         * src/api/na-ifactory-object-data.h:
2294         * src/core/na-object-action-factory.c:
2295         Renamed NAFO_DATA_TARGET_BACKGROUND as NAFO_DATA_TARGET_LOCATION.
2297         * src/api/na-object-api.h
2298         (na_object_is_target_location, na_object_set_target_location):
2299         New macros.
2301         * src/api/na-object-item.h:
2302         * src/plugin-menu/nautilus-actions.c (menu_provider_get_background_items):
2303         Renamed ITEM_TARGET_BACKGROUND as ITEM_TARGET_LOCATION.
2305         * src/core/na-icontextual-factory.c:
2306         * src/core/na-object-action-factory.c:
2307         * src/core/na-object-item-factory.c:
2308         Update data descriptions.
2310         * src/core/na-icontextual.c (is_target_background_candidate):
2311         Renamed as is_target_location_candidate().
2313         * src/core/na-object-action.c (na_object_action_is_candidate):
2314         Only selects the action if it is candidate for this target.
2316         * src/nact/nact-iaction-tab.c (on_tab_updatable_selection_changed):
2317         * src/nact/nautilus-actions-config-tool.ui:
2318         Display the target-location checkbox.
2320         * src/utils/nautilus-actions-new.c:
2321         Let the user select the target-location boolean indicator.
2323 2010-03-22 Pierre Wieser <pwieser@trychlos.org>
2325         * src/core/na-icontextual.c
2326         (is_current_folder_inside): Compare path rather that URI.
2327         (is_target_selection_candidate): Fix NASelectedInfo addressing.
2329         * src/plugin-menu/nautilus-actions.c
2330         (get_file_or_background_items): New function.
2331         (build_nautilus_menus, get_candidate_profile): Add debug messages.
2333         * src/core/na-selected-info.c (query_file_attributes):
2334         Fix file_info_get_attribute.
2336         * src/core/na-object-action.c (na_object_action_is_candidate):
2337         Considere background menu just as a special case of selection menu.
2339         * data/.gitignore: Update .gitignore.
2341 2010-03-17 Pierre Wieser <pwieser@trychlos.org>
2343         * data/Makefile.am: Automatically generate configurations schemas.
2345         * data/nautilus-actions.schemas.in:
2346         Renamed as data/nautilus-actions-prefs.schemas.in.
2347         Remove configurations schemas (now dynamically generated).
2349         * po/POTFILES.in: Updated accordingly.
2351         * src/core/na-icontextual-factory.c:
2352         * src/core/na-object-action-factory.c: Fix typo.
2354         * src/utils/nautilus-actions-schemas.c:
2355         Output configurations schemas to stdout.
2357         * po/POTFILES.skip:
2358         New file: do not try to translate dynamically generated schema.
2360         * Makefile.am:
2361         Build data/ after src/ to bo take advantage of dynamic generation of schemas.
2363         * src/core/na-icontextual-factory.c:
2364         String lists are now initialized in GConf-style.
2366         * src/io-gconf/nagp-writer.c (nagp_writer_write_data):
2367         * src/io-xml/naxml-writer.c (write_data_schema_v2, write_data_dump):
2368         Do not output empty values.
2370         * src/api/na-data-boxed.h:
2371         * src/core/na-data-boxed.c (na_data_boxed_is_set): New function.
2373         * data/nautilus-actions.schemas.in:
2374         Fix typo.
2375         Add io-providers/read-at-startup and io-providers/writable keys.
2377         * src/nact/nact.desktop.in: Add StartupNotify=true.
2379         * src/nact/nact-main-window.c (reload):
2380         Free the deleted list before filling the tree.
2382         * src/nact/nact-main-menubar.c
2383         (on_cut_activated): Do not cut not deletable items.
2384         (get_deletables): Add a ref on items to delete.
2386         * src/test/init-dispose-diff.sh:
2387         Do not take into account some debug messages.
2389 2010-03-16 Pierre Wieser <pwieser@trychlos.org>
2391         * src/utils/nautilus-actions-new.c
2392         (output_to_dir): Output the new action to a file.
2394         * src/core/na-core-utils.c (info_dir_is_writable):
2395         Do not emit a warning on 'no such file or directory' error.
2397         * src/utils/nautilus-actions-new.c
2398         (output_to_stdout): Output the new action to stdout.
2399         (output_to_gconf): Output the new action to GConf.
2401         * src/io-xml/naxml-writer.c (naxml_writer_write_start):
2402         Add attribute to list node, thus fixing writing of action.
2404 2010-03-15 Pierre Wieser <pwieser@trychlos.org>
2406         * src/io-xml/naxml-writer.c (naxml_writer_write_start):
2407         No need to explicitely write item type as the data is marked writable.
2409         * src/utils/nautilus-actions-new.c:
2410         Cleanup old command-line code.
2411         Check for incompatibility between boolean arguments.
2413         * src/api/na-data-def.h (na_data_def_get_data_def): New function.
2415         * src/core/na-data-def.c: New file.
2417         * src/core/Makefile.am: Updated accordingly.
2419         * src/core/na-icontextual-factory.c:
2420         * src/core/na-object-profile-factory.c:
2421         Update command-line options to not have duplicates.
2423         * src/utils/nautilus-actions-new.c:
2424         Use new ArgFromDataDef structure and display suitable help.
2426         * src/core/na-icontextual-factory.c:
2427         * src/core/na-object-action-factory.c:
2428         * src/core/na-object-item-factory.c:
2429         * src/core/na-object-profile-factory.c:
2430         * src/utils/nautilus-actions-new.c:
2431         Update data definitions to handle command-line arguments.
2433 2010-03-10 Pierre Wieser <pwieser@trychlos.org>
2435         * src/utils/nautilus-actions-new.c:
2436         Define a structure to host NADataDef argument definitions.
2438         * src/api/na-data-def.h:
2439         Add parameters to be able to manage command-line arguments.
2441         * src/core/na-icontextual-factory.c:
2442         * src/core/na-object-action-factory.c:
2443         * src/core/na-object-id-factory.c:
2444         * src/core/na-object-item-factory.c:
2445         * src/core/na-object-profile-factory.c: Updated accordingly.
2447         * src/core/na-io-provider.c (build_hierarchy):
2448         Attach the child item to its parent.
2450         * src/core/na-object-id.c (instance_dispose):
2451         * src/core/na-object-item.c (instance_dispose):
2452         * src/core/na-object.c (instance_dispose):
2453         Add debug messages.
2455         * src/core/na-dbus-tracker.h: Remove no more used file.
2457         * src/core/Makefile.am: Updated accordingly.
2459         * src/core/na-icontextual.c:
2460         * src/core/na-object-profile.c:
2461         * src/plugin-tracker/na-tracker-dbus.c:
2462         * src/utils/nautilus-actions-run.c:
2463         Remove all references to NATrackedItem obsolete class.
2465         * src/api/na-ifactory-object-data.h:
2466         Rename v1 action data group to NA_FACTORY_ACTION_V1_GROUP.
2468         * src/core/na-object-action-factory.c:
2469         No more try to read obsolete NAFO_DATA_TARGET_BACKGROUND data.
2471         * src/plugin-tracker/na-tracker.c
2472         (menu_provider_get_background_items):
2473         Implement Nautilus get_background_items() interface.
2475         * data/nautilus-actions.schemas.in:
2476         Remove 'target-background' entry description.
2478         * src/api/na-object-api.h
2479         (na_object_is_target_background): Removed macro.
2481         * src/api/na-object-profile.h
2482         * src/core/na-object-profile.c
2483         (na_object_profile_is_target_background): Removed function.
2485 2010-03-09 Pierre Wieser <pwieser@trychlos.org>
2487         * src/io-gconf/nagp-writer.c (nagp_writer_write_data):
2488         Replace gconf_concat_dir_and_key by g_strdup_printf.
2490         * src/core/na-ifactory-provider.c (na_ifactory_provider_write_item):
2491         Add a debug trace when entering in the function.
2493         * src/api/na-icontext-conditions.h: Renamed as na-icontextual.h.
2494         * src/core/na-icontext-conditions.c: Renamed as na-icontextual.c.
2495         * src/core/na-icontext-conditions-factory.c:
2496         Renamed as na-icontextual-factory.c.
2498         * po/POTFILES.in:
2499         * src/api/Makefile.am:
2500         * src/api/na-icontextual.h:
2501         * src/api/na-object-api.h:
2502         * src/core/Makefile.am:
2503         * src/core/na-icontextual.c:
2504         * src/core/na-object-action.c:
2505         * src/core/na-object-profile.c:
2506         * src/plugin-menu/nautilus-actions.c:
2507         * src/utils/nautilus-actions-run.c: Updated accordingly.
2509 2010-03-09 Pierre Wieser <pwieser@trychlos.org>
2511         Refactor NactIBackgroundTab class as NactIFoldersTab.
2513         * src/nact/nact-ibackground-tab.c:
2514         * src/nact/nact-ibackground-tab.h: Renamed as nact-ifolders-tab.{c,h}.
2516         * src/nact/Makefile.am:
2517         * src/nact/nact-main-tab.h:
2518         * src/nact/nact-main-window.c: Updated accordingly.
2520         Remove the 'target background' indicator which was introduced in 2.29.1.
2522         * src/core/na-object-action-factory.c:
2523         Update properties for NAFO_DATA_TARGET_BACKGROUND.
2525         * src/nact/nact-iaction-tab.c
2526         (nact_iaction_tab_runtime_init_toplevel): Remove the signal connection.
2527         (on_tab_updatable_selection_changed): Remove fields initialization.
2528         (on_target_background_toggled): Remove the function.
2530         * src/nact/nact-ibackground-tab.c (tab_set_sensitive):
2531         Always sensitive for profiles.
2533         * src/nact/nautilus-actions-config-tool.ui: Remove the fields.
2535         * src/core/na-object-action-factory.c:
2536         data_def_action_v1 is now available from outside.
2538         * src/core/na-object-action.c
2539         (ifactory_object_read_done, ifactory_object_write_done):
2540         Rewrite input/output functions.
2542         * src/io-gconf/nagp-reader.c
2543         (nagp_reader_read_data): Simplify the code.
2545         * src/io-gconf/nagp-writer.c
2546         (nagp_writer_write_start): No more write type as this is a normal data.
2547         (nagp_writer_write_data): Rewrite profile writing.
2548         (nagp_writer_write_done): Profile writing is now driven by NAObjectAction.
2550         * src/nact/nact-tree-model-dnd.c: Cleanup the code.
2552 2010-03-05 Pierre Wieser <pwieser@trychlos.org>
2554         * nact/nact-tree-model-dnd.c (drop_inside):
2555         Split to three functions to better readibility.
2556         Fix drop inside an empty menu.
2557         Fix drop into a non writable parent.
2559         * src/api/na-iio-provider.h: Add a comment.
2561         * src/core/na-io-provider.c:
2562         * src/core/na-io-provider.h (na_io_provider_get_return_code_label):
2563         New function.
2565         * src/nact/nact-window.c (nact_window_save_item):
2566         Better error message.
2568         * src/nact/nact-export-ask.c (on_base_runtime_init_dialog):
2569         Set more clear label, whether the item be a label or an action.
2571         * src/nact/nact-tree-model-dnd.c (get_xds_atom_value):
2572         Remove debug traces after validation both on 32 and 64 bits systems.
2574         * src/api/na-core-utils.h:
2575         * src/core/na-core-utils.c
2576         (na_core_utils_slist_join_at_end): New function.
2578         * src/api/na-iio-provider.h: Fix typo in comment.
2580         * src/nact/nact-main-menubar.c (on_delete_activated):
2581         Do not delete a tree if at least one item is not writable.
2583         * src/nact/nact-tree-model-dnd.c (get_xds_atom_value):
2584         Fix 64 bits value.
2586         * src/plugin-menu/nautilus-actions.c
2587         (create_item_from_menu): Add a trace on weak notify.
2589 2010-03-04 Pierre Wieser <pwieser@trychlos.org>
2591         * src/core/na-object-action.c (instance_init):
2592         * src/core/na-object-menu.c (instance_init):
2593         Rather create the 'Type' box here than in read_start().
2595 2010-03-03 Pierre Wieser <pwieser@trychlos.org>
2597         * src/core/Makefile.am:
2598         * src/nact/Makefile.am: Fix make distcheck.
2600         * po/POTFILES.in: Updated.
2602         Rename the NAIConditions interface to NAIContextConditions
2603         (hopefully, there will be a NAIContextParameters some day :)).
2605         * src/core/na-iconditions-factory.c:
2606         Renamed as src/core/na-icontext-conditions-factory.c.
2608         * src/core/na-iconditions.c:
2609         Renamed as src/core/na-icontext-conditions.c.
2611         * src/api/na-iconditions.h:
2612         Renamed as src/core/na-icontext-conditions.h.
2614         * src/api/Makefile.am:
2615         * src/core/Makefile.am: Updated accordingly.
2617         * src/core/na-object-profile.c:
2618         * src/plugin-menu/nautilus-actions.c:
2619         Use new na_icontext_conditions_is_candidate() function.
2621         Define the NAIConditions interface, to be implemented by actions,
2622         profiles and menus (for now, only profiles).
2624         * src/api/na-iconditions.h:
2625         * src/core/na-iconditions.c:
2626         * src/core/na-iconditions-factory.c: New files.
2628         * src/api/Makefile.am:
2629         * src/core/Makefile.am: Updated accordingly.
2631         * src/api/na-ifactory-object-data.h:
2632         Define the NA_FACTORY_CONDITIONS_GROUP data group.
2634         * src/core/na-object-profile-factory.c:
2635         Use new data_def_conditions.
2637         * src/core/na-object-profile.c (register_type):
2638         Implement the new NAIConditions interface.
2640         Review the rationales, replacing serializable+obsoleted by
2641         readable+writable flags in NADataDef structure.
2643         * src/api/na-data-def.h:
2644         * src/core/na-factory-object.c:
2645         * src/core/na-object-action-factory.c:
2646         * src/core/na-object-action.c:
2647         * src/core/na-object-id-factory.c:
2648         * src/core/na-object-item-factory.c:
2649         * src/core/na-object-profile-factory.c:
2650         * src/io-desktop/nadp-desktop-provider.c: Updated accordingly.
2652         * src/plugin-tracker/na-tracker-dbus.c (instance_dispose):
2653         Release selected items in instance_dispose() rather than in
2654         instance_finalize() which caused a FPE in Nautilus terminaison.
2656         * src/api/na-ifactory-object.h:
2657         * src/core/na-ifactory-object.c:
2658         * src/core/na-iio-provider.c:
2659         * src/io-desktop/nadp-desktop-file.c:
2660         * src/io-desktop/nadp-desktop-file.h:
2661         * src/io-xml/naxml-writer.c:
2662         * src/io-xml/naxml-writer.h:
2663         * src/nact/nact-iadvanced-tab.c:
2664         * src/nact/nact-main-menubar.c:
2665         * src/utils/nautilus-actions-new.c: Cleanup the code.
2667         * src/nact/nact-assistant-export.c (assist_prepare_confirm):
2668         Optimize the build of the displayed text.
2670         * src/nact/nact-assistant-export.c (on_all_widgets_showed):
2671         Select and expand the first row of the list.
2673         * src/core/na-module.c (add_module_type):
2674         * src/io-desktop/nadp-reader.c (na_ifactory_provider_read_item):
2675         * src/io-desktop/nadp-writer.c (nadp_iio_provider_write_item):
2676         * src/nact/nact-export-format.c (draw_in_vbox):
2677         Add a weak_notify() local function in order to be able to trace
2678         the dispose of attached objects.
2680         * src/api/na-core-utils.h:
2681         * src/core/na-core-utils.c
2682         (na_core_utils_str_remove_char): New function.
2684         * src/api/na-iexporter.h:
2685         Onlu reference one short label in NAIExporterFormat structure.
2687         * src/core/na-export-format.c:
2688         * src/core/na-export-format.h:
2689         * src/io-xml/naxml-formats.c: Updated accordingly.
2691         * src/nact/base-window.c (setup_builder):
2692         Display a dialog error when unable to load a XML definition.
2694         * src/nact/nact-assistant-export.c:
2695         * src/nact/nact-assistant-export.ui:
2696         * src/nact/nact-assistant-import.c:
2697         Adjust the display to be more funny.
2699         * src/nact/nact-clipboard.c:
2700         Add na-export-format.h include file.
2702         * src/nact/nact-export-ask.c:
2703         * src/nact/nact-export-format.c:
2704         * src/nact/nact-export-format.h:
2705         Reference the NAExportFormat object instead of each and every label.
2707         * src/nact/nact-iprefs.h:
2708         Remove IPREFS_EXPORT_FORMAT_ASK definition.
2710         * src/nact/nact-preferences-editor.c:
2711         * src/nact/nautilus-actions-config-tool.ui:
2712         Use (renamed) nact_export_format_init_display() function.
2714         * src/api/na-core-utils.h:
2715         * src/core/na-core-utils.c (na_core_utils_file_exists):
2716         New function.
2718         * src/io-xml/naxml-writer.c: Export to file.
2720         * po/POTFILES.in: Updated.
2722         * src/api/na-data-types.h
2723         (na_data_types_get_gconf_dump_key): New function.
2725         * src/core/na-data-types.c: New file.
2727         * src/core/Makefile.am: Updated accordingly.
2729         * src/api/na-ifactory-object-data.h:
2730         * src/core/na-object-item-factory.c:
2731         (NAFO_DATA_TYPE): New elementary data.
2733         * src/core/na-ifactory-object.c:
2734         * src/api/na-ifactory-object.h
2735         (na_ifactory_object_get_data_boxed): New function.
2737         * src/core/na-core-utils.c (na_core_utils_dir_is_writable_uri):
2738         Give a better name to the parameter.
2740         * src/core/na-exporter.c:
2741         * src/core/na-exporter.h (na_exporter_to_buffer, na_exporter_to_file):
2742         Reorder of functions in the files.
2744         * src/core/na-factory-object.c:
2745         * src/core/na-factory-object.h:
2746         Now use the new na_ifactory_object_get_data_boxed() function.
2748         * src/core/na-object-action-factory.c:
2749         * src/core/na-object-profile-factory.c:
2750         * src/io-xml/naxml-keys.h:
2751         Move the schema descriptions to data factory.
2753         * src/core/na-object-action.c:
2754         * src/core/na-object-menu.c:
2755         (ifactory_object_read_start): Allocate the 'type' data boxed.
2757         * src/io-gconf/nagp-keys.h: Fix the path of the schemas.
2759         * src/io-xml/naxml-formats.c:
2760         * src/io-xml/naxml-formats.h: New files.
2762         * src/io-xml/Makefile.am: Updated accordingly.
2764         * src/io-xml/naxml-provider.c: Implement NAXMLWriter calls.
2766         * src/io-xml/naxml-writer.c:
2767         * src/io-xml/naxml-writer.h: Export to buffer.
2769         * src/nact/nact-clipboard.c
2770         (nact_clipboard_dnd_drag_end): Fix gtk_selection_data_free() call.
2771         (export_row_object): Also exports menus.
2773         * src/nact/nact-tree-model-dnd.c
2774         (nact_tree_model_dnd_imulti_drag_source_drag_data_get):
2775         Fix and parse the returned URI to get the path of the target folder.
2777 2010-03-01 Pierre Wieser <pwieser@trychlos.org>
2779         * po/POTFILES.in: Add src/core/na-exporter.c file.
2781         * src/api/na-iexporter.h: Refactor NAIExporter interface.
2783         * src/core/na-export-format.c:
2784         * src/core/na-export-format.h
2785         (na_export_format_get_exporter): New function.
2787         * src/core/na-exporter.c:
2788         * src/core/na-exporter.h:
2789         * src/core/na-iexporter.c:
2790         * src/core/na-importer.c:
2791         * src/io-xml/naxml-provider.c:
2792         * src/nact/nact-assistant-export.c:
2793         * src/nact/nact-clipboard.c: Updated accordingly.
2795         * src/api/na-iexporter.h:
2796         * src/core/na-export-format.c:
2797         * src/core/na-export-format.h:
2798         * src/core/na-exporter.c:
2799         * src/core/na-iexporter.c:
2800         * src/io-xml/naxml-provider.c:
2801         * src/nact/nact-export-format.c:
2802         NAExporterStr structure is renamed as NAIExporterFormat.
2804         * src/api/na-iimporter.h (from_uri):
2805         Rename the API function to be consistant with NAIExporter interface.
2807         * src/core/na-iimporter.c:
2808         * src/io-xml/naxml-provider.c: Updated accordingly.
2810         * src/nact/nact-tree-model-dnd.c
2811         (nact_tree_model_dnd_imulti_drag_source_drag_data_get):
2812         Target folder is an URI.
2814         * src/nact/nact-main-menubar-tools.c:
2815         * src/nact/nact-main-menubar-tools.h: New files.
2817         * src/nact/nact-main-menubar-maintainer.c:
2818         * src/nact/nact-main-menubar-maintainer.h: New files.
2820         * src/nact/nact-main-menubar.c (on_update_sensitivities):
2821         Only paste a NAObjectItem into a menu.
2823         * src/nact/nact-main-menubar-help.c:
2824         * src/nact/nact-main-menubar-help.h: New files.
2826         * src/nact/Makefile.am:
2827         * src/nact/nact-main-menubar.c:
2828         * src/nact/nact-main-menubar.h: Updated accordingly.
2830         * src/core/na-updater.c:
2831         * src/core/na-updater.h (na_updater_append_item): New function.
2833         * src/nact/nact-main-menubar.c (save_item): Fix save machinery.
2835         * src/nact/nact-assistant-import.c
2836         (check_for_existance): Directly use the main window.
2838         * src/nact/nact-tree-model-dnd.c (drop_uri_list):
2839         Adapt to use na_importer_import_from_list() function.
2840         Display messages in a dialog box.
2841         Split the selection data on a '\r\n' separator.
2843         * src/api/na-iimporter.h (NAIImporterListParms): New structure.
2845         * src/core/na-importer.c:
2846         * src/core/na-importer.h (na_importer_import_from_list): New function.
2848         * src/api/na-iimporter.h:
2849         * src/core/na-iimporter.c:
2850         * src/core/na-importer-ask.c:
2851         * src/core/na-importer-ask.h:
2852         * src/core/na-importer.c:
2853         * src/core/na-importer.h:
2854         * src/io-xml/naxml-reader.c:
2855         * src/io-xml/naxml-reader.h:
2856         * src/nact/nact-assistant-import.c:
2857         * src/nact/nact-tree-model-dnd.c:
2858         * src/test/test-reader.c:
2859         NAIImporterParms structure is renamed as NAIImporterUriParms.
2860         'item' member of this same structure is renamed as imported.
2862         * src/io-gconf/nagp-reader.c:
2863         * src/io-gconf/nagp-writer.c:
2864         * src/io-gconf/nagp-writer.h: Cleanup the code.
2866         * src/nact/nact-iaction-tab.c (setup_toolbar_label):
2867         Immediately update the toolbar label when it is the same that those
2868         of the action.
2870         * src/nact/nact-icommand-tab.c (parse_parameters):
2871         Fix display of a single '%' char.
2873         * src/nact/nautilus-actions-config-tool.ui:
2874         ActionIconLabelLabel field renamed as ActionToolbarLabelLabel.
2876         * src/io-gconf/nagp-reader.c (read_done_item):
2877         Only action needs to setup the parent pointer.
2879         * src/io-gconf/nagp-writer.c (nagp_writer_write_data):
2880         Only writes non-empty values.
2882         * src/core/na-object.c (na_object_object_reset_origin):
2883         No more check for the value of object origin before resetting it.
2885         * src/core/na-object-item.c
2886         (na_object_item_remove_item): Improve debug message.
2887         (copy_children): Refuse to copy when target already has children.
2889         * src/nact/nact-main-menubar.c
2890         (nact_main_menubar_save_items): Do not re-dump all the items hierarchy.
2891         (save_item): Remove old children after having created the new ones.
2893         * src/core/na-object-action.c (ifactory_object_read_done):
2894         Force toolbar label to be the same that action one if flag is set to true.
2896         * src/api/na-object-api.h: Fix minor typo.
2898 2010-02-28 Pierre Wieser <pwieser@trychlos.org>
2900         * src/io-desktop/nadp-desktop-file.c
2901         (nadp_desktop_file_get_key_file_path):
2902         No more invalidate the function.
2904         * src/api/na-ifactory-object.h:
2905         * src/core/na-object-item-factory.c:
2906         * src/nact/nact-iactions-list-bis.c:
2907         * src/nact/nact-iactions-list.h:
2908         Fix minor typo.
2910         * src/api/na-object-api.h:
2911         New na_object_copy macro (evaluates as na_object_object_copy).
2913         * src/api/na-object-item.h (na_object_item_copy): Removed function.
2915         * src/api/na-object.h:
2916         * src/core/na-object.c:.
2917         (copy): Add 'recursive' flag.
2918         (iduplicable_copy): Use na_object_copy() macro.
2919         (na_object_object_copy): New function.
2921         * src/core/na-factory-object.c (na_factory_object_copy):
2922         No more delete all NADataBoxed, but update those who already exist.
2923         (write_data_iter): Fix return code.
2925         * src/core/na-iduplicable.c (na_iduplicable_duplicate):
2926         Review the rationale, and ensure that the function is recursive.
2928         * src/core/na-object-action.c
2929         * src/core/na-object-item.c:
2930         * src/core/na-object-menu.c:
2931         * src/core/na-object-profile.c:
2932         (instance_constructed): Removed function.
2933         (ifactory_object_copy): Removed function.
2934         (object_copy): New function, implementation of NAObject::copy.
2936         * src/core/na-pivot.c (instance_dispose): Add debug message.
2938         * src/core/na-updater.c (na_updater_remove_item):
2939         Only update tree if object has no parent.
2941         * src/io-gconf/nagp-gconf-provider.c
2942         (ifactory_provider_iface_init): Address nagp_writer_write_start().
2944         * src/io-gconf/nagp-reader.c (nagp_reader_read_data): Comment debug message.
2946         * src/io-gconf/nagp-writer.c:
2947         * src/io-gconf/nagp-writer.h (nagp_writer_write_start): New function.
2948         Write the type of the NAObjectItem.
2950         * src/nact/nact-iaction-tab.c (on_tab_updatable_selection_changed):
2951         * src/nact/nact-icommand-tab.c (on_tab_updatable_selection_changed):
2952         * src/nact/nact-iconditions-tab.c (on_tab_updatable_selection_changed):
2953         As objects have defaults, no more test for null string.
2955         * src/nact/nact-main-menubar.c
2956         (nact_main_menubar_save_items): Dump after check status.
2957         (save_item): Use new na_object_copy() macro.
2959         * src/nact/nact-window.c (nact_window_save_item):
2960         Remove superfluous dumps.
2962 2010-02-27 Pierre Wieser <pwieser@trychlos.org>
2964         * src/core/na-iduplicable.c (na_iduplicable_check_status):
2965         An object without any origin is considered modified.
2967         * src/core/na-iduplicable.c (get_duplicable_str):
2968         NAIDuplicable object defaults to not modified.
2970         * src/core/na-object-item-factory.c:
2971         Pointers to list of subitems are not comparable.
2973         Rewrite the update of the pivot tree where there is a non null origin.
2974         * src/core/na-updater.c:
2975         * src/core/na-updater.h
2976         (na_updater_add_item): Removed function.
2977         (na_updater_insert_item): New function.
2979         * src/io-gconf/nagp-writer.c (nagp_writer_write_data):
2980         Fix the path of written data.
2982         * src/nact/nact-main-menubar.c (on_new_profile_activated): 
2983         Do not attach the profile as this is done by the tree model.
2984         (save_item): Copy the tree item to the pivot one if it exists.
2986         * src/core/na-object-item.c (instance_dispose):
2987         Set the subitems pointer to NULL before unreffing the children.
2989         * src/core/na-object.c (instance_finalize):
2990         Add a protection when finalizing NADataBoxed.
2992         * src/core/na-object-action.c (instance_constructed):
2993         * src/core/na-object-profile.c (instance_constructed):
2994         * src/core/na-object-menu.c (instance_constructed):
2995         Initialize NAIFactoryObject defaults here, rather than in object_new.
2997         * src/api/na-data-def.h: Remove fn_free() function pointer.
2999         * src/core/na-data-boxed.c:
3000         * src/core/na-object-action-factory.c:
3001         * src/core/na-object-id-factory.c:
3002         * src/core/na-object-profile-factory.c
3003         * src/core/na-object-item-factory.c: Updated accordingly.
3005         * src/core/na-iduplicable.c (get_duplicable_str):
3006         Initialize modification status to TRUE if origin is NULL.
3008         * src/nact/nact-tree-model.c (nact_tree_model_fill):
3009         Recheck modification and validity status of newly duplicated object.
3011 2010-02-26 Pierre Wieser <pwieser@trychlos.org>
3013         Fix references count mistakes in NACT.
3015         * src/api/na-object-api.h (na_object_unref_selected_items):
3016         New macro, more specifically targeting the tree selections.
3018         * src/core/na-factory-object.c:
3019         * src/core/na-factory-object.h (na_factory_object_finalize_instance):
3020         Renamed as na_factory_object_finalize().
3022         * src/core/na-object-action.c (instance_finalize):
3023         * src/core/na-object-item.c (instance_finalize):
3024         * src/core/na-object-menu.c (instance_finalize):
3025         * src/core/na-object-profile.c (instance_finalize):
3026         * src/core/na-object.c (instance_finalize):
3027         Move na_object_unref_selected_items() to 
3028         na_object:na_factory_object_finalize.
3030         * src/core/na-pivot.c (instance_dispose, reload_items):
3031         Use non-recursive na_object_unref_items() macro.
3033         * src/nact/nact-assistant-export.c (assist_prepare_confirm):
3034         * src/nact/nact-iactions-list.c (free_items_callback):
3035         * src/nact/nact-main-menubar.c (on_update_sensitivities):
3036         Use recursive na_object_unref_selected_items() macro.
3038         * src/nact/nact-iactions-list.c (filter_selection):
3039         Unref the got object immediately (which was the actual bug).
3041         * src/test/init-dispose-diff.sh: Fix and optimize.
3043         Fix display of modification status in NACT.
3045         * src/api/na-iduplicable.h:
3046         * src/core/na-iduplicable.c (na_iduplicable_set_modified):
3047         New function.
3049         * src/api/na-object-api.h:
3050         * src/api/na-object-item.h:
3051         * src/core/na-object-item.c (na_object_item_unref_items_rec):
3052         New function.
3054         * src/core/na-data-boxed.c (string_are_equal):
3055         * src/core/na-factory-object.c (na_factory_object_are_equal):
3056         * src/core/na-object.c (na_object_object_check_status_up):
3057         Rewrite equality tests.
3059         * src/core/na-object-action-factory.c:
3060         * src/core/na-object-item-factory.c:
3061         * src/core/na-object-profile-factory.c:
3062         * src/core/na-object-action.c:
3063         * src/core/na-object-menu.c:
3064         * src/core/na-object-profile.c:
3065         Review one more time default values and initial allocations.
3067         * src/core/na-pivot.c (instance_dispose, na_pivot_load_items:
3068         Only unref the first level of items.
3070         * src/core/na-updater.c (na_updater_remove_item):
3071         Only unref the removed object as it will take care of also unreffing
3072         its children if its reference count is correct.
3074         * src/nact/nact-iactions-list.c (display_label):
3075         Add a commented debug line.
3077         * src/test/check-po.sh: Test cpompleteness of po/POTFILES.in.
3078         * src/test/time.sh: Bench the elapsed build time.
3080 2010-02-25 Pierre Wieser <pwieser@trychlos.org>
3082         * po/POTFILES.in: Updated.
3084         * src/core/na-object-profile.c:
3085         Remove no more used default profile.
3087         * src/core/na-object-profile.c:
3088         * src/nact/nact-iactions-list.c:
3089         No more include gi18n.h.
3091         * src/api/na-ifactory-object.h:
3092         * src/core/na-ifactory-object.c:
3093         Remove get_default() function from the interface.
3095         * src/api/na-object-action.h:
3096         * src/core/na-object-action.c (na_object_action_new_with_defaults):
3097         New function.
3098         Remove ifactory_object_get_default() implementation.
3100         * src/api/na-object-menu.h:
3101         * src/core/na-object-menu.c (na_object_menu_new_with_defaults):
3102         New function.
3103         Remove ifactory_object_get_default() implementation.
3105         * src/api/na-object-profile.h:
3106         * src/core/na-object-profile.c (na_object_profile_new_with_defaults):
3107         New function.
3108         Remove ifactory_object_get_default() implementation.
3110         * src/core/na-factory-object.c:
3111         * src/core/na-factory-object.h
3112         (na_factory_object_set_defaults): New function.
3113         (na_factory_object_attach_with_default): Removed function.
3114         Cleanup the code.
3116         * src/core/na-object-action-factory.c:
3117         * src/core/na-object-item-factory.c:
3118         * src/core/na-object-profile-factory.c:
3119         Review default values.
3121         * src/nact/nact-iaction-tab.c:
3122         * src/nact/nact-icommand-tab.c:
3123         * src/nact/nact-iconditions-tab.c:
3124         Fix the display of NULL texts.
3126         * src/nact/nact-main-menubar.c:
3127         * src/utils/nautilus-actions-new.c:
3128         Allocate new objects with defaults.
3130         * src/api/na-ifactory-object.h:
3131         * src/api/na-ifactory-provider.h:
3132         * src/api/na-object-api.h:
3133         * src/api/na-object-item.h:
3134         * src/core/na-factory-object.c:
3135         * src/core/na-factory-object.h:
3136         * src/core/na-factory-provider.c:
3137         * src/core/na-factory-provider.h:
3138         * src/core/na-ifactory-provider.c:
3139         * src/core/na-object-action.c:
3140         * src/core/na-object-item.c:
3141         * src/core/na-object-menu.c:
3142         * src/core/na-object-profile.c:
3143         * src/core/na-updater.c:
3144         * src/io-gconf/nagp-gconf-provider.c:
3145         * src/io-gconf/nagp-writer.c:
3146         * src/io-gconf/nagp-writer.h:
3147         Implement NAIfactoryProvider in GConf I/O provider writer.
3149         Fix reference count errors in NACT user interface.
3151         * src/core/na-object-id.c (instance_dispose):
3152         Remove the disposing child from its parent childs list.
3154         * src/core/na-object-item-factory.c (free_items_list):
3155         * src/core/na-object-item.c (instance_dispose):
3156         * src/core/na-object.c (na_object_object_unref):
3157         Fix minor typo.
3159         * src/core/na-object-item.c (na_object_item_unref_items):
3160         Do not recursively unref objects here as this is done in dispose.
3162         * src/nact/nact-tree-model.c (nact_tree_model_dispose):
3163         Add a debug message.
3165         Make the menus exportable.
3167         * src/nact/nact-iactions-list.c:
3168         * src/nact/nact-tree-model-priv.h:
3169         * src/nact/nact-tree-model.c:
3170         * src/nact/nact-tree-model.h:
3171         Change the 'only_actions' semantic by a 'are_profiles_displayed' one.
3172         Profiles are actually stored, but not displayed.
3174         * src/nact/nact-iactions-list.c
3175         (nact_iactions_list_initial_load_toplevel):
3176         The title of the label column is no more localizable.
3178         Fix validity checks.
3180         * src/core/na-data-boxed.c
3181         (string_is_valid, locale_is_valid, slist_is_valid, pointer_is_valid,
3182         uint_is_valid): Fix individual validity checks of elementary data.
3184         * src/core/na-factory-object.c (na_factory_object_is_valid):
3185         First check for presence of mandatory data, then check present data.
3187         * src/core/na-iduplicable.c (na_iduplicable_duplicate):
3188         Also duplicate the status of the source object.
3190         * src/core/na-io-provider.c (na_io_provider_read_items):
3191         Add a comment.
3193         * src/core/na-object-item.c (na_object_item_copy):
3194         * src/core/na-object.c (na_object_object_check_status):
3195         Fix minor typo.
3197         * src/nact/nact-tree-model.c (nact_tree_model_fill):
3198         No more check status of newly duplicated objects.
3200         * src/nact/base-window.c (instance_dispose):
3201         Only set dispose after having tested for main window.
3203         * src/api/na-object-api.h:
3204         Distinguish between profile and item on get_label.
3206         * src/core/na-gtk-utils.c:
3207         * src/core/na-gtk-utils.h: New files.
3208         * src/core/Makefile.am: Updated accordingly.
3210         * src/core/na-data-boxed.c:
3211         * src/core/na-gconf-monitor.c:
3212         * src/core/na-importer-ask.c:
3213         * src/io-gconf/nagp-gconf-provider.c:
3214         * src/io-gconf/nagp-reader.c:
3215         * src/io-gconf/nagp-reader.h:
3216         Fix objects reading from GConf.
3218         * src/nact/nact-assistant-import.c:
3219         * src/nact/nact-iprefs.c:
3220         * src/nact/nact-preferences-editor.c:
3221         * src/nact/nact-tree-model-dnd.c:
3222         * src/utils/nautilus-actions-schemas.c:
3223         Move GConfClient to private object data, unref on dispose.
3225 2010-02-24 Pierre Wieser <pwieser@trychlos.org>
3227         * src/api/na-iimporter.h:
3228         * src/core/Makefile.am:
3229         * src/core/na-iimporter.c:
3230         * src/core/na-importer-ask.c:
3231         * src/core/na-importer-ask.h:
3232         * src/core/na-iprefs.c:
3233         * src/core/na-iprefs.h:
3234         * src/io-xml/naxml-reader.c:
3235         * src/nact/Makefile.am:
3236         * src/nact/nact-assistant-import.c:
3237         * src/nact/nact-iprefs.c:
3238         * src/nact/nact-iprefs.h:
3239         * src/nact/nact-main-window.h:
3240         * src/nact/nact-preferences-editor.c:
3241         * src/nact/nact-tree-model-dnd.c:
3242         * src/nact/nautilus-actions-config-tool.ui:
3243         * src/test/test-reader.c: ImporterAsk dialog.
3245         * src/io-xml/naxml-keys.c:
3246         * src/io-xml/naxml-keys.h:
3247         * src/io-xml/naxml-reader.c: Able to import type 3 XML files.
3249         * exports/config_1af5a47e-96d9_v1.4.schemas:
3250         * src/api/na-data-boxed.h:
3251         * src/api/na-ifactory-object-data.h:
3252         * src/core/na-data-boxed.c:
3253         * src/core/na-factory-object.c:
3254         * src/core/na-object-action.c:
3255         * src/core/na-object-id-factory.c:
3256         * src/core/na-object-item-factory.c:
3257         * src/core/na-object-profile-factory.c:
3258         * src/io-xml/naxml-provider.c:
3259         * src/io-xml/naxml-reader.c:
3260         * src/io-xml/naxml-reader.h: Able to import two profiles.
3262         * src/api/na-data-boxed.h:
3263         * src/api/na-gconf-utils.h:
3264         * src/core/na-data-boxed.c:
3265         * src/core/na-factory-object.c:
3266         * src/core/na-gconf-utils.c:
3267         Make the dump more pretty.
3269         * exports/action-5c4fa203-b5d0_post_v1.11_type_3.xml:
3270         * exports/config-4c4fa203-b5d0_post_v1.11_type_2.schema:
3271         * exports/config_1af5a47e-96d9_v1.schemas:
3272         * exports/config_2af5a47e-96d9_pre_v1.11.schemas:
3273         * exports/config_3c4fa203-b5d0_post_v1.11_type_1.schemas:
3274         Refactor export files to better suit test-reader needs.
3276         * src/api/Makefile.am:
3277         * src/api/na-data-boxed.h:
3278         * src/api/na-data-types.h:
3279         * src/api/na-gconf-utils.h:
3280         * src/api/na-ifactory-object-data.h:
3281         * src/api/na-ifactory-object.h:
3282         * src/api/na-ifactory-provider.h:
3283         * src/api/na-iimporter.h:
3284         * src/api/na-object-api.h:
3285         * src/api/na-object-profile.h:
3286         * src/core/Makefile.am:
3287         * src/core/na-data-boxed.c:
3288         * src/core/na-factory-object.c:
3289         * src/core/na-factory-object.h:
3290         * src/core/na-factory-provider.c:
3291         * src/core/na-factory-provider.h:
3292         * src/core/na-gconf-utils.c:
3293         * src/core/na-ifactory-object.c:
3294         * src/core/na-ifactory-provider.c:
3295         * src/core/na-importer.c:
3296         * src/core/na-importer.h:
3297         * src/core/na-io-provider.c:
3298         * src/core/na-object-action-factory.c:
3299         * src/core/na-object-action.c:
3300         * src/core/na-object-id-factory.c:
3301         * src/core/na-object-item-factory.c:
3302         * src/core/na-object-menu-factory.c:
3303         * src/core/na-object-menu.c:
3304         * src/core/na-object-profile-factory.c:
3305         * src/core/na-object-profile.c:
3306         * src/io-desktop/nadp-desktop-file.c:
3307         * src/io-desktop/nadp-desktop-file.h:
3308         * src/io-desktop/nadp-desktop-provider.c:
3309         * src/io-desktop/nadp-keys.c:
3310         * src/io-desktop/nadp-keys.h:
3311         * src/io-desktop/nadp-reader.c:
3312         * src/io-gconf/nagp-gconf-provider.c:
3313         * src/io-xml/naxml-keys.h:
3314         * src/io-xml/naxml-provider.c:
3315         * src/io-xml/naxml-reader.c:
3316         * src/io-xml/naxml-reader.h:
3317         * src/nact/nact-assistant-import.c:
3318         * src/nact/nact-tree-model-dnd.c:
3319         * src/test/test-include.c:
3320         * src/test/test-reader.c: Able to import a pre-v2 action.
3322 2010-02-22 Pierre Wieser <pwieser@trychlos.org>
3324         * src/api/Makefile.am:
3325         * src/api/na-ifactory-object-enum.h:
3326         * src/api/na-ifactory-object-str.h:
3327         * src/api/na-ifactory-object.h:
3328         * src/api/na-ifactory-provider.h:
3329         * src/api/na-iio-provider.h:
3330         * src/api/na-object-api.h:
3331         * src/core/Makefile.am:
3332         * src/core/na-data-element.c:
3333         * src/core/na-data-element.h:
3334         * src/core/na-factory-object.c:
3335         * src/core/na-factory-object.h:
3336         * src/core/na-ifactory-object.c:
3337         * src/core/na-ifactory-provider-priv.h:
3338         * src/core/na-ifactory-provider.c:
3339         * src/core/na-object-action-enum.c:
3340         * src/core/na-object-action.c:
3341         * src/core/na-object-id-enum.c:
3342         * src/core/na-object-item-enum.c:
3343         * src/core/na-object-item.c:
3344         * src/core/na-object-menu-enum.c:
3345         * src/core/na-object-menu.c:
3346         * src/core/na-object-profile-enum.c:
3347         * src/core/na-object-profile.c:
3348         * src/core/na-object.c:
3349         * src/io-desktop/nadp-desktop-provider.c:
3350         * src/io-desktop/nadp-desktop-provider.h:
3351         * src/io-desktop/nadp-keys.c:
3352         * src/io-desktop/nadp-keys.h:
3353         * src/io-desktop/nadp-reader.c:
3354         * src/io-desktop/nadp-writer.c:
3355         * src/io-xml/naxml-keys.h:
3356         * src/io-xml/naxml-reader.c:
3357         * src/test/test-include.c:
3358         Rename NAIDataFactory interface as NAIFactoryObject.
3360         * src/api/Makefile.am:
3361         * src/api/na-idata-factory-str.h:
3362         * src/api/na-idata-factory.h:
3363         * src/api/na-ifactory-provider-provider.h:
3364         * src/api/na-ifactory-provider.h:
3365         * src/api/na-iio-provider.h:
3366         * src/core/Makefile.am:
3367         * src/core/na-data-factory.c:
3368         * src/core/na-data-factory.h:
3369         * src/core/na-factory-provider.c:
3370         * src/core/na-factory-provider.h:
3371         * src/core/na-ifactory-provider-priv.h:
3372         * src/core/na-ifactory-provider.c:
3373         * src/core/na-object-action.c:
3374         * src/core/na-object-menu.c:
3375         * src/core/na-object-profile.c:
3376         * src/io-desktop/nadp-desktop-provider.c:
3377         * src/io-desktop/nadp-reader.c:
3378         * src/io-desktop/nadp-writer.c:
3379         * src/io-gconf/nagp-gconf-provider.c:
3380         * src/io-xml/naxml-provider.c:
3381         * src/io-xml/naxml-reader.c:
3382         Rename NAIIOFactory interface as NAIFactoryProvider.
3384         * src/core/na-io-provider.c:
3385         * src/core/na-pivot.c:
3386         * src/core/na-pivot.h:
3387         * src/nact/nact-application.c:
3388         * src/nact/nact-main-window.c:
3389         * src/plugin-menu/nautilus-actions.c:
3390         * src/utils/nautilus-actions-run.c
3391         (na_pivot_set_loadable): New function.
3392         (na_pivot_reload_items): Removed function.
3394 2010-02-21 Pierre Wieser <pwieser@trychlos.org>
3396         * src/core/na-pivot.c:
3397         * src/core/na-pivot.h:
3398         * src/core/na-updater.c:
3399         * src/core/na-updater.h:
3400         * src/nact/nact-application.c:
3401         * src/nact/nact-main-window.c:
3402         * src/plugin-menu/nautilus-actions.c:
3403         * src/test/test-reader.c:
3404         * src/utils/nautilus-actions-new.c:
3405         * src/utils/nautilus-actions-run.c:
3406         No more define the loadable set at NAPivot construction time,
3407         but deffer this when actually loading items.
3409 2010-02-20 Pierre Wieser <pwieser@trychlos.org>
3411         * po/POTFILES.in:
3412         * src/api/na-idata-factory-str.h:
3413         * src/api/na-idata-factory.h:
3414         * src/api/na-iimporter.h:
3415         * src/api/na-iio-factory.h:
3416         * src/api/na-object-api.h:
3417         * src/core/Makefile.am:
3418         * src/core/na-data-factory.c:
3419         * src/core/na-data-factory.h:
3420         * src/core/na-idata-factory.c:
3421         * src/core/na-iio-factory.c:
3422         * src/core/na-importer.c:
3423         * src/core/na-importer.h:
3424         * src/core/na-io-factory.c:
3425         * src/core/na-io-factory.h:
3426         * src/core/na-iprefs.h:
3427         * src/core/na-module.c:
3428         * src/core/na-object-action-enum.c:
3429         * src/core/na-object-action.c:
3430         * src/core/na-object-id-enum.c:
3431         * src/core/na-object-item-enum.c:
3432         * src/core/na-object-item.c:
3433         * src/core/na-object-menu-enum.c:
3434         * src/core/na-object-menu.c:
3435         * src/core/na-object-profile-enum.c:
3436         * src/core/na-object-profile.c:
3437         * src/core/na-pivot.c:
3438         * src/io-desktop/Makefile.am:
3439         * src/io-gconf/Makefile.am:
3440         * src/io-xml/Makefile.am:
3441         * src/io-xml/naxml-keys.c:
3442         * src/io-xml/naxml-keys.h:
3443         * src/io-xml/naxml-provider.c:
3444         * src/io-xml/naxml-provider.h:
3445         * src/io-xml/naxml-reader.c:
3446         * src/io-xml/naxml-reader.h:
3447         * src/nact/Makefile.am:
3448         * src/nact/nact-assistant-import.c:
3449         * src/nact/nact-import-ask.c:
3450         * src/nact/nact-iprefs.c:
3451         * src/nact/nact-preferences-editor.c:
3452         * src/nact/nact-tree-model-dnd.c:
3453         * src/plugin-menu/Makefile.am:
3454         * src/plugin-tracker/Makefile.am:
3455         * src/test/.gitignore:
3456         * src/test/Makefile.am:
3457         * src/utils/Makefile.am: Implement NAXMLReader.
3459 2010-02-18 Pierre Wieser <pwieser@trychlos.org>
3461         * src/api/na-core-utils.h:
3462         * src/api/na-idata-factory-str.h:
3463         * src/core/na-core-utils.c:
3464         * src/core/na-data-element.c:
3465         * src/core/na-data-element.h:
3466         * src/core/na-data-factory.c:
3467         * src/core/na-io-provider.c:
3468         * src/core/na-io-provider.h:
3469         * src/core/na-object-action-enum.c:
3470         * src/core/na-object-id-enum.c:
3471         * src/core/na-object-item-enum.c:
3472         * src/core/na-object-item.c:
3473         * src/core/na-object-menu-enum.c:
3474         * src/core/na-object-profile-enum.c:
3475         * src/core/na-object.c:
3476         * src/io-desktop/nadp-writer.c:
3477         * src/io-gconf/nagp-reader.c:
3478         * src/nact/nact-assistant-export.c:
3479         * src/nact/nact-iactions-list-bis.c:
3480         * src/nact/nact-main-statusbar.c:
3481         * src/nact/nact-tree-model-dnd.c:
3482         * src/nact/nact-tree-model.c:
3483         Fix non empty string list.
3484         Fix under reference in export assistant.
3485         Refactor NADataElement class.
3487         * src/core/na-exporter.c (na_exporter_get_formats):
3488         Fix infinite loop.
3490         * src/core/na-iduplicable.c (na_iduplicable_dispose):
3491         Test for effective connexion before trying to disconnect.
3493         * src/core/na-data-element.c (na_data_element_set):
3494         Fix value->type inverted assertion.
3496         * src/api/na-core-utils.h:
3497         * src/core/na-core-utils.c:
3498         * src/io-desktop/nadp-desktop-file.c:
3499         * src/io-desktop/nadp-desktop-provider.c:
3500         * src/io-desktop/nadp-xdg-dirs.c:
3501         Fix reading of localized values in the desktop file.
3503         * src/nact/base-iprefs.c:
3504         * src/nact/base-iprefs.h:
3505         * src/nact/nact-assistant-import.c:
3506         * src/nact/nact-icommand-tab.c:
3507         * src/nact/nact-import-ask.c:
3508         * src/nact/nact-iprefs.c:
3509         * src/nact/nact-iprefs.h:
3510         * src/nact/nact-main-toolbar.c:
3511         * src/nact/nact-preferences-editor.c:
3512         Fix bad inheritance of interfaces.
3514         * src/api/na-object-api.h:
3515         * src/api/na-object.h:
3516         * src/core/na-data-factory.c:
3517         * src/core/na-io-provider.c:
3518         * src/core/na-object-action.c:
3519         * src/core/na-object-id.c:
3520         * src/core/na-object-menu.c:
3521         * src/core/na-object-profile.c:
3522         * src/core/na-object.c: Fix validity check of the items.
3524 2010-02-17 Pierre Wieser <pwieser@trychlos.org>
3526         * po/POTFILES.in:
3527         * src/test/test-parse-uris.c:
3528         * src/nact/nact-preferences-editor.c:
3529         * src/nact/nact-main-statusbar.c:
3530         * src/nact/nact-iconditions-tab.c: Update list of translatable files.
3532         * src/api/na-core-utils.h:
3533         * src/api/na-idata-factory-str.h:
3534         * src/api/na-idata-factory.h:
3535         * src/api/na-iduplicable.h:
3536         * src/core/na-core-utils.c:
3537         * src/core/na-data-element.c:
3538         * src/core/na-data-element.h:
3539         * src/core/na-data-factory.c:
3540         * src/core/na-data-factory.h:
3541         * src/core/na-idata-factory.c:
3542         * src/core/na-iduplicable.c:
3543         * src/core/na-io-provider.c:
3544         * src/core/na-iprefs.c:
3545         * src/core/na-object-action-enum.c:
3546         * src/core/na-object-action.c:
3547         * src/core/na-object-id-enum.c:
3548         * src/core/na-object-item-enum.c:
3549         * src/core/na-object-menu.c:
3550         * src/core/na-object-profile-enum.c:
3551         * src/core/na-object-profile.c:
3552         * src/core/na-object.c:
3553         * src/io-desktop/nadp-desktop-provider.c:
3554         * src/io-gconf/nagp-reader.c: Add is_valid() functions.
3556         * src/utils/nautilus-actions-run.c: Restore production loadable set.
3558         * src/api/na-idata-factory.h:
3559         * src/api/na-iio-factory.h:
3560         * src/core/na-data-factory.c:
3561         * src/core/na-iio-factory.c:
3562         * src/core/na-object-action.c:
3563         * src/core/na-object-menu.c:
3564         * src/core/na-object-profile.c:
3565         * src/io-desktop/nadp-desktop-provider.c:
3566         * src/io-gconf/nagp-gconf-provider.c:
3567         * src/io-xml/naxml-provider.c:
3568         Add read_start() and write_start() to NAIIOFactory and 
3569         NAIDataFactory interfaces.
3571         * po/POTFILES.in: Update list of translatable files.
3573         * src/utils/console-utils.c:
3574         * src/utils/nautilus-actions-run.c: Update command-line utilities.
3576         * src/test/test-include.c:
3577         * src/test/test-parse-uris.c: Update test utilities.
3579         * src/plugin-tracker/na-tracker-dbus.c:
3580         * src/plugin-tracker/na-tracker.c: Update NATracker plugin.
3582         * src/core/Makefile.am:
3583         * src/core/na-updater.c:
3584         * src/core/na-updater.h:
3585         * src/nact/nact-window.c:
3586         * src/nact/nact-window.h: Update NactWindow class.
3588         * src/api/na-object-api.h:
3589         * src/api/na-object-item.h:
3590         * src/core/na-object-item.c:
3591         * src/nact/nact-tree-model-dnd.c:
3592         * src/nact/nact-tree-model.c: Update NactTreeModel class.
3594         * src/api/na-core-utils.h:
3595         * src/api/na-object-api.h:
3596         * src/api/na-object-profile.h:
3597         * src/core/na-core-utils.c:
3598         * src/core/na-object-profile.c:
3599         * src/io-gconf/nagp-reader.c:
3600         * src/nact/nact-ibackground-tab.c:
3601         * src/nact/nact-schemes-list.c: Update schemes list.
3603         * src/nact/nact-providers-list.c: Update providers list.
3605         * src/core/na-iprefs.c:
3606         * src/core/na-iprefs.h:
3607         * src/nact/nact-assistant-export.c:
3608         * src/nact/nact-export-ask.c:
3609         * src/nact/nact-export-format.c:
3610         * src/nact/nact-export-format.h:
3611         * src/nact/nact-preferences-editor.c:
3612         * src/nact/nact-preferences.ui: Update NactPreferencesEditor class.
3614         * src/nact/base-iprefs.c:
3615         * src/nact/base-iprefs.h:
3616         * src/nact/nact-main-window.c:
3617         * src/nact/nact-main-window.h: Update NactMainWindow class.
3619         * src/core/na-iprefs.c:
3620         * src/core/na-iprefs.h:
3621         * src/nact/nact-iprefs.c:
3622         * src/nact/nact-iprefs.h:
3623         * src/nact/nact-main-toolbar.c: Update toolbar.
3625         * src/api/na-iio-provider.h:
3626         * src/core/na-io-provider.c:
3627         * src/core/na-io-provider.h:
3628         * src/nact/nact-main-statusbar.c: Update status bar.
3630         * src/api/na-object-action.h:
3631         * src/api/na-object-api.h:
3632         * src/api/na-object-id.h:
3633         * src/api/na-object-item.h:
3634         * src/api/na-object-profile.h:
3635         * src/api/na-object.h:
3636         * src/core/na-object-action.c:
3637         * src/core/na-object-id.c:
3638         * src/core/na-object-item.c:
3639         * src/core/na-object-profile.c:
3640         * src/core/na-object.c:
3641         * src/core/na-pivot.c:
3642         * src/core/na-pivot.h:
3643         * src/core/na-updater.c:
3644         * src/core/na-updater.h:
3645         * src/nact/nact-export-format.c:
3646         * src/nact/nact-main-menubar.c: Update menu bar.
3648         * src/nact/nact-iprefs.c: Update NactIPrefs interface.
3650         * src/api/na-core-utils.h:
3651         * src/core/na-core-utils.c:
3652         * src/nact/nact-iconditions-tab.c:
3653         Update NactIConditionsTab interface.
3655         * src/api/na-core-utils.h:
3656         * src/core/na-core-utils.c:
3657         * src/core/na-iprefs.c:
3658         * src/core/na-iprefs.h:
3659         * src/nact/nact-icommand-tab.c:
3660         * src/nact/nact-iprefs.c:
3661         * src/nact/nact-iprefs.h: Update NactICommandTab interface.
3663         * src/api/na-object-api.h:
3664         * src/api/na-object-profile.h:
3665         * src/core/na-object-profile.c:
3666         * src/nact/nact-iaction-tab.c:
3667         * src/nact/nact-iadvanced-tab.c:
3668         * src/nact/nact-ibackground-tab.c: Update NactIBackgroundTab
3669         interface.
3671         * src/api/na-object-api.h:
3672         * src/api/na-object-item.h:
3673         * src/nact/nact-gtk-utils.c:
3674         * src/nact/nact-gtk-utils.h:
3675         * src/nact/nact-iaction-tab.c: Update NactIActionTab interface.
3677         * core/na-object-action-fn.h:
3678         * core/na-object-action-priv.h:
3679         * core/na-object-fn.h:
3680         * core/na-object-id-fn.h:
3681         * core/na-object-id-priv.h:
3682         * core/na-object-item-fn.h:
3683         * core/na-object-item-priv.h:
3684         * core/na-object-menu-fn.h:
3685         * core/na-object-menu-priv.h:
3686         * core/na-object-profile-fn.h:
3687         * core/na-object-profile-priv.h: Remove no more used files.
3689         * src/api/na-iduplicable.h:
3690         * src/api/na-object-api.h:
3691         * src/api/na-object-item.h:
3692         * src/api/na-object.h:
3693         * src/core/na-iduplicable.c:
3694         * src/core/na-object-item.c:
3695         * src/core/na-object.c:
3696         * src/nact/nact-iactions-list-bis.c:
3697         * src/nact/nact-iactions-list.c:
3698         * src/nact/nact-window.c:
3699         * src/nact/nact-window.h: Update NactIActionsList interface.
3701         * src/api/na-iduplicable.h:
3702         * src/api/na-object-api.h:
3703         * src/api/na-object-item.h:
3704         * src/core/na-exporter.c:
3705         * src/core/na-exporter.h:
3706         * src/core/na-iduplicable.c:
3707         * src/core/na-object-item.c:
3708         * src/nact/Makefile.am:
3709         * src/nact/nact-assistant-export.c:
3710         * src/nact/nact-clipboard.c:
3711         * src/nact/nact-clipboard.h:
3712         * src/nact/nact-confirm-logout.c:
3713         * src/nact/nact-export-ask.c:
3714         * src/nact/nact-export-format.c:
3715         * src/nact/nact-export-format.h:
3716         * src/nact/nact-iprefs.h:
3717         * src/nact/nact-main-menubar.h:
3718         * src/nact/nact-assistant-export.c:
3719         * src/nact/nact-assistant-export.h:
3720         * src/nact/nact-assistant-export.ui:
3721         * src/nact/nact-assistant-import.c:
3722         * src/nact/nact-import-ask.c:
3723         * src/nact/nact-import-ask.h:
3724         * src/nact/nact-iprefs.c:
3725         * src/nact/nact-iprefs.h:
3726         * src/nact/nact-tree-model.h: Update Nact classes.
3728         Refactor: move all XML code to src/io-xml plugin.
3730         * src/nact/Makefile.am:
3731         * src/nact/base-application-class.h:
3732         * src/nact/base-assistant.h:
3733         * src/nact/base-assistant.h:
3734         * src/nact/base-builder.h:
3735         * src/nact/base-dialog.h:
3736         * src/nact/base-iprefs.c:
3737         * src/nact/base-window-class.h: Update typo in Base class headers.
3739         * src/core/na-importer.c:
3740         * src/core/na-importer.h: New files.
3742         * src/core/Makefile.am:
3743         * src/core/na-iimporter.c:
3744         * src/core/na-io-provider.c:
3745         * src/core/na-iprefs.h: Update core library.
3747         * src/nact/nact-export-format.h:
3748         * src/nact/nact-export-format.c:
3749         * src/core/na-exporter.h:
3750         * src/core/na-exporter.c: Update export treatements.
3752         * src/api/na-iexporter.h:
3753         * src/core/na-iexporter.c:
3754         * src/io-xml/naxml-module.c:
3755         * src/io-xml/naxml-provider.c: Update NAIExporter interface.
3757         Define NAExportFormat new class.
3759         * src/core/na-export-format.c:
3760         * src/core/na-export-format.h: New files.
3762         Rename src/nact/nact-assistant-export-ask.{c,h} to
3763         src/nact/nact-export-ask.{c,h}
3765 2010-02-15 Pierre Wieser <pwieser@trychlos.org>
3767         Now install defined ids in docdir.
3769         * doc/export-format-id: New file.
3771         * doc/Makefile.am: Updated accordingly.
3773         Define NactIPrefs interface.
3775         * src/nact/nact-iprefs.c:
3776         * src/nact/nact-iprefs.h: New files.
3778         Update src/nact/
3779         Remove useless src/private directory.
3781         Define NAUpdater class.
3783         * src/core/na-updater.c:
3784         * src/core/na-updater.h: New files.
3786         Update src/core/na-pivot.{c,h}
3787         Update src/core/na-module.{c,h}
3788         Update src/core/na-iprefs.{c,h}
3789         Update src/core/na-ipivot-consumer.{c,h}
3790         Update src/core/na-io-factory.{c,h}
3791         Update src/core/na-io-provider.{c,h}
3792         Update src/core/na-iabout.{c,h}
3793         Update src/utils.
3795 2010-02-15 Deji Akingunola <dakingun@gmail.com>
3797         * src/test/Makefile.am: Fix typo.
3799 2010-02-15 Pierre Wieser <pwieser@trychlos.org>
3801         Update src/test.
3802         Update src/plugin-tracker.
3803         Update src/plugin-menu.
3805         Define NAIImporter interface.
3807         * src/api/na-iimporter.h:
3808         * src/core/na-iimporter.c: New files.
3810         Define NAIExporter interface.
3812         * src/api/na-iexporter.h:
3813         * src/core/na-iexporter.c: New files.
3815         * src/core/na-dbus-tracker.h: New file.
3817         Remove useless src/api/na-gconf-keys.h
3818         Update GConf I/O provider.
3819         Create src/io-gconf/nagp-keys.c
3820         Rename src/io-gconf/nagp-write.{c,h} to src/io-gconf/nagp-writer.{c,h}
3821         Rename src/io-gconf/nagp-read.{c,h} to src/io-gconf/nagp-reader.{c,h}
3823         Update I/O desktop provider.
3825         * src/io-desktop/nadp-keys.c:
3826         * src/io-desktop/nadp-keys.h: New files.
3828         Rename src/io-desktop/nadp-xdg-data-dirs.{c,h} to src/io-desktop/nadp-xdg-dirs.{c,h}
3829         Rename src/io-desktop/nadp-write.{c,h} to src/io-desktop/nadp-writer.{c,h}
3830         Rename src/io-desktop/nadp-read.{c,h} to src/io-desktop/nadp-reader.{c,h}
3832         NAObject-derived classes implement NAIDataFactory interface.
3834         * src/core/na-object-id-enum.c:
3835         * src/core/na-object-item-enum.c:
3836         * src/core/na-object-action-enum.c:
3837         * src/core/na-object-profile-enum.c:
3838         * src/core/na-object-menu-enum.c: New files.
3840         Define NADataElement class.
3842         * src/core/na-data-element.c:
3843         * src/core/na-data-element.h: New files.
3845         Define NAIDataFactory interface.
3847         * src/api/na-idata-factory.h:
3848         * src/api/na-idata-factory-enum.h:
3849         * src/api/na-idata-factory-str.h:
3850         * src/core/na-idata-factory.c:
3851         * src/core/na-data-factory.c:
3852         * src/core/na-data-factory.h: New files.
3854         Define NAIIOFactory interface.
3856         * src/api/na-iio-factory.h:
3857         * src/api/na-iio-factory-factory.h:
3858         * src/core/na-iio-factory.c:
3859         * src/core/na-io-factory.c:
3860         * src/core/na-io-factory.h: New files.
3862         Rename src/core/na-object-menu-class.h to src/api/na-object-menu.h
3863         Rename src/core/na-object-profile-class.h to src/api/na-object-profile.h
3864         Rename src/core/na-object-action-class.h to src/api/na-object-action.h
3865         Rename src/core/na-object-item-class.h to src/api/na-object-item.h
3866         Rename src/core/na-object-id-class.h to src/api/na-object-id.h
3867         Rename src/core/na-object-class.h to src/api/na-object.h
3868         Rename src/core/na-iduplicable.h to src/api/na-iduplicable.h
3869         Rename src/core/na-gconf-utils.h to src/api/na-gconf-utils.h
3870         Rename src/api/na-iio-provider.c to src/core/na-iio-provider.c
3872         * src/api/na-dbus.h: Update defined name.
3874         * m4/na-log-domains.m4: Update log domains with new subdirs.
3876         * doc/io-provider-id: Reference na-xml XML provider.
3878         Rename src/api/na-gconf-monitor.c to src/core/na-gconf-monitor.c
3879         Rename src/core/na-utils.h to src/api/na-core-utils.h
3880         Rename src/core/na-utils.c to src/core/na-core-utils.c
3882         * src/api/Makefile.am:
3883         * src/core/Makefile.am: Updated accordingly.
3885         * src/core/na-core-utils.c:
3886         * src/core/na-core-utils.h: Normalize functions names.
3888         Merge src/private/ and src/runtime to src/core/
3889         Rename src/api/na-api.h to src/api/na-extension.h
3891         * src/api/README:
3892         * src/io-desktop/nadp-module.c:
3893         * src/io-gconf/nagp-module.c:
3894         * src/runtime/na-module.c: Updated accordingly.
3896         Define XML provider as a dynamic module.
3897         
3898         * io-xml/Makefile.am:
3899         * io-xml/naxml-module.c:
3900         * io-xml/naxml-provider.c:
3901         * io-xml/naxml-provider.h: New files.
3903         Rename source tree from nautilus-actions/ to src/
3904         Rename src/io-provider-desktop/ to src/io-desktop/
3905         Rename src/io-provider-gconf/ to src/io-gconf/
3906         Rename src/plugin to src/plugin-menu/
3907         Rename src/tracker to src/plugin-tracker/
3909         * Makefile.am:
3910         * configure.ac:
3911         * po/POTFILES.in: Updated accordingly.
3913 2010-01-31 Pierre Wieser <pwieser@trychlos.org>
3915         * nautilus-actions/io-provider-desktop/nadp-desktop-file.c:
3916         * nautilus-actions/io-provider-desktop/nadp-desktop-file.h:
3917         * nautilus-actions/io-provider-desktop/nadp-read.c:
3918         * nautilus-actions/io-provider-desktop/nadp-utils.c:
3919         * nautilus-actions/io-provider-desktop/nadp-utils.h:
3920         * nautilus-actions/io-provider-gconf/nagp-read.c:
3921         Implements reading of .desktop files.
3923         * nautilus-actions/io-provider-gconf/nagp-write.c (write_item_action):
3924         Always writes the 'OBJECT_ITEM_TOOLBAR_LABEL_ENTRY' key.
3926 2010-01-30 Pierre Wieser <pwieser@trychlos.org>
3928         No more record the toolbar_same_label indicator.
3930         * nautilus-actions.schemas.in:
3931         Remove schema for 'toolbar-same-label' key.
3933         * nautilus-actions/io-provider-gconf/nagp-read.c
3934         (read_item_action_properties):
3935         No more read the 'toolbar-same-label' entry.
3937         * nautilus-actions/io-provider-gconf/nagp-write.c (write_item_action):
3938         No more write the 'toolbar-same-label' entry.
3939         Remove the key if undeeded.
3941         * nautilus-actions/nact/nact-iaction-tab.c
3942         (on_toolbar_same_label_toggled): Fix toolbar label setup.
3944         * nautilus-actions/nact/nact-xml-reader.c (apply_values):
3945         No more read OBJECT_ITEM_TOOLBAR_SAME_LABEL_ENTRY node.
3947         * nautilus-actions/runtime/na-gconf-utils.c:
3948         * nautilus-actions/runtime/na-gconf-utils.h
3949         (na_gconf_utils_remove_entry): New function.
3951         * nautilus-actions/runtime/na-xml-writer.c
3952         (create_schema_entry, create_dump_entry):
3953         No more write the 'toolbar-same-label' entry.
3955         * nautilus-actions/nact/nact-iaction-tab.c
3956         (on_tab_updatable_selection_changed):
3957         Update tab label depending on the currently selected item.
3959         * nautilus-actions/nact/nautilus-actions-config-tool.ui:
3960         No more give a special name to Action tab label.
3962         * nautilus-actions/nact/nautilus-actions-config-tool.ui:
3963         Fix Action tab layout.
3965         A full rewriting of the writability of items vs. providers.
3967         * data/nautilus-actions.schemas.in:
3968         Describe 'export-format' and 'io-providers-order' keys.
3969         Define 'mandatory/all/locked' key to lock all configuration.
3971         * doc/io-provider-id: Reserve 'all' special provider_id.
3973         * nautilus-actions/api/na-gconf-monitor.c
3974         * nautilus-actions/io-provider-desktop/nadp-desktop-file.c
3975         * nautilus-actions/io-provider-desktop/nadp-desktop-provider.c
3976         * nautilus-actions/nact/base-application.c
3977         * nautilus-actions/nact/base-assistant.c
3978         * nautilus-actions/nact/base-builder.c
3979         * nautilus-actions/nact/base-dialog.c
3980         * nautilus-actions/nact/base-window.c
3981         * nautilus-actions/nact/nact-application.c
3982         * nautilus-actions/nact/nact-assistant-export-ask.c
3983         * nautilus-actions/nact/nact-assistant-export.c
3984         * nautilus-actions/nact/nact-assistant-import-ask.c
3985         * nautilus-actions/nact/nact-assistant-import.c
3986         * nautilus-actions/nact/nact-clipboard.c
3987         * nautilus-actions/nact/nact-confirm-logout.c
3988         * nautilus-actions/nact/nact-window.c
3989         * nautilus-actions/runtime/na-module.c
3990         (instance_init, instance_dispose):
3991         Review debug messages formatting.
3993         * nautilus-actions/api/na-iio-provider.c:
3994         * nautilus-actions/api/na-iio-provider.h
3995         (is_writable): Removed API.
3996         (is_able_to_write): New API.
3997         Review operations return codes.
3998         Add provider status.
4000         * nautilus-actions/io-provider-desktop/nadp-desktop-provider.c:
4001         * nautilus-actions/io-provider-desktop/nadp-desktop-provider.h:
4002         * nautilus-actions/io-provider-desktop/nadp-read.c:
4003         * nautilus-actions/io-provider-desktop/nadp-write.c:
4004         * nautilus-actions/io-provider-desktop/nadp-write.h:
4005         * nautilus-actions/io-provider-gconf/nagp-gconf-provider.c:
4006         * nautilus-actions/io-provider-gconf/nagp-write.c:
4007         * nautilus-actions/io-provider-gconf/nagp-write.h:
4008         Updated to new NAIIOProvider API.
4010         * nautilus-actions/nact/nact-iaction-tab.c:
4011         * nautilus-actions/nact/nact-iactions-list.c:
4012         * nautilus-actions/nact/nact-iactions-list.h:
4013         * nautilus-actions/nact/nact-iadvanced-tab.c:
4014         * nautilus-actions/nact/nact-ibackground-tab.c:
4015         * nautilus-actions/nact/nact-icommand-tab.c:
4016         * nautilus-actions/nact/nact-iconditions-tab.c:
4017         * nautilus-actions/nact/nact-main-menubar.c:
4018         * nautilus-actions/nact/nact-main-tab.h:
4019         * nautilus-actions/nact/nact-main-window.c:
4020         * nautilus-actions/nact/nact-providers-list.c:
4021         * nautilus-actions/nact/nact-tree-model-dnd.c:
4022         * nautilus-actions/nact/nact-tree-model.c:
4023         * nautilus-actions/nact/nact-window.c:
4024         * nautilus-actions/nact/nact-window.h:
4025         Take advantage of the new global item writability status.
4027         * nautilus-actions/nact/nact-main-statusbar.c:
4028         * nautilus-actions/nact/nact-main-statusbar.h
4029         (nact_main_statusbar_set_locked): Display the reason.
4031         * nautilus-actions/nact/nact-iactions-list-bis.c
4032         (nact_iactions_list_bis_list_modified_items):
4033         Dump the raw content of the list.
4035         * nautilus-actions/plugin/nautilus-actions.c (instance_init):
4036         * nautilus-actions/runtime/na-pivot.c:
4037         * nautilus-actions/runtime/na-pivot.h(na_pivot_new):
4038         * nautilus-actions/utils/nautilus-actions-new.c (write_to_gconf):
4039         * nautilus-actions/utils/nautilus-actions-run.c (get_action):
4040         New na_pivot_new() signature.
4042         * nautilus-actions/private/na-object-item-fn.h:
4043         * nautilus-actions/private/na-object-item-priv.h:
4044         * nautilus-actions/private/na-object-item.c:
4045         The NAObjectItem now embeds a NAIOProvider pointer.
4047         * nautilus-actions/runtime/na-io-provider.c:
4048         * nautilus-actions/runtime/na-io-provider.h:
4049         Load all available and defined I/O providers.
4051         * nautilus-actions/test/init-dispose-diff.sh: New file.
4053 2010-01-27 Pierre Wieser <pwieser@trychlos.org>
4055         * nautilus-actions/nact/nact-preferences.ui:
4056         Fix the name of the Down button.
4057         Invert buttons so that Up is at the top, and Down at the bottom.
4059         * nautilus-actions/nact/nact-providers-list.c:
4060         Activate up/down buttons.
4061         Save the I/O providers individual preferences.
4062         Load and save in order.
4064         * nautilus-actions/runtime/na-io-provider.c:
4065         Order the I/O providers in write priority.
4067 2010-01-26 Pierre Wieser <pwieser@trychlos.org>
4069         * nautilus-actions/io-provider-gconf/nagp-read.c
4070         (nagp_iio_provider_read_items): Remove path trace.
4072         * nautilus-actions/nact/nact-application.c
4073         (appli_initialize_application):
4074         * nautilus-actions/plugin/nautilus-actions.c (instance_init):
4075         * nautilus-actions/utils/nautilus-actions-new.c (write_to_gconf):
4076         * nautilus-actions/utils/nautilus-actions-run.c (get_action):
4077         Adapt to new na_pivot_new().
4079         * nautilus-actions/nact/nact-iaction-tab.c (display_provider_name):
4080         Adapt to the temporary new NAIOProvider API.
4082         * nautilus-actions/nact/nact-preferences-editor.c:
4083         Fix compilation error by adding nact-providers-list.h include file.
4085         * nautilus-actions/nact/nact-providers-list.c:
4086         Display list of providers with their initial state.
4088         * nautilus-actions/plugin/nautilus-module.c:
4089         * nautilus-actions/tracker/na-tracker-plugin.c:
4090         (nautilus_module_initialize):
4091         Prefix the log message with "[N-A]".
4093         * nautilus-actions/runtime/na-gconf-utils.c:
4094         * nautilus-actions/runtime/na-gconf-utils.h
4095         (na_gconf_utils_get_subdirs, na_gconf_utils_free_subdirs):
4096         New functions.
4098         * nautilus-actions/runtime/na-io-provider.c:
4099         * nautilus-actions/runtime/na-io-provider.h:
4100         Refactoring to keep a static list of capable I/O providers.
4102         * nautilus-actions/runtime/na-module.c
4103         (na_module_load_modules): Only displays the name of the loaded module.
4104         (is_a_na_plugin): Add a trace with the full path of the module.
4106         * nautilus-actions/runtime/na-pivot.c:
4107         * nautilus-actions/runtime/na-pivot.h:
4108         Define loadable_set and io_provider_set as construct-only properties.
4109         Remove unused action_changed_handler stuff.
4110         No more maintain the list of capable I/O providers.
4112 2010-01-25 Pierre Wieser <pwieser@trychlos.org>
4114         * nautilus-actions/runtime/na-pivot.c:
4115         * nautilus-actions/runtime/na-pivot.h: Source reorganization.
4117         * nautilus-actions/runtime/na-pivot.c:
4118         * nautilus-actions/runtime/na-pivot.h (na_pivot_get_automatic_reload):
4119         Remove unused function.
4121         * nautilus-actions/runtime/na-pivot.c:
4122         * nautilus-actions/runtime/na-pivot.h (na_pivot_set_population):
4123         Function is renamed to na_pivot_set_loadable_population().
4124         The enum is named NAPivotLoadable.
4126         * nautilus-actions/plugin/nautilus-actions.c (instance_init):
4127         * nautilus-actions/utils/nautilus-actions-run.c (get_action):
4128         Adjusted accordingly.
4130         * nautilus-actions/runtime/na-module.c: Source slight adjustment.
4132 2010-01-23 Pierre Wieser <pwieser@trychlos.org>
4134         * nautilus-actions/nact/nact-schemes-list.c: Cleanup the source file.
4136         * nautilus-actions/nact/nact-preferences.ui:
4137         Reset tooltips in all preference pages.
4139         * nautilus-actions/nact/nact-providers-list.c:
4140         * nautilus-actions/nact/nact-providers-list.h: New files.
4142         * nautilus-actions/nact/Makefile.am: Updated accordingly.
4144         * nautilus-actions/nact/nact-preferences-editor.c:
4145         Updated to handle a sixth tab.
4147 2010-01-23 Pierre Wieser <pwieser@trychlos.org>
4149         * configure.ac: Bump version number.
4151         * All source files: Updated copyright notice.
4153 2010-01-23 Pierre Wieser <pwieser@trychlos.org>
4155         * NEWS: Updated for release.
4157         * po/POTFILES.in:
4158         Add nautilus-actions/nact/nact-preferences.ui file.
4160         * configure.ac:
4161         Add a dependancy on dbus-lib-1 for tracker.
4163         * nautilus-actions/nact/base-window.c (search_for_child_widget):
4164         Use GtkBuildable interface instead of 'name' field (fix #607704).
4166 2010-01-20 Pierre Wieser <pwieser@trychlos.org>
4168         * data/nautilus-actions.schemas.in:
4169         Add a schema for 'na-desktop/locked' mandatory key.
4171         * .gitignore:
4172         Ignore eclipse-specific files.
4174         * data/nautilus-actions.schemas.in:
4175         Fix default value for level zero key.
4176         Describe the new 'schemes' preference key.
4178         * nautilus-actions/nact/nact-preferences.ui:
4179         * nautilus-actions/nact/nact-schemes-list.c:
4180         * nautilus-actions/nact/nact-schemes-list.h: New files.
4182         * nautilus-actions/nact/nact-iadvanced-tab.c:
4183         * nautilus-actions/nact/nact-preferences-editor.c:
4184         * nautilus-actions/nact/Makefile.am: Updated accordingly.
4186 2010-01-17 Pierre Wieser <pwieser@trychlos.org>
4188         * nautilus-actions/nact/nact-assistant-export.ui:
4189         * nautilus-actions/nact/nautilus-actions-config-tool.ui:
4190         Forces default orientation of vboxes (fix #607218).
4192         * nautilus-actions/nact/nact-main-toolbar.c:
4193         * nautilus-actions/nact/nact-main-toolbar.h: New files.
4195         * nautilus-actions/nact/Makefile.am:
4196         * nautilus-actions/nact/nact-main-menubar.c: Updated accordingly.
4198 2010-01-16 Pierre Wieser <pwieser@trychlos.org>
4200         * nautilus-actions/nact/nact-clipboard.c:
4201         Fix primary clipboard management.
4203         * nautilus-actions/nact/nact-main-menubar.c     (on_update_sensitivities):
4204         Fix cut/copy/duplicate/delete sensitivity when selection is     multiple.
4206 2010-01-15 Pierre Wieser <pwieser@trychlos.org>
4208         * nautilus-actions/nact/nact-iactions-list-bis.c:
4209         * nautilus-actions/nact/nact-iactions-list.h
4210         (nact_iactions_list_bis_clear_selection): New function.
4212         * nautilus-actions/nact/nact-iactions-list.c (nact_iactions_list_fill):
4213         Clear the selection before filling the tree view.
4215         * nautilus-actions/nact/nact-main-menubar.c (on_update_sensitivities):
4216         Force the count of selected items to be consistant with the list.
4218         * nautilus-actions/nact/nact-tree-model-dnd.c (drop_inside):
4219         Dropped new item is set as new.
4221         * nautilus-actions/nact/nact-iactions-list.c (filter_selection):
4222         Review selection criteria, introducing implicit selection.
4224         * nautilus-actions/nact/nact-main-menubar.c (on_update_sensitivities):
4225         Review menu items sensitivity, especially when provider is not writable.
4226         Enable new item even when selection is multiple.
4228         * nautilus-actions/nact/nact-window.c:
4229         * nautilus-actions/nact/nact-window.h (nact_window_is_writable_item):
4230         New function.
4232 2010-01-05 Pierre Wieser <pwieser@trychlos.org>
4234         * configure.ac: Bump version number.
4236 2010-01-05 Pierre Wieser <pwieser@trychlos.org>
4238         * configure.ac: Add -Wformat=2 compilation option.
4240         * nautilus-actions/nact/nact-gtk-utils.c (nact_gtk_utils_set_editable):
4241         * nautilus-actions/nact/nact-iactions-list.c
4242         (nact_iactions_list_runtime_init_toplevel):
4243         * nautilus-actions/nact/nact-iadvanced-tab.c
4244         (runtime_init_connect_signals):
4245         * nautilus-actions/nact/nact-ibackground-tab.c
4246         (nact_ibackground_tab_runtime_init_toplevel):
4247         Substitute gtk_cell_layout_get_cells to obsoleted
4248         gtk_tree_view_column_get_cell_renderers.
4250         * nautilus-actions/runtime/na-xml-writer.c (na_xml_writer_output_xml):
4251         Use correct printf format.