1 2010-09-23 Pierre Wieser <pwieser@trychlos.org>
3 * configure.ac: Pre-release version bump.
5 * doc/api/Makefile.am: Fix the warning when overriding GTKDOC_RUN.
7 * m4/na-enable-manuals.m4:
9 Update --enable-html-manuals and --enable-pdf-manuals options.
11 * doc/nact/Makefile.am:
12 Do not rebuild pdf files each time make is run.
13 Have figures available when pdf are built.
14 Install figures with html documents.
16 2010-09-04 Pierre Wieser <pwieser@trychlos.org>
18 * doc/nact/Makefile.am: Fix make distcheck.
20 2010-09-03 Pierre Wieser <pwieser@trychlos.org>
22 Declare --with-db2html and --with-gdt options.
25 Defaut distribution includes PDF and gnome-doc-tool HTML manuals.
27 * doc/nact/Makefile.am:
28 * m4/na-enable-manuals.m4:
29 Define --with-db2html and --with-gdt options.
31 * doc/nact/Makefile.am:
32 HTML and PDF installations honor --htmldir= and --pdfdir= options.
34 * doc/nact/Makefile.am:
35 Fix make distcheck when distributing tranlations of NACT user's manual.
38 Revert inversion of AC_CANONICAL_TARGET and AM_INIT_AUTOMAKE.
40 * src/io-desktop/nadp-writer.c (write_done_write_subitems_list):
41 Improve debug messages.
43 * src/nact/nact-icommand-tab.c
44 (on_tab_updatable_selection_changed): Update example label.
45 (parse_parameters): Cleanup code.
47 2010-09-02 Pierre Wieser <pwieser@trychlos.org>
49 * src/io-desktop/nadp-reader.c (nadp_reader_iimporter_import_from_uri):
50 Do not keep the imported desktop file.
52 * src/io-desktop/nadp-desktop-file.c (nadp_desktop_file_write):
53 Do not return TRUE if file has not been written due to dispose state.
55 * configure.ac: Setup the package URL.
57 2010-08-30 Pierre Wieser <pwieser@trychlos.org>
59 * doc/nact/C/nact-starting.xml: Update manual.
61 * doc/nact/C/figures/read-only.png: New file.
63 * doc/nact/Makefile.am: Remove '$(NULL)' expressions.
65 * configure.ac: Bump version number after unstable release.
67 2010-08-23 Pierre Wieser <pwieser@trychlos.org>
69 * NEWS: Update NEWS before unstable release.
71 * src/core/na-selected-info.c
72 (na_selected_info_get_list_from_item, na_selected_info_get_list_from_list):
73 Returns a null list when NASelectedInfo object is null.
75 * src/plugin-menu/nautilus-actions.c
76 (menu_provider_get_background_items, menu_provider_get_file_items,
77 menu_provider_get_toolbar_items):
78 Do not try to build a menu for Nautilus when NASelectedInfo list is empty.
80 * configure.ac: Bump version number after unstable release.
82 * NEWS: Update NEWS before unstable release.
84 * po/POTFILES.in: Add src/core/na-selected-info.c file.
86 * src/core/na-selected-info.c (query_file_attributes):
87 Make the error message translatable.
90 * src/core/na-tokens.c
91 (na_tokens_new_from_selection): Do not get dirname of a null filename.
92 (parse_singular): Take care of possibly null data or over-indexing.
94 * src/core/na-selected-info.c:
95 * src/core/na-selected-info.h (na_selected_info_create_for_uri):
96 Add errmsg parameter to check for incorrect URIs.
98 * src/utils/nautilus-actions-run.c (get_selection_from_strv):
99 Do not try to deal with malformed URIs.
101 * src/utils/nautilus-actions-schemas.c: Include glib-object.h.
103 * src/api/na-data-boxed.h: Revert to glib-object.h.
105 2010-08-22 Pierre Wieser <pwieser@trychlos.org>
107 * src/core/na-icontext.c (is_candidate_for_mimetypes):
108 * src/core/na-selected-info.c (na_selected_info_get_mime_type):
109 Take care of possibly NULL mimetype.
111 2010-08-21 Pierre Wieser <pwieser@trychlos.org>
114 * src/api/na-ifactory-provider-provider.h
115 * src/core/na-importer-ask.h
116 * src/io-desktop/nadp-formats.h
117 * src/io-desktop/nadp-reader.h
118 * src/io-desktop/nadp-utils.h
119 * src/io-desktop/nadp-writer.h
120 * src/io-gconf/nagp-reader.h
121 * src/io-gconf/nagp-writer.h
122 * src/io-xml/naxml-formats.h
123 * src/io-xml/naxml-reader.h
124 * src/io-xml/naxml-writer.h
125 * src/nact/nact-tree-model-priv.h: Fix single inclusion.
127 * src/core/na-icontext.c
128 (is_candidate_for_schemes, is_candidate_for_folders):
129 Address each ocurrence of file instead of just the first one.
131 * doc/nact/Makefile.am: Fix PDF distribution.
133 2010-08-19 Pierre Wieser <pwieser@trychlos.org>
135 * src/nact/nautilus-actions-config-tool.ui:
136 Do not overexpand the example label.
138 * src/core/na-object-profile.c (convert_pre_v3_parameters_str):
139 Fix conversion of '%d/%f' to '%f' when there are other parameters.
141 * src/core/na-icontext.c
142 (is_candidate_for_mimetypes): Improve debug messages.
143 (is_candidate_for_basenames): Take care of matchcase.
145 * src/core/na-icontext.c
146 (is_mimetype_of): Take care of wildcard expressions.
147 (is_candidate_for_folders): Only try to g_pattern_match() if has pattern.
149 * src/plugin-menu/nautilus-actions.c
150 (build_nautilus_menus): Add debug messages.
152 * data/actions/open-terminal-here.desktop:
153 * data/actions/show-na-parameters.desktop: Fix typo.
155 * src/api/na-object-item.h:
156 * src/core/na-object-item.c
157 (na_object_item_deals_with_version): New function.
159 * src/api/na-object-profile.h:
160 * src/core/na-object-profile.c
161 (na_object_profile_convert_v2_to_last): New function.
163 * src/core/na-object-action.c:
164 * src/core/na-object-menu.c
165 (ifactory_object_read_start): Removed (unused) function.
167 * src/io-xml/naxml-reader.c (naxml_reader_read_done): Cleanup code.
169 * src/nact/nact-ibasenames-tab.c (on_tab_updatable_selection_changed):
170 Display matchcase status for the current context.
172 2010-08-18 Pierre Wieser <pwieser@trychlos.org>
174 * src/core/na-object-profile.c (convert_pre_v3_parameters_str):
175 As a special optimization, converts '%d/%f' to '%f'.
177 * src/io-xml/naxml-reader.c (naxml_reader_read_data):
178 Let a node available for a second reading in case of a multiple-defined
179 data (e.g. icon which exists in localized and unlocalized forms).
181 * src/io-desktop/nadp-desktop-file.c (nadp_desktop_file_new_from_uri):
182 Do not warn about malformed .desktop file when importing an URI.
184 Path+parameters are splitted whatever be the I/O importer.
186 * src/io-desktop/nadp-reader.c (read_done_profile_split_exec): Removed function.
188 * src/core/na-object-profile.c (split_path_parameters): New function.
190 * src/core/na-data-boxed.c (uint_set_from_string):
191 Fix default uint value when reading null string.
193 * src/nact/nact-assistant-import.c (assistant_apply): Cleanup code.
195 2010-08-17 Pierre Wieser <pwieser@trychlos.org>
197 * Replace GtkLable with GtkTextView in import and export assistants.
199 * src/nact/nact-assistant-export.c (assist_prepare_exportdone):
200 * src/nact/nact-assistant-import.c (prepare_importdone):
201 * src/nact/nact-assistant-export.ui:
202 * src/nact/nautilus-actions-config-tool.ui: Updated accordingly.
204 * src/core/na-core-utils.c (na_core_utils_str_split_first_word):
205 Accepts null or empty input string or output pointers.
207 * src/io-desktop/nadp-reader.c (read_done_profile_split_exec):
208 Only try to split a non-null command.
210 2010-08-16 Pierre Wieser <pwieser@trychlos.org>
212 * doc/nact/Makefile.am: Fix PDF build.
214 * configure.ac: Bump version number after unstable release.
216 * doc/nact/Makefile.am: Fix manuals cleanup.
218 * src/core/na-icontext.c (is_candidate_for_schemes):
219 Remove wrong variable override.
221 * configure.ac: Bump version number after unstable release.
223 2010-08-15 Pierre Wieser <pwieser@trychlos.org>
225 * data/actions/Makefile.am:
226 * data/actions/my-first-na-action.desktop:
227 * data/actions/my-first-na-menu.desktop:
228 * data/actions/open-terminal-here.desktop:
229 * data/actions/show-na-parameters.desktop: New files.
231 * data/gconf-schemas/Makefile.am:
232 Install GConf schemas in PKGDATADIR/gconf-schemas.
234 * NEWS: Update NEWS before unstable release.
236 Create a new data/actions subdirectory.
239 * data/Makefile.am: Updated accordingly.
241 * data/actions/Makefile.am:
242 * data/actions/README: New files.
244 Move schemas into a new subdirectory data/gconf-schemas.
247 * data/Makefile.am: Updated accordingly.
249 Move exports/ subdirectory into data/ tree.
252 * data/Makefile.am: Updated accordingly.
254 * data/exports/Makefile.am:
255 * data/exports/README: New files.
257 * doc/nact/Makefile.am: Fix PDF installation.
259 * src/core/na-object-profile.c (convert_pre_v3_parameters_str):
260 %f used to be the name of the file (a basename), converts it to %b.
262 2010-08-13 Pierre Wieser <pwieser@trychlos.org>
264 * doc/api/nautilus-actions-sections.txt:
265 * doc/api/nautilus-actions-docs.xml: New files.
267 * src/io-desktop/nadp-desktop-file.c (nadp_desktop_file_set_locale_string):
268 Write all available locales to have a chance another locale can get it.
271 Build doc after src so that libraries are available when documenting them.
274 * configure.ac: Implement gtk-doc and manuals generation.
276 * doc/api/Makefile.am: Build gtk-doc for public API.
278 * doc/nact/C/nact-conditions.xml:
279 * doc/nact/C/nact-execution.xml:
280 * doc/nact/C/nact-menus.xml:
281 * doc/nact/C/nact-profiles.xml:
282 * doc/nact/C/nact-sorting.xml:
283 * doc/nact/C/nact-starting.xml:
284 * doc/nact/C/nact-where.xml:
285 * doc/nact/C/nautilus-actions-config-tool.xml:
286 Update NACT user's manual.
288 * doc/nact/Makefile.am: Implement manuals generation.
290 * src/api/na-core-utils.h:
291 * src/api/na-data-boxed.h:
292 * src/api/na-data-types.h:
293 * src/api/na-gconf-utils.h:
294 * src/api/na-icontext.h:
295 * src/api/na-iduplicable.h:
296 * src/api/na-iimporter.h:
297 * src/api/na-object-api.h:
298 * src/api/na-object-id.h:
299 * src/api/na-object-item.h:
300 * src/core/na-core-utils.c:
301 * src/core/na-data-boxed.c:
302 * src/core/na-export-format.c:
303 * src/core/na-export-format.h:
304 * src/core/na-exporter.c:
305 * src/core/na-exporter.h:
306 * src/core/na-factory-object.c:
307 * src/core/na-factory-object.h:
308 * src/core/na-gconf-monitor.c:
309 * src/core/na-gconf-utils.c:
310 * src/core/na-iabout.h:
311 * src/core/na-icontext.c:
312 * src/core/na-ifactory-provider.c:
313 * src/core/na-importer-ask.c:
314 * src/core/na-io-provider.c:
315 * src/core/na-iprefs.c:
316 * src/core/na-object-id.c:
317 * src/core/na-object-item.c:
318 * src/core/na-object.c:
319 * src/core/na-selected-info.c:
320 * src/core/na-selected-info.h:
321 Update comments to suits gtk-doc requirements.
324 * doc/nact/C/figures/nact-desktop-environment-frame.png:
325 * doc/nact/C/figures/nact-exec-mode-frame.png:
326 * doc/nact/C/figures/nact-execute-as-frame.png:
327 * doc/nact/C/figures/nact-execution-environment-frame.png:
328 * doc/nact/C/figures/nact-selection-count-frame.png:
329 * doc/nact/C/figures/nact-startup-mode-frame.png:
330 * doc/nact/C/figures/nact-target-location.png:
331 * doc/nact/C/figures/nact-working-directory-frame.png:
332 * doc/nact/C/figures/sort-asc.png doc/nact/C/figures/sort-desc.png:
333 * doc/nact/C/figures/sort-manual.png:
334 * m4/na-enable-manuals.m4: New files.
336 2010-08-10 Pierre Wieser <pwieser@trychlos.org>
338 * src/nact/nact-icommand-tab.c: No more check for a non-empty profile name.
340 Allow writing of empty data.
342 * src/api/na-data-boxed.h:
343 * src/core/na-data-boxed.c
344 (na_data_boxed_is_set): Removed function.
345 (na_data_boxed_is_default): New function.
347 * src/io-desktop/nadp-writer.c (nadp_writer_ifactory_provider_write_data):
348 * src/io-gconf/nagp-writer.c (nagp_writer_write_data):
349 * src/io-xml/naxml-writer.c (naxml_writer_write_data):
352 * src/core/na-object-item-factory.c:
353 * src/core/na-object-profile-factory.c:
354 Remove useless log description for a fake data.
356 * src/io-desktop/nadp-reader.c
357 (nadp_reader_ifactory_provider_read_data):
358 * src/io-xml/naxml-reader.c (read_data_boxed_from_node):
359 Set NADataBoxed as soon as a value is found.
361 Review pre- and post- write operations in I/O providers.
363 * src/core/na-object-action.c: Cleanup the code.
365 * src/core/na-object-item-factory.c:
366 NAFO_DATA_IVERSION becomes unwritable.
368 * src/io-desktop/nadp-writer.c:
369 * src/io-gconf/nagp-writer.c:
370 * src/io-xml/naxml-writer.c: Cleanup the code.
372 Immediately reacts to a status change in I/O providers.
374 * src/core/na-ipivot-consumer.c:
375 * src/core/na-ipivot-consumer.h
376 (na_ipivot_consumer_notify_of_io_provider_prefs_changed): New function.
377 (on_io_provider_prefs_changed): New interface API.
379 * src/core/na-pivot.c (monitor_runtime_preferences):
380 Add a monitor on io-providers GConf branch.
382 * src/nact/nact-main-window.c
383 (ipivot_consumer_on_io_provider_prefs_changed): New function.
385 Controls are not modifiable for a read-only item.
387 * src/nact/nact-gtk-utils.c:
388 * src/nact/nact-gtk-utils.h
389 (nact_gtk_utils_set_initial_state, nact_gtk_utils_reset_initial_state):
392 * src/nact/nact-icommand-tab.c (on_tab_updatable_selection_changed):
393 Manage working directory browse button.
395 * src/nact/nact-ienvironment-tab.c (on_tab_updatable_selection_changed):
396 Manage try exec and show if running browse buttons.
397 Manage desktop environment radio buttons.
399 * src/nact/nact-iexecution-tab.c (on_tab_updatable_selection_changed):
400 Manage execution mode radio buttons.
402 * src/nact/nact-iproperties-tab.c (on_tab_updatable_selection_changed):
403 Manage description text view.
405 * src/nact/nact-match-list.c
406 (on_key_pressed_event): Only insert/delete rows if item is editable.
407 (on_must_match_toggled, on_must_not_match_toggled): Manage radio buttons.
409 2010-08-09 Pierre Wieser <pwieser@trychlos.org>
411 Review notification bufferization.
413 * src/core/na-ipivot-consumer.c:
414 * src/core/na-ipivot-consumer.h
415 (na_ipivot_consumer_delay_notify): Removed function.
416 (na_ipivot_consumer_allow_notify): New function.
418 * src/nact/nact-main-menubar-file.c (nact_main_menubar_file_save_items):
419 * src/nact/nact-main-window.c (instance_init):
420 * src/plugin-menu/nautilus-actions.c (instance_init):
423 * src/core/na-pivot.c (on_item_changed_timeout):
424 * src/io-desktop/nadp-desktop-provider.c (on_monitor_timeout):
425 * src/io-gconf/nagp-gconf-provider.c (config_path_changed_trigger_interface):
428 Fix XML import of localized vs. unlocalized profile label.
430 * src/api/na-ifactory-object-data.h:
431 * src/core/na-object-profile-factory.c:
432 Define new NAFO_DATA_DESCNAME_NOLOC unlocalized profile label.
434 * src/api/na-object-api.h (na_object_get_label_noloc): New macro.
436 * src/io-xml/naxml-reader.c (naxml_reader_read_done):
437 Deals with localized vs. unlocalized profile description name.
439 Fix XML import of localized vs. unlocalized icons.
441 * src/api/na-ifactory-object-data.h:
442 * src/core/na-object-item-factory.c:
443 Define new NAFO_DATA_ICON_NOLOC unlocalized icon name.
445 * src/api/na-object-api.h (na_object_get_icon_noloc): New macro.
447 * src/io-xml/naxml-reader.c
448 (read_data_boxed_from_node): Only allocate a NADataBoxed for a non null value.
449 (naxml_reader_read_done): Deals with localized/unlocalized icon name.
451 * src/io-xml/naxml-reader.c (naxml_reader_read_start):
452 Attach the profile to the action before trying to read it.
454 * src/nact/nact-iexecution-tab.c (execution_mode_toggle):
455 Fix sensitivity of startup fields vs. execution mode.
457 * src/core/na-icontext.c (is_candidate_for_capabilities):
458 Fix incorrect handling of capability conditions.
460 * src/core/na-icontext.c (is_candidate_for_folders):
461 Fix incorrect and optimize handling of folder conditions.
463 * src/core/na-icontext.c (is_candidate_for_schemes):
464 Fix incorrect and optimize handling of scheme conditions.
466 * src/core/na-icontext.c (is_candidate_for_basenames):
467 Fix incorrect handling of basename conditions.
469 * src/core/na-icontext.c (is_candidate_for_mimetypes):
470 Fix incorrect handling of mimetype conditions.
472 * src/nact/nact-iaction-tab.c (on_icon_browse):
473 Fix incorrect setting of GConf preference.
475 * src/nact/nact-gtk-utils.c:
476 * src/nact/nact-gtk-utils.h
477 (nact_gtk_utils_get_pixbuf, nact_gtk_utils_render):
478 Size parameter is actually of GtkIconSize type.
480 2010-08-07 Pierre Wieser <pwieser@trychlos.org>
482 * configure.ac: Bump version number after unstable release.
484 Implement auto-save feature.
486 * src/core/na-ipivot-consumer.c:
487 * src/core/na-ipivot-consumer.h (on_autosave_changed): New interface.
489 * src/core/na-iprefs.c:
490 * src/core/na-iprefs.h (na_iprefs_read_uint): New function.
492 * src/nact/nact-iprefs.c:
493 * src/nact/nact-iprefs.h (nact_iprefs_read_uint): Removed function.
495 * src/core/na-pivot.c (on_preferences_change):
496 Trigger NAIPivotConsumer interface when autosave is changed.
498 * src/nact/nact-main-menubar-file.c:
499 * src/nact/nact-main-menubar-file.h
500 (nact_main_menubar_file_set_autosave): New function.
502 * src/nact/nact-main-window.c (ipivot_consumer_on_autosave_changed):
503 Implement the new on_autosave_changed() NAIPivotConsumer interface.
505 * src/nact/nact-preferences-editor.c (on_base_runtime_init_dialog):
506 Replace nact_iprefs_read_uint() with na_iprefs_read_uint().
508 Setup auto-save in preferences.
510 * data/nautilus-actions-prefs.schemas.in:
511 Describe new auto-save-on and auto-save-period preference keys.
513 * src/nact/nact-iprefs.c:
514 * src/nact/nact-iprefs.h
515 (nact_iprefs_read_uint, nact_iprefs_write_uint): New functions.
516 IPREFS_AUTOSAVE_ON, IPREFS_AUTOSAVE_PERIOD: New preference keys.
518 * src/nact/nact-preferences-editor.c:
519 Update the new auto-save-on and auto-save-period preference keys.
522 * src/nact/nact-preferences.ui:
523 * src/nact/nautilus-actions-config-tool.ui: New preference frame.
525 2010-08-05 Pierre Wieser <pwieser@trychlos.org>
527 * src/api/na-core-utils.h:
528 * src/core/na-core-utils.c
529 (na_core_utils_str_get_first_word): Removed function.
530 (na_core_utils_str_split_first_word): New function.
532 * src/io-desktop/nadp-reader.c
533 (nadp_reader_ifactory_provider_read_done):
534 Split the Exec content to get Path and Parameters data.
536 * src/core/na-object-profile-factory.c:
537 Review the description of the NAFO_DATA_PARAMETERS data.
539 * src/core/na-tokens.h: Update the comment.
541 * po/POTFILES.in: Add src/core/na-tokens.c file.
543 * src/core/na-tokens.c:
544 * src/core/na-tokens.h (na_tokens_new_for_example): New function.
546 * src/core/na-tokens.c (parse_singular):
547 Implement %m and %M parameters for mimetypes.
549 * src/nact/nact-icommand-tab.c (parse_parameters):
550 Use a fake NATokens object to print an example of the command.
552 * src/nact/nautilus-actions-config-tool.ui: Fix some labels.
554 2010-08-04 Pierre Wieser <pwieser@trychlos.org>
556 * src/core/na-tokens.c (is_singular_exec):
557 Implement DES-EMA draft v 0.13 which defines irrelevant parameters.
559 2010-08-02 Pierre Wieser <pwieser@trychlos.org>
561 * src/nact/nact-gtk-utils.c (nact_gtk_utils_get_pixbuf):
562 * src/nact/nact-iaction-tab.c (on_icon_changed):
563 Fix bad reinitialization of the icon item.
565 * doc/nact/C/figures/nact-basenames-tab.png:
566 * doc/nact/C/figures/nact-capabilities-tab.png:
567 * doc/nact/C/figures/nact-command-tab.png:
568 * doc/nact/C/figures/nact-environment-tab.png:
569 * doc/nact/C/figures/nact-execution-tab.png:
570 * doc/nact/C/figures/nact-folders-tab.png:
571 * doc/nact/C/figures/nact-legend.png:
572 * doc/nact/C/figures/nact-main-empty.png:
573 * doc/nact/C/figures/nact-mimetypes-tab.png:
574 * doc/nact/C/figures/nact-new-capability.png:
575 * doc/nact/C/figures/nact-preferences-export.png:
576 * doc/nact/C/figures/nact-preferences-import.png:
577 * doc/nact/C/figures/nact-preferences-io-providers.png:
578 * doc/nact/C/figures/nact-preferences-runtime.png:
579 * doc/nact/C/figures/nact-preferences-schemes.png:
580 * doc/nact/C/figures/nact-preferences-ui.png:
581 * doc/nact/C/figures/nact-properties-tab.png:
582 * doc/nact/C/figures/nact-schemes-tab.png:
583 Update all screenshots to include window decoration.
585 * doc/nact/nautilus-actions-config-tool.omf.in:
586 Change categorie and type of the NACT user's manual.
588 * src/nact/nact-main-menubar.c:
589 Change help menu item from Gtk default to Gnome (apparent) standard.
591 * src/nact/nact-main-menubar-help.c (nact_main_menubar_help_on_help):
594 * configure.ac: Update comments.
596 * src/nact/nact-add-capability-dialog.c (try_for_send_ok):
597 * src/nact/nact-add-scheme-dialog.c (try_for_send_ok):
598 * src/nact/nact-main-tab.c (nact_main_tab_is_page_enabled):
599 Check that Gtk+ is more recent that 2.18 for gtk_widget_get_sensitive().
601 Split the NACT manual by chapter.
603 * doc/nact/C/nact-usage.xml:
604 * doc/nact/C/nact-prefs.xml:
605 * doc/nact/C/nact-misc.xml: New files.
607 * doc/nact/C/nautilus-actions-config-tool.xml:
608 * doc/nact/Makefile.am: Updated accordingly.
610 2010-08-01 Pierre Wieser <pwieser@trychlos.org>
612 * nact/nact-iactions-list-bis.c (nact_iactions_list_bis_insert_items):
613 A new NAObjectItem must be inserted before the current NAObjectItem.
615 * doc/README: Define a global documentation plan.
617 * doc/api/Makefile.am:
618 * doc/api/version.xml.in:
619 Define a stub for future public API documentation, targeting
620 Nautilus-Actions plugins developers.
622 * doc/internals/Makefile.am:
623 Define a stub for future internal documentation, targeting
624 Nautilus-Actions core developers.
626 * doc/product/Makefile.am:
627 Define a stub for future global Nautilus-Actions documentation.
630 * doc/Makefile.am: Updated accordingly.
632 * doc/nact/ChangeLog:
633 * doc/nact/nautilus-actions-config-tool.omf.in: New files.
635 * doc/nact/C/articleinfo.xml:
636 * doc/nact/C/legalnotice.xml: Included as external entities rather
637 than from xi:include because of db2omf complains.
639 * doc/nact/C/appendix-feedback.xml:
640 * doc/nact/C/appendix-gnu-fdl-1.3.xml: Add DOCTYPE declaration.
642 2010-07-31 Pierre Wieser <pwieser@trychlos.org>
644 * src/nact/nautilus-actions-config-tool.ui:
647 * src/nact/nact-match-list.c (on_must_not_match_clicked):
648 Fix incorrect column id.
650 * src/nact/nact-match-list.c (sort_on_column):
651 Display sort indicator.
653 * src/nact/nact-match-list.c (on_must_match_toggled):
654 Fix crash when defining a positive assertion.
656 * src/core/na-icontext.c (is_candidate_for_capabilities):
657 Implement the function.
659 * src/core/na-selected-info.c:
660 * src/core/na-selected-info.h (na_selected_info_is_executable,
661 na_selected_info_is_owner, na_selected_info_is_readable,
662 na_selected_info_is_writable): New function.
664 * src/core/na-icontext.c (is_candidate_for_folders):
665 Implement the function.
667 * src/core/na-selected-info.c:
668 * src/core/na-selected-info.h (na_selected_info_get_dirname):
671 * src/core/na-icontext.c (is_candidate_for_schemes):
672 Implement the function.
674 * src/core/na-icontext.c (is_candidate_for_selection_count):
675 Implement the function.
677 * src/io-desktop/nadp-reader.c
678 (nadp_reader_ifactory_provider_read_start): Set minimal version number.
680 2010-07-30 Pierre Wieser <pwieser@trychlos.org>
682 * src/core/na-icontext.c (is_candidate_for_basenames):
683 Unref the GPatternSpec after use.
685 * src/core/na-icontext.c (is_candidate_for_basenames):
686 Implement the function.
688 * src/core/na-selected-info.c:
689 * src/core/na-selected-info.h (na_selected_info_get_basename):
692 * configure.ac: Add a dependancy on libgtop.
694 * src/core/na-icontext.c (is_candidate_for_show_if_running):
695 Implement the function.
697 2010-07-29 Pierre Wieser <pwieser@trychlos.org>
699 * src/io-desktop/nadp-formats.c:
700 * src/io-desktop/nadp-formats.h: New files.
701 These should have been added to 2.99.0, but where forgotten.
703 * docs/nact/Makefile.am: New file.
706 * docs/Makefile.am: Updated accordingly.
708 Create NACT user's manual skeleton.
710 * docs/nact/C/appendix-feedback.xml:
711 * docs/nact/C/appendix-gnu-fdl-1.3.xml:
712 * docs/nact/C/articleinfo.xml:
713 * docs/nact/C/figures/nact-basenames-tab.png:
714 * docs/nact/C/figures/nact-capabilities-tab.png:
715 * docs/nact/C/figures/nact-command-tab.png:
716 * docs/nact/C/figures/nact-environment-tab.png:
717 * docs/nact/C/figures/nact-execution-tab.png:
718 * docs/nact/C/figures/nact-folders-tab.png:
719 * docs/nact/C/figures/nact-legend.png:
720 * docs/nact/C/figures/nact-main-empty.png:
721 * docs/nact/C/figures/nact-mimetypes-tab.png:
722 * docs/nact/C/figures/nact-preferences-export.png:
723 * docs/nact/C/figures/nact-preferences-import.png:
724 * docs/nact/C/figures/nact-preferences-io-providers.png:
725 * docs/nact/C/figures/nact-preferences-runtime.png:
726 * docs/nact/C/figures/nact-preferences-schemes.png:
727 * docs/nact/C/figures/nact-preferences-ui.png:
728 * docs/nact/C/figures/nact-properties-tab.png:
729 * docs/nact/C/figures/nact-schemes-tab.png:
730 * docs/nact/C/figures/nat-new-capability.png:
731 * docs/nact/C/index.xml:
732 * docs/nact/C/legalnotice.xml: New files.
734 Do some cleanup in NAObjectAction and NAObjectProfile code.
735 Implement execution of singular vs. plural command forms.
737 * src/api/na-object-action.h:
738 * src/core/na-object-action.c (na_object_action_is_candidate):
741 * src/api/na-object-profile.h:
742 * src/core/na-object-profile.c (na_object_profile_parse_parameters):
745 * src/core/na-tokens.c:
746 * src/core/na-tokens.h (na_tokens_execute_action): New function.
748 * src/plugin-menu/nautilus-actions.c (execute_action):
749 Move action execution to NATokens class.
751 * src/utils/nautilus-actions-run.c: Now use NATokens class.
753 * doc/: Renamed as docs/
756 * Makefile;am: Updated accordingly.
758 * configure.ac: Bump the version number after release.
760 2010-07-28 Pierre Wieser <pwieser@trychlos.org>
762 * NEWS: Update NEWS before unstable release.
764 * configure.ac: Bump the version number before unstable release.
766 * src/io-desktop/nadp-module.c (na_extension_startup):
767 Remove the #if/#endif macros to let the .desktop provider be released.
769 * src/io-desktop/nadp-desktop-file.c:
770 * src/io-desktop/nadp-desktop-file.h
771 (nadp_desktop_file_new, nadp_desktop_file_get_key_file):
774 * src/io-desktop/nadp-writer.c
775 (nadp_writer_iexporter_export_to_buffer): Implement the function.
777 Import/export .desktop files.
779 * doc/export-format-id: Declare the new export format.
781 * po/POTFILES.in: Add a file.
783 * src/api/na-core-utils.h:
784 * src/core/na-core-utils.c
785 (na_core_utils_slist_add_message, na_core_utils_file_load_from_uri):
788 * src/api/na-iimporter.h:
789 * src/core/na-iimporter.c (na_iimporter_manage_import_mode):
792 * src/io-desktop/nadp-formats.c:
793 * src/io-desktop/nadp-formats.h: New files.
795 * src/io-desktop/Makefile.am: Updated accordingly.
797 * src/io-desktop/nadp-desktop-file.c:
798 * src/io-desktop/nadp-desktop-file.h
799 (nadp_desktop_file_new_from_uri): New function.
800 (nadp_desktop_file_get_key_file_path): Renamed as nadp_desktop_file_get_key_file_uri().
802 * src/io-desktop/nadp-desktop-provider.c:
803 Declare NAIImporterInterface and NAIExporterInterface interfaces.
805 * src/io-desktop/nadp-reader.c:
806 * src/io-desktop/nadp-reader.h
807 (nadp_reader_iimporter_import_from_uri): New function.
809 * src/io-desktop/nadp-utils.c:
810 * src/io-desktop/nadp-utils.h
811 (nadp_utils_is_writable_file): Renamed as nadp_utils_uri_is_writable().
812 (nadp_utils_uri_delete): New function.
814 * src/io-desktop/nadp-writer.c:
815 * src/io-desktop/nadp-writer.h
816 (nadp_writer_iexporter_export_to_buffer, nadp_writer_iexporter_export_to_file):
819 * src/nact/nact-add-scheme-dialog.c:
820 Prevent a default scheme to be inserted twice.
822 * src/nact/nact-ischemes-tab.c:
823 Use the current list of rows instead of the current schemes list.
825 * src/nact/nact-match-list.c:
826 Prevent a standard filter to be inserted twice.
828 * src/api/na-core-utils.h:
829 * src/core/na-core-utils.c (na_core_utils_slist_dump):
830 Add a prefix parameter to the function.
832 * src/core/na-data-boxed.c (slist_dump):
833 * src/core/na-io-provider.c (na_io_provider_get_providers_list):
834 * src/io-desktop/nadp-writer.c (nadp_writer_ifactory_provider_write_done):
835 * src/nact/nact-match-list.c (nact_match_list_on_selection_changed):
836 * src/test/test-reader.c (main): Updated accordingly.
838 2010-07-26 Pierre Wieser <pwieser@trychlos.org>
840 * src/api/na-core-utils.h:
841 * src/core/na-core-utils.c (na_core_utils_slist_find):
842 Moved to na_core_utils_slist_count.
844 * src/core/na-icontext.c (is_candidate_for_show_in):
845 * src/io-desktop/nadp-writer.c
846 (nadp_writer_ifactory_provider_write_done): Updated accordingly.
848 * src/nact/nact-match-list.c (on_filter_edited):
849 Add g_return_if_fail checks on data and context.
851 Prevent of inline edition of capabilities.
853 * src/nact/nact-match-list.c:
854 * src/nact/nact-match-list.h (nact_match_list_create_model):
855 Add editable_filter input parameter.
857 * src/nact/nact-match-list.c (nact_match_list_on_selection_changed):
858 Only enable the column if filter and item are both editable.
860 * src/nact/nact-ibasenames-tab.c:
861 * src/nact/nact-icapabilities-tab.c:
862 * src/nact/nact-ifolders-tab.c:
863 * src/nact/nact-imimetypes-tab.c:
864 * src/nact/nact-ischemes-tab.c: Updated accordingly.
866 Prevent a capability to be inserted twice.
868 * src/nact/nact-add-capability-dialog.c (on_button_press_event):
869 On double-clic, check for OK sensitivity.
871 * src/nact/nact-icapabilities-tab.c (on_add_clicked):
872 Provide the dialog with our current content rather than current capabilities.
874 * src/nact/nact-match-list.c:
875 * src/nact/nact-match-list.h (nact_match_list_get_rows): New function.
877 Fix parameters conversion to v3.
879 * src/core/na-object-action.c (icontext_is_candidate):
880 Fix comment and minor typo.
882 * src/core/na-object-profile.c:
883 * src/io-gconf/nagp-reader.c (convert_pre_v3_parameters):
884 Move pre-v3 parameters conversion from GConf provider to profile class.
886 * src/io-desktop/nadp-reader.c
887 (nadp_reader_ifactory_provider_read_start):
888 * src/io-gconf/nagp-reader.c (nagp_reader_read_start):
889 * src/io-gconf/nagp-gconf-provider.c (ifactory_provider_iface_init):
890 * src/io-gconf/nagp-reader.h:
891 Now attach profile to its parent in 'read_start' interface.
893 * src/io-desktop/nadp-reader.c
894 (nadp_reader_ifactory_provider_read_done):
895 * src/io-gconf/nagp-reader.c (nagp_reader_read_done):
896 Homogeneïze the read_done functions.
898 Move the reading of the subitems key for the desktop I/O provider
899 from 'read_done' to 'read_start'.
901 * src/io-desktop/nadp-reader.c:
902 * src/io-desktop/nadp-reader.h
903 (nadp_reader_ifactory_provider_read_start): New function.
905 * src/io-desktop/nadp-desktop-provider.c: Updated accordingly.
907 2010-07-19 Pierre Wieser <pwieser@trychlos.org>
909 * src/api/na-object-item.h:
910 * src/core/na-object-item.c (na_object_item_factory_write_start):
911 Function is renamed as na_object_item_rebuild_children_slist().
913 * src/core/na-object-action.c:
914 * src/core/na-object-menu.c: Updated accordingly.
916 2010-07-05 Pierre Wieser <pwieser@trychlos.org>
918 * src/nact/nact-icommand-tab.c (nact_icommand_tab_runtime_init_toplevel):
919 Connect to delete-event signal to hide the GtkWindow.
921 2010-07-03 Pierre Wieser <pwieser@trychlos.org>
923 * src/nact/nact-add-capability-dialog.c (on_base_runtime_init_dialog):
924 Doucle-click validates the dialog.
926 * src/nact/nact-add-scheme-dialog.c (on_base_runtime_init_dialog):
927 Doucle-click validates the dialog.
929 * src/nact/nact-schemes-list.c (nact_schemes_list_create_model):
930 Scheme keyword and description are editable in user preferences.
932 2010-07-02 Pierre Wieser <pwieser@trychlos.org>
934 * src/core/na-tokens.c (na_tokens_new_from_selection):
937 * src/core/na-tokens.h: Fix minor typo.
939 * src/plugin-menu/nautilus-actions.c:
940 There should not be any need to keep a reference to our menu.
942 * data/nautilus-actions-prefs.schemas.in:
943 * src/core/na-iprefs.h:
944 * src/core/na-importer-ask.c:
945 * src/core/na-importer-ask.h:
946 Define a new GConf preference 'keep last user choice'.
948 * src/api/na-iimporter.h:
949 * src/core/na-iimporter.c:
950 from_uri() interface is renamed as import_from_uri().
951 Only define na_iimporter_import_from_uri() public API.
953 * src/core/na-importer.c:
954 * src/core/na-importer.h:
955 Define here na_importer_import_from_list() internal API.
957 * src/io-xml/naxml-provider.c:
958 * src/io-xml/naxml-reader.c:
959 * src/io-xml/naxml-reader.h:
960 * src/nact/nact-assistant-import.c:
961 * src/nact/nact-tree-model-dnd.c:
962 * src/test/test-reader.c: Updated accordingly.
964 * src/core/na-object-id.c (na_object_id_set_new_id):
965 Fix object type test.
967 * src/core/na-object-item.c (object_id_new_id):
970 * src/core/na-object-profile.c (object_id_new_id):
971 Fix order of validity test.
972 Only get a new profile name when a new parent is provided.
974 2010-06-29 Pierre Wieser <pwieser@trychlos.org>
976 * src/nact/nact-tree-model-dnd.c (drop_uri_list):
977 Make the code in adequation with the comment.
979 * src/nact/nact-gtk-utils.c (nact_gtk_utils_get_pixbuf):
980 Do not emit a warning when file is just not found.
982 2010-06-28 Pierre Wieser <pwieser@trychlos.org>
984 * src/io-desktop/nadp-writer.c
985 (nadp_writer_ifactory_provider_write_data):
986 Concatenate path and parameters fields to the Exec key.
988 * src/nact/nact-assistant-import.c (has_readable_files):
989 Get ride of warning messages in some usual situations.
991 * src/nact/nact-main-menubar-file.c (nact_main_menubar_file_save_items):
992 Force sensitivities update when new tree store is empty.
994 * src/core/na-iduplicable.c (na_iduplicable_check_status):
995 * src/core/na-object.c (na_object_object_unref):
996 Review debug messages.
998 * src/core/na-pivot.c:
999 * src/core/na-pivot.h (na_pivot_set_new_items): New function.
1001 * src/nact/nact-main-menubar-file.c (save_item):
1002 Duplicate all current tree store to a new pivot.
1004 2010-06-23 Pierre Wieser <pwieser@trychlos.org>
1006 * src/nact/nact-ienvironment-tab.c (on_tab_updatable_selection_changed):
1007 * src/nact/nact-iexecution-tab.c (on_tab_updatable_selection_changed):
1008 Radio buttons are inconsistent if and only if there is no context.
1010 * src/nact/nact-tree-model.c (dump_store): Also dumps origin.
1012 * src/core/na-updater.c (na_updater_remove_item):
1013 Do not unref here removed item.
1014 Also remove item from non level zero parent.
1016 * src/nact/nact-main-window.c (actually_delete_item):
1017 Updated accordingly.
1019 * src/core/na-icontext.c (is_candidate_for_try_exec):
1020 Do not try to get info for non existing file.
1022 2010-06-21 Pierre Wieser <pwieser@trychlos.org>
1024 * src/core/na-icontext.c (is_candidate_for_show_in):
1025 Implement the check of the environment (though not yet the desktop
1028 * src/nact/nact-iaction-tab.c:
1029 * src/nact/nact-ibasenames-tab.c:
1030 * src/nact/nact-icommand-tab.c:
1031 * src/nact/nact-ienvironment-tab.c:
1032 * src/nact/nact-iexecution-tab.c:
1033 * src/nact/nact-iproperties-tab.c:
1034 * src/nact/nact-match-list.c:
1035 Reset all fields to an empty value when there is no selection.
1037 * src/nact/nact-main-tab.h:
1038 * src/nact/nautilus-actions-config-tool.ui:
1039 Move the Execution tab just besides the Command one.
1041 2010-06-20 Pierre Wieser <pwieser@trychlos.org>
1043 * src/core/na-object.c (na_object_object_unref):
1044 Fix infinite unref of child items.
1046 * src/nact/nact-tree-model.c (nact_tree_model_display):
1049 2010-06-18 Pierre Wieser <pwieser@trychlos.org>
1051 * src/core/na-object.c (na_object_object_unref):
1052 Fix segfault when unfiltering invalid items.
1054 * src/core/na-object-item-factory.c:
1055 Numeric version is no more writable by default.
1057 * src/io-gconf/nagp-keys.h:
1058 * src/io-gconf/nagp-writer.c (nagp_writer_write_start):
1059 Explicitely write the numeric version to GConf.
1061 * src/core/na-object-item-factory.c:
1062 Provider data is no more duplicable by NAIFactoryObject.
1064 * src/core/na-object-item.c (object_copy):
1065 Explicitely triggers NAIOProvider::duplicate_data method.
1067 * src/io-desktop/nadp-desktop-provider.c (iio_provider_iface_init):
1068 * src/io-desktop/nadp-writer.c:
1069 * src/io-desktop/nadp-writer.h (nadp_iio_provider_duplicate_data):
1070 Implement NAIIOProvider::duplicate_data interface.
1072 * src/io-gconf/nagp-gconf-provider.c (iio_provider_iface_init):
1073 Initialize NAIIOProvider duplicate_data() virtual pointer.
1075 * src/api/na-iio-provider.h:
1076 * src/core/na-iio-provider.c (duplicate_data):
1077 * src/core/na-io-provider.c:
1078 * src/core/na-io-provider.h (na_io_provider_duplicate_data):
1079 Define new NAIIOProvider interface.
1081 2010-06-17 Pierre Wieser <pwieser@trychlos.org>
1083 * src/api/na-iio-provider.h:
1084 * src/core/na-iio-provider.c (na_iio_provider_item_changed):
1085 Remove useless item id parameter.
1087 * src/core/na-ipivot-consumer.c (is_notify_allowed):
1088 Set a higher delay (1s to 2s) before notifying NAPivot
1089 because of the delay of file monitoring.
1091 * src/nact/nact-clipboard.c (export_objects):
1092 Remove unused dest_folder parameter.
1094 * src/nact/nact-tree-model-dnd.c
1095 (nact_tree_model_dnd_imulti_drag_source_drag_data_get):
1096 Get destination folder as an URI.
1098 * src/nact/nact-iaction-tab.c:
1099 Fix invalid cast of NAObjectMenu to NAObjectAction.
1101 * src/nact/nact-sort-buttons.c:
1102 * src/nact/nact-sort-buttons.h (nact_sort_buttons_enable_buttons):
1105 * src/nact/nact-main-menubar.c (on_iactions_list_count_updated):
1106 Enable/disable sort buttons depending of items list count.
1108 * src/api/na-object-api.h
1109 (na_object_get_shortcut, na_object_set_shortcut): New macros.
1111 * src/nact/nact-iproperties-tab.c: Review NactIPropertiesTab page.
1113 * src/api/na-object-api.h
1114 (na_object_get_execution_mode,
1115 na_object_get_startup_notify, na_object_get_startup_class,
1116 na_object_get_execute_as, na_object_set_execution_mode,
1117 na_object_set_startup_notify, na_object_set_startup_class,
1118 na_object_set_execute_as): New macros.
1120 * src/core/na-object-profile-factory.c:
1121 Change type of execution mode from uint to string.
1123 * src/nact/nact-iexecution-tab.c: Implement NactIExecutionTab page.
1125 * src/nact/nact-ienvironment-tab.c: Implement NactIEnvironmentTab page.
1127 2010-06-16 Pierre Wieser <pwieser@trychlos.org>
1129 * src/nact/nact-gtk-utils.c:
1130 * src/nact/nact-gtk-utils.h
1131 (nact_gtk_utils_select_file, nact_gtk_utils_select_dir): New functions.
1133 * src/nact/nact-icommand-tab.c: Updated accordingly.
1135 * src/api/na-core-utils.h:
1136 * src/core/na-core-utils.c (na_core_utils_slist_setup_element): New function.
1138 * src/api/na-icontext.h:
1139 * src/core/na-icontext.c (na_icontext_set_only_desktop, na_icontext_set_not_desktop):
1142 * src/api/na-object-api.h (na_object_set_only_desktop, na_object_set_not_desktop):
1145 * src/nact/nact-ienvironment-tab.c: Implement desktop choice.
1147 * src/nact/nact-icapabilities-tab.c:
1148 * src/nact/nautilus-actions-config-tool.ui: Review NactICapabilitiesTab page.
1150 * src/nact/nact-ischemes-tab.c: Review NactISchemesTab page.
1152 * src/nact/nact-ifolders-tab.c: Review NactIFoldersTab page.
1154 * src/nact/nact-ibasenames-tab.c: Review NactIBasenamesTab page.
1156 * src/nact/nact-match-list.c:
1157 * src/nact/nact-match-list.h (nact_match_list_on_enable_tab):
1160 * src/nact/nact-icommand-tab.c:
1161 * src/nact/nact-icommand-tab.h: Review NactICommandTab page.
1163 * src/core/na-object-action-factory.c: Fix comment.
1165 * src/nact/nact-iaction-tab.c:
1166 * src/nact/nact-iaction-tab.h: Homogeneïse the code.
1168 2010-06-15 Pierre Wieser <pwieser@trychlos.org>
1170 * src/nact/nact-main-tab.c:
1171 * src/nact/nact-main-tab.h (nact_main_tab_get_context):
1174 * src/nact/nact-iaction-tab.c:
1175 * src/nact/nact-ibasenames-tab.c:
1176 * src/nact/nact-icapabilities-tab.c:
1177 * src/nact/nact-ienvironment-tab.c:
1178 * src/nact/nact-ifolders-tab.c:
1179 * src/nact/nact-imimetypes-tab.c:
1180 * src/nact/nact-ischemes-tab.c:
1181 * src/nact/nact-main-tab.h:
1182 * src/nact/nact-main-window.c:
1183 Remove irrelevant TAB_UPDATABLE_SIGNAL_ENABLE_TAB signal.
1185 * src/nact/nact-match-list.c:
1186 Do not try to get filters when there is no current context.
1188 * src/nact/nact-main-window.c:
1189 Do not mark the application as modified when list is empty.
1191 * src/nact/nact-iaction-tab.c:
1192 * src/nact/nact-ibasenames-tab.c:
1193 * src/nact/nact-icapabilities-tab.c:
1194 * src/nact/nact-icommand-tab.c:
1195 * src/nact/nact-ienvironment-tab.c:
1196 * src/nact/nact-ifolders-tab.c:
1197 * src/nact/nact-iproperties-tab.c:
1198 * src/nact/nact-ischemes-tab.c:
1199 * src/nact/nact-main-menubar-edit.c:
1200 * src/nact/nact-main-menubar-file.c:
1201 * src/nact/nact-main-tab.h:
1202 * src/nact/nact-main-window.c:
1203 * src/nact/nact-match-list.c: Rename main properties.
1205 * src/nact/nact-main-tab.h:
1206 * src/nact/nact-main-window.c: Remove unused PROP_SELECTED_ROW property.
1208 * po/POTFILES.in: Add src/nact/nact-ienvironment-tab.c file.
1210 * src/nact/nact-ienvironment-tab.c: Connect signals.
1212 2010-06-14 Pierre Wieser <pwieser@trychlos.org>
1214 * src/core/na-icontext-factory.c:
1215 Change default capabilities to empty list.
1217 * src/nact/nact-add-capability-dialog.c:
1218 * src/nact/nact-add-capability-dialog.h:
1219 * src/nact/nact-add-capability.ui: New files.
1222 * src/nact/Makefile.am: Updated accordingly.
1224 * src/nact/nact-match-list.c:
1225 * src/nact/nact-match-list.h (nact_match_list_create_model):
1226 Add match_header parameter.
1228 * src/nact/nact-ibasenames-tab.c:
1229 * src/nact/nact-icapabilities-tab.c:
1230 * src/nact/nact-ifolders-tab.c:
1231 * src/nact/nact-imimetypes-tab.c:
1232 * src/nact/nact-ischemes-tab.c: Updated accordingly.
1234 2010-06-13 Pierre Wieser <pwieser@trychlos.org>
1236 * src/nact/nact-match-list.c:
1237 * src/nact/nact-match-list.h (nact_match_list_create_model):
1238 Add on_add_clicked callback parameter.
1240 * src/nact/nact-ibasenames-tab.c:
1241 * src/nact/nact-ifolders-tab.c:
1242 * src/nact/nact-imimetypes-tab.c:
1243 * src/nact/nact-ischemes-tab.c: Updated accordingly.
1245 * src/nact/nact-iaction-tab.c:
1246 Use gtk_bin_get_child() function instead of GTK_BIN()->child.
1249 Add src/nact/nact-icapabilities-tab.c, src/nact/nact-ischemes-tab.c.
1250 Remove src/nact/nact-iconditions-tab.c.
1252 * src/api/na-core-utils.h:
1253 * src/core/na-core-utils.c (na_core_utils_selcount_get_ope_int):
1256 * src/nact/nact-icapabilities-tab.c: Implement selection count.
1258 2010-06-11 Pierre Wieser <pwieser@trychlos.org>
1260 * src/api/na-icontext.h:
1261 * src/core/na-icontext.c (na_icontext_is_all_mimetypes): New function.
1263 * src/api/na-object-api.h: Define new getters/setters.
1265 * src/core/na-icontext-factory.c:
1266 * src/core/na-object-item-factory.c: Fix comments.
1268 * src/io-gconf/nagp-reader.c:
1269 Convert pre-v3 is_multiple, is_file and is_dir parameters.
1271 2010-06-10 Pierre Wieser <pwieser@trychlos.org>
1273 * configure.ac: Bump post-release version number.
1275 * Changelog: Update NEWS before release.
1277 * configure.ac: Bump pre-release version number.
1279 * src/core/na-iabout.c: Update copyright notice.
1281 2010-06-09 Pierre Wieser <pwieser@trychlos.org>
1283 * src/api/na-core-utils.h:
1284 * src/api/na-core-utils.c (na_core_utils_slist_find_negated):
1287 * src/nact/nact-add-scheme-dialog.c:
1288 * src/nact/nact-add-scheme-dialog.h: New files.
1290 * src/nact/Makefile.am: Updated accordingly.
1292 * src/nact/nact-main-menubar.c: Update test for Gtk+ version.
1294 * src/nact/nact-match-list.c:
1295 * src/nact/nact-match-list.h: Remove on_add callback.
1297 * src/nact/nact-ibasenames-tab.c:
1298 * src/nact/nact-ifolders-tab.c:
1299 * src/nact/nact-imimetypes-tab.c:
1300 * src/nact/nact-ischemes-tab.c:
1301 * src/nact/nact-preferences-editor.c: Updated accordingly.
1303 * src/nact/nact-schemes-list.c:
1304 * src/nact/nact-schemes-list.h
1305 (nact_schemes_list_show_all, nact_schemes_list_get_current_scheme):
1308 2010-06-07 Pierre Wieser <pwieser@trychlos.org>
1310 * src/nact/nact-add-scheme.ui: New file.
1313 * src/nact/Makefile.am: Updated accordingly.
1315 2010-06-04 Pierre Wieser <pwieser@trychlos.org>
1317 * src/api/na-object-api.h: Reorganization.
1319 * src/core/na-icontext-factory.c: Set schemes default to '*'.
1321 * src/nact/nact-icommand-tab.c: Get schemes from current object.
1323 * src/nact/nact-ischemes-tab.c:
1324 * src/nact/nact-ischemes-tab.h:
1325 Take advantage of new nact_match_list_xxx functions.
1327 * src/api/na-object-api.h:
1328 * src/api/na-ifactory-object-data.h:
1329 * src/core/na-object-profile-factory.c: Add NAFO_DATA_WORKING_DIR data.
1331 * src/core/na-factory-object.c:
1332 * src/core/na-factory-object.h (na_factory_object_get_default):
1335 * src/nact/nact-icommand-tab.c: Implement working directory.
1337 * src/nact/nact-imimetypes-tab.c:
1338 Take advantage of new nact_match_list_xxx functions.
1340 * src/nact/nact-match-list.c:
1341 * src/nact/nact-match-list.h: New files.
1343 * src/nact/Makefile.am: Updated accordingly.
1345 * src/nact/base-window.c:
1346 * src/nact/base-window.h (base_window_signal_connect_with_data):
1349 * src/nact/nact-ibasenames-tab.c:
1350 Take advantage of new nact_match_list_xxx functions.
1352 2010-06-03 Pierre Wieser <pwieser@trychlos.org>
1354 * src/nact/nact-ibasenames-tab.c: Implement NactIBasenamesInterface interface.
1356 2010-06-02 Pierre Wieser <pwieser@trychlos.org>
1358 * src/nact/nautilus-actions-config-tool.ui:
1359 * src/nact/nact-ibasenames-tab.c: Define basename new conditions skeleton.
1361 * src/nact/nact-icapabilities-tab.c:
1362 * src/nact/nact-icapabilities-tab.h: Define NactICapabilitiesInterface interface.
1364 * src/nact/Makefile.am:
1365 * src/nact/nact-main-tab.h:
1366 * src/nact/nact-main-window.c: Updated accordingly.
1368 2010-05-30 Pierre Wieser <pwieser@trychlos.org>
1370 * src/nact/nact-ibasenames-tab.c:
1371 * src/nact/nact-ibasenames-tab.h: Define NactIBasenamesTabInterface interface.
1373 * src/nact/nact-icommand-tab.c:
1374 No more include removed nact-iconditions-tab.h file.
1376 * src/nact/nact-ienvironment-tab.c:
1377 * src/nact/nact-ienvironment-tab.h: Define NactIEnvironmentTabInterface interface.
1379 * src/nact/nact-iexecution-tab.c:
1380 * src/nact/nact-iexecution-tab.h: Define NactIExecutionTabInterface interface.
1382 * src/nact/nact-ifolders-tab.c (on_tab_updatable_selection_changed):
1383 * src/nact/nact-ischemes-tab.c (on_tab_updatable_selection_changed):
1384 tab_set_sensitive() returned value is not used here.
1386 * src/nact/nact-imimetypes-tab.c:
1387 * src/nact/nact-imimetypes-tab.h: Define NactIMimetypesTabInterface interface.
1389 * src/nact/nact-iproperties-tab.c (on_tab_updatable_selection_changed):
1390 Set a mnemonic in the tab label.
1392 * src/nact/nact-main-tab.h:
1393 * src/nact/nact-main-window.c: Add the four new tabs, remove the old one.
1395 * src/nact/nautilus-actions-config-tool.ui: Fix some size groups.
1397 2010-05-29 Pierre Wieser <pwieser@trychlos.org>
1399 * configure.ac: Define GSEAL_ENABLED.
1401 * src/nact/nautilus-actions-config-tool.ui:
1402 Implement all new fields.
1404 2010-05-26 Pierre Wieser <pwieser@trychlos.org>
1406 * src/api/na-core-utils.h:
1407 * src/core/na-core-utils.c (na_core_utils_dir_split_ext):
1410 * src/core/na-tokens.h:
1411 * src/core/na-tokens.c: New files.
1413 * src/core/Makefile.am: Udated accordingly.
1415 * src/plugin-menu/nautilus-actions.c:
1416 Expand tokens which may embed parameters.
1418 2010-05-20 Pierre Wieser <pwieser@trychlos.org>
1420 * src/io-gconf/nagp-reader.c (read_done_profile_attach_profile):
1421 Migrate old v2 parameters to v3.
1423 * src/core/na-object-action.c (deals_with_version):
1424 Setup a version number if not already set.
1426 * src/core/na-object-action.c (convert_pre_v2_action):
1427 Renamed as convert_v1_to_v2.
1429 * src/api/na-data-def.h: Add write_if_default.
1431 * src/core/na-icontext-factory.c:
1432 * src/core/na-object-action-factory.c:
1433 * src/core/na-object-id-factory.c:
1434 * src/core/na-object-item-factory.c:
1435 * src/core/na-object-profile-factory.c: Update all data structures.
1437 * src/io-desktop/nadp-writer.c
1438 (nadp_writer_ifactory_provider_write_data):
1439 * src/io-gconf/nagp-writer.c (nagp_writer_write_data):
1440 * src/io-xml/naxml-writer.c (naxml_writer_write_data):
1441 Updated accordingly.
1443 * src/io-desktop/nadp-reader.c
1444 (nadp_reader_ifactory_provider_read_start): Removed function.
1446 2010-05-17 Pierre Wieser <pwieser@trychlos.org>
1448 * configure.ac: Fix typo.
1450 * src/core/na-core-utils.c (na_core_utils_slist_from_array):
1451 Strip the strings extracted from the array.
1453 * src/core/na-factory-object.c (na_factory_object_are_equal):
1454 Dump the data when different.
1456 * src/nact/nact-main-menubar-file.c
1457 (nact_main_menubar_file_save_items): Add a debug message.
1459 * src/api/na-object-api.h (na_object_set_last_version):
1460 * src/api/na-object-action.h:
1461 * src/core/na-object-action.c (na_object_action_set_last_version):
1464 * src/core/na-object-action.c (convert_pre_v2_action):
1465 Reset action to last version number after conversion from pre-v2.
1467 * src/core/na-object-profile.c (na_object_profile_parse_parameters):
1468 Do not add extraneous blanks when parsing parameters.
1470 * configure.ac: Post release bump version number.
1472 * src/io-desktop/nadp-reader.c (read_done_load_profiles):
1473 Do not reload already loaded profiles.
1474 Just ignore non-referenced profiles.
1476 * src/io-gconf/nagp-reader.c
1477 (read_done_action_load_profiles_from_list): Do not reload already loaded profiles.
1479 * src/utils/nautilus-actions-new.c:
1480 Factorize error message to make translation easier.
1482 * src/utils/nautilus-actions-run.c:
1483 Mark two new strings for translation.
1485 * src/core/na-object-action-factory.c:
1486 No more set a string version.
1488 * src/io-gconf/nagp-reader.c (read_done_profile_attach_profile):
1489 Test both string and integer versions.
1491 2010-05-12 Pierre Wieser <pwieser@trychlos.org>
1493 * src/api/na-icontext.h:
1494 * src/core/na-icontext.c
1495 (na_icontext_have_all_mimetypes): Removed function.
1496 (na_icontext_read_done): New function.
1498 * src/core/na-object-action.c:
1499 * src/core/na-object-menu.c:
1500 * src/core/na-object-profile.c: Updated accordingly.
1502 * src/api/na-object-api.h
1503 (na_object_get_iversion, na_object_set_iversion): New functions.
1505 * src/core/na-icontext-factory.c:
1506 * src/core/na-object-item-factory.c:
1507 Adjustments on default values.
1509 * src/io-gconf/nagp-reader.c (read_done_profile_attach_profile):
1510 Convert pre-v3 parameters.
1512 * src/plugin-menu/nautilus-actions.c:
1513 Adjust NautilusMenuProvider interface.
1515 2010-05-10 Pierre Wieser <pwieser@trychlos.org>
1517 Monitor .desktop files and directories.
1519 * src/io-desktop/nadp-monitor.c:
1520 * src/io-desktop/nadp-monitor.h: New files.
1522 * src/io-desktop/Makefile.am: Updated accordingly.
1524 * src/io-desktop/nadp-desktop-provider.c:
1525 * src/io-desktop/nadp-desktop-provider.h
1526 (nadp_desktop_provider_add_monitor,
1527 nadp_desktop_provider_on_monitor_event,
1528 nadp_desktop_provider_release_monitors): New functions.
1530 * src/io-desktop/nadp-reader.c (get_list_of_desktop_paths):
1531 Installs a monitor for each candidate directory.
1533 2010-05-03 Pierre Wieser <pwieser@trychlos.org>
1535 * src/api/na-icontext.h:
1536 * src/api/na-ifactory-object-data.h:
1537 * src/api/na-object-api.h:
1538 * src/core/na-icontext-factory.c:
1539 * src/core/na-icontext.c:
1540 Define new NAFO_DATA_ALL_MIMETYPES data, set to TRUE when the context
1541 is to be selected for all mimetypes.
1543 * src/core/na-object-action.c:
1544 * src/core/na-object-menu.c:
1545 * src/core/na-object-profile.c:
1546 * src/plugin-menu/nautilus-actions.c:
1547 All objects implement NAIContextInterface.
1549 * src/nact/nact-iconditions-tab.c (na_object_is_matchcase):
1550 Renamed as na_object_get_matchcase().
1552 * src/core/na-object-profile.c (na_object_profile_parse_parameters):
1553 Do not add extraneous blanks when parsing parameters.
1555 2010-04-19 Pierre Wieser <pwieser@trychlos.org>
1557 * src/api/na-ifactory-object-data.h:
1558 * src/api/na-object-profile.h:
1559 * src/core/na-icontext-factory.c:
1560 * src/core/na-object-action-factory.c:
1561 * src/core/na-object-item-factory.c:
1562 * src/core/na-object-menu-factory.c:
1563 * src/core/na-object-profile-factory.c:
1564 Define all new data, new parameters, and include context informations
1565 to actions and menus.
1567 * src/api/na-core-utils.h:
1568 * src/core/na-core-utils.c (na_core_utils_slist_from_array):
1569 Fix leading and trailing spaces management.
1571 2010-04-18 Pierre Wieser <pwieser@trychlos.org>
1573 * src/api/na-ifactory-object-data.h:
1574 * src/core/na-object-item-factory.c:
1575 Define new NAFO_DATA_SHORTCUT data.
1577 2010-04-15 Pierre Wieser <pwieser@trychlos.org>
1579 * src/nact/nact-schemes-list.c (insert_new_row):
1580 Rewrite row insertion; do not insert a - non-editable - description.
1582 * src/nact/nact-preferences.ui: Fix typo.
1584 * src/io-gconf/nagp-keys.h:
1585 Remove unused GConf entry keys.
1587 * src/io-gconf/nagp-writer.c (nagp_iio_provider_is_willing_to_write):
1588 Force GConf sync to get ride of 'foo' entry.
1590 2010-04-14 Pierre Wieser <pwieser@trychlos.org>
1592 * NEWS: Update before release.
1594 * configure.ac: Bump version number before release.
1596 * src/core/na-selected-info.h:
1597 * src/core/na-selected-info.c (na_selected_info_get_name):
1598 Renamed as na_selected_info_get_path.
1600 * src/core/na-icontext.c
1601 (is_current_folder_inside, is_target_selection_candidate):
1602 Updated accordingly.
1604 * src/core/na-object-profile.c (na_object_profile_parse_parameters):
1605 Do not try to deal with null values.
1607 * src/plugin-menu/nautilus-actions.c (create_item_from_profile):
1608 Duplicate the candidate profile, set the parent to null.
1610 * src/core/na-selected-info.c (na_selected_info_get_location):
1611 Increment the reference count of the returned location.
1613 * src/core/na-gconf-utils.c (dump_entry):
1614 Do not try to dump a null value.
1616 * src/core/na-selected-info.c
1617 (dump): New function.
1618 (na_selected_info_create_for_uri): Accepts a mimetype.
1620 * src/plugin-tracker/na-tracker-dbus.c
1621 (na_tracker_dbus_get_selected_paths): Also sends the mimetype.
1623 2010-04-13 Pierre Wieser <pwieser@trychlos.org>
1625 * po/POTFILES.in: Adding src/nact/nact-iconditions-tab.c file.
1627 * src/api/na-ifactory-object-data.h:
1628 * src/core/na-icontext-factory.c:
1629 Adding NAFO_DATA_SELECTION_COUNT data, obsoleting NAFO_DATA_MULTIPLE.
1631 * src/nact/nact-iconditions-tab.c:
1632 * src/nact/nautilus-actions-config-tool.ui:
1633 Adding required entries for SelectionCount data.
1635 2010-04-12 Pierre Wieser <pwieser@trychlos.org>
1637 * src/plugin-menu/Makefile.am:
1638 * src/plugin-tracker/Makefile.am: Fix incorrect log domains.
1640 * po/POTFILES.in: Add src/nact/nact-iproperties-tab.c file.
1642 * src/nact/nautilus-actions-config-tool.ui: Adjust vertical paddings.
1644 "Advanced conditions" tab is renamed as "Schemes".
1646 * src/nact/nact-iadvanced-tab.c: Renamed as src/nact/nact-ischemes-tab.c.
1647 * src/nact/nact-iadvanced-tab.h: Renamed as src/nact/nact-ischemes-tab.h.
1649 * src/nact/Makefile.am:
1650 * src/nact/nact-icommand-tab.c:
1651 * src/nact/nact-main-tab.h:
1652 * src/nact/nact-main-window.c: Updated accordingly.
1654 Move item properties to their own tab.
1656 * src/nact/nact-iproperties-tab.c:
1657 * src/nact/nact-iproperties-tab.h: New files.
1659 * src/nact/Makefile.am:
1660 * src/nact/nact-iaction-tab.c:
1661 * src/nact/nact-main-tab.h:
1662 * src/nact/nact-main-window.c:
1663 * src/nact/nautilus-actions-config-tool.ui: Updated accordingly.
1665 2010-04-09 Pierre Wieser <pwieser@trychlos.org>
1669 * src/nact/nact-sort-buttons.c (set_new_sort_order):
1670 Do not rewrite in GConf a just-readen sort order.
1672 * src/io-gconf/nagp-writer.c (nagp_iio_provider_delete_item):
1673 Also delete the schema names which may be embedded in GConfEntry.
1675 * src/api/na-gconf-utils.h:
1676 * src/core/na-gconf-utils.c (na_gconf_utils_dump_entries):
1679 * src/io-gconf/nagp-reader.c (read_item):
1680 Dump content of readen entries.
1682 * src/io-gconf/nagp-gconf-provider.c (install_monitors):
1683 Also monitors schemas to be triggered when importing a schema.
1685 * configure.ac: Bump version number for release.
1687 * src/nact/nact-iaction-tab.c (on_icon_browse):
1688 Save current position and folder of icon chooser.
1690 2010-04-08 Pierre Wieser <pwieser@trychlos.org>
1692 * src/core/na-object-profile.c (is_valid_path_parameters):
1693 Only check for non-empty path+parameters (fix #614596).
1695 * src/nact/nact-sort-buttons.c (on_sort_down_button_toggled,
1696 on_sort_manual_button_toggled, on_sort_up_button_toggled):
1697 Do not let the user click twice on a sort button.
1699 * src/nact/nact-main-window.c (setup_dialog_title):
1700 Review/normalize debug entry message.
1702 * src/nact/nact-ifolders-tab.c (on_add_folder_clicked):
1703 Folders list is definitively a list of paths (not URI).
1705 * src/api/na-core-utils.h:
1706 * src/core/na-core-utils.c (na_core_utils_str_collate): New function.
1708 * src/core/na-data-boxed.c (locale_are_equal):
1709 * src/core/na-object-action.c (deals_with_toolbar_label):
1710 * src/core/na-object-id.c (na_object_id_sort_alpha_asc):
1711 * src/io-desktop/nadp-utils.c (nadp_utils_gslist_remove_from):
1712 * src/nact/base-builder.c (already_loaded): Updated accordingly.
1714 * src/api/na-gconf-utils.h:
1715 * src/core/na-gconf-utils.c (na_gconf_utils_has_entry):
1716 Check for an entry in the previously loaded list.
1718 * src/io-gconf/nagp-reader.c
1719 (read_item): First check for Type default value.
1720 (read_item, read_done_item_is_writable,
1721 read_done_action_load_profile): Load entries.
1723 * src/nact/nact-iaction-tab.c (on_tab_updatable_selection_changed):
1724 * src/nact/nact-icommand-tab.c (on_tab_updatable_selection_changed):
1725 Protect gtk_ functions against null values.
1727 * src/plugin-menu/Makefile.am:
1728 Rename plugin to libnautilus-actions-menu.
1730 * src/io-desktop/nadp-reader.c (item_from_desktop_path):
1731 First check Type for default value.
1733 2010-04-07 Pierre Wieser <pwieser@trychlos.org>
1735 * src/nact/nact-gtk-utils.c:
1736 * src/nact/nact-gtk-utils.h
1737 (nact_gtk_utils_get_pixbuf): Render an icon for a given widget.
1738 (nact_utils_render): New function.
1740 * src/nact/nact-iaction-tab.c (on_icon_changed):
1741 * src/nact/nact-main-statusbar.c (nact_main_statusbar_set_locked):
1742 * src/nact/nact-tree-model.c (display_item): Updated accordingly.
1744 2010-04-02 Pierre Wieser <pwieser@trychlos.org>
1747 * src/nact/nact-main-tab.c (nact_main_tab_is_page_enabled):
1748 GTK_WIDGET_IS_SENSITIVE is deprecated starting from gtk 2.20.
1750 * src/core/na-core-utils.c (na_core_utils_file_exists):
1751 * src/io-xml/naxml-writer.c (output_xml_to_file):
1752 Takes an URI as the filename.
1754 2010-04-01 Pierre Wieser <pwieser@trychlos.org>
1756 * src/api/na-icontextual.h: Renamed as src/api/na-icontext.h.
1757 * src/core/na-icontextual.c: Renamed as src/core/na-icontext.c.
1758 * src/core/na-icontextual-factory.c: Renamed as src/core/na-icontext-factory.c.
1761 * src/api/Makefile.am:
1762 * src/api/na-icontext.h:
1763 * src/api/na-object-api.h:
1764 * src/core/Makefile.am:
1765 * src/core/na-icontext.c:
1766 * src/core/na-object-action.c:
1767 * src/core/na-object-profile.c:
1768 * src/plugin-menu/nautilus-actions.c:
1769 * src/utils/nautilus-actions-run.c: Updated accordingly.
1771 * src/api/na-object-api.h (na_object_prepare_for_paste):
1772 * src/core/na-object-id.c (na_object_id_prepare_for_paste):
1773 Parent is not always an action, may be a menu.
1775 * src/io-desktop/nadp-desktop-file.c
1776 (nadp_desktop_file_get_file_type):
1777 Do not emit a warning if Type is not found in the .desktop file.
1779 * src/core/na-core-utils.c (na_core_utils_slist_to_array):
1782 * src/io-desktop/nadp-keys.h:
1783 Set back action (resp. menu) Type to Action (resp. Menu).
1785 * src/nact/nautilus-actions-config-tool.ui:
1786 Insert a scrolled window as text view parent.
1788 * src/io-desktop/nadp-desktop-file.c (check_key_file):
1789 Only write a debug message if file is hidden.
1791 2010-03-29 Pierre Wieser <pwieser@trychlos.org>
1793 * src/nact/nact-gtk-utils.c (nact_gtk_utils_set_editable):
1794 Take into account new GtktextView widget.
1796 * src/io-desktop/nadp-writer.c (nadp_iio_provider_write_item):
1797 Remove groups which no longer exist.
1799 * src/io-desktop/nadp-reader.c (read_done_load_profiles):
1802 * src/io-desktop/nadp-desktop-file.c:
1803 * src/io-desktop/nadp-desktop-file.h (nadp_desktop_file_remove_profile):
1806 * src/io-desktop/nadp-desktop-file.c (nadp_desktop_file_get_profiles):
1807 Fix allocation of profile id.
1809 * src/io-desktop/nadp-desktop-file.c:
1810 * src/io-desktop/nadp-desktop-file.h (nadp_desktop_file_remove_key):
1813 * src/io-desktop/nadp-writer.c (nadp_iio_provider_write_item):
1814 Remove key when it is no more set.
1816 * src/api/na-object-api.h
1817 (na_object_get_description, na_object_set_description): New macros.
1819 * src/nact/nact-iaction-tab.c:
1820 * src/nact/nautilus-actions-config-tool.ui: Add description entry.
1822 * src/io-desktop/nadp-keys.h: Remove unused keys.
1824 * src/io-desktop/nadp-reader.c (nadp_reader_ifactory_provider_read_done):
1825 Explicitly read subitems string list.
1827 * src/io-desktop/nadp-desktop-provider.c (ifactory_provider_iface_init):
1828 * src/io-desktop/nadp-writer.c:
1829 * src/io-desktop/nadp-writer.h (nadp_writer_ifactory_provider_write_done):
1830 New function: explicitly write subitems string list for actions and menus.
1832 2010-03-28 Pierre Wieser <pwieser@trychlos.org>
1834 * src/api/na-data-boxed.h:
1835 * src/core/na-data-boxed.c (na_data_boxed_set_default): Removed function.
1837 * src/core/na-factory-object.c (set_defaults_iter):
1838 Only set a default value when the box has not been yet allocated.
1840 * src/api/na-ifactory-object.h:
1841 * src/core/na-ifactory-object.c (na_ifactory_object_get_data_groups):
1844 * src/core/na-object-item-factory.c:
1845 * src/core/na-object-action.c (instance_init):
1846 * src/core/na-object-menu.c (instance_init):
1847 No more instantiate 'type' data box.
1849 * src/core/na-object-item-factory.c:
1850 NAFO_DATA_TYPE is no more automatically readen nor written.
1852 * src/io-desktop/nadp-desktop-provider.c (ifactory_provider_iface_init):
1853 Implement data writing.
1855 * src/io-desktop/nadp-keys.c:
1856 * src/io-desktop/nadp-keys.h (nadp_keys_get_group_and_key):
1859 * src/io-desktop/nadp-reader.c
1860 (item_from_desktop_path): Test default value first.
1861 (nadp_reader_ifactory_provider_read_data): Use new desktop_entry field.
1863 * src/io-desktop/nadp-writer.c:
1864 * src/io-desktop/nadp-writer.h (nadp_writer_ifactory_provider_write_start,
1865 nadp_writer_ifactory_provider_write_data): New functions.
1867 * src/io-gconf/nagp-writer.c (nagp_writer_write_start):
1868 Explicitely write item type.
1870 * src/io-desktop/nadp-desktop-file.c:
1871 * src/io-desktop/nadp-desktop-file.h
1872 (nadp_desktop_file_set_boolean, nadp_desktop_file_set_locale_string,
1873 nadp_desktop_file_set_string, nadp_desktop_file_set_string_list,
1874 nadp_desktop_file_set_uint): New functions.
1876 * src/api/na-core-utils.h:
1877 * src/core/na-core-utils.c (na_core_utils_slist_to_array):
1880 2010-03-26 Pierre Wieser <pwieser@trychlos.org>
1882 * src/api/na-data-def.h:
1883 * src/core/na-icontextual-factory.c:
1884 * src/core/na-object-id-factory.c:
1885 * src/core/na-object-item-factory.c:
1886 * src/core/na-object-action-factory.c:
1887 * src/core/na-object-profile-factory.c:
1888 Define the key for .desktop file.
1890 * src/io-gconf/nagp-writer.c (nagp_writer_write_data):
1893 * src/io-desktop/nadp-desktop-provider.c:
1894 * src/io-desktop/nadp-reader.c:
1895 * src/io-desktop/nadp-reader.h
1896 (nadp_reader_ifactory_provider_read_start): Removed unused function.
1898 * src/io-desktop/nadp-desktop-file.c:
1899 * src/io-desktop/nadp-desktop-file.h
1900 (check_key_file): Check that we don't have a 'Hidden=true' key.
1901 (nadp_desktop_file_get_profiles): New function.
1903 * src/io-desktop/nadp-desktop-provider.c:
1904 * src/io-desktop/nadp-desktop-provider.h:
1905 Move reader functions and structure to nadp-reader.c.
1907 * src/io-desktop/nadp-keys.h:
1908 Relabel type of items in .desktop file (cf. draft 0.9).
1910 * src/io-desktop/nadp-reader.c:
1911 * src/io-desktop/nadp-reader.h:
1912 Read profiles present in the .desktop file.
1914 2010-03-26 Pierre Wieser <pwieser@trychlos.org>
1916 * src/io-desktop/nadp-desktop-file.c:
1917 * src/io-desktop/nadp-desktop-file.h
1918 (check_key_file): Check that we don't have a 'Hidden=true' key.
1919 (nadp_desktop_file_get_profiles): New function.
1921 * src/io-desktop/nadp-desktop-provider.c:
1922 * src/io-desktop/nadp-desktop-provider.h:
1923 Move reader functions and structure to nadp-reader.c.
1925 * src/io-desktop/nadp-keys.h:
1926 Relabel type of items in .desktop file (cf. draft 0.9).
1928 * src/io-desktop/nadp-reader.c:
1929 * src/io-desktop/nadp-reader.h:
1930 Read profiles present in the .desktop file.
1932 2010-03-26 Pierre Wieser <pwieser@trychlos.org>
1934 * configure.ac: Bump version number for data branch.
1936 2010-03-26 Pierre Wieser <pwieser@trychlos.org>
1940 2010-03-25 Pierre Wieser <pwieser@trychlos.org>
1942 * src/nact/nact-main-menubar-edit.c:
1943 * src/nact/nact-main-menubar-edit.h:
1944 * src/nact/nact-main-menubar-file.c:
1945 * src/nact/nact-main-menubar-file.h:
1946 * src/nact/nact-main-menubar-view.c:
1947 * src/nact/nact-main-menubar-view.h: New files.
1950 * src/nact/Makefile.am: Updated accordingly.
1952 * src/nact/nact-main-window.c
1953 (ipivot_consumer_on_mandatory_prefs_changed):
1954 Implement NAIPivotConsumer notification.
1956 * src/nact/nact-sort-buttons.c:
1957 * src/nact/nact-sort-buttons.h
1958 (nact_sort_buttons_level_zero_writability_change):
1959 Enable/disable the buttons depending of the level zero writability
1962 2010-03-24 Pierre Wieser <pwieser@trychlos.org>
1964 * src/core/na-ipivot-consumer.c
1965 (na_ipivot_consumer_notify_of_mandatory_prefs_changed) : New function.
1966 (on_mandatory_prefs_changed): New interface API.
1968 * src/core/na-pivot.c (monitor_runtime_preferences):
1969 Monitor the mandatory preferences set by the admin.
1971 * src/nact/nact-main-window.c (ipivot_consumer_iface_init):
1972 * src/plugin-menu/nautilus-actions.c (ipivot_consumer_iface_init):
1973 For now, only declare NULL implementations.
1975 * src/nact/nact-preferences-editor.c (on_base_runtime_init_dialog):
1976 * src/nact/nact-sort-buttons.c (nact_sort_buttons_runtime_init):
1977 Forbid the modification of order mode is level zero is not writable.
1979 * src/core/na-pivot.c (na_pivot_is_level_zero_writable):
1980 Writable if not all not GConf are locked by admin.
1982 * src/nact/nact-iaction-tab.c (nact_iaction_tab_runtime_init_toplevel):
1983 * src/nact/nact-iadvanced-tab.c (runtime_init_connect_signals):
1984 * src/nact/nact-icommand-tab.c (nact_icommand_tab_runtime_init_toplevel):
1985 * src/nact/nact-iconditions-tab.c (nact_iconditions_tab_runtime_init_toplevel):
1986 * src/nact/nact-ifolders-tab.c (nact_ifolders_tab_runtime_init_toplevel):
1987 * src/nact/nact-main-tab.h:
1988 Signal TAB_UPDATABLE_SIGNAL_SELECTION_CHANGED is renamed as
1989 MAIN_WINDOW_SIGNAL_SELECTION_CHANGED.
1991 * src/nact/nact-main-menubar.c:
1992 * src/nact/nact-main-menubar.h
1993 (nact_main_menubar_is_level_zero_order_changed): New function.
1995 * src/nact/nact-iactions-list.h:
1996 * src/nact/nact-iactions-list-bis.c (nact_iactions_list_bis_delete):
1997 Add an argument to select the row at end of the function.
1999 * src/nact/nact-main-window.c:
2000 Connect to MAIN_WINDOW_SIGNAL_LEVEL_ZERO_ORDER_CHANGED to update
2003 * src/nact/nact-iactions-list.c:
2004 * src/nact/nact-iactions-list.h
2005 (selection_changed): Remove the not used API.
2006 Remove the connection to the signal and the call to the interface.
2008 * src/nact/nact-assistant-export.c (iactions_list_iface_init):
2009 Use the IACTIONS_LIST_SIGNAL_SELECTION_CHANGED instead of the
2012 * src/nact/nact-main-window.c
2013 (ipivot_consumer_on_display_order_changed):
2014 Relay NAIPivotConsumer notification to nact_sort_buttons.
2016 * src/nact/nact-sort-buttons.c:
2017 * src/nact/nact-sort-buttons.h
2018 (nact_sort_buttons_display_order_change): New function.
2020 * src/nact/nact-main-menubar.c (save_item):
2021 Not only unref old origin, but also remove it from tree.
2023 2010-03-23 Pierre Wieser <pwieser@trychlos.org>
2025 Add buttons to sort the list.
2027 * src/nact/nact-sort-buttons.c:
2028 * src/nact/nact-sort-buttons.h: New files.
2030 * src/nact/Makefile.am:
2031 * src/nact/nact-main-window.c: Updated accordingly.
2033 * src/nact/nautilus-actions-config-tool.ui:
2034 Define three new buttons to help to sort the list of items.
2036 * src/core/Makefile.am:
2037 No more give a version number to the core library.
2039 Restore the target-location indicator.
2041 * src/api/na-ifactory-object-data.h:
2042 * src/core/na-object-action-factory.c:
2043 Renamed NAFO_DATA_TARGET_BACKGROUND as NAFO_DATA_TARGET_LOCATION.
2045 * src/api/na-object-api.h
2046 (na_object_is_target_location, na_object_set_target_location):
2049 * src/api/na-object-item.h:
2050 * src/plugin-menu/nautilus-actions.c (menu_provider_get_background_items):
2051 Renamed ITEM_TARGET_BACKGROUND as ITEM_TARGET_LOCATION.
2053 * src/core/na-icontextual-factory.c:
2054 * src/core/na-object-action-factory.c:
2055 * src/core/na-object-item-factory.c:
2056 Update data descriptions.
2058 * src/core/na-icontextual.c (is_target_background_candidate):
2059 Renamed as is_target_location_candidate().
2061 * src/core/na-object-action.c (na_object_action_is_candidate):
2062 Only selects the action if it is candidate for this target.
2064 * src/nact/nact-iaction-tab.c (on_tab_updatable_selection_changed):
2065 * src/nact/nautilus-actions-config-tool.ui:
2066 Display the target-location checkbox.
2068 * src/utils/nautilus-actions-new.c:
2069 Let the user select the target-location boolean indicator.
2071 2010-03-22 Pierre Wieser <pwieser@trychlos.org>
2073 * src/core/na-icontextual.c
2074 (is_current_folder_inside): Compare path rather that URI.
2075 (is_target_selection_candidate): Fix NASelectedInfo addressing.
2077 * src/plugin-menu/nautilus-actions.c
2078 (get_file_or_background_items): New function.
2079 (build_nautilus_menus, get_candidate_profile): Add debug messages.
2081 * src/core/na-selected-info.c (query_file_attributes):
2082 Fix file_info_get_attribute.
2084 * src/core/na-object-action.c (na_object_action_is_candidate):
2085 Considere background menu just as a special case of selection menu.
2087 * data/.gitignore: Update .gitignore.
2089 2010-03-17 Pierre Wieser <pwieser@trychlos.org>
2091 * data/Makefile.am: Automatically generate configurations schemas.
2093 * data/nautilus-actions.schemas.in:
2094 Renamed as data/nautilus-actions-prefs.schemas.in.
2095 Remove configurations schemas (now dynamically generated).
2097 * po/POTFILES.in: Updated accordingly.
2099 * src/core/na-icontextual-factory.c:
2100 * src/core/na-object-action-factory.c: Fix typo.
2102 * src/utils/nautilus-actions-schemas.c:
2103 Output configurations schemas to stdout.
2106 New file: do not try to translate dynamically generated schema.
2109 Build data/ after src/ to bo take advantage of dynamic generation of schemas.
2111 * src/core/na-icontextual-factory.c:
2112 String lists are now initialized in GConf-style.
2114 * src/io-gconf/nagp-writer.c (nagp_writer_write_data):
2115 * src/io-xml/naxml-writer.c (write_data_schema_v2, write_data_dump):
2116 Do not output empty values.
2118 * src/api/na-data-boxed.h:
2119 * src/core/na-data-boxed.c (na_data_boxed_is_set): New function.
2121 * data/nautilus-actions.schemas.in:
2123 Add io-providers/read-at-startup and io-providers/writable keys.
2125 * src/nact/nact.desktop.in: Add StartupNotify=true.
2127 * src/nact/nact-main-window.c (reload):
2128 Free the deleted list before filling the tree.
2130 * src/nact/nact-main-menubar.c
2131 (on_cut_activated): Do not cut not deletable items.
2132 (get_deletables): Add a ref on items to delete.
2134 * src/test/init-dispose-diff.sh:
2135 Do not take into account some debug messages.
2137 2010-03-16 Pierre Wieser <pwieser@trychlos.org>
2139 * src/utils/nautilus-actions-new.c
2140 (output_to_dir): Output the new action to a file.
2142 * src/core/na-core-utils.c (info_dir_is_writable):
2143 Do not emit a warning on 'no such file or directory' error.
2145 * src/utils/nautilus-actions-new.c
2146 (output_to_stdout): Output the new action to stdout.
2147 (output_to_gconf): Output the new action to GConf.
2149 * src/io-xml/naxml-writer.c (naxml_writer_write_start):
2150 Add attribute to list node, thus fixing writing of action.
2152 2010-03-15 Pierre Wieser <pwieser@trychlos.org>
2154 * src/io-xml/naxml-writer.c (naxml_writer_write_start):
2155 No need to explicitely write item type as the data is marked writable.
2157 * src/utils/nautilus-actions-new.c:
2158 Cleanup old command-line code.
2159 Check for incompatibility between boolean arguments.
2161 * src/api/na-data-def.h (na_data_def_get_data_def): New function.
2163 * src/core/na-data-def.c: New file.
2165 * src/core/Makefile.am: Updated accordingly.
2167 * src/core/na-icontextual-factory.c:
2168 * src/core/na-object-profile-factory.c:
2169 Update command-line options to not have duplicates.
2171 * src/utils/nautilus-actions-new.c:
2172 Use new ArgFromDataDef structure and display suitable help.
2174 * src/core/na-icontextual-factory.c:
2175 * src/core/na-object-action-factory.c:
2176 * src/core/na-object-item-factory.c:
2177 * src/core/na-object-profile-factory.c:
2178 * src/utils/nautilus-actions-new.c:
2179 Update data definitions to handle command-line arguments.
2181 2010-03-10 Pierre Wieser <pwieser@trychlos.org>
2183 * src/utils/nautilus-actions-new.c:
2184 Define a structure to host NADataDef argument definitions.
2186 * src/api/na-data-def.h:
2187 Add parameters to be able to manage command-line arguments.
2189 * src/core/na-icontextual-factory.c:
2190 * src/core/na-object-action-factory.c:
2191 * src/core/na-object-id-factory.c:
2192 * src/core/na-object-item-factory.c:
2193 * src/core/na-object-profile-factory.c: Updated accordingly.
2195 * src/core/na-io-provider.c (build_hierarchy):
2196 Attach the child item to its parent.
2198 * src/core/na-object-id.c (instance_dispose):
2199 * src/core/na-object-item.c (instance_dispose):
2200 * src/core/na-object.c (instance_dispose):
2203 * src/core/na-dbus-tracker.h: Remove no more used file.
2205 * src/core/Makefile.am: Updated accordingly.
2207 * src/core/na-icontextual.c:
2208 * src/core/na-object-profile.c:
2209 * src/plugin-tracker/na-tracker-dbus.c:
2210 * src/utils/nautilus-actions-run.c:
2211 Remove all references to NATrackedItem obsolete class.
2213 * src/api/na-ifactory-object-data.h:
2214 Rename v1 action data group to NA_FACTORY_ACTION_V1_GROUP.
2216 * src/core/na-object-action-factory.c:
2217 No more try to read obsolete NAFO_DATA_TARGET_BACKGROUND data.
2219 * src/plugin-tracker/na-tracker.c
2220 (menu_provider_get_background_items):
2221 Implement Nautilus get_background_items() interface.
2223 * data/nautilus-actions.schemas.in:
2224 Remove 'target-background' entry description.
2226 * src/api/na-object-api.h
2227 (na_object_is_target_background): Removed macro.
2229 * src/api/na-object-profile.h
2230 * src/core/na-object-profile.c
2231 (na_object_profile_is_target_background): Removed function.
2233 2010-03-09 Pierre Wieser <pwieser@trychlos.org>
2235 * src/io-gconf/nagp-writer.c (nagp_writer_write_data):
2236 Replace gconf_concat_dir_and_key by g_strdup_printf.
2238 * src/core/na-ifactory-provider.c (na_ifactory_provider_write_item):
2239 Add a debug trace when entering in the function.
2241 * src/api/na-icontext-conditions.h: Renamed as na-icontextual.h.
2242 * src/core/na-icontext-conditions.c: Renamed as na-icontextual.c.
2243 * src/core/na-icontext-conditions-factory.c:
2244 Renamed as na-icontextual-factory.c.
2247 * src/api/Makefile.am:
2248 * src/api/na-icontextual.h:
2249 * src/api/na-object-api.h:
2250 * src/core/Makefile.am:
2251 * src/core/na-icontextual.c:
2252 * src/core/na-object-action.c:
2253 * src/core/na-object-profile.c:
2254 * src/plugin-menu/nautilus-actions.c:
2255 * src/utils/nautilus-actions-run.c: Updated accordingly.
2257 2010-03-09 Pierre Wieser <pwieser@trychlos.org>
2259 Refactor NactIBackgroundTab class as NactIFoldersTab.
2261 * src/nact/nact-ibackground-tab.c:
2262 * src/nact/nact-ibackground-tab.h: Renamed as nact-ifolders-tab.{c,h}.
2264 * src/nact/Makefile.am:
2265 * src/nact/nact-main-tab.h:
2266 * src/nact/nact-main-window.c: Updated accordingly.
2268 Remove the 'target background' indicator which was introduced in 2.29.1.
2270 * src/core/na-object-action-factory.c:
2271 Update properties for NAFO_DATA_TARGET_BACKGROUND.
2273 * src/nact/nact-iaction-tab.c
2274 (nact_iaction_tab_runtime_init_toplevel): Remove the signal connection.
2275 (on_tab_updatable_selection_changed): Remove fields initialization.
2276 (on_target_background_toggled): Remove the function.
2278 * src/nact/nact-ibackground-tab.c (tab_set_sensitive):
2279 Always sensitive for profiles.
2281 * src/nact/nautilus-actions-config-tool.ui: Remove the fields.
2283 * src/core/na-object-action-factory.c:
2284 data_def_action_v1 is now available from outside.
2286 * src/core/na-object-action.c
2287 (ifactory_object_read_done, ifactory_object_write_done):
2288 Rewrite input/output functions.
2290 * src/io-gconf/nagp-reader.c
2291 (nagp_reader_read_data): Simplify the code.
2293 * src/io-gconf/nagp-writer.c
2294 (nagp_writer_write_start): No more write type as this is a normal data.
2295 (nagp_writer_write_data): Rewrite profile writing.
2296 (nagp_writer_write_done): Profile writing is now driven by NAObjectAction.
2298 * src/nact/nact-tree-model-dnd.c: Cleanup the code.
2300 2010-03-05 Pierre Wieser <pwieser@trychlos.org>
2302 * nact/nact-tree-model-dnd.c (drop_inside):
2303 Split to three functions to better readibility.
2304 Fix drop inside an empty menu.
2305 Fix drop into a non writable parent.
2307 * src/api/na-iio-provider.h: Add a comment.
2309 * src/core/na-io-provider.c:
2310 * src/core/na-io-provider.h (na_io_provider_get_return_code_label):
2313 * src/nact/nact-window.c (nact_window_save_item):
2314 Better error message.
2316 * src/nact/nact-export-ask.c (on_base_runtime_init_dialog):
2317 Set more clear label, whether the item be a label or an action.
2319 * src/nact/nact-tree-model-dnd.c (get_xds_atom_value):
2320 Remove debug traces after validation both on 32 and 64 bits systems.
2322 * src/api/na-core-utils.h:
2323 * src/core/na-core-utils.c
2324 (na_core_utils_slist_join_at_end): New function.
2326 * src/api/na-iio-provider.h: Fix typo in comment.
2328 * src/nact/nact-main-menubar.c (on_delete_activated):
2329 Do not delete a tree if at least one item is not writable.
2331 * src/nact/nact-tree-model-dnd.c (get_xds_atom_value):
2334 * src/plugin-menu/nautilus-actions.c
2335 (create_item_from_menu): Add a trace on weak notify.
2337 2010-03-04 Pierre Wieser <pwieser@trychlos.org>
2339 * src/core/na-object-action.c (instance_init):
2340 * src/core/na-object-menu.c (instance_init):
2341 Rather create the 'Type' box here than in read_start().
2343 2010-03-03 Pierre Wieser <pwieser@trychlos.org>
2345 * src/core/Makefile.am:
2346 * src/nact/Makefile.am: Fix make distcheck.
2348 * po/POTFILES.in: Updated.
2350 Rename the NAIConditions interface to NAIContextConditions
2351 (hopefully, there will be a NAIContextParameters some day :)).
2353 * src/core/na-iconditions-factory.c:
2354 Renamed as src/core/na-icontext-conditions-factory.c.
2356 * src/core/na-iconditions.c:
2357 Renamed as src/core/na-icontext-conditions.c.
2359 * src/api/na-iconditions.h:
2360 Renamed as src/core/na-icontext-conditions.h.
2362 * src/api/Makefile.am:
2363 * src/core/Makefile.am: Updated accordingly.
2365 * src/core/na-object-profile.c:
2366 * src/plugin-menu/nautilus-actions.c:
2367 Use new na_icontext_conditions_is_candidate() function.
2369 Define the NAIConditions interface, to be implemented by actions,
2370 profiles and menus (for now, only profiles).
2372 * src/api/na-iconditions.h:
2373 * src/core/na-iconditions.c:
2374 * src/core/na-iconditions-factory.c: New files.
2376 * src/api/Makefile.am:
2377 * src/core/Makefile.am: Updated accordingly.
2379 * src/api/na-ifactory-object-data.h:
2380 Define the NA_FACTORY_CONDITIONS_GROUP data group.
2382 * src/core/na-object-profile-factory.c:
2383 Use new data_def_conditions.
2385 * src/core/na-object-profile.c (register_type):
2386 Implement the new NAIConditions interface.
2388 Review the rationales, replacing serializable+obsoleted by
2389 readable+writable flags in NADataDef structure.
2391 * src/api/na-data-def.h:
2392 * src/core/na-factory-object.c:
2393 * src/core/na-object-action-factory.c:
2394 * src/core/na-object-action.c:
2395 * src/core/na-object-id-factory.c:
2396 * src/core/na-object-item-factory.c:
2397 * src/core/na-object-profile-factory.c:
2398 * src/io-desktop/nadp-desktop-provider.c: Updated accordingly.
2400 * src/plugin-tracker/na-tracker-dbus.c (instance_dispose):
2401 Release selected items in instance_dispose() rather than in
2402 instance_finalize() which caused a FPE in Nautilus terminaison.
2404 * src/api/na-ifactory-object.h:
2405 * src/core/na-ifactory-object.c:
2406 * src/core/na-iio-provider.c:
2407 * src/io-desktop/nadp-desktop-file.c:
2408 * src/io-desktop/nadp-desktop-file.h:
2409 * src/io-xml/naxml-writer.c:
2410 * src/io-xml/naxml-writer.h:
2411 * src/nact/nact-iadvanced-tab.c:
2412 * src/nact/nact-main-menubar.c:
2413 * src/utils/nautilus-actions-new.c: Cleanup the code.
2415 * src/nact/nact-assistant-export.c (assist_prepare_confirm):
2416 Optimize the build of the displayed text.
2418 * src/nact/nact-assistant-export.c (on_all_widgets_showed):
2419 Select and expand the first row of the list.
2421 * src/core/na-module.c (add_module_type):
2422 * src/io-desktop/nadp-reader.c (na_ifactory_provider_read_item):
2423 * src/io-desktop/nadp-writer.c (nadp_iio_provider_write_item):
2424 * src/nact/nact-export-format.c (draw_in_vbox):
2425 Add a weak_notify() local function in order to be able to trace
2426 the dispose of attached objects.
2428 * src/api/na-core-utils.h:
2429 * src/core/na-core-utils.c
2430 (na_core_utils_str_remove_char): New function.
2432 * src/api/na-iexporter.h:
2433 Onlu reference one short label in NAIExporterFormat structure.
2435 * src/core/na-export-format.c:
2436 * src/core/na-export-format.h:
2437 * src/io-xml/naxml-formats.c: Updated accordingly.
2439 * src/nact/base-window.c (setup_builder):
2440 Display a dialog error when unable to load a XML definition.
2442 * src/nact/nact-assistant-export.c:
2443 * src/nact/nact-assistant-export.ui:
2444 * src/nact/nact-assistant-import.c:
2445 Adjust the display to be more funny.
2447 * src/nact/nact-clipboard.c:
2448 Add na-export-format.h include file.
2450 * src/nact/nact-export-ask.c:
2451 * src/nact/nact-export-format.c:
2452 * src/nact/nact-export-format.h:
2453 Reference the NAExportFormat object instead of each and every label.
2455 * src/nact/nact-iprefs.h:
2456 Remove IPREFS_EXPORT_FORMAT_ASK definition.
2458 * src/nact/nact-preferences-editor.c:
2459 * src/nact/nautilus-actions-config-tool.ui:
2460 Use (renamed) nact_export_format_init_display() function.
2462 * src/api/na-core-utils.h:
2463 * src/core/na-core-utils.c (na_core_utils_file_exists):
2466 * src/io-xml/naxml-writer.c: Export to file.
2468 * po/POTFILES.in: Updated.
2470 * src/api/na-data-types.h
2471 (na_data_types_get_gconf_dump_key): New function.
2473 * src/core/na-data-types.c: New file.
2475 * src/core/Makefile.am: Updated accordingly.
2477 * src/api/na-ifactory-object-data.h:
2478 * src/core/na-object-item-factory.c:
2479 (NAFO_DATA_TYPE): New elementary data.
2481 * src/core/na-ifactory-object.c:
2482 * src/api/na-ifactory-object.h
2483 (na_ifactory_object_get_data_boxed): New function.
2485 * src/core/na-core-utils.c (na_core_utils_dir_is_writable_uri):
2486 Give a better name to the parameter.
2488 * src/core/na-exporter.c:
2489 * src/core/na-exporter.h (na_exporter_to_buffer, na_exporter_to_file):
2490 Reorder of functions in the files.
2492 * src/core/na-factory-object.c:
2493 * src/core/na-factory-object.h:
2494 Now use the new na_ifactory_object_get_data_boxed() function.
2496 * src/core/na-object-action-factory.c:
2497 * src/core/na-object-profile-factory.c:
2498 * src/io-xml/naxml-keys.h:
2499 Move the schema descriptions to data factory.
2501 * src/core/na-object-action.c:
2502 * src/core/na-object-menu.c:
2503 (ifactory_object_read_start): Allocate the 'type' data boxed.
2505 * src/io-gconf/nagp-keys.h: Fix the path of the schemas.
2507 * src/io-xml/naxml-formats.c:
2508 * src/io-xml/naxml-formats.h: New files.
2510 * src/io-xml/Makefile.am: Updated accordingly.
2512 * src/io-xml/naxml-provider.c: Implement NAXMLWriter calls.
2514 * src/io-xml/naxml-writer.c:
2515 * src/io-xml/naxml-writer.h: Export to buffer.
2517 * src/nact/nact-clipboard.c
2518 (nact_clipboard_dnd_drag_end): Fix gtk_selection_data_free() call.
2519 (export_row_object): Also exports menus.
2521 * src/nact/nact-tree-model-dnd.c
2522 (nact_tree_model_dnd_imulti_drag_source_drag_data_get):
2523 Fix and parse the returned URI to get the path of the target folder.
2525 2010-03-01 Pierre Wieser <pwieser@trychlos.org>
2527 * po/POTFILES.in: Add src/core/na-exporter.c file.
2529 * src/api/na-iexporter.h: Refactor NAIExporter interface.
2531 * src/core/na-export-format.c:
2532 * src/core/na-export-format.h
2533 (na_export_format_get_exporter): New function.
2535 * src/core/na-exporter.c:
2536 * src/core/na-exporter.h:
2537 * src/core/na-iexporter.c:
2538 * src/core/na-importer.c:
2539 * src/io-xml/naxml-provider.c:
2540 * src/nact/nact-assistant-export.c:
2541 * src/nact/nact-clipboard.c: Updated accordingly.
2543 * src/api/na-iexporter.h:
2544 * src/core/na-export-format.c:
2545 * src/core/na-export-format.h:
2546 * src/core/na-exporter.c:
2547 * src/core/na-iexporter.c:
2548 * src/io-xml/naxml-provider.c:
2549 * src/nact/nact-export-format.c:
2550 NAExporterStr structure is renamed as NAIExporterFormat.
2552 * src/api/na-iimporter.h (from_uri):
2553 Rename the API function to be consistant with NAIExporter interface.
2555 * src/core/na-iimporter.c:
2556 * src/io-xml/naxml-provider.c: Updated accordingly.
2558 * src/nact/nact-tree-model-dnd.c
2559 (nact_tree_model_dnd_imulti_drag_source_drag_data_get):
2560 Target folder is an URI.
2562 * src/nact/nact-main-menubar-tools.c:
2563 * src/nact/nact-main-menubar-tools.h: New files.
2565 * src/nact/nact-main-menubar-maintainer.c:
2566 * src/nact/nact-main-menubar-maintainer.h: New files.
2568 * src/nact/nact-main-menubar.c (on_update_sensitivities):
2569 Only paste a NAObjectItem into a menu.
2571 * src/nact/nact-main-menubar-help.c:
2572 * src/nact/nact-main-menubar-help.h: New files.
2574 * src/nact/Makefile.am:
2575 * src/nact/nact-main-menubar.c:
2576 * src/nact/nact-main-menubar.h: Updated accordingly.
2578 * src/core/na-updater.c:
2579 * src/core/na-updater.h (na_updater_append_item): New function.
2581 * src/nact/nact-main-menubar.c (save_item): Fix save machinery.
2583 * src/nact/nact-assistant-import.c
2584 (check_for_existance): Directly use the main window.
2586 * src/nact/nact-tree-model-dnd.c (drop_uri_list):
2587 Adapt to use na_importer_import_from_list() function.
2588 Display messages in a dialog box.
2589 Split the selection data on a '\r\n' separator.
2591 * src/api/na-iimporter.h (NAIImporterListParms): New structure.
2593 * src/core/na-importer.c:
2594 * src/core/na-importer.h (na_importer_import_from_list): New function.
2596 * src/api/na-iimporter.h:
2597 * src/core/na-iimporter.c:
2598 * src/core/na-importer-ask.c:
2599 * src/core/na-importer-ask.h:
2600 * src/core/na-importer.c:
2601 * src/core/na-importer.h:
2602 * src/io-xml/naxml-reader.c:
2603 * src/io-xml/naxml-reader.h:
2604 * src/nact/nact-assistant-import.c:
2605 * src/nact/nact-tree-model-dnd.c:
2606 * src/test/test-reader.c:
2607 NAIImporterParms structure is renamed as NAIImporterUriParms.
2608 'item' member of this same structure is renamed as imported.
2610 * src/io-gconf/nagp-reader.c:
2611 * src/io-gconf/nagp-writer.c:
2612 * src/io-gconf/nagp-writer.h: Cleanup the code.
2614 * src/nact/nact-iaction-tab.c (setup_toolbar_label):
2615 Immediately update the toolbar label when it is the same that those
2618 * src/nact/nact-icommand-tab.c (parse_parameters):
2619 Fix display of a single '%' char.
2621 * src/nact/nautilus-actions-config-tool.ui:
2622 ActionIconLabelLabel field renamed as ActionToolbarLabelLabel.
2624 * src/io-gconf/nagp-reader.c (read_done_item):
2625 Only action needs to setup the parent pointer.
2627 * src/io-gconf/nagp-writer.c (nagp_writer_write_data):
2628 Only writes non-empty values.
2630 * src/core/na-object.c (na_object_object_reset_origin):
2631 No more check for the value of object origin before resetting it.
2633 * src/core/na-object-item.c
2634 (na_object_item_remove_item): Improve debug message.
2635 (copy_children): Refuse to copy when target already has children.
2637 * src/nact/nact-main-menubar.c
2638 (nact_main_menubar_save_items): Do not re-dump all the items hierarchy.
2639 (save_item): Remove old children after having created the new ones.
2641 * src/core/na-object-action.c (ifactory_object_read_done):
2642 Force toolbar label to be the same that action one if flag is set to true.
2644 * src/api/na-object-api.h: Fix minor typo.
2646 2010-02-28 Pierre Wieser <pwieser@trychlos.org>
2648 * src/io-desktop/nadp-desktop-file.c
2649 (nadp_desktop_file_get_key_file_path):
2650 No more invalidate the function.
2652 * src/api/na-ifactory-object.h:
2653 * src/core/na-object-item-factory.c:
2654 * src/nact/nact-iactions-list-bis.c:
2655 * src/nact/nact-iactions-list.h:
2658 * src/api/na-object-api.h:
2659 New na_object_copy macro (evaluates as na_object_object_copy).
2661 * src/api/na-object-item.h (na_object_item_copy): Removed function.
2663 * src/api/na-object.h:
2664 * src/core/na-object.c:.
2665 (copy): Add 'recursive' flag.
2666 (iduplicable_copy): Use na_object_copy() macro.
2667 (na_object_object_copy): New function.
2669 * src/core/na-factory-object.c (na_factory_object_copy):
2670 No more delete all NADataBoxed, but update those who already exist.
2671 (write_data_iter): Fix return code.
2673 * src/core/na-iduplicable.c (na_iduplicable_duplicate):
2674 Review the rationale, and ensure that the function is recursive.
2676 * src/core/na-object-action.c
2677 * src/core/na-object-item.c:
2678 * src/core/na-object-menu.c:
2679 * src/core/na-object-profile.c:
2680 (instance_constructed): Removed function.
2681 (ifactory_object_copy): Removed function.
2682 (object_copy): New function, implementation of NAObject::copy.
2684 * src/core/na-pivot.c (instance_dispose): Add debug message.
2686 * src/core/na-updater.c (na_updater_remove_item):
2687 Only update tree if object has no parent.
2689 * src/io-gconf/nagp-gconf-provider.c
2690 (ifactory_provider_iface_init): Address nagp_writer_write_start().
2692 * src/io-gconf/nagp-reader.c (nagp_reader_read_data): Comment debug message.
2694 * src/io-gconf/nagp-writer.c:
2695 * src/io-gconf/nagp-writer.h (nagp_writer_write_start): New function.
2696 Write the type of the NAObjectItem.
2698 * src/nact/nact-iaction-tab.c (on_tab_updatable_selection_changed):
2699 * src/nact/nact-icommand-tab.c (on_tab_updatable_selection_changed):
2700 * src/nact/nact-iconditions-tab.c (on_tab_updatable_selection_changed):
2701 As objects have defaults, no more test for null string.
2703 * src/nact/nact-main-menubar.c
2704 (nact_main_menubar_save_items): Dump after check status.
2705 (save_item): Use new na_object_copy() macro.
2707 * src/nact/nact-window.c (nact_window_save_item):
2708 Remove superfluous dumps.
2710 2010-02-27 Pierre Wieser <pwieser@trychlos.org>
2712 * src/core/na-iduplicable.c (na_iduplicable_check_status):
2713 An object without any origin is considered modified.
2715 * src/core/na-iduplicable.c (get_duplicable_str):
2716 NAIDuplicable object defaults to not modified.
2718 * src/core/na-object-item-factory.c:
2719 Pointers to list of subitems are not comparable.
2721 Rewrite the update of the pivot tree where there is a non null origin.
2722 * src/core/na-updater.c:
2723 * src/core/na-updater.h
2724 (na_updater_add_item): Removed function.
2725 (na_updater_insert_item): New function.
2727 * src/io-gconf/nagp-writer.c (nagp_writer_write_data):
2728 Fix the path of written data.
2730 * src/nact/nact-main-menubar.c (on_new_profile_activated):
2731 Do not attach the profile as this is done by the tree model.
2732 (save_item): Copy the tree item to the pivot one if it exists.
2734 * src/core/na-object-item.c (instance_dispose):
2735 Set the subitems pointer to NULL before unreffing the children.
2737 * src/core/na-object.c (instance_finalize):
2738 Add a protection when finalizing NADataBoxed.
2740 * src/core/na-object-action.c (instance_constructed):
2741 * src/core/na-object-profile.c (instance_constructed):
2742 * src/core/na-object-menu.c (instance_constructed):
2743 Initialize NAIFactoryObject defaults here, rather than in object_new.
2745 * src/api/na-data-def.h: Remove fn_free() function pointer.
2747 * src/core/na-data-boxed.c:
2748 * src/core/na-object-action-factory.c:
2749 * src/core/na-object-id-factory.c:
2750 * src/core/na-object-profile-factory.c
2751 * src/core/na-object-item-factory.c: Updated accordingly.
2753 * src/core/na-iduplicable.c (get_duplicable_str):
2754 Initialize modification status to TRUE if origin is NULL.
2756 * src/nact/nact-tree-model.c (nact_tree_model_fill):
2757 Recheck modification and validity status of newly duplicated object.
2759 2010-02-26 Pierre Wieser <pwieser@trychlos.org>
2761 Fix references count mistakes in NACT.
2763 * src/api/na-object-api.h (na_object_unref_selected_items):
2764 New macro, more specifically targeting the tree selections.
2766 * src/core/na-factory-object.c:
2767 * src/core/na-factory-object.h (na_factory_object_finalize_instance):
2768 Renamed as na_factory_object_finalize().
2770 * src/core/na-object-action.c (instance_finalize):
2771 * src/core/na-object-item.c (instance_finalize):
2772 * src/core/na-object-menu.c (instance_finalize):
2773 * src/core/na-object-profile.c (instance_finalize):
2774 * src/core/na-object.c (instance_finalize):
2775 Move na_object_unref_selected_items() to
2776 na_object:na_factory_object_finalize.
2778 * src/core/na-pivot.c (instance_dispose, reload_items):
2779 Use non-recursive na_object_unref_items() macro.
2781 * src/nact/nact-assistant-export.c (assist_prepare_confirm):
2782 * src/nact/nact-iactions-list.c (free_items_callback):
2783 * src/nact/nact-main-menubar.c (on_update_sensitivities):
2784 Use recursive na_object_unref_selected_items() macro.
2786 * src/nact/nact-iactions-list.c (filter_selection):
2787 Unref the got object immediately (which was the actual bug).
2789 * src/test/init-dispose-diff.sh: Fix and optimize.
2791 Fix display of modification status in NACT.
2793 * src/api/na-iduplicable.h:
2794 * src/core/na-iduplicable.c (na_iduplicable_set_modified):
2797 * src/api/na-object-api.h:
2798 * src/api/na-object-item.h:
2799 * src/core/na-object-item.c (na_object_item_unref_items_rec):
2802 * src/core/na-data-boxed.c (string_are_equal):
2803 * src/core/na-factory-object.c (na_factory_object_are_equal):
2804 * src/core/na-object.c (na_object_object_check_status_up):
2805 Rewrite equality tests.
2807 * src/core/na-object-action-factory.c:
2808 * src/core/na-object-item-factory.c:
2809 * src/core/na-object-profile-factory.c:
2810 * src/core/na-object-action.c:
2811 * src/core/na-object-menu.c:
2812 * src/core/na-object-profile.c:
2813 Review one more time default values and initial allocations.
2815 * src/core/na-pivot.c (instance_dispose, na_pivot_load_items:
2816 Only unref the first level of items.
2818 * src/core/na-updater.c (na_updater_remove_item):
2819 Only unref the removed object as it will take care of also unreffing
2820 its children if its reference count is correct.
2822 * src/nact/nact-iactions-list.c (display_label):
2823 Add a commented debug line.
2825 * src/test/check-po.sh: Test cpompleteness of po/POTFILES.in.
2826 * src/test/time.sh: Bench the elapsed build time.
2828 2010-02-25 Pierre Wieser <pwieser@trychlos.org>
2830 * po/POTFILES.in: Updated.
2832 * src/core/na-object-profile.c:
2833 Remove no more used default profile.
2835 * src/core/na-object-profile.c:
2836 * src/nact/nact-iactions-list.c:
2837 No more include gi18n.h.
2839 * src/api/na-ifactory-object.h:
2840 * src/core/na-ifactory-object.c:
2841 Remove get_default() function from the interface.
2843 * src/api/na-object-action.h:
2844 * src/core/na-object-action.c (na_object_action_new_with_defaults):
2846 Remove ifactory_object_get_default() implementation.
2848 * src/api/na-object-menu.h:
2849 * src/core/na-object-menu.c (na_object_menu_new_with_defaults):
2851 Remove ifactory_object_get_default() implementation.
2853 * src/api/na-object-profile.h:
2854 * src/core/na-object-profile.c (na_object_profile_new_with_defaults):
2856 Remove ifactory_object_get_default() implementation.
2858 * src/core/na-factory-object.c:
2859 * src/core/na-factory-object.h
2860 (na_factory_object_set_defaults): New function.
2861 (na_factory_object_attach_with_default): Removed function.
2864 * src/core/na-object-action-factory.c:
2865 * src/core/na-object-item-factory.c:
2866 * src/core/na-object-profile-factory.c:
2867 Review default values.
2869 * src/nact/nact-iaction-tab.c:
2870 * src/nact/nact-icommand-tab.c:
2871 * src/nact/nact-iconditions-tab.c:
2872 Fix the display of NULL texts.
2874 * src/nact/nact-main-menubar.c:
2875 * src/utils/nautilus-actions-new.c:
2876 Allocate new objects with defaults.
2878 * src/api/na-ifactory-object.h:
2879 * src/api/na-ifactory-provider.h:
2880 * src/api/na-object-api.h:
2881 * src/api/na-object-item.h:
2882 * src/core/na-factory-object.c:
2883 * src/core/na-factory-object.h:
2884 * src/core/na-factory-provider.c:
2885 * src/core/na-factory-provider.h:
2886 * src/core/na-ifactory-provider.c:
2887 * src/core/na-object-action.c:
2888 * src/core/na-object-item.c:
2889 * src/core/na-object-menu.c:
2890 * src/core/na-object-profile.c:
2891 * src/core/na-updater.c:
2892 * src/io-gconf/nagp-gconf-provider.c:
2893 * src/io-gconf/nagp-writer.c:
2894 * src/io-gconf/nagp-writer.h:
2895 Implement NAIfactoryProvider in GConf I/O provider writer.
2897 Fix reference count errors in NACT user interface.
2899 * src/core/na-object-id.c (instance_dispose):
2900 Remove the disposing child from its parent childs list.
2902 * src/core/na-object-item-factory.c (free_items_list):
2903 * src/core/na-object-item.c (instance_dispose):
2904 * src/core/na-object.c (na_object_object_unref):
2907 * src/core/na-object-item.c (na_object_item_unref_items):
2908 Do not recursively unref objects here as this is done in dispose.
2910 * src/nact/nact-tree-model.c (nact_tree_model_dispose):
2911 Add a debug message.
2913 Make the menus exportable.
2915 * src/nact/nact-iactions-list.c:
2916 * src/nact/nact-tree-model-priv.h:
2917 * src/nact/nact-tree-model.c:
2918 * src/nact/nact-tree-model.h:
2919 Change the 'only_actions' semantic by a 'are_profiles_displayed' one.
2920 Profiles are actually stored, but not displayed.
2922 * src/nact/nact-iactions-list.c
2923 (nact_iactions_list_initial_load_toplevel):
2924 The title of the label column is no more localizable.
2926 Fix validity checks.
2928 * src/core/na-data-boxed.c
2929 (string_is_valid, locale_is_valid, slist_is_valid, pointer_is_valid,
2930 uint_is_valid): Fix individual validity checks of elementary data.
2932 * src/core/na-factory-object.c (na_factory_object_is_valid):
2933 First check for presence of mandatory data, then check present data.
2935 * src/core/na-iduplicable.c (na_iduplicable_duplicate):
2936 Also duplicate the status of the source object.
2938 * src/core/na-io-provider.c (na_io_provider_read_items):
2941 * src/core/na-object-item.c (na_object_item_copy):
2942 * src/core/na-object.c (na_object_object_check_status):
2945 * src/nact/nact-tree-model.c (nact_tree_model_fill):
2946 No more check status of newly duplicated objects.
2948 * src/nact/base-window.c (instance_dispose):
2949 Only set dispose after having tested for main window.
2951 * src/api/na-object-api.h:
2952 Distinguish between profile and item on get_label.
2954 * src/core/na-gtk-utils.c:
2955 * src/core/na-gtk-utils.h: New files.
2956 * src/core/Makefile.am: Updated accordingly.
2958 * src/core/na-data-boxed.c:
2959 * src/core/na-gconf-monitor.c:
2960 * src/core/na-importer-ask.c:
2961 * src/io-gconf/nagp-gconf-provider.c:
2962 * src/io-gconf/nagp-reader.c:
2963 * src/io-gconf/nagp-reader.h:
2964 Fix objects reading from GConf.
2966 * src/nact/nact-assistant-import.c:
2967 * src/nact/nact-iprefs.c:
2968 * src/nact/nact-preferences-editor.c:
2969 * src/nact/nact-tree-model-dnd.c:
2970 * src/utils/nautilus-actions-schemas.c:
2971 Move GConfClient to private object data, unref on dispose.
2973 2010-02-24 Pierre Wieser <pwieser@trychlos.org>
2975 * src/api/na-iimporter.h:
2976 * src/core/Makefile.am:
2977 * src/core/na-iimporter.c:
2978 * src/core/na-importer-ask.c:
2979 * src/core/na-importer-ask.h:
2980 * src/core/na-iprefs.c:
2981 * src/core/na-iprefs.h:
2982 * src/io-xml/naxml-reader.c:
2983 * src/nact/Makefile.am:
2984 * src/nact/nact-assistant-import.c:
2985 * src/nact/nact-iprefs.c:
2986 * src/nact/nact-iprefs.h:
2987 * src/nact/nact-main-window.h:
2988 * src/nact/nact-preferences-editor.c:
2989 * src/nact/nact-tree-model-dnd.c:
2990 * src/nact/nautilus-actions-config-tool.ui:
2991 * src/test/test-reader.c: ImporterAsk dialog.
2993 * src/io-xml/naxml-keys.c:
2994 * src/io-xml/naxml-keys.h:
2995 * src/io-xml/naxml-reader.c: Able to import type 3 XML files.
2997 * exports/config_1af5a47e-96d9_v1.4.schemas:
2998 * src/api/na-data-boxed.h:
2999 * src/api/na-ifactory-object-data.h:
3000 * src/core/na-data-boxed.c:
3001 * src/core/na-factory-object.c:
3002 * src/core/na-object-action.c:
3003 * src/core/na-object-id-factory.c:
3004 * src/core/na-object-item-factory.c:
3005 * src/core/na-object-profile-factory.c:
3006 * src/io-xml/naxml-provider.c:
3007 * src/io-xml/naxml-reader.c:
3008 * src/io-xml/naxml-reader.h: Able to import two profiles.
3010 * src/api/na-data-boxed.h:
3011 * src/api/na-gconf-utils.h:
3012 * src/core/na-data-boxed.c:
3013 * src/core/na-factory-object.c:
3014 * src/core/na-gconf-utils.c:
3015 Make the dump more pretty.
3017 * exports/action-5c4fa203-b5d0_post_v1.11_type_3.xml:
3018 * exports/config-4c4fa203-b5d0_post_v1.11_type_2.schema:
3019 * exports/config_1af5a47e-96d9_v1.schemas:
3020 * exports/config_2af5a47e-96d9_pre_v1.11.schemas:
3021 * exports/config_3c4fa203-b5d0_post_v1.11_type_1.schemas:
3022 Refactor export files to better suit test-reader needs.
3024 * src/api/Makefile.am:
3025 * src/api/na-data-boxed.h:
3026 * src/api/na-data-types.h:
3027 * src/api/na-gconf-utils.h:
3028 * src/api/na-ifactory-object-data.h:
3029 * src/api/na-ifactory-object.h:
3030 * src/api/na-ifactory-provider.h:
3031 * src/api/na-iimporter.h:
3032 * src/api/na-object-api.h:
3033 * src/api/na-object-profile.h:
3034 * src/core/Makefile.am:
3035 * src/core/na-data-boxed.c:
3036 * src/core/na-factory-object.c:
3037 * src/core/na-factory-object.h:
3038 * src/core/na-factory-provider.c:
3039 * src/core/na-factory-provider.h:
3040 * src/core/na-gconf-utils.c:
3041 * src/core/na-ifactory-object.c:
3042 * src/core/na-ifactory-provider.c:
3043 * src/core/na-importer.c:
3044 * src/core/na-importer.h:
3045 * src/core/na-io-provider.c:
3046 * src/core/na-object-action-factory.c:
3047 * src/core/na-object-action.c:
3048 * src/core/na-object-id-factory.c:
3049 * src/core/na-object-item-factory.c:
3050 * src/core/na-object-menu-factory.c:
3051 * src/core/na-object-menu.c:
3052 * src/core/na-object-profile-factory.c:
3053 * src/core/na-object-profile.c:
3054 * src/io-desktop/nadp-desktop-file.c:
3055 * src/io-desktop/nadp-desktop-file.h:
3056 * src/io-desktop/nadp-desktop-provider.c:
3057 * src/io-desktop/nadp-keys.c:
3058 * src/io-desktop/nadp-keys.h:
3059 * src/io-desktop/nadp-reader.c:
3060 * src/io-gconf/nagp-gconf-provider.c:
3061 * src/io-xml/naxml-keys.h:
3062 * src/io-xml/naxml-provider.c:
3063 * src/io-xml/naxml-reader.c:
3064 * src/io-xml/naxml-reader.h:
3065 * src/nact/nact-assistant-import.c:
3066 * src/nact/nact-tree-model-dnd.c:
3067 * src/test/test-include.c:
3068 * src/test/test-reader.c: Able to import a pre-v2 action.
3070 2010-02-22 Pierre Wieser <pwieser@trychlos.org>
3072 * src/api/Makefile.am:
3073 * src/api/na-ifactory-object-enum.h:
3074 * src/api/na-ifactory-object-str.h:
3075 * src/api/na-ifactory-object.h:
3076 * src/api/na-ifactory-provider.h:
3077 * src/api/na-iio-provider.h:
3078 * src/api/na-object-api.h:
3079 * src/core/Makefile.am:
3080 * src/core/na-data-element.c:
3081 * src/core/na-data-element.h:
3082 * src/core/na-factory-object.c:
3083 * src/core/na-factory-object.h:
3084 * src/core/na-ifactory-object.c:
3085 * src/core/na-ifactory-provider-priv.h:
3086 * src/core/na-ifactory-provider.c:
3087 * src/core/na-object-action-enum.c:
3088 * src/core/na-object-action.c:
3089 * src/core/na-object-id-enum.c:
3090 * src/core/na-object-item-enum.c:
3091 * src/core/na-object-item.c:
3092 * src/core/na-object-menu-enum.c:
3093 * src/core/na-object-menu.c:
3094 * src/core/na-object-profile-enum.c:
3095 * src/core/na-object-profile.c:
3096 * src/core/na-object.c:
3097 * src/io-desktop/nadp-desktop-provider.c:
3098 * src/io-desktop/nadp-desktop-provider.h:
3099 * src/io-desktop/nadp-keys.c:
3100 * src/io-desktop/nadp-keys.h:
3101 * src/io-desktop/nadp-reader.c:
3102 * src/io-desktop/nadp-writer.c:
3103 * src/io-xml/naxml-keys.h:
3104 * src/io-xml/naxml-reader.c:
3105 * src/test/test-include.c:
3106 Rename NAIDataFactory interface as NAIFactoryObject.
3108 * src/api/Makefile.am:
3109 * src/api/na-idata-factory-str.h:
3110 * src/api/na-idata-factory.h:
3111 * src/api/na-ifactory-provider-provider.h:
3112 * src/api/na-ifactory-provider.h:
3113 * src/api/na-iio-provider.h:
3114 * src/core/Makefile.am:
3115 * src/core/na-data-factory.c:
3116 * src/core/na-data-factory.h:
3117 * src/core/na-factory-provider.c:
3118 * src/core/na-factory-provider.h:
3119 * src/core/na-ifactory-provider-priv.h:
3120 * src/core/na-ifactory-provider.c:
3121 * src/core/na-object-action.c:
3122 * src/core/na-object-menu.c:
3123 * src/core/na-object-profile.c:
3124 * src/io-desktop/nadp-desktop-provider.c:
3125 * src/io-desktop/nadp-reader.c:
3126 * src/io-desktop/nadp-writer.c:
3127 * src/io-gconf/nagp-gconf-provider.c:
3128 * src/io-xml/naxml-provider.c:
3129 * src/io-xml/naxml-reader.c:
3130 Rename NAIIOFactory interface as NAIFactoryProvider.
3132 * src/core/na-io-provider.c:
3133 * src/core/na-pivot.c:
3134 * src/core/na-pivot.h:
3135 * src/nact/nact-application.c:
3136 * src/nact/nact-main-window.c:
3137 * src/plugin-menu/nautilus-actions.c:
3138 * src/utils/nautilus-actions-run.c
3139 (na_pivot_set_loadable): New function.
3140 (na_pivot_reload_items): Removed function.
3142 2010-02-21 Pierre Wieser <pwieser@trychlos.org>
3144 * src/core/na-pivot.c:
3145 * src/core/na-pivot.h:
3146 * src/core/na-updater.c:
3147 * src/core/na-updater.h:
3148 * src/nact/nact-application.c:
3149 * src/nact/nact-main-window.c:
3150 * src/plugin-menu/nautilus-actions.c:
3151 * src/test/test-reader.c:
3152 * src/utils/nautilus-actions-new.c:
3153 * src/utils/nautilus-actions-run.c:
3154 No more define the loadable set at NAPivot construction time,
3155 but deffer this when actually loading items.
3157 2010-02-20 Pierre Wieser <pwieser@trychlos.org>
3160 * src/api/na-idata-factory-str.h:
3161 * src/api/na-idata-factory.h:
3162 * src/api/na-iimporter.h:
3163 * src/api/na-iio-factory.h:
3164 * src/api/na-object-api.h:
3165 * src/core/Makefile.am:
3166 * src/core/na-data-factory.c:
3167 * src/core/na-data-factory.h:
3168 * src/core/na-idata-factory.c:
3169 * src/core/na-iio-factory.c:
3170 * src/core/na-importer.c:
3171 * src/core/na-importer.h:
3172 * src/core/na-io-factory.c:
3173 * src/core/na-io-factory.h:
3174 * src/core/na-iprefs.h:
3175 * src/core/na-module.c:
3176 * src/core/na-object-action-enum.c:
3177 * src/core/na-object-action.c:
3178 * src/core/na-object-id-enum.c:
3179 * src/core/na-object-item-enum.c:
3180 * src/core/na-object-item.c:
3181 * src/core/na-object-menu-enum.c:
3182 * src/core/na-object-menu.c:
3183 * src/core/na-object-profile-enum.c:
3184 * src/core/na-object-profile.c:
3185 * src/core/na-pivot.c:
3186 * src/io-desktop/Makefile.am:
3187 * src/io-gconf/Makefile.am:
3188 * src/io-xml/Makefile.am:
3189 * src/io-xml/naxml-keys.c:
3190 * src/io-xml/naxml-keys.h:
3191 * src/io-xml/naxml-provider.c:
3192 * src/io-xml/naxml-provider.h:
3193 * src/io-xml/naxml-reader.c:
3194 * src/io-xml/naxml-reader.h:
3195 * src/nact/Makefile.am:
3196 * src/nact/nact-assistant-import.c:
3197 * src/nact/nact-import-ask.c:
3198 * src/nact/nact-iprefs.c:
3199 * src/nact/nact-preferences-editor.c:
3200 * src/nact/nact-tree-model-dnd.c:
3201 * src/plugin-menu/Makefile.am:
3202 * src/plugin-tracker/Makefile.am:
3203 * src/test/.gitignore:
3204 * src/test/Makefile.am:
3205 * src/utils/Makefile.am: Implement NAXMLReader.
3207 2010-02-18 Pierre Wieser <pwieser@trychlos.org>
3209 * src/api/na-core-utils.h:
3210 * src/api/na-idata-factory-str.h:
3211 * src/core/na-core-utils.c:
3212 * src/core/na-data-element.c:
3213 * src/core/na-data-element.h:
3214 * src/core/na-data-factory.c:
3215 * src/core/na-io-provider.c:
3216 * src/core/na-io-provider.h:
3217 * src/core/na-object-action-enum.c:
3218 * src/core/na-object-id-enum.c:
3219 * src/core/na-object-item-enum.c:
3220 * src/core/na-object-item.c:
3221 * src/core/na-object-menu-enum.c:
3222 * src/core/na-object-profile-enum.c:
3223 * src/core/na-object.c:
3224 * src/io-desktop/nadp-writer.c:
3225 * src/io-gconf/nagp-reader.c:
3226 * src/nact/nact-assistant-export.c:
3227 * src/nact/nact-iactions-list-bis.c:
3228 * src/nact/nact-main-statusbar.c:
3229 * src/nact/nact-tree-model-dnd.c:
3230 * src/nact/nact-tree-model.c:
3231 Fix non empty string list.
3232 Fix under reference in export assistant.
3233 Refactor NADataElement class.
3235 * src/core/na-exporter.c (na_exporter_get_formats):
3238 * src/core/na-iduplicable.c (na_iduplicable_dispose):
3239 Test for effective connexion before trying to disconnect.
3241 * src/core/na-data-element.c (na_data_element_set):
3242 Fix value->type inverted assertion.
3244 * src/api/na-core-utils.h:
3245 * src/core/na-core-utils.c:
3246 * src/io-desktop/nadp-desktop-file.c:
3247 * src/io-desktop/nadp-desktop-provider.c:
3248 * src/io-desktop/nadp-xdg-dirs.c:
3249 Fix reading of localized values in the desktop file.
3251 * src/nact/base-iprefs.c:
3252 * src/nact/base-iprefs.h:
3253 * src/nact/nact-assistant-import.c:
3254 * src/nact/nact-icommand-tab.c:
3255 * src/nact/nact-import-ask.c:
3256 * src/nact/nact-iprefs.c:
3257 * src/nact/nact-iprefs.h:
3258 * src/nact/nact-main-toolbar.c:
3259 * src/nact/nact-preferences-editor.c:
3260 Fix bad inheritance of interfaces.
3262 * src/api/na-object-api.h:
3263 * src/api/na-object.h:
3264 * src/core/na-data-factory.c:
3265 * src/core/na-io-provider.c:
3266 * src/core/na-object-action.c:
3267 * src/core/na-object-id.c:
3268 * src/core/na-object-menu.c:
3269 * src/core/na-object-profile.c:
3270 * src/core/na-object.c: Fix validity check of the items.
3272 2010-02-17 Pierre Wieser <pwieser@trychlos.org>
3275 * src/test/test-parse-uris.c:
3276 * src/nact/nact-preferences-editor.c:
3277 * src/nact/nact-main-statusbar.c:
3278 * src/nact/nact-iconditions-tab.c: Update list of translatable files.
3280 * src/api/na-core-utils.h:
3281 * src/api/na-idata-factory-str.h:
3282 * src/api/na-idata-factory.h:
3283 * src/api/na-iduplicable.h:
3284 * src/core/na-core-utils.c:
3285 * src/core/na-data-element.c:
3286 * src/core/na-data-element.h:
3287 * src/core/na-data-factory.c:
3288 * src/core/na-data-factory.h:
3289 * src/core/na-idata-factory.c:
3290 * src/core/na-iduplicable.c:
3291 * src/core/na-io-provider.c:
3292 * src/core/na-iprefs.c:
3293 * src/core/na-object-action-enum.c:
3294 * src/core/na-object-action.c:
3295 * src/core/na-object-id-enum.c:
3296 * src/core/na-object-item-enum.c:
3297 * src/core/na-object-menu.c:
3298 * src/core/na-object-profile-enum.c:
3299 * src/core/na-object-profile.c:
3300 * src/core/na-object.c:
3301 * src/io-desktop/nadp-desktop-provider.c:
3302 * src/io-gconf/nagp-reader.c: Add is_valid() functions.
3304 * src/utils/nautilus-actions-run.c: Restore production loadable set.
3306 * src/api/na-idata-factory.h:
3307 * src/api/na-iio-factory.h:
3308 * src/core/na-data-factory.c:
3309 * src/core/na-iio-factory.c:
3310 * src/core/na-object-action.c:
3311 * src/core/na-object-menu.c:
3312 * src/core/na-object-profile.c:
3313 * src/io-desktop/nadp-desktop-provider.c:
3314 * src/io-gconf/nagp-gconf-provider.c:
3315 * src/io-xml/naxml-provider.c:
3316 Add read_start() and write_start() to NAIIOFactory and
3317 NAIDataFactory interfaces.
3319 * po/POTFILES.in: Update list of translatable files.
3321 * src/utils/console-utils.c:
3322 * src/utils/nautilus-actions-run.c: Update command-line utilities.
3324 * src/test/test-include.c:
3325 * src/test/test-parse-uris.c: Update test utilities.
3327 * src/plugin-tracker/na-tracker-dbus.c:
3328 * src/plugin-tracker/na-tracker.c: Update NATracker plugin.
3330 * src/core/Makefile.am:
3331 * src/core/na-updater.c:
3332 * src/core/na-updater.h:
3333 * src/nact/nact-window.c:
3334 * src/nact/nact-window.h: Update NactWindow class.
3336 * src/api/na-object-api.h:
3337 * src/api/na-object-item.h:
3338 * src/core/na-object-item.c:
3339 * src/nact/nact-tree-model-dnd.c:
3340 * src/nact/nact-tree-model.c: Update NactTreeModel class.
3342 * src/api/na-core-utils.h:
3343 * src/api/na-object-api.h:
3344 * src/api/na-object-profile.h:
3345 * src/core/na-core-utils.c:
3346 * src/core/na-object-profile.c:
3347 * src/io-gconf/nagp-reader.c:
3348 * src/nact/nact-ibackground-tab.c:
3349 * src/nact/nact-schemes-list.c: Update schemes list.
3351 * src/nact/nact-providers-list.c: Update providers list.
3353 * src/core/na-iprefs.c:
3354 * src/core/na-iprefs.h:
3355 * src/nact/nact-assistant-export.c:
3356 * src/nact/nact-export-ask.c:
3357 * src/nact/nact-export-format.c:
3358 * src/nact/nact-export-format.h:
3359 * src/nact/nact-preferences-editor.c:
3360 * src/nact/nact-preferences.ui: Update NactPreferencesEditor class.
3362 * src/nact/base-iprefs.c:
3363 * src/nact/base-iprefs.h:
3364 * src/nact/nact-main-window.c:
3365 * src/nact/nact-main-window.h: Update NactMainWindow class.
3367 * src/core/na-iprefs.c:
3368 * src/core/na-iprefs.h:
3369 * src/nact/nact-iprefs.c:
3370 * src/nact/nact-iprefs.h:
3371 * src/nact/nact-main-toolbar.c: Update toolbar.
3373 * src/api/na-iio-provider.h:
3374 * src/core/na-io-provider.c:
3375 * src/core/na-io-provider.h:
3376 * src/nact/nact-main-statusbar.c: Update status bar.
3378 * src/api/na-object-action.h:
3379 * src/api/na-object-api.h:
3380 * src/api/na-object-id.h:
3381 * src/api/na-object-item.h:
3382 * src/api/na-object-profile.h:
3383 * src/api/na-object.h:
3384 * src/core/na-object-action.c:
3385 * src/core/na-object-id.c:
3386 * src/core/na-object-item.c:
3387 * src/core/na-object-profile.c:
3388 * src/core/na-object.c:
3389 * src/core/na-pivot.c:
3390 * src/core/na-pivot.h:
3391 * src/core/na-updater.c:
3392 * src/core/na-updater.h:
3393 * src/nact/nact-export-format.c:
3394 * src/nact/nact-main-menubar.c: Update menu bar.
3396 * src/nact/nact-iprefs.c: Update NactIPrefs interface.
3398 * src/api/na-core-utils.h:
3399 * src/core/na-core-utils.c:
3400 * src/nact/nact-iconditions-tab.c:
3401 Update NactIConditionsTab interface.
3403 * src/api/na-core-utils.h:
3404 * src/core/na-core-utils.c:
3405 * src/core/na-iprefs.c:
3406 * src/core/na-iprefs.h:
3407 * src/nact/nact-icommand-tab.c:
3408 * src/nact/nact-iprefs.c:
3409 * src/nact/nact-iprefs.h: Update NactICommandTab interface.
3411 * src/api/na-object-api.h:
3412 * src/api/na-object-profile.h:
3413 * src/core/na-object-profile.c:
3414 * src/nact/nact-iaction-tab.c:
3415 * src/nact/nact-iadvanced-tab.c:
3416 * src/nact/nact-ibackground-tab.c: Update NactIBackgroundTab
3419 * src/api/na-object-api.h:
3420 * src/api/na-object-item.h:
3421 * src/nact/nact-gtk-utils.c:
3422 * src/nact/nact-gtk-utils.h:
3423 * src/nact/nact-iaction-tab.c: Update NactIActionTab interface.
3425 * core/na-object-action-fn.h:
3426 * core/na-object-action-priv.h:
3427 * core/na-object-fn.h:
3428 * core/na-object-id-fn.h:
3429 * core/na-object-id-priv.h:
3430 * core/na-object-item-fn.h:
3431 * core/na-object-item-priv.h:
3432 * core/na-object-menu-fn.h:
3433 * core/na-object-menu-priv.h:
3434 * core/na-object-profile-fn.h:
3435 * core/na-object-profile-priv.h: Remove no more used files.
3437 * src/api/na-iduplicable.h:
3438 * src/api/na-object-api.h:
3439 * src/api/na-object-item.h:
3440 * src/api/na-object.h:
3441 * src/core/na-iduplicable.c:
3442 * src/core/na-object-item.c:
3443 * src/core/na-object.c:
3444 * src/nact/nact-iactions-list-bis.c:
3445 * src/nact/nact-iactions-list.c:
3446 * src/nact/nact-window.c:
3447 * src/nact/nact-window.h: Update NactIActionsList interface.
3449 * src/api/na-iduplicable.h:
3450 * src/api/na-object-api.h:
3451 * src/api/na-object-item.h:
3452 * src/core/na-exporter.c:
3453 * src/core/na-exporter.h:
3454 * src/core/na-iduplicable.c:
3455 * src/core/na-object-item.c:
3456 * src/nact/Makefile.am:
3457 * src/nact/nact-assistant-export.c:
3458 * src/nact/nact-clipboard.c:
3459 * src/nact/nact-clipboard.h:
3460 * src/nact/nact-confirm-logout.c:
3461 * src/nact/nact-export-ask.c:
3462 * src/nact/nact-export-format.c:
3463 * src/nact/nact-export-format.h:
3464 * src/nact/nact-iprefs.h:
3465 * src/nact/nact-main-menubar.h:
3466 * src/nact/nact-assistant-export.c:
3467 * src/nact/nact-assistant-export.h:
3468 * src/nact/nact-assistant-export.ui:
3469 * src/nact/nact-assistant-import.c:
3470 * src/nact/nact-import-ask.c:
3471 * src/nact/nact-import-ask.h:
3472 * src/nact/nact-iprefs.c:
3473 * src/nact/nact-iprefs.h:
3474 * src/nact/nact-tree-model.h: Update Nact classes.
3476 Refactor: move all XML code to src/io-xml plugin.
3478 * src/nact/Makefile.am:
3479 * src/nact/base-application-class.h:
3480 * src/nact/base-assistant.h:
3481 * src/nact/base-assistant.h:
3482 * src/nact/base-builder.h:
3483 * src/nact/base-dialog.h:
3484 * src/nact/base-iprefs.c:
3485 * src/nact/base-window-class.h: Update typo in Base class headers.
3487 * src/core/na-importer.c:
3488 * src/core/na-importer.h: New files.
3490 * src/core/Makefile.am:
3491 * src/core/na-iimporter.c:
3492 * src/core/na-io-provider.c:
3493 * src/core/na-iprefs.h: Update core library.
3495 * src/nact/nact-export-format.h:
3496 * src/nact/nact-export-format.c:
3497 * src/core/na-exporter.h:
3498 * src/core/na-exporter.c: Update export treatements.
3500 * src/api/na-iexporter.h:
3501 * src/core/na-iexporter.c:
3502 * src/io-xml/naxml-module.c:
3503 * src/io-xml/naxml-provider.c: Update NAIExporter interface.
3505 Define NAExportFormat new class.
3507 * src/core/na-export-format.c:
3508 * src/core/na-export-format.h: New files.
3510 Rename src/nact/nact-assistant-export-ask.{c,h} to
3511 src/nact/nact-export-ask.{c,h}
3513 2010-02-15 Pierre Wieser <pwieser@trychlos.org>
3515 Now install defined ids in docdir.
3517 * doc/export-format-id: New file.
3519 * doc/Makefile.am: Updated accordingly.
3521 Define NactIPrefs interface.
3523 * src/nact/nact-iprefs.c:
3524 * src/nact/nact-iprefs.h: New files.
3527 Remove useless src/private directory.
3529 Define NAUpdater class.
3531 * src/core/na-updater.c:
3532 * src/core/na-updater.h: New files.
3534 Update src/core/na-pivot.{c,h}
3535 Update src/core/na-module.{c,h}
3536 Update src/core/na-iprefs.{c,h}
3537 Update src/core/na-ipivot-consumer.{c,h}
3538 Update src/core/na-io-factory.{c,h}
3539 Update src/core/na-io-provider.{c,h}
3540 Update src/core/na-iabout.{c,h}
3543 2010-02-15 Deji Akingunola <dakingun@gmail.com>
3545 * src/test/Makefile.am: Fix typo.
3547 2010-02-15 Pierre Wieser <pwieser@trychlos.org>
3550 Update src/plugin-tracker.
3551 Update src/plugin-menu.
3553 Define NAIImporter interface.
3555 * src/api/na-iimporter.h:
3556 * src/core/na-iimporter.c: New files.
3558 Define NAIExporter interface.
3560 * src/api/na-iexporter.h:
3561 * src/core/na-iexporter.c: New files.
3563 * src/core/na-dbus-tracker.h: New file.
3565 Remove useless src/api/na-gconf-keys.h
3566 Update GConf I/O provider.
3567 Create src/io-gconf/nagp-keys.c
3568 Rename src/io-gconf/nagp-write.{c,h} to src/io-gconf/nagp-writer.{c,h}
3569 Rename src/io-gconf/nagp-read.{c,h} to src/io-gconf/nagp-reader.{c,h}
3571 Update I/O desktop provider.
3573 * src/io-desktop/nadp-keys.c:
3574 * src/io-desktop/nadp-keys.h: New files.
3576 Rename src/io-desktop/nadp-xdg-data-dirs.{c,h} to src/io-desktop/nadp-xdg-dirs.{c,h}
3577 Rename src/io-desktop/nadp-write.{c,h} to src/io-desktop/nadp-writer.{c,h}
3578 Rename src/io-desktop/nadp-read.{c,h} to src/io-desktop/nadp-reader.{c,h}
3580 NAObject-derived classes implement NAIDataFactory interface.
3582 * src/core/na-object-id-enum.c:
3583 * src/core/na-object-item-enum.c:
3584 * src/core/na-object-action-enum.c:
3585 * src/core/na-object-profile-enum.c:
3586 * src/core/na-object-menu-enum.c: New files.
3588 Define NADataElement class.
3590 * src/core/na-data-element.c:
3591 * src/core/na-data-element.h: New files.
3593 Define NAIDataFactory interface.
3595 * src/api/na-idata-factory.h:
3596 * src/api/na-idata-factory-enum.h:
3597 * src/api/na-idata-factory-str.h:
3598 * src/core/na-idata-factory.c:
3599 * src/core/na-data-factory.c:
3600 * src/core/na-data-factory.h: New files.
3602 Define NAIIOFactory interface.
3604 * src/api/na-iio-factory.h:
3605 * src/api/na-iio-factory-factory.h:
3606 * src/core/na-iio-factory.c:
3607 * src/core/na-io-factory.c:
3608 * src/core/na-io-factory.h: New files.
3610 Rename src/core/na-object-menu-class.h to src/api/na-object-menu.h
3611 Rename src/core/na-object-profile-class.h to src/api/na-object-profile.h
3612 Rename src/core/na-object-action-class.h to src/api/na-object-action.h
3613 Rename src/core/na-object-item-class.h to src/api/na-object-item.h
3614 Rename src/core/na-object-id-class.h to src/api/na-object-id.h
3615 Rename src/core/na-object-class.h to src/api/na-object.h
3616 Rename src/core/na-iduplicable.h to src/api/na-iduplicable.h
3617 Rename src/core/na-gconf-utils.h to src/api/na-gconf-utils.h
3618 Rename src/api/na-iio-provider.c to src/core/na-iio-provider.c
3620 * src/api/na-dbus.h: Update defined name.
3622 * m4/na-log-domains.m4: Update log domains with new subdirs.
3624 * doc/io-provider-id: Reference na-xml XML provider.
3626 Rename src/api/na-gconf-monitor.c to src/core/na-gconf-monitor.c
3627 Rename src/core/na-utils.h to src/api/na-core-utils.h
3628 Rename src/core/na-utils.c to src/core/na-core-utils.c
3630 * src/api/Makefile.am:
3631 * src/core/Makefile.am: Updated accordingly.
3633 * src/core/na-core-utils.c:
3634 * src/core/na-core-utils.h: Normalize functions names.
3636 Merge src/private/ and src/runtime to src/core/
3637 Rename src/api/na-api.h to src/api/na-extension.h
3640 * src/io-desktop/nadp-module.c:
3641 * src/io-gconf/nagp-module.c:
3642 * src/runtime/na-module.c: Updated accordingly.
3644 Define XML provider as a dynamic module.
3646 * io-xml/Makefile.am:
3647 * io-xml/naxml-module.c:
3648 * io-xml/naxml-provider.c:
3649 * io-xml/naxml-provider.h: New files.
3651 Rename source tree from nautilus-actions/ to src/
3652 Rename src/io-provider-desktop/ to src/io-desktop/
3653 Rename src/io-provider-gconf/ to src/io-gconf/
3654 Rename src/plugin to src/plugin-menu/
3655 Rename src/tracker to src/plugin-tracker/
3659 * po/POTFILES.in: Updated accordingly.
3661 2010-01-31 Pierre Wieser <pwieser@trychlos.org>
3663 * nautilus-actions/io-provider-desktop/nadp-desktop-file.c:
3664 * nautilus-actions/io-provider-desktop/nadp-desktop-file.h:
3665 * nautilus-actions/io-provider-desktop/nadp-read.c:
3666 * nautilus-actions/io-provider-desktop/nadp-utils.c:
3667 * nautilus-actions/io-provider-desktop/nadp-utils.h:
3668 * nautilus-actions/io-provider-gconf/nagp-read.c:
3669 Implements reading of .desktop files.
3671 * nautilus-actions/io-provider-gconf/nagp-write.c (write_item_action):
3672 Always writes the 'OBJECT_ITEM_TOOLBAR_LABEL_ENTRY' key.
3674 2010-01-30 Pierre Wieser <pwieser@trychlos.org>
3676 No more record the toolbar_same_label indicator.
3678 * nautilus-actions.schemas.in:
3679 Remove schema for 'toolbar-same-label' key.
3681 * nautilus-actions/io-provider-gconf/nagp-read.c
3682 (read_item_action_properties):
3683 No more read the 'toolbar-same-label' entry.
3685 * nautilus-actions/io-provider-gconf/nagp-write.c (write_item_action):
3686 No more write the 'toolbar-same-label' entry.
3687 Remove the key if undeeded.
3689 * nautilus-actions/nact/nact-iaction-tab.c
3690 (on_toolbar_same_label_toggled): Fix toolbar label setup.
3692 * nautilus-actions/nact/nact-xml-reader.c (apply_values):
3693 No more read OBJECT_ITEM_TOOLBAR_SAME_LABEL_ENTRY node.
3695 * nautilus-actions/runtime/na-gconf-utils.c:
3696 * nautilus-actions/runtime/na-gconf-utils.h
3697 (na_gconf_utils_remove_entry): New function.
3699 * nautilus-actions/runtime/na-xml-writer.c
3700 (create_schema_entry, create_dump_entry):
3701 No more write the 'toolbar-same-label' entry.
3703 * nautilus-actions/nact/nact-iaction-tab.c
3704 (on_tab_updatable_selection_changed):
3705 Update tab label depending on the currently selected item.
3707 * nautilus-actions/nact/nautilus-actions-config-tool.ui:
3708 No more give a special name to Action tab label.
3710 * nautilus-actions/nact/nautilus-actions-config-tool.ui:
3711 Fix Action tab layout.
3713 A full rewriting of the writability of items vs. providers.
3715 * data/nautilus-actions.schemas.in:
3716 Describe 'export-format' and 'io-providers-order' keys.
3717 Define 'mandatory/all/locked' key to lock all configuration.
3719 * doc/io-provider-id: Reserve 'all' special provider_id.
3721 * nautilus-actions/api/na-gconf-monitor.c
3722 * nautilus-actions/io-provider-desktop/nadp-desktop-file.c
3723 * nautilus-actions/io-provider-desktop/nadp-desktop-provider.c
3724 * nautilus-actions/nact/base-application.c
3725 * nautilus-actions/nact/base-assistant.c
3726 * nautilus-actions/nact/base-builder.c
3727 * nautilus-actions/nact/base-dialog.c
3728 * nautilus-actions/nact/base-window.c
3729 * nautilus-actions/nact/nact-application.c
3730 * nautilus-actions/nact/nact-assistant-export-ask.c
3731 * nautilus-actions/nact/nact-assistant-export.c
3732 * nautilus-actions/nact/nact-assistant-import-ask.c
3733 * nautilus-actions/nact/nact-assistant-import.c
3734 * nautilus-actions/nact/nact-clipboard.c
3735 * nautilus-actions/nact/nact-confirm-logout.c
3736 * nautilus-actions/nact/nact-window.c
3737 * nautilus-actions/runtime/na-module.c
3738 (instance_init, instance_dispose):
3739 Review debug messages formatting.
3741 * nautilus-actions/api/na-iio-provider.c:
3742 * nautilus-actions/api/na-iio-provider.h
3743 (is_writable): Removed API.
3744 (is_able_to_write): New API.
3745 Review operations return codes.
3746 Add provider status.
3748 * nautilus-actions/io-provider-desktop/nadp-desktop-provider.c:
3749 * nautilus-actions/io-provider-desktop/nadp-desktop-provider.h:
3750 * nautilus-actions/io-provider-desktop/nadp-read.c:
3751 * nautilus-actions/io-provider-desktop/nadp-write.c:
3752 * nautilus-actions/io-provider-desktop/nadp-write.h:
3753 * nautilus-actions/io-provider-gconf/nagp-gconf-provider.c:
3754 * nautilus-actions/io-provider-gconf/nagp-write.c:
3755 * nautilus-actions/io-provider-gconf/nagp-write.h:
3756 Updated to new NAIIOProvider API.
3758 * nautilus-actions/nact/nact-iaction-tab.c:
3759 * nautilus-actions/nact/nact-iactions-list.c:
3760 * nautilus-actions/nact/nact-iactions-list.h:
3761 * nautilus-actions/nact/nact-iadvanced-tab.c:
3762 * nautilus-actions/nact/nact-ibackground-tab.c:
3763 * nautilus-actions/nact/nact-icommand-tab.c:
3764 * nautilus-actions/nact/nact-iconditions-tab.c:
3765 * nautilus-actions/nact/nact-main-menubar.c:
3766 * nautilus-actions/nact/nact-main-tab.h:
3767 * nautilus-actions/nact/nact-main-window.c:
3768 * nautilus-actions/nact/nact-providers-list.c:
3769 * nautilus-actions/nact/nact-tree-model-dnd.c:
3770 * nautilus-actions/nact/nact-tree-model.c:
3771 * nautilus-actions/nact/nact-window.c:
3772 * nautilus-actions/nact/nact-window.h:
3773 Take advantage of the new global item writability status.
3775 * nautilus-actions/nact/nact-main-statusbar.c:
3776 * nautilus-actions/nact/nact-main-statusbar.h
3777 (nact_main_statusbar_set_locked): Display the reason.
3779 * nautilus-actions/nact/nact-iactions-list-bis.c
3780 (nact_iactions_list_bis_list_modified_items):
3781 Dump the raw content of the list.
3783 * nautilus-actions/plugin/nautilus-actions.c (instance_init):
3784 * nautilus-actions/runtime/na-pivot.c:
3785 * nautilus-actions/runtime/na-pivot.h(na_pivot_new):
3786 * nautilus-actions/utils/nautilus-actions-new.c (write_to_gconf):
3787 * nautilus-actions/utils/nautilus-actions-run.c (get_action):
3788 New na_pivot_new() signature.
3790 * nautilus-actions/private/na-object-item-fn.h:
3791 * nautilus-actions/private/na-object-item-priv.h:
3792 * nautilus-actions/private/na-object-item.c:
3793 The NAObjectItem now embeds a NAIOProvider pointer.
3795 * nautilus-actions/runtime/na-io-provider.c:
3796 * nautilus-actions/runtime/na-io-provider.h:
3797 Load all available and defined I/O providers.
3799 * nautilus-actions/test/init-dispose-diff.sh: New file.
3801 2010-01-27 Pierre Wieser <pwieser@trychlos.org>
3803 * nautilus-actions/nact/nact-preferences.ui:
3804 Fix the name of the Down button.
3805 Invert buttons so that Up is at the top, and Down at the bottom.
3807 * nautilus-actions/nact/nact-providers-list.c:
3808 Activate up/down buttons.
3809 Save the I/O providers individual preferences.
3810 Load and save in order.
3812 * nautilus-actions/runtime/na-io-provider.c:
3813 Order the I/O providers in write priority.
3815 2010-01-26 Pierre Wieser <pwieser@trychlos.org>
3817 * nautilus-actions/io-provider-gconf/nagp-read.c
3818 (nagp_iio_provider_read_items): Remove path trace.
3820 * nautilus-actions/nact/nact-application.c
3821 (appli_initialize_application):
3822 * nautilus-actions/plugin/nautilus-actions.c (instance_init):
3823 * nautilus-actions/utils/nautilus-actions-new.c (write_to_gconf):
3824 * nautilus-actions/utils/nautilus-actions-run.c (get_action):
3825 Adapt to new na_pivot_new().
3827 * nautilus-actions/nact/nact-iaction-tab.c (display_provider_name):
3828 Adapt to the temporary new NAIOProvider API.
3830 * nautilus-actions/nact/nact-preferences-editor.c:
3831 Fix compilation error by adding nact-providers-list.h include file.
3833 * nautilus-actions/nact/nact-providers-list.c:
3834 Display list of providers with their initial state.
3836 * nautilus-actions/plugin/nautilus-module.c:
3837 * nautilus-actions/tracker/na-tracker-plugin.c:
3838 (nautilus_module_initialize):
3839 Prefix the log message with "[N-A]".
3841 * nautilus-actions/runtime/na-gconf-utils.c:
3842 * nautilus-actions/runtime/na-gconf-utils.h
3843 (na_gconf_utils_get_subdirs, na_gconf_utils_free_subdirs):
3846 * nautilus-actions/runtime/na-io-provider.c:
3847 * nautilus-actions/runtime/na-io-provider.h:
3848 Refactoring to keep a static list of capable I/O providers.
3850 * nautilus-actions/runtime/na-module.c
3851 (na_module_load_modules): Only displays the name of the loaded module.
3852 (is_a_na_plugin): Add a trace with the full path of the module.
3854 * nautilus-actions/runtime/na-pivot.c:
3855 * nautilus-actions/runtime/na-pivot.h:
3856 Define loadable_set and io_provider_set as construct-only properties.
3857 Remove unused action_changed_handler stuff.
3858 No more maintain the list of capable I/O providers.
3860 2010-01-25 Pierre Wieser <pwieser@trychlos.org>
3862 * nautilus-actions/runtime/na-pivot.c:
3863 * nautilus-actions/runtime/na-pivot.h: Source reorganization.
3865 * nautilus-actions/runtime/na-pivot.c:
3866 * nautilus-actions/runtime/na-pivot.h (na_pivot_get_automatic_reload):
3867 Remove unused function.
3869 * nautilus-actions/runtime/na-pivot.c:
3870 * nautilus-actions/runtime/na-pivot.h (na_pivot_set_population):
3871 Function is renamed to na_pivot_set_loadable_population().
3872 The enum is named NAPivotLoadable.
3874 * nautilus-actions/plugin/nautilus-actions.c (instance_init):
3875 * nautilus-actions/utils/nautilus-actions-run.c (get_action):
3876 Adjusted accordingly.
3878 * nautilus-actions/runtime/na-module.c: Source slight adjustment.
3880 2010-01-23 Pierre Wieser <pwieser@trychlos.org>
3882 * nautilus-actions/nact/nact-schemes-list.c: Cleanup the source file.
3884 * nautilus-actions/nact/nact-preferences.ui:
3885 Reset tooltips in all preference pages.
3887 * nautilus-actions/nact/nact-providers-list.c:
3888 * nautilus-actions/nact/nact-providers-list.h: New files.
3890 * nautilus-actions/nact/Makefile.am: Updated accordingly.
3892 * nautilus-actions/nact/nact-preferences-editor.c:
3893 Updated to handle a sixth tab.
3895 2010-01-23 Pierre Wieser <pwieser@trychlos.org>
3897 * configure.ac: Bump version number.
3899 * All source files: Updated copyright notice.
3901 2010-01-23 Pierre Wieser <pwieser@trychlos.org>
3903 * NEWS: Updated for release.
3906 Add nautilus-actions/nact/nact-preferences.ui file.
3909 Add a dependancy on dbus-lib-1 for tracker.
3911 * nautilus-actions/nact/base-window.c (search_for_child_widget):
3912 Use GtkBuildable interface instead of 'name' field (fix #607704).
3914 2010-01-20 Pierre Wieser <pwieser@trychlos.org>
3916 * data/nautilus-actions.schemas.in:
3917 Add a schema for 'na-desktop/locked' mandatory key.
3920 Ignore eclipse-specific files.
3922 * data/nautilus-actions.schemas.in:
3923 Fix default value for level zero key.
3924 Describe the new 'schemes' preference key.
3926 * nautilus-actions/nact/nact-preferences.ui:
3927 * nautilus-actions/nact/nact-schemes-list.c:
3928 * nautilus-actions/nact/nact-schemes-list.h: New files.
3930 * nautilus-actions/nact/nact-iadvanced-tab.c:
3931 * nautilus-actions/nact/nact-preferences-editor.c:
3932 * nautilus-actions/nact/Makefile.am: Updated accordingly.
3934 2010-01-17 Pierre Wieser <pwieser@trychlos.org>
3936 * nautilus-actions/nact/nact-assistant-export.ui:
3937 * nautilus-actions/nact/nautilus-actions-config-tool.ui:
3938 Forces default orientation of vboxes (fix #607218).
3940 * nautilus-actions/nact/nact-main-toolbar.c:
3941 * nautilus-actions/nact/nact-main-toolbar.h: New files.
3943 * nautilus-actions/nact/Makefile.am:
3944 * nautilus-actions/nact/nact-main-menubar.c: Updated accordingly.
3946 2010-01-16 Pierre Wieser <pwieser@trychlos.org>
3948 * nautilus-actions/nact/nact-clipboard.c:
3949 Fix primary clipboard management.
3951 * nautilus-actions/nact/nact-main-menubar.c (on_update_sensitivities):
3952 Fix cut/copy/duplicate/delete sensitivity when selection is multiple.
3954 2010-01-15 Pierre Wieser <pwieser@trychlos.org>
3956 * nautilus-actions/nact/nact-iactions-list-bis.c:
3957 * nautilus-actions/nact/nact-iactions-list.h
3958 (nact_iactions_list_bis_clear_selection): New function.
3960 * nautilus-actions/nact/nact-iactions-list.c (nact_iactions_list_fill):
3961 Clear the selection before filling the tree view.
3963 * nautilus-actions/nact/nact-main-menubar.c (on_update_sensitivities):
3964 Force the count of selected items to be consistant with the list.
3966 * nautilus-actions/nact/nact-tree-model-dnd.c (drop_inside):
3967 Dropped new item is set as new.
3969 * nautilus-actions/nact/nact-iactions-list.c (filter_selection):
3970 Review selection criteria, introducing implicit selection.
3972 * nautilus-actions/nact/nact-main-menubar.c (on_update_sensitivities):
3973 Review menu items sensitivity, especially when provider is not writable.
3974 Enable new item even when selection is multiple.
3976 * nautilus-actions/nact/nact-window.c:
3977 * nautilus-actions/nact/nact-window.h (nact_window_is_writable_item):
3980 2010-01-05 Pierre Wieser <pwieser@trychlos.org>
3982 * configure.ac: Bump version number.
3984 2010-01-05 Pierre Wieser <pwieser@trychlos.org>
3986 * configure.ac: Add -Wformat=2 compilation option.
3988 * nautilus-actions/nact/nact-gtk-utils.c (nact_gtk_utils_set_editable):
3989 * nautilus-actions/nact/nact-iactions-list.c
3990 (nact_iactions_list_runtime_init_toplevel):
3991 * nautilus-actions/nact/nact-iadvanced-tab.c
3992 (runtime_init_connect_signals):
3993 * nautilus-actions/nact/nact-ibackground-tab.c
3994 (nact_ibackground_tab_runtime_init_toplevel):
3995 Substitute gtk_cell_layout_get_cells to obsoleted
3996 gtk_tree_view_column_get_cell_renderers.
3998 * nautilus-actions/runtime/na-xml-writer.c (na_xml_writer_output_xml):
3999 Use correct printf format.