Only GConf writing operations are marked deprecated
[nautilus-actions.git] / ChangeLog
blobae8a4bb75a91d18748a985276bafa591b4664ccc
1 2011-02-14 Pierre Wieser <pwieser@trychlos.org>
3         Only GConf writing operations are marked deprecated
5         * src/api/na-gconf-monitor.h:
6         * src/api/na-gconf-utils.h:
7         * src/core/na-gconf-monitor.c:
8         * src/core/na-gconf-utils.c:
9         * src/io-gconf/nagp-writer.c:
10         * src/io-gconf/nagp-writer.h: Updated accordingly.
12         No more use deprecated functions
14         * src/core/na-factory-object.c:
15         * src/io-desktop/nadp-reader.c:
16         * src/io-desktop/nadp-writer.c:
17         * src/io-gconf/nagp-reader.c:
18         * src/io-gconf/nagp-writer.c:
19         * src/io-xml/naxml-reader.c:
20         * src/io-xml/naxml-writer.c: Updated accordingly.
22         NADataBoxed class now derives from NABoxed
24         * src/api/na-boxed.h:
25         * src/api/na-data-boxed.h:
26         * src/api/na-data-types.h:
27         * src/core/na-boxed.c:
28         * src/core/na-core-utils.c:
29         * src/core/na-data-boxed.c:
30         * src/core/na-data-types.c:
31         * src/core/na-factory-object.c:
32         * src/core/na-ifactory-object.c:
33         * src/core/na-settings.c:
34         * src/io-desktop/nadp-writer.c:
35         * src/io-gconf/nagp-writer.c:
36         * src/io-xml/naxml-writer.c: Updated accordingly.
38         * src/api/na-boxed.h:
39         * src/core/na-boxed.c: Convert to the NABoxed class.
41         * src/core/na-settings.c: Updated accordingly.
43         * src/api/na-data-boxed.h:
44         * src/core/na-data-boxed.c: NADataBoxed class is no more deprecated.
46         Merge NABoxed and NADataBoxed data type definitions.
47         Data type are remaned as NA_DATA_TYPE.
49         * src/api/na-boxed.h:
50         * src/api/na-data-def.h:
51         * src/api/na-data-types.h:
52         * src/core/na-boxed.c:
53         * src/core/na-data-boxed.c:
54         * src/core/na-data-types.c:
55         * src/core/na-factory-object.c:
56         * src/core/na-icontext-factory.c:
57         * src/core/na-ifactory-object.c:
58         * src/core/na-object-action-factory.c:
59         * src/core/na-object-id-factory.c:
60         * src/core/na-object-item-factory.c:
61         * src/core/na-object-profile-factory.c:
62         * src/core/na-settings.c:
63         * src/io-desktop/nadp-reader.c:
64         * src/io-desktop/nadp-writer.c:
65         * src/io-gconf/nagp-reader.c:
66         * src/io-gconf/nagp-writer.c:
67         * src/io-xml/naxml-reader.c:
68         * src/io-xml/naxml-writer.c:
69         * src/utils/na-print-schemas.c: Updated accordingly.
71 2011-02-07 Pierre Wieser <pwieser@trychlos.org>
73         * src/api/na-iduplicable.h:
74         * src/core/na-iduplicable.c:
75         Deprecate NA_IDUPLICABLE_SIGNAL_STATUS_CHANGED signal.
76         Define new IDUPLICABLE_SIGNAL_MODIFIED_CHANGED and IDUPLICABLE_SIGNAL_VALID_CHANGED.
78         * src/api/na-object-api.h:
79         * src/core/na-object.c:
80         * src/core/na-object-item.c:
81         * src/core/na-object-item.h:
82         Deprecated na_object_check_status_up macro.
83         Merge na_object_item_check_status() and na_object_item_check_status_up().
85         * src/nact/nact-iaction-tab.c:
86         * src/nact/nact-ibasenames-tab.c:
87         * src/nact/nact-icapabilities-tab.c:
88         * src/nact/nact-icommand-tab.c:
89         * src/nact/nact-ienvironment-tab.c:
90         * src/nact/nact-iexecution-tab.c:
91         * src/nact/nact-ifolders-tab.c:
92         * src/nact/nact-iproperties-tab.c:
93         * src/nact/nact-ischemes-tab.c:
94         * src/nact/nact-main-window.c:
95         * src/nact/nact-main-window.h:
96         * src/nact/nact-match-list.c: Properties are renamed.
98         * src/nact/nact-main-tab.c:
99         * src/nact/nact-main-tab.h (nact_main_tab_get_context): Removed function.
101 2011-02-03 Pierre Wieser <pwieser@trychlos.org>
103         In the process of replacing NactIActionsList interface with:
104         - the NactTreeView class
105         - plus the NactTreeIEditable interface.
107         Almost all NACT files modified. Compilation is OK.
109 2011-02-02 Pierre Wieser <pwieser@trychlos.org>
111         * src/nact/nact-tree-model.c:
112         * src/nact/nact-tree-model.h (nact_tree_model_get_items):
113         * src/nact/nact-tree-view.c:
114         * src/nact/nact-tree-view.h (nact_tree_view_get_items): New functions.
116         Allow an items list to be referenced in a new list.
118         * src/api/na-object-api.h (na_object_ref_items): New macro.
120         * src/api/na-object-item.h:
121         * src/core/na-object-item.c (na_object_item_ref_items): New function.
123         * src/nact/nact-assistant-export.c
124         (instance_dispose, on_tree_view_selection_changed): Updated accordingly.
126         Review NAObject reference management
128         * src/api/na-object-api.h
129         (na_object_unref_items, na_object_unref_items_rec): Removed macros.
130         (na_object_free_items): New macro.
132         * src/api/na-object-item.h:
133         * src/core/na-object-item.c
134         (na_object_item_unref_items, na_object_item_unref_items_rec): Removed functions.
135         (na_object_item_free_items): New function.
137         * src/core/na-io-provider.c (na_io_provider_load_items):
138         * src/core/na-object.c (na_object_object_ref, na_object_object_unref):
139         * src/core/na-pivot.c (instance_dispose, na_pivot_load_items,
140         na_pivot_set_new_items):
141         * src/nact/nact-assistant-import.c (assistant_apply):
142         * src/nact/nact-iactions-list-bis.c (nact_iactions_list_bis_get_items):
143         * src/nact/nact-iactions-list.c (free_items_callback):
144         * src/nact/nact-main-menubar-edit.c (nact_main_menubar_edit_on_cut,
145         nact_main_menubar_edit_on_copy, nact_main_menubar_edit_on_paste,
146         nact_main_menubar_edit_on_paste_into,
147         nact_main_menubar_edit_on_duplicate, nact_main_menubar_edit_on_delete):
148         * src/nact/nact-main-menubar-file.c
149         (nact_main_menubar_file_on_new_menu,
150         nact_main_menubar_file_on_new_action,
151         nact_main_menubar_file_on_new_profile):
152         * src/nact/nact-main-menubar-maintainer.c
153         (nact_main_menubar_maintainer_on_dump_selection):
154         * src/nact/nact-main-menubar.c (on_update_sensitivities):
155         * src/nact/nact-main-window.c (instance_dispose,
156         nact_main_window_remove_deleted, reload):
157         * src/nact/nact-tree-model-dnd.c (drop_uri_list):
158         * src/nact/nact-tree-model.c (fill_tree_store):
159         * src/nact/nact-tree-view.c (on_selection_changed_cleanup_handler):
160         * src/plugin-menu/nautilus-actions.c (get_menus_items): Updated
161         accordingl
162         * src/nact/nact-main-menubar-maintainer.c
163         (nact_main_menubar_maintainer_on_dump_selection):
164         * src/nact/nact-main-menubar.c (on_update_sensitivities):
165         * src/nact/nact-main-window.c (instance_dispose,
166         nact_main_window_remove_deleted, reload):
167         * src/nact/nact-tree-model-dnd.c (drop_uri_list):
168         * src/nact/nact-tree-model.c (fill_tree_store):
169         * src/nact/nact-tree-view.c (on_selection_changed_cleanup_handler):
170         * src/plugin-menu/nautilus-actions.c (get_menus_items):
171         Updated accordingly.
173         New NactTreeView convenience class
175         * src/nact/nact-tree-view.c:
176         * src/nact/nact-tree-view.h: New files.
178         * src/nact/Makefile.am:
179         * src/nact/nact-assistant-export.c:
180         * src/nact/nact-iactions-list-priv.c:
181         * src/nact/nact-iactions-list.h:
182         * src/nact/nact-marshal.list:
183         * src/nact/nact-tree-model.c: Updated accordingly.
185 2011-02-02 Pierre Wieser <pwieser@trychlos.org>
187         Refactoring of menubar files:
188         - nact-main-menubar-*.c are renamed as nact-menubar-*.c.
189         - nact-main-menubar-*.h are removed.
191         * src/nact/Makefile.am:
192         * src/nact/nact-confirm-logout.c:
193         * src/nact/nact-iactions-list.c: Updated accordingly.
195         * src/nact/nact-main-window.c:
196         * src/nact/nact-main-window.h: Remove MAIN_WINDOW_SIGNAL_UPDATE_ACTION_SENSITIVITIES
197         which is replaced by NactMenubar internal MENUBAR_SIGNAL_UPDATE_SENSITIVITIES one.
199         Termination of the main window is managed in NactMainWindow.
201         * src/nact/nact-main-window.c:
202         * src/nact/nact-main-window.h (nact_main_window_quit): New function.
204         * src/nact/nact-main-menubar-file.c: Updated accordingly.
206         Move a NASettings getter to NAUpdater
208         * src/core/na-updater.c:
209         * src/core/na-updater.h (na_updater_should_pasted_be_relabeled): New function.
211         * src/nact/nact-main-menubar-edit.c:
212         * src/nact/nact-main-menubar-edit.h
213         (nact_main_menubar_edit_is_pasted_object_relabeled): Removed function.
215         * src/nact/nact-tree-model-dnd.c (drop_inside): Updated accordingly.
217         * src/nact/base-application.c (class_init):
218         * src/nact/base-assistant.c (class_init):
219         * src/nact/base-window.c (class_init):
220         * src/nact/nact-main-window.c (instance_constructed):
221         Setup construction properties.
223         * src/nact/nact-application.c:
224         * src/nact/nact-application.h (nact_application_get_updater):
225         Set NactApplication as a const argument.
227         Deprecate NAIPivotConsumer interface
229         * src/core/na-ipivot-consumer.c:
230         * src/core/na-ipivot-consumer.h: Removed files.
232         * src/core/Makefile.am:
233         * src/core/na-pivot.c:
234         * src/core/na-pivot.h:
235         * src/nact/nact-application.c:
236         * src/nact/nact-main-menubar-file.c:
237         * src/nact/nact-main-window.c:
238         * src/nact/nact-menubar.c: Updated accordingly.
240         * src/core/na-pivot.c:
241         * src/core/na-pivot.h
242         (na_pivot_set_automatic_reload): Remove unused function.
244         * src/test/test-reader.c: Updated accordingly.
246         * src/nact/nact-main-window.c (instance_constructed):
247         Connect to PIVOT_SIGNAL_ITEMS_CHANGED signal.
249         Rename nact-gtk-utils to base-gtk-utils and merge base-iprefs into it
251         * src/nact/base-iprefs.c:
252         * src/nact/base-iprefs.c: Removed files.
254         * src/nact/Makefile.am:
255         * src/nact/base-gtk-utils.c:
256         * src/nact/base-gtk-utils.h:
257         * src/nact/base-window.c:
258         * src/nact/nact-assistant-export.c:
259         * src/nact/nact-export-ask.c:
260         * src/nact/nact-export-format.c:
261         * src/nact/nact-iaction-tab.c:
262         * src/nact/nact-ibasenames-tab.c:
263         * src/nact/nact-icommand-tab.c:
264         * src/nact/nact-icon-chooser.c:
265         * src/nact/nact-ienvironment-tab.c:
266         * src/nact/nact-iexecution-tab.c:
267         * src/nact/nact-ifolders-tab.c:
268         * src/nact/nact-iproperties-tab.c:
269         * src/nact/nact-ischemes-tab.c:
270         * src/nact/nact-main-statusbar.c:
271         * src/nact/nact-main-window.c:
272         * src/nact/nact-match-list.c:
273         * src/nact/nact-preferences-editor.c:
274         * src/nact/nact-providers-list.c:
275         * src/nact/nact-schemes-list.c:
276         * src/nact/nact-tree-model.c: Updated accordingly.
278         Convert the get_wp_id() BaseIPrefsInterface method to "base-window-wsp-name"
279         BaseWindow property
281         * src/core/na-settings.c:
282         * src/core/na-settings.h: New NA_IPREFS_CONFIRM_LOGOUT_WSP user preference.
284         * src/nact/base-iprefs.c:
285         * src/nact/base-iprefs.h
286         (base_iprefs_position_named_window, base_iprefs_save_named_window_position):
287         Removed functions.
288         (get_wsp_id): Remove interface method.
290         * src/nact/base-window.c:
291         * src/nact/base-window.h: New BASE_PROP_WSP_NAME BaseWindow property.
293         * src/nact/nact-add-capability-dialog.c:
294         * src/nact/nact-add-scheme-dialog.c:
295         * src/nact/nact-assistant-export.c:
296         * src/nact/nact-assistant-import.c:
297         * src/nact/nact-confirm-logout.c:
298         * src/nact/nact-export-ask.c:
299         * src/nact/nact-gtk-utils.c:
300         * src/nact/nact-icommand-tab.c:
301         * src/nact/nact-icon-chooser.c:
302         * src/nact/nact-ifolders-tab.c:
303         * src/nact/nact-main-window.c:
304         * src/nact/nact-preferences-editor.c: Updated accordingly.
306         * src/core/na-updater.c:
307         * src/core/na-updater.h (na_updater_are_preferences_locked): New function.
309         Homogeneize marshalling
311         * src/core/na-marshal: Renamed as src/core/na-marshal.def
312         * src/nact/nact-marshal.list: Renamed as src/nact/nact-marshal.def
314         * src/core/Makefile.am:
315         * src/nact/Makefile.am:
316         * src/nact/nact-iactions-list.c (interface_base_init):
317         * src/nact/nact-main-window.c (class_init): Updated accordingly.
319 2011-02-01 Pierre Wieser <pwieser@trychlos.org>
321         Review menu items sensitivity updates
323         * src/api/na-object-api.h
324         (na_object_is_finally_writable, na_object_set_writability_status): New macros.
326         * src/api/na-object-item.h:
327         * src/core/na-object-item.c
328         (na_object_item_is_finally_writable, na_object_item_set_writability_status):
329         New functions.
331         * src/core/na-updater.c:
332         * src/core/na-updater.h (na_updater_load_items): New function.
334         * src/nact/nact-application.c (appli_main_window_new):
335         * /src/nact/nact-main-window.c (on_base_initialize_base_window):
336         No more load items when instanciating the main window, but when
337         initializing it.
339         * src/nact/nact-iactions-list.c (nact_iactions_list_all_widgets_showed):
340         Send the IACTIONS_LIST_SIGNAL_LIST_COUNT_UPDATED message to update the menubar.
342         * src/nact/nact-main-menubar-edit.c (nact_main_menubar_edit_on_update_sensitivities):
343         * src/nact/nact-main-menubar-file.c (nact_main_menubar_file_on_update_sensitivities):
344         * src/nact/nact-menubar-priv.h:
345         * src/nact/nact-menubar.c (on_iactions_list_selection_changed):
346         Rely on indicators pre-computed on selection changes.
348         * src/nact/nact-window.c:
349         * src/nact/nact-window.h (nact_window_has_writable_providers):
350         Removed function.
352         * src/nact/nact-menubar-priv.h:
353         * src/nact/nact-menubar.c: Updated accordingly.
355         * src/core/na-iprefs.c:
356         * src/core/na-iprefs.h (na_iprefs_is_level_zero_writable):
357         Moved to NAUpdater class.
359         * src/core/na-updater.c:
360         * src/core/na-updater.h (na_updater_is_level_zero_writable):
361         Moved from NAIPrefs.
363         * src/nact/nact-menubar-priv.h:
364         * src/nact/nact-menubar.c (on_base_initialize_window):
365         * src/nact/nact-sort-buttons.c (enable_buttons):
366         * src/nact/nact-tree-model-dnd.c (is_parent_accept_new_childs):
367         Updated accordingly.
369         Review I/O providers writability status management.
371         * src/api/na-iio-provider.h: Review writability reason.
373         * src/core/na-io-provider.c:
374         * src/core/na-io-provider.h
375         (na_io_provider_is_able_to_write, na_io_provider_is_willing_to_write):
376         Removed functions.
377         (na_io_provider_is_finally_writable): New function.
379         * src/core/na-pivot.c:
380         * src/core/na-pivot.h
381         (na_pivot_is_configuration_locked_by_admin): Removed function.
383         * src/core/na-updater.c
384         * src/core/na-updater.h (na_updater_is_item_writable):
385         * src/nact/nact-main-menubar-edit.c (get_deletables):
386         * src/nact/nact-main-window.c: Updated accordingly.
388 2011-01-31 Pierre Wieser <pwieser@trychlos.org>
390         * src/nact/nact-menubar.c (nact_main_menubar_enable_item):
391         Renamed as nact_menubar_enable_item() and moved to private resources.
393         * src/nact/nact-main-menubar-edit.c:
394         * src/nact/nact-main-menubar-file.c:
395         * src/nact/nact-main-menubar-help.c:
396         * src/nact/nact-main-menubar-tools.c:
397         * src/nact/nact-main-menubar-view.c:
398         * src/nact/nact-menubar-priv.h:
399         * src/nact/nact-menubar.h: Updated accordingly.
401         Move MenubarIndicatorsStruct structure to private instance data
403         * src/nact/nact-menubar-priv.h: New file.
405         * src/nact/Makefile.am:
406         * src/nact/nact-main-menubar-edit.c:
407         * src/nact/nact-main-menubar-edit.h:
408         * src/nact/nact-main-menubar-file.c:
409         * src/nact/nact-main-menubar-file.h:
410         * src/nact/nact-main-menubar-help.c:
411         * src/nact/nact-main-menubar-help.h:
412         * src/nact/nact-main-menubar-maintainer.c:
413         * src/nact/nact-main-menubar-maintainer.h:
414         * src/nact/nact-main-menubar-tools.c:
415         * src/nact/nact-main-menubar-tools.h:
416         * src/nact/nact-main-menubar-view.c:
417         * src/nact/nact-main-menubar-view.h:
418         * src/nact/nact-menubar.c:
419         * src/nact/nact-menubar.h: Updated accordingly.
421         Define a new NactMenubar convenience class
423         * src/nact/nact-main-menubar.c:
424         * src/nact/nact-main-menubar.h: Renamed as nact-menubar.{c,h}.
426         * src/nact/Makefile.am:
427         * src/nact/nact-iactions-list.c:
428         * src/nact/nact-main-menubar-edit.h:
429         * src/nact/nact-main-menubar-file.h:
430         * src/nact/nact-main-menubar-help.c:
431         * src/nact/nact-main-menubar-help.h:
432         * src/nact/nact-main-menubar-maintainer.c:
433         * src/nact/nact-main-menubar-maintainer.h:
434         * src/nact/nact-main-menubar-tools.c:
435         * src/nact/nact-main-menubar-tools.h:
436         * src/nact/nact-main-menubar-view.c:
437         * src/nact/nact-main-menubar-view.h:
438         * src/nact/nact-main-window.c: Updated accordingly.
440         * src/api/na-boxed.h:
441         * src/core/na-boxed.c (na_boxed_dump): New function.
443         * src/core/na-settings.c (on_keyfile_changed_timeout): Fix segfault.
445         * src/nact/nact-preferences-editor.c (on_dialog_ok): Spare a function.
447         * src/core/na-marshal: New file.
449 2011-01-28 Pierre Wieser <pwieser@trychlos.org>
451         * src/core/Makefile.am: Generate na_cclosure_masharl functions.
453         * src/core/na-settings.c:
454         * src/core/na-settings.h: No more try to summarize notifications here.
456         * src/plugin-menu/nautilus-actions.c (instance_constructed):
457         Register NASettings callbacks on the runtime keys.
459         * src/nact/nact-main-window.c:
460         (NAIPivotConsumer->on_display_order_changed):
461         Moved to on_settings_order_mode_changed() function.
462         (NAIPivotConsumer->on_autosave_changed):
463         Moved to nact_main_menubar_file_install_autosave() new function.
465         * src/nact/nact-main-menubar-file.c:
466         * src/nact/nact-main-menubar-file.h
467         (nact_main_menubar_file_install_autosave): New function.
469         * src/core/na-iprefs.c:
470         * src/core/na-iprefs.h (na_iprefs_get_order_mode_by_label):
471         New function.
473         * src/core/na-icontext.c (is_candidate_for_basenames):
474         Fix case insenstive comparison (bug reported by Johan Spee).
476         Whole refactoring of BaseWindow / BaseAssistant / BaseDialog
478         * src/nact/base-application.c:
479         * src/nact/base-application.h: Add new exit codes.
481         * src/nact/base-assistant.c:
482         * src/nact/base-assistant.h:
483         Remove 'warn-on-cancel' unused property.
484         (base_assistant_set_cancel_on_esc, base_assistant_set_warn_on_esc):
485         Remove unused functions.
486         Implement run() virtual method.
488         * src/nact/base-dialog.c:
489         * src/nact/base-dialog.h:
490         Implement run() virtual method.
491         Define new cancel() and ok() virtual methods.
493         * src/nact/base-iprefs.c:
494         * src/nact/base-iprefs.h (iprefs_get_window_id): Renamed as get_wsp_id().
496         * src/nact/base-window.c:
497         * src/nact/base-window.h
498         (dialog_response, delete_event): Remove no more used virtual methods.
499         (run): Define new virtual method.
501         * src/nact/nact-add-capability-dialog.c:
502         * src/nact/nact-add-scheme-dialog.c:
503         * src/nact/nact-assistant-export.c:
504         * src/nact/nact-assistant-import.c:
505         * src/nact/nact-confirm-logout.c:
506         * src/nact/nact-export-ask.c:
507         * src/nact/nact-icon-chooser.c:
508         * src/nact/nact-main-window.c:
509         * src/nact/nact-preferences-editor.c: Updated accordingly.
511 2011-01-26 Pierre Wieser <pwieser@trychlos.org>
513         * src/nact/nact-providers-list.c:
514         * src/nact/nact-providers-list.h (nact_providers_list_create_model):
515         Do not initialize the widgets with the future BaseWindow.
517         * src/nact/nact-preferences-editor.c (preferences_editor_new):
518         Updated accordingly.
520         * src/nact/nact-schemes-list.c: Only ask for preferences once.
522         * src/nact/nact-assistant-import.c (assist_new):
523         Reload the common XML UI file into the private builder.
525         * src/nact/base-dialog.c:
526         * src/nact/base-dialog.h:
527         * src/nact/base-window.h: Do some code and comments cleanup.
529         * src/nact/base-builder.c (base_builder_get_toplevel_by_name):
530         * src/nact/base-iprefs.c (base_iprefs_position_named_window):
531         * src/nact/base-window.c (setup_builder):
532         Add a debug message.
534 2011-01-24 Pierre Wieser <pwieser@trychlos.org>
536         * src/plugin-menu/nautilus-actions.c:
537         * src/plugin-menu/nautilus-actions.h:
538         Takes advantage of the new NASettings signal notification system.
540         * src/core/na-pivot.c:
541         * src/core/na-pivot.h: Review the notification system.
543         * src/core/na-settings.c:
544         * src/core/na-settings.h:
545         Add a signal notification to the existing callback pregistration system.
547         * data/gconf-schemas/nautilus-actions-prefs.schemas.in:
548         * docs/des-ema/des-ema-0.15:
549         * docs/nact/C/nact-conditions.xml:
550         * docs/nact/C/nact-menus.xml:
551         * src/api/na-extension.h:
552         * src/api/na-ifactory-provider.h:
553         * src/api/na-iio-provider.h:
554         * src/api/na-object.h:
555         * src/core/na-core-utils.c:
556         * src/core/na-factory-object.c:
557         * src/core/na-gconf-utils.c:
558         * src/core/na-icontext-factory.c:
559         * src/core/na-icontext.c:
560         * src/core/na-ifactory-provider.c:
561         * src/core/na-io-provider.c:
562         * src/core/na-io-provider.h:
563         * src/core/na-iprefs.c:
564         * src/core/na-object-action.c:
565         * src/core/na-object-id-factory.c:
566         * src/core/na-object-id.c:
567         * src/core/na-object-item-factory.c:
568         * src/core/na-object-item.c:
569         * src/core/na-pivot.h:
570         * src/core/na-settings.c:
571         * src/core/na-settings.h:
572         * src/core/na-tokens.h:
573         * src/io-desktop/nadp-desktop-file.c:
574         * src/io-desktop/nadp-reader.c:
575         * src/io-desktop/nadp-utils.c:
576         * src/io-gconf/nagp-reader.c:
577         * src/io-xml/naxml-reader.c:
578         * src/nact/nact-gtk-utils.c:
579         * src/nact/nautilus-actions-config-tool.ui:
580         * src/plugin-menu/nautilus-actions.c:
581         * src/utils/nautilus-actions-new.c:
582         * src/utils/nautilus-actions-run.c:
583         * tools/check-headers.sh:
584         * tools/init-finalize-diff.sh:
585         Apply patch provided by Christian Kirbach. Fix #640216.
587         * src/nact/nautilus-actions-config-tool.ui:
588         * src/utils/na-delete-xmltree.c:
589         * src/utils/nautilus-actions-print.c:
590         Fix string errors reported by fr translation team.
592         * src/api/na-timeout.h:
593         * src/core/na-timeout.c: New files.
595         * src/api/Makefile.am:
596         * src/core/Makefile.am: Updated accordingly.
598         * src/core/na-pivot.c (on_item_changed_timeout):
599         * src/core/na-settings.c (on_keyfile_changed_timeout):
600         * src/io-desktop/nadp-desktop-provider.c (on_monitor_timeout):
601         * src/plugin-menu/nautilus-actions.c (on_change_event_timeout):
602         Take advantage of new NATimeout convenience structure.
604         * src/api/na-iio-provider.h:
605         * src/core/na-io-provider.c:
606         * src/core/na-io-provider.h: Fix comments.
608         * src/core/na-iio-provider.c (interface_base_init):
609         The 'item-changed' signal actually does not send any argument.
611         * src/core/na-pivot.c:
612         * src/core/na-pivot.h (na_pivot_on_item_changed_handler):
613         Updated accordingly.
615 2011-01-22 Pierre Wieser <pwieser@trychlos.org>
617         * src/nact/base-window.c: Handles the recorded signals in a GList.
619         * src/nact/base-window.h (is_willing_to_quit): Fix the comment.
621         * src/nact/nact-main-window.c
622         (base_is_willing_to_quit, on_base_initialize_gtk_toplevel):
623         Calls the parent class method if willing to quit.
625         * src/nact/nact-window.c:
626         * src/nact/nact-window.h
627         (nact_window_is_item_writable): Remove unused function.
629         * src/nact/base-window.c:
630         * src/nact/base-window.h
631         (runtime_init_toplevel): Renamed as initialize_base_window().
632         (class_init): Fix cclosure_marshall for signals without argument.
634         * src/nact/base-window.c:
635         * src/nact/base-window.h
636         (get_toplevel_name, get_ui_filename): Removed virtual functions.
638         * src/nact/nact-add-capability-dialog.c:
639         * src/nact/nact-add-scheme-dialog.c:
640         * src/nact/nact-assistant-export.c:
641         * src/nact/nact-assistant-import.c:
642         * src/nact/nact-confirm-logout.c:
643         * src/nact/nact-export-ask.c:
644         * src/nact/nact-icon-chooser.c:
645         * src/nact/nact-main-window.c:
646         * src/nact/nact-preferences-editor.c: Updated accordingly.
648         * src/nact/base-window.c:
649         * src/nact/base-window.h:
650         Revert commits dfb26ec5, 1991b3b7 and 4d0c43bb due to new virtual method
651         handling paradigm.
652         Pass the GtkWindow toplevel as a parameter of 'base-window-initialize-gtk'
653         signal.
654         initial_load_toplevel() virtual method is renamed as initialize_gtk_toplevel().
656         * src/nact/nact-main-window.c:
657         No more connect to the signal, but implement the virtual method.
659         * src/nact/base-application.c (appli_initialize_manage_options):
660         * src/nact/base-application.h (manage_options):
661         * src/nact/nact-application.c (appli_manage_options):
662         Revert commit 3acf600874.
664         * src/test/test-virtuals.c: Do some more tests on virtual methods.
666         * src/nact/base-window.c (on_initialize_gtk_toplevel_class_handler,
667         on_initialize_base_window_class_handler,
668         on_all_widgets_showed_class_handler, base_window_is_willing_to_quit):
669         Succssively invoke all derived class methods.
671         * src/nact/base-window.h (initial_load_toplevel, runtime_init_toplevel,
672         all_widgets_showed, is_willing_to_quit): Update comments.
674         * src/nact/base-application.c (appli_initialize_manage_options):
675         Successively invoke all derived class methods.
677         * src/nact/base-application.h (manage_options): Update comment.
679         * src/nact/nact-application.c (appli_manage_options): Updated accordingly.
681         * src/nact/base-builder.c:
682         * src/nact/base-builder.h (base_builder_get_toplevel_by_name):
683         Use a const BaseBuilder as argument;
685         * src/nact/base-window.c:
686         * src/nact/base-window.h (base_window_get_widget_from_gtk):
687         Removed function.
689         * src/nact/nact-gtk-utils.c:
690         * src/nact/nact-gtk-utils.h (nact_gtk_utils_get_widget_by_name):
691         New function.
693         * src/nact/nact-icon-chooser.c (on_destroy): Updated accordingly.
695         * src/nact/base-application.c (appli_initialize_unique_app):
696         Fix reverse test.
698         * src/nact/base-builder.c:
699         * src/nact/base-builder.h (base_builder_load_named_toplevel):
700         Renamed as base_builder_get_toplevel_by_name().
702         * src/nact/base-window.c: Updated accordingly.
704 2011-01-21 Pierre Wieser <pwieser@trychlos.org>
706         * src/nact/base-window.c:
707         * src/nact/base-window.h (base_window_peek_widget):
708         Renamed as base_window_get_widget_from_gtk().
710         * src/nact/nact-icon-chooser.c: Updated accordingly.
712         * src/nact/base-window.c:
713         * src/nact/base-window.h (base_window_get_named_toplevel):
714         Renamed as base_window_get_gtk_toplevel_by_name().
716         * src/nact/nact-icommand-tab.c: Updated accordingly.
718         * src/nact/base-window.c:
719         * src/nact/base-window.h (base_window_get_toplevel):
720         Renamed as base_window_get_gtk_toplevel().
722         * src/nact/base-application.c:
723         * src/nact/base-assistant.c:
724         * src/nact/base-iprefs.c:
725         * src/nact/nact-add-capability-dialog.c:
726         * src/nact/nact-add-scheme-dialog.c:
727         * src/nact/nact-assistant-export.c:
728         * src/nact/nact-assistant-import.c:
729         * src/nact/nact-confirm-logout.c:
730         * src/nact/nact-export-ask.c:
731         * src/nact/nact-gtk-utils.c:
732         * src/nact/nact-icommand-tab.c:
733         * src/nact/nact-icon-chooser.c:
734         * src/nact/nact-ifolders-tab.c:
735         * src/nact/nact-main-menubar.c:
736         * src/nact/nact-main-window.c:
737         * src/nact/nact-match-list.c:
738         * src/nact/nact-preferences-editor.c:
739         * src/nact/nact-tree-model-dnd.c: Updated accordingly.
741         * src/nact/base-window.c:
742         * src/nact/base-window.h: Rename signal defines.
744         * src/nact/base-assistant.c:
745         * src/nact/nact-add-capability-dialog.c:
746         * src/nact/nact-add-scheme-dialog.c:
747         * src/nact/nact-assistant-export.c:
748         * src/nact/nact-assistant-import.c:
749         * src/nact/nact-confirm-logout.c:
750         * src/nact/nact-export-ask.c:
751         * src/nact/nact-icon-chooser.c:
752         * src/nact/nact-main-window.c:
753         * src/nact/nact-preferences-editor.c: Updated accordingly.
755         * src/nact/base-window.c:
756         * src/nact/base-window.h:
757         Remove unused properties.
758         (base_window_error_dlg, base_window_yesno_dlg): Removed functions.
760         * src/nact/base-assistant.c:
761         * src/nact/nact-main-menubar-edit.c:
762         * src/nact/nact-main-menubar-file.c:
763         * src/nact/nact-main-window.c
764         * src/nact/nact-window.c: Updated accordingly.
766         * src/nact/base-window-class.h: Removed file.
768         * src/nact/base-window.h:
769         * src/nact/Makefile.am: Updated accordingly.
771         * src/utils/na-gconf2key.sh.in:
772         Get ride of possible error messages when forcing gconfd-2 synchro.
774         * src/nact/base-application.c:
775         * src/nact/base-application.h (base_application_message_dlg,
776         base_application_error_dlg, base_application_yesno_dlg):
777         Functions are moved to BaseWindow class.
779         * src/nact/base-window.c:
780         * src/nact/base-window.h
781         (base_window_display_yesno_dlg, base_window_display_message_dlg):
782         New functions.
784         * src/nact/base-application.c:
785         * src/nact/base-application.h
786         (base_application_get_ui_filename): Removed function.
787         (get_ui_filename): Removed virtual method.
789         * src/nact/nact-application.c
790         (appli_get_gtkbuilder_filename):Removed function.
792         * src/nact/base-window.c (base_window_init): Rewrite BaseWindow initialization.
794         * src/nact/nact-main-window.c (nact_main_window_new):
795         Initialize the main window with XML UI properties.
797         * src/nact/base-window.c:
798         * src/nact/base-window.h: Rename initialization properties.
800         * src/nact/nact-add-capability-dialog.c:
801         * src/nact/nact-add-scheme-dialog.c:
802         * src/nact/nact-assistant-export.c:
803         * src/nact/nact-assistant-import.c:
804         * src/nact/nact-confirm-logout.c:
805         * src/nact/nact-export-ask.c:
806         * src/nact/nact-icon-chooser.c:
807         * src/nact/nact-main-window.c:
808         * src/nact/nact-preferences-editor.c: Updated accordingly.
810         * src/nact/base-application.c:
811         * src/nact/base-application.h:
812         Define new 'base-application-description' property.
813         Remove unused properties.
815         * src/nact/nact-application.c (nact_application_new):
816         Make use of the new property at instanciation time.
818 2011-01-20 Pierre Wieser <pwieser@trychlos.org>
820         * src/nact/base-window.c:
821         * src/nact/base-window.h (base_window_display_error_dlg): New function.
823         * src/nact/base-application.c:
824         * src/nact/base-application.h (base_application_get_icon_name):
825         Removed function.
827         * src/nact/base-application.c:
828         * src/nact/base-application.h
829         (initialize_i18n, initialize_application_name, get_application_name,
830         initialize_default_icon, get_icon_name, initialize_gtk,
831         initialize_session_manager, get_unique_app_name, initialize_ui,
832         initialize_unique_app, initialize, run, get_main_window,
833         initialize_application): Remove virtual methods.
835         * src/nact/nact-application.c (appli_get_application_name,
836         appli_get_icon_name, appli_get_unique_app_name,
837         appli_initialize_application):  Removed functions.
839         * src/nact/nact-application.c (nact_application_new_with_args):
840         Make NactApplication initializes with these new properties.
842         * src/nact/base-application.c:
843         * src/nact/base-application.h: Define new properties.
845         * src/nact/base-application-class.h: Removed file.
847         * src/nact/Makefile.am:
848         * src/nact/base-application.h:
849         * src/nact/base-window-class.h:
850         * src/nact/base-window.h: Updated accordingly.
852         * src/nact/base-application-class.h (main_window_new):
853         * src/nact/base-application.c (application_do_run):
854         * src/nact/nact-application.c
855         * src/nact/nact-main-window.h (appli_main_window_new):
856         Move the creation of the main window to the main_window_new() method.
857         Remove base_application_get_main_window() function.
859         * src/nact/base-application-class.h (manage_options):
860         * src/nact/base-application.c:
861         * src/nact/nact-application.c: Return exit code of the program.
863         * src/nact/nact-tree-model-dnd.c
864         (drop_inside, is_drop_possible, drop_uri_list):
865         * src/nact/base-window.c (is_main):
866         Remove base_application_get_main_window() invocations.
868         * src/nact/nact-main.c: Renamed as main.c
870         * src/nact/Makefile.am: Updated accordingly.
872         * tools/Makefile.am: Generate the check-header.c source if it is missing.
874         * src/plugin-tracker/na-tracker-dbus.c:
875         * src/plugin-tracker/na-tracker-dbus.h:
876         * src/plugin-tracker/na-tracker.c:
877         * src/plugin-tracker/na-tracker.h: Cosmetic changes in src/plugin-tracker headers.
879         * src/plugin-menu/nautilus-actions.c:
880         * src/plugin-menu/nautilus-actions.h: Cosmetic changes in src/plugin-menu headers.
882         * src/nact/base-application.c:
883         * src/nact/base-application-class.h:
884         * src/nact/base-assistant.c:
885         * src/nact/base-assistant.h:
886         * src/nact/base-builder.c:
887         * src/nact/base-builder.h:
888         * src/nact/base-dialog.c:
889         * src/nact/base-dialog.h:
890         * src/nact/base-iprefs.c:
891         * src/nact/base-iprefs.h:
892         * src/nact/base-window.c:
893         * src/nact/base-window-class.h:
894         * src/nact/egg-tree-multi-dnd.h:
895         * src/nact/nact-add-capability-dialog.c:
896         * src/nact/nact-add-capability-dialog.h:
897         * src/nact/nact-add-scheme-dialog.c:
898         * src/nact/nact-add-scheme-dialog.h:
899         * src/nact/nact-application.c:
900         * src/nact/nact-application.h:
901         * src/nact/nact-assistant-export.c:
902         * src/nact/nact-assistant-export.h:
903         * src/nact/nact-assistant-import.c:
904         * src/nact/nact-assistant-import.h:
905         * src/nact/nact-clipboard.c:
906         * src/nact/nact-clipboard.h:
907         * src/nact/nact-confirm-logout.c:
908         * src/nact/nact-confirm-logout.h:
909         * src/nact/nact-export-ask.c:
910         * src/nact/nact-export-ask.h:
911         * src/nact/nact-iactions-list.c:
912         * src/nact/nact-iactions-list.h:
913         * src/nact/nact-iaction-tab.c:
914         * src/nact/nact-iaction-tab.h:
915         * src/nact/nact-ibasenames-tab.c:
916         * src/nact/nact-ibasenames-tab.h:
917         * src/nact/nact-icapabilities-tab.c:
918         * src/nact/nact-icapabilities-tab.h:
919         * src/nact/nact-icommand-tab.c:
920         * src/nact/nact-icommand-tab.h:
921         * src/nact/nact-icon-chooser.h:
922         * src/nact/nact-ienvironment-tab.c:
923         * src/nact/nact-ienvironment-tab.h:
924         * src/nact/nact-iexecution-tab.c:
925         * src/nact/nact-iexecution-tab.h:
926         * src/nact/nact-ifolders-tab.c:
927         * src/nact/nact-ifolders-tab.h:
928         * src/nact/nact-imimetypes-tab.c:
929         * src/nact/nact-imimetypes-tab.h:
930         * src/nact/nact-iproperties-tab.c:
931         * src/nact/nact-iproperties-tab.h:
932         * src/nact/nact-ischemes-tab.c:
933         * src/nact/nact-ischemes-tab.h:
934         * src/nact/nact-main-window.c:
935         * src/nact/nact-main-window.h:
936         * src/nact/nact-preferences-editor.c:
937         * src/nact/nact-preferences-editor.h:
938         * src/nact/nact-tree-model.c:
939         * src/nact/nact-tree-model.h:
940         * src/nact/nact-tree-model-priv.h:
941         * src/nact/nact-window.c:
942         * src/nact/nact-window.h: Cosmetic changes in src/nact headers.
944         * src/io-xml/naxml-provider.c:
945         * src/io-xml/naxml-provider.h:
946         * src/io-xml/naxml-reader.c:
947         * src/io-xml/naxml-reader.h:
948         * src/io-xml/naxml-writer.c:
949         * src/io-xml/naxml-writer.h: Cosmetic changes in src/io-xml headers.
951         * src/io-gconf/nagp-gconf-provider.c:
952         * src/io-gconf/nagp-gconf-provider.h: Cosmetic changes in src/io-gconf headers.
954         * src/io-desktop/nadp-desktop-file.c:
955         * src/io-desktop/nadp-desktop-file.h:
956         * src/io-desktop/nadp-desktop-provider.c:
957         * src/io-desktop/nadp-desktop-provider.h:
958         * src/io-desktop/nadp-monitor.c:
959         * src/io-desktop/nadp-monitor.h: Cosmetic changes in src/io-desktop headers.
961         * src/core/na-export-format.h:
962         * src/core/na-iabout.h:
963         * src/core/na-importer-ask.h:
964         * src/core/na-io-provider.h:
965         * src/core/na-ipivot-consumer.h:
966         * src/core/na-module.h:
967         * src/core/na-pivot.h:
968         * src/core/na-selected-info.h:
969         * src/core/na-settings.h:
970         * src/core/na-tokens.h:
971         * src/core/na-updater.h: Cosmetic changes in src/core headers.
973         * src/api/na-data-boxed.h:
974         * src/api/na-data-types.h:
975         * src/api/na-gconf-monitor.h:
976         * src/api/na-gconf-utils.h:
977         * src/api/na-icontext.h:
978         * src/api/na-iduplicable.h:
979         * src/api/na-iexporter.h:
980         * src/api/na-ifactory-object.h:
981         * src/api/na-ifactory-provider.h:
982         * src/api/na-iio-provider.h:
983         * src/api/na-object-action.h:
984         * src/api/na-object.h:
985         * src/api/na-object-id.h:
986         * src/api/na-object-item.h:
987         * src/api/na-object-menu.h:
988         * src/api/na-object-profile.h:
989         * src/core/na-data-boxed.c: Cosmetic changes in src/api headers.
991         * src/utils/na-gconf2key.sh.in:
992         * tools/check-headers.sh:
993         * tools/check-po.sh:
994         * tools/init-finalize-diff.sh:
995         * tools/release-tarball.sh: Replace basename with a shell substitution.
997 2011-01-19 Pierre Wieser <pwieser@trychlos.org>
999         * tools/release-tarball.sh: Full script rewrite.
1001         * README-GCONF:
1002         * Makefile.am: Add README-GCONF to the distribution.
1004         * tools/check-po.sh: Script rewriting.
1006         * NEWS: Update before 3.0.7 release.
1008 2011-01-18 Pierre Wieser <pwieser@trychlos.org>
1010         * src/core/na-export-format.c (na_export_format_get_description):
1011         * src/core/na-importer-ask.c (na_importer_ask_user):
1012         * src/core/na-importer.c (import_from_uri):
1013         * src/core/na-io-provider.c (na_io_provider_get_name):
1014         * src/core/na-iprefs.c:
1015         * src/core/na-iprefs.h (na_iprefs_get_import_mode,
1016         na_iprefs_get_order_mode, na_iprefs_get_export_format):
1017         * src/core/na-settings.c:
1018         * src/nact/nact-assistant-export.c (on_initial_load_dialog):
1019         * nact/nact-assistant-import.c (runtime_init_duplicates):
1020         * src/nact/nact-clipboard.c (export_row_object):
1021         * src/nact/nact-export-ask.c:
1022         * nact/nact-export-format.c:
1023         * src/nact/nact-export-format.h(nact_export_format_init_display):
1024         * src/nact/nact-gtk-utils.c:
1025         * src/nact/nact-gtk-utils.h (nact_gtk_utils_radio_set_initial_state,
1026         nact_gtk_utils_radio_reset_initial_state,
1027         nact_gtk_utils_toggle_set_initial_state,
1028         nact_gtk_utils_toggle_reset_initial_state):
1029         * src/nact/nact-ienvironment-tab.c
1030         (on_tab_updatable_selection_changed):
1031         * src/nact/nact-iexecution-tab.c (on_tab_updatable_selection_changed):
1032         * src/nact/nact-main-window.c (on_base_runtime_init_toplevel):
1033         * src/nact/nact-preferences-editor.c:
1034         * src/nact/nact-preferences.ui:
1035         * src/nact/nact-tree-model-dnd.c (drop_uri_list):
1036         * src/nact/nact-tree-model.c (tree_model_new):
1037         Manage locked and mandatory preferences.
1039         * src/core/na-boxed.c (na_boxed_new_from_string_with_sep):
1040         Do not eat last character.
1042         * README-GCONF:
1043         * src/core/na-settings.h:
1044         * src/utils/na-gconf2key.sh.in:
1045         Rename 'import-mode-keep-last-choice' as 'import-ask-user-keep-last-choice'.
1047 2011-01-17 Pierre Wieser <pwieser@trychlos.org>
1049         * src/nact/nact-preferences-editor.c:
1050         Reopen the Preferences on the last used tab.
1052         * src/core/na-boxed.c (na_boxed_new_from_string_with_sep):
1053         Fix handling of last separator.
1055         * src/nact/nact-schemes-list.c: Do not allow modification
1056         of default schemes list if preferences are locked or property
1057         mandatory.
1059         * src/core/na-io-provider.c:
1060         * src/core/na-io-provider.h (na_io_provider_is_conf_readable,
1061         na_io_provider_is_conf_writable):
1062         Returns mandatory flag.
1063         List I/O providers in write order.
1065         * src/core/na-updater.c (na_updater_is_item_writable): Updated accordingly.
1067         * src/nact/nact-providers-list.c: Do not allow modification of I/O
1068         providers readability/writability/write order properties if
1069         preferences are locked or properties mandatory.
1071         * src/core/na-module.c (na_module_release_modules): Release the loaded module.
1073 2011-01-16 Pierre Wieser <pwieser@trychlos.org>
1075         * run-distcheck.sh: New file.
1077         Add a script to check completeness of header files.
1079         * tools/.gitignore:
1080         * tools/Makefile.am:
1081         * tools/check-headers.sh: New files.
1083         * src/test/test-include.c:
1084         Renamed as tools/check-header.c and set it as ignored by git.
1086         * src/test/.gitignore:
1087         * src/test/Makefile.am: Updated accordingly.
1089         * Makefile.am:
1090         * configure.ac: configure in tools/.
1092         * src/api/na-data-boxed.h:
1093         * src/api/na-data-types.h:
1094         * src/api/na-gconf-monitor.h:
1095         * src/api/na-gconf-utils.h: Test for NA_DISABLE_DEPRECATED deprecation define.
1097         * run-distcheck.sh: New file.
1099         * tools/check-po.sh: Rewrite to have options and messages management.
1101         * src/utils/na-gconf2key.sh.in: Review comment.
1103         * src/utils/Makefile.am: Add na-gconf2key.sh.in to the distributed files.
1105         * docs/reference/Makefile.am: Set the deprecation flags for gtkdoc-scan.
1107         * tools/check-po.sh: Set the count of errors as exit code.
1109         * po/POTFILES.in: Updated.
1111         * src/api/na-gconf-utils.h:
1112         * src/core/na-gconf-utils.c: Is marked deprecated as of 3.1.0.
1114         * src/api/na-gconf-monitor.h:
1115         * src/core/na-gconf-monitor.c: Is marked deprecated as of 3.1.0.
1117         * src/utils/nautilus-actions-new.c: Output to stdout or as .desktop file.
1119         * src/utils/na-print-schemas.c: Add a deprecation comment.
1121         * src/core/na-io-provider.c:
1122         * src/core/na-io-provider.h (na_io_provider_find_io_provider_by_id):
1123         New function.
1125         * src/utils/nautilus-actions-print.c: Move program summary as a global def.
1127 2011-01-15 Pierre Wieser <pwieser@trychlos.org>
1129         * tools/init-finalize-diff.sh: Fix the interpretation of debug messages.
1131         * src/test/test-module.c:
1132         * src/test/test-module-plugin.c: New files.
1134         * src/test/.gitignore:
1135         * src/test/Makefile.am: Updated accordingly.
1136          
1137         * src/nact/nact-schemes-list.c: Remove gconf-client.h include.
1139         * src/nact/base-iprefs.c
1140         (base_iprefs_position_named_window): Do not force a null window size or position.
1142         * src/core/na-settings.c
1143         (na_settings_get_string_list): Do not allocate an empty string list.
1145         * src/core/na-pivot.c (instance_dispose): Release the NASettings object.
1147         * src/core/na-object-id.c:
1148         * src/core/na-object-item.c: Remove no more used instance_init debug messages.
1150         * src/core/na-data-boxed.c:
1151         * src/core/na-gconf-monitor.c:
1152         * src/core/na-io-provider.c:
1153         * src/core/na-tokens.c:
1154         * src/core/na-updater.c:
1155         * src/io-desktop/nadp-desktop-file.c:
1156         * src/io-desktop/nadp-desktop-provider.c:
1157         * src/io-desktop/nadp-monitor.c:
1158         * src/io-gconf/nagp-gconf-provider.c:
1159         * src/io-xml/naxml-provider.c:
1160         * src/nact/base-application.c:
1161         * src/nact/base-builder.c:
1162         * src/nact/base-window.c: 
1163         * src/nact/nact-application.c:
1164         * src/nact/nact-clipboard.c:
1165         * src/nact/nact-main-window.c:
1166         * src/nact/nact-tree-model.c:
1167         * src/nact/nact-window.c: Add instance_finalize debug message.
1169         * src/core/na-core-utils.c (na_core_utils_slist_dump): Display string length.
1171         * src/core/na-boxed.c
1172         (na_boxed_free): Only free a non null structure.
1173         (na_boxed_new_from_string_with_sep): Do not try to split an empty string.
1174         (na_boxed_get_boolean, na_boxed_get_pointer, na_boxed_get_string,
1175         na_boxed_get_string_list, na_boxed_get_uint, na_boxed_get_uint_list):
1176         Do not try to return a value for a null structure.
1178         * m4/na-maintainer-mode.m4: Define a conditional when in maintainer mode.
1180 2011-01-14 Pierre Wieser <pwieser@trychlos.org>
1182         * src/utils/na-delete-xmltree.c:
1183         * src/utils/nautilus-actions-print.c: Add localization code.
1185         * src/utils/nautilus-actions-new.c:
1186         * src/utils/nautilus-actions-run.c:
1187         * src/utils/nautilus-actions-schemas.c: Add locale.h include.
1189         * src/core/na-boxed.c (boxed_new, na_boxed_copy, na_boxed_new_from_string,
1190         na_boxed_new_from_string_with_sep, na_boxed_free):
1191         Add debug messages when allocating/freeing a NABoxed structure.
1193         * src/nact/nact-icommand-tab.c (on_wdir_browse):
1194         Remove no more used default value.
1196         * src/nact/nact-icon-chooser.c
1197         (fillup_icons_by_path, on_path_selection_changed): Store last folder uri.
1199         * src/core/na-settings.h: Preference renamed accordingly.
1201         * README-GCONF:
1202         * src/core/na-settings.h:
1203         * src/utils/na-gconf2key.sh.in:
1204         '-last-folder-uri' preferences are renamed as '-lfu'.
1206         * src/core/na-settings.c: Set default values.
1208         * src/nact/nact-gtk-utils.c:
1209         * src/nact/nact-gtk-utils.h (nact_gtk_utils_select_file,
1210         nact_gtk_utils_select_file_with_preview, nact_gtk_utils_select_dir):
1211         Remove no more used default value.
1213         * src/nact/nact-icommand-tab.c (on_path_browse, on_wdir_browse):
1214         * src/nact/nact-ienvironment-tab.c (on_try_exec_browse,
1215         on_show_if_running_browse): Updated accordingly.
1217         * src/core/na-boxed.c (string_list_from_array, uint_list_from_array):
1218         Do not allocate the empty last element.
1220         * src/core/na-io-provider.c (load_items_get_merged_list):
1221         * src/core/na-iprefs.c (na_iprefs_get_io_providers):
1222         Use the correct list pointer.
1224         * src/core/na-iprefs.c:
1225         * src/core/na-iprefs.h
1226         (na_iprefs_get_export_format, na_iprefs_set_export_format):
1227         Functions moved from src/nact/nact-iprefs.c.
1229         * src/nact/nact-iprefs.c:
1230         * src/nact/nact-iprefs.h: Removed files.
1232         * src/nact/Makefile.am:
1233         * src/nact/base-window.c:
1234         * src/nact/nact-assistant-export.c:
1235         * src/nact/nact-assistant-import.c:
1236         * src/nact/nact-clipboard.c:
1237         * src/nact/nact-export-ask.c:
1238         * src/nact/nact-export-format.c:
1239         * src/nact/nact-gtk-utils.c:
1240         * src/nact/nact-iaction-tab.c:
1241         * src/nact/nact-icommand-tab.c:
1242         * src/nact/nact-ifolders-tab.c:
1243         * src/nact/nact-main-toolbar.c:
1244         * src/nact/nact-preferences-editor.c:
1245         * src/nact/nact-tree-model-dnd.c: Updated accordingly.
1247         * src/nact/nact-iprefs.c:
1248         * src/nact/nact-iprefs.h (nact_iprefs_write_bool, nact_iprefs_write_uint,
1249         nact_iprefs_write_string): Remove deprecated functions.
1251         * src/nact/nact-main-toolbar.c (nact_main_toolbar_activate):
1252         Updated accordingly.
1254         * src/nact/base-iprefs.c:
1255         * src/nact/base-iprefs.h (base_iprefs_get_int, base_iprefs_set_int):
1256         Remove deprecated functions.
1258         * src/nact/nact-icon-chooser.c (instance_dispose, on_base_runtime_init_dialog):
1259         * src/nact/nact-main-window.c (instance_dispose, on_base_initial_load_toplevel):
1260         Updated accordingly.
1262         * src/nact/nact-iprefs.c:
1263         * src/nact/nact-iprefs.h (nact_iprefs_migrate_key): Remove deprecated function.
1265         * src/nact/nact-icommand-tab.c (nact_icommand_tab_initial_load_toplevel):
1266         Updated accordingly.
1268         Global renaming of preferences.
1270         * README-GCONF:
1271         * src/api/na-iio-provider.h:
1272         * src/core/na-export-format.h:
1273         * src/core/na-exporter.h:
1274         * src/core/na-importer-ask.h:
1275         * src/core/na-importer.c:
1276         * src/core/na-io-provider.c:
1277         * src/core/na-io-provider.h:
1278         * src/core/na-iprefs.c:
1279         * src/core/na-iprefs.h:
1280         * src/core/na-module.c:
1281         * src/core/na-pivot.c:
1282         * src/core/na-pivot.h:
1283         * src/core/na-settings.c:
1284         * src/core/na-settings.h:
1285         * src/core/na-updater.c:
1286         * src/nact/nact-add-capability-dialog.c:
1287         * src/nact/nact-add-scheme-dialog.c:
1288         * src/nact/nact-assistant-export.c:
1289         * src/nact/nact-assistant-import.c:
1290         * src/nact/nact-clipboard.c:
1291         * src/nact/nact-export-ask.c:
1292         * src/nact/nact-gtk-utils.c:
1293         * src/nact/nact-iactions-list.c:
1294         * src/nact/nact-icommand-tab.c:
1295         * src/nact/nact-icon-chooser.c:
1296         * src/nact/nact-ienvironment-tab.c:
1297         * src/nact/nact-ifolders-tab.c:
1298         * src/nact/nact-iprefs.c:
1299         * src/nact/nact-iprefs.h:
1300         * src/nact/nact-main-menubar-edit.c:
1301         * src/nact/nact-main-menubar-file.c:
1302         * src/nact/nact-main-menubar.c:
1303         * src/nact/nact-main-toolbar.c:
1304         * src/nact/nact-main-window.c:
1305         * src/nact/nact-preferences-editor.c:
1306         * src/nact/nact-providers-list.c:
1307         * src/nact/nact-schemes-list.c:
1308         * src/nact/nact-sort-buttons.c:
1309         * src/nact/nact-tree-model-dnd.c:
1310         * src/nact/nact-tree-model.c:
1311         * src/nact/nact-window.c:
1312         * src/nact/nact-window.h:
1313         * src/plugin-menu/nautilus-actions.c:
1314         * src/utils/na-gconf2key.sh.in:
1315         * src/utils/nautilus-actions-new.c: Rename preferences.
1316 >>>>>>> Globally rename preferences
1318 2011-01-13 Pierre Wieser <pwieser@trychlos.org>
1320         * src/core/na-settings.c:
1321         * src/core/na-settings.h: Preference names are defined as '#define' values.
1323         * README-GCONF:
1324         * src/utils/na-gconf2key.sh.in: Adjust preferences.
1326         * src/core/na-iprefs.c:
1327         * src/core/na-iprefs.h: NAIPrefs is no more an interface.
1329         * src/api/na-iimporter.h:
1330         * src/core/na-importer-ask.c:
1331         * src/core/na-importer-ask.h:
1332         * src/core/na-importer.c: Updated accordingly.
1334 2011-01-12 Pierre Wieser <pwieser@trychlos.org>
1336         * src/nact/nact-iprefs.c:
1337         * src/nact/nact-iprefs.h: Get ride of GConf.
1339         * README-GCONF:
1340         * src/core/na-settings.c:
1341         * src/utils/na-gconf2key.sh.in: Add omitted 'export-ask-user-last-format' key.
1343         * src/nact/nact-icommand-tab.c:
1344         * src/nact/nact-ienvironment-tab.c: Update to new preferences.
1346         * README-GCONF:
1347         * src/core/na-settings.c:
1348         * src/utils/na-gconf2key.sh.in:
1349         'folder-last-path' key is renamed as 'folder-last-folder-uri'.
1351         * src/nact/nact-ifolders-tab.c: Updated accordingly.
1353         * README-GCONF:
1354         * src/core/na-settings.c:
1355         * src/utils/na-gconf2key.sh.in: Add 'export-ask-user-wsp' preference.
1357         * src/nact/nact-add-capability-dialog.c (base_get_iprefs_window_id):
1358         * src/nact/nact-add-scheme-dialog.c (base_get_iprefs_window_id):
1359         * src/nact/nact-assistant-export.c (window_get_iprefs_window_id):
1360         * src/nact/nact-assistant-import.c (window_get_iprefs_window_id):
1361         * src/nact/nact-export-ask.c (base_get_iprefs_window_id):
1362         * src/nact/nact-main-window.c
1363         (instance_dispose, base_get_iprefs_window_id):
1364         * src/nact/nact-preferences-editor.c (base_get_iprefs_window_id):
1365         Update all preference names when saving/restoring window size and position.
1367         * src/core/na-settings.c:
1368         * src/core/na-settings.h: All getters/setters are implemented.
1370         * src/nact/base-iprefs.c: Remove GConf stuff.
1372         * src/nact/nact-icon-chooser.c:
1373         * src/nact/nact-icon-chooser.ui: Implement all preferences.
1375         * src/utils/na-gconf2key.sh.in:
1376         Renamed preferences for windows size and position '-wsp'.
1377         Also delete from GConf if only preferences have been migrated.
1378         Re-sync after tree delete.
1380         * src/api/na-boxed.h:
1381         * src/core/na-boxed.c
1382         (na_boxed_get_string, na_boxed_get_uint, na_boxed_get_uint_list):
1383         New functions.
1385         * configure.ac: Enable silent rules by default.
1387         * run-autogen.sh: Add sysconfdir argument to autogen.sh
1389         * src/nact/nact-gtk-utils.c (nact_gtk_utils_get_pixbuf):
1390         Search a pixbuf by icon theme if not found as filename or stock.
1392         * src/nact/base-window.c:
1393         * src/nact/base-window.h (base_window_peek_widget): New function.
1395         * src/nact/nact-icon-chooser.c:
1396         * src/nact/nact-icon-chooser.h:
1397         * src/nact/nact-icon-chooser.ui: New files.
1398         
1399         * src/nact/Makefile.am:
1400         * src/nact/nact-iaction-tab.c:
1401         * src/nact/nautilus-actions-config-tool.ui: Updated accordingly.
1403         * src/core/na-settings.c (content_load_keys):
1404         Do not warn if configuration file does not exist.
1406         * src/api/na-boxed.h:
1407         * src/api/na-data-boxed.h:
1408         * src/api/na-data-types.h:
1409         * src/core/na-boxed.c:
1410         * src/core/na-data-boxed.c:
1411         * src/core/na-data-types.c:
1412         Update reference documentation to deprecate NADataBoxed and NADataType
1413         in favor of NABoxed.
1415         * src/core/na-settings.c:
1416         * src/core/na-settings.h: Configuration monitoring.
1418         * src/plugin-menu/nautilus-actions.c:
1419         Monitor all runtime preferences with only one callback.
1421         * src/api/na-boxed.h:
1422         * src/core/na-boxed.c (na_boxed_get_pointer): New function.
1424         * run-autogen.sh: Add sysconfdir argument to autogen.sh.
1426         * src/api/na-data-types.h:
1427         * src/core/na-data-types.c
1428         (na_data_types_copy, na_data_types_free): Removed functions.
1430         * README-GCONF:
1431         * src/utils/na-gconf2key.sh.in: Fix two key label conversions.
1433         * src/api/na-boxed.h:
1434         * src/core/na-boxed.c: New files.
1436         * src/api/Makefile.am:
1437         * src/core/Makefile.am: Updated accordingly.
1439 2011-01-10 Pierre Wieser <pwieser@trychlos.org>
1441         * src/api/na-data-types.h:
1442         * src/core/na-data-types.c
1443         (na_data_types_copy, na_data_types_free, na_data_types_get_label):
1444         New functions.
1446         * src/core/na-settings.c
1447         (monitor_io_provider_read_status, monitor_key): Register monitored keys.
1449         * src/core/na-settings.h
1450         (na_settings_get_boolean_ex, na_settings_get_string_list):
1451         New functions.
1453         * src/plugin-menu/nautilus-actions.c:
1454         Implement runtime preferences monitoring.
1455         No more use deprecated na_pivot_set_automatic_reload().
1457         * src/core/na-pivot.c:
1458         * src/core/na-pivot.h:
1459         Replace GConf preferences monitoring with NASettings.
1460         Define new PIVOT_SIGNAL_ITEMS_CHANGED signal.
1462         * src/core/na-settings.c:
1463         * src/core/na-settings.h
1464         (na_settings_register_key_callback,
1465         na_settings_register_global_callback, na_settings_get_boolean):
1466         New functions.
1468         * src/api/na-iio-provider.h:
1469         * src/core/na-io-provider.h: IIO_PROVIDER_SIGNAL_ITEM_CHANGED signal
1470         definition is moved (and renamed) from public API to internal one.
1472         * src/core/na-iio-provider.c (interface_base_init):
1473         * src/core/na-io-provider.c (io_provider_set_provider):
1474         * src/core/na-pivot.c (on_item_changed_timeout): Updated accordingly.
1476         * src/core/na-iio-provider.c
1477         * src/core/na-settings.c (na_settings_new):
1478         * src/utils/na-gconf2key.sh.in: Global configuration file goes to /etc/xdg.
1480         * src/core/na-pivot.c:
1481         * src/core/na-pivot.h (na_pivot_register):
1482         * src/core/na-settings.c:
1483         * src/core/na-settings.h (na_settings_register):
1484         * src/plugin-menu/nautilus-actions.c (instance_constructed):
1485         Fix compilation.
1487 2011-01-09 Pierre Wieser <pwieser@trychlos.org>
1489         * src/nact/base-application.c (display_dlg): Setup parent window.
1491         * src/api/na-iimporter.h:
1492         * src/core/na-io-provider.c:
1493         * src/core/na-object-id.c:
1494         * src/core/na-object-item.c:
1495         * src/io-desktop/nadp-utils.c:
1496         * src/nact/nact-assistant-import.c:
1497         * src/nact/nact-iactions-list-bis.c:
1498         * src/nact/nact-iactions-list.h:
1499         * src/nact/nact-main-window.c:
1500         * src/nact/nact-preferences.ui:
1501         * src/nact/nact-tree-model.c: Remove all deprecated references to an UUID.
1503         * po/POTFILES.in: Add src/io-desktop/nadp-formats.c file.
1505         * src/core/na-object-profile-factory.c:
1506         Remove %o/%O parameters from description of version 2.0.
1507         Add a missing line feed.
1509         * tools/check-po.sh: Adapt to glade files.
1511 2011-01-08 Pierre Wieser <pwieser@trychlos.org>
1513         * src/utils/nautilus-actions-new.c (init_options):
1514         * src/utils/nautilus-actions-run.c (init_options):
1515         * src/utils/nautilus-actions-schemas.c (init_options):
1516         Initialize translation domain for GOptionContext.
1518         * src/core/na-data-boxed.c
1519         (string_spec, slist_spec, bool_spec, pointer_spec, uint_spec):
1520         * src/core/na-export-format.c
1521         (na_export_format_get_label, na_export_format_get_description):
1522         * src/core/na-iabout.c (na_iabout_display):
1523         * src/core/na-object-action.c (na_object_action_new_with_defaults):
1524         * src/core/na-object-menu.c (na_object_menu_new_with_defaults):
1525         * src/io-xml/naxml-writer.c (write_data_schema_v1_element):
1526         * src/nact/nact-add-capability-dialog.c (on_base_runtime_init_dialog):
1527         * src/nact/nact-ienvironment-tab.c (nact_ienvironment_tab_runtime_init_toplevel):
1528         * src/nact/nact-iproperties-tab.c (on_tab_updatable_selection_changed):
1529         * src/nact/nact-main-menubar-file.c (nact_main_menubar_file_save_items):
1530         * src/nact/nact-match-list.c (get_must_match_header, insert_new_row):
1531         * src/nact/nact-tree-model-dnd.c
1532         (is_drop_possible, is_drop_possible_before_iter,
1533         is_drop_possible_into_dest, is_parent_accept_new_childs):
1534         Use gettext() to display localized static strings.
1536         * src/api/na-data-def.h: Complete the description of the fields.
1538         * src/core/na-io-provider.c:
1539         * src/core/na-object-profile-factory.c:
1540         * src/nact/nact-assistant-export.ui:
1541         * src/nact/nautilus-actions-config-tool.ui:
1542         Fix various mistakes and mispellings reported by Fr translation team.
1544         * configure.ac: Post-release bump version number.
1546 2011-01-07 Pierre Wieser <pwieser@trychlos.org>
1548         * src/core/na-pivot.c (na_pivot_register): New function.
1550         * src/plugin-menu/nautilus-actions.c:
1551         Replace NAIPivotConsumer interface with na_settings() accessors.
1553         * src/core/na-settings.c:
1554         * src/core/na-settings.h: New files.
1556         * src/utils/na-gconf2key.sh.in:
1557         Make sure that GConf is at the end of the list of I/O providers.
1558         Make sure that GConf is locked.
1559         Migrate all I/O provider preferences.
1561         * configure.ac:
1562         * src/utils/Makefile.am:
1563         * src/utils/na-gconf2key.sh.in:
1564         nautilus-actions-gconf2desktop.sh.in is renamed as na-gconf2key.sh.in,
1565         and is installed in PKGLIBEXECDIR.
1567         * src/core/Makefile.am:
1568         * src/core/na-gconf-migration.c: Updated accordingly.
1570         * src/utils/Makefile.am:
1571         nautilus-actions-delete is renamed as na-delete-xmltree,
1572         and is installed in PKGLIBEXECDIR.
1574         * src/core/na-core-utils.c (na_core_utils_print_version):
1575         Print the compilation version of GLib2 and Gtk+ when in debug mode.
1577         * src/utils/Makefile.am:
1578         nautilus-actions-schemas is renamed as na-print-schemas,
1579         and is installed in PKGLIBEXECDIR.
1581 2011-01-06 Pierre Wieser <pwieser@trychlos.org>
1583         * src/nact/nact-main-window.c (iabout_get_toplevel):
1584         Let the About dialog get the toplevel window.
1586         * src/nact/nact-preferences.ui:
1587         * src/nact/nautilus-actions-config-tool.ui:
1588         Apply patch provided by Christian Kirbach. Fix #638548.
1590         Use the same script to migrate items and preferences.
1592         * README-GCONF: Document migrated and renamed preferences.
1594         * src/utils/nautilus-actions-gconf2desktop.sh.in:
1595         Rewrite migrated preferences as keyed files.
1596         At last, remove the whole Nautilus-Actions tree from GConf.
1598 2011-01-05 Pierre Wieser <pwieser@trychlos.org>
1600         * src/utils/console-utils.c (console_cmdline_get_description):
1601         Returns the full address of the page to enter a new bug in Bugzilla.
1603         * src/core/na-gconf-migration.c:
1604         * src/core/na-gconf-migration.h (na_gconf_migration_run): New function.
1606         * src/core/Makefile.am: Updated accordingly.
1608         * src/nact/nact-main.c (main):
1609         * src/plugin-menu/nautilus-module.c (nautilus_module_initialize):
1610         * src/utils/nautilus-actions-new.c (main):
1611         * src/utils/nautilus-actions-run.c (main):
1612         Automatically run the migration tool at startup.
1614         * src/utils/nautilus-actions-gconf2desktop.sh.in:
1615         * src/utils/nautilus-actions-delete.c:
1616         * src/utils/nautilus-actions-print.c:
1617         New items migration script and programs.
1618         They take care of migrating users and mandatory items to .desktop files.
1620         * configure.ac:
1621         * src/utils/Makefile.am:
1622         * src/utils/.gitignore: Updated accordingly.
1624 2011-01-04 Pierre Wieser <pwieser@trychlos.org>
1626         * src/core/na-tokens.c (na_tokens_new_from_selection):
1627         No more prepare the list string of selection.
1628         Directly build the selection list in the correct order.
1629         (execute_action_command): Setup the working directory.
1631         * src/core/na-tokens.c:
1632         * src/core/na-tokens.h (na_tokens_parse_parameters):
1633         Renamed as na_tokens_parse_for_display() as filenames are not quoted
1634         when displayed as part of an expanded label.
1636         * src/nact/nact-icommand-tab.c (parse_parameters):
1637         * src/plugin-menu/nautilus-actions.c (expand_tokens_item):
1638         Updated accordingly.
1640         * configure.ac: Fix "API Reference generation" message.
1642         * m4/na-enable-manuals.m4:
1643         Better specify that --enable-html-manuals (resp. pdf) are for user's manuals.
1645         * src/core/na-selected-info.c (new_from_uri):
1646         - Add an excerpt from RFC 2396 about valid characters in URIs.
1647         - Prefer the filename from g_filename_from_uri() when possible.
1649         * src/core/na-tokens.c
1650         (na_tokens_new_from_selection): Also g_shell_quote() the URI to preserve quotes.
1651         (build_string_lists_item): Removed function.
1653         * src/core/na-iabout.c (na_iabout_display):
1654         Fix typo in comment, adding a note to the translators.
1656 2011-01-03 Pierre Wieser <pwieser@trychlos.org>
1658         * src/core/na-io-provider.c:
1659         * src/core/na-io-provider.h (na_io_provider_are_writings_authorized):
1660         New function.
1662         * configure.ac: Define a conditional if we have both GSettings and GConf.
1664         * src/core/na-gsettings-migrate.c:
1665         * src/core/na-gsettings-migrate.h: New files.
1667         * src/core/Makefile.am: Updated accordingly.
1669         * src/core/na-pivot.c (instance_constructed):
1670         Call na_gsettings_migrate() if we have both GSettings and GConf.
1672         * configure.ac:
1673         - Define HAVE_GSETTINGS variable.
1674         - Define HAVE_GCONF variable.
1676 2011-01-02 Pierre Wieser <pwieser@trychlos.org>
1678         * src/nact/egg-desktop-file.c:
1679         Get ride of tests for Gtk+ 2.12.0 as this is the minimal required version.
1681         * src/nact/base-keysyms.h:
1682         * src/nact/egg-sm-client-private.h:
1683         * src/nact/egg-sm-client-xsmp.c: 
1684         * src/nact/nact-add-capability-dialog.c:
1685         * src/nact/nact-add-scheme-dialog.c:
1686         * src/nact/nact-main-tab.c:
1687         * src/nact/nact-clipboard.c:
1688         * src/nact/nact-tree-model-dnd.c:
1689         * src/nact/nact-gtk-utils.c:
1690         * src/nact/nact-iaction-tab.c:
1691         * src/nact/nact-main-statusbar.c:
1692         * src/nact/nact-main-menubar.c:
1693         * src/nact/nact-schemes-list.c: Use GTK_CHECK_VERSION macro.
1695         * configure.ac:
1696         * m4/na-check-for-gtk.m4:
1697         Move back gtk_required variable to improve readibility of configure.ac.
1699 2011-01-01 Pierre Wieser <pwieser@trychlos.org>
1701         * configure.ac: Post release version bump.
1703         * NEWS: Update NEWS before release.
1705         * src/plugin-menu/nautilus-actions.c (create_root_menu):
1706         Update the root menu label to better reflect the product name.
1708         * src/nact/nautilus-actions-config-tool.ui:
1709         Use gtk-find instead of gtk-find-and-replace stock icon for browse buttons.
1711         * src/nact/nact-iaction-tab.c (nact_iaction_tab_initial_load_toplevel):
1712         Display again stock icons in NACT.
1713         Fix #638461 - Stock icons are no more displayed in NACT.
1715         * Almost all files modified:
1716         Update copyright message.
1717         Set Nautilus-Actions as being the actual official product name.
1719         * src/core/na-selected-info.c (new_from_nautilus_file_info):
1720         Fix pathname breakdown for 'x-nautilus-desktop:///' URI.
1721         Fix #638450 - Nautilus crashes when opening Trash or Network.