2010-08-07 Pierre Wieser <
[email protected]>
Implement auto-save feature.
* src/core/na-ipivot-consumer.c:
* src/core/na-ipivot-consumer.h (on_autosave_changed): New interface.
* src/core/na-iprefs.c:
* src/core/na-iprefs.h (na_iprefs_read_uint): New function.
* src/nact/nact-iprefs.c:
* src/nact/nact-iprefs.h (nact_iprefs_read_uint): Removed function.
* src/core/na-pivot.c (on_preferences_change):
Trigger NAIPivotConsumer interface when autosave is changed.
* src/nact/nact-main-menubar-file.c:
* src/nact/nact-main-menubar-file.h
(nact_main_menubar_file_set_autosave): New function.
* src/nact/nact-main-window.c (ipivot_consumer_on_autosave_changed):
Implement the new on_autosave_changed() NAIPivotConsumer interface.
* src/nact/nact-preferences-editor.c (on_base_runtime_init_dialog):
Replace nact_iprefs_read_uint() with na_iprefs_read_uint().
Setup auto-save in preferences.
* data/nautilus-actions-prefs.schemas.in:
Describe new auto-save-on and auto-save-period preference keys.
* src/nact/nact-iprefs.c:
* src/nact/nact-iprefs.h
(nact_iprefs_read_uint, nact_iprefs_write_uint): New functions.
IPREFS_AUTOSAVE_ON, IPREFS_AUTOSAVE_PERIOD: New preference keys.
* src/nact/nact-preferences-editor.c:
Update the new auto-save-on and auto-save-period preference keys.
* src/nact/nact-preferences.ui:
* src/nact/nautilus-actions-config-tool.ui: New preference frame.
2010-08-05 Pierre Wieser <
[email protected]>
* src/api/na-core-utils.h:
* src/core/na-core-utils.c
(na_core_utils_str_get_first_word): Removed function.
(na_core_utils_str_split_first_word): New function.
* src/io-desktop/nadp-reader.c
(nadp_reader_ifactory_provider_read_done):
Split the Exec content to get Path and Parameters data.
* src/core/na-object-profile-factory.c:
Review the description of the NAFO_DATA_PARAMETERS data.
* src/core/na-tokens.h: Update the comment.
* po/POTFILES.in: Add src/core/na-tokens.c file.
* src/core/na-tokens.c:
* src/core/na-tokens.h (na_tokens_new_for_example): New function.
* src/core/na-tokens.c (parse_singular):
Implement %m and %M parameters for mimetypes.
* src/nact/nact-icommand-tab.c (parse_parameters):
Use a fake NATokens object to print an example of the command.
* src/nact/nautilus-actions-config-tool.ui: Fix some labels.
2010-08-04 Pierre Wieser <
[email protected]>
* src/core/na-tokens.c (is_singular_exec):
Implement DES-EMA draft v 0.13 which defines irrelevant parameters.
2010-08-02 Pierre Wieser <
[email protected]>
* src/nact/nact-gtk-utils.c (nact_gtk_utils_get_pixbuf):
* src/nact/nact-iaction-tab.c (on_icon_changed):
Fix bad reinitialization of the icon item.
* doc/nact/C/figures/nact-basenames-tab.png:
* doc/nact/C/figures/nact-capabilities-tab.png:
* doc/nact/C/figures/nact-command-tab.png:
* doc/nact/C/figures/nact-environment-tab.png:
* doc/nact/C/figures/nact-execution-tab.png:
* doc/nact/C/figures/nact-folders-tab.png:
* doc/nact/C/figures/nact-legend.png:
* doc/nact/C/figures/nact-main-empty.png:
* doc/nact/C/figures/nact-mimetypes-tab.png:
* doc/nact/C/figures/nact-new-capability.png:
* doc/nact/C/figures/nact-preferences-export.png:
* doc/nact/C/figures/nact-preferences-import.png:
* doc/nact/C/figures/nact-preferences-io-providers.png:
* doc/nact/C/figures/nact-preferences-runtime.png:
* doc/nact/C/figures/nact-preferences-schemes.png:
* doc/nact/C/figures/nact-preferences-ui.png:
* doc/nact/C/figures/nact-properties-tab.png:
* doc/nact/C/figures/nact-schemes-tab.png:
Update all screenshots to include window decoration.
* doc/nact/nautilus-actions-config-tool.omf.in:
Change categorie and type of the NACT user's manual.
* src/nact/nact-main-menubar.c:
Change help menu item from Gtk default to Gnome (apparent) standard.
* src/nact/nact-main-menubar-help.c (nact_main_menubar_help_on_help):
Connect to Yelp.
* configure.ac: Update comments.
* src/nact/nact-add-capability-dialog.c (try_for_send_ok):
* src/nact/nact-add-scheme-dialog.c (try_for_send_ok):
* src/nact/nact-main-tab.c (nact_main_tab_is_page_enabled):
Check that Gtk+ is more recent that 2.18 for gtk_widget_get_sensitive().
Split the NACT manual by chapter.
* doc/nact/C/nact-usage.xml:
* doc/nact/C/nact-prefs.xml:
* doc/nact/C/nact-misc.xml: New files.
* doc/nact/C/nautilus-actions-config-tool.xml:
* doc/nact/Makefile.am: Updated accordingly.
2010-08-01 Pierre Wieser <
[email protected]>
* nact/nact-iactions-list-bis.c (nact_iactions_list_bis_insert_items):
A new NAObjectItem must be inserted before the current NAObjectItem.
* doc/README: Define a global documentation plan.
* doc/api/Makefile.am:
* doc/api/version.xml.in:
Define a stub for future public API documentation, targeting
Nautilus-Actions plugins developers.
* doc/internals/Makefile.am:
Define a stub for future internal documentation, targeting
Nautilus-Actions core developers.
* doc/product/Makefile.am:
Define a stub for future global Nautilus-Actions documentation.
* configure.ac:
* doc/Makefile.am: Updated accordingly.
* doc/nact/ChangeLog:
* doc/nact/nautilus-actions-config-tool.omf.in: New files.
* doc/nact/C/articleinfo.xml:
* doc/nact/C/legalnotice.xml: Included as external entities rather
than from xi:include because of db2omf complains.
* doc/nact/C/appendix-feedback.xml:
* doc/nact/C/appendix-gnu-fdl-1.3.xml: Add DOCTYPE declaration.
2010-07-31 Pierre Wieser <
[email protected]>
* src/nact/nautilus-actions-config-tool.ui:
Review tooltips.
* src/nact/nact-match-list.c (on_must_not_match_clicked):
Fix incorrect column id.
* src/nact/nact-match-list.c (sort_on_column):
Display sort indicator.
* src/nact/nact-match-list.c (on_must_match_toggled):
Fix crash when defining a positive assertion.
* src/core/na-icontext.c (is_candidate_for_capabilities):
Implement the function.
* src/core/na-selected-info.c:
* src/core/na-selected-info.h (na_selected_info_is_executable,
na_selected_info_is_owner, na_selected_info_is_readable,
na_selected_info_is_writable): New function.
* src/core/na-icontext.c (is_candidate_for_folders):
Implement the function.
* src/core/na-selected-info.c:
* src/core/na-selected-info.h (na_selected_info_get_dirname):
New function.
* src/core/na-icontext.c (is_candidate_for_schemes):
Implement the function.
* src/core/na-icontext.c (is_candidate_for_selection_count):
Implement the function.
* src/io-desktop/nadp-reader.c
(nadp_reader_ifactory_provider_read_start): Set minimal version number.
2010-07-30 Pierre Wieser <
[email protected]>
* src/core/na-icontext.c (is_candidate_for_basenames):
Unref the GPatternSpec after use.
* src/core/na-icontext.c (is_candidate_for_basenames):
Implement the function.
* src/core/na-selected-info.c:
* src/core/na-selected-info.h (na_selected_info_get_basename):
New function.
* configure.ac: Add a dependancy on libgtop.
* src/core/na-icontext.c (is_candidate_for_show_if_running):
Implement the function.
2010-07-29 Pierre Wieser <
[email protected]>
* src/io-desktop/nadp-formats.c:
* src/io-desktop/nadp-formats.h: New files.
These should have been added to 2.99.0, but where forgotten.
* docs/nact/Makefile.am: New file.
* configure.ac:
* docs/Makefile.am: Updated accordingly.
Create NACT user's manual skeleton.
* docs/nact/C/appendix-feedback.xml:
* docs/nact/C/appendix-gnu-fdl-1.3.xml:
* docs/nact/C/articleinfo.xml:
* docs/nact/C/figures/nact-basenames-tab.png:
* docs/nact/C/figures/nact-capabilities-tab.png:
* docs/nact/C/figures/nact-command-tab.png:
* docs/nact/C/figures/nact-environment-tab.png:
* docs/nact/C/figures/nact-execution-tab.png:
* docs/nact/C/figures/nact-folders-tab.png:
* docs/nact/C/figures/nact-legend.png:
* docs/nact/C/figures/nact-main-empty.png:
* docs/nact/C/figures/nact-mimetypes-tab.png:
* docs/nact/C/figures/nact-preferences-export.png:
* docs/nact/C/figures/nact-preferences-import.png:
* docs/nact/C/figures/nact-preferences-io-providers.png:
* docs/nact/C/figures/nact-preferences-runtime.png:
* docs/nact/C/figures/nact-preferences-schemes.png:
* docs/nact/C/figures/nact-preferences-ui.png:
* docs/nact/C/figures/nact-properties-tab.png:
* docs/nact/C/figures/nact-schemes-tab.png:
* docs/nact/C/figures/nat-new-capability.png:
* docs/nact/C/index.xml:
* docs/nact/C/legalnotice.xml: New files.
Do some cleanup in NAObjectAction and NAObjectProfile code.
Implement execution of singular vs. plural command forms.
* src/api/na-object-action.h:
* src/core/na-object-action.c (na_object_action_is_candidate):
Removed function.
* src/api/na-object-profile.h:
* src/core/na-object-profile.c (na_object_profile_parse_parameters):
Removed function.
* src/core/na-tokens.c:
* src/core/na-tokens.h (na_tokens_execute_action): New function.
* src/plugin-menu/nautilus-actions.c (execute_action):
Move action execution to NATokens class.
* src/utils/nautilus-actions-run.c: Now use NATokens class.
* doc/: Renamed as docs/
* configure.ac:
* Makefile;am: Updated accordingly.
* configure.ac: Bump the version number after release.