1 2011-12-31 Pierre Wieser <pwieser@trychlos.org>
3 * src/core/na-importer.c:
4 * src/core/na-importer.h (na_importer_free_ask_mode): Removed function.
6 2011-12-30 Pierre Wieser <pwieser@trychlos.org>
8 * src/core/na-import-mode.c:
9 * src/core/na-import-mode.h: Implement NAImportMode object class.
11 * src/core/na-importer.c:
12 * src/core/na-importer.h
13 (na_importer_get_modes, na_importer_get_ask_mode): New functions.
15 * src/core/na-ioptions-list.c:
16 * src/core/na-ioptions-list.h (free_options, free_ask_option):
17 Add 'container_parent' as an argument of the methods.
19 * src/nact/nact-assistant-export.c:
20 * src/nact/nact-export-ask.c: Updated accordingly.
22 * src/nact/nact-preferences-editor.c:
23 Implement NAIOptionsList interface for Import mode tab.
25 * src/nact/nact-preferences.ui: Updated accordingly.
27 2011-12-29 Pierre Wieser <pwieser@trychlos.org>
29 * src/core/na-import-mode.c (instance_finalize): Free private structure.
31 * src/nact/nact-preferences-editor.c (on_base_initialize_gtk_toplevel):
32 Remove unused variables.
34 2011-12-28 Pierre Wieser <pwieser@trychlos.org>
36 * src/nact/base-application.c (class_init): Property labels are not translatable.
38 * src/nact/base-application.h: Review comments.
40 * src/nact/main.c (main): Set command-line arguments here.
42 * src/nact/nact-application.c (class_init): Remove "updater" property.
44 * src/nact/nact-application.c:
45 * src/nact/nact-application.h (nact_application_new): Have an empty constructor.
47 2011-12-27 Pierre Wieser <pwieser@trychlos.org>
49 * src/io-desktop/export-desktop.png: New file.
51 * src/io-desktop/nadp-formats.c (nadp_formats_get_formats): Define an icon
52 for desktop export format.
54 * src/io-desktop/Makefile.am: Updated accordingly.
56 * src/io-xml/export-dump.png:
57 * src/io-xml/export-schemas-v1.png:
58 * src/io-xml/export-schemas-v2.png: New files.
60 * src/io-xml/naxml-formats.c (naxml_formats_get_formats): Define icons for
63 * src/io-xml/Makefile.am: Updated accordingly.
65 * src/core/na-import-mode.c:
66 * src/core/na-import-mode.h:
67 * src/core/na-ioption.c:
68 * src/core/na-ioption.h:
69 * src/core/na-ioptions-list.c:
70 * src/core/na-ioptions-list.h: New files.
72 * src/core/Makefile.am: Updated accordingly.
74 * src/core/na-gtk-utils.c:
75 * src/core/na-gtk-utils.h:
76 * src/nact/base-gtk-utils.c:
77 * src/nact/base-gtk-utils.h (base_gtk_utils_set_editable,
78 base_gtk_utils_radio_set_initial_state,
79 base_gtk_utils_radio_reset_initial_state): Move functions to na-gtk-utils.
81 * src/nact/nact-export-ask.c:
82 * src/nact/nact-preferences-editor.c: Updated accordingly.
84 2011-12-25 Pierre Wieser <pwieser@trychlos.org>
86 * src/core/na-gtk-utils.c:
87 * src/core/na-gtk-utils.h
88 (na_gtk_utils_search_for_child_widget): Renamed as na_gtk_utils_find_widget_by_name().
90 * src/core/na-importer-ask.c:
91 * src/nact/base-window.c:
92 * src/nact/nact-assistant-export.c:
93 * src/nact/nact-assistant-import.c:
94 * src/nact/nact-icon-chooser.c:
95 * src/nact/nact-tree-view.c: Updated accordingly.
97 2011-12-23 Pierre Wieser <pwieser@trychlos.org>
99 * src/core/na-gtk-utils.c:
100 * src/core/na-gtk-utils.h (na_gtk_utils_find_widget_by_type): New function.
102 2011-12-22 Pierre Wieser <pwieser@trychlos.org>
104 * src/core/na-export-format.c: Remove superfluous gdk-pixbuf.h include.
106 * src/core/na-settings.c:
107 * src/core/na-settings.h: New "export-assistant-paned-width" preference.
109 * src/nact/nact-assistant-export.c
110 (instance_dispose, on_base_initialize_base_window):
111 Keep the position of the horizontal pane as a user preference.
113 * src/nact/nact-assistant-export.ui: Give a more kind name to the pane.
115 * src/nact/nact-assistant-export.c:
116 * src/nact/nact-assistant-export.ui: Whole refactoring.
118 * src/nact/nact-export-format.c:
119 * src/nact/nact-export-format.h: Refactor to display in a GtkTreeView.
121 * src/nact/base-assistant.c (do_run): Destroy the assistant when quitting.
123 * src/core/na-export-format.c:
124 * src/core/na-export-format.h
125 (na_export_format_get_exporter): Renamed as na_export_format_get_provider().
126 (na_export_format_get_pixbuf): New function.
128 * src/core/na-exporter.c
129 (exporter_free_formats): Fix the test.
130 (find_exporter_for_format): Updated accordingly.
132 2011-12-21 Pierre Wieser <pwieser@trychlos.org>
134 NAIExporter interface upgrade.
136 * src/api/na-iexporter.h:
137 Define a new NAIExporterFormatExt structure, which embeds a GdkPixbuf.
139 * src/core/na-export-format.c:
140 * src/core/na-export-format.h (na_export_format_new):
141 Updated to new NAIExporterFormatExt structure.
143 * src/core/na-exporter.c (na_exporter_get_formats):
144 Take into account the new NAIExporter interface version.
146 * src/io-desktop/nadp-desktop-provider.c: Updated to new NAIExporter
149 * src/io-desktop/nadp-formats.c
150 (nadp_formats_get_formats, nadp_formats_free_formats): New functions.
152 * src/io-xml/naxml-formats.c: Updated to the new NAIExporter interface
155 * src/io-xml/naxml-formats.c:
156 * src/io-xml/naxml-formats.h
157 (naxml_formats_get_formats, naxml_formats_free_formats): New functions.
159 2011-12-20 Pierre Wieser <pwieser@trychlos.org>
161 * src/nact/nact-menubar.c: Do not talk about XML files on import/export.
163 * src/nact/nact-assistant-import.c
164 (prepare_confirm, prepare_importdone):
165 Force immediate redraw with Gtk2.
166 (prepare_importdone): Color the URI depending of the status.
168 * src/nact/nact-assistant-import.ui:
169 Display the import mode in only one GtkLabel.
171 2011-12-19 Pierre Wieser <pwieser@trychlos.org>
173 Review import assistant.
174 - File selection: enable to forward if at least one loadable file.
175 - Import mode: replace the radio button group with a list view.
176 - Confirm and Summary pages: fully review the layout.
178 * src/nact/Makefile.am:
179 * src/nact/nact-assistant-import.c:
180 * src/nact/nact-assistant-import.ui: Updated accordingly.
182 * src/nact/base-gtk-utils.c
183 (base_gtk_utils_get_pixbuf, base_gtk_utils_render): Fix typos in a comment.
185 2011-12-14 Pierre Wieser <pwieser@trychlos.org>
187 * src/nact/nact-match-list.c (nact_match_list_on_selection_changed):
188 Fix typo in the comment.
190 * src/nact/nact-export-format.c (draw_in_vbox): Increment spacing.
192 2011-12-13 Pierre Wieser <pwieser@trychlos.org>
194 * docs/reference/Makefile.am: Fix (one more time) the build.
196 * docs/reference/nautilus-actions-sections.txt: Add new functions.
198 Have a distinct interface definition for import assistant.
200 * src/nact/nact-assistant-import.ui: New file.
203 * src/nact/Makefile.am:
204 * src/nact/nact-assistant-import.c:
205 * src/nact/nautilus-actions-config-tool.ui: Updated accordingly.
207 * src/nact/nautilus-actions-config-tool.ui:
208 * src/nact/nact-assistant-export.ui: Add a padding to GtkFileChoosers.
210 * src/nact/nautilus-actions-config-tool.ui: Let a page be scrolled.
212 * src/nact/nact-assistant-export.ui: Remove useless placeholder.
214 2011-12-12 Pierre Wieser <pwieser@trychlos.org>
216 * src/nact/nact-preferences.ui:
217 Fix vertical expand in runtime execution tab and auto-save frame.
219 * src/nact/nact-assistant-export.ui:
220 * src/nact/nautilus-actions-config-tool.ui:
221 * src/nact/nact-export-format.c (draw_in_vbox): Make assistant labels wrappable.
223 * src/io-desktop/nadp-formats.c:
224 * src/io-xml/naxml-formats.c: Review the description of the export formats.
227 * src/core/na-gtk-utils.c:
228 * src/core/na-importer-ask.ui:
229 * src/nact/nact-add-capability-dialog.c:
230 * src/nact/nact-add-capability.ui:
231 * src/nact/nact-add-scheme-dialog.c:
232 * src/nact/nact-add-scheme.ui:
233 * src/nact/nact-assistant-export.ui:
234 * src/nact/nact-clipboard.c:
235 * src/nact/nact-icon-chooser.ui:
236 * src/nact/nact-main-tab.c:
237 * src/nact/nact-menubar.c:
238 * src/nact/nact-preferences.ui:
239 * src/nact/nact-schemes-list.c:
240 * src/nact/nact-tree-model-dnd.c:
241 * src/nact/nautilus-actions-config-tool.ui: Now requires Gtk 2.20.
243 * tools/release-tarball.sh: Automatically installs manuals on the website
244 when releasing a new stable version.
246 2011-12-09 Pierre Wieser <pwieser@trychlos.org>
248 * tools/release-tarball.sh: Take _build builddir into account.
250 * configure.ac: Post release bump version.
253 * TODO: Update before release.
255 * src/core/na-gconf-migration.c (na_gconf_migration_run):
258 * src/utils/na-gconf2key.sh.in: Fix unset variable.
260 * src/nact/nact-match-list.c (insert_new_row):
261 New rows now default to be 'matched'.
263 * src/core/na-updater.c (na_updater_delete_item):
264 Do not try to remove from the backend an item which has never been written.
266 * src/nact/nact-menubar-file.c:
267 Fix typo in translatable message.
268 (nact_menubar_file_save_items): Reinitialize messages pointer.
270 * src/nact/nact-tree-ieditable.c (add_to_deleted_rec):
271 Only count as deleted items which were read from the backend.
272 Compute level zero status.
274 * src/core/na-importer-ask.c (na_importer_ask_user):
275 * src/core/na-settings.h:
276 Change import default mode and export default format to 'Ask'.
278 * src/io-xml/naxml-writer.c
279 (write_data_schema_v2, write_data_dump):
280 String and uint lists have the GConf format (between square brackets).
282 * src/io-xml/naxml-reader.c (read_done_action_read_profiles):
283 Make sure we have at least one profile attached to the action.
285 * src/io-gconf/nagp-reader.c (read_done_action_read_profiles):
286 Make sure we have at least one profile attached to the action.
288 * src/io-desktop/nadp-desktop-file.c:
289 * src/io-desktop/nadp-desktop-file.h (nadp_desktop_file_has_profile):
292 * src/io-desktop/nadp-reader.c
293 (item_from_desktop_path):
294 Replace the warning with an error message to be returned to the caller.
295 (read_done_action_read_profiles):
296 Attach at least a default profile to the action.
297 (read_done_action_load_profile):
298 Define a default profile if not found in .desktop file.
300 * src/core/na-icontext-factory.c: Fix mimetypes and schemes default values.
302 * src/core/na-icontext.c (is_compatible_scheme): Fix scheme test.
304 2011-12-06 Pierre Wieser <pwieser@trychlos.org>
306 * src/utils/na-gconf2key.sh.in:
307 Fix permissions when creating the configuration directory.
309 * src/core/na-settings.c (settings_new):
310 * src/io-desktop/nadp-writer.c
311 (nadp_iio_provider_is_able_to_write, nadp_iio_provider_write_item):
312 Fix permissions when creating the configuration directory.
314 * src/api/na-core-utils.h:
315 * src/core/na-core-utils.c (na_core_utils_dir_list_perms): New function.
317 * src/nact/nact-tree-model-dnd.c (drop_uri_list):
318 Fix and improve error messages during drop operations.
320 Fix a coredump when trying to import an empty file by DnD.
321 Extend the fix by checking the size and the type of the candidate.
323 * src/api/na-core-utils.h:
324 * src/core/na-core-utils.c (na_core_utils_file_is_loadable): New function.
326 * src/api/na-iimporter.h (IMPORTER_CODE_NOT_LOADABLE): New return code.
328 * src/core/na-importer.c (import_from_uri):
329 Do not try other modules one the first detects that a file is not loadable.
331 * src/io-desktop/nadp-desktop-file.c (nadp_desktop_file_new_from_uri):
332 * src/io-desktop/nadp-reader.c (nadp_reader_iimporter_import_from_uri):
333 * src/io-xml/naxml-reader.c (naxml_reader_import_from_uri):
334 Check whether the file is loadable before trying to import it.
336 * src/nact/nact-main-tab.h:
337 * src/nact/nact-main-window.h: Fix comments.
339 * src/nact/nact-main-window.c: Fix typo.
341 * src/nact/nact-tree-model.c (nact_tree_model_new):
342 No more connect to base-window-initialize-gtk signal.
343 Initialize model without waiting for signal triggering.
345 * src/nact/nact-tree-view.c (instance_constructed):
346 No more connect to base-window-initialize-gtk signal.
348 2011-12-05 Pierre Wieser <pwieser@trychlos.org>
350 * src/core/na-importer-ask.c (import_ask_new):
351 * src/nact/nact-add-capability-dialog.c (on_base_initialize_gtk_toplevel):
352 * src/nact/nact-add-capability.ui:
353 * src/nact/nact-add-scheme-dialog.c (on_base_initialize_gtk_toplevel):
354 * src/nact/nact-add-scheme.ui:
355 * src/nact/nact-export-ask.c (on_base_initialize_gtk_toplevel):
356 * src/nact/nact-icon-chooser.c (on_base_initialize_gtk_toplevel):
357 * src/nact/nact-icon-chooser.ui:
358 * src/nact/nact-preferences-editor.c (on_base_initialize_gtk_toplevel):
359 Remove (deprecated since 2.22) 'has_separator' property from GtkDialog.
361 * src/io-xml/naxml-reader.c (naxml_reader_import_from_uri):
362 Display an synthetic error message if cannot handle the file.
364 * src/io-desktop/nadp-reader.c (nadp_reader_iimporter_import_from_uri):
365 Display an synthetic error message if cannot handle the file.
367 * po/POTFILES.in: Updated accordingly.
369 * src/core/na-importer.c (import_from_uri): Only display error messages
370 of the interface which has eventually successfully imported the item.
372 * src/core/na-importer.c (import_from_uri):
373 Make sure of the population against which we check for existance.
375 * src/core/na-iimporter.h: Improve comment.
377 2011-12-04 Pierre Wieser <pwieser@trychlos.org>
379 * docs/nact/Makefile.am: Work-around against #664768.
381 When a bug is detected in dblatex, we re-run it in debug mode, so that
382 we may be able to get the .pdf from temp directory.
384 * docs/nact/Makefile.am: Fix User's Manual generation.
386 * docs/reference/nautilus-actions-docs.xml: API only changes on minor versions.
388 * run-autogen.sh: Do not automatically make && make install after configure.
390 * run-distcheck.sh: Fix cleanup before making distcheck.
392 2011-12-03 Pierre Wieser <pwieser@trychlos.org>
394 * tools/check-headers.sh: Fix when builddir not equal to srcdir.
396 * run-distcheck.sh: Make sure that the document wil be rebuilt.
398 * m4/na-enable-manuals.m4:
399 Fix the test as possible values are 'gdt', 'db2html' and 'no.
401 * docs/reference/Makefile.am: Fix when builddir not equal to srcdir.
403 2011-12-02 Pierre Wieser <pwieser@trychlos.org>
405 Do not build the documentation at all if not asked for.
407 * m4/na-enable-manuals.m4: new ENABLE_MANUALS conditional.
409 * docs/nact/Makefile.am:
410 Make use of new ENABLE_MANUALS conditional.
411 Also test for conditionals when installing.
413 * run-autogen.sh: Yet improve the build script.
415 2011-12-01 Pierre Wieser <pwieser@trychlos.org>
417 * src/core/na-importer-ask.c (na_importer_ask_user):
418 Save window size and position when quitting, restoring it on next init.
420 2011-11-30 Pierre Wieser <pwieser@trychlos.org>
422 * src/core/na-gtk-utils.c:
423 * src/core/na-gtk-utils.h
424 (na_gtk_utils_restore_position_window, na_gtk_utils_save_window_position):
427 * src/nact/base-gtk-utils.c
428 (base_gtk_utils_restore_window_position, base_gtk_utils_save_window_position):
431 * src/nact/base-gtk-utils.h: Fix a comment.
433 * src/core/na-importer-ask.c:
434 * src/core/na-importer-ask.h: Now derives from GObject.
436 * src/core/na-importer-ask.c (import_ask_new):
437 All one-time initialization is made here, being able to return NULL if failed.
439 * src/core/na-importer-ask.c (on_destroy_toplevel):
440 NAImporterAsk is now attached to its parent, and destroyed with it.
442 * src/nact/nact-assistant-import.c (assistant_apply):
443 Make the assistant the parent of NAImporterAsk (instead of main window).
445 2011-11-29 Pierre Wieser <pwieser@trychlos.org>
447 * src/core/na-object-item-factory.c:
448 Do not let a read or imported item go until the UI with an empty label.
450 * src/io-xml/naxml-reader.c (schema_parse_schema_content):
451 Only search for identifier in <applyto> schema key.
453 2011-11-28 Pierre Wieser <pwieser@trychlos.org>
455 * src/io-desktop/nadp-desktop-file.c (check_key_file):
456 - Do not even try to read zero byte length files.
457 - Check Type key before trying to import the file.
459 * src/core/na-importer-ask.c:
460 * src/core/na-importer-ask.ui: Make NAImporterAsk normally answer to
461 response codes, and quit on Esc.
463 * nact/nact-export-format.c (draw_in_vbox): Use gtk_misc functions.
466 * run-distcheck.sh: Review in order to be able to build several guests
467 from a common single source tree.
469 * src/nact/nact-assistant-export.c (assist_initial_load_target_folder):
470 Get ride of the superfluous 'name' entry field when selecting the folder.
472 * src/nact/nact-export-ask.c (nact_export_ask_user):
473 Actually do not export the item if the user cancels the operation.
475 * src/io-desktop/nadp-desktop-file.c (nadp_desktop_file_new_from_uri):
476 Only display debug messages (try to minimize warnings on import).
478 * src/io-xml/naxml-reader.c
479 (publish_undealt_nodes): Removed useless (and buggy) function.
480 (manage_import_mode): Returns all messages to the caller.
482 * src/io-desktop/nadp-reader.c (nadp_reader_iimporter_import_from_uri):
483 Returns all messages to the caller.
485 2011-11-27 Pierre Wieser <pwieser@trychlos.org>
487 * src/nact/base-gtk-utils.c (base_gtk_utils_restore_window_position):
488 Limit the window size, maximizing with the screen size.
490 * nact/nact-tree-view.h:
491 * nact/nact-tree-view.c: Define parent property.
493 * nact/nact-tree-view.c (on_tree_view_realized):
494 Delay all signal connection until the widget be actually realized.
496 * src/nact/nact-sort-buttons.c (on_base_initialize_buttons):
497 Delay the connection to the NactTreeView signal until we are sure the
500 * src/nact/nact-main-window.c (on_base_initialize_gtk_toplevel):
501 Delay the initialization of the NactTreeView until the Gtk toplevel has
502 been loaded from XML Glade file.
504 * src/nact/nact-assistant-export.c: Adapt to gtk3.
506 * src/nact/nact-export-format.c (nact_export_format_init_display):
507 Remove the useless intermediate GtkGrid.
509 * src/nact/nact-assistant-export.ui: Let the format selection be scrolled.
511 * src/core/na-gtk-utils.c (dump_children):
512 Also dump the address of the child widget.
513 Also dump children which do not have a name (dynamically allocated).
515 2011-11-26 Pierre Wieser <pwieser@trychlos.org>
517 * src/nact/nact-tree-ieditable.c (do_insert_before): Re-reverse the list
518 before returning so that the list returns as unchanged to the caller.
520 * src/io-desktop/nadp-desktop-file.c (nadp_desktop_file_new_from_uri):
521 Slightly optimize code.
523 * src/core/na-importer.c (na_importer_import_from_list): Fix comments.
525 * src/io-xml/naxml-reader.c (naxml_reader_import_from_uri): Do not return
526 any error message if we do not identify at least a well-formed document
527 with a known root node.
529 * src/api/na-boxed.h:
530 * src/api/na-timeout.h:
531 * src/core/na-boxed.c:
532 * src/core/na-data-boxed.c:
533 * src/core/na-gconf-migration.c:
534 * src/core/na-gconf-monitor.c:
535 * src/core/na-gconf-utils.c:
536 * src/core/na-icontext.c:
537 * src/core/na-iduplicable.c:
538 * src/core/na-iprefs.c:
539 * src/core/na-object-item.c:
540 * src/core/na-object.c:
541 * src/core/na-settings.c:
542 * src/core/na-updater.c: Only reference minor version in 'Since:' and
543 'Deprecated' comments.
545 * run-autogen.sh: Change development installation directory to _install.
547 * configure.ac: gtk-doc and gnome-doc-utils are no more mandatory packages.
549 m4_ifdef is not a good way to test if these packages are available, as the
550 m4 files default ot be distributed.
552 * Makefile.am: Explicitely disable scrollkeeper here when making distcheck.
554 2011-11-25 Pierre Wieser <pwieser@trychlos.org>
556 * docs/nact/Makefile.am: Fully review the NACT User's Manual build.
558 * configure.ac: gtk-doc and gnome-doc-utils are no more mandatory packages.
561 No more try to rebuild manuals when making distcheck.
562 Move gnome-doc-utils.make and gtk-doc.make to MAINTAINERCLEANFILES target.
565 Rename 'autogen_target' variable to 'target'.
566 Remove distcheck target as doc is enough to build manuals.
568 * run-distcheck.sh: Update to new 'target' variable and 'doc' target.
570 * docs/reference/Makefile.am:
571 gtk-doc is no more a mandatory package.
572 Requires gtk-doc 1.15 to take advantage of new source option.
574 * docs/reference/nautilus-actions-docs.xml: Bump copyright year.
576 2011-11-21 Pierre Wieser <pwieser@trychlos.org>
578 * src/nact/nautilus-actions-config-tool.ui:
579 Remove empty children from GtkAssistant container.
581 * src/nact/nact-assistant-import.c:
582 Adapt to the new way Gtk+ 3.2 builds the assistant.
584 * src/nact/base-application.c (appli_initialize_gtk): Fix a typo.
586 * src/core/na-gtk-utils.c (na_gtk_utils_dump_children):
587 Increment the level of the first child of the hierarchy.
589 * run-autogen.sh: Be able to run from another directory.
591 2011-11-16 Pierre Wieser <pwieser@trychlos.org>
593 * src/nact/base-window.c:
594 * src/nact/base-window.h (base_window_dump_children): New function.
596 * src/core/na-gtk-utils.c:
597 * src/core/na-gtk-utils.h (na_gtk_utils_dump_children): New function.
599 * docs/nact/C/nact-conditions.xml:
600 * docs/nact/C/nact-edit.xml:
601 * docs/nact/C/nact-execution.xml:
602 * docs/nact/C/nact-profiles.xml:
603 * docs/nact/C/nact-sorting.xml:
604 * src/nact/nact-assistant-import.c:
605 Fix with advices of Christian Kirbach.
606 Fix #660399, reported by Christian Kirbach.
608 2011-11-15 Pierre Wieser <pwieser@trychlos.org>
610 * src/nact/nact-export-format.c:
611 * src/nact/nact-main-toolbar.c:
612 Get ride of deprecated GtkHBox and GtkVBox.
614 2011-11-05 Pierre Wieser <pwieser@trychlos.org>
616 * run-autogen.sh, run-distcheck.sh: Defines a special 'distcheck' mode.
618 2011-11-02 Pierre Wieser <pwieser@trychlos.org>
620 * docs/nact/C/nact-conditions.xml:
621 * docs/nact/C/nact-edit.xml:
622 * docs/nact/C/nact-execution.xml:
623 * docs/nact/C/nact-menus.xml:
624 * docs/nact/C/nact-profiles.xml:
625 Apply patch provided by Christian Kirbach.
626 Fix #661498 reported by Christian Kirbach.
628 * docs/nact/C/nact-conditions.xml: Replace 'regarding' with
630 From #660399, reported by Gabor Karsay.
632 2011-11-02 Pierre Wieser <pwieser@trychlos.org>
634 * src/io-desktop/nadp-writer.c (nadp_iio_provider_is_able_to_write):
635 * src/nact/base-gtk-utils.c (base_gtk_utils_select_file_with_preview):
636 * src/nact/nact-assistant-import.c (prepare_confirm):
637 * src/nact/nact-clipboard.c (nact_clipboard_dnd_set):
638 * src/nact/nact-main-statusbar.c (nact_main_statusbar_set_locked):
639 * src/nact/nact-preferences-editor.c (desktop_setup):
640 * src/nact/nact-providers-list.c (on_selection_changed):
641 * src/test/test-virtuals-without-test.c (first_instance_dispose):
642 Remove set but unused variables.
644 2011-07-25 Pierre Wieser <pwieser@trychlos.org>
646 * configure.ac: Fix test for nautilus_menu_provider_get_toolbar_items().
647 Fix #655237 - Toolbar icons are not created.
649 2011-07-03 Pierre Wieser <pwieser@trychlos.org>
651 * configure.ac: Post-release version bump.
653 * NEWS: Update before releasing.
655 * TODO: Update before releasing.
657 * src/utils/na-gconf2key.sh.in: Update comment.
659 * docs/nact/C/nact-conditions.xml:
660 * docs/nact/C/nact-execution.xml:
661 * docs/nact/C/nact-where.xml:
662 Fix #652664 - [doc] couple of spelling and improvement suggestions;
663 patch provided by Christian Kirbach.
665 2011-06-10 Pierre Wieser <pwieser@trychlos.org>
667 * src/core/na-boxed.c (string_to_array):
668 Accepts now both semi-comma-separated list of strings and
669 comma-separated between square brackets (Ã la GConf) from string lists.
671 * src/io-xml/naxml-reader.c (slist_to_string):
672 Formats string list as a semi-comma-separated list of strings for NABoxed.
674 * src/utils/na-gconf2key.sh.in: No more obsolete the GConf reading,
675 as it may sometimes be needed to re-migrate a newly inserted item.
677 * src/io-gconf/nagp-reader.c (get_boxed_from_path):
678 Only allocate a new box when a non-null value has been read.
680 * src/core/na-settings.c (read_key_value_from_key_file):
681 Also dump the value read from a key file.
683 * src/core/na-gconf-utils.c (dump_entry): Also dump list values.
685 2011-06-08 Pierre Wieser <pwieser@trychlos.org>
687 * src/api/na-object-api.h:
688 * docs/reference/nautilus-actions-sections.txt
689 (na_object_is_file, na_object_is_dir, na_object_is_multiple):
690 Macros are moved from the official API as deprecated.
692 * src/core/na-icontext-factory.c
693 (ISFILE, ISDIR): No more declare properties for deprecated data.
694 (SCHEMES): Declare 'file' as the default.
696 * src/core/na-factory-object.c:
697 * src/core/na-factory-object.h (na_factory_object_is_set): New function.
699 * src/core/na-object-action.c (ifactory_object_read_done):
700 Dump the rough read data.
701 First create a v2 profile before converting it to last version.
703 * src/core/na-object-menu.c (ifactory_object_read_done):
704 Dump the rough read data.
706 * src/core/na-object-profile.c
707 (ifactory_object_read_done): Dump the rough read data.
708 (convert_pre_v3_isfiledir): Test if 'isfile' is set before using it.
710 * src/io-desktop/nadp-reader.c (nadp_iio_provider_read_items):
711 * src/io-gconf/nagp-reader.c (nagp_iio_provider_read_items):
712 * src/io-xml/naxml-reader.c (naxml_reader_import_from_uri):
713 Dump the whole read item, maybe after conversion.
715 2011-05-22 Pierre Wieser <pwieser@trychlos.org>
717 * src/core/na-iimporter.c (na_iimporter_manage_import_mode):
718 Setup default values.
720 * src/io-desktop/nadp-reader.c (nadp_reader_iimporter_import_from_uri):
721 Add trace message before unreffing the imported object.
723 * src/nact/nact-assistant-import.c (assistant_apply):
724 Do not try to import an empty list.
726 * src/nact/nact-tree-ieditable.c (nact_tree_ieditable_insert_items):
727 Check for non empty list.
729 2011-05-20 Pierre Wieser <pwieser@trychlos.org>
731 * tools/release-tarball.sh: Use new Gnome release script ftpadmin.
733 * nautilus-actions.doap: Update download page and mailing list infos.
735 * configure.ac: Post release version bump.
737 2011-05-19 Pierre Wieser <pwieser@trychlos.org>
739 * docs/nact/figures: Update screenshots.
741 * docs/nact/C/nact-properties.xml: New file.
743 2011-05-18 Pierre Wieser <pwieser@trychlos.org>
745 * src/core/na-selected-info.c: Extract filename for a GFile location.
747 * src/utils/na-gconf2keys.sh: Requires ksh.
749 * src/core/na-settings.c: Create the configuration directory if
752 2011-03-14 Pierre Wieser <pwieser@trychlos.org>
754 * src/test/Makefile.am: Do not build test programs in release mode.
756 * docs/nact/C/nact-sorting.xml:
757 * docs/nact/C/nautilus-actions-config-tool.xml: Fix some typos.
759 * docs/nact/C/articleinfo.xml:
760 Convert to *nix-like file.
761 Update manual copyright.
763 * docs/nact/C/figures/nact-desktop-environment-frame.png:
764 * docs/nact/C/figures/nact-execution-environment-frame.png:
765 * docs/nact/C/figures/nact-preferences-export.png:
766 * docs/nact/C/figures/nact-preferences-import.png:
767 * docs/nact/C/figures/nact-preferences-io-providers.png:
768 * docs/nact/C/figures/nact-preferences-runtime.png:
769 * docs/nact/C/figures/nact-preferences-schemes.png:
770 * docs/nact/C/figures/nact-preferences-ui.png:
771 * docs/nact/C/figures/nact-schemes-tab.png:
772 * docs/nact/C/figures/nact-target-location.png:
773 * docs/nact/C/figures/nact-working-directory-frame.png:
774 * docs/nact/C/figures/nact-export-done.png:
775 * docs/nact/C/figures/nact-export-format.png:
776 * docs/nact/C/figures/nact-export-home.png:
777 * docs/nact/C/figures/nact-export-items.png:
778 * docs/nact/C/figures/nact-export-summary.png:
779 * docs/nact/C/figures/nact-export-target.png:
780 * docs/nact/C/figures/nact-import-done.png:
781 * docs/nact/C/figures/nact-import-files.png:
782 * docs/nact/C/figures/nact-import-home.png:
783 * docs/nact/C/figures/nact-import-mode.png:
784 * docs/nact/C/figures/nact-import-resultat.png:
785 * docs/nact/C/figures/nact-import-summary.png:
786 * docs/nact/C/figures/nact-preferences-desktop.png:
787 * docs/nact/C/figures/nact-preferences-execution.png:
788 Updated and new screenshots for version 3.1.
790 2011-03-13 Pierre Wieser <pwieser@trychlos.org>
792 * configure.ac: Post-release version bump.
794 2011-03-11 Pierre Wieser <pwieser@trychlos.org>
796 * NEWS: Pre-release update.
798 * src/core/na-tokens.c (execute_action_command):
799 Only use g_spawn_async_with_pipes when required by execution mode
800 (work-around for #644289).
801 Do not close child pid before the end of the child process.
803 2011-02-26 Pierre Wieser <pwieser@trychlos.org>
805 * configure.ac: Post-release bump version.
807 * NEWS: Pre-release udate.
809 * src/core/na-settings.c:
810 * src/core/na-settings.h: NA_IPREFS_PLUGIN_MENU_LOG user preference renamed.
812 * src/plugin-menu/nautilus-module.c (set_log_handler):
813 Test if log are enabled before installing the log handler.
815 * src/plugin-menu/nautilus-actions.c:
816 * src/plugin-menu/nautilus-actions.h (nautilus_action_is_log_enabled):
817 Removed function. Fix #643359.
819 * configure.ac: Post-release bump version.
821 2011-02-25 Pierre Wieser <pwieser@trychlos.org>
825 * README-GCONF: Update before releasing.
827 * src/api/na-core-utils.h:
828 * src/core/na-core-utils.c (na_core_utils_str_subst): New function.
830 * src/core/na-settings.c:
831 * src/core/na-settings.h:
832 Rename "terminal-prefix" user preference as "terminal-pattern".
834 * src/core/na-tokens.c:
835 * src/core/na-tokens.h (na_tokens_command_from_terminal_prefix):
836 Renamed as na_tokens_command_for_terminal().
838 * docs/reference/nautilus-actions-sections.txt:
839 * src/nact/nact-preferences-editor.c:
840 * src/nact/nact-preferences.ui: Updated accordingly.
842 * src/nact/nact-iexecution-tab.c (on_main_selection_changed):
843 Disable not implemented frames.
845 * src/nact/nautilus-actions-config-tool.ui:
846 Add a tooltip comment on not yet implemented fields.
848 * src/core/na-icontext.c (is_candidate_for_show_in):
849 First try desktop from user preferences.
851 NASettings is now a private singleton which allocates itself when needed.
852 Preference are so available anywhere without requiring an object.
854 * src/core/na-importer-ask.c (na_importer_ask_user):
855 * src/core/na-importer.c (import_from_uri):
856 * src/core/na-io-provider.c (na_io_provider_is_conf_readable):
857 * src/core/na-iprefs.c:
858 * src/core/na-iprefs.h:
859 * src/core/na-pivot.c (instance_constructed, instance_dispose):
860 * src/core/na-pivot.h (na_pivot_get_settings):
861 * src/core/na-settings.c:
862 * src/core/na-settings.h:
863 * src/core/na-tokens.c:
864 * src/core/na-tokens.h(na_tokens_execute_action):
865 * src/core/na-updater.c (are_preferences_locked):
866 * src/nact/base-gtk-utils.c:
867 * src/nact/nact-assistant-export.c (nact_assistant_export_run):
868 * src/nact/nact-assistant-import.c (nact_assistant_import_run):
869 * src/nact/nact-clipboard.c (export_row_object):
870 * src/nact/nact-export-ask.c (nact_export_ask_user):
871 * src/nact/nact-icon-chooser.c:
872 * src/nact/nact-ifolders-tab.c (on_browse_folder_clicked):
873 * src/nact/nact-main-toolbar.c (nact_main_toolbar_init):
874 * src/nact/nact-main-window.c (on_base_initialize_base_window):
875 * src/nact/nact-menubar-file.c (nact_menubar_file_save_items):
876 * src/nact/nact-preferences-editor.c:
877 * src/nact/nact-providers-list.c (nact_providers_list_save):
878 * src/nact/nact-schemes-list.c (init_view_get_default_list):
879 * src/nact/nact-sort-buttons.c (on_base_initialize_buttons):
880 * src/nact/nact-tree-model-dnd.c (drop_uri_list):
881 * src/nact/nact-tree-model.c (nact_tree_model_new):
882 * src/plugin-menu/nautilus-actions.c:
883 * src/utils/nautilus-actions-run.c: Updated accordingly.
885 Current desktop environment can be a user preference
887 * src/core/na-desktop-environment.c:
888 * src/core/na-desktop-environment.h: New files.
891 * src/core/Makefile.am:
892 * src/core/na-icontext.c (is_candidate_for_show_in):
893 * nact/nact-ienvironment-tab.c
894 (nact_ienvironment_tab_runtime_init_toplevel): Updated accordingly.
896 * src/core/na-settings.c:
897 * src/core/na-settings.h:
898 Define new NA_IPREFS_DESKTOP_ENVIRONMENT user preference.
899 (set_key_value): Setting a NULL string actually removes the key.
901 * src/nact/nact-preferences-editor.c:
902 * src/nact/nact-preferences.ui: Let the user choose his desktop.
904 * src/core/na-iabout.c: Renamed as src/core/na-about.c.
905 * src/core/na-iabout.h: Renamed as src/core/na-about.h.
906 NAIAbout is no more an interface, but just a set of functions.
908 * src/core/Makefile.am:
909 * src/core/na-core-utils.c (na_core_utils_print_version):
910 * src/nact/nact-application.c (nact_application_new_with_args):
911 * src/nact/nact-main-window.c:
912 * src/nact/nact-menubar-help.c (nact_menubar_help_on_about):
913 * src/plugin-menu/nautilus-actions.c (execute_about): Updated accordingly.
915 2011-02-24 Pierre Wieser <pwieser@trychlos.org>
917 Improve ExecutionMode implementation by defining a new user preference
919 * src/core/na-settings.c:
920 * src/core/na-settings.h: Define new NA_IPREFS_TERMINAL_PREFIX user preference.
922 * src/core/na-tokens.c:
923 * src/core/na-tokens.h
924 (na_tokens_command_from_terminal_prefix): New function.
925 (na_tokens_execute_action): New NASettings parameter.
927 * src/nact/nact-preferences-editor.c:
928 * src/nact/nact-preferences.ui: Let the user edit the preference.
930 * src/utils/nautilus-actions-run.c:
931 * po/POTFILES.in: Updated accordingly.
933 2011-02-23 Pierre Wieser <pwieser@trychlos.org>
935 * src/core/na-settings.c:
936 * src/core/na-settings.h: Define a new NA_IPREFS_PLUGIN_LOG user preference.
938 * src/plugin-menu/nautilus-actions.c:
939 * src/plugin-menu/nautilus-actions.h (nautilus_action_is_log_enabled):
942 * src/plugin-menu/nautilus-module.c (log_handler): Send debug trace to
943 syslog if the NA_IPREFS_PLUGIN_LOG preference is set.
945 * configure.ac: Bump Nautilus required version to 2.16
946 for having nautilus_menu_provider_emit_items_updated_signal() function.
949 * src/plugin-menu/nautilus-actions.c:
950 Check for nautilus_menu_provider_get_toolbar_items() function.
952 * src/core/na-selected-info.c (instance_init, instance_finalize):
953 Improve debug messages.
955 * src/core/na-icontext.c:
956 * src/nact/nact-ienvironment-tab.c: Improve list of desktop environments
957 (see http://standards.freedesktop.org/menu-spec/latest/apb.html).
959 Move Nautilus-Actions configuration files to nautilus-actions/ subdir
961 * src/core/na-settings.c (na_settings_new):
962 * src/utils/na-gconf2key.sh.in: Updated accordingly.
964 Implement execution mode property
966 * m4/na-check-for-gtk.m4: Check for Gio-unix.
968 * src/core/na-object-profile-factory.c: Improve translation comment.
970 * src/core/na-tokens.c (execute_action_command): Display output.
972 2011-02-21 Pierre Wieser <pwieser@trychlos.org>
974 * src/api/na-object.h:
975 * src/core/na-object.c (na_object_get_hierarchy, na_object_free_hierarchy):
976 Deprecated functions.
978 * src/core/na-object-id.c (v_new_id): No more call na_object_get_hierarchy().
980 Rewrite copy stack to get ride of iteration on class hierarchy
982 * src/api/na-object-api.h
983 (na_object_copy, na_object_get_hierarchy): Removed macros.
985 * src/api/na-icontext.h:
986 * src/core/na-icontext.c (na_icontext_copy): New function.
988 * src/core/na-object.c (object_copy_iter, iter_on_class_hierarchy):
989 * src/core/na-object-item.c (object_copy):
990 * src/core/na-object-action.c (object_copy):
991 * src/core/na-object-profile.c (object_copy):
992 * src/core/na-object-menu.c (object_copy): Updated accordingly.
994 Rewrite validity status check stack
996 * src/api/na-icontext.h:
997 * src/core/na-icontext.c (na_icontext_are_equal): New function.
999 * src/core/na-factory-object.c (na_factory_object_is_valid):
1000 * src/core/na-object.c (iduplicable_is_valid):
1001 * src/core/na-object-id.c (object_is_valid):
1002 * src/core/na-object-id-factory.c:
1003 * src/core/na-object-item.c (object_is_valid):
1004 * src/core/na-object-action.c (object_is_valid):
1005 * src/core/na-object-profile.c (object_is_valid):
1006 * src/core/na-object-menu.c (object_is_valid): Updated accordingly.
1008 Rewrite modification status check stack
1010 * src/api/na-object-item.h:
1011 * src/core/na-object-item.c (na_object_item_are_equal): Removed function.
1013 * src/api/na-object.h:
1014 * src/core/na-factory-object.c:
1015 * src/core/na-iduplicable.c: Improve comment.
1017 * src/core/na-object.c:
1018 * src/core/na-object-id.c:
1019 * src/core/na-object-menu.c:
1020 * src/core/na-object-action.c:
1021 * src/core/na-object-profile.c: Modification is checked from
1022 NAObject-virtual method instead of NAIFactoryObject interface.
1024 * src/api/na-iduplicable.h:
1025 * src/api/na-iduplicable.c (v_are_equal, v_is_valid): Default to TRUE.
1027 * src/core/na-icontext.c (is_candidate_for_mimetypes): Fix check.
1029 * src/api/na-icontext.h:
1030 * src/core/na-icontext.c (na_icontext_is_all_mimetypes):
1031 Renamed as na_icontext_check_mimetypes().
1033 * src/api/na-ifactory-object-data.h:
1034 * src/api/na-object-api.h:
1035 * src/core/na-icontext-factory.c:
1036 * src/core/na-object-profile.c: Updated accordingly.
1038 * src/core/na-icontext.c (is_valid_isfiledir): Deprecated function.
1040 * src/core/na-icontext.c (na_icontext_get_running_environment):
1043 * src/core/na-boxed.c (string_list_from_string,
1044 string_list_from_value, string_list_from_void): Check for duplicates.
1046 * src/utils/nautilus-actions-new.c: Fix default mimetype.
1048 * src/core/na-icontext.c (get_running_environment): New function.
1050 * src/utils/na-print-schemas.c: Also display menu schemas.
1052 * src/core/na-icontext-factory.c (NAFO_DATA_ISFILE, NAFO_DATA_ISDIR):
1053 Data are deprecated and not writable.
1055 * src/utils/nautilus-actions-new.c: Mimetypes default to */*.
1057 2011-02-20 Pierre Wieser <pwieser@trychlos.org>
1059 * src/core/na-icontext-factory.c (NAFO_DATA_TRY_EXEC,
1060 NAFO_DATA_SHOW_IF_REGISTERED, NAFO_DATA_SHOW_IF_TRUE,
1061 NAFO_DATA_SHOW_IF_RUNNING, NAFO_DATA_CAPABILITITES): Fix options definition.
1063 * src/utils/nautilus-actions-new.c: Add try-exec, show-if-registered,
1064 show-if-true, show-if-running and capability options.
1066 * src/core/na-icontext-factory.c (NAFO_DATA_SCHEMES, NAFO_DATA_FOLDERS,
1067 NAFO_DATA_SELECTION_COUNT, NAFO_DATA_ONLY_SHOW, NAFO_DATA_NOT_SHOW):
1068 * src/core/na-object-action-factory.c (NAFO_DATA_TARGET_SELECTION,
1069 NAFO_DATA_TARGET_LOCATION, NAFO_DATA_TARGET_TOOLBAR):
1070 * src/core/na-object-item-factory.c (NAFO_DATA_ENABLED):
1071 Fix options definition.
1073 * src/utils/nautilus-actions-new.c: Add only-show-in and not-show-in options.
1075 * src/core/na-icontext-factory.c
1076 (NAFO_DATA_SELECTION_COUNT): Fix option definition.
1078 * src/utils/nautilus-actions-new.c: Add selection-count option.
1080 * src/core/na-data-boxed.c (string_is_default, string_list_is_default,
1081 locale_is_default): Fix default value test.
1083 2011-02-19 Pierre Wieser <pwieser@trychlos.org>
1085 * src/api/na-object-api.h (na_object_set_isfile, na_object_set_isdir,
1086 na_object_set_multiple): Deprecated functions.
1088 * src/core/na-icontext-factory.c (is_file, is_dir, accept_multiple):
1091 * src/utils/nautilus-actions-new.c: Updated accordingly.
1093 * src/nact/nact-providers-list.c:
1094 * src/nact/nact-schemes-list.c: Does not recompute if preferences are
1095 locked, but use na_updater_are_preferences_locked() function.
1097 * src/api/na-iio-provider.h:
1098 Define new reason when the level zero is not writable.
1100 * src/core/na-updater.c:
1101 * src/core/na-updater.h (na_updater_is_item_writable):
1102 Renamed as na_updater_check_item_writability_status.
1104 * src/nact/nact-main-window.c (setup_writability_status):
1105 * src/nact/nact-menubar-edit.c (get_deletables):
1106 * src/nact/nact-tree-model-dnd.c (is_parent_accept_new_children):
1107 Updated accordingly.
1109 * src/nact/base-assistant.c (class_init):
1110 Apply patch provided by Christian Kirback. Fix #640920.
1112 2011-02-17 Pierre Wieser <pwieser@trychlos.org>
1114 * src/core/na-pivot.h:
1115 * src/core/na-pivot.c: Define new 'pivot-prop-loadable' property.
1117 * src/nact/base-window.h:
1118 * src/nact/base-window.c (class_init):
1119 Defines a new 'base-window-willing-to-quit' stop-with-accumulator signal.
1121 * src/nact/nact-main-window.c:
1122 Connect to the signal instead of implementing a virtual method.
1124 2011-02-16 Pierre Wieser <pwieser@trychlos.org>
1126 * src/core/na-iduplicable.c (interface_base_init):
1127 * src/core/na-settings.c (class_init):
1128 * src/nact/base-window.c (class_init):
1129 Use G_SIGNAL_RUN_CLEANUP signal flag when an object handler is defined.
1131 * docs/reference/Makefile.am:
1132 * src/nact/Makefile.am:
1133 * run-distcheck.sh: Fix make distcheck.
1135 * docs/reference/Makefile.am:
1136 Do not documente NAGconfMonitor class when deprecated symbols are disabled.
1138 * src/api/na-data-boxed.h:
1139 * src/api/na-gconf-utils.h:
1140 * src/core/na-data-boxed.c:
1141 * src/core/na-iduplicable.c:
1142 * src/io-gconf/nagp-gconf-provider.c: Do not compile deprecated functions.
1145 * m4/na-maintainer-mode.m4: Add --enable-deprecated configure option.
1147 * src/api/na-object-api.h (na_object_set_modified): Deprecated macro.
1149 * src/api/na-iduplicable.h:
1150 * src/core/na-iduplicable.c (na_iduplicable_set_modified):
1151 Deprecated function.
1153 * src/core/na-factory-object.c (na_factory_object_are_equal):
1154 * src/nact/nact-tree-ieditable.c (on_object_modified_status_changed):
1155 Improve debug messages.
1157 * src/core/na-icontext-factory.c:
1158 * src/core/na-object-action-factory.c:
1159 * src/core/na-object-id-factory.c: Set missing default values.
1161 * src/core/na-object-action.c (ifactory_object_are_equal):
1162 An action is modified as soon as at least one profile is modified.
1164 * src/core/na-icontext-factory.c: Fix string list regression
1166 * src/core/na-boxed.c: Fix regression when setting values.
1168 * src/core/na-selected-info.c (query_file_attributes):
1169 Keep selection info even when unable to query attributes.
1172 2011-02-15 Pierre Wieser <pwieser@trychlos.org>
1174 Do not compile with GConf library when disabled
1176 * src/api/na-gconf-monitor.h:
1177 * src/api/na-gconf-utils.h:
1178 * src/core/na-gconf-migration.c:
1179 * src/core/na-gconf-monitor.c:
1180 * src/core/na-gconf-utils.c:
1181 * src/io-gconf/Makefile.am:
1182 * src/io-xml/naxml-reader.c:
1183 * src/utils/Makefile.am: Updated accordingly.
1185 2011-02-14 Pierre Wieser <pwieser@trychlos.org>
1187 Add --enable-gconf configure argument
1188 Define HAVE_GCONF conditional
1190 * m4/na-check-for-gconf.m4: New file.
1193 * data/gconf-schemas/Makefile.am: Updated accordingly.
1195 Only GConf writing operations are marked deprecated
1197 * src/api/na-gconf-monitor.h:
1198 * src/api/na-gconf-utils.h:
1199 * src/core/na-gconf-monitor.c:
1200 * src/core/na-gconf-utils.c:
1201 * src/io-gconf/nagp-writer.c:
1202 * src/io-gconf/nagp-writer.h: Updated accordingly.
1204 No more use deprecated functions
1206 * src/core/na-factory-object.c:
1207 * src/io-desktop/nadp-reader.c:
1208 * src/io-desktop/nadp-writer.c:
1209 * src/io-gconf/nagp-reader.c:
1210 * src/io-gconf/nagp-writer.c:
1211 * src/io-xml/naxml-reader.c:
1212 * src/io-xml/naxml-writer.c: Updated accordingly.
1214 NADataBoxed class now derives from NABoxed
1216 * src/api/na-boxed.h:
1217 * src/api/na-data-boxed.h:
1218 * src/api/na-data-types.h:
1219 * src/core/na-boxed.c:
1220 * src/core/na-core-utils.c:
1221 * src/core/na-data-boxed.c:
1222 * src/core/na-data-types.c:
1223 * src/core/na-factory-object.c:
1224 * src/core/na-ifactory-object.c:
1225 * src/core/na-settings.c:
1226 * src/io-desktop/nadp-writer.c:
1227 * src/io-gconf/nagp-writer.c:
1228 * src/io-xml/naxml-writer.c: Updated accordingly.
1230 * src/api/na-boxed.h:
1231 * src/core/na-boxed.c: Convert to the NABoxed class.
1233 * src/core/na-settings.c: Updated accordingly.
1235 * src/api/na-data-boxed.h:
1236 * src/core/na-data-boxed.c: NADataBoxed class is no more deprecated.
1238 Merge NABoxed and NADataBoxed data type definitions.
1239 Data type are remaned as NA_DATA_TYPE.
1241 * src/api/na-boxed.h:
1242 * src/api/na-data-def.h:
1243 * src/api/na-data-types.h:
1244 * src/core/na-boxed.c:
1245 * src/core/na-data-boxed.c:
1246 * src/core/na-data-types.c:
1247 * src/core/na-factory-object.c:
1248 * src/core/na-icontext-factory.c:
1249 * src/core/na-ifactory-object.c:
1250 * src/core/na-object-action-factory.c:
1251 * src/core/na-object-id-factory.c:
1252 * src/core/na-object-item-factory.c:
1253 * src/core/na-object-profile-factory.c:
1254 * src/core/na-settings.c:
1255 * src/io-desktop/nadp-reader.c:
1256 * src/io-desktop/nadp-writer.c:
1257 * src/io-gconf/nagp-reader.c:
1258 * src/io-gconf/nagp-writer.c:
1259 * src/io-xml/naxml-reader.c:
1260 * src/io-xml/naxml-writer.c:
1261 * src/utils/na-print-schemas.c: Updated accordingly.
1263 2011-02-07 Pierre Wieser <pwieser@trychlos.org>
1265 * src/api/na-iduplicable.h:
1266 * src/core/na-iduplicable.c:
1267 Deprecate NA_IDUPLICABLE_SIGNAL_STATUS_CHANGED signal.
1268 Define new IDUPLICABLE_SIGNAL_MODIFIED_CHANGED and IDUPLICABLE_SIGNAL_VALID_CHANGED.
1270 * src/api/na-object-api.h:
1271 * src/core/na-object.c:
1272 * src/core/na-object-item.c:
1273 * src/core/na-object-item.h:
1274 Deprecated na_object_check_status_up macro.
1275 Merge na_object_item_check_status() and na_object_item_check_status_up().
1277 * src/nact/nact-iaction-tab.c:
1278 * src/nact/nact-ibasenames-tab.c:
1279 * src/nact/nact-icapabilities-tab.c:
1280 * src/nact/nact-icommand-tab.c:
1281 * src/nact/nact-ienvironment-tab.c:
1282 * src/nact/nact-iexecution-tab.c:
1283 * src/nact/nact-ifolders-tab.c:
1284 * src/nact/nact-iproperties-tab.c:
1285 * src/nact/nact-ischemes-tab.c:
1286 * src/nact/nact-main-window.c:
1287 * src/nact/nact-main-window.h:
1288 * src/nact/nact-match-list.c: Properties are renamed.
1290 * src/nact/nact-main-tab.c:
1291 * src/nact/nact-main-tab.h (nact_main_tab_get_context): Removed function.
1293 2011-02-03 Pierre Wieser <pwieser@trychlos.org>
1295 In the process of replacing NactIActionsList interface with:
1296 - the NactTreeView class
1297 - plus the NactTreeIEditable interface.
1299 Almost all NACT files modified. Compilation is OK.
1301 2011-02-02 Pierre Wieser <pwieser@trychlos.org>
1303 * src/nact/nact-tree-model.c:
1304 * src/nact/nact-tree-model.h (nact_tree_model_get_items):
1305 * src/nact/nact-tree-view.c:
1306 * src/nact/nact-tree-view.h (nact_tree_view_get_items): New functions.
1308 Allow an items list to be referenced in a new list.
1310 * src/api/na-object-api.h (na_object_ref_items): New macro.
1312 * src/api/na-object-item.h:
1313 * src/core/na-object-item.c (na_object_item_ref_items): New function.
1315 * src/nact/nact-assistant-export.c
1316 (instance_dispose, on_tree_view_selection_changed): Updated accordingly.
1318 Review NAObject reference management
1320 * src/api/na-object-api.h
1321 (na_object_unref_items, na_object_unref_items_rec): Removed macros.
1322 (na_object_free_items): New macro.
1324 * src/api/na-object-item.h:
1325 * src/core/na-object-item.c
1326 (na_object_item_unref_items, na_object_item_unref_items_rec): Removed functions.
1327 (na_object_item_free_items): New function.
1329 * src/core/na-io-provider.c (na_io_provider_load_items):
1330 * src/core/na-object.c (na_object_object_ref, na_object_object_unref):
1331 * src/core/na-pivot.c (instance_dispose, na_pivot_load_items,
1332 na_pivot_set_new_items):
1333 * src/nact/nact-assistant-import.c (assistant_apply):
1334 * src/nact/nact-iactions-list-bis.c (nact_iactions_list_bis_get_items):
1335 * src/nact/nact-iactions-list.c (free_items_callback):
1336 * src/nact/nact-main-menubar-edit.c (nact_main_menubar_edit_on_cut,
1337 nact_main_menubar_edit_on_copy, nact_main_menubar_edit_on_paste,
1338 nact_main_menubar_edit_on_paste_into,
1339 nact_main_menubar_edit_on_duplicate, nact_main_menubar_edit_on_delete):
1340 * src/nact/nact-main-menubar-file.c
1341 (nact_main_menubar_file_on_new_menu,
1342 nact_main_menubar_file_on_new_action,
1343 nact_main_menubar_file_on_new_profile):
1344 * src/nact/nact-main-menubar-maintainer.c
1345 (nact_main_menubar_maintainer_on_dump_selection):
1346 * src/nact/nact-main-menubar.c (on_update_sensitivities):
1347 * src/nact/nact-main-window.c (instance_dispose,
1348 nact_main_window_remove_deleted, reload):
1349 * src/nact/nact-tree-model-dnd.c (drop_uri_list):
1350 * src/nact/nact-tree-model.c (fill_tree_store):
1351 * src/nact/nact-tree-view.c (on_selection_changed_cleanup_handler):
1352 * src/plugin-menu/nautilus-actions.c (get_menus_items): Updated
1354 * src/nact/nact-main-menubar-maintainer.c
1355 (nact_main_menubar_maintainer_on_dump_selection):
1356 * src/nact/nact-main-menubar.c (on_update_sensitivities):
1357 * src/nact/nact-main-window.c (instance_dispose,
1358 nact_main_window_remove_deleted, reload):
1359 * src/nact/nact-tree-model-dnd.c (drop_uri_list):
1360 * src/nact/nact-tree-model.c (fill_tree_store):
1361 * src/nact/nact-tree-view.c (on_selection_changed_cleanup_handler):
1362 * src/plugin-menu/nautilus-actions.c (get_menus_items):
1363 Updated accordingly.
1365 New NactTreeView convenience class
1367 * src/nact/nact-tree-view.c:
1368 * src/nact/nact-tree-view.h: New files.
1370 * src/nact/Makefile.am:
1371 * src/nact/nact-assistant-export.c:
1372 * src/nact/nact-iactions-list-priv.c:
1373 * src/nact/nact-iactions-list.h:
1374 * src/nact/nact-marshal.list:
1375 * src/nact/nact-tree-model.c: Updated accordingly.
1377 2011-02-02 Pierre Wieser <pwieser@trychlos.org>
1379 Refactoring of menubar files:
1380 - nact-main-menubar-*.c are renamed as nact-menubar-*.c.
1381 - nact-main-menubar-*.h are removed.
1383 * src/nact/Makefile.am:
1384 * src/nact/nact-confirm-logout.c:
1385 * src/nact/nact-iactions-list.c: Updated accordingly.
1387 * src/nact/nact-main-window.c:
1388 * src/nact/nact-main-window.h: Remove MAIN_WINDOW_SIGNAL_UPDATE_ACTION_SENSITIVITIES
1389 which is replaced by NactMenubar internal MAIN_SIGNAL_UPDATE_SENSITIVITIES one.
1391 Termination of the main window is managed in NactMainWindow.
1393 * src/nact/nact-main-window.c:
1394 * src/nact/nact-main-window.h (nact_main_window_quit): New function.
1396 * src/nact/nact-main-menubar-file.c: Updated accordingly.
1398 Move a NASettings getter to NAUpdater
1400 * src/core/na-updater.c:
1401 * src/core/na-updater.h (na_updater_should_pasted_be_relabeled): New function.
1403 * src/nact/nact-main-menubar-edit.c:
1404 * src/nact/nact-main-menubar-edit.h
1405 (nact_main_menubar_edit_is_pasted_object_relabeled): Removed function.
1407 * src/nact/nact-tree-model-dnd.c (drop_inside): Updated accordingly.
1409 * src/nact/base-application.c (class_init):
1410 * src/nact/base-assistant.c (class_init):
1411 * src/nact/base-window.c (class_init):
1412 * src/nact/nact-main-window.c (instance_constructed):
1413 Setup construction properties.
1415 * src/nact/nact-application.c:
1416 * src/nact/nact-application.h (nact_application_get_updater):
1417 Set NactApplication as a const argument.
1419 Deprecate NAIPivotConsumer interface
1421 * src/core/na-ipivot-consumer.c:
1422 * src/core/na-ipivot-consumer.h: Removed files.
1424 * src/core/Makefile.am:
1425 * src/core/na-pivot.c:
1426 * src/core/na-pivot.h:
1427 * src/nact/nact-application.c:
1428 * src/nact/nact-main-menubar-file.c:
1429 * src/nact/nact-main-window.c:
1430 * src/nact/nact-menubar.c: Updated accordingly.
1432 * src/core/na-pivot.c:
1433 * src/core/na-pivot.h
1434 (na_pivot_set_automatic_reload): Remove unused function.
1436 * src/test/test-reader.c: Updated accordingly.
1438 * src/nact/nact-main-window.c (instance_constructed):
1439 Connect to PIVOT_SIGNAL_ITEMS_CHANGED signal.
1441 Rename nact-gtk-utils to base-gtk-utils and merge base-iprefs into it
1443 * src/nact/base-iprefs.c:
1444 * src/nact/base-iprefs.c: Removed files.
1446 * src/nact/Makefile.am:
1447 * src/nact/base-gtk-utils.c:
1448 * src/nact/base-gtk-utils.h:
1449 * src/nact/base-window.c:
1450 * src/nact/nact-assistant-export.c:
1451 * src/nact/nact-export-ask.c:
1452 * src/nact/nact-export-format.c:
1453 * src/nact/nact-iaction-tab.c:
1454 * src/nact/nact-ibasenames-tab.c:
1455 * src/nact/nact-icommand-tab.c:
1456 * src/nact/nact-icon-chooser.c:
1457 * src/nact/nact-ienvironment-tab.c:
1458 * src/nact/nact-iexecution-tab.c:
1459 * src/nact/nact-ifolders-tab.c:
1460 * src/nact/nact-iproperties-tab.c:
1461 * src/nact/nact-ischemes-tab.c:
1462 * src/nact/nact-main-statusbar.c:
1463 * src/nact/nact-main-window.c:
1464 * src/nact/nact-match-list.c:
1465 * src/nact/nact-preferences-editor.c:
1466 * src/nact/nact-providers-list.c:
1467 * src/nact/nact-schemes-list.c:
1468 * src/nact/nact-tree-model.c: Updated accordingly.
1470 Convert the get_wp_id() BaseIPrefsInterface method to "base-window-wsp-name"
1473 * src/core/na-settings.c:
1474 * src/core/na-settings.h: New NA_IPREFS_CONFIRM_LOGOUT_WSP user preference.
1476 * src/nact/base-iprefs.c:
1477 * src/nact/base-iprefs.h
1478 (base_iprefs_position_named_window, base_iprefs_save_named_window_position):
1480 (get_wsp_id): Remove interface method.
1482 * src/nact/base-window.c:
1483 * src/nact/base-window.h: New BASE_PROP_WSP_NAME BaseWindow property.
1485 * src/nact/nact-add-capability-dialog.c:
1486 * src/nact/nact-add-scheme-dialog.c:
1487 * src/nact/nact-assistant-export.c:
1488 * src/nact/nact-assistant-import.c:
1489 * src/nact/nact-confirm-logout.c:
1490 * src/nact/nact-export-ask.c:
1491 * src/nact/nact-gtk-utils.c:
1492 * src/nact/nact-icommand-tab.c:
1493 * src/nact/nact-icon-chooser.c:
1494 * src/nact/nact-ifolders-tab.c:
1495 * src/nact/nact-main-window.c:
1496 * src/nact/nact-preferences-editor.c: Updated accordingly.
1498 * src/core/na-updater.c:
1499 * src/core/na-updater.h (na_updater_are_preferences_locked): New function.
1501 Homogeneize marshalling
1503 * src/core/na-marshal: Renamed as src/core/na-marshal.def
1504 * src/nact/nact-marshal.list: Renamed as src/nact/nact-marshal.def
1506 * src/core/Makefile.am:
1507 * src/nact/Makefile.am:
1508 * src/nact/nact-iactions-list.c (interface_base_init):
1509 * src/nact/nact-main-window.c (class_init): Updated accordingly.
1511 2011-02-01 Pierre Wieser <pwieser@trychlos.org>
1513 Review menu items sensitivity updates
1515 * src/api/na-object-api.h
1516 (na_object_is_finally_writable, na_object_set_writability_status): New macros.
1518 * src/api/na-object-item.h:
1519 * src/core/na-object-item.c
1520 (na_object_item_is_finally_writable, na_object_item_set_writability_status):
1523 * src/core/na-updater.c:
1524 * src/core/na-updater.h (na_updater_load_items): New function.
1526 * src/nact/nact-application.c (appli_main_window_new):
1527 * /src/nact/nact-main-window.c (on_base_initialize_base_window):
1528 No more load items when instanciating the main window, but when
1531 * src/nact/nact-iactions-list.c (nact_iactions_list_all_widgets_showed):
1532 Send the IACTIONS_LIST_SIGNAL_LIST_COUNT_UPDATED message to update the menubar.
1534 * src/nact/nact-main-menubar-edit.c (nact_main_menubar_edit_on_update_sensitivities):
1535 * src/nact/nact-main-menubar-file.c (nact_main_menubar_file_on_update_sensitivities):
1536 * src/nact/nact-menubar-priv.h:
1537 * src/nact/nact-menubar.c (on_iactions_list_selection_changed):
1538 Rely on indicators pre-computed on selection changes.
1540 * src/nact/nact-window.c:
1541 * src/nact/nact-window.h (nact_window_has_writable_providers):
1544 * src/nact/nact-menubar-priv.h:
1545 * src/nact/nact-menubar.c: Updated accordingly.
1547 * src/core/na-iprefs.c:
1548 * src/core/na-iprefs.h (na_iprefs_is_level_zero_writable):
1549 Moved to NAUpdater class.
1551 * src/core/na-updater.c:
1552 * src/core/na-updater.h (na_updater_is_level_zero_writable):
1553 Moved from NAIPrefs.
1555 * src/nact/nact-menubar-priv.h:
1556 * src/nact/nact-menubar.c (on_base_initialize_window):
1557 * src/nact/nact-sort-buttons.c (enable_buttons):
1558 * src/nact/nact-tree-model-dnd.c (is_parent_accept_new_childs):
1559 Updated accordingly.
1561 Review I/O providers writability status management.
1563 * src/api/na-iio-provider.h: Review writability reason.
1565 * src/core/na-io-provider.c:
1566 * src/core/na-io-provider.h
1567 (na_io_provider_is_able_to_write, na_io_provider_is_willing_to_write):
1569 (na_io_provider_is_finally_writable): New function.
1571 * src/core/na-pivot.c:
1572 * src/core/na-pivot.h
1573 (na_pivot_is_configuration_locked_by_admin): Removed function.
1575 * src/core/na-updater.c
1576 * src/core/na-updater.h (na_updater_is_item_writable):
1577 * src/nact/nact-main-menubar-edit.c (get_deletables):
1578 * src/nact/nact-main-window.c: Updated accordingly.
1580 2011-01-31 Pierre Wieser <pwieser@trychlos.org>
1582 * src/nact/nact-menubar.c (nact_main_menubar_enable_item):
1583 Renamed as nact_menubar_enable_item() and moved to private resources.
1585 * src/nact/nact-main-menubar-edit.c:
1586 * src/nact/nact-main-menubar-file.c:
1587 * src/nact/nact-main-menubar-help.c:
1588 * src/nact/nact-main-menubar-tools.c:
1589 * src/nact/nact-main-menubar-view.c:
1590 * src/nact/nact-menubar-priv.h:
1591 * src/nact/nact-menubar.h: Updated accordingly.
1593 Move MenubarIndicatorsStruct structure to private instance data
1595 * src/nact/nact-menubar-priv.h: New file.
1597 * src/nact/Makefile.am:
1598 * src/nact/nact-main-menubar-edit.c:
1599 * src/nact/nact-main-menubar-edit.h:
1600 * src/nact/nact-main-menubar-file.c:
1601 * src/nact/nact-main-menubar-file.h:
1602 * src/nact/nact-main-menubar-help.c:
1603 * src/nact/nact-main-menubar-help.h:
1604 * src/nact/nact-main-menubar-maintainer.c:
1605 * src/nact/nact-main-menubar-maintainer.h:
1606 * src/nact/nact-main-menubar-tools.c:
1607 * src/nact/nact-main-menubar-tools.h:
1608 * src/nact/nact-main-menubar-view.c:
1609 * src/nact/nact-main-menubar-view.h:
1610 * src/nact/nact-menubar.c:
1611 * src/nact/nact-menubar.h: Updated accordingly.
1613 Define a new NactMenubar convenience class
1615 * src/nact/nact-main-menubar.c:
1616 * src/nact/nact-main-menubar.h: Renamed as nact-menubar.{c,h}.
1618 * src/nact/Makefile.am:
1619 * src/nact/nact-iactions-list.c:
1620 * src/nact/nact-main-menubar-edit.h:
1621 * src/nact/nact-main-menubar-file.h:
1622 * src/nact/nact-main-menubar-help.c:
1623 * src/nact/nact-main-menubar-help.h:
1624 * src/nact/nact-main-menubar-maintainer.c:
1625 * src/nact/nact-main-menubar-maintainer.h:
1626 * src/nact/nact-main-menubar-tools.c:
1627 * src/nact/nact-main-menubar-tools.h:
1628 * src/nact/nact-main-menubar-view.c:
1629 * src/nact/nact-main-menubar-view.h:
1630 * src/nact/nact-main-window.c: Updated accordingly.
1632 * src/api/na-boxed.h:
1633 * src/core/na-boxed.c (na_boxed_dump): New function.
1635 * src/core/na-settings.c (on_keyfile_changed_timeout): Fix segfault.
1637 * src/nact/nact-preferences-editor.c (on_dialog_ok): Spare a function.
1639 * src/core/na-marshal: New file.
1641 2011-01-28 Pierre Wieser <pwieser@trychlos.org>
1643 * src/core/Makefile.am: Generate na_cclosure_masharl functions.
1645 * src/core/na-settings.c:
1646 * src/core/na-settings.h: No more try to summarize notifications here.
1648 * src/plugin-menu/nautilus-actions.c (instance_constructed):
1649 Register NASettings callbacks on the runtime keys.
1651 * src/nact/nact-main-window.c:
1652 (NAIPivotConsumer->on_display_order_changed):
1653 Moved to on_settings_order_mode_changed() function.
1654 (NAIPivotConsumer->on_autosave_changed):
1655 Moved to nact_main_menubar_file_install_autosave() new function.
1657 * src/nact/nact-main-menubar-file.c:
1658 * src/nact/nact-main-menubar-file.h
1659 (nact_main_menubar_file_install_autosave): New function.
1661 * src/core/na-iprefs.c:
1662 * src/core/na-iprefs.h (na_iprefs_get_order_mode_by_label):
1665 * src/core/na-icontext.c (is_candidate_for_basenames):
1666 Fix case insenstive comparison (bug reported by Johan Spee).
1668 Whole refactoring of BaseWindow / BaseAssistant / BaseDialog
1670 * src/nact/base-application.c:
1671 * src/nact/base-application.h: Add new exit codes.
1673 * src/nact/base-assistant.c:
1674 * src/nact/base-assistant.h:
1675 Remove 'warn-on-cancel' unused property.
1676 (base_assistant_set_cancel_on_esc, base_assistant_set_warn_on_esc):
1677 Remove unused functions.
1678 Implement run() virtual method.
1680 * src/nact/base-dialog.c:
1681 * src/nact/base-dialog.h:
1682 Implement run() virtual method.
1683 Define new cancel() and ok() virtual methods.
1685 * src/nact/base-iprefs.c:
1686 * src/nact/base-iprefs.h (iprefs_get_window_id): Renamed as get_wsp_id().
1688 * src/nact/base-window.c:
1689 * src/nact/base-window.h
1690 (dialog_response, delete_event): Remove no more used virtual methods.
1691 (run): Define new virtual method.
1693 * src/nact/nact-add-capability-dialog.c:
1694 * src/nact/nact-add-scheme-dialog.c:
1695 * src/nact/nact-assistant-export.c:
1696 * src/nact/nact-assistant-import.c:
1697 * src/nact/nact-confirm-logout.c:
1698 * src/nact/nact-export-ask.c:
1699 * src/nact/nact-icon-chooser.c:
1700 * src/nact/nact-main-window.c:
1701 * src/nact/nact-preferences-editor.c: Updated accordingly.
1703 2011-01-26 Pierre Wieser <pwieser@trychlos.org>
1705 * src/nact/nact-providers-list.c:
1706 * src/nact/nact-providers-list.h (nact_providers_list_create_model):
1707 Do not initialize the widgets with the future BaseWindow.
1709 * src/nact/nact-preferences-editor.c (preferences_editor_new):
1710 Updated accordingly.
1712 * src/nact/nact-schemes-list.c: Only ask for preferences once.
1714 * src/nact/nact-assistant-import.c (assist_new):
1715 Reload the common XML UI file into the private builder.
1717 * src/nact/base-dialog.c:
1718 * src/nact/base-dialog.h:
1719 * src/nact/base-window.h: Do some code and comments cleanup.
1721 * src/nact/base-builder.c (base_builder_get_toplevel_by_name):
1722 * src/nact/base-iprefs.c (base_iprefs_position_named_window):
1723 * src/nact/base-window.c (setup_builder):
1724 Add a debug message.
1726 2011-01-24 Pierre Wieser <pwieser@trychlos.org>
1728 * src/plugin-menu/nautilus-actions.c:
1729 * src/plugin-menu/nautilus-actions.h:
1730 Takes advantage of the new NASettings signal notification system.
1732 * src/core/na-pivot.c:
1733 * src/core/na-pivot.h: Review the notification system.
1735 * src/core/na-settings.c:
1736 * src/core/na-settings.h:
1737 Add a signal notification to the existing callback pregistration system.
1739 * data/gconf-schemas/nautilus-actions-prefs.schemas.in:
1740 * docs/des-ema/des-ema-0.15:
1741 * docs/nact/C/nact-conditions.xml:
1742 * docs/nact/C/nact-menus.xml:
1743 * src/api/na-extension.h:
1744 * src/api/na-ifactory-provider.h:
1745 * src/api/na-iio-provider.h:
1746 * src/api/na-object.h:
1747 * src/core/na-core-utils.c:
1748 * src/core/na-factory-object.c:
1749 * src/core/na-gconf-utils.c:
1750 * src/core/na-icontext-factory.c:
1751 * src/core/na-icontext.c:
1752 * src/core/na-ifactory-provider.c:
1753 * src/core/na-io-provider.c:
1754 * src/core/na-io-provider.h:
1755 * src/core/na-iprefs.c:
1756 * src/core/na-object-action.c:
1757 * src/core/na-object-id-factory.c:
1758 * src/core/na-object-id.c:
1759 * src/core/na-object-item-factory.c:
1760 * src/core/na-object-item.c:
1761 * src/core/na-pivot.h:
1762 * src/core/na-settings.c:
1763 * src/core/na-settings.h:
1764 * src/core/na-tokens.h:
1765 * src/io-desktop/nadp-desktop-file.c:
1766 * src/io-desktop/nadp-reader.c:
1767 * src/io-desktop/nadp-utils.c:
1768 * src/io-gconf/nagp-reader.c:
1769 * src/io-xml/naxml-reader.c:
1770 * src/nact/nact-gtk-utils.c:
1771 * src/nact/nautilus-actions-config-tool.ui:
1772 * src/plugin-menu/nautilus-actions.c:
1773 * src/utils/nautilus-actions-new.c:
1774 * src/utils/nautilus-actions-run.c:
1775 * tools/check-headers.sh:
1776 * tools/init-finalize-diff.sh:
1777 Apply patch provided by Christian Kirbach. Fix #640216.
1779 * src/nact/nautilus-actions-config-tool.ui:
1780 * src/utils/na-delete-xmltree.c:
1781 * src/utils/nautilus-actions-print.c:
1782 Fix string errors reported by fr translation team.
1784 * src/api/na-timeout.h:
1785 * src/core/na-timeout.c: New files.
1787 * src/api/Makefile.am:
1788 * src/core/Makefile.am: Updated accordingly.
1790 * src/core/na-pivot.c (on_item_changed_timeout):
1791 * src/core/na-settings.c (on_keyfile_changed_timeout):
1792 * src/io-desktop/nadp-desktop-provider.c (on_monitor_timeout):
1793 * src/plugin-menu/nautilus-actions.c (on_change_event_timeout):
1794 Take advantage of new NATimeout convenience structure.
1796 * src/api/na-iio-provider.h:
1797 * src/core/na-io-provider.c:
1798 * src/core/na-io-provider.h: Fix comments.
1800 * src/core/na-iio-provider.c (interface_base_init):
1801 The 'item-changed' signal actually does not send any argument.
1803 * src/core/na-pivot.c:
1804 * src/core/na-pivot.h (na_pivot_on_item_changed_handler):
1805 Updated accordingly.
1807 2011-01-22 Pierre Wieser <pwieser@trychlos.org>
1809 * src/nact/base-window.c: Handles the recorded signals in a GList.
1811 * src/nact/base-window.h (is_willing_to_quit): Fix the comment.
1813 * src/nact/nact-main-window.c
1814 (base_is_willing_to_quit, on_base_initialize_gtk_toplevel):
1815 Calls the parent class method if willing to quit.
1817 * src/nact/nact-window.c:
1818 * src/nact/nact-window.h
1819 (nact_window_is_item_writable): Remove unused function.
1821 * src/nact/base-window.c:
1822 * src/nact/base-window.h
1823 (runtime_init_toplevel): Renamed as initialize_base_window().
1824 (class_init): Fix cclosure_marshall for signals without argument.
1826 * src/nact/base-window.c:
1827 * src/nact/base-window.h
1828 (get_toplevel_name, get_ui_filename): Removed virtual functions.
1830 * src/nact/nact-add-capability-dialog.c:
1831 * src/nact/nact-add-scheme-dialog.c:
1832 * src/nact/nact-assistant-export.c:
1833 * src/nact/nact-assistant-import.c:
1834 * src/nact/nact-confirm-logout.c:
1835 * src/nact/nact-export-ask.c:
1836 * src/nact/nact-icon-chooser.c:
1837 * src/nact/nact-main-window.c:
1838 * src/nact/nact-preferences-editor.c: Updated accordingly.
1840 * src/nact/base-window.c:
1841 * src/nact/base-window.h:
1842 Revert commits dfb26ec5, 1991b3b7 and 4d0c43bb due to new virtual method
1844 Pass the GtkWindow toplevel as a parameter of 'base-window-initialize-gtk'
1846 initial_load_toplevel() virtual method is renamed as initialize_gtk_toplevel().
1848 * src/nact/nact-main-window.c:
1849 No more connect to the signal, but implement the virtual method.
1851 * src/nact/base-application.c (appli_initialize_manage_options):
1852 * src/nact/base-application.h (manage_options):
1853 * src/nact/nact-application.c (appli_manage_options):
1854 Revert commit 3acf600874.
1856 * src/test/test-virtuals.c: Do some more tests on virtual methods.
1858 * src/nact/base-window.c (on_initialize_gtk_toplevel_class_handler,
1859 on_initialize_base_window_class_handler,
1860 on_all_widgets_showed_class_handler, base_window_is_willing_to_quit):
1861 Succssively invoke all derived class methods.
1863 * src/nact/base-window.h (initial_load_toplevel, runtime_init_toplevel,
1864 all_widgets_showed, is_willing_to_quit): Update comments.
1866 * src/nact/base-application.c (appli_initialize_manage_options):
1867 Successively invoke all derived class methods.
1869 * src/nact/base-application.h (manage_options): Update comment.
1871 * src/nact/nact-application.c (appli_manage_options): Updated accordingly.
1873 * src/nact/base-builder.c:
1874 * src/nact/base-builder.h (base_builder_get_toplevel_by_name):
1875 Use a const BaseBuilder as argument;
1877 * src/nact/base-window.c:
1878 * src/nact/base-window.h (base_window_get_widget_from_gtk):
1881 * src/nact/nact-gtk-utils.c:
1882 * src/nact/nact-gtk-utils.h (nact_gtk_utils_get_widget_by_name):
1885 * src/nact/nact-icon-chooser.c (on_destroy): Updated accordingly.
1887 * src/nact/base-application.c (appli_initialize_unique_app):
1890 * src/nact/base-builder.c:
1891 * src/nact/base-builder.h (base_builder_load_named_toplevel):
1892 Renamed as base_builder_get_toplevel_by_name().
1894 * src/nact/base-window.c: Updated accordingly.
1896 2011-01-21 Pierre Wieser <pwieser@trychlos.org>
1898 * src/nact/base-window.c:
1899 * src/nact/base-window.h (base_window_peek_widget):
1900 Renamed as base_window_get_widget_from_gtk().
1902 * src/nact/nact-icon-chooser.c: Updated accordingly.
1904 * src/nact/base-window.c:
1905 * src/nact/base-window.h (base_window_get_named_toplevel):
1906 Renamed as base_window_get_gtk_toplevel_by_name().
1908 * src/nact/nact-icommand-tab.c: Updated accordingly.
1910 * src/nact/base-window.c:
1911 * src/nact/base-window.h (base_window_get_toplevel):
1912 Renamed as base_window_get_gtk_toplevel().
1914 * src/nact/base-application.c:
1915 * src/nact/base-assistant.c:
1916 * src/nact/base-iprefs.c:
1917 * src/nact/nact-add-capability-dialog.c:
1918 * src/nact/nact-add-scheme-dialog.c:
1919 * src/nact/nact-assistant-export.c:
1920 * src/nact/nact-assistant-import.c:
1921 * src/nact/nact-confirm-logout.c:
1922 * src/nact/nact-export-ask.c:
1923 * src/nact/nact-gtk-utils.c:
1924 * src/nact/nact-icommand-tab.c:
1925 * src/nact/nact-icon-chooser.c:
1926 * src/nact/nact-ifolders-tab.c:
1927 * src/nact/nact-main-menubar.c:
1928 * src/nact/nact-main-window.c:
1929 * src/nact/nact-match-list.c:
1930 * src/nact/nact-preferences-editor.c:
1931 * src/nact/nact-tree-model-dnd.c: Updated accordingly.
1933 * src/nact/base-window.c:
1934 * src/nact/base-window.h: Rename signal defines.
1936 * src/nact/base-assistant.c:
1937 * src/nact/nact-add-capability-dialog.c:
1938 * src/nact/nact-add-scheme-dialog.c:
1939 * src/nact/nact-assistant-export.c:
1940 * src/nact/nact-assistant-import.c:
1941 * src/nact/nact-confirm-logout.c:
1942 * src/nact/nact-export-ask.c:
1943 * src/nact/nact-icon-chooser.c:
1944 * src/nact/nact-main-window.c:
1945 * src/nact/nact-preferences-editor.c: Updated accordingly.
1947 * src/nact/base-window.c:
1948 * src/nact/base-window.h:
1949 Remove unused properties.
1950 (base_window_error_dlg, base_window_yesno_dlg): Removed functions.
1952 * src/nact/base-assistant.c:
1953 * src/nact/nact-main-menubar-edit.c:
1954 * src/nact/nact-main-menubar-file.c:
1955 * src/nact/nact-main-window.c
1956 * src/nact/nact-window.c: Updated accordingly.
1958 * src/nact/base-window-class.h: Removed file.
1960 * src/nact/base-window.h:
1961 * src/nact/Makefile.am: Updated accordingly.
1963 * src/utils/na-gconf2key.sh.in:
1964 Get ride of possible error messages when forcing gconfd-2 synchro.
1966 * src/nact/base-application.c:
1967 * src/nact/base-application.h (base_application_message_dlg,
1968 base_application_error_dlg, base_application_yesno_dlg):
1969 Functions are moved to BaseWindow class.
1971 * src/nact/base-window.c:
1972 * src/nact/base-window.h
1973 (base_window_display_yesno_dlg, base_window_display_message_dlg):
1976 * src/nact/base-application.c:
1977 * src/nact/base-application.h
1978 (base_application_get_ui_filename): Removed function.
1979 (get_ui_filename): Removed virtual method.
1981 * src/nact/nact-application.c
1982 (appli_get_gtkbuilder_filename):Removed function.
1984 * src/nact/base-window.c (base_window_init): Rewrite BaseWindow initialization.
1986 * src/nact/nact-main-window.c (nact_main_window_new):
1987 Initialize the main window with XML UI properties.
1989 * src/nact/base-window.c:
1990 * src/nact/base-window.h: Rename initialization properties.
1992 * src/nact/nact-add-capability-dialog.c:
1993 * src/nact/nact-add-scheme-dialog.c:
1994 * src/nact/nact-assistant-export.c:
1995 * src/nact/nact-assistant-import.c:
1996 * src/nact/nact-confirm-logout.c:
1997 * src/nact/nact-export-ask.c:
1998 * src/nact/nact-icon-chooser.c:
1999 * src/nact/nact-main-window.c:
2000 * src/nact/nact-preferences-editor.c: Updated accordingly.
2002 * src/nact/base-application.c:
2003 * src/nact/base-application.h:
2004 Define new 'base-application-description' property.
2005 Remove unused properties.
2007 * src/nact/nact-application.c (nact_application_new):
2008 Make use of the new property at instanciation time.
2010 2011-01-20 Pierre Wieser <pwieser@trychlos.org>
2012 * src/nact/base-window.c:
2013 * src/nact/base-window.h (base_window_display_error_dlg): New function.
2015 * src/nact/base-application.c:
2016 * src/nact/base-application.h (base_application_get_icon_name):
2019 * src/nact/base-application.c:
2020 * src/nact/base-application.h
2021 (initialize_i18n, initialize_application_name, get_application_name,
2022 initialize_default_icon, get_icon_name, initialize_gtk,
2023 initialize_session_manager, get_unique_app_name, initialize_ui,
2024 initialize_unique_app, initialize, run, get_main_window,
2025 initialize_application): Remove virtual methods.
2027 * src/nact/nact-application.c (appli_get_application_name,
2028 appli_get_icon_name, appli_get_unique_app_name,
2029 appli_initialize_application): Removed functions.
2031 * src/nact/nact-application.c (nact_application_new_with_args):
2032 Make NactApplication initializes with these new properties.
2034 * src/nact/base-application.c:
2035 * src/nact/base-application.h: Define new properties.
2037 * src/nact/base-application-class.h: Removed file.
2039 * src/nact/Makefile.am:
2040 * src/nact/base-application.h:
2041 * src/nact/base-window-class.h:
2042 * src/nact/base-window.h: Updated accordingly.
2044 * src/nact/base-application-class.h (main_window_new):
2045 * src/nact/base-application.c (application_do_run):
2046 * src/nact/nact-application.c
2047 * src/nact/nact-main-window.h (appli_main_window_new):
2048 Move the creation of the main window to the main_window_new() method.
2049 Remove base_application_get_main_window() function.
2051 * src/nact/base-application-class.h (manage_options):
2052 * src/nact/base-application.c:
2053 * src/nact/nact-application.c: Return exit code of the program.
2055 * src/nact/nact-tree-model-dnd.c
2056 (drop_inside, is_drop_possible, drop_uri_list):
2057 * src/nact/base-window.c (is_main):
2058 Remove base_application_get_main_window() invocations.
2060 * src/nact/nact-main.c: Renamed as main.c
2062 * src/nact/Makefile.am: Updated accordingly.
2064 * tools/Makefile.am: Generate the check-header.c source if it is missing.
2066 * src/plugin-tracker/na-tracker-dbus.c:
2067 * src/plugin-tracker/na-tracker-dbus.h:
2068 * src/plugin-tracker/na-tracker.c:
2069 * src/plugin-tracker/na-tracker.h: Cosmetic changes in src/plugin-tracker headers.
2071 * src/plugin-menu/nautilus-actions.c:
2072 * src/plugin-menu/nautilus-actions.h: Cosmetic changes in src/plugin-menu headers.
2074 * src/nact/base-application.c:
2075 * src/nact/base-application-class.h:
2076 * src/nact/base-assistant.c:
2077 * src/nact/base-assistant.h:
2078 * src/nact/base-builder.c:
2079 * src/nact/base-builder.h:
2080 * src/nact/base-dialog.c:
2081 * src/nact/base-dialog.h:
2082 * src/nact/base-iprefs.c:
2083 * src/nact/base-iprefs.h:
2084 * src/nact/base-window.c:
2085 * src/nact/base-window-class.h:
2086 * src/nact/egg-tree-multi-dnd.h:
2087 * src/nact/nact-add-capability-dialog.c:
2088 * src/nact/nact-add-capability-dialog.h:
2089 * src/nact/nact-add-scheme-dialog.c:
2090 * src/nact/nact-add-scheme-dialog.h:
2091 * src/nact/nact-application.c:
2092 * src/nact/nact-application.h:
2093 * src/nact/nact-assistant-export.c:
2094 * src/nact/nact-assistant-export.h:
2095 * src/nact/nact-assistant-import.c:
2096 * src/nact/nact-assistant-import.h:
2097 * src/nact/nact-clipboard.c:
2098 * src/nact/nact-clipboard.h:
2099 * src/nact/nact-confirm-logout.c:
2100 * src/nact/nact-confirm-logout.h:
2101 * src/nact/nact-export-ask.c:
2102 * src/nact/nact-export-ask.h:
2103 * src/nact/nact-iactions-list.c:
2104 * src/nact/nact-iactions-list.h:
2105 * src/nact/nact-iaction-tab.c:
2106 * src/nact/nact-iaction-tab.h:
2107 * src/nact/nact-ibasenames-tab.c:
2108 * src/nact/nact-ibasenames-tab.h:
2109 * src/nact/nact-icapabilities-tab.c:
2110 * src/nact/nact-icapabilities-tab.h:
2111 * src/nact/nact-icommand-tab.c:
2112 * src/nact/nact-icommand-tab.h:
2113 * src/nact/nact-icon-chooser.h:
2114 * src/nact/nact-ienvironment-tab.c:
2115 * src/nact/nact-ienvironment-tab.h:
2116 * src/nact/nact-iexecution-tab.c:
2117 * src/nact/nact-iexecution-tab.h:
2118 * src/nact/nact-ifolders-tab.c:
2119 * src/nact/nact-ifolders-tab.h:
2120 * src/nact/nact-imimetypes-tab.c:
2121 * src/nact/nact-imimetypes-tab.h:
2122 * src/nact/nact-iproperties-tab.c:
2123 * src/nact/nact-iproperties-tab.h:
2124 * src/nact/nact-ischemes-tab.c:
2125 * src/nact/nact-ischemes-tab.h:
2126 * src/nact/nact-main-window.c:
2127 * src/nact/nact-main-window.h:
2128 * src/nact/nact-preferences-editor.c:
2129 * src/nact/nact-preferences-editor.h:
2130 * src/nact/nact-tree-model.c:
2131 * src/nact/nact-tree-model.h:
2132 * src/nact/nact-tree-model-priv.h:
2133 * src/nact/nact-window.c:
2134 * src/nact/nact-window.h: Cosmetic changes in src/nact headers.
2136 * src/io-xml/naxml-provider.c:
2137 * src/io-xml/naxml-provider.h:
2138 * src/io-xml/naxml-reader.c:
2139 * src/io-xml/naxml-reader.h:
2140 * src/io-xml/naxml-writer.c:
2141 * src/io-xml/naxml-writer.h: Cosmetic changes in src/io-xml headers.
2143 * src/io-gconf/nagp-gconf-provider.c:
2144 * src/io-gconf/nagp-gconf-provider.h: Cosmetic changes in src/io-gconf headers.
2146 * src/io-desktop/nadp-desktop-file.c:
2147 * src/io-desktop/nadp-desktop-file.h:
2148 * src/io-desktop/nadp-desktop-provider.c:
2149 * src/io-desktop/nadp-desktop-provider.h:
2150 * src/io-desktop/nadp-monitor.c:
2151 * src/io-desktop/nadp-monitor.h: Cosmetic changes in src/io-desktop headers.
2153 * src/core/na-export-format.h:
2154 * src/core/na-iabout.h:
2155 * src/core/na-importer-ask.h:
2156 * src/core/na-io-provider.h:
2157 * src/core/na-ipivot-consumer.h:
2158 * src/core/na-module.h:
2159 * src/core/na-pivot.h:
2160 * src/core/na-selected-info.h:
2161 * src/core/na-settings.h:
2162 * src/core/na-tokens.h:
2163 * src/core/na-updater.h: Cosmetic changes in src/core headers.
2165 * src/api/na-data-boxed.h:
2166 * src/api/na-data-types.h:
2167 * src/api/na-gconf-monitor.h:
2168 * src/api/na-gconf-utils.h:
2169 * src/api/na-icontext.h:
2170 * src/api/na-iduplicable.h:
2171 * src/api/na-iexporter.h:
2172 * src/api/na-ifactory-object.h:
2173 * src/api/na-ifactory-provider.h:
2174 * src/api/na-iio-provider.h:
2175 * src/api/na-object-action.h:
2176 * src/api/na-object.h:
2177 * src/api/na-object-id.h:
2178 * src/api/na-object-item.h:
2179 * src/api/na-object-menu.h:
2180 * src/api/na-object-profile.h:
2181 * src/core/na-data-boxed.c: Cosmetic changes in src/api headers.
2183 * src/utils/na-gconf2key.sh.in:
2184 * tools/check-headers.sh:
2185 * tools/check-po.sh:
2186 * tools/init-finalize-diff.sh:
2187 * tools/release-tarball.sh: Replace basename with a shell substitution.
2189 2011-01-19 Pierre Wieser <pwieser@trychlos.org>
2191 * tools/release-tarball.sh: Full script rewrite.
2194 * Makefile.am: Add README-GCONF to the distribution.
2196 * tools/check-po.sh: Script rewriting.
2198 * NEWS: Update before 3.0.7 release.
2200 2011-01-18 Pierre Wieser <pwieser@trychlos.org>
2202 * src/core/na-export-format.c (na_export_format_get_description):
2203 * src/core/na-importer-ask.c (na_importer_ask_user):
2204 * src/core/na-importer.c (import_from_uri):
2205 * src/core/na-io-provider.c (na_io_provider_get_name):
2206 * src/core/na-iprefs.c:
2207 * src/core/na-iprefs.h (na_iprefs_get_import_mode,
2208 na_iprefs_get_order_mode, na_iprefs_get_export_format):
2209 * src/core/na-settings.c:
2210 * src/nact/nact-assistant-export.c (on_initial_load_dialog):
2211 * nact/nact-assistant-import.c (runtime_init_duplicates):
2212 * src/nact/nact-clipboard.c (export_row_object):
2213 * src/nact/nact-export-ask.c:
2214 * nact/nact-export-format.c:
2215 * src/nact/nact-export-format.h(nact_export_format_init_display):
2216 * src/nact/nact-gtk-utils.c:
2217 * src/nact/nact-gtk-utils.h (nact_gtk_utils_radio_set_initial_state,
2218 nact_gtk_utils_radio_reset_initial_state,
2219 nact_gtk_utils_toggle_set_initial_state,
2220 nact_gtk_utils_toggle_reset_initial_state):
2221 * src/nact/nact-ienvironment-tab.c
2222 (on_tab_updatable_selection_changed):
2223 * src/nact/nact-iexecution-tab.c (on_tab_updatable_selection_changed):
2224 * src/nact/nact-main-window.c (on_base_runtime_init_toplevel):
2225 * src/nact/nact-preferences-editor.c:
2226 * src/nact/nact-preferences.ui:
2227 * src/nact/nact-tree-model-dnd.c (drop_uri_list):
2228 * src/nact/nact-tree-model.c (tree_model_new):
2229 Manage locked and mandatory preferences.
2231 * src/core/na-boxed.c (na_boxed_new_from_string_with_sep):
2232 Do not eat last character.
2235 * src/core/na-settings.h:
2236 * src/utils/na-gconf2key.sh.in:
2237 Rename 'import-mode-keep-last-choice' as 'import-ask-user-keep-last-choice'.
2239 2011-01-17 Pierre Wieser <pwieser@trychlos.org>
2241 * src/nact/nact-preferences-editor.c:
2242 Reopen the Preferences on the last used tab.
2244 * src/core/na-boxed.c (na_boxed_new_from_string_with_sep):
2245 Fix handling of last separator.
2247 * src/nact/nact-schemes-list.c: Do not allow modification
2248 of default schemes list if preferences are locked or property
2251 * src/core/na-io-provider.c:
2252 * src/core/na-io-provider.h (na_io_provider_is_conf_readable,
2253 na_io_provider_is_conf_writable):
2254 Returns mandatory flag.
2255 List I/O providers in write order.
2257 * src/core/na-updater.c (na_updater_is_item_writable): Updated accordingly.
2259 * src/nact/nact-providers-list.c: Do not allow modification of I/O
2260 providers readability/writability/write order properties if
2261 preferences are locked or properties mandatory.
2263 * src/core/na-module.c (na_module_release_modules): Release the loaded module.
2265 2011-01-16 Pierre Wieser <pwieser@trychlos.org>
2267 * run-distcheck.sh: New file.
2269 Add a script to check completeness of header files.
2272 * tools/Makefile.am:
2273 * tools/check-headers.sh: New files.
2275 * src/test/test-include.c:
2276 Renamed as tools/check-header.c and set it as ignored by git.
2278 * src/test/.gitignore:
2279 * src/test/Makefile.am: Updated accordingly.
2282 * configure.ac: configure in tools/.
2284 * src/api/na-data-boxed.h:
2285 * src/api/na-data-types.h:
2286 * src/api/na-gconf-monitor.h:
2287 * src/api/na-gconf-utils.h: Test for NA_DISABLE_DEPRECATED deprecation define.
2289 * run-distcheck.sh: New file.
2291 * tools/check-po.sh: Rewrite to have options and messages management.
2293 * src/utils/na-gconf2key.sh.in: Review comment.
2295 * src/utils/Makefile.am: Add na-gconf2key.sh.in to the distributed files.
2297 * docs/reference/Makefile.am: Set the deprecation flags for gtkdoc-scan.
2299 * tools/check-po.sh: Set the count of errors as exit code.
2301 * po/POTFILES.in: Updated.
2303 * src/api/na-gconf-utils.h:
2304 * src/core/na-gconf-utils.c: Is marked deprecated as of 3.1.0.
2306 * src/api/na-gconf-monitor.h:
2307 * src/core/na-gconf-monitor.c: Is marked deprecated as of 3.1.0.
2309 * src/utils/nautilus-actions-new.c: Output to stdout or as .desktop file.
2311 * src/utils/na-print-schemas.c: Add a deprecation comment.
2313 * src/core/na-io-provider.c:
2314 * src/core/na-io-provider.h (na_io_provider_find_io_provider_by_id):
2317 * src/utils/nautilus-actions-print.c: Move program summary as a global def.
2319 2011-01-15 Pierre Wieser <pwieser@trychlos.org>
2321 * tools/init-finalize-diff.sh: Fix the interpretation of debug messages.
2323 * src/test/test-module.c:
2324 * src/test/test-module-plugin.c: New files.
2326 * src/test/.gitignore:
2327 * src/test/Makefile.am: Updated accordingly.
2329 * src/nact/nact-schemes-list.c: Remove gconf-client.h include.
2331 * src/nact/base-iprefs.c
2332 (base_iprefs_position_named_window): Do not force a null window size or position.
2334 * src/core/na-settings.c
2335 (na_settings_get_string_list): Do not allocate an empty string list.
2337 * src/core/na-pivot.c (instance_dispose): Release the NASettings object.
2339 * src/core/na-object-id.c:
2340 * src/core/na-object-item.c: Remove no more used instance_init debug messages.
2342 * src/core/na-data-boxed.c:
2343 * src/core/na-gconf-monitor.c:
2344 * src/core/na-io-provider.c:
2345 * src/core/na-tokens.c:
2346 * src/core/na-updater.c:
2347 * src/io-desktop/nadp-desktop-file.c:
2348 * src/io-desktop/nadp-desktop-provider.c:
2349 * src/io-desktop/nadp-monitor.c:
2350 * src/io-gconf/nagp-gconf-provider.c:
2351 * src/io-xml/naxml-provider.c:
2352 * src/nact/base-application.c:
2353 * src/nact/base-builder.c:
2354 * src/nact/base-window.c:
2355 * src/nact/nact-application.c:
2356 * src/nact/nact-clipboard.c:
2357 * src/nact/nact-main-window.c:
2358 * src/nact/nact-tree-model.c:
2359 * src/nact/nact-window.c: Add instance_finalize debug message.
2361 * src/core/na-core-utils.c (na_core_utils_slist_dump): Display string length.
2363 * src/core/na-boxed.c
2364 (na_boxed_free): Only free a non null structure.
2365 (na_boxed_new_from_string_with_sep): Do not try to split an empty string.
2366 (na_boxed_get_boolean, na_boxed_get_pointer, na_boxed_get_string,
2367 na_boxed_get_string_list, na_boxed_get_uint, na_boxed_get_uint_list):
2368 Do not try to return a value for a null structure.
2370 * m4/na-maintainer-mode.m4: Define a conditional when in maintainer mode.
2372 2011-01-14 Pierre Wieser <pwieser@trychlos.org>
2374 * src/utils/na-delete-xmltree.c:
2375 * src/utils/nautilus-actions-print.c: Add localization code.
2377 * src/utils/nautilus-actions-new.c:
2378 * src/utils/nautilus-actions-run.c:
2379 * src/utils/nautilus-actions-schemas.c: Add locale.h include.
2381 * src/core/na-boxed.c (boxed_new, na_boxed_copy, na_boxed_new_from_string,
2382 na_boxed_new_from_string_with_sep, na_boxed_free):
2383 Add debug messages when allocating/freeing a NABoxed structure.
2385 * src/nact/nact-icommand-tab.c (on_wdir_browse):
2386 Remove no more used default value.
2388 * src/nact/nact-icon-chooser.c
2389 (fillup_icons_by_path, on_path_selection_changed): Store last folder uri.
2391 * src/core/na-settings.h: Preference renamed accordingly.
2394 * src/core/na-settings.h:
2395 * src/utils/na-gconf2key.sh.in:
2396 '-last-folder-uri' preferences are renamed as '-lfu'.
2398 * src/core/na-settings.c: Set default values.
2400 * src/nact/nact-gtk-utils.c:
2401 * src/nact/nact-gtk-utils.h (nact_gtk_utils_select_file,
2402 nact_gtk_utils_select_file_with_preview, nact_gtk_utils_select_dir):
2403 Remove no more used default value.
2405 * src/nact/nact-icommand-tab.c (on_path_browse, on_wdir_browse):
2406 * src/nact/nact-ienvironment-tab.c (on_try_exec_browse,
2407 on_show_if_running_browse): Updated accordingly.
2409 * src/core/na-boxed.c (string_list_from_array, uint_list_from_array):
2410 Do not allocate the empty last element.
2412 * src/core/na-io-provider.c (load_items_get_merged_list):
2413 * src/core/na-iprefs.c (na_iprefs_get_io_providers):
2414 Use the correct list pointer.
2416 * src/core/na-iprefs.c:
2417 * src/core/na-iprefs.h
2418 (na_iprefs_get_export_format, na_iprefs_set_export_format):
2419 Functions moved from src/nact/nact-iprefs.c.
2421 * src/nact/nact-iprefs.c:
2422 * src/nact/nact-iprefs.h: Removed files.
2424 * src/nact/Makefile.am:
2425 * src/nact/base-window.c:
2426 * src/nact/nact-assistant-export.c:
2427 * src/nact/nact-assistant-import.c:
2428 * src/nact/nact-clipboard.c:
2429 * src/nact/nact-export-ask.c:
2430 * src/nact/nact-export-format.c:
2431 * src/nact/nact-gtk-utils.c:
2432 * src/nact/nact-iaction-tab.c:
2433 * src/nact/nact-icommand-tab.c:
2434 * src/nact/nact-ifolders-tab.c:
2435 * src/nact/nact-main-toolbar.c:
2436 * src/nact/nact-preferences-editor.c:
2437 * src/nact/nact-tree-model-dnd.c: Updated accordingly.
2439 * src/nact/nact-iprefs.c:
2440 * src/nact/nact-iprefs.h (nact_iprefs_write_bool, nact_iprefs_write_uint,
2441 nact_iprefs_write_string): Remove deprecated functions.
2443 * src/nact/nact-main-toolbar.c (nact_main_toolbar_activate):
2444 Updated accordingly.
2446 * src/nact/base-iprefs.c:
2447 * src/nact/base-iprefs.h (base_iprefs_get_int, base_iprefs_set_int):
2448 Remove deprecated functions.
2450 * src/nact/nact-icon-chooser.c (instance_dispose, on_base_runtime_init_dialog):
2451 * src/nact/nact-main-window.c (instance_dispose, on_base_initial_load_toplevel):
2452 Updated accordingly.
2454 * src/nact/nact-iprefs.c:
2455 * src/nact/nact-iprefs.h (nact_iprefs_migrate_key): Remove deprecated function.
2457 * src/nact/nact-icommand-tab.c (nact_icommand_tab_initial_load_toplevel):
2458 Updated accordingly.
2460 Global renaming of preferences.
2463 * src/api/na-iio-provider.h:
2464 * src/core/na-export-format.h:
2465 * src/core/na-exporter.h:
2466 * src/core/na-importer-ask.h:
2467 * src/core/na-importer.c:
2468 * src/core/na-io-provider.c:
2469 * src/core/na-io-provider.h:
2470 * src/core/na-iprefs.c:
2471 * src/core/na-iprefs.h:
2472 * src/core/na-module.c:
2473 * src/core/na-pivot.c:
2474 * src/core/na-pivot.h:
2475 * src/core/na-settings.c:
2476 * src/core/na-settings.h:
2477 * src/core/na-updater.c:
2478 * src/nact/nact-add-capability-dialog.c:
2479 * src/nact/nact-add-scheme-dialog.c:
2480 * src/nact/nact-assistant-export.c:
2481 * src/nact/nact-assistant-import.c:
2482 * src/nact/nact-clipboard.c:
2483 * src/nact/nact-export-ask.c:
2484 * src/nact/nact-gtk-utils.c:
2485 * src/nact/nact-iactions-list.c:
2486 * src/nact/nact-icommand-tab.c:
2487 * src/nact/nact-icon-chooser.c:
2488 * src/nact/nact-ienvironment-tab.c:
2489 * src/nact/nact-ifolders-tab.c:
2490 * src/nact/nact-iprefs.c:
2491 * src/nact/nact-iprefs.h:
2492 * src/nact/nact-main-menubar-edit.c:
2493 * src/nact/nact-main-menubar-file.c:
2494 * src/nact/nact-main-menubar.c:
2495 * src/nact/nact-main-toolbar.c:
2496 * src/nact/nact-main-window.c:
2497 * src/nact/nact-preferences-editor.c:
2498 * src/nact/nact-providers-list.c:
2499 * src/nact/nact-schemes-list.c:
2500 * src/nact/nact-sort-buttons.c:
2501 * src/nact/nact-tree-model-dnd.c:
2502 * src/nact/nact-tree-model.c:
2503 * src/nact/nact-window.c:
2504 * src/nact/nact-window.h:
2505 * src/plugin-menu/nautilus-actions.c:
2506 * src/utils/na-gconf2key.sh.in:
2507 * src/utils/nautilus-actions-new.c: Rename preferences.
2508 >>>>>>> Globally rename preferences
2510 2011-01-13 Pierre Wieser <pwieser@trychlos.org>
2512 * src/core/na-settings.c:
2513 * src/core/na-settings.h: Preference names are defined as '#define' values.
2516 * src/utils/na-gconf2key.sh.in: Adjust preferences.
2518 * src/core/na-iprefs.c:
2519 * src/core/na-iprefs.h: NAIPrefs is no more an interface.
2521 * src/api/na-iimporter.h:
2522 * src/core/na-importer-ask.c:
2523 * src/core/na-importer-ask.h:
2524 * src/core/na-importer.c: Updated accordingly.
2526 2011-01-12 Pierre Wieser <pwieser@trychlos.org>
2528 * src/nact/nact-iprefs.c:
2529 * src/nact/nact-iprefs.h: Get ride of GConf.
2532 * src/core/na-settings.c:
2533 * src/utils/na-gconf2key.sh.in: Add omitted 'export-ask-user-last-format' key.
2535 * src/nact/nact-icommand-tab.c:
2536 * src/nact/nact-ienvironment-tab.c: Update to new preferences.
2539 * src/core/na-settings.c:
2540 * src/utils/na-gconf2key.sh.in:
2541 'folder-last-path' key is renamed as 'folder-last-folder-uri'.
2543 * src/nact/nact-ifolders-tab.c: Updated accordingly.
2546 * src/core/na-settings.c:
2547 * src/utils/na-gconf2key.sh.in: Add 'export-ask-user-wsp' preference.
2549 * src/nact/nact-add-capability-dialog.c (base_get_iprefs_window_id):
2550 * src/nact/nact-add-scheme-dialog.c (base_get_iprefs_window_id):
2551 * src/nact/nact-assistant-export.c (window_get_iprefs_window_id):
2552 * src/nact/nact-assistant-import.c (window_get_iprefs_window_id):
2553 * src/nact/nact-export-ask.c (base_get_iprefs_window_id):
2554 * src/nact/nact-main-window.c
2555 (instance_dispose, base_get_iprefs_window_id):
2556 * src/nact/nact-preferences-editor.c (base_get_iprefs_window_id):
2557 Update all preference names when saving/restoring window size and position.
2559 * src/core/na-settings.c:
2560 * src/core/na-settings.h: All getters/setters are implemented.
2562 * src/nact/base-iprefs.c: Remove GConf stuff.
2564 * src/nact/nact-icon-chooser.c:
2565 * src/nact/nact-icon-chooser.ui: Implement all preferences.
2567 * src/utils/na-gconf2key.sh.in:
2568 Renamed preferences for windows size and position '-wsp'.
2569 Also delete from GConf if only preferences have been migrated.
2570 Re-sync after tree delete.
2572 * src/api/na-boxed.h:
2573 * src/core/na-boxed.c
2574 (na_boxed_get_string, na_boxed_get_uint, na_boxed_get_uint_list):
2577 * configure.ac: Enable silent rules by default.
2579 * run-autogen.sh: Add sysconfdir argument to autogen.sh
2581 * src/nact/nact-gtk-utils.c (nact_gtk_utils_get_pixbuf):
2582 Search a pixbuf by icon theme if not found as filename or stock.
2584 * src/nact/base-window.c:
2585 * src/nact/base-window.h (base_window_peek_widget): New function.
2587 * src/nact/nact-icon-chooser.c:
2588 * src/nact/nact-icon-chooser.h:
2589 * src/nact/nact-icon-chooser.ui: New files.
2591 * src/nact/Makefile.am:
2592 * src/nact/nact-iaction-tab.c:
2593 * src/nact/nautilus-actions-config-tool.ui: Updated accordingly.
2595 * src/core/na-settings.c (content_load_keys):
2596 Do not warn if configuration file does not exist.
2598 * src/api/na-boxed.h:
2599 * src/api/na-data-boxed.h:
2600 * src/api/na-data-types.h:
2601 * src/core/na-boxed.c:
2602 * src/core/na-data-boxed.c:
2603 * src/core/na-data-types.c:
2604 Update reference documentation to deprecate NADataBoxed and NADataType
2605 in favor of NABoxed.
2607 * src/core/na-settings.c:
2608 * src/core/na-settings.h: Configuration monitoring.
2610 * src/plugin-menu/nautilus-actions.c:
2611 Monitor all runtime preferences with only one callback.
2613 * src/api/na-boxed.h:
2614 * src/core/na-boxed.c (na_boxed_get_pointer): New function.
2616 * run-autogen.sh: Add sysconfdir argument to autogen.sh.
2618 * src/api/na-data-types.h:
2619 * src/core/na-data-types.c
2620 (na_data_types_copy, na_data_types_free): Removed functions.
2623 * src/utils/na-gconf2key.sh.in: Fix two key label conversions.
2625 * src/api/na-boxed.h:
2626 * src/core/na-boxed.c: New files.
2628 * src/api/Makefile.am:
2629 * src/core/Makefile.am: Updated accordingly.
2631 2011-01-10 Pierre Wieser <pwieser@trychlos.org>
2633 * src/api/na-data-types.h:
2634 * src/core/na-data-types.c
2635 (na_data_types_copy, na_data_types_free, na_data_types_get_label):
2638 * src/core/na-settings.c
2639 (monitor_io_provider_read_status, monitor_key): Register monitored keys.
2641 * src/core/na-settings.h
2642 (na_settings_get_boolean_ex, na_settings_get_string_list):
2645 * src/plugin-menu/nautilus-actions.c:
2646 Implement runtime preferences monitoring.
2647 No more use deprecated na_pivot_set_automatic_reload().
2649 * src/core/na-pivot.c:
2650 * src/core/na-pivot.h:
2651 Replace GConf preferences monitoring with NASettings.
2652 Define new PIVOT_SIGNAL_ITEMS_CHANGED signal.
2654 * src/core/na-settings.c:
2655 * src/core/na-settings.h
2656 (na_settings_register_key_callback,
2657 na_settings_register_global_callback, na_settings_get_boolean):
2660 * src/api/na-iio-provider.h:
2661 * src/core/na-io-provider.h: IIO_PROVIDER_SIGNAL_ITEM_CHANGED signal
2662 definition is moved (and renamed) from public API to internal one.
2664 * src/core/na-iio-provider.c (interface_base_init):
2665 * src/core/na-io-provider.c (io_provider_set_provider):
2666 * src/core/na-pivot.c (on_item_changed_timeout): Updated accordingly.
2668 * src/core/na-iio-provider.c
2669 * src/core/na-settings.c (na_settings_new):
2670 * src/utils/na-gconf2key.sh.in: Global configuration file goes to /etc/xdg.
2672 * src/core/na-pivot.c:
2673 * src/core/na-pivot.h (na_pivot_register):
2674 * src/core/na-settings.c:
2675 * src/core/na-settings.h (na_settings_register):
2676 * src/plugin-menu/nautilus-actions.c (instance_constructed):
2679 2011-01-09 Pierre Wieser <pwieser@trychlos.org>
2681 * src/nact/base-application.c (display_dlg): Setup parent window.
2683 * src/api/na-iimporter.h:
2684 * src/core/na-io-provider.c:
2685 * src/core/na-object-id.c:
2686 * src/core/na-object-item.c:
2687 * src/io-desktop/nadp-utils.c:
2688 * src/nact/nact-assistant-import.c:
2689 * src/nact/nact-iactions-list-bis.c:
2690 * src/nact/nact-iactions-list.h:
2691 * src/nact/nact-main-window.c:
2692 * src/nact/nact-preferences.ui:
2693 * src/nact/nact-tree-model.c: Remove all deprecated references to an UUID.
2695 * po/POTFILES.in: Add src/io-desktop/nadp-formats.c file.
2697 * src/core/na-object-profile-factory.c:
2698 Remove %o/%O parameters from description of version 2.0.
2699 Add a missing line feed.
2701 * tools/check-po.sh: Adapt to glade files.
2703 2011-01-08 Pierre Wieser <pwieser@trychlos.org>
2705 * src/utils/nautilus-actions-new.c (init_options):
2706 * src/utils/nautilus-actions-run.c (init_options):
2707 * src/utils/nautilus-actions-schemas.c (init_options):
2708 Initialize translation domain for GOptionContext.
2710 * src/core/na-data-boxed.c
2711 (string_spec, slist_spec, bool_spec, pointer_spec, uint_spec):
2712 * src/core/na-export-format.c
2713 (na_export_format_get_label, na_export_format_get_description):
2714 * src/core/na-iabout.c (na_iabout_display):
2715 * src/core/na-object-action.c (na_object_action_new_with_defaults):
2716 * src/core/na-object-menu.c (na_object_menu_new_with_defaults):
2717 * src/io-xml/naxml-writer.c (write_data_schema_v1_element):
2718 * src/nact/nact-add-capability-dialog.c (on_base_runtime_init_dialog):
2719 * src/nact/nact-ienvironment-tab.c (nact_ienvironment_tab_runtime_init_toplevel):
2720 * src/nact/nact-iproperties-tab.c (on_tab_updatable_selection_changed):
2721 * src/nact/nact-main-menubar-file.c (nact_main_menubar_file_save_items):
2722 * src/nact/nact-match-list.c (get_must_match_header, insert_new_row):
2723 * src/nact/nact-tree-model-dnd.c
2724 (is_drop_possible, is_drop_possible_before_iter,
2725 is_drop_possible_into_dest, is_parent_accept_new_childs):
2726 Use gettext() to display localized static strings.
2728 * src/api/na-data-def.h: Complete the description of the fields.
2730 * src/core/na-io-provider.c:
2731 * src/core/na-object-profile-factory.c:
2732 * src/nact/nact-assistant-export.ui:
2733 * src/nact/nautilus-actions-config-tool.ui:
2734 Fix various mistakes and mispellings reported by Fr translation team.
2736 * configure.ac: Post-release bump version number.
2738 2011-01-07 Pierre Wieser <pwieser@trychlos.org>
2740 * src/core/na-pivot.c (na_pivot_register): New function.
2742 * src/plugin-menu/nautilus-actions.c:
2743 Replace NAIPivotConsumer interface with na_settings() accessors.
2745 * src/core/na-settings.c:
2746 * src/core/na-settings.h: New files.
2748 * src/utils/na-gconf2key.sh.in:
2749 Make sure that GConf is at the end of the list of I/O providers.
2750 Make sure that GConf is locked.
2751 Migrate all I/O provider preferences.
2754 * src/utils/Makefile.am:
2755 * src/utils/na-gconf2key.sh.in:
2756 nautilus-actions-gconf2desktop.sh.in is renamed as na-gconf2key.sh.in,
2757 and is installed in PKGLIBEXECDIR.
2759 * src/core/Makefile.am:
2760 * src/core/na-gconf-migration.c: Updated accordingly.
2762 * src/utils/Makefile.am:
2763 nautilus-actions-delete is renamed as na-delete-xmltree,
2764 and is installed in PKGLIBEXECDIR.
2766 * src/core/na-core-utils.c (na_core_utils_print_version):
2767 Print the compilation version of GLib2 and Gtk+ when in debug mode.
2769 * src/utils/Makefile.am:
2770 nautilus-actions-schemas is renamed as na-print-schemas,
2771 and is installed in PKGLIBEXECDIR.
2773 2011-01-06 Pierre Wieser <pwieser@trychlos.org>
2775 * src/nact/nact-main-window.c (iabout_get_toplevel):
2776 Let the About dialog get the toplevel window.
2778 * src/nact/nact-preferences.ui:
2779 * src/nact/nautilus-actions-config-tool.ui:
2780 Apply patch provided by Christian Kirbach. Fix #638548.
2782 Use the same script to migrate items and preferences.
2784 * README-GCONF: Document migrated and renamed preferences.
2786 * src/utils/nautilus-actions-gconf2desktop.sh.in:
2787 Rewrite migrated preferences as keyed files.
2788 At last, remove the whole Nautilus-Actions tree from GConf.
2790 2011-01-05 Pierre Wieser <pwieser@trychlos.org>
2792 * src/utils/console-utils.c (console_cmdline_get_description):
2793 Returns the full address of the page to enter a new bug in Bugzilla.
2795 * src/core/na-gconf-migration.c:
2796 * src/core/na-gconf-migration.h (na_gconf_migration_run): New function.
2798 * src/core/Makefile.am: Updated accordingly.
2800 * src/nact/nact-main.c (main):
2801 * src/plugin-menu/nautilus-module.c (nautilus_module_initialize):
2802 * src/utils/nautilus-actions-new.c (main):
2803 * src/utils/nautilus-actions-run.c (main):
2804 Automatically run the migration tool at startup.
2806 * src/utils/nautilus-actions-gconf2desktop.sh.in:
2807 * src/utils/nautilus-actions-delete.c:
2808 * src/utils/nautilus-actions-print.c:
2809 New items migration script and programs.
2810 They take care of migrating users and mandatory items to .desktop files.
2813 * src/utils/Makefile.am:
2814 * src/utils/.gitignore: Updated accordingly.
2816 2011-01-04 Pierre Wieser <pwieser@trychlos.org>
2818 * src/core/na-tokens.c (na_tokens_new_from_selection):
2819 No more prepare the list string of selection.
2820 Directly build the selection list in the correct order.
2821 (execute_action_command): Setup the working directory.
2823 * src/core/na-tokens.c:
2824 * src/core/na-tokens.h (na_tokens_parse_parameters):
2825 Renamed as na_tokens_parse_for_display() as filenames are not quoted
2826 when displayed as part of an expanded label.
2828 * src/nact/nact-icommand-tab.c (parse_parameters):
2829 * src/plugin-menu/nautilus-actions.c (expand_tokens_item):
2830 Updated accordingly.
2832 * configure.ac: Fix "API Reference generation" message.
2834 * m4/na-enable-manuals.m4:
2835 Better specify that --enable-html-manuals (resp. pdf) are for user's manuals.
2837 * src/core/na-selected-info.c (new_from_uri):
2838 - Add an excerpt from RFC 2396 about valid characters in URIs.
2839 - Prefer the filename from g_filename_from_uri() when possible.
2841 * src/core/na-tokens.c
2842 (na_tokens_new_from_selection): Also g_shell_quote() the URI to preserve quotes.
2843 (build_string_lists_item): Removed function.
2845 * src/core/na-iabout.c (na_iabout_display):
2846 Fix typo in comment, adding a note to the translators.
2848 2011-01-03 Pierre Wieser <pwieser@trychlos.org>
2850 * src/core/na-io-provider.c:
2851 * src/core/na-io-provider.h (na_io_provider_are_writings_authorized):
2854 * configure.ac: Define a conditional if we have both GSettings and GConf.
2856 * src/core/na-gsettings-migrate.c:
2857 * src/core/na-gsettings-migrate.h: New files.
2859 * src/core/Makefile.am: Updated accordingly.
2861 * src/core/na-pivot.c (instance_constructed):
2862 Call na_gsettings_migrate() if we have both GSettings and GConf.
2865 - Define HAVE_GSETTINGS variable.
2866 - Define HAVE_GCONF variable.
2868 2011-01-02 Pierre Wieser <pwieser@trychlos.org>
2870 * src/nact/egg-desktop-file.c:
2871 Get ride of tests for Gtk+ 2.12.0 as this is the minimal required version.
2873 * src/nact/base-keysyms.h:
2874 * src/nact/egg-sm-client-private.h:
2875 * src/nact/egg-sm-client-xsmp.c:
2876 * src/nact/nact-add-capability-dialog.c:
2877 * src/nact/nact-add-scheme-dialog.c:
2878 * src/nact/nact-main-tab.c:
2879 * src/nact/nact-clipboard.c:
2880 * src/nact/nact-tree-model-dnd.c:
2881 * src/nact/nact-gtk-utils.c:
2882 * src/nact/nact-iaction-tab.c:
2883 * src/nact/nact-main-statusbar.c:
2884 * src/nact/nact-main-menubar.c:
2885 * src/nact/nact-schemes-list.c: Use GTK_CHECK_VERSION macro.
2888 * m4/na-check-for-gtk.m4:
2889 Move back gtk_required variable to improve readibility of configure.ac.
2891 2011-01-01 Pierre Wieser <pwieser@trychlos.org>
2893 * configure.ac: Post release version bump.
2895 * NEWS: Update NEWS before release.
2897 * src/plugin-menu/nautilus-actions.c (create_root_menu):
2898 Update the root menu label to better reflect the product name.
2900 * src/nact/nautilus-actions-config-tool.ui:
2901 Use gtk-find instead of gtk-find-and-replace stock icon for browse buttons.
2903 * src/nact/nact-iaction-tab.c (nact_iaction_tab_initial_load_toplevel):
2904 Display again stock icons in NACT.
2905 Fix #638461 - Stock icons are no more displayed in NACT.
2907 * Almost all files modified:
2908 Update copyright message.
2909 Set Nautilus-Actions as being the actual official product name.
2911 * src/core/na-selected-info.c (new_from_nautilus_file_info):
2912 Fix pathname breakdown for 'x-nautilus-desktop:///' URI.
2913 Fix #638450 - Nautilus crashes when opening Trash or Network.