Parent Directory
|
Revision Log
| Links to HEAD: | (view) (download) (as text) (annotate) |
| Sticky Tag: |
2008-01-15 Nagappan A <nagappan@gmail.com> * remap.c (get_object_info): Added color chooser window type. * ldtp-gui.c (ldtp_gui_get_gui_handle): Handled, case insensitive role type.
2007-08-28 Nagappan A <anagappan@novell.com> * *.[ch]: Updated all the files for the new address in LGPL license.
2007-05-14 Nagappan A <anagappan@novell.com> * Doxyfile: Updated file, not to generate RTF, man formats. * README: Updated file, for using a new option for GNOME versions less 2.16. * configure.in: Added logic to include new roles for latest GNOME version. Added ldtplib directory Makefile generation.
2007-08-14 Nagappan A <anagappan@novell.com> * remap.c (get_object_info): Should not consider autocomplete role as text object.
2007-06-26 Nagappan A <anagappan@novell.com> * client-handler.c (handle_request): Added a case for SPI_ROLE_TREE. * remap.c (filter_appmap_data): If the class name is not in our pre-defined list, then just get the accessible role name and dump as it is.
2007-05-14 Nagappan A <anagappan@novell.com> * remap.c (get_object_info): Added code for new control types like ENTRY, AUTOCOMPLETE, PARAGRAPH. * tree-table.c (tree_table_cb): Removed recording related code. * toggle-button.c (toggle_button_cb): Removed recording related code. * text.c (text_cb): Removed recording related code. * table.c (table_cb): Removed recording related code. * spin-button.c (spin_button_cb): Removed recording related code. * radio-button.c (radio_button_cb): Removed recording related code. * push-button.c (push_button_cb): Removed recording related code. * page-tab-list.c (page_tab_cb): Removed recording related code. * menu-item.c (menu_item_cb): Removed recording related code. * ldtp.c (is_window_in_cctxt): Added new function to check whether a window exist in the current context. (report_window_event): Added new code to remove the context entries, when a window is closed. (ldtp_server_thread): If client the count is 0 for more than 5 minutes, then let us quit the current instance. * ldtp-request.c (ldtp_request_fill_request): Removed recording related code. * ldtp-gui.c (window_info_added_hashtable): Added new function. * ldtp-gui.c: Added more verbose debug info. * ldtp-appmap.c (get_unknown_obj_label): Removed function. * client-handler.c (generate_record_response_packet) (search_recording_handler, remove_recording_handler) (register_recording_handler, unregister_recording_handler): Removed recording related code. * device.c (generate_keyboard_sequence): Updated the function to be accessible only to local file. * combo-box.c (combo_box_cb): Removed recording related code. * check-box.c (check_box_cb): Removed recording related code. * ldtp-gui-cb.h, ldtp-record.c, ldtp-record.h: Removed files
2007-02-14 Nagappan A <anagappan@novell.com> * remap.c (add_appmap_data): Updated this function to handle remaping of specific controls inside a window. * table.c (get_row): If the table cells are not present, will wait max of 5 seconds. * ldtp.c: Added command line option obj-timeout and gui-timeout. * ldtp-gui.c (update_cur_context_appmap_handle): Added a new function to remap based on object too. (ldtp_gui_get_gui_handle): In few cases the controls are created but by default the SPI ROLE assigned to them is UNKNOWN. So, if we get during our run-time remap, then wait for nano seconds and rescan. * ldtp-command.h (guitimeout, objtimeout): Added function to change the default global timeout period for an object and a window. * ldtp-appmap.c (key_destroy_func, value_destroy_func): Added function to free the resources allocated by key and value. (is_remaped): Added a new function, which checks whether the component is remaped or not. (remove_remapped_entry): Remove only remaped entry from the component table. (search_key_glob_based): Updated the lookup logic. (search_title_based): Added a new function which checks for the window name. * client-handler.c (unregister_window_creation_event): Now uses g_hash_table_find instead of g_hash_table_lookup_extended. * ldtp-gui.c (wait_till_object_state_contains): Added new function, which will wait for the object state to be enabled. Modified all the callers of object_state_contains to use this function. So time.sleep may not be required to be included in the script. 2007-02-08 Raghu Dandin <Raghu.Dandin@palmsource.com> * combo-box.c (hide_list, show_list): Handles menu item under a combo box.
2007-01-18 Nagappan A <anagappan@novell.com> * ldtp-gui.c (get_accessible_context_handle) (get_child_window_handle): Refined the object search algorithm. Recognize dialog with out any title, so it can accessed like dlg0, frm0 etc. You can access multiple windows with same title, so the first title will be same as the default one (example: frmNautilus), but the second title will be indexed from 1 (example: frmNautilus1). (get_accessible_component_handle): Modified function name from get_accessible_object_handle. (does_window_exist): Added new function to check whether a window exist or not. (remove_tmp_entries): Remove temporarily created hash table entries. * ldtp-appmap.c: Modified all g_hash_table_lookup to g_hash_table_lookup_extended. Because of this the appmap lookup now takes fast. Now we are not querying the accessible interface multiple times.
2006-12-16 Nagappan A <anagappan@novell.com> * remap.c (strip_delim): Fix, if only one '.' present in a label, then just consider it. Fixes bug # 348479.
2006-11-21 Rodney Dawes <dobey@novell.com> * Makefile.am: We don't set LOCALIZATION_CFLAGS anywhere, so we don't need to add it to INCLUDES We can always include LOCALIZATION_LIB as we always AC_SUBST it now * ldtp-appmap.c (remove_context_entries, remove_appmap_entries): Add these back as we need to avoid destroying the hash tables until later, due to the potential of thread contention (ldtp_appmap_free): Add the _foreach back to destroy the hash table data that is stored in the appmap hash table * ldtp-gui.c (get_window_list): Don't create an extra variable to store the string in, and then assign that to another pointer, just assign the window_title string pointer directly Duplicate the string when inserting the key into the hash table Free the window_title string when done (get_accessible_context_handle): Print data before we free it (update_cur_window_appmap_handle): Don't create the hash table with _new_full and destructors, as there is potential thread contention * localizaiton.c (cleanup_hash_tables): Remove this unused method (ldtp_compare_with_locale): Free utf8_string before returning NULL * menu.c (menu_main): Free the accessible struct when done with it * remap.c (add_appmap_data, do_remap): Don't use _new_full to create the hash table with destructors, as there may be thread contention
2006-11-20 Rodney Dawes <dobey@novell.com> * remap.c (get_keybinding): Duplicate the return value from the AccessibleAction_getKeyBinding call, so that we can safely free it Free binding and key_binding as appropriate before returning
2006-11-16 Rodney Dawes <dobey@novell.com> * client-handler.c (has_state): Move the AccessibleStateSet_unref call below the error: label so that it always gets cleaned up properly (handle_client): Malloc packet_len + 1 for the packet buffer so that we have room for the NULL terminator to avoid an Invalid Read * ldtp-appmap.c (get_object_def, get_property): Don't use a static array size for the msg error message buffer Free the LDTPError objects after we finish using them Allocate and free the msg buffer as appropriate * ldtp-gui.c (ldtp_gui_get_gui_handle): Free ctxt_handle if we error * push-button.c (is_push_button_state_enabled): Add a boolean to store the return value and default it to FALSE Free the AccessibleStateSet before we return * remap.c (do_remap): Don't g_strdup name when passing it off to the accessible_object_handle method as it doesn't free the buffer
2006-11-15 Rodney Dawes <dobey@novell.com> * client-handler.c (generate_response_packet): Set the err to LDTP_ERROR_SUCCESS when we are succeeding (has_state): Unref the state_set when we're done with it (handle_client): New integer for keeping track of how much of the packet was read in, if we have to read in chunks Remove prev_pckt_len as we don't need it any more Replace calloc calls when initializing cctxt with g_new0 calls Free LDTPErrors where appropriate Just always g_malloc0 packet instead of trying to realloc as we free the packet when finished anyway, and don't need to resize in a loop Use packet_read to keep track of how many bytes of the packet were read rather than using pointer math on the buffers Use g_new0 instead of calloc when allocating the pckt structure Don't do the g_slist_remove_all as the items in the list get freed inside the ldtp-request code anyway, and simply removing them doesn't get them freed here Allocate new LDTPErrors when we want to copy the error data to a new place such as in the cctxt->resp structure Check if there was an error sending the response and log it Free the cctxt and other items inside it * ldtp-appmap.c (remove_component_entries, remove_context_entries): (remove_appmap_entries): We don't need these methods any more as the destroy handlers are set properly when we create the hash tables (ldtp_appmap_free): Just return if there is no hash table, and remove the g_hash_table_foreach call as the data gets freed by the hash table destroy handlers * ldtp-gui.c (init_stack): Replace malloc with g_new0 (get_accessible_app_handle): Free window_title when we're done with it (get_relation_name): We need the k variable method-wide Unref all the items in the relation array and free the array before we return a value or NULL (get_child_window_handle): Free the tmp value when we don't need it (update_cur_window_appmap_handle): Create the hash table with destroy handlers as appropriate for the data in the hash table Destroy new_hashtable if we aren't going to use it (ldtp_gui_get_gui_handle): Use g_new0 instead of calloc * ldtp-request.c (ldtp_request_free): Don't need to check if the values are non-NULL before calling g_free We never get called with finalize != 0 so don't need to free ourselves as we must free the LDTPRequest elsewhere anyway (ldtp_request_fill_request): Inserting a NULL into the slist doesn't do anything for us * remap.c (get_keybinding): Restructure the code to be a little more readable Return duplicated strings as we don't know if the string we are returning is already duplicated or not (add_appmap_data): Create hash_attributes with appropriate destructors Always free label_by when done with it (get_window_text_in_appmap_format): Create a return value char * to return a duplicate string with, so we can free our own copies (do_remap): Create current_context with appropriate destructors
2006-10-25 Nagappan A <anagappan@novell.com> * remap.c (get_object_info): Added embedded component object type * embedded-component.c (invoke_menu, click): Implemented two new functions to handle embedded component
* client-handler.c (search_recording_handler,
remove_recording_handler, register_recording_handler,
unregister_recording_handler): Added new functions to handle
recording client context handler.
(generate_record_response_packet): Modified response tag from
RECORD to RESPONSE.
(handle_request): Added generatemouseevent, a function.
* combo-box.c (select_item): Modified C str* functions to use
g_utf8*.
* device.c (generate_keyboard_sequence): Modified this function to
be generic, so it can be called even with out accessible handle.
* ldtp-appmap.c: Modified all the function names having regexp
string to glob as the actual implementation is glob based.
* ldtp-gui.c (grab_focus): Moved implementation from text.c to
here.
* ldtp-record.c: Removed all static variables and added all of
them as a structure LdtpRecord.
(caculate_time_elapsed): To find the time difference between the
current operation and the previous operation. Will be useful for
playback.
* remap.c (accessible_object_handle): Fixes a performance issue
reported by Palm Source team.
* text.c (grab_focus): Moved implementation from here to
ldtp-gui.c.
* toggle-button.c (toggle): Fixed a crasher bug, when the object
state does not match FALSE flag is set in LDTPError, which crashed
the LDTP engine.
* ldtp-server.c (init_ldtp_server): Added functionality to ldtp to work from a remote location. Thanks to Punit Mishra of Palm Source for providing the patch.
* remap.c (add_appmap_data): Add support for the description property
of the accessible objects, so that these properties can be checked
for in testing
* client-handler.c (handle_request): Added STOPSCRIPSERVER
functionality, required for using with tinderbox
* text.c (right_click): Added new function
* ldtp.c (ldtp_server_thread): Added code for ldtp record handler
* localization.c (ldtp_compare_with_locale): Regexp based search
is implemented in localized object name too.
* ldtp.c (ldtp_server_thread): Added a check in poll, whether the
pollfd breaked due to ldtp script server thread or ldtp record
server thread.
* ldtp-server.c (init_ldtp_server): Removed LDTP_AUTH_SOCK
environment variable setting, as its no longer been used.
* ldtp-logger.c (close_log_file): NULL log file pointer after
closing the file pointer.
* ldtp-gui.c (get_accessible_context_handle): Fixed memory leak -
freed the allocted string.
* label.c (get_label_at_index): Implemented new function to get
the label based on window, panel and index information.
* client-handler.c (handle_client, handle_request): At end of
stoplog, initialize log file pointer to NULL.
2006-05-02 Nagappan A <nagappan@gmail.com> * ldtp-gui.c (update_cur_window_appmap_handle): Added mutex lock / unlock to avoid corruption of application map 2006-04-27 Nagappan A <nagappan@gmail.com> * ldtp-logger.c (open_log_file): Modified the default option of opening file as overwrite - Bug # 339884 2006-04-25 Nagappan A <nagappan@gmail.com> * remap.c (get_object_info): Handles edit bar object type - Bug # 339671 2006-04-17 Nagappan A <nagappan@gmail.com> * ldtp-gui.c (ldtp_gui_get_gui_handle): Handled multiple applications parallely - Bug # 338315 2006-04-14 Nagappan A <nagappan@gmail.com> * remap.c (strip_delim): Now this function is not static 2006-04-13 Nagappan A <nagappan@gmail.com> * ldtp-utils.c (read_line): Added new function to read data from given fd, line by line 2006-04-08 Nagappan A <nagappan@gmail.com> * ldtp-gui.c (get_relation_name, ldtp_gui_get_gui_handle): Valgrind and fixed memory leaks. 2006-04-07 Nagappan A <nagappan@gmail.com> * ldtp.c (main): Added command line options to ldtp engine 2006-04-06 Nagappan A <nagappan@gmail.com> * ldtp-appmap.c (search_label_based): Valgrind and fixed memory leaks. 2006-04-05 Nagappan A <nagappan@gmail.com> * client-handler.c (handle_request): Implemented reinitldtp 2006-04-04 Nagappan A <nagappan@gmail.com> * client-handler.c (createpo, deletepo, bind_text): Implemented new functions 2006-04-03 Nagappan A <nagappan@gmail.com> * calendar.c (select_calendar_date): Checked for NULL arguments to avoid crash * check-menu-item.c (uncheck_check_menu_item, verify_check_check_menu_item, verify_uncheck_check_menu_item): Removed functions 2006-04-01 Nagappan A <nagappan@gmail.com> * client-handler.h (_LDTPClientContext): Added individual log file for each new client connection
* calendar-view.c (select_event): Checked for NULL arguments
* combo-box.c (select_item): Replaced strip_white_space with
escape_character
* ldtp-appmap.c (search_key_regexp_based, search_label_based,
search_label_regexp_based, search_obj_after_stripping_space):
Checked for NULL arguments
* ldtp-gui.c (trace_path_to_parent, get_accessible_context_handle,
get_child_window_handle): Checked for NULL arguments
* ldtp-logger.c (strip_white_space): Removed function as the
implementation part of it is duplicate of escape_character
function implemented in ldtp-utils.c
* localization.c (ldtp_compare_with_locale, reverse_lookup):
Checked for NULL arguments
* remap.c (get_keybinding, insert_underscore, get_object_info,
add_appmap_data, get_window_text_in_appmap_format): Checked for
NULL arguments, which fixes the bug # 334521
* ldtp-response.h: Patch to fix bug # 333096 and bug # 334512
* client-handler.c (handle_request): Patch to fix bug # 333096 and
bug # 334512
* remap.c (get_object_info): Patch to fix bug # 334520 and handles
File Chooser object type
* check-box.c (verify_check_check_box, verify_uncheck_check_box):
Patch to fix bug # 334625, Now returns appropriate return value
* ldtp-request.c (ldtp_request_fill_request): Patch to fix bug #
333089 comment # 6
* table.c (get_cell_value): Patch to fix bug # 333089 comment
* client-handler.c (add_item_to_list): A common function to
generate XML object list.
* client-handler.c (send_response): If data sent in chunks from
server to client, then the peek code in client was not able to
continue reading the next chunk as the recv with peek option
always returns the first chunk.
* client-handler.c (handle_request): Implemented getwindowlist,
getobjectlist, getobjectinfo, getobjectproperty. Modified
initappmap to get the file name from gslist only once. Memory leak
fixed - Freed memory resources when client disconnects.
* ldtp.c (ldtp_print): Indentation
* ldtp-appmap.c (remove_appmap_entries): Memory leak fixed - Freed
memory resources when client disconnects.
* ldtp-appmap.c (search_obj_after_stripping_space): Added new
function to search for an object after stripping spaces.
* ldtp-appmap.c (add_child_attributes): Modified it as static
function.
* ldtp-appmap.c (ldtp_appmap_free): If appmap is not NULL then
only traverse the hash table. To avoid a critical warning.
* ldtp-appmap.c (search_label_based): Modified the logic to check
for label or label_by and also, if under score is in value, then
remove it and then look for the match.
* ldtp-command.c (ldtp_command_init_command_table): Added
getwindowlist, getobjectlist, getobjectinfo, getobjectproperty
commands to the list of commands.
* ldtp-error.c (ldtp_error_get_error_message): Added new error
messages.
* ldtp-gui.c (ldtp_gui_get_gui_handle): If appmap is not
initialized, then try to initialize it by updating the window
handle.
* ldtp-gui.c (update_cur_window_appmap_handle): Checked for
argument NULL to avoid crash.
* ldtp-logger.c (ldtp_log): vprintf also will be printed iff
LDTP_DEBUG option is enabled.
* ldtp-request.c (ldtp_request_fill_request): When XML packet is
NULL don't process further, which avoids a crash.
* ldtp-utils.c (escape_character): Modified function name
escape_under_score to escape_character and also added one
parameter to make this function a generic one. Check if argument
is not NULL then continue else return immediately.
* remap.c (get_keybinding, filter_appmap_data, get_object_info,
add_appmap_data): Checked for NULL arguments to avoid crash.
* remap.c (accessible_object_handle): Avoided memory fragmentation
as the same data is allocated multiple times.
2006-01-16 Nagappan A <nagappan@gmail.com> * New LDTP arch based on Varadhan <v.varadhan@gmail.com> suggestion * Regular expression based object search (both context and component) * Run time appmap generation (initialization of appmap is optional) * For unexpected windows (example: connection reset by peer / connection timed out dialogs) can be handled by registering a callback function and the respective callback function will be called, whenever the registered window with the title appears and even this window could be based on regular expression * Now the scripts can be written in any language even though the default one is Python
Initial revision
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.
| CVS Admin | ViewVC Help |
| Powered by ViewVC 1.1-dev |