1 2006-06-09 Bill Haneman <bill.haneman@sun.com>
3 * idl/Accessibility_State.idl:
4 Added STATE_VISITED (bug #338369).
6 * cspi/spi_accessible.c:
7 (spi_state_to_corba) Fixed marshalling of new statetypes.
10 (spi_init_state_tables, impl_getStates):
11 Fixed conversion of new statetypes to/from ATK.
13 * idl/Accessibility_Role.idl: Added ROLE_FORM (bug #344266).
15 * cspi/spi-roletypes.h, spi_accessible.c: Added marshalling
16 definitions/conversions for new roles from ATK.
18 * libspi/accessible.c: Fixed marshalling of new role types from ATK.
20 2006-04-17 Matthias Clasen <mclasen@redhat.com>
22 * revert my previous change
24 2006-04-17 Kjartan Maraas <kmaraas@gnome.org>
26 * configure.in: Remove obssolete no_NO locale
27 * po/no.po: And the translation.
29 2006-04-05 Matthias Clasen <mclasen@redhat.com>
31 * atk-bridge/bridge.c (spi_atk_emit_eventv): Fix a
32 memory-management error that caused crashes on x86_64.
35 2006-03-30 Guntupalli Karunakar <karunakar@indlinux.org>
37 * configure.in: Added 'dz' (Dzongkha) to ALL_LINGUAS.
39 2006-03-27 Bill Haneman <bill.haneman@sun.com>
41 * configure.in: Define $LIBTOOL_EXPORT_OPTIONS
42 to strip "cspi_*" from the symbol table.
44 * cspi/spi_streamablecontent.c:
45 (get_streams): Make this method static.
48 (_cspi_exception_throw): rename to cspi_exception_throw,
49 so we can strip it with the rest...
52 Add LIBTOOL_EXPORT_OPTIONS to libcspi_la_LDFLAGS.
54 2006-03-27 Bill Haneman <bill.haneman@sun.com>
56 Add doxygen-generated IDL docs to tarball, and enable
57 doxygen during build/install when available. Bug #301345.
59 * configure.in: Add docs/reference/idl/Makefile to AC_OUTPUT.
61 * docs/reference/Makefile.am: Add idl to SUBDIRS.
63 * docs/reference/idl/Makefile.am: Optionally use
64 doxygen to create docs.
66 2006-03-20 Vladimer Sichinava <vlsichinava@gmail.com>
68 * configure.in: Added "ka" (Georgian) to ALL_LINGUAS
70 2006-03-20 Bill Haneman <bill.haneman@sun.com>
73 (impl_get_selected_rows): Don't free the selection if it's
74 empty or has not been assigned; init it to NULL so you can tell.
75 Also, allow for zero selected rows.
76 (impl_getSelectedColumns): Ditto. Bug #319088.
78 2006-03-11 Vincent Untz <vuntz@gnome.org>
80 Leak fix for bug #334217.
82 * libspi/application.c: spi_application_toolkit_event_listener():
83 don't duplicate the string we pass as an argument to
84 spi_init_any_nil() since spi_init_any_nil() already does it
85 * registryd/deviceeventcontroller.c:
86 (spi_dec_button_update_and_emit): ditto
87 (spi_dec_mouse_check): ditto
88 (spi_dec_emit_modifier_event): ditto
89 (spi_device_event_controller_forward_mouse): ditto
90 * registryd/registry.c:
91 (desktop_add_application): ditto
92 (desktop_remove_application): ditto
94 2006-02-20 Bill Haneman <billh@gnome.org>
96 * configure.in: Rev to 1.7.6.
98 Leak fixes for bug #331924.
100 * atk-bridge/bridge.c:
101 (spi_atk_bridge_init_base): Don't dup the string, it's already
102 been dup-ed. Fixes a leak.
103 (spi_atk_emit_eventv): Move the CORBA_free call here,
104 instead of spi_atk_state_event_listener; fixes another leak.
105 (spi_atk_bridge_key_listener):Free the dup'ed key strings after
106 notifying the registry; fixes another leak.
108 * registryd/registry.c:
109 (registry_flush_event_queue): Free the CORBA_any when
110 flushing the event, not just the string. Fixes another leak.
111 (registry_queue_event): Free the CORBA_any when dropping
112 events on the floor; fixes another leak.
115 (spi_init_any_object, spi_init_any_nil):
116 Always set _release to TRUE. Fixes another leak.
118 2006-02-20 Bill Haneman <billh@gnome.org>
120 * configure.in: Rev to 1.7.5.
121 Reinstate localization of this module. Thanks for Rodney
122 Dawes for fixing my patch.
124 * registryd/Makefile.am: Remove Accessibility_Registry.server
125 from dist, since it needs to be re-created at configure time.
128 2006-01-31 Bill Haneman <billh@gnome.org>
130 * configure.in: Rev to 1.7.4 (to include build fix below).
132 * idl/Makefile.am: Include Selector.idl in dist.
136 (cspi_internal_event_get_object): Handle case where
137 "object" isn't present, i.e. CORBA_TC_Object doesn't match
138 the EventDetails data.
139 (cspi_internal_event_get_text): Handle NULL string.
140 (cspi_internal_event_get_rect): Handle missing/empty rect
141 data, Accessibility_TC_RectBounds doesn't match any_data.
143 2006-01-30 Bill Haneman <billh@gnome.org>
147 * atk-bridge/bridge.c:
148 (spi_atk_emit_eventv): Check for SPI_REMOTE_OBJECT
149 interface and use that when instantiating a new source
150 accessible. Better fix for bug #321814.
152 2006-01-27 Bill Haneman <billh@gnome.org>
154 * idl/Accessibility_Selector.idl: Added to the cvs repository.
156 * configure.in: Revved to 1.7.3.
158 2006-01-17 Bill Haneman <billh@gnome.org>
160 * configure.in: Revved to 1.7.2, re-dist to include docs.
162 2006-01-09 Bill Haneman <billh@gnome.org>
164 * configure.in: Removed po/Makefile.in inclusion, we do not need
167 * idl/Accessibility.idl: Improved documentation here, and for all
168 IDL in the 'GNOME::Accessibility' namespace.
170 * idl/Accessibility_Accessible.idl:
171 (LOCALE_TYPE): Added enum.
172 (AttributeSet): New, for returning multiple name/value attribute pairs.
173 (RoleSet): New, sequence of Roles, to be used in upcoming
175 (getAttributes): New API, allows retrieval of name/value pair
176 annotations for all kinds of Accessible objects. C.f.
177 Text:getAttributes, which is only for typographic/textual/semantic tags in
179 (getApplication): New, retrieves the host/containing Application
180 instance for an object (without having to walk up the whole tree).
182 * idl/Accessibility_Component.idl:
183 (getAlpha): New method, returns the alpha blending (aka 'opacity')
184 value for an object. An alpha of 1.0 is fully opaque, 0.0 is
187 * idl/Accessibility_Event.idl:
188 (EventDetails): New struct definition, for encapsulating
189 commonly-queried information about emitted events. The use of
190 this structure in emitted events (in the 'any' member of
191 Accessibility_Event) should greatly reduce the number of
192 client-server roundtrips necessary.
194 * idl/Accessibility_Image.idl:
195 (imageLocale): New, a readonly attribute indicating the POSIX
196 LC_MESSAGES locale of the image and associated Alt/descriptive
199 * idl/Accessibility_Relation.idl:
200 (RELATION_PARENT_WINDOW_OF): Include, as complement to
203 * idl/Accessibility_Role.idl:
204 (ROLE_ENTRY, ROLE_CHART, ROLE_CAPTION, ROLE_DOCUMENT_FRAME)
205 (ROLE_HEADING, ROLE_PAGE, ROLE_SECTION): New roles for
206 complex document and form support.
208 * idl/Accessibility_State.idl:
209 (STATE_REQUIRED, STATE_TRUNCATED, STATE_ANIMATED)
210 (STATE_INVALID_ENTRY, STATE_SUPPORTS_AUTOCOMPLETION)
211 (STATE_SELECTABLE_TEXT, STATE_IS_DEFAULT): New states,
212 for support of complex documents and forms.
214 * idl/Accessibility_StreamableContent.idl:
215 (SeekType, IOError, NotSupported, NoPermission): New enum and exceptions, to
216 allow old bonobo-stream interfaces to be deprecated in the next
219 * idl/Accessibility_Text.idl:
220 (getAttributeValue): New method, allows query-by-name of single
223 * libspi/accessible.c:
224 Added support for new roles. Implemented new methods
225 (impl_accessibility_accessible_get_application): New
226 (impl_accessibility_accessible_get_attributes): New
228 * libspi/component.c:
229 (impl_accessibility_component_get_alpha): New.
232 (impl_accessibility_image_get_locale): New.
234 * libspi/relation.c: Added support for new relation type.
236 * libspi/stateset.c: Added support for new state types.
239 (impl_getAttributeValue): New.
242 New prototypes for private methods
244 spi_init_any_object, spi_init_any_string,
247 * libspi/spi_event.c:
248 Use EventDetails in the event emission methods.
250 * cspi/spi-private.h:
251 (cspi_role_from_spi_role): Expose this adapter method, since
252 we need it in the bridge (see below).
255 (AccessibleEvent_getSourceName):
256 (AccessibleEvent_getSourceRole):
257 (AccessibleEvent_getSourceApplication):
258 (AccessibleEvent_getSourceDetails):
259 New methods for interrogating/demarshalling
260 event details (i.e. source's accessible name, role,
263 * cspi/spi_accessible.c: Use cspi_role_from_spi_role.
264 Make use of the new EventDetails struct in events, if present.
265 (AccessibleEvent_getSourceName)
266 (AccessibleEvent_getSourceRole)
267 (AccessibleEvent_getSourceApplication)
268 (AccessibleEvent_getSourceDetails): Implement the newly exposed
270 (Accessible_getAttributes): New, wraps
271 Accessibility_Accessible_getAttributes.
272 (Accessible_getHostApplication): New, wraps
273 Accessibility_Accessible_getApplication.
276 (AccessibleImage_getImageLocale): New wrapper for
277 Accessibility_Image_get_imageLocale.
279 * cspi/spi_component.c:
280 (AccessibleComponent_getAlpha): New wrapper for
281 Accessibility_Component_getAlpha.
283 * atk-bridge/bridge.c:
284 Use new prototyped for init_any methods.
285 (spi_atk_bridge_init_nil, spi_atk_bridge_init_object)
286 (spi_atk_bridge_init_string, spi_atk_bridge_init_rect)
287 (spi_atk_bridge_init_base): Wrappers
288 for spi_init_any_* methods, due to refactor; include extended
289 information in the Accessibility_EventDetails struct, for instance
290 accessible-name, Role, and containing Application.
292 * registryd/registry.c:
293 Use new event emission (with EventDetails).
295 * registryd/deviceeventcontroller.c:
296 Use new event emission (with EventDetails).
298 2006-01-09 Kjartan Maraas <kmaraas@gnome.org>
300 * configure.in: Generate po/Makefile.in
301 * cspi/spi_main.c: Add #ifdef PRINT_LEAKS around a function
302 * cspi/spi_streamablecontent.c:
303 (accessible_bonobo_stream_client_seek),
304 (AccessibleStreamableContent_seek): Remove unused vars.
305 * libspi/application.c: Missing header.
306 * libspi/text.c: (impl_getDefaultAttributes): Unused vars
307 * login-helper/login-helper.c: (login_helper_finalize),
308 (login_helper_init): Remove unused stuff
309 * registryd/deviceeventcontroller.c: (spi_dec_replace_map_keysym),
310 (spi_dec_init_mouse_listener), (is_key_released): Remove unused vars
311 and surround some with #ifdef GRAB_BUTTON.
312 * test/event-listener-test.c: (main), (report_event),
313 (report_caret_event), (report_detail_event),
314 (report_detail1_event), (report_bounds_event), (report_text_event),
315 (report_text_selection_event),
316 (report_active_descendant_changed_event),
317 (report_children_changed_event), (report_name_changed_event),
318 (report_description_changed_event), (report_parent_changed_event),
319 (report_window_event), (report_table_summary_event),
320 (report_table_header_event), (report_table_caption_event),
321 (report_table_row_description_event),
322 (report_table_column_description_event), (timing_test_event):
323 Remove a bunch of unused variables and fix a slew of format specifiers
324 * test/key-listener-test.c: (report_all_key_event): Format specifier
325 * test/keypad-test.c: (print_key_event): Same
326 * test/login-helper-server-test.c: (main): Include gtkmain.h and remove
328 * test/screen-review-test.c: (main), (print_chunk_debug),
329 (review_buffer_get_text_chunk), (debug_chunk_list),
330 (string_guess_clip), (text_chunk_get_clipped_string),
331 (text_chunk_list_to_string), (get_screen_review_line_at):
332 Remove unused variables and fix format specifiers.
333 * test/simple-at.c: (report_text_event): Format specifier fix.
334 * test/stress-test.c: (main): Remove unused var.
336 2005-12-29 Abel Cheung <maddog@linuxhall.org>
338 * configure.in: Add zh_HK, zh_TW to ALL_LINGUAS
339 (yes I know that's useless)
341 2005-11-20 Theppitak Karoonboonyanan <thep@linux.thai.net>
343 * configure.in: Added "th" (Thai) to ALL_LINGUAS.
345 2005-11-17 Michael Meeks <michael.meeks@novell.com>
347 * atk-bridge/bridge.c (spi_atk_emit_eventv):
348 urgh-fix embarassing typo.
350 2005-11-16 Michael Meeks <michael.meeks@novell.com>
352 * atk-bridge/bridge.c (spi_atk_emit_eventv):
353 do a faster, less problematic _unref call on this local
354 object, rather than a slower (potentially cross-thread
355 complicated) CORBA call.
357 2005-11-02 Kjartan Maraas <kmaraas@gnome.org>
359 * atk-bridge/bridge.c: (spi_atk_bridge_signal_listener):
360 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_seek):
361 * registryd/deviceeventcontroller.c:
362 (spi_controller_notify_mouselisteners),
363 (impl_generate_keyboard_event):
364 * test/screen-review-test.c: (chunk_bounds_within):
365 * test/test-simple.c: (test_desktop): Remove some unused code
366 and fix compiler warnings. Closes bug #320049.
368 2005-10-27 Bill Haneman <bill.haneman@sun.com>
370 * registryd/deviceeventcontroller.c:
371 (spi_controller_notify_keylisteners): Check
372 to make sure the event listener has requested 'preemptive'
373 status before pre-empting an event.
375 2005-08-29 Bill Haneman <bill.haneman@sun.com>
377 * configure.in, README, NEWS: Release 1.6.5.
379 2005-07-25 Matthias Clasen <mclasen@redhat.com>
381 * test/window-listener-test.c: Fix a printf
382 format error. (#169453)
384 2005-07-15 Bill Haneman <bill.haneman@sun.com>
386 * tests/test-simple.c:
387 (key_listener_cb): Ensure that the keystring is dup'ed instead of
388 relying on the old string from the key event hanging around after
389 the event handler returns. Fixes broken 'make check'.
391 2005-06-06 Swapnil Hajare <dreamil@gmail.com>
393 * Added Marathi (mr_IN) translations.
395 2005-05-27 Kjartan Maraas <kmaraas@gnome.org>
397 * cspi/bonobo/cspi-bonobo-listener.c:
398 (cspi_event_list_remove_by_cb): Fix the build.
400 2005-05-26 Michael Meeks <michael.meeks@novell.com>
402 * cspi/bonobo/cspi-bonobo-listener.c
403 (cspi_event_list_remove_by_cb): actually filter by callback.
405 2005-05-25 Bill Haneman <bill.haneman@sun.com>
407 * registryd/registry.c (remove_listener_cb):
408 Make deregistration filter rules match the event emission rules.
410 2005-05-25 Michael Meeks <michael.meeks@novell.com>
412 * registryd/registry.c (remove_listener_cb),
413 (impl_accessibility_registry_deregister_global_event_listener),
414 (impl_accessibility_registry_deregister_global_event_listener_all):
415 pass a closure to the remove callback to filter listeners more
416 accurately on remove.
418 2005-04-05 Bill Haneman <bill.haneman@sun.com>
420 * configure.in: Revved to 1.6.4.
421 Remember to put quotes around XEVIE_LIBS assignment.
422 Fixed one of tertiary AC_CHECK_HEADER tests for XEvie.
425 * tests/event-listener-test.c: Tweaked the tests - more detail
426 from caret events, and some interrogation of AccessibleText APIs.
427 Commented-out the bounds-changed events by default, since they can
430 2005-04-14 Kjartan Maraas <kmaraas@gnome.org>
432 * atk-bridge/bridge.c: (spi_atk_emit_eventv): Plug a leak.
433 * cspi/bonobo/cspi-bonobo-listener.c: (cspi_device_event):
434 Same here. Closes bug #167806
436 2005-04-05 Bill Haneman <bill.haneman@sun.com>
438 * atk-bridge/bridge.c:
439 (spi_atk_bridge_signal_listener):
440 Free the any._value if any._release is TRUE,
441 since the ORB won't do it for us in this case
442 [because this method is not a skel].
445 2005-03-30 Steve Murphy <murf@e-tools.com>
447 * configure.in: Added "rw" to ALL_LINGUAS.
449 2005-03-29 Bill Haneman <bill.haneman@sun.com>
451 * configure.in: Improved check for HAVE_XEVIE, to detect
452 presence on XOrg, where -lXevie is a separate library.
454 2005-03-08 Bill Haneman <bill.haneman@sun.com>
456 * configure.in, NEWS, README: Revved to 1.6.3.
458 2005-02-16 Adi Attar <aattar@cvs.gnome.org>
460 * configure.in: Added "xh" to ALL_LINGUAS.
462 2005-02-07 Bill Haneman <bill.haneman@sun.com>
464 * atk-bridge/bridge.c:
465 (atk_bridge_init): Added missing NULL in g_strconcat(),
466 also check for symlink before logging to
467 insecure directory. Thanks to meissner@suse.de.
469 2005-01-25 Padraig O'Briain <padraig.obriain@sun.com>
471 * tests/login-helper-server-test.c: Add return call to main
472 function. Patch from Chris Lahey. Fixes bug #165129.
474 2004-12-20 Padraig O'Briain <padraig.obriain@sun.com>
476 * cspi/spi.h: Add description for SPI_RELATION_SUBWINDOW_OF.
478 2004-12-09 Bill Haneman <billh@gnome.org>
480 * registryd/registry-main.c:
481 Added #define <string.h> for strrchr. (bug 160862).
482 Thanks to Vincent Berger for catching.
484 2004-12-09 Padraig O'Briain <padraig.obriain@sun.com>
486 * atk-bridge/bridge.c (spi_atk_get_registry): Do not attempt to
487 restart registry process if the registry process is found to have died
488 and the current process is exiting.
489 (spi_atk_bridge_exit_func): Do not attempt to deregister the
490 application if the registry process has died.
491 (spi_atk_emit_eventv): Return if call to spi_atk_get_registry
492 does not return a registry object.
493 (spi_atk_tidy_windows): Give up if the registry process has died.
495 This fixes problems with hangs and crashes when logging out.
497 2004-12-03 Padraig O'Briain <padraig.obriain@sun.com>
499 * registryd/desktop.c: Add checking that we are not exiting before
500 calling spi_desktop_remove_application in
501 abnormal_application_termination. Fix for bug #152147.
503 2004-12-02 Bill Haneman <billh@gnome.org>
505 * configure.in, NEWS, README: Revved to 1.6.1.
507 Patch from Padraig O'Briain <padraig.obriain@sun.com>
508 * atk-bridge/bridge.c:
509 (atk_bridge_init): Save the pid when we start, to detect forks.
510 (spi_atk_bridge_exit_func): Don't call the cleanup routines
511 if we're in a forked pid.
513 2004-10-09 Bill Haneman <billh@gnome.org>
515 * idl/Accessibility_LoginHelper.idl:
516 Improved inline documentation.
518 2004-10-02 Jesus Bravo Alvarez <suso@trasno.net>
520 * configure.in: Added gl (Galician) to ALL_LINGUAS
522 2004-09-30 Kjartan Maraas <kmaraas@gnome.org>
524 * libspi/accessible.c:
525 (impl_accessibility_accessible_get_role_name),
526 (impl_accessibility_accessible_get_local_role_name):
528 * libspi/component.c:
529 (impl_accessibility_component_get_accessible_at_point):
531 * libspi/eventlistener.c: (spi_event_listener_new):
533 * libspi/stateset.c: (impl_compare): More of the same
534 * libspi/table.c: (impl_getRowDescription): Again.
535 * registryd/desktop.c: (spi_atk_desktop_get_type): Same
536 * registryd/deviceeventcontroller.c: (spi_clear_error_state),
537 (impl_generate_keyboard_event): Same.
538 * registryd/registry-main.c: (main): Same
539 * test/event-listener-test.c: (test_exit): Same
540 * test/keysynth-demo.c: (scan_state), (create_vkbd): Same
541 * test/keysynth-test.c: (test_key_synthesis): Same
542 * test/login-helper-server-test.c: (main): Fix warning.
543 * test/screen-review-test.c: (test_exit): Fix include.
544 * test/simple-at.c: (simple_at_exit), (_festival_init):
547 2004-09-13 Padraig O'Briain <padraig.vriain@sun.com>
549 * configure.in, NEWS, README: Revved to 1.6.0.
551 2004-09-12 Bill Haneman <bill.haneman@sun.com>
553 * configure.in: Rev and re-dist, since the 1.5.4 tarball
554 was missing the HTML docs.
556 2004-09-12 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
558 * configure.in: only cleanups:
559 - better looking PKG_CHECK_MODULES() output,
561 - declare in one common place required versions of other tools using
564 2004-09-11 J.H.M. Dassen (Ray) <jdassen@debian.org>
566 * configure.in: libspi/accessible.c uses ATK_ROLE_EMBEDDED
567 (unconditionally) which was introduced in ATK 1.7.2. Bumped the
568 required ATK version accordingly.
570 2004-09-03 Bill Haneman <bill.haneman@sun.com>
572 * cspi/bonobo/cspi-bonobo.c:
573 (cspi_display_name): Fix C99ism.
574 * atk-bridge/bridge.c:
575 (spi_display_name): Fix C99ism.
576 Patch from Jens Granseuer, jensgr@gmx.net.
578 2004-09-03 Gora Mohanty <gmohanty@cvs.gnome.org>
580 * configure.in: Added "or" to ALL_LINGUAS.
582 2004-08-20 Bill Haneman <bill.haneman@sun.com>
584 * configure.in, NEWS, README: Revved to 1.5.4.
586 * registryd/registry-main.c:
587 (main): Set the reg_env to use AT_SPI_DISPLAY instead of
590 * cspi/bonobo/cspi-bonobo.c:
591 (cspi_display_name): New convenience method, gets DISPLAY with
592 screen number stripped, if AT_SPI_DISPLAY isn't already set.
593 (cspi_init): Set the activation env value above before getting
596 * atk-bridge/bridge.c:
597 (spi_display_name): Create the AT_SPI_DISPLAY activation
598 environment for an app, based on the DISPLAY environment with the
599 screen number stripped off.
600 (atk_bridge_init): Allow redirection of error messages to a log.
601 (spi_atk_bridge_get_registry): Call
602 bonobo_activation_set_activation_env_value for AT_SPI_DISPLAY.
604 Fixes for bugs #149962, #136986, #144086.
606 2004-08-16 Christian Rose <menthos@menthos.com>
608 * configure.in: Added "bs" to ALL_LINGUAS.
610 2004-08-12 Kjartan Maraas <kmaraas@gnome.org>
612 * configure.in: Added nb to ALL_LINGUAS.
614 2004-09-03 Bill Haneman <bill.haneman@sun.com>
617 (SPI_init): Return error code '2' if the activated
618 registry cannot be pinged. Fixes bug #147648.
620 2004-07-28 Bill Haneman <bill.haneman@sun.com>
622 * registryd/deviceeventcontroller.c:
623 (spi_dec_init_mouse_listener): Don't do XGrabButton,
624 rely on timer-poll instead, to avoid conflict with
627 2004-07-20 Bill Haneman <bill.haneman@sun.com>
629 * configure.in: Revved to 1.5.3.
631 * idl/Accessibility_Role.idl: Added ROLE_EMBEDDED (bug #144415).
633 * libspi/accessible.c: Added support for ROLE_EMBEDDED.
635 * cspi/spi_accessible.c: Support for ROLE_EMBEDDED.
637 * cspi/spi-roletypes.h: Added SPI_ROLE_EMBEDDED.
639 2004-06-11 Bill Haneman <bill.haneman@sun.com>
641 * atk-bridge/bridge.c:
642 (spi_atk_bridge_do_registration):
643 Register with ATK for AtkComponent:bounds-changed events.
644 (api_atk_bridge_signal_listener):
645 Marshal the AtkRectangle info into the event notification
646 for object:bounds-changed events.
649 (spi_init_any_rect): New method, inits a corba struct of
650 type Accessibility_BoundingBox from an AtkRectangle.
652 * libspi/spi-private.h: Declared spi_init_any_rect (above).
655 (SPIRect): New struct definition.
656 (SPI_freeRect): New declaration.
657 (AccessibleBoundsChangedEvent_getNewBounds): New, see below.
660 (AccessibleBoundsChangedEvent_getNewBounds): New method,
661 implemented. Gets the bounding box data from the CORBA_any
662 associated with a bounds-changed event notification.
663 (cspi_internal_event_get_rect): New, used internally by above method.
666 (SPI_freeRect): Implemented this new method, for freeing
669 * test/event-listener-test.c:
670 (main, report_bounds_event):
671 Added a test for object:bounds-changed events.
673 2004-06-01 Bill Haneman <bill.haneman@sun.com>
675 * test/login-helper-server-test.c:
676 (main): Fix C99-ism. Thanks to Jens Granseuer.
678 2004-05-28 Padraig O'Briain <padraig.obriain@sun.com>
680 * libloginhelper-1.0.pc.in:
681 * idl/Accessibility_LoginHelper.idl:
682 * login-helper/Makefile.am:
683 * login-helper/login-helper.[ch]:
684 * test/login-helper-client-test.c:
685 * test/login-helper-server-test.c: Added files missing from CVS.
686 Files obtained from at-spi-1.5.2 tarball.
688 2004-05-27 Bill Haneman <bill.haneman@sun.com>
690 * configure.in: Create login-helper/Makefile.
691 Incremented micro version.
693 * Makefile.am: Add login-helper subdir and pkgconfig data.
695 * login-helper: New subdir.
697 * libloginhelper-1.0.pc.in: New.
699 * idl/Accessibility_LoginHelper.idl: New file, defines
700 interface whereby authentication clients can identify agents which
701 need access to services during the login process, e.g. screen lock
704 * login-helper/Makefile.am : New.
706 * login-helper/login-helper.[ch] : New, implementation of
707 a LoginHelper base class. Services needing LoginHelper can subclass.
709 * test/Makefile.am : Added test for login-helper, client and
712 * test/app.c, at.c, keypad-test.c, keysynth-test.c, stress-test.c:
713 Use proper prefix in #include files.
715 * test/login-helper-client-test.c: New.
717 * test/login-helper-server-test.c: New.
719 2004-05-27 Alexander Shopov <ash@contact.bg>
721 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
723 2004-05-14 Padraig O'Briain <padraig.obriain@sun.com>
725 * cspi/spi_main.c (cspi_object_unref): Add check that reference count
726 is positive. This should make it easier to detect inapprorpiate unref
729 2004-05-11 James Henstridge <james@daa.com.au>
731 * configure.in: remove GNOME_PLATFORM_GNOME_2 macro, which is a
732 no-op and deprecated.
734 2004-05-03 Pablo Saratxaga <pablo@mandrakesoft.com>
736 * configure.in: Added "wa" (Walloon) to ALL_LINGUAS.
738 2004-04-28 Bill Haneman <billh@gnome.org>
740 * Makefile.am: Added --enable-gtk-doc to
741 DISTCHECK_CONFIGURE_FLAGS; fixes make distcheck.
743 2004-04-19 Bill Haneman <billh@gnome.org>
745 * configure.in: Revved to 1.5.1.
747 * registryd/deviceeventcontroller.c:
749 (DEControllerPrivateData): Added fields for
750 reserved_keycode, reserved_keysym, and reserved_reset_timeout.
751 (spi_dec_replace_map_keysym): New internal utility for
752 replacing a keysym in the keymap - used to allow
753 synthesis of individual characters which aren't in the
755 (spi_dec_reset_reserved): New; resets the changed keysym value
757 (keycode_for_keysym): We now try to deal with failed
758 XKeysymToKeycode requests by changing a keymap value
759 and returning a reserved keycode. We now take
760 a DEController pointer as first arg.
761 (spi_controller_register_with_devices): Call XkbGetMap with
762 the XkbKeySymsMask. Find the highest keycode in the current
763 keymap which doesn't have any grabs, and mark that one for
764 temporary re-mapping when out-of-range KeySyms are synthesized.
765 (dec_synth_keycode_press): Call XFlush after synthesizing the key
768 2004-04-08 Guntupalli Karunakar <karunakar@freedomink.org>
770 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
772 2004-03-24 Alexander Winston <alexander.winston@comcast.net>
774 * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
776 2004-03-24 Bill Haneman <billh@gnome.org>
779 (AccessibleTable_addRowSelection),
780 (AccessibleTable_addColumnSelection),
781 (AccessibleTable_removeRowSelection),
782 (AccessibleTable_removeColumnSelection):
783 Add declarations for spi wrappers which were
784 inadvertantly omitted. Fixes bug #133413.
787 Revved to 1.5.0 (unstable series for GNOME 2.7).
789 2004-03-24 Bill Haneman <billh@gnome.org>
791 * atk-bridge/bridge.c:
792 Bracketed some debug output in
793 conditionals, to avoid printing it in normal use.
796 * libspi/hyperlink.c:
797 Don't cast 'object' to ATK_OBJECT when constructing
798 an AtkAction interface for a hyperlink.
799 See discussion in bug #120659.
801 * test/key-listener-test.c:
802 (report_all_key_event): Send output to stderr,
803 not stdout, for consistency with the rest of the test callbacks.
806 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
807 Don't add X_LIBS to CFLAGS (Fix for bug #134332).
808 Incremented to 1.4.1 (but didn't dist yet - I'm going to
809 try incrementing the revision AFTER doing a dist, at least
812 2004-03-22 Bill Haneman <billh@gnome.org>
814 * configure.in: Revved to 1.4.0, libtool 9.14.9
816 2004-03-17 Laszlo Peter <laca@sun.com>
818 * libspi-1.0-uninstalled.pc.in: add idldir
820 * cspi-1.0-uninstalled.pc.in: add idldir
822 2004-03-16 Gareth Owen <gowen72@yahoo.com>
824 * configure.in: Added "en_GB" to ALL_LINGUAS
826 2004-03-15 Bill Haneman <billh@gnome.org>
828 * configure.in: Revved to 1.3.16,
831 2004-03-15 Laszlo Peter <laca@sun.com>
833 * libspi-1.0-uninstalled.pc.in: new file
835 * cspi-1.0-uninstalled.pc.in: new file
837 * configure.in: add the new pc files to AC_OUTPUT
839 * Makefile.am: add the new pc files to EXTRA_DIST
841 2004-03-12 Bill Haneman <billh@gnome.org>
843 * atk-bridge/bridge.c:
844 (spi_atk_bridge_key_listener):
845 Make sure to return consumed=FALSE if snoop
846 event is not dispatched to listener.
849 2004-03-01 Bill Haneman <billh@gnome.org>
851 * configure.in: Revved to 1.3.15,
854 2004-03-07 Danilo Segan <dsegan@gmx.net>
856 * configure.in: Added "sr@ije" to ALL_LINGUAS.
858 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
860 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
862 2004-03-01 Bill Haneman <billh@gnome.org>
864 * configure.in: Revved to 1.3.14.
867 (SPI_exit): Removed "bye-bye" exit message.
868 Moved "leak" report to happen before the
869 iteration over the leaked refs list.
870 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
872 2004-02-24 Bill Haneman <billh@gnome.org>
874 * configure.in: Revved to 1.3.13.
876 * docs/reference/cspi/Makefile.am:
877 Correct typo that was breaking the docs build.
879 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
881 * autogen.sh: Require version 1.7 of automake.
883 * configure.in: call GTK_DOC_CHECK([1.0])
885 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
887 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
889 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
891 * test/Makefile.am: Remove use of CFLAGS.
893 This fixes bug #132987.
895 2004-02-11 Bill Haneman <billh@gnome.org>
897 * reverted most of Tomasz' patch below, since it was breaking
898 builds (see bug #134058).
900 2004-02-10 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
902 * docs/reference/cspi/at-spi-cspi.types: added empty file for
903 correct pass "make dist" (empty .. because seems no sach types in
904 header files with gtk-doc markups).
905 * docs/reference/cspi/Makefile.am, configure.in:
906 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
907 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
908 * Makefile.am: added:
909 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
910 for force correct pass generate documentation on "make distcheck".
911 * libspi/Makefile.am: fixes for automake >= 1.6.
912 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
913 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
916 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
918 * docs/reference/cspi/Makefile.am (install-data-local): Install
919 index.sgml since the doc autobuilder on widget.gnome.org looks for
922 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
924 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
927 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
929 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
931 2004-01-27 Brian Cameron <brian.cameron@sun.com>
933 * test/simple-at.c: Fixed null string problems that cause core
934 dumping problems on Solaris.
936 2004-01-12 Bill Haneman <billh@gnome.org>
938 * configure.in: Incremented version to 1.3.11.
940 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
942 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
943 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
946 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
948 * configure.in: Added "fa" to ALL_LINGUAS.
950 2003-12-20 Arafat Medini <lumina@silverpen.de>
952 * configure.in: Added "ar" to ALL_LINGUAS
954 2003-12-16 Bill Haneman <billh@gnome.org>
956 * registryd/registry-main.c:
958 Set the reg_env DISPLAY variable before registering the
959 activated registry service. Fixes bug #129479.
961 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
963 * configure.in: Added "id" in ALL_LINGUAS
964 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
966 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
968 * registryd/deviceeventcontroller.c (global_filter_fn):
969 When an event is consumed discard any XEvents were added to
970 the queue while dealing with the the event. This can happen if
971 processing of the event takes a long time. Call XUngrabKeyboard
972 if an event was discarded. This fixes bug $124837.
973 Only call wait_for_release_event for a KeyPress.
974 Use local variable display instead of spi_get_display().
975 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
978 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
980 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
981 Allow for mask to contain values other than NumLock mask.
984 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
986 * registryd/devieceventcontroller.c:
987 (wait_for_release_event): Change first parameter from GdkEvent to
989 (global_filter_fn); Correct call to wait_for_release_event.
993 2003-12-08 Bill Haneman <billh@gnome.org>
997 * registryd/ucs2keysym.c: New file.
999 * registryd/deviceeventcontroller.c:
1000 (dec_keysym_for_unichar): Remove old partial implementation and
1001 replace with call to ucs2keysym(), which is much more complete.
1002 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
1007 2003-12-05 Bill Haneman <billh@gnome.org>
1009 * configure.in: Version 1.3.9.
1011 * docs/reference/cspi/tmpl/spi_registry.sgml:
1012 Added reference to libspi/keymasks.h to the
1013 description of Registry queries: AccessibleKeyMaskType.
1016 2003-12-04 Bill Haneman <billh@gnome.org>
1018 Fix for bug #121974.
1020 * idl/Accessibility_Application.idl:
1021 (Accessibility::LOCALE_TYPE): New enum, corresponds to
1022 setlocale's LC_TYPEs.
1023 (Accessibility::Application::getLocale): New method.
1024 Allows clients to query the locale, by type, of an app.
1027 * cspi/spi_application.c:
1028 (AccessibleApplication_getLocale): New method, wraps IDL above.
1030 * libspi/application.c:
1031 (spi_application_class_init): Init epv entry for getLocale.
1032 (impl_accessibility_application_get_locale): Impl for above.
1034 * test/test-simple.c:
1035 (test_application): Added assertion for getLocale, i.e.
1036 that the string from AccessibleApplication_getLocale (app, type)
1037 is the same as that from setlocale (type, NULL);
1039 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1041 *registryd/deviceeventcontroller.c: Add an idle handler which polls
1042 the keyboard on a timeout intil the key state goes from pressed to
1043 released. Fixes bug #111429.
1045 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1047 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
1048 root object so that it is present when a context menu in an
1049 out-of-process applet is popped up.
1050 (spi_atk_bridge_do_registration): Create acceessible application root
1051 object only if it does not exist.
1053 This fixes bug #125834.
1055 2003-12-01 Bill Haneman <billh@gnome.org>
1057 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
1060 Added enum for AccessibleStreamableContentSeekType.
1061 (AccessibleStreamableContent_freeContentTypeList): New.
1063 * cspi/spi_streamablecontent.c:
1064 (accessible_bonobo_stream_client_seek): New private method.
1065 (AccessibleStreamableContent_seek): Implemented this method,
1066 using Bonobo_Stream_seek.
1067 (AccessibleStreamableContent_freeContentTypeList): New method
1068 for freeing the return value from
1069 AccessibleStreamableContent_getContentTypes.
1070 (stream_cache_item_free): Replaces stream_release; stop leaks.
1071 (stream_release): removed.
1072 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
1073 free the memory properly.
1075 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
1077 Fix for bug #116009.
1079 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
1081 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
1083 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
1085 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
1087 2003-12-01 Bill Haneman <billh@gnome.org>
1089 Fix for bug/rfe #127463.
1091 * idl/Accessibility_Accessible.idl:
1092 (getLocalizedRoleName): New.
1093 (unimplemented4): Removed (replaced by above).
1095 * libspi/accessible.c:
1096 (impl_accessibility_accessible_get_local_role_name): New.
1097 (spi_accessible_class_init): Add getLocalizedRoleName entry to
1101 (Accessible_getLocalizedRoleName): New.
1103 * cspi/spi_accessible.c:
1104 (Accessible_getLocalizedRoleName): New.
1106 2003-12-01 Bill Haneman <billh@gnome.org>
1108 Fix for bug #118581.
1109 * idl/Accessibility_Text.idl:
1110 (getDefaultAttributes): New.
1111 (unimplemented4): Removed (replaced by above method).
1114 (impl_getDefaultAttributes): New method.
1115 (spi_text_class_init):
1116 initialize the get_default_attributes slot in the epv.
1119 (AccessibleText_getDefaultAttributes): New prototype.
1122 (AccessibleText_getDefaultAttributes): New method.
1124 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
1126 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
1127 write beyond the end of the table. Fixes bug #120473.
1129 2003-09-30 Christian Rose <menthos@menthos.com>
1131 * configure.in: Added "eu" to ALL_LINGUAS.
1133 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
1135 * configure.in: ALL_LINGUAS: Added no.
1137 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
1139 * configure.in: Added lt to ALL_LINGUAS.
1141 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
1143 * atk-bridge/bridge.c:
1144 (atk_bridge_init): Register event listeners always even for
1145 out-of-process applet.
1146 (spi_atk_bridge_toplevel_added): Remove call to
1147 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
1148 (spi_atk_bridge_toplevelk_removed): Remove call to
1149 spi_atk_deregister_event_listenersa as the listeners are now always
1151 (spi_atk_bridge_register_application): Remove call to
1152 spi_atk_register_event_listeners as it is not done in atk_bridge_init
1154 This fixes bug #120991.
1156 * libspi/table.c (impl_getColumnDescription): Correct typo,
1157 pointed out by Bolian.Yin@sun.com.
1159 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
1161 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
1163 2003-09-08 Bill Haneman <billh@gnome.org>
1165 * configure.in: Revved to 1.3.7.
1167 This is the GNOME 2.4.0 release of at-spi.
1169 * docs/reference/cspi/Makefile.am:
1170 Removed spurious inclusion of 'index.sgml' in the
1171 html directory; this was breaking make distcheck and
1172 also some other build environments.
1174 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
1176 * registryd/registry.[ch}:
1177 Add queue_handler_id and focus_object to SpiRegistry data structure.
1178 (registry_flush_event_queue): If event being discarded is
1179 "state-change:focused" store object as focus_object.
1180 (registry_start_queue): Remove queue handler and focus object
1182 (registry_discard_event): New function which discards a focus event
1183 if we had stored focus object in the registry.
1184 (registry_queue_event): Add new check that is_queueing is set as this
1185 function is reentrant.
1186 (registry_filer_event): Add call to registry_discard_event.
1188 This resolves issues raised in bug #108664.
1190 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
1192 * configure.in: Added "bn" to ALL_LINGUAS.
1194 2003-09-04 Bill Haneman <billh@gnome.org>
1196 * cspi/spi_event.c: Documentation improvements for
1197 (SPI_registerAccessibleKeylistener).
1199 * docs/reference/tmpl/spi_registry.sgml:
1200 Documentation improvements for SpiAccessibleKeylistenerCB.
1202 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
1204 * configure.in: Added "ro" to ALL_LINGUAS.
1207 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
1209 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
1210 not decremented to zero. Fixes bug #120725.
1212 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
1214 * configure.in: Added "ja" to ALL_LINGUAS.
1216 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
1218 * configure.in: Added "is" to ALL_LINGUAS.
1220 2003-08-22 Christian Rose <menthos@menthos.com>
1222 * configure.in: Added "nl" to ALL_LINGUAS.
1224 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1226 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
1227 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
1229 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
1231 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
1232 type for unspecified exception.
1233 * cspi_streamablecontect): Add include of string.h for memcpy.
1234 (stream_release): Correct call to bonobo_object_release_unref
1235 (stream_cache_item_free): Correct call to bonobo_object_release_unref
1236 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
1237 argument of _cspi_expection_throw.
1238 * libspi/hyperlink.c: Add include of libspi/action.h:
1239 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
1240 * libspi/streamablecontent.c: add include of libspi/component.h.
1241 * regisrtyd/deviceeventcontroller.c:
1242 (spi_dec_translate_mask): Removed unused variable priv.
1243 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
1244 * registryd/registry.c:
1245 (registry_filter_event): Remove unused variable queue_is-empty.
1246 (impl_registry_notify_event): Use correct modifier in fprintf call.
1248 This fixes compiler warnings reported in bug #120220.
1250 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
1252 * registryd/registryd.c: Remove this file.
1254 2003-08-17 Sanlig Badral <badral@openmn.org>
1256 * configure.in: Added mn to ALL_LINGUAS.
1258 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
1260 * configure.in: Added et to ALL_LINGUAS.
1262 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
1264 * test/event-listener-test.c: Change active-descendant to
1265 active-descendant-changed.
1267 2003-08-10 Sami Pesonen <sampeson@iki.fi>
1269 * configure.in: Added "fi" in ALL_LINGUAS.
1271 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
1273 * configure.in: Added "hi" in ALL_LINGUAS.
1275 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
1277 * configure.in: Revved to 1.3.6.
1281 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
1283 * registryd/deviceeventcontroller.c
1284 (spi_device_event_controller_object_finalize): Fix typo in previous
1287 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
1289 * registryd/deviceeventcontroller.c
1290 (spi_device_event_controller_object_finalize): Fix build on
1291 systems without XEvIE.
1293 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
1295 * acconfig.h, configure.in, registryd/Makefile.am,
1296 registryd/devicecontoller.[ch]: Add XEViE support.
1298 2003-08-06 Wang Jian <lark@linux.net.cn>
1300 * configure.in: Added "zh_CN" to ALL_LINGUAS.
1302 2003-08-06 Metin Amiroff<metin@karegen.com>
1304 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
1306 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
1308 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
1309 MODIFIER_ALT in correct place.
1311 This fixes part of bug #118114.
1313 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
1315 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
1317 2003-07-28 Changwoo Ryu <cwryu@debian.org>
1319 * configure.in: Added "ko" to ALL_LINGUAS.
1321 2003-07-28 Ole Laursen <olau@hardworking.dk>
1323 * configure.in: Added "da" to the commented out ALL_LINGUAS.
1325 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
1327 * configure.in: Added "sq" to ALL_LINGUAS.
1329 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
1331 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
1333 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
1335 * configure.in: updated ALL_LINGUAS list
1337 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1339 * configure.in: Added Belarusian to ALL_LINGUAS.
1341 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
1343 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
1345 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
1346 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
1348 This fixes bug #116949.
1350 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
1352 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
1353 Correct CSPI to SPI in function documentation.
1355 This fixes bug #118054.
1357 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1359 * configure.in: Added Russian to ALL_LINGUAS.
1361 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
1363 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
1365 2003-07-14 Danilo Ã…Â Segan <dsegan@gmx.net>
1367 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
1369 2003-07-10 Joel Brich <joel.brich@laposte.net>
1371 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
1373 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
1375 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
1377 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
1379 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
1380 resources allocated for AccessibleEvent. See cspi_event().
1382 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
1383 static variable streams to NULL.
1385 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
1386 Update so that AcessibleEvent_ref will work.
1388 This fixes bug #116624.
1390 2003-07-06 Jordi Mallach <jordi@sindominio.net>
1392 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
1394 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
1396 * configure.in: Added "fr" (French) to ALL_LINGUAS.
1398 2003-07-02 Christian Neumair <chris@gnome-de.org>
1400 * configure.in: Added "de" (German) to ALL_LINGUAS.
1402 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
1404 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
1406 2003-07-01 Miloslav Trmac <mitr@volny.cz>
1408 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
1410 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
1412 * configure.in: Added "pl" to ALL_LINGUAS.
1414 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
1416 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
1418 2003-06-30 Bill Haneman <bill.haneman@sun.com>
1421 (get_action_from_servant):
1422 Removed assertion that action is implemented on an AtkObject.
1424 * libspi/hyperlink.c:
1425 (spi_hyperlink_new):
1426 Aggregate AccessibleAction interface on the hyperlink object if
1427 the object implements AtkAction. (This convention is used in
1430 2003-06-30 Bill Haneman <bill.haneman@sun.com>
1432 * configure.in: Revved to 1.3.5.
1434 * registryd/Accessibility_Registry.server.in.in:
1435 Marked up appropriate strings for translation.
1437 * atk-bridge/bridge.c: Marked a couple of
1438 user-visible warnings for translation. Questionable
1439 whether they are really useful, but possibly so.
1442 2003-06-28 Christian Rose <menthos@menthos.com>
1444 * configure.in: Added "sv" to ALL_LINGUAS.
1446 2003-06-26 Bill Haneman <bill.haneman@sun.com>
1448 * registryd/registry.c:
1449 (spi_registry_object_finalize): Unref the deviceeventcontroller.
1450 (registry_defer_on_event): Defer focus: events, this is an
1451 improvement to the patch for bug #108664.
1453 * TODO: Update with 2.4/"Dev Complete" items.
1455 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
1457 * atk-bridge/bridge.c:
1458 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
1459 looks up signals once.
1460 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
1461 if doing registration.
1462 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
1463 when doing registration.
1465 This fixes bug #115014.
1467 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
1469 * atk-bridge/bridge.c:
1470 (atk_bridge_init): Add signal handler for children-changed:remove on
1471 root when in a BonoboComponent.
1472 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
1473 for first toplevel only other incrememt variable toplevels.
1474 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
1475 application and remove listeners.
1476 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
1478 (spi_atk_deregister_event_listeners): New function which removes
1480 (reinit_register_vars): New fuction which reinitializes variables.
1482 This fixes bug #111578.
1484 2003-06-13 Bill Haneman <bill.haneman@sun.com>
1486 * configure.in: version 1.3.4.
1488 * cspi/spi_accessible.c:
1489 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
1492 2003-06-13 Michael Meeks <michael@ximian.com>
1494 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
1496 * cspi/spi_main.c (cspi_peek_ev): impl.
1498 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
1500 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
1502 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
1504 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
1505 SPI_ROLE_AUTOCOMPLETE
1507 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
1509 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
1510 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
1512 2003-06-11 Bill Haneman <bill.haneman@sun.com>
1514 * libspi/streamablecontent.h:
1515 * libspi/streamablecontent.c:
1516 New files, provide implementation/wrappers for
1517 Accessibility_StreamableContent.
1519 * cspi/spi_streamablecontent.c:
1520 Connected the C wrappers to the libspi C bindings.
1521 (AccessibleStreamableContent_close): New method.
1524 (AccessibleStreamableContent_close): New method, needed
1525 since we have an "open, [seek], read, close" model in cspi.
1527 2003-06-11 Bill Haneman <bill.haneman@sun.com>
1529 Fix for #108664; Padraig's revision of my original patch.
1531 * registryd/registry.h:
1532 Added event queue list, is_queuing, and exit_notify_timeout
1533 to the registry struct.
1535 * registryd/registry.c:
1536 (registry_init): Initialize new struct from registry.h.
1537 (impl_registry_notify_event):
1538 Filter events before notifying, in case some need to be
1540 (registry_filter_event): New,
1541 we defer certain incoming events (for instance
1542 window:deactivate) because we may wish to hide
1543 or reject them based on pending events. This is
1544 mostly a workaround for bug #108664.
1545 (registry_queue_event, registry_start_queue): New.
1546 (registry_defer_on_event): Test event to see if it
1548 (registry_reset_on_event): Returns TRUE if the
1549 event should cause a queue reset.
1550 (registry_discard_on_event): Returns TRUE if the event
1551 should cause the previous queue contents to be discarded.
1552 (registry_timeout_flush_queue): Flushes the pending event
1553 queue if no reset/discard-triggering events have come in
1554 within the timeout period.
1555 (registry_emit_event): New.
1556 (registry_clone_notify_context): New, used when queueing the
1557 event notify contexts.
1559 2003-06-10 Bill Haneman <bill.haneman@sun.com>
1561 * configure.in: Version revved to 1.3.2, lt 0.9.2
1562 Incremented ATK required version to 1.3.4.
1564 * cspi/spi_registry.c:
1565 (SPI_generateKeyEvent):
1566 We now pass the keystring along if it's non-null.
1568 * registryd/deviceeventcontroller.c:
1569 (keysym_mod_mask): New method, returns modifier mask
1570 required to generate a keysym from a given keycode.
1571 (dec_synth_keysym): New method.
1572 (dec_synth_keystring): New method.
1573 (dec_get_modifier_state): New method.
1574 (dec_lock_modifiers): New
1575 (dec_unlock_modifiers): New.
1576 (dec_keysym_for_unichar): New, rather brute-force
1577 conversion from UCS-4 to X KeySyms. Only works for
1578 Latin at the moment, with partial implementations for
1579 Greek, Hebrew, and (incomplete) Katakana.
1580 (impl_generate_keyboard_event): Now implement
1581 "KEYSTRING" synthesis and implement "KEYSYM"
1583 (keycode_from_keysym): Improved, passes a returned
1584 modmask value now if the corresponding param is non-NULL.
1586 Fixes bugs #92143 and #109776.
1589 * test/keysynth-test.c:
1590 New test program for key synthesis, to confirm fixes for
1594 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
1596 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
1598 * cspi/spi_accessible.c (cspi_init_relation_type_table):
1599 Add line for RELATION_POPUP_FOR
1601 * docs/reference/cspi/tmpl/spi_relation.sgml:
1602 Add relation SPI_RELATION_POPUP_FOR
1604 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1605 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
1607 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
1609 * libspi/relation.c (spi_init_relation_type_table):
1610 Add line for RELATION_POPUP_FOR
1612 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
1614 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
1615 there are still windows which have not been deleted and emit
1616 window:deactivate, if necessary and window:destroy events.
1617 This fixes bug #114370. The change on June 5th was not correct.
1619 2003-06-09 Bill Haneman <bill.haneman@sun.com>
1621 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
1624 (SPI_dupString): Allow dup-ing of a string such that it's safe to
1626 New methods for client exception handling and interception.
1627 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
1628 (SPI_exceptionHandlerPop): You guessed it...
1629 (SPI_getSourceType): Return the type of object which offended.
1630 (SPI_getExceptionCode): Return an enum code telling, possibly,
1631 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
1632 (SPIAccessibleException_getSource): get the source object for
1633 exceptions that come from Accessibles, if SPIExceptionSourceType is
1634 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
1635 (SPIException_getDescription): New, returns a string description of
1636 the problem. [Not yet a stable ABI, strings are not frozen]
1638 * cspi/spi-private.h:
1639 Added implementation details of opaque SPIException
1643 Implementations of above. Also
1644 (_cspi_exception_throw): new private method that
1645 dispatches exceptions to handlers, called from cspi-bonobo.c
1647 * cspi/bonobo/cspi-bonobo.c:
1648 (cspi_check_ev): call _cspi_exception_throw.
1649 Don't print a warning message if the exception has been
1650 handled by _cspi_exception_throw.
1652 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
1654 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
1655 there are still windows which have not been deleted and emit
1656 window:deactivate, if necessary and window:destroy events.
1657 This fixes bug #114370.
1659 2003-06-03 Bill Haneman <bill.haneman@sun.com>
1662 (cspi_accessible_is_a): Make non-fatal
1663 if the object reference is dead.
1665 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
1667 * cspi/spi_main.c: #include <stdio.h>
1668 * test/simple-at.c: ditto
1669 * test/event-listener-test.c: ditto
1670 * test/screen-review-test.c: ditto
1672 2003-05-30 Michael Meeks <michael@ximian.com>
1674 * test/test-simple.c (main): use CORBA_ORB_perform_work
1675 instead of an unnecessary linc_ call.
1677 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
1679 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
1680 Add SPI_STATE_INDETERMINATE.
1682 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
1685 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
1687 * libspi/stateset.c (init_state_type_tables): Add support for
1690 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
1692 * configure: Update versions of atk and gail required.
1693 This fixes bug #113268.
1695 2003-05-02 Bill Haneman <bill.haneman@sun.com>
1697 * configure.in: Revved micro version to 1.3.1 (because of build fix).
1699 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
1701 * libspi/Makefile.am:
1702 Ensure headers are generated before being used by c sources.
1704 2003-05-01 Bill Haneman <bill.haneman@sun.com>
1707 Simplified lt versioning rules.
1708 Incremented version to 1.3.0, to indicate that we're on the
1709 unstable branch now.
1711 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
1713 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
1714 Add MKDB_OPTIONS=--outtput-format=xml
1716 * docs/reference/cspi/at-spi-cspi-docs.sgml
1717 docs/reference/idl/at-spi-idl-docs.sgml:
1718 Convert to Docbook XML.
1720 This fixes bug #111793.
1722 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
1724 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
1725 AcccessibleKeyEventType, AccessibleKeyMaskType.
1727 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
1729 * cspi/state-types.h: Add documentation for AccessibleState.
1731 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
1732 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
1733 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
1734 AccessibleComponentLayer.
1736 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
1739 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
1741 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
1742 Accessible. Add description of AccessibleEvent,
1743 AccessibleEventListenerCB.
1745 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
1748 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
1749 documentation. Add description of AccessibleKeystrokeListenerCB,
1750 AccessibleKeyEventMask, AccessibleModifierMaskType,
1751 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
1752 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
1754 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
1757 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
1760 This fixes bug #104730.
1762 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
1764 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
1765 Set is_text field of Accessibility_DeviceEvent data structure.
1767 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
1768 is-text field of AccessibleDeviceEvent data structure.
1770 This addresses part of bug #108666.
1772 * registryd/devcieeventcontroller.c: Unset debug option.
1774 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
1776 * cspi/accessible.c:
1777 (cpi_initial_relation_type_table): New function which initializes
1778 mapping between Accessibility_RelationType and AccessibleRelationType.
1779 (cspi_relation_type_from_spi_relation_type): New function which
1780 translates an Accessibility_RelationType into an AccessibleRelationType.
1781 (AccessibleRelation_getRelationType): Use
1782 cpi_relation_type_get_spi_relation_type to return correct value.
1783 (spi_state_to_corba): Return correct type for default case.
1785 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
1786 Use Accessibility_EventType instead of Accessibility_KeyEventType.
1788 * cspi/cspi-bonobo-listener.c:
1789 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
1792 * libspi/accessible.c, libspi/action.c, libspi/application.c,
1793 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
1794 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
1795 libspi/image.c, libspi/listener.c, libspi/selection.c,
1796 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
1797 registryd/desktop.c, registryd/registry.c:
1798 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1800 * libspi/eventlistener.c
1801 Remove semicolon after BONOBO_TYPE_FUNC.
1803 * libspi/relation.c:
1804 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1805 (spi_init_relation_type_table): Initialize using correct type.
1807 * registryd/desktop.c:
1808 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1809 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
1810 of Accessibility_KeyEventType.
1812 * test/key-listener-test.c (report_tab_key_event): Use fprintf
1815 * tests/simple-at.c, tests/screen-review-test.c:
1816 Add include for <strings.h>.
1818 * tests.stress-test.c:
1819 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
1821 These changes fix compiler warnings when using FORTE compiler on
1822 Solaris; fixes bug #107479.
1825 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1828 * configure.in: revved to 1.1.10
1830 * libspi/keymasks.h:
1831 (SPI_KEYMASK_NUMLOCK): Added.
1833 * registryd/deviceeventcontroller.c:
1834 (spi_key_event_matches_listener): AND with a smaller
1835 bitmask (as we should).
1836 (spi_dec_translate_mask):
1837 New method, sets the virtual NumLock modifier bit
1838 if numlock is on. Eventually it can handle other virtual
1839 modifier bits if needed, or other marshalling from
1840 at-spi modifier masks to platform (X) masks.
1841 (spi_dec_key_listener_new):
1842 Call spi_dec_translate_mask to set up virtual mod bits
1843 in the 'mask' field when creating a new listener struct.
1844 (spi_dec_emit_modifier_event):
1845 Set the virtual (i.e. NumLock) bits before emitting event.
1846 (spi_controller_register_with_devices):
1847 Query for the NumLock modifier 'physical' bit if Xkb is
1848 present, for use in above methods.
1852 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1854 * registryd/deviceeventcontroller.c:
1855 (spi_keystroke_from_x_key_event):
1856 Instead of checking to see if the keysym is
1857 printable, check the string from XLookupString
1858 if available, get the first unicode character from it,
1859 and call g_unichar_isprint to determine whether the
1860 is_text flag should be TRUE or FALSE.
1864 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1866 * atk-bridge/bridge.c: Add support for extended events
1867 * cspi/spi_event.c: Add documentation and implementation for
1869 * tests/event-listener-test.c: Add tests for extended events.
1871 This fixes bugs #100424 and #100426.
1873 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1875 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
1876 of LT_CURRENT. This fixes bug #89350.
1878 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
1880 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
1881 number of signal parameter values before accessing them. This fixes
1884 2003-04-01 Bill Haneman <bill.haneman@sun.com>
1886 * configure.in: Fixed duplicate inclusion of -lspi.
1887 * branched for gnome-2-2/HEAD.
1888 [created tag "gnome-2-2"]
1890 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1892 * configure.in: 1.1.9 release.
1895 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1897 [needed by GOK, to fix bugs 107985 and 107988]
1898 * registryd/deviceeventcontroller.c:
1899 (spi_dec_clear_unlatch_pending):
1900 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
1901 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
1902 (spi_dec_init_mouse_listener):Emit warning if mouse button
1904 (spi_device_event_controller_forward_mouse_event):
1905 Removed unnecessary parens from a conditional.
1906 (global_filter_fn):Added TODO comment.
1907 (impl_generate_keyboard_event):
1908 Cancel a pending relatch if a 'delatching' key was
1911 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
1913 * atk-bridge/bridge.c:
1914 Change atk_signal_child_changed to atk_signal_children_changed.
1915 Reorganize code in spi_atk_bridge_signal_listener().
1917 * test/event-listener-test.c:
1918 Add children_changed_listener and report_children_changed_event()
1919 to test AccessibleChildEvent_getChildAccessible.
1921 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
1923 * cspi/spi_event.c (cspi_internal_event_get_text): Change
1924 g_strdup to CORBA_String_dup (bug #105291)
1926 * test/event-listener-test.c (report_text_event): Add call to
1929 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1931 * registryd/deviceeventcontroller.c:
1932 (spi_keystroke_from_x_key_event):
1933 Fix string and keysym return codes to match modifier state.
1936 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1938 * registryd/deviceeventcontroller.c:
1939 (spi_keystroke_from_x_key_event):
1940 Fix segv due to improper use of isprint(c). [bug #107254]
1942 2003-02-24 Bill Haneman <bill.haneman@sun.com>
1945 (get_accessible_text_boundary_type):
1946 Move default return value to (new) default case in switch.
1947 (get_accessible_text_clip_type):
1948 Move default return value to (new) default case in switch.
1950 * libspi/application.c:
1951 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
1952 Remove unused methods.
1953 (impl_accessibility_application_register_object_event_listener):
1954 Remove unused methods.
1957 Added #include of <math.h>.
1959 * registryd/deviceeventcontroller.c:
1960 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
1961 we don't currently use this method.
1962 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
1964 (impl_generate_key_event):
1965 Remove unused variables.
1966 (impl_generate_mouse_event):
1967 Initialize button to zero, just in case we get an invalid
1968 input. Added support for mouse buttons 4 and 5.
1969 (spi_device_event_controller_new):
1970 Removed unused variable declaration for 'private'.
1972 Added #include of <gdk/gdk.h>
1974 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1976 * configure.in: Update to work when X is not installed in expected
1977 location. Fixes bug #105836.
1979 * atk-bridge/bridge.c
1980 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
1982 (spi_atk_register_event_listener): Add signal listener for
1984 (spi_atk_bridge_signal_listener): Event event when link-selected
1985 signal is emitted. (bug #104622)
1987 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
1988 on returned string. (bug #105291)
1990 * test/event-listener-test.c: Add test for link-selected.
1992 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1994 * atk-bridge/Makefile.am: Correct typo in previous commit.
1996 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
1998 * atk-bridge/Makefile.am: Allow for build directory to be different
1999 from source directory
2001 * registryd/Makefile.am: Allow for build directory to be different
2002 from source directory
2006 2003-01-29 Bill Haneman <bill.haneman@sun.com>
2009 Fixed dependencies for libcspi so that libspi gets pulled in
2010 properly. Fixes 104741.
2014 Clean up inline docs a little.
2016 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
2018 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
2019 This is done by implementing AtkComponent for SpiAtkDesktop, which is
2020 the AtkObject within an SpiDesktop.
2021 This addresses bug #101524.
2023 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
2024 Remove call to gdk_init().
2026 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
2027 so that Display is set when SpiDesktop is created.
2029 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
2031 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
2032 This fixes bug #102830.
2034 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2036 * test/test-simple.c: Update to take account of fact that GailButton
2037 now implements AtkText.
2038 (create_text_window): Set name on AtkObject for GtkEntry.
2039 (validate_accessible): Check accessible name before calling test_text().
2041 * libspi/Makefile.am: Fix problem with building outside of source
2042 directory. Bug #98120.
2044 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
2045 typo in documentation comments. Bug #94275.
2047 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2049 * libspi/text.c (impl_getBoundedRanges): Bug fix.
2051 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
2054 Add includes to avoid compiler warnings on Solaris.
2055 (impl_getRangeExtents): Bug fix.
2057 2002-12-17 Bill Haneman <bill.haneman@sun.com>
2059 Fix for 100944, [API addition approved by Gman and murrayc].
2066 * idl/Accessibility_Text.idl:
2067 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
2068 (Text::getRangeExtents): New method for efficient
2069 bounds query of a text range.
2070 (Text::getBoundedRanges): New method for efficient
2071 clipping of text to bounding boxes.
2072 (unImplemented7, unImplemented8):
2073 Removed these padding methods to preserve bincompat.
2076 (impl_getRangeExtents): implementation of new IDL.
2077 (impl_getBoundedRanges): implementation of new IDL.
2078 (SpiTextRect): Internal use struct.
2079 (_spi_text_rect_union): internal method, calculates union of two
2080 SpiTextRect bounding rects.
2081 (_spi_text_range_seq_from_gslist): internal method, allows us
2082 to build our sequence efficiently as a gslist then convert it
2084 (_spi_bounds_contain): internal method, determines whether
2085 a text character is "in" or "out" of a clip rect according to
2086 values of TEXT_CLIP_TYPE.
2087 (spi_text_class_init): Initialize the new methods in the epv.
2090 (AccessibleTextClipType): New enum used by screen review api.
2091 (AccessibleTextRange): New struct used by screen review api.
2092 (AccessibleText_getRangeExtents):
2093 cspi binding for Accessibility_Text_getRangeExtents.
2094 (AccessibleText_getBoundedRanges):
2095 cspi binding for Accessibility_Text_getBoundedRanges.
2096 (AccessibleTextRange_freeRanges): convenience method.
2099 (AccessibleText_getRangeExtents):
2100 cspi binding for Accessibility_Text_getRangeExtents.
2101 (AccessibleText_getBoundedRanges):
2102 cspi binding for Accessibility_Text_getBoundedRanges.
2103 (AccessibleTextRange_freeRanges): convenience method.
2104 (get_accessible_text_clip_type): internal conversion method.
2105 (get_accessible_text_ranges_from_range_seq): internal conversion method.
2107 * registryd/deviceeventcontroller.c:
2108 (spi_dec_mouse_check):
2109 Improved behavior for mouse:abs events
2110 [same granularity as mouse:rel events, and no
2111 events when mouse is idle].
2113 2002-12-16 Michael Meeks <michael@ximian.com>
2115 * cspi/spi_accessible.c (spi_state_to_corba): rename.
2117 * libspi/stateset.c (state_spi_to_atk): split out
2118 ( fix several remote array bounds nasties )
2119 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
2120 (impl_remove): make safe from array bounds issues.
2121 (spi_atk_state_from_spi_state): impl.
2123 * libspi/stateset.h (spi_state_set_cache_is_empty):
2124 add a set of wrapper defines to get layering right.
2126 * cspi/spi_accessible.c: update state set stuff to
2129 2002-12-14 Michael Meeks <michael@ximian.com>
2131 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
2132 to avoid 2 roundtrips to the registry per key event
2133 (spi_atk_bridge_key_listener): upd.
2134 (deregister_application): release the dec.
2136 * registryd/registry.c (notify_listeners_cb):
2137 bin lots of re-enterant complexity - we no longer
2138 do a round-trip bonobo ref here, ensure that a single
2139 listener's exception failure won't poison all other
2141 (impl_registry_notify_event): bin obvious memory leak.
2143 2002-12-13 Michael Meeks <michael@ximian.com>
2145 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
2146 init the ev so the error is meaningful.
2147 (spi_atk_bridge_key_listener): ditto.
2149 * cspi/spi_main.c (cspi_ev): init the ev so we start
2150 with a clean slate, otherwise the first exception
2151 kills us completely.
2153 * cspi/spi_text.c (get_accessible_text_boundary_type):
2154 add a fallthrough for no warnings.
2156 * cspi/spi_registry.c: prune unused warnings.
2158 * cspi/spi_main.c (cspi_object_take): fix
2159 mind-blowing brokenness ( by watching the compile
2162 * cspi/spi_accessible.c (Accessible_getStateSet):
2163 re-impl. to use an AtkStateSet.
2164 (spi_state_type_from_accessible_state),
2165 (init_state_table): bin these.
2167 * libspi/stateset.c (spi_atk_state_set_from_sequence):
2169 (atk_state_set_from_accessibility_state_set): here.
2171 * cspi/spi_accessible.c (spi_state_to_atk): impl.
2172 (AccessibleStateSet_contains, AccessibleStateSet_ref),
2173 (AccessibleStateSet_unref, AccessibleStateSet_contains),
2174 (AccessibleStateSet_add, AccessibleStateSet_remove),
2175 (AccessibleStateSet_equals, AccessibleStateSet_compare),
2176 (AccessibleStateSet_isEmpty): re-write to use a local
2179 2002-12-13 Bill Haneman <bill.haneman@sun.com>
2181 * configure.in: Revved to 1.1.7 (new keymask vals).
2183 2002-12-10 Bill Haneman <bill.haneman@sun.com>
2185 * libspi/keymasks.h:
2186 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
2188 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
2191 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
2192 to compare two CORBA_TypeCodes.
2193 (cspi_internal_event_add): Silence warning from FORTE compiler.
2195 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
2196 avoid implicit declaration of functions.
2198 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
2200 * atk-bridge/bridge.c:
2201 (spi_atk_bridge_init_event_type_consts): Store signal id for
2202 active-descendant-changed signal.
2203 (spi_atk_register_event_listeners): Add signal listener for
2204 active-descendant-changed signal,
2205 (spi_atk_bridge_signal_listener): Move code in function
2206 spi_atk-signal_emit_event() into this function.
2207 Add support for active-descendant-changed
2208 Update support for child-changed signal.
2209 (spi_bridge_window_event_listener): Silence warning.
2211 * libspi/spi_private.[ch]:
2212 (spi_init_any_object): Change second parameter from CORBA_Object to
2214 Omit call to CORBA_Object_duplicate().
2215 Set CORBA_any's _value to CORBA_Object*.
2217 2002-12-06 Bill Haneman <bill.haneman@sun.com>
2223 (AccessibleEvent_ref, AccessibleEvent_unref):
2224 New methods, for persisting an event outside the emission context.
2225 Must be used if the new accessor methods are to be called
2226 outside of the event listener's callback.
2228 * cspi/bonobo/cspi-bonobo.c:
2229 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
2230 as second parameter instead of NULL, so we can call
2231 cspi_check_ev afterwards.
2234 (cspi_object_take): New internal method,
2235 converts a CORBA_Object reference to a hard ref on
2236 an Accessible if possible, returning NULL if the object
2237 reference is invalid or an Accessible * otherwise.
2240 (AccessibleEvent_ref):
2241 Increment the event's internal private refcount, and
2242 add the event's internal struct to an internal cache
2243 if it's not already there.
2244 (AccessibleEvent_unref):
2245 Decrement the event's refcount and remove it from
2246 the cspi event cache if refcount==0.
2247 (cspi_event_compare): New private method.
2248 Compares two event structs via their ids. Used
2250 (cspi_internal_event_lookup): New private method.
2251 (cspi_internal_event_check): New private method,
2252 a 0-order sanity check for events to make sure their
2253 private data is intact.
2254 (cspi_internal_event_add, cspi_internal_event_remove):
2255 New private methods for managiing the event cache.
2257 * cspi/bonobo/cspi-bonobo-listener.c:
2259 Initialize the new private data elements (id, magic, ref_count).
2261 * atk-bridge/bridge.c:
2262 (spi_atk_bridge_signal_listener):
2263 Fixed bug #100530, passing wrong params to emission func.
2265 * registryd/deviceeventcontroller.c:
2266 (spi_dec_button_update_and_emit):
2267 Fixed type in mask bit operations; fix for #99799.
2269 2002-12-02 Bill Haneman <bill.haneman@sun.com>
2271 Removed some of the more dangerous workarounds from
2272 previous commit; they are only needed by GOK, which
2273 in reality should be using another method to accomplish
2274 the goals. So on reconsideration some of the workarounds
2275 need to be reverted:
2277 * registryd/deviceeventcontroller.c:
2278 (spi_keycodes_contain, spi_dec_init_keycode_list):
2279 Removed these methods, used only by a nasty hack to try
2280 and detect whether a key synthesis should be allowed
2281 to reset the XKB latch state or not. This code was only
2282 required to work around an interaction between GOK,
2283 button events, and XKB.
2284 (impl_generate_key_event):
2285 Removed hack at end of key generation that tried to
2286 "do the right thing" if XKB latch keys were generated
2287 in the midst of button press/release pairs.
2290 Added a check for HAVE_XINPUT. Not normally used yet.
2292 2002-11-25 Bill Haneman <bill.haneman@sun.com>
2294 Workarounds and fixes for mouse event/XKB interaction.
2296 * registryd/deviceeventcontroller.c:
2297 (spi_keycodes_contain, spi_dec_init_keycode_list):
2298 New internal methods.
2299 (spi_dec_set_unlatch_pending):
2300 Split the method that tells XKB to expect an
2301 unlatch (and revert it) out of the rest of the
2302 event handling code. This method is called by the
2303 two mouse event handlers (the poll and the filter).
2304 (spi_dec_update_and_emit, spi_dec_mouse_check):
2305 New methods split from spi_dec_poll_mouse_moved.
2306 The second one is now called from inside the filterFn
2307 when an XKB delatch event is received, to determine
2308 whether to revert the delatch or not.
2309 (spi_poll_mouse_moved): Refactor; also we can now
2310 properly handle the case where multiple button states
2311 have changed between polling cycles and we didn't get
2312 notified due to another client's grab.
2314 Synchronize the server while handling an XKB notification.
2315 Ugly, but apparently necessary to avoid nasty races.
2316 Check the mouse state on receipt of an XKB latch change,
2317 to decide whether to revert the latch or not. (Latches are
2318 reverted if there is an immediately preceding mouse button
2319 event that a client has consumed, in which case we don't want
2320 the user to see the side-effect of the event).
2321 (spi_device_event_controller_forward_mouse_event):
2322 Check for modifier events and fire before resetting mouse_mask_state,
2323 prevents losing modifier events.
2325 (impl_generate_keyboard_event):
2326 If we've just generated a keyboard event for a non-shift key,
2327 we don't want to revert the pending XKB latch.
2328 Otherwise, check the modifier state (via a call to
2329 spi_dev_mouse_check) and set the relatch mask to
2330 that state before returning.
2332 2002-11-24 Bill Haneman <bill.haneman@sun.com>
2335 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
2338 * atk-bridge/bridge.c:
2339 (spi_atk_register_event_listeners):
2340 Don't re-register for ATK events if the registry has died
2341 and the app needs to re-register; the ATK listeners are in
2342 process and doing so will cause duplicate emission.
2344 * registryd/deviceeventcontroller.c:
2345 (spi_poll_mouse_moved):
2346 Reformat the source, detect and emit multiple button-change
2347 events (i.e. if multiple buttons have changed between poll
2349 Add code to detect mouse-down events even when the pointer
2350 is grabbed; workaround for GOK bug 98420.
2351 (spi_controller_register_with_devices):
2352 Call XTestGrabControl with 'impervious' flag set to True,
2353 allows us to synthesize events and query the pointer even during
2354 an active grab by another client.
2355 (spi_device_event_controller_forward_mouse_event):
2356 Set the mouse_mask_state to the mouse_button_state from
2357 the intercepted event, to synchronize the grab listener with
2360 2002-11-20 Bill Haneman <bill.haneman@sun.com>
2362 * cspi/spi_accessible.c:
2363 (AccessibleRole_getName):
2364 Added necessary strings for making this (deprecated)
2365 method work with the new role types.
2366 (init_role_table, role_table):
2367 Added definition of SPI_ROLE_APPLICATION.
2369 * libspi/spi-roletypes.h:
2370 Added SPI_ROLE_APPLICATION.
2372 * idl/Accessibility_Role.idl:
2373 Added ROLE_APPLICATION.
2375 * docs/reference/cspi/at-spi-cspi-decl.txt:
2376 Added SPI_ROLE_APPLICATION to docs.
2378 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
2380 * cspi/spi_accessible.c
2381 (cspi_init_role_table): Do not write beyond end of role_table.
2382 (Accessible_getRole): Use correct type for value returned by
2383 Accessibility_Accessible_getRole().
2385 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
2386 beyond end of role_table. (This fixes bug #98269)
2388 * libspi/application.c: Add include file spi-private.h for
2389 definition of spi_init_any_nil.
2391 2002-11-19 Bill Haneman <bill.haneman@sun.com>
2395 * libspi/spi-private.h:
2396 Added DGB() macro, and extern int _dbg declaration.
2398 * registryd/registry.c:
2399 (definitions) storage for _dbg.
2400 (spi_registry_init):
2401 Get environment variable "AT_SPI_DEBUG".
2402 (spi_registry_set_debug):
2403 New method, to initialize _dbg value.
2404 (spi_listener_struct_new, spi_registry_object_finalize):
2405 (notify_listeners_cb):
2406 Changed fprintfs to use DBG and g_warning().
2408 * registryd/deviceeventcontroller.c:
2409 (_deregister_keygrab, spi_controller_register_device_listener):
2410 Changed debug/warning messages to use DBG macro.
2412 * libspi/listener.c:
2413 (impl_notify_event):
2414 Changed warning messages to use DBG macro and g_warning().
2416 * atk-bridge/bridge.c:
2417 (atk_bridge_init, spi_atk_bridge_get_registry):
2418 (spi_atk_bridge_exit_func):
2419 (spi_atk_bridge_property_event_listener):
2420 Changed status, warning, and error messages to use
2421 g_warning, g_message, and DBG macros.
2424 Read the state of the AT_SPI_DEBUG environment variable
2425 and set a local '_dbg' accordingly.
2427 2002-11-19 Bill Haneman <bill.haneman@sun.com>
2429 FIXES for 98836, 98842, other bugs.
2432 Revved to 1.1.4, interface-age=4, binary-age=4.
2434 * registryd/deviceeventcontroller.c:
2436 Fixed crasher bug in last_mouse_pos initialization.
2438 * registryd/registry.c:
2439 (desktop_add_application, desktop_remove_application):
2440 Added (and then commented out) some support for
2441 object context marshalling. [TODO]
2443 * atk-bridge/bridge.c:
2444 (spi_atk_bridge_event_context_create):
2445 Commented out object context creation until it can
2446 be properly tested and debugged.
2448 * registryd/registry.c:
2449 (impl_registry_notify_event):
2450 Fixed crasher bug, we were calling
2451 spi_re_entrant_list_foreach () with an empty list.
2453 2002-11-18 Bill Haneman <bill.haneman@sun.com>
2455 * idl/Accessibility_Action.idl:
2456 * idl/Accessibility_Component.idl:
2457 * idl/Accessibility_Desktop.idl:
2458 * idl/Accessibility_Event.idl:
2459 * idl/Accessibility_Hyperlink.idl:
2460 * idl/Accessibility_Image.idl:
2461 * idl/Accessibility_Relation.idl:
2462 * idl/Accessibility_Selection.idl:
2463 * idl/Accessibility_State.idl:
2464 * idl/Accessibility_Value.idl:
2465 Updated unimplemented slot count to minimum of
2466 four for all interfaces, for ABI freeze.
2468 * idl/Accessibility_EditableText.idl:
2469 * idl/Accessibility_Text.idl:
2470 Updated unimplemented slot count to six
2473 * idl/Accessibility_Registry.idl:
2474 Updated unimplemented slot count to six
2475 (also for DeviceEventController),
2478 * idl/Accessibility_Table.idl:
2479 Updated unimplemented slot count to eight,
2482 * idl/Accessibility_Event.idl:
2483 Added CORBA_any "any_data" member to Event struct.
2485 * idl/Accessibility_Event.idl:
2486 Added CORBA_any "any_data" member to Event struct.
2488 * atk-bridge/bridge.c:
2490 atk_signal_text_changed, atk_signal_child_changed,
2491 signal ids queried from gtype system.
2492 (AtkBridgeEventContextType): New enum.
2493 (AtkBridgeEventContextData): New struct.
2494 (AtkBridgeEventContext): New struct.
2495 (atk_bridge_init_event_type_consts):
2496 New method, initializes type contants for comparison
2497 prior to emit_eventv.
2498 (atk_bridge_event_context_init): New method,
2499 initializes a CORBA_any from an AtkBridgeEventContext.
2500 (atk_bridge_focus_tracker): Call spi_init_any_nil to
2501 initialize the event.any_data struct.
2502 (spi_atk_bridge_event_context_create): New method,
2503 creates an AtkBridgeEventContext from signal/event info.
2504 (spi_atk_bridge_event_context_free): New method.
2505 (spi_atk_emit_eventv): Changed to take an
2506 AtkBridgeEventContext parameter. We now initialize
2507 the event.any_data member prior to notifying the
2508 Registry, via the AtkBridgeEventContext.
2509 (spi_atk_bridge_property_event_listener):
2510 (spi_atk_bridge_state_event_listener):
2511 Match emit_eventv signature.
2512 (spi_atk_bridge_object_event_listener):
2513 Match emit_eventv signature, and create an
2514 event context from the event details.
2515 Free the event context afterwards.
2516 (spi_atk_bridge_window_event_listener):
2517 Create an event context, pass it to the
2521 (AccessibleEvent_getContextString):
2522 (AccessibleEvent_getContextObject):
2523 New methods, allow query of AccessibleEvent objects
2524 for more context details (via the "any_data" member
2525 of the Event struct, above).
2528 Definitions for AccessibleEvent_getContextString
2529 and AccessibleEvent_getContextObject.
2531 * cspi/spi_listener.h:
2532 (InternalEvent): New struct.
2535 (AccessibleEvent_getContextString):
2536 (AccessibleEvent_getContextObject):
2537 Implementations of new methods, for obtaining
2538 additional context information from some event types.
2540 * cspi/spi_registry.c:
2541 (SPI_registerGlobalEventListener):
2542 Added mention of active-descendant-changed event in docs.
2544 * cspi/cspi-bonobo-listener.c:
2546 Marshal the any into the AccessibleEvent via
2549 * libspi/spi-private.h:
2550 #include <orbit/orbit.h>
2552 (spi_init_any_string):
2553 (spi_init_any_object):
2554 New convenience function declarations.
2558 (spi_init_any_string):
2559 (spi_init_any_object):
2560 New convenience function implementations.
2562 * registryd/deviceeventcontroller.c:
2563 (spi_poll_dec_mouse_moved):
2564 (spi_device_event_controller_forward_mous_event):
2565 Initialize any_data member of event.
2566 (spi_deregister_controller_device_listener):
2567 Fix incorrect param pass which was preventing deregistration.
2569 * registryd/registry.c:
2570 (desktop_add_application):
2571 (desktop_remove_application):
2572 Add object data to event's any_data before dispatch.
2574 Fix for error messages from GAIL.
2576 * test/event-listener-test.c:
2577 Test new ContextString and "any_data" API:
2578 (report_text_event): New method query and output context string.
2579 (main): register a new text listener with report_text_event
2582 2002-11-19 Darren Kenny <darren.kenny@sun.com>
2584 Fixes for bugs 98127 and 97914.
2585 * cspi/spi-roletypes.h:
2586 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
2588 * cspi/spi-statetypes.h:
2589 Added SPI_STATE_MANAGES_DESCENDANTS
2591 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
2592 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
2593 * cspi/spi_accessible.c:
2594 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
2595 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
2596 Accessibility_STATE_MANAGES_DESCENDANTS
2597 * libspi/accessible.c:
2598 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
2599 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
2600 As requested by Bill, I also cleaned up the alignment.
2601 * libspi/relation.c:
2602 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
2603 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
2604 * libspi/stateset.c:
2605 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
2606 Accessibility_STATE_MANAGES_DESCENDANTS
2607 * docs/reference/cspi/tmpl/spi_accessible.sgml:
2608 Document changes reflecting modifications to roles.
2609 * docs/reference/cspi/tmpl/spi_relation.sgml:
2610 Document changes reflecting modifications to relations.
2611 * docs/reference/cspi/tmpl/spi_stateset.sgml:
2612 Document changes reflecting modifications to states.
2614 2002-11-17 Bill Haneman <bill.haneman@sun.com>
2617 Revved to 1.1.3, interface-age=3, binary-age=3.
2618 Added REBUILD macro.
2621 Removed accessx-gui from the tests, since we have a nice
2622 keyboard accessibility capplet now :-)
2624 * test/keysynth-demo.c:
2625 (increment_scan): removed do-nothing default: case,
2628 * test/visual-bell.c:
2629 (main) : removed do-nothing default: case,
2632 * cspi/spi_action.c:
2633 (AccessibleAction_getKeyBinding_):
2634 Documented keybinding string format.
2638 (AccessibleText_getAttributes):
2639 Documented the text attribute string format.
2640 It's changed to use semicolon delimiters also,
2641 to prevent clashes with CSS attributes, but the old
2642 trick of looking for ", " strings will still work
2643 (as unreliably as ever). Fix for bug related to 97916.
2646 Include <cspi/bonobo/cspi-bonobo-listener.h>
2647 Fixes build warning.
2648 (SPI_freeAccessibleKeySet):
2649 (AccessibleKeystrokeListener_addCallback):
2650 (AccessibleKeystrokeListener_removeCallback):
2651 Modify to use AccessibleDeviceListener API internally,
2652 instead of AccessibleKeystrokeListener.
2654 * idl/Accessibility_Event.idl:
2655 Added two more empty slots to EventListener (for a total of four).
2657 * idl/Accessibility_Accessible.idl:
2658 Added four empty slots to Accessible interface.
2660 2002-11-15 Bill Haneman <bill.haneman@sun.com>
2662 * idl/Accessibility_Registry.idl:
2663 (KeyEventType, EventType):
2664 Marked KeyEventType as deprecated; it duplicates
2665 functionality of EventType, which has been extended to
2666 include Mouse-button events.
2667 (KeyEventTypeSeq): defined in terms of EventType.
2668 (registerDeviceEventListener, deregisterDeviceEventListener):
2669 New methods, for managing listeners to device events,
2670 which potentially may consume them.
2673 Added definition for AccessibleDeviceListener.
2675 * cspi/spi-listener.h:
2676 (enum AccessibleDeviceEventType):
2677 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
2678 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
2679 for backwards compat.
2680 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
2681 and typedef'd AccessibleKeystroke to it for back-compat.
2682 (AccessibleDeviceListenerCB):
2683 New function prototype typedef.
2686 (AccessibleDeviceEventMask): New typedef.
2687 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
2688 (AccessibleKeyMaskType):
2689 Set equivalent to AccessibleModifierMaskType for back-compat.
2690 (SPI_createAccessibleKeystrokeListener):
2691 (AccessibleKeystrokeListener_unref):
2692 Deprecated in favor of equivalent (better-named) new API below..
2693 keystroke listeners are like all device listeners.
2694 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
2695 New API names for old features :-).
2696 (AccessibleDeviceListener_addCallback):
2697 (AccessibleDeviceListener_removeCallback):
2698 (SPI_registerDeviceEventListener):
2699 (SPI_deregisterDeviceEventListener):
2703 (SPI_createAccessibleKeystrokeListener):
2704 Use new preferred API, cspi_device_listener_new() and
2705 cspi_device_listener_add_cb().
2706 (AccessibleKeystrokeListener_removeCallback):
2707 Use new preferred API, cspi_device_listener_remove_cb().
2708 (AccessibleKeystrokeListener_unref):
2709 Use new preferred API, cspi_device_listener_unref().
2710 (SPI_createAccessibleDeviceListener):
2711 (AccessibleDeviceListener_addCallback):
2712 (AccessibleDeviceListener_removeCallback):
2713 Implementation of new API.
2715 * cspi/spi_registry.c:
2716 (SPI_registerDeviceEventListener):
2717 (SPI_deregisterDeviceEventListener):
2718 Implementation of new API. Fixed memory leak and removed need to
2719 allocate EventTypeSeq (thanks Michael for catching this).
2720 Squashed a wayward CORBA_exception_free that shouldn't get called.
2722 * cspi/bonobo/cspi-bonobo-listener.c:
2724 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
2725 (cspi_key_event): renamed to cspi_device_event().
2726 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
2727 Extended to handle mouse button events as well as key events.
2728 (CSpiKeystrokeListener):
2729 Class superceded by CSpiDeviceListener.
2730 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
2731 These internal APIs changed to "*device_listener" from "*keystroke_listener".
2733 * cspi/bonobo/cspi-bonobo-listener.h:
2734 (CSpiKeystrokeListener):
2735 Class superceded by CSpiDeviceListener.
2736 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
2737 These internal APIs changed to "*device_listener" from "*keystroke_listener".
2739 * libspi/Makefile.am:
2740 Replaced keystrokelistener.h and keystrokelistener.c
2741 with devicelistener.h and devicelistener.c; keystrokelisener.h
2742 stub retained for back-compat.
2744 * libspi/keystrokelistener.c:
2748 Replaced inclusion of keystrokelistener.h with devicelistener.h.
2750 * registryd/deviceeventcontroller.c:
2751 (DEControllerListener): Added Accessibility_EventTypeSeq member.
2752 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
2753 (DEControllerPrivateData): Added xkb settings data.
2754 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
2755 button release events (which can't be captured via XGrabButton).
2756 Don't dispatch via the 'normal' event mechanism if the device event was
2758 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
2759 Handle the typeseq data in its new location (see above).
2760 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
2761 New methods, for "generic" device listeners.
2762 (spi_controller_register_device_listener):
2763 Now handle mouse event listeners as well as key listeners.
2764 (spi_controller_notify_mouselisteners):
2765 New internal method.
2766 (spi_device_event_controller_forward_mouse_event):
2767 Now we notify mouse device listeners as well as generating the
2768 non-consumable "mouse:" events.
2770 We must check and restore the XKB
2771 modifier map if we consume the event, since the act of triggering
2772 a mouse event will normally reset the XKB latch. This is required for
2774 (spi_controller_register_with_devices):
2775 Load the XKB settings when registering, and register for XKB
2776 state notify events.
2777 (spi_key_eventtype_seq_contains_event):
2778 Renamed spi_eventtype_seq_contains_event, since it's used
2779 internally for all device event types now.
2780 (spi_key_event_matches_listener):
2781 Uses spi_eventtype_seq_contains_event now.
2782 (spi_device_event_controller_object_finalize):
2783 Free the private data and the XkbKeyboard struct.
2784 (impl_register_device_listener, impl_deregister_device_listener):
2785 Implementation of new IDL.
2786 (spi_deregister_controller_device_listener):
2787 New internal method.
2788 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
2789 More efficient implementation, we don't have to create a new
2790 XkbControls structure every time we query.
2791 (spi_device_event_controller_class_init):
2792 Initialize the epv entries for the new IDL. Assign the
2793 "spi-dec-private" quark.
2794 (spi_device_event_controller_init):
2795 Initialize the private data.
2796 (spi_device_event_controller_forward_key_event):
2797 Removed a bogus CORBA_exception_free() call.
2799 * registryd/deviceeventcontroller.h:
2800 Replaced inclusion of keystrokelistener.h with
2803 * test/event-listener-test.c:
2804 (report_mouse_event):
2807 Added mouse-event device listener.
2809 * test/test-simple.c:
2810 (create_test_window):
2811 Fixed regression (we were instantiating a GtkRange,
2812 which is now an abstract class). Also fixed to match
2813 existing AtkRole names, this seems to have changed in ATK
2814 awhile ago; too late now I think, and the new
2815 mechanism is at least elegant and consistent with the
2816 glib enum "nick" APIs.
2818 2002-11-15 Darren Kenny <darren.kenny@sun.com>
2820 * idl/Accessibility_Relation.idl:
2821 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
2822 RELATION_EMBEDS,RELATION_EMBEDDED_BY
2823 * idl/Accessibility_Role.idl:
2824 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
2825 * idl/Accessibility_State.idl:
2826 add STATE_MANAGES_DESCENDANTS
2827 * test/event-listener-test.c:
2828 Added a listener for active-descendant events.
2830 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
2832 * atk-bridge/bridge.c
2833 (atk_bridge_init): If application is Bonobo component wait until top
2834 level is added before registering
2835 (spi_atk_bridge_do_registration): New function which contains code,
2836 formerly in atk_bridge_init, to do application registration.
2837 (spi_atk_bridge_toplevel_added): Signal called when top level
2838 added to Bonobo component
2840 This fixes bug #83134.
2842 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
2844 * registryd/deviceeventcontroller.c
2845 Fixed compilation error caused by calling gettimeofday()
2848 2002-10-18 Bill Haneman <bill.haneman@sun.com>
2853 Added template for HAVE_XKB.
2856 Changes to check for XKB, and to set the HAVE_XKB #define if it
2859 * libspi/listener.c:
2860 ()impl_notify_event): Make failure to get event source name
2863 * registryd/deviceeventcontroller.c:
2864 (#include): include X11/XKBlib.h.
2865 (DEControllerPrivateData) : New struct.
2866 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
2868 (dec_synth_keycode_press) (dec_synth_keycode_release):
2869 New methods; split the key synthesis code into these methods.
2870 They check XKB settings before determining the "time" values to
2871 pass to Xtest; this fixes bug #95828.
2872 (impl_generate_keyboard_event): Changed to use methods above,
2873 instead of callng Xtest directly.
2874 (spi_device_event_controller_init): Initialize new privae struct s
2876 (spi_device_event_controllr_object_finalize):
2877 Free the (new) private data.
2879 * registryd/deviceeventcontroller.h:
2880 Add new gpointer to end of struct data.
2882 2002-10-16 Bill Haneman <bill.haneman@sun.com>
2885 Incremented revision to 1.1.2, SONAME is still '.so', library
2886 extensions are ".so.0.0.2".
2888 * registryd/deviceeventcontroller.c:
2889 FIXES FOR #93592 and #95940.
2890 (statics): renamed mouse_button_state to mouse_mask_state,
2891 added key_modifier_mask.
2892 (spi_dec_poll_mouse_moved):
2893 Added key modifier checks, and emit "keyboard:modifiers"
2894 events when the key modifiers currently in use change.
2895 Also generate "mouse:abs" events periodically, even if the mouse
2896 is stationary (should we?).
2897 Alternatively we could generate "mouse:abs" events for either all
2898 mouse movements, or every 'nth' mouse movement, or at the
2899 beginning and end of every "active" mouse period.
2901 * test/event-listener-test.c:
2902 (main): Added listener for "keyboard:modifiers" events.
2904 2002-10-15 Bill Haneman <bill.haneman@sun.com>
2906 * libspi/keymasks.h:
2907 Added key mask #defines for mouse buttons; e.g.
2908 SPI_KEYMASK_BUTTON1, etc.
2911 Incremented dependency on ATK to version 1.1.0. (This dependency
2912 is probably premature but will soon be real enough).
2914 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
2916 * libspi/hyperlink.[ch]
2917 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
2918 (get_hyperlink_from_servant): Check object is AtkHyperlink not
2921 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
2926 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
2928 * registryd/deviceeventcontroller.c
2929 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
2930 events to be ignored.
2931 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
2932 keyboard_mode so that XAllowEvents() can be called.
2936 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
2938 * cspi/spi-accessible.c: Correct names of roles returned by
2939 AccessibleRole_getName(). Fixes bug #95055.
2941 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
2943 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
2946 * registryd/registry.c
2947 (desktop_remove_application: Write diagnostic message to stderr for
2950 (impl_accessibility_registry_deregister_global_event_listener):
2951 Correct size of lists array. This addresses bug #94555).
2953 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
2955 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
2958 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
2960 * registryd/Makefile: Add CLEANFILES so that .server file is removed
2963 * registryd/registry.c (impl_registry_notify_event): Remove
2964 unnecessary call to parser_event_type().
2966 * docs/reference/cspi/tmpl/spi_component.sgml:
2967 Add reference to SPI_LAYER_WINDOW.
2969 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
2971 * registryd/registry.c
2972 (desktop_add_application): Remove leak.
2973 (desktop_remove_application): Remove leak.
2974 (parser_event_type): Remove leak.
2976 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
2978 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
2979 bogus call to CORBA_string_dup(). Also removed unnecessary
2980 g_string_dup/g_free calls.
2982 2002-09-13 Bill Haneman <bill.haneman@sun.com>
2984 * registryd/deviceeventcontroller.c:
2985 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
2987 * test/event-listener-test.c:
2988 main: commented out three redundant listeners, to reduce output
2989 noise. (They still are potentially useful for testing).
2992 2002-09-13 Michael Meeks <michael@ximian.com>
2994 * Update all the copyrights to include Ximian.
2996 2002-09-06 Mark McLoughlin <mark@skynet.ie>
2998 * cspi/spi.h: add SPI_LAYER_WINDOW.
3000 * cspi/spi_component.c: (AccessibleComponent_getLayer):
3001 add Accessibility_LAYER_WINDOW case.
3003 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
3005 * libspi/component.c: (impl_accessibility_component_get_layer):
3006 add ATK_LAYER_WINDOW case.
3008 2002-08-28 Bill Haneman <bill.haneman@sun.com>
3010 * configure.in: incremented micro version.
3012 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
3014 2002-08-20 Bill Haneman <bill.haneman@sun.com>
3017 Clarified and reworded our commit policy.
3020 Started an API "todo" addition list for 2.2.
3023 (impl_getSelection):
3024 Free char pointer from atk_text_get_selection, which was being leaked.
3026 2002-08-19 Bill Haneman <bill.haneman@sun.com>
3029 Small revision to author acknowledgement.
3031 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
3033 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
3034 If signal has detail add it to the type of the event.
3037 2002-08-12 Michael Meeks <michael@ximian.com>
3039 * test/test-simple.c (global_listener_cb): bin bogosity.
3040 (test_keylisteners): disable, still doesn't work reliably,
3041 certainly not on my system anyway.
3043 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
3044 don't leak a reference on the DEC. This round-trip
3045 fetching of the DEC per keystroke sucks, it should be
3048 * cspi/spi-private.h,
3049 * cspi/cspi-lowlevel.h,
3050 * cspi/bonobo/cspi-bonobo-listener.[ch],
3051 * cspi/bonobo/cspi-bonobo.c: get the copyright
3052 notices better - there is still a large amount of
3053 work in at-spi falsely attributed solely to Sun.
3055 * cspi/spi_main.c (cspi_object_ref): kill bogus
3056 hash lookup, just increment the ref.
3057 (SPI_freeString): make explicit the fact that we
3058 handle NULL strings just fine.
3059 (report_leaked_ref): obey coding standards.
3060 (cspi_object_hash, cspi_object_equal): kill retval.
3061 (cspi_object_release): only release if not on loan.
3062 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
3063 (cspi_object_borrow, cspi_object_return): impl.
3065 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
3066 use cspi_object_borrow / return.
3068 2002-08-12 Darren Kenny <darren.kenny@sun.com>
3070 * cspi/bonobo/cspi-bonobo-listener.c:
3072 Don't call cspi_oject_new() because this is creating a new Accessible
3073 every single time that an event is fired. This causes ATs like at-poke
3074 to nolonger recognise the source of the event and thus ignore it.
3075 Re-use the object from the cache, ref it and then unref it after the
3076 listeners have been called.
3078 2002-08-06 Darren Kenny <darren.kenny@sun.com>
3080 * test/event-listener-test.c:
3081 Added command-line options to disable mouse events (m) and
3084 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
3086 * configure.in: Update required versions of ATK, GTK+ and GAIL
3088 * cspi-1.0.pc.in: Add dependency for X include files
3091 * cspi/bonobo/Makefile.am:
3092 Add $(X_CFLAGS) so that X include files
3093 are picked up even if not in standard place (bug #71686)
3095 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3097 * registryd/deviceeventcontroller.c: fix for 84261
3098 (spi_dec_mouse_moved):
3099 Added test of mouse button mask, so that we can detect mouse
3100 button release. Unfortunately we can't otherwise detect mouse
3101 button release events without consuming the mouse press event,
3102 because of the way XGrabButton works. This means that our mouse
3103 release events have a latency dependent on the polling period
3104 while the mouse button is down. At least in this case we only
3105 have to poll while the button is down, and not at other times.
3106 If the button masks don't match with what the last press event
3107 reported, we report the appropriate button release event.
3108 (spi_dec_ungrab_mouse):
3109 New method (not yet called).
3110 (spi_device_event_controller_forward_mouse_event):
3111 New method, sends mouse press event from GdkFilter.
3112 (spi_dec_init_mouse_listener):
3113 Added code to call XGrabButton, redirecting mouse button events to
3114 the root window and our Gdk event loop.
3116 Added code to filter mouse button events, and reordered.
3118 * test/event-listener-test.c:
3120 Added registration for mouse events of type "mouse:button".
3122 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3124 * registryd/deviceeventcontroller.c: partial fix for 84261
3125 (spi_dec_poll_mouse_idle):
3126 New method, a timeout which checks to see if the mouse
3128 (spi_dec_poll_mouse_moving):
3129 A timeout to be called when mouse motion is underway.
3130 (spi_dec_poll_mouse_moved):
3131 A method which fires an event if the mouse has moved, and reports
3132 whether or not it did so.
3133 (spi_dec_init_mouse_listener):
3134 A method which sets up the timeouts above.
3135 (spi_device_event_controller_new):
3136 Now calls spi_dec_init_mouse_listener.
3138 * registryd/registry.c:
3139 (spi_registry_init):
3140 Now we initialize the device event controller when the registry is
3141 initialized, instead of waiting until a client has requested a key
3142 event notification; this is because we need the event controller
3143 for mouse events, but the mouse event registration API is a
3144 "registry" call and doesn't explicitly call the
3145 deviceeventcontroller.
3146 We now report mouse motion events with a 100 ms idle latency and
3147 a 20 ms granularity when motion is in progress.
3149 * test/event-listener-test.c:
3151 We now register the "detail listener" for events of type
3152 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
3153 delivered only for the first mouse event received, and thereafter
3154 "mouse:abs" events are delivered.)
3156 * cspi/spi_registry.c:
3157 DOCS: Documented the above mouse event typestrings.
3159 2002-06-21 Bill Haneman <bill.haneman@sun.com>
3161 Happy Summer Solstice...
3163 * registryd/deviceeventcontroller.c: [fix for bug 84100]
3164 (spi_controller_notify_keylisteners):
3165 Changes to remove a listener from the listener list, freeing its
3166 open keygrabs, if a notification to that listener fails. This
3167 means that although a dead listener can continue to hold a passive
3168 keygrab, a maximum of one dispatch to such a listener can fail
3169 before the listener is removed from the list, thus the keygrab
3170 will be released on the next occurrence.
3171 As part of this fix:
3172 (spi_notify_keylisteners):
3173 Renamed to spi_controller_notify_keylisteners, as the controller
3174 instance must now be passed as an argument.
3175 The copied 'notify' GList is now a list of DEControllerKeyListener
3176 objects, since we need more than just the CORBA reference if a
3177 notify fails and we need to deregister the listener.
3178 (impl_notify_listeners_sync):
3179 (impl_notify_listeners_async):
3180 (spi_device_event_controller_forward_key_event):
3181 Modify use of notify_keylisteners in accordance with above
3183 (spi_deregister_controller_key_listener):
3184 New method introduced by refactoring, from
3185 impl_deregister_keystroke_listener.
3186 (impl_deregister_keystroke_listener):
3187 Call spi_deregister_controller_key_listener.
3188 (spi_key_listener_clone):
3189 New method to copy a key listner without doing a 'ref' on the
3190 remote object instance; used to create a notifier list.
3191 (spi_key_listener_data_free):
3192 New method, frees data without unreffing the source.
3194 (spi_key_listener_clone_free): new method.
3195 (spi_key_listener_free):
3196 refactored to call spi_key_listener_data_free.
3198 2002-06-20 Bill Haneman <bill.haneman@sun.com>
3200 * registryd/registry.c: [fix for bug 86048]
3201 (notify_listeners_cb):
3202 Clear CORBA system exceptions which occur when notifying
3203 listeners, before returning to the source of the original event,
3204 since the event source doesn't care if the relayed notify failed.
3205 In other words, don't complain to the atk-bridge if the registry
3206 could not notify all its listeners, that's no fault of the
3207 application and thus should not appear to be an error from the
3208 application's perspective.
3210 * cspi/spi_main.c: [fix for bug 85980]
3212 Replaced use of bonobo_object_dup_ref with call to the wrapper
3213 method, csou_dup_ref (); this silences a compiler warning and
3214 provided more portability.
3216 Ping the registry before return, and restart if necessary.
3218 * cspi/bonobo/cspi-bonobo.c:
3220 New internal method.
3222 Fixed this method to return an object reference, as it should have
3225 * cspi/cspi-lowlevel.h:
3226 Added internal definition for cspi_ping() and fixed
3227 return type of cspi_dup_ref().
3230 2002-06-19 Bill Haneman <bill.haneman@sun.com>
3232 * atk-bridge/bridge.c: [fix for bug 85305]
3233 (spi_atk_bridge_register_application):
3234 New method where the initial application registry calls have been
3235 moved; it allows an application to re-register in response to
3236 certain error conditions (such as a registry restart, see below).
3238 Moved some initialization code to the method
3239 spi_atk_bridge_get_registry, below.
3240 (spi_atk_bridge_get_registry):
3241 New, private accessor function for the Accessibility_Registry
3242 instance. If the registry has not been started before, or has
3243 died (as detected by failure of a CORBA exception), it is
3244 restarted before return, and spi_atk_bridge_register_application
3245 is called again to register with the new bridge instance.
3246 (spi_atk_emit_eventv):
3247 Set registry_died on error; use spi_atk_bridge_get_registry () to
3248 access the registry.
3250 * registryd/registry.c:
3251 (impl_accessibility_registry_register_global_event_listener):
3252 Set listener's event_type_quark to etype.minor instead of
3253 etype.major (fix for bug 84856).
3255 * test/event-listener-test.c:
3256 (report_detail_event):
3257 Change the output string so that user/tester can tell that the
3258 'detail listener' was called instead of the 'generic listener'.
3260 2002-06-18 Bill Haneman <bill.haneman@sun.com>
3262 Fixes for bugs 84900, 84908, 84897, 84898.
3267 Revved version to 1.1.0
3268 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
3269 version is going to HEAD which will be used for gnome-2-0-1 and later.)
3271 * idl/Accessibility_Registry.idl:
3272 (EventListener::notifyEvent):
3273 Removed 'oneway' directive after extensive consulation with
3274 ORBit2 team and others. This means also that unref() of the event
3275 source can and should be done synchronously after emission, rather
3276 than remotely in the client, after servicing the notify call on
3279 NOTE: This change speeds up listener performance considerably, but
3280 introduces new latency on the application side. We may want to
3281 add an event queue to the atk-bridge.
3283 * atk-bridge/bridge.c:
3284 (spi_atk_bridge_focus_tracker):
3285 Do a local unref() on the event source after emission.
3287 * registryd/registry.c:
3288 (desktop_remove_application):
3289 Do an unref() on the event source after emission.
3290 (desktop_add_application):
3291 Do an unref() on the event source after emission.
3292 (notify_listeners_cb):
3293 When relaying an event, don't automatically add the event source
3294 to the local object cache, just CORBA_dup it instead. Likewise,
3295 if this method reenters, release the ref rather than calling
3297 (impl_registry_notify_event):
3298 No longer call remote unref() on the event source after dispatch.
3300 * libspi/eventlistener.c:
3301 (impl_accessible_event_notify_event):
3302 Removed remote unref ()
3304 * cspi/bonobo/cspi-bonobo-listener.c:
3306 We now call cspi_object_new() instead of cspi_object_add() on
3307 receipt of an event; thus we only have an implicit object ref
3308 while the cspi_event method is being executed. If we need to keep
3309 a reference to the object, the listener must call ref() on the
3310 object. Thus also we don't need to call cspi_object_unref() after
3311 invoking the listener callbacks in this method.
3315 New internal API for creating a new cspi object, without adding it
3316 to the object cache.
3318 Now uses cspi_object_new() to create the cspi object instance.
3320 Now checks to see if the object is in the internal object cache,
3321 and adds it if necessary before incrementing its refcount (note
3322 that new objects are added with a refcount of 1).
3323 (report_leaked_ref):
3324 New method which gives some information on leaked object instances
3325 if leak detection is turned on.
3327 * test/event-listener-test.c:
3328 (timing_test_event):
3329 New method, used for testing event delivery timing for special
3330 events of type "object:test". It reports elapsed time and
3331 events/sec every 500 events.
3333 Added a new listener, 'test listener', to check timing of event
3334 receipt as noted above.
3336 Added some timing output here also, reports elapsed time every 100
3339 * test/stress-test.c:
3340 Emit events of type "object:test", for use with "event-listener-test".
3342 * test/test-simple.c:
3343 (global_listener_cb):
3344 Call Accessible_ref() on the event source before calling
3345 validate_accessible, since the validation process does pointer
3346 comparisons on the event source, meaning that the event source
3347 needs to be added to the local object cache first. Any use of
3348 such pointer comparisons between Accessible objects requires that
3349 the caller hold an explicit reference to those objects.
3350 We also must therefore call Accessible_unref() when leaving this method.
3352 2002-06-13 Bill Haneman <bill.haneman@sun.com>
3354 * registryd/deviceeventcontroller.c:
3355 (spi_controller_update_key_grabs):
3356 Fix for #84735, subsequent keygrab listeners not informed of
3357 registration failure.
3360 (spi_base_construct):
3361 Add an assertion on construct, to make sure the GObject passed in
3362 is really a GObject.
3364 Explicitly initialize object->gobj pointer to NULL;
3366 * cspi/bonobo/cspi-bonobo-listener.c:
3367 (cspi_object_add_ref):
3368 New method, can specify whether to dup-ref a bonobo object passed
3369 in if it's newly added to the object cache.
3371 Now calls cspi_object_add_ref with second param of "FALSE". This
3372 prevents us from doing a pointless dup-ref followed by
3373 release-unref for all those cases where the object is already in
3374 our object cache (fix for #85205).
3376 * atk-bridge/bridge.c:
3377 (spi_atk_bridge_idle_init):
3378 Removed this method, we don't need to initialize in an idle
3381 Changed to call spi_atk_register_event_listeners directly, not via an
3382 idle handler. (fix for #81139)
3383 (gnome_accessibility_module_shutdown):
3384 Removed conditional around deregistration of listeners, since we
3385 don't use the idle handler and thus have always registered when
3387 (spi_init_keystroke_from_atk_key_event):
3388 Changed references to Accessibility_KEY_PRESSED to
3389 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
3391 2002-06-12 Bill Haneman <bill.haneman@sun.com>
3393 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
3398 * test/stress-test.c:
3401 (may have been an incomplete commit yesterday?)
3403 2002-06-12 Bill Haneman <bill.haneman@sun.com>
3406 Added target for new stress-test.
3408 * test/stress-test.c:
3409 New test, sends 1000 focus notifies in quick succession.
3411 * test/key-listener-test.c:
3412 Now we report whether a keylistener registration
3413 request succeeded or failed.
3415 * test/event-listener-test.c:
3416 Uncommented some listeners which are now implemented.
3419 2002-06-06 Bill Haneman <bill.haneman@sun.com>
3421 * registryd/deviceeventcontroller.c:
3422 (spi_controller_update_key_grabs):
3423 Fix for #82509, lack of failure notification when
3424 ALL_WINDOWS keygrabs fail due to XGrabKey
3425 failure: we synchronize the server when
3426 registering a passive grab, to make sure we get the
3427 error message before the call returns.
3429 2002-06-03 Bill Haneman <bill.haneman@sun.com>
3431 * test/test-simple.c:
3433 Removed #ifdef KEY_IMPL_WORKS guards.
3434 (test_keylisteners):
3435 Removed #ifdef KEY_IMPL_WORKS guards.
3436 Fixed bug which was causing a hang waiting for a
3437 "press" event (which was already overwritten by a "release"
3438 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
3440 Added code to set globals 'key_press_received' and
3441 'key_release_received'.
3444 Added section "1.1 API Proposed Additions" which
3445 lists API additions desired for at-spi-1.1 (only one so far).
3446 Updated TODO list a little.
3448 2002-06-02 Bill Haneman <bill.haneman@sun.com>
3450 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
3453 * configure.in: Revved to 1.0.0.
3455 * idl/Accessibility_Registry.idl:
3456 (registerKeystrokeListener):
3457 Added boolean return value.
3459 * registryd/registry.c:
3460 (notify_listeners_cb): Minor fix to debug output.
3462 * registryd/Accessibility_Registry.server.in.in:
3463 Revved version number in OAFIID to 1.0.
3465 * registryd/registryd.c:
3467 Use new OAFIID version.
3469 * cspi/bonobo/cspi-bonobo.c:
3471 Use new OAFIID version.
3477 * atk-bridge/bridge.c:
3479 Use new OAFIID version.
3481 * registryd/deviceeventcontroller.c:
3482 (impl_register_keystroke_listener):
3483 Added CORBA_boolean return value.
3484 (spi_controller_register_device_listener):
3485 Added gboolean return value.
3486 (spi_controller_register_global_keygrabs):
3487 Added gboolean return value.
3488 (spi_key_set_contains_key):
3489 Added implementation for many more control keys,
3490 for instance F1-F12, arrow keys, End, Home, Page_Up,
3492 [TODO: some still not implemented].
3494 * text/screen-review-test.c:
3495 (text_chunk_pad_string):
3496 New function: it provides mapping between coordinate
3497 positions of text chunks and character positions in the
3498 screen-review-line output string.
3499 (text_chunk_to_string):
3500 New function, calls text_chunk_pad_string with various
3501 pad/delimiter characters. Pushbuttons are delimited with
3502 square brackets, Frames with vertical 'pipe' lines, and
3503 other text with double quotes.
3504 (text_chunk_list_to_string):
3505 Calls new function text_chunk_to_string.
3506 (toplevel_composite):
3507 New function to composite layers CANVAS through
3508 POPUP in each toplevel (other layers are composited
3509 across toplevels, i.e. BACKGROUND and OVERLAY).
3510 (review_buffer_composite):
3511 Revise to use new methods.
3517 2002-05-31 Laszlo Peter <laca@sun.com>
3519 * configure.in: add the Xtst libdir to the runpath on Solaris,
3520 since it's not in the default library search path.
3522 2002-05-29 jacob berkman <jacob@ximian.com>
3524 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
3526 2002-05-29 Bill Haneman <bill.haneman@sun.com>
3528 * test/screen-review-test.c:
3529 (text_chunk_pad_string):
3530 Added method, which pads the string according to the
3531 text bounds of the chunk. It also takes a 3-character
3532 string as a param which indicates the characters to be
3533 used for start, padding, and end delimitation of the chunk.
3534 (text_chunk_to_string):
3535 Changed to use text_chunk_pad_string.
3537 * configure.in: Fixed bug in AC_OUTPUT that was
3538 causing path substitution in Accessibility_Registry.server
3541 2002-05-23 Bill Haneman <bill.haneman@sun.com>
3543 * text/screen-review-test.c:
3544 (guess_string_clip):
3545 New method which attempts a best-guess at clipping
3546 text from components (like Java labels) which don't
3547 actually implement AccessibleText. This inaccurate
3548 clip is based on the assumption that the label is
3549 justified left-and-right, and monospaced.
3550 (text_chunk_get_clipped_string):
3551 We now call guess_string_clip() for text-containing
3552 components that don't implement AccessibleText.
3554 * test/screen-review-test.c:
3555 (review_buffer_get_text_chunk):
3556 We now pull "name" from labels if they do not implement
3557 AccessibleText (i.e. for Java labels).
3558 (get_screen_review_line_at):
3559 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
3562 Replaceded AC_OUTPUT target
3563 registryd/Accessibility_Registry.server with
3564 registryd/Accessibility_Registry.server.in.
3566 * registryd/Accessibility_Registry.server.in:
3567 Removed (this is now a Makefile target).
3569 * registryd/Accessibility_Registry.server.in.in:
3570 Added (source for target above). We now use $(libexecdir) as
3571 prefix for the executable at-spi-registryd.
3573 * registry/Makefile.am:
3574 Now install at-spi-registryd into $(libexecdir), and build .server
3575 file with path (see above).
3577 2002-05-22 Bill Haneman <bill.haneman@sun.com>
3579 * test/screen-review-test.c:
3580 (text_chunk_get_clipped_string):
3581 We now check to see if words fall within clip bounds
3582 before resorting to character-by-character clip bounds testing.
3584 * TODO: Added a section for "2.2 Proposed API Additions".
3586 2002-05-21 Bill Haneman <bill.haneman@sun.com>
3588 * test/screen-review-test.c:
3590 Added a screen review benchmarking and test program to test
3593 * cspi/spi_accessible.c:
3595 Made some of the debug strings passed to cspi_check_ev a
3596 little more specific.
3598 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
3600 * test/screen-review-test.c: Fix crashes in debug statements
3602 2002-05-20 Bill Haneman <bill.haneman@sun.com>
3604 * test/screen-review-test.c: Added this file.
3606 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
3608 * atk-bridge/bridge.c: changed "object:state-change" to
3609 "object:state-changed" to match docs.
3611 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
3613 * atk-bridge/bridge.c: Hooked up state-change event details.
3615 2002-05-11 Bill Haneman <bill.haneman@sun.com>
3617 * registryd/registry.c:
3618 Fixed quarking bug in event string parsing; now events with
3619 detail parameters get matched correctly to listeners.
3622 * util/idl/Magnifier.idl: remove.
3624 * util/*.[ch]: Remove.
3625 Magnification utilities and IDL are now in module gnome-mag.
3627 2002-05-10 Bill Haneman <bill.haneman@sun.com>
3629 * registryd/deviceeventcontroller.c:
3630 Fixed bug in grab key conversion which was causing keycode grabs
3631 to be converted to AnyKey grabs.
3634 updated NEWS file to reflect recent spin-off of gnome-mag.
3636 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
3638 * cspi/spi_accessible.c: Added exception checks. Fixed completely
3639 busted AccessibleStateSet_compare. Removed redundant casts.
3641 * cspi/spi-action.c: Removed redundant casts.
3643 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
3645 * cspi/spi_component.c: Fixed typos and casting error.
3647 * cspi/spi_editabletext.c: Removed redundant casts.
3649 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
3651 * cspi/spi_hypertext.c: Eliminated redundant casts.
3653 * cspi/spi_image.c: Eliminated redundant casts.
3655 * cspi/spi_registry.c: Eliminated redundant casts.
3656 SPI_deregisterGlobalEventListenerAll () removed retval variable.
3657 * cspi/spi_selection.c: Removed redundant casts.
3658 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
3659 handling. Screen geometry and text offsets were being returned as 0
3660 on error which is technically valid-- changed these to return -1.
3661 Added marshaller for text boundary types to fix bug with boundary
3662 types being passed incorrectly to atk.
3664 2002-05-09 Bill Haneman <bill.haneman@sun.com>
3667 * cspi/spi_registry.c:
3668 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
3669 which was uncovered by the recent key changes.
3671 2002-05-09 Bill Haneman <bill.haneman@sun.com>
3673 * test/event-listener-test.c:
3675 Added new test, "event-listener-test";
3676 this code does two things; it benchmarks traversal time
3677 for the accessible hierarchy for the first running accessible
3678 app, and it connects listeners for all supported event types.
3679 It is thus useful as an example event listener and for
3680 diagnostics/debugging of event generation.
3682 2002-05-08 Bill Haneman <bill.haneman@sun.com>
3685 Removed unnecessary dependency on libutil.
3688 Revved micro version: 0.13.1
3690 2002-05-08 Bill Haneman <bill.haneman@sun.com>
3693 Removed util/Makefile from targets.
3696 Removed util subdir from SUBDIRS (temporarily,
3697 pending removal of magnifier-only code
3701 #ifdef-ed out magnifier dependencies, since
3702 magnifier IDL, headers, and binary now live in
3703 module gnome-mag and we don't want at-spi to depend
3704 on gnome-mag. A magnifier demo which can run alongside
3705 simple-at is forthcoming in the gnome-mag module.
3707 NOTE: Split magnifier binary, IDL, and magnification
3708 activation code from at-spi into module gnome-mag.
3710 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
3712 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
3713 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
3715 2002-05-03 Bill Haneman <bill.haneman@sun.com>
3718 Revved to version 0.13.0
3720 * idl/Accessibility_Registry.idl:
3721 Changed definition of KeySet from sequence of longs to sequence of
3722 KeyDefinitions, and added KeyDefinition struct.
3723 Required for fix to bug 80616.
3725 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
3726 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
3727 to use new definition (see above).
3729 * registryd/deviceeventcontroller.c: handle_keygrab(),
3730 spi_keyset_contains_key():
3731 Changed to make use of new struct; this allows matching based on
3732 string key-name, for instance "Tab". This also allows matching of
3733 composed characters, non-alphanumeric characters in a way that
3734 doesn't involve dependencies on X keysym codes directly, etc.
3736 * test/key-listener-test.c:
3737 Added test for Alt-Tab key using "string" specification of keyset,
3738 and modified one of the tests to use a keycode-based keyset.
3739 Thus this test both tests and demonstrates the creation and use of
3740 keysets of three forms: specified via keycode array,
3741 keysym array, and string array. (The string case only contains a
3742 single string, i.e. a string array of length 1).
3745 Turned on PRINT_TREE option by default. Also fixed a
3746 string-freeing bug in the PRINT_TREE code.
3747 Added a listener to window:minimize events.
3749 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
3751 * atk-bridge/bridge.c:
3752 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
3753 for window:activate and window:deactiveate
3754 (atk_bridge_property_event_listener atk_bridge_signal_listener
3755 atk_bridge_window_event_listener) Tidy debug code
3757 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
3759 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
3760 Fixed handling for NULL return value from ATK.
3762 * libspi/action.c libspi/component.c libspi/editabletext.
3763 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
3764 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
3765 Removed redundant casts.
3767 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
3768 Fixed off by one bug.
3770 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
3771 function not present in idl)
3773 2002-05-02 jacob berkman <jacob@ximian.com>
3775 * atk-bridge/Makefile.am: make atk-bridge a real module
3777 2002-04-26 Radek Doulik <rodo@ximian.com>
3779 * libspi/stateset.c (spi_init_state_type_tables): fix size of
3780 atk_state_types table
3782 2002-04-22 jacob berkman <jacob@ximian.com>
3785 * libspi/Makefile.am: add deps on the built files to help
3786 automake, and don't version the ORBit typelib
3788 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
3790 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
3791 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
3792 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
3793 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
3794 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
3795 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
3796 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
3797 libspi/accessible.h libspi/accessible.h libspi/base.h
3798 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
3799 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
3800 libspi/relation.h libspi/remoteobject.h libspi/selection.h
3801 libspi/spi-private.h libspi/statetset.h libspi/table.h
3802 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
3803 util/mag_client.h util/mag_control.c util/mag_image.c
3804 util/mag_image.h util/magnifier.c util/magnifier.h:
3805 Add missing file headers; standardize existing ones
3807 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
3809 * atk-bridge/bridge.c: Added window event support.
3811 2002-04-18 Michael Meeks <michael@ximian.com>
3813 * libspi/relation.c (impl_getNTargets): impl.
3814 (impl_getTarget): impl.
3816 * libspi/Makefile.am: fix stateset install.
3818 2002-04-17 Bill Haneman <bill.haneman@sun.com>
3821 Started putting useful info in this file.
3823 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
3825 * atk-bridge/bridge.c:
3826 Propagate state-changed notifications to ATs
3828 * cspi/spi_registry.c: update docs to reflect actual behavior of
3829 state-change events.
3831 2002-04-17 Bill Haneman <bill.haneman@sun.com>
3834 Incremented version to 0.12.1
3836 * util/mag_client.h:
3837 Add missing declaration for magnifier_exit,
3838 used by mag_control.c - Forte compiler didn't like
3839 the implicit redeclaration of the function :-(
3842 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3845 Revved version to 0.12 due to API change (see below).
3847 * cspi/spi-roletypes.h:
3848 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
3849 definition from the inline docs, and added docs
3850 for SPI_ROLE_LAST_DEFINED.
3853 * cspi/spi_streamablecontent.c:
3854 Added missing seek_type parameter to
3855 (so far unused) method,
3856 AccessibleStreamableContent_seek().
3857 [ RT approval JodyG. ]
3860 Fixed docs for SPI_createAccessibleKeystrokeListener.
3862 * cspi/spi_registry.c:
3863 Fixed docs for SPI_KEYSET_ALL_KEYS.
3865 * docs/reference/cspi/at-spi-cspi-sections.txt:
3866 Added a number of missing APIs to SECTIONS.
3868 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3870 * registryd/Makefile.am:
3872 * cspi/bonobo/Makefile.am:
3873 Add $(X_LIBS) to makefiles.
3875 2002-04-15 Bill Haneman <bill.haneman@sun.com>
3878 Revved version to 0.11.
3880 * libspi/component.c:
3881 Added implementation for grabFocus.
3883 * idl/Accessibility_Component.idl
3884 (Accessibility_Component_grabFocus):
3885 Made this method return boolean to indicate success or failure, to
3886 be consistent with cspi and the corresponding ATK method.
3888 * idl/Accessibility_Selection.idl
3889 (Accessibility_Selection_selectAll) :
3890 Made these methods return boolean to indicate success or
3891 failure, to be consistent with cspi and the corresponding ATK methods.
3893 * idl/Accessibility_EditableText.idl
3894 (Accessibility_EditableText_setTextContents,
3895 Accessibility_EditableText_insertText,
3896 Accessibility_EditableText_cutText,
3897 Accessibility_EditableText_deleteText,
3898 Accessibility_EditableText_pasteText):
3899 Made these methods return boolean to indicate
3902 * cspi/spi_editabletext.c:
3903 Made these methods return booleans.
3905 * libspi/selection.c:
3906 * libspi/component.c:
3907 * libspi/editabletext.c:
3908 Connected the boolean returns from ATK
3909 to the server-side code referenced above.
3911 2002-04-14 Bill Haneman <bill.haneman@sun.com>
3913 * idl/Accessibility_Table.idl: Added missing methods,
3914 Accessibility_Table_addRowSelection,
3915 Accessibility_Table_addColumnSelection,
3916 Accessibility_Table_removeRowSelection,
3917 Accessibility_Table_removeColumnSelection.
3920 Added C wrappers for above IDL:
3921 AccessibleTable_addRowSelection,
3922 AccessibleTable_addColumnSelection,
3923 AccessibleTable_removeRowSelection,
3924 AccessibleTable_removeColumnSelection.
3927 Added server-side implementation code for IDL above, connecting
3928 to pre-existing ATK api.
3930 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
3932 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
3934 * libspi/accessible.c: Added implementation fo
3935 Accessibility_Accessible_get_state.
3937 * libspi/libspi.h: Added stateset.h to the list of includes.
3939 * libspi/stateset.c: Fixed broken implementation.
3941 2002-04-13 Bill Haneman <bill.haneman@sun.com>
3944 Added implementation code for Accessibility_Magnifier_exit ().
3946 * util/mag_control.c:
3947 Added test code for above method; you can
3948 now kill an existing magnifier via
3949 ./mag_control q, from the util directory.
3951 * test/key-listener-test.c:
3953 Added a new test, for our key listener API.
3955 2002-04-11 Bill Haneman <bill.haneman@sun.com>
3957 * test/app.c, test/keysynth-demo.c:
3959 Replace use of snprintf with g_snprintf.
3960 (fix for bugzilla 78249)
3962 2002-03-27 Michael Meeks <michael@ximian.com>
3966 * util/Makefile.am (INCLUDES): fix.
3967 (DONT_DIST_SOURCE): don't distribute the
3970 * libspi/Makefile.am (dist-hook): ditto.
3972 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
3974 * libspi/hypertext.c:
3975 Fix warnings when yelp is used with atk-bridge
3977 2002-03-21 Michael Meeks <michael@ximian.com>
3979 * libspi/application.c (spi_application_new):
3980 use spi_accessible_construct so we use the AtkObject
3983 2002-03-19 Michael Meeks <michael@ximian.com>
3985 * registryd/registry.c (desktop_remove_application),
3986 (desktop_add_application): clean coding style.
3988 * registryd/desktop.c (spi_desktop_remove_application),
3989 (spi_desktop_add_application): kill re-enterency hazards.
3990 (spi_desktop_dispose): remove bogus redundant cast
3991 obscuring bug; fix bug too.
3992 (spi_desktop_init): make the desktop object immortal.
3994 2002-03-16 Bill Haneman <bill.haneman@sun.com>
3997 Added a #define-guarded tree-traversal step
3998 when enumerating the apps (diagnostic tool).
4000 2002-03-15 Bill Haneman <bill.haneman@sun.com>
4002 * idl/Accessibility_Role.idl:
4003 Added ROLE_DRAWING_AREA which seemed to be missing from the
4006 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4008 * cspi/spi-roletypes.h cspi/spi_accessible.c
4009 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
4012 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
4013 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
4014 AT when applications are added and removed from the desktop. This
4015 reverts the previous broken implementation using the backing
4016 AtkObject for the SpiDesktop.
4018 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4020 * registryd/desktop.c: emit the "children-changed::add" and
4021 "children-changed::remove" signals on the backing ATK object for
4022 the desktop so AT can tell when applications are started and shut
4025 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4027 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
4029 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4031 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
4033 * cspi/spi_accessible.c: Implemented c bindings for stateset support
4035 * cspi/state-types.h: synched with IDL and ATK
4037 2002-03-13 Bill Haneman <bill.haneman@sun.com>
4039 * libspi/accessible.c
4040 (impl_accessibility_accessible_get_child_at_index):
4041 Change return value for g_return_if_fail ()
4042 to CORBA_OBJECT_NIL instead of "0" (!)
4044 * registryd/Makefile.am:
4045 * registryd/Accessibility_Register.server.in:
4046 Changed name of executable, "registryd",
4047 to something more informative:
4050 2002-03-13 Michael Meeks <michael@ximian.com>
4052 * atk-bridge/bridge.c (atk_bridge_init): don't register
4053 if we're in a bonobo-component, rather than a bonobo app.
4055 2002-03-13 Michael Meeks <michael@ximian.com>
4057 * atk-bridge/bridge.c (gtk_module_init): split
4058 out body to (atk_bridge_init): here, since otherwise
4059 we get symbol conflicts and oddness when invoked
4060 from (gnome_accessibility_module_init): here (upd.)
4062 2002-03-11 Bill Haneman <bill.haneman@sun.com>
4065 New file. Explicitly allow "build sheriff" putbacks provided
4066 they are tested on Solaris.
4068 * docs/reference/cspi/Makefile.am:
4069 Added '-' to the "cp" command for index.sgml.
4070 ("patch by thomasvs, soon coming to a GUADEC near you")
4073 Incremented version number (0.9.0) for new release.
4074 Changed macro that checks for popt, to better detect
4075 obsolete versions of popt.
4078 Added X_LIBS to AC_SUBST, for applications
4079 that call Xlib API directly.
4082 2002-03-07 Bill Haneman <bill.haneman@sun.com>
4085 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
4088 Fix regression caused by hard-coding major
4089 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
4092 * test/test-simple.c (test_editable_text),
4093 (test_test): revert previous change (error was
4094 a regression in gail which is now fixed).
4096 2002-03-04 Michael Meeks <michael@ximian.com>
4098 * test/test-simple.c (test_editable_text),
4099 (test_text): pass G_MAXINT instead of '-1' for
4100 whole string - is this a good thing !?
4102 * cspi/spi_accessible.c
4103 (Accessible_getRelationSet): fix crasher bug
4104 overwriting the end of the array.
4106 * test/test-simple.c (validate_accessible): free,
4107 not g_free returned relation set.
4109 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
4111 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
4112 implemented stateset support
4114 * idl/Accessibility_State.idl: Made necessary changes to
4115 the IDL to support state sets.
4117 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4119 * registryd/deviceeventcontroller.c:
4120 Added implementation for generateMouseEvent.
4122 * cspi/spi_registry.c:
4123 Connected new implementation for generateMouseEvent
4126 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4129 Incremented revision (but no change in public API
4130 outside of 'utils', which are not installed public yet.)
4132 * libspi/component.c:
4133 Changed to use atk_component API for layers and
4134 mdi_zorder, instead of deprecated atk_object API.
4136 Magnification Utility Enhancements:
4139 Added implementation of createZoomRegion, clearAllZoomRegions,
4140 resizeZoomRegion. Added new commandline argument
4141 "--no-initial-region". Note that clearAllZoomRegions doesn't
4142 unmap the old '0' region as it should (yet), and the other
4143 methods only work when creating/resizing a single region,
4144 which is "region 0".
4145 (Code for multiple region support will be added later.)
4148 Now we raise the magnifier window each time it's refreshed;
4149 this will help keep it on top.
4151 * util/mag_client.h:
4152 Added simple wrappers for above, used by mag_control.
4153 For general use, it's recommended to use the bonobo magnifier
4154 control API directly instead of using these wrappers.
4157 Moved ZoomRegionData from magnifier.c to this file.
4159 * util/mag_control.c:
4160 Added some code to exercise new IDL implementations.
4162 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
4164 * libspi/text.c: Provide implementation for getAttributes.
4166 2002-02-04 Bill Haneman <bill.haneman@sun.com>
4169 Incremented revision.
4171 * test/test-simple.c:
4172 Replaced use of deprecated g_main_iteration with
4173 g_main_context_iteration.
4175 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
4178 Incremented revision for desktop alpha 2.
4180 2002-01-28 Mark McLoughlin <mark@skynet.ie>
4182 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
4185 * test/simple-at.c: include netinet/in.h.
4187 2002-01-24 Mark McLoughlin <mark@skynet.ie>
4189 * cspi/spi_accessible.c: (Accessible_getRelationSet):
4190 use NULL, not CORBA_OBJECT_NIL.
4192 * libspi/accessible.c:
4193 (impl_accessibility_accessible_get_relation_set):
4194 allocate the sequence correctly.
4196 * libspi/remoteobject.h: kill spi_remote_object_new.
4198 * test/test-simple.c: (validate_accessible): add code
4199 to test relation sets, now all we need is to figure
4200 out how to excercise this code path :/
4202 2002-01-18 Michael Meeks <michael@ximian.com>
4204 * test/test-simple.c
4205 (key_listener_cb): consume the key.
4206 (test_keylisteners): update.
4207 (main): wait for any pending unrefs on events.
4209 * registryd/deviceeventcontroller.c
4210 (spi_controller_update_key_grabs): only re-issue the
4211 grab on a key release.
4212 (spi_device_event_controller_forward_key_event):
4213 refresh the keygrabs before we notify the listeners,
4214 to reduce the X ungrab / re-grab race.
4215 (spi_controller_register_with_devices): remove
4216 XSelectInput - we do that with the gdk_window_ call.
4217 (_spi_controller_device_error_handler): return a value.
4218 s/GDK_DISPLAY/spi_get_display/
4220 2002-01-17 Michael Meeks <michael@ximian.com>
4222 * registryd/deviceeventcontroller.c
4223 (_deregister_keygrab): don't blow out the later
4226 * test/test-simple.c (test_keylisteners): do a
4227 more intelligent validation.
4229 2002-01-14 Michael Meeks <michael@ximian.com>
4231 * atk-bridge/bridge.c
4232 (gnome_accessibility_module_init),
4233 (gnome_accessibility_module_shutdown): impl.
4234 (gtk_module_init): protect vs. double inits.
4235 (add_signal_listener): impl.
4236 (spi_atk_bridge_state_event_listener): kill
4237 (deregister_application): split out of
4238 (spi_atk_bridge_exit_func): here.
4240 2002-01-18 Bill Haneman <bill.haneman@sun.com>
4243 Added caret tracking when using magnifier, and
4244 now use text bounds for focus tracking of text elements, rather than
4245 the component bounds - this is helpful for short text fields in long
4246 table cells, at high magnification.
4248 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4250 * registryd/deviceeventcontroller.c:
4251 Regression fix for keylistener de-registration; global keygrabs
4252 were not being released when deregisterKeystrokeListener was
4253 called in cspi, since
4254 Accessibility_DeviceEventController_deregisterKeystrokeListener
4255 was called with a zero-length keyset. That is because the cspi
4256 method, SPI_deregisterKeystrokeListener, does not take a keyset
4257 parameter but instead should remove all the key grabs held be a
4259 The code in impl_deregister_keystroke_listener was changed to copy
4260 the keylist from the listener instance previously registered with
4261 the DeviceEventController before releasing the grabs.
4263 * registryd/registry.c:
4264 * registryd/deviceeventcontroller.c:
4265 * libspi/spi-private.h:
4267 Changed spelling of "re-enterant" to "re-entrant" globally.
4269 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4271 * test/test-simple.c:
4272 Changed key listeners test - the test was slightly mis-using the
4273 (admittedly poorly documented) SPI_generateKeyboardEvent API.
4274 It now uses '=' as the key event listened to and generated,
4275 relying on a keysym match rather than assuming that keycode 33
4276 is always equal to keysym '!'.
4278 2002-01-15 Bill Haneman <bill.haneman@sun.com>
4281 Changed simple-at to use a specific keyset, rather than
4282 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
4283 manager, desktop, etc.
4285 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4287 * registryd/deviceeventcontroller.c:
4288 Replaced standard X error handler with a special handler that
4289 is non-fatal for failed keygrabs. This works around
4290 problems with keygrab clashes sometimes observed on
4292 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
4293 mouse handling code as yet).
4295 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4298 Incremented revision for desktop alpha release.
4301 Fixed a couple of the more glaring errors (still not
4304 2002-01-11 Michael Meeks <michael@ximian.com>
4306 * registryd/deviceeventcontroller.c
4307 (spi_device_event_controller_forward_key_event): kill
4308 XUngrabKey / XKeyGrab race.
4309 (spi_controller_grab_keyboard): rename to
4310 (spi_controller_update_key_grabs): this, and deal
4311 with incremental adding / removing grabs more
4313 (_register_keygrab): ensure we're not pending a remove.
4314 (spi_grab_mask_free): impl.
4315 (spi_controller_register_global_keygrabs): split out
4317 (handle_keygrab): impl.
4318 (_deregister_keygrab): impl.
4319 (spi_controller_deregister_global_keygrabs): impl.
4320 (spi_controller_update_key_grabs): re-issue the grab if
4321 we just recieved a notification.
4323 * test/test-simple.c (key_listener_cb): remove debug.
4325 * registryd/deviceeventcontroller.c
4326 (spi_controller_register_device_listener): after
4327 registering a global keygrab, actualy register it !
4328 don't wait for a timeout; doh !
4330 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
4331 to make it more readable / manipulable.
4332 s/grabmask/grab_mask/ s/refcount/ref_count/
4333 s/keyval/key_val/ s/modmask/mod_mask
4335 2002-01-08 Michael Meeks <michael@ximian.com>
4337 * registryd/deviceeventcontroller.c
4338 (spi_controller_register_with_devices): use gdk calls to
4340 (global_filter_fn): implement the filter.
4341 (spi_device_event_controller_check_key_event): rename to
4342 (spi_device_event_controller_forward_key_event): this & upd.
4343 (spi_get_display): replace with GDK_DISPLAY.
4345 * registryd/deviceeventcontroller.c
4346 (spi_controller_deregister_device_listener): unroll into
4347 (impl_deregister_keystroke_listener): here to simplify.
4348 (spi_controller_register_global_keygrabs): split cut and
4349 paste (!) out into (_register_keygrab): here, shorter & sweeter.
4350 (spi_controller_deregister_device_listener): remove.
4351 (impl_register_mouse_listener): remove, no mouse listener
4352 support in at-spi-1.0
4354 * registryd/registry.c
4355 (_device_event_controller_hook): kill.
4356 (spi_registry_init): upd.
4358 * registryd/deviceeventcontroller.c
4359 (spi_device_event_controller_class_init): upd.
4360 (spi_check_key_event): merge into.
4361 (spi_device_event_controller_check_key_event):
4362 here and kill strange static ev init, don't leak
4363 the x_event - nor dynamicaly allocate it.
4365 * registryd/registry-main.c (main): re-direct
4366 timeout to remove strange vtable mess.
4368 * registryd/deviceeventcontroller.c
4369 (remove_listener_cb): impl.
4370 (spi_controller_deregister_device_listener):
4371 fix re-enterancy hazard.
4373 2002-01-07 Michael Meeks <michael@ximian.com>
4375 * registryd/deviceeventcontroller.c
4376 (spi_device_event_controller_new): upd.
4377 (impl_notify_listeners_sync): upd. debug.
4378 (spi_notify_keylisteners): fix re-enterancy hazards,
4379 prettify, remove O(n*n) iteration.
4380 (spi_controller_grab_keyboard): fix iteration.
4381 (spi_check_key_event): re-format to suit coding style.
4382 Clean all the warnings - we're warning free.
4384 * registryd/deviceeventcontroller.h:
4385 * registryd/registry.h: make mutualy referential with
4386 typesafe forward references instead of (!) void pointer
4389 2002-01-11 Michael Meeks <michael@ximian.com>
4391 * cspi/spi_accessible.c (role_names): add a role name
4392 to sync this array with the enum; and make the regression
4395 2002-01-10 Michael Meeks <michael@ximian.com>
4397 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
4398 allow expansion of enumeration & kill warning.
4400 * test/test-simple.c (key_listener_cb): impl.
4401 (test_keylisteners): impl.
4403 * cspi/spi-listener.h: make listener signatures const
4404 on the provided (const) events.
4406 * test/keysynth-demo.c: upd. to const events.
4408 * test/simple-at.c: ditto.
4410 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4413 Rev the version to 0.5 (the previous tarball was named 0.4,
4414 even though the micro number was 3), so we need to rev upwards
4415 again for beta2/"desktop-alpha"
4418 Checked in a demo script, which requires editing before use!
4419 Proceed with caution.
4422 Fixed typo in header which was redefining SPI_ACTION_CLASS.
4424 * cspi/spi_accessible.c:
4425 Add a couple of missing enum initializations, and fix some enum
4428 * cspi/spi_registry.c:
4429 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
4431 * docs/reference/cspi/at-spi-cspi-sections.txt:
4432 Remove/fix a couple of broken document references.
4435 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
4436 as Alt-Control to listen for commands, since on some systems
4437 Control-Alt may already be grabbed.
4439 2002-01-10 Bill Haneman <bill.haneman@sun.com>
4442 Update version number to 0.4 for Beta2.
4444 * libspi/accessible.c, libspi/accessible.h:
4445 Expose spi_accessible_construct, to enable libgail-gnome
4446 construction from spi_accessible subtype.
4448 * utils/magnifier.c:
4449 Workaround for bug in some non-gnome-compliant window managers
4450 which made magnifier resize improperly.
4452 2002-01-09 Bill Haneman <bill.haneman@sun.com>
4454 * libspi/accessible.c: (spi_accessible_new) :
4455 Move the test for SPI_IS_REMOTE_OBJECT to
4456 spi_accessible_new_return, fixing a bug and compile time warning.
4458 2002-01-08 Michael Meeks <michael@ximian.com>
4460 * registryd/registry.c (parse_event_type): remove strndup.
4462 * libspi/Makefile.am (libspi_la_SOURCES): remove
4463 sources already included in the headers section.
4465 * libspi/util.c: add.
4467 * libspi/spi-private.h: add.
4469 * registryd/registry.c: update to moved list iterators.
4471 2002-01-05 Michael Meeks <michael@ximian.com>
4473 * test/simple-at.c (main): upd. auto-module set to atk-bridge
4475 * test/test-simple.c (main): ditto.
4477 2002-01-04 Michael Meeks <michael@ximian.com>
4479 * libspi/accessible.c (spi_accessible_new): remove 2nd,
4480 redundant construct.
4482 * registryd/registry.c
4483 (get_listener_list): impl.
4484 (impl_accessibility_registry_register_global_event_listener):
4485 re-impl. to simplify using ~, remove dodgy const cast off.
4486 (parse_event_type): constify.
4487 (impl_accessibility_registry_deregister_global_event_listener_all):
4488 re-write, more efficiency and simplicity, kill re-enterancy
4490 (compare_listener_corbaref, compare_corba_objects),
4491 (compare_listener_quarks): define out.
4492 (impl_accessibility_registry_deregister_global_event_listener):
4493 re-write for effiency, and nail re-enterancy hazard.
4494 (impl_accessibility_registry_get_desktop_list): impl.
4495 (re_enterant_list_delete_link): impl.
4496 (re_enterant_list_foreach): impl.
4497 (remove_listener_cb): impl.
4498 (_registry_notify_listeners): kill.
4499 (notify_listeners_cb): impl.
4501 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
4502 (SPI_getDesktopList): impl.
4504 * test/test-simple.c (test_desktop): test the methods.
4506 2002-01-03 Michael Meeks <michael@ximian.com>
4508 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
4509 keystrings since we free them
4510 (SPI_freeAccessibleKeySet): in here.
4512 * libspi/accessible.c (spi_accessible_new): kill warning,
4513 wonder what is going on with the constructor here.
4515 2002-03-01 Bill Haneman <bill.haneman@sun.com>
4517 * libspi/accessible.c (spi_accessible_new ()) :
4518 Added check to see if AtkObject is an SpiRemoteObject before
4519 creating an SpiAccessible.
4521 2002-05-01 Bill Haneman <bill.haneman@sun.com>
4523 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
4524 Enable keygrabs using the Control modifier, now that they are
4525 working properly (they were previously disabled).
4528 Change the command keygrab for this demo to "Control+Alt", so as
4529 to conflict with fewer other key commands on the system; this
4530 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
4532 Removed a pointlessly-chatty keylistener for unshifted keys
4533 (shifted keys are still reported).
4535 2002-02-01 Bill Haneman <bill.haneman@sun.com>
4537 * libspi/remoteobject.h:
4538 * libspi/remoteobject.c:
4539 Added definitions for special AtkObject subtype, required for
4540 support of remote components (specifically, used by BonoboControl
4541 accessibility implementation).
4543 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
4545 * cspi/spi.h: synched relation types with ATK
4547 * cspi/spi_accessible.c: Added implementations of
4548 AcccessibleRelation_* methods
4550 * idl/Accessibility_Relation.idl: added getRelationTypeName
4551 method. Synched known relation types with ATK. Allowed for
4552 relation type extension with the RELATION_EXTENDED type.
4554 * libspi/relation.c: Provided implementations for
4555 AccessibleRelation methods.
4557 2002-01-01 Bill Haneman <bill.haneman@sun.com>
4559 API tweaks for today's API 'freeze'.
4562 Added placeholder functions to allow future compatible expansion
4563 of the IDL interfaces.
4565 * idl/Accessibility_Registry.idl:
4566 Changed generateKeyEvent to generateKeyboardEvent. Changed
4567 signature of this method to accept an optional keystring in
4568 parameter (for complex text input synthesis) and changed use of
4569 simple 'boolean' parameter in registerKeystrokeListener to a
4570 struct, EventListenerMode.
4572 * cspi/spi_accessible.c:
4574 * cspi/spi_streamablecontent.c:
4575 Added references to AccessibleStreamableContent interface, and
4576 definition and implementation of AccessibleStreamableContent
4579 * cspi/spi_registry.c:
4581 Changed generateKeyEvent API to generateKeyboardEvent,
4582 taking a new (optional) keystring parameter to support complex
4587 Renamed directory (to better reflect its actual purpose, bridging
4588 from at-spi to ATK). The .so module is also now named
4591 * idl/Accessibility_Hypertext.idl:
4592 * libspi/accessible.c:
4593 * libspi/hypertext.h:
4594 * libspi/hypertext.c:
4595 Changed Accessibility_Hypertext to *not* derive from
4598 * cspi/spi_registry.c:
4599 Added list of legal event type names for 'window' events, which
4600 completes the registry event API.
4602 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
4604 * at-bridge/bridge.c: Added registration for separate
4605 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
4606 signals. If either of the first two parameters to the generic
4607 bridge signal handler are ints, they are passed on as event
4608 details. This allows an AT to determine what text was inserted.
4610 2001-12-21 Bill Haneman <bill.haneman@sun.com>
4612 * registryd/deviceeventcontroller.c:
4613 Fixed regressions in generateKeyEvent caused by the removal of
4614 gdk_init from registryd; we now use pure X calls to connect to the
4615 display, which makes sense because deviceeventcontroller already
4616 uses a fair bit of X API (should eventually be migrated to a
4617 'portability layer').
4619 * registryd/desktop.c:
4620 Fixed minor regression in spi_desktop_init, changed the way the
4621 desktop name is being set to work with new spi_base API
4622 (gobject-based, rather than AtkObject-based).
4624 * registryd/Makefile.am:
4625 Minor revision of makefile to use XTST_LIBS variable rather than
4626 hard-wiring the Xtst LD_ADD element.
4628 * test/keysynth-demo.c:
4629 Tweaked an output message; added initialization of the
4630 'keystrings' member of the "switch listener" key_set.
4632 * libspi/relation.c:
4633 Squashed compile-time warning.
4635 * libspi/accessible.c:
4636 Cosmetic and formatting fixes, renamed a static method.
4638 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
4640 * libspi/accessible.c
4642 * libspi/application.c
4645 * libspi/component.c
4646 * libspi/editabletext.c
4647 * libspi/hyperlink.c
4648 * libspi/hypertext.c
4650 * libspi/selection.c
4654 * registryd/desktop.c:
4655 Changed SpiBase to contain a GObject pointer rather than an AtkObject
4657 2001-12-17 Bill Haneman <bill.haneman@sun.com>
4659 * idl/Accessibility_Registry.idl:
4660 Added boolean member 'is_text' to DeviceEvent. This is for the
4661 use of key events, and helps prevent ambiguity between composed
4662 key strings and keysym names, since both may potentially be
4663 returned in the 'event_string' member.
4665 * at-bridge/bridge.c:
4666 * registryd/deviceeventcontroller.c:
4667 Use the 'is_text' member when notifying device event listeners.
4668 Knon issue: composed characters are not dealt with correctly by
4669 the global key listener implementation yet.
4671 2001-12-17 Bill Haneman <bill.haneman@sun.com>
4673 * at-bridge/bridge.c:
4674 Namespaced local static methods to spi_atk_bridge_* where
4675 previously named bridge_*, and spi_* elsewhere.
4677 * at-bridge/bridge.c:
4678 * cspi/bonobo/cspi-bonobo-listener.c:
4679 Added demarshalling/conversion for string member of
4680 Accessibility_DeviceEvent to AccessibleKeystroke.
4682 * registryd/deviceeventcontroller.c:
4683 Added code to fill the Accessibility_DeviceEvent key string value
4684 member for global key events (i.e. from XGrabKey), to match
4685 behavior of Accessibility_DeviceEvent from the toolkit key events
4686 from the bridge. Fixed timestamp in global key event notifications.
4689 Added printout of key event's string value to
4690 report_ordinary_key_event, for demo/debugging purposes.
4692 2001-12-15 Bill Haneman <bill.haneman@sun.com>
4694 * idl/Accessibility_Registry.idl:
4695 Removed Accessibility_KeyStroke structure in favor of generic
4696 Accessibility_DeviceEvent structure.
4697 Changed Accessibility_ControllerEventMask from a struct to an
4700 * at-bridge/bridge.c:
4701 Changed APIs to use DeviceEvent structure as above, and removed
4702 bogus casting between these event structures.
4704 * cspi/spi-listener.h:
4705 Added keystring member of AccessibleKeystroke structure, to enable
4706 matching on event "names" rather than only hardware codes and
4710 Added keystrings member of AccessibleKeySet struct, to allow
4711 matching on event names (as above).
4712 Added declarations for SPI_createAccessibleKeySet and
4713 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
4714 event modmasks directly as unsigned ints rather than structs with
4715 refcounts, in the DeviceEventController methods.
4717 * cspi/spi_registry.c:
4718 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
4720 * cspi/spi-roletypes.h:
4721 Added documentation of newly added SPI Roles.
4723 * cspi/bonobo/cspi-bonobo-listener.c:
4724 Changes in support of API changes above.
4726 * libspi/accessible.c:
4727 Converted APIs to use DeviceEvent structure (see IDL changes
4730 * registryd/deviceeventcontroller.c:
4731 Added DEControllerGrabMask structure to track keygrabs not only by
4732 modmask but by keyset as well; this allows us to do "global"
4733 (i.e. X) keygrabs on a per-key or keyset basis rather than always
4734 grabbing on AnyKey and then filtering after-the-fact.
4735 Bugfixes for event filtration mean that we don't get false matches
4736 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
4738 * registryd/deviceeventcontroller.c:
4739 Namespaced a number of static methods to use spi_ prefix. Major
4740 revision to internals of global (i.e. X) key grabs.
4742 * registryd/deviceeventcontroller.h:
4743 Removed keymask_list and added keygrabs_list to
4744 SpiDeviceEventController struct.
4747 Added use of SPI_createAccessibleKeySet API when creating a
4748 listener for only one key. Attach a listener to "shift spacebar
4749 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
4750 X key event names to SPI key event names, so that listeners are
4751 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
4753 * test/keysynth-demo.c:
4754 Changed (incorrect) use of X key event names (KeyPressed,
4755 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
4758 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4760 * libspi/accessible.c:
4761 Convert all AtkRole enumerations to Accessibility_Role enums when
4762 getting a role from an AtkObject.
4764 * cspi/spi_accessible.c:
4765 Complete the conversion of Accessibility_Role enums at runtime to
4766 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
4767 role enums correctly match those given in spi-roletypes.h.
4768 Re-synchronize the local names list for AccessibleRole_getName ().
4769 AccessibleRole_getName is now deprecated, since it duplicates the
4770 more reliable Accessible_getRoleName.
4771 Added some role types from Accessibility_Role.idl.
4773 * idl/Accessibility_Role.idl:
4774 Added some role types used by AtkRole.
4776 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4779 * cspi/spi_registry.c:
4781 * cspi/cspi-bonobo-listener.c:
4782 Namespaced all methods that did not begin with an "SPI_" or
4783 "Accessible" prefix to "SPI_".
4786 Homogenized internal function namespace to "cspi_" for statics.
4789 Patched tests to use the new CSPI API.
4791 * docs/reference/cspi/at-spi-cspi-sections.txt:
4792 Updated docs to reflect namespace changes, and added a number of
4793 methods to the documentation.
4795 * registryd/registry.c:
4796 Changed use of strings and string hashes in listener event
4797 matching and parse_event_string to use GQuark, which is guaranteed
4800 * registryd/registry.h:
4801 Squashed annoying warning.
4803 * idl/Accessibility_Role.idl:
4804 Extended range of available Accessibility_Role values.
4806 * cspi/spi_accessible.c:
4807 Re-ordered role names.
4809 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4811 * idl/Accessibility_Value.idl:
4812 Revert use of union back to CORBA_double, since the double type is
4813 more efficient and can contain the other types without loss of
4816 * idl/Accessibility_Accessible.idl:
4817 Added method Accessibility:Accessible:getRoleName, to complement
4818 Accessibility:Accessible:getRole.
4820 * cspi/spi_accessible.c:
4822 Added C binding for above, Accessible_getRoleName (), and changed
4823 signature of Accessible_getRole () to return an AccessibleRole.
4825 * cspi/spi-roletypes.h:
4826 Changed AccessibleRole_getName to return a char * instead of a
4827 const char *. This method is now at least temporarily deprecated
4828 in favor of asking Accessibles for their RoleNames directly.
4831 Revert to match Accessibility_Value.idl;
4835 Change signature of AccessibleValue methods to use double rather
4839 * cspi/spi_accessible.c:
4840 Changed Accessible_getRole to return an AccessibleRole enum rather
4841 than a UTF-8 string. The UTF-8 string can still be obtained via
4842 AccessibleRole_getName ().
4844 * test/test-simple.c:
4845 Add test_action. Small fixup to match API change to Accessible_getRole.
4848 Bugfix for get_action_from_servant ().
4850 2001-12-11 Michael Meeks <michael@ximian.com>
4852 * libspi/libspi.h: remove registry.h and
4853 desktop.h, deviceeventcontroller.h
4855 * libspi/Makefile.am: remove registry.[ch],
4856 desktop.[ch], deviceeventcontroller.[ch]
4858 * registryd/Makefile.am: add registry.[ch],
4859 desktop.[ch], rename registryd.c to registry-main.c.
4860 add deviceeventcontroller.[ch]
4862 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4865 Replace setenv() call with putenv ().
4867 * libspi/component.c:
4868 Bugfix in AccessibleComponent_getExtents (),
4871 2001-12-11 Michael Meeks <michael@ximian.com>
4873 * libspi/image.c (impl_getImageExtents): impl.
4874 (spi_image_class_init): upd.
4877 (AccessibleImage_getImageDescription): fix daft bug
4880 * test/test-simple.c (global_listener_cb): update
4881 to only quit if not --poke
4882 (main): catch --poke.
4883 (validate_accessible): upd. dumping, call test_image
4886 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
4889 * idl/Accessibility.idl: update all IDL includes.
4891 * idl/*.idl - rename to namespace - this sucks, blame
4892 mjs' bad decision for oafd.
4894 * test/test-simple.c (create_test_window): add more tests.
4895 (create_tree): split this out.
4896 (validate_accessible): bugfix.
4898 2001-12-11 Michael Meeks <michael@ximian.com>
4900 * cspi/bonobo/cspi-bonobo-listener.c:
4901 (cspi_kestroke_listener_unref),
4902 (cspi_event_listener_unref): impl. undoing previous
4903 homenous environment - for Bill.
4905 * cspi/spi_table.c (long_seq_to_array): use
4908 * cspi/spi_main.c: split out all bonoboish bits into
4911 * cspi/spi-impl.h: upd. typedefs.
4913 * cspi/spi_registry.c: update to lowlevel API,
4914 return booleans to indicate success in some places.
4916 * cspi/spi_event.c: update to lowlevel API.
4918 * cspi/bonobo/Makefile.am: add.
4920 * cspi/bonobo/cspi-lowlevel.h: add
4922 * cspi/bonobo/cspi-bonobo.c: add
4924 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
4926 * cspi/Makefile.am: remove spi-listener-impl.[ch],
4927 (SUBDIRS): add bonobo, link in the libs.
4929 * cspi/spi-util.c: kill this file.
4931 * TODO: merge in my bits.
4933 2001-12-11 Michael Meeks <michael@ximian.com>
4935 * test/test-simple.c (test_value, test_table, main):
4936 remove unused variables causing warnings.
4938 * configure.in: cleanup checks - require gail.
4940 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4943 Changed Value interface to use SValue (scalars) rather than
4944 assuming all values are floats. This allows floats, doubles,
4945 longs, shorts, and unsigned values to be manipulated.
4946 Introduced Accessibility:SValue union.
4949 Updated to use new API above, and to work correctly with GValues
4950 of different types in AtkValue.
4953 Updated to use new API above. cspi's API is as yet unchanged.
4956 Updated the Value revision action item.
4958 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4960 * test/test-simple.c:
4961 Added test_table (GtkTreeView widget in test window to follow).
4962 Un-commented test_value, added GtkRange widget.
4963 Added GtkTreeView widget with GtkListStore. It passes regression
4964 test but leaks one SPI object for some reason.
4967 Fixed bug in impl__set_currentValue.
4969 2001-12-10 Michael Meeks <michael@ximian.com>
4971 * cspi/spi_text.c: audit for exception handling,
4972 tolerating NULL object references safely etc.
4974 * cspi/spi_value.c: ditto.
4976 * cspi/spi_table.c (AccessibleTable_getSummary),
4977 (AccessibleTable_getAccessibleAt),
4978 (AccessibleTable_getRowHeader),
4979 (AccessibleTable_getColumnHeader),
4980 (AccessibleTable_getCaption): fix bugs hidden by
4982 (long_seq_to_array): impl.
4983 (AccessibleTable_getSelectedRows),
4984 (AccessibleTable_getSelectedColumns): use it.
4986 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4989 Added a TODO list (rough and short for now).
4991 * cspi/spi_hyperlink.c:
4992 * cspi/spi_hypertext.c:
4993 Fixed macro name typos, and remove use of obsolete macro in
4994 AccessibleHyperlink_getLink.
4996 * cspi/spi_action.c:
4997 * cspi/spi_accessible.c:
4998 * cspi/spi_application.c:
4999 * cspi/spi_component.c:
5000 * cspi/spi_selection.c:
5003 Documentation fixes (removed return values from ref/unref methods).
5005 2001-12-10 Michael Meeks <michael@ximian.com>
5007 * cspi/spi_action.c: audit for exception handling,
5008 tolerating NULL object references safely etc.
5010 * cspi/spi_accessible.c: ditto.
5012 * cspi/spi_component.c: ditto.
5014 * cspi/spi_editabletext.c: ditto.
5016 * cspi/spi_hyperlink.c: ditto.
5018 * cspi/spi_hypertext.c: ditto.
5020 * cspi/spi_image.c: ditto.
5022 * cspi/spi_selection.c: ditto.
5024 2001-12-10 Michael Meeks <michael@ximian.com>
5026 * configure.in: use cspi/libspi.pc.in instead.
5028 * Makefile.am (pkgconfig_DATA): upd. to match.
5030 * test/simple-at.c (report_focus_event): kill hacks around
5031 bad return values, use putenv not setenv
5033 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
5034 fire ChildGone - I killed it.
5036 * libspi/component.c
5037 (impl_accessibility_component_get_extents): remove
5040 * idl/Accessible.idl: kill ChildGone exception.
5042 * cspi/*.[ch]: kill int return from ref / unref.
5044 * cspi/spi_main.c (cspi_object_add_check): fold into
5045 (cspi_object_add): here.
5047 * cspi/spi_component.c (AccessibleComponent_getExtents):
5048 handle exceptions elegantly.
5050 * cspi/spi-private.h (cspi_check_ev_return),
5051 (cspi_return_if_fail): impl.
5053 * cspi/spi_accessible.c: use extensively.
5054 (AccessibleStateSet_equals): add direct compare check.
5056 * cspi/spi_selection.c: tolerate NULL objs, and check
5057 exceptions before return.
5059 * cspi/spi-util.c (cspi_warn_ev): rename to
5060 (cspi_check_ev): this & don't pass ev in; no point.
5062 2001-12-10 Michael Meeks <michael@ximian.com>
5064 * test/test-simple.c: use putenv not setenv
5065 (get_environment_vars): more chatty if you're not using
5068 * test/simple-at.c: do the setenv so more people see the
5071 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5073 * libspi/registry.c:
5074 Changed check of CORBA_environment on notification to be a warning
5075 instead of an error for the moment, since we can recover from this
5076 error when caused by a queued notification from a dead app.
5079 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
5080 used by all current implementors of AtkValue), and coerce to
5081 CORBA_float. (Proper general case fix may require change to Value.idl).
5083 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5087 * cspi/spi_accessible.c:
5088 Documentation fixes: added user_data params to documentation for
5089 listeners and callbacks.
5091 * cspi/spi_accessible.c:
5092 Changed AccessibleStateSet_compare to return a
5093 StateSet rather than return the difference set into a third parameter.
5096 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5099 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
5100 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
5104 Remove subdirectory po from SUBDIRS for now.
5106 * at-bridge/bridge.c:
5107 Beefed up a couple of debug printouts.
5108 One-line fix for signal notification name formatting.
5110 * libspi/accessible.c:
5111 Added assertion to spi_accessible_new ().
5113 * libspi/application.c:
5114 Put #ifdef qualifiers around a printf.
5117 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
5119 * registryd/Makefile.am:
5121 Replaces use of XML_I18N_MERGE_SERVER_RULE with
5122 INTLTOOL_SERVER_RULE macro.
5125 Added an event listener for several ATK signals, for
5126 testing and debugging. Removed a few g_warnings.
5127 Added test output if focussed item implements the Value interface.
5129 * test/test-simple.c:
5130 Added test_value () function (known not to pass at the moment, so
5131 not actually called yet.
5133 2001-12-08 Michael Meeks <michael@ximian.com>
5135 * at-bridge/bridge.c (bridge_focus_tracker),
5136 (emit_eventv): fix the same ref. leak.
5137 (register_atk_event_listeners): don't leak.
5139 * cspi/spi-listener-impl.c (cspi_event): more
5140 protection from client code.
5142 * test/test-simple.c (test_desktop): unref the app.
5144 * test/Makefile.am: upd. TESTS.
5146 * at-bridge/bridge.c (bridge_exit_func): release the registry.
5148 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
5150 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
5152 * cspi/spi_registry.c: constify in strings.
5153 (deregisterGlobalEventListenerAll): don't release the ref.
5155 * cspi/spi.h: start removing redundant / conflicting
5156 gtkdoc comments, making the API readable at a glance :-)
5158 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
5160 * test/keysynth-demo.c (keysynth_exit, main): upd.
5162 * test/simple-at.c (main, simple_at_exit): upd.
5164 * test/test-simple.c (unutterable_horror): kill.
5165 (utterable_normal_derefs): kill.
5166 (main): upd & do a setenv before gtk_init, so that we
5167 can use memprof - and to save the pain of remembering
5168 this, if we're running under memprof - don't exit.
5170 * cspi/spi_main.c (SPI_exit): return exit status
5172 (SPI_event_quit): impl.
5173 (SPI_event_main): simplify.
5174 (cspi_is_gnome_app): kill.
5175 (SPI_init): kill isGNOMEapp arg.
5177 * at-bridge/bridge.c (register_atk_event_listeners):
5178 re-instate the unref.
5179 (bridge_exit_func): don't re-activate the registry,
5180 protect vs. theoretical re-entry, use the
5181 AT_BRIDGE_SHUTDOWN env. var to determine whether to
5182 assert a clean shutdown - for regression tests.
5184 2001-12-08 Abel Cheung <maddog@linux.org.hk>
5186 * configure.in: Comment out dummy i18n support for now,
5187 otherwise it fails to build.
5188 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
5189 EXTRA_DIST. They are missing in tarball.
5191 2001-12-07 Michael Meeks <michael@ximian.com>
5193 * util/magnifier.c: kill bonobo activation reg. race.
5195 * libspi/component.c
5196 (impl_accessibility_component_get_extents): make it match
5199 * libspi/registry.c (_registry_notify_listeners):
5200 re-remove X headers & reconcile conflicts.
5201 (spi_listener_struct_free): bad conflict resolve.
5202 (impl_accessibility_registry_register_application):
5203 more bad merging fixed.
5204 (impl_accessibility_registry_deregister_application): ditto.
5205 (spi_registry_new): ditto.
5206 (spi_registry_init): don't have an applications field.
5208 [ merge fixups2 branch to here ]
5209 2001-12-07 Michael Meeks <michael@ximian.com>
5211 * test/simple-at.c (report_focus_event),
5212 (report_focussed_accessible): remove g_warning debug.
5214 2001-12-07 Michael Meeks <michael@ximian.com>
5216 * test/test-simple.c (validate_tree): comment out some checks.
5217 (test_desktop): app now not registered idly - horay.
5219 2001-12-07 Michael Meeks <michael@ximian.com>
5221 * cspi/spi_registry.c
5222 (registerAccessibleKeystrokeListener): clean, stop it leaking
5223 great swathes of memory, and device event controller references.
5224 ensure we always pass valid sequences.
5225 (deregisterAccessibleKeystrokeListener): ditto.
5226 (generateKeyEvent): upd.
5228 * at-bridge/bridge.c (bridge_key_listener): handle
5229 registry dead exception gracefully.
5230 (bridge_focus_tracker, emit_eventv): free ev.
5232 * test/simple-at.c (report_focus_event): fix polarity.
5234 * libspi/application.c (notify_listeners): kill the ev
5235 argument, and make sure we init the ev we use.
5236 (spi_application_object_event_listener): split out a chunk
5237 (get_atk_object_ref): here & fixup.
5238 (reverse_lookup_name_for_toolkit_event): make const.
5239 (spi_application_toolkit_event_listener): fixup, kill leaks
5242 * at-bridge/bridge.c (register_atk_event_listeners):
5243 don't unref the noop object - causes grief.
5245 * libspi/registry.c: remove the X headers.
5246 turn off the debug churn.
5248 * libspi/accessible.c (spi_accessible_new_return): only
5249 release the ref if we are supposed to [doh]
5251 * test/simple-at.c (report_button_press, report_focus_event):
5252 guard vs. unexpected exit.
5254 * at-bridge/bridge.c (gtk_module_init): prune printf.
5255 (bridge_exit_func): fix app unref.
5257 * libspi/Makefile.am: don't install registry or desktop.h
5259 * libspi/*.h: update includes.
5261 * libspi/application.h: don't include ourself, or
5262 other redundant headers.
5264 2001-12-06 Michael Meeks <michael@ximian.com>
5266 * libspi/accessible.c
5267 (get_accessible_from_servant): impl.
5268 Upd. all CORBA impl.s to use it killing cut and paste.
5270 * cspi/spi_main.c (cspi_cleanup): guard vs. double
5272 (SPI_init): register atexit cleanup handler here.
5274 2001-12-06 Michael Meeks <michael@ximian.com>
5276 * at-bridge/bridge.c (gtk_module_init): g_error on
5277 activation exception
5279 2001-12-06 Michael Meeks <michael@ximian.com>
5281 * at-bridge/bridge.c (gtk_module_init): some sort of
5282 confusing merge clash - reverted.
5283 (bridge_idle_init): ditto.
5285 * test/test-simple.c (main, utterable_normal_derefs):
5286 merge from Bill - somehow not committed.
5288 2001-12-06 Michael Meeks <michael@ximian.com>
5290 * libspi/value.c (spi_value_class_init): upd.
5291 (spi_value_finalize): kill.
5293 * libspi/table.c (spi_table_finalize): kill.
5294 (spi_table_interface_new): upd.
5295 (spi_table_class_init): upd.
5296 (get_table_from_servant): impl.
5297 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5299 * libspi/selection.c (spi_selection_finalize): kill.
5300 (spi_selection_interface_new): upd.
5301 (spi_selection_class_init): upd.
5302 (get_selection_from_servant): impl.
5303 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5305 * libspi/relation.c (spi_relation_finalize): kill.
5306 (spi_relation_class_init, spi_relation_new): upd
5308 * libspi/image.c (spi_image_finalize): kill.
5309 (spi_image_class_init): upd.
5310 (spi_image_interface_new): upd.
5311 (get_image_from_servant): impl.
5312 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5314 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
5315 (spi_hyperlink_finalize): kill.
5316 (spi_hyperlink_new): upd.
5317 (get_hyperlink_from_servant): impl.
5318 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5320 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
5321 (spi_hypertext_finalize): kill.
5322 (spi_hypertext_class_init): upd.
5323 (get_hypertext_from_servant): impl.
5324 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5326 * libspi/editabletext.c (spi_editable_text_finalize): kill.
5327 (spi_editable_text_interface_new): upd.
5328 (get_editable_text_from_servant): impl.
5329 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5331 * libspi/text.c (get_text_from_servant): impl.
5332 All impls - update to use it killing more cut and paste,
5333 also fix bad string returns on duff args ( a somewhat
5334 impossible case to handle - but hey ).
5335 (spi_text_construct): impl.
5336 (spi_text_interface_new): upd.
5337 (spi_text_object_finalize): kill.
5339 * libspi/component.c
5340 (accessibility_component_object_finalize): kill.
5341 (spi_component_class_init): upd.
5342 (get_component_from_servant): impl. helper to kill cut & paste.
5343 (impl_accessibility_component_contains):
5344 (impl_accessibility_component_get_accessible_at_point):
5345 (impl_accessibility_component_get_position):
5346 (impl_accessibility_component_get_extents):
5347 (impl_accessibility_component_get_mdi_z_order):
5348 (impl_accessibility_component_get_layer):
5349 (spi_component_interface_new): upd.
5351 * libspi/action.c (spi_action_finalize): kill.
5352 (spi_action_class_init): upd. inherit from SpiObject.
5353 (spi_action_interface_new): upd.
5354 (get_action_from_servant): impl. helper to reduce cut & paste.
5355 (impl_getKeyBinding, impl_getName, impl_doAction),
5356 (impl_getDescription): Use it everywhere.
5358 * cspi/spi_main.c (get_live_refs): a pointer hash.
5359 (spi_object_hash, spi_object_equal): comment out.
5360 There are issues with CORBA object hashing that need
5363 * libspi/application.c (spi_application_init),
5364 (spi_application_new): upd.
5366 * libspi/accessible.c (spi_accessible_object_finalize): kill.
5367 (spi_accessible_class_init): upd.
5368 s/accessible/object/ in epv methods.
5370 2001-12-05 Bill Haneman <bill.haneman@sun.com>
5372 * at-bridge/bridge.c:
5373 Reorder the bridge initialization into the bridge gtk_module_init,
5374 an immediate call to bridge_register_app, and an idle_add for
5375 register_atk_event_listeners (the only code that *must* wait until
5376 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
5377 the activation, creates the application's Accessible object, and
5378 queues the bridge_idle_init function. Restored call to
5379 Accessibility_Registry_deregisterApplication().
5380 Prior to making this call we obtain a new reference to the
5381 registry, which is a temporary hack that helps us handle apps that
5382 shut down the bonobo mainloop before we get there.
5384 * libspi/registry.c:
5385 Fix string leakage in debug block, and don't segv if a an app
5386 dies before its event notifications have been propagated.
5389 Modify cspi_check_ev() to call g_warning() rather than g_error(),
5390 as stopgap measure until we get proper exception handling when
5391 objects die during or before interrogation.
5395 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
5396 Also changed default value of is_gnome_app to TRUE.
5399 * test/keysynth-demo.c:
5400 Changed use of SPI_init and SPI_event_main to reflect API change above.
5403 Made report_focus_event check the warning value from getName
5404 before reporting on focussed accessible; simplifies handling of
5405 notifications from dead objects.
5407 * test/test-simple.c: (Changes not in this patch since source is
5410 2001-12-05 Michael Meeks <michael@ximian.com>
5412 * registryd/registryd.c (main): protect against
5413 bonobo-activation startup race condition.
5415 * cspi/spi_main.c (cspi_object_add_check): cope
5416 with the exception elegantly.
5418 * idl/Accessible.idl: decl. ChildGone
5420 * libspi/desktop.c (spi_desktop_dispose): impl.
5421 (spi_desktop_class_init): upd.
5422 (spi_desktop_add_application),
5423 (spi_desktop_remove_application),
5424 (abnormal_application_termination): impl.
5425 (impl_desktop_get_child_at_index): re-impl.
5428 (impl_accessibility_registry_deregister_application),
5429 (impl_accessibility_registry_register_application):
5430 kill excessive debug clutter.
5432 * test/test-simple.c (test_misc): test some NULL
5433 tolerance. (main): upd.
5435 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
5436 implements no interfaces - so let's not crash.
5438 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
5440 * libspi/accessible.c (spi_accessible_new_return): impl.
5441 helper to calm the cut and paste, to cope with
5442 NULL AtkObjects effectively and efficiently, and to kill
5443 the referencing bugs.
5445 * libspi/table.c (impl_getAccessibleAt),
5446 (impl_getRowHeader, impl_getColumnHeader): upd.
5448 * libspi/hyperlink.c (impl_getObject): upd.
5450 * libspi/accessible.c
5451 (impl_accessibility_accessible_get_child_at_index): upd.
5453 * libspi/component.c
5454 (impl_accessibility_component_get_accessible_at_point): upd.
5456 * test/test-simple.c (test_editable_text, test_text): impl.
5459 * cspi/spi_editabletext.c
5460 (AccessibleEditableText_insertText): constify.
5462 * test/test-simple.c (focus_me): make more robust.
5464 * libspi/accessible.c: remove some printfs in methods that
5465 we test and work fine, so we can get a clean tree dump.
5467 * test/test-simple.c (validate_accessible),
5468 (validate_tree): make tree dumping pretty too.
5470 * at-bridge/bridge.c (bridge_signal_listener): upd. so
5471 it builds without debug on.
5473 * test/test-simple.c (validate_accessible): fix the most
5476 * cspi/spi_main.c (spi_object_release): leave the nicely
5477 blanked memory around if in debug mode.
5479 * cspi/spi-listener-impl.c (cspi_event): use add_check.
5481 [committed to fixups2]
5482 2001-12-05 Michael Meeks <michael@ximian.com>
5484 * libspi/editabletext.c
5485 (spi_editable_text_class_init): g_type_class_peek_parent,
5486 not interface peek - so we finalize cleanly.
5488 * libspi/accessible.c (spi_accessible_new): kill debug.
5490 * test/test-simple.c (validate_accessible): fix ref.
5491 leak, print strings before freeing them; sigh, comment a
5492 chunk out due to strangeness.
5493 (validate_tree): unref the child after use.
5495 * cspi/spi_component.c (AccessibleComponent_getLayer):
5496 add missing break statement, switch on zlayer not the
5497 uninitialized retval.
5499 * cspi/spi_main.c (cspi_object_add): add assert, local ref
5500 before (possibly re-entering) remote unref.
5502 * test/simple-at.c (main): unref the desktop.
5504 * cspi/spi_accessible.c (cspi_accessible_is_a): move
5507 * cspi/spi_main.c (cspi_accessible_is_a): here to
5508 isolate bonobo API usage more.
5510 * libspi/registry.c (impl_accessibility_registry_register_application):
5511 prune bogus comment.
5513 2001-12-04 Michael Meeks <michael@ximian.com>
5515 * test/test-simple.c (validate_tree): upd.
5516 IndexInParent check to make it more lucid.
5517 (validate_accessible): dump the tree.
5519 * libspi/accessible.c (de_register_public_ref),
5520 (get_public_refs): impl.
5521 (spi_accessible_new): make more efficient & intuitive.
5522 Now IndexInParent check works.
5524 2001-12-04 Michael Meeks <michael@ximian.com>
5526 * cspi/spi-util.h: remove.
5528 * cspi/spi.h: move SPI_freeString here
5530 * libspi/component.c (impl_accessibility_component_get_layer):
5532 (impl_accessibility_component_get_mdi_z_order): ditto,
5533 return -1 on error - is this ok ?
5535 * test/test-simple.c (test_application): impl.
5537 * cspi/spi_accessible.c (Accessible_getApplication),
5538 (Accessible_isApplication): impl.
5540 * libspi/registry.c (spi_listener_struct_free): release
5541 the CORBA reference too.
5543 * libspi/accessible.c
5544 (impl_accessibility_accessible_get_parent): fix ref leak.
5546 * libspi/registry.c (spi_registry_new): make the registry
5547 immortal - we don't want it to go away ever.
5549 * libspi/application.c
5550 (spi_accessible_application_finalize): impl. cleanup.
5552 * cspi/spi_registry.c
5553 (deregisterGlobalEventListenerAll),
5554 (deregisterGlobalEventListener),
5555 (deregisterAccessibleKeystrokeListener): fix ref leak.
5557 * cspi/spi_main.c (SPI_init): remove redundant ref.
5559 * test/test-simple.c (unutterable_horror): impl. to force a
5564 (impl_accessibility_registry_deregister_application): release
5565 the application when we de-register it.
5567 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
5568 until we have the infastructure to get it right.
5570 2001-12-03 Michael Meeks <michael@ximian.com>
5572 * libspi/Makefile.am: only build eventlistener.[ch]
5574 * libspi/accessible.c
5575 (impl_accessibility_accessible_get_child_at_index): don't leak.
5577 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
5578 before we hit the idle handler.
5580 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
5581 debugging than exit.
5583 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
5585 * libspi/listener.c (impl_notify_event): check source
5586 not NIL before unref.
5588 * libspi/registry.c (impl_registry_notify_event): ditto.
5590 * libspi/eventlistener.c
5591 (impl_accessible_event_notify_event): unref the source.
5593 * libspi/accessibleeventlistener.c
5594 (impl_accessible_event_notify_event): unref the source.
5596 * idl/Event.idl: remove 'hash_id' attribute - of no
5599 * libspi/application.c (notify_listeners): upd list
5601 (spi_application_object_event_listener),
5602 (spi_application_toolkit_event_listener): upd to do correct
5606 (_registry_notify_listeners): update.
5607 (parse_event_type): this method also leaks like a sieve.
5608 (impl_accessibility_registry_deregister_global_event_listener):
5609 fix ETYPE_WINDOW case.
5611 * libspi/application.c
5612 (impl_accessibility_application_register_object_event_listener):
5615 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
5617 * libspi/hypertext.c (impl_getLink): ditto.
5619 * cspi/spi_main.c (cspi_object_add): remove
5620 bogus CORBA_Object_duplicate.
5622 * cspi/spi-listener-impl.c (cspi_event): dup/ref
5625 * cspi/spi_accessible.c
5626 (Accessible_getRelationSet): fix leak / referencing issue.
5628 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
5629 (cspi_object_add, cspi_object_unref): upd.
5630 (spi_object_release, get_live_refs): impl.
5631 (cspi_cleanup): simplify.
5633 * *.[ch]: s/boolean/SpiBoolean/
5635 * cspi/spi_accessible.c (role_names): actualy order so it
5636 corresponds with the enum !
5638 * test/test-simple.c (test_roles): check some role strings
5639 vs. enums to detect offset errors.
5641 2001-12-01 Michael Meeks <michael@ximian.com>
5643 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
5645 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
5647 (Accessible_getChildAtIndex): use cspi_add_check so we
5648 check the ev before using a (possibly) invalid value.
5650 * libspi/accessible.c
5651 (impl_accessibility_accessible_get_parent): don't segv
5654 * at-bridge/bridge.c (gtk_module_init): upd.
5655 (bridge_property_event_listener): don't leak strings
5657 (bridge_state_event_listener),
5658 (bridge_property_event_listener): don't use a static
5659 buffer in case of recursive event emission &
5660 re-enterancy - split out the swathe of cut and paste
5662 (emit_eventv): and fix 2 ref leaks here & comply to the
5664 (bridge_register_app): rename to
5665 (bridge_idle_init): this and kill arg parsing, split
5666 various inits & bonobo-activation registration to module
5667 init time, kill referencing error.
5668 (bridge_exit_func): fix the same leak.
5669 (bridge_focus_tracker): don't leak event structures
5671 (bridge_signal_listener): more leakage and cut & paste
5673 (bridge_key_listener): return the result - FIXME is
5674 this polarity correct ?
5675 (accessibility_keystroke_from_atk_key_event): rename
5676 (accessibility_init_keystroke_from_atk_key_event): and stop
5678 (gtk_module_init): return a value - not that it is checked by
5680 (bridge_key_listener): register my horror at casting between
5681 IDL defined structs.
5682 (bridge_get_registry): kill - not used.
5684 * cspi/spi_accessible.c (Accessible_getRole): make return const.
5686 * test/test-simple.c (test_roles): impl.
5687 (test_desktop, validate_accessible, validate_tree): impl.
5689 * cspi/spi_accessible.c (role_names): fixup bogus
5690 MAX_ROLES setup, make constants const for efficient linkage
5691 (AccessibleRole_getName): conform to coding style, make
5694 2001-11-30 Michael Meeks <michael@ximian.com>
5696 * cspi/spi.h: add missing prototype.
5698 * libspi/registry.c (spi_listener_struct_new): fix sig.
5700 * test/Makefile.am: add test-simple
5702 * test/test-simple.c: add
5704 * test/test.sh: add.
5706 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
5708 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
5709 do it straight - since otherwise we often get an activation race.
5711 [ work before Bill duplicated a chunk of it ... ]
5712 2001-11-30 Michael Meeks <michael@ximian.com>
5714 * libspi/keystrokelistener.c
5715 (spi_keystroke_listener_class_init): fixup arg
5718 * libspi/eventlistener.c
5719 (spi_event_listener_class_init): ditto.
5721 * tests/test.sh: add.
5723 * cspi/spi-listener-impl.h: update macros.
5725 * cspi/spi-listener-impl.c
5726 (cspi_event_listener_remove_callback): add
5727 correct pre-conditions.
5729 * cspi/spi_main.c (SPI_exit): guard vs. double
5730 exits, exit the mainloop nicely.
5731 (SPI_event_main): make more sense.
5732 (SPI_init): move the atexit evilness here so we
5733 always do it (yuck).
5734 (SPI_event_main): upd.
5736 * test/simple-at.c: update for listener changes.
5738 * registryd/registryd.c (main): prune kruft.
5740 * libspi/libspi.h: upd.
5742 * libspi/eventlistener.[ch]: rename broken macros.
5744 * libspi/accessibleeventlistener.[ch]: remove.
5746 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
5748 * test/test-simple.c: Add - automated tests.
5750 * cspi/spi-listener-impl.c (cspi_event),
5751 (cspi_key_event): add user_data to invoke.
5752 (cspi_keystroke_listener_finalize): impl.
5753 (cspi_keystroke_listener_class_init): upd.
5756 (createAccessibleEventListener),
5757 (AccessibleEventListener_addCallback),
5758 (createAccessibleKeystrokeListener),
5759 (AccessibleKeystrokeListener_addCallback): upd.
5761 * libspi/deviceeventcontroller.c
5762 (spi_device_event_controller_check_key_event): add public proto.
5765 (impl_accessibility_registry_deregister_global_event_listener):
5766 always init listeners.
5767 (_registry_notify_listeners): yes it is.
5769 * cspi/spi-listener-impl.c (cspi_key_event):
5771 (cspi_event_listener_finalize): impl.
5772 (cspi_event_listener_class_init): hook up.
5773 (event_handler_new, event_handler_free),
5774 (event_list_remove_by_callback): impl.
5775 (cspi_event_listener_remove_callback),
5776 (cspi_keystroke_listener_remove_callback),
5777 (cspi_keystroke_listener_add_callback),
5778 (cspi_event_listener_add_callback): upd.
5780 * libspi/keystrokelistener.c
5781 (keystroke_listener_object_finalize): kill
5782 (spi_keystroke_listener_class_init): upd.
5783 (spi_keystroke_listener_add_callback),
5784 (spi_keystroke_listener_remove_callback): kill,
5786 (impl_key_event): prune drasticaly.
5788 * libspi/eventlistener.c
5789 (spi_event_listener_add_callback),
5790 (spi_event_listener_remove_callback): kill, use
5792 (impl_accessible_event_notify_event): upd.
5793 (spi_event_listener_object_finalize): remove.
5795 * libspi/Makefile.am: use eventlistener.[ch]
5797 2001-12-04 Bill Haneman <bill.haneman@sun.com>
5799 * libspi/registry.c (_registry_notify_listeners):
5800 Changed listener loop iteration to use preferred convention.
5801 Got rid of string memory leaks caused be calling g_strconcat
5802 inside function calls.
5804 * libspi/registry.c (parse_event_type):
5805 Stopped g_strconcat memory leaks, free the g_strsplit return,
5806 g_strdup the split pieces when used, etc.
5808 2001-12-04 Bill Haneman <bill.haneman@sun.com>
5811 Change method 'compare' to return a 'difference set' rather than
5812 taking a StateSet as an out parameter (more Java-friendly).
5814 * idl/Accessible.idl:
5815 Added CORBA struct 'BoundingBox', to faciliate API changes below:
5817 * idl/Component.idl:
5819 Changed methods 'getExtents' and 'getImageExtents' in these
5820 interfaces to return a BoundingBox structure.
5821 (getPosition and getSize are redundant and possibly should be
5822 removed, rather than creating a corresponding Point struct.)
5824 * cspi/spi_component.c:
5825 Modify implementation of getExtents to reflect the above IDL
5830 Add (missing) AccessibleImage_getExtents () API.
5832 * docs/reference/cspi/at-spi-cspi-sections.txt:
5833 Added AccessibleImage_getImageExtents () to docs.
5835 2001-12-03 Bill Haneman <bill.haneman@sun.com>
5837 * idl/Component.idl:
5838 Added two methods, getLayer () and getMDIZOrder (), to reflect
5839 the new ATK methods atk_object_get_layer and
5840 atk_object_get_mdi_z_order. (Which arguably should be part of the
5841 AtkComponent API and AtkObject). Also added an enum,
5842 ComponentLayer, for the first method's return value.
5844 * libspi/component.c:
5845 Added implementations for these methods.
5847 * cspi/spi_component.c:
5849 Added cspi binding methods for above,
5850 AccessibleComponent_getLayer() and
5851 AccessibleComponent_getMDIZOrder().
5852 Added cspi enum 'AccessibleComponentLayer'.
5854 * docs/reference/cspi/at-spi-cspi-sections.txt:
5855 Added above methods to docs.
5859 Changed typedef for 'boolean' type (and all references to it) to
5860 SPIBoolean, to avoid keyword clashes with C++.
5863 Changed usages of 'boolean' to SPIBoolean.
5865 * test/keysynth-demo.c:
5866 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
5867 app), except where SPIBoolean is required by the callbacks API.
5869 2001-12-02 Bill Haneman <bill.haneman@sun.com>
5871 * cspi/spi_registry.c:
5872 Removed obsolete X event loop for passive keygrabs (which now
5875 * registryd/registryd.c:
5876 Removed unnecessary call to gdk_init() [cruft]. This also allows
5877 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
5880 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5882 * docs/reference/cspi:
5883 Included docs for SPI_freeString in generated documentation.
5886 Renamed spi_freeString to SPI_freeString, for consistency. Added
5887 documentation for this function.
5890 Renamed spi_freeString to SPI_freeString, for consistency.
5891 Removed obsolete method declaration string_from_corba_string.
5893 * test/keysynth-demo.c:
5894 Small tweak to comments.
5897 Stopped leaking the strings returned from CSPI.
5899 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5901 Merged Michael's branch (see his ChangeLog entries below).
5903 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
5904 bridge is alive, release on exit.
5906 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
5907 Fix type check macro.
5910 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
5913 Added is_gnome_app static, and method cspi_is_gnome_app(),
5914 so we can call the appropriate shutdown routine at exit in SPI_exit.
5916 * cspi/spi_main.c (cspi_object_ref):
5917 Duplicate the corba object passed in, since we're keeping it around.
5919 * cspi/SPI_exit.c, cspi_cleanup:
5920 Moved the releasing of the live refs to its own function, so we
5921 can put it in g_atexit (). Call the appropriate shutdown API
5922 depending on whethe calling client is a gnome app or not
5923 (bonobo_main_quit or CORBA_ORB_shutdown).
5925 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
5926 Unref the listener when this method is called, after
5927 deregistration. Updated the API docs to note this behavior.
5929 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
5930 Bugfixes: Ref the bonobo object when returning a parent or child
5931 reference, or an AccessibleRelation. Generally made sure
5932 BonoboObject refcount is incremented whenever we return an
5935 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
5936 Fixed typo/bug in signal declaration.
5938 * libspi/accessibleeventlistener.h:
5941 * libspi/application.c (spi_application_new):
5942 Fixed leak in initialization.
5945 Remembered to increment bonobo-object refcount when returning
5946 children (applications) from desktop object.
5947 Added (empty) finalize method.
5949 * libspi/deviceeventcontroller.c:
5950 Hold a ref to listeners inside DEControllerKeyListeners.
5951 Added dec_key_listener_free() method. Use prepend instead of
5952 append in key_listener list. Fixed some refcount madness and
5953 leaks in the listener registration/deregistration - deregistration
5954 now calls dec_key_listener_free() on listeners, and on the
5955 temporarily constructed dec_key_listener() used to perform the search/match.
5957 * libspi/hypertext.c (spi_hypertest_finalize):
5958 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
5959 class. Also fixed spi_hypertext_interface_new() and
5960 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
5962 * libspi/hypertext.h:
5963 Removed pointless and duplicate AtkObject pointer from
5966 * libspi/keystrokelistener.c:
5967 Fixed incorrect type of keystroke_listener_parent_class,
5968 renamed keystroke_listener_object_finalize to
5969 spi_keystroke_listener_object_finalize.
5970 Fixed typo in signal declaration
5971 (spi_keystroke_listener_class_init).
5973 * libspi/registry.c:
5974 Added funcsions spi_listener_struct_new() and
5975 spi_listener_struct_free() to help with memory management issues.
5976 We also now use these methods instead of gnew + poking stuff into
5977 the struct, and to decrement listener counts/free the listeners
5978 when deregistering them.
5979 Fix more refcount bugs in getDesktop() and
5980 getDeviceEventController().
5983 De-ref the desktop after enumerating the applications. Explicitly
5984 decrement the refcounts on the created listeners on exit (using
5985 _unref for keystroke listeners, and via the
5986 deregisterGlobalEventListenerAll command for other event
5989 2001-11-27 Michael Meeks <michael@ximian.com>
5991 * cspi/spi-listener.h: fixup enum.
5993 2001-11-27 Michael Meeks <michael@ximian.com>
5995 * cspi/spi-listener-impl.c (cspi_event_listener_new),
5996 (cspi_keystroke_listener_new): Use the cspi variants.
5998 2001-11-26 Michael Meeks <michael@ximian.com>
6000 * test/keysynth-demo.c: fix 2 compile warnings, missing
6003 * test/simple-at.c (report_focussed_accessible),
6004 (report_focus_event, report_button_press),
6005 (check_property_change, is_command_key),
6006 (report_ordinary_key_event, report_command_key_event): upd.
6008 * util/mag_client.h: include pre-requisites.
6010 * libspi/accessibleeventlistener.c
6011 (spi_event_listener_object_finalize): free any lingering
6014 * libspi/keystrokelistener.c
6015 (keystroke_listener_object_finalize): ditto.
6017 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
6018 callbacks, with cspi types.
6020 * cspi/spi_event.c (createAccessibleEventListener): chain to
6021 (AccessibleEventListener_addCallback): here.
6022 (createAccessibleKeystrokeListener): chain to
6023 (AccessibleKeystrokeListener_addCallback): here.
6025 * libspi/keystrokelistener.c
6026 (spi_keystroke_listener_class_init): add signal.
6027 (impl_key_event): emit the event.
6028 (boolean_handled_accumulator): impl.
6029 (marshal_BOOLEAN__POINTER): add, gack.
6031 * libspi/accessibleeventlistener.c
6032 (spi_event_listener_class_init): add signal.
6033 (impl_accessible_event_notify_event): emit the signal &
6034 make the loop efficient.
6035 (spi_event_listener_add_callback): prepend the callback.
6037 * libspi/accessibleeventlistener.h: add an 'event' signal,
6038 decl type on callback.
6040 * libspi/keystrokelistener.h: ditto.
6042 * cspi/spi-listener.h: make methods typesafe and
6043 make them use the new event typedefs.
6045 * test/simple-at.c (report_focussed_accessible):
6046 include mag_client.h
6047 Use *(void *)text_interface not the other thing.
6049 * configure.in: add gtk to registryd bits - since we use
6052 * util/magnifier.c: include libbonobo.h
6054 2001-11-25 Bill Haneman <bill.haneman@sun.com>
6056 * test/keysynth-demo.c:
6057 Turned this into a simple scanning keyboard, to demonstrate the
6058 use of g_timeout_add () as a means of creating timers for
6059 scanning, and the use of GtkStyle for visually indicating when
6060 virtual keyboard elements are selected.
6062 keysynth-demo now listens to any keyboard keys with zero-valued
6063 keycodes (i.e. 'unused' keys) and interprets them as
6066 Reworked the shiftlatch code so that shift-down state isn't held
6067 for long periods (it's only synthesized immediately prior to
6068 the keysynth event it's modifying). Note that shiftlatch in this
6069 demo is a convenience, not intended to take the place of AccessX
6070 which is the better choice for getting 'sticky' modifier keys.
6072 * libspi/deviceeventcontroller.c:
6073 * at-bridge/bridge.c:
6074 * cspi/spi_registry.c:
6075 Removed some debug print stuff, and put other verbosity in #ifdef
6080 Implemented some more of the magnifier IDL for the simple
6081 magnifier: namely, getZoomRegionParams.
6082 Added mag_x and mag_y members to MagnifierData struct, aid of this
6084 Added GtkWindow::realize signal handler to magnifier, to keep it
6085 from receiving keyboard focus from the WM.
6087 2001-11-23 Mark McLoughlin <mark@skynet.ie>
6089 * cspi/spi-private.h: my guess at what michael forgot
6090 before he ran off to NZ :-)
6092 2001-11-23 Michael Meeks <michael@ximian.com>
6094 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
6095 comment out non existant method invoke so we link.
6097 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
6098 use bonobo_exception_get_text for more friendly warnings.
6100 * cspi/spi.c (Obj_Add): move into spi_main & rename
6101 spi_object_add; kill spi.c
6103 * cspi/spi_registry.c
6104 (deregisterGlobalEventListener),
6105 (deregisterGlobalEventListenerAll),
6106 (registerGlobalEventListener): fix exception leaks.
6108 * cspi/spi_main.c (spi_exception): impl. helper, so we
6109 don't leak exceptions.
6111 * cspi/spi_selection.c
6112 (AccessibleSelection_deselectSelectedChild): return the
6115 * cspi/spi_main.c (spi_ev): impl; hack - gack.
6116 (spi_registry): ditto.
6117 (SPI_init): guard against double inits.
6119 * cspi/*.c: use spi_ev (), and spi_registry () where
6120 appropriate - a temporary hack until we have something
6121 better. Use spi_object_add
6123 2001-11-22 Michael Meeks <michael@ximian.com>
6125 * cspi/Makefile.am: re organise, install the headers.
6127 * cspi/*.h: add G_BEGIN/END_DECLS
6129 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6132 Added non-preemptive keylistener for key events with no modifiers
6133 and shift-only modifier.
6135 * libspi/keystrokelistener.c:
6136 Removed some verbose diagnostics printout.
6138 * cspi/spi_registry.c:
6139 Fixed a bug that caused all key listeners to be registered as
6142 * libspi/deviceeventcontroller.c:
6143 Fixed bug that caused XGrabKey (preemptive key grab) to be called
6144 for non-preemptive key masks.
6147 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6149 * docs/reference/idl/at-spi-idl-docs.sgml:
6150 * docs/reference/idl/at-spi-idl-sections.txt:
6151 * docs/reference/idl/at-spi-idl-overrides.txt:
6152 Added missing files.
6154 * docs/reference/Makefile.am:
6155 removed idl from SUBDIRS until we can figure a way to get gtk-doc
6156 to scan the IDL files :-(
6161 Added .cvsignore files.
6163 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6165 * libspi/deviceeventcontroller.c:
6166 * libspi/keystrokelistener.c:
6168 * cspi/spi_registry.c:
6169 Added filters for KeySets, KeyEventSeq, and event types to key
6170 event dispatching, so listeners should only receive those events
6171 that they requested :-)
6173 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6178 * docs/reference:Makefile.am:
6179 * docs/reference/cspi:
6180 * docs/reference/cspi:Makefile.am:
6181 * docs/reference/cspi:tmpl:
6182 * docs/reference/cspi:tmpl:*.sgml:
6183 * docs/reference/idl:
6184 * docs/reference/idl:Makefile.am:
6185 * docs/reference/idl:at-spi-idl-sections.txt:
6186 * docs/reference/idl:at-spi-idl-docs.sgml:
6187 * docs/reference/idl:tmpl:
6188 * docs/reference/idl:tmpl:*.sgml:
6190 Restructured docs directory to allow separate 'reference' docs
6191 section, and forked idl and cspi docs. Added the sgml template
6192 files to CVS. Added the first sections/structural sgml for the
6195 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
6197 * configure.in, libspi/Makefile.am: find libXtst.
6199 2001-11-21 Michael Meeks <michael@ximian.com>
6201 * test/accessx-gui.c: s/spi_value/value/ - doh.
6203 * libspi/base.[ch]: add.
6205 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6207 * idl/Accessible.idl:
6208 * idl/Application.idl:
6211 Started gtk-doc cleanup on IDL.
6213 * libspi/deviceeventcontroller.c:
6214 Added and connected non-preemptive key notification from the
6215 toolkits (in addition to the pre-emptive support from XServer
6216 which we had before, but which causes 'focus flashing'). Filters
6217 are presently limited to key modifiers and global/non-global,
6218 KeySets are presently ignored, as are KeyEvent masks.
6220 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
6221 structs into the persistant structure rather than just storing
6222 pointers to things that might not persist across servant
6225 The XGrabKey call now does async keygrabs, because synchronous
6226 ones were deadlocking with GDK_event code in a very nasty way.
6228 Added boolean to internal method notify_keylisteners, to indicate
6229 whether the event came from the 'toolkit source' or the 'global
6230 (XServer) source' - this is used in the notification process to
6231 determine which listeners to send the event to.
6233 deviceeventcontroller.c is now warning-free.
6235 * libspi/registry.c:
6236 Fixed regression in application de-registration.
6237 Also fixed some really brain-dead weirdness having to do with
6238 event dispatching - event structs are now duplicated before being
6239 re-marshalled in the dispatch to listeners. This also fixes a
6240 Solaris build problem.
6243 2001-11-20 Michael Meeks <michael@ximian.com>
6246 (impl_accessibility_registry_deregister_global_event_listener):
6249 * libspi/deviceeventcontroller.c
6250 (spi_device_event_controller_check_key_event): return
6251 FALSE on no virtual method.
6253 * libspi/*..h: make includes work on a correctly pathed install.
6255 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
6257 * libspi/application.h: kill unused ( and whacked out )
6258 gboolean *spi_application_set_id (AtkObject *app, long id);
6260 2001-11-20 Michael Meeks <michael@ximian.com>
6262 * libspi/*.[ch]: further convert to bonobo's type func
6263 macros, remove redundnant casts etc.
6265 * libspi/text.c s/accessibility_text/spi_text/g,
6266 re-order to de-cruft.
6268 * libspi/hypertext.c: re-order to kill a huge slew
6269 of redundant forward decls.
6271 * libspi/relation.c: ditto.
6273 * libspi/image.c: ditto.
6275 * */.cvsignore: update
6277 2001-11-20 Michael Meeks <michael@ximian.com>
6279 * libspi/deviceeventcontroller.c
6280 (_controller_register_with_devices): use g_getenv,
6281 kill stdlib.h include.
6283 * libspi/keystrokelistener.c
6284 (spi_keystroke_listener_get_type): kill
6285 (spi_keystroke_listener_class_init),
6286 (spi_keystroke_listener_init): rename to this.
6288 * libspi/text.c (impl_getAttributes): fix warning / bug.
6290 * libspi/*.[ch]: more headers, includes and over commenting.
6292 2001-11-20 Michael Meeks <michael@ximian.com>
6294 * libspi/*.[ch]: fixup headers, includes and over commenting.
6296 * libspi/image.c (impl__get_imageDescription): const
6297 correctness warning fix. remove redundant casting.
6299 * libspi/table.c (impl_getRowDescription): ditto.
6300 (impl_getColumnDescription): ditto.
6302 * libspi/libspi.h: add.
6304 2001-11-19 Michael Meeks <michael@ximian.com>
6306 * libspi/editabletext.c (impl_setAttributes): fix warnings.
6308 * libspi/component.c (accessibility_component_get_type):
6309 rename to (spi_component_get_type): and macroify.
6310 (accessibility_component_init): rename to
6311 (spi_component_init): this
6312 (accessibility_component_class_init): rename to
6313 (spi_component_class_init): this
6315 * libspi/action.c (spi_action_get_type): kill, use the macro.
6317 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
6320 * libspi/application.c (spi_application_object_event_listener),
6321 (impl_accessibility_application_register_object_event_listener):
6322 warning fixes / const understanding updates.
6324 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
6327 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6329 * libspi/spi_accessible.c: Added docs and C bindings for
6330 AccessibleStateSet. (No implementations yet). Documentation
6331 coverage for C bindings now 100%. Made docs for event listeners
6336 boolean notifyListenersSync (in DeviceEventListener listener,
6337 in DeviceEvent event);
6339 oneway void notifyListenersAsync (in DeviceEventListener listener,
6340 in DeviceEvent event);
6342 Added DeviceEventListener and DeviceEvent structs (may deprecate
6343 KeyStroke and KeystrokeListener in favor of this generic
6344 event/listener framework for devices).
6346 * libspi/deviceeventcontroller.c:
6348 Changed some key listener code to take masks, etc., and paved the
6349 way for integration of toolkit/non-preemptive key events. Changed
6350 signatures of some internal methods.
6352 * at-bridge/bridge.c:
6353 Fixed regression connecting to interface signals, apparently
6354 caused by GTK+ changes.
6356 Added an internal bridge_state_listener to deal with
6357 property-change:accessible-state signals.
6359 Changed the key_listeners GList to store structs (including masks,
6360 etc.) instead of just CORBA_Objects (required for full
6361 implementation of key listener API).
6363 Connected the bridge to all currently supported Atk signals.
6364 Events now supported:
6365 object:property-change
6366 object:property-change:accessible-name
6367 object:property-change:accessible-state
6368 object:property-change:accessible-description
6369 object:property-change:accessible-parent
6370 object:property-change:accessible-value
6371 object:property-change:accessible-role
6372 object:property-change:accessible-table-caption
6373 object:property-change:accessible-table-column-description
6374 object:property-change:accessible-table-column-header
6375 object:property-change:accessible-table-row-description
6376 object:property-change:accessible-table-row-header
6377 object:property-change:accessible-table-summary
6378 object:children-changed
6379 object:visible-data-changed
6380 object:selection-changed
6381 object:text-selection-changed
6383 object:text-caret-moved
6385 object:row-reordered
6387 object:column-inserted
6388 object:column-reordered
6389 object:column-deleted
6390 object:model-changed
6392 2001-11-16 Bill Haneman <bill.haneman@sun.com>
6394 * libspi/hyperlink.c,h:
6395 Fixed some broken stuff in hyperlink.
6397 * libspi/relation.h:
6398 * libspi/relation.c:
6399 * cspi/spi_accessible.c:
6400 Initial implementations of AccessibleRelation methods, and docs.
6402 * libspi/accessible.c:
6403 Fixed a bug that caused SEGV if an accessible
6404 object's description is NULL, and a client
6405 requests it. An empty string is now returned.
6407 * cspi/spi_editabletext.c:
6408 * cspi/spi_hypertext.c:
6410 * cspi/spi_hyperlink.c:
6414 Doc coverage now 95%.
6416 2001-11-16 Bill Haneman <bill.haneman@sun.com>
6418 One last namespacing revision:
6419 * libspi/accessibleeventlistener.[ch]:
6420 Renamed SpiAccessibleEventListener to SpiEventListener,
6421 (no need for two namespaces ;-)
6423 And lots of documentation fixes:
6425 * docs/at-spi-docs.sgml:
6426 Fixed 'underscore vs. hyphen' bug that was preventing
6427 the gtk-doc API docs from being automatically generated.
6430 * cspi/spi-listener.h
6432 * cspi/spi_accessible.c
6434 * cspi/spi_application.c
6435 * cspi/spi_component.c
6436 * cspi/spi_editabletext.c
6438 * cspi/spi_hypertext.c
6440 * cspi/spi_registry.c
6441 * cspi/spi_selection.c
6445 * docs/at-spi-docs.sgml
6446 * docs/at-spi-sections.txt
6448 Added and fixed up gtk-doc documentation in cspi.
6450 Interfaces now (fully) documented (subject to revision and enhancement):
6452 Event Listener Support
6454 AccessibleApplication
6458 AccessibleEditableText
6465 AccessibleRelationSet
6470 2001-11-14 Bill Haneman <bill.haneman@sun.com>
6472 * at-bridge/bridge.c:
6473 Initial work for toolkit-level key snooper connection by bridge.
6478 New typedefs and fixes to support new namespacing, and cleaner
6479 separation of cspi bindings from libspi bonobo implementation.
6480 Removed inconsistent and extraneous Spi* namespace prefix that
6481 had crept into cspi headers.
6482 Lots of comment fixes that sed had missed.
6484 * cspi/spi-roletypes.h:
6485 * cspi/spi-statetypes.h:
6486 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
6487 to AccessibleRoleType.
6489 * libspi/accessibleeventlistener.h:
6490 Fixed minor namespacing weirdness.
6492 * libspi/deviceeventcontroller.c:
6493 Reordered some internal API for device listeners.
6494 Changed the key registry final boolean to 'is_system_global'
6495 rather than 'is_synchronous', which is more descriptive of its
6497 Added spi_device_event_controller_new().
6498 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
6500 * libspi/keystrokelistener.[ch]:
6501 Namespaced KeystrokeListener to SpiKeystrokeListener.
6502 Changed uses of keymasks to use SPI_ prefix, and did other
6505 * libspi/keymasks.h:
6506 Namespaced keymask constants with SPI_ prefix.
6508 * libspi/registry.c:
6509 Some warning fixes, and knock-on fixes from namespace changes.
6512 Added rules for accessx-gui test program.
6514 * test/accessx-gui.c:
6515 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
6516 utility. It doesn't actually use at-spi, but it's still cool and
6519 * test/keysynth-demo.c:
6523 Fixes so that these test clients work properly with the namespaced
6524 libraries. (Incompletely tested for technical reasons, fixes may follow)
6527 2001-11-13 Michael Meeks <michael@ximian.com>
6529 * libspi/application.c
6530 (impl_accessibility_application_get_version),
6531 (impl_accessibility_application_get_toolkit_name):
6533 (impl_accessibility_application_set_id),
6534 (impl_accessibility_application_get_id): remove
6535 redundant casting code.
6537 * libspi/action.c (impl_getDescription): fix warnings.
6539 * libspi/accessible.c
6540 (impl_accessibility_accessible_get_parent),
6541 (impl_accessibility_accessible_get_child_at_index),
6542 (impl_accessibility_accessible_get_state),
6543 (impl_accessibility_accessible_get_relation_set):
6544 warning fixes & include action.h
6546 2001-11-13 Michael Meeks <michael@ximian.com>
6548 * *.[ch] fix bits I screwed up:
6550 s/([^ \tb(\*\&\?\",])spi_/\1/g;
6551 s/([^ \tb(\*\&\?\",])Spi/\1/g;
6553 2001-11-13 Michael Meeks <michael@ximian.com>
6555 * *.[ch] Namespace libspi into spi_ and Spi.
6557 2001-13-11 Michael Meeks <michael@ximian.com>
6559 * Makefile.am: dist & install at-spi-1.0.pc
6561 * libspi/Makefile.am: install into at-spi-1.0
6563 * idl/Makefile.am (idldir): install into at-spi-1.0
6565 * at-spi-1.0.pc.in: add.
6567 * configure.in: build it.
6569 2001-11-12 Bill Haneman <bill.haneman@sun.com>
6571 * test/keysynth-demo.c:
6572 Use a 'realize' signal-handler to set the WM properties for
6573 the virtual keyboard, rather than making it a "POPUP" type
6574 override-redirect window (thanks to anders carlsson for that
6577 2001-11-11 Bill Haneman <bill.haneman@sun.com>
6580 * test/keysynth-demo.c:
6581 Added new test of key synthesis, which creates a simple
6582 (mouse-operated) onscreen keyboard. It inserts key events into
6583 the currently-focused window, thus it does not grab keyboard focus
6586 * cspi/spi_registry.c:
6587 Added C binding for AT-SPI generateKeyEvent.
6589 * libspi/deviceeventcontroller.c:
6590 Added call to XFilterEvent so that key listener works with XIM (we
6591 hope). Added event_synth_type to generateKeyEvent, so that we can
6592 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
6593 synthesize a press/release pair for KeySyms.
6595 2001-11-09 Bill Haneman <bill.haneman@sun.com>
6597 * libspi/Makefile.am:
6598 * registryd/Makefile.am:
6599 (temporary) hack to include libXtst in libspi and registryd.
6600 (Needed for keystroke synthesis, see below).
6603 Improved API for registerKeystrokeListener, in accordance with
6604 discussions with Gnopernicus team and X server research.
6606 * libspi/registry.c:
6607 * libspi/deviceeventcontroller.c:
6608 * libspi/accessible.c:
6609 * libspi/keystrokelistener.c:
6610 Changes and fixes to support keylisteners for potentially
6611 consumed key events (that is, 'passive grabs').
6612 Added implementation for generateKeyEvent() [untested].
6615 Changes to registerKeystrokeListener() API, as above.
6616 Added deregisterGlobalEventListenerAll(), and
6617 deregisterKeystrokeListener(), which are needed for clean exit of
6619 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
6620 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
6622 * cspi/spi_registry.c:
6623 Added implementations of function prototypes mentioned above.
6625 * registryd/registryd.c:
6626 Added the key listener event source as a g_timeout(), to allow
6627 receipt of key events that are not caught by GDK (since GDK
6628 doesn't support passive keygrabs, this was necessary).
6631 Changed to attach a keylistener to 'Alt' keys, and
6632 respond to the following keycommands: Alt-M (toggle magnifier);
6633 Alt-F (toggle speech); Alt-Q (quit).
6634 Added an exit routine to deregister the listeners, and a key
6635 listener that prints some key info to the console when a key
6636 matches the listener mask (and is thus received by the listener).
6638 * util/idl/Magnifier.idl:
6639 Changes to magnifier API to support multiple zoom regions,
6640 non-uniform scaling in x and y, markDirty, and a host of other
6641 features that would be useful to magnification.
6644 * util/mag_client.c:
6645 * util/mag_client.h:
6646 * util/mag_control.c:
6648 Source code changes to support the above IDL changes.
6651 As above, and also changes to use a (slower) generic conversion
6652 path for colormap conversions, since the fast RGB conversions have been
6653 reported to fail for 16-bit displays.
6655 2001-10-26 Michael Meeks <michael@ximian.com>
6657 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
6659 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
6661 * at-bridge/Makefile.am: fix LDFLAGS.
6663 2001-10-09 Bill Haneman <bill.haneman@sun.com>
6665 * at-bridge/bridge.c:
6666 Re-worked listeners for toolkit events, now we have signal
6667 and property listeners. Added a private method
6668 register_atk_event_listeners(), which registers with the
6669 various atk and gtk signals we need to monitor in order to emit
6671 Added emission hook for AtkObject:property-change events, to
6672 support the 'property listeners'.
6673 Fixed some alloc()s of Accessibility_Event structs to use CORBA
6676 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
6677 which emit warnings and exit, respectively, if CORBA errors occur
6678 during remote calls, and we now use these methods to check most of
6679 our CORBA calls in the C bindings.
6681 * cspi/spi_accessible.c:
6682 Changed AccessibleSelection_refSelectedChild() to
6683 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
6684 now increment refcounts.
6686 * cspi/spi_component.c:
6687 Fixed some long pointer casts (dangerous!) to pass pointers to
6688 CORBA_longs of the proper type to the CORBA stubs, and copy the
6689 data into the longs that were passed into the C bindings code.
6691 * at-bridge/bridge.c:
6693 * libspi/accessible.c:
6694 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
6695 hyperlinks, AtkHyperlink is an object type.
6697 * libspi/application.c:
6698 Added various conversions to and from "generic" event types and
6699 atk-specific types; this is really part of the 'bridge'
6700 implementation but is valid for all AtkObject-based accessibility
6703 * libspi/editabletext.c:
6704 Fixed nasty bug wherein editable text's finalize method was
6705 unref'ing tha AtkObject reference that the text parent class was
6706 about to unref _again_. There was also a nasty inheritance bug
6707 that meant that the AccessibleEditableText class was corrupt.
6709 * libspi/selection.c:
6710 Provided implementations for some selection API that was broken.
6712 * idl/Application.idl:
6713 Added registerObjectEventListener () method.
6716 Fixed a number of return values that were Bonobo_Unknowns from
6717 bonobo_object_corba_objref(), which I
6718 forgot to dup before returning. Changed instances of
6719 bonobo_object_corba_objref (bonobo_object(o)) to
6720 BONOBO_OBJREF(o), for concision and clarity.
6722 2001-10-13 Louise Miller <louise.miller@sun.com>
6724 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
6725 idl/Event.idl, idl/Registry.idl
6726 Changed these files to include Bonobo_Unknown.idl instead
6729 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
6731 * libspi/component.c libspi/component.h:
6732 Fixed typo. Added assertions for object checks in
6733 AccessibleComponent code.
6735 2001-10-09 Bill Haneman <bill.haneman@sun.com>
6737 * idl/Accessible.idl:
6738 Added 'isEqual (Accessible *object)'
6739 method for Accessible. (Not Yet Implemented).
6742 Changed signature of registerKeystrokeListener() to
6743 take a KeySet and KeyEventSeq so that specific keys and event
6744 types could be requested for monitoring, and added a flag
6745 is_synchronous so that either synchronous or asynchronous
6746 notification could be requested. (However this is not all
6747 implemented yet). This also meant adding two new typedefs,
6748 KeyEventSeq and KeySet.
6751 Added two new relations, RELATION_TOOLTIP_FOR and
6752 RELATION_LEAFNODE_OF.
6755 Added new state, STATE_HAS_TOOLTIP.
6757 * libspi/text.c, editabletext.c:
6758 Added new assertions to all casts of bonobo-objects from
6759 CORBA servants, to prevent Text API calls on non-text objects.
6760 Changed suspect casts of int-pointer types, so that we
6761 always send a valid CORBA_long pointer to the CORBA APIs that use
6762 in/out long parameters. We then have to copy from the CORBA_long
6763 into the regular long or int for return to the C bindings, or
6764 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
6767 * libspi/deviceeventcontroller.c:
6768 Cleaned these sources up.
6770 Changed return type for getCharacterAtOffset to
6771 CORBA_unsigned_long, to allow for 32-bit characters.
6774 2001-10-08 Bill Haneman <bill.haneman@sun.com>
6778 Fixed 'make dist' so that distro compiles...
6779 * libspi/keymasks.h:
6781 * cspi/spi-listener.c:
6782 KeystrokeListenerCB now returns a boolean.
6784 Added KeyEventType struct, and KeyStroke.
6785 Also added createKeystrokeListener(),
6786 KeystrokeListener_addCallback(),
6787 KeystrokeListener_removeCallback(), and added a keymask to
6788 registerKeystrokeListener().
6789 * cspi/spi_accessible.c:
6790 Changed numerous return types for interfaces from
6791 AccessibleComponent to Accessible<InterfaceName>; this was
6792 probably a cut-and-paste error.
6794 Implementations of new KeystrokeListener api (from spi.h,
6797 Changes to key modifier mapping.
6798 Created ControllerEventMask struct.
6799 Made DeviceEventController derive from Bonobo::Unknown.
6801 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
6802 * libspi/deviceeventcontroller.c:
6803 Added a number of new internal (private) methods.
6804 * libspi/editabletext.c:
6805 * libspi/editabletext.h:
6806 Fixed a number of bugs related to the fact that
6807 editabletext inherits from text. Fixed the EditableText struct,
6808 the init() call, and use correct casts when calling Text methods
6809 from an EditableText object. Removed (duplicate) atko from the
6810 EditableText structure, we use the one in the parent Text
6811 structure via the casts mentioned above.
6812 * libspi/keystrokelistener.[ch]:
6813 * libspi/registry.c:
6814 Changes in support of keyboard handling (above).
6816 Keyboard handling, though partly functional, is still not
6817 recommended for at-spi client use as there is considerable
6818 work yet to be done.
6821 Changed some places where pointers to various int types
6822 are cast to be pointers to CORBA_long types and vice-versa:
6823 pointer casting is not safe so we pass pointers of the correct
6824 types and then cast the result before putting it into the target
6827 * libspi/text.h: minor typos corrected.
6829 We now speak not only the name of a Text element, but the
6830 first sentence of its content, when it receives focus.
6831 I also changed the text compression to 75% from 50%.
6832 * util/Accessibility_Util.server.in:
6833 Changed the default magnifier type to be a 3x vertical
6834 splitscreen magnifier (was previously a 2x horizontal one).
6836 2001-10-03 Bill Haneman <bill.haneman@sun.com>
6838 * libspi/keystrokelistener.h:
6839 * libspi/keystrokelistener.c:
6840 Initial functional implementations of KeystrokeListener.
6843 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
6845 Fixed string handling for NULL strings in libspi.
6846 Added spi_freeString to free strings returned by C bindings.
6848 2001-09-30 Bill Haneman <bill.haneman@sun.com>
6850 * libspi/keystrokelistener.h:
6851 * libspi/keystrokelistener.c:
6852 Began (no-op) implementations of KeystrokeListener
6854 * libspi/deviceeventcontroller.c:
6855 * libspi/deviceeventcontroller.h:
6856 Began creating implementations of DeviceEventController,
6857 to handle keystroke and mouse event listening and
6859 * libspi/accessible.c:
6860 Stubbed-in the implementations for
6861 Accessibility_Accessible_getState and
6862 Accessibility_Accessible_getRelationSet.
6863 * libspi/registry.c:
6864 Improved de-registration process and fixed some bugs,
6865 deregistration now works correctly.
6867 Added initialization of applications list (to NULL).
6869 Reduced speech compression from 0.5 to 0.7, for demo.
6870 Changed call to gdk_window_set_decorations()
6871 to gtk_window_set_decorated().
6872 * at-bridge/bridge.c:
6873 Bridge now deregisters when app exits, via
6874 registration of a cleanup function
6875 with the g_atexit() call.
6876 Required making 'app' static, renamed 'this_app'.
6877 Fixed broken use of bonobo_init, passing argv wrongly.
6879 2001-09-27 Bill Haneman <bill.haneman@sun.com>
6883 Created a new directory for
6884 accessibility-related utilities, primarily for
6885 testing and demo purposes, but with possible
6892 Onscreen magnifier utility that
6893 is implemented as a bonobo service.
6895 * util/mag_client.c:
6896 * util/mag_client.h:
6897 Client-side support (simple C bindings)
6898 for Magnification service
6900 * util/mag_control.c:
6901 Client program example for
6902 Magnification service
6904 * util/Accessibility_Magnifier.server.in:
6905 Bonobo-activation file for the
6906 Magnification service.
6909 * util/idl/Magnifier.idl:
6910 IDL defining the bonobo Magnification
6914 Modifications to use the bonobo-activated magnifier
6915 above, in place of trying to connect to an existing
6916 magnifier that uses socket-listening IPC.
6918 If env variable MAGNIFIER is set, a magnifier service
6919 will be started if one does not exist.
6921 2001-09-25 Bill Haneman <bill.haneman@sun.com>
6923 * at-bridge/bridge.c:
6924 applied patch from Marc to build and run
6925 against new glib and gtk+ (seemed like a change
6926 to bonobo_init signature was made ?)
6928 made festival-server support turned off by default.
6929 Added support for a simple magnifier (off by default)
6930 which will be added to a 'util' directory later.
6931 * at-bridge/Makefile.am:
6932 Changed "application.h" header from a 'source'
6933 to a 'dependency' of libat-bridge.
6935 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6944 Added interface implementation c files to list of
6945 includes so they are included in libcspi.
6948 Changed prototype of AccessibleAction_doAction to return a
6950 Changed prototype of AccessibleTable_getCaption to
6951 return an Accessible.
6952 Changed prototype of AccessibleTable_getSelectedRows
6953 and AccessibleTable_getSelectedColumns to
6954 return a long (returns the number of selected rows
6955 or columns respectively).
6956 Changed name of AccessibleText_refRunAttributes to
6957 AccessibleText_getAttributes.
6958 Changed prototype of AccessibleText_getCharacterExtents to
6959 return a void rather than a boolean.
6960 Added support for a AccessibleCoordType parameter
6961 specifying what type of coordinates are desired.
6962 Added an AccessibleCordType parameter to
6963 AccessibleText_getPointAtOffset.
6965 * cspi/spi_accessible.c:
6966 Added code to return the outstanding interfaces from
6967 Accessible_queryInterface.
6969 * cspi/spi_action.c:
6971 Corrected call to getNActions to call the c binding
6974 * cspi/spi_editabletext.c:
6976 Changed name from setRunAttributes to setAttributes.
6978 * cspi/spi_hyperlink.c:
6980 Changed call to getNAnchors to correctly call the c
6981 binding for an attribute.
6983 * cspi/spi_hypertext.c:
6985 Changed getImageDescription to correctly call the
6986 binding for an attribute.
6988 * cspi/spi_selection.c:
6989 Changed getNSelectedChildren to correctly call the c
6990 binding for the attribute.
6991 Changed refSelectedChild to getSelectedChild.
6995 Changed getCaption to return an Accessible.
6996 Fixed calls which retrieve attributes.
6997 Changed refAt to getAccessibleAt.
6998 Changed getNSelectedRows and getNSelectedColumns to
7002 Changed getCharacterExtents and getPointAtOffset to accept an
7003 AccessibleCoordType.
7005 Changed calls which retrieve attributes.
7006 Changed refRunAttributes to getAttributes.
7011 * idl/Hyperlink.idl:
7012 Changed n_anchors attribute to nAnchors to keep naming
7013 convention consistent.
7016 Made Table inherit from Bonobo::Unknown.
7017 Added nSelectedColumns and nSelectedRows attributes.
7020 Made Value inherit from Bonobo::Unknown.
7022 * libspi/hyperlink.c:
7023 Change for nAnchors attributte name change.
7025 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7033 Added interface implementation c files to list of
7034 includes so they are included in libcspi.
7037 Changed prototype of AccessibleAction_doAction to return a
7039 Changed prototype of AccessibleTable_getCaption to
7040 return an Accessible.
7041 Changed prototype of AccessibleTable_getSelectedRows
7042 and AccessibleTable_getSelectedColumns to
7043 return a long (returns the number of selected rows
7044 or columns respectively).
7045 Changed name of AccessibleText_refRunAttributes to
7046 AccessibleText_getAttributes.
7047 Changed prototype of AccessibleText_getCharacterExtents to
7048 return a void rather than a boolean.
7049 Added support for a AccessibleCoordType parameter
7050 specifying what type of coordinates are desired.
7051 Added an AccessibleCordType parameter to
7052 AccessibleText_getPointAtOffset.
7054 * cspi/spi_accessible.c:
7055 Added code to return the outstanding interfaces from
7056 Accessible_queryInterface.
7058 * cspi/spi_action.c:
7060 Corrected call to getNActions to call the c binding
7063 * cspi/spi_editabletext.c:
7065 Changed name from setRunAttributes to setAttributes.
7067 * cspi/spi_hyperlink.c:
7069 Changed call to getNAnchors to correctly call the c
7070 binding for an attribute.
7072 * cspi/spi_hypertext.c:
7074 Changed getImageDescription to correctly call the
7075 binding for an attribute.
7077 * cspi/spi_selection.c:
7078 Changed getNSelectedChildren to correctly call the c
7079 binding for the attribute.
7080 Changed refSelectedChild to getSelectedChild.
7084 Changed getCaption to return an Accessible.
7085 Fixed calls which retrieve attributes.
7086 Changed refAt to getAccessibleAt.
7087 Changed getNSelectedRows and getNSelectedColumns to
7091 Changed getCharacterExtents and getPointAtOffset to accept an
7092 AccessibleCoordType.
7094 Changed calls which retrieve attributes.
7095 Changed refRunAttributes to getAttributes.
7100 * idl/Hyperlink.idl:
7101 Changed n_anchors attribute to nAnchors to keep naming
7102 convention consistent.
7105 Made Table inherit from Bonobo::Unknown.
7106 Added nSelectedColumns and nSelectedRows attributes.
7109 Made Value inherit from Bonobo::Unknown.
7111 * libspi/hyperlink.c:
7112 Change for nAnchors attributte name change.
7115 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
7117 implementations-- made server implementations own AtkObject pointers
7118 rather than their respective AtkInterrface pointers to fix
7119 refcounting. AtkHyperlink is still broken.
7121 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7122 * cspi/spi_accessible.c:
7123 Added method Accessible_Role_getName(),
7124 and requisite string array (role_names).
7125 Added conversion string_from_corba_strin() call
7126 to Accessible_getName and _getDescription.
7127 * libspi/accessible.c:
7128 Added implementation for Accessible_getRole()
7130 Added festival support, used if environment variable
7133 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7135 * at-bridge/bridge.c:
7136 Now allocate Accessibility_Event using
7137 Accessibility_Event__alloc() instead of g_new0().
7138 * libspi/accessibleeventlistener.c:
7139 Initialize AccessibleEventListener->callbacks to NULL.
7140 Fixed accessible__event_listener_init() param, changed to
7141 "AccessibleEventListener *" type.
7142 Changed a bonobo_object_release_unref() call to
7143 Accessibility_Accessible_unref().
7144 * libspi/listener.c:
7145 Changed Bonobo_Unknown_unref to (equivalent)
7146 Accessibility_Accessible_unref.
7147 * libspi/registry.c:
7148 Changed bonobo_object_release_unref to
7149 Accessibility_Accessible_unref.
7151 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7154 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
7155 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
7156 spi-util.c spi-util.h
7157 Implementations for C bindings to remaining accessibility
7160 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7163 changed return value of Action from void to boolean to
7164 bring in line with ATK.
7167 Changed getText funcions to return "out" start and end offsets.
7168 Changed getAttributes to take and offset and return the start
7169 and end offset of the attribute run.
7170 Changed getOffsetAtPoint and getCharacterExtents to take an
7171 enum describing whether coordinates are window or screen.
7174 libspi/action.c libspi/action.h libspi/editabletext.c
7175 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
7176 libspi/hypertext.c libspi/hypertext.h libspi/image.c
7177 libspi/image.h libspi/selection.c libspi/selection.h
7178 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
7179 libspi/value.c libspi/value.h
7180 Added server implementations for outstanding ATK interfaces
7181 not yet implemented.
7183 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7186 Added (missing) getName() method.
7187 Made nActions an attribute.
7188 * idl/EditableText.idl:
7189 Changed order of params in setAttributes.
7190 * idl/Hyperlink.idl:
7191 Removed getAnchor, added getURI.
7193 Changed attributes to methods, for efficiency
7194 (so that getting extents can be done in one call)
7195 * idl/Selection.idl:
7196 Changed nSelectedChildren to attribute, and re-indented.
7197 * idl/Table.idl: changed nrows, ncolumns, caption, summary
7199 * idl/Text.idl: reformatted to match our coding style.
7200 (temporarily?) removed getRowColumnAtOffset().
7201 Changed text selection API to support multi-select and
7202 non-contiguous selections, as in ATK.
7203 * idl/Value.idl: changed some methods to attributes.
7205 2001-08-24 Mark McLoughlin <mark@skynet.ie>
7207 * libspi/listener.c(impl_notify_event):
7208 BonoboUnkown_unref the source instead
7209 of bonobo_object_release_unref - the ORB
7210 handles the releasing.
7212 * configure.in: require ORBit-2.3.94 for
7215 2001-08-21 Bill Haneman <bill.haneman@sun.com>
7217 Tagged CVS repository 'EA_1_0'.
7218 * README.EARLY_ACCESS:
7219 Alphabetized acknowledgements list, and
7221 Listed some known dependencies of at-spi.
7223 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7225 * docs/at-spi-docs.sgml:
7226 * docs/at-spi-sections.txt:
7227 * docs/at-spi-overrides.txt: (Added zero-length file)
7228 Documentation improvements - gtk-doc should build
7229 docs for all implemented C bindings now.
7232 * cspi/spi.c: (New file)
7233 * cspi/spi_event.c: (New file)
7234 * cspi/spi_registry.c: (New file)
7235 * cspi/spi_accessible.c: (New file)
7236 * cspi/spi_application.c: (New file)
7237 * cspi/spi_component.c: (New file)
7238 Split spi_main.c into six parts, and included them from
7239 "spi.c". This is a bit of a hack, probably temporary,
7240 but required by gtk-doc, apparently.
7242 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7245 * docs/at-spi-docs.sgml:
7246 * docs/at-spi-sections.txt:
7248 Initial checkins/modifications for gtk-doc generation.
7251 Added (missing) interface query methods to Accessible's C binding.
7253 Added GenericInterface type definition.
7255 Added query for AccessibleComponent interface to focus event handler.
7256 Added printout of bounding box for focussed component.
7257 * libspi/component.c:
7258 Added partial implementation for AccessibleComponent to C binding.
7259 * idl/Application.idl:
7260 * libspi/registry.c:
7261 * libspi/listener.c:
7262 * libspi/application.c:
7263 * libspi/application.h:
7264 Changed "ID" attribute type from string to long.
7266 2001-08-19 Bill Haneman <bill.haneman@sun.com>
7270 Made method naming consistent: methods taking object args
7271 start with uppercase, other methods (except those using
7272 acronyms) start with lowercase. Underscores delimit between
7273 object names and method names:
7274 SPI_init() - uppercase since it starts with an acronym.
7275 getDesktopCount () - lowercase start since no object param0.
7276 Accessible_getName() - uppercase object type name, studlyCaps method
7280 Added gtk-doc documentation for all currently implemented
7281 methods in the C bindings API.
7283 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7285 * Makefile.am : changed build order to build test last.
7288 Changed "createEventListener" to "CreateEventListener".
7289 * libspi/accessibleeventlistener.c :
7290 Bugfix for addition of callbacks.
7291 * test/Makefile.am :
7292 * test/simple-at.c :
7293 Added new test that uses the C bindings API.
7295 * libspi/listener.c :
7296 * libspi/registry.c :
7297 * libspi/accessibleeventlistener.c :
7298 * at-bridge/bridge.c :
7299 Renamed member "target" of Accessibility_Event to "source",
7300 which is more descriptive.
7303 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7307 * cspi/Makefile.am :
7308 Added makefile support for at-spi/cspi directory.
7311 * cspi/spi-listener.h : (NEW FILE)
7312 Added support for/use of spi-listener.h.
7314 C bindings now build successfully, with no warnings.
7315 * libspi/accessibleeventlistener.h : (NEW FILE)
7316 * libspi/accessibleeventlistener.c : (NEW FILE)
7317 * libspi/Makefile.am :
7318 Added new object type "AccessibleEventListener"
7319 which inherits from Listener, and allows attachment
7320 of in-process callbacks (so that a client with a listening
7321 object instance can add functionality to the local
7322 implementation, dynamically).
7324 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7326 * libspi/accessible.c:
7327 Add implementation for get_index_in_parent().
7329 Added #include of "spi-roletypes.h", and
7330 added enumerated type AccessibleCoordType.
7331 Added definition for KeystrokeListener (function type).
7334 * cspi/spi-statetypes.h :
7335 * cspi/spi-roletypes.h :
7337 Added these headers, used by spi.h.
7339 Added code (NOTE: not yet built by make).
7341 2001-08-18 Mark McLoughlin <mark@skynet.ie>
7343 * libspi/Makefile.am: generate imodule
7344 at the same time as other idl compiler
7347 2001-08-17 Bill Haneman <bill.haneman@sun.com>
7348 * libspi/registry.c :
7349 * libspi/application.c :
7350 * idl/Application.idl :
7351 Made registration with toolkit an application method,
7352 which is required since each app has its own toolkit static
7353 environment. Thus the bridge must register for
7354 notification of toolkit events from each application in turn.
7355 Toolkit notifications are now successfully registered for, and
7356 sent to the listening at client.
7358 Changed toolkit event string to use hyphens rather than underscores.
7359 * libspi/listener.c :
7360 listner now gives more info in debug mode - it reports the
7361 name of the event received, as well as the name of the source.
7364 2001-08-16 Bill Haneman <bill.haneman@sun.com>
7366 * libspi/registry.c :
7367 added more implementation for toolkit events.
7368 Fixed bug such that toolkit event registrations
7369 (via atk) use the whole event name string, not
7371 Removed a useless call to an ORBit_ method.
7372 * at-bridge/bridge.c :
7373 Removed unused local sbuf[] variable.
7375 We now register for Gtk:GtkWidget:button_press_event
7376 events as well as "focus:" events.
7378 Add some more API from Registry.idl that was missing,
7379 for keystroke listening, keystroke and mouse event
7380 synthesis, and enumeration of accessible desktops.
7382 2001-08-16 Michael Meeks <michael@ximian.com>
7384 * configure.in: use AM_GLIB_GNU_GETTEXT.
7386 * Makefile.am (SUBDIRS): kill intl.
7388 2001-08-15 Michael Meeks <michael@ximian.com>
7390 * registryd/Makefile.am: s/oaf/server/ relocate info file.
7392 * configure.in: upd.
7394 * configure.in: depend on a recent bonobo-activation that
7395 will find our server files ...
7397 2001-08-16 Bill Haneman <bill.haneman@sun.com>
7399 * libspi/accessible.c : accessible_new() :
7400 Now we add the Component interface via bonobo_object_add_interface,
7401 if the contained AtkObject implements AtkComponent.
7402 * libspi/accessible.h : now include "component.h"
7403 * libspi/component.h :
7404 * libspi/component.c : added files - implementation of
7405 bonobo wrapper object for Accessibility/Component
7406 * libspi/listener.c :
7407 Added test code to check for Accessibility/Component:1.0
7408 interface and report whether it is implemented by the
7410 * libspi/registry.c :
7411 Now we check for not only the hash of the whole event
7412 string before relaying the event, we also check the
7413 "minor" event string (without the detail string).
7414 This allows event listeners to be registered against
7415 all events of a certain major+minor type, or just
7416 against a specific major+minor+detail type.
7417 * libspi/accessible.c :
7418 Added implementations for Accessible:get_parent(),
7419 Accessible:getChildCount(), and Accessible:getChildAtIndex().
7420 * libspi/registry.c :
7421 * libspi/listener.c :
7422 Replaced calls to Accessibility_Accessible_ref() and
7423 Accessibility_Accessible_unref() with
7424 calls to bonobo_object_dup_ref() and
7425 bonobo_object_release_unref(), so that the CORBA object
7426 is dup-ed and released when relayed, as well as the bonobo object.
7428 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7430 * libspi/Makefile.am,
7431 registryd/Makefile.am,
7432 at-bridge/Makefile.am.
7433 test/Makefile.am, configure.in:
7434 reverse previous changes.
7436 * /idl/Image.idl: fix typo.
7438 * test/Makefile.am: put DEBUG_FLAGS
7441 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7443 * test/app.c: use argv[0] instead of
7446 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7448 * libspi/Makefile.am,
7449 registryd/Makefile.am,
7450 at-bridge/Makefile.am.
7451 test/Makefile.am, configure.in:
7452 cleanup, replace individual LIBS/CFLAGS with
7453 AT_COMMON_{LIBS|CFLAGS}.
7457 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7459 * configure.in, libspi/Makefile.am:
7460 Change IDL path checking for bonobo-activation
7463 2001-08-15 Bill Haneman <bill.haneman@sun.com>
7465 * registryd/registry.c : separated event listeners to use
7466 3 separate lists (focus, window, toolkit). Began testing
7467 event names against hashes before relaying events.
7468 * test/at.c : now register for events of type "focus:"
7469 * test/app.c : now generate events of type "focus:"
7470 * at-bridge/bridge.c : register with ATK for focus events,
7471 and we now relay those focus events to any "focus:" listeners.
7472 This now works with the bridge as a GTK_MODULE when running test/at.
7473 * libspi/registry.c :
7474 * libspi/listener.c :
7475 now we ref event sources before propagating, and unref on receipt.
7476 * libspi/registry.c :
7477 some changes to internal structs, to support event typestring hashes.
7478 * text/app.c : changed the way the appname is generated.
7479 * cspi : added directory that will hold the C bindings library for
7480 non-CORBA/bonobo-savvy clients.
7481 * cspi/spi.h : header file that contains the function prototypes for the C binding.
7482 * idl/Component.idl : added in parameter to indicate coord system for
7483 geometry-related calls.
7484 * idl/Hyperlink.idl : added readonly n_links attribute
7485 * idl/Image.idl : changed methods to attributes.
7487 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7489 * at-bridge/Makefile.am: link against
7490 ../libspi/libspi.la instead of -lspi.
7492 * at-spi/test/app.c: include
7493 bonobo-activation.h. Use a default appname
7494 if one is not provided.
7496 2001-08-14 Bill Haneman <bill.haneman@sun.com>
7498 * idl/Registry.idl : temporarily changed register_Application
7499 to oneway, to work around issue with initial registration
7501 * idl/Application.idl : changed attribute "id" from readonly
7502 to read-write, since it needs to be assigned by Registry.
7503 * registryd/registryd.c : added call to set application id
7505 * registryd/registry.c : changed de-registration procedure to
7506 use CORBA_Object_hash() to find matching object ref in application
7507 lists and listener lists.
7508 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
7509 began distinguishing between event types (work in progress).
7511 2001-08-13 Bill Haneman <bill.haneman@sun.com>
7514 * libspi/application.c:
7515 Added implementations for get/set id, get_toolkitName,
7517 * registryd/registryd.c :
7521 Converted from use of OAF to bonobo-activation.
7522 * libspi/desktop.h :
7523 * libspi/desktop.c :
7525 Removed references to atksimpleobject, since base atkobject
7526 implementation now provides functionality we need.
7527 * libspi/atksimpleobject.c :
7528 * libspi/atksimpleobject.h :
7533 * at-bridge/Makefile.am
7534 * at-bridge/bridge.c
7537 Added directory "bridge" and contents, and added dependencies
7538 in Makefile.am/configure.in.
7539 Initial checkin of "at-bridge".
7540 This code is a GTK_MODULE which automatically registers
7541 GTK+ apps with the accessibility registry, using an object
7542 reference to the root ATK object.
7544 2001-08-10 Mark McLoughlin <mark@skynet.ie>
7546 * po/Makefile.in.in: Remove. Again. If this
7547 doesn't get autogenerated - you need to update
7550 2001-08-07 Mark McLoughlin <mark@skynet.ie>
7552 * po/Makefile.in.in: Add. Again.
7554 2001-07-31 Bill Haneman <bill.haneman@sun.com>
7556 * libspi/accessible.c : added support for 'description' property.
7557 * libspi/accessible.c
7559 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
7560 (since the two are now equivalent in libbonobo)
7568 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
7569 Bonobo::Unknown as does Accessibility::Accessible.
7570 * idl/StreamableContent.idl : as above, and replaced internal InputStream
7571 interface with Bonobo::Stream, since it was redundant with it.
7572 (The Stream returned by a StreamableContext object is expected to
7573 implement only a subset of Bonobo::Stream)
7575 2001-07-28 Anders Carlsson <andersca@gnome.org>
7577 * libspi/accessible.c (accessible_object_finalize): Change
7578 g_free to g_object_unref since the AtkObject is a GObject.
7580 2001-07-30 Bill Haneman <bill.haneman@sun.com>
7582 * idl/Accessibility.idl: add new IDL files
7585 * idl/Action.idl: Definitions of actionable UI object
7586 * idl/Component.idl: Definitions of UI component geometry, etc.
7587 * idl/Hyperlink.idl: Defs of hyperlink behavior
7588 * idl/Image.idl: Def of accessible image
7589 * idl/Selection.idl: Definition of UI object with selectable children
7590 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
7591 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
7592 * idl/Text.idl: Interface defs for UI elements with complex textual content
7593 * idl/Value.idl: Definition of UI element that is a value controller or display
7595 2001-07-27 Michael Meeks <michael@ximian.com>
7597 * po/Makefile.in.in: remove autogenerated file from CVS.
7599 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
7602 * idl/Registry.idl: include guard.
7604 * idl/Accessibility.idl: Add, and include all the other IDL
7607 * idl/*.idl: remove mass of pragmas etc.
7609 2001-07-26 Michael Meeks <michael@ximian.com>
7611 * registryd/Makefile.am (registryd_SOURCES): remove
7614 2001-07-27 Mark McLoughlin <mark@skynet.ie>
7616 * libspi/.cvsignore, registryd/.cvsignore,
7617 test/.cvsignore: updated.
7619 * po/Makefile.in.in: gettext update.
7621 2001-07-25 Bill Haneman <bill.haneman@sun.com>
7623 * initial CVS checkin
7625 2001-06-29 Michael Meeks <michael@ximian.com>
7627 * configure.in: add AM_CONFIG_HEADER to gen config.h