1 2011-01-20 Pierre Wieser <pwieser@trychlos.org>
3 * src/nact/base-application.c:
4 * src/nact/base-application.h (base_application_get_icon_name):
7 * src/nact/base-application.c:
8 * src/nact/base-application.h
9 (initialize_i18n, initialize_application_name, get_application_name,
10 initialize_default_icon, get_icon_name, initialize_gtk):
11 Remove virtual methods.
13 * src/nact/nact-application.c
14 (appli_get_application_name, appli_get_icon_name): Removed functions.
16 * src/nact/nact-application.c (nact_application_new_with_args):
17 Make NactApplication initializes with these new properties.
19 * src/nact/base-application.c:
20 * src/nact/base-application.h: Define new properties.
22 * src/nact/base-application-class.h: Removed file.
24 * src/nact/Makefile.am:
25 * src/nact/base-application.h:
26 * src/nact/base-window-class.h:
27 * src/nact/base-window.h: Updated accordingly.
29 * src/nact/base-application-class.h (main_window_new):
30 * src/nact/base-application.c (application_do_run):
31 * src/nact/nact-application.c
32 * src/nact/nact-main-window.h (appli_main_window_new):
33 Move the creation of the main window to the main_window_new() method.
34 Remove base_application_get_main_window() function.
36 * src/nact/base-application-class.h (manage_options):
37 * src/nact/base-application.c:
38 * src/nact/nact-application.c: Return exit code of the program.
40 * src/nact/nact-tree-model-dnd.c
41 (drop_inside, is_drop_possible, drop_uri_list):
42 * src/nact/base-window.c (is_main):
43 Remove base_application_get_main_window() invocations.
45 * src/nact/nact-main.c: Renamed as main.c
47 * src/nact/Makefile.am: Updated accordingly.
49 * tools/Makefile.am: Generate the check-header.c source if it is missing.
51 * src/plugin-tracker/na-tracker-dbus.c:
52 * src/plugin-tracker/na-tracker-dbus.h:
53 * src/plugin-tracker/na-tracker.c:
54 * src/plugin-tracker/na-tracker.h: Cosmetic changes in src/plugin-tracker headers.
56 * src/plugin-menu/nautilus-actions.c:
57 * src/plugin-menu/nautilus-actions.h: Cosmetic changes in src/plugin-menu headers.
59 * src/nact/base-application.c:
60 * src/nact/base-application-class.h:
61 * src/nact/base-assistant.c:
62 * src/nact/base-assistant.h:
63 * src/nact/base-builder.c:
64 * src/nact/base-builder.h:
65 * src/nact/base-dialog.c:
66 * src/nact/base-dialog.h:
67 * src/nact/base-iprefs.c:
68 * src/nact/base-iprefs.h:
69 * src/nact/base-window.c:
70 * src/nact/base-window-class.h:
71 * src/nact/egg-tree-multi-dnd.h:
72 * src/nact/nact-add-capability-dialog.c:
73 * src/nact/nact-add-capability-dialog.h:
74 * src/nact/nact-add-scheme-dialog.c:
75 * src/nact/nact-add-scheme-dialog.h:
76 * src/nact/nact-application.c:
77 * src/nact/nact-application.h:
78 * src/nact/nact-assistant-export.c:
79 * src/nact/nact-assistant-export.h:
80 * src/nact/nact-assistant-import.c:
81 * src/nact/nact-assistant-import.h:
82 * src/nact/nact-clipboard.c:
83 * src/nact/nact-clipboard.h:
84 * src/nact/nact-confirm-logout.c:
85 * src/nact/nact-confirm-logout.h:
86 * src/nact/nact-export-ask.c:
87 * src/nact/nact-export-ask.h:
88 * src/nact/nact-iactions-list.c:
89 * src/nact/nact-iactions-list.h:
90 * src/nact/nact-iaction-tab.c:
91 * src/nact/nact-iaction-tab.h:
92 * src/nact/nact-ibasenames-tab.c:
93 * src/nact/nact-ibasenames-tab.h:
94 * src/nact/nact-icapabilities-tab.c:
95 * src/nact/nact-icapabilities-tab.h:
96 * src/nact/nact-icommand-tab.c:
97 * src/nact/nact-icommand-tab.h:
98 * src/nact/nact-icon-chooser.h:
99 * src/nact/nact-ienvironment-tab.c:
100 * src/nact/nact-ienvironment-tab.h:
101 * src/nact/nact-iexecution-tab.c:
102 * src/nact/nact-iexecution-tab.h:
103 * src/nact/nact-ifolders-tab.c:
104 * src/nact/nact-ifolders-tab.h:
105 * src/nact/nact-imimetypes-tab.c:
106 * src/nact/nact-imimetypes-tab.h:
107 * src/nact/nact-iproperties-tab.c:
108 * src/nact/nact-iproperties-tab.h:
109 * src/nact/nact-ischemes-tab.c:
110 * src/nact/nact-ischemes-tab.h:
111 * src/nact/nact-main-window.c:
112 * src/nact/nact-main-window.h:
113 * src/nact/nact-preferences-editor.c:
114 * src/nact/nact-preferences-editor.h:
115 * src/nact/nact-tree-model.c:
116 * src/nact/nact-tree-model.h:
117 * src/nact/nact-tree-model-priv.h:
118 * src/nact/nact-window.c:
119 * src/nact/nact-window.h: Cosmetic changes in src/nact headers.
121 * src/io-xml/naxml-provider.c:
122 * src/io-xml/naxml-provider.h:
123 * src/io-xml/naxml-reader.c:
124 * src/io-xml/naxml-reader.h:
125 * src/io-xml/naxml-writer.c:
126 * src/io-xml/naxml-writer.h: Cosmetic changes in src/io-xml headers.
128 * src/io-gconf/nagp-gconf-provider.c:
129 * src/io-gconf/nagp-gconf-provider.h: Cosmetic changes in src/io-gconf headers.
131 * src/io-desktop/nadp-desktop-file.c:
132 * src/io-desktop/nadp-desktop-file.h:
133 * src/io-desktop/nadp-desktop-provider.c:
134 * src/io-desktop/nadp-desktop-provider.h:
135 * src/io-desktop/nadp-monitor.c:
136 * src/io-desktop/nadp-monitor.h: Cosmetic changes in src/io-desktop headers.
138 * src/core/na-export-format.h:
139 * src/core/na-iabout.h:
140 * src/core/na-importer-ask.h:
141 * src/core/na-io-provider.h:
142 * src/core/na-ipivot-consumer.h:
143 * src/core/na-module.h:
144 * src/core/na-pivot.h:
145 * src/core/na-selected-info.h:
146 * src/core/na-settings.h:
147 * src/core/na-tokens.h:
148 * src/core/na-updater.h: Cosmetic changes in src/core headers.
150 * src/api/na-data-boxed.h:
151 * src/api/na-data-types.h:
152 * src/api/na-gconf-monitor.h:
153 * src/api/na-gconf-utils.h:
154 * src/api/na-icontext.h:
155 * src/api/na-iduplicable.h:
156 * src/api/na-iexporter.h:
157 * src/api/na-ifactory-object.h:
158 * src/api/na-ifactory-provider.h:
159 * src/api/na-iio-provider.h:
160 * src/api/na-object-action.h:
161 * src/api/na-object.h:
162 * src/api/na-object-id.h:
163 * src/api/na-object-item.h:
164 * src/api/na-object-menu.h:
165 * src/api/na-object-profile.h:
166 * src/core/na-data-boxed.c: Cosmetic changes in src/api headers.
168 * src/utils/na-gconf2key.sh.in:
169 * tools/check-headers.sh:
171 * tools/init-finalize-diff.sh:
172 * tools/release-tarball.sh: Replace basename with a shell substitution.
174 2011-01-19 Pierre Wieser <pwieser@trychlos.org>
176 * tools/release-tarball.sh: Full script rewrite.
179 * Makefile.am: Add README-GCONF to the distribution.
181 * tools/check-po.sh: Script rewriting.
183 * NEWS: Update before 3.0.7 release.
185 2011-01-18 Pierre Wieser <pwieser@trychlos.org>
187 * src/core/na-export-format.c (na_export_format_get_description):
188 * src/core/na-importer-ask.c (na_importer_ask_user):
189 * src/core/na-importer.c (import_from_uri):
190 * src/core/na-io-provider.c (na_io_provider_get_name):
191 * src/core/na-iprefs.c:
192 * src/core/na-iprefs.h (na_iprefs_get_import_mode,
193 na_iprefs_get_order_mode, na_iprefs_get_export_format):
194 * src/core/na-settings.c:
195 * src/nact/nact-assistant-export.c (on_initial_load_dialog):
196 * nact/nact-assistant-import.c (runtime_init_duplicates):
197 * src/nact/nact-clipboard.c (export_row_object):
198 * src/nact/nact-export-ask.c:
199 * nact/nact-export-format.c:
200 * src/nact/nact-export-format.h(nact_export_format_init_display):
201 * src/nact/nact-gtk-utils.c:
202 * src/nact/nact-gtk-utils.h (nact_gtk_utils_radio_set_initial_state,
203 nact_gtk_utils_radio_reset_initial_state,
204 nact_gtk_utils_toggle_set_initial_state,
205 nact_gtk_utils_toggle_reset_initial_state):
206 * src/nact/nact-ienvironment-tab.c
207 (on_tab_updatable_selection_changed):
208 * src/nact/nact-iexecution-tab.c (on_tab_updatable_selection_changed):
209 * src/nact/nact-main-window.c (on_base_runtime_init_toplevel):
210 * src/nact/nact-preferences-editor.c:
211 * src/nact/nact-preferences.ui:
212 * src/nact/nact-tree-model-dnd.c (drop_uri_list):
213 * src/nact/nact-tree-model.c (tree_model_new):
214 Manage locked and mandatory preferences.
216 * src/core/na-boxed.c (na_boxed_new_from_string_with_sep):
217 Do not eat last character.
220 * src/core/na-settings.h:
221 * src/utils/na-gconf2key.sh.in:
222 Rename 'import-mode-keep-last-choice' as 'import-ask-user-keep-last-choice'.
224 2011-01-17 Pierre Wieser <pwieser@trychlos.org>
226 * src/nact/nact-preferences-editor.c:
227 Reopen the Preferences on the last used tab.
229 * src/core/na-boxed.c (na_boxed_new_from_string_with_sep):
230 Fix handling of last separator.
232 * src/nact/nact-schemes-list.c: Do not allow modification
233 of default schemes list if preferences are locked or property
236 * src/core/na-io-provider.c:
237 * src/core/na-io-provider.h (na_io_provider_is_conf_readable,
238 na_io_provider_is_conf_writable):
239 Returns mandatory flag.
240 List I/O providers in write order.
242 * src/core/na-updater.c (na_updater_is_item_writable): Updated accordingly.
244 * src/nact/nact-providers-list.c: Do not allow modification of I/O
245 providers readability/writability/write order properties if
246 preferences are locked or properties mandatory.
248 * src/core/na-module.c (na_module_release_modules): Release the loaded module.
250 2011-01-16 Pierre Wieser <pwieser@trychlos.org>
252 * run-distcheck.sh: New file.
254 Add a script to check completeness of header files.
258 * tools/check-headers.sh: New files.
260 * src/test/test-include.c:
261 Renamed as tools/check-header.c and set it as ignored by git.
263 * src/test/.gitignore:
264 * src/test/Makefile.am: Updated accordingly.
267 * configure.ac: configure in tools/.
269 * src/api/na-data-boxed.h:
270 * src/api/na-data-types.h:
271 * src/api/na-gconf-monitor.h:
272 * src/api/na-gconf-utils.h: Test for NA_DISABLE_DEPRECATED deprecation define.
274 * run-distcheck.sh: New file.
276 * tools/check-po.sh: Rewrite to have options and messages management.
278 * src/utils/na-gconf2key.sh.in: Review comment.
280 * src/utils/Makefile.am: Add na-gconf2key.sh.in to the distributed files.
282 * docs/reference/Makefile.am: Set the deprecation flags for gtkdoc-scan.
284 * tools/check-po.sh: Set the count of errors as exit code.
286 * po/POTFILES.in: Updated.
288 * src/api/na-gconf-utils.h:
289 * src/core/na-gconf-utils.c: Is marked deprecated as of 3.1.0.
291 * src/api/na-gconf-monitor.h:
292 * src/core/na-gconf-monitor.c: Is marked deprecated as of 3.1.0.
294 * src/utils/nautilus-actions-new.c: Output to stdout or as .desktop file.
296 * src/utils/na-print-schemas.c: Add a deprecation comment.
298 * src/core/na-io-provider.c:
299 * src/core/na-io-provider.h (na_io_provider_find_io_provider_by_id):
302 * src/utils/nautilus-actions-print.c: Move program summary as a global def.
304 2011-01-15 Pierre Wieser <pwieser@trychlos.org>
306 * tools/init-finalize-diff.sh: Fix the interpretation of debug messages.
308 * src/test/test-module.c:
309 * src/test/test-module-plugin.c: New files.
311 * src/test/.gitignore:
312 * src/test/Makefile.am: Updated accordingly.
314 * src/nact/nact-schemes-list.c: Remove gconf-client.h include.
316 * src/nact/base-iprefs.c
317 (base_iprefs_position_named_window): Do not force a null window size or position.
319 * src/core/na-settings.c
320 (na_settings_get_string_list): Do not allocate an empty string list.
322 * src/core/na-pivot.c (instance_dispose): Release the NASettings object.
324 * src/core/na-object-id.c:
325 * src/core/na-object-item.c: Remove no more used instance_init debug messages.
327 * src/core/na-data-boxed.c:
328 * src/core/na-gconf-monitor.c:
329 * src/core/na-io-provider.c:
330 * src/core/na-tokens.c:
331 * src/core/na-updater.c:
332 * src/io-desktop/nadp-desktop-file.c:
333 * src/io-desktop/nadp-desktop-provider.c:
334 * src/io-desktop/nadp-monitor.c:
335 * src/io-gconf/nagp-gconf-provider.c:
336 * src/io-xml/naxml-provider.c:
337 * src/nact/base-application.c:
338 * src/nact/base-builder.c:
339 * src/nact/base-window.c:
340 * src/nact/nact-application.c:
341 * src/nact/nact-clipboard.c:
342 * src/nact/nact-main-window.c:
343 * src/nact/nact-tree-model.c:
344 * src/nact/nact-window.c: Add instance_finalize debug message.
346 * src/core/na-core-utils.c (na_core_utils_slist_dump): Display string length.
348 * src/core/na-boxed.c
349 (na_boxed_free): Only free a non null structure.
350 (na_boxed_new_from_string_with_sep): Do not try to split an empty string.
351 (na_boxed_get_boolean, na_boxed_get_pointer, na_boxed_get_string,
352 na_boxed_get_string_list, na_boxed_get_uint, na_boxed_get_uint_list):
353 Do not try to return a value for a null structure.
355 * m4/na-maintainer-mode.m4: Define a conditional when in maintainer mode.
357 2011-01-14 Pierre Wieser <pwieser@trychlos.org>
359 * src/utils/na-delete-xmltree.c:
360 * src/utils/nautilus-actions-print.c: Add localization code.
362 * src/utils/nautilus-actions-new.c:
363 * src/utils/nautilus-actions-run.c:
364 * src/utils/nautilus-actions-schemas.c: Add locale.h include.
366 * src/core/na-boxed.c (boxed_new, na_boxed_copy, na_boxed_new_from_string,
367 na_boxed_new_from_string_with_sep, na_boxed_free):
368 Add debug messages when allocating/freeing a NABoxed structure.
370 * src/nact/nact-icommand-tab.c (on_wdir_browse):
371 Remove no more used default value.
373 * src/nact/nact-icon-chooser.c
374 (fillup_icons_by_path, on_path_selection_changed): Store last folder uri.
376 * src/core/na-settings.h: Preference renamed accordingly.
379 * src/core/na-settings.h:
380 * src/utils/na-gconf2key.sh.in:
381 '-last-folder-uri' preferences are renamed as '-lfu'.
383 * src/core/na-settings.c: Set default values.
385 * src/nact/nact-gtk-utils.c:
386 * src/nact/nact-gtk-utils.h (nact_gtk_utils_select_file,
387 nact_gtk_utils_select_file_with_preview, nact_gtk_utils_select_dir):
388 Remove no more used default value.
390 * src/nact/nact-icommand-tab.c (on_path_browse, on_wdir_browse):
391 * src/nact/nact-ienvironment-tab.c (on_try_exec_browse,
392 on_show_if_running_browse): Updated accordingly.
394 * src/core/na-boxed.c (string_list_from_array, uint_list_from_array):
395 Do not allocate the empty last element.
397 * src/core/na-io-provider.c (load_items_get_merged_list):
398 * src/core/na-iprefs.c (na_iprefs_get_io_providers):
399 Use the correct list pointer.
401 * src/core/na-iprefs.c:
402 * src/core/na-iprefs.h
403 (na_iprefs_get_export_format, na_iprefs_set_export_format):
404 Functions moved from src/nact/nact-iprefs.c.
406 * src/nact/nact-iprefs.c:
407 * src/nact/nact-iprefs.h: Removed files.
409 * src/nact/Makefile.am:
410 * src/nact/base-window.c:
411 * src/nact/nact-assistant-export.c:
412 * src/nact/nact-assistant-import.c:
413 * src/nact/nact-clipboard.c:
414 * src/nact/nact-export-ask.c:
415 * src/nact/nact-export-format.c:
416 * src/nact/nact-gtk-utils.c:
417 * src/nact/nact-iaction-tab.c:
418 * src/nact/nact-icommand-tab.c:
419 * src/nact/nact-ifolders-tab.c:
420 * src/nact/nact-main-toolbar.c:
421 * src/nact/nact-preferences-editor.c:
422 * src/nact/nact-tree-model-dnd.c: Updated accordingly.
424 * src/nact/nact-iprefs.c:
425 * src/nact/nact-iprefs.h (nact_iprefs_write_bool, nact_iprefs_write_uint,
426 nact_iprefs_write_string): Remove deprecated functions.
428 * src/nact/nact-main-toolbar.c (nact_main_toolbar_activate):
431 * src/nact/base-iprefs.c:
432 * src/nact/base-iprefs.h (base_iprefs_get_int, base_iprefs_set_int):
433 Remove deprecated functions.
435 * src/nact/nact-icon-chooser.c (instance_dispose, on_base_runtime_init_dialog):
436 * src/nact/nact-main-window.c (instance_dispose, on_base_initial_load_toplevel):
439 * src/nact/nact-iprefs.c:
440 * src/nact/nact-iprefs.h (nact_iprefs_migrate_key): Remove deprecated function.
442 * src/nact/nact-icommand-tab.c (nact_icommand_tab_initial_load_toplevel):
445 Global renaming of preferences.
448 * src/api/na-iio-provider.h:
449 * src/core/na-export-format.h:
450 * src/core/na-exporter.h:
451 * src/core/na-importer-ask.h:
452 * src/core/na-importer.c:
453 * src/core/na-io-provider.c:
454 * src/core/na-io-provider.h:
455 * src/core/na-iprefs.c:
456 * src/core/na-iprefs.h:
457 * src/core/na-module.c:
458 * src/core/na-pivot.c:
459 * src/core/na-pivot.h:
460 * src/core/na-settings.c:
461 * src/core/na-settings.h:
462 * src/core/na-updater.c:
463 * src/nact/nact-add-capability-dialog.c:
464 * src/nact/nact-add-scheme-dialog.c:
465 * src/nact/nact-assistant-export.c:
466 * src/nact/nact-assistant-import.c:
467 * src/nact/nact-clipboard.c:
468 * src/nact/nact-export-ask.c:
469 * src/nact/nact-gtk-utils.c:
470 * src/nact/nact-iactions-list.c:
471 * src/nact/nact-icommand-tab.c:
472 * src/nact/nact-icon-chooser.c:
473 * src/nact/nact-ienvironment-tab.c:
474 * src/nact/nact-ifolders-tab.c:
475 * src/nact/nact-iprefs.c:
476 * src/nact/nact-iprefs.h:
477 * src/nact/nact-main-menubar-edit.c:
478 * src/nact/nact-main-menubar-file.c:
479 * src/nact/nact-main-menubar.c:
480 * src/nact/nact-main-toolbar.c:
481 * src/nact/nact-main-window.c:
482 * src/nact/nact-preferences-editor.c:
483 * src/nact/nact-providers-list.c:
484 * src/nact/nact-schemes-list.c:
485 * src/nact/nact-sort-buttons.c:
486 * src/nact/nact-tree-model-dnd.c:
487 * src/nact/nact-tree-model.c:
488 * src/nact/nact-window.c:
489 * src/nact/nact-window.h:
490 * src/plugin-menu/nautilus-actions.c:
491 * src/utils/na-gconf2key.sh.in:
492 * src/utils/nautilus-actions-new.c: Rename preferences.
493 >>>>>>> Globally rename preferences
495 2011-01-13 Pierre Wieser <pwieser@trychlos.org>
497 * src/core/na-settings.c:
498 * src/core/na-settings.h: Preference names are defined as '#define' values.
501 * src/utils/na-gconf2key.sh.in: Adjust preferences.
503 * src/core/na-iprefs.c:
504 * src/core/na-iprefs.h: NAIPrefs is no more an interface.
506 * src/api/na-iimporter.h:
507 * src/core/na-importer-ask.c:
508 * src/core/na-importer-ask.h:
509 * src/core/na-importer.c: Updated accordingly.
511 2011-01-12 Pierre Wieser <pwieser@trychlos.org>
513 * src/nact/nact-iprefs.c:
514 * src/nact/nact-iprefs.h: Get ride of GConf.
517 * src/core/na-settings.c:
518 * src/utils/na-gconf2key.sh.in: Add omitted 'export-ask-user-last-format' key.
520 * src/nact/nact-icommand-tab.c:
521 * src/nact/nact-ienvironment-tab.c: Update to new preferences.
524 * src/core/na-settings.c:
525 * src/utils/na-gconf2key.sh.in:
526 'folder-last-path' key is renamed as 'folder-last-folder-uri'.
528 * src/nact/nact-ifolders-tab.c: Updated accordingly.
531 * src/core/na-settings.c:
532 * src/utils/na-gconf2key.sh.in: Add 'export-ask-user-wsp' preference.
534 * src/nact/nact-add-capability-dialog.c (base_get_iprefs_window_id):
535 * src/nact/nact-add-scheme-dialog.c (base_get_iprefs_window_id):
536 * src/nact/nact-assistant-export.c (window_get_iprefs_window_id):
537 * src/nact/nact-assistant-import.c (window_get_iprefs_window_id):
538 * src/nact/nact-export-ask.c (base_get_iprefs_window_id):
539 * src/nact/nact-main-window.c
540 (instance_dispose, base_get_iprefs_window_id):
541 * src/nact/nact-preferences-editor.c (base_get_iprefs_window_id):
542 Update all preference names when saving/restoring window size and position.
544 * src/core/na-settings.c:
545 * src/core/na-settings.h: All getters/setters are implemented.
547 * src/nact/base-iprefs.c: Remove GConf stuff.
549 * src/nact/nact-icon-chooser.c:
550 * src/nact/nact-icon-chooser.ui: Implement all preferences.
552 * src/utils/na-gconf2key.sh.in:
553 Renamed preferences for windows size and position '-wsp'.
554 Also delete from GConf if only preferences have been migrated.
555 Re-sync after tree delete.
557 * src/api/na-boxed.h:
558 * src/core/na-boxed.c
559 (na_boxed_get_string, na_boxed_get_uint, na_boxed_get_uint_list):
562 * configure.ac: Enable silent rules by default.
564 * run-autogen.sh: Add sysconfdir argument to autogen.sh
566 * src/nact/nact-gtk-utils.c (nact_gtk_utils_get_pixbuf):
567 Search a pixbuf by icon theme if not found as filename or stock.
569 * src/nact/base-window.c:
570 * src/nact/base-window.h (base_window_peek_widget): New function.
572 * src/nact/nact-icon-chooser.c:
573 * src/nact/nact-icon-chooser.h:
574 * src/nact/nact-icon-chooser.ui: New files.
576 * src/nact/Makefile.am:
577 * src/nact/nact-iaction-tab.c:
578 * src/nact/nautilus-actions-config-tool.ui: Updated accordingly.
580 * src/core/na-settings.c (content_load_keys):
581 Do not warn if configuration file does not exist.
583 * src/api/na-boxed.h:
584 * src/api/na-data-boxed.h:
585 * src/api/na-data-types.h:
586 * src/core/na-boxed.c:
587 * src/core/na-data-boxed.c:
588 * src/core/na-data-types.c:
589 Update reference documentation to deprecate NADataBoxed and NADataType
592 * src/core/na-settings.c:
593 * src/core/na-settings.h: Configuration monitoring.
595 * src/plugin-menu/nautilus-actions.c:
596 Monitor all runtime preferences with only one callback.
598 * src/api/na-boxed.h:
599 * src/core/na-boxed.c (na_boxed_get_pointer): New function.
601 * run-autogen.sh: Add sysconfdir argument to autogen.sh.
603 * src/api/na-data-types.h:
604 * src/core/na-data-types.c
605 (na_data_types_copy, na_data_types_free): Removed functions.
608 * src/utils/na-gconf2key.sh.in: Fix two key label conversions.
610 * src/api/na-boxed.h:
611 * src/core/na-boxed.c: New files.
613 * src/api/Makefile.am:
614 * src/core/Makefile.am: Updated accordingly.
616 2011-01-10 Pierre Wieser <pwieser@trychlos.org>
618 * src/api/na-data-types.h:
619 * src/core/na-data-types.c
620 (na_data_types_copy, na_data_types_free, na_data_types_get_label):
623 * src/core/na-settings.c
624 (monitor_io_provider_read_status, monitor_key): Register monitored keys.
626 * src/core/na-settings.h
627 (na_settings_get_boolean_ex, na_settings_get_string_list):
630 * src/plugin-menu/nautilus-actions.c:
631 Implement runtime preferences monitoring.
632 No more use deprecated na_pivot_set_automatic_reload().
634 * src/core/na-pivot.c:
635 * src/core/na-pivot.h:
636 Replace GConf preferences monitoring with NASettings.
637 Define new PIVOT_SIGNAL_ITEMS_CHANGED signal.
639 * src/core/na-settings.c:
640 * src/core/na-settings.h
641 (na_settings_register_key_callback,
642 na_settings_register_global_callback, na_settings_get_boolean):
645 * src/api/na-iio-provider.h:
646 * src/core/na-io-provider.h: IIO_PROVIDER_SIGNAL_ITEM_CHANGED signal
647 definition is moved (and renamed) from public API to internal one.
649 * src/core/na-iio-provider.c (interface_base_init):
650 * src/core/na-io-provider.c (io_provider_set_provider):
651 * src/core/na-pivot.c (on_item_changed_timeout): Updated accordingly.
653 * src/core/na-iio-provider.c
654 * src/core/na-settings.c (na_settings_new):
655 * src/utils/na-gconf2key.sh.in: Global configuration file goes to /etc/xdg.
657 * src/core/na-pivot.c:
658 * src/core/na-pivot.h (na_pivot_register):
659 * src/core/na-settings.c:
660 * src/core/na-settings.h (na_settings_register):
661 * src/plugin-menu/nautilus-actions.c (instance_constructed):
664 2011-01-09 Pierre Wieser <pwieser@trychlos.org>
666 * src/nact/base-application.c (display_dlg): Setup parent window.
668 * src/api/na-iimporter.h:
669 * src/core/na-io-provider.c:
670 * src/core/na-object-id.c:
671 * src/core/na-object-item.c:
672 * src/io-desktop/nadp-utils.c:
673 * src/nact/nact-assistant-import.c:
674 * src/nact/nact-iactions-list-bis.c:
675 * src/nact/nact-iactions-list.h:
676 * src/nact/nact-main-window.c:
677 * src/nact/nact-preferences.ui:
678 * src/nact/nact-tree-model.c: Remove all deprecated references to an UUID.
680 * po/POTFILES.in: Add src/io-desktop/nadp-formats.c file.
682 * src/core/na-object-profile-factory.c:
683 Remove %o/%O parameters from description of version 2.0.
684 Add a missing line feed.
686 * tools/check-po.sh: Adapt to glade files.
688 2011-01-08 Pierre Wieser <pwieser@trychlos.org>
690 * src/utils/nautilus-actions-new.c (init_options):
691 * src/utils/nautilus-actions-run.c (init_options):
692 * src/utils/nautilus-actions-schemas.c (init_options):
693 Initialize translation domain for GOptionContext.
695 * src/core/na-data-boxed.c
696 (string_spec, slist_spec, bool_spec, pointer_spec, uint_spec):
697 * src/core/na-export-format.c
698 (na_export_format_get_label, na_export_format_get_description):
699 * src/core/na-iabout.c (na_iabout_display):
700 * src/core/na-object-action.c (na_object_action_new_with_defaults):
701 * src/core/na-object-menu.c (na_object_menu_new_with_defaults):
702 * src/io-xml/naxml-writer.c (write_data_schema_v1_element):
703 * src/nact/nact-add-capability-dialog.c (on_base_runtime_init_dialog):
704 * src/nact/nact-ienvironment-tab.c (nact_ienvironment_tab_runtime_init_toplevel):
705 * src/nact/nact-iproperties-tab.c (on_tab_updatable_selection_changed):
706 * src/nact/nact-main-menubar-file.c (nact_main_menubar_file_save_items):
707 * src/nact/nact-match-list.c (get_must_match_header, insert_new_row):
708 * src/nact/nact-tree-model-dnd.c
709 (is_drop_possible, is_drop_possible_before_iter,
710 is_drop_possible_into_dest, is_parent_accept_new_childs):
711 Use gettext() to display localized static strings.
713 * src/api/na-data-def.h: Complete the description of the fields.
715 * src/core/na-io-provider.c:
716 * src/core/na-object-profile-factory.c:
717 * src/nact/nact-assistant-export.ui:
718 * src/nact/nautilus-actions-config-tool.ui:
719 Fix various mistakes and mispellings reported by Fr translation team.
721 * configure.ac: Post-release bump version number.
723 2011-01-07 Pierre Wieser <pwieser@trychlos.org>
725 * src/core/na-pivot.c (na_pivot_register): New function.
727 * src/plugin-menu/nautilus-actions.c:
728 Replace NAIPivotConsumer interface with na_settings() accessors.
730 * src/core/na-settings.c:
731 * src/core/na-settings.h: New files.
733 * src/utils/na-gconf2key.sh.in:
734 Make sure that GConf is at the end of the list of I/O providers.
735 Make sure that GConf is locked.
736 Migrate all I/O provider preferences.
739 * src/utils/Makefile.am:
740 * src/utils/na-gconf2key.sh.in:
741 nautilus-actions-gconf2desktop.sh.in is renamed as na-gconf2key.sh.in,
742 and is installed in PKGLIBEXECDIR.
744 * src/core/Makefile.am:
745 * src/core/na-gconf-migration.c: Updated accordingly.
747 * src/utils/Makefile.am:
748 nautilus-actions-delete is renamed as na-delete-xmltree,
749 and is installed in PKGLIBEXECDIR.
751 * src/core/na-core-utils.c (na_core_utils_print_version):
752 Print the compilation version of GLib2 and Gtk+ when in debug mode.
754 * src/utils/Makefile.am:
755 nautilus-actions-schemas is renamed as na-print-schemas,
756 and is installed in PKGLIBEXECDIR.
758 2011-01-06 Pierre Wieser <pwieser@trychlos.org>
760 * src/nact/nact-main-window.c (iabout_get_toplevel):
761 Let the About dialog get the toplevel window.
763 * src/nact/nact-preferences.ui:
764 * src/nact/nautilus-actions-config-tool.ui:
765 Apply patch provided by Christian Kirbach. Fix #638548.
767 Use the same script to migrate items and preferences.
769 * README-GCONF: Document migrated and renamed preferences.
771 * src/utils/nautilus-actions-gconf2desktop.sh.in:
772 Rewrite migrated preferences as keyed files.
773 At last, remove the whole Nautilus-Actions tree from GConf.
775 2011-01-05 Pierre Wieser <pwieser@trychlos.org>
777 * src/utils/console-utils.c (console_cmdline_get_description):
778 Returns the full address of the page to enter a new bug in Bugzilla.
780 * src/core/na-gconf-migration.c:
781 * src/core/na-gconf-migration.h (na_gconf_migration_run): New function.
783 * src/core/Makefile.am: Updated accordingly.
785 * src/nact/nact-main.c (main):
786 * src/plugin-menu/nautilus-module.c (nautilus_module_initialize):
787 * src/utils/nautilus-actions-new.c (main):
788 * src/utils/nautilus-actions-run.c (main):
789 Automatically run the migration tool at startup.
791 * src/utils/nautilus-actions-gconf2desktop.sh.in:
792 * src/utils/nautilus-actions-delete.c:
793 * src/utils/nautilus-actions-print.c:
794 New items migration script and programs.
795 They take care of migrating users and mandatory items to .desktop files.
798 * src/utils/Makefile.am:
799 * src/utils/.gitignore: Updated accordingly.
801 2011-01-04 Pierre Wieser <pwieser@trychlos.org>
803 * src/core/na-tokens.c (na_tokens_new_from_selection):
804 No more prepare the list string of selection.
805 Directly build the selection list in the correct order.
806 (execute_action_command): Setup the working directory.
808 * src/core/na-tokens.c:
809 * src/core/na-tokens.h (na_tokens_parse_parameters):
810 Renamed as na_tokens_parse_for_display() as filenames are not quoted
811 when displayed as part of an expanded label.
813 * src/nact/nact-icommand-tab.c (parse_parameters):
814 * src/plugin-menu/nautilus-actions.c (expand_tokens_item):
817 * configure.ac: Fix "API Reference generation" message.
819 * m4/na-enable-manuals.m4:
820 Better specify that --enable-html-manuals (resp. pdf) are for user's manuals.
822 * src/core/na-selected-info.c (new_from_uri):
823 - Add an excerpt from RFC 2396 about valid characters in URIs.
824 - Prefer the filename from g_filename_from_uri() when possible.
826 * src/core/na-tokens.c
827 (na_tokens_new_from_selection): Also g_shell_quote() the URI to preserve quotes.
828 (build_string_lists_item): Removed function.
830 * src/core/na-iabout.c (na_iabout_display):
831 Fix typo in comment, adding a note to the translators.
833 2011-01-03 Pierre Wieser <pwieser@trychlos.org>
835 * src/core/na-io-provider.c:
836 * src/core/na-io-provider.h (na_io_provider_are_writings_authorized):
839 * configure.ac: Define a conditional if we have both GSettings and GConf.
841 * src/core/na-gsettings-migrate.c:
842 * src/core/na-gsettings-migrate.h: New files.
844 * src/core/Makefile.am: Updated accordingly.
846 * src/core/na-pivot.c (instance_constructed):
847 Call na_gsettings_migrate() if we have both GSettings and GConf.
850 - Define HAVE_GSETTINGS variable.
851 - Define HAVE_GCONF variable.
853 2011-01-02 Pierre Wieser <pwieser@trychlos.org>
855 * src/nact/egg-desktop-file.c:
856 Get ride of tests for Gtk+ 2.12.0 as this is the minimal required version.
858 * src/nact/base-keysyms.h:
859 * src/nact/egg-sm-client-private.h:
860 * src/nact/egg-sm-client-xsmp.c:
861 * src/nact/nact-add-capability-dialog.c:
862 * src/nact/nact-add-scheme-dialog.c:
863 * src/nact/nact-main-tab.c:
864 * src/nact/nact-clipboard.c:
865 * src/nact/nact-tree-model-dnd.c:
866 * src/nact/nact-gtk-utils.c:
867 * src/nact/nact-iaction-tab.c:
868 * src/nact/nact-main-statusbar.c:
869 * src/nact/nact-main-menubar.c:
870 * src/nact/nact-schemes-list.c: Use GTK_CHECK_VERSION macro.
873 * m4/na-check-for-gtk.m4:
874 Move back gtk_required variable to improve readibility of configure.ac.
876 2011-01-01 Pierre Wieser <pwieser@trychlos.org>
878 * configure.ac: Post release version bump.
880 * NEWS: Update NEWS before release.
882 * src/plugin-menu/nautilus-actions.c (create_root_menu):
883 Update the root menu label to better reflect the product name.
885 * src/nact/nautilus-actions-config-tool.ui:
886 Use gtk-find instead of gtk-find-and-replace stock icon for browse buttons.
888 * src/nact/nact-iaction-tab.c (nact_iaction_tab_initial_load_toplevel):
889 Display again stock icons in NACT.
890 Fix #638461 - Stock icons are no more displayed in NACT.
892 * Almost all files modified:
893 Update copyright message.
894 Set Nautilus-Actions as being the actual official product name.
896 * src/core/na-selected-info.c (new_from_nautilus_file_info):
897 Fix pathname breakdown for 'x-nautilus-desktop:///' URI.
898 Fix #638450 - Nautilus crashes when opening Trash or Network.