1 2006-06-14 Bill Haneman <bill.haneman@sun.com>
3 * */Makefile.am: Add WARN_CFLAGS to INCLUDES.
6 * configure.in, */Makefile.am: mingw patch, modified from
7 original patch by yselkowitz. Bug #314216.
9 * cspi/spi-impl.h: Added #defines SPI_TRUE and SPI_FALSE
10 for completeness. Bug #163111.
12 * atk-bridge/bridge.c, cspi/bonobo/cspi-bonobo.c:
13 * libspi/util.c, registryd/registry-main.c:
14 Fix guint/char* casts.
15 Patch from chpe, bug #333883.
17 2006-06-12 Bill Haneman <bill.haneman@sun.com>
19 * configure.in: Require atk-1.12.0, to pick up
20 new API. (bug #344412).
22 * libspi-1.0-uninstalled.pc.in:
24 * libloginhelper-1.0.pc.in: Remove gtk+ dependency.
25 Fix for #341488 from Samual Thibault.
27 * configure.in, LINGUAS: Use LINGUAS, bug #338023.
28 Thanks to Brian Pepple.
30 2006-06-09 Bill Haneman <bill.haneman@sun.com>
33 (impl_get_nSelectedRows, impl_get_nSelectedColumns):
34 New, missing implementations of attribute reading methods
37 * cspi/spi.h, spi_value.c:
38 (AccessibleValue_getMinimumIncrement): New methods wrapping
39 the (formerly unimplemented) property from Value.idl.
42 (impl_get_minimumIncrement): Implementation for retrieving
43 the minimum valuator increment, (formerly unimplemented).
46 2006-06-09 Bill Haneman <bill.haneman@sun.com>
48 * idl/Accessibility_State.idl:
49 Added STATE_VISITED (bug #338369).
51 * cspi/spi_accessible.c:
52 (spi_state_to_corba) Fixed marshalling of new statetypes.
55 (spi_init_state_tables, impl_getStates):
56 Fixed conversion of new statetypes to/from ATK.
58 * idl/Accessibility_Role.idl: Added ROLE_FORM (bug #344266).
60 * cspi/spi-roletypes.h, spi_accessible.c: Added marshalling
61 definitions/conversions for new roles from ATK.
63 * idl/Accessibility_Relation.idl:
65 * cspi/spi.h, spi_accessible.c: Added SPI_RELATION_DESCRIBED_BY and
66 SPI_RELATION_DESCRIPTION_FOR. (bug #344264) Also
67 SPI_PARENT_WINDOW_OF, which was in ATK but not AT-SPI.
69 * libspi/accessible.c: Fixed marshalling of new role types from
72 2006-04-17 Matthias Clasen <mclasen@redhat.com>
74 * revert my previous change
76 2006-04-17 Kjartan Maraas <kmaraas@gnome.org>
78 * configure.in: Remove obssolete no_NO locale
79 * po/no.po: And the translation.
81 2006-04-05 Matthias Clasen <mclasen@redhat.com>
83 * atk-bridge/bridge.c (spi_atk_emit_eventv): Fix a
84 memory-management error that caused crashes on x86_64.
87 2006-03-30 Guntupalli Karunakar <karunakar@indlinux.org>
89 * configure.in: Added 'dz' (Dzongkha) to ALL_LINGUAS.
91 2006-03-27 Bill Haneman <bill.haneman@sun.com>
93 * configure.in: Define $LIBTOOL_EXPORT_OPTIONS
94 to strip "cspi_*" from the symbol table.
96 * cspi/spi_streamablecontent.c:
97 (get_streams): Make this method static.
100 (_cspi_exception_throw): rename to cspi_exception_throw,
101 so we can strip it with the rest...
104 Add LIBTOOL_EXPORT_OPTIONS to libcspi_la_LDFLAGS.
106 2006-03-27 Bill Haneman <bill.haneman@sun.com>
108 Add doxygen-generated IDL docs to tarball, and enable
109 doxygen during build/install when available. Bug #301345.
111 * configure.in: Add docs/reference/idl/Makefile to AC_OUTPUT.
113 * docs/reference/Makefile.am: Add idl to SUBDIRS.
115 * docs/reference/idl/Makefile.am: Optionally use
116 doxygen to create docs.
118 2006-03-20 Vladimer Sichinava <vlsichinava@gmail.com>
120 * configure.in: Added "ka" (Georgian) to ALL_LINGUAS
122 2006-03-20 Bill Haneman <bill.haneman@sun.com>
125 (impl_get_selected_rows): Don't free the selection if it's
126 empty or has not been assigned; init it to NULL so you can tell.
127 Also, allow for zero selected rows.
128 (impl_getSelectedColumns): Ditto. Bug #319088.
130 2006-03-11 Vincent Untz <vuntz@gnome.org>
132 Leak fix for bug #334217.
134 * libspi/application.c: spi_application_toolkit_event_listener():
135 don't duplicate the string we pass as an argument to
136 spi_init_any_nil() since spi_init_any_nil() already does it
137 * registryd/deviceeventcontroller.c:
138 (spi_dec_button_update_and_emit): ditto
139 (spi_dec_mouse_check): ditto
140 (spi_dec_emit_modifier_event): ditto
141 (spi_device_event_controller_forward_mouse): ditto
142 * registryd/registry.c:
143 (desktop_add_application): ditto
144 (desktop_remove_application): ditto
146 2006-02-20 Bill Haneman <billh@gnome.org>
148 * configure.in: Rev to 1.7.6.
150 Leak fixes for bug #331924.
152 * atk-bridge/bridge.c:
153 (spi_atk_bridge_init_base): Don't dup the string, it's already
154 been dup-ed. Fixes a leak.
155 (spi_atk_emit_eventv): Move the CORBA_free call here,
156 instead of spi_atk_state_event_listener; fixes another leak.
157 (spi_atk_bridge_key_listener):Free the dup'ed key strings after
158 notifying the registry; fixes another leak.
160 * registryd/registry.c:
161 (registry_flush_event_queue): Free the CORBA_any when
162 flushing the event, not just the string. Fixes another leak.
163 (registry_queue_event): Free the CORBA_any when dropping
164 events on the floor; fixes another leak.
167 (spi_init_any_object, spi_init_any_nil):
168 Always set _release to TRUE. Fixes another leak.
170 2006-02-20 Bill Haneman <billh@gnome.org>
172 * configure.in: Rev to 1.7.5.
173 Reinstate localization of this module. Thanks for Rodney
174 Dawes for fixing my patch.
176 * registryd/Makefile.am: Remove Accessibility_Registry.server
177 from dist, since it needs to be re-created at configure time.
180 2006-01-31 Bill Haneman <billh@gnome.org>
182 * configure.in: Rev to 1.7.4 (to include build fix below).
184 * idl/Makefile.am: Include Selector.idl in dist.
188 (cspi_internal_event_get_object): Handle case where
189 "object" isn't present, i.e. CORBA_TC_Object doesn't match
190 the EventDetails data.
191 (cspi_internal_event_get_text): Handle NULL string.
192 (cspi_internal_event_get_rect): Handle missing/empty rect
193 data, Accessibility_TC_RectBounds doesn't match any_data.
195 2006-01-30 Bill Haneman <billh@gnome.org>
199 * atk-bridge/bridge.c:
200 (spi_atk_emit_eventv): Check for SPI_REMOTE_OBJECT
201 interface and use that when instantiating a new source
202 accessible. Better fix for bug #321814.
204 2006-01-27 Bill Haneman <billh@gnome.org>
206 * idl/Accessibility_Selector.idl: Added to the cvs repository.
208 * configure.in: Revved to 1.7.3.
210 2006-01-17 Bill Haneman <billh@gnome.org>
212 * configure.in: Revved to 1.7.2, re-dist to include docs.
214 2006-01-09 Bill Haneman <billh@gnome.org>
216 * configure.in: Removed po/Makefile.in inclusion, we do not need
219 * idl/Accessibility.idl: Improved documentation here, and for all
220 IDL in the 'GNOME::Accessibility' namespace.
222 * idl/Accessibility_Accessible.idl:
223 (LOCALE_TYPE): Added enum.
224 (AttributeSet): New, for returning multiple name/value attribute pairs.
225 (RoleSet): New, sequence of Roles, to be used in upcoming
227 (getAttributes): New API, allows retrieval of name/value pair
228 annotations for all kinds of Accessible objects. C.f.
229 Text:getAttributes, which is only for typographic/textual/semantic tags in
231 (getApplication): New, retrieves the host/containing Application
232 instance for an object (without having to walk up the whole tree).
234 * idl/Accessibility_Component.idl:
235 (getAlpha): New method, returns the alpha blending (aka 'opacity')
236 value for an object. An alpha of 1.0 is fully opaque, 0.0 is
239 * idl/Accessibility_Event.idl:
240 (EventDetails): New struct definition, for encapsulating
241 commonly-queried information about emitted events. The use of
242 this structure in emitted events (in the 'any' member of
243 Accessibility_Event) should greatly reduce the number of
244 client-server roundtrips necessary.
246 * idl/Accessibility_Image.idl:
247 (imageLocale): New, a readonly attribute indicating the POSIX
248 LC_MESSAGES locale of the image and associated Alt/descriptive
251 * idl/Accessibility_Relation.idl:
252 (RELATION_PARENT_WINDOW_OF): Include, as complement to
255 * idl/Accessibility_Role.idl:
256 (ROLE_ENTRY, ROLE_CHART, ROLE_CAPTION, ROLE_DOCUMENT_FRAME)
257 (ROLE_HEADING, ROLE_PAGE, ROLE_SECTION): New roles for
258 complex document and form support.
260 * idl/Accessibility_State.idl:
261 (STATE_REQUIRED, STATE_TRUNCATED, STATE_ANIMATED)
262 (STATE_INVALID_ENTRY, STATE_SUPPORTS_AUTOCOMPLETION)
263 (STATE_SELECTABLE_TEXT, STATE_IS_DEFAULT): New states,
264 for support of complex documents and forms.
266 * idl/Accessibility_StreamableContent.idl:
267 (SeekType, IOError, NotSupported, NoPermission): New enum and exceptions, to
268 allow old bonobo-stream interfaces to be deprecated in the next
271 * idl/Accessibility_Text.idl:
272 (getAttributeValue): New method, allows query-by-name of single
275 * libspi/accessible.c:
276 Added support for new roles. Implemented new methods
277 (impl_accessibility_accessible_get_application): New
278 (impl_accessibility_accessible_get_attributes): New
280 * libspi/component.c:
281 (impl_accessibility_component_get_alpha): New.
284 (impl_accessibility_image_get_locale): New.
286 * libspi/relation.c: Added support for new relation type.
288 * libspi/stateset.c: Added support for new state types.
291 (impl_getAttributeValue): New.
294 New prototypes for private methods
296 spi_init_any_object, spi_init_any_string,
299 * libspi/spi_event.c:
300 Use EventDetails in the event emission methods.
302 * cspi/spi-private.h:
303 (cspi_role_from_spi_role): Expose this adapter method, since
304 we need it in the bridge (see below).
307 (AccessibleEvent_getSourceName):
308 (AccessibleEvent_getSourceRole):
309 (AccessibleEvent_getSourceApplication):
310 (AccessibleEvent_getSourceDetails):
311 New methods for interrogating/demarshalling
312 event details (i.e. source's accessible name, role,
315 * cspi/spi_accessible.c: Use cspi_role_from_spi_role.
316 Make use of the new EventDetails struct in events, if present.
317 (AccessibleEvent_getSourceName)
318 (AccessibleEvent_getSourceRole)
319 (AccessibleEvent_getSourceApplication)
320 (AccessibleEvent_getSourceDetails): Implement the newly exposed
322 (Accessible_getAttributes): New, wraps
323 Accessibility_Accessible_getAttributes.
324 (Accessible_getHostApplication): New, wraps
325 Accessibility_Accessible_getApplication.
328 (AccessibleImage_getImageLocale): New wrapper for
329 Accessibility_Image_get_imageLocale.
331 * cspi/spi_component.c:
332 (AccessibleComponent_getAlpha): New wrapper for
333 Accessibility_Component_getAlpha.
335 * atk-bridge/bridge.c:
336 Use new prototyped for init_any methods.
337 (spi_atk_bridge_init_nil, spi_atk_bridge_init_object)
338 (spi_atk_bridge_init_string, spi_atk_bridge_init_rect)
339 (spi_atk_bridge_init_base): Wrappers
340 for spi_init_any_* methods, due to refactor; include extended
341 information in the Accessibility_EventDetails struct, for instance
342 accessible-name, Role, and containing Application.
344 * registryd/registry.c:
345 Use new event emission (with EventDetails).
347 * registryd/deviceeventcontroller.c:
348 Use new event emission (with EventDetails).
350 2006-01-09 Kjartan Maraas <kmaraas@gnome.org>
352 * configure.in: Generate po/Makefile.in
353 * cspi/spi_main.c: Add #ifdef PRINT_LEAKS around a function
354 * cspi/spi_streamablecontent.c:
355 (accessible_bonobo_stream_client_seek),
356 (AccessibleStreamableContent_seek): Remove unused vars.
357 * libspi/application.c: Missing header.
358 * libspi/text.c: (impl_getDefaultAttributes): Unused vars
359 * login-helper/login-helper.c: (login_helper_finalize),
360 (login_helper_init): Remove unused stuff
361 * registryd/deviceeventcontroller.c: (spi_dec_replace_map_keysym),
362 (spi_dec_init_mouse_listener), (is_key_released): Remove unused vars
363 and surround some with #ifdef GRAB_BUTTON.
364 * test/event-listener-test.c: (main), (report_event),
365 (report_caret_event), (report_detail_event),
366 (report_detail1_event), (report_bounds_event), (report_text_event),
367 (report_text_selection_event),
368 (report_active_descendant_changed_event),
369 (report_children_changed_event), (report_name_changed_event),
370 (report_description_changed_event), (report_parent_changed_event),
371 (report_window_event), (report_table_summary_event),
372 (report_table_header_event), (report_table_caption_event),
373 (report_table_row_description_event),
374 (report_table_column_description_event), (timing_test_event):
375 Remove a bunch of unused variables and fix a slew of format specifiers
376 * test/key-listener-test.c: (report_all_key_event): Format specifier
377 * test/keypad-test.c: (print_key_event): Same
378 * test/login-helper-server-test.c: (main): Include gtkmain.h and remove
380 * test/screen-review-test.c: (main), (print_chunk_debug),
381 (review_buffer_get_text_chunk), (debug_chunk_list),
382 (string_guess_clip), (text_chunk_get_clipped_string),
383 (text_chunk_list_to_string), (get_screen_review_line_at):
384 Remove unused variables and fix format specifiers.
385 * test/simple-at.c: (report_text_event): Format specifier fix.
386 * test/stress-test.c: (main): Remove unused var.
388 2005-12-29 Abel Cheung <maddog@linuxhall.org>
390 * configure.in: Add zh_HK, zh_TW to ALL_LINGUAS
391 (yes I know that's useless)
393 2005-11-20 Theppitak Karoonboonyanan <thep@linux.thai.net>
395 * configure.in: Added "th" (Thai) to ALL_LINGUAS.
397 2005-11-17 Michael Meeks <michael.meeks@novell.com>
399 * atk-bridge/bridge.c (spi_atk_emit_eventv):
400 urgh-fix embarassing typo.
402 2005-11-16 Michael Meeks <michael.meeks@novell.com>
404 * atk-bridge/bridge.c (spi_atk_emit_eventv):
405 do a faster, less problematic _unref call on this local
406 object, rather than a slower (potentially cross-thread
407 complicated) CORBA call.
409 2005-11-02 Kjartan Maraas <kmaraas@gnome.org>
411 * atk-bridge/bridge.c: (spi_atk_bridge_signal_listener):
412 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_seek):
413 * registryd/deviceeventcontroller.c:
414 (spi_controller_notify_mouselisteners),
415 (impl_generate_keyboard_event):
416 * test/screen-review-test.c: (chunk_bounds_within):
417 * test/test-simple.c: (test_desktop): Remove some unused code
418 and fix compiler warnings. Closes bug #320049.
420 2005-10-27 Bill Haneman <bill.haneman@sun.com>
422 * registryd/deviceeventcontroller.c:
423 (spi_controller_notify_keylisteners): Check
424 to make sure the event listener has requested 'preemptive'
425 status before pre-empting an event.
427 2005-08-29 Bill Haneman <bill.haneman@sun.com>
429 * configure.in, README, NEWS: Release 1.6.5.
431 2005-07-25 Matthias Clasen <mclasen@redhat.com>
433 * test/window-listener-test.c: Fix a printf
434 format error. (#169453)
436 2005-07-15 Bill Haneman <bill.haneman@sun.com>
438 * tests/test-simple.c:
439 (key_listener_cb): Ensure that the keystring is dup'ed instead of
440 relying on the old string from the key event hanging around after
441 the event handler returns. Fixes broken 'make check'.
443 2005-06-06 Swapnil Hajare <dreamil@gmail.com>
445 * Added Marathi (mr_IN) translations.
447 2005-05-27 Kjartan Maraas <kmaraas@gnome.org>
449 * cspi/bonobo/cspi-bonobo-listener.c:
450 (cspi_event_list_remove_by_cb): Fix the build.
452 2005-05-26 Michael Meeks <michael.meeks@novell.com>
454 * cspi/bonobo/cspi-bonobo-listener.c
455 (cspi_event_list_remove_by_cb): actually filter by callback.
457 2005-05-25 Bill Haneman <bill.haneman@sun.com>
459 * registryd/registry.c (remove_listener_cb):
460 Make deregistration filter rules match the event emission rules.
462 2005-05-25 Michael Meeks <michael.meeks@novell.com>
464 * registryd/registry.c (remove_listener_cb),
465 (impl_accessibility_registry_deregister_global_event_listener),
466 (impl_accessibility_registry_deregister_global_event_listener_all):
467 pass a closure to the remove callback to filter listeners more
468 accurately on remove.
470 2005-04-05 Bill Haneman <bill.haneman@sun.com>
472 * configure.in: Revved to 1.6.4.
473 Remember to put quotes around XEVIE_LIBS assignment.
474 Fixed one of tertiary AC_CHECK_HEADER tests for XEvie.
477 * tests/event-listener-test.c: Tweaked the tests - more detail
478 from caret events, and some interrogation of AccessibleText APIs.
479 Commented-out the bounds-changed events by default, since they can
482 2005-04-14 Kjartan Maraas <kmaraas@gnome.org>
484 * atk-bridge/bridge.c: (spi_atk_emit_eventv): Plug a leak.
485 * cspi/bonobo/cspi-bonobo-listener.c: (cspi_device_event):
486 Same here. Closes bug #167806
488 2005-04-05 Bill Haneman <bill.haneman@sun.com>
490 * atk-bridge/bridge.c:
491 (spi_atk_bridge_signal_listener):
492 Free the any._value if any._release is TRUE,
493 since the ORB won't do it for us in this case
494 [because this method is not a skel].
497 2005-03-30 Steve Murphy <murf@e-tools.com>
499 * configure.in: Added "rw" to ALL_LINGUAS.
501 2005-03-29 Bill Haneman <bill.haneman@sun.com>
503 * configure.in: Improved check for HAVE_XEVIE, to detect
504 presence on XOrg, where -lXevie is a separate library.
506 2005-03-08 Bill Haneman <bill.haneman@sun.com>
508 * configure.in, NEWS, README: Revved to 1.6.3.
510 2005-02-16 Adi Attar <aattar@cvs.gnome.org>
512 * configure.in: Added "xh" to ALL_LINGUAS.
514 2005-02-07 Bill Haneman <bill.haneman@sun.com>
516 * atk-bridge/bridge.c:
517 (atk_bridge_init): Added missing NULL in g_strconcat(),
518 also check for symlink before logging to
519 insecure directory. Thanks to meissner@suse.de.
521 2005-01-25 Padraig O'Briain <padraig.obriain@sun.com>
523 * tests/login-helper-server-test.c: Add return call to main
524 function. Patch from Chris Lahey. Fixes bug #165129.
526 2004-12-20 Padraig O'Briain <padraig.obriain@sun.com>
528 * cspi/spi.h: Add description for SPI_RELATION_SUBWINDOW_OF.
530 2004-12-09 Bill Haneman <billh@gnome.org>
532 * registryd/registry-main.c:
533 Added #define <string.h> for strrchr. (bug 160862).
534 Thanks to Vincent Berger for catching.
536 2004-12-09 Padraig O'Briain <padraig.obriain@sun.com>
538 * atk-bridge/bridge.c (spi_atk_get_registry): Do not attempt to
539 restart registry process if the registry process is found to have died
540 and the current process is exiting.
541 (spi_atk_bridge_exit_func): Do not attempt to deregister the
542 application if the registry process has died.
543 (spi_atk_emit_eventv): Return if call to spi_atk_get_registry
544 does not return a registry object.
545 (spi_atk_tidy_windows): Give up if the registry process has died.
547 This fixes problems with hangs and crashes when logging out.
549 2004-12-03 Padraig O'Briain <padraig.obriain@sun.com>
551 * registryd/desktop.c: Add checking that we are not exiting before
552 calling spi_desktop_remove_application in
553 abnormal_application_termination. Fix for bug #152147.
555 2004-12-02 Bill Haneman <billh@gnome.org>
557 * configure.in, NEWS, README: Revved to 1.6.1.
559 Patch from Padraig O'Briain <padraig.obriain@sun.com>
560 * atk-bridge/bridge.c:
561 (atk_bridge_init): Save the pid when we start, to detect forks.
562 (spi_atk_bridge_exit_func): Don't call the cleanup routines
563 if we're in a forked pid.
565 2004-10-09 Bill Haneman <billh@gnome.org>
567 * idl/Accessibility_LoginHelper.idl:
568 Improved inline documentation.
570 2004-10-02 Jesus Bravo Alvarez <suso@trasno.net>
572 * configure.in: Added gl (Galician) to ALL_LINGUAS
574 2004-09-30 Kjartan Maraas <kmaraas@gnome.org>
576 * libspi/accessible.c:
577 (impl_accessibility_accessible_get_role_name),
578 (impl_accessibility_accessible_get_local_role_name):
580 * libspi/component.c:
581 (impl_accessibility_component_get_accessible_at_point):
583 * libspi/eventlistener.c: (spi_event_listener_new):
585 * libspi/stateset.c: (impl_compare): More of the same
586 * libspi/table.c: (impl_getRowDescription): Again.
587 * registryd/desktop.c: (spi_atk_desktop_get_type): Same
588 * registryd/deviceeventcontroller.c: (spi_clear_error_state),
589 (impl_generate_keyboard_event): Same.
590 * registryd/registry-main.c: (main): Same
591 * test/event-listener-test.c: (test_exit): Same
592 * test/keysynth-demo.c: (scan_state), (create_vkbd): Same
593 * test/keysynth-test.c: (test_key_synthesis): Same
594 * test/login-helper-server-test.c: (main): Fix warning.
595 * test/screen-review-test.c: (test_exit): Fix include.
596 * test/simple-at.c: (simple_at_exit), (_festival_init):
599 2004-09-13 Padraig O'Briain <padraig.vriain@sun.com>
601 * configure.in, NEWS, README: Revved to 1.6.0.
603 2004-09-12 Bill Haneman <bill.haneman@sun.com>
605 * configure.in: Rev and re-dist, since the 1.5.4 tarball
606 was missing the HTML docs.
608 2004-09-12 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
610 * configure.in: only cleanups:
611 - better looking PKG_CHECK_MODULES() output,
613 - declare in one common place required versions of other tools using
616 2004-09-11 J.H.M. Dassen (Ray) <jdassen@debian.org>
618 * configure.in: libspi/accessible.c uses ATK_ROLE_EMBEDDED
619 (unconditionally) which was introduced in ATK 1.7.2. Bumped the
620 required ATK version accordingly.
622 2004-09-03 Bill Haneman <bill.haneman@sun.com>
624 * cspi/bonobo/cspi-bonobo.c:
625 (cspi_display_name): Fix C99ism.
626 * atk-bridge/bridge.c:
627 (spi_display_name): Fix C99ism.
628 Patch from Jens Granseuer, jensgr@gmx.net.
630 2004-09-03 Gora Mohanty <gmohanty@cvs.gnome.org>
632 * configure.in: Added "or" to ALL_LINGUAS.
634 2004-08-20 Bill Haneman <bill.haneman@sun.com>
636 * configure.in, NEWS, README: Revved to 1.5.4.
638 * registryd/registry-main.c:
639 (main): Set the reg_env to use AT_SPI_DISPLAY instead of
642 * cspi/bonobo/cspi-bonobo.c:
643 (cspi_display_name): New convenience method, gets DISPLAY with
644 screen number stripped, if AT_SPI_DISPLAY isn't already set.
645 (cspi_init): Set the activation env value above before getting
648 * atk-bridge/bridge.c:
649 (spi_display_name): Create the AT_SPI_DISPLAY activation
650 environment for an app, based on the DISPLAY environment with the
651 screen number stripped off.
652 (atk_bridge_init): Allow redirection of error messages to a log.
653 (spi_atk_bridge_get_registry): Call
654 bonobo_activation_set_activation_env_value for AT_SPI_DISPLAY.
656 Fixes for bugs #149962, #136986, #144086.
658 2004-08-16 Christian Rose <menthos@menthos.com>
660 * configure.in: Added "bs" to ALL_LINGUAS.
662 2004-08-12 Kjartan Maraas <kmaraas@gnome.org>
664 * configure.in: Added nb to ALL_LINGUAS.
666 2004-09-03 Bill Haneman <bill.haneman@sun.com>
669 (SPI_init): Return error code '2' if the activated
670 registry cannot be pinged. Fixes bug #147648.
672 2004-07-28 Bill Haneman <bill.haneman@sun.com>
674 * registryd/deviceeventcontroller.c:
675 (spi_dec_init_mouse_listener): Don't do XGrabButton,
676 rely on timer-poll instead, to avoid conflict with
679 2004-07-20 Bill Haneman <bill.haneman@sun.com>
681 * configure.in: Revved to 1.5.3.
683 * idl/Accessibility_Role.idl: Added ROLE_EMBEDDED (bug #144415).
685 * libspi/accessible.c: Added support for ROLE_EMBEDDED.
687 * cspi/spi_accessible.c: Support for ROLE_EMBEDDED.
689 * cspi/spi-roletypes.h: Added SPI_ROLE_EMBEDDED.
691 2004-06-11 Bill Haneman <bill.haneman@sun.com>
693 * atk-bridge/bridge.c:
694 (spi_atk_bridge_do_registration):
695 Register with ATK for AtkComponent:bounds-changed events.
696 (api_atk_bridge_signal_listener):
697 Marshal the AtkRectangle info into the event notification
698 for object:bounds-changed events.
701 (spi_init_any_rect): New method, inits a corba struct of
702 type Accessibility_BoundingBox from an AtkRectangle.
704 * libspi/spi-private.h: Declared spi_init_any_rect (above).
707 (SPIRect): New struct definition.
708 (SPI_freeRect): New declaration.
709 (AccessibleBoundsChangedEvent_getNewBounds): New, see below.
712 (AccessibleBoundsChangedEvent_getNewBounds): New method,
713 implemented. Gets the bounding box data from the CORBA_any
714 associated with a bounds-changed event notification.
715 (cspi_internal_event_get_rect): New, used internally by above method.
718 (SPI_freeRect): Implemented this new method, for freeing
721 * test/event-listener-test.c:
722 (main, report_bounds_event):
723 Added a test for object:bounds-changed events.
725 2004-06-01 Bill Haneman <bill.haneman@sun.com>
727 * test/login-helper-server-test.c:
728 (main): Fix C99-ism. Thanks to Jens Granseuer.
730 2004-05-28 Padraig O'Briain <padraig.obriain@sun.com>
732 * libloginhelper-1.0.pc.in:
733 * idl/Accessibility_LoginHelper.idl:
734 * login-helper/Makefile.am:
735 * login-helper/login-helper.[ch]:
736 * test/login-helper-client-test.c:
737 * test/login-helper-server-test.c: Added files missing from CVS.
738 Files obtained from at-spi-1.5.2 tarball.
740 2004-05-27 Bill Haneman <bill.haneman@sun.com>
742 * configure.in: Create login-helper/Makefile.
743 Incremented micro version.
745 * Makefile.am: Add login-helper subdir and pkgconfig data.
747 * login-helper: New subdir.
749 * libloginhelper-1.0.pc.in: New.
751 * idl/Accessibility_LoginHelper.idl: New file, defines
752 interface whereby authentication clients can identify agents which
753 need access to services during the login process, e.g. screen lock
756 * login-helper/Makefile.am : New.
758 * login-helper/login-helper.[ch] : New, implementation of
759 a LoginHelper base class. Services needing LoginHelper can subclass.
761 * test/Makefile.am : Added test for login-helper, client and
764 * test/app.c, at.c, keypad-test.c, keysynth-test.c, stress-test.c:
765 Use proper prefix in #include files.
767 * test/login-helper-client-test.c: New.
769 * test/login-helper-server-test.c: New.
771 2004-05-27 Alexander Shopov <ash@contact.bg>
773 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
775 2004-05-14 Padraig O'Briain <padraig.obriain@sun.com>
777 * cspi/spi_main.c (cspi_object_unref): Add check that reference count
778 is positive. This should make it easier to detect inapprorpiate unref
781 2004-05-11 James Henstridge <james@daa.com.au>
783 * configure.in: remove GNOME_PLATFORM_GNOME_2 macro, which is a
784 no-op and deprecated.
786 2004-05-03 Pablo Saratxaga <pablo@mandrakesoft.com>
788 * configure.in: Added "wa" (Walloon) to ALL_LINGUAS.
790 2004-04-28 Bill Haneman <billh@gnome.org>
792 * Makefile.am: Added --enable-gtk-doc to
793 DISTCHECK_CONFIGURE_FLAGS; fixes make distcheck.
795 2004-04-19 Bill Haneman <billh@gnome.org>
797 * configure.in: Revved to 1.5.1.
799 * registryd/deviceeventcontroller.c:
801 (DEControllerPrivateData): Added fields for
802 reserved_keycode, reserved_keysym, and reserved_reset_timeout.
803 (spi_dec_replace_map_keysym): New internal utility for
804 replacing a keysym in the keymap - used to allow
805 synthesis of individual characters which aren't in the
807 (spi_dec_reset_reserved): New; resets the changed keysym value
809 (keycode_for_keysym): We now try to deal with failed
810 XKeysymToKeycode requests by changing a keymap value
811 and returning a reserved keycode. We now take
812 a DEController pointer as first arg.
813 (spi_controller_register_with_devices): Call XkbGetMap with
814 the XkbKeySymsMask. Find the highest keycode in the current
815 keymap which doesn't have any grabs, and mark that one for
816 temporary re-mapping when out-of-range KeySyms are synthesized.
817 (dec_synth_keycode_press): Call XFlush after synthesizing the key
820 2004-04-08 Guntupalli Karunakar <karunakar@freedomink.org>
822 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
824 2004-03-24 Alexander Winston <alexander.winston@comcast.net>
826 * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
828 2004-03-24 Bill Haneman <billh@gnome.org>
831 (AccessibleTable_addRowSelection),
832 (AccessibleTable_addColumnSelection),
833 (AccessibleTable_removeRowSelection),
834 (AccessibleTable_removeColumnSelection):
835 Add declarations for spi wrappers which were
836 inadvertantly omitted. Fixes bug #133413.
839 Revved to 1.5.0 (unstable series for GNOME 2.7).
841 2004-03-24 Bill Haneman <billh@gnome.org>
843 * atk-bridge/bridge.c:
844 Bracketed some debug output in
845 conditionals, to avoid printing it in normal use.
848 * libspi/hyperlink.c:
849 Don't cast 'object' to ATK_OBJECT when constructing
850 an AtkAction interface for a hyperlink.
851 See discussion in bug #120659.
853 * test/key-listener-test.c:
854 (report_all_key_event): Send output to stderr,
855 not stdout, for consistency with the rest of the test callbacks.
858 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
859 Don't add X_LIBS to CFLAGS (Fix for bug #134332).
860 Incremented to 1.4.1 (but didn't dist yet - I'm going to
861 try incrementing the revision AFTER doing a dist, at least
864 2004-03-22 Bill Haneman <billh@gnome.org>
866 * configure.in: Revved to 1.4.0, libtool 9.14.9
868 2004-03-17 Laszlo Peter <laca@sun.com>
870 * libspi-1.0-uninstalled.pc.in: add idldir
872 * cspi-1.0-uninstalled.pc.in: add idldir
874 2004-03-16 Gareth Owen <gowen72@yahoo.com>
876 * configure.in: Added "en_GB" to ALL_LINGUAS
878 2004-03-15 Bill Haneman <billh@gnome.org>
880 * configure.in: Revved to 1.3.16,
883 2004-03-15 Laszlo Peter <laca@sun.com>
885 * libspi-1.0-uninstalled.pc.in: new file
887 * cspi-1.0-uninstalled.pc.in: new file
889 * configure.in: add the new pc files to AC_OUTPUT
891 * Makefile.am: add the new pc files to EXTRA_DIST
893 2004-03-12 Bill Haneman <billh@gnome.org>
895 * atk-bridge/bridge.c:
896 (spi_atk_bridge_key_listener):
897 Make sure to return consumed=FALSE if snoop
898 event is not dispatched to listener.
901 2004-03-01 Bill Haneman <billh@gnome.org>
903 * configure.in: Revved to 1.3.15,
906 2004-03-07 Danilo Segan <dsegan@gmx.net>
908 * configure.in: Added "sr@ije" to ALL_LINGUAS.
910 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
912 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
914 2004-03-01 Bill Haneman <billh@gnome.org>
916 * configure.in: Revved to 1.3.14.
919 (SPI_exit): Removed "bye-bye" exit message.
920 Moved "leak" report to happen before the
921 iteration over the leaked refs list.
922 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
924 2004-02-24 Bill Haneman <billh@gnome.org>
926 * configure.in: Revved to 1.3.13.
928 * docs/reference/cspi/Makefile.am:
929 Correct typo that was breaking the docs build.
931 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
933 * autogen.sh: Require version 1.7 of automake.
935 * configure.in: call GTK_DOC_CHECK([1.0])
937 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
939 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
941 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
943 * test/Makefile.am: Remove use of CFLAGS.
945 This fixes bug #132987.
947 2004-02-11 Bill Haneman <billh@gnome.org>
949 * reverted most of Tomasz' patch below, since it was breaking
950 builds (see bug #134058).
952 2004-02-10 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
954 * docs/reference/cspi/at-spi-cspi.types: added empty file for
955 correct pass "make dist" (empty .. because seems no sach types in
956 header files with gtk-doc markups).
957 * docs/reference/cspi/Makefile.am, configure.in:
958 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
959 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
960 * Makefile.am: added:
961 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
962 for force correct pass generate documentation on "make distcheck".
963 * libspi/Makefile.am: fixes for automake >= 1.6.
964 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
965 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
968 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
970 * docs/reference/cspi/Makefile.am (install-data-local): Install
971 index.sgml since the doc autobuilder on widget.gnome.org looks for
974 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
976 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
979 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
981 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
983 2004-01-27 Brian Cameron <brian.cameron@sun.com>
985 * test/simple-at.c: Fixed null string problems that cause core
986 dumping problems on Solaris.
988 2004-01-12 Bill Haneman <billh@gnome.org>
990 * configure.in: Incremented version to 1.3.11.
992 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
994 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
995 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
998 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
1000 * configure.in: Added "fa" to ALL_LINGUAS.
1002 2003-12-20 Arafat Medini <lumina@silverpen.de>
1004 * configure.in: Added "ar" to ALL_LINGUAS
1006 2003-12-16 Bill Haneman <billh@gnome.org>
1008 * registryd/registry-main.c:
1010 Set the reg_env DISPLAY variable before registering the
1011 activated registry service. Fixes bug #129479.
1013 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
1015 * configure.in: Added "id" in ALL_LINGUAS
1016 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
1018 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
1020 * registryd/deviceeventcontroller.c (global_filter_fn):
1021 When an event is consumed discard any XEvents were added to
1022 the queue while dealing with the the event. This can happen if
1023 processing of the event takes a long time. Call XUngrabKeyboard
1024 if an event was discarded. This fixes bug $124837.
1025 Only call wait_for_release_event for a KeyPress.
1026 Use local variable display instead of spi_get_display().
1027 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
1030 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
1032 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
1033 Allow for mask to contain values other than NumLock mask.
1036 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1038 * registryd/devieceventcontroller.c:
1039 (wait_for_release_event): Change first parameter from GdkEvent to
1041 (global_filter_fn); Correct call to wait_for_release_event.
1045 2003-12-08 Bill Haneman <billh@gnome.org>
1049 * registryd/ucs2keysym.c: New file.
1051 * registryd/deviceeventcontroller.c:
1052 (dec_keysym_for_unichar): Remove old partial implementation and
1053 replace with call to ucs2keysym(), which is much more complete.
1054 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
1059 2003-12-05 Bill Haneman <billh@gnome.org>
1061 * configure.in: Version 1.3.9.
1063 * docs/reference/cspi/tmpl/spi_registry.sgml:
1064 Added reference to libspi/keymasks.h to the
1065 description of Registry queries: AccessibleKeyMaskType.
1068 2003-12-04 Bill Haneman <billh@gnome.org>
1070 Fix for bug #121974.
1072 * idl/Accessibility_Application.idl:
1073 (Accessibility::LOCALE_TYPE): New enum, corresponds to
1074 setlocale's LC_TYPEs.
1075 (Accessibility::Application::getLocale): New method.
1076 Allows clients to query the locale, by type, of an app.
1079 * cspi/spi_application.c:
1080 (AccessibleApplication_getLocale): New method, wraps IDL above.
1082 * libspi/application.c:
1083 (spi_application_class_init): Init epv entry for getLocale.
1084 (impl_accessibility_application_get_locale): Impl for above.
1086 * test/test-simple.c:
1087 (test_application): Added assertion for getLocale, i.e.
1088 that the string from AccessibleApplication_getLocale (app, type)
1089 is the same as that from setlocale (type, NULL);
1091 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1093 *registryd/deviceeventcontroller.c: Add an idle handler which polls
1094 the keyboard on a timeout intil the key state goes from pressed to
1095 released. Fixes bug #111429.
1097 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1099 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
1100 root object so that it is present when a context menu in an
1101 out-of-process applet is popped up.
1102 (spi_atk_bridge_do_registration): Create acceessible application root
1103 object only if it does not exist.
1105 This fixes bug #125834.
1107 2003-12-01 Bill Haneman <billh@gnome.org>
1109 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
1112 Added enum for AccessibleStreamableContentSeekType.
1113 (AccessibleStreamableContent_freeContentTypeList): New.
1115 * cspi/spi_streamablecontent.c:
1116 (accessible_bonobo_stream_client_seek): New private method.
1117 (AccessibleStreamableContent_seek): Implemented this method,
1118 using Bonobo_Stream_seek.
1119 (AccessibleStreamableContent_freeContentTypeList): New method
1120 for freeing the return value from
1121 AccessibleStreamableContent_getContentTypes.
1122 (stream_cache_item_free): Replaces stream_release; stop leaks.
1123 (stream_release): removed.
1124 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
1125 free the memory properly.
1127 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
1129 Fix for bug #116009.
1131 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
1133 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
1135 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
1137 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
1139 2003-12-01 Bill Haneman <billh@gnome.org>
1141 Fix for bug/rfe #127463.
1143 * idl/Accessibility_Accessible.idl:
1144 (getLocalizedRoleName): New.
1145 (unimplemented4): Removed (replaced by above).
1147 * libspi/accessible.c:
1148 (impl_accessibility_accessible_get_local_role_name): New.
1149 (spi_accessible_class_init): Add getLocalizedRoleName entry to
1153 (Accessible_getLocalizedRoleName): New.
1155 * cspi/spi_accessible.c:
1156 (Accessible_getLocalizedRoleName): New.
1158 2003-12-01 Bill Haneman <billh@gnome.org>
1160 Fix for bug #118581.
1161 * idl/Accessibility_Text.idl:
1162 (getDefaultAttributes): New.
1163 (unimplemented4): Removed (replaced by above method).
1166 (impl_getDefaultAttributes): New method.
1167 (spi_text_class_init):
1168 initialize the get_default_attributes slot in the epv.
1171 (AccessibleText_getDefaultAttributes): New prototype.
1174 (AccessibleText_getDefaultAttributes): New method.
1176 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
1178 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
1179 write beyond the end of the table. Fixes bug #120473.
1181 2003-09-30 Christian Rose <menthos@menthos.com>
1183 * configure.in: Added "eu" to ALL_LINGUAS.
1185 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
1187 * configure.in: ALL_LINGUAS: Added no.
1189 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
1191 * configure.in: Added lt to ALL_LINGUAS.
1193 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
1195 * atk-bridge/bridge.c:
1196 (atk_bridge_init): Register event listeners always even for
1197 out-of-process applet.
1198 (spi_atk_bridge_toplevel_added): Remove call to
1199 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
1200 (spi_atk_bridge_toplevelk_removed): Remove call to
1201 spi_atk_deregister_event_listenersa as the listeners are now always
1203 (spi_atk_bridge_register_application): Remove call to
1204 spi_atk_register_event_listeners as it is not done in atk_bridge_init
1206 This fixes bug #120991.
1208 * libspi/table.c (impl_getColumnDescription): Correct typo,
1209 pointed out by Bolian.Yin@sun.com.
1211 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
1213 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
1215 2003-09-08 Bill Haneman <billh@gnome.org>
1217 * configure.in: Revved to 1.3.7.
1219 This is the GNOME 2.4.0 release of at-spi.
1221 * docs/reference/cspi/Makefile.am:
1222 Removed spurious inclusion of 'index.sgml' in the
1223 html directory; this was breaking make distcheck and
1224 also some other build environments.
1226 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
1228 * registryd/registry.[ch}:
1229 Add queue_handler_id and focus_object to SpiRegistry data structure.
1230 (registry_flush_event_queue): If event being discarded is
1231 "state-change:focused" store object as focus_object.
1232 (registry_start_queue): Remove queue handler and focus object
1234 (registry_discard_event): New function which discards a focus event
1235 if we had stored focus object in the registry.
1236 (registry_queue_event): Add new check that is_queueing is set as this
1237 function is reentrant.
1238 (registry_filer_event): Add call to registry_discard_event.
1240 This resolves issues raised in bug #108664.
1242 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
1244 * configure.in: Added "bn" to ALL_LINGUAS.
1246 2003-09-04 Bill Haneman <billh@gnome.org>
1248 * cspi/spi_event.c: Documentation improvements for
1249 (SPI_registerAccessibleKeylistener).
1251 * docs/reference/tmpl/spi_registry.sgml:
1252 Documentation improvements for SpiAccessibleKeylistenerCB.
1254 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
1256 * configure.in: Added "ro" to ALL_LINGUAS.
1259 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
1261 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
1262 not decremented to zero. Fixes bug #120725.
1264 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
1266 * configure.in: Added "ja" to ALL_LINGUAS.
1268 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
1270 * configure.in: Added "is" to ALL_LINGUAS.
1272 2003-08-22 Christian Rose <menthos@menthos.com>
1274 * configure.in: Added "nl" to ALL_LINGUAS.
1276 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1278 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
1279 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
1281 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
1283 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
1284 type for unspecified exception.
1285 * cspi_streamablecontect): Add include of string.h for memcpy.
1286 (stream_release): Correct call to bonobo_object_release_unref
1287 (stream_cache_item_free): Correct call to bonobo_object_release_unref
1288 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
1289 argument of _cspi_expection_throw.
1290 * libspi/hyperlink.c: Add include of libspi/action.h:
1291 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
1292 * libspi/streamablecontent.c: add include of libspi/component.h.
1293 * regisrtyd/deviceeventcontroller.c:
1294 (spi_dec_translate_mask): Removed unused variable priv.
1295 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
1296 * registryd/registry.c:
1297 (registry_filter_event): Remove unused variable queue_is-empty.
1298 (impl_registry_notify_event): Use correct modifier in fprintf call.
1300 This fixes compiler warnings reported in bug #120220.
1302 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
1304 * registryd/registryd.c: Remove this file.
1306 2003-08-17 Sanlig Badral <badral@openmn.org>
1308 * configure.in: Added mn to ALL_LINGUAS.
1310 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
1312 * configure.in: Added et to ALL_LINGUAS.
1314 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
1316 * test/event-listener-test.c: Change active-descendant to
1317 active-descendant-changed.
1319 2003-08-10 Sami Pesonen <sampeson@iki.fi>
1321 * configure.in: Added "fi" in ALL_LINGUAS.
1323 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
1325 * configure.in: Added "hi" in ALL_LINGUAS.
1327 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
1329 * configure.in: Revved to 1.3.6.
1333 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
1335 * registryd/deviceeventcontroller.c
1336 (spi_device_event_controller_object_finalize): Fix typo in previous
1339 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
1341 * registryd/deviceeventcontroller.c
1342 (spi_device_event_controller_object_finalize): Fix build on
1343 systems without XEvIE.
1345 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
1347 * acconfig.h, configure.in, registryd/Makefile.am,
1348 registryd/devicecontoller.[ch]: Add XEViE support.
1350 2003-08-06 Wang Jian <lark@linux.net.cn>
1352 * configure.in: Added "zh_CN" to ALL_LINGUAS.
1354 2003-08-06 Metin Amiroff<metin@karegen.com>
1356 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
1358 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
1360 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
1361 MODIFIER_ALT in correct place.
1363 This fixes part of bug #118114.
1365 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
1367 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
1369 2003-07-28 Changwoo Ryu <cwryu@debian.org>
1371 * configure.in: Added "ko" to ALL_LINGUAS.
1373 2003-07-28 Ole Laursen <olau@hardworking.dk>
1375 * configure.in: Added "da" to the commented out ALL_LINGUAS.
1377 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
1379 * configure.in: Added "sq" to ALL_LINGUAS.
1381 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
1383 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
1385 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
1387 * configure.in: updated ALL_LINGUAS list
1389 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1391 * configure.in: Added Belarusian to ALL_LINGUAS.
1393 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
1395 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
1397 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
1398 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
1400 This fixes bug #116949.
1402 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
1404 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
1405 Correct CSPI to SPI in function documentation.
1407 This fixes bug #118054.
1409 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1411 * configure.in: Added Russian to ALL_LINGUAS.
1413 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
1415 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
1417 2003-07-14 Danilo Ã…Â Segan <dsegan@gmx.net>
1419 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
1421 2003-07-10 Joel Brich <joel.brich@laposte.net>
1423 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
1425 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
1427 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
1429 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
1431 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
1432 resources allocated for AccessibleEvent. See cspi_event().
1434 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
1435 static variable streams to NULL.
1437 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
1438 Update so that AcessibleEvent_ref will work.
1440 This fixes bug #116624.
1442 2003-07-06 Jordi Mallach <jordi@sindominio.net>
1444 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
1446 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
1448 * configure.in: Added "fr" (French) to ALL_LINGUAS.
1450 2003-07-02 Christian Neumair <chris@gnome-de.org>
1452 * configure.in: Added "de" (German) to ALL_LINGUAS.
1454 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
1456 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
1458 2003-07-01 Miloslav Trmac <mitr@volny.cz>
1460 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
1462 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
1464 * configure.in: Added "pl" to ALL_LINGUAS.
1466 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
1468 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
1470 2003-06-30 Bill Haneman <bill.haneman@sun.com>
1473 (get_action_from_servant):
1474 Removed assertion that action is implemented on an AtkObject.
1476 * libspi/hyperlink.c:
1477 (spi_hyperlink_new):
1478 Aggregate AccessibleAction interface on the hyperlink object if
1479 the object implements AtkAction. (This convention is used in
1482 2003-06-30 Bill Haneman <bill.haneman@sun.com>
1484 * configure.in: Revved to 1.3.5.
1486 * registryd/Accessibility_Registry.server.in.in:
1487 Marked up appropriate strings for translation.
1489 * atk-bridge/bridge.c: Marked a couple of
1490 user-visible warnings for translation. Questionable
1491 whether they are really useful, but possibly so.
1494 2003-06-28 Christian Rose <menthos@menthos.com>
1496 * configure.in: Added "sv" to ALL_LINGUAS.
1498 2003-06-26 Bill Haneman <bill.haneman@sun.com>
1500 * registryd/registry.c:
1501 (spi_registry_object_finalize): Unref the deviceeventcontroller.
1502 (registry_defer_on_event): Defer focus: events, this is an
1503 improvement to the patch for bug #108664.
1505 * TODO: Update with 2.4/"Dev Complete" items.
1507 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
1509 * atk-bridge/bridge.c:
1510 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
1511 looks up signals once.
1512 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
1513 if doing registration.
1514 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
1515 when doing registration.
1517 This fixes bug #115014.
1519 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
1521 * atk-bridge/bridge.c:
1522 (atk_bridge_init): Add signal handler for children-changed:remove on
1523 root when in a BonoboComponent.
1524 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
1525 for first toplevel only other incrememt variable toplevels.
1526 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
1527 application and remove listeners.
1528 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
1530 (spi_atk_deregister_event_listeners): New function which removes
1532 (reinit_register_vars): New fuction which reinitializes variables.
1534 This fixes bug #111578.
1536 2003-06-13 Bill Haneman <bill.haneman@sun.com>
1538 * configure.in: version 1.3.4.
1540 * cspi/spi_accessible.c:
1541 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
1544 2003-06-13 Michael Meeks <michael@ximian.com>
1546 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
1548 * cspi/spi_main.c (cspi_peek_ev): impl.
1550 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
1552 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
1554 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
1556 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
1557 SPI_ROLE_AUTOCOMPLETE
1559 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
1561 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
1562 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
1564 2003-06-11 Bill Haneman <bill.haneman@sun.com>
1566 * libspi/streamablecontent.h:
1567 * libspi/streamablecontent.c:
1568 New files, provide implementation/wrappers for
1569 Accessibility_StreamableContent.
1571 * cspi/spi_streamablecontent.c:
1572 Connected the C wrappers to the libspi C bindings.
1573 (AccessibleStreamableContent_close): New method.
1576 (AccessibleStreamableContent_close): New method, needed
1577 since we have an "open, [seek], read, close" model in cspi.
1579 2003-06-11 Bill Haneman <bill.haneman@sun.com>
1581 Fix for #108664; Padraig's revision of my original patch.
1583 * registryd/registry.h:
1584 Added event queue list, is_queuing, and exit_notify_timeout
1585 to the registry struct.
1587 * registryd/registry.c:
1588 (registry_init): Initialize new struct from registry.h.
1589 (impl_registry_notify_event):
1590 Filter events before notifying, in case some need to be
1592 (registry_filter_event): New,
1593 we defer certain incoming events (for instance
1594 window:deactivate) because we may wish to hide
1595 or reject them based on pending events. This is
1596 mostly a workaround for bug #108664.
1597 (registry_queue_event, registry_start_queue): New.
1598 (registry_defer_on_event): Test event to see if it
1600 (registry_reset_on_event): Returns TRUE if the
1601 event should cause a queue reset.
1602 (registry_discard_on_event): Returns TRUE if the event
1603 should cause the previous queue contents to be discarded.
1604 (registry_timeout_flush_queue): Flushes the pending event
1605 queue if no reset/discard-triggering events have come in
1606 within the timeout period.
1607 (registry_emit_event): New.
1608 (registry_clone_notify_context): New, used when queueing the
1609 event notify contexts.
1611 2003-06-10 Bill Haneman <bill.haneman@sun.com>
1613 * configure.in: Version revved to 1.3.2, lt 0.9.2
1614 Incremented ATK required version to 1.3.4.
1616 * cspi/spi_registry.c:
1617 (SPI_generateKeyEvent):
1618 We now pass the keystring along if it's non-null.
1620 * registryd/deviceeventcontroller.c:
1621 (keysym_mod_mask): New method, returns modifier mask
1622 required to generate a keysym from a given keycode.
1623 (dec_synth_keysym): New method.
1624 (dec_synth_keystring): New method.
1625 (dec_get_modifier_state): New method.
1626 (dec_lock_modifiers): New
1627 (dec_unlock_modifiers): New.
1628 (dec_keysym_for_unichar): New, rather brute-force
1629 conversion from UCS-4 to X KeySyms. Only works for
1630 Latin at the moment, with partial implementations for
1631 Greek, Hebrew, and (incomplete) Katakana.
1632 (impl_generate_keyboard_event): Now implement
1633 "KEYSTRING" synthesis and implement "KEYSYM"
1635 (keycode_from_keysym): Improved, passes a returned
1636 modmask value now if the corresponding param is non-NULL.
1638 Fixes bugs #92143 and #109776.
1641 * test/keysynth-test.c:
1642 New test program for key synthesis, to confirm fixes for
1646 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
1648 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
1650 * cspi/spi_accessible.c (cspi_init_relation_type_table):
1651 Add line for RELATION_POPUP_FOR
1653 * docs/reference/cspi/tmpl/spi_relation.sgml:
1654 Add relation SPI_RELATION_POPUP_FOR
1656 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1657 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
1659 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
1661 * libspi/relation.c (spi_init_relation_type_table):
1662 Add line for RELATION_POPUP_FOR
1664 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
1666 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
1667 there are still windows which have not been deleted and emit
1668 window:deactivate, if necessary and window:destroy events.
1669 This fixes bug #114370. The change on June 5th was not correct.
1671 2003-06-09 Bill Haneman <bill.haneman@sun.com>
1673 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
1676 (SPI_dupString): Allow dup-ing of a string such that it's safe to
1678 New methods for client exception handling and interception.
1679 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
1680 (SPI_exceptionHandlerPop): You guessed it...
1681 (SPI_getSourceType): Return the type of object which offended.
1682 (SPI_getExceptionCode): Return an enum code telling, possibly,
1683 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
1684 (SPIAccessibleException_getSource): get the source object for
1685 exceptions that come from Accessibles, if SPIExceptionSourceType is
1686 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
1687 (SPIException_getDescription): New, returns a string description of
1688 the problem. [Not yet a stable ABI, strings are not frozen]
1690 * cspi/spi-private.h:
1691 Added implementation details of opaque SPIException
1695 Implementations of above. Also
1696 (_cspi_exception_throw): new private method that
1697 dispatches exceptions to handlers, called from cspi-bonobo.c
1699 * cspi/bonobo/cspi-bonobo.c:
1700 (cspi_check_ev): call _cspi_exception_throw.
1701 Don't print a warning message if the exception has been
1702 handled by _cspi_exception_throw.
1704 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
1706 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
1707 there are still windows which have not been deleted and emit
1708 window:deactivate, if necessary and window:destroy events.
1709 This fixes bug #114370.
1711 2003-06-03 Bill Haneman <bill.haneman@sun.com>
1714 (cspi_accessible_is_a): Make non-fatal
1715 if the object reference is dead.
1717 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
1719 * cspi/spi_main.c: #include <stdio.h>
1720 * test/simple-at.c: ditto
1721 * test/event-listener-test.c: ditto
1722 * test/screen-review-test.c: ditto
1724 2003-05-30 Michael Meeks <michael@ximian.com>
1726 * test/test-simple.c (main): use CORBA_ORB_perform_work
1727 instead of an unnecessary linc_ call.
1729 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
1731 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
1732 Add SPI_STATE_INDETERMINATE.
1734 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
1737 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
1739 * libspi/stateset.c (init_state_type_tables): Add support for
1742 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
1744 * configure: Update versions of atk and gail required.
1745 This fixes bug #113268.
1747 2003-05-02 Bill Haneman <bill.haneman@sun.com>
1749 * configure.in: Revved micro version to 1.3.1 (because of build fix).
1751 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
1753 * libspi/Makefile.am:
1754 Ensure headers are generated before being used by c sources.
1756 2003-05-01 Bill Haneman <bill.haneman@sun.com>
1759 Simplified lt versioning rules.
1760 Incremented version to 1.3.0, to indicate that we're on the
1761 unstable branch now.
1763 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
1765 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
1766 Add MKDB_OPTIONS=--outtput-format=xml
1768 * docs/reference/cspi/at-spi-cspi-docs.sgml
1769 docs/reference/idl/at-spi-idl-docs.sgml:
1770 Convert to Docbook XML.
1772 This fixes bug #111793.
1774 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
1776 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
1777 AcccessibleKeyEventType, AccessibleKeyMaskType.
1779 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
1781 * cspi/state-types.h: Add documentation for AccessibleState.
1783 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
1784 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
1785 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
1786 AccessibleComponentLayer.
1788 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
1791 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
1793 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
1794 Accessible. Add description of AccessibleEvent,
1795 AccessibleEventListenerCB.
1797 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
1800 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
1801 documentation. Add description of AccessibleKeystrokeListenerCB,
1802 AccessibleKeyEventMask, AccessibleModifierMaskType,
1803 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
1804 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
1806 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
1809 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
1812 This fixes bug #104730.
1814 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
1816 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
1817 Set is_text field of Accessibility_DeviceEvent data structure.
1819 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
1820 is-text field of AccessibleDeviceEvent data structure.
1822 This addresses part of bug #108666.
1824 * registryd/devcieeventcontroller.c: Unset debug option.
1826 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
1828 * cspi/accessible.c:
1829 (cpi_initial_relation_type_table): New function which initializes
1830 mapping between Accessibility_RelationType and AccessibleRelationType.
1831 (cspi_relation_type_from_spi_relation_type): New function which
1832 translates an Accessibility_RelationType into an AccessibleRelationType.
1833 (AccessibleRelation_getRelationType): Use
1834 cpi_relation_type_get_spi_relation_type to return correct value.
1835 (spi_state_to_corba): Return correct type for default case.
1837 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
1838 Use Accessibility_EventType instead of Accessibility_KeyEventType.
1840 * cspi/cspi-bonobo-listener.c:
1841 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
1844 * libspi/accessible.c, libspi/action.c, libspi/application.c,
1845 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
1846 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
1847 libspi/image.c, libspi/listener.c, libspi/selection.c,
1848 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
1849 registryd/desktop.c, registryd/registry.c:
1850 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1852 * libspi/eventlistener.c
1853 Remove semicolon after BONOBO_TYPE_FUNC.
1855 * libspi/relation.c:
1856 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1857 (spi_init_relation_type_table): Initialize using correct type.
1859 * registryd/desktop.c:
1860 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1861 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
1862 of Accessibility_KeyEventType.
1864 * test/key-listener-test.c (report_tab_key_event): Use fprintf
1867 * tests/simple-at.c, tests/screen-review-test.c:
1868 Add include for <strings.h>.
1870 * tests.stress-test.c:
1871 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
1873 These changes fix compiler warnings when using FORTE compiler on
1874 Solaris; fixes bug #107479.
1877 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1880 * configure.in: revved to 1.1.10
1882 * libspi/keymasks.h:
1883 (SPI_KEYMASK_NUMLOCK): Added.
1885 * registryd/deviceeventcontroller.c:
1886 (spi_key_event_matches_listener): AND with a smaller
1887 bitmask (as we should).
1888 (spi_dec_translate_mask):
1889 New method, sets the virtual NumLock modifier bit
1890 if numlock is on. Eventually it can handle other virtual
1891 modifier bits if needed, or other marshalling from
1892 at-spi modifier masks to platform (X) masks.
1893 (spi_dec_key_listener_new):
1894 Call spi_dec_translate_mask to set up virtual mod bits
1895 in the 'mask' field when creating a new listener struct.
1896 (spi_dec_emit_modifier_event):
1897 Set the virtual (i.e. NumLock) bits before emitting event.
1898 (spi_controller_register_with_devices):
1899 Query for the NumLock modifier 'physical' bit if Xkb is
1900 present, for use in above methods.
1904 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1906 * registryd/deviceeventcontroller.c:
1907 (spi_keystroke_from_x_key_event):
1908 Instead of checking to see if the keysym is
1909 printable, check the string from XLookupString
1910 if available, get the first unicode character from it,
1911 and call g_unichar_isprint to determine whether the
1912 is_text flag should be TRUE or FALSE.
1916 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1918 * atk-bridge/bridge.c: Add support for extended events
1919 * cspi/spi_event.c: Add documentation and implementation for
1921 * tests/event-listener-test.c: Add tests for extended events.
1923 This fixes bugs #100424 and #100426.
1925 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1927 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
1928 of LT_CURRENT. This fixes bug #89350.
1930 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
1932 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
1933 number of signal parameter values before accessing them. This fixes
1936 2003-04-01 Bill Haneman <bill.haneman@sun.com>
1938 * configure.in: Fixed duplicate inclusion of -lspi.
1939 * branched for gnome-2-2/HEAD.
1940 [created tag "gnome-2-2"]
1942 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1944 * configure.in: 1.1.9 release.
1947 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1949 [needed by GOK, to fix bugs 107985 and 107988]
1950 * registryd/deviceeventcontroller.c:
1951 (spi_dec_clear_unlatch_pending):
1952 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
1953 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
1954 (spi_dec_init_mouse_listener):Emit warning if mouse button
1956 (spi_device_event_controller_forward_mouse_event):
1957 Removed unnecessary parens from a conditional.
1958 (global_filter_fn):Added TODO comment.
1959 (impl_generate_keyboard_event):
1960 Cancel a pending relatch if a 'delatching' key was
1963 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
1965 * atk-bridge/bridge.c:
1966 Change atk_signal_child_changed to atk_signal_children_changed.
1967 Reorganize code in spi_atk_bridge_signal_listener().
1969 * test/event-listener-test.c:
1970 Add children_changed_listener and report_children_changed_event()
1971 to test AccessibleChildEvent_getChildAccessible.
1973 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
1975 * cspi/spi_event.c (cspi_internal_event_get_text): Change
1976 g_strdup to CORBA_String_dup (bug #105291)
1978 * test/event-listener-test.c (report_text_event): Add call to
1981 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1983 * registryd/deviceeventcontroller.c:
1984 (spi_keystroke_from_x_key_event):
1985 Fix string and keysym return codes to match modifier state.
1988 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1990 * registryd/deviceeventcontroller.c:
1991 (spi_keystroke_from_x_key_event):
1992 Fix segv due to improper use of isprint(c). [bug #107254]
1994 2003-02-24 Bill Haneman <bill.haneman@sun.com>
1997 (get_accessible_text_boundary_type):
1998 Move default return value to (new) default case in switch.
1999 (get_accessible_text_clip_type):
2000 Move default return value to (new) default case in switch.
2002 * libspi/application.c:
2003 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
2004 Remove unused methods.
2005 (impl_accessibility_application_register_object_event_listener):
2006 Remove unused methods.
2009 Added #include of <math.h>.
2011 * registryd/deviceeventcontroller.c:
2012 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
2013 we don't currently use this method.
2014 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
2016 (impl_generate_key_event):
2017 Remove unused variables.
2018 (impl_generate_mouse_event):
2019 Initialize button to zero, just in case we get an invalid
2020 input. Added support for mouse buttons 4 and 5.
2021 (spi_device_event_controller_new):
2022 Removed unused variable declaration for 'private'.
2024 Added #include of <gdk/gdk.h>
2026 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2028 * configure.in: Update to work when X is not installed in expected
2029 location. Fixes bug #105836.
2031 * atk-bridge/bridge.c
2032 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
2034 (spi_atk_register_event_listener): Add signal listener for
2036 (spi_atk_bridge_signal_listener): Event event when link-selected
2037 signal is emitted. (bug #104622)
2039 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
2040 on returned string. (bug #105291)
2042 * test/event-listener-test.c: Add test for link-selected.
2044 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2046 * atk-bridge/Makefile.am: Correct typo in previous commit.
2048 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
2050 * atk-bridge/Makefile.am: Allow for build directory to be different
2051 from source directory
2053 * registryd/Makefile.am: Allow for build directory to be different
2054 from source directory
2058 2003-01-29 Bill Haneman <bill.haneman@sun.com>
2061 Fixed dependencies for libcspi so that libspi gets pulled in
2062 properly. Fixes 104741.
2066 Clean up inline docs a little.
2068 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
2070 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
2071 This is done by implementing AtkComponent for SpiAtkDesktop, which is
2072 the AtkObject within an SpiDesktop.
2073 This addresses bug #101524.
2075 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
2076 Remove call to gdk_init().
2078 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
2079 so that Display is set when SpiDesktop is created.
2081 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
2083 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
2084 This fixes bug #102830.
2086 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2088 * test/test-simple.c: Update to take account of fact that GailButton
2089 now implements AtkText.
2090 (create_text_window): Set name on AtkObject for GtkEntry.
2091 (validate_accessible): Check accessible name before calling test_text().
2093 * libspi/Makefile.am: Fix problem with building outside of source
2094 directory. Bug #98120.
2096 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
2097 typo in documentation comments. Bug #94275.
2099 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2101 * libspi/text.c (impl_getBoundedRanges): Bug fix.
2103 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
2106 Add includes to avoid compiler warnings on Solaris.
2107 (impl_getRangeExtents): Bug fix.
2109 2002-12-17 Bill Haneman <bill.haneman@sun.com>
2111 Fix for 100944, [API addition approved by Gman and murrayc].
2118 * idl/Accessibility_Text.idl:
2119 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
2120 (Text::getRangeExtents): New method for efficient
2121 bounds query of a text range.
2122 (Text::getBoundedRanges): New method for efficient
2123 clipping of text to bounding boxes.
2124 (unImplemented7, unImplemented8):
2125 Removed these padding methods to preserve bincompat.
2128 (impl_getRangeExtents): implementation of new IDL.
2129 (impl_getBoundedRanges): implementation of new IDL.
2130 (SpiTextRect): Internal use struct.
2131 (_spi_text_rect_union): internal method, calculates union of two
2132 SpiTextRect bounding rects.
2133 (_spi_text_range_seq_from_gslist): internal method, allows us
2134 to build our sequence efficiently as a gslist then convert it
2136 (_spi_bounds_contain): internal method, determines whether
2137 a text character is "in" or "out" of a clip rect according to
2138 values of TEXT_CLIP_TYPE.
2139 (spi_text_class_init): Initialize the new methods in the epv.
2142 (AccessibleTextClipType): New enum used by screen review api.
2143 (AccessibleTextRange): New struct used by screen review api.
2144 (AccessibleText_getRangeExtents):
2145 cspi binding for Accessibility_Text_getRangeExtents.
2146 (AccessibleText_getBoundedRanges):
2147 cspi binding for Accessibility_Text_getBoundedRanges.
2148 (AccessibleTextRange_freeRanges): convenience method.
2151 (AccessibleText_getRangeExtents):
2152 cspi binding for Accessibility_Text_getRangeExtents.
2153 (AccessibleText_getBoundedRanges):
2154 cspi binding for Accessibility_Text_getBoundedRanges.
2155 (AccessibleTextRange_freeRanges): convenience method.
2156 (get_accessible_text_clip_type): internal conversion method.
2157 (get_accessible_text_ranges_from_range_seq): internal conversion method.
2159 * registryd/deviceeventcontroller.c:
2160 (spi_dec_mouse_check):
2161 Improved behavior for mouse:abs events
2162 [same granularity as mouse:rel events, and no
2163 events when mouse is idle].
2165 2002-12-16 Michael Meeks <michael@ximian.com>
2167 * cspi/spi_accessible.c (spi_state_to_corba): rename.
2169 * libspi/stateset.c (state_spi_to_atk): split out
2170 ( fix several remote array bounds nasties )
2171 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
2172 (impl_remove): make safe from array bounds issues.
2173 (spi_atk_state_from_spi_state): impl.
2175 * libspi/stateset.h (spi_state_set_cache_is_empty):
2176 add a set of wrapper defines to get layering right.
2178 * cspi/spi_accessible.c: update state set stuff to
2181 2002-12-14 Michael Meeks <michael@ximian.com>
2183 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
2184 to avoid 2 roundtrips to the registry per key event
2185 (spi_atk_bridge_key_listener): upd.
2186 (deregister_application): release the dec.
2188 * registryd/registry.c (notify_listeners_cb):
2189 bin lots of re-enterant complexity - we no longer
2190 do a round-trip bonobo ref here, ensure that a single
2191 listener's exception failure won't poison all other
2193 (impl_registry_notify_event): bin obvious memory leak.
2195 2002-12-13 Michael Meeks <michael@ximian.com>
2197 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
2198 init the ev so the error is meaningful.
2199 (spi_atk_bridge_key_listener): ditto.
2201 * cspi/spi_main.c (cspi_ev): init the ev so we start
2202 with a clean slate, otherwise the first exception
2203 kills us completely.
2205 * cspi/spi_text.c (get_accessible_text_boundary_type):
2206 add a fallthrough for no warnings.
2208 * cspi/spi_registry.c: prune unused warnings.
2210 * cspi/spi_main.c (cspi_object_take): fix
2211 mind-blowing brokenness ( by watching the compile
2214 * cspi/spi_accessible.c (Accessible_getStateSet):
2215 re-impl. to use an AtkStateSet.
2216 (spi_state_type_from_accessible_state),
2217 (init_state_table): bin these.
2219 * libspi/stateset.c (spi_atk_state_set_from_sequence):
2221 (atk_state_set_from_accessibility_state_set): here.
2223 * cspi/spi_accessible.c (spi_state_to_atk): impl.
2224 (AccessibleStateSet_contains, AccessibleStateSet_ref),
2225 (AccessibleStateSet_unref, AccessibleStateSet_contains),
2226 (AccessibleStateSet_add, AccessibleStateSet_remove),
2227 (AccessibleStateSet_equals, AccessibleStateSet_compare),
2228 (AccessibleStateSet_isEmpty): re-write to use a local
2231 2002-12-13 Bill Haneman <bill.haneman@sun.com>
2233 * configure.in: Revved to 1.1.7 (new keymask vals).
2235 2002-12-10 Bill Haneman <bill.haneman@sun.com>
2237 * libspi/keymasks.h:
2238 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
2240 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
2243 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
2244 to compare two CORBA_TypeCodes.
2245 (cspi_internal_event_add): Silence warning from FORTE compiler.
2247 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
2248 avoid implicit declaration of functions.
2250 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
2252 * atk-bridge/bridge.c:
2253 (spi_atk_bridge_init_event_type_consts): Store signal id for
2254 active-descendant-changed signal.
2255 (spi_atk_register_event_listeners): Add signal listener for
2256 active-descendant-changed signal,
2257 (spi_atk_bridge_signal_listener): Move code in function
2258 spi_atk-signal_emit_event() into this function.
2259 Add support for active-descendant-changed
2260 Update support for child-changed signal.
2261 (spi_bridge_window_event_listener): Silence warning.
2263 * libspi/spi_private.[ch]:
2264 (spi_init_any_object): Change second parameter from CORBA_Object to
2266 Omit call to CORBA_Object_duplicate().
2267 Set CORBA_any's _value to CORBA_Object*.
2269 2002-12-06 Bill Haneman <bill.haneman@sun.com>
2275 (AccessibleEvent_ref, AccessibleEvent_unref):
2276 New methods, for persisting an event outside the emission context.
2277 Must be used if the new accessor methods are to be called
2278 outside of the event listener's callback.
2280 * cspi/bonobo/cspi-bonobo.c:
2281 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
2282 as second parameter instead of NULL, so we can call
2283 cspi_check_ev afterwards.
2286 (cspi_object_take): New internal method,
2287 converts a CORBA_Object reference to a hard ref on
2288 an Accessible if possible, returning NULL if the object
2289 reference is invalid or an Accessible * otherwise.
2292 (AccessibleEvent_ref):
2293 Increment the event's internal private refcount, and
2294 add the event's internal struct to an internal cache
2295 if it's not already there.
2296 (AccessibleEvent_unref):
2297 Decrement the event's refcount and remove it from
2298 the cspi event cache if refcount==0.
2299 (cspi_event_compare): New private method.
2300 Compares two event structs via their ids. Used
2302 (cspi_internal_event_lookup): New private method.
2303 (cspi_internal_event_check): New private method,
2304 a 0-order sanity check for events to make sure their
2305 private data is intact.
2306 (cspi_internal_event_add, cspi_internal_event_remove):
2307 New private methods for managiing the event cache.
2309 * cspi/bonobo/cspi-bonobo-listener.c:
2311 Initialize the new private data elements (id, magic, ref_count).
2313 * atk-bridge/bridge.c:
2314 (spi_atk_bridge_signal_listener):
2315 Fixed bug #100530, passing wrong params to emission func.
2317 * registryd/deviceeventcontroller.c:
2318 (spi_dec_button_update_and_emit):
2319 Fixed type in mask bit operations; fix for #99799.
2321 2002-12-02 Bill Haneman <bill.haneman@sun.com>
2323 Removed some of the more dangerous workarounds from
2324 previous commit; they are only needed by GOK, which
2325 in reality should be using another method to accomplish
2326 the goals. So on reconsideration some of the workarounds
2327 need to be reverted:
2329 * registryd/deviceeventcontroller.c:
2330 (spi_keycodes_contain, spi_dec_init_keycode_list):
2331 Removed these methods, used only by a nasty hack to try
2332 and detect whether a key synthesis should be allowed
2333 to reset the XKB latch state or not. This code was only
2334 required to work around an interaction between GOK,
2335 button events, and XKB.
2336 (impl_generate_key_event):
2337 Removed hack at end of key generation that tried to
2338 "do the right thing" if XKB latch keys were generated
2339 in the midst of button press/release pairs.
2342 Added a check for HAVE_XINPUT. Not normally used yet.
2344 2002-11-25 Bill Haneman <bill.haneman@sun.com>
2346 Workarounds and fixes for mouse event/XKB interaction.
2348 * registryd/deviceeventcontroller.c:
2349 (spi_keycodes_contain, spi_dec_init_keycode_list):
2350 New internal methods.
2351 (spi_dec_set_unlatch_pending):
2352 Split the method that tells XKB to expect an
2353 unlatch (and revert it) out of the rest of the
2354 event handling code. This method is called by the
2355 two mouse event handlers (the poll and the filter).
2356 (spi_dec_update_and_emit, spi_dec_mouse_check):
2357 New methods split from spi_dec_poll_mouse_moved.
2358 The second one is now called from inside the filterFn
2359 when an XKB delatch event is received, to determine
2360 whether to revert the delatch or not.
2361 (spi_poll_mouse_moved): Refactor; also we can now
2362 properly handle the case where multiple button states
2363 have changed between polling cycles and we didn't get
2364 notified due to another client's grab.
2366 Synchronize the server while handling an XKB notification.
2367 Ugly, but apparently necessary to avoid nasty races.
2368 Check the mouse state on receipt of an XKB latch change,
2369 to decide whether to revert the latch or not. (Latches are
2370 reverted if there is an immediately preceding mouse button
2371 event that a client has consumed, in which case we don't want
2372 the user to see the side-effect of the event).
2373 (spi_device_event_controller_forward_mouse_event):
2374 Check for modifier events and fire before resetting mouse_mask_state,
2375 prevents losing modifier events.
2377 (impl_generate_keyboard_event):
2378 If we've just generated a keyboard event for a non-shift key,
2379 we don't want to revert the pending XKB latch.
2380 Otherwise, check the modifier state (via a call to
2381 spi_dev_mouse_check) and set the relatch mask to
2382 that state before returning.
2384 2002-11-24 Bill Haneman <bill.haneman@sun.com>
2387 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
2390 * atk-bridge/bridge.c:
2391 (spi_atk_register_event_listeners):
2392 Don't re-register for ATK events if the registry has died
2393 and the app needs to re-register; the ATK listeners are in
2394 process and doing so will cause duplicate emission.
2396 * registryd/deviceeventcontroller.c:
2397 (spi_poll_mouse_moved):
2398 Reformat the source, detect and emit multiple button-change
2399 events (i.e. if multiple buttons have changed between poll
2401 Add code to detect mouse-down events even when the pointer
2402 is grabbed; workaround for GOK bug 98420.
2403 (spi_controller_register_with_devices):
2404 Call XTestGrabControl with 'impervious' flag set to True,
2405 allows us to synthesize events and query the pointer even during
2406 an active grab by another client.
2407 (spi_device_event_controller_forward_mouse_event):
2408 Set the mouse_mask_state to the mouse_button_state from
2409 the intercepted event, to synchronize the grab listener with
2412 2002-11-20 Bill Haneman <bill.haneman@sun.com>
2414 * cspi/spi_accessible.c:
2415 (AccessibleRole_getName):
2416 Added necessary strings for making this (deprecated)
2417 method work with the new role types.
2418 (init_role_table, role_table):
2419 Added definition of SPI_ROLE_APPLICATION.
2421 * libspi/spi-roletypes.h:
2422 Added SPI_ROLE_APPLICATION.
2424 * idl/Accessibility_Role.idl:
2425 Added ROLE_APPLICATION.
2427 * docs/reference/cspi/at-spi-cspi-decl.txt:
2428 Added SPI_ROLE_APPLICATION to docs.
2430 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
2432 * cspi/spi_accessible.c
2433 (cspi_init_role_table): Do not write beyond end of role_table.
2434 (Accessible_getRole): Use correct type for value returned by
2435 Accessibility_Accessible_getRole().
2437 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
2438 beyond end of role_table. (This fixes bug #98269)
2440 * libspi/application.c: Add include file spi-private.h for
2441 definition of spi_init_any_nil.
2443 2002-11-19 Bill Haneman <bill.haneman@sun.com>
2447 * libspi/spi-private.h:
2448 Added DGB() macro, and extern int _dbg declaration.
2450 * registryd/registry.c:
2451 (definitions) storage for _dbg.
2452 (spi_registry_init):
2453 Get environment variable "AT_SPI_DEBUG".
2454 (spi_registry_set_debug):
2455 New method, to initialize _dbg value.
2456 (spi_listener_struct_new, spi_registry_object_finalize):
2457 (notify_listeners_cb):
2458 Changed fprintfs to use DBG and g_warning().
2460 * registryd/deviceeventcontroller.c:
2461 (_deregister_keygrab, spi_controller_register_device_listener):
2462 Changed debug/warning messages to use DBG macro.
2464 * libspi/listener.c:
2465 (impl_notify_event):
2466 Changed warning messages to use DBG macro and g_warning().
2468 * atk-bridge/bridge.c:
2469 (atk_bridge_init, spi_atk_bridge_get_registry):
2470 (spi_atk_bridge_exit_func):
2471 (spi_atk_bridge_property_event_listener):
2472 Changed status, warning, and error messages to use
2473 g_warning, g_message, and DBG macros.
2476 Read the state of the AT_SPI_DEBUG environment variable
2477 and set a local '_dbg' accordingly.
2479 2002-11-19 Bill Haneman <bill.haneman@sun.com>
2481 FIXES for 98836, 98842, other bugs.
2484 Revved to 1.1.4, interface-age=4, binary-age=4.
2486 * registryd/deviceeventcontroller.c:
2488 Fixed crasher bug in last_mouse_pos initialization.
2490 * registryd/registry.c:
2491 (desktop_add_application, desktop_remove_application):
2492 Added (and then commented out) some support for
2493 object context marshalling. [TODO]
2495 * atk-bridge/bridge.c:
2496 (spi_atk_bridge_event_context_create):
2497 Commented out object context creation until it can
2498 be properly tested and debugged.
2500 * registryd/registry.c:
2501 (impl_registry_notify_event):
2502 Fixed crasher bug, we were calling
2503 spi_re_entrant_list_foreach () with an empty list.
2505 2002-11-18 Bill Haneman <bill.haneman@sun.com>
2507 * idl/Accessibility_Action.idl:
2508 * idl/Accessibility_Component.idl:
2509 * idl/Accessibility_Desktop.idl:
2510 * idl/Accessibility_Event.idl:
2511 * idl/Accessibility_Hyperlink.idl:
2512 * idl/Accessibility_Image.idl:
2513 * idl/Accessibility_Relation.idl:
2514 * idl/Accessibility_Selection.idl:
2515 * idl/Accessibility_State.idl:
2516 * idl/Accessibility_Value.idl:
2517 Updated unimplemented slot count to minimum of
2518 four for all interfaces, for ABI freeze.
2520 * idl/Accessibility_EditableText.idl:
2521 * idl/Accessibility_Text.idl:
2522 Updated unimplemented slot count to six
2525 * idl/Accessibility_Registry.idl:
2526 Updated unimplemented slot count to six
2527 (also for DeviceEventController),
2530 * idl/Accessibility_Table.idl:
2531 Updated unimplemented slot count to eight,
2534 * idl/Accessibility_Event.idl:
2535 Added CORBA_any "any_data" member to Event struct.
2537 * idl/Accessibility_Event.idl:
2538 Added CORBA_any "any_data" member to Event struct.
2540 * atk-bridge/bridge.c:
2542 atk_signal_text_changed, atk_signal_child_changed,
2543 signal ids queried from gtype system.
2544 (AtkBridgeEventContextType): New enum.
2545 (AtkBridgeEventContextData): New struct.
2546 (AtkBridgeEventContext): New struct.
2547 (atk_bridge_init_event_type_consts):
2548 New method, initializes type contants for comparison
2549 prior to emit_eventv.
2550 (atk_bridge_event_context_init): New method,
2551 initializes a CORBA_any from an AtkBridgeEventContext.
2552 (atk_bridge_focus_tracker): Call spi_init_any_nil to
2553 initialize the event.any_data struct.
2554 (spi_atk_bridge_event_context_create): New method,
2555 creates an AtkBridgeEventContext from signal/event info.
2556 (spi_atk_bridge_event_context_free): New method.
2557 (spi_atk_emit_eventv): Changed to take an
2558 AtkBridgeEventContext parameter. We now initialize
2559 the event.any_data member prior to notifying the
2560 Registry, via the AtkBridgeEventContext.
2561 (spi_atk_bridge_property_event_listener):
2562 (spi_atk_bridge_state_event_listener):
2563 Match emit_eventv signature.
2564 (spi_atk_bridge_object_event_listener):
2565 Match emit_eventv signature, and create an
2566 event context from the event details.
2567 Free the event context afterwards.
2568 (spi_atk_bridge_window_event_listener):
2569 Create an event context, pass it to the
2573 (AccessibleEvent_getContextString):
2574 (AccessibleEvent_getContextObject):
2575 New methods, allow query of AccessibleEvent objects
2576 for more context details (via the "any_data" member
2577 of the Event struct, above).
2580 Definitions for AccessibleEvent_getContextString
2581 and AccessibleEvent_getContextObject.
2583 * cspi/spi_listener.h:
2584 (InternalEvent): New struct.
2587 (AccessibleEvent_getContextString):
2588 (AccessibleEvent_getContextObject):
2589 Implementations of new methods, for obtaining
2590 additional context information from some event types.
2592 * cspi/spi_registry.c:
2593 (SPI_registerGlobalEventListener):
2594 Added mention of active-descendant-changed event in docs.
2596 * cspi/cspi-bonobo-listener.c:
2598 Marshal the any into the AccessibleEvent via
2601 * libspi/spi-private.h:
2602 #include <orbit/orbit.h>
2604 (spi_init_any_string):
2605 (spi_init_any_object):
2606 New convenience function declarations.
2610 (spi_init_any_string):
2611 (spi_init_any_object):
2612 New convenience function implementations.
2614 * registryd/deviceeventcontroller.c:
2615 (spi_poll_dec_mouse_moved):
2616 (spi_device_event_controller_forward_mous_event):
2617 Initialize any_data member of event.
2618 (spi_deregister_controller_device_listener):
2619 Fix incorrect param pass which was preventing deregistration.
2621 * registryd/registry.c:
2622 (desktop_add_application):
2623 (desktop_remove_application):
2624 Add object data to event's any_data before dispatch.
2626 Fix for error messages from GAIL.
2628 * test/event-listener-test.c:
2629 Test new ContextString and "any_data" API:
2630 (report_text_event): New method query and output context string.
2631 (main): register a new text listener with report_text_event
2634 2002-11-19 Darren Kenny <darren.kenny@sun.com>
2636 Fixes for bugs 98127 and 97914.
2637 * cspi/spi-roletypes.h:
2638 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
2640 * cspi/spi-statetypes.h:
2641 Added SPI_STATE_MANAGES_DESCENDANTS
2643 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
2644 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
2645 * cspi/spi_accessible.c:
2646 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
2647 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
2648 Accessibility_STATE_MANAGES_DESCENDANTS
2649 * libspi/accessible.c:
2650 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
2651 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
2652 As requested by Bill, I also cleaned up the alignment.
2653 * libspi/relation.c:
2654 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
2655 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
2656 * libspi/stateset.c:
2657 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
2658 Accessibility_STATE_MANAGES_DESCENDANTS
2659 * docs/reference/cspi/tmpl/spi_accessible.sgml:
2660 Document changes reflecting modifications to roles.
2661 * docs/reference/cspi/tmpl/spi_relation.sgml:
2662 Document changes reflecting modifications to relations.
2663 * docs/reference/cspi/tmpl/spi_stateset.sgml:
2664 Document changes reflecting modifications to states.
2666 2002-11-17 Bill Haneman <bill.haneman@sun.com>
2669 Revved to 1.1.3, interface-age=3, binary-age=3.
2670 Added REBUILD macro.
2673 Removed accessx-gui from the tests, since we have a nice
2674 keyboard accessibility capplet now :-)
2676 * test/keysynth-demo.c:
2677 (increment_scan): removed do-nothing default: case,
2680 * test/visual-bell.c:
2681 (main) : removed do-nothing default: case,
2684 * cspi/spi_action.c:
2685 (AccessibleAction_getKeyBinding_):
2686 Documented keybinding string format.
2690 (AccessibleText_getAttributes):
2691 Documented the text attribute string format.
2692 It's changed to use semicolon delimiters also,
2693 to prevent clashes with CSS attributes, but the old
2694 trick of looking for ", " strings will still work
2695 (as unreliably as ever). Fix for bug related to 97916.
2698 Include <cspi/bonobo/cspi-bonobo-listener.h>
2699 Fixes build warning.
2700 (SPI_freeAccessibleKeySet):
2701 (AccessibleKeystrokeListener_addCallback):
2702 (AccessibleKeystrokeListener_removeCallback):
2703 Modify to use AccessibleDeviceListener API internally,
2704 instead of AccessibleKeystrokeListener.
2706 * idl/Accessibility_Event.idl:
2707 Added two more empty slots to EventListener (for a total of four).
2709 * idl/Accessibility_Accessible.idl:
2710 Added four empty slots to Accessible interface.
2712 2002-11-15 Bill Haneman <bill.haneman@sun.com>
2714 * idl/Accessibility_Registry.idl:
2715 (KeyEventType, EventType):
2716 Marked KeyEventType as deprecated; it duplicates
2717 functionality of EventType, which has been extended to
2718 include Mouse-button events.
2719 (KeyEventTypeSeq): defined in terms of EventType.
2720 (registerDeviceEventListener, deregisterDeviceEventListener):
2721 New methods, for managing listeners to device events,
2722 which potentially may consume them.
2725 Added definition for AccessibleDeviceListener.
2727 * cspi/spi-listener.h:
2728 (enum AccessibleDeviceEventType):
2729 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
2730 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
2731 for backwards compat.
2732 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
2733 and typedef'd AccessibleKeystroke to it for back-compat.
2734 (AccessibleDeviceListenerCB):
2735 New function prototype typedef.
2738 (AccessibleDeviceEventMask): New typedef.
2739 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
2740 (AccessibleKeyMaskType):
2741 Set equivalent to AccessibleModifierMaskType for back-compat.
2742 (SPI_createAccessibleKeystrokeListener):
2743 (AccessibleKeystrokeListener_unref):
2744 Deprecated in favor of equivalent (better-named) new API below..
2745 keystroke listeners are like all device listeners.
2746 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
2747 New API names for old features :-).
2748 (AccessibleDeviceListener_addCallback):
2749 (AccessibleDeviceListener_removeCallback):
2750 (SPI_registerDeviceEventListener):
2751 (SPI_deregisterDeviceEventListener):
2755 (SPI_createAccessibleKeystrokeListener):
2756 Use new preferred API, cspi_device_listener_new() and
2757 cspi_device_listener_add_cb().
2758 (AccessibleKeystrokeListener_removeCallback):
2759 Use new preferred API, cspi_device_listener_remove_cb().
2760 (AccessibleKeystrokeListener_unref):
2761 Use new preferred API, cspi_device_listener_unref().
2762 (SPI_createAccessibleDeviceListener):
2763 (AccessibleDeviceListener_addCallback):
2764 (AccessibleDeviceListener_removeCallback):
2765 Implementation of new API.
2767 * cspi/spi_registry.c:
2768 (SPI_registerDeviceEventListener):
2769 (SPI_deregisterDeviceEventListener):
2770 Implementation of new API. Fixed memory leak and removed need to
2771 allocate EventTypeSeq (thanks Michael for catching this).
2772 Squashed a wayward CORBA_exception_free that shouldn't get called.
2774 * cspi/bonobo/cspi-bonobo-listener.c:
2776 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
2777 (cspi_key_event): renamed to cspi_device_event().
2778 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
2779 Extended to handle mouse button events as well as key events.
2780 (CSpiKeystrokeListener):
2781 Class superceded by CSpiDeviceListener.
2782 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
2783 These internal APIs changed to "*device_listener" from "*keystroke_listener".
2785 * cspi/bonobo/cspi-bonobo-listener.h:
2786 (CSpiKeystrokeListener):
2787 Class superceded by CSpiDeviceListener.
2788 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
2789 These internal APIs changed to "*device_listener" from "*keystroke_listener".
2791 * libspi/Makefile.am:
2792 Replaced keystrokelistener.h and keystrokelistener.c
2793 with devicelistener.h and devicelistener.c; keystrokelisener.h
2794 stub retained for back-compat.
2796 * libspi/keystrokelistener.c:
2800 Replaced inclusion of keystrokelistener.h with devicelistener.h.
2802 * registryd/deviceeventcontroller.c:
2803 (DEControllerListener): Added Accessibility_EventTypeSeq member.
2804 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
2805 (DEControllerPrivateData): Added xkb settings data.
2806 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
2807 button release events (which can't be captured via XGrabButton).
2808 Don't dispatch via the 'normal' event mechanism if the device event was
2810 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
2811 Handle the typeseq data in its new location (see above).
2812 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
2813 New methods, for "generic" device listeners.
2814 (spi_controller_register_device_listener):
2815 Now handle mouse event listeners as well as key listeners.
2816 (spi_controller_notify_mouselisteners):
2817 New internal method.
2818 (spi_device_event_controller_forward_mouse_event):
2819 Now we notify mouse device listeners as well as generating the
2820 non-consumable "mouse:" events.
2822 We must check and restore the XKB
2823 modifier map if we consume the event, since the act of triggering
2824 a mouse event will normally reset the XKB latch. This is required for
2826 (spi_controller_register_with_devices):
2827 Load the XKB settings when registering, and register for XKB
2828 state notify events.
2829 (spi_key_eventtype_seq_contains_event):
2830 Renamed spi_eventtype_seq_contains_event, since it's used
2831 internally for all device event types now.
2832 (spi_key_event_matches_listener):
2833 Uses spi_eventtype_seq_contains_event now.
2834 (spi_device_event_controller_object_finalize):
2835 Free the private data and the XkbKeyboard struct.
2836 (impl_register_device_listener, impl_deregister_device_listener):
2837 Implementation of new IDL.
2838 (spi_deregister_controller_device_listener):
2839 New internal method.
2840 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
2841 More efficient implementation, we don't have to create a new
2842 XkbControls structure every time we query.
2843 (spi_device_event_controller_class_init):
2844 Initialize the epv entries for the new IDL. Assign the
2845 "spi-dec-private" quark.
2846 (spi_device_event_controller_init):
2847 Initialize the private data.
2848 (spi_device_event_controller_forward_key_event):
2849 Removed a bogus CORBA_exception_free() call.
2851 * registryd/deviceeventcontroller.h:
2852 Replaced inclusion of keystrokelistener.h with
2855 * test/event-listener-test.c:
2856 (report_mouse_event):
2859 Added mouse-event device listener.
2861 * test/test-simple.c:
2862 (create_test_window):
2863 Fixed regression (we were instantiating a GtkRange,
2864 which is now an abstract class). Also fixed to match
2865 existing AtkRole names, this seems to have changed in ATK
2866 awhile ago; too late now I think, and the new
2867 mechanism is at least elegant and consistent with the
2868 glib enum "nick" APIs.
2870 2002-11-15 Darren Kenny <darren.kenny@sun.com>
2872 * idl/Accessibility_Relation.idl:
2873 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
2874 RELATION_EMBEDS,RELATION_EMBEDDED_BY
2875 * idl/Accessibility_Role.idl:
2876 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
2877 * idl/Accessibility_State.idl:
2878 add STATE_MANAGES_DESCENDANTS
2879 * test/event-listener-test.c:
2880 Added a listener for active-descendant events.
2882 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
2884 * atk-bridge/bridge.c
2885 (atk_bridge_init): If application is Bonobo component wait until top
2886 level is added before registering
2887 (spi_atk_bridge_do_registration): New function which contains code,
2888 formerly in atk_bridge_init, to do application registration.
2889 (spi_atk_bridge_toplevel_added): Signal called when top level
2890 added to Bonobo component
2892 This fixes bug #83134.
2894 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
2896 * registryd/deviceeventcontroller.c
2897 Fixed compilation error caused by calling gettimeofday()
2900 2002-10-18 Bill Haneman <bill.haneman@sun.com>
2905 Added template for HAVE_XKB.
2908 Changes to check for XKB, and to set the HAVE_XKB #define if it
2911 * libspi/listener.c:
2912 ()impl_notify_event): Make failure to get event source name
2915 * registryd/deviceeventcontroller.c:
2916 (#include): include X11/XKBlib.h.
2917 (DEControllerPrivateData) : New struct.
2918 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
2920 (dec_synth_keycode_press) (dec_synth_keycode_release):
2921 New methods; split the key synthesis code into these methods.
2922 They check XKB settings before determining the "time" values to
2923 pass to Xtest; this fixes bug #95828.
2924 (impl_generate_keyboard_event): Changed to use methods above,
2925 instead of callng Xtest directly.
2926 (spi_device_event_controller_init): Initialize new privae struct s
2928 (spi_device_event_controllr_object_finalize):
2929 Free the (new) private data.
2931 * registryd/deviceeventcontroller.h:
2932 Add new gpointer to end of struct data.
2934 2002-10-16 Bill Haneman <bill.haneman@sun.com>
2937 Incremented revision to 1.1.2, SONAME is still '.so', library
2938 extensions are ".so.0.0.2".
2940 * registryd/deviceeventcontroller.c:
2941 FIXES FOR #93592 and #95940.
2942 (statics): renamed mouse_button_state to mouse_mask_state,
2943 added key_modifier_mask.
2944 (spi_dec_poll_mouse_moved):
2945 Added key modifier checks, and emit "keyboard:modifiers"
2946 events when the key modifiers currently in use change.
2947 Also generate "mouse:abs" events periodically, even if the mouse
2948 is stationary (should we?).
2949 Alternatively we could generate "mouse:abs" events for either all
2950 mouse movements, or every 'nth' mouse movement, or at the
2951 beginning and end of every "active" mouse period.
2953 * test/event-listener-test.c:
2954 (main): Added listener for "keyboard:modifiers" events.
2956 2002-10-15 Bill Haneman <bill.haneman@sun.com>
2958 * libspi/keymasks.h:
2959 Added key mask #defines for mouse buttons; e.g.
2960 SPI_KEYMASK_BUTTON1, etc.
2963 Incremented dependency on ATK to version 1.1.0. (This dependency
2964 is probably premature but will soon be real enough).
2966 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
2968 * libspi/hyperlink.[ch]
2969 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
2970 (get_hyperlink_from_servant): Check object is AtkHyperlink not
2973 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
2978 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
2980 * registryd/deviceeventcontroller.c
2981 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
2982 events to be ignored.
2983 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
2984 keyboard_mode so that XAllowEvents() can be called.
2988 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
2990 * cspi/spi-accessible.c: Correct names of roles returned by
2991 AccessibleRole_getName(). Fixes bug #95055.
2993 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
2995 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
2998 * registryd/registry.c
2999 (desktop_remove_application: Write diagnostic message to stderr for
3002 (impl_accessibility_registry_deregister_global_event_listener):
3003 Correct size of lists array. This addresses bug #94555).
3005 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
3007 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
3010 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
3012 * registryd/Makefile: Add CLEANFILES so that .server file is removed
3015 * registryd/registry.c (impl_registry_notify_event): Remove
3016 unnecessary call to parser_event_type().
3018 * docs/reference/cspi/tmpl/spi_component.sgml:
3019 Add reference to SPI_LAYER_WINDOW.
3021 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
3023 * registryd/registry.c
3024 (desktop_add_application): Remove leak.
3025 (desktop_remove_application): Remove leak.
3026 (parser_event_type): Remove leak.
3028 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
3030 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
3031 bogus call to CORBA_string_dup(). Also removed unnecessary
3032 g_string_dup/g_free calls.
3034 2002-09-13 Bill Haneman <bill.haneman@sun.com>
3036 * registryd/deviceeventcontroller.c:
3037 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
3039 * test/event-listener-test.c:
3040 main: commented out three redundant listeners, to reduce output
3041 noise. (They still are potentially useful for testing).
3044 2002-09-13 Michael Meeks <michael@ximian.com>
3046 * Update all the copyrights to include Ximian.
3048 2002-09-06 Mark McLoughlin <mark@skynet.ie>
3050 * cspi/spi.h: add SPI_LAYER_WINDOW.
3052 * cspi/spi_component.c: (AccessibleComponent_getLayer):
3053 add Accessibility_LAYER_WINDOW case.
3055 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
3057 * libspi/component.c: (impl_accessibility_component_get_layer):
3058 add ATK_LAYER_WINDOW case.
3060 2002-08-28 Bill Haneman <bill.haneman@sun.com>
3062 * configure.in: incremented micro version.
3064 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
3066 2002-08-20 Bill Haneman <bill.haneman@sun.com>
3069 Clarified and reworded our commit policy.
3072 Started an API "todo" addition list for 2.2.
3075 (impl_getSelection):
3076 Free char pointer from atk_text_get_selection, which was being leaked.
3078 2002-08-19 Bill Haneman <bill.haneman@sun.com>
3081 Small revision to author acknowledgement.
3083 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
3085 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
3086 If signal has detail add it to the type of the event.
3089 2002-08-12 Michael Meeks <michael@ximian.com>
3091 * test/test-simple.c (global_listener_cb): bin bogosity.
3092 (test_keylisteners): disable, still doesn't work reliably,
3093 certainly not on my system anyway.
3095 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
3096 don't leak a reference on the DEC. This round-trip
3097 fetching of the DEC per keystroke sucks, it should be
3100 * cspi/spi-private.h,
3101 * cspi/cspi-lowlevel.h,
3102 * cspi/bonobo/cspi-bonobo-listener.[ch],
3103 * cspi/bonobo/cspi-bonobo.c: get the copyright
3104 notices better - there is still a large amount of
3105 work in at-spi falsely attributed solely to Sun.
3107 * cspi/spi_main.c (cspi_object_ref): kill bogus
3108 hash lookup, just increment the ref.
3109 (SPI_freeString): make explicit the fact that we
3110 handle NULL strings just fine.
3111 (report_leaked_ref): obey coding standards.
3112 (cspi_object_hash, cspi_object_equal): kill retval.
3113 (cspi_object_release): only release if not on loan.
3114 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
3115 (cspi_object_borrow, cspi_object_return): impl.
3117 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
3118 use cspi_object_borrow / return.
3120 2002-08-12 Darren Kenny <darren.kenny@sun.com>
3122 * cspi/bonobo/cspi-bonobo-listener.c:
3124 Don't call cspi_oject_new() because this is creating a new Accessible
3125 every single time that an event is fired. This causes ATs like at-poke
3126 to nolonger recognise the source of the event and thus ignore it.
3127 Re-use the object from the cache, ref it and then unref it after the
3128 listeners have been called.
3130 2002-08-06 Darren Kenny <darren.kenny@sun.com>
3132 * test/event-listener-test.c:
3133 Added command-line options to disable mouse events (m) and
3136 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
3138 * configure.in: Update required versions of ATK, GTK+ and GAIL
3140 * cspi-1.0.pc.in: Add dependency for X include files
3143 * cspi/bonobo/Makefile.am:
3144 Add $(X_CFLAGS) so that X include files
3145 are picked up even if not in standard place (bug #71686)
3147 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3149 * registryd/deviceeventcontroller.c: fix for 84261
3150 (spi_dec_mouse_moved):
3151 Added test of mouse button mask, so that we can detect mouse
3152 button release. Unfortunately we can't otherwise detect mouse
3153 button release events without consuming the mouse press event,
3154 because of the way XGrabButton works. This means that our mouse
3155 release events have a latency dependent on the polling period
3156 while the mouse button is down. At least in this case we only
3157 have to poll while the button is down, and not at other times.
3158 If the button masks don't match with what the last press event
3159 reported, we report the appropriate button release event.
3160 (spi_dec_ungrab_mouse):
3161 New method (not yet called).
3162 (spi_device_event_controller_forward_mouse_event):
3163 New method, sends mouse press event from GdkFilter.
3164 (spi_dec_init_mouse_listener):
3165 Added code to call XGrabButton, redirecting mouse button events to
3166 the root window and our Gdk event loop.
3168 Added code to filter mouse button events, and reordered.
3170 * test/event-listener-test.c:
3172 Added registration for mouse events of type "mouse:button".
3174 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3176 * registryd/deviceeventcontroller.c: partial fix for 84261
3177 (spi_dec_poll_mouse_idle):
3178 New method, a timeout which checks to see if the mouse
3180 (spi_dec_poll_mouse_moving):
3181 A timeout to be called when mouse motion is underway.
3182 (spi_dec_poll_mouse_moved):
3183 A method which fires an event if the mouse has moved, and reports
3184 whether or not it did so.
3185 (spi_dec_init_mouse_listener):
3186 A method which sets up the timeouts above.
3187 (spi_device_event_controller_new):
3188 Now calls spi_dec_init_mouse_listener.
3190 * registryd/registry.c:
3191 (spi_registry_init):
3192 Now we initialize the device event controller when the registry is
3193 initialized, instead of waiting until a client has requested a key
3194 event notification; this is because we need the event controller
3195 for mouse events, but the mouse event registration API is a
3196 "registry" call and doesn't explicitly call the
3197 deviceeventcontroller.
3198 We now report mouse motion events with a 100 ms idle latency and
3199 a 20 ms granularity when motion is in progress.
3201 * test/event-listener-test.c:
3203 We now register the "detail listener" for events of type
3204 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
3205 delivered only for the first mouse event received, and thereafter
3206 "mouse:abs" events are delivered.)
3208 * cspi/spi_registry.c:
3209 DOCS: Documented the above mouse event typestrings.
3211 2002-06-21 Bill Haneman <bill.haneman@sun.com>
3213 Happy Summer Solstice...
3215 * registryd/deviceeventcontroller.c: [fix for bug 84100]
3216 (spi_controller_notify_keylisteners):
3217 Changes to remove a listener from the listener list, freeing its
3218 open keygrabs, if a notification to that listener fails. This
3219 means that although a dead listener can continue to hold a passive
3220 keygrab, a maximum of one dispatch to such a listener can fail
3221 before the listener is removed from the list, thus the keygrab
3222 will be released on the next occurrence.
3223 As part of this fix:
3224 (spi_notify_keylisteners):
3225 Renamed to spi_controller_notify_keylisteners, as the controller
3226 instance must now be passed as an argument.
3227 The copied 'notify' GList is now a list of DEControllerKeyListener
3228 objects, since we need more than just the CORBA reference if a
3229 notify fails and we need to deregister the listener.
3230 (impl_notify_listeners_sync):
3231 (impl_notify_listeners_async):
3232 (spi_device_event_controller_forward_key_event):
3233 Modify use of notify_keylisteners in accordance with above
3235 (spi_deregister_controller_key_listener):
3236 New method introduced by refactoring, from
3237 impl_deregister_keystroke_listener.
3238 (impl_deregister_keystroke_listener):
3239 Call spi_deregister_controller_key_listener.
3240 (spi_key_listener_clone):
3241 New method to copy a key listner without doing a 'ref' on the
3242 remote object instance; used to create a notifier list.
3243 (spi_key_listener_data_free):
3244 New method, frees data without unreffing the source.
3246 (spi_key_listener_clone_free): new method.
3247 (spi_key_listener_free):
3248 refactored to call spi_key_listener_data_free.
3250 2002-06-20 Bill Haneman <bill.haneman@sun.com>
3252 * registryd/registry.c: [fix for bug 86048]
3253 (notify_listeners_cb):
3254 Clear CORBA system exceptions which occur when notifying
3255 listeners, before returning to the source of the original event,
3256 since the event source doesn't care if the relayed notify failed.
3257 In other words, don't complain to the atk-bridge if the registry
3258 could not notify all its listeners, that's no fault of the
3259 application and thus should not appear to be an error from the
3260 application's perspective.
3262 * cspi/spi_main.c: [fix for bug 85980]
3264 Replaced use of bonobo_object_dup_ref with call to the wrapper
3265 method, csou_dup_ref (); this silences a compiler warning and
3266 provided more portability.
3268 Ping the registry before return, and restart if necessary.
3270 * cspi/bonobo/cspi-bonobo.c:
3272 New internal method.
3274 Fixed this method to return an object reference, as it should have
3277 * cspi/cspi-lowlevel.h:
3278 Added internal definition for cspi_ping() and fixed
3279 return type of cspi_dup_ref().
3282 2002-06-19 Bill Haneman <bill.haneman@sun.com>
3284 * atk-bridge/bridge.c: [fix for bug 85305]
3285 (spi_atk_bridge_register_application):
3286 New method where the initial application registry calls have been
3287 moved; it allows an application to re-register in response to
3288 certain error conditions (such as a registry restart, see below).
3290 Moved some initialization code to the method
3291 spi_atk_bridge_get_registry, below.
3292 (spi_atk_bridge_get_registry):
3293 New, private accessor function for the Accessibility_Registry
3294 instance. If the registry has not been started before, or has
3295 died (as detected by failure of a CORBA exception), it is
3296 restarted before return, and spi_atk_bridge_register_application
3297 is called again to register with the new bridge instance.
3298 (spi_atk_emit_eventv):
3299 Set registry_died on error; use spi_atk_bridge_get_registry () to
3300 access the registry.
3302 * registryd/registry.c:
3303 (impl_accessibility_registry_register_global_event_listener):
3304 Set listener's event_type_quark to etype.minor instead of
3305 etype.major (fix for bug 84856).
3307 * test/event-listener-test.c:
3308 (report_detail_event):
3309 Change the output string so that user/tester can tell that the
3310 'detail listener' was called instead of the 'generic listener'.
3312 2002-06-18 Bill Haneman <bill.haneman@sun.com>
3314 Fixes for bugs 84900, 84908, 84897, 84898.
3319 Revved version to 1.1.0
3320 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
3321 version is going to HEAD which will be used for gnome-2-0-1 and later.)
3323 * idl/Accessibility_Registry.idl:
3324 (EventListener::notifyEvent):
3325 Removed 'oneway' directive after extensive consulation with
3326 ORBit2 team and others. This means also that unref() of the event
3327 source can and should be done synchronously after emission, rather
3328 than remotely in the client, after servicing the notify call on
3331 NOTE: This change speeds up listener performance considerably, but
3332 introduces new latency on the application side. We may want to
3333 add an event queue to the atk-bridge.
3335 * atk-bridge/bridge.c:
3336 (spi_atk_bridge_focus_tracker):
3337 Do a local unref() on the event source after emission.
3339 * registryd/registry.c:
3340 (desktop_remove_application):
3341 Do an unref() on the event source after emission.
3342 (desktop_add_application):
3343 Do an unref() on the event source after emission.
3344 (notify_listeners_cb):
3345 When relaying an event, don't automatically add the event source
3346 to the local object cache, just CORBA_dup it instead. Likewise,
3347 if this method reenters, release the ref rather than calling
3349 (impl_registry_notify_event):
3350 No longer call remote unref() on the event source after dispatch.
3352 * libspi/eventlistener.c:
3353 (impl_accessible_event_notify_event):
3354 Removed remote unref ()
3356 * cspi/bonobo/cspi-bonobo-listener.c:
3358 We now call cspi_object_new() instead of cspi_object_add() on
3359 receipt of an event; thus we only have an implicit object ref
3360 while the cspi_event method is being executed. If we need to keep
3361 a reference to the object, the listener must call ref() on the
3362 object. Thus also we don't need to call cspi_object_unref() after
3363 invoking the listener callbacks in this method.
3367 New internal API for creating a new cspi object, without adding it
3368 to the object cache.
3370 Now uses cspi_object_new() to create the cspi object instance.
3372 Now checks to see if the object is in the internal object cache,
3373 and adds it if necessary before incrementing its refcount (note
3374 that new objects are added with a refcount of 1).
3375 (report_leaked_ref):
3376 New method which gives some information on leaked object instances
3377 if leak detection is turned on.
3379 * test/event-listener-test.c:
3380 (timing_test_event):
3381 New method, used for testing event delivery timing for special
3382 events of type "object:test". It reports elapsed time and
3383 events/sec every 500 events.
3385 Added a new listener, 'test listener', to check timing of event
3386 receipt as noted above.
3388 Added some timing output here also, reports elapsed time every 100
3391 * test/stress-test.c:
3392 Emit events of type "object:test", for use with "event-listener-test".
3394 * test/test-simple.c:
3395 (global_listener_cb):
3396 Call Accessible_ref() on the event source before calling
3397 validate_accessible, since the validation process does pointer
3398 comparisons on the event source, meaning that the event source
3399 needs to be added to the local object cache first. Any use of
3400 such pointer comparisons between Accessible objects requires that
3401 the caller hold an explicit reference to those objects.
3402 We also must therefore call Accessible_unref() when leaving this method.
3404 2002-06-13 Bill Haneman <bill.haneman@sun.com>
3406 * registryd/deviceeventcontroller.c:
3407 (spi_controller_update_key_grabs):
3408 Fix for #84735, subsequent keygrab listeners not informed of
3409 registration failure.
3412 (spi_base_construct):
3413 Add an assertion on construct, to make sure the GObject passed in
3414 is really a GObject.
3416 Explicitly initialize object->gobj pointer to NULL;
3418 * cspi/bonobo/cspi-bonobo-listener.c:
3419 (cspi_object_add_ref):
3420 New method, can specify whether to dup-ref a bonobo object passed
3421 in if it's newly added to the object cache.
3423 Now calls cspi_object_add_ref with second param of "FALSE". This
3424 prevents us from doing a pointless dup-ref followed by
3425 release-unref for all those cases where the object is already in
3426 our object cache (fix for #85205).
3428 * atk-bridge/bridge.c:
3429 (spi_atk_bridge_idle_init):
3430 Removed this method, we don't need to initialize in an idle
3433 Changed to call spi_atk_register_event_listeners directly, not via an
3434 idle handler. (fix for #81139)
3435 (gnome_accessibility_module_shutdown):
3436 Removed conditional around deregistration of listeners, since we
3437 don't use the idle handler and thus have always registered when
3439 (spi_init_keystroke_from_atk_key_event):
3440 Changed references to Accessibility_KEY_PRESSED to
3441 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
3443 2002-06-12 Bill Haneman <bill.haneman@sun.com>
3445 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
3450 * test/stress-test.c:
3453 (may have been an incomplete commit yesterday?)
3455 2002-06-12 Bill Haneman <bill.haneman@sun.com>
3458 Added target for new stress-test.
3460 * test/stress-test.c:
3461 New test, sends 1000 focus notifies in quick succession.
3463 * test/key-listener-test.c:
3464 Now we report whether a keylistener registration
3465 request succeeded or failed.
3467 * test/event-listener-test.c:
3468 Uncommented some listeners which are now implemented.
3471 2002-06-06 Bill Haneman <bill.haneman@sun.com>
3473 * registryd/deviceeventcontroller.c:
3474 (spi_controller_update_key_grabs):
3475 Fix for #82509, lack of failure notification when
3476 ALL_WINDOWS keygrabs fail due to XGrabKey
3477 failure: we synchronize the server when
3478 registering a passive grab, to make sure we get the
3479 error message before the call returns.
3481 2002-06-03 Bill Haneman <bill.haneman@sun.com>
3483 * test/test-simple.c:
3485 Removed #ifdef KEY_IMPL_WORKS guards.
3486 (test_keylisteners):
3487 Removed #ifdef KEY_IMPL_WORKS guards.
3488 Fixed bug which was causing a hang waiting for a
3489 "press" event (which was already overwritten by a "release"
3490 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
3492 Added code to set globals 'key_press_received' and
3493 'key_release_received'.
3496 Added section "1.1 API Proposed Additions" which
3497 lists API additions desired for at-spi-1.1 (only one so far).
3498 Updated TODO list a little.
3500 2002-06-02 Bill Haneman <bill.haneman@sun.com>
3502 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
3505 * configure.in: Revved to 1.0.0.
3507 * idl/Accessibility_Registry.idl:
3508 (registerKeystrokeListener):
3509 Added boolean return value.
3511 * registryd/registry.c:
3512 (notify_listeners_cb): Minor fix to debug output.
3514 * registryd/Accessibility_Registry.server.in.in:
3515 Revved version number in OAFIID to 1.0.
3517 * registryd/registryd.c:
3519 Use new OAFIID version.
3521 * cspi/bonobo/cspi-bonobo.c:
3523 Use new OAFIID version.
3529 * atk-bridge/bridge.c:
3531 Use new OAFIID version.
3533 * registryd/deviceeventcontroller.c:
3534 (impl_register_keystroke_listener):
3535 Added CORBA_boolean return value.
3536 (spi_controller_register_device_listener):
3537 Added gboolean return value.
3538 (spi_controller_register_global_keygrabs):
3539 Added gboolean return value.
3540 (spi_key_set_contains_key):
3541 Added implementation for many more control keys,
3542 for instance F1-F12, arrow keys, End, Home, Page_Up,
3544 [TODO: some still not implemented].
3546 * text/screen-review-test.c:
3547 (text_chunk_pad_string):
3548 New function: it provides mapping between coordinate
3549 positions of text chunks and character positions in the
3550 screen-review-line output string.
3551 (text_chunk_to_string):
3552 New function, calls text_chunk_pad_string with various
3553 pad/delimiter characters. Pushbuttons are delimited with
3554 square brackets, Frames with vertical 'pipe' lines, and
3555 other text with double quotes.
3556 (text_chunk_list_to_string):
3557 Calls new function text_chunk_to_string.
3558 (toplevel_composite):
3559 New function to composite layers CANVAS through
3560 POPUP in each toplevel (other layers are composited
3561 across toplevels, i.e. BACKGROUND and OVERLAY).
3562 (review_buffer_composite):
3563 Revise to use new methods.
3569 2002-05-31 Laszlo Peter <laca@sun.com>
3571 * configure.in: add the Xtst libdir to the runpath on Solaris,
3572 since it's not in the default library search path.
3574 2002-05-29 jacob berkman <jacob@ximian.com>
3576 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
3578 2002-05-29 Bill Haneman <bill.haneman@sun.com>
3580 * test/screen-review-test.c:
3581 (text_chunk_pad_string):
3582 Added method, which pads the string according to the
3583 text bounds of the chunk. It also takes a 3-character
3584 string as a param which indicates the characters to be
3585 used for start, padding, and end delimitation of the chunk.
3586 (text_chunk_to_string):
3587 Changed to use text_chunk_pad_string.
3589 * configure.in: Fixed bug in AC_OUTPUT that was
3590 causing path substitution in Accessibility_Registry.server
3593 2002-05-23 Bill Haneman <bill.haneman@sun.com>
3595 * text/screen-review-test.c:
3596 (guess_string_clip):
3597 New method which attempts a best-guess at clipping
3598 text from components (like Java labels) which don't
3599 actually implement AccessibleText. This inaccurate
3600 clip is based on the assumption that the label is
3601 justified left-and-right, and monospaced.
3602 (text_chunk_get_clipped_string):
3603 We now call guess_string_clip() for text-containing
3604 components that don't implement AccessibleText.
3606 * test/screen-review-test.c:
3607 (review_buffer_get_text_chunk):
3608 We now pull "name" from labels if they do not implement
3609 AccessibleText (i.e. for Java labels).
3610 (get_screen_review_line_at):
3611 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
3614 Replaceded AC_OUTPUT target
3615 registryd/Accessibility_Registry.server with
3616 registryd/Accessibility_Registry.server.in.
3618 * registryd/Accessibility_Registry.server.in:
3619 Removed (this is now a Makefile target).
3621 * registryd/Accessibility_Registry.server.in.in:
3622 Added (source for target above). We now use $(libexecdir) as
3623 prefix for the executable at-spi-registryd.
3625 * registry/Makefile.am:
3626 Now install at-spi-registryd into $(libexecdir), and build .server
3627 file with path (see above).
3629 2002-05-22 Bill Haneman <bill.haneman@sun.com>
3631 * test/screen-review-test.c:
3632 (text_chunk_get_clipped_string):
3633 We now check to see if words fall within clip bounds
3634 before resorting to character-by-character clip bounds testing.
3636 * TODO: Added a section for "2.2 Proposed API Additions".
3638 2002-05-21 Bill Haneman <bill.haneman@sun.com>
3640 * test/screen-review-test.c:
3642 Added a screen review benchmarking and test program to test
3645 * cspi/spi_accessible.c:
3647 Made some of the debug strings passed to cspi_check_ev a
3648 little more specific.
3650 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
3652 * test/screen-review-test.c: Fix crashes in debug statements
3654 2002-05-20 Bill Haneman <bill.haneman@sun.com>
3656 * test/screen-review-test.c: Added this file.
3658 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
3660 * atk-bridge/bridge.c: changed "object:state-change" to
3661 "object:state-changed" to match docs.
3663 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
3665 * atk-bridge/bridge.c: Hooked up state-change event details.
3667 2002-05-11 Bill Haneman <bill.haneman@sun.com>
3669 * registryd/registry.c:
3670 Fixed quarking bug in event string parsing; now events with
3671 detail parameters get matched correctly to listeners.
3674 * util/idl/Magnifier.idl: remove.
3676 * util/*.[ch]: Remove.
3677 Magnification utilities and IDL are now in module gnome-mag.
3679 2002-05-10 Bill Haneman <bill.haneman@sun.com>
3681 * registryd/deviceeventcontroller.c:
3682 Fixed bug in grab key conversion which was causing keycode grabs
3683 to be converted to AnyKey grabs.
3686 updated NEWS file to reflect recent spin-off of gnome-mag.
3688 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
3690 * cspi/spi_accessible.c: Added exception checks. Fixed completely
3691 busted AccessibleStateSet_compare. Removed redundant casts.
3693 * cspi/spi-action.c: Removed redundant casts.
3695 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
3697 * cspi/spi_component.c: Fixed typos and casting error.
3699 * cspi/spi_editabletext.c: Removed redundant casts.
3701 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
3703 * cspi/spi_hypertext.c: Eliminated redundant casts.
3705 * cspi/spi_image.c: Eliminated redundant casts.
3707 * cspi/spi_registry.c: Eliminated redundant casts.
3708 SPI_deregisterGlobalEventListenerAll () removed retval variable.
3709 * cspi/spi_selection.c: Removed redundant casts.
3710 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
3711 handling. Screen geometry and text offsets were being returned as 0
3712 on error which is technically valid-- changed these to return -1.
3713 Added marshaller for text boundary types to fix bug with boundary
3714 types being passed incorrectly to atk.
3716 2002-05-09 Bill Haneman <bill.haneman@sun.com>
3719 * cspi/spi_registry.c:
3720 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
3721 which was uncovered by the recent key changes.
3723 2002-05-09 Bill Haneman <bill.haneman@sun.com>
3725 * test/event-listener-test.c:
3727 Added new test, "event-listener-test";
3728 this code does two things; it benchmarks traversal time
3729 for the accessible hierarchy for the first running accessible
3730 app, and it connects listeners for all supported event types.
3731 It is thus useful as an example event listener and for
3732 diagnostics/debugging of event generation.
3734 2002-05-08 Bill Haneman <bill.haneman@sun.com>
3737 Removed unnecessary dependency on libutil.
3740 Revved micro version: 0.13.1
3742 2002-05-08 Bill Haneman <bill.haneman@sun.com>
3745 Removed util/Makefile from targets.
3748 Removed util subdir from SUBDIRS (temporarily,
3749 pending removal of magnifier-only code
3753 #ifdef-ed out magnifier dependencies, since
3754 magnifier IDL, headers, and binary now live in
3755 module gnome-mag and we don't want at-spi to depend
3756 on gnome-mag. A magnifier demo which can run alongside
3757 simple-at is forthcoming in the gnome-mag module.
3759 NOTE: Split magnifier binary, IDL, and magnification
3760 activation code from at-spi into module gnome-mag.
3762 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
3764 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
3765 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
3767 2002-05-03 Bill Haneman <bill.haneman@sun.com>
3770 Revved to version 0.13.0
3772 * idl/Accessibility_Registry.idl:
3773 Changed definition of KeySet from sequence of longs to sequence of
3774 KeyDefinitions, and added KeyDefinition struct.
3775 Required for fix to bug 80616.
3777 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
3778 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
3779 to use new definition (see above).
3781 * registryd/deviceeventcontroller.c: handle_keygrab(),
3782 spi_keyset_contains_key():
3783 Changed to make use of new struct; this allows matching based on
3784 string key-name, for instance "Tab". This also allows matching of
3785 composed characters, non-alphanumeric characters in a way that
3786 doesn't involve dependencies on X keysym codes directly, etc.
3788 * test/key-listener-test.c:
3789 Added test for Alt-Tab key using "string" specification of keyset,
3790 and modified one of the tests to use a keycode-based keyset.
3791 Thus this test both tests and demonstrates the creation and use of
3792 keysets of three forms: specified via keycode array,
3793 keysym array, and string array. (The string case only contains a
3794 single string, i.e. a string array of length 1).
3797 Turned on PRINT_TREE option by default. Also fixed a
3798 string-freeing bug in the PRINT_TREE code.
3799 Added a listener to window:minimize events.
3801 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
3803 * atk-bridge/bridge.c:
3804 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
3805 for window:activate and window:deactiveate
3806 (atk_bridge_property_event_listener atk_bridge_signal_listener
3807 atk_bridge_window_event_listener) Tidy debug code
3809 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
3811 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
3812 Fixed handling for NULL return value from ATK.
3814 * libspi/action.c libspi/component.c libspi/editabletext.
3815 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
3816 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
3817 Removed redundant casts.
3819 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
3820 Fixed off by one bug.
3822 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
3823 function not present in idl)
3825 2002-05-02 jacob berkman <jacob@ximian.com>
3827 * atk-bridge/Makefile.am: make atk-bridge a real module
3829 2002-04-26 Radek Doulik <rodo@ximian.com>
3831 * libspi/stateset.c (spi_init_state_type_tables): fix size of
3832 atk_state_types table
3834 2002-04-22 jacob berkman <jacob@ximian.com>
3837 * libspi/Makefile.am: add deps on the built files to help
3838 automake, and don't version the ORBit typelib
3840 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
3842 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
3843 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
3844 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
3845 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
3846 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
3847 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
3848 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
3849 libspi/accessible.h libspi/accessible.h libspi/base.h
3850 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
3851 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
3852 libspi/relation.h libspi/remoteobject.h libspi/selection.h
3853 libspi/spi-private.h libspi/statetset.h libspi/table.h
3854 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
3855 util/mag_client.h util/mag_control.c util/mag_image.c
3856 util/mag_image.h util/magnifier.c util/magnifier.h:
3857 Add missing file headers; standardize existing ones
3859 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
3861 * atk-bridge/bridge.c: Added window event support.
3863 2002-04-18 Michael Meeks <michael@ximian.com>
3865 * libspi/relation.c (impl_getNTargets): impl.
3866 (impl_getTarget): impl.
3868 * libspi/Makefile.am: fix stateset install.
3870 2002-04-17 Bill Haneman <bill.haneman@sun.com>
3873 Started putting useful info in this file.
3875 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
3877 * atk-bridge/bridge.c:
3878 Propagate state-changed notifications to ATs
3880 * cspi/spi_registry.c: update docs to reflect actual behavior of
3881 state-change events.
3883 2002-04-17 Bill Haneman <bill.haneman@sun.com>
3886 Incremented version to 0.12.1
3888 * util/mag_client.h:
3889 Add missing declaration for magnifier_exit,
3890 used by mag_control.c - Forte compiler didn't like
3891 the implicit redeclaration of the function :-(
3894 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3897 Revved version to 0.12 due to API change (see below).
3899 * cspi/spi-roletypes.h:
3900 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
3901 definition from the inline docs, and added docs
3902 for SPI_ROLE_LAST_DEFINED.
3905 * cspi/spi_streamablecontent.c:
3906 Added missing seek_type parameter to
3907 (so far unused) method,
3908 AccessibleStreamableContent_seek().
3909 [ RT approval JodyG. ]
3912 Fixed docs for SPI_createAccessibleKeystrokeListener.
3914 * cspi/spi_registry.c:
3915 Fixed docs for SPI_KEYSET_ALL_KEYS.
3917 * docs/reference/cspi/at-spi-cspi-sections.txt:
3918 Added a number of missing APIs to SECTIONS.
3920 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3922 * registryd/Makefile.am:
3924 * cspi/bonobo/Makefile.am:
3925 Add $(X_LIBS) to makefiles.
3927 2002-04-15 Bill Haneman <bill.haneman@sun.com>
3930 Revved version to 0.11.
3932 * libspi/component.c:
3933 Added implementation for grabFocus.
3935 * idl/Accessibility_Component.idl
3936 (Accessibility_Component_grabFocus):
3937 Made this method return boolean to indicate success or failure, to
3938 be consistent with cspi and the corresponding ATK method.
3940 * idl/Accessibility_Selection.idl
3941 (Accessibility_Selection_selectAll) :
3942 Made these methods return boolean to indicate success or
3943 failure, to be consistent with cspi and the corresponding ATK methods.
3945 * idl/Accessibility_EditableText.idl
3946 (Accessibility_EditableText_setTextContents,
3947 Accessibility_EditableText_insertText,
3948 Accessibility_EditableText_cutText,
3949 Accessibility_EditableText_deleteText,
3950 Accessibility_EditableText_pasteText):
3951 Made these methods return boolean to indicate
3954 * cspi/spi_editabletext.c:
3955 Made these methods return booleans.
3957 * libspi/selection.c:
3958 * libspi/component.c:
3959 * libspi/editabletext.c:
3960 Connected the boolean returns from ATK
3961 to the server-side code referenced above.
3963 2002-04-14 Bill Haneman <bill.haneman@sun.com>
3965 * idl/Accessibility_Table.idl: Added missing methods,
3966 Accessibility_Table_addRowSelection,
3967 Accessibility_Table_addColumnSelection,
3968 Accessibility_Table_removeRowSelection,
3969 Accessibility_Table_removeColumnSelection.
3972 Added C wrappers for above IDL:
3973 AccessibleTable_addRowSelection,
3974 AccessibleTable_addColumnSelection,
3975 AccessibleTable_removeRowSelection,
3976 AccessibleTable_removeColumnSelection.
3979 Added server-side implementation code for IDL above, connecting
3980 to pre-existing ATK api.
3982 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
3984 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
3986 * libspi/accessible.c: Added implementation fo
3987 Accessibility_Accessible_get_state.
3989 * libspi/libspi.h: Added stateset.h to the list of includes.
3991 * libspi/stateset.c: Fixed broken implementation.
3993 2002-04-13 Bill Haneman <bill.haneman@sun.com>
3996 Added implementation code for Accessibility_Magnifier_exit ().
3998 * util/mag_control.c:
3999 Added test code for above method; you can
4000 now kill an existing magnifier via
4001 ./mag_control q, from the util directory.
4003 * test/key-listener-test.c:
4005 Added a new test, for our key listener API.
4007 2002-04-11 Bill Haneman <bill.haneman@sun.com>
4009 * test/app.c, test/keysynth-demo.c:
4011 Replace use of snprintf with g_snprintf.
4012 (fix for bugzilla 78249)
4014 2002-03-27 Michael Meeks <michael@ximian.com>
4018 * util/Makefile.am (INCLUDES): fix.
4019 (DONT_DIST_SOURCE): don't distribute the
4022 * libspi/Makefile.am (dist-hook): ditto.
4024 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
4026 * libspi/hypertext.c:
4027 Fix warnings when yelp is used with atk-bridge
4029 2002-03-21 Michael Meeks <michael@ximian.com>
4031 * libspi/application.c (spi_application_new):
4032 use spi_accessible_construct so we use the AtkObject
4035 2002-03-19 Michael Meeks <michael@ximian.com>
4037 * registryd/registry.c (desktop_remove_application),
4038 (desktop_add_application): clean coding style.
4040 * registryd/desktop.c (spi_desktop_remove_application),
4041 (spi_desktop_add_application): kill re-enterency hazards.
4042 (spi_desktop_dispose): remove bogus redundant cast
4043 obscuring bug; fix bug too.
4044 (spi_desktop_init): make the desktop object immortal.
4046 2002-03-16 Bill Haneman <bill.haneman@sun.com>
4049 Added a #define-guarded tree-traversal step
4050 when enumerating the apps (diagnostic tool).
4052 2002-03-15 Bill Haneman <bill.haneman@sun.com>
4054 * idl/Accessibility_Role.idl:
4055 Added ROLE_DRAWING_AREA which seemed to be missing from the
4058 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4060 * cspi/spi-roletypes.h cspi/spi_accessible.c
4061 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
4064 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
4065 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
4066 AT when applications are added and removed from the desktop. This
4067 reverts the previous broken implementation using the backing
4068 AtkObject for the SpiDesktop.
4070 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4072 * registryd/desktop.c: emit the "children-changed::add" and
4073 "children-changed::remove" signals on the backing ATK object for
4074 the desktop so AT can tell when applications are started and shut
4077 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4079 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
4081 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4083 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
4085 * cspi/spi_accessible.c: Implemented c bindings for stateset support
4087 * cspi/state-types.h: synched with IDL and ATK
4089 2002-03-13 Bill Haneman <bill.haneman@sun.com>
4091 * libspi/accessible.c
4092 (impl_accessibility_accessible_get_child_at_index):
4093 Change return value for g_return_if_fail ()
4094 to CORBA_OBJECT_NIL instead of "0" (!)
4096 * registryd/Makefile.am:
4097 * registryd/Accessibility_Register.server.in:
4098 Changed name of executable, "registryd",
4099 to something more informative:
4102 2002-03-13 Michael Meeks <michael@ximian.com>
4104 * atk-bridge/bridge.c (atk_bridge_init): don't register
4105 if we're in a bonobo-component, rather than a bonobo app.
4107 2002-03-13 Michael Meeks <michael@ximian.com>
4109 * atk-bridge/bridge.c (gtk_module_init): split
4110 out body to (atk_bridge_init): here, since otherwise
4111 we get symbol conflicts and oddness when invoked
4112 from (gnome_accessibility_module_init): here (upd.)
4114 2002-03-11 Bill Haneman <bill.haneman@sun.com>
4117 New file. Explicitly allow "build sheriff" putbacks provided
4118 they are tested on Solaris.
4120 * docs/reference/cspi/Makefile.am:
4121 Added '-' to the "cp" command for index.sgml.
4122 ("patch by thomasvs, soon coming to a GUADEC near you")
4125 Incremented version number (0.9.0) for new release.
4126 Changed macro that checks for popt, to better detect
4127 obsolete versions of popt.
4130 Added X_LIBS to AC_SUBST, for applications
4131 that call Xlib API directly.
4134 2002-03-07 Bill Haneman <bill.haneman@sun.com>
4137 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
4140 Fix regression caused by hard-coding major
4141 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
4144 * test/test-simple.c (test_editable_text),
4145 (test_test): revert previous change (error was
4146 a regression in gail which is now fixed).
4148 2002-03-04 Michael Meeks <michael@ximian.com>
4150 * test/test-simple.c (test_editable_text),
4151 (test_text): pass G_MAXINT instead of '-1' for
4152 whole string - is this a good thing !?
4154 * cspi/spi_accessible.c
4155 (Accessible_getRelationSet): fix crasher bug
4156 overwriting the end of the array.
4158 * test/test-simple.c (validate_accessible): free,
4159 not g_free returned relation set.
4161 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
4163 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
4164 implemented stateset support
4166 * idl/Accessibility_State.idl: Made necessary changes to
4167 the IDL to support state sets.
4169 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4171 * registryd/deviceeventcontroller.c:
4172 Added implementation for generateMouseEvent.
4174 * cspi/spi_registry.c:
4175 Connected new implementation for generateMouseEvent
4178 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4181 Incremented revision (but no change in public API
4182 outside of 'utils', which are not installed public yet.)
4184 * libspi/component.c:
4185 Changed to use atk_component API for layers and
4186 mdi_zorder, instead of deprecated atk_object API.
4188 Magnification Utility Enhancements:
4191 Added implementation of createZoomRegion, clearAllZoomRegions,
4192 resizeZoomRegion. Added new commandline argument
4193 "--no-initial-region". Note that clearAllZoomRegions doesn't
4194 unmap the old '0' region as it should (yet), and the other
4195 methods only work when creating/resizing a single region,
4196 which is "region 0".
4197 (Code for multiple region support will be added later.)
4200 Now we raise the magnifier window each time it's refreshed;
4201 this will help keep it on top.
4203 * util/mag_client.h:
4204 Added simple wrappers for above, used by mag_control.
4205 For general use, it's recommended to use the bonobo magnifier
4206 control API directly instead of using these wrappers.
4209 Moved ZoomRegionData from magnifier.c to this file.
4211 * util/mag_control.c:
4212 Added some code to exercise new IDL implementations.
4214 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
4216 * libspi/text.c: Provide implementation for getAttributes.
4218 2002-02-04 Bill Haneman <bill.haneman@sun.com>
4221 Incremented revision.
4223 * test/test-simple.c:
4224 Replaced use of deprecated g_main_iteration with
4225 g_main_context_iteration.
4227 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
4230 Incremented revision for desktop alpha 2.
4232 2002-01-28 Mark McLoughlin <mark@skynet.ie>
4234 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
4237 * test/simple-at.c: include netinet/in.h.
4239 2002-01-24 Mark McLoughlin <mark@skynet.ie>
4241 * cspi/spi_accessible.c: (Accessible_getRelationSet):
4242 use NULL, not CORBA_OBJECT_NIL.
4244 * libspi/accessible.c:
4245 (impl_accessibility_accessible_get_relation_set):
4246 allocate the sequence correctly.
4248 * libspi/remoteobject.h: kill spi_remote_object_new.
4250 * test/test-simple.c: (validate_accessible): add code
4251 to test relation sets, now all we need is to figure
4252 out how to excercise this code path :/
4254 2002-01-18 Michael Meeks <michael@ximian.com>
4256 * test/test-simple.c
4257 (key_listener_cb): consume the key.
4258 (test_keylisteners): update.
4259 (main): wait for any pending unrefs on events.
4261 * registryd/deviceeventcontroller.c
4262 (spi_controller_update_key_grabs): only re-issue the
4263 grab on a key release.
4264 (spi_device_event_controller_forward_key_event):
4265 refresh the keygrabs before we notify the listeners,
4266 to reduce the X ungrab / re-grab race.
4267 (spi_controller_register_with_devices): remove
4268 XSelectInput - we do that with the gdk_window_ call.
4269 (_spi_controller_device_error_handler): return a value.
4270 s/GDK_DISPLAY/spi_get_display/
4272 2002-01-17 Michael Meeks <michael@ximian.com>
4274 * registryd/deviceeventcontroller.c
4275 (_deregister_keygrab): don't blow out the later
4278 * test/test-simple.c (test_keylisteners): do a
4279 more intelligent validation.
4281 2002-01-14 Michael Meeks <michael@ximian.com>
4283 * atk-bridge/bridge.c
4284 (gnome_accessibility_module_init),
4285 (gnome_accessibility_module_shutdown): impl.
4286 (gtk_module_init): protect vs. double inits.
4287 (add_signal_listener): impl.
4288 (spi_atk_bridge_state_event_listener): kill
4289 (deregister_application): split out of
4290 (spi_atk_bridge_exit_func): here.
4292 2002-01-18 Bill Haneman <bill.haneman@sun.com>
4295 Added caret tracking when using magnifier, and
4296 now use text bounds for focus tracking of text elements, rather than
4297 the component bounds - this is helpful for short text fields in long
4298 table cells, at high magnification.
4300 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4302 * registryd/deviceeventcontroller.c:
4303 Regression fix for keylistener de-registration; global keygrabs
4304 were not being released when deregisterKeystrokeListener was
4305 called in cspi, since
4306 Accessibility_DeviceEventController_deregisterKeystrokeListener
4307 was called with a zero-length keyset. That is because the cspi
4308 method, SPI_deregisterKeystrokeListener, does not take a keyset
4309 parameter but instead should remove all the key grabs held be a
4311 The code in impl_deregister_keystroke_listener was changed to copy
4312 the keylist from the listener instance previously registered with
4313 the DeviceEventController before releasing the grabs.
4315 * registryd/registry.c:
4316 * registryd/deviceeventcontroller.c:
4317 * libspi/spi-private.h:
4319 Changed spelling of "re-enterant" to "re-entrant" globally.
4321 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4323 * test/test-simple.c:
4324 Changed key listeners test - the test was slightly mis-using the
4325 (admittedly poorly documented) SPI_generateKeyboardEvent API.
4326 It now uses '=' as the key event listened to and generated,
4327 relying on a keysym match rather than assuming that keycode 33
4328 is always equal to keysym '!'.
4330 2002-01-15 Bill Haneman <bill.haneman@sun.com>
4333 Changed simple-at to use a specific keyset, rather than
4334 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
4335 manager, desktop, etc.
4337 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4339 * registryd/deviceeventcontroller.c:
4340 Replaced standard X error handler with a special handler that
4341 is non-fatal for failed keygrabs. This works around
4342 problems with keygrab clashes sometimes observed on
4344 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
4345 mouse handling code as yet).
4347 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4350 Incremented revision for desktop alpha release.
4353 Fixed a couple of the more glaring errors (still not
4356 2002-01-11 Michael Meeks <michael@ximian.com>
4358 * registryd/deviceeventcontroller.c
4359 (spi_device_event_controller_forward_key_event): kill
4360 XUngrabKey / XKeyGrab race.
4361 (spi_controller_grab_keyboard): rename to
4362 (spi_controller_update_key_grabs): this, and deal
4363 with incremental adding / removing grabs more
4365 (_register_keygrab): ensure we're not pending a remove.
4366 (spi_grab_mask_free): impl.
4367 (spi_controller_register_global_keygrabs): split out
4369 (handle_keygrab): impl.
4370 (_deregister_keygrab): impl.
4371 (spi_controller_deregister_global_keygrabs): impl.
4372 (spi_controller_update_key_grabs): re-issue the grab if
4373 we just recieved a notification.
4375 * test/test-simple.c (key_listener_cb): remove debug.
4377 * registryd/deviceeventcontroller.c
4378 (spi_controller_register_device_listener): after
4379 registering a global keygrab, actualy register it !
4380 don't wait for a timeout; doh !
4382 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
4383 to make it more readable / manipulable.
4384 s/grabmask/grab_mask/ s/refcount/ref_count/
4385 s/keyval/key_val/ s/modmask/mod_mask
4387 2002-01-08 Michael Meeks <michael@ximian.com>
4389 * registryd/deviceeventcontroller.c
4390 (spi_controller_register_with_devices): use gdk calls to
4392 (global_filter_fn): implement the filter.
4393 (spi_device_event_controller_check_key_event): rename to
4394 (spi_device_event_controller_forward_key_event): this & upd.
4395 (spi_get_display): replace with GDK_DISPLAY.
4397 * registryd/deviceeventcontroller.c
4398 (spi_controller_deregister_device_listener): unroll into
4399 (impl_deregister_keystroke_listener): here to simplify.
4400 (spi_controller_register_global_keygrabs): split cut and
4401 paste (!) out into (_register_keygrab): here, shorter & sweeter.
4402 (spi_controller_deregister_device_listener): remove.
4403 (impl_register_mouse_listener): remove, no mouse listener
4404 support in at-spi-1.0
4406 * registryd/registry.c
4407 (_device_event_controller_hook): kill.
4408 (spi_registry_init): upd.
4410 * registryd/deviceeventcontroller.c
4411 (spi_device_event_controller_class_init): upd.
4412 (spi_check_key_event): merge into.
4413 (spi_device_event_controller_check_key_event):
4414 here and kill strange static ev init, don't leak
4415 the x_event - nor dynamicaly allocate it.
4417 * registryd/registry-main.c (main): re-direct
4418 timeout to remove strange vtable mess.
4420 * registryd/deviceeventcontroller.c
4421 (remove_listener_cb): impl.
4422 (spi_controller_deregister_device_listener):
4423 fix re-enterancy hazard.
4425 2002-01-07 Michael Meeks <michael@ximian.com>
4427 * registryd/deviceeventcontroller.c
4428 (spi_device_event_controller_new): upd.
4429 (impl_notify_listeners_sync): upd. debug.
4430 (spi_notify_keylisteners): fix re-enterancy hazards,
4431 prettify, remove O(n*n) iteration.
4432 (spi_controller_grab_keyboard): fix iteration.
4433 (spi_check_key_event): re-format to suit coding style.
4434 Clean all the warnings - we're warning free.
4436 * registryd/deviceeventcontroller.h:
4437 * registryd/registry.h: make mutualy referential with
4438 typesafe forward references instead of (!) void pointer
4441 2002-01-11 Michael Meeks <michael@ximian.com>
4443 * cspi/spi_accessible.c (role_names): add a role name
4444 to sync this array with the enum; and make the regression
4447 2002-01-10 Michael Meeks <michael@ximian.com>
4449 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
4450 allow expansion of enumeration & kill warning.
4452 * test/test-simple.c (key_listener_cb): impl.
4453 (test_keylisteners): impl.
4455 * cspi/spi-listener.h: make listener signatures const
4456 on the provided (const) events.
4458 * test/keysynth-demo.c: upd. to const events.
4460 * test/simple-at.c: ditto.
4462 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4465 Rev the version to 0.5 (the previous tarball was named 0.4,
4466 even though the micro number was 3), so we need to rev upwards
4467 again for beta2/"desktop-alpha"
4470 Checked in a demo script, which requires editing before use!
4471 Proceed with caution.
4474 Fixed typo in header which was redefining SPI_ACTION_CLASS.
4476 * cspi/spi_accessible.c:
4477 Add a couple of missing enum initializations, and fix some enum
4480 * cspi/spi_registry.c:
4481 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
4483 * docs/reference/cspi/at-spi-cspi-sections.txt:
4484 Remove/fix a couple of broken document references.
4487 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
4488 as Alt-Control to listen for commands, since on some systems
4489 Control-Alt may already be grabbed.
4491 2002-01-10 Bill Haneman <bill.haneman@sun.com>
4494 Update version number to 0.4 for Beta2.
4496 * libspi/accessible.c, libspi/accessible.h:
4497 Expose spi_accessible_construct, to enable libgail-gnome
4498 construction from spi_accessible subtype.
4500 * utils/magnifier.c:
4501 Workaround for bug in some non-gnome-compliant window managers
4502 which made magnifier resize improperly.
4504 2002-01-09 Bill Haneman <bill.haneman@sun.com>
4506 * libspi/accessible.c: (spi_accessible_new) :
4507 Move the test for SPI_IS_REMOTE_OBJECT to
4508 spi_accessible_new_return, fixing a bug and compile time warning.
4510 2002-01-08 Michael Meeks <michael@ximian.com>
4512 * registryd/registry.c (parse_event_type): remove strndup.
4514 * libspi/Makefile.am (libspi_la_SOURCES): remove
4515 sources already included in the headers section.
4517 * libspi/util.c: add.
4519 * libspi/spi-private.h: add.
4521 * registryd/registry.c: update to moved list iterators.
4523 2002-01-05 Michael Meeks <michael@ximian.com>
4525 * test/simple-at.c (main): upd. auto-module set to atk-bridge
4527 * test/test-simple.c (main): ditto.
4529 2002-01-04 Michael Meeks <michael@ximian.com>
4531 * libspi/accessible.c (spi_accessible_new): remove 2nd,
4532 redundant construct.
4534 * registryd/registry.c
4535 (get_listener_list): impl.
4536 (impl_accessibility_registry_register_global_event_listener):
4537 re-impl. to simplify using ~, remove dodgy const cast off.
4538 (parse_event_type): constify.
4539 (impl_accessibility_registry_deregister_global_event_listener_all):
4540 re-write, more efficiency and simplicity, kill re-enterancy
4542 (compare_listener_corbaref, compare_corba_objects),
4543 (compare_listener_quarks): define out.
4544 (impl_accessibility_registry_deregister_global_event_listener):
4545 re-write for effiency, and nail re-enterancy hazard.
4546 (impl_accessibility_registry_get_desktop_list): impl.
4547 (re_enterant_list_delete_link): impl.
4548 (re_enterant_list_foreach): impl.
4549 (remove_listener_cb): impl.
4550 (_registry_notify_listeners): kill.
4551 (notify_listeners_cb): impl.
4553 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
4554 (SPI_getDesktopList): impl.
4556 * test/test-simple.c (test_desktop): test the methods.
4558 2002-01-03 Michael Meeks <michael@ximian.com>
4560 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
4561 keystrings since we free them
4562 (SPI_freeAccessibleKeySet): in here.
4564 * libspi/accessible.c (spi_accessible_new): kill warning,
4565 wonder what is going on with the constructor here.
4567 2002-03-01 Bill Haneman <bill.haneman@sun.com>
4569 * libspi/accessible.c (spi_accessible_new ()) :
4570 Added check to see if AtkObject is an SpiRemoteObject before
4571 creating an SpiAccessible.
4573 2002-05-01 Bill Haneman <bill.haneman@sun.com>
4575 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
4576 Enable keygrabs using the Control modifier, now that they are
4577 working properly (they were previously disabled).
4580 Change the command keygrab for this demo to "Control+Alt", so as
4581 to conflict with fewer other key commands on the system; this
4582 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
4584 Removed a pointlessly-chatty keylistener for unshifted keys
4585 (shifted keys are still reported).
4587 2002-02-01 Bill Haneman <bill.haneman@sun.com>
4589 * libspi/remoteobject.h:
4590 * libspi/remoteobject.c:
4591 Added definitions for special AtkObject subtype, required for
4592 support of remote components (specifically, used by BonoboControl
4593 accessibility implementation).
4595 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
4597 * cspi/spi.h: synched relation types with ATK
4599 * cspi/spi_accessible.c: Added implementations of
4600 AcccessibleRelation_* methods
4602 * idl/Accessibility_Relation.idl: added getRelationTypeName
4603 method. Synched known relation types with ATK. Allowed for
4604 relation type extension with the RELATION_EXTENDED type.
4606 * libspi/relation.c: Provided implementations for
4607 AccessibleRelation methods.
4609 2002-01-01 Bill Haneman <bill.haneman@sun.com>
4611 API tweaks for today's API 'freeze'.
4614 Added placeholder functions to allow future compatible expansion
4615 of the IDL interfaces.
4617 * idl/Accessibility_Registry.idl:
4618 Changed generateKeyEvent to generateKeyboardEvent. Changed
4619 signature of this method to accept an optional keystring in
4620 parameter (for complex text input synthesis) and changed use of
4621 simple 'boolean' parameter in registerKeystrokeListener to a
4622 struct, EventListenerMode.
4624 * cspi/spi_accessible.c:
4626 * cspi/spi_streamablecontent.c:
4627 Added references to AccessibleStreamableContent interface, and
4628 definition and implementation of AccessibleStreamableContent
4631 * cspi/spi_registry.c:
4633 Changed generateKeyEvent API to generateKeyboardEvent,
4634 taking a new (optional) keystring parameter to support complex
4639 Renamed directory (to better reflect its actual purpose, bridging
4640 from at-spi to ATK). The .so module is also now named
4643 * idl/Accessibility_Hypertext.idl:
4644 * libspi/accessible.c:
4645 * libspi/hypertext.h:
4646 * libspi/hypertext.c:
4647 Changed Accessibility_Hypertext to *not* derive from
4650 * cspi/spi_registry.c:
4651 Added list of legal event type names for 'window' events, which
4652 completes the registry event API.
4654 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
4656 * at-bridge/bridge.c: Added registration for separate
4657 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
4658 signals. If either of the first two parameters to the generic
4659 bridge signal handler are ints, they are passed on as event
4660 details. This allows an AT to determine what text was inserted.
4662 2001-12-21 Bill Haneman <bill.haneman@sun.com>
4664 * registryd/deviceeventcontroller.c:
4665 Fixed regressions in generateKeyEvent caused by the removal of
4666 gdk_init from registryd; we now use pure X calls to connect to the
4667 display, which makes sense because deviceeventcontroller already
4668 uses a fair bit of X API (should eventually be migrated to a
4669 'portability layer').
4671 * registryd/desktop.c:
4672 Fixed minor regression in spi_desktop_init, changed the way the
4673 desktop name is being set to work with new spi_base API
4674 (gobject-based, rather than AtkObject-based).
4676 * registryd/Makefile.am:
4677 Minor revision of makefile to use XTST_LIBS variable rather than
4678 hard-wiring the Xtst LD_ADD element.
4680 * test/keysynth-demo.c:
4681 Tweaked an output message; added initialization of the
4682 'keystrings' member of the "switch listener" key_set.
4684 * libspi/relation.c:
4685 Squashed compile-time warning.
4687 * libspi/accessible.c:
4688 Cosmetic and formatting fixes, renamed a static method.
4690 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
4692 * libspi/accessible.c
4694 * libspi/application.c
4697 * libspi/component.c
4698 * libspi/editabletext.c
4699 * libspi/hyperlink.c
4700 * libspi/hypertext.c
4702 * libspi/selection.c
4706 * registryd/desktop.c:
4707 Changed SpiBase to contain a GObject pointer rather than an AtkObject
4709 2001-12-17 Bill Haneman <bill.haneman@sun.com>
4711 * idl/Accessibility_Registry.idl:
4712 Added boolean member 'is_text' to DeviceEvent. This is for the
4713 use of key events, and helps prevent ambiguity between composed
4714 key strings and keysym names, since both may potentially be
4715 returned in the 'event_string' member.
4717 * at-bridge/bridge.c:
4718 * registryd/deviceeventcontroller.c:
4719 Use the 'is_text' member when notifying device event listeners.
4720 Knon issue: composed characters are not dealt with correctly by
4721 the global key listener implementation yet.
4723 2001-12-17 Bill Haneman <bill.haneman@sun.com>
4725 * at-bridge/bridge.c:
4726 Namespaced local static methods to spi_atk_bridge_* where
4727 previously named bridge_*, and spi_* elsewhere.
4729 * at-bridge/bridge.c:
4730 * cspi/bonobo/cspi-bonobo-listener.c:
4731 Added demarshalling/conversion for string member of
4732 Accessibility_DeviceEvent to AccessibleKeystroke.
4734 * registryd/deviceeventcontroller.c:
4735 Added code to fill the Accessibility_DeviceEvent key string value
4736 member for global key events (i.e. from XGrabKey), to match
4737 behavior of Accessibility_DeviceEvent from the toolkit key events
4738 from the bridge. Fixed timestamp in global key event notifications.
4741 Added printout of key event's string value to
4742 report_ordinary_key_event, for demo/debugging purposes.
4744 2001-12-15 Bill Haneman <bill.haneman@sun.com>
4746 * idl/Accessibility_Registry.idl:
4747 Removed Accessibility_KeyStroke structure in favor of generic
4748 Accessibility_DeviceEvent structure.
4749 Changed Accessibility_ControllerEventMask from a struct to an
4752 * at-bridge/bridge.c:
4753 Changed APIs to use DeviceEvent structure as above, and removed
4754 bogus casting between these event structures.
4756 * cspi/spi-listener.h:
4757 Added keystring member of AccessibleKeystroke structure, to enable
4758 matching on event "names" rather than only hardware codes and
4762 Added keystrings member of AccessibleKeySet struct, to allow
4763 matching on event names (as above).
4764 Added declarations for SPI_createAccessibleKeySet and
4765 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
4766 event modmasks directly as unsigned ints rather than structs with
4767 refcounts, in the DeviceEventController methods.
4769 * cspi/spi_registry.c:
4770 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
4772 * cspi/spi-roletypes.h:
4773 Added documentation of newly added SPI Roles.
4775 * cspi/bonobo/cspi-bonobo-listener.c:
4776 Changes in support of API changes above.
4778 * libspi/accessible.c:
4779 Converted APIs to use DeviceEvent structure (see IDL changes
4782 * registryd/deviceeventcontroller.c:
4783 Added DEControllerGrabMask structure to track keygrabs not only by
4784 modmask but by keyset as well; this allows us to do "global"
4785 (i.e. X) keygrabs on a per-key or keyset basis rather than always
4786 grabbing on AnyKey and then filtering after-the-fact.
4787 Bugfixes for event filtration mean that we don't get false matches
4788 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
4790 * registryd/deviceeventcontroller.c:
4791 Namespaced a number of static methods to use spi_ prefix. Major
4792 revision to internals of global (i.e. X) key grabs.
4794 * registryd/deviceeventcontroller.h:
4795 Removed keymask_list and added keygrabs_list to
4796 SpiDeviceEventController struct.
4799 Added use of SPI_createAccessibleKeySet API when creating a
4800 listener for only one key. Attach a listener to "shift spacebar
4801 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
4802 X key event names to SPI key event names, so that listeners are
4803 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
4805 * test/keysynth-demo.c:
4806 Changed (incorrect) use of X key event names (KeyPressed,
4807 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
4810 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4812 * libspi/accessible.c:
4813 Convert all AtkRole enumerations to Accessibility_Role enums when
4814 getting a role from an AtkObject.
4816 * cspi/spi_accessible.c:
4817 Complete the conversion of Accessibility_Role enums at runtime to
4818 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
4819 role enums correctly match those given in spi-roletypes.h.
4820 Re-synchronize the local names list for AccessibleRole_getName ().
4821 AccessibleRole_getName is now deprecated, since it duplicates the
4822 more reliable Accessible_getRoleName.
4823 Added some role types from Accessibility_Role.idl.
4825 * idl/Accessibility_Role.idl:
4826 Added some role types used by AtkRole.
4828 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4831 * cspi/spi_registry.c:
4833 * cspi/cspi-bonobo-listener.c:
4834 Namespaced all methods that did not begin with an "SPI_" or
4835 "Accessible" prefix to "SPI_".
4838 Homogenized internal function namespace to "cspi_" for statics.
4841 Patched tests to use the new CSPI API.
4843 * docs/reference/cspi/at-spi-cspi-sections.txt:
4844 Updated docs to reflect namespace changes, and added a number of
4845 methods to the documentation.
4847 * registryd/registry.c:
4848 Changed use of strings and string hashes in listener event
4849 matching and parse_event_string to use GQuark, which is guaranteed
4852 * registryd/registry.h:
4853 Squashed annoying warning.
4855 * idl/Accessibility_Role.idl:
4856 Extended range of available Accessibility_Role values.
4858 * cspi/spi_accessible.c:
4859 Re-ordered role names.
4861 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4863 * idl/Accessibility_Value.idl:
4864 Revert use of union back to CORBA_double, since the double type is
4865 more efficient and can contain the other types without loss of
4868 * idl/Accessibility_Accessible.idl:
4869 Added method Accessibility:Accessible:getRoleName, to complement
4870 Accessibility:Accessible:getRole.
4872 * cspi/spi_accessible.c:
4874 Added C binding for above, Accessible_getRoleName (), and changed
4875 signature of Accessible_getRole () to return an AccessibleRole.
4877 * cspi/spi-roletypes.h:
4878 Changed AccessibleRole_getName to return a char * instead of a
4879 const char *. This method is now at least temporarily deprecated
4880 in favor of asking Accessibles for their RoleNames directly.
4883 Revert to match Accessibility_Value.idl;
4887 Change signature of AccessibleValue methods to use double rather
4891 * cspi/spi_accessible.c:
4892 Changed Accessible_getRole to return an AccessibleRole enum rather
4893 than a UTF-8 string. The UTF-8 string can still be obtained via
4894 AccessibleRole_getName ().
4896 * test/test-simple.c:
4897 Add test_action. Small fixup to match API change to Accessible_getRole.
4900 Bugfix for get_action_from_servant ().
4902 2001-12-11 Michael Meeks <michael@ximian.com>
4904 * libspi/libspi.h: remove registry.h and
4905 desktop.h, deviceeventcontroller.h
4907 * libspi/Makefile.am: remove registry.[ch],
4908 desktop.[ch], deviceeventcontroller.[ch]
4910 * registryd/Makefile.am: add registry.[ch],
4911 desktop.[ch], rename registryd.c to registry-main.c.
4912 add deviceeventcontroller.[ch]
4914 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4917 Replace setenv() call with putenv ().
4919 * libspi/component.c:
4920 Bugfix in AccessibleComponent_getExtents (),
4923 2001-12-11 Michael Meeks <michael@ximian.com>
4925 * libspi/image.c (impl_getImageExtents): impl.
4926 (spi_image_class_init): upd.
4929 (AccessibleImage_getImageDescription): fix daft bug
4932 * test/test-simple.c (global_listener_cb): update
4933 to only quit if not --poke
4934 (main): catch --poke.
4935 (validate_accessible): upd. dumping, call test_image
4938 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
4941 * idl/Accessibility.idl: update all IDL includes.
4943 * idl/*.idl - rename to namespace - this sucks, blame
4944 mjs' bad decision for oafd.
4946 * test/test-simple.c (create_test_window): add more tests.
4947 (create_tree): split this out.
4948 (validate_accessible): bugfix.
4950 2001-12-11 Michael Meeks <michael@ximian.com>
4952 * cspi/bonobo/cspi-bonobo-listener.c:
4953 (cspi_kestroke_listener_unref),
4954 (cspi_event_listener_unref): impl. undoing previous
4955 homenous environment - for Bill.
4957 * cspi/spi_table.c (long_seq_to_array): use
4960 * cspi/spi_main.c: split out all bonoboish bits into
4963 * cspi/spi-impl.h: upd. typedefs.
4965 * cspi/spi_registry.c: update to lowlevel API,
4966 return booleans to indicate success in some places.
4968 * cspi/spi_event.c: update to lowlevel API.
4970 * cspi/bonobo/Makefile.am: add.
4972 * cspi/bonobo/cspi-lowlevel.h: add
4974 * cspi/bonobo/cspi-bonobo.c: add
4976 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
4978 * cspi/Makefile.am: remove spi-listener-impl.[ch],
4979 (SUBDIRS): add bonobo, link in the libs.
4981 * cspi/spi-util.c: kill this file.
4983 * TODO: merge in my bits.
4985 2001-12-11 Michael Meeks <michael@ximian.com>
4987 * test/test-simple.c (test_value, test_table, main):
4988 remove unused variables causing warnings.
4990 * configure.in: cleanup checks - require gail.
4992 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4995 Changed Value interface to use SValue (scalars) rather than
4996 assuming all values are floats. This allows floats, doubles,
4997 longs, shorts, and unsigned values to be manipulated.
4998 Introduced Accessibility:SValue union.
5001 Updated to use new API above, and to work correctly with GValues
5002 of different types in AtkValue.
5005 Updated to use new API above. cspi's API is as yet unchanged.
5008 Updated the Value revision action item.
5010 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5012 * test/test-simple.c:
5013 Added test_table (GtkTreeView widget in test window to follow).
5014 Un-commented test_value, added GtkRange widget.
5015 Added GtkTreeView widget with GtkListStore. It passes regression
5016 test but leaks one SPI object for some reason.
5019 Fixed bug in impl__set_currentValue.
5021 2001-12-10 Michael Meeks <michael@ximian.com>
5023 * cspi/spi_text.c: audit for exception handling,
5024 tolerating NULL object references safely etc.
5026 * cspi/spi_value.c: ditto.
5028 * cspi/spi_table.c (AccessibleTable_getSummary),
5029 (AccessibleTable_getAccessibleAt),
5030 (AccessibleTable_getRowHeader),
5031 (AccessibleTable_getColumnHeader),
5032 (AccessibleTable_getCaption): fix bugs hidden by
5034 (long_seq_to_array): impl.
5035 (AccessibleTable_getSelectedRows),
5036 (AccessibleTable_getSelectedColumns): use it.
5038 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5041 Added a TODO list (rough and short for now).
5043 * cspi/spi_hyperlink.c:
5044 * cspi/spi_hypertext.c:
5045 Fixed macro name typos, and remove use of obsolete macro in
5046 AccessibleHyperlink_getLink.
5048 * cspi/spi_action.c:
5049 * cspi/spi_accessible.c:
5050 * cspi/spi_application.c:
5051 * cspi/spi_component.c:
5052 * cspi/spi_selection.c:
5055 Documentation fixes (removed return values from ref/unref methods).
5057 2001-12-10 Michael Meeks <michael@ximian.com>
5059 * cspi/spi_action.c: audit for exception handling,
5060 tolerating NULL object references safely etc.
5062 * cspi/spi_accessible.c: ditto.
5064 * cspi/spi_component.c: ditto.
5066 * cspi/spi_editabletext.c: ditto.
5068 * cspi/spi_hyperlink.c: ditto.
5070 * cspi/spi_hypertext.c: ditto.
5072 * cspi/spi_image.c: ditto.
5074 * cspi/spi_selection.c: ditto.
5076 2001-12-10 Michael Meeks <michael@ximian.com>
5078 * configure.in: use cspi/libspi.pc.in instead.
5080 * Makefile.am (pkgconfig_DATA): upd. to match.
5082 * test/simple-at.c (report_focus_event): kill hacks around
5083 bad return values, use putenv not setenv
5085 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
5086 fire ChildGone - I killed it.
5088 * libspi/component.c
5089 (impl_accessibility_component_get_extents): remove
5092 * idl/Accessible.idl: kill ChildGone exception.
5094 * cspi/*.[ch]: kill int return from ref / unref.
5096 * cspi/spi_main.c (cspi_object_add_check): fold into
5097 (cspi_object_add): here.
5099 * cspi/spi_component.c (AccessibleComponent_getExtents):
5100 handle exceptions elegantly.
5102 * cspi/spi-private.h (cspi_check_ev_return),
5103 (cspi_return_if_fail): impl.
5105 * cspi/spi_accessible.c: use extensively.
5106 (AccessibleStateSet_equals): add direct compare check.
5108 * cspi/spi_selection.c: tolerate NULL objs, and check
5109 exceptions before return.
5111 * cspi/spi-util.c (cspi_warn_ev): rename to
5112 (cspi_check_ev): this & don't pass ev in; no point.
5114 2001-12-10 Michael Meeks <michael@ximian.com>
5116 * test/test-simple.c: use putenv not setenv
5117 (get_environment_vars): more chatty if you're not using
5120 * test/simple-at.c: do the setenv so more people see the
5123 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5125 * libspi/registry.c:
5126 Changed check of CORBA_environment on notification to be a warning
5127 instead of an error for the moment, since we can recover from this
5128 error when caused by a queued notification from a dead app.
5131 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
5132 used by all current implementors of AtkValue), and coerce to
5133 CORBA_float. (Proper general case fix may require change to Value.idl).
5135 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5139 * cspi/spi_accessible.c:
5140 Documentation fixes: added user_data params to documentation for
5141 listeners and callbacks.
5143 * cspi/spi_accessible.c:
5144 Changed AccessibleStateSet_compare to return a
5145 StateSet rather than return the difference set into a third parameter.
5148 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5151 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
5152 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
5156 Remove subdirectory po from SUBDIRS for now.
5158 * at-bridge/bridge.c:
5159 Beefed up a couple of debug printouts.
5160 One-line fix for signal notification name formatting.
5162 * libspi/accessible.c:
5163 Added assertion to spi_accessible_new ().
5165 * libspi/application.c:
5166 Put #ifdef qualifiers around a printf.
5169 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
5171 * registryd/Makefile.am:
5173 Replaces use of XML_I18N_MERGE_SERVER_RULE with
5174 INTLTOOL_SERVER_RULE macro.
5177 Added an event listener for several ATK signals, for
5178 testing and debugging. Removed a few g_warnings.
5179 Added test output if focussed item implements the Value interface.
5181 * test/test-simple.c:
5182 Added test_value () function (known not to pass at the moment, so
5183 not actually called yet.
5185 2001-12-08 Michael Meeks <michael@ximian.com>
5187 * at-bridge/bridge.c (bridge_focus_tracker),
5188 (emit_eventv): fix the same ref. leak.
5189 (register_atk_event_listeners): don't leak.
5191 * cspi/spi-listener-impl.c (cspi_event): more
5192 protection from client code.
5194 * test/test-simple.c (test_desktop): unref the app.
5196 * test/Makefile.am: upd. TESTS.
5198 * at-bridge/bridge.c (bridge_exit_func): release the registry.
5200 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
5202 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
5204 * cspi/spi_registry.c: constify in strings.
5205 (deregisterGlobalEventListenerAll): don't release the ref.
5207 * cspi/spi.h: start removing redundant / conflicting
5208 gtkdoc comments, making the API readable at a glance :-)
5210 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
5212 * test/keysynth-demo.c (keysynth_exit, main): upd.
5214 * test/simple-at.c (main, simple_at_exit): upd.
5216 * test/test-simple.c (unutterable_horror): kill.
5217 (utterable_normal_derefs): kill.
5218 (main): upd & do a setenv before gtk_init, so that we
5219 can use memprof - and to save the pain of remembering
5220 this, if we're running under memprof - don't exit.
5222 * cspi/spi_main.c (SPI_exit): return exit status
5224 (SPI_event_quit): impl.
5225 (SPI_event_main): simplify.
5226 (cspi_is_gnome_app): kill.
5227 (SPI_init): kill isGNOMEapp arg.
5229 * at-bridge/bridge.c (register_atk_event_listeners):
5230 re-instate the unref.
5231 (bridge_exit_func): don't re-activate the registry,
5232 protect vs. theoretical re-entry, use the
5233 AT_BRIDGE_SHUTDOWN env. var to determine whether to
5234 assert a clean shutdown - for regression tests.
5236 2001-12-08 Abel Cheung <maddog@linux.org.hk>
5238 * configure.in: Comment out dummy i18n support for now,
5239 otherwise it fails to build.
5240 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
5241 EXTRA_DIST. They are missing in tarball.
5243 2001-12-07 Michael Meeks <michael@ximian.com>
5245 * util/magnifier.c: kill bonobo activation reg. race.
5247 * libspi/component.c
5248 (impl_accessibility_component_get_extents): make it match
5251 * libspi/registry.c (_registry_notify_listeners):
5252 re-remove X headers & reconcile conflicts.
5253 (spi_listener_struct_free): bad conflict resolve.
5254 (impl_accessibility_registry_register_application):
5255 more bad merging fixed.
5256 (impl_accessibility_registry_deregister_application): ditto.
5257 (spi_registry_new): ditto.
5258 (spi_registry_init): don't have an applications field.
5260 [ merge fixups2 branch to here ]
5261 2001-12-07 Michael Meeks <michael@ximian.com>
5263 * test/simple-at.c (report_focus_event),
5264 (report_focussed_accessible): remove g_warning debug.
5266 2001-12-07 Michael Meeks <michael@ximian.com>
5268 * test/test-simple.c (validate_tree): comment out some checks.
5269 (test_desktop): app now not registered idly - horay.
5271 2001-12-07 Michael Meeks <michael@ximian.com>
5273 * cspi/spi_registry.c
5274 (registerAccessibleKeystrokeListener): clean, stop it leaking
5275 great swathes of memory, and device event controller references.
5276 ensure we always pass valid sequences.
5277 (deregisterAccessibleKeystrokeListener): ditto.
5278 (generateKeyEvent): upd.
5280 * at-bridge/bridge.c (bridge_key_listener): handle
5281 registry dead exception gracefully.
5282 (bridge_focus_tracker, emit_eventv): free ev.
5284 * test/simple-at.c (report_focus_event): fix polarity.
5286 * libspi/application.c (notify_listeners): kill the ev
5287 argument, and make sure we init the ev we use.
5288 (spi_application_object_event_listener): split out a chunk
5289 (get_atk_object_ref): here & fixup.
5290 (reverse_lookup_name_for_toolkit_event): make const.
5291 (spi_application_toolkit_event_listener): fixup, kill leaks
5294 * at-bridge/bridge.c (register_atk_event_listeners):
5295 don't unref the noop object - causes grief.
5297 * libspi/registry.c: remove the X headers.
5298 turn off the debug churn.
5300 * libspi/accessible.c (spi_accessible_new_return): only
5301 release the ref if we are supposed to [doh]
5303 * test/simple-at.c (report_button_press, report_focus_event):
5304 guard vs. unexpected exit.
5306 * at-bridge/bridge.c (gtk_module_init): prune printf.
5307 (bridge_exit_func): fix app unref.
5309 * libspi/Makefile.am: don't install registry or desktop.h
5311 * libspi/*.h: update includes.
5313 * libspi/application.h: don't include ourself, or
5314 other redundant headers.
5316 2001-12-06 Michael Meeks <michael@ximian.com>
5318 * libspi/accessible.c
5319 (get_accessible_from_servant): impl.
5320 Upd. all CORBA impl.s to use it killing cut and paste.
5322 * cspi/spi_main.c (cspi_cleanup): guard vs. double
5324 (SPI_init): register atexit cleanup handler here.
5326 2001-12-06 Michael Meeks <michael@ximian.com>
5328 * at-bridge/bridge.c (gtk_module_init): g_error on
5329 activation exception
5331 2001-12-06 Michael Meeks <michael@ximian.com>
5333 * at-bridge/bridge.c (gtk_module_init): some sort of
5334 confusing merge clash - reverted.
5335 (bridge_idle_init): ditto.
5337 * test/test-simple.c (main, utterable_normal_derefs):
5338 merge from Bill - somehow not committed.
5340 2001-12-06 Michael Meeks <michael@ximian.com>
5342 * libspi/value.c (spi_value_class_init): upd.
5343 (spi_value_finalize): kill.
5345 * libspi/table.c (spi_table_finalize): kill.
5346 (spi_table_interface_new): upd.
5347 (spi_table_class_init): upd.
5348 (get_table_from_servant): impl.
5349 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5351 * libspi/selection.c (spi_selection_finalize): kill.
5352 (spi_selection_interface_new): upd.
5353 (spi_selection_class_init): upd.
5354 (get_selection_from_servant): impl.
5355 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5357 * libspi/relation.c (spi_relation_finalize): kill.
5358 (spi_relation_class_init, spi_relation_new): upd
5360 * libspi/image.c (spi_image_finalize): kill.
5361 (spi_image_class_init): upd.
5362 (spi_image_interface_new): upd.
5363 (get_image_from_servant): impl.
5364 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5366 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
5367 (spi_hyperlink_finalize): kill.
5368 (spi_hyperlink_new): upd.
5369 (get_hyperlink_from_servant): impl.
5370 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5372 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
5373 (spi_hypertext_finalize): kill.
5374 (spi_hypertext_class_init): upd.
5375 (get_hypertext_from_servant): impl.
5376 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5378 * libspi/editabletext.c (spi_editable_text_finalize): kill.
5379 (spi_editable_text_interface_new): upd.
5380 (get_editable_text_from_servant): impl.
5381 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5383 * libspi/text.c (get_text_from_servant): impl.
5384 All impls - update to use it killing more cut and paste,
5385 also fix bad string returns on duff args ( a somewhat
5386 impossible case to handle - but hey ).
5387 (spi_text_construct): impl.
5388 (spi_text_interface_new): upd.
5389 (spi_text_object_finalize): kill.
5391 * libspi/component.c
5392 (accessibility_component_object_finalize): kill.
5393 (spi_component_class_init): upd.
5394 (get_component_from_servant): impl. helper to kill cut & paste.
5395 (impl_accessibility_component_contains):
5396 (impl_accessibility_component_get_accessible_at_point):
5397 (impl_accessibility_component_get_position):
5398 (impl_accessibility_component_get_extents):
5399 (impl_accessibility_component_get_mdi_z_order):
5400 (impl_accessibility_component_get_layer):
5401 (spi_component_interface_new): upd.
5403 * libspi/action.c (spi_action_finalize): kill.
5404 (spi_action_class_init): upd. inherit from SpiObject.
5405 (spi_action_interface_new): upd.
5406 (get_action_from_servant): impl. helper to reduce cut & paste.
5407 (impl_getKeyBinding, impl_getName, impl_doAction),
5408 (impl_getDescription): Use it everywhere.
5410 * cspi/spi_main.c (get_live_refs): a pointer hash.
5411 (spi_object_hash, spi_object_equal): comment out.
5412 There are issues with CORBA object hashing that need
5415 * libspi/application.c (spi_application_init),
5416 (spi_application_new): upd.
5418 * libspi/accessible.c (spi_accessible_object_finalize): kill.
5419 (spi_accessible_class_init): upd.
5420 s/accessible/object/ in epv methods.
5422 2001-12-05 Bill Haneman <bill.haneman@sun.com>
5424 * at-bridge/bridge.c:
5425 Reorder the bridge initialization into the bridge gtk_module_init,
5426 an immediate call to bridge_register_app, and an idle_add for
5427 register_atk_event_listeners (the only code that *must* wait until
5428 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
5429 the activation, creates the application's Accessible object, and
5430 queues the bridge_idle_init function. Restored call to
5431 Accessibility_Registry_deregisterApplication().
5432 Prior to making this call we obtain a new reference to the
5433 registry, which is a temporary hack that helps us handle apps that
5434 shut down the bonobo mainloop before we get there.
5436 * libspi/registry.c:
5437 Fix string leakage in debug block, and don't segv if a an app
5438 dies before its event notifications have been propagated.
5441 Modify cspi_check_ev() to call g_warning() rather than g_error(),
5442 as stopgap measure until we get proper exception handling when
5443 objects die during or before interrogation.
5447 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
5448 Also changed default value of is_gnome_app to TRUE.
5451 * test/keysynth-demo.c:
5452 Changed use of SPI_init and SPI_event_main to reflect API change above.
5455 Made report_focus_event check the warning value from getName
5456 before reporting on focussed accessible; simplifies handling of
5457 notifications from dead objects.
5459 * test/test-simple.c: (Changes not in this patch since source is
5462 2001-12-05 Michael Meeks <michael@ximian.com>
5464 * registryd/registryd.c (main): protect against
5465 bonobo-activation startup race condition.
5467 * cspi/spi_main.c (cspi_object_add_check): cope
5468 with the exception elegantly.
5470 * idl/Accessible.idl: decl. ChildGone
5472 * libspi/desktop.c (spi_desktop_dispose): impl.
5473 (spi_desktop_class_init): upd.
5474 (spi_desktop_add_application),
5475 (spi_desktop_remove_application),
5476 (abnormal_application_termination): impl.
5477 (impl_desktop_get_child_at_index): re-impl.
5480 (impl_accessibility_registry_deregister_application),
5481 (impl_accessibility_registry_register_application):
5482 kill excessive debug clutter.
5484 * test/test-simple.c (test_misc): test some NULL
5485 tolerance. (main): upd.
5487 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
5488 implements no interfaces - so let's not crash.
5490 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
5492 * libspi/accessible.c (spi_accessible_new_return): impl.
5493 helper to calm the cut and paste, to cope with
5494 NULL AtkObjects effectively and efficiently, and to kill
5495 the referencing bugs.
5497 * libspi/table.c (impl_getAccessibleAt),
5498 (impl_getRowHeader, impl_getColumnHeader): upd.
5500 * libspi/hyperlink.c (impl_getObject): upd.
5502 * libspi/accessible.c
5503 (impl_accessibility_accessible_get_child_at_index): upd.
5505 * libspi/component.c
5506 (impl_accessibility_component_get_accessible_at_point): upd.
5508 * test/test-simple.c (test_editable_text, test_text): impl.
5511 * cspi/spi_editabletext.c
5512 (AccessibleEditableText_insertText): constify.
5514 * test/test-simple.c (focus_me): make more robust.
5516 * libspi/accessible.c: remove some printfs in methods that
5517 we test and work fine, so we can get a clean tree dump.
5519 * test/test-simple.c (validate_accessible),
5520 (validate_tree): make tree dumping pretty too.
5522 * at-bridge/bridge.c (bridge_signal_listener): upd. so
5523 it builds without debug on.
5525 * test/test-simple.c (validate_accessible): fix the most
5528 * cspi/spi_main.c (spi_object_release): leave the nicely
5529 blanked memory around if in debug mode.
5531 * cspi/spi-listener-impl.c (cspi_event): use add_check.
5533 [committed to fixups2]
5534 2001-12-05 Michael Meeks <michael@ximian.com>
5536 * libspi/editabletext.c
5537 (spi_editable_text_class_init): g_type_class_peek_parent,
5538 not interface peek - so we finalize cleanly.
5540 * libspi/accessible.c (spi_accessible_new): kill debug.
5542 * test/test-simple.c (validate_accessible): fix ref.
5543 leak, print strings before freeing them; sigh, comment a
5544 chunk out due to strangeness.
5545 (validate_tree): unref the child after use.
5547 * cspi/spi_component.c (AccessibleComponent_getLayer):
5548 add missing break statement, switch on zlayer not the
5549 uninitialized retval.
5551 * cspi/spi_main.c (cspi_object_add): add assert, local ref
5552 before (possibly re-entering) remote unref.
5554 * test/simple-at.c (main): unref the desktop.
5556 * cspi/spi_accessible.c (cspi_accessible_is_a): move
5559 * cspi/spi_main.c (cspi_accessible_is_a): here to
5560 isolate bonobo API usage more.
5562 * libspi/registry.c (impl_accessibility_registry_register_application):
5563 prune bogus comment.
5565 2001-12-04 Michael Meeks <michael@ximian.com>
5567 * test/test-simple.c (validate_tree): upd.
5568 IndexInParent check to make it more lucid.
5569 (validate_accessible): dump the tree.
5571 * libspi/accessible.c (de_register_public_ref),
5572 (get_public_refs): impl.
5573 (spi_accessible_new): make more efficient & intuitive.
5574 Now IndexInParent check works.
5576 2001-12-04 Michael Meeks <michael@ximian.com>
5578 * cspi/spi-util.h: remove.
5580 * cspi/spi.h: move SPI_freeString here
5582 * libspi/component.c (impl_accessibility_component_get_layer):
5584 (impl_accessibility_component_get_mdi_z_order): ditto,
5585 return -1 on error - is this ok ?
5587 * test/test-simple.c (test_application): impl.
5589 * cspi/spi_accessible.c (Accessible_getApplication),
5590 (Accessible_isApplication): impl.
5592 * libspi/registry.c (spi_listener_struct_free): release
5593 the CORBA reference too.
5595 * libspi/accessible.c
5596 (impl_accessibility_accessible_get_parent): fix ref leak.
5598 * libspi/registry.c (spi_registry_new): make the registry
5599 immortal - we don't want it to go away ever.
5601 * libspi/application.c
5602 (spi_accessible_application_finalize): impl. cleanup.
5604 * cspi/spi_registry.c
5605 (deregisterGlobalEventListenerAll),
5606 (deregisterGlobalEventListener),
5607 (deregisterAccessibleKeystrokeListener): fix ref leak.
5609 * cspi/spi_main.c (SPI_init): remove redundant ref.
5611 * test/test-simple.c (unutterable_horror): impl. to force a
5616 (impl_accessibility_registry_deregister_application): release
5617 the application when we de-register it.
5619 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
5620 until we have the infastructure to get it right.
5622 2001-12-03 Michael Meeks <michael@ximian.com>
5624 * libspi/Makefile.am: only build eventlistener.[ch]
5626 * libspi/accessible.c
5627 (impl_accessibility_accessible_get_child_at_index): don't leak.
5629 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
5630 before we hit the idle handler.
5632 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
5633 debugging than exit.
5635 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
5637 * libspi/listener.c (impl_notify_event): check source
5638 not NIL before unref.
5640 * libspi/registry.c (impl_registry_notify_event): ditto.
5642 * libspi/eventlistener.c
5643 (impl_accessible_event_notify_event): unref the source.
5645 * libspi/accessibleeventlistener.c
5646 (impl_accessible_event_notify_event): unref the source.
5648 * idl/Event.idl: remove 'hash_id' attribute - of no
5651 * libspi/application.c (notify_listeners): upd list
5653 (spi_application_object_event_listener),
5654 (spi_application_toolkit_event_listener): upd to do correct
5658 (_registry_notify_listeners): update.
5659 (parse_event_type): this method also leaks like a sieve.
5660 (impl_accessibility_registry_deregister_global_event_listener):
5661 fix ETYPE_WINDOW case.
5663 * libspi/application.c
5664 (impl_accessibility_application_register_object_event_listener):
5667 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
5669 * libspi/hypertext.c (impl_getLink): ditto.
5671 * cspi/spi_main.c (cspi_object_add): remove
5672 bogus CORBA_Object_duplicate.
5674 * cspi/spi-listener-impl.c (cspi_event): dup/ref
5677 * cspi/spi_accessible.c
5678 (Accessible_getRelationSet): fix leak / referencing issue.
5680 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
5681 (cspi_object_add, cspi_object_unref): upd.
5682 (spi_object_release, get_live_refs): impl.
5683 (cspi_cleanup): simplify.
5685 * *.[ch]: s/boolean/SpiBoolean/
5687 * cspi/spi_accessible.c (role_names): actualy order so it
5688 corresponds with the enum !
5690 * test/test-simple.c (test_roles): check some role strings
5691 vs. enums to detect offset errors.
5693 2001-12-01 Michael Meeks <michael@ximian.com>
5695 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
5697 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
5699 (Accessible_getChildAtIndex): use cspi_add_check so we
5700 check the ev before using a (possibly) invalid value.
5702 * libspi/accessible.c
5703 (impl_accessibility_accessible_get_parent): don't segv
5706 * at-bridge/bridge.c (gtk_module_init): upd.
5707 (bridge_property_event_listener): don't leak strings
5709 (bridge_state_event_listener),
5710 (bridge_property_event_listener): don't use a static
5711 buffer in case of recursive event emission &
5712 re-enterancy - split out the swathe of cut and paste
5714 (emit_eventv): and fix 2 ref leaks here & comply to the
5716 (bridge_register_app): rename to
5717 (bridge_idle_init): this and kill arg parsing, split
5718 various inits & bonobo-activation registration to module
5719 init time, kill referencing error.
5720 (bridge_exit_func): fix the same leak.
5721 (bridge_focus_tracker): don't leak event structures
5723 (bridge_signal_listener): more leakage and cut & paste
5725 (bridge_key_listener): return the result - FIXME is
5726 this polarity correct ?
5727 (accessibility_keystroke_from_atk_key_event): rename
5728 (accessibility_init_keystroke_from_atk_key_event): and stop
5730 (gtk_module_init): return a value - not that it is checked by
5732 (bridge_key_listener): register my horror at casting between
5733 IDL defined structs.
5734 (bridge_get_registry): kill - not used.
5736 * cspi/spi_accessible.c (Accessible_getRole): make return const.
5738 * test/test-simple.c (test_roles): impl.
5739 (test_desktop, validate_accessible, validate_tree): impl.
5741 * cspi/spi_accessible.c (role_names): fixup bogus
5742 MAX_ROLES setup, make constants const for efficient linkage
5743 (AccessibleRole_getName): conform to coding style, make
5746 2001-11-30 Michael Meeks <michael@ximian.com>
5748 * cspi/spi.h: add missing prototype.
5750 * libspi/registry.c (spi_listener_struct_new): fix sig.
5752 * test/Makefile.am: add test-simple
5754 * test/test-simple.c: add
5756 * test/test.sh: add.
5758 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
5760 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
5761 do it straight - since otherwise we often get an activation race.
5763 [ work before Bill duplicated a chunk of it ... ]
5764 2001-11-30 Michael Meeks <michael@ximian.com>
5766 * libspi/keystrokelistener.c
5767 (spi_keystroke_listener_class_init): fixup arg
5770 * libspi/eventlistener.c
5771 (spi_event_listener_class_init): ditto.
5773 * tests/test.sh: add.
5775 * cspi/spi-listener-impl.h: update macros.
5777 * cspi/spi-listener-impl.c
5778 (cspi_event_listener_remove_callback): add
5779 correct pre-conditions.
5781 * cspi/spi_main.c (SPI_exit): guard vs. double
5782 exits, exit the mainloop nicely.
5783 (SPI_event_main): make more sense.
5784 (SPI_init): move the atexit evilness here so we
5785 always do it (yuck).
5786 (SPI_event_main): upd.
5788 * test/simple-at.c: update for listener changes.
5790 * registryd/registryd.c (main): prune kruft.
5792 * libspi/libspi.h: upd.
5794 * libspi/eventlistener.[ch]: rename broken macros.
5796 * libspi/accessibleeventlistener.[ch]: remove.
5798 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
5800 * test/test-simple.c: Add - automated tests.
5802 * cspi/spi-listener-impl.c (cspi_event),
5803 (cspi_key_event): add user_data to invoke.
5804 (cspi_keystroke_listener_finalize): impl.
5805 (cspi_keystroke_listener_class_init): upd.
5808 (createAccessibleEventListener),
5809 (AccessibleEventListener_addCallback),
5810 (createAccessibleKeystrokeListener),
5811 (AccessibleKeystrokeListener_addCallback): upd.
5813 * libspi/deviceeventcontroller.c
5814 (spi_device_event_controller_check_key_event): add public proto.
5817 (impl_accessibility_registry_deregister_global_event_listener):
5818 always init listeners.
5819 (_registry_notify_listeners): yes it is.
5821 * cspi/spi-listener-impl.c (cspi_key_event):
5823 (cspi_event_listener_finalize): impl.
5824 (cspi_event_listener_class_init): hook up.
5825 (event_handler_new, event_handler_free),
5826 (event_list_remove_by_callback): impl.
5827 (cspi_event_listener_remove_callback),
5828 (cspi_keystroke_listener_remove_callback),
5829 (cspi_keystroke_listener_add_callback),
5830 (cspi_event_listener_add_callback): upd.
5832 * libspi/keystrokelistener.c
5833 (keystroke_listener_object_finalize): kill
5834 (spi_keystroke_listener_class_init): upd.
5835 (spi_keystroke_listener_add_callback),
5836 (spi_keystroke_listener_remove_callback): kill,
5838 (impl_key_event): prune drasticaly.
5840 * libspi/eventlistener.c
5841 (spi_event_listener_add_callback),
5842 (spi_event_listener_remove_callback): kill, use
5844 (impl_accessible_event_notify_event): upd.
5845 (spi_event_listener_object_finalize): remove.
5847 * libspi/Makefile.am: use eventlistener.[ch]
5849 2001-12-04 Bill Haneman <bill.haneman@sun.com>
5851 * libspi/registry.c (_registry_notify_listeners):
5852 Changed listener loop iteration to use preferred convention.
5853 Got rid of string memory leaks caused be calling g_strconcat
5854 inside function calls.
5856 * libspi/registry.c (parse_event_type):
5857 Stopped g_strconcat memory leaks, free the g_strsplit return,
5858 g_strdup the split pieces when used, etc.
5860 2001-12-04 Bill Haneman <bill.haneman@sun.com>
5863 Change method 'compare' to return a 'difference set' rather than
5864 taking a StateSet as an out parameter (more Java-friendly).
5866 * idl/Accessible.idl:
5867 Added CORBA struct 'BoundingBox', to faciliate API changes below:
5869 * idl/Component.idl:
5871 Changed methods 'getExtents' and 'getImageExtents' in these
5872 interfaces to return a BoundingBox structure.
5873 (getPosition and getSize are redundant and possibly should be
5874 removed, rather than creating a corresponding Point struct.)
5876 * cspi/spi_component.c:
5877 Modify implementation of getExtents to reflect the above IDL
5882 Add (missing) AccessibleImage_getExtents () API.
5884 * docs/reference/cspi/at-spi-cspi-sections.txt:
5885 Added AccessibleImage_getImageExtents () to docs.
5887 2001-12-03 Bill Haneman <bill.haneman@sun.com>
5889 * idl/Component.idl:
5890 Added two methods, getLayer () and getMDIZOrder (), to reflect
5891 the new ATK methods atk_object_get_layer and
5892 atk_object_get_mdi_z_order. (Which arguably should be part of the
5893 AtkComponent API and AtkObject). Also added an enum,
5894 ComponentLayer, for the first method's return value.
5896 * libspi/component.c:
5897 Added implementations for these methods.
5899 * cspi/spi_component.c:
5901 Added cspi binding methods for above,
5902 AccessibleComponent_getLayer() and
5903 AccessibleComponent_getMDIZOrder().
5904 Added cspi enum 'AccessibleComponentLayer'.
5906 * docs/reference/cspi/at-spi-cspi-sections.txt:
5907 Added above methods to docs.
5911 Changed typedef for 'boolean' type (and all references to it) to
5912 SPIBoolean, to avoid keyword clashes with C++.
5915 Changed usages of 'boolean' to SPIBoolean.
5917 * test/keysynth-demo.c:
5918 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
5919 app), except where SPIBoolean is required by the callbacks API.
5921 2001-12-02 Bill Haneman <bill.haneman@sun.com>
5923 * cspi/spi_registry.c:
5924 Removed obsolete X event loop for passive keygrabs (which now
5927 * registryd/registryd.c:
5928 Removed unnecessary call to gdk_init() [cruft]. This also allows
5929 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
5932 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5934 * docs/reference/cspi:
5935 Included docs for SPI_freeString in generated documentation.
5938 Renamed spi_freeString to SPI_freeString, for consistency. Added
5939 documentation for this function.
5942 Renamed spi_freeString to SPI_freeString, for consistency.
5943 Removed obsolete method declaration string_from_corba_string.
5945 * test/keysynth-demo.c:
5946 Small tweak to comments.
5949 Stopped leaking the strings returned from CSPI.
5951 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5953 Merged Michael's branch (see his ChangeLog entries below).
5955 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
5956 bridge is alive, release on exit.
5958 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
5959 Fix type check macro.
5962 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
5965 Added is_gnome_app static, and method cspi_is_gnome_app(),
5966 so we can call the appropriate shutdown routine at exit in SPI_exit.
5968 * cspi/spi_main.c (cspi_object_ref):
5969 Duplicate the corba object passed in, since we're keeping it around.
5971 * cspi/SPI_exit.c, cspi_cleanup:
5972 Moved the releasing of the live refs to its own function, so we
5973 can put it in g_atexit (). Call the appropriate shutdown API
5974 depending on whethe calling client is a gnome app or not
5975 (bonobo_main_quit or CORBA_ORB_shutdown).
5977 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
5978 Unref the listener when this method is called, after
5979 deregistration. Updated the API docs to note this behavior.
5981 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
5982 Bugfixes: Ref the bonobo object when returning a parent or child
5983 reference, or an AccessibleRelation. Generally made sure
5984 BonoboObject refcount is incremented whenever we return an
5987 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
5988 Fixed typo/bug in signal declaration.
5990 * libspi/accessibleeventlistener.h:
5993 * libspi/application.c (spi_application_new):
5994 Fixed leak in initialization.
5997 Remembered to increment bonobo-object refcount when returning
5998 children (applications) from desktop object.
5999 Added (empty) finalize method.
6001 * libspi/deviceeventcontroller.c:
6002 Hold a ref to listeners inside DEControllerKeyListeners.
6003 Added dec_key_listener_free() method. Use prepend instead of
6004 append in key_listener list. Fixed some refcount madness and
6005 leaks in the listener registration/deregistration - deregistration
6006 now calls dec_key_listener_free() on listeners, and on the
6007 temporarily constructed dec_key_listener() used to perform the search/match.
6009 * libspi/hypertext.c (spi_hypertest_finalize):
6010 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
6011 class. Also fixed spi_hypertext_interface_new() and
6012 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
6014 * libspi/hypertext.h:
6015 Removed pointless and duplicate AtkObject pointer from
6018 * libspi/keystrokelistener.c:
6019 Fixed incorrect type of keystroke_listener_parent_class,
6020 renamed keystroke_listener_object_finalize to
6021 spi_keystroke_listener_object_finalize.
6022 Fixed typo in signal declaration
6023 (spi_keystroke_listener_class_init).
6025 * libspi/registry.c:
6026 Added funcsions spi_listener_struct_new() and
6027 spi_listener_struct_free() to help with memory management issues.
6028 We also now use these methods instead of gnew + poking stuff into
6029 the struct, and to decrement listener counts/free the listeners
6030 when deregistering them.
6031 Fix more refcount bugs in getDesktop() and
6032 getDeviceEventController().
6035 De-ref the desktop after enumerating the applications. Explicitly
6036 decrement the refcounts on the created listeners on exit (using
6037 _unref for keystroke listeners, and via the
6038 deregisterGlobalEventListenerAll command for other event
6041 2001-11-27 Michael Meeks <michael@ximian.com>
6043 * cspi/spi-listener.h: fixup enum.
6045 2001-11-27 Michael Meeks <michael@ximian.com>
6047 * cspi/spi-listener-impl.c (cspi_event_listener_new),
6048 (cspi_keystroke_listener_new): Use the cspi variants.
6050 2001-11-26 Michael Meeks <michael@ximian.com>
6052 * test/keysynth-demo.c: fix 2 compile warnings, missing
6055 * test/simple-at.c (report_focussed_accessible),
6056 (report_focus_event, report_button_press),
6057 (check_property_change, is_command_key),
6058 (report_ordinary_key_event, report_command_key_event): upd.
6060 * util/mag_client.h: include pre-requisites.
6062 * libspi/accessibleeventlistener.c
6063 (spi_event_listener_object_finalize): free any lingering
6066 * libspi/keystrokelistener.c
6067 (keystroke_listener_object_finalize): ditto.
6069 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
6070 callbacks, with cspi types.
6072 * cspi/spi_event.c (createAccessibleEventListener): chain to
6073 (AccessibleEventListener_addCallback): here.
6074 (createAccessibleKeystrokeListener): chain to
6075 (AccessibleKeystrokeListener_addCallback): here.
6077 * libspi/keystrokelistener.c
6078 (spi_keystroke_listener_class_init): add signal.
6079 (impl_key_event): emit the event.
6080 (boolean_handled_accumulator): impl.
6081 (marshal_BOOLEAN__POINTER): add, gack.
6083 * libspi/accessibleeventlistener.c
6084 (spi_event_listener_class_init): add signal.
6085 (impl_accessible_event_notify_event): emit the signal &
6086 make the loop efficient.
6087 (spi_event_listener_add_callback): prepend the callback.
6089 * libspi/accessibleeventlistener.h: add an 'event' signal,
6090 decl type on callback.
6092 * libspi/keystrokelistener.h: ditto.
6094 * cspi/spi-listener.h: make methods typesafe and
6095 make them use the new event typedefs.
6097 * test/simple-at.c (report_focussed_accessible):
6098 include mag_client.h
6099 Use *(void *)text_interface not the other thing.
6101 * configure.in: add gtk to registryd bits - since we use
6104 * util/magnifier.c: include libbonobo.h
6106 2001-11-25 Bill Haneman <bill.haneman@sun.com>
6108 * test/keysynth-demo.c:
6109 Turned this into a simple scanning keyboard, to demonstrate the
6110 use of g_timeout_add () as a means of creating timers for
6111 scanning, and the use of GtkStyle for visually indicating when
6112 virtual keyboard elements are selected.
6114 keysynth-demo now listens to any keyboard keys with zero-valued
6115 keycodes (i.e. 'unused' keys) and interprets them as
6118 Reworked the shiftlatch code so that shift-down state isn't held
6119 for long periods (it's only synthesized immediately prior to
6120 the keysynth event it's modifying). Note that shiftlatch in this
6121 demo is a convenience, not intended to take the place of AccessX
6122 which is the better choice for getting 'sticky' modifier keys.
6124 * libspi/deviceeventcontroller.c:
6125 * at-bridge/bridge.c:
6126 * cspi/spi_registry.c:
6127 Removed some debug print stuff, and put other verbosity in #ifdef
6132 Implemented some more of the magnifier IDL for the simple
6133 magnifier: namely, getZoomRegionParams.
6134 Added mag_x and mag_y members to MagnifierData struct, aid of this
6136 Added GtkWindow::realize signal handler to magnifier, to keep it
6137 from receiving keyboard focus from the WM.
6139 2001-11-23 Mark McLoughlin <mark@skynet.ie>
6141 * cspi/spi-private.h: my guess at what michael forgot
6142 before he ran off to NZ :-)
6144 2001-11-23 Michael Meeks <michael@ximian.com>
6146 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
6147 comment out non existant method invoke so we link.
6149 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
6150 use bonobo_exception_get_text for more friendly warnings.
6152 * cspi/spi.c (Obj_Add): move into spi_main & rename
6153 spi_object_add; kill spi.c
6155 * cspi/spi_registry.c
6156 (deregisterGlobalEventListener),
6157 (deregisterGlobalEventListenerAll),
6158 (registerGlobalEventListener): fix exception leaks.
6160 * cspi/spi_main.c (spi_exception): impl. helper, so we
6161 don't leak exceptions.
6163 * cspi/spi_selection.c
6164 (AccessibleSelection_deselectSelectedChild): return the
6167 * cspi/spi_main.c (spi_ev): impl; hack - gack.
6168 (spi_registry): ditto.
6169 (SPI_init): guard against double inits.
6171 * cspi/*.c: use spi_ev (), and spi_registry () where
6172 appropriate - a temporary hack until we have something
6173 better. Use spi_object_add
6175 2001-11-22 Michael Meeks <michael@ximian.com>
6177 * cspi/Makefile.am: re organise, install the headers.
6179 * cspi/*.h: add G_BEGIN/END_DECLS
6181 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6184 Added non-preemptive keylistener for key events with no modifiers
6185 and shift-only modifier.
6187 * libspi/keystrokelistener.c:
6188 Removed some verbose diagnostics printout.
6190 * cspi/spi_registry.c:
6191 Fixed a bug that caused all key listeners to be registered as
6194 * libspi/deviceeventcontroller.c:
6195 Fixed bug that caused XGrabKey (preemptive key grab) to be called
6196 for non-preemptive key masks.
6199 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6201 * docs/reference/idl/at-spi-idl-docs.sgml:
6202 * docs/reference/idl/at-spi-idl-sections.txt:
6203 * docs/reference/idl/at-spi-idl-overrides.txt:
6204 Added missing files.
6206 * docs/reference/Makefile.am:
6207 removed idl from SUBDIRS until we can figure a way to get gtk-doc
6208 to scan the IDL files :-(
6213 Added .cvsignore files.
6215 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6217 * libspi/deviceeventcontroller.c:
6218 * libspi/keystrokelistener.c:
6220 * cspi/spi_registry.c:
6221 Added filters for KeySets, KeyEventSeq, and event types to key
6222 event dispatching, so listeners should only receive those events
6223 that they requested :-)
6225 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6230 * docs/reference:Makefile.am:
6231 * docs/reference/cspi:
6232 * docs/reference/cspi:Makefile.am:
6233 * docs/reference/cspi:tmpl:
6234 * docs/reference/cspi:tmpl:*.sgml:
6235 * docs/reference/idl:
6236 * docs/reference/idl:Makefile.am:
6237 * docs/reference/idl:at-spi-idl-sections.txt:
6238 * docs/reference/idl:at-spi-idl-docs.sgml:
6239 * docs/reference/idl:tmpl:
6240 * docs/reference/idl:tmpl:*.sgml:
6242 Restructured docs directory to allow separate 'reference' docs
6243 section, and forked idl and cspi docs. Added the sgml template
6244 files to CVS. Added the first sections/structural sgml for the
6247 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
6249 * configure.in, libspi/Makefile.am: find libXtst.
6251 2001-11-21 Michael Meeks <michael@ximian.com>
6253 * test/accessx-gui.c: s/spi_value/value/ - doh.
6255 * libspi/base.[ch]: add.
6257 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6259 * idl/Accessible.idl:
6260 * idl/Application.idl:
6263 Started gtk-doc cleanup on IDL.
6265 * libspi/deviceeventcontroller.c:
6266 Added and connected non-preemptive key notification from the
6267 toolkits (in addition to the pre-emptive support from XServer
6268 which we had before, but which causes 'focus flashing'). Filters
6269 are presently limited to key modifiers and global/non-global,
6270 KeySets are presently ignored, as are KeyEvent masks.
6272 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
6273 structs into the persistant structure rather than just storing
6274 pointers to things that might not persist across servant
6277 The XGrabKey call now does async keygrabs, because synchronous
6278 ones were deadlocking with GDK_event code in a very nasty way.
6280 Added boolean to internal method notify_keylisteners, to indicate
6281 whether the event came from the 'toolkit source' or the 'global
6282 (XServer) source' - this is used in the notification process to
6283 determine which listeners to send the event to.
6285 deviceeventcontroller.c is now warning-free.
6287 * libspi/registry.c:
6288 Fixed regression in application de-registration.
6289 Also fixed some really brain-dead weirdness having to do with
6290 event dispatching - event structs are now duplicated before being
6291 re-marshalled in the dispatch to listeners. This also fixes a
6292 Solaris build problem.
6295 2001-11-20 Michael Meeks <michael@ximian.com>
6298 (impl_accessibility_registry_deregister_global_event_listener):
6301 * libspi/deviceeventcontroller.c
6302 (spi_device_event_controller_check_key_event): return
6303 FALSE on no virtual method.
6305 * libspi/*..h: make includes work on a correctly pathed install.
6307 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
6309 * libspi/application.h: kill unused ( and whacked out )
6310 gboolean *spi_application_set_id (AtkObject *app, long id);
6312 2001-11-20 Michael Meeks <michael@ximian.com>
6314 * libspi/*.[ch]: further convert to bonobo's type func
6315 macros, remove redundnant casts etc.
6317 * libspi/text.c s/accessibility_text/spi_text/g,
6318 re-order to de-cruft.
6320 * libspi/hypertext.c: re-order to kill a huge slew
6321 of redundant forward decls.
6323 * libspi/relation.c: ditto.
6325 * libspi/image.c: ditto.
6327 * */.cvsignore: update
6329 2001-11-20 Michael Meeks <michael@ximian.com>
6331 * libspi/deviceeventcontroller.c
6332 (_controller_register_with_devices): use g_getenv,
6333 kill stdlib.h include.
6335 * libspi/keystrokelistener.c
6336 (spi_keystroke_listener_get_type): kill
6337 (spi_keystroke_listener_class_init),
6338 (spi_keystroke_listener_init): rename to this.
6340 * libspi/text.c (impl_getAttributes): fix warning / bug.
6342 * libspi/*.[ch]: more headers, includes and over commenting.
6344 2001-11-20 Michael Meeks <michael@ximian.com>
6346 * libspi/*.[ch]: fixup headers, includes and over commenting.
6348 * libspi/image.c (impl__get_imageDescription): const
6349 correctness warning fix. remove redundant casting.
6351 * libspi/table.c (impl_getRowDescription): ditto.
6352 (impl_getColumnDescription): ditto.
6354 * libspi/libspi.h: add.
6356 2001-11-19 Michael Meeks <michael@ximian.com>
6358 * libspi/editabletext.c (impl_setAttributes): fix warnings.
6360 * libspi/component.c (accessibility_component_get_type):
6361 rename to (spi_component_get_type): and macroify.
6362 (accessibility_component_init): rename to
6363 (spi_component_init): this
6364 (accessibility_component_class_init): rename to
6365 (spi_component_class_init): this
6367 * libspi/action.c (spi_action_get_type): kill, use the macro.
6369 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
6372 * libspi/application.c (spi_application_object_event_listener),
6373 (impl_accessibility_application_register_object_event_listener):
6374 warning fixes / const understanding updates.
6376 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
6379 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6381 * libspi/spi_accessible.c: Added docs and C bindings for
6382 AccessibleStateSet. (No implementations yet). Documentation
6383 coverage for C bindings now 100%. Made docs for event listeners
6388 boolean notifyListenersSync (in DeviceEventListener listener,
6389 in DeviceEvent event);
6391 oneway void notifyListenersAsync (in DeviceEventListener listener,
6392 in DeviceEvent event);
6394 Added DeviceEventListener and DeviceEvent structs (may deprecate
6395 KeyStroke and KeystrokeListener in favor of this generic
6396 event/listener framework for devices).
6398 * libspi/deviceeventcontroller.c:
6400 Changed some key listener code to take masks, etc., and paved the
6401 way for integration of toolkit/non-preemptive key events. Changed
6402 signatures of some internal methods.
6404 * at-bridge/bridge.c:
6405 Fixed regression connecting to interface signals, apparently
6406 caused by GTK+ changes.
6408 Added an internal bridge_state_listener to deal with
6409 property-change:accessible-state signals.
6411 Changed the key_listeners GList to store structs (including masks,
6412 etc.) instead of just CORBA_Objects (required for full
6413 implementation of key listener API).
6415 Connected the bridge to all currently supported Atk signals.
6416 Events now supported:
6417 object:property-change
6418 object:property-change:accessible-name
6419 object:property-change:accessible-state
6420 object:property-change:accessible-description
6421 object:property-change:accessible-parent
6422 object:property-change:accessible-value
6423 object:property-change:accessible-role
6424 object:property-change:accessible-table-caption
6425 object:property-change:accessible-table-column-description
6426 object:property-change:accessible-table-column-header
6427 object:property-change:accessible-table-row-description
6428 object:property-change:accessible-table-row-header
6429 object:property-change:accessible-table-summary
6430 object:children-changed
6431 object:visible-data-changed
6432 object:selection-changed
6433 object:text-selection-changed
6435 object:text-caret-moved
6437 object:row-reordered
6439 object:column-inserted
6440 object:column-reordered
6441 object:column-deleted
6442 object:model-changed
6444 2001-11-16 Bill Haneman <bill.haneman@sun.com>
6446 * libspi/hyperlink.c,h:
6447 Fixed some broken stuff in hyperlink.
6449 * libspi/relation.h:
6450 * libspi/relation.c:
6451 * cspi/spi_accessible.c:
6452 Initial implementations of AccessibleRelation methods, and docs.
6454 * libspi/accessible.c:
6455 Fixed a bug that caused SEGV if an accessible
6456 object's description is NULL, and a client
6457 requests it. An empty string is now returned.
6459 * cspi/spi_editabletext.c:
6460 * cspi/spi_hypertext.c:
6462 * cspi/spi_hyperlink.c:
6466 Doc coverage now 95%.
6468 2001-11-16 Bill Haneman <bill.haneman@sun.com>
6470 One last namespacing revision:
6471 * libspi/accessibleeventlistener.[ch]:
6472 Renamed SpiAccessibleEventListener to SpiEventListener,
6473 (no need for two namespaces ;-)
6475 And lots of documentation fixes:
6477 * docs/at-spi-docs.sgml:
6478 Fixed 'underscore vs. hyphen' bug that was preventing
6479 the gtk-doc API docs from being automatically generated.
6482 * cspi/spi-listener.h
6484 * cspi/spi_accessible.c
6486 * cspi/spi_application.c
6487 * cspi/spi_component.c
6488 * cspi/spi_editabletext.c
6490 * cspi/spi_hypertext.c
6492 * cspi/spi_registry.c
6493 * cspi/spi_selection.c
6497 * docs/at-spi-docs.sgml
6498 * docs/at-spi-sections.txt
6500 Added and fixed up gtk-doc documentation in cspi.
6502 Interfaces now (fully) documented (subject to revision and enhancement):
6504 Event Listener Support
6506 AccessibleApplication
6510 AccessibleEditableText
6517 AccessibleRelationSet
6522 2001-11-14 Bill Haneman <bill.haneman@sun.com>
6524 * at-bridge/bridge.c:
6525 Initial work for toolkit-level key snooper connection by bridge.
6530 New typedefs and fixes to support new namespacing, and cleaner
6531 separation of cspi bindings from libspi bonobo implementation.
6532 Removed inconsistent and extraneous Spi* namespace prefix that
6533 had crept into cspi headers.
6534 Lots of comment fixes that sed had missed.
6536 * cspi/spi-roletypes.h:
6537 * cspi/spi-statetypes.h:
6538 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
6539 to AccessibleRoleType.
6541 * libspi/accessibleeventlistener.h:
6542 Fixed minor namespacing weirdness.
6544 * libspi/deviceeventcontroller.c:
6545 Reordered some internal API for device listeners.
6546 Changed the key registry final boolean to 'is_system_global'
6547 rather than 'is_synchronous', which is more descriptive of its
6549 Added spi_device_event_controller_new().
6550 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
6552 * libspi/keystrokelistener.[ch]:
6553 Namespaced KeystrokeListener to SpiKeystrokeListener.
6554 Changed uses of keymasks to use SPI_ prefix, and did other
6557 * libspi/keymasks.h:
6558 Namespaced keymask constants with SPI_ prefix.
6560 * libspi/registry.c:
6561 Some warning fixes, and knock-on fixes from namespace changes.
6564 Added rules for accessx-gui test program.
6566 * test/accessx-gui.c:
6567 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
6568 utility. It doesn't actually use at-spi, but it's still cool and
6571 * test/keysynth-demo.c:
6575 Fixes so that these test clients work properly with the namespaced
6576 libraries. (Incompletely tested for technical reasons, fixes may follow)
6579 2001-11-13 Michael Meeks <michael@ximian.com>
6581 * libspi/application.c
6582 (impl_accessibility_application_get_version),
6583 (impl_accessibility_application_get_toolkit_name):
6585 (impl_accessibility_application_set_id),
6586 (impl_accessibility_application_get_id): remove
6587 redundant casting code.
6589 * libspi/action.c (impl_getDescription): fix warnings.
6591 * libspi/accessible.c
6592 (impl_accessibility_accessible_get_parent),
6593 (impl_accessibility_accessible_get_child_at_index),
6594 (impl_accessibility_accessible_get_state),
6595 (impl_accessibility_accessible_get_relation_set):
6596 warning fixes & include action.h
6598 2001-11-13 Michael Meeks <michael@ximian.com>
6600 * *.[ch] fix bits I screwed up:
6602 s/([^ \tb(\*\&\?\",])spi_/\1/g;
6603 s/([^ \tb(\*\&\?\",])Spi/\1/g;
6605 2001-11-13 Michael Meeks <michael@ximian.com>
6607 * *.[ch] Namespace libspi into spi_ and Spi.
6609 2001-13-11 Michael Meeks <michael@ximian.com>
6611 * Makefile.am: dist & install at-spi-1.0.pc
6613 * libspi/Makefile.am: install into at-spi-1.0
6615 * idl/Makefile.am (idldir): install into at-spi-1.0
6617 * at-spi-1.0.pc.in: add.
6619 * configure.in: build it.
6621 2001-11-12 Bill Haneman <bill.haneman@sun.com>
6623 * test/keysynth-demo.c:
6624 Use a 'realize' signal-handler to set the WM properties for
6625 the virtual keyboard, rather than making it a "POPUP" type
6626 override-redirect window (thanks to anders carlsson for that
6629 2001-11-11 Bill Haneman <bill.haneman@sun.com>
6632 * test/keysynth-demo.c:
6633 Added new test of key synthesis, which creates a simple
6634 (mouse-operated) onscreen keyboard. It inserts key events into
6635 the currently-focused window, thus it does not grab keyboard focus
6638 * cspi/spi_registry.c:
6639 Added C binding for AT-SPI generateKeyEvent.
6641 * libspi/deviceeventcontroller.c:
6642 Added call to XFilterEvent so that key listener works with XIM (we
6643 hope). Added event_synth_type to generateKeyEvent, so that we can
6644 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
6645 synthesize a press/release pair for KeySyms.
6647 2001-11-09 Bill Haneman <bill.haneman@sun.com>
6649 * libspi/Makefile.am:
6650 * registryd/Makefile.am:
6651 (temporary) hack to include libXtst in libspi and registryd.
6652 (Needed for keystroke synthesis, see below).
6655 Improved API for registerKeystrokeListener, in accordance with
6656 discussions with Gnopernicus team and X server research.
6658 * libspi/registry.c:
6659 * libspi/deviceeventcontroller.c:
6660 * libspi/accessible.c:
6661 * libspi/keystrokelistener.c:
6662 Changes and fixes to support keylisteners for potentially
6663 consumed key events (that is, 'passive grabs').
6664 Added implementation for generateKeyEvent() [untested].
6667 Changes to registerKeystrokeListener() API, as above.
6668 Added deregisterGlobalEventListenerAll(), and
6669 deregisterKeystrokeListener(), which are needed for clean exit of
6671 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
6672 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
6674 * cspi/spi_registry.c:
6675 Added implementations of function prototypes mentioned above.
6677 * registryd/registryd.c:
6678 Added the key listener event source as a g_timeout(), to allow
6679 receipt of key events that are not caught by GDK (since GDK
6680 doesn't support passive keygrabs, this was necessary).
6683 Changed to attach a keylistener to 'Alt' keys, and
6684 respond to the following keycommands: Alt-M (toggle magnifier);
6685 Alt-F (toggle speech); Alt-Q (quit).
6686 Added an exit routine to deregister the listeners, and a key
6687 listener that prints some key info to the console when a key
6688 matches the listener mask (and is thus received by the listener).
6690 * util/idl/Magnifier.idl:
6691 Changes to magnifier API to support multiple zoom regions,
6692 non-uniform scaling in x and y, markDirty, and a host of other
6693 features that would be useful to magnification.
6696 * util/mag_client.c:
6697 * util/mag_client.h:
6698 * util/mag_control.c:
6700 Source code changes to support the above IDL changes.
6703 As above, and also changes to use a (slower) generic conversion
6704 path for colormap conversions, since the fast RGB conversions have been
6705 reported to fail for 16-bit displays.
6707 2001-10-26 Michael Meeks <michael@ximian.com>
6709 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
6711 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
6713 * at-bridge/Makefile.am: fix LDFLAGS.
6715 2001-10-09 Bill Haneman <bill.haneman@sun.com>
6717 * at-bridge/bridge.c:
6718 Re-worked listeners for toolkit events, now we have signal
6719 and property listeners. Added a private method
6720 register_atk_event_listeners(), which registers with the
6721 various atk and gtk signals we need to monitor in order to emit
6723 Added emission hook for AtkObject:property-change events, to
6724 support the 'property listeners'.
6725 Fixed some alloc()s of Accessibility_Event structs to use CORBA
6728 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
6729 which emit warnings and exit, respectively, if CORBA errors occur
6730 during remote calls, and we now use these methods to check most of
6731 our CORBA calls in the C bindings.
6733 * cspi/spi_accessible.c:
6734 Changed AccessibleSelection_refSelectedChild() to
6735 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
6736 now increment refcounts.
6738 * cspi/spi_component.c:
6739 Fixed some long pointer casts (dangerous!) to pass pointers to
6740 CORBA_longs of the proper type to the CORBA stubs, and copy the
6741 data into the longs that were passed into the C bindings code.
6743 * at-bridge/bridge.c:
6745 * libspi/accessible.c:
6746 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
6747 hyperlinks, AtkHyperlink is an object type.
6749 * libspi/application.c:
6750 Added various conversions to and from "generic" event types and
6751 atk-specific types; this is really part of the 'bridge'
6752 implementation but is valid for all AtkObject-based accessibility
6755 * libspi/editabletext.c:
6756 Fixed nasty bug wherein editable text's finalize method was
6757 unref'ing tha AtkObject reference that the text parent class was
6758 about to unref _again_. There was also a nasty inheritance bug
6759 that meant that the AccessibleEditableText class was corrupt.
6761 * libspi/selection.c:
6762 Provided implementations for some selection API that was broken.
6764 * idl/Application.idl:
6765 Added registerObjectEventListener () method.
6768 Fixed a number of return values that were Bonobo_Unknowns from
6769 bonobo_object_corba_objref(), which I
6770 forgot to dup before returning. Changed instances of
6771 bonobo_object_corba_objref (bonobo_object(o)) to
6772 BONOBO_OBJREF(o), for concision and clarity.
6774 2001-10-13 Louise Miller <louise.miller@sun.com>
6776 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
6777 idl/Event.idl, idl/Registry.idl
6778 Changed these files to include Bonobo_Unknown.idl instead
6781 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
6783 * libspi/component.c libspi/component.h:
6784 Fixed typo. Added assertions for object checks in
6785 AccessibleComponent code.
6787 2001-10-09 Bill Haneman <bill.haneman@sun.com>
6789 * idl/Accessible.idl:
6790 Added 'isEqual (Accessible *object)'
6791 method for Accessible. (Not Yet Implemented).
6794 Changed signature of registerKeystrokeListener() to
6795 take a KeySet and KeyEventSeq so that specific keys and event
6796 types could be requested for monitoring, and added a flag
6797 is_synchronous so that either synchronous or asynchronous
6798 notification could be requested. (However this is not all
6799 implemented yet). This also meant adding two new typedefs,
6800 KeyEventSeq and KeySet.
6803 Added two new relations, RELATION_TOOLTIP_FOR and
6804 RELATION_LEAFNODE_OF.
6807 Added new state, STATE_HAS_TOOLTIP.
6809 * libspi/text.c, editabletext.c:
6810 Added new assertions to all casts of bonobo-objects from
6811 CORBA servants, to prevent Text API calls on non-text objects.
6812 Changed suspect casts of int-pointer types, so that we
6813 always send a valid CORBA_long pointer to the CORBA APIs that use
6814 in/out long parameters. We then have to copy from the CORBA_long
6815 into the regular long or int for return to the C bindings, or
6816 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
6819 * libspi/deviceeventcontroller.c:
6820 Cleaned these sources up.
6822 Changed return type for getCharacterAtOffset to
6823 CORBA_unsigned_long, to allow for 32-bit characters.
6826 2001-10-08 Bill Haneman <bill.haneman@sun.com>
6830 Fixed 'make dist' so that distro compiles...
6831 * libspi/keymasks.h:
6833 * cspi/spi-listener.c:
6834 KeystrokeListenerCB now returns a boolean.
6836 Added KeyEventType struct, and KeyStroke.
6837 Also added createKeystrokeListener(),
6838 KeystrokeListener_addCallback(),
6839 KeystrokeListener_removeCallback(), and added a keymask to
6840 registerKeystrokeListener().
6841 * cspi/spi_accessible.c:
6842 Changed numerous return types for interfaces from
6843 AccessibleComponent to Accessible<InterfaceName>; this was
6844 probably a cut-and-paste error.
6846 Implementations of new KeystrokeListener api (from spi.h,
6849 Changes to key modifier mapping.
6850 Created ControllerEventMask struct.
6851 Made DeviceEventController derive from Bonobo::Unknown.
6853 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
6854 * libspi/deviceeventcontroller.c:
6855 Added a number of new internal (private) methods.
6856 * libspi/editabletext.c:
6857 * libspi/editabletext.h:
6858 Fixed a number of bugs related to the fact that
6859 editabletext inherits from text. Fixed the EditableText struct,
6860 the init() call, and use correct casts when calling Text methods
6861 from an EditableText object. Removed (duplicate) atko from the
6862 EditableText structure, we use the one in the parent Text
6863 structure via the casts mentioned above.
6864 * libspi/keystrokelistener.[ch]:
6865 * libspi/registry.c:
6866 Changes in support of keyboard handling (above).
6868 Keyboard handling, though partly functional, is still not
6869 recommended for at-spi client use as there is considerable
6870 work yet to be done.
6873 Changed some places where pointers to various int types
6874 are cast to be pointers to CORBA_long types and vice-versa:
6875 pointer casting is not safe so we pass pointers of the correct
6876 types and then cast the result before putting it into the target
6879 * libspi/text.h: minor typos corrected.
6881 We now speak not only the name of a Text element, but the
6882 first sentence of its content, when it receives focus.
6883 I also changed the text compression to 75% from 50%.
6884 * util/Accessibility_Util.server.in:
6885 Changed the default magnifier type to be a 3x vertical
6886 splitscreen magnifier (was previously a 2x horizontal one).
6888 2001-10-03 Bill Haneman <bill.haneman@sun.com>
6890 * libspi/keystrokelistener.h:
6891 * libspi/keystrokelistener.c:
6892 Initial functional implementations of KeystrokeListener.
6895 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
6897 Fixed string handling for NULL strings in libspi.
6898 Added spi_freeString to free strings returned by C bindings.
6900 2001-09-30 Bill Haneman <bill.haneman@sun.com>
6902 * libspi/keystrokelistener.h:
6903 * libspi/keystrokelistener.c:
6904 Began (no-op) implementations of KeystrokeListener
6906 * libspi/deviceeventcontroller.c:
6907 * libspi/deviceeventcontroller.h:
6908 Began creating implementations of DeviceEventController,
6909 to handle keystroke and mouse event listening and
6911 * libspi/accessible.c:
6912 Stubbed-in the implementations for
6913 Accessibility_Accessible_getState and
6914 Accessibility_Accessible_getRelationSet.
6915 * libspi/registry.c:
6916 Improved de-registration process and fixed some bugs,
6917 deregistration now works correctly.
6919 Added initialization of applications list (to NULL).
6921 Reduced speech compression from 0.5 to 0.7, for demo.
6922 Changed call to gdk_window_set_decorations()
6923 to gtk_window_set_decorated().
6924 * at-bridge/bridge.c:
6925 Bridge now deregisters when app exits, via
6926 registration of a cleanup function
6927 with the g_atexit() call.
6928 Required making 'app' static, renamed 'this_app'.
6929 Fixed broken use of bonobo_init, passing argv wrongly.
6931 2001-09-27 Bill Haneman <bill.haneman@sun.com>
6935 Created a new directory for
6936 accessibility-related utilities, primarily for
6937 testing and demo purposes, but with possible
6944 Onscreen magnifier utility that
6945 is implemented as a bonobo service.
6947 * util/mag_client.c:
6948 * util/mag_client.h:
6949 Client-side support (simple C bindings)
6950 for Magnification service
6952 * util/mag_control.c:
6953 Client program example for
6954 Magnification service
6956 * util/Accessibility_Magnifier.server.in:
6957 Bonobo-activation file for the
6958 Magnification service.
6961 * util/idl/Magnifier.idl:
6962 IDL defining the bonobo Magnification
6966 Modifications to use the bonobo-activated magnifier
6967 above, in place of trying to connect to an existing
6968 magnifier that uses socket-listening IPC.
6970 If env variable MAGNIFIER is set, a magnifier service
6971 will be started if one does not exist.
6973 2001-09-25 Bill Haneman <bill.haneman@sun.com>
6975 * at-bridge/bridge.c:
6976 applied patch from Marc to build and run
6977 against new glib and gtk+ (seemed like a change
6978 to bonobo_init signature was made ?)
6980 made festival-server support turned off by default.
6981 Added support for a simple magnifier (off by default)
6982 which will be added to a 'util' directory later.
6983 * at-bridge/Makefile.am:
6984 Changed "application.h" header from a 'source'
6985 to a 'dependency' of libat-bridge.
6987 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6996 Added interface implementation c files to list of
6997 includes so they are included in libcspi.
7000 Changed prototype of AccessibleAction_doAction to return a
7002 Changed prototype of AccessibleTable_getCaption to
7003 return an Accessible.
7004 Changed prototype of AccessibleTable_getSelectedRows
7005 and AccessibleTable_getSelectedColumns to
7006 return a long (returns the number of selected rows
7007 or columns respectively).
7008 Changed name of AccessibleText_refRunAttributes to
7009 AccessibleText_getAttributes.
7010 Changed prototype of AccessibleText_getCharacterExtents to
7011 return a void rather than a boolean.
7012 Added support for a AccessibleCoordType parameter
7013 specifying what type of coordinates are desired.
7014 Added an AccessibleCordType parameter to
7015 AccessibleText_getPointAtOffset.
7017 * cspi/spi_accessible.c:
7018 Added code to return the outstanding interfaces from
7019 Accessible_queryInterface.
7021 * cspi/spi_action.c:
7023 Corrected call to getNActions to call the c binding
7026 * cspi/spi_editabletext.c:
7028 Changed name from setRunAttributes to setAttributes.
7030 * cspi/spi_hyperlink.c:
7032 Changed call to getNAnchors to correctly call the c
7033 binding for an attribute.
7035 * cspi/spi_hypertext.c:
7037 Changed getImageDescription to correctly call the
7038 binding for an attribute.
7040 * cspi/spi_selection.c:
7041 Changed getNSelectedChildren to correctly call the c
7042 binding for the attribute.
7043 Changed refSelectedChild to getSelectedChild.
7047 Changed getCaption to return an Accessible.
7048 Fixed calls which retrieve attributes.
7049 Changed refAt to getAccessibleAt.
7050 Changed getNSelectedRows and getNSelectedColumns to
7054 Changed getCharacterExtents and getPointAtOffset to accept an
7055 AccessibleCoordType.
7057 Changed calls which retrieve attributes.
7058 Changed refRunAttributes to getAttributes.
7063 * idl/Hyperlink.idl:
7064 Changed n_anchors attribute to nAnchors to keep naming
7065 convention consistent.
7068 Made Table inherit from Bonobo::Unknown.
7069 Added nSelectedColumns and nSelectedRows attributes.
7072 Made Value inherit from Bonobo::Unknown.
7074 * libspi/hyperlink.c:
7075 Change for nAnchors attributte name change.
7077 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7085 Added interface implementation c files to list of
7086 includes so they are included in libcspi.
7089 Changed prototype of AccessibleAction_doAction to return a
7091 Changed prototype of AccessibleTable_getCaption to
7092 return an Accessible.
7093 Changed prototype of AccessibleTable_getSelectedRows
7094 and AccessibleTable_getSelectedColumns to
7095 return a long (returns the number of selected rows
7096 or columns respectively).
7097 Changed name of AccessibleText_refRunAttributes to
7098 AccessibleText_getAttributes.
7099 Changed prototype of AccessibleText_getCharacterExtents to
7100 return a void rather than a boolean.
7101 Added support for a AccessibleCoordType parameter
7102 specifying what type of coordinates are desired.
7103 Added an AccessibleCordType parameter to
7104 AccessibleText_getPointAtOffset.
7106 * cspi/spi_accessible.c:
7107 Added code to return the outstanding interfaces from
7108 Accessible_queryInterface.
7110 * cspi/spi_action.c:
7112 Corrected call to getNActions to call the c binding
7115 * cspi/spi_editabletext.c:
7117 Changed name from setRunAttributes to setAttributes.
7119 * cspi/spi_hyperlink.c:
7121 Changed call to getNAnchors to correctly call the c
7122 binding for an attribute.
7124 * cspi/spi_hypertext.c:
7126 Changed getImageDescription to correctly call the
7127 binding for an attribute.
7129 * cspi/spi_selection.c:
7130 Changed getNSelectedChildren to correctly call the c
7131 binding for the attribute.
7132 Changed refSelectedChild to getSelectedChild.
7136 Changed getCaption to return an Accessible.
7137 Fixed calls which retrieve attributes.
7138 Changed refAt to getAccessibleAt.
7139 Changed getNSelectedRows and getNSelectedColumns to
7143 Changed getCharacterExtents and getPointAtOffset to accept an
7144 AccessibleCoordType.
7146 Changed calls which retrieve attributes.
7147 Changed refRunAttributes to getAttributes.
7152 * idl/Hyperlink.idl:
7153 Changed n_anchors attribute to nAnchors to keep naming
7154 convention consistent.
7157 Made Table inherit from Bonobo::Unknown.
7158 Added nSelectedColumns and nSelectedRows attributes.
7161 Made Value inherit from Bonobo::Unknown.
7163 * libspi/hyperlink.c:
7164 Change for nAnchors attributte name change.
7167 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
7169 implementations-- made server implementations own AtkObject pointers
7170 rather than their respective AtkInterrface pointers to fix
7171 refcounting. AtkHyperlink is still broken.
7173 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7174 * cspi/spi_accessible.c:
7175 Added method Accessible_Role_getName(),
7176 and requisite string array (role_names).
7177 Added conversion string_from_corba_strin() call
7178 to Accessible_getName and _getDescription.
7179 * libspi/accessible.c:
7180 Added implementation for Accessible_getRole()
7182 Added festival support, used if environment variable
7185 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7187 * at-bridge/bridge.c:
7188 Now allocate Accessibility_Event using
7189 Accessibility_Event__alloc() instead of g_new0().
7190 * libspi/accessibleeventlistener.c:
7191 Initialize AccessibleEventListener->callbacks to NULL.
7192 Fixed accessible__event_listener_init() param, changed to
7193 "AccessibleEventListener *" type.
7194 Changed a bonobo_object_release_unref() call to
7195 Accessibility_Accessible_unref().
7196 * libspi/listener.c:
7197 Changed Bonobo_Unknown_unref to (equivalent)
7198 Accessibility_Accessible_unref.
7199 * libspi/registry.c:
7200 Changed bonobo_object_release_unref to
7201 Accessibility_Accessible_unref.
7203 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7206 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
7207 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
7208 spi-util.c spi-util.h
7209 Implementations for C bindings to remaining accessibility
7212 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7215 changed return value of Action from void to boolean to
7216 bring in line with ATK.
7219 Changed getText funcions to return "out" start and end offsets.
7220 Changed getAttributes to take and offset and return the start
7221 and end offset of the attribute run.
7222 Changed getOffsetAtPoint and getCharacterExtents to take an
7223 enum describing whether coordinates are window or screen.
7226 libspi/action.c libspi/action.h libspi/editabletext.c
7227 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
7228 libspi/hypertext.c libspi/hypertext.h libspi/image.c
7229 libspi/image.h libspi/selection.c libspi/selection.h
7230 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
7231 libspi/value.c libspi/value.h
7232 Added server implementations for outstanding ATK interfaces
7233 not yet implemented.
7235 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7238 Added (missing) getName() method.
7239 Made nActions an attribute.
7240 * idl/EditableText.idl:
7241 Changed order of params in setAttributes.
7242 * idl/Hyperlink.idl:
7243 Removed getAnchor, added getURI.
7245 Changed attributes to methods, for efficiency
7246 (so that getting extents can be done in one call)
7247 * idl/Selection.idl:
7248 Changed nSelectedChildren to attribute, and re-indented.
7249 * idl/Table.idl: changed nrows, ncolumns, caption, summary
7251 * idl/Text.idl: reformatted to match our coding style.
7252 (temporarily?) removed getRowColumnAtOffset().
7253 Changed text selection API to support multi-select and
7254 non-contiguous selections, as in ATK.
7255 * idl/Value.idl: changed some methods to attributes.
7257 2001-08-24 Mark McLoughlin <mark@skynet.ie>
7259 * libspi/listener.c(impl_notify_event):
7260 BonoboUnkown_unref the source instead
7261 of bonobo_object_release_unref - the ORB
7262 handles the releasing.
7264 * configure.in: require ORBit-2.3.94 for
7267 2001-08-21 Bill Haneman <bill.haneman@sun.com>
7269 Tagged CVS repository 'EA_1_0'.
7270 * README.EARLY_ACCESS:
7271 Alphabetized acknowledgements list, and
7273 Listed some known dependencies of at-spi.
7275 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7277 * docs/at-spi-docs.sgml:
7278 * docs/at-spi-sections.txt:
7279 * docs/at-spi-overrides.txt: (Added zero-length file)
7280 Documentation improvements - gtk-doc should build
7281 docs for all implemented C bindings now.
7284 * cspi/spi.c: (New file)
7285 * cspi/spi_event.c: (New file)
7286 * cspi/spi_registry.c: (New file)
7287 * cspi/spi_accessible.c: (New file)
7288 * cspi/spi_application.c: (New file)
7289 * cspi/spi_component.c: (New file)
7290 Split spi_main.c into six parts, and included them from
7291 "spi.c". This is a bit of a hack, probably temporary,
7292 but required by gtk-doc, apparently.
7294 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7297 * docs/at-spi-docs.sgml:
7298 * docs/at-spi-sections.txt:
7300 Initial checkins/modifications for gtk-doc generation.
7303 Added (missing) interface query methods to Accessible's C binding.
7305 Added GenericInterface type definition.
7307 Added query for AccessibleComponent interface to focus event handler.
7308 Added printout of bounding box for focussed component.
7309 * libspi/component.c:
7310 Added partial implementation for AccessibleComponent to C binding.
7311 * idl/Application.idl:
7312 * libspi/registry.c:
7313 * libspi/listener.c:
7314 * libspi/application.c:
7315 * libspi/application.h:
7316 Changed "ID" attribute type from string to long.
7318 2001-08-19 Bill Haneman <bill.haneman@sun.com>
7322 Made method naming consistent: methods taking object args
7323 start with uppercase, other methods (except those using
7324 acronyms) start with lowercase. Underscores delimit between
7325 object names and method names:
7326 SPI_init() - uppercase since it starts with an acronym.
7327 getDesktopCount () - lowercase start since no object param0.
7328 Accessible_getName() - uppercase object type name, studlyCaps method
7332 Added gtk-doc documentation for all currently implemented
7333 methods in the C bindings API.
7335 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7337 * Makefile.am : changed build order to build test last.
7340 Changed "createEventListener" to "CreateEventListener".
7341 * libspi/accessibleeventlistener.c :
7342 Bugfix for addition of callbacks.
7343 * test/Makefile.am :
7344 * test/simple-at.c :
7345 Added new test that uses the C bindings API.
7347 * libspi/listener.c :
7348 * libspi/registry.c :
7349 * libspi/accessibleeventlistener.c :
7350 * at-bridge/bridge.c :
7351 Renamed member "target" of Accessibility_Event to "source",
7352 which is more descriptive.
7355 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7359 * cspi/Makefile.am :
7360 Added makefile support for at-spi/cspi directory.
7363 * cspi/spi-listener.h : (NEW FILE)
7364 Added support for/use of spi-listener.h.
7366 C bindings now build successfully, with no warnings.
7367 * libspi/accessibleeventlistener.h : (NEW FILE)
7368 * libspi/accessibleeventlistener.c : (NEW FILE)
7369 * libspi/Makefile.am :
7370 Added new object type "AccessibleEventListener"
7371 which inherits from Listener, and allows attachment
7372 of in-process callbacks (so that a client with a listening
7373 object instance can add functionality to the local
7374 implementation, dynamically).
7376 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7378 * libspi/accessible.c:
7379 Add implementation for get_index_in_parent().
7381 Added #include of "spi-roletypes.h", and
7382 added enumerated type AccessibleCoordType.
7383 Added definition for KeystrokeListener (function type).
7386 * cspi/spi-statetypes.h :
7387 * cspi/spi-roletypes.h :
7389 Added these headers, used by spi.h.
7391 Added code (NOTE: not yet built by make).
7393 2001-08-18 Mark McLoughlin <mark@skynet.ie>
7395 * libspi/Makefile.am: generate imodule
7396 at the same time as other idl compiler
7399 2001-08-17 Bill Haneman <bill.haneman@sun.com>
7400 * libspi/registry.c :
7401 * libspi/application.c :
7402 * idl/Application.idl :
7403 Made registration with toolkit an application method,
7404 which is required since each app has its own toolkit static
7405 environment. Thus the bridge must register for
7406 notification of toolkit events from each application in turn.
7407 Toolkit notifications are now successfully registered for, and
7408 sent to the listening at client.
7410 Changed toolkit event string to use hyphens rather than underscores.
7411 * libspi/listener.c :
7412 listner now gives more info in debug mode - it reports the
7413 name of the event received, as well as the name of the source.
7416 2001-08-16 Bill Haneman <bill.haneman@sun.com>
7418 * libspi/registry.c :
7419 added more implementation for toolkit events.
7420 Fixed bug such that toolkit event registrations
7421 (via atk) use the whole event name string, not
7423 Removed a useless call to an ORBit_ method.
7424 * at-bridge/bridge.c :
7425 Removed unused local sbuf[] variable.
7427 We now register for Gtk:GtkWidget:button_press_event
7428 events as well as "focus:" events.
7430 Add some more API from Registry.idl that was missing,
7431 for keystroke listening, keystroke and mouse event
7432 synthesis, and enumeration of accessible desktops.
7434 2001-08-16 Michael Meeks <michael@ximian.com>
7436 * configure.in: use AM_GLIB_GNU_GETTEXT.
7438 * Makefile.am (SUBDIRS): kill intl.
7440 2001-08-15 Michael Meeks <michael@ximian.com>
7442 * registryd/Makefile.am: s/oaf/server/ relocate info file.
7444 * configure.in: upd.
7446 * configure.in: depend on a recent bonobo-activation that
7447 will find our server files ...
7449 2001-08-16 Bill Haneman <bill.haneman@sun.com>
7451 * libspi/accessible.c : accessible_new() :
7452 Now we add the Component interface via bonobo_object_add_interface,
7453 if the contained AtkObject implements AtkComponent.
7454 * libspi/accessible.h : now include "component.h"
7455 * libspi/component.h :
7456 * libspi/component.c : added files - implementation of
7457 bonobo wrapper object for Accessibility/Component
7458 * libspi/listener.c :
7459 Added test code to check for Accessibility/Component:1.0
7460 interface and report whether it is implemented by the
7462 * libspi/registry.c :
7463 Now we check for not only the hash of the whole event
7464 string before relaying the event, we also check the
7465 "minor" event string (without the detail string).
7466 This allows event listeners to be registered against
7467 all events of a certain major+minor type, or just
7468 against a specific major+minor+detail type.
7469 * libspi/accessible.c :
7470 Added implementations for Accessible:get_parent(),
7471 Accessible:getChildCount(), and Accessible:getChildAtIndex().
7472 * libspi/registry.c :
7473 * libspi/listener.c :
7474 Replaced calls to Accessibility_Accessible_ref() and
7475 Accessibility_Accessible_unref() with
7476 calls to bonobo_object_dup_ref() and
7477 bonobo_object_release_unref(), so that the CORBA object
7478 is dup-ed and released when relayed, as well as the bonobo object.
7480 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7482 * libspi/Makefile.am,
7483 registryd/Makefile.am,
7484 at-bridge/Makefile.am.
7485 test/Makefile.am, configure.in:
7486 reverse previous changes.
7488 * /idl/Image.idl: fix typo.
7490 * test/Makefile.am: put DEBUG_FLAGS
7493 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7495 * test/app.c: use argv[0] instead of
7498 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7500 * libspi/Makefile.am,
7501 registryd/Makefile.am,
7502 at-bridge/Makefile.am.
7503 test/Makefile.am, configure.in:
7504 cleanup, replace individual LIBS/CFLAGS with
7505 AT_COMMON_{LIBS|CFLAGS}.
7509 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7511 * configure.in, libspi/Makefile.am:
7512 Change IDL path checking for bonobo-activation
7515 2001-08-15 Bill Haneman <bill.haneman@sun.com>
7517 * registryd/registry.c : separated event listeners to use
7518 3 separate lists (focus, window, toolkit). Began testing
7519 event names against hashes before relaying events.
7520 * test/at.c : now register for events of type "focus:"
7521 * test/app.c : now generate events of type "focus:"
7522 * at-bridge/bridge.c : register with ATK for focus events,
7523 and we now relay those focus events to any "focus:" listeners.
7524 This now works with the bridge as a GTK_MODULE when running test/at.
7525 * libspi/registry.c :
7526 * libspi/listener.c :
7527 now we ref event sources before propagating, and unref on receipt.
7528 * libspi/registry.c :
7529 some changes to internal structs, to support event typestring hashes.
7530 * text/app.c : changed the way the appname is generated.
7531 * cspi : added directory that will hold the C bindings library for
7532 non-CORBA/bonobo-savvy clients.
7533 * cspi/spi.h : header file that contains the function prototypes for the C binding.
7534 * idl/Component.idl : added in parameter to indicate coord system for
7535 geometry-related calls.
7536 * idl/Hyperlink.idl : added readonly n_links attribute
7537 * idl/Image.idl : changed methods to attributes.
7539 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7541 * at-bridge/Makefile.am: link against
7542 ../libspi/libspi.la instead of -lspi.
7544 * at-spi/test/app.c: include
7545 bonobo-activation.h. Use a default appname
7546 if one is not provided.
7548 2001-08-14 Bill Haneman <bill.haneman@sun.com>
7550 * idl/Registry.idl : temporarily changed register_Application
7551 to oneway, to work around issue with initial registration
7553 * idl/Application.idl : changed attribute "id" from readonly
7554 to read-write, since it needs to be assigned by Registry.
7555 * registryd/registryd.c : added call to set application id
7557 * registryd/registry.c : changed de-registration procedure to
7558 use CORBA_Object_hash() to find matching object ref in application
7559 lists and listener lists.
7560 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
7561 began distinguishing between event types (work in progress).
7563 2001-08-13 Bill Haneman <bill.haneman@sun.com>
7566 * libspi/application.c:
7567 Added implementations for get/set id, get_toolkitName,
7569 * registryd/registryd.c :
7573 Converted from use of OAF to bonobo-activation.
7574 * libspi/desktop.h :
7575 * libspi/desktop.c :
7577 Removed references to atksimpleobject, since base atkobject
7578 implementation now provides functionality we need.
7579 * libspi/atksimpleobject.c :
7580 * libspi/atksimpleobject.h :
7585 * at-bridge/Makefile.am
7586 * at-bridge/bridge.c
7589 Added directory "bridge" and contents, and added dependencies
7590 in Makefile.am/configure.in.
7591 Initial checkin of "at-bridge".
7592 This code is a GTK_MODULE which automatically registers
7593 GTK+ apps with the accessibility registry, using an object
7594 reference to the root ATK object.
7596 2001-08-10 Mark McLoughlin <mark@skynet.ie>
7598 * po/Makefile.in.in: Remove. Again. If this
7599 doesn't get autogenerated - you need to update
7602 2001-08-07 Mark McLoughlin <mark@skynet.ie>
7604 * po/Makefile.in.in: Add. Again.
7606 2001-07-31 Bill Haneman <bill.haneman@sun.com>
7608 * libspi/accessible.c : added support for 'description' property.
7609 * libspi/accessible.c
7611 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
7612 (since the two are now equivalent in libbonobo)
7620 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
7621 Bonobo::Unknown as does Accessibility::Accessible.
7622 * idl/StreamableContent.idl : as above, and replaced internal InputStream
7623 interface with Bonobo::Stream, since it was redundant with it.
7624 (The Stream returned by a StreamableContext object is expected to
7625 implement only a subset of Bonobo::Stream)
7627 2001-07-28 Anders Carlsson <andersca@gnome.org>
7629 * libspi/accessible.c (accessible_object_finalize): Change
7630 g_free to g_object_unref since the AtkObject is a GObject.
7632 2001-07-30 Bill Haneman <bill.haneman@sun.com>
7634 * idl/Accessibility.idl: add new IDL files
7637 * idl/Action.idl: Definitions of actionable UI object
7638 * idl/Component.idl: Definitions of UI component geometry, etc.
7639 * idl/Hyperlink.idl: Defs of hyperlink behavior
7640 * idl/Image.idl: Def of accessible image
7641 * idl/Selection.idl: Definition of UI object with selectable children
7642 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
7643 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
7644 * idl/Text.idl: Interface defs for UI elements with complex textual content
7645 * idl/Value.idl: Definition of UI element that is a value controller or display
7647 2001-07-27 Michael Meeks <michael@ximian.com>
7649 * po/Makefile.in.in: remove autogenerated file from CVS.
7651 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
7654 * idl/Registry.idl: include guard.
7656 * idl/Accessibility.idl: Add, and include all the other IDL
7659 * idl/*.idl: remove mass of pragmas etc.
7661 2001-07-26 Michael Meeks <michael@ximian.com>
7663 * registryd/Makefile.am (registryd_SOURCES): remove
7666 2001-07-27 Mark McLoughlin <mark@skynet.ie>
7668 * libspi/.cvsignore, registryd/.cvsignore,
7669 test/.cvsignore: updated.
7671 * po/Makefile.in.in: gettext update.
7673 2001-07-25 Bill Haneman <bill.haneman@sun.com>
7675 * initial CVS checkin
7677 2001-06-29 Michael Meeks <michael@ximian.com>
7679 * configure.in: add AM_CONFIG_HEADER to gen config.h