1 2006-03-27 Bill Haneman <bill.haneman@sun.com>
3 * configure.in: Define $LIBTOOL_EXPORT_OPTIONS
4 to strip "cspi_*" from the symbol table.
6 * cspi/spi_streamablecontent.c:
7 (get_streams): Make this method static.
10 (_cspi_exception_throw): rename to cspi_exception_throw,
11 so we can strip it with the rest...
14 Add LIBTOOL_EXPORT_OPTIONS to libcspi_la_LDFLAGS.
16 2006-03-27 Bill Haneman <bill.haneman@sun.com>
18 Add doxygen-generated IDL docs to tarball, and enable
19 doxygen during build/install when available. Bug #301345.
21 * configure.in: Add docs/reference/idl/Makefile to AC_OUTPUT.
23 * docs/reference/Makefile.am: Add idl to SUBDIRS.
25 * docs/reference/idl/Makefile.am: Optionally use
26 doxygen to create docs.
28 2006-03-20 Vladimer Sichinava <vlsichinava@gmail.com>
30 * configure.in: Added "ka" (Georgian) to ALL_LINGUAS
32 2006-03-20 Bill Haneman <bill.haneman@sun.com>
35 (impl_get_selected_rows): Don't free the selection if it's
36 empty or has not been assigned; init it to NULL so you can tell.
37 Also, allow for zero selected rows.
38 (impl_getSelectedColumns): Ditto. Bug #319088.
40 2006-03-11 Vincent Untz <vuntz@gnome.org>
42 Leak fix for bug #334217.
44 * libspi/application.c: spi_application_toolkit_event_listener():
45 don't duplicate the string we pass as an argument to
46 spi_init_any_nil() since spi_init_any_nil() already does it
47 * registryd/deviceeventcontroller.c:
48 (spi_dec_button_update_and_emit): ditto
49 (spi_dec_mouse_check): ditto
50 (spi_dec_emit_modifier_event): ditto
51 (spi_device_event_controller_forward_mouse): ditto
52 * registryd/registry.c:
53 (desktop_add_application): ditto
54 (desktop_remove_application): ditto
56 2006-02-20 Bill Haneman <billh@gnome.org>
58 * configure.in: Rev to 1.7.6.
60 Leak fixes for bug #331924.
62 * atk-bridge/bridge.c:
63 (spi_atk_bridge_init_base): Don't dup the string, it's already
64 been dup-ed. Fixes a leak.
65 (spi_atk_emit_eventv): Move the CORBA_free call here,
66 instead of spi_atk_state_event_listener; fixes another leak.
67 (spi_atk_bridge_key_listener):Free the dup'ed key strings after
68 notifying the registry; fixes another leak.
70 * registryd/registry.c:
71 (registry_flush_event_queue): Free the CORBA_any when
72 flushing the event, not just the string. Fixes another leak.
73 (registry_queue_event): Free the CORBA_any when dropping
74 events on the floor; fixes another leak.
77 (spi_init_any_object, spi_init_any_nil):
78 Always set _release to TRUE. Fixes another leak.
80 2006-02-20 Bill Haneman <billh@gnome.org>
82 * configure.in: Rev to 1.7.5.
83 Reinstate localization of this module. Thanks for Rodney
84 Dawes for fixing my patch.
86 * registryd/Makefile.am: Remove Accessibility_Registry.server
87 from dist, since it needs to be re-created at configure time.
90 2006-01-31 Bill Haneman <billh@gnome.org>
92 * configure.in: Rev to 1.7.4 (to include build fix below).
94 * idl/Makefile.am: Include Selector.idl in dist.
98 (cspi_internal_event_get_object): Handle case where
99 "object" isn't present, i.e. CORBA_TC_Object doesn't match
100 the EventDetails data.
101 (cspi_internal_event_get_text): Handle NULL string.
102 (cspi_internal_event_get_rect): Handle missing/empty rect
103 data, Accessibility_TC_RectBounds doesn't match any_data.
105 2006-01-30 Bill Haneman <billh@gnome.org>
109 * atk-bridge/bridge.c:
110 (spi_atk_emit_eventv): Check for SPI_REMOTE_OBJECT
111 interface and use that when instantiating a new source
112 accessible. Better fix for bug #321814.
114 2006-01-27 Bill Haneman <billh@gnome.org>
116 * idl/Accessibility_Selector.idl: Added to the cvs repository.
118 * configure.in: Revved to 1.7.3.
120 2006-01-17 Bill Haneman <billh@gnome.org>
122 * configure.in: Revved to 1.7.2, re-dist to include docs.
124 2006-01-09 Bill Haneman <billh@gnome.org>
126 * configure.in: Removed po/Makefile.in inclusion, we do not need
129 * idl/Accessibility.idl: Improved documentation here, and for all
130 IDL in the 'GNOME::Accessibility' namespace.
132 * idl/Accessibility_Accessible.idl:
133 (LOCALE_TYPE): Added enum.
134 (AttributeSet): New, for returning multiple name/value attribute pairs.
135 (RoleSet): New, sequence of Roles, to be used in upcoming
137 (getAttributes): New API, allows retrieval of name/value pair
138 annotations for all kinds of Accessible objects. C.f.
139 Text:getAttributes, which is only for typographic/textual/semantic tags in
141 (getApplication): New, retrieves the host/containing Application
142 instance for an object (without having to walk up the whole tree).
144 * idl/Accessibility_Component.idl:
145 (getAlpha): New method, returns the alpha blending (aka 'opacity')
146 value for an object. An alpha of 1.0 is fully opaque, 0.0 is
149 * idl/Accessibility_Event.idl:
150 (EventDetails): New struct definition, for encapsulating
151 commonly-queried information about emitted events. The use of
152 this structure in emitted events (in the 'any' member of
153 Accessibility_Event) should greatly reduce the number of
154 client-server roundtrips necessary.
156 * idl/Accessibility_Image.idl:
157 (imageLocale): New, a readonly attribute indicating the POSIX
158 LC_MESSAGES locale of the image and associated Alt/descriptive
161 * idl/Accessibility_Relation.idl:
162 (RELATION_PARENT_WINDOW_OF): Include, as complement to
165 * idl/Accessibility_Role.idl:
166 (ROLE_ENTRY, ROLE_CHART, ROLE_CAPTION, ROLE_DOCUMENT_FRAME)
167 (ROLE_HEADING, ROLE_PAGE, ROLE_SECTION): New roles for
168 complex document and form support.
170 * idl/Accessibility_State.idl:
171 (STATE_REQUIRED, STATE_TRUNCATED, STATE_ANIMATED)
172 (STATE_INVALID_ENTRY, STATE_SUPPORTS_AUTOCOMPLETION)
173 (STATE_SELECTABLE_TEXT, STATE_IS_DEFAULT): New states,
174 for support of complex documents and forms.
176 * idl/Accessibility_StreamableContent.idl:
177 (SeekType, IOError, NotSupported, NoPermission): New enum and exceptions, to
178 allow old bonobo-stream interfaces to be deprecated in the next
181 * idl/Accessibility_Text.idl:
182 (getAttributeValue): New method, allows query-by-name of single
185 * libspi/accessible.c:
186 Added support for new roles. Implemented new methods
187 (impl_accessibility_accessible_get_application): New
188 (impl_accessibility_accessible_get_attributes): New
190 * libspi/component.c:
191 (impl_accessibility_component_get_alpha): New.
194 (impl_accessibility_image_get_locale): New.
196 * libspi/relation.c: Added support for new relation type.
198 * libspi/stateset.c: Added support for new state types.
201 (impl_getAttributeValue): New.
204 New prototypes for private methods
206 spi_init_any_object, spi_init_any_string,
209 * libspi/spi_event.c:
210 Use EventDetails in the event emission methods.
212 * cspi/spi-private.h:
213 (cspi_role_from_spi_role): Expose this adapter method, since
214 we need it in the bridge (see below).
217 (AccessibleEvent_getSourceName):
218 (AccessibleEvent_getSourceRole):
219 (AccessibleEvent_getSourceApplication):
220 (AccessibleEvent_getSourceDetails):
221 New methods for interrogating/demarshalling
222 event details (i.e. source's accessible name, role,
225 * cspi/spi_accessible.c: Use cspi_role_from_spi_role.
226 Make use of the new EventDetails struct in events, if present.
227 (AccessibleEvent_getSourceName)
228 (AccessibleEvent_getSourceRole)
229 (AccessibleEvent_getSourceApplication)
230 (AccessibleEvent_getSourceDetails): Implement the newly exposed
232 (Accessible_getAttributes): New, wraps
233 Accessibility_Accessible_getAttributes.
234 (Accessible_getHostApplication): New, wraps
235 Accessibility_Accessible_getApplication.
238 (AccessibleImage_getImageLocale): New wrapper for
239 Accessibility_Image_get_imageLocale.
241 * cspi/spi_component.c:
242 (AccessibleComponent_getAlpha): New wrapper for
243 Accessibility_Component_getAlpha.
245 * atk-bridge/bridge.c:
246 Use new prototyped for init_any methods.
247 (spi_atk_bridge_init_nil, spi_atk_bridge_init_object)
248 (spi_atk_bridge_init_string, spi_atk_bridge_init_rect)
249 (spi_atk_bridge_init_base): Wrappers
250 for spi_init_any_* methods, due to refactor; include extended
251 information in the Accessibility_EventDetails struct, for instance
252 accessible-name, Role, and containing Application.
254 * registryd/registry.c:
255 Use new event emission (with EventDetails).
257 * registryd/deviceeventcontroller.c:
258 Use new event emission (with EventDetails).
260 2006-01-09 Kjartan Maraas <kmaraas@gnome.org>
262 * configure.in: Generate po/Makefile.in
263 * cspi/spi_main.c: Add #ifdef PRINT_LEAKS around a function
264 * cspi/spi_streamablecontent.c:
265 (accessible_bonobo_stream_client_seek),
266 (AccessibleStreamableContent_seek): Remove unused vars.
267 * libspi/application.c: Missing header.
268 * libspi/text.c: (impl_getDefaultAttributes): Unused vars
269 * login-helper/login-helper.c: (login_helper_finalize),
270 (login_helper_init): Remove unused stuff
271 * registryd/deviceeventcontroller.c: (spi_dec_replace_map_keysym),
272 (spi_dec_init_mouse_listener), (is_key_released): Remove unused vars
273 and surround some with #ifdef GRAB_BUTTON.
274 * test/event-listener-test.c: (main), (report_event),
275 (report_caret_event), (report_detail_event),
276 (report_detail1_event), (report_bounds_event), (report_text_event),
277 (report_text_selection_event),
278 (report_active_descendant_changed_event),
279 (report_children_changed_event), (report_name_changed_event),
280 (report_description_changed_event), (report_parent_changed_event),
281 (report_window_event), (report_table_summary_event),
282 (report_table_header_event), (report_table_caption_event),
283 (report_table_row_description_event),
284 (report_table_column_description_event), (timing_test_event):
285 Remove a bunch of unused variables and fix a slew of format specifiers
286 * test/key-listener-test.c: (report_all_key_event): Format specifier
287 * test/keypad-test.c: (print_key_event): Same
288 * test/login-helper-server-test.c: (main): Include gtkmain.h and remove
290 * test/screen-review-test.c: (main), (print_chunk_debug),
291 (review_buffer_get_text_chunk), (debug_chunk_list),
292 (string_guess_clip), (text_chunk_get_clipped_string),
293 (text_chunk_list_to_string), (get_screen_review_line_at):
294 Remove unused variables and fix format specifiers.
295 * test/simple-at.c: (report_text_event): Format specifier fix.
296 * test/stress-test.c: (main): Remove unused var.
298 2005-12-29 Abel Cheung <maddog@linuxhall.org>
300 * configure.in: Add zh_HK, zh_TW to ALL_LINGUAS
301 (yes I know that's useless)
303 2005-11-20 Theppitak Karoonboonyanan <thep@linux.thai.net>
305 * configure.in: Added "th" (Thai) to ALL_LINGUAS.
307 2005-11-17 Michael Meeks <michael.meeks@novell.com>
309 * atk-bridge/bridge.c (spi_atk_emit_eventv):
310 urgh-fix embarassing typo.
312 2005-11-16 Michael Meeks <michael.meeks@novell.com>
314 * atk-bridge/bridge.c (spi_atk_emit_eventv):
315 do a faster, less problematic _unref call on this local
316 object, rather than a slower (potentially cross-thread
317 complicated) CORBA call.
319 2005-11-02 Kjartan Maraas <kmaraas@gnome.org>
321 * atk-bridge/bridge.c: (spi_atk_bridge_signal_listener):
322 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_seek):
323 * registryd/deviceeventcontroller.c:
324 (spi_controller_notify_mouselisteners),
325 (impl_generate_keyboard_event):
326 * test/screen-review-test.c: (chunk_bounds_within):
327 * test/test-simple.c: (test_desktop): Remove some unused code
328 and fix compiler warnings. Closes bug #320049.
330 2005-10-27 Bill Haneman <bill.haneman@sun.com>
332 * registryd/deviceeventcontroller.c:
333 (spi_controller_notify_keylisteners): Check
334 to make sure the event listener has requested 'preemptive'
335 status before pre-empting an event.
337 2005-08-29 Bill Haneman <bill.haneman@sun.com>
339 * configure.in, README, NEWS: Release 1.6.5.
341 2005-07-25 Matthias Clasen <mclasen@redhat.com>
343 * test/window-listener-test.c: Fix a printf
344 format error. (#169453)
346 2005-07-15 Bill Haneman <bill.haneman@sun.com>
348 * tests/test-simple.c:
349 (key_listener_cb): Ensure that the keystring is dup'ed instead of
350 relying on the old string from the key event hanging around after
351 the event handler returns. Fixes broken 'make check'.
353 2005-06-06 Swapnil Hajare <dreamil@gmail.com>
355 * Added Marathi (mr_IN) translations.
357 2005-05-27 Kjartan Maraas <kmaraas@gnome.org>
359 * cspi/bonobo/cspi-bonobo-listener.c:
360 (cspi_event_list_remove_by_cb): Fix the build.
362 2005-05-26 Michael Meeks <michael.meeks@novell.com>
364 * cspi/bonobo/cspi-bonobo-listener.c
365 (cspi_event_list_remove_by_cb): actually filter by callback.
367 2005-05-25 Bill Haneman <bill.haneman@sun.com>
369 * registryd/registry.c (remove_listener_cb):
370 Make deregistration filter rules match the event emission rules.
372 2005-05-25 Michael Meeks <michael.meeks@novell.com>
374 * registryd/registry.c (remove_listener_cb),
375 (impl_accessibility_registry_deregister_global_event_listener),
376 (impl_accessibility_registry_deregister_global_event_listener_all):
377 pass a closure to the remove callback to filter listeners more
378 accurately on remove.
380 2005-04-05 Bill Haneman <bill.haneman@sun.com>
382 * configure.in: Revved to 1.6.4.
383 Remember to put quotes around XEVIE_LIBS assignment.
384 Fixed one of tertiary AC_CHECK_HEADER tests for XEvie.
387 * tests/event-listener-test.c: Tweaked the tests - more detail
388 from caret events, and some interrogation of AccessibleText APIs.
389 Commented-out the bounds-changed events by default, since they can
392 2005-04-14 Kjartan Maraas <kmaraas@gnome.org>
394 * atk-bridge/bridge.c: (spi_atk_emit_eventv): Plug a leak.
395 * cspi/bonobo/cspi-bonobo-listener.c: (cspi_device_event):
396 Same here. Closes bug #167806
398 2005-04-05 Bill Haneman <bill.haneman@sun.com>
400 * atk-bridge/bridge.c:
401 (spi_atk_bridge_signal_listener):
402 Free the any._value if any._release is TRUE,
403 since the ORB won't do it for us in this case
404 [because this method is not a skel].
407 2005-03-30 Steve Murphy <murf@e-tools.com>
409 * configure.in: Added "rw" to ALL_LINGUAS.
411 2005-03-29 Bill Haneman <bill.haneman@sun.com>
413 * configure.in: Improved check for HAVE_XEVIE, to detect
414 presence on XOrg, where -lXevie is a separate library.
416 2005-03-08 Bill Haneman <bill.haneman@sun.com>
418 * configure.in, NEWS, README: Revved to 1.6.3.
420 2005-02-16 Adi Attar <aattar@cvs.gnome.org>
422 * configure.in: Added "xh" to ALL_LINGUAS.
424 2005-02-07 Bill Haneman <bill.haneman@sun.com>
426 * atk-bridge/bridge.c:
427 (atk_bridge_init): Added missing NULL in g_strconcat(),
428 also check for symlink before logging to
429 insecure directory. Thanks to meissner@suse.de.
431 2005-01-25 Padraig O'Briain <padraig.obriain@sun.com>
433 * tests/login-helper-server-test.c: Add return call to main
434 function. Patch from Chris Lahey. Fixes bug #165129.
436 2004-12-20 Padraig O'Briain <padraig.obriain@sun.com>
438 * cspi/spi.h: Add description for SPI_RELATION_SUBWINDOW_OF.
440 2004-12-09 Bill Haneman <billh@gnome.org>
442 * registryd/registry-main.c:
443 Added #define <string.h> for strrchr. (bug 160862).
444 Thanks to Vincent Berger for catching.
446 2004-12-09 Padraig O'Briain <padraig.obriain@sun.com>
448 * atk-bridge/bridge.c (spi_atk_get_registry): Do not attempt to
449 restart registry process if the registry process is found to have died
450 and the current process is exiting.
451 (spi_atk_bridge_exit_func): Do not attempt to deregister the
452 application if the registry process has died.
453 (spi_atk_emit_eventv): Return if call to spi_atk_get_registry
454 does not return a registry object.
455 (spi_atk_tidy_windows): Give up if the registry process has died.
457 This fixes problems with hangs and crashes when logging out.
459 2004-12-03 Padraig O'Briain <padraig.obriain@sun.com>
461 * registryd/desktop.c: Add checking that we are not exiting before
462 calling spi_desktop_remove_application in
463 abnormal_application_termination. Fix for bug #152147.
465 2004-12-02 Bill Haneman <billh@gnome.org>
467 * configure.in, NEWS, README: Revved to 1.6.1.
469 Patch from Padraig O'Briain <padraig.obriain@sun.com>
470 * atk-bridge/bridge.c:
471 (atk_bridge_init): Save the pid when we start, to detect forks.
472 (spi_atk_bridge_exit_func): Don't call the cleanup routines
473 if we're in a forked pid.
475 2004-10-09 Bill Haneman <billh@gnome.org>
477 * idl/Accessibility_LoginHelper.idl:
478 Improved inline documentation.
480 2004-10-02 Jesus Bravo Alvarez <suso@trasno.net>
482 * configure.in: Added gl (Galician) to ALL_LINGUAS
484 2004-09-30 Kjartan Maraas <kmaraas@gnome.org>
486 * libspi/accessible.c:
487 (impl_accessibility_accessible_get_role_name),
488 (impl_accessibility_accessible_get_local_role_name):
490 * libspi/component.c:
491 (impl_accessibility_component_get_accessible_at_point):
493 * libspi/eventlistener.c: (spi_event_listener_new):
495 * libspi/stateset.c: (impl_compare): More of the same
496 * libspi/table.c: (impl_getRowDescription): Again.
497 * registryd/desktop.c: (spi_atk_desktop_get_type): Same
498 * registryd/deviceeventcontroller.c: (spi_clear_error_state),
499 (impl_generate_keyboard_event): Same.
500 * registryd/registry-main.c: (main): Same
501 * test/event-listener-test.c: (test_exit): Same
502 * test/keysynth-demo.c: (scan_state), (create_vkbd): Same
503 * test/keysynth-test.c: (test_key_synthesis): Same
504 * test/login-helper-server-test.c: (main): Fix warning.
505 * test/screen-review-test.c: (test_exit): Fix include.
506 * test/simple-at.c: (simple_at_exit), (_festival_init):
509 2004-09-13 Padraig O'Briain <padraig.vriain@sun.com>
511 * configure.in, NEWS, README: Revved to 1.6.0.
513 2004-09-12 Bill Haneman <bill.haneman@sun.com>
515 * configure.in: Rev and re-dist, since the 1.5.4 tarball
516 was missing the HTML docs.
518 2004-09-12 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
520 * configure.in: only cleanups:
521 - better looking PKG_CHECK_MODULES() output,
523 - declare in one common place required versions of other tools using
526 2004-09-11 J.H.M. Dassen (Ray) <jdassen@debian.org>
528 * configure.in: libspi/accessible.c uses ATK_ROLE_EMBEDDED
529 (unconditionally) which was introduced in ATK 1.7.2. Bumped the
530 required ATK version accordingly.
532 2004-09-03 Bill Haneman <bill.haneman@sun.com>
534 * cspi/bonobo/cspi-bonobo.c:
535 (cspi_display_name): Fix C99ism.
536 * atk-bridge/bridge.c:
537 (spi_display_name): Fix C99ism.
538 Patch from Jens Granseuer, jensgr@gmx.net.
540 2004-09-03 Gora Mohanty <gmohanty@cvs.gnome.org>
542 * configure.in: Added "or" to ALL_LINGUAS.
544 2004-08-20 Bill Haneman <bill.haneman@sun.com>
546 * configure.in, NEWS, README: Revved to 1.5.4.
548 * registryd/registry-main.c:
549 (main): Set the reg_env to use AT_SPI_DISPLAY instead of
552 * cspi/bonobo/cspi-bonobo.c:
553 (cspi_display_name): New convenience method, gets DISPLAY with
554 screen number stripped, if AT_SPI_DISPLAY isn't already set.
555 (cspi_init): Set the activation env value above before getting
558 * atk-bridge/bridge.c:
559 (spi_display_name): Create the AT_SPI_DISPLAY activation
560 environment for an app, based on the DISPLAY environment with the
561 screen number stripped off.
562 (atk_bridge_init): Allow redirection of error messages to a log.
563 (spi_atk_bridge_get_registry): Call
564 bonobo_activation_set_activation_env_value for AT_SPI_DISPLAY.
566 Fixes for bugs #149962, #136986, #144086.
568 2004-08-16 Christian Rose <menthos@menthos.com>
570 * configure.in: Added "bs" to ALL_LINGUAS.
572 2004-08-12 Kjartan Maraas <kmaraas@gnome.org>
574 * configure.in: Added nb to ALL_LINGUAS.
576 2004-09-03 Bill Haneman <bill.haneman@sun.com>
579 (SPI_init): Return error code '2' if the activated
580 registry cannot be pinged. Fixes bug #147648.
582 2004-07-28 Bill Haneman <bill.haneman@sun.com>
584 * registryd/deviceeventcontroller.c:
585 (spi_dec_init_mouse_listener): Don't do XGrabButton,
586 rely on timer-poll instead, to avoid conflict with
589 2004-07-20 Bill Haneman <bill.haneman@sun.com>
591 * configure.in: Revved to 1.5.3.
593 * idl/Accessibility_Role.idl: Added ROLE_EMBEDDED (bug #144415).
595 * libspi/accessible.c: Added support for ROLE_EMBEDDED.
597 * cspi/spi_accessible.c: Support for ROLE_EMBEDDED.
599 * cspi/spi-roletypes.h: Added SPI_ROLE_EMBEDDED.
601 2004-06-11 Bill Haneman <bill.haneman@sun.com>
603 * atk-bridge/bridge.c:
604 (spi_atk_bridge_do_registration):
605 Register with ATK for AtkComponent:bounds-changed events.
606 (api_atk_bridge_signal_listener):
607 Marshal the AtkRectangle info into the event notification
608 for object:bounds-changed events.
611 (spi_init_any_rect): New method, inits a corba struct of
612 type Accessibility_BoundingBox from an AtkRectangle.
614 * libspi/spi-private.h: Declared spi_init_any_rect (above).
617 (SPIRect): New struct definition.
618 (SPI_freeRect): New declaration.
619 (AccessibleBoundsChangedEvent_getNewBounds): New, see below.
622 (AccessibleBoundsChangedEvent_getNewBounds): New method,
623 implemented. Gets the bounding box data from the CORBA_any
624 associated with a bounds-changed event notification.
625 (cspi_internal_event_get_rect): New, used internally by above method.
628 (SPI_freeRect): Implemented this new method, for freeing
631 * test/event-listener-test.c:
632 (main, report_bounds_event):
633 Added a test for object:bounds-changed events.
635 2004-06-01 Bill Haneman <bill.haneman@sun.com>
637 * test/login-helper-server-test.c:
638 (main): Fix C99-ism. Thanks to Jens Granseuer.
640 2004-05-28 Padraig O'Briain <padraig.obriain@sun.com>
642 * libloginhelper-1.0.pc.in:
643 * idl/Accessibility_LoginHelper.idl:
644 * login-helper/Makefile.am:
645 * login-helper/login-helper.[ch]:
646 * test/login-helper-client-test.c:
647 * test/login-helper-server-test.c: Added files missing from CVS.
648 Files obtained from at-spi-1.5.2 tarball.
650 2004-05-27 Bill Haneman <bill.haneman@sun.com>
652 * configure.in: Create login-helper/Makefile.
653 Incremented micro version.
655 * Makefile.am: Add login-helper subdir and pkgconfig data.
657 * login-helper: New subdir.
659 * libloginhelper-1.0.pc.in: New.
661 * idl/Accessibility_LoginHelper.idl: New file, defines
662 interface whereby authentication clients can identify agents which
663 need access to services during the login process, e.g. screen lock
666 * login-helper/Makefile.am : New.
668 * login-helper/login-helper.[ch] : New, implementation of
669 a LoginHelper base class. Services needing LoginHelper can subclass.
671 * test/Makefile.am : Added test for login-helper, client and
674 * test/app.c, at.c, keypad-test.c, keysynth-test.c, stress-test.c:
675 Use proper prefix in #include files.
677 * test/login-helper-client-test.c: New.
679 * test/login-helper-server-test.c: New.
681 2004-05-27 Alexander Shopov <ash@contact.bg>
683 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
685 2004-05-14 Padraig O'Briain <padraig.obriain@sun.com>
687 * cspi/spi_main.c (cspi_object_unref): Add check that reference count
688 is positive. This should make it easier to detect inapprorpiate unref
691 2004-05-11 James Henstridge <james@daa.com.au>
693 * configure.in: remove GNOME_PLATFORM_GNOME_2 macro, which is a
694 no-op and deprecated.
696 2004-05-03 Pablo Saratxaga <pablo@mandrakesoft.com>
698 * configure.in: Added "wa" (Walloon) to ALL_LINGUAS.
700 2004-04-28 Bill Haneman <billh@gnome.org>
702 * Makefile.am: Added --enable-gtk-doc to
703 DISTCHECK_CONFIGURE_FLAGS; fixes make distcheck.
705 2004-04-19 Bill Haneman <billh@gnome.org>
707 * configure.in: Revved to 1.5.1.
709 * registryd/deviceeventcontroller.c:
711 (DEControllerPrivateData): Added fields for
712 reserved_keycode, reserved_keysym, and reserved_reset_timeout.
713 (spi_dec_replace_map_keysym): New internal utility for
714 replacing a keysym in the keymap - used to allow
715 synthesis of individual characters which aren't in the
717 (spi_dec_reset_reserved): New; resets the changed keysym value
719 (keycode_for_keysym): We now try to deal with failed
720 XKeysymToKeycode requests by changing a keymap value
721 and returning a reserved keycode. We now take
722 a DEController pointer as first arg.
723 (spi_controller_register_with_devices): Call XkbGetMap with
724 the XkbKeySymsMask. Find the highest keycode in the current
725 keymap which doesn't have any grabs, and mark that one for
726 temporary re-mapping when out-of-range KeySyms are synthesized.
727 (dec_synth_keycode_press): Call XFlush after synthesizing the key
730 2004-04-08 Guntupalli Karunakar <karunakar@freedomink.org>
732 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
734 2004-03-24 Alexander Winston <alexander.winston@comcast.net>
736 * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
738 2004-03-24 Bill Haneman <billh@gnome.org>
741 (AccessibleTable_addRowSelection),
742 (AccessibleTable_addColumnSelection),
743 (AccessibleTable_removeRowSelection),
744 (AccessibleTable_removeColumnSelection):
745 Add declarations for spi wrappers which were
746 inadvertantly omitted. Fixes bug #133413.
749 Revved to 1.5.0 (unstable series for GNOME 2.7).
751 2004-03-24 Bill Haneman <billh@gnome.org>
753 * atk-bridge/bridge.c:
754 Bracketed some debug output in
755 conditionals, to avoid printing it in normal use.
758 * libspi/hyperlink.c:
759 Don't cast 'object' to ATK_OBJECT when constructing
760 an AtkAction interface for a hyperlink.
761 See discussion in bug #120659.
763 * test/key-listener-test.c:
764 (report_all_key_event): Send output to stderr,
765 not stdout, for consistency with the rest of the test callbacks.
768 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
769 Don't add X_LIBS to CFLAGS (Fix for bug #134332).
770 Incremented to 1.4.1 (but didn't dist yet - I'm going to
771 try incrementing the revision AFTER doing a dist, at least
774 2004-03-22 Bill Haneman <billh@gnome.org>
776 * configure.in: Revved to 1.4.0, libtool 9.14.9
778 2004-03-17 Laszlo Peter <laca@sun.com>
780 * libspi-1.0-uninstalled.pc.in: add idldir
782 * cspi-1.0-uninstalled.pc.in: add idldir
784 2004-03-16 Gareth Owen <gowen72@yahoo.com>
786 * configure.in: Added "en_GB" to ALL_LINGUAS
788 2004-03-15 Bill Haneman <billh@gnome.org>
790 * configure.in: Revved to 1.3.16,
793 2004-03-15 Laszlo Peter <laca@sun.com>
795 * libspi-1.0-uninstalled.pc.in: new file
797 * cspi-1.0-uninstalled.pc.in: new file
799 * configure.in: add the new pc files to AC_OUTPUT
801 * Makefile.am: add the new pc files to EXTRA_DIST
803 2004-03-12 Bill Haneman <billh@gnome.org>
805 * atk-bridge/bridge.c:
806 (spi_atk_bridge_key_listener):
807 Make sure to return consumed=FALSE if snoop
808 event is not dispatched to listener.
811 2004-03-01 Bill Haneman <billh@gnome.org>
813 * configure.in: Revved to 1.3.15,
816 2004-03-07 Danilo Segan <dsegan@gmx.net>
818 * configure.in: Added "sr@ije" to ALL_LINGUAS.
820 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
822 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
824 2004-03-01 Bill Haneman <billh@gnome.org>
826 * configure.in: Revved to 1.3.14.
829 (SPI_exit): Removed "bye-bye" exit message.
830 Moved "leak" report to happen before the
831 iteration over the leaked refs list.
832 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
834 2004-02-24 Bill Haneman <billh@gnome.org>
836 * configure.in: Revved to 1.3.13.
838 * docs/reference/cspi/Makefile.am:
839 Correct typo that was breaking the docs build.
841 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
843 * autogen.sh: Require version 1.7 of automake.
845 * configure.in: call GTK_DOC_CHECK([1.0])
847 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
849 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
851 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
853 * test/Makefile.am: Remove use of CFLAGS.
855 This fixes bug #132987.
857 2004-02-11 Bill Haneman <billh@gnome.org>
859 * reverted most of Tomasz' patch below, since it was breaking
860 builds (see bug #134058).
862 2004-02-10 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
864 * docs/reference/cspi/at-spi-cspi.types: added empty file for
865 correct pass "make dist" (empty .. because seems no sach types in
866 header files with gtk-doc markups).
867 * docs/reference/cspi/Makefile.am, configure.in:
868 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
869 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
870 * Makefile.am: added:
871 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
872 for force correct pass generate documentation on "make distcheck".
873 * libspi/Makefile.am: fixes for automake >= 1.6.
874 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
875 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
878 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
880 * docs/reference/cspi/Makefile.am (install-data-local): Install
881 index.sgml since the doc autobuilder on widget.gnome.org looks for
884 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
886 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
889 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
891 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
893 2004-01-27 Brian Cameron <brian.cameron@sun.com>
895 * test/simple-at.c: Fixed null string problems that cause core
896 dumping problems on Solaris.
898 2004-01-12 Bill Haneman <billh@gnome.org>
900 * configure.in: Incremented version to 1.3.11.
902 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
904 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
905 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
908 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
910 * configure.in: Added "fa" to ALL_LINGUAS.
912 2003-12-20 Arafat Medini <lumina@silverpen.de>
914 * configure.in: Added "ar" to ALL_LINGUAS
916 2003-12-16 Bill Haneman <billh@gnome.org>
918 * registryd/registry-main.c:
920 Set the reg_env DISPLAY variable before registering the
921 activated registry service. Fixes bug #129479.
923 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
925 * configure.in: Added "id" in ALL_LINGUAS
926 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
928 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
930 * registryd/deviceeventcontroller.c (global_filter_fn):
931 When an event is consumed discard any XEvents were added to
932 the queue while dealing with the the event. This can happen if
933 processing of the event takes a long time. Call XUngrabKeyboard
934 if an event was discarded. This fixes bug $124837.
935 Only call wait_for_release_event for a KeyPress.
936 Use local variable display instead of spi_get_display().
937 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
940 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
942 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
943 Allow for mask to contain values other than NumLock mask.
946 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
948 * registryd/devieceventcontroller.c:
949 (wait_for_release_event): Change first parameter from GdkEvent to
951 (global_filter_fn); Correct call to wait_for_release_event.
955 2003-12-08 Bill Haneman <billh@gnome.org>
959 * registryd/ucs2keysym.c: New file.
961 * registryd/deviceeventcontroller.c:
962 (dec_keysym_for_unichar): Remove old partial implementation and
963 replace with call to ucs2keysym(), which is much more complete.
964 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
969 2003-12-05 Bill Haneman <billh@gnome.org>
971 * configure.in: Version 1.3.9.
973 * docs/reference/cspi/tmpl/spi_registry.sgml:
974 Added reference to libspi/keymasks.h to the
975 description of Registry queries: AccessibleKeyMaskType.
978 2003-12-04 Bill Haneman <billh@gnome.org>
982 * idl/Accessibility_Application.idl:
983 (Accessibility::LOCALE_TYPE): New enum, corresponds to
984 setlocale's LC_TYPEs.
985 (Accessibility::Application::getLocale): New method.
986 Allows clients to query the locale, by type, of an app.
989 * cspi/spi_application.c:
990 (AccessibleApplication_getLocale): New method, wraps IDL above.
992 * libspi/application.c:
993 (spi_application_class_init): Init epv entry for getLocale.
994 (impl_accessibility_application_get_locale): Impl for above.
996 * test/test-simple.c:
997 (test_application): Added assertion for getLocale, i.e.
998 that the string from AccessibleApplication_getLocale (app, type)
999 is the same as that from setlocale (type, NULL);
1001 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1003 *registryd/deviceeventcontroller.c: Add an idle handler which polls
1004 the keyboard on a timeout intil the key state goes from pressed to
1005 released. Fixes bug #111429.
1007 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1009 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
1010 root object so that it is present when a context menu in an
1011 out-of-process applet is popped up.
1012 (spi_atk_bridge_do_registration): Create acceessible application root
1013 object only if it does not exist.
1015 This fixes bug #125834.
1017 2003-12-01 Bill Haneman <billh@gnome.org>
1019 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
1022 Added enum for AccessibleStreamableContentSeekType.
1023 (AccessibleStreamableContent_freeContentTypeList): New.
1025 * cspi/spi_streamablecontent.c:
1026 (accessible_bonobo_stream_client_seek): New private method.
1027 (AccessibleStreamableContent_seek): Implemented this method,
1028 using Bonobo_Stream_seek.
1029 (AccessibleStreamableContent_freeContentTypeList): New method
1030 for freeing the return value from
1031 AccessibleStreamableContent_getContentTypes.
1032 (stream_cache_item_free): Replaces stream_release; stop leaks.
1033 (stream_release): removed.
1034 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
1035 free the memory properly.
1037 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
1039 Fix for bug #116009.
1041 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
1043 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
1045 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
1047 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
1049 2003-12-01 Bill Haneman <billh@gnome.org>
1051 Fix for bug/rfe #127463.
1053 * idl/Accessibility_Accessible.idl:
1054 (getLocalizedRoleName): New.
1055 (unimplemented4): Removed (replaced by above).
1057 * libspi/accessible.c:
1058 (impl_accessibility_accessible_get_local_role_name): New.
1059 (spi_accessible_class_init): Add getLocalizedRoleName entry to
1063 (Accessible_getLocalizedRoleName): New.
1065 * cspi/spi_accessible.c:
1066 (Accessible_getLocalizedRoleName): New.
1068 2003-12-01 Bill Haneman <billh@gnome.org>
1070 Fix for bug #118581.
1071 * idl/Accessibility_Text.idl:
1072 (getDefaultAttributes): New.
1073 (unimplemented4): Removed (replaced by above method).
1076 (impl_getDefaultAttributes): New method.
1077 (spi_text_class_init):
1078 initialize the get_default_attributes slot in the epv.
1081 (AccessibleText_getDefaultAttributes): New prototype.
1084 (AccessibleText_getDefaultAttributes): New method.
1086 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
1088 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
1089 write beyond the end of the table. Fixes bug #120473.
1091 2003-09-30 Christian Rose <menthos@menthos.com>
1093 * configure.in: Added "eu" to ALL_LINGUAS.
1095 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
1097 * configure.in: ALL_LINGUAS: Added no.
1099 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
1101 * configure.in: Added lt to ALL_LINGUAS.
1103 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
1105 * atk-bridge/bridge.c:
1106 (atk_bridge_init): Register event listeners always even for
1107 out-of-process applet.
1108 (spi_atk_bridge_toplevel_added): Remove call to
1109 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
1110 (spi_atk_bridge_toplevelk_removed): Remove call to
1111 spi_atk_deregister_event_listenersa as the listeners are now always
1113 (spi_atk_bridge_register_application): Remove call to
1114 spi_atk_register_event_listeners as it is not done in atk_bridge_init
1116 This fixes bug #120991.
1118 * libspi/table.c (impl_getColumnDescription): Correct typo,
1119 pointed out by Bolian.Yin@sun.com.
1121 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
1123 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
1125 2003-09-08 Bill Haneman <billh@gnome.org>
1127 * configure.in: Revved to 1.3.7.
1129 This is the GNOME 2.4.0 release of at-spi.
1131 * docs/reference/cspi/Makefile.am:
1132 Removed spurious inclusion of 'index.sgml' in the
1133 html directory; this was breaking make distcheck and
1134 also some other build environments.
1136 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
1138 * registryd/registry.[ch}:
1139 Add queue_handler_id and focus_object to SpiRegistry data structure.
1140 (registry_flush_event_queue): If event being discarded is
1141 "state-change:focused" store object as focus_object.
1142 (registry_start_queue): Remove queue handler and focus object
1144 (registry_discard_event): New function which discards a focus event
1145 if we had stored focus object in the registry.
1146 (registry_queue_event): Add new check that is_queueing is set as this
1147 function is reentrant.
1148 (registry_filer_event): Add call to registry_discard_event.
1150 This resolves issues raised in bug #108664.
1152 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
1154 * configure.in: Added "bn" to ALL_LINGUAS.
1156 2003-09-04 Bill Haneman <billh@gnome.org>
1158 * cspi/spi_event.c: Documentation improvements for
1159 (SPI_registerAccessibleKeylistener).
1161 * docs/reference/tmpl/spi_registry.sgml:
1162 Documentation improvements for SpiAccessibleKeylistenerCB.
1164 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
1166 * configure.in: Added "ro" to ALL_LINGUAS.
1169 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
1171 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
1172 not decremented to zero. Fixes bug #120725.
1174 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
1176 * configure.in: Added "ja" to ALL_LINGUAS.
1178 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
1180 * configure.in: Added "is" to ALL_LINGUAS.
1182 2003-08-22 Christian Rose <menthos@menthos.com>
1184 * configure.in: Added "nl" to ALL_LINGUAS.
1186 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1188 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
1189 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
1191 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
1193 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
1194 type for unspecified exception.
1195 * cspi_streamablecontect): Add include of string.h for memcpy.
1196 (stream_release): Correct call to bonobo_object_release_unref
1197 (stream_cache_item_free): Correct call to bonobo_object_release_unref
1198 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
1199 argument of _cspi_expection_throw.
1200 * libspi/hyperlink.c: Add include of libspi/action.h:
1201 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
1202 * libspi/streamablecontent.c: add include of libspi/component.h.
1203 * regisrtyd/deviceeventcontroller.c:
1204 (spi_dec_translate_mask): Removed unused variable priv.
1205 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
1206 * registryd/registry.c:
1207 (registry_filter_event): Remove unused variable queue_is-empty.
1208 (impl_registry_notify_event): Use correct modifier in fprintf call.
1210 This fixes compiler warnings reported in bug #120220.
1212 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
1214 * registryd/registryd.c: Remove this file.
1216 2003-08-17 Sanlig Badral <badral@openmn.org>
1218 * configure.in: Added mn to ALL_LINGUAS.
1220 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
1222 * configure.in: Added et to ALL_LINGUAS.
1224 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
1226 * test/event-listener-test.c: Change active-descendant to
1227 active-descendant-changed.
1229 2003-08-10 Sami Pesonen <sampeson@iki.fi>
1231 * configure.in: Added "fi" in ALL_LINGUAS.
1233 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
1235 * configure.in: Added "hi" in ALL_LINGUAS.
1237 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
1239 * configure.in: Revved to 1.3.6.
1243 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
1245 * registryd/deviceeventcontroller.c
1246 (spi_device_event_controller_object_finalize): Fix typo in previous
1249 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
1251 * registryd/deviceeventcontroller.c
1252 (spi_device_event_controller_object_finalize): Fix build on
1253 systems without XEvIE.
1255 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
1257 * acconfig.h, configure.in, registryd/Makefile.am,
1258 registryd/devicecontoller.[ch]: Add XEViE support.
1260 2003-08-06 Wang Jian <lark@linux.net.cn>
1262 * configure.in: Added "zh_CN" to ALL_LINGUAS.
1264 2003-08-06 Metin Amiroff<metin@karegen.com>
1266 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
1268 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
1270 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
1271 MODIFIER_ALT in correct place.
1273 This fixes part of bug #118114.
1275 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
1277 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
1279 2003-07-28 Changwoo Ryu <cwryu@debian.org>
1281 * configure.in: Added "ko" to ALL_LINGUAS.
1283 2003-07-28 Ole Laursen <olau@hardworking.dk>
1285 * configure.in: Added "da" to the commented out ALL_LINGUAS.
1287 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
1289 * configure.in: Added "sq" to ALL_LINGUAS.
1291 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
1293 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
1295 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
1297 * configure.in: updated ALL_LINGUAS list
1299 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1301 * configure.in: Added Belarusian to ALL_LINGUAS.
1303 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
1305 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
1307 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
1308 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
1310 This fixes bug #116949.
1312 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
1314 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
1315 Correct CSPI to SPI in function documentation.
1317 This fixes bug #118054.
1319 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1321 * configure.in: Added Russian to ALL_LINGUAS.
1323 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
1325 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
1327 2003-07-14 Danilo Ã…Â Segan <dsegan@gmx.net>
1329 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
1331 2003-07-10 Joel Brich <joel.brich@laposte.net>
1333 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
1335 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
1337 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
1339 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
1341 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
1342 resources allocated for AccessibleEvent. See cspi_event().
1344 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
1345 static variable streams to NULL.
1347 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
1348 Update so that AcessibleEvent_ref will work.
1350 This fixes bug #116624.
1352 2003-07-06 Jordi Mallach <jordi@sindominio.net>
1354 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
1356 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
1358 * configure.in: Added "fr" (French) to ALL_LINGUAS.
1360 2003-07-02 Christian Neumair <chris@gnome-de.org>
1362 * configure.in: Added "de" (German) to ALL_LINGUAS.
1364 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
1366 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
1368 2003-07-01 Miloslav Trmac <mitr@volny.cz>
1370 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
1372 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
1374 * configure.in: Added "pl" to ALL_LINGUAS.
1376 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
1378 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
1380 2003-06-30 Bill Haneman <bill.haneman@sun.com>
1383 (get_action_from_servant):
1384 Removed assertion that action is implemented on an AtkObject.
1386 * libspi/hyperlink.c:
1387 (spi_hyperlink_new):
1388 Aggregate AccessibleAction interface on the hyperlink object if
1389 the object implements AtkAction. (This convention is used in
1392 2003-06-30 Bill Haneman <bill.haneman@sun.com>
1394 * configure.in: Revved to 1.3.5.
1396 * registryd/Accessibility_Registry.server.in.in:
1397 Marked up appropriate strings for translation.
1399 * atk-bridge/bridge.c: Marked a couple of
1400 user-visible warnings for translation. Questionable
1401 whether they are really useful, but possibly so.
1404 2003-06-28 Christian Rose <menthos@menthos.com>
1406 * configure.in: Added "sv" to ALL_LINGUAS.
1408 2003-06-26 Bill Haneman <bill.haneman@sun.com>
1410 * registryd/registry.c:
1411 (spi_registry_object_finalize): Unref the deviceeventcontroller.
1412 (registry_defer_on_event): Defer focus: events, this is an
1413 improvement to the patch for bug #108664.
1415 * TODO: Update with 2.4/"Dev Complete" items.
1417 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
1419 * atk-bridge/bridge.c:
1420 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
1421 looks up signals once.
1422 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
1423 if doing registration.
1424 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
1425 when doing registration.
1427 This fixes bug #115014.
1429 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
1431 * atk-bridge/bridge.c:
1432 (atk_bridge_init): Add signal handler for children-changed:remove on
1433 root when in a BonoboComponent.
1434 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
1435 for first toplevel only other incrememt variable toplevels.
1436 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
1437 application and remove listeners.
1438 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
1440 (spi_atk_deregister_event_listeners): New function which removes
1442 (reinit_register_vars): New fuction which reinitializes variables.
1444 This fixes bug #111578.
1446 2003-06-13 Bill Haneman <bill.haneman@sun.com>
1448 * configure.in: version 1.3.4.
1450 * cspi/spi_accessible.c:
1451 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
1454 2003-06-13 Michael Meeks <michael@ximian.com>
1456 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
1458 * cspi/spi_main.c (cspi_peek_ev): impl.
1460 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
1462 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
1464 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
1466 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
1467 SPI_ROLE_AUTOCOMPLETE
1469 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
1471 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
1472 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
1474 2003-06-11 Bill Haneman <bill.haneman@sun.com>
1476 * libspi/streamablecontent.h:
1477 * libspi/streamablecontent.c:
1478 New files, provide implementation/wrappers for
1479 Accessibility_StreamableContent.
1481 * cspi/spi_streamablecontent.c:
1482 Connected the C wrappers to the libspi C bindings.
1483 (AccessibleStreamableContent_close): New method.
1486 (AccessibleStreamableContent_close): New method, needed
1487 since we have an "open, [seek], read, close" model in cspi.
1489 2003-06-11 Bill Haneman <bill.haneman@sun.com>
1491 Fix for #108664; Padraig's revision of my original patch.
1493 * registryd/registry.h:
1494 Added event queue list, is_queuing, and exit_notify_timeout
1495 to the registry struct.
1497 * registryd/registry.c:
1498 (registry_init): Initialize new struct from registry.h.
1499 (impl_registry_notify_event):
1500 Filter events before notifying, in case some need to be
1502 (registry_filter_event): New,
1503 we defer certain incoming events (for instance
1504 window:deactivate) because we may wish to hide
1505 or reject them based on pending events. This is
1506 mostly a workaround for bug #108664.
1507 (registry_queue_event, registry_start_queue): New.
1508 (registry_defer_on_event): Test event to see if it
1510 (registry_reset_on_event): Returns TRUE if the
1511 event should cause a queue reset.
1512 (registry_discard_on_event): Returns TRUE if the event
1513 should cause the previous queue contents to be discarded.
1514 (registry_timeout_flush_queue): Flushes the pending event
1515 queue if no reset/discard-triggering events have come in
1516 within the timeout period.
1517 (registry_emit_event): New.
1518 (registry_clone_notify_context): New, used when queueing the
1519 event notify contexts.
1521 2003-06-10 Bill Haneman <bill.haneman@sun.com>
1523 * configure.in: Version revved to 1.3.2, lt 0.9.2
1524 Incremented ATK required version to 1.3.4.
1526 * cspi/spi_registry.c:
1527 (SPI_generateKeyEvent):
1528 We now pass the keystring along if it's non-null.
1530 * registryd/deviceeventcontroller.c:
1531 (keysym_mod_mask): New method, returns modifier mask
1532 required to generate a keysym from a given keycode.
1533 (dec_synth_keysym): New method.
1534 (dec_synth_keystring): New method.
1535 (dec_get_modifier_state): New method.
1536 (dec_lock_modifiers): New
1537 (dec_unlock_modifiers): New.
1538 (dec_keysym_for_unichar): New, rather brute-force
1539 conversion from UCS-4 to X KeySyms. Only works for
1540 Latin at the moment, with partial implementations for
1541 Greek, Hebrew, and (incomplete) Katakana.
1542 (impl_generate_keyboard_event): Now implement
1543 "KEYSTRING" synthesis and implement "KEYSYM"
1545 (keycode_from_keysym): Improved, passes a returned
1546 modmask value now if the corresponding param is non-NULL.
1548 Fixes bugs #92143 and #109776.
1551 * test/keysynth-test.c:
1552 New test program for key synthesis, to confirm fixes for
1556 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
1558 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
1560 * cspi/spi_accessible.c (cspi_init_relation_type_table):
1561 Add line for RELATION_POPUP_FOR
1563 * docs/reference/cspi/tmpl/spi_relation.sgml:
1564 Add relation SPI_RELATION_POPUP_FOR
1566 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1567 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
1569 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
1571 * libspi/relation.c (spi_init_relation_type_table):
1572 Add line for RELATION_POPUP_FOR
1574 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
1576 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
1577 there are still windows which have not been deleted and emit
1578 window:deactivate, if necessary and window:destroy events.
1579 This fixes bug #114370. The change on June 5th was not correct.
1581 2003-06-09 Bill Haneman <bill.haneman@sun.com>
1583 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
1586 (SPI_dupString): Allow dup-ing of a string such that it's safe to
1588 New methods for client exception handling and interception.
1589 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
1590 (SPI_exceptionHandlerPop): You guessed it...
1591 (SPI_getSourceType): Return the type of object which offended.
1592 (SPI_getExceptionCode): Return an enum code telling, possibly,
1593 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
1594 (SPIAccessibleException_getSource): get the source object for
1595 exceptions that come from Accessibles, if SPIExceptionSourceType is
1596 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
1597 (SPIException_getDescription): New, returns a string description of
1598 the problem. [Not yet a stable ABI, strings are not frozen]
1600 * cspi/spi-private.h:
1601 Added implementation details of opaque SPIException
1605 Implementations of above. Also
1606 (_cspi_exception_throw): new private method that
1607 dispatches exceptions to handlers, called from cspi-bonobo.c
1609 * cspi/bonobo/cspi-bonobo.c:
1610 (cspi_check_ev): call _cspi_exception_throw.
1611 Don't print a warning message if the exception has been
1612 handled by _cspi_exception_throw.
1614 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
1616 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
1617 there are still windows which have not been deleted and emit
1618 window:deactivate, if necessary and window:destroy events.
1619 This fixes bug #114370.
1621 2003-06-03 Bill Haneman <bill.haneman@sun.com>
1624 (cspi_accessible_is_a): Make non-fatal
1625 if the object reference is dead.
1627 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
1629 * cspi/spi_main.c: #include <stdio.h>
1630 * test/simple-at.c: ditto
1631 * test/event-listener-test.c: ditto
1632 * test/screen-review-test.c: ditto
1634 2003-05-30 Michael Meeks <michael@ximian.com>
1636 * test/test-simple.c (main): use CORBA_ORB_perform_work
1637 instead of an unnecessary linc_ call.
1639 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
1641 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
1642 Add SPI_STATE_INDETERMINATE.
1644 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
1647 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
1649 * libspi/stateset.c (init_state_type_tables): Add support for
1652 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
1654 * configure: Update versions of atk and gail required.
1655 This fixes bug #113268.
1657 2003-05-02 Bill Haneman <bill.haneman@sun.com>
1659 * configure.in: Revved micro version to 1.3.1 (because of build fix).
1661 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
1663 * libspi/Makefile.am:
1664 Ensure headers are generated before being used by c sources.
1666 2003-05-01 Bill Haneman <bill.haneman@sun.com>
1669 Simplified lt versioning rules.
1670 Incremented version to 1.3.0, to indicate that we're on the
1671 unstable branch now.
1673 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
1675 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
1676 Add MKDB_OPTIONS=--outtput-format=xml
1678 * docs/reference/cspi/at-spi-cspi-docs.sgml
1679 docs/reference/idl/at-spi-idl-docs.sgml:
1680 Convert to Docbook XML.
1682 This fixes bug #111793.
1684 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
1686 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
1687 AcccessibleKeyEventType, AccessibleKeyMaskType.
1689 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
1691 * cspi/state-types.h: Add documentation for AccessibleState.
1693 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
1694 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
1695 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
1696 AccessibleComponentLayer.
1698 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
1701 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
1703 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
1704 Accessible. Add description of AccessibleEvent,
1705 AccessibleEventListenerCB.
1707 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
1710 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
1711 documentation. Add description of AccessibleKeystrokeListenerCB,
1712 AccessibleKeyEventMask, AccessibleModifierMaskType,
1713 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
1714 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
1716 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
1719 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
1722 This fixes bug #104730.
1724 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
1726 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
1727 Set is_text field of Accessibility_DeviceEvent data structure.
1729 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
1730 is-text field of AccessibleDeviceEvent data structure.
1732 This addresses part of bug #108666.
1734 * registryd/devcieeventcontroller.c: Unset debug option.
1736 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
1738 * cspi/accessible.c:
1739 (cpi_initial_relation_type_table): New function which initializes
1740 mapping between Accessibility_RelationType and AccessibleRelationType.
1741 (cspi_relation_type_from_spi_relation_type): New function which
1742 translates an Accessibility_RelationType into an AccessibleRelationType.
1743 (AccessibleRelation_getRelationType): Use
1744 cpi_relation_type_get_spi_relation_type to return correct value.
1745 (spi_state_to_corba): Return correct type for default case.
1747 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
1748 Use Accessibility_EventType instead of Accessibility_KeyEventType.
1750 * cspi/cspi-bonobo-listener.c:
1751 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
1754 * libspi/accessible.c, libspi/action.c, libspi/application.c,
1755 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
1756 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
1757 libspi/image.c, libspi/listener.c, libspi/selection.c,
1758 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
1759 registryd/desktop.c, registryd/registry.c:
1760 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1762 * libspi/eventlistener.c
1763 Remove semicolon after BONOBO_TYPE_FUNC.
1765 * libspi/relation.c:
1766 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1767 (spi_init_relation_type_table): Initialize using correct type.
1769 * registryd/desktop.c:
1770 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1771 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
1772 of Accessibility_KeyEventType.
1774 * test/key-listener-test.c (report_tab_key_event): Use fprintf
1777 * tests/simple-at.c, tests/screen-review-test.c:
1778 Add include for <strings.h>.
1780 * tests.stress-test.c:
1781 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
1783 These changes fix compiler warnings when using FORTE compiler on
1784 Solaris; fixes bug #107479.
1787 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1790 * configure.in: revved to 1.1.10
1792 * libspi/keymasks.h:
1793 (SPI_KEYMASK_NUMLOCK): Added.
1795 * registryd/deviceeventcontroller.c:
1796 (spi_key_event_matches_listener): AND with a smaller
1797 bitmask (as we should).
1798 (spi_dec_translate_mask):
1799 New method, sets the virtual NumLock modifier bit
1800 if numlock is on. Eventually it can handle other virtual
1801 modifier bits if needed, or other marshalling from
1802 at-spi modifier masks to platform (X) masks.
1803 (spi_dec_key_listener_new):
1804 Call spi_dec_translate_mask to set up virtual mod bits
1805 in the 'mask' field when creating a new listener struct.
1806 (spi_dec_emit_modifier_event):
1807 Set the virtual (i.e. NumLock) bits before emitting event.
1808 (spi_controller_register_with_devices):
1809 Query for the NumLock modifier 'physical' bit if Xkb is
1810 present, for use in above methods.
1814 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1816 * registryd/deviceeventcontroller.c:
1817 (spi_keystroke_from_x_key_event):
1818 Instead of checking to see if the keysym is
1819 printable, check the string from XLookupString
1820 if available, get the first unicode character from it,
1821 and call g_unichar_isprint to determine whether the
1822 is_text flag should be TRUE or FALSE.
1826 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1828 * atk-bridge/bridge.c: Add support for extended events
1829 * cspi/spi_event.c: Add documentation and implementation for
1831 * tests/event-listener-test.c: Add tests for extended events.
1833 This fixes bugs #100424 and #100426.
1835 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1837 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
1838 of LT_CURRENT. This fixes bug #89350.
1840 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
1842 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
1843 number of signal parameter values before accessing them. This fixes
1846 2003-04-01 Bill Haneman <bill.haneman@sun.com>
1848 * configure.in: Fixed duplicate inclusion of -lspi.
1849 * branched for gnome-2-2/HEAD.
1850 [created tag "gnome-2-2"]
1852 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1854 * configure.in: 1.1.9 release.
1857 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1859 [needed by GOK, to fix bugs 107985 and 107988]
1860 * registryd/deviceeventcontroller.c:
1861 (spi_dec_clear_unlatch_pending):
1862 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
1863 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
1864 (spi_dec_init_mouse_listener):Emit warning if mouse button
1866 (spi_device_event_controller_forward_mouse_event):
1867 Removed unnecessary parens from a conditional.
1868 (global_filter_fn):Added TODO comment.
1869 (impl_generate_keyboard_event):
1870 Cancel a pending relatch if a 'delatching' key was
1873 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
1875 * atk-bridge/bridge.c:
1876 Change atk_signal_child_changed to atk_signal_children_changed.
1877 Reorganize code in spi_atk_bridge_signal_listener().
1879 * test/event-listener-test.c:
1880 Add children_changed_listener and report_children_changed_event()
1881 to test AccessibleChildEvent_getChildAccessible.
1883 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
1885 * cspi/spi_event.c (cspi_internal_event_get_text): Change
1886 g_strdup to CORBA_String_dup (bug #105291)
1888 * test/event-listener-test.c (report_text_event): Add call to
1891 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1893 * registryd/deviceeventcontroller.c:
1894 (spi_keystroke_from_x_key_event):
1895 Fix string and keysym return codes to match modifier state.
1898 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1900 * registryd/deviceeventcontroller.c:
1901 (spi_keystroke_from_x_key_event):
1902 Fix segv due to improper use of isprint(c). [bug #107254]
1904 2003-02-24 Bill Haneman <bill.haneman@sun.com>
1907 (get_accessible_text_boundary_type):
1908 Move default return value to (new) default case in switch.
1909 (get_accessible_text_clip_type):
1910 Move default return value to (new) default case in switch.
1912 * libspi/application.c:
1913 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
1914 Remove unused methods.
1915 (impl_accessibility_application_register_object_event_listener):
1916 Remove unused methods.
1919 Added #include of <math.h>.
1921 * registryd/deviceeventcontroller.c:
1922 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
1923 we don't currently use this method.
1924 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
1926 (impl_generate_key_event):
1927 Remove unused variables.
1928 (impl_generate_mouse_event):
1929 Initialize button to zero, just in case we get an invalid
1930 input. Added support for mouse buttons 4 and 5.
1931 (spi_device_event_controller_new):
1932 Removed unused variable declaration for 'private'.
1934 Added #include of <gdk/gdk.h>
1936 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1938 * configure.in: Update to work when X is not installed in expected
1939 location. Fixes bug #105836.
1941 * atk-bridge/bridge.c
1942 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
1944 (spi_atk_register_event_listener): Add signal listener for
1946 (spi_atk_bridge_signal_listener): Event event when link-selected
1947 signal is emitted. (bug #104622)
1949 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
1950 on returned string. (bug #105291)
1952 * test/event-listener-test.c: Add test for link-selected.
1954 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1956 * atk-bridge/Makefile.am: Correct typo in previous commit.
1958 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
1960 * atk-bridge/Makefile.am: Allow for build directory to be different
1961 from source directory
1963 * registryd/Makefile.am: Allow for build directory to be different
1964 from source directory
1968 2003-01-29 Bill Haneman <bill.haneman@sun.com>
1971 Fixed dependencies for libcspi so that libspi gets pulled in
1972 properly. Fixes 104741.
1976 Clean up inline docs a little.
1978 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
1980 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
1981 This is done by implementing AtkComponent for SpiAtkDesktop, which is
1982 the AtkObject within an SpiDesktop.
1983 This addresses bug #101524.
1985 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
1986 Remove call to gdk_init().
1988 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
1989 so that Display is set when SpiDesktop is created.
1991 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
1993 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
1994 This fixes bug #102830.
1996 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1998 * test/test-simple.c: Update to take account of fact that GailButton
1999 now implements AtkText.
2000 (create_text_window): Set name on AtkObject for GtkEntry.
2001 (validate_accessible): Check accessible name before calling test_text().
2003 * libspi/Makefile.am: Fix problem with building outside of source
2004 directory. Bug #98120.
2006 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
2007 typo in documentation comments. Bug #94275.
2009 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2011 * libspi/text.c (impl_getBoundedRanges): Bug fix.
2013 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
2016 Add includes to avoid compiler warnings on Solaris.
2017 (impl_getRangeExtents): Bug fix.
2019 2002-12-17 Bill Haneman <bill.haneman@sun.com>
2021 Fix for 100944, [API addition approved by Gman and murrayc].
2028 * idl/Accessibility_Text.idl:
2029 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
2030 (Text::getRangeExtents): New method for efficient
2031 bounds query of a text range.
2032 (Text::getBoundedRanges): New method for efficient
2033 clipping of text to bounding boxes.
2034 (unImplemented7, unImplemented8):
2035 Removed these padding methods to preserve bincompat.
2038 (impl_getRangeExtents): implementation of new IDL.
2039 (impl_getBoundedRanges): implementation of new IDL.
2040 (SpiTextRect): Internal use struct.
2041 (_spi_text_rect_union): internal method, calculates union of two
2042 SpiTextRect bounding rects.
2043 (_spi_text_range_seq_from_gslist): internal method, allows us
2044 to build our sequence efficiently as a gslist then convert it
2046 (_spi_bounds_contain): internal method, determines whether
2047 a text character is "in" or "out" of a clip rect according to
2048 values of TEXT_CLIP_TYPE.
2049 (spi_text_class_init): Initialize the new methods in the epv.
2052 (AccessibleTextClipType): New enum used by screen review api.
2053 (AccessibleTextRange): New struct used by screen review api.
2054 (AccessibleText_getRangeExtents):
2055 cspi binding for Accessibility_Text_getRangeExtents.
2056 (AccessibleText_getBoundedRanges):
2057 cspi binding for Accessibility_Text_getBoundedRanges.
2058 (AccessibleTextRange_freeRanges): convenience method.
2061 (AccessibleText_getRangeExtents):
2062 cspi binding for Accessibility_Text_getRangeExtents.
2063 (AccessibleText_getBoundedRanges):
2064 cspi binding for Accessibility_Text_getBoundedRanges.
2065 (AccessibleTextRange_freeRanges): convenience method.
2066 (get_accessible_text_clip_type): internal conversion method.
2067 (get_accessible_text_ranges_from_range_seq): internal conversion method.
2069 * registryd/deviceeventcontroller.c:
2070 (spi_dec_mouse_check):
2071 Improved behavior for mouse:abs events
2072 [same granularity as mouse:rel events, and no
2073 events when mouse is idle].
2075 2002-12-16 Michael Meeks <michael@ximian.com>
2077 * cspi/spi_accessible.c (spi_state_to_corba): rename.
2079 * libspi/stateset.c (state_spi_to_atk): split out
2080 ( fix several remote array bounds nasties )
2081 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
2082 (impl_remove): make safe from array bounds issues.
2083 (spi_atk_state_from_spi_state): impl.
2085 * libspi/stateset.h (spi_state_set_cache_is_empty):
2086 add a set of wrapper defines to get layering right.
2088 * cspi/spi_accessible.c: update state set stuff to
2091 2002-12-14 Michael Meeks <michael@ximian.com>
2093 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
2094 to avoid 2 roundtrips to the registry per key event
2095 (spi_atk_bridge_key_listener): upd.
2096 (deregister_application): release the dec.
2098 * registryd/registry.c (notify_listeners_cb):
2099 bin lots of re-enterant complexity - we no longer
2100 do a round-trip bonobo ref here, ensure that a single
2101 listener's exception failure won't poison all other
2103 (impl_registry_notify_event): bin obvious memory leak.
2105 2002-12-13 Michael Meeks <michael@ximian.com>
2107 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
2108 init the ev so the error is meaningful.
2109 (spi_atk_bridge_key_listener): ditto.
2111 * cspi/spi_main.c (cspi_ev): init the ev so we start
2112 with a clean slate, otherwise the first exception
2113 kills us completely.
2115 * cspi/spi_text.c (get_accessible_text_boundary_type):
2116 add a fallthrough for no warnings.
2118 * cspi/spi_registry.c: prune unused warnings.
2120 * cspi/spi_main.c (cspi_object_take): fix
2121 mind-blowing brokenness ( by watching the compile
2124 * cspi/spi_accessible.c (Accessible_getStateSet):
2125 re-impl. to use an AtkStateSet.
2126 (spi_state_type_from_accessible_state),
2127 (init_state_table): bin these.
2129 * libspi/stateset.c (spi_atk_state_set_from_sequence):
2131 (atk_state_set_from_accessibility_state_set): here.
2133 * cspi/spi_accessible.c (spi_state_to_atk): impl.
2134 (AccessibleStateSet_contains, AccessibleStateSet_ref),
2135 (AccessibleStateSet_unref, AccessibleStateSet_contains),
2136 (AccessibleStateSet_add, AccessibleStateSet_remove),
2137 (AccessibleStateSet_equals, AccessibleStateSet_compare),
2138 (AccessibleStateSet_isEmpty): re-write to use a local
2141 2002-12-13 Bill Haneman <bill.haneman@sun.com>
2143 * configure.in: Revved to 1.1.7 (new keymask vals).
2145 2002-12-10 Bill Haneman <bill.haneman@sun.com>
2147 * libspi/keymasks.h:
2148 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
2150 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
2153 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
2154 to compare two CORBA_TypeCodes.
2155 (cspi_internal_event_add): Silence warning from FORTE compiler.
2157 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
2158 avoid implicit declaration of functions.
2160 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
2162 * atk-bridge/bridge.c:
2163 (spi_atk_bridge_init_event_type_consts): Store signal id for
2164 active-descendant-changed signal.
2165 (spi_atk_register_event_listeners): Add signal listener for
2166 active-descendant-changed signal,
2167 (spi_atk_bridge_signal_listener): Move code in function
2168 spi_atk-signal_emit_event() into this function.
2169 Add support for active-descendant-changed
2170 Update support for child-changed signal.
2171 (spi_bridge_window_event_listener): Silence warning.
2173 * libspi/spi_private.[ch]:
2174 (spi_init_any_object): Change second parameter from CORBA_Object to
2176 Omit call to CORBA_Object_duplicate().
2177 Set CORBA_any's _value to CORBA_Object*.
2179 2002-12-06 Bill Haneman <bill.haneman@sun.com>
2185 (AccessibleEvent_ref, AccessibleEvent_unref):
2186 New methods, for persisting an event outside the emission context.
2187 Must be used if the new accessor methods are to be called
2188 outside of the event listener's callback.
2190 * cspi/bonobo/cspi-bonobo.c:
2191 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
2192 as second parameter instead of NULL, so we can call
2193 cspi_check_ev afterwards.
2196 (cspi_object_take): New internal method,
2197 converts a CORBA_Object reference to a hard ref on
2198 an Accessible if possible, returning NULL if the object
2199 reference is invalid or an Accessible * otherwise.
2202 (AccessibleEvent_ref):
2203 Increment the event's internal private refcount, and
2204 add the event's internal struct to an internal cache
2205 if it's not already there.
2206 (AccessibleEvent_unref):
2207 Decrement the event's refcount and remove it from
2208 the cspi event cache if refcount==0.
2209 (cspi_event_compare): New private method.
2210 Compares two event structs via their ids. Used
2212 (cspi_internal_event_lookup): New private method.
2213 (cspi_internal_event_check): New private method,
2214 a 0-order sanity check for events to make sure their
2215 private data is intact.
2216 (cspi_internal_event_add, cspi_internal_event_remove):
2217 New private methods for managiing the event cache.
2219 * cspi/bonobo/cspi-bonobo-listener.c:
2221 Initialize the new private data elements (id, magic, ref_count).
2223 * atk-bridge/bridge.c:
2224 (spi_atk_bridge_signal_listener):
2225 Fixed bug #100530, passing wrong params to emission func.
2227 * registryd/deviceeventcontroller.c:
2228 (spi_dec_button_update_and_emit):
2229 Fixed type in mask bit operations; fix for #99799.
2231 2002-12-02 Bill Haneman <bill.haneman@sun.com>
2233 Removed some of the more dangerous workarounds from
2234 previous commit; they are only needed by GOK, which
2235 in reality should be using another method to accomplish
2236 the goals. So on reconsideration some of the workarounds
2237 need to be reverted:
2239 * registryd/deviceeventcontroller.c:
2240 (spi_keycodes_contain, spi_dec_init_keycode_list):
2241 Removed these methods, used only by a nasty hack to try
2242 and detect whether a key synthesis should be allowed
2243 to reset the XKB latch state or not. This code was only
2244 required to work around an interaction between GOK,
2245 button events, and XKB.
2246 (impl_generate_key_event):
2247 Removed hack at end of key generation that tried to
2248 "do the right thing" if XKB latch keys were generated
2249 in the midst of button press/release pairs.
2252 Added a check for HAVE_XINPUT. Not normally used yet.
2254 2002-11-25 Bill Haneman <bill.haneman@sun.com>
2256 Workarounds and fixes for mouse event/XKB interaction.
2258 * registryd/deviceeventcontroller.c:
2259 (spi_keycodes_contain, spi_dec_init_keycode_list):
2260 New internal methods.
2261 (spi_dec_set_unlatch_pending):
2262 Split the method that tells XKB to expect an
2263 unlatch (and revert it) out of the rest of the
2264 event handling code. This method is called by the
2265 two mouse event handlers (the poll and the filter).
2266 (spi_dec_update_and_emit, spi_dec_mouse_check):
2267 New methods split from spi_dec_poll_mouse_moved.
2268 The second one is now called from inside the filterFn
2269 when an XKB delatch event is received, to determine
2270 whether to revert the delatch or not.
2271 (spi_poll_mouse_moved): Refactor; also we can now
2272 properly handle the case where multiple button states
2273 have changed between polling cycles and we didn't get
2274 notified due to another client's grab.
2276 Synchronize the server while handling an XKB notification.
2277 Ugly, but apparently necessary to avoid nasty races.
2278 Check the mouse state on receipt of an XKB latch change,
2279 to decide whether to revert the latch or not. (Latches are
2280 reverted if there is an immediately preceding mouse button
2281 event that a client has consumed, in which case we don't want
2282 the user to see the side-effect of the event).
2283 (spi_device_event_controller_forward_mouse_event):
2284 Check for modifier events and fire before resetting mouse_mask_state,
2285 prevents losing modifier events.
2287 (impl_generate_keyboard_event):
2288 If we've just generated a keyboard event for a non-shift key,
2289 we don't want to revert the pending XKB latch.
2290 Otherwise, check the modifier state (via a call to
2291 spi_dev_mouse_check) and set the relatch mask to
2292 that state before returning.
2294 2002-11-24 Bill Haneman <bill.haneman@sun.com>
2297 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
2300 * atk-bridge/bridge.c:
2301 (spi_atk_register_event_listeners):
2302 Don't re-register for ATK events if the registry has died
2303 and the app needs to re-register; the ATK listeners are in
2304 process and doing so will cause duplicate emission.
2306 * registryd/deviceeventcontroller.c:
2307 (spi_poll_mouse_moved):
2308 Reformat the source, detect and emit multiple button-change
2309 events (i.e. if multiple buttons have changed between poll
2311 Add code to detect mouse-down events even when the pointer
2312 is grabbed; workaround for GOK bug 98420.
2313 (spi_controller_register_with_devices):
2314 Call XTestGrabControl with 'impervious' flag set to True,
2315 allows us to synthesize events and query the pointer even during
2316 an active grab by another client.
2317 (spi_device_event_controller_forward_mouse_event):
2318 Set the mouse_mask_state to the mouse_button_state from
2319 the intercepted event, to synchronize the grab listener with
2322 2002-11-20 Bill Haneman <bill.haneman@sun.com>
2324 * cspi/spi_accessible.c:
2325 (AccessibleRole_getName):
2326 Added necessary strings for making this (deprecated)
2327 method work with the new role types.
2328 (init_role_table, role_table):
2329 Added definition of SPI_ROLE_APPLICATION.
2331 * libspi/spi-roletypes.h:
2332 Added SPI_ROLE_APPLICATION.
2334 * idl/Accessibility_Role.idl:
2335 Added ROLE_APPLICATION.
2337 * docs/reference/cspi/at-spi-cspi-decl.txt:
2338 Added SPI_ROLE_APPLICATION to docs.
2340 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
2342 * cspi/spi_accessible.c
2343 (cspi_init_role_table): Do not write beyond end of role_table.
2344 (Accessible_getRole): Use correct type for value returned by
2345 Accessibility_Accessible_getRole().
2347 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
2348 beyond end of role_table. (This fixes bug #98269)
2350 * libspi/application.c: Add include file spi-private.h for
2351 definition of spi_init_any_nil.
2353 2002-11-19 Bill Haneman <bill.haneman@sun.com>
2357 * libspi/spi-private.h:
2358 Added DGB() macro, and extern int _dbg declaration.
2360 * registryd/registry.c:
2361 (definitions) storage for _dbg.
2362 (spi_registry_init):
2363 Get environment variable "AT_SPI_DEBUG".
2364 (spi_registry_set_debug):
2365 New method, to initialize _dbg value.
2366 (spi_listener_struct_new, spi_registry_object_finalize):
2367 (notify_listeners_cb):
2368 Changed fprintfs to use DBG and g_warning().
2370 * registryd/deviceeventcontroller.c:
2371 (_deregister_keygrab, spi_controller_register_device_listener):
2372 Changed debug/warning messages to use DBG macro.
2374 * libspi/listener.c:
2375 (impl_notify_event):
2376 Changed warning messages to use DBG macro and g_warning().
2378 * atk-bridge/bridge.c:
2379 (atk_bridge_init, spi_atk_bridge_get_registry):
2380 (spi_atk_bridge_exit_func):
2381 (spi_atk_bridge_property_event_listener):
2382 Changed status, warning, and error messages to use
2383 g_warning, g_message, and DBG macros.
2386 Read the state of the AT_SPI_DEBUG environment variable
2387 and set a local '_dbg' accordingly.
2389 2002-11-19 Bill Haneman <bill.haneman@sun.com>
2391 FIXES for 98836, 98842, other bugs.
2394 Revved to 1.1.4, interface-age=4, binary-age=4.
2396 * registryd/deviceeventcontroller.c:
2398 Fixed crasher bug in last_mouse_pos initialization.
2400 * registryd/registry.c:
2401 (desktop_add_application, desktop_remove_application):
2402 Added (and then commented out) some support for
2403 object context marshalling. [TODO]
2405 * atk-bridge/bridge.c:
2406 (spi_atk_bridge_event_context_create):
2407 Commented out object context creation until it can
2408 be properly tested and debugged.
2410 * registryd/registry.c:
2411 (impl_registry_notify_event):
2412 Fixed crasher bug, we were calling
2413 spi_re_entrant_list_foreach () with an empty list.
2415 2002-11-18 Bill Haneman <bill.haneman@sun.com>
2417 * idl/Accessibility_Action.idl:
2418 * idl/Accessibility_Component.idl:
2419 * idl/Accessibility_Desktop.idl:
2420 * idl/Accessibility_Event.idl:
2421 * idl/Accessibility_Hyperlink.idl:
2422 * idl/Accessibility_Image.idl:
2423 * idl/Accessibility_Relation.idl:
2424 * idl/Accessibility_Selection.idl:
2425 * idl/Accessibility_State.idl:
2426 * idl/Accessibility_Value.idl:
2427 Updated unimplemented slot count to minimum of
2428 four for all interfaces, for ABI freeze.
2430 * idl/Accessibility_EditableText.idl:
2431 * idl/Accessibility_Text.idl:
2432 Updated unimplemented slot count to six
2435 * idl/Accessibility_Registry.idl:
2436 Updated unimplemented slot count to six
2437 (also for DeviceEventController),
2440 * idl/Accessibility_Table.idl:
2441 Updated unimplemented slot count to eight,
2444 * idl/Accessibility_Event.idl:
2445 Added CORBA_any "any_data" member to Event struct.
2447 * idl/Accessibility_Event.idl:
2448 Added CORBA_any "any_data" member to Event struct.
2450 * atk-bridge/bridge.c:
2452 atk_signal_text_changed, atk_signal_child_changed,
2453 signal ids queried from gtype system.
2454 (AtkBridgeEventContextType): New enum.
2455 (AtkBridgeEventContextData): New struct.
2456 (AtkBridgeEventContext): New struct.
2457 (atk_bridge_init_event_type_consts):
2458 New method, initializes type contants for comparison
2459 prior to emit_eventv.
2460 (atk_bridge_event_context_init): New method,
2461 initializes a CORBA_any from an AtkBridgeEventContext.
2462 (atk_bridge_focus_tracker): Call spi_init_any_nil to
2463 initialize the event.any_data struct.
2464 (spi_atk_bridge_event_context_create): New method,
2465 creates an AtkBridgeEventContext from signal/event info.
2466 (spi_atk_bridge_event_context_free): New method.
2467 (spi_atk_emit_eventv): Changed to take an
2468 AtkBridgeEventContext parameter. We now initialize
2469 the event.any_data member prior to notifying the
2470 Registry, via the AtkBridgeEventContext.
2471 (spi_atk_bridge_property_event_listener):
2472 (spi_atk_bridge_state_event_listener):
2473 Match emit_eventv signature.
2474 (spi_atk_bridge_object_event_listener):
2475 Match emit_eventv signature, and create an
2476 event context from the event details.
2477 Free the event context afterwards.
2478 (spi_atk_bridge_window_event_listener):
2479 Create an event context, pass it to the
2483 (AccessibleEvent_getContextString):
2484 (AccessibleEvent_getContextObject):
2485 New methods, allow query of AccessibleEvent objects
2486 for more context details (via the "any_data" member
2487 of the Event struct, above).
2490 Definitions for AccessibleEvent_getContextString
2491 and AccessibleEvent_getContextObject.
2493 * cspi/spi_listener.h:
2494 (InternalEvent): New struct.
2497 (AccessibleEvent_getContextString):
2498 (AccessibleEvent_getContextObject):
2499 Implementations of new methods, for obtaining
2500 additional context information from some event types.
2502 * cspi/spi_registry.c:
2503 (SPI_registerGlobalEventListener):
2504 Added mention of active-descendant-changed event in docs.
2506 * cspi/cspi-bonobo-listener.c:
2508 Marshal the any into the AccessibleEvent via
2511 * libspi/spi-private.h:
2512 #include <orbit/orbit.h>
2514 (spi_init_any_string):
2515 (spi_init_any_object):
2516 New convenience function declarations.
2520 (spi_init_any_string):
2521 (spi_init_any_object):
2522 New convenience function implementations.
2524 * registryd/deviceeventcontroller.c:
2525 (spi_poll_dec_mouse_moved):
2526 (spi_device_event_controller_forward_mous_event):
2527 Initialize any_data member of event.
2528 (spi_deregister_controller_device_listener):
2529 Fix incorrect param pass which was preventing deregistration.
2531 * registryd/registry.c:
2532 (desktop_add_application):
2533 (desktop_remove_application):
2534 Add object data to event's any_data before dispatch.
2536 Fix for error messages from GAIL.
2538 * test/event-listener-test.c:
2539 Test new ContextString and "any_data" API:
2540 (report_text_event): New method query and output context string.
2541 (main): register a new text listener with report_text_event
2544 2002-11-19 Darren Kenny <darren.kenny@sun.com>
2546 Fixes for bugs 98127 and 97914.
2547 * cspi/spi-roletypes.h:
2548 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
2550 * cspi/spi-statetypes.h:
2551 Added SPI_STATE_MANAGES_DESCENDANTS
2553 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
2554 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
2555 * cspi/spi_accessible.c:
2556 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
2557 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
2558 Accessibility_STATE_MANAGES_DESCENDANTS
2559 * libspi/accessible.c:
2560 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
2561 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
2562 As requested by Bill, I also cleaned up the alignment.
2563 * libspi/relation.c:
2564 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
2565 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
2566 * libspi/stateset.c:
2567 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
2568 Accessibility_STATE_MANAGES_DESCENDANTS
2569 * docs/reference/cspi/tmpl/spi_accessible.sgml:
2570 Document changes reflecting modifications to roles.
2571 * docs/reference/cspi/tmpl/spi_relation.sgml:
2572 Document changes reflecting modifications to relations.
2573 * docs/reference/cspi/tmpl/spi_stateset.sgml:
2574 Document changes reflecting modifications to states.
2576 2002-11-17 Bill Haneman <bill.haneman@sun.com>
2579 Revved to 1.1.3, interface-age=3, binary-age=3.
2580 Added REBUILD macro.
2583 Removed accessx-gui from the tests, since we have a nice
2584 keyboard accessibility capplet now :-)
2586 * test/keysynth-demo.c:
2587 (increment_scan): removed do-nothing default: case,
2590 * test/visual-bell.c:
2591 (main) : removed do-nothing default: case,
2594 * cspi/spi_action.c:
2595 (AccessibleAction_getKeyBinding_):
2596 Documented keybinding string format.
2600 (AccessibleText_getAttributes):
2601 Documented the text attribute string format.
2602 It's changed to use semicolon delimiters also,
2603 to prevent clashes with CSS attributes, but the old
2604 trick of looking for ", " strings will still work
2605 (as unreliably as ever). Fix for bug related to 97916.
2608 Include <cspi/bonobo/cspi-bonobo-listener.h>
2609 Fixes build warning.
2610 (SPI_freeAccessibleKeySet):
2611 (AccessibleKeystrokeListener_addCallback):
2612 (AccessibleKeystrokeListener_removeCallback):
2613 Modify to use AccessibleDeviceListener API internally,
2614 instead of AccessibleKeystrokeListener.
2616 * idl/Accessibility_Event.idl:
2617 Added two more empty slots to EventListener (for a total of four).
2619 * idl/Accessibility_Accessible.idl:
2620 Added four empty slots to Accessible interface.
2622 2002-11-15 Bill Haneman <bill.haneman@sun.com>
2624 * idl/Accessibility_Registry.idl:
2625 (KeyEventType, EventType):
2626 Marked KeyEventType as deprecated; it duplicates
2627 functionality of EventType, which has been extended to
2628 include Mouse-button events.
2629 (KeyEventTypeSeq): defined in terms of EventType.
2630 (registerDeviceEventListener, deregisterDeviceEventListener):
2631 New methods, for managing listeners to device events,
2632 which potentially may consume them.
2635 Added definition for AccessibleDeviceListener.
2637 * cspi/spi-listener.h:
2638 (enum AccessibleDeviceEventType):
2639 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
2640 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
2641 for backwards compat.
2642 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
2643 and typedef'd AccessibleKeystroke to it for back-compat.
2644 (AccessibleDeviceListenerCB):
2645 New function prototype typedef.
2648 (AccessibleDeviceEventMask): New typedef.
2649 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
2650 (AccessibleKeyMaskType):
2651 Set equivalent to AccessibleModifierMaskType for back-compat.
2652 (SPI_createAccessibleKeystrokeListener):
2653 (AccessibleKeystrokeListener_unref):
2654 Deprecated in favor of equivalent (better-named) new API below..
2655 keystroke listeners are like all device listeners.
2656 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
2657 New API names for old features :-).
2658 (AccessibleDeviceListener_addCallback):
2659 (AccessibleDeviceListener_removeCallback):
2660 (SPI_registerDeviceEventListener):
2661 (SPI_deregisterDeviceEventListener):
2665 (SPI_createAccessibleKeystrokeListener):
2666 Use new preferred API, cspi_device_listener_new() and
2667 cspi_device_listener_add_cb().
2668 (AccessibleKeystrokeListener_removeCallback):
2669 Use new preferred API, cspi_device_listener_remove_cb().
2670 (AccessibleKeystrokeListener_unref):
2671 Use new preferred API, cspi_device_listener_unref().
2672 (SPI_createAccessibleDeviceListener):
2673 (AccessibleDeviceListener_addCallback):
2674 (AccessibleDeviceListener_removeCallback):
2675 Implementation of new API.
2677 * cspi/spi_registry.c:
2678 (SPI_registerDeviceEventListener):
2679 (SPI_deregisterDeviceEventListener):
2680 Implementation of new API. Fixed memory leak and removed need to
2681 allocate EventTypeSeq (thanks Michael for catching this).
2682 Squashed a wayward CORBA_exception_free that shouldn't get called.
2684 * cspi/bonobo/cspi-bonobo-listener.c:
2686 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
2687 (cspi_key_event): renamed to cspi_device_event().
2688 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
2689 Extended to handle mouse button events as well as key events.
2690 (CSpiKeystrokeListener):
2691 Class superceded by CSpiDeviceListener.
2692 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
2693 These internal APIs changed to "*device_listener" from "*keystroke_listener".
2695 * cspi/bonobo/cspi-bonobo-listener.h:
2696 (CSpiKeystrokeListener):
2697 Class superceded by CSpiDeviceListener.
2698 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
2699 These internal APIs changed to "*device_listener" from "*keystroke_listener".
2701 * libspi/Makefile.am:
2702 Replaced keystrokelistener.h and keystrokelistener.c
2703 with devicelistener.h and devicelistener.c; keystrokelisener.h
2704 stub retained for back-compat.
2706 * libspi/keystrokelistener.c:
2710 Replaced inclusion of keystrokelistener.h with devicelistener.h.
2712 * registryd/deviceeventcontroller.c:
2713 (DEControllerListener): Added Accessibility_EventTypeSeq member.
2714 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
2715 (DEControllerPrivateData): Added xkb settings data.
2716 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
2717 button release events (which can't be captured via XGrabButton).
2718 Don't dispatch via the 'normal' event mechanism if the device event was
2720 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
2721 Handle the typeseq data in its new location (see above).
2722 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
2723 New methods, for "generic" device listeners.
2724 (spi_controller_register_device_listener):
2725 Now handle mouse event listeners as well as key listeners.
2726 (spi_controller_notify_mouselisteners):
2727 New internal method.
2728 (spi_device_event_controller_forward_mouse_event):
2729 Now we notify mouse device listeners as well as generating the
2730 non-consumable "mouse:" events.
2732 We must check and restore the XKB
2733 modifier map if we consume the event, since the act of triggering
2734 a mouse event will normally reset the XKB latch. This is required for
2736 (spi_controller_register_with_devices):
2737 Load the XKB settings when registering, and register for XKB
2738 state notify events.
2739 (spi_key_eventtype_seq_contains_event):
2740 Renamed spi_eventtype_seq_contains_event, since it's used
2741 internally for all device event types now.
2742 (spi_key_event_matches_listener):
2743 Uses spi_eventtype_seq_contains_event now.
2744 (spi_device_event_controller_object_finalize):
2745 Free the private data and the XkbKeyboard struct.
2746 (impl_register_device_listener, impl_deregister_device_listener):
2747 Implementation of new IDL.
2748 (spi_deregister_controller_device_listener):
2749 New internal method.
2750 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
2751 More efficient implementation, we don't have to create a new
2752 XkbControls structure every time we query.
2753 (spi_device_event_controller_class_init):
2754 Initialize the epv entries for the new IDL. Assign the
2755 "spi-dec-private" quark.
2756 (spi_device_event_controller_init):
2757 Initialize the private data.
2758 (spi_device_event_controller_forward_key_event):
2759 Removed a bogus CORBA_exception_free() call.
2761 * registryd/deviceeventcontroller.h:
2762 Replaced inclusion of keystrokelistener.h with
2765 * test/event-listener-test.c:
2766 (report_mouse_event):
2769 Added mouse-event device listener.
2771 * test/test-simple.c:
2772 (create_test_window):
2773 Fixed regression (we were instantiating a GtkRange,
2774 which is now an abstract class). Also fixed to match
2775 existing AtkRole names, this seems to have changed in ATK
2776 awhile ago; too late now I think, and the new
2777 mechanism is at least elegant and consistent with the
2778 glib enum "nick" APIs.
2780 2002-11-15 Darren Kenny <darren.kenny@sun.com>
2782 * idl/Accessibility_Relation.idl:
2783 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
2784 RELATION_EMBEDS,RELATION_EMBEDDED_BY
2785 * idl/Accessibility_Role.idl:
2786 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
2787 * idl/Accessibility_State.idl:
2788 add STATE_MANAGES_DESCENDANTS
2789 * test/event-listener-test.c:
2790 Added a listener for active-descendant events.
2792 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
2794 * atk-bridge/bridge.c
2795 (atk_bridge_init): If application is Bonobo component wait until top
2796 level is added before registering
2797 (spi_atk_bridge_do_registration): New function which contains code,
2798 formerly in atk_bridge_init, to do application registration.
2799 (spi_atk_bridge_toplevel_added): Signal called when top level
2800 added to Bonobo component
2802 This fixes bug #83134.
2804 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
2806 * registryd/deviceeventcontroller.c
2807 Fixed compilation error caused by calling gettimeofday()
2810 2002-10-18 Bill Haneman <bill.haneman@sun.com>
2815 Added template for HAVE_XKB.
2818 Changes to check for XKB, and to set the HAVE_XKB #define if it
2821 * libspi/listener.c:
2822 ()impl_notify_event): Make failure to get event source name
2825 * registryd/deviceeventcontroller.c:
2826 (#include): include X11/XKBlib.h.
2827 (DEControllerPrivateData) : New struct.
2828 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
2830 (dec_synth_keycode_press) (dec_synth_keycode_release):
2831 New methods; split the key synthesis code into these methods.
2832 They check XKB settings before determining the "time" values to
2833 pass to Xtest; this fixes bug #95828.
2834 (impl_generate_keyboard_event): Changed to use methods above,
2835 instead of callng Xtest directly.
2836 (spi_device_event_controller_init): Initialize new privae struct s
2838 (spi_device_event_controllr_object_finalize):
2839 Free the (new) private data.
2841 * registryd/deviceeventcontroller.h:
2842 Add new gpointer to end of struct data.
2844 2002-10-16 Bill Haneman <bill.haneman@sun.com>
2847 Incremented revision to 1.1.2, SONAME is still '.so', library
2848 extensions are ".so.0.0.2".
2850 * registryd/deviceeventcontroller.c:
2851 FIXES FOR #93592 and #95940.
2852 (statics): renamed mouse_button_state to mouse_mask_state,
2853 added key_modifier_mask.
2854 (spi_dec_poll_mouse_moved):
2855 Added key modifier checks, and emit "keyboard:modifiers"
2856 events when the key modifiers currently in use change.
2857 Also generate "mouse:abs" events periodically, even if the mouse
2858 is stationary (should we?).
2859 Alternatively we could generate "mouse:abs" events for either all
2860 mouse movements, or every 'nth' mouse movement, or at the
2861 beginning and end of every "active" mouse period.
2863 * test/event-listener-test.c:
2864 (main): Added listener for "keyboard:modifiers" events.
2866 2002-10-15 Bill Haneman <bill.haneman@sun.com>
2868 * libspi/keymasks.h:
2869 Added key mask #defines for mouse buttons; e.g.
2870 SPI_KEYMASK_BUTTON1, etc.
2873 Incremented dependency on ATK to version 1.1.0. (This dependency
2874 is probably premature but will soon be real enough).
2876 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
2878 * libspi/hyperlink.[ch]
2879 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
2880 (get_hyperlink_from_servant): Check object is AtkHyperlink not
2883 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
2888 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
2890 * registryd/deviceeventcontroller.c
2891 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
2892 events to be ignored.
2893 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
2894 keyboard_mode so that XAllowEvents() can be called.
2898 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
2900 * cspi/spi-accessible.c: Correct names of roles returned by
2901 AccessibleRole_getName(). Fixes bug #95055.
2903 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
2905 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
2908 * registryd/registry.c
2909 (desktop_remove_application: Write diagnostic message to stderr for
2912 (impl_accessibility_registry_deregister_global_event_listener):
2913 Correct size of lists array. This addresses bug #94555).
2915 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
2917 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
2920 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
2922 * registryd/Makefile: Add CLEANFILES so that .server file is removed
2925 * registryd/registry.c (impl_registry_notify_event): Remove
2926 unnecessary call to parser_event_type().
2928 * docs/reference/cspi/tmpl/spi_component.sgml:
2929 Add reference to SPI_LAYER_WINDOW.
2931 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
2933 * registryd/registry.c
2934 (desktop_add_application): Remove leak.
2935 (desktop_remove_application): Remove leak.
2936 (parser_event_type): Remove leak.
2938 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
2940 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
2941 bogus call to CORBA_string_dup(). Also removed unnecessary
2942 g_string_dup/g_free calls.
2944 2002-09-13 Bill Haneman <bill.haneman@sun.com>
2946 * registryd/deviceeventcontroller.c:
2947 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
2949 * test/event-listener-test.c:
2950 main: commented out three redundant listeners, to reduce output
2951 noise. (They still are potentially useful for testing).
2954 2002-09-13 Michael Meeks <michael@ximian.com>
2956 * Update all the copyrights to include Ximian.
2958 2002-09-06 Mark McLoughlin <mark@skynet.ie>
2960 * cspi/spi.h: add SPI_LAYER_WINDOW.
2962 * cspi/spi_component.c: (AccessibleComponent_getLayer):
2963 add Accessibility_LAYER_WINDOW case.
2965 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
2967 * libspi/component.c: (impl_accessibility_component_get_layer):
2968 add ATK_LAYER_WINDOW case.
2970 2002-08-28 Bill Haneman <bill.haneman@sun.com>
2972 * configure.in: incremented micro version.
2974 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
2976 2002-08-20 Bill Haneman <bill.haneman@sun.com>
2979 Clarified and reworded our commit policy.
2982 Started an API "todo" addition list for 2.2.
2985 (impl_getSelection):
2986 Free char pointer from atk_text_get_selection, which was being leaked.
2988 2002-08-19 Bill Haneman <bill.haneman@sun.com>
2991 Small revision to author acknowledgement.
2993 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
2995 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
2996 If signal has detail add it to the type of the event.
2999 2002-08-12 Michael Meeks <michael@ximian.com>
3001 * test/test-simple.c (global_listener_cb): bin bogosity.
3002 (test_keylisteners): disable, still doesn't work reliably,
3003 certainly not on my system anyway.
3005 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
3006 don't leak a reference on the DEC. This round-trip
3007 fetching of the DEC per keystroke sucks, it should be
3010 * cspi/spi-private.h,
3011 * cspi/cspi-lowlevel.h,
3012 * cspi/bonobo/cspi-bonobo-listener.[ch],
3013 * cspi/bonobo/cspi-bonobo.c: get the copyright
3014 notices better - there is still a large amount of
3015 work in at-spi falsely attributed solely to Sun.
3017 * cspi/spi_main.c (cspi_object_ref): kill bogus
3018 hash lookup, just increment the ref.
3019 (SPI_freeString): make explicit the fact that we
3020 handle NULL strings just fine.
3021 (report_leaked_ref): obey coding standards.
3022 (cspi_object_hash, cspi_object_equal): kill retval.
3023 (cspi_object_release): only release if not on loan.
3024 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
3025 (cspi_object_borrow, cspi_object_return): impl.
3027 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
3028 use cspi_object_borrow / return.
3030 2002-08-12 Darren Kenny <darren.kenny@sun.com>
3032 * cspi/bonobo/cspi-bonobo-listener.c:
3034 Don't call cspi_oject_new() because this is creating a new Accessible
3035 every single time that an event is fired. This causes ATs like at-poke
3036 to nolonger recognise the source of the event and thus ignore it.
3037 Re-use the object from the cache, ref it and then unref it after the
3038 listeners have been called.
3040 2002-08-06 Darren Kenny <darren.kenny@sun.com>
3042 * test/event-listener-test.c:
3043 Added command-line options to disable mouse events (m) and
3046 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
3048 * configure.in: Update required versions of ATK, GTK+ and GAIL
3050 * cspi-1.0.pc.in: Add dependency for X include files
3053 * cspi/bonobo/Makefile.am:
3054 Add $(X_CFLAGS) so that X include files
3055 are picked up even if not in standard place (bug #71686)
3057 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3059 * registryd/deviceeventcontroller.c: fix for 84261
3060 (spi_dec_mouse_moved):
3061 Added test of mouse button mask, so that we can detect mouse
3062 button release. Unfortunately we can't otherwise detect mouse
3063 button release events without consuming the mouse press event,
3064 because of the way XGrabButton works. This means that our mouse
3065 release events have a latency dependent on the polling period
3066 while the mouse button is down. At least in this case we only
3067 have to poll while the button is down, and not at other times.
3068 If the button masks don't match with what the last press event
3069 reported, we report the appropriate button release event.
3070 (spi_dec_ungrab_mouse):
3071 New method (not yet called).
3072 (spi_device_event_controller_forward_mouse_event):
3073 New method, sends mouse press event from GdkFilter.
3074 (spi_dec_init_mouse_listener):
3075 Added code to call XGrabButton, redirecting mouse button events to
3076 the root window and our Gdk event loop.
3078 Added code to filter mouse button events, and reordered.
3080 * test/event-listener-test.c:
3082 Added registration for mouse events of type "mouse:button".
3084 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3086 * registryd/deviceeventcontroller.c: partial fix for 84261
3087 (spi_dec_poll_mouse_idle):
3088 New method, a timeout which checks to see if the mouse
3090 (spi_dec_poll_mouse_moving):
3091 A timeout to be called when mouse motion is underway.
3092 (spi_dec_poll_mouse_moved):
3093 A method which fires an event if the mouse has moved, and reports
3094 whether or not it did so.
3095 (spi_dec_init_mouse_listener):
3096 A method which sets up the timeouts above.
3097 (spi_device_event_controller_new):
3098 Now calls spi_dec_init_mouse_listener.
3100 * registryd/registry.c:
3101 (spi_registry_init):
3102 Now we initialize the device event controller when the registry is
3103 initialized, instead of waiting until a client has requested a key
3104 event notification; this is because we need the event controller
3105 for mouse events, but the mouse event registration API is a
3106 "registry" call and doesn't explicitly call the
3107 deviceeventcontroller.
3108 We now report mouse motion events with a 100 ms idle latency and
3109 a 20 ms granularity when motion is in progress.
3111 * test/event-listener-test.c:
3113 We now register the "detail listener" for events of type
3114 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
3115 delivered only for the first mouse event received, and thereafter
3116 "mouse:abs" events are delivered.)
3118 * cspi/spi_registry.c:
3119 DOCS: Documented the above mouse event typestrings.
3121 2002-06-21 Bill Haneman <bill.haneman@sun.com>
3123 Happy Summer Solstice...
3125 * registryd/deviceeventcontroller.c: [fix for bug 84100]
3126 (spi_controller_notify_keylisteners):
3127 Changes to remove a listener from the listener list, freeing its
3128 open keygrabs, if a notification to that listener fails. This
3129 means that although a dead listener can continue to hold a passive
3130 keygrab, a maximum of one dispatch to such a listener can fail
3131 before the listener is removed from the list, thus the keygrab
3132 will be released on the next occurrence.
3133 As part of this fix:
3134 (spi_notify_keylisteners):
3135 Renamed to spi_controller_notify_keylisteners, as the controller
3136 instance must now be passed as an argument.
3137 The copied 'notify' GList is now a list of DEControllerKeyListener
3138 objects, since we need more than just the CORBA reference if a
3139 notify fails and we need to deregister the listener.
3140 (impl_notify_listeners_sync):
3141 (impl_notify_listeners_async):
3142 (spi_device_event_controller_forward_key_event):
3143 Modify use of notify_keylisteners in accordance with above
3145 (spi_deregister_controller_key_listener):
3146 New method introduced by refactoring, from
3147 impl_deregister_keystroke_listener.
3148 (impl_deregister_keystroke_listener):
3149 Call spi_deregister_controller_key_listener.
3150 (spi_key_listener_clone):
3151 New method to copy a key listner without doing a 'ref' on the
3152 remote object instance; used to create a notifier list.
3153 (spi_key_listener_data_free):
3154 New method, frees data without unreffing the source.
3156 (spi_key_listener_clone_free): new method.
3157 (spi_key_listener_free):
3158 refactored to call spi_key_listener_data_free.
3160 2002-06-20 Bill Haneman <bill.haneman@sun.com>
3162 * registryd/registry.c: [fix for bug 86048]
3163 (notify_listeners_cb):
3164 Clear CORBA system exceptions which occur when notifying
3165 listeners, before returning to the source of the original event,
3166 since the event source doesn't care if the relayed notify failed.
3167 In other words, don't complain to the atk-bridge if the registry
3168 could not notify all its listeners, that's no fault of the
3169 application and thus should not appear to be an error from the
3170 application's perspective.
3172 * cspi/spi_main.c: [fix for bug 85980]
3174 Replaced use of bonobo_object_dup_ref with call to the wrapper
3175 method, csou_dup_ref (); this silences a compiler warning and
3176 provided more portability.
3178 Ping the registry before return, and restart if necessary.
3180 * cspi/bonobo/cspi-bonobo.c:
3182 New internal method.
3184 Fixed this method to return an object reference, as it should have
3187 * cspi/cspi-lowlevel.h:
3188 Added internal definition for cspi_ping() and fixed
3189 return type of cspi_dup_ref().
3192 2002-06-19 Bill Haneman <bill.haneman@sun.com>
3194 * atk-bridge/bridge.c: [fix for bug 85305]
3195 (spi_atk_bridge_register_application):
3196 New method where the initial application registry calls have been
3197 moved; it allows an application to re-register in response to
3198 certain error conditions (such as a registry restart, see below).
3200 Moved some initialization code to the method
3201 spi_atk_bridge_get_registry, below.
3202 (spi_atk_bridge_get_registry):
3203 New, private accessor function for the Accessibility_Registry
3204 instance. If the registry has not been started before, or has
3205 died (as detected by failure of a CORBA exception), it is
3206 restarted before return, and spi_atk_bridge_register_application
3207 is called again to register with the new bridge instance.
3208 (spi_atk_emit_eventv):
3209 Set registry_died on error; use spi_atk_bridge_get_registry () to
3210 access the registry.
3212 * registryd/registry.c:
3213 (impl_accessibility_registry_register_global_event_listener):
3214 Set listener's event_type_quark to etype.minor instead of
3215 etype.major (fix for bug 84856).
3217 * test/event-listener-test.c:
3218 (report_detail_event):
3219 Change the output string so that user/tester can tell that the
3220 'detail listener' was called instead of the 'generic listener'.
3222 2002-06-18 Bill Haneman <bill.haneman@sun.com>
3224 Fixes for bugs 84900, 84908, 84897, 84898.
3229 Revved version to 1.1.0
3230 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
3231 version is going to HEAD which will be used for gnome-2-0-1 and later.)
3233 * idl/Accessibility_Registry.idl:
3234 (EventListener::notifyEvent):
3235 Removed 'oneway' directive after extensive consulation with
3236 ORBit2 team and others. This means also that unref() of the event
3237 source can and should be done synchronously after emission, rather
3238 than remotely in the client, after servicing the notify call on
3241 NOTE: This change speeds up listener performance considerably, but
3242 introduces new latency on the application side. We may want to
3243 add an event queue to the atk-bridge.
3245 * atk-bridge/bridge.c:
3246 (spi_atk_bridge_focus_tracker):
3247 Do a local unref() on the event source after emission.
3249 * registryd/registry.c:
3250 (desktop_remove_application):
3251 Do an unref() on the event source after emission.
3252 (desktop_add_application):
3253 Do an unref() on the event source after emission.
3254 (notify_listeners_cb):
3255 When relaying an event, don't automatically add the event source
3256 to the local object cache, just CORBA_dup it instead. Likewise,
3257 if this method reenters, release the ref rather than calling
3259 (impl_registry_notify_event):
3260 No longer call remote unref() on the event source after dispatch.
3262 * libspi/eventlistener.c:
3263 (impl_accessible_event_notify_event):
3264 Removed remote unref ()
3266 * cspi/bonobo/cspi-bonobo-listener.c:
3268 We now call cspi_object_new() instead of cspi_object_add() on
3269 receipt of an event; thus we only have an implicit object ref
3270 while the cspi_event method is being executed. If we need to keep
3271 a reference to the object, the listener must call ref() on the
3272 object. Thus also we don't need to call cspi_object_unref() after
3273 invoking the listener callbacks in this method.
3277 New internal API for creating a new cspi object, without adding it
3278 to the object cache.
3280 Now uses cspi_object_new() to create the cspi object instance.
3282 Now checks to see if the object is in the internal object cache,
3283 and adds it if necessary before incrementing its refcount (note
3284 that new objects are added with a refcount of 1).
3285 (report_leaked_ref):
3286 New method which gives some information on leaked object instances
3287 if leak detection is turned on.
3289 * test/event-listener-test.c:
3290 (timing_test_event):
3291 New method, used for testing event delivery timing for special
3292 events of type "object:test". It reports elapsed time and
3293 events/sec every 500 events.
3295 Added a new listener, 'test listener', to check timing of event
3296 receipt as noted above.
3298 Added some timing output here also, reports elapsed time every 100
3301 * test/stress-test.c:
3302 Emit events of type "object:test", for use with "event-listener-test".
3304 * test/test-simple.c:
3305 (global_listener_cb):
3306 Call Accessible_ref() on the event source before calling
3307 validate_accessible, since the validation process does pointer
3308 comparisons on the event source, meaning that the event source
3309 needs to be added to the local object cache first. Any use of
3310 such pointer comparisons between Accessible objects requires that
3311 the caller hold an explicit reference to those objects.
3312 We also must therefore call Accessible_unref() when leaving this method.
3314 2002-06-13 Bill Haneman <bill.haneman@sun.com>
3316 * registryd/deviceeventcontroller.c:
3317 (spi_controller_update_key_grabs):
3318 Fix for #84735, subsequent keygrab listeners not informed of
3319 registration failure.
3322 (spi_base_construct):
3323 Add an assertion on construct, to make sure the GObject passed in
3324 is really a GObject.
3326 Explicitly initialize object->gobj pointer to NULL;
3328 * cspi/bonobo/cspi-bonobo-listener.c:
3329 (cspi_object_add_ref):
3330 New method, can specify whether to dup-ref a bonobo object passed
3331 in if it's newly added to the object cache.
3333 Now calls cspi_object_add_ref with second param of "FALSE". This
3334 prevents us from doing a pointless dup-ref followed by
3335 release-unref for all those cases where the object is already in
3336 our object cache (fix for #85205).
3338 * atk-bridge/bridge.c:
3339 (spi_atk_bridge_idle_init):
3340 Removed this method, we don't need to initialize in an idle
3343 Changed to call spi_atk_register_event_listeners directly, not via an
3344 idle handler. (fix for #81139)
3345 (gnome_accessibility_module_shutdown):
3346 Removed conditional around deregistration of listeners, since we
3347 don't use the idle handler and thus have always registered when
3349 (spi_init_keystroke_from_atk_key_event):
3350 Changed references to Accessibility_KEY_PRESSED to
3351 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
3353 2002-06-12 Bill Haneman <bill.haneman@sun.com>
3355 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
3360 * test/stress-test.c:
3363 (may have been an incomplete commit yesterday?)
3365 2002-06-12 Bill Haneman <bill.haneman@sun.com>
3368 Added target for new stress-test.
3370 * test/stress-test.c:
3371 New test, sends 1000 focus notifies in quick succession.
3373 * test/key-listener-test.c:
3374 Now we report whether a keylistener registration
3375 request succeeded or failed.
3377 * test/event-listener-test.c:
3378 Uncommented some listeners which are now implemented.
3381 2002-06-06 Bill Haneman <bill.haneman@sun.com>
3383 * registryd/deviceeventcontroller.c:
3384 (spi_controller_update_key_grabs):
3385 Fix for #82509, lack of failure notification when
3386 ALL_WINDOWS keygrabs fail due to XGrabKey
3387 failure: we synchronize the server when
3388 registering a passive grab, to make sure we get the
3389 error message before the call returns.
3391 2002-06-03 Bill Haneman <bill.haneman@sun.com>
3393 * test/test-simple.c:
3395 Removed #ifdef KEY_IMPL_WORKS guards.
3396 (test_keylisteners):
3397 Removed #ifdef KEY_IMPL_WORKS guards.
3398 Fixed bug which was causing a hang waiting for a
3399 "press" event (which was already overwritten by a "release"
3400 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
3402 Added code to set globals 'key_press_received' and
3403 'key_release_received'.
3406 Added section "1.1 API Proposed Additions" which
3407 lists API additions desired for at-spi-1.1 (only one so far).
3408 Updated TODO list a little.
3410 2002-06-02 Bill Haneman <bill.haneman@sun.com>
3412 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
3415 * configure.in: Revved to 1.0.0.
3417 * idl/Accessibility_Registry.idl:
3418 (registerKeystrokeListener):
3419 Added boolean return value.
3421 * registryd/registry.c:
3422 (notify_listeners_cb): Minor fix to debug output.
3424 * registryd/Accessibility_Registry.server.in.in:
3425 Revved version number in OAFIID to 1.0.
3427 * registryd/registryd.c:
3429 Use new OAFIID version.
3431 * cspi/bonobo/cspi-bonobo.c:
3433 Use new OAFIID version.
3439 * atk-bridge/bridge.c:
3441 Use new OAFIID version.
3443 * registryd/deviceeventcontroller.c:
3444 (impl_register_keystroke_listener):
3445 Added CORBA_boolean return value.
3446 (spi_controller_register_device_listener):
3447 Added gboolean return value.
3448 (spi_controller_register_global_keygrabs):
3449 Added gboolean return value.
3450 (spi_key_set_contains_key):
3451 Added implementation for many more control keys,
3452 for instance F1-F12, arrow keys, End, Home, Page_Up,
3454 [TODO: some still not implemented].
3456 * text/screen-review-test.c:
3457 (text_chunk_pad_string):
3458 New function: it provides mapping between coordinate
3459 positions of text chunks and character positions in the
3460 screen-review-line output string.
3461 (text_chunk_to_string):
3462 New function, calls text_chunk_pad_string with various
3463 pad/delimiter characters. Pushbuttons are delimited with
3464 square brackets, Frames with vertical 'pipe' lines, and
3465 other text with double quotes.
3466 (text_chunk_list_to_string):
3467 Calls new function text_chunk_to_string.
3468 (toplevel_composite):
3469 New function to composite layers CANVAS through
3470 POPUP in each toplevel (other layers are composited
3471 across toplevels, i.e. BACKGROUND and OVERLAY).
3472 (review_buffer_composite):
3473 Revise to use new methods.
3479 2002-05-31 Laszlo Peter <laca@sun.com>
3481 * configure.in: add the Xtst libdir to the runpath on Solaris,
3482 since it's not in the default library search path.
3484 2002-05-29 jacob berkman <jacob@ximian.com>
3486 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
3488 2002-05-29 Bill Haneman <bill.haneman@sun.com>
3490 * test/screen-review-test.c:
3491 (text_chunk_pad_string):
3492 Added method, which pads the string according to the
3493 text bounds of the chunk. It also takes a 3-character
3494 string as a param which indicates the characters to be
3495 used for start, padding, and end delimitation of the chunk.
3496 (text_chunk_to_string):
3497 Changed to use text_chunk_pad_string.
3499 * configure.in: Fixed bug in AC_OUTPUT that was
3500 causing path substitution in Accessibility_Registry.server
3503 2002-05-23 Bill Haneman <bill.haneman@sun.com>
3505 * text/screen-review-test.c:
3506 (guess_string_clip):
3507 New method which attempts a best-guess at clipping
3508 text from components (like Java labels) which don't
3509 actually implement AccessibleText. This inaccurate
3510 clip is based on the assumption that the label is
3511 justified left-and-right, and monospaced.
3512 (text_chunk_get_clipped_string):
3513 We now call guess_string_clip() for text-containing
3514 components that don't implement AccessibleText.
3516 * test/screen-review-test.c:
3517 (review_buffer_get_text_chunk):
3518 We now pull "name" from labels if they do not implement
3519 AccessibleText (i.e. for Java labels).
3520 (get_screen_review_line_at):
3521 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
3524 Replaceded AC_OUTPUT target
3525 registryd/Accessibility_Registry.server with
3526 registryd/Accessibility_Registry.server.in.
3528 * registryd/Accessibility_Registry.server.in:
3529 Removed (this is now a Makefile target).
3531 * registryd/Accessibility_Registry.server.in.in:
3532 Added (source for target above). We now use $(libexecdir) as
3533 prefix for the executable at-spi-registryd.
3535 * registry/Makefile.am:
3536 Now install at-spi-registryd into $(libexecdir), and build .server
3537 file with path (see above).
3539 2002-05-22 Bill Haneman <bill.haneman@sun.com>
3541 * test/screen-review-test.c:
3542 (text_chunk_get_clipped_string):
3543 We now check to see if words fall within clip bounds
3544 before resorting to character-by-character clip bounds testing.
3546 * TODO: Added a section for "2.2 Proposed API Additions".
3548 2002-05-21 Bill Haneman <bill.haneman@sun.com>
3550 * test/screen-review-test.c:
3552 Added a screen review benchmarking and test program to test
3555 * cspi/spi_accessible.c:
3557 Made some of the debug strings passed to cspi_check_ev a
3558 little more specific.
3560 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
3562 * test/screen-review-test.c: Fix crashes in debug statements
3564 2002-05-20 Bill Haneman <bill.haneman@sun.com>
3566 * test/screen-review-test.c: Added this file.
3568 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
3570 * atk-bridge/bridge.c: changed "object:state-change" to
3571 "object:state-changed" to match docs.
3573 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
3575 * atk-bridge/bridge.c: Hooked up state-change event details.
3577 2002-05-11 Bill Haneman <bill.haneman@sun.com>
3579 * registryd/registry.c:
3580 Fixed quarking bug in event string parsing; now events with
3581 detail parameters get matched correctly to listeners.
3584 * util/idl/Magnifier.idl: remove.
3586 * util/*.[ch]: Remove.
3587 Magnification utilities and IDL are now in module gnome-mag.
3589 2002-05-10 Bill Haneman <bill.haneman@sun.com>
3591 * registryd/deviceeventcontroller.c:
3592 Fixed bug in grab key conversion which was causing keycode grabs
3593 to be converted to AnyKey grabs.
3596 updated NEWS file to reflect recent spin-off of gnome-mag.
3598 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
3600 * cspi/spi_accessible.c: Added exception checks. Fixed completely
3601 busted AccessibleStateSet_compare. Removed redundant casts.
3603 * cspi/spi-action.c: Removed redundant casts.
3605 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
3607 * cspi/spi_component.c: Fixed typos and casting error.
3609 * cspi/spi_editabletext.c: Removed redundant casts.
3611 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
3613 * cspi/spi_hypertext.c: Eliminated redundant casts.
3615 * cspi/spi_image.c: Eliminated redundant casts.
3617 * cspi/spi_registry.c: Eliminated redundant casts.
3618 SPI_deregisterGlobalEventListenerAll () removed retval variable.
3619 * cspi/spi_selection.c: Removed redundant casts.
3620 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
3621 handling. Screen geometry and text offsets were being returned as 0
3622 on error which is technically valid-- changed these to return -1.
3623 Added marshaller for text boundary types to fix bug with boundary
3624 types being passed incorrectly to atk.
3626 2002-05-09 Bill Haneman <bill.haneman@sun.com>
3629 * cspi/spi_registry.c:
3630 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
3631 which was uncovered by the recent key changes.
3633 2002-05-09 Bill Haneman <bill.haneman@sun.com>
3635 * test/event-listener-test.c:
3637 Added new test, "event-listener-test";
3638 this code does two things; it benchmarks traversal time
3639 for the accessible hierarchy for the first running accessible
3640 app, and it connects listeners for all supported event types.
3641 It is thus useful as an example event listener and for
3642 diagnostics/debugging of event generation.
3644 2002-05-08 Bill Haneman <bill.haneman@sun.com>
3647 Removed unnecessary dependency on libutil.
3650 Revved micro version: 0.13.1
3652 2002-05-08 Bill Haneman <bill.haneman@sun.com>
3655 Removed util/Makefile from targets.
3658 Removed util subdir from SUBDIRS (temporarily,
3659 pending removal of magnifier-only code
3663 #ifdef-ed out magnifier dependencies, since
3664 magnifier IDL, headers, and binary now live in
3665 module gnome-mag and we don't want at-spi to depend
3666 on gnome-mag. A magnifier demo which can run alongside
3667 simple-at is forthcoming in the gnome-mag module.
3669 NOTE: Split magnifier binary, IDL, and magnification
3670 activation code from at-spi into module gnome-mag.
3672 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
3674 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
3675 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
3677 2002-05-03 Bill Haneman <bill.haneman@sun.com>
3680 Revved to version 0.13.0
3682 * idl/Accessibility_Registry.idl:
3683 Changed definition of KeySet from sequence of longs to sequence of
3684 KeyDefinitions, and added KeyDefinition struct.
3685 Required for fix to bug 80616.
3687 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
3688 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
3689 to use new definition (see above).
3691 * registryd/deviceeventcontroller.c: handle_keygrab(),
3692 spi_keyset_contains_key():
3693 Changed to make use of new struct; this allows matching based on
3694 string key-name, for instance "Tab". This also allows matching of
3695 composed characters, non-alphanumeric characters in a way that
3696 doesn't involve dependencies on X keysym codes directly, etc.
3698 * test/key-listener-test.c:
3699 Added test for Alt-Tab key using "string" specification of keyset,
3700 and modified one of the tests to use a keycode-based keyset.
3701 Thus this test both tests and demonstrates the creation and use of
3702 keysets of three forms: specified via keycode array,
3703 keysym array, and string array. (The string case only contains a
3704 single string, i.e. a string array of length 1).
3707 Turned on PRINT_TREE option by default. Also fixed a
3708 string-freeing bug in the PRINT_TREE code.
3709 Added a listener to window:minimize events.
3711 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
3713 * atk-bridge/bridge.c:
3714 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
3715 for window:activate and window:deactiveate
3716 (atk_bridge_property_event_listener atk_bridge_signal_listener
3717 atk_bridge_window_event_listener) Tidy debug code
3719 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
3721 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
3722 Fixed handling for NULL return value from ATK.
3724 * libspi/action.c libspi/component.c libspi/editabletext.
3725 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
3726 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
3727 Removed redundant casts.
3729 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
3730 Fixed off by one bug.
3732 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
3733 function not present in idl)
3735 2002-05-02 jacob berkman <jacob@ximian.com>
3737 * atk-bridge/Makefile.am: make atk-bridge a real module
3739 2002-04-26 Radek Doulik <rodo@ximian.com>
3741 * libspi/stateset.c (spi_init_state_type_tables): fix size of
3742 atk_state_types table
3744 2002-04-22 jacob berkman <jacob@ximian.com>
3747 * libspi/Makefile.am: add deps on the built files to help
3748 automake, and don't version the ORBit typelib
3750 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
3752 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
3753 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
3754 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
3755 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
3756 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
3757 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
3758 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
3759 libspi/accessible.h libspi/accessible.h libspi/base.h
3760 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
3761 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
3762 libspi/relation.h libspi/remoteobject.h libspi/selection.h
3763 libspi/spi-private.h libspi/statetset.h libspi/table.h
3764 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
3765 util/mag_client.h util/mag_control.c util/mag_image.c
3766 util/mag_image.h util/magnifier.c util/magnifier.h:
3767 Add missing file headers; standardize existing ones
3769 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
3771 * atk-bridge/bridge.c: Added window event support.
3773 2002-04-18 Michael Meeks <michael@ximian.com>
3775 * libspi/relation.c (impl_getNTargets): impl.
3776 (impl_getTarget): impl.
3778 * libspi/Makefile.am: fix stateset install.
3780 2002-04-17 Bill Haneman <bill.haneman@sun.com>
3783 Started putting useful info in this file.
3785 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
3787 * atk-bridge/bridge.c:
3788 Propagate state-changed notifications to ATs
3790 * cspi/spi_registry.c: update docs to reflect actual behavior of
3791 state-change events.
3793 2002-04-17 Bill Haneman <bill.haneman@sun.com>
3796 Incremented version to 0.12.1
3798 * util/mag_client.h:
3799 Add missing declaration for magnifier_exit,
3800 used by mag_control.c - Forte compiler didn't like
3801 the implicit redeclaration of the function :-(
3804 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3807 Revved version to 0.12 due to API change (see below).
3809 * cspi/spi-roletypes.h:
3810 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
3811 definition from the inline docs, and added docs
3812 for SPI_ROLE_LAST_DEFINED.
3815 * cspi/spi_streamablecontent.c:
3816 Added missing seek_type parameter to
3817 (so far unused) method,
3818 AccessibleStreamableContent_seek().
3819 [ RT approval JodyG. ]
3822 Fixed docs for SPI_createAccessibleKeystrokeListener.
3824 * cspi/spi_registry.c:
3825 Fixed docs for SPI_KEYSET_ALL_KEYS.
3827 * docs/reference/cspi/at-spi-cspi-sections.txt:
3828 Added a number of missing APIs to SECTIONS.
3830 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3832 * registryd/Makefile.am:
3834 * cspi/bonobo/Makefile.am:
3835 Add $(X_LIBS) to makefiles.
3837 2002-04-15 Bill Haneman <bill.haneman@sun.com>
3840 Revved version to 0.11.
3842 * libspi/component.c:
3843 Added implementation for grabFocus.
3845 * idl/Accessibility_Component.idl
3846 (Accessibility_Component_grabFocus):
3847 Made this method return boolean to indicate success or failure, to
3848 be consistent with cspi and the corresponding ATK method.
3850 * idl/Accessibility_Selection.idl
3851 (Accessibility_Selection_selectAll) :
3852 Made these methods return boolean to indicate success or
3853 failure, to be consistent with cspi and the corresponding ATK methods.
3855 * idl/Accessibility_EditableText.idl
3856 (Accessibility_EditableText_setTextContents,
3857 Accessibility_EditableText_insertText,
3858 Accessibility_EditableText_cutText,
3859 Accessibility_EditableText_deleteText,
3860 Accessibility_EditableText_pasteText):
3861 Made these methods return boolean to indicate
3864 * cspi/spi_editabletext.c:
3865 Made these methods return booleans.
3867 * libspi/selection.c:
3868 * libspi/component.c:
3869 * libspi/editabletext.c:
3870 Connected the boolean returns from ATK
3871 to the server-side code referenced above.
3873 2002-04-14 Bill Haneman <bill.haneman@sun.com>
3875 * idl/Accessibility_Table.idl: Added missing methods,
3876 Accessibility_Table_addRowSelection,
3877 Accessibility_Table_addColumnSelection,
3878 Accessibility_Table_removeRowSelection,
3879 Accessibility_Table_removeColumnSelection.
3882 Added C wrappers for above IDL:
3883 AccessibleTable_addRowSelection,
3884 AccessibleTable_addColumnSelection,
3885 AccessibleTable_removeRowSelection,
3886 AccessibleTable_removeColumnSelection.
3889 Added server-side implementation code for IDL above, connecting
3890 to pre-existing ATK api.
3892 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
3894 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
3896 * libspi/accessible.c: Added implementation fo
3897 Accessibility_Accessible_get_state.
3899 * libspi/libspi.h: Added stateset.h to the list of includes.
3901 * libspi/stateset.c: Fixed broken implementation.
3903 2002-04-13 Bill Haneman <bill.haneman@sun.com>
3906 Added implementation code for Accessibility_Magnifier_exit ().
3908 * util/mag_control.c:
3909 Added test code for above method; you can
3910 now kill an existing magnifier via
3911 ./mag_control q, from the util directory.
3913 * test/key-listener-test.c:
3915 Added a new test, for our key listener API.
3917 2002-04-11 Bill Haneman <bill.haneman@sun.com>
3919 * test/app.c, test/keysynth-demo.c:
3921 Replace use of snprintf with g_snprintf.
3922 (fix for bugzilla 78249)
3924 2002-03-27 Michael Meeks <michael@ximian.com>
3928 * util/Makefile.am (INCLUDES): fix.
3929 (DONT_DIST_SOURCE): don't distribute the
3932 * libspi/Makefile.am (dist-hook): ditto.
3934 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
3936 * libspi/hypertext.c:
3937 Fix warnings when yelp is used with atk-bridge
3939 2002-03-21 Michael Meeks <michael@ximian.com>
3941 * libspi/application.c (spi_application_new):
3942 use spi_accessible_construct so we use the AtkObject
3945 2002-03-19 Michael Meeks <michael@ximian.com>
3947 * registryd/registry.c (desktop_remove_application),
3948 (desktop_add_application): clean coding style.
3950 * registryd/desktop.c (spi_desktop_remove_application),
3951 (spi_desktop_add_application): kill re-enterency hazards.
3952 (spi_desktop_dispose): remove bogus redundant cast
3953 obscuring bug; fix bug too.
3954 (spi_desktop_init): make the desktop object immortal.
3956 2002-03-16 Bill Haneman <bill.haneman@sun.com>
3959 Added a #define-guarded tree-traversal step
3960 when enumerating the apps (diagnostic tool).
3962 2002-03-15 Bill Haneman <bill.haneman@sun.com>
3964 * idl/Accessibility_Role.idl:
3965 Added ROLE_DRAWING_AREA which seemed to be missing from the
3968 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3970 * cspi/spi-roletypes.h cspi/spi_accessible.c
3971 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
3974 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
3975 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
3976 AT when applications are added and removed from the desktop. This
3977 reverts the previous broken implementation using the backing
3978 AtkObject for the SpiDesktop.
3980 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3982 * registryd/desktop.c: emit the "children-changed::add" and
3983 "children-changed::remove" signals on the backing ATK object for
3984 the desktop so AT can tell when applications are started and shut
3987 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3989 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
3991 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3993 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
3995 * cspi/spi_accessible.c: Implemented c bindings for stateset support
3997 * cspi/state-types.h: synched with IDL and ATK
3999 2002-03-13 Bill Haneman <bill.haneman@sun.com>
4001 * libspi/accessible.c
4002 (impl_accessibility_accessible_get_child_at_index):
4003 Change return value for g_return_if_fail ()
4004 to CORBA_OBJECT_NIL instead of "0" (!)
4006 * registryd/Makefile.am:
4007 * registryd/Accessibility_Register.server.in:
4008 Changed name of executable, "registryd",
4009 to something more informative:
4012 2002-03-13 Michael Meeks <michael@ximian.com>
4014 * atk-bridge/bridge.c (atk_bridge_init): don't register
4015 if we're in a bonobo-component, rather than a bonobo app.
4017 2002-03-13 Michael Meeks <michael@ximian.com>
4019 * atk-bridge/bridge.c (gtk_module_init): split
4020 out body to (atk_bridge_init): here, since otherwise
4021 we get symbol conflicts and oddness when invoked
4022 from (gnome_accessibility_module_init): here (upd.)
4024 2002-03-11 Bill Haneman <bill.haneman@sun.com>
4027 New file. Explicitly allow "build sheriff" putbacks provided
4028 they are tested on Solaris.
4030 * docs/reference/cspi/Makefile.am:
4031 Added '-' to the "cp" command for index.sgml.
4032 ("patch by thomasvs, soon coming to a GUADEC near you")
4035 Incremented version number (0.9.0) for new release.
4036 Changed macro that checks for popt, to better detect
4037 obsolete versions of popt.
4040 Added X_LIBS to AC_SUBST, for applications
4041 that call Xlib API directly.
4044 2002-03-07 Bill Haneman <bill.haneman@sun.com>
4047 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
4050 Fix regression caused by hard-coding major
4051 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
4054 * test/test-simple.c (test_editable_text),
4055 (test_test): revert previous change (error was
4056 a regression in gail which is now fixed).
4058 2002-03-04 Michael Meeks <michael@ximian.com>
4060 * test/test-simple.c (test_editable_text),
4061 (test_text): pass G_MAXINT instead of '-1' for
4062 whole string - is this a good thing !?
4064 * cspi/spi_accessible.c
4065 (Accessible_getRelationSet): fix crasher bug
4066 overwriting the end of the array.
4068 * test/test-simple.c (validate_accessible): free,
4069 not g_free returned relation set.
4071 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
4073 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
4074 implemented stateset support
4076 * idl/Accessibility_State.idl: Made necessary changes to
4077 the IDL to support state sets.
4079 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4081 * registryd/deviceeventcontroller.c:
4082 Added implementation for generateMouseEvent.
4084 * cspi/spi_registry.c:
4085 Connected new implementation for generateMouseEvent
4088 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4091 Incremented revision (but no change in public API
4092 outside of 'utils', which are not installed public yet.)
4094 * libspi/component.c:
4095 Changed to use atk_component API for layers and
4096 mdi_zorder, instead of deprecated atk_object API.
4098 Magnification Utility Enhancements:
4101 Added implementation of createZoomRegion, clearAllZoomRegions,
4102 resizeZoomRegion. Added new commandline argument
4103 "--no-initial-region". Note that clearAllZoomRegions doesn't
4104 unmap the old '0' region as it should (yet), and the other
4105 methods only work when creating/resizing a single region,
4106 which is "region 0".
4107 (Code for multiple region support will be added later.)
4110 Now we raise the magnifier window each time it's refreshed;
4111 this will help keep it on top.
4113 * util/mag_client.h:
4114 Added simple wrappers for above, used by mag_control.
4115 For general use, it's recommended to use the bonobo magnifier
4116 control API directly instead of using these wrappers.
4119 Moved ZoomRegionData from magnifier.c to this file.
4121 * util/mag_control.c:
4122 Added some code to exercise new IDL implementations.
4124 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
4126 * libspi/text.c: Provide implementation for getAttributes.
4128 2002-02-04 Bill Haneman <bill.haneman@sun.com>
4131 Incremented revision.
4133 * test/test-simple.c:
4134 Replaced use of deprecated g_main_iteration with
4135 g_main_context_iteration.
4137 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
4140 Incremented revision for desktop alpha 2.
4142 2002-01-28 Mark McLoughlin <mark@skynet.ie>
4144 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
4147 * test/simple-at.c: include netinet/in.h.
4149 2002-01-24 Mark McLoughlin <mark@skynet.ie>
4151 * cspi/spi_accessible.c: (Accessible_getRelationSet):
4152 use NULL, not CORBA_OBJECT_NIL.
4154 * libspi/accessible.c:
4155 (impl_accessibility_accessible_get_relation_set):
4156 allocate the sequence correctly.
4158 * libspi/remoteobject.h: kill spi_remote_object_new.
4160 * test/test-simple.c: (validate_accessible): add code
4161 to test relation sets, now all we need is to figure
4162 out how to excercise this code path :/
4164 2002-01-18 Michael Meeks <michael@ximian.com>
4166 * test/test-simple.c
4167 (key_listener_cb): consume the key.
4168 (test_keylisteners): update.
4169 (main): wait for any pending unrefs on events.
4171 * registryd/deviceeventcontroller.c
4172 (spi_controller_update_key_grabs): only re-issue the
4173 grab on a key release.
4174 (spi_device_event_controller_forward_key_event):
4175 refresh the keygrabs before we notify the listeners,
4176 to reduce the X ungrab / re-grab race.
4177 (spi_controller_register_with_devices): remove
4178 XSelectInput - we do that with the gdk_window_ call.
4179 (_spi_controller_device_error_handler): return a value.
4180 s/GDK_DISPLAY/spi_get_display/
4182 2002-01-17 Michael Meeks <michael@ximian.com>
4184 * registryd/deviceeventcontroller.c
4185 (_deregister_keygrab): don't blow out the later
4188 * test/test-simple.c (test_keylisteners): do a
4189 more intelligent validation.
4191 2002-01-14 Michael Meeks <michael@ximian.com>
4193 * atk-bridge/bridge.c
4194 (gnome_accessibility_module_init),
4195 (gnome_accessibility_module_shutdown): impl.
4196 (gtk_module_init): protect vs. double inits.
4197 (add_signal_listener): impl.
4198 (spi_atk_bridge_state_event_listener): kill
4199 (deregister_application): split out of
4200 (spi_atk_bridge_exit_func): here.
4202 2002-01-18 Bill Haneman <bill.haneman@sun.com>
4205 Added caret tracking when using magnifier, and
4206 now use text bounds for focus tracking of text elements, rather than
4207 the component bounds - this is helpful for short text fields in long
4208 table cells, at high magnification.
4210 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4212 * registryd/deviceeventcontroller.c:
4213 Regression fix for keylistener de-registration; global keygrabs
4214 were not being released when deregisterKeystrokeListener was
4215 called in cspi, since
4216 Accessibility_DeviceEventController_deregisterKeystrokeListener
4217 was called with a zero-length keyset. That is because the cspi
4218 method, SPI_deregisterKeystrokeListener, does not take a keyset
4219 parameter but instead should remove all the key grabs held be a
4221 The code in impl_deregister_keystroke_listener was changed to copy
4222 the keylist from the listener instance previously registered with
4223 the DeviceEventController before releasing the grabs.
4225 * registryd/registry.c:
4226 * registryd/deviceeventcontroller.c:
4227 * libspi/spi-private.h:
4229 Changed spelling of "re-enterant" to "re-entrant" globally.
4231 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4233 * test/test-simple.c:
4234 Changed key listeners test - the test was slightly mis-using the
4235 (admittedly poorly documented) SPI_generateKeyboardEvent API.
4236 It now uses '=' as the key event listened to and generated,
4237 relying on a keysym match rather than assuming that keycode 33
4238 is always equal to keysym '!'.
4240 2002-01-15 Bill Haneman <bill.haneman@sun.com>
4243 Changed simple-at to use a specific keyset, rather than
4244 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
4245 manager, desktop, etc.
4247 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4249 * registryd/deviceeventcontroller.c:
4250 Replaced standard X error handler with a special handler that
4251 is non-fatal for failed keygrabs. This works around
4252 problems with keygrab clashes sometimes observed on
4254 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
4255 mouse handling code as yet).
4257 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4260 Incremented revision for desktop alpha release.
4263 Fixed a couple of the more glaring errors (still not
4266 2002-01-11 Michael Meeks <michael@ximian.com>
4268 * registryd/deviceeventcontroller.c
4269 (spi_device_event_controller_forward_key_event): kill
4270 XUngrabKey / XKeyGrab race.
4271 (spi_controller_grab_keyboard): rename to
4272 (spi_controller_update_key_grabs): this, and deal
4273 with incremental adding / removing grabs more
4275 (_register_keygrab): ensure we're not pending a remove.
4276 (spi_grab_mask_free): impl.
4277 (spi_controller_register_global_keygrabs): split out
4279 (handle_keygrab): impl.
4280 (_deregister_keygrab): impl.
4281 (spi_controller_deregister_global_keygrabs): impl.
4282 (spi_controller_update_key_grabs): re-issue the grab if
4283 we just recieved a notification.
4285 * test/test-simple.c (key_listener_cb): remove debug.
4287 * registryd/deviceeventcontroller.c
4288 (spi_controller_register_device_listener): after
4289 registering a global keygrab, actualy register it !
4290 don't wait for a timeout; doh !
4292 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
4293 to make it more readable / manipulable.
4294 s/grabmask/grab_mask/ s/refcount/ref_count/
4295 s/keyval/key_val/ s/modmask/mod_mask
4297 2002-01-08 Michael Meeks <michael@ximian.com>
4299 * registryd/deviceeventcontroller.c
4300 (spi_controller_register_with_devices): use gdk calls to
4302 (global_filter_fn): implement the filter.
4303 (spi_device_event_controller_check_key_event): rename to
4304 (spi_device_event_controller_forward_key_event): this & upd.
4305 (spi_get_display): replace with GDK_DISPLAY.
4307 * registryd/deviceeventcontroller.c
4308 (spi_controller_deregister_device_listener): unroll into
4309 (impl_deregister_keystroke_listener): here to simplify.
4310 (spi_controller_register_global_keygrabs): split cut and
4311 paste (!) out into (_register_keygrab): here, shorter & sweeter.
4312 (spi_controller_deregister_device_listener): remove.
4313 (impl_register_mouse_listener): remove, no mouse listener
4314 support in at-spi-1.0
4316 * registryd/registry.c
4317 (_device_event_controller_hook): kill.
4318 (spi_registry_init): upd.
4320 * registryd/deviceeventcontroller.c
4321 (spi_device_event_controller_class_init): upd.
4322 (spi_check_key_event): merge into.
4323 (spi_device_event_controller_check_key_event):
4324 here and kill strange static ev init, don't leak
4325 the x_event - nor dynamicaly allocate it.
4327 * registryd/registry-main.c (main): re-direct
4328 timeout to remove strange vtable mess.
4330 * registryd/deviceeventcontroller.c
4331 (remove_listener_cb): impl.
4332 (spi_controller_deregister_device_listener):
4333 fix re-enterancy hazard.
4335 2002-01-07 Michael Meeks <michael@ximian.com>
4337 * registryd/deviceeventcontroller.c
4338 (spi_device_event_controller_new): upd.
4339 (impl_notify_listeners_sync): upd. debug.
4340 (spi_notify_keylisteners): fix re-enterancy hazards,
4341 prettify, remove O(n*n) iteration.
4342 (spi_controller_grab_keyboard): fix iteration.
4343 (spi_check_key_event): re-format to suit coding style.
4344 Clean all the warnings - we're warning free.
4346 * registryd/deviceeventcontroller.h:
4347 * registryd/registry.h: make mutualy referential with
4348 typesafe forward references instead of (!) void pointer
4351 2002-01-11 Michael Meeks <michael@ximian.com>
4353 * cspi/spi_accessible.c (role_names): add a role name
4354 to sync this array with the enum; and make the regression
4357 2002-01-10 Michael Meeks <michael@ximian.com>
4359 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
4360 allow expansion of enumeration & kill warning.
4362 * test/test-simple.c (key_listener_cb): impl.
4363 (test_keylisteners): impl.
4365 * cspi/spi-listener.h: make listener signatures const
4366 on the provided (const) events.
4368 * test/keysynth-demo.c: upd. to const events.
4370 * test/simple-at.c: ditto.
4372 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4375 Rev the version to 0.5 (the previous tarball was named 0.4,
4376 even though the micro number was 3), so we need to rev upwards
4377 again for beta2/"desktop-alpha"
4380 Checked in a demo script, which requires editing before use!
4381 Proceed with caution.
4384 Fixed typo in header which was redefining SPI_ACTION_CLASS.
4386 * cspi/spi_accessible.c:
4387 Add a couple of missing enum initializations, and fix some enum
4390 * cspi/spi_registry.c:
4391 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
4393 * docs/reference/cspi/at-spi-cspi-sections.txt:
4394 Remove/fix a couple of broken document references.
4397 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
4398 as Alt-Control to listen for commands, since on some systems
4399 Control-Alt may already be grabbed.
4401 2002-01-10 Bill Haneman <bill.haneman@sun.com>
4404 Update version number to 0.4 for Beta2.
4406 * libspi/accessible.c, libspi/accessible.h:
4407 Expose spi_accessible_construct, to enable libgail-gnome
4408 construction from spi_accessible subtype.
4410 * utils/magnifier.c:
4411 Workaround for bug in some non-gnome-compliant window managers
4412 which made magnifier resize improperly.
4414 2002-01-09 Bill Haneman <bill.haneman@sun.com>
4416 * libspi/accessible.c: (spi_accessible_new) :
4417 Move the test for SPI_IS_REMOTE_OBJECT to
4418 spi_accessible_new_return, fixing a bug and compile time warning.
4420 2002-01-08 Michael Meeks <michael@ximian.com>
4422 * registryd/registry.c (parse_event_type): remove strndup.
4424 * libspi/Makefile.am (libspi_la_SOURCES): remove
4425 sources already included in the headers section.
4427 * libspi/util.c: add.
4429 * libspi/spi-private.h: add.
4431 * registryd/registry.c: update to moved list iterators.
4433 2002-01-05 Michael Meeks <michael@ximian.com>
4435 * test/simple-at.c (main): upd. auto-module set to atk-bridge
4437 * test/test-simple.c (main): ditto.
4439 2002-01-04 Michael Meeks <michael@ximian.com>
4441 * libspi/accessible.c (spi_accessible_new): remove 2nd,
4442 redundant construct.
4444 * registryd/registry.c
4445 (get_listener_list): impl.
4446 (impl_accessibility_registry_register_global_event_listener):
4447 re-impl. to simplify using ~, remove dodgy const cast off.
4448 (parse_event_type): constify.
4449 (impl_accessibility_registry_deregister_global_event_listener_all):
4450 re-write, more efficiency and simplicity, kill re-enterancy
4452 (compare_listener_corbaref, compare_corba_objects),
4453 (compare_listener_quarks): define out.
4454 (impl_accessibility_registry_deregister_global_event_listener):
4455 re-write for effiency, and nail re-enterancy hazard.
4456 (impl_accessibility_registry_get_desktop_list): impl.
4457 (re_enterant_list_delete_link): impl.
4458 (re_enterant_list_foreach): impl.
4459 (remove_listener_cb): impl.
4460 (_registry_notify_listeners): kill.
4461 (notify_listeners_cb): impl.
4463 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
4464 (SPI_getDesktopList): impl.
4466 * test/test-simple.c (test_desktop): test the methods.
4468 2002-01-03 Michael Meeks <michael@ximian.com>
4470 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
4471 keystrings since we free them
4472 (SPI_freeAccessibleKeySet): in here.
4474 * libspi/accessible.c (spi_accessible_new): kill warning,
4475 wonder what is going on with the constructor here.
4477 2002-03-01 Bill Haneman <bill.haneman@sun.com>
4479 * libspi/accessible.c (spi_accessible_new ()) :
4480 Added check to see if AtkObject is an SpiRemoteObject before
4481 creating an SpiAccessible.
4483 2002-05-01 Bill Haneman <bill.haneman@sun.com>
4485 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
4486 Enable keygrabs using the Control modifier, now that they are
4487 working properly (they were previously disabled).
4490 Change the command keygrab for this demo to "Control+Alt", so as
4491 to conflict with fewer other key commands on the system; this
4492 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
4494 Removed a pointlessly-chatty keylistener for unshifted keys
4495 (shifted keys are still reported).
4497 2002-02-01 Bill Haneman <bill.haneman@sun.com>
4499 * libspi/remoteobject.h:
4500 * libspi/remoteobject.c:
4501 Added definitions for special AtkObject subtype, required for
4502 support of remote components (specifically, used by BonoboControl
4503 accessibility implementation).
4505 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
4507 * cspi/spi.h: synched relation types with ATK
4509 * cspi/spi_accessible.c: Added implementations of
4510 AcccessibleRelation_* methods
4512 * idl/Accessibility_Relation.idl: added getRelationTypeName
4513 method. Synched known relation types with ATK. Allowed for
4514 relation type extension with the RELATION_EXTENDED type.
4516 * libspi/relation.c: Provided implementations for
4517 AccessibleRelation methods.
4519 2002-01-01 Bill Haneman <bill.haneman@sun.com>
4521 API tweaks for today's API 'freeze'.
4524 Added placeholder functions to allow future compatible expansion
4525 of the IDL interfaces.
4527 * idl/Accessibility_Registry.idl:
4528 Changed generateKeyEvent to generateKeyboardEvent. Changed
4529 signature of this method to accept an optional keystring in
4530 parameter (for complex text input synthesis) and changed use of
4531 simple 'boolean' parameter in registerKeystrokeListener to a
4532 struct, EventListenerMode.
4534 * cspi/spi_accessible.c:
4536 * cspi/spi_streamablecontent.c:
4537 Added references to AccessibleStreamableContent interface, and
4538 definition and implementation of AccessibleStreamableContent
4541 * cspi/spi_registry.c:
4543 Changed generateKeyEvent API to generateKeyboardEvent,
4544 taking a new (optional) keystring parameter to support complex
4549 Renamed directory (to better reflect its actual purpose, bridging
4550 from at-spi to ATK). The .so module is also now named
4553 * idl/Accessibility_Hypertext.idl:
4554 * libspi/accessible.c:
4555 * libspi/hypertext.h:
4556 * libspi/hypertext.c:
4557 Changed Accessibility_Hypertext to *not* derive from
4560 * cspi/spi_registry.c:
4561 Added list of legal event type names for 'window' events, which
4562 completes the registry event API.
4564 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
4566 * at-bridge/bridge.c: Added registration for separate
4567 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
4568 signals. If either of the first two parameters to the generic
4569 bridge signal handler are ints, they are passed on as event
4570 details. This allows an AT to determine what text was inserted.
4572 2001-12-21 Bill Haneman <bill.haneman@sun.com>
4574 * registryd/deviceeventcontroller.c:
4575 Fixed regressions in generateKeyEvent caused by the removal of
4576 gdk_init from registryd; we now use pure X calls to connect to the
4577 display, which makes sense because deviceeventcontroller already
4578 uses a fair bit of X API (should eventually be migrated to a
4579 'portability layer').
4581 * registryd/desktop.c:
4582 Fixed minor regression in spi_desktop_init, changed the way the
4583 desktop name is being set to work with new spi_base API
4584 (gobject-based, rather than AtkObject-based).
4586 * registryd/Makefile.am:
4587 Minor revision of makefile to use XTST_LIBS variable rather than
4588 hard-wiring the Xtst LD_ADD element.
4590 * test/keysynth-demo.c:
4591 Tweaked an output message; added initialization of the
4592 'keystrings' member of the "switch listener" key_set.
4594 * libspi/relation.c:
4595 Squashed compile-time warning.
4597 * libspi/accessible.c:
4598 Cosmetic and formatting fixes, renamed a static method.
4600 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
4602 * libspi/accessible.c
4604 * libspi/application.c
4607 * libspi/component.c
4608 * libspi/editabletext.c
4609 * libspi/hyperlink.c
4610 * libspi/hypertext.c
4612 * libspi/selection.c
4616 * registryd/desktop.c:
4617 Changed SpiBase to contain a GObject pointer rather than an AtkObject
4619 2001-12-17 Bill Haneman <bill.haneman@sun.com>
4621 * idl/Accessibility_Registry.idl:
4622 Added boolean member 'is_text' to DeviceEvent. This is for the
4623 use of key events, and helps prevent ambiguity between composed
4624 key strings and keysym names, since both may potentially be
4625 returned in the 'event_string' member.
4627 * at-bridge/bridge.c:
4628 * registryd/deviceeventcontroller.c:
4629 Use the 'is_text' member when notifying device event listeners.
4630 Knon issue: composed characters are not dealt with correctly by
4631 the global key listener implementation yet.
4633 2001-12-17 Bill Haneman <bill.haneman@sun.com>
4635 * at-bridge/bridge.c:
4636 Namespaced local static methods to spi_atk_bridge_* where
4637 previously named bridge_*, and spi_* elsewhere.
4639 * at-bridge/bridge.c:
4640 * cspi/bonobo/cspi-bonobo-listener.c:
4641 Added demarshalling/conversion for string member of
4642 Accessibility_DeviceEvent to AccessibleKeystroke.
4644 * registryd/deviceeventcontroller.c:
4645 Added code to fill the Accessibility_DeviceEvent key string value
4646 member for global key events (i.e. from XGrabKey), to match
4647 behavior of Accessibility_DeviceEvent from the toolkit key events
4648 from the bridge. Fixed timestamp in global key event notifications.
4651 Added printout of key event's string value to
4652 report_ordinary_key_event, for demo/debugging purposes.
4654 2001-12-15 Bill Haneman <bill.haneman@sun.com>
4656 * idl/Accessibility_Registry.idl:
4657 Removed Accessibility_KeyStroke structure in favor of generic
4658 Accessibility_DeviceEvent structure.
4659 Changed Accessibility_ControllerEventMask from a struct to an
4662 * at-bridge/bridge.c:
4663 Changed APIs to use DeviceEvent structure as above, and removed
4664 bogus casting between these event structures.
4666 * cspi/spi-listener.h:
4667 Added keystring member of AccessibleKeystroke structure, to enable
4668 matching on event "names" rather than only hardware codes and
4672 Added keystrings member of AccessibleKeySet struct, to allow
4673 matching on event names (as above).
4674 Added declarations for SPI_createAccessibleKeySet and
4675 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
4676 event modmasks directly as unsigned ints rather than structs with
4677 refcounts, in the DeviceEventController methods.
4679 * cspi/spi_registry.c:
4680 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
4682 * cspi/spi-roletypes.h:
4683 Added documentation of newly added SPI Roles.
4685 * cspi/bonobo/cspi-bonobo-listener.c:
4686 Changes in support of API changes above.
4688 * libspi/accessible.c:
4689 Converted APIs to use DeviceEvent structure (see IDL changes
4692 * registryd/deviceeventcontroller.c:
4693 Added DEControllerGrabMask structure to track keygrabs not only by
4694 modmask but by keyset as well; this allows us to do "global"
4695 (i.e. X) keygrabs on a per-key or keyset basis rather than always
4696 grabbing on AnyKey and then filtering after-the-fact.
4697 Bugfixes for event filtration mean that we don't get false matches
4698 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
4700 * registryd/deviceeventcontroller.c:
4701 Namespaced a number of static methods to use spi_ prefix. Major
4702 revision to internals of global (i.e. X) key grabs.
4704 * registryd/deviceeventcontroller.h:
4705 Removed keymask_list and added keygrabs_list to
4706 SpiDeviceEventController struct.
4709 Added use of SPI_createAccessibleKeySet API when creating a
4710 listener for only one key. Attach a listener to "shift spacebar
4711 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
4712 X key event names to SPI key event names, so that listeners are
4713 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
4715 * test/keysynth-demo.c:
4716 Changed (incorrect) use of X key event names (KeyPressed,
4717 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
4720 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4722 * libspi/accessible.c:
4723 Convert all AtkRole enumerations to Accessibility_Role enums when
4724 getting a role from an AtkObject.
4726 * cspi/spi_accessible.c:
4727 Complete the conversion of Accessibility_Role enums at runtime to
4728 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
4729 role enums correctly match those given in spi-roletypes.h.
4730 Re-synchronize the local names list for AccessibleRole_getName ().
4731 AccessibleRole_getName is now deprecated, since it duplicates the
4732 more reliable Accessible_getRoleName.
4733 Added some role types from Accessibility_Role.idl.
4735 * idl/Accessibility_Role.idl:
4736 Added some role types used by AtkRole.
4738 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4741 * cspi/spi_registry.c:
4743 * cspi/cspi-bonobo-listener.c:
4744 Namespaced all methods that did not begin with an "SPI_" or
4745 "Accessible" prefix to "SPI_".
4748 Homogenized internal function namespace to "cspi_" for statics.
4751 Patched tests to use the new CSPI API.
4753 * docs/reference/cspi/at-spi-cspi-sections.txt:
4754 Updated docs to reflect namespace changes, and added a number of
4755 methods to the documentation.
4757 * registryd/registry.c:
4758 Changed use of strings and string hashes in listener event
4759 matching and parse_event_string to use GQuark, which is guaranteed
4762 * registryd/registry.h:
4763 Squashed annoying warning.
4765 * idl/Accessibility_Role.idl:
4766 Extended range of available Accessibility_Role values.
4768 * cspi/spi_accessible.c:
4769 Re-ordered role names.
4771 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4773 * idl/Accessibility_Value.idl:
4774 Revert use of union back to CORBA_double, since the double type is
4775 more efficient and can contain the other types without loss of
4778 * idl/Accessibility_Accessible.idl:
4779 Added method Accessibility:Accessible:getRoleName, to complement
4780 Accessibility:Accessible:getRole.
4782 * cspi/spi_accessible.c:
4784 Added C binding for above, Accessible_getRoleName (), and changed
4785 signature of Accessible_getRole () to return an AccessibleRole.
4787 * cspi/spi-roletypes.h:
4788 Changed AccessibleRole_getName to return a char * instead of a
4789 const char *. This method is now at least temporarily deprecated
4790 in favor of asking Accessibles for their RoleNames directly.
4793 Revert to match Accessibility_Value.idl;
4797 Change signature of AccessibleValue methods to use double rather
4801 * cspi/spi_accessible.c:
4802 Changed Accessible_getRole to return an AccessibleRole enum rather
4803 than a UTF-8 string. The UTF-8 string can still be obtained via
4804 AccessibleRole_getName ().
4806 * test/test-simple.c:
4807 Add test_action. Small fixup to match API change to Accessible_getRole.
4810 Bugfix for get_action_from_servant ().
4812 2001-12-11 Michael Meeks <michael@ximian.com>
4814 * libspi/libspi.h: remove registry.h and
4815 desktop.h, deviceeventcontroller.h
4817 * libspi/Makefile.am: remove registry.[ch],
4818 desktop.[ch], deviceeventcontroller.[ch]
4820 * registryd/Makefile.am: add registry.[ch],
4821 desktop.[ch], rename registryd.c to registry-main.c.
4822 add deviceeventcontroller.[ch]
4824 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4827 Replace setenv() call with putenv ().
4829 * libspi/component.c:
4830 Bugfix in AccessibleComponent_getExtents (),
4833 2001-12-11 Michael Meeks <michael@ximian.com>
4835 * libspi/image.c (impl_getImageExtents): impl.
4836 (spi_image_class_init): upd.
4839 (AccessibleImage_getImageDescription): fix daft bug
4842 * test/test-simple.c (global_listener_cb): update
4843 to only quit if not --poke
4844 (main): catch --poke.
4845 (validate_accessible): upd. dumping, call test_image
4848 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
4851 * idl/Accessibility.idl: update all IDL includes.
4853 * idl/*.idl - rename to namespace - this sucks, blame
4854 mjs' bad decision for oafd.
4856 * test/test-simple.c (create_test_window): add more tests.
4857 (create_tree): split this out.
4858 (validate_accessible): bugfix.
4860 2001-12-11 Michael Meeks <michael@ximian.com>
4862 * cspi/bonobo/cspi-bonobo-listener.c:
4863 (cspi_kestroke_listener_unref),
4864 (cspi_event_listener_unref): impl. undoing previous
4865 homenous environment - for Bill.
4867 * cspi/spi_table.c (long_seq_to_array): use
4870 * cspi/spi_main.c: split out all bonoboish bits into
4873 * cspi/spi-impl.h: upd. typedefs.
4875 * cspi/spi_registry.c: update to lowlevel API,
4876 return booleans to indicate success in some places.
4878 * cspi/spi_event.c: update to lowlevel API.
4880 * cspi/bonobo/Makefile.am: add.
4882 * cspi/bonobo/cspi-lowlevel.h: add
4884 * cspi/bonobo/cspi-bonobo.c: add
4886 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
4888 * cspi/Makefile.am: remove spi-listener-impl.[ch],
4889 (SUBDIRS): add bonobo, link in the libs.
4891 * cspi/spi-util.c: kill this file.
4893 * TODO: merge in my bits.
4895 2001-12-11 Michael Meeks <michael@ximian.com>
4897 * test/test-simple.c (test_value, test_table, main):
4898 remove unused variables causing warnings.
4900 * configure.in: cleanup checks - require gail.
4902 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4905 Changed Value interface to use SValue (scalars) rather than
4906 assuming all values are floats. This allows floats, doubles,
4907 longs, shorts, and unsigned values to be manipulated.
4908 Introduced Accessibility:SValue union.
4911 Updated to use new API above, and to work correctly with GValues
4912 of different types in AtkValue.
4915 Updated to use new API above. cspi's API is as yet unchanged.
4918 Updated the Value revision action item.
4920 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4922 * test/test-simple.c:
4923 Added test_table (GtkTreeView widget in test window to follow).
4924 Un-commented test_value, added GtkRange widget.
4925 Added GtkTreeView widget with GtkListStore. It passes regression
4926 test but leaks one SPI object for some reason.
4929 Fixed bug in impl__set_currentValue.
4931 2001-12-10 Michael Meeks <michael@ximian.com>
4933 * cspi/spi_text.c: audit for exception handling,
4934 tolerating NULL object references safely etc.
4936 * cspi/spi_value.c: ditto.
4938 * cspi/spi_table.c (AccessibleTable_getSummary),
4939 (AccessibleTable_getAccessibleAt),
4940 (AccessibleTable_getRowHeader),
4941 (AccessibleTable_getColumnHeader),
4942 (AccessibleTable_getCaption): fix bugs hidden by
4944 (long_seq_to_array): impl.
4945 (AccessibleTable_getSelectedRows),
4946 (AccessibleTable_getSelectedColumns): use it.
4948 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4951 Added a TODO list (rough and short for now).
4953 * cspi/spi_hyperlink.c:
4954 * cspi/spi_hypertext.c:
4955 Fixed macro name typos, and remove use of obsolete macro in
4956 AccessibleHyperlink_getLink.
4958 * cspi/spi_action.c:
4959 * cspi/spi_accessible.c:
4960 * cspi/spi_application.c:
4961 * cspi/spi_component.c:
4962 * cspi/spi_selection.c:
4965 Documentation fixes (removed return values from ref/unref methods).
4967 2001-12-10 Michael Meeks <michael@ximian.com>
4969 * cspi/spi_action.c: audit for exception handling,
4970 tolerating NULL object references safely etc.
4972 * cspi/spi_accessible.c: ditto.
4974 * cspi/spi_component.c: ditto.
4976 * cspi/spi_editabletext.c: ditto.
4978 * cspi/spi_hyperlink.c: ditto.
4980 * cspi/spi_hypertext.c: ditto.
4982 * cspi/spi_image.c: ditto.
4984 * cspi/spi_selection.c: ditto.
4986 2001-12-10 Michael Meeks <michael@ximian.com>
4988 * configure.in: use cspi/libspi.pc.in instead.
4990 * Makefile.am (pkgconfig_DATA): upd. to match.
4992 * test/simple-at.c (report_focus_event): kill hacks around
4993 bad return values, use putenv not setenv
4995 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
4996 fire ChildGone - I killed it.
4998 * libspi/component.c
4999 (impl_accessibility_component_get_extents): remove
5002 * idl/Accessible.idl: kill ChildGone exception.
5004 * cspi/*.[ch]: kill int return from ref / unref.
5006 * cspi/spi_main.c (cspi_object_add_check): fold into
5007 (cspi_object_add): here.
5009 * cspi/spi_component.c (AccessibleComponent_getExtents):
5010 handle exceptions elegantly.
5012 * cspi/spi-private.h (cspi_check_ev_return),
5013 (cspi_return_if_fail): impl.
5015 * cspi/spi_accessible.c: use extensively.
5016 (AccessibleStateSet_equals): add direct compare check.
5018 * cspi/spi_selection.c: tolerate NULL objs, and check
5019 exceptions before return.
5021 * cspi/spi-util.c (cspi_warn_ev): rename to
5022 (cspi_check_ev): this & don't pass ev in; no point.
5024 2001-12-10 Michael Meeks <michael@ximian.com>
5026 * test/test-simple.c: use putenv not setenv
5027 (get_environment_vars): more chatty if you're not using
5030 * test/simple-at.c: do the setenv so more people see the
5033 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5035 * libspi/registry.c:
5036 Changed check of CORBA_environment on notification to be a warning
5037 instead of an error for the moment, since we can recover from this
5038 error when caused by a queued notification from a dead app.
5041 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
5042 used by all current implementors of AtkValue), and coerce to
5043 CORBA_float. (Proper general case fix may require change to Value.idl).
5045 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5049 * cspi/spi_accessible.c:
5050 Documentation fixes: added user_data params to documentation for
5051 listeners and callbacks.
5053 * cspi/spi_accessible.c:
5054 Changed AccessibleStateSet_compare to return a
5055 StateSet rather than return the difference set into a third parameter.
5058 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5061 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
5062 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
5066 Remove subdirectory po from SUBDIRS for now.
5068 * at-bridge/bridge.c:
5069 Beefed up a couple of debug printouts.
5070 One-line fix for signal notification name formatting.
5072 * libspi/accessible.c:
5073 Added assertion to spi_accessible_new ().
5075 * libspi/application.c:
5076 Put #ifdef qualifiers around a printf.
5079 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
5081 * registryd/Makefile.am:
5083 Replaces use of XML_I18N_MERGE_SERVER_RULE with
5084 INTLTOOL_SERVER_RULE macro.
5087 Added an event listener for several ATK signals, for
5088 testing and debugging. Removed a few g_warnings.
5089 Added test output if focussed item implements the Value interface.
5091 * test/test-simple.c:
5092 Added test_value () function (known not to pass at the moment, so
5093 not actually called yet.
5095 2001-12-08 Michael Meeks <michael@ximian.com>
5097 * at-bridge/bridge.c (bridge_focus_tracker),
5098 (emit_eventv): fix the same ref. leak.
5099 (register_atk_event_listeners): don't leak.
5101 * cspi/spi-listener-impl.c (cspi_event): more
5102 protection from client code.
5104 * test/test-simple.c (test_desktop): unref the app.
5106 * test/Makefile.am: upd. TESTS.
5108 * at-bridge/bridge.c (bridge_exit_func): release the registry.
5110 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
5112 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
5114 * cspi/spi_registry.c: constify in strings.
5115 (deregisterGlobalEventListenerAll): don't release the ref.
5117 * cspi/spi.h: start removing redundant / conflicting
5118 gtkdoc comments, making the API readable at a glance :-)
5120 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
5122 * test/keysynth-demo.c (keysynth_exit, main): upd.
5124 * test/simple-at.c (main, simple_at_exit): upd.
5126 * test/test-simple.c (unutterable_horror): kill.
5127 (utterable_normal_derefs): kill.
5128 (main): upd & do a setenv before gtk_init, so that we
5129 can use memprof - and to save the pain of remembering
5130 this, if we're running under memprof - don't exit.
5132 * cspi/spi_main.c (SPI_exit): return exit status
5134 (SPI_event_quit): impl.
5135 (SPI_event_main): simplify.
5136 (cspi_is_gnome_app): kill.
5137 (SPI_init): kill isGNOMEapp arg.
5139 * at-bridge/bridge.c (register_atk_event_listeners):
5140 re-instate the unref.
5141 (bridge_exit_func): don't re-activate the registry,
5142 protect vs. theoretical re-entry, use the
5143 AT_BRIDGE_SHUTDOWN env. var to determine whether to
5144 assert a clean shutdown - for regression tests.
5146 2001-12-08 Abel Cheung <maddog@linux.org.hk>
5148 * configure.in: Comment out dummy i18n support for now,
5149 otherwise it fails to build.
5150 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
5151 EXTRA_DIST. They are missing in tarball.
5153 2001-12-07 Michael Meeks <michael@ximian.com>
5155 * util/magnifier.c: kill bonobo activation reg. race.
5157 * libspi/component.c
5158 (impl_accessibility_component_get_extents): make it match
5161 * libspi/registry.c (_registry_notify_listeners):
5162 re-remove X headers & reconcile conflicts.
5163 (spi_listener_struct_free): bad conflict resolve.
5164 (impl_accessibility_registry_register_application):
5165 more bad merging fixed.
5166 (impl_accessibility_registry_deregister_application): ditto.
5167 (spi_registry_new): ditto.
5168 (spi_registry_init): don't have an applications field.
5170 [ merge fixups2 branch to here ]
5171 2001-12-07 Michael Meeks <michael@ximian.com>
5173 * test/simple-at.c (report_focus_event),
5174 (report_focussed_accessible): remove g_warning debug.
5176 2001-12-07 Michael Meeks <michael@ximian.com>
5178 * test/test-simple.c (validate_tree): comment out some checks.
5179 (test_desktop): app now not registered idly - horay.
5181 2001-12-07 Michael Meeks <michael@ximian.com>
5183 * cspi/spi_registry.c
5184 (registerAccessibleKeystrokeListener): clean, stop it leaking
5185 great swathes of memory, and device event controller references.
5186 ensure we always pass valid sequences.
5187 (deregisterAccessibleKeystrokeListener): ditto.
5188 (generateKeyEvent): upd.
5190 * at-bridge/bridge.c (bridge_key_listener): handle
5191 registry dead exception gracefully.
5192 (bridge_focus_tracker, emit_eventv): free ev.
5194 * test/simple-at.c (report_focus_event): fix polarity.
5196 * libspi/application.c (notify_listeners): kill the ev
5197 argument, and make sure we init the ev we use.
5198 (spi_application_object_event_listener): split out a chunk
5199 (get_atk_object_ref): here & fixup.
5200 (reverse_lookup_name_for_toolkit_event): make const.
5201 (spi_application_toolkit_event_listener): fixup, kill leaks
5204 * at-bridge/bridge.c (register_atk_event_listeners):
5205 don't unref the noop object - causes grief.
5207 * libspi/registry.c: remove the X headers.
5208 turn off the debug churn.
5210 * libspi/accessible.c (spi_accessible_new_return): only
5211 release the ref if we are supposed to [doh]
5213 * test/simple-at.c (report_button_press, report_focus_event):
5214 guard vs. unexpected exit.
5216 * at-bridge/bridge.c (gtk_module_init): prune printf.
5217 (bridge_exit_func): fix app unref.
5219 * libspi/Makefile.am: don't install registry or desktop.h
5221 * libspi/*.h: update includes.
5223 * libspi/application.h: don't include ourself, or
5224 other redundant headers.
5226 2001-12-06 Michael Meeks <michael@ximian.com>
5228 * libspi/accessible.c
5229 (get_accessible_from_servant): impl.
5230 Upd. all CORBA impl.s to use it killing cut and paste.
5232 * cspi/spi_main.c (cspi_cleanup): guard vs. double
5234 (SPI_init): register atexit cleanup handler here.
5236 2001-12-06 Michael Meeks <michael@ximian.com>
5238 * at-bridge/bridge.c (gtk_module_init): g_error on
5239 activation exception
5241 2001-12-06 Michael Meeks <michael@ximian.com>
5243 * at-bridge/bridge.c (gtk_module_init): some sort of
5244 confusing merge clash - reverted.
5245 (bridge_idle_init): ditto.
5247 * test/test-simple.c (main, utterable_normal_derefs):
5248 merge from Bill - somehow not committed.
5250 2001-12-06 Michael Meeks <michael@ximian.com>
5252 * libspi/value.c (spi_value_class_init): upd.
5253 (spi_value_finalize): kill.
5255 * libspi/table.c (spi_table_finalize): kill.
5256 (spi_table_interface_new): upd.
5257 (spi_table_class_init): upd.
5258 (get_table_from_servant): impl.
5259 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5261 * libspi/selection.c (spi_selection_finalize): kill.
5262 (spi_selection_interface_new): upd.
5263 (spi_selection_class_init): upd.
5264 (get_selection_from_servant): impl.
5265 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5267 * libspi/relation.c (spi_relation_finalize): kill.
5268 (spi_relation_class_init, spi_relation_new): upd
5270 * libspi/image.c (spi_image_finalize): kill.
5271 (spi_image_class_init): upd.
5272 (spi_image_interface_new): upd.
5273 (get_image_from_servant): impl.
5274 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5276 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
5277 (spi_hyperlink_finalize): kill.
5278 (spi_hyperlink_new): upd.
5279 (get_hyperlink_from_servant): impl.
5280 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5282 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
5283 (spi_hypertext_finalize): kill.
5284 (spi_hypertext_class_init): upd.
5285 (get_hypertext_from_servant): impl.
5286 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5288 * libspi/editabletext.c (spi_editable_text_finalize): kill.
5289 (spi_editable_text_interface_new): upd.
5290 (get_editable_text_from_servant): impl.
5291 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5293 * libspi/text.c (get_text_from_servant): impl.
5294 All impls - update to use it killing more cut and paste,
5295 also fix bad string returns on duff args ( a somewhat
5296 impossible case to handle - but hey ).
5297 (spi_text_construct): impl.
5298 (spi_text_interface_new): upd.
5299 (spi_text_object_finalize): kill.
5301 * libspi/component.c
5302 (accessibility_component_object_finalize): kill.
5303 (spi_component_class_init): upd.
5304 (get_component_from_servant): impl. helper to kill cut & paste.
5305 (impl_accessibility_component_contains):
5306 (impl_accessibility_component_get_accessible_at_point):
5307 (impl_accessibility_component_get_position):
5308 (impl_accessibility_component_get_extents):
5309 (impl_accessibility_component_get_mdi_z_order):
5310 (impl_accessibility_component_get_layer):
5311 (spi_component_interface_new): upd.
5313 * libspi/action.c (spi_action_finalize): kill.
5314 (spi_action_class_init): upd. inherit from SpiObject.
5315 (spi_action_interface_new): upd.
5316 (get_action_from_servant): impl. helper to reduce cut & paste.
5317 (impl_getKeyBinding, impl_getName, impl_doAction),
5318 (impl_getDescription): Use it everywhere.
5320 * cspi/spi_main.c (get_live_refs): a pointer hash.
5321 (spi_object_hash, spi_object_equal): comment out.
5322 There are issues with CORBA object hashing that need
5325 * libspi/application.c (spi_application_init),
5326 (spi_application_new): upd.
5328 * libspi/accessible.c (spi_accessible_object_finalize): kill.
5329 (spi_accessible_class_init): upd.
5330 s/accessible/object/ in epv methods.
5332 2001-12-05 Bill Haneman <bill.haneman@sun.com>
5334 * at-bridge/bridge.c:
5335 Reorder the bridge initialization into the bridge gtk_module_init,
5336 an immediate call to bridge_register_app, and an idle_add for
5337 register_atk_event_listeners (the only code that *must* wait until
5338 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
5339 the activation, creates the application's Accessible object, and
5340 queues the bridge_idle_init function. Restored call to
5341 Accessibility_Registry_deregisterApplication().
5342 Prior to making this call we obtain a new reference to the
5343 registry, which is a temporary hack that helps us handle apps that
5344 shut down the bonobo mainloop before we get there.
5346 * libspi/registry.c:
5347 Fix string leakage in debug block, and don't segv if a an app
5348 dies before its event notifications have been propagated.
5351 Modify cspi_check_ev() to call g_warning() rather than g_error(),
5352 as stopgap measure until we get proper exception handling when
5353 objects die during or before interrogation.
5357 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
5358 Also changed default value of is_gnome_app to TRUE.
5361 * test/keysynth-demo.c:
5362 Changed use of SPI_init and SPI_event_main to reflect API change above.
5365 Made report_focus_event check the warning value from getName
5366 before reporting on focussed accessible; simplifies handling of
5367 notifications from dead objects.
5369 * test/test-simple.c: (Changes not in this patch since source is
5372 2001-12-05 Michael Meeks <michael@ximian.com>
5374 * registryd/registryd.c (main): protect against
5375 bonobo-activation startup race condition.
5377 * cspi/spi_main.c (cspi_object_add_check): cope
5378 with the exception elegantly.
5380 * idl/Accessible.idl: decl. ChildGone
5382 * libspi/desktop.c (spi_desktop_dispose): impl.
5383 (spi_desktop_class_init): upd.
5384 (spi_desktop_add_application),
5385 (spi_desktop_remove_application),
5386 (abnormal_application_termination): impl.
5387 (impl_desktop_get_child_at_index): re-impl.
5390 (impl_accessibility_registry_deregister_application),
5391 (impl_accessibility_registry_register_application):
5392 kill excessive debug clutter.
5394 * test/test-simple.c (test_misc): test some NULL
5395 tolerance. (main): upd.
5397 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
5398 implements no interfaces - so let's not crash.
5400 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
5402 * libspi/accessible.c (spi_accessible_new_return): impl.
5403 helper to calm the cut and paste, to cope with
5404 NULL AtkObjects effectively and efficiently, and to kill
5405 the referencing bugs.
5407 * libspi/table.c (impl_getAccessibleAt),
5408 (impl_getRowHeader, impl_getColumnHeader): upd.
5410 * libspi/hyperlink.c (impl_getObject): upd.
5412 * libspi/accessible.c
5413 (impl_accessibility_accessible_get_child_at_index): upd.
5415 * libspi/component.c
5416 (impl_accessibility_component_get_accessible_at_point): upd.
5418 * test/test-simple.c (test_editable_text, test_text): impl.
5421 * cspi/spi_editabletext.c
5422 (AccessibleEditableText_insertText): constify.
5424 * test/test-simple.c (focus_me): make more robust.
5426 * libspi/accessible.c: remove some printfs in methods that
5427 we test and work fine, so we can get a clean tree dump.
5429 * test/test-simple.c (validate_accessible),
5430 (validate_tree): make tree dumping pretty too.
5432 * at-bridge/bridge.c (bridge_signal_listener): upd. so
5433 it builds without debug on.
5435 * test/test-simple.c (validate_accessible): fix the most
5438 * cspi/spi_main.c (spi_object_release): leave the nicely
5439 blanked memory around if in debug mode.
5441 * cspi/spi-listener-impl.c (cspi_event): use add_check.
5443 [committed to fixups2]
5444 2001-12-05 Michael Meeks <michael@ximian.com>
5446 * libspi/editabletext.c
5447 (spi_editable_text_class_init): g_type_class_peek_parent,
5448 not interface peek - so we finalize cleanly.
5450 * libspi/accessible.c (spi_accessible_new): kill debug.
5452 * test/test-simple.c (validate_accessible): fix ref.
5453 leak, print strings before freeing them; sigh, comment a
5454 chunk out due to strangeness.
5455 (validate_tree): unref the child after use.
5457 * cspi/spi_component.c (AccessibleComponent_getLayer):
5458 add missing break statement, switch on zlayer not the
5459 uninitialized retval.
5461 * cspi/spi_main.c (cspi_object_add): add assert, local ref
5462 before (possibly re-entering) remote unref.
5464 * test/simple-at.c (main): unref the desktop.
5466 * cspi/spi_accessible.c (cspi_accessible_is_a): move
5469 * cspi/spi_main.c (cspi_accessible_is_a): here to
5470 isolate bonobo API usage more.
5472 * libspi/registry.c (impl_accessibility_registry_register_application):
5473 prune bogus comment.
5475 2001-12-04 Michael Meeks <michael@ximian.com>
5477 * test/test-simple.c (validate_tree): upd.
5478 IndexInParent check to make it more lucid.
5479 (validate_accessible): dump the tree.
5481 * libspi/accessible.c (de_register_public_ref),
5482 (get_public_refs): impl.
5483 (spi_accessible_new): make more efficient & intuitive.
5484 Now IndexInParent check works.
5486 2001-12-04 Michael Meeks <michael@ximian.com>
5488 * cspi/spi-util.h: remove.
5490 * cspi/spi.h: move SPI_freeString here
5492 * libspi/component.c (impl_accessibility_component_get_layer):
5494 (impl_accessibility_component_get_mdi_z_order): ditto,
5495 return -1 on error - is this ok ?
5497 * test/test-simple.c (test_application): impl.
5499 * cspi/spi_accessible.c (Accessible_getApplication),
5500 (Accessible_isApplication): impl.
5502 * libspi/registry.c (spi_listener_struct_free): release
5503 the CORBA reference too.
5505 * libspi/accessible.c
5506 (impl_accessibility_accessible_get_parent): fix ref leak.
5508 * libspi/registry.c (spi_registry_new): make the registry
5509 immortal - we don't want it to go away ever.
5511 * libspi/application.c
5512 (spi_accessible_application_finalize): impl. cleanup.
5514 * cspi/spi_registry.c
5515 (deregisterGlobalEventListenerAll),
5516 (deregisterGlobalEventListener),
5517 (deregisterAccessibleKeystrokeListener): fix ref leak.
5519 * cspi/spi_main.c (SPI_init): remove redundant ref.
5521 * test/test-simple.c (unutterable_horror): impl. to force a
5526 (impl_accessibility_registry_deregister_application): release
5527 the application when we de-register it.
5529 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
5530 until we have the infastructure to get it right.
5532 2001-12-03 Michael Meeks <michael@ximian.com>
5534 * libspi/Makefile.am: only build eventlistener.[ch]
5536 * libspi/accessible.c
5537 (impl_accessibility_accessible_get_child_at_index): don't leak.
5539 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
5540 before we hit the idle handler.
5542 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
5543 debugging than exit.
5545 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
5547 * libspi/listener.c (impl_notify_event): check source
5548 not NIL before unref.
5550 * libspi/registry.c (impl_registry_notify_event): ditto.
5552 * libspi/eventlistener.c
5553 (impl_accessible_event_notify_event): unref the source.
5555 * libspi/accessibleeventlistener.c
5556 (impl_accessible_event_notify_event): unref the source.
5558 * idl/Event.idl: remove 'hash_id' attribute - of no
5561 * libspi/application.c (notify_listeners): upd list
5563 (spi_application_object_event_listener),
5564 (spi_application_toolkit_event_listener): upd to do correct
5568 (_registry_notify_listeners): update.
5569 (parse_event_type): this method also leaks like a sieve.
5570 (impl_accessibility_registry_deregister_global_event_listener):
5571 fix ETYPE_WINDOW case.
5573 * libspi/application.c
5574 (impl_accessibility_application_register_object_event_listener):
5577 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
5579 * libspi/hypertext.c (impl_getLink): ditto.
5581 * cspi/spi_main.c (cspi_object_add): remove
5582 bogus CORBA_Object_duplicate.
5584 * cspi/spi-listener-impl.c (cspi_event): dup/ref
5587 * cspi/spi_accessible.c
5588 (Accessible_getRelationSet): fix leak / referencing issue.
5590 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
5591 (cspi_object_add, cspi_object_unref): upd.
5592 (spi_object_release, get_live_refs): impl.
5593 (cspi_cleanup): simplify.
5595 * *.[ch]: s/boolean/SpiBoolean/
5597 * cspi/spi_accessible.c (role_names): actualy order so it
5598 corresponds with the enum !
5600 * test/test-simple.c (test_roles): check some role strings
5601 vs. enums to detect offset errors.
5603 2001-12-01 Michael Meeks <michael@ximian.com>
5605 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
5607 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
5609 (Accessible_getChildAtIndex): use cspi_add_check so we
5610 check the ev before using a (possibly) invalid value.
5612 * libspi/accessible.c
5613 (impl_accessibility_accessible_get_parent): don't segv
5616 * at-bridge/bridge.c (gtk_module_init): upd.
5617 (bridge_property_event_listener): don't leak strings
5619 (bridge_state_event_listener),
5620 (bridge_property_event_listener): don't use a static
5621 buffer in case of recursive event emission &
5622 re-enterancy - split out the swathe of cut and paste
5624 (emit_eventv): and fix 2 ref leaks here & comply to the
5626 (bridge_register_app): rename to
5627 (bridge_idle_init): this and kill arg parsing, split
5628 various inits & bonobo-activation registration to module
5629 init time, kill referencing error.
5630 (bridge_exit_func): fix the same leak.
5631 (bridge_focus_tracker): don't leak event structures
5633 (bridge_signal_listener): more leakage and cut & paste
5635 (bridge_key_listener): return the result - FIXME is
5636 this polarity correct ?
5637 (accessibility_keystroke_from_atk_key_event): rename
5638 (accessibility_init_keystroke_from_atk_key_event): and stop
5640 (gtk_module_init): return a value - not that it is checked by
5642 (bridge_key_listener): register my horror at casting between
5643 IDL defined structs.
5644 (bridge_get_registry): kill - not used.
5646 * cspi/spi_accessible.c (Accessible_getRole): make return const.
5648 * test/test-simple.c (test_roles): impl.
5649 (test_desktop, validate_accessible, validate_tree): impl.
5651 * cspi/spi_accessible.c (role_names): fixup bogus
5652 MAX_ROLES setup, make constants const for efficient linkage
5653 (AccessibleRole_getName): conform to coding style, make
5656 2001-11-30 Michael Meeks <michael@ximian.com>
5658 * cspi/spi.h: add missing prototype.
5660 * libspi/registry.c (spi_listener_struct_new): fix sig.
5662 * test/Makefile.am: add test-simple
5664 * test/test-simple.c: add
5666 * test/test.sh: add.
5668 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
5670 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
5671 do it straight - since otherwise we often get an activation race.
5673 [ work before Bill duplicated a chunk of it ... ]
5674 2001-11-30 Michael Meeks <michael@ximian.com>
5676 * libspi/keystrokelistener.c
5677 (spi_keystroke_listener_class_init): fixup arg
5680 * libspi/eventlistener.c
5681 (spi_event_listener_class_init): ditto.
5683 * tests/test.sh: add.
5685 * cspi/spi-listener-impl.h: update macros.
5687 * cspi/spi-listener-impl.c
5688 (cspi_event_listener_remove_callback): add
5689 correct pre-conditions.
5691 * cspi/spi_main.c (SPI_exit): guard vs. double
5692 exits, exit the mainloop nicely.
5693 (SPI_event_main): make more sense.
5694 (SPI_init): move the atexit evilness here so we
5695 always do it (yuck).
5696 (SPI_event_main): upd.
5698 * test/simple-at.c: update for listener changes.
5700 * registryd/registryd.c (main): prune kruft.
5702 * libspi/libspi.h: upd.
5704 * libspi/eventlistener.[ch]: rename broken macros.
5706 * libspi/accessibleeventlistener.[ch]: remove.
5708 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
5710 * test/test-simple.c: Add - automated tests.
5712 * cspi/spi-listener-impl.c (cspi_event),
5713 (cspi_key_event): add user_data to invoke.
5714 (cspi_keystroke_listener_finalize): impl.
5715 (cspi_keystroke_listener_class_init): upd.
5718 (createAccessibleEventListener),
5719 (AccessibleEventListener_addCallback),
5720 (createAccessibleKeystrokeListener),
5721 (AccessibleKeystrokeListener_addCallback): upd.
5723 * libspi/deviceeventcontroller.c
5724 (spi_device_event_controller_check_key_event): add public proto.
5727 (impl_accessibility_registry_deregister_global_event_listener):
5728 always init listeners.
5729 (_registry_notify_listeners): yes it is.
5731 * cspi/spi-listener-impl.c (cspi_key_event):
5733 (cspi_event_listener_finalize): impl.
5734 (cspi_event_listener_class_init): hook up.
5735 (event_handler_new, event_handler_free),
5736 (event_list_remove_by_callback): impl.
5737 (cspi_event_listener_remove_callback),
5738 (cspi_keystroke_listener_remove_callback),
5739 (cspi_keystroke_listener_add_callback),
5740 (cspi_event_listener_add_callback): upd.
5742 * libspi/keystrokelistener.c
5743 (keystroke_listener_object_finalize): kill
5744 (spi_keystroke_listener_class_init): upd.
5745 (spi_keystroke_listener_add_callback),
5746 (spi_keystroke_listener_remove_callback): kill,
5748 (impl_key_event): prune drasticaly.
5750 * libspi/eventlistener.c
5751 (spi_event_listener_add_callback),
5752 (spi_event_listener_remove_callback): kill, use
5754 (impl_accessible_event_notify_event): upd.
5755 (spi_event_listener_object_finalize): remove.
5757 * libspi/Makefile.am: use eventlistener.[ch]
5759 2001-12-04 Bill Haneman <bill.haneman@sun.com>
5761 * libspi/registry.c (_registry_notify_listeners):
5762 Changed listener loop iteration to use preferred convention.
5763 Got rid of string memory leaks caused be calling g_strconcat
5764 inside function calls.
5766 * libspi/registry.c (parse_event_type):
5767 Stopped g_strconcat memory leaks, free the g_strsplit return,
5768 g_strdup the split pieces when used, etc.
5770 2001-12-04 Bill Haneman <bill.haneman@sun.com>
5773 Change method 'compare' to return a 'difference set' rather than
5774 taking a StateSet as an out parameter (more Java-friendly).
5776 * idl/Accessible.idl:
5777 Added CORBA struct 'BoundingBox', to faciliate API changes below:
5779 * idl/Component.idl:
5781 Changed methods 'getExtents' and 'getImageExtents' in these
5782 interfaces to return a BoundingBox structure.
5783 (getPosition and getSize are redundant and possibly should be
5784 removed, rather than creating a corresponding Point struct.)
5786 * cspi/spi_component.c:
5787 Modify implementation of getExtents to reflect the above IDL
5792 Add (missing) AccessibleImage_getExtents () API.
5794 * docs/reference/cspi/at-spi-cspi-sections.txt:
5795 Added AccessibleImage_getImageExtents () to docs.
5797 2001-12-03 Bill Haneman <bill.haneman@sun.com>
5799 * idl/Component.idl:
5800 Added two methods, getLayer () and getMDIZOrder (), to reflect
5801 the new ATK methods atk_object_get_layer and
5802 atk_object_get_mdi_z_order. (Which arguably should be part of the
5803 AtkComponent API and AtkObject). Also added an enum,
5804 ComponentLayer, for the first method's return value.
5806 * libspi/component.c:
5807 Added implementations for these methods.
5809 * cspi/spi_component.c:
5811 Added cspi binding methods for above,
5812 AccessibleComponent_getLayer() and
5813 AccessibleComponent_getMDIZOrder().
5814 Added cspi enum 'AccessibleComponentLayer'.
5816 * docs/reference/cspi/at-spi-cspi-sections.txt:
5817 Added above methods to docs.
5821 Changed typedef for 'boolean' type (and all references to it) to
5822 SPIBoolean, to avoid keyword clashes with C++.
5825 Changed usages of 'boolean' to SPIBoolean.
5827 * test/keysynth-demo.c:
5828 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
5829 app), except where SPIBoolean is required by the callbacks API.
5831 2001-12-02 Bill Haneman <bill.haneman@sun.com>
5833 * cspi/spi_registry.c:
5834 Removed obsolete X event loop for passive keygrabs (which now
5837 * registryd/registryd.c:
5838 Removed unnecessary call to gdk_init() [cruft]. This also allows
5839 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
5842 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5844 * docs/reference/cspi:
5845 Included docs for SPI_freeString in generated documentation.
5848 Renamed spi_freeString to SPI_freeString, for consistency. Added
5849 documentation for this function.
5852 Renamed spi_freeString to SPI_freeString, for consistency.
5853 Removed obsolete method declaration string_from_corba_string.
5855 * test/keysynth-demo.c:
5856 Small tweak to comments.
5859 Stopped leaking the strings returned from CSPI.
5861 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5863 Merged Michael's branch (see his ChangeLog entries below).
5865 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
5866 bridge is alive, release on exit.
5868 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
5869 Fix type check macro.
5872 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
5875 Added is_gnome_app static, and method cspi_is_gnome_app(),
5876 so we can call the appropriate shutdown routine at exit in SPI_exit.
5878 * cspi/spi_main.c (cspi_object_ref):
5879 Duplicate the corba object passed in, since we're keeping it around.
5881 * cspi/SPI_exit.c, cspi_cleanup:
5882 Moved the releasing of the live refs to its own function, so we
5883 can put it in g_atexit (). Call the appropriate shutdown API
5884 depending on whethe calling client is a gnome app or not
5885 (bonobo_main_quit or CORBA_ORB_shutdown).
5887 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
5888 Unref the listener when this method is called, after
5889 deregistration. Updated the API docs to note this behavior.
5891 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
5892 Bugfixes: Ref the bonobo object when returning a parent or child
5893 reference, or an AccessibleRelation. Generally made sure
5894 BonoboObject refcount is incremented whenever we return an
5897 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
5898 Fixed typo/bug in signal declaration.
5900 * libspi/accessibleeventlistener.h:
5903 * libspi/application.c (spi_application_new):
5904 Fixed leak in initialization.
5907 Remembered to increment bonobo-object refcount when returning
5908 children (applications) from desktop object.
5909 Added (empty) finalize method.
5911 * libspi/deviceeventcontroller.c:
5912 Hold a ref to listeners inside DEControllerKeyListeners.
5913 Added dec_key_listener_free() method. Use prepend instead of
5914 append in key_listener list. Fixed some refcount madness and
5915 leaks in the listener registration/deregistration - deregistration
5916 now calls dec_key_listener_free() on listeners, and on the
5917 temporarily constructed dec_key_listener() used to perform the search/match.
5919 * libspi/hypertext.c (spi_hypertest_finalize):
5920 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
5921 class. Also fixed spi_hypertext_interface_new() and
5922 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
5924 * libspi/hypertext.h:
5925 Removed pointless and duplicate AtkObject pointer from
5928 * libspi/keystrokelistener.c:
5929 Fixed incorrect type of keystroke_listener_parent_class,
5930 renamed keystroke_listener_object_finalize to
5931 spi_keystroke_listener_object_finalize.
5932 Fixed typo in signal declaration
5933 (spi_keystroke_listener_class_init).
5935 * libspi/registry.c:
5936 Added funcsions spi_listener_struct_new() and
5937 spi_listener_struct_free() to help with memory management issues.
5938 We also now use these methods instead of gnew + poking stuff into
5939 the struct, and to decrement listener counts/free the listeners
5940 when deregistering them.
5941 Fix more refcount bugs in getDesktop() and
5942 getDeviceEventController().
5945 De-ref the desktop after enumerating the applications. Explicitly
5946 decrement the refcounts on the created listeners on exit (using
5947 _unref for keystroke listeners, and via the
5948 deregisterGlobalEventListenerAll command for other event
5951 2001-11-27 Michael Meeks <michael@ximian.com>
5953 * cspi/spi-listener.h: fixup enum.
5955 2001-11-27 Michael Meeks <michael@ximian.com>
5957 * cspi/spi-listener-impl.c (cspi_event_listener_new),
5958 (cspi_keystroke_listener_new): Use the cspi variants.
5960 2001-11-26 Michael Meeks <michael@ximian.com>
5962 * test/keysynth-demo.c: fix 2 compile warnings, missing
5965 * test/simple-at.c (report_focussed_accessible),
5966 (report_focus_event, report_button_press),
5967 (check_property_change, is_command_key),
5968 (report_ordinary_key_event, report_command_key_event): upd.
5970 * util/mag_client.h: include pre-requisites.
5972 * libspi/accessibleeventlistener.c
5973 (spi_event_listener_object_finalize): free any lingering
5976 * libspi/keystrokelistener.c
5977 (keystroke_listener_object_finalize): ditto.
5979 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
5980 callbacks, with cspi types.
5982 * cspi/spi_event.c (createAccessibleEventListener): chain to
5983 (AccessibleEventListener_addCallback): here.
5984 (createAccessibleKeystrokeListener): chain to
5985 (AccessibleKeystrokeListener_addCallback): here.
5987 * libspi/keystrokelistener.c
5988 (spi_keystroke_listener_class_init): add signal.
5989 (impl_key_event): emit the event.
5990 (boolean_handled_accumulator): impl.
5991 (marshal_BOOLEAN__POINTER): add, gack.
5993 * libspi/accessibleeventlistener.c
5994 (spi_event_listener_class_init): add signal.
5995 (impl_accessible_event_notify_event): emit the signal &
5996 make the loop efficient.
5997 (spi_event_listener_add_callback): prepend the callback.
5999 * libspi/accessibleeventlistener.h: add an 'event' signal,
6000 decl type on callback.
6002 * libspi/keystrokelistener.h: ditto.
6004 * cspi/spi-listener.h: make methods typesafe and
6005 make them use the new event typedefs.
6007 * test/simple-at.c (report_focussed_accessible):
6008 include mag_client.h
6009 Use *(void *)text_interface not the other thing.
6011 * configure.in: add gtk to registryd bits - since we use
6014 * util/magnifier.c: include libbonobo.h
6016 2001-11-25 Bill Haneman <bill.haneman@sun.com>
6018 * test/keysynth-demo.c:
6019 Turned this into a simple scanning keyboard, to demonstrate the
6020 use of g_timeout_add () as a means of creating timers for
6021 scanning, and the use of GtkStyle for visually indicating when
6022 virtual keyboard elements are selected.
6024 keysynth-demo now listens to any keyboard keys with zero-valued
6025 keycodes (i.e. 'unused' keys) and interprets them as
6028 Reworked the shiftlatch code so that shift-down state isn't held
6029 for long periods (it's only synthesized immediately prior to
6030 the keysynth event it's modifying). Note that shiftlatch in this
6031 demo is a convenience, not intended to take the place of AccessX
6032 which is the better choice for getting 'sticky' modifier keys.
6034 * libspi/deviceeventcontroller.c:
6035 * at-bridge/bridge.c:
6036 * cspi/spi_registry.c:
6037 Removed some debug print stuff, and put other verbosity in #ifdef
6042 Implemented some more of the magnifier IDL for the simple
6043 magnifier: namely, getZoomRegionParams.
6044 Added mag_x and mag_y members to MagnifierData struct, aid of this
6046 Added GtkWindow::realize signal handler to magnifier, to keep it
6047 from receiving keyboard focus from the WM.
6049 2001-11-23 Mark McLoughlin <mark@skynet.ie>
6051 * cspi/spi-private.h: my guess at what michael forgot
6052 before he ran off to NZ :-)
6054 2001-11-23 Michael Meeks <michael@ximian.com>
6056 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
6057 comment out non existant method invoke so we link.
6059 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
6060 use bonobo_exception_get_text for more friendly warnings.
6062 * cspi/spi.c (Obj_Add): move into spi_main & rename
6063 spi_object_add; kill spi.c
6065 * cspi/spi_registry.c
6066 (deregisterGlobalEventListener),
6067 (deregisterGlobalEventListenerAll),
6068 (registerGlobalEventListener): fix exception leaks.
6070 * cspi/spi_main.c (spi_exception): impl. helper, so we
6071 don't leak exceptions.
6073 * cspi/spi_selection.c
6074 (AccessibleSelection_deselectSelectedChild): return the
6077 * cspi/spi_main.c (spi_ev): impl; hack - gack.
6078 (spi_registry): ditto.
6079 (SPI_init): guard against double inits.
6081 * cspi/*.c: use spi_ev (), and spi_registry () where
6082 appropriate - a temporary hack until we have something
6083 better. Use spi_object_add
6085 2001-11-22 Michael Meeks <michael@ximian.com>
6087 * cspi/Makefile.am: re organise, install the headers.
6089 * cspi/*.h: add G_BEGIN/END_DECLS
6091 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6094 Added non-preemptive keylistener for key events with no modifiers
6095 and shift-only modifier.
6097 * libspi/keystrokelistener.c:
6098 Removed some verbose diagnostics printout.
6100 * cspi/spi_registry.c:
6101 Fixed a bug that caused all key listeners to be registered as
6104 * libspi/deviceeventcontroller.c:
6105 Fixed bug that caused XGrabKey (preemptive key grab) to be called
6106 for non-preemptive key masks.
6109 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6111 * docs/reference/idl/at-spi-idl-docs.sgml:
6112 * docs/reference/idl/at-spi-idl-sections.txt:
6113 * docs/reference/idl/at-spi-idl-overrides.txt:
6114 Added missing files.
6116 * docs/reference/Makefile.am:
6117 removed idl from SUBDIRS until we can figure a way to get gtk-doc
6118 to scan the IDL files :-(
6123 Added .cvsignore files.
6125 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6127 * libspi/deviceeventcontroller.c:
6128 * libspi/keystrokelistener.c:
6130 * cspi/spi_registry.c:
6131 Added filters for KeySets, KeyEventSeq, and event types to key
6132 event dispatching, so listeners should only receive those events
6133 that they requested :-)
6135 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6140 * docs/reference:Makefile.am:
6141 * docs/reference/cspi:
6142 * docs/reference/cspi:Makefile.am:
6143 * docs/reference/cspi:tmpl:
6144 * docs/reference/cspi:tmpl:*.sgml:
6145 * docs/reference/idl:
6146 * docs/reference/idl:Makefile.am:
6147 * docs/reference/idl:at-spi-idl-sections.txt:
6148 * docs/reference/idl:at-spi-idl-docs.sgml:
6149 * docs/reference/idl:tmpl:
6150 * docs/reference/idl:tmpl:*.sgml:
6152 Restructured docs directory to allow separate 'reference' docs
6153 section, and forked idl and cspi docs. Added the sgml template
6154 files to CVS. Added the first sections/structural sgml for the
6157 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
6159 * configure.in, libspi/Makefile.am: find libXtst.
6161 2001-11-21 Michael Meeks <michael@ximian.com>
6163 * test/accessx-gui.c: s/spi_value/value/ - doh.
6165 * libspi/base.[ch]: add.
6167 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6169 * idl/Accessible.idl:
6170 * idl/Application.idl:
6173 Started gtk-doc cleanup on IDL.
6175 * libspi/deviceeventcontroller.c:
6176 Added and connected non-preemptive key notification from the
6177 toolkits (in addition to the pre-emptive support from XServer
6178 which we had before, but which causes 'focus flashing'). Filters
6179 are presently limited to key modifiers and global/non-global,
6180 KeySets are presently ignored, as are KeyEvent masks.
6182 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
6183 structs into the persistant structure rather than just storing
6184 pointers to things that might not persist across servant
6187 The XGrabKey call now does async keygrabs, because synchronous
6188 ones were deadlocking with GDK_event code in a very nasty way.
6190 Added boolean to internal method notify_keylisteners, to indicate
6191 whether the event came from the 'toolkit source' or the 'global
6192 (XServer) source' - this is used in the notification process to
6193 determine which listeners to send the event to.
6195 deviceeventcontroller.c is now warning-free.
6197 * libspi/registry.c:
6198 Fixed regression in application de-registration.
6199 Also fixed some really brain-dead weirdness having to do with
6200 event dispatching - event structs are now duplicated before being
6201 re-marshalled in the dispatch to listeners. This also fixes a
6202 Solaris build problem.
6205 2001-11-20 Michael Meeks <michael@ximian.com>
6208 (impl_accessibility_registry_deregister_global_event_listener):
6211 * libspi/deviceeventcontroller.c
6212 (spi_device_event_controller_check_key_event): return
6213 FALSE on no virtual method.
6215 * libspi/*..h: make includes work on a correctly pathed install.
6217 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
6219 * libspi/application.h: kill unused ( and whacked out )
6220 gboolean *spi_application_set_id (AtkObject *app, long id);
6222 2001-11-20 Michael Meeks <michael@ximian.com>
6224 * libspi/*.[ch]: further convert to bonobo's type func
6225 macros, remove redundnant casts etc.
6227 * libspi/text.c s/accessibility_text/spi_text/g,
6228 re-order to de-cruft.
6230 * libspi/hypertext.c: re-order to kill a huge slew
6231 of redundant forward decls.
6233 * libspi/relation.c: ditto.
6235 * libspi/image.c: ditto.
6237 * */.cvsignore: update
6239 2001-11-20 Michael Meeks <michael@ximian.com>
6241 * libspi/deviceeventcontroller.c
6242 (_controller_register_with_devices): use g_getenv,
6243 kill stdlib.h include.
6245 * libspi/keystrokelistener.c
6246 (spi_keystroke_listener_get_type): kill
6247 (spi_keystroke_listener_class_init),
6248 (spi_keystroke_listener_init): rename to this.
6250 * libspi/text.c (impl_getAttributes): fix warning / bug.
6252 * libspi/*.[ch]: more headers, includes and over commenting.
6254 2001-11-20 Michael Meeks <michael@ximian.com>
6256 * libspi/*.[ch]: fixup headers, includes and over commenting.
6258 * libspi/image.c (impl__get_imageDescription): const
6259 correctness warning fix. remove redundant casting.
6261 * libspi/table.c (impl_getRowDescription): ditto.
6262 (impl_getColumnDescription): ditto.
6264 * libspi/libspi.h: add.
6266 2001-11-19 Michael Meeks <michael@ximian.com>
6268 * libspi/editabletext.c (impl_setAttributes): fix warnings.
6270 * libspi/component.c (accessibility_component_get_type):
6271 rename to (spi_component_get_type): and macroify.
6272 (accessibility_component_init): rename to
6273 (spi_component_init): this
6274 (accessibility_component_class_init): rename to
6275 (spi_component_class_init): this
6277 * libspi/action.c (spi_action_get_type): kill, use the macro.
6279 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
6282 * libspi/application.c (spi_application_object_event_listener),
6283 (impl_accessibility_application_register_object_event_listener):
6284 warning fixes / const understanding updates.
6286 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
6289 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6291 * libspi/spi_accessible.c: Added docs and C bindings for
6292 AccessibleStateSet. (No implementations yet). Documentation
6293 coverage for C bindings now 100%. Made docs for event listeners
6298 boolean notifyListenersSync (in DeviceEventListener listener,
6299 in DeviceEvent event);
6301 oneway void notifyListenersAsync (in DeviceEventListener listener,
6302 in DeviceEvent event);
6304 Added DeviceEventListener and DeviceEvent structs (may deprecate
6305 KeyStroke and KeystrokeListener in favor of this generic
6306 event/listener framework for devices).
6308 * libspi/deviceeventcontroller.c:
6310 Changed some key listener code to take masks, etc., and paved the
6311 way for integration of toolkit/non-preemptive key events. Changed
6312 signatures of some internal methods.
6314 * at-bridge/bridge.c:
6315 Fixed regression connecting to interface signals, apparently
6316 caused by GTK+ changes.
6318 Added an internal bridge_state_listener to deal with
6319 property-change:accessible-state signals.
6321 Changed the key_listeners GList to store structs (including masks,
6322 etc.) instead of just CORBA_Objects (required for full
6323 implementation of key listener API).
6325 Connected the bridge to all currently supported Atk signals.
6326 Events now supported:
6327 object:property-change
6328 object:property-change:accessible-name
6329 object:property-change:accessible-state
6330 object:property-change:accessible-description
6331 object:property-change:accessible-parent
6332 object:property-change:accessible-value
6333 object:property-change:accessible-role
6334 object:property-change:accessible-table-caption
6335 object:property-change:accessible-table-column-description
6336 object:property-change:accessible-table-column-header
6337 object:property-change:accessible-table-row-description
6338 object:property-change:accessible-table-row-header
6339 object:property-change:accessible-table-summary
6340 object:children-changed
6341 object:visible-data-changed
6342 object:selection-changed
6343 object:text-selection-changed
6345 object:text-caret-moved
6347 object:row-reordered
6349 object:column-inserted
6350 object:column-reordered
6351 object:column-deleted
6352 object:model-changed
6354 2001-11-16 Bill Haneman <bill.haneman@sun.com>
6356 * libspi/hyperlink.c,h:
6357 Fixed some broken stuff in hyperlink.
6359 * libspi/relation.h:
6360 * libspi/relation.c:
6361 * cspi/spi_accessible.c:
6362 Initial implementations of AccessibleRelation methods, and docs.
6364 * libspi/accessible.c:
6365 Fixed a bug that caused SEGV if an accessible
6366 object's description is NULL, and a client
6367 requests it. An empty string is now returned.
6369 * cspi/spi_editabletext.c:
6370 * cspi/spi_hypertext.c:
6372 * cspi/spi_hyperlink.c:
6376 Doc coverage now 95%.
6378 2001-11-16 Bill Haneman <bill.haneman@sun.com>
6380 One last namespacing revision:
6381 * libspi/accessibleeventlistener.[ch]:
6382 Renamed SpiAccessibleEventListener to SpiEventListener,
6383 (no need for two namespaces ;-)
6385 And lots of documentation fixes:
6387 * docs/at-spi-docs.sgml:
6388 Fixed 'underscore vs. hyphen' bug that was preventing
6389 the gtk-doc API docs from being automatically generated.
6392 * cspi/spi-listener.h
6394 * cspi/spi_accessible.c
6396 * cspi/spi_application.c
6397 * cspi/spi_component.c
6398 * cspi/spi_editabletext.c
6400 * cspi/spi_hypertext.c
6402 * cspi/spi_registry.c
6403 * cspi/spi_selection.c
6407 * docs/at-spi-docs.sgml
6408 * docs/at-spi-sections.txt
6410 Added and fixed up gtk-doc documentation in cspi.
6412 Interfaces now (fully) documented (subject to revision and enhancement):
6414 Event Listener Support
6416 AccessibleApplication
6420 AccessibleEditableText
6427 AccessibleRelationSet
6432 2001-11-14 Bill Haneman <bill.haneman@sun.com>
6434 * at-bridge/bridge.c:
6435 Initial work for toolkit-level key snooper connection by bridge.
6440 New typedefs and fixes to support new namespacing, and cleaner
6441 separation of cspi bindings from libspi bonobo implementation.
6442 Removed inconsistent and extraneous Spi* namespace prefix that
6443 had crept into cspi headers.
6444 Lots of comment fixes that sed had missed.
6446 * cspi/spi-roletypes.h:
6447 * cspi/spi-statetypes.h:
6448 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
6449 to AccessibleRoleType.
6451 * libspi/accessibleeventlistener.h:
6452 Fixed minor namespacing weirdness.
6454 * libspi/deviceeventcontroller.c:
6455 Reordered some internal API for device listeners.
6456 Changed the key registry final boolean to 'is_system_global'
6457 rather than 'is_synchronous', which is more descriptive of its
6459 Added spi_device_event_controller_new().
6460 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
6462 * libspi/keystrokelistener.[ch]:
6463 Namespaced KeystrokeListener to SpiKeystrokeListener.
6464 Changed uses of keymasks to use SPI_ prefix, and did other
6467 * libspi/keymasks.h:
6468 Namespaced keymask constants with SPI_ prefix.
6470 * libspi/registry.c:
6471 Some warning fixes, and knock-on fixes from namespace changes.
6474 Added rules for accessx-gui test program.
6476 * test/accessx-gui.c:
6477 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
6478 utility. It doesn't actually use at-spi, but it's still cool and
6481 * test/keysynth-demo.c:
6485 Fixes so that these test clients work properly with the namespaced
6486 libraries. (Incompletely tested for technical reasons, fixes may follow)
6489 2001-11-13 Michael Meeks <michael@ximian.com>
6491 * libspi/application.c
6492 (impl_accessibility_application_get_version),
6493 (impl_accessibility_application_get_toolkit_name):
6495 (impl_accessibility_application_set_id),
6496 (impl_accessibility_application_get_id): remove
6497 redundant casting code.
6499 * libspi/action.c (impl_getDescription): fix warnings.
6501 * libspi/accessible.c
6502 (impl_accessibility_accessible_get_parent),
6503 (impl_accessibility_accessible_get_child_at_index),
6504 (impl_accessibility_accessible_get_state),
6505 (impl_accessibility_accessible_get_relation_set):
6506 warning fixes & include action.h
6508 2001-11-13 Michael Meeks <michael@ximian.com>
6510 * *.[ch] fix bits I screwed up:
6512 s/([^ \tb(\*\&\?\",])spi_/\1/g;
6513 s/([^ \tb(\*\&\?\",])Spi/\1/g;
6515 2001-11-13 Michael Meeks <michael@ximian.com>
6517 * *.[ch] Namespace libspi into spi_ and Spi.
6519 2001-13-11 Michael Meeks <michael@ximian.com>
6521 * Makefile.am: dist & install at-spi-1.0.pc
6523 * libspi/Makefile.am: install into at-spi-1.0
6525 * idl/Makefile.am (idldir): install into at-spi-1.0
6527 * at-spi-1.0.pc.in: add.
6529 * configure.in: build it.
6531 2001-11-12 Bill Haneman <bill.haneman@sun.com>
6533 * test/keysynth-demo.c:
6534 Use a 'realize' signal-handler to set the WM properties for
6535 the virtual keyboard, rather than making it a "POPUP" type
6536 override-redirect window (thanks to anders carlsson for that
6539 2001-11-11 Bill Haneman <bill.haneman@sun.com>
6542 * test/keysynth-demo.c:
6543 Added new test of key synthesis, which creates a simple
6544 (mouse-operated) onscreen keyboard. It inserts key events into
6545 the currently-focused window, thus it does not grab keyboard focus
6548 * cspi/spi_registry.c:
6549 Added C binding for AT-SPI generateKeyEvent.
6551 * libspi/deviceeventcontroller.c:
6552 Added call to XFilterEvent so that key listener works with XIM (we
6553 hope). Added event_synth_type to generateKeyEvent, so that we can
6554 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
6555 synthesize a press/release pair for KeySyms.
6557 2001-11-09 Bill Haneman <bill.haneman@sun.com>
6559 * libspi/Makefile.am:
6560 * registryd/Makefile.am:
6561 (temporary) hack to include libXtst in libspi and registryd.
6562 (Needed for keystroke synthesis, see below).
6565 Improved API for registerKeystrokeListener, in accordance with
6566 discussions with Gnopernicus team and X server research.
6568 * libspi/registry.c:
6569 * libspi/deviceeventcontroller.c:
6570 * libspi/accessible.c:
6571 * libspi/keystrokelistener.c:
6572 Changes and fixes to support keylisteners for potentially
6573 consumed key events (that is, 'passive grabs').
6574 Added implementation for generateKeyEvent() [untested].
6577 Changes to registerKeystrokeListener() API, as above.
6578 Added deregisterGlobalEventListenerAll(), and
6579 deregisterKeystrokeListener(), which are needed for clean exit of
6581 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
6582 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
6584 * cspi/spi_registry.c:
6585 Added implementations of function prototypes mentioned above.
6587 * registryd/registryd.c:
6588 Added the key listener event source as a g_timeout(), to allow
6589 receipt of key events that are not caught by GDK (since GDK
6590 doesn't support passive keygrabs, this was necessary).
6593 Changed to attach a keylistener to 'Alt' keys, and
6594 respond to the following keycommands: Alt-M (toggle magnifier);
6595 Alt-F (toggle speech); Alt-Q (quit).
6596 Added an exit routine to deregister the listeners, and a key
6597 listener that prints some key info to the console when a key
6598 matches the listener mask (and is thus received by the listener).
6600 * util/idl/Magnifier.idl:
6601 Changes to magnifier API to support multiple zoom regions,
6602 non-uniform scaling in x and y, markDirty, and a host of other
6603 features that would be useful to magnification.
6606 * util/mag_client.c:
6607 * util/mag_client.h:
6608 * util/mag_control.c:
6610 Source code changes to support the above IDL changes.
6613 As above, and also changes to use a (slower) generic conversion
6614 path for colormap conversions, since the fast RGB conversions have been
6615 reported to fail for 16-bit displays.
6617 2001-10-26 Michael Meeks <michael@ximian.com>
6619 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
6621 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
6623 * at-bridge/Makefile.am: fix LDFLAGS.
6625 2001-10-09 Bill Haneman <bill.haneman@sun.com>
6627 * at-bridge/bridge.c:
6628 Re-worked listeners for toolkit events, now we have signal
6629 and property listeners. Added a private method
6630 register_atk_event_listeners(), which registers with the
6631 various atk and gtk signals we need to monitor in order to emit
6633 Added emission hook for AtkObject:property-change events, to
6634 support the 'property listeners'.
6635 Fixed some alloc()s of Accessibility_Event structs to use CORBA
6638 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
6639 which emit warnings and exit, respectively, if CORBA errors occur
6640 during remote calls, and we now use these methods to check most of
6641 our CORBA calls in the C bindings.
6643 * cspi/spi_accessible.c:
6644 Changed AccessibleSelection_refSelectedChild() to
6645 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
6646 now increment refcounts.
6648 * cspi/spi_component.c:
6649 Fixed some long pointer casts (dangerous!) to pass pointers to
6650 CORBA_longs of the proper type to the CORBA stubs, and copy the
6651 data into the longs that were passed into the C bindings code.
6653 * at-bridge/bridge.c:
6655 * libspi/accessible.c:
6656 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
6657 hyperlinks, AtkHyperlink is an object type.
6659 * libspi/application.c:
6660 Added various conversions to and from "generic" event types and
6661 atk-specific types; this is really part of the 'bridge'
6662 implementation but is valid for all AtkObject-based accessibility
6665 * libspi/editabletext.c:
6666 Fixed nasty bug wherein editable text's finalize method was
6667 unref'ing tha AtkObject reference that the text parent class was
6668 about to unref _again_. There was also a nasty inheritance bug
6669 that meant that the AccessibleEditableText class was corrupt.
6671 * libspi/selection.c:
6672 Provided implementations for some selection API that was broken.
6674 * idl/Application.idl:
6675 Added registerObjectEventListener () method.
6678 Fixed a number of return values that were Bonobo_Unknowns from
6679 bonobo_object_corba_objref(), which I
6680 forgot to dup before returning. Changed instances of
6681 bonobo_object_corba_objref (bonobo_object(o)) to
6682 BONOBO_OBJREF(o), for concision and clarity.
6684 2001-10-13 Louise Miller <louise.miller@sun.com>
6686 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
6687 idl/Event.idl, idl/Registry.idl
6688 Changed these files to include Bonobo_Unknown.idl instead
6691 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
6693 * libspi/component.c libspi/component.h:
6694 Fixed typo. Added assertions for object checks in
6695 AccessibleComponent code.
6697 2001-10-09 Bill Haneman <bill.haneman@sun.com>
6699 * idl/Accessible.idl:
6700 Added 'isEqual (Accessible *object)'
6701 method for Accessible. (Not Yet Implemented).
6704 Changed signature of registerKeystrokeListener() to
6705 take a KeySet and KeyEventSeq so that specific keys and event
6706 types could be requested for monitoring, and added a flag
6707 is_synchronous so that either synchronous or asynchronous
6708 notification could be requested. (However this is not all
6709 implemented yet). This also meant adding two new typedefs,
6710 KeyEventSeq and KeySet.
6713 Added two new relations, RELATION_TOOLTIP_FOR and
6714 RELATION_LEAFNODE_OF.
6717 Added new state, STATE_HAS_TOOLTIP.
6719 * libspi/text.c, editabletext.c:
6720 Added new assertions to all casts of bonobo-objects from
6721 CORBA servants, to prevent Text API calls on non-text objects.
6722 Changed suspect casts of int-pointer types, so that we
6723 always send a valid CORBA_long pointer to the CORBA APIs that use
6724 in/out long parameters. We then have to copy from the CORBA_long
6725 into the regular long or int for return to the C bindings, or
6726 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
6729 * libspi/deviceeventcontroller.c:
6730 Cleaned these sources up.
6732 Changed return type for getCharacterAtOffset to
6733 CORBA_unsigned_long, to allow for 32-bit characters.
6736 2001-10-08 Bill Haneman <bill.haneman@sun.com>
6740 Fixed 'make dist' so that distro compiles...
6741 * libspi/keymasks.h:
6743 * cspi/spi-listener.c:
6744 KeystrokeListenerCB now returns a boolean.
6746 Added KeyEventType struct, and KeyStroke.
6747 Also added createKeystrokeListener(),
6748 KeystrokeListener_addCallback(),
6749 KeystrokeListener_removeCallback(), and added a keymask to
6750 registerKeystrokeListener().
6751 * cspi/spi_accessible.c:
6752 Changed numerous return types for interfaces from
6753 AccessibleComponent to Accessible<InterfaceName>; this was
6754 probably a cut-and-paste error.
6756 Implementations of new KeystrokeListener api (from spi.h,
6759 Changes to key modifier mapping.
6760 Created ControllerEventMask struct.
6761 Made DeviceEventController derive from Bonobo::Unknown.
6763 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
6764 * libspi/deviceeventcontroller.c:
6765 Added a number of new internal (private) methods.
6766 * libspi/editabletext.c:
6767 * libspi/editabletext.h:
6768 Fixed a number of bugs related to the fact that
6769 editabletext inherits from text. Fixed the EditableText struct,
6770 the init() call, and use correct casts when calling Text methods
6771 from an EditableText object. Removed (duplicate) atko from the
6772 EditableText structure, we use the one in the parent Text
6773 structure via the casts mentioned above.
6774 * libspi/keystrokelistener.[ch]:
6775 * libspi/registry.c:
6776 Changes in support of keyboard handling (above).
6778 Keyboard handling, though partly functional, is still not
6779 recommended for at-spi client use as there is considerable
6780 work yet to be done.
6783 Changed some places where pointers to various int types
6784 are cast to be pointers to CORBA_long types and vice-versa:
6785 pointer casting is not safe so we pass pointers of the correct
6786 types and then cast the result before putting it into the target
6789 * libspi/text.h: minor typos corrected.
6791 We now speak not only the name of a Text element, but the
6792 first sentence of its content, when it receives focus.
6793 I also changed the text compression to 75% from 50%.
6794 * util/Accessibility_Util.server.in:
6795 Changed the default magnifier type to be a 3x vertical
6796 splitscreen magnifier (was previously a 2x horizontal one).
6798 2001-10-03 Bill Haneman <bill.haneman@sun.com>
6800 * libspi/keystrokelistener.h:
6801 * libspi/keystrokelistener.c:
6802 Initial functional implementations of KeystrokeListener.
6805 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
6807 Fixed string handling for NULL strings in libspi.
6808 Added spi_freeString to free strings returned by C bindings.
6810 2001-09-30 Bill Haneman <bill.haneman@sun.com>
6812 * libspi/keystrokelistener.h:
6813 * libspi/keystrokelistener.c:
6814 Began (no-op) implementations of KeystrokeListener
6816 * libspi/deviceeventcontroller.c:
6817 * libspi/deviceeventcontroller.h:
6818 Began creating implementations of DeviceEventController,
6819 to handle keystroke and mouse event listening and
6821 * libspi/accessible.c:
6822 Stubbed-in the implementations for
6823 Accessibility_Accessible_getState and
6824 Accessibility_Accessible_getRelationSet.
6825 * libspi/registry.c:
6826 Improved de-registration process and fixed some bugs,
6827 deregistration now works correctly.
6829 Added initialization of applications list (to NULL).
6831 Reduced speech compression from 0.5 to 0.7, for demo.
6832 Changed call to gdk_window_set_decorations()
6833 to gtk_window_set_decorated().
6834 * at-bridge/bridge.c:
6835 Bridge now deregisters when app exits, via
6836 registration of a cleanup function
6837 with the g_atexit() call.
6838 Required making 'app' static, renamed 'this_app'.
6839 Fixed broken use of bonobo_init, passing argv wrongly.
6841 2001-09-27 Bill Haneman <bill.haneman@sun.com>
6845 Created a new directory for
6846 accessibility-related utilities, primarily for
6847 testing and demo purposes, but with possible
6854 Onscreen magnifier utility that
6855 is implemented as a bonobo service.
6857 * util/mag_client.c:
6858 * util/mag_client.h:
6859 Client-side support (simple C bindings)
6860 for Magnification service
6862 * util/mag_control.c:
6863 Client program example for
6864 Magnification service
6866 * util/Accessibility_Magnifier.server.in:
6867 Bonobo-activation file for the
6868 Magnification service.
6871 * util/idl/Magnifier.idl:
6872 IDL defining the bonobo Magnification
6876 Modifications to use the bonobo-activated magnifier
6877 above, in place of trying to connect to an existing
6878 magnifier that uses socket-listening IPC.
6880 If env variable MAGNIFIER is set, a magnifier service
6881 will be started if one does not exist.
6883 2001-09-25 Bill Haneman <bill.haneman@sun.com>
6885 * at-bridge/bridge.c:
6886 applied patch from Marc to build and run
6887 against new glib and gtk+ (seemed like a change
6888 to bonobo_init signature was made ?)
6890 made festival-server support turned off by default.
6891 Added support for a simple magnifier (off by default)
6892 which will be added to a 'util' directory later.
6893 * at-bridge/Makefile.am:
6894 Changed "application.h" header from a 'source'
6895 to a 'dependency' of libat-bridge.
6897 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6906 Added interface implementation c files to list of
6907 includes so they are included in libcspi.
6910 Changed prototype of AccessibleAction_doAction to return a
6912 Changed prototype of AccessibleTable_getCaption to
6913 return an Accessible.
6914 Changed prototype of AccessibleTable_getSelectedRows
6915 and AccessibleTable_getSelectedColumns to
6916 return a long (returns the number of selected rows
6917 or columns respectively).
6918 Changed name of AccessibleText_refRunAttributes to
6919 AccessibleText_getAttributes.
6920 Changed prototype of AccessibleText_getCharacterExtents to
6921 return a void rather than a boolean.
6922 Added support for a AccessibleCoordType parameter
6923 specifying what type of coordinates are desired.
6924 Added an AccessibleCordType parameter to
6925 AccessibleText_getPointAtOffset.
6927 * cspi/spi_accessible.c:
6928 Added code to return the outstanding interfaces from
6929 Accessible_queryInterface.
6931 * cspi/spi_action.c:
6933 Corrected call to getNActions to call the c binding
6936 * cspi/spi_editabletext.c:
6938 Changed name from setRunAttributes to setAttributes.
6940 * cspi/spi_hyperlink.c:
6942 Changed call to getNAnchors to correctly call the c
6943 binding for an attribute.
6945 * cspi/spi_hypertext.c:
6947 Changed getImageDescription to correctly call the
6948 binding for an attribute.
6950 * cspi/spi_selection.c:
6951 Changed getNSelectedChildren to correctly call the c
6952 binding for the attribute.
6953 Changed refSelectedChild to getSelectedChild.
6957 Changed getCaption to return an Accessible.
6958 Fixed calls which retrieve attributes.
6959 Changed refAt to getAccessibleAt.
6960 Changed getNSelectedRows and getNSelectedColumns to
6964 Changed getCharacterExtents and getPointAtOffset to accept an
6965 AccessibleCoordType.
6967 Changed calls which retrieve attributes.
6968 Changed refRunAttributes to getAttributes.
6973 * idl/Hyperlink.idl:
6974 Changed n_anchors attribute to nAnchors to keep naming
6975 convention consistent.
6978 Made Table inherit from Bonobo::Unknown.
6979 Added nSelectedColumns and nSelectedRows attributes.
6982 Made Value inherit from Bonobo::Unknown.
6984 * libspi/hyperlink.c:
6985 Change for nAnchors attributte name change.
6987 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6995 Added interface implementation c files to list of
6996 includes so they are included in libcspi.
6999 Changed prototype of AccessibleAction_doAction to return a
7001 Changed prototype of AccessibleTable_getCaption to
7002 return an Accessible.
7003 Changed prototype of AccessibleTable_getSelectedRows
7004 and AccessibleTable_getSelectedColumns to
7005 return a long (returns the number of selected rows
7006 or columns respectively).
7007 Changed name of AccessibleText_refRunAttributes to
7008 AccessibleText_getAttributes.
7009 Changed prototype of AccessibleText_getCharacterExtents to
7010 return a void rather than a boolean.
7011 Added support for a AccessibleCoordType parameter
7012 specifying what type of coordinates are desired.
7013 Added an AccessibleCordType parameter to
7014 AccessibleText_getPointAtOffset.
7016 * cspi/spi_accessible.c:
7017 Added code to return the outstanding interfaces from
7018 Accessible_queryInterface.
7020 * cspi/spi_action.c:
7022 Corrected call to getNActions to call the c binding
7025 * cspi/spi_editabletext.c:
7027 Changed name from setRunAttributes to setAttributes.
7029 * cspi/spi_hyperlink.c:
7031 Changed call to getNAnchors to correctly call the c
7032 binding for an attribute.
7034 * cspi/spi_hypertext.c:
7036 Changed getImageDescription to correctly call the
7037 binding for an attribute.
7039 * cspi/spi_selection.c:
7040 Changed getNSelectedChildren to correctly call the c
7041 binding for the attribute.
7042 Changed refSelectedChild to getSelectedChild.
7046 Changed getCaption to return an Accessible.
7047 Fixed calls which retrieve attributes.
7048 Changed refAt to getAccessibleAt.
7049 Changed getNSelectedRows and getNSelectedColumns to
7053 Changed getCharacterExtents and getPointAtOffset to accept an
7054 AccessibleCoordType.
7056 Changed calls which retrieve attributes.
7057 Changed refRunAttributes to getAttributes.
7062 * idl/Hyperlink.idl:
7063 Changed n_anchors attribute to nAnchors to keep naming
7064 convention consistent.
7067 Made Table inherit from Bonobo::Unknown.
7068 Added nSelectedColumns and nSelectedRows attributes.
7071 Made Value inherit from Bonobo::Unknown.
7073 * libspi/hyperlink.c:
7074 Change for nAnchors attributte name change.
7077 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
7079 implementations-- made server implementations own AtkObject pointers
7080 rather than their respective AtkInterrface pointers to fix
7081 refcounting. AtkHyperlink is still broken.
7083 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7084 * cspi/spi_accessible.c:
7085 Added method Accessible_Role_getName(),
7086 and requisite string array (role_names).
7087 Added conversion string_from_corba_strin() call
7088 to Accessible_getName and _getDescription.
7089 * libspi/accessible.c:
7090 Added implementation for Accessible_getRole()
7092 Added festival support, used if environment variable
7095 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7097 * at-bridge/bridge.c:
7098 Now allocate Accessibility_Event using
7099 Accessibility_Event__alloc() instead of g_new0().
7100 * libspi/accessibleeventlistener.c:
7101 Initialize AccessibleEventListener->callbacks to NULL.
7102 Fixed accessible__event_listener_init() param, changed to
7103 "AccessibleEventListener *" type.
7104 Changed a bonobo_object_release_unref() call to
7105 Accessibility_Accessible_unref().
7106 * libspi/listener.c:
7107 Changed Bonobo_Unknown_unref to (equivalent)
7108 Accessibility_Accessible_unref.
7109 * libspi/registry.c:
7110 Changed bonobo_object_release_unref to
7111 Accessibility_Accessible_unref.
7113 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7116 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
7117 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
7118 spi-util.c spi-util.h
7119 Implementations for C bindings to remaining accessibility
7122 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7125 changed return value of Action from void to boolean to
7126 bring in line with ATK.
7129 Changed getText funcions to return "out" start and end offsets.
7130 Changed getAttributes to take and offset and return the start
7131 and end offset of the attribute run.
7132 Changed getOffsetAtPoint and getCharacterExtents to take an
7133 enum describing whether coordinates are window or screen.
7136 libspi/action.c libspi/action.h libspi/editabletext.c
7137 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
7138 libspi/hypertext.c libspi/hypertext.h libspi/image.c
7139 libspi/image.h libspi/selection.c libspi/selection.h
7140 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
7141 libspi/value.c libspi/value.h
7142 Added server implementations for outstanding ATK interfaces
7143 not yet implemented.
7145 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7148 Added (missing) getName() method.
7149 Made nActions an attribute.
7150 * idl/EditableText.idl:
7151 Changed order of params in setAttributes.
7152 * idl/Hyperlink.idl:
7153 Removed getAnchor, added getURI.
7155 Changed attributes to methods, for efficiency
7156 (so that getting extents can be done in one call)
7157 * idl/Selection.idl:
7158 Changed nSelectedChildren to attribute, and re-indented.
7159 * idl/Table.idl: changed nrows, ncolumns, caption, summary
7161 * idl/Text.idl: reformatted to match our coding style.
7162 (temporarily?) removed getRowColumnAtOffset().
7163 Changed text selection API to support multi-select and
7164 non-contiguous selections, as in ATK.
7165 * idl/Value.idl: changed some methods to attributes.
7167 2001-08-24 Mark McLoughlin <mark@skynet.ie>
7169 * libspi/listener.c(impl_notify_event):
7170 BonoboUnkown_unref the source instead
7171 of bonobo_object_release_unref - the ORB
7172 handles the releasing.
7174 * configure.in: require ORBit-2.3.94 for
7177 2001-08-21 Bill Haneman <bill.haneman@sun.com>
7179 Tagged CVS repository 'EA_1_0'.
7180 * README.EARLY_ACCESS:
7181 Alphabetized acknowledgements list, and
7183 Listed some known dependencies of at-spi.
7185 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7187 * docs/at-spi-docs.sgml:
7188 * docs/at-spi-sections.txt:
7189 * docs/at-spi-overrides.txt: (Added zero-length file)
7190 Documentation improvements - gtk-doc should build
7191 docs for all implemented C bindings now.
7194 * cspi/spi.c: (New file)
7195 * cspi/spi_event.c: (New file)
7196 * cspi/spi_registry.c: (New file)
7197 * cspi/spi_accessible.c: (New file)
7198 * cspi/spi_application.c: (New file)
7199 * cspi/spi_component.c: (New file)
7200 Split spi_main.c into six parts, and included them from
7201 "spi.c". This is a bit of a hack, probably temporary,
7202 but required by gtk-doc, apparently.
7204 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7207 * docs/at-spi-docs.sgml:
7208 * docs/at-spi-sections.txt:
7210 Initial checkins/modifications for gtk-doc generation.
7213 Added (missing) interface query methods to Accessible's C binding.
7215 Added GenericInterface type definition.
7217 Added query for AccessibleComponent interface to focus event handler.
7218 Added printout of bounding box for focussed component.
7219 * libspi/component.c:
7220 Added partial implementation for AccessibleComponent to C binding.
7221 * idl/Application.idl:
7222 * libspi/registry.c:
7223 * libspi/listener.c:
7224 * libspi/application.c:
7225 * libspi/application.h:
7226 Changed "ID" attribute type from string to long.
7228 2001-08-19 Bill Haneman <bill.haneman@sun.com>
7232 Made method naming consistent: methods taking object args
7233 start with uppercase, other methods (except those using
7234 acronyms) start with lowercase. Underscores delimit between
7235 object names and method names:
7236 SPI_init() - uppercase since it starts with an acronym.
7237 getDesktopCount () - lowercase start since no object param0.
7238 Accessible_getName() - uppercase object type name, studlyCaps method
7242 Added gtk-doc documentation for all currently implemented
7243 methods in the C bindings API.
7245 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7247 * Makefile.am : changed build order to build test last.
7250 Changed "createEventListener" to "CreateEventListener".
7251 * libspi/accessibleeventlistener.c :
7252 Bugfix for addition of callbacks.
7253 * test/Makefile.am :
7254 * test/simple-at.c :
7255 Added new test that uses the C bindings API.
7257 * libspi/listener.c :
7258 * libspi/registry.c :
7259 * libspi/accessibleeventlistener.c :
7260 * at-bridge/bridge.c :
7261 Renamed member "target" of Accessibility_Event to "source",
7262 which is more descriptive.
7265 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7269 * cspi/Makefile.am :
7270 Added makefile support for at-spi/cspi directory.
7273 * cspi/spi-listener.h : (NEW FILE)
7274 Added support for/use of spi-listener.h.
7276 C bindings now build successfully, with no warnings.
7277 * libspi/accessibleeventlistener.h : (NEW FILE)
7278 * libspi/accessibleeventlistener.c : (NEW FILE)
7279 * libspi/Makefile.am :
7280 Added new object type "AccessibleEventListener"
7281 which inherits from Listener, and allows attachment
7282 of in-process callbacks (so that a client with a listening
7283 object instance can add functionality to the local
7284 implementation, dynamically).
7286 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7288 * libspi/accessible.c:
7289 Add implementation for get_index_in_parent().
7291 Added #include of "spi-roletypes.h", and
7292 added enumerated type AccessibleCoordType.
7293 Added definition for KeystrokeListener (function type).
7296 * cspi/spi-statetypes.h :
7297 * cspi/spi-roletypes.h :
7299 Added these headers, used by spi.h.
7301 Added code (NOTE: not yet built by make).
7303 2001-08-18 Mark McLoughlin <mark@skynet.ie>
7305 * libspi/Makefile.am: generate imodule
7306 at the same time as other idl compiler
7309 2001-08-17 Bill Haneman <bill.haneman@sun.com>
7310 * libspi/registry.c :
7311 * libspi/application.c :
7312 * idl/Application.idl :
7313 Made registration with toolkit an application method,
7314 which is required since each app has its own toolkit static
7315 environment. Thus the bridge must register for
7316 notification of toolkit events from each application in turn.
7317 Toolkit notifications are now successfully registered for, and
7318 sent to the listening at client.
7320 Changed toolkit event string to use hyphens rather than underscores.
7321 * libspi/listener.c :
7322 listner now gives more info in debug mode - it reports the
7323 name of the event received, as well as the name of the source.
7326 2001-08-16 Bill Haneman <bill.haneman@sun.com>
7328 * libspi/registry.c :
7329 added more implementation for toolkit events.
7330 Fixed bug such that toolkit event registrations
7331 (via atk) use the whole event name string, not
7333 Removed a useless call to an ORBit_ method.
7334 * at-bridge/bridge.c :
7335 Removed unused local sbuf[] variable.
7337 We now register for Gtk:GtkWidget:button_press_event
7338 events as well as "focus:" events.
7340 Add some more API from Registry.idl that was missing,
7341 for keystroke listening, keystroke and mouse event
7342 synthesis, and enumeration of accessible desktops.
7344 2001-08-16 Michael Meeks <michael@ximian.com>
7346 * configure.in: use AM_GLIB_GNU_GETTEXT.
7348 * Makefile.am (SUBDIRS): kill intl.
7350 2001-08-15 Michael Meeks <michael@ximian.com>
7352 * registryd/Makefile.am: s/oaf/server/ relocate info file.
7354 * configure.in: upd.
7356 * configure.in: depend on a recent bonobo-activation that
7357 will find our server files ...
7359 2001-08-16 Bill Haneman <bill.haneman@sun.com>
7361 * libspi/accessible.c : accessible_new() :
7362 Now we add the Component interface via bonobo_object_add_interface,
7363 if the contained AtkObject implements AtkComponent.
7364 * libspi/accessible.h : now include "component.h"
7365 * libspi/component.h :
7366 * libspi/component.c : added files - implementation of
7367 bonobo wrapper object for Accessibility/Component
7368 * libspi/listener.c :
7369 Added test code to check for Accessibility/Component:1.0
7370 interface and report whether it is implemented by the
7372 * libspi/registry.c :
7373 Now we check for not only the hash of the whole event
7374 string before relaying the event, we also check the
7375 "minor" event string (without the detail string).
7376 This allows event listeners to be registered against
7377 all events of a certain major+minor type, or just
7378 against a specific major+minor+detail type.
7379 * libspi/accessible.c :
7380 Added implementations for Accessible:get_parent(),
7381 Accessible:getChildCount(), and Accessible:getChildAtIndex().
7382 * libspi/registry.c :
7383 * libspi/listener.c :
7384 Replaced calls to Accessibility_Accessible_ref() and
7385 Accessibility_Accessible_unref() with
7386 calls to bonobo_object_dup_ref() and
7387 bonobo_object_release_unref(), so that the CORBA object
7388 is dup-ed and released when relayed, as well as the bonobo object.
7390 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7392 * libspi/Makefile.am,
7393 registryd/Makefile.am,
7394 at-bridge/Makefile.am.
7395 test/Makefile.am, configure.in:
7396 reverse previous changes.
7398 * /idl/Image.idl: fix typo.
7400 * test/Makefile.am: put DEBUG_FLAGS
7403 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7405 * test/app.c: use argv[0] instead of
7408 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7410 * libspi/Makefile.am,
7411 registryd/Makefile.am,
7412 at-bridge/Makefile.am.
7413 test/Makefile.am, configure.in:
7414 cleanup, replace individual LIBS/CFLAGS with
7415 AT_COMMON_{LIBS|CFLAGS}.
7419 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7421 * configure.in, libspi/Makefile.am:
7422 Change IDL path checking for bonobo-activation
7425 2001-08-15 Bill Haneman <bill.haneman@sun.com>
7427 * registryd/registry.c : separated event listeners to use
7428 3 separate lists (focus, window, toolkit). Began testing
7429 event names against hashes before relaying events.
7430 * test/at.c : now register for events of type "focus:"
7431 * test/app.c : now generate events of type "focus:"
7432 * at-bridge/bridge.c : register with ATK for focus events,
7433 and we now relay those focus events to any "focus:" listeners.
7434 This now works with the bridge as a GTK_MODULE when running test/at.
7435 * libspi/registry.c :
7436 * libspi/listener.c :
7437 now we ref event sources before propagating, and unref on receipt.
7438 * libspi/registry.c :
7439 some changes to internal structs, to support event typestring hashes.
7440 * text/app.c : changed the way the appname is generated.
7441 * cspi : added directory that will hold the C bindings library for
7442 non-CORBA/bonobo-savvy clients.
7443 * cspi/spi.h : header file that contains the function prototypes for the C binding.
7444 * idl/Component.idl : added in parameter to indicate coord system for
7445 geometry-related calls.
7446 * idl/Hyperlink.idl : added readonly n_links attribute
7447 * idl/Image.idl : changed methods to attributes.
7449 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7451 * at-bridge/Makefile.am: link against
7452 ../libspi/libspi.la instead of -lspi.
7454 * at-spi/test/app.c: include
7455 bonobo-activation.h. Use a default appname
7456 if one is not provided.
7458 2001-08-14 Bill Haneman <bill.haneman@sun.com>
7460 * idl/Registry.idl : temporarily changed register_Application
7461 to oneway, to work around issue with initial registration
7463 * idl/Application.idl : changed attribute "id" from readonly
7464 to read-write, since it needs to be assigned by Registry.
7465 * registryd/registryd.c : added call to set application id
7467 * registryd/registry.c : changed de-registration procedure to
7468 use CORBA_Object_hash() to find matching object ref in application
7469 lists and listener lists.
7470 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
7471 began distinguishing between event types (work in progress).
7473 2001-08-13 Bill Haneman <bill.haneman@sun.com>
7476 * libspi/application.c:
7477 Added implementations for get/set id, get_toolkitName,
7479 * registryd/registryd.c :
7483 Converted from use of OAF to bonobo-activation.
7484 * libspi/desktop.h :
7485 * libspi/desktop.c :
7487 Removed references to atksimpleobject, since base atkobject
7488 implementation now provides functionality we need.
7489 * libspi/atksimpleobject.c :
7490 * libspi/atksimpleobject.h :
7495 * at-bridge/Makefile.am
7496 * at-bridge/bridge.c
7499 Added directory "bridge" and contents, and added dependencies
7500 in Makefile.am/configure.in.
7501 Initial checkin of "at-bridge".
7502 This code is a GTK_MODULE which automatically registers
7503 GTK+ apps with the accessibility registry, using an object
7504 reference to the root ATK object.
7506 2001-08-10 Mark McLoughlin <mark@skynet.ie>
7508 * po/Makefile.in.in: Remove. Again. If this
7509 doesn't get autogenerated - you need to update
7512 2001-08-07 Mark McLoughlin <mark@skynet.ie>
7514 * po/Makefile.in.in: Add. Again.
7516 2001-07-31 Bill Haneman <bill.haneman@sun.com>
7518 * libspi/accessible.c : added support for 'description' property.
7519 * libspi/accessible.c
7521 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
7522 (since the two are now equivalent in libbonobo)
7530 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
7531 Bonobo::Unknown as does Accessibility::Accessible.
7532 * idl/StreamableContent.idl : as above, and replaced internal InputStream
7533 interface with Bonobo::Stream, since it was redundant with it.
7534 (The Stream returned by a StreamableContext object is expected to
7535 implement only a subset of Bonobo::Stream)
7537 2001-07-28 Anders Carlsson <andersca@gnome.org>
7539 * libspi/accessible.c (accessible_object_finalize): Change
7540 g_free to g_object_unref since the AtkObject is a GObject.
7542 2001-07-30 Bill Haneman <bill.haneman@sun.com>
7544 * idl/Accessibility.idl: add new IDL files
7547 * idl/Action.idl: Definitions of actionable UI object
7548 * idl/Component.idl: Definitions of UI component geometry, etc.
7549 * idl/Hyperlink.idl: Defs of hyperlink behavior
7550 * idl/Image.idl: Def of accessible image
7551 * idl/Selection.idl: Definition of UI object with selectable children
7552 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
7553 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
7554 * idl/Text.idl: Interface defs for UI elements with complex textual content
7555 * idl/Value.idl: Definition of UI element that is a value controller or display
7557 2001-07-27 Michael Meeks <michael@ximian.com>
7559 * po/Makefile.in.in: remove autogenerated file from CVS.
7561 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
7564 * idl/Registry.idl: include guard.
7566 * idl/Accessibility.idl: Add, and include all the other IDL
7569 * idl/*.idl: remove mass of pragmas etc.
7571 2001-07-26 Michael Meeks <michael@ximian.com>
7573 * registryd/Makefile.am (registryd_SOURCES): remove
7576 2001-07-27 Mark McLoughlin <mark@skynet.ie>
7578 * libspi/.cvsignore, registryd/.cvsignore,
7579 test/.cvsignore: updated.
7581 * po/Makefile.in.in: gettext update.
7583 2001-07-25 Bill Haneman <bill.haneman@sun.com>
7585 * initial CVS checkin
7587 2001-06-29 Michael Meeks <michael@ximian.com>
7589 * configure.in: add AM_CONFIG_HEADER to gen config.h