1 2006-06-09 Bill Haneman <bill.haneman@sun.com>
3 * idl/Accessibility_State.idl:
4 Added STATE_VISITED (bug #338369).
6 * cspi/spi_accessible.c:
7 (spi_state_to_corba) Fixed marshalling of new statetypes.
10 (spi_init_state_tables, impl_getStates):
11 Fixed conversion of new statetypes to/from ATK.
13 * idl/Accessibility_Role.idl: Added ROLE_FORM (bug #344266).
15 * cspi/spi-roletypes.h, spi_accessible.c: Added marshalling
16 definitions/conversions for new roles from ATK.
18 * idl/Accessibility_Relation.idl:
20 * cspi/spi.h, spi_accessible.c: Added SPI_RELATION_DESCRIBED_BY and
21 SPI_RELATION_DESCRIPTION_FOR. (bug #344264) Also
22 SPI_PARENT_WINDOW_OF, which was in ATK but not AT-SPI.
24 * libspi/accessible.c: Fixed marshalling of new role types from
27 2006-04-17 Matthias Clasen <mclasen@redhat.com>
29 * revert my previous change
31 2006-04-17 Kjartan Maraas <kmaraas@gnome.org>
33 * configure.in: Remove obssolete no_NO locale
34 * po/no.po: And the translation.
36 2006-04-05 Matthias Clasen <mclasen@redhat.com>
38 * atk-bridge/bridge.c (spi_atk_emit_eventv): Fix a
39 memory-management error that caused crashes on x86_64.
42 2006-03-30 Guntupalli Karunakar <karunakar@indlinux.org>
44 * configure.in: Added 'dz' (Dzongkha) to ALL_LINGUAS.
46 2006-03-27 Bill Haneman <bill.haneman@sun.com>
48 * configure.in: Define $LIBTOOL_EXPORT_OPTIONS
49 to strip "cspi_*" from the symbol table.
51 * cspi/spi_streamablecontent.c:
52 (get_streams): Make this method static.
55 (_cspi_exception_throw): rename to cspi_exception_throw,
56 so we can strip it with the rest...
59 Add LIBTOOL_EXPORT_OPTIONS to libcspi_la_LDFLAGS.
61 2006-03-27 Bill Haneman <bill.haneman@sun.com>
63 Add doxygen-generated IDL docs to tarball, and enable
64 doxygen during build/install when available. Bug #301345.
66 * configure.in: Add docs/reference/idl/Makefile to AC_OUTPUT.
68 * docs/reference/Makefile.am: Add idl to SUBDIRS.
70 * docs/reference/idl/Makefile.am: Optionally use
71 doxygen to create docs.
73 2006-03-20 Vladimer Sichinava <vlsichinava@gmail.com>
75 * configure.in: Added "ka" (Georgian) to ALL_LINGUAS
77 2006-03-20 Bill Haneman <bill.haneman@sun.com>
80 (impl_get_selected_rows): Don't free the selection if it's
81 empty or has not been assigned; init it to NULL so you can tell.
82 Also, allow for zero selected rows.
83 (impl_getSelectedColumns): Ditto. Bug #319088.
85 2006-03-11 Vincent Untz <vuntz@gnome.org>
87 Leak fix for bug #334217.
89 * libspi/application.c: spi_application_toolkit_event_listener():
90 don't duplicate the string we pass as an argument to
91 spi_init_any_nil() since spi_init_any_nil() already does it
92 * registryd/deviceeventcontroller.c:
93 (spi_dec_button_update_and_emit): ditto
94 (spi_dec_mouse_check): ditto
95 (spi_dec_emit_modifier_event): ditto
96 (spi_device_event_controller_forward_mouse): ditto
97 * registryd/registry.c:
98 (desktop_add_application): ditto
99 (desktop_remove_application): ditto
101 2006-02-20 Bill Haneman <billh@gnome.org>
103 * configure.in: Rev to 1.7.6.
105 Leak fixes for bug #331924.
107 * atk-bridge/bridge.c:
108 (spi_atk_bridge_init_base): Don't dup the string, it's already
109 been dup-ed. Fixes a leak.
110 (spi_atk_emit_eventv): Move the CORBA_free call here,
111 instead of spi_atk_state_event_listener; fixes another leak.
112 (spi_atk_bridge_key_listener):Free the dup'ed key strings after
113 notifying the registry; fixes another leak.
115 * registryd/registry.c:
116 (registry_flush_event_queue): Free the CORBA_any when
117 flushing the event, not just the string. Fixes another leak.
118 (registry_queue_event): Free the CORBA_any when dropping
119 events on the floor; fixes another leak.
122 (spi_init_any_object, spi_init_any_nil):
123 Always set _release to TRUE. Fixes another leak.
125 2006-02-20 Bill Haneman <billh@gnome.org>
127 * configure.in: Rev to 1.7.5.
128 Reinstate localization of this module. Thanks for Rodney
129 Dawes for fixing my patch.
131 * registryd/Makefile.am: Remove Accessibility_Registry.server
132 from dist, since it needs to be re-created at configure time.
135 2006-01-31 Bill Haneman <billh@gnome.org>
137 * configure.in: Rev to 1.7.4 (to include build fix below).
139 * idl/Makefile.am: Include Selector.idl in dist.
143 (cspi_internal_event_get_object): Handle case where
144 "object" isn't present, i.e. CORBA_TC_Object doesn't match
145 the EventDetails data.
146 (cspi_internal_event_get_text): Handle NULL string.
147 (cspi_internal_event_get_rect): Handle missing/empty rect
148 data, Accessibility_TC_RectBounds doesn't match any_data.
150 2006-01-30 Bill Haneman <billh@gnome.org>
154 * atk-bridge/bridge.c:
155 (spi_atk_emit_eventv): Check for SPI_REMOTE_OBJECT
156 interface and use that when instantiating a new source
157 accessible. Better fix for bug #321814.
159 2006-01-27 Bill Haneman <billh@gnome.org>
161 * idl/Accessibility_Selector.idl: Added to the cvs repository.
163 * configure.in: Revved to 1.7.3.
165 2006-01-17 Bill Haneman <billh@gnome.org>
167 * configure.in: Revved to 1.7.2, re-dist to include docs.
169 2006-01-09 Bill Haneman <billh@gnome.org>
171 * configure.in: Removed po/Makefile.in inclusion, we do not need
174 * idl/Accessibility.idl: Improved documentation here, and for all
175 IDL in the 'GNOME::Accessibility' namespace.
177 * idl/Accessibility_Accessible.idl:
178 (LOCALE_TYPE): Added enum.
179 (AttributeSet): New, for returning multiple name/value attribute pairs.
180 (RoleSet): New, sequence of Roles, to be used in upcoming
182 (getAttributes): New API, allows retrieval of name/value pair
183 annotations for all kinds of Accessible objects. C.f.
184 Text:getAttributes, which is only for typographic/textual/semantic tags in
186 (getApplication): New, retrieves the host/containing Application
187 instance for an object (without having to walk up the whole tree).
189 * idl/Accessibility_Component.idl:
190 (getAlpha): New method, returns the alpha blending (aka 'opacity')
191 value for an object. An alpha of 1.0 is fully opaque, 0.0 is
194 * idl/Accessibility_Event.idl:
195 (EventDetails): New struct definition, for encapsulating
196 commonly-queried information about emitted events. The use of
197 this structure in emitted events (in the 'any' member of
198 Accessibility_Event) should greatly reduce the number of
199 client-server roundtrips necessary.
201 * idl/Accessibility_Image.idl:
202 (imageLocale): New, a readonly attribute indicating the POSIX
203 LC_MESSAGES locale of the image and associated Alt/descriptive
206 * idl/Accessibility_Relation.idl:
207 (RELATION_PARENT_WINDOW_OF): Include, as complement to
210 * idl/Accessibility_Role.idl:
211 (ROLE_ENTRY, ROLE_CHART, ROLE_CAPTION, ROLE_DOCUMENT_FRAME)
212 (ROLE_HEADING, ROLE_PAGE, ROLE_SECTION): New roles for
213 complex document and form support.
215 * idl/Accessibility_State.idl:
216 (STATE_REQUIRED, STATE_TRUNCATED, STATE_ANIMATED)
217 (STATE_INVALID_ENTRY, STATE_SUPPORTS_AUTOCOMPLETION)
218 (STATE_SELECTABLE_TEXT, STATE_IS_DEFAULT): New states,
219 for support of complex documents and forms.
221 * idl/Accessibility_StreamableContent.idl:
222 (SeekType, IOError, NotSupported, NoPermission): New enum and exceptions, to
223 allow old bonobo-stream interfaces to be deprecated in the next
226 * idl/Accessibility_Text.idl:
227 (getAttributeValue): New method, allows query-by-name of single
230 * libspi/accessible.c:
231 Added support for new roles. Implemented new methods
232 (impl_accessibility_accessible_get_application): New
233 (impl_accessibility_accessible_get_attributes): New
235 * libspi/component.c:
236 (impl_accessibility_component_get_alpha): New.
239 (impl_accessibility_image_get_locale): New.
241 * libspi/relation.c: Added support for new relation type.
243 * libspi/stateset.c: Added support for new state types.
246 (impl_getAttributeValue): New.
249 New prototypes for private methods
251 spi_init_any_object, spi_init_any_string,
254 * libspi/spi_event.c:
255 Use EventDetails in the event emission methods.
257 * cspi/spi-private.h:
258 (cspi_role_from_spi_role): Expose this adapter method, since
259 we need it in the bridge (see below).
262 (AccessibleEvent_getSourceName):
263 (AccessibleEvent_getSourceRole):
264 (AccessibleEvent_getSourceApplication):
265 (AccessibleEvent_getSourceDetails):
266 New methods for interrogating/demarshalling
267 event details (i.e. source's accessible name, role,
270 * cspi/spi_accessible.c: Use cspi_role_from_spi_role.
271 Make use of the new EventDetails struct in events, if present.
272 (AccessibleEvent_getSourceName)
273 (AccessibleEvent_getSourceRole)
274 (AccessibleEvent_getSourceApplication)
275 (AccessibleEvent_getSourceDetails): Implement the newly exposed
277 (Accessible_getAttributes): New, wraps
278 Accessibility_Accessible_getAttributes.
279 (Accessible_getHostApplication): New, wraps
280 Accessibility_Accessible_getApplication.
283 (AccessibleImage_getImageLocale): New wrapper for
284 Accessibility_Image_get_imageLocale.
286 * cspi/spi_component.c:
287 (AccessibleComponent_getAlpha): New wrapper for
288 Accessibility_Component_getAlpha.
290 * atk-bridge/bridge.c:
291 Use new prototyped for init_any methods.
292 (spi_atk_bridge_init_nil, spi_atk_bridge_init_object)
293 (spi_atk_bridge_init_string, spi_atk_bridge_init_rect)
294 (spi_atk_bridge_init_base): Wrappers
295 for spi_init_any_* methods, due to refactor; include extended
296 information in the Accessibility_EventDetails struct, for instance
297 accessible-name, Role, and containing Application.
299 * registryd/registry.c:
300 Use new event emission (with EventDetails).
302 * registryd/deviceeventcontroller.c:
303 Use new event emission (with EventDetails).
305 2006-01-09 Kjartan Maraas <kmaraas@gnome.org>
307 * configure.in: Generate po/Makefile.in
308 * cspi/spi_main.c: Add #ifdef PRINT_LEAKS around a function
309 * cspi/spi_streamablecontent.c:
310 (accessible_bonobo_stream_client_seek),
311 (AccessibleStreamableContent_seek): Remove unused vars.
312 * libspi/application.c: Missing header.
313 * libspi/text.c: (impl_getDefaultAttributes): Unused vars
314 * login-helper/login-helper.c: (login_helper_finalize),
315 (login_helper_init): Remove unused stuff
316 * registryd/deviceeventcontroller.c: (spi_dec_replace_map_keysym),
317 (spi_dec_init_mouse_listener), (is_key_released): Remove unused vars
318 and surround some with #ifdef GRAB_BUTTON.
319 * test/event-listener-test.c: (main), (report_event),
320 (report_caret_event), (report_detail_event),
321 (report_detail1_event), (report_bounds_event), (report_text_event),
322 (report_text_selection_event),
323 (report_active_descendant_changed_event),
324 (report_children_changed_event), (report_name_changed_event),
325 (report_description_changed_event), (report_parent_changed_event),
326 (report_window_event), (report_table_summary_event),
327 (report_table_header_event), (report_table_caption_event),
328 (report_table_row_description_event),
329 (report_table_column_description_event), (timing_test_event):
330 Remove a bunch of unused variables and fix a slew of format specifiers
331 * test/key-listener-test.c: (report_all_key_event): Format specifier
332 * test/keypad-test.c: (print_key_event): Same
333 * test/login-helper-server-test.c: (main): Include gtkmain.h and remove
335 * test/screen-review-test.c: (main), (print_chunk_debug),
336 (review_buffer_get_text_chunk), (debug_chunk_list),
337 (string_guess_clip), (text_chunk_get_clipped_string),
338 (text_chunk_list_to_string), (get_screen_review_line_at):
339 Remove unused variables and fix format specifiers.
340 * test/simple-at.c: (report_text_event): Format specifier fix.
341 * test/stress-test.c: (main): Remove unused var.
343 2005-12-29 Abel Cheung <maddog@linuxhall.org>
345 * configure.in: Add zh_HK, zh_TW to ALL_LINGUAS
346 (yes I know that's useless)
348 2005-11-20 Theppitak Karoonboonyanan <thep@linux.thai.net>
350 * configure.in: Added "th" (Thai) to ALL_LINGUAS.
352 2005-11-17 Michael Meeks <michael.meeks@novell.com>
354 * atk-bridge/bridge.c (spi_atk_emit_eventv):
355 urgh-fix embarassing typo.
357 2005-11-16 Michael Meeks <michael.meeks@novell.com>
359 * atk-bridge/bridge.c (spi_atk_emit_eventv):
360 do a faster, less problematic _unref call on this local
361 object, rather than a slower (potentially cross-thread
362 complicated) CORBA call.
364 2005-11-02 Kjartan Maraas <kmaraas@gnome.org>
366 * atk-bridge/bridge.c: (spi_atk_bridge_signal_listener):
367 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_seek):
368 * registryd/deviceeventcontroller.c:
369 (spi_controller_notify_mouselisteners),
370 (impl_generate_keyboard_event):
371 * test/screen-review-test.c: (chunk_bounds_within):
372 * test/test-simple.c: (test_desktop): Remove some unused code
373 and fix compiler warnings. Closes bug #320049.
375 2005-10-27 Bill Haneman <bill.haneman@sun.com>
377 * registryd/deviceeventcontroller.c:
378 (spi_controller_notify_keylisteners): Check
379 to make sure the event listener has requested 'preemptive'
380 status before pre-empting an event.
382 2005-08-29 Bill Haneman <bill.haneman@sun.com>
384 * configure.in, README, NEWS: Release 1.6.5.
386 2005-07-25 Matthias Clasen <mclasen@redhat.com>
388 * test/window-listener-test.c: Fix a printf
389 format error. (#169453)
391 2005-07-15 Bill Haneman <bill.haneman@sun.com>
393 * tests/test-simple.c:
394 (key_listener_cb): Ensure that the keystring is dup'ed instead of
395 relying on the old string from the key event hanging around after
396 the event handler returns. Fixes broken 'make check'.
398 2005-06-06 Swapnil Hajare <dreamil@gmail.com>
400 * Added Marathi (mr_IN) translations.
402 2005-05-27 Kjartan Maraas <kmaraas@gnome.org>
404 * cspi/bonobo/cspi-bonobo-listener.c:
405 (cspi_event_list_remove_by_cb): Fix the build.
407 2005-05-26 Michael Meeks <michael.meeks@novell.com>
409 * cspi/bonobo/cspi-bonobo-listener.c
410 (cspi_event_list_remove_by_cb): actually filter by callback.
412 2005-05-25 Bill Haneman <bill.haneman@sun.com>
414 * registryd/registry.c (remove_listener_cb):
415 Make deregistration filter rules match the event emission rules.
417 2005-05-25 Michael Meeks <michael.meeks@novell.com>
419 * registryd/registry.c (remove_listener_cb),
420 (impl_accessibility_registry_deregister_global_event_listener),
421 (impl_accessibility_registry_deregister_global_event_listener_all):
422 pass a closure to the remove callback to filter listeners more
423 accurately on remove.
425 2005-04-05 Bill Haneman <bill.haneman@sun.com>
427 * configure.in: Revved to 1.6.4.
428 Remember to put quotes around XEVIE_LIBS assignment.
429 Fixed one of tertiary AC_CHECK_HEADER tests for XEvie.
432 * tests/event-listener-test.c: Tweaked the tests - more detail
433 from caret events, and some interrogation of AccessibleText APIs.
434 Commented-out the bounds-changed events by default, since they can
437 2005-04-14 Kjartan Maraas <kmaraas@gnome.org>
439 * atk-bridge/bridge.c: (spi_atk_emit_eventv): Plug a leak.
440 * cspi/bonobo/cspi-bonobo-listener.c: (cspi_device_event):
441 Same here. Closes bug #167806
443 2005-04-05 Bill Haneman <bill.haneman@sun.com>
445 * atk-bridge/bridge.c:
446 (spi_atk_bridge_signal_listener):
447 Free the any._value if any._release is TRUE,
448 since the ORB won't do it for us in this case
449 [because this method is not a skel].
452 2005-03-30 Steve Murphy <murf@e-tools.com>
454 * configure.in: Added "rw" to ALL_LINGUAS.
456 2005-03-29 Bill Haneman <bill.haneman@sun.com>
458 * configure.in: Improved check for HAVE_XEVIE, to detect
459 presence on XOrg, where -lXevie is a separate library.
461 2005-03-08 Bill Haneman <bill.haneman@sun.com>
463 * configure.in, NEWS, README: Revved to 1.6.3.
465 2005-02-16 Adi Attar <aattar@cvs.gnome.org>
467 * configure.in: Added "xh" to ALL_LINGUAS.
469 2005-02-07 Bill Haneman <bill.haneman@sun.com>
471 * atk-bridge/bridge.c:
472 (atk_bridge_init): Added missing NULL in g_strconcat(),
473 also check for symlink before logging to
474 insecure directory. Thanks to meissner@suse.de.
476 2005-01-25 Padraig O'Briain <padraig.obriain@sun.com>
478 * tests/login-helper-server-test.c: Add return call to main
479 function. Patch from Chris Lahey. Fixes bug #165129.
481 2004-12-20 Padraig O'Briain <padraig.obriain@sun.com>
483 * cspi/spi.h: Add description for SPI_RELATION_SUBWINDOW_OF.
485 2004-12-09 Bill Haneman <billh@gnome.org>
487 * registryd/registry-main.c:
488 Added #define <string.h> for strrchr. (bug 160862).
489 Thanks to Vincent Berger for catching.
491 2004-12-09 Padraig O'Briain <padraig.obriain@sun.com>
493 * atk-bridge/bridge.c (spi_atk_get_registry): Do not attempt to
494 restart registry process if the registry process is found to have died
495 and the current process is exiting.
496 (spi_atk_bridge_exit_func): Do not attempt to deregister the
497 application if the registry process has died.
498 (spi_atk_emit_eventv): Return if call to spi_atk_get_registry
499 does not return a registry object.
500 (spi_atk_tidy_windows): Give up if the registry process has died.
502 This fixes problems with hangs and crashes when logging out.
504 2004-12-03 Padraig O'Briain <padraig.obriain@sun.com>
506 * registryd/desktop.c: Add checking that we are not exiting before
507 calling spi_desktop_remove_application in
508 abnormal_application_termination. Fix for bug #152147.
510 2004-12-02 Bill Haneman <billh@gnome.org>
512 * configure.in, NEWS, README: Revved to 1.6.1.
514 Patch from Padraig O'Briain <padraig.obriain@sun.com>
515 * atk-bridge/bridge.c:
516 (atk_bridge_init): Save the pid when we start, to detect forks.
517 (spi_atk_bridge_exit_func): Don't call the cleanup routines
518 if we're in a forked pid.
520 2004-10-09 Bill Haneman <billh@gnome.org>
522 * idl/Accessibility_LoginHelper.idl:
523 Improved inline documentation.
525 2004-10-02 Jesus Bravo Alvarez <suso@trasno.net>
527 * configure.in: Added gl (Galician) to ALL_LINGUAS
529 2004-09-30 Kjartan Maraas <kmaraas@gnome.org>
531 * libspi/accessible.c:
532 (impl_accessibility_accessible_get_role_name),
533 (impl_accessibility_accessible_get_local_role_name):
535 * libspi/component.c:
536 (impl_accessibility_component_get_accessible_at_point):
538 * libspi/eventlistener.c: (spi_event_listener_new):
540 * libspi/stateset.c: (impl_compare): More of the same
541 * libspi/table.c: (impl_getRowDescription): Again.
542 * registryd/desktop.c: (spi_atk_desktop_get_type): Same
543 * registryd/deviceeventcontroller.c: (spi_clear_error_state),
544 (impl_generate_keyboard_event): Same.
545 * registryd/registry-main.c: (main): Same
546 * test/event-listener-test.c: (test_exit): Same
547 * test/keysynth-demo.c: (scan_state), (create_vkbd): Same
548 * test/keysynth-test.c: (test_key_synthesis): Same
549 * test/login-helper-server-test.c: (main): Fix warning.
550 * test/screen-review-test.c: (test_exit): Fix include.
551 * test/simple-at.c: (simple_at_exit), (_festival_init):
554 2004-09-13 Padraig O'Briain <padraig.vriain@sun.com>
556 * configure.in, NEWS, README: Revved to 1.6.0.
558 2004-09-12 Bill Haneman <bill.haneman@sun.com>
560 * configure.in: Rev and re-dist, since the 1.5.4 tarball
561 was missing the HTML docs.
563 2004-09-12 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
565 * configure.in: only cleanups:
566 - better looking PKG_CHECK_MODULES() output,
568 - declare in one common place required versions of other tools using
571 2004-09-11 J.H.M. Dassen (Ray) <jdassen@debian.org>
573 * configure.in: libspi/accessible.c uses ATK_ROLE_EMBEDDED
574 (unconditionally) which was introduced in ATK 1.7.2. Bumped the
575 required ATK version accordingly.
577 2004-09-03 Bill Haneman <bill.haneman@sun.com>
579 * cspi/bonobo/cspi-bonobo.c:
580 (cspi_display_name): Fix C99ism.
581 * atk-bridge/bridge.c:
582 (spi_display_name): Fix C99ism.
583 Patch from Jens Granseuer, jensgr@gmx.net.
585 2004-09-03 Gora Mohanty <gmohanty@cvs.gnome.org>
587 * configure.in: Added "or" to ALL_LINGUAS.
589 2004-08-20 Bill Haneman <bill.haneman@sun.com>
591 * configure.in, NEWS, README: Revved to 1.5.4.
593 * registryd/registry-main.c:
594 (main): Set the reg_env to use AT_SPI_DISPLAY instead of
597 * cspi/bonobo/cspi-bonobo.c:
598 (cspi_display_name): New convenience method, gets DISPLAY with
599 screen number stripped, if AT_SPI_DISPLAY isn't already set.
600 (cspi_init): Set the activation env value above before getting
603 * atk-bridge/bridge.c:
604 (spi_display_name): Create the AT_SPI_DISPLAY activation
605 environment for an app, based on the DISPLAY environment with the
606 screen number stripped off.
607 (atk_bridge_init): Allow redirection of error messages to a log.
608 (spi_atk_bridge_get_registry): Call
609 bonobo_activation_set_activation_env_value for AT_SPI_DISPLAY.
611 Fixes for bugs #149962, #136986, #144086.
613 2004-08-16 Christian Rose <menthos@menthos.com>
615 * configure.in: Added "bs" to ALL_LINGUAS.
617 2004-08-12 Kjartan Maraas <kmaraas@gnome.org>
619 * configure.in: Added nb to ALL_LINGUAS.
621 2004-09-03 Bill Haneman <bill.haneman@sun.com>
624 (SPI_init): Return error code '2' if the activated
625 registry cannot be pinged. Fixes bug #147648.
627 2004-07-28 Bill Haneman <bill.haneman@sun.com>
629 * registryd/deviceeventcontroller.c:
630 (spi_dec_init_mouse_listener): Don't do XGrabButton,
631 rely on timer-poll instead, to avoid conflict with
634 2004-07-20 Bill Haneman <bill.haneman@sun.com>
636 * configure.in: Revved to 1.5.3.
638 * idl/Accessibility_Role.idl: Added ROLE_EMBEDDED (bug #144415).
640 * libspi/accessible.c: Added support for ROLE_EMBEDDED.
642 * cspi/spi_accessible.c: Support for ROLE_EMBEDDED.
644 * cspi/spi-roletypes.h: Added SPI_ROLE_EMBEDDED.
646 2004-06-11 Bill Haneman <bill.haneman@sun.com>
648 * atk-bridge/bridge.c:
649 (spi_atk_bridge_do_registration):
650 Register with ATK for AtkComponent:bounds-changed events.
651 (api_atk_bridge_signal_listener):
652 Marshal the AtkRectangle info into the event notification
653 for object:bounds-changed events.
656 (spi_init_any_rect): New method, inits a corba struct of
657 type Accessibility_BoundingBox from an AtkRectangle.
659 * libspi/spi-private.h: Declared spi_init_any_rect (above).
662 (SPIRect): New struct definition.
663 (SPI_freeRect): New declaration.
664 (AccessibleBoundsChangedEvent_getNewBounds): New, see below.
667 (AccessibleBoundsChangedEvent_getNewBounds): New method,
668 implemented. Gets the bounding box data from the CORBA_any
669 associated with a bounds-changed event notification.
670 (cspi_internal_event_get_rect): New, used internally by above method.
673 (SPI_freeRect): Implemented this new method, for freeing
676 * test/event-listener-test.c:
677 (main, report_bounds_event):
678 Added a test for object:bounds-changed events.
680 2004-06-01 Bill Haneman <bill.haneman@sun.com>
682 * test/login-helper-server-test.c:
683 (main): Fix C99-ism. Thanks to Jens Granseuer.
685 2004-05-28 Padraig O'Briain <padraig.obriain@sun.com>
687 * libloginhelper-1.0.pc.in:
688 * idl/Accessibility_LoginHelper.idl:
689 * login-helper/Makefile.am:
690 * login-helper/login-helper.[ch]:
691 * test/login-helper-client-test.c:
692 * test/login-helper-server-test.c: Added files missing from CVS.
693 Files obtained from at-spi-1.5.2 tarball.
695 2004-05-27 Bill Haneman <bill.haneman@sun.com>
697 * configure.in: Create login-helper/Makefile.
698 Incremented micro version.
700 * Makefile.am: Add login-helper subdir and pkgconfig data.
702 * login-helper: New subdir.
704 * libloginhelper-1.0.pc.in: New.
706 * idl/Accessibility_LoginHelper.idl: New file, defines
707 interface whereby authentication clients can identify agents which
708 need access to services during the login process, e.g. screen lock
711 * login-helper/Makefile.am : New.
713 * login-helper/login-helper.[ch] : New, implementation of
714 a LoginHelper base class. Services needing LoginHelper can subclass.
716 * test/Makefile.am : Added test for login-helper, client and
719 * test/app.c, at.c, keypad-test.c, keysynth-test.c, stress-test.c:
720 Use proper prefix in #include files.
722 * test/login-helper-client-test.c: New.
724 * test/login-helper-server-test.c: New.
726 2004-05-27 Alexander Shopov <ash@contact.bg>
728 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
730 2004-05-14 Padraig O'Briain <padraig.obriain@sun.com>
732 * cspi/spi_main.c (cspi_object_unref): Add check that reference count
733 is positive. This should make it easier to detect inapprorpiate unref
736 2004-05-11 James Henstridge <james@daa.com.au>
738 * configure.in: remove GNOME_PLATFORM_GNOME_2 macro, which is a
739 no-op and deprecated.
741 2004-05-03 Pablo Saratxaga <pablo@mandrakesoft.com>
743 * configure.in: Added "wa" (Walloon) to ALL_LINGUAS.
745 2004-04-28 Bill Haneman <billh@gnome.org>
747 * Makefile.am: Added --enable-gtk-doc to
748 DISTCHECK_CONFIGURE_FLAGS; fixes make distcheck.
750 2004-04-19 Bill Haneman <billh@gnome.org>
752 * configure.in: Revved to 1.5.1.
754 * registryd/deviceeventcontroller.c:
756 (DEControllerPrivateData): Added fields for
757 reserved_keycode, reserved_keysym, and reserved_reset_timeout.
758 (spi_dec_replace_map_keysym): New internal utility for
759 replacing a keysym in the keymap - used to allow
760 synthesis of individual characters which aren't in the
762 (spi_dec_reset_reserved): New; resets the changed keysym value
764 (keycode_for_keysym): We now try to deal with failed
765 XKeysymToKeycode requests by changing a keymap value
766 and returning a reserved keycode. We now take
767 a DEController pointer as first arg.
768 (spi_controller_register_with_devices): Call XkbGetMap with
769 the XkbKeySymsMask. Find the highest keycode in the current
770 keymap which doesn't have any grabs, and mark that one for
771 temporary re-mapping when out-of-range KeySyms are synthesized.
772 (dec_synth_keycode_press): Call XFlush after synthesizing the key
775 2004-04-08 Guntupalli Karunakar <karunakar@freedomink.org>
777 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
779 2004-03-24 Alexander Winston <alexander.winston@comcast.net>
781 * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
783 2004-03-24 Bill Haneman <billh@gnome.org>
786 (AccessibleTable_addRowSelection),
787 (AccessibleTable_addColumnSelection),
788 (AccessibleTable_removeRowSelection),
789 (AccessibleTable_removeColumnSelection):
790 Add declarations for spi wrappers which were
791 inadvertantly omitted. Fixes bug #133413.
794 Revved to 1.5.0 (unstable series for GNOME 2.7).
796 2004-03-24 Bill Haneman <billh@gnome.org>
798 * atk-bridge/bridge.c:
799 Bracketed some debug output in
800 conditionals, to avoid printing it in normal use.
803 * libspi/hyperlink.c:
804 Don't cast 'object' to ATK_OBJECT when constructing
805 an AtkAction interface for a hyperlink.
806 See discussion in bug #120659.
808 * test/key-listener-test.c:
809 (report_all_key_event): Send output to stderr,
810 not stdout, for consistency with the rest of the test callbacks.
813 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
814 Don't add X_LIBS to CFLAGS (Fix for bug #134332).
815 Incremented to 1.4.1 (but didn't dist yet - I'm going to
816 try incrementing the revision AFTER doing a dist, at least
819 2004-03-22 Bill Haneman <billh@gnome.org>
821 * configure.in: Revved to 1.4.0, libtool 9.14.9
823 2004-03-17 Laszlo Peter <laca@sun.com>
825 * libspi-1.0-uninstalled.pc.in: add idldir
827 * cspi-1.0-uninstalled.pc.in: add idldir
829 2004-03-16 Gareth Owen <gowen72@yahoo.com>
831 * configure.in: Added "en_GB" to ALL_LINGUAS
833 2004-03-15 Bill Haneman <billh@gnome.org>
835 * configure.in: Revved to 1.3.16,
838 2004-03-15 Laszlo Peter <laca@sun.com>
840 * libspi-1.0-uninstalled.pc.in: new file
842 * cspi-1.0-uninstalled.pc.in: new file
844 * configure.in: add the new pc files to AC_OUTPUT
846 * Makefile.am: add the new pc files to EXTRA_DIST
848 2004-03-12 Bill Haneman <billh@gnome.org>
850 * atk-bridge/bridge.c:
851 (spi_atk_bridge_key_listener):
852 Make sure to return consumed=FALSE if snoop
853 event is not dispatched to listener.
856 2004-03-01 Bill Haneman <billh@gnome.org>
858 * configure.in: Revved to 1.3.15,
861 2004-03-07 Danilo Segan <dsegan@gmx.net>
863 * configure.in: Added "sr@ije" to ALL_LINGUAS.
865 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
867 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
869 2004-03-01 Bill Haneman <billh@gnome.org>
871 * configure.in: Revved to 1.3.14.
874 (SPI_exit): Removed "bye-bye" exit message.
875 Moved "leak" report to happen before the
876 iteration over the leaked refs list.
877 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
879 2004-02-24 Bill Haneman <billh@gnome.org>
881 * configure.in: Revved to 1.3.13.
883 * docs/reference/cspi/Makefile.am:
884 Correct typo that was breaking the docs build.
886 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
888 * autogen.sh: Require version 1.7 of automake.
890 * configure.in: call GTK_DOC_CHECK([1.0])
892 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
894 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
896 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
898 * test/Makefile.am: Remove use of CFLAGS.
900 This fixes bug #132987.
902 2004-02-11 Bill Haneman <billh@gnome.org>
904 * reverted most of Tomasz' patch below, since it was breaking
905 builds (see bug #134058).
907 2004-02-10 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
909 * docs/reference/cspi/at-spi-cspi.types: added empty file for
910 correct pass "make dist" (empty .. because seems no sach types in
911 header files with gtk-doc markups).
912 * docs/reference/cspi/Makefile.am, configure.in:
913 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
914 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
915 * Makefile.am: added:
916 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
917 for force correct pass generate documentation on "make distcheck".
918 * libspi/Makefile.am: fixes for automake >= 1.6.
919 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
920 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
923 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
925 * docs/reference/cspi/Makefile.am (install-data-local): Install
926 index.sgml since the doc autobuilder on widget.gnome.org looks for
929 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
931 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
934 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
936 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
938 2004-01-27 Brian Cameron <brian.cameron@sun.com>
940 * test/simple-at.c: Fixed null string problems that cause core
941 dumping problems on Solaris.
943 2004-01-12 Bill Haneman <billh@gnome.org>
945 * configure.in: Incremented version to 1.3.11.
947 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
949 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
950 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
953 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
955 * configure.in: Added "fa" to ALL_LINGUAS.
957 2003-12-20 Arafat Medini <lumina@silverpen.de>
959 * configure.in: Added "ar" to ALL_LINGUAS
961 2003-12-16 Bill Haneman <billh@gnome.org>
963 * registryd/registry-main.c:
965 Set the reg_env DISPLAY variable before registering the
966 activated registry service. Fixes bug #129479.
968 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
970 * configure.in: Added "id" in ALL_LINGUAS
971 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
973 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
975 * registryd/deviceeventcontroller.c (global_filter_fn):
976 When an event is consumed discard any XEvents were added to
977 the queue while dealing with the the event. This can happen if
978 processing of the event takes a long time. Call XUngrabKeyboard
979 if an event was discarded. This fixes bug $124837.
980 Only call wait_for_release_event for a KeyPress.
981 Use local variable display instead of spi_get_display().
982 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
985 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
987 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
988 Allow for mask to contain values other than NumLock mask.
991 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
993 * registryd/devieceventcontroller.c:
994 (wait_for_release_event): Change first parameter from GdkEvent to
996 (global_filter_fn); Correct call to wait_for_release_event.
1000 2003-12-08 Bill Haneman <billh@gnome.org>
1004 * registryd/ucs2keysym.c: New file.
1006 * registryd/deviceeventcontroller.c:
1007 (dec_keysym_for_unichar): Remove old partial implementation and
1008 replace with call to ucs2keysym(), which is much more complete.
1009 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
1014 2003-12-05 Bill Haneman <billh@gnome.org>
1016 * configure.in: Version 1.3.9.
1018 * docs/reference/cspi/tmpl/spi_registry.sgml:
1019 Added reference to libspi/keymasks.h to the
1020 description of Registry queries: AccessibleKeyMaskType.
1023 2003-12-04 Bill Haneman <billh@gnome.org>
1025 Fix for bug #121974.
1027 * idl/Accessibility_Application.idl:
1028 (Accessibility::LOCALE_TYPE): New enum, corresponds to
1029 setlocale's LC_TYPEs.
1030 (Accessibility::Application::getLocale): New method.
1031 Allows clients to query the locale, by type, of an app.
1034 * cspi/spi_application.c:
1035 (AccessibleApplication_getLocale): New method, wraps IDL above.
1037 * libspi/application.c:
1038 (spi_application_class_init): Init epv entry for getLocale.
1039 (impl_accessibility_application_get_locale): Impl for above.
1041 * test/test-simple.c:
1042 (test_application): Added assertion for getLocale, i.e.
1043 that the string from AccessibleApplication_getLocale (app, type)
1044 is the same as that from setlocale (type, NULL);
1046 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1048 *registryd/deviceeventcontroller.c: Add an idle handler which polls
1049 the keyboard on a timeout intil the key state goes from pressed to
1050 released. Fixes bug #111429.
1052 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1054 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
1055 root object so that it is present when a context menu in an
1056 out-of-process applet is popped up.
1057 (spi_atk_bridge_do_registration): Create acceessible application root
1058 object only if it does not exist.
1060 This fixes bug #125834.
1062 2003-12-01 Bill Haneman <billh@gnome.org>
1064 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
1067 Added enum for AccessibleStreamableContentSeekType.
1068 (AccessibleStreamableContent_freeContentTypeList): New.
1070 * cspi/spi_streamablecontent.c:
1071 (accessible_bonobo_stream_client_seek): New private method.
1072 (AccessibleStreamableContent_seek): Implemented this method,
1073 using Bonobo_Stream_seek.
1074 (AccessibleStreamableContent_freeContentTypeList): New method
1075 for freeing the return value from
1076 AccessibleStreamableContent_getContentTypes.
1077 (stream_cache_item_free): Replaces stream_release; stop leaks.
1078 (stream_release): removed.
1079 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
1080 free the memory properly.
1082 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
1084 Fix for bug #116009.
1086 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
1088 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
1090 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
1092 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
1094 2003-12-01 Bill Haneman <billh@gnome.org>
1096 Fix for bug/rfe #127463.
1098 * idl/Accessibility_Accessible.idl:
1099 (getLocalizedRoleName): New.
1100 (unimplemented4): Removed (replaced by above).
1102 * libspi/accessible.c:
1103 (impl_accessibility_accessible_get_local_role_name): New.
1104 (spi_accessible_class_init): Add getLocalizedRoleName entry to
1108 (Accessible_getLocalizedRoleName): New.
1110 * cspi/spi_accessible.c:
1111 (Accessible_getLocalizedRoleName): New.
1113 2003-12-01 Bill Haneman <billh@gnome.org>
1115 Fix for bug #118581.
1116 * idl/Accessibility_Text.idl:
1117 (getDefaultAttributes): New.
1118 (unimplemented4): Removed (replaced by above method).
1121 (impl_getDefaultAttributes): New method.
1122 (spi_text_class_init):
1123 initialize the get_default_attributes slot in the epv.
1126 (AccessibleText_getDefaultAttributes): New prototype.
1129 (AccessibleText_getDefaultAttributes): New method.
1131 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
1133 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
1134 write beyond the end of the table. Fixes bug #120473.
1136 2003-09-30 Christian Rose <menthos@menthos.com>
1138 * configure.in: Added "eu" to ALL_LINGUAS.
1140 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
1142 * configure.in: ALL_LINGUAS: Added no.
1144 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
1146 * configure.in: Added lt to ALL_LINGUAS.
1148 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
1150 * atk-bridge/bridge.c:
1151 (atk_bridge_init): Register event listeners always even for
1152 out-of-process applet.
1153 (spi_atk_bridge_toplevel_added): Remove call to
1154 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
1155 (spi_atk_bridge_toplevelk_removed): Remove call to
1156 spi_atk_deregister_event_listenersa as the listeners are now always
1158 (spi_atk_bridge_register_application): Remove call to
1159 spi_atk_register_event_listeners as it is not done in atk_bridge_init
1161 This fixes bug #120991.
1163 * libspi/table.c (impl_getColumnDescription): Correct typo,
1164 pointed out by Bolian.Yin@sun.com.
1166 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
1168 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
1170 2003-09-08 Bill Haneman <billh@gnome.org>
1172 * configure.in: Revved to 1.3.7.
1174 This is the GNOME 2.4.0 release of at-spi.
1176 * docs/reference/cspi/Makefile.am:
1177 Removed spurious inclusion of 'index.sgml' in the
1178 html directory; this was breaking make distcheck and
1179 also some other build environments.
1181 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
1183 * registryd/registry.[ch}:
1184 Add queue_handler_id and focus_object to SpiRegistry data structure.
1185 (registry_flush_event_queue): If event being discarded is
1186 "state-change:focused" store object as focus_object.
1187 (registry_start_queue): Remove queue handler and focus object
1189 (registry_discard_event): New function which discards a focus event
1190 if we had stored focus object in the registry.
1191 (registry_queue_event): Add new check that is_queueing is set as this
1192 function is reentrant.
1193 (registry_filer_event): Add call to registry_discard_event.
1195 This resolves issues raised in bug #108664.
1197 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
1199 * configure.in: Added "bn" to ALL_LINGUAS.
1201 2003-09-04 Bill Haneman <billh@gnome.org>
1203 * cspi/spi_event.c: Documentation improvements for
1204 (SPI_registerAccessibleKeylistener).
1206 * docs/reference/tmpl/spi_registry.sgml:
1207 Documentation improvements for SpiAccessibleKeylistenerCB.
1209 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
1211 * configure.in: Added "ro" to ALL_LINGUAS.
1214 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
1216 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
1217 not decremented to zero. Fixes bug #120725.
1219 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
1221 * configure.in: Added "ja" to ALL_LINGUAS.
1223 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
1225 * configure.in: Added "is" to ALL_LINGUAS.
1227 2003-08-22 Christian Rose <menthos@menthos.com>
1229 * configure.in: Added "nl" to ALL_LINGUAS.
1231 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1233 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
1234 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
1236 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
1238 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
1239 type for unspecified exception.
1240 * cspi_streamablecontect): Add include of string.h for memcpy.
1241 (stream_release): Correct call to bonobo_object_release_unref
1242 (stream_cache_item_free): Correct call to bonobo_object_release_unref
1243 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
1244 argument of _cspi_expection_throw.
1245 * libspi/hyperlink.c: Add include of libspi/action.h:
1246 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
1247 * libspi/streamablecontent.c: add include of libspi/component.h.
1248 * regisrtyd/deviceeventcontroller.c:
1249 (spi_dec_translate_mask): Removed unused variable priv.
1250 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
1251 * registryd/registry.c:
1252 (registry_filter_event): Remove unused variable queue_is-empty.
1253 (impl_registry_notify_event): Use correct modifier in fprintf call.
1255 This fixes compiler warnings reported in bug #120220.
1257 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
1259 * registryd/registryd.c: Remove this file.
1261 2003-08-17 Sanlig Badral <badral@openmn.org>
1263 * configure.in: Added mn to ALL_LINGUAS.
1265 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
1267 * configure.in: Added et to ALL_LINGUAS.
1269 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
1271 * test/event-listener-test.c: Change active-descendant to
1272 active-descendant-changed.
1274 2003-08-10 Sami Pesonen <sampeson@iki.fi>
1276 * configure.in: Added "fi" in ALL_LINGUAS.
1278 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
1280 * configure.in: Added "hi" in ALL_LINGUAS.
1282 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
1284 * configure.in: Revved to 1.3.6.
1288 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
1290 * registryd/deviceeventcontroller.c
1291 (spi_device_event_controller_object_finalize): Fix typo in previous
1294 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
1296 * registryd/deviceeventcontroller.c
1297 (spi_device_event_controller_object_finalize): Fix build on
1298 systems without XEvIE.
1300 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
1302 * acconfig.h, configure.in, registryd/Makefile.am,
1303 registryd/devicecontoller.[ch]: Add XEViE support.
1305 2003-08-06 Wang Jian <lark@linux.net.cn>
1307 * configure.in: Added "zh_CN" to ALL_LINGUAS.
1309 2003-08-06 Metin Amiroff<metin@karegen.com>
1311 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
1313 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
1315 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
1316 MODIFIER_ALT in correct place.
1318 This fixes part of bug #118114.
1320 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
1322 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
1324 2003-07-28 Changwoo Ryu <cwryu@debian.org>
1326 * configure.in: Added "ko" to ALL_LINGUAS.
1328 2003-07-28 Ole Laursen <olau@hardworking.dk>
1330 * configure.in: Added "da" to the commented out ALL_LINGUAS.
1332 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
1334 * configure.in: Added "sq" to ALL_LINGUAS.
1336 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
1338 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
1340 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
1342 * configure.in: updated ALL_LINGUAS list
1344 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1346 * configure.in: Added Belarusian to ALL_LINGUAS.
1348 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
1350 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
1352 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
1353 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
1355 This fixes bug #116949.
1357 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
1359 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
1360 Correct CSPI to SPI in function documentation.
1362 This fixes bug #118054.
1364 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1366 * configure.in: Added Russian to ALL_LINGUAS.
1368 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
1370 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
1372 2003-07-14 Danilo Ã…Â Segan <dsegan@gmx.net>
1374 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
1376 2003-07-10 Joel Brich <joel.brich@laposte.net>
1378 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
1380 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
1382 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
1384 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
1386 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
1387 resources allocated for AccessibleEvent. See cspi_event().
1389 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
1390 static variable streams to NULL.
1392 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
1393 Update so that AcessibleEvent_ref will work.
1395 This fixes bug #116624.
1397 2003-07-06 Jordi Mallach <jordi@sindominio.net>
1399 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
1401 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
1403 * configure.in: Added "fr" (French) to ALL_LINGUAS.
1405 2003-07-02 Christian Neumair <chris@gnome-de.org>
1407 * configure.in: Added "de" (German) to ALL_LINGUAS.
1409 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
1411 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
1413 2003-07-01 Miloslav Trmac <mitr@volny.cz>
1415 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
1417 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
1419 * configure.in: Added "pl" to ALL_LINGUAS.
1421 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
1423 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
1425 2003-06-30 Bill Haneman <bill.haneman@sun.com>
1428 (get_action_from_servant):
1429 Removed assertion that action is implemented on an AtkObject.
1431 * libspi/hyperlink.c:
1432 (spi_hyperlink_new):
1433 Aggregate AccessibleAction interface on the hyperlink object if
1434 the object implements AtkAction. (This convention is used in
1437 2003-06-30 Bill Haneman <bill.haneman@sun.com>
1439 * configure.in: Revved to 1.3.5.
1441 * registryd/Accessibility_Registry.server.in.in:
1442 Marked up appropriate strings for translation.
1444 * atk-bridge/bridge.c: Marked a couple of
1445 user-visible warnings for translation. Questionable
1446 whether they are really useful, but possibly so.
1449 2003-06-28 Christian Rose <menthos@menthos.com>
1451 * configure.in: Added "sv" to ALL_LINGUAS.
1453 2003-06-26 Bill Haneman <bill.haneman@sun.com>
1455 * registryd/registry.c:
1456 (spi_registry_object_finalize): Unref the deviceeventcontroller.
1457 (registry_defer_on_event): Defer focus: events, this is an
1458 improvement to the patch for bug #108664.
1460 * TODO: Update with 2.4/"Dev Complete" items.
1462 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
1464 * atk-bridge/bridge.c:
1465 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
1466 looks up signals once.
1467 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
1468 if doing registration.
1469 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
1470 when doing registration.
1472 This fixes bug #115014.
1474 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
1476 * atk-bridge/bridge.c:
1477 (atk_bridge_init): Add signal handler for children-changed:remove on
1478 root when in a BonoboComponent.
1479 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
1480 for first toplevel only other incrememt variable toplevels.
1481 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
1482 application and remove listeners.
1483 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
1485 (spi_atk_deregister_event_listeners): New function which removes
1487 (reinit_register_vars): New fuction which reinitializes variables.
1489 This fixes bug #111578.
1491 2003-06-13 Bill Haneman <bill.haneman@sun.com>
1493 * configure.in: version 1.3.4.
1495 * cspi/spi_accessible.c:
1496 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
1499 2003-06-13 Michael Meeks <michael@ximian.com>
1501 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
1503 * cspi/spi_main.c (cspi_peek_ev): impl.
1505 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
1507 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
1509 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
1511 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
1512 SPI_ROLE_AUTOCOMPLETE
1514 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
1516 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
1517 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
1519 2003-06-11 Bill Haneman <bill.haneman@sun.com>
1521 * libspi/streamablecontent.h:
1522 * libspi/streamablecontent.c:
1523 New files, provide implementation/wrappers for
1524 Accessibility_StreamableContent.
1526 * cspi/spi_streamablecontent.c:
1527 Connected the C wrappers to the libspi C bindings.
1528 (AccessibleStreamableContent_close): New method.
1531 (AccessibleStreamableContent_close): New method, needed
1532 since we have an "open, [seek], read, close" model in cspi.
1534 2003-06-11 Bill Haneman <bill.haneman@sun.com>
1536 Fix for #108664; Padraig's revision of my original patch.
1538 * registryd/registry.h:
1539 Added event queue list, is_queuing, and exit_notify_timeout
1540 to the registry struct.
1542 * registryd/registry.c:
1543 (registry_init): Initialize new struct from registry.h.
1544 (impl_registry_notify_event):
1545 Filter events before notifying, in case some need to be
1547 (registry_filter_event): New,
1548 we defer certain incoming events (for instance
1549 window:deactivate) because we may wish to hide
1550 or reject them based on pending events. This is
1551 mostly a workaround for bug #108664.
1552 (registry_queue_event, registry_start_queue): New.
1553 (registry_defer_on_event): Test event to see if it
1555 (registry_reset_on_event): Returns TRUE if the
1556 event should cause a queue reset.
1557 (registry_discard_on_event): Returns TRUE if the event
1558 should cause the previous queue contents to be discarded.
1559 (registry_timeout_flush_queue): Flushes the pending event
1560 queue if no reset/discard-triggering events have come in
1561 within the timeout period.
1562 (registry_emit_event): New.
1563 (registry_clone_notify_context): New, used when queueing the
1564 event notify contexts.
1566 2003-06-10 Bill Haneman <bill.haneman@sun.com>
1568 * configure.in: Version revved to 1.3.2, lt 0.9.2
1569 Incremented ATK required version to 1.3.4.
1571 * cspi/spi_registry.c:
1572 (SPI_generateKeyEvent):
1573 We now pass the keystring along if it's non-null.
1575 * registryd/deviceeventcontroller.c:
1576 (keysym_mod_mask): New method, returns modifier mask
1577 required to generate a keysym from a given keycode.
1578 (dec_synth_keysym): New method.
1579 (dec_synth_keystring): New method.
1580 (dec_get_modifier_state): New method.
1581 (dec_lock_modifiers): New
1582 (dec_unlock_modifiers): New.
1583 (dec_keysym_for_unichar): New, rather brute-force
1584 conversion from UCS-4 to X KeySyms. Only works for
1585 Latin at the moment, with partial implementations for
1586 Greek, Hebrew, and (incomplete) Katakana.
1587 (impl_generate_keyboard_event): Now implement
1588 "KEYSTRING" synthesis and implement "KEYSYM"
1590 (keycode_from_keysym): Improved, passes a returned
1591 modmask value now if the corresponding param is non-NULL.
1593 Fixes bugs #92143 and #109776.
1596 * test/keysynth-test.c:
1597 New test program for key synthesis, to confirm fixes for
1601 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
1603 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
1605 * cspi/spi_accessible.c (cspi_init_relation_type_table):
1606 Add line for RELATION_POPUP_FOR
1608 * docs/reference/cspi/tmpl/spi_relation.sgml:
1609 Add relation SPI_RELATION_POPUP_FOR
1611 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1612 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
1614 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
1616 * libspi/relation.c (spi_init_relation_type_table):
1617 Add line for RELATION_POPUP_FOR
1619 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
1621 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
1622 there are still windows which have not been deleted and emit
1623 window:deactivate, if necessary and window:destroy events.
1624 This fixes bug #114370. The change on June 5th was not correct.
1626 2003-06-09 Bill Haneman <bill.haneman@sun.com>
1628 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
1631 (SPI_dupString): Allow dup-ing of a string such that it's safe to
1633 New methods for client exception handling and interception.
1634 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
1635 (SPI_exceptionHandlerPop): You guessed it...
1636 (SPI_getSourceType): Return the type of object which offended.
1637 (SPI_getExceptionCode): Return an enum code telling, possibly,
1638 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
1639 (SPIAccessibleException_getSource): get the source object for
1640 exceptions that come from Accessibles, if SPIExceptionSourceType is
1641 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
1642 (SPIException_getDescription): New, returns a string description of
1643 the problem. [Not yet a stable ABI, strings are not frozen]
1645 * cspi/spi-private.h:
1646 Added implementation details of opaque SPIException
1650 Implementations of above. Also
1651 (_cspi_exception_throw): new private method that
1652 dispatches exceptions to handlers, called from cspi-bonobo.c
1654 * cspi/bonobo/cspi-bonobo.c:
1655 (cspi_check_ev): call _cspi_exception_throw.
1656 Don't print a warning message if the exception has been
1657 handled by _cspi_exception_throw.
1659 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
1661 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
1662 there are still windows which have not been deleted and emit
1663 window:deactivate, if necessary and window:destroy events.
1664 This fixes bug #114370.
1666 2003-06-03 Bill Haneman <bill.haneman@sun.com>
1669 (cspi_accessible_is_a): Make non-fatal
1670 if the object reference is dead.
1672 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
1674 * cspi/spi_main.c: #include <stdio.h>
1675 * test/simple-at.c: ditto
1676 * test/event-listener-test.c: ditto
1677 * test/screen-review-test.c: ditto
1679 2003-05-30 Michael Meeks <michael@ximian.com>
1681 * test/test-simple.c (main): use CORBA_ORB_perform_work
1682 instead of an unnecessary linc_ call.
1684 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
1686 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
1687 Add SPI_STATE_INDETERMINATE.
1689 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
1692 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
1694 * libspi/stateset.c (init_state_type_tables): Add support for
1697 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
1699 * configure: Update versions of atk and gail required.
1700 This fixes bug #113268.
1702 2003-05-02 Bill Haneman <bill.haneman@sun.com>
1704 * configure.in: Revved micro version to 1.3.1 (because of build fix).
1706 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
1708 * libspi/Makefile.am:
1709 Ensure headers are generated before being used by c sources.
1711 2003-05-01 Bill Haneman <bill.haneman@sun.com>
1714 Simplified lt versioning rules.
1715 Incremented version to 1.3.0, to indicate that we're on the
1716 unstable branch now.
1718 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
1720 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
1721 Add MKDB_OPTIONS=--outtput-format=xml
1723 * docs/reference/cspi/at-spi-cspi-docs.sgml
1724 docs/reference/idl/at-spi-idl-docs.sgml:
1725 Convert to Docbook XML.
1727 This fixes bug #111793.
1729 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
1731 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
1732 AcccessibleKeyEventType, AccessibleKeyMaskType.
1734 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
1736 * cspi/state-types.h: Add documentation for AccessibleState.
1738 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
1739 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
1740 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
1741 AccessibleComponentLayer.
1743 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
1746 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
1748 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
1749 Accessible. Add description of AccessibleEvent,
1750 AccessibleEventListenerCB.
1752 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
1755 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
1756 documentation. Add description of AccessibleKeystrokeListenerCB,
1757 AccessibleKeyEventMask, AccessibleModifierMaskType,
1758 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
1759 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
1761 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
1764 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
1767 This fixes bug #104730.
1769 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
1771 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
1772 Set is_text field of Accessibility_DeviceEvent data structure.
1774 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
1775 is-text field of AccessibleDeviceEvent data structure.
1777 This addresses part of bug #108666.
1779 * registryd/devcieeventcontroller.c: Unset debug option.
1781 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
1783 * cspi/accessible.c:
1784 (cpi_initial_relation_type_table): New function which initializes
1785 mapping between Accessibility_RelationType and AccessibleRelationType.
1786 (cspi_relation_type_from_spi_relation_type): New function which
1787 translates an Accessibility_RelationType into an AccessibleRelationType.
1788 (AccessibleRelation_getRelationType): Use
1789 cpi_relation_type_get_spi_relation_type to return correct value.
1790 (spi_state_to_corba): Return correct type for default case.
1792 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
1793 Use Accessibility_EventType instead of Accessibility_KeyEventType.
1795 * cspi/cspi-bonobo-listener.c:
1796 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
1799 * libspi/accessible.c, libspi/action.c, libspi/application.c,
1800 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
1801 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
1802 libspi/image.c, libspi/listener.c, libspi/selection.c,
1803 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
1804 registryd/desktop.c, registryd/registry.c:
1805 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1807 * libspi/eventlistener.c
1808 Remove semicolon after BONOBO_TYPE_FUNC.
1810 * libspi/relation.c:
1811 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1812 (spi_init_relation_type_table): Initialize using correct type.
1814 * registryd/desktop.c:
1815 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1816 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
1817 of Accessibility_KeyEventType.
1819 * test/key-listener-test.c (report_tab_key_event): Use fprintf
1822 * tests/simple-at.c, tests/screen-review-test.c:
1823 Add include for <strings.h>.
1825 * tests.stress-test.c:
1826 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
1828 These changes fix compiler warnings when using FORTE compiler on
1829 Solaris; fixes bug #107479.
1832 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1835 * configure.in: revved to 1.1.10
1837 * libspi/keymasks.h:
1838 (SPI_KEYMASK_NUMLOCK): Added.
1840 * registryd/deviceeventcontroller.c:
1841 (spi_key_event_matches_listener): AND with a smaller
1842 bitmask (as we should).
1843 (spi_dec_translate_mask):
1844 New method, sets the virtual NumLock modifier bit
1845 if numlock is on. Eventually it can handle other virtual
1846 modifier bits if needed, or other marshalling from
1847 at-spi modifier masks to platform (X) masks.
1848 (spi_dec_key_listener_new):
1849 Call spi_dec_translate_mask to set up virtual mod bits
1850 in the 'mask' field when creating a new listener struct.
1851 (spi_dec_emit_modifier_event):
1852 Set the virtual (i.e. NumLock) bits before emitting event.
1853 (spi_controller_register_with_devices):
1854 Query for the NumLock modifier 'physical' bit if Xkb is
1855 present, for use in above methods.
1859 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1861 * registryd/deviceeventcontroller.c:
1862 (spi_keystroke_from_x_key_event):
1863 Instead of checking to see if the keysym is
1864 printable, check the string from XLookupString
1865 if available, get the first unicode character from it,
1866 and call g_unichar_isprint to determine whether the
1867 is_text flag should be TRUE or FALSE.
1871 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1873 * atk-bridge/bridge.c: Add support for extended events
1874 * cspi/spi_event.c: Add documentation and implementation for
1876 * tests/event-listener-test.c: Add tests for extended events.
1878 This fixes bugs #100424 and #100426.
1880 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1882 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
1883 of LT_CURRENT. This fixes bug #89350.
1885 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
1887 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
1888 number of signal parameter values before accessing them. This fixes
1891 2003-04-01 Bill Haneman <bill.haneman@sun.com>
1893 * configure.in: Fixed duplicate inclusion of -lspi.
1894 * branched for gnome-2-2/HEAD.
1895 [created tag "gnome-2-2"]
1897 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1899 * configure.in: 1.1.9 release.
1902 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1904 [needed by GOK, to fix bugs 107985 and 107988]
1905 * registryd/deviceeventcontroller.c:
1906 (spi_dec_clear_unlatch_pending):
1907 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
1908 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
1909 (spi_dec_init_mouse_listener):Emit warning if mouse button
1911 (spi_device_event_controller_forward_mouse_event):
1912 Removed unnecessary parens from a conditional.
1913 (global_filter_fn):Added TODO comment.
1914 (impl_generate_keyboard_event):
1915 Cancel a pending relatch if a 'delatching' key was
1918 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
1920 * atk-bridge/bridge.c:
1921 Change atk_signal_child_changed to atk_signal_children_changed.
1922 Reorganize code in spi_atk_bridge_signal_listener().
1924 * test/event-listener-test.c:
1925 Add children_changed_listener and report_children_changed_event()
1926 to test AccessibleChildEvent_getChildAccessible.
1928 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
1930 * cspi/spi_event.c (cspi_internal_event_get_text): Change
1931 g_strdup to CORBA_String_dup (bug #105291)
1933 * test/event-listener-test.c (report_text_event): Add call to
1936 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1938 * registryd/deviceeventcontroller.c:
1939 (spi_keystroke_from_x_key_event):
1940 Fix string and keysym return codes to match modifier state.
1943 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1945 * registryd/deviceeventcontroller.c:
1946 (spi_keystroke_from_x_key_event):
1947 Fix segv due to improper use of isprint(c). [bug #107254]
1949 2003-02-24 Bill Haneman <bill.haneman@sun.com>
1952 (get_accessible_text_boundary_type):
1953 Move default return value to (new) default case in switch.
1954 (get_accessible_text_clip_type):
1955 Move default return value to (new) default case in switch.
1957 * libspi/application.c:
1958 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
1959 Remove unused methods.
1960 (impl_accessibility_application_register_object_event_listener):
1961 Remove unused methods.
1964 Added #include of <math.h>.
1966 * registryd/deviceeventcontroller.c:
1967 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
1968 we don't currently use this method.
1969 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
1971 (impl_generate_key_event):
1972 Remove unused variables.
1973 (impl_generate_mouse_event):
1974 Initialize button to zero, just in case we get an invalid
1975 input. Added support for mouse buttons 4 and 5.
1976 (spi_device_event_controller_new):
1977 Removed unused variable declaration for 'private'.
1979 Added #include of <gdk/gdk.h>
1981 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1983 * configure.in: Update to work when X is not installed in expected
1984 location. Fixes bug #105836.
1986 * atk-bridge/bridge.c
1987 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
1989 (spi_atk_register_event_listener): Add signal listener for
1991 (spi_atk_bridge_signal_listener): Event event when link-selected
1992 signal is emitted. (bug #104622)
1994 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
1995 on returned string. (bug #105291)
1997 * test/event-listener-test.c: Add test for link-selected.
1999 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2001 * atk-bridge/Makefile.am: Correct typo in previous commit.
2003 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
2005 * atk-bridge/Makefile.am: Allow for build directory to be different
2006 from source directory
2008 * registryd/Makefile.am: Allow for build directory to be different
2009 from source directory
2013 2003-01-29 Bill Haneman <bill.haneman@sun.com>
2016 Fixed dependencies for libcspi so that libspi gets pulled in
2017 properly. Fixes 104741.
2021 Clean up inline docs a little.
2023 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
2025 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
2026 This is done by implementing AtkComponent for SpiAtkDesktop, which is
2027 the AtkObject within an SpiDesktop.
2028 This addresses bug #101524.
2030 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
2031 Remove call to gdk_init().
2033 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
2034 so that Display is set when SpiDesktop is created.
2036 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
2038 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
2039 This fixes bug #102830.
2041 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2043 * test/test-simple.c: Update to take account of fact that GailButton
2044 now implements AtkText.
2045 (create_text_window): Set name on AtkObject for GtkEntry.
2046 (validate_accessible): Check accessible name before calling test_text().
2048 * libspi/Makefile.am: Fix problem with building outside of source
2049 directory. Bug #98120.
2051 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
2052 typo in documentation comments. Bug #94275.
2054 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2056 * libspi/text.c (impl_getBoundedRanges): Bug fix.
2058 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
2061 Add includes to avoid compiler warnings on Solaris.
2062 (impl_getRangeExtents): Bug fix.
2064 2002-12-17 Bill Haneman <bill.haneman@sun.com>
2066 Fix for 100944, [API addition approved by Gman and murrayc].
2073 * idl/Accessibility_Text.idl:
2074 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
2075 (Text::getRangeExtents): New method for efficient
2076 bounds query of a text range.
2077 (Text::getBoundedRanges): New method for efficient
2078 clipping of text to bounding boxes.
2079 (unImplemented7, unImplemented8):
2080 Removed these padding methods to preserve bincompat.
2083 (impl_getRangeExtents): implementation of new IDL.
2084 (impl_getBoundedRanges): implementation of new IDL.
2085 (SpiTextRect): Internal use struct.
2086 (_spi_text_rect_union): internal method, calculates union of two
2087 SpiTextRect bounding rects.
2088 (_spi_text_range_seq_from_gslist): internal method, allows us
2089 to build our sequence efficiently as a gslist then convert it
2091 (_spi_bounds_contain): internal method, determines whether
2092 a text character is "in" or "out" of a clip rect according to
2093 values of TEXT_CLIP_TYPE.
2094 (spi_text_class_init): Initialize the new methods in the epv.
2097 (AccessibleTextClipType): New enum used by screen review api.
2098 (AccessibleTextRange): New struct used by screen review api.
2099 (AccessibleText_getRangeExtents):
2100 cspi binding for Accessibility_Text_getRangeExtents.
2101 (AccessibleText_getBoundedRanges):
2102 cspi binding for Accessibility_Text_getBoundedRanges.
2103 (AccessibleTextRange_freeRanges): convenience method.
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.
2111 (get_accessible_text_clip_type): internal conversion method.
2112 (get_accessible_text_ranges_from_range_seq): internal conversion method.
2114 * registryd/deviceeventcontroller.c:
2115 (spi_dec_mouse_check):
2116 Improved behavior for mouse:abs events
2117 [same granularity as mouse:rel events, and no
2118 events when mouse is idle].
2120 2002-12-16 Michael Meeks <michael@ximian.com>
2122 * cspi/spi_accessible.c (spi_state_to_corba): rename.
2124 * libspi/stateset.c (state_spi_to_atk): split out
2125 ( fix several remote array bounds nasties )
2126 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
2127 (impl_remove): make safe from array bounds issues.
2128 (spi_atk_state_from_spi_state): impl.
2130 * libspi/stateset.h (spi_state_set_cache_is_empty):
2131 add a set of wrapper defines to get layering right.
2133 * cspi/spi_accessible.c: update state set stuff to
2136 2002-12-14 Michael Meeks <michael@ximian.com>
2138 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
2139 to avoid 2 roundtrips to the registry per key event
2140 (spi_atk_bridge_key_listener): upd.
2141 (deregister_application): release the dec.
2143 * registryd/registry.c (notify_listeners_cb):
2144 bin lots of re-enterant complexity - we no longer
2145 do a round-trip bonobo ref here, ensure that a single
2146 listener's exception failure won't poison all other
2148 (impl_registry_notify_event): bin obvious memory leak.
2150 2002-12-13 Michael Meeks <michael@ximian.com>
2152 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
2153 init the ev so the error is meaningful.
2154 (spi_atk_bridge_key_listener): ditto.
2156 * cspi/spi_main.c (cspi_ev): init the ev so we start
2157 with a clean slate, otherwise the first exception
2158 kills us completely.
2160 * cspi/spi_text.c (get_accessible_text_boundary_type):
2161 add a fallthrough for no warnings.
2163 * cspi/spi_registry.c: prune unused warnings.
2165 * cspi/spi_main.c (cspi_object_take): fix
2166 mind-blowing brokenness ( by watching the compile
2169 * cspi/spi_accessible.c (Accessible_getStateSet):
2170 re-impl. to use an AtkStateSet.
2171 (spi_state_type_from_accessible_state),
2172 (init_state_table): bin these.
2174 * libspi/stateset.c (spi_atk_state_set_from_sequence):
2176 (atk_state_set_from_accessibility_state_set): here.
2178 * cspi/spi_accessible.c (spi_state_to_atk): impl.
2179 (AccessibleStateSet_contains, AccessibleStateSet_ref),
2180 (AccessibleStateSet_unref, AccessibleStateSet_contains),
2181 (AccessibleStateSet_add, AccessibleStateSet_remove),
2182 (AccessibleStateSet_equals, AccessibleStateSet_compare),
2183 (AccessibleStateSet_isEmpty): re-write to use a local
2186 2002-12-13 Bill Haneman <bill.haneman@sun.com>
2188 * configure.in: Revved to 1.1.7 (new keymask vals).
2190 2002-12-10 Bill Haneman <bill.haneman@sun.com>
2192 * libspi/keymasks.h:
2193 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
2195 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
2198 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
2199 to compare two CORBA_TypeCodes.
2200 (cspi_internal_event_add): Silence warning from FORTE compiler.
2202 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
2203 avoid implicit declaration of functions.
2205 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
2207 * atk-bridge/bridge.c:
2208 (spi_atk_bridge_init_event_type_consts): Store signal id for
2209 active-descendant-changed signal.
2210 (spi_atk_register_event_listeners): Add signal listener for
2211 active-descendant-changed signal,
2212 (spi_atk_bridge_signal_listener): Move code in function
2213 spi_atk-signal_emit_event() into this function.
2214 Add support for active-descendant-changed
2215 Update support for child-changed signal.
2216 (spi_bridge_window_event_listener): Silence warning.
2218 * libspi/spi_private.[ch]:
2219 (spi_init_any_object): Change second parameter from CORBA_Object to
2221 Omit call to CORBA_Object_duplicate().
2222 Set CORBA_any's _value to CORBA_Object*.
2224 2002-12-06 Bill Haneman <bill.haneman@sun.com>
2230 (AccessibleEvent_ref, AccessibleEvent_unref):
2231 New methods, for persisting an event outside the emission context.
2232 Must be used if the new accessor methods are to be called
2233 outside of the event listener's callback.
2235 * cspi/bonobo/cspi-bonobo.c:
2236 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
2237 as second parameter instead of NULL, so we can call
2238 cspi_check_ev afterwards.
2241 (cspi_object_take): New internal method,
2242 converts a CORBA_Object reference to a hard ref on
2243 an Accessible if possible, returning NULL if the object
2244 reference is invalid or an Accessible * otherwise.
2247 (AccessibleEvent_ref):
2248 Increment the event's internal private refcount, and
2249 add the event's internal struct to an internal cache
2250 if it's not already there.
2251 (AccessibleEvent_unref):
2252 Decrement the event's refcount and remove it from
2253 the cspi event cache if refcount==0.
2254 (cspi_event_compare): New private method.
2255 Compares two event structs via their ids. Used
2257 (cspi_internal_event_lookup): New private method.
2258 (cspi_internal_event_check): New private method,
2259 a 0-order sanity check for events to make sure their
2260 private data is intact.
2261 (cspi_internal_event_add, cspi_internal_event_remove):
2262 New private methods for managiing the event cache.
2264 * cspi/bonobo/cspi-bonobo-listener.c:
2266 Initialize the new private data elements (id, magic, ref_count).
2268 * atk-bridge/bridge.c:
2269 (spi_atk_bridge_signal_listener):
2270 Fixed bug #100530, passing wrong params to emission func.
2272 * registryd/deviceeventcontroller.c:
2273 (spi_dec_button_update_and_emit):
2274 Fixed type in mask bit operations; fix for #99799.
2276 2002-12-02 Bill Haneman <bill.haneman@sun.com>
2278 Removed some of the more dangerous workarounds from
2279 previous commit; they are only needed by GOK, which
2280 in reality should be using another method to accomplish
2281 the goals. So on reconsideration some of the workarounds
2282 need to be reverted:
2284 * registryd/deviceeventcontroller.c:
2285 (spi_keycodes_contain, spi_dec_init_keycode_list):
2286 Removed these methods, used only by a nasty hack to try
2287 and detect whether a key synthesis should be allowed
2288 to reset the XKB latch state or not. This code was only
2289 required to work around an interaction between GOK,
2290 button events, and XKB.
2291 (impl_generate_key_event):
2292 Removed hack at end of key generation that tried to
2293 "do the right thing" if XKB latch keys were generated
2294 in the midst of button press/release pairs.
2297 Added a check for HAVE_XINPUT. Not normally used yet.
2299 2002-11-25 Bill Haneman <bill.haneman@sun.com>
2301 Workarounds and fixes for mouse event/XKB interaction.
2303 * registryd/deviceeventcontroller.c:
2304 (spi_keycodes_contain, spi_dec_init_keycode_list):
2305 New internal methods.
2306 (spi_dec_set_unlatch_pending):
2307 Split the method that tells XKB to expect an
2308 unlatch (and revert it) out of the rest of the
2309 event handling code. This method is called by the
2310 two mouse event handlers (the poll and the filter).
2311 (spi_dec_update_and_emit, spi_dec_mouse_check):
2312 New methods split from spi_dec_poll_mouse_moved.
2313 The second one is now called from inside the filterFn
2314 when an XKB delatch event is received, to determine
2315 whether to revert the delatch or not.
2316 (spi_poll_mouse_moved): Refactor; also we can now
2317 properly handle the case where multiple button states
2318 have changed between polling cycles and we didn't get
2319 notified due to another client's grab.
2321 Synchronize the server while handling an XKB notification.
2322 Ugly, but apparently necessary to avoid nasty races.
2323 Check the mouse state on receipt of an XKB latch change,
2324 to decide whether to revert the latch or not. (Latches are
2325 reverted if there is an immediately preceding mouse button
2326 event that a client has consumed, in which case we don't want
2327 the user to see the side-effect of the event).
2328 (spi_device_event_controller_forward_mouse_event):
2329 Check for modifier events and fire before resetting mouse_mask_state,
2330 prevents losing modifier events.
2332 (impl_generate_keyboard_event):
2333 If we've just generated a keyboard event for a non-shift key,
2334 we don't want to revert the pending XKB latch.
2335 Otherwise, check the modifier state (via a call to
2336 spi_dev_mouse_check) and set the relatch mask to
2337 that state before returning.
2339 2002-11-24 Bill Haneman <bill.haneman@sun.com>
2342 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
2345 * atk-bridge/bridge.c:
2346 (spi_atk_register_event_listeners):
2347 Don't re-register for ATK events if the registry has died
2348 and the app needs to re-register; the ATK listeners are in
2349 process and doing so will cause duplicate emission.
2351 * registryd/deviceeventcontroller.c:
2352 (spi_poll_mouse_moved):
2353 Reformat the source, detect and emit multiple button-change
2354 events (i.e. if multiple buttons have changed between poll
2356 Add code to detect mouse-down events even when the pointer
2357 is grabbed; workaround for GOK bug 98420.
2358 (spi_controller_register_with_devices):
2359 Call XTestGrabControl with 'impervious' flag set to True,
2360 allows us to synthesize events and query the pointer even during
2361 an active grab by another client.
2362 (spi_device_event_controller_forward_mouse_event):
2363 Set the mouse_mask_state to the mouse_button_state from
2364 the intercepted event, to synchronize the grab listener with
2367 2002-11-20 Bill Haneman <bill.haneman@sun.com>
2369 * cspi/spi_accessible.c:
2370 (AccessibleRole_getName):
2371 Added necessary strings for making this (deprecated)
2372 method work with the new role types.
2373 (init_role_table, role_table):
2374 Added definition of SPI_ROLE_APPLICATION.
2376 * libspi/spi-roletypes.h:
2377 Added SPI_ROLE_APPLICATION.
2379 * idl/Accessibility_Role.idl:
2380 Added ROLE_APPLICATION.
2382 * docs/reference/cspi/at-spi-cspi-decl.txt:
2383 Added SPI_ROLE_APPLICATION to docs.
2385 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
2387 * cspi/spi_accessible.c
2388 (cspi_init_role_table): Do not write beyond end of role_table.
2389 (Accessible_getRole): Use correct type for value returned by
2390 Accessibility_Accessible_getRole().
2392 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
2393 beyond end of role_table. (This fixes bug #98269)
2395 * libspi/application.c: Add include file spi-private.h for
2396 definition of spi_init_any_nil.
2398 2002-11-19 Bill Haneman <bill.haneman@sun.com>
2402 * libspi/spi-private.h:
2403 Added DGB() macro, and extern int _dbg declaration.
2405 * registryd/registry.c:
2406 (definitions) storage for _dbg.
2407 (spi_registry_init):
2408 Get environment variable "AT_SPI_DEBUG".
2409 (spi_registry_set_debug):
2410 New method, to initialize _dbg value.
2411 (spi_listener_struct_new, spi_registry_object_finalize):
2412 (notify_listeners_cb):
2413 Changed fprintfs to use DBG and g_warning().
2415 * registryd/deviceeventcontroller.c:
2416 (_deregister_keygrab, spi_controller_register_device_listener):
2417 Changed debug/warning messages to use DBG macro.
2419 * libspi/listener.c:
2420 (impl_notify_event):
2421 Changed warning messages to use DBG macro and g_warning().
2423 * atk-bridge/bridge.c:
2424 (atk_bridge_init, spi_atk_bridge_get_registry):
2425 (spi_atk_bridge_exit_func):
2426 (spi_atk_bridge_property_event_listener):
2427 Changed status, warning, and error messages to use
2428 g_warning, g_message, and DBG macros.
2431 Read the state of the AT_SPI_DEBUG environment variable
2432 and set a local '_dbg' accordingly.
2434 2002-11-19 Bill Haneman <bill.haneman@sun.com>
2436 FIXES for 98836, 98842, other bugs.
2439 Revved to 1.1.4, interface-age=4, binary-age=4.
2441 * registryd/deviceeventcontroller.c:
2443 Fixed crasher bug in last_mouse_pos initialization.
2445 * registryd/registry.c:
2446 (desktop_add_application, desktop_remove_application):
2447 Added (and then commented out) some support for
2448 object context marshalling. [TODO]
2450 * atk-bridge/bridge.c:
2451 (spi_atk_bridge_event_context_create):
2452 Commented out object context creation until it can
2453 be properly tested and debugged.
2455 * registryd/registry.c:
2456 (impl_registry_notify_event):
2457 Fixed crasher bug, we were calling
2458 spi_re_entrant_list_foreach () with an empty list.
2460 2002-11-18 Bill Haneman <bill.haneman@sun.com>
2462 * idl/Accessibility_Action.idl:
2463 * idl/Accessibility_Component.idl:
2464 * idl/Accessibility_Desktop.idl:
2465 * idl/Accessibility_Event.idl:
2466 * idl/Accessibility_Hyperlink.idl:
2467 * idl/Accessibility_Image.idl:
2468 * idl/Accessibility_Relation.idl:
2469 * idl/Accessibility_Selection.idl:
2470 * idl/Accessibility_State.idl:
2471 * idl/Accessibility_Value.idl:
2472 Updated unimplemented slot count to minimum of
2473 four for all interfaces, for ABI freeze.
2475 * idl/Accessibility_EditableText.idl:
2476 * idl/Accessibility_Text.idl:
2477 Updated unimplemented slot count to six
2480 * idl/Accessibility_Registry.idl:
2481 Updated unimplemented slot count to six
2482 (also for DeviceEventController),
2485 * idl/Accessibility_Table.idl:
2486 Updated unimplemented slot count to eight,
2489 * idl/Accessibility_Event.idl:
2490 Added CORBA_any "any_data" member to Event struct.
2492 * idl/Accessibility_Event.idl:
2493 Added CORBA_any "any_data" member to Event struct.
2495 * atk-bridge/bridge.c:
2497 atk_signal_text_changed, atk_signal_child_changed,
2498 signal ids queried from gtype system.
2499 (AtkBridgeEventContextType): New enum.
2500 (AtkBridgeEventContextData): New struct.
2501 (AtkBridgeEventContext): New struct.
2502 (atk_bridge_init_event_type_consts):
2503 New method, initializes type contants for comparison
2504 prior to emit_eventv.
2505 (atk_bridge_event_context_init): New method,
2506 initializes a CORBA_any from an AtkBridgeEventContext.
2507 (atk_bridge_focus_tracker): Call spi_init_any_nil to
2508 initialize the event.any_data struct.
2509 (spi_atk_bridge_event_context_create): New method,
2510 creates an AtkBridgeEventContext from signal/event info.
2511 (spi_atk_bridge_event_context_free): New method.
2512 (spi_atk_emit_eventv): Changed to take an
2513 AtkBridgeEventContext parameter. We now initialize
2514 the event.any_data member prior to notifying the
2515 Registry, via the AtkBridgeEventContext.
2516 (spi_atk_bridge_property_event_listener):
2517 (spi_atk_bridge_state_event_listener):
2518 Match emit_eventv signature.
2519 (spi_atk_bridge_object_event_listener):
2520 Match emit_eventv signature, and create an
2521 event context from the event details.
2522 Free the event context afterwards.
2523 (spi_atk_bridge_window_event_listener):
2524 Create an event context, pass it to the
2528 (AccessibleEvent_getContextString):
2529 (AccessibleEvent_getContextObject):
2530 New methods, allow query of AccessibleEvent objects
2531 for more context details (via the "any_data" member
2532 of the Event struct, above).
2535 Definitions for AccessibleEvent_getContextString
2536 and AccessibleEvent_getContextObject.
2538 * cspi/spi_listener.h:
2539 (InternalEvent): New struct.
2542 (AccessibleEvent_getContextString):
2543 (AccessibleEvent_getContextObject):
2544 Implementations of new methods, for obtaining
2545 additional context information from some event types.
2547 * cspi/spi_registry.c:
2548 (SPI_registerGlobalEventListener):
2549 Added mention of active-descendant-changed event in docs.
2551 * cspi/cspi-bonobo-listener.c:
2553 Marshal the any into the AccessibleEvent via
2556 * libspi/spi-private.h:
2557 #include <orbit/orbit.h>
2559 (spi_init_any_string):
2560 (spi_init_any_object):
2561 New convenience function declarations.
2565 (spi_init_any_string):
2566 (spi_init_any_object):
2567 New convenience function implementations.
2569 * registryd/deviceeventcontroller.c:
2570 (spi_poll_dec_mouse_moved):
2571 (spi_device_event_controller_forward_mous_event):
2572 Initialize any_data member of event.
2573 (spi_deregister_controller_device_listener):
2574 Fix incorrect param pass which was preventing deregistration.
2576 * registryd/registry.c:
2577 (desktop_add_application):
2578 (desktop_remove_application):
2579 Add object data to event's any_data before dispatch.
2581 Fix for error messages from GAIL.
2583 * test/event-listener-test.c:
2584 Test new ContextString and "any_data" API:
2585 (report_text_event): New method query and output context string.
2586 (main): register a new text listener with report_text_event
2589 2002-11-19 Darren Kenny <darren.kenny@sun.com>
2591 Fixes for bugs 98127 and 97914.
2592 * cspi/spi-roletypes.h:
2593 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
2595 * cspi/spi-statetypes.h:
2596 Added SPI_STATE_MANAGES_DESCENDANTS
2598 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
2599 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
2600 * cspi/spi_accessible.c:
2601 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
2602 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
2603 Accessibility_STATE_MANAGES_DESCENDANTS
2604 * libspi/accessible.c:
2605 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
2606 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
2607 As requested by Bill, I also cleaned up the alignment.
2608 * libspi/relation.c:
2609 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
2610 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
2611 * libspi/stateset.c:
2612 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
2613 Accessibility_STATE_MANAGES_DESCENDANTS
2614 * docs/reference/cspi/tmpl/spi_accessible.sgml:
2615 Document changes reflecting modifications to roles.
2616 * docs/reference/cspi/tmpl/spi_relation.sgml:
2617 Document changes reflecting modifications to relations.
2618 * docs/reference/cspi/tmpl/spi_stateset.sgml:
2619 Document changes reflecting modifications to states.
2621 2002-11-17 Bill Haneman <bill.haneman@sun.com>
2624 Revved to 1.1.3, interface-age=3, binary-age=3.
2625 Added REBUILD macro.
2628 Removed accessx-gui from the tests, since we have a nice
2629 keyboard accessibility capplet now :-)
2631 * test/keysynth-demo.c:
2632 (increment_scan): removed do-nothing default: case,
2635 * test/visual-bell.c:
2636 (main) : removed do-nothing default: case,
2639 * cspi/spi_action.c:
2640 (AccessibleAction_getKeyBinding_):
2641 Documented keybinding string format.
2645 (AccessibleText_getAttributes):
2646 Documented the text attribute string format.
2647 It's changed to use semicolon delimiters also,
2648 to prevent clashes with CSS attributes, but the old
2649 trick of looking for ", " strings will still work
2650 (as unreliably as ever). Fix for bug related to 97916.
2653 Include <cspi/bonobo/cspi-bonobo-listener.h>
2654 Fixes build warning.
2655 (SPI_freeAccessibleKeySet):
2656 (AccessibleKeystrokeListener_addCallback):
2657 (AccessibleKeystrokeListener_removeCallback):
2658 Modify to use AccessibleDeviceListener API internally,
2659 instead of AccessibleKeystrokeListener.
2661 * idl/Accessibility_Event.idl:
2662 Added two more empty slots to EventListener (for a total of four).
2664 * idl/Accessibility_Accessible.idl:
2665 Added four empty slots to Accessible interface.
2667 2002-11-15 Bill Haneman <bill.haneman@sun.com>
2669 * idl/Accessibility_Registry.idl:
2670 (KeyEventType, EventType):
2671 Marked KeyEventType as deprecated; it duplicates
2672 functionality of EventType, which has been extended to
2673 include Mouse-button events.
2674 (KeyEventTypeSeq): defined in terms of EventType.
2675 (registerDeviceEventListener, deregisterDeviceEventListener):
2676 New methods, for managing listeners to device events,
2677 which potentially may consume them.
2680 Added definition for AccessibleDeviceListener.
2682 * cspi/spi-listener.h:
2683 (enum AccessibleDeviceEventType):
2684 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
2685 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
2686 for backwards compat.
2687 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
2688 and typedef'd AccessibleKeystroke to it for back-compat.
2689 (AccessibleDeviceListenerCB):
2690 New function prototype typedef.
2693 (AccessibleDeviceEventMask): New typedef.
2694 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
2695 (AccessibleKeyMaskType):
2696 Set equivalent to AccessibleModifierMaskType for back-compat.
2697 (SPI_createAccessibleKeystrokeListener):
2698 (AccessibleKeystrokeListener_unref):
2699 Deprecated in favor of equivalent (better-named) new API below..
2700 keystroke listeners are like all device listeners.
2701 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
2702 New API names for old features :-).
2703 (AccessibleDeviceListener_addCallback):
2704 (AccessibleDeviceListener_removeCallback):
2705 (SPI_registerDeviceEventListener):
2706 (SPI_deregisterDeviceEventListener):
2710 (SPI_createAccessibleKeystrokeListener):
2711 Use new preferred API, cspi_device_listener_new() and
2712 cspi_device_listener_add_cb().
2713 (AccessibleKeystrokeListener_removeCallback):
2714 Use new preferred API, cspi_device_listener_remove_cb().
2715 (AccessibleKeystrokeListener_unref):
2716 Use new preferred API, cspi_device_listener_unref().
2717 (SPI_createAccessibleDeviceListener):
2718 (AccessibleDeviceListener_addCallback):
2719 (AccessibleDeviceListener_removeCallback):
2720 Implementation of new API.
2722 * cspi/spi_registry.c:
2723 (SPI_registerDeviceEventListener):
2724 (SPI_deregisterDeviceEventListener):
2725 Implementation of new API. Fixed memory leak and removed need to
2726 allocate EventTypeSeq (thanks Michael for catching this).
2727 Squashed a wayward CORBA_exception_free that shouldn't get called.
2729 * cspi/bonobo/cspi-bonobo-listener.c:
2731 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
2732 (cspi_key_event): renamed to cspi_device_event().
2733 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
2734 Extended to handle mouse button events as well as key events.
2735 (CSpiKeystrokeListener):
2736 Class superceded by CSpiDeviceListener.
2737 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
2738 These internal APIs changed to "*device_listener" from "*keystroke_listener".
2740 * cspi/bonobo/cspi-bonobo-listener.h:
2741 (CSpiKeystrokeListener):
2742 Class superceded by CSpiDeviceListener.
2743 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
2744 These internal APIs changed to "*device_listener" from "*keystroke_listener".
2746 * libspi/Makefile.am:
2747 Replaced keystrokelistener.h and keystrokelistener.c
2748 with devicelistener.h and devicelistener.c; keystrokelisener.h
2749 stub retained for back-compat.
2751 * libspi/keystrokelistener.c:
2755 Replaced inclusion of keystrokelistener.h with devicelistener.h.
2757 * registryd/deviceeventcontroller.c:
2758 (DEControllerListener): Added Accessibility_EventTypeSeq member.
2759 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
2760 (DEControllerPrivateData): Added xkb settings data.
2761 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
2762 button release events (which can't be captured via XGrabButton).
2763 Don't dispatch via the 'normal' event mechanism if the device event was
2765 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
2766 Handle the typeseq data in its new location (see above).
2767 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
2768 New methods, for "generic" device listeners.
2769 (spi_controller_register_device_listener):
2770 Now handle mouse event listeners as well as key listeners.
2771 (spi_controller_notify_mouselisteners):
2772 New internal method.
2773 (spi_device_event_controller_forward_mouse_event):
2774 Now we notify mouse device listeners as well as generating the
2775 non-consumable "mouse:" events.
2777 We must check and restore the XKB
2778 modifier map if we consume the event, since the act of triggering
2779 a mouse event will normally reset the XKB latch. This is required for
2781 (spi_controller_register_with_devices):
2782 Load the XKB settings when registering, and register for XKB
2783 state notify events.
2784 (spi_key_eventtype_seq_contains_event):
2785 Renamed spi_eventtype_seq_contains_event, since it's used
2786 internally for all device event types now.
2787 (spi_key_event_matches_listener):
2788 Uses spi_eventtype_seq_contains_event now.
2789 (spi_device_event_controller_object_finalize):
2790 Free the private data and the XkbKeyboard struct.
2791 (impl_register_device_listener, impl_deregister_device_listener):
2792 Implementation of new IDL.
2793 (spi_deregister_controller_device_listener):
2794 New internal method.
2795 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
2796 More efficient implementation, we don't have to create a new
2797 XkbControls structure every time we query.
2798 (spi_device_event_controller_class_init):
2799 Initialize the epv entries for the new IDL. Assign the
2800 "spi-dec-private" quark.
2801 (spi_device_event_controller_init):
2802 Initialize the private data.
2803 (spi_device_event_controller_forward_key_event):
2804 Removed a bogus CORBA_exception_free() call.
2806 * registryd/deviceeventcontroller.h:
2807 Replaced inclusion of keystrokelistener.h with
2810 * test/event-listener-test.c:
2811 (report_mouse_event):
2814 Added mouse-event device listener.
2816 * test/test-simple.c:
2817 (create_test_window):
2818 Fixed regression (we were instantiating a GtkRange,
2819 which is now an abstract class). Also fixed to match
2820 existing AtkRole names, this seems to have changed in ATK
2821 awhile ago; too late now I think, and the new
2822 mechanism is at least elegant and consistent with the
2823 glib enum "nick" APIs.
2825 2002-11-15 Darren Kenny <darren.kenny@sun.com>
2827 * idl/Accessibility_Relation.idl:
2828 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
2829 RELATION_EMBEDS,RELATION_EMBEDDED_BY
2830 * idl/Accessibility_Role.idl:
2831 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
2832 * idl/Accessibility_State.idl:
2833 add STATE_MANAGES_DESCENDANTS
2834 * test/event-listener-test.c:
2835 Added a listener for active-descendant events.
2837 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
2839 * atk-bridge/bridge.c
2840 (atk_bridge_init): If application is Bonobo component wait until top
2841 level is added before registering
2842 (spi_atk_bridge_do_registration): New function which contains code,
2843 formerly in atk_bridge_init, to do application registration.
2844 (spi_atk_bridge_toplevel_added): Signal called when top level
2845 added to Bonobo component
2847 This fixes bug #83134.
2849 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
2851 * registryd/deviceeventcontroller.c
2852 Fixed compilation error caused by calling gettimeofday()
2855 2002-10-18 Bill Haneman <bill.haneman@sun.com>
2860 Added template for HAVE_XKB.
2863 Changes to check for XKB, and to set the HAVE_XKB #define if it
2866 * libspi/listener.c:
2867 ()impl_notify_event): Make failure to get event source name
2870 * registryd/deviceeventcontroller.c:
2871 (#include): include X11/XKBlib.h.
2872 (DEControllerPrivateData) : New struct.
2873 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
2875 (dec_synth_keycode_press) (dec_synth_keycode_release):
2876 New methods; split the key synthesis code into these methods.
2877 They check XKB settings before determining the "time" values to
2878 pass to Xtest; this fixes bug #95828.
2879 (impl_generate_keyboard_event): Changed to use methods above,
2880 instead of callng Xtest directly.
2881 (spi_device_event_controller_init): Initialize new privae struct s
2883 (spi_device_event_controllr_object_finalize):
2884 Free the (new) private data.
2886 * registryd/deviceeventcontroller.h:
2887 Add new gpointer to end of struct data.
2889 2002-10-16 Bill Haneman <bill.haneman@sun.com>
2892 Incremented revision to 1.1.2, SONAME is still '.so', library
2893 extensions are ".so.0.0.2".
2895 * registryd/deviceeventcontroller.c:
2896 FIXES FOR #93592 and #95940.
2897 (statics): renamed mouse_button_state to mouse_mask_state,
2898 added key_modifier_mask.
2899 (spi_dec_poll_mouse_moved):
2900 Added key modifier checks, and emit "keyboard:modifiers"
2901 events when the key modifiers currently in use change.
2902 Also generate "mouse:abs" events periodically, even if the mouse
2903 is stationary (should we?).
2904 Alternatively we could generate "mouse:abs" events for either all
2905 mouse movements, or every 'nth' mouse movement, or at the
2906 beginning and end of every "active" mouse period.
2908 * test/event-listener-test.c:
2909 (main): Added listener for "keyboard:modifiers" events.
2911 2002-10-15 Bill Haneman <bill.haneman@sun.com>
2913 * libspi/keymasks.h:
2914 Added key mask #defines for mouse buttons; e.g.
2915 SPI_KEYMASK_BUTTON1, etc.
2918 Incremented dependency on ATK to version 1.1.0. (This dependency
2919 is probably premature but will soon be real enough).
2921 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
2923 * libspi/hyperlink.[ch]
2924 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
2925 (get_hyperlink_from_servant): Check object is AtkHyperlink not
2928 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
2933 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
2935 * registryd/deviceeventcontroller.c
2936 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
2937 events to be ignored.
2938 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
2939 keyboard_mode so that XAllowEvents() can be called.
2943 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
2945 * cspi/spi-accessible.c: Correct names of roles returned by
2946 AccessibleRole_getName(). Fixes bug #95055.
2948 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
2950 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
2953 * registryd/registry.c
2954 (desktop_remove_application: Write diagnostic message to stderr for
2957 (impl_accessibility_registry_deregister_global_event_listener):
2958 Correct size of lists array. This addresses bug #94555).
2960 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
2962 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
2965 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
2967 * registryd/Makefile: Add CLEANFILES so that .server file is removed
2970 * registryd/registry.c (impl_registry_notify_event): Remove
2971 unnecessary call to parser_event_type().
2973 * docs/reference/cspi/tmpl/spi_component.sgml:
2974 Add reference to SPI_LAYER_WINDOW.
2976 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
2978 * registryd/registry.c
2979 (desktop_add_application): Remove leak.
2980 (desktop_remove_application): Remove leak.
2981 (parser_event_type): Remove leak.
2983 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
2985 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
2986 bogus call to CORBA_string_dup(). Also removed unnecessary
2987 g_string_dup/g_free calls.
2989 2002-09-13 Bill Haneman <bill.haneman@sun.com>
2991 * registryd/deviceeventcontroller.c:
2992 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
2994 * test/event-listener-test.c:
2995 main: commented out three redundant listeners, to reduce output
2996 noise. (They still are potentially useful for testing).
2999 2002-09-13 Michael Meeks <michael@ximian.com>
3001 * Update all the copyrights to include Ximian.
3003 2002-09-06 Mark McLoughlin <mark@skynet.ie>
3005 * cspi/spi.h: add SPI_LAYER_WINDOW.
3007 * cspi/spi_component.c: (AccessibleComponent_getLayer):
3008 add Accessibility_LAYER_WINDOW case.
3010 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
3012 * libspi/component.c: (impl_accessibility_component_get_layer):
3013 add ATK_LAYER_WINDOW case.
3015 2002-08-28 Bill Haneman <bill.haneman@sun.com>
3017 * configure.in: incremented micro version.
3019 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
3021 2002-08-20 Bill Haneman <bill.haneman@sun.com>
3024 Clarified and reworded our commit policy.
3027 Started an API "todo" addition list for 2.2.
3030 (impl_getSelection):
3031 Free char pointer from atk_text_get_selection, which was being leaked.
3033 2002-08-19 Bill Haneman <bill.haneman@sun.com>
3036 Small revision to author acknowledgement.
3038 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
3040 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
3041 If signal has detail add it to the type of the event.
3044 2002-08-12 Michael Meeks <michael@ximian.com>
3046 * test/test-simple.c (global_listener_cb): bin bogosity.
3047 (test_keylisteners): disable, still doesn't work reliably,
3048 certainly not on my system anyway.
3050 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
3051 don't leak a reference on the DEC. This round-trip
3052 fetching of the DEC per keystroke sucks, it should be
3055 * cspi/spi-private.h,
3056 * cspi/cspi-lowlevel.h,
3057 * cspi/bonobo/cspi-bonobo-listener.[ch],
3058 * cspi/bonobo/cspi-bonobo.c: get the copyright
3059 notices better - there is still a large amount of
3060 work in at-spi falsely attributed solely to Sun.
3062 * cspi/spi_main.c (cspi_object_ref): kill bogus
3063 hash lookup, just increment the ref.
3064 (SPI_freeString): make explicit the fact that we
3065 handle NULL strings just fine.
3066 (report_leaked_ref): obey coding standards.
3067 (cspi_object_hash, cspi_object_equal): kill retval.
3068 (cspi_object_release): only release if not on loan.
3069 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
3070 (cspi_object_borrow, cspi_object_return): impl.
3072 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
3073 use cspi_object_borrow / return.
3075 2002-08-12 Darren Kenny <darren.kenny@sun.com>
3077 * cspi/bonobo/cspi-bonobo-listener.c:
3079 Don't call cspi_oject_new() because this is creating a new Accessible
3080 every single time that an event is fired. This causes ATs like at-poke
3081 to nolonger recognise the source of the event and thus ignore it.
3082 Re-use the object from the cache, ref it and then unref it after the
3083 listeners have been called.
3085 2002-08-06 Darren Kenny <darren.kenny@sun.com>
3087 * test/event-listener-test.c:
3088 Added command-line options to disable mouse events (m) and
3091 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
3093 * configure.in: Update required versions of ATK, GTK+ and GAIL
3095 * cspi-1.0.pc.in: Add dependency for X include files
3098 * cspi/bonobo/Makefile.am:
3099 Add $(X_CFLAGS) so that X include files
3100 are picked up even if not in standard place (bug #71686)
3102 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3104 * registryd/deviceeventcontroller.c: fix for 84261
3105 (spi_dec_mouse_moved):
3106 Added test of mouse button mask, so that we can detect mouse
3107 button release. Unfortunately we can't otherwise detect mouse
3108 button release events without consuming the mouse press event,
3109 because of the way XGrabButton works. This means that our mouse
3110 release events have a latency dependent on the polling period
3111 while the mouse button is down. At least in this case we only
3112 have to poll while the button is down, and not at other times.
3113 If the button masks don't match with what the last press event
3114 reported, we report the appropriate button release event.
3115 (spi_dec_ungrab_mouse):
3116 New method (not yet called).
3117 (spi_device_event_controller_forward_mouse_event):
3118 New method, sends mouse press event from GdkFilter.
3119 (spi_dec_init_mouse_listener):
3120 Added code to call XGrabButton, redirecting mouse button events to
3121 the root window and our Gdk event loop.
3123 Added code to filter mouse button events, and reordered.
3125 * test/event-listener-test.c:
3127 Added registration for mouse events of type "mouse:button".
3129 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3131 * registryd/deviceeventcontroller.c: partial fix for 84261
3132 (spi_dec_poll_mouse_idle):
3133 New method, a timeout which checks to see if the mouse
3135 (spi_dec_poll_mouse_moving):
3136 A timeout to be called when mouse motion is underway.
3137 (spi_dec_poll_mouse_moved):
3138 A method which fires an event if the mouse has moved, and reports
3139 whether or not it did so.
3140 (spi_dec_init_mouse_listener):
3141 A method which sets up the timeouts above.
3142 (spi_device_event_controller_new):
3143 Now calls spi_dec_init_mouse_listener.
3145 * registryd/registry.c:
3146 (spi_registry_init):
3147 Now we initialize the device event controller when the registry is
3148 initialized, instead of waiting until a client has requested a key
3149 event notification; this is because we need the event controller
3150 for mouse events, but the mouse event registration API is a
3151 "registry" call and doesn't explicitly call the
3152 deviceeventcontroller.
3153 We now report mouse motion events with a 100 ms idle latency and
3154 a 20 ms granularity when motion is in progress.
3156 * test/event-listener-test.c:
3158 We now register the "detail listener" for events of type
3159 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
3160 delivered only for the first mouse event received, and thereafter
3161 "mouse:abs" events are delivered.)
3163 * cspi/spi_registry.c:
3164 DOCS: Documented the above mouse event typestrings.
3166 2002-06-21 Bill Haneman <bill.haneman@sun.com>
3168 Happy Summer Solstice...
3170 * registryd/deviceeventcontroller.c: [fix for bug 84100]
3171 (spi_controller_notify_keylisteners):
3172 Changes to remove a listener from the listener list, freeing its
3173 open keygrabs, if a notification to that listener fails. This
3174 means that although a dead listener can continue to hold a passive
3175 keygrab, a maximum of one dispatch to such a listener can fail
3176 before the listener is removed from the list, thus the keygrab
3177 will be released on the next occurrence.
3178 As part of this fix:
3179 (spi_notify_keylisteners):
3180 Renamed to spi_controller_notify_keylisteners, as the controller
3181 instance must now be passed as an argument.
3182 The copied 'notify' GList is now a list of DEControllerKeyListener
3183 objects, since we need more than just the CORBA reference if a
3184 notify fails and we need to deregister the listener.
3185 (impl_notify_listeners_sync):
3186 (impl_notify_listeners_async):
3187 (spi_device_event_controller_forward_key_event):
3188 Modify use of notify_keylisteners in accordance with above
3190 (spi_deregister_controller_key_listener):
3191 New method introduced by refactoring, from
3192 impl_deregister_keystroke_listener.
3193 (impl_deregister_keystroke_listener):
3194 Call spi_deregister_controller_key_listener.
3195 (spi_key_listener_clone):
3196 New method to copy a key listner without doing a 'ref' on the
3197 remote object instance; used to create a notifier list.
3198 (spi_key_listener_data_free):
3199 New method, frees data without unreffing the source.
3201 (spi_key_listener_clone_free): new method.
3202 (spi_key_listener_free):
3203 refactored to call spi_key_listener_data_free.
3205 2002-06-20 Bill Haneman <bill.haneman@sun.com>
3207 * registryd/registry.c: [fix for bug 86048]
3208 (notify_listeners_cb):
3209 Clear CORBA system exceptions which occur when notifying
3210 listeners, before returning to the source of the original event,
3211 since the event source doesn't care if the relayed notify failed.
3212 In other words, don't complain to the atk-bridge if the registry
3213 could not notify all its listeners, that's no fault of the
3214 application and thus should not appear to be an error from the
3215 application's perspective.
3217 * cspi/spi_main.c: [fix for bug 85980]
3219 Replaced use of bonobo_object_dup_ref with call to the wrapper
3220 method, csou_dup_ref (); this silences a compiler warning and
3221 provided more portability.
3223 Ping the registry before return, and restart if necessary.
3225 * cspi/bonobo/cspi-bonobo.c:
3227 New internal method.
3229 Fixed this method to return an object reference, as it should have
3232 * cspi/cspi-lowlevel.h:
3233 Added internal definition for cspi_ping() and fixed
3234 return type of cspi_dup_ref().
3237 2002-06-19 Bill Haneman <bill.haneman@sun.com>
3239 * atk-bridge/bridge.c: [fix for bug 85305]
3240 (spi_atk_bridge_register_application):
3241 New method where the initial application registry calls have been
3242 moved; it allows an application to re-register in response to
3243 certain error conditions (such as a registry restart, see below).
3245 Moved some initialization code to the method
3246 spi_atk_bridge_get_registry, below.
3247 (spi_atk_bridge_get_registry):
3248 New, private accessor function for the Accessibility_Registry
3249 instance. If the registry has not been started before, or has
3250 died (as detected by failure of a CORBA exception), it is
3251 restarted before return, and spi_atk_bridge_register_application
3252 is called again to register with the new bridge instance.
3253 (spi_atk_emit_eventv):
3254 Set registry_died on error; use spi_atk_bridge_get_registry () to
3255 access the registry.
3257 * registryd/registry.c:
3258 (impl_accessibility_registry_register_global_event_listener):
3259 Set listener's event_type_quark to etype.minor instead of
3260 etype.major (fix for bug 84856).
3262 * test/event-listener-test.c:
3263 (report_detail_event):
3264 Change the output string so that user/tester can tell that the
3265 'detail listener' was called instead of the 'generic listener'.
3267 2002-06-18 Bill Haneman <bill.haneman@sun.com>
3269 Fixes for bugs 84900, 84908, 84897, 84898.
3274 Revved version to 1.1.0
3275 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
3276 version is going to HEAD which will be used for gnome-2-0-1 and later.)
3278 * idl/Accessibility_Registry.idl:
3279 (EventListener::notifyEvent):
3280 Removed 'oneway' directive after extensive consulation with
3281 ORBit2 team and others. This means also that unref() of the event
3282 source can and should be done synchronously after emission, rather
3283 than remotely in the client, after servicing the notify call on
3286 NOTE: This change speeds up listener performance considerably, but
3287 introduces new latency on the application side. We may want to
3288 add an event queue to the atk-bridge.
3290 * atk-bridge/bridge.c:
3291 (spi_atk_bridge_focus_tracker):
3292 Do a local unref() on the event source after emission.
3294 * registryd/registry.c:
3295 (desktop_remove_application):
3296 Do an unref() on the event source after emission.
3297 (desktop_add_application):
3298 Do an unref() on the event source after emission.
3299 (notify_listeners_cb):
3300 When relaying an event, don't automatically add the event source
3301 to the local object cache, just CORBA_dup it instead. Likewise,
3302 if this method reenters, release the ref rather than calling
3304 (impl_registry_notify_event):
3305 No longer call remote unref() on the event source after dispatch.
3307 * libspi/eventlistener.c:
3308 (impl_accessible_event_notify_event):
3309 Removed remote unref ()
3311 * cspi/bonobo/cspi-bonobo-listener.c:
3313 We now call cspi_object_new() instead of cspi_object_add() on
3314 receipt of an event; thus we only have an implicit object ref
3315 while the cspi_event method is being executed. If we need to keep
3316 a reference to the object, the listener must call ref() on the
3317 object. Thus also we don't need to call cspi_object_unref() after
3318 invoking the listener callbacks in this method.
3322 New internal API for creating a new cspi object, without adding it
3323 to the object cache.
3325 Now uses cspi_object_new() to create the cspi object instance.
3327 Now checks to see if the object is in the internal object cache,
3328 and adds it if necessary before incrementing its refcount (note
3329 that new objects are added with a refcount of 1).
3330 (report_leaked_ref):
3331 New method which gives some information on leaked object instances
3332 if leak detection is turned on.
3334 * test/event-listener-test.c:
3335 (timing_test_event):
3336 New method, used for testing event delivery timing for special
3337 events of type "object:test". It reports elapsed time and
3338 events/sec every 500 events.
3340 Added a new listener, 'test listener', to check timing of event
3341 receipt as noted above.
3343 Added some timing output here also, reports elapsed time every 100
3346 * test/stress-test.c:
3347 Emit events of type "object:test", for use with "event-listener-test".
3349 * test/test-simple.c:
3350 (global_listener_cb):
3351 Call Accessible_ref() on the event source before calling
3352 validate_accessible, since the validation process does pointer
3353 comparisons on the event source, meaning that the event source
3354 needs to be added to the local object cache first. Any use of
3355 such pointer comparisons between Accessible objects requires that
3356 the caller hold an explicit reference to those objects.
3357 We also must therefore call Accessible_unref() when leaving this method.
3359 2002-06-13 Bill Haneman <bill.haneman@sun.com>
3361 * registryd/deviceeventcontroller.c:
3362 (spi_controller_update_key_grabs):
3363 Fix for #84735, subsequent keygrab listeners not informed of
3364 registration failure.
3367 (spi_base_construct):
3368 Add an assertion on construct, to make sure the GObject passed in
3369 is really a GObject.
3371 Explicitly initialize object->gobj pointer to NULL;
3373 * cspi/bonobo/cspi-bonobo-listener.c:
3374 (cspi_object_add_ref):
3375 New method, can specify whether to dup-ref a bonobo object passed
3376 in if it's newly added to the object cache.
3378 Now calls cspi_object_add_ref with second param of "FALSE". This
3379 prevents us from doing a pointless dup-ref followed by
3380 release-unref for all those cases where the object is already in
3381 our object cache (fix for #85205).
3383 * atk-bridge/bridge.c:
3384 (spi_atk_bridge_idle_init):
3385 Removed this method, we don't need to initialize in an idle
3388 Changed to call spi_atk_register_event_listeners directly, not via an
3389 idle handler. (fix for #81139)
3390 (gnome_accessibility_module_shutdown):
3391 Removed conditional around deregistration of listeners, since we
3392 don't use the idle handler and thus have always registered when
3394 (spi_init_keystroke_from_atk_key_event):
3395 Changed references to Accessibility_KEY_PRESSED to
3396 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
3398 2002-06-12 Bill Haneman <bill.haneman@sun.com>
3400 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
3405 * test/stress-test.c:
3408 (may have been an incomplete commit yesterday?)
3410 2002-06-12 Bill Haneman <bill.haneman@sun.com>
3413 Added target for new stress-test.
3415 * test/stress-test.c:
3416 New test, sends 1000 focus notifies in quick succession.
3418 * test/key-listener-test.c:
3419 Now we report whether a keylistener registration
3420 request succeeded or failed.
3422 * test/event-listener-test.c:
3423 Uncommented some listeners which are now implemented.
3426 2002-06-06 Bill Haneman <bill.haneman@sun.com>
3428 * registryd/deviceeventcontroller.c:
3429 (spi_controller_update_key_grabs):
3430 Fix for #82509, lack of failure notification when
3431 ALL_WINDOWS keygrabs fail due to XGrabKey
3432 failure: we synchronize the server when
3433 registering a passive grab, to make sure we get the
3434 error message before the call returns.
3436 2002-06-03 Bill Haneman <bill.haneman@sun.com>
3438 * test/test-simple.c:
3440 Removed #ifdef KEY_IMPL_WORKS guards.
3441 (test_keylisteners):
3442 Removed #ifdef KEY_IMPL_WORKS guards.
3443 Fixed bug which was causing a hang waiting for a
3444 "press" event (which was already overwritten by a "release"
3445 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
3447 Added code to set globals 'key_press_received' and
3448 'key_release_received'.
3451 Added section "1.1 API Proposed Additions" which
3452 lists API additions desired for at-spi-1.1 (only one so far).
3453 Updated TODO list a little.
3455 2002-06-02 Bill Haneman <bill.haneman@sun.com>
3457 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
3460 * configure.in: Revved to 1.0.0.
3462 * idl/Accessibility_Registry.idl:
3463 (registerKeystrokeListener):
3464 Added boolean return value.
3466 * registryd/registry.c:
3467 (notify_listeners_cb): Minor fix to debug output.
3469 * registryd/Accessibility_Registry.server.in.in:
3470 Revved version number in OAFIID to 1.0.
3472 * registryd/registryd.c:
3474 Use new OAFIID version.
3476 * cspi/bonobo/cspi-bonobo.c:
3478 Use new OAFIID version.
3484 * atk-bridge/bridge.c:
3486 Use new OAFIID version.
3488 * registryd/deviceeventcontroller.c:
3489 (impl_register_keystroke_listener):
3490 Added CORBA_boolean return value.
3491 (spi_controller_register_device_listener):
3492 Added gboolean return value.
3493 (spi_controller_register_global_keygrabs):
3494 Added gboolean return value.
3495 (spi_key_set_contains_key):
3496 Added implementation for many more control keys,
3497 for instance F1-F12, arrow keys, End, Home, Page_Up,
3499 [TODO: some still not implemented].
3501 * text/screen-review-test.c:
3502 (text_chunk_pad_string):
3503 New function: it provides mapping between coordinate
3504 positions of text chunks and character positions in the
3505 screen-review-line output string.
3506 (text_chunk_to_string):
3507 New function, calls text_chunk_pad_string with various
3508 pad/delimiter characters. Pushbuttons are delimited with
3509 square brackets, Frames with vertical 'pipe' lines, and
3510 other text with double quotes.
3511 (text_chunk_list_to_string):
3512 Calls new function text_chunk_to_string.
3513 (toplevel_composite):
3514 New function to composite layers CANVAS through
3515 POPUP in each toplevel (other layers are composited
3516 across toplevels, i.e. BACKGROUND and OVERLAY).
3517 (review_buffer_composite):
3518 Revise to use new methods.
3524 2002-05-31 Laszlo Peter <laca@sun.com>
3526 * configure.in: add the Xtst libdir to the runpath on Solaris,
3527 since it's not in the default library search path.
3529 2002-05-29 jacob berkman <jacob@ximian.com>
3531 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
3533 2002-05-29 Bill Haneman <bill.haneman@sun.com>
3535 * test/screen-review-test.c:
3536 (text_chunk_pad_string):
3537 Added method, which pads the string according to the
3538 text bounds of the chunk. It also takes a 3-character
3539 string as a param which indicates the characters to be
3540 used for start, padding, and end delimitation of the chunk.
3541 (text_chunk_to_string):
3542 Changed to use text_chunk_pad_string.
3544 * configure.in: Fixed bug in AC_OUTPUT that was
3545 causing path substitution in Accessibility_Registry.server
3548 2002-05-23 Bill Haneman <bill.haneman@sun.com>
3550 * text/screen-review-test.c:
3551 (guess_string_clip):
3552 New method which attempts a best-guess at clipping
3553 text from components (like Java labels) which don't
3554 actually implement AccessibleText. This inaccurate
3555 clip is based on the assumption that the label is
3556 justified left-and-right, and monospaced.
3557 (text_chunk_get_clipped_string):
3558 We now call guess_string_clip() for text-containing
3559 components that don't implement AccessibleText.
3561 * test/screen-review-test.c:
3562 (review_buffer_get_text_chunk):
3563 We now pull "name" from labels if they do not implement
3564 AccessibleText (i.e. for Java labels).
3565 (get_screen_review_line_at):
3566 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
3569 Replaceded AC_OUTPUT target
3570 registryd/Accessibility_Registry.server with
3571 registryd/Accessibility_Registry.server.in.
3573 * registryd/Accessibility_Registry.server.in:
3574 Removed (this is now a Makefile target).
3576 * registryd/Accessibility_Registry.server.in.in:
3577 Added (source for target above). We now use $(libexecdir) as
3578 prefix for the executable at-spi-registryd.
3580 * registry/Makefile.am:
3581 Now install at-spi-registryd into $(libexecdir), and build .server
3582 file with path (see above).
3584 2002-05-22 Bill Haneman <bill.haneman@sun.com>
3586 * test/screen-review-test.c:
3587 (text_chunk_get_clipped_string):
3588 We now check to see if words fall within clip bounds
3589 before resorting to character-by-character clip bounds testing.
3591 * TODO: Added a section for "2.2 Proposed API Additions".
3593 2002-05-21 Bill Haneman <bill.haneman@sun.com>
3595 * test/screen-review-test.c:
3597 Added a screen review benchmarking and test program to test
3600 * cspi/spi_accessible.c:
3602 Made some of the debug strings passed to cspi_check_ev a
3603 little more specific.
3605 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
3607 * test/screen-review-test.c: Fix crashes in debug statements
3609 2002-05-20 Bill Haneman <bill.haneman@sun.com>
3611 * test/screen-review-test.c: Added this file.
3613 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
3615 * atk-bridge/bridge.c: changed "object:state-change" to
3616 "object:state-changed" to match docs.
3618 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
3620 * atk-bridge/bridge.c: Hooked up state-change event details.
3622 2002-05-11 Bill Haneman <bill.haneman@sun.com>
3624 * registryd/registry.c:
3625 Fixed quarking bug in event string parsing; now events with
3626 detail parameters get matched correctly to listeners.
3629 * util/idl/Magnifier.idl: remove.
3631 * util/*.[ch]: Remove.
3632 Magnification utilities and IDL are now in module gnome-mag.
3634 2002-05-10 Bill Haneman <bill.haneman@sun.com>
3636 * registryd/deviceeventcontroller.c:
3637 Fixed bug in grab key conversion which was causing keycode grabs
3638 to be converted to AnyKey grabs.
3641 updated NEWS file to reflect recent spin-off of gnome-mag.
3643 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
3645 * cspi/spi_accessible.c: Added exception checks. Fixed completely
3646 busted AccessibleStateSet_compare. Removed redundant casts.
3648 * cspi/spi-action.c: Removed redundant casts.
3650 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
3652 * cspi/spi_component.c: Fixed typos and casting error.
3654 * cspi/spi_editabletext.c: Removed redundant casts.
3656 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
3658 * cspi/spi_hypertext.c: Eliminated redundant casts.
3660 * cspi/spi_image.c: Eliminated redundant casts.
3662 * cspi/spi_registry.c: Eliminated redundant casts.
3663 SPI_deregisterGlobalEventListenerAll () removed retval variable.
3664 * cspi/spi_selection.c: Removed redundant casts.
3665 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
3666 handling. Screen geometry and text offsets were being returned as 0
3667 on error which is technically valid-- changed these to return -1.
3668 Added marshaller for text boundary types to fix bug with boundary
3669 types being passed incorrectly to atk.
3671 2002-05-09 Bill Haneman <bill.haneman@sun.com>
3674 * cspi/spi_registry.c:
3675 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
3676 which was uncovered by the recent key changes.
3678 2002-05-09 Bill Haneman <bill.haneman@sun.com>
3680 * test/event-listener-test.c:
3682 Added new test, "event-listener-test";
3683 this code does two things; it benchmarks traversal time
3684 for the accessible hierarchy for the first running accessible
3685 app, and it connects listeners for all supported event types.
3686 It is thus useful as an example event listener and for
3687 diagnostics/debugging of event generation.
3689 2002-05-08 Bill Haneman <bill.haneman@sun.com>
3692 Removed unnecessary dependency on libutil.
3695 Revved micro version: 0.13.1
3697 2002-05-08 Bill Haneman <bill.haneman@sun.com>
3700 Removed util/Makefile from targets.
3703 Removed util subdir from SUBDIRS (temporarily,
3704 pending removal of magnifier-only code
3708 #ifdef-ed out magnifier dependencies, since
3709 magnifier IDL, headers, and binary now live in
3710 module gnome-mag and we don't want at-spi to depend
3711 on gnome-mag. A magnifier demo which can run alongside
3712 simple-at is forthcoming in the gnome-mag module.
3714 NOTE: Split magnifier binary, IDL, and magnification
3715 activation code from at-spi into module gnome-mag.
3717 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
3719 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
3720 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
3722 2002-05-03 Bill Haneman <bill.haneman@sun.com>
3725 Revved to version 0.13.0
3727 * idl/Accessibility_Registry.idl:
3728 Changed definition of KeySet from sequence of longs to sequence of
3729 KeyDefinitions, and added KeyDefinition struct.
3730 Required for fix to bug 80616.
3732 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
3733 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
3734 to use new definition (see above).
3736 * registryd/deviceeventcontroller.c: handle_keygrab(),
3737 spi_keyset_contains_key():
3738 Changed to make use of new struct; this allows matching based on
3739 string key-name, for instance "Tab". This also allows matching of
3740 composed characters, non-alphanumeric characters in a way that
3741 doesn't involve dependencies on X keysym codes directly, etc.
3743 * test/key-listener-test.c:
3744 Added test for Alt-Tab key using "string" specification of keyset,
3745 and modified one of the tests to use a keycode-based keyset.
3746 Thus this test both tests and demonstrates the creation and use of
3747 keysets of three forms: specified via keycode array,
3748 keysym array, and string array. (The string case only contains a
3749 single string, i.e. a string array of length 1).
3752 Turned on PRINT_TREE option by default. Also fixed a
3753 string-freeing bug in the PRINT_TREE code.
3754 Added a listener to window:minimize events.
3756 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
3758 * atk-bridge/bridge.c:
3759 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
3760 for window:activate and window:deactiveate
3761 (atk_bridge_property_event_listener atk_bridge_signal_listener
3762 atk_bridge_window_event_listener) Tidy debug code
3764 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
3766 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
3767 Fixed handling for NULL return value from ATK.
3769 * libspi/action.c libspi/component.c libspi/editabletext.
3770 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
3771 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
3772 Removed redundant casts.
3774 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
3775 Fixed off by one bug.
3777 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
3778 function not present in idl)
3780 2002-05-02 jacob berkman <jacob@ximian.com>
3782 * atk-bridge/Makefile.am: make atk-bridge a real module
3784 2002-04-26 Radek Doulik <rodo@ximian.com>
3786 * libspi/stateset.c (spi_init_state_type_tables): fix size of
3787 atk_state_types table
3789 2002-04-22 jacob berkman <jacob@ximian.com>
3792 * libspi/Makefile.am: add deps on the built files to help
3793 automake, and don't version the ORBit typelib
3795 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
3797 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
3798 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
3799 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
3800 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
3801 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
3802 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
3803 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
3804 libspi/accessible.h libspi/accessible.h libspi/base.h
3805 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
3806 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
3807 libspi/relation.h libspi/remoteobject.h libspi/selection.h
3808 libspi/spi-private.h libspi/statetset.h libspi/table.h
3809 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
3810 util/mag_client.h util/mag_control.c util/mag_image.c
3811 util/mag_image.h util/magnifier.c util/magnifier.h:
3812 Add missing file headers; standardize existing ones
3814 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
3816 * atk-bridge/bridge.c: Added window event support.
3818 2002-04-18 Michael Meeks <michael@ximian.com>
3820 * libspi/relation.c (impl_getNTargets): impl.
3821 (impl_getTarget): impl.
3823 * libspi/Makefile.am: fix stateset install.
3825 2002-04-17 Bill Haneman <bill.haneman@sun.com>
3828 Started putting useful info in this file.
3830 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
3832 * atk-bridge/bridge.c:
3833 Propagate state-changed notifications to ATs
3835 * cspi/spi_registry.c: update docs to reflect actual behavior of
3836 state-change events.
3838 2002-04-17 Bill Haneman <bill.haneman@sun.com>
3841 Incremented version to 0.12.1
3843 * util/mag_client.h:
3844 Add missing declaration for magnifier_exit,
3845 used by mag_control.c - Forte compiler didn't like
3846 the implicit redeclaration of the function :-(
3849 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3852 Revved version to 0.12 due to API change (see below).
3854 * cspi/spi-roletypes.h:
3855 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
3856 definition from the inline docs, and added docs
3857 for SPI_ROLE_LAST_DEFINED.
3860 * cspi/spi_streamablecontent.c:
3861 Added missing seek_type parameter to
3862 (so far unused) method,
3863 AccessibleStreamableContent_seek().
3864 [ RT approval JodyG. ]
3867 Fixed docs for SPI_createAccessibleKeystrokeListener.
3869 * cspi/spi_registry.c:
3870 Fixed docs for SPI_KEYSET_ALL_KEYS.
3872 * docs/reference/cspi/at-spi-cspi-sections.txt:
3873 Added a number of missing APIs to SECTIONS.
3875 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3877 * registryd/Makefile.am:
3879 * cspi/bonobo/Makefile.am:
3880 Add $(X_LIBS) to makefiles.
3882 2002-04-15 Bill Haneman <bill.haneman@sun.com>
3885 Revved version to 0.11.
3887 * libspi/component.c:
3888 Added implementation for grabFocus.
3890 * idl/Accessibility_Component.idl
3891 (Accessibility_Component_grabFocus):
3892 Made this method return boolean to indicate success or failure, to
3893 be consistent with cspi and the corresponding ATK method.
3895 * idl/Accessibility_Selection.idl
3896 (Accessibility_Selection_selectAll) :
3897 Made these methods return boolean to indicate success or
3898 failure, to be consistent with cspi and the corresponding ATK methods.
3900 * idl/Accessibility_EditableText.idl
3901 (Accessibility_EditableText_setTextContents,
3902 Accessibility_EditableText_insertText,
3903 Accessibility_EditableText_cutText,
3904 Accessibility_EditableText_deleteText,
3905 Accessibility_EditableText_pasteText):
3906 Made these methods return boolean to indicate
3909 * cspi/spi_editabletext.c:
3910 Made these methods return booleans.
3912 * libspi/selection.c:
3913 * libspi/component.c:
3914 * libspi/editabletext.c:
3915 Connected the boolean returns from ATK
3916 to the server-side code referenced above.
3918 2002-04-14 Bill Haneman <bill.haneman@sun.com>
3920 * idl/Accessibility_Table.idl: Added missing methods,
3921 Accessibility_Table_addRowSelection,
3922 Accessibility_Table_addColumnSelection,
3923 Accessibility_Table_removeRowSelection,
3924 Accessibility_Table_removeColumnSelection.
3927 Added C wrappers for above IDL:
3928 AccessibleTable_addRowSelection,
3929 AccessibleTable_addColumnSelection,
3930 AccessibleTable_removeRowSelection,
3931 AccessibleTable_removeColumnSelection.
3934 Added server-side implementation code for IDL above, connecting
3935 to pre-existing ATK api.
3937 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
3939 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
3941 * libspi/accessible.c: Added implementation fo
3942 Accessibility_Accessible_get_state.
3944 * libspi/libspi.h: Added stateset.h to the list of includes.
3946 * libspi/stateset.c: Fixed broken implementation.
3948 2002-04-13 Bill Haneman <bill.haneman@sun.com>
3951 Added implementation code for Accessibility_Magnifier_exit ().
3953 * util/mag_control.c:
3954 Added test code for above method; you can
3955 now kill an existing magnifier via
3956 ./mag_control q, from the util directory.
3958 * test/key-listener-test.c:
3960 Added a new test, for our key listener API.
3962 2002-04-11 Bill Haneman <bill.haneman@sun.com>
3964 * test/app.c, test/keysynth-demo.c:
3966 Replace use of snprintf with g_snprintf.
3967 (fix for bugzilla 78249)
3969 2002-03-27 Michael Meeks <michael@ximian.com>
3973 * util/Makefile.am (INCLUDES): fix.
3974 (DONT_DIST_SOURCE): don't distribute the
3977 * libspi/Makefile.am (dist-hook): ditto.
3979 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
3981 * libspi/hypertext.c:
3982 Fix warnings when yelp is used with atk-bridge
3984 2002-03-21 Michael Meeks <michael@ximian.com>
3986 * libspi/application.c (spi_application_new):
3987 use spi_accessible_construct so we use the AtkObject
3990 2002-03-19 Michael Meeks <michael@ximian.com>
3992 * registryd/registry.c (desktop_remove_application),
3993 (desktop_add_application): clean coding style.
3995 * registryd/desktop.c (spi_desktop_remove_application),
3996 (spi_desktop_add_application): kill re-enterency hazards.
3997 (spi_desktop_dispose): remove bogus redundant cast
3998 obscuring bug; fix bug too.
3999 (spi_desktop_init): make the desktop object immortal.
4001 2002-03-16 Bill Haneman <bill.haneman@sun.com>
4004 Added a #define-guarded tree-traversal step
4005 when enumerating the apps (diagnostic tool).
4007 2002-03-15 Bill Haneman <bill.haneman@sun.com>
4009 * idl/Accessibility_Role.idl:
4010 Added ROLE_DRAWING_AREA which seemed to be missing from the
4013 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4015 * cspi/spi-roletypes.h cspi/spi_accessible.c
4016 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
4019 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
4020 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
4021 AT when applications are added and removed from the desktop. This
4022 reverts the previous broken implementation using the backing
4023 AtkObject for the SpiDesktop.
4025 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4027 * registryd/desktop.c: emit the "children-changed::add" and
4028 "children-changed::remove" signals on the backing ATK object for
4029 the desktop so AT can tell when applications are started and shut
4032 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4034 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
4036 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4038 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
4040 * cspi/spi_accessible.c: Implemented c bindings for stateset support
4042 * cspi/state-types.h: synched with IDL and ATK
4044 2002-03-13 Bill Haneman <bill.haneman@sun.com>
4046 * libspi/accessible.c
4047 (impl_accessibility_accessible_get_child_at_index):
4048 Change return value for g_return_if_fail ()
4049 to CORBA_OBJECT_NIL instead of "0" (!)
4051 * registryd/Makefile.am:
4052 * registryd/Accessibility_Register.server.in:
4053 Changed name of executable, "registryd",
4054 to something more informative:
4057 2002-03-13 Michael Meeks <michael@ximian.com>
4059 * atk-bridge/bridge.c (atk_bridge_init): don't register
4060 if we're in a bonobo-component, rather than a bonobo app.
4062 2002-03-13 Michael Meeks <michael@ximian.com>
4064 * atk-bridge/bridge.c (gtk_module_init): split
4065 out body to (atk_bridge_init): here, since otherwise
4066 we get symbol conflicts and oddness when invoked
4067 from (gnome_accessibility_module_init): here (upd.)
4069 2002-03-11 Bill Haneman <bill.haneman@sun.com>
4072 New file. Explicitly allow "build sheriff" putbacks provided
4073 they are tested on Solaris.
4075 * docs/reference/cspi/Makefile.am:
4076 Added '-' to the "cp" command for index.sgml.
4077 ("patch by thomasvs, soon coming to a GUADEC near you")
4080 Incremented version number (0.9.0) for new release.
4081 Changed macro that checks for popt, to better detect
4082 obsolete versions of popt.
4085 Added X_LIBS to AC_SUBST, for applications
4086 that call Xlib API directly.
4089 2002-03-07 Bill Haneman <bill.haneman@sun.com>
4092 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
4095 Fix regression caused by hard-coding major
4096 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
4099 * test/test-simple.c (test_editable_text),
4100 (test_test): revert previous change (error was
4101 a regression in gail which is now fixed).
4103 2002-03-04 Michael Meeks <michael@ximian.com>
4105 * test/test-simple.c (test_editable_text),
4106 (test_text): pass G_MAXINT instead of '-1' for
4107 whole string - is this a good thing !?
4109 * cspi/spi_accessible.c
4110 (Accessible_getRelationSet): fix crasher bug
4111 overwriting the end of the array.
4113 * test/test-simple.c (validate_accessible): free,
4114 not g_free returned relation set.
4116 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
4118 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
4119 implemented stateset support
4121 * idl/Accessibility_State.idl: Made necessary changes to
4122 the IDL to support state sets.
4124 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4126 * registryd/deviceeventcontroller.c:
4127 Added implementation for generateMouseEvent.
4129 * cspi/spi_registry.c:
4130 Connected new implementation for generateMouseEvent
4133 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4136 Incremented revision (but no change in public API
4137 outside of 'utils', which are not installed public yet.)
4139 * libspi/component.c:
4140 Changed to use atk_component API for layers and
4141 mdi_zorder, instead of deprecated atk_object API.
4143 Magnification Utility Enhancements:
4146 Added implementation of createZoomRegion, clearAllZoomRegions,
4147 resizeZoomRegion. Added new commandline argument
4148 "--no-initial-region". Note that clearAllZoomRegions doesn't
4149 unmap the old '0' region as it should (yet), and the other
4150 methods only work when creating/resizing a single region,
4151 which is "region 0".
4152 (Code for multiple region support will be added later.)
4155 Now we raise the magnifier window each time it's refreshed;
4156 this will help keep it on top.
4158 * util/mag_client.h:
4159 Added simple wrappers for above, used by mag_control.
4160 For general use, it's recommended to use the bonobo magnifier
4161 control API directly instead of using these wrappers.
4164 Moved ZoomRegionData from magnifier.c to this file.
4166 * util/mag_control.c:
4167 Added some code to exercise new IDL implementations.
4169 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
4171 * libspi/text.c: Provide implementation for getAttributes.
4173 2002-02-04 Bill Haneman <bill.haneman@sun.com>
4176 Incremented revision.
4178 * test/test-simple.c:
4179 Replaced use of deprecated g_main_iteration with
4180 g_main_context_iteration.
4182 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
4185 Incremented revision for desktop alpha 2.
4187 2002-01-28 Mark McLoughlin <mark@skynet.ie>
4189 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
4192 * test/simple-at.c: include netinet/in.h.
4194 2002-01-24 Mark McLoughlin <mark@skynet.ie>
4196 * cspi/spi_accessible.c: (Accessible_getRelationSet):
4197 use NULL, not CORBA_OBJECT_NIL.
4199 * libspi/accessible.c:
4200 (impl_accessibility_accessible_get_relation_set):
4201 allocate the sequence correctly.
4203 * libspi/remoteobject.h: kill spi_remote_object_new.
4205 * test/test-simple.c: (validate_accessible): add code
4206 to test relation sets, now all we need is to figure
4207 out how to excercise this code path :/
4209 2002-01-18 Michael Meeks <michael@ximian.com>
4211 * test/test-simple.c
4212 (key_listener_cb): consume the key.
4213 (test_keylisteners): update.
4214 (main): wait for any pending unrefs on events.
4216 * registryd/deviceeventcontroller.c
4217 (spi_controller_update_key_grabs): only re-issue the
4218 grab on a key release.
4219 (spi_device_event_controller_forward_key_event):
4220 refresh the keygrabs before we notify the listeners,
4221 to reduce the X ungrab / re-grab race.
4222 (spi_controller_register_with_devices): remove
4223 XSelectInput - we do that with the gdk_window_ call.
4224 (_spi_controller_device_error_handler): return a value.
4225 s/GDK_DISPLAY/spi_get_display/
4227 2002-01-17 Michael Meeks <michael@ximian.com>
4229 * registryd/deviceeventcontroller.c
4230 (_deregister_keygrab): don't blow out the later
4233 * test/test-simple.c (test_keylisteners): do a
4234 more intelligent validation.
4236 2002-01-14 Michael Meeks <michael@ximian.com>
4238 * atk-bridge/bridge.c
4239 (gnome_accessibility_module_init),
4240 (gnome_accessibility_module_shutdown): impl.
4241 (gtk_module_init): protect vs. double inits.
4242 (add_signal_listener): impl.
4243 (spi_atk_bridge_state_event_listener): kill
4244 (deregister_application): split out of
4245 (spi_atk_bridge_exit_func): here.
4247 2002-01-18 Bill Haneman <bill.haneman@sun.com>
4250 Added caret tracking when using magnifier, and
4251 now use text bounds for focus tracking of text elements, rather than
4252 the component bounds - this is helpful for short text fields in long
4253 table cells, at high magnification.
4255 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4257 * registryd/deviceeventcontroller.c:
4258 Regression fix for keylistener de-registration; global keygrabs
4259 were not being released when deregisterKeystrokeListener was
4260 called in cspi, since
4261 Accessibility_DeviceEventController_deregisterKeystrokeListener
4262 was called with a zero-length keyset. That is because the cspi
4263 method, SPI_deregisterKeystrokeListener, does not take a keyset
4264 parameter but instead should remove all the key grabs held be a
4266 The code in impl_deregister_keystroke_listener was changed to copy
4267 the keylist from the listener instance previously registered with
4268 the DeviceEventController before releasing the grabs.
4270 * registryd/registry.c:
4271 * registryd/deviceeventcontroller.c:
4272 * libspi/spi-private.h:
4274 Changed spelling of "re-enterant" to "re-entrant" globally.
4276 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4278 * test/test-simple.c:
4279 Changed key listeners test - the test was slightly mis-using the
4280 (admittedly poorly documented) SPI_generateKeyboardEvent API.
4281 It now uses '=' as the key event listened to and generated,
4282 relying on a keysym match rather than assuming that keycode 33
4283 is always equal to keysym '!'.
4285 2002-01-15 Bill Haneman <bill.haneman@sun.com>
4288 Changed simple-at to use a specific keyset, rather than
4289 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
4290 manager, desktop, etc.
4292 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4294 * registryd/deviceeventcontroller.c:
4295 Replaced standard X error handler with a special handler that
4296 is non-fatal for failed keygrabs. This works around
4297 problems with keygrab clashes sometimes observed on
4299 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
4300 mouse handling code as yet).
4302 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4305 Incremented revision for desktop alpha release.
4308 Fixed a couple of the more glaring errors (still not
4311 2002-01-11 Michael Meeks <michael@ximian.com>
4313 * registryd/deviceeventcontroller.c
4314 (spi_device_event_controller_forward_key_event): kill
4315 XUngrabKey / XKeyGrab race.
4316 (spi_controller_grab_keyboard): rename to
4317 (spi_controller_update_key_grabs): this, and deal
4318 with incremental adding / removing grabs more
4320 (_register_keygrab): ensure we're not pending a remove.
4321 (spi_grab_mask_free): impl.
4322 (spi_controller_register_global_keygrabs): split out
4324 (handle_keygrab): impl.
4325 (_deregister_keygrab): impl.
4326 (spi_controller_deregister_global_keygrabs): impl.
4327 (spi_controller_update_key_grabs): re-issue the grab if
4328 we just recieved a notification.
4330 * test/test-simple.c (key_listener_cb): remove debug.
4332 * registryd/deviceeventcontroller.c
4333 (spi_controller_register_device_listener): after
4334 registering a global keygrab, actualy register it !
4335 don't wait for a timeout; doh !
4337 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
4338 to make it more readable / manipulable.
4339 s/grabmask/grab_mask/ s/refcount/ref_count/
4340 s/keyval/key_val/ s/modmask/mod_mask
4342 2002-01-08 Michael Meeks <michael@ximian.com>
4344 * registryd/deviceeventcontroller.c
4345 (spi_controller_register_with_devices): use gdk calls to
4347 (global_filter_fn): implement the filter.
4348 (spi_device_event_controller_check_key_event): rename to
4349 (spi_device_event_controller_forward_key_event): this & upd.
4350 (spi_get_display): replace with GDK_DISPLAY.
4352 * registryd/deviceeventcontroller.c
4353 (spi_controller_deregister_device_listener): unroll into
4354 (impl_deregister_keystroke_listener): here to simplify.
4355 (spi_controller_register_global_keygrabs): split cut and
4356 paste (!) out into (_register_keygrab): here, shorter & sweeter.
4357 (spi_controller_deregister_device_listener): remove.
4358 (impl_register_mouse_listener): remove, no mouse listener
4359 support in at-spi-1.0
4361 * registryd/registry.c
4362 (_device_event_controller_hook): kill.
4363 (spi_registry_init): upd.
4365 * registryd/deviceeventcontroller.c
4366 (spi_device_event_controller_class_init): upd.
4367 (spi_check_key_event): merge into.
4368 (spi_device_event_controller_check_key_event):
4369 here and kill strange static ev init, don't leak
4370 the x_event - nor dynamicaly allocate it.
4372 * registryd/registry-main.c (main): re-direct
4373 timeout to remove strange vtable mess.
4375 * registryd/deviceeventcontroller.c
4376 (remove_listener_cb): impl.
4377 (spi_controller_deregister_device_listener):
4378 fix re-enterancy hazard.
4380 2002-01-07 Michael Meeks <michael@ximian.com>
4382 * registryd/deviceeventcontroller.c
4383 (spi_device_event_controller_new): upd.
4384 (impl_notify_listeners_sync): upd. debug.
4385 (spi_notify_keylisteners): fix re-enterancy hazards,
4386 prettify, remove O(n*n) iteration.
4387 (spi_controller_grab_keyboard): fix iteration.
4388 (spi_check_key_event): re-format to suit coding style.
4389 Clean all the warnings - we're warning free.
4391 * registryd/deviceeventcontroller.h:
4392 * registryd/registry.h: make mutualy referential with
4393 typesafe forward references instead of (!) void pointer
4396 2002-01-11 Michael Meeks <michael@ximian.com>
4398 * cspi/spi_accessible.c (role_names): add a role name
4399 to sync this array with the enum; and make the regression
4402 2002-01-10 Michael Meeks <michael@ximian.com>
4404 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
4405 allow expansion of enumeration & kill warning.
4407 * test/test-simple.c (key_listener_cb): impl.
4408 (test_keylisteners): impl.
4410 * cspi/spi-listener.h: make listener signatures const
4411 on the provided (const) events.
4413 * test/keysynth-demo.c: upd. to const events.
4415 * test/simple-at.c: ditto.
4417 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4420 Rev the version to 0.5 (the previous tarball was named 0.4,
4421 even though the micro number was 3), so we need to rev upwards
4422 again for beta2/"desktop-alpha"
4425 Checked in a demo script, which requires editing before use!
4426 Proceed with caution.
4429 Fixed typo in header which was redefining SPI_ACTION_CLASS.
4431 * cspi/spi_accessible.c:
4432 Add a couple of missing enum initializations, and fix some enum
4435 * cspi/spi_registry.c:
4436 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
4438 * docs/reference/cspi/at-spi-cspi-sections.txt:
4439 Remove/fix a couple of broken document references.
4442 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
4443 as Alt-Control to listen for commands, since on some systems
4444 Control-Alt may already be grabbed.
4446 2002-01-10 Bill Haneman <bill.haneman@sun.com>
4449 Update version number to 0.4 for Beta2.
4451 * libspi/accessible.c, libspi/accessible.h:
4452 Expose spi_accessible_construct, to enable libgail-gnome
4453 construction from spi_accessible subtype.
4455 * utils/magnifier.c:
4456 Workaround for bug in some non-gnome-compliant window managers
4457 which made magnifier resize improperly.
4459 2002-01-09 Bill Haneman <bill.haneman@sun.com>
4461 * libspi/accessible.c: (spi_accessible_new) :
4462 Move the test for SPI_IS_REMOTE_OBJECT to
4463 spi_accessible_new_return, fixing a bug and compile time warning.
4465 2002-01-08 Michael Meeks <michael@ximian.com>
4467 * registryd/registry.c (parse_event_type): remove strndup.
4469 * libspi/Makefile.am (libspi_la_SOURCES): remove
4470 sources already included in the headers section.
4472 * libspi/util.c: add.
4474 * libspi/spi-private.h: add.
4476 * registryd/registry.c: update to moved list iterators.
4478 2002-01-05 Michael Meeks <michael@ximian.com>
4480 * test/simple-at.c (main): upd. auto-module set to atk-bridge
4482 * test/test-simple.c (main): ditto.
4484 2002-01-04 Michael Meeks <michael@ximian.com>
4486 * libspi/accessible.c (spi_accessible_new): remove 2nd,
4487 redundant construct.
4489 * registryd/registry.c
4490 (get_listener_list): impl.
4491 (impl_accessibility_registry_register_global_event_listener):
4492 re-impl. to simplify using ~, remove dodgy const cast off.
4493 (parse_event_type): constify.
4494 (impl_accessibility_registry_deregister_global_event_listener_all):
4495 re-write, more efficiency and simplicity, kill re-enterancy
4497 (compare_listener_corbaref, compare_corba_objects),
4498 (compare_listener_quarks): define out.
4499 (impl_accessibility_registry_deregister_global_event_listener):
4500 re-write for effiency, and nail re-enterancy hazard.
4501 (impl_accessibility_registry_get_desktop_list): impl.
4502 (re_enterant_list_delete_link): impl.
4503 (re_enterant_list_foreach): impl.
4504 (remove_listener_cb): impl.
4505 (_registry_notify_listeners): kill.
4506 (notify_listeners_cb): impl.
4508 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
4509 (SPI_getDesktopList): impl.
4511 * test/test-simple.c (test_desktop): test the methods.
4513 2002-01-03 Michael Meeks <michael@ximian.com>
4515 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
4516 keystrings since we free them
4517 (SPI_freeAccessibleKeySet): in here.
4519 * libspi/accessible.c (spi_accessible_new): kill warning,
4520 wonder what is going on with the constructor here.
4522 2002-03-01 Bill Haneman <bill.haneman@sun.com>
4524 * libspi/accessible.c (spi_accessible_new ()) :
4525 Added check to see if AtkObject is an SpiRemoteObject before
4526 creating an SpiAccessible.
4528 2002-05-01 Bill Haneman <bill.haneman@sun.com>
4530 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
4531 Enable keygrabs using the Control modifier, now that they are
4532 working properly (they were previously disabled).
4535 Change the command keygrab for this demo to "Control+Alt", so as
4536 to conflict with fewer other key commands on the system; this
4537 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
4539 Removed a pointlessly-chatty keylistener for unshifted keys
4540 (shifted keys are still reported).
4542 2002-02-01 Bill Haneman <bill.haneman@sun.com>
4544 * libspi/remoteobject.h:
4545 * libspi/remoteobject.c:
4546 Added definitions for special AtkObject subtype, required for
4547 support of remote components (specifically, used by BonoboControl
4548 accessibility implementation).
4550 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
4552 * cspi/spi.h: synched relation types with ATK
4554 * cspi/spi_accessible.c: Added implementations of
4555 AcccessibleRelation_* methods
4557 * idl/Accessibility_Relation.idl: added getRelationTypeName
4558 method. Synched known relation types with ATK. Allowed for
4559 relation type extension with the RELATION_EXTENDED type.
4561 * libspi/relation.c: Provided implementations for
4562 AccessibleRelation methods.
4564 2002-01-01 Bill Haneman <bill.haneman@sun.com>
4566 API tweaks for today's API 'freeze'.
4569 Added placeholder functions to allow future compatible expansion
4570 of the IDL interfaces.
4572 * idl/Accessibility_Registry.idl:
4573 Changed generateKeyEvent to generateKeyboardEvent. Changed
4574 signature of this method to accept an optional keystring in
4575 parameter (for complex text input synthesis) and changed use of
4576 simple 'boolean' parameter in registerKeystrokeListener to a
4577 struct, EventListenerMode.
4579 * cspi/spi_accessible.c:
4581 * cspi/spi_streamablecontent.c:
4582 Added references to AccessibleStreamableContent interface, and
4583 definition and implementation of AccessibleStreamableContent
4586 * cspi/spi_registry.c:
4588 Changed generateKeyEvent API to generateKeyboardEvent,
4589 taking a new (optional) keystring parameter to support complex
4594 Renamed directory (to better reflect its actual purpose, bridging
4595 from at-spi to ATK). The .so module is also now named
4598 * idl/Accessibility_Hypertext.idl:
4599 * libspi/accessible.c:
4600 * libspi/hypertext.h:
4601 * libspi/hypertext.c:
4602 Changed Accessibility_Hypertext to *not* derive from
4605 * cspi/spi_registry.c:
4606 Added list of legal event type names for 'window' events, which
4607 completes the registry event API.
4609 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
4611 * at-bridge/bridge.c: Added registration for separate
4612 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
4613 signals. If either of the first two parameters to the generic
4614 bridge signal handler are ints, they are passed on as event
4615 details. This allows an AT to determine what text was inserted.
4617 2001-12-21 Bill Haneman <bill.haneman@sun.com>
4619 * registryd/deviceeventcontroller.c:
4620 Fixed regressions in generateKeyEvent caused by the removal of
4621 gdk_init from registryd; we now use pure X calls to connect to the
4622 display, which makes sense because deviceeventcontroller already
4623 uses a fair bit of X API (should eventually be migrated to a
4624 'portability layer').
4626 * registryd/desktop.c:
4627 Fixed minor regression in spi_desktop_init, changed the way the
4628 desktop name is being set to work with new spi_base API
4629 (gobject-based, rather than AtkObject-based).
4631 * registryd/Makefile.am:
4632 Minor revision of makefile to use XTST_LIBS variable rather than
4633 hard-wiring the Xtst LD_ADD element.
4635 * test/keysynth-demo.c:
4636 Tweaked an output message; added initialization of the
4637 'keystrings' member of the "switch listener" key_set.
4639 * libspi/relation.c:
4640 Squashed compile-time warning.
4642 * libspi/accessible.c:
4643 Cosmetic and formatting fixes, renamed a static method.
4645 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
4647 * libspi/accessible.c
4649 * libspi/application.c
4652 * libspi/component.c
4653 * libspi/editabletext.c
4654 * libspi/hyperlink.c
4655 * libspi/hypertext.c
4657 * libspi/selection.c
4661 * registryd/desktop.c:
4662 Changed SpiBase to contain a GObject pointer rather than an AtkObject
4664 2001-12-17 Bill Haneman <bill.haneman@sun.com>
4666 * idl/Accessibility_Registry.idl:
4667 Added boolean member 'is_text' to DeviceEvent. This is for the
4668 use of key events, and helps prevent ambiguity between composed
4669 key strings and keysym names, since both may potentially be
4670 returned in the 'event_string' member.
4672 * at-bridge/bridge.c:
4673 * registryd/deviceeventcontroller.c:
4674 Use the 'is_text' member when notifying device event listeners.
4675 Knon issue: composed characters are not dealt with correctly by
4676 the global key listener implementation yet.
4678 2001-12-17 Bill Haneman <bill.haneman@sun.com>
4680 * at-bridge/bridge.c:
4681 Namespaced local static methods to spi_atk_bridge_* where
4682 previously named bridge_*, and spi_* elsewhere.
4684 * at-bridge/bridge.c:
4685 * cspi/bonobo/cspi-bonobo-listener.c:
4686 Added demarshalling/conversion for string member of
4687 Accessibility_DeviceEvent to AccessibleKeystroke.
4689 * registryd/deviceeventcontroller.c:
4690 Added code to fill the Accessibility_DeviceEvent key string value
4691 member for global key events (i.e. from XGrabKey), to match
4692 behavior of Accessibility_DeviceEvent from the toolkit key events
4693 from the bridge. Fixed timestamp in global key event notifications.
4696 Added printout of key event's string value to
4697 report_ordinary_key_event, for demo/debugging purposes.
4699 2001-12-15 Bill Haneman <bill.haneman@sun.com>
4701 * idl/Accessibility_Registry.idl:
4702 Removed Accessibility_KeyStroke structure in favor of generic
4703 Accessibility_DeviceEvent structure.
4704 Changed Accessibility_ControllerEventMask from a struct to an
4707 * at-bridge/bridge.c:
4708 Changed APIs to use DeviceEvent structure as above, and removed
4709 bogus casting between these event structures.
4711 * cspi/spi-listener.h:
4712 Added keystring member of AccessibleKeystroke structure, to enable
4713 matching on event "names" rather than only hardware codes and
4717 Added keystrings member of AccessibleKeySet struct, to allow
4718 matching on event names (as above).
4719 Added declarations for SPI_createAccessibleKeySet and
4720 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
4721 event modmasks directly as unsigned ints rather than structs with
4722 refcounts, in the DeviceEventController methods.
4724 * cspi/spi_registry.c:
4725 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
4727 * cspi/spi-roletypes.h:
4728 Added documentation of newly added SPI Roles.
4730 * cspi/bonobo/cspi-bonobo-listener.c:
4731 Changes in support of API changes above.
4733 * libspi/accessible.c:
4734 Converted APIs to use DeviceEvent structure (see IDL changes
4737 * registryd/deviceeventcontroller.c:
4738 Added DEControllerGrabMask structure to track keygrabs not only by
4739 modmask but by keyset as well; this allows us to do "global"
4740 (i.e. X) keygrabs on a per-key or keyset basis rather than always
4741 grabbing on AnyKey and then filtering after-the-fact.
4742 Bugfixes for event filtration mean that we don't get false matches
4743 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
4745 * registryd/deviceeventcontroller.c:
4746 Namespaced a number of static methods to use spi_ prefix. Major
4747 revision to internals of global (i.e. X) key grabs.
4749 * registryd/deviceeventcontroller.h:
4750 Removed keymask_list and added keygrabs_list to
4751 SpiDeviceEventController struct.
4754 Added use of SPI_createAccessibleKeySet API when creating a
4755 listener for only one key. Attach a listener to "shift spacebar
4756 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
4757 X key event names to SPI key event names, so that listeners are
4758 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
4760 * test/keysynth-demo.c:
4761 Changed (incorrect) use of X key event names (KeyPressed,
4762 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
4765 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4767 * libspi/accessible.c:
4768 Convert all AtkRole enumerations to Accessibility_Role enums when
4769 getting a role from an AtkObject.
4771 * cspi/spi_accessible.c:
4772 Complete the conversion of Accessibility_Role enums at runtime to
4773 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
4774 role enums correctly match those given in spi-roletypes.h.
4775 Re-synchronize the local names list for AccessibleRole_getName ().
4776 AccessibleRole_getName is now deprecated, since it duplicates the
4777 more reliable Accessible_getRoleName.
4778 Added some role types from Accessibility_Role.idl.
4780 * idl/Accessibility_Role.idl:
4781 Added some role types used by AtkRole.
4783 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4786 * cspi/spi_registry.c:
4788 * cspi/cspi-bonobo-listener.c:
4789 Namespaced all methods that did not begin with an "SPI_" or
4790 "Accessible" prefix to "SPI_".
4793 Homogenized internal function namespace to "cspi_" for statics.
4796 Patched tests to use the new CSPI API.
4798 * docs/reference/cspi/at-spi-cspi-sections.txt:
4799 Updated docs to reflect namespace changes, and added a number of
4800 methods to the documentation.
4802 * registryd/registry.c:
4803 Changed use of strings and string hashes in listener event
4804 matching and parse_event_string to use GQuark, which is guaranteed
4807 * registryd/registry.h:
4808 Squashed annoying warning.
4810 * idl/Accessibility_Role.idl:
4811 Extended range of available Accessibility_Role values.
4813 * cspi/spi_accessible.c:
4814 Re-ordered role names.
4816 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4818 * idl/Accessibility_Value.idl:
4819 Revert use of union back to CORBA_double, since the double type is
4820 more efficient and can contain the other types without loss of
4823 * idl/Accessibility_Accessible.idl:
4824 Added method Accessibility:Accessible:getRoleName, to complement
4825 Accessibility:Accessible:getRole.
4827 * cspi/spi_accessible.c:
4829 Added C binding for above, Accessible_getRoleName (), and changed
4830 signature of Accessible_getRole () to return an AccessibleRole.
4832 * cspi/spi-roletypes.h:
4833 Changed AccessibleRole_getName to return a char * instead of a
4834 const char *. This method is now at least temporarily deprecated
4835 in favor of asking Accessibles for their RoleNames directly.
4838 Revert to match Accessibility_Value.idl;
4842 Change signature of AccessibleValue methods to use double rather
4846 * cspi/spi_accessible.c:
4847 Changed Accessible_getRole to return an AccessibleRole enum rather
4848 than a UTF-8 string. The UTF-8 string can still be obtained via
4849 AccessibleRole_getName ().
4851 * test/test-simple.c:
4852 Add test_action. Small fixup to match API change to Accessible_getRole.
4855 Bugfix for get_action_from_servant ().
4857 2001-12-11 Michael Meeks <michael@ximian.com>
4859 * libspi/libspi.h: remove registry.h and
4860 desktop.h, deviceeventcontroller.h
4862 * libspi/Makefile.am: remove registry.[ch],
4863 desktop.[ch], deviceeventcontroller.[ch]
4865 * registryd/Makefile.am: add registry.[ch],
4866 desktop.[ch], rename registryd.c to registry-main.c.
4867 add deviceeventcontroller.[ch]
4869 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4872 Replace setenv() call with putenv ().
4874 * libspi/component.c:
4875 Bugfix in AccessibleComponent_getExtents (),
4878 2001-12-11 Michael Meeks <michael@ximian.com>
4880 * libspi/image.c (impl_getImageExtents): impl.
4881 (spi_image_class_init): upd.
4884 (AccessibleImage_getImageDescription): fix daft bug
4887 * test/test-simple.c (global_listener_cb): update
4888 to only quit if not --poke
4889 (main): catch --poke.
4890 (validate_accessible): upd. dumping, call test_image
4893 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
4896 * idl/Accessibility.idl: update all IDL includes.
4898 * idl/*.idl - rename to namespace - this sucks, blame
4899 mjs' bad decision for oafd.
4901 * test/test-simple.c (create_test_window): add more tests.
4902 (create_tree): split this out.
4903 (validate_accessible): bugfix.
4905 2001-12-11 Michael Meeks <michael@ximian.com>
4907 * cspi/bonobo/cspi-bonobo-listener.c:
4908 (cspi_kestroke_listener_unref),
4909 (cspi_event_listener_unref): impl. undoing previous
4910 homenous environment - for Bill.
4912 * cspi/spi_table.c (long_seq_to_array): use
4915 * cspi/spi_main.c: split out all bonoboish bits into
4918 * cspi/spi-impl.h: upd. typedefs.
4920 * cspi/spi_registry.c: update to lowlevel API,
4921 return booleans to indicate success in some places.
4923 * cspi/spi_event.c: update to lowlevel API.
4925 * cspi/bonobo/Makefile.am: add.
4927 * cspi/bonobo/cspi-lowlevel.h: add
4929 * cspi/bonobo/cspi-bonobo.c: add
4931 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
4933 * cspi/Makefile.am: remove spi-listener-impl.[ch],
4934 (SUBDIRS): add bonobo, link in the libs.
4936 * cspi/spi-util.c: kill this file.
4938 * TODO: merge in my bits.
4940 2001-12-11 Michael Meeks <michael@ximian.com>
4942 * test/test-simple.c (test_value, test_table, main):
4943 remove unused variables causing warnings.
4945 * configure.in: cleanup checks - require gail.
4947 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4950 Changed Value interface to use SValue (scalars) rather than
4951 assuming all values are floats. This allows floats, doubles,
4952 longs, shorts, and unsigned values to be manipulated.
4953 Introduced Accessibility:SValue union.
4956 Updated to use new API above, and to work correctly with GValues
4957 of different types in AtkValue.
4960 Updated to use new API above. cspi's API is as yet unchanged.
4963 Updated the Value revision action item.
4965 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4967 * test/test-simple.c:
4968 Added test_table (GtkTreeView widget in test window to follow).
4969 Un-commented test_value, added GtkRange widget.
4970 Added GtkTreeView widget with GtkListStore. It passes regression
4971 test but leaks one SPI object for some reason.
4974 Fixed bug in impl__set_currentValue.
4976 2001-12-10 Michael Meeks <michael@ximian.com>
4978 * cspi/spi_text.c: audit for exception handling,
4979 tolerating NULL object references safely etc.
4981 * cspi/spi_value.c: ditto.
4983 * cspi/spi_table.c (AccessibleTable_getSummary),
4984 (AccessibleTable_getAccessibleAt),
4985 (AccessibleTable_getRowHeader),
4986 (AccessibleTable_getColumnHeader),
4987 (AccessibleTable_getCaption): fix bugs hidden by
4989 (long_seq_to_array): impl.
4990 (AccessibleTable_getSelectedRows),
4991 (AccessibleTable_getSelectedColumns): use it.
4993 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4996 Added a TODO list (rough and short for now).
4998 * cspi/spi_hyperlink.c:
4999 * cspi/spi_hypertext.c:
5000 Fixed macro name typos, and remove use of obsolete macro in
5001 AccessibleHyperlink_getLink.
5003 * cspi/spi_action.c:
5004 * cspi/spi_accessible.c:
5005 * cspi/spi_application.c:
5006 * cspi/spi_component.c:
5007 * cspi/spi_selection.c:
5010 Documentation fixes (removed return values from ref/unref methods).
5012 2001-12-10 Michael Meeks <michael@ximian.com>
5014 * cspi/spi_action.c: audit for exception handling,
5015 tolerating NULL object references safely etc.
5017 * cspi/spi_accessible.c: ditto.
5019 * cspi/spi_component.c: ditto.
5021 * cspi/spi_editabletext.c: ditto.
5023 * cspi/spi_hyperlink.c: ditto.
5025 * cspi/spi_hypertext.c: ditto.
5027 * cspi/spi_image.c: ditto.
5029 * cspi/spi_selection.c: ditto.
5031 2001-12-10 Michael Meeks <michael@ximian.com>
5033 * configure.in: use cspi/libspi.pc.in instead.
5035 * Makefile.am (pkgconfig_DATA): upd. to match.
5037 * test/simple-at.c (report_focus_event): kill hacks around
5038 bad return values, use putenv not setenv
5040 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
5041 fire ChildGone - I killed it.
5043 * libspi/component.c
5044 (impl_accessibility_component_get_extents): remove
5047 * idl/Accessible.idl: kill ChildGone exception.
5049 * cspi/*.[ch]: kill int return from ref / unref.
5051 * cspi/spi_main.c (cspi_object_add_check): fold into
5052 (cspi_object_add): here.
5054 * cspi/spi_component.c (AccessibleComponent_getExtents):
5055 handle exceptions elegantly.
5057 * cspi/spi-private.h (cspi_check_ev_return),
5058 (cspi_return_if_fail): impl.
5060 * cspi/spi_accessible.c: use extensively.
5061 (AccessibleStateSet_equals): add direct compare check.
5063 * cspi/spi_selection.c: tolerate NULL objs, and check
5064 exceptions before return.
5066 * cspi/spi-util.c (cspi_warn_ev): rename to
5067 (cspi_check_ev): this & don't pass ev in; no point.
5069 2001-12-10 Michael Meeks <michael@ximian.com>
5071 * test/test-simple.c: use putenv not setenv
5072 (get_environment_vars): more chatty if you're not using
5075 * test/simple-at.c: do the setenv so more people see the
5078 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5080 * libspi/registry.c:
5081 Changed check of CORBA_environment on notification to be a warning
5082 instead of an error for the moment, since we can recover from this
5083 error when caused by a queued notification from a dead app.
5086 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
5087 used by all current implementors of AtkValue), and coerce to
5088 CORBA_float. (Proper general case fix may require change to Value.idl).
5090 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5094 * cspi/spi_accessible.c:
5095 Documentation fixes: added user_data params to documentation for
5096 listeners and callbacks.
5098 * cspi/spi_accessible.c:
5099 Changed AccessibleStateSet_compare to return a
5100 StateSet rather than return the difference set into a third parameter.
5103 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5106 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
5107 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
5111 Remove subdirectory po from SUBDIRS for now.
5113 * at-bridge/bridge.c:
5114 Beefed up a couple of debug printouts.
5115 One-line fix for signal notification name formatting.
5117 * libspi/accessible.c:
5118 Added assertion to spi_accessible_new ().
5120 * libspi/application.c:
5121 Put #ifdef qualifiers around a printf.
5124 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
5126 * registryd/Makefile.am:
5128 Replaces use of XML_I18N_MERGE_SERVER_RULE with
5129 INTLTOOL_SERVER_RULE macro.
5132 Added an event listener for several ATK signals, for
5133 testing and debugging. Removed a few g_warnings.
5134 Added test output if focussed item implements the Value interface.
5136 * test/test-simple.c:
5137 Added test_value () function (known not to pass at the moment, so
5138 not actually called yet.
5140 2001-12-08 Michael Meeks <michael@ximian.com>
5142 * at-bridge/bridge.c (bridge_focus_tracker),
5143 (emit_eventv): fix the same ref. leak.
5144 (register_atk_event_listeners): don't leak.
5146 * cspi/spi-listener-impl.c (cspi_event): more
5147 protection from client code.
5149 * test/test-simple.c (test_desktop): unref the app.
5151 * test/Makefile.am: upd. TESTS.
5153 * at-bridge/bridge.c (bridge_exit_func): release the registry.
5155 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
5157 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
5159 * cspi/spi_registry.c: constify in strings.
5160 (deregisterGlobalEventListenerAll): don't release the ref.
5162 * cspi/spi.h: start removing redundant / conflicting
5163 gtkdoc comments, making the API readable at a glance :-)
5165 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
5167 * test/keysynth-demo.c (keysynth_exit, main): upd.
5169 * test/simple-at.c (main, simple_at_exit): upd.
5171 * test/test-simple.c (unutterable_horror): kill.
5172 (utterable_normal_derefs): kill.
5173 (main): upd & do a setenv before gtk_init, so that we
5174 can use memprof - and to save the pain of remembering
5175 this, if we're running under memprof - don't exit.
5177 * cspi/spi_main.c (SPI_exit): return exit status
5179 (SPI_event_quit): impl.
5180 (SPI_event_main): simplify.
5181 (cspi_is_gnome_app): kill.
5182 (SPI_init): kill isGNOMEapp arg.
5184 * at-bridge/bridge.c (register_atk_event_listeners):
5185 re-instate the unref.
5186 (bridge_exit_func): don't re-activate the registry,
5187 protect vs. theoretical re-entry, use the
5188 AT_BRIDGE_SHUTDOWN env. var to determine whether to
5189 assert a clean shutdown - for regression tests.
5191 2001-12-08 Abel Cheung <maddog@linux.org.hk>
5193 * configure.in: Comment out dummy i18n support for now,
5194 otherwise it fails to build.
5195 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
5196 EXTRA_DIST. They are missing in tarball.
5198 2001-12-07 Michael Meeks <michael@ximian.com>
5200 * util/magnifier.c: kill bonobo activation reg. race.
5202 * libspi/component.c
5203 (impl_accessibility_component_get_extents): make it match
5206 * libspi/registry.c (_registry_notify_listeners):
5207 re-remove X headers & reconcile conflicts.
5208 (spi_listener_struct_free): bad conflict resolve.
5209 (impl_accessibility_registry_register_application):
5210 more bad merging fixed.
5211 (impl_accessibility_registry_deregister_application): ditto.
5212 (spi_registry_new): ditto.
5213 (spi_registry_init): don't have an applications field.
5215 [ merge fixups2 branch to here ]
5216 2001-12-07 Michael Meeks <michael@ximian.com>
5218 * test/simple-at.c (report_focus_event),
5219 (report_focussed_accessible): remove g_warning debug.
5221 2001-12-07 Michael Meeks <michael@ximian.com>
5223 * test/test-simple.c (validate_tree): comment out some checks.
5224 (test_desktop): app now not registered idly - horay.
5226 2001-12-07 Michael Meeks <michael@ximian.com>
5228 * cspi/spi_registry.c
5229 (registerAccessibleKeystrokeListener): clean, stop it leaking
5230 great swathes of memory, and device event controller references.
5231 ensure we always pass valid sequences.
5232 (deregisterAccessibleKeystrokeListener): ditto.
5233 (generateKeyEvent): upd.
5235 * at-bridge/bridge.c (bridge_key_listener): handle
5236 registry dead exception gracefully.
5237 (bridge_focus_tracker, emit_eventv): free ev.
5239 * test/simple-at.c (report_focus_event): fix polarity.
5241 * libspi/application.c (notify_listeners): kill the ev
5242 argument, and make sure we init the ev we use.
5243 (spi_application_object_event_listener): split out a chunk
5244 (get_atk_object_ref): here & fixup.
5245 (reverse_lookup_name_for_toolkit_event): make const.
5246 (spi_application_toolkit_event_listener): fixup, kill leaks
5249 * at-bridge/bridge.c (register_atk_event_listeners):
5250 don't unref the noop object - causes grief.
5252 * libspi/registry.c: remove the X headers.
5253 turn off the debug churn.
5255 * libspi/accessible.c (spi_accessible_new_return): only
5256 release the ref if we are supposed to [doh]
5258 * test/simple-at.c (report_button_press, report_focus_event):
5259 guard vs. unexpected exit.
5261 * at-bridge/bridge.c (gtk_module_init): prune printf.
5262 (bridge_exit_func): fix app unref.
5264 * libspi/Makefile.am: don't install registry or desktop.h
5266 * libspi/*.h: update includes.
5268 * libspi/application.h: don't include ourself, or
5269 other redundant headers.
5271 2001-12-06 Michael Meeks <michael@ximian.com>
5273 * libspi/accessible.c
5274 (get_accessible_from_servant): impl.
5275 Upd. all CORBA impl.s to use it killing cut and paste.
5277 * cspi/spi_main.c (cspi_cleanup): guard vs. double
5279 (SPI_init): register atexit cleanup handler here.
5281 2001-12-06 Michael Meeks <michael@ximian.com>
5283 * at-bridge/bridge.c (gtk_module_init): g_error on
5284 activation exception
5286 2001-12-06 Michael Meeks <michael@ximian.com>
5288 * at-bridge/bridge.c (gtk_module_init): some sort of
5289 confusing merge clash - reverted.
5290 (bridge_idle_init): ditto.
5292 * test/test-simple.c (main, utterable_normal_derefs):
5293 merge from Bill - somehow not committed.
5295 2001-12-06 Michael Meeks <michael@ximian.com>
5297 * libspi/value.c (spi_value_class_init): upd.
5298 (spi_value_finalize): kill.
5300 * libspi/table.c (spi_table_finalize): kill.
5301 (spi_table_interface_new): upd.
5302 (spi_table_class_init): upd.
5303 (get_table_from_servant): impl.
5304 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5306 * libspi/selection.c (spi_selection_finalize): kill.
5307 (spi_selection_interface_new): upd.
5308 (spi_selection_class_init): upd.
5309 (get_selection_from_servant): impl.
5310 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5312 * libspi/relation.c (spi_relation_finalize): kill.
5313 (spi_relation_class_init, spi_relation_new): upd
5315 * libspi/image.c (spi_image_finalize): kill.
5316 (spi_image_class_init): upd.
5317 (spi_image_interface_new): upd.
5318 (get_image_from_servant): impl.
5319 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5321 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
5322 (spi_hyperlink_finalize): kill.
5323 (spi_hyperlink_new): upd.
5324 (get_hyperlink_from_servant): impl.
5325 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5327 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
5328 (spi_hypertext_finalize): kill.
5329 (spi_hypertext_class_init): upd.
5330 (get_hypertext_from_servant): impl.
5331 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5333 * libspi/editabletext.c (spi_editable_text_finalize): kill.
5334 (spi_editable_text_interface_new): upd.
5335 (get_editable_text_from_servant): impl.
5336 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5338 * libspi/text.c (get_text_from_servant): impl.
5339 All impls - update to use it killing more cut and paste,
5340 also fix bad string returns on duff args ( a somewhat
5341 impossible case to handle - but hey ).
5342 (spi_text_construct): impl.
5343 (spi_text_interface_new): upd.
5344 (spi_text_object_finalize): kill.
5346 * libspi/component.c
5347 (accessibility_component_object_finalize): kill.
5348 (spi_component_class_init): upd.
5349 (get_component_from_servant): impl. helper to kill cut & paste.
5350 (impl_accessibility_component_contains):
5351 (impl_accessibility_component_get_accessible_at_point):
5352 (impl_accessibility_component_get_position):
5353 (impl_accessibility_component_get_extents):
5354 (impl_accessibility_component_get_mdi_z_order):
5355 (impl_accessibility_component_get_layer):
5356 (spi_component_interface_new): upd.
5358 * libspi/action.c (spi_action_finalize): kill.
5359 (spi_action_class_init): upd. inherit from SpiObject.
5360 (spi_action_interface_new): upd.
5361 (get_action_from_servant): impl. helper to reduce cut & paste.
5362 (impl_getKeyBinding, impl_getName, impl_doAction),
5363 (impl_getDescription): Use it everywhere.
5365 * cspi/spi_main.c (get_live_refs): a pointer hash.
5366 (spi_object_hash, spi_object_equal): comment out.
5367 There are issues with CORBA object hashing that need
5370 * libspi/application.c (spi_application_init),
5371 (spi_application_new): upd.
5373 * libspi/accessible.c (spi_accessible_object_finalize): kill.
5374 (spi_accessible_class_init): upd.
5375 s/accessible/object/ in epv methods.
5377 2001-12-05 Bill Haneman <bill.haneman@sun.com>
5379 * at-bridge/bridge.c:
5380 Reorder the bridge initialization into the bridge gtk_module_init,
5381 an immediate call to bridge_register_app, and an idle_add for
5382 register_atk_event_listeners (the only code that *must* wait until
5383 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
5384 the activation, creates the application's Accessible object, and
5385 queues the bridge_idle_init function. Restored call to
5386 Accessibility_Registry_deregisterApplication().
5387 Prior to making this call we obtain a new reference to the
5388 registry, which is a temporary hack that helps us handle apps that
5389 shut down the bonobo mainloop before we get there.
5391 * libspi/registry.c:
5392 Fix string leakage in debug block, and don't segv if a an app
5393 dies before its event notifications have been propagated.
5396 Modify cspi_check_ev() to call g_warning() rather than g_error(),
5397 as stopgap measure until we get proper exception handling when
5398 objects die during or before interrogation.
5402 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
5403 Also changed default value of is_gnome_app to TRUE.
5406 * test/keysynth-demo.c:
5407 Changed use of SPI_init and SPI_event_main to reflect API change above.
5410 Made report_focus_event check the warning value from getName
5411 before reporting on focussed accessible; simplifies handling of
5412 notifications from dead objects.
5414 * test/test-simple.c: (Changes not in this patch since source is
5417 2001-12-05 Michael Meeks <michael@ximian.com>
5419 * registryd/registryd.c (main): protect against
5420 bonobo-activation startup race condition.
5422 * cspi/spi_main.c (cspi_object_add_check): cope
5423 with the exception elegantly.
5425 * idl/Accessible.idl: decl. ChildGone
5427 * libspi/desktop.c (spi_desktop_dispose): impl.
5428 (spi_desktop_class_init): upd.
5429 (spi_desktop_add_application),
5430 (spi_desktop_remove_application),
5431 (abnormal_application_termination): impl.
5432 (impl_desktop_get_child_at_index): re-impl.
5435 (impl_accessibility_registry_deregister_application),
5436 (impl_accessibility_registry_register_application):
5437 kill excessive debug clutter.
5439 * test/test-simple.c (test_misc): test some NULL
5440 tolerance. (main): upd.
5442 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
5443 implements no interfaces - so let's not crash.
5445 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
5447 * libspi/accessible.c (spi_accessible_new_return): impl.
5448 helper to calm the cut and paste, to cope with
5449 NULL AtkObjects effectively and efficiently, and to kill
5450 the referencing bugs.
5452 * libspi/table.c (impl_getAccessibleAt),
5453 (impl_getRowHeader, impl_getColumnHeader): upd.
5455 * libspi/hyperlink.c (impl_getObject): upd.
5457 * libspi/accessible.c
5458 (impl_accessibility_accessible_get_child_at_index): upd.
5460 * libspi/component.c
5461 (impl_accessibility_component_get_accessible_at_point): upd.
5463 * test/test-simple.c (test_editable_text, test_text): impl.
5466 * cspi/spi_editabletext.c
5467 (AccessibleEditableText_insertText): constify.
5469 * test/test-simple.c (focus_me): make more robust.
5471 * libspi/accessible.c: remove some printfs in methods that
5472 we test and work fine, so we can get a clean tree dump.
5474 * test/test-simple.c (validate_accessible),
5475 (validate_tree): make tree dumping pretty too.
5477 * at-bridge/bridge.c (bridge_signal_listener): upd. so
5478 it builds without debug on.
5480 * test/test-simple.c (validate_accessible): fix the most
5483 * cspi/spi_main.c (spi_object_release): leave the nicely
5484 blanked memory around if in debug mode.
5486 * cspi/spi-listener-impl.c (cspi_event): use add_check.
5488 [committed to fixups2]
5489 2001-12-05 Michael Meeks <michael@ximian.com>
5491 * libspi/editabletext.c
5492 (spi_editable_text_class_init): g_type_class_peek_parent,
5493 not interface peek - so we finalize cleanly.
5495 * libspi/accessible.c (spi_accessible_new): kill debug.
5497 * test/test-simple.c (validate_accessible): fix ref.
5498 leak, print strings before freeing them; sigh, comment a
5499 chunk out due to strangeness.
5500 (validate_tree): unref the child after use.
5502 * cspi/spi_component.c (AccessibleComponent_getLayer):
5503 add missing break statement, switch on zlayer not the
5504 uninitialized retval.
5506 * cspi/spi_main.c (cspi_object_add): add assert, local ref
5507 before (possibly re-entering) remote unref.
5509 * test/simple-at.c (main): unref the desktop.
5511 * cspi/spi_accessible.c (cspi_accessible_is_a): move
5514 * cspi/spi_main.c (cspi_accessible_is_a): here to
5515 isolate bonobo API usage more.
5517 * libspi/registry.c (impl_accessibility_registry_register_application):
5518 prune bogus comment.
5520 2001-12-04 Michael Meeks <michael@ximian.com>
5522 * test/test-simple.c (validate_tree): upd.
5523 IndexInParent check to make it more lucid.
5524 (validate_accessible): dump the tree.
5526 * libspi/accessible.c (de_register_public_ref),
5527 (get_public_refs): impl.
5528 (spi_accessible_new): make more efficient & intuitive.
5529 Now IndexInParent check works.
5531 2001-12-04 Michael Meeks <michael@ximian.com>
5533 * cspi/spi-util.h: remove.
5535 * cspi/spi.h: move SPI_freeString here
5537 * libspi/component.c (impl_accessibility_component_get_layer):
5539 (impl_accessibility_component_get_mdi_z_order): ditto,
5540 return -1 on error - is this ok ?
5542 * test/test-simple.c (test_application): impl.
5544 * cspi/spi_accessible.c (Accessible_getApplication),
5545 (Accessible_isApplication): impl.
5547 * libspi/registry.c (spi_listener_struct_free): release
5548 the CORBA reference too.
5550 * libspi/accessible.c
5551 (impl_accessibility_accessible_get_parent): fix ref leak.
5553 * libspi/registry.c (spi_registry_new): make the registry
5554 immortal - we don't want it to go away ever.
5556 * libspi/application.c
5557 (spi_accessible_application_finalize): impl. cleanup.
5559 * cspi/spi_registry.c
5560 (deregisterGlobalEventListenerAll),
5561 (deregisterGlobalEventListener),
5562 (deregisterAccessibleKeystrokeListener): fix ref leak.
5564 * cspi/spi_main.c (SPI_init): remove redundant ref.
5566 * test/test-simple.c (unutterable_horror): impl. to force a
5571 (impl_accessibility_registry_deregister_application): release
5572 the application when we de-register it.
5574 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
5575 until we have the infastructure to get it right.
5577 2001-12-03 Michael Meeks <michael@ximian.com>
5579 * libspi/Makefile.am: only build eventlistener.[ch]
5581 * libspi/accessible.c
5582 (impl_accessibility_accessible_get_child_at_index): don't leak.
5584 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
5585 before we hit the idle handler.
5587 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
5588 debugging than exit.
5590 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
5592 * libspi/listener.c (impl_notify_event): check source
5593 not NIL before unref.
5595 * libspi/registry.c (impl_registry_notify_event): ditto.
5597 * libspi/eventlistener.c
5598 (impl_accessible_event_notify_event): unref the source.
5600 * libspi/accessibleeventlistener.c
5601 (impl_accessible_event_notify_event): unref the source.
5603 * idl/Event.idl: remove 'hash_id' attribute - of no
5606 * libspi/application.c (notify_listeners): upd list
5608 (spi_application_object_event_listener),
5609 (spi_application_toolkit_event_listener): upd to do correct
5613 (_registry_notify_listeners): update.
5614 (parse_event_type): this method also leaks like a sieve.
5615 (impl_accessibility_registry_deregister_global_event_listener):
5616 fix ETYPE_WINDOW case.
5618 * libspi/application.c
5619 (impl_accessibility_application_register_object_event_listener):
5622 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
5624 * libspi/hypertext.c (impl_getLink): ditto.
5626 * cspi/spi_main.c (cspi_object_add): remove
5627 bogus CORBA_Object_duplicate.
5629 * cspi/spi-listener-impl.c (cspi_event): dup/ref
5632 * cspi/spi_accessible.c
5633 (Accessible_getRelationSet): fix leak / referencing issue.
5635 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
5636 (cspi_object_add, cspi_object_unref): upd.
5637 (spi_object_release, get_live_refs): impl.
5638 (cspi_cleanup): simplify.
5640 * *.[ch]: s/boolean/SpiBoolean/
5642 * cspi/spi_accessible.c (role_names): actualy order so it
5643 corresponds with the enum !
5645 * test/test-simple.c (test_roles): check some role strings
5646 vs. enums to detect offset errors.
5648 2001-12-01 Michael Meeks <michael@ximian.com>
5650 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
5652 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
5654 (Accessible_getChildAtIndex): use cspi_add_check so we
5655 check the ev before using a (possibly) invalid value.
5657 * libspi/accessible.c
5658 (impl_accessibility_accessible_get_parent): don't segv
5661 * at-bridge/bridge.c (gtk_module_init): upd.
5662 (bridge_property_event_listener): don't leak strings
5664 (bridge_state_event_listener),
5665 (bridge_property_event_listener): don't use a static
5666 buffer in case of recursive event emission &
5667 re-enterancy - split out the swathe of cut and paste
5669 (emit_eventv): and fix 2 ref leaks here & comply to the
5671 (bridge_register_app): rename to
5672 (bridge_idle_init): this and kill arg parsing, split
5673 various inits & bonobo-activation registration to module
5674 init time, kill referencing error.
5675 (bridge_exit_func): fix the same leak.
5676 (bridge_focus_tracker): don't leak event structures
5678 (bridge_signal_listener): more leakage and cut & paste
5680 (bridge_key_listener): return the result - FIXME is
5681 this polarity correct ?
5682 (accessibility_keystroke_from_atk_key_event): rename
5683 (accessibility_init_keystroke_from_atk_key_event): and stop
5685 (gtk_module_init): return a value - not that it is checked by
5687 (bridge_key_listener): register my horror at casting between
5688 IDL defined structs.
5689 (bridge_get_registry): kill - not used.
5691 * cspi/spi_accessible.c (Accessible_getRole): make return const.
5693 * test/test-simple.c (test_roles): impl.
5694 (test_desktop, validate_accessible, validate_tree): impl.
5696 * cspi/spi_accessible.c (role_names): fixup bogus
5697 MAX_ROLES setup, make constants const for efficient linkage
5698 (AccessibleRole_getName): conform to coding style, make
5701 2001-11-30 Michael Meeks <michael@ximian.com>
5703 * cspi/spi.h: add missing prototype.
5705 * libspi/registry.c (spi_listener_struct_new): fix sig.
5707 * test/Makefile.am: add test-simple
5709 * test/test-simple.c: add
5711 * test/test.sh: add.
5713 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
5715 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
5716 do it straight - since otherwise we often get an activation race.
5718 [ work before Bill duplicated a chunk of it ... ]
5719 2001-11-30 Michael Meeks <michael@ximian.com>
5721 * libspi/keystrokelistener.c
5722 (spi_keystroke_listener_class_init): fixup arg
5725 * libspi/eventlistener.c
5726 (spi_event_listener_class_init): ditto.
5728 * tests/test.sh: add.
5730 * cspi/spi-listener-impl.h: update macros.
5732 * cspi/spi-listener-impl.c
5733 (cspi_event_listener_remove_callback): add
5734 correct pre-conditions.
5736 * cspi/spi_main.c (SPI_exit): guard vs. double
5737 exits, exit the mainloop nicely.
5738 (SPI_event_main): make more sense.
5739 (SPI_init): move the atexit evilness here so we
5740 always do it (yuck).
5741 (SPI_event_main): upd.
5743 * test/simple-at.c: update for listener changes.
5745 * registryd/registryd.c (main): prune kruft.
5747 * libspi/libspi.h: upd.
5749 * libspi/eventlistener.[ch]: rename broken macros.
5751 * libspi/accessibleeventlistener.[ch]: remove.
5753 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
5755 * test/test-simple.c: Add - automated tests.
5757 * cspi/spi-listener-impl.c (cspi_event),
5758 (cspi_key_event): add user_data to invoke.
5759 (cspi_keystroke_listener_finalize): impl.
5760 (cspi_keystroke_listener_class_init): upd.
5763 (createAccessibleEventListener),
5764 (AccessibleEventListener_addCallback),
5765 (createAccessibleKeystrokeListener),
5766 (AccessibleKeystrokeListener_addCallback): upd.
5768 * libspi/deviceeventcontroller.c
5769 (spi_device_event_controller_check_key_event): add public proto.
5772 (impl_accessibility_registry_deregister_global_event_listener):
5773 always init listeners.
5774 (_registry_notify_listeners): yes it is.
5776 * cspi/spi-listener-impl.c (cspi_key_event):
5778 (cspi_event_listener_finalize): impl.
5779 (cspi_event_listener_class_init): hook up.
5780 (event_handler_new, event_handler_free),
5781 (event_list_remove_by_callback): impl.
5782 (cspi_event_listener_remove_callback),
5783 (cspi_keystroke_listener_remove_callback),
5784 (cspi_keystroke_listener_add_callback),
5785 (cspi_event_listener_add_callback): upd.
5787 * libspi/keystrokelistener.c
5788 (keystroke_listener_object_finalize): kill
5789 (spi_keystroke_listener_class_init): upd.
5790 (spi_keystroke_listener_add_callback),
5791 (spi_keystroke_listener_remove_callback): kill,
5793 (impl_key_event): prune drasticaly.
5795 * libspi/eventlistener.c
5796 (spi_event_listener_add_callback),
5797 (spi_event_listener_remove_callback): kill, use
5799 (impl_accessible_event_notify_event): upd.
5800 (spi_event_listener_object_finalize): remove.
5802 * libspi/Makefile.am: use eventlistener.[ch]
5804 2001-12-04 Bill Haneman <bill.haneman@sun.com>
5806 * libspi/registry.c (_registry_notify_listeners):
5807 Changed listener loop iteration to use preferred convention.
5808 Got rid of string memory leaks caused be calling g_strconcat
5809 inside function calls.
5811 * libspi/registry.c (parse_event_type):
5812 Stopped g_strconcat memory leaks, free the g_strsplit return,
5813 g_strdup the split pieces when used, etc.
5815 2001-12-04 Bill Haneman <bill.haneman@sun.com>
5818 Change method 'compare' to return a 'difference set' rather than
5819 taking a StateSet as an out parameter (more Java-friendly).
5821 * idl/Accessible.idl:
5822 Added CORBA struct 'BoundingBox', to faciliate API changes below:
5824 * idl/Component.idl:
5826 Changed methods 'getExtents' and 'getImageExtents' in these
5827 interfaces to return a BoundingBox structure.
5828 (getPosition and getSize are redundant and possibly should be
5829 removed, rather than creating a corresponding Point struct.)
5831 * cspi/spi_component.c:
5832 Modify implementation of getExtents to reflect the above IDL
5837 Add (missing) AccessibleImage_getExtents () API.
5839 * docs/reference/cspi/at-spi-cspi-sections.txt:
5840 Added AccessibleImage_getImageExtents () to docs.
5842 2001-12-03 Bill Haneman <bill.haneman@sun.com>
5844 * idl/Component.idl:
5845 Added two methods, getLayer () and getMDIZOrder (), to reflect
5846 the new ATK methods atk_object_get_layer and
5847 atk_object_get_mdi_z_order. (Which arguably should be part of the
5848 AtkComponent API and AtkObject). Also added an enum,
5849 ComponentLayer, for the first method's return value.
5851 * libspi/component.c:
5852 Added implementations for these methods.
5854 * cspi/spi_component.c:
5856 Added cspi binding methods for above,
5857 AccessibleComponent_getLayer() and
5858 AccessibleComponent_getMDIZOrder().
5859 Added cspi enum 'AccessibleComponentLayer'.
5861 * docs/reference/cspi/at-spi-cspi-sections.txt:
5862 Added above methods to docs.
5866 Changed typedef for 'boolean' type (and all references to it) to
5867 SPIBoolean, to avoid keyword clashes with C++.
5870 Changed usages of 'boolean' to SPIBoolean.
5872 * test/keysynth-demo.c:
5873 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
5874 app), except where SPIBoolean is required by the callbacks API.
5876 2001-12-02 Bill Haneman <bill.haneman@sun.com>
5878 * cspi/spi_registry.c:
5879 Removed obsolete X event loop for passive keygrabs (which now
5882 * registryd/registryd.c:
5883 Removed unnecessary call to gdk_init() [cruft]. This also allows
5884 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
5887 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5889 * docs/reference/cspi:
5890 Included docs for SPI_freeString in generated documentation.
5893 Renamed spi_freeString to SPI_freeString, for consistency. Added
5894 documentation for this function.
5897 Renamed spi_freeString to SPI_freeString, for consistency.
5898 Removed obsolete method declaration string_from_corba_string.
5900 * test/keysynth-demo.c:
5901 Small tweak to comments.
5904 Stopped leaking the strings returned from CSPI.
5906 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5908 Merged Michael's branch (see his ChangeLog entries below).
5910 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
5911 bridge is alive, release on exit.
5913 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
5914 Fix type check macro.
5917 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
5920 Added is_gnome_app static, and method cspi_is_gnome_app(),
5921 so we can call the appropriate shutdown routine at exit in SPI_exit.
5923 * cspi/spi_main.c (cspi_object_ref):
5924 Duplicate the corba object passed in, since we're keeping it around.
5926 * cspi/SPI_exit.c, cspi_cleanup:
5927 Moved the releasing of the live refs to its own function, so we
5928 can put it in g_atexit (). Call the appropriate shutdown API
5929 depending on whethe calling client is a gnome app or not
5930 (bonobo_main_quit or CORBA_ORB_shutdown).
5932 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
5933 Unref the listener when this method is called, after
5934 deregistration. Updated the API docs to note this behavior.
5936 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
5937 Bugfixes: Ref the bonobo object when returning a parent or child
5938 reference, or an AccessibleRelation. Generally made sure
5939 BonoboObject refcount is incremented whenever we return an
5942 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
5943 Fixed typo/bug in signal declaration.
5945 * libspi/accessibleeventlistener.h:
5948 * libspi/application.c (spi_application_new):
5949 Fixed leak in initialization.
5952 Remembered to increment bonobo-object refcount when returning
5953 children (applications) from desktop object.
5954 Added (empty) finalize method.
5956 * libspi/deviceeventcontroller.c:
5957 Hold a ref to listeners inside DEControllerKeyListeners.
5958 Added dec_key_listener_free() method. Use prepend instead of
5959 append in key_listener list. Fixed some refcount madness and
5960 leaks in the listener registration/deregistration - deregistration
5961 now calls dec_key_listener_free() on listeners, and on the
5962 temporarily constructed dec_key_listener() used to perform the search/match.
5964 * libspi/hypertext.c (spi_hypertest_finalize):
5965 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
5966 class. Also fixed spi_hypertext_interface_new() and
5967 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
5969 * libspi/hypertext.h:
5970 Removed pointless and duplicate AtkObject pointer from
5973 * libspi/keystrokelistener.c:
5974 Fixed incorrect type of keystroke_listener_parent_class,
5975 renamed keystroke_listener_object_finalize to
5976 spi_keystroke_listener_object_finalize.
5977 Fixed typo in signal declaration
5978 (spi_keystroke_listener_class_init).
5980 * libspi/registry.c:
5981 Added funcsions spi_listener_struct_new() and
5982 spi_listener_struct_free() to help with memory management issues.
5983 We also now use these methods instead of gnew + poking stuff into
5984 the struct, and to decrement listener counts/free the listeners
5985 when deregistering them.
5986 Fix more refcount bugs in getDesktop() and
5987 getDeviceEventController().
5990 De-ref the desktop after enumerating the applications. Explicitly
5991 decrement the refcounts on the created listeners on exit (using
5992 _unref for keystroke listeners, and via the
5993 deregisterGlobalEventListenerAll command for other event
5996 2001-11-27 Michael Meeks <michael@ximian.com>
5998 * cspi/spi-listener.h: fixup enum.
6000 2001-11-27 Michael Meeks <michael@ximian.com>
6002 * cspi/spi-listener-impl.c (cspi_event_listener_new),
6003 (cspi_keystroke_listener_new): Use the cspi variants.
6005 2001-11-26 Michael Meeks <michael@ximian.com>
6007 * test/keysynth-demo.c: fix 2 compile warnings, missing
6010 * test/simple-at.c (report_focussed_accessible),
6011 (report_focus_event, report_button_press),
6012 (check_property_change, is_command_key),
6013 (report_ordinary_key_event, report_command_key_event): upd.
6015 * util/mag_client.h: include pre-requisites.
6017 * libspi/accessibleeventlistener.c
6018 (spi_event_listener_object_finalize): free any lingering
6021 * libspi/keystrokelistener.c
6022 (keystroke_listener_object_finalize): ditto.
6024 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
6025 callbacks, with cspi types.
6027 * cspi/spi_event.c (createAccessibleEventListener): chain to
6028 (AccessibleEventListener_addCallback): here.
6029 (createAccessibleKeystrokeListener): chain to
6030 (AccessibleKeystrokeListener_addCallback): here.
6032 * libspi/keystrokelistener.c
6033 (spi_keystroke_listener_class_init): add signal.
6034 (impl_key_event): emit the event.
6035 (boolean_handled_accumulator): impl.
6036 (marshal_BOOLEAN__POINTER): add, gack.
6038 * libspi/accessibleeventlistener.c
6039 (spi_event_listener_class_init): add signal.
6040 (impl_accessible_event_notify_event): emit the signal &
6041 make the loop efficient.
6042 (spi_event_listener_add_callback): prepend the callback.
6044 * libspi/accessibleeventlistener.h: add an 'event' signal,
6045 decl type on callback.
6047 * libspi/keystrokelistener.h: ditto.
6049 * cspi/spi-listener.h: make methods typesafe and
6050 make them use the new event typedefs.
6052 * test/simple-at.c (report_focussed_accessible):
6053 include mag_client.h
6054 Use *(void *)text_interface not the other thing.
6056 * configure.in: add gtk to registryd bits - since we use
6059 * util/magnifier.c: include libbonobo.h
6061 2001-11-25 Bill Haneman <bill.haneman@sun.com>
6063 * test/keysynth-demo.c:
6064 Turned this into a simple scanning keyboard, to demonstrate the
6065 use of g_timeout_add () as a means of creating timers for
6066 scanning, and the use of GtkStyle for visually indicating when
6067 virtual keyboard elements are selected.
6069 keysynth-demo now listens to any keyboard keys with zero-valued
6070 keycodes (i.e. 'unused' keys) and interprets them as
6073 Reworked the shiftlatch code so that shift-down state isn't held
6074 for long periods (it's only synthesized immediately prior to
6075 the keysynth event it's modifying). Note that shiftlatch in this
6076 demo is a convenience, not intended to take the place of AccessX
6077 which is the better choice for getting 'sticky' modifier keys.
6079 * libspi/deviceeventcontroller.c:
6080 * at-bridge/bridge.c:
6081 * cspi/spi_registry.c:
6082 Removed some debug print stuff, and put other verbosity in #ifdef
6087 Implemented some more of the magnifier IDL for the simple
6088 magnifier: namely, getZoomRegionParams.
6089 Added mag_x and mag_y members to MagnifierData struct, aid of this
6091 Added GtkWindow::realize signal handler to magnifier, to keep it
6092 from receiving keyboard focus from the WM.
6094 2001-11-23 Mark McLoughlin <mark@skynet.ie>
6096 * cspi/spi-private.h: my guess at what michael forgot
6097 before he ran off to NZ :-)
6099 2001-11-23 Michael Meeks <michael@ximian.com>
6101 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
6102 comment out non existant method invoke so we link.
6104 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
6105 use bonobo_exception_get_text for more friendly warnings.
6107 * cspi/spi.c (Obj_Add): move into spi_main & rename
6108 spi_object_add; kill spi.c
6110 * cspi/spi_registry.c
6111 (deregisterGlobalEventListener),
6112 (deregisterGlobalEventListenerAll),
6113 (registerGlobalEventListener): fix exception leaks.
6115 * cspi/spi_main.c (spi_exception): impl. helper, so we
6116 don't leak exceptions.
6118 * cspi/spi_selection.c
6119 (AccessibleSelection_deselectSelectedChild): return the
6122 * cspi/spi_main.c (spi_ev): impl; hack - gack.
6123 (spi_registry): ditto.
6124 (SPI_init): guard against double inits.
6126 * cspi/*.c: use spi_ev (), and spi_registry () where
6127 appropriate - a temporary hack until we have something
6128 better. Use spi_object_add
6130 2001-11-22 Michael Meeks <michael@ximian.com>
6132 * cspi/Makefile.am: re organise, install the headers.
6134 * cspi/*.h: add G_BEGIN/END_DECLS
6136 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6139 Added non-preemptive keylistener for key events with no modifiers
6140 and shift-only modifier.
6142 * libspi/keystrokelistener.c:
6143 Removed some verbose diagnostics printout.
6145 * cspi/spi_registry.c:
6146 Fixed a bug that caused all key listeners to be registered as
6149 * libspi/deviceeventcontroller.c:
6150 Fixed bug that caused XGrabKey (preemptive key grab) to be called
6151 for non-preemptive key masks.
6154 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6156 * docs/reference/idl/at-spi-idl-docs.sgml:
6157 * docs/reference/idl/at-spi-idl-sections.txt:
6158 * docs/reference/idl/at-spi-idl-overrides.txt:
6159 Added missing files.
6161 * docs/reference/Makefile.am:
6162 removed idl from SUBDIRS until we can figure a way to get gtk-doc
6163 to scan the IDL files :-(
6168 Added .cvsignore files.
6170 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6172 * libspi/deviceeventcontroller.c:
6173 * libspi/keystrokelistener.c:
6175 * cspi/spi_registry.c:
6176 Added filters for KeySets, KeyEventSeq, and event types to key
6177 event dispatching, so listeners should only receive those events
6178 that they requested :-)
6180 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6185 * docs/reference:Makefile.am:
6186 * docs/reference/cspi:
6187 * docs/reference/cspi:Makefile.am:
6188 * docs/reference/cspi:tmpl:
6189 * docs/reference/cspi:tmpl:*.sgml:
6190 * docs/reference/idl:
6191 * docs/reference/idl:Makefile.am:
6192 * docs/reference/idl:at-spi-idl-sections.txt:
6193 * docs/reference/idl:at-spi-idl-docs.sgml:
6194 * docs/reference/idl:tmpl:
6195 * docs/reference/idl:tmpl:*.sgml:
6197 Restructured docs directory to allow separate 'reference' docs
6198 section, and forked idl and cspi docs. Added the sgml template
6199 files to CVS. Added the first sections/structural sgml for the
6202 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
6204 * configure.in, libspi/Makefile.am: find libXtst.
6206 2001-11-21 Michael Meeks <michael@ximian.com>
6208 * test/accessx-gui.c: s/spi_value/value/ - doh.
6210 * libspi/base.[ch]: add.
6212 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6214 * idl/Accessible.idl:
6215 * idl/Application.idl:
6218 Started gtk-doc cleanup on IDL.
6220 * libspi/deviceeventcontroller.c:
6221 Added and connected non-preemptive key notification from the
6222 toolkits (in addition to the pre-emptive support from XServer
6223 which we had before, but which causes 'focus flashing'). Filters
6224 are presently limited to key modifiers and global/non-global,
6225 KeySets are presently ignored, as are KeyEvent masks.
6227 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
6228 structs into the persistant structure rather than just storing
6229 pointers to things that might not persist across servant
6232 The XGrabKey call now does async keygrabs, because synchronous
6233 ones were deadlocking with GDK_event code in a very nasty way.
6235 Added boolean to internal method notify_keylisteners, to indicate
6236 whether the event came from the 'toolkit source' or the 'global
6237 (XServer) source' - this is used in the notification process to
6238 determine which listeners to send the event to.
6240 deviceeventcontroller.c is now warning-free.
6242 * libspi/registry.c:
6243 Fixed regression in application de-registration.
6244 Also fixed some really brain-dead weirdness having to do with
6245 event dispatching - event structs are now duplicated before being
6246 re-marshalled in the dispatch to listeners. This also fixes a
6247 Solaris build problem.
6250 2001-11-20 Michael Meeks <michael@ximian.com>
6253 (impl_accessibility_registry_deregister_global_event_listener):
6256 * libspi/deviceeventcontroller.c
6257 (spi_device_event_controller_check_key_event): return
6258 FALSE on no virtual method.
6260 * libspi/*..h: make includes work on a correctly pathed install.
6262 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
6264 * libspi/application.h: kill unused ( and whacked out )
6265 gboolean *spi_application_set_id (AtkObject *app, long id);
6267 2001-11-20 Michael Meeks <michael@ximian.com>
6269 * libspi/*.[ch]: further convert to bonobo's type func
6270 macros, remove redundnant casts etc.
6272 * libspi/text.c s/accessibility_text/spi_text/g,
6273 re-order to de-cruft.
6275 * libspi/hypertext.c: re-order to kill a huge slew
6276 of redundant forward decls.
6278 * libspi/relation.c: ditto.
6280 * libspi/image.c: ditto.
6282 * */.cvsignore: update
6284 2001-11-20 Michael Meeks <michael@ximian.com>
6286 * libspi/deviceeventcontroller.c
6287 (_controller_register_with_devices): use g_getenv,
6288 kill stdlib.h include.
6290 * libspi/keystrokelistener.c
6291 (spi_keystroke_listener_get_type): kill
6292 (spi_keystroke_listener_class_init),
6293 (spi_keystroke_listener_init): rename to this.
6295 * libspi/text.c (impl_getAttributes): fix warning / bug.
6297 * libspi/*.[ch]: more headers, includes and over commenting.
6299 2001-11-20 Michael Meeks <michael@ximian.com>
6301 * libspi/*.[ch]: fixup headers, includes and over commenting.
6303 * libspi/image.c (impl__get_imageDescription): const
6304 correctness warning fix. remove redundant casting.
6306 * libspi/table.c (impl_getRowDescription): ditto.
6307 (impl_getColumnDescription): ditto.
6309 * libspi/libspi.h: add.
6311 2001-11-19 Michael Meeks <michael@ximian.com>
6313 * libspi/editabletext.c (impl_setAttributes): fix warnings.
6315 * libspi/component.c (accessibility_component_get_type):
6316 rename to (spi_component_get_type): and macroify.
6317 (accessibility_component_init): rename to
6318 (spi_component_init): this
6319 (accessibility_component_class_init): rename to
6320 (spi_component_class_init): this
6322 * libspi/action.c (spi_action_get_type): kill, use the macro.
6324 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
6327 * libspi/application.c (spi_application_object_event_listener),
6328 (impl_accessibility_application_register_object_event_listener):
6329 warning fixes / const understanding updates.
6331 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
6334 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6336 * libspi/spi_accessible.c: Added docs and C bindings for
6337 AccessibleStateSet. (No implementations yet). Documentation
6338 coverage for C bindings now 100%. Made docs for event listeners
6343 boolean notifyListenersSync (in DeviceEventListener listener,
6344 in DeviceEvent event);
6346 oneway void notifyListenersAsync (in DeviceEventListener listener,
6347 in DeviceEvent event);
6349 Added DeviceEventListener and DeviceEvent structs (may deprecate
6350 KeyStroke and KeystrokeListener in favor of this generic
6351 event/listener framework for devices).
6353 * libspi/deviceeventcontroller.c:
6355 Changed some key listener code to take masks, etc., and paved the
6356 way for integration of toolkit/non-preemptive key events. Changed
6357 signatures of some internal methods.
6359 * at-bridge/bridge.c:
6360 Fixed regression connecting to interface signals, apparently
6361 caused by GTK+ changes.
6363 Added an internal bridge_state_listener to deal with
6364 property-change:accessible-state signals.
6366 Changed the key_listeners GList to store structs (including masks,
6367 etc.) instead of just CORBA_Objects (required for full
6368 implementation of key listener API).
6370 Connected the bridge to all currently supported Atk signals.
6371 Events now supported:
6372 object:property-change
6373 object:property-change:accessible-name
6374 object:property-change:accessible-state
6375 object:property-change:accessible-description
6376 object:property-change:accessible-parent
6377 object:property-change:accessible-value
6378 object:property-change:accessible-role
6379 object:property-change:accessible-table-caption
6380 object:property-change:accessible-table-column-description
6381 object:property-change:accessible-table-column-header
6382 object:property-change:accessible-table-row-description
6383 object:property-change:accessible-table-row-header
6384 object:property-change:accessible-table-summary
6385 object:children-changed
6386 object:visible-data-changed
6387 object:selection-changed
6388 object:text-selection-changed
6390 object:text-caret-moved
6392 object:row-reordered
6394 object:column-inserted
6395 object:column-reordered
6396 object:column-deleted
6397 object:model-changed
6399 2001-11-16 Bill Haneman <bill.haneman@sun.com>
6401 * libspi/hyperlink.c,h:
6402 Fixed some broken stuff in hyperlink.
6404 * libspi/relation.h:
6405 * libspi/relation.c:
6406 * cspi/spi_accessible.c:
6407 Initial implementations of AccessibleRelation methods, and docs.
6409 * libspi/accessible.c:
6410 Fixed a bug that caused SEGV if an accessible
6411 object's description is NULL, and a client
6412 requests it. An empty string is now returned.
6414 * cspi/spi_editabletext.c:
6415 * cspi/spi_hypertext.c:
6417 * cspi/spi_hyperlink.c:
6421 Doc coverage now 95%.
6423 2001-11-16 Bill Haneman <bill.haneman@sun.com>
6425 One last namespacing revision:
6426 * libspi/accessibleeventlistener.[ch]:
6427 Renamed SpiAccessibleEventListener to SpiEventListener,
6428 (no need for two namespaces ;-)
6430 And lots of documentation fixes:
6432 * docs/at-spi-docs.sgml:
6433 Fixed 'underscore vs. hyphen' bug that was preventing
6434 the gtk-doc API docs from being automatically generated.
6437 * cspi/spi-listener.h
6439 * cspi/spi_accessible.c
6441 * cspi/spi_application.c
6442 * cspi/spi_component.c
6443 * cspi/spi_editabletext.c
6445 * cspi/spi_hypertext.c
6447 * cspi/spi_registry.c
6448 * cspi/spi_selection.c
6452 * docs/at-spi-docs.sgml
6453 * docs/at-spi-sections.txt
6455 Added and fixed up gtk-doc documentation in cspi.
6457 Interfaces now (fully) documented (subject to revision and enhancement):
6459 Event Listener Support
6461 AccessibleApplication
6465 AccessibleEditableText
6472 AccessibleRelationSet
6477 2001-11-14 Bill Haneman <bill.haneman@sun.com>
6479 * at-bridge/bridge.c:
6480 Initial work for toolkit-level key snooper connection by bridge.
6485 New typedefs and fixes to support new namespacing, and cleaner
6486 separation of cspi bindings from libspi bonobo implementation.
6487 Removed inconsistent and extraneous Spi* namespace prefix that
6488 had crept into cspi headers.
6489 Lots of comment fixes that sed had missed.
6491 * cspi/spi-roletypes.h:
6492 * cspi/spi-statetypes.h:
6493 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
6494 to AccessibleRoleType.
6496 * libspi/accessibleeventlistener.h:
6497 Fixed minor namespacing weirdness.
6499 * libspi/deviceeventcontroller.c:
6500 Reordered some internal API for device listeners.
6501 Changed the key registry final boolean to 'is_system_global'
6502 rather than 'is_synchronous', which is more descriptive of its
6504 Added spi_device_event_controller_new().
6505 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
6507 * libspi/keystrokelistener.[ch]:
6508 Namespaced KeystrokeListener to SpiKeystrokeListener.
6509 Changed uses of keymasks to use SPI_ prefix, and did other
6512 * libspi/keymasks.h:
6513 Namespaced keymask constants with SPI_ prefix.
6515 * libspi/registry.c:
6516 Some warning fixes, and knock-on fixes from namespace changes.
6519 Added rules for accessx-gui test program.
6521 * test/accessx-gui.c:
6522 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
6523 utility. It doesn't actually use at-spi, but it's still cool and
6526 * test/keysynth-demo.c:
6530 Fixes so that these test clients work properly with the namespaced
6531 libraries. (Incompletely tested for technical reasons, fixes may follow)
6534 2001-11-13 Michael Meeks <michael@ximian.com>
6536 * libspi/application.c
6537 (impl_accessibility_application_get_version),
6538 (impl_accessibility_application_get_toolkit_name):
6540 (impl_accessibility_application_set_id),
6541 (impl_accessibility_application_get_id): remove
6542 redundant casting code.
6544 * libspi/action.c (impl_getDescription): fix warnings.
6546 * libspi/accessible.c
6547 (impl_accessibility_accessible_get_parent),
6548 (impl_accessibility_accessible_get_child_at_index),
6549 (impl_accessibility_accessible_get_state),
6550 (impl_accessibility_accessible_get_relation_set):
6551 warning fixes & include action.h
6553 2001-11-13 Michael Meeks <michael@ximian.com>
6555 * *.[ch] fix bits I screwed up:
6557 s/([^ \tb(\*\&\?\",])spi_/\1/g;
6558 s/([^ \tb(\*\&\?\",])Spi/\1/g;
6560 2001-11-13 Michael Meeks <michael@ximian.com>
6562 * *.[ch] Namespace libspi into spi_ and Spi.
6564 2001-13-11 Michael Meeks <michael@ximian.com>
6566 * Makefile.am: dist & install at-spi-1.0.pc
6568 * libspi/Makefile.am: install into at-spi-1.0
6570 * idl/Makefile.am (idldir): install into at-spi-1.0
6572 * at-spi-1.0.pc.in: add.
6574 * configure.in: build it.
6576 2001-11-12 Bill Haneman <bill.haneman@sun.com>
6578 * test/keysynth-demo.c:
6579 Use a 'realize' signal-handler to set the WM properties for
6580 the virtual keyboard, rather than making it a "POPUP" type
6581 override-redirect window (thanks to anders carlsson for that
6584 2001-11-11 Bill Haneman <bill.haneman@sun.com>
6587 * test/keysynth-demo.c:
6588 Added new test of key synthesis, which creates a simple
6589 (mouse-operated) onscreen keyboard. It inserts key events into
6590 the currently-focused window, thus it does not grab keyboard focus
6593 * cspi/spi_registry.c:
6594 Added C binding for AT-SPI generateKeyEvent.
6596 * libspi/deviceeventcontroller.c:
6597 Added call to XFilterEvent so that key listener works with XIM (we
6598 hope). Added event_synth_type to generateKeyEvent, so that we can
6599 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
6600 synthesize a press/release pair for KeySyms.
6602 2001-11-09 Bill Haneman <bill.haneman@sun.com>
6604 * libspi/Makefile.am:
6605 * registryd/Makefile.am:
6606 (temporary) hack to include libXtst in libspi and registryd.
6607 (Needed for keystroke synthesis, see below).
6610 Improved API for registerKeystrokeListener, in accordance with
6611 discussions with Gnopernicus team and X server research.
6613 * libspi/registry.c:
6614 * libspi/deviceeventcontroller.c:
6615 * libspi/accessible.c:
6616 * libspi/keystrokelistener.c:
6617 Changes and fixes to support keylisteners for potentially
6618 consumed key events (that is, 'passive grabs').
6619 Added implementation for generateKeyEvent() [untested].
6622 Changes to registerKeystrokeListener() API, as above.
6623 Added deregisterGlobalEventListenerAll(), and
6624 deregisterKeystrokeListener(), which are needed for clean exit of
6626 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
6627 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
6629 * cspi/spi_registry.c:
6630 Added implementations of function prototypes mentioned above.
6632 * registryd/registryd.c:
6633 Added the key listener event source as a g_timeout(), to allow
6634 receipt of key events that are not caught by GDK (since GDK
6635 doesn't support passive keygrabs, this was necessary).
6638 Changed to attach a keylistener to 'Alt' keys, and
6639 respond to the following keycommands: Alt-M (toggle magnifier);
6640 Alt-F (toggle speech); Alt-Q (quit).
6641 Added an exit routine to deregister the listeners, and a key
6642 listener that prints some key info to the console when a key
6643 matches the listener mask (and is thus received by the listener).
6645 * util/idl/Magnifier.idl:
6646 Changes to magnifier API to support multiple zoom regions,
6647 non-uniform scaling in x and y, markDirty, and a host of other
6648 features that would be useful to magnification.
6651 * util/mag_client.c:
6652 * util/mag_client.h:
6653 * util/mag_control.c:
6655 Source code changes to support the above IDL changes.
6658 As above, and also changes to use a (slower) generic conversion
6659 path for colormap conversions, since the fast RGB conversions have been
6660 reported to fail for 16-bit displays.
6662 2001-10-26 Michael Meeks <michael@ximian.com>
6664 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
6666 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
6668 * at-bridge/Makefile.am: fix LDFLAGS.
6670 2001-10-09 Bill Haneman <bill.haneman@sun.com>
6672 * at-bridge/bridge.c:
6673 Re-worked listeners for toolkit events, now we have signal
6674 and property listeners. Added a private method
6675 register_atk_event_listeners(), which registers with the
6676 various atk and gtk signals we need to monitor in order to emit
6678 Added emission hook for AtkObject:property-change events, to
6679 support the 'property listeners'.
6680 Fixed some alloc()s of Accessibility_Event structs to use CORBA
6683 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
6684 which emit warnings and exit, respectively, if CORBA errors occur
6685 during remote calls, and we now use these methods to check most of
6686 our CORBA calls in the C bindings.
6688 * cspi/spi_accessible.c:
6689 Changed AccessibleSelection_refSelectedChild() to
6690 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
6691 now increment refcounts.
6693 * cspi/spi_component.c:
6694 Fixed some long pointer casts (dangerous!) to pass pointers to
6695 CORBA_longs of the proper type to the CORBA stubs, and copy the
6696 data into the longs that were passed into the C bindings code.
6698 * at-bridge/bridge.c:
6700 * libspi/accessible.c:
6701 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
6702 hyperlinks, AtkHyperlink is an object type.
6704 * libspi/application.c:
6705 Added various conversions to and from "generic" event types and
6706 atk-specific types; this is really part of the 'bridge'
6707 implementation but is valid for all AtkObject-based accessibility
6710 * libspi/editabletext.c:
6711 Fixed nasty bug wherein editable text's finalize method was
6712 unref'ing tha AtkObject reference that the text parent class was
6713 about to unref _again_. There was also a nasty inheritance bug
6714 that meant that the AccessibleEditableText class was corrupt.
6716 * libspi/selection.c:
6717 Provided implementations for some selection API that was broken.
6719 * idl/Application.idl:
6720 Added registerObjectEventListener () method.
6723 Fixed a number of return values that were Bonobo_Unknowns from
6724 bonobo_object_corba_objref(), which I
6725 forgot to dup before returning. Changed instances of
6726 bonobo_object_corba_objref (bonobo_object(o)) to
6727 BONOBO_OBJREF(o), for concision and clarity.
6729 2001-10-13 Louise Miller <louise.miller@sun.com>
6731 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
6732 idl/Event.idl, idl/Registry.idl
6733 Changed these files to include Bonobo_Unknown.idl instead
6736 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
6738 * libspi/component.c libspi/component.h:
6739 Fixed typo. Added assertions for object checks in
6740 AccessibleComponent code.
6742 2001-10-09 Bill Haneman <bill.haneman@sun.com>
6744 * idl/Accessible.idl:
6745 Added 'isEqual (Accessible *object)'
6746 method for Accessible. (Not Yet Implemented).
6749 Changed signature of registerKeystrokeListener() to
6750 take a KeySet and KeyEventSeq so that specific keys and event
6751 types could be requested for monitoring, and added a flag
6752 is_synchronous so that either synchronous or asynchronous
6753 notification could be requested. (However this is not all
6754 implemented yet). This also meant adding two new typedefs,
6755 KeyEventSeq and KeySet.
6758 Added two new relations, RELATION_TOOLTIP_FOR and
6759 RELATION_LEAFNODE_OF.
6762 Added new state, STATE_HAS_TOOLTIP.
6764 * libspi/text.c, editabletext.c:
6765 Added new assertions to all casts of bonobo-objects from
6766 CORBA servants, to prevent Text API calls on non-text objects.
6767 Changed suspect casts of int-pointer types, so that we
6768 always send a valid CORBA_long pointer to the CORBA APIs that use
6769 in/out long parameters. We then have to copy from the CORBA_long
6770 into the regular long or int for return to the C bindings, or
6771 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
6774 * libspi/deviceeventcontroller.c:
6775 Cleaned these sources up.
6777 Changed return type for getCharacterAtOffset to
6778 CORBA_unsigned_long, to allow for 32-bit characters.
6781 2001-10-08 Bill Haneman <bill.haneman@sun.com>
6785 Fixed 'make dist' so that distro compiles...
6786 * libspi/keymasks.h:
6788 * cspi/spi-listener.c:
6789 KeystrokeListenerCB now returns a boolean.
6791 Added KeyEventType struct, and KeyStroke.
6792 Also added createKeystrokeListener(),
6793 KeystrokeListener_addCallback(),
6794 KeystrokeListener_removeCallback(), and added a keymask to
6795 registerKeystrokeListener().
6796 * cspi/spi_accessible.c:
6797 Changed numerous return types for interfaces from
6798 AccessibleComponent to Accessible<InterfaceName>; this was
6799 probably a cut-and-paste error.
6801 Implementations of new KeystrokeListener api (from spi.h,
6804 Changes to key modifier mapping.
6805 Created ControllerEventMask struct.
6806 Made DeviceEventController derive from Bonobo::Unknown.
6808 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
6809 * libspi/deviceeventcontroller.c:
6810 Added a number of new internal (private) methods.
6811 * libspi/editabletext.c:
6812 * libspi/editabletext.h:
6813 Fixed a number of bugs related to the fact that
6814 editabletext inherits from text. Fixed the EditableText struct,
6815 the init() call, and use correct casts when calling Text methods
6816 from an EditableText object. Removed (duplicate) atko from the
6817 EditableText structure, we use the one in the parent Text
6818 structure via the casts mentioned above.
6819 * libspi/keystrokelistener.[ch]:
6820 * libspi/registry.c:
6821 Changes in support of keyboard handling (above).
6823 Keyboard handling, though partly functional, is still not
6824 recommended for at-spi client use as there is considerable
6825 work yet to be done.
6828 Changed some places where pointers to various int types
6829 are cast to be pointers to CORBA_long types and vice-versa:
6830 pointer casting is not safe so we pass pointers of the correct
6831 types and then cast the result before putting it into the target
6834 * libspi/text.h: minor typos corrected.
6836 We now speak not only the name of a Text element, but the
6837 first sentence of its content, when it receives focus.
6838 I also changed the text compression to 75% from 50%.
6839 * util/Accessibility_Util.server.in:
6840 Changed the default magnifier type to be a 3x vertical
6841 splitscreen magnifier (was previously a 2x horizontal one).
6843 2001-10-03 Bill Haneman <bill.haneman@sun.com>
6845 * libspi/keystrokelistener.h:
6846 * libspi/keystrokelistener.c:
6847 Initial functional implementations of KeystrokeListener.
6850 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
6852 Fixed string handling for NULL strings in libspi.
6853 Added spi_freeString to free strings returned by C bindings.
6855 2001-09-30 Bill Haneman <bill.haneman@sun.com>
6857 * libspi/keystrokelistener.h:
6858 * libspi/keystrokelistener.c:
6859 Began (no-op) implementations of KeystrokeListener
6861 * libspi/deviceeventcontroller.c:
6862 * libspi/deviceeventcontroller.h:
6863 Began creating implementations of DeviceEventController,
6864 to handle keystroke and mouse event listening and
6866 * libspi/accessible.c:
6867 Stubbed-in the implementations for
6868 Accessibility_Accessible_getState and
6869 Accessibility_Accessible_getRelationSet.
6870 * libspi/registry.c:
6871 Improved de-registration process and fixed some bugs,
6872 deregistration now works correctly.
6874 Added initialization of applications list (to NULL).
6876 Reduced speech compression from 0.5 to 0.7, for demo.
6877 Changed call to gdk_window_set_decorations()
6878 to gtk_window_set_decorated().
6879 * at-bridge/bridge.c:
6880 Bridge now deregisters when app exits, via
6881 registration of a cleanup function
6882 with the g_atexit() call.
6883 Required making 'app' static, renamed 'this_app'.
6884 Fixed broken use of bonobo_init, passing argv wrongly.
6886 2001-09-27 Bill Haneman <bill.haneman@sun.com>
6890 Created a new directory for
6891 accessibility-related utilities, primarily for
6892 testing and demo purposes, but with possible
6899 Onscreen magnifier utility that
6900 is implemented as a bonobo service.
6902 * util/mag_client.c:
6903 * util/mag_client.h:
6904 Client-side support (simple C bindings)
6905 for Magnification service
6907 * util/mag_control.c:
6908 Client program example for
6909 Magnification service
6911 * util/Accessibility_Magnifier.server.in:
6912 Bonobo-activation file for the
6913 Magnification service.
6916 * util/idl/Magnifier.idl:
6917 IDL defining the bonobo Magnification
6921 Modifications to use the bonobo-activated magnifier
6922 above, in place of trying to connect to an existing
6923 magnifier that uses socket-listening IPC.
6925 If env variable MAGNIFIER is set, a magnifier service
6926 will be started if one does not exist.
6928 2001-09-25 Bill Haneman <bill.haneman@sun.com>
6930 * at-bridge/bridge.c:
6931 applied patch from Marc to build and run
6932 against new glib and gtk+ (seemed like a change
6933 to bonobo_init signature was made ?)
6935 made festival-server support turned off by default.
6936 Added support for a simple magnifier (off by default)
6937 which will be added to a 'util' directory later.
6938 * at-bridge/Makefile.am:
6939 Changed "application.h" header from a 'source'
6940 to a 'dependency' of libat-bridge.
6942 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6951 Added interface implementation c files to list of
6952 includes so they are included in libcspi.
6955 Changed prototype of AccessibleAction_doAction to return a
6957 Changed prototype of AccessibleTable_getCaption to
6958 return an Accessible.
6959 Changed prototype of AccessibleTable_getSelectedRows
6960 and AccessibleTable_getSelectedColumns to
6961 return a long (returns the number of selected rows
6962 or columns respectively).
6963 Changed name of AccessibleText_refRunAttributes to
6964 AccessibleText_getAttributes.
6965 Changed prototype of AccessibleText_getCharacterExtents to
6966 return a void rather than a boolean.
6967 Added support for a AccessibleCoordType parameter
6968 specifying what type of coordinates are desired.
6969 Added an AccessibleCordType parameter to
6970 AccessibleText_getPointAtOffset.
6972 * cspi/spi_accessible.c:
6973 Added code to return the outstanding interfaces from
6974 Accessible_queryInterface.
6976 * cspi/spi_action.c:
6978 Corrected call to getNActions to call the c binding
6981 * cspi/spi_editabletext.c:
6983 Changed name from setRunAttributes to setAttributes.
6985 * cspi/spi_hyperlink.c:
6987 Changed call to getNAnchors to correctly call the c
6988 binding for an attribute.
6990 * cspi/spi_hypertext.c:
6992 Changed getImageDescription to correctly call the
6993 binding for an attribute.
6995 * cspi/spi_selection.c:
6996 Changed getNSelectedChildren to correctly call the c
6997 binding for the attribute.
6998 Changed refSelectedChild to getSelectedChild.
7002 Changed getCaption to return an Accessible.
7003 Fixed calls which retrieve attributes.
7004 Changed refAt to getAccessibleAt.
7005 Changed getNSelectedRows and getNSelectedColumns to
7009 Changed getCharacterExtents and getPointAtOffset to accept an
7010 AccessibleCoordType.
7012 Changed calls which retrieve attributes.
7013 Changed refRunAttributes to getAttributes.
7018 * idl/Hyperlink.idl:
7019 Changed n_anchors attribute to nAnchors to keep naming
7020 convention consistent.
7023 Made Table inherit from Bonobo::Unknown.
7024 Added nSelectedColumns and nSelectedRows attributes.
7027 Made Value inherit from Bonobo::Unknown.
7029 * libspi/hyperlink.c:
7030 Change for nAnchors attributte name change.
7032 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7040 Added interface implementation c files to list of
7041 includes so they are included in libcspi.
7044 Changed prototype of AccessibleAction_doAction to return a
7046 Changed prototype of AccessibleTable_getCaption to
7047 return an Accessible.
7048 Changed prototype of AccessibleTable_getSelectedRows
7049 and AccessibleTable_getSelectedColumns to
7050 return a long (returns the number of selected rows
7051 or columns respectively).
7052 Changed name of AccessibleText_refRunAttributes to
7053 AccessibleText_getAttributes.
7054 Changed prototype of AccessibleText_getCharacterExtents to
7055 return a void rather than a boolean.
7056 Added support for a AccessibleCoordType parameter
7057 specifying what type of coordinates are desired.
7058 Added an AccessibleCordType parameter to
7059 AccessibleText_getPointAtOffset.
7061 * cspi/spi_accessible.c:
7062 Added code to return the outstanding interfaces from
7063 Accessible_queryInterface.
7065 * cspi/spi_action.c:
7067 Corrected call to getNActions to call the c binding
7070 * cspi/spi_editabletext.c:
7072 Changed name from setRunAttributes to setAttributes.
7074 * cspi/spi_hyperlink.c:
7076 Changed call to getNAnchors to correctly call the c
7077 binding for an attribute.
7079 * cspi/spi_hypertext.c:
7081 Changed getImageDescription to correctly call the
7082 binding for an attribute.
7084 * cspi/spi_selection.c:
7085 Changed getNSelectedChildren to correctly call the c
7086 binding for the attribute.
7087 Changed refSelectedChild to getSelectedChild.
7091 Changed getCaption to return an Accessible.
7092 Fixed calls which retrieve attributes.
7093 Changed refAt to getAccessibleAt.
7094 Changed getNSelectedRows and getNSelectedColumns to
7098 Changed getCharacterExtents and getPointAtOffset to accept an
7099 AccessibleCoordType.
7101 Changed calls which retrieve attributes.
7102 Changed refRunAttributes to getAttributes.
7107 * idl/Hyperlink.idl:
7108 Changed n_anchors attribute to nAnchors to keep naming
7109 convention consistent.
7112 Made Table inherit from Bonobo::Unknown.
7113 Added nSelectedColumns and nSelectedRows attributes.
7116 Made Value inherit from Bonobo::Unknown.
7118 * libspi/hyperlink.c:
7119 Change for nAnchors attributte name change.
7122 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
7124 implementations-- made server implementations own AtkObject pointers
7125 rather than their respective AtkInterrface pointers to fix
7126 refcounting. AtkHyperlink is still broken.
7128 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7129 * cspi/spi_accessible.c:
7130 Added method Accessible_Role_getName(),
7131 and requisite string array (role_names).
7132 Added conversion string_from_corba_strin() call
7133 to Accessible_getName and _getDescription.
7134 * libspi/accessible.c:
7135 Added implementation for Accessible_getRole()
7137 Added festival support, used if environment variable
7140 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7142 * at-bridge/bridge.c:
7143 Now allocate Accessibility_Event using
7144 Accessibility_Event__alloc() instead of g_new0().
7145 * libspi/accessibleeventlistener.c:
7146 Initialize AccessibleEventListener->callbacks to NULL.
7147 Fixed accessible__event_listener_init() param, changed to
7148 "AccessibleEventListener *" type.
7149 Changed a bonobo_object_release_unref() call to
7150 Accessibility_Accessible_unref().
7151 * libspi/listener.c:
7152 Changed Bonobo_Unknown_unref to (equivalent)
7153 Accessibility_Accessible_unref.
7154 * libspi/registry.c:
7155 Changed bonobo_object_release_unref to
7156 Accessibility_Accessible_unref.
7158 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7161 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
7162 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
7163 spi-util.c spi-util.h
7164 Implementations for C bindings to remaining accessibility
7167 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7170 changed return value of Action from void to boolean to
7171 bring in line with ATK.
7174 Changed getText funcions to return "out" start and end offsets.
7175 Changed getAttributes to take and offset and return the start
7176 and end offset of the attribute run.
7177 Changed getOffsetAtPoint and getCharacterExtents to take an
7178 enum describing whether coordinates are window or screen.
7181 libspi/action.c libspi/action.h libspi/editabletext.c
7182 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
7183 libspi/hypertext.c libspi/hypertext.h libspi/image.c
7184 libspi/image.h libspi/selection.c libspi/selection.h
7185 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
7186 libspi/value.c libspi/value.h
7187 Added server implementations for outstanding ATK interfaces
7188 not yet implemented.
7190 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7193 Added (missing) getName() method.
7194 Made nActions an attribute.
7195 * idl/EditableText.idl:
7196 Changed order of params in setAttributes.
7197 * idl/Hyperlink.idl:
7198 Removed getAnchor, added getURI.
7200 Changed attributes to methods, for efficiency
7201 (so that getting extents can be done in one call)
7202 * idl/Selection.idl:
7203 Changed nSelectedChildren to attribute, and re-indented.
7204 * idl/Table.idl: changed nrows, ncolumns, caption, summary
7206 * idl/Text.idl: reformatted to match our coding style.
7207 (temporarily?) removed getRowColumnAtOffset().
7208 Changed text selection API to support multi-select and
7209 non-contiguous selections, as in ATK.
7210 * idl/Value.idl: changed some methods to attributes.
7212 2001-08-24 Mark McLoughlin <mark@skynet.ie>
7214 * libspi/listener.c(impl_notify_event):
7215 BonoboUnkown_unref the source instead
7216 of bonobo_object_release_unref - the ORB
7217 handles the releasing.
7219 * configure.in: require ORBit-2.3.94 for
7222 2001-08-21 Bill Haneman <bill.haneman@sun.com>
7224 Tagged CVS repository 'EA_1_0'.
7225 * README.EARLY_ACCESS:
7226 Alphabetized acknowledgements list, and
7228 Listed some known dependencies of at-spi.
7230 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7232 * docs/at-spi-docs.sgml:
7233 * docs/at-spi-sections.txt:
7234 * docs/at-spi-overrides.txt: (Added zero-length file)
7235 Documentation improvements - gtk-doc should build
7236 docs for all implemented C bindings now.
7239 * cspi/spi.c: (New file)
7240 * cspi/spi_event.c: (New file)
7241 * cspi/spi_registry.c: (New file)
7242 * cspi/spi_accessible.c: (New file)
7243 * cspi/spi_application.c: (New file)
7244 * cspi/spi_component.c: (New file)
7245 Split spi_main.c into six parts, and included them from
7246 "spi.c". This is a bit of a hack, probably temporary,
7247 but required by gtk-doc, apparently.
7249 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7252 * docs/at-spi-docs.sgml:
7253 * docs/at-spi-sections.txt:
7255 Initial checkins/modifications for gtk-doc generation.
7258 Added (missing) interface query methods to Accessible's C binding.
7260 Added GenericInterface type definition.
7262 Added query for AccessibleComponent interface to focus event handler.
7263 Added printout of bounding box for focussed component.
7264 * libspi/component.c:
7265 Added partial implementation for AccessibleComponent to C binding.
7266 * idl/Application.idl:
7267 * libspi/registry.c:
7268 * libspi/listener.c:
7269 * libspi/application.c:
7270 * libspi/application.h:
7271 Changed "ID" attribute type from string to long.
7273 2001-08-19 Bill Haneman <bill.haneman@sun.com>
7277 Made method naming consistent: methods taking object args
7278 start with uppercase, other methods (except those using
7279 acronyms) start with lowercase. Underscores delimit between
7280 object names and method names:
7281 SPI_init() - uppercase since it starts with an acronym.
7282 getDesktopCount () - lowercase start since no object param0.
7283 Accessible_getName() - uppercase object type name, studlyCaps method
7287 Added gtk-doc documentation for all currently implemented
7288 methods in the C bindings API.
7290 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7292 * Makefile.am : changed build order to build test last.
7295 Changed "createEventListener" to "CreateEventListener".
7296 * libspi/accessibleeventlistener.c :
7297 Bugfix for addition of callbacks.
7298 * test/Makefile.am :
7299 * test/simple-at.c :
7300 Added new test that uses the C bindings API.
7302 * libspi/listener.c :
7303 * libspi/registry.c :
7304 * libspi/accessibleeventlistener.c :
7305 * at-bridge/bridge.c :
7306 Renamed member "target" of Accessibility_Event to "source",
7307 which is more descriptive.
7310 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7314 * cspi/Makefile.am :
7315 Added makefile support for at-spi/cspi directory.
7318 * cspi/spi-listener.h : (NEW FILE)
7319 Added support for/use of spi-listener.h.
7321 C bindings now build successfully, with no warnings.
7322 * libspi/accessibleeventlistener.h : (NEW FILE)
7323 * libspi/accessibleeventlistener.c : (NEW FILE)
7324 * libspi/Makefile.am :
7325 Added new object type "AccessibleEventListener"
7326 which inherits from Listener, and allows attachment
7327 of in-process callbacks (so that a client with a listening
7328 object instance can add functionality to the local
7329 implementation, dynamically).
7331 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7333 * libspi/accessible.c:
7334 Add implementation for get_index_in_parent().
7336 Added #include of "spi-roletypes.h", and
7337 added enumerated type AccessibleCoordType.
7338 Added definition for KeystrokeListener (function type).
7341 * cspi/spi-statetypes.h :
7342 * cspi/spi-roletypes.h :
7344 Added these headers, used by spi.h.
7346 Added code (NOTE: not yet built by make).
7348 2001-08-18 Mark McLoughlin <mark@skynet.ie>
7350 * libspi/Makefile.am: generate imodule
7351 at the same time as other idl compiler
7354 2001-08-17 Bill Haneman <bill.haneman@sun.com>
7355 * libspi/registry.c :
7356 * libspi/application.c :
7357 * idl/Application.idl :
7358 Made registration with toolkit an application method,
7359 which is required since each app has its own toolkit static
7360 environment. Thus the bridge must register for
7361 notification of toolkit events from each application in turn.
7362 Toolkit notifications are now successfully registered for, and
7363 sent to the listening at client.
7365 Changed toolkit event string to use hyphens rather than underscores.
7366 * libspi/listener.c :
7367 listner now gives more info in debug mode - it reports the
7368 name of the event received, as well as the name of the source.
7371 2001-08-16 Bill Haneman <bill.haneman@sun.com>
7373 * libspi/registry.c :
7374 added more implementation for toolkit events.
7375 Fixed bug such that toolkit event registrations
7376 (via atk) use the whole event name string, not
7378 Removed a useless call to an ORBit_ method.
7379 * at-bridge/bridge.c :
7380 Removed unused local sbuf[] variable.
7382 We now register for Gtk:GtkWidget:button_press_event
7383 events as well as "focus:" events.
7385 Add some more API from Registry.idl that was missing,
7386 for keystroke listening, keystroke and mouse event
7387 synthesis, and enumeration of accessible desktops.
7389 2001-08-16 Michael Meeks <michael@ximian.com>
7391 * configure.in: use AM_GLIB_GNU_GETTEXT.
7393 * Makefile.am (SUBDIRS): kill intl.
7395 2001-08-15 Michael Meeks <michael@ximian.com>
7397 * registryd/Makefile.am: s/oaf/server/ relocate info file.
7399 * configure.in: upd.
7401 * configure.in: depend on a recent bonobo-activation that
7402 will find our server files ...
7404 2001-08-16 Bill Haneman <bill.haneman@sun.com>
7406 * libspi/accessible.c : accessible_new() :
7407 Now we add the Component interface via bonobo_object_add_interface,
7408 if the contained AtkObject implements AtkComponent.
7409 * libspi/accessible.h : now include "component.h"
7410 * libspi/component.h :
7411 * libspi/component.c : added files - implementation of
7412 bonobo wrapper object for Accessibility/Component
7413 * libspi/listener.c :
7414 Added test code to check for Accessibility/Component:1.0
7415 interface and report whether it is implemented by the
7417 * libspi/registry.c :
7418 Now we check for not only the hash of the whole event
7419 string before relaying the event, we also check the
7420 "minor" event string (without the detail string).
7421 This allows event listeners to be registered against
7422 all events of a certain major+minor type, or just
7423 against a specific major+minor+detail type.
7424 * libspi/accessible.c :
7425 Added implementations for Accessible:get_parent(),
7426 Accessible:getChildCount(), and Accessible:getChildAtIndex().
7427 * libspi/registry.c :
7428 * libspi/listener.c :
7429 Replaced calls to Accessibility_Accessible_ref() and
7430 Accessibility_Accessible_unref() with
7431 calls to bonobo_object_dup_ref() and
7432 bonobo_object_release_unref(), so that the CORBA object
7433 is dup-ed and released when relayed, as well as the bonobo object.
7435 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7437 * libspi/Makefile.am,
7438 registryd/Makefile.am,
7439 at-bridge/Makefile.am.
7440 test/Makefile.am, configure.in:
7441 reverse previous changes.
7443 * /idl/Image.idl: fix typo.
7445 * test/Makefile.am: put DEBUG_FLAGS
7448 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7450 * test/app.c: use argv[0] instead of
7453 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7455 * libspi/Makefile.am,
7456 registryd/Makefile.am,
7457 at-bridge/Makefile.am.
7458 test/Makefile.am, configure.in:
7459 cleanup, replace individual LIBS/CFLAGS with
7460 AT_COMMON_{LIBS|CFLAGS}.
7464 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7466 * configure.in, libspi/Makefile.am:
7467 Change IDL path checking for bonobo-activation
7470 2001-08-15 Bill Haneman <bill.haneman@sun.com>
7472 * registryd/registry.c : separated event listeners to use
7473 3 separate lists (focus, window, toolkit). Began testing
7474 event names against hashes before relaying events.
7475 * test/at.c : now register for events of type "focus:"
7476 * test/app.c : now generate events of type "focus:"
7477 * at-bridge/bridge.c : register with ATK for focus events,
7478 and we now relay those focus events to any "focus:" listeners.
7479 This now works with the bridge as a GTK_MODULE when running test/at.
7480 * libspi/registry.c :
7481 * libspi/listener.c :
7482 now we ref event sources before propagating, and unref on receipt.
7483 * libspi/registry.c :
7484 some changes to internal structs, to support event typestring hashes.
7485 * text/app.c : changed the way the appname is generated.
7486 * cspi : added directory that will hold the C bindings library for
7487 non-CORBA/bonobo-savvy clients.
7488 * cspi/spi.h : header file that contains the function prototypes for the C binding.
7489 * idl/Component.idl : added in parameter to indicate coord system for
7490 geometry-related calls.
7491 * idl/Hyperlink.idl : added readonly n_links attribute
7492 * idl/Image.idl : changed methods to attributes.
7494 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7496 * at-bridge/Makefile.am: link against
7497 ../libspi/libspi.la instead of -lspi.
7499 * at-spi/test/app.c: include
7500 bonobo-activation.h. Use a default appname
7501 if one is not provided.
7503 2001-08-14 Bill Haneman <bill.haneman@sun.com>
7505 * idl/Registry.idl : temporarily changed register_Application
7506 to oneway, to work around issue with initial registration
7508 * idl/Application.idl : changed attribute "id" from readonly
7509 to read-write, since it needs to be assigned by Registry.
7510 * registryd/registryd.c : added call to set application id
7512 * registryd/registry.c : changed de-registration procedure to
7513 use CORBA_Object_hash() to find matching object ref in application
7514 lists and listener lists.
7515 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
7516 began distinguishing between event types (work in progress).
7518 2001-08-13 Bill Haneman <bill.haneman@sun.com>
7521 * libspi/application.c:
7522 Added implementations for get/set id, get_toolkitName,
7524 * registryd/registryd.c :
7528 Converted from use of OAF to bonobo-activation.
7529 * libspi/desktop.h :
7530 * libspi/desktop.c :
7532 Removed references to atksimpleobject, since base atkobject
7533 implementation now provides functionality we need.
7534 * libspi/atksimpleobject.c :
7535 * libspi/atksimpleobject.h :
7540 * at-bridge/Makefile.am
7541 * at-bridge/bridge.c
7544 Added directory "bridge" and contents, and added dependencies
7545 in Makefile.am/configure.in.
7546 Initial checkin of "at-bridge".
7547 This code is a GTK_MODULE which automatically registers
7548 GTK+ apps with the accessibility registry, using an object
7549 reference to the root ATK object.
7551 2001-08-10 Mark McLoughlin <mark@skynet.ie>
7553 * po/Makefile.in.in: Remove. Again. If this
7554 doesn't get autogenerated - you need to update
7557 2001-08-07 Mark McLoughlin <mark@skynet.ie>
7559 * po/Makefile.in.in: Add. Again.
7561 2001-07-31 Bill Haneman <bill.haneman@sun.com>
7563 * libspi/accessible.c : added support for 'description' property.
7564 * libspi/accessible.c
7566 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
7567 (since the two are now equivalent in libbonobo)
7575 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
7576 Bonobo::Unknown as does Accessibility::Accessible.
7577 * idl/StreamableContent.idl : as above, and replaced internal InputStream
7578 interface with Bonobo::Stream, since it was redundant with it.
7579 (The Stream returned by a StreamableContext object is expected to
7580 implement only a subset of Bonobo::Stream)
7582 2001-07-28 Anders Carlsson <andersca@gnome.org>
7584 * libspi/accessible.c (accessible_object_finalize): Change
7585 g_free to g_object_unref since the AtkObject is a GObject.
7587 2001-07-30 Bill Haneman <bill.haneman@sun.com>
7589 * idl/Accessibility.idl: add new IDL files
7592 * idl/Action.idl: Definitions of actionable UI object
7593 * idl/Component.idl: Definitions of UI component geometry, etc.
7594 * idl/Hyperlink.idl: Defs of hyperlink behavior
7595 * idl/Image.idl: Def of accessible image
7596 * idl/Selection.idl: Definition of UI object with selectable children
7597 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
7598 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
7599 * idl/Text.idl: Interface defs for UI elements with complex textual content
7600 * idl/Value.idl: Definition of UI element that is a value controller or display
7602 2001-07-27 Michael Meeks <michael@ximian.com>
7604 * po/Makefile.in.in: remove autogenerated file from CVS.
7606 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
7609 * idl/Registry.idl: include guard.
7611 * idl/Accessibility.idl: Add, and include all the other IDL
7614 * idl/*.idl: remove mass of pragmas etc.
7616 2001-07-26 Michael Meeks <michael@ximian.com>
7618 * registryd/Makefile.am (registryd_SOURCES): remove
7621 2001-07-27 Mark McLoughlin <mark@skynet.ie>
7623 * libspi/.cvsignore, registryd/.cvsignore,
7624 test/.cvsignore: updated.
7626 * po/Makefile.in.in: gettext update.
7628 2001-07-25 Bill Haneman <bill.haneman@sun.com>
7630 * initial CVS checkin
7632 2001-06-29 Michael Meeks <michael@ximian.com>
7634 * configure.in: add AM_CONFIG_HEADER to gen config.h