1 2012-02-01 Pierre Wieser <pwieser@trychlos.org>
3 * src/core/na-importer-ask.c (on_destroy_toplevel): Reset static variable.
5 * src/io-desktop/nadp-reader.c
6 (item_from_desktop_file): Fix a small memory leak.
7 (nadp_reader_iimporter_import_from_uri): Reset writability status in the
8 case where import source is read-only.
10 * src/plugin-menu/nautilus-actions.c: Only expands candidate items.
12 * src/core/na-tokens.c (execute_action_command): Parse working dir.
14 * src/api/na-iduplicable.h:
15 * src/core/na-iduplicable.c (copy, na_iduplicable_duplicate):
16 * src/api/na-object-api.h (na_object_duplicate):
17 * src/api/na-object.h (copy):
18 * src/core/na-object.c (iduplicable_copy):
19 * src/core/na-object-item.c (object_copy, copy_children): Add a 'mode' argument.
21 * src/nact/nact-clipboard.c
22 (nact_clipboard_primary_set, nact_clipboard_primary_get):
23 * src/nact/nact-menubar-edit.c (nact_menubar_edit_on_duplicate):
24 * src/nact/nact-menubar-file.c (nact_menubar_file_save_items):
25 * src/nact/nact-tree-model-dnd.c (drop_inside):
26 * src/nact/nact-tree-model.c (nact_tree_model_fill): Updated accordingly.
28 2012-01-30 Pierre Wieser <pwieser@trychlos.org>
30 * src/plugin-tracker/na-tracker.c:
31 * src/utils/nautilus-actions-run.c:
32 * tools/dbus-introspect.sh: Instanciate an object below the rooted
35 * docs/reference/nautilus-actions-docs.xml: Add new symbols for 3.2.
37 * src/nact/nact-tree-model.c: Define window, treeview and mode properties.
38 (instance_constructed): Initialize DnD interface.
39 (instance_dispose): Clear the GtkTreeStore.
41 * po/POTFILES.in: Updated accordingly.
43 * src/nact/nact-main-window.c: Instanciate a window, not an application.
45 * src/nact/nact-tree-model-dnd.c: Debug NactTreeModel reference count.
47 * src/nact/nact-tree-model-priv.h: Get rid of WINDOW_DATA_TREE_MODEL data.
49 * src/nact/nact-tree-view.c (instance_dispose): No more clear the store.
51 * src/core/na-data-boxed.c (instance_init, instance_finalize):
52 * src/core/na-object-id.c (instance_dispose):
53 * src/core/na-object.c (instance_init, instance_dispose,
54 instance_finalize): Remove some too verbose debug messages.
56 * src/nact/base-window.c:
57 * src/nact/base-window.h: Define a new BASE_PROP_DESTROY_ON_DISPOSE property.
58 When set, the underlying Gtk toplevel is destroyed when the BaseWindow is
61 * src/nact/nact-main-window.c (nact_main_window_new): Set the
62 DestroyOnDispose property.
64 * src/nact/nact-match-list.c (on_instance_finalized): Do not try to clear
65 the NactTreeModel after it has been finalized.
67 * src/nact/nact-tree-model.c (nact_tree_model_new): Improve comment.
69 * src/nact/nact-tree-view.c:
70 * src/nact/nact-tree-view.h(initialize_gtk): no more mimic a signal
73 2012-01-29 Pierre Wieser <pwieser@trychlos.org>
75 * src/nact/nact-tree-model.c (nact_tree_model_new): Unref filter model.
77 * src/nact/nact-tree-view.c (instance_dispose): Debug NactTreeModel ref count.
79 * src/nact/nact-preferences-editor.c (instance_init):
80 Remove signal connections already done in instance_contructed().
82 * src/core/na-io-provider.c (na_io_provider_write_item):
83 Reset the NAIOProvider after having wrote the item.
85 * src/nact/nact-menubar-file.c (save_item): Warns if an error occurs.
87 * src/core/na-icontext.c (is_candidate_for_show_if_registered):
88 Consider having either GDBus or DBus-GLib.
90 * m4/na-check-for-gdbus.m4: Setup CFLAGS and LIBS flags.
92 2012-01-28 Pierre Wieser <pwieser@trychlos.org>
94 * src/api/na-iexporter.h:
95 * src/api/na-iio-provider.h: Improve interface comments.
97 * src/core/na-factory-object.c (na_factory_object_copy):
98 Only copies non-null provider and provider data items.
100 * src/plugin-tracker/na-tracker-dbus.xml:
101 Renamed as src/plugin-tracker/na-tracker-dbus-glib.xml.
103 * src/plugin-tracker/Makefile.am:
104 * src/utils/Makefile.am: Updated accordingly.
106 * src/plugin-tracker/na-tracker-gdbus.xml: New file.
108 * src/plugin-tracker/Makefile.am: Generate code for GDBus.
110 * src/plugin-tracker/na-tracker-dbus.c:
111 * src/plugin-tracker/na-tracker-dbus.h: Removed files.
113 * src/plugin-tracker/na-tracker-dbus.xml: Updated accordingly.
115 * src/plugin-tracker/na-tracker.c:
116 * src/plugin-tracker/na-tracker.h:
117 Implement GDBus server high-level API.
118 Rename GType macro name.
120 * src/plugin-tracker/na-tracker-plugin.c
121 (nautilus_module_list_types): Updated to new GType macro name.
123 * src/utils/Makefile.am: Generate code for GDBus.
125 * src/utils/nautilus-actions-run.c: Implement GDBus client high-level API.
127 * m4/na-check-for-gdbus.m4: Requires GIO 2.30 (GDBusObjectManagerServer).
129 * docs/reference/nautilus-actions-sections.txt: Update reference manual.
131 2012-01-27 Pierre Wieser <pwieser@trychlos.org>
133 * m4/na-check-for-gdbus.m4: New file.
135 * configure.ac: Updated accordingly.
138 * src/plugin-tracker/na-tracker-dbus.xml:
139 * src/utils/nautilus-actions-run.c:
140 Tracker DBus interface is renamed as
141 org.nautilus_actions.DBus.Tracker.Properties1 and versioned according to
142 http://0pointer.de/blog/projects/versioning-dbus.html
144 * m4/na-default-io-provider.m4: Talk about items, not just actions.
146 * docs/reference/na-compiling.xml: Slightly improve documentation.
148 * src/core/na-core-utils.c (na_core_utils_str_subst): Fix description.
150 * src/api/na-iexporter.h: Fix NAIExporterFormat description.
152 * src/api/na-iexporter.h: Update interface description, including the
153 list of currently allocated export format identifiers.
155 * docs/export-format-id: Removed file.
157 * docs/Makefile.am: Updated accordingly.
159 * src/core/na-export-format.c:
160 * src/core/na-export-format.h (na_export_format_new):
161 * src/core/na-exporter.c:
162 * src/io-desktop/nadp-formats.c:
163 * src/io-desktop/nadp-writer.c:
164 * src/io-desktop/nadp-writer.h:
165 * src/io-xml/naxml-formats.c:
166 * src/io-xml/naxml-writer.c:
167 * src/io-xml/naxml-writer.h:
168 Rename NAIExporterFormatExt structure as NAIExporterFormatv2.
170 * docs/reference/nautilus-actions-sections.txt: Update sections.
172 * src/api/na-iimporter.h:
173 * src/core/na-iimporter.c: Update interface description.
175 * src/io-desktop/nadp-reader.c:
176 * src/io-desktop/nadp-reader.h (nadp_reader_iimporter_import_from_uri):
177 * src/io-xml/naxml-reader.c:
178 * src/io-xml/naxml-reader.h (naxml_reader_import_from_uri):
181 * src/api/na-iio-provider.h: better distinguish own internal comments.
183 * docs/reference/nautilus-actions-overrides.txt:
184 (NAIImporterCheckFn, NAIImporterAskUserFn): Mark the typedefs as deprecated.
186 * docs/reference/nautilus-actions-docs.xml: Fix typo.
188 * src/api/na-iio-provider.h: Update interface description, including the
189 list of currently allocated I/O provider identifiers.
191 * src/core/na-iio-provider.c:
192 (interface_base_init): Update signal description.
193 (na_iio_provider_item_changed): Update function description.
195 * docs/io-provider-id: Deleted file.
197 * docs/Makefile.am: Updated accordingly.
199 * docs/reference/nautilus-actions-docs.xml:
200 Define new nact entity.
201 Update the link to online Reference Manual.
204 2012-01-25 Pierre Wieser <pwieser@trychlos.org>
206 * Makefile.am: Also distributes ChangeLog-2011.
208 * configure.ac: Bump version number due to API changes.
210 * Makefile.am: Build Reference Manual when make distcheck.
212 * docs/reference/Makefile.am: Always enable gtk-doc.make inclusion.
214 Fix last part of #668181.
215 Rationale is: gtk-doc shamelessly refuses to dist manuals if GTK_DOC is
216 not enabled, i.e. if the manuals have not just been built. Getting rid of
217 this behavior would be possible (just overriding dist-hook target), but
218 same issue arises when installing from a distribution: as GTK_DOC is not
219 enabled, then install target just aborts :(.
220 So it is easier to just enable GTK_DOC when making distcheck.
222 * src/api/na-iexporter.h: Fix typo.
224 * m4/na-enable-manuals.m4: Remove ENABLE_MANUALS conditional.
226 * docs/nact/Makefile.am: Another rewriting.
227 Install and distribute manuals even if not just built.
230 * run-distcheck.sh: Deletes the remaining part of an aborded build.
232 2012-01-23 Pierre Wieser <pwieser@trychlos.org>
234 * run-autogen.sh: Deletes the remaining part of an aborded build.
236 2012-01-22 Pierre Wieser <pwieser@trychlos.org>
238 * docs/reference/Makefile.am: Reference the na-core library.
240 Fix part of #668181 reported by Vincent Untz.
242 2012-01-18 Pierre Wieser <pwieser@trychlos.org>
244 * docs/nact/C/nact-conditions.xml: Does not embed a <literal> tag inside
247 * src/core/na-desktop-environment.c
248 (na_desktop_environment_detect_running_desktop): Detect XFCE desktop.
250 2012-01-17 Pierre Wieser <pwieser@trychlos.org>
252 * src/core/na-object-item-factory.c: Reset provider as copyable.
254 * src/core/na-factory-object.c (na_factory_object_copy):
255 Takes care of not overriding target provider data.
257 nact_match_list functions connect to base signals (and acts as a
260 * src/nact/nact-match-list.c:
261 * src/nact/nact-match-list.h
262 (nact_match_list_create_model): Renamed as nact_match_list_init_with_args().
263 (nact_match_list_init_view, nact_match_list_on_selection_changed,
264 nact_match_list_dispose): Removed functions.
266 * src/nact/nact-ibasenames-tab.c:
267 * src/nact/nact-icapabilities-tab.c:
268 * src/nact/nact-ifolders-tab.c:
269 * src/nact/nact-imimetypes-tab.c:
270 * src/nact/nact-ischemes-tab.c:
271 * src/nact/nact-main-tab.h: Updated accordingly.
273 * src/core/na-pivot.c:
274 * src/core/na-settings.h:
275 * src/nact/nact-export-ask.c:
276 * src/nact/nact-icommand-tab.c:
277 * src/nact/nact-ifolders-tab.c:
278 * src/nact/nact-main-toolbar.c:
279 * src/nact/nact-main-window.c:
280 * src/nact/nact-menubar-edit.c:
281 * src/nact/nact-providers-list.c:
282 * src/nact/nact-schemes-list.c: Remove useless <core/na-iprefs.h> include.
284 Move public na_iprefs_get_io_providers() function to static one.
286 * src/core/na-iprefs.c:
287 * src/core/na-iprefs.h (na_iprefs_get_io_providers): Removed function.
289 * src/core/na-io-provider.c (io_providers_get_from_prefs): New function.
291 2012-01-16 Pierre Wieser <pwieser@trychlos.org>
293 * src/nact/nact-add-capability-dialog.c:
294 * src/nact/nact-add-scheme-dialog.c:
295 * src/nact/nact-confirm-logout.c:
296 * src/nact/nact-export-ask.c:
297 * src/nact/nact-icon-chooser.c:
298 * src/nact/nact-preferences-editor.c:
299 Connect to base signals from instance_contructed().
301 * src/nact/base-isession.c (client_quit_requested_cb): Add debug trace.
303 * src/nact/nact-main-window.c
304 (on_base_initialize_window): Connect to quit-requested signal.
306 * src/nact/nact-application.c
307 (appli_init_application): Fix parent class method call.
309 * docs/nact/C/nact-conditions.xml: Embeds literal values between
310 <literal>..</literal> tags.
312 * docs/reference/nautilus-actions-sections.txt:
313 Report here the new GType macro names.
315 * docs/nact/C/nact-conditions.xml:
316 Embeds literal values between <literal>..</literal> tags.
318 * src/nact/nact-tree-model-dnd.c: Fix comments.
320 * src/nact/nact-export-ask.c (nact_export_ask_user): Micro code-format.
322 * src/nact/nact-clipboard.c (nact_clipboard_dnd_drag_end): Fix micro leak.
324 * src/nact/base-window.c (init_gtk_toplevel):
325 Also returns TRUE if Gtk toplevel was already initialized.
327 * src/core/na-factory-object.c (na_factory_object_copy):
328 Removes target copyable data before copying source copyable data.
330 * src/nact/nact-icommand-tab.c (parse_parameters): Uses internal data.
332 * src/core/na-desktop-environment.c
333 * src/core/na-desktop-environment.h
334 (na_desktop_environment_detect_running_desktop): Fix LXDE detection.
335 (na_desktop_environment_get_label): New function.
337 * src/nact/nact-preferences-editor.c
338 (desktop_setup): Display the desktop label instead of its id.
340 * tools/check-po.sh: Do not match binary files.
342 * src/io-desktop/nadp-writer.c (nadp_writer_iexporter_export_to_buffer):
343 * src/io-xml/naxml-writer.c (naxml_writer_export_to_buffer):
344 Fix find_export_format_fn_from_quark() calls.
346 * src/api/na-iimporter.h: Fix comment.
348 * po/POTFILES.in: Reference two new files.
350 * docs/reference/nautilus-actions-sections.txt:
351 Report here the new GType macro names.
353 * docs/nact/C/nact-conditions.xml:
354 Embeds literal values between <literal>..</literal> tags.
356 2012-01-14 Pierre Wieser <pwieser@trychlos.org>
358 * src/nact/nact-add-capability-dialog.c:
359 * src/nact/nact-add-capability-dialog.h:
360 NACT_ADD_CAPABILITY_DIALOG_TYPE GType macro renamed as
361 NACT_TYPE_ADD_CAPABILITY_DIALOG.
363 * src/nact/nact-add-scheme-dialog.c:
364 * src/nact/nact-add-scheme-dialog.h:
365 NACT_ADD_SCHEME_DIALOG_TYPE GType macro renamed as
366 NACT_TYPE_ADD_SCHEME_DIALOG.
368 * src/nact/nact-application.c:
369 * src/nact/nact-application.h:
370 NACT_APPLICATION_TYPE GType macro renamed as NACT_TYPE_APPLICATION.
372 * src/nact/nact-assistant-export.c:
373 * src/nact/nact-assistant-export.h:
374 NACT_ASSISTANT_EXPORT_TYPE GType macro renamed as
375 NACT_TYPE_ASSISTANT_EXPORT.
377 * src/nact/nact-assistant-import.c:
378 * src/nact/nact-assistant-import.h:
379 NACT_ASSISTANT_IMPORT_TYPE GType macro renamed as
380 NACT_TYPE_ASSISTANT_IMPORT.
382 * src/nact/nact-clipboard.c:
383 * src/nact/nact-clipboard.h:
384 NACT_CLIPBOARD_TYPE GType macro renamed as NACT_TYPE_CLIPBOARD.
386 * src/nact/nact-confirm-logout.c:
387 * src/nact/nact-confirm-logout.h:
388 NACT_CONFIRM_LOGOUT_TYPE GType macro renamed as NACT_TYPE_CONFIRM_LOGOUT.
390 * src/nact/nact-icon-chooser.c:
391 * src/nact/nact-icon-chooser.h:
392 NACT_ICON_CHOOSER_TYPE GType macro renamed as NACT_TYPE_ICON_CHOOSER.
394 * src/nact/nact-menubar.c:
395 * src/nact/nact-menubar.h:
396 NACT_MENUBAR_TYPE GType macro renamed as NACT_TYPE_MENUBAR.
398 * src/nact/nact-sort-buttons.c:
399 * src/nact/nact-sort-buttons.h:
400 NACT_SORT_BUTTONS_TYPE GType macro renamed as NACT_TYPE_SORT_BUTTONS.
402 * src/nact/nact-tree-model.c:
403 * src/nact/nact-tree-model.h:
404 * src/nact/nact-tree-ieditable.c:
405 NACT_TREE_MODEL_TYPE GType macro renamed as NACT_TYPE_TREE_MODEL.
407 * src/nact/nact-tree-view.c:
408 * src/nact/nact-tree-view.h:
409 NACT_TREE_VIEW_TYPE GType macro renamed as NACT_TYPE_TREE_VIEW.
411 2012-01-13 Pierre Wieser <pwieser@trychlos.org>
413 * src/io-xml/naxml-provider.h:
414 * src/io-xml/naxml-module.c:
415 NAXML_PROVIDER_TYPE GType macro renamed as NAXML_TYPE_PROVIDER.
417 * src/io-desktop/nadp-desktop-file.c:
418 * src/io-desktop/nadp-desktop-file.h:
419 NADP_DESKTOP_FILE_TYPE GType macro renamed as NADP_TYPE_DESKTOP_FILE.
421 * src/io-desktop/nadp-desktop-provider.h:
422 * src/api/na-extension.h:
423 * src/io-desktop/nadp-module.c:
424 NADP_DESKTOP_PROVIDER_TYPE GType macro renamed as NADP_TYPE_DESKTOP_PROVIDER.
426 * src/io-desktop/nadp-monitor.c:
427 * src/io-desktop/nadp-monitor.h:
428 NADP_MONITOR_TYPE GType macro renamed as NADP_TYPE_MONITOR.
430 * src/io-desktop/nadp-xdg-dirs.h: Fix documentation.
432 * src/core/na-import-mode.c:
433 * src/core/na-import-mode.h:
434 NA_IMPORT_MODE_TYPE GType macro renamed as NA_TYPE_IMPORT_MODE.
436 * src/core/na-importer-ask.c:
437 * src/core/na-importer-ask.h:
438 NA_IMPORTER_ASK_TYPE GType macro renamed as NA_TYPE_IMPORTER_ASK.
440 * src/core/na-module.c:
441 * src/core/na-module.h:
442 * src/test/test-module.c:
443 NA_MODULE_TYPE GType macro renamed as NA_TYPE_MODULE.
445 * src/core/na-pivot.c:
446 * src/core/na-pivot.h:
447 NA_PIVOT_TYPE GType macro renamed as NA_TYPE_PIVOT.
449 * src/core/na-selected-info.c:
450 * src/core/na-selected-info.h:
451 NA_SELECTED_INFO_TYPE GType macro renamed as NA_TYPE_SELECTED_INFO.
453 * src/core/na-tokens.c:
454 * src/core/na-tokens.h:
455 NA_TOKENS_TYPE GType macro renamed as NA_TYPE_TOKENS.
457 * src/core/na-updater.c:
458 * src/core/na-updater.h:
459 NA_UPDATER_TYPE GType macro renamed as NA_TYPE_UPDATER.
461 * src/api/na-boxed.h:
462 * src/core/na-boxed.c:
463 NA_BOXED_TYPE GType macro renamed as NA_TYPE_BOXED.
465 * src/api/na-data-boxed.h:
466 * src/core/na-data-boxed.c:
467 NA_DATA_BOXED_TYPE GType macro renamed as NA_TYPE_DATA_BOXED.
469 * src/api/na-icontext.h:
470 NA_ICONTEXT_TYPE GType macro renamed as NA_TYPE_ICONTEXT.
472 * src/api/na-iduplicable.h:
473 NA_IDUPLICABLE_TYPE GType macro renamed as NA_TYPE_IDUPLICABLE.
475 * src/api/na-iexporter.h:
476 * src/core/na-exporter.c:
477 NA_IEXPORTER_TYPE GType macro renamed as NA_TYPE_IEXPORTER.
479 * src/api/na-ifactory-object.h:
480 NA_IFACTORY_OBJECT_TYPE GType macro renamed as NA_TYPE_IFACTORY_OBJECT.
482 * src/api/na-ifactory-provider.h:
483 NA_IFACTORY_PROVIDER_TYPE GType macro renamed as NA_TYPE_IFACTORY_PROVIDER.
485 * src/api/na-iimporter.h:
486 * src/core/na-importer.c:
487 NA_IIMPORTER_TYPE GType macro renamed as NA_TYPE_IIMPORTER.
489 * src/api/na-iio-provider.h:
490 * src/core/na-iio-provider.c:
491 * src/core/na-io-provider.c:
492 NA_IIO_PROVIDER_TYPE GType macro renamed as NA_TYPE_IIO_PROVIDER.
494 * src/api/na-object-action.h:
495 * src/core/na-object-action.c:
496 NA_OBJECT_ACTION_TYPE GType macro renamed as NA_TYPE_OBJECT_ACTION.
498 * src/api/na-object-id.h:
499 * src/core/na-object-id.c:
500 NA_OBJECT_ID_TYPE GType macro renamed as NA_TYPE_OBJECT_ID.
502 * src/api/na-object-item.h:
503 * src/core/na-object-item.c:
504 NA_OBJECT_ITEM_TYPE GType macro renamed as NA_TYPE_OBJECT_ITEM.
506 * src/api/na-object-menu.h:
507 * src/core/na-object-menu.c:
508 NA_OBJECT_MENU_TYPE GType macro renamed as NA_TYPE_OBJECT_MENU.
510 * src/api/na-object-profile.h:
511 * src/core/na-object-profile.c:
512 NA_OBJECT_PROFILE_TYPE GType macro renamed as NA_TYPE_OBJECT_PROFILE.
514 * src/api/na-object.h:
515 * src/core/na-object.c:
516 NA_OBJECT_TYPE GType macro renamed as NA_TYPE_OBJECT.
518 * src/core/na-pivot.c:
519 * src/api/na-extension.h:
520 * src/io-desktop/nadp-desktop-provider.c:
521 * src/io-gconf/nagp-gconf-provider.c:
522 * src/io-xml/naxml-provider.c:
523 * src/nact/nact-tree-model.c:
524 * src/test/test-module-plugin.c: Updated accordingly.
526 Get ride of GQuark as internal identifier of export format.
528 * src/api/na-iexporter.h:
529 Deprecate _NAIExporterFileParmsv1 and _NAIExporterBufferParmsv1 struct.
531 * src/core/na-export-format.c:
532 * src/core/na-export-format.h:
533 (na_export_format_get_quark): Removed function.
534 NA_EXPORT_FORMAT_TYPE GType macro renamed as NA_TYPE_EXPORT_FORMAT.
536 * src/core/na-exporter.c:
537 * src/core/na-exporter.h
538 (na_exporter_find_for_format): New function.
539 (na_exporter_get_export_format): Removed function.
541 * src/io-desktop/nadp-writer.c
542 (nadp_writer_iexporter_export_to_buffer,
543 nadp_writer_iexporter_export_to_file):
544 * src/io-xml/naxml-writer.c
545 (naxml_writer_export_to_buffer, naxml_writer_export_to_file):
546 * src/nact/nact-assistant-export.c (assistant_apply):
547 * src/nact/nact-clipboard.c (export_row_object):
548 * src/nact/nact-export-ask.c:
549 * src/nact/nact-export-ask.h(nact_export_ask_user):
550 * src/utils/nautilus-actions-new.c (output_to_desktop):
551 * src/utils/nautilus-actions-print.c (main): Updated accordingly.
553 * src/core/na-ioptions-list.c: Fix comments.
555 * src/core/na-ioption.c (get_ioption_data):
556 Set the initialization flag after the weak ref on the instance.
558 * src/core/na-ioption.h:
559 * src/core/na-import-mode.c:
560 * src/core/na-export-format.c:
561 Rename NA_IOPTION_TYPE GType macro to NA_TYPE_IOPTION.
563 * src/nact/nact-assistant-export.ui: Rename widget to ExportAskLabel.
565 * src/nact/nact-export-ask.c:
566 * src/nact/nact-export-ask.h:
567 Rename NACT_EXPORT_ASK_TYPE GType macro to NACT_TYPE_EXPORT_ASK.
569 * src/utils/nautilus-actions-new.c (output_to_stdout): Set default value.
571 * src/core/na-ioptions-list.h: Fix GType macros.
573 * src/core/na-settings.c:
574 * src/core/na-settings.h: Move default values out of the header.
576 * src/core/na-exporter.c (na_exporter_get_export_format): Fix comment.
578 2012-01-12 Pierre Wieser <pwieser@trychlos.org>
580 * src/core/na-ioptions-list.h:
581 Rename NA_IOPTIONS_LIST_TYPE GType macro to NA_TYPE_IOPTIONS_LIST.
583 * src/core/na-importer-ask.c (register_type):
584 * src/nact/nact-assistant-export.c (register_type):
585 * src/nact/nact-assistant-import.c (register_type):
586 * src/nact/nact-preferences-editor.c (register_type): Updated accordingly.
588 * src/nact/nact-preferences-editor.c:
589 * src/nact/nact-preferences-editor.h:
590 * src/nact/nact-preferences.ui:
591 Rename NACT_PREFERENCES_EDITOR_TYPE GType macro to NACT_TYPE_PREFERENCES_EDITOR.
592 Set "Relying on runtime detection" as default in "Runtime execution" tab.
593 Display the detected desktop identifier.
595 * src/nact/nact-ienvironment-tab.c
596 (dispose_selection_count_combobox): Check that we have a GtkComboBox.
597 (dispose_desktop_listview): Check that we have a GtkTreeView.
599 * src/nact/nact-icommand-tab.c
600 (legend_dialog_hide): Check that legend_dialog is a GtkWindow.
602 * src/core/na-desktop-environment.c:
603 * src/core/na-desktop-environment.h: Fix comments.
605 General review of notebook interfaces:
606 - connect to BaseWindow signals instead of calling public functions
607 - define GObject standard GType macro names
608 - host private data in only one structure attached to the instance.
610 * src/nact/nact-iaction-tab.c:
611 * src/nact/nact-iaction-tab.h:
612 * src/nact/nact-ibasenames-tab.c:
613 * src/nact/nact-ibasenames-tab.h:
614 * src/nact/nact-icapabilities-tab.c:
615 * src/nact/nact-icapabilities-tab.h:
616 * src/nact/nact-icommand-tab.c:
617 * src/nact/nact-icommand-tab.h:
618 * src/nact/nact-ienvironment-tab.c:
619 * src/nact/nact-ienvironment-tab.h:
620 * src/nact/nact-iexecution-tab.c:
621 * src/nact/nact-iexecution-tab.h:
622 * src/nact/nact-ifolders-tab.c:
623 * src/nact/nact-ifolders-tab.h:
624 * src/nact/nact-imimetypes-tab.c:
625 * src/nact/nact-imimetypes-tab.h:
626 * src/nact/nact-iproperties-tab.c:
627 * src/nact/nact-iproperties-tab.h:
628 * src/nact/nact-ischemes-tab.c:
629 * src/nact/nact-ischemes-tab.h:
630 * src/nact/nact-main-window.c:
631 * src/nact/nact-main-window.h: Updated accordingly.
633 * src/nact/nact-main-window.c (class_init):
634 Make property labels translatable.
636 2012-01-11 Pierre Wieser <pwieser@trychlos.org>
638 * src/nact/nact-main-window.c (on_base_initialize_base_window):
639 Connect to the application object.
641 * src/nact/base-window.c:
642 * src/nact/base-window.h (all_widgets_showed): Renamed as show_widgets().
644 * src/nact/base-dialog.c:
645 * src/nact/base-dialog.h:
646 BASE_DIALOG_TYPE GType macro is renamed as BASE_TYPE_DIALOG.
648 * src/nact/nact-add-capability-dialog.c (register_type):
649 * src/nact/nact-add-scheme-dialog.c (register_type):
650 * src/nact/nact-confirm-logout.c (register_type):
651 * src/nact/nact-export-ask.c (register_type):
652 * src/nact/nact-icon-chooser.c (register_type):
653 * src/nact/nact-preferences-editor.c (register_type): Updated accordingly.
655 * src/nact/base-assistant.c:
656 * src/nact/base-assistant.h:
657 BASE_ASSISTANT_TYPE GType macro is renamed as BASE_TYPE_ASSISTANT.
658 Remove the work-around against #589745 (Apply message in GtkAssistant).
660 * src/nact/nact-assistant-export.c (register_type):
661 * src/nact/nact-assistant-import.c (register_type): Updated accordingly.
663 * src/nact/base-dialog.c:
664 * src/nact/base-dialog.h:
665 BASE_WINDOW_TYPE is renamed as BASE_TYPE_WINDOW.
666 Review whole initialization process.
668 * src/nact/base-assistant.c (register_type):
669 * src/nact/nact-iaction-tab.c (register_type):
670 * src/nact/nact-ibasenames-tab.c (register_type):
671 * src/nact/nact-icapabilities-tab.c (register_type):
672 * src/nact/nact-icommand-tab.c (register_type):
673 * src/nact/nact-ienvironment-tab.c (register_type):
674 * src/nact/nact-iexecution-tab.c (register_type):
675 * src/nact/nact-ifolders-tab.c (register_type):
676 * src/nact/nact-imimetypes-tab.c (register_type):
677 * src/nact/nact-iproperties-tab.c (register_type):
678 * src/nact/nact-ischemes-tab.c (register_type):
679 * src/nact/nact-main-window.c (register_type): Updated accordingly.
681 * src/nact/base-builder.c:
682 * src/nact/base-builder.h:
683 BASE_BUILDER_TYPE is renamed as BASE_TYPE_BUILDER.
685 * BASE_SIGNAL_QUIT_REQUESTED, BASE_SIGNAL_QUIT: New signals, defined in
686 BaseISession interface.
688 * src/nact/nact-marshal.def: New file.
690 * src/nact/Makefile.am: Updated accordingly.
692 * src/nact/base-application.c
693 * src/nact/base-application.h
694 (register_type): As BaseISession now only requires G_TYPE_OBJECT, then
695 declare the implementation in register_type().
696 (base_application_run): Renamed as base_application_run_with_args().
697 BASE_EXIT_CODE_START_FAIL exit code replaced with BASE_EXIT_CODE_PROGRAM.
698 (base_application_is_willing_to_quit): New function, moved from BaseWindow.
699 BASE_APPLICATION_TYPE macro renamed as BASE_TYPE_APPLICATION.
701 * src/nact/base-assistant.c (do_run):
702 * src/nact/base-dialog.c (do_run):
703 * src/nact/nact-application.c (register_type):
704 * src/nact/nact-main-window.c:
705 * src/nact/nact-menubar-maintainer.c:
706 * src/nact/nact-tree-view.c: Updated accordingly.
708 * src/nact/base-isession.c:
709 * src/nact/base-isession.h:
710 Define ISessionData pseudo-properties.
711 Implement BASE_SIGNAL_QUIT_REQUESTED and BASE_SIGNAL_QUIT class handlers.
713 * src/nact/base-iunique.c:
714 * src/nact/base-iunique.h:
715 Define IUniqueData pseudo-properties.
717 * src/nact/base-window.c:
718 * src/nact/base-window.h:
719 Define BaseGtkData pseudo-properties.
720 Remove BASE_SIGNAL_WILLING_TO_QUIT definition and handlers.
721 (base_window_is_willing_to_quit): Removed function.
723 2012-01-09 Pierre Wieser <pwieser@trychlos.org>
725 * src/nact/base-isession.c:
726 * src/nact/base-isession.h: New BaseISession interface.
728 * src/nact/Makefile.am:
729 * src/nact/base-application.c (init_session_manager): Updated accordingly.
731 * src/nact/base-application.h: Update comments.
733 * src/nact/base-window.c:
734 * src/nact/base-window.h (base_window_init) now holds all the build process.
736 * src/nact/nact-main-window.c (instance_dispose): Quit the main loop.
738 * src/nact/base-window.c:
739 * src/nact/base-window.h
740 (BASE_SIGNAL_ALL_WIDGETS_SHOWED): signal renamed as BASE_SIGNAL_SHOW_WIDGETS.
741 (instance_constructed): Gtk toplevel initialization is moved here.
742 (base_window_init): only deals with runtime initialization and widgets display.
743 (do_initialize_base_window): set transient for parent here.
745 * src/nact/nact-add-capability-dialog.c (instance_init):
746 * src/nact/nact-add-scheme-dialog.c (instance_init):
747 * src/nact/nact-assistant-export.c (instance_constructed):
748 * src/nact/nact-icon-chooser.c (instance_init):
749 * src/nact/nact-preferences-editor.c (instance_init):
750 * src/nact/nact-tree-view.c (instance_constructed): Updated accordingly.
752 * src/nact/nact-main-window.c
753 (instance_init): Connect to BaseWindow signals before running
754 instance_constructed().
755 (nact_main_window_new): Call base_window_init().
757 * src/nact/nact-application.h: Review comments.
759 * src/nact/nact-application.c (appli_create_windows): Fix return value.
761 * src/nact/base-application.h: Fix comments.
763 * src/nact/base-application.c (base_application_run):
764 Add a debug message before entering the main loop.
766 2012-01-08 Pierre Wieser <pwieser@trychlos.org>
768 * src/nact/base-application.c:
769 * src/nact/base-application.h
770 (base_application_get_builder): Removed function.
771 Implements BaseIUnique interface.
773 * src/nact/base-window.c:
774 * src/nact/base-window.h:
775 Have a common builder at class level.
776 Gtk toplevel and BaseWindow are initialized when instance is constructed.
778 * src/nact/nact-application.c: Updated accordingly.
780 * src/nact/base-iunique.c:
781 * src/nact/base-iunique.h (base_iunique_init_with_name):
782 Function renamed from base_iunique_init_name().
783 * src/nact/base-builder.c:
784 * src/nact/base-builder.h: Fix comments.
786 * src/nact/nact-tree-view.c (nact_tree_view_get_type):
787 Register the interface after the type so that the interface is able to
790 A program to test a class which implements an interface, this same
791 interface itself requiring the class...
793 * src/test/test-iface2.c: New interface test program.
795 * src/test/Makefile.am: Updated accordingly.
797 Rather call parent_class::instance_constructed() method before executing
798 the derived class one.
800 * src/core/na-io-provider.c (instance_constructed):
801 * src/core/na-pivot.c (instance_constructed):
802 * src/nact/nact-assistant-export.c (instance_constructed):
803 * src/nact/nact-main-window.c (instance_constructed):
804 * src/nact/nact-tree-view.c (instance_constructed):
805 * src/plugin-menu/nautilus-actions.c (instance_constructed):
806 Call parent class on the beginning of the function.
808 * src/nact/base-iunique.c:
809 * src/nact/base-iunique.h: New BaseIUnique interface.
811 * src/nact/Makefile.am: Updated accordingly.
813 2012-01-06 Pierre Wieser <pwieser@trychlos.org>
815 * configure.ac: Now requires gtk-doc >= 1.16.
817 * src/nact/base-application.c:
818 * src/nact/base-application.h (base_application_run):
819 Take argc, argv as function arguments.
820 Define 'code' as a property.
822 * src/nact/main.c b/src/nact/main.c (main):
823 * src/nact/nact-application.c (appli_manage_options): Updated accordingly.
825 2012-01-05 Pierre Wieser <pwieser@trychlos.org>
827 * src/nact/nact-tree-ieditable.c:
828 * src/nact/nact-tree-ieditable.h (nact_tree_ieditable_set_items): New function.
830 * src/nact/nact-assistant-import.c (assistant_apply):
831 * src/nact/nact-tree-model-dnd.c (drop_uri_list): Updated accordingly.
833 * src/core/na-importer.c (manage_import_mode):
834 Release the duplicated object which has been cancelled by the user.
836 * src/core/na-icontext-factory.c:
837 * src/core/na-iduplicable.c:
838 * src/core/na-object-action-factory.c:
839 * src/core/na-object-action.c:
840 * src/core/na-object-id-factory.c:
841 * src/core/na-object-item-factory.c:
842 * src/core/na-object-menu-factory.c: Add/fix comments.
844 * src/core/na-export-format.h: Remove IPREFS_EXPORT_ definitions from here.
846 * src/core/na-exporter.c:
847 * src/core/na-exporter.h (na_exporter_get_export_format): New function.
849 * src/core/na-iprefs.c:
850 * src/core/na-iprefs.h
851 (na_iprefs_get_export_format, na_iprefs_set_export_format): Removed functions.
853 * src/nact/nact-assistant-export.c
854 (on_base_initialize_base_window, assist_prepare_confirm, assist_prepare_exportdone):
855 * src/nact/nact-clipboard.c (export_row_object):
856 * src/nact/nact-export-ask.c (nact_export_ask_user, get_export_format):
857 * src/nact/nact-export-ask.h:
860 * src/core/na-iprefs.c:
861 * src/core/na-iprefs.h (na_iprefs_set_import_mode): Removed function.
863 2012-01-04 Pierre Wieser <pwieser@trychlos.org>
865 Move 'Ask' export format to NAExporter.
867 * src/core/Makefile.am:
868 * src/nact/Makefile.am: Move export-format-ask.png to src/core.
870 * nact-export-format.c:
871 * nact-export-format.h: Removed files.
874 * src/nact/nact-assistant-export.c (ioptions_list_get_ask_option):
875 * src/nact/nact-preferences-editor.c (ioptions_list_get_ask_option):
878 * src/api/na-iimporter.h: Deprecate NAIImporterImportMode enum.
880 * src/core/na-importer.h: Define new NAImporterImportMode enum here.
882 * src/core/na-importer.c (ask_user_for_mode):
883 * src/core/na-iprefs.c:
884 * src/core/na-iprefs.h:
885 * src/nact/nact-tree-model-dnd.c:
886 Get ride of na_iprefs_get_import_mode() function.
888 Review interface initialization in implementations.
890 * src/core/na-export-format.c (ioption_iface_init):
891 * src/core/na-import-mode.c (ioption_iface_init):
892 * src/core/na-importer-ask.c (ioptions_list_iface_init):
893 * src/core/na-object-action.c
894 (ifactory_object_iface_init, icontext_iface_init):
895 * src/core/na-object-menu.c
896 (ifactory_object_iface_init, icontext_iface_init):
897 * src/core/na-object-profile.c
898 (ifactory_object_iface_init, icontext_iface_init):
899 * src/core/na-object.c (iduplicable_iface_init):
900 * src/nact/nact-assistant-export.c (ioptions_list_iface_init):
901 * src/nact/nact-assistant-import.c (ioptions_list_iface_init):
902 * src/nact/nact-export-ask.c (ioptions_list_iface_init):
903 * src/nact/nact-main-window.c
904 (iaction_tab_iface_init, icommand_tab_iface_init,
905 ibasenames_tab_iface_init, imimetypes_tab_iface_init,
906 ifolders_tab_iface_init, ischemes_tab_iface_init,
907 icapabilities_tab_iface_init, ienvironment_tab_iface_init,
908 iexecution_tab_iface_init, iproperties_tab_iface_init):
909 * src/nact/nact-preferences-editor.c (ioptions_list_iface_init):
910 * src/nact/nact-tree-model.c
911 (imulti_drag_source_init, idrag_dest_init):
912 * src/nact/nact-tree-view.c (tree_ieditable_iface_init):
913 * src/test/test-iface-base.c (iface_iface_init): Add user_data parameter.
915 * src/nact/nact-tree-ieditable.c: Review NactTreeIEditable interface.
917 * src/nact/nact-ischemes-tab.c: Review NactISchemesTab interface.
919 * src/nact/nact-iproperties-tab.c: Review NactIPropertiesTab interface.
921 * src/nact/nact-imimetypes-tab.c: Review NactIMimetypesTab interface.
923 * src/nact/nact-ifolders-tab.c: Review NactIFoldersTab interface.
925 * src/nact/nact-iexecution-tab.c: Review NactIExecutionTab interface.
927 * src/nact/nact-ienvironment-tab.c: Review NactIEnvironmentTab interface.
929 * src/nact/nact-icommand-tab.c: Review NactICommandTab interface.
931 * src/nact/nact-icapabilities-tab.c: Review NactICapabilitiesTab interface.
933 * src/nact/nact-ibasenames-tab.c: Review NactIBasenamesTab interface.
935 * src/nact/nact-iaction-tab.c: Review NactIActionTab interface.
937 Come back on core interfaces.
939 * src/core/na-icontext.c:
940 * src/core/na-iduplicable.c:
941 * src/core/na-iexporter.c:
942 * src/core/na-ifactory-object.c:
943 * src/core/na-ifactory-provider.c:
944 * src/core/na-iimporter.c:
945 * src/core/na-iio-provider.c:
946 * src/core/na-ioption.c:
947 * src/core/na-ioptions-list.c
948 (interface_init): Renamed back as interface_base_init().
949 (interface_finalize): Renamed back as interface_base_finalize().
951 * src/utils/console-utils.h: Re-include 'glib.h' header.
953 2012-01-03 Pierre Wieser <pwieser@trychlos.org>
955 * src/core/na-ioptions-list.c: Review NAIOptionsList interface.
957 * src/core/na-ioption.c: Review NAIOption interface.
959 * src/core/na-iio-provider.c: Review NAIIOProvider interface.
961 * src/core/na-iimporter.c:
962 * src/core/na-importer.c: Review NAIImporterInterface.
964 * src/core/na-factory-provider.c:
965 * src/core/na-ifactory-provider.c: Review NAIFactoryProvider interface.
967 * src/core/na-factory-object.c:
968 * src/core/na-ifactory-object.c: Review NAIFactoryObject interface.
970 * src/core/na-exporter.c:
971 * src/core/na-iexporter.c: Review NAIExporter interface.
973 * src/core/na-iduplicable.c: Review NAIDuplicable interface.
975 * src/core/na-icontext.c: Review NAIContext interface.
977 * src/test/test-iface-iface.c:
978 * src/test/test-iface.c: Do some more tests on the interfaces.
980 * src/utils/na-gconf2key.sh.in: Force GConf I/O provider to be read-only.
982 * src/utils/console-utils.h: Remove superfluous 'glib-object.h' include.
984 * src/utils/na-set-conf.c: New program.
986 * src/core/na-settings.c:
987 * src/core/na-settings.h
988 (na_settings_set_string_ex, na_settings_set_int_ex): New functions.
990 * src/utils/Makefile.am: Updated accordingly.
992 * src/utils/Makefile.am: Factorize library declarations.
994 2012-01-02 Pierre Wieser <pwieser@trychlos.org>
996 * src/utils/na-gconf2key.sh.in:
997 Introduces new '--admin' option for packagers and system administrators.
998 Default for GConf to be only readable.
1000 * src/api/na-iimporter.h:
1001 * src/core/na-iimporter.c: Introduces version 2 of interface,
1002 deprecating NAIImporterCheckFn and NAIImporterAskUserFn definitions.
1004 * src/core/na-importer.c:
1005 * src/core/na-importer.h (na_importer_import_from_uris):
1006 Updated to new NAIImporter v2 interface, moving check and ask code here.
1008 * src/io-desktop/nadp-desktop-provider.c (iimporter_get_version):
1009 * src/io-desktop/nadp-reader.c (nadp_reader_iimporter_import_from_uri):
1010 * src/io-xml/naxml-provider.c (iimporter_get_version):
1011 * src/io-xml/naxml-reader.c (naxml_reader_import_from_uri):
1012 * src/nact/nact-assistant-import.c (assistant_apply):
1013 * src/nact/nact-tree-model-dnd.c (drop_uri_list):
1014 * src/test/test-reader.c (main):
1015 Updated to new NAIImporter v2 interface.
1017 * src/api/na-iexporter.h: Update documentation.
1019 * src/core/na-importer.c:
1020 * src/core/na-importer.h (na_importer_import_from_list):
1021 Renamed as na_importer_import_from_uris.
1022 Now returns the count of succesffully imported items.
1024 * src/nact/nact-assistant-import.c (assistant_apply):
1025 * src/nact/nact-tree-model-dnd.c (drop_uri_list):
1026 * src/test/test-reader.c (main): Updated accordingly.
1028 * src/api/na-iimporter.h: Update documentation.
1030 * m4/na-maintainer-mode.m4: Reverse the sens of deprecation test.
1033 * docs/reference/Makefile.am:
1034 * src/api/na-core-utils.h:
1035 * src/api/na-data-boxed.h:
1036 * src/api/na-gconf-monitor.h:
1037 * src/api/na-gconf-utils.h:
1038 * src/api/na-iduplicable.h:
1039 * src/api/na-iexporter.h:
1040 * src/api/na-object-api.h:
1041 * src/api/na-object.h:
1042 * src/core/na-core-utils.c:
1043 * src/core/na-data-boxed.c:
1044 * src/core/na-exporter.c:
1045 * src/core/na-gconf-monitor.c:
1046 * src/core/na-gconf-utils.c:
1047 * src/core/na-iduplicable.c:
1048 * src/core/na-object.c:
1049 * src/io-gconf/nagp-gconf-provider.c:
1050 * src/io-gconf/nagp-writer.c:
1051 * src/io-gconf/nagp-writer.h: Updated accordingly.
1053 * src/core/na-importer.c (na_importer_import_from_list): Fix typo.
1055 * src/core/na-about.c:
1056 * src/core/na-about.h (na_about_get_icon_name): Returns a const string.
1058 * src/plugin-menu/nautilus-actions.c: Updated accordingly.
1060 * Allmost all files: Bump copyright year.
1062 * ChangeLog-2011: New file.
1064 * src/core/na-exporter.c (exporter_get_formats): Fix variable declaration.
1066 * src/api/na-core-utils.h:
1067 * src/core/na-core-utils.c (na_core_utils_str_add_prefix):
1068 Fix function deprecation.
1070 2012-01-01 Pierre Wieser <pwieser@trychlos.org>
1072 * src/nact/export-format-ask.png: Add omitted image.
1074 * src/api/na-core-utils.h:
1075 * src/core/na-core-utils.c (na_core_utils_str_add_prefix): Deprecated function.
1077 * src/core/na-import-mode.c:
1078 * src/core/na-import-mode.h (na_import_mode_get_id): New function.
1080 * src/core/na-importer-ask.c (on_destroy_toplevel): Fix handler signature.
1082 * src/core/na-importer.c (get_mode_from_struct): Fix GdkPixbuf reference count.
1084 * src/core/na-ioption.h:
1085 * src/core/na-ioptions-list.c: Fix typo.
1087 * src/core/na-importer-ask.c:
1088 * src/nact/nact-assistant-import.c: Implement NAIOptionsList interface.