1 2006-06-09 Bill Haneman <bill.haneman@sun.com>
4 (impl_get_nSelectedRows, impl_get_nSelectedColumns):
5 New, missing implementations of attribute reading methods
8 2006-06-09 Bill Haneman <bill.haneman@sun.com>
10 * idl/Accessibility_State.idl:
11 Added STATE_VISITED (bug #338369).
13 * cspi/spi_accessible.c:
14 (spi_state_to_corba) Fixed marshalling of new statetypes.
17 (spi_init_state_tables, impl_getStates):
18 Fixed conversion of new statetypes to/from ATK.
20 * idl/Accessibility_Role.idl: Added ROLE_FORM (bug #344266).
22 * cspi/spi-roletypes.h, spi_accessible.c: Added marshalling
23 definitions/conversions for new roles from ATK.
25 * idl/Accessibility_Relation.idl:
27 * cspi/spi.h, spi_accessible.c: Added SPI_RELATION_DESCRIBED_BY and
28 SPI_RELATION_DESCRIPTION_FOR. (bug #344264) Also
29 SPI_PARENT_WINDOW_OF, which was in ATK but not AT-SPI.
31 * libspi/accessible.c: Fixed marshalling of new role types from
34 2006-04-17 Matthias Clasen <mclasen@redhat.com>
36 * revert my previous change
38 2006-04-17 Kjartan Maraas <kmaraas@gnome.org>
40 * configure.in: Remove obssolete no_NO locale
41 * po/no.po: And the translation.
43 2006-04-05 Matthias Clasen <mclasen@redhat.com>
45 * atk-bridge/bridge.c (spi_atk_emit_eventv): Fix a
46 memory-management error that caused crashes on x86_64.
49 2006-03-30 Guntupalli Karunakar <karunakar@indlinux.org>
51 * configure.in: Added 'dz' (Dzongkha) to ALL_LINGUAS.
53 2006-03-27 Bill Haneman <bill.haneman@sun.com>
55 * configure.in: Define $LIBTOOL_EXPORT_OPTIONS
56 to strip "cspi_*" from the symbol table.
58 * cspi/spi_streamablecontent.c:
59 (get_streams): Make this method static.
62 (_cspi_exception_throw): rename to cspi_exception_throw,
63 so we can strip it with the rest...
66 Add LIBTOOL_EXPORT_OPTIONS to libcspi_la_LDFLAGS.
68 2006-03-27 Bill Haneman <bill.haneman@sun.com>
70 Add doxygen-generated IDL docs to tarball, and enable
71 doxygen during build/install when available. Bug #301345.
73 * configure.in: Add docs/reference/idl/Makefile to AC_OUTPUT.
75 * docs/reference/Makefile.am: Add idl to SUBDIRS.
77 * docs/reference/idl/Makefile.am: Optionally use
78 doxygen to create docs.
80 2006-03-20 Vladimer Sichinava <vlsichinava@gmail.com>
82 * configure.in: Added "ka" (Georgian) to ALL_LINGUAS
84 2006-03-20 Bill Haneman <bill.haneman@sun.com>
87 (impl_get_selected_rows): Don't free the selection if it's
88 empty or has not been assigned; init it to NULL so you can tell.
89 Also, allow for zero selected rows.
90 (impl_getSelectedColumns): Ditto. Bug #319088.
92 2006-03-11 Vincent Untz <vuntz@gnome.org>
94 Leak fix for bug #334217.
96 * libspi/application.c: spi_application_toolkit_event_listener():
97 don't duplicate the string we pass as an argument to
98 spi_init_any_nil() since spi_init_any_nil() already does it
99 * registryd/deviceeventcontroller.c:
100 (spi_dec_button_update_and_emit): ditto
101 (spi_dec_mouse_check): ditto
102 (spi_dec_emit_modifier_event): ditto
103 (spi_device_event_controller_forward_mouse): ditto
104 * registryd/registry.c:
105 (desktop_add_application): ditto
106 (desktop_remove_application): ditto
108 2006-02-20 Bill Haneman <billh@gnome.org>
110 * configure.in: Rev to 1.7.6.
112 Leak fixes for bug #331924.
114 * atk-bridge/bridge.c:
115 (spi_atk_bridge_init_base): Don't dup the string, it's already
116 been dup-ed. Fixes a leak.
117 (spi_atk_emit_eventv): Move the CORBA_free call here,
118 instead of spi_atk_state_event_listener; fixes another leak.
119 (spi_atk_bridge_key_listener):Free the dup'ed key strings after
120 notifying the registry; fixes another leak.
122 * registryd/registry.c:
123 (registry_flush_event_queue): Free the CORBA_any when
124 flushing the event, not just the string. Fixes another leak.
125 (registry_queue_event): Free the CORBA_any when dropping
126 events on the floor; fixes another leak.
129 (spi_init_any_object, spi_init_any_nil):
130 Always set _release to TRUE. Fixes another leak.
132 2006-02-20 Bill Haneman <billh@gnome.org>
134 * configure.in: Rev to 1.7.5.
135 Reinstate localization of this module. Thanks for Rodney
136 Dawes for fixing my patch.
138 * registryd/Makefile.am: Remove Accessibility_Registry.server
139 from dist, since it needs to be re-created at configure time.
142 2006-01-31 Bill Haneman <billh@gnome.org>
144 * configure.in: Rev to 1.7.4 (to include build fix below).
146 * idl/Makefile.am: Include Selector.idl in dist.
150 (cspi_internal_event_get_object): Handle case where
151 "object" isn't present, i.e. CORBA_TC_Object doesn't match
152 the EventDetails data.
153 (cspi_internal_event_get_text): Handle NULL string.
154 (cspi_internal_event_get_rect): Handle missing/empty rect
155 data, Accessibility_TC_RectBounds doesn't match any_data.
157 2006-01-30 Bill Haneman <billh@gnome.org>
161 * atk-bridge/bridge.c:
162 (spi_atk_emit_eventv): Check for SPI_REMOTE_OBJECT
163 interface and use that when instantiating a new source
164 accessible. Better fix for bug #321814.
166 2006-01-27 Bill Haneman <billh@gnome.org>
168 * idl/Accessibility_Selector.idl: Added to the cvs repository.
170 * configure.in: Revved to 1.7.3.
172 2006-01-17 Bill Haneman <billh@gnome.org>
174 * configure.in: Revved to 1.7.2, re-dist to include docs.
176 2006-01-09 Bill Haneman <billh@gnome.org>
178 * configure.in: Removed po/Makefile.in inclusion, we do not need
181 * idl/Accessibility.idl: Improved documentation here, and for all
182 IDL in the 'GNOME::Accessibility' namespace.
184 * idl/Accessibility_Accessible.idl:
185 (LOCALE_TYPE): Added enum.
186 (AttributeSet): New, for returning multiple name/value attribute pairs.
187 (RoleSet): New, sequence of Roles, to be used in upcoming
189 (getAttributes): New API, allows retrieval of name/value pair
190 annotations for all kinds of Accessible objects. C.f.
191 Text:getAttributes, which is only for typographic/textual/semantic tags in
193 (getApplication): New, retrieves the host/containing Application
194 instance for an object (without having to walk up the whole tree).
196 * idl/Accessibility_Component.idl:
197 (getAlpha): New method, returns the alpha blending (aka 'opacity')
198 value for an object. An alpha of 1.0 is fully opaque, 0.0 is
201 * idl/Accessibility_Event.idl:
202 (EventDetails): New struct definition, for encapsulating
203 commonly-queried information about emitted events. The use of
204 this structure in emitted events (in the 'any' member of
205 Accessibility_Event) should greatly reduce the number of
206 client-server roundtrips necessary.
208 * idl/Accessibility_Image.idl:
209 (imageLocale): New, a readonly attribute indicating the POSIX
210 LC_MESSAGES locale of the image and associated Alt/descriptive
213 * idl/Accessibility_Relation.idl:
214 (RELATION_PARENT_WINDOW_OF): Include, as complement to
217 * idl/Accessibility_Role.idl:
218 (ROLE_ENTRY, ROLE_CHART, ROLE_CAPTION, ROLE_DOCUMENT_FRAME)
219 (ROLE_HEADING, ROLE_PAGE, ROLE_SECTION): New roles for
220 complex document and form support.
222 * idl/Accessibility_State.idl:
223 (STATE_REQUIRED, STATE_TRUNCATED, STATE_ANIMATED)
224 (STATE_INVALID_ENTRY, STATE_SUPPORTS_AUTOCOMPLETION)
225 (STATE_SELECTABLE_TEXT, STATE_IS_DEFAULT): New states,
226 for support of complex documents and forms.
228 * idl/Accessibility_StreamableContent.idl:
229 (SeekType, IOError, NotSupported, NoPermission): New enum and exceptions, to
230 allow old bonobo-stream interfaces to be deprecated in the next
233 * idl/Accessibility_Text.idl:
234 (getAttributeValue): New method, allows query-by-name of single
237 * libspi/accessible.c:
238 Added support for new roles. Implemented new methods
239 (impl_accessibility_accessible_get_application): New
240 (impl_accessibility_accessible_get_attributes): New
242 * libspi/component.c:
243 (impl_accessibility_component_get_alpha): New.
246 (impl_accessibility_image_get_locale): New.
248 * libspi/relation.c: Added support for new relation type.
250 * libspi/stateset.c: Added support for new state types.
253 (impl_getAttributeValue): New.
256 New prototypes for private methods
258 spi_init_any_object, spi_init_any_string,
261 * libspi/spi_event.c:
262 Use EventDetails in the event emission methods.
264 * cspi/spi-private.h:
265 (cspi_role_from_spi_role): Expose this adapter method, since
266 we need it in the bridge (see below).
269 (AccessibleEvent_getSourceName):
270 (AccessibleEvent_getSourceRole):
271 (AccessibleEvent_getSourceApplication):
272 (AccessibleEvent_getSourceDetails):
273 New methods for interrogating/demarshalling
274 event details (i.e. source's accessible name, role,
277 * cspi/spi_accessible.c: Use cspi_role_from_spi_role.
278 Make use of the new EventDetails struct in events, if present.
279 (AccessibleEvent_getSourceName)
280 (AccessibleEvent_getSourceRole)
281 (AccessibleEvent_getSourceApplication)
282 (AccessibleEvent_getSourceDetails): Implement the newly exposed
284 (Accessible_getAttributes): New, wraps
285 Accessibility_Accessible_getAttributes.
286 (Accessible_getHostApplication): New, wraps
287 Accessibility_Accessible_getApplication.
290 (AccessibleImage_getImageLocale): New wrapper for
291 Accessibility_Image_get_imageLocale.
293 * cspi/spi_component.c:
294 (AccessibleComponent_getAlpha): New wrapper for
295 Accessibility_Component_getAlpha.
297 * atk-bridge/bridge.c:
298 Use new prototyped for init_any methods.
299 (spi_atk_bridge_init_nil, spi_atk_bridge_init_object)
300 (spi_atk_bridge_init_string, spi_atk_bridge_init_rect)
301 (spi_atk_bridge_init_base): Wrappers
302 for spi_init_any_* methods, due to refactor; include extended
303 information in the Accessibility_EventDetails struct, for instance
304 accessible-name, Role, and containing Application.
306 * registryd/registry.c:
307 Use new event emission (with EventDetails).
309 * registryd/deviceeventcontroller.c:
310 Use new event emission (with EventDetails).
312 2006-01-09 Kjartan Maraas <kmaraas@gnome.org>
314 * configure.in: Generate po/Makefile.in
315 * cspi/spi_main.c: Add #ifdef PRINT_LEAKS around a function
316 * cspi/spi_streamablecontent.c:
317 (accessible_bonobo_stream_client_seek),
318 (AccessibleStreamableContent_seek): Remove unused vars.
319 * libspi/application.c: Missing header.
320 * libspi/text.c: (impl_getDefaultAttributes): Unused vars
321 * login-helper/login-helper.c: (login_helper_finalize),
322 (login_helper_init): Remove unused stuff
323 * registryd/deviceeventcontroller.c: (spi_dec_replace_map_keysym),
324 (spi_dec_init_mouse_listener), (is_key_released): Remove unused vars
325 and surround some with #ifdef GRAB_BUTTON.
326 * test/event-listener-test.c: (main), (report_event),
327 (report_caret_event), (report_detail_event),
328 (report_detail1_event), (report_bounds_event), (report_text_event),
329 (report_text_selection_event),
330 (report_active_descendant_changed_event),
331 (report_children_changed_event), (report_name_changed_event),
332 (report_description_changed_event), (report_parent_changed_event),
333 (report_window_event), (report_table_summary_event),
334 (report_table_header_event), (report_table_caption_event),
335 (report_table_row_description_event),
336 (report_table_column_description_event), (timing_test_event):
337 Remove a bunch of unused variables and fix a slew of format specifiers
338 * test/key-listener-test.c: (report_all_key_event): Format specifier
339 * test/keypad-test.c: (print_key_event): Same
340 * test/login-helper-server-test.c: (main): Include gtkmain.h and remove
342 * test/screen-review-test.c: (main), (print_chunk_debug),
343 (review_buffer_get_text_chunk), (debug_chunk_list),
344 (string_guess_clip), (text_chunk_get_clipped_string),
345 (text_chunk_list_to_string), (get_screen_review_line_at):
346 Remove unused variables and fix format specifiers.
347 * test/simple-at.c: (report_text_event): Format specifier fix.
348 * test/stress-test.c: (main): Remove unused var.
350 2005-12-29 Abel Cheung <maddog@linuxhall.org>
352 * configure.in: Add zh_HK, zh_TW to ALL_LINGUAS
353 (yes I know that's useless)
355 2005-11-20 Theppitak Karoonboonyanan <thep@linux.thai.net>
357 * configure.in: Added "th" (Thai) to ALL_LINGUAS.
359 2005-11-17 Michael Meeks <michael.meeks@novell.com>
361 * atk-bridge/bridge.c (spi_atk_emit_eventv):
362 urgh-fix embarassing typo.
364 2005-11-16 Michael Meeks <michael.meeks@novell.com>
366 * atk-bridge/bridge.c (spi_atk_emit_eventv):
367 do a faster, less problematic _unref call on this local
368 object, rather than a slower (potentially cross-thread
369 complicated) CORBA call.
371 2005-11-02 Kjartan Maraas <kmaraas@gnome.org>
373 * atk-bridge/bridge.c: (spi_atk_bridge_signal_listener):
374 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_seek):
375 * registryd/deviceeventcontroller.c:
376 (spi_controller_notify_mouselisteners),
377 (impl_generate_keyboard_event):
378 * test/screen-review-test.c: (chunk_bounds_within):
379 * test/test-simple.c: (test_desktop): Remove some unused code
380 and fix compiler warnings. Closes bug #320049.
382 2005-10-27 Bill Haneman <bill.haneman@sun.com>
384 * registryd/deviceeventcontroller.c:
385 (spi_controller_notify_keylisteners): Check
386 to make sure the event listener has requested 'preemptive'
387 status before pre-empting an event.
389 2005-08-29 Bill Haneman <bill.haneman@sun.com>
391 * configure.in, README, NEWS: Release 1.6.5.
393 2005-07-25 Matthias Clasen <mclasen@redhat.com>
395 * test/window-listener-test.c: Fix a printf
396 format error. (#169453)
398 2005-07-15 Bill Haneman <bill.haneman@sun.com>
400 * tests/test-simple.c:
401 (key_listener_cb): Ensure that the keystring is dup'ed instead of
402 relying on the old string from the key event hanging around after
403 the event handler returns. Fixes broken 'make check'.
405 2005-06-06 Swapnil Hajare <dreamil@gmail.com>
407 * Added Marathi (mr_IN) translations.
409 2005-05-27 Kjartan Maraas <kmaraas@gnome.org>
411 * cspi/bonobo/cspi-bonobo-listener.c:
412 (cspi_event_list_remove_by_cb): Fix the build.
414 2005-05-26 Michael Meeks <michael.meeks@novell.com>
416 * cspi/bonobo/cspi-bonobo-listener.c
417 (cspi_event_list_remove_by_cb): actually filter by callback.
419 2005-05-25 Bill Haneman <bill.haneman@sun.com>
421 * registryd/registry.c (remove_listener_cb):
422 Make deregistration filter rules match the event emission rules.
424 2005-05-25 Michael Meeks <michael.meeks@novell.com>
426 * registryd/registry.c (remove_listener_cb),
427 (impl_accessibility_registry_deregister_global_event_listener),
428 (impl_accessibility_registry_deregister_global_event_listener_all):
429 pass a closure to the remove callback to filter listeners more
430 accurately on remove.
432 2005-04-05 Bill Haneman <bill.haneman@sun.com>
434 * configure.in: Revved to 1.6.4.
435 Remember to put quotes around XEVIE_LIBS assignment.
436 Fixed one of tertiary AC_CHECK_HEADER tests for XEvie.
439 * tests/event-listener-test.c: Tweaked the tests - more detail
440 from caret events, and some interrogation of AccessibleText APIs.
441 Commented-out the bounds-changed events by default, since they can
444 2005-04-14 Kjartan Maraas <kmaraas@gnome.org>
446 * atk-bridge/bridge.c: (spi_atk_emit_eventv): Plug a leak.
447 * cspi/bonobo/cspi-bonobo-listener.c: (cspi_device_event):
448 Same here. Closes bug #167806
450 2005-04-05 Bill Haneman <bill.haneman@sun.com>
452 * atk-bridge/bridge.c:
453 (spi_atk_bridge_signal_listener):
454 Free the any._value if any._release is TRUE,
455 since the ORB won't do it for us in this case
456 [because this method is not a skel].
459 2005-03-30 Steve Murphy <murf@e-tools.com>
461 * configure.in: Added "rw" to ALL_LINGUAS.
463 2005-03-29 Bill Haneman <bill.haneman@sun.com>
465 * configure.in: Improved check for HAVE_XEVIE, to detect
466 presence on XOrg, where -lXevie is a separate library.
468 2005-03-08 Bill Haneman <bill.haneman@sun.com>
470 * configure.in, NEWS, README: Revved to 1.6.3.
472 2005-02-16 Adi Attar <aattar@cvs.gnome.org>
474 * configure.in: Added "xh" to ALL_LINGUAS.
476 2005-02-07 Bill Haneman <bill.haneman@sun.com>
478 * atk-bridge/bridge.c:
479 (atk_bridge_init): Added missing NULL in g_strconcat(),
480 also check for symlink before logging to
481 insecure directory. Thanks to meissner@suse.de.
483 2005-01-25 Padraig O'Briain <padraig.obriain@sun.com>
485 * tests/login-helper-server-test.c: Add return call to main
486 function. Patch from Chris Lahey. Fixes bug #165129.
488 2004-12-20 Padraig O'Briain <padraig.obriain@sun.com>
490 * cspi/spi.h: Add description for SPI_RELATION_SUBWINDOW_OF.
492 2004-12-09 Bill Haneman <billh@gnome.org>
494 * registryd/registry-main.c:
495 Added #define <string.h> for strrchr. (bug 160862).
496 Thanks to Vincent Berger for catching.
498 2004-12-09 Padraig O'Briain <padraig.obriain@sun.com>
500 * atk-bridge/bridge.c (spi_atk_get_registry): Do not attempt to
501 restart registry process if the registry process is found to have died
502 and the current process is exiting.
503 (spi_atk_bridge_exit_func): Do not attempt to deregister the
504 application if the registry process has died.
505 (spi_atk_emit_eventv): Return if call to spi_atk_get_registry
506 does not return a registry object.
507 (spi_atk_tidy_windows): Give up if the registry process has died.
509 This fixes problems with hangs and crashes when logging out.
511 2004-12-03 Padraig O'Briain <padraig.obriain@sun.com>
513 * registryd/desktop.c: Add checking that we are not exiting before
514 calling spi_desktop_remove_application in
515 abnormal_application_termination. Fix for bug #152147.
517 2004-12-02 Bill Haneman <billh@gnome.org>
519 * configure.in, NEWS, README: Revved to 1.6.1.
521 Patch from Padraig O'Briain <padraig.obriain@sun.com>
522 * atk-bridge/bridge.c:
523 (atk_bridge_init): Save the pid when we start, to detect forks.
524 (spi_atk_bridge_exit_func): Don't call the cleanup routines
525 if we're in a forked pid.
527 2004-10-09 Bill Haneman <billh@gnome.org>
529 * idl/Accessibility_LoginHelper.idl:
530 Improved inline documentation.
532 2004-10-02 Jesus Bravo Alvarez <suso@trasno.net>
534 * configure.in: Added gl (Galician) to ALL_LINGUAS
536 2004-09-30 Kjartan Maraas <kmaraas@gnome.org>
538 * libspi/accessible.c:
539 (impl_accessibility_accessible_get_role_name),
540 (impl_accessibility_accessible_get_local_role_name):
542 * libspi/component.c:
543 (impl_accessibility_component_get_accessible_at_point):
545 * libspi/eventlistener.c: (spi_event_listener_new):
547 * libspi/stateset.c: (impl_compare): More of the same
548 * libspi/table.c: (impl_getRowDescription): Again.
549 * registryd/desktop.c: (spi_atk_desktop_get_type): Same
550 * registryd/deviceeventcontroller.c: (spi_clear_error_state),
551 (impl_generate_keyboard_event): Same.
552 * registryd/registry-main.c: (main): Same
553 * test/event-listener-test.c: (test_exit): Same
554 * test/keysynth-demo.c: (scan_state), (create_vkbd): Same
555 * test/keysynth-test.c: (test_key_synthesis): Same
556 * test/login-helper-server-test.c: (main): Fix warning.
557 * test/screen-review-test.c: (test_exit): Fix include.
558 * test/simple-at.c: (simple_at_exit), (_festival_init):
561 2004-09-13 Padraig O'Briain <padraig.vriain@sun.com>
563 * configure.in, NEWS, README: Revved to 1.6.0.
565 2004-09-12 Bill Haneman <bill.haneman@sun.com>
567 * configure.in: Rev and re-dist, since the 1.5.4 tarball
568 was missing the HTML docs.
570 2004-09-12 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
572 * configure.in: only cleanups:
573 - better looking PKG_CHECK_MODULES() output,
575 - declare in one common place required versions of other tools using
578 2004-09-11 J.H.M. Dassen (Ray) <jdassen@debian.org>
580 * configure.in: libspi/accessible.c uses ATK_ROLE_EMBEDDED
581 (unconditionally) which was introduced in ATK 1.7.2. Bumped the
582 required ATK version accordingly.
584 2004-09-03 Bill Haneman <bill.haneman@sun.com>
586 * cspi/bonobo/cspi-bonobo.c:
587 (cspi_display_name): Fix C99ism.
588 * atk-bridge/bridge.c:
589 (spi_display_name): Fix C99ism.
590 Patch from Jens Granseuer, jensgr@gmx.net.
592 2004-09-03 Gora Mohanty <gmohanty@cvs.gnome.org>
594 * configure.in: Added "or" to ALL_LINGUAS.
596 2004-08-20 Bill Haneman <bill.haneman@sun.com>
598 * configure.in, NEWS, README: Revved to 1.5.4.
600 * registryd/registry-main.c:
601 (main): Set the reg_env to use AT_SPI_DISPLAY instead of
604 * cspi/bonobo/cspi-bonobo.c:
605 (cspi_display_name): New convenience method, gets DISPLAY with
606 screen number stripped, if AT_SPI_DISPLAY isn't already set.
607 (cspi_init): Set the activation env value above before getting
610 * atk-bridge/bridge.c:
611 (spi_display_name): Create the AT_SPI_DISPLAY activation
612 environment for an app, based on the DISPLAY environment with the
613 screen number stripped off.
614 (atk_bridge_init): Allow redirection of error messages to a log.
615 (spi_atk_bridge_get_registry): Call
616 bonobo_activation_set_activation_env_value for AT_SPI_DISPLAY.
618 Fixes for bugs #149962, #136986, #144086.
620 2004-08-16 Christian Rose <menthos@menthos.com>
622 * configure.in: Added "bs" to ALL_LINGUAS.
624 2004-08-12 Kjartan Maraas <kmaraas@gnome.org>
626 * configure.in: Added nb to ALL_LINGUAS.
628 2004-09-03 Bill Haneman <bill.haneman@sun.com>
631 (SPI_init): Return error code '2' if the activated
632 registry cannot be pinged. Fixes bug #147648.
634 2004-07-28 Bill Haneman <bill.haneman@sun.com>
636 * registryd/deviceeventcontroller.c:
637 (spi_dec_init_mouse_listener): Don't do XGrabButton,
638 rely on timer-poll instead, to avoid conflict with
641 2004-07-20 Bill Haneman <bill.haneman@sun.com>
643 * configure.in: Revved to 1.5.3.
645 * idl/Accessibility_Role.idl: Added ROLE_EMBEDDED (bug #144415).
647 * libspi/accessible.c: Added support for ROLE_EMBEDDED.
649 * cspi/spi_accessible.c: Support for ROLE_EMBEDDED.
651 * cspi/spi-roletypes.h: Added SPI_ROLE_EMBEDDED.
653 2004-06-11 Bill Haneman <bill.haneman@sun.com>
655 * atk-bridge/bridge.c:
656 (spi_atk_bridge_do_registration):
657 Register with ATK for AtkComponent:bounds-changed events.
658 (api_atk_bridge_signal_listener):
659 Marshal the AtkRectangle info into the event notification
660 for object:bounds-changed events.
663 (spi_init_any_rect): New method, inits a corba struct of
664 type Accessibility_BoundingBox from an AtkRectangle.
666 * libspi/spi-private.h: Declared spi_init_any_rect (above).
669 (SPIRect): New struct definition.
670 (SPI_freeRect): New declaration.
671 (AccessibleBoundsChangedEvent_getNewBounds): New, see below.
674 (AccessibleBoundsChangedEvent_getNewBounds): New method,
675 implemented. Gets the bounding box data from the CORBA_any
676 associated with a bounds-changed event notification.
677 (cspi_internal_event_get_rect): New, used internally by above method.
680 (SPI_freeRect): Implemented this new method, for freeing
683 * test/event-listener-test.c:
684 (main, report_bounds_event):
685 Added a test for object:bounds-changed events.
687 2004-06-01 Bill Haneman <bill.haneman@sun.com>
689 * test/login-helper-server-test.c:
690 (main): Fix C99-ism. Thanks to Jens Granseuer.
692 2004-05-28 Padraig O'Briain <padraig.obriain@sun.com>
694 * libloginhelper-1.0.pc.in:
695 * idl/Accessibility_LoginHelper.idl:
696 * login-helper/Makefile.am:
697 * login-helper/login-helper.[ch]:
698 * test/login-helper-client-test.c:
699 * test/login-helper-server-test.c: Added files missing from CVS.
700 Files obtained from at-spi-1.5.2 tarball.
702 2004-05-27 Bill Haneman <bill.haneman@sun.com>
704 * configure.in: Create login-helper/Makefile.
705 Incremented micro version.
707 * Makefile.am: Add login-helper subdir and pkgconfig data.
709 * login-helper: New subdir.
711 * libloginhelper-1.0.pc.in: New.
713 * idl/Accessibility_LoginHelper.idl: New file, defines
714 interface whereby authentication clients can identify agents which
715 need access to services during the login process, e.g. screen lock
718 * login-helper/Makefile.am : New.
720 * login-helper/login-helper.[ch] : New, implementation of
721 a LoginHelper base class. Services needing LoginHelper can subclass.
723 * test/Makefile.am : Added test for login-helper, client and
726 * test/app.c, at.c, keypad-test.c, keysynth-test.c, stress-test.c:
727 Use proper prefix in #include files.
729 * test/login-helper-client-test.c: New.
731 * test/login-helper-server-test.c: New.
733 2004-05-27 Alexander Shopov <ash@contact.bg>
735 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
737 2004-05-14 Padraig O'Briain <padraig.obriain@sun.com>
739 * cspi/spi_main.c (cspi_object_unref): Add check that reference count
740 is positive. This should make it easier to detect inapprorpiate unref
743 2004-05-11 James Henstridge <james@daa.com.au>
745 * configure.in: remove GNOME_PLATFORM_GNOME_2 macro, which is a
746 no-op and deprecated.
748 2004-05-03 Pablo Saratxaga <pablo@mandrakesoft.com>
750 * configure.in: Added "wa" (Walloon) to ALL_LINGUAS.
752 2004-04-28 Bill Haneman <billh@gnome.org>
754 * Makefile.am: Added --enable-gtk-doc to
755 DISTCHECK_CONFIGURE_FLAGS; fixes make distcheck.
757 2004-04-19 Bill Haneman <billh@gnome.org>
759 * configure.in: Revved to 1.5.1.
761 * registryd/deviceeventcontroller.c:
763 (DEControllerPrivateData): Added fields for
764 reserved_keycode, reserved_keysym, and reserved_reset_timeout.
765 (spi_dec_replace_map_keysym): New internal utility for
766 replacing a keysym in the keymap - used to allow
767 synthesis of individual characters which aren't in the
769 (spi_dec_reset_reserved): New; resets the changed keysym value
771 (keycode_for_keysym): We now try to deal with failed
772 XKeysymToKeycode requests by changing a keymap value
773 and returning a reserved keycode. We now take
774 a DEController pointer as first arg.
775 (spi_controller_register_with_devices): Call XkbGetMap with
776 the XkbKeySymsMask. Find the highest keycode in the current
777 keymap which doesn't have any grabs, and mark that one for
778 temporary re-mapping when out-of-range KeySyms are synthesized.
779 (dec_synth_keycode_press): Call XFlush after synthesizing the key
782 2004-04-08 Guntupalli Karunakar <karunakar@freedomink.org>
784 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
786 2004-03-24 Alexander Winston <alexander.winston@comcast.net>
788 * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
790 2004-03-24 Bill Haneman <billh@gnome.org>
793 (AccessibleTable_addRowSelection),
794 (AccessibleTable_addColumnSelection),
795 (AccessibleTable_removeRowSelection),
796 (AccessibleTable_removeColumnSelection):
797 Add declarations for spi wrappers which were
798 inadvertantly omitted. Fixes bug #133413.
801 Revved to 1.5.0 (unstable series for GNOME 2.7).
803 2004-03-24 Bill Haneman <billh@gnome.org>
805 * atk-bridge/bridge.c:
806 Bracketed some debug output in
807 conditionals, to avoid printing it in normal use.
810 * libspi/hyperlink.c:
811 Don't cast 'object' to ATK_OBJECT when constructing
812 an AtkAction interface for a hyperlink.
813 See discussion in bug #120659.
815 * test/key-listener-test.c:
816 (report_all_key_event): Send output to stderr,
817 not stdout, for consistency with the rest of the test callbacks.
820 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
821 Don't add X_LIBS to CFLAGS (Fix for bug #134332).
822 Incremented to 1.4.1 (but didn't dist yet - I'm going to
823 try incrementing the revision AFTER doing a dist, at least
826 2004-03-22 Bill Haneman <billh@gnome.org>
828 * configure.in: Revved to 1.4.0, libtool 9.14.9
830 2004-03-17 Laszlo Peter <laca@sun.com>
832 * libspi-1.0-uninstalled.pc.in: add idldir
834 * cspi-1.0-uninstalled.pc.in: add idldir
836 2004-03-16 Gareth Owen <gowen72@yahoo.com>
838 * configure.in: Added "en_GB" to ALL_LINGUAS
840 2004-03-15 Bill Haneman <billh@gnome.org>
842 * configure.in: Revved to 1.3.16,
845 2004-03-15 Laszlo Peter <laca@sun.com>
847 * libspi-1.0-uninstalled.pc.in: new file
849 * cspi-1.0-uninstalled.pc.in: new file
851 * configure.in: add the new pc files to AC_OUTPUT
853 * Makefile.am: add the new pc files to EXTRA_DIST
855 2004-03-12 Bill Haneman <billh@gnome.org>
857 * atk-bridge/bridge.c:
858 (spi_atk_bridge_key_listener):
859 Make sure to return consumed=FALSE if snoop
860 event is not dispatched to listener.
863 2004-03-01 Bill Haneman <billh@gnome.org>
865 * configure.in: Revved to 1.3.15,
868 2004-03-07 Danilo Segan <dsegan@gmx.net>
870 * configure.in: Added "sr@ije" to ALL_LINGUAS.
872 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
874 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
876 2004-03-01 Bill Haneman <billh@gnome.org>
878 * configure.in: Revved to 1.3.14.
881 (SPI_exit): Removed "bye-bye" exit message.
882 Moved "leak" report to happen before the
883 iteration over the leaked refs list.
884 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
886 2004-02-24 Bill Haneman <billh@gnome.org>
888 * configure.in: Revved to 1.3.13.
890 * docs/reference/cspi/Makefile.am:
891 Correct typo that was breaking the docs build.
893 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
895 * autogen.sh: Require version 1.7 of automake.
897 * configure.in: call GTK_DOC_CHECK([1.0])
899 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
901 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
903 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
905 * test/Makefile.am: Remove use of CFLAGS.
907 This fixes bug #132987.
909 2004-02-11 Bill Haneman <billh@gnome.org>
911 * reverted most of Tomasz' patch below, since it was breaking
912 builds (see bug #134058).
914 2004-02-10 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
916 * docs/reference/cspi/at-spi-cspi.types: added empty file for
917 correct pass "make dist" (empty .. because seems no sach types in
918 header files with gtk-doc markups).
919 * docs/reference/cspi/Makefile.am, configure.in:
920 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
921 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
922 * Makefile.am: added:
923 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
924 for force correct pass generate documentation on "make distcheck".
925 * libspi/Makefile.am: fixes for automake >= 1.6.
926 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
927 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
930 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
932 * docs/reference/cspi/Makefile.am (install-data-local): Install
933 index.sgml since the doc autobuilder on widget.gnome.org looks for
936 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
938 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
941 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
943 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
945 2004-01-27 Brian Cameron <brian.cameron@sun.com>
947 * test/simple-at.c: Fixed null string problems that cause core
948 dumping problems on Solaris.
950 2004-01-12 Bill Haneman <billh@gnome.org>
952 * configure.in: Incremented version to 1.3.11.
954 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
956 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
957 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
960 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
962 * configure.in: Added "fa" to ALL_LINGUAS.
964 2003-12-20 Arafat Medini <lumina@silverpen.de>
966 * configure.in: Added "ar" to ALL_LINGUAS
968 2003-12-16 Bill Haneman <billh@gnome.org>
970 * registryd/registry-main.c:
972 Set the reg_env DISPLAY variable before registering the
973 activated registry service. Fixes bug #129479.
975 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
977 * configure.in: Added "id" in ALL_LINGUAS
978 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
980 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
982 * registryd/deviceeventcontroller.c (global_filter_fn):
983 When an event is consumed discard any XEvents were added to
984 the queue while dealing with the the event. This can happen if
985 processing of the event takes a long time. Call XUngrabKeyboard
986 if an event was discarded. This fixes bug $124837.
987 Only call wait_for_release_event for a KeyPress.
988 Use local variable display instead of spi_get_display().
989 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
992 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
994 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
995 Allow for mask to contain values other than NumLock mask.
998 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1000 * registryd/devieceventcontroller.c:
1001 (wait_for_release_event): Change first parameter from GdkEvent to
1003 (global_filter_fn); Correct call to wait_for_release_event.
1007 2003-12-08 Bill Haneman <billh@gnome.org>
1011 * registryd/ucs2keysym.c: New file.
1013 * registryd/deviceeventcontroller.c:
1014 (dec_keysym_for_unichar): Remove old partial implementation and
1015 replace with call to ucs2keysym(), which is much more complete.
1016 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
1021 2003-12-05 Bill Haneman <billh@gnome.org>
1023 * configure.in: Version 1.3.9.
1025 * docs/reference/cspi/tmpl/spi_registry.sgml:
1026 Added reference to libspi/keymasks.h to the
1027 description of Registry queries: AccessibleKeyMaskType.
1030 2003-12-04 Bill Haneman <billh@gnome.org>
1032 Fix for bug #121974.
1034 * idl/Accessibility_Application.idl:
1035 (Accessibility::LOCALE_TYPE): New enum, corresponds to
1036 setlocale's LC_TYPEs.
1037 (Accessibility::Application::getLocale): New method.
1038 Allows clients to query the locale, by type, of an app.
1041 * cspi/spi_application.c:
1042 (AccessibleApplication_getLocale): New method, wraps IDL above.
1044 * libspi/application.c:
1045 (spi_application_class_init): Init epv entry for getLocale.
1046 (impl_accessibility_application_get_locale): Impl for above.
1048 * test/test-simple.c:
1049 (test_application): Added assertion for getLocale, i.e.
1050 that the string from AccessibleApplication_getLocale (app, type)
1051 is the same as that from setlocale (type, NULL);
1053 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1055 *registryd/deviceeventcontroller.c: Add an idle handler which polls
1056 the keyboard on a timeout intil the key state goes from pressed to
1057 released. Fixes bug #111429.
1059 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1061 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
1062 root object so that it is present when a context menu in an
1063 out-of-process applet is popped up.
1064 (spi_atk_bridge_do_registration): Create acceessible application root
1065 object only if it does not exist.
1067 This fixes bug #125834.
1069 2003-12-01 Bill Haneman <billh@gnome.org>
1071 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
1074 Added enum for AccessibleStreamableContentSeekType.
1075 (AccessibleStreamableContent_freeContentTypeList): New.
1077 * cspi/spi_streamablecontent.c:
1078 (accessible_bonobo_stream_client_seek): New private method.
1079 (AccessibleStreamableContent_seek): Implemented this method,
1080 using Bonobo_Stream_seek.
1081 (AccessibleStreamableContent_freeContentTypeList): New method
1082 for freeing the return value from
1083 AccessibleStreamableContent_getContentTypes.
1084 (stream_cache_item_free): Replaces stream_release; stop leaks.
1085 (stream_release): removed.
1086 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
1087 free the memory properly.
1089 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
1091 Fix for bug #116009.
1093 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
1095 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
1097 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
1099 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
1101 2003-12-01 Bill Haneman <billh@gnome.org>
1103 Fix for bug/rfe #127463.
1105 * idl/Accessibility_Accessible.idl:
1106 (getLocalizedRoleName): New.
1107 (unimplemented4): Removed (replaced by above).
1109 * libspi/accessible.c:
1110 (impl_accessibility_accessible_get_local_role_name): New.
1111 (spi_accessible_class_init): Add getLocalizedRoleName entry to
1115 (Accessible_getLocalizedRoleName): New.
1117 * cspi/spi_accessible.c:
1118 (Accessible_getLocalizedRoleName): New.
1120 2003-12-01 Bill Haneman <billh@gnome.org>
1122 Fix for bug #118581.
1123 * idl/Accessibility_Text.idl:
1124 (getDefaultAttributes): New.
1125 (unimplemented4): Removed (replaced by above method).
1128 (impl_getDefaultAttributes): New method.
1129 (spi_text_class_init):
1130 initialize the get_default_attributes slot in the epv.
1133 (AccessibleText_getDefaultAttributes): New prototype.
1136 (AccessibleText_getDefaultAttributes): New method.
1138 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
1140 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
1141 write beyond the end of the table. Fixes bug #120473.
1143 2003-09-30 Christian Rose <menthos@menthos.com>
1145 * configure.in: Added "eu" to ALL_LINGUAS.
1147 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
1149 * configure.in: ALL_LINGUAS: Added no.
1151 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
1153 * configure.in: Added lt to ALL_LINGUAS.
1155 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
1157 * atk-bridge/bridge.c:
1158 (atk_bridge_init): Register event listeners always even for
1159 out-of-process applet.
1160 (spi_atk_bridge_toplevel_added): Remove call to
1161 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
1162 (spi_atk_bridge_toplevelk_removed): Remove call to
1163 spi_atk_deregister_event_listenersa as the listeners are now always
1165 (spi_atk_bridge_register_application): Remove call to
1166 spi_atk_register_event_listeners as it is not done in atk_bridge_init
1168 This fixes bug #120991.
1170 * libspi/table.c (impl_getColumnDescription): Correct typo,
1171 pointed out by Bolian.Yin@sun.com.
1173 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
1175 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
1177 2003-09-08 Bill Haneman <billh@gnome.org>
1179 * configure.in: Revved to 1.3.7.
1181 This is the GNOME 2.4.0 release of at-spi.
1183 * docs/reference/cspi/Makefile.am:
1184 Removed spurious inclusion of 'index.sgml' in the
1185 html directory; this was breaking make distcheck and
1186 also some other build environments.
1188 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
1190 * registryd/registry.[ch}:
1191 Add queue_handler_id and focus_object to SpiRegistry data structure.
1192 (registry_flush_event_queue): If event being discarded is
1193 "state-change:focused" store object as focus_object.
1194 (registry_start_queue): Remove queue handler and focus object
1196 (registry_discard_event): New function which discards a focus event
1197 if we had stored focus object in the registry.
1198 (registry_queue_event): Add new check that is_queueing is set as this
1199 function is reentrant.
1200 (registry_filer_event): Add call to registry_discard_event.
1202 This resolves issues raised in bug #108664.
1204 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
1206 * configure.in: Added "bn" to ALL_LINGUAS.
1208 2003-09-04 Bill Haneman <billh@gnome.org>
1210 * cspi/spi_event.c: Documentation improvements for
1211 (SPI_registerAccessibleKeylistener).
1213 * docs/reference/tmpl/spi_registry.sgml:
1214 Documentation improvements for SpiAccessibleKeylistenerCB.
1216 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
1218 * configure.in: Added "ro" to ALL_LINGUAS.
1221 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
1223 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
1224 not decremented to zero. Fixes bug #120725.
1226 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
1228 * configure.in: Added "ja" to ALL_LINGUAS.
1230 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
1232 * configure.in: Added "is" to ALL_LINGUAS.
1234 2003-08-22 Christian Rose <menthos@menthos.com>
1236 * configure.in: Added "nl" to ALL_LINGUAS.
1238 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1240 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
1241 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
1243 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
1245 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
1246 type for unspecified exception.
1247 * cspi_streamablecontect): Add include of string.h for memcpy.
1248 (stream_release): Correct call to bonobo_object_release_unref
1249 (stream_cache_item_free): Correct call to bonobo_object_release_unref
1250 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
1251 argument of _cspi_expection_throw.
1252 * libspi/hyperlink.c: Add include of libspi/action.h:
1253 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
1254 * libspi/streamablecontent.c: add include of libspi/component.h.
1255 * regisrtyd/deviceeventcontroller.c:
1256 (spi_dec_translate_mask): Removed unused variable priv.
1257 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
1258 * registryd/registry.c:
1259 (registry_filter_event): Remove unused variable queue_is-empty.
1260 (impl_registry_notify_event): Use correct modifier in fprintf call.
1262 This fixes compiler warnings reported in bug #120220.
1264 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
1266 * registryd/registryd.c: Remove this file.
1268 2003-08-17 Sanlig Badral <badral@openmn.org>
1270 * configure.in: Added mn to ALL_LINGUAS.
1272 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
1274 * configure.in: Added et to ALL_LINGUAS.
1276 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
1278 * test/event-listener-test.c: Change active-descendant to
1279 active-descendant-changed.
1281 2003-08-10 Sami Pesonen <sampeson@iki.fi>
1283 * configure.in: Added "fi" in ALL_LINGUAS.
1285 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
1287 * configure.in: Added "hi" in ALL_LINGUAS.
1289 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
1291 * configure.in: Revved to 1.3.6.
1295 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
1297 * registryd/deviceeventcontroller.c
1298 (spi_device_event_controller_object_finalize): Fix typo in previous
1301 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
1303 * registryd/deviceeventcontroller.c
1304 (spi_device_event_controller_object_finalize): Fix build on
1305 systems without XEvIE.
1307 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
1309 * acconfig.h, configure.in, registryd/Makefile.am,
1310 registryd/devicecontoller.[ch]: Add XEViE support.
1312 2003-08-06 Wang Jian <lark@linux.net.cn>
1314 * configure.in: Added "zh_CN" to ALL_LINGUAS.
1316 2003-08-06 Metin Amiroff<metin@karegen.com>
1318 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
1320 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
1322 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
1323 MODIFIER_ALT in correct place.
1325 This fixes part of bug #118114.
1327 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
1329 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
1331 2003-07-28 Changwoo Ryu <cwryu@debian.org>
1333 * configure.in: Added "ko" to ALL_LINGUAS.
1335 2003-07-28 Ole Laursen <olau@hardworking.dk>
1337 * configure.in: Added "da" to the commented out ALL_LINGUAS.
1339 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
1341 * configure.in: Added "sq" to ALL_LINGUAS.
1343 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
1345 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
1347 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
1349 * configure.in: updated ALL_LINGUAS list
1351 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1353 * configure.in: Added Belarusian to ALL_LINGUAS.
1355 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
1357 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
1359 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
1360 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
1362 This fixes bug #116949.
1364 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
1366 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
1367 Correct CSPI to SPI in function documentation.
1369 This fixes bug #118054.
1371 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1373 * configure.in: Added Russian to ALL_LINGUAS.
1375 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
1377 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
1379 2003-07-14 Danilo Ã…Â Segan <dsegan@gmx.net>
1381 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
1383 2003-07-10 Joel Brich <joel.brich@laposte.net>
1385 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
1387 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
1389 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
1391 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
1393 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
1394 resources allocated for AccessibleEvent. See cspi_event().
1396 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
1397 static variable streams to NULL.
1399 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
1400 Update so that AcessibleEvent_ref will work.
1402 This fixes bug #116624.
1404 2003-07-06 Jordi Mallach <jordi@sindominio.net>
1406 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
1408 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
1410 * configure.in: Added "fr" (French) to ALL_LINGUAS.
1412 2003-07-02 Christian Neumair <chris@gnome-de.org>
1414 * configure.in: Added "de" (German) to ALL_LINGUAS.
1416 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
1418 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
1420 2003-07-01 Miloslav Trmac <mitr@volny.cz>
1422 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
1424 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
1426 * configure.in: Added "pl" to ALL_LINGUAS.
1428 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
1430 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
1432 2003-06-30 Bill Haneman <bill.haneman@sun.com>
1435 (get_action_from_servant):
1436 Removed assertion that action is implemented on an AtkObject.
1438 * libspi/hyperlink.c:
1439 (spi_hyperlink_new):
1440 Aggregate AccessibleAction interface on the hyperlink object if
1441 the object implements AtkAction. (This convention is used in
1444 2003-06-30 Bill Haneman <bill.haneman@sun.com>
1446 * configure.in: Revved to 1.3.5.
1448 * registryd/Accessibility_Registry.server.in.in:
1449 Marked up appropriate strings for translation.
1451 * atk-bridge/bridge.c: Marked a couple of
1452 user-visible warnings for translation. Questionable
1453 whether they are really useful, but possibly so.
1456 2003-06-28 Christian Rose <menthos@menthos.com>
1458 * configure.in: Added "sv" to ALL_LINGUAS.
1460 2003-06-26 Bill Haneman <bill.haneman@sun.com>
1462 * registryd/registry.c:
1463 (spi_registry_object_finalize): Unref the deviceeventcontroller.
1464 (registry_defer_on_event): Defer focus: events, this is an
1465 improvement to the patch for bug #108664.
1467 * TODO: Update with 2.4/"Dev Complete" items.
1469 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
1471 * atk-bridge/bridge.c:
1472 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
1473 looks up signals once.
1474 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
1475 if doing registration.
1476 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
1477 when doing registration.
1479 This fixes bug #115014.
1481 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
1483 * atk-bridge/bridge.c:
1484 (atk_bridge_init): Add signal handler for children-changed:remove on
1485 root when in a BonoboComponent.
1486 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
1487 for first toplevel only other incrememt variable toplevels.
1488 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
1489 application and remove listeners.
1490 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
1492 (spi_atk_deregister_event_listeners): New function which removes
1494 (reinit_register_vars): New fuction which reinitializes variables.
1496 This fixes bug #111578.
1498 2003-06-13 Bill Haneman <bill.haneman@sun.com>
1500 * configure.in: version 1.3.4.
1502 * cspi/spi_accessible.c:
1503 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
1506 2003-06-13 Michael Meeks <michael@ximian.com>
1508 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
1510 * cspi/spi_main.c (cspi_peek_ev): impl.
1512 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
1514 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
1516 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
1518 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
1519 SPI_ROLE_AUTOCOMPLETE
1521 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
1523 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
1524 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
1526 2003-06-11 Bill Haneman <bill.haneman@sun.com>
1528 * libspi/streamablecontent.h:
1529 * libspi/streamablecontent.c:
1530 New files, provide implementation/wrappers for
1531 Accessibility_StreamableContent.
1533 * cspi/spi_streamablecontent.c:
1534 Connected the C wrappers to the libspi C bindings.
1535 (AccessibleStreamableContent_close): New method.
1538 (AccessibleStreamableContent_close): New method, needed
1539 since we have an "open, [seek], read, close" model in cspi.
1541 2003-06-11 Bill Haneman <bill.haneman@sun.com>
1543 Fix for #108664; Padraig's revision of my original patch.
1545 * registryd/registry.h:
1546 Added event queue list, is_queuing, and exit_notify_timeout
1547 to the registry struct.
1549 * registryd/registry.c:
1550 (registry_init): Initialize new struct from registry.h.
1551 (impl_registry_notify_event):
1552 Filter events before notifying, in case some need to be
1554 (registry_filter_event): New,
1555 we defer certain incoming events (for instance
1556 window:deactivate) because we may wish to hide
1557 or reject them based on pending events. This is
1558 mostly a workaround for bug #108664.
1559 (registry_queue_event, registry_start_queue): New.
1560 (registry_defer_on_event): Test event to see if it
1562 (registry_reset_on_event): Returns TRUE if the
1563 event should cause a queue reset.
1564 (registry_discard_on_event): Returns TRUE if the event
1565 should cause the previous queue contents to be discarded.
1566 (registry_timeout_flush_queue): Flushes the pending event
1567 queue if no reset/discard-triggering events have come in
1568 within the timeout period.
1569 (registry_emit_event): New.
1570 (registry_clone_notify_context): New, used when queueing the
1571 event notify contexts.
1573 2003-06-10 Bill Haneman <bill.haneman@sun.com>
1575 * configure.in: Version revved to 1.3.2, lt 0.9.2
1576 Incremented ATK required version to 1.3.4.
1578 * cspi/spi_registry.c:
1579 (SPI_generateKeyEvent):
1580 We now pass the keystring along if it's non-null.
1582 * registryd/deviceeventcontroller.c:
1583 (keysym_mod_mask): New method, returns modifier mask
1584 required to generate a keysym from a given keycode.
1585 (dec_synth_keysym): New method.
1586 (dec_synth_keystring): New method.
1587 (dec_get_modifier_state): New method.
1588 (dec_lock_modifiers): New
1589 (dec_unlock_modifiers): New.
1590 (dec_keysym_for_unichar): New, rather brute-force
1591 conversion from UCS-4 to X KeySyms. Only works for
1592 Latin at the moment, with partial implementations for
1593 Greek, Hebrew, and (incomplete) Katakana.
1594 (impl_generate_keyboard_event): Now implement
1595 "KEYSTRING" synthesis and implement "KEYSYM"
1597 (keycode_from_keysym): Improved, passes a returned
1598 modmask value now if the corresponding param is non-NULL.
1600 Fixes bugs #92143 and #109776.
1603 * test/keysynth-test.c:
1604 New test program for key synthesis, to confirm fixes for
1608 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
1610 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
1612 * cspi/spi_accessible.c (cspi_init_relation_type_table):
1613 Add line for RELATION_POPUP_FOR
1615 * docs/reference/cspi/tmpl/spi_relation.sgml:
1616 Add relation SPI_RELATION_POPUP_FOR
1618 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1619 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
1621 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
1623 * libspi/relation.c (spi_init_relation_type_table):
1624 Add line for RELATION_POPUP_FOR
1626 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
1628 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
1629 there are still windows which have not been deleted and emit
1630 window:deactivate, if necessary and window:destroy events.
1631 This fixes bug #114370. The change on June 5th was not correct.
1633 2003-06-09 Bill Haneman <bill.haneman@sun.com>
1635 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
1638 (SPI_dupString): Allow dup-ing of a string such that it's safe to
1640 New methods for client exception handling and interception.
1641 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
1642 (SPI_exceptionHandlerPop): You guessed it...
1643 (SPI_getSourceType): Return the type of object which offended.
1644 (SPI_getExceptionCode): Return an enum code telling, possibly,
1645 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
1646 (SPIAccessibleException_getSource): get the source object for
1647 exceptions that come from Accessibles, if SPIExceptionSourceType is
1648 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
1649 (SPIException_getDescription): New, returns a string description of
1650 the problem. [Not yet a stable ABI, strings are not frozen]
1652 * cspi/spi-private.h:
1653 Added implementation details of opaque SPIException
1657 Implementations of above. Also
1658 (_cspi_exception_throw): new private method that
1659 dispatches exceptions to handlers, called from cspi-bonobo.c
1661 * cspi/bonobo/cspi-bonobo.c:
1662 (cspi_check_ev): call _cspi_exception_throw.
1663 Don't print a warning message if the exception has been
1664 handled by _cspi_exception_throw.
1666 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
1668 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
1669 there are still windows which have not been deleted and emit
1670 window:deactivate, if necessary and window:destroy events.
1671 This fixes bug #114370.
1673 2003-06-03 Bill Haneman <bill.haneman@sun.com>
1676 (cspi_accessible_is_a): Make non-fatal
1677 if the object reference is dead.
1679 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
1681 * cspi/spi_main.c: #include <stdio.h>
1682 * test/simple-at.c: ditto
1683 * test/event-listener-test.c: ditto
1684 * test/screen-review-test.c: ditto
1686 2003-05-30 Michael Meeks <michael@ximian.com>
1688 * test/test-simple.c (main): use CORBA_ORB_perform_work
1689 instead of an unnecessary linc_ call.
1691 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
1693 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
1694 Add SPI_STATE_INDETERMINATE.
1696 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
1699 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
1701 * libspi/stateset.c (init_state_type_tables): Add support for
1704 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
1706 * configure: Update versions of atk and gail required.
1707 This fixes bug #113268.
1709 2003-05-02 Bill Haneman <bill.haneman@sun.com>
1711 * configure.in: Revved micro version to 1.3.1 (because of build fix).
1713 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
1715 * libspi/Makefile.am:
1716 Ensure headers are generated before being used by c sources.
1718 2003-05-01 Bill Haneman <bill.haneman@sun.com>
1721 Simplified lt versioning rules.
1722 Incremented version to 1.3.0, to indicate that we're on the
1723 unstable branch now.
1725 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
1727 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
1728 Add MKDB_OPTIONS=--outtput-format=xml
1730 * docs/reference/cspi/at-spi-cspi-docs.sgml
1731 docs/reference/idl/at-spi-idl-docs.sgml:
1732 Convert to Docbook XML.
1734 This fixes bug #111793.
1736 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
1738 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
1739 AcccessibleKeyEventType, AccessibleKeyMaskType.
1741 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
1743 * cspi/state-types.h: Add documentation for AccessibleState.
1745 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
1746 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
1747 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
1748 AccessibleComponentLayer.
1750 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
1753 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
1755 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
1756 Accessible. Add description of AccessibleEvent,
1757 AccessibleEventListenerCB.
1759 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
1762 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
1763 documentation. Add description of AccessibleKeystrokeListenerCB,
1764 AccessibleKeyEventMask, AccessibleModifierMaskType,
1765 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
1766 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
1768 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
1771 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
1774 This fixes bug #104730.
1776 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
1778 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
1779 Set is_text field of Accessibility_DeviceEvent data structure.
1781 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
1782 is-text field of AccessibleDeviceEvent data structure.
1784 This addresses part of bug #108666.
1786 * registryd/devcieeventcontroller.c: Unset debug option.
1788 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
1790 * cspi/accessible.c:
1791 (cpi_initial_relation_type_table): New function which initializes
1792 mapping between Accessibility_RelationType and AccessibleRelationType.
1793 (cspi_relation_type_from_spi_relation_type): New function which
1794 translates an Accessibility_RelationType into an AccessibleRelationType.
1795 (AccessibleRelation_getRelationType): Use
1796 cpi_relation_type_get_spi_relation_type to return correct value.
1797 (spi_state_to_corba): Return correct type for default case.
1799 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
1800 Use Accessibility_EventType instead of Accessibility_KeyEventType.
1802 * cspi/cspi-bonobo-listener.c:
1803 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
1806 * libspi/accessible.c, libspi/action.c, libspi/application.c,
1807 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
1808 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
1809 libspi/image.c, libspi/listener.c, libspi/selection.c,
1810 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
1811 registryd/desktop.c, registryd/registry.c:
1812 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1814 * libspi/eventlistener.c
1815 Remove semicolon after BONOBO_TYPE_FUNC.
1817 * libspi/relation.c:
1818 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1819 (spi_init_relation_type_table): Initialize using correct type.
1821 * registryd/desktop.c:
1822 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1823 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
1824 of Accessibility_KeyEventType.
1826 * test/key-listener-test.c (report_tab_key_event): Use fprintf
1829 * tests/simple-at.c, tests/screen-review-test.c:
1830 Add include for <strings.h>.
1832 * tests.stress-test.c:
1833 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
1835 These changes fix compiler warnings when using FORTE compiler on
1836 Solaris; fixes bug #107479.
1839 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1842 * configure.in: revved to 1.1.10
1844 * libspi/keymasks.h:
1845 (SPI_KEYMASK_NUMLOCK): Added.
1847 * registryd/deviceeventcontroller.c:
1848 (spi_key_event_matches_listener): AND with a smaller
1849 bitmask (as we should).
1850 (spi_dec_translate_mask):
1851 New method, sets the virtual NumLock modifier bit
1852 if numlock is on. Eventually it can handle other virtual
1853 modifier bits if needed, or other marshalling from
1854 at-spi modifier masks to platform (X) masks.
1855 (spi_dec_key_listener_new):
1856 Call spi_dec_translate_mask to set up virtual mod bits
1857 in the 'mask' field when creating a new listener struct.
1858 (spi_dec_emit_modifier_event):
1859 Set the virtual (i.e. NumLock) bits before emitting event.
1860 (spi_controller_register_with_devices):
1861 Query for the NumLock modifier 'physical' bit if Xkb is
1862 present, for use in above methods.
1866 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1868 * registryd/deviceeventcontroller.c:
1869 (spi_keystroke_from_x_key_event):
1870 Instead of checking to see if the keysym is
1871 printable, check the string from XLookupString
1872 if available, get the first unicode character from it,
1873 and call g_unichar_isprint to determine whether the
1874 is_text flag should be TRUE or FALSE.
1878 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1880 * atk-bridge/bridge.c: Add support for extended events
1881 * cspi/spi_event.c: Add documentation and implementation for
1883 * tests/event-listener-test.c: Add tests for extended events.
1885 This fixes bugs #100424 and #100426.
1887 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1889 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
1890 of LT_CURRENT. This fixes bug #89350.
1892 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
1894 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
1895 number of signal parameter values before accessing them. This fixes
1898 2003-04-01 Bill Haneman <bill.haneman@sun.com>
1900 * configure.in: Fixed duplicate inclusion of -lspi.
1901 * branched for gnome-2-2/HEAD.
1902 [created tag "gnome-2-2"]
1904 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1906 * configure.in: 1.1.9 release.
1909 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1911 [needed by GOK, to fix bugs 107985 and 107988]
1912 * registryd/deviceeventcontroller.c:
1913 (spi_dec_clear_unlatch_pending):
1914 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
1915 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
1916 (spi_dec_init_mouse_listener):Emit warning if mouse button
1918 (spi_device_event_controller_forward_mouse_event):
1919 Removed unnecessary parens from a conditional.
1920 (global_filter_fn):Added TODO comment.
1921 (impl_generate_keyboard_event):
1922 Cancel a pending relatch if a 'delatching' key was
1925 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
1927 * atk-bridge/bridge.c:
1928 Change atk_signal_child_changed to atk_signal_children_changed.
1929 Reorganize code in spi_atk_bridge_signal_listener().
1931 * test/event-listener-test.c:
1932 Add children_changed_listener and report_children_changed_event()
1933 to test AccessibleChildEvent_getChildAccessible.
1935 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
1937 * cspi/spi_event.c (cspi_internal_event_get_text): Change
1938 g_strdup to CORBA_String_dup (bug #105291)
1940 * test/event-listener-test.c (report_text_event): Add call to
1943 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1945 * registryd/deviceeventcontroller.c:
1946 (spi_keystroke_from_x_key_event):
1947 Fix string and keysym return codes to match modifier state.
1950 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1952 * registryd/deviceeventcontroller.c:
1953 (spi_keystroke_from_x_key_event):
1954 Fix segv due to improper use of isprint(c). [bug #107254]
1956 2003-02-24 Bill Haneman <bill.haneman@sun.com>
1959 (get_accessible_text_boundary_type):
1960 Move default return value to (new) default case in switch.
1961 (get_accessible_text_clip_type):
1962 Move default return value to (new) default case in switch.
1964 * libspi/application.c:
1965 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
1966 Remove unused methods.
1967 (impl_accessibility_application_register_object_event_listener):
1968 Remove unused methods.
1971 Added #include of <math.h>.
1973 * registryd/deviceeventcontroller.c:
1974 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
1975 we don't currently use this method.
1976 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
1978 (impl_generate_key_event):
1979 Remove unused variables.
1980 (impl_generate_mouse_event):
1981 Initialize button to zero, just in case we get an invalid
1982 input. Added support for mouse buttons 4 and 5.
1983 (spi_device_event_controller_new):
1984 Removed unused variable declaration for 'private'.
1986 Added #include of <gdk/gdk.h>
1988 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1990 * configure.in: Update to work when X is not installed in expected
1991 location. Fixes bug #105836.
1993 * atk-bridge/bridge.c
1994 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
1996 (spi_atk_register_event_listener): Add signal listener for
1998 (spi_atk_bridge_signal_listener): Event event when link-selected
1999 signal is emitted. (bug #104622)
2001 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
2002 on returned string. (bug #105291)
2004 * test/event-listener-test.c: Add test for link-selected.
2006 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2008 * atk-bridge/Makefile.am: Correct typo in previous commit.
2010 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
2012 * atk-bridge/Makefile.am: Allow for build directory to be different
2013 from source directory
2015 * registryd/Makefile.am: Allow for build directory to be different
2016 from source directory
2020 2003-01-29 Bill Haneman <bill.haneman@sun.com>
2023 Fixed dependencies for libcspi so that libspi gets pulled in
2024 properly. Fixes 104741.
2028 Clean up inline docs a little.
2030 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
2032 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
2033 This is done by implementing AtkComponent for SpiAtkDesktop, which is
2034 the AtkObject within an SpiDesktop.
2035 This addresses bug #101524.
2037 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
2038 Remove call to gdk_init().
2040 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
2041 so that Display is set when SpiDesktop is created.
2043 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
2045 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
2046 This fixes bug #102830.
2048 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2050 * test/test-simple.c: Update to take account of fact that GailButton
2051 now implements AtkText.
2052 (create_text_window): Set name on AtkObject for GtkEntry.
2053 (validate_accessible): Check accessible name before calling test_text().
2055 * libspi/Makefile.am: Fix problem with building outside of source
2056 directory. Bug #98120.
2058 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
2059 typo in documentation comments. Bug #94275.
2061 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2063 * libspi/text.c (impl_getBoundedRanges): Bug fix.
2065 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
2068 Add includes to avoid compiler warnings on Solaris.
2069 (impl_getRangeExtents): Bug fix.
2071 2002-12-17 Bill Haneman <bill.haneman@sun.com>
2073 Fix for 100944, [API addition approved by Gman and murrayc].
2080 * idl/Accessibility_Text.idl:
2081 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
2082 (Text::getRangeExtents): New method for efficient
2083 bounds query of a text range.
2084 (Text::getBoundedRanges): New method for efficient
2085 clipping of text to bounding boxes.
2086 (unImplemented7, unImplemented8):
2087 Removed these padding methods to preserve bincompat.
2090 (impl_getRangeExtents): implementation of new IDL.
2091 (impl_getBoundedRanges): implementation of new IDL.
2092 (SpiTextRect): Internal use struct.
2093 (_spi_text_rect_union): internal method, calculates union of two
2094 SpiTextRect bounding rects.
2095 (_spi_text_range_seq_from_gslist): internal method, allows us
2096 to build our sequence efficiently as a gslist then convert it
2098 (_spi_bounds_contain): internal method, determines whether
2099 a text character is "in" or "out" of a clip rect according to
2100 values of TEXT_CLIP_TYPE.
2101 (spi_text_class_init): Initialize the new methods in the epv.
2104 (AccessibleTextClipType): New enum used by screen review api.
2105 (AccessibleTextRange): New struct used by screen review api.
2106 (AccessibleText_getRangeExtents):
2107 cspi binding for Accessibility_Text_getRangeExtents.
2108 (AccessibleText_getBoundedRanges):
2109 cspi binding for Accessibility_Text_getBoundedRanges.
2110 (AccessibleTextRange_freeRanges): convenience method.
2113 (AccessibleText_getRangeExtents):
2114 cspi binding for Accessibility_Text_getRangeExtents.
2115 (AccessibleText_getBoundedRanges):
2116 cspi binding for Accessibility_Text_getBoundedRanges.
2117 (AccessibleTextRange_freeRanges): convenience method.
2118 (get_accessible_text_clip_type): internal conversion method.
2119 (get_accessible_text_ranges_from_range_seq): internal conversion method.
2121 * registryd/deviceeventcontroller.c:
2122 (spi_dec_mouse_check):
2123 Improved behavior for mouse:abs events
2124 [same granularity as mouse:rel events, and no
2125 events when mouse is idle].
2127 2002-12-16 Michael Meeks <michael@ximian.com>
2129 * cspi/spi_accessible.c (spi_state_to_corba): rename.
2131 * libspi/stateset.c (state_spi_to_atk): split out
2132 ( fix several remote array bounds nasties )
2133 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
2134 (impl_remove): make safe from array bounds issues.
2135 (spi_atk_state_from_spi_state): impl.
2137 * libspi/stateset.h (spi_state_set_cache_is_empty):
2138 add a set of wrapper defines to get layering right.
2140 * cspi/spi_accessible.c: update state set stuff to
2143 2002-12-14 Michael Meeks <michael@ximian.com>
2145 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
2146 to avoid 2 roundtrips to the registry per key event
2147 (spi_atk_bridge_key_listener): upd.
2148 (deregister_application): release the dec.
2150 * registryd/registry.c (notify_listeners_cb):
2151 bin lots of re-enterant complexity - we no longer
2152 do a round-trip bonobo ref here, ensure that a single
2153 listener's exception failure won't poison all other
2155 (impl_registry_notify_event): bin obvious memory leak.
2157 2002-12-13 Michael Meeks <michael@ximian.com>
2159 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
2160 init the ev so the error is meaningful.
2161 (spi_atk_bridge_key_listener): ditto.
2163 * cspi/spi_main.c (cspi_ev): init the ev so we start
2164 with a clean slate, otherwise the first exception
2165 kills us completely.
2167 * cspi/spi_text.c (get_accessible_text_boundary_type):
2168 add a fallthrough for no warnings.
2170 * cspi/spi_registry.c: prune unused warnings.
2172 * cspi/spi_main.c (cspi_object_take): fix
2173 mind-blowing brokenness ( by watching the compile
2176 * cspi/spi_accessible.c (Accessible_getStateSet):
2177 re-impl. to use an AtkStateSet.
2178 (spi_state_type_from_accessible_state),
2179 (init_state_table): bin these.
2181 * libspi/stateset.c (spi_atk_state_set_from_sequence):
2183 (atk_state_set_from_accessibility_state_set): here.
2185 * cspi/spi_accessible.c (spi_state_to_atk): impl.
2186 (AccessibleStateSet_contains, AccessibleStateSet_ref),
2187 (AccessibleStateSet_unref, AccessibleStateSet_contains),
2188 (AccessibleStateSet_add, AccessibleStateSet_remove),
2189 (AccessibleStateSet_equals, AccessibleStateSet_compare),
2190 (AccessibleStateSet_isEmpty): re-write to use a local
2193 2002-12-13 Bill Haneman <bill.haneman@sun.com>
2195 * configure.in: Revved to 1.1.7 (new keymask vals).
2197 2002-12-10 Bill Haneman <bill.haneman@sun.com>
2199 * libspi/keymasks.h:
2200 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
2202 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
2205 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
2206 to compare two CORBA_TypeCodes.
2207 (cspi_internal_event_add): Silence warning from FORTE compiler.
2209 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
2210 avoid implicit declaration of functions.
2212 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
2214 * atk-bridge/bridge.c:
2215 (spi_atk_bridge_init_event_type_consts): Store signal id for
2216 active-descendant-changed signal.
2217 (spi_atk_register_event_listeners): Add signal listener for
2218 active-descendant-changed signal,
2219 (spi_atk_bridge_signal_listener): Move code in function
2220 spi_atk-signal_emit_event() into this function.
2221 Add support for active-descendant-changed
2222 Update support for child-changed signal.
2223 (spi_bridge_window_event_listener): Silence warning.
2225 * libspi/spi_private.[ch]:
2226 (spi_init_any_object): Change second parameter from CORBA_Object to
2228 Omit call to CORBA_Object_duplicate().
2229 Set CORBA_any's _value to CORBA_Object*.
2231 2002-12-06 Bill Haneman <bill.haneman@sun.com>
2237 (AccessibleEvent_ref, AccessibleEvent_unref):
2238 New methods, for persisting an event outside the emission context.
2239 Must be used if the new accessor methods are to be called
2240 outside of the event listener's callback.
2242 * cspi/bonobo/cspi-bonobo.c:
2243 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
2244 as second parameter instead of NULL, so we can call
2245 cspi_check_ev afterwards.
2248 (cspi_object_take): New internal method,
2249 converts a CORBA_Object reference to a hard ref on
2250 an Accessible if possible, returning NULL if the object
2251 reference is invalid or an Accessible * otherwise.
2254 (AccessibleEvent_ref):
2255 Increment the event's internal private refcount, and
2256 add the event's internal struct to an internal cache
2257 if it's not already there.
2258 (AccessibleEvent_unref):
2259 Decrement the event's refcount and remove it from
2260 the cspi event cache if refcount==0.
2261 (cspi_event_compare): New private method.
2262 Compares two event structs via their ids. Used
2264 (cspi_internal_event_lookup): New private method.
2265 (cspi_internal_event_check): New private method,
2266 a 0-order sanity check for events to make sure their
2267 private data is intact.
2268 (cspi_internal_event_add, cspi_internal_event_remove):
2269 New private methods for managiing the event cache.
2271 * cspi/bonobo/cspi-bonobo-listener.c:
2273 Initialize the new private data elements (id, magic, ref_count).
2275 * atk-bridge/bridge.c:
2276 (spi_atk_bridge_signal_listener):
2277 Fixed bug #100530, passing wrong params to emission func.
2279 * registryd/deviceeventcontroller.c:
2280 (spi_dec_button_update_and_emit):
2281 Fixed type in mask bit operations; fix for #99799.
2283 2002-12-02 Bill Haneman <bill.haneman@sun.com>
2285 Removed some of the more dangerous workarounds from
2286 previous commit; they are only needed by GOK, which
2287 in reality should be using another method to accomplish
2288 the goals. So on reconsideration some of the workarounds
2289 need to be reverted:
2291 * registryd/deviceeventcontroller.c:
2292 (spi_keycodes_contain, spi_dec_init_keycode_list):
2293 Removed these methods, used only by a nasty hack to try
2294 and detect whether a key synthesis should be allowed
2295 to reset the XKB latch state or not. This code was only
2296 required to work around an interaction between GOK,
2297 button events, and XKB.
2298 (impl_generate_key_event):
2299 Removed hack at end of key generation that tried to
2300 "do the right thing" if XKB latch keys were generated
2301 in the midst of button press/release pairs.
2304 Added a check for HAVE_XINPUT. Not normally used yet.
2306 2002-11-25 Bill Haneman <bill.haneman@sun.com>
2308 Workarounds and fixes for mouse event/XKB interaction.
2310 * registryd/deviceeventcontroller.c:
2311 (spi_keycodes_contain, spi_dec_init_keycode_list):
2312 New internal methods.
2313 (spi_dec_set_unlatch_pending):
2314 Split the method that tells XKB to expect an
2315 unlatch (and revert it) out of the rest of the
2316 event handling code. This method is called by the
2317 two mouse event handlers (the poll and the filter).
2318 (spi_dec_update_and_emit, spi_dec_mouse_check):
2319 New methods split from spi_dec_poll_mouse_moved.
2320 The second one is now called from inside the filterFn
2321 when an XKB delatch event is received, to determine
2322 whether to revert the delatch or not.
2323 (spi_poll_mouse_moved): Refactor; also we can now
2324 properly handle the case where multiple button states
2325 have changed between polling cycles and we didn't get
2326 notified due to another client's grab.
2328 Synchronize the server while handling an XKB notification.
2329 Ugly, but apparently necessary to avoid nasty races.
2330 Check the mouse state on receipt of an XKB latch change,
2331 to decide whether to revert the latch or not. (Latches are
2332 reverted if there is an immediately preceding mouse button
2333 event that a client has consumed, in which case we don't want
2334 the user to see the side-effect of the event).
2335 (spi_device_event_controller_forward_mouse_event):
2336 Check for modifier events and fire before resetting mouse_mask_state,
2337 prevents losing modifier events.
2339 (impl_generate_keyboard_event):
2340 If we've just generated a keyboard event for a non-shift key,
2341 we don't want to revert the pending XKB latch.
2342 Otherwise, check the modifier state (via a call to
2343 spi_dev_mouse_check) and set the relatch mask to
2344 that state before returning.
2346 2002-11-24 Bill Haneman <bill.haneman@sun.com>
2349 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
2352 * atk-bridge/bridge.c:
2353 (spi_atk_register_event_listeners):
2354 Don't re-register for ATK events if the registry has died
2355 and the app needs to re-register; the ATK listeners are in
2356 process and doing so will cause duplicate emission.
2358 * registryd/deviceeventcontroller.c:
2359 (spi_poll_mouse_moved):
2360 Reformat the source, detect and emit multiple button-change
2361 events (i.e. if multiple buttons have changed between poll
2363 Add code to detect mouse-down events even when the pointer
2364 is grabbed; workaround for GOK bug 98420.
2365 (spi_controller_register_with_devices):
2366 Call XTestGrabControl with 'impervious' flag set to True,
2367 allows us to synthesize events and query the pointer even during
2368 an active grab by another client.
2369 (spi_device_event_controller_forward_mouse_event):
2370 Set the mouse_mask_state to the mouse_button_state from
2371 the intercepted event, to synchronize the grab listener with
2374 2002-11-20 Bill Haneman <bill.haneman@sun.com>
2376 * cspi/spi_accessible.c:
2377 (AccessibleRole_getName):
2378 Added necessary strings for making this (deprecated)
2379 method work with the new role types.
2380 (init_role_table, role_table):
2381 Added definition of SPI_ROLE_APPLICATION.
2383 * libspi/spi-roletypes.h:
2384 Added SPI_ROLE_APPLICATION.
2386 * idl/Accessibility_Role.idl:
2387 Added ROLE_APPLICATION.
2389 * docs/reference/cspi/at-spi-cspi-decl.txt:
2390 Added SPI_ROLE_APPLICATION to docs.
2392 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
2394 * cspi/spi_accessible.c
2395 (cspi_init_role_table): Do not write beyond end of role_table.
2396 (Accessible_getRole): Use correct type for value returned by
2397 Accessibility_Accessible_getRole().
2399 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
2400 beyond end of role_table. (This fixes bug #98269)
2402 * libspi/application.c: Add include file spi-private.h for
2403 definition of spi_init_any_nil.
2405 2002-11-19 Bill Haneman <bill.haneman@sun.com>
2409 * libspi/spi-private.h:
2410 Added DGB() macro, and extern int _dbg declaration.
2412 * registryd/registry.c:
2413 (definitions) storage for _dbg.
2414 (spi_registry_init):
2415 Get environment variable "AT_SPI_DEBUG".
2416 (spi_registry_set_debug):
2417 New method, to initialize _dbg value.
2418 (spi_listener_struct_new, spi_registry_object_finalize):
2419 (notify_listeners_cb):
2420 Changed fprintfs to use DBG and g_warning().
2422 * registryd/deviceeventcontroller.c:
2423 (_deregister_keygrab, spi_controller_register_device_listener):
2424 Changed debug/warning messages to use DBG macro.
2426 * libspi/listener.c:
2427 (impl_notify_event):
2428 Changed warning messages to use DBG macro and g_warning().
2430 * atk-bridge/bridge.c:
2431 (atk_bridge_init, spi_atk_bridge_get_registry):
2432 (spi_atk_bridge_exit_func):
2433 (spi_atk_bridge_property_event_listener):
2434 Changed status, warning, and error messages to use
2435 g_warning, g_message, and DBG macros.
2438 Read the state of the AT_SPI_DEBUG environment variable
2439 and set a local '_dbg' accordingly.
2441 2002-11-19 Bill Haneman <bill.haneman@sun.com>
2443 FIXES for 98836, 98842, other bugs.
2446 Revved to 1.1.4, interface-age=4, binary-age=4.
2448 * registryd/deviceeventcontroller.c:
2450 Fixed crasher bug in last_mouse_pos initialization.
2452 * registryd/registry.c:
2453 (desktop_add_application, desktop_remove_application):
2454 Added (and then commented out) some support for
2455 object context marshalling. [TODO]
2457 * atk-bridge/bridge.c:
2458 (spi_atk_bridge_event_context_create):
2459 Commented out object context creation until it can
2460 be properly tested and debugged.
2462 * registryd/registry.c:
2463 (impl_registry_notify_event):
2464 Fixed crasher bug, we were calling
2465 spi_re_entrant_list_foreach () with an empty list.
2467 2002-11-18 Bill Haneman <bill.haneman@sun.com>
2469 * idl/Accessibility_Action.idl:
2470 * idl/Accessibility_Component.idl:
2471 * idl/Accessibility_Desktop.idl:
2472 * idl/Accessibility_Event.idl:
2473 * idl/Accessibility_Hyperlink.idl:
2474 * idl/Accessibility_Image.idl:
2475 * idl/Accessibility_Relation.idl:
2476 * idl/Accessibility_Selection.idl:
2477 * idl/Accessibility_State.idl:
2478 * idl/Accessibility_Value.idl:
2479 Updated unimplemented slot count to minimum of
2480 four for all interfaces, for ABI freeze.
2482 * idl/Accessibility_EditableText.idl:
2483 * idl/Accessibility_Text.idl:
2484 Updated unimplemented slot count to six
2487 * idl/Accessibility_Registry.idl:
2488 Updated unimplemented slot count to six
2489 (also for DeviceEventController),
2492 * idl/Accessibility_Table.idl:
2493 Updated unimplemented slot count to eight,
2496 * idl/Accessibility_Event.idl:
2497 Added CORBA_any "any_data" member to Event struct.
2499 * idl/Accessibility_Event.idl:
2500 Added CORBA_any "any_data" member to Event struct.
2502 * atk-bridge/bridge.c:
2504 atk_signal_text_changed, atk_signal_child_changed,
2505 signal ids queried from gtype system.
2506 (AtkBridgeEventContextType): New enum.
2507 (AtkBridgeEventContextData): New struct.
2508 (AtkBridgeEventContext): New struct.
2509 (atk_bridge_init_event_type_consts):
2510 New method, initializes type contants for comparison
2511 prior to emit_eventv.
2512 (atk_bridge_event_context_init): New method,
2513 initializes a CORBA_any from an AtkBridgeEventContext.
2514 (atk_bridge_focus_tracker): Call spi_init_any_nil to
2515 initialize the event.any_data struct.
2516 (spi_atk_bridge_event_context_create): New method,
2517 creates an AtkBridgeEventContext from signal/event info.
2518 (spi_atk_bridge_event_context_free): New method.
2519 (spi_atk_emit_eventv): Changed to take an
2520 AtkBridgeEventContext parameter. We now initialize
2521 the event.any_data member prior to notifying the
2522 Registry, via the AtkBridgeEventContext.
2523 (spi_atk_bridge_property_event_listener):
2524 (spi_atk_bridge_state_event_listener):
2525 Match emit_eventv signature.
2526 (spi_atk_bridge_object_event_listener):
2527 Match emit_eventv signature, and create an
2528 event context from the event details.
2529 Free the event context afterwards.
2530 (spi_atk_bridge_window_event_listener):
2531 Create an event context, pass it to the
2535 (AccessibleEvent_getContextString):
2536 (AccessibleEvent_getContextObject):
2537 New methods, allow query of AccessibleEvent objects
2538 for more context details (via the "any_data" member
2539 of the Event struct, above).
2542 Definitions for AccessibleEvent_getContextString
2543 and AccessibleEvent_getContextObject.
2545 * cspi/spi_listener.h:
2546 (InternalEvent): New struct.
2549 (AccessibleEvent_getContextString):
2550 (AccessibleEvent_getContextObject):
2551 Implementations of new methods, for obtaining
2552 additional context information from some event types.
2554 * cspi/spi_registry.c:
2555 (SPI_registerGlobalEventListener):
2556 Added mention of active-descendant-changed event in docs.
2558 * cspi/cspi-bonobo-listener.c:
2560 Marshal the any into the AccessibleEvent via
2563 * libspi/spi-private.h:
2564 #include <orbit/orbit.h>
2566 (spi_init_any_string):
2567 (spi_init_any_object):
2568 New convenience function declarations.
2572 (spi_init_any_string):
2573 (spi_init_any_object):
2574 New convenience function implementations.
2576 * registryd/deviceeventcontroller.c:
2577 (spi_poll_dec_mouse_moved):
2578 (spi_device_event_controller_forward_mous_event):
2579 Initialize any_data member of event.
2580 (spi_deregister_controller_device_listener):
2581 Fix incorrect param pass which was preventing deregistration.
2583 * registryd/registry.c:
2584 (desktop_add_application):
2585 (desktop_remove_application):
2586 Add object data to event's any_data before dispatch.
2588 Fix for error messages from GAIL.
2590 * test/event-listener-test.c:
2591 Test new ContextString and "any_data" API:
2592 (report_text_event): New method query and output context string.
2593 (main): register a new text listener with report_text_event
2596 2002-11-19 Darren Kenny <darren.kenny@sun.com>
2598 Fixes for bugs 98127 and 97914.
2599 * cspi/spi-roletypes.h:
2600 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
2602 * cspi/spi-statetypes.h:
2603 Added SPI_STATE_MANAGES_DESCENDANTS
2605 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
2606 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
2607 * cspi/spi_accessible.c:
2608 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
2609 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
2610 Accessibility_STATE_MANAGES_DESCENDANTS
2611 * libspi/accessible.c:
2612 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
2613 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
2614 As requested by Bill, I also cleaned up the alignment.
2615 * libspi/relation.c:
2616 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
2617 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
2618 * libspi/stateset.c:
2619 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
2620 Accessibility_STATE_MANAGES_DESCENDANTS
2621 * docs/reference/cspi/tmpl/spi_accessible.sgml:
2622 Document changes reflecting modifications to roles.
2623 * docs/reference/cspi/tmpl/spi_relation.sgml:
2624 Document changes reflecting modifications to relations.
2625 * docs/reference/cspi/tmpl/spi_stateset.sgml:
2626 Document changes reflecting modifications to states.
2628 2002-11-17 Bill Haneman <bill.haneman@sun.com>
2631 Revved to 1.1.3, interface-age=3, binary-age=3.
2632 Added REBUILD macro.
2635 Removed accessx-gui from the tests, since we have a nice
2636 keyboard accessibility capplet now :-)
2638 * test/keysynth-demo.c:
2639 (increment_scan): removed do-nothing default: case,
2642 * test/visual-bell.c:
2643 (main) : removed do-nothing default: case,
2646 * cspi/spi_action.c:
2647 (AccessibleAction_getKeyBinding_):
2648 Documented keybinding string format.
2652 (AccessibleText_getAttributes):
2653 Documented the text attribute string format.
2654 It's changed to use semicolon delimiters also,
2655 to prevent clashes with CSS attributes, but the old
2656 trick of looking for ", " strings will still work
2657 (as unreliably as ever). Fix for bug related to 97916.
2660 Include <cspi/bonobo/cspi-bonobo-listener.h>
2661 Fixes build warning.
2662 (SPI_freeAccessibleKeySet):
2663 (AccessibleKeystrokeListener_addCallback):
2664 (AccessibleKeystrokeListener_removeCallback):
2665 Modify to use AccessibleDeviceListener API internally,
2666 instead of AccessibleKeystrokeListener.
2668 * idl/Accessibility_Event.idl:
2669 Added two more empty slots to EventListener (for a total of four).
2671 * idl/Accessibility_Accessible.idl:
2672 Added four empty slots to Accessible interface.
2674 2002-11-15 Bill Haneman <bill.haneman@sun.com>
2676 * idl/Accessibility_Registry.idl:
2677 (KeyEventType, EventType):
2678 Marked KeyEventType as deprecated; it duplicates
2679 functionality of EventType, which has been extended to
2680 include Mouse-button events.
2681 (KeyEventTypeSeq): defined in terms of EventType.
2682 (registerDeviceEventListener, deregisterDeviceEventListener):
2683 New methods, for managing listeners to device events,
2684 which potentially may consume them.
2687 Added definition for AccessibleDeviceListener.
2689 * cspi/spi-listener.h:
2690 (enum AccessibleDeviceEventType):
2691 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
2692 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
2693 for backwards compat.
2694 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
2695 and typedef'd AccessibleKeystroke to it for back-compat.
2696 (AccessibleDeviceListenerCB):
2697 New function prototype typedef.
2700 (AccessibleDeviceEventMask): New typedef.
2701 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
2702 (AccessibleKeyMaskType):
2703 Set equivalent to AccessibleModifierMaskType for back-compat.
2704 (SPI_createAccessibleKeystrokeListener):
2705 (AccessibleKeystrokeListener_unref):
2706 Deprecated in favor of equivalent (better-named) new API below..
2707 keystroke listeners are like all device listeners.
2708 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
2709 New API names for old features :-).
2710 (AccessibleDeviceListener_addCallback):
2711 (AccessibleDeviceListener_removeCallback):
2712 (SPI_registerDeviceEventListener):
2713 (SPI_deregisterDeviceEventListener):
2717 (SPI_createAccessibleKeystrokeListener):
2718 Use new preferred API, cspi_device_listener_new() and
2719 cspi_device_listener_add_cb().
2720 (AccessibleKeystrokeListener_removeCallback):
2721 Use new preferred API, cspi_device_listener_remove_cb().
2722 (AccessibleKeystrokeListener_unref):
2723 Use new preferred API, cspi_device_listener_unref().
2724 (SPI_createAccessibleDeviceListener):
2725 (AccessibleDeviceListener_addCallback):
2726 (AccessibleDeviceListener_removeCallback):
2727 Implementation of new API.
2729 * cspi/spi_registry.c:
2730 (SPI_registerDeviceEventListener):
2731 (SPI_deregisterDeviceEventListener):
2732 Implementation of new API. Fixed memory leak and removed need to
2733 allocate EventTypeSeq (thanks Michael for catching this).
2734 Squashed a wayward CORBA_exception_free that shouldn't get called.
2736 * cspi/bonobo/cspi-bonobo-listener.c:
2738 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
2739 (cspi_key_event): renamed to cspi_device_event().
2740 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
2741 Extended to handle mouse button events as well as key events.
2742 (CSpiKeystrokeListener):
2743 Class superceded by CSpiDeviceListener.
2744 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
2745 These internal APIs changed to "*device_listener" from "*keystroke_listener".
2747 * cspi/bonobo/cspi-bonobo-listener.h:
2748 (CSpiKeystrokeListener):
2749 Class superceded by CSpiDeviceListener.
2750 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
2751 These internal APIs changed to "*device_listener" from "*keystroke_listener".
2753 * libspi/Makefile.am:
2754 Replaced keystrokelistener.h and keystrokelistener.c
2755 with devicelistener.h and devicelistener.c; keystrokelisener.h
2756 stub retained for back-compat.
2758 * libspi/keystrokelistener.c:
2762 Replaced inclusion of keystrokelistener.h with devicelistener.h.
2764 * registryd/deviceeventcontroller.c:
2765 (DEControllerListener): Added Accessibility_EventTypeSeq member.
2766 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
2767 (DEControllerPrivateData): Added xkb settings data.
2768 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
2769 button release events (which can't be captured via XGrabButton).
2770 Don't dispatch via the 'normal' event mechanism if the device event was
2772 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
2773 Handle the typeseq data in its new location (see above).
2774 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
2775 New methods, for "generic" device listeners.
2776 (spi_controller_register_device_listener):
2777 Now handle mouse event listeners as well as key listeners.
2778 (spi_controller_notify_mouselisteners):
2779 New internal method.
2780 (spi_device_event_controller_forward_mouse_event):
2781 Now we notify mouse device listeners as well as generating the
2782 non-consumable "mouse:" events.
2784 We must check and restore the XKB
2785 modifier map if we consume the event, since the act of triggering
2786 a mouse event will normally reset the XKB latch. This is required for
2788 (spi_controller_register_with_devices):
2789 Load the XKB settings when registering, and register for XKB
2790 state notify events.
2791 (spi_key_eventtype_seq_contains_event):
2792 Renamed spi_eventtype_seq_contains_event, since it's used
2793 internally for all device event types now.
2794 (spi_key_event_matches_listener):
2795 Uses spi_eventtype_seq_contains_event now.
2796 (spi_device_event_controller_object_finalize):
2797 Free the private data and the XkbKeyboard struct.
2798 (impl_register_device_listener, impl_deregister_device_listener):
2799 Implementation of new IDL.
2800 (spi_deregister_controller_device_listener):
2801 New internal method.
2802 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
2803 More efficient implementation, we don't have to create a new
2804 XkbControls structure every time we query.
2805 (spi_device_event_controller_class_init):
2806 Initialize the epv entries for the new IDL. Assign the
2807 "spi-dec-private" quark.
2808 (spi_device_event_controller_init):
2809 Initialize the private data.
2810 (spi_device_event_controller_forward_key_event):
2811 Removed a bogus CORBA_exception_free() call.
2813 * registryd/deviceeventcontroller.h:
2814 Replaced inclusion of keystrokelistener.h with
2817 * test/event-listener-test.c:
2818 (report_mouse_event):
2821 Added mouse-event device listener.
2823 * test/test-simple.c:
2824 (create_test_window):
2825 Fixed regression (we were instantiating a GtkRange,
2826 which is now an abstract class). Also fixed to match
2827 existing AtkRole names, this seems to have changed in ATK
2828 awhile ago; too late now I think, and the new
2829 mechanism is at least elegant and consistent with the
2830 glib enum "nick" APIs.
2832 2002-11-15 Darren Kenny <darren.kenny@sun.com>
2834 * idl/Accessibility_Relation.idl:
2835 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
2836 RELATION_EMBEDS,RELATION_EMBEDDED_BY
2837 * idl/Accessibility_Role.idl:
2838 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
2839 * idl/Accessibility_State.idl:
2840 add STATE_MANAGES_DESCENDANTS
2841 * test/event-listener-test.c:
2842 Added a listener for active-descendant events.
2844 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
2846 * atk-bridge/bridge.c
2847 (atk_bridge_init): If application is Bonobo component wait until top
2848 level is added before registering
2849 (spi_atk_bridge_do_registration): New function which contains code,
2850 formerly in atk_bridge_init, to do application registration.
2851 (spi_atk_bridge_toplevel_added): Signal called when top level
2852 added to Bonobo component
2854 This fixes bug #83134.
2856 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
2858 * registryd/deviceeventcontroller.c
2859 Fixed compilation error caused by calling gettimeofday()
2862 2002-10-18 Bill Haneman <bill.haneman@sun.com>
2867 Added template for HAVE_XKB.
2870 Changes to check for XKB, and to set the HAVE_XKB #define if it
2873 * libspi/listener.c:
2874 ()impl_notify_event): Make failure to get event source name
2877 * registryd/deviceeventcontroller.c:
2878 (#include): include X11/XKBlib.h.
2879 (DEControllerPrivateData) : New struct.
2880 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
2882 (dec_synth_keycode_press) (dec_synth_keycode_release):
2883 New methods; split the key synthesis code into these methods.
2884 They check XKB settings before determining the "time" values to
2885 pass to Xtest; this fixes bug #95828.
2886 (impl_generate_keyboard_event): Changed to use methods above,
2887 instead of callng Xtest directly.
2888 (spi_device_event_controller_init): Initialize new privae struct s
2890 (spi_device_event_controllr_object_finalize):
2891 Free the (new) private data.
2893 * registryd/deviceeventcontroller.h:
2894 Add new gpointer to end of struct data.
2896 2002-10-16 Bill Haneman <bill.haneman@sun.com>
2899 Incremented revision to 1.1.2, SONAME is still '.so', library
2900 extensions are ".so.0.0.2".
2902 * registryd/deviceeventcontroller.c:
2903 FIXES FOR #93592 and #95940.
2904 (statics): renamed mouse_button_state to mouse_mask_state,
2905 added key_modifier_mask.
2906 (spi_dec_poll_mouse_moved):
2907 Added key modifier checks, and emit "keyboard:modifiers"
2908 events when the key modifiers currently in use change.
2909 Also generate "mouse:abs" events periodically, even if the mouse
2910 is stationary (should we?).
2911 Alternatively we could generate "mouse:abs" events for either all
2912 mouse movements, or every 'nth' mouse movement, or at the
2913 beginning and end of every "active" mouse period.
2915 * test/event-listener-test.c:
2916 (main): Added listener for "keyboard:modifiers" events.
2918 2002-10-15 Bill Haneman <bill.haneman@sun.com>
2920 * libspi/keymasks.h:
2921 Added key mask #defines for mouse buttons; e.g.
2922 SPI_KEYMASK_BUTTON1, etc.
2925 Incremented dependency on ATK to version 1.1.0. (This dependency
2926 is probably premature but will soon be real enough).
2928 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
2930 * libspi/hyperlink.[ch]
2931 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
2932 (get_hyperlink_from_servant): Check object is AtkHyperlink not
2935 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
2940 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
2942 * registryd/deviceeventcontroller.c
2943 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
2944 events to be ignored.
2945 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
2946 keyboard_mode so that XAllowEvents() can be called.
2950 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
2952 * cspi/spi-accessible.c: Correct names of roles returned by
2953 AccessibleRole_getName(). Fixes bug #95055.
2955 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
2957 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
2960 * registryd/registry.c
2961 (desktop_remove_application: Write diagnostic message to stderr for
2964 (impl_accessibility_registry_deregister_global_event_listener):
2965 Correct size of lists array. This addresses bug #94555).
2967 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
2969 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
2972 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
2974 * registryd/Makefile: Add CLEANFILES so that .server file is removed
2977 * registryd/registry.c (impl_registry_notify_event): Remove
2978 unnecessary call to parser_event_type().
2980 * docs/reference/cspi/tmpl/spi_component.sgml:
2981 Add reference to SPI_LAYER_WINDOW.
2983 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
2985 * registryd/registry.c
2986 (desktop_add_application): Remove leak.
2987 (desktop_remove_application): Remove leak.
2988 (parser_event_type): Remove leak.
2990 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
2992 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
2993 bogus call to CORBA_string_dup(). Also removed unnecessary
2994 g_string_dup/g_free calls.
2996 2002-09-13 Bill Haneman <bill.haneman@sun.com>
2998 * registryd/deviceeventcontroller.c:
2999 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
3001 * test/event-listener-test.c:
3002 main: commented out three redundant listeners, to reduce output
3003 noise. (They still are potentially useful for testing).
3006 2002-09-13 Michael Meeks <michael@ximian.com>
3008 * Update all the copyrights to include Ximian.
3010 2002-09-06 Mark McLoughlin <mark@skynet.ie>
3012 * cspi/spi.h: add SPI_LAYER_WINDOW.
3014 * cspi/spi_component.c: (AccessibleComponent_getLayer):
3015 add Accessibility_LAYER_WINDOW case.
3017 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
3019 * libspi/component.c: (impl_accessibility_component_get_layer):
3020 add ATK_LAYER_WINDOW case.
3022 2002-08-28 Bill Haneman <bill.haneman@sun.com>
3024 * configure.in: incremented micro version.
3026 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
3028 2002-08-20 Bill Haneman <bill.haneman@sun.com>
3031 Clarified and reworded our commit policy.
3034 Started an API "todo" addition list for 2.2.
3037 (impl_getSelection):
3038 Free char pointer from atk_text_get_selection, which was being leaked.
3040 2002-08-19 Bill Haneman <bill.haneman@sun.com>
3043 Small revision to author acknowledgement.
3045 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
3047 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
3048 If signal has detail add it to the type of the event.
3051 2002-08-12 Michael Meeks <michael@ximian.com>
3053 * test/test-simple.c (global_listener_cb): bin bogosity.
3054 (test_keylisteners): disable, still doesn't work reliably,
3055 certainly not on my system anyway.
3057 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
3058 don't leak a reference on the DEC. This round-trip
3059 fetching of the DEC per keystroke sucks, it should be
3062 * cspi/spi-private.h,
3063 * cspi/cspi-lowlevel.h,
3064 * cspi/bonobo/cspi-bonobo-listener.[ch],
3065 * cspi/bonobo/cspi-bonobo.c: get the copyright
3066 notices better - there is still a large amount of
3067 work in at-spi falsely attributed solely to Sun.
3069 * cspi/spi_main.c (cspi_object_ref): kill bogus
3070 hash lookup, just increment the ref.
3071 (SPI_freeString): make explicit the fact that we
3072 handle NULL strings just fine.
3073 (report_leaked_ref): obey coding standards.
3074 (cspi_object_hash, cspi_object_equal): kill retval.
3075 (cspi_object_release): only release if not on loan.
3076 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
3077 (cspi_object_borrow, cspi_object_return): impl.
3079 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
3080 use cspi_object_borrow / return.
3082 2002-08-12 Darren Kenny <darren.kenny@sun.com>
3084 * cspi/bonobo/cspi-bonobo-listener.c:
3086 Don't call cspi_oject_new() because this is creating a new Accessible
3087 every single time that an event is fired. This causes ATs like at-poke
3088 to nolonger recognise the source of the event and thus ignore it.
3089 Re-use the object from the cache, ref it and then unref it after the
3090 listeners have been called.
3092 2002-08-06 Darren Kenny <darren.kenny@sun.com>
3094 * test/event-listener-test.c:
3095 Added command-line options to disable mouse events (m) and
3098 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
3100 * configure.in: Update required versions of ATK, GTK+ and GAIL
3102 * cspi-1.0.pc.in: Add dependency for X include files
3105 * cspi/bonobo/Makefile.am:
3106 Add $(X_CFLAGS) so that X include files
3107 are picked up even if not in standard place (bug #71686)
3109 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3111 * registryd/deviceeventcontroller.c: fix for 84261
3112 (spi_dec_mouse_moved):
3113 Added test of mouse button mask, so that we can detect mouse
3114 button release. Unfortunately we can't otherwise detect mouse
3115 button release events without consuming the mouse press event,
3116 because of the way XGrabButton works. This means that our mouse
3117 release events have a latency dependent on the polling period
3118 while the mouse button is down. At least in this case we only
3119 have to poll while the button is down, and not at other times.
3120 If the button masks don't match with what the last press event
3121 reported, we report the appropriate button release event.
3122 (spi_dec_ungrab_mouse):
3123 New method (not yet called).
3124 (spi_device_event_controller_forward_mouse_event):
3125 New method, sends mouse press event from GdkFilter.
3126 (spi_dec_init_mouse_listener):
3127 Added code to call XGrabButton, redirecting mouse button events to
3128 the root window and our Gdk event loop.
3130 Added code to filter mouse button events, and reordered.
3132 * test/event-listener-test.c:
3134 Added registration for mouse events of type "mouse:button".
3136 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3138 * registryd/deviceeventcontroller.c: partial fix for 84261
3139 (spi_dec_poll_mouse_idle):
3140 New method, a timeout which checks to see if the mouse
3142 (spi_dec_poll_mouse_moving):
3143 A timeout to be called when mouse motion is underway.
3144 (spi_dec_poll_mouse_moved):
3145 A method which fires an event if the mouse has moved, and reports
3146 whether or not it did so.
3147 (spi_dec_init_mouse_listener):
3148 A method which sets up the timeouts above.
3149 (spi_device_event_controller_new):
3150 Now calls spi_dec_init_mouse_listener.
3152 * registryd/registry.c:
3153 (spi_registry_init):
3154 Now we initialize the device event controller when the registry is
3155 initialized, instead of waiting until a client has requested a key
3156 event notification; this is because we need the event controller
3157 for mouse events, but the mouse event registration API is a
3158 "registry" call and doesn't explicitly call the
3159 deviceeventcontroller.
3160 We now report mouse motion events with a 100 ms idle latency and
3161 a 20 ms granularity when motion is in progress.
3163 * test/event-listener-test.c:
3165 We now register the "detail listener" for events of type
3166 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
3167 delivered only for the first mouse event received, and thereafter
3168 "mouse:abs" events are delivered.)
3170 * cspi/spi_registry.c:
3171 DOCS: Documented the above mouse event typestrings.
3173 2002-06-21 Bill Haneman <bill.haneman@sun.com>
3175 Happy Summer Solstice...
3177 * registryd/deviceeventcontroller.c: [fix for bug 84100]
3178 (spi_controller_notify_keylisteners):
3179 Changes to remove a listener from the listener list, freeing its
3180 open keygrabs, if a notification to that listener fails. This
3181 means that although a dead listener can continue to hold a passive
3182 keygrab, a maximum of one dispatch to such a listener can fail
3183 before the listener is removed from the list, thus the keygrab
3184 will be released on the next occurrence.
3185 As part of this fix:
3186 (spi_notify_keylisteners):
3187 Renamed to spi_controller_notify_keylisteners, as the controller
3188 instance must now be passed as an argument.
3189 The copied 'notify' GList is now a list of DEControllerKeyListener
3190 objects, since we need more than just the CORBA reference if a
3191 notify fails and we need to deregister the listener.
3192 (impl_notify_listeners_sync):
3193 (impl_notify_listeners_async):
3194 (spi_device_event_controller_forward_key_event):
3195 Modify use of notify_keylisteners in accordance with above
3197 (spi_deregister_controller_key_listener):
3198 New method introduced by refactoring, from
3199 impl_deregister_keystroke_listener.
3200 (impl_deregister_keystroke_listener):
3201 Call spi_deregister_controller_key_listener.
3202 (spi_key_listener_clone):
3203 New method to copy a key listner without doing a 'ref' on the
3204 remote object instance; used to create a notifier list.
3205 (spi_key_listener_data_free):
3206 New method, frees data without unreffing the source.
3208 (spi_key_listener_clone_free): new method.
3209 (spi_key_listener_free):
3210 refactored to call spi_key_listener_data_free.
3212 2002-06-20 Bill Haneman <bill.haneman@sun.com>
3214 * registryd/registry.c: [fix for bug 86048]
3215 (notify_listeners_cb):
3216 Clear CORBA system exceptions which occur when notifying
3217 listeners, before returning to the source of the original event,
3218 since the event source doesn't care if the relayed notify failed.
3219 In other words, don't complain to the atk-bridge if the registry
3220 could not notify all its listeners, that's no fault of the
3221 application and thus should not appear to be an error from the
3222 application's perspective.
3224 * cspi/spi_main.c: [fix for bug 85980]
3226 Replaced use of bonobo_object_dup_ref with call to the wrapper
3227 method, csou_dup_ref (); this silences a compiler warning and
3228 provided more portability.
3230 Ping the registry before return, and restart if necessary.
3232 * cspi/bonobo/cspi-bonobo.c:
3234 New internal method.
3236 Fixed this method to return an object reference, as it should have
3239 * cspi/cspi-lowlevel.h:
3240 Added internal definition for cspi_ping() and fixed
3241 return type of cspi_dup_ref().
3244 2002-06-19 Bill Haneman <bill.haneman@sun.com>
3246 * atk-bridge/bridge.c: [fix for bug 85305]
3247 (spi_atk_bridge_register_application):
3248 New method where the initial application registry calls have been
3249 moved; it allows an application to re-register in response to
3250 certain error conditions (such as a registry restart, see below).
3252 Moved some initialization code to the method
3253 spi_atk_bridge_get_registry, below.
3254 (spi_atk_bridge_get_registry):
3255 New, private accessor function for the Accessibility_Registry
3256 instance. If the registry has not been started before, or has
3257 died (as detected by failure of a CORBA exception), it is
3258 restarted before return, and spi_atk_bridge_register_application
3259 is called again to register with the new bridge instance.
3260 (spi_atk_emit_eventv):
3261 Set registry_died on error; use spi_atk_bridge_get_registry () to
3262 access the registry.
3264 * registryd/registry.c:
3265 (impl_accessibility_registry_register_global_event_listener):
3266 Set listener's event_type_quark to etype.minor instead of
3267 etype.major (fix for bug 84856).
3269 * test/event-listener-test.c:
3270 (report_detail_event):
3271 Change the output string so that user/tester can tell that the
3272 'detail listener' was called instead of the 'generic listener'.
3274 2002-06-18 Bill Haneman <bill.haneman@sun.com>
3276 Fixes for bugs 84900, 84908, 84897, 84898.
3281 Revved version to 1.1.0
3282 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
3283 version is going to HEAD which will be used for gnome-2-0-1 and later.)
3285 * idl/Accessibility_Registry.idl:
3286 (EventListener::notifyEvent):
3287 Removed 'oneway' directive after extensive consulation with
3288 ORBit2 team and others. This means also that unref() of the event
3289 source can and should be done synchronously after emission, rather
3290 than remotely in the client, after servicing the notify call on
3293 NOTE: This change speeds up listener performance considerably, but
3294 introduces new latency on the application side. We may want to
3295 add an event queue to the atk-bridge.
3297 * atk-bridge/bridge.c:
3298 (spi_atk_bridge_focus_tracker):
3299 Do a local unref() on the event source after emission.
3301 * registryd/registry.c:
3302 (desktop_remove_application):
3303 Do an unref() on the event source after emission.
3304 (desktop_add_application):
3305 Do an unref() on the event source after emission.
3306 (notify_listeners_cb):
3307 When relaying an event, don't automatically add the event source
3308 to the local object cache, just CORBA_dup it instead. Likewise,
3309 if this method reenters, release the ref rather than calling
3311 (impl_registry_notify_event):
3312 No longer call remote unref() on the event source after dispatch.
3314 * libspi/eventlistener.c:
3315 (impl_accessible_event_notify_event):
3316 Removed remote unref ()
3318 * cspi/bonobo/cspi-bonobo-listener.c:
3320 We now call cspi_object_new() instead of cspi_object_add() on
3321 receipt of an event; thus we only have an implicit object ref
3322 while the cspi_event method is being executed. If we need to keep
3323 a reference to the object, the listener must call ref() on the
3324 object. Thus also we don't need to call cspi_object_unref() after
3325 invoking the listener callbacks in this method.
3329 New internal API for creating a new cspi object, without adding it
3330 to the object cache.
3332 Now uses cspi_object_new() to create the cspi object instance.
3334 Now checks to see if the object is in the internal object cache,
3335 and adds it if necessary before incrementing its refcount (note
3336 that new objects are added with a refcount of 1).
3337 (report_leaked_ref):
3338 New method which gives some information on leaked object instances
3339 if leak detection is turned on.
3341 * test/event-listener-test.c:
3342 (timing_test_event):
3343 New method, used for testing event delivery timing for special
3344 events of type "object:test". It reports elapsed time and
3345 events/sec every 500 events.
3347 Added a new listener, 'test listener', to check timing of event
3348 receipt as noted above.
3350 Added some timing output here also, reports elapsed time every 100
3353 * test/stress-test.c:
3354 Emit events of type "object:test", for use with "event-listener-test".
3356 * test/test-simple.c:
3357 (global_listener_cb):
3358 Call Accessible_ref() on the event source before calling
3359 validate_accessible, since the validation process does pointer
3360 comparisons on the event source, meaning that the event source
3361 needs to be added to the local object cache first. Any use of
3362 such pointer comparisons between Accessible objects requires that
3363 the caller hold an explicit reference to those objects.
3364 We also must therefore call Accessible_unref() when leaving this method.
3366 2002-06-13 Bill Haneman <bill.haneman@sun.com>
3368 * registryd/deviceeventcontroller.c:
3369 (spi_controller_update_key_grabs):
3370 Fix for #84735, subsequent keygrab listeners not informed of
3371 registration failure.
3374 (spi_base_construct):
3375 Add an assertion on construct, to make sure the GObject passed in
3376 is really a GObject.
3378 Explicitly initialize object->gobj pointer to NULL;
3380 * cspi/bonobo/cspi-bonobo-listener.c:
3381 (cspi_object_add_ref):
3382 New method, can specify whether to dup-ref a bonobo object passed
3383 in if it's newly added to the object cache.
3385 Now calls cspi_object_add_ref with second param of "FALSE". This
3386 prevents us from doing a pointless dup-ref followed by
3387 release-unref for all those cases where the object is already in
3388 our object cache (fix for #85205).
3390 * atk-bridge/bridge.c:
3391 (spi_atk_bridge_idle_init):
3392 Removed this method, we don't need to initialize in an idle
3395 Changed to call spi_atk_register_event_listeners directly, not via an
3396 idle handler. (fix for #81139)
3397 (gnome_accessibility_module_shutdown):
3398 Removed conditional around deregistration of listeners, since we
3399 don't use the idle handler and thus have always registered when
3401 (spi_init_keystroke_from_atk_key_event):
3402 Changed references to Accessibility_KEY_PRESSED to
3403 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
3405 2002-06-12 Bill Haneman <bill.haneman@sun.com>
3407 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
3412 * test/stress-test.c:
3415 (may have been an incomplete commit yesterday?)
3417 2002-06-12 Bill Haneman <bill.haneman@sun.com>
3420 Added target for new stress-test.
3422 * test/stress-test.c:
3423 New test, sends 1000 focus notifies in quick succession.
3425 * test/key-listener-test.c:
3426 Now we report whether a keylistener registration
3427 request succeeded or failed.
3429 * test/event-listener-test.c:
3430 Uncommented some listeners which are now implemented.
3433 2002-06-06 Bill Haneman <bill.haneman@sun.com>
3435 * registryd/deviceeventcontroller.c:
3436 (spi_controller_update_key_grabs):
3437 Fix for #82509, lack of failure notification when
3438 ALL_WINDOWS keygrabs fail due to XGrabKey
3439 failure: we synchronize the server when
3440 registering a passive grab, to make sure we get the
3441 error message before the call returns.
3443 2002-06-03 Bill Haneman <bill.haneman@sun.com>
3445 * test/test-simple.c:
3447 Removed #ifdef KEY_IMPL_WORKS guards.
3448 (test_keylisteners):
3449 Removed #ifdef KEY_IMPL_WORKS guards.
3450 Fixed bug which was causing a hang waiting for a
3451 "press" event (which was already overwritten by a "release"
3452 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
3454 Added code to set globals 'key_press_received' and
3455 'key_release_received'.
3458 Added section "1.1 API Proposed Additions" which
3459 lists API additions desired for at-spi-1.1 (only one so far).
3460 Updated TODO list a little.
3462 2002-06-02 Bill Haneman <bill.haneman@sun.com>
3464 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
3467 * configure.in: Revved to 1.0.0.
3469 * idl/Accessibility_Registry.idl:
3470 (registerKeystrokeListener):
3471 Added boolean return value.
3473 * registryd/registry.c:
3474 (notify_listeners_cb): Minor fix to debug output.
3476 * registryd/Accessibility_Registry.server.in.in:
3477 Revved version number in OAFIID to 1.0.
3479 * registryd/registryd.c:
3481 Use new OAFIID version.
3483 * cspi/bonobo/cspi-bonobo.c:
3485 Use new OAFIID version.
3491 * atk-bridge/bridge.c:
3493 Use new OAFIID version.
3495 * registryd/deviceeventcontroller.c:
3496 (impl_register_keystroke_listener):
3497 Added CORBA_boolean return value.
3498 (spi_controller_register_device_listener):
3499 Added gboolean return value.
3500 (spi_controller_register_global_keygrabs):
3501 Added gboolean return value.
3502 (spi_key_set_contains_key):
3503 Added implementation for many more control keys,
3504 for instance F1-F12, arrow keys, End, Home, Page_Up,
3506 [TODO: some still not implemented].
3508 * text/screen-review-test.c:
3509 (text_chunk_pad_string):
3510 New function: it provides mapping between coordinate
3511 positions of text chunks and character positions in the
3512 screen-review-line output string.
3513 (text_chunk_to_string):
3514 New function, calls text_chunk_pad_string with various
3515 pad/delimiter characters. Pushbuttons are delimited with
3516 square brackets, Frames with vertical 'pipe' lines, and
3517 other text with double quotes.
3518 (text_chunk_list_to_string):
3519 Calls new function text_chunk_to_string.
3520 (toplevel_composite):
3521 New function to composite layers CANVAS through
3522 POPUP in each toplevel (other layers are composited
3523 across toplevels, i.e. BACKGROUND and OVERLAY).
3524 (review_buffer_composite):
3525 Revise to use new methods.
3531 2002-05-31 Laszlo Peter <laca@sun.com>
3533 * configure.in: add the Xtst libdir to the runpath on Solaris,
3534 since it's not in the default library search path.
3536 2002-05-29 jacob berkman <jacob@ximian.com>
3538 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
3540 2002-05-29 Bill Haneman <bill.haneman@sun.com>
3542 * test/screen-review-test.c:
3543 (text_chunk_pad_string):
3544 Added method, which pads the string according to the
3545 text bounds of the chunk. It also takes a 3-character
3546 string as a param which indicates the characters to be
3547 used for start, padding, and end delimitation of the chunk.
3548 (text_chunk_to_string):
3549 Changed to use text_chunk_pad_string.
3551 * configure.in: Fixed bug in AC_OUTPUT that was
3552 causing path substitution in Accessibility_Registry.server
3555 2002-05-23 Bill Haneman <bill.haneman@sun.com>
3557 * text/screen-review-test.c:
3558 (guess_string_clip):
3559 New method which attempts a best-guess at clipping
3560 text from components (like Java labels) which don't
3561 actually implement AccessibleText. This inaccurate
3562 clip is based on the assumption that the label is
3563 justified left-and-right, and monospaced.
3564 (text_chunk_get_clipped_string):
3565 We now call guess_string_clip() for text-containing
3566 components that don't implement AccessibleText.
3568 * test/screen-review-test.c:
3569 (review_buffer_get_text_chunk):
3570 We now pull "name" from labels if they do not implement
3571 AccessibleText (i.e. for Java labels).
3572 (get_screen_review_line_at):
3573 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
3576 Replaceded AC_OUTPUT target
3577 registryd/Accessibility_Registry.server with
3578 registryd/Accessibility_Registry.server.in.
3580 * registryd/Accessibility_Registry.server.in:
3581 Removed (this is now a Makefile target).
3583 * registryd/Accessibility_Registry.server.in.in:
3584 Added (source for target above). We now use $(libexecdir) as
3585 prefix for the executable at-spi-registryd.
3587 * registry/Makefile.am:
3588 Now install at-spi-registryd into $(libexecdir), and build .server
3589 file with path (see above).
3591 2002-05-22 Bill Haneman <bill.haneman@sun.com>
3593 * test/screen-review-test.c:
3594 (text_chunk_get_clipped_string):
3595 We now check to see if words fall within clip bounds
3596 before resorting to character-by-character clip bounds testing.
3598 * TODO: Added a section for "2.2 Proposed API Additions".
3600 2002-05-21 Bill Haneman <bill.haneman@sun.com>
3602 * test/screen-review-test.c:
3604 Added a screen review benchmarking and test program to test
3607 * cspi/spi_accessible.c:
3609 Made some of the debug strings passed to cspi_check_ev a
3610 little more specific.
3612 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
3614 * test/screen-review-test.c: Fix crashes in debug statements
3616 2002-05-20 Bill Haneman <bill.haneman@sun.com>
3618 * test/screen-review-test.c: Added this file.
3620 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
3622 * atk-bridge/bridge.c: changed "object:state-change" to
3623 "object:state-changed" to match docs.
3625 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
3627 * atk-bridge/bridge.c: Hooked up state-change event details.
3629 2002-05-11 Bill Haneman <bill.haneman@sun.com>
3631 * registryd/registry.c:
3632 Fixed quarking bug in event string parsing; now events with
3633 detail parameters get matched correctly to listeners.
3636 * util/idl/Magnifier.idl: remove.
3638 * util/*.[ch]: Remove.
3639 Magnification utilities and IDL are now in module gnome-mag.
3641 2002-05-10 Bill Haneman <bill.haneman@sun.com>
3643 * registryd/deviceeventcontroller.c:
3644 Fixed bug in grab key conversion which was causing keycode grabs
3645 to be converted to AnyKey grabs.
3648 updated NEWS file to reflect recent spin-off of gnome-mag.
3650 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
3652 * cspi/spi_accessible.c: Added exception checks. Fixed completely
3653 busted AccessibleStateSet_compare. Removed redundant casts.
3655 * cspi/spi-action.c: Removed redundant casts.
3657 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
3659 * cspi/spi_component.c: Fixed typos and casting error.
3661 * cspi/spi_editabletext.c: Removed redundant casts.
3663 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
3665 * cspi/spi_hypertext.c: Eliminated redundant casts.
3667 * cspi/spi_image.c: Eliminated redundant casts.
3669 * cspi/spi_registry.c: Eliminated redundant casts.
3670 SPI_deregisterGlobalEventListenerAll () removed retval variable.
3671 * cspi/spi_selection.c: Removed redundant casts.
3672 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
3673 handling. Screen geometry and text offsets were being returned as 0
3674 on error which is technically valid-- changed these to return -1.
3675 Added marshaller for text boundary types to fix bug with boundary
3676 types being passed incorrectly to atk.
3678 2002-05-09 Bill Haneman <bill.haneman@sun.com>
3681 * cspi/spi_registry.c:
3682 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
3683 which was uncovered by the recent key changes.
3685 2002-05-09 Bill Haneman <bill.haneman@sun.com>
3687 * test/event-listener-test.c:
3689 Added new test, "event-listener-test";
3690 this code does two things; it benchmarks traversal time
3691 for the accessible hierarchy for the first running accessible
3692 app, and it connects listeners for all supported event types.
3693 It is thus useful as an example event listener and for
3694 diagnostics/debugging of event generation.
3696 2002-05-08 Bill Haneman <bill.haneman@sun.com>
3699 Removed unnecessary dependency on libutil.
3702 Revved micro version: 0.13.1
3704 2002-05-08 Bill Haneman <bill.haneman@sun.com>
3707 Removed util/Makefile from targets.
3710 Removed util subdir from SUBDIRS (temporarily,
3711 pending removal of magnifier-only code
3715 #ifdef-ed out magnifier dependencies, since
3716 magnifier IDL, headers, and binary now live in
3717 module gnome-mag and we don't want at-spi to depend
3718 on gnome-mag. A magnifier demo which can run alongside
3719 simple-at is forthcoming in the gnome-mag module.
3721 NOTE: Split magnifier binary, IDL, and magnification
3722 activation code from at-spi into module gnome-mag.
3724 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
3726 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
3727 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
3729 2002-05-03 Bill Haneman <bill.haneman@sun.com>
3732 Revved to version 0.13.0
3734 * idl/Accessibility_Registry.idl:
3735 Changed definition of KeySet from sequence of longs to sequence of
3736 KeyDefinitions, and added KeyDefinition struct.
3737 Required for fix to bug 80616.
3739 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
3740 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
3741 to use new definition (see above).
3743 * registryd/deviceeventcontroller.c: handle_keygrab(),
3744 spi_keyset_contains_key():
3745 Changed to make use of new struct; this allows matching based on
3746 string key-name, for instance "Tab". This also allows matching of
3747 composed characters, non-alphanumeric characters in a way that
3748 doesn't involve dependencies on X keysym codes directly, etc.
3750 * test/key-listener-test.c:
3751 Added test for Alt-Tab key using "string" specification of keyset,
3752 and modified one of the tests to use a keycode-based keyset.
3753 Thus this test both tests and demonstrates the creation and use of
3754 keysets of three forms: specified via keycode array,
3755 keysym array, and string array. (The string case only contains a
3756 single string, i.e. a string array of length 1).
3759 Turned on PRINT_TREE option by default. Also fixed a
3760 string-freeing bug in the PRINT_TREE code.
3761 Added a listener to window:minimize events.
3763 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
3765 * atk-bridge/bridge.c:
3766 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
3767 for window:activate and window:deactiveate
3768 (atk_bridge_property_event_listener atk_bridge_signal_listener
3769 atk_bridge_window_event_listener) Tidy debug code
3771 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
3773 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
3774 Fixed handling for NULL return value from ATK.
3776 * libspi/action.c libspi/component.c libspi/editabletext.
3777 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
3778 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
3779 Removed redundant casts.
3781 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
3782 Fixed off by one bug.
3784 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
3785 function not present in idl)
3787 2002-05-02 jacob berkman <jacob@ximian.com>
3789 * atk-bridge/Makefile.am: make atk-bridge a real module
3791 2002-04-26 Radek Doulik <rodo@ximian.com>
3793 * libspi/stateset.c (spi_init_state_type_tables): fix size of
3794 atk_state_types table
3796 2002-04-22 jacob berkman <jacob@ximian.com>
3799 * libspi/Makefile.am: add deps on the built files to help
3800 automake, and don't version the ORBit typelib
3802 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
3804 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
3805 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
3806 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
3807 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
3808 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
3809 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
3810 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
3811 libspi/accessible.h libspi/accessible.h libspi/base.h
3812 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
3813 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
3814 libspi/relation.h libspi/remoteobject.h libspi/selection.h
3815 libspi/spi-private.h libspi/statetset.h libspi/table.h
3816 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
3817 util/mag_client.h util/mag_control.c util/mag_image.c
3818 util/mag_image.h util/magnifier.c util/magnifier.h:
3819 Add missing file headers; standardize existing ones
3821 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
3823 * atk-bridge/bridge.c: Added window event support.
3825 2002-04-18 Michael Meeks <michael@ximian.com>
3827 * libspi/relation.c (impl_getNTargets): impl.
3828 (impl_getTarget): impl.
3830 * libspi/Makefile.am: fix stateset install.
3832 2002-04-17 Bill Haneman <bill.haneman@sun.com>
3835 Started putting useful info in this file.
3837 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
3839 * atk-bridge/bridge.c:
3840 Propagate state-changed notifications to ATs
3842 * cspi/spi_registry.c: update docs to reflect actual behavior of
3843 state-change events.
3845 2002-04-17 Bill Haneman <bill.haneman@sun.com>
3848 Incremented version to 0.12.1
3850 * util/mag_client.h:
3851 Add missing declaration for magnifier_exit,
3852 used by mag_control.c - Forte compiler didn't like
3853 the implicit redeclaration of the function :-(
3856 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3859 Revved version to 0.12 due to API change (see below).
3861 * cspi/spi-roletypes.h:
3862 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
3863 definition from the inline docs, and added docs
3864 for SPI_ROLE_LAST_DEFINED.
3867 * cspi/spi_streamablecontent.c:
3868 Added missing seek_type parameter to
3869 (so far unused) method,
3870 AccessibleStreamableContent_seek().
3871 [ RT approval JodyG. ]
3874 Fixed docs for SPI_createAccessibleKeystrokeListener.
3876 * cspi/spi_registry.c:
3877 Fixed docs for SPI_KEYSET_ALL_KEYS.
3879 * docs/reference/cspi/at-spi-cspi-sections.txt:
3880 Added a number of missing APIs to SECTIONS.
3882 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3884 * registryd/Makefile.am:
3886 * cspi/bonobo/Makefile.am:
3887 Add $(X_LIBS) to makefiles.
3889 2002-04-15 Bill Haneman <bill.haneman@sun.com>
3892 Revved version to 0.11.
3894 * libspi/component.c:
3895 Added implementation for grabFocus.
3897 * idl/Accessibility_Component.idl
3898 (Accessibility_Component_grabFocus):
3899 Made this method return boolean to indicate success or failure, to
3900 be consistent with cspi and the corresponding ATK method.
3902 * idl/Accessibility_Selection.idl
3903 (Accessibility_Selection_selectAll) :
3904 Made these methods return boolean to indicate success or
3905 failure, to be consistent with cspi and the corresponding ATK methods.
3907 * idl/Accessibility_EditableText.idl
3908 (Accessibility_EditableText_setTextContents,
3909 Accessibility_EditableText_insertText,
3910 Accessibility_EditableText_cutText,
3911 Accessibility_EditableText_deleteText,
3912 Accessibility_EditableText_pasteText):
3913 Made these methods return boolean to indicate
3916 * cspi/spi_editabletext.c:
3917 Made these methods return booleans.
3919 * libspi/selection.c:
3920 * libspi/component.c:
3921 * libspi/editabletext.c:
3922 Connected the boolean returns from ATK
3923 to the server-side code referenced above.
3925 2002-04-14 Bill Haneman <bill.haneman@sun.com>
3927 * idl/Accessibility_Table.idl: Added missing methods,
3928 Accessibility_Table_addRowSelection,
3929 Accessibility_Table_addColumnSelection,
3930 Accessibility_Table_removeRowSelection,
3931 Accessibility_Table_removeColumnSelection.
3934 Added C wrappers for above IDL:
3935 AccessibleTable_addRowSelection,
3936 AccessibleTable_addColumnSelection,
3937 AccessibleTable_removeRowSelection,
3938 AccessibleTable_removeColumnSelection.
3941 Added server-side implementation code for IDL above, connecting
3942 to pre-existing ATK api.
3944 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
3946 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
3948 * libspi/accessible.c: Added implementation fo
3949 Accessibility_Accessible_get_state.
3951 * libspi/libspi.h: Added stateset.h to the list of includes.
3953 * libspi/stateset.c: Fixed broken implementation.
3955 2002-04-13 Bill Haneman <bill.haneman@sun.com>
3958 Added implementation code for Accessibility_Magnifier_exit ().
3960 * util/mag_control.c:
3961 Added test code for above method; you can
3962 now kill an existing magnifier via
3963 ./mag_control q, from the util directory.
3965 * test/key-listener-test.c:
3967 Added a new test, for our key listener API.
3969 2002-04-11 Bill Haneman <bill.haneman@sun.com>
3971 * test/app.c, test/keysynth-demo.c:
3973 Replace use of snprintf with g_snprintf.
3974 (fix for bugzilla 78249)
3976 2002-03-27 Michael Meeks <michael@ximian.com>
3980 * util/Makefile.am (INCLUDES): fix.
3981 (DONT_DIST_SOURCE): don't distribute the
3984 * libspi/Makefile.am (dist-hook): ditto.
3986 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
3988 * libspi/hypertext.c:
3989 Fix warnings when yelp is used with atk-bridge
3991 2002-03-21 Michael Meeks <michael@ximian.com>
3993 * libspi/application.c (spi_application_new):
3994 use spi_accessible_construct so we use the AtkObject
3997 2002-03-19 Michael Meeks <michael@ximian.com>
3999 * registryd/registry.c (desktop_remove_application),
4000 (desktop_add_application): clean coding style.
4002 * registryd/desktop.c (spi_desktop_remove_application),
4003 (spi_desktop_add_application): kill re-enterency hazards.
4004 (spi_desktop_dispose): remove bogus redundant cast
4005 obscuring bug; fix bug too.
4006 (spi_desktop_init): make the desktop object immortal.
4008 2002-03-16 Bill Haneman <bill.haneman@sun.com>
4011 Added a #define-guarded tree-traversal step
4012 when enumerating the apps (diagnostic tool).
4014 2002-03-15 Bill Haneman <bill.haneman@sun.com>
4016 * idl/Accessibility_Role.idl:
4017 Added ROLE_DRAWING_AREA which seemed to be missing from the
4020 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4022 * cspi/spi-roletypes.h cspi/spi_accessible.c
4023 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
4026 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
4027 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
4028 AT when applications are added and removed from the desktop. This
4029 reverts the previous broken implementation using the backing
4030 AtkObject for the SpiDesktop.
4032 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4034 * registryd/desktop.c: emit the "children-changed::add" and
4035 "children-changed::remove" signals on the backing ATK object for
4036 the desktop so AT can tell when applications are started and shut
4039 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4041 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
4043 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4045 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
4047 * cspi/spi_accessible.c: Implemented c bindings for stateset support
4049 * cspi/state-types.h: synched with IDL and ATK
4051 2002-03-13 Bill Haneman <bill.haneman@sun.com>
4053 * libspi/accessible.c
4054 (impl_accessibility_accessible_get_child_at_index):
4055 Change return value for g_return_if_fail ()
4056 to CORBA_OBJECT_NIL instead of "0" (!)
4058 * registryd/Makefile.am:
4059 * registryd/Accessibility_Register.server.in:
4060 Changed name of executable, "registryd",
4061 to something more informative:
4064 2002-03-13 Michael Meeks <michael@ximian.com>
4066 * atk-bridge/bridge.c (atk_bridge_init): don't register
4067 if we're in a bonobo-component, rather than a bonobo app.
4069 2002-03-13 Michael Meeks <michael@ximian.com>
4071 * atk-bridge/bridge.c (gtk_module_init): split
4072 out body to (atk_bridge_init): here, since otherwise
4073 we get symbol conflicts and oddness when invoked
4074 from (gnome_accessibility_module_init): here (upd.)
4076 2002-03-11 Bill Haneman <bill.haneman@sun.com>
4079 New file. Explicitly allow "build sheriff" putbacks provided
4080 they are tested on Solaris.
4082 * docs/reference/cspi/Makefile.am:
4083 Added '-' to the "cp" command for index.sgml.
4084 ("patch by thomasvs, soon coming to a GUADEC near you")
4087 Incremented version number (0.9.0) for new release.
4088 Changed macro that checks for popt, to better detect
4089 obsolete versions of popt.
4092 Added X_LIBS to AC_SUBST, for applications
4093 that call Xlib API directly.
4096 2002-03-07 Bill Haneman <bill.haneman@sun.com>
4099 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
4102 Fix regression caused by hard-coding major
4103 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
4106 * test/test-simple.c (test_editable_text),
4107 (test_test): revert previous change (error was
4108 a regression in gail which is now fixed).
4110 2002-03-04 Michael Meeks <michael@ximian.com>
4112 * test/test-simple.c (test_editable_text),
4113 (test_text): pass G_MAXINT instead of '-1' for
4114 whole string - is this a good thing !?
4116 * cspi/spi_accessible.c
4117 (Accessible_getRelationSet): fix crasher bug
4118 overwriting the end of the array.
4120 * test/test-simple.c (validate_accessible): free,
4121 not g_free returned relation set.
4123 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
4125 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
4126 implemented stateset support
4128 * idl/Accessibility_State.idl: Made necessary changes to
4129 the IDL to support state sets.
4131 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4133 * registryd/deviceeventcontroller.c:
4134 Added implementation for generateMouseEvent.
4136 * cspi/spi_registry.c:
4137 Connected new implementation for generateMouseEvent
4140 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4143 Incremented revision (but no change in public API
4144 outside of 'utils', which are not installed public yet.)
4146 * libspi/component.c:
4147 Changed to use atk_component API for layers and
4148 mdi_zorder, instead of deprecated atk_object API.
4150 Magnification Utility Enhancements:
4153 Added implementation of createZoomRegion, clearAllZoomRegions,
4154 resizeZoomRegion. Added new commandline argument
4155 "--no-initial-region". Note that clearAllZoomRegions doesn't
4156 unmap the old '0' region as it should (yet), and the other
4157 methods only work when creating/resizing a single region,
4158 which is "region 0".
4159 (Code for multiple region support will be added later.)
4162 Now we raise the magnifier window each time it's refreshed;
4163 this will help keep it on top.
4165 * util/mag_client.h:
4166 Added simple wrappers for above, used by mag_control.
4167 For general use, it's recommended to use the bonobo magnifier
4168 control API directly instead of using these wrappers.
4171 Moved ZoomRegionData from magnifier.c to this file.
4173 * util/mag_control.c:
4174 Added some code to exercise new IDL implementations.
4176 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
4178 * libspi/text.c: Provide implementation for getAttributes.
4180 2002-02-04 Bill Haneman <bill.haneman@sun.com>
4183 Incremented revision.
4185 * test/test-simple.c:
4186 Replaced use of deprecated g_main_iteration with
4187 g_main_context_iteration.
4189 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
4192 Incremented revision for desktop alpha 2.
4194 2002-01-28 Mark McLoughlin <mark@skynet.ie>
4196 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
4199 * test/simple-at.c: include netinet/in.h.
4201 2002-01-24 Mark McLoughlin <mark@skynet.ie>
4203 * cspi/spi_accessible.c: (Accessible_getRelationSet):
4204 use NULL, not CORBA_OBJECT_NIL.
4206 * libspi/accessible.c:
4207 (impl_accessibility_accessible_get_relation_set):
4208 allocate the sequence correctly.
4210 * libspi/remoteobject.h: kill spi_remote_object_new.
4212 * test/test-simple.c: (validate_accessible): add code
4213 to test relation sets, now all we need is to figure
4214 out how to excercise this code path :/
4216 2002-01-18 Michael Meeks <michael@ximian.com>
4218 * test/test-simple.c
4219 (key_listener_cb): consume the key.
4220 (test_keylisteners): update.
4221 (main): wait for any pending unrefs on events.
4223 * registryd/deviceeventcontroller.c
4224 (spi_controller_update_key_grabs): only re-issue the
4225 grab on a key release.
4226 (spi_device_event_controller_forward_key_event):
4227 refresh the keygrabs before we notify the listeners,
4228 to reduce the X ungrab / re-grab race.
4229 (spi_controller_register_with_devices): remove
4230 XSelectInput - we do that with the gdk_window_ call.
4231 (_spi_controller_device_error_handler): return a value.
4232 s/GDK_DISPLAY/spi_get_display/
4234 2002-01-17 Michael Meeks <michael@ximian.com>
4236 * registryd/deviceeventcontroller.c
4237 (_deregister_keygrab): don't blow out the later
4240 * test/test-simple.c (test_keylisteners): do a
4241 more intelligent validation.
4243 2002-01-14 Michael Meeks <michael@ximian.com>
4245 * atk-bridge/bridge.c
4246 (gnome_accessibility_module_init),
4247 (gnome_accessibility_module_shutdown): impl.
4248 (gtk_module_init): protect vs. double inits.
4249 (add_signal_listener): impl.
4250 (spi_atk_bridge_state_event_listener): kill
4251 (deregister_application): split out of
4252 (spi_atk_bridge_exit_func): here.
4254 2002-01-18 Bill Haneman <bill.haneman@sun.com>
4257 Added caret tracking when using magnifier, and
4258 now use text bounds for focus tracking of text elements, rather than
4259 the component bounds - this is helpful for short text fields in long
4260 table cells, at high magnification.
4262 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4264 * registryd/deviceeventcontroller.c:
4265 Regression fix for keylistener de-registration; global keygrabs
4266 were not being released when deregisterKeystrokeListener was
4267 called in cspi, since
4268 Accessibility_DeviceEventController_deregisterKeystrokeListener
4269 was called with a zero-length keyset. That is because the cspi
4270 method, SPI_deregisterKeystrokeListener, does not take a keyset
4271 parameter but instead should remove all the key grabs held be a
4273 The code in impl_deregister_keystroke_listener was changed to copy
4274 the keylist from the listener instance previously registered with
4275 the DeviceEventController before releasing the grabs.
4277 * registryd/registry.c:
4278 * registryd/deviceeventcontroller.c:
4279 * libspi/spi-private.h:
4281 Changed spelling of "re-enterant" to "re-entrant" globally.
4283 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4285 * test/test-simple.c:
4286 Changed key listeners test - the test was slightly mis-using the
4287 (admittedly poorly documented) SPI_generateKeyboardEvent API.
4288 It now uses '=' as the key event listened to and generated,
4289 relying on a keysym match rather than assuming that keycode 33
4290 is always equal to keysym '!'.
4292 2002-01-15 Bill Haneman <bill.haneman@sun.com>
4295 Changed simple-at to use a specific keyset, rather than
4296 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
4297 manager, desktop, etc.
4299 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4301 * registryd/deviceeventcontroller.c:
4302 Replaced standard X error handler with a special handler that
4303 is non-fatal for failed keygrabs. This works around
4304 problems with keygrab clashes sometimes observed on
4306 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
4307 mouse handling code as yet).
4309 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4312 Incremented revision for desktop alpha release.
4315 Fixed a couple of the more glaring errors (still not
4318 2002-01-11 Michael Meeks <michael@ximian.com>
4320 * registryd/deviceeventcontroller.c
4321 (spi_device_event_controller_forward_key_event): kill
4322 XUngrabKey / XKeyGrab race.
4323 (spi_controller_grab_keyboard): rename to
4324 (spi_controller_update_key_grabs): this, and deal
4325 with incremental adding / removing grabs more
4327 (_register_keygrab): ensure we're not pending a remove.
4328 (spi_grab_mask_free): impl.
4329 (spi_controller_register_global_keygrabs): split out
4331 (handle_keygrab): impl.
4332 (_deregister_keygrab): impl.
4333 (spi_controller_deregister_global_keygrabs): impl.
4334 (spi_controller_update_key_grabs): re-issue the grab if
4335 we just recieved a notification.
4337 * test/test-simple.c (key_listener_cb): remove debug.
4339 * registryd/deviceeventcontroller.c
4340 (spi_controller_register_device_listener): after
4341 registering a global keygrab, actualy register it !
4342 don't wait for a timeout; doh !
4344 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
4345 to make it more readable / manipulable.
4346 s/grabmask/grab_mask/ s/refcount/ref_count/
4347 s/keyval/key_val/ s/modmask/mod_mask
4349 2002-01-08 Michael Meeks <michael@ximian.com>
4351 * registryd/deviceeventcontroller.c
4352 (spi_controller_register_with_devices): use gdk calls to
4354 (global_filter_fn): implement the filter.
4355 (spi_device_event_controller_check_key_event): rename to
4356 (spi_device_event_controller_forward_key_event): this & upd.
4357 (spi_get_display): replace with GDK_DISPLAY.
4359 * registryd/deviceeventcontroller.c
4360 (spi_controller_deregister_device_listener): unroll into
4361 (impl_deregister_keystroke_listener): here to simplify.
4362 (spi_controller_register_global_keygrabs): split cut and
4363 paste (!) out into (_register_keygrab): here, shorter & sweeter.
4364 (spi_controller_deregister_device_listener): remove.
4365 (impl_register_mouse_listener): remove, no mouse listener
4366 support in at-spi-1.0
4368 * registryd/registry.c
4369 (_device_event_controller_hook): kill.
4370 (spi_registry_init): upd.
4372 * registryd/deviceeventcontroller.c
4373 (spi_device_event_controller_class_init): upd.
4374 (spi_check_key_event): merge into.
4375 (spi_device_event_controller_check_key_event):
4376 here and kill strange static ev init, don't leak
4377 the x_event - nor dynamicaly allocate it.
4379 * registryd/registry-main.c (main): re-direct
4380 timeout to remove strange vtable mess.
4382 * registryd/deviceeventcontroller.c
4383 (remove_listener_cb): impl.
4384 (spi_controller_deregister_device_listener):
4385 fix re-enterancy hazard.
4387 2002-01-07 Michael Meeks <michael@ximian.com>
4389 * registryd/deviceeventcontroller.c
4390 (spi_device_event_controller_new): upd.
4391 (impl_notify_listeners_sync): upd. debug.
4392 (spi_notify_keylisteners): fix re-enterancy hazards,
4393 prettify, remove O(n*n) iteration.
4394 (spi_controller_grab_keyboard): fix iteration.
4395 (spi_check_key_event): re-format to suit coding style.
4396 Clean all the warnings - we're warning free.
4398 * registryd/deviceeventcontroller.h:
4399 * registryd/registry.h: make mutualy referential with
4400 typesafe forward references instead of (!) void pointer
4403 2002-01-11 Michael Meeks <michael@ximian.com>
4405 * cspi/spi_accessible.c (role_names): add a role name
4406 to sync this array with the enum; and make the regression
4409 2002-01-10 Michael Meeks <michael@ximian.com>
4411 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
4412 allow expansion of enumeration & kill warning.
4414 * test/test-simple.c (key_listener_cb): impl.
4415 (test_keylisteners): impl.
4417 * cspi/spi-listener.h: make listener signatures const
4418 on the provided (const) events.
4420 * test/keysynth-demo.c: upd. to const events.
4422 * test/simple-at.c: ditto.
4424 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4427 Rev the version to 0.5 (the previous tarball was named 0.4,
4428 even though the micro number was 3), so we need to rev upwards
4429 again for beta2/"desktop-alpha"
4432 Checked in a demo script, which requires editing before use!
4433 Proceed with caution.
4436 Fixed typo in header which was redefining SPI_ACTION_CLASS.
4438 * cspi/spi_accessible.c:
4439 Add a couple of missing enum initializations, and fix some enum
4442 * cspi/spi_registry.c:
4443 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
4445 * docs/reference/cspi/at-spi-cspi-sections.txt:
4446 Remove/fix a couple of broken document references.
4449 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
4450 as Alt-Control to listen for commands, since on some systems
4451 Control-Alt may already be grabbed.
4453 2002-01-10 Bill Haneman <bill.haneman@sun.com>
4456 Update version number to 0.4 for Beta2.
4458 * libspi/accessible.c, libspi/accessible.h:
4459 Expose spi_accessible_construct, to enable libgail-gnome
4460 construction from spi_accessible subtype.
4462 * utils/magnifier.c:
4463 Workaround for bug in some non-gnome-compliant window managers
4464 which made magnifier resize improperly.
4466 2002-01-09 Bill Haneman <bill.haneman@sun.com>
4468 * libspi/accessible.c: (spi_accessible_new) :
4469 Move the test for SPI_IS_REMOTE_OBJECT to
4470 spi_accessible_new_return, fixing a bug and compile time warning.
4472 2002-01-08 Michael Meeks <michael@ximian.com>
4474 * registryd/registry.c (parse_event_type): remove strndup.
4476 * libspi/Makefile.am (libspi_la_SOURCES): remove
4477 sources already included in the headers section.
4479 * libspi/util.c: add.
4481 * libspi/spi-private.h: add.
4483 * registryd/registry.c: update to moved list iterators.
4485 2002-01-05 Michael Meeks <michael@ximian.com>
4487 * test/simple-at.c (main): upd. auto-module set to atk-bridge
4489 * test/test-simple.c (main): ditto.
4491 2002-01-04 Michael Meeks <michael@ximian.com>
4493 * libspi/accessible.c (spi_accessible_new): remove 2nd,
4494 redundant construct.
4496 * registryd/registry.c
4497 (get_listener_list): impl.
4498 (impl_accessibility_registry_register_global_event_listener):
4499 re-impl. to simplify using ~, remove dodgy const cast off.
4500 (parse_event_type): constify.
4501 (impl_accessibility_registry_deregister_global_event_listener_all):
4502 re-write, more efficiency and simplicity, kill re-enterancy
4504 (compare_listener_corbaref, compare_corba_objects),
4505 (compare_listener_quarks): define out.
4506 (impl_accessibility_registry_deregister_global_event_listener):
4507 re-write for effiency, and nail re-enterancy hazard.
4508 (impl_accessibility_registry_get_desktop_list): impl.
4509 (re_enterant_list_delete_link): impl.
4510 (re_enterant_list_foreach): impl.
4511 (remove_listener_cb): impl.
4512 (_registry_notify_listeners): kill.
4513 (notify_listeners_cb): impl.
4515 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
4516 (SPI_getDesktopList): impl.
4518 * test/test-simple.c (test_desktop): test the methods.
4520 2002-01-03 Michael Meeks <michael@ximian.com>
4522 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
4523 keystrings since we free them
4524 (SPI_freeAccessibleKeySet): in here.
4526 * libspi/accessible.c (spi_accessible_new): kill warning,
4527 wonder what is going on with the constructor here.
4529 2002-03-01 Bill Haneman <bill.haneman@sun.com>
4531 * libspi/accessible.c (spi_accessible_new ()) :
4532 Added check to see if AtkObject is an SpiRemoteObject before
4533 creating an SpiAccessible.
4535 2002-05-01 Bill Haneman <bill.haneman@sun.com>
4537 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
4538 Enable keygrabs using the Control modifier, now that they are
4539 working properly (they were previously disabled).
4542 Change the command keygrab for this demo to "Control+Alt", so as
4543 to conflict with fewer other key commands on the system; this
4544 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
4546 Removed a pointlessly-chatty keylistener for unshifted keys
4547 (shifted keys are still reported).
4549 2002-02-01 Bill Haneman <bill.haneman@sun.com>
4551 * libspi/remoteobject.h:
4552 * libspi/remoteobject.c:
4553 Added definitions for special AtkObject subtype, required for
4554 support of remote components (specifically, used by BonoboControl
4555 accessibility implementation).
4557 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
4559 * cspi/spi.h: synched relation types with ATK
4561 * cspi/spi_accessible.c: Added implementations of
4562 AcccessibleRelation_* methods
4564 * idl/Accessibility_Relation.idl: added getRelationTypeName
4565 method. Synched known relation types with ATK. Allowed for
4566 relation type extension with the RELATION_EXTENDED type.
4568 * libspi/relation.c: Provided implementations for
4569 AccessibleRelation methods.
4571 2002-01-01 Bill Haneman <bill.haneman@sun.com>
4573 API tweaks for today's API 'freeze'.
4576 Added placeholder functions to allow future compatible expansion
4577 of the IDL interfaces.
4579 * idl/Accessibility_Registry.idl:
4580 Changed generateKeyEvent to generateKeyboardEvent. Changed
4581 signature of this method to accept an optional keystring in
4582 parameter (for complex text input synthesis) and changed use of
4583 simple 'boolean' parameter in registerKeystrokeListener to a
4584 struct, EventListenerMode.
4586 * cspi/spi_accessible.c:
4588 * cspi/spi_streamablecontent.c:
4589 Added references to AccessibleStreamableContent interface, and
4590 definition and implementation of AccessibleStreamableContent
4593 * cspi/spi_registry.c:
4595 Changed generateKeyEvent API to generateKeyboardEvent,
4596 taking a new (optional) keystring parameter to support complex
4601 Renamed directory (to better reflect its actual purpose, bridging
4602 from at-spi to ATK). The .so module is also now named
4605 * idl/Accessibility_Hypertext.idl:
4606 * libspi/accessible.c:
4607 * libspi/hypertext.h:
4608 * libspi/hypertext.c:
4609 Changed Accessibility_Hypertext to *not* derive from
4612 * cspi/spi_registry.c:
4613 Added list of legal event type names for 'window' events, which
4614 completes the registry event API.
4616 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
4618 * at-bridge/bridge.c: Added registration for separate
4619 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
4620 signals. If either of the first two parameters to the generic
4621 bridge signal handler are ints, they are passed on as event
4622 details. This allows an AT to determine what text was inserted.
4624 2001-12-21 Bill Haneman <bill.haneman@sun.com>
4626 * registryd/deviceeventcontroller.c:
4627 Fixed regressions in generateKeyEvent caused by the removal of
4628 gdk_init from registryd; we now use pure X calls to connect to the
4629 display, which makes sense because deviceeventcontroller already
4630 uses a fair bit of X API (should eventually be migrated to a
4631 'portability layer').
4633 * registryd/desktop.c:
4634 Fixed minor regression in spi_desktop_init, changed the way the
4635 desktop name is being set to work with new spi_base API
4636 (gobject-based, rather than AtkObject-based).
4638 * registryd/Makefile.am:
4639 Minor revision of makefile to use XTST_LIBS variable rather than
4640 hard-wiring the Xtst LD_ADD element.
4642 * test/keysynth-demo.c:
4643 Tweaked an output message; added initialization of the
4644 'keystrings' member of the "switch listener" key_set.
4646 * libspi/relation.c:
4647 Squashed compile-time warning.
4649 * libspi/accessible.c:
4650 Cosmetic and formatting fixes, renamed a static method.
4652 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
4654 * libspi/accessible.c
4656 * libspi/application.c
4659 * libspi/component.c
4660 * libspi/editabletext.c
4661 * libspi/hyperlink.c
4662 * libspi/hypertext.c
4664 * libspi/selection.c
4668 * registryd/desktop.c:
4669 Changed SpiBase to contain a GObject pointer rather than an AtkObject
4671 2001-12-17 Bill Haneman <bill.haneman@sun.com>
4673 * idl/Accessibility_Registry.idl:
4674 Added boolean member 'is_text' to DeviceEvent. This is for the
4675 use of key events, and helps prevent ambiguity between composed
4676 key strings and keysym names, since both may potentially be
4677 returned in the 'event_string' member.
4679 * at-bridge/bridge.c:
4680 * registryd/deviceeventcontroller.c:
4681 Use the 'is_text' member when notifying device event listeners.
4682 Knon issue: composed characters are not dealt with correctly by
4683 the global key listener implementation yet.
4685 2001-12-17 Bill Haneman <bill.haneman@sun.com>
4687 * at-bridge/bridge.c:
4688 Namespaced local static methods to spi_atk_bridge_* where
4689 previously named bridge_*, and spi_* elsewhere.
4691 * at-bridge/bridge.c:
4692 * cspi/bonobo/cspi-bonobo-listener.c:
4693 Added demarshalling/conversion for string member of
4694 Accessibility_DeviceEvent to AccessibleKeystroke.
4696 * registryd/deviceeventcontroller.c:
4697 Added code to fill the Accessibility_DeviceEvent key string value
4698 member for global key events (i.e. from XGrabKey), to match
4699 behavior of Accessibility_DeviceEvent from the toolkit key events
4700 from the bridge. Fixed timestamp in global key event notifications.
4703 Added printout of key event's string value to
4704 report_ordinary_key_event, for demo/debugging purposes.
4706 2001-12-15 Bill Haneman <bill.haneman@sun.com>
4708 * idl/Accessibility_Registry.idl:
4709 Removed Accessibility_KeyStroke structure in favor of generic
4710 Accessibility_DeviceEvent structure.
4711 Changed Accessibility_ControllerEventMask from a struct to an
4714 * at-bridge/bridge.c:
4715 Changed APIs to use DeviceEvent structure as above, and removed
4716 bogus casting between these event structures.
4718 * cspi/spi-listener.h:
4719 Added keystring member of AccessibleKeystroke structure, to enable
4720 matching on event "names" rather than only hardware codes and
4724 Added keystrings member of AccessibleKeySet struct, to allow
4725 matching on event names (as above).
4726 Added declarations for SPI_createAccessibleKeySet and
4727 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
4728 event modmasks directly as unsigned ints rather than structs with
4729 refcounts, in the DeviceEventController methods.
4731 * cspi/spi_registry.c:
4732 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
4734 * cspi/spi-roletypes.h:
4735 Added documentation of newly added SPI Roles.
4737 * cspi/bonobo/cspi-bonobo-listener.c:
4738 Changes in support of API changes above.
4740 * libspi/accessible.c:
4741 Converted APIs to use DeviceEvent structure (see IDL changes
4744 * registryd/deviceeventcontroller.c:
4745 Added DEControllerGrabMask structure to track keygrabs not only by
4746 modmask but by keyset as well; this allows us to do "global"
4747 (i.e. X) keygrabs on a per-key or keyset basis rather than always
4748 grabbing on AnyKey and then filtering after-the-fact.
4749 Bugfixes for event filtration mean that we don't get false matches
4750 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
4752 * registryd/deviceeventcontroller.c:
4753 Namespaced a number of static methods to use spi_ prefix. Major
4754 revision to internals of global (i.e. X) key grabs.
4756 * registryd/deviceeventcontroller.h:
4757 Removed keymask_list and added keygrabs_list to
4758 SpiDeviceEventController struct.
4761 Added use of SPI_createAccessibleKeySet API when creating a
4762 listener for only one key. Attach a listener to "shift spacebar
4763 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
4764 X key event names to SPI key event names, so that listeners are
4765 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
4767 * test/keysynth-demo.c:
4768 Changed (incorrect) use of X key event names (KeyPressed,
4769 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
4772 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4774 * libspi/accessible.c:
4775 Convert all AtkRole enumerations to Accessibility_Role enums when
4776 getting a role from an AtkObject.
4778 * cspi/spi_accessible.c:
4779 Complete the conversion of Accessibility_Role enums at runtime to
4780 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
4781 role enums correctly match those given in spi-roletypes.h.
4782 Re-synchronize the local names list for AccessibleRole_getName ().
4783 AccessibleRole_getName is now deprecated, since it duplicates the
4784 more reliable Accessible_getRoleName.
4785 Added some role types from Accessibility_Role.idl.
4787 * idl/Accessibility_Role.idl:
4788 Added some role types used by AtkRole.
4790 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4793 * cspi/spi_registry.c:
4795 * cspi/cspi-bonobo-listener.c:
4796 Namespaced all methods that did not begin with an "SPI_" or
4797 "Accessible" prefix to "SPI_".
4800 Homogenized internal function namespace to "cspi_" for statics.
4803 Patched tests to use the new CSPI API.
4805 * docs/reference/cspi/at-spi-cspi-sections.txt:
4806 Updated docs to reflect namespace changes, and added a number of
4807 methods to the documentation.
4809 * registryd/registry.c:
4810 Changed use of strings and string hashes in listener event
4811 matching and parse_event_string to use GQuark, which is guaranteed
4814 * registryd/registry.h:
4815 Squashed annoying warning.
4817 * idl/Accessibility_Role.idl:
4818 Extended range of available Accessibility_Role values.
4820 * cspi/spi_accessible.c:
4821 Re-ordered role names.
4823 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4825 * idl/Accessibility_Value.idl:
4826 Revert use of union back to CORBA_double, since the double type is
4827 more efficient and can contain the other types without loss of
4830 * idl/Accessibility_Accessible.idl:
4831 Added method Accessibility:Accessible:getRoleName, to complement
4832 Accessibility:Accessible:getRole.
4834 * cspi/spi_accessible.c:
4836 Added C binding for above, Accessible_getRoleName (), and changed
4837 signature of Accessible_getRole () to return an AccessibleRole.
4839 * cspi/spi-roletypes.h:
4840 Changed AccessibleRole_getName to return a char * instead of a
4841 const char *. This method is now at least temporarily deprecated
4842 in favor of asking Accessibles for their RoleNames directly.
4845 Revert to match Accessibility_Value.idl;
4849 Change signature of AccessibleValue methods to use double rather
4853 * cspi/spi_accessible.c:
4854 Changed Accessible_getRole to return an AccessibleRole enum rather
4855 than a UTF-8 string. The UTF-8 string can still be obtained via
4856 AccessibleRole_getName ().
4858 * test/test-simple.c:
4859 Add test_action. Small fixup to match API change to Accessible_getRole.
4862 Bugfix for get_action_from_servant ().
4864 2001-12-11 Michael Meeks <michael@ximian.com>
4866 * libspi/libspi.h: remove registry.h and
4867 desktop.h, deviceeventcontroller.h
4869 * libspi/Makefile.am: remove registry.[ch],
4870 desktop.[ch], deviceeventcontroller.[ch]
4872 * registryd/Makefile.am: add registry.[ch],
4873 desktop.[ch], rename registryd.c to registry-main.c.
4874 add deviceeventcontroller.[ch]
4876 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4879 Replace setenv() call with putenv ().
4881 * libspi/component.c:
4882 Bugfix in AccessibleComponent_getExtents (),
4885 2001-12-11 Michael Meeks <michael@ximian.com>
4887 * libspi/image.c (impl_getImageExtents): impl.
4888 (spi_image_class_init): upd.
4891 (AccessibleImage_getImageDescription): fix daft bug
4894 * test/test-simple.c (global_listener_cb): update
4895 to only quit if not --poke
4896 (main): catch --poke.
4897 (validate_accessible): upd. dumping, call test_image
4900 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
4903 * idl/Accessibility.idl: update all IDL includes.
4905 * idl/*.idl - rename to namespace - this sucks, blame
4906 mjs' bad decision for oafd.
4908 * test/test-simple.c (create_test_window): add more tests.
4909 (create_tree): split this out.
4910 (validate_accessible): bugfix.
4912 2001-12-11 Michael Meeks <michael@ximian.com>
4914 * cspi/bonobo/cspi-bonobo-listener.c:
4915 (cspi_kestroke_listener_unref),
4916 (cspi_event_listener_unref): impl. undoing previous
4917 homenous environment - for Bill.
4919 * cspi/spi_table.c (long_seq_to_array): use
4922 * cspi/spi_main.c: split out all bonoboish bits into
4925 * cspi/spi-impl.h: upd. typedefs.
4927 * cspi/spi_registry.c: update to lowlevel API,
4928 return booleans to indicate success in some places.
4930 * cspi/spi_event.c: update to lowlevel API.
4932 * cspi/bonobo/Makefile.am: add.
4934 * cspi/bonobo/cspi-lowlevel.h: add
4936 * cspi/bonobo/cspi-bonobo.c: add
4938 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
4940 * cspi/Makefile.am: remove spi-listener-impl.[ch],
4941 (SUBDIRS): add bonobo, link in the libs.
4943 * cspi/spi-util.c: kill this file.
4945 * TODO: merge in my bits.
4947 2001-12-11 Michael Meeks <michael@ximian.com>
4949 * test/test-simple.c (test_value, test_table, main):
4950 remove unused variables causing warnings.
4952 * configure.in: cleanup checks - require gail.
4954 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4957 Changed Value interface to use SValue (scalars) rather than
4958 assuming all values are floats. This allows floats, doubles,
4959 longs, shorts, and unsigned values to be manipulated.
4960 Introduced Accessibility:SValue union.
4963 Updated to use new API above, and to work correctly with GValues
4964 of different types in AtkValue.
4967 Updated to use new API above. cspi's API is as yet unchanged.
4970 Updated the Value revision action item.
4972 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4974 * test/test-simple.c:
4975 Added test_table (GtkTreeView widget in test window to follow).
4976 Un-commented test_value, added GtkRange widget.
4977 Added GtkTreeView widget with GtkListStore. It passes regression
4978 test but leaks one SPI object for some reason.
4981 Fixed bug in impl__set_currentValue.
4983 2001-12-10 Michael Meeks <michael@ximian.com>
4985 * cspi/spi_text.c: audit for exception handling,
4986 tolerating NULL object references safely etc.
4988 * cspi/spi_value.c: ditto.
4990 * cspi/spi_table.c (AccessibleTable_getSummary),
4991 (AccessibleTable_getAccessibleAt),
4992 (AccessibleTable_getRowHeader),
4993 (AccessibleTable_getColumnHeader),
4994 (AccessibleTable_getCaption): fix bugs hidden by
4996 (long_seq_to_array): impl.
4997 (AccessibleTable_getSelectedRows),
4998 (AccessibleTable_getSelectedColumns): use it.
5000 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5003 Added a TODO list (rough and short for now).
5005 * cspi/spi_hyperlink.c:
5006 * cspi/spi_hypertext.c:
5007 Fixed macro name typos, and remove use of obsolete macro in
5008 AccessibleHyperlink_getLink.
5010 * cspi/spi_action.c:
5011 * cspi/spi_accessible.c:
5012 * cspi/spi_application.c:
5013 * cspi/spi_component.c:
5014 * cspi/spi_selection.c:
5017 Documentation fixes (removed return values from ref/unref methods).
5019 2001-12-10 Michael Meeks <michael@ximian.com>
5021 * cspi/spi_action.c: audit for exception handling,
5022 tolerating NULL object references safely etc.
5024 * cspi/spi_accessible.c: ditto.
5026 * cspi/spi_component.c: ditto.
5028 * cspi/spi_editabletext.c: ditto.
5030 * cspi/spi_hyperlink.c: ditto.
5032 * cspi/spi_hypertext.c: ditto.
5034 * cspi/spi_image.c: ditto.
5036 * cspi/spi_selection.c: ditto.
5038 2001-12-10 Michael Meeks <michael@ximian.com>
5040 * configure.in: use cspi/libspi.pc.in instead.
5042 * Makefile.am (pkgconfig_DATA): upd. to match.
5044 * test/simple-at.c (report_focus_event): kill hacks around
5045 bad return values, use putenv not setenv
5047 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
5048 fire ChildGone - I killed it.
5050 * libspi/component.c
5051 (impl_accessibility_component_get_extents): remove
5054 * idl/Accessible.idl: kill ChildGone exception.
5056 * cspi/*.[ch]: kill int return from ref / unref.
5058 * cspi/spi_main.c (cspi_object_add_check): fold into
5059 (cspi_object_add): here.
5061 * cspi/spi_component.c (AccessibleComponent_getExtents):
5062 handle exceptions elegantly.
5064 * cspi/spi-private.h (cspi_check_ev_return),
5065 (cspi_return_if_fail): impl.
5067 * cspi/spi_accessible.c: use extensively.
5068 (AccessibleStateSet_equals): add direct compare check.
5070 * cspi/spi_selection.c: tolerate NULL objs, and check
5071 exceptions before return.
5073 * cspi/spi-util.c (cspi_warn_ev): rename to
5074 (cspi_check_ev): this & don't pass ev in; no point.
5076 2001-12-10 Michael Meeks <michael@ximian.com>
5078 * test/test-simple.c: use putenv not setenv
5079 (get_environment_vars): more chatty if you're not using
5082 * test/simple-at.c: do the setenv so more people see the
5085 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5087 * libspi/registry.c:
5088 Changed check of CORBA_environment on notification to be a warning
5089 instead of an error for the moment, since we can recover from this
5090 error when caused by a queued notification from a dead app.
5093 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
5094 used by all current implementors of AtkValue), and coerce to
5095 CORBA_float. (Proper general case fix may require change to Value.idl).
5097 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5101 * cspi/spi_accessible.c:
5102 Documentation fixes: added user_data params to documentation for
5103 listeners and callbacks.
5105 * cspi/spi_accessible.c:
5106 Changed AccessibleStateSet_compare to return a
5107 StateSet rather than return the difference set into a third parameter.
5110 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5113 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
5114 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
5118 Remove subdirectory po from SUBDIRS for now.
5120 * at-bridge/bridge.c:
5121 Beefed up a couple of debug printouts.
5122 One-line fix for signal notification name formatting.
5124 * libspi/accessible.c:
5125 Added assertion to spi_accessible_new ().
5127 * libspi/application.c:
5128 Put #ifdef qualifiers around a printf.
5131 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
5133 * registryd/Makefile.am:
5135 Replaces use of XML_I18N_MERGE_SERVER_RULE with
5136 INTLTOOL_SERVER_RULE macro.
5139 Added an event listener for several ATK signals, for
5140 testing and debugging. Removed a few g_warnings.
5141 Added test output if focussed item implements the Value interface.
5143 * test/test-simple.c:
5144 Added test_value () function (known not to pass at the moment, so
5145 not actually called yet.
5147 2001-12-08 Michael Meeks <michael@ximian.com>
5149 * at-bridge/bridge.c (bridge_focus_tracker),
5150 (emit_eventv): fix the same ref. leak.
5151 (register_atk_event_listeners): don't leak.
5153 * cspi/spi-listener-impl.c (cspi_event): more
5154 protection from client code.
5156 * test/test-simple.c (test_desktop): unref the app.
5158 * test/Makefile.am: upd. TESTS.
5160 * at-bridge/bridge.c (bridge_exit_func): release the registry.
5162 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
5164 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
5166 * cspi/spi_registry.c: constify in strings.
5167 (deregisterGlobalEventListenerAll): don't release the ref.
5169 * cspi/spi.h: start removing redundant / conflicting
5170 gtkdoc comments, making the API readable at a glance :-)
5172 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
5174 * test/keysynth-demo.c (keysynth_exit, main): upd.
5176 * test/simple-at.c (main, simple_at_exit): upd.
5178 * test/test-simple.c (unutterable_horror): kill.
5179 (utterable_normal_derefs): kill.
5180 (main): upd & do a setenv before gtk_init, so that we
5181 can use memprof - and to save the pain of remembering
5182 this, if we're running under memprof - don't exit.
5184 * cspi/spi_main.c (SPI_exit): return exit status
5186 (SPI_event_quit): impl.
5187 (SPI_event_main): simplify.
5188 (cspi_is_gnome_app): kill.
5189 (SPI_init): kill isGNOMEapp arg.
5191 * at-bridge/bridge.c (register_atk_event_listeners):
5192 re-instate the unref.
5193 (bridge_exit_func): don't re-activate the registry,
5194 protect vs. theoretical re-entry, use the
5195 AT_BRIDGE_SHUTDOWN env. var to determine whether to
5196 assert a clean shutdown - for regression tests.
5198 2001-12-08 Abel Cheung <maddog@linux.org.hk>
5200 * configure.in: Comment out dummy i18n support for now,
5201 otherwise it fails to build.
5202 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
5203 EXTRA_DIST. They are missing in tarball.
5205 2001-12-07 Michael Meeks <michael@ximian.com>
5207 * util/magnifier.c: kill bonobo activation reg. race.
5209 * libspi/component.c
5210 (impl_accessibility_component_get_extents): make it match
5213 * libspi/registry.c (_registry_notify_listeners):
5214 re-remove X headers & reconcile conflicts.
5215 (spi_listener_struct_free): bad conflict resolve.
5216 (impl_accessibility_registry_register_application):
5217 more bad merging fixed.
5218 (impl_accessibility_registry_deregister_application): ditto.
5219 (spi_registry_new): ditto.
5220 (spi_registry_init): don't have an applications field.
5222 [ merge fixups2 branch to here ]
5223 2001-12-07 Michael Meeks <michael@ximian.com>
5225 * test/simple-at.c (report_focus_event),
5226 (report_focussed_accessible): remove g_warning debug.
5228 2001-12-07 Michael Meeks <michael@ximian.com>
5230 * test/test-simple.c (validate_tree): comment out some checks.
5231 (test_desktop): app now not registered idly - horay.
5233 2001-12-07 Michael Meeks <michael@ximian.com>
5235 * cspi/spi_registry.c
5236 (registerAccessibleKeystrokeListener): clean, stop it leaking
5237 great swathes of memory, and device event controller references.
5238 ensure we always pass valid sequences.
5239 (deregisterAccessibleKeystrokeListener): ditto.
5240 (generateKeyEvent): upd.
5242 * at-bridge/bridge.c (bridge_key_listener): handle
5243 registry dead exception gracefully.
5244 (bridge_focus_tracker, emit_eventv): free ev.
5246 * test/simple-at.c (report_focus_event): fix polarity.
5248 * libspi/application.c (notify_listeners): kill the ev
5249 argument, and make sure we init the ev we use.
5250 (spi_application_object_event_listener): split out a chunk
5251 (get_atk_object_ref): here & fixup.
5252 (reverse_lookup_name_for_toolkit_event): make const.
5253 (spi_application_toolkit_event_listener): fixup, kill leaks
5256 * at-bridge/bridge.c (register_atk_event_listeners):
5257 don't unref the noop object - causes grief.
5259 * libspi/registry.c: remove the X headers.
5260 turn off the debug churn.
5262 * libspi/accessible.c (spi_accessible_new_return): only
5263 release the ref if we are supposed to [doh]
5265 * test/simple-at.c (report_button_press, report_focus_event):
5266 guard vs. unexpected exit.
5268 * at-bridge/bridge.c (gtk_module_init): prune printf.
5269 (bridge_exit_func): fix app unref.
5271 * libspi/Makefile.am: don't install registry or desktop.h
5273 * libspi/*.h: update includes.
5275 * libspi/application.h: don't include ourself, or
5276 other redundant headers.
5278 2001-12-06 Michael Meeks <michael@ximian.com>
5280 * libspi/accessible.c
5281 (get_accessible_from_servant): impl.
5282 Upd. all CORBA impl.s to use it killing cut and paste.
5284 * cspi/spi_main.c (cspi_cleanup): guard vs. double
5286 (SPI_init): register atexit cleanup handler here.
5288 2001-12-06 Michael Meeks <michael@ximian.com>
5290 * at-bridge/bridge.c (gtk_module_init): g_error on
5291 activation exception
5293 2001-12-06 Michael Meeks <michael@ximian.com>
5295 * at-bridge/bridge.c (gtk_module_init): some sort of
5296 confusing merge clash - reverted.
5297 (bridge_idle_init): ditto.
5299 * test/test-simple.c (main, utterable_normal_derefs):
5300 merge from Bill - somehow not committed.
5302 2001-12-06 Michael Meeks <michael@ximian.com>
5304 * libspi/value.c (spi_value_class_init): upd.
5305 (spi_value_finalize): kill.
5307 * libspi/table.c (spi_table_finalize): kill.
5308 (spi_table_interface_new): upd.
5309 (spi_table_class_init): upd.
5310 (get_table_from_servant): impl.
5311 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5313 * libspi/selection.c (spi_selection_finalize): kill.
5314 (spi_selection_interface_new): upd.
5315 (spi_selection_class_init): upd.
5316 (get_selection_from_servant): impl.
5317 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5319 * libspi/relation.c (spi_relation_finalize): kill.
5320 (spi_relation_class_init, spi_relation_new): upd
5322 * libspi/image.c (spi_image_finalize): kill.
5323 (spi_image_class_init): upd.
5324 (spi_image_interface_new): upd.
5325 (get_image_from_servant): impl.
5326 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5328 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
5329 (spi_hyperlink_finalize): kill.
5330 (spi_hyperlink_new): upd.
5331 (get_hyperlink_from_servant): impl.
5332 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5334 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
5335 (spi_hypertext_finalize): kill.
5336 (spi_hypertext_class_init): upd.
5337 (get_hypertext_from_servant): impl.
5338 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5340 * libspi/editabletext.c (spi_editable_text_finalize): kill.
5341 (spi_editable_text_interface_new): upd.
5342 (get_editable_text_from_servant): impl.
5343 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5345 * libspi/text.c (get_text_from_servant): impl.
5346 All impls - update to use it killing more cut and paste,
5347 also fix bad string returns on duff args ( a somewhat
5348 impossible case to handle - but hey ).
5349 (spi_text_construct): impl.
5350 (spi_text_interface_new): upd.
5351 (spi_text_object_finalize): kill.
5353 * libspi/component.c
5354 (accessibility_component_object_finalize): kill.
5355 (spi_component_class_init): upd.
5356 (get_component_from_servant): impl. helper to kill cut & paste.
5357 (impl_accessibility_component_contains):
5358 (impl_accessibility_component_get_accessible_at_point):
5359 (impl_accessibility_component_get_position):
5360 (impl_accessibility_component_get_extents):
5361 (impl_accessibility_component_get_mdi_z_order):
5362 (impl_accessibility_component_get_layer):
5363 (spi_component_interface_new): upd.
5365 * libspi/action.c (spi_action_finalize): kill.
5366 (spi_action_class_init): upd. inherit from SpiObject.
5367 (spi_action_interface_new): upd.
5368 (get_action_from_servant): impl. helper to reduce cut & paste.
5369 (impl_getKeyBinding, impl_getName, impl_doAction),
5370 (impl_getDescription): Use it everywhere.
5372 * cspi/spi_main.c (get_live_refs): a pointer hash.
5373 (spi_object_hash, spi_object_equal): comment out.
5374 There are issues with CORBA object hashing that need
5377 * libspi/application.c (spi_application_init),
5378 (spi_application_new): upd.
5380 * libspi/accessible.c (spi_accessible_object_finalize): kill.
5381 (spi_accessible_class_init): upd.
5382 s/accessible/object/ in epv methods.
5384 2001-12-05 Bill Haneman <bill.haneman@sun.com>
5386 * at-bridge/bridge.c:
5387 Reorder the bridge initialization into the bridge gtk_module_init,
5388 an immediate call to bridge_register_app, and an idle_add for
5389 register_atk_event_listeners (the only code that *must* wait until
5390 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
5391 the activation, creates the application's Accessible object, and
5392 queues the bridge_idle_init function. Restored call to
5393 Accessibility_Registry_deregisterApplication().
5394 Prior to making this call we obtain a new reference to the
5395 registry, which is a temporary hack that helps us handle apps that
5396 shut down the bonobo mainloop before we get there.
5398 * libspi/registry.c:
5399 Fix string leakage in debug block, and don't segv if a an app
5400 dies before its event notifications have been propagated.
5403 Modify cspi_check_ev() to call g_warning() rather than g_error(),
5404 as stopgap measure until we get proper exception handling when
5405 objects die during or before interrogation.
5409 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
5410 Also changed default value of is_gnome_app to TRUE.
5413 * test/keysynth-demo.c:
5414 Changed use of SPI_init and SPI_event_main to reflect API change above.
5417 Made report_focus_event check the warning value from getName
5418 before reporting on focussed accessible; simplifies handling of
5419 notifications from dead objects.
5421 * test/test-simple.c: (Changes not in this patch since source is
5424 2001-12-05 Michael Meeks <michael@ximian.com>
5426 * registryd/registryd.c (main): protect against
5427 bonobo-activation startup race condition.
5429 * cspi/spi_main.c (cspi_object_add_check): cope
5430 with the exception elegantly.
5432 * idl/Accessible.idl: decl. ChildGone
5434 * libspi/desktop.c (spi_desktop_dispose): impl.
5435 (spi_desktop_class_init): upd.
5436 (spi_desktop_add_application),
5437 (spi_desktop_remove_application),
5438 (abnormal_application_termination): impl.
5439 (impl_desktop_get_child_at_index): re-impl.
5442 (impl_accessibility_registry_deregister_application),
5443 (impl_accessibility_registry_register_application):
5444 kill excessive debug clutter.
5446 * test/test-simple.c (test_misc): test some NULL
5447 tolerance. (main): upd.
5449 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
5450 implements no interfaces - so let's not crash.
5452 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
5454 * libspi/accessible.c (spi_accessible_new_return): impl.
5455 helper to calm the cut and paste, to cope with
5456 NULL AtkObjects effectively and efficiently, and to kill
5457 the referencing bugs.
5459 * libspi/table.c (impl_getAccessibleAt),
5460 (impl_getRowHeader, impl_getColumnHeader): upd.
5462 * libspi/hyperlink.c (impl_getObject): upd.
5464 * libspi/accessible.c
5465 (impl_accessibility_accessible_get_child_at_index): upd.
5467 * libspi/component.c
5468 (impl_accessibility_component_get_accessible_at_point): upd.
5470 * test/test-simple.c (test_editable_text, test_text): impl.
5473 * cspi/spi_editabletext.c
5474 (AccessibleEditableText_insertText): constify.
5476 * test/test-simple.c (focus_me): make more robust.
5478 * libspi/accessible.c: remove some printfs in methods that
5479 we test and work fine, so we can get a clean tree dump.
5481 * test/test-simple.c (validate_accessible),
5482 (validate_tree): make tree dumping pretty too.
5484 * at-bridge/bridge.c (bridge_signal_listener): upd. so
5485 it builds without debug on.
5487 * test/test-simple.c (validate_accessible): fix the most
5490 * cspi/spi_main.c (spi_object_release): leave the nicely
5491 blanked memory around if in debug mode.
5493 * cspi/spi-listener-impl.c (cspi_event): use add_check.
5495 [committed to fixups2]
5496 2001-12-05 Michael Meeks <michael@ximian.com>
5498 * libspi/editabletext.c
5499 (spi_editable_text_class_init): g_type_class_peek_parent,
5500 not interface peek - so we finalize cleanly.
5502 * libspi/accessible.c (spi_accessible_new): kill debug.
5504 * test/test-simple.c (validate_accessible): fix ref.
5505 leak, print strings before freeing them; sigh, comment a
5506 chunk out due to strangeness.
5507 (validate_tree): unref the child after use.
5509 * cspi/spi_component.c (AccessibleComponent_getLayer):
5510 add missing break statement, switch on zlayer not the
5511 uninitialized retval.
5513 * cspi/spi_main.c (cspi_object_add): add assert, local ref
5514 before (possibly re-entering) remote unref.
5516 * test/simple-at.c (main): unref the desktop.
5518 * cspi/spi_accessible.c (cspi_accessible_is_a): move
5521 * cspi/spi_main.c (cspi_accessible_is_a): here to
5522 isolate bonobo API usage more.
5524 * libspi/registry.c (impl_accessibility_registry_register_application):
5525 prune bogus comment.
5527 2001-12-04 Michael Meeks <michael@ximian.com>
5529 * test/test-simple.c (validate_tree): upd.
5530 IndexInParent check to make it more lucid.
5531 (validate_accessible): dump the tree.
5533 * libspi/accessible.c (de_register_public_ref),
5534 (get_public_refs): impl.
5535 (spi_accessible_new): make more efficient & intuitive.
5536 Now IndexInParent check works.
5538 2001-12-04 Michael Meeks <michael@ximian.com>
5540 * cspi/spi-util.h: remove.
5542 * cspi/spi.h: move SPI_freeString here
5544 * libspi/component.c (impl_accessibility_component_get_layer):
5546 (impl_accessibility_component_get_mdi_z_order): ditto,
5547 return -1 on error - is this ok ?
5549 * test/test-simple.c (test_application): impl.
5551 * cspi/spi_accessible.c (Accessible_getApplication),
5552 (Accessible_isApplication): impl.
5554 * libspi/registry.c (spi_listener_struct_free): release
5555 the CORBA reference too.
5557 * libspi/accessible.c
5558 (impl_accessibility_accessible_get_parent): fix ref leak.
5560 * libspi/registry.c (spi_registry_new): make the registry
5561 immortal - we don't want it to go away ever.
5563 * libspi/application.c
5564 (spi_accessible_application_finalize): impl. cleanup.
5566 * cspi/spi_registry.c
5567 (deregisterGlobalEventListenerAll),
5568 (deregisterGlobalEventListener),
5569 (deregisterAccessibleKeystrokeListener): fix ref leak.
5571 * cspi/spi_main.c (SPI_init): remove redundant ref.
5573 * test/test-simple.c (unutterable_horror): impl. to force a
5578 (impl_accessibility_registry_deregister_application): release
5579 the application when we de-register it.
5581 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
5582 until we have the infastructure to get it right.
5584 2001-12-03 Michael Meeks <michael@ximian.com>
5586 * libspi/Makefile.am: only build eventlistener.[ch]
5588 * libspi/accessible.c
5589 (impl_accessibility_accessible_get_child_at_index): don't leak.
5591 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
5592 before we hit the idle handler.
5594 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
5595 debugging than exit.
5597 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
5599 * libspi/listener.c (impl_notify_event): check source
5600 not NIL before unref.
5602 * libspi/registry.c (impl_registry_notify_event): ditto.
5604 * libspi/eventlistener.c
5605 (impl_accessible_event_notify_event): unref the source.
5607 * libspi/accessibleeventlistener.c
5608 (impl_accessible_event_notify_event): unref the source.
5610 * idl/Event.idl: remove 'hash_id' attribute - of no
5613 * libspi/application.c (notify_listeners): upd list
5615 (spi_application_object_event_listener),
5616 (spi_application_toolkit_event_listener): upd to do correct
5620 (_registry_notify_listeners): update.
5621 (parse_event_type): this method also leaks like a sieve.
5622 (impl_accessibility_registry_deregister_global_event_listener):
5623 fix ETYPE_WINDOW case.
5625 * libspi/application.c
5626 (impl_accessibility_application_register_object_event_listener):
5629 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
5631 * libspi/hypertext.c (impl_getLink): ditto.
5633 * cspi/spi_main.c (cspi_object_add): remove
5634 bogus CORBA_Object_duplicate.
5636 * cspi/spi-listener-impl.c (cspi_event): dup/ref
5639 * cspi/spi_accessible.c
5640 (Accessible_getRelationSet): fix leak / referencing issue.
5642 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
5643 (cspi_object_add, cspi_object_unref): upd.
5644 (spi_object_release, get_live_refs): impl.
5645 (cspi_cleanup): simplify.
5647 * *.[ch]: s/boolean/SpiBoolean/
5649 * cspi/spi_accessible.c (role_names): actualy order so it
5650 corresponds with the enum !
5652 * test/test-simple.c (test_roles): check some role strings
5653 vs. enums to detect offset errors.
5655 2001-12-01 Michael Meeks <michael@ximian.com>
5657 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
5659 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
5661 (Accessible_getChildAtIndex): use cspi_add_check so we
5662 check the ev before using a (possibly) invalid value.
5664 * libspi/accessible.c
5665 (impl_accessibility_accessible_get_parent): don't segv
5668 * at-bridge/bridge.c (gtk_module_init): upd.
5669 (bridge_property_event_listener): don't leak strings
5671 (bridge_state_event_listener),
5672 (bridge_property_event_listener): don't use a static
5673 buffer in case of recursive event emission &
5674 re-enterancy - split out the swathe of cut and paste
5676 (emit_eventv): and fix 2 ref leaks here & comply to the
5678 (bridge_register_app): rename to
5679 (bridge_idle_init): this and kill arg parsing, split
5680 various inits & bonobo-activation registration to module
5681 init time, kill referencing error.
5682 (bridge_exit_func): fix the same leak.
5683 (bridge_focus_tracker): don't leak event structures
5685 (bridge_signal_listener): more leakage and cut & paste
5687 (bridge_key_listener): return the result - FIXME is
5688 this polarity correct ?
5689 (accessibility_keystroke_from_atk_key_event): rename
5690 (accessibility_init_keystroke_from_atk_key_event): and stop
5692 (gtk_module_init): return a value - not that it is checked by
5694 (bridge_key_listener): register my horror at casting between
5695 IDL defined structs.
5696 (bridge_get_registry): kill - not used.
5698 * cspi/spi_accessible.c (Accessible_getRole): make return const.
5700 * test/test-simple.c (test_roles): impl.
5701 (test_desktop, validate_accessible, validate_tree): impl.
5703 * cspi/spi_accessible.c (role_names): fixup bogus
5704 MAX_ROLES setup, make constants const for efficient linkage
5705 (AccessibleRole_getName): conform to coding style, make
5708 2001-11-30 Michael Meeks <michael@ximian.com>
5710 * cspi/spi.h: add missing prototype.
5712 * libspi/registry.c (spi_listener_struct_new): fix sig.
5714 * test/Makefile.am: add test-simple
5716 * test/test-simple.c: add
5718 * test/test.sh: add.
5720 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
5722 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
5723 do it straight - since otherwise we often get an activation race.
5725 [ work before Bill duplicated a chunk of it ... ]
5726 2001-11-30 Michael Meeks <michael@ximian.com>
5728 * libspi/keystrokelistener.c
5729 (spi_keystroke_listener_class_init): fixup arg
5732 * libspi/eventlistener.c
5733 (spi_event_listener_class_init): ditto.
5735 * tests/test.sh: add.
5737 * cspi/spi-listener-impl.h: update macros.
5739 * cspi/spi-listener-impl.c
5740 (cspi_event_listener_remove_callback): add
5741 correct pre-conditions.
5743 * cspi/spi_main.c (SPI_exit): guard vs. double
5744 exits, exit the mainloop nicely.
5745 (SPI_event_main): make more sense.
5746 (SPI_init): move the atexit evilness here so we
5747 always do it (yuck).
5748 (SPI_event_main): upd.
5750 * test/simple-at.c: update for listener changes.
5752 * registryd/registryd.c (main): prune kruft.
5754 * libspi/libspi.h: upd.
5756 * libspi/eventlistener.[ch]: rename broken macros.
5758 * libspi/accessibleeventlistener.[ch]: remove.
5760 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
5762 * test/test-simple.c: Add - automated tests.
5764 * cspi/spi-listener-impl.c (cspi_event),
5765 (cspi_key_event): add user_data to invoke.
5766 (cspi_keystroke_listener_finalize): impl.
5767 (cspi_keystroke_listener_class_init): upd.
5770 (createAccessibleEventListener),
5771 (AccessibleEventListener_addCallback),
5772 (createAccessibleKeystrokeListener),
5773 (AccessibleKeystrokeListener_addCallback): upd.
5775 * libspi/deviceeventcontroller.c
5776 (spi_device_event_controller_check_key_event): add public proto.
5779 (impl_accessibility_registry_deregister_global_event_listener):
5780 always init listeners.
5781 (_registry_notify_listeners): yes it is.
5783 * cspi/spi-listener-impl.c (cspi_key_event):
5785 (cspi_event_listener_finalize): impl.
5786 (cspi_event_listener_class_init): hook up.
5787 (event_handler_new, event_handler_free),
5788 (event_list_remove_by_callback): impl.
5789 (cspi_event_listener_remove_callback),
5790 (cspi_keystroke_listener_remove_callback),
5791 (cspi_keystroke_listener_add_callback),
5792 (cspi_event_listener_add_callback): upd.
5794 * libspi/keystrokelistener.c
5795 (keystroke_listener_object_finalize): kill
5796 (spi_keystroke_listener_class_init): upd.
5797 (spi_keystroke_listener_add_callback),
5798 (spi_keystroke_listener_remove_callback): kill,
5800 (impl_key_event): prune drasticaly.
5802 * libspi/eventlistener.c
5803 (spi_event_listener_add_callback),
5804 (spi_event_listener_remove_callback): kill, use
5806 (impl_accessible_event_notify_event): upd.
5807 (spi_event_listener_object_finalize): remove.
5809 * libspi/Makefile.am: use eventlistener.[ch]
5811 2001-12-04 Bill Haneman <bill.haneman@sun.com>
5813 * libspi/registry.c (_registry_notify_listeners):
5814 Changed listener loop iteration to use preferred convention.
5815 Got rid of string memory leaks caused be calling g_strconcat
5816 inside function calls.
5818 * libspi/registry.c (parse_event_type):
5819 Stopped g_strconcat memory leaks, free the g_strsplit return,
5820 g_strdup the split pieces when used, etc.
5822 2001-12-04 Bill Haneman <bill.haneman@sun.com>
5825 Change method 'compare' to return a 'difference set' rather than
5826 taking a StateSet as an out parameter (more Java-friendly).
5828 * idl/Accessible.idl:
5829 Added CORBA struct 'BoundingBox', to faciliate API changes below:
5831 * idl/Component.idl:
5833 Changed methods 'getExtents' and 'getImageExtents' in these
5834 interfaces to return a BoundingBox structure.
5835 (getPosition and getSize are redundant and possibly should be
5836 removed, rather than creating a corresponding Point struct.)
5838 * cspi/spi_component.c:
5839 Modify implementation of getExtents to reflect the above IDL
5844 Add (missing) AccessibleImage_getExtents () API.
5846 * docs/reference/cspi/at-spi-cspi-sections.txt:
5847 Added AccessibleImage_getImageExtents () to docs.
5849 2001-12-03 Bill Haneman <bill.haneman@sun.com>
5851 * idl/Component.idl:
5852 Added two methods, getLayer () and getMDIZOrder (), to reflect
5853 the new ATK methods atk_object_get_layer and
5854 atk_object_get_mdi_z_order. (Which arguably should be part of the
5855 AtkComponent API and AtkObject). Also added an enum,
5856 ComponentLayer, for the first method's return value.
5858 * libspi/component.c:
5859 Added implementations for these methods.
5861 * cspi/spi_component.c:
5863 Added cspi binding methods for above,
5864 AccessibleComponent_getLayer() and
5865 AccessibleComponent_getMDIZOrder().
5866 Added cspi enum 'AccessibleComponentLayer'.
5868 * docs/reference/cspi/at-spi-cspi-sections.txt:
5869 Added above methods to docs.
5873 Changed typedef for 'boolean' type (and all references to it) to
5874 SPIBoolean, to avoid keyword clashes with C++.
5877 Changed usages of 'boolean' to SPIBoolean.
5879 * test/keysynth-demo.c:
5880 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
5881 app), except where SPIBoolean is required by the callbacks API.
5883 2001-12-02 Bill Haneman <bill.haneman@sun.com>
5885 * cspi/spi_registry.c:
5886 Removed obsolete X event loop for passive keygrabs (which now
5889 * registryd/registryd.c:
5890 Removed unnecessary call to gdk_init() [cruft]. This also allows
5891 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
5894 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5896 * docs/reference/cspi:
5897 Included docs for SPI_freeString in generated documentation.
5900 Renamed spi_freeString to SPI_freeString, for consistency. Added
5901 documentation for this function.
5904 Renamed spi_freeString to SPI_freeString, for consistency.
5905 Removed obsolete method declaration string_from_corba_string.
5907 * test/keysynth-demo.c:
5908 Small tweak to comments.
5911 Stopped leaking the strings returned from CSPI.
5913 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5915 Merged Michael's branch (see his ChangeLog entries below).
5917 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
5918 bridge is alive, release on exit.
5920 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
5921 Fix type check macro.
5924 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
5927 Added is_gnome_app static, and method cspi_is_gnome_app(),
5928 so we can call the appropriate shutdown routine at exit in SPI_exit.
5930 * cspi/spi_main.c (cspi_object_ref):
5931 Duplicate the corba object passed in, since we're keeping it around.
5933 * cspi/SPI_exit.c, cspi_cleanup:
5934 Moved the releasing of the live refs to its own function, so we
5935 can put it in g_atexit (). Call the appropriate shutdown API
5936 depending on whethe calling client is a gnome app or not
5937 (bonobo_main_quit or CORBA_ORB_shutdown).
5939 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
5940 Unref the listener when this method is called, after
5941 deregistration. Updated the API docs to note this behavior.
5943 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
5944 Bugfixes: Ref the bonobo object when returning a parent or child
5945 reference, or an AccessibleRelation. Generally made sure
5946 BonoboObject refcount is incremented whenever we return an
5949 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
5950 Fixed typo/bug in signal declaration.
5952 * libspi/accessibleeventlistener.h:
5955 * libspi/application.c (spi_application_new):
5956 Fixed leak in initialization.
5959 Remembered to increment bonobo-object refcount when returning
5960 children (applications) from desktop object.
5961 Added (empty) finalize method.
5963 * libspi/deviceeventcontroller.c:
5964 Hold a ref to listeners inside DEControllerKeyListeners.
5965 Added dec_key_listener_free() method. Use prepend instead of
5966 append in key_listener list. Fixed some refcount madness and
5967 leaks in the listener registration/deregistration - deregistration
5968 now calls dec_key_listener_free() on listeners, and on the
5969 temporarily constructed dec_key_listener() used to perform the search/match.
5971 * libspi/hypertext.c (spi_hypertest_finalize):
5972 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
5973 class. Also fixed spi_hypertext_interface_new() and
5974 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
5976 * libspi/hypertext.h:
5977 Removed pointless and duplicate AtkObject pointer from
5980 * libspi/keystrokelistener.c:
5981 Fixed incorrect type of keystroke_listener_parent_class,
5982 renamed keystroke_listener_object_finalize to
5983 spi_keystroke_listener_object_finalize.
5984 Fixed typo in signal declaration
5985 (spi_keystroke_listener_class_init).
5987 * libspi/registry.c:
5988 Added funcsions spi_listener_struct_new() and
5989 spi_listener_struct_free() to help with memory management issues.
5990 We also now use these methods instead of gnew + poking stuff into
5991 the struct, and to decrement listener counts/free the listeners
5992 when deregistering them.
5993 Fix more refcount bugs in getDesktop() and
5994 getDeviceEventController().
5997 De-ref the desktop after enumerating the applications. Explicitly
5998 decrement the refcounts on the created listeners on exit (using
5999 _unref for keystroke listeners, and via the
6000 deregisterGlobalEventListenerAll command for other event
6003 2001-11-27 Michael Meeks <michael@ximian.com>
6005 * cspi/spi-listener.h: fixup enum.
6007 2001-11-27 Michael Meeks <michael@ximian.com>
6009 * cspi/spi-listener-impl.c (cspi_event_listener_new),
6010 (cspi_keystroke_listener_new): Use the cspi variants.
6012 2001-11-26 Michael Meeks <michael@ximian.com>
6014 * test/keysynth-demo.c: fix 2 compile warnings, missing
6017 * test/simple-at.c (report_focussed_accessible),
6018 (report_focus_event, report_button_press),
6019 (check_property_change, is_command_key),
6020 (report_ordinary_key_event, report_command_key_event): upd.
6022 * util/mag_client.h: include pre-requisites.
6024 * libspi/accessibleeventlistener.c
6025 (spi_event_listener_object_finalize): free any lingering
6028 * libspi/keystrokelistener.c
6029 (keystroke_listener_object_finalize): ditto.
6031 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
6032 callbacks, with cspi types.
6034 * cspi/spi_event.c (createAccessibleEventListener): chain to
6035 (AccessibleEventListener_addCallback): here.
6036 (createAccessibleKeystrokeListener): chain to
6037 (AccessibleKeystrokeListener_addCallback): here.
6039 * libspi/keystrokelistener.c
6040 (spi_keystroke_listener_class_init): add signal.
6041 (impl_key_event): emit the event.
6042 (boolean_handled_accumulator): impl.
6043 (marshal_BOOLEAN__POINTER): add, gack.
6045 * libspi/accessibleeventlistener.c
6046 (spi_event_listener_class_init): add signal.
6047 (impl_accessible_event_notify_event): emit the signal &
6048 make the loop efficient.
6049 (spi_event_listener_add_callback): prepend the callback.
6051 * libspi/accessibleeventlistener.h: add an 'event' signal,
6052 decl type on callback.
6054 * libspi/keystrokelistener.h: ditto.
6056 * cspi/spi-listener.h: make methods typesafe and
6057 make them use the new event typedefs.
6059 * test/simple-at.c (report_focussed_accessible):
6060 include mag_client.h
6061 Use *(void *)text_interface not the other thing.
6063 * configure.in: add gtk to registryd bits - since we use
6066 * util/magnifier.c: include libbonobo.h
6068 2001-11-25 Bill Haneman <bill.haneman@sun.com>
6070 * test/keysynth-demo.c:
6071 Turned this into a simple scanning keyboard, to demonstrate the
6072 use of g_timeout_add () as a means of creating timers for
6073 scanning, and the use of GtkStyle for visually indicating when
6074 virtual keyboard elements are selected.
6076 keysynth-demo now listens to any keyboard keys with zero-valued
6077 keycodes (i.e. 'unused' keys) and interprets them as
6080 Reworked the shiftlatch code so that shift-down state isn't held
6081 for long periods (it's only synthesized immediately prior to
6082 the keysynth event it's modifying). Note that shiftlatch in this
6083 demo is a convenience, not intended to take the place of AccessX
6084 which is the better choice for getting 'sticky' modifier keys.
6086 * libspi/deviceeventcontroller.c:
6087 * at-bridge/bridge.c:
6088 * cspi/spi_registry.c:
6089 Removed some debug print stuff, and put other verbosity in #ifdef
6094 Implemented some more of the magnifier IDL for the simple
6095 magnifier: namely, getZoomRegionParams.
6096 Added mag_x and mag_y members to MagnifierData struct, aid of this
6098 Added GtkWindow::realize signal handler to magnifier, to keep it
6099 from receiving keyboard focus from the WM.
6101 2001-11-23 Mark McLoughlin <mark@skynet.ie>
6103 * cspi/spi-private.h: my guess at what michael forgot
6104 before he ran off to NZ :-)
6106 2001-11-23 Michael Meeks <michael@ximian.com>
6108 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
6109 comment out non existant method invoke so we link.
6111 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
6112 use bonobo_exception_get_text for more friendly warnings.
6114 * cspi/spi.c (Obj_Add): move into spi_main & rename
6115 spi_object_add; kill spi.c
6117 * cspi/spi_registry.c
6118 (deregisterGlobalEventListener),
6119 (deregisterGlobalEventListenerAll),
6120 (registerGlobalEventListener): fix exception leaks.
6122 * cspi/spi_main.c (spi_exception): impl. helper, so we
6123 don't leak exceptions.
6125 * cspi/spi_selection.c
6126 (AccessibleSelection_deselectSelectedChild): return the
6129 * cspi/spi_main.c (spi_ev): impl; hack - gack.
6130 (spi_registry): ditto.
6131 (SPI_init): guard against double inits.
6133 * cspi/*.c: use spi_ev (), and spi_registry () where
6134 appropriate - a temporary hack until we have something
6135 better. Use spi_object_add
6137 2001-11-22 Michael Meeks <michael@ximian.com>
6139 * cspi/Makefile.am: re organise, install the headers.
6141 * cspi/*.h: add G_BEGIN/END_DECLS
6143 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6146 Added non-preemptive keylistener for key events with no modifiers
6147 and shift-only modifier.
6149 * libspi/keystrokelistener.c:
6150 Removed some verbose diagnostics printout.
6152 * cspi/spi_registry.c:
6153 Fixed a bug that caused all key listeners to be registered as
6156 * libspi/deviceeventcontroller.c:
6157 Fixed bug that caused XGrabKey (preemptive key grab) to be called
6158 for non-preemptive key masks.
6161 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6163 * docs/reference/idl/at-spi-idl-docs.sgml:
6164 * docs/reference/idl/at-spi-idl-sections.txt:
6165 * docs/reference/idl/at-spi-idl-overrides.txt:
6166 Added missing files.
6168 * docs/reference/Makefile.am:
6169 removed idl from SUBDIRS until we can figure a way to get gtk-doc
6170 to scan the IDL files :-(
6175 Added .cvsignore files.
6177 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6179 * libspi/deviceeventcontroller.c:
6180 * libspi/keystrokelistener.c:
6182 * cspi/spi_registry.c:
6183 Added filters for KeySets, KeyEventSeq, and event types to key
6184 event dispatching, so listeners should only receive those events
6185 that they requested :-)
6187 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6192 * docs/reference:Makefile.am:
6193 * docs/reference/cspi:
6194 * docs/reference/cspi:Makefile.am:
6195 * docs/reference/cspi:tmpl:
6196 * docs/reference/cspi:tmpl:*.sgml:
6197 * docs/reference/idl:
6198 * docs/reference/idl:Makefile.am:
6199 * docs/reference/idl:at-spi-idl-sections.txt:
6200 * docs/reference/idl:at-spi-idl-docs.sgml:
6201 * docs/reference/idl:tmpl:
6202 * docs/reference/idl:tmpl:*.sgml:
6204 Restructured docs directory to allow separate 'reference' docs
6205 section, and forked idl and cspi docs. Added the sgml template
6206 files to CVS. Added the first sections/structural sgml for the
6209 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
6211 * configure.in, libspi/Makefile.am: find libXtst.
6213 2001-11-21 Michael Meeks <michael@ximian.com>
6215 * test/accessx-gui.c: s/spi_value/value/ - doh.
6217 * libspi/base.[ch]: add.
6219 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6221 * idl/Accessible.idl:
6222 * idl/Application.idl:
6225 Started gtk-doc cleanup on IDL.
6227 * libspi/deviceeventcontroller.c:
6228 Added and connected non-preemptive key notification from the
6229 toolkits (in addition to the pre-emptive support from XServer
6230 which we had before, but which causes 'focus flashing'). Filters
6231 are presently limited to key modifiers and global/non-global,
6232 KeySets are presently ignored, as are KeyEvent masks.
6234 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
6235 structs into the persistant structure rather than just storing
6236 pointers to things that might not persist across servant
6239 The XGrabKey call now does async keygrabs, because synchronous
6240 ones were deadlocking with GDK_event code in a very nasty way.
6242 Added boolean to internal method notify_keylisteners, to indicate
6243 whether the event came from the 'toolkit source' or the 'global
6244 (XServer) source' - this is used in the notification process to
6245 determine which listeners to send the event to.
6247 deviceeventcontroller.c is now warning-free.
6249 * libspi/registry.c:
6250 Fixed regression in application de-registration.
6251 Also fixed some really brain-dead weirdness having to do with
6252 event dispatching - event structs are now duplicated before being
6253 re-marshalled in the dispatch to listeners. This also fixes a
6254 Solaris build problem.
6257 2001-11-20 Michael Meeks <michael@ximian.com>
6260 (impl_accessibility_registry_deregister_global_event_listener):
6263 * libspi/deviceeventcontroller.c
6264 (spi_device_event_controller_check_key_event): return
6265 FALSE on no virtual method.
6267 * libspi/*..h: make includes work on a correctly pathed install.
6269 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
6271 * libspi/application.h: kill unused ( and whacked out )
6272 gboolean *spi_application_set_id (AtkObject *app, long id);
6274 2001-11-20 Michael Meeks <michael@ximian.com>
6276 * libspi/*.[ch]: further convert to bonobo's type func
6277 macros, remove redundnant casts etc.
6279 * libspi/text.c s/accessibility_text/spi_text/g,
6280 re-order to de-cruft.
6282 * libspi/hypertext.c: re-order to kill a huge slew
6283 of redundant forward decls.
6285 * libspi/relation.c: ditto.
6287 * libspi/image.c: ditto.
6289 * */.cvsignore: update
6291 2001-11-20 Michael Meeks <michael@ximian.com>
6293 * libspi/deviceeventcontroller.c
6294 (_controller_register_with_devices): use g_getenv,
6295 kill stdlib.h include.
6297 * libspi/keystrokelistener.c
6298 (spi_keystroke_listener_get_type): kill
6299 (spi_keystroke_listener_class_init),
6300 (spi_keystroke_listener_init): rename to this.
6302 * libspi/text.c (impl_getAttributes): fix warning / bug.
6304 * libspi/*.[ch]: more headers, includes and over commenting.
6306 2001-11-20 Michael Meeks <michael@ximian.com>
6308 * libspi/*.[ch]: fixup headers, includes and over commenting.
6310 * libspi/image.c (impl__get_imageDescription): const
6311 correctness warning fix. remove redundant casting.
6313 * libspi/table.c (impl_getRowDescription): ditto.
6314 (impl_getColumnDescription): ditto.
6316 * libspi/libspi.h: add.
6318 2001-11-19 Michael Meeks <michael@ximian.com>
6320 * libspi/editabletext.c (impl_setAttributes): fix warnings.
6322 * libspi/component.c (accessibility_component_get_type):
6323 rename to (spi_component_get_type): and macroify.
6324 (accessibility_component_init): rename to
6325 (spi_component_init): this
6326 (accessibility_component_class_init): rename to
6327 (spi_component_class_init): this
6329 * libspi/action.c (spi_action_get_type): kill, use the macro.
6331 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
6334 * libspi/application.c (spi_application_object_event_listener),
6335 (impl_accessibility_application_register_object_event_listener):
6336 warning fixes / const understanding updates.
6338 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
6341 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6343 * libspi/spi_accessible.c: Added docs and C bindings for
6344 AccessibleStateSet. (No implementations yet). Documentation
6345 coverage for C bindings now 100%. Made docs for event listeners
6350 boolean notifyListenersSync (in DeviceEventListener listener,
6351 in DeviceEvent event);
6353 oneway void notifyListenersAsync (in DeviceEventListener listener,
6354 in DeviceEvent event);
6356 Added DeviceEventListener and DeviceEvent structs (may deprecate
6357 KeyStroke and KeystrokeListener in favor of this generic
6358 event/listener framework for devices).
6360 * libspi/deviceeventcontroller.c:
6362 Changed some key listener code to take masks, etc., and paved the
6363 way for integration of toolkit/non-preemptive key events. Changed
6364 signatures of some internal methods.
6366 * at-bridge/bridge.c:
6367 Fixed regression connecting to interface signals, apparently
6368 caused by GTK+ changes.
6370 Added an internal bridge_state_listener to deal with
6371 property-change:accessible-state signals.
6373 Changed the key_listeners GList to store structs (including masks,
6374 etc.) instead of just CORBA_Objects (required for full
6375 implementation of key listener API).
6377 Connected the bridge to all currently supported Atk signals.
6378 Events now supported:
6379 object:property-change
6380 object:property-change:accessible-name
6381 object:property-change:accessible-state
6382 object:property-change:accessible-description
6383 object:property-change:accessible-parent
6384 object:property-change:accessible-value
6385 object:property-change:accessible-role
6386 object:property-change:accessible-table-caption
6387 object:property-change:accessible-table-column-description
6388 object:property-change:accessible-table-column-header
6389 object:property-change:accessible-table-row-description
6390 object:property-change:accessible-table-row-header
6391 object:property-change:accessible-table-summary
6392 object:children-changed
6393 object:visible-data-changed
6394 object:selection-changed
6395 object:text-selection-changed
6397 object:text-caret-moved
6399 object:row-reordered
6401 object:column-inserted
6402 object:column-reordered
6403 object:column-deleted
6404 object:model-changed
6406 2001-11-16 Bill Haneman <bill.haneman@sun.com>
6408 * libspi/hyperlink.c,h:
6409 Fixed some broken stuff in hyperlink.
6411 * libspi/relation.h:
6412 * libspi/relation.c:
6413 * cspi/spi_accessible.c:
6414 Initial implementations of AccessibleRelation methods, and docs.
6416 * libspi/accessible.c:
6417 Fixed a bug that caused SEGV if an accessible
6418 object's description is NULL, and a client
6419 requests it. An empty string is now returned.
6421 * cspi/spi_editabletext.c:
6422 * cspi/spi_hypertext.c:
6424 * cspi/spi_hyperlink.c:
6428 Doc coverage now 95%.
6430 2001-11-16 Bill Haneman <bill.haneman@sun.com>
6432 One last namespacing revision:
6433 * libspi/accessibleeventlistener.[ch]:
6434 Renamed SpiAccessibleEventListener to SpiEventListener,
6435 (no need for two namespaces ;-)
6437 And lots of documentation fixes:
6439 * docs/at-spi-docs.sgml:
6440 Fixed 'underscore vs. hyphen' bug that was preventing
6441 the gtk-doc API docs from being automatically generated.
6444 * cspi/spi-listener.h
6446 * cspi/spi_accessible.c
6448 * cspi/spi_application.c
6449 * cspi/spi_component.c
6450 * cspi/spi_editabletext.c
6452 * cspi/spi_hypertext.c
6454 * cspi/spi_registry.c
6455 * cspi/spi_selection.c
6459 * docs/at-spi-docs.sgml
6460 * docs/at-spi-sections.txt
6462 Added and fixed up gtk-doc documentation in cspi.
6464 Interfaces now (fully) documented (subject to revision and enhancement):
6466 Event Listener Support
6468 AccessibleApplication
6472 AccessibleEditableText
6479 AccessibleRelationSet
6484 2001-11-14 Bill Haneman <bill.haneman@sun.com>
6486 * at-bridge/bridge.c:
6487 Initial work for toolkit-level key snooper connection by bridge.
6492 New typedefs and fixes to support new namespacing, and cleaner
6493 separation of cspi bindings from libspi bonobo implementation.
6494 Removed inconsistent and extraneous Spi* namespace prefix that
6495 had crept into cspi headers.
6496 Lots of comment fixes that sed had missed.
6498 * cspi/spi-roletypes.h:
6499 * cspi/spi-statetypes.h:
6500 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
6501 to AccessibleRoleType.
6503 * libspi/accessibleeventlistener.h:
6504 Fixed minor namespacing weirdness.
6506 * libspi/deviceeventcontroller.c:
6507 Reordered some internal API for device listeners.
6508 Changed the key registry final boolean to 'is_system_global'
6509 rather than 'is_synchronous', which is more descriptive of its
6511 Added spi_device_event_controller_new().
6512 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
6514 * libspi/keystrokelistener.[ch]:
6515 Namespaced KeystrokeListener to SpiKeystrokeListener.
6516 Changed uses of keymasks to use SPI_ prefix, and did other
6519 * libspi/keymasks.h:
6520 Namespaced keymask constants with SPI_ prefix.
6522 * libspi/registry.c:
6523 Some warning fixes, and knock-on fixes from namespace changes.
6526 Added rules for accessx-gui test program.
6528 * test/accessx-gui.c:
6529 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
6530 utility. It doesn't actually use at-spi, but it's still cool and
6533 * test/keysynth-demo.c:
6537 Fixes so that these test clients work properly with the namespaced
6538 libraries. (Incompletely tested for technical reasons, fixes may follow)
6541 2001-11-13 Michael Meeks <michael@ximian.com>
6543 * libspi/application.c
6544 (impl_accessibility_application_get_version),
6545 (impl_accessibility_application_get_toolkit_name):
6547 (impl_accessibility_application_set_id),
6548 (impl_accessibility_application_get_id): remove
6549 redundant casting code.
6551 * libspi/action.c (impl_getDescription): fix warnings.
6553 * libspi/accessible.c
6554 (impl_accessibility_accessible_get_parent),
6555 (impl_accessibility_accessible_get_child_at_index),
6556 (impl_accessibility_accessible_get_state),
6557 (impl_accessibility_accessible_get_relation_set):
6558 warning fixes & include action.h
6560 2001-11-13 Michael Meeks <michael@ximian.com>
6562 * *.[ch] fix bits I screwed up:
6564 s/([^ \tb(\*\&\?\",])spi_/\1/g;
6565 s/([^ \tb(\*\&\?\",])Spi/\1/g;
6567 2001-11-13 Michael Meeks <michael@ximian.com>
6569 * *.[ch] Namespace libspi into spi_ and Spi.
6571 2001-13-11 Michael Meeks <michael@ximian.com>
6573 * Makefile.am: dist & install at-spi-1.0.pc
6575 * libspi/Makefile.am: install into at-spi-1.0
6577 * idl/Makefile.am (idldir): install into at-spi-1.0
6579 * at-spi-1.0.pc.in: add.
6581 * configure.in: build it.
6583 2001-11-12 Bill Haneman <bill.haneman@sun.com>
6585 * test/keysynth-demo.c:
6586 Use a 'realize' signal-handler to set the WM properties for
6587 the virtual keyboard, rather than making it a "POPUP" type
6588 override-redirect window (thanks to anders carlsson for that
6591 2001-11-11 Bill Haneman <bill.haneman@sun.com>
6594 * test/keysynth-demo.c:
6595 Added new test of key synthesis, which creates a simple
6596 (mouse-operated) onscreen keyboard. It inserts key events into
6597 the currently-focused window, thus it does not grab keyboard focus
6600 * cspi/spi_registry.c:
6601 Added C binding for AT-SPI generateKeyEvent.
6603 * libspi/deviceeventcontroller.c:
6604 Added call to XFilterEvent so that key listener works with XIM (we
6605 hope). Added event_synth_type to generateKeyEvent, so that we can
6606 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
6607 synthesize a press/release pair for KeySyms.
6609 2001-11-09 Bill Haneman <bill.haneman@sun.com>
6611 * libspi/Makefile.am:
6612 * registryd/Makefile.am:
6613 (temporary) hack to include libXtst in libspi and registryd.
6614 (Needed for keystroke synthesis, see below).
6617 Improved API for registerKeystrokeListener, in accordance with
6618 discussions with Gnopernicus team and X server research.
6620 * libspi/registry.c:
6621 * libspi/deviceeventcontroller.c:
6622 * libspi/accessible.c:
6623 * libspi/keystrokelistener.c:
6624 Changes and fixes to support keylisteners for potentially
6625 consumed key events (that is, 'passive grabs').
6626 Added implementation for generateKeyEvent() [untested].
6629 Changes to registerKeystrokeListener() API, as above.
6630 Added deregisterGlobalEventListenerAll(), and
6631 deregisterKeystrokeListener(), which are needed for clean exit of
6633 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
6634 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
6636 * cspi/spi_registry.c:
6637 Added implementations of function prototypes mentioned above.
6639 * registryd/registryd.c:
6640 Added the key listener event source as a g_timeout(), to allow
6641 receipt of key events that are not caught by GDK (since GDK
6642 doesn't support passive keygrabs, this was necessary).
6645 Changed to attach a keylistener to 'Alt' keys, and
6646 respond to the following keycommands: Alt-M (toggle magnifier);
6647 Alt-F (toggle speech); Alt-Q (quit).
6648 Added an exit routine to deregister the listeners, and a key
6649 listener that prints some key info to the console when a key
6650 matches the listener mask (and is thus received by the listener).
6652 * util/idl/Magnifier.idl:
6653 Changes to magnifier API to support multiple zoom regions,
6654 non-uniform scaling in x and y, markDirty, and a host of other
6655 features that would be useful to magnification.
6658 * util/mag_client.c:
6659 * util/mag_client.h:
6660 * util/mag_control.c:
6662 Source code changes to support the above IDL changes.
6665 As above, and also changes to use a (slower) generic conversion
6666 path for colormap conversions, since the fast RGB conversions have been
6667 reported to fail for 16-bit displays.
6669 2001-10-26 Michael Meeks <michael@ximian.com>
6671 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
6673 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
6675 * at-bridge/Makefile.am: fix LDFLAGS.
6677 2001-10-09 Bill Haneman <bill.haneman@sun.com>
6679 * at-bridge/bridge.c:
6680 Re-worked listeners for toolkit events, now we have signal
6681 and property listeners. Added a private method
6682 register_atk_event_listeners(), which registers with the
6683 various atk and gtk signals we need to monitor in order to emit
6685 Added emission hook for AtkObject:property-change events, to
6686 support the 'property listeners'.
6687 Fixed some alloc()s of Accessibility_Event structs to use CORBA
6690 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
6691 which emit warnings and exit, respectively, if CORBA errors occur
6692 during remote calls, and we now use these methods to check most of
6693 our CORBA calls in the C bindings.
6695 * cspi/spi_accessible.c:
6696 Changed AccessibleSelection_refSelectedChild() to
6697 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
6698 now increment refcounts.
6700 * cspi/spi_component.c:
6701 Fixed some long pointer casts (dangerous!) to pass pointers to
6702 CORBA_longs of the proper type to the CORBA stubs, and copy the
6703 data into the longs that were passed into the C bindings code.
6705 * at-bridge/bridge.c:
6707 * libspi/accessible.c:
6708 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
6709 hyperlinks, AtkHyperlink is an object type.
6711 * libspi/application.c:
6712 Added various conversions to and from "generic" event types and
6713 atk-specific types; this is really part of the 'bridge'
6714 implementation but is valid for all AtkObject-based accessibility
6717 * libspi/editabletext.c:
6718 Fixed nasty bug wherein editable text's finalize method was
6719 unref'ing tha AtkObject reference that the text parent class was
6720 about to unref _again_. There was also a nasty inheritance bug
6721 that meant that the AccessibleEditableText class was corrupt.
6723 * libspi/selection.c:
6724 Provided implementations for some selection API that was broken.
6726 * idl/Application.idl:
6727 Added registerObjectEventListener () method.
6730 Fixed a number of return values that were Bonobo_Unknowns from
6731 bonobo_object_corba_objref(), which I
6732 forgot to dup before returning. Changed instances of
6733 bonobo_object_corba_objref (bonobo_object(o)) to
6734 BONOBO_OBJREF(o), for concision and clarity.
6736 2001-10-13 Louise Miller <louise.miller@sun.com>
6738 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
6739 idl/Event.idl, idl/Registry.idl
6740 Changed these files to include Bonobo_Unknown.idl instead
6743 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
6745 * libspi/component.c libspi/component.h:
6746 Fixed typo. Added assertions for object checks in
6747 AccessibleComponent code.
6749 2001-10-09 Bill Haneman <bill.haneman@sun.com>
6751 * idl/Accessible.idl:
6752 Added 'isEqual (Accessible *object)'
6753 method for Accessible. (Not Yet Implemented).
6756 Changed signature of registerKeystrokeListener() to
6757 take a KeySet and KeyEventSeq so that specific keys and event
6758 types could be requested for monitoring, and added a flag
6759 is_synchronous so that either synchronous or asynchronous
6760 notification could be requested. (However this is not all
6761 implemented yet). This also meant adding two new typedefs,
6762 KeyEventSeq and KeySet.
6765 Added two new relations, RELATION_TOOLTIP_FOR and
6766 RELATION_LEAFNODE_OF.
6769 Added new state, STATE_HAS_TOOLTIP.
6771 * libspi/text.c, editabletext.c:
6772 Added new assertions to all casts of bonobo-objects from
6773 CORBA servants, to prevent Text API calls on non-text objects.
6774 Changed suspect casts of int-pointer types, so that we
6775 always send a valid CORBA_long pointer to the CORBA APIs that use
6776 in/out long parameters. We then have to copy from the CORBA_long
6777 into the regular long or int for return to the C bindings, or
6778 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
6781 * libspi/deviceeventcontroller.c:
6782 Cleaned these sources up.
6784 Changed return type for getCharacterAtOffset to
6785 CORBA_unsigned_long, to allow for 32-bit characters.
6788 2001-10-08 Bill Haneman <bill.haneman@sun.com>
6792 Fixed 'make dist' so that distro compiles...
6793 * libspi/keymasks.h:
6795 * cspi/spi-listener.c:
6796 KeystrokeListenerCB now returns a boolean.
6798 Added KeyEventType struct, and KeyStroke.
6799 Also added createKeystrokeListener(),
6800 KeystrokeListener_addCallback(),
6801 KeystrokeListener_removeCallback(), and added a keymask to
6802 registerKeystrokeListener().
6803 * cspi/spi_accessible.c:
6804 Changed numerous return types for interfaces from
6805 AccessibleComponent to Accessible<InterfaceName>; this was
6806 probably a cut-and-paste error.
6808 Implementations of new KeystrokeListener api (from spi.h,
6811 Changes to key modifier mapping.
6812 Created ControllerEventMask struct.
6813 Made DeviceEventController derive from Bonobo::Unknown.
6815 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
6816 * libspi/deviceeventcontroller.c:
6817 Added a number of new internal (private) methods.
6818 * libspi/editabletext.c:
6819 * libspi/editabletext.h:
6820 Fixed a number of bugs related to the fact that
6821 editabletext inherits from text. Fixed the EditableText struct,
6822 the init() call, and use correct casts when calling Text methods
6823 from an EditableText object. Removed (duplicate) atko from the
6824 EditableText structure, we use the one in the parent Text
6825 structure via the casts mentioned above.
6826 * libspi/keystrokelistener.[ch]:
6827 * libspi/registry.c:
6828 Changes in support of keyboard handling (above).
6830 Keyboard handling, though partly functional, is still not
6831 recommended for at-spi client use as there is considerable
6832 work yet to be done.
6835 Changed some places where pointers to various int types
6836 are cast to be pointers to CORBA_long types and vice-versa:
6837 pointer casting is not safe so we pass pointers of the correct
6838 types and then cast the result before putting it into the target
6841 * libspi/text.h: minor typos corrected.
6843 We now speak not only the name of a Text element, but the
6844 first sentence of its content, when it receives focus.
6845 I also changed the text compression to 75% from 50%.
6846 * util/Accessibility_Util.server.in:
6847 Changed the default magnifier type to be a 3x vertical
6848 splitscreen magnifier (was previously a 2x horizontal one).
6850 2001-10-03 Bill Haneman <bill.haneman@sun.com>
6852 * libspi/keystrokelistener.h:
6853 * libspi/keystrokelistener.c:
6854 Initial functional implementations of KeystrokeListener.
6857 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
6859 Fixed string handling for NULL strings in libspi.
6860 Added spi_freeString to free strings returned by C bindings.
6862 2001-09-30 Bill Haneman <bill.haneman@sun.com>
6864 * libspi/keystrokelistener.h:
6865 * libspi/keystrokelistener.c:
6866 Began (no-op) implementations of KeystrokeListener
6868 * libspi/deviceeventcontroller.c:
6869 * libspi/deviceeventcontroller.h:
6870 Began creating implementations of DeviceEventController,
6871 to handle keystroke and mouse event listening and
6873 * libspi/accessible.c:
6874 Stubbed-in the implementations for
6875 Accessibility_Accessible_getState and
6876 Accessibility_Accessible_getRelationSet.
6877 * libspi/registry.c:
6878 Improved de-registration process and fixed some bugs,
6879 deregistration now works correctly.
6881 Added initialization of applications list (to NULL).
6883 Reduced speech compression from 0.5 to 0.7, for demo.
6884 Changed call to gdk_window_set_decorations()
6885 to gtk_window_set_decorated().
6886 * at-bridge/bridge.c:
6887 Bridge now deregisters when app exits, via
6888 registration of a cleanup function
6889 with the g_atexit() call.
6890 Required making 'app' static, renamed 'this_app'.
6891 Fixed broken use of bonobo_init, passing argv wrongly.
6893 2001-09-27 Bill Haneman <bill.haneman@sun.com>
6897 Created a new directory for
6898 accessibility-related utilities, primarily for
6899 testing and demo purposes, but with possible
6906 Onscreen magnifier utility that
6907 is implemented as a bonobo service.
6909 * util/mag_client.c:
6910 * util/mag_client.h:
6911 Client-side support (simple C bindings)
6912 for Magnification service
6914 * util/mag_control.c:
6915 Client program example for
6916 Magnification service
6918 * util/Accessibility_Magnifier.server.in:
6919 Bonobo-activation file for the
6920 Magnification service.
6923 * util/idl/Magnifier.idl:
6924 IDL defining the bonobo Magnification
6928 Modifications to use the bonobo-activated magnifier
6929 above, in place of trying to connect to an existing
6930 magnifier that uses socket-listening IPC.
6932 If env variable MAGNIFIER is set, a magnifier service
6933 will be started if one does not exist.
6935 2001-09-25 Bill Haneman <bill.haneman@sun.com>
6937 * at-bridge/bridge.c:
6938 applied patch from Marc to build and run
6939 against new glib and gtk+ (seemed like a change
6940 to bonobo_init signature was made ?)
6942 made festival-server support turned off by default.
6943 Added support for a simple magnifier (off by default)
6944 which will be added to a 'util' directory later.
6945 * at-bridge/Makefile.am:
6946 Changed "application.h" header from a 'source'
6947 to a 'dependency' of libat-bridge.
6949 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6958 Added interface implementation c files to list of
6959 includes so they are included in libcspi.
6962 Changed prototype of AccessibleAction_doAction to return a
6964 Changed prototype of AccessibleTable_getCaption to
6965 return an Accessible.
6966 Changed prototype of AccessibleTable_getSelectedRows
6967 and AccessibleTable_getSelectedColumns to
6968 return a long (returns the number of selected rows
6969 or columns respectively).
6970 Changed name of AccessibleText_refRunAttributes to
6971 AccessibleText_getAttributes.
6972 Changed prototype of AccessibleText_getCharacterExtents to
6973 return a void rather than a boolean.
6974 Added support for a AccessibleCoordType parameter
6975 specifying what type of coordinates are desired.
6976 Added an AccessibleCordType parameter to
6977 AccessibleText_getPointAtOffset.
6979 * cspi/spi_accessible.c:
6980 Added code to return the outstanding interfaces from
6981 Accessible_queryInterface.
6983 * cspi/spi_action.c:
6985 Corrected call to getNActions to call the c binding
6988 * cspi/spi_editabletext.c:
6990 Changed name from setRunAttributes to setAttributes.
6992 * cspi/spi_hyperlink.c:
6994 Changed call to getNAnchors to correctly call the c
6995 binding for an attribute.
6997 * cspi/spi_hypertext.c:
6999 Changed getImageDescription to correctly call the
7000 binding for an attribute.
7002 * cspi/spi_selection.c:
7003 Changed getNSelectedChildren to correctly call the c
7004 binding for the attribute.
7005 Changed refSelectedChild to getSelectedChild.
7009 Changed getCaption to return an Accessible.
7010 Fixed calls which retrieve attributes.
7011 Changed refAt to getAccessibleAt.
7012 Changed getNSelectedRows and getNSelectedColumns to
7016 Changed getCharacterExtents and getPointAtOffset to accept an
7017 AccessibleCoordType.
7019 Changed calls which retrieve attributes.
7020 Changed refRunAttributes to getAttributes.
7025 * idl/Hyperlink.idl:
7026 Changed n_anchors attribute to nAnchors to keep naming
7027 convention consistent.
7030 Made Table inherit from Bonobo::Unknown.
7031 Added nSelectedColumns and nSelectedRows attributes.
7034 Made Value inherit from Bonobo::Unknown.
7036 * libspi/hyperlink.c:
7037 Change for nAnchors attributte name change.
7039 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7047 Added interface implementation c files to list of
7048 includes so they are included in libcspi.
7051 Changed prototype of AccessibleAction_doAction to return a
7053 Changed prototype of AccessibleTable_getCaption to
7054 return an Accessible.
7055 Changed prototype of AccessibleTable_getSelectedRows
7056 and AccessibleTable_getSelectedColumns to
7057 return a long (returns the number of selected rows
7058 or columns respectively).
7059 Changed name of AccessibleText_refRunAttributes to
7060 AccessibleText_getAttributes.
7061 Changed prototype of AccessibleText_getCharacterExtents to
7062 return a void rather than a boolean.
7063 Added support for a AccessibleCoordType parameter
7064 specifying what type of coordinates are desired.
7065 Added an AccessibleCordType parameter to
7066 AccessibleText_getPointAtOffset.
7068 * cspi/spi_accessible.c:
7069 Added code to return the outstanding interfaces from
7070 Accessible_queryInterface.
7072 * cspi/spi_action.c:
7074 Corrected call to getNActions to call the c binding
7077 * cspi/spi_editabletext.c:
7079 Changed name from setRunAttributes to setAttributes.
7081 * cspi/spi_hyperlink.c:
7083 Changed call to getNAnchors to correctly call the c
7084 binding for an attribute.
7086 * cspi/spi_hypertext.c:
7088 Changed getImageDescription to correctly call the
7089 binding for an attribute.
7091 * cspi/spi_selection.c:
7092 Changed getNSelectedChildren to correctly call the c
7093 binding for the attribute.
7094 Changed refSelectedChild to getSelectedChild.
7098 Changed getCaption to return an Accessible.
7099 Fixed calls which retrieve attributes.
7100 Changed refAt to getAccessibleAt.
7101 Changed getNSelectedRows and getNSelectedColumns to
7105 Changed getCharacterExtents and getPointAtOffset to accept an
7106 AccessibleCoordType.
7108 Changed calls which retrieve attributes.
7109 Changed refRunAttributes to getAttributes.
7114 * idl/Hyperlink.idl:
7115 Changed n_anchors attribute to nAnchors to keep naming
7116 convention consistent.
7119 Made Table inherit from Bonobo::Unknown.
7120 Added nSelectedColumns and nSelectedRows attributes.
7123 Made Value inherit from Bonobo::Unknown.
7125 * libspi/hyperlink.c:
7126 Change for nAnchors attributte name change.
7129 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
7131 implementations-- made server implementations own AtkObject pointers
7132 rather than their respective AtkInterrface pointers to fix
7133 refcounting. AtkHyperlink is still broken.
7135 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7136 * cspi/spi_accessible.c:
7137 Added method Accessible_Role_getName(),
7138 and requisite string array (role_names).
7139 Added conversion string_from_corba_strin() call
7140 to Accessible_getName and _getDescription.
7141 * libspi/accessible.c:
7142 Added implementation for Accessible_getRole()
7144 Added festival support, used if environment variable
7147 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7149 * at-bridge/bridge.c:
7150 Now allocate Accessibility_Event using
7151 Accessibility_Event__alloc() instead of g_new0().
7152 * libspi/accessibleeventlistener.c:
7153 Initialize AccessibleEventListener->callbacks to NULL.
7154 Fixed accessible__event_listener_init() param, changed to
7155 "AccessibleEventListener *" type.
7156 Changed a bonobo_object_release_unref() call to
7157 Accessibility_Accessible_unref().
7158 * libspi/listener.c:
7159 Changed Bonobo_Unknown_unref to (equivalent)
7160 Accessibility_Accessible_unref.
7161 * libspi/registry.c:
7162 Changed bonobo_object_release_unref to
7163 Accessibility_Accessible_unref.
7165 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7168 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
7169 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
7170 spi-util.c spi-util.h
7171 Implementations for C bindings to remaining accessibility
7174 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7177 changed return value of Action from void to boolean to
7178 bring in line with ATK.
7181 Changed getText funcions to return "out" start and end offsets.
7182 Changed getAttributes to take and offset and return the start
7183 and end offset of the attribute run.
7184 Changed getOffsetAtPoint and getCharacterExtents to take an
7185 enum describing whether coordinates are window or screen.
7188 libspi/action.c libspi/action.h libspi/editabletext.c
7189 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
7190 libspi/hypertext.c libspi/hypertext.h libspi/image.c
7191 libspi/image.h libspi/selection.c libspi/selection.h
7192 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
7193 libspi/value.c libspi/value.h
7194 Added server implementations for outstanding ATK interfaces
7195 not yet implemented.
7197 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7200 Added (missing) getName() method.
7201 Made nActions an attribute.
7202 * idl/EditableText.idl:
7203 Changed order of params in setAttributes.
7204 * idl/Hyperlink.idl:
7205 Removed getAnchor, added getURI.
7207 Changed attributes to methods, for efficiency
7208 (so that getting extents can be done in one call)
7209 * idl/Selection.idl:
7210 Changed nSelectedChildren to attribute, and re-indented.
7211 * idl/Table.idl: changed nrows, ncolumns, caption, summary
7213 * idl/Text.idl: reformatted to match our coding style.
7214 (temporarily?) removed getRowColumnAtOffset().
7215 Changed text selection API to support multi-select and
7216 non-contiguous selections, as in ATK.
7217 * idl/Value.idl: changed some methods to attributes.
7219 2001-08-24 Mark McLoughlin <mark@skynet.ie>
7221 * libspi/listener.c(impl_notify_event):
7222 BonoboUnkown_unref the source instead
7223 of bonobo_object_release_unref - the ORB
7224 handles the releasing.
7226 * configure.in: require ORBit-2.3.94 for
7229 2001-08-21 Bill Haneman <bill.haneman@sun.com>
7231 Tagged CVS repository 'EA_1_0'.
7232 * README.EARLY_ACCESS:
7233 Alphabetized acknowledgements list, and
7235 Listed some known dependencies of at-spi.
7237 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7239 * docs/at-spi-docs.sgml:
7240 * docs/at-spi-sections.txt:
7241 * docs/at-spi-overrides.txt: (Added zero-length file)
7242 Documentation improvements - gtk-doc should build
7243 docs for all implemented C bindings now.
7246 * cspi/spi.c: (New file)
7247 * cspi/spi_event.c: (New file)
7248 * cspi/spi_registry.c: (New file)
7249 * cspi/spi_accessible.c: (New file)
7250 * cspi/spi_application.c: (New file)
7251 * cspi/spi_component.c: (New file)
7252 Split spi_main.c into six parts, and included them from
7253 "spi.c". This is a bit of a hack, probably temporary,
7254 but required by gtk-doc, apparently.
7256 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7259 * docs/at-spi-docs.sgml:
7260 * docs/at-spi-sections.txt:
7262 Initial checkins/modifications for gtk-doc generation.
7265 Added (missing) interface query methods to Accessible's C binding.
7267 Added GenericInterface type definition.
7269 Added query for AccessibleComponent interface to focus event handler.
7270 Added printout of bounding box for focussed component.
7271 * libspi/component.c:
7272 Added partial implementation for AccessibleComponent to C binding.
7273 * idl/Application.idl:
7274 * libspi/registry.c:
7275 * libspi/listener.c:
7276 * libspi/application.c:
7277 * libspi/application.h:
7278 Changed "ID" attribute type from string to long.
7280 2001-08-19 Bill Haneman <bill.haneman@sun.com>
7284 Made method naming consistent: methods taking object args
7285 start with uppercase, other methods (except those using
7286 acronyms) start with lowercase. Underscores delimit between
7287 object names and method names:
7288 SPI_init() - uppercase since it starts with an acronym.
7289 getDesktopCount () - lowercase start since no object param0.
7290 Accessible_getName() - uppercase object type name, studlyCaps method
7294 Added gtk-doc documentation for all currently implemented
7295 methods in the C bindings API.
7297 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7299 * Makefile.am : changed build order to build test last.
7302 Changed "createEventListener" to "CreateEventListener".
7303 * libspi/accessibleeventlistener.c :
7304 Bugfix for addition of callbacks.
7305 * test/Makefile.am :
7306 * test/simple-at.c :
7307 Added new test that uses the C bindings API.
7309 * libspi/listener.c :
7310 * libspi/registry.c :
7311 * libspi/accessibleeventlistener.c :
7312 * at-bridge/bridge.c :
7313 Renamed member "target" of Accessibility_Event to "source",
7314 which is more descriptive.
7317 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7321 * cspi/Makefile.am :
7322 Added makefile support for at-spi/cspi directory.
7325 * cspi/spi-listener.h : (NEW FILE)
7326 Added support for/use of spi-listener.h.
7328 C bindings now build successfully, with no warnings.
7329 * libspi/accessibleeventlistener.h : (NEW FILE)
7330 * libspi/accessibleeventlistener.c : (NEW FILE)
7331 * libspi/Makefile.am :
7332 Added new object type "AccessibleEventListener"
7333 which inherits from Listener, and allows attachment
7334 of in-process callbacks (so that a client with a listening
7335 object instance can add functionality to the local
7336 implementation, dynamically).
7338 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7340 * libspi/accessible.c:
7341 Add implementation for get_index_in_parent().
7343 Added #include of "spi-roletypes.h", and
7344 added enumerated type AccessibleCoordType.
7345 Added definition for KeystrokeListener (function type).
7348 * cspi/spi-statetypes.h :
7349 * cspi/spi-roletypes.h :
7351 Added these headers, used by spi.h.
7353 Added code (NOTE: not yet built by make).
7355 2001-08-18 Mark McLoughlin <mark@skynet.ie>
7357 * libspi/Makefile.am: generate imodule
7358 at the same time as other idl compiler
7361 2001-08-17 Bill Haneman <bill.haneman@sun.com>
7362 * libspi/registry.c :
7363 * libspi/application.c :
7364 * idl/Application.idl :
7365 Made registration with toolkit an application method,
7366 which is required since each app has its own toolkit static
7367 environment. Thus the bridge must register for
7368 notification of toolkit events from each application in turn.
7369 Toolkit notifications are now successfully registered for, and
7370 sent to the listening at client.
7372 Changed toolkit event string to use hyphens rather than underscores.
7373 * libspi/listener.c :
7374 listner now gives more info in debug mode - it reports the
7375 name of the event received, as well as the name of the source.
7378 2001-08-16 Bill Haneman <bill.haneman@sun.com>
7380 * libspi/registry.c :
7381 added more implementation for toolkit events.
7382 Fixed bug such that toolkit event registrations
7383 (via atk) use the whole event name string, not
7385 Removed a useless call to an ORBit_ method.
7386 * at-bridge/bridge.c :
7387 Removed unused local sbuf[] variable.
7389 We now register for Gtk:GtkWidget:button_press_event
7390 events as well as "focus:" events.
7392 Add some more API from Registry.idl that was missing,
7393 for keystroke listening, keystroke and mouse event
7394 synthesis, and enumeration of accessible desktops.
7396 2001-08-16 Michael Meeks <michael@ximian.com>
7398 * configure.in: use AM_GLIB_GNU_GETTEXT.
7400 * Makefile.am (SUBDIRS): kill intl.
7402 2001-08-15 Michael Meeks <michael@ximian.com>
7404 * registryd/Makefile.am: s/oaf/server/ relocate info file.
7406 * configure.in: upd.
7408 * configure.in: depend on a recent bonobo-activation that
7409 will find our server files ...
7411 2001-08-16 Bill Haneman <bill.haneman@sun.com>
7413 * libspi/accessible.c : accessible_new() :
7414 Now we add the Component interface via bonobo_object_add_interface,
7415 if the contained AtkObject implements AtkComponent.
7416 * libspi/accessible.h : now include "component.h"
7417 * libspi/component.h :
7418 * libspi/component.c : added files - implementation of
7419 bonobo wrapper object for Accessibility/Component
7420 * libspi/listener.c :
7421 Added test code to check for Accessibility/Component:1.0
7422 interface and report whether it is implemented by the
7424 * libspi/registry.c :
7425 Now we check for not only the hash of the whole event
7426 string before relaying the event, we also check the
7427 "minor" event string (without the detail string).
7428 This allows event listeners to be registered against
7429 all events of a certain major+minor type, or just
7430 against a specific major+minor+detail type.
7431 * libspi/accessible.c :
7432 Added implementations for Accessible:get_parent(),
7433 Accessible:getChildCount(), and Accessible:getChildAtIndex().
7434 * libspi/registry.c :
7435 * libspi/listener.c :
7436 Replaced calls to Accessibility_Accessible_ref() and
7437 Accessibility_Accessible_unref() with
7438 calls to bonobo_object_dup_ref() and
7439 bonobo_object_release_unref(), so that the CORBA object
7440 is dup-ed and released when relayed, as well as the bonobo object.
7442 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7444 * libspi/Makefile.am,
7445 registryd/Makefile.am,
7446 at-bridge/Makefile.am.
7447 test/Makefile.am, configure.in:
7448 reverse previous changes.
7450 * /idl/Image.idl: fix typo.
7452 * test/Makefile.am: put DEBUG_FLAGS
7455 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7457 * test/app.c: use argv[0] instead of
7460 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7462 * libspi/Makefile.am,
7463 registryd/Makefile.am,
7464 at-bridge/Makefile.am.
7465 test/Makefile.am, configure.in:
7466 cleanup, replace individual LIBS/CFLAGS with
7467 AT_COMMON_{LIBS|CFLAGS}.
7471 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7473 * configure.in, libspi/Makefile.am:
7474 Change IDL path checking for bonobo-activation
7477 2001-08-15 Bill Haneman <bill.haneman@sun.com>
7479 * registryd/registry.c : separated event listeners to use
7480 3 separate lists (focus, window, toolkit). Began testing
7481 event names against hashes before relaying events.
7482 * test/at.c : now register for events of type "focus:"
7483 * test/app.c : now generate events of type "focus:"
7484 * at-bridge/bridge.c : register with ATK for focus events,
7485 and we now relay those focus events to any "focus:" listeners.
7486 This now works with the bridge as a GTK_MODULE when running test/at.
7487 * libspi/registry.c :
7488 * libspi/listener.c :
7489 now we ref event sources before propagating, and unref on receipt.
7490 * libspi/registry.c :
7491 some changes to internal structs, to support event typestring hashes.
7492 * text/app.c : changed the way the appname is generated.
7493 * cspi : added directory that will hold the C bindings library for
7494 non-CORBA/bonobo-savvy clients.
7495 * cspi/spi.h : header file that contains the function prototypes for the C binding.
7496 * idl/Component.idl : added in parameter to indicate coord system for
7497 geometry-related calls.
7498 * idl/Hyperlink.idl : added readonly n_links attribute
7499 * idl/Image.idl : changed methods to attributes.
7501 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7503 * at-bridge/Makefile.am: link against
7504 ../libspi/libspi.la instead of -lspi.
7506 * at-spi/test/app.c: include
7507 bonobo-activation.h. Use a default appname
7508 if one is not provided.
7510 2001-08-14 Bill Haneman <bill.haneman@sun.com>
7512 * idl/Registry.idl : temporarily changed register_Application
7513 to oneway, to work around issue with initial registration
7515 * idl/Application.idl : changed attribute "id" from readonly
7516 to read-write, since it needs to be assigned by Registry.
7517 * registryd/registryd.c : added call to set application id
7519 * registryd/registry.c : changed de-registration procedure to
7520 use CORBA_Object_hash() to find matching object ref in application
7521 lists and listener lists.
7522 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
7523 began distinguishing between event types (work in progress).
7525 2001-08-13 Bill Haneman <bill.haneman@sun.com>
7528 * libspi/application.c:
7529 Added implementations for get/set id, get_toolkitName,
7531 * registryd/registryd.c :
7535 Converted from use of OAF to bonobo-activation.
7536 * libspi/desktop.h :
7537 * libspi/desktop.c :
7539 Removed references to atksimpleobject, since base atkobject
7540 implementation now provides functionality we need.
7541 * libspi/atksimpleobject.c :
7542 * libspi/atksimpleobject.h :
7547 * at-bridge/Makefile.am
7548 * at-bridge/bridge.c
7551 Added directory "bridge" and contents, and added dependencies
7552 in Makefile.am/configure.in.
7553 Initial checkin of "at-bridge".
7554 This code is a GTK_MODULE which automatically registers
7555 GTK+ apps with the accessibility registry, using an object
7556 reference to the root ATK object.
7558 2001-08-10 Mark McLoughlin <mark@skynet.ie>
7560 * po/Makefile.in.in: Remove. Again. If this
7561 doesn't get autogenerated - you need to update
7564 2001-08-07 Mark McLoughlin <mark@skynet.ie>
7566 * po/Makefile.in.in: Add. Again.
7568 2001-07-31 Bill Haneman <bill.haneman@sun.com>
7570 * libspi/accessible.c : added support for 'description' property.
7571 * libspi/accessible.c
7573 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
7574 (since the two are now equivalent in libbonobo)
7582 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
7583 Bonobo::Unknown as does Accessibility::Accessible.
7584 * idl/StreamableContent.idl : as above, and replaced internal InputStream
7585 interface with Bonobo::Stream, since it was redundant with it.
7586 (The Stream returned by a StreamableContext object is expected to
7587 implement only a subset of Bonobo::Stream)
7589 2001-07-28 Anders Carlsson <andersca@gnome.org>
7591 * libspi/accessible.c (accessible_object_finalize): Change
7592 g_free to g_object_unref since the AtkObject is a GObject.
7594 2001-07-30 Bill Haneman <bill.haneman@sun.com>
7596 * idl/Accessibility.idl: add new IDL files
7599 * idl/Action.idl: Definitions of actionable UI object
7600 * idl/Component.idl: Definitions of UI component geometry, etc.
7601 * idl/Hyperlink.idl: Defs of hyperlink behavior
7602 * idl/Image.idl: Def of accessible image
7603 * idl/Selection.idl: Definition of UI object with selectable children
7604 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
7605 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
7606 * idl/Text.idl: Interface defs for UI elements with complex textual content
7607 * idl/Value.idl: Definition of UI element that is a value controller or display
7609 2001-07-27 Michael Meeks <michael@ximian.com>
7611 * po/Makefile.in.in: remove autogenerated file from CVS.
7613 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
7616 * idl/Registry.idl: include guard.
7618 * idl/Accessibility.idl: Add, and include all the other IDL
7621 * idl/*.idl: remove mass of pragmas etc.
7623 2001-07-26 Michael Meeks <michael@ximian.com>
7625 * registryd/Makefile.am (registryd_SOURCES): remove
7628 2001-07-27 Mark McLoughlin <mark@skynet.ie>
7630 * libspi/.cvsignore, registryd/.cvsignore,
7631 test/.cvsignore: updated.
7633 * po/Makefile.in.in: gettext update.
7635 2001-07-25 Bill Haneman <bill.haneman@sun.com>
7637 * initial CVS checkin
7639 2001-06-29 Michael Meeks <michael@ximian.com>
7641 * configure.in: add AM_CONFIG_HEADER to gen config.h