1 2006-03-20 Vladimer Sichinava <vlsichinava@gmail.com>
3 * configure.in: Added "ka" (Georgian) to ALL_LINGUAS
5 2006-03-20 Bill Haneman <bill.haneman@sun.com>
8 (impl_get_selected_rows): Don't free the selection if it's
9 empty or has not been assigned; init it to NULL so you can tell.
10 Also, allow for zero selected rows.
11 (impl_getSelectedColumns): Ditto. Bug #319088.
13 2006-03-11 Vincent Untz <vuntz@gnome.org>
15 Leak fix for bug #334217.
17 * libspi/application.c: spi_application_toolkit_event_listener():
18 don't duplicate the string we pass as an argument to
19 spi_init_any_nil() since spi_init_any_nil() already does it
20 * registryd/deviceeventcontroller.c:
21 (spi_dec_button_update_and_emit): ditto
22 (spi_dec_mouse_check): ditto
23 (spi_dec_emit_modifier_event): ditto
24 (spi_device_event_controller_forward_mouse): ditto
25 * registryd/registry.c:
26 (desktop_add_application): ditto
27 (desktop_remove_application): ditto
29 2006-02-20 Bill Haneman <billh@gnome.org>
31 * configure.in: Rev to 1.7.6.
33 Leak fixes for bug #331924.
35 * atk-bridge/bridge.c:
36 (spi_atk_bridge_init_base): Don't dup the string, it's already
37 been dup-ed. Fixes a leak.
38 (spi_atk_emit_eventv): Move the CORBA_free call here,
39 instead of spi_atk_state_event_listener; fixes another leak.
40 (spi_atk_bridge_key_listener):Free the dup'ed key strings after
41 notifying the registry; fixes another leak.
43 * registryd/registry.c:
44 (registry_flush_event_queue): Free the CORBA_any when
45 flushing the event, not just the string. Fixes another leak.
46 (registry_queue_event): Free the CORBA_any when dropping
47 events on the floor; fixes another leak.
50 (spi_init_any_object, spi_init_any_nil):
51 Always set _release to TRUE. Fixes another leak.
53 2006-02-20 Bill Haneman <billh@gnome.org>
55 * configure.in: Rev to 1.7.5.
56 Reinstate localization of this module. Thanks for Rodney
57 Dawes for fixing my patch.
59 * registryd/Makefile.am: Remove Accessibility_Registry.server
60 from dist, since it needs to be re-created at configure time.
63 2006-01-31 Bill Haneman <billh@gnome.org>
65 * configure.in: Rev to 1.7.4 (to include build fix below).
67 * idl/Makefile.am: Include Selector.idl in dist.
71 (cspi_internal_event_get_object): Handle case where
72 "object" isn't present, i.e. CORBA_TC_Object doesn't match
73 the EventDetails data.
74 (cspi_internal_event_get_text): Handle NULL string.
75 (cspi_internal_event_get_rect): Handle missing/empty rect
76 data, Accessibility_TC_RectBounds doesn't match any_data.
78 2006-01-30 Bill Haneman <billh@gnome.org>
82 * atk-bridge/bridge.c:
83 (spi_atk_emit_eventv): Check for SPI_REMOTE_OBJECT
84 interface and use that when instantiating a new source
85 accessible. Better fix for bug #321814.
87 2006-01-27 Bill Haneman <billh@gnome.org>
89 * idl/Accessibility_Selector.idl: Added to the cvs repository.
91 * configure.in: Revved to 1.7.3.
93 2006-01-17 Bill Haneman <billh@gnome.org>
95 * configure.in: Revved to 1.7.2, re-dist to include docs.
97 2006-01-09 Bill Haneman <billh@gnome.org>
99 * configure.in: Removed po/Makefile.in inclusion, we do not need
102 * idl/Accessibility.idl: Improved documentation here, and for all
103 IDL in the 'GNOME::Accessibility' namespace.
105 * idl/Accessibility_Accessible.idl:
106 (LOCALE_TYPE): Added enum.
107 (AttributeSet): New, for returning multiple name/value attribute pairs.
108 (RoleSet): New, sequence of Roles, to be used in upcoming
110 (getAttributes): New API, allows retrieval of name/value pair
111 annotations for all kinds of Accessible objects. C.f.
112 Text:getAttributes, which is only for typographic/textual/semantic tags in
114 (getApplication): New, retrieves the host/containing Application
115 instance for an object (without having to walk up the whole tree).
117 * idl/Accessibility_Component.idl:
118 (getAlpha): New method, returns the alpha blending (aka 'opacity')
119 value for an object. An alpha of 1.0 is fully opaque, 0.0 is
122 * idl/Accessibility_Event.idl:
123 (EventDetails): New struct definition, for encapsulating
124 commonly-queried information about emitted events. The use of
125 this structure in emitted events (in the 'any' member of
126 Accessibility_Event) should greatly reduce the number of
127 client-server roundtrips necessary.
129 * idl/Accessibility_Image.idl:
130 (imageLocale): New, a readonly attribute indicating the POSIX
131 LC_MESSAGES locale of the image and associated Alt/descriptive
134 * idl/Accessibility_Relation.idl:
135 (RELATION_PARENT_WINDOW_OF): Include, as complement to
138 * idl/Accessibility_Role.idl:
139 (ROLE_ENTRY, ROLE_CHART, ROLE_CAPTION, ROLE_DOCUMENT_FRAME)
140 (ROLE_HEADING, ROLE_PAGE, ROLE_SECTION): New roles for
141 complex document and form support.
143 * idl/Accessibility_State.idl:
144 (STATE_REQUIRED, STATE_TRUNCATED, STATE_ANIMATED)
145 (STATE_INVALID_ENTRY, STATE_SUPPORTS_AUTOCOMPLETION)
146 (STATE_SELECTABLE_TEXT, STATE_IS_DEFAULT): New states,
147 for support of complex documents and forms.
149 * idl/Accessibility_StreamableContent.idl:
150 (SeekType, IOError, NotSupported, NoPermission): New enum and exceptions, to
151 allow old bonobo-stream interfaces to be deprecated in the next
154 * idl/Accessibility_Text.idl:
155 (getAttributeValue): New method, allows query-by-name of single
158 * libspi/accessible.c:
159 Added support for new roles. Implemented new methods
160 (impl_accessibility_accessible_get_application): New
161 (impl_accessibility_accessible_get_attributes): New
163 * libspi/component.c:
164 (impl_accessibility_component_get_alpha): New.
167 (impl_accessibility_image_get_locale): New.
169 * libspi/relation.c: Added support for new relation type.
171 * libspi/stateset.c: Added support for new state types.
174 (impl_getAttributeValue): New.
177 New prototypes for private methods
179 spi_init_any_object, spi_init_any_string,
182 * libspi/spi_event.c:
183 Use EventDetails in the event emission methods.
185 * cspi/spi-private.h:
186 (cspi_role_from_spi_role): Expose this adapter method, since
187 we need it in the bridge (see below).
190 (AccessibleEvent_getSourceName):
191 (AccessibleEvent_getSourceRole):
192 (AccessibleEvent_getSourceApplication):
193 (AccessibleEvent_getSourceDetails):
194 New methods for interrogating/demarshalling
195 event details (i.e. source's accessible name, role,
198 * cspi/spi_accessible.c: Use cspi_role_from_spi_role.
199 Make use of the new EventDetails struct in events, if present.
200 (AccessibleEvent_getSourceName)
201 (AccessibleEvent_getSourceRole)
202 (AccessibleEvent_getSourceApplication)
203 (AccessibleEvent_getSourceDetails): Implement the newly exposed
205 (Accessible_getAttributes): New, wraps
206 Accessibility_Accessible_getAttributes.
207 (Accessible_getHostApplication): New, wraps
208 Accessibility_Accessible_getApplication.
211 (AccessibleImage_getImageLocale): New wrapper for
212 Accessibility_Image_get_imageLocale.
214 * cspi/spi_component.c:
215 (AccessibleComponent_getAlpha): New wrapper for
216 Accessibility_Component_getAlpha.
218 * atk-bridge/bridge.c:
219 Use new prototyped for init_any methods.
220 (spi_atk_bridge_init_nil, spi_atk_bridge_init_object)
221 (spi_atk_bridge_init_string, spi_atk_bridge_init_rect)
222 (spi_atk_bridge_init_base): Wrappers
223 for spi_init_any_* methods, due to refactor; include extended
224 information in the Accessibility_EventDetails struct, for instance
225 accessible-name, Role, and containing Application.
227 * registryd/registry.c:
228 Use new event emission (with EventDetails).
230 * registryd/deviceeventcontroller.c:
231 Use new event emission (with EventDetails).
233 2006-01-09 Kjartan Maraas <kmaraas@gnome.org>
235 * configure.in: Generate po/Makefile.in
236 * cspi/spi_main.c: Add #ifdef PRINT_LEAKS around a function
237 * cspi/spi_streamablecontent.c:
238 (accessible_bonobo_stream_client_seek),
239 (AccessibleStreamableContent_seek): Remove unused vars.
240 * libspi/application.c: Missing header.
241 * libspi/text.c: (impl_getDefaultAttributes): Unused vars
242 * login-helper/login-helper.c: (login_helper_finalize),
243 (login_helper_init): Remove unused stuff
244 * registryd/deviceeventcontroller.c: (spi_dec_replace_map_keysym),
245 (spi_dec_init_mouse_listener), (is_key_released): Remove unused vars
246 and surround some with #ifdef GRAB_BUTTON.
247 * test/event-listener-test.c: (main), (report_event),
248 (report_caret_event), (report_detail_event),
249 (report_detail1_event), (report_bounds_event), (report_text_event),
250 (report_text_selection_event),
251 (report_active_descendant_changed_event),
252 (report_children_changed_event), (report_name_changed_event),
253 (report_description_changed_event), (report_parent_changed_event),
254 (report_window_event), (report_table_summary_event),
255 (report_table_header_event), (report_table_caption_event),
256 (report_table_row_description_event),
257 (report_table_column_description_event), (timing_test_event):
258 Remove a bunch of unused variables and fix a slew of format specifiers
259 * test/key-listener-test.c: (report_all_key_event): Format specifier
260 * test/keypad-test.c: (print_key_event): Same
261 * test/login-helper-server-test.c: (main): Include gtkmain.h and remove
263 * test/screen-review-test.c: (main), (print_chunk_debug),
264 (review_buffer_get_text_chunk), (debug_chunk_list),
265 (string_guess_clip), (text_chunk_get_clipped_string),
266 (text_chunk_list_to_string), (get_screen_review_line_at):
267 Remove unused variables and fix format specifiers.
268 * test/simple-at.c: (report_text_event): Format specifier fix.
269 * test/stress-test.c: (main): Remove unused var.
271 2005-12-29 Abel Cheung <maddog@linuxhall.org>
273 * configure.in: Add zh_HK, zh_TW to ALL_LINGUAS
274 (yes I know that's useless)
276 2005-11-20 Theppitak Karoonboonyanan <thep@linux.thai.net>
278 * configure.in: Added "th" (Thai) to ALL_LINGUAS.
280 2005-11-17 Michael Meeks <michael.meeks@novell.com>
282 * atk-bridge/bridge.c (spi_atk_emit_eventv):
283 urgh-fix embarassing typo.
285 2005-11-16 Michael Meeks <michael.meeks@novell.com>
287 * atk-bridge/bridge.c (spi_atk_emit_eventv):
288 do a faster, less problematic _unref call on this local
289 object, rather than a slower (potentially cross-thread
290 complicated) CORBA call.
292 2005-11-02 Kjartan Maraas <kmaraas@gnome.org>
294 * atk-bridge/bridge.c: (spi_atk_bridge_signal_listener):
295 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_seek):
296 * registryd/deviceeventcontroller.c:
297 (spi_controller_notify_mouselisteners),
298 (impl_generate_keyboard_event):
299 * test/screen-review-test.c: (chunk_bounds_within):
300 * test/test-simple.c: (test_desktop): Remove some unused code
301 and fix compiler warnings. Closes bug #320049.
303 2005-10-27 Bill Haneman <bill.haneman@sun.com>
305 * registryd/deviceeventcontroller.c:
306 (spi_controller_notify_keylisteners): Check
307 to make sure the event listener has requested 'preemptive'
308 status before pre-empting an event.
310 2005-08-29 Bill Haneman <bill.haneman@sun.com>
312 * configure.in, README, NEWS: Release 1.6.5.
314 2005-07-25 Matthias Clasen <mclasen@redhat.com>
316 * test/window-listener-test.c: Fix a printf
317 format error. (#169453)
319 2005-07-15 Bill Haneman <bill.haneman@sun.com>
321 * tests/test-simple.c:
322 (key_listener_cb): Ensure that the keystring is dup'ed instead of
323 relying on the old string from the key event hanging around after
324 the event handler returns. Fixes broken 'make check'.
326 2005-06-06 Swapnil Hajare <dreamil@gmail.com>
328 * Added Marathi (mr_IN) translations.
330 2005-05-27 Kjartan Maraas <kmaraas@gnome.org>
332 * cspi/bonobo/cspi-bonobo-listener.c:
333 (cspi_event_list_remove_by_cb): Fix the build.
335 2005-05-26 Michael Meeks <michael.meeks@novell.com>
337 * cspi/bonobo/cspi-bonobo-listener.c
338 (cspi_event_list_remove_by_cb): actually filter by callback.
340 2005-05-25 Bill Haneman <bill.haneman@sun.com>
342 * registryd/registry.c (remove_listener_cb):
343 Make deregistration filter rules match the event emission rules.
345 2005-05-25 Michael Meeks <michael.meeks@novell.com>
347 * registryd/registry.c (remove_listener_cb),
348 (impl_accessibility_registry_deregister_global_event_listener),
349 (impl_accessibility_registry_deregister_global_event_listener_all):
350 pass a closure to the remove callback to filter listeners more
351 accurately on remove.
353 2005-04-05 Bill Haneman <bill.haneman@sun.com>
355 * configure.in: Revved to 1.6.4.
356 Remember to put quotes around XEVIE_LIBS assignment.
357 Fixed one of tertiary AC_CHECK_HEADER tests for XEvie.
360 * tests/event-listener-test.c: Tweaked the tests - more detail
361 from caret events, and some interrogation of AccessibleText APIs.
362 Commented-out the bounds-changed events by default, since they can
365 2005-04-14 Kjartan Maraas <kmaraas@gnome.org>
367 * atk-bridge/bridge.c: (spi_atk_emit_eventv): Plug a leak.
368 * cspi/bonobo/cspi-bonobo-listener.c: (cspi_device_event):
369 Same here. Closes bug #167806
371 2005-04-05 Bill Haneman <bill.haneman@sun.com>
373 * atk-bridge/bridge.c:
374 (spi_atk_bridge_signal_listener):
375 Free the any._value if any._release is TRUE,
376 since the ORB won't do it for us in this case
377 [because this method is not a skel].
380 2005-03-30 Steve Murphy <murf@e-tools.com>
382 * configure.in: Added "rw" to ALL_LINGUAS.
384 2005-03-29 Bill Haneman <bill.haneman@sun.com>
386 * configure.in: Improved check for HAVE_XEVIE, to detect
387 presence on XOrg, where -lXevie is a separate library.
389 2005-03-08 Bill Haneman <bill.haneman@sun.com>
391 * configure.in, NEWS, README: Revved to 1.6.3.
393 2005-02-16 Adi Attar <aattar@cvs.gnome.org>
395 * configure.in: Added "xh" to ALL_LINGUAS.
397 2005-02-07 Bill Haneman <bill.haneman@sun.com>
399 * atk-bridge/bridge.c:
400 (atk_bridge_init): Added missing NULL in g_strconcat(),
401 also check for symlink before logging to
402 insecure directory. Thanks to meissner@suse.de.
404 2005-01-25 Padraig O'Briain <padraig.obriain@sun.com>
406 * tests/login-helper-server-test.c: Add return call to main
407 function. Patch from Chris Lahey. Fixes bug #165129.
409 2004-12-20 Padraig O'Briain <padraig.obriain@sun.com>
411 * cspi/spi.h: Add description for SPI_RELATION_SUBWINDOW_OF.
413 2004-12-09 Bill Haneman <billh@gnome.org>
415 * registryd/registry-main.c:
416 Added #define <string.h> for strrchr. (bug 160862).
417 Thanks to Vincent Berger for catching.
419 2004-12-09 Padraig O'Briain <padraig.obriain@sun.com>
421 * atk-bridge/bridge.c (spi_atk_get_registry): Do not attempt to
422 restart registry process if the registry process is found to have died
423 and the current process is exiting.
424 (spi_atk_bridge_exit_func): Do not attempt to deregister the
425 application if the registry process has died.
426 (spi_atk_emit_eventv): Return if call to spi_atk_get_registry
427 does not return a registry object.
428 (spi_atk_tidy_windows): Give up if the registry process has died.
430 This fixes problems with hangs and crashes when logging out.
432 2004-12-03 Padraig O'Briain <padraig.obriain@sun.com>
434 * registryd/desktop.c: Add checking that we are not exiting before
435 calling spi_desktop_remove_application in
436 abnormal_application_termination. Fix for bug #152147.
438 2004-12-02 Bill Haneman <billh@gnome.org>
440 * configure.in, NEWS, README: Revved to 1.6.1.
442 Patch from Padraig O'Briain <padraig.obriain@sun.com>
443 * atk-bridge/bridge.c:
444 (atk_bridge_init): Save the pid when we start, to detect forks.
445 (spi_atk_bridge_exit_func): Don't call the cleanup routines
446 if we're in a forked pid.
448 2004-10-09 Bill Haneman <billh@gnome.org>
450 * idl/Accessibility_LoginHelper.idl:
451 Improved inline documentation.
453 2004-10-02 Jesus Bravo Alvarez <suso@trasno.net>
455 * configure.in: Added gl (Galician) to ALL_LINGUAS
457 2004-09-30 Kjartan Maraas <kmaraas@gnome.org>
459 * libspi/accessible.c:
460 (impl_accessibility_accessible_get_role_name),
461 (impl_accessibility_accessible_get_local_role_name):
463 * libspi/component.c:
464 (impl_accessibility_component_get_accessible_at_point):
466 * libspi/eventlistener.c: (spi_event_listener_new):
468 * libspi/stateset.c: (impl_compare): More of the same
469 * libspi/table.c: (impl_getRowDescription): Again.
470 * registryd/desktop.c: (spi_atk_desktop_get_type): Same
471 * registryd/deviceeventcontroller.c: (spi_clear_error_state),
472 (impl_generate_keyboard_event): Same.
473 * registryd/registry-main.c: (main): Same
474 * test/event-listener-test.c: (test_exit): Same
475 * test/keysynth-demo.c: (scan_state), (create_vkbd): Same
476 * test/keysynth-test.c: (test_key_synthesis): Same
477 * test/login-helper-server-test.c: (main): Fix warning.
478 * test/screen-review-test.c: (test_exit): Fix include.
479 * test/simple-at.c: (simple_at_exit), (_festival_init):
482 2004-09-13 Padraig O'Briain <padraig.vriain@sun.com>
484 * configure.in, NEWS, README: Revved to 1.6.0.
486 2004-09-12 Bill Haneman <bill.haneman@sun.com>
488 * configure.in: Rev and re-dist, since the 1.5.4 tarball
489 was missing the HTML docs.
491 2004-09-12 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
493 * configure.in: only cleanups:
494 - better looking PKG_CHECK_MODULES() output,
496 - declare in one common place required versions of other tools using
499 2004-09-11 J.H.M. Dassen (Ray) <jdassen@debian.org>
501 * configure.in: libspi/accessible.c uses ATK_ROLE_EMBEDDED
502 (unconditionally) which was introduced in ATK 1.7.2. Bumped the
503 required ATK version accordingly.
505 2004-09-03 Bill Haneman <bill.haneman@sun.com>
507 * cspi/bonobo/cspi-bonobo.c:
508 (cspi_display_name): Fix C99ism.
509 * atk-bridge/bridge.c:
510 (spi_display_name): Fix C99ism.
511 Patch from Jens Granseuer, jensgr@gmx.net.
513 2004-09-03 Gora Mohanty <gmohanty@cvs.gnome.org>
515 * configure.in: Added "or" to ALL_LINGUAS.
517 2004-08-20 Bill Haneman <bill.haneman@sun.com>
519 * configure.in, NEWS, README: Revved to 1.5.4.
521 * registryd/registry-main.c:
522 (main): Set the reg_env to use AT_SPI_DISPLAY instead of
525 * cspi/bonobo/cspi-bonobo.c:
526 (cspi_display_name): New convenience method, gets DISPLAY with
527 screen number stripped, if AT_SPI_DISPLAY isn't already set.
528 (cspi_init): Set the activation env value above before getting
531 * atk-bridge/bridge.c:
532 (spi_display_name): Create the AT_SPI_DISPLAY activation
533 environment for an app, based on the DISPLAY environment with the
534 screen number stripped off.
535 (atk_bridge_init): Allow redirection of error messages to a log.
536 (spi_atk_bridge_get_registry): Call
537 bonobo_activation_set_activation_env_value for AT_SPI_DISPLAY.
539 Fixes for bugs #149962, #136986, #144086.
541 2004-08-16 Christian Rose <menthos@menthos.com>
543 * configure.in: Added "bs" to ALL_LINGUAS.
545 2004-08-12 Kjartan Maraas <kmaraas@gnome.org>
547 * configure.in: Added nb to ALL_LINGUAS.
549 2004-09-03 Bill Haneman <bill.haneman@sun.com>
552 (SPI_init): Return error code '2' if the activated
553 registry cannot be pinged. Fixes bug #147648.
555 2004-07-28 Bill Haneman <bill.haneman@sun.com>
557 * registryd/deviceeventcontroller.c:
558 (spi_dec_init_mouse_listener): Don't do XGrabButton,
559 rely on timer-poll instead, to avoid conflict with
562 2004-07-20 Bill Haneman <bill.haneman@sun.com>
564 * configure.in: Revved to 1.5.3.
566 * idl/Accessibility_Role.idl: Added ROLE_EMBEDDED (bug #144415).
568 * libspi/accessible.c: Added support for ROLE_EMBEDDED.
570 * cspi/spi_accessible.c: Support for ROLE_EMBEDDED.
572 * cspi/spi-roletypes.h: Added SPI_ROLE_EMBEDDED.
574 2004-06-11 Bill Haneman <bill.haneman@sun.com>
576 * atk-bridge/bridge.c:
577 (spi_atk_bridge_do_registration):
578 Register with ATK for AtkComponent:bounds-changed events.
579 (api_atk_bridge_signal_listener):
580 Marshal the AtkRectangle info into the event notification
581 for object:bounds-changed events.
584 (spi_init_any_rect): New method, inits a corba struct of
585 type Accessibility_BoundingBox from an AtkRectangle.
587 * libspi/spi-private.h: Declared spi_init_any_rect (above).
590 (SPIRect): New struct definition.
591 (SPI_freeRect): New declaration.
592 (AccessibleBoundsChangedEvent_getNewBounds): New, see below.
595 (AccessibleBoundsChangedEvent_getNewBounds): New method,
596 implemented. Gets the bounding box data from the CORBA_any
597 associated with a bounds-changed event notification.
598 (cspi_internal_event_get_rect): New, used internally by above method.
601 (SPI_freeRect): Implemented this new method, for freeing
604 * test/event-listener-test.c:
605 (main, report_bounds_event):
606 Added a test for object:bounds-changed events.
608 2004-06-01 Bill Haneman <bill.haneman@sun.com>
610 * test/login-helper-server-test.c:
611 (main): Fix C99-ism. Thanks to Jens Granseuer.
613 2004-05-28 Padraig O'Briain <padraig.obriain@sun.com>
615 * libloginhelper-1.0.pc.in:
616 * idl/Accessibility_LoginHelper.idl:
617 * login-helper/Makefile.am:
618 * login-helper/login-helper.[ch]:
619 * test/login-helper-client-test.c:
620 * test/login-helper-server-test.c: Added files missing from CVS.
621 Files obtained from at-spi-1.5.2 tarball.
623 2004-05-27 Bill Haneman <bill.haneman@sun.com>
625 * configure.in: Create login-helper/Makefile.
626 Incremented micro version.
628 * Makefile.am: Add login-helper subdir and pkgconfig data.
630 * login-helper: New subdir.
632 * libloginhelper-1.0.pc.in: New.
634 * idl/Accessibility_LoginHelper.idl: New file, defines
635 interface whereby authentication clients can identify agents which
636 need access to services during the login process, e.g. screen lock
639 * login-helper/Makefile.am : New.
641 * login-helper/login-helper.[ch] : New, implementation of
642 a LoginHelper base class. Services needing LoginHelper can subclass.
644 * test/Makefile.am : Added test for login-helper, client and
647 * test/app.c, at.c, keypad-test.c, keysynth-test.c, stress-test.c:
648 Use proper prefix in #include files.
650 * test/login-helper-client-test.c: New.
652 * test/login-helper-server-test.c: New.
654 2004-05-27 Alexander Shopov <ash@contact.bg>
656 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
658 2004-05-14 Padraig O'Briain <padraig.obriain@sun.com>
660 * cspi/spi_main.c (cspi_object_unref): Add check that reference count
661 is positive. This should make it easier to detect inapprorpiate unref
664 2004-05-11 James Henstridge <james@daa.com.au>
666 * configure.in: remove GNOME_PLATFORM_GNOME_2 macro, which is a
667 no-op and deprecated.
669 2004-05-03 Pablo Saratxaga <pablo@mandrakesoft.com>
671 * configure.in: Added "wa" (Walloon) to ALL_LINGUAS.
673 2004-04-28 Bill Haneman <billh@gnome.org>
675 * Makefile.am: Added --enable-gtk-doc to
676 DISTCHECK_CONFIGURE_FLAGS; fixes make distcheck.
678 2004-04-19 Bill Haneman <billh@gnome.org>
680 * configure.in: Revved to 1.5.1.
682 * registryd/deviceeventcontroller.c:
684 (DEControllerPrivateData): Added fields for
685 reserved_keycode, reserved_keysym, and reserved_reset_timeout.
686 (spi_dec_replace_map_keysym): New internal utility for
687 replacing a keysym in the keymap - used to allow
688 synthesis of individual characters which aren't in the
690 (spi_dec_reset_reserved): New; resets the changed keysym value
692 (keycode_for_keysym): We now try to deal with failed
693 XKeysymToKeycode requests by changing a keymap value
694 and returning a reserved keycode. We now take
695 a DEController pointer as first arg.
696 (spi_controller_register_with_devices): Call XkbGetMap with
697 the XkbKeySymsMask. Find the highest keycode in the current
698 keymap which doesn't have any grabs, and mark that one for
699 temporary re-mapping when out-of-range KeySyms are synthesized.
700 (dec_synth_keycode_press): Call XFlush after synthesizing the key
703 2004-04-08 Guntupalli Karunakar <karunakar@freedomink.org>
705 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
707 2004-03-24 Alexander Winston <alexander.winston@comcast.net>
709 * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
711 2004-03-24 Bill Haneman <billh@gnome.org>
714 (AccessibleTable_addRowSelection),
715 (AccessibleTable_addColumnSelection),
716 (AccessibleTable_removeRowSelection),
717 (AccessibleTable_removeColumnSelection):
718 Add declarations for spi wrappers which were
719 inadvertantly omitted. Fixes bug #133413.
722 Revved to 1.5.0 (unstable series for GNOME 2.7).
724 2004-03-24 Bill Haneman <billh@gnome.org>
726 * atk-bridge/bridge.c:
727 Bracketed some debug output in
728 conditionals, to avoid printing it in normal use.
731 * libspi/hyperlink.c:
732 Don't cast 'object' to ATK_OBJECT when constructing
733 an AtkAction interface for a hyperlink.
734 See discussion in bug #120659.
736 * test/key-listener-test.c:
737 (report_all_key_event): Send output to stderr,
738 not stdout, for consistency with the rest of the test callbacks.
741 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
742 Don't add X_LIBS to CFLAGS (Fix for bug #134332).
743 Incremented to 1.4.1 (but didn't dist yet - I'm going to
744 try incrementing the revision AFTER doing a dist, at least
747 2004-03-22 Bill Haneman <billh@gnome.org>
749 * configure.in: Revved to 1.4.0, libtool 9.14.9
751 2004-03-17 Laszlo Peter <laca@sun.com>
753 * libspi-1.0-uninstalled.pc.in: add idldir
755 * cspi-1.0-uninstalled.pc.in: add idldir
757 2004-03-16 Gareth Owen <gowen72@yahoo.com>
759 * configure.in: Added "en_GB" to ALL_LINGUAS
761 2004-03-15 Bill Haneman <billh@gnome.org>
763 * configure.in: Revved to 1.3.16,
766 2004-03-15 Laszlo Peter <laca@sun.com>
768 * libspi-1.0-uninstalled.pc.in: new file
770 * cspi-1.0-uninstalled.pc.in: new file
772 * configure.in: add the new pc files to AC_OUTPUT
774 * Makefile.am: add the new pc files to EXTRA_DIST
776 2004-03-12 Bill Haneman <billh@gnome.org>
778 * atk-bridge/bridge.c:
779 (spi_atk_bridge_key_listener):
780 Make sure to return consumed=FALSE if snoop
781 event is not dispatched to listener.
784 2004-03-01 Bill Haneman <billh@gnome.org>
786 * configure.in: Revved to 1.3.15,
789 2004-03-07 Danilo Segan <dsegan@gmx.net>
791 * configure.in: Added "sr@ije" to ALL_LINGUAS.
793 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
795 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
797 2004-03-01 Bill Haneman <billh@gnome.org>
799 * configure.in: Revved to 1.3.14.
802 (SPI_exit): Removed "bye-bye" exit message.
803 Moved "leak" report to happen before the
804 iteration over the leaked refs list.
805 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
807 2004-02-24 Bill Haneman <billh@gnome.org>
809 * configure.in: Revved to 1.3.13.
811 * docs/reference/cspi/Makefile.am:
812 Correct typo that was breaking the docs build.
814 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
816 * autogen.sh: Require version 1.7 of automake.
818 * configure.in: call GTK_DOC_CHECK([1.0])
820 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
822 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
824 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
826 * test/Makefile.am: Remove use of CFLAGS.
828 This fixes bug #132987.
830 2004-02-11 Bill Haneman <billh@gnome.org>
832 * reverted most of Tomasz' patch below, since it was breaking
833 builds (see bug #134058).
835 2004-02-10 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
837 * docs/reference/cspi/at-spi-cspi.types: added empty file for
838 correct pass "make dist" (empty .. because seems no sach types in
839 header files with gtk-doc markups).
840 * docs/reference/cspi/Makefile.am, configure.in:
841 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
842 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
843 * Makefile.am: added:
844 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
845 for force correct pass generate documentation on "make distcheck".
846 * libspi/Makefile.am: fixes for automake >= 1.6.
847 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
848 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
851 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
853 * docs/reference/cspi/Makefile.am (install-data-local): Install
854 index.sgml since the doc autobuilder on widget.gnome.org looks for
857 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
859 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
862 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
864 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
866 2004-01-27 Brian Cameron <brian.cameron@sun.com>
868 * test/simple-at.c: Fixed null string problems that cause core
869 dumping problems on Solaris.
871 2004-01-12 Bill Haneman <billh@gnome.org>
873 * configure.in: Incremented version to 1.3.11.
875 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
877 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
878 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
881 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
883 * configure.in: Added "fa" to ALL_LINGUAS.
885 2003-12-20 Arafat Medini <lumina@silverpen.de>
887 * configure.in: Added "ar" to ALL_LINGUAS
889 2003-12-16 Bill Haneman <billh@gnome.org>
891 * registryd/registry-main.c:
893 Set the reg_env DISPLAY variable before registering the
894 activated registry service. Fixes bug #129479.
896 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
898 * configure.in: Added "id" in ALL_LINGUAS
899 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
901 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
903 * registryd/deviceeventcontroller.c (global_filter_fn):
904 When an event is consumed discard any XEvents were added to
905 the queue while dealing with the the event. This can happen if
906 processing of the event takes a long time. Call XUngrabKeyboard
907 if an event was discarded. This fixes bug $124837.
908 Only call wait_for_release_event for a KeyPress.
909 Use local variable display instead of spi_get_display().
910 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
913 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
915 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
916 Allow for mask to contain values other than NumLock mask.
919 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
921 * registryd/devieceventcontroller.c:
922 (wait_for_release_event): Change first parameter from GdkEvent to
924 (global_filter_fn); Correct call to wait_for_release_event.
928 2003-12-08 Bill Haneman <billh@gnome.org>
932 * registryd/ucs2keysym.c: New file.
934 * registryd/deviceeventcontroller.c:
935 (dec_keysym_for_unichar): Remove old partial implementation and
936 replace with call to ucs2keysym(), which is much more complete.
937 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
942 2003-12-05 Bill Haneman <billh@gnome.org>
944 * configure.in: Version 1.3.9.
946 * docs/reference/cspi/tmpl/spi_registry.sgml:
947 Added reference to libspi/keymasks.h to the
948 description of Registry queries: AccessibleKeyMaskType.
951 2003-12-04 Bill Haneman <billh@gnome.org>
955 * idl/Accessibility_Application.idl:
956 (Accessibility::LOCALE_TYPE): New enum, corresponds to
957 setlocale's LC_TYPEs.
958 (Accessibility::Application::getLocale): New method.
959 Allows clients to query the locale, by type, of an app.
962 * cspi/spi_application.c:
963 (AccessibleApplication_getLocale): New method, wraps IDL above.
965 * libspi/application.c:
966 (spi_application_class_init): Init epv entry for getLocale.
967 (impl_accessibility_application_get_locale): Impl for above.
969 * test/test-simple.c:
970 (test_application): Added assertion for getLocale, i.e.
971 that the string from AccessibleApplication_getLocale (app, type)
972 is the same as that from setlocale (type, NULL);
974 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
976 *registryd/deviceeventcontroller.c: Add an idle handler which polls
977 the keyboard on a timeout intil the key state goes from pressed to
978 released. Fixes bug #111429.
980 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
982 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
983 root object so that it is present when a context menu in an
984 out-of-process applet is popped up.
985 (spi_atk_bridge_do_registration): Create acceessible application root
986 object only if it does not exist.
988 This fixes bug #125834.
990 2003-12-01 Bill Haneman <billh@gnome.org>
992 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
995 Added enum for AccessibleStreamableContentSeekType.
996 (AccessibleStreamableContent_freeContentTypeList): New.
998 * cspi/spi_streamablecontent.c:
999 (accessible_bonobo_stream_client_seek): New private method.
1000 (AccessibleStreamableContent_seek): Implemented this method,
1001 using Bonobo_Stream_seek.
1002 (AccessibleStreamableContent_freeContentTypeList): New method
1003 for freeing the return value from
1004 AccessibleStreamableContent_getContentTypes.
1005 (stream_cache_item_free): Replaces stream_release; stop leaks.
1006 (stream_release): removed.
1007 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
1008 free the memory properly.
1010 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
1012 Fix for bug #116009.
1014 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
1016 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
1018 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
1020 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
1022 2003-12-01 Bill Haneman <billh@gnome.org>
1024 Fix for bug/rfe #127463.
1026 * idl/Accessibility_Accessible.idl:
1027 (getLocalizedRoleName): New.
1028 (unimplemented4): Removed (replaced by above).
1030 * libspi/accessible.c:
1031 (impl_accessibility_accessible_get_local_role_name): New.
1032 (spi_accessible_class_init): Add getLocalizedRoleName entry to
1036 (Accessible_getLocalizedRoleName): New.
1038 * cspi/spi_accessible.c:
1039 (Accessible_getLocalizedRoleName): New.
1041 2003-12-01 Bill Haneman <billh@gnome.org>
1043 Fix for bug #118581.
1044 * idl/Accessibility_Text.idl:
1045 (getDefaultAttributes): New.
1046 (unimplemented4): Removed (replaced by above method).
1049 (impl_getDefaultAttributes): New method.
1050 (spi_text_class_init):
1051 initialize the get_default_attributes slot in the epv.
1054 (AccessibleText_getDefaultAttributes): New prototype.
1057 (AccessibleText_getDefaultAttributes): New method.
1059 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
1061 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
1062 write beyond the end of the table. Fixes bug #120473.
1064 2003-09-30 Christian Rose <menthos@menthos.com>
1066 * configure.in: Added "eu" to ALL_LINGUAS.
1068 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
1070 * configure.in: ALL_LINGUAS: Added no.
1072 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
1074 * configure.in: Added lt to ALL_LINGUAS.
1076 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
1078 * atk-bridge/bridge.c:
1079 (atk_bridge_init): Register event listeners always even for
1080 out-of-process applet.
1081 (spi_atk_bridge_toplevel_added): Remove call to
1082 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
1083 (spi_atk_bridge_toplevelk_removed): Remove call to
1084 spi_atk_deregister_event_listenersa as the listeners are now always
1086 (spi_atk_bridge_register_application): Remove call to
1087 spi_atk_register_event_listeners as it is not done in atk_bridge_init
1089 This fixes bug #120991.
1091 * libspi/table.c (impl_getColumnDescription): Correct typo,
1092 pointed out by Bolian.Yin@sun.com.
1094 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
1096 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
1098 2003-09-08 Bill Haneman <billh@gnome.org>
1100 * configure.in: Revved to 1.3.7.
1102 This is the GNOME 2.4.0 release of at-spi.
1104 * docs/reference/cspi/Makefile.am:
1105 Removed spurious inclusion of 'index.sgml' in the
1106 html directory; this was breaking make distcheck and
1107 also some other build environments.
1109 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
1111 * registryd/registry.[ch}:
1112 Add queue_handler_id and focus_object to SpiRegistry data structure.
1113 (registry_flush_event_queue): If event being discarded is
1114 "state-change:focused" store object as focus_object.
1115 (registry_start_queue): Remove queue handler and focus object
1117 (registry_discard_event): New function which discards a focus event
1118 if we had stored focus object in the registry.
1119 (registry_queue_event): Add new check that is_queueing is set as this
1120 function is reentrant.
1121 (registry_filer_event): Add call to registry_discard_event.
1123 This resolves issues raised in bug #108664.
1125 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
1127 * configure.in: Added "bn" to ALL_LINGUAS.
1129 2003-09-04 Bill Haneman <billh@gnome.org>
1131 * cspi/spi_event.c: Documentation improvements for
1132 (SPI_registerAccessibleKeylistener).
1134 * docs/reference/tmpl/spi_registry.sgml:
1135 Documentation improvements for SpiAccessibleKeylistenerCB.
1137 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
1139 * configure.in: Added "ro" to ALL_LINGUAS.
1142 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
1144 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
1145 not decremented to zero. Fixes bug #120725.
1147 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
1149 * configure.in: Added "ja" to ALL_LINGUAS.
1151 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
1153 * configure.in: Added "is" to ALL_LINGUAS.
1155 2003-08-22 Christian Rose <menthos@menthos.com>
1157 * configure.in: Added "nl" to ALL_LINGUAS.
1159 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1161 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
1162 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
1164 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
1166 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
1167 type for unspecified exception.
1168 * cspi_streamablecontect): Add include of string.h for memcpy.
1169 (stream_release): Correct call to bonobo_object_release_unref
1170 (stream_cache_item_free): Correct call to bonobo_object_release_unref
1171 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
1172 argument of _cspi_expection_throw.
1173 * libspi/hyperlink.c: Add include of libspi/action.h:
1174 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
1175 * libspi/streamablecontent.c: add include of libspi/component.h.
1176 * regisrtyd/deviceeventcontroller.c:
1177 (spi_dec_translate_mask): Removed unused variable priv.
1178 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
1179 * registryd/registry.c:
1180 (registry_filter_event): Remove unused variable queue_is-empty.
1181 (impl_registry_notify_event): Use correct modifier in fprintf call.
1183 This fixes compiler warnings reported in bug #120220.
1185 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
1187 * registryd/registryd.c: Remove this file.
1189 2003-08-17 Sanlig Badral <badral@openmn.org>
1191 * configure.in: Added mn to ALL_LINGUAS.
1193 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
1195 * configure.in: Added et to ALL_LINGUAS.
1197 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
1199 * test/event-listener-test.c: Change active-descendant to
1200 active-descendant-changed.
1202 2003-08-10 Sami Pesonen <sampeson@iki.fi>
1204 * configure.in: Added "fi" in ALL_LINGUAS.
1206 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
1208 * configure.in: Added "hi" in ALL_LINGUAS.
1210 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
1212 * configure.in: Revved to 1.3.6.
1216 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
1218 * registryd/deviceeventcontroller.c
1219 (spi_device_event_controller_object_finalize): Fix typo in previous
1222 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
1224 * registryd/deviceeventcontroller.c
1225 (spi_device_event_controller_object_finalize): Fix build on
1226 systems without XEvIE.
1228 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
1230 * acconfig.h, configure.in, registryd/Makefile.am,
1231 registryd/devicecontoller.[ch]: Add XEViE support.
1233 2003-08-06 Wang Jian <lark@linux.net.cn>
1235 * configure.in: Added "zh_CN" to ALL_LINGUAS.
1237 2003-08-06 Metin Amiroff<metin@karegen.com>
1239 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
1241 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
1243 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
1244 MODIFIER_ALT in correct place.
1246 This fixes part of bug #118114.
1248 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
1250 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
1252 2003-07-28 Changwoo Ryu <cwryu@debian.org>
1254 * configure.in: Added "ko" to ALL_LINGUAS.
1256 2003-07-28 Ole Laursen <olau@hardworking.dk>
1258 * configure.in: Added "da" to the commented out ALL_LINGUAS.
1260 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
1262 * configure.in: Added "sq" to ALL_LINGUAS.
1264 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
1266 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
1268 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
1270 * configure.in: updated ALL_LINGUAS list
1272 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1274 * configure.in: Added Belarusian to ALL_LINGUAS.
1276 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
1278 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
1280 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
1281 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
1283 This fixes bug #116949.
1285 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
1287 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
1288 Correct CSPI to SPI in function documentation.
1290 This fixes bug #118054.
1292 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1294 * configure.in: Added Russian to ALL_LINGUAS.
1296 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
1298 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
1300 2003-07-14 Danilo Ã…Â Segan <dsegan@gmx.net>
1302 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
1304 2003-07-10 Joel Brich <joel.brich@laposte.net>
1306 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
1308 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
1310 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
1312 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
1314 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
1315 resources allocated for AccessibleEvent. See cspi_event().
1317 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
1318 static variable streams to NULL.
1320 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
1321 Update so that AcessibleEvent_ref will work.
1323 This fixes bug #116624.
1325 2003-07-06 Jordi Mallach <jordi@sindominio.net>
1327 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
1329 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
1331 * configure.in: Added "fr" (French) to ALL_LINGUAS.
1333 2003-07-02 Christian Neumair <chris@gnome-de.org>
1335 * configure.in: Added "de" (German) to ALL_LINGUAS.
1337 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
1339 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
1341 2003-07-01 Miloslav Trmac <mitr@volny.cz>
1343 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
1345 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
1347 * configure.in: Added "pl" to ALL_LINGUAS.
1349 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
1351 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
1353 2003-06-30 Bill Haneman <bill.haneman@sun.com>
1356 (get_action_from_servant):
1357 Removed assertion that action is implemented on an AtkObject.
1359 * libspi/hyperlink.c:
1360 (spi_hyperlink_new):
1361 Aggregate AccessibleAction interface on the hyperlink object if
1362 the object implements AtkAction. (This convention is used in
1365 2003-06-30 Bill Haneman <bill.haneman@sun.com>
1367 * configure.in: Revved to 1.3.5.
1369 * registryd/Accessibility_Registry.server.in.in:
1370 Marked up appropriate strings for translation.
1372 * atk-bridge/bridge.c: Marked a couple of
1373 user-visible warnings for translation. Questionable
1374 whether they are really useful, but possibly so.
1377 2003-06-28 Christian Rose <menthos@menthos.com>
1379 * configure.in: Added "sv" to ALL_LINGUAS.
1381 2003-06-26 Bill Haneman <bill.haneman@sun.com>
1383 * registryd/registry.c:
1384 (spi_registry_object_finalize): Unref the deviceeventcontroller.
1385 (registry_defer_on_event): Defer focus: events, this is an
1386 improvement to the patch for bug #108664.
1388 * TODO: Update with 2.4/"Dev Complete" items.
1390 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
1392 * atk-bridge/bridge.c:
1393 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
1394 looks up signals once.
1395 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
1396 if doing registration.
1397 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
1398 when doing registration.
1400 This fixes bug #115014.
1402 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
1404 * atk-bridge/bridge.c:
1405 (atk_bridge_init): Add signal handler for children-changed:remove on
1406 root when in a BonoboComponent.
1407 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
1408 for first toplevel only other incrememt variable toplevels.
1409 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
1410 application and remove listeners.
1411 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
1413 (spi_atk_deregister_event_listeners): New function which removes
1415 (reinit_register_vars): New fuction which reinitializes variables.
1417 This fixes bug #111578.
1419 2003-06-13 Bill Haneman <bill.haneman@sun.com>
1421 * configure.in: version 1.3.4.
1423 * cspi/spi_accessible.c:
1424 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
1427 2003-06-13 Michael Meeks <michael@ximian.com>
1429 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
1431 * cspi/spi_main.c (cspi_peek_ev): impl.
1433 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
1435 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
1437 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
1439 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
1440 SPI_ROLE_AUTOCOMPLETE
1442 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
1444 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
1445 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
1447 2003-06-11 Bill Haneman <bill.haneman@sun.com>
1449 * libspi/streamablecontent.h:
1450 * libspi/streamablecontent.c:
1451 New files, provide implementation/wrappers for
1452 Accessibility_StreamableContent.
1454 * cspi/spi_streamablecontent.c:
1455 Connected the C wrappers to the libspi C bindings.
1456 (AccessibleStreamableContent_close): New method.
1459 (AccessibleStreamableContent_close): New method, needed
1460 since we have an "open, [seek], read, close" model in cspi.
1462 2003-06-11 Bill Haneman <bill.haneman@sun.com>
1464 Fix for #108664; Padraig's revision of my original patch.
1466 * registryd/registry.h:
1467 Added event queue list, is_queuing, and exit_notify_timeout
1468 to the registry struct.
1470 * registryd/registry.c:
1471 (registry_init): Initialize new struct from registry.h.
1472 (impl_registry_notify_event):
1473 Filter events before notifying, in case some need to be
1475 (registry_filter_event): New,
1476 we defer certain incoming events (for instance
1477 window:deactivate) because we may wish to hide
1478 or reject them based on pending events. This is
1479 mostly a workaround for bug #108664.
1480 (registry_queue_event, registry_start_queue): New.
1481 (registry_defer_on_event): Test event to see if it
1483 (registry_reset_on_event): Returns TRUE if the
1484 event should cause a queue reset.
1485 (registry_discard_on_event): Returns TRUE if the event
1486 should cause the previous queue contents to be discarded.
1487 (registry_timeout_flush_queue): Flushes the pending event
1488 queue if no reset/discard-triggering events have come in
1489 within the timeout period.
1490 (registry_emit_event): New.
1491 (registry_clone_notify_context): New, used when queueing the
1492 event notify contexts.
1494 2003-06-10 Bill Haneman <bill.haneman@sun.com>
1496 * configure.in: Version revved to 1.3.2, lt 0.9.2
1497 Incremented ATK required version to 1.3.4.
1499 * cspi/spi_registry.c:
1500 (SPI_generateKeyEvent):
1501 We now pass the keystring along if it's non-null.
1503 * registryd/deviceeventcontroller.c:
1504 (keysym_mod_mask): New method, returns modifier mask
1505 required to generate a keysym from a given keycode.
1506 (dec_synth_keysym): New method.
1507 (dec_synth_keystring): New method.
1508 (dec_get_modifier_state): New method.
1509 (dec_lock_modifiers): New
1510 (dec_unlock_modifiers): New.
1511 (dec_keysym_for_unichar): New, rather brute-force
1512 conversion from UCS-4 to X KeySyms. Only works for
1513 Latin at the moment, with partial implementations for
1514 Greek, Hebrew, and (incomplete) Katakana.
1515 (impl_generate_keyboard_event): Now implement
1516 "KEYSTRING" synthesis and implement "KEYSYM"
1518 (keycode_from_keysym): Improved, passes a returned
1519 modmask value now if the corresponding param is non-NULL.
1521 Fixes bugs #92143 and #109776.
1524 * test/keysynth-test.c:
1525 New test program for key synthesis, to confirm fixes for
1529 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
1531 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
1533 * cspi/spi_accessible.c (cspi_init_relation_type_table):
1534 Add line for RELATION_POPUP_FOR
1536 * docs/reference/cspi/tmpl/spi_relation.sgml:
1537 Add relation SPI_RELATION_POPUP_FOR
1539 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1540 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
1542 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
1544 * libspi/relation.c (spi_init_relation_type_table):
1545 Add line for RELATION_POPUP_FOR
1547 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
1549 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
1550 there are still windows which have not been deleted and emit
1551 window:deactivate, if necessary and window:destroy events.
1552 This fixes bug #114370. The change on June 5th was not correct.
1554 2003-06-09 Bill Haneman <bill.haneman@sun.com>
1556 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
1559 (SPI_dupString): Allow dup-ing of a string such that it's safe to
1561 New methods for client exception handling and interception.
1562 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
1563 (SPI_exceptionHandlerPop): You guessed it...
1564 (SPI_getSourceType): Return the type of object which offended.
1565 (SPI_getExceptionCode): Return an enum code telling, possibly,
1566 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
1567 (SPIAccessibleException_getSource): get the source object for
1568 exceptions that come from Accessibles, if SPIExceptionSourceType is
1569 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
1570 (SPIException_getDescription): New, returns a string description of
1571 the problem. [Not yet a stable ABI, strings are not frozen]
1573 * cspi/spi-private.h:
1574 Added implementation details of opaque SPIException
1578 Implementations of above. Also
1579 (_cspi_exception_throw): new private method that
1580 dispatches exceptions to handlers, called from cspi-bonobo.c
1582 * cspi/bonobo/cspi-bonobo.c:
1583 (cspi_check_ev): call _cspi_exception_throw.
1584 Don't print a warning message if the exception has been
1585 handled by _cspi_exception_throw.
1587 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
1589 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
1590 there are still windows which have not been deleted and emit
1591 window:deactivate, if necessary and window:destroy events.
1592 This fixes bug #114370.
1594 2003-06-03 Bill Haneman <bill.haneman@sun.com>
1597 (cspi_accessible_is_a): Make non-fatal
1598 if the object reference is dead.
1600 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
1602 * cspi/spi_main.c: #include <stdio.h>
1603 * test/simple-at.c: ditto
1604 * test/event-listener-test.c: ditto
1605 * test/screen-review-test.c: ditto
1607 2003-05-30 Michael Meeks <michael@ximian.com>
1609 * test/test-simple.c (main): use CORBA_ORB_perform_work
1610 instead of an unnecessary linc_ call.
1612 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
1614 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
1615 Add SPI_STATE_INDETERMINATE.
1617 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
1620 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
1622 * libspi/stateset.c (init_state_type_tables): Add support for
1625 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
1627 * configure: Update versions of atk and gail required.
1628 This fixes bug #113268.
1630 2003-05-02 Bill Haneman <bill.haneman@sun.com>
1632 * configure.in: Revved micro version to 1.3.1 (because of build fix).
1634 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
1636 * libspi/Makefile.am:
1637 Ensure headers are generated before being used by c sources.
1639 2003-05-01 Bill Haneman <bill.haneman@sun.com>
1642 Simplified lt versioning rules.
1643 Incremented version to 1.3.0, to indicate that we're on the
1644 unstable branch now.
1646 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
1648 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
1649 Add MKDB_OPTIONS=--outtput-format=xml
1651 * docs/reference/cspi/at-spi-cspi-docs.sgml
1652 docs/reference/idl/at-spi-idl-docs.sgml:
1653 Convert to Docbook XML.
1655 This fixes bug #111793.
1657 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
1659 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
1660 AcccessibleKeyEventType, AccessibleKeyMaskType.
1662 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
1664 * cspi/state-types.h: Add documentation for AccessibleState.
1666 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
1667 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
1668 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
1669 AccessibleComponentLayer.
1671 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
1674 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
1676 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
1677 Accessible. Add description of AccessibleEvent,
1678 AccessibleEventListenerCB.
1680 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
1683 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
1684 documentation. Add description of AccessibleKeystrokeListenerCB,
1685 AccessibleKeyEventMask, AccessibleModifierMaskType,
1686 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
1687 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
1689 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
1692 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
1695 This fixes bug #104730.
1697 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
1699 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
1700 Set is_text field of Accessibility_DeviceEvent data structure.
1702 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
1703 is-text field of AccessibleDeviceEvent data structure.
1705 This addresses part of bug #108666.
1707 * registryd/devcieeventcontroller.c: Unset debug option.
1709 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
1711 * cspi/accessible.c:
1712 (cpi_initial_relation_type_table): New function which initializes
1713 mapping between Accessibility_RelationType and AccessibleRelationType.
1714 (cspi_relation_type_from_spi_relation_type): New function which
1715 translates an Accessibility_RelationType into an AccessibleRelationType.
1716 (AccessibleRelation_getRelationType): Use
1717 cpi_relation_type_get_spi_relation_type to return correct value.
1718 (spi_state_to_corba): Return correct type for default case.
1720 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
1721 Use Accessibility_EventType instead of Accessibility_KeyEventType.
1723 * cspi/cspi-bonobo-listener.c:
1724 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
1727 * libspi/accessible.c, libspi/action.c, libspi/application.c,
1728 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
1729 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
1730 libspi/image.c, libspi/listener.c, libspi/selection.c,
1731 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
1732 registryd/desktop.c, registryd/registry.c:
1733 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1735 * libspi/eventlistener.c
1736 Remove semicolon after BONOBO_TYPE_FUNC.
1738 * libspi/relation.c:
1739 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1740 (spi_init_relation_type_table): Initialize using correct type.
1742 * registryd/desktop.c:
1743 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1744 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
1745 of Accessibility_KeyEventType.
1747 * test/key-listener-test.c (report_tab_key_event): Use fprintf
1750 * tests/simple-at.c, tests/screen-review-test.c:
1751 Add include for <strings.h>.
1753 * tests.stress-test.c:
1754 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
1756 These changes fix compiler warnings when using FORTE compiler on
1757 Solaris; fixes bug #107479.
1760 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1763 * configure.in: revved to 1.1.10
1765 * libspi/keymasks.h:
1766 (SPI_KEYMASK_NUMLOCK): Added.
1768 * registryd/deviceeventcontroller.c:
1769 (spi_key_event_matches_listener): AND with a smaller
1770 bitmask (as we should).
1771 (spi_dec_translate_mask):
1772 New method, sets the virtual NumLock modifier bit
1773 if numlock is on. Eventually it can handle other virtual
1774 modifier bits if needed, or other marshalling from
1775 at-spi modifier masks to platform (X) masks.
1776 (spi_dec_key_listener_new):
1777 Call spi_dec_translate_mask to set up virtual mod bits
1778 in the 'mask' field when creating a new listener struct.
1779 (spi_dec_emit_modifier_event):
1780 Set the virtual (i.e. NumLock) bits before emitting event.
1781 (spi_controller_register_with_devices):
1782 Query for the NumLock modifier 'physical' bit if Xkb is
1783 present, for use in above methods.
1787 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1789 * registryd/deviceeventcontroller.c:
1790 (spi_keystroke_from_x_key_event):
1791 Instead of checking to see if the keysym is
1792 printable, check the string from XLookupString
1793 if available, get the first unicode character from it,
1794 and call g_unichar_isprint to determine whether the
1795 is_text flag should be TRUE or FALSE.
1799 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1801 * atk-bridge/bridge.c: Add support for extended events
1802 * cspi/spi_event.c: Add documentation and implementation for
1804 * tests/event-listener-test.c: Add tests for extended events.
1806 This fixes bugs #100424 and #100426.
1808 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1810 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
1811 of LT_CURRENT. This fixes bug #89350.
1813 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
1815 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
1816 number of signal parameter values before accessing them. This fixes
1819 2003-04-01 Bill Haneman <bill.haneman@sun.com>
1821 * configure.in: Fixed duplicate inclusion of -lspi.
1822 * branched for gnome-2-2/HEAD.
1823 [created tag "gnome-2-2"]
1825 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1827 * configure.in: 1.1.9 release.
1830 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1832 [needed by GOK, to fix bugs 107985 and 107988]
1833 * registryd/deviceeventcontroller.c:
1834 (spi_dec_clear_unlatch_pending):
1835 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
1836 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
1837 (spi_dec_init_mouse_listener):Emit warning if mouse button
1839 (spi_device_event_controller_forward_mouse_event):
1840 Removed unnecessary parens from a conditional.
1841 (global_filter_fn):Added TODO comment.
1842 (impl_generate_keyboard_event):
1843 Cancel a pending relatch if a 'delatching' key was
1846 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
1848 * atk-bridge/bridge.c:
1849 Change atk_signal_child_changed to atk_signal_children_changed.
1850 Reorganize code in spi_atk_bridge_signal_listener().
1852 * test/event-listener-test.c:
1853 Add children_changed_listener and report_children_changed_event()
1854 to test AccessibleChildEvent_getChildAccessible.
1856 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
1858 * cspi/spi_event.c (cspi_internal_event_get_text): Change
1859 g_strdup to CORBA_String_dup (bug #105291)
1861 * test/event-listener-test.c (report_text_event): Add call to
1864 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1866 * registryd/deviceeventcontroller.c:
1867 (spi_keystroke_from_x_key_event):
1868 Fix string and keysym return codes to match modifier state.
1871 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1873 * registryd/deviceeventcontroller.c:
1874 (spi_keystroke_from_x_key_event):
1875 Fix segv due to improper use of isprint(c). [bug #107254]
1877 2003-02-24 Bill Haneman <bill.haneman@sun.com>
1880 (get_accessible_text_boundary_type):
1881 Move default return value to (new) default case in switch.
1882 (get_accessible_text_clip_type):
1883 Move default return value to (new) default case in switch.
1885 * libspi/application.c:
1886 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
1887 Remove unused methods.
1888 (impl_accessibility_application_register_object_event_listener):
1889 Remove unused methods.
1892 Added #include of <math.h>.
1894 * registryd/deviceeventcontroller.c:
1895 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
1896 we don't currently use this method.
1897 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
1899 (impl_generate_key_event):
1900 Remove unused variables.
1901 (impl_generate_mouse_event):
1902 Initialize button to zero, just in case we get an invalid
1903 input. Added support for mouse buttons 4 and 5.
1904 (spi_device_event_controller_new):
1905 Removed unused variable declaration for 'private'.
1907 Added #include of <gdk/gdk.h>
1909 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1911 * configure.in: Update to work when X is not installed in expected
1912 location. Fixes bug #105836.
1914 * atk-bridge/bridge.c
1915 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
1917 (spi_atk_register_event_listener): Add signal listener for
1919 (spi_atk_bridge_signal_listener): Event event when link-selected
1920 signal is emitted. (bug #104622)
1922 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
1923 on returned string. (bug #105291)
1925 * test/event-listener-test.c: Add test for link-selected.
1927 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1929 * atk-bridge/Makefile.am: Correct typo in previous commit.
1931 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
1933 * atk-bridge/Makefile.am: Allow for build directory to be different
1934 from source directory
1936 * registryd/Makefile.am: Allow for build directory to be different
1937 from source directory
1941 2003-01-29 Bill Haneman <bill.haneman@sun.com>
1944 Fixed dependencies for libcspi so that libspi gets pulled in
1945 properly. Fixes 104741.
1949 Clean up inline docs a little.
1951 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
1953 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
1954 This is done by implementing AtkComponent for SpiAtkDesktop, which is
1955 the AtkObject within an SpiDesktop.
1956 This addresses bug #101524.
1958 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
1959 Remove call to gdk_init().
1961 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
1962 so that Display is set when SpiDesktop is created.
1964 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
1966 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
1967 This fixes bug #102830.
1969 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1971 * test/test-simple.c: Update to take account of fact that GailButton
1972 now implements AtkText.
1973 (create_text_window): Set name on AtkObject for GtkEntry.
1974 (validate_accessible): Check accessible name before calling test_text().
1976 * libspi/Makefile.am: Fix problem with building outside of source
1977 directory. Bug #98120.
1979 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
1980 typo in documentation comments. Bug #94275.
1982 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1984 * libspi/text.c (impl_getBoundedRanges): Bug fix.
1986 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
1989 Add includes to avoid compiler warnings on Solaris.
1990 (impl_getRangeExtents): Bug fix.
1992 2002-12-17 Bill Haneman <bill.haneman@sun.com>
1994 Fix for 100944, [API addition approved by Gman and murrayc].
2001 * idl/Accessibility_Text.idl:
2002 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
2003 (Text::getRangeExtents): New method for efficient
2004 bounds query of a text range.
2005 (Text::getBoundedRanges): New method for efficient
2006 clipping of text to bounding boxes.
2007 (unImplemented7, unImplemented8):
2008 Removed these padding methods to preserve bincompat.
2011 (impl_getRangeExtents): implementation of new IDL.
2012 (impl_getBoundedRanges): implementation of new IDL.
2013 (SpiTextRect): Internal use struct.
2014 (_spi_text_rect_union): internal method, calculates union of two
2015 SpiTextRect bounding rects.
2016 (_spi_text_range_seq_from_gslist): internal method, allows us
2017 to build our sequence efficiently as a gslist then convert it
2019 (_spi_bounds_contain): internal method, determines whether
2020 a text character is "in" or "out" of a clip rect according to
2021 values of TEXT_CLIP_TYPE.
2022 (spi_text_class_init): Initialize the new methods in the epv.
2025 (AccessibleTextClipType): New enum used by screen review api.
2026 (AccessibleTextRange): New struct used by screen review api.
2027 (AccessibleText_getRangeExtents):
2028 cspi binding for Accessibility_Text_getRangeExtents.
2029 (AccessibleText_getBoundedRanges):
2030 cspi binding for Accessibility_Text_getBoundedRanges.
2031 (AccessibleTextRange_freeRanges): convenience method.
2034 (AccessibleText_getRangeExtents):
2035 cspi binding for Accessibility_Text_getRangeExtents.
2036 (AccessibleText_getBoundedRanges):
2037 cspi binding for Accessibility_Text_getBoundedRanges.
2038 (AccessibleTextRange_freeRanges): convenience method.
2039 (get_accessible_text_clip_type): internal conversion method.
2040 (get_accessible_text_ranges_from_range_seq): internal conversion method.
2042 * registryd/deviceeventcontroller.c:
2043 (spi_dec_mouse_check):
2044 Improved behavior for mouse:abs events
2045 [same granularity as mouse:rel events, and no
2046 events when mouse is idle].
2048 2002-12-16 Michael Meeks <michael@ximian.com>
2050 * cspi/spi_accessible.c (spi_state_to_corba): rename.
2052 * libspi/stateset.c (state_spi_to_atk): split out
2053 ( fix several remote array bounds nasties )
2054 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
2055 (impl_remove): make safe from array bounds issues.
2056 (spi_atk_state_from_spi_state): impl.
2058 * libspi/stateset.h (spi_state_set_cache_is_empty):
2059 add a set of wrapper defines to get layering right.
2061 * cspi/spi_accessible.c: update state set stuff to
2064 2002-12-14 Michael Meeks <michael@ximian.com>
2066 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
2067 to avoid 2 roundtrips to the registry per key event
2068 (spi_atk_bridge_key_listener): upd.
2069 (deregister_application): release the dec.
2071 * registryd/registry.c (notify_listeners_cb):
2072 bin lots of re-enterant complexity - we no longer
2073 do a round-trip bonobo ref here, ensure that a single
2074 listener's exception failure won't poison all other
2076 (impl_registry_notify_event): bin obvious memory leak.
2078 2002-12-13 Michael Meeks <michael@ximian.com>
2080 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
2081 init the ev so the error is meaningful.
2082 (spi_atk_bridge_key_listener): ditto.
2084 * cspi/spi_main.c (cspi_ev): init the ev so we start
2085 with a clean slate, otherwise the first exception
2086 kills us completely.
2088 * cspi/spi_text.c (get_accessible_text_boundary_type):
2089 add a fallthrough for no warnings.
2091 * cspi/spi_registry.c: prune unused warnings.
2093 * cspi/spi_main.c (cspi_object_take): fix
2094 mind-blowing brokenness ( by watching the compile
2097 * cspi/spi_accessible.c (Accessible_getStateSet):
2098 re-impl. to use an AtkStateSet.
2099 (spi_state_type_from_accessible_state),
2100 (init_state_table): bin these.
2102 * libspi/stateset.c (spi_atk_state_set_from_sequence):
2104 (atk_state_set_from_accessibility_state_set): here.
2106 * cspi/spi_accessible.c (spi_state_to_atk): impl.
2107 (AccessibleStateSet_contains, AccessibleStateSet_ref),
2108 (AccessibleStateSet_unref, AccessibleStateSet_contains),
2109 (AccessibleStateSet_add, AccessibleStateSet_remove),
2110 (AccessibleStateSet_equals, AccessibleStateSet_compare),
2111 (AccessibleStateSet_isEmpty): re-write to use a local
2114 2002-12-13 Bill Haneman <bill.haneman@sun.com>
2116 * configure.in: Revved to 1.1.7 (new keymask vals).
2118 2002-12-10 Bill Haneman <bill.haneman@sun.com>
2120 * libspi/keymasks.h:
2121 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
2123 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
2126 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
2127 to compare two CORBA_TypeCodes.
2128 (cspi_internal_event_add): Silence warning from FORTE compiler.
2130 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
2131 avoid implicit declaration of functions.
2133 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
2135 * atk-bridge/bridge.c:
2136 (spi_atk_bridge_init_event_type_consts): Store signal id for
2137 active-descendant-changed signal.
2138 (spi_atk_register_event_listeners): Add signal listener for
2139 active-descendant-changed signal,
2140 (spi_atk_bridge_signal_listener): Move code in function
2141 spi_atk-signal_emit_event() into this function.
2142 Add support for active-descendant-changed
2143 Update support for child-changed signal.
2144 (spi_bridge_window_event_listener): Silence warning.
2146 * libspi/spi_private.[ch]:
2147 (spi_init_any_object): Change second parameter from CORBA_Object to
2149 Omit call to CORBA_Object_duplicate().
2150 Set CORBA_any's _value to CORBA_Object*.
2152 2002-12-06 Bill Haneman <bill.haneman@sun.com>
2158 (AccessibleEvent_ref, AccessibleEvent_unref):
2159 New methods, for persisting an event outside the emission context.
2160 Must be used if the new accessor methods are to be called
2161 outside of the event listener's callback.
2163 * cspi/bonobo/cspi-bonobo.c:
2164 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
2165 as second parameter instead of NULL, so we can call
2166 cspi_check_ev afterwards.
2169 (cspi_object_take): New internal method,
2170 converts a CORBA_Object reference to a hard ref on
2171 an Accessible if possible, returning NULL if the object
2172 reference is invalid or an Accessible * otherwise.
2175 (AccessibleEvent_ref):
2176 Increment the event's internal private refcount, and
2177 add the event's internal struct to an internal cache
2178 if it's not already there.
2179 (AccessibleEvent_unref):
2180 Decrement the event's refcount and remove it from
2181 the cspi event cache if refcount==0.
2182 (cspi_event_compare): New private method.
2183 Compares two event structs via their ids. Used
2185 (cspi_internal_event_lookup): New private method.
2186 (cspi_internal_event_check): New private method,
2187 a 0-order sanity check for events to make sure their
2188 private data is intact.
2189 (cspi_internal_event_add, cspi_internal_event_remove):
2190 New private methods for managiing the event cache.
2192 * cspi/bonobo/cspi-bonobo-listener.c:
2194 Initialize the new private data elements (id, magic, ref_count).
2196 * atk-bridge/bridge.c:
2197 (spi_atk_bridge_signal_listener):
2198 Fixed bug #100530, passing wrong params to emission func.
2200 * registryd/deviceeventcontroller.c:
2201 (spi_dec_button_update_and_emit):
2202 Fixed type in mask bit operations; fix for #99799.
2204 2002-12-02 Bill Haneman <bill.haneman@sun.com>
2206 Removed some of the more dangerous workarounds from
2207 previous commit; they are only needed by GOK, which
2208 in reality should be using another method to accomplish
2209 the goals. So on reconsideration some of the workarounds
2210 need to be reverted:
2212 * registryd/deviceeventcontroller.c:
2213 (spi_keycodes_contain, spi_dec_init_keycode_list):
2214 Removed these methods, used only by a nasty hack to try
2215 and detect whether a key synthesis should be allowed
2216 to reset the XKB latch state or not. This code was only
2217 required to work around an interaction between GOK,
2218 button events, and XKB.
2219 (impl_generate_key_event):
2220 Removed hack at end of key generation that tried to
2221 "do the right thing" if XKB latch keys were generated
2222 in the midst of button press/release pairs.
2225 Added a check for HAVE_XINPUT. Not normally used yet.
2227 2002-11-25 Bill Haneman <bill.haneman@sun.com>
2229 Workarounds and fixes for mouse event/XKB interaction.
2231 * registryd/deviceeventcontroller.c:
2232 (spi_keycodes_contain, spi_dec_init_keycode_list):
2233 New internal methods.
2234 (spi_dec_set_unlatch_pending):
2235 Split the method that tells XKB to expect an
2236 unlatch (and revert it) out of the rest of the
2237 event handling code. This method is called by the
2238 two mouse event handlers (the poll and the filter).
2239 (spi_dec_update_and_emit, spi_dec_mouse_check):
2240 New methods split from spi_dec_poll_mouse_moved.
2241 The second one is now called from inside the filterFn
2242 when an XKB delatch event is received, to determine
2243 whether to revert the delatch or not.
2244 (spi_poll_mouse_moved): Refactor; also we can now
2245 properly handle the case where multiple button states
2246 have changed between polling cycles and we didn't get
2247 notified due to another client's grab.
2249 Synchronize the server while handling an XKB notification.
2250 Ugly, but apparently necessary to avoid nasty races.
2251 Check the mouse state on receipt of an XKB latch change,
2252 to decide whether to revert the latch or not. (Latches are
2253 reverted if there is an immediately preceding mouse button
2254 event that a client has consumed, in which case we don't want
2255 the user to see the side-effect of the event).
2256 (spi_device_event_controller_forward_mouse_event):
2257 Check for modifier events and fire before resetting mouse_mask_state,
2258 prevents losing modifier events.
2260 (impl_generate_keyboard_event):
2261 If we've just generated a keyboard event for a non-shift key,
2262 we don't want to revert the pending XKB latch.
2263 Otherwise, check the modifier state (via a call to
2264 spi_dev_mouse_check) and set the relatch mask to
2265 that state before returning.
2267 2002-11-24 Bill Haneman <bill.haneman@sun.com>
2270 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
2273 * atk-bridge/bridge.c:
2274 (spi_atk_register_event_listeners):
2275 Don't re-register for ATK events if the registry has died
2276 and the app needs to re-register; the ATK listeners are in
2277 process and doing so will cause duplicate emission.
2279 * registryd/deviceeventcontroller.c:
2280 (spi_poll_mouse_moved):
2281 Reformat the source, detect and emit multiple button-change
2282 events (i.e. if multiple buttons have changed between poll
2284 Add code to detect mouse-down events even when the pointer
2285 is grabbed; workaround for GOK bug 98420.
2286 (spi_controller_register_with_devices):
2287 Call XTestGrabControl with 'impervious' flag set to True,
2288 allows us to synthesize events and query the pointer even during
2289 an active grab by another client.
2290 (spi_device_event_controller_forward_mouse_event):
2291 Set the mouse_mask_state to the mouse_button_state from
2292 the intercepted event, to synchronize the grab listener with
2295 2002-11-20 Bill Haneman <bill.haneman@sun.com>
2297 * cspi/spi_accessible.c:
2298 (AccessibleRole_getName):
2299 Added necessary strings for making this (deprecated)
2300 method work with the new role types.
2301 (init_role_table, role_table):
2302 Added definition of SPI_ROLE_APPLICATION.
2304 * libspi/spi-roletypes.h:
2305 Added SPI_ROLE_APPLICATION.
2307 * idl/Accessibility_Role.idl:
2308 Added ROLE_APPLICATION.
2310 * docs/reference/cspi/at-spi-cspi-decl.txt:
2311 Added SPI_ROLE_APPLICATION to docs.
2313 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
2315 * cspi/spi_accessible.c
2316 (cspi_init_role_table): Do not write beyond end of role_table.
2317 (Accessible_getRole): Use correct type for value returned by
2318 Accessibility_Accessible_getRole().
2320 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
2321 beyond end of role_table. (This fixes bug #98269)
2323 * libspi/application.c: Add include file spi-private.h for
2324 definition of spi_init_any_nil.
2326 2002-11-19 Bill Haneman <bill.haneman@sun.com>
2330 * libspi/spi-private.h:
2331 Added DGB() macro, and extern int _dbg declaration.
2333 * registryd/registry.c:
2334 (definitions) storage for _dbg.
2335 (spi_registry_init):
2336 Get environment variable "AT_SPI_DEBUG".
2337 (spi_registry_set_debug):
2338 New method, to initialize _dbg value.
2339 (spi_listener_struct_new, spi_registry_object_finalize):
2340 (notify_listeners_cb):
2341 Changed fprintfs to use DBG and g_warning().
2343 * registryd/deviceeventcontroller.c:
2344 (_deregister_keygrab, spi_controller_register_device_listener):
2345 Changed debug/warning messages to use DBG macro.
2347 * libspi/listener.c:
2348 (impl_notify_event):
2349 Changed warning messages to use DBG macro and g_warning().
2351 * atk-bridge/bridge.c:
2352 (atk_bridge_init, spi_atk_bridge_get_registry):
2353 (spi_atk_bridge_exit_func):
2354 (spi_atk_bridge_property_event_listener):
2355 Changed status, warning, and error messages to use
2356 g_warning, g_message, and DBG macros.
2359 Read the state of the AT_SPI_DEBUG environment variable
2360 and set a local '_dbg' accordingly.
2362 2002-11-19 Bill Haneman <bill.haneman@sun.com>
2364 FIXES for 98836, 98842, other bugs.
2367 Revved to 1.1.4, interface-age=4, binary-age=4.
2369 * registryd/deviceeventcontroller.c:
2371 Fixed crasher bug in last_mouse_pos initialization.
2373 * registryd/registry.c:
2374 (desktop_add_application, desktop_remove_application):
2375 Added (and then commented out) some support for
2376 object context marshalling. [TODO]
2378 * atk-bridge/bridge.c:
2379 (spi_atk_bridge_event_context_create):
2380 Commented out object context creation until it can
2381 be properly tested and debugged.
2383 * registryd/registry.c:
2384 (impl_registry_notify_event):
2385 Fixed crasher bug, we were calling
2386 spi_re_entrant_list_foreach () with an empty list.
2388 2002-11-18 Bill Haneman <bill.haneman@sun.com>
2390 * idl/Accessibility_Action.idl:
2391 * idl/Accessibility_Component.idl:
2392 * idl/Accessibility_Desktop.idl:
2393 * idl/Accessibility_Event.idl:
2394 * idl/Accessibility_Hyperlink.idl:
2395 * idl/Accessibility_Image.idl:
2396 * idl/Accessibility_Relation.idl:
2397 * idl/Accessibility_Selection.idl:
2398 * idl/Accessibility_State.idl:
2399 * idl/Accessibility_Value.idl:
2400 Updated unimplemented slot count to minimum of
2401 four for all interfaces, for ABI freeze.
2403 * idl/Accessibility_EditableText.idl:
2404 * idl/Accessibility_Text.idl:
2405 Updated unimplemented slot count to six
2408 * idl/Accessibility_Registry.idl:
2409 Updated unimplemented slot count to six
2410 (also for DeviceEventController),
2413 * idl/Accessibility_Table.idl:
2414 Updated unimplemented slot count to eight,
2417 * idl/Accessibility_Event.idl:
2418 Added CORBA_any "any_data" member to Event struct.
2420 * idl/Accessibility_Event.idl:
2421 Added CORBA_any "any_data" member to Event struct.
2423 * atk-bridge/bridge.c:
2425 atk_signal_text_changed, atk_signal_child_changed,
2426 signal ids queried from gtype system.
2427 (AtkBridgeEventContextType): New enum.
2428 (AtkBridgeEventContextData): New struct.
2429 (AtkBridgeEventContext): New struct.
2430 (atk_bridge_init_event_type_consts):
2431 New method, initializes type contants for comparison
2432 prior to emit_eventv.
2433 (atk_bridge_event_context_init): New method,
2434 initializes a CORBA_any from an AtkBridgeEventContext.
2435 (atk_bridge_focus_tracker): Call spi_init_any_nil to
2436 initialize the event.any_data struct.
2437 (spi_atk_bridge_event_context_create): New method,
2438 creates an AtkBridgeEventContext from signal/event info.
2439 (spi_atk_bridge_event_context_free): New method.
2440 (spi_atk_emit_eventv): Changed to take an
2441 AtkBridgeEventContext parameter. We now initialize
2442 the event.any_data member prior to notifying the
2443 Registry, via the AtkBridgeEventContext.
2444 (spi_atk_bridge_property_event_listener):
2445 (spi_atk_bridge_state_event_listener):
2446 Match emit_eventv signature.
2447 (spi_atk_bridge_object_event_listener):
2448 Match emit_eventv signature, and create an
2449 event context from the event details.
2450 Free the event context afterwards.
2451 (spi_atk_bridge_window_event_listener):
2452 Create an event context, pass it to the
2456 (AccessibleEvent_getContextString):
2457 (AccessibleEvent_getContextObject):
2458 New methods, allow query of AccessibleEvent objects
2459 for more context details (via the "any_data" member
2460 of the Event struct, above).
2463 Definitions for AccessibleEvent_getContextString
2464 and AccessibleEvent_getContextObject.
2466 * cspi/spi_listener.h:
2467 (InternalEvent): New struct.
2470 (AccessibleEvent_getContextString):
2471 (AccessibleEvent_getContextObject):
2472 Implementations of new methods, for obtaining
2473 additional context information from some event types.
2475 * cspi/spi_registry.c:
2476 (SPI_registerGlobalEventListener):
2477 Added mention of active-descendant-changed event in docs.
2479 * cspi/cspi-bonobo-listener.c:
2481 Marshal the any into the AccessibleEvent via
2484 * libspi/spi-private.h:
2485 #include <orbit/orbit.h>
2487 (spi_init_any_string):
2488 (spi_init_any_object):
2489 New convenience function declarations.
2493 (spi_init_any_string):
2494 (spi_init_any_object):
2495 New convenience function implementations.
2497 * registryd/deviceeventcontroller.c:
2498 (spi_poll_dec_mouse_moved):
2499 (spi_device_event_controller_forward_mous_event):
2500 Initialize any_data member of event.
2501 (spi_deregister_controller_device_listener):
2502 Fix incorrect param pass which was preventing deregistration.
2504 * registryd/registry.c:
2505 (desktop_add_application):
2506 (desktop_remove_application):
2507 Add object data to event's any_data before dispatch.
2509 Fix for error messages from GAIL.
2511 * test/event-listener-test.c:
2512 Test new ContextString and "any_data" API:
2513 (report_text_event): New method query and output context string.
2514 (main): register a new text listener with report_text_event
2517 2002-11-19 Darren Kenny <darren.kenny@sun.com>
2519 Fixes for bugs 98127 and 97914.
2520 * cspi/spi-roletypes.h:
2521 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
2523 * cspi/spi-statetypes.h:
2524 Added SPI_STATE_MANAGES_DESCENDANTS
2526 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
2527 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
2528 * cspi/spi_accessible.c:
2529 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
2530 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
2531 Accessibility_STATE_MANAGES_DESCENDANTS
2532 * libspi/accessible.c:
2533 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
2534 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
2535 As requested by Bill, I also cleaned up the alignment.
2536 * libspi/relation.c:
2537 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
2538 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
2539 * libspi/stateset.c:
2540 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
2541 Accessibility_STATE_MANAGES_DESCENDANTS
2542 * docs/reference/cspi/tmpl/spi_accessible.sgml:
2543 Document changes reflecting modifications to roles.
2544 * docs/reference/cspi/tmpl/spi_relation.sgml:
2545 Document changes reflecting modifications to relations.
2546 * docs/reference/cspi/tmpl/spi_stateset.sgml:
2547 Document changes reflecting modifications to states.
2549 2002-11-17 Bill Haneman <bill.haneman@sun.com>
2552 Revved to 1.1.3, interface-age=3, binary-age=3.
2553 Added REBUILD macro.
2556 Removed accessx-gui from the tests, since we have a nice
2557 keyboard accessibility capplet now :-)
2559 * test/keysynth-demo.c:
2560 (increment_scan): removed do-nothing default: case,
2563 * test/visual-bell.c:
2564 (main) : removed do-nothing default: case,
2567 * cspi/spi_action.c:
2568 (AccessibleAction_getKeyBinding_):
2569 Documented keybinding string format.
2573 (AccessibleText_getAttributes):
2574 Documented the text attribute string format.
2575 It's changed to use semicolon delimiters also,
2576 to prevent clashes with CSS attributes, but the old
2577 trick of looking for ", " strings will still work
2578 (as unreliably as ever). Fix for bug related to 97916.
2581 Include <cspi/bonobo/cspi-bonobo-listener.h>
2582 Fixes build warning.
2583 (SPI_freeAccessibleKeySet):
2584 (AccessibleKeystrokeListener_addCallback):
2585 (AccessibleKeystrokeListener_removeCallback):
2586 Modify to use AccessibleDeviceListener API internally,
2587 instead of AccessibleKeystrokeListener.
2589 * idl/Accessibility_Event.idl:
2590 Added two more empty slots to EventListener (for a total of four).
2592 * idl/Accessibility_Accessible.idl:
2593 Added four empty slots to Accessible interface.
2595 2002-11-15 Bill Haneman <bill.haneman@sun.com>
2597 * idl/Accessibility_Registry.idl:
2598 (KeyEventType, EventType):
2599 Marked KeyEventType as deprecated; it duplicates
2600 functionality of EventType, which has been extended to
2601 include Mouse-button events.
2602 (KeyEventTypeSeq): defined in terms of EventType.
2603 (registerDeviceEventListener, deregisterDeviceEventListener):
2604 New methods, for managing listeners to device events,
2605 which potentially may consume them.
2608 Added definition for AccessibleDeviceListener.
2610 * cspi/spi-listener.h:
2611 (enum AccessibleDeviceEventType):
2612 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
2613 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
2614 for backwards compat.
2615 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
2616 and typedef'd AccessibleKeystroke to it for back-compat.
2617 (AccessibleDeviceListenerCB):
2618 New function prototype typedef.
2621 (AccessibleDeviceEventMask): New typedef.
2622 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
2623 (AccessibleKeyMaskType):
2624 Set equivalent to AccessibleModifierMaskType for back-compat.
2625 (SPI_createAccessibleKeystrokeListener):
2626 (AccessibleKeystrokeListener_unref):
2627 Deprecated in favor of equivalent (better-named) new API below..
2628 keystroke listeners are like all device listeners.
2629 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
2630 New API names for old features :-).
2631 (AccessibleDeviceListener_addCallback):
2632 (AccessibleDeviceListener_removeCallback):
2633 (SPI_registerDeviceEventListener):
2634 (SPI_deregisterDeviceEventListener):
2638 (SPI_createAccessibleKeystrokeListener):
2639 Use new preferred API, cspi_device_listener_new() and
2640 cspi_device_listener_add_cb().
2641 (AccessibleKeystrokeListener_removeCallback):
2642 Use new preferred API, cspi_device_listener_remove_cb().
2643 (AccessibleKeystrokeListener_unref):
2644 Use new preferred API, cspi_device_listener_unref().
2645 (SPI_createAccessibleDeviceListener):
2646 (AccessibleDeviceListener_addCallback):
2647 (AccessibleDeviceListener_removeCallback):
2648 Implementation of new API.
2650 * cspi/spi_registry.c:
2651 (SPI_registerDeviceEventListener):
2652 (SPI_deregisterDeviceEventListener):
2653 Implementation of new API. Fixed memory leak and removed need to
2654 allocate EventTypeSeq (thanks Michael for catching this).
2655 Squashed a wayward CORBA_exception_free that shouldn't get called.
2657 * cspi/bonobo/cspi-bonobo-listener.c:
2659 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
2660 (cspi_key_event): renamed to cspi_device_event().
2661 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
2662 Extended to handle mouse button events as well as key events.
2663 (CSpiKeystrokeListener):
2664 Class superceded by CSpiDeviceListener.
2665 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
2666 These internal APIs changed to "*device_listener" from "*keystroke_listener".
2668 * cspi/bonobo/cspi-bonobo-listener.h:
2669 (CSpiKeystrokeListener):
2670 Class superceded by CSpiDeviceListener.
2671 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
2672 These internal APIs changed to "*device_listener" from "*keystroke_listener".
2674 * libspi/Makefile.am:
2675 Replaced keystrokelistener.h and keystrokelistener.c
2676 with devicelistener.h and devicelistener.c; keystrokelisener.h
2677 stub retained for back-compat.
2679 * libspi/keystrokelistener.c:
2683 Replaced inclusion of keystrokelistener.h with devicelistener.h.
2685 * registryd/deviceeventcontroller.c:
2686 (DEControllerListener): Added Accessibility_EventTypeSeq member.
2687 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
2688 (DEControllerPrivateData): Added xkb settings data.
2689 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
2690 button release events (which can't be captured via XGrabButton).
2691 Don't dispatch via the 'normal' event mechanism if the device event was
2693 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
2694 Handle the typeseq data in its new location (see above).
2695 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
2696 New methods, for "generic" device listeners.
2697 (spi_controller_register_device_listener):
2698 Now handle mouse event listeners as well as key listeners.
2699 (spi_controller_notify_mouselisteners):
2700 New internal method.
2701 (spi_device_event_controller_forward_mouse_event):
2702 Now we notify mouse device listeners as well as generating the
2703 non-consumable "mouse:" events.
2705 We must check and restore the XKB
2706 modifier map if we consume the event, since the act of triggering
2707 a mouse event will normally reset the XKB latch. This is required for
2709 (spi_controller_register_with_devices):
2710 Load the XKB settings when registering, and register for XKB
2711 state notify events.
2712 (spi_key_eventtype_seq_contains_event):
2713 Renamed spi_eventtype_seq_contains_event, since it's used
2714 internally for all device event types now.
2715 (spi_key_event_matches_listener):
2716 Uses spi_eventtype_seq_contains_event now.
2717 (spi_device_event_controller_object_finalize):
2718 Free the private data and the XkbKeyboard struct.
2719 (impl_register_device_listener, impl_deregister_device_listener):
2720 Implementation of new IDL.
2721 (spi_deregister_controller_device_listener):
2722 New internal method.
2723 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
2724 More efficient implementation, we don't have to create a new
2725 XkbControls structure every time we query.
2726 (spi_device_event_controller_class_init):
2727 Initialize the epv entries for the new IDL. Assign the
2728 "spi-dec-private" quark.
2729 (spi_device_event_controller_init):
2730 Initialize the private data.
2731 (spi_device_event_controller_forward_key_event):
2732 Removed a bogus CORBA_exception_free() call.
2734 * registryd/deviceeventcontroller.h:
2735 Replaced inclusion of keystrokelistener.h with
2738 * test/event-listener-test.c:
2739 (report_mouse_event):
2742 Added mouse-event device listener.
2744 * test/test-simple.c:
2745 (create_test_window):
2746 Fixed regression (we were instantiating a GtkRange,
2747 which is now an abstract class). Also fixed to match
2748 existing AtkRole names, this seems to have changed in ATK
2749 awhile ago; too late now I think, and the new
2750 mechanism is at least elegant and consistent with the
2751 glib enum "nick" APIs.
2753 2002-11-15 Darren Kenny <darren.kenny@sun.com>
2755 * idl/Accessibility_Relation.idl:
2756 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
2757 RELATION_EMBEDS,RELATION_EMBEDDED_BY
2758 * idl/Accessibility_Role.idl:
2759 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
2760 * idl/Accessibility_State.idl:
2761 add STATE_MANAGES_DESCENDANTS
2762 * test/event-listener-test.c:
2763 Added a listener for active-descendant events.
2765 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
2767 * atk-bridge/bridge.c
2768 (atk_bridge_init): If application is Bonobo component wait until top
2769 level is added before registering
2770 (spi_atk_bridge_do_registration): New function which contains code,
2771 formerly in atk_bridge_init, to do application registration.
2772 (spi_atk_bridge_toplevel_added): Signal called when top level
2773 added to Bonobo component
2775 This fixes bug #83134.
2777 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
2779 * registryd/deviceeventcontroller.c
2780 Fixed compilation error caused by calling gettimeofday()
2783 2002-10-18 Bill Haneman <bill.haneman@sun.com>
2788 Added template for HAVE_XKB.
2791 Changes to check for XKB, and to set the HAVE_XKB #define if it
2794 * libspi/listener.c:
2795 ()impl_notify_event): Make failure to get event source name
2798 * registryd/deviceeventcontroller.c:
2799 (#include): include X11/XKBlib.h.
2800 (DEControllerPrivateData) : New struct.
2801 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
2803 (dec_synth_keycode_press) (dec_synth_keycode_release):
2804 New methods; split the key synthesis code into these methods.
2805 They check XKB settings before determining the "time" values to
2806 pass to Xtest; this fixes bug #95828.
2807 (impl_generate_keyboard_event): Changed to use methods above,
2808 instead of callng Xtest directly.
2809 (spi_device_event_controller_init): Initialize new privae struct s
2811 (spi_device_event_controllr_object_finalize):
2812 Free the (new) private data.
2814 * registryd/deviceeventcontroller.h:
2815 Add new gpointer to end of struct data.
2817 2002-10-16 Bill Haneman <bill.haneman@sun.com>
2820 Incremented revision to 1.1.2, SONAME is still '.so', library
2821 extensions are ".so.0.0.2".
2823 * registryd/deviceeventcontroller.c:
2824 FIXES FOR #93592 and #95940.
2825 (statics): renamed mouse_button_state to mouse_mask_state,
2826 added key_modifier_mask.
2827 (spi_dec_poll_mouse_moved):
2828 Added key modifier checks, and emit "keyboard:modifiers"
2829 events when the key modifiers currently in use change.
2830 Also generate "mouse:abs" events periodically, even if the mouse
2831 is stationary (should we?).
2832 Alternatively we could generate "mouse:abs" events for either all
2833 mouse movements, or every 'nth' mouse movement, or at the
2834 beginning and end of every "active" mouse period.
2836 * test/event-listener-test.c:
2837 (main): Added listener for "keyboard:modifiers" events.
2839 2002-10-15 Bill Haneman <bill.haneman@sun.com>
2841 * libspi/keymasks.h:
2842 Added key mask #defines for mouse buttons; e.g.
2843 SPI_KEYMASK_BUTTON1, etc.
2846 Incremented dependency on ATK to version 1.1.0. (This dependency
2847 is probably premature but will soon be real enough).
2849 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
2851 * libspi/hyperlink.[ch]
2852 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
2853 (get_hyperlink_from_servant): Check object is AtkHyperlink not
2856 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
2861 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
2863 * registryd/deviceeventcontroller.c
2864 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
2865 events to be ignored.
2866 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
2867 keyboard_mode so that XAllowEvents() can be called.
2871 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
2873 * cspi/spi-accessible.c: Correct names of roles returned by
2874 AccessibleRole_getName(). Fixes bug #95055.
2876 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
2878 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
2881 * registryd/registry.c
2882 (desktop_remove_application: Write diagnostic message to stderr for
2885 (impl_accessibility_registry_deregister_global_event_listener):
2886 Correct size of lists array. This addresses bug #94555).
2888 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
2890 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
2893 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
2895 * registryd/Makefile: Add CLEANFILES so that .server file is removed
2898 * registryd/registry.c (impl_registry_notify_event): Remove
2899 unnecessary call to parser_event_type().
2901 * docs/reference/cspi/tmpl/spi_component.sgml:
2902 Add reference to SPI_LAYER_WINDOW.
2904 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
2906 * registryd/registry.c
2907 (desktop_add_application): Remove leak.
2908 (desktop_remove_application): Remove leak.
2909 (parser_event_type): Remove leak.
2911 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
2913 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
2914 bogus call to CORBA_string_dup(). Also removed unnecessary
2915 g_string_dup/g_free calls.
2917 2002-09-13 Bill Haneman <bill.haneman@sun.com>
2919 * registryd/deviceeventcontroller.c:
2920 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
2922 * test/event-listener-test.c:
2923 main: commented out three redundant listeners, to reduce output
2924 noise. (They still are potentially useful for testing).
2927 2002-09-13 Michael Meeks <michael@ximian.com>
2929 * Update all the copyrights to include Ximian.
2931 2002-09-06 Mark McLoughlin <mark@skynet.ie>
2933 * cspi/spi.h: add SPI_LAYER_WINDOW.
2935 * cspi/spi_component.c: (AccessibleComponent_getLayer):
2936 add Accessibility_LAYER_WINDOW case.
2938 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
2940 * libspi/component.c: (impl_accessibility_component_get_layer):
2941 add ATK_LAYER_WINDOW case.
2943 2002-08-28 Bill Haneman <bill.haneman@sun.com>
2945 * configure.in: incremented micro version.
2947 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
2949 2002-08-20 Bill Haneman <bill.haneman@sun.com>
2952 Clarified and reworded our commit policy.
2955 Started an API "todo" addition list for 2.2.
2958 (impl_getSelection):
2959 Free char pointer from atk_text_get_selection, which was being leaked.
2961 2002-08-19 Bill Haneman <bill.haneman@sun.com>
2964 Small revision to author acknowledgement.
2966 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
2968 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
2969 If signal has detail add it to the type of the event.
2972 2002-08-12 Michael Meeks <michael@ximian.com>
2974 * test/test-simple.c (global_listener_cb): bin bogosity.
2975 (test_keylisteners): disable, still doesn't work reliably,
2976 certainly not on my system anyway.
2978 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
2979 don't leak a reference on the DEC. This round-trip
2980 fetching of the DEC per keystroke sucks, it should be
2983 * cspi/spi-private.h,
2984 * cspi/cspi-lowlevel.h,
2985 * cspi/bonobo/cspi-bonobo-listener.[ch],
2986 * cspi/bonobo/cspi-bonobo.c: get the copyright
2987 notices better - there is still a large amount of
2988 work in at-spi falsely attributed solely to Sun.
2990 * cspi/spi_main.c (cspi_object_ref): kill bogus
2991 hash lookup, just increment the ref.
2992 (SPI_freeString): make explicit the fact that we
2993 handle NULL strings just fine.
2994 (report_leaked_ref): obey coding standards.
2995 (cspi_object_hash, cspi_object_equal): kill retval.
2996 (cspi_object_release): only release if not on loan.
2997 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
2998 (cspi_object_borrow, cspi_object_return): impl.
3000 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
3001 use cspi_object_borrow / return.
3003 2002-08-12 Darren Kenny <darren.kenny@sun.com>
3005 * cspi/bonobo/cspi-bonobo-listener.c:
3007 Don't call cspi_oject_new() because this is creating a new Accessible
3008 every single time that an event is fired. This causes ATs like at-poke
3009 to nolonger recognise the source of the event and thus ignore it.
3010 Re-use the object from the cache, ref it and then unref it after the
3011 listeners have been called.
3013 2002-08-06 Darren Kenny <darren.kenny@sun.com>
3015 * test/event-listener-test.c:
3016 Added command-line options to disable mouse events (m) and
3019 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
3021 * configure.in: Update required versions of ATK, GTK+ and GAIL
3023 * cspi-1.0.pc.in: Add dependency for X include files
3026 * cspi/bonobo/Makefile.am:
3027 Add $(X_CFLAGS) so that X include files
3028 are picked up even if not in standard place (bug #71686)
3030 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3032 * registryd/deviceeventcontroller.c: fix for 84261
3033 (spi_dec_mouse_moved):
3034 Added test of mouse button mask, so that we can detect mouse
3035 button release. Unfortunately we can't otherwise detect mouse
3036 button release events without consuming the mouse press event,
3037 because of the way XGrabButton works. This means that our mouse
3038 release events have a latency dependent on the polling period
3039 while the mouse button is down. At least in this case we only
3040 have to poll while the button is down, and not at other times.
3041 If the button masks don't match with what the last press event
3042 reported, we report the appropriate button release event.
3043 (spi_dec_ungrab_mouse):
3044 New method (not yet called).
3045 (spi_device_event_controller_forward_mouse_event):
3046 New method, sends mouse press event from GdkFilter.
3047 (spi_dec_init_mouse_listener):
3048 Added code to call XGrabButton, redirecting mouse button events to
3049 the root window and our Gdk event loop.
3051 Added code to filter mouse button events, and reordered.
3053 * test/event-listener-test.c:
3055 Added registration for mouse events of type "mouse:button".
3057 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3059 * registryd/deviceeventcontroller.c: partial fix for 84261
3060 (spi_dec_poll_mouse_idle):
3061 New method, a timeout which checks to see if the mouse
3063 (spi_dec_poll_mouse_moving):
3064 A timeout to be called when mouse motion is underway.
3065 (spi_dec_poll_mouse_moved):
3066 A method which fires an event if the mouse has moved, and reports
3067 whether or not it did so.
3068 (spi_dec_init_mouse_listener):
3069 A method which sets up the timeouts above.
3070 (spi_device_event_controller_new):
3071 Now calls spi_dec_init_mouse_listener.
3073 * registryd/registry.c:
3074 (spi_registry_init):
3075 Now we initialize the device event controller when the registry is
3076 initialized, instead of waiting until a client has requested a key
3077 event notification; this is because we need the event controller
3078 for mouse events, but the mouse event registration API is a
3079 "registry" call and doesn't explicitly call the
3080 deviceeventcontroller.
3081 We now report mouse motion events with a 100 ms idle latency and
3082 a 20 ms granularity when motion is in progress.
3084 * test/event-listener-test.c:
3086 We now register the "detail listener" for events of type
3087 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
3088 delivered only for the first mouse event received, and thereafter
3089 "mouse:abs" events are delivered.)
3091 * cspi/spi_registry.c:
3092 DOCS: Documented the above mouse event typestrings.
3094 2002-06-21 Bill Haneman <bill.haneman@sun.com>
3096 Happy Summer Solstice...
3098 * registryd/deviceeventcontroller.c: [fix for bug 84100]
3099 (spi_controller_notify_keylisteners):
3100 Changes to remove a listener from the listener list, freeing its
3101 open keygrabs, if a notification to that listener fails. This
3102 means that although a dead listener can continue to hold a passive
3103 keygrab, a maximum of one dispatch to such a listener can fail
3104 before the listener is removed from the list, thus the keygrab
3105 will be released on the next occurrence.
3106 As part of this fix:
3107 (spi_notify_keylisteners):
3108 Renamed to spi_controller_notify_keylisteners, as the controller
3109 instance must now be passed as an argument.
3110 The copied 'notify' GList is now a list of DEControllerKeyListener
3111 objects, since we need more than just the CORBA reference if a
3112 notify fails and we need to deregister the listener.
3113 (impl_notify_listeners_sync):
3114 (impl_notify_listeners_async):
3115 (spi_device_event_controller_forward_key_event):
3116 Modify use of notify_keylisteners in accordance with above
3118 (spi_deregister_controller_key_listener):
3119 New method introduced by refactoring, from
3120 impl_deregister_keystroke_listener.
3121 (impl_deregister_keystroke_listener):
3122 Call spi_deregister_controller_key_listener.
3123 (spi_key_listener_clone):
3124 New method to copy a key listner without doing a 'ref' on the
3125 remote object instance; used to create a notifier list.
3126 (spi_key_listener_data_free):
3127 New method, frees data without unreffing the source.
3129 (spi_key_listener_clone_free): new method.
3130 (spi_key_listener_free):
3131 refactored to call spi_key_listener_data_free.
3133 2002-06-20 Bill Haneman <bill.haneman@sun.com>
3135 * registryd/registry.c: [fix for bug 86048]
3136 (notify_listeners_cb):
3137 Clear CORBA system exceptions which occur when notifying
3138 listeners, before returning to the source of the original event,
3139 since the event source doesn't care if the relayed notify failed.
3140 In other words, don't complain to the atk-bridge if the registry
3141 could not notify all its listeners, that's no fault of the
3142 application and thus should not appear to be an error from the
3143 application's perspective.
3145 * cspi/spi_main.c: [fix for bug 85980]
3147 Replaced use of bonobo_object_dup_ref with call to the wrapper
3148 method, csou_dup_ref (); this silences a compiler warning and
3149 provided more portability.
3151 Ping the registry before return, and restart if necessary.
3153 * cspi/bonobo/cspi-bonobo.c:
3155 New internal method.
3157 Fixed this method to return an object reference, as it should have
3160 * cspi/cspi-lowlevel.h:
3161 Added internal definition for cspi_ping() and fixed
3162 return type of cspi_dup_ref().
3165 2002-06-19 Bill Haneman <bill.haneman@sun.com>
3167 * atk-bridge/bridge.c: [fix for bug 85305]
3168 (spi_atk_bridge_register_application):
3169 New method where the initial application registry calls have been
3170 moved; it allows an application to re-register in response to
3171 certain error conditions (such as a registry restart, see below).
3173 Moved some initialization code to the method
3174 spi_atk_bridge_get_registry, below.
3175 (spi_atk_bridge_get_registry):
3176 New, private accessor function for the Accessibility_Registry
3177 instance. If the registry has not been started before, or has
3178 died (as detected by failure of a CORBA exception), it is
3179 restarted before return, and spi_atk_bridge_register_application
3180 is called again to register with the new bridge instance.
3181 (spi_atk_emit_eventv):
3182 Set registry_died on error; use spi_atk_bridge_get_registry () to
3183 access the registry.
3185 * registryd/registry.c:
3186 (impl_accessibility_registry_register_global_event_listener):
3187 Set listener's event_type_quark to etype.minor instead of
3188 etype.major (fix for bug 84856).
3190 * test/event-listener-test.c:
3191 (report_detail_event):
3192 Change the output string so that user/tester can tell that the
3193 'detail listener' was called instead of the 'generic listener'.
3195 2002-06-18 Bill Haneman <bill.haneman@sun.com>
3197 Fixes for bugs 84900, 84908, 84897, 84898.
3202 Revved version to 1.1.0
3203 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
3204 version is going to HEAD which will be used for gnome-2-0-1 and later.)
3206 * idl/Accessibility_Registry.idl:
3207 (EventListener::notifyEvent):
3208 Removed 'oneway' directive after extensive consulation with
3209 ORBit2 team and others. This means also that unref() of the event
3210 source can and should be done synchronously after emission, rather
3211 than remotely in the client, after servicing the notify call on
3214 NOTE: This change speeds up listener performance considerably, but
3215 introduces new latency on the application side. We may want to
3216 add an event queue to the atk-bridge.
3218 * atk-bridge/bridge.c:
3219 (spi_atk_bridge_focus_tracker):
3220 Do a local unref() on the event source after emission.
3222 * registryd/registry.c:
3223 (desktop_remove_application):
3224 Do an unref() on the event source after emission.
3225 (desktop_add_application):
3226 Do an unref() on the event source after emission.
3227 (notify_listeners_cb):
3228 When relaying an event, don't automatically add the event source
3229 to the local object cache, just CORBA_dup it instead. Likewise,
3230 if this method reenters, release the ref rather than calling
3232 (impl_registry_notify_event):
3233 No longer call remote unref() on the event source after dispatch.
3235 * libspi/eventlistener.c:
3236 (impl_accessible_event_notify_event):
3237 Removed remote unref ()
3239 * cspi/bonobo/cspi-bonobo-listener.c:
3241 We now call cspi_object_new() instead of cspi_object_add() on
3242 receipt of an event; thus we only have an implicit object ref
3243 while the cspi_event method is being executed. If we need to keep
3244 a reference to the object, the listener must call ref() on the
3245 object. Thus also we don't need to call cspi_object_unref() after
3246 invoking the listener callbacks in this method.
3250 New internal API for creating a new cspi object, without adding it
3251 to the object cache.
3253 Now uses cspi_object_new() to create the cspi object instance.
3255 Now checks to see if the object is in the internal object cache,
3256 and adds it if necessary before incrementing its refcount (note
3257 that new objects are added with a refcount of 1).
3258 (report_leaked_ref):
3259 New method which gives some information on leaked object instances
3260 if leak detection is turned on.
3262 * test/event-listener-test.c:
3263 (timing_test_event):
3264 New method, used for testing event delivery timing for special
3265 events of type "object:test". It reports elapsed time and
3266 events/sec every 500 events.
3268 Added a new listener, 'test listener', to check timing of event
3269 receipt as noted above.
3271 Added some timing output here also, reports elapsed time every 100
3274 * test/stress-test.c:
3275 Emit events of type "object:test", for use with "event-listener-test".
3277 * test/test-simple.c:
3278 (global_listener_cb):
3279 Call Accessible_ref() on the event source before calling
3280 validate_accessible, since the validation process does pointer
3281 comparisons on the event source, meaning that the event source
3282 needs to be added to the local object cache first. Any use of
3283 such pointer comparisons between Accessible objects requires that
3284 the caller hold an explicit reference to those objects.
3285 We also must therefore call Accessible_unref() when leaving this method.
3287 2002-06-13 Bill Haneman <bill.haneman@sun.com>
3289 * registryd/deviceeventcontroller.c:
3290 (spi_controller_update_key_grabs):
3291 Fix for #84735, subsequent keygrab listeners not informed of
3292 registration failure.
3295 (spi_base_construct):
3296 Add an assertion on construct, to make sure the GObject passed in
3297 is really a GObject.
3299 Explicitly initialize object->gobj pointer to NULL;
3301 * cspi/bonobo/cspi-bonobo-listener.c:
3302 (cspi_object_add_ref):
3303 New method, can specify whether to dup-ref a bonobo object passed
3304 in if it's newly added to the object cache.
3306 Now calls cspi_object_add_ref with second param of "FALSE". This
3307 prevents us from doing a pointless dup-ref followed by
3308 release-unref for all those cases where the object is already in
3309 our object cache (fix for #85205).
3311 * atk-bridge/bridge.c:
3312 (spi_atk_bridge_idle_init):
3313 Removed this method, we don't need to initialize in an idle
3316 Changed to call spi_atk_register_event_listeners directly, not via an
3317 idle handler. (fix for #81139)
3318 (gnome_accessibility_module_shutdown):
3319 Removed conditional around deregistration of listeners, since we
3320 don't use the idle handler and thus have always registered when
3322 (spi_init_keystroke_from_atk_key_event):
3323 Changed references to Accessibility_KEY_PRESSED to
3324 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
3326 2002-06-12 Bill Haneman <bill.haneman@sun.com>
3328 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
3333 * test/stress-test.c:
3336 (may have been an incomplete commit yesterday?)
3338 2002-06-12 Bill Haneman <bill.haneman@sun.com>
3341 Added target for new stress-test.
3343 * test/stress-test.c:
3344 New test, sends 1000 focus notifies in quick succession.
3346 * test/key-listener-test.c:
3347 Now we report whether a keylistener registration
3348 request succeeded or failed.
3350 * test/event-listener-test.c:
3351 Uncommented some listeners which are now implemented.
3354 2002-06-06 Bill Haneman <bill.haneman@sun.com>
3356 * registryd/deviceeventcontroller.c:
3357 (spi_controller_update_key_grabs):
3358 Fix for #82509, lack of failure notification when
3359 ALL_WINDOWS keygrabs fail due to XGrabKey
3360 failure: we synchronize the server when
3361 registering a passive grab, to make sure we get the
3362 error message before the call returns.
3364 2002-06-03 Bill Haneman <bill.haneman@sun.com>
3366 * test/test-simple.c:
3368 Removed #ifdef KEY_IMPL_WORKS guards.
3369 (test_keylisteners):
3370 Removed #ifdef KEY_IMPL_WORKS guards.
3371 Fixed bug which was causing a hang waiting for a
3372 "press" event (which was already overwritten by a "release"
3373 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
3375 Added code to set globals 'key_press_received' and
3376 'key_release_received'.
3379 Added section "1.1 API Proposed Additions" which
3380 lists API additions desired for at-spi-1.1 (only one so far).
3381 Updated TODO list a little.
3383 2002-06-02 Bill Haneman <bill.haneman@sun.com>
3385 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
3388 * configure.in: Revved to 1.0.0.
3390 * idl/Accessibility_Registry.idl:
3391 (registerKeystrokeListener):
3392 Added boolean return value.
3394 * registryd/registry.c:
3395 (notify_listeners_cb): Minor fix to debug output.
3397 * registryd/Accessibility_Registry.server.in.in:
3398 Revved version number in OAFIID to 1.0.
3400 * registryd/registryd.c:
3402 Use new OAFIID version.
3404 * cspi/bonobo/cspi-bonobo.c:
3406 Use new OAFIID version.
3412 * atk-bridge/bridge.c:
3414 Use new OAFIID version.
3416 * registryd/deviceeventcontroller.c:
3417 (impl_register_keystroke_listener):
3418 Added CORBA_boolean return value.
3419 (spi_controller_register_device_listener):
3420 Added gboolean return value.
3421 (spi_controller_register_global_keygrabs):
3422 Added gboolean return value.
3423 (spi_key_set_contains_key):
3424 Added implementation for many more control keys,
3425 for instance F1-F12, arrow keys, End, Home, Page_Up,
3427 [TODO: some still not implemented].
3429 * text/screen-review-test.c:
3430 (text_chunk_pad_string):
3431 New function: it provides mapping between coordinate
3432 positions of text chunks and character positions in the
3433 screen-review-line output string.
3434 (text_chunk_to_string):
3435 New function, calls text_chunk_pad_string with various
3436 pad/delimiter characters. Pushbuttons are delimited with
3437 square brackets, Frames with vertical 'pipe' lines, and
3438 other text with double quotes.
3439 (text_chunk_list_to_string):
3440 Calls new function text_chunk_to_string.
3441 (toplevel_composite):
3442 New function to composite layers CANVAS through
3443 POPUP in each toplevel (other layers are composited
3444 across toplevels, i.e. BACKGROUND and OVERLAY).
3445 (review_buffer_composite):
3446 Revise to use new methods.
3452 2002-05-31 Laszlo Peter <laca@sun.com>
3454 * configure.in: add the Xtst libdir to the runpath on Solaris,
3455 since it's not in the default library search path.
3457 2002-05-29 jacob berkman <jacob@ximian.com>
3459 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
3461 2002-05-29 Bill Haneman <bill.haneman@sun.com>
3463 * test/screen-review-test.c:
3464 (text_chunk_pad_string):
3465 Added method, which pads the string according to the
3466 text bounds of the chunk. It also takes a 3-character
3467 string as a param which indicates the characters to be
3468 used for start, padding, and end delimitation of the chunk.
3469 (text_chunk_to_string):
3470 Changed to use text_chunk_pad_string.
3472 * configure.in: Fixed bug in AC_OUTPUT that was
3473 causing path substitution in Accessibility_Registry.server
3476 2002-05-23 Bill Haneman <bill.haneman@sun.com>
3478 * text/screen-review-test.c:
3479 (guess_string_clip):
3480 New method which attempts a best-guess at clipping
3481 text from components (like Java labels) which don't
3482 actually implement AccessibleText. This inaccurate
3483 clip is based on the assumption that the label is
3484 justified left-and-right, and monospaced.
3485 (text_chunk_get_clipped_string):
3486 We now call guess_string_clip() for text-containing
3487 components that don't implement AccessibleText.
3489 * test/screen-review-test.c:
3490 (review_buffer_get_text_chunk):
3491 We now pull "name" from labels if they do not implement
3492 AccessibleText (i.e. for Java labels).
3493 (get_screen_review_line_at):
3494 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
3497 Replaceded AC_OUTPUT target
3498 registryd/Accessibility_Registry.server with
3499 registryd/Accessibility_Registry.server.in.
3501 * registryd/Accessibility_Registry.server.in:
3502 Removed (this is now a Makefile target).
3504 * registryd/Accessibility_Registry.server.in.in:
3505 Added (source for target above). We now use $(libexecdir) as
3506 prefix for the executable at-spi-registryd.
3508 * registry/Makefile.am:
3509 Now install at-spi-registryd into $(libexecdir), and build .server
3510 file with path (see above).
3512 2002-05-22 Bill Haneman <bill.haneman@sun.com>
3514 * test/screen-review-test.c:
3515 (text_chunk_get_clipped_string):
3516 We now check to see if words fall within clip bounds
3517 before resorting to character-by-character clip bounds testing.
3519 * TODO: Added a section for "2.2 Proposed API Additions".
3521 2002-05-21 Bill Haneman <bill.haneman@sun.com>
3523 * test/screen-review-test.c:
3525 Added a screen review benchmarking and test program to test
3528 * cspi/spi_accessible.c:
3530 Made some of the debug strings passed to cspi_check_ev a
3531 little more specific.
3533 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
3535 * test/screen-review-test.c: Fix crashes in debug statements
3537 2002-05-20 Bill Haneman <bill.haneman@sun.com>
3539 * test/screen-review-test.c: Added this file.
3541 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
3543 * atk-bridge/bridge.c: changed "object:state-change" to
3544 "object:state-changed" to match docs.
3546 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
3548 * atk-bridge/bridge.c: Hooked up state-change event details.
3550 2002-05-11 Bill Haneman <bill.haneman@sun.com>
3552 * registryd/registry.c:
3553 Fixed quarking bug in event string parsing; now events with
3554 detail parameters get matched correctly to listeners.
3557 * util/idl/Magnifier.idl: remove.
3559 * util/*.[ch]: Remove.
3560 Magnification utilities and IDL are now in module gnome-mag.
3562 2002-05-10 Bill Haneman <bill.haneman@sun.com>
3564 * registryd/deviceeventcontroller.c:
3565 Fixed bug in grab key conversion which was causing keycode grabs
3566 to be converted to AnyKey grabs.
3569 updated NEWS file to reflect recent spin-off of gnome-mag.
3571 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
3573 * cspi/spi_accessible.c: Added exception checks. Fixed completely
3574 busted AccessibleStateSet_compare. Removed redundant casts.
3576 * cspi/spi-action.c: Removed redundant casts.
3578 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
3580 * cspi/spi_component.c: Fixed typos and casting error.
3582 * cspi/spi_editabletext.c: Removed redundant casts.
3584 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
3586 * cspi/spi_hypertext.c: Eliminated redundant casts.
3588 * cspi/spi_image.c: Eliminated redundant casts.
3590 * cspi/spi_registry.c: Eliminated redundant casts.
3591 SPI_deregisterGlobalEventListenerAll () removed retval variable.
3592 * cspi/spi_selection.c: Removed redundant casts.
3593 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
3594 handling. Screen geometry and text offsets were being returned as 0
3595 on error which is technically valid-- changed these to return -1.
3596 Added marshaller for text boundary types to fix bug with boundary
3597 types being passed incorrectly to atk.
3599 2002-05-09 Bill Haneman <bill.haneman@sun.com>
3602 * cspi/spi_registry.c:
3603 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
3604 which was uncovered by the recent key changes.
3606 2002-05-09 Bill Haneman <bill.haneman@sun.com>
3608 * test/event-listener-test.c:
3610 Added new test, "event-listener-test";
3611 this code does two things; it benchmarks traversal time
3612 for the accessible hierarchy for the first running accessible
3613 app, and it connects listeners for all supported event types.
3614 It is thus useful as an example event listener and for
3615 diagnostics/debugging of event generation.
3617 2002-05-08 Bill Haneman <bill.haneman@sun.com>
3620 Removed unnecessary dependency on libutil.
3623 Revved micro version: 0.13.1
3625 2002-05-08 Bill Haneman <bill.haneman@sun.com>
3628 Removed util/Makefile from targets.
3631 Removed util subdir from SUBDIRS (temporarily,
3632 pending removal of magnifier-only code
3636 #ifdef-ed out magnifier dependencies, since
3637 magnifier IDL, headers, and binary now live in
3638 module gnome-mag and we don't want at-spi to depend
3639 on gnome-mag. A magnifier demo which can run alongside
3640 simple-at is forthcoming in the gnome-mag module.
3642 NOTE: Split magnifier binary, IDL, and magnification
3643 activation code from at-spi into module gnome-mag.
3645 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
3647 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
3648 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
3650 2002-05-03 Bill Haneman <bill.haneman@sun.com>
3653 Revved to version 0.13.0
3655 * idl/Accessibility_Registry.idl:
3656 Changed definition of KeySet from sequence of longs to sequence of
3657 KeyDefinitions, and added KeyDefinition struct.
3658 Required for fix to bug 80616.
3660 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
3661 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
3662 to use new definition (see above).
3664 * registryd/deviceeventcontroller.c: handle_keygrab(),
3665 spi_keyset_contains_key():
3666 Changed to make use of new struct; this allows matching based on
3667 string key-name, for instance "Tab". This also allows matching of
3668 composed characters, non-alphanumeric characters in a way that
3669 doesn't involve dependencies on X keysym codes directly, etc.
3671 * test/key-listener-test.c:
3672 Added test for Alt-Tab key using "string" specification of keyset,
3673 and modified one of the tests to use a keycode-based keyset.
3674 Thus this test both tests and demonstrates the creation and use of
3675 keysets of three forms: specified via keycode array,
3676 keysym array, and string array. (The string case only contains a
3677 single string, i.e. a string array of length 1).
3680 Turned on PRINT_TREE option by default. Also fixed a
3681 string-freeing bug in the PRINT_TREE code.
3682 Added a listener to window:minimize events.
3684 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
3686 * atk-bridge/bridge.c:
3687 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
3688 for window:activate and window:deactiveate
3689 (atk_bridge_property_event_listener atk_bridge_signal_listener
3690 atk_bridge_window_event_listener) Tidy debug code
3692 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
3694 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
3695 Fixed handling for NULL return value from ATK.
3697 * libspi/action.c libspi/component.c libspi/editabletext.
3698 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
3699 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
3700 Removed redundant casts.
3702 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
3703 Fixed off by one bug.
3705 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
3706 function not present in idl)
3708 2002-05-02 jacob berkman <jacob@ximian.com>
3710 * atk-bridge/Makefile.am: make atk-bridge a real module
3712 2002-04-26 Radek Doulik <rodo@ximian.com>
3714 * libspi/stateset.c (spi_init_state_type_tables): fix size of
3715 atk_state_types table
3717 2002-04-22 jacob berkman <jacob@ximian.com>
3720 * libspi/Makefile.am: add deps on the built files to help
3721 automake, and don't version the ORBit typelib
3723 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
3725 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
3726 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
3727 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
3728 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
3729 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
3730 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
3731 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
3732 libspi/accessible.h libspi/accessible.h libspi/base.h
3733 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
3734 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
3735 libspi/relation.h libspi/remoteobject.h libspi/selection.h
3736 libspi/spi-private.h libspi/statetset.h libspi/table.h
3737 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
3738 util/mag_client.h util/mag_control.c util/mag_image.c
3739 util/mag_image.h util/magnifier.c util/magnifier.h:
3740 Add missing file headers; standardize existing ones
3742 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
3744 * atk-bridge/bridge.c: Added window event support.
3746 2002-04-18 Michael Meeks <michael@ximian.com>
3748 * libspi/relation.c (impl_getNTargets): impl.
3749 (impl_getTarget): impl.
3751 * libspi/Makefile.am: fix stateset install.
3753 2002-04-17 Bill Haneman <bill.haneman@sun.com>
3756 Started putting useful info in this file.
3758 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
3760 * atk-bridge/bridge.c:
3761 Propagate state-changed notifications to ATs
3763 * cspi/spi_registry.c: update docs to reflect actual behavior of
3764 state-change events.
3766 2002-04-17 Bill Haneman <bill.haneman@sun.com>
3769 Incremented version to 0.12.1
3771 * util/mag_client.h:
3772 Add missing declaration for magnifier_exit,
3773 used by mag_control.c - Forte compiler didn't like
3774 the implicit redeclaration of the function :-(
3777 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3780 Revved version to 0.12 due to API change (see below).
3782 * cspi/spi-roletypes.h:
3783 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
3784 definition from the inline docs, and added docs
3785 for SPI_ROLE_LAST_DEFINED.
3788 * cspi/spi_streamablecontent.c:
3789 Added missing seek_type parameter to
3790 (so far unused) method,
3791 AccessibleStreamableContent_seek().
3792 [ RT approval JodyG. ]
3795 Fixed docs for SPI_createAccessibleKeystrokeListener.
3797 * cspi/spi_registry.c:
3798 Fixed docs for SPI_KEYSET_ALL_KEYS.
3800 * docs/reference/cspi/at-spi-cspi-sections.txt:
3801 Added a number of missing APIs to SECTIONS.
3803 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3805 * registryd/Makefile.am:
3807 * cspi/bonobo/Makefile.am:
3808 Add $(X_LIBS) to makefiles.
3810 2002-04-15 Bill Haneman <bill.haneman@sun.com>
3813 Revved version to 0.11.
3815 * libspi/component.c:
3816 Added implementation for grabFocus.
3818 * idl/Accessibility_Component.idl
3819 (Accessibility_Component_grabFocus):
3820 Made this method return boolean to indicate success or failure, to
3821 be consistent with cspi and the corresponding ATK method.
3823 * idl/Accessibility_Selection.idl
3824 (Accessibility_Selection_selectAll) :
3825 Made these methods return boolean to indicate success or
3826 failure, to be consistent with cspi and the corresponding ATK methods.
3828 * idl/Accessibility_EditableText.idl
3829 (Accessibility_EditableText_setTextContents,
3830 Accessibility_EditableText_insertText,
3831 Accessibility_EditableText_cutText,
3832 Accessibility_EditableText_deleteText,
3833 Accessibility_EditableText_pasteText):
3834 Made these methods return boolean to indicate
3837 * cspi/spi_editabletext.c:
3838 Made these methods return booleans.
3840 * libspi/selection.c:
3841 * libspi/component.c:
3842 * libspi/editabletext.c:
3843 Connected the boolean returns from ATK
3844 to the server-side code referenced above.
3846 2002-04-14 Bill Haneman <bill.haneman@sun.com>
3848 * idl/Accessibility_Table.idl: Added missing methods,
3849 Accessibility_Table_addRowSelection,
3850 Accessibility_Table_addColumnSelection,
3851 Accessibility_Table_removeRowSelection,
3852 Accessibility_Table_removeColumnSelection.
3855 Added C wrappers for above IDL:
3856 AccessibleTable_addRowSelection,
3857 AccessibleTable_addColumnSelection,
3858 AccessibleTable_removeRowSelection,
3859 AccessibleTable_removeColumnSelection.
3862 Added server-side implementation code for IDL above, connecting
3863 to pre-existing ATK api.
3865 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
3867 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
3869 * libspi/accessible.c: Added implementation fo
3870 Accessibility_Accessible_get_state.
3872 * libspi/libspi.h: Added stateset.h to the list of includes.
3874 * libspi/stateset.c: Fixed broken implementation.
3876 2002-04-13 Bill Haneman <bill.haneman@sun.com>
3879 Added implementation code for Accessibility_Magnifier_exit ().
3881 * util/mag_control.c:
3882 Added test code for above method; you can
3883 now kill an existing magnifier via
3884 ./mag_control q, from the util directory.
3886 * test/key-listener-test.c:
3888 Added a new test, for our key listener API.
3890 2002-04-11 Bill Haneman <bill.haneman@sun.com>
3892 * test/app.c, test/keysynth-demo.c:
3894 Replace use of snprintf with g_snprintf.
3895 (fix for bugzilla 78249)
3897 2002-03-27 Michael Meeks <michael@ximian.com>
3901 * util/Makefile.am (INCLUDES): fix.
3902 (DONT_DIST_SOURCE): don't distribute the
3905 * libspi/Makefile.am (dist-hook): ditto.
3907 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
3909 * libspi/hypertext.c:
3910 Fix warnings when yelp is used with atk-bridge
3912 2002-03-21 Michael Meeks <michael@ximian.com>
3914 * libspi/application.c (spi_application_new):
3915 use spi_accessible_construct so we use the AtkObject
3918 2002-03-19 Michael Meeks <michael@ximian.com>
3920 * registryd/registry.c (desktop_remove_application),
3921 (desktop_add_application): clean coding style.
3923 * registryd/desktop.c (spi_desktop_remove_application),
3924 (spi_desktop_add_application): kill re-enterency hazards.
3925 (spi_desktop_dispose): remove bogus redundant cast
3926 obscuring bug; fix bug too.
3927 (spi_desktop_init): make the desktop object immortal.
3929 2002-03-16 Bill Haneman <bill.haneman@sun.com>
3932 Added a #define-guarded tree-traversal step
3933 when enumerating the apps (diagnostic tool).
3935 2002-03-15 Bill Haneman <bill.haneman@sun.com>
3937 * idl/Accessibility_Role.idl:
3938 Added ROLE_DRAWING_AREA which seemed to be missing from the
3941 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3943 * cspi/spi-roletypes.h cspi/spi_accessible.c
3944 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
3947 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
3948 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
3949 AT when applications are added and removed from the desktop. This
3950 reverts the previous broken implementation using the backing
3951 AtkObject for the SpiDesktop.
3953 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3955 * registryd/desktop.c: emit the "children-changed::add" and
3956 "children-changed::remove" signals on the backing ATK object for
3957 the desktop so AT can tell when applications are started and shut
3960 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3962 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
3964 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3966 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
3968 * cspi/spi_accessible.c: Implemented c bindings for stateset support
3970 * cspi/state-types.h: synched with IDL and ATK
3972 2002-03-13 Bill Haneman <bill.haneman@sun.com>
3974 * libspi/accessible.c
3975 (impl_accessibility_accessible_get_child_at_index):
3976 Change return value for g_return_if_fail ()
3977 to CORBA_OBJECT_NIL instead of "0" (!)
3979 * registryd/Makefile.am:
3980 * registryd/Accessibility_Register.server.in:
3981 Changed name of executable, "registryd",
3982 to something more informative:
3985 2002-03-13 Michael Meeks <michael@ximian.com>
3987 * atk-bridge/bridge.c (atk_bridge_init): don't register
3988 if we're in a bonobo-component, rather than a bonobo app.
3990 2002-03-13 Michael Meeks <michael@ximian.com>
3992 * atk-bridge/bridge.c (gtk_module_init): split
3993 out body to (atk_bridge_init): here, since otherwise
3994 we get symbol conflicts and oddness when invoked
3995 from (gnome_accessibility_module_init): here (upd.)
3997 2002-03-11 Bill Haneman <bill.haneman@sun.com>
4000 New file. Explicitly allow "build sheriff" putbacks provided
4001 they are tested on Solaris.
4003 * docs/reference/cspi/Makefile.am:
4004 Added '-' to the "cp" command for index.sgml.
4005 ("patch by thomasvs, soon coming to a GUADEC near you")
4008 Incremented version number (0.9.0) for new release.
4009 Changed macro that checks for popt, to better detect
4010 obsolete versions of popt.
4013 Added X_LIBS to AC_SUBST, for applications
4014 that call Xlib API directly.
4017 2002-03-07 Bill Haneman <bill.haneman@sun.com>
4020 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
4023 Fix regression caused by hard-coding major
4024 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
4027 * test/test-simple.c (test_editable_text),
4028 (test_test): revert previous change (error was
4029 a regression in gail which is now fixed).
4031 2002-03-04 Michael Meeks <michael@ximian.com>
4033 * test/test-simple.c (test_editable_text),
4034 (test_text): pass G_MAXINT instead of '-1' for
4035 whole string - is this a good thing !?
4037 * cspi/spi_accessible.c
4038 (Accessible_getRelationSet): fix crasher bug
4039 overwriting the end of the array.
4041 * test/test-simple.c (validate_accessible): free,
4042 not g_free returned relation set.
4044 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
4046 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
4047 implemented stateset support
4049 * idl/Accessibility_State.idl: Made necessary changes to
4050 the IDL to support state sets.
4052 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4054 * registryd/deviceeventcontroller.c:
4055 Added implementation for generateMouseEvent.
4057 * cspi/spi_registry.c:
4058 Connected new implementation for generateMouseEvent
4061 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4064 Incremented revision (but no change in public API
4065 outside of 'utils', which are not installed public yet.)
4067 * libspi/component.c:
4068 Changed to use atk_component API for layers and
4069 mdi_zorder, instead of deprecated atk_object API.
4071 Magnification Utility Enhancements:
4074 Added implementation of createZoomRegion, clearAllZoomRegions,
4075 resizeZoomRegion. Added new commandline argument
4076 "--no-initial-region". Note that clearAllZoomRegions doesn't
4077 unmap the old '0' region as it should (yet), and the other
4078 methods only work when creating/resizing a single region,
4079 which is "region 0".
4080 (Code for multiple region support will be added later.)
4083 Now we raise the magnifier window each time it's refreshed;
4084 this will help keep it on top.
4086 * util/mag_client.h:
4087 Added simple wrappers for above, used by mag_control.
4088 For general use, it's recommended to use the bonobo magnifier
4089 control API directly instead of using these wrappers.
4092 Moved ZoomRegionData from magnifier.c to this file.
4094 * util/mag_control.c:
4095 Added some code to exercise new IDL implementations.
4097 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
4099 * libspi/text.c: Provide implementation for getAttributes.
4101 2002-02-04 Bill Haneman <bill.haneman@sun.com>
4104 Incremented revision.
4106 * test/test-simple.c:
4107 Replaced use of deprecated g_main_iteration with
4108 g_main_context_iteration.
4110 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
4113 Incremented revision for desktop alpha 2.
4115 2002-01-28 Mark McLoughlin <mark@skynet.ie>
4117 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
4120 * test/simple-at.c: include netinet/in.h.
4122 2002-01-24 Mark McLoughlin <mark@skynet.ie>
4124 * cspi/spi_accessible.c: (Accessible_getRelationSet):
4125 use NULL, not CORBA_OBJECT_NIL.
4127 * libspi/accessible.c:
4128 (impl_accessibility_accessible_get_relation_set):
4129 allocate the sequence correctly.
4131 * libspi/remoteobject.h: kill spi_remote_object_new.
4133 * test/test-simple.c: (validate_accessible): add code
4134 to test relation sets, now all we need is to figure
4135 out how to excercise this code path :/
4137 2002-01-18 Michael Meeks <michael@ximian.com>
4139 * test/test-simple.c
4140 (key_listener_cb): consume the key.
4141 (test_keylisteners): update.
4142 (main): wait for any pending unrefs on events.
4144 * registryd/deviceeventcontroller.c
4145 (spi_controller_update_key_grabs): only re-issue the
4146 grab on a key release.
4147 (spi_device_event_controller_forward_key_event):
4148 refresh the keygrabs before we notify the listeners,
4149 to reduce the X ungrab / re-grab race.
4150 (spi_controller_register_with_devices): remove
4151 XSelectInput - we do that with the gdk_window_ call.
4152 (_spi_controller_device_error_handler): return a value.
4153 s/GDK_DISPLAY/spi_get_display/
4155 2002-01-17 Michael Meeks <michael@ximian.com>
4157 * registryd/deviceeventcontroller.c
4158 (_deregister_keygrab): don't blow out the later
4161 * test/test-simple.c (test_keylisteners): do a
4162 more intelligent validation.
4164 2002-01-14 Michael Meeks <michael@ximian.com>
4166 * atk-bridge/bridge.c
4167 (gnome_accessibility_module_init),
4168 (gnome_accessibility_module_shutdown): impl.
4169 (gtk_module_init): protect vs. double inits.
4170 (add_signal_listener): impl.
4171 (spi_atk_bridge_state_event_listener): kill
4172 (deregister_application): split out of
4173 (spi_atk_bridge_exit_func): here.
4175 2002-01-18 Bill Haneman <bill.haneman@sun.com>
4178 Added caret tracking when using magnifier, and
4179 now use text bounds for focus tracking of text elements, rather than
4180 the component bounds - this is helpful for short text fields in long
4181 table cells, at high magnification.
4183 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4185 * registryd/deviceeventcontroller.c:
4186 Regression fix for keylistener de-registration; global keygrabs
4187 were not being released when deregisterKeystrokeListener was
4188 called in cspi, since
4189 Accessibility_DeviceEventController_deregisterKeystrokeListener
4190 was called with a zero-length keyset. That is because the cspi
4191 method, SPI_deregisterKeystrokeListener, does not take a keyset
4192 parameter but instead should remove all the key grabs held be a
4194 The code in impl_deregister_keystroke_listener was changed to copy
4195 the keylist from the listener instance previously registered with
4196 the DeviceEventController before releasing the grabs.
4198 * registryd/registry.c:
4199 * registryd/deviceeventcontroller.c:
4200 * libspi/spi-private.h:
4202 Changed spelling of "re-enterant" to "re-entrant" globally.
4204 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4206 * test/test-simple.c:
4207 Changed key listeners test - the test was slightly mis-using the
4208 (admittedly poorly documented) SPI_generateKeyboardEvent API.
4209 It now uses '=' as the key event listened to and generated,
4210 relying on a keysym match rather than assuming that keycode 33
4211 is always equal to keysym '!'.
4213 2002-01-15 Bill Haneman <bill.haneman@sun.com>
4216 Changed simple-at to use a specific keyset, rather than
4217 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
4218 manager, desktop, etc.
4220 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4222 * registryd/deviceeventcontroller.c:
4223 Replaced standard X error handler with a special handler that
4224 is non-fatal for failed keygrabs. This works around
4225 problems with keygrab clashes sometimes observed on
4227 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
4228 mouse handling code as yet).
4230 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4233 Incremented revision for desktop alpha release.
4236 Fixed a couple of the more glaring errors (still not
4239 2002-01-11 Michael Meeks <michael@ximian.com>
4241 * registryd/deviceeventcontroller.c
4242 (spi_device_event_controller_forward_key_event): kill
4243 XUngrabKey / XKeyGrab race.
4244 (spi_controller_grab_keyboard): rename to
4245 (spi_controller_update_key_grabs): this, and deal
4246 with incremental adding / removing grabs more
4248 (_register_keygrab): ensure we're not pending a remove.
4249 (spi_grab_mask_free): impl.
4250 (spi_controller_register_global_keygrabs): split out
4252 (handle_keygrab): impl.
4253 (_deregister_keygrab): impl.
4254 (spi_controller_deregister_global_keygrabs): impl.
4255 (spi_controller_update_key_grabs): re-issue the grab if
4256 we just recieved a notification.
4258 * test/test-simple.c (key_listener_cb): remove debug.
4260 * registryd/deviceeventcontroller.c
4261 (spi_controller_register_device_listener): after
4262 registering a global keygrab, actualy register it !
4263 don't wait for a timeout; doh !
4265 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
4266 to make it more readable / manipulable.
4267 s/grabmask/grab_mask/ s/refcount/ref_count/
4268 s/keyval/key_val/ s/modmask/mod_mask
4270 2002-01-08 Michael Meeks <michael@ximian.com>
4272 * registryd/deviceeventcontroller.c
4273 (spi_controller_register_with_devices): use gdk calls to
4275 (global_filter_fn): implement the filter.
4276 (spi_device_event_controller_check_key_event): rename to
4277 (spi_device_event_controller_forward_key_event): this & upd.
4278 (spi_get_display): replace with GDK_DISPLAY.
4280 * registryd/deviceeventcontroller.c
4281 (spi_controller_deregister_device_listener): unroll into
4282 (impl_deregister_keystroke_listener): here to simplify.
4283 (spi_controller_register_global_keygrabs): split cut and
4284 paste (!) out into (_register_keygrab): here, shorter & sweeter.
4285 (spi_controller_deregister_device_listener): remove.
4286 (impl_register_mouse_listener): remove, no mouse listener
4287 support in at-spi-1.0
4289 * registryd/registry.c
4290 (_device_event_controller_hook): kill.
4291 (spi_registry_init): upd.
4293 * registryd/deviceeventcontroller.c
4294 (spi_device_event_controller_class_init): upd.
4295 (spi_check_key_event): merge into.
4296 (spi_device_event_controller_check_key_event):
4297 here and kill strange static ev init, don't leak
4298 the x_event - nor dynamicaly allocate it.
4300 * registryd/registry-main.c (main): re-direct
4301 timeout to remove strange vtable mess.
4303 * registryd/deviceeventcontroller.c
4304 (remove_listener_cb): impl.
4305 (spi_controller_deregister_device_listener):
4306 fix re-enterancy hazard.
4308 2002-01-07 Michael Meeks <michael@ximian.com>
4310 * registryd/deviceeventcontroller.c
4311 (spi_device_event_controller_new): upd.
4312 (impl_notify_listeners_sync): upd. debug.
4313 (spi_notify_keylisteners): fix re-enterancy hazards,
4314 prettify, remove O(n*n) iteration.
4315 (spi_controller_grab_keyboard): fix iteration.
4316 (spi_check_key_event): re-format to suit coding style.
4317 Clean all the warnings - we're warning free.
4319 * registryd/deviceeventcontroller.h:
4320 * registryd/registry.h: make mutualy referential with
4321 typesafe forward references instead of (!) void pointer
4324 2002-01-11 Michael Meeks <michael@ximian.com>
4326 * cspi/spi_accessible.c (role_names): add a role name
4327 to sync this array with the enum; and make the regression
4330 2002-01-10 Michael Meeks <michael@ximian.com>
4332 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
4333 allow expansion of enumeration & kill warning.
4335 * test/test-simple.c (key_listener_cb): impl.
4336 (test_keylisteners): impl.
4338 * cspi/spi-listener.h: make listener signatures const
4339 on the provided (const) events.
4341 * test/keysynth-demo.c: upd. to const events.
4343 * test/simple-at.c: ditto.
4345 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4348 Rev the version to 0.5 (the previous tarball was named 0.4,
4349 even though the micro number was 3), so we need to rev upwards
4350 again for beta2/"desktop-alpha"
4353 Checked in a demo script, which requires editing before use!
4354 Proceed with caution.
4357 Fixed typo in header which was redefining SPI_ACTION_CLASS.
4359 * cspi/spi_accessible.c:
4360 Add a couple of missing enum initializations, and fix some enum
4363 * cspi/spi_registry.c:
4364 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
4366 * docs/reference/cspi/at-spi-cspi-sections.txt:
4367 Remove/fix a couple of broken document references.
4370 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
4371 as Alt-Control to listen for commands, since on some systems
4372 Control-Alt may already be grabbed.
4374 2002-01-10 Bill Haneman <bill.haneman@sun.com>
4377 Update version number to 0.4 for Beta2.
4379 * libspi/accessible.c, libspi/accessible.h:
4380 Expose spi_accessible_construct, to enable libgail-gnome
4381 construction from spi_accessible subtype.
4383 * utils/magnifier.c:
4384 Workaround for bug in some non-gnome-compliant window managers
4385 which made magnifier resize improperly.
4387 2002-01-09 Bill Haneman <bill.haneman@sun.com>
4389 * libspi/accessible.c: (spi_accessible_new) :
4390 Move the test for SPI_IS_REMOTE_OBJECT to
4391 spi_accessible_new_return, fixing a bug and compile time warning.
4393 2002-01-08 Michael Meeks <michael@ximian.com>
4395 * registryd/registry.c (parse_event_type): remove strndup.
4397 * libspi/Makefile.am (libspi_la_SOURCES): remove
4398 sources already included in the headers section.
4400 * libspi/util.c: add.
4402 * libspi/spi-private.h: add.
4404 * registryd/registry.c: update to moved list iterators.
4406 2002-01-05 Michael Meeks <michael@ximian.com>
4408 * test/simple-at.c (main): upd. auto-module set to atk-bridge
4410 * test/test-simple.c (main): ditto.
4412 2002-01-04 Michael Meeks <michael@ximian.com>
4414 * libspi/accessible.c (spi_accessible_new): remove 2nd,
4415 redundant construct.
4417 * registryd/registry.c
4418 (get_listener_list): impl.
4419 (impl_accessibility_registry_register_global_event_listener):
4420 re-impl. to simplify using ~, remove dodgy const cast off.
4421 (parse_event_type): constify.
4422 (impl_accessibility_registry_deregister_global_event_listener_all):
4423 re-write, more efficiency and simplicity, kill re-enterancy
4425 (compare_listener_corbaref, compare_corba_objects),
4426 (compare_listener_quarks): define out.
4427 (impl_accessibility_registry_deregister_global_event_listener):
4428 re-write for effiency, and nail re-enterancy hazard.
4429 (impl_accessibility_registry_get_desktop_list): impl.
4430 (re_enterant_list_delete_link): impl.
4431 (re_enterant_list_foreach): impl.
4432 (remove_listener_cb): impl.
4433 (_registry_notify_listeners): kill.
4434 (notify_listeners_cb): impl.
4436 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
4437 (SPI_getDesktopList): impl.
4439 * test/test-simple.c (test_desktop): test the methods.
4441 2002-01-03 Michael Meeks <michael@ximian.com>
4443 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
4444 keystrings since we free them
4445 (SPI_freeAccessibleKeySet): in here.
4447 * libspi/accessible.c (spi_accessible_new): kill warning,
4448 wonder what is going on with the constructor here.
4450 2002-03-01 Bill Haneman <bill.haneman@sun.com>
4452 * libspi/accessible.c (spi_accessible_new ()) :
4453 Added check to see if AtkObject is an SpiRemoteObject before
4454 creating an SpiAccessible.
4456 2002-05-01 Bill Haneman <bill.haneman@sun.com>
4458 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
4459 Enable keygrabs using the Control modifier, now that they are
4460 working properly (they were previously disabled).
4463 Change the command keygrab for this demo to "Control+Alt", so as
4464 to conflict with fewer other key commands on the system; this
4465 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
4467 Removed a pointlessly-chatty keylistener for unshifted keys
4468 (shifted keys are still reported).
4470 2002-02-01 Bill Haneman <bill.haneman@sun.com>
4472 * libspi/remoteobject.h:
4473 * libspi/remoteobject.c:
4474 Added definitions for special AtkObject subtype, required for
4475 support of remote components (specifically, used by BonoboControl
4476 accessibility implementation).
4478 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
4480 * cspi/spi.h: synched relation types with ATK
4482 * cspi/spi_accessible.c: Added implementations of
4483 AcccessibleRelation_* methods
4485 * idl/Accessibility_Relation.idl: added getRelationTypeName
4486 method. Synched known relation types with ATK. Allowed for
4487 relation type extension with the RELATION_EXTENDED type.
4489 * libspi/relation.c: Provided implementations for
4490 AccessibleRelation methods.
4492 2002-01-01 Bill Haneman <bill.haneman@sun.com>
4494 API tweaks for today's API 'freeze'.
4497 Added placeholder functions to allow future compatible expansion
4498 of the IDL interfaces.
4500 * idl/Accessibility_Registry.idl:
4501 Changed generateKeyEvent to generateKeyboardEvent. Changed
4502 signature of this method to accept an optional keystring in
4503 parameter (for complex text input synthesis) and changed use of
4504 simple 'boolean' parameter in registerKeystrokeListener to a
4505 struct, EventListenerMode.
4507 * cspi/spi_accessible.c:
4509 * cspi/spi_streamablecontent.c:
4510 Added references to AccessibleStreamableContent interface, and
4511 definition and implementation of AccessibleStreamableContent
4514 * cspi/spi_registry.c:
4516 Changed generateKeyEvent API to generateKeyboardEvent,
4517 taking a new (optional) keystring parameter to support complex
4522 Renamed directory (to better reflect its actual purpose, bridging
4523 from at-spi to ATK). The .so module is also now named
4526 * idl/Accessibility_Hypertext.idl:
4527 * libspi/accessible.c:
4528 * libspi/hypertext.h:
4529 * libspi/hypertext.c:
4530 Changed Accessibility_Hypertext to *not* derive from
4533 * cspi/spi_registry.c:
4534 Added list of legal event type names for 'window' events, which
4535 completes the registry event API.
4537 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
4539 * at-bridge/bridge.c: Added registration for separate
4540 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
4541 signals. If either of the first two parameters to the generic
4542 bridge signal handler are ints, they are passed on as event
4543 details. This allows an AT to determine what text was inserted.
4545 2001-12-21 Bill Haneman <bill.haneman@sun.com>
4547 * registryd/deviceeventcontroller.c:
4548 Fixed regressions in generateKeyEvent caused by the removal of
4549 gdk_init from registryd; we now use pure X calls to connect to the
4550 display, which makes sense because deviceeventcontroller already
4551 uses a fair bit of X API (should eventually be migrated to a
4552 'portability layer').
4554 * registryd/desktop.c:
4555 Fixed minor regression in spi_desktop_init, changed the way the
4556 desktop name is being set to work with new spi_base API
4557 (gobject-based, rather than AtkObject-based).
4559 * registryd/Makefile.am:
4560 Minor revision of makefile to use XTST_LIBS variable rather than
4561 hard-wiring the Xtst LD_ADD element.
4563 * test/keysynth-demo.c:
4564 Tweaked an output message; added initialization of the
4565 'keystrings' member of the "switch listener" key_set.
4567 * libspi/relation.c:
4568 Squashed compile-time warning.
4570 * libspi/accessible.c:
4571 Cosmetic and formatting fixes, renamed a static method.
4573 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
4575 * libspi/accessible.c
4577 * libspi/application.c
4580 * libspi/component.c
4581 * libspi/editabletext.c
4582 * libspi/hyperlink.c
4583 * libspi/hypertext.c
4585 * libspi/selection.c
4589 * registryd/desktop.c:
4590 Changed SpiBase to contain a GObject pointer rather than an AtkObject
4592 2001-12-17 Bill Haneman <bill.haneman@sun.com>
4594 * idl/Accessibility_Registry.idl:
4595 Added boolean member 'is_text' to DeviceEvent. This is for the
4596 use of key events, and helps prevent ambiguity between composed
4597 key strings and keysym names, since both may potentially be
4598 returned in the 'event_string' member.
4600 * at-bridge/bridge.c:
4601 * registryd/deviceeventcontroller.c:
4602 Use the 'is_text' member when notifying device event listeners.
4603 Knon issue: composed characters are not dealt with correctly by
4604 the global key listener implementation yet.
4606 2001-12-17 Bill Haneman <bill.haneman@sun.com>
4608 * at-bridge/bridge.c:
4609 Namespaced local static methods to spi_atk_bridge_* where
4610 previously named bridge_*, and spi_* elsewhere.
4612 * at-bridge/bridge.c:
4613 * cspi/bonobo/cspi-bonobo-listener.c:
4614 Added demarshalling/conversion for string member of
4615 Accessibility_DeviceEvent to AccessibleKeystroke.
4617 * registryd/deviceeventcontroller.c:
4618 Added code to fill the Accessibility_DeviceEvent key string value
4619 member for global key events (i.e. from XGrabKey), to match
4620 behavior of Accessibility_DeviceEvent from the toolkit key events
4621 from the bridge. Fixed timestamp in global key event notifications.
4624 Added printout of key event's string value to
4625 report_ordinary_key_event, for demo/debugging purposes.
4627 2001-12-15 Bill Haneman <bill.haneman@sun.com>
4629 * idl/Accessibility_Registry.idl:
4630 Removed Accessibility_KeyStroke structure in favor of generic
4631 Accessibility_DeviceEvent structure.
4632 Changed Accessibility_ControllerEventMask from a struct to an
4635 * at-bridge/bridge.c:
4636 Changed APIs to use DeviceEvent structure as above, and removed
4637 bogus casting between these event structures.
4639 * cspi/spi-listener.h:
4640 Added keystring member of AccessibleKeystroke structure, to enable
4641 matching on event "names" rather than only hardware codes and
4645 Added keystrings member of AccessibleKeySet struct, to allow
4646 matching on event names (as above).
4647 Added declarations for SPI_createAccessibleKeySet and
4648 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
4649 event modmasks directly as unsigned ints rather than structs with
4650 refcounts, in the DeviceEventController methods.
4652 * cspi/spi_registry.c:
4653 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
4655 * cspi/spi-roletypes.h:
4656 Added documentation of newly added SPI Roles.
4658 * cspi/bonobo/cspi-bonobo-listener.c:
4659 Changes in support of API changes above.
4661 * libspi/accessible.c:
4662 Converted APIs to use DeviceEvent structure (see IDL changes
4665 * registryd/deviceeventcontroller.c:
4666 Added DEControllerGrabMask structure to track keygrabs not only by
4667 modmask but by keyset as well; this allows us to do "global"
4668 (i.e. X) keygrabs on a per-key or keyset basis rather than always
4669 grabbing on AnyKey and then filtering after-the-fact.
4670 Bugfixes for event filtration mean that we don't get false matches
4671 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
4673 * registryd/deviceeventcontroller.c:
4674 Namespaced a number of static methods to use spi_ prefix. Major
4675 revision to internals of global (i.e. X) key grabs.
4677 * registryd/deviceeventcontroller.h:
4678 Removed keymask_list and added keygrabs_list to
4679 SpiDeviceEventController struct.
4682 Added use of SPI_createAccessibleKeySet API when creating a
4683 listener for only one key. Attach a listener to "shift spacebar
4684 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
4685 X key event names to SPI key event names, so that listeners are
4686 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
4688 * test/keysynth-demo.c:
4689 Changed (incorrect) use of X key event names (KeyPressed,
4690 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
4693 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4695 * libspi/accessible.c:
4696 Convert all AtkRole enumerations to Accessibility_Role enums when
4697 getting a role from an AtkObject.
4699 * cspi/spi_accessible.c:
4700 Complete the conversion of Accessibility_Role enums at runtime to
4701 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
4702 role enums correctly match those given in spi-roletypes.h.
4703 Re-synchronize the local names list for AccessibleRole_getName ().
4704 AccessibleRole_getName is now deprecated, since it duplicates the
4705 more reliable Accessible_getRoleName.
4706 Added some role types from Accessibility_Role.idl.
4708 * idl/Accessibility_Role.idl:
4709 Added some role types used by AtkRole.
4711 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4714 * cspi/spi_registry.c:
4716 * cspi/cspi-bonobo-listener.c:
4717 Namespaced all methods that did not begin with an "SPI_" or
4718 "Accessible" prefix to "SPI_".
4721 Homogenized internal function namespace to "cspi_" for statics.
4724 Patched tests to use the new CSPI API.
4726 * docs/reference/cspi/at-spi-cspi-sections.txt:
4727 Updated docs to reflect namespace changes, and added a number of
4728 methods to the documentation.
4730 * registryd/registry.c:
4731 Changed use of strings and string hashes in listener event
4732 matching and parse_event_string to use GQuark, which is guaranteed
4735 * registryd/registry.h:
4736 Squashed annoying warning.
4738 * idl/Accessibility_Role.idl:
4739 Extended range of available Accessibility_Role values.
4741 * cspi/spi_accessible.c:
4742 Re-ordered role names.
4744 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4746 * idl/Accessibility_Value.idl:
4747 Revert use of union back to CORBA_double, since the double type is
4748 more efficient and can contain the other types without loss of
4751 * idl/Accessibility_Accessible.idl:
4752 Added method Accessibility:Accessible:getRoleName, to complement
4753 Accessibility:Accessible:getRole.
4755 * cspi/spi_accessible.c:
4757 Added C binding for above, Accessible_getRoleName (), and changed
4758 signature of Accessible_getRole () to return an AccessibleRole.
4760 * cspi/spi-roletypes.h:
4761 Changed AccessibleRole_getName to return a char * instead of a
4762 const char *. This method is now at least temporarily deprecated
4763 in favor of asking Accessibles for their RoleNames directly.
4766 Revert to match Accessibility_Value.idl;
4770 Change signature of AccessibleValue methods to use double rather
4774 * cspi/spi_accessible.c:
4775 Changed Accessible_getRole to return an AccessibleRole enum rather
4776 than a UTF-8 string. The UTF-8 string can still be obtained via
4777 AccessibleRole_getName ().
4779 * test/test-simple.c:
4780 Add test_action. Small fixup to match API change to Accessible_getRole.
4783 Bugfix for get_action_from_servant ().
4785 2001-12-11 Michael Meeks <michael@ximian.com>
4787 * libspi/libspi.h: remove registry.h and
4788 desktop.h, deviceeventcontroller.h
4790 * libspi/Makefile.am: remove registry.[ch],
4791 desktop.[ch], deviceeventcontroller.[ch]
4793 * registryd/Makefile.am: add registry.[ch],
4794 desktop.[ch], rename registryd.c to registry-main.c.
4795 add deviceeventcontroller.[ch]
4797 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4800 Replace setenv() call with putenv ().
4802 * libspi/component.c:
4803 Bugfix in AccessibleComponent_getExtents (),
4806 2001-12-11 Michael Meeks <michael@ximian.com>
4808 * libspi/image.c (impl_getImageExtents): impl.
4809 (spi_image_class_init): upd.
4812 (AccessibleImage_getImageDescription): fix daft bug
4815 * test/test-simple.c (global_listener_cb): update
4816 to only quit if not --poke
4817 (main): catch --poke.
4818 (validate_accessible): upd. dumping, call test_image
4821 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
4824 * idl/Accessibility.idl: update all IDL includes.
4826 * idl/*.idl - rename to namespace - this sucks, blame
4827 mjs' bad decision for oafd.
4829 * test/test-simple.c (create_test_window): add more tests.
4830 (create_tree): split this out.
4831 (validate_accessible): bugfix.
4833 2001-12-11 Michael Meeks <michael@ximian.com>
4835 * cspi/bonobo/cspi-bonobo-listener.c:
4836 (cspi_kestroke_listener_unref),
4837 (cspi_event_listener_unref): impl. undoing previous
4838 homenous environment - for Bill.
4840 * cspi/spi_table.c (long_seq_to_array): use
4843 * cspi/spi_main.c: split out all bonoboish bits into
4846 * cspi/spi-impl.h: upd. typedefs.
4848 * cspi/spi_registry.c: update to lowlevel API,
4849 return booleans to indicate success in some places.
4851 * cspi/spi_event.c: update to lowlevel API.
4853 * cspi/bonobo/Makefile.am: add.
4855 * cspi/bonobo/cspi-lowlevel.h: add
4857 * cspi/bonobo/cspi-bonobo.c: add
4859 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
4861 * cspi/Makefile.am: remove spi-listener-impl.[ch],
4862 (SUBDIRS): add bonobo, link in the libs.
4864 * cspi/spi-util.c: kill this file.
4866 * TODO: merge in my bits.
4868 2001-12-11 Michael Meeks <michael@ximian.com>
4870 * test/test-simple.c (test_value, test_table, main):
4871 remove unused variables causing warnings.
4873 * configure.in: cleanup checks - require gail.
4875 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4878 Changed Value interface to use SValue (scalars) rather than
4879 assuming all values are floats. This allows floats, doubles,
4880 longs, shorts, and unsigned values to be manipulated.
4881 Introduced Accessibility:SValue union.
4884 Updated to use new API above, and to work correctly with GValues
4885 of different types in AtkValue.
4888 Updated to use new API above. cspi's API is as yet unchanged.
4891 Updated the Value revision action item.
4893 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4895 * test/test-simple.c:
4896 Added test_table (GtkTreeView widget in test window to follow).
4897 Un-commented test_value, added GtkRange widget.
4898 Added GtkTreeView widget with GtkListStore. It passes regression
4899 test but leaks one SPI object for some reason.
4902 Fixed bug in impl__set_currentValue.
4904 2001-12-10 Michael Meeks <michael@ximian.com>
4906 * cspi/spi_text.c: audit for exception handling,
4907 tolerating NULL object references safely etc.
4909 * cspi/spi_value.c: ditto.
4911 * cspi/spi_table.c (AccessibleTable_getSummary),
4912 (AccessibleTable_getAccessibleAt),
4913 (AccessibleTable_getRowHeader),
4914 (AccessibleTable_getColumnHeader),
4915 (AccessibleTable_getCaption): fix bugs hidden by
4917 (long_seq_to_array): impl.
4918 (AccessibleTable_getSelectedRows),
4919 (AccessibleTable_getSelectedColumns): use it.
4921 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4924 Added a TODO list (rough and short for now).
4926 * cspi/spi_hyperlink.c:
4927 * cspi/spi_hypertext.c:
4928 Fixed macro name typos, and remove use of obsolete macro in
4929 AccessibleHyperlink_getLink.
4931 * cspi/spi_action.c:
4932 * cspi/spi_accessible.c:
4933 * cspi/spi_application.c:
4934 * cspi/spi_component.c:
4935 * cspi/spi_selection.c:
4938 Documentation fixes (removed return values from ref/unref methods).
4940 2001-12-10 Michael Meeks <michael@ximian.com>
4942 * cspi/spi_action.c: audit for exception handling,
4943 tolerating NULL object references safely etc.
4945 * cspi/spi_accessible.c: ditto.
4947 * cspi/spi_component.c: ditto.
4949 * cspi/spi_editabletext.c: ditto.
4951 * cspi/spi_hyperlink.c: ditto.
4953 * cspi/spi_hypertext.c: ditto.
4955 * cspi/spi_image.c: ditto.
4957 * cspi/spi_selection.c: ditto.
4959 2001-12-10 Michael Meeks <michael@ximian.com>
4961 * configure.in: use cspi/libspi.pc.in instead.
4963 * Makefile.am (pkgconfig_DATA): upd. to match.
4965 * test/simple-at.c (report_focus_event): kill hacks around
4966 bad return values, use putenv not setenv
4968 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
4969 fire ChildGone - I killed it.
4971 * libspi/component.c
4972 (impl_accessibility_component_get_extents): remove
4975 * idl/Accessible.idl: kill ChildGone exception.
4977 * cspi/*.[ch]: kill int return from ref / unref.
4979 * cspi/spi_main.c (cspi_object_add_check): fold into
4980 (cspi_object_add): here.
4982 * cspi/spi_component.c (AccessibleComponent_getExtents):
4983 handle exceptions elegantly.
4985 * cspi/spi-private.h (cspi_check_ev_return),
4986 (cspi_return_if_fail): impl.
4988 * cspi/spi_accessible.c: use extensively.
4989 (AccessibleStateSet_equals): add direct compare check.
4991 * cspi/spi_selection.c: tolerate NULL objs, and check
4992 exceptions before return.
4994 * cspi/spi-util.c (cspi_warn_ev): rename to
4995 (cspi_check_ev): this & don't pass ev in; no point.
4997 2001-12-10 Michael Meeks <michael@ximian.com>
4999 * test/test-simple.c: use putenv not setenv
5000 (get_environment_vars): more chatty if you're not using
5003 * test/simple-at.c: do the setenv so more people see the
5006 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5008 * libspi/registry.c:
5009 Changed check of CORBA_environment on notification to be a warning
5010 instead of an error for the moment, since we can recover from this
5011 error when caused by a queued notification from a dead app.
5014 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
5015 used by all current implementors of AtkValue), and coerce to
5016 CORBA_float. (Proper general case fix may require change to Value.idl).
5018 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5022 * cspi/spi_accessible.c:
5023 Documentation fixes: added user_data params to documentation for
5024 listeners and callbacks.
5026 * cspi/spi_accessible.c:
5027 Changed AccessibleStateSet_compare to return a
5028 StateSet rather than return the difference set into a third parameter.
5031 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5034 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
5035 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
5039 Remove subdirectory po from SUBDIRS for now.
5041 * at-bridge/bridge.c:
5042 Beefed up a couple of debug printouts.
5043 One-line fix for signal notification name formatting.
5045 * libspi/accessible.c:
5046 Added assertion to spi_accessible_new ().
5048 * libspi/application.c:
5049 Put #ifdef qualifiers around a printf.
5052 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
5054 * registryd/Makefile.am:
5056 Replaces use of XML_I18N_MERGE_SERVER_RULE with
5057 INTLTOOL_SERVER_RULE macro.
5060 Added an event listener for several ATK signals, for
5061 testing and debugging. Removed a few g_warnings.
5062 Added test output if focussed item implements the Value interface.
5064 * test/test-simple.c:
5065 Added test_value () function (known not to pass at the moment, so
5066 not actually called yet.
5068 2001-12-08 Michael Meeks <michael@ximian.com>
5070 * at-bridge/bridge.c (bridge_focus_tracker),
5071 (emit_eventv): fix the same ref. leak.
5072 (register_atk_event_listeners): don't leak.
5074 * cspi/spi-listener-impl.c (cspi_event): more
5075 protection from client code.
5077 * test/test-simple.c (test_desktop): unref the app.
5079 * test/Makefile.am: upd. TESTS.
5081 * at-bridge/bridge.c (bridge_exit_func): release the registry.
5083 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
5085 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
5087 * cspi/spi_registry.c: constify in strings.
5088 (deregisterGlobalEventListenerAll): don't release the ref.
5090 * cspi/spi.h: start removing redundant / conflicting
5091 gtkdoc comments, making the API readable at a glance :-)
5093 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
5095 * test/keysynth-demo.c (keysynth_exit, main): upd.
5097 * test/simple-at.c (main, simple_at_exit): upd.
5099 * test/test-simple.c (unutterable_horror): kill.
5100 (utterable_normal_derefs): kill.
5101 (main): upd & do a setenv before gtk_init, so that we
5102 can use memprof - and to save the pain of remembering
5103 this, if we're running under memprof - don't exit.
5105 * cspi/spi_main.c (SPI_exit): return exit status
5107 (SPI_event_quit): impl.
5108 (SPI_event_main): simplify.
5109 (cspi_is_gnome_app): kill.
5110 (SPI_init): kill isGNOMEapp arg.
5112 * at-bridge/bridge.c (register_atk_event_listeners):
5113 re-instate the unref.
5114 (bridge_exit_func): don't re-activate the registry,
5115 protect vs. theoretical re-entry, use the
5116 AT_BRIDGE_SHUTDOWN env. var to determine whether to
5117 assert a clean shutdown - for regression tests.
5119 2001-12-08 Abel Cheung <maddog@linux.org.hk>
5121 * configure.in: Comment out dummy i18n support for now,
5122 otherwise it fails to build.
5123 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
5124 EXTRA_DIST. They are missing in tarball.
5126 2001-12-07 Michael Meeks <michael@ximian.com>
5128 * util/magnifier.c: kill bonobo activation reg. race.
5130 * libspi/component.c
5131 (impl_accessibility_component_get_extents): make it match
5134 * libspi/registry.c (_registry_notify_listeners):
5135 re-remove X headers & reconcile conflicts.
5136 (spi_listener_struct_free): bad conflict resolve.
5137 (impl_accessibility_registry_register_application):
5138 more bad merging fixed.
5139 (impl_accessibility_registry_deregister_application): ditto.
5140 (spi_registry_new): ditto.
5141 (spi_registry_init): don't have an applications field.
5143 [ merge fixups2 branch to here ]
5144 2001-12-07 Michael Meeks <michael@ximian.com>
5146 * test/simple-at.c (report_focus_event),
5147 (report_focussed_accessible): remove g_warning debug.
5149 2001-12-07 Michael Meeks <michael@ximian.com>
5151 * test/test-simple.c (validate_tree): comment out some checks.
5152 (test_desktop): app now not registered idly - horay.
5154 2001-12-07 Michael Meeks <michael@ximian.com>
5156 * cspi/spi_registry.c
5157 (registerAccessibleKeystrokeListener): clean, stop it leaking
5158 great swathes of memory, and device event controller references.
5159 ensure we always pass valid sequences.
5160 (deregisterAccessibleKeystrokeListener): ditto.
5161 (generateKeyEvent): upd.
5163 * at-bridge/bridge.c (bridge_key_listener): handle
5164 registry dead exception gracefully.
5165 (bridge_focus_tracker, emit_eventv): free ev.
5167 * test/simple-at.c (report_focus_event): fix polarity.
5169 * libspi/application.c (notify_listeners): kill the ev
5170 argument, and make sure we init the ev we use.
5171 (spi_application_object_event_listener): split out a chunk
5172 (get_atk_object_ref): here & fixup.
5173 (reverse_lookup_name_for_toolkit_event): make const.
5174 (spi_application_toolkit_event_listener): fixup, kill leaks
5177 * at-bridge/bridge.c (register_atk_event_listeners):
5178 don't unref the noop object - causes grief.
5180 * libspi/registry.c: remove the X headers.
5181 turn off the debug churn.
5183 * libspi/accessible.c (spi_accessible_new_return): only
5184 release the ref if we are supposed to [doh]
5186 * test/simple-at.c (report_button_press, report_focus_event):
5187 guard vs. unexpected exit.
5189 * at-bridge/bridge.c (gtk_module_init): prune printf.
5190 (bridge_exit_func): fix app unref.
5192 * libspi/Makefile.am: don't install registry or desktop.h
5194 * libspi/*.h: update includes.
5196 * libspi/application.h: don't include ourself, or
5197 other redundant headers.
5199 2001-12-06 Michael Meeks <michael@ximian.com>
5201 * libspi/accessible.c
5202 (get_accessible_from_servant): impl.
5203 Upd. all CORBA impl.s to use it killing cut and paste.
5205 * cspi/spi_main.c (cspi_cleanup): guard vs. double
5207 (SPI_init): register atexit cleanup handler here.
5209 2001-12-06 Michael Meeks <michael@ximian.com>
5211 * at-bridge/bridge.c (gtk_module_init): g_error on
5212 activation exception
5214 2001-12-06 Michael Meeks <michael@ximian.com>
5216 * at-bridge/bridge.c (gtk_module_init): some sort of
5217 confusing merge clash - reverted.
5218 (bridge_idle_init): ditto.
5220 * test/test-simple.c (main, utterable_normal_derefs):
5221 merge from Bill - somehow not committed.
5223 2001-12-06 Michael Meeks <michael@ximian.com>
5225 * libspi/value.c (spi_value_class_init): upd.
5226 (spi_value_finalize): kill.
5228 * libspi/table.c (spi_table_finalize): kill.
5229 (spi_table_interface_new): upd.
5230 (spi_table_class_init): upd.
5231 (get_table_from_servant): impl.
5232 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5234 * libspi/selection.c (spi_selection_finalize): kill.
5235 (spi_selection_interface_new): upd.
5236 (spi_selection_class_init): upd.
5237 (get_selection_from_servant): impl.
5238 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5240 * libspi/relation.c (spi_relation_finalize): kill.
5241 (spi_relation_class_init, spi_relation_new): upd
5243 * libspi/image.c (spi_image_finalize): kill.
5244 (spi_image_class_init): upd.
5245 (spi_image_interface_new): upd.
5246 (get_image_from_servant): impl.
5247 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5249 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
5250 (spi_hyperlink_finalize): kill.
5251 (spi_hyperlink_new): upd.
5252 (get_hyperlink_from_servant): impl.
5253 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5255 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
5256 (spi_hypertext_finalize): kill.
5257 (spi_hypertext_class_init): upd.
5258 (get_hypertext_from_servant): impl.
5259 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5261 * libspi/editabletext.c (spi_editable_text_finalize): kill.
5262 (spi_editable_text_interface_new): upd.
5263 (get_editable_text_from_servant): impl.
5264 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5266 * libspi/text.c (get_text_from_servant): impl.
5267 All impls - update to use it killing more cut and paste,
5268 also fix bad string returns on duff args ( a somewhat
5269 impossible case to handle - but hey ).
5270 (spi_text_construct): impl.
5271 (spi_text_interface_new): upd.
5272 (spi_text_object_finalize): kill.
5274 * libspi/component.c
5275 (accessibility_component_object_finalize): kill.
5276 (spi_component_class_init): upd.
5277 (get_component_from_servant): impl. helper to kill cut & paste.
5278 (impl_accessibility_component_contains):
5279 (impl_accessibility_component_get_accessible_at_point):
5280 (impl_accessibility_component_get_position):
5281 (impl_accessibility_component_get_extents):
5282 (impl_accessibility_component_get_mdi_z_order):
5283 (impl_accessibility_component_get_layer):
5284 (spi_component_interface_new): upd.
5286 * libspi/action.c (spi_action_finalize): kill.
5287 (spi_action_class_init): upd. inherit from SpiObject.
5288 (spi_action_interface_new): upd.
5289 (get_action_from_servant): impl. helper to reduce cut & paste.
5290 (impl_getKeyBinding, impl_getName, impl_doAction),
5291 (impl_getDescription): Use it everywhere.
5293 * cspi/spi_main.c (get_live_refs): a pointer hash.
5294 (spi_object_hash, spi_object_equal): comment out.
5295 There are issues with CORBA object hashing that need
5298 * libspi/application.c (spi_application_init),
5299 (spi_application_new): upd.
5301 * libspi/accessible.c (spi_accessible_object_finalize): kill.
5302 (spi_accessible_class_init): upd.
5303 s/accessible/object/ in epv methods.
5305 2001-12-05 Bill Haneman <bill.haneman@sun.com>
5307 * at-bridge/bridge.c:
5308 Reorder the bridge initialization into the bridge gtk_module_init,
5309 an immediate call to bridge_register_app, and an idle_add for
5310 register_atk_event_listeners (the only code that *must* wait until
5311 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
5312 the activation, creates the application's Accessible object, and
5313 queues the bridge_idle_init function. Restored call to
5314 Accessibility_Registry_deregisterApplication().
5315 Prior to making this call we obtain a new reference to the
5316 registry, which is a temporary hack that helps us handle apps that
5317 shut down the bonobo mainloop before we get there.
5319 * libspi/registry.c:
5320 Fix string leakage in debug block, and don't segv if a an app
5321 dies before its event notifications have been propagated.
5324 Modify cspi_check_ev() to call g_warning() rather than g_error(),
5325 as stopgap measure until we get proper exception handling when
5326 objects die during or before interrogation.
5330 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
5331 Also changed default value of is_gnome_app to TRUE.
5334 * test/keysynth-demo.c:
5335 Changed use of SPI_init and SPI_event_main to reflect API change above.
5338 Made report_focus_event check the warning value from getName
5339 before reporting on focussed accessible; simplifies handling of
5340 notifications from dead objects.
5342 * test/test-simple.c: (Changes not in this patch since source is
5345 2001-12-05 Michael Meeks <michael@ximian.com>
5347 * registryd/registryd.c (main): protect against
5348 bonobo-activation startup race condition.
5350 * cspi/spi_main.c (cspi_object_add_check): cope
5351 with the exception elegantly.
5353 * idl/Accessible.idl: decl. ChildGone
5355 * libspi/desktop.c (spi_desktop_dispose): impl.
5356 (spi_desktop_class_init): upd.
5357 (spi_desktop_add_application),
5358 (spi_desktop_remove_application),
5359 (abnormal_application_termination): impl.
5360 (impl_desktop_get_child_at_index): re-impl.
5363 (impl_accessibility_registry_deregister_application),
5364 (impl_accessibility_registry_register_application):
5365 kill excessive debug clutter.
5367 * test/test-simple.c (test_misc): test some NULL
5368 tolerance. (main): upd.
5370 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
5371 implements no interfaces - so let's not crash.
5373 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
5375 * libspi/accessible.c (spi_accessible_new_return): impl.
5376 helper to calm the cut and paste, to cope with
5377 NULL AtkObjects effectively and efficiently, and to kill
5378 the referencing bugs.
5380 * libspi/table.c (impl_getAccessibleAt),
5381 (impl_getRowHeader, impl_getColumnHeader): upd.
5383 * libspi/hyperlink.c (impl_getObject): upd.
5385 * libspi/accessible.c
5386 (impl_accessibility_accessible_get_child_at_index): upd.
5388 * libspi/component.c
5389 (impl_accessibility_component_get_accessible_at_point): upd.
5391 * test/test-simple.c (test_editable_text, test_text): impl.
5394 * cspi/spi_editabletext.c
5395 (AccessibleEditableText_insertText): constify.
5397 * test/test-simple.c (focus_me): make more robust.
5399 * libspi/accessible.c: remove some printfs in methods that
5400 we test and work fine, so we can get a clean tree dump.
5402 * test/test-simple.c (validate_accessible),
5403 (validate_tree): make tree dumping pretty too.
5405 * at-bridge/bridge.c (bridge_signal_listener): upd. so
5406 it builds without debug on.
5408 * test/test-simple.c (validate_accessible): fix the most
5411 * cspi/spi_main.c (spi_object_release): leave the nicely
5412 blanked memory around if in debug mode.
5414 * cspi/spi-listener-impl.c (cspi_event): use add_check.
5416 [committed to fixups2]
5417 2001-12-05 Michael Meeks <michael@ximian.com>
5419 * libspi/editabletext.c
5420 (spi_editable_text_class_init): g_type_class_peek_parent,
5421 not interface peek - so we finalize cleanly.
5423 * libspi/accessible.c (spi_accessible_new): kill debug.
5425 * test/test-simple.c (validate_accessible): fix ref.
5426 leak, print strings before freeing them; sigh, comment a
5427 chunk out due to strangeness.
5428 (validate_tree): unref the child after use.
5430 * cspi/spi_component.c (AccessibleComponent_getLayer):
5431 add missing break statement, switch on zlayer not the
5432 uninitialized retval.
5434 * cspi/spi_main.c (cspi_object_add): add assert, local ref
5435 before (possibly re-entering) remote unref.
5437 * test/simple-at.c (main): unref the desktop.
5439 * cspi/spi_accessible.c (cspi_accessible_is_a): move
5442 * cspi/spi_main.c (cspi_accessible_is_a): here to
5443 isolate bonobo API usage more.
5445 * libspi/registry.c (impl_accessibility_registry_register_application):
5446 prune bogus comment.
5448 2001-12-04 Michael Meeks <michael@ximian.com>
5450 * test/test-simple.c (validate_tree): upd.
5451 IndexInParent check to make it more lucid.
5452 (validate_accessible): dump the tree.
5454 * libspi/accessible.c (de_register_public_ref),
5455 (get_public_refs): impl.
5456 (spi_accessible_new): make more efficient & intuitive.
5457 Now IndexInParent check works.
5459 2001-12-04 Michael Meeks <michael@ximian.com>
5461 * cspi/spi-util.h: remove.
5463 * cspi/spi.h: move SPI_freeString here
5465 * libspi/component.c (impl_accessibility_component_get_layer):
5467 (impl_accessibility_component_get_mdi_z_order): ditto,
5468 return -1 on error - is this ok ?
5470 * test/test-simple.c (test_application): impl.
5472 * cspi/spi_accessible.c (Accessible_getApplication),
5473 (Accessible_isApplication): impl.
5475 * libspi/registry.c (spi_listener_struct_free): release
5476 the CORBA reference too.
5478 * libspi/accessible.c
5479 (impl_accessibility_accessible_get_parent): fix ref leak.
5481 * libspi/registry.c (spi_registry_new): make the registry
5482 immortal - we don't want it to go away ever.
5484 * libspi/application.c
5485 (spi_accessible_application_finalize): impl. cleanup.
5487 * cspi/spi_registry.c
5488 (deregisterGlobalEventListenerAll),
5489 (deregisterGlobalEventListener),
5490 (deregisterAccessibleKeystrokeListener): fix ref leak.
5492 * cspi/spi_main.c (SPI_init): remove redundant ref.
5494 * test/test-simple.c (unutterable_horror): impl. to force a
5499 (impl_accessibility_registry_deregister_application): release
5500 the application when we de-register it.
5502 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
5503 until we have the infastructure to get it right.
5505 2001-12-03 Michael Meeks <michael@ximian.com>
5507 * libspi/Makefile.am: only build eventlistener.[ch]
5509 * libspi/accessible.c
5510 (impl_accessibility_accessible_get_child_at_index): don't leak.
5512 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
5513 before we hit the idle handler.
5515 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
5516 debugging than exit.
5518 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
5520 * libspi/listener.c (impl_notify_event): check source
5521 not NIL before unref.
5523 * libspi/registry.c (impl_registry_notify_event): ditto.
5525 * libspi/eventlistener.c
5526 (impl_accessible_event_notify_event): unref the source.
5528 * libspi/accessibleeventlistener.c
5529 (impl_accessible_event_notify_event): unref the source.
5531 * idl/Event.idl: remove 'hash_id' attribute - of no
5534 * libspi/application.c (notify_listeners): upd list
5536 (spi_application_object_event_listener),
5537 (spi_application_toolkit_event_listener): upd to do correct
5541 (_registry_notify_listeners): update.
5542 (parse_event_type): this method also leaks like a sieve.
5543 (impl_accessibility_registry_deregister_global_event_listener):
5544 fix ETYPE_WINDOW case.
5546 * libspi/application.c
5547 (impl_accessibility_application_register_object_event_listener):
5550 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
5552 * libspi/hypertext.c (impl_getLink): ditto.
5554 * cspi/spi_main.c (cspi_object_add): remove
5555 bogus CORBA_Object_duplicate.
5557 * cspi/spi-listener-impl.c (cspi_event): dup/ref
5560 * cspi/spi_accessible.c
5561 (Accessible_getRelationSet): fix leak / referencing issue.
5563 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
5564 (cspi_object_add, cspi_object_unref): upd.
5565 (spi_object_release, get_live_refs): impl.
5566 (cspi_cleanup): simplify.
5568 * *.[ch]: s/boolean/SpiBoolean/
5570 * cspi/spi_accessible.c (role_names): actualy order so it
5571 corresponds with the enum !
5573 * test/test-simple.c (test_roles): check some role strings
5574 vs. enums to detect offset errors.
5576 2001-12-01 Michael Meeks <michael@ximian.com>
5578 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
5580 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
5582 (Accessible_getChildAtIndex): use cspi_add_check so we
5583 check the ev before using a (possibly) invalid value.
5585 * libspi/accessible.c
5586 (impl_accessibility_accessible_get_parent): don't segv
5589 * at-bridge/bridge.c (gtk_module_init): upd.
5590 (bridge_property_event_listener): don't leak strings
5592 (bridge_state_event_listener),
5593 (bridge_property_event_listener): don't use a static
5594 buffer in case of recursive event emission &
5595 re-enterancy - split out the swathe of cut and paste
5597 (emit_eventv): and fix 2 ref leaks here & comply to the
5599 (bridge_register_app): rename to
5600 (bridge_idle_init): this and kill arg parsing, split
5601 various inits & bonobo-activation registration to module
5602 init time, kill referencing error.
5603 (bridge_exit_func): fix the same leak.
5604 (bridge_focus_tracker): don't leak event structures
5606 (bridge_signal_listener): more leakage and cut & paste
5608 (bridge_key_listener): return the result - FIXME is
5609 this polarity correct ?
5610 (accessibility_keystroke_from_atk_key_event): rename
5611 (accessibility_init_keystroke_from_atk_key_event): and stop
5613 (gtk_module_init): return a value - not that it is checked by
5615 (bridge_key_listener): register my horror at casting between
5616 IDL defined structs.
5617 (bridge_get_registry): kill - not used.
5619 * cspi/spi_accessible.c (Accessible_getRole): make return const.
5621 * test/test-simple.c (test_roles): impl.
5622 (test_desktop, validate_accessible, validate_tree): impl.
5624 * cspi/spi_accessible.c (role_names): fixup bogus
5625 MAX_ROLES setup, make constants const for efficient linkage
5626 (AccessibleRole_getName): conform to coding style, make
5629 2001-11-30 Michael Meeks <michael@ximian.com>
5631 * cspi/spi.h: add missing prototype.
5633 * libspi/registry.c (spi_listener_struct_new): fix sig.
5635 * test/Makefile.am: add test-simple
5637 * test/test-simple.c: add
5639 * test/test.sh: add.
5641 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
5643 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
5644 do it straight - since otherwise we often get an activation race.
5646 [ work before Bill duplicated a chunk of it ... ]
5647 2001-11-30 Michael Meeks <michael@ximian.com>
5649 * libspi/keystrokelistener.c
5650 (spi_keystroke_listener_class_init): fixup arg
5653 * libspi/eventlistener.c
5654 (spi_event_listener_class_init): ditto.
5656 * tests/test.sh: add.
5658 * cspi/spi-listener-impl.h: update macros.
5660 * cspi/spi-listener-impl.c
5661 (cspi_event_listener_remove_callback): add
5662 correct pre-conditions.
5664 * cspi/spi_main.c (SPI_exit): guard vs. double
5665 exits, exit the mainloop nicely.
5666 (SPI_event_main): make more sense.
5667 (SPI_init): move the atexit evilness here so we
5668 always do it (yuck).
5669 (SPI_event_main): upd.
5671 * test/simple-at.c: update for listener changes.
5673 * registryd/registryd.c (main): prune kruft.
5675 * libspi/libspi.h: upd.
5677 * libspi/eventlistener.[ch]: rename broken macros.
5679 * libspi/accessibleeventlistener.[ch]: remove.
5681 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
5683 * test/test-simple.c: Add - automated tests.
5685 * cspi/spi-listener-impl.c (cspi_event),
5686 (cspi_key_event): add user_data to invoke.
5687 (cspi_keystroke_listener_finalize): impl.
5688 (cspi_keystroke_listener_class_init): upd.
5691 (createAccessibleEventListener),
5692 (AccessibleEventListener_addCallback),
5693 (createAccessibleKeystrokeListener),
5694 (AccessibleKeystrokeListener_addCallback): upd.
5696 * libspi/deviceeventcontroller.c
5697 (spi_device_event_controller_check_key_event): add public proto.
5700 (impl_accessibility_registry_deregister_global_event_listener):
5701 always init listeners.
5702 (_registry_notify_listeners): yes it is.
5704 * cspi/spi-listener-impl.c (cspi_key_event):
5706 (cspi_event_listener_finalize): impl.
5707 (cspi_event_listener_class_init): hook up.
5708 (event_handler_new, event_handler_free),
5709 (event_list_remove_by_callback): impl.
5710 (cspi_event_listener_remove_callback),
5711 (cspi_keystroke_listener_remove_callback),
5712 (cspi_keystroke_listener_add_callback),
5713 (cspi_event_listener_add_callback): upd.
5715 * libspi/keystrokelistener.c
5716 (keystroke_listener_object_finalize): kill
5717 (spi_keystroke_listener_class_init): upd.
5718 (spi_keystroke_listener_add_callback),
5719 (spi_keystroke_listener_remove_callback): kill,
5721 (impl_key_event): prune drasticaly.
5723 * libspi/eventlistener.c
5724 (spi_event_listener_add_callback),
5725 (spi_event_listener_remove_callback): kill, use
5727 (impl_accessible_event_notify_event): upd.
5728 (spi_event_listener_object_finalize): remove.
5730 * libspi/Makefile.am: use eventlistener.[ch]
5732 2001-12-04 Bill Haneman <bill.haneman@sun.com>
5734 * libspi/registry.c (_registry_notify_listeners):
5735 Changed listener loop iteration to use preferred convention.
5736 Got rid of string memory leaks caused be calling g_strconcat
5737 inside function calls.
5739 * libspi/registry.c (parse_event_type):
5740 Stopped g_strconcat memory leaks, free the g_strsplit return,
5741 g_strdup the split pieces when used, etc.
5743 2001-12-04 Bill Haneman <bill.haneman@sun.com>
5746 Change method 'compare' to return a 'difference set' rather than
5747 taking a StateSet as an out parameter (more Java-friendly).
5749 * idl/Accessible.idl:
5750 Added CORBA struct 'BoundingBox', to faciliate API changes below:
5752 * idl/Component.idl:
5754 Changed methods 'getExtents' and 'getImageExtents' in these
5755 interfaces to return a BoundingBox structure.
5756 (getPosition and getSize are redundant and possibly should be
5757 removed, rather than creating a corresponding Point struct.)
5759 * cspi/spi_component.c:
5760 Modify implementation of getExtents to reflect the above IDL
5765 Add (missing) AccessibleImage_getExtents () API.
5767 * docs/reference/cspi/at-spi-cspi-sections.txt:
5768 Added AccessibleImage_getImageExtents () to docs.
5770 2001-12-03 Bill Haneman <bill.haneman@sun.com>
5772 * idl/Component.idl:
5773 Added two methods, getLayer () and getMDIZOrder (), to reflect
5774 the new ATK methods atk_object_get_layer and
5775 atk_object_get_mdi_z_order. (Which arguably should be part of the
5776 AtkComponent API and AtkObject). Also added an enum,
5777 ComponentLayer, for the first method's return value.
5779 * libspi/component.c:
5780 Added implementations for these methods.
5782 * cspi/spi_component.c:
5784 Added cspi binding methods for above,
5785 AccessibleComponent_getLayer() and
5786 AccessibleComponent_getMDIZOrder().
5787 Added cspi enum 'AccessibleComponentLayer'.
5789 * docs/reference/cspi/at-spi-cspi-sections.txt:
5790 Added above methods to docs.
5794 Changed typedef for 'boolean' type (and all references to it) to
5795 SPIBoolean, to avoid keyword clashes with C++.
5798 Changed usages of 'boolean' to SPIBoolean.
5800 * test/keysynth-demo.c:
5801 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
5802 app), except where SPIBoolean is required by the callbacks API.
5804 2001-12-02 Bill Haneman <bill.haneman@sun.com>
5806 * cspi/spi_registry.c:
5807 Removed obsolete X event loop for passive keygrabs (which now
5810 * registryd/registryd.c:
5811 Removed unnecessary call to gdk_init() [cruft]. This also allows
5812 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
5815 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5817 * docs/reference/cspi:
5818 Included docs for SPI_freeString in generated documentation.
5821 Renamed spi_freeString to SPI_freeString, for consistency. Added
5822 documentation for this function.
5825 Renamed spi_freeString to SPI_freeString, for consistency.
5826 Removed obsolete method declaration string_from_corba_string.
5828 * test/keysynth-demo.c:
5829 Small tweak to comments.
5832 Stopped leaking the strings returned from CSPI.
5834 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5836 Merged Michael's branch (see his ChangeLog entries below).
5838 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
5839 bridge is alive, release on exit.
5841 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
5842 Fix type check macro.
5845 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
5848 Added is_gnome_app static, and method cspi_is_gnome_app(),
5849 so we can call the appropriate shutdown routine at exit in SPI_exit.
5851 * cspi/spi_main.c (cspi_object_ref):
5852 Duplicate the corba object passed in, since we're keeping it around.
5854 * cspi/SPI_exit.c, cspi_cleanup:
5855 Moved the releasing of the live refs to its own function, so we
5856 can put it in g_atexit (). Call the appropriate shutdown API
5857 depending on whethe calling client is a gnome app or not
5858 (bonobo_main_quit or CORBA_ORB_shutdown).
5860 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
5861 Unref the listener when this method is called, after
5862 deregistration. Updated the API docs to note this behavior.
5864 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
5865 Bugfixes: Ref the bonobo object when returning a parent or child
5866 reference, or an AccessibleRelation. Generally made sure
5867 BonoboObject refcount is incremented whenever we return an
5870 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
5871 Fixed typo/bug in signal declaration.
5873 * libspi/accessibleeventlistener.h:
5876 * libspi/application.c (spi_application_new):
5877 Fixed leak in initialization.
5880 Remembered to increment bonobo-object refcount when returning
5881 children (applications) from desktop object.
5882 Added (empty) finalize method.
5884 * libspi/deviceeventcontroller.c:
5885 Hold a ref to listeners inside DEControllerKeyListeners.
5886 Added dec_key_listener_free() method. Use prepend instead of
5887 append in key_listener list. Fixed some refcount madness and
5888 leaks in the listener registration/deregistration - deregistration
5889 now calls dec_key_listener_free() on listeners, and on the
5890 temporarily constructed dec_key_listener() used to perform the search/match.
5892 * libspi/hypertext.c (spi_hypertest_finalize):
5893 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
5894 class. Also fixed spi_hypertext_interface_new() and
5895 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
5897 * libspi/hypertext.h:
5898 Removed pointless and duplicate AtkObject pointer from
5901 * libspi/keystrokelistener.c:
5902 Fixed incorrect type of keystroke_listener_parent_class,
5903 renamed keystroke_listener_object_finalize to
5904 spi_keystroke_listener_object_finalize.
5905 Fixed typo in signal declaration
5906 (spi_keystroke_listener_class_init).
5908 * libspi/registry.c:
5909 Added funcsions spi_listener_struct_new() and
5910 spi_listener_struct_free() to help with memory management issues.
5911 We also now use these methods instead of gnew + poking stuff into
5912 the struct, and to decrement listener counts/free the listeners
5913 when deregistering them.
5914 Fix more refcount bugs in getDesktop() and
5915 getDeviceEventController().
5918 De-ref the desktop after enumerating the applications. Explicitly
5919 decrement the refcounts on the created listeners on exit (using
5920 _unref for keystroke listeners, and via the
5921 deregisterGlobalEventListenerAll command for other event
5924 2001-11-27 Michael Meeks <michael@ximian.com>
5926 * cspi/spi-listener.h: fixup enum.
5928 2001-11-27 Michael Meeks <michael@ximian.com>
5930 * cspi/spi-listener-impl.c (cspi_event_listener_new),
5931 (cspi_keystroke_listener_new): Use the cspi variants.
5933 2001-11-26 Michael Meeks <michael@ximian.com>
5935 * test/keysynth-demo.c: fix 2 compile warnings, missing
5938 * test/simple-at.c (report_focussed_accessible),
5939 (report_focus_event, report_button_press),
5940 (check_property_change, is_command_key),
5941 (report_ordinary_key_event, report_command_key_event): upd.
5943 * util/mag_client.h: include pre-requisites.
5945 * libspi/accessibleeventlistener.c
5946 (spi_event_listener_object_finalize): free any lingering
5949 * libspi/keystrokelistener.c
5950 (keystroke_listener_object_finalize): ditto.
5952 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
5953 callbacks, with cspi types.
5955 * cspi/spi_event.c (createAccessibleEventListener): chain to
5956 (AccessibleEventListener_addCallback): here.
5957 (createAccessibleKeystrokeListener): chain to
5958 (AccessibleKeystrokeListener_addCallback): here.
5960 * libspi/keystrokelistener.c
5961 (spi_keystroke_listener_class_init): add signal.
5962 (impl_key_event): emit the event.
5963 (boolean_handled_accumulator): impl.
5964 (marshal_BOOLEAN__POINTER): add, gack.
5966 * libspi/accessibleeventlistener.c
5967 (spi_event_listener_class_init): add signal.
5968 (impl_accessible_event_notify_event): emit the signal &
5969 make the loop efficient.
5970 (spi_event_listener_add_callback): prepend the callback.
5972 * libspi/accessibleeventlistener.h: add an 'event' signal,
5973 decl type on callback.
5975 * libspi/keystrokelistener.h: ditto.
5977 * cspi/spi-listener.h: make methods typesafe and
5978 make them use the new event typedefs.
5980 * test/simple-at.c (report_focussed_accessible):
5981 include mag_client.h
5982 Use *(void *)text_interface not the other thing.
5984 * configure.in: add gtk to registryd bits - since we use
5987 * util/magnifier.c: include libbonobo.h
5989 2001-11-25 Bill Haneman <bill.haneman@sun.com>
5991 * test/keysynth-demo.c:
5992 Turned this into a simple scanning keyboard, to demonstrate the
5993 use of g_timeout_add () as a means of creating timers for
5994 scanning, and the use of GtkStyle for visually indicating when
5995 virtual keyboard elements are selected.
5997 keysynth-demo now listens to any keyboard keys with zero-valued
5998 keycodes (i.e. 'unused' keys) and interprets them as
6001 Reworked the shiftlatch code so that shift-down state isn't held
6002 for long periods (it's only synthesized immediately prior to
6003 the keysynth event it's modifying). Note that shiftlatch in this
6004 demo is a convenience, not intended to take the place of AccessX
6005 which is the better choice for getting 'sticky' modifier keys.
6007 * libspi/deviceeventcontroller.c:
6008 * at-bridge/bridge.c:
6009 * cspi/spi_registry.c:
6010 Removed some debug print stuff, and put other verbosity in #ifdef
6015 Implemented some more of the magnifier IDL for the simple
6016 magnifier: namely, getZoomRegionParams.
6017 Added mag_x and mag_y members to MagnifierData struct, aid of this
6019 Added GtkWindow::realize signal handler to magnifier, to keep it
6020 from receiving keyboard focus from the WM.
6022 2001-11-23 Mark McLoughlin <mark@skynet.ie>
6024 * cspi/spi-private.h: my guess at what michael forgot
6025 before he ran off to NZ :-)
6027 2001-11-23 Michael Meeks <michael@ximian.com>
6029 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
6030 comment out non existant method invoke so we link.
6032 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
6033 use bonobo_exception_get_text for more friendly warnings.
6035 * cspi/spi.c (Obj_Add): move into spi_main & rename
6036 spi_object_add; kill spi.c
6038 * cspi/spi_registry.c
6039 (deregisterGlobalEventListener),
6040 (deregisterGlobalEventListenerAll),
6041 (registerGlobalEventListener): fix exception leaks.
6043 * cspi/spi_main.c (spi_exception): impl. helper, so we
6044 don't leak exceptions.
6046 * cspi/spi_selection.c
6047 (AccessibleSelection_deselectSelectedChild): return the
6050 * cspi/spi_main.c (spi_ev): impl; hack - gack.
6051 (spi_registry): ditto.
6052 (SPI_init): guard against double inits.
6054 * cspi/*.c: use spi_ev (), and spi_registry () where
6055 appropriate - a temporary hack until we have something
6056 better. Use spi_object_add
6058 2001-11-22 Michael Meeks <michael@ximian.com>
6060 * cspi/Makefile.am: re organise, install the headers.
6062 * cspi/*.h: add G_BEGIN/END_DECLS
6064 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6067 Added non-preemptive keylistener for key events with no modifiers
6068 and shift-only modifier.
6070 * libspi/keystrokelistener.c:
6071 Removed some verbose diagnostics printout.
6073 * cspi/spi_registry.c:
6074 Fixed a bug that caused all key listeners to be registered as
6077 * libspi/deviceeventcontroller.c:
6078 Fixed bug that caused XGrabKey (preemptive key grab) to be called
6079 for non-preemptive key masks.
6082 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6084 * docs/reference/idl/at-spi-idl-docs.sgml:
6085 * docs/reference/idl/at-spi-idl-sections.txt:
6086 * docs/reference/idl/at-spi-idl-overrides.txt:
6087 Added missing files.
6089 * docs/reference/Makefile.am:
6090 removed idl from SUBDIRS until we can figure a way to get gtk-doc
6091 to scan the IDL files :-(
6096 Added .cvsignore files.
6098 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6100 * libspi/deviceeventcontroller.c:
6101 * libspi/keystrokelistener.c:
6103 * cspi/spi_registry.c:
6104 Added filters for KeySets, KeyEventSeq, and event types to key
6105 event dispatching, so listeners should only receive those events
6106 that they requested :-)
6108 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6113 * docs/reference:Makefile.am:
6114 * docs/reference/cspi:
6115 * docs/reference/cspi:Makefile.am:
6116 * docs/reference/cspi:tmpl:
6117 * docs/reference/cspi:tmpl:*.sgml:
6118 * docs/reference/idl:
6119 * docs/reference/idl:Makefile.am:
6120 * docs/reference/idl:at-spi-idl-sections.txt:
6121 * docs/reference/idl:at-spi-idl-docs.sgml:
6122 * docs/reference/idl:tmpl:
6123 * docs/reference/idl:tmpl:*.sgml:
6125 Restructured docs directory to allow separate 'reference' docs
6126 section, and forked idl and cspi docs. Added the sgml template
6127 files to CVS. Added the first sections/structural sgml for the
6130 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
6132 * configure.in, libspi/Makefile.am: find libXtst.
6134 2001-11-21 Michael Meeks <michael@ximian.com>
6136 * test/accessx-gui.c: s/spi_value/value/ - doh.
6138 * libspi/base.[ch]: add.
6140 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6142 * idl/Accessible.idl:
6143 * idl/Application.idl:
6146 Started gtk-doc cleanup on IDL.
6148 * libspi/deviceeventcontroller.c:
6149 Added and connected non-preemptive key notification from the
6150 toolkits (in addition to the pre-emptive support from XServer
6151 which we had before, but which causes 'focus flashing'). Filters
6152 are presently limited to key modifiers and global/non-global,
6153 KeySets are presently ignored, as are KeyEvent masks.
6155 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
6156 structs into the persistant structure rather than just storing
6157 pointers to things that might not persist across servant
6160 The XGrabKey call now does async keygrabs, because synchronous
6161 ones were deadlocking with GDK_event code in a very nasty way.
6163 Added boolean to internal method notify_keylisteners, to indicate
6164 whether the event came from the 'toolkit source' or the 'global
6165 (XServer) source' - this is used in the notification process to
6166 determine which listeners to send the event to.
6168 deviceeventcontroller.c is now warning-free.
6170 * libspi/registry.c:
6171 Fixed regression in application de-registration.
6172 Also fixed some really brain-dead weirdness having to do with
6173 event dispatching - event structs are now duplicated before being
6174 re-marshalled in the dispatch to listeners. This also fixes a
6175 Solaris build problem.
6178 2001-11-20 Michael Meeks <michael@ximian.com>
6181 (impl_accessibility_registry_deregister_global_event_listener):
6184 * libspi/deviceeventcontroller.c
6185 (spi_device_event_controller_check_key_event): return
6186 FALSE on no virtual method.
6188 * libspi/*..h: make includes work on a correctly pathed install.
6190 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
6192 * libspi/application.h: kill unused ( and whacked out )
6193 gboolean *spi_application_set_id (AtkObject *app, long id);
6195 2001-11-20 Michael Meeks <michael@ximian.com>
6197 * libspi/*.[ch]: further convert to bonobo's type func
6198 macros, remove redundnant casts etc.
6200 * libspi/text.c s/accessibility_text/spi_text/g,
6201 re-order to de-cruft.
6203 * libspi/hypertext.c: re-order to kill a huge slew
6204 of redundant forward decls.
6206 * libspi/relation.c: ditto.
6208 * libspi/image.c: ditto.
6210 * */.cvsignore: update
6212 2001-11-20 Michael Meeks <michael@ximian.com>
6214 * libspi/deviceeventcontroller.c
6215 (_controller_register_with_devices): use g_getenv,
6216 kill stdlib.h include.
6218 * libspi/keystrokelistener.c
6219 (spi_keystroke_listener_get_type): kill
6220 (spi_keystroke_listener_class_init),
6221 (spi_keystroke_listener_init): rename to this.
6223 * libspi/text.c (impl_getAttributes): fix warning / bug.
6225 * libspi/*.[ch]: more headers, includes and over commenting.
6227 2001-11-20 Michael Meeks <michael@ximian.com>
6229 * libspi/*.[ch]: fixup headers, includes and over commenting.
6231 * libspi/image.c (impl__get_imageDescription): const
6232 correctness warning fix. remove redundant casting.
6234 * libspi/table.c (impl_getRowDescription): ditto.
6235 (impl_getColumnDescription): ditto.
6237 * libspi/libspi.h: add.
6239 2001-11-19 Michael Meeks <michael@ximian.com>
6241 * libspi/editabletext.c (impl_setAttributes): fix warnings.
6243 * libspi/component.c (accessibility_component_get_type):
6244 rename to (spi_component_get_type): and macroify.
6245 (accessibility_component_init): rename to
6246 (spi_component_init): this
6247 (accessibility_component_class_init): rename to
6248 (spi_component_class_init): this
6250 * libspi/action.c (spi_action_get_type): kill, use the macro.
6252 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
6255 * libspi/application.c (spi_application_object_event_listener),
6256 (impl_accessibility_application_register_object_event_listener):
6257 warning fixes / const understanding updates.
6259 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
6262 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6264 * libspi/spi_accessible.c: Added docs and C bindings for
6265 AccessibleStateSet. (No implementations yet). Documentation
6266 coverage for C bindings now 100%. Made docs for event listeners
6271 boolean notifyListenersSync (in DeviceEventListener listener,
6272 in DeviceEvent event);
6274 oneway void notifyListenersAsync (in DeviceEventListener listener,
6275 in DeviceEvent event);
6277 Added DeviceEventListener and DeviceEvent structs (may deprecate
6278 KeyStroke and KeystrokeListener in favor of this generic
6279 event/listener framework for devices).
6281 * libspi/deviceeventcontroller.c:
6283 Changed some key listener code to take masks, etc., and paved the
6284 way for integration of toolkit/non-preemptive key events. Changed
6285 signatures of some internal methods.
6287 * at-bridge/bridge.c:
6288 Fixed regression connecting to interface signals, apparently
6289 caused by GTK+ changes.
6291 Added an internal bridge_state_listener to deal with
6292 property-change:accessible-state signals.
6294 Changed the key_listeners GList to store structs (including masks,
6295 etc.) instead of just CORBA_Objects (required for full
6296 implementation of key listener API).
6298 Connected the bridge to all currently supported Atk signals.
6299 Events now supported:
6300 object:property-change
6301 object:property-change:accessible-name
6302 object:property-change:accessible-state
6303 object:property-change:accessible-description
6304 object:property-change:accessible-parent
6305 object:property-change:accessible-value
6306 object:property-change:accessible-role
6307 object:property-change:accessible-table-caption
6308 object:property-change:accessible-table-column-description
6309 object:property-change:accessible-table-column-header
6310 object:property-change:accessible-table-row-description
6311 object:property-change:accessible-table-row-header
6312 object:property-change:accessible-table-summary
6313 object:children-changed
6314 object:visible-data-changed
6315 object:selection-changed
6316 object:text-selection-changed
6318 object:text-caret-moved
6320 object:row-reordered
6322 object:column-inserted
6323 object:column-reordered
6324 object:column-deleted
6325 object:model-changed
6327 2001-11-16 Bill Haneman <bill.haneman@sun.com>
6329 * libspi/hyperlink.c,h:
6330 Fixed some broken stuff in hyperlink.
6332 * libspi/relation.h:
6333 * libspi/relation.c:
6334 * cspi/spi_accessible.c:
6335 Initial implementations of AccessibleRelation methods, and docs.
6337 * libspi/accessible.c:
6338 Fixed a bug that caused SEGV if an accessible
6339 object's description is NULL, and a client
6340 requests it. An empty string is now returned.
6342 * cspi/spi_editabletext.c:
6343 * cspi/spi_hypertext.c:
6345 * cspi/spi_hyperlink.c:
6349 Doc coverage now 95%.
6351 2001-11-16 Bill Haneman <bill.haneman@sun.com>
6353 One last namespacing revision:
6354 * libspi/accessibleeventlistener.[ch]:
6355 Renamed SpiAccessibleEventListener to SpiEventListener,
6356 (no need for two namespaces ;-)
6358 And lots of documentation fixes:
6360 * docs/at-spi-docs.sgml:
6361 Fixed 'underscore vs. hyphen' bug that was preventing
6362 the gtk-doc API docs from being automatically generated.
6365 * cspi/spi-listener.h
6367 * cspi/spi_accessible.c
6369 * cspi/spi_application.c
6370 * cspi/spi_component.c
6371 * cspi/spi_editabletext.c
6373 * cspi/spi_hypertext.c
6375 * cspi/spi_registry.c
6376 * cspi/spi_selection.c
6380 * docs/at-spi-docs.sgml
6381 * docs/at-spi-sections.txt
6383 Added and fixed up gtk-doc documentation in cspi.
6385 Interfaces now (fully) documented (subject to revision and enhancement):
6387 Event Listener Support
6389 AccessibleApplication
6393 AccessibleEditableText
6400 AccessibleRelationSet
6405 2001-11-14 Bill Haneman <bill.haneman@sun.com>
6407 * at-bridge/bridge.c:
6408 Initial work for toolkit-level key snooper connection by bridge.
6413 New typedefs and fixes to support new namespacing, and cleaner
6414 separation of cspi bindings from libspi bonobo implementation.
6415 Removed inconsistent and extraneous Spi* namespace prefix that
6416 had crept into cspi headers.
6417 Lots of comment fixes that sed had missed.
6419 * cspi/spi-roletypes.h:
6420 * cspi/spi-statetypes.h:
6421 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
6422 to AccessibleRoleType.
6424 * libspi/accessibleeventlistener.h:
6425 Fixed minor namespacing weirdness.
6427 * libspi/deviceeventcontroller.c:
6428 Reordered some internal API for device listeners.
6429 Changed the key registry final boolean to 'is_system_global'
6430 rather than 'is_synchronous', which is more descriptive of its
6432 Added spi_device_event_controller_new().
6433 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
6435 * libspi/keystrokelistener.[ch]:
6436 Namespaced KeystrokeListener to SpiKeystrokeListener.
6437 Changed uses of keymasks to use SPI_ prefix, and did other
6440 * libspi/keymasks.h:
6441 Namespaced keymask constants with SPI_ prefix.
6443 * libspi/registry.c:
6444 Some warning fixes, and knock-on fixes from namespace changes.
6447 Added rules for accessx-gui test program.
6449 * test/accessx-gui.c:
6450 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
6451 utility. It doesn't actually use at-spi, but it's still cool and
6454 * test/keysynth-demo.c:
6458 Fixes so that these test clients work properly with the namespaced
6459 libraries. (Incompletely tested for technical reasons, fixes may follow)
6462 2001-11-13 Michael Meeks <michael@ximian.com>
6464 * libspi/application.c
6465 (impl_accessibility_application_get_version),
6466 (impl_accessibility_application_get_toolkit_name):
6468 (impl_accessibility_application_set_id),
6469 (impl_accessibility_application_get_id): remove
6470 redundant casting code.
6472 * libspi/action.c (impl_getDescription): fix warnings.
6474 * libspi/accessible.c
6475 (impl_accessibility_accessible_get_parent),
6476 (impl_accessibility_accessible_get_child_at_index),
6477 (impl_accessibility_accessible_get_state),
6478 (impl_accessibility_accessible_get_relation_set):
6479 warning fixes & include action.h
6481 2001-11-13 Michael Meeks <michael@ximian.com>
6483 * *.[ch] fix bits I screwed up:
6485 s/([^ \tb(\*\&\?\",])spi_/\1/g;
6486 s/([^ \tb(\*\&\?\",])Spi/\1/g;
6488 2001-11-13 Michael Meeks <michael@ximian.com>
6490 * *.[ch] Namespace libspi into spi_ and Spi.
6492 2001-13-11 Michael Meeks <michael@ximian.com>
6494 * Makefile.am: dist & install at-spi-1.0.pc
6496 * libspi/Makefile.am: install into at-spi-1.0
6498 * idl/Makefile.am (idldir): install into at-spi-1.0
6500 * at-spi-1.0.pc.in: add.
6502 * configure.in: build it.
6504 2001-11-12 Bill Haneman <bill.haneman@sun.com>
6506 * test/keysynth-demo.c:
6507 Use a 'realize' signal-handler to set the WM properties for
6508 the virtual keyboard, rather than making it a "POPUP" type
6509 override-redirect window (thanks to anders carlsson for that
6512 2001-11-11 Bill Haneman <bill.haneman@sun.com>
6515 * test/keysynth-demo.c:
6516 Added new test of key synthesis, which creates a simple
6517 (mouse-operated) onscreen keyboard. It inserts key events into
6518 the currently-focused window, thus it does not grab keyboard focus
6521 * cspi/spi_registry.c:
6522 Added C binding for AT-SPI generateKeyEvent.
6524 * libspi/deviceeventcontroller.c:
6525 Added call to XFilterEvent so that key listener works with XIM (we
6526 hope). Added event_synth_type to generateKeyEvent, so that we can
6527 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
6528 synthesize a press/release pair for KeySyms.
6530 2001-11-09 Bill Haneman <bill.haneman@sun.com>
6532 * libspi/Makefile.am:
6533 * registryd/Makefile.am:
6534 (temporary) hack to include libXtst in libspi and registryd.
6535 (Needed for keystroke synthesis, see below).
6538 Improved API for registerKeystrokeListener, in accordance with
6539 discussions with Gnopernicus team and X server research.
6541 * libspi/registry.c:
6542 * libspi/deviceeventcontroller.c:
6543 * libspi/accessible.c:
6544 * libspi/keystrokelistener.c:
6545 Changes and fixes to support keylisteners for potentially
6546 consumed key events (that is, 'passive grabs').
6547 Added implementation for generateKeyEvent() [untested].
6550 Changes to registerKeystrokeListener() API, as above.
6551 Added deregisterGlobalEventListenerAll(), and
6552 deregisterKeystrokeListener(), which are needed for clean exit of
6554 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
6555 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
6557 * cspi/spi_registry.c:
6558 Added implementations of function prototypes mentioned above.
6560 * registryd/registryd.c:
6561 Added the key listener event source as a g_timeout(), to allow
6562 receipt of key events that are not caught by GDK (since GDK
6563 doesn't support passive keygrabs, this was necessary).
6566 Changed to attach a keylistener to 'Alt' keys, and
6567 respond to the following keycommands: Alt-M (toggle magnifier);
6568 Alt-F (toggle speech); Alt-Q (quit).
6569 Added an exit routine to deregister the listeners, and a key
6570 listener that prints some key info to the console when a key
6571 matches the listener mask (and is thus received by the listener).
6573 * util/idl/Magnifier.idl:
6574 Changes to magnifier API to support multiple zoom regions,
6575 non-uniform scaling in x and y, markDirty, and a host of other
6576 features that would be useful to magnification.
6579 * util/mag_client.c:
6580 * util/mag_client.h:
6581 * util/mag_control.c:
6583 Source code changes to support the above IDL changes.
6586 As above, and also changes to use a (slower) generic conversion
6587 path for colormap conversions, since the fast RGB conversions have been
6588 reported to fail for 16-bit displays.
6590 2001-10-26 Michael Meeks <michael@ximian.com>
6592 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
6594 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
6596 * at-bridge/Makefile.am: fix LDFLAGS.
6598 2001-10-09 Bill Haneman <bill.haneman@sun.com>
6600 * at-bridge/bridge.c:
6601 Re-worked listeners for toolkit events, now we have signal
6602 and property listeners. Added a private method
6603 register_atk_event_listeners(), which registers with the
6604 various atk and gtk signals we need to monitor in order to emit
6606 Added emission hook for AtkObject:property-change events, to
6607 support the 'property listeners'.
6608 Fixed some alloc()s of Accessibility_Event structs to use CORBA
6611 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
6612 which emit warnings and exit, respectively, if CORBA errors occur
6613 during remote calls, and we now use these methods to check most of
6614 our CORBA calls in the C bindings.
6616 * cspi/spi_accessible.c:
6617 Changed AccessibleSelection_refSelectedChild() to
6618 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
6619 now increment refcounts.
6621 * cspi/spi_component.c:
6622 Fixed some long pointer casts (dangerous!) to pass pointers to
6623 CORBA_longs of the proper type to the CORBA stubs, and copy the
6624 data into the longs that were passed into the C bindings code.
6626 * at-bridge/bridge.c:
6628 * libspi/accessible.c:
6629 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
6630 hyperlinks, AtkHyperlink is an object type.
6632 * libspi/application.c:
6633 Added various conversions to and from "generic" event types and
6634 atk-specific types; this is really part of the 'bridge'
6635 implementation but is valid for all AtkObject-based accessibility
6638 * libspi/editabletext.c:
6639 Fixed nasty bug wherein editable text's finalize method was
6640 unref'ing tha AtkObject reference that the text parent class was
6641 about to unref _again_. There was also a nasty inheritance bug
6642 that meant that the AccessibleEditableText class was corrupt.
6644 * libspi/selection.c:
6645 Provided implementations for some selection API that was broken.
6647 * idl/Application.idl:
6648 Added registerObjectEventListener () method.
6651 Fixed a number of return values that were Bonobo_Unknowns from
6652 bonobo_object_corba_objref(), which I
6653 forgot to dup before returning. Changed instances of
6654 bonobo_object_corba_objref (bonobo_object(o)) to
6655 BONOBO_OBJREF(o), for concision and clarity.
6657 2001-10-13 Louise Miller <louise.miller@sun.com>
6659 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
6660 idl/Event.idl, idl/Registry.idl
6661 Changed these files to include Bonobo_Unknown.idl instead
6664 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
6666 * libspi/component.c libspi/component.h:
6667 Fixed typo. Added assertions for object checks in
6668 AccessibleComponent code.
6670 2001-10-09 Bill Haneman <bill.haneman@sun.com>
6672 * idl/Accessible.idl:
6673 Added 'isEqual (Accessible *object)'
6674 method for Accessible. (Not Yet Implemented).
6677 Changed signature of registerKeystrokeListener() to
6678 take a KeySet and KeyEventSeq so that specific keys and event
6679 types could be requested for monitoring, and added a flag
6680 is_synchronous so that either synchronous or asynchronous
6681 notification could be requested. (However this is not all
6682 implemented yet). This also meant adding two new typedefs,
6683 KeyEventSeq and KeySet.
6686 Added two new relations, RELATION_TOOLTIP_FOR and
6687 RELATION_LEAFNODE_OF.
6690 Added new state, STATE_HAS_TOOLTIP.
6692 * libspi/text.c, editabletext.c:
6693 Added new assertions to all casts of bonobo-objects from
6694 CORBA servants, to prevent Text API calls on non-text objects.
6695 Changed suspect casts of int-pointer types, so that we
6696 always send a valid CORBA_long pointer to the CORBA APIs that use
6697 in/out long parameters. We then have to copy from the CORBA_long
6698 into the regular long or int for return to the C bindings, or
6699 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
6702 * libspi/deviceeventcontroller.c:
6703 Cleaned these sources up.
6705 Changed return type for getCharacterAtOffset to
6706 CORBA_unsigned_long, to allow for 32-bit characters.
6709 2001-10-08 Bill Haneman <bill.haneman@sun.com>
6713 Fixed 'make dist' so that distro compiles...
6714 * libspi/keymasks.h:
6716 * cspi/spi-listener.c:
6717 KeystrokeListenerCB now returns a boolean.
6719 Added KeyEventType struct, and KeyStroke.
6720 Also added createKeystrokeListener(),
6721 KeystrokeListener_addCallback(),
6722 KeystrokeListener_removeCallback(), and added a keymask to
6723 registerKeystrokeListener().
6724 * cspi/spi_accessible.c:
6725 Changed numerous return types for interfaces from
6726 AccessibleComponent to Accessible<InterfaceName>; this was
6727 probably a cut-and-paste error.
6729 Implementations of new KeystrokeListener api (from spi.h,
6732 Changes to key modifier mapping.
6733 Created ControllerEventMask struct.
6734 Made DeviceEventController derive from Bonobo::Unknown.
6736 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
6737 * libspi/deviceeventcontroller.c:
6738 Added a number of new internal (private) methods.
6739 * libspi/editabletext.c:
6740 * libspi/editabletext.h:
6741 Fixed a number of bugs related to the fact that
6742 editabletext inherits from text. Fixed the EditableText struct,
6743 the init() call, and use correct casts when calling Text methods
6744 from an EditableText object. Removed (duplicate) atko from the
6745 EditableText structure, we use the one in the parent Text
6746 structure via the casts mentioned above.
6747 * libspi/keystrokelistener.[ch]:
6748 * libspi/registry.c:
6749 Changes in support of keyboard handling (above).
6751 Keyboard handling, though partly functional, is still not
6752 recommended for at-spi client use as there is considerable
6753 work yet to be done.
6756 Changed some places where pointers to various int types
6757 are cast to be pointers to CORBA_long types and vice-versa:
6758 pointer casting is not safe so we pass pointers of the correct
6759 types and then cast the result before putting it into the target
6762 * libspi/text.h: minor typos corrected.
6764 We now speak not only the name of a Text element, but the
6765 first sentence of its content, when it receives focus.
6766 I also changed the text compression to 75% from 50%.
6767 * util/Accessibility_Util.server.in:
6768 Changed the default magnifier type to be a 3x vertical
6769 splitscreen magnifier (was previously a 2x horizontal one).
6771 2001-10-03 Bill Haneman <bill.haneman@sun.com>
6773 * libspi/keystrokelistener.h:
6774 * libspi/keystrokelistener.c:
6775 Initial functional implementations of KeystrokeListener.
6778 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
6780 Fixed string handling for NULL strings in libspi.
6781 Added spi_freeString to free strings returned by C bindings.
6783 2001-09-30 Bill Haneman <bill.haneman@sun.com>
6785 * libspi/keystrokelistener.h:
6786 * libspi/keystrokelistener.c:
6787 Began (no-op) implementations of KeystrokeListener
6789 * libspi/deviceeventcontroller.c:
6790 * libspi/deviceeventcontroller.h:
6791 Began creating implementations of DeviceEventController,
6792 to handle keystroke and mouse event listening and
6794 * libspi/accessible.c:
6795 Stubbed-in the implementations for
6796 Accessibility_Accessible_getState and
6797 Accessibility_Accessible_getRelationSet.
6798 * libspi/registry.c:
6799 Improved de-registration process and fixed some bugs,
6800 deregistration now works correctly.
6802 Added initialization of applications list (to NULL).
6804 Reduced speech compression from 0.5 to 0.7, for demo.
6805 Changed call to gdk_window_set_decorations()
6806 to gtk_window_set_decorated().
6807 * at-bridge/bridge.c:
6808 Bridge now deregisters when app exits, via
6809 registration of a cleanup function
6810 with the g_atexit() call.
6811 Required making 'app' static, renamed 'this_app'.
6812 Fixed broken use of bonobo_init, passing argv wrongly.
6814 2001-09-27 Bill Haneman <bill.haneman@sun.com>
6818 Created a new directory for
6819 accessibility-related utilities, primarily for
6820 testing and demo purposes, but with possible
6827 Onscreen magnifier utility that
6828 is implemented as a bonobo service.
6830 * util/mag_client.c:
6831 * util/mag_client.h:
6832 Client-side support (simple C bindings)
6833 for Magnification service
6835 * util/mag_control.c:
6836 Client program example for
6837 Magnification service
6839 * util/Accessibility_Magnifier.server.in:
6840 Bonobo-activation file for the
6841 Magnification service.
6844 * util/idl/Magnifier.idl:
6845 IDL defining the bonobo Magnification
6849 Modifications to use the bonobo-activated magnifier
6850 above, in place of trying to connect to an existing
6851 magnifier that uses socket-listening IPC.
6853 If env variable MAGNIFIER is set, a magnifier service
6854 will be started if one does not exist.
6856 2001-09-25 Bill Haneman <bill.haneman@sun.com>
6858 * at-bridge/bridge.c:
6859 applied patch from Marc to build and run
6860 against new glib and gtk+ (seemed like a change
6861 to bonobo_init signature was made ?)
6863 made festival-server support turned off by default.
6864 Added support for a simple magnifier (off by default)
6865 which will be added to a 'util' directory later.
6866 * at-bridge/Makefile.am:
6867 Changed "application.h" header from a 'source'
6868 to a 'dependency' of libat-bridge.
6870 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6879 Added interface implementation c files to list of
6880 includes so they are included in libcspi.
6883 Changed prototype of AccessibleAction_doAction to return a
6885 Changed prototype of AccessibleTable_getCaption to
6886 return an Accessible.
6887 Changed prototype of AccessibleTable_getSelectedRows
6888 and AccessibleTable_getSelectedColumns to
6889 return a long (returns the number of selected rows
6890 or columns respectively).
6891 Changed name of AccessibleText_refRunAttributes to
6892 AccessibleText_getAttributes.
6893 Changed prototype of AccessibleText_getCharacterExtents to
6894 return a void rather than a boolean.
6895 Added support for a AccessibleCoordType parameter
6896 specifying what type of coordinates are desired.
6897 Added an AccessibleCordType parameter to
6898 AccessibleText_getPointAtOffset.
6900 * cspi/spi_accessible.c:
6901 Added code to return the outstanding interfaces from
6902 Accessible_queryInterface.
6904 * cspi/spi_action.c:
6906 Corrected call to getNActions to call the c binding
6909 * cspi/spi_editabletext.c:
6911 Changed name from setRunAttributes to setAttributes.
6913 * cspi/spi_hyperlink.c:
6915 Changed call to getNAnchors to correctly call the c
6916 binding for an attribute.
6918 * cspi/spi_hypertext.c:
6920 Changed getImageDescription to correctly call the
6921 binding for an attribute.
6923 * cspi/spi_selection.c:
6924 Changed getNSelectedChildren to correctly call the c
6925 binding for the attribute.
6926 Changed refSelectedChild to getSelectedChild.
6930 Changed getCaption to return an Accessible.
6931 Fixed calls which retrieve attributes.
6932 Changed refAt to getAccessibleAt.
6933 Changed getNSelectedRows and getNSelectedColumns to
6937 Changed getCharacterExtents and getPointAtOffset to accept an
6938 AccessibleCoordType.
6940 Changed calls which retrieve attributes.
6941 Changed refRunAttributes to getAttributes.
6946 * idl/Hyperlink.idl:
6947 Changed n_anchors attribute to nAnchors to keep naming
6948 convention consistent.
6951 Made Table inherit from Bonobo::Unknown.
6952 Added nSelectedColumns and nSelectedRows attributes.
6955 Made Value inherit from Bonobo::Unknown.
6957 * libspi/hyperlink.c:
6958 Change for nAnchors attributte name change.
6960 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6968 Added interface implementation c files to list of
6969 includes so they are included in libcspi.
6972 Changed prototype of AccessibleAction_doAction to return a
6974 Changed prototype of AccessibleTable_getCaption to
6975 return an Accessible.
6976 Changed prototype of AccessibleTable_getSelectedRows
6977 and AccessibleTable_getSelectedColumns to
6978 return a long (returns the number of selected rows
6979 or columns respectively).
6980 Changed name of AccessibleText_refRunAttributes to
6981 AccessibleText_getAttributes.
6982 Changed prototype of AccessibleText_getCharacterExtents to
6983 return a void rather than a boolean.
6984 Added support for a AccessibleCoordType parameter
6985 specifying what type of coordinates are desired.
6986 Added an AccessibleCordType parameter to
6987 AccessibleText_getPointAtOffset.
6989 * cspi/spi_accessible.c:
6990 Added code to return the outstanding interfaces from
6991 Accessible_queryInterface.
6993 * cspi/spi_action.c:
6995 Corrected call to getNActions to call the c binding
6998 * cspi/spi_editabletext.c:
7000 Changed name from setRunAttributes to setAttributes.
7002 * cspi/spi_hyperlink.c:
7004 Changed call to getNAnchors to correctly call the c
7005 binding for an attribute.
7007 * cspi/spi_hypertext.c:
7009 Changed getImageDescription to correctly call the
7010 binding for an attribute.
7012 * cspi/spi_selection.c:
7013 Changed getNSelectedChildren to correctly call the c
7014 binding for the attribute.
7015 Changed refSelectedChild to getSelectedChild.
7019 Changed getCaption to return an Accessible.
7020 Fixed calls which retrieve attributes.
7021 Changed refAt to getAccessibleAt.
7022 Changed getNSelectedRows and getNSelectedColumns to
7026 Changed getCharacterExtents and getPointAtOffset to accept an
7027 AccessibleCoordType.
7029 Changed calls which retrieve attributes.
7030 Changed refRunAttributes to getAttributes.
7035 * idl/Hyperlink.idl:
7036 Changed n_anchors attribute to nAnchors to keep naming
7037 convention consistent.
7040 Made Table inherit from Bonobo::Unknown.
7041 Added nSelectedColumns and nSelectedRows attributes.
7044 Made Value inherit from Bonobo::Unknown.
7046 * libspi/hyperlink.c:
7047 Change for nAnchors attributte name change.
7050 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
7052 implementations-- made server implementations own AtkObject pointers
7053 rather than their respective AtkInterrface pointers to fix
7054 refcounting. AtkHyperlink is still broken.
7056 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7057 * cspi/spi_accessible.c:
7058 Added method Accessible_Role_getName(),
7059 and requisite string array (role_names).
7060 Added conversion string_from_corba_strin() call
7061 to Accessible_getName and _getDescription.
7062 * libspi/accessible.c:
7063 Added implementation for Accessible_getRole()
7065 Added festival support, used if environment variable
7068 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7070 * at-bridge/bridge.c:
7071 Now allocate Accessibility_Event using
7072 Accessibility_Event__alloc() instead of g_new0().
7073 * libspi/accessibleeventlistener.c:
7074 Initialize AccessibleEventListener->callbacks to NULL.
7075 Fixed accessible__event_listener_init() param, changed to
7076 "AccessibleEventListener *" type.
7077 Changed a bonobo_object_release_unref() call to
7078 Accessibility_Accessible_unref().
7079 * libspi/listener.c:
7080 Changed Bonobo_Unknown_unref to (equivalent)
7081 Accessibility_Accessible_unref.
7082 * libspi/registry.c:
7083 Changed bonobo_object_release_unref to
7084 Accessibility_Accessible_unref.
7086 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7089 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
7090 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
7091 spi-util.c spi-util.h
7092 Implementations for C bindings to remaining accessibility
7095 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7098 changed return value of Action from void to boolean to
7099 bring in line with ATK.
7102 Changed getText funcions to return "out" start and end offsets.
7103 Changed getAttributes to take and offset and return the start
7104 and end offset of the attribute run.
7105 Changed getOffsetAtPoint and getCharacterExtents to take an
7106 enum describing whether coordinates are window or screen.
7109 libspi/action.c libspi/action.h libspi/editabletext.c
7110 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
7111 libspi/hypertext.c libspi/hypertext.h libspi/image.c
7112 libspi/image.h libspi/selection.c libspi/selection.h
7113 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
7114 libspi/value.c libspi/value.h
7115 Added server implementations for outstanding ATK interfaces
7116 not yet implemented.
7118 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7121 Added (missing) getName() method.
7122 Made nActions an attribute.
7123 * idl/EditableText.idl:
7124 Changed order of params in setAttributes.
7125 * idl/Hyperlink.idl:
7126 Removed getAnchor, added getURI.
7128 Changed attributes to methods, for efficiency
7129 (so that getting extents can be done in one call)
7130 * idl/Selection.idl:
7131 Changed nSelectedChildren to attribute, and re-indented.
7132 * idl/Table.idl: changed nrows, ncolumns, caption, summary
7134 * idl/Text.idl: reformatted to match our coding style.
7135 (temporarily?) removed getRowColumnAtOffset().
7136 Changed text selection API to support multi-select and
7137 non-contiguous selections, as in ATK.
7138 * idl/Value.idl: changed some methods to attributes.
7140 2001-08-24 Mark McLoughlin <mark@skynet.ie>
7142 * libspi/listener.c(impl_notify_event):
7143 BonoboUnkown_unref the source instead
7144 of bonobo_object_release_unref - the ORB
7145 handles the releasing.
7147 * configure.in: require ORBit-2.3.94 for
7150 2001-08-21 Bill Haneman <bill.haneman@sun.com>
7152 Tagged CVS repository 'EA_1_0'.
7153 * README.EARLY_ACCESS:
7154 Alphabetized acknowledgements list, and
7156 Listed some known dependencies of at-spi.
7158 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7160 * docs/at-spi-docs.sgml:
7161 * docs/at-spi-sections.txt:
7162 * docs/at-spi-overrides.txt: (Added zero-length file)
7163 Documentation improvements - gtk-doc should build
7164 docs for all implemented C bindings now.
7167 * cspi/spi.c: (New file)
7168 * cspi/spi_event.c: (New file)
7169 * cspi/spi_registry.c: (New file)
7170 * cspi/spi_accessible.c: (New file)
7171 * cspi/spi_application.c: (New file)
7172 * cspi/spi_component.c: (New file)
7173 Split spi_main.c into six parts, and included them from
7174 "spi.c". This is a bit of a hack, probably temporary,
7175 but required by gtk-doc, apparently.
7177 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7180 * docs/at-spi-docs.sgml:
7181 * docs/at-spi-sections.txt:
7183 Initial checkins/modifications for gtk-doc generation.
7186 Added (missing) interface query methods to Accessible's C binding.
7188 Added GenericInterface type definition.
7190 Added query for AccessibleComponent interface to focus event handler.
7191 Added printout of bounding box for focussed component.
7192 * libspi/component.c:
7193 Added partial implementation for AccessibleComponent to C binding.
7194 * idl/Application.idl:
7195 * libspi/registry.c:
7196 * libspi/listener.c:
7197 * libspi/application.c:
7198 * libspi/application.h:
7199 Changed "ID" attribute type from string to long.
7201 2001-08-19 Bill Haneman <bill.haneman@sun.com>
7205 Made method naming consistent: methods taking object args
7206 start with uppercase, other methods (except those using
7207 acronyms) start with lowercase. Underscores delimit between
7208 object names and method names:
7209 SPI_init() - uppercase since it starts with an acronym.
7210 getDesktopCount () - lowercase start since no object param0.
7211 Accessible_getName() - uppercase object type name, studlyCaps method
7215 Added gtk-doc documentation for all currently implemented
7216 methods in the C bindings API.
7218 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7220 * Makefile.am : changed build order to build test last.
7223 Changed "createEventListener" to "CreateEventListener".
7224 * libspi/accessibleeventlistener.c :
7225 Bugfix for addition of callbacks.
7226 * test/Makefile.am :
7227 * test/simple-at.c :
7228 Added new test that uses the C bindings API.
7230 * libspi/listener.c :
7231 * libspi/registry.c :
7232 * libspi/accessibleeventlistener.c :
7233 * at-bridge/bridge.c :
7234 Renamed member "target" of Accessibility_Event to "source",
7235 which is more descriptive.
7238 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7242 * cspi/Makefile.am :
7243 Added makefile support for at-spi/cspi directory.
7246 * cspi/spi-listener.h : (NEW FILE)
7247 Added support for/use of spi-listener.h.
7249 C bindings now build successfully, with no warnings.
7250 * libspi/accessibleeventlistener.h : (NEW FILE)
7251 * libspi/accessibleeventlistener.c : (NEW FILE)
7252 * libspi/Makefile.am :
7253 Added new object type "AccessibleEventListener"
7254 which inherits from Listener, and allows attachment
7255 of in-process callbacks (so that a client with a listening
7256 object instance can add functionality to the local
7257 implementation, dynamically).
7259 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7261 * libspi/accessible.c:
7262 Add implementation for get_index_in_parent().
7264 Added #include of "spi-roletypes.h", and
7265 added enumerated type AccessibleCoordType.
7266 Added definition for KeystrokeListener (function type).
7269 * cspi/spi-statetypes.h :
7270 * cspi/spi-roletypes.h :
7272 Added these headers, used by spi.h.
7274 Added code (NOTE: not yet built by make).
7276 2001-08-18 Mark McLoughlin <mark@skynet.ie>
7278 * libspi/Makefile.am: generate imodule
7279 at the same time as other idl compiler
7282 2001-08-17 Bill Haneman <bill.haneman@sun.com>
7283 * libspi/registry.c :
7284 * libspi/application.c :
7285 * idl/Application.idl :
7286 Made registration with toolkit an application method,
7287 which is required since each app has its own toolkit static
7288 environment. Thus the bridge must register for
7289 notification of toolkit events from each application in turn.
7290 Toolkit notifications are now successfully registered for, and
7291 sent to the listening at client.
7293 Changed toolkit event string to use hyphens rather than underscores.
7294 * libspi/listener.c :
7295 listner now gives more info in debug mode - it reports the
7296 name of the event received, as well as the name of the source.
7299 2001-08-16 Bill Haneman <bill.haneman@sun.com>
7301 * libspi/registry.c :
7302 added more implementation for toolkit events.
7303 Fixed bug such that toolkit event registrations
7304 (via atk) use the whole event name string, not
7306 Removed a useless call to an ORBit_ method.
7307 * at-bridge/bridge.c :
7308 Removed unused local sbuf[] variable.
7310 We now register for Gtk:GtkWidget:button_press_event
7311 events as well as "focus:" events.
7313 Add some more API from Registry.idl that was missing,
7314 for keystroke listening, keystroke and mouse event
7315 synthesis, and enumeration of accessible desktops.
7317 2001-08-16 Michael Meeks <michael@ximian.com>
7319 * configure.in: use AM_GLIB_GNU_GETTEXT.
7321 * Makefile.am (SUBDIRS): kill intl.
7323 2001-08-15 Michael Meeks <michael@ximian.com>
7325 * registryd/Makefile.am: s/oaf/server/ relocate info file.
7327 * configure.in: upd.
7329 * configure.in: depend on a recent bonobo-activation that
7330 will find our server files ...
7332 2001-08-16 Bill Haneman <bill.haneman@sun.com>
7334 * libspi/accessible.c : accessible_new() :
7335 Now we add the Component interface via bonobo_object_add_interface,
7336 if the contained AtkObject implements AtkComponent.
7337 * libspi/accessible.h : now include "component.h"
7338 * libspi/component.h :
7339 * libspi/component.c : added files - implementation of
7340 bonobo wrapper object for Accessibility/Component
7341 * libspi/listener.c :
7342 Added test code to check for Accessibility/Component:1.0
7343 interface and report whether it is implemented by the
7345 * libspi/registry.c :
7346 Now we check for not only the hash of the whole event
7347 string before relaying the event, we also check the
7348 "minor" event string (without the detail string).
7349 This allows event listeners to be registered against
7350 all events of a certain major+minor type, or just
7351 against a specific major+minor+detail type.
7352 * libspi/accessible.c :
7353 Added implementations for Accessible:get_parent(),
7354 Accessible:getChildCount(), and Accessible:getChildAtIndex().
7355 * libspi/registry.c :
7356 * libspi/listener.c :
7357 Replaced calls to Accessibility_Accessible_ref() and
7358 Accessibility_Accessible_unref() with
7359 calls to bonobo_object_dup_ref() and
7360 bonobo_object_release_unref(), so that the CORBA object
7361 is dup-ed and released when relayed, as well as the bonobo object.
7363 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7365 * libspi/Makefile.am,
7366 registryd/Makefile.am,
7367 at-bridge/Makefile.am.
7368 test/Makefile.am, configure.in:
7369 reverse previous changes.
7371 * /idl/Image.idl: fix typo.
7373 * test/Makefile.am: put DEBUG_FLAGS
7376 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7378 * test/app.c: use argv[0] instead of
7381 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7383 * libspi/Makefile.am,
7384 registryd/Makefile.am,
7385 at-bridge/Makefile.am.
7386 test/Makefile.am, configure.in:
7387 cleanup, replace individual LIBS/CFLAGS with
7388 AT_COMMON_{LIBS|CFLAGS}.
7392 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7394 * configure.in, libspi/Makefile.am:
7395 Change IDL path checking for bonobo-activation
7398 2001-08-15 Bill Haneman <bill.haneman@sun.com>
7400 * registryd/registry.c : separated event listeners to use
7401 3 separate lists (focus, window, toolkit). Began testing
7402 event names against hashes before relaying events.
7403 * test/at.c : now register for events of type "focus:"
7404 * test/app.c : now generate events of type "focus:"
7405 * at-bridge/bridge.c : register with ATK for focus events,
7406 and we now relay those focus events to any "focus:" listeners.
7407 This now works with the bridge as a GTK_MODULE when running test/at.
7408 * libspi/registry.c :
7409 * libspi/listener.c :
7410 now we ref event sources before propagating, and unref on receipt.
7411 * libspi/registry.c :
7412 some changes to internal structs, to support event typestring hashes.
7413 * text/app.c : changed the way the appname is generated.
7414 * cspi : added directory that will hold the C bindings library for
7415 non-CORBA/bonobo-savvy clients.
7416 * cspi/spi.h : header file that contains the function prototypes for the C binding.
7417 * idl/Component.idl : added in parameter to indicate coord system for
7418 geometry-related calls.
7419 * idl/Hyperlink.idl : added readonly n_links attribute
7420 * idl/Image.idl : changed methods to attributes.
7422 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7424 * at-bridge/Makefile.am: link against
7425 ../libspi/libspi.la instead of -lspi.
7427 * at-spi/test/app.c: include
7428 bonobo-activation.h. Use a default appname
7429 if one is not provided.
7431 2001-08-14 Bill Haneman <bill.haneman@sun.com>
7433 * idl/Registry.idl : temporarily changed register_Application
7434 to oneway, to work around issue with initial registration
7436 * idl/Application.idl : changed attribute "id" from readonly
7437 to read-write, since it needs to be assigned by Registry.
7438 * registryd/registryd.c : added call to set application id
7440 * registryd/registry.c : changed de-registration procedure to
7441 use CORBA_Object_hash() to find matching object ref in application
7442 lists and listener lists.
7443 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
7444 began distinguishing between event types (work in progress).
7446 2001-08-13 Bill Haneman <bill.haneman@sun.com>
7449 * libspi/application.c:
7450 Added implementations for get/set id, get_toolkitName,
7452 * registryd/registryd.c :
7456 Converted from use of OAF to bonobo-activation.
7457 * libspi/desktop.h :
7458 * libspi/desktop.c :
7460 Removed references to atksimpleobject, since base atkobject
7461 implementation now provides functionality we need.
7462 * libspi/atksimpleobject.c :
7463 * libspi/atksimpleobject.h :
7468 * at-bridge/Makefile.am
7469 * at-bridge/bridge.c
7472 Added directory "bridge" and contents, and added dependencies
7473 in Makefile.am/configure.in.
7474 Initial checkin of "at-bridge".
7475 This code is a GTK_MODULE which automatically registers
7476 GTK+ apps with the accessibility registry, using an object
7477 reference to the root ATK object.
7479 2001-08-10 Mark McLoughlin <mark@skynet.ie>
7481 * po/Makefile.in.in: Remove. Again. If this
7482 doesn't get autogenerated - you need to update
7485 2001-08-07 Mark McLoughlin <mark@skynet.ie>
7487 * po/Makefile.in.in: Add. Again.
7489 2001-07-31 Bill Haneman <bill.haneman@sun.com>
7491 * libspi/accessible.c : added support for 'description' property.
7492 * libspi/accessible.c
7494 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
7495 (since the two are now equivalent in libbonobo)
7503 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
7504 Bonobo::Unknown as does Accessibility::Accessible.
7505 * idl/StreamableContent.idl : as above, and replaced internal InputStream
7506 interface with Bonobo::Stream, since it was redundant with it.
7507 (The Stream returned by a StreamableContext object is expected to
7508 implement only a subset of Bonobo::Stream)
7510 2001-07-28 Anders Carlsson <andersca@gnome.org>
7512 * libspi/accessible.c (accessible_object_finalize): Change
7513 g_free to g_object_unref since the AtkObject is a GObject.
7515 2001-07-30 Bill Haneman <bill.haneman@sun.com>
7517 * idl/Accessibility.idl: add new IDL files
7520 * idl/Action.idl: Definitions of actionable UI object
7521 * idl/Component.idl: Definitions of UI component geometry, etc.
7522 * idl/Hyperlink.idl: Defs of hyperlink behavior
7523 * idl/Image.idl: Def of accessible image
7524 * idl/Selection.idl: Definition of UI object with selectable children
7525 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
7526 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
7527 * idl/Text.idl: Interface defs for UI elements with complex textual content
7528 * idl/Value.idl: Definition of UI element that is a value controller or display
7530 2001-07-27 Michael Meeks <michael@ximian.com>
7532 * po/Makefile.in.in: remove autogenerated file from CVS.
7534 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
7537 * idl/Registry.idl: include guard.
7539 * idl/Accessibility.idl: Add, and include all the other IDL
7542 * idl/*.idl: remove mass of pragmas etc.
7544 2001-07-26 Michael Meeks <michael@ximian.com>
7546 * registryd/Makefile.am (registryd_SOURCES): remove
7549 2001-07-27 Mark McLoughlin <mark@skynet.ie>
7551 * libspi/.cvsignore, registryd/.cvsignore,
7552 test/.cvsignore: updated.
7554 * po/Makefile.in.in: gettext update.
7556 2001-07-25 Bill Haneman <bill.haneman@sun.com>
7558 * initial CVS checkin
7560 2001-06-29 Michael Meeks <michael@ximian.com>
7562 * configure.in: add AM_CONFIG_HEADER to gen config.h