FreeDesktop Web CVS Repositories

Please note, many of these repositories are now out of date, instead you really should try the git repositories at: http://cgit.freedesktop.org/

[ldtp] / ldtp / src / push-button.c Repository:
fd.o logo

Log of /ldtp/src/push-button.c

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Tag:

Revision 1.18 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Feb 28 04:20:48 2008 UTC (8 months, 3 weeks ago) by nagappan
Branch: MAIN
CVS Tags: HEAD
Changes since 1.17: +132 -133 lines
Diff to previous 1.17
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.

Revision 1.17 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Dec 6 20:31:29 2007 UTC (11 months, 2 weeks ago) by nagappan
Branch: MAIN
CVS Tags: LDTP_1_0_0
Changes since 1.16: +2 -4 lines
Diff to previous 1.16
2007-12-06  Nagappan A  <anagappan@novell.com>

	* scroll-pane.c: Added new file.

	* table.c (set_cell_value): Fixed minor bug.

Revision 1.16 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Sep 3 09:31:02 2007 UTC (14 months, 2 weeks ago) by nagappan
Branch: MAIN
CVS Tags: LDTP_0_9_1, LDTP_0_9_2
Changes since 1.15: +2 -2 lines
Diff to previous 1.15
2007-08-28  Nagappan A  <anagappan@novell.com>

	* *.[ch]: Updated all the files for the new address in LGPL
	license.

Revision 1.15 - (view) (download) (as text) (annotate) - [select for diffs]
Mon May 14 08:48:14 2007 UTC (18 months, 1 week ago) by nagappan
Branch: MAIN
CVS Tags: LDTP_0_9_0
Changes since 1.14: +0 -30 lines
Diff to previous 1.14
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

Revision 1.14 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Feb 14 11:46:42 2007 UTC (21 months, 1 week ago) by nagappan
Branch: MAIN
CVS Tags: LDTP_0_8_0
Changes since 1.13: +7 -14 lines
Diff to previous 1.13
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.

Revision 1.13 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jan 18 17:13:34 2007 UTC (22 months ago) by nagappan
Branch: MAIN
Changes since 1.12: +24 -9 lines
Diff to previous 1.12
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.

Revision 1.12 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Nov 21 21:46:38 2006 UTC (2 years ago) by dobey
Branch: MAIN
CVS Tags: LDTP_0_7_0
Changes since 1.11: +16 -16 lines
Diff to previous 1.11
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

Revision 1.11 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Nov 16 16:31:19 2006 UTC (2 years ago) by dobey
Branch: MAIN
Changes since 1.10: +5 -3 lines
Diff to previous 1.10
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

Revision 1.10 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Sep 27 18:02:36 2006 UTC (2 years, 1 month ago) by nagappan
Branch: MAIN
CVS Tags: LDTP_0_6_0
Changes since 1.9: +4 -4 lines
Diff to previous 1.9
        * 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.

Revision 1.9 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jul 28 19:08:21 2006 UTC (2 years, 3 months ago) by nagappan
Branch: MAIN
CVS Tags: LDTP_0_5_0
Changes since 1.8: +2 -0 lines
Diff to previous 1.8
Fixed 2 crasher, other major issues

Revision 1.8 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jul 25 20:06:42 2006 UTC (2 years, 3 months ago) by nagappan
Branch: MAIN
Changes since 1.7: +5 -1 lines
Diff to previous 1.7
Checked NULL arguments in callback functions

Revision 1.7 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jul 21 11:24:25 2006 UTC (2 years, 4 months ago) by nagappan
Branch: MAIN
Changes since 1.6: +2 -1 lines
Diff to previous 1.6
        * client-handler.c (has_state): Implemented new function.
        * *.[ch]: Code alignment.

Revision 1.6 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jul 12 18:26:46 2006 UTC (2 years, 4 months ago) by nagappan
Branch: MAIN
Changes since 1.5: +26 -0 lines
Diff to previous 1.5
        * ldtp-record.c: Main file recording which has all the event
        listeners. Added callbacks in all the corresponding objects.


        * push-button.c toggle-button.c (enterstring) Added
        LDTP_CMD_ENTERSTRING to the corresponding main functions

Revision 1.5 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jun 15 13:15:29 2006 UTC (2 years, 5 months ago) by nagappan
Branch: MAIN
Changes since 1.4: +6 -6 lines
Diff to previous 1.4
        * 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.

Revision 1.4 - (view) (download) (as text) (annotate) - [select for diffs]
Sun May 7 17:40:38 2006 UTC (2 years, 6 months ago) by prashmohan
Branch: MAIN
Changes since 1.3: +10 -0 lines
Diff to previous 1.3
Added registry events for keyboard and mouse. Bug #340935

Revision 1.3 - (view) (download) (as text) (annotate) - [select for diffs]
Tue May 2 11:10:56 2006 UTC (2 years, 6 months ago) by nagappan
Branch: MAIN
Changes since 1.2: +8 -8 lines
Diff to previous 1.2
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

Revision 1.2 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Mar 30 11:38:34 2006 UTC (2 years, 7 months ago) by nagappan
Branch: MAIN
Changes since 1.1: +23 -24 lines
Diff to previous 1.1
        * 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.

Revision 1.1.1.1 - (view) (download) (as text) (annotate) - [select for diffs] (vendor branch)
Wed Feb 1 05:52:03 2006 UTC (2 years, 9 months ago) by nagappan
Branch: Novell
CVS Tags: LDTP_0_4_0, rel1_0
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 , to next main 1.18
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


Revision 1.1 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Feb 1 05:52:03 2006 UTC (2 years, 9 months ago) by nagappan
Branch: MAIN
Branch point for: Novell
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.

  Diffs between and
  Type of Diff should be a

Sort log by:

CVS Admin
ViewVC Help
Powered by ViewVC 1.1-dev