1 2006-04-17 Kjartan Maraas <kmaraas@gnome.org>
3 * configure.in: Remove obssolete no_NO locale
4 * po/no.po: And the translation.
6 2006-04-05 Matthias Clasen <mclasen@redhat.com>
8 * atk-bridge/bridge.c (spi_atk_emit_eventv): Fix a
9 memory-management error that caused crashes on x86_64.
12 2006-03-30 Guntupalli Karunakar <karunakar@indlinux.org>
14 * configure.in: Added 'dz' (Dzongkha) to ALL_LINGUAS.
16 2006-03-27 Bill Haneman <bill.haneman@sun.com>
18 * configure.in: Define $LIBTOOL_EXPORT_OPTIONS
19 to strip "cspi_*" from the symbol table.
21 * cspi/spi_streamablecontent.c:
22 (get_streams): Make this method static.
25 (_cspi_exception_throw): rename to cspi_exception_throw,
26 so we can strip it with the rest...
29 Add LIBTOOL_EXPORT_OPTIONS to libcspi_la_LDFLAGS.
31 2006-03-27 Bill Haneman <bill.haneman@sun.com>
33 Add doxygen-generated IDL docs to tarball, and enable
34 doxygen during build/install when available. Bug #301345.
36 * configure.in: Add docs/reference/idl/Makefile to AC_OUTPUT.
38 * docs/reference/Makefile.am: Add idl to SUBDIRS.
40 * docs/reference/idl/Makefile.am: Optionally use
41 doxygen to create docs.
43 2006-03-20 Vladimer Sichinava <vlsichinava@gmail.com>
45 * configure.in: Added "ka" (Georgian) to ALL_LINGUAS
47 2006-03-20 Bill Haneman <bill.haneman@sun.com>
50 (impl_get_selected_rows): Don't free the selection if it's
51 empty or has not been assigned; init it to NULL so you can tell.
52 Also, allow for zero selected rows.
53 (impl_getSelectedColumns): Ditto. Bug #319088.
55 2006-03-11 Vincent Untz <vuntz@gnome.org>
57 Leak fix for bug #334217.
59 * libspi/application.c: spi_application_toolkit_event_listener():
60 don't duplicate the string we pass as an argument to
61 spi_init_any_nil() since spi_init_any_nil() already does it
62 * registryd/deviceeventcontroller.c:
63 (spi_dec_button_update_and_emit): ditto
64 (spi_dec_mouse_check): ditto
65 (spi_dec_emit_modifier_event): ditto
66 (spi_device_event_controller_forward_mouse): ditto
67 * registryd/registry.c:
68 (desktop_add_application): ditto
69 (desktop_remove_application): ditto
71 2006-02-20 Bill Haneman <billh@gnome.org>
73 * configure.in: Rev to 1.7.6.
75 Leak fixes for bug #331924.
77 * atk-bridge/bridge.c:
78 (spi_atk_bridge_init_base): Don't dup the string, it's already
79 been dup-ed. Fixes a leak.
80 (spi_atk_emit_eventv): Move the CORBA_free call here,
81 instead of spi_atk_state_event_listener; fixes another leak.
82 (spi_atk_bridge_key_listener):Free the dup'ed key strings after
83 notifying the registry; fixes another leak.
85 * registryd/registry.c:
86 (registry_flush_event_queue): Free the CORBA_any when
87 flushing the event, not just the string. Fixes another leak.
88 (registry_queue_event): Free the CORBA_any when dropping
89 events on the floor; fixes another leak.
92 (spi_init_any_object, spi_init_any_nil):
93 Always set _release to TRUE. Fixes another leak.
95 2006-02-20 Bill Haneman <billh@gnome.org>
97 * configure.in: Rev to 1.7.5.
98 Reinstate localization of this module. Thanks for Rodney
99 Dawes for fixing my patch.
101 * registryd/Makefile.am: Remove Accessibility_Registry.server
102 from dist, since it needs to be re-created at configure time.
105 2006-01-31 Bill Haneman <billh@gnome.org>
107 * configure.in: Rev to 1.7.4 (to include build fix below).
109 * idl/Makefile.am: Include Selector.idl in dist.
113 (cspi_internal_event_get_object): Handle case where
114 "object" isn't present, i.e. CORBA_TC_Object doesn't match
115 the EventDetails data.
116 (cspi_internal_event_get_text): Handle NULL string.
117 (cspi_internal_event_get_rect): Handle missing/empty rect
118 data, Accessibility_TC_RectBounds doesn't match any_data.
120 2006-01-30 Bill Haneman <billh@gnome.org>
124 * atk-bridge/bridge.c:
125 (spi_atk_emit_eventv): Check for SPI_REMOTE_OBJECT
126 interface and use that when instantiating a new source
127 accessible. Better fix for bug #321814.
129 2006-01-27 Bill Haneman <billh@gnome.org>
131 * idl/Accessibility_Selector.idl: Added to the cvs repository.
133 * configure.in: Revved to 1.7.3.
135 2006-01-17 Bill Haneman <billh@gnome.org>
137 * configure.in: Revved to 1.7.2, re-dist to include docs.
139 2006-01-09 Bill Haneman <billh@gnome.org>
141 * configure.in: Removed po/Makefile.in inclusion, we do not need
144 * idl/Accessibility.idl: Improved documentation here, and for all
145 IDL in the 'GNOME::Accessibility' namespace.
147 * idl/Accessibility_Accessible.idl:
148 (LOCALE_TYPE): Added enum.
149 (AttributeSet): New, for returning multiple name/value attribute pairs.
150 (RoleSet): New, sequence of Roles, to be used in upcoming
152 (getAttributes): New API, allows retrieval of name/value pair
153 annotations for all kinds of Accessible objects. C.f.
154 Text:getAttributes, which is only for typographic/textual/semantic tags in
156 (getApplication): New, retrieves the host/containing Application
157 instance for an object (without having to walk up the whole tree).
159 * idl/Accessibility_Component.idl:
160 (getAlpha): New method, returns the alpha blending (aka 'opacity')
161 value for an object. An alpha of 1.0 is fully opaque, 0.0 is
164 * idl/Accessibility_Event.idl:
165 (EventDetails): New struct definition, for encapsulating
166 commonly-queried information about emitted events. The use of
167 this structure in emitted events (in the 'any' member of
168 Accessibility_Event) should greatly reduce the number of
169 client-server roundtrips necessary.
171 * idl/Accessibility_Image.idl:
172 (imageLocale): New, a readonly attribute indicating the POSIX
173 LC_MESSAGES locale of the image and associated Alt/descriptive
176 * idl/Accessibility_Relation.idl:
177 (RELATION_PARENT_WINDOW_OF): Include, as complement to
180 * idl/Accessibility_Role.idl:
181 (ROLE_ENTRY, ROLE_CHART, ROLE_CAPTION, ROLE_DOCUMENT_FRAME)
182 (ROLE_HEADING, ROLE_PAGE, ROLE_SECTION): New roles for
183 complex document and form support.
185 * idl/Accessibility_State.idl:
186 (STATE_REQUIRED, STATE_TRUNCATED, STATE_ANIMATED)
187 (STATE_INVALID_ENTRY, STATE_SUPPORTS_AUTOCOMPLETION)
188 (STATE_SELECTABLE_TEXT, STATE_IS_DEFAULT): New states,
189 for support of complex documents and forms.
191 * idl/Accessibility_StreamableContent.idl:
192 (SeekType, IOError, NotSupported, NoPermission): New enum and exceptions, to
193 allow old bonobo-stream interfaces to be deprecated in the next
196 * idl/Accessibility_Text.idl:
197 (getAttributeValue): New method, allows query-by-name of single
200 * libspi/accessible.c:
201 Added support for new roles. Implemented new methods
202 (impl_accessibility_accessible_get_application): New
203 (impl_accessibility_accessible_get_attributes): New
205 * libspi/component.c:
206 (impl_accessibility_component_get_alpha): New.
209 (impl_accessibility_image_get_locale): New.
211 * libspi/relation.c: Added support for new relation type.
213 * libspi/stateset.c: Added support for new state types.
216 (impl_getAttributeValue): New.
219 New prototypes for private methods
221 spi_init_any_object, spi_init_any_string,
224 * libspi/spi_event.c:
225 Use EventDetails in the event emission methods.
227 * cspi/spi-private.h:
228 (cspi_role_from_spi_role): Expose this adapter method, since
229 we need it in the bridge (see below).
232 (AccessibleEvent_getSourceName):
233 (AccessibleEvent_getSourceRole):
234 (AccessibleEvent_getSourceApplication):
235 (AccessibleEvent_getSourceDetails):
236 New methods for interrogating/demarshalling
237 event details (i.e. source's accessible name, role,
240 * cspi/spi_accessible.c: Use cspi_role_from_spi_role.
241 Make use of the new EventDetails struct in events, if present.
242 (AccessibleEvent_getSourceName)
243 (AccessibleEvent_getSourceRole)
244 (AccessibleEvent_getSourceApplication)
245 (AccessibleEvent_getSourceDetails): Implement the newly exposed
247 (Accessible_getAttributes): New, wraps
248 Accessibility_Accessible_getAttributes.
249 (Accessible_getHostApplication): New, wraps
250 Accessibility_Accessible_getApplication.
253 (AccessibleImage_getImageLocale): New wrapper for
254 Accessibility_Image_get_imageLocale.
256 * cspi/spi_component.c:
257 (AccessibleComponent_getAlpha): New wrapper for
258 Accessibility_Component_getAlpha.
260 * atk-bridge/bridge.c:
261 Use new prototyped for init_any methods.
262 (spi_atk_bridge_init_nil, spi_atk_bridge_init_object)
263 (spi_atk_bridge_init_string, spi_atk_bridge_init_rect)
264 (spi_atk_bridge_init_base): Wrappers
265 for spi_init_any_* methods, due to refactor; include extended
266 information in the Accessibility_EventDetails struct, for instance
267 accessible-name, Role, and containing Application.
269 * registryd/registry.c:
270 Use new event emission (with EventDetails).
272 * registryd/deviceeventcontroller.c:
273 Use new event emission (with EventDetails).
275 2006-01-09 Kjartan Maraas <kmaraas@gnome.org>
277 * configure.in: Generate po/Makefile.in
278 * cspi/spi_main.c: Add #ifdef PRINT_LEAKS around a function
279 * cspi/spi_streamablecontent.c:
280 (accessible_bonobo_stream_client_seek),
281 (AccessibleStreamableContent_seek): Remove unused vars.
282 * libspi/application.c: Missing header.
283 * libspi/text.c: (impl_getDefaultAttributes): Unused vars
284 * login-helper/login-helper.c: (login_helper_finalize),
285 (login_helper_init): Remove unused stuff
286 * registryd/deviceeventcontroller.c: (spi_dec_replace_map_keysym),
287 (spi_dec_init_mouse_listener), (is_key_released): Remove unused vars
288 and surround some with #ifdef GRAB_BUTTON.
289 * test/event-listener-test.c: (main), (report_event),
290 (report_caret_event), (report_detail_event),
291 (report_detail1_event), (report_bounds_event), (report_text_event),
292 (report_text_selection_event),
293 (report_active_descendant_changed_event),
294 (report_children_changed_event), (report_name_changed_event),
295 (report_description_changed_event), (report_parent_changed_event),
296 (report_window_event), (report_table_summary_event),
297 (report_table_header_event), (report_table_caption_event),
298 (report_table_row_description_event),
299 (report_table_column_description_event), (timing_test_event):
300 Remove a bunch of unused variables and fix a slew of format specifiers
301 * test/key-listener-test.c: (report_all_key_event): Format specifier
302 * test/keypad-test.c: (print_key_event): Same
303 * test/login-helper-server-test.c: (main): Include gtkmain.h and remove
305 * test/screen-review-test.c: (main), (print_chunk_debug),
306 (review_buffer_get_text_chunk), (debug_chunk_list),
307 (string_guess_clip), (text_chunk_get_clipped_string),
308 (text_chunk_list_to_string), (get_screen_review_line_at):
309 Remove unused variables and fix format specifiers.
310 * test/simple-at.c: (report_text_event): Format specifier fix.
311 * test/stress-test.c: (main): Remove unused var.
313 2005-12-29 Abel Cheung <maddog@linuxhall.org>
315 * configure.in: Add zh_HK, zh_TW to ALL_LINGUAS
316 (yes I know that's useless)
318 2005-11-20 Theppitak Karoonboonyanan <thep@linux.thai.net>
320 * configure.in: Added "th" (Thai) to ALL_LINGUAS.
322 2005-11-17 Michael Meeks <michael.meeks@novell.com>
324 * atk-bridge/bridge.c (spi_atk_emit_eventv):
325 urgh-fix embarassing typo.
327 2005-11-16 Michael Meeks <michael.meeks@novell.com>
329 * atk-bridge/bridge.c (spi_atk_emit_eventv):
330 do a faster, less problematic _unref call on this local
331 object, rather than a slower (potentially cross-thread
332 complicated) CORBA call.
334 2005-11-02 Kjartan Maraas <kmaraas@gnome.org>
336 * atk-bridge/bridge.c: (spi_atk_bridge_signal_listener):
337 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_seek):
338 * registryd/deviceeventcontroller.c:
339 (spi_controller_notify_mouselisteners),
340 (impl_generate_keyboard_event):
341 * test/screen-review-test.c: (chunk_bounds_within):
342 * test/test-simple.c: (test_desktop): Remove some unused code
343 and fix compiler warnings. Closes bug #320049.
345 2005-10-27 Bill Haneman <bill.haneman@sun.com>
347 * registryd/deviceeventcontroller.c:
348 (spi_controller_notify_keylisteners): Check
349 to make sure the event listener has requested 'preemptive'
350 status before pre-empting an event.
352 2005-08-29 Bill Haneman <bill.haneman@sun.com>
354 * configure.in, README, NEWS: Release 1.6.5.
356 2005-07-25 Matthias Clasen <mclasen@redhat.com>
358 * test/window-listener-test.c: Fix a printf
359 format error. (#169453)
361 2005-07-15 Bill Haneman <bill.haneman@sun.com>
363 * tests/test-simple.c:
364 (key_listener_cb): Ensure that the keystring is dup'ed instead of
365 relying on the old string from the key event hanging around after
366 the event handler returns. Fixes broken 'make check'.
368 2005-06-06 Swapnil Hajare <dreamil@gmail.com>
370 * Added Marathi (mr_IN) translations.
372 2005-05-27 Kjartan Maraas <kmaraas@gnome.org>
374 * cspi/bonobo/cspi-bonobo-listener.c:
375 (cspi_event_list_remove_by_cb): Fix the build.
377 2005-05-26 Michael Meeks <michael.meeks@novell.com>
379 * cspi/bonobo/cspi-bonobo-listener.c
380 (cspi_event_list_remove_by_cb): actually filter by callback.
382 2005-05-25 Bill Haneman <bill.haneman@sun.com>
384 * registryd/registry.c (remove_listener_cb):
385 Make deregistration filter rules match the event emission rules.
387 2005-05-25 Michael Meeks <michael.meeks@novell.com>
389 * registryd/registry.c (remove_listener_cb),
390 (impl_accessibility_registry_deregister_global_event_listener),
391 (impl_accessibility_registry_deregister_global_event_listener_all):
392 pass a closure to the remove callback to filter listeners more
393 accurately on remove.
395 2005-04-05 Bill Haneman <bill.haneman@sun.com>
397 * configure.in: Revved to 1.6.4.
398 Remember to put quotes around XEVIE_LIBS assignment.
399 Fixed one of tertiary AC_CHECK_HEADER tests for XEvie.
402 * tests/event-listener-test.c: Tweaked the tests - more detail
403 from caret events, and some interrogation of AccessibleText APIs.
404 Commented-out the bounds-changed events by default, since they can
407 2005-04-14 Kjartan Maraas <kmaraas@gnome.org>
409 * atk-bridge/bridge.c: (spi_atk_emit_eventv): Plug a leak.
410 * cspi/bonobo/cspi-bonobo-listener.c: (cspi_device_event):
411 Same here. Closes bug #167806
413 2005-04-05 Bill Haneman <bill.haneman@sun.com>
415 * atk-bridge/bridge.c:
416 (spi_atk_bridge_signal_listener):
417 Free the any._value if any._release is TRUE,
418 since the ORB won't do it for us in this case
419 [because this method is not a skel].
422 2005-03-30 Steve Murphy <murf@e-tools.com>
424 * configure.in: Added "rw" to ALL_LINGUAS.
426 2005-03-29 Bill Haneman <bill.haneman@sun.com>
428 * configure.in: Improved check for HAVE_XEVIE, to detect
429 presence on XOrg, where -lXevie is a separate library.
431 2005-03-08 Bill Haneman <bill.haneman@sun.com>
433 * configure.in, NEWS, README: Revved to 1.6.3.
435 2005-02-16 Adi Attar <aattar@cvs.gnome.org>
437 * configure.in: Added "xh" to ALL_LINGUAS.
439 2005-02-07 Bill Haneman <bill.haneman@sun.com>
441 * atk-bridge/bridge.c:
442 (atk_bridge_init): Added missing NULL in g_strconcat(),
443 also check for symlink before logging to
444 insecure directory. Thanks to meissner@suse.de.
446 2005-01-25 Padraig O'Briain <padraig.obriain@sun.com>
448 * tests/login-helper-server-test.c: Add return call to main
449 function. Patch from Chris Lahey. Fixes bug #165129.
451 2004-12-20 Padraig O'Briain <padraig.obriain@sun.com>
453 * cspi/spi.h: Add description for SPI_RELATION_SUBWINDOW_OF.
455 2004-12-09 Bill Haneman <billh@gnome.org>
457 * registryd/registry-main.c:
458 Added #define <string.h> for strrchr. (bug 160862).
459 Thanks to Vincent Berger for catching.
461 2004-12-09 Padraig O'Briain <padraig.obriain@sun.com>
463 * atk-bridge/bridge.c (spi_atk_get_registry): Do not attempt to
464 restart registry process if the registry process is found to have died
465 and the current process is exiting.
466 (spi_atk_bridge_exit_func): Do not attempt to deregister the
467 application if the registry process has died.
468 (spi_atk_emit_eventv): Return if call to spi_atk_get_registry
469 does not return a registry object.
470 (spi_atk_tidy_windows): Give up if the registry process has died.
472 This fixes problems with hangs and crashes when logging out.
474 2004-12-03 Padraig O'Briain <padraig.obriain@sun.com>
476 * registryd/desktop.c: Add checking that we are not exiting before
477 calling spi_desktop_remove_application in
478 abnormal_application_termination. Fix for bug #152147.
480 2004-12-02 Bill Haneman <billh@gnome.org>
482 * configure.in, NEWS, README: Revved to 1.6.1.
484 Patch from Padraig O'Briain <padraig.obriain@sun.com>
485 * atk-bridge/bridge.c:
486 (atk_bridge_init): Save the pid when we start, to detect forks.
487 (spi_atk_bridge_exit_func): Don't call the cleanup routines
488 if we're in a forked pid.
490 2004-10-09 Bill Haneman <billh@gnome.org>
492 * idl/Accessibility_LoginHelper.idl:
493 Improved inline documentation.
495 2004-10-02 Jesus Bravo Alvarez <suso@trasno.net>
497 * configure.in: Added gl (Galician) to ALL_LINGUAS
499 2004-09-30 Kjartan Maraas <kmaraas@gnome.org>
501 * libspi/accessible.c:
502 (impl_accessibility_accessible_get_role_name),
503 (impl_accessibility_accessible_get_local_role_name):
505 * libspi/component.c:
506 (impl_accessibility_component_get_accessible_at_point):
508 * libspi/eventlistener.c: (spi_event_listener_new):
510 * libspi/stateset.c: (impl_compare): More of the same
511 * libspi/table.c: (impl_getRowDescription): Again.
512 * registryd/desktop.c: (spi_atk_desktop_get_type): Same
513 * registryd/deviceeventcontroller.c: (spi_clear_error_state),
514 (impl_generate_keyboard_event): Same.
515 * registryd/registry-main.c: (main): Same
516 * test/event-listener-test.c: (test_exit): Same
517 * test/keysynth-demo.c: (scan_state), (create_vkbd): Same
518 * test/keysynth-test.c: (test_key_synthesis): Same
519 * test/login-helper-server-test.c: (main): Fix warning.
520 * test/screen-review-test.c: (test_exit): Fix include.
521 * test/simple-at.c: (simple_at_exit), (_festival_init):
524 2004-09-13 Padraig O'Briain <padraig.vriain@sun.com>
526 * configure.in, NEWS, README: Revved to 1.6.0.
528 2004-09-12 Bill Haneman <bill.haneman@sun.com>
530 * configure.in: Rev and re-dist, since the 1.5.4 tarball
531 was missing the HTML docs.
533 2004-09-12 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
535 * configure.in: only cleanups:
536 - better looking PKG_CHECK_MODULES() output,
538 - declare in one common place required versions of other tools using
541 2004-09-11 J.H.M. Dassen (Ray) <jdassen@debian.org>
543 * configure.in: libspi/accessible.c uses ATK_ROLE_EMBEDDED
544 (unconditionally) which was introduced in ATK 1.7.2. Bumped the
545 required ATK version accordingly.
547 2004-09-03 Bill Haneman <bill.haneman@sun.com>
549 * cspi/bonobo/cspi-bonobo.c:
550 (cspi_display_name): Fix C99ism.
551 * atk-bridge/bridge.c:
552 (spi_display_name): Fix C99ism.
553 Patch from Jens Granseuer, jensgr@gmx.net.
555 2004-09-03 Gora Mohanty <gmohanty@cvs.gnome.org>
557 * configure.in: Added "or" to ALL_LINGUAS.
559 2004-08-20 Bill Haneman <bill.haneman@sun.com>
561 * configure.in, NEWS, README: Revved to 1.5.4.
563 * registryd/registry-main.c:
564 (main): Set the reg_env to use AT_SPI_DISPLAY instead of
567 * cspi/bonobo/cspi-bonobo.c:
568 (cspi_display_name): New convenience method, gets DISPLAY with
569 screen number stripped, if AT_SPI_DISPLAY isn't already set.
570 (cspi_init): Set the activation env value above before getting
573 * atk-bridge/bridge.c:
574 (spi_display_name): Create the AT_SPI_DISPLAY activation
575 environment for an app, based on the DISPLAY environment with the
576 screen number stripped off.
577 (atk_bridge_init): Allow redirection of error messages to a log.
578 (spi_atk_bridge_get_registry): Call
579 bonobo_activation_set_activation_env_value for AT_SPI_DISPLAY.
581 Fixes for bugs #149962, #136986, #144086.
583 2004-08-16 Christian Rose <menthos@menthos.com>
585 * configure.in: Added "bs" to ALL_LINGUAS.
587 2004-08-12 Kjartan Maraas <kmaraas@gnome.org>
589 * configure.in: Added nb to ALL_LINGUAS.
591 2004-09-03 Bill Haneman <bill.haneman@sun.com>
594 (SPI_init): Return error code '2' if the activated
595 registry cannot be pinged. Fixes bug #147648.
597 2004-07-28 Bill Haneman <bill.haneman@sun.com>
599 * registryd/deviceeventcontroller.c:
600 (spi_dec_init_mouse_listener): Don't do XGrabButton,
601 rely on timer-poll instead, to avoid conflict with
604 2004-07-20 Bill Haneman <bill.haneman@sun.com>
606 * configure.in: Revved to 1.5.3.
608 * idl/Accessibility_Role.idl: Added ROLE_EMBEDDED (bug #144415).
610 * libspi/accessible.c: Added support for ROLE_EMBEDDED.
612 * cspi/spi_accessible.c: Support for ROLE_EMBEDDED.
614 * cspi/spi-roletypes.h: Added SPI_ROLE_EMBEDDED.
616 2004-06-11 Bill Haneman <bill.haneman@sun.com>
618 * atk-bridge/bridge.c:
619 (spi_atk_bridge_do_registration):
620 Register with ATK for AtkComponent:bounds-changed events.
621 (api_atk_bridge_signal_listener):
622 Marshal the AtkRectangle info into the event notification
623 for object:bounds-changed events.
626 (spi_init_any_rect): New method, inits a corba struct of
627 type Accessibility_BoundingBox from an AtkRectangle.
629 * libspi/spi-private.h: Declared spi_init_any_rect (above).
632 (SPIRect): New struct definition.
633 (SPI_freeRect): New declaration.
634 (AccessibleBoundsChangedEvent_getNewBounds): New, see below.
637 (AccessibleBoundsChangedEvent_getNewBounds): New method,
638 implemented. Gets the bounding box data from the CORBA_any
639 associated with a bounds-changed event notification.
640 (cspi_internal_event_get_rect): New, used internally by above method.
643 (SPI_freeRect): Implemented this new method, for freeing
646 * test/event-listener-test.c:
647 (main, report_bounds_event):
648 Added a test for object:bounds-changed events.
650 2004-06-01 Bill Haneman <bill.haneman@sun.com>
652 * test/login-helper-server-test.c:
653 (main): Fix C99-ism. Thanks to Jens Granseuer.
655 2004-05-28 Padraig O'Briain <padraig.obriain@sun.com>
657 * libloginhelper-1.0.pc.in:
658 * idl/Accessibility_LoginHelper.idl:
659 * login-helper/Makefile.am:
660 * login-helper/login-helper.[ch]:
661 * test/login-helper-client-test.c:
662 * test/login-helper-server-test.c: Added files missing from CVS.
663 Files obtained from at-spi-1.5.2 tarball.
665 2004-05-27 Bill Haneman <bill.haneman@sun.com>
667 * configure.in: Create login-helper/Makefile.
668 Incremented micro version.
670 * Makefile.am: Add login-helper subdir and pkgconfig data.
672 * login-helper: New subdir.
674 * libloginhelper-1.0.pc.in: New.
676 * idl/Accessibility_LoginHelper.idl: New file, defines
677 interface whereby authentication clients can identify agents which
678 need access to services during the login process, e.g. screen lock
681 * login-helper/Makefile.am : New.
683 * login-helper/login-helper.[ch] : New, implementation of
684 a LoginHelper base class. Services needing LoginHelper can subclass.
686 * test/Makefile.am : Added test for login-helper, client and
689 * test/app.c, at.c, keypad-test.c, keysynth-test.c, stress-test.c:
690 Use proper prefix in #include files.
692 * test/login-helper-client-test.c: New.
694 * test/login-helper-server-test.c: New.
696 2004-05-27 Alexander Shopov <ash@contact.bg>
698 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
700 2004-05-14 Padraig O'Briain <padraig.obriain@sun.com>
702 * cspi/spi_main.c (cspi_object_unref): Add check that reference count
703 is positive. This should make it easier to detect inapprorpiate unref
706 2004-05-11 James Henstridge <james@daa.com.au>
708 * configure.in: remove GNOME_PLATFORM_GNOME_2 macro, which is a
709 no-op and deprecated.
711 2004-05-03 Pablo Saratxaga <pablo@mandrakesoft.com>
713 * configure.in: Added "wa" (Walloon) to ALL_LINGUAS.
715 2004-04-28 Bill Haneman <billh@gnome.org>
717 * Makefile.am: Added --enable-gtk-doc to
718 DISTCHECK_CONFIGURE_FLAGS; fixes make distcheck.
720 2004-04-19 Bill Haneman <billh@gnome.org>
722 * configure.in: Revved to 1.5.1.
724 * registryd/deviceeventcontroller.c:
726 (DEControllerPrivateData): Added fields for
727 reserved_keycode, reserved_keysym, and reserved_reset_timeout.
728 (spi_dec_replace_map_keysym): New internal utility for
729 replacing a keysym in the keymap - used to allow
730 synthesis of individual characters which aren't in the
732 (spi_dec_reset_reserved): New; resets the changed keysym value
734 (keycode_for_keysym): We now try to deal with failed
735 XKeysymToKeycode requests by changing a keymap value
736 and returning a reserved keycode. We now take
737 a DEController pointer as first arg.
738 (spi_controller_register_with_devices): Call XkbGetMap with
739 the XkbKeySymsMask. Find the highest keycode in the current
740 keymap which doesn't have any grabs, and mark that one for
741 temporary re-mapping when out-of-range KeySyms are synthesized.
742 (dec_synth_keycode_press): Call XFlush after synthesizing the key
745 2004-04-08 Guntupalli Karunakar <karunakar@freedomink.org>
747 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
749 2004-03-24 Alexander Winston <alexander.winston@comcast.net>
751 * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
753 2004-03-24 Bill Haneman <billh@gnome.org>
756 (AccessibleTable_addRowSelection),
757 (AccessibleTable_addColumnSelection),
758 (AccessibleTable_removeRowSelection),
759 (AccessibleTable_removeColumnSelection):
760 Add declarations for spi wrappers which were
761 inadvertantly omitted. Fixes bug #133413.
764 Revved to 1.5.0 (unstable series for GNOME 2.7).
766 2004-03-24 Bill Haneman <billh@gnome.org>
768 * atk-bridge/bridge.c:
769 Bracketed some debug output in
770 conditionals, to avoid printing it in normal use.
773 * libspi/hyperlink.c:
774 Don't cast 'object' to ATK_OBJECT when constructing
775 an AtkAction interface for a hyperlink.
776 See discussion in bug #120659.
778 * test/key-listener-test.c:
779 (report_all_key_event): Send output to stderr,
780 not stdout, for consistency with the rest of the test callbacks.
783 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
784 Don't add X_LIBS to CFLAGS (Fix for bug #134332).
785 Incremented to 1.4.1 (but didn't dist yet - I'm going to
786 try incrementing the revision AFTER doing a dist, at least
789 2004-03-22 Bill Haneman <billh@gnome.org>
791 * configure.in: Revved to 1.4.0, libtool 9.14.9
793 2004-03-17 Laszlo Peter <laca@sun.com>
795 * libspi-1.0-uninstalled.pc.in: add idldir
797 * cspi-1.0-uninstalled.pc.in: add idldir
799 2004-03-16 Gareth Owen <gowen72@yahoo.com>
801 * configure.in: Added "en_GB" to ALL_LINGUAS
803 2004-03-15 Bill Haneman <billh@gnome.org>
805 * configure.in: Revved to 1.3.16,
808 2004-03-15 Laszlo Peter <laca@sun.com>
810 * libspi-1.0-uninstalled.pc.in: new file
812 * cspi-1.0-uninstalled.pc.in: new file
814 * configure.in: add the new pc files to AC_OUTPUT
816 * Makefile.am: add the new pc files to EXTRA_DIST
818 2004-03-12 Bill Haneman <billh@gnome.org>
820 * atk-bridge/bridge.c:
821 (spi_atk_bridge_key_listener):
822 Make sure to return consumed=FALSE if snoop
823 event is not dispatched to listener.
826 2004-03-01 Bill Haneman <billh@gnome.org>
828 * configure.in: Revved to 1.3.15,
831 2004-03-07 Danilo Segan <dsegan@gmx.net>
833 * configure.in: Added "sr@ije" to ALL_LINGUAS.
835 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
837 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
839 2004-03-01 Bill Haneman <billh@gnome.org>
841 * configure.in: Revved to 1.3.14.
844 (SPI_exit): Removed "bye-bye" exit message.
845 Moved "leak" report to happen before the
846 iteration over the leaked refs list.
847 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
849 2004-02-24 Bill Haneman <billh@gnome.org>
851 * configure.in: Revved to 1.3.13.
853 * docs/reference/cspi/Makefile.am:
854 Correct typo that was breaking the docs build.
856 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
858 * autogen.sh: Require version 1.7 of automake.
860 * configure.in: call GTK_DOC_CHECK([1.0])
862 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
864 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
866 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
868 * test/Makefile.am: Remove use of CFLAGS.
870 This fixes bug #132987.
872 2004-02-11 Bill Haneman <billh@gnome.org>
874 * reverted most of Tomasz' patch below, since it was breaking
875 builds (see bug #134058).
877 2004-02-10 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
879 * docs/reference/cspi/at-spi-cspi.types: added empty file for
880 correct pass "make dist" (empty .. because seems no sach types in
881 header files with gtk-doc markups).
882 * docs/reference/cspi/Makefile.am, configure.in:
883 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
884 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
885 * Makefile.am: added:
886 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
887 for force correct pass generate documentation on "make distcheck".
888 * libspi/Makefile.am: fixes for automake >= 1.6.
889 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
890 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
893 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
895 * docs/reference/cspi/Makefile.am (install-data-local): Install
896 index.sgml since the doc autobuilder on widget.gnome.org looks for
899 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
901 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
904 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
906 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
908 2004-01-27 Brian Cameron <brian.cameron@sun.com>
910 * test/simple-at.c: Fixed null string problems that cause core
911 dumping problems on Solaris.
913 2004-01-12 Bill Haneman <billh@gnome.org>
915 * configure.in: Incremented version to 1.3.11.
917 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
919 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
920 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
923 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
925 * configure.in: Added "fa" to ALL_LINGUAS.
927 2003-12-20 Arafat Medini <lumina@silverpen.de>
929 * configure.in: Added "ar" to ALL_LINGUAS
931 2003-12-16 Bill Haneman <billh@gnome.org>
933 * registryd/registry-main.c:
935 Set the reg_env DISPLAY variable before registering the
936 activated registry service. Fixes bug #129479.
938 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
940 * configure.in: Added "id" in ALL_LINGUAS
941 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
943 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
945 * registryd/deviceeventcontroller.c (global_filter_fn):
946 When an event is consumed discard any XEvents were added to
947 the queue while dealing with the the event. This can happen if
948 processing of the event takes a long time. Call XUngrabKeyboard
949 if an event was discarded. This fixes bug $124837.
950 Only call wait_for_release_event for a KeyPress.
951 Use local variable display instead of spi_get_display().
952 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
955 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
957 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
958 Allow for mask to contain values other than NumLock mask.
961 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
963 * registryd/devieceventcontroller.c:
964 (wait_for_release_event): Change first parameter from GdkEvent to
966 (global_filter_fn); Correct call to wait_for_release_event.
970 2003-12-08 Bill Haneman <billh@gnome.org>
974 * registryd/ucs2keysym.c: New file.
976 * registryd/deviceeventcontroller.c:
977 (dec_keysym_for_unichar): Remove old partial implementation and
978 replace with call to ucs2keysym(), which is much more complete.
979 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
984 2003-12-05 Bill Haneman <billh@gnome.org>
986 * configure.in: Version 1.3.9.
988 * docs/reference/cspi/tmpl/spi_registry.sgml:
989 Added reference to libspi/keymasks.h to the
990 description of Registry queries: AccessibleKeyMaskType.
993 2003-12-04 Bill Haneman <billh@gnome.org>
997 * idl/Accessibility_Application.idl:
998 (Accessibility::LOCALE_TYPE): New enum, corresponds to
999 setlocale's LC_TYPEs.
1000 (Accessibility::Application::getLocale): New method.
1001 Allows clients to query the locale, by type, of an app.
1004 * cspi/spi_application.c:
1005 (AccessibleApplication_getLocale): New method, wraps IDL above.
1007 * libspi/application.c:
1008 (spi_application_class_init): Init epv entry for getLocale.
1009 (impl_accessibility_application_get_locale): Impl for above.
1011 * test/test-simple.c:
1012 (test_application): Added assertion for getLocale, i.e.
1013 that the string from AccessibleApplication_getLocale (app, type)
1014 is the same as that from setlocale (type, NULL);
1016 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1018 *registryd/deviceeventcontroller.c: Add an idle handler which polls
1019 the keyboard on a timeout intil the key state goes from pressed to
1020 released. Fixes bug #111429.
1022 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1024 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
1025 root object so that it is present when a context menu in an
1026 out-of-process applet is popped up.
1027 (spi_atk_bridge_do_registration): Create acceessible application root
1028 object only if it does not exist.
1030 This fixes bug #125834.
1032 2003-12-01 Bill Haneman <billh@gnome.org>
1034 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
1037 Added enum for AccessibleStreamableContentSeekType.
1038 (AccessibleStreamableContent_freeContentTypeList): New.
1040 * cspi/spi_streamablecontent.c:
1041 (accessible_bonobo_stream_client_seek): New private method.
1042 (AccessibleStreamableContent_seek): Implemented this method,
1043 using Bonobo_Stream_seek.
1044 (AccessibleStreamableContent_freeContentTypeList): New method
1045 for freeing the return value from
1046 AccessibleStreamableContent_getContentTypes.
1047 (stream_cache_item_free): Replaces stream_release; stop leaks.
1048 (stream_release): removed.
1049 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
1050 free the memory properly.
1052 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
1054 Fix for bug #116009.
1056 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
1058 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
1060 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
1062 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
1064 2003-12-01 Bill Haneman <billh@gnome.org>
1066 Fix for bug/rfe #127463.
1068 * idl/Accessibility_Accessible.idl:
1069 (getLocalizedRoleName): New.
1070 (unimplemented4): Removed (replaced by above).
1072 * libspi/accessible.c:
1073 (impl_accessibility_accessible_get_local_role_name): New.
1074 (spi_accessible_class_init): Add getLocalizedRoleName entry to
1078 (Accessible_getLocalizedRoleName): New.
1080 * cspi/spi_accessible.c:
1081 (Accessible_getLocalizedRoleName): New.
1083 2003-12-01 Bill Haneman <billh@gnome.org>
1085 Fix for bug #118581.
1086 * idl/Accessibility_Text.idl:
1087 (getDefaultAttributes): New.
1088 (unimplemented4): Removed (replaced by above method).
1091 (impl_getDefaultAttributes): New method.
1092 (spi_text_class_init):
1093 initialize the get_default_attributes slot in the epv.
1096 (AccessibleText_getDefaultAttributes): New prototype.
1099 (AccessibleText_getDefaultAttributes): New method.
1101 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
1103 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
1104 write beyond the end of the table. Fixes bug #120473.
1106 2003-09-30 Christian Rose <menthos@menthos.com>
1108 * configure.in: Added "eu" to ALL_LINGUAS.
1110 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
1112 * configure.in: ALL_LINGUAS: Added no.
1114 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
1116 * configure.in: Added lt to ALL_LINGUAS.
1118 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
1120 * atk-bridge/bridge.c:
1121 (atk_bridge_init): Register event listeners always even for
1122 out-of-process applet.
1123 (spi_atk_bridge_toplevel_added): Remove call to
1124 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
1125 (spi_atk_bridge_toplevelk_removed): Remove call to
1126 spi_atk_deregister_event_listenersa as the listeners are now always
1128 (spi_atk_bridge_register_application): Remove call to
1129 spi_atk_register_event_listeners as it is not done in atk_bridge_init
1131 This fixes bug #120991.
1133 * libspi/table.c (impl_getColumnDescription): Correct typo,
1134 pointed out by Bolian.Yin@sun.com.
1136 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
1138 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
1140 2003-09-08 Bill Haneman <billh@gnome.org>
1142 * configure.in: Revved to 1.3.7.
1144 This is the GNOME 2.4.0 release of at-spi.
1146 * docs/reference/cspi/Makefile.am:
1147 Removed spurious inclusion of 'index.sgml' in the
1148 html directory; this was breaking make distcheck and
1149 also some other build environments.
1151 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
1153 * registryd/registry.[ch}:
1154 Add queue_handler_id and focus_object to SpiRegistry data structure.
1155 (registry_flush_event_queue): If event being discarded is
1156 "state-change:focused" store object as focus_object.
1157 (registry_start_queue): Remove queue handler and focus object
1159 (registry_discard_event): New function which discards a focus event
1160 if we had stored focus object in the registry.
1161 (registry_queue_event): Add new check that is_queueing is set as this
1162 function is reentrant.
1163 (registry_filer_event): Add call to registry_discard_event.
1165 This resolves issues raised in bug #108664.
1167 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
1169 * configure.in: Added "bn" to ALL_LINGUAS.
1171 2003-09-04 Bill Haneman <billh@gnome.org>
1173 * cspi/spi_event.c: Documentation improvements for
1174 (SPI_registerAccessibleKeylistener).
1176 * docs/reference/tmpl/spi_registry.sgml:
1177 Documentation improvements for SpiAccessibleKeylistenerCB.
1179 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
1181 * configure.in: Added "ro" to ALL_LINGUAS.
1184 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
1186 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
1187 not decremented to zero. Fixes bug #120725.
1189 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
1191 * configure.in: Added "ja" to ALL_LINGUAS.
1193 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
1195 * configure.in: Added "is" to ALL_LINGUAS.
1197 2003-08-22 Christian Rose <menthos@menthos.com>
1199 * configure.in: Added "nl" to ALL_LINGUAS.
1201 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1203 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
1204 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
1206 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
1208 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
1209 type for unspecified exception.
1210 * cspi_streamablecontect): Add include of string.h for memcpy.
1211 (stream_release): Correct call to bonobo_object_release_unref
1212 (stream_cache_item_free): Correct call to bonobo_object_release_unref
1213 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
1214 argument of _cspi_expection_throw.
1215 * libspi/hyperlink.c: Add include of libspi/action.h:
1216 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
1217 * libspi/streamablecontent.c: add include of libspi/component.h.
1218 * regisrtyd/deviceeventcontroller.c:
1219 (spi_dec_translate_mask): Removed unused variable priv.
1220 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
1221 * registryd/registry.c:
1222 (registry_filter_event): Remove unused variable queue_is-empty.
1223 (impl_registry_notify_event): Use correct modifier in fprintf call.
1225 This fixes compiler warnings reported in bug #120220.
1227 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
1229 * registryd/registryd.c: Remove this file.
1231 2003-08-17 Sanlig Badral <badral@openmn.org>
1233 * configure.in: Added mn to ALL_LINGUAS.
1235 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
1237 * configure.in: Added et to ALL_LINGUAS.
1239 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
1241 * test/event-listener-test.c: Change active-descendant to
1242 active-descendant-changed.
1244 2003-08-10 Sami Pesonen <sampeson@iki.fi>
1246 * configure.in: Added "fi" in ALL_LINGUAS.
1248 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
1250 * configure.in: Added "hi" in ALL_LINGUAS.
1252 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
1254 * configure.in: Revved to 1.3.6.
1258 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
1260 * registryd/deviceeventcontroller.c
1261 (spi_device_event_controller_object_finalize): Fix typo in previous
1264 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
1266 * registryd/deviceeventcontroller.c
1267 (spi_device_event_controller_object_finalize): Fix build on
1268 systems without XEvIE.
1270 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
1272 * acconfig.h, configure.in, registryd/Makefile.am,
1273 registryd/devicecontoller.[ch]: Add XEViE support.
1275 2003-08-06 Wang Jian <lark@linux.net.cn>
1277 * configure.in: Added "zh_CN" to ALL_LINGUAS.
1279 2003-08-06 Metin Amiroff<metin@karegen.com>
1281 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
1283 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
1285 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
1286 MODIFIER_ALT in correct place.
1288 This fixes part of bug #118114.
1290 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
1292 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
1294 2003-07-28 Changwoo Ryu <cwryu@debian.org>
1296 * configure.in: Added "ko" to ALL_LINGUAS.
1298 2003-07-28 Ole Laursen <olau@hardworking.dk>
1300 * configure.in: Added "da" to the commented out ALL_LINGUAS.
1302 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
1304 * configure.in: Added "sq" to ALL_LINGUAS.
1306 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
1308 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
1310 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
1312 * configure.in: updated ALL_LINGUAS list
1314 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1316 * configure.in: Added Belarusian to ALL_LINGUAS.
1318 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
1320 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
1322 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
1323 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
1325 This fixes bug #116949.
1327 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
1329 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
1330 Correct CSPI to SPI in function documentation.
1332 This fixes bug #118054.
1334 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1336 * configure.in: Added Russian to ALL_LINGUAS.
1338 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
1340 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
1342 2003-07-14 Danilo Ã…Â Segan <dsegan@gmx.net>
1344 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
1346 2003-07-10 Joel Brich <joel.brich@laposte.net>
1348 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
1350 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
1352 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
1354 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
1356 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
1357 resources allocated for AccessibleEvent. See cspi_event().
1359 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
1360 static variable streams to NULL.
1362 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
1363 Update so that AcessibleEvent_ref will work.
1365 This fixes bug #116624.
1367 2003-07-06 Jordi Mallach <jordi@sindominio.net>
1369 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
1371 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
1373 * configure.in: Added "fr" (French) to ALL_LINGUAS.
1375 2003-07-02 Christian Neumair <chris@gnome-de.org>
1377 * configure.in: Added "de" (German) to ALL_LINGUAS.
1379 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
1381 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
1383 2003-07-01 Miloslav Trmac <mitr@volny.cz>
1385 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
1387 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
1389 * configure.in: Added "pl" to ALL_LINGUAS.
1391 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
1393 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
1395 2003-06-30 Bill Haneman <bill.haneman@sun.com>
1398 (get_action_from_servant):
1399 Removed assertion that action is implemented on an AtkObject.
1401 * libspi/hyperlink.c:
1402 (spi_hyperlink_new):
1403 Aggregate AccessibleAction interface on the hyperlink object if
1404 the object implements AtkAction. (This convention is used in
1407 2003-06-30 Bill Haneman <bill.haneman@sun.com>
1409 * configure.in: Revved to 1.3.5.
1411 * registryd/Accessibility_Registry.server.in.in:
1412 Marked up appropriate strings for translation.
1414 * atk-bridge/bridge.c: Marked a couple of
1415 user-visible warnings for translation. Questionable
1416 whether they are really useful, but possibly so.
1419 2003-06-28 Christian Rose <menthos@menthos.com>
1421 * configure.in: Added "sv" to ALL_LINGUAS.
1423 2003-06-26 Bill Haneman <bill.haneman@sun.com>
1425 * registryd/registry.c:
1426 (spi_registry_object_finalize): Unref the deviceeventcontroller.
1427 (registry_defer_on_event): Defer focus: events, this is an
1428 improvement to the patch for bug #108664.
1430 * TODO: Update with 2.4/"Dev Complete" items.
1432 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
1434 * atk-bridge/bridge.c:
1435 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
1436 looks up signals once.
1437 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
1438 if doing registration.
1439 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
1440 when doing registration.
1442 This fixes bug #115014.
1444 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
1446 * atk-bridge/bridge.c:
1447 (atk_bridge_init): Add signal handler for children-changed:remove on
1448 root when in a BonoboComponent.
1449 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
1450 for first toplevel only other incrememt variable toplevels.
1451 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
1452 application and remove listeners.
1453 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
1455 (spi_atk_deregister_event_listeners): New function which removes
1457 (reinit_register_vars): New fuction which reinitializes variables.
1459 This fixes bug #111578.
1461 2003-06-13 Bill Haneman <bill.haneman@sun.com>
1463 * configure.in: version 1.3.4.
1465 * cspi/spi_accessible.c:
1466 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
1469 2003-06-13 Michael Meeks <michael@ximian.com>
1471 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
1473 * cspi/spi_main.c (cspi_peek_ev): impl.
1475 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
1477 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
1479 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
1481 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
1482 SPI_ROLE_AUTOCOMPLETE
1484 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
1486 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
1487 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
1489 2003-06-11 Bill Haneman <bill.haneman@sun.com>
1491 * libspi/streamablecontent.h:
1492 * libspi/streamablecontent.c:
1493 New files, provide implementation/wrappers for
1494 Accessibility_StreamableContent.
1496 * cspi/spi_streamablecontent.c:
1497 Connected the C wrappers to the libspi C bindings.
1498 (AccessibleStreamableContent_close): New method.
1501 (AccessibleStreamableContent_close): New method, needed
1502 since we have an "open, [seek], read, close" model in cspi.
1504 2003-06-11 Bill Haneman <bill.haneman@sun.com>
1506 Fix for #108664; Padraig's revision of my original patch.
1508 * registryd/registry.h:
1509 Added event queue list, is_queuing, and exit_notify_timeout
1510 to the registry struct.
1512 * registryd/registry.c:
1513 (registry_init): Initialize new struct from registry.h.
1514 (impl_registry_notify_event):
1515 Filter events before notifying, in case some need to be
1517 (registry_filter_event): New,
1518 we defer certain incoming events (for instance
1519 window:deactivate) because we may wish to hide
1520 or reject them based on pending events. This is
1521 mostly a workaround for bug #108664.
1522 (registry_queue_event, registry_start_queue): New.
1523 (registry_defer_on_event): Test event to see if it
1525 (registry_reset_on_event): Returns TRUE if the
1526 event should cause a queue reset.
1527 (registry_discard_on_event): Returns TRUE if the event
1528 should cause the previous queue contents to be discarded.
1529 (registry_timeout_flush_queue): Flushes the pending event
1530 queue if no reset/discard-triggering events have come in
1531 within the timeout period.
1532 (registry_emit_event): New.
1533 (registry_clone_notify_context): New, used when queueing the
1534 event notify contexts.
1536 2003-06-10 Bill Haneman <bill.haneman@sun.com>
1538 * configure.in: Version revved to 1.3.2, lt 0.9.2
1539 Incremented ATK required version to 1.3.4.
1541 * cspi/spi_registry.c:
1542 (SPI_generateKeyEvent):
1543 We now pass the keystring along if it's non-null.
1545 * registryd/deviceeventcontroller.c:
1546 (keysym_mod_mask): New method, returns modifier mask
1547 required to generate a keysym from a given keycode.
1548 (dec_synth_keysym): New method.
1549 (dec_synth_keystring): New method.
1550 (dec_get_modifier_state): New method.
1551 (dec_lock_modifiers): New
1552 (dec_unlock_modifiers): New.
1553 (dec_keysym_for_unichar): New, rather brute-force
1554 conversion from UCS-4 to X KeySyms. Only works for
1555 Latin at the moment, with partial implementations for
1556 Greek, Hebrew, and (incomplete) Katakana.
1557 (impl_generate_keyboard_event): Now implement
1558 "KEYSTRING" synthesis and implement "KEYSYM"
1560 (keycode_from_keysym): Improved, passes a returned
1561 modmask value now if the corresponding param is non-NULL.
1563 Fixes bugs #92143 and #109776.
1566 * test/keysynth-test.c:
1567 New test program for key synthesis, to confirm fixes for
1571 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
1573 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
1575 * cspi/spi_accessible.c (cspi_init_relation_type_table):
1576 Add line for RELATION_POPUP_FOR
1578 * docs/reference/cspi/tmpl/spi_relation.sgml:
1579 Add relation SPI_RELATION_POPUP_FOR
1581 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1582 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
1584 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
1586 * libspi/relation.c (spi_init_relation_type_table):
1587 Add line for RELATION_POPUP_FOR
1589 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
1591 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
1592 there are still windows which have not been deleted and emit
1593 window:deactivate, if necessary and window:destroy events.
1594 This fixes bug #114370. The change on June 5th was not correct.
1596 2003-06-09 Bill Haneman <bill.haneman@sun.com>
1598 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
1601 (SPI_dupString): Allow dup-ing of a string such that it's safe to
1603 New methods for client exception handling and interception.
1604 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
1605 (SPI_exceptionHandlerPop): You guessed it...
1606 (SPI_getSourceType): Return the type of object which offended.
1607 (SPI_getExceptionCode): Return an enum code telling, possibly,
1608 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
1609 (SPIAccessibleException_getSource): get the source object for
1610 exceptions that come from Accessibles, if SPIExceptionSourceType is
1611 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
1612 (SPIException_getDescription): New, returns a string description of
1613 the problem. [Not yet a stable ABI, strings are not frozen]
1615 * cspi/spi-private.h:
1616 Added implementation details of opaque SPIException
1620 Implementations of above. Also
1621 (_cspi_exception_throw): new private method that
1622 dispatches exceptions to handlers, called from cspi-bonobo.c
1624 * cspi/bonobo/cspi-bonobo.c:
1625 (cspi_check_ev): call _cspi_exception_throw.
1626 Don't print a warning message if the exception has been
1627 handled by _cspi_exception_throw.
1629 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
1631 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
1632 there are still windows which have not been deleted and emit
1633 window:deactivate, if necessary and window:destroy events.
1634 This fixes bug #114370.
1636 2003-06-03 Bill Haneman <bill.haneman@sun.com>
1639 (cspi_accessible_is_a): Make non-fatal
1640 if the object reference is dead.
1642 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
1644 * cspi/spi_main.c: #include <stdio.h>
1645 * test/simple-at.c: ditto
1646 * test/event-listener-test.c: ditto
1647 * test/screen-review-test.c: ditto
1649 2003-05-30 Michael Meeks <michael@ximian.com>
1651 * test/test-simple.c (main): use CORBA_ORB_perform_work
1652 instead of an unnecessary linc_ call.
1654 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
1656 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
1657 Add SPI_STATE_INDETERMINATE.
1659 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
1662 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
1664 * libspi/stateset.c (init_state_type_tables): Add support for
1667 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
1669 * configure: Update versions of atk and gail required.
1670 This fixes bug #113268.
1672 2003-05-02 Bill Haneman <bill.haneman@sun.com>
1674 * configure.in: Revved micro version to 1.3.1 (because of build fix).
1676 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
1678 * libspi/Makefile.am:
1679 Ensure headers are generated before being used by c sources.
1681 2003-05-01 Bill Haneman <bill.haneman@sun.com>
1684 Simplified lt versioning rules.
1685 Incremented version to 1.3.0, to indicate that we're on the
1686 unstable branch now.
1688 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
1690 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
1691 Add MKDB_OPTIONS=--outtput-format=xml
1693 * docs/reference/cspi/at-spi-cspi-docs.sgml
1694 docs/reference/idl/at-spi-idl-docs.sgml:
1695 Convert to Docbook XML.
1697 This fixes bug #111793.
1699 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
1701 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
1702 AcccessibleKeyEventType, AccessibleKeyMaskType.
1704 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
1706 * cspi/state-types.h: Add documentation for AccessibleState.
1708 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
1709 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
1710 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
1711 AccessibleComponentLayer.
1713 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
1716 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
1718 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
1719 Accessible. Add description of AccessibleEvent,
1720 AccessibleEventListenerCB.
1722 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
1725 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
1726 documentation. Add description of AccessibleKeystrokeListenerCB,
1727 AccessibleKeyEventMask, AccessibleModifierMaskType,
1728 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
1729 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
1731 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
1734 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
1737 This fixes bug #104730.
1739 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
1741 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
1742 Set is_text field of Accessibility_DeviceEvent data structure.
1744 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
1745 is-text field of AccessibleDeviceEvent data structure.
1747 This addresses part of bug #108666.
1749 * registryd/devcieeventcontroller.c: Unset debug option.
1751 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
1753 * cspi/accessible.c:
1754 (cpi_initial_relation_type_table): New function which initializes
1755 mapping between Accessibility_RelationType and AccessibleRelationType.
1756 (cspi_relation_type_from_spi_relation_type): New function which
1757 translates an Accessibility_RelationType into an AccessibleRelationType.
1758 (AccessibleRelation_getRelationType): Use
1759 cpi_relation_type_get_spi_relation_type to return correct value.
1760 (spi_state_to_corba): Return correct type for default case.
1762 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
1763 Use Accessibility_EventType instead of Accessibility_KeyEventType.
1765 * cspi/cspi-bonobo-listener.c:
1766 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
1769 * libspi/accessible.c, libspi/action.c, libspi/application.c,
1770 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
1771 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
1772 libspi/image.c, libspi/listener.c, libspi/selection.c,
1773 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
1774 registryd/desktop.c, registryd/registry.c:
1775 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1777 * libspi/eventlistener.c
1778 Remove semicolon after BONOBO_TYPE_FUNC.
1780 * libspi/relation.c:
1781 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1782 (spi_init_relation_type_table): Initialize using correct type.
1784 * registryd/desktop.c:
1785 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1786 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
1787 of Accessibility_KeyEventType.
1789 * test/key-listener-test.c (report_tab_key_event): Use fprintf
1792 * tests/simple-at.c, tests/screen-review-test.c:
1793 Add include for <strings.h>.
1795 * tests.stress-test.c:
1796 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
1798 These changes fix compiler warnings when using FORTE compiler on
1799 Solaris; fixes bug #107479.
1802 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1805 * configure.in: revved to 1.1.10
1807 * libspi/keymasks.h:
1808 (SPI_KEYMASK_NUMLOCK): Added.
1810 * registryd/deviceeventcontroller.c:
1811 (spi_key_event_matches_listener): AND with a smaller
1812 bitmask (as we should).
1813 (spi_dec_translate_mask):
1814 New method, sets the virtual NumLock modifier bit
1815 if numlock is on. Eventually it can handle other virtual
1816 modifier bits if needed, or other marshalling from
1817 at-spi modifier masks to platform (X) masks.
1818 (spi_dec_key_listener_new):
1819 Call spi_dec_translate_mask to set up virtual mod bits
1820 in the 'mask' field when creating a new listener struct.
1821 (spi_dec_emit_modifier_event):
1822 Set the virtual (i.e. NumLock) bits before emitting event.
1823 (spi_controller_register_with_devices):
1824 Query for the NumLock modifier 'physical' bit if Xkb is
1825 present, for use in above methods.
1829 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1831 * registryd/deviceeventcontroller.c:
1832 (spi_keystroke_from_x_key_event):
1833 Instead of checking to see if the keysym is
1834 printable, check the string from XLookupString
1835 if available, get the first unicode character from it,
1836 and call g_unichar_isprint to determine whether the
1837 is_text flag should be TRUE or FALSE.
1841 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1843 * atk-bridge/bridge.c: Add support for extended events
1844 * cspi/spi_event.c: Add documentation and implementation for
1846 * tests/event-listener-test.c: Add tests for extended events.
1848 This fixes bugs #100424 and #100426.
1850 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1852 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
1853 of LT_CURRENT. This fixes bug #89350.
1855 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
1857 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
1858 number of signal parameter values before accessing them. This fixes
1861 2003-04-01 Bill Haneman <bill.haneman@sun.com>
1863 * configure.in: Fixed duplicate inclusion of -lspi.
1864 * branched for gnome-2-2/HEAD.
1865 [created tag "gnome-2-2"]
1867 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1869 * configure.in: 1.1.9 release.
1872 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1874 [needed by GOK, to fix bugs 107985 and 107988]
1875 * registryd/deviceeventcontroller.c:
1876 (spi_dec_clear_unlatch_pending):
1877 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
1878 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
1879 (spi_dec_init_mouse_listener):Emit warning if mouse button
1881 (spi_device_event_controller_forward_mouse_event):
1882 Removed unnecessary parens from a conditional.
1883 (global_filter_fn):Added TODO comment.
1884 (impl_generate_keyboard_event):
1885 Cancel a pending relatch if a 'delatching' key was
1888 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
1890 * atk-bridge/bridge.c:
1891 Change atk_signal_child_changed to atk_signal_children_changed.
1892 Reorganize code in spi_atk_bridge_signal_listener().
1894 * test/event-listener-test.c:
1895 Add children_changed_listener and report_children_changed_event()
1896 to test AccessibleChildEvent_getChildAccessible.
1898 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
1900 * cspi/spi_event.c (cspi_internal_event_get_text): Change
1901 g_strdup to CORBA_String_dup (bug #105291)
1903 * test/event-listener-test.c (report_text_event): Add call to
1906 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1908 * registryd/deviceeventcontroller.c:
1909 (spi_keystroke_from_x_key_event):
1910 Fix string and keysym return codes to match modifier state.
1913 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1915 * registryd/deviceeventcontroller.c:
1916 (spi_keystroke_from_x_key_event):
1917 Fix segv due to improper use of isprint(c). [bug #107254]
1919 2003-02-24 Bill Haneman <bill.haneman@sun.com>
1922 (get_accessible_text_boundary_type):
1923 Move default return value to (new) default case in switch.
1924 (get_accessible_text_clip_type):
1925 Move default return value to (new) default case in switch.
1927 * libspi/application.c:
1928 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
1929 Remove unused methods.
1930 (impl_accessibility_application_register_object_event_listener):
1931 Remove unused methods.
1934 Added #include of <math.h>.
1936 * registryd/deviceeventcontroller.c:
1937 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
1938 we don't currently use this method.
1939 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
1941 (impl_generate_key_event):
1942 Remove unused variables.
1943 (impl_generate_mouse_event):
1944 Initialize button to zero, just in case we get an invalid
1945 input. Added support for mouse buttons 4 and 5.
1946 (spi_device_event_controller_new):
1947 Removed unused variable declaration for 'private'.
1949 Added #include of <gdk/gdk.h>
1951 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1953 * configure.in: Update to work when X is not installed in expected
1954 location. Fixes bug #105836.
1956 * atk-bridge/bridge.c
1957 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
1959 (spi_atk_register_event_listener): Add signal listener for
1961 (spi_atk_bridge_signal_listener): Event event when link-selected
1962 signal is emitted. (bug #104622)
1964 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
1965 on returned string. (bug #105291)
1967 * test/event-listener-test.c: Add test for link-selected.
1969 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1971 * atk-bridge/Makefile.am: Correct typo in previous commit.
1973 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
1975 * atk-bridge/Makefile.am: Allow for build directory to be different
1976 from source directory
1978 * registryd/Makefile.am: Allow for build directory to be different
1979 from source directory
1983 2003-01-29 Bill Haneman <bill.haneman@sun.com>
1986 Fixed dependencies for libcspi so that libspi gets pulled in
1987 properly. Fixes 104741.
1991 Clean up inline docs a little.
1993 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
1995 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
1996 This is done by implementing AtkComponent for SpiAtkDesktop, which is
1997 the AtkObject within an SpiDesktop.
1998 This addresses bug #101524.
2000 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
2001 Remove call to gdk_init().
2003 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
2004 so that Display is set when SpiDesktop is created.
2006 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
2008 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
2009 This fixes bug #102830.
2011 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2013 * test/test-simple.c: Update to take account of fact that GailButton
2014 now implements AtkText.
2015 (create_text_window): Set name on AtkObject for GtkEntry.
2016 (validate_accessible): Check accessible name before calling test_text().
2018 * libspi/Makefile.am: Fix problem with building outside of source
2019 directory. Bug #98120.
2021 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
2022 typo in documentation comments. Bug #94275.
2024 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2026 * libspi/text.c (impl_getBoundedRanges): Bug fix.
2028 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
2031 Add includes to avoid compiler warnings on Solaris.
2032 (impl_getRangeExtents): Bug fix.
2034 2002-12-17 Bill Haneman <bill.haneman@sun.com>
2036 Fix for 100944, [API addition approved by Gman and murrayc].
2043 * idl/Accessibility_Text.idl:
2044 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
2045 (Text::getRangeExtents): New method for efficient
2046 bounds query of a text range.
2047 (Text::getBoundedRanges): New method for efficient
2048 clipping of text to bounding boxes.
2049 (unImplemented7, unImplemented8):
2050 Removed these padding methods to preserve bincompat.
2053 (impl_getRangeExtents): implementation of new IDL.
2054 (impl_getBoundedRanges): implementation of new IDL.
2055 (SpiTextRect): Internal use struct.
2056 (_spi_text_rect_union): internal method, calculates union of two
2057 SpiTextRect bounding rects.
2058 (_spi_text_range_seq_from_gslist): internal method, allows us
2059 to build our sequence efficiently as a gslist then convert it
2061 (_spi_bounds_contain): internal method, determines whether
2062 a text character is "in" or "out" of a clip rect according to
2063 values of TEXT_CLIP_TYPE.
2064 (spi_text_class_init): Initialize the new methods in the epv.
2067 (AccessibleTextClipType): New enum used by screen review api.
2068 (AccessibleTextRange): New struct used by screen review api.
2069 (AccessibleText_getRangeExtents):
2070 cspi binding for Accessibility_Text_getRangeExtents.
2071 (AccessibleText_getBoundedRanges):
2072 cspi binding for Accessibility_Text_getBoundedRanges.
2073 (AccessibleTextRange_freeRanges): convenience method.
2076 (AccessibleText_getRangeExtents):
2077 cspi binding for Accessibility_Text_getRangeExtents.
2078 (AccessibleText_getBoundedRanges):
2079 cspi binding for Accessibility_Text_getBoundedRanges.
2080 (AccessibleTextRange_freeRanges): convenience method.
2081 (get_accessible_text_clip_type): internal conversion method.
2082 (get_accessible_text_ranges_from_range_seq): internal conversion method.
2084 * registryd/deviceeventcontroller.c:
2085 (spi_dec_mouse_check):
2086 Improved behavior for mouse:abs events
2087 [same granularity as mouse:rel events, and no
2088 events when mouse is idle].
2090 2002-12-16 Michael Meeks <michael@ximian.com>
2092 * cspi/spi_accessible.c (spi_state_to_corba): rename.
2094 * libspi/stateset.c (state_spi_to_atk): split out
2095 ( fix several remote array bounds nasties )
2096 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
2097 (impl_remove): make safe from array bounds issues.
2098 (spi_atk_state_from_spi_state): impl.
2100 * libspi/stateset.h (spi_state_set_cache_is_empty):
2101 add a set of wrapper defines to get layering right.
2103 * cspi/spi_accessible.c: update state set stuff to
2106 2002-12-14 Michael Meeks <michael@ximian.com>
2108 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
2109 to avoid 2 roundtrips to the registry per key event
2110 (spi_atk_bridge_key_listener): upd.
2111 (deregister_application): release the dec.
2113 * registryd/registry.c (notify_listeners_cb):
2114 bin lots of re-enterant complexity - we no longer
2115 do a round-trip bonobo ref here, ensure that a single
2116 listener's exception failure won't poison all other
2118 (impl_registry_notify_event): bin obvious memory leak.
2120 2002-12-13 Michael Meeks <michael@ximian.com>
2122 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
2123 init the ev so the error is meaningful.
2124 (spi_atk_bridge_key_listener): ditto.
2126 * cspi/spi_main.c (cspi_ev): init the ev so we start
2127 with a clean slate, otherwise the first exception
2128 kills us completely.
2130 * cspi/spi_text.c (get_accessible_text_boundary_type):
2131 add a fallthrough for no warnings.
2133 * cspi/spi_registry.c: prune unused warnings.
2135 * cspi/spi_main.c (cspi_object_take): fix
2136 mind-blowing brokenness ( by watching the compile
2139 * cspi/spi_accessible.c (Accessible_getStateSet):
2140 re-impl. to use an AtkStateSet.
2141 (spi_state_type_from_accessible_state),
2142 (init_state_table): bin these.
2144 * libspi/stateset.c (spi_atk_state_set_from_sequence):
2146 (atk_state_set_from_accessibility_state_set): here.
2148 * cspi/spi_accessible.c (spi_state_to_atk): impl.
2149 (AccessibleStateSet_contains, AccessibleStateSet_ref),
2150 (AccessibleStateSet_unref, AccessibleStateSet_contains),
2151 (AccessibleStateSet_add, AccessibleStateSet_remove),
2152 (AccessibleStateSet_equals, AccessibleStateSet_compare),
2153 (AccessibleStateSet_isEmpty): re-write to use a local
2156 2002-12-13 Bill Haneman <bill.haneman@sun.com>
2158 * configure.in: Revved to 1.1.7 (new keymask vals).
2160 2002-12-10 Bill Haneman <bill.haneman@sun.com>
2162 * libspi/keymasks.h:
2163 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
2165 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
2168 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
2169 to compare two CORBA_TypeCodes.
2170 (cspi_internal_event_add): Silence warning from FORTE compiler.
2172 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
2173 avoid implicit declaration of functions.
2175 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
2177 * atk-bridge/bridge.c:
2178 (spi_atk_bridge_init_event_type_consts): Store signal id for
2179 active-descendant-changed signal.
2180 (spi_atk_register_event_listeners): Add signal listener for
2181 active-descendant-changed signal,
2182 (spi_atk_bridge_signal_listener): Move code in function
2183 spi_atk-signal_emit_event() into this function.
2184 Add support for active-descendant-changed
2185 Update support for child-changed signal.
2186 (spi_bridge_window_event_listener): Silence warning.
2188 * libspi/spi_private.[ch]:
2189 (spi_init_any_object): Change second parameter from CORBA_Object to
2191 Omit call to CORBA_Object_duplicate().
2192 Set CORBA_any's _value to CORBA_Object*.
2194 2002-12-06 Bill Haneman <bill.haneman@sun.com>
2200 (AccessibleEvent_ref, AccessibleEvent_unref):
2201 New methods, for persisting an event outside the emission context.
2202 Must be used if the new accessor methods are to be called
2203 outside of the event listener's callback.
2205 * cspi/bonobo/cspi-bonobo.c:
2206 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
2207 as second parameter instead of NULL, so we can call
2208 cspi_check_ev afterwards.
2211 (cspi_object_take): New internal method,
2212 converts a CORBA_Object reference to a hard ref on
2213 an Accessible if possible, returning NULL if the object
2214 reference is invalid or an Accessible * otherwise.
2217 (AccessibleEvent_ref):
2218 Increment the event's internal private refcount, and
2219 add the event's internal struct to an internal cache
2220 if it's not already there.
2221 (AccessibleEvent_unref):
2222 Decrement the event's refcount and remove it from
2223 the cspi event cache if refcount==0.
2224 (cspi_event_compare): New private method.
2225 Compares two event structs via their ids. Used
2227 (cspi_internal_event_lookup): New private method.
2228 (cspi_internal_event_check): New private method,
2229 a 0-order sanity check for events to make sure their
2230 private data is intact.
2231 (cspi_internal_event_add, cspi_internal_event_remove):
2232 New private methods for managiing the event cache.
2234 * cspi/bonobo/cspi-bonobo-listener.c:
2236 Initialize the new private data elements (id, magic, ref_count).
2238 * atk-bridge/bridge.c:
2239 (spi_atk_bridge_signal_listener):
2240 Fixed bug #100530, passing wrong params to emission func.
2242 * registryd/deviceeventcontroller.c:
2243 (spi_dec_button_update_and_emit):
2244 Fixed type in mask bit operations; fix for #99799.
2246 2002-12-02 Bill Haneman <bill.haneman@sun.com>
2248 Removed some of the more dangerous workarounds from
2249 previous commit; they are only needed by GOK, which
2250 in reality should be using another method to accomplish
2251 the goals. So on reconsideration some of the workarounds
2252 need to be reverted:
2254 * registryd/deviceeventcontroller.c:
2255 (spi_keycodes_contain, spi_dec_init_keycode_list):
2256 Removed these methods, used only by a nasty hack to try
2257 and detect whether a key synthesis should be allowed
2258 to reset the XKB latch state or not. This code was only
2259 required to work around an interaction between GOK,
2260 button events, and XKB.
2261 (impl_generate_key_event):
2262 Removed hack at end of key generation that tried to
2263 "do the right thing" if XKB latch keys were generated
2264 in the midst of button press/release pairs.
2267 Added a check for HAVE_XINPUT. Not normally used yet.
2269 2002-11-25 Bill Haneman <bill.haneman@sun.com>
2271 Workarounds and fixes for mouse event/XKB interaction.
2273 * registryd/deviceeventcontroller.c:
2274 (spi_keycodes_contain, spi_dec_init_keycode_list):
2275 New internal methods.
2276 (spi_dec_set_unlatch_pending):
2277 Split the method that tells XKB to expect an
2278 unlatch (and revert it) out of the rest of the
2279 event handling code. This method is called by the
2280 two mouse event handlers (the poll and the filter).
2281 (spi_dec_update_and_emit, spi_dec_mouse_check):
2282 New methods split from spi_dec_poll_mouse_moved.
2283 The second one is now called from inside the filterFn
2284 when an XKB delatch event is received, to determine
2285 whether to revert the delatch or not.
2286 (spi_poll_mouse_moved): Refactor; also we can now
2287 properly handle the case where multiple button states
2288 have changed between polling cycles and we didn't get
2289 notified due to another client's grab.
2291 Synchronize the server while handling an XKB notification.
2292 Ugly, but apparently necessary to avoid nasty races.
2293 Check the mouse state on receipt of an XKB latch change,
2294 to decide whether to revert the latch or not. (Latches are
2295 reverted if there is an immediately preceding mouse button
2296 event that a client has consumed, in which case we don't want
2297 the user to see the side-effect of the event).
2298 (spi_device_event_controller_forward_mouse_event):
2299 Check for modifier events and fire before resetting mouse_mask_state,
2300 prevents losing modifier events.
2302 (impl_generate_keyboard_event):
2303 If we've just generated a keyboard event for a non-shift key,
2304 we don't want to revert the pending XKB latch.
2305 Otherwise, check the modifier state (via a call to
2306 spi_dev_mouse_check) and set the relatch mask to
2307 that state before returning.
2309 2002-11-24 Bill Haneman <bill.haneman@sun.com>
2312 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
2315 * atk-bridge/bridge.c:
2316 (spi_atk_register_event_listeners):
2317 Don't re-register for ATK events if the registry has died
2318 and the app needs to re-register; the ATK listeners are in
2319 process and doing so will cause duplicate emission.
2321 * registryd/deviceeventcontroller.c:
2322 (spi_poll_mouse_moved):
2323 Reformat the source, detect and emit multiple button-change
2324 events (i.e. if multiple buttons have changed between poll
2326 Add code to detect mouse-down events even when the pointer
2327 is grabbed; workaround for GOK bug 98420.
2328 (spi_controller_register_with_devices):
2329 Call XTestGrabControl with 'impervious' flag set to True,
2330 allows us to synthesize events and query the pointer even during
2331 an active grab by another client.
2332 (spi_device_event_controller_forward_mouse_event):
2333 Set the mouse_mask_state to the mouse_button_state from
2334 the intercepted event, to synchronize the grab listener with
2337 2002-11-20 Bill Haneman <bill.haneman@sun.com>
2339 * cspi/spi_accessible.c:
2340 (AccessibleRole_getName):
2341 Added necessary strings for making this (deprecated)
2342 method work with the new role types.
2343 (init_role_table, role_table):
2344 Added definition of SPI_ROLE_APPLICATION.
2346 * libspi/spi-roletypes.h:
2347 Added SPI_ROLE_APPLICATION.
2349 * idl/Accessibility_Role.idl:
2350 Added ROLE_APPLICATION.
2352 * docs/reference/cspi/at-spi-cspi-decl.txt:
2353 Added SPI_ROLE_APPLICATION to docs.
2355 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
2357 * cspi/spi_accessible.c
2358 (cspi_init_role_table): Do not write beyond end of role_table.
2359 (Accessible_getRole): Use correct type for value returned by
2360 Accessibility_Accessible_getRole().
2362 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
2363 beyond end of role_table. (This fixes bug #98269)
2365 * libspi/application.c: Add include file spi-private.h for
2366 definition of spi_init_any_nil.
2368 2002-11-19 Bill Haneman <bill.haneman@sun.com>
2372 * libspi/spi-private.h:
2373 Added DGB() macro, and extern int _dbg declaration.
2375 * registryd/registry.c:
2376 (definitions) storage for _dbg.
2377 (spi_registry_init):
2378 Get environment variable "AT_SPI_DEBUG".
2379 (spi_registry_set_debug):
2380 New method, to initialize _dbg value.
2381 (spi_listener_struct_new, spi_registry_object_finalize):
2382 (notify_listeners_cb):
2383 Changed fprintfs to use DBG and g_warning().
2385 * registryd/deviceeventcontroller.c:
2386 (_deregister_keygrab, spi_controller_register_device_listener):
2387 Changed debug/warning messages to use DBG macro.
2389 * libspi/listener.c:
2390 (impl_notify_event):
2391 Changed warning messages to use DBG macro and g_warning().
2393 * atk-bridge/bridge.c:
2394 (atk_bridge_init, spi_atk_bridge_get_registry):
2395 (spi_atk_bridge_exit_func):
2396 (spi_atk_bridge_property_event_listener):
2397 Changed status, warning, and error messages to use
2398 g_warning, g_message, and DBG macros.
2401 Read the state of the AT_SPI_DEBUG environment variable
2402 and set a local '_dbg' accordingly.
2404 2002-11-19 Bill Haneman <bill.haneman@sun.com>
2406 FIXES for 98836, 98842, other bugs.
2409 Revved to 1.1.4, interface-age=4, binary-age=4.
2411 * registryd/deviceeventcontroller.c:
2413 Fixed crasher bug in last_mouse_pos initialization.
2415 * registryd/registry.c:
2416 (desktop_add_application, desktop_remove_application):
2417 Added (and then commented out) some support for
2418 object context marshalling. [TODO]
2420 * atk-bridge/bridge.c:
2421 (spi_atk_bridge_event_context_create):
2422 Commented out object context creation until it can
2423 be properly tested and debugged.
2425 * registryd/registry.c:
2426 (impl_registry_notify_event):
2427 Fixed crasher bug, we were calling
2428 spi_re_entrant_list_foreach () with an empty list.
2430 2002-11-18 Bill Haneman <bill.haneman@sun.com>
2432 * idl/Accessibility_Action.idl:
2433 * idl/Accessibility_Component.idl:
2434 * idl/Accessibility_Desktop.idl:
2435 * idl/Accessibility_Event.idl:
2436 * idl/Accessibility_Hyperlink.idl:
2437 * idl/Accessibility_Image.idl:
2438 * idl/Accessibility_Relation.idl:
2439 * idl/Accessibility_Selection.idl:
2440 * idl/Accessibility_State.idl:
2441 * idl/Accessibility_Value.idl:
2442 Updated unimplemented slot count to minimum of
2443 four for all interfaces, for ABI freeze.
2445 * idl/Accessibility_EditableText.idl:
2446 * idl/Accessibility_Text.idl:
2447 Updated unimplemented slot count to six
2450 * idl/Accessibility_Registry.idl:
2451 Updated unimplemented slot count to six
2452 (also for DeviceEventController),
2455 * idl/Accessibility_Table.idl:
2456 Updated unimplemented slot count to eight,
2459 * idl/Accessibility_Event.idl:
2460 Added CORBA_any "any_data" member to Event struct.
2462 * idl/Accessibility_Event.idl:
2463 Added CORBA_any "any_data" member to Event struct.
2465 * atk-bridge/bridge.c:
2467 atk_signal_text_changed, atk_signal_child_changed,
2468 signal ids queried from gtype system.
2469 (AtkBridgeEventContextType): New enum.
2470 (AtkBridgeEventContextData): New struct.
2471 (AtkBridgeEventContext): New struct.
2472 (atk_bridge_init_event_type_consts):
2473 New method, initializes type contants for comparison
2474 prior to emit_eventv.
2475 (atk_bridge_event_context_init): New method,
2476 initializes a CORBA_any from an AtkBridgeEventContext.
2477 (atk_bridge_focus_tracker): Call spi_init_any_nil to
2478 initialize the event.any_data struct.
2479 (spi_atk_bridge_event_context_create): New method,
2480 creates an AtkBridgeEventContext from signal/event info.
2481 (spi_atk_bridge_event_context_free): New method.
2482 (spi_atk_emit_eventv): Changed to take an
2483 AtkBridgeEventContext parameter. We now initialize
2484 the event.any_data member prior to notifying the
2485 Registry, via the AtkBridgeEventContext.
2486 (spi_atk_bridge_property_event_listener):
2487 (spi_atk_bridge_state_event_listener):
2488 Match emit_eventv signature.
2489 (spi_atk_bridge_object_event_listener):
2490 Match emit_eventv signature, and create an
2491 event context from the event details.
2492 Free the event context afterwards.
2493 (spi_atk_bridge_window_event_listener):
2494 Create an event context, pass it to the
2498 (AccessibleEvent_getContextString):
2499 (AccessibleEvent_getContextObject):
2500 New methods, allow query of AccessibleEvent objects
2501 for more context details (via the "any_data" member
2502 of the Event struct, above).
2505 Definitions for AccessibleEvent_getContextString
2506 and AccessibleEvent_getContextObject.
2508 * cspi/spi_listener.h:
2509 (InternalEvent): New struct.
2512 (AccessibleEvent_getContextString):
2513 (AccessibleEvent_getContextObject):
2514 Implementations of new methods, for obtaining
2515 additional context information from some event types.
2517 * cspi/spi_registry.c:
2518 (SPI_registerGlobalEventListener):
2519 Added mention of active-descendant-changed event in docs.
2521 * cspi/cspi-bonobo-listener.c:
2523 Marshal the any into the AccessibleEvent via
2526 * libspi/spi-private.h:
2527 #include <orbit/orbit.h>
2529 (spi_init_any_string):
2530 (spi_init_any_object):
2531 New convenience function declarations.
2535 (spi_init_any_string):
2536 (spi_init_any_object):
2537 New convenience function implementations.
2539 * registryd/deviceeventcontroller.c:
2540 (spi_poll_dec_mouse_moved):
2541 (spi_device_event_controller_forward_mous_event):
2542 Initialize any_data member of event.
2543 (spi_deregister_controller_device_listener):
2544 Fix incorrect param pass which was preventing deregistration.
2546 * registryd/registry.c:
2547 (desktop_add_application):
2548 (desktop_remove_application):
2549 Add object data to event's any_data before dispatch.
2551 Fix for error messages from GAIL.
2553 * test/event-listener-test.c:
2554 Test new ContextString and "any_data" API:
2555 (report_text_event): New method query and output context string.
2556 (main): register a new text listener with report_text_event
2559 2002-11-19 Darren Kenny <darren.kenny@sun.com>
2561 Fixes for bugs 98127 and 97914.
2562 * cspi/spi-roletypes.h:
2563 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
2565 * cspi/spi-statetypes.h:
2566 Added SPI_STATE_MANAGES_DESCENDANTS
2568 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
2569 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
2570 * cspi/spi_accessible.c:
2571 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
2572 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
2573 Accessibility_STATE_MANAGES_DESCENDANTS
2574 * libspi/accessible.c:
2575 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
2576 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
2577 As requested by Bill, I also cleaned up the alignment.
2578 * libspi/relation.c:
2579 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
2580 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
2581 * libspi/stateset.c:
2582 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
2583 Accessibility_STATE_MANAGES_DESCENDANTS
2584 * docs/reference/cspi/tmpl/spi_accessible.sgml:
2585 Document changes reflecting modifications to roles.
2586 * docs/reference/cspi/tmpl/spi_relation.sgml:
2587 Document changes reflecting modifications to relations.
2588 * docs/reference/cspi/tmpl/spi_stateset.sgml:
2589 Document changes reflecting modifications to states.
2591 2002-11-17 Bill Haneman <bill.haneman@sun.com>
2594 Revved to 1.1.3, interface-age=3, binary-age=3.
2595 Added REBUILD macro.
2598 Removed accessx-gui from the tests, since we have a nice
2599 keyboard accessibility capplet now :-)
2601 * test/keysynth-demo.c:
2602 (increment_scan): removed do-nothing default: case,
2605 * test/visual-bell.c:
2606 (main) : removed do-nothing default: case,
2609 * cspi/spi_action.c:
2610 (AccessibleAction_getKeyBinding_):
2611 Documented keybinding string format.
2615 (AccessibleText_getAttributes):
2616 Documented the text attribute string format.
2617 It's changed to use semicolon delimiters also,
2618 to prevent clashes with CSS attributes, but the old
2619 trick of looking for ", " strings will still work
2620 (as unreliably as ever). Fix for bug related to 97916.
2623 Include <cspi/bonobo/cspi-bonobo-listener.h>
2624 Fixes build warning.
2625 (SPI_freeAccessibleKeySet):
2626 (AccessibleKeystrokeListener_addCallback):
2627 (AccessibleKeystrokeListener_removeCallback):
2628 Modify to use AccessibleDeviceListener API internally,
2629 instead of AccessibleKeystrokeListener.
2631 * idl/Accessibility_Event.idl:
2632 Added two more empty slots to EventListener (for a total of four).
2634 * idl/Accessibility_Accessible.idl:
2635 Added four empty slots to Accessible interface.
2637 2002-11-15 Bill Haneman <bill.haneman@sun.com>
2639 * idl/Accessibility_Registry.idl:
2640 (KeyEventType, EventType):
2641 Marked KeyEventType as deprecated; it duplicates
2642 functionality of EventType, which has been extended to
2643 include Mouse-button events.
2644 (KeyEventTypeSeq): defined in terms of EventType.
2645 (registerDeviceEventListener, deregisterDeviceEventListener):
2646 New methods, for managing listeners to device events,
2647 which potentially may consume them.
2650 Added definition for AccessibleDeviceListener.
2652 * cspi/spi-listener.h:
2653 (enum AccessibleDeviceEventType):
2654 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
2655 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
2656 for backwards compat.
2657 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
2658 and typedef'd AccessibleKeystroke to it for back-compat.
2659 (AccessibleDeviceListenerCB):
2660 New function prototype typedef.
2663 (AccessibleDeviceEventMask): New typedef.
2664 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
2665 (AccessibleKeyMaskType):
2666 Set equivalent to AccessibleModifierMaskType for back-compat.
2667 (SPI_createAccessibleKeystrokeListener):
2668 (AccessibleKeystrokeListener_unref):
2669 Deprecated in favor of equivalent (better-named) new API below..
2670 keystroke listeners are like all device listeners.
2671 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
2672 New API names for old features :-).
2673 (AccessibleDeviceListener_addCallback):
2674 (AccessibleDeviceListener_removeCallback):
2675 (SPI_registerDeviceEventListener):
2676 (SPI_deregisterDeviceEventListener):
2680 (SPI_createAccessibleKeystrokeListener):
2681 Use new preferred API, cspi_device_listener_new() and
2682 cspi_device_listener_add_cb().
2683 (AccessibleKeystrokeListener_removeCallback):
2684 Use new preferred API, cspi_device_listener_remove_cb().
2685 (AccessibleKeystrokeListener_unref):
2686 Use new preferred API, cspi_device_listener_unref().
2687 (SPI_createAccessibleDeviceListener):
2688 (AccessibleDeviceListener_addCallback):
2689 (AccessibleDeviceListener_removeCallback):
2690 Implementation of new API.
2692 * cspi/spi_registry.c:
2693 (SPI_registerDeviceEventListener):
2694 (SPI_deregisterDeviceEventListener):
2695 Implementation of new API. Fixed memory leak and removed need to
2696 allocate EventTypeSeq (thanks Michael for catching this).
2697 Squashed a wayward CORBA_exception_free that shouldn't get called.
2699 * cspi/bonobo/cspi-bonobo-listener.c:
2701 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
2702 (cspi_key_event): renamed to cspi_device_event().
2703 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
2704 Extended to handle mouse button events as well as key events.
2705 (CSpiKeystrokeListener):
2706 Class superceded by CSpiDeviceListener.
2707 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
2708 These internal APIs changed to "*device_listener" from "*keystroke_listener".
2710 * cspi/bonobo/cspi-bonobo-listener.h:
2711 (CSpiKeystrokeListener):
2712 Class superceded by CSpiDeviceListener.
2713 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
2714 These internal APIs changed to "*device_listener" from "*keystroke_listener".
2716 * libspi/Makefile.am:
2717 Replaced keystrokelistener.h and keystrokelistener.c
2718 with devicelistener.h and devicelistener.c; keystrokelisener.h
2719 stub retained for back-compat.
2721 * libspi/keystrokelistener.c:
2725 Replaced inclusion of keystrokelistener.h with devicelistener.h.
2727 * registryd/deviceeventcontroller.c:
2728 (DEControllerListener): Added Accessibility_EventTypeSeq member.
2729 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
2730 (DEControllerPrivateData): Added xkb settings data.
2731 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
2732 button release events (which can't be captured via XGrabButton).
2733 Don't dispatch via the 'normal' event mechanism if the device event was
2735 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
2736 Handle the typeseq data in its new location (see above).
2737 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
2738 New methods, for "generic" device listeners.
2739 (spi_controller_register_device_listener):
2740 Now handle mouse event listeners as well as key listeners.
2741 (spi_controller_notify_mouselisteners):
2742 New internal method.
2743 (spi_device_event_controller_forward_mouse_event):
2744 Now we notify mouse device listeners as well as generating the
2745 non-consumable "mouse:" events.
2747 We must check and restore the XKB
2748 modifier map if we consume the event, since the act of triggering
2749 a mouse event will normally reset the XKB latch. This is required for
2751 (spi_controller_register_with_devices):
2752 Load the XKB settings when registering, and register for XKB
2753 state notify events.
2754 (spi_key_eventtype_seq_contains_event):
2755 Renamed spi_eventtype_seq_contains_event, since it's used
2756 internally for all device event types now.
2757 (spi_key_event_matches_listener):
2758 Uses spi_eventtype_seq_contains_event now.
2759 (spi_device_event_controller_object_finalize):
2760 Free the private data and the XkbKeyboard struct.
2761 (impl_register_device_listener, impl_deregister_device_listener):
2762 Implementation of new IDL.
2763 (spi_deregister_controller_device_listener):
2764 New internal method.
2765 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
2766 More efficient implementation, we don't have to create a new
2767 XkbControls structure every time we query.
2768 (spi_device_event_controller_class_init):
2769 Initialize the epv entries for the new IDL. Assign the
2770 "spi-dec-private" quark.
2771 (spi_device_event_controller_init):
2772 Initialize the private data.
2773 (spi_device_event_controller_forward_key_event):
2774 Removed a bogus CORBA_exception_free() call.
2776 * registryd/deviceeventcontroller.h:
2777 Replaced inclusion of keystrokelistener.h with
2780 * test/event-listener-test.c:
2781 (report_mouse_event):
2784 Added mouse-event device listener.
2786 * test/test-simple.c:
2787 (create_test_window):
2788 Fixed regression (we were instantiating a GtkRange,
2789 which is now an abstract class). Also fixed to match
2790 existing AtkRole names, this seems to have changed in ATK
2791 awhile ago; too late now I think, and the new
2792 mechanism is at least elegant and consistent with the
2793 glib enum "nick" APIs.
2795 2002-11-15 Darren Kenny <darren.kenny@sun.com>
2797 * idl/Accessibility_Relation.idl:
2798 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
2799 RELATION_EMBEDS,RELATION_EMBEDDED_BY
2800 * idl/Accessibility_Role.idl:
2801 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
2802 * idl/Accessibility_State.idl:
2803 add STATE_MANAGES_DESCENDANTS
2804 * test/event-listener-test.c:
2805 Added a listener for active-descendant events.
2807 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
2809 * atk-bridge/bridge.c
2810 (atk_bridge_init): If application is Bonobo component wait until top
2811 level is added before registering
2812 (spi_atk_bridge_do_registration): New function which contains code,
2813 formerly in atk_bridge_init, to do application registration.
2814 (spi_atk_bridge_toplevel_added): Signal called when top level
2815 added to Bonobo component
2817 This fixes bug #83134.
2819 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
2821 * registryd/deviceeventcontroller.c
2822 Fixed compilation error caused by calling gettimeofday()
2825 2002-10-18 Bill Haneman <bill.haneman@sun.com>
2830 Added template for HAVE_XKB.
2833 Changes to check for XKB, and to set the HAVE_XKB #define if it
2836 * libspi/listener.c:
2837 ()impl_notify_event): Make failure to get event source name
2840 * registryd/deviceeventcontroller.c:
2841 (#include): include X11/XKBlib.h.
2842 (DEControllerPrivateData) : New struct.
2843 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
2845 (dec_synth_keycode_press) (dec_synth_keycode_release):
2846 New methods; split the key synthesis code into these methods.
2847 They check XKB settings before determining the "time" values to
2848 pass to Xtest; this fixes bug #95828.
2849 (impl_generate_keyboard_event): Changed to use methods above,
2850 instead of callng Xtest directly.
2851 (spi_device_event_controller_init): Initialize new privae struct s
2853 (spi_device_event_controllr_object_finalize):
2854 Free the (new) private data.
2856 * registryd/deviceeventcontroller.h:
2857 Add new gpointer to end of struct data.
2859 2002-10-16 Bill Haneman <bill.haneman@sun.com>
2862 Incremented revision to 1.1.2, SONAME is still '.so', library
2863 extensions are ".so.0.0.2".
2865 * registryd/deviceeventcontroller.c:
2866 FIXES FOR #93592 and #95940.
2867 (statics): renamed mouse_button_state to mouse_mask_state,
2868 added key_modifier_mask.
2869 (spi_dec_poll_mouse_moved):
2870 Added key modifier checks, and emit "keyboard:modifiers"
2871 events when the key modifiers currently in use change.
2872 Also generate "mouse:abs" events periodically, even if the mouse
2873 is stationary (should we?).
2874 Alternatively we could generate "mouse:abs" events for either all
2875 mouse movements, or every 'nth' mouse movement, or at the
2876 beginning and end of every "active" mouse period.
2878 * test/event-listener-test.c:
2879 (main): Added listener for "keyboard:modifiers" events.
2881 2002-10-15 Bill Haneman <bill.haneman@sun.com>
2883 * libspi/keymasks.h:
2884 Added key mask #defines for mouse buttons; e.g.
2885 SPI_KEYMASK_BUTTON1, etc.
2888 Incremented dependency on ATK to version 1.1.0. (This dependency
2889 is probably premature but will soon be real enough).
2891 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
2893 * libspi/hyperlink.[ch]
2894 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
2895 (get_hyperlink_from_servant): Check object is AtkHyperlink not
2898 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
2903 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
2905 * registryd/deviceeventcontroller.c
2906 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
2907 events to be ignored.
2908 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
2909 keyboard_mode so that XAllowEvents() can be called.
2913 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
2915 * cspi/spi-accessible.c: Correct names of roles returned by
2916 AccessibleRole_getName(). Fixes bug #95055.
2918 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
2920 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
2923 * registryd/registry.c
2924 (desktop_remove_application: Write diagnostic message to stderr for
2927 (impl_accessibility_registry_deregister_global_event_listener):
2928 Correct size of lists array. This addresses bug #94555).
2930 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
2932 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
2935 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
2937 * registryd/Makefile: Add CLEANFILES so that .server file is removed
2940 * registryd/registry.c (impl_registry_notify_event): Remove
2941 unnecessary call to parser_event_type().
2943 * docs/reference/cspi/tmpl/spi_component.sgml:
2944 Add reference to SPI_LAYER_WINDOW.
2946 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
2948 * registryd/registry.c
2949 (desktop_add_application): Remove leak.
2950 (desktop_remove_application): Remove leak.
2951 (parser_event_type): Remove leak.
2953 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
2955 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
2956 bogus call to CORBA_string_dup(). Also removed unnecessary
2957 g_string_dup/g_free calls.
2959 2002-09-13 Bill Haneman <bill.haneman@sun.com>
2961 * registryd/deviceeventcontroller.c:
2962 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
2964 * test/event-listener-test.c:
2965 main: commented out three redundant listeners, to reduce output
2966 noise. (They still are potentially useful for testing).
2969 2002-09-13 Michael Meeks <michael@ximian.com>
2971 * Update all the copyrights to include Ximian.
2973 2002-09-06 Mark McLoughlin <mark@skynet.ie>
2975 * cspi/spi.h: add SPI_LAYER_WINDOW.
2977 * cspi/spi_component.c: (AccessibleComponent_getLayer):
2978 add Accessibility_LAYER_WINDOW case.
2980 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
2982 * libspi/component.c: (impl_accessibility_component_get_layer):
2983 add ATK_LAYER_WINDOW case.
2985 2002-08-28 Bill Haneman <bill.haneman@sun.com>
2987 * configure.in: incremented micro version.
2989 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
2991 2002-08-20 Bill Haneman <bill.haneman@sun.com>
2994 Clarified and reworded our commit policy.
2997 Started an API "todo" addition list for 2.2.
3000 (impl_getSelection):
3001 Free char pointer from atk_text_get_selection, which was being leaked.
3003 2002-08-19 Bill Haneman <bill.haneman@sun.com>
3006 Small revision to author acknowledgement.
3008 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
3010 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
3011 If signal has detail add it to the type of the event.
3014 2002-08-12 Michael Meeks <michael@ximian.com>
3016 * test/test-simple.c (global_listener_cb): bin bogosity.
3017 (test_keylisteners): disable, still doesn't work reliably,
3018 certainly not on my system anyway.
3020 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
3021 don't leak a reference on the DEC. This round-trip
3022 fetching of the DEC per keystroke sucks, it should be
3025 * cspi/spi-private.h,
3026 * cspi/cspi-lowlevel.h,
3027 * cspi/bonobo/cspi-bonobo-listener.[ch],
3028 * cspi/bonobo/cspi-bonobo.c: get the copyright
3029 notices better - there is still a large amount of
3030 work in at-spi falsely attributed solely to Sun.
3032 * cspi/spi_main.c (cspi_object_ref): kill bogus
3033 hash lookup, just increment the ref.
3034 (SPI_freeString): make explicit the fact that we
3035 handle NULL strings just fine.
3036 (report_leaked_ref): obey coding standards.
3037 (cspi_object_hash, cspi_object_equal): kill retval.
3038 (cspi_object_release): only release if not on loan.
3039 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
3040 (cspi_object_borrow, cspi_object_return): impl.
3042 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
3043 use cspi_object_borrow / return.
3045 2002-08-12 Darren Kenny <darren.kenny@sun.com>
3047 * cspi/bonobo/cspi-bonobo-listener.c:
3049 Don't call cspi_oject_new() because this is creating a new Accessible
3050 every single time that an event is fired. This causes ATs like at-poke
3051 to nolonger recognise the source of the event and thus ignore it.
3052 Re-use the object from the cache, ref it and then unref it after the
3053 listeners have been called.
3055 2002-08-06 Darren Kenny <darren.kenny@sun.com>
3057 * test/event-listener-test.c:
3058 Added command-line options to disable mouse events (m) and
3061 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
3063 * configure.in: Update required versions of ATK, GTK+ and GAIL
3065 * cspi-1.0.pc.in: Add dependency for X include files
3068 * cspi/bonobo/Makefile.am:
3069 Add $(X_CFLAGS) so that X include files
3070 are picked up even if not in standard place (bug #71686)
3072 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3074 * registryd/deviceeventcontroller.c: fix for 84261
3075 (spi_dec_mouse_moved):
3076 Added test of mouse button mask, so that we can detect mouse
3077 button release. Unfortunately we can't otherwise detect mouse
3078 button release events without consuming the mouse press event,
3079 because of the way XGrabButton works. This means that our mouse
3080 release events have a latency dependent on the polling period
3081 while the mouse button is down. At least in this case we only
3082 have to poll while the button is down, and not at other times.
3083 If the button masks don't match with what the last press event
3084 reported, we report the appropriate button release event.
3085 (spi_dec_ungrab_mouse):
3086 New method (not yet called).
3087 (spi_device_event_controller_forward_mouse_event):
3088 New method, sends mouse press event from GdkFilter.
3089 (spi_dec_init_mouse_listener):
3090 Added code to call XGrabButton, redirecting mouse button events to
3091 the root window and our Gdk event loop.
3093 Added code to filter mouse button events, and reordered.
3095 * test/event-listener-test.c:
3097 Added registration for mouse events of type "mouse:button".
3099 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3101 * registryd/deviceeventcontroller.c: partial fix for 84261
3102 (spi_dec_poll_mouse_idle):
3103 New method, a timeout which checks to see if the mouse
3105 (spi_dec_poll_mouse_moving):
3106 A timeout to be called when mouse motion is underway.
3107 (spi_dec_poll_mouse_moved):
3108 A method which fires an event if the mouse has moved, and reports
3109 whether or not it did so.
3110 (spi_dec_init_mouse_listener):
3111 A method which sets up the timeouts above.
3112 (spi_device_event_controller_new):
3113 Now calls spi_dec_init_mouse_listener.
3115 * registryd/registry.c:
3116 (spi_registry_init):
3117 Now we initialize the device event controller when the registry is
3118 initialized, instead of waiting until a client has requested a key
3119 event notification; this is because we need the event controller
3120 for mouse events, but the mouse event registration API is a
3121 "registry" call and doesn't explicitly call the
3122 deviceeventcontroller.
3123 We now report mouse motion events with a 100 ms idle latency and
3124 a 20 ms granularity when motion is in progress.
3126 * test/event-listener-test.c:
3128 We now register the "detail listener" for events of type
3129 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
3130 delivered only for the first mouse event received, and thereafter
3131 "mouse:abs" events are delivered.)
3133 * cspi/spi_registry.c:
3134 DOCS: Documented the above mouse event typestrings.
3136 2002-06-21 Bill Haneman <bill.haneman@sun.com>
3138 Happy Summer Solstice...
3140 * registryd/deviceeventcontroller.c: [fix for bug 84100]
3141 (spi_controller_notify_keylisteners):
3142 Changes to remove a listener from the listener list, freeing its
3143 open keygrabs, if a notification to that listener fails. This
3144 means that although a dead listener can continue to hold a passive
3145 keygrab, a maximum of one dispatch to such a listener can fail
3146 before the listener is removed from the list, thus the keygrab
3147 will be released on the next occurrence.
3148 As part of this fix:
3149 (spi_notify_keylisteners):
3150 Renamed to spi_controller_notify_keylisteners, as the controller
3151 instance must now be passed as an argument.
3152 The copied 'notify' GList is now a list of DEControllerKeyListener
3153 objects, since we need more than just the CORBA reference if a
3154 notify fails and we need to deregister the listener.
3155 (impl_notify_listeners_sync):
3156 (impl_notify_listeners_async):
3157 (spi_device_event_controller_forward_key_event):
3158 Modify use of notify_keylisteners in accordance with above
3160 (spi_deregister_controller_key_listener):
3161 New method introduced by refactoring, from
3162 impl_deregister_keystroke_listener.
3163 (impl_deregister_keystroke_listener):
3164 Call spi_deregister_controller_key_listener.
3165 (spi_key_listener_clone):
3166 New method to copy a key listner without doing a 'ref' on the
3167 remote object instance; used to create a notifier list.
3168 (spi_key_listener_data_free):
3169 New method, frees data without unreffing the source.
3171 (spi_key_listener_clone_free): new method.
3172 (spi_key_listener_free):
3173 refactored to call spi_key_listener_data_free.
3175 2002-06-20 Bill Haneman <bill.haneman@sun.com>
3177 * registryd/registry.c: [fix for bug 86048]
3178 (notify_listeners_cb):
3179 Clear CORBA system exceptions which occur when notifying
3180 listeners, before returning to the source of the original event,
3181 since the event source doesn't care if the relayed notify failed.
3182 In other words, don't complain to the atk-bridge if the registry
3183 could not notify all its listeners, that's no fault of the
3184 application and thus should not appear to be an error from the
3185 application's perspective.
3187 * cspi/spi_main.c: [fix for bug 85980]
3189 Replaced use of bonobo_object_dup_ref with call to the wrapper
3190 method, csou_dup_ref (); this silences a compiler warning and
3191 provided more portability.
3193 Ping the registry before return, and restart if necessary.
3195 * cspi/bonobo/cspi-bonobo.c:
3197 New internal method.
3199 Fixed this method to return an object reference, as it should have
3202 * cspi/cspi-lowlevel.h:
3203 Added internal definition for cspi_ping() and fixed
3204 return type of cspi_dup_ref().
3207 2002-06-19 Bill Haneman <bill.haneman@sun.com>
3209 * atk-bridge/bridge.c: [fix for bug 85305]
3210 (spi_atk_bridge_register_application):
3211 New method where the initial application registry calls have been
3212 moved; it allows an application to re-register in response to
3213 certain error conditions (such as a registry restart, see below).
3215 Moved some initialization code to the method
3216 spi_atk_bridge_get_registry, below.
3217 (spi_atk_bridge_get_registry):
3218 New, private accessor function for the Accessibility_Registry
3219 instance. If the registry has not been started before, or has
3220 died (as detected by failure of a CORBA exception), it is
3221 restarted before return, and spi_atk_bridge_register_application
3222 is called again to register with the new bridge instance.
3223 (spi_atk_emit_eventv):
3224 Set registry_died on error; use spi_atk_bridge_get_registry () to
3225 access the registry.
3227 * registryd/registry.c:
3228 (impl_accessibility_registry_register_global_event_listener):
3229 Set listener's event_type_quark to etype.minor instead of
3230 etype.major (fix for bug 84856).
3232 * test/event-listener-test.c:
3233 (report_detail_event):
3234 Change the output string so that user/tester can tell that the
3235 'detail listener' was called instead of the 'generic listener'.
3237 2002-06-18 Bill Haneman <bill.haneman@sun.com>
3239 Fixes for bugs 84900, 84908, 84897, 84898.
3244 Revved version to 1.1.0
3245 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
3246 version is going to HEAD which will be used for gnome-2-0-1 and later.)
3248 * idl/Accessibility_Registry.idl:
3249 (EventListener::notifyEvent):
3250 Removed 'oneway' directive after extensive consulation with
3251 ORBit2 team and others. This means also that unref() of the event
3252 source can and should be done synchronously after emission, rather
3253 than remotely in the client, after servicing the notify call on
3256 NOTE: This change speeds up listener performance considerably, but
3257 introduces new latency on the application side. We may want to
3258 add an event queue to the atk-bridge.
3260 * atk-bridge/bridge.c:
3261 (spi_atk_bridge_focus_tracker):
3262 Do a local unref() on the event source after emission.
3264 * registryd/registry.c:
3265 (desktop_remove_application):
3266 Do an unref() on the event source after emission.
3267 (desktop_add_application):
3268 Do an unref() on the event source after emission.
3269 (notify_listeners_cb):
3270 When relaying an event, don't automatically add the event source
3271 to the local object cache, just CORBA_dup it instead. Likewise,
3272 if this method reenters, release the ref rather than calling
3274 (impl_registry_notify_event):
3275 No longer call remote unref() on the event source after dispatch.
3277 * libspi/eventlistener.c:
3278 (impl_accessible_event_notify_event):
3279 Removed remote unref ()
3281 * cspi/bonobo/cspi-bonobo-listener.c:
3283 We now call cspi_object_new() instead of cspi_object_add() on
3284 receipt of an event; thus we only have an implicit object ref
3285 while the cspi_event method is being executed. If we need to keep
3286 a reference to the object, the listener must call ref() on the
3287 object. Thus also we don't need to call cspi_object_unref() after
3288 invoking the listener callbacks in this method.
3292 New internal API for creating a new cspi object, without adding it
3293 to the object cache.
3295 Now uses cspi_object_new() to create the cspi object instance.
3297 Now checks to see if the object is in the internal object cache,
3298 and adds it if necessary before incrementing its refcount (note
3299 that new objects are added with a refcount of 1).
3300 (report_leaked_ref):
3301 New method which gives some information on leaked object instances
3302 if leak detection is turned on.
3304 * test/event-listener-test.c:
3305 (timing_test_event):
3306 New method, used for testing event delivery timing for special
3307 events of type "object:test". It reports elapsed time and
3308 events/sec every 500 events.
3310 Added a new listener, 'test listener', to check timing of event
3311 receipt as noted above.
3313 Added some timing output here also, reports elapsed time every 100
3316 * test/stress-test.c:
3317 Emit events of type "object:test", for use with "event-listener-test".
3319 * test/test-simple.c:
3320 (global_listener_cb):
3321 Call Accessible_ref() on the event source before calling
3322 validate_accessible, since the validation process does pointer
3323 comparisons on the event source, meaning that the event source
3324 needs to be added to the local object cache first. Any use of
3325 such pointer comparisons between Accessible objects requires that
3326 the caller hold an explicit reference to those objects.
3327 We also must therefore call Accessible_unref() when leaving this method.
3329 2002-06-13 Bill Haneman <bill.haneman@sun.com>
3331 * registryd/deviceeventcontroller.c:
3332 (spi_controller_update_key_grabs):
3333 Fix for #84735, subsequent keygrab listeners not informed of
3334 registration failure.
3337 (spi_base_construct):
3338 Add an assertion on construct, to make sure the GObject passed in
3339 is really a GObject.
3341 Explicitly initialize object->gobj pointer to NULL;
3343 * cspi/bonobo/cspi-bonobo-listener.c:
3344 (cspi_object_add_ref):
3345 New method, can specify whether to dup-ref a bonobo object passed
3346 in if it's newly added to the object cache.
3348 Now calls cspi_object_add_ref with second param of "FALSE". This
3349 prevents us from doing a pointless dup-ref followed by
3350 release-unref for all those cases where the object is already in
3351 our object cache (fix for #85205).
3353 * atk-bridge/bridge.c:
3354 (spi_atk_bridge_idle_init):
3355 Removed this method, we don't need to initialize in an idle
3358 Changed to call spi_atk_register_event_listeners directly, not via an
3359 idle handler. (fix for #81139)
3360 (gnome_accessibility_module_shutdown):
3361 Removed conditional around deregistration of listeners, since we
3362 don't use the idle handler and thus have always registered when
3364 (spi_init_keystroke_from_atk_key_event):
3365 Changed references to Accessibility_KEY_PRESSED to
3366 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
3368 2002-06-12 Bill Haneman <bill.haneman@sun.com>
3370 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
3375 * test/stress-test.c:
3378 (may have been an incomplete commit yesterday?)
3380 2002-06-12 Bill Haneman <bill.haneman@sun.com>
3383 Added target for new stress-test.
3385 * test/stress-test.c:
3386 New test, sends 1000 focus notifies in quick succession.
3388 * test/key-listener-test.c:
3389 Now we report whether a keylistener registration
3390 request succeeded or failed.
3392 * test/event-listener-test.c:
3393 Uncommented some listeners which are now implemented.
3396 2002-06-06 Bill Haneman <bill.haneman@sun.com>
3398 * registryd/deviceeventcontroller.c:
3399 (spi_controller_update_key_grabs):
3400 Fix for #82509, lack of failure notification when
3401 ALL_WINDOWS keygrabs fail due to XGrabKey
3402 failure: we synchronize the server when
3403 registering a passive grab, to make sure we get the
3404 error message before the call returns.
3406 2002-06-03 Bill Haneman <bill.haneman@sun.com>
3408 * test/test-simple.c:
3410 Removed #ifdef KEY_IMPL_WORKS guards.
3411 (test_keylisteners):
3412 Removed #ifdef KEY_IMPL_WORKS guards.
3413 Fixed bug which was causing a hang waiting for a
3414 "press" event (which was already overwritten by a "release"
3415 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
3417 Added code to set globals 'key_press_received' and
3418 'key_release_received'.
3421 Added section "1.1 API Proposed Additions" which
3422 lists API additions desired for at-spi-1.1 (only one so far).
3423 Updated TODO list a little.
3425 2002-06-02 Bill Haneman <bill.haneman@sun.com>
3427 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
3430 * configure.in: Revved to 1.0.0.
3432 * idl/Accessibility_Registry.idl:
3433 (registerKeystrokeListener):
3434 Added boolean return value.
3436 * registryd/registry.c:
3437 (notify_listeners_cb): Minor fix to debug output.
3439 * registryd/Accessibility_Registry.server.in.in:
3440 Revved version number in OAFIID to 1.0.
3442 * registryd/registryd.c:
3444 Use new OAFIID version.
3446 * cspi/bonobo/cspi-bonobo.c:
3448 Use new OAFIID version.
3454 * atk-bridge/bridge.c:
3456 Use new OAFIID version.
3458 * registryd/deviceeventcontroller.c:
3459 (impl_register_keystroke_listener):
3460 Added CORBA_boolean return value.
3461 (spi_controller_register_device_listener):
3462 Added gboolean return value.
3463 (spi_controller_register_global_keygrabs):
3464 Added gboolean return value.
3465 (spi_key_set_contains_key):
3466 Added implementation for many more control keys,
3467 for instance F1-F12, arrow keys, End, Home, Page_Up,
3469 [TODO: some still not implemented].
3471 * text/screen-review-test.c:
3472 (text_chunk_pad_string):
3473 New function: it provides mapping between coordinate
3474 positions of text chunks and character positions in the
3475 screen-review-line output string.
3476 (text_chunk_to_string):
3477 New function, calls text_chunk_pad_string with various
3478 pad/delimiter characters. Pushbuttons are delimited with
3479 square brackets, Frames with vertical 'pipe' lines, and
3480 other text with double quotes.
3481 (text_chunk_list_to_string):
3482 Calls new function text_chunk_to_string.
3483 (toplevel_composite):
3484 New function to composite layers CANVAS through
3485 POPUP in each toplevel (other layers are composited
3486 across toplevels, i.e. BACKGROUND and OVERLAY).
3487 (review_buffer_composite):
3488 Revise to use new methods.
3494 2002-05-31 Laszlo Peter <laca@sun.com>
3496 * configure.in: add the Xtst libdir to the runpath on Solaris,
3497 since it's not in the default library search path.
3499 2002-05-29 jacob berkman <jacob@ximian.com>
3501 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
3503 2002-05-29 Bill Haneman <bill.haneman@sun.com>
3505 * test/screen-review-test.c:
3506 (text_chunk_pad_string):
3507 Added method, which pads the string according to the
3508 text bounds of the chunk. It also takes a 3-character
3509 string as a param which indicates the characters to be
3510 used for start, padding, and end delimitation of the chunk.
3511 (text_chunk_to_string):
3512 Changed to use text_chunk_pad_string.
3514 * configure.in: Fixed bug in AC_OUTPUT that was
3515 causing path substitution in Accessibility_Registry.server
3518 2002-05-23 Bill Haneman <bill.haneman@sun.com>
3520 * text/screen-review-test.c:
3521 (guess_string_clip):
3522 New method which attempts a best-guess at clipping
3523 text from components (like Java labels) which don't
3524 actually implement AccessibleText. This inaccurate
3525 clip is based on the assumption that the label is
3526 justified left-and-right, and monospaced.
3527 (text_chunk_get_clipped_string):
3528 We now call guess_string_clip() for text-containing
3529 components that don't implement AccessibleText.
3531 * test/screen-review-test.c:
3532 (review_buffer_get_text_chunk):
3533 We now pull "name" from labels if they do not implement
3534 AccessibleText (i.e. for Java labels).
3535 (get_screen_review_line_at):
3536 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
3539 Replaceded AC_OUTPUT target
3540 registryd/Accessibility_Registry.server with
3541 registryd/Accessibility_Registry.server.in.
3543 * registryd/Accessibility_Registry.server.in:
3544 Removed (this is now a Makefile target).
3546 * registryd/Accessibility_Registry.server.in.in:
3547 Added (source for target above). We now use $(libexecdir) as
3548 prefix for the executable at-spi-registryd.
3550 * registry/Makefile.am:
3551 Now install at-spi-registryd into $(libexecdir), and build .server
3552 file with path (see above).
3554 2002-05-22 Bill Haneman <bill.haneman@sun.com>
3556 * test/screen-review-test.c:
3557 (text_chunk_get_clipped_string):
3558 We now check to see if words fall within clip bounds
3559 before resorting to character-by-character clip bounds testing.
3561 * TODO: Added a section for "2.2 Proposed API Additions".
3563 2002-05-21 Bill Haneman <bill.haneman@sun.com>
3565 * test/screen-review-test.c:
3567 Added a screen review benchmarking and test program to test
3570 * cspi/spi_accessible.c:
3572 Made some of the debug strings passed to cspi_check_ev a
3573 little more specific.
3575 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
3577 * test/screen-review-test.c: Fix crashes in debug statements
3579 2002-05-20 Bill Haneman <bill.haneman@sun.com>
3581 * test/screen-review-test.c: Added this file.
3583 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
3585 * atk-bridge/bridge.c: changed "object:state-change" to
3586 "object:state-changed" to match docs.
3588 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
3590 * atk-bridge/bridge.c: Hooked up state-change event details.
3592 2002-05-11 Bill Haneman <bill.haneman@sun.com>
3594 * registryd/registry.c:
3595 Fixed quarking bug in event string parsing; now events with
3596 detail parameters get matched correctly to listeners.
3599 * util/idl/Magnifier.idl: remove.
3601 * util/*.[ch]: Remove.
3602 Magnification utilities and IDL are now in module gnome-mag.
3604 2002-05-10 Bill Haneman <bill.haneman@sun.com>
3606 * registryd/deviceeventcontroller.c:
3607 Fixed bug in grab key conversion which was causing keycode grabs
3608 to be converted to AnyKey grabs.
3611 updated NEWS file to reflect recent spin-off of gnome-mag.
3613 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
3615 * cspi/spi_accessible.c: Added exception checks. Fixed completely
3616 busted AccessibleStateSet_compare. Removed redundant casts.
3618 * cspi/spi-action.c: Removed redundant casts.
3620 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
3622 * cspi/spi_component.c: Fixed typos and casting error.
3624 * cspi/spi_editabletext.c: Removed redundant casts.
3626 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
3628 * cspi/spi_hypertext.c: Eliminated redundant casts.
3630 * cspi/spi_image.c: Eliminated redundant casts.
3632 * cspi/spi_registry.c: Eliminated redundant casts.
3633 SPI_deregisterGlobalEventListenerAll () removed retval variable.
3634 * cspi/spi_selection.c: Removed redundant casts.
3635 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
3636 handling. Screen geometry and text offsets were being returned as 0
3637 on error which is technically valid-- changed these to return -1.
3638 Added marshaller for text boundary types to fix bug with boundary
3639 types being passed incorrectly to atk.
3641 2002-05-09 Bill Haneman <bill.haneman@sun.com>
3644 * cspi/spi_registry.c:
3645 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
3646 which was uncovered by the recent key changes.
3648 2002-05-09 Bill Haneman <bill.haneman@sun.com>
3650 * test/event-listener-test.c:
3652 Added new test, "event-listener-test";
3653 this code does two things; it benchmarks traversal time
3654 for the accessible hierarchy for the first running accessible
3655 app, and it connects listeners for all supported event types.
3656 It is thus useful as an example event listener and for
3657 diagnostics/debugging of event generation.
3659 2002-05-08 Bill Haneman <bill.haneman@sun.com>
3662 Removed unnecessary dependency on libutil.
3665 Revved micro version: 0.13.1
3667 2002-05-08 Bill Haneman <bill.haneman@sun.com>
3670 Removed util/Makefile from targets.
3673 Removed util subdir from SUBDIRS (temporarily,
3674 pending removal of magnifier-only code
3678 #ifdef-ed out magnifier dependencies, since
3679 magnifier IDL, headers, and binary now live in
3680 module gnome-mag and we don't want at-spi to depend
3681 on gnome-mag. A magnifier demo which can run alongside
3682 simple-at is forthcoming in the gnome-mag module.
3684 NOTE: Split magnifier binary, IDL, and magnification
3685 activation code from at-spi into module gnome-mag.
3687 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
3689 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
3690 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
3692 2002-05-03 Bill Haneman <bill.haneman@sun.com>
3695 Revved to version 0.13.0
3697 * idl/Accessibility_Registry.idl:
3698 Changed definition of KeySet from sequence of longs to sequence of
3699 KeyDefinitions, and added KeyDefinition struct.
3700 Required for fix to bug 80616.
3702 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
3703 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
3704 to use new definition (see above).
3706 * registryd/deviceeventcontroller.c: handle_keygrab(),
3707 spi_keyset_contains_key():
3708 Changed to make use of new struct; this allows matching based on
3709 string key-name, for instance "Tab". This also allows matching of
3710 composed characters, non-alphanumeric characters in a way that
3711 doesn't involve dependencies on X keysym codes directly, etc.
3713 * test/key-listener-test.c:
3714 Added test for Alt-Tab key using "string" specification of keyset,
3715 and modified one of the tests to use a keycode-based keyset.
3716 Thus this test both tests and demonstrates the creation and use of
3717 keysets of three forms: specified via keycode array,
3718 keysym array, and string array. (The string case only contains a
3719 single string, i.e. a string array of length 1).
3722 Turned on PRINT_TREE option by default. Also fixed a
3723 string-freeing bug in the PRINT_TREE code.
3724 Added a listener to window:minimize events.
3726 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
3728 * atk-bridge/bridge.c:
3729 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
3730 for window:activate and window:deactiveate
3731 (atk_bridge_property_event_listener atk_bridge_signal_listener
3732 atk_bridge_window_event_listener) Tidy debug code
3734 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
3736 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
3737 Fixed handling for NULL return value from ATK.
3739 * libspi/action.c libspi/component.c libspi/editabletext.
3740 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
3741 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
3742 Removed redundant casts.
3744 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
3745 Fixed off by one bug.
3747 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
3748 function not present in idl)
3750 2002-05-02 jacob berkman <jacob@ximian.com>
3752 * atk-bridge/Makefile.am: make atk-bridge a real module
3754 2002-04-26 Radek Doulik <rodo@ximian.com>
3756 * libspi/stateset.c (spi_init_state_type_tables): fix size of
3757 atk_state_types table
3759 2002-04-22 jacob berkman <jacob@ximian.com>
3762 * libspi/Makefile.am: add deps on the built files to help
3763 automake, and don't version the ORBit typelib
3765 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
3767 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
3768 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
3769 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
3770 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
3771 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
3772 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
3773 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
3774 libspi/accessible.h libspi/accessible.h libspi/base.h
3775 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
3776 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
3777 libspi/relation.h libspi/remoteobject.h libspi/selection.h
3778 libspi/spi-private.h libspi/statetset.h libspi/table.h
3779 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
3780 util/mag_client.h util/mag_control.c util/mag_image.c
3781 util/mag_image.h util/magnifier.c util/magnifier.h:
3782 Add missing file headers; standardize existing ones
3784 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
3786 * atk-bridge/bridge.c: Added window event support.
3788 2002-04-18 Michael Meeks <michael@ximian.com>
3790 * libspi/relation.c (impl_getNTargets): impl.
3791 (impl_getTarget): impl.
3793 * libspi/Makefile.am: fix stateset install.
3795 2002-04-17 Bill Haneman <bill.haneman@sun.com>
3798 Started putting useful info in this file.
3800 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
3802 * atk-bridge/bridge.c:
3803 Propagate state-changed notifications to ATs
3805 * cspi/spi_registry.c: update docs to reflect actual behavior of
3806 state-change events.
3808 2002-04-17 Bill Haneman <bill.haneman@sun.com>
3811 Incremented version to 0.12.1
3813 * util/mag_client.h:
3814 Add missing declaration for magnifier_exit,
3815 used by mag_control.c - Forte compiler didn't like
3816 the implicit redeclaration of the function :-(
3819 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3822 Revved version to 0.12 due to API change (see below).
3824 * cspi/spi-roletypes.h:
3825 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
3826 definition from the inline docs, and added docs
3827 for SPI_ROLE_LAST_DEFINED.
3830 * cspi/spi_streamablecontent.c:
3831 Added missing seek_type parameter to
3832 (so far unused) method,
3833 AccessibleStreamableContent_seek().
3834 [ RT approval JodyG. ]
3837 Fixed docs for SPI_createAccessibleKeystrokeListener.
3839 * cspi/spi_registry.c:
3840 Fixed docs for SPI_KEYSET_ALL_KEYS.
3842 * docs/reference/cspi/at-spi-cspi-sections.txt:
3843 Added a number of missing APIs to SECTIONS.
3845 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3847 * registryd/Makefile.am:
3849 * cspi/bonobo/Makefile.am:
3850 Add $(X_LIBS) to makefiles.
3852 2002-04-15 Bill Haneman <bill.haneman@sun.com>
3855 Revved version to 0.11.
3857 * libspi/component.c:
3858 Added implementation for grabFocus.
3860 * idl/Accessibility_Component.idl
3861 (Accessibility_Component_grabFocus):
3862 Made this method return boolean to indicate success or failure, to
3863 be consistent with cspi and the corresponding ATK method.
3865 * idl/Accessibility_Selection.idl
3866 (Accessibility_Selection_selectAll) :
3867 Made these methods return boolean to indicate success or
3868 failure, to be consistent with cspi and the corresponding ATK methods.
3870 * idl/Accessibility_EditableText.idl
3871 (Accessibility_EditableText_setTextContents,
3872 Accessibility_EditableText_insertText,
3873 Accessibility_EditableText_cutText,
3874 Accessibility_EditableText_deleteText,
3875 Accessibility_EditableText_pasteText):
3876 Made these methods return boolean to indicate
3879 * cspi/spi_editabletext.c:
3880 Made these methods return booleans.
3882 * libspi/selection.c:
3883 * libspi/component.c:
3884 * libspi/editabletext.c:
3885 Connected the boolean returns from ATK
3886 to the server-side code referenced above.
3888 2002-04-14 Bill Haneman <bill.haneman@sun.com>
3890 * idl/Accessibility_Table.idl: Added missing methods,
3891 Accessibility_Table_addRowSelection,
3892 Accessibility_Table_addColumnSelection,
3893 Accessibility_Table_removeRowSelection,
3894 Accessibility_Table_removeColumnSelection.
3897 Added C wrappers for above IDL:
3898 AccessibleTable_addRowSelection,
3899 AccessibleTable_addColumnSelection,
3900 AccessibleTable_removeRowSelection,
3901 AccessibleTable_removeColumnSelection.
3904 Added server-side implementation code for IDL above, connecting
3905 to pre-existing ATK api.
3907 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
3909 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
3911 * libspi/accessible.c: Added implementation fo
3912 Accessibility_Accessible_get_state.
3914 * libspi/libspi.h: Added stateset.h to the list of includes.
3916 * libspi/stateset.c: Fixed broken implementation.
3918 2002-04-13 Bill Haneman <bill.haneman@sun.com>
3921 Added implementation code for Accessibility_Magnifier_exit ().
3923 * util/mag_control.c:
3924 Added test code for above method; you can
3925 now kill an existing magnifier via
3926 ./mag_control q, from the util directory.
3928 * test/key-listener-test.c:
3930 Added a new test, for our key listener API.
3932 2002-04-11 Bill Haneman <bill.haneman@sun.com>
3934 * test/app.c, test/keysynth-demo.c:
3936 Replace use of snprintf with g_snprintf.
3937 (fix for bugzilla 78249)
3939 2002-03-27 Michael Meeks <michael@ximian.com>
3943 * util/Makefile.am (INCLUDES): fix.
3944 (DONT_DIST_SOURCE): don't distribute the
3947 * libspi/Makefile.am (dist-hook): ditto.
3949 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
3951 * libspi/hypertext.c:
3952 Fix warnings when yelp is used with atk-bridge
3954 2002-03-21 Michael Meeks <michael@ximian.com>
3956 * libspi/application.c (spi_application_new):
3957 use spi_accessible_construct so we use the AtkObject
3960 2002-03-19 Michael Meeks <michael@ximian.com>
3962 * registryd/registry.c (desktop_remove_application),
3963 (desktop_add_application): clean coding style.
3965 * registryd/desktop.c (spi_desktop_remove_application),
3966 (spi_desktop_add_application): kill re-enterency hazards.
3967 (spi_desktop_dispose): remove bogus redundant cast
3968 obscuring bug; fix bug too.
3969 (spi_desktop_init): make the desktop object immortal.
3971 2002-03-16 Bill Haneman <bill.haneman@sun.com>
3974 Added a #define-guarded tree-traversal step
3975 when enumerating the apps (diagnostic tool).
3977 2002-03-15 Bill Haneman <bill.haneman@sun.com>
3979 * idl/Accessibility_Role.idl:
3980 Added ROLE_DRAWING_AREA which seemed to be missing from the
3983 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3985 * cspi/spi-roletypes.h cspi/spi_accessible.c
3986 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
3989 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
3990 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
3991 AT when applications are added and removed from the desktop. This
3992 reverts the previous broken implementation using the backing
3993 AtkObject for the SpiDesktop.
3995 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3997 * registryd/desktop.c: emit the "children-changed::add" and
3998 "children-changed::remove" signals on the backing ATK object for
3999 the desktop so AT can tell when applications are started and shut
4002 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4004 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
4006 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4008 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
4010 * cspi/spi_accessible.c: Implemented c bindings for stateset support
4012 * cspi/state-types.h: synched with IDL and ATK
4014 2002-03-13 Bill Haneman <bill.haneman@sun.com>
4016 * libspi/accessible.c
4017 (impl_accessibility_accessible_get_child_at_index):
4018 Change return value for g_return_if_fail ()
4019 to CORBA_OBJECT_NIL instead of "0" (!)
4021 * registryd/Makefile.am:
4022 * registryd/Accessibility_Register.server.in:
4023 Changed name of executable, "registryd",
4024 to something more informative:
4027 2002-03-13 Michael Meeks <michael@ximian.com>
4029 * atk-bridge/bridge.c (atk_bridge_init): don't register
4030 if we're in a bonobo-component, rather than a bonobo app.
4032 2002-03-13 Michael Meeks <michael@ximian.com>
4034 * atk-bridge/bridge.c (gtk_module_init): split
4035 out body to (atk_bridge_init): here, since otherwise
4036 we get symbol conflicts and oddness when invoked
4037 from (gnome_accessibility_module_init): here (upd.)
4039 2002-03-11 Bill Haneman <bill.haneman@sun.com>
4042 New file. Explicitly allow "build sheriff" putbacks provided
4043 they are tested on Solaris.
4045 * docs/reference/cspi/Makefile.am:
4046 Added '-' to the "cp" command for index.sgml.
4047 ("patch by thomasvs, soon coming to a GUADEC near you")
4050 Incremented version number (0.9.0) for new release.
4051 Changed macro that checks for popt, to better detect
4052 obsolete versions of popt.
4055 Added X_LIBS to AC_SUBST, for applications
4056 that call Xlib API directly.
4059 2002-03-07 Bill Haneman <bill.haneman@sun.com>
4062 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
4065 Fix regression caused by hard-coding major
4066 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
4069 * test/test-simple.c (test_editable_text),
4070 (test_test): revert previous change (error was
4071 a regression in gail which is now fixed).
4073 2002-03-04 Michael Meeks <michael@ximian.com>
4075 * test/test-simple.c (test_editable_text),
4076 (test_text): pass G_MAXINT instead of '-1' for
4077 whole string - is this a good thing !?
4079 * cspi/spi_accessible.c
4080 (Accessible_getRelationSet): fix crasher bug
4081 overwriting the end of the array.
4083 * test/test-simple.c (validate_accessible): free,
4084 not g_free returned relation set.
4086 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
4088 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
4089 implemented stateset support
4091 * idl/Accessibility_State.idl: Made necessary changes to
4092 the IDL to support state sets.
4094 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4096 * registryd/deviceeventcontroller.c:
4097 Added implementation for generateMouseEvent.
4099 * cspi/spi_registry.c:
4100 Connected new implementation for generateMouseEvent
4103 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4106 Incremented revision (but no change in public API
4107 outside of 'utils', which are not installed public yet.)
4109 * libspi/component.c:
4110 Changed to use atk_component API for layers and
4111 mdi_zorder, instead of deprecated atk_object API.
4113 Magnification Utility Enhancements:
4116 Added implementation of createZoomRegion, clearAllZoomRegions,
4117 resizeZoomRegion. Added new commandline argument
4118 "--no-initial-region". Note that clearAllZoomRegions doesn't
4119 unmap the old '0' region as it should (yet), and the other
4120 methods only work when creating/resizing a single region,
4121 which is "region 0".
4122 (Code for multiple region support will be added later.)
4125 Now we raise the magnifier window each time it's refreshed;
4126 this will help keep it on top.
4128 * util/mag_client.h:
4129 Added simple wrappers for above, used by mag_control.
4130 For general use, it's recommended to use the bonobo magnifier
4131 control API directly instead of using these wrappers.
4134 Moved ZoomRegionData from magnifier.c to this file.
4136 * util/mag_control.c:
4137 Added some code to exercise new IDL implementations.
4139 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
4141 * libspi/text.c: Provide implementation for getAttributes.
4143 2002-02-04 Bill Haneman <bill.haneman@sun.com>
4146 Incremented revision.
4148 * test/test-simple.c:
4149 Replaced use of deprecated g_main_iteration with
4150 g_main_context_iteration.
4152 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
4155 Incremented revision for desktop alpha 2.
4157 2002-01-28 Mark McLoughlin <mark@skynet.ie>
4159 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
4162 * test/simple-at.c: include netinet/in.h.
4164 2002-01-24 Mark McLoughlin <mark@skynet.ie>
4166 * cspi/spi_accessible.c: (Accessible_getRelationSet):
4167 use NULL, not CORBA_OBJECT_NIL.
4169 * libspi/accessible.c:
4170 (impl_accessibility_accessible_get_relation_set):
4171 allocate the sequence correctly.
4173 * libspi/remoteobject.h: kill spi_remote_object_new.
4175 * test/test-simple.c: (validate_accessible): add code
4176 to test relation sets, now all we need is to figure
4177 out how to excercise this code path :/
4179 2002-01-18 Michael Meeks <michael@ximian.com>
4181 * test/test-simple.c
4182 (key_listener_cb): consume the key.
4183 (test_keylisteners): update.
4184 (main): wait for any pending unrefs on events.
4186 * registryd/deviceeventcontroller.c
4187 (spi_controller_update_key_grabs): only re-issue the
4188 grab on a key release.
4189 (spi_device_event_controller_forward_key_event):
4190 refresh the keygrabs before we notify the listeners,
4191 to reduce the X ungrab / re-grab race.
4192 (spi_controller_register_with_devices): remove
4193 XSelectInput - we do that with the gdk_window_ call.
4194 (_spi_controller_device_error_handler): return a value.
4195 s/GDK_DISPLAY/spi_get_display/
4197 2002-01-17 Michael Meeks <michael@ximian.com>
4199 * registryd/deviceeventcontroller.c
4200 (_deregister_keygrab): don't blow out the later
4203 * test/test-simple.c (test_keylisteners): do a
4204 more intelligent validation.
4206 2002-01-14 Michael Meeks <michael@ximian.com>
4208 * atk-bridge/bridge.c
4209 (gnome_accessibility_module_init),
4210 (gnome_accessibility_module_shutdown): impl.
4211 (gtk_module_init): protect vs. double inits.
4212 (add_signal_listener): impl.
4213 (spi_atk_bridge_state_event_listener): kill
4214 (deregister_application): split out of
4215 (spi_atk_bridge_exit_func): here.
4217 2002-01-18 Bill Haneman <bill.haneman@sun.com>
4220 Added caret tracking when using magnifier, and
4221 now use text bounds for focus tracking of text elements, rather than
4222 the component bounds - this is helpful for short text fields in long
4223 table cells, at high magnification.
4225 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4227 * registryd/deviceeventcontroller.c:
4228 Regression fix for keylistener de-registration; global keygrabs
4229 were not being released when deregisterKeystrokeListener was
4230 called in cspi, since
4231 Accessibility_DeviceEventController_deregisterKeystrokeListener
4232 was called with a zero-length keyset. That is because the cspi
4233 method, SPI_deregisterKeystrokeListener, does not take a keyset
4234 parameter but instead should remove all the key grabs held be a
4236 The code in impl_deregister_keystroke_listener was changed to copy
4237 the keylist from the listener instance previously registered with
4238 the DeviceEventController before releasing the grabs.
4240 * registryd/registry.c:
4241 * registryd/deviceeventcontroller.c:
4242 * libspi/spi-private.h:
4244 Changed spelling of "re-enterant" to "re-entrant" globally.
4246 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4248 * test/test-simple.c:
4249 Changed key listeners test - the test was slightly mis-using the
4250 (admittedly poorly documented) SPI_generateKeyboardEvent API.
4251 It now uses '=' as the key event listened to and generated,
4252 relying on a keysym match rather than assuming that keycode 33
4253 is always equal to keysym '!'.
4255 2002-01-15 Bill Haneman <bill.haneman@sun.com>
4258 Changed simple-at to use a specific keyset, rather than
4259 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
4260 manager, desktop, etc.
4262 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4264 * registryd/deviceeventcontroller.c:
4265 Replaced standard X error handler with a special handler that
4266 is non-fatal for failed keygrabs. This works around
4267 problems with keygrab clashes sometimes observed on
4269 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
4270 mouse handling code as yet).
4272 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4275 Incremented revision for desktop alpha release.
4278 Fixed a couple of the more glaring errors (still not
4281 2002-01-11 Michael Meeks <michael@ximian.com>
4283 * registryd/deviceeventcontroller.c
4284 (spi_device_event_controller_forward_key_event): kill
4285 XUngrabKey / XKeyGrab race.
4286 (spi_controller_grab_keyboard): rename to
4287 (spi_controller_update_key_grabs): this, and deal
4288 with incremental adding / removing grabs more
4290 (_register_keygrab): ensure we're not pending a remove.
4291 (spi_grab_mask_free): impl.
4292 (spi_controller_register_global_keygrabs): split out
4294 (handle_keygrab): impl.
4295 (_deregister_keygrab): impl.
4296 (spi_controller_deregister_global_keygrabs): impl.
4297 (spi_controller_update_key_grabs): re-issue the grab if
4298 we just recieved a notification.
4300 * test/test-simple.c (key_listener_cb): remove debug.
4302 * registryd/deviceeventcontroller.c
4303 (spi_controller_register_device_listener): after
4304 registering a global keygrab, actualy register it !
4305 don't wait for a timeout; doh !
4307 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
4308 to make it more readable / manipulable.
4309 s/grabmask/grab_mask/ s/refcount/ref_count/
4310 s/keyval/key_val/ s/modmask/mod_mask
4312 2002-01-08 Michael Meeks <michael@ximian.com>
4314 * registryd/deviceeventcontroller.c
4315 (spi_controller_register_with_devices): use gdk calls to
4317 (global_filter_fn): implement the filter.
4318 (spi_device_event_controller_check_key_event): rename to
4319 (spi_device_event_controller_forward_key_event): this & upd.
4320 (spi_get_display): replace with GDK_DISPLAY.
4322 * registryd/deviceeventcontroller.c
4323 (spi_controller_deregister_device_listener): unroll into
4324 (impl_deregister_keystroke_listener): here to simplify.
4325 (spi_controller_register_global_keygrabs): split cut and
4326 paste (!) out into (_register_keygrab): here, shorter & sweeter.
4327 (spi_controller_deregister_device_listener): remove.
4328 (impl_register_mouse_listener): remove, no mouse listener
4329 support in at-spi-1.0
4331 * registryd/registry.c
4332 (_device_event_controller_hook): kill.
4333 (spi_registry_init): upd.
4335 * registryd/deviceeventcontroller.c
4336 (spi_device_event_controller_class_init): upd.
4337 (spi_check_key_event): merge into.
4338 (spi_device_event_controller_check_key_event):
4339 here and kill strange static ev init, don't leak
4340 the x_event - nor dynamicaly allocate it.
4342 * registryd/registry-main.c (main): re-direct
4343 timeout to remove strange vtable mess.
4345 * registryd/deviceeventcontroller.c
4346 (remove_listener_cb): impl.
4347 (spi_controller_deregister_device_listener):
4348 fix re-enterancy hazard.
4350 2002-01-07 Michael Meeks <michael@ximian.com>
4352 * registryd/deviceeventcontroller.c
4353 (spi_device_event_controller_new): upd.
4354 (impl_notify_listeners_sync): upd. debug.
4355 (spi_notify_keylisteners): fix re-enterancy hazards,
4356 prettify, remove O(n*n) iteration.
4357 (spi_controller_grab_keyboard): fix iteration.
4358 (spi_check_key_event): re-format to suit coding style.
4359 Clean all the warnings - we're warning free.
4361 * registryd/deviceeventcontroller.h:
4362 * registryd/registry.h: make mutualy referential with
4363 typesafe forward references instead of (!) void pointer
4366 2002-01-11 Michael Meeks <michael@ximian.com>
4368 * cspi/spi_accessible.c (role_names): add a role name
4369 to sync this array with the enum; and make the regression
4372 2002-01-10 Michael Meeks <michael@ximian.com>
4374 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
4375 allow expansion of enumeration & kill warning.
4377 * test/test-simple.c (key_listener_cb): impl.
4378 (test_keylisteners): impl.
4380 * cspi/spi-listener.h: make listener signatures const
4381 on the provided (const) events.
4383 * test/keysynth-demo.c: upd. to const events.
4385 * test/simple-at.c: ditto.
4387 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4390 Rev the version to 0.5 (the previous tarball was named 0.4,
4391 even though the micro number was 3), so we need to rev upwards
4392 again for beta2/"desktop-alpha"
4395 Checked in a demo script, which requires editing before use!
4396 Proceed with caution.
4399 Fixed typo in header which was redefining SPI_ACTION_CLASS.
4401 * cspi/spi_accessible.c:
4402 Add a couple of missing enum initializations, and fix some enum
4405 * cspi/spi_registry.c:
4406 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
4408 * docs/reference/cspi/at-spi-cspi-sections.txt:
4409 Remove/fix a couple of broken document references.
4412 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
4413 as Alt-Control to listen for commands, since on some systems
4414 Control-Alt may already be grabbed.
4416 2002-01-10 Bill Haneman <bill.haneman@sun.com>
4419 Update version number to 0.4 for Beta2.
4421 * libspi/accessible.c, libspi/accessible.h:
4422 Expose spi_accessible_construct, to enable libgail-gnome
4423 construction from spi_accessible subtype.
4425 * utils/magnifier.c:
4426 Workaround for bug in some non-gnome-compliant window managers
4427 which made magnifier resize improperly.
4429 2002-01-09 Bill Haneman <bill.haneman@sun.com>
4431 * libspi/accessible.c: (spi_accessible_new) :
4432 Move the test for SPI_IS_REMOTE_OBJECT to
4433 spi_accessible_new_return, fixing a bug and compile time warning.
4435 2002-01-08 Michael Meeks <michael@ximian.com>
4437 * registryd/registry.c (parse_event_type): remove strndup.
4439 * libspi/Makefile.am (libspi_la_SOURCES): remove
4440 sources already included in the headers section.
4442 * libspi/util.c: add.
4444 * libspi/spi-private.h: add.
4446 * registryd/registry.c: update to moved list iterators.
4448 2002-01-05 Michael Meeks <michael@ximian.com>
4450 * test/simple-at.c (main): upd. auto-module set to atk-bridge
4452 * test/test-simple.c (main): ditto.
4454 2002-01-04 Michael Meeks <michael@ximian.com>
4456 * libspi/accessible.c (spi_accessible_new): remove 2nd,
4457 redundant construct.
4459 * registryd/registry.c
4460 (get_listener_list): impl.
4461 (impl_accessibility_registry_register_global_event_listener):
4462 re-impl. to simplify using ~, remove dodgy const cast off.
4463 (parse_event_type): constify.
4464 (impl_accessibility_registry_deregister_global_event_listener_all):
4465 re-write, more efficiency and simplicity, kill re-enterancy
4467 (compare_listener_corbaref, compare_corba_objects),
4468 (compare_listener_quarks): define out.
4469 (impl_accessibility_registry_deregister_global_event_listener):
4470 re-write for effiency, and nail re-enterancy hazard.
4471 (impl_accessibility_registry_get_desktop_list): impl.
4472 (re_enterant_list_delete_link): impl.
4473 (re_enterant_list_foreach): impl.
4474 (remove_listener_cb): impl.
4475 (_registry_notify_listeners): kill.
4476 (notify_listeners_cb): impl.
4478 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
4479 (SPI_getDesktopList): impl.
4481 * test/test-simple.c (test_desktop): test the methods.
4483 2002-01-03 Michael Meeks <michael@ximian.com>
4485 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
4486 keystrings since we free them
4487 (SPI_freeAccessibleKeySet): in here.
4489 * libspi/accessible.c (spi_accessible_new): kill warning,
4490 wonder what is going on with the constructor here.
4492 2002-03-01 Bill Haneman <bill.haneman@sun.com>
4494 * libspi/accessible.c (spi_accessible_new ()) :
4495 Added check to see if AtkObject is an SpiRemoteObject before
4496 creating an SpiAccessible.
4498 2002-05-01 Bill Haneman <bill.haneman@sun.com>
4500 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
4501 Enable keygrabs using the Control modifier, now that they are
4502 working properly (they were previously disabled).
4505 Change the command keygrab for this demo to "Control+Alt", so as
4506 to conflict with fewer other key commands on the system; this
4507 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
4509 Removed a pointlessly-chatty keylistener for unshifted keys
4510 (shifted keys are still reported).
4512 2002-02-01 Bill Haneman <bill.haneman@sun.com>
4514 * libspi/remoteobject.h:
4515 * libspi/remoteobject.c:
4516 Added definitions for special AtkObject subtype, required for
4517 support of remote components (specifically, used by BonoboControl
4518 accessibility implementation).
4520 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
4522 * cspi/spi.h: synched relation types with ATK
4524 * cspi/spi_accessible.c: Added implementations of
4525 AcccessibleRelation_* methods
4527 * idl/Accessibility_Relation.idl: added getRelationTypeName
4528 method. Synched known relation types with ATK. Allowed for
4529 relation type extension with the RELATION_EXTENDED type.
4531 * libspi/relation.c: Provided implementations for
4532 AccessibleRelation methods.
4534 2002-01-01 Bill Haneman <bill.haneman@sun.com>
4536 API tweaks for today's API 'freeze'.
4539 Added placeholder functions to allow future compatible expansion
4540 of the IDL interfaces.
4542 * idl/Accessibility_Registry.idl:
4543 Changed generateKeyEvent to generateKeyboardEvent. Changed
4544 signature of this method to accept an optional keystring in
4545 parameter (for complex text input synthesis) and changed use of
4546 simple 'boolean' parameter in registerKeystrokeListener to a
4547 struct, EventListenerMode.
4549 * cspi/spi_accessible.c:
4551 * cspi/spi_streamablecontent.c:
4552 Added references to AccessibleStreamableContent interface, and
4553 definition and implementation of AccessibleStreamableContent
4556 * cspi/spi_registry.c:
4558 Changed generateKeyEvent API to generateKeyboardEvent,
4559 taking a new (optional) keystring parameter to support complex
4564 Renamed directory (to better reflect its actual purpose, bridging
4565 from at-spi to ATK). The .so module is also now named
4568 * idl/Accessibility_Hypertext.idl:
4569 * libspi/accessible.c:
4570 * libspi/hypertext.h:
4571 * libspi/hypertext.c:
4572 Changed Accessibility_Hypertext to *not* derive from
4575 * cspi/spi_registry.c:
4576 Added list of legal event type names for 'window' events, which
4577 completes the registry event API.
4579 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
4581 * at-bridge/bridge.c: Added registration for separate
4582 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
4583 signals. If either of the first two parameters to the generic
4584 bridge signal handler are ints, they are passed on as event
4585 details. This allows an AT to determine what text was inserted.
4587 2001-12-21 Bill Haneman <bill.haneman@sun.com>
4589 * registryd/deviceeventcontroller.c:
4590 Fixed regressions in generateKeyEvent caused by the removal of
4591 gdk_init from registryd; we now use pure X calls to connect to the
4592 display, which makes sense because deviceeventcontroller already
4593 uses a fair bit of X API (should eventually be migrated to a
4594 'portability layer').
4596 * registryd/desktop.c:
4597 Fixed minor regression in spi_desktop_init, changed the way the
4598 desktop name is being set to work with new spi_base API
4599 (gobject-based, rather than AtkObject-based).
4601 * registryd/Makefile.am:
4602 Minor revision of makefile to use XTST_LIBS variable rather than
4603 hard-wiring the Xtst LD_ADD element.
4605 * test/keysynth-demo.c:
4606 Tweaked an output message; added initialization of the
4607 'keystrings' member of the "switch listener" key_set.
4609 * libspi/relation.c:
4610 Squashed compile-time warning.
4612 * libspi/accessible.c:
4613 Cosmetic and formatting fixes, renamed a static method.
4615 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
4617 * libspi/accessible.c
4619 * libspi/application.c
4622 * libspi/component.c
4623 * libspi/editabletext.c
4624 * libspi/hyperlink.c
4625 * libspi/hypertext.c
4627 * libspi/selection.c
4631 * registryd/desktop.c:
4632 Changed SpiBase to contain a GObject pointer rather than an AtkObject
4634 2001-12-17 Bill Haneman <bill.haneman@sun.com>
4636 * idl/Accessibility_Registry.idl:
4637 Added boolean member 'is_text' to DeviceEvent. This is for the
4638 use of key events, and helps prevent ambiguity between composed
4639 key strings and keysym names, since both may potentially be
4640 returned in the 'event_string' member.
4642 * at-bridge/bridge.c:
4643 * registryd/deviceeventcontroller.c:
4644 Use the 'is_text' member when notifying device event listeners.
4645 Knon issue: composed characters are not dealt with correctly by
4646 the global key listener implementation yet.
4648 2001-12-17 Bill Haneman <bill.haneman@sun.com>
4650 * at-bridge/bridge.c:
4651 Namespaced local static methods to spi_atk_bridge_* where
4652 previously named bridge_*, and spi_* elsewhere.
4654 * at-bridge/bridge.c:
4655 * cspi/bonobo/cspi-bonobo-listener.c:
4656 Added demarshalling/conversion for string member of
4657 Accessibility_DeviceEvent to AccessibleKeystroke.
4659 * registryd/deviceeventcontroller.c:
4660 Added code to fill the Accessibility_DeviceEvent key string value
4661 member for global key events (i.e. from XGrabKey), to match
4662 behavior of Accessibility_DeviceEvent from the toolkit key events
4663 from the bridge. Fixed timestamp in global key event notifications.
4666 Added printout of key event's string value to
4667 report_ordinary_key_event, for demo/debugging purposes.
4669 2001-12-15 Bill Haneman <bill.haneman@sun.com>
4671 * idl/Accessibility_Registry.idl:
4672 Removed Accessibility_KeyStroke structure in favor of generic
4673 Accessibility_DeviceEvent structure.
4674 Changed Accessibility_ControllerEventMask from a struct to an
4677 * at-bridge/bridge.c:
4678 Changed APIs to use DeviceEvent structure as above, and removed
4679 bogus casting between these event structures.
4681 * cspi/spi-listener.h:
4682 Added keystring member of AccessibleKeystroke structure, to enable
4683 matching on event "names" rather than only hardware codes and
4687 Added keystrings member of AccessibleKeySet struct, to allow
4688 matching on event names (as above).
4689 Added declarations for SPI_createAccessibleKeySet and
4690 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
4691 event modmasks directly as unsigned ints rather than structs with
4692 refcounts, in the DeviceEventController methods.
4694 * cspi/spi_registry.c:
4695 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
4697 * cspi/spi-roletypes.h:
4698 Added documentation of newly added SPI Roles.
4700 * cspi/bonobo/cspi-bonobo-listener.c:
4701 Changes in support of API changes above.
4703 * libspi/accessible.c:
4704 Converted APIs to use DeviceEvent structure (see IDL changes
4707 * registryd/deviceeventcontroller.c:
4708 Added DEControllerGrabMask structure to track keygrabs not only by
4709 modmask but by keyset as well; this allows us to do "global"
4710 (i.e. X) keygrabs on a per-key or keyset basis rather than always
4711 grabbing on AnyKey and then filtering after-the-fact.
4712 Bugfixes for event filtration mean that we don't get false matches
4713 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
4715 * registryd/deviceeventcontroller.c:
4716 Namespaced a number of static methods to use spi_ prefix. Major
4717 revision to internals of global (i.e. X) key grabs.
4719 * registryd/deviceeventcontroller.h:
4720 Removed keymask_list and added keygrabs_list to
4721 SpiDeviceEventController struct.
4724 Added use of SPI_createAccessibleKeySet API when creating a
4725 listener for only one key. Attach a listener to "shift spacebar
4726 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
4727 X key event names to SPI key event names, so that listeners are
4728 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
4730 * test/keysynth-demo.c:
4731 Changed (incorrect) use of X key event names (KeyPressed,
4732 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
4735 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4737 * libspi/accessible.c:
4738 Convert all AtkRole enumerations to Accessibility_Role enums when
4739 getting a role from an AtkObject.
4741 * cspi/spi_accessible.c:
4742 Complete the conversion of Accessibility_Role enums at runtime to
4743 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
4744 role enums correctly match those given in spi-roletypes.h.
4745 Re-synchronize the local names list for AccessibleRole_getName ().
4746 AccessibleRole_getName is now deprecated, since it duplicates the
4747 more reliable Accessible_getRoleName.
4748 Added some role types from Accessibility_Role.idl.
4750 * idl/Accessibility_Role.idl:
4751 Added some role types used by AtkRole.
4753 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4756 * cspi/spi_registry.c:
4758 * cspi/cspi-bonobo-listener.c:
4759 Namespaced all methods that did not begin with an "SPI_" or
4760 "Accessible" prefix to "SPI_".
4763 Homogenized internal function namespace to "cspi_" for statics.
4766 Patched tests to use the new CSPI API.
4768 * docs/reference/cspi/at-spi-cspi-sections.txt:
4769 Updated docs to reflect namespace changes, and added a number of
4770 methods to the documentation.
4772 * registryd/registry.c:
4773 Changed use of strings and string hashes in listener event
4774 matching and parse_event_string to use GQuark, which is guaranteed
4777 * registryd/registry.h:
4778 Squashed annoying warning.
4780 * idl/Accessibility_Role.idl:
4781 Extended range of available Accessibility_Role values.
4783 * cspi/spi_accessible.c:
4784 Re-ordered role names.
4786 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4788 * idl/Accessibility_Value.idl:
4789 Revert use of union back to CORBA_double, since the double type is
4790 more efficient and can contain the other types without loss of
4793 * idl/Accessibility_Accessible.idl:
4794 Added method Accessibility:Accessible:getRoleName, to complement
4795 Accessibility:Accessible:getRole.
4797 * cspi/spi_accessible.c:
4799 Added C binding for above, Accessible_getRoleName (), and changed
4800 signature of Accessible_getRole () to return an AccessibleRole.
4802 * cspi/spi-roletypes.h:
4803 Changed AccessibleRole_getName to return a char * instead of a
4804 const char *. This method is now at least temporarily deprecated
4805 in favor of asking Accessibles for their RoleNames directly.
4808 Revert to match Accessibility_Value.idl;
4812 Change signature of AccessibleValue methods to use double rather
4816 * cspi/spi_accessible.c:
4817 Changed Accessible_getRole to return an AccessibleRole enum rather
4818 than a UTF-8 string. The UTF-8 string can still be obtained via
4819 AccessibleRole_getName ().
4821 * test/test-simple.c:
4822 Add test_action. Small fixup to match API change to Accessible_getRole.
4825 Bugfix for get_action_from_servant ().
4827 2001-12-11 Michael Meeks <michael@ximian.com>
4829 * libspi/libspi.h: remove registry.h and
4830 desktop.h, deviceeventcontroller.h
4832 * libspi/Makefile.am: remove registry.[ch],
4833 desktop.[ch], deviceeventcontroller.[ch]
4835 * registryd/Makefile.am: add registry.[ch],
4836 desktop.[ch], rename registryd.c to registry-main.c.
4837 add deviceeventcontroller.[ch]
4839 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4842 Replace setenv() call with putenv ().
4844 * libspi/component.c:
4845 Bugfix in AccessibleComponent_getExtents (),
4848 2001-12-11 Michael Meeks <michael@ximian.com>
4850 * libspi/image.c (impl_getImageExtents): impl.
4851 (spi_image_class_init): upd.
4854 (AccessibleImage_getImageDescription): fix daft bug
4857 * test/test-simple.c (global_listener_cb): update
4858 to only quit if not --poke
4859 (main): catch --poke.
4860 (validate_accessible): upd. dumping, call test_image
4863 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
4866 * idl/Accessibility.idl: update all IDL includes.
4868 * idl/*.idl - rename to namespace - this sucks, blame
4869 mjs' bad decision for oafd.
4871 * test/test-simple.c (create_test_window): add more tests.
4872 (create_tree): split this out.
4873 (validate_accessible): bugfix.
4875 2001-12-11 Michael Meeks <michael@ximian.com>
4877 * cspi/bonobo/cspi-bonobo-listener.c:
4878 (cspi_kestroke_listener_unref),
4879 (cspi_event_listener_unref): impl. undoing previous
4880 homenous environment - for Bill.
4882 * cspi/spi_table.c (long_seq_to_array): use
4885 * cspi/spi_main.c: split out all bonoboish bits into
4888 * cspi/spi-impl.h: upd. typedefs.
4890 * cspi/spi_registry.c: update to lowlevel API,
4891 return booleans to indicate success in some places.
4893 * cspi/spi_event.c: update to lowlevel API.
4895 * cspi/bonobo/Makefile.am: add.
4897 * cspi/bonobo/cspi-lowlevel.h: add
4899 * cspi/bonobo/cspi-bonobo.c: add
4901 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
4903 * cspi/Makefile.am: remove spi-listener-impl.[ch],
4904 (SUBDIRS): add bonobo, link in the libs.
4906 * cspi/spi-util.c: kill this file.
4908 * TODO: merge in my bits.
4910 2001-12-11 Michael Meeks <michael@ximian.com>
4912 * test/test-simple.c (test_value, test_table, main):
4913 remove unused variables causing warnings.
4915 * configure.in: cleanup checks - require gail.
4917 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4920 Changed Value interface to use SValue (scalars) rather than
4921 assuming all values are floats. This allows floats, doubles,
4922 longs, shorts, and unsigned values to be manipulated.
4923 Introduced Accessibility:SValue union.
4926 Updated to use new API above, and to work correctly with GValues
4927 of different types in AtkValue.
4930 Updated to use new API above. cspi's API is as yet unchanged.
4933 Updated the Value revision action item.
4935 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4937 * test/test-simple.c:
4938 Added test_table (GtkTreeView widget in test window to follow).
4939 Un-commented test_value, added GtkRange widget.
4940 Added GtkTreeView widget with GtkListStore. It passes regression
4941 test but leaks one SPI object for some reason.
4944 Fixed bug in impl__set_currentValue.
4946 2001-12-10 Michael Meeks <michael@ximian.com>
4948 * cspi/spi_text.c: audit for exception handling,
4949 tolerating NULL object references safely etc.
4951 * cspi/spi_value.c: ditto.
4953 * cspi/spi_table.c (AccessibleTable_getSummary),
4954 (AccessibleTable_getAccessibleAt),
4955 (AccessibleTable_getRowHeader),
4956 (AccessibleTable_getColumnHeader),
4957 (AccessibleTable_getCaption): fix bugs hidden by
4959 (long_seq_to_array): impl.
4960 (AccessibleTable_getSelectedRows),
4961 (AccessibleTable_getSelectedColumns): use it.
4963 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4966 Added a TODO list (rough and short for now).
4968 * cspi/spi_hyperlink.c:
4969 * cspi/spi_hypertext.c:
4970 Fixed macro name typos, and remove use of obsolete macro in
4971 AccessibleHyperlink_getLink.
4973 * cspi/spi_action.c:
4974 * cspi/spi_accessible.c:
4975 * cspi/spi_application.c:
4976 * cspi/spi_component.c:
4977 * cspi/spi_selection.c:
4980 Documentation fixes (removed return values from ref/unref methods).
4982 2001-12-10 Michael Meeks <michael@ximian.com>
4984 * cspi/spi_action.c: audit for exception handling,
4985 tolerating NULL object references safely etc.
4987 * cspi/spi_accessible.c: ditto.
4989 * cspi/spi_component.c: ditto.
4991 * cspi/spi_editabletext.c: ditto.
4993 * cspi/spi_hyperlink.c: ditto.
4995 * cspi/spi_hypertext.c: ditto.
4997 * cspi/spi_image.c: ditto.
4999 * cspi/spi_selection.c: ditto.
5001 2001-12-10 Michael Meeks <michael@ximian.com>
5003 * configure.in: use cspi/libspi.pc.in instead.
5005 * Makefile.am (pkgconfig_DATA): upd. to match.
5007 * test/simple-at.c (report_focus_event): kill hacks around
5008 bad return values, use putenv not setenv
5010 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
5011 fire ChildGone - I killed it.
5013 * libspi/component.c
5014 (impl_accessibility_component_get_extents): remove
5017 * idl/Accessible.idl: kill ChildGone exception.
5019 * cspi/*.[ch]: kill int return from ref / unref.
5021 * cspi/spi_main.c (cspi_object_add_check): fold into
5022 (cspi_object_add): here.
5024 * cspi/spi_component.c (AccessibleComponent_getExtents):
5025 handle exceptions elegantly.
5027 * cspi/spi-private.h (cspi_check_ev_return),
5028 (cspi_return_if_fail): impl.
5030 * cspi/spi_accessible.c: use extensively.
5031 (AccessibleStateSet_equals): add direct compare check.
5033 * cspi/spi_selection.c: tolerate NULL objs, and check
5034 exceptions before return.
5036 * cspi/spi-util.c (cspi_warn_ev): rename to
5037 (cspi_check_ev): this & don't pass ev in; no point.
5039 2001-12-10 Michael Meeks <michael@ximian.com>
5041 * test/test-simple.c: use putenv not setenv
5042 (get_environment_vars): more chatty if you're not using
5045 * test/simple-at.c: do the setenv so more people see the
5048 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5050 * libspi/registry.c:
5051 Changed check of CORBA_environment on notification to be a warning
5052 instead of an error for the moment, since we can recover from this
5053 error when caused by a queued notification from a dead app.
5056 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
5057 used by all current implementors of AtkValue), and coerce to
5058 CORBA_float. (Proper general case fix may require change to Value.idl).
5060 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5064 * cspi/spi_accessible.c:
5065 Documentation fixes: added user_data params to documentation for
5066 listeners and callbacks.
5068 * cspi/spi_accessible.c:
5069 Changed AccessibleStateSet_compare to return a
5070 StateSet rather than return the difference set into a third parameter.
5073 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5076 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
5077 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
5081 Remove subdirectory po from SUBDIRS for now.
5083 * at-bridge/bridge.c:
5084 Beefed up a couple of debug printouts.
5085 One-line fix for signal notification name formatting.
5087 * libspi/accessible.c:
5088 Added assertion to spi_accessible_new ().
5090 * libspi/application.c:
5091 Put #ifdef qualifiers around a printf.
5094 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
5096 * registryd/Makefile.am:
5098 Replaces use of XML_I18N_MERGE_SERVER_RULE with
5099 INTLTOOL_SERVER_RULE macro.
5102 Added an event listener for several ATK signals, for
5103 testing and debugging. Removed a few g_warnings.
5104 Added test output if focussed item implements the Value interface.
5106 * test/test-simple.c:
5107 Added test_value () function (known not to pass at the moment, so
5108 not actually called yet.
5110 2001-12-08 Michael Meeks <michael@ximian.com>
5112 * at-bridge/bridge.c (bridge_focus_tracker),
5113 (emit_eventv): fix the same ref. leak.
5114 (register_atk_event_listeners): don't leak.
5116 * cspi/spi-listener-impl.c (cspi_event): more
5117 protection from client code.
5119 * test/test-simple.c (test_desktop): unref the app.
5121 * test/Makefile.am: upd. TESTS.
5123 * at-bridge/bridge.c (bridge_exit_func): release the registry.
5125 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
5127 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
5129 * cspi/spi_registry.c: constify in strings.
5130 (deregisterGlobalEventListenerAll): don't release the ref.
5132 * cspi/spi.h: start removing redundant / conflicting
5133 gtkdoc comments, making the API readable at a glance :-)
5135 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
5137 * test/keysynth-demo.c (keysynth_exit, main): upd.
5139 * test/simple-at.c (main, simple_at_exit): upd.
5141 * test/test-simple.c (unutterable_horror): kill.
5142 (utterable_normal_derefs): kill.
5143 (main): upd & do a setenv before gtk_init, so that we
5144 can use memprof - and to save the pain of remembering
5145 this, if we're running under memprof - don't exit.
5147 * cspi/spi_main.c (SPI_exit): return exit status
5149 (SPI_event_quit): impl.
5150 (SPI_event_main): simplify.
5151 (cspi_is_gnome_app): kill.
5152 (SPI_init): kill isGNOMEapp arg.
5154 * at-bridge/bridge.c (register_atk_event_listeners):
5155 re-instate the unref.
5156 (bridge_exit_func): don't re-activate the registry,
5157 protect vs. theoretical re-entry, use the
5158 AT_BRIDGE_SHUTDOWN env. var to determine whether to
5159 assert a clean shutdown - for regression tests.
5161 2001-12-08 Abel Cheung <maddog@linux.org.hk>
5163 * configure.in: Comment out dummy i18n support for now,
5164 otherwise it fails to build.
5165 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
5166 EXTRA_DIST. They are missing in tarball.
5168 2001-12-07 Michael Meeks <michael@ximian.com>
5170 * util/magnifier.c: kill bonobo activation reg. race.
5172 * libspi/component.c
5173 (impl_accessibility_component_get_extents): make it match
5176 * libspi/registry.c (_registry_notify_listeners):
5177 re-remove X headers & reconcile conflicts.
5178 (spi_listener_struct_free): bad conflict resolve.
5179 (impl_accessibility_registry_register_application):
5180 more bad merging fixed.
5181 (impl_accessibility_registry_deregister_application): ditto.
5182 (spi_registry_new): ditto.
5183 (spi_registry_init): don't have an applications field.
5185 [ merge fixups2 branch to here ]
5186 2001-12-07 Michael Meeks <michael@ximian.com>
5188 * test/simple-at.c (report_focus_event),
5189 (report_focussed_accessible): remove g_warning debug.
5191 2001-12-07 Michael Meeks <michael@ximian.com>
5193 * test/test-simple.c (validate_tree): comment out some checks.
5194 (test_desktop): app now not registered idly - horay.
5196 2001-12-07 Michael Meeks <michael@ximian.com>
5198 * cspi/spi_registry.c
5199 (registerAccessibleKeystrokeListener): clean, stop it leaking
5200 great swathes of memory, and device event controller references.
5201 ensure we always pass valid sequences.
5202 (deregisterAccessibleKeystrokeListener): ditto.
5203 (generateKeyEvent): upd.
5205 * at-bridge/bridge.c (bridge_key_listener): handle
5206 registry dead exception gracefully.
5207 (bridge_focus_tracker, emit_eventv): free ev.
5209 * test/simple-at.c (report_focus_event): fix polarity.
5211 * libspi/application.c (notify_listeners): kill the ev
5212 argument, and make sure we init the ev we use.
5213 (spi_application_object_event_listener): split out a chunk
5214 (get_atk_object_ref): here & fixup.
5215 (reverse_lookup_name_for_toolkit_event): make const.
5216 (spi_application_toolkit_event_listener): fixup, kill leaks
5219 * at-bridge/bridge.c (register_atk_event_listeners):
5220 don't unref the noop object - causes grief.
5222 * libspi/registry.c: remove the X headers.
5223 turn off the debug churn.
5225 * libspi/accessible.c (spi_accessible_new_return): only
5226 release the ref if we are supposed to [doh]
5228 * test/simple-at.c (report_button_press, report_focus_event):
5229 guard vs. unexpected exit.
5231 * at-bridge/bridge.c (gtk_module_init): prune printf.
5232 (bridge_exit_func): fix app unref.
5234 * libspi/Makefile.am: don't install registry or desktop.h
5236 * libspi/*.h: update includes.
5238 * libspi/application.h: don't include ourself, or
5239 other redundant headers.
5241 2001-12-06 Michael Meeks <michael@ximian.com>
5243 * libspi/accessible.c
5244 (get_accessible_from_servant): impl.
5245 Upd. all CORBA impl.s to use it killing cut and paste.
5247 * cspi/spi_main.c (cspi_cleanup): guard vs. double
5249 (SPI_init): register atexit cleanup handler here.
5251 2001-12-06 Michael Meeks <michael@ximian.com>
5253 * at-bridge/bridge.c (gtk_module_init): g_error on
5254 activation exception
5256 2001-12-06 Michael Meeks <michael@ximian.com>
5258 * at-bridge/bridge.c (gtk_module_init): some sort of
5259 confusing merge clash - reverted.
5260 (bridge_idle_init): ditto.
5262 * test/test-simple.c (main, utterable_normal_derefs):
5263 merge from Bill - somehow not committed.
5265 2001-12-06 Michael Meeks <michael@ximian.com>
5267 * libspi/value.c (spi_value_class_init): upd.
5268 (spi_value_finalize): kill.
5270 * libspi/table.c (spi_table_finalize): kill.
5271 (spi_table_interface_new): upd.
5272 (spi_table_class_init): upd.
5273 (get_table_from_servant): impl.
5274 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5276 * libspi/selection.c (spi_selection_finalize): kill.
5277 (spi_selection_interface_new): upd.
5278 (spi_selection_class_init): upd.
5279 (get_selection_from_servant): impl.
5280 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5282 * libspi/relation.c (spi_relation_finalize): kill.
5283 (spi_relation_class_init, spi_relation_new): upd
5285 * libspi/image.c (spi_image_finalize): kill.
5286 (spi_image_class_init): upd.
5287 (spi_image_interface_new): upd.
5288 (get_image_from_servant): impl.
5289 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5291 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
5292 (spi_hyperlink_finalize): kill.
5293 (spi_hyperlink_new): upd.
5294 (get_hyperlink_from_servant): impl.
5295 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5297 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
5298 (spi_hypertext_finalize): kill.
5299 (spi_hypertext_class_init): upd.
5300 (get_hypertext_from_servant): impl.
5301 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5303 * libspi/editabletext.c (spi_editable_text_finalize): kill.
5304 (spi_editable_text_interface_new): upd.
5305 (get_editable_text_from_servant): impl.
5306 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5308 * libspi/text.c (get_text_from_servant): impl.
5309 All impls - update to use it killing more cut and paste,
5310 also fix bad string returns on duff args ( a somewhat
5311 impossible case to handle - but hey ).
5312 (spi_text_construct): impl.
5313 (spi_text_interface_new): upd.
5314 (spi_text_object_finalize): kill.
5316 * libspi/component.c
5317 (accessibility_component_object_finalize): kill.
5318 (spi_component_class_init): upd.
5319 (get_component_from_servant): impl. helper to kill cut & paste.
5320 (impl_accessibility_component_contains):
5321 (impl_accessibility_component_get_accessible_at_point):
5322 (impl_accessibility_component_get_position):
5323 (impl_accessibility_component_get_extents):
5324 (impl_accessibility_component_get_mdi_z_order):
5325 (impl_accessibility_component_get_layer):
5326 (spi_component_interface_new): upd.
5328 * libspi/action.c (spi_action_finalize): kill.
5329 (spi_action_class_init): upd. inherit from SpiObject.
5330 (spi_action_interface_new): upd.
5331 (get_action_from_servant): impl. helper to reduce cut & paste.
5332 (impl_getKeyBinding, impl_getName, impl_doAction),
5333 (impl_getDescription): Use it everywhere.
5335 * cspi/spi_main.c (get_live_refs): a pointer hash.
5336 (spi_object_hash, spi_object_equal): comment out.
5337 There are issues with CORBA object hashing that need
5340 * libspi/application.c (spi_application_init),
5341 (spi_application_new): upd.
5343 * libspi/accessible.c (spi_accessible_object_finalize): kill.
5344 (spi_accessible_class_init): upd.
5345 s/accessible/object/ in epv methods.
5347 2001-12-05 Bill Haneman <bill.haneman@sun.com>
5349 * at-bridge/bridge.c:
5350 Reorder the bridge initialization into the bridge gtk_module_init,
5351 an immediate call to bridge_register_app, and an idle_add for
5352 register_atk_event_listeners (the only code that *must* wait until
5353 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
5354 the activation, creates the application's Accessible object, and
5355 queues the bridge_idle_init function. Restored call to
5356 Accessibility_Registry_deregisterApplication().
5357 Prior to making this call we obtain a new reference to the
5358 registry, which is a temporary hack that helps us handle apps that
5359 shut down the bonobo mainloop before we get there.
5361 * libspi/registry.c:
5362 Fix string leakage in debug block, and don't segv if a an app
5363 dies before its event notifications have been propagated.
5366 Modify cspi_check_ev() to call g_warning() rather than g_error(),
5367 as stopgap measure until we get proper exception handling when
5368 objects die during or before interrogation.
5372 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
5373 Also changed default value of is_gnome_app to TRUE.
5376 * test/keysynth-demo.c:
5377 Changed use of SPI_init and SPI_event_main to reflect API change above.
5380 Made report_focus_event check the warning value from getName
5381 before reporting on focussed accessible; simplifies handling of
5382 notifications from dead objects.
5384 * test/test-simple.c: (Changes not in this patch since source is
5387 2001-12-05 Michael Meeks <michael@ximian.com>
5389 * registryd/registryd.c (main): protect against
5390 bonobo-activation startup race condition.
5392 * cspi/spi_main.c (cspi_object_add_check): cope
5393 with the exception elegantly.
5395 * idl/Accessible.idl: decl. ChildGone
5397 * libspi/desktop.c (spi_desktop_dispose): impl.
5398 (spi_desktop_class_init): upd.
5399 (spi_desktop_add_application),
5400 (spi_desktop_remove_application),
5401 (abnormal_application_termination): impl.
5402 (impl_desktop_get_child_at_index): re-impl.
5405 (impl_accessibility_registry_deregister_application),
5406 (impl_accessibility_registry_register_application):
5407 kill excessive debug clutter.
5409 * test/test-simple.c (test_misc): test some NULL
5410 tolerance. (main): upd.
5412 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
5413 implements no interfaces - so let's not crash.
5415 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
5417 * libspi/accessible.c (spi_accessible_new_return): impl.
5418 helper to calm the cut and paste, to cope with
5419 NULL AtkObjects effectively and efficiently, and to kill
5420 the referencing bugs.
5422 * libspi/table.c (impl_getAccessibleAt),
5423 (impl_getRowHeader, impl_getColumnHeader): upd.
5425 * libspi/hyperlink.c (impl_getObject): upd.
5427 * libspi/accessible.c
5428 (impl_accessibility_accessible_get_child_at_index): upd.
5430 * libspi/component.c
5431 (impl_accessibility_component_get_accessible_at_point): upd.
5433 * test/test-simple.c (test_editable_text, test_text): impl.
5436 * cspi/spi_editabletext.c
5437 (AccessibleEditableText_insertText): constify.
5439 * test/test-simple.c (focus_me): make more robust.
5441 * libspi/accessible.c: remove some printfs in methods that
5442 we test and work fine, so we can get a clean tree dump.
5444 * test/test-simple.c (validate_accessible),
5445 (validate_tree): make tree dumping pretty too.
5447 * at-bridge/bridge.c (bridge_signal_listener): upd. so
5448 it builds without debug on.
5450 * test/test-simple.c (validate_accessible): fix the most
5453 * cspi/spi_main.c (spi_object_release): leave the nicely
5454 blanked memory around if in debug mode.
5456 * cspi/spi-listener-impl.c (cspi_event): use add_check.
5458 [committed to fixups2]
5459 2001-12-05 Michael Meeks <michael@ximian.com>
5461 * libspi/editabletext.c
5462 (spi_editable_text_class_init): g_type_class_peek_parent,
5463 not interface peek - so we finalize cleanly.
5465 * libspi/accessible.c (spi_accessible_new): kill debug.
5467 * test/test-simple.c (validate_accessible): fix ref.
5468 leak, print strings before freeing them; sigh, comment a
5469 chunk out due to strangeness.
5470 (validate_tree): unref the child after use.
5472 * cspi/spi_component.c (AccessibleComponent_getLayer):
5473 add missing break statement, switch on zlayer not the
5474 uninitialized retval.
5476 * cspi/spi_main.c (cspi_object_add): add assert, local ref
5477 before (possibly re-entering) remote unref.
5479 * test/simple-at.c (main): unref the desktop.
5481 * cspi/spi_accessible.c (cspi_accessible_is_a): move
5484 * cspi/spi_main.c (cspi_accessible_is_a): here to
5485 isolate bonobo API usage more.
5487 * libspi/registry.c (impl_accessibility_registry_register_application):
5488 prune bogus comment.
5490 2001-12-04 Michael Meeks <michael@ximian.com>
5492 * test/test-simple.c (validate_tree): upd.
5493 IndexInParent check to make it more lucid.
5494 (validate_accessible): dump the tree.
5496 * libspi/accessible.c (de_register_public_ref),
5497 (get_public_refs): impl.
5498 (spi_accessible_new): make more efficient & intuitive.
5499 Now IndexInParent check works.
5501 2001-12-04 Michael Meeks <michael@ximian.com>
5503 * cspi/spi-util.h: remove.
5505 * cspi/spi.h: move SPI_freeString here
5507 * libspi/component.c (impl_accessibility_component_get_layer):
5509 (impl_accessibility_component_get_mdi_z_order): ditto,
5510 return -1 on error - is this ok ?
5512 * test/test-simple.c (test_application): impl.
5514 * cspi/spi_accessible.c (Accessible_getApplication),
5515 (Accessible_isApplication): impl.
5517 * libspi/registry.c (spi_listener_struct_free): release
5518 the CORBA reference too.
5520 * libspi/accessible.c
5521 (impl_accessibility_accessible_get_parent): fix ref leak.
5523 * libspi/registry.c (spi_registry_new): make the registry
5524 immortal - we don't want it to go away ever.
5526 * libspi/application.c
5527 (spi_accessible_application_finalize): impl. cleanup.
5529 * cspi/spi_registry.c
5530 (deregisterGlobalEventListenerAll),
5531 (deregisterGlobalEventListener),
5532 (deregisterAccessibleKeystrokeListener): fix ref leak.
5534 * cspi/spi_main.c (SPI_init): remove redundant ref.
5536 * test/test-simple.c (unutterable_horror): impl. to force a
5541 (impl_accessibility_registry_deregister_application): release
5542 the application when we de-register it.
5544 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
5545 until we have the infastructure to get it right.
5547 2001-12-03 Michael Meeks <michael@ximian.com>
5549 * libspi/Makefile.am: only build eventlistener.[ch]
5551 * libspi/accessible.c
5552 (impl_accessibility_accessible_get_child_at_index): don't leak.
5554 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
5555 before we hit the idle handler.
5557 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
5558 debugging than exit.
5560 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
5562 * libspi/listener.c (impl_notify_event): check source
5563 not NIL before unref.
5565 * libspi/registry.c (impl_registry_notify_event): ditto.
5567 * libspi/eventlistener.c
5568 (impl_accessible_event_notify_event): unref the source.
5570 * libspi/accessibleeventlistener.c
5571 (impl_accessible_event_notify_event): unref the source.
5573 * idl/Event.idl: remove 'hash_id' attribute - of no
5576 * libspi/application.c (notify_listeners): upd list
5578 (spi_application_object_event_listener),
5579 (spi_application_toolkit_event_listener): upd to do correct
5583 (_registry_notify_listeners): update.
5584 (parse_event_type): this method also leaks like a sieve.
5585 (impl_accessibility_registry_deregister_global_event_listener):
5586 fix ETYPE_WINDOW case.
5588 * libspi/application.c
5589 (impl_accessibility_application_register_object_event_listener):
5592 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
5594 * libspi/hypertext.c (impl_getLink): ditto.
5596 * cspi/spi_main.c (cspi_object_add): remove
5597 bogus CORBA_Object_duplicate.
5599 * cspi/spi-listener-impl.c (cspi_event): dup/ref
5602 * cspi/spi_accessible.c
5603 (Accessible_getRelationSet): fix leak / referencing issue.
5605 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
5606 (cspi_object_add, cspi_object_unref): upd.
5607 (spi_object_release, get_live_refs): impl.
5608 (cspi_cleanup): simplify.
5610 * *.[ch]: s/boolean/SpiBoolean/
5612 * cspi/spi_accessible.c (role_names): actualy order so it
5613 corresponds with the enum !
5615 * test/test-simple.c (test_roles): check some role strings
5616 vs. enums to detect offset errors.
5618 2001-12-01 Michael Meeks <michael@ximian.com>
5620 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
5622 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
5624 (Accessible_getChildAtIndex): use cspi_add_check so we
5625 check the ev before using a (possibly) invalid value.
5627 * libspi/accessible.c
5628 (impl_accessibility_accessible_get_parent): don't segv
5631 * at-bridge/bridge.c (gtk_module_init): upd.
5632 (bridge_property_event_listener): don't leak strings
5634 (bridge_state_event_listener),
5635 (bridge_property_event_listener): don't use a static
5636 buffer in case of recursive event emission &
5637 re-enterancy - split out the swathe of cut and paste
5639 (emit_eventv): and fix 2 ref leaks here & comply to the
5641 (bridge_register_app): rename to
5642 (bridge_idle_init): this and kill arg parsing, split
5643 various inits & bonobo-activation registration to module
5644 init time, kill referencing error.
5645 (bridge_exit_func): fix the same leak.
5646 (bridge_focus_tracker): don't leak event structures
5648 (bridge_signal_listener): more leakage and cut & paste
5650 (bridge_key_listener): return the result - FIXME is
5651 this polarity correct ?
5652 (accessibility_keystroke_from_atk_key_event): rename
5653 (accessibility_init_keystroke_from_atk_key_event): and stop
5655 (gtk_module_init): return a value - not that it is checked by
5657 (bridge_key_listener): register my horror at casting between
5658 IDL defined structs.
5659 (bridge_get_registry): kill - not used.
5661 * cspi/spi_accessible.c (Accessible_getRole): make return const.
5663 * test/test-simple.c (test_roles): impl.
5664 (test_desktop, validate_accessible, validate_tree): impl.
5666 * cspi/spi_accessible.c (role_names): fixup bogus
5667 MAX_ROLES setup, make constants const for efficient linkage
5668 (AccessibleRole_getName): conform to coding style, make
5671 2001-11-30 Michael Meeks <michael@ximian.com>
5673 * cspi/spi.h: add missing prototype.
5675 * libspi/registry.c (spi_listener_struct_new): fix sig.
5677 * test/Makefile.am: add test-simple
5679 * test/test-simple.c: add
5681 * test/test.sh: add.
5683 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
5685 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
5686 do it straight - since otherwise we often get an activation race.
5688 [ work before Bill duplicated a chunk of it ... ]
5689 2001-11-30 Michael Meeks <michael@ximian.com>
5691 * libspi/keystrokelistener.c
5692 (spi_keystroke_listener_class_init): fixup arg
5695 * libspi/eventlistener.c
5696 (spi_event_listener_class_init): ditto.
5698 * tests/test.sh: add.
5700 * cspi/spi-listener-impl.h: update macros.
5702 * cspi/spi-listener-impl.c
5703 (cspi_event_listener_remove_callback): add
5704 correct pre-conditions.
5706 * cspi/spi_main.c (SPI_exit): guard vs. double
5707 exits, exit the mainloop nicely.
5708 (SPI_event_main): make more sense.
5709 (SPI_init): move the atexit evilness here so we
5710 always do it (yuck).
5711 (SPI_event_main): upd.
5713 * test/simple-at.c: update for listener changes.
5715 * registryd/registryd.c (main): prune kruft.
5717 * libspi/libspi.h: upd.
5719 * libspi/eventlistener.[ch]: rename broken macros.
5721 * libspi/accessibleeventlistener.[ch]: remove.
5723 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
5725 * test/test-simple.c: Add - automated tests.
5727 * cspi/spi-listener-impl.c (cspi_event),
5728 (cspi_key_event): add user_data to invoke.
5729 (cspi_keystroke_listener_finalize): impl.
5730 (cspi_keystroke_listener_class_init): upd.
5733 (createAccessibleEventListener),
5734 (AccessibleEventListener_addCallback),
5735 (createAccessibleKeystrokeListener),
5736 (AccessibleKeystrokeListener_addCallback): upd.
5738 * libspi/deviceeventcontroller.c
5739 (spi_device_event_controller_check_key_event): add public proto.
5742 (impl_accessibility_registry_deregister_global_event_listener):
5743 always init listeners.
5744 (_registry_notify_listeners): yes it is.
5746 * cspi/spi-listener-impl.c (cspi_key_event):
5748 (cspi_event_listener_finalize): impl.
5749 (cspi_event_listener_class_init): hook up.
5750 (event_handler_new, event_handler_free),
5751 (event_list_remove_by_callback): impl.
5752 (cspi_event_listener_remove_callback),
5753 (cspi_keystroke_listener_remove_callback),
5754 (cspi_keystroke_listener_add_callback),
5755 (cspi_event_listener_add_callback): upd.
5757 * libspi/keystrokelistener.c
5758 (keystroke_listener_object_finalize): kill
5759 (spi_keystroke_listener_class_init): upd.
5760 (spi_keystroke_listener_add_callback),
5761 (spi_keystroke_listener_remove_callback): kill,
5763 (impl_key_event): prune drasticaly.
5765 * libspi/eventlistener.c
5766 (spi_event_listener_add_callback),
5767 (spi_event_listener_remove_callback): kill, use
5769 (impl_accessible_event_notify_event): upd.
5770 (spi_event_listener_object_finalize): remove.
5772 * libspi/Makefile.am: use eventlistener.[ch]
5774 2001-12-04 Bill Haneman <bill.haneman@sun.com>
5776 * libspi/registry.c (_registry_notify_listeners):
5777 Changed listener loop iteration to use preferred convention.
5778 Got rid of string memory leaks caused be calling g_strconcat
5779 inside function calls.
5781 * libspi/registry.c (parse_event_type):
5782 Stopped g_strconcat memory leaks, free the g_strsplit return,
5783 g_strdup the split pieces when used, etc.
5785 2001-12-04 Bill Haneman <bill.haneman@sun.com>
5788 Change method 'compare' to return a 'difference set' rather than
5789 taking a StateSet as an out parameter (more Java-friendly).
5791 * idl/Accessible.idl:
5792 Added CORBA struct 'BoundingBox', to faciliate API changes below:
5794 * idl/Component.idl:
5796 Changed methods 'getExtents' and 'getImageExtents' in these
5797 interfaces to return a BoundingBox structure.
5798 (getPosition and getSize are redundant and possibly should be
5799 removed, rather than creating a corresponding Point struct.)
5801 * cspi/spi_component.c:
5802 Modify implementation of getExtents to reflect the above IDL
5807 Add (missing) AccessibleImage_getExtents () API.
5809 * docs/reference/cspi/at-spi-cspi-sections.txt:
5810 Added AccessibleImage_getImageExtents () to docs.
5812 2001-12-03 Bill Haneman <bill.haneman@sun.com>
5814 * idl/Component.idl:
5815 Added two methods, getLayer () and getMDIZOrder (), to reflect
5816 the new ATK methods atk_object_get_layer and
5817 atk_object_get_mdi_z_order. (Which arguably should be part of the
5818 AtkComponent API and AtkObject). Also added an enum,
5819 ComponentLayer, for the first method's return value.
5821 * libspi/component.c:
5822 Added implementations for these methods.
5824 * cspi/spi_component.c:
5826 Added cspi binding methods for above,
5827 AccessibleComponent_getLayer() and
5828 AccessibleComponent_getMDIZOrder().
5829 Added cspi enum 'AccessibleComponentLayer'.
5831 * docs/reference/cspi/at-spi-cspi-sections.txt:
5832 Added above methods to docs.
5836 Changed typedef for 'boolean' type (and all references to it) to
5837 SPIBoolean, to avoid keyword clashes with C++.
5840 Changed usages of 'boolean' to SPIBoolean.
5842 * test/keysynth-demo.c:
5843 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
5844 app), except where SPIBoolean is required by the callbacks API.
5846 2001-12-02 Bill Haneman <bill.haneman@sun.com>
5848 * cspi/spi_registry.c:
5849 Removed obsolete X event loop for passive keygrabs (which now
5852 * registryd/registryd.c:
5853 Removed unnecessary call to gdk_init() [cruft]. This also allows
5854 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
5857 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5859 * docs/reference/cspi:
5860 Included docs for SPI_freeString in generated documentation.
5863 Renamed spi_freeString to SPI_freeString, for consistency. Added
5864 documentation for this function.
5867 Renamed spi_freeString to SPI_freeString, for consistency.
5868 Removed obsolete method declaration string_from_corba_string.
5870 * test/keysynth-demo.c:
5871 Small tweak to comments.
5874 Stopped leaking the strings returned from CSPI.
5876 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5878 Merged Michael's branch (see his ChangeLog entries below).
5880 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
5881 bridge is alive, release on exit.
5883 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
5884 Fix type check macro.
5887 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
5890 Added is_gnome_app static, and method cspi_is_gnome_app(),
5891 so we can call the appropriate shutdown routine at exit in SPI_exit.
5893 * cspi/spi_main.c (cspi_object_ref):
5894 Duplicate the corba object passed in, since we're keeping it around.
5896 * cspi/SPI_exit.c, cspi_cleanup:
5897 Moved the releasing of the live refs to its own function, so we
5898 can put it in g_atexit (). Call the appropriate shutdown API
5899 depending on whethe calling client is a gnome app or not
5900 (bonobo_main_quit or CORBA_ORB_shutdown).
5902 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
5903 Unref the listener when this method is called, after
5904 deregistration. Updated the API docs to note this behavior.
5906 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
5907 Bugfixes: Ref the bonobo object when returning a parent or child
5908 reference, or an AccessibleRelation. Generally made sure
5909 BonoboObject refcount is incremented whenever we return an
5912 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
5913 Fixed typo/bug in signal declaration.
5915 * libspi/accessibleeventlistener.h:
5918 * libspi/application.c (spi_application_new):
5919 Fixed leak in initialization.
5922 Remembered to increment bonobo-object refcount when returning
5923 children (applications) from desktop object.
5924 Added (empty) finalize method.
5926 * libspi/deviceeventcontroller.c:
5927 Hold a ref to listeners inside DEControllerKeyListeners.
5928 Added dec_key_listener_free() method. Use prepend instead of
5929 append in key_listener list. Fixed some refcount madness and
5930 leaks in the listener registration/deregistration - deregistration
5931 now calls dec_key_listener_free() on listeners, and on the
5932 temporarily constructed dec_key_listener() used to perform the search/match.
5934 * libspi/hypertext.c (spi_hypertest_finalize):
5935 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
5936 class. Also fixed spi_hypertext_interface_new() and
5937 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
5939 * libspi/hypertext.h:
5940 Removed pointless and duplicate AtkObject pointer from
5943 * libspi/keystrokelistener.c:
5944 Fixed incorrect type of keystroke_listener_parent_class,
5945 renamed keystroke_listener_object_finalize to
5946 spi_keystroke_listener_object_finalize.
5947 Fixed typo in signal declaration
5948 (spi_keystroke_listener_class_init).
5950 * libspi/registry.c:
5951 Added funcsions spi_listener_struct_new() and
5952 spi_listener_struct_free() to help with memory management issues.
5953 We also now use these methods instead of gnew + poking stuff into
5954 the struct, and to decrement listener counts/free the listeners
5955 when deregistering them.
5956 Fix more refcount bugs in getDesktop() and
5957 getDeviceEventController().
5960 De-ref the desktop after enumerating the applications. Explicitly
5961 decrement the refcounts on the created listeners on exit (using
5962 _unref for keystroke listeners, and via the
5963 deregisterGlobalEventListenerAll command for other event
5966 2001-11-27 Michael Meeks <michael@ximian.com>
5968 * cspi/spi-listener.h: fixup enum.
5970 2001-11-27 Michael Meeks <michael@ximian.com>
5972 * cspi/spi-listener-impl.c (cspi_event_listener_new),
5973 (cspi_keystroke_listener_new): Use the cspi variants.
5975 2001-11-26 Michael Meeks <michael@ximian.com>
5977 * test/keysynth-demo.c: fix 2 compile warnings, missing
5980 * test/simple-at.c (report_focussed_accessible),
5981 (report_focus_event, report_button_press),
5982 (check_property_change, is_command_key),
5983 (report_ordinary_key_event, report_command_key_event): upd.
5985 * util/mag_client.h: include pre-requisites.
5987 * libspi/accessibleeventlistener.c
5988 (spi_event_listener_object_finalize): free any lingering
5991 * libspi/keystrokelistener.c
5992 (keystroke_listener_object_finalize): ditto.
5994 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
5995 callbacks, with cspi types.
5997 * cspi/spi_event.c (createAccessibleEventListener): chain to
5998 (AccessibleEventListener_addCallback): here.
5999 (createAccessibleKeystrokeListener): chain to
6000 (AccessibleKeystrokeListener_addCallback): here.
6002 * libspi/keystrokelistener.c
6003 (spi_keystroke_listener_class_init): add signal.
6004 (impl_key_event): emit the event.
6005 (boolean_handled_accumulator): impl.
6006 (marshal_BOOLEAN__POINTER): add, gack.
6008 * libspi/accessibleeventlistener.c
6009 (spi_event_listener_class_init): add signal.
6010 (impl_accessible_event_notify_event): emit the signal &
6011 make the loop efficient.
6012 (spi_event_listener_add_callback): prepend the callback.
6014 * libspi/accessibleeventlistener.h: add an 'event' signal,
6015 decl type on callback.
6017 * libspi/keystrokelistener.h: ditto.
6019 * cspi/spi-listener.h: make methods typesafe and
6020 make them use the new event typedefs.
6022 * test/simple-at.c (report_focussed_accessible):
6023 include mag_client.h
6024 Use *(void *)text_interface not the other thing.
6026 * configure.in: add gtk to registryd bits - since we use
6029 * util/magnifier.c: include libbonobo.h
6031 2001-11-25 Bill Haneman <bill.haneman@sun.com>
6033 * test/keysynth-demo.c:
6034 Turned this into a simple scanning keyboard, to demonstrate the
6035 use of g_timeout_add () as a means of creating timers for
6036 scanning, and the use of GtkStyle for visually indicating when
6037 virtual keyboard elements are selected.
6039 keysynth-demo now listens to any keyboard keys with zero-valued
6040 keycodes (i.e. 'unused' keys) and interprets them as
6043 Reworked the shiftlatch code so that shift-down state isn't held
6044 for long periods (it's only synthesized immediately prior to
6045 the keysynth event it's modifying). Note that shiftlatch in this
6046 demo is a convenience, not intended to take the place of AccessX
6047 which is the better choice for getting 'sticky' modifier keys.
6049 * libspi/deviceeventcontroller.c:
6050 * at-bridge/bridge.c:
6051 * cspi/spi_registry.c:
6052 Removed some debug print stuff, and put other verbosity in #ifdef
6057 Implemented some more of the magnifier IDL for the simple
6058 magnifier: namely, getZoomRegionParams.
6059 Added mag_x and mag_y members to MagnifierData struct, aid of this
6061 Added GtkWindow::realize signal handler to magnifier, to keep it
6062 from receiving keyboard focus from the WM.
6064 2001-11-23 Mark McLoughlin <mark@skynet.ie>
6066 * cspi/spi-private.h: my guess at what michael forgot
6067 before he ran off to NZ :-)
6069 2001-11-23 Michael Meeks <michael@ximian.com>
6071 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
6072 comment out non existant method invoke so we link.
6074 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
6075 use bonobo_exception_get_text for more friendly warnings.
6077 * cspi/spi.c (Obj_Add): move into spi_main & rename
6078 spi_object_add; kill spi.c
6080 * cspi/spi_registry.c
6081 (deregisterGlobalEventListener),
6082 (deregisterGlobalEventListenerAll),
6083 (registerGlobalEventListener): fix exception leaks.
6085 * cspi/spi_main.c (spi_exception): impl. helper, so we
6086 don't leak exceptions.
6088 * cspi/spi_selection.c
6089 (AccessibleSelection_deselectSelectedChild): return the
6092 * cspi/spi_main.c (spi_ev): impl; hack - gack.
6093 (spi_registry): ditto.
6094 (SPI_init): guard against double inits.
6096 * cspi/*.c: use spi_ev (), and spi_registry () where
6097 appropriate - a temporary hack until we have something
6098 better. Use spi_object_add
6100 2001-11-22 Michael Meeks <michael@ximian.com>
6102 * cspi/Makefile.am: re organise, install the headers.
6104 * cspi/*.h: add G_BEGIN/END_DECLS
6106 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6109 Added non-preemptive keylistener for key events with no modifiers
6110 and shift-only modifier.
6112 * libspi/keystrokelistener.c:
6113 Removed some verbose diagnostics printout.
6115 * cspi/spi_registry.c:
6116 Fixed a bug that caused all key listeners to be registered as
6119 * libspi/deviceeventcontroller.c:
6120 Fixed bug that caused XGrabKey (preemptive key grab) to be called
6121 for non-preemptive key masks.
6124 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6126 * docs/reference/idl/at-spi-idl-docs.sgml:
6127 * docs/reference/idl/at-spi-idl-sections.txt:
6128 * docs/reference/idl/at-spi-idl-overrides.txt:
6129 Added missing files.
6131 * docs/reference/Makefile.am:
6132 removed idl from SUBDIRS until we can figure a way to get gtk-doc
6133 to scan the IDL files :-(
6138 Added .cvsignore files.
6140 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6142 * libspi/deviceeventcontroller.c:
6143 * libspi/keystrokelistener.c:
6145 * cspi/spi_registry.c:
6146 Added filters for KeySets, KeyEventSeq, and event types to key
6147 event dispatching, so listeners should only receive those events
6148 that they requested :-)
6150 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6155 * docs/reference:Makefile.am:
6156 * docs/reference/cspi:
6157 * docs/reference/cspi:Makefile.am:
6158 * docs/reference/cspi:tmpl:
6159 * docs/reference/cspi:tmpl:*.sgml:
6160 * docs/reference/idl:
6161 * docs/reference/idl:Makefile.am:
6162 * docs/reference/idl:at-spi-idl-sections.txt:
6163 * docs/reference/idl:at-spi-idl-docs.sgml:
6164 * docs/reference/idl:tmpl:
6165 * docs/reference/idl:tmpl:*.sgml:
6167 Restructured docs directory to allow separate 'reference' docs
6168 section, and forked idl and cspi docs. Added the sgml template
6169 files to CVS. Added the first sections/structural sgml for the
6172 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
6174 * configure.in, libspi/Makefile.am: find libXtst.
6176 2001-11-21 Michael Meeks <michael@ximian.com>
6178 * test/accessx-gui.c: s/spi_value/value/ - doh.
6180 * libspi/base.[ch]: add.
6182 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6184 * idl/Accessible.idl:
6185 * idl/Application.idl:
6188 Started gtk-doc cleanup on IDL.
6190 * libspi/deviceeventcontroller.c:
6191 Added and connected non-preemptive key notification from the
6192 toolkits (in addition to the pre-emptive support from XServer
6193 which we had before, but which causes 'focus flashing'). Filters
6194 are presently limited to key modifiers and global/non-global,
6195 KeySets are presently ignored, as are KeyEvent masks.
6197 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
6198 structs into the persistant structure rather than just storing
6199 pointers to things that might not persist across servant
6202 The XGrabKey call now does async keygrabs, because synchronous
6203 ones were deadlocking with GDK_event code in a very nasty way.
6205 Added boolean to internal method notify_keylisteners, to indicate
6206 whether the event came from the 'toolkit source' or the 'global
6207 (XServer) source' - this is used in the notification process to
6208 determine which listeners to send the event to.
6210 deviceeventcontroller.c is now warning-free.
6212 * libspi/registry.c:
6213 Fixed regression in application de-registration.
6214 Also fixed some really brain-dead weirdness having to do with
6215 event dispatching - event structs are now duplicated before being
6216 re-marshalled in the dispatch to listeners. This also fixes a
6217 Solaris build problem.
6220 2001-11-20 Michael Meeks <michael@ximian.com>
6223 (impl_accessibility_registry_deregister_global_event_listener):
6226 * libspi/deviceeventcontroller.c
6227 (spi_device_event_controller_check_key_event): return
6228 FALSE on no virtual method.
6230 * libspi/*..h: make includes work on a correctly pathed install.
6232 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
6234 * libspi/application.h: kill unused ( and whacked out )
6235 gboolean *spi_application_set_id (AtkObject *app, long id);
6237 2001-11-20 Michael Meeks <michael@ximian.com>
6239 * libspi/*.[ch]: further convert to bonobo's type func
6240 macros, remove redundnant casts etc.
6242 * libspi/text.c s/accessibility_text/spi_text/g,
6243 re-order to de-cruft.
6245 * libspi/hypertext.c: re-order to kill a huge slew
6246 of redundant forward decls.
6248 * libspi/relation.c: ditto.
6250 * libspi/image.c: ditto.
6252 * */.cvsignore: update
6254 2001-11-20 Michael Meeks <michael@ximian.com>
6256 * libspi/deviceeventcontroller.c
6257 (_controller_register_with_devices): use g_getenv,
6258 kill stdlib.h include.
6260 * libspi/keystrokelistener.c
6261 (spi_keystroke_listener_get_type): kill
6262 (spi_keystroke_listener_class_init),
6263 (spi_keystroke_listener_init): rename to this.
6265 * libspi/text.c (impl_getAttributes): fix warning / bug.
6267 * libspi/*.[ch]: more headers, includes and over commenting.
6269 2001-11-20 Michael Meeks <michael@ximian.com>
6271 * libspi/*.[ch]: fixup headers, includes and over commenting.
6273 * libspi/image.c (impl__get_imageDescription): const
6274 correctness warning fix. remove redundant casting.
6276 * libspi/table.c (impl_getRowDescription): ditto.
6277 (impl_getColumnDescription): ditto.
6279 * libspi/libspi.h: add.
6281 2001-11-19 Michael Meeks <michael@ximian.com>
6283 * libspi/editabletext.c (impl_setAttributes): fix warnings.
6285 * libspi/component.c (accessibility_component_get_type):
6286 rename to (spi_component_get_type): and macroify.
6287 (accessibility_component_init): rename to
6288 (spi_component_init): this
6289 (accessibility_component_class_init): rename to
6290 (spi_component_class_init): this
6292 * libspi/action.c (spi_action_get_type): kill, use the macro.
6294 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
6297 * libspi/application.c (spi_application_object_event_listener),
6298 (impl_accessibility_application_register_object_event_listener):
6299 warning fixes / const understanding updates.
6301 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
6304 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6306 * libspi/spi_accessible.c: Added docs and C bindings for
6307 AccessibleStateSet. (No implementations yet). Documentation
6308 coverage for C bindings now 100%. Made docs for event listeners
6313 boolean notifyListenersSync (in DeviceEventListener listener,
6314 in DeviceEvent event);
6316 oneway void notifyListenersAsync (in DeviceEventListener listener,
6317 in DeviceEvent event);
6319 Added DeviceEventListener and DeviceEvent structs (may deprecate
6320 KeyStroke and KeystrokeListener in favor of this generic
6321 event/listener framework for devices).
6323 * libspi/deviceeventcontroller.c:
6325 Changed some key listener code to take masks, etc., and paved the
6326 way for integration of toolkit/non-preemptive key events. Changed
6327 signatures of some internal methods.
6329 * at-bridge/bridge.c:
6330 Fixed regression connecting to interface signals, apparently
6331 caused by GTK+ changes.
6333 Added an internal bridge_state_listener to deal with
6334 property-change:accessible-state signals.
6336 Changed the key_listeners GList to store structs (including masks,
6337 etc.) instead of just CORBA_Objects (required for full
6338 implementation of key listener API).
6340 Connected the bridge to all currently supported Atk signals.
6341 Events now supported:
6342 object:property-change
6343 object:property-change:accessible-name
6344 object:property-change:accessible-state
6345 object:property-change:accessible-description
6346 object:property-change:accessible-parent
6347 object:property-change:accessible-value
6348 object:property-change:accessible-role
6349 object:property-change:accessible-table-caption
6350 object:property-change:accessible-table-column-description
6351 object:property-change:accessible-table-column-header
6352 object:property-change:accessible-table-row-description
6353 object:property-change:accessible-table-row-header
6354 object:property-change:accessible-table-summary
6355 object:children-changed
6356 object:visible-data-changed
6357 object:selection-changed
6358 object:text-selection-changed
6360 object:text-caret-moved
6362 object:row-reordered
6364 object:column-inserted
6365 object:column-reordered
6366 object:column-deleted
6367 object:model-changed
6369 2001-11-16 Bill Haneman <bill.haneman@sun.com>
6371 * libspi/hyperlink.c,h:
6372 Fixed some broken stuff in hyperlink.
6374 * libspi/relation.h:
6375 * libspi/relation.c:
6376 * cspi/spi_accessible.c:
6377 Initial implementations of AccessibleRelation methods, and docs.
6379 * libspi/accessible.c:
6380 Fixed a bug that caused SEGV if an accessible
6381 object's description is NULL, and a client
6382 requests it. An empty string is now returned.
6384 * cspi/spi_editabletext.c:
6385 * cspi/spi_hypertext.c:
6387 * cspi/spi_hyperlink.c:
6391 Doc coverage now 95%.
6393 2001-11-16 Bill Haneman <bill.haneman@sun.com>
6395 One last namespacing revision:
6396 * libspi/accessibleeventlistener.[ch]:
6397 Renamed SpiAccessibleEventListener to SpiEventListener,
6398 (no need for two namespaces ;-)
6400 And lots of documentation fixes:
6402 * docs/at-spi-docs.sgml:
6403 Fixed 'underscore vs. hyphen' bug that was preventing
6404 the gtk-doc API docs from being automatically generated.
6407 * cspi/spi-listener.h
6409 * cspi/spi_accessible.c
6411 * cspi/spi_application.c
6412 * cspi/spi_component.c
6413 * cspi/spi_editabletext.c
6415 * cspi/spi_hypertext.c
6417 * cspi/spi_registry.c
6418 * cspi/spi_selection.c
6422 * docs/at-spi-docs.sgml
6423 * docs/at-spi-sections.txt
6425 Added and fixed up gtk-doc documentation in cspi.
6427 Interfaces now (fully) documented (subject to revision and enhancement):
6429 Event Listener Support
6431 AccessibleApplication
6435 AccessibleEditableText
6442 AccessibleRelationSet
6447 2001-11-14 Bill Haneman <bill.haneman@sun.com>
6449 * at-bridge/bridge.c:
6450 Initial work for toolkit-level key snooper connection by bridge.
6455 New typedefs and fixes to support new namespacing, and cleaner
6456 separation of cspi bindings from libspi bonobo implementation.
6457 Removed inconsistent and extraneous Spi* namespace prefix that
6458 had crept into cspi headers.
6459 Lots of comment fixes that sed had missed.
6461 * cspi/spi-roletypes.h:
6462 * cspi/spi-statetypes.h:
6463 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
6464 to AccessibleRoleType.
6466 * libspi/accessibleeventlistener.h:
6467 Fixed minor namespacing weirdness.
6469 * libspi/deviceeventcontroller.c:
6470 Reordered some internal API for device listeners.
6471 Changed the key registry final boolean to 'is_system_global'
6472 rather than 'is_synchronous', which is more descriptive of its
6474 Added spi_device_event_controller_new().
6475 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
6477 * libspi/keystrokelistener.[ch]:
6478 Namespaced KeystrokeListener to SpiKeystrokeListener.
6479 Changed uses of keymasks to use SPI_ prefix, and did other
6482 * libspi/keymasks.h:
6483 Namespaced keymask constants with SPI_ prefix.
6485 * libspi/registry.c:
6486 Some warning fixes, and knock-on fixes from namespace changes.
6489 Added rules for accessx-gui test program.
6491 * test/accessx-gui.c:
6492 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
6493 utility. It doesn't actually use at-spi, but it's still cool and
6496 * test/keysynth-demo.c:
6500 Fixes so that these test clients work properly with the namespaced
6501 libraries. (Incompletely tested for technical reasons, fixes may follow)
6504 2001-11-13 Michael Meeks <michael@ximian.com>
6506 * libspi/application.c
6507 (impl_accessibility_application_get_version),
6508 (impl_accessibility_application_get_toolkit_name):
6510 (impl_accessibility_application_set_id),
6511 (impl_accessibility_application_get_id): remove
6512 redundant casting code.
6514 * libspi/action.c (impl_getDescription): fix warnings.
6516 * libspi/accessible.c
6517 (impl_accessibility_accessible_get_parent),
6518 (impl_accessibility_accessible_get_child_at_index),
6519 (impl_accessibility_accessible_get_state),
6520 (impl_accessibility_accessible_get_relation_set):
6521 warning fixes & include action.h
6523 2001-11-13 Michael Meeks <michael@ximian.com>
6525 * *.[ch] fix bits I screwed up:
6527 s/([^ \tb(\*\&\?\",])spi_/\1/g;
6528 s/([^ \tb(\*\&\?\",])Spi/\1/g;
6530 2001-11-13 Michael Meeks <michael@ximian.com>
6532 * *.[ch] Namespace libspi into spi_ and Spi.
6534 2001-13-11 Michael Meeks <michael@ximian.com>
6536 * Makefile.am: dist & install at-spi-1.0.pc
6538 * libspi/Makefile.am: install into at-spi-1.0
6540 * idl/Makefile.am (idldir): install into at-spi-1.0
6542 * at-spi-1.0.pc.in: add.
6544 * configure.in: build it.
6546 2001-11-12 Bill Haneman <bill.haneman@sun.com>
6548 * test/keysynth-demo.c:
6549 Use a 'realize' signal-handler to set the WM properties for
6550 the virtual keyboard, rather than making it a "POPUP" type
6551 override-redirect window (thanks to anders carlsson for that
6554 2001-11-11 Bill Haneman <bill.haneman@sun.com>
6557 * test/keysynth-demo.c:
6558 Added new test of key synthesis, which creates a simple
6559 (mouse-operated) onscreen keyboard. It inserts key events into
6560 the currently-focused window, thus it does not grab keyboard focus
6563 * cspi/spi_registry.c:
6564 Added C binding for AT-SPI generateKeyEvent.
6566 * libspi/deviceeventcontroller.c:
6567 Added call to XFilterEvent so that key listener works with XIM (we
6568 hope). Added event_synth_type to generateKeyEvent, so that we can
6569 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
6570 synthesize a press/release pair for KeySyms.
6572 2001-11-09 Bill Haneman <bill.haneman@sun.com>
6574 * libspi/Makefile.am:
6575 * registryd/Makefile.am:
6576 (temporary) hack to include libXtst in libspi and registryd.
6577 (Needed for keystroke synthesis, see below).
6580 Improved API for registerKeystrokeListener, in accordance with
6581 discussions with Gnopernicus team and X server research.
6583 * libspi/registry.c:
6584 * libspi/deviceeventcontroller.c:
6585 * libspi/accessible.c:
6586 * libspi/keystrokelistener.c:
6587 Changes and fixes to support keylisteners for potentially
6588 consumed key events (that is, 'passive grabs').
6589 Added implementation for generateKeyEvent() [untested].
6592 Changes to registerKeystrokeListener() API, as above.
6593 Added deregisterGlobalEventListenerAll(), and
6594 deregisterKeystrokeListener(), which are needed for clean exit of
6596 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
6597 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
6599 * cspi/spi_registry.c:
6600 Added implementations of function prototypes mentioned above.
6602 * registryd/registryd.c:
6603 Added the key listener event source as a g_timeout(), to allow
6604 receipt of key events that are not caught by GDK (since GDK
6605 doesn't support passive keygrabs, this was necessary).
6608 Changed to attach a keylistener to 'Alt' keys, and
6609 respond to the following keycommands: Alt-M (toggle magnifier);
6610 Alt-F (toggle speech); Alt-Q (quit).
6611 Added an exit routine to deregister the listeners, and a key
6612 listener that prints some key info to the console when a key
6613 matches the listener mask (and is thus received by the listener).
6615 * util/idl/Magnifier.idl:
6616 Changes to magnifier API to support multiple zoom regions,
6617 non-uniform scaling in x and y, markDirty, and a host of other
6618 features that would be useful to magnification.
6621 * util/mag_client.c:
6622 * util/mag_client.h:
6623 * util/mag_control.c:
6625 Source code changes to support the above IDL changes.
6628 As above, and also changes to use a (slower) generic conversion
6629 path for colormap conversions, since the fast RGB conversions have been
6630 reported to fail for 16-bit displays.
6632 2001-10-26 Michael Meeks <michael@ximian.com>
6634 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
6636 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
6638 * at-bridge/Makefile.am: fix LDFLAGS.
6640 2001-10-09 Bill Haneman <bill.haneman@sun.com>
6642 * at-bridge/bridge.c:
6643 Re-worked listeners for toolkit events, now we have signal
6644 and property listeners. Added a private method
6645 register_atk_event_listeners(), which registers with the
6646 various atk and gtk signals we need to monitor in order to emit
6648 Added emission hook for AtkObject:property-change events, to
6649 support the 'property listeners'.
6650 Fixed some alloc()s of Accessibility_Event structs to use CORBA
6653 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
6654 which emit warnings and exit, respectively, if CORBA errors occur
6655 during remote calls, and we now use these methods to check most of
6656 our CORBA calls in the C bindings.
6658 * cspi/spi_accessible.c:
6659 Changed AccessibleSelection_refSelectedChild() to
6660 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
6661 now increment refcounts.
6663 * cspi/spi_component.c:
6664 Fixed some long pointer casts (dangerous!) to pass pointers to
6665 CORBA_longs of the proper type to the CORBA stubs, and copy the
6666 data into the longs that were passed into the C bindings code.
6668 * at-bridge/bridge.c:
6670 * libspi/accessible.c:
6671 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
6672 hyperlinks, AtkHyperlink is an object type.
6674 * libspi/application.c:
6675 Added various conversions to and from "generic" event types and
6676 atk-specific types; this is really part of the 'bridge'
6677 implementation but is valid for all AtkObject-based accessibility
6680 * libspi/editabletext.c:
6681 Fixed nasty bug wherein editable text's finalize method was
6682 unref'ing tha AtkObject reference that the text parent class was
6683 about to unref _again_. There was also a nasty inheritance bug
6684 that meant that the AccessibleEditableText class was corrupt.
6686 * libspi/selection.c:
6687 Provided implementations for some selection API that was broken.
6689 * idl/Application.idl:
6690 Added registerObjectEventListener () method.
6693 Fixed a number of return values that were Bonobo_Unknowns from
6694 bonobo_object_corba_objref(), which I
6695 forgot to dup before returning. Changed instances of
6696 bonobo_object_corba_objref (bonobo_object(o)) to
6697 BONOBO_OBJREF(o), for concision and clarity.
6699 2001-10-13 Louise Miller <louise.miller@sun.com>
6701 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
6702 idl/Event.idl, idl/Registry.idl
6703 Changed these files to include Bonobo_Unknown.idl instead
6706 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
6708 * libspi/component.c libspi/component.h:
6709 Fixed typo. Added assertions for object checks in
6710 AccessibleComponent code.
6712 2001-10-09 Bill Haneman <bill.haneman@sun.com>
6714 * idl/Accessible.idl:
6715 Added 'isEqual (Accessible *object)'
6716 method for Accessible. (Not Yet Implemented).
6719 Changed signature of registerKeystrokeListener() to
6720 take a KeySet and KeyEventSeq so that specific keys and event
6721 types could be requested for monitoring, and added a flag
6722 is_synchronous so that either synchronous or asynchronous
6723 notification could be requested. (However this is not all
6724 implemented yet). This also meant adding two new typedefs,
6725 KeyEventSeq and KeySet.
6728 Added two new relations, RELATION_TOOLTIP_FOR and
6729 RELATION_LEAFNODE_OF.
6732 Added new state, STATE_HAS_TOOLTIP.
6734 * libspi/text.c, editabletext.c:
6735 Added new assertions to all casts of bonobo-objects from
6736 CORBA servants, to prevent Text API calls on non-text objects.
6737 Changed suspect casts of int-pointer types, so that we
6738 always send a valid CORBA_long pointer to the CORBA APIs that use
6739 in/out long parameters. We then have to copy from the CORBA_long
6740 into the regular long or int for return to the C bindings, or
6741 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
6744 * libspi/deviceeventcontroller.c:
6745 Cleaned these sources up.
6747 Changed return type for getCharacterAtOffset to
6748 CORBA_unsigned_long, to allow for 32-bit characters.
6751 2001-10-08 Bill Haneman <bill.haneman@sun.com>
6755 Fixed 'make dist' so that distro compiles...
6756 * libspi/keymasks.h:
6758 * cspi/spi-listener.c:
6759 KeystrokeListenerCB now returns a boolean.
6761 Added KeyEventType struct, and KeyStroke.
6762 Also added createKeystrokeListener(),
6763 KeystrokeListener_addCallback(),
6764 KeystrokeListener_removeCallback(), and added a keymask to
6765 registerKeystrokeListener().
6766 * cspi/spi_accessible.c:
6767 Changed numerous return types for interfaces from
6768 AccessibleComponent to Accessible<InterfaceName>; this was
6769 probably a cut-and-paste error.
6771 Implementations of new KeystrokeListener api (from spi.h,
6774 Changes to key modifier mapping.
6775 Created ControllerEventMask struct.
6776 Made DeviceEventController derive from Bonobo::Unknown.
6778 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
6779 * libspi/deviceeventcontroller.c:
6780 Added a number of new internal (private) methods.
6781 * libspi/editabletext.c:
6782 * libspi/editabletext.h:
6783 Fixed a number of bugs related to the fact that
6784 editabletext inherits from text. Fixed the EditableText struct,
6785 the init() call, and use correct casts when calling Text methods
6786 from an EditableText object. Removed (duplicate) atko from the
6787 EditableText structure, we use the one in the parent Text
6788 structure via the casts mentioned above.
6789 * libspi/keystrokelistener.[ch]:
6790 * libspi/registry.c:
6791 Changes in support of keyboard handling (above).
6793 Keyboard handling, though partly functional, is still not
6794 recommended for at-spi client use as there is considerable
6795 work yet to be done.
6798 Changed some places where pointers to various int types
6799 are cast to be pointers to CORBA_long types and vice-versa:
6800 pointer casting is not safe so we pass pointers of the correct
6801 types and then cast the result before putting it into the target
6804 * libspi/text.h: minor typos corrected.
6806 We now speak not only the name of a Text element, but the
6807 first sentence of its content, when it receives focus.
6808 I also changed the text compression to 75% from 50%.
6809 * util/Accessibility_Util.server.in:
6810 Changed the default magnifier type to be a 3x vertical
6811 splitscreen magnifier (was previously a 2x horizontal one).
6813 2001-10-03 Bill Haneman <bill.haneman@sun.com>
6815 * libspi/keystrokelistener.h:
6816 * libspi/keystrokelistener.c:
6817 Initial functional implementations of KeystrokeListener.
6820 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
6822 Fixed string handling for NULL strings in libspi.
6823 Added spi_freeString to free strings returned by C bindings.
6825 2001-09-30 Bill Haneman <bill.haneman@sun.com>
6827 * libspi/keystrokelistener.h:
6828 * libspi/keystrokelistener.c:
6829 Began (no-op) implementations of KeystrokeListener
6831 * libspi/deviceeventcontroller.c:
6832 * libspi/deviceeventcontroller.h:
6833 Began creating implementations of DeviceEventController,
6834 to handle keystroke and mouse event listening and
6836 * libspi/accessible.c:
6837 Stubbed-in the implementations for
6838 Accessibility_Accessible_getState and
6839 Accessibility_Accessible_getRelationSet.
6840 * libspi/registry.c:
6841 Improved de-registration process and fixed some bugs,
6842 deregistration now works correctly.
6844 Added initialization of applications list (to NULL).
6846 Reduced speech compression from 0.5 to 0.7, for demo.
6847 Changed call to gdk_window_set_decorations()
6848 to gtk_window_set_decorated().
6849 * at-bridge/bridge.c:
6850 Bridge now deregisters when app exits, via
6851 registration of a cleanup function
6852 with the g_atexit() call.
6853 Required making 'app' static, renamed 'this_app'.
6854 Fixed broken use of bonobo_init, passing argv wrongly.
6856 2001-09-27 Bill Haneman <bill.haneman@sun.com>
6860 Created a new directory for
6861 accessibility-related utilities, primarily for
6862 testing and demo purposes, but with possible
6869 Onscreen magnifier utility that
6870 is implemented as a bonobo service.
6872 * util/mag_client.c:
6873 * util/mag_client.h:
6874 Client-side support (simple C bindings)
6875 for Magnification service
6877 * util/mag_control.c:
6878 Client program example for
6879 Magnification service
6881 * util/Accessibility_Magnifier.server.in:
6882 Bonobo-activation file for the
6883 Magnification service.
6886 * util/idl/Magnifier.idl:
6887 IDL defining the bonobo Magnification
6891 Modifications to use the bonobo-activated magnifier
6892 above, in place of trying to connect to an existing
6893 magnifier that uses socket-listening IPC.
6895 If env variable MAGNIFIER is set, a magnifier service
6896 will be started if one does not exist.
6898 2001-09-25 Bill Haneman <bill.haneman@sun.com>
6900 * at-bridge/bridge.c:
6901 applied patch from Marc to build and run
6902 against new glib and gtk+ (seemed like a change
6903 to bonobo_init signature was made ?)
6905 made festival-server support turned off by default.
6906 Added support for a simple magnifier (off by default)
6907 which will be added to a 'util' directory later.
6908 * at-bridge/Makefile.am:
6909 Changed "application.h" header from a 'source'
6910 to a 'dependency' of libat-bridge.
6912 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6921 Added interface implementation c files to list of
6922 includes so they are included in libcspi.
6925 Changed prototype of AccessibleAction_doAction to return a
6927 Changed prototype of AccessibleTable_getCaption to
6928 return an Accessible.
6929 Changed prototype of AccessibleTable_getSelectedRows
6930 and AccessibleTable_getSelectedColumns to
6931 return a long (returns the number of selected rows
6932 or columns respectively).
6933 Changed name of AccessibleText_refRunAttributes to
6934 AccessibleText_getAttributes.
6935 Changed prototype of AccessibleText_getCharacterExtents to
6936 return a void rather than a boolean.
6937 Added support for a AccessibleCoordType parameter
6938 specifying what type of coordinates are desired.
6939 Added an AccessibleCordType parameter to
6940 AccessibleText_getPointAtOffset.
6942 * cspi/spi_accessible.c:
6943 Added code to return the outstanding interfaces from
6944 Accessible_queryInterface.
6946 * cspi/spi_action.c:
6948 Corrected call to getNActions to call the c binding
6951 * cspi/spi_editabletext.c:
6953 Changed name from setRunAttributes to setAttributes.
6955 * cspi/spi_hyperlink.c:
6957 Changed call to getNAnchors to correctly call the c
6958 binding for an attribute.
6960 * cspi/spi_hypertext.c:
6962 Changed getImageDescription to correctly call the
6963 binding for an attribute.
6965 * cspi/spi_selection.c:
6966 Changed getNSelectedChildren to correctly call the c
6967 binding for the attribute.
6968 Changed refSelectedChild to getSelectedChild.
6972 Changed getCaption to return an Accessible.
6973 Fixed calls which retrieve attributes.
6974 Changed refAt to getAccessibleAt.
6975 Changed getNSelectedRows and getNSelectedColumns to
6979 Changed getCharacterExtents and getPointAtOffset to accept an
6980 AccessibleCoordType.
6982 Changed calls which retrieve attributes.
6983 Changed refRunAttributes to getAttributes.
6988 * idl/Hyperlink.idl:
6989 Changed n_anchors attribute to nAnchors to keep naming
6990 convention consistent.
6993 Made Table inherit from Bonobo::Unknown.
6994 Added nSelectedColumns and nSelectedRows attributes.
6997 Made Value inherit from Bonobo::Unknown.
6999 * libspi/hyperlink.c:
7000 Change for nAnchors attributte name change.
7002 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7010 Added interface implementation c files to list of
7011 includes so they are included in libcspi.
7014 Changed prototype of AccessibleAction_doAction to return a
7016 Changed prototype of AccessibleTable_getCaption to
7017 return an Accessible.
7018 Changed prototype of AccessibleTable_getSelectedRows
7019 and AccessibleTable_getSelectedColumns to
7020 return a long (returns the number of selected rows
7021 or columns respectively).
7022 Changed name of AccessibleText_refRunAttributes to
7023 AccessibleText_getAttributes.
7024 Changed prototype of AccessibleText_getCharacterExtents to
7025 return a void rather than a boolean.
7026 Added support for a AccessibleCoordType parameter
7027 specifying what type of coordinates are desired.
7028 Added an AccessibleCordType parameter to
7029 AccessibleText_getPointAtOffset.
7031 * cspi/spi_accessible.c:
7032 Added code to return the outstanding interfaces from
7033 Accessible_queryInterface.
7035 * cspi/spi_action.c:
7037 Corrected call to getNActions to call the c binding
7040 * cspi/spi_editabletext.c:
7042 Changed name from setRunAttributes to setAttributes.
7044 * cspi/spi_hyperlink.c:
7046 Changed call to getNAnchors to correctly call the c
7047 binding for an attribute.
7049 * cspi/spi_hypertext.c:
7051 Changed getImageDescription to correctly call the
7052 binding for an attribute.
7054 * cspi/spi_selection.c:
7055 Changed getNSelectedChildren to correctly call the c
7056 binding for the attribute.
7057 Changed refSelectedChild to getSelectedChild.
7061 Changed getCaption to return an Accessible.
7062 Fixed calls which retrieve attributes.
7063 Changed refAt to getAccessibleAt.
7064 Changed getNSelectedRows and getNSelectedColumns to
7068 Changed getCharacterExtents and getPointAtOffset to accept an
7069 AccessibleCoordType.
7071 Changed calls which retrieve attributes.
7072 Changed refRunAttributes to getAttributes.
7077 * idl/Hyperlink.idl:
7078 Changed n_anchors attribute to nAnchors to keep naming
7079 convention consistent.
7082 Made Table inherit from Bonobo::Unknown.
7083 Added nSelectedColumns and nSelectedRows attributes.
7086 Made Value inherit from Bonobo::Unknown.
7088 * libspi/hyperlink.c:
7089 Change for nAnchors attributte name change.
7092 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
7094 implementations-- made server implementations own AtkObject pointers
7095 rather than their respective AtkInterrface pointers to fix
7096 refcounting. AtkHyperlink is still broken.
7098 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7099 * cspi/spi_accessible.c:
7100 Added method Accessible_Role_getName(),
7101 and requisite string array (role_names).
7102 Added conversion string_from_corba_strin() call
7103 to Accessible_getName and _getDescription.
7104 * libspi/accessible.c:
7105 Added implementation for Accessible_getRole()
7107 Added festival support, used if environment variable
7110 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7112 * at-bridge/bridge.c:
7113 Now allocate Accessibility_Event using
7114 Accessibility_Event__alloc() instead of g_new0().
7115 * libspi/accessibleeventlistener.c:
7116 Initialize AccessibleEventListener->callbacks to NULL.
7117 Fixed accessible__event_listener_init() param, changed to
7118 "AccessibleEventListener *" type.
7119 Changed a bonobo_object_release_unref() call to
7120 Accessibility_Accessible_unref().
7121 * libspi/listener.c:
7122 Changed Bonobo_Unknown_unref to (equivalent)
7123 Accessibility_Accessible_unref.
7124 * libspi/registry.c:
7125 Changed bonobo_object_release_unref to
7126 Accessibility_Accessible_unref.
7128 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7131 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
7132 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
7133 spi-util.c spi-util.h
7134 Implementations for C bindings to remaining accessibility
7137 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7140 changed return value of Action from void to boolean to
7141 bring in line with ATK.
7144 Changed getText funcions to return "out" start and end offsets.
7145 Changed getAttributes to take and offset and return the start
7146 and end offset of the attribute run.
7147 Changed getOffsetAtPoint and getCharacterExtents to take an
7148 enum describing whether coordinates are window or screen.
7151 libspi/action.c libspi/action.h libspi/editabletext.c
7152 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
7153 libspi/hypertext.c libspi/hypertext.h libspi/image.c
7154 libspi/image.h libspi/selection.c libspi/selection.h
7155 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
7156 libspi/value.c libspi/value.h
7157 Added server implementations for outstanding ATK interfaces
7158 not yet implemented.
7160 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7163 Added (missing) getName() method.
7164 Made nActions an attribute.
7165 * idl/EditableText.idl:
7166 Changed order of params in setAttributes.
7167 * idl/Hyperlink.idl:
7168 Removed getAnchor, added getURI.
7170 Changed attributes to methods, for efficiency
7171 (so that getting extents can be done in one call)
7172 * idl/Selection.idl:
7173 Changed nSelectedChildren to attribute, and re-indented.
7174 * idl/Table.idl: changed nrows, ncolumns, caption, summary
7176 * idl/Text.idl: reformatted to match our coding style.
7177 (temporarily?) removed getRowColumnAtOffset().
7178 Changed text selection API to support multi-select and
7179 non-contiguous selections, as in ATK.
7180 * idl/Value.idl: changed some methods to attributes.
7182 2001-08-24 Mark McLoughlin <mark@skynet.ie>
7184 * libspi/listener.c(impl_notify_event):
7185 BonoboUnkown_unref the source instead
7186 of bonobo_object_release_unref - the ORB
7187 handles the releasing.
7189 * configure.in: require ORBit-2.3.94 for
7192 2001-08-21 Bill Haneman <bill.haneman@sun.com>
7194 Tagged CVS repository 'EA_1_0'.
7195 * README.EARLY_ACCESS:
7196 Alphabetized acknowledgements list, and
7198 Listed some known dependencies of at-spi.
7200 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7202 * docs/at-spi-docs.sgml:
7203 * docs/at-spi-sections.txt:
7204 * docs/at-spi-overrides.txt: (Added zero-length file)
7205 Documentation improvements - gtk-doc should build
7206 docs for all implemented C bindings now.
7209 * cspi/spi.c: (New file)
7210 * cspi/spi_event.c: (New file)
7211 * cspi/spi_registry.c: (New file)
7212 * cspi/spi_accessible.c: (New file)
7213 * cspi/spi_application.c: (New file)
7214 * cspi/spi_component.c: (New file)
7215 Split spi_main.c into six parts, and included them from
7216 "spi.c". This is a bit of a hack, probably temporary,
7217 but required by gtk-doc, apparently.
7219 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7222 * docs/at-spi-docs.sgml:
7223 * docs/at-spi-sections.txt:
7225 Initial checkins/modifications for gtk-doc generation.
7228 Added (missing) interface query methods to Accessible's C binding.
7230 Added GenericInterface type definition.
7232 Added query for AccessibleComponent interface to focus event handler.
7233 Added printout of bounding box for focussed component.
7234 * libspi/component.c:
7235 Added partial implementation for AccessibleComponent to C binding.
7236 * idl/Application.idl:
7237 * libspi/registry.c:
7238 * libspi/listener.c:
7239 * libspi/application.c:
7240 * libspi/application.h:
7241 Changed "ID" attribute type from string to long.
7243 2001-08-19 Bill Haneman <bill.haneman@sun.com>
7247 Made method naming consistent: methods taking object args
7248 start with uppercase, other methods (except those using
7249 acronyms) start with lowercase. Underscores delimit between
7250 object names and method names:
7251 SPI_init() - uppercase since it starts with an acronym.
7252 getDesktopCount () - lowercase start since no object param0.
7253 Accessible_getName() - uppercase object type name, studlyCaps method
7257 Added gtk-doc documentation for all currently implemented
7258 methods in the C bindings API.
7260 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7262 * Makefile.am : changed build order to build test last.
7265 Changed "createEventListener" to "CreateEventListener".
7266 * libspi/accessibleeventlistener.c :
7267 Bugfix for addition of callbacks.
7268 * test/Makefile.am :
7269 * test/simple-at.c :
7270 Added new test that uses the C bindings API.
7272 * libspi/listener.c :
7273 * libspi/registry.c :
7274 * libspi/accessibleeventlistener.c :
7275 * at-bridge/bridge.c :
7276 Renamed member "target" of Accessibility_Event to "source",
7277 which is more descriptive.
7280 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7284 * cspi/Makefile.am :
7285 Added makefile support for at-spi/cspi directory.
7288 * cspi/spi-listener.h : (NEW FILE)
7289 Added support for/use of spi-listener.h.
7291 C bindings now build successfully, with no warnings.
7292 * libspi/accessibleeventlistener.h : (NEW FILE)
7293 * libspi/accessibleeventlistener.c : (NEW FILE)
7294 * libspi/Makefile.am :
7295 Added new object type "AccessibleEventListener"
7296 which inherits from Listener, and allows attachment
7297 of in-process callbacks (so that a client with a listening
7298 object instance can add functionality to the local
7299 implementation, dynamically).
7301 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7303 * libspi/accessible.c:
7304 Add implementation for get_index_in_parent().
7306 Added #include of "spi-roletypes.h", and
7307 added enumerated type AccessibleCoordType.
7308 Added definition for KeystrokeListener (function type).
7311 * cspi/spi-statetypes.h :
7312 * cspi/spi-roletypes.h :
7314 Added these headers, used by spi.h.
7316 Added code (NOTE: not yet built by make).
7318 2001-08-18 Mark McLoughlin <mark@skynet.ie>
7320 * libspi/Makefile.am: generate imodule
7321 at the same time as other idl compiler
7324 2001-08-17 Bill Haneman <bill.haneman@sun.com>
7325 * libspi/registry.c :
7326 * libspi/application.c :
7327 * idl/Application.idl :
7328 Made registration with toolkit an application method,
7329 which is required since each app has its own toolkit static
7330 environment. Thus the bridge must register for
7331 notification of toolkit events from each application in turn.
7332 Toolkit notifications are now successfully registered for, and
7333 sent to the listening at client.
7335 Changed toolkit event string to use hyphens rather than underscores.
7336 * libspi/listener.c :
7337 listner now gives more info in debug mode - it reports the
7338 name of the event received, as well as the name of the source.
7341 2001-08-16 Bill Haneman <bill.haneman@sun.com>
7343 * libspi/registry.c :
7344 added more implementation for toolkit events.
7345 Fixed bug such that toolkit event registrations
7346 (via atk) use the whole event name string, not
7348 Removed a useless call to an ORBit_ method.
7349 * at-bridge/bridge.c :
7350 Removed unused local sbuf[] variable.
7352 We now register for Gtk:GtkWidget:button_press_event
7353 events as well as "focus:" events.
7355 Add some more API from Registry.idl that was missing,
7356 for keystroke listening, keystroke and mouse event
7357 synthesis, and enumeration of accessible desktops.
7359 2001-08-16 Michael Meeks <michael@ximian.com>
7361 * configure.in: use AM_GLIB_GNU_GETTEXT.
7363 * Makefile.am (SUBDIRS): kill intl.
7365 2001-08-15 Michael Meeks <michael@ximian.com>
7367 * registryd/Makefile.am: s/oaf/server/ relocate info file.
7369 * configure.in: upd.
7371 * configure.in: depend on a recent bonobo-activation that
7372 will find our server files ...
7374 2001-08-16 Bill Haneman <bill.haneman@sun.com>
7376 * libspi/accessible.c : accessible_new() :
7377 Now we add the Component interface via bonobo_object_add_interface,
7378 if the contained AtkObject implements AtkComponent.
7379 * libspi/accessible.h : now include "component.h"
7380 * libspi/component.h :
7381 * libspi/component.c : added files - implementation of
7382 bonobo wrapper object for Accessibility/Component
7383 * libspi/listener.c :
7384 Added test code to check for Accessibility/Component:1.0
7385 interface and report whether it is implemented by the
7387 * libspi/registry.c :
7388 Now we check for not only the hash of the whole event
7389 string before relaying the event, we also check the
7390 "minor" event string (without the detail string).
7391 This allows event listeners to be registered against
7392 all events of a certain major+minor type, or just
7393 against a specific major+minor+detail type.
7394 * libspi/accessible.c :
7395 Added implementations for Accessible:get_parent(),
7396 Accessible:getChildCount(), and Accessible:getChildAtIndex().
7397 * libspi/registry.c :
7398 * libspi/listener.c :
7399 Replaced calls to Accessibility_Accessible_ref() and
7400 Accessibility_Accessible_unref() with
7401 calls to bonobo_object_dup_ref() and
7402 bonobo_object_release_unref(), so that the CORBA object
7403 is dup-ed and released when relayed, as well as the bonobo object.
7405 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7407 * libspi/Makefile.am,
7408 registryd/Makefile.am,
7409 at-bridge/Makefile.am.
7410 test/Makefile.am, configure.in:
7411 reverse previous changes.
7413 * /idl/Image.idl: fix typo.
7415 * test/Makefile.am: put DEBUG_FLAGS
7418 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7420 * test/app.c: use argv[0] instead of
7423 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7425 * libspi/Makefile.am,
7426 registryd/Makefile.am,
7427 at-bridge/Makefile.am.
7428 test/Makefile.am, configure.in:
7429 cleanup, replace individual LIBS/CFLAGS with
7430 AT_COMMON_{LIBS|CFLAGS}.
7434 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7436 * configure.in, libspi/Makefile.am:
7437 Change IDL path checking for bonobo-activation
7440 2001-08-15 Bill Haneman <bill.haneman@sun.com>
7442 * registryd/registry.c : separated event listeners to use
7443 3 separate lists (focus, window, toolkit). Began testing
7444 event names against hashes before relaying events.
7445 * test/at.c : now register for events of type "focus:"
7446 * test/app.c : now generate events of type "focus:"
7447 * at-bridge/bridge.c : register with ATK for focus events,
7448 and we now relay those focus events to any "focus:" listeners.
7449 This now works with the bridge as a GTK_MODULE when running test/at.
7450 * libspi/registry.c :
7451 * libspi/listener.c :
7452 now we ref event sources before propagating, and unref on receipt.
7453 * libspi/registry.c :
7454 some changes to internal structs, to support event typestring hashes.
7455 * text/app.c : changed the way the appname is generated.
7456 * cspi : added directory that will hold the C bindings library for
7457 non-CORBA/bonobo-savvy clients.
7458 * cspi/spi.h : header file that contains the function prototypes for the C binding.
7459 * idl/Component.idl : added in parameter to indicate coord system for
7460 geometry-related calls.
7461 * idl/Hyperlink.idl : added readonly n_links attribute
7462 * idl/Image.idl : changed methods to attributes.
7464 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7466 * at-bridge/Makefile.am: link against
7467 ../libspi/libspi.la instead of -lspi.
7469 * at-spi/test/app.c: include
7470 bonobo-activation.h. Use a default appname
7471 if one is not provided.
7473 2001-08-14 Bill Haneman <bill.haneman@sun.com>
7475 * idl/Registry.idl : temporarily changed register_Application
7476 to oneway, to work around issue with initial registration
7478 * idl/Application.idl : changed attribute "id" from readonly
7479 to read-write, since it needs to be assigned by Registry.
7480 * registryd/registryd.c : added call to set application id
7482 * registryd/registry.c : changed de-registration procedure to
7483 use CORBA_Object_hash() to find matching object ref in application
7484 lists and listener lists.
7485 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
7486 began distinguishing between event types (work in progress).
7488 2001-08-13 Bill Haneman <bill.haneman@sun.com>
7491 * libspi/application.c:
7492 Added implementations for get/set id, get_toolkitName,
7494 * registryd/registryd.c :
7498 Converted from use of OAF to bonobo-activation.
7499 * libspi/desktop.h :
7500 * libspi/desktop.c :
7502 Removed references to atksimpleobject, since base atkobject
7503 implementation now provides functionality we need.
7504 * libspi/atksimpleobject.c :
7505 * libspi/atksimpleobject.h :
7510 * at-bridge/Makefile.am
7511 * at-bridge/bridge.c
7514 Added directory "bridge" and contents, and added dependencies
7515 in Makefile.am/configure.in.
7516 Initial checkin of "at-bridge".
7517 This code is a GTK_MODULE which automatically registers
7518 GTK+ apps with the accessibility registry, using an object
7519 reference to the root ATK object.
7521 2001-08-10 Mark McLoughlin <mark@skynet.ie>
7523 * po/Makefile.in.in: Remove. Again. If this
7524 doesn't get autogenerated - you need to update
7527 2001-08-07 Mark McLoughlin <mark@skynet.ie>
7529 * po/Makefile.in.in: Add. Again.
7531 2001-07-31 Bill Haneman <bill.haneman@sun.com>
7533 * libspi/accessible.c : added support for 'description' property.
7534 * libspi/accessible.c
7536 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
7537 (since the two are now equivalent in libbonobo)
7545 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
7546 Bonobo::Unknown as does Accessibility::Accessible.
7547 * idl/StreamableContent.idl : as above, and replaced internal InputStream
7548 interface with Bonobo::Stream, since it was redundant with it.
7549 (The Stream returned by a StreamableContext object is expected to
7550 implement only a subset of Bonobo::Stream)
7552 2001-07-28 Anders Carlsson <andersca@gnome.org>
7554 * libspi/accessible.c (accessible_object_finalize): Change
7555 g_free to g_object_unref since the AtkObject is a GObject.
7557 2001-07-30 Bill Haneman <bill.haneman@sun.com>
7559 * idl/Accessibility.idl: add new IDL files
7562 * idl/Action.idl: Definitions of actionable UI object
7563 * idl/Component.idl: Definitions of UI component geometry, etc.
7564 * idl/Hyperlink.idl: Defs of hyperlink behavior
7565 * idl/Image.idl: Def of accessible image
7566 * idl/Selection.idl: Definition of UI object with selectable children
7567 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
7568 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
7569 * idl/Text.idl: Interface defs for UI elements with complex textual content
7570 * idl/Value.idl: Definition of UI element that is a value controller or display
7572 2001-07-27 Michael Meeks <michael@ximian.com>
7574 * po/Makefile.in.in: remove autogenerated file from CVS.
7576 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
7579 * idl/Registry.idl: include guard.
7581 * idl/Accessibility.idl: Add, and include all the other IDL
7584 * idl/*.idl: remove mass of pragmas etc.
7586 2001-07-26 Michael Meeks <michael@ximian.com>
7588 * registryd/Makefile.am (registryd_SOURCES): remove
7591 2001-07-27 Mark McLoughlin <mark@skynet.ie>
7593 * libspi/.cvsignore, registryd/.cvsignore,
7594 test/.cvsignore: updated.
7596 * po/Makefile.in.in: gettext update.
7598 2001-07-25 Bill Haneman <bill.haneman@sun.com>
7600 * initial CVS checkin
7602 2001-06-29 Michael Meeks <michael@ximian.com>
7604 * configure.in: add AM_CONFIG_HEADER to gen config.h