2004-06-09 David Bolter * gok/main.c: (comparebasenames): a GCompareFunc helper (gok_main_open): --list-accessmethods, and --list-actions now list all options by querying gconf. Fix for bug #143959 2004-06-09 David Bolter * gok/main.c: (gok_main_open): add entries for / commandline params for --list-accessmethods, and --list-actions. Temporary fix for bug #143959 2004-06-08 Bill Haneman * configure.in: This is version 0.11.4. * gok/gok-data.c: (gok_data_Set_name_accessmethod_internal): Made string arg const. (gok_data_fill_setting_values): New, refactored from gok_data_get_setting. (gok_data_get_setting): Check for gok_main commandline overrides before returning the setting value/string-value. * gok/gok-scanner.c: (gok_scanner_initialize): Pass in three args, access-method-name, scan-action-name, and select-action-name. [N.B.: last two aren't yet used by this method] * gok/main.h: (gok_main_get_scan_override): New, returns command-line specified scan action name if specified. (gok_main_get_select_override): New, similar to above. * gok/main.c: (gok_main_initialize_access_methods): Take a GokArgs struct param. (gok_main_get_scan_override): New, returns command-line specified scan action name if specified. (gok_main_get_select_override): New, similar to above. (GokArgs): revised the struct used by popt; de-hungarify the notation, and add entries for / commandline params for --scan-action and --select-action. Completes fix for bug #142796. 2004-06-04 David Bolter * gok/gok-spy.c: (gok_spy_distinguish_node_name): reinstated this function. Fixes bug #143453 2004-06-01 Bill Haneman * gok-with-references.schemas.m4: Added boolean /apps/gok/per_user_dictionary, "Does each GOK user have a private copy of the word prediction dictionary?" * gok/Makefile.am: removed test-focus-reject from uninstalled tests. * gok/gok-gconf-keys.h: Added GOK_GCONF_PER_USER_DICTIONARY key as above. * gok/gok-utf8-word-complete.c: Made error message more informative if the dictionary can't be read. Also marked it for translation, since it might help a user out if there is a problem. * gok/po/POTFILES.in: Added gok/gok-utf8-word-complete.c. * gok/gok-word-complete.c: (gok_wordcomplete_increment_word_frequency): Only increment word frequency if the current word part is nonzero length. (gok_wordcomplete_real_process_unichar): Increment word frequency count when a delimiter is encountered. * gok/main.c: (gok_main_motion_listener): Moved logging inside if(window) test. Don't process the input event if the window is NULL. (gok_main_initialize_wordcomplete): Search for a per-user copy of the main GOK dictionary, if the per_user_dictionary gconf key is true. If not found, attempt to copy gok system dict into the user's HOME dir ($HOME/.gnome2/gok), and pass this directory to the word completion engine; otherwise pass the GOK system dictionary directory. 2004-06-01 David Bolter * gok/main.c, gok/main.h: (gok_main_get_inputdevice_name) fixed return type. 2004-06-01 Bill Haneman * gok/gok-scanner.c: (gok_scanner_current_state_uses_corepointer): Fixed sign reversal in setting this boolean, if there's an input device specified on the command line i.e. when calling gok_main_get_inputdevice_name(). 2004-05-31 Bill Haneman Fix for bug #143295. * configure.in: Require at-spi-1.5.2 or better [this is the HEAD branch, after all :-)] Removed check for CSPI_1_5. Require libloginhelper-1.0. Revved to 0.11.4. * GNOME_Gok.server.in.in: Change OAFIID to GNOME_GOK:1.0, not GNOME_Gok_Factory, since we're not actually a factory instance. Added IDL:Accessibility/LoginHelper:1.0 to the list of interfaces we advertise here. * gok/main.h: Include and . Define GokApplication and GokApplicationClass, and related GType macros, for the server activation and for LoginHelper implementation. * gok/main.c: (gok_application_set_safe): New, implements in-process API for LoginHelper. (gok_application_get_device_reqs): New, as above, reports device requirements for GOK. (gok_application_get_raise_windows): Reports the WID of the gok main window to clients of LoginHelper. (gok_application_class_init): Initialize the vpointers for the LoginHelper implementation of GokApplication. Added BONOBO_TYPE_FUNC declaration of GokApplication. (gok_main_open): Always register with bonobo-activation-server, since we need to implement LoginHelper. 2004-05-31 David Bolter * gok/gok-key.c, gok/gok-scanner.c: Corrected potential problems with g_free being used for xml strings. Changed to xmlFree. Partial fix for bug #127217 * gok/gok-keyboard.c: (gok_keyboard_branch_byKey): corrected log message. 2004-05-27 David Bolter * gok/gok-gconf-keys.h: added GOK_GCONF_DEFAULT_BROWSER * gok/gok-output.c: (gok_output_send_to_system): special cased default browser launching. Fix for bug #142558 2004-05-27 David Bolter * gok/gok-input.c: (gok_input_get_current): Use command line argument for input device if specified. * gok/gok-scanner.c: (gok_scanner_current_state_uses_corepointer): Check for command line argument for input device (presumably xinput device). * gok/main.c: added two new command line arguments scan-action and select-action, but they are not fully implemented. This is work towards improved login functionality. (gok_main_get_inputdevice_name): accessor * gok/main.h: added above function. Fix for bug #143294 (?), and work towards bug #142796 2004-05-27 Padraig O'Briain * gok/gok-spy.c (gok_spy_search_component_list): Ignore non-visible children of menu bar. Fixes bug #143110. 2004-05-21 Bill Haneman * gok/main.c: (gok_main_motion_listener): Eliminate unneeded calls to Gtk/Gdk API when the core pointer is not latched. * gok/gok-scanner.c: (gok_scanner_input_motion): Pass previous containing key m_pContainingKey, to gok_keyboard_find_key_at(). * gok/gok-keyboard.[ch] (gok_keyboard_find_key_at): Changed to accept a third parameter, a GokKey to search first, for instance one which last contained an adjacent point. Substantially improves XInput dwell performance on slower systems. 2004-05-20 Padraig O'Briain * gok/gok-keyboard.c (gok_keyboard_help): Call gnome_help_display_desktop instead of gnome_help_display. * gok/gok-settings-dialog.c (on_button_help): Correct help_link_id and call gnome_help_display_desktop instead of gnome_help_display. * gok/main.c (gok_main_help_cb): Call gnome_help_display_desktop instead of gnome_help_display. * help/gok/C/prefs.xml: Change myapp-prefs-appearance to gok-prefs-appearance. Fixes bug #142722. 2004-05-19 Bill Haneman Fix for bug #116345. * gok/gok-key.h: Add KEYTYPE_ADDWORD and KEYSTYLE_ADDWORD. * gok/gok-keyboard.c: Add the spacebar and Enter keys to the alpha keyboards. (gok_keyboard_add_word): New, add a word to the word completion dictionary. (gok_keyboard_set_predictions): Take an "add word" parameter, and update the add-word key when predictions are updated. * gok/gok-keyslotter.c: Add an 'add key' key to the completion row. * gok/gok-output.c: (gok_output_send_to_system): Pass a word-part to gok_keyboard_set_predictions if it's not already in the dictionary. * gok/gok-word-complete.h * gok/gok-utf8-word-complete.c: Add in_primary boolean to WordPrediction struct. (utf8_wordcomplete_find_word): New. (utf8_wordcomplete_add_new_word): New. (utf8_wordcomplete_increment_word_frequency): New. (utf8_wordcomplete_validate_word): New. (utf8_wordcomplete_close): New. (urf8_wordcomplete_add_to_list_from_lines): Pass an in_primary boolean param. Implements ability to increment word frequencies and add words to the UTF8 dictionary. * gok/gok-utf8-word-complete.h: Added primary_dict_filename; change GSLists to GLists. * gok/gok-word-complete.h: * gok/gok-word-complete.c: (gok_wordcomplete_validate_word): New. 2004-05-17 David Bolter * po/POTFILES.in: added directed.xml.in, gok/gok-button.c 2004-05-14 David Bolter * help/gok/C/gok.xml: added notes about gok docking. Fixes bug #140860 2004-05-14 David Bolter * gok/gok-keyboard.c: we can use the UPPERL frequency layout code * gok/main.c: (gok_main_ds): we now pass the keyboard's layout type. Thanks Bill. This is work towards bug #135841