Parent Directory
|
Revision Log
| Links to HEAD: | (view) (download) (as text) (annotate) |
| Sticky Tag: |
2008-02-27 Nagappan A <nagappan@gmail.com> * client-handler.c (handle_request): Removed unnecessary code. * ldtp-appmap.c (get_window_def): Added new function to lookup for the window definition in hash table. * ldtp-gui.c (get_context_def): Added new function to check, whether multiple window title exist in hash table and also the relevant component name. * page-tab-list.c (get_tab_name): Added new function to get the name of a tab. * menu.c (menu_main): Removed unnecessary code. * check-menu-item.c (is_menu_item_enabled): New function added to verify whether a menu item is enabled or not. * radio-menu-item.c (is_menu_item_enabled): New function added to verify whether a menu item is enabled or not. * menu-item.c (is_menu_item_enabled): New function added to verify whether a menu item is enabled or not.
2008-02-11 Nagappan A <nagappan@gmail.com> * ldtp.c (main): Avoid using external XML file as data file, if environment varialbe LDTP_EXTERNAL_TEMP_FILE is set or command line argument -n or --no-external-xml-file is passed or started LDTP as an TCP service. * client-handler.c (write2file): Write the given data to a temp file and return the file name, if success. (generate_response_packet): If, data size is 512, then write it to a file. (is_role_matching): If given role matches with the list, then return true, elase false. (add_matching_item_to_list): Add all matching items to the list. (handle_request): Modified SELECTMENUITEM case to use g_strsplit instead of strtok. Added GETCHILD case, to get the child of a given role or component and role. * menu.c (menu_main): Modified strtok to use g_strsplit.
2008-01-29 Nagappan A <nagappan@gmail.com> * ldtp.c (main): Backported to support RHEL4, by adding getopt_long function instead of g_option_context_parse. * client-handler.c (generate_response_packet, handle_client): Fixed compilation warnings.
2007-08-28 Nagappan A <anagappan@novell.com> * *.[ch]: Updated all the files for the new address in LGPL license.
2007-08-28 Nagappan A <anagappan@novell.com> * calendar.c: Fixed compiler warnings. * client-handler.c: Fixed compiler warnings. * menu.c: Fixed compiler warnings.
2007-08-17 Nagappan A <anagappan@novell.com> * ldtp.c (report_window_event): Fixed the crasher in Solaris. Fixed few warnings. * ldtp-gui.c (trace_path_to_parent): Get the class of current object, can be used to verify whether we have traced the right object or not. (ldtp_gui_get_gui_handle): If the role type doesn't match between the current object to be selected and the one we have stored in appmap, then need to run remap. * ldtp-appmap.c (search_label_name): Commented this function as we no longer use them. Need to remove them at later point of time. * menu.c: Code alignment. * client-handler.c (is_cctxt_registered_callback): If the client disconnects, we have to destroy the client context stored. Fixed few warnings.
2007-01-22 Nagappan A <anagappan@novell.com> * ldtp.c (is_window_reg_for_events): Removed GHashTable argument as its already a globla variable. Added global pthread mutex to avoid a crash when the callback functions client connection disconnected. * text.c (append_text, set_cursor_position, text_main): Fixed crashers reported by Palm Source team. * menu.c (menu_main): Removed extra condtions that check for ';'. * ldtp-command.h: Added new command to the structure. * ldtp-error.[c,h] (ldtp_error_get_message): Added new error LDTP_ERROR_EVENT_NOTIFIER_NOT_ENABLED. * ldtp-appmap.c (get_property): Check the return value of g_hash_table_lookup_extended, apart from value. * client-handler.c (unregister_window_creation_event): Added new function to unregister the callback function, that use to listen for window creation events. Added global pthread mutex to avoid a crash when the callback functions client connection disconnected.
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-05 Rodney Dawes <dobey@novell.com> * ldtp-record.c (record_main): * menu.c (menu_main): Don't check if error is non-zero now, as zero is the SUCCESS case * text.c (get_text_property): Revert the commit of a g_print addition as it was a temporary debugging statement
2006-11-21 Rodney Dawes <dobey@novell.com> * ldtp-error.[ch]: Get rid of the LDTPError struct (ldtp_error_get_error, ldtp_error_free): Remove these methods as we don't need them any more (ldtp_error_get_message): Make this a public method that returns a const char * of the error message for when we need to print it * *.[ch]: Update the error handling code to use LDTPErrorCode instead of LDTPError everywhere, so we only pass around an enum value Call ldtp_error_get_message whenever we need to print an error message * ldtp-gui.c (object_state_contains): Unref the AccessibleStateSet when we are done using it (get_accessible_object_handle): Don't free the head struct that isn't owned by this method (ldtp_gui_get_gui_handle): Free the head pointer when done using it (ldtp_gui_wait_till_gui_exist, ldtp_gui_wait_till_gui_not_exist): (ldtp_gui_gui_exist): Free the accessible pointer when done with it
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
* menu.c (menu_main): Fixed crash, when token is NULL, quiting
with appropriate error message.
* ldtp-appmap.c (search_label_regexp_based, search_label_based):
Search window based on regexp.
* ldtp-appmap.c (search_key_regexp_based): Search window based on
regexp.
* ldtp-gui.c (trace_path_to_parent): Trace parent based on regular
expression too
(get_child_window_handle): Trace child window handle based on
regular epression too
Nagappan
* tool-bar.c (verify_visible_button_count, verify_button_count):
Fixed implementations to work appropriately.
* menu.c (list_child_menu_items): Returns all the sub menuitem of
menu.
* ldtp-gui.c (trace_path_to_parent): Fixed core dump, if
child_index property is NULL, avoid calling atoi.
* combo-box.c (capture_to_file): Fixed core dump, if filename is NULL.
* 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
* ldtp-logger.c (log_msg): Pass / fail report of a group are now
logged in the XML.
* ldtp-logger.h: Updated #define entries to use enum and appended
all LOG_ variables to LDTP_LOG_ enum variables. This impact all
the usage of LOG_ variables, which has to be replaced with
LDTP_LOG_.
* label.c (select_labels_panel_by_name): New functions implemented
- bug # 336458.
* text.c (select_text_by_name): New functions implemented - bug #
316044.
* calendar-view.c (select_event): Updated with appropriate error
message
* menu.c (menu_main): Patch to fix bug # 334401
* combo-box.c:
* ldtp-appmap.c:
* localization.c:
* menu.c:
* table.c: Don't use g_strdup_printf for message-logging, it
defragments memory. Static arrays should suffice.
Coding style fixes.
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 |