1 2011-01-19 Pierre Wieser <pwieser@trychlos.org>
3 * tools/check-po.sh: Script rewriting.
5 * NEWS: Update before release.
7 2011-01-16 Pierre Wieser <pwieser@trychlos.org>
9 * run-distcheck.sh: New file.
11 Add a script to check completeness of header files.
15 * tools/check-headers.sh: New files.
17 * src/test/test-include.c:
18 Renamed as tools/check-header.c and set it as ignored by git.
20 * src/test/.gitignore:
21 * src/test/Makefile.am: Updated accordingly.
24 * configure.ac: configure in tools/.
26 2011-01-14 Pierre Wieser <pwieser@trychlos.org>
28 * src/utils/nautilus-actions-new.c:
29 * src/utils/nautilus-actions-run.c:
30 * src/utils/nautilus-actions-schemas.c: Add locale.h include.
32 * src/nact/nact-icon-chooser.c
33 (fillup_icons_by_path, on_path_selection_changed): Store last folder uri.
35 * src/core/na-settings.h: Preference renamed accordingly.
38 * src/core/na-settings.h:
39 * src/utils/na-gconf2key.sh.in:
40 '-last-folder-uri' preferences are renamed as '-lfu'.
42 * src/core/na-settings.c: Set default values.
44 * src/nact/nact-gtk-utils.c:
45 * src/nact/nact-gtk-utils.h (nact_gtk_utils_select_file,
46 nact_gtk_utils_select_file_with_preview, nact_gtk_utils_select_dir):
47 Remove no more used default value.
49 * src/nact/nact-icommand-tab.c (on_path_browse, on_wdir_browse):
50 * src/nact/nact-ienvironment-tab.c (on_try_exec_browse,
51 on_show_if_running_browse): Updated accordingly.
53 * src/core/na-boxed.c (string_list_from_array, uint_list_from_array):
54 Do not allocate the empty last element.
56 * src/core/na-io-provider.c (load_items_get_merged_list):
57 * src/core/na-iprefs.c (na_iprefs_get_io_providers):
58 Use the correct list pointer.
60 * src/core/na-iprefs.c:
61 * src/core/na-iprefs.h
62 (na_iprefs_get_export_format, na_iprefs_set_export_format):
63 Functions moved from src/nact/nact-iprefs.c.
65 * src/nact/nact-iprefs.c:
66 * src/nact/nact-iprefs.h: Removed files.
68 * src/nact/Makefile.am:
69 * src/nact/base-window.c:
70 * src/nact/nact-assistant-export.c:
71 * src/nact/nact-assistant-import.c:
72 * src/nact/nact-clipboard.c:
73 * src/nact/nact-export-ask.c:
74 * src/nact/nact-export-format.c:
75 * src/nact/nact-gtk-utils.c:
76 * src/nact/nact-iaction-tab.c:
77 * src/nact/nact-icommand-tab.c:
78 * src/nact/nact-ifolders-tab.c:
79 * src/nact/nact-main-toolbar.c:
80 * src/nact/nact-preferences-editor.c:
81 * src/nact/nact-tree-model-dnd.c: Updated accordingly.
83 * src/nact/nact-iprefs.c:
84 * src/nact/nact-iprefs.h (nact_iprefs_write_bool, nact_iprefs_write_uint,
85 nact_iprefs_write_string): Remove deprecated functions.
87 * src/nact/nact-main-toolbar.c (nact_main_toolbar_activate):
90 * src/nact/base-iprefs.c:
91 * src/nact/base-iprefs.h (base_iprefs_get_int, base_iprefs_set_int):
92 Remove deprecated functions.
94 * src/nact/nact-icon-chooser.c (instance_dispose, on_base_runtime_init_dialog):
95 * src/nact/nact-main-window.c (instance_dispose, on_base_initial_load_toplevel):
98 * src/nact/nact-iprefs.c:
99 * src/nact/nact-iprefs.h (nact_iprefs_migrate_key): Remove deprecated function.
101 * src/nact/nact-icommand-tab.c (nact_icommand_tab_initial_load_toplevel):
104 Global renaming of preferences.
107 * src/api/na-iio-provider.h:
108 * src/core/na-export-format.h:
109 * src/core/na-exporter.h:
110 * src/core/na-importer-ask.h:
111 * src/core/na-importer.c:
112 * src/core/na-io-provider.c:
113 * src/core/na-io-provider.h:
114 * src/core/na-iprefs.c:
115 * src/core/na-iprefs.h:
116 * src/core/na-module.c:
117 * src/core/na-pivot.c:
118 * src/core/na-pivot.h:
119 * src/core/na-settings.c:
120 * src/core/na-settings.h:
121 * src/core/na-updater.c:
122 * src/nact/nact-add-capability-dialog.c:
123 * src/nact/nact-add-scheme-dialog.c:
124 * src/nact/nact-assistant-export.c:
125 * src/nact/nact-assistant-import.c:
126 * src/nact/nact-clipboard.c:
127 * src/nact/nact-export-ask.c:
128 * src/nact/nact-gtk-utils.c:
129 * src/nact/nact-iactions-list.c:
130 * src/nact/nact-icommand-tab.c:
131 * src/nact/nact-icon-chooser.c:
132 * src/nact/nact-ienvironment-tab.c:
133 * src/nact/nact-ifolders-tab.c:
134 * src/nact/nact-iprefs.c:
135 * src/nact/nact-iprefs.h:
136 * src/nact/nact-main-menubar-edit.c:
137 * src/nact/nact-main-menubar-file.c:
138 * src/nact/nact-main-menubar.c:
139 * src/nact/nact-main-toolbar.c:
140 * src/nact/nact-main-window.c:
141 * src/nact/nact-preferences-editor.c:
142 * src/nact/nact-providers-list.c:
143 * src/nact/nact-schemes-list.c:
144 * src/nact/nact-sort-buttons.c:
145 * src/nact/nact-tree-model-dnd.c:
146 * src/nact/nact-tree-model.c:
147 * src/nact/nact-window.c:
148 * src/nact/nact-window.h:
149 * src/plugin-menu/nautilus-actions.c:
150 * src/utils/na-gconf2key.sh.in:
151 * src/utils/nautilus-actions-new.c: Rename preferences.
152 >>>>>>> Globally rename preferences
154 2011-01-13 Pierre Wieser <pwieser@trychlos.org>
156 * src/core/na-settings.c:
157 * src/core/na-settings.h: Preference names are defined as '#define' values.
160 * src/utils/na-gconf2key.sh.in: Adjust preferences.
162 * src/core/na-iprefs.c:
163 * src/core/na-iprefs.h: NAIPrefs is no more an interface.
165 * src/api/na-iimporter.h:
166 * src/core/na-importer-ask.c:
167 * src/core/na-importer-ask.h:
168 * src/core/na-importer.c: Updated accordingly.
170 2011-01-12 Pierre Wieser <pwieser@trychlos.org>
172 * src/nact/nact-iprefs.c:
173 * src/nact/nact-iprefs.h: Get ride of GConf.
176 * src/core/na-settings.c:
177 * src/utils/na-gconf2key.sh.in: Add omitted 'export-ask-user-last-format' key.
179 * src/nact/nact-icommand-tab.c:
180 * src/nact/nact-ienvironment-tab.c: Update to new preferences.
183 * src/core/na-settings.c:
184 * src/utils/na-gconf2key.sh.in:
185 'folder-last-path' key is renamed as 'folder-last-folder-uri'.
187 * src/nact/nact-ifolders-tab.c: Updated accordingly.
190 * src/core/na-settings.c:
191 * src/utils/na-gconf2key.sh.in: Add 'export-ask-user-wsp' preference.
193 * src/nact/nact-add-capability-dialog.c (base_get_iprefs_window_id):
194 * src/nact/nact-add-scheme-dialog.c (base_get_iprefs_window_id):
195 * src/nact/nact-assistant-export.c (window_get_iprefs_window_id):
196 * src/nact/nact-assistant-import.c (window_get_iprefs_window_id):
197 * src/nact/nact-export-ask.c (base_get_iprefs_window_id):
198 * src/nact/nact-main-window.c
199 (instance_dispose, base_get_iprefs_window_id):
200 * src/nact/nact-preferences-editor.c (base_get_iprefs_window_id):
201 Update all preference names when saving/restoring window size and position.
203 * src/core/na-settings.c:
204 * src/core/na-settings.h: All getters/setters are implemented.
206 * src/nact/base-iprefs.c: Remove GConf stuff.
208 * src/nact/nact-icon-chooser.c:
209 * src/nact/nact-icon-chooser.ui: Implement all preferences.
211 * src/utils/na-gconf2key.sh.in:
212 Renamed preferences for windows size and position '-wsp'.
213 Also delete from GConf if only preferences have been migrated.
214 Re-sync after tree delete.
216 * src/api/na-boxed.h:
217 * src/core/na-boxed.c
218 (na_boxed_get_string, na_boxed_get_uint, na_boxed_get_uint_list):
221 * configure.ac: Enable silent rules by default.
223 * run-autogen.sh: Add sysconfdir argument to autogen.sh
225 * src/nact/nact-gtk-utils.c (nact_gtk_utils_get_pixbuf):
226 Search a pixbuf by icon theme if not found as filename or stock.
228 * src/nact/base-window.c:
229 * src/nact/base-window.h (base_window_peek_widget): New function.
231 * src/nact/nact-icon-chooser.c:
232 * src/nact/nact-icon-chooser.h:
233 * src/nact/nact-icon-chooser.ui: New files.
235 * src/nact/Makefile.am:
236 * src/nact/nact-iaction-tab.c:
237 * src/nact/nautilus-actions-config-tool.ui: Updated accordingly.
239 * src/core/na-settings.c (content_load_keys):
240 Do not warn if configuration file does not exist.
242 * src/api/na-boxed.h:
243 * src/api/na-data-boxed.h:
244 * src/api/na-data-types.h:
245 * src/core/na-boxed.c:
246 * src/core/na-data-boxed.c:
247 * src/core/na-data-types.c:
248 Update reference documentation to deprecate NADataBoxed and NADataType
251 * src/core/na-settings.c:
252 * src/core/na-settings.h: Configuration monitoring.
254 * src/plugin-menu/nautilus-actions.c:
255 Monitor all runtime preferences with only one callback.
257 * src/api/na-boxed.h:
258 * src/core/na-boxed.c (na_boxed_get_pointer): New function.
260 * run-autogen.sh: Add sysconfdir argument to autogen.sh.
262 * src/api/na-data-types.h:
263 * src/core/na-data-types.c
264 (na_data_types_copy, na_data_types_free): Removed functions.
267 * src/utils/na-gconf2key.sh.in: Fix two key label conversions.
269 * src/api/na-boxed.h:
270 * src/core/na-boxed.c: New files.
272 * src/api/Makefile.am:
273 * src/core/Makefile.am: Updated accordingly.
275 2011-01-10 Pierre Wieser <pwieser@trychlos.org>
277 * src/api/na-data-types.h:
278 * src/core/na-data-types.c
279 (na_data_types_copy, na_data_types_free, na_data_types_get_label):
282 * src/core/na-settings.c
283 (monitor_io_provider_read_status, monitor_key): Register monitored keys.
285 * src/core/na-settings.h
286 (na_settings_get_boolean_ex, na_settings_get_string_list):
289 * src/plugin-menu/nautilus-actions.c:
290 Implement runtime preferences monitoring.
291 No more use deprecated na_pivot_set_automatic_reload().
293 * src/core/na-pivot.c:
294 * src/core/na-pivot.h:
295 Replace GConf preferences monitoring with NASettings.
296 Define new PIVOT_SIGNAL_ITEMS_CHANGED signal.
298 * src/core/na-settings.c:
299 * src/core/na-settings.h
300 (na_settings_register_key_callback,
301 na_settings_register_global_callback, na_settings_get_boolean):
304 * src/api/na-iio-provider.h:
305 * src/core/na-io-provider.h: IIO_PROVIDER_SIGNAL_ITEM_CHANGED signal
306 definition is moved (and renamed) from public API to internal one.
308 * src/core/na-iio-provider.c (interface_base_init):
309 * src/core/na-io-provider.c (io_provider_set_provider):
310 * src/core/na-pivot.c (on_item_changed_timeout): Updated accordingly.
312 * src/core/na-iio-provider.c
313 * src/core/na-settings.c (na_settings_new):
314 * src/utils/na-gconf2key.sh.in: Global configuration file goes to /etc/xdg.
316 * src/core/na-pivot.c:
317 * src/core/na-pivot.h (na_pivot_register):
318 * src/core/na-settings.c:
319 * src/core/na-settings.h (na_settings_register):
320 * src/plugin-menu/nautilus-actions.c (instance_constructed):
323 2011-01-09 Pierre Wieser <pwieser@trychlos.org>
325 * src/nact/base-application.c (display_dlg): Setup parent window.
327 * src/api/na-iimporter.h:
328 * src/core/na-io-provider.c:
329 * src/core/na-object-id.c:
330 * src/core/na-object-item.c:
331 * src/io-desktop/nadp-utils.c:
332 * src/nact/nact-assistant-import.c:
333 * src/nact/nact-iactions-list-bis.c:
334 * src/nact/nact-iactions-list.h:
335 * src/nact/nact-main-window.c:
336 * src/nact/nact-preferences.ui:
337 * src/nact/nact-tree-model.c: Remove all deprecated references to an UUID.
339 * po/POTFILES.in: Add src/io-desktop/nadp-formats.c file.
341 * src/core/na-object-profile-factory.c:
342 Remove %o/%O parameters from description of version 2.0.
343 Add a missing line feed.
345 * tools/check-po.sh: Adapt to glade files.
347 2011-01-08 Pierre Wieser <pwieser@trychlos.org>
349 * src/utils/nautilus-actions-new.c (init_options):
350 * src/utils/nautilus-actions-run.c (init_options):
351 * src/utils/nautilus-actions-schemas.c (init_options):
352 Initialize translation domain for GOptionContext.
354 * src/core/na-data-boxed.c
355 (string_spec, slist_spec, bool_spec, pointer_spec, uint_spec):
356 * src/core/na-export-format.c
357 (na_export_format_get_label, na_export_format_get_description):
358 * src/core/na-iabout.c (na_iabout_display):
359 * src/core/na-object-action.c (na_object_action_new_with_defaults):
360 * src/core/na-object-menu.c (na_object_menu_new_with_defaults):
361 * src/io-xml/naxml-writer.c (write_data_schema_v1_element):
362 * src/nact/nact-add-capability-dialog.c (on_base_runtime_init_dialog):
363 * src/nact/nact-ienvironment-tab.c (nact_ienvironment_tab_runtime_init_toplevel):
364 * src/nact/nact-iproperties-tab.c (on_tab_updatable_selection_changed):
365 * src/nact/nact-main-menubar-file.c (nact_main_menubar_file_save_items):
366 * src/nact/nact-match-list.c (get_must_match_header, insert_new_row):
367 * src/nact/nact-tree-model-dnd.c
368 (is_drop_possible, is_drop_possible_before_iter,
369 is_drop_possible_into_dest, is_parent_accept_new_childs):
370 Use gettext() to display localized static strings.
372 * src/api/na-data-def.h: Complete the description of the fields.
374 * src/core/na-io-provider.c:
375 * src/core/na-object-profile-factory.c:
376 * src/nact/nact-assistant-export.ui:
377 * src/nact/nautilus-actions-config-tool.ui:
378 Fix various mistakes and mispellings reported by Fr translation team.
380 * configure.ac: Post-release bump version number.
382 2011-01-07 Pierre Wieser <pwieser@trychlos.org>
384 * src/core/na-pivot.c (na_pivot_register): New function.
386 * src/plugin-menu/nautilus-actions.c:
387 Replace NAIPivotConsumer interface with na_settings() accessors.
389 * src/core/na-settings.c:
390 * src/core/na-settings.h: New files.
392 * src/utils/na-gconf2key.sh.in:
393 Make sure that GConf is at the end of the list of I/O providers.
394 Make sure that GConf is locked.
395 Migrate all I/O provider preferences.
398 * src/utils/Makefile.am:
399 * src/utils/na-gconf2key.sh.in:
400 nautilus-actions-gconf2desktop.sh.in is renamed as na-gconf2key.sh.in,
401 and is installed in PKGLIBEXECDIR.
403 * src/core/Makefile.am:
404 * src/core/na-gconf-migration.c: Updated accordingly.
406 * src/utils/Makefile.am:
407 nautilus-actions-delete is renamed as na-delete-xmltree,
408 and is installed in PKGLIBEXECDIR.
410 * src/core/na-core-utils.c (na_core_utils_print_version):
411 Print the compilation version of GLib2 and Gtk+ when in debug mode.
413 * src/utils/Makefile.am:
414 nautilus-actions-schemas is renamed as na-print-schemas,
415 and is installed in PKGLIBEXECDIR.
417 2011-01-06 Pierre Wieser <pwieser@trychlos.org>
419 * src/nact/nact-main-window.c (iabout_get_toplevel):
420 Let the About dialog get the toplevel window.
422 * src/nact/nact-preferences.ui:
423 * src/nact/nautilus-actions-config-tool.ui:
424 Apply patch provided by Christian Kirbach. Fix #638548.
426 Use the same script to migrate items and preferences.
428 * README-GCONF: Document migrated and renamed preferences.
430 * src/utils/nautilus-actions-gconf2desktop.sh.in:
431 Rewrite migrated preferences as keyed files.
432 At last, remove the whole Nautilus-Actions tree from GConf.
434 2011-01-05 Pierre Wieser <pwieser@trychlos.org>
436 * src/utils/console-utils.c (console_cmdline_get_description):
437 Returns the full address of the page to enter a new bug in Bugzilla.
439 * src/core/na-gconf-migration.c:
440 * src/core/na-gconf-migration.h (na_gconf_migration_run): New function.
442 * src/core/Makefile.am: Updated accordingly.
444 * src/nact/nact-main.c (main):
445 * src/plugin-menu/nautilus-module.c (nautilus_module_initialize):
446 * src/utils/nautilus-actions-new.c (main):
447 * src/utils/nautilus-actions-run.c (main):
448 Automatically run the migration tool at startup.
450 * src/utils/nautilus-actions-gconf2desktop.sh.in:
451 * src/utils/nautilus-actions-delete.c:
452 * src/utils/nautilus-actions-print.c:
453 New items migration script and programs.
454 They take care of migrating users and mandatory items to .desktop files.
457 * src/utils/Makefile.am:
458 * src/utils/.gitignore: Updated accordingly.
460 2011-01-04 Pierre Wieser <pwieser@trychlos.org>
462 * src/core/na-tokens.c (na_tokens_new_from_selection):
463 No more prepare the list string of selection.
464 Directly build the selection list in the correct order.
465 (execute_action_command): Setup the working directory.
467 * src/core/na-tokens.c:
468 * src/core/na-tokens.h (na_tokens_parse_parameters):
469 Renamed as na_tokens_parse_for_display() as filenames are not quoted
470 when displayed as part of an expanded label.
472 * src/nact/nact-icommand-tab.c (parse_parameters):
473 * src/plugin-menu/nautilus-actions.c (expand_tokens_item):
476 * configure.ac: Fix "API Reference generation" message.
478 * m4/na-enable-manuals.m4:
479 Better specify that --enable-html-manuals (resp. pdf) are for user's manuals.
481 * src/core/na-selected-info.c (new_from_uri):
482 - Add an excerpt from RFC 2396 about valid characters in URIs.
483 - Prefer the filename from g_filename_from_uri() when possible.
485 * src/core/na-tokens.c
486 (na_tokens_new_from_selection): Also g_shell_quote() the URI to preserve quotes.
487 (build_string_lists_item): Removed function.
489 * src/core/na-iabout.c (na_iabout_display):
490 Fix typo in comment, adding a note to the translators.
492 2011-01-03 Pierre Wieser <pwieser@trychlos.org>
494 * src/core/na-io-provider.c:
495 * src/core/na-io-provider.h (na_io_provider_are_writings_authorized):
498 * configure.ac: Define a conditional if we have both GSettings and GConf.
500 * src/core/na-gsettings-migrate.c:
501 * src/core/na-gsettings-migrate.h: New files.
503 * src/core/Makefile.am: Updated accordingly.
505 * src/core/na-pivot.c (instance_constructed):
506 Call na_gsettings_migrate() if we have both GSettings and GConf.
509 - Define HAVE_GSETTINGS variable.
510 - Define HAVE_GCONF variable.
512 2011-01-02 Pierre Wieser <pwieser@trychlos.org>
514 * src/nact/egg-desktop-file.c:
515 Get ride of tests for Gtk+ 2.12.0 as this is the minimal required version.
517 * src/nact/base-keysyms.h:
518 * src/nact/egg-sm-client-private.h:
519 * src/nact/egg-sm-client-xsmp.c:
520 * src/nact/nact-add-capability-dialog.c:
521 * src/nact/nact-add-scheme-dialog.c:
522 * src/nact/nact-main-tab.c:
523 * src/nact/nact-clipboard.c:
524 * src/nact/nact-tree-model-dnd.c:
525 * src/nact/nact-gtk-utils.c:
526 * src/nact/nact-iaction-tab.c:
527 * src/nact/nact-main-statusbar.c:
528 * src/nact/nact-main-menubar.c:
529 * src/nact/nact-schemes-list.c: Use GTK_CHECK_VERSION macro.
532 * m4/na-check-for-gtk.m4:
533 Move back gtk_required variable to improve readibility of configure.ac.
535 2011-01-01 Pierre Wieser <pwieser@trychlos.org>
537 * configure.ac: Post release version bump.
539 * NEWS: Update NEWS before release.
541 * src/plugin-menu/nautilus-actions.c (create_root_menu):
542 Update the root menu label to better reflect the product name.
544 * src/nact/nautilus-actions-config-tool.ui:
545 Use gtk-find instead of gtk-find-and-replace stock icon for browse buttons.
547 * src/nact/nact-iaction-tab.c (nact_iaction_tab_initial_load_toplevel):
548 Display again stock icons in NACT.
549 Fix #638461 - Stock icons are no more displayed in NACT.
551 * Almost all files modified:
552 Update copyright message.
553 Set Nautilus-Actions as being the actual official product name.
555 * src/core/na-selected-info.c (new_from_nautilus_file_info):
556 Fix pathname breakdown for 'x-nautilus-desktop:///' URI.
557 Fix #638450 - Nautilus crashes when opening Trash or Network.