1 2011-01-22 Pierre Wieser <pwieser@trychlos.org>
3 * src/nact/base-window.c:
4 * src/nact/base-window.h
5 (runtime_init_toplevel): Renamed as initialize_base_window().
6 (class_init): Fix cclosure_marshall for signals without argument.
8 * src/nact/base-window.c:
9 * src/nact/base-window.h
10 (get_toplevel_name, get_ui_filename): Removed virtual functions.
12 * src/nact/nact-add-capability-dialog.c:
13 * src/nact/nact-add-scheme-dialog.c:
14 * src/nact/nact-assistant-export.c:
15 * src/nact/nact-assistant-import.c:
16 * src/nact/nact-confirm-logout.c:
17 * src/nact/nact-export-ask.c:
18 * src/nact/nact-icon-chooser.c:
19 * src/nact/nact-main-window.c:
20 * src/nact/nact-preferences-editor.c: Updated accordingly.
22 * src/nact/base-window.c:
23 * src/nact/base-window.h:
24 Revert commits dfb26ec5, 1991b3b7 and 4d0c43bb due to new virtual method
26 Pass the GtkWindow toplevel as a parameter of 'base-window-initialize-gtk'
28 initial_load_toplevel() virtual method is renamed as initialize_gtk_toplevel().
30 * src/nact/nact-main-window.c:
31 No more connect to the signal, but implement the virtual method.
33 * src/nact/base-application.c (appli_initialize_manage_options):
34 * src/nact/base-application.h (manage_options):
35 * src/nact/nact-application.c (appli_manage_options):
36 Revert commit 3acf600874.
38 * src/test/test-virtuals.c: Do some more tests on virtual methods.
40 * src/nact/base-window.c (on_initialize_gtk_toplevel_class_handler,
41 on_initialize_base_window_class_handler,
42 on_all_widgets_showed_class_handler, base_window_is_willing_to_quit):
43 Succssively invoke all derived class methods.
45 * src/nact/base-window.h (initial_load_toplevel, runtime_init_toplevel,
46 all_widgets_showed, is_willing_to_quit): Update comments.
48 * src/nact/base-application.c (appli_initialize_manage_options):
49 Successively invoke all derived class methods.
51 * src/nact/base-application.h (manage_options): Update comment.
53 * src/nact/nact-application.c (appli_manage_options): Updated accordingly.
55 * src/nact/base-builder.c:
56 * src/nact/base-builder.h (base_builder_get_toplevel_by_name):
57 Use a const BaseBuilder as argument;
59 * src/nact/base-window.c:
60 * src/nact/base-window.h (base_window_get_widget_from_gtk):
63 * src/nact/nact-gtk-utils.c:
64 * src/nact/nact-gtk-utils.h (nact_gtk_utils_get_widget_by_name):
67 * src/nact/nact-icon-chooser.c (on_destroy): Updated accordingly.
69 * src/nact/base-application.c (appli_initialize_unique_app):
72 * src/nact/base-builder.c:
73 * src/nact/base-builder.h (base_builder_load_named_toplevel):
74 Renamed as base_builder_get_toplevel_by_name().
76 * src/nact/base-window.c: Updated accordingly.
78 2011-01-21 Pierre Wieser <pwieser@trychlos.org>
80 * src/nact/base-window.c:
81 * src/nact/base-window.h (base_window_peek_widget):
82 Renamed as base_window_get_widget_from_gtk().
84 * src/nact/nact-icon-chooser.c: Updated accordingly.
86 * src/nact/base-window.c:
87 * src/nact/base-window.h (base_window_get_named_toplevel):
88 Renamed as base_window_get_gtk_toplevel_by_name().
90 * src/nact/nact-icommand-tab.c: Updated accordingly.
92 * src/nact/base-window.c:
93 * src/nact/base-window.h (base_window_get_toplevel):
94 Renamed as base_window_get_gtk_toplevel().
96 * src/nact/base-application.c:
97 * src/nact/base-assistant.c:
98 * src/nact/base-iprefs.c:
99 * src/nact/nact-add-capability-dialog.c:
100 * src/nact/nact-add-scheme-dialog.c:
101 * src/nact/nact-assistant-export.c:
102 * src/nact/nact-assistant-import.c:
103 * src/nact/nact-confirm-logout.c:
104 * src/nact/nact-export-ask.c:
105 * src/nact/nact-gtk-utils.c:
106 * src/nact/nact-icommand-tab.c:
107 * src/nact/nact-icon-chooser.c:
108 * src/nact/nact-ifolders-tab.c:
109 * src/nact/nact-main-menubar.c:
110 * src/nact/nact-main-window.c:
111 * src/nact/nact-match-list.c:
112 * src/nact/nact-preferences-editor.c:
113 * src/nact/nact-tree-model-dnd.c: Updated accordingly.
115 * src/nact/base-window.c:
116 * src/nact/base-window.h: Rename signal defines.
118 * src/nact/base-assistant.c:
119 * src/nact/nact-add-capability-dialog.c:
120 * src/nact/nact-add-scheme-dialog.c:
121 * src/nact/nact-assistant-export.c:
122 * src/nact/nact-assistant-import.c:
123 * src/nact/nact-confirm-logout.c:
124 * src/nact/nact-export-ask.c:
125 * src/nact/nact-icon-chooser.c:
126 * src/nact/nact-main-window.c:
127 * src/nact/nact-preferences-editor.c: Updated accordingly.
129 * src/nact/base-window.c:
130 * src/nact/base-window.h:
131 Remove unused properties.
132 (base_window_error_dlg, base_window_yesno_dlg): Removed functions.
134 * src/nact/base-assistant.c:
135 * src/nact/nact-main-menubar-edit.c:
136 * src/nact/nact-main-menubar-file.c:
137 * src/nact/nact-main-window.c
138 * src/nact/nact-window.c: Updated accordingly.
140 * src/nact/base-window-class.h: Removed file.
142 * src/nact/base-window.h:
143 * src/nact/Makefile.am: Updated accordingly.
145 * src/utils/na-gconf2key.sh.in:
146 Get ride of possible error messages when forcing gconfd-2 synchro.
148 * src/nact/base-application.c:
149 * src/nact/base-application.h (base_application_message_dlg,
150 base_application_error_dlg, base_application_yesno_dlg):
151 Functions are moved to BaseWindow class.
153 * src/nact/base-window.c:
154 * src/nact/base-window.h
155 (base_window_display_yesno_dlg, base_window_display_message_dlg):
158 * src/nact/base-application.c:
159 * src/nact/base-application.h
160 (base_application_get_ui_filename): Removed function.
161 (get_ui_filename): Removed virtual method.
163 * src/nact/nact-application.c
164 (appli_get_gtkbuilder_filename):Removed function.
166 * src/nact/base-window.c (base_window_init): Rewrite BaseWindow initialization.
168 * src/nact/nact-main-window.c (nact_main_window_new):
169 Initialize the main window with XML UI properties.
171 * src/nact/base-window.c:
172 * src/nact/base-window.h: Rename initialization properties.
174 * src/nact/nact-add-capability-dialog.c:
175 * src/nact/nact-add-scheme-dialog.c:
176 * src/nact/nact-assistant-export.c:
177 * src/nact/nact-assistant-import.c:
178 * src/nact/nact-confirm-logout.c:
179 * src/nact/nact-export-ask.c:
180 * src/nact/nact-icon-chooser.c:
181 * src/nact/nact-main-window.c:
182 * src/nact/nact-preferences-editor.c: Updated accordingly.
184 * src/nact/base-application.c:
185 * src/nact/base-application.h:
186 Define new 'base-application-description' property.
187 Remove unused properties.
189 * src/nact/nact-application.c (nact_application_new):
190 Make use of the new property at instanciation time.
192 2011-01-20 Pierre Wieser <pwieser@trychlos.org>
194 * src/nact/base-window.c:
195 * src/nact/base-window.h (base_window_display_error_dlg): New function.
197 * src/nact/base-application.c:
198 * src/nact/base-application.h (base_application_get_icon_name):
201 * src/nact/base-application.c:
202 * src/nact/base-application.h
203 (initialize_i18n, initialize_application_name, get_application_name,
204 initialize_default_icon, get_icon_name, initialize_gtk,
205 initialize_session_manager, get_unique_app_name, initialize_ui,
206 initialize_unique_app, initialize, run, get_main_window,
207 initialize_application): Remove virtual methods.
209 * src/nact/nact-application.c (appli_get_application_name,
210 appli_get_icon_name, appli_get_unique_app_name,
211 appli_initialize_application): Removed functions.
213 * src/nact/nact-application.c (nact_application_new_with_args):
214 Make NactApplication initializes with these new properties.
216 * src/nact/base-application.c:
217 * src/nact/base-application.h: Define new properties.
219 * src/nact/base-application-class.h: Removed file.
221 * src/nact/Makefile.am:
222 * src/nact/base-application.h:
223 * src/nact/base-window-class.h:
224 * src/nact/base-window.h: Updated accordingly.
226 * src/nact/base-application-class.h (main_window_new):
227 * src/nact/base-application.c (application_do_run):
228 * src/nact/nact-application.c
229 * src/nact/nact-main-window.h (appli_main_window_new):
230 Move the creation of the main window to the main_window_new() method.
231 Remove base_application_get_main_window() function.
233 * src/nact/base-application-class.h (manage_options):
234 * src/nact/base-application.c:
235 * src/nact/nact-application.c: Return exit code of the program.
237 * src/nact/nact-tree-model-dnd.c
238 (drop_inside, is_drop_possible, drop_uri_list):
239 * src/nact/base-window.c (is_main):
240 Remove base_application_get_main_window() invocations.
242 * src/nact/nact-main.c: Renamed as main.c
244 * src/nact/Makefile.am: Updated accordingly.
246 * tools/Makefile.am: Generate the check-header.c source if it is missing.
248 * src/plugin-tracker/na-tracker-dbus.c:
249 * src/plugin-tracker/na-tracker-dbus.h:
250 * src/plugin-tracker/na-tracker.c:
251 * src/plugin-tracker/na-tracker.h: Cosmetic changes in src/plugin-tracker headers.
253 * src/plugin-menu/nautilus-actions.c:
254 * src/plugin-menu/nautilus-actions.h: Cosmetic changes in src/plugin-menu headers.
256 * src/nact/base-application.c:
257 * src/nact/base-application-class.h:
258 * src/nact/base-assistant.c:
259 * src/nact/base-assistant.h:
260 * src/nact/base-builder.c:
261 * src/nact/base-builder.h:
262 * src/nact/base-dialog.c:
263 * src/nact/base-dialog.h:
264 * src/nact/base-iprefs.c:
265 * src/nact/base-iprefs.h:
266 * src/nact/base-window.c:
267 * src/nact/base-window-class.h:
268 * src/nact/egg-tree-multi-dnd.h:
269 * src/nact/nact-add-capability-dialog.c:
270 * src/nact/nact-add-capability-dialog.h:
271 * src/nact/nact-add-scheme-dialog.c:
272 * src/nact/nact-add-scheme-dialog.h:
273 * src/nact/nact-application.c:
274 * src/nact/nact-application.h:
275 * src/nact/nact-assistant-export.c:
276 * src/nact/nact-assistant-export.h:
277 * src/nact/nact-assistant-import.c:
278 * src/nact/nact-assistant-import.h:
279 * src/nact/nact-clipboard.c:
280 * src/nact/nact-clipboard.h:
281 * src/nact/nact-confirm-logout.c:
282 * src/nact/nact-confirm-logout.h:
283 * src/nact/nact-export-ask.c:
284 * src/nact/nact-export-ask.h:
285 * src/nact/nact-iactions-list.c:
286 * src/nact/nact-iactions-list.h:
287 * src/nact/nact-iaction-tab.c:
288 * src/nact/nact-iaction-tab.h:
289 * src/nact/nact-ibasenames-tab.c:
290 * src/nact/nact-ibasenames-tab.h:
291 * src/nact/nact-icapabilities-tab.c:
292 * src/nact/nact-icapabilities-tab.h:
293 * src/nact/nact-icommand-tab.c:
294 * src/nact/nact-icommand-tab.h:
295 * src/nact/nact-icon-chooser.h:
296 * src/nact/nact-ienvironment-tab.c:
297 * src/nact/nact-ienvironment-tab.h:
298 * src/nact/nact-iexecution-tab.c:
299 * src/nact/nact-iexecution-tab.h:
300 * src/nact/nact-ifolders-tab.c:
301 * src/nact/nact-ifolders-tab.h:
302 * src/nact/nact-imimetypes-tab.c:
303 * src/nact/nact-imimetypes-tab.h:
304 * src/nact/nact-iproperties-tab.c:
305 * src/nact/nact-iproperties-tab.h:
306 * src/nact/nact-ischemes-tab.c:
307 * src/nact/nact-ischemes-tab.h:
308 * src/nact/nact-main-window.c:
309 * src/nact/nact-main-window.h:
310 * src/nact/nact-preferences-editor.c:
311 * src/nact/nact-preferences-editor.h:
312 * src/nact/nact-tree-model.c:
313 * src/nact/nact-tree-model.h:
314 * src/nact/nact-tree-model-priv.h:
315 * src/nact/nact-window.c:
316 * src/nact/nact-window.h: Cosmetic changes in src/nact headers.
318 * src/io-xml/naxml-provider.c:
319 * src/io-xml/naxml-provider.h:
320 * src/io-xml/naxml-reader.c:
321 * src/io-xml/naxml-reader.h:
322 * src/io-xml/naxml-writer.c:
323 * src/io-xml/naxml-writer.h: Cosmetic changes in src/io-xml headers.
325 * src/io-gconf/nagp-gconf-provider.c:
326 * src/io-gconf/nagp-gconf-provider.h: Cosmetic changes in src/io-gconf headers.
328 * src/io-desktop/nadp-desktop-file.c:
329 * src/io-desktop/nadp-desktop-file.h:
330 * src/io-desktop/nadp-desktop-provider.c:
331 * src/io-desktop/nadp-desktop-provider.h:
332 * src/io-desktop/nadp-monitor.c:
333 * src/io-desktop/nadp-monitor.h: Cosmetic changes in src/io-desktop headers.
335 * src/core/na-export-format.h:
336 * src/core/na-iabout.h:
337 * src/core/na-importer-ask.h:
338 * src/core/na-io-provider.h:
339 * src/core/na-ipivot-consumer.h:
340 * src/core/na-module.h:
341 * src/core/na-pivot.h:
342 * src/core/na-selected-info.h:
343 * src/core/na-settings.h:
344 * src/core/na-tokens.h:
345 * src/core/na-updater.h: Cosmetic changes in src/core headers.
347 * src/api/na-data-boxed.h:
348 * src/api/na-data-types.h:
349 * src/api/na-gconf-monitor.h:
350 * src/api/na-gconf-utils.h:
351 * src/api/na-icontext.h:
352 * src/api/na-iduplicable.h:
353 * src/api/na-iexporter.h:
354 * src/api/na-ifactory-object.h:
355 * src/api/na-ifactory-provider.h:
356 * src/api/na-iio-provider.h:
357 * src/api/na-object-action.h:
358 * src/api/na-object.h:
359 * src/api/na-object-id.h:
360 * src/api/na-object-item.h:
361 * src/api/na-object-menu.h:
362 * src/api/na-object-profile.h:
363 * src/core/na-data-boxed.c: Cosmetic changes in src/api headers.
365 * src/utils/na-gconf2key.sh.in:
366 * tools/check-headers.sh:
368 * tools/init-finalize-diff.sh:
369 * tools/release-tarball.sh: Replace basename with a shell substitution.
371 2011-01-19 Pierre Wieser <pwieser@trychlos.org>
373 * tools/release-tarball.sh: Full script rewrite.
376 * Makefile.am: Add README-GCONF to the distribution.
378 * tools/check-po.sh: Script rewriting.
380 * NEWS: Update before 3.0.7 release.
382 2011-01-18 Pierre Wieser <pwieser@trychlos.org>
384 * src/core/na-export-format.c (na_export_format_get_description):
385 * src/core/na-importer-ask.c (na_importer_ask_user):
386 * src/core/na-importer.c (import_from_uri):
387 * src/core/na-io-provider.c (na_io_provider_get_name):
388 * src/core/na-iprefs.c:
389 * src/core/na-iprefs.h (na_iprefs_get_import_mode,
390 na_iprefs_get_order_mode, na_iprefs_get_export_format):
391 * src/core/na-settings.c:
392 * src/nact/nact-assistant-export.c (on_initial_load_dialog):
393 * nact/nact-assistant-import.c (runtime_init_duplicates):
394 * src/nact/nact-clipboard.c (export_row_object):
395 * src/nact/nact-export-ask.c:
396 * nact/nact-export-format.c:
397 * src/nact/nact-export-format.h(nact_export_format_init_display):
398 * src/nact/nact-gtk-utils.c:
399 * src/nact/nact-gtk-utils.h (nact_gtk_utils_radio_set_initial_state,
400 nact_gtk_utils_radio_reset_initial_state,
401 nact_gtk_utils_toggle_set_initial_state,
402 nact_gtk_utils_toggle_reset_initial_state):
403 * src/nact/nact-ienvironment-tab.c
404 (on_tab_updatable_selection_changed):
405 * src/nact/nact-iexecution-tab.c (on_tab_updatable_selection_changed):
406 * src/nact/nact-main-window.c (on_base_runtime_init_toplevel):
407 * src/nact/nact-preferences-editor.c:
408 * src/nact/nact-preferences.ui:
409 * src/nact/nact-tree-model-dnd.c (drop_uri_list):
410 * src/nact/nact-tree-model.c (tree_model_new):
411 Manage locked and mandatory preferences.
413 * src/core/na-boxed.c (na_boxed_new_from_string_with_sep):
414 Do not eat last character.
417 * src/core/na-settings.h:
418 * src/utils/na-gconf2key.sh.in:
419 Rename 'import-mode-keep-last-choice' as 'import-ask-user-keep-last-choice'.
421 2011-01-17 Pierre Wieser <pwieser@trychlos.org>
423 * src/nact/nact-preferences-editor.c:
424 Reopen the Preferences on the last used tab.
426 * src/core/na-boxed.c (na_boxed_new_from_string_with_sep):
427 Fix handling of last separator.
429 * src/nact/nact-schemes-list.c: Do not allow modification
430 of default schemes list if preferences are locked or property
433 * src/core/na-io-provider.c:
434 * src/core/na-io-provider.h (na_io_provider_is_conf_readable,
435 na_io_provider_is_conf_writable):
436 Returns mandatory flag.
437 List I/O providers in write order.
439 * src/core/na-updater.c (na_updater_is_item_writable): Updated accordingly.
441 * src/nact/nact-providers-list.c: Do not allow modification of I/O
442 providers readability/writability/write order properties if
443 preferences are locked or properties mandatory.
445 * src/core/na-module.c (na_module_release_modules): Release the loaded module.
447 2011-01-16 Pierre Wieser <pwieser@trychlos.org>
449 * run-distcheck.sh: New file.
451 Add a script to check completeness of header files.
455 * tools/check-headers.sh: New files.
457 * src/test/test-include.c:
458 Renamed as tools/check-header.c and set it as ignored by git.
460 * src/test/.gitignore:
461 * src/test/Makefile.am: Updated accordingly.
464 * configure.ac: configure in tools/.
466 * src/api/na-data-boxed.h:
467 * src/api/na-data-types.h:
468 * src/api/na-gconf-monitor.h:
469 * src/api/na-gconf-utils.h: Test for NA_DISABLE_DEPRECATED deprecation define.
471 * run-distcheck.sh: New file.
473 * tools/check-po.sh: Rewrite to have options and messages management.
475 * src/utils/na-gconf2key.sh.in: Review comment.
477 * src/utils/Makefile.am: Add na-gconf2key.sh.in to the distributed files.
479 * docs/reference/Makefile.am: Set the deprecation flags for gtkdoc-scan.
481 * tools/check-po.sh: Set the count of errors as exit code.
483 * po/POTFILES.in: Updated.
485 * src/api/na-gconf-utils.h:
486 * src/core/na-gconf-utils.c: Is marked deprecated as of 3.1.0.
488 * src/api/na-gconf-monitor.h:
489 * src/core/na-gconf-monitor.c: Is marked deprecated as of 3.1.0.
491 * src/utils/nautilus-actions-new.c: Output to stdout or as .desktop file.
493 * src/utils/na-print-schemas.c: Add a deprecation comment.
495 * src/core/na-io-provider.c:
496 * src/core/na-io-provider.h (na_io_provider_find_io_provider_by_id):
499 * src/utils/nautilus-actions-print.c: Move program summary as a global def.
501 2011-01-15 Pierre Wieser <pwieser@trychlos.org>
503 * tools/init-finalize-diff.sh: Fix the interpretation of debug messages.
505 * src/test/test-module.c:
506 * src/test/test-module-plugin.c: New files.
508 * src/test/.gitignore:
509 * src/test/Makefile.am: Updated accordingly.
511 * src/nact/nact-schemes-list.c: Remove gconf-client.h include.
513 * src/nact/base-iprefs.c
514 (base_iprefs_position_named_window): Do not force a null window size or position.
516 * src/core/na-settings.c
517 (na_settings_get_string_list): Do not allocate an empty string list.
519 * src/core/na-pivot.c (instance_dispose): Release the NASettings object.
521 * src/core/na-object-id.c:
522 * src/core/na-object-item.c: Remove no more used instance_init debug messages.
524 * src/core/na-data-boxed.c:
525 * src/core/na-gconf-monitor.c:
526 * src/core/na-io-provider.c:
527 * src/core/na-tokens.c:
528 * src/core/na-updater.c:
529 * src/io-desktop/nadp-desktop-file.c:
530 * src/io-desktop/nadp-desktop-provider.c:
531 * src/io-desktop/nadp-monitor.c:
532 * src/io-gconf/nagp-gconf-provider.c:
533 * src/io-xml/naxml-provider.c:
534 * src/nact/base-application.c:
535 * src/nact/base-builder.c:
536 * src/nact/base-window.c:
537 * src/nact/nact-application.c:
538 * src/nact/nact-clipboard.c:
539 * src/nact/nact-main-window.c:
540 * src/nact/nact-tree-model.c:
541 * src/nact/nact-window.c: Add instance_finalize debug message.
543 * src/core/na-core-utils.c (na_core_utils_slist_dump): Display string length.
545 * src/core/na-boxed.c
546 (na_boxed_free): Only free a non null structure.
547 (na_boxed_new_from_string_with_sep): Do not try to split an empty string.
548 (na_boxed_get_boolean, na_boxed_get_pointer, na_boxed_get_string,
549 na_boxed_get_string_list, na_boxed_get_uint, na_boxed_get_uint_list):
550 Do not try to return a value for a null structure.
552 * m4/na-maintainer-mode.m4: Define a conditional when in maintainer mode.
554 2011-01-14 Pierre Wieser <pwieser@trychlos.org>
556 * src/utils/na-delete-xmltree.c:
557 * src/utils/nautilus-actions-print.c: Add localization code.
559 * src/utils/nautilus-actions-new.c:
560 * src/utils/nautilus-actions-run.c:
561 * src/utils/nautilus-actions-schemas.c: Add locale.h include.
563 * src/core/na-boxed.c (boxed_new, na_boxed_copy, na_boxed_new_from_string,
564 na_boxed_new_from_string_with_sep, na_boxed_free):
565 Add debug messages when allocating/freeing a NABoxed structure.
567 * src/nact/nact-icommand-tab.c (on_wdir_browse):
568 Remove no more used default value.
570 * src/nact/nact-icon-chooser.c
571 (fillup_icons_by_path, on_path_selection_changed): Store last folder uri.
573 * src/core/na-settings.h: Preference renamed accordingly.
576 * src/core/na-settings.h:
577 * src/utils/na-gconf2key.sh.in:
578 '-last-folder-uri' preferences are renamed as '-lfu'.
580 * src/core/na-settings.c: Set default values.
582 * src/nact/nact-gtk-utils.c:
583 * src/nact/nact-gtk-utils.h (nact_gtk_utils_select_file,
584 nact_gtk_utils_select_file_with_preview, nact_gtk_utils_select_dir):
585 Remove no more used default value.
587 * src/nact/nact-icommand-tab.c (on_path_browse, on_wdir_browse):
588 * src/nact/nact-ienvironment-tab.c (on_try_exec_browse,
589 on_show_if_running_browse): Updated accordingly.
591 * src/core/na-boxed.c (string_list_from_array, uint_list_from_array):
592 Do not allocate the empty last element.
594 * src/core/na-io-provider.c (load_items_get_merged_list):
595 * src/core/na-iprefs.c (na_iprefs_get_io_providers):
596 Use the correct list pointer.
598 * src/core/na-iprefs.c:
599 * src/core/na-iprefs.h
600 (na_iprefs_get_export_format, na_iprefs_set_export_format):
601 Functions moved from src/nact/nact-iprefs.c.
603 * src/nact/nact-iprefs.c:
604 * src/nact/nact-iprefs.h: Removed files.
606 * src/nact/Makefile.am:
607 * src/nact/base-window.c:
608 * src/nact/nact-assistant-export.c:
609 * src/nact/nact-assistant-import.c:
610 * src/nact/nact-clipboard.c:
611 * src/nact/nact-export-ask.c:
612 * src/nact/nact-export-format.c:
613 * src/nact/nact-gtk-utils.c:
614 * src/nact/nact-iaction-tab.c:
615 * src/nact/nact-icommand-tab.c:
616 * src/nact/nact-ifolders-tab.c:
617 * src/nact/nact-main-toolbar.c:
618 * src/nact/nact-preferences-editor.c:
619 * src/nact/nact-tree-model-dnd.c: Updated accordingly.
621 * src/nact/nact-iprefs.c:
622 * src/nact/nact-iprefs.h (nact_iprefs_write_bool, nact_iprefs_write_uint,
623 nact_iprefs_write_string): Remove deprecated functions.
625 * src/nact/nact-main-toolbar.c (nact_main_toolbar_activate):
628 * src/nact/base-iprefs.c:
629 * src/nact/base-iprefs.h (base_iprefs_get_int, base_iprefs_set_int):
630 Remove deprecated functions.
632 * src/nact/nact-icon-chooser.c (instance_dispose, on_base_runtime_init_dialog):
633 * src/nact/nact-main-window.c (instance_dispose, on_base_initial_load_toplevel):
636 * src/nact/nact-iprefs.c:
637 * src/nact/nact-iprefs.h (nact_iprefs_migrate_key): Remove deprecated function.
639 * src/nact/nact-icommand-tab.c (nact_icommand_tab_initial_load_toplevel):
642 Global renaming of preferences.
645 * src/api/na-iio-provider.h:
646 * src/core/na-export-format.h:
647 * src/core/na-exporter.h:
648 * src/core/na-importer-ask.h:
649 * src/core/na-importer.c:
650 * src/core/na-io-provider.c:
651 * src/core/na-io-provider.h:
652 * src/core/na-iprefs.c:
653 * src/core/na-iprefs.h:
654 * src/core/na-module.c:
655 * src/core/na-pivot.c:
656 * src/core/na-pivot.h:
657 * src/core/na-settings.c:
658 * src/core/na-settings.h:
659 * src/core/na-updater.c:
660 * src/nact/nact-add-capability-dialog.c:
661 * src/nact/nact-add-scheme-dialog.c:
662 * src/nact/nact-assistant-export.c:
663 * src/nact/nact-assistant-import.c:
664 * src/nact/nact-clipboard.c:
665 * src/nact/nact-export-ask.c:
666 * src/nact/nact-gtk-utils.c:
667 * src/nact/nact-iactions-list.c:
668 * src/nact/nact-icommand-tab.c:
669 * src/nact/nact-icon-chooser.c:
670 * src/nact/nact-ienvironment-tab.c:
671 * src/nact/nact-ifolders-tab.c:
672 * src/nact/nact-iprefs.c:
673 * src/nact/nact-iprefs.h:
674 * src/nact/nact-main-menubar-edit.c:
675 * src/nact/nact-main-menubar-file.c:
676 * src/nact/nact-main-menubar.c:
677 * src/nact/nact-main-toolbar.c:
678 * src/nact/nact-main-window.c:
679 * src/nact/nact-preferences-editor.c:
680 * src/nact/nact-providers-list.c:
681 * src/nact/nact-schemes-list.c:
682 * src/nact/nact-sort-buttons.c:
683 * src/nact/nact-tree-model-dnd.c:
684 * src/nact/nact-tree-model.c:
685 * src/nact/nact-window.c:
686 * src/nact/nact-window.h:
687 * src/plugin-menu/nautilus-actions.c:
688 * src/utils/na-gconf2key.sh.in:
689 * src/utils/nautilus-actions-new.c: Rename preferences.
690 >>>>>>> Globally rename preferences
692 2011-01-13 Pierre Wieser <pwieser@trychlos.org>
694 * src/core/na-settings.c:
695 * src/core/na-settings.h: Preference names are defined as '#define' values.
698 * src/utils/na-gconf2key.sh.in: Adjust preferences.
700 * src/core/na-iprefs.c:
701 * src/core/na-iprefs.h: NAIPrefs is no more an interface.
703 * src/api/na-iimporter.h:
704 * src/core/na-importer-ask.c:
705 * src/core/na-importer-ask.h:
706 * src/core/na-importer.c: Updated accordingly.
708 2011-01-12 Pierre Wieser <pwieser@trychlos.org>
710 * src/nact/nact-iprefs.c:
711 * src/nact/nact-iprefs.h: Get ride of GConf.
714 * src/core/na-settings.c:
715 * src/utils/na-gconf2key.sh.in: Add omitted 'export-ask-user-last-format' key.
717 * src/nact/nact-icommand-tab.c:
718 * src/nact/nact-ienvironment-tab.c: Update to new preferences.
721 * src/core/na-settings.c:
722 * src/utils/na-gconf2key.sh.in:
723 'folder-last-path' key is renamed as 'folder-last-folder-uri'.
725 * src/nact/nact-ifolders-tab.c: Updated accordingly.
728 * src/core/na-settings.c:
729 * src/utils/na-gconf2key.sh.in: Add 'export-ask-user-wsp' preference.
731 * src/nact/nact-add-capability-dialog.c (base_get_iprefs_window_id):
732 * src/nact/nact-add-scheme-dialog.c (base_get_iprefs_window_id):
733 * src/nact/nact-assistant-export.c (window_get_iprefs_window_id):
734 * src/nact/nact-assistant-import.c (window_get_iprefs_window_id):
735 * src/nact/nact-export-ask.c (base_get_iprefs_window_id):
736 * src/nact/nact-main-window.c
737 (instance_dispose, base_get_iprefs_window_id):
738 * src/nact/nact-preferences-editor.c (base_get_iprefs_window_id):
739 Update all preference names when saving/restoring window size and position.
741 * src/core/na-settings.c:
742 * src/core/na-settings.h: All getters/setters are implemented.
744 * src/nact/base-iprefs.c: Remove GConf stuff.
746 * src/nact/nact-icon-chooser.c:
747 * src/nact/nact-icon-chooser.ui: Implement all preferences.
749 * src/utils/na-gconf2key.sh.in:
750 Renamed preferences for windows size and position '-wsp'.
751 Also delete from GConf if only preferences have been migrated.
752 Re-sync after tree delete.
754 * src/api/na-boxed.h:
755 * src/core/na-boxed.c
756 (na_boxed_get_string, na_boxed_get_uint, na_boxed_get_uint_list):
759 * configure.ac: Enable silent rules by default.
761 * run-autogen.sh: Add sysconfdir argument to autogen.sh
763 * src/nact/nact-gtk-utils.c (nact_gtk_utils_get_pixbuf):
764 Search a pixbuf by icon theme if not found as filename or stock.
766 * src/nact/base-window.c:
767 * src/nact/base-window.h (base_window_peek_widget): New function.
769 * src/nact/nact-icon-chooser.c:
770 * src/nact/nact-icon-chooser.h:
771 * src/nact/nact-icon-chooser.ui: New files.
773 * src/nact/Makefile.am:
774 * src/nact/nact-iaction-tab.c:
775 * src/nact/nautilus-actions-config-tool.ui: Updated accordingly.
777 * src/core/na-settings.c (content_load_keys):
778 Do not warn if configuration file does not exist.
780 * src/api/na-boxed.h:
781 * src/api/na-data-boxed.h:
782 * src/api/na-data-types.h:
783 * src/core/na-boxed.c:
784 * src/core/na-data-boxed.c:
785 * src/core/na-data-types.c:
786 Update reference documentation to deprecate NADataBoxed and NADataType
789 * src/core/na-settings.c:
790 * src/core/na-settings.h: Configuration monitoring.
792 * src/plugin-menu/nautilus-actions.c:
793 Monitor all runtime preferences with only one callback.
795 * src/api/na-boxed.h:
796 * src/core/na-boxed.c (na_boxed_get_pointer): New function.
798 * run-autogen.sh: Add sysconfdir argument to autogen.sh.
800 * src/api/na-data-types.h:
801 * src/core/na-data-types.c
802 (na_data_types_copy, na_data_types_free): Removed functions.
805 * src/utils/na-gconf2key.sh.in: Fix two key label conversions.
807 * src/api/na-boxed.h:
808 * src/core/na-boxed.c: New files.
810 * src/api/Makefile.am:
811 * src/core/Makefile.am: Updated accordingly.
813 2011-01-10 Pierre Wieser <pwieser@trychlos.org>
815 * src/api/na-data-types.h:
816 * src/core/na-data-types.c
817 (na_data_types_copy, na_data_types_free, na_data_types_get_label):
820 * src/core/na-settings.c
821 (monitor_io_provider_read_status, monitor_key): Register monitored keys.
823 * src/core/na-settings.h
824 (na_settings_get_boolean_ex, na_settings_get_string_list):
827 * src/plugin-menu/nautilus-actions.c:
828 Implement runtime preferences monitoring.
829 No more use deprecated na_pivot_set_automatic_reload().
831 * src/core/na-pivot.c:
832 * src/core/na-pivot.h:
833 Replace GConf preferences monitoring with NASettings.
834 Define new PIVOT_SIGNAL_ITEMS_CHANGED signal.
836 * src/core/na-settings.c:
837 * src/core/na-settings.h
838 (na_settings_register_key_callback,
839 na_settings_register_global_callback, na_settings_get_boolean):
842 * src/api/na-iio-provider.h:
843 * src/core/na-io-provider.h: IIO_PROVIDER_SIGNAL_ITEM_CHANGED signal
844 definition is moved (and renamed) from public API to internal one.
846 * src/core/na-iio-provider.c (interface_base_init):
847 * src/core/na-io-provider.c (io_provider_set_provider):
848 * src/core/na-pivot.c (on_item_changed_timeout): Updated accordingly.
850 * src/core/na-iio-provider.c
851 * src/core/na-settings.c (na_settings_new):
852 * src/utils/na-gconf2key.sh.in: Global configuration file goes to /etc/xdg.
854 * src/core/na-pivot.c:
855 * src/core/na-pivot.h (na_pivot_register):
856 * src/core/na-settings.c:
857 * src/core/na-settings.h (na_settings_register):
858 * src/plugin-menu/nautilus-actions.c (instance_constructed):
861 2011-01-09 Pierre Wieser <pwieser@trychlos.org>
863 * src/nact/base-application.c (display_dlg): Setup parent window.
865 * src/api/na-iimporter.h:
866 * src/core/na-io-provider.c:
867 * src/core/na-object-id.c:
868 * src/core/na-object-item.c:
869 * src/io-desktop/nadp-utils.c:
870 * src/nact/nact-assistant-import.c:
871 * src/nact/nact-iactions-list-bis.c:
872 * src/nact/nact-iactions-list.h:
873 * src/nact/nact-main-window.c:
874 * src/nact/nact-preferences.ui:
875 * src/nact/nact-tree-model.c: Remove all deprecated references to an UUID.
877 * po/POTFILES.in: Add src/io-desktop/nadp-formats.c file.
879 * src/core/na-object-profile-factory.c:
880 Remove %o/%O parameters from description of version 2.0.
881 Add a missing line feed.
883 * tools/check-po.sh: Adapt to glade files.
885 2011-01-08 Pierre Wieser <pwieser@trychlos.org>
887 * src/utils/nautilus-actions-new.c (init_options):
888 * src/utils/nautilus-actions-run.c (init_options):
889 * src/utils/nautilus-actions-schemas.c (init_options):
890 Initialize translation domain for GOptionContext.
892 * src/core/na-data-boxed.c
893 (string_spec, slist_spec, bool_spec, pointer_spec, uint_spec):
894 * src/core/na-export-format.c
895 (na_export_format_get_label, na_export_format_get_description):
896 * src/core/na-iabout.c (na_iabout_display):
897 * src/core/na-object-action.c (na_object_action_new_with_defaults):
898 * src/core/na-object-menu.c (na_object_menu_new_with_defaults):
899 * src/io-xml/naxml-writer.c (write_data_schema_v1_element):
900 * src/nact/nact-add-capability-dialog.c (on_base_runtime_init_dialog):
901 * src/nact/nact-ienvironment-tab.c (nact_ienvironment_tab_runtime_init_toplevel):
902 * src/nact/nact-iproperties-tab.c (on_tab_updatable_selection_changed):
903 * src/nact/nact-main-menubar-file.c (nact_main_menubar_file_save_items):
904 * src/nact/nact-match-list.c (get_must_match_header, insert_new_row):
905 * src/nact/nact-tree-model-dnd.c
906 (is_drop_possible, is_drop_possible_before_iter,
907 is_drop_possible_into_dest, is_parent_accept_new_childs):
908 Use gettext() to display localized static strings.
910 * src/api/na-data-def.h: Complete the description of the fields.
912 * src/core/na-io-provider.c:
913 * src/core/na-object-profile-factory.c:
914 * src/nact/nact-assistant-export.ui:
915 * src/nact/nautilus-actions-config-tool.ui:
916 Fix various mistakes and mispellings reported by Fr translation team.
918 * configure.ac: Post-release bump version number.
920 2011-01-07 Pierre Wieser <pwieser@trychlos.org>
922 * src/core/na-pivot.c (na_pivot_register): New function.
924 * src/plugin-menu/nautilus-actions.c:
925 Replace NAIPivotConsumer interface with na_settings() accessors.
927 * src/core/na-settings.c:
928 * src/core/na-settings.h: New files.
930 * src/utils/na-gconf2key.sh.in:
931 Make sure that GConf is at the end of the list of I/O providers.
932 Make sure that GConf is locked.
933 Migrate all I/O provider preferences.
936 * src/utils/Makefile.am:
937 * src/utils/na-gconf2key.sh.in:
938 nautilus-actions-gconf2desktop.sh.in is renamed as na-gconf2key.sh.in,
939 and is installed in PKGLIBEXECDIR.
941 * src/core/Makefile.am:
942 * src/core/na-gconf-migration.c: Updated accordingly.
944 * src/utils/Makefile.am:
945 nautilus-actions-delete is renamed as na-delete-xmltree,
946 and is installed in PKGLIBEXECDIR.
948 * src/core/na-core-utils.c (na_core_utils_print_version):
949 Print the compilation version of GLib2 and Gtk+ when in debug mode.
951 * src/utils/Makefile.am:
952 nautilus-actions-schemas is renamed as na-print-schemas,
953 and is installed in PKGLIBEXECDIR.
955 2011-01-06 Pierre Wieser <pwieser@trychlos.org>
957 * src/nact/nact-main-window.c (iabout_get_toplevel):
958 Let the About dialog get the toplevel window.
960 * src/nact/nact-preferences.ui:
961 * src/nact/nautilus-actions-config-tool.ui:
962 Apply patch provided by Christian Kirbach. Fix #638548.
964 Use the same script to migrate items and preferences.
966 * README-GCONF: Document migrated and renamed preferences.
968 * src/utils/nautilus-actions-gconf2desktop.sh.in:
969 Rewrite migrated preferences as keyed files.
970 At last, remove the whole Nautilus-Actions tree from GConf.
972 2011-01-05 Pierre Wieser <pwieser@trychlos.org>
974 * src/utils/console-utils.c (console_cmdline_get_description):
975 Returns the full address of the page to enter a new bug in Bugzilla.
977 * src/core/na-gconf-migration.c:
978 * src/core/na-gconf-migration.h (na_gconf_migration_run): New function.
980 * src/core/Makefile.am: Updated accordingly.
982 * src/nact/nact-main.c (main):
983 * src/plugin-menu/nautilus-module.c (nautilus_module_initialize):
984 * src/utils/nautilus-actions-new.c (main):
985 * src/utils/nautilus-actions-run.c (main):
986 Automatically run the migration tool at startup.
988 * src/utils/nautilus-actions-gconf2desktop.sh.in:
989 * src/utils/nautilus-actions-delete.c:
990 * src/utils/nautilus-actions-print.c:
991 New items migration script and programs.
992 They take care of migrating users and mandatory items to .desktop files.
995 * src/utils/Makefile.am:
996 * src/utils/.gitignore: Updated accordingly.
998 2011-01-04 Pierre Wieser <pwieser@trychlos.org>
1000 * src/core/na-tokens.c (na_tokens_new_from_selection):
1001 No more prepare the list string of selection.
1002 Directly build the selection list in the correct order.
1003 (execute_action_command): Setup the working directory.
1005 * src/core/na-tokens.c:
1006 * src/core/na-tokens.h (na_tokens_parse_parameters):
1007 Renamed as na_tokens_parse_for_display() as filenames are not quoted
1008 when displayed as part of an expanded label.
1010 * src/nact/nact-icommand-tab.c (parse_parameters):
1011 * src/plugin-menu/nautilus-actions.c (expand_tokens_item):
1012 Updated accordingly.
1014 * configure.ac: Fix "API Reference generation" message.
1016 * m4/na-enable-manuals.m4:
1017 Better specify that --enable-html-manuals (resp. pdf) are for user's manuals.
1019 * src/core/na-selected-info.c (new_from_uri):
1020 - Add an excerpt from RFC 2396 about valid characters in URIs.
1021 - Prefer the filename from g_filename_from_uri() when possible.
1023 * src/core/na-tokens.c
1024 (na_tokens_new_from_selection): Also g_shell_quote() the URI to preserve quotes.
1025 (build_string_lists_item): Removed function.
1027 * src/core/na-iabout.c (na_iabout_display):
1028 Fix typo in comment, adding a note to the translators.
1030 2011-01-03 Pierre Wieser <pwieser@trychlos.org>
1032 * src/core/na-io-provider.c:
1033 * src/core/na-io-provider.h (na_io_provider_are_writings_authorized):
1036 * configure.ac: Define a conditional if we have both GSettings and GConf.
1038 * src/core/na-gsettings-migrate.c:
1039 * src/core/na-gsettings-migrate.h: New files.
1041 * src/core/Makefile.am: Updated accordingly.
1043 * src/core/na-pivot.c (instance_constructed):
1044 Call na_gsettings_migrate() if we have both GSettings and GConf.
1047 - Define HAVE_GSETTINGS variable.
1048 - Define HAVE_GCONF variable.
1050 2011-01-02 Pierre Wieser <pwieser@trychlos.org>
1052 * src/nact/egg-desktop-file.c:
1053 Get ride of tests for Gtk+ 2.12.0 as this is the minimal required version.
1055 * src/nact/base-keysyms.h:
1056 * src/nact/egg-sm-client-private.h:
1057 * src/nact/egg-sm-client-xsmp.c:
1058 * src/nact/nact-add-capability-dialog.c:
1059 * src/nact/nact-add-scheme-dialog.c:
1060 * src/nact/nact-main-tab.c:
1061 * src/nact/nact-clipboard.c:
1062 * src/nact/nact-tree-model-dnd.c:
1063 * src/nact/nact-gtk-utils.c:
1064 * src/nact/nact-iaction-tab.c:
1065 * src/nact/nact-main-statusbar.c:
1066 * src/nact/nact-main-menubar.c:
1067 * src/nact/nact-schemes-list.c: Use GTK_CHECK_VERSION macro.
1070 * m4/na-check-for-gtk.m4:
1071 Move back gtk_required variable to improve readibility of configure.ac.
1073 2011-01-01 Pierre Wieser <pwieser@trychlos.org>
1075 * configure.ac: Post release version bump.
1077 * NEWS: Update NEWS before release.
1079 * src/plugin-menu/nautilus-actions.c (create_root_menu):
1080 Update the root menu label to better reflect the product name.
1082 * src/nact/nautilus-actions-config-tool.ui:
1083 Use gtk-find instead of gtk-find-and-replace stock icon for browse buttons.
1085 * src/nact/nact-iaction-tab.c (nact_iaction_tab_initial_load_toplevel):
1086 Display again stock icons in NACT.
1087 Fix #638461 - Stock icons are no more displayed in NACT.
1089 * Almost all files modified:
1090 Update copyright message.
1091 Set Nautilus-Actions as being the actual official product name.
1093 * src/core/na-selected-info.c (new_from_nautilus_file_info):
1094 Fix pathname breakdown for 'x-nautilus-desktop:///' URI.
1095 Fix #638450 - Nautilus crashes when opening Trash or Network.