1 2006-06-23 Bill Haneman <bill.haneman@sun.com>
3 * idl/Accessibility_Role.idl:
4 * libspi/accessiblerole.c:
5 * cspi/spi_accessible.c: Added ROLE_LINK,
6 ROLE_REDUNDANT_OBJECT, and ROLE_INPUT_METHOD_WINDOW.
7 Bug #345758 and bug #140635.
10 2006-06-22 Bill Haneman <bill.haneman@sun.com>
14 * idl/Accessibility_StreamableContent.idl:
15 Fix derivation of StreamableContent and ContentStream.
17 * cspi/spi_streamablecontent.c:
18 (accessible_content_stream_client_read):
19 Fix the datatype of the content stream used.
20 Interpret short reads as EOF, and stop trying to
21 read when we've fulfilled the request.
22 (AccessibleStreamableContent_getContentTypes):
23 Use g_strdup, not CORBA_string_dup, for the strings.
24 (AccessibleStreamableContent_open):
25 Correctly use the new getStream method for opening,
26 not the deprecated getContent method.
27 Use the object reference as the stream hash key.
28 Make note of the 'one stream per client per streamable'
29 limitation in the docs.
32 Add streamablecontent.h to the list of #includes.
34 * libspi/streamablecontent.c:
35 (impl_content_stream_read): Initialize the GError.
36 Allocate the incoming buffer if reading a fixed length of
37 data. Use g_memmove instead of memcpy.
38 (impl_accessibility_streamable_get_content_types):
39 Init typelist->_maximum. Only allocate the buffer if
40 there is a non-zero number of content types available.
41 (BONOBO_TYPE_FUNC_FULL(SpiStreamable): Move to end.
43 * libspi/streamablecontent.h:
44 (SPI_STREAMABLE_TYPE): Fix this macro, it was totally broken.
47 (SPI_IS_VALUE): Fix a typo in this macro too.
49 2006-06-16 Bill Haneman <bill.haneman@sun.com>
53 * idl/Accessibility_StreambleContent.idl:
54 Deprecate the Bonobo_Stream-based methods in favor of
55 a self-contained "ContentStream" interface. This should
56 allow us to remove BonoboStream dependencies entirely, since
57 there were no non-NIL implementations of the old methods anyway.
58 (ContentStream): New interface.
59 (ContentStream::SeekType): Enum.
60 (ContentStream::seek): New.
61 (ContentStream::read): New.
62 (ContentStream::close): New.
63 (getContent): Deprecate.
64 (getURI): New method, returns a URI pointing to the content, if available.
66 * libspi/streamablecontent.c:
67 (SpiContentStream): Internal object type definition used to
68 implement Accessibility::StreamableContent::ContentStream via
69 AtkStreamableContent's GIOChannel back-end.
70 (spi_content_stream_new, spi_content_stream_dispose): See above;
72 (impl_content_stream_seek, impl_content_stream_read):
73 (impl_content_stream_close): New, implementations of
75 (impl_accessibility_streamable_get_stream): Implement the
76 public method Accessibility::StreamableContent::getStream.
77 (impl_accessibility_streamable_get_uri): Implement the
78 public method Accessibility::StreamableContent::getURI.
80 * cspi/spi_streamablecontent.c:
81 (accessible_bonobo_stream_client_seek): Replaced by
82 (accessible_content_stream_client_seek).
83 (accessible_bonobo_stream_client_read): Replaced by
84 (accessible_content_stream_client_read).
85 (AccessibleStreamableContent_open):
86 (AccessibleStreamableContent_seek):
87 (AccessibleStreamableContent_read):
88 (AccessibleStreamableContent_close): Use the new 'getStream'
89 API instead of the deprecated 'getContent' API, inside the cspi wrappers.
91 2006-06-15 Bill Haneman <bill.haneman@sun.com>
93 * idl/Accessibility.idl: #include Bonobo_Unknown.idl,
94 remove from other .idl files (except LoginHelper).
97 2006-06-14 Bill Haneman <bill.haneman@sun.com>
99 * */Makefile.am: Add WARN_CFLAGS to INCLUDES.
102 * configure.in, */Makefile.am: mingw patch, modified from
103 original patch by yselkowitz. Bug #314216.
105 * cspi/spi-impl.h: Added #defines SPI_TRUE and SPI_FALSE
106 for completeness. Bug #163111.
108 * atk-bridge/bridge.c, cspi/bonobo/cspi-bonobo.c:
109 * libspi/util.c, registryd/registry-main.c:
110 Fix guint/char* casts.
111 Patch from chpe, bug #333883.
113 2006-06-12 Bill Haneman <bill.haneman@sun.com>
115 * configure.in: Require atk-1.12.0, to pick up
116 new API. (bug #344412).
118 * libspi-1.0-uninstalled.pc.in:
120 * libloginhelper-1.0.pc.in: Remove gtk+ dependency.
121 Fix for #341488 from Samual Thibault.
123 * configure.in, LINGUAS: Use LINGUAS, bug #338023.
124 Thanks to Brian Pepple.
126 2006-06-09 Bill Haneman <bill.haneman@sun.com>
129 (impl_get_nSelectedRows, impl_get_nSelectedColumns):
130 New, missing implementations of attribute reading methods
133 * cspi/spi.h, spi_value.c:
134 (AccessibleValue_getMinimumIncrement): New methods wrapping
135 the (formerly unimplemented) property from Value.idl.
138 (impl_get_minimumIncrement): Implementation for retrieving
139 the minimum valuator increment, (formerly unimplemented).
142 2006-06-09 Bill Haneman <bill.haneman@sun.com>
144 * idl/Accessibility_State.idl:
145 Added STATE_VISITED (bug #338369).
147 * cspi/spi_accessible.c:
148 (spi_state_to_corba) Fixed marshalling of new statetypes.
151 (spi_init_state_tables, impl_getStates):
152 Fixed conversion of new statetypes to/from ATK.
154 * idl/Accessibility_Role.idl: Added ROLE_FORM (bug #344266).
156 * cspi/spi-roletypes.h, spi_accessible.c: Added marshalling
157 definitions/conversions for new roles from ATK.
159 * idl/Accessibility_Relation.idl:
161 * cspi/spi.h, spi_accessible.c: Added SPI_RELATION_DESCRIBED_BY and
162 SPI_RELATION_DESCRIPTION_FOR. (bug #344264) Also
163 SPI_PARENT_WINDOW_OF, which was in ATK but not AT-SPI.
165 * libspi/accessible.c: Fixed marshalling of new role types from
168 2006-04-17 Matthias Clasen <mclasen@redhat.com>
170 * revert my previous change
172 2006-04-17 Kjartan Maraas <kmaraas@gnome.org>
174 * configure.in: Remove obssolete no_NO locale
175 * po/no.po: And the translation.
177 2006-04-05 Matthias Clasen <mclasen@redhat.com>
179 * atk-bridge/bridge.c (spi_atk_emit_eventv): Fix a
180 memory-management error that caused crashes on x86_64.
183 2006-03-30 Guntupalli Karunakar <karunakar@indlinux.org>
185 * configure.in: Added 'dz' (Dzongkha) to ALL_LINGUAS.
187 2006-03-27 Bill Haneman <bill.haneman@sun.com>
189 * configure.in: Define $LIBTOOL_EXPORT_OPTIONS
190 to strip "cspi_*" from the symbol table.
192 * cspi/spi_streamablecontent.c:
193 (get_streams): Make this method static.
196 (_cspi_exception_throw): rename to cspi_exception_throw,
197 so we can strip it with the rest...
200 Add LIBTOOL_EXPORT_OPTIONS to libcspi_la_LDFLAGS.
202 2006-03-27 Bill Haneman <bill.haneman@sun.com>
204 Add doxygen-generated IDL docs to tarball, and enable
205 doxygen during build/install when available. Bug #301345.
207 * configure.in: Add docs/reference/idl/Makefile to AC_OUTPUT.
209 * docs/reference/Makefile.am: Add idl to SUBDIRS.
211 * docs/reference/idl/Makefile.am: Optionally use
212 doxygen to create docs.
214 2006-03-20 Vladimer Sichinava <vlsichinava@gmail.com>
216 * configure.in: Added "ka" (Georgian) to ALL_LINGUAS
218 2006-03-20 Bill Haneman <bill.haneman@sun.com>
221 (impl_get_selected_rows): Don't free the selection if it's
222 empty or has not been assigned; init it to NULL so you can tell.
223 Also, allow for zero selected rows.
224 (impl_getSelectedColumns): Ditto. Bug #319088.
226 2006-03-11 Vincent Untz <vuntz@gnome.org>
228 Leak fix for bug #334217.
230 * libspi/application.c: spi_application_toolkit_event_listener():
231 don't duplicate the string we pass as an argument to
232 spi_init_any_nil() since spi_init_any_nil() already does it
233 * registryd/deviceeventcontroller.c:
234 (spi_dec_button_update_and_emit): ditto
235 (spi_dec_mouse_check): ditto
236 (spi_dec_emit_modifier_event): ditto
237 (spi_device_event_controller_forward_mouse): ditto
238 * registryd/registry.c:
239 (desktop_add_application): ditto
240 (desktop_remove_application): ditto
242 2006-02-20 Bill Haneman <billh@gnome.org>
244 * configure.in: Rev to 1.7.6.
246 Leak fixes for bug #331924.
248 * atk-bridge/bridge.c:
249 (spi_atk_bridge_init_base): Don't dup the string, it's already
250 been dup-ed. Fixes a leak.
251 (spi_atk_emit_eventv): Move the CORBA_free call here,
252 instead of spi_atk_state_event_listener; fixes another leak.
253 (spi_atk_bridge_key_listener):Free the dup'ed key strings after
254 notifying the registry; fixes another leak.
256 * registryd/registry.c:
257 (registry_flush_event_queue): Free the CORBA_any when
258 flushing the event, not just the string. Fixes another leak.
259 (registry_queue_event): Free the CORBA_any when dropping
260 events on the floor; fixes another leak.
263 (spi_init_any_object, spi_init_any_nil):
264 Always set _release to TRUE. Fixes another leak.
266 2006-02-20 Bill Haneman <billh@gnome.org>
268 * configure.in: Rev to 1.7.5.
269 Reinstate localization of this module. Thanks for Rodney
270 Dawes for fixing my patch.
272 * registryd/Makefile.am: Remove Accessibility_Registry.server
273 from dist, since it needs to be re-created at configure time.
276 2006-01-31 Bill Haneman <billh@gnome.org>
278 * configure.in: Rev to 1.7.4 (to include build fix below).
280 * idl/Makefile.am: Include Selector.idl in dist.
284 (cspi_internal_event_get_object): Handle case where
285 "object" isn't present, i.e. CORBA_TC_Object doesn't match
286 the EventDetails data.
287 (cspi_internal_event_get_text): Handle NULL string.
288 (cspi_internal_event_get_rect): Handle missing/empty rect
289 data, Accessibility_TC_RectBounds doesn't match any_data.
291 2006-01-30 Bill Haneman <billh@gnome.org>
295 * atk-bridge/bridge.c:
296 (spi_atk_emit_eventv): Check for SPI_REMOTE_OBJECT
297 interface and use that when instantiating a new source
298 accessible. Better fix for bug #321814.
300 2006-01-27 Bill Haneman <billh@gnome.org>
302 * idl/Accessibility_Selector.idl: Added to the cvs repository.
304 * configure.in: Revved to 1.7.3.
306 2006-01-17 Bill Haneman <billh@gnome.org>
308 * configure.in: Revved to 1.7.2, re-dist to include docs.
310 2006-01-09 Bill Haneman <billh@gnome.org>
312 * configure.in: Removed po/Makefile.in inclusion, we do not need
315 * idl/Accessibility.idl: Improved documentation here, and for all
316 IDL in the 'GNOME::Accessibility' namespace.
318 * idl/Accessibility_Accessible.idl:
319 (LOCALE_TYPE): Added enum.
320 (AttributeSet): New, for returning multiple name/value attribute pairs.
321 (RoleSet): New, sequence of Roles, to be used in upcoming
323 (getAttributes): New API, allows retrieval of name/value pair
324 annotations for all kinds of Accessible objects. C.f.
325 Text:getAttributes, which is only for typographic/textual/semantic tags in
327 (getApplication): New, retrieves the host/containing Application
328 instance for an object (without having to walk up the whole tree).
330 * idl/Accessibility_Component.idl:
331 (getAlpha): New method, returns the alpha blending (aka 'opacity')
332 value for an object. An alpha of 1.0 is fully opaque, 0.0 is
335 * idl/Accessibility_Event.idl:
336 (EventDetails): New struct definition, for encapsulating
337 commonly-queried information about emitted events. The use of
338 this structure in emitted events (in the 'any' member of
339 Accessibility_Event) should greatly reduce the number of
340 client-server roundtrips necessary.
342 * idl/Accessibility_Image.idl:
343 (imageLocale): New, a readonly attribute indicating the POSIX
344 LC_MESSAGES locale of the image and associated Alt/descriptive
347 * idl/Accessibility_Relation.idl:
348 (RELATION_PARENT_WINDOW_OF): Include, as complement to
351 * idl/Accessibility_Role.idl:
352 (ROLE_ENTRY, ROLE_CHART, ROLE_CAPTION, ROLE_DOCUMENT_FRAME)
353 (ROLE_HEADING, ROLE_PAGE, ROLE_SECTION): New roles for
354 complex document and form support.
356 * idl/Accessibility_State.idl:
357 (STATE_REQUIRED, STATE_TRUNCATED, STATE_ANIMATED)
358 (STATE_INVALID_ENTRY, STATE_SUPPORTS_AUTOCOMPLETION)
359 (STATE_SELECTABLE_TEXT, STATE_IS_DEFAULT): New states,
360 for support of complex documents and forms.
362 * idl/Accessibility_StreamableContent.idl:
363 (SeekType, IOError, NotSupported, NoPermission): New enum and exceptions, to
364 allow old bonobo-stream interfaces to be deprecated in the next
367 * idl/Accessibility_Text.idl:
368 (getAttributeValue): New method, allows query-by-name of single
371 * libspi/accessible.c:
372 Added support for new roles. Implemented new methods
373 (impl_accessibility_accessible_get_application): New
374 (impl_accessibility_accessible_get_attributes): New
376 * libspi/component.c:
377 (impl_accessibility_component_get_alpha): New.
380 (impl_accessibility_image_get_locale): New.
382 * libspi/relation.c: Added support for new relation type.
384 * libspi/stateset.c: Added support for new state types.
387 (impl_getAttributeValue): New.
390 New prototypes for private methods
392 spi_init_any_object, spi_init_any_string,
395 * libspi/spi_event.c:
396 Use EventDetails in the event emission methods.
398 * cspi/spi-private.h:
399 (cspi_role_from_spi_role): Expose this adapter method, since
400 we need it in the bridge (see below).
403 (AccessibleEvent_getSourceName):
404 (AccessibleEvent_getSourceRole):
405 (AccessibleEvent_getSourceApplication):
406 (AccessibleEvent_getSourceDetails):
407 New methods for interrogating/demarshalling
408 event details (i.e. source's accessible name, role,
411 * cspi/spi_accessible.c: Use cspi_role_from_spi_role.
412 Make use of the new EventDetails struct in events, if present.
413 (AccessibleEvent_getSourceName)
414 (AccessibleEvent_getSourceRole)
415 (AccessibleEvent_getSourceApplication)
416 (AccessibleEvent_getSourceDetails): Implement the newly exposed
418 (Accessible_getAttributes): New, wraps
419 Accessibility_Accessible_getAttributes.
420 (Accessible_getHostApplication): New, wraps
421 Accessibility_Accessible_getApplication.
424 (AccessibleImage_getImageLocale): New wrapper for
425 Accessibility_Image_get_imageLocale.
427 * cspi/spi_component.c:
428 (AccessibleComponent_getAlpha): New wrapper for
429 Accessibility_Component_getAlpha.
431 * atk-bridge/bridge.c:
432 Use new prototyped for init_any methods.
433 (spi_atk_bridge_init_nil, spi_atk_bridge_init_object)
434 (spi_atk_bridge_init_string, spi_atk_bridge_init_rect)
435 (spi_atk_bridge_init_base): Wrappers
436 for spi_init_any_* methods, due to refactor; include extended
437 information in the Accessibility_EventDetails struct, for instance
438 accessible-name, Role, and containing Application.
440 * registryd/registry.c:
441 Use new event emission (with EventDetails).
443 * registryd/deviceeventcontroller.c:
444 Use new event emission (with EventDetails).
446 2006-01-09 Kjartan Maraas <kmaraas@gnome.org>
448 * configure.in: Generate po/Makefile.in
449 * cspi/spi_main.c: Add #ifdef PRINT_LEAKS around a function
450 * cspi/spi_streamablecontent.c:
451 (accessible_bonobo_stream_client_seek),
452 (AccessibleStreamableContent_seek): Remove unused vars.
453 * libspi/application.c: Missing header.
454 * libspi/text.c: (impl_getDefaultAttributes): Unused vars
455 * login-helper/login-helper.c: (login_helper_finalize),
456 (login_helper_init): Remove unused stuff
457 * registryd/deviceeventcontroller.c: (spi_dec_replace_map_keysym),
458 (spi_dec_init_mouse_listener), (is_key_released): Remove unused vars
459 and surround some with #ifdef GRAB_BUTTON.
460 * test/event-listener-test.c: (main), (report_event),
461 (report_caret_event), (report_detail_event),
462 (report_detail1_event), (report_bounds_event), (report_text_event),
463 (report_text_selection_event),
464 (report_active_descendant_changed_event),
465 (report_children_changed_event), (report_name_changed_event),
466 (report_description_changed_event), (report_parent_changed_event),
467 (report_window_event), (report_table_summary_event),
468 (report_table_header_event), (report_table_caption_event),
469 (report_table_row_description_event),
470 (report_table_column_description_event), (timing_test_event):
471 Remove a bunch of unused variables and fix a slew of format specifiers
472 * test/key-listener-test.c: (report_all_key_event): Format specifier
473 * test/keypad-test.c: (print_key_event): Same
474 * test/login-helper-server-test.c: (main): Include gtkmain.h and remove
476 * test/screen-review-test.c: (main), (print_chunk_debug),
477 (review_buffer_get_text_chunk), (debug_chunk_list),
478 (string_guess_clip), (text_chunk_get_clipped_string),
479 (text_chunk_list_to_string), (get_screen_review_line_at):
480 Remove unused variables and fix format specifiers.
481 * test/simple-at.c: (report_text_event): Format specifier fix.
482 * test/stress-test.c: (main): Remove unused var.
484 2005-12-29 Abel Cheung <maddog@linuxhall.org>
486 * configure.in: Add zh_HK, zh_TW to ALL_LINGUAS
487 (yes I know that's useless)
489 2005-11-20 Theppitak Karoonboonyanan <thep@linux.thai.net>
491 * configure.in: Added "th" (Thai) to ALL_LINGUAS.
493 2005-11-17 Michael Meeks <michael.meeks@novell.com>
495 * atk-bridge/bridge.c (spi_atk_emit_eventv):
496 urgh-fix embarassing typo.
498 2005-11-16 Michael Meeks <michael.meeks@novell.com>
500 * atk-bridge/bridge.c (spi_atk_emit_eventv):
501 do a faster, less problematic _unref call on this local
502 object, rather than a slower (potentially cross-thread
503 complicated) CORBA call.
505 2005-11-02 Kjartan Maraas <kmaraas@gnome.org>
507 * atk-bridge/bridge.c: (spi_atk_bridge_signal_listener):
508 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_seek):
509 * registryd/deviceeventcontroller.c:
510 (spi_controller_notify_mouselisteners),
511 (impl_generate_keyboard_event):
512 * test/screen-review-test.c: (chunk_bounds_within):
513 * test/test-simple.c: (test_desktop): Remove some unused code
514 and fix compiler warnings. Closes bug #320049.
516 2005-10-27 Bill Haneman <bill.haneman@sun.com>
518 * registryd/deviceeventcontroller.c:
519 (spi_controller_notify_keylisteners): Check
520 to make sure the event listener has requested 'preemptive'
521 status before pre-empting an event.
523 2005-08-29 Bill Haneman <bill.haneman@sun.com>
525 * configure.in, README, NEWS: Release 1.6.5.
527 2005-07-25 Matthias Clasen <mclasen@redhat.com>
529 * test/window-listener-test.c: Fix a printf
530 format error. (#169453)
532 2005-07-15 Bill Haneman <bill.haneman@sun.com>
534 * tests/test-simple.c:
535 (key_listener_cb): Ensure that the keystring is dup'ed instead of
536 relying on the old string from the key event hanging around after
537 the event handler returns. Fixes broken 'make check'.
539 2005-06-06 Swapnil Hajare <dreamil@gmail.com>
541 * Added Marathi (mr_IN) translations.
543 2005-05-27 Kjartan Maraas <kmaraas@gnome.org>
545 * cspi/bonobo/cspi-bonobo-listener.c:
546 (cspi_event_list_remove_by_cb): Fix the build.
548 2005-05-26 Michael Meeks <michael.meeks@novell.com>
550 * cspi/bonobo/cspi-bonobo-listener.c
551 (cspi_event_list_remove_by_cb): actually filter by callback.
553 2005-05-25 Bill Haneman <bill.haneman@sun.com>
555 * registryd/registry.c (remove_listener_cb):
556 Make deregistration filter rules match the event emission rules.
558 2005-05-25 Michael Meeks <michael.meeks@novell.com>
560 * registryd/registry.c (remove_listener_cb),
561 (impl_accessibility_registry_deregister_global_event_listener),
562 (impl_accessibility_registry_deregister_global_event_listener_all):
563 pass a closure to the remove callback to filter listeners more
564 accurately on remove.
566 2005-04-05 Bill Haneman <bill.haneman@sun.com>
568 * configure.in: Revved to 1.6.4.
569 Remember to put quotes around XEVIE_LIBS assignment.
570 Fixed one of tertiary AC_CHECK_HEADER tests for XEvie.
573 * tests/event-listener-test.c: Tweaked the tests - more detail
574 from caret events, and some interrogation of AccessibleText APIs.
575 Commented-out the bounds-changed events by default, since they can
578 2005-04-14 Kjartan Maraas <kmaraas@gnome.org>
580 * atk-bridge/bridge.c: (spi_atk_emit_eventv): Plug a leak.
581 * cspi/bonobo/cspi-bonobo-listener.c: (cspi_device_event):
582 Same here. Closes bug #167806
584 2005-04-05 Bill Haneman <bill.haneman@sun.com>
586 * atk-bridge/bridge.c:
587 (spi_atk_bridge_signal_listener):
588 Free the any._value if any._release is TRUE,
589 since the ORB won't do it for us in this case
590 [because this method is not a skel].
593 2005-03-30 Steve Murphy <murf@e-tools.com>
595 * configure.in: Added "rw" to ALL_LINGUAS.
597 2005-03-29 Bill Haneman <bill.haneman@sun.com>
599 * configure.in: Improved check for HAVE_XEVIE, to detect
600 presence on XOrg, where -lXevie is a separate library.
602 2005-03-08 Bill Haneman <bill.haneman@sun.com>
604 * configure.in, NEWS, README: Revved to 1.6.3.
606 2005-02-16 Adi Attar <aattar@cvs.gnome.org>
608 * configure.in: Added "xh" to ALL_LINGUAS.
610 2005-02-07 Bill Haneman <bill.haneman@sun.com>
612 * atk-bridge/bridge.c:
613 (atk_bridge_init): Added missing NULL in g_strconcat(),
614 also check for symlink before logging to
615 insecure directory. Thanks to meissner@suse.de.
617 2005-01-25 Padraig O'Briain <padraig.obriain@sun.com>
619 * tests/login-helper-server-test.c: Add return call to main
620 function. Patch from Chris Lahey. Fixes bug #165129.
622 2004-12-20 Padraig O'Briain <padraig.obriain@sun.com>
624 * cspi/spi.h: Add description for SPI_RELATION_SUBWINDOW_OF.
626 2004-12-09 Bill Haneman <billh@gnome.org>
628 * registryd/registry-main.c:
629 Added #define <string.h> for strrchr. (bug 160862).
630 Thanks to Vincent Berger for catching.
632 2004-12-09 Padraig O'Briain <padraig.obriain@sun.com>
634 * atk-bridge/bridge.c (spi_atk_get_registry): Do not attempt to
635 restart registry process if the registry process is found to have died
636 and the current process is exiting.
637 (spi_atk_bridge_exit_func): Do not attempt to deregister the
638 application if the registry process has died.
639 (spi_atk_emit_eventv): Return if call to spi_atk_get_registry
640 does not return a registry object.
641 (spi_atk_tidy_windows): Give up if the registry process has died.
643 This fixes problems with hangs and crashes when logging out.
645 2004-12-03 Padraig O'Briain <padraig.obriain@sun.com>
647 * registryd/desktop.c: Add checking that we are not exiting before
648 calling spi_desktop_remove_application in
649 abnormal_application_termination. Fix for bug #152147.
651 2004-12-02 Bill Haneman <billh@gnome.org>
653 * configure.in, NEWS, README: Revved to 1.6.1.
655 Patch from Padraig O'Briain <padraig.obriain@sun.com>
656 * atk-bridge/bridge.c:
657 (atk_bridge_init): Save the pid when we start, to detect forks.
658 (spi_atk_bridge_exit_func): Don't call the cleanup routines
659 if we're in a forked pid.
661 2004-10-09 Bill Haneman <billh@gnome.org>
663 * idl/Accessibility_LoginHelper.idl:
664 Improved inline documentation.
666 2004-10-02 Jesus Bravo Alvarez <suso@trasno.net>
668 * configure.in: Added gl (Galician) to ALL_LINGUAS
670 2004-09-30 Kjartan Maraas <kmaraas@gnome.org>
672 * libspi/accessible.c:
673 (impl_accessibility_accessible_get_role_name),
674 (impl_accessibility_accessible_get_local_role_name):
676 * libspi/component.c:
677 (impl_accessibility_component_get_accessible_at_point):
679 * libspi/eventlistener.c: (spi_event_listener_new):
681 * libspi/stateset.c: (impl_compare): More of the same
682 * libspi/table.c: (impl_getRowDescription): Again.
683 * registryd/desktop.c: (spi_atk_desktop_get_type): Same
684 * registryd/deviceeventcontroller.c: (spi_clear_error_state),
685 (impl_generate_keyboard_event): Same.
686 * registryd/registry-main.c: (main): Same
687 * test/event-listener-test.c: (test_exit): Same
688 * test/keysynth-demo.c: (scan_state), (create_vkbd): Same
689 * test/keysynth-test.c: (test_key_synthesis): Same
690 * test/login-helper-server-test.c: (main): Fix warning.
691 * test/screen-review-test.c: (test_exit): Fix include.
692 * test/simple-at.c: (simple_at_exit), (_festival_init):
695 2004-09-13 Padraig O'Briain <padraig.vriain@sun.com>
697 * configure.in, NEWS, README: Revved to 1.6.0.
699 2004-09-12 Bill Haneman <bill.haneman@sun.com>
701 * configure.in: Rev and re-dist, since the 1.5.4 tarball
702 was missing the HTML docs.
704 2004-09-12 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
706 * configure.in: only cleanups:
707 - better looking PKG_CHECK_MODULES() output,
709 - declare in one common place required versions of other tools using
712 2004-09-11 J.H.M. Dassen (Ray) <jdassen@debian.org>
714 * configure.in: libspi/accessible.c uses ATK_ROLE_EMBEDDED
715 (unconditionally) which was introduced in ATK 1.7.2. Bumped the
716 required ATK version accordingly.
718 2004-09-03 Bill Haneman <bill.haneman@sun.com>
720 * cspi/bonobo/cspi-bonobo.c:
721 (cspi_display_name): Fix C99ism.
722 * atk-bridge/bridge.c:
723 (spi_display_name): Fix C99ism.
724 Patch from Jens Granseuer, jensgr@gmx.net.
726 2004-09-03 Gora Mohanty <gmohanty@cvs.gnome.org>
728 * configure.in: Added "or" to ALL_LINGUAS.
730 2004-08-20 Bill Haneman <bill.haneman@sun.com>
732 * configure.in, NEWS, README: Revved to 1.5.4.
734 * registryd/registry-main.c:
735 (main): Set the reg_env to use AT_SPI_DISPLAY instead of
738 * cspi/bonobo/cspi-bonobo.c:
739 (cspi_display_name): New convenience method, gets DISPLAY with
740 screen number stripped, if AT_SPI_DISPLAY isn't already set.
741 (cspi_init): Set the activation env value above before getting
744 * atk-bridge/bridge.c:
745 (spi_display_name): Create the AT_SPI_DISPLAY activation
746 environment for an app, based on the DISPLAY environment with the
747 screen number stripped off.
748 (atk_bridge_init): Allow redirection of error messages to a log.
749 (spi_atk_bridge_get_registry): Call
750 bonobo_activation_set_activation_env_value for AT_SPI_DISPLAY.
752 Fixes for bugs #149962, #136986, #144086.
754 2004-08-16 Christian Rose <menthos@menthos.com>
756 * configure.in: Added "bs" to ALL_LINGUAS.
758 2004-08-12 Kjartan Maraas <kmaraas@gnome.org>
760 * configure.in: Added nb to ALL_LINGUAS.
762 2004-09-03 Bill Haneman <bill.haneman@sun.com>
765 (SPI_init): Return error code '2' if the activated
766 registry cannot be pinged. Fixes bug #147648.
768 2004-07-28 Bill Haneman <bill.haneman@sun.com>
770 * registryd/deviceeventcontroller.c:
771 (spi_dec_init_mouse_listener): Don't do XGrabButton,
772 rely on timer-poll instead, to avoid conflict with
775 2004-07-20 Bill Haneman <bill.haneman@sun.com>
777 * configure.in: Revved to 1.5.3.
779 * idl/Accessibility_Role.idl: Added ROLE_EMBEDDED (bug #144415).
781 * libspi/accessible.c: Added support for ROLE_EMBEDDED.
783 * cspi/spi_accessible.c: Support for ROLE_EMBEDDED.
785 * cspi/spi-roletypes.h: Added SPI_ROLE_EMBEDDED.
787 2004-06-11 Bill Haneman <bill.haneman@sun.com>
789 * atk-bridge/bridge.c:
790 (spi_atk_bridge_do_registration):
791 Register with ATK for AtkComponent:bounds-changed events.
792 (api_atk_bridge_signal_listener):
793 Marshal the AtkRectangle info into the event notification
794 for object:bounds-changed events.
797 (spi_init_any_rect): New method, inits a corba struct of
798 type Accessibility_BoundingBox from an AtkRectangle.
800 * libspi/spi-private.h: Declared spi_init_any_rect (above).
803 (SPIRect): New struct definition.
804 (SPI_freeRect): New declaration.
805 (AccessibleBoundsChangedEvent_getNewBounds): New, see below.
808 (AccessibleBoundsChangedEvent_getNewBounds): New method,
809 implemented. Gets the bounding box data from the CORBA_any
810 associated with a bounds-changed event notification.
811 (cspi_internal_event_get_rect): New, used internally by above method.
814 (SPI_freeRect): Implemented this new method, for freeing
817 * test/event-listener-test.c:
818 (main, report_bounds_event):
819 Added a test for object:bounds-changed events.
821 2004-06-01 Bill Haneman <bill.haneman@sun.com>
823 * test/login-helper-server-test.c:
824 (main): Fix C99-ism. Thanks to Jens Granseuer.
826 2004-05-28 Padraig O'Briain <padraig.obriain@sun.com>
828 * libloginhelper-1.0.pc.in:
829 * idl/Accessibility_LoginHelper.idl:
830 * login-helper/Makefile.am:
831 * login-helper/login-helper.[ch]:
832 * test/login-helper-client-test.c:
833 * test/login-helper-server-test.c: Added files missing from CVS.
834 Files obtained from at-spi-1.5.2 tarball.
836 2004-05-27 Bill Haneman <bill.haneman@sun.com>
838 * configure.in: Create login-helper/Makefile.
839 Incremented micro version.
841 * Makefile.am: Add login-helper subdir and pkgconfig data.
843 * login-helper: New subdir.
845 * libloginhelper-1.0.pc.in: New.
847 * idl/Accessibility_LoginHelper.idl: New file, defines
848 interface whereby authentication clients can identify agents which
849 need access to services during the login process, e.g. screen lock
852 * login-helper/Makefile.am : New.
854 * login-helper/login-helper.[ch] : New, implementation of
855 a LoginHelper base class. Services needing LoginHelper can subclass.
857 * test/Makefile.am : Added test for login-helper, client and
860 * test/app.c, at.c, keypad-test.c, keysynth-test.c, stress-test.c:
861 Use proper prefix in #include files.
863 * test/login-helper-client-test.c: New.
865 * test/login-helper-server-test.c: New.
867 2004-05-27 Alexander Shopov <ash@contact.bg>
869 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
871 2004-05-14 Padraig O'Briain <padraig.obriain@sun.com>
873 * cspi/spi_main.c (cspi_object_unref): Add check that reference count
874 is positive. This should make it easier to detect inapprorpiate unref
877 2004-05-11 James Henstridge <james@daa.com.au>
879 * configure.in: remove GNOME_PLATFORM_GNOME_2 macro, which is a
880 no-op and deprecated.
882 2004-05-03 Pablo Saratxaga <pablo@mandrakesoft.com>
884 * configure.in: Added "wa" (Walloon) to ALL_LINGUAS.
886 2004-04-28 Bill Haneman <billh@gnome.org>
888 * Makefile.am: Added --enable-gtk-doc to
889 DISTCHECK_CONFIGURE_FLAGS; fixes make distcheck.
891 2004-04-19 Bill Haneman <billh@gnome.org>
893 * configure.in: Revved to 1.5.1.
895 * registryd/deviceeventcontroller.c:
897 (DEControllerPrivateData): Added fields for
898 reserved_keycode, reserved_keysym, and reserved_reset_timeout.
899 (spi_dec_replace_map_keysym): New internal utility for
900 replacing a keysym in the keymap - used to allow
901 synthesis of individual characters which aren't in the
903 (spi_dec_reset_reserved): New; resets the changed keysym value
905 (keycode_for_keysym): We now try to deal with failed
906 XKeysymToKeycode requests by changing a keymap value
907 and returning a reserved keycode. We now take
908 a DEController pointer as first arg.
909 (spi_controller_register_with_devices): Call XkbGetMap with
910 the XkbKeySymsMask. Find the highest keycode in the current
911 keymap which doesn't have any grabs, and mark that one for
912 temporary re-mapping when out-of-range KeySyms are synthesized.
913 (dec_synth_keycode_press): Call XFlush after synthesizing the key
916 2004-04-08 Guntupalli Karunakar <karunakar@freedomink.org>
918 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
920 2004-03-24 Alexander Winston <alexander.winston@comcast.net>
922 * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
924 2004-03-24 Bill Haneman <billh@gnome.org>
927 (AccessibleTable_addRowSelection),
928 (AccessibleTable_addColumnSelection),
929 (AccessibleTable_removeRowSelection),
930 (AccessibleTable_removeColumnSelection):
931 Add declarations for spi wrappers which were
932 inadvertantly omitted. Fixes bug #133413.
935 Revved to 1.5.0 (unstable series for GNOME 2.7).
937 2004-03-24 Bill Haneman <billh@gnome.org>
939 * atk-bridge/bridge.c:
940 Bracketed some debug output in
941 conditionals, to avoid printing it in normal use.
944 * libspi/hyperlink.c:
945 Don't cast 'object' to ATK_OBJECT when constructing
946 an AtkAction interface for a hyperlink.
947 See discussion in bug #120659.
949 * test/key-listener-test.c:
950 (report_all_key_event): Send output to stderr,
951 not stdout, for consistency with the rest of the test callbacks.
954 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
955 Don't add X_LIBS to CFLAGS (Fix for bug #134332).
956 Incremented to 1.4.1 (but didn't dist yet - I'm going to
957 try incrementing the revision AFTER doing a dist, at least
960 2004-03-22 Bill Haneman <billh@gnome.org>
962 * configure.in: Revved to 1.4.0, libtool 9.14.9
964 2004-03-17 Laszlo Peter <laca@sun.com>
966 * libspi-1.0-uninstalled.pc.in: add idldir
968 * cspi-1.0-uninstalled.pc.in: add idldir
970 2004-03-16 Gareth Owen <gowen72@yahoo.com>
972 * configure.in: Added "en_GB" to ALL_LINGUAS
974 2004-03-15 Bill Haneman <billh@gnome.org>
976 * configure.in: Revved to 1.3.16,
979 2004-03-15 Laszlo Peter <laca@sun.com>
981 * libspi-1.0-uninstalled.pc.in: new file
983 * cspi-1.0-uninstalled.pc.in: new file
985 * configure.in: add the new pc files to AC_OUTPUT
987 * Makefile.am: add the new pc files to EXTRA_DIST
989 2004-03-12 Bill Haneman <billh@gnome.org>
991 * atk-bridge/bridge.c:
992 (spi_atk_bridge_key_listener):
993 Make sure to return consumed=FALSE if snoop
994 event is not dispatched to listener.
997 2004-03-01 Bill Haneman <billh@gnome.org>
999 * configure.in: Revved to 1.3.15,
1002 2004-03-07 Danilo Segan <dsegan@gmx.net>
1004 * configure.in: Added "sr@ije" to ALL_LINGUAS.
1006 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
1008 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
1010 2004-03-01 Bill Haneman <billh@gnome.org>
1012 * configure.in: Revved to 1.3.14.
1015 (SPI_exit): Removed "bye-bye" exit message.
1016 Moved "leak" report to happen before the
1017 iteration over the leaked refs list.
1018 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
1020 2004-02-24 Bill Haneman <billh@gnome.org>
1022 * configure.in: Revved to 1.3.13.
1024 * docs/reference/cspi/Makefile.am:
1025 Correct typo that was breaking the docs build.
1027 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
1029 * autogen.sh: Require version 1.7 of automake.
1031 * configure.in: call GTK_DOC_CHECK([1.0])
1033 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
1035 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
1037 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
1039 * test/Makefile.am: Remove use of CFLAGS.
1041 This fixes bug #132987.
1043 2004-02-11 Bill Haneman <billh@gnome.org>
1045 * reverted most of Tomasz' patch below, since it was breaking
1046 builds (see bug #134058).
1048 2004-02-10 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1050 * docs/reference/cspi/at-spi-cspi.types: added empty file for
1051 correct pass "make dist" (empty .. because seems no sach types in
1052 header files with gtk-doc markups).
1053 * docs/reference/cspi/Makefile.am, configure.in:
1054 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
1055 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
1056 * Makefile.am: added:
1057 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
1058 for force correct pass generate documentation on "make distcheck".
1059 * libspi/Makefile.am: fixes for automake >= 1.6.
1060 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
1061 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
1064 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
1066 * docs/reference/cspi/Makefile.am (install-data-local): Install
1067 index.sgml since the doc autobuilder on widget.gnome.org looks for
1070 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
1072 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
1075 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
1077 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
1079 2004-01-27 Brian Cameron <brian.cameron@sun.com>
1081 * test/simple-at.c: Fixed null string problems that cause core
1082 dumping problems on Solaris.
1084 2004-01-12 Bill Haneman <billh@gnome.org>
1086 * configure.in: Incremented version to 1.3.11.
1088 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
1090 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
1091 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
1094 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
1096 * configure.in: Added "fa" to ALL_LINGUAS.
1098 2003-12-20 Arafat Medini <lumina@silverpen.de>
1100 * configure.in: Added "ar" to ALL_LINGUAS
1102 2003-12-16 Bill Haneman <billh@gnome.org>
1104 * registryd/registry-main.c:
1106 Set the reg_env DISPLAY variable before registering the
1107 activated registry service. Fixes bug #129479.
1109 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
1111 * configure.in: Added "id" in ALL_LINGUAS
1112 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
1114 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
1116 * registryd/deviceeventcontroller.c (global_filter_fn):
1117 When an event is consumed discard any XEvents were added to
1118 the queue while dealing with the the event. This can happen if
1119 processing of the event takes a long time. Call XUngrabKeyboard
1120 if an event was discarded. This fixes bug $124837.
1121 Only call wait_for_release_event for a KeyPress.
1122 Use local variable display instead of spi_get_display().
1123 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
1126 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
1128 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
1129 Allow for mask to contain values other than NumLock mask.
1132 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1134 * registryd/devieceventcontroller.c:
1135 (wait_for_release_event): Change first parameter from GdkEvent to
1137 (global_filter_fn); Correct call to wait_for_release_event.
1141 2003-12-08 Bill Haneman <billh@gnome.org>
1145 * registryd/ucs2keysym.c: New file.
1147 * registryd/deviceeventcontroller.c:
1148 (dec_keysym_for_unichar): Remove old partial implementation and
1149 replace with call to ucs2keysym(), which is much more complete.
1150 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
1155 2003-12-05 Bill Haneman <billh@gnome.org>
1157 * configure.in: Version 1.3.9.
1159 * docs/reference/cspi/tmpl/spi_registry.sgml:
1160 Added reference to libspi/keymasks.h to the
1161 description of Registry queries: AccessibleKeyMaskType.
1164 2003-12-04 Bill Haneman <billh@gnome.org>
1166 Fix for bug #121974.
1168 * idl/Accessibility_Application.idl:
1169 (Accessibility::LOCALE_TYPE): New enum, corresponds to
1170 setlocale's LC_TYPEs.
1171 (Accessibility::Application::getLocale): New method.
1172 Allows clients to query the locale, by type, of an app.
1175 * cspi/spi_application.c:
1176 (AccessibleApplication_getLocale): New method, wraps IDL above.
1178 * libspi/application.c:
1179 (spi_application_class_init): Init epv entry for getLocale.
1180 (impl_accessibility_application_get_locale): Impl for above.
1182 * test/test-simple.c:
1183 (test_application): Added assertion for getLocale, i.e.
1184 that the string from AccessibleApplication_getLocale (app, type)
1185 is the same as that from setlocale (type, NULL);
1187 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1189 *registryd/deviceeventcontroller.c: Add an idle handler which polls
1190 the keyboard on a timeout intil the key state goes from pressed to
1191 released. Fixes bug #111429.
1193 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1195 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
1196 root object so that it is present when a context menu in an
1197 out-of-process applet is popped up.
1198 (spi_atk_bridge_do_registration): Create acceessible application root
1199 object only if it does not exist.
1201 This fixes bug #125834.
1203 2003-12-01 Bill Haneman <billh@gnome.org>
1205 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
1208 Added enum for AccessibleStreamableContentSeekType.
1209 (AccessibleStreamableContent_freeContentTypeList): New.
1211 * cspi/spi_streamablecontent.c:
1212 (accessible_bonobo_stream_client_seek): New private method.
1213 (AccessibleStreamableContent_seek): Implemented this method,
1214 using Bonobo_Stream_seek.
1215 (AccessibleStreamableContent_freeContentTypeList): New method
1216 for freeing the return value from
1217 AccessibleStreamableContent_getContentTypes.
1218 (stream_cache_item_free): Replaces stream_release; stop leaks.
1219 (stream_release): removed.
1220 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
1221 free the memory properly.
1223 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
1225 Fix for bug #116009.
1227 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
1229 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
1231 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
1233 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
1235 2003-12-01 Bill Haneman <billh@gnome.org>
1237 Fix for bug/rfe #127463.
1239 * idl/Accessibility_Accessible.idl:
1240 (getLocalizedRoleName): New.
1241 (unimplemented4): Removed (replaced by above).
1243 * libspi/accessible.c:
1244 (impl_accessibility_accessible_get_local_role_name): New.
1245 (spi_accessible_class_init): Add getLocalizedRoleName entry to
1249 (Accessible_getLocalizedRoleName): New.
1251 * cspi/spi_accessible.c:
1252 (Accessible_getLocalizedRoleName): New.
1254 2003-12-01 Bill Haneman <billh@gnome.org>
1256 Fix for bug #118581.
1257 * idl/Accessibility_Text.idl:
1258 (getDefaultAttributes): New.
1259 (unimplemented4): Removed (replaced by above method).
1262 (impl_getDefaultAttributes): New method.
1263 (spi_text_class_init):
1264 initialize the get_default_attributes slot in the epv.
1267 (AccessibleText_getDefaultAttributes): New prototype.
1270 (AccessibleText_getDefaultAttributes): New method.
1272 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
1274 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
1275 write beyond the end of the table. Fixes bug #120473.
1277 2003-09-30 Christian Rose <menthos@menthos.com>
1279 * configure.in: Added "eu" to ALL_LINGUAS.
1281 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
1283 * configure.in: ALL_LINGUAS: Added no.
1285 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
1287 * configure.in: Added lt to ALL_LINGUAS.
1289 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
1291 * atk-bridge/bridge.c:
1292 (atk_bridge_init): Register event listeners always even for
1293 out-of-process applet.
1294 (spi_atk_bridge_toplevel_added): Remove call to
1295 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
1296 (spi_atk_bridge_toplevelk_removed): Remove call to
1297 spi_atk_deregister_event_listenersa as the listeners are now always
1299 (spi_atk_bridge_register_application): Remove call to
1300 spi_atk_register_event_listeners as it is not done in atk_bridge_init
1302 This fixes bug #120991.
1304 * libspi/table.c (impl_getColumnDescription): Correct typo,
1305 pointed out by Bolian.Yin@sun.com.
1307 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
1309 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
1311 2003-09-08 Bill Haneman <billh@gnome.org>
1313 * configure.in: Revved to 1.3.7.
1315 This is the GNOME 2.4.0 release of at-spi.
1317 * docs/reference/cspi/Makefile.am:
1318 Removed spurious inclusion of 'index.sgml' in the
1319 html directory; this was breaking make distcheck and
1320 also some other build environments.
1322 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
1324 * registryd/registry.[ch}:
1325 Add queue_handler_id and focus_object to SpiRegistry data structure.
1326 (registry_flush_event_queue): If event being discarded is
1327 "state-change:focused" store object as focus_object.
1328 (registry_start_queue): Remove queue handler and focus object
1330 (registry_discard_event): New function which discards a focus event
1331 if we had stored focus object in the registry.
1332 (registry_queue_event): Add new check that is_queueing is set as this
1333 function is reentrant.
1334 (registry_filer_event): Add call to registry_discard_event.
1336 This resolves issues raised in bug #108664.
1338 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
1340 * configure.in: Added "bn" to ALL_LINGUAS.
1342 2003-09-04 Bill Haneman <billh@gnome.org>
1344 * cspi/spi_event.c: Documentation improvements for
1345 (SPI_registerAccessibleKeylistener).
1347 * docs/reference/tmpl/spi_registry.sgml:
1348 Documentation improvements for SpiAccessibleKeylistenerCB.
1350 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
1352 * configure.in: Added "ro" to ALL_LINGUAS.
1355 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
1357 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
1358 not decremented to zero. Fixes bug #120725.
1360 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
1362 * configure.in: Added "ja" to ALL_LINGUAS.
1364 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
1366 * configure.in: Added "is" to ALL_LINGUAS.
1368 2003-08-22 Christian Rose <menthos@menthos.com>
1370 * configure.in: Added "nl" to ALL_LINGUAS.
1372 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1374 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
1375 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
1377 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
1379 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
1380 type for unspecified exception.
1381 * cspi_streamablecontect): Add include of string.h for memcpy.
1382 (stream_release): Correct call to bonobo_object_release_unref
1383 (stream_cache_item_free): Correct call to bonobo_object_release_unref
1384 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
1385 argument of _cspi_expection_throw.
1386 * libspi/hyperlink.c: Add include of libspi/action.h:
1387 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
1388 * libspi/streamablecontent.c: add include of libspi/component.h.
1389 * regisrtyd/deviceeventcontroller.c:
1390 (spi_dec_translate_mask): Removed unused variable priv.
1391 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
1392 * registryd/registry.c:
1393 (registry_filter_event): Remove unused variable queue_is-empty.
1394 (impl_registry_notify_event): Use correct modifier in fprintf call.
1396 This fixes compiler warnings reported in bug #120220.
1398 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
1400 * registryd/registryd.c: Remove this file.
1402 2003-08-17 Sanlig Badral <badral@openmn.org>
1404 * configure.in: Added mn to ALL_LINGUAS.
1406 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
1408 * configure.in: Added et to ALL_LINGUAS.
1410 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
1412 * test/event-listener-test.c: Change active-descendant to
1413 active-descendant-changed.
1415 2003-08-10 Sami Pesonen <sampeson@iki.fi>
1417 * configure.in: Added "fi" in ALL_LINGUAS.
1419 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
1421 * configure.in: Added "hi" in ALL_LINGUAS.
1423 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
1425 * configure.in: Revved to 1.3.6.
1429 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
1431 * registryd/deviceeventcontroller.c
1432 (spi_device_event_controller_object_finalize): Fix typo in previous
1435 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
1437 * registryd/deviceeventcontroller.c
1438 (spi_device_event_controller_object_finalize): Fix build on
1439 systems without XEvIE.
1441 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
1443 * acconfig.h, configure.in, registryd/Makefile.am,
1444 registryd/devicecontoller.[ch]: Add XEViE support.
1446 2003-08-06 Wang Jian <lark@linux.net.cn>
1448 * configure.in: Added "zh_CN" to ALL_LINGUAS.
1450 2003-08-06 Metin Amiroff<metin@karegen.com>
1452 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
1454 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
1456 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
1457 MODIFIER_ALT in correct place.
1459 This fixes part of bug #118114.
1461 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
1463 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
1465 2003-07-28 Changwoo Ryu <cwryu@debian.org>
1467 * configure.in: Added "ko" to ALL_LINGUAS.
1469 2003-07-28 Ole Laursen <olau@hardworking.dk>
1471 * configure.in: Added "da" to the commented out ALL_LINGUAS.
1473 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
1475 * configure.in: Added "sq" to ALL_LINGUAS.
1477 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
1479 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
1481 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
1483 * configure.in: updated ALL_LINGUAS list
1485 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1487 * configure.in: Added Belarusian to ALL_LINGUAS.
1489 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
1491 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
1493 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
1494 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
1496 This fixes bug #116949.
1498 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
1500 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
1501 Correct CSPI to SPI in function documentation.
1503 This fixes bug #118054.
1505 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1507 * configure.in: Added Russian to ALL_LINGUAS.
1509 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
1511 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
1513 2003-07-14 Danilo Ã…Â Segan <dsegan@gmx.net>
1515 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
1517 2003-07-10 Joel Brich <joel.brich@laposte.net>
1519 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
1521 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
1523 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
1525 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
1527 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
1528 resources allocated for AccessibleEvent. See cspi_event().
1530 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
1531 static variable streams to NULL.
1533 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
1534 Update so that AcessibleEvent_ref will work.
1536 This fixes bug #116624.
1538 2003-07-06 Jordi Mallach <jordi@sindominio.net>
1540 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
1542 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
1544 * configure.in: Added "fr" (French) to ALL_LINGUAS.
1546 2003-07-02 Christian Neumair <chris@gnome-de.org>
1548 * configure.in: Added "de" (German) to ALL_LINGUAS.
1550 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
1552 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
1554 2003-07-01 Miloslav Trmac <mitr@volny.cz>
1556 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
1558 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
1560 * configure.in: Added "pl" to ALL_LINGUAS.
1562 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
1564 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
1566 2003-06-30 Bill Haneman <bill.haneman@sun.com>
1569 (get_action_from_servant):
1570 Removed assertion that action is implemented on an AtkObject.
1572 * libspi/hyperlink.c:
1573 (spi_hyperlink_new):
1574 Aggregate AccessibleAction interface on the hyperlink object if
1575 the object implements AtkAction. (This convention is used in
1578 2003-06-30 Bill Haneman <bill.haneman@sun.com>
1580 * configure.in: Revved to 1.3.5.
1582 * registryd/Accessibility_Registry.server.in.in:
1583 Marked up appropriate strings for translation.
1585 * atk-bridge/bridge.c: Marked a couple of
1586 user-visible warnings for translation. Questionable
1587 whether they are really useful, but possibly so.
1590 2003-06-28 Christian Rose <menthos@menthos.com>
1592 * configure.in: Added "sv" to ALL_LINGUAS.
1594 2003-06-26 Bill Haneman <bill.haneman@sun.com>
1596 * registryd/registry.c:
1597 (spi_registry_object_finalize): Unref the deviceeventcontroller.
1598 (registry_defer_on_event): Defer focus: events, this is an
1599 improvement to the patch for bug #108664.
1601 * TODO: Update with 2.4/"Dev Complete" items.
1603 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
1605 * atk-bridge/bridge.c:
1606 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
1607 looks up signals once.
1608 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
1609 if doing registration.
1610 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
1611 when doing registration.
1613 This fixes bug #115014.
1615 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
1617 * atk-bridge/bridge.c:
1618 (atk_bridge_init): Add signal handler for children-changed:remove on
1619 root when in a BonoboComponent.
1620 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
1621 for first toplevel only other incrememt variable toplevels.
1622 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
1623 application and remove listeners.
1624 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
1626 (spi_atk_deregister_event_listeners): New function which removes
1628 (reinit_register_vars): New fuction which reinitializes variables.
1630 This fixes bug #111578.
1632 2003-06-13 Bill Haneman <bill.haneman@sun.com>
1634 * configure.in: version 1.3.4.
1636 * cspi/spi_accessible.c:
1637 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
1640 2003-06-13 Michael Meeks <michael@ximian.com>
1642 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
1644 * cspi/spi_main.c (cspi_peek_ev): impl.
1646 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
1648 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
1650 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
1652 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
1653 SPI_ROLE_AUTOCOMPLETE
1655 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
1657 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
1658 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
1660 2003-06-11 Bill Haneman <bill.haneman@sun.com>
1662 * libspi/streamablecontent.h:
1663 * libspi/streamablecontent.c:
1664 New files, provide implementation/wrappers for
1665 Accessibility_StreamableContent.
1667 * cspi/spi_streamablecontent.c:
1668 Connected the C wrappers to the libspi C bindings.
1669 (AccessibleStreamableContent_close): New method.
1672 (AccessibleStreamableContent_close): New method, needed
1673 since we have an "open, [seek], read, close" model in cspi.
1675 2003-06-11 Bill Haneman <bill.haneman@sun.com>
1677 Fix for #108664; Padraig's revision of my original patch.
1679 * registryd/registry.h:
1680 Added event queue list, is_queuing, and exit_notify_timeout
1681 to the registry struct.
1683 * registryd/registry.c:
1684 (registry_init): Initialize new struct from registry.h.
1685 (impl_registry_notify_event):
1686 Filter events before notifying, in case some need to be
1688 (registry_filter_event): New,
1689 we defer certain incoming events (for instance
1690 window:deactivate) because we may wish to hide
1691 or reject them based on pending events. This is
1692 mostly a workaround for bug #108664.
1693 (registry_queue_event, registry_start_queue): New.
1694 (registry_defer_on_event): Test event to see if it
1696 (registry_reset_on_event): Returns TRUE if the
1697 event should cause a queue reset.
1698 (registry_discard_on_event): Returns TRUE if the event
1699 should cause the previous queue contents to be discarded.
1700 (registry_timeout_flush_queue): Flushes the pending event
1701 queue if no reset/discard-triggering events have come in
1702 within the timeout period.
1703 (registry_emit_event): New.
1704 (registry_clone_notify_context): New, used when queueing the
1705 event notify contexts.
1707 2003-06-10 Bill Haneman <bill.haneman@sun.com>
1709 * configure.in: Version revved to 1.3.2, lt 0.9.2
1710 Incremented ATK required version to 1.3.4.
1712 * cspi/spi_registry.c:
1713 (SPI_generateKeyEvent):
1714 We now pass the keystring along if it's non-null.
1716 * registryd/deviceeventcontroller.c:
1717 (keysym_mod_mask): New method, returns modifier mask
1718 required to generate a keysym from a given keycode.
1719 (dec_synth_keysym): New method.
1720 (dec_synth_keystring): New method.
1721 (dec_get_modifier_state): New method.
1722 (dec_lock_modifiers): New
1723 (dec_unlock_modifiers): New.
1724 (dec_keysym_for_unichar): New, rather brute-force
1725 conversion from UCS-4 to X KeySyms. Only works for
1726 Latin at the moment, with partial implementations for
1727 Greek, Hebrew, and (incomplete) Katakana.
1728 (impl_generate_keyboard_event): Now implement
1729 "KEYSTRING" synthesis and implement "KEYSYM"
1731 (keycode_from_keysym): Improved, passes a returned
1732 modmask value now if the corresponding param is non-NULL.
1734 Fixes bugs #92143 and #109776.
1737 * test/keysynth-test.c:
1738 New test program for key synthesis, to confirm fixes for
1742 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
1744 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
1746 * cspi/spi_accessible.c (cspi_init_relation_type_table):
1747 Add line for RELATION_POPUP_FOR
1749 * docs/reference/cspi/tmpl/spi_relation.sgml:
1750 Add relation SPI_RELATION_POPUP_FOR
1752 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1753 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
1755 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
1757 * libspi/relation.c (spi_init_relation_type_table):
1758 Add line for RELATION_POPUP_FOR
1760 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
1762 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
1763 there are still windows which have not been deleted and emit
1764 window:deactivate, if necessary and window:destroy events.
1765 This fixes bug #114370. The change on June 5th was not correct.
1767 2003-06-09 Bill Haneman <bill.haneman@sun.com>
1769 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
1772 (SPI_dupString): Allow dup-ing of a string such that it's safe to
1774 New methods for client exception handling and interception.
1775 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
1776 (SPI_exceptionHandlerPop): You guessed it...
1777 (SPI_getSourceType): Return the type of object which offended.
1778 (SPI_getExceptionCode): Return an enum code telling, possibly,
1779 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
1780 (SPIAccessibleException_getSource): get the source object for
1781 exceptions that come from Accessibles, if SPIExceptionSourceType is
1782 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
1783 (SPIException_getDescription): New, returns a string description of
1784 the problem. [Not yet a stable ABI, strings are not frozen]
1786 * cspi/spi-private.h:
1787 Added implementation details of opaque SPIException
1791 Implementations of above. Also
1792 (_cspi_exception_throw): new private method that
1793 dispatches exceptions to handlers, called from cspi-bonobo.c
1795 * cspi/bonobo/cspi-bonobo.c:
1796 (cspi_check_ev): call _cspi_exception_throw.
1797 Don't print a warning message if the exception has been
1798 handled by _cspi_exception_throw.
1800 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
1802 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
1803 there are still windows which have not been deleted and emit
1804 window:deactivate, if necessary and window:destroy events.
1805 This fixes bug #114370.
1807 2003-06-03 Bill Haneman <bill.haneman@sun.com>
1810 (cspi_accessible_is_a): Make non-fatal
1811 if the object reference is dead.
1813 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
1815 * cspi/spi_main.c: #include <stdio.h>
1816 * test/simple-at.c: ditto
1817 * test/event-listener-test.c: ditto
1818 * test/screen-review-test.c: ditto
1820 2003-05-30 Michael Meeks <michael@ximian.com>
1822 * test/test-simple.c (main): use CORBA_ORB_perform_work
1823 instead of an unnecessary linc_ call.
1825 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
1827 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
1828 Add SPI_STATE_INDETERMINATE.
1830 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
1833 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
1835 * libspi/stateset.c (init_state_type_tables): Add support for
1838 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
1840 * configure: Update versions of atk and gail required.
1841 This fixes bug #113268.
1843 2003-05-02 Bill Haneman <bill.haneman@sun.com>
1845 * configure.in: Revved micro version to 1.3.1 (because of build fix).
1847 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
1849 * libspi/Makefile.am:
1850 Ensure headers are generated before being used by c sources.
1852 2003-05-01 Bill Haneman <bill.haneman@sun.com>
1855 Simplified lt versioning rules.
1856 Incremented version to 1.3.0, to indicate that we're on the
1857 unstable branch now.
1859 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
1861 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
1862 Add MKDB_OPTIONS=--outtput-format=xml
1864 * docs/reference/cspi/at-spi-cspi-docs.sgml
1865 docs/reference/idl/at-spi-idl-docs.sgml:
1866 Convert to Docbook XML.
1868 This fixes bug #111793.
1870 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
1872 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
1873 AcccessibleKeyEventType, AccessibleKeyMaskType.
1875 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
1877 * cspi/state-types.h: Add documentation for AccessibleState.
1879 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
1880 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
1881 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
1882 AccessibleComponentLayer.
1884 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
1887 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
1889 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
1890 Accessible. Add description of AccessibleEvent,
1891 AccessibleEventListenerCB.
1893 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
1896 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
1897 documentation. Add description of AccessibleKeystrokeListenerCB,
1898 AccessibleKeyEventMask, AccessibleModifierMaskType,
1899 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
1900 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
1902 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
1905 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
1908 This fixes bug #104730.
1910 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
1912 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
1913 Set is_text field of Accessibility_DeviceEvent data structure.
1915 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
1916 is-text field of AccessibleDeviceEvent data structure.
1918 This addresses part of bug #108666.
1920 * registryd/devcieeventcontroller.c: Unset debug option.
1922 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
1924 * cspi/accessible.c:
1925 (cpi_initial_relation_type_table): New function which initializes
1926 mapping between Accessibility_RelationType and AccessibleRelationType.
1927 (cspi_relation_type_from_spi_relation_type): New function which
1928 translates an Accessibility_RelationType into an AccessibleRelationType.
1929 (AccessibleRelation_getRelationType): Use
1930 cpi_relation_type_get_spi_relation_type to return correct value.
1931 (spi_state_to_corba): Return correct type for default case.
1933 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
1934 Use Accessibility_EventType instead of Accessibility_KeyEventType.
1936 * cspi/cspi-bonobo-listener.c:
1937 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
1940 * libspi/accessible.c, libspi/action.c, libspi/application.c,
1941 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
1942 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
1943 libspi/image.c, libspi/listener.c, libspi/selection.c,
1944 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
1945 registryd/desktop.c, registryd/registry.c:
1946 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1948 * libspi/eventlistener.c
1949 Remove semicolon after BONOBO_TYPE_FUNC.
1951 * libspi/relation.c:
1952 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1953 (spi_init_relation_type_table): Initialize using correct type.
1955 * registryd/desktop.c:
1956 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1957 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
1958 of Accessibility_KeyEventType.
1960 * test/key-listener-test.c (report_tab_key_event): Use fprintf
1963 * tests/simple-at.c, tests/screen-review-test.c:
1964 Add include for <strings.h>.
1966 * tests.stress-test.c:
1967 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
1969 These changes fix compiler warnings when using FORTE compiler on
1970 Solaris; fixes bug #107479.
1973 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1976 * configure.in: revved to 1.1.10
1978 * libspi/keymasks.h:
1979 (SPI_KEYMASK_NUMLOCK): Added.
1981 * registryd/deviceeventcontroller.c:
1982 (spi_key_event_matches_listener): AND with a smaller
1983 bitmask (as we should).
1984 (spi_dec_translate_mask):
1985 New method, sets the virtual NumLock modifier bit
1986 if numlock is on. Eventually it can handle other virtual
1987 modifier bits if needed, or other marshalling from
1988 at-spi modifier masks to platform (X) masks.
1989 (spi_dec_key_listener_new):
1990 Call spi_dec_translate_mask to set up virtual mod bits
1991 in the 'mask' field when creating a new listener struct.
1992 (spi_dec_emit_modifier_event):
1993 Set the virtual (i.e. NumLock) bits before emitting event.
1994 (spi_controller_register_with_devices):
1995 Query for the NumLock modifier 'physical' bit if Xkb is
1996 present, for use in above methods.
2000 2003-04-10 Bill Haneman <bill.haneman@sun.com>
2002 * registryd/deviceeventcontroller.c:
2003 (spi_keystroke_from_x_key_event):
2004 Instead of checking to see if the keysym is
2005 printable, check the string from XLookupString
2006 if available, get the first unicode character from it,
2007 and call g_unichar_isprint to determine whether the
2008 is_text flag should be TRUE or FALSE.
2012 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2014 * atk-bridge/bridge.c: Add support for extended events
2015 * cspi/spi_event.c: Add documentation and implementation for
2017 * tests/event-listener-test.c: Add tests for extended events.
2019 This fixes bugs #100424 and #100426.
2021 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
2023 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
2024 of LT_CURRENT. This fixes bug #89350.
2026 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
2028 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
2029 number of signal parameter values before accessing them. This fixes
2032 2003-04-01 Bill Haneman <bill.haneman@sun.com>
2034 * configure.in: Fixed duplicate inclusion of -lspi.
2035 * branched for gnome-2-2/HEAD.
2036 [created tag "gnome-2-2"]
2038 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2040 * configure.in: 1.1.9 release.
2043 2003-03-07 Bill Haneman <bill.haneman@sun.com>
2045 [needed by GOK, to fix bugs 107985 and 107988]
2046 * registryd/deviceeventcontroller.c:
2047 (spi_dec_clear_unlatch_pending):
2048 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
2049 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
2050 (spi_dec_init_mouse_listener):Emit warning if mouse button
2052 (spi_device_event_controller_forward_mouse_event):
2053 Removed unnecessary parens from a conditional.
2054 (global_filter_fn):Added TODO comment.
2055 (impl_generate_keyboard_event):
2056 Cancel a pending relatch if a 'delatching' key was
2059 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
2061 * atk-bridge/bridge.c:
2062 Change atk_signal_child_changed to atk_signal_children_changed.
2063 Reorganize code in spi_atk_bridge_signal_listener().
2065 * test/event-listener-test.c:
2066 Add children_changed_listener and report_children_changed_event()
2067 to test AccessibleChildEvent_getChildAccessible.
2069 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
2071 * cspi/spi_event.c (cspi_internal_event_get_text): Change
2072 g_strdup to CORBA_String_dup (bug #105291)
2074 * test/event-listener-test.c (report_text_event): Add call to
2077 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2079 * registryd/deviceeventcontroller.c:
2080 (spi_keystroke_from_x_key_event):
2081 Fix string and keysym return codes to match modifier state.
2084 2003-02-28 Bill Haneman <bill.haneman@sun.com>
2086 * registryd/deviceeventcontroller.c:
2087 (spi_keystroke_from_x_key_event):
2088 Fix segv due to improper use of isprint(c). [bug #107254]
2090 2003-02-24 Bill Haneman <bill.haneman@sun.com>
2093 (get_accessible_text_boundary_type):
2094 Move default return value to (new) default case in switch.
2095 (get_accessible_text_clip_type):
2096 Move default return value to (new) default case in switch.
2098 * libspi/application.c:
2099 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
2100 Remove unused methods.
2101 (impl_accessibility_application_register_object_event_listener):
2102 Remove unused methods.
2105 Added #include of <math.h>.
2107 * registryd/deviceeventcontroller.c:
2108 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
2109 we don't currently use this method.
2110 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
2112 (impl_generate_key_event):
2113 Remove unused variables.
2114 (impl_generate_mouse_event):
2115 Initialize button to zero, just in case we get an invalid
2116 input. Added support for mouse buttons 4 and 5.
2117 (spi_device_event_controller_new):
2118 Removed unused variable declaration for 'private'.
2120 Added #include of <gdk/gdk.h>
2122 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2124 * configure.in: Update to work when X is not installed in expected
2125 location. Fixes bug #105836.
2127 * atk-bridge/bridge.c
2128 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
2130 (spi_atk_register_event_listener): Add signal listener for
2132 (spi_atk_bridge_signal_listener): Event event when link-selected
2133 signal is emitted. (bug #104622)
2135 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
2136 on returned string. (bug #105291)
2138 * test/event-listener-test.c: Add test for link-selected.
2140 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2142 * atk-bridge/Makefile.am: Correct typo in previous commit.
2144 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
2146 * atk-bridge/Makefile.am: Allow for build directory to be different
2147 from source directory
2149 * registryd/Makefile.am: Allow for build directory to be different
2150 from source directory
2154 2003-01-29 Bill Haneman <bill.haneman@sun.com>
2157 Fixed dependencies for libcspi so that libspi gets pulled in
2158 properly. Fixes 104741.
2162 Clean up inline docs a little.
2164 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
2166 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
2167 This is done by implementing AtkComponent for SpiAtkDesktop, which is
2168 the AtkObject within an SpiDesktop.
2169 This addresses bug #101524.
2171 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
2172 Remove call to gdk_init().
2174 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
2175 so that Display is set when SpiDesktop is created.
2177 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
2179 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
2180 This fixes bug #102830.
2182 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2184 * test/test-simple.c: Update to take account of fact that GailButton
2185 now implements AtkText.
2186 (create_text_window): Set name on AtkObject for GtkEntry.
2187 (validate_accessible): Check accessible name before calling test_text().
2189 * libspi/Makefile.am: Fix problem with building outside of source
2190 directory. Bug #98120.
2192 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
2193 typo in documentation comments. Bug #94275.
2195 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2197 * libspi/text.c (impl_getBoundedRanges): Bug fix.
2199 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
2202 Add includes to avoid compiler warnings on Solaris.
2203 (impl_getRangeExtents): Bug fix.
2205 2002-12-17 Bill Haneman <bill.haneman@sun.com>
2207 Fix for 100944, [API addition approved by Gman and murrayc].
2214 * idl/Accessibility_Text.idl:
2215 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
2216 (Text::getRangeExtents): New method for efficient
2217 bounds query of a text range.
2218 (Text::getBoundedRanges): New method for efficient
2219 clipping of text to bounding boxes.
2220 (unImplemented7, unImplemented8):
2221 Removed these padding methods to preserve bincompat.
2224 (impl_getRangeExtents): implementation of new IDL.
2225 (impl_getBoundedRanges): implementation of new IDL.
2226 (SpiTextRect): Internal use struct.
2227 (_spi_text_rect_union): internal method, calculates union of two
2228 SpiTextRect bounding rects.
2229 (_spi_text_range_seq_from_gslist): internal method, allows us
2230 to build our sequence efficiently as a gslist then convert it
2232 (_spi_bounds_contain): internal method, determines whether
2233 a text character is "in" or "out" of a clip rect according to
2234 values of TEXT_CLIP_TYPE.
2235 (spi_text_class_init): Initialize the new methods in the epv.
2238 (AccessibleTextClipType): New enum used by screen review api.
2239 (AccessibleTextRange): New struct used by screen review api.
2240 (AccessibleText_getRangeExtents):
2241 cspi binding for Accessibility_Text_getRangeExtents.
2242 (AccessibleText_getBoundedRanges):
2243 cspi binding for Accessibility_Text_getBoundedRanges.
2244 (AccessibleTextRange_freeRanges): convenience method.
2247 (AccessibleText_getRangeExtents):
2248 cspi binding for Accessibility_Text_getRangeExtents.
2249 (AccessibleText_getBoundedRanges):
2250 cspi binding for Accessibility_Text_getBoundedRanges.
2251 (AccessibleTextRange_freeRanges): convenience method.
2252 (get_accessible_text_clip_type): internal conversion method.
2253 (get_accessible_text_ranges_from_range_seq): internal conversion method.
2255 * registryd/deviceeventcontroller.c:
2256 (spi_dec_mouse_check):
2257 Improved behavior for mouse:abs events
2258 [same granularity as mouse:rel events, and no
2259 events when mouse is idle].
2261 2002-12-16 Michael Meeks <michael@ximian.com>
2263 * cspi/spi_accessible.c (spi_state_to_corba): rename.
2265 * libspi/stateset.c (state_spi_to_atk): split out
2266 ( fix several remote array bounds nasties )
2267 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
2268 (impl_remove): make safe from array bounds issues.
2269 (spi_atk_state_from_spi_state): impl.
2271 * libspi/stateset.h (spi_state_set_cache_is_empty):
2272 add a set of wrapper defines to get layering right.
2274 * cspi/spi_accessible.c: update state set stuff to
2277 2002-12-14 Michael Meeks <michael@ximian.com>
2279 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
2280 to avoid 2 roundtrips to the registry per key event
2281 (spi_atk_bridge_key_listener): upd.
2282 (deregister_application): release the dec.
2284 * registryd/registry.c (notify_listeners_cb):
2285 bin lots of re-enterant complexity - we no longer
2286 do a round-trip bonobo ref here, ensure that a single
2287 listener's exception failure won't poison all other
2289 (impl_registry_notify_event): bin obvious memory leak.
2291 2002-12-13 Michael Meeks <michael@ximian.com>
2293 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
2294 init the ev so the error is meaningful.
2295 (spi_atk_bridge_key_listener): ditto.
2297 * cspi/spi_main.c (cspi_ev): init the ev so we start
2298 with a clean slate, otherwise the first exception
2299 kills us completely.
2301 * cspi/spi_text.c (get_accessible_text_boundary_type):
2302 add a fallthrough for no warnings.
2304 * cspi/spi_registry.c: prune unused warnings.
2306 * cspi/spi_main.c (cspi_object_take): fix
2307 mind-blowing brokenness ( by watching the compile
2310 * cspi/spi_accessible.c (Accessible_getStateSet):
2311 re-impl. to use an AtkStateSet.
2312 (spi_state_type_from_accessible_state),
2313 (init_state_table): bin these.
2315 * libspi/stateset.c (spi_atk_state_set_from_sequence):
2317 (atk_state_set_from_accessibility_state_set): here.
2319 * cspi/spi_accessible.c (spi_state_to_atk): impl.
2320 (AccessibleStateSet_contains, AccessibleStateSet_ref),
2321 (AccessibleStateSet_unref, AccessibleStateSet_contains),
2322 (AccessibleStateSet_add, AccessibleStateSet_remove),
2323 (AccessibleStateSet_equals, AccessibleStateSet_compare),
2324 (AccessibleStateSet_isEmpty): re-write to use a local
2327 2002-12-13 Bill Haneman <bill.haneman@sun.com>
2329 * configure.in: Revved to 1.1.7 (new keymask vals).
2331 2002-12-10 Bill Haneman <bill.haneman@sun.com>
2333 * libspi/keymasks.h:
2334 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
2336 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
2339 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
2340 to compare two CORBA_TypeCodes.
2341 (cspi_internal_event_add): Silence warning from FORTE compiler.
2343 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
2344 avoid implicit declaration of functions.
2346 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
2348 * atk-bridge/bridge.c:
2349 (spi_atk_bridge_init_event_type_consts): Store signal id for
2350 active-descendant-changed signal.
2351 (spi_atk_register_event_listeners): Add signal listener for
2352 active-descendant-changed signal,
2353 (spi_atk_bridge_signal_listener): Move code in function
2354 spi_atk-signal_emit_event() into this function.
2355 Add support for active-descendant-changed
2356 Update support for child-changed signal.
2357 (spi_bridge_window_event_listener): Silence warning.
2359 * libspi/spi_private.[ch]:
2360 (spi_init_any_object): Change second parameter from CORBA_Object to
2362 Omit call to CORBA_Object_duplicate().
2363 Set CORBA_any's _value to CORBA_Object*.
2365 2002-12-06 Bill Haneman <bill.haneman@sun.com>
2371 (AccessibleEvent_ref, AccessibleEvent_unref):
2372 New methods, for persisting an event outside the emission context.
2373 Must be used if the new accessor methods are to be called
2374 outside of the event listener's callback.
2376 * cspi/bonobo/cspi-bonobo.c:
2377 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
2378 as second parameter instead of NULL, so we can call
2379 cspi_check_ev afterwards.
2382 (cspi_object_take): New internal method,
2383 converts a CORBA_Object reference to a hard ref on
2384 an Accessible if possible, returning NULL if the object
2385 reference is invalid or an Accessible * otherwise.
2388 (AccessibleEvent_ref):
2389 Increment the event's internal private refcount, and
2390 add the event's internal struct to an internal cache
2391 if it's not already there.
2392 (AccessibleEvent_unref):
2393 Decrement the event's refcount and remove it from
2394 the cspi event cache if refcount==0.
2395 (cspi_event_compare): New private method.
2396 Compares two event structs via their ids. Used
2398 (cspi_internal_event_lookup): New private method.
2399 (cspi_internal_event_check): New private method,
2400 a 0-order sanity check for events to make sure their
2401 private data is intact.
2402 (cspi_internal_event_add, cspi_internal_event_remove):
2403 New private methods for managiing the event cache.
2405 * cspi/bonobo/cspi-bonobo-listener.c:
2407 Initialize the new private data elements (id, magic, ref_count).
2409 * atk-bridge/bridge.c:
2410 (spi_atk_bridge_signal_listener):
2411 Fixed bug #100530, passing wrong params to emission func.
2413 * registryd/deviceeventcontroller.c:
2414 (spi_dec_button_update_and_emit):
2415 Fixed type in mask bit operations; fix for #99799.
2417 2002-12-02 Bill Haneman <bill.haneman@sun.com>
2419 Removed some of the more dangerous workarounds from
2420 previous commit; they are only needed by GOK, which
2421 in reality should be using another method to accomplish
2422 the goals. So on reconsideration some of the workarounds
2423 need to be reverted:
2425 * registryd/deviceeventcontroller.c:
2426 (spi_keycodes_contain, spi_dec_init_keycode_list):
2427 Removed these methods, used only by a nasty hack to try
2428 and detect whether a key synthesis should be allowed
2429 to reset the XKB latch state or not. This code was only
2430 required to work around an interaction between GOK,
2431 button events, and XKB.
2432 (impl_generate_key_event):
2433 Removed hack at end of key generation that tried to
2434 "do the right thing" if XKB latch keys were generated
2435 in the midst of button press/release pairs.
2438 Added a check for HAVE_XINPUT. Not normally used yet.
2440 2002-11-25 Bill Haneman <bill.haneman@sun.com>
2442 Workarounds and fixes for mouse event/XKB interaction.
2444 * registryd/deviceeventcontroller.c:
2445 (spi_keycodes_contain, spi_dec_init_keycode_list):
2446 New internal methods.
2447 (spi_dec_set_unlatch_pending):
2448 Split the method that tells XKB to expect an
2449 unlatch (and revert it) out of the rest of the
2450 event handling code. This method is called by the
2451 two mouse event handlers (the poll and the filter).
2452 (spi_dec_update_and_emit, spi_dec_mouse_check):
2453 New methods split from spi_dec_poll_mouse_moved.
2454 The second one is now called from inside the filterFn
2455 when an XKB delatch event is received, to determine
2456 whether to revert the delatch or not.
2457 (spi_poll_mouse_moved): Refactor; also we can now
2458 properly handle the case where multiple button states
2459 have changed between polling cycles and we didn't get
2460 notified due to another client's grab.
2462 Synchronize the server while handling an XKB notification.
2463 Ugly, but apparently necessary to avoid nasty races.
2464 Check the mouse state on receipt of an XKB latch change,
2465 to decide whether to revert the latch or not. (Latches are
2466 reverted if there is an immediately preceding mouse button
2467 event that a client has consumed, in which case we don't want
2468 the user to see the side-effect of the event).
2469 (spi_device_event_controller_forward_mouse_event):
2470 Check for modifier events and fire before resetting mouse_mask_state,
2471 prevents losing modifier events.
2473 (impl_generate_keyboard_event):
2474 If we've just generated a keyboard event for a non-shift key,
2475 we don't want to revert the pending XKB latch.
2476 Otherwise, check the modifier state (via a call to
2477 spi_dev_mouse_check) and set the relatch mask to
2478 that state before returning.
2480 2002-11-24 Bill Haneman <bill.haneman@sun.com>
2483 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
2486 * atk-bridge/bridge.c:
2487 (spi_atk_register_event_listeners):
2488 Don't re-register for ATK events if the registry has died
2489 and the app needs to re-register; the ATK listeners are in
2490 process and doing so will cause duplicate emission.
2492 * registryd/deviceeventcontroller.c:
2493 (spi_poll_mouse_moved):
2494 Reformat the source, detect and emit multiple button-change
2495 events (i.e. if multiple buttons have changed between poll
2497 Add code to detect mouse-down events even when the pointer
2498 is grabbed; workaround for GOK bug 98420.
2499 (spi_controller_register_with_devices):
2500 Call XTestGrabControl with 'impervious' flag set to True,
2501 allows us to synthesize events and query the pointer even during
2502 an active grab by another client.
2503 (spi_device_event_controller_forward_mouse_event):
2504 Set the mouse_mask_state to the mouse_button_state from
2505 the intercepted event, to synchronize the grab listener with
2508 2002-11-20 Bill Haneman <bill.haneman@sun.com>
2510 * cspi/spi_accessible.c:
2511 (AccessibleRole_getName):
2512 Added necessary strings for making this (deprecated)
2513 method work with the new role types.
2514 (init_role_table, role_table):
2515 Added definition of SPI_ROLE_APPLICATION.
2517 * libspi/spi-roletypes.h:
2518 Added SPI_ROLE_APPLICATION.
2520 * idl/Accessibility_Role.idl:
2521 Added ROLE_APPLICATION.
2523 * docs/reference/cspi/at-spi-cspi-decl.txt:
2524 Added SPI_ROLE_APPLICATION to docs.
2526 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
2528 * cspi/spi_accessible.c
2529 (cspi_init_role_table): Do not write beyond end of role_table.
2530 (Accessible_getRole): Use correct type for value returned by
2531 Accessibility_Accessible_getRole().
2533 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
2534 beyond end of role_table. (This fixes bug #98269)
2536 * libspi/application.c: Add include file spi-private.h for
2537 definition of spi_init_any_nil.
2539 2002-11-19 Bill Haneman <bill.haneman@sun.com>
2543 * libspi/spi-private.h:
2544 Added DGB() macro, and extern int _dbg declaration.
2546 * registryd/registry.c:
2547 (definitions) storage for _dbg.
2548 (spi_registry_init):
2549 Get environment variable "AT_SPI_DEBUG".
2550 (spi_registry_set_debug):
2551 New method, to initialize _dbg value.
2552 (spi_listener_struct_new, spi_registry_object_finalize):
2553 (notify_listeners_cb):
2554 Changed fprintfs to use DBG and g_warning().
2556 * registryd/deviceeventcontroller.c:
2557 (_deregister_keygrab, spi_controller_register_device_listener):
2558 Changed debug/warning messages to use DBG macro.
2560 * libspi/listener.c:
2561 (impl_notify_event):
2562 Changed warning messages to use DBG macro and g_warning().
2564 * atk-bridge/bridge.c:
2565 (atk_bridge_init, spi_atk_bridge_get_registry):
2566 (spi_atk_bridge_exit_func):
2567 (spi_atk_bridge_property_event_listener):
2568 Changed status, warning, and error messages to use
2569 g_warning, g_message, and DBG macros.
2572 Read the state of the AT_SPI_DEBUG environment variable
2573 and set a local '_dbg' accordingly.
2575 2002-11-19 Bill Haneman <bill.haneman@sun.com>
2577 FIXES for 98836, 98842, other bugs.
2580 Revved to 1.1.4, interface-age=4, binary-age=4.
2582 * registryd/deviceeventcontroller.c:
2584 Fixed crasher bug in last_mouse_pos initialization.
2586 * registryd/registry.c:
2587 (desktop_add_application, desktop_remove_application):
2588 Added (and then commented out) some support for
2589 object context marshalling. [TODO]
2591 * atk-bridge/bridge.c:
2592 (spi_atk_bridge_event_context_create):
2593 Commented out object context creation until it can
2594 be properly tested and debugged.
2596 * registryd/registry.c:
2597 (impl_registry_notify_event):
2598 Fixed crasher bug, we were calling
2599 spi_re_entrant_list_foreach () with an empty list.
2601 2002-11-18 Bill Haneman <bill.haneman@sun.com>
2603 * idl/Accessibility_Action.idl:
2604 * idl/Accessibility_Component.idl:
2605 * idl/Accessibility_Desktop.idl:
2606 * idl/Accessibility_Event.idl:
2607 * idl/Accessibility_Hyperlink.idl:
2608 * idl/Accessibility_Image.idl:
2609 * idl/Accessibility_Relation.idl:
2610 * idl/Accessibility_Selection.idl:
2611 * idl/Accessibility_State.idl:
2612 * idl/Accessibility_Value.idl:
2613 Updated unimplemented slot count to minimum of
2614 four for all interfaces, for ABI freeze.
2616 * idl/Accessibility_EditableText.idl:
2617 * idl/Accessibility_Text.idl:
2618 Updated unimplemented slot count to six
2621 * idl/Accessibility_Registry.idl:
2622 Updated unimplemented slot count to six
2623 (also for DeviceEventController),
2626 * idl/Accessibility_Table.idl:
2627 Updated unimplemented slot count to eight,
2630 * idl/Accessibility_Event.idl:
2631 Added CORBA_any "any_data" member to Event struct.
2633 * idl/Accessibility_Event.idl:
2634 Added CORBA_any "any_data" member to Event struct.
2636 * atk-bridge/bridge.c:
2638 atk_signal_text_changed, atk_signal_child_changed,
2639 signal ids queried from gtype system.
2640 (AtkBridgeEventContextType): New enum.
2641 (AtkBridgeEventContextData): New struct.
2642 (AtkBridgeEventContext): New struct.
2643 (atk_bridge_init_event_type_consts):
2644 New method, initializes type contants for comparison
2645 prior to emit_eventv.
2646 (atk_bridge_event_context_init): New method,
2647 initializes a CORBA_any from an AtkBridgeEventContext.
2648 (atk_bridge_focus_tracker): Call spi_init_any_nil to
2649 initialize the event.any_data struct.
2650 (spi_atk_bridge_event_context_create): New method,
2651 creates an AtkBridgeEventContext from signal/event info.
2652 (spi_atk_bridge_event_context_free): New method.
2653 (spi_atk_emit_eventv): Changed to take an
2654 AtkBridgeEventContext parameter. We now initialize
2655 the event.any_data member prior to notifying the
2656 Registry, via the AtkBridgeEventContext.
2657 (spi_atk_bridge_property_event_listener):
2658 (spi_atk_bridge_state_event_listener):
2659 Match emit_eventv signature.
2660 (spi_atk_bridge_object_event_listener):
2661 Match emit_eventv signature, and create an
2662 event context from the event details.
2663 Free the event context afterwards.
2664 (spi_atk_bridge_window_event_listener):
2665 Create an event context, pass it to the
2669 (AccessibleEvent_getContextString):
2670 (AccessibleEvent_getContextObject):
2671 New methods, allow query of AccessibleEvent objects
2672 for more context details (via the "any_data" member
2673 of the Event struct, above).
2676 Definitions for AccessibleEvent_getContextString
2677 and AccessibleEvent_getContextObject.
2679 * cspi/spi_listener.h:
2680 (InternalEvent): New struct.
2683 (AccessibleEvent_getContextString):
2684 (AccessibleEvent_getContextObject):
2685 Implementations of new methods, for obtaining
2686 additional context information from some event types.
2688 * cspi/spi_registry.c:
2689 (SPI_registerGlobalEventListener):
2690 Added mention of active-descendant-changed event in docs.
2692 * cspi/cspi-bonobo-listener.c:
2694 Marshal the any into the AccessibleEvent via
2697 * libspi/spi-private.h:
2698 #include <orbit/orbit.h>
2700 (spi_init_any_string):
2701 (spi_init_any_object):
2702 New convenience function declarations.
2706 (spi_init_any_string):
2707 (spi_init_any_object):
2708 New convenience function implementations.
2710 * registryd/deviceeventcontroller.c:
2711 (spi_poll_dec_mouse_moved):
2712 (spi_device_event_controller_forward_mous_event):
2713 Initialize any_data member of event.
2714 (spi_deregister_controller_device_listener):
2715 Fix incorrect param pass which was preventing deregistration.
2717 * registryd/registry.c:
2718 (desktop_add_application):
2719 (desktop_remove_application):
2720 Add object data to event's any_data before dispatch.
2722 Fix for error messages from GAIL.
2724 * test/event-listener-test.c:
2725 Test new ContextString and "any_data" API:
2726 (report_text_event): New method query and output context string.
2727 (main): register a new text listener with report_text_event
2730 2002-11-19 Darren Kenny <darren.kenny@sun.com>
2732 Fixes for bugs 98127 and 97914.
2733 * cspi/spi-roletypes.h:
2734 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
2736 * cspi/spi-statetypes.h:
2737 Added SPI_STATE_MANAGES_DESCENDANTS
2739 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
2740 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
2741 * cspi/spi_accessible.c:
2742 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
2743 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
2744 Accessibility_STATE_MANAGES_DESCENDANTS
2745 * libspi/accessible.c:
2746 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
2747 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
2748 As requested by Bill, I also cleaned up the alignment.
2749 * libspi/relation.c:
2750 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
2751 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
2752 * libspi/stateset.c:
2753 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
2754 Accessibility_STATE_MANAGES_DESCENDANTS
2755 * docs/reference/cspi/tmpl/spi_accessible.sgml:
2756 Document changes reflecting modifications to roles.
2757 * docs/reference/cspi/tmpl/spi_relation.sgml:
2758 Document changes reflecting modifications to relations.
2759 * docs/reference/cspi/tmpl/spi_stateset.sgml:
2760 Document changes reflecting modifications to states.
2762 2002-11-17 Bill Haneman <bill.haneman@sun.com>
2765 Revved to 1.1.3, interface-age=3, binary-age=3.
2766 Added REBUILD macro.
2769 Removed accessx-gui from the tests, since we have a nice
2770 keyboard accessibility capplet now :-)
2772 * test/keysynth-demo.c:
2773 (increment_scan): removed do-nothing default: case,
2776 * test/visual-bell.c:
2777 (main) : removed do-nothing default: case,
2780 * cspi/spi_action.c:
2781 (AccessibleAction_getKeyBinding_):
2782 Documented keybinding string format.
2786 (AccessibleText_getAttributes):
2787 Documented the text attribute string format.
2788 It's changed to use semicolon delimiters also,
2789 to prevent clashes with CSS attributes, but the old
2790 trick of looking for ", " strings will still work
2791 (as unreliably as ever). Fix for bug related to 97916.
2794 Include <cspi/bonobo/cspi-bonobo-listener.h>
2795 Fixes build warning.
2796 (SPI_freeAccessibleKeySet):
2797 (AccessibleKeystrokeListener_addCallback):
2798 (AccessibleKeystrokeListener_removeCallback):
2799 Modify to use AccessibleDeviceListener API internally,
2800 instead of AccessibleKeystrokeListener.
2802 * idl/Accessibility_Event.idl:
2803 Added two more empty slots to EventListener (for a total of four).
2805 * idl/Accessibility_Accessible.idl:
2806 Added four empty slots to Accessible interface.
2808 2002-11-15 Bill Haneman <bill.haneman@sun.com>
2810 * idl/Accessibility_Registry.idl:
2811 (KeyEventType, EventType):
2812 Marked KeyEventType as deprecated; it duplicates
2813 functionality of EventType, which has been extended to
2814 include Mouse-button events.
2815 (KeyEventTypeSeq): defined in terms of EventType.
2816 (registerDeviceEventListener, deregisterDeviceEventListener):
2817 New methods, for managing listeners to device events,
2818 which potentially may consume them.
2821 Added definition for AccessibleDeviceListener.
2823 * cspi/spi-listener.h:
2824 (enum AccessibleDeviceEventType):
2825 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
2826 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
2827 for backwards compat.
2828 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
2829 and typedef'd AccessibleKeystroke to it for back-compat.
2830 (AccessibleDeviceListenerCB):
2831 New function prototype typedef.
2834 (AccessibleDeviceEventMask): New typedef.
2835 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
2836 (AccessibleKeyMaskType):
2837 Set equivalent to AccessibleModifierMaskType for back-compat.
2838 (SPI_createAccessibleKeystrokeListener):
2839 (AccessibleKeystrokeListener_unref):
2840 Deprecated in favor of equivalent (better-named) new API below..
2841 keystroke listeners are like all device listeners.
2842 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
2843 New API names for old features :-).
2844 (AccessibleDeviceListener_addCallback):
2845 (AccessibleDeviceListener_removeCallback):
2846 (SPI_registerDeviceEventListener):
2847 (SPI_deregisterDeviceEventListener):
2851 (SPI_createAccessibleKeystrokeListener):
2852 Use new preferred API, cspi_device_listener_new() and
2853 cspi_device_listener_add_cb().
2854 (AccessibleKeystrokeListener_removeCallback):
2855 Use new preferred API, cspi_device_listener_remove_cb().
2856 (AccessibleKeystrokeListener_unref):
2857 Use new preferred API, cspi_device_listener_unref().
2858 (SPI_createAccessibleDeviceListener):
2859 (AccessibleDeviceListener_addCallback):
2860 (AccessibleDeviceListener_removeCallback):
2861 Implementation of new API.
2863 * cspi/spi_registry.c:
2864 (SPI_registerDeviceEventListener):
2865 (SPI_deregisterDeviceEventListener):
2866 Implementation of new API. Fixed memory leak and removed need to
2867 allocate EventTypeSeq (thanks Michael for catching this).
2868 Squashed a wayward CORBA_exception_free that shouldn't get called.
2870 * cspi/bonobo/cspi-bonobo-listener.c:
2872 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
2873 (cspi_key_event): renamed to cspi_device_event().
2874 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
2875 Extended to handle mouse button events as well as key events.
2876 (CSpiKeystrokeListener):
2877 Class superceded by CSpiDeviceListener.
2878 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
2879 These internal APIs changed to "*device_listener" from "*keystroke_listener".
2881 * cspi/bonobo/cspi-bonobo-listener.h:
2882 (CSpiKeystrokeListener):
2883 Class superceded by CSpiDeviceListener.
2884 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
2885 These internal APIs changed to "*device_listener" from "*keystroke_listener".
2887 * libspi/Makefile.am:
2888 Replaced keystrokelistener.h and keystrokelistener.c
2889 with devicelistener.h and devicelistener.c; keystrokelisener.h
2890 stub retained for back-compat.
2892 * libspi/keystrokelistener.c:
2896 Replaced inclusion of keystrokelistener.h with devicelistener.h.
2898 * registryd/deviceeventcontroller.c:
2899 (DEControllerListener): Added Accessibility_EventTypeSeq member.
2900 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
2901 (DEControllerPrivateData): Added xkb settings data.
2902 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
2903 button release events (which can't be captured via XGrabButton).
2904 Don't dispatch via the 'normal' event mechanism if the device event was
2906 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
2907 Handle the typeseq data in its new location (see above).
2908 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
2909 New methods, for "generic" device listeners.
2910 (spi_controller_register_device_listener):
2911 Now handle mouse event listeners as well as key listeners.
2912 (spi_controller_notify_mouselisteners):
2913 New internal method.
2914 (spi_device_event_controller_forward_mouse_event):
2915 Now we notify mouse device listeners as well as generating the
2916 non-consumable "mouse:" events.
2918 We must check and restore the XKB
2919 modifier map if we consume the event, since the act of triggering
2920 a mouse event will normally reset the XKB latch. This is required for
2922 (spi_controller_register_with_devices):
2923 Load the XKB settings when registering, and register for XKB
2924 state notify events.
2925 (spi_key_eventtype_seq_contains_event):
2926 Renamed spi_eventtype_seq_contains_event, since it's used
2927 internally for all device event types now.
2928 (spi_key_event_matches_listener):
2929 Uses spi_eventtype_seq_contains_event now.
2930 (spi_device_event_controller_object_finalize):
2931 Free the private data and the XkbKeyboard struct.
2932 (impl_register_device_listener, impl_deregister_device_listener):
2933 Implementation of new IDL.
2934 (spi_deregister_controller_device_listener):
2935 New internal method.
2936 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
2937 More efficient implementation, we don't have to create a new
2938 XkbControls structure every time we query.
2939 (spi_device_event_controller_class_init):
2940 Initialize the epv entries for the new IDL. Assign the
2941 "spi-dec-private" quark.
2942 (spi_device_event_controller_init):
2943 Initialize the private data.
2944 (spi_device_event_controller_forward_key_event):
2945 Removed a bogus CORBA_exception_free() call.
2947 * registryd/deviceeventcontroller.h:
2948 Replaced inclusion of keystrokelistener.h with
2951 * test/event-listener-test.c:
2952 (report_mouse_event):
2955 Added mouse-event device listener.
2957 * test/test-simple.c:
2958 (create_test_window):
2959 Fixed regression (we were instantiating a GtkRange,
2960 which is now an abstract class). Also fixed to match
2961 existing AtkRole names, this seems to have changed in ATK
2962 awhile ago; too late now I think, and the new
2963 mechanism is at least elegant and consistent with the
2964 glib enum "nick" APIs.
2966 2002-11-15 Darren Kenny <darren.kenny@sun.com>
2968 * idl/Accessibility_Relation.idl:
2969 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
2970 RELATION_EMBEDS,RELATION_EMBEDDED_BY
2971 * idl/Accessibility_Role.idl:
2972 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
2973 * idl/Accessibility_State.idl:
2974 add STATE_MANAGES_DESCENDANTS
2975 * test/event-listener-test.c:
2976 Added a listener for active-descendant events.
2978 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
2980 * atk-bridge/bridge.c
2981 (atk_bridge_init): If application is Bonobo component wait until top
2982 level is added before registering
2983 (spi_atk_bridge_do_registration): New function which contains code,
2984 formerly in atk_bridge_init, to do application registration.
2985 (spi_atk_bridge_toplevel_added): Signal called when top level
2986 added to Bonobo component
2988 This fixes bug #83134.
2990 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
2992 * registryd/deviceeventcontroller.c
2993 Fixed compilation error caused by calling gettimeofday()
2996 2002-10-18 Bill Haneman <bill.haneman@sun.com>
3001 Added template for HAVE_XKB.
3004 Changes to check for XKB, and to set the HAVE_XKB #define if it
3007 * libspi/listener.c:
3008 ()impl_notify_event): Make failure to get event source name
3011 * registryd/deviceeventcontroller.c:
3012 (#include): include X11/XKBlib.h.
3013 (DEControllerPrivateData) : New struct.
3014 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
3016 (dec_synth_keycode_press) (dec_synth_keycode_release):
3017 New methods; split the key synthesis code into these methods.
3018 They check XKB settings before determining the "time" values to
3019 pass to Xtest; this fixes bug #95828.
3020 (impl_generate_keyboard_event): Changed to use methods above,
3021 instead of callng Xtest directly.
3022 (spi_device_event_controller_init): Initialize new privae struct s
3024 (spi_device_event_controllr_object_finalize):
3025 Free the (new) private data.
3027 * registryd/deviceeventcontroller.h:
3028 Add new gpointer to end of struct data.
3030 2002-10-16 Bill Haneman <bill.haneman@sun.com>
3033 Incremented revision to 1.1.2, SONAME is still '.so', library
3034 extensions are ".so.0.0.2".
3036 * registryd/deviceeventcontroller.c:
3037 FIXES FOR #93592 and #95940.
3038 (statics): renamed mouse_button_state to mouse_mask_state,
3039 added key_modifier_mask.
3040 (spi_dec_poll_mouse_moved):
3041 Added key modifier checks, and emit "keyboard:modifiers"
3042 events when the key modifiers currently in use change.
3043 Also generate "mouse:abs" events periodically, even if the mouse
3044 is stationary (should we?).
3045 Alternatively we could generate "mouse:abs" events for either all
3046 mouse movements, or every 'nth' mouse movement, or at the
3047 beginning and end of every "active" mouse period.
3049 * test/event-listener-test.c:
3050 (main): Added listener for "keyboard:modifiers" events.
3052 2002-10-15 Bill Haneman <bill.haneman@sun.com>
3054 * libspi/keymasks.h:
3055 Added key mask #defines for mouse buttons; e.g.
3056 SPI_KEYMASK_BUTTON1, etc.
3059 Incremented dependency on ATK to version 1.1.0. (This dependency
3060 is probably premature but will soon be real enough).
3062 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
3064 * libspi/hyperlink.[ch]
3065 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
3066 (get_hyperlink_from_servant): Check object is AtkHyperlink not
3069 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
3074 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
3076 * registryd/deviceeventcontroller.c
3077 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
3078 events to be ignored.
3079 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
3080 keyboard_mode so that XAllowEvents() can be called.
3084 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
3086 * cspi/spi-accessible.c: Correct names of roles returned by
3087 AccessibleRole_getName(). Fixes bug #95055.
3089 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
3091 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
3094 * registryd/registry.c
3095 (desktop_remove_application: Write diagnostic message to stderr for
3098 (impl_accessibility_registry_deregister_global_event_listener):
3099 Correct size of lists array. This addresses bug #94555).
3101 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
3103 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
3106 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
3108 * registryd/Makefile: Add CLEANFILES so that .server file is removed
3111 * registryd/registry.c (impl_registry_notify_event): Remove
3112 unnecessary call to parser_event_type().
3114 * docs/reference/cspi/tmpl/spi_component.sgml:
3115 Add reference to SPI_LAYER_WINDOW.
3117 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
3119 * registryd/registry.c
3120 (desktop_add_application): Remove leak.
3121 (desktop_remove_application): Remove leak.
3122 (parser_event_type): Remove leak.
3124 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
3126 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
3127 bogus call to CORBA_string_dup(). Also removed unnecessary
3128 g_string_dup/g_free calls.
3130 2002-09-13 Bill Haneman <bill.haneman@sun.com>
3132 * registryd/deviceeventcontroller.c:
3133 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
3135 * test/event-listener-test.c:
3136 main: commented out three redundant listeners, to reduce output
3137 noise. (They still are potentially useful for testing).
3140 2002-09-13 Michael Meeks <michael@ximian.com>
3142 * Update all the copyrights to include Ximian.
3144 2002-09-06 Mark McLoughlin <mark@skynet.ie>
3146 * cspi/spi.h: add SPI_LAYER_WINDOW.
3148 * cspi/spi_component.c: (AccessibleComponent_getLayer):
3149 add Accessibility_LAYER_WINDOW case.
3151 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
3153 * libspi/component.c: (impl_accessibility_component_get_layer):
3154 add ATK_LAYER_WINDOW case.
3156 2002-08-28 Bill Haneman <bill.haneman@sun.com>
3158 * configure.in: incremented micro version.
3160 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
3162 2002-08-20 Bill Haneman <bill.haneman@sun.com>
3165 Clarified and reworded our commit policy.
3168 Started an API "todo" addition list for 2.2.
3171 (impl_getSelection):
3172 Free char pointer from atk_text_get_selection, which was being leaked.
3174 2002-08-19 Bill Haneman <bill.haneman@sun.com>
3177 Small revision to author acknowledgement.
3179 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
3181 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
3182 If signal has detail add it to the type of the event.
3185 2002-08-12 Michael Meeks <michael@ximian.com>
3187 * test/test-simple.c (global_listener_cb): bin bogosity.
3188 (test_keylisteners): disable, still doesn't work reliably,
3189 certainly not on my system anyway.
3191 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
3192 don't leak a reference on the DEC. This round-trip
3193 fetching of the DEC per keystroke sucks, it should be
3196 * cspi/spi-private.h,
3197 * cspi/cspi-lowlevel.h,
3198 * cspi/bonobo/cspi-bonobo-listener.[ch],
3199 * cspi/bonobo/cspi-bonobo.c: get the copyright
3200 notices better - there is still a large amount of
3201 work in at-spi falsely attributed solely to Sun.
3203 * cspi/spi_main.c (cspi_object_ref): kill bogus
3204 hash lookup, just increment the ref.
3205 (SPI_freeString): make explicit the fact that we
3206 handle NULL strings just fine.
3207 (report_leaked_ref): obey coding standards.
3208 (cspi_object_hash, cspi_object_equal): kill retval.
3209 (cspi_object_release): only release if not on loan.
3210 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
3211 (cspi_object_borrow, cspi_object_return): impl.
3213 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
3214 use cspi_object_borrow / return.
3216 2002-08-12 Darren Kenny <darren.kenny@sun.com>
3218 * cspi/bonobo/cspi-bonobo-listener.c:
3220 Don't call cspi_oject_new() because this is creating a new Accessible
3221 every single time that an event is fired. This causes ATs like at-poke
3222 to nolonger recognise the source of the event and thus ignore it.
3223 Re-use the object from the cache, ref it and then unref it after the
3224 listeners have been called.
3226 2002-08-06 Darren Kenny <darren.kenny@sun.com>
3228 * test/event-listener-test.c:
3229 Added command-line options to disable mouse events (m) and
3232 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
3234 * configure.in: Update required versions of ATK, GTK+ and GAIL
3236 * cspi-1.0.pc.in: Add dependency for X include files
3239 * cspi/bonobo/Makefile.am:
3240 Add $(X_CFLAGS) so that X include files
3241 are picked up even if not in standard place (bug #71686)
3243 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3245 * registryd/deviceeventcontroller.c: fix for 84261
3246 (spi_dec_mouse_moved):
3247 Added test of mouse button mask, so that we can detect mouse
3248 button release. Unfortunately we can't otherwise detect mouse
3249 button release events without consuming the mouse press event,
3250 because of the way XGrabButton works. This means that our mouse
3251 release events have a latency dependent on the polling period
3252 while the mouse button is down. At least in this case we only
3253 have to poll while the button is down, and not at other times.
3254 If the button masks don't match with what the last press event
3255 reported, we report the appropriate button release event.
3256 (spi_dec_ungrab_mouse):
3257 New method (not yet called).
3258 (spi_device_event_controller_forward_mouse_event):
3259 New method, sends mouse press event from GdkFilter.
3260 (spi_dec_init_mouse_listener):
3261 Added code to call XGrabButton, redirecting mouse button events to
3262 the root window and our Gdk event loop.
3264 Added code to filter mouse button events, and reordered.
3266 * test/event-listener-test.c:
3268 Added registration for mouse events of type "mouse:button".
3270 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3272 * registryd/deviceeventcontroller.c: partial fix for 84261
3273 (spi_dec_poll_mouse_idle):
3274 New method, a timeout which checks to see if the mouse
3276 (spi_dec_poll_mouse_moving):
3277 A timeout to be called when mouse motion is underway.
3278 (spi_dec_poll_mouse_moved):
3279 A method which fires an event if the mouse has moved, and reports
3280 whether or not it did so.
3281 (spi_dec_init_mouse_listener):
3282 A method which sets up the timeouts above.
3283 (spi_device_event_controller_new):
3284 Now calls spi_dec_init_mouse_listener.
3286 * registryd/registry.c:
3287 (spi_registry_init):
3288 Now we initialize the device event controller when the registry is
3289 initialized, instead of waiting until a client has requested a key
3290 event notification; this is because we need the event controller
3291 for mouse events, but the mouse event registration API is a
3292 "registry" call and doesn't explicitly call the
3293 deviceeventcontroller.
3294 We now report mouse motion events with a 100 ms idle latency and
3295 a 20 ms granularity when motion is in progress.
3297 * test/event-listener-test.c:
3299 We now register the "detail listener" for events of type
3300 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
3301 delivered only for the first mouse event received, and thereafter
3302 "mouse:abs" events are delivered.)
3304 * cspi/spi_registry.c:
3305 DOCS: Documented the above mouse event typestrings.
3307 2002-06-21 Bill Haneman <bill.haneman@sun.com>
3309 Happy Summer Solstice...
3311 * registryd/deviceeventcontroller.c: [fix for bug 84100]
3312 (spi_controller_notify_keylisteners):
3313 Changes to remove a listener from the listener list, freeing its
3314 open keygrabs, if a notification to that listener fails. This
3315 means that although a dead listener can continue to hold a passive
3316 keygrab, a maximum of one dispatch to such a listener can fail
3317 before the listener is removed from the list, thus the keygrab
3318 will be released on the next occurrence.
3319 As part of this fix:
3320 (spi_notify_keylisteners):
3321 Renamed to spi_controller_notify_keylisteners, as the controller
3322 instance must now be passed as an argument.
3323 The copied 'notify' GList is now a list of DEControllerKeyListener
3324 objects, since we need more than just the CORBA reference if a
3325 notify fails and we need to deregister the listener.
3326 (impl_notify_listeners_sync):
3327 (impl_notify_listeners_async):
3328 (spi_device_event_controller_forward_key_event):
3329 Modify use of notify_keylisteners in accordance with above
3331 (spi_deregister_controller_key_listener):
3332 New method introduced by refactoring, from
3333 impl_deregister_keystroke_listener.
3334 (impl_deregister_keystroke_listener):
3335 Call spi_deregister_controller_key_listener.
3336 (spi_key_listener_clone):
3337 New method to copy a key listner without doing a 'ref' on the
3338 remote object instance; used to create a notifier list.
3339 (spi_key_listener_data_free):
3340 New method, frees data without unreffing the source.
3342 (spi_key_listener_clone_free): new method.
3343 (spi_key_listener_free):
3344 refactored to call spi_key_listener_data_free.
3346 2002-06-20 Bill Haneman <bill.haneman@sun.com>
3348 * registryd/registry.c: [fix for bug 86048]
3349 (notify_listeners_cb):
3350 Clear CORBA system exceptions which occur when notifying
3351 listeners, before returning to the source of the original event,
3352 since the event source doesn't care if the relayed notify failed.
3353 In other words, don't complain to the atk-bridge if the registry
3354 could not notify all its listeners, that's no fault of the
3355 application and thus should not appear to be an error from the
3356 application's perspective.
3358 * cspi/spi_main.c: [fix for bug 85980]
3360 Replaced use of bonobo_object_dup_ref with call to the wrapper
3361 method, csou_dup_ref (); this silences a compiler warning and
3362 provided more portability.
3364 Ping the registry before return, and restart if necessary.
3366 * cspi/bonobo/cspi-bonobo.c:
3368 New internal method.
3370 Fixed this method to return an object reference, as it should have
3373 * cspi/cspi-lowlevel.h:
3374 Added internal definition for cspi_ping() and fixed
3375 return type of cspi_dup_ref().
3378 2002-06-19 Bill Haneman <bill.haneman@sun.com>
3380 * atk-bridge/bridge.c: [fix for bug 85305]
3381 (spi_atk_bridge_register_application):
3382 New method where the initial application registry calls have been
3383 moved; it allows an application to re-register in response to
3384 certain error conditions (such as a registry restart, see below).
3386 Moved some initialization code to the method
3387 spi_atk_bridge_get_registry, below.
3388 (spi_atk_bridge_get_registry):
3389 New, private accessor function for the Accessibility_Registry
3390 instance. If the registry has not been started before, or has
3391 died (as detected by failure of a CORBA exception), it is
3392 restarted before return, and spi_atk_bridge_register_application
3393 is called again to register with the new bridge instance.
3394 (spi_atk_emit_eventv):
3395 Set registry_died on error; use spi_atk_bridge_get_registry () to
3396 access the registry.
3398 * registryd/registry.c:
3399 (impl_accessibility_registry_register_global_event_listener):
3400 Set listener's event_type_quark to etype.minor instead of
3401 etype.major (fix for bug 84856).
3403 * test/event-listener-test.c:
3404 (report_detail_event):
3405 Change the output string so that user/tester can tell that the
3406 'detail listener' was called instead of the 'generic listener'.
3408 2002-06-18 Bill Haneman <bill.haneman@sun.com>
3410 Fixes for bugs 84900, 84908, 84897, 84898.
3415 Revved version to 1.1.0
3416 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
3417 version is going to HEAD which will be used for gnome-2-0-1 and later.)
3419 * idl/Accessibility_Registry.idl:
3420 (EventListener::notifyEvent):
3421 Removed 'oneway' directive after extensive consulation with
3422 ORBit2 team and others. This means also that unref() of the event
3423 source can and should be done synchronously after emission, rather
3424 than remotely in the client, after servicing the notify call on
3427 NOTE: This change speeds up listener performance considerably, but
3428 introduces new latency on the application side. We may want to
3429 add an event queue to the atk-bridge.
3431 * atk-bridge/bridge.c:
3432 (spi_atk_bridge_focus_tracker):
3433 Do a local unref() on the event source after emission.
3435 * registryd/registry.c:
3436 (desktop_remove_application):
3437 Do an unref() on the event source after emission.
3438 (desktop_add_application):
3439 Do an unref() on the event source after emission.
3440 (notify_listeners_cb):
3441 When relaying an event, don't automatically add the event source
3442 to the local object cache, just CORBA_dup it instead. Likewise,
3443 if this method reenters, release the ref rather than calling
3445 (impl_registry_notify_event):
3446 No longer call remote unref() on the event source after dispatch.
3448 * libspi/eventlistener.c:
3449 (impl_accessible_event_notify_event):
3450 Removed remote unref ()
3452 * cspi/bonobo/cspi-bonobo-listener.c:
3454 We now call cspi_object_new() instead of cspi_object_add() on
3455 receipt of an event; thus we only have an implicit object ref
3456 while the cspi_event method is being executed. If we need to keep
3457 a reference to the object, the listener must call ref() on the
3458 object. Thus also we don't need to call cspi_object_unref() after
3459 invoking the listener callbacks in this method.
3463 New internal API for creating a new cspi object, without adding it
3464 to the object cache.
3466 Now uses cspi_object_new() to create the cspi object instance.
3468 Now checks to see if the object is in the internal object cache,
3469 and adds it if necessary before incrementing its refcount (note
3470 that new objects are added with a refcount of 1).
3471 (report_leaked_ref):
3472 New method which gives some information on leaked object instances
3473 if leak detection is turned on.
3475 * test/event-listener-test.c:
3476 (timing_test_event):
3477 New method, used for testing event delivery timing for special
3478 events of type "object:test". It reports elapsed time and
3479 events/sec every 500 events.
3481 Added a new listener, 'test listener', to check timing of event
3482 receipt as noted above.
3484 Added some timing output here also, reports elapsed time every 100
3487 * test/stress-test.c:
3488 Emit events of type "object:test", for use with "event-listener-test".
3490 * test/test-simple.c:
3491 (global_listener_cb):
3492 Call Accessible_ref() on the event source before calling
3493 validate_accessible, since the validation process does pointer
3494 comparisons on the event source, meaning that the event source
3495 needs to be added to the local object cache first. Any use of
3496 such pointer comparisons between Accessible objects requires that
3497 the caller hold an explicit reference to those objects.
3498 We also must therefore call Accessible_unref() when leaving this method.
3500 2002-06-13 Bill Haneman <bill.haneman@sun.com>
3502 * registryd/deviceeventcontroller.c:
3503 (spi_controller_update_key_grabs):
3504 Fix for #84735, subsequent keygrab listeners not informed of
3505 registration failure.
3508 (spi_base_construct):
3509 Add an assertion on construct, to make sure the GObject passed in
3510 is really a GObject.
3512 Explicitly initialize object->gobj pointer to NULL;
3514 * cspi/bonobo/cspi-bonobo-listener.c:
3515 (cspi_object_add_ref):
3516 New method, can specify whether to dup-ref a bonobo object passed
3517 in if it's newly added to the object cache.
3519 Now calls cspi_object_add_ref with second param of "FALSE". This
3520 prevents us from doing a pointless dup-ref followed by
3521 release-unref for all those cases where the object is already in
3522 our object cache (fix for #85205).
3524 * atk-bridge/bridge.c:
3525 (spi_atk_bridge_idle_init):
3526 Removed this method, we don't need to initialize in an idle
3529 Changed to call spi_atk_register_event_listeners directly, not via an
3530 idle handler. (fix for #81139)
3531 (gnome_accessibility_module_shutdown):
3532 Removed conditional around deregistration of listeners, since we
3533 don't use the idle handler and thus have always registered when
3535 (spi_init_keystroke_from_atk_key_event):
3536 Changed references to Accessibility_KEY_PRESSED to
3537 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
3539 2002-06-12 Bill Haneman <bill.haneman@sun.com>
3541 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
3546 * test/stress-test.c:
3549 (may have been an incomplete commit yesterday?)
3551 2002-06-12 Bill Haneman <bill.haneman@sun.com>
3554 Added target for new stress-test.
3556 * test/stress-test.c:
3557 New test, sends 1000 focus notifies in quick succession.
3559 * test/key-listener-test.c:
3560 Now we report whether a keylistener registration
3561 request succeeded or failed.
3563 * test/event-listener-test.c:
3564 Uncommented some listeners which are now implemented.
3567 2002-06-06 Bill Haneman <bill.haneman@sun.com>
3569 * registryd/deviceeventcontroller.c:
3570 (spi_controller_update_key_grabs):
3571 Fix for #82509, lack of failure notification when
3572 ALL_WINDOWS keygrabs fail due to XGrabKey
3573 failure: we synchronize the server when
3574 registering a passive grab, to make sure we get the
3575 error message before the call returns.
3577 2002-06-03 Bill Haneman <bill.haneman@sun.com>
3579 * test/test-simple.c:
3581 Removed #ifdef KEY_IMPL_WORKS guards.
3582 (test_keylisteners):
3583 Removed #ifdef KEY_IMPL_WORKS guards.
3584 Fixed bug which was causing a hang waiting for a
3585 "press" event (which was already overwritten by a "release"
3586 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
3588 Added code to set globals 'key_press_received' and
3589 'key_release_received'.
3592 Added section "1.1 API Proposed Additions" which
3593 lists API additions desired for at-spi-1.1 (only one so far).
3594 Updated TODO list a little.
3596 2002-06-02 Bill Haneman <bill.haneman@sun.com>
3598 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
3601 * configure.in: Revved to 1.0.0.
3603 * idl/Accessibility_Registry.idl:
3604 (registerKeystrokeListener):
3605 Added boolean return value.
3607 * registryd/registry.c:
3608 (notify_listeners_cb): Minor fix to debug output.
3610 * registryd/Accessibility_Registry.server.in.in:
3611 Revved version number in OAFIID to 1.0.
3613 * registryd/registryd.c:
3615 Use new OAFIID version.
3617 * cspi/bonobo/cspi-bonobo.c:
3619 Use new OAFIID version.
3625 * atk-bridge/bridge.c:
3627 Use new OAFIID version.
3629 * registryd/deviceeventcontroller.c:
3630 (impl_register_keystroke_listener):
3631 Added CORBA_boolean return value.
3632 (spi_controller_register_device_listener):
3633 Added gboolean return value.
3634 (spi_controller_register_global_keygrabs):
3635 Added gboolean return value.
3636 (spi_key_set_contains_key):
3637 Added implementation for many more control keys,
3638 for instance F1-F12, arrow keys, End, Home, Page_Up,
3640 [TODO: some still not implemented].
3642 * text/screen-review-test.c:
3643 (text_chunk_pad_string):
3644 New function: it provides mapping between coordinate
3645 positions of text chunks and character positions in the
3646 screen-review-line output string.
3647 (text_chunk_to_string):
3648 New function, calls text_chunk_pad_string with various
3649 pad/delimiter characters. Pushbuttons are delimited with
3650 square brackets, Frames with vertical 'pipe' lines, and
3651 other text with double quotes.
3652 (text_chunk_list_to_string):
3653 Calls new function text_chunk_to_string.
3654 (toplevel_composite):
3655 New function to composite layers CANVAS through
3656 POPUP in each toplevel (other layers are composited
3657 across toplevels, i.e. BACKGROUND and OVERLAY).
3658 (review_buffer_composite):
3659 Revise to use new methods.
3665 2002-05-31 Laszlo Peter <laca@sun.com>
3667 * configure.in: add the Xtst libdir to the runpath on Solaris,
3668 since it's not in the default library search path.
3670 2002-05-29 jacob berkman <jacob@ximian.com>
3672 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
3674 2002-05-29 Bill Haneman <bill.haneman@sun.com>
3676 * test/screen-review-test.c:
3677 (text_chunk_pad_string):
3678 Added method, which pads the string according to the
3679 text bounds of the chunk. It also takes a 3-character
3680 string as a param which indicates the characters to be
3681 used for start, padding, and end delimitation of the chunk.
3682 (text_chunk_to_string):
3683 Changed to use text_chunk_pad_string.
3685 * configure.in: Fixed bug in AC_OUTPUT that was
3686 causing path substitution in Accessibility_Registry.server
3689 2002-05-23 Bill Haneman <bill.haneman@sun.com>
3691 * text/screen-review-test.c:
3692 (guess_string_clip):
3693 New method which attempts a best-guess at clipping
3694 text from components (like Java labels) which don't
3695 actually implement AccessibleText. This inaccurate
3696 clip is based on the assumption that the label is
3697 justified left-and-right, and monospaced.
3698 (text_chunk_get_clipped_string):
3699 We now call guess_string_clip() for text-containing
3700 components that don't implement AccessibleText.
3702 * test/screen-review-test.c:
3703 (review_buffer_get_text_chunk):
3704 We now pull "name" from labels if they do not implement
3705 AccessibleText (i.e. for Java labels).
3706 (get_screen_review_line_at):
3707 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
3710 Replaceded AC_OUTPUT target
3711 registryd/Accessibility_Registry.server with
3712 registryd/Accessibility_Registry.server.in.
3714 * registryd/Accessibility_Registry.server.in:
3715 Removed (this is now a Makefile target).
3717 * registryd/Accessibility_Registry.server.in.in:
3718 Added (source for target above). We now use $(libexecdir) as
3719 prefix for the executable at-spi-registryd.
3721 * registry/Makefile.am:
3722 Now install at-spi-registryd into $(libexecdir), and build .server
3723 file with path (see above).
3725 2002-05-22 Bill Haneman <bill.haneman@sun.com>
3727 * test/screen-review-test.c:
3728 (text_chunk_get_clipped_string):
3729 We now check to see if words fall within clip bounds
3730 before resorting to character-by-character clip bounds testing.
3732 * TODO: Added a section for "2.2 Proposed API Additions".
3734 2002-05-21 Bill Haneman <bill.haneman@sun.com>
3736 * test/screen-review-test.c:
3738 Added a screen review benchmarking and test program to test
3741 * cspi/spi_accessible.c:
3743 Made some of the debug strings passed to cspi_check_ev a
3744 little more specific.
3746 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
3748 * test/screen-review-test.c: Fix crashes in debug statements
3750 2002-05-20 Bill Haneman <bill.haneman@sun.com>
3752 * test/screen-review-test.c: Added this file.
3754 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
3756 * atk-bridge/bridge.c: changed "object:state-change" to
3757 "object:state-changed" to match docs.
3759 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
3761 * atk-bridge/bridge.c: Hooked up state-change event details.
3763 2002-05-11 Bill Haneman <bill.haneman@sun.com>
3765 * registryd/registry.c:
3766 Fixed quarking bug in event string parsing; now events with
3767 detail parameters get matched correctly to listeners.
3770 * util/idl/Magnifier.idl: remove.
3772 * util/*.[ch]: Remove.
3773 Magnification utilities and IDL are now in module gnome-mag.
3775 2002-05-10 Bill Haneman <bill.haneman@sun.com>
3777 * registryd/deviceeventcontroller.c:
3778 Fixed bug in grab key conversion which was causing keycode grabs
3779 to be converted to AnyKey grabs.
3782 updated NEWS file to reflect recent spin-off of gnome-mag.
3784 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
3786 * cspi/spi_accessible.c: Added exception checks. Fixed completely
3787 busted AccessibleStateSet_compare. Removed redundant casts.
3789 * cspi/spi-action.c: Removed redundant casts.
3791 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
3793 * cspi/spi_component.c: Fixed typos and casting error.
3795 * cspi/spi_editabletext.c: Removed redundant casts.
3797 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
3799 * cspi/spi_hypertext.c: Eliminated redundant casts.
3801 * cspi/spi_image.c: Eliminated redundant casts.
3803 * cspi/spi_registry.c: Eliminated redundant casts.
3804 SPI_deregisterGlobalEventListenerAll () removed retval variable.
3805 * cspi/spi_selection.c: Removed redundant casts.
3806 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
3807 handling. Screen geometry and text offsets were being returned as 0
3808 on error which is technically valid-- changed these to return -1.
3809 Added marshaller for text boundary types to fix bug with boundary
3810 types being passed incorrectly to atk.
3812 2002-05-09 Bill Haneman <bill.haneman@sun.com>
3815 * cspi/spi_registry.c:
3816 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
3817 which was uncovered by the recent key changes.
3819 2002-05-09 Bill Haneman <bill.haneman@sun.com>
3821 * test/event-listener-test.c:
3823 Added new test, "event-listener-test";
3824 this code does two things; it benchmarks traversal time
3825 for the accessible hierarchy for the first running accessible
3826 app, and it connects listeners for all supported event types.
3827 It is thus useful as an example event listener and for
3828 diagnostics/debugging of event generation.
3830 2002-05-08 Bill Haneman <bill.haneman@sun.com>
3833 Removed unnecessary dependency on libutil.
3836 Revved micro version: 0.13.1
3838 2002-05-08 Bill Haneman <bill.haneman@sun.com>
3841 Removed util/Makefile from targets.
3844 Removed util subdir from SUBDIRS (temporarily,
3845 pending removal of magnifier-only code
3849 #ifdef-ed out magnifier dependencies, since
3850 magnifier IDL, headers, and binary now live in
3851 module gnome-mag and we don't want at-spi to depend
3852 on gnome-mag. A magnifier demo which can run alongside
3853 simple-at is forthcoming in the gnome-mag module.
3855 NOTE: Split magnifier binary, IDL, and magnification
3856 activation code from at-spi into module gnome-mag.
3858 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
3860 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
3861 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
3863 2002-05-03 Bill Haneman <bill.haneman@sun.com>
3866 Revved to version 0.13.0
3868 * idl/Accessibility_Registry.idl:
3869 Changed definition of KeySet from sequence of longs to sequence of
3870 KeyDefinitions, and added KeyDefinition struct.
3871 Required for fix to bug 80616.
3873 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
3874 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
3875 to use new definition (see above).
3877 * registryd/deviceeventcontroller.c: handle_keygrab(),
3878 spi_keyset_contains_key():
3879 Changed to make use of new struct; this allows matching based on
3880 string key-name, for instance "Tab". This also allows matching of
3881 composed characters, non-alphanumeric characters in a way that
3882 doesn't involve dependencies on X keysym codes directly, etc.
3884 * test/key-listener-test.c:
3885 Added test for Alt-Tab key using "string" specification of keyset,
3886 and modified one of the tests to use a keycode-based keyset.
3887 Thus this test both tests and demonstrates the creation and use of
3888 keysets of three forms: specified via keycode array,
3889 keysym array, and string array. (The string case only contains a
3890 single string, i.e. a string array of length 1).
3893 Turned on PRINT_TREE option by default. Also fixed a
3894 string-freeing bug in the PRINT_TREE code.
3895 Added a listener to window:minimize events.
3897 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
3899 * atk-bridge/bridge.c:
3900 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
3901 for window:activate and window:deactiveate
3902 (atk_bridge_property_event_listener atk_bridge_signal_listener
3903 atk_bridge_window_event_listener) Tidy debug code
3905 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
3907 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
3908 Fixed handling for NULL return value from ATK.
3910 * libspi/action.c libspi/component.c libspi/editabletext.
3911 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
3912 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
3913 Removed redundant casts.
3915 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
3916 Fixed off by one bug.
3918 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
3919 function not present in idl)
3921 2002-05-02 jacob berkman <jacob@ximian.com>
3923 * atk-bridge/Makefile.am: make atk-bridge a real module
3925 2002-04-26 Radek Doulik <rodo@ximian.com>
3927 * libspi/stateset.c (spi_init_state_type_tables): fix size of
3928 atk_state_types table
3930 2002-04-22 jacob berkman <jacob@ximian.com>
3933 * libspi/Makefile.am: add deps on the built files to help
3934 automake, and don't version the ORBit typelib
3936 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
3938 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
3939 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
3940 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
3941 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
3942 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
3943 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
3944 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
3945 libspi/accessible.h libspi/accessible.h libspi/base.h
3946 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
3947 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
3948 libspi/relation.h libspi/remoteobject.h libspi/selection.h
3949 libspi/spi-private.h libspi/statetset.h libspi/table.h
3950 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
3951 util/mag_client.h util/mag_control.c util/mag_image.c
3952 util/mag_image.h util/magnifier.c util/magnifier.h:
3953 Add missing file headers; standardize existing ones
3955 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
3957 * atk-bridge/bridge.c: Added window event support.
3959 2002-04-18 Michael Meeks <michael@ximian.com>
3961 * libspi/relation.c (impl_getNTargets): impl.
3962 (impl_getTarget): impl.
3964 * libspi/Makefile.am: fix stateset install.
3966 2002-04-17 Bill Haneman <bill.haneman@sun.com>
3969 Started putting useful info in this file.
3971 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
3973 * atk-bridge/bridge.c:
3974 Propagate state-changed notifications to ATs
3976 * cspi/spi_registry.c: update docs to reflect actual behavior of
3977 state-change events.
3979 2002-04-17 Bill Haneman <bill.haneman@sun.com>
3982 Incremented version to 0.12.1
3984 * util/mag_client.h:
3985 Add missing declaration for magnifier_exit,
3986 used by mag_control.c - Forte compiler didn't like
3987 the implicit redeclaration of the function :-(
3990 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3993 Revved version to 0.12 due to API change (see below).
3995 * cspi/spi-roletypes.h:
3996 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
3997 definition from the inline docs, and added docs
3998 for SPI_ROLE_LAST_DEFINED.
4001 * cspi/spi_streamablecontent.c:
4002 Added missing seek_type parameter to
4003 (so far unused) method,
4004 AccessibleStreamableContent_seek().
4005 [ RT approval JodyG. ]
4008 Fixed docs for SPI_createAccessibleKeystrokeListener.
4010 * cspi/spi_registry.c:
4011 Fixed docs for SPI_KEYSET_ALL_KEYS.
4013 * docs/reference/cspi/at-spi-cspi-sections.txt:
4014 Added a number of missing APIs to SECTIONS.
4016 2002-04-16 Bill Haneman <bill.haneman@sun.com>
4018 * registryd/Makefile.am:
4020 * cspi/bonobo/Makefile.am:
4021 Add $(X_LIBS) to makefiles.
4023 2002-04-15 Bill Haneman <bill.haneman@sun.com>
4026 Revved version to 0.11.
4028 * libspi/component.c:
4029 Added implementation for grabFocus.
4031 * idl/Accessibility_Component.idl
4032 (Accessibility_Component_grabFocus):
4033 Made this method return boolean to indicate success or failure, to
4034 be consistent with cspi and the corresponding ATK method.
4036 * idl/Accessibility_Selection.idl
4037 (Accessibility_Selection_selectAll) :
4038 Made these methods return boolean to indicate success or
4039 failure, to be consistent with cspi and the corresponding ATK methods.
4041 * idl/Accessibility_EditableText.idl
4042 (Accessibility_EditableText_setTextContents,
4043 Accessibility_EditableText_insertText,
4044 Accessibility_EditableText_cutText,
4045 Accessibility_EditableText_deleteText,
4046 Accessibility_EditableText_pasteText):
4047 Made these methods return boolean to indicate
4050 * cspi/spi_editabletext.c:
4051 Made these methods return booleans.
4053 * libspi/selection.c:
4054 * libspi/component.c:
4055 * libspi/editabletext.c:
4056 Connected the boolean returns from ATK
4057 to the server-side code referenced above.
4059 2002-04-14 Bill Haneman <bill.haneman@sun.com>
4061 * idl/Accessibility_Table.idl: Added missing methods,
4062 Accessibility_Table_addRowSelection,
4063 Accessibility_Table_addColumnSelection,
4064 Accessibility_Table_removeRowSelection,
4065 Accessibility_Table_removeColumnSelection.
4068 Added C wrappers for above IDL:
4069 AccessibleTable_addRowSelection,
4070 AccessibleTable_addColumnSelection,
4071 AccessibleTable_removeRowSelection,
4072 AccessibleTable_removeColumnSelection.
4075 Added server-side implementation code for IDL above, connecting
4076 to pre-existing ATK api.
4078 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
4080 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
4082 * libspi/accessible.c: Added implementation fo
4083 Accessibility_Accessible_get_state.
4085 * libspi/libspi.h: Added stateset.h to the list of includes.
4087 * libspi/stateset.c: Fixed broken implementation.
4089 2002-04-13 Bill Haneman <bill.haneman@sun.com>
4092 Added implementation code for Accessibility_Magnifier_exit ().
4094 * util/mag_control.c:
4095 Added test code for above method; you can
4096 now kill an existing magnifier via
4097 ./mag_control q, from the util directory.
4099 * test/key-listener-test.c:
4101 Added a new test, for our key listener API.
4103 2002-04-11 Bill Haneman <bill.haneman@sun.com>
4105 * test/app.c, test/keysynth-demo.c:
4107 Replace use of snprintf with g_snprintf.
4108 (fix for bugzilla 78249)
4110 2002-03-27 Michael Meeks <michael@ximian.com>
4114 * util/Makefile.am (INCLUDES): fix.
4115 (DONT_DIST_SOURCE): don't distribute the
4118 * libspi/Makefile.am (dist-hook): ditto.
4120 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
4122 * libspi/hypertext.c:
4123 Fix warnings when yelp is used with atk-bridge
4125 2002-03-21 Michael Meeks <michael@ximian.com>
4127 * libspi/application.c (spi_application_new):
4128 use spi_accessible_construct so we use the AtkObject
4131 2002-03-19 Michael Meeks <michael@ximian.com>
4133 * registryd/registry.c (desktop_remove_application),
4134 (desktop_add_application): clean coding style.
4136 * registryd/desktop.c (spi_desktop_remove_application),
4137 (spi_desktop_add_application): kill re-enterency hazards.
4138 (spi_desktop_dispose): remove bogus redundant cast
4139 obscuring bug; fix bug too.
4140 (spi_desktop_init): make the desktop object immortal.
4142 2002-03-16 Bill Haneman <bill.haneman@sun.com>
4145 Added a #define-guarded tree-traversal step
4146 when enumerating the apps (diagnostic tool).
4148 2002-03-15 Bill Haneman <bill.haneman@sun.com>
4150 * idl/Accessibility_Role.idl:
4151 Added ROLE_DRAWING_AREA which seemed to be missing from the
4154 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4156 * cspi/spi-roletypes.h cspi/spi_accessible.c
4157 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
4160 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
4161 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
4162 AT when applications are added and removed from the desktop. This
4163 reverts the previous broken implementation using the backing
4164 AtkObject for the SpiDesktop.
4166 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4168 * registryd/desktop.c: emit the "children-changed::add" and
4169 "children-changed::remove" signals on the backing ATK object for
4170 the desktop so AT can tell when applications are started and shut
4173 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4175 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
4177 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4179 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
4181 * cspi/spi_accessible.c: Implemented c bindings for stateset support
4183 * cspi/state-types.h: synched with IDL and ATK
4185 2002-03-13 Bill Haneman <bill.haneman@sun.com>
4187 * libspi/accessible.c
4188 (impl_accessibility_accessible_get_child_at_index):
4189 Change return value for g_return_if_fail ()
4190 to CORBA_OBJECT_NIL instead of "0" (!)
4192 * registryd/Makefile.am:
4193 * registryd/Accessibility_Register.server.in:
4194 Changed name of executable, "registryd",
4195 to something more informative:
4198 2002-03-13 Michael Meeks <michael@ximian.com>
4200 * atk-bridge/bridge.c (atk_bridge_init): don't register
4201 if we're in a bonobo-component, rather than a bonobo app.
4203 2002-03-13 Michael Meeks <michael@ximian.com>
4205 * atk-bridge/bridge.c (gtk_module_init): split
4206 out body to (atk_bridge_init): here, since otherwise
4207 we get symbol conflicts and oddness when invoked
4208 from (gnome_accessibility_module_init): here (upd.)
4210 2002-03-11 Bill Haneman <bill.haneman@sun.com>
4213 New file. Explicitly allow "build sheriff" putbacks provided
4214 they are tested on Solaris.
4216 * docs/reference/cspi/Makefile.am:
4217 Added '-' to the "cp" command for index.sgml.
4218 ("patch by thomasvs, soon coming to a GUADEC near you")
4221 Incremented version number (0.9.0) for new release.
4222 Changed macro that checks for popt, to better detect
4223 obsolete versions of popt.
4226 Added X_LIBS to AC_SUBST, for applications
4227 that call Xlib API directly.
4230 2002-03-07 Bill Haneman <bill.haneman@sun.com>
4233 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
4236 Fix regression caused by hard-coding major
4237 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
4240 * test/test-simple.c (test_editable_text),
4241 (test_test): revert previous change (error was
4242 a regression in gail which is now fixed).
4244 2002-03-04 Michael Meeks <michael@ximian.com>
4246 * test/test-simple.c (test_editable_text),
4247 (test_text): pass G_MAXINT instead of '-1' for
4248 whole string - is this a good thing !?
4250 * cspi/spi_accessible.c
4251 (Accessible_getRelationSet): fix crasher bug
4252 overwriting the end of the array.
4254 * test/test-simple.c (validate_accessible): free,
4255 not g_free returned relation set.
4257 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
4259 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
4260 implemented stateset support
4262 * idl/Accessibility_State.idl: Made necessary changes to
4263 the IDL to support state sets.
4265 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4267 * registryd/deviceeventcontroller.c:
4268 Added implementation for generateMouseEvent.
4270 * cspi/spi_registry.c:
4271 Connected new implementation for generateMouseEvent
4274 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4277 Incremented revision (but no change in public API
4278 outside of 'utils', which are not installed public yet.)
4280 * libspi/component.c:
4281 Changed to use atk_component API for layers and
4282 mdi_zorder, instead of deprecated atk_object API.
4284 Magnification Utility Enhancements:
4287 Added implementation of createZoomRegion, clearAllZoomRegions,
4288 resizeZoomRegion. Added new commandline argument
4289 "--no-initial-region". Note that clearAllZoomRegions doesn't
4290 unmap the old '0' region as it should (yet), and the other
4291 methods only work when creating/resizing a single region,
4292 which is "region 0".
4293 (Code for multiple region support will be added later.)
4296 Now we raise the magnifier window each time it's refreshed;
4297 this will help keep it on top.
4299 * util/mag_client.h:
4300 Added simple wrappers for above, used by mag_control.
4301 For general use, it's recommended to use the bonobo magnifier
4302 control API directly instead of using these wrappers.
4305 Moved ZoomRegionData from magnifier.c to this file.
4307 * util/mag_control.c:
4308 Added some code to exercise new IDL implementations.
4310 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
4312 * libspi/text.c: Provide implementation for getAttributes.
4314 2002-02-04 Bill Haneman <bill.haneman@sun.com>
4317 Incremented revision.
4319 * test/test-simple.c:
4320 Replaced use of deprecated g_main_iteration with
4321 g_main_context_iteration.
4323 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
4326 Incremented revision for desktop alpha 2.
4328 2002-01-28 Mark McLoughlin <mark@skynet.ie>
4330 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
4333 * test/simple-at.c: include netinet/in.h.
4335 2002-01-24 Mark McLoughlin <mark@skynet.ie>
4337 * cspi/spi_accessible.c: (Accessible_getRelationSet):
4338 use NULL, not CORBA_OBJECT_NIL.
4340 * libspi/accessible.c:
4341 (impl_accessibility_accessible_get_relation_set):
4342 allocate the sequence correctly.
4344 * libspi/remoteobject.h: kill spi_remote_object_new.
4346 * test/test-simple.c: (validate_accessible): add code
4347 to test relation sets, now all we need is to figure
4348 out how to excercise this code path :/
4350 2002-01-18 Michael Meeks <michael@ximian.com>
4352 * test/test-simple.c
4353 (key_listener_cb): consume the key.
4354 (test_keylisteners): update.
4355 (main): wait for any pending unrefs on events.
4357 * registryd/deviceeventcontroller.c
4358 (spi_controller_update_key_grabs): only re-issue the
4359 grab on a key release.
4360 (spi_device_event_controller_forward_key_event):
4361 refresh the keygrabs before we notify the listeners,
4362 to reduce the X ungrab / re-grab race.
4363 (spi_controller_register_with_devices): remove
4364 XSelectInput - we do that with the gdk_window_ call.
4365 (_spi_controller_device_error_handler): return a value.
4366 s/GDK_DISPLAY/spi_get_display/
4368 2002-01-17 Michael Meeks <michael@ximian.com>
4370 * registryd/deviceeventcontroller.c
4371 (_deregister_keygrab): don't blow out the later
4374 * test/test-simple.c (test_keylisteners): do a
4375 more intelligent validation.
4377 2002-01-14 Michael Meeks <michael@ximian.com>
4379 * atk-bridge/bridge.c
4380 (gnome_accessibility_module_init),
4381 (gnome_accessibility_module_shutdown): impl.
4382 (gtk_module_init): protect vs. double inits.
4383 (add_signal_listener): impl.
4384 (spi_atk_bridge_state_event_listener): kill
4385 (deregister_application): split out of
4386 (spi_atk_bridge_exit_func): here.
4388 2002-01-18 Bill Haneman <bill.haneman@sun.com>
4391 Added caret tracking when using magnifier, and
4392 now use text bounds for focus tracking of text elements, rather than
4393 the component bounds - this is helpful for short text fields in long
4394 table cells, at high magnification.
4396 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4398 * registryd/deviceeventcontroller.c:
4399 Regression fix for keylistener de-registration; global keygrabs
4400 were not being released when deregisterKeystrokeListener was
4401 called in cspi, since
4402 Accessibility_DeviceEventController_deregisterKeystrokeListener
4403 was called with a zero-length keyset. That is because the cspi
4404 method, SPI_deregisterKeystrokeListener, does not take a keyset
4405 parameter but instead should remove all the key grabs held be a
4407 The code in impl_deregister_keystroke_listener was changed to copy
4408 the keylist from the listener instance previously registered with
4409 the DeviceEventController before releasing the grabs.
4411 * registryd/registry.c:
4412 * registryd/deviceeventcontroller.c:
4413 * libspi/spi-private.h:
4415 Changed spelling of "re-enterant" to "re-entrant" globally.
4417 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4419 * test/test-simple.c:
4420 Changed key listeners test - the test was slightly mis-using the
4421 (admittedly poorly documented) SPI_generateKeyboardEvent API.
4422 It now uses '=' as the key event listened to and generated,
4423 relying on a keysym match rather than assuming that keycode 33
4424 is always equal to keysym '!'.
4426 2002-01-15 Bill Haneman <bill.haneman@sun.com>
4429 Changed simple-at to use a specific keyset, rather than
4430 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
4431 manager, desktop, etc.
4433 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4435 * registryd/deviceeventcontroller.c:
4436 Replaced standard X error handler with a special handler that
4437 is non-fatal for failed keygrabs. This works around
4438 problems with keygrab clashes sometimes observed on
4440 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
4441 mouse handling code as yet).
4443 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4446 Incremented revision for desktop alpha release.
4449 Fixed a couple of the more glaring errors (still not
4452 2002-01-11 Michael Meeks <michael@ximian.com>
4454 * registryd/deviceeventcontroller.c
4455 (spi_device_event_controller_forward_key_event): kill
4456 XUngrabKey / XKeyGrab race.
4457 (spi_controller_grab_keyboard): rename to
4458 (spi_controller_update_key_grabs): this, and deal
4459 with incremental adding / removing grabs more
4461 (_register_keygrab): ensure we're not pending a remove.
4462 (spi_grab_mask_free): impl.
4463 (spi_controller_register_global_keygrabs): split out
4465 (handle_keygrab): impl.
4466 (_deregister_keygrab): impl.
4467 (spi_controller_deregister_global_keygrabs): impl.
4468 (spi_controller_update_key_grabs): re-issue the grab if
4469 we just recieved a notification.
4471 * test/test-simple.c (key_listener_cb): remove debug.
4473 * registryd/deviceeventcontroller.c
4474 (spi_controller_register_device_listener): after
4475 registering a global keygrab, actualy register it !
4476 don't wait for a timeout; doh !
4478 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
4479 to make it more readable / manipulable.
4480 s/grabmask/grab_mask/ s/refcount/ref_count/
4481 s/keyval/key_val/ s/modmask/mod_mask
4483 2002-01-08 Michael Meeks <michael@ximian.com>
4485 * registryd/deviceeventcontroller.c
4486 (spi_controller_register_with_devices): use gdk calls to
4488 (global_filter_fn): implement the filter.
4489 (spi_device_event_controller_check_key_event): rename to
4490 (spi_device_event_controller_forward_key_event): this & upd.
4491 (spi_get_display): replace with GDK_DISPLAY.
4493 * registryd/deviceeventcontroller.c
4494 (spi_controller_deregister_device_listener): unroll into
4495 (impl_deregister_keystroke_listener): here to simplify.
4496 (spi_controller_register_global_keygrabs): split cut and
4497 paste (!) out into (_register_keygrab): here, shorter & sweeter.
4498 (spi_controller_deregister_device_listener): remove.
4499 (impl_register_mouse_listener): remove, no mouse listener
4500 support in at-spi-1.0
4502 * registryd/registry.c
4503 (_device_event_controller_hook): kill.
4504 (spi_registry_init): upd.
4506 * registryd/deviceeventcontroller.c
4507 (spi_device_event_controller_class_init): upd.
4508 (spi_check_key_event): merge into.
4509 (spi_device_event_controller_check_key_event):
4510 here and kill strange static ev init, don't leak
4511 the x_event - nor dynamicaly allocate it.
4513 * registryd/registry-main.c (main): re-direct
4514 timeout to remove strange vtable mess.
4516 * registryd/deviceeventcontroller.c
4517 (remove_listener_cb): impl.
4518 (spi_controller_deregister_device_listener):
4519 fix re-enterancy hazard.
4521 2002-01-07 Michael Meeks <michael@ximian.com>
4523 * registryd/deviceeventcontroller.c
4524 (spi_device_event_controller_new): upd.
4525 (impl_notify_listeners_sync): upd. debug.
4526 (spi_notify_keylisteners): fix re-enterancy hazards,
4527 prettify, remove O(n*n) iteration.
4528 (spi_controller_grab_keyboard): fix iteration.
4529 (spi_check_key_event): re-format to suit coding style.
4530 Clean all the warnings - we're warning free.
4532 * registryd/deviceeventcontroller.h:
4533 * registryd/registry.h: make mutualy referential with
4534 typesafe forward references instead of (!) void pointer
4537 2002-01-11 Michael Meeks <michael@ximian.com>
4539 * cspi/spi_accessible.c (role_names): add a role name
4540 to sync this array with the enum; and make the regression
4543 2002-01-10 Michael Meeks <michael@ximian.com>
4545 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
4546 allow expansion of enumeration & kill warning.
4548 * test/test-simple.c (key_listener_cb): impl.
4549 (test_keylisteners): impl.
4551 * cspi/spi-listener.h: make listener signatures const
4552 on the provided (const) events.
4554 * test/keysynth-demo.c: upd. to const events.
4556 * test/simple-at.c: ditto.
4558 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4561 Rev the version to 0.5 (the previous tarball was named 0.4,
4562 even though the micro number was 3), so we need to rev upwards
4563 again for beta2/"desktop-alpha"
4566 Checked in a demo script, which requires editing before use!
4567 Proceed with caution.
4570 Fixed typo in header which was redefining SPI_ACTION_CLASS.
4572 * cspi/spi_accessible.c:
4573 Add a couple of missing enum initializations, and fix some enum
4576 * cspi/spi_registry.c:
4577 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
4579 * docs/reference/cspi/at-spi-cspi-sections.txt:
4580 Remove/fix a couple of broken document references.
4583 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
4584 as Alt-Control to listen for commands, since on some systems
4585 Control-Alt may already be grabbed.
4587 2002-01-10 Bill Haneman <bill.haneman@sun.com>
4590 Update version number to 0.4 for Beta2.
4592 * libspi/accessible.c, libspi/accessible.h:
4593 Expose spi_accessible_construct, to enable libgail-gnome
4594 construction from spi_accessible subtype.
4596 * utils/magnifier.c:
4597 Workaround for bug in some non-gnome-compliant window managers
4598 which made magnifier resize improperly.
4600 2002-01-09 Bill Haneman <bill.haneman@sun.com>
4602 * libspi/accessible.c: (spi_accessible_new) :
4603 Move the test for SPI_IS_REMOTE_OBJECT to
4604 spi_accessible_new_return, fixing a bug and compile time warning.
4606 2002-01-08 Michael Meeks <michael@ximian.com>
4608 * registryd/registry.c (parse_event_type): remove strndup.
4610 * libspi/Makefile.am (libspi_la_SOURCES): remove
4611 sources already included in the headers section.
4613 * libspi/util.c: add.
4615 * libspi/spi-private.h: add.
4617 * registryd/registry.c: update to moved list iterators.
4619 2002-01-05 Michael Meeks <michael@ximian.com>
4621 * test/simple-at.c (main): upd. auto-module set to atk-bridge
4623 * test/test-simple.c (main): ditto.
4625 2002-01-04 Michael Meeks <michael@ximian.com>
4627 * libspi/accessible.c (spi_accessible_new): remove 2nd,
4628 redundant construct.
4630 * registryd/registry.c
4631 (get_listener_list): impl.
4632 (impl_accessibility_registry_register_global_event_listener):
4633 re-impl. to simplify using ~, remove dodgy const cast off.
4634 (parse_event_type): constify.
4635 (impl_accessibility_registry_deregister_global_event_listener_all):
4636 re-write, more efficiency and simplicity, kill re-enterancy
4638 (compare_listener_corbaref, compare_corba_objects),
4639 (compare_listener_quarks): define out.
4640 (impl_accessibility_registry_deregister_global_event_listener):
4641 re-write for effiency, and nail re-enterancy hazard.
4642 (impl_accessibility_registry_get_desktop_list): impl.
4643 (re_enterant_list_delete_link): impl.
4644 (re_enterant_list_foreach): impl.
4645 (remove_listener_cb): impl.
4646 (_registry_notify_listeners): kill.
4647 (notify_listeners_cb): impl.
4649 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
4650 (SPI_getDesktopList): impl.
4652 * test/test-simple.c (test_desktop): test the methods.
4654 2002-01-03 Michael Meeks <michael@ximian.com>
4656 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
4657 keystrings since we free them
4658 (SPI_freeAccessibleKeySet): in here.
4660 * libspi/accessible.c (spi_accessible_new): kill warning,
4661 wonder what is going on with the constructor here.
4663 2002-03-01 Bill Haneman <bill.haneman@sun.com>
4665 * libspi/accessible.c (spi_accessible_new ()) :
4666 Added check to see if AtkObject is an SpiRemoteObject before
4667 creating an SpiAccessible.
4669 2002-05-01 Bill Haneman <bill.haneman@sun.com>
4671 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
4672 Enable keygrabs using the Control modifier, now that they are
4673 working properly (they were previously disabled).
4676 Change the command keygrab for this demo to "Control+Alt", so as
4677 to conflict with fewer other key commands on the system; this
4678 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
4680 Removed a pointlessly-chatty keylistener for unshifted keys
4681 (shifted keys are still reported).
4683 2002-02-01 Bill Haneman <bill.haneman@sun.com>
4685 * libspi/remoteobject.h:
4686 * libspi/remoteobject.c:
4687 Added definitions for special AtkObject subtype, required for
4688 support of remote components (specifically, used by BonoboControl
4689 accessibility implementation).
4691 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
4693 * cspi/spi.h: synched relation types with ATK
4695 * cspi/spi_accessible.c: Added implementations of
4696 AcccessibleRelation_* methods
4698 * idl/Accessibility_Relation.idl: added getRelationTypeName
4699 method. Synched known relation types with ATK. Allowed for
4700 relation type extension with the RELATION_EXTENDED type.
4702 * libspi/relation.c: Provided implementations for
4703 AccessibleRelation methods.
4705 2002-01-01 Bill Haneman <bill.haneman@sun.com>
4707 API tweaks for today's API 'freeze'.
4710 Added placeholder functions to allow future compatible expansion
4711 of the IDL interfaces.
4713 * idl/Accessibility_Registry.idl:
4714 Changed generateKeyEvent to generateKeyboardEvent. Changed
4715 signature of this method to accept an optional keystring in
4716 parameter (for complex text input synthesis) and changed use of
4717 simple 'boolean' parameter in registerKeystrokeListener to a
4718 struct, EventListenerMode.
4720 * cspi/spi_accessible.c:
4722 * cspi/spi_streamablecontent.c:
4723 Added references to AccessibleStreamableContent interface, and
4724 definition and implementation of AccessibleStreamableContent
4727 * cspi/spi_registry.c:
4729 Changed generateKeyEvent API to generateKeyboardEvent,
4730 taking a new (optional) keystring parameter to support complex
4735 Renamed directory (to better reflect its actual purpose, bridging
4736 from at-spi to ATK). The .so module is also now named
4739 * idl/Accessibility_Hypertext.idl:
4740 * libspi/accessible.c:
4741 * libspi/hypertext.h:
4742 * libspi/hypertext.c:
4743 Changed Accessibility_Hypertext to *not* derive from
4746 * cspi/spi_registry.c:
4747 Added list of legal event type names for 'window' events, which
4748 completes the registry event API.
4750 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
4752 * at-bridge/bridge.c: Added registration for separate
4753 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
4754 signals. If either of the first two parameters to the generic
4755 bridge signal handler are ints, they are passed on as event
4756 details. This allows an AT to determine what text was inserted.
4758 2001-12-21 Bill Haneman <bill.haneman@sun.com>
4760 * registryd/deviceeventcontroller.c:
4761 Fixed regressions in generateKeyEvent caused by the removal of
4762 gdk_init from registryd; we now use pure X calls to connect to the
4763 display, which makes sense because deviceeventcontroller already
4764 uses a fair bit of X API (should eventually be migrated to a
4765 'portability layer').
4767 * registryd/desktop.c:
4768 Fixed minor regression in spi_desktop_init, changed the way the
4769 desktop name is being set to work with new spi_base API
4770 (gobject-based, rather than AtkObject-based).
4772 * registryd/Makefile.am:
4773 Minor revision of makefile to use XTST_LIBS variable rather than
4774 hard-wiring the Xtst LD_ADD element.
4776 * test/keysynth-demo.c:
4777 Tweaked an output message; added initialization of the
4778 'keystrings' member of the "switch listener" key_set.
4780 * libspi/relation.c:
4781 Squashed compile-time warning.
4783 * libspi/accessible.c:
4784 Cosmetic and formatting fixes, renamed a static method.
4786 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
4788 * libspi/accessible.c
4790 * libspi/application.c
4793 * libspi/component.c
4794 * libspi/editabletext.c
4795 * libspi/hyperlink.c
4796 * libspi/hypertext.c
4798 * libspi/selection.c
4802 * registryd/desktop.c:
4803 Changed SpiBase to contain a GObject pointer rather than an AtkObject
4805 2001-12-17 Bill Haneman <bill.haneman@sun.com>
4807 * idl/Accessibility_Registry.idl:
4808 Added boolean member 'is_text' to DeviceEvent. This is for the
4809 use of key events, and helps prevent ambiguity between composed
4810 key strings and keysym names, since both may potentially be
4811 returned in the 'event_string' member.
4813 * at-bridge/bridge.c:
4814 * registryd/deviceeventcontroller.c:
4815 Use the 'is_text' member when notifying device event listeners.
4816 Knon issue: composed characters are not dealt with correctly by
4817 the global key listener implementation yet.
4819 2001-12-17 Bill Haneman <bill.haneman@sun.com>
4821 * at-bridge/bridge.c:
4822 Namespaced local static methods to spi_atk_bridge_* where
4823 previously named bridge_*, and spi_* elsewhere.
4825 * at-bridge/bridge.c:
4826 * cspi/bonobo/cspi-bonobo-listener.c:
4827 Added demarshalling/conversion for string member of
4828 Accessibility_DeviceEvent to AccessibleKeystroke.
4830 * registryd/deviceeventcontroller.c:
4831 Added code to fill the Accessibility_DeviceEvent key string value
4832 member for global key events (i.e. from XGrabKey), to match
4833 behavior of Accessibility_DeviceEvent from the toolkit key events
4834 from the bridge. Fixed timestamp in global key event notifications.
4837 Added printout of key event's string value to
4838 report_ordinary_key_event, for demo/debugging purposes.
4840 2001-12-15 Bill Haneman <bill.haneman@sun.com>
4842 * idl/Accessibility_Registry.idl:
4843 Removed Accessibility_KeyStroke structure in favor of generic
4844 Accessibility_DeviceEvent structure.
4845 Changed Accessibility_ControllerEventMask from a struct to an
4848 * at-bridge/bridge.c:
4849 Changed APIs to use DeviceEvent structure as above, and removed
4850 bogus casting between these event structures.
4852 * cspi/spi-listener.h:
4853 Added keystring member of AccessibleKeystroke structure, to enable
4854 matching on event "names" rather than only hardware codes and
4858 Added keystrings member of AccessibleKeySet struct, to allow
4859 matching on event names (as above).
4860 Added declarations for SPI_createAccessibleKeySet and
4861 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
4862 event modmasks directly as unsigned ints rather than structs with
4863 refcounts, in the DeviceEventController methods.
4865 * cspi/spi_registry.c:
4866 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
4868 * cspi/spi-roletypes.h:
4869 Added documentation of newly added SPI Roles.
4871 * cspi/bonobo/cspi-bonobo-listener.c:
4872 Changes in support of API changes above.
4874 * libspi/accessible.c:
4875 Converted APIs to use DeviceEvent structure (see IDL changes
4878 * registryd/deviceeventcontroller.c:
4879 Added DEControllerGrabMask structure to track keygrabs not only by
4880 modmask but by keyset as well; this allows us to do "global"
4881 (i.e. X) keygrabs on a per-key or keyset basis rather than always
4882 grabbing on AnyKey and then filtering after-the-fact.
4883 Bugfixes for event filtration mean that we don't get false matches
4884 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
4886 * registryd/deviceeventcontroller.c:
4887 Namespaced a number of static methods to use spi_ prefix. Major
4888 revision to internals of global (i.e. X) key grabs.
4890 * registryd/deviceeventcontroller.h:
4891 Removed keymask_list and added keygrabs_list to
4892 SpiDeviceEventController struct.
4895 Added use of SPI_createAccessibleKeySet API when creating a
4896 listener for only one key. Attach a listener to "shift spacebar
4897 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
4898 X key event names to SPI key event names, so that listeners are
4899 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
4901 * test/keysynth-demo.c:
4902 Changed (incorrect) use of X key event names (KeyPressed,
4903 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
4906 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4908 * libspi/accessible.c:
4909 Convert all AtkRole enumerations to Accessibility_Role enums when
4910 getting a role from an AtkObject.
4912 * cspi/spi_accessible.c:
4913 Complete the conversion of Accessibility_Role enums at runtime to
4914 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
4915 role enums correctly match those given in spi-roletypes.h.
4916 Re-synchronize the local names list for AccessibleRole_getName ().
4917 AccessibleRole_getName is now deprecated, since it duplicates the
4918 more reliable Accessible_getRoleName.
4919 Added some role types from Accessibility_Role.idl.
4921 * idl/Accessibility_Role.idl:
4922 Added some role types used by AtkRole.
4924 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4927 * cspi/spi_registry.c:
4929 * cspi/cspi-bonobo-listener.c:
4930 Namespaced all methods that did not begin with an "SPI_" or
4931 "Accessible" prefix to "SPI_".
4934 Homogenized internal function namespace to "cspi_" for statics.
4937 Patched tests to use the new CSPI API.
4939 * docs/reference/cspi/at-spi-cspi-sections.txt:
4940 Updated docs to reflect namespace changes, and added a number of
4941 methods to the documentation.
4943 * registryd/registry.c:
4944 Changed use of strings and string hashes in listener event
4945 matching and parse_event_string to use GQuark, which is guaranteed
4948 * registryd/registry.h:
4949 Squashed annoying warning.
4951 * idl/Accessibility_Role.idl:
4952 Extended range of available Accessibility_Role values.
4954 * cspi/spi_accessible.c:
4955 Re-ordered role names.
4957 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4959 * idl/Accessibility_Value.idl:
4960 Revert use of union back to CORBA_double, since the double type is
4961 more efficient and can contain the other types without loss of
4964 * idl/Accessibility_Accessible.idl:
4965 Added method Accessibility:Accessible:getRoleName, to complement
4966 Accessibility:Accessible:getRole.
4968 * cspi/spi_accessible.c:
4970 Added C binding for above, Accessible_getRoleName (), and changed
4971 signature of Accessible_getRole () to return an AccessibleRole.
4973 * cspi/spi-roletypes.h:
4974 Changed AccessibleRole_getName to return a char * instead of a
4975 const char *. This method is now at least temporarily deprecated
4976 in favor of asking Accessibles for their RoleNames directly.
4979 Revert to match Accessibility_Value.idl;
4983 Change signature of AccessibleValue methods to use double rather
4987 * cspi/spi_accessible.c:
4988 Changed Accessible_getRole to return an AccessibleRole enum rather
4989 than a UTF-8 string. The UTF-8 string can still be obtained via
4990 AccessibleRole_getName ().
4992 * test/test-simple.c:
4993 Add test_action. Small fixup to match API change to Accessible_getRole.
4996 Bugfix for get_action_from_servant ().
4998 2001-12-11 Michael Meeks <michael@ximian.com>
5000 * libspi/libspi.h: remove registry.h and
5001 desktop.h, deviceeventcontroller.h
5003 * libspi/Makefile.am: remove registry.[ch],
5004 desktop.[ch], deviceeventcontroller.[ch]
5006 * registryd/Makefile.am: add registry.[ch],
5007 desktop.[ch], rename registryd.c to registry-main.c.
5008 add deviceeventcontroller.[ch]
5010 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5013 Replace setenv() call with putenv ().
5015 * libspi/component.c:
5016 Bugfix in AccessibleComponent_getExtents (),
5019 2001-12-11 Michael Meeks <michael@ximian.com>
5021 * libspi/image.c (impl_getImageExtents): impl.
5022 (spi_image_class_init): upd.
5025 (AccessibleImage_getImageDescription): fix daft bug
5028 * test/test-simple.c (global_listener_cb): update
5029 to only quit if not --poke
5030 (main): catch --poke.
5031 (validate_accessible): upd. dumping, call test_image
5034 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
5037 * idl/Accessibility.idl: update all IDL includes.
5039 * idl/*.idl - rename to namespace - this sucks, blame
5040 mjs' bad decision for oafd.
5042 * test/test-simple.c (create_test_window): add more tests.
5043 (create_tree): split this out.
5044 (validate_accessible): bugfix.
5046 2001-12-11 Michael Meeks <michael@ximian.com>
5048 * cspi/bonobo/cspi-bonobo-listener.c:
5049 (cspi_kestroke_listener_unref),
5050 (cspi_event_listener_unref): impl. undoing previous
5051 homenous environment - for Bill.
5053 * cspi/spi_table.c (long_seq_to_array): use
5056 * cspi/spi_main.c: split out all bonoboish bits into
5059 * cspi/spi-impl.h: upd. typedefs.
5061 * cspi/spi_registry.c: update to lowlevel API,
5062 return booleans to indicate success in some places.
5064 * cspi/spi_event.c: update to lowlevel API.
5066 * cspi/bonobo/Makefile.am: add.
5068 * cspi/bonobo/cspi-lowlevel.h: add
5070 * cspi/bonobo/cspi-bonobo.c: add
5072 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
5074 * cspi/Makefile.am: remove spi-listener-impl.[ch],
5075 (SUBDIRS): add bonobo, link in the libs.
5077 * cspi/spi-util.c: kill this file.
5079 * TODO: merge in my bits.
5081 2001-12-11 Michael Meeks <michael@ximian.com>
5083 * test/test-simple.c (test_value, test_table, main):
5084 remove unused variables causing warnings.
5086 * configure.in: cleanup checks - require gail.
5088 2001-12-11 Bill Haneman <bill.haneman@sun.com>
5091 Changed Value interface to use SValue (scalars) rather than
5092 assuming all values are floats. This allows floats, doubles,
5093 longs, shorts, and unsigned values to be manipulated.
5094 Introduced Accessibility:SValue union.
5097 Updated to use new API above, and to work correctly with GValues
5098 of different types in AtkValue.
5101 Updated to use new API above. cspi's API is as yet unchanged.
5104 Updated the Value revision action item.
5106 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5108 * test/test-simple.c:
5109 Added test_table (GtkTreeView widget in test window to follow).
5110 Un-commented test_value, added GtkRange widget.
5111 Added GtkTreeView widget with GtkListStore. It passes regression
5112 test but leaks one SPI object for some reason.
5115 Fixed bug in impl__set_currentValue.
5117 2001-12-10 Michael Meeks <michael@ximian.com>
5119 * cspi/spi_text.c: audit for exception handling,
5120 tolerating NULL object references safely etc.
5122 * cspi/spi_value.c: ditto.
5124 * cspi/spi_table.c (AccessibleTable_getSummary),
5125 (AccessibleTable_getAccessibleAt),
5126 (AccessibleTable_getRowHeader),
5127 (AccessibleTable_getColumnHeader),
5128 (AccessibleTable_getCaption): fix bugs hidden by
5130 (long_seq_to_array): impl.
5131 (AccessibleTable_getSelectedRows),
5132 (AccessibleTable_getSelectedColumns): use it.
5134 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5137 Added a TODO list (rough and short for now).
5139 * cspi/spi_hyperlink.c:
5140 * cspi/spi_hypertext.c:
5141 Fixed macro name typos, and remove use of obsolete macro in
5142 AccessibleHyperlink_getLink.
5144 * cspi/spi_action.c:
5145 * cspi/spi_accessible.c:
5146 * cspi/spi_application.c:
5147 * cspi/spi_component.c:
5148 * cspi/spi_selection.c:
5151 Documentation fixes (removed return values from ref/unref methods).
5153 2001-12-10 Michael Meeks <michael@ximian.com>
5155 * cspi/spi_action.c: audit for exception handling,
5156 tolerating NULL object references safely etc.
5158 * cspi/spi_accessible.c: ditto.
5160 * cspi/spi_component.c: ditto.
5162 * cspi/spi_editabletext.c: ditto.
5164 * cspi/spi_hyperlink.c: ditto.
5166 * cspi/spi_hypertext.c: ditto.
5168 * cspi/spi_image.c: ditto.
5170 * cspi/spi_selection.c: ditto.
5172 2001-12-10 Michael Meeks <michael@ximian.com>
5174 * configure.in: use cspi/libspi.pc.in instead.
5176 * Makefile.am (pkgconfig_DATA): upd. to match.
5178 * test/simple-at.c (report_focus_event): kill hacks around
5179 bad return values, use putenv not setenv
5181 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
5182 fire ChildGone - I killed it.
5184 * libspi/component.c
5185 (impl_accessibility_component_get_extents): remove
5188 * idl/Accessible.idl: kill ChildGone exception.
5190 * cspi/*.[ch]: kill int return from ref / unref.
5192 * cspi/spi_main.c (cspi_object_add_check): fold into
5193 (cspi_object_add): here.
5195 * cspi/spi_component.c (AccessibleComponent_getExtents):
5196 handle exceptions elegantly.
5198 * cspi/spi-private.h (cspi_check_ev_return),
5199 (cspi_return_if_fail): impl.
5201 * cspi/spi_accessible.c: use extensively.
5202 (AccessibleStateSet_equals): add direct compare check.
5204 * cspi/spi_selection.c: tolerate NULL objs, and check
5205 exceptions before return.
5207 * cspi/spi-util.c (cspi_warn_ev): rename to
5208 (cspi_check_ev): this & don't pass ev in; no point.
5210 2001-12-10 Michael Meeks <michael@ximian.com>
5212 * test/test-simple.c: use putenv not setenv
5213 (get_environment_vars): more chatty if you're not using
5216 * test/simple-at.c: do the setenv so more people see the
5219 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5221 * libspi/registry.c:
5222 Changed check of CORBA_environment on notification to be a warning
5223 instead of an error for the moment, since we can recover from this
5224 error when caused by a queued notification from a dead app.
5227 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
5228 used by all current implementors of AtkValue), and coerce to
5229 CORBA_float. (Proper general case fix may require change to Value.idl).
5231 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5235 * cspi/spi_accessible.c:
5236 Documentation fixes: added user_data params to documentation for
5237 listeners and callbacks.
5239 * cspi/spi_accessible.c:
5240 Changed AccessibleStateSet_compare to return a
5241 StateSet rather than return the difference set into a third parameter.
5244 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5247 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
5248 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
5252 Remove subdirectory po from SUBDIRS for now.
5254 * at-bridge/bridge.c:
5255 Beefed up a couple of debug printouts.
5256 One-line fix for signal notification name formatting.
5258 * libspi/accessible.c:
5259 Added assertion to spi_accessible_new ().
5261 * libspi/application.c:
5262 Put #ifdef qualifiers around a printf.
5265 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
5267 * registryd/Makefile.am:
5269 Replaces use of XML_I18N_MERGE_SERVER_RULE with
5270 INTLTOOL_SERVER_RULE macro.
5273 Added an event listener for several ATK signals, for
5274 testing and debugging. Removed a few g_warnings.
5275 Added test output if focussed item implements the Value interface.
5277 * test/test-simple.c:
5278 Added test_value () function (known not to pass at the moment, so
5279 not actually called yet.
5281 2001-12-08 Michael Meeks <michael@ximian.com>
5283 * at-bridge/bridge.c (bridge_focus_tracker),
5284 (emit_eventv): fix the same ref. leak.
5285 (register_atk_event_listeners): don't leak.
5287 * cspi/spi-listener-impl.c (cspi_event): more
5288 protection from client code.
5290 * test/test-simple.c (test_desktop): unref the app.
5292 * test/Makefile.am: upd. TESTS.
5294 * at-bridge/bridge.c (bridge_exit_func): release the registry.
5296 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
5298 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
5300 * cspi/spi_registry.c: constify in strings.
5301 (deregisterGlobalEventListenerAll): don't release the ref.
5303 * cspi/spi.h: start removing redundant / conflicting
5304 gtkdoc comments, making the API readable at a glance :-)
5306 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
5308 * test/keysynth-demo.c (keysynth_exit, main): upd.
5310 * test/simple-at.c (main, simple_at_exit): upd.
5312 * test/test-simple.c (unutterable_horror): kill.
5313 (utterable_normal_derefs): kill.
5314 (main): upd & do a setenv before gtk_init, so that we
5315 can use memprof - and to save the pain of remembering
5316 this, if we're running under memprof - don't exit.
5318 * cspi/spi_main.c (SPI_exit): return exit status
5320 (SPI_event_quit): impl.
5321 (SPI_event_main): simplify.
5322 (cspi_is_gnome_app): kill.
5323 (SPI_init): kill isGNOMEapp arg.
5325 * at-bridge/bridge.c (register_atk_event_listeners):
5326 re-instate the unref.
5327 (bridge_exit_func): don't re-activate the registry,
5328 protect vs. theoretical re-entry, use the
5329 AT_BRIDGE_SHUTDOWN env. var to determine whether to
5330 assert a clean shutdown - for regression tests.
5332 2001-12-08 Abel Cheung <maddog@linux.org.hk>
5334 * configure.in: Comment out dummy i18n support for now,
5335 otherwise it fails to build.
5336 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
5337 EXTRA_DIST. They are missing in tarball.
5339 2001-12-07 Michael Meeks <michael@ximian.com>
5341 * util/magnifier.c: kill bonobo activation reg. race.
5343 * libspi/component.c
5344 (impl_accessibility_component_get_extents): make it match
5347 * libspi/registry.c (_registry_notify_listeners):
5348 re-remove X headers & reconcile conflicts.
5349 (spi_listener_struct_free): bad conflict resolve.
5350 (impl_accessibility_registry_register_application):
5351 more bad merging fixed.
5352 (impl_accessibility_registry_deregister_application): ditto.
5353 (spi_registry_new): ditto.
5354 (spi_registry_init): don't have an applications field.
5356 [ merge fixups2 branch to here ]
5357 2001-12-07 Michael Meeks <michael@ximian.com>
5359 * test/simple-at.c (report_focus_event),
5360 (report_focussed_accessible): remove g_warning debug.
5362 2001-12-07 Michael Meeks <michael@ximian.com>
5364 * test/test-simple.c (validate_tree): comment out some checks.
5365 (test_desktop): app now not registered idly - horay.
5367 2001-12-07 Michael Meeks <michael@ximian.com>
5369 * cspi/spi_registry.c
5370 (registerAccessibleKeystrokeListener): clean, stop it leaking
5371 great swathes of memory, and device event controller references.
5372 ensure we always pass valid sequences.
5373 (deregisterAccessibleKeystrokeListener): ditto.
5374 (generateKeyEvent): upd.
5376 * at-bridge/bridge.c (bridge_key_listener): handle
5377 registry dead exception gracefully.
5378 (bridge_focus_tracker, emit_eventv): free ev.
5380 * test/simple-at.c (report_focus_event): fix polarity.
5382 * libspi/application.c (notify_listeners): kill the ev
5383 argument, and make sure we init the ev we use.
5384 (spi_application_object_event_listener): split out a chunk
5385 (get_atk_object_ref): here & fixup.
5386 (reverse_lookup_name_for_toolkit_event): make const.
5387 (spi_application_toolkit_event_listener): fixup, kill leaks
5390 * at-bridge/bridge.c (register_atk_event_listeners):
5391 don't unref the noop object - causes grief.
5393 * libspi/registry.c: remove the X headers.
5394 turn off the debug churn.
5396 * libspi/accessible.c (spi_accessible_new_return): only
5397 release the ref if we are supposed to [doh]
5399 * test/simple-at.c (report_button_press, report_focus_event):
5400 guard vs. unexpected exit.
5402 * at-bridge/bridge.c (gtk_module_init): prune printf.
5403 (bridge_exit_func): fix app unref.
5405 * libspi/Makefile.am: don't install registry or desktop.h
5407 * libspi/*.h: update includes.
5409 * libspi/application.h: don't include ourself, or
5410 other redundant headers.
5412 2001-12-06 Michael Meeks <michael@ximian.com>
5414 * libspi/accessible.c
5415 (get_accessible_from_servant): impl.
5416 Upd. all CORBA impl.s to use it killing cut and paste.
5418 * cspi/spi_main.c (cspi_cleanup): guard vs. double
5420 (SPI_init): register atexit cleanup handler here.
5422 2001-12-06 Michael Meeks <michael@ximian.com>
5424 * at-bridge/bridge.c (gtk_module_init): g_error on
5425 activation exception
5427 2001-12-06 Michael Meeks <michael@ximian.com>
5429 * at-bridge/bridge.c (gtk_module_init): some sort of
5430 confusing merge clash - reverted.
5431 (bridge_idle_init): ditto.
5433 * test/test-simple.c (main, utterable_normal_derefs):
5434 merge from Bill - somehow not committed.
5436 2001-12-06 Michael Meeks <michael@ximian.com>
5438 * libspi/value.c (spi_value_class_init): upd.
5439 (spi_value_finalize): kill.
5441 * libspi/table.c (spi_table_finalize): kill.
5442 (spi_table_interface_new): upd.
5443 (spi_table_class_init): upd.
5444 (get_table_from_servant): impl.
5445 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5447 * libspi/selection.c (spi_selection_finalize): kill.
5448 (spi_selection_interface_new): upd.
5449 (spi_selection_class_init): upd.
5450 (get_selection_from_servant): impl.
5451 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5453 * libspi/relation.c (spi_relation_finalize): kill.
5454 (spi_relation_class_init, spi_relation_new): upd
5456 * libspi/image.c (spi_image_finalize): kill.
5457 (spi_image_class_init): upd.
5458 (spi_image_interface_new): upd.
5459 (get_image_from_servant): impl.
5460 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5462 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
5463 (spi_hyperlink_finalize): kill.
5464 (spi_hyperlink_new): upd.
5465 (get_hyperlink_from_servant): impl.
5466 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5468 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
5469 (spi_hypertext_finalize): kill.
5470 (spi_hypertext_class_init): upd.
5471 (get_hypertext_from_servant): impl.
5472 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5474 * libspi/editabletext.c (spi_editable_text_finalize): kill.
5475 (spi_editable_text_interface_new): upd.
5476 (get_editable_text_from_servant): impl.
5477 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5479 * libspi/text.c (get_text_from_servant): impl.
5480 All impls - update to use it killing more cut and paste,
5481 also fix bad string returns on duff args ( a somewhat
5482 impossible case to handle - but hey ).
5483 (spi_text_construct): impl.
5484 (spi_text_interface_new): upd.
5485 (spi_text_object_finalize): kill.
5487 * libspi/component.c
5488 (accessibility_component_object_finalize): kill.
5489 (spi_component_class_init): upd.
5490 (get_component_from_servant): impl. helper to kill cut & paste.
5491 (impl_accessibility_component_contains):
5492 (impl_accessibility_component_get_accessible_at_point):
5493 (impl_accessibility_component_get_position):
5494 (impl_accessibility_component_get_extents):
5495 (impl_accessibility_component_get_mdi_z_order):
5496 (impl_accessibility_component_get_layer):
5497 (spi_component_interface_new): upd.
5499 * libspi/action.c (spi_action_finalize): kill.
5500 (spi_action_class_init): upd. inherit from SpiObject.
5501 (spi_action_interface_new): upd.
5502 (get_action_from_servant): impl. helper to reduce cut & paste.
5503 (impl_getKeyBinding, impl_getName, impl_doAction),
5504 (impl_getDescription): Use it everywhere.
5506 * cspi/spi_main.c (get_live_refs): a pointer hash.
5507 (spi_object_hash, spi_object_equal): comment out.
5508 There are issues with CORBA object hashing that need
5511 * libspi/application.c (spi_application_init),
5512 (spi_application_new): upd.
5514 * libspi/accessible.c (spi_accessible_object_finalize): kill.
5515 (spi_accessible_class_init): upd.
5516 s/accessible/object/ in epv methods.
5518 2001-12-05 Bill Haneman <bill.haneman@sun.com>
5520 * at-bridge/bridge.c:
5521 Reorder the bridge initialization into the bridge gtk_module_init,
5522 an immediate call to bridge_register_app, and an idle_add for
5523 register_atk_event_listeners (the only code that *must* wait until
5524 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
5525 the activation, creates the application's Accessible object, and
5526 queues the bridge_idle_init function. Restored call to
5527 Accessibility_Registry_deregisterApplication().
5528 Prior to making this call we obtain a new reference to the
5529 registry, which is a temporary hack that helps us handle apps that
5530 shut down the bonobo mainloop before we get there.
5532 * libspi/registry.c:
5533 Fix string leakage in debug block, and don't segv if a an app
5534 dies before its event notifications have been propagated.
5537 Modify cspi_check_ev() to call g_warning() rather than g_error(),
5538 as stopgap measure until we get proper exception handling when
5539 objects die during or before interrogation.
5543 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
5544 Also changed default value of is_gnome_app to TRUE.
5547 * test/keysynth-demo.c:
5548 Changed use of SPI_init and SPI_event_main to reflect API change above.
5551 Made report_focus_event check the warning value from getName
5552 before reporting on focussed accessible; simplifies handling of
5553 notifications from dead objects.
5555 * test/test-simple.c: (Changes not in this patch since source is
5558 2001-12-05 Michael Meeks <michael@ximian.com>
5560 * registryd/registryd.c (main): protect against
5561 bonobo-activation startup race condition.
5563 * cspi/spi_main.c (cspi_object_add_check): cope
5564 with the exception elegantly.
5566 * idl/Accessible.idl: decl. ChildGone
5568 * libspi/desktop.c (spi_desktop_dispose): impl.
5569 (spi_desktop_class_init): upd.
5570 (spi_desktop_add_application),
5571 (spi_desktop_remove_application),
5572 (abnormal_application_termination): impl.
5573 (impl_desktop_get_child_at_index): re-impl.
5576 (impl_accessibility_registry_deregister_application),
5577 (impl_accessibility_registry_register_application):
5578 kill excessive debug clutter.
5580 * test/test-simple.c (test_misc): test some NULL
5581 tolerance. (main): upd.
5583 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
5584 implements no interfaces - so let's not crash.
5586 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
5588 * libspi/accessible.c (spi_accessible_new_return): impl.
5589 helper to calm the cut and paste, to cope with
5590 NULL AtkObjects effectively and efficiently, and to kill
5591 the referencing bugs.
5593 * libspi/table.c (impl_getAccessibleAt),
5594 (impl_getRowHeader, impl_getColumnHeader): upd.
5596 * libspi/hyperlink.c (impl_getObject): upd.
5598 * libspi/accessible.c
5599 (impl_accessibility_accessible_get_child_at_index): upd.
5601 * libspi/component.c
5602 (impl_accessibility_component_get_accessible_at_point): upd.
5604 * test/test-simple.c (test_editable_text, test_text): impl.
5607 * cspi/spi_editabletext.c
5608 (AccessibleEditableText_insertText): constify.
5610 * test/test-simple.c (focus_me): make more robust.
5612 * libspi/accessible.c: remove some printfs in methods that
5613 we test and work fine, so we can get a clean tree dump.
5615 * test/test-simple.c (validate_accessible),
5616 (validate_tree): make tree dumping pretty too.
5618 * at-bridge/bridge.c (bridge_signal_listener): upd. so
5619 it builds without debug on.
5621 * test/test-simple.c (validate_accessible): fix the most
5624 * cspi/spi_main.c (spi_object_release): leave the nicely
5625 blanked memory around if in debug mode.
5627 * cspi/spi-listener-impl.c (cspi_event): use add_check.
5629 [committed to fixups2]
5630 2001-12-05 Michael Meeks <michael@ximian.com>
5632 * libspi/editabletext.c
5633 (spi_editable_text_class_init): g_type_class_peek_parent,
5634 not interface peek - so we finalize cleanly.
5636 * libspi/accessible.c (spi_accessible_new): kill debug.
5638 * test/test-simple.c (validate_accessible): fix ref.
5639 leak, print strings before freeing them; sigh, comment a
5640 chunk out due to strangeness.
5641 (validate_tree): unref the child after use.
5643 * cspi/spi_component.c (AccessibleComponent_getLayer):
5644 add missing break statement, switch on zlayer not the
5645 uninitialized retval.
5647 * cspi/spi_main.c (cspi_object_add): add assert, local ref
5648 before (possibly re-entering) remote unref.
5650 * test/simple-at.c (main): unref the desktop.
5652 * cspi/spi_accessible.c (cspi_accessible_is_a): move
5655 * cspi/spi_main.c (cspi_accessible_is_a): here to
5656 isolate bonobo API usage more.
5658 * libspi/registry.c (impl_accessibility_registry_register_application):
5659 prune bogus comment.
5661 2001-12-04 Michael Meeks <michael@ximian.com>
5663 * test/test-simple.c (validate_tree): upd.
5664 IndexInParent check to make it more lucid.
5665 (validate_accessible): dump the tree.
5667 * libspi/accessible.c (de_register_public_ref),
5668 (get_public_refs): impl.
5669 (spi_accessible_new): make more efficient & intuitive.
5670 Now IndexInParent check works.
5672 2001-12-04 Michael Meeks <michael@ximian.com>
5674 * cspi/spi-util.h: remove.
5676 * cspi/spi.h: move SPI_freeString here
5678 * libspi/component.c (impl_accessibility_component_get_layer):
5680 (impl_accessibility_component_get_mdi_z_order): ditto,
5681 return -1 on error - is this ok ?
5683 * test/test-simple.c (test_application): impl.
5685 * cspi/spi_accessible.c (Accessible_getApplication),
5686 (Accessible_isApplication): impl.
5688 * libspi/registry.c (spi_listener_struct_free): release
5689 the CORBA reference too.
5691 * libspi/accessible.c
5692 (impl_accessibility_accessible_get_parent): fix ref leak.
5694 * libspi/registry.c (spi_registry_new): make the registry
5695 immortal - we don't want it to go away ever.
5697 * libspi/application.c
5698 (spi_accessible_application_finalize): impl. cleanup.
5700 * cspi/spi_registry.c
5701 (deregisterGlobalEventListenerAll),
5702 (deregisterGlobalEventListener),
5703 (deregisterAccessibleKeystrokeListener): fix ref leak.
5705 * cspi/spi_main.c (SPI_init): remove redundant ref.
5707 * test/test-simple.c (unutterable_horror): impl. to force a
5712 (impl_accessibility_registry_deregister_application): release
5713 the application when we de-register it.
5715 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
5716 until we have the infastructure to get it right.
5718 2001-12-03 Michael Meeks <michael@ximian.com>
5720 * libspi/Makefile.am: only build eventlistener.[ch]
5722 * libspi/accessible.c
5723 (impl_accessibility_accessible_get_child_at_index): don't leak.
5725 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
5726 before we hit the idle handler.
5728 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
5729 debugging than exit.
5731 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
5733 * libspi/listener.c (impl_notify_event): check source
5734 not NIL before unref.
5736 * libspi/registry.c (impl_registry_notify_event): ditto.
5738 * libspi/eventlistener.c
5739 (impl_accessible_event_notify_event): unref the source.
5741 * libspi/accessibleeventlistener.c
5742 (impl_accessible_event_notify_event): unref the source.
5744 * idl/Event.idl: remove 'hash_id' attribute - of no
5747 * libspi/application.c (notify_listeners): upd list
5749 (spi_application_object_event_listener),
5750 (spi_application_toolkit_event_listener): upd to do correct
5754 (_registry_notify_listeners): update.
5755 (parse_event_type): this method also leaks like a sieve.
5756 (impl_accessibility_registry_deregister_global_event_listener):
5757 fix ETYPE_WINDOW case.
5759 * libspi/application.c
5760 (impl_accessibility_application_register_object_event_listener):
5763 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
5765 * libspi/hypertext.c (impl_getLink): ditto.
5767 * cspi/spi_main.c (cspi_object_add): remove
5768 bogus CORBA_Object_duplicate.
5770 * cspi/spi-listener-impl.c (cspi_event): dup/ref
5773 * cspi/spi_accessible.c
5774 (Accessible_getRelationSet): fix leak / referencing issue.
5776 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
5777 (cspi_object_add, cspi_object_unref): upd.
5778 (spi_object_release, get_live_refs): impl.
5779 (cspi_cleanup): simplify.
5781 * *.[ch]: s/boolean/SpiBoolean/
5783 * cspi/spi_accessible.c (role_names): actualy order so it
5784 corresponds with the enum !
5786 * test/test-simple.c (test_roles): check some role strings
5787 vs. enums to detect offset errors.
5789 2001-12-01 Michael Meeks <michael@ximian.com>
5791 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
5793 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
5795 (Accessible_getChildAtIndex): use cspi_add_check so we
5796 check the ev before using a (possibly) invalid value.
5798 * libspi/accessible.c
5799 (impl_accessibility_accessible_get_parent): don't segv
5802 * at-bridge/bridge.c (gtk_module_init): upd.
5803 (bridge_property_event_listener): don't leak strings
5805 (bridge_state_event_listener),
5806 (bridge_property_event_listener): don't use a static
5807 buffer in case of recursive event emission &
5808 re-enterancy - split out the swathe of cut and paste
5810 (emit_eventv): and fix 2 ref leaks here & comply to the
5812 (bridge_register_app): rename to
5813 (bridge_idle_init): this and kill arg parsing, split
5814 various inits & bonobo-activation registration to module
5815 init time, kill referencing error.
5816 (bridge_exit_func): fix the same leak.
5817 (bridge_focus_tracker): don't leak event structures
5819 (bridge_signal_listener): more leakage and cut & paste
5821 (bridge_key_listener): return the result - FIXME is
5822 this polarity correct ?
5823 (accessibility_keystroke_from_atk_key_event): rename
5824 (accessibility_init_keystroke_from_atk_key_event): and stop
5826 (gtk_module_init): return a value - not that it is checked by
5828 (bridge_key_listener): register my horror at casting between
5829 IDL defined structs.
5830 (bridge_get_registry): kill - not used.
5832 * cspi/spi_accessible.c (Accessible_getRole): make return const.
5834 * test/test-simple.c (test_roles): impl.
5835 (test_desktop, validate_accessible, validate_tree): impl.
5837 * cspi/spi_accessible.c (role_names): fixup bogus
5838 MAX_ROLES setup, make constants const for efficient linkage
5839 (AccessibleRole_getName): conform to coding style, make
5842 2001-11-30 Michael Meeks <michael@ximian.com>
5844 * cspi/spi.h: add missing prototype.
5846 * libspi/registry.c (spi_listener_struct_new): fix sig.
5848 * test/Makefile.am: add test-simple
5850 * test/test-simple.c: add
5852 * test/test.sh: add.
5854 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
5856 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
5857 do it straight - since otherwise we often get an activation race.
5859 [ work before Bill duplicated a chunk of it ... ]
5860 2001-11-30 Michael Meeks <michael@ximian.com>
5862 * libspi/keystrokelistener.c
5863 (spi_keystroke_listener_class_init): fixup arg
5866 * libspi/eventlistener.c
5867 (spi_event_listener_class_init): ditto.
5869 * tests/test.sh: add.
5871 * cspi/spi-listener-impl.h: update macros.
5873 * cspi/spi-listener-impl.c
5874 (cspi_event_listener_remove_callback): add
5875 correct pre-conditions.
5877 * cspi/spi_main.c (SPI_exit): guard vs. double
5878 exits, exit the mainloop nicely.
5879 (SPI_event_main): make more sense.
5880 (SPI_init): move the atexit evilness here so we
5881 always do it (yuck).
5882 (SPI_event_main): upd.
5884 * test/simple-at.c: update for listener changes.
5886 * registryd/registryd.c (main): prune kruft.
5888 * libspi/libspi.h: upd.
5890 * libspi/eventlistener.[ch]: rename broken macros.
5892 * libspi/accessibleeventlistener.[ch]: remove.
5894 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
5896 * test/test-simple.c: Add - automated tests.
5898 * cspi/spi-listener-impl.c (cspi_event),
5899 (cspi_key_event): add user_data to invoke.
5900 (cspi_keystroke_listener_finalize): impl.
5901 (cspi_keystroke_listener_class_init): upd.
5904 (createAccessibleEventListener),
5905 (AccessibleEventListener_addCallback),
5906 (createAccessibleKeystrokeListener),
5907 (AccessibleKeystrokeListener_addCallback): upd.
5909 * libspi/deviceeventcontroller.c
5910 (spi_device_event_controller_check_key_event): add public proto.
5913 (impl_accessibility_registry_deregister_global_event_listener):
5914 always init listeners.
5915 (_registry_notify_listeners): yes it is.
5917 * cspi/spi-listener-impl.c (cspi_key_event):
5919 (cspi_event_listener_finalize): impl.
5920 (cspi_event_listener_class_init): hook up.
5921 (event_handler_new, event_handler_free),
5922 (event_list_remove_by_callback): impl.
5923 (cspi_event_listener_remove_callback),
5924 (cspi_keystroke_listener_remove_callback),
5925 (cspi_keystroke_listener_add_callback),
5926 (cspi_event_listener_add_callback): upd.
5928 * libspi/keystrokelistener.c
5929 (keystroke_listener_object_finalize): kill
5930 (spi_keystroke_listener_class_init): upd.
5931 (spi_keystroke_listener_add_callback),
5932 (spi_keystroke_listener_remove_callback): kill,
5934 (impl_key_event): prune drasticaly.
5936 * libspi/eventlistener.c
5937 (spi_event_listener_add_callback),
5938 (spi_event_listener_remove_callback): kill, use
5940 (impl_accessible_event_notify_event): upd.
5941 (spi_event_listener_object_finalize): remove.
5943 * libspi/Makefile.am: use eventlistener.[ch]
5945 2001-12-04 Bill Haneman <bill.haneman@sun.com>
5947 * libspi/registry.c (_registry_notify_listeners):
5948 Changed listener loop iteration to use preferred convention.
5949 Got rid of string memory leaks caused be calling g_strconcat
5950 inside function calls.
5952 * libspi/registry.c (parse_event_type):
5953 Stopped g_strconcat memory leaks, free the g_strsplit return,
5954 g_strdup the split pieces when used, etc.
5956 2001-12-04 Bill Haneman <bill.haneman@sun.com>
5959 Change method 'compare' to return a 'difference set' rather than
5960 taking a StateSet as an out parameter (more Java-friendly).
5962 * idl/Accessible.idl:
5963 Added CORBA struct 'BoundingBox', to faciliate API changes below:
5965 * idl/Component.idl:
5967 Changed methods 'getExtents' and 'getImageExtents' in these
5968 interfaces to return a BoundingBox structure.
5969 (getPosition and getSize are redundant and possibly should be
5970 removed, rather than creating a corresponding Point struct.)
5972 * cspi/spi_component.c:
5973 Modify implementation of getExtents to reflect the above IDL
5978 Add (missing) AccessibleImage_getExtents () API.
5980 * docs/reference/cspi/at-spi-cspi-sections.txt:
5981 Added AccessibleImage_getImageExtents () to docs.
5983 2001-12-03 Bill Haneman <bill.haneman@sun.com>
5985 * idl/Component.idl:
5986 Added two methods, getLayer () and getMDIZOrder (), to reflect
5987 the new ATK methods atk_object_get_layer and
5988 atk_object_get_mdi_z_order. (Which arguably should be part of the
5989 AtkComponent API and AtkObject). Also added an enum,
5990 ComponentLayer, for the first method's return value.
5992 * libspi/component.c:
5993 Added implementations for these methods.
5995 * cspi/spi_component.c:
5997 Added cspi binding methods for above,
5998 AccessibleComponent_getLayer() and
5999 AccessibleComponent_getMDIZOrder().
6000 Added cspi enum 'AccessibleComponentLayer'.
6002 * docs/reference/cspi/at-spi-cspi-sections.txt:
6003 Added above methods to docs.
6007 Changed typedef for 'boolean' type (and all references to it) to
6008 SPIBoolean, to avoid keyword clashes with C++.
6011 Changed usages of 'boolean' to SPIBoolean.
6013 * test/keysynth-demo.c:
6014 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
6015 app), except where SPIBoolean is required by the callbacks API.
6017 2001-12-02 Bill Haneman <bill.haneman@sun.com>
6019 * cspi/spi_registry.c:
6020 Removed obsolete X event loop for passive keygrabs (which now
6023 * registryd/registryd.c:
6024 Removed unnecessary call to gdk_init() [cruft]. This also allows
6025 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
6028 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6030 * docs/reference/cspi:
6031 Included docs for SPI_freeString in generated documentation.
6034 Renamed spi_freeString to SPI_freeString, for consistency. Added
6035 documentation for this function.
6038 Renamed spi_freeString to SPI_freeString, for consistency.
6039 Removed obsolete method declaration string_from_corba_string.
6041 * test/keysynth-demo.c:
6042 Small tweak to comments.
6045 Stopped leaking the strings returned from CSPI.
6047 2001-11-28 Bill Haneman <bill.haneman@sun.com>
6049 Merged Michael's branch (see his ChangeLog entries below).
6051 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
6052 bridge is alive, release on exit.
6054 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
6055 Fix type check macro.
6058 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
6061 Added is_gnome_app static, and method cspi_is_gnome_app(),
6062 so we can call the appropriate shutdown routine at exit in SPI_exit.
6064 * cspi/spi_main.c (cspi_object_ref):
6065 Duplicate the corba object passed in, since we're keeping it around.
6067 * cspi/SPI_exit.c, cspi_cleanup:
6068 Moved the releasing of the live refs to its own function, so we
6069 can put it in g_atexit (). Call the appropriate shutdown API
6070 depending on whethe calling client is a gnome app or not
6071 (bonobo_main_quit or CORBA_ORB_shutdown).
6073 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
6074 Unref the listener when this method is called, after
6075 deregistration. Updated the API docs to note this behavior.
6077 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
6078 Bugfixes: Ref the bonobo object when returning a parent or child
6079 reference, or an AccessibleRelation. Generally made sure
6080 BonoboObject refcount is incremented whenever we return an
6083 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
6084 Fixed typo/bug in signal declaration.
6086 * libspi/accessibleeventlistener.h:
6089 * libspi/application.c (spi_application_new):
6090 Fixed leak in initialization.
6093 Remembered to increment bonobo-object refcount when returning
6094 children (applications) from desktop object.
6095 Added (empty) finalize method.
6097 * libspi/deviceeventcontroller.c:
6098 Hold a ref to listeners inside DEControllerKeyListeners.
6099 Added dec_key_listener_free() method. Use prepend instead of
6100 append in key_listener list. Fixed some refcount madness and
6101 leaks in the listener registration/deregistration - deregistration
6102 now calls dec_key_listener_free() on listeners, and on the
6103 temporarily constructed dec_key_listener() used to perform the search/match.
6105 * libspi/hypertext.c (spi_hypertest_finalize):
6106 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
6107 class. Also fixed spi_hypertext_interface_new() and
6108 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
6110 * libspi/hypertext.h:
6111 Removed pointless and duplicate AtkObject pointer from
6114 * libspi/keystrokelistener.c:
6115 Fixed incorrect type of keystroke_listener_parent_class,
6116 renamed keystroke_listener_object_finalize to
6117 spi_keystroke_listener_object_finalize.
6118 Fixed typo in signal declaration
6119 (spi_keystroke_listener_class_init).
6121 * libspi/registry.c:
6122 Added funcsions spi_listener_struct_new() and
6123 spi_listener_struct_free() to help with memory management issues.
6124 We also now use these methods instead of gnew + poking stuff into
6125 the struct, and to decrement listener counts/free the listeners
6126 when deregistering them.
6127 Fix more refcount bugs in getDesktop() and
6128 getDeviceEventController().
6131 De-ref the desktop after enumerating the applications. Explicitly
6132 decrement the refcounts on the created listeners on exit (using
6133 _unref for keystroke listeners, and via the
6134 deregisterGlobalEventListenerAll command for other event
6137 2001-11-27 Michael Meeks <michael@ximian.com>
6139 * cspi/spi-listener.h: fixup enum.
6141 2001-11-27 Michael Meeks <michael@ximian.com>
6143 * cspi/spi-listener-impl.c (cspi_event_listener_new),
6144 (cspi_keystroke_listener_new): Use the cspi variants.
6146 2001-11-26 Michael Meeks <michael@ximian.com>
6148 * test/keysynth-demo.c: fix 2 compile warnings, missing
6151 * test/simple-at.c (report_focussed_accessible),
6152 (report_focus_event, report_button_press),
6153 (check_property_change, is_command_key),
6154 (report_ordinary_key_event, report_command_key_event): upd.
6156 * util/mag_client.h: include pre-requisites.
6158 * libspi/accessibleeventlistener.c
6159 (spi_event_listener_object_finalize): free any lingering
6162 * libspi/keystrokelistener.c
6163 (keystroke_listener_object_finalize): ditto.
6165 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
6166 callbacks, with cspi types.
6168 * cspi/spi_event.c (createAccessibleEventListener): chain to
6169 (AccessibleEventListener_addCallback): here.
6170 (createAccessibleKeystrokeListener): chain to
6171 (AccessibleKeystrokeListener_addCallback): here.
6173 * libspi/keystrokelistener.c
6174 (spi_keystroke_listener_class_init): add signal.
6175 (impl_key_event): emit the event.
6176 (boolean_handled_accumulator): impl.
6177 (marshal_BOOLEAN__POINTER): add, gack.
6179 * libspi/accessibleeventlistener.c
6180 (spi_event_listener_class_init): add signal.
6181 (impl_accessible_event_notify_event): emit the signal &
6182 make the loop efficient.
6183 (spi_event_listener_add_callback): prepend the callback.
6185 * libspi/accessibleeventlistener.h: add an 'event' signal,
6186 decl type on callback.
6188 * libspi/keystrokelistener.h: ditto.
6190 * cspi/spi-listener.h: make methods typesafe and
6191 make them use the new event typedefs.
6193 * test/simple-at.c (report_focussed_accessible):
6194 include mag_client.h
6195 Use *(void *)text_interface not the other thing.
6197 * configure.in: add gtk to registryd bits - since we use
6200 * util/magnifier.c: include libbonobo.h
6202 2001-11-25 Bill Haneman <bill.haneman@sun.com>
6204 * test/keysynth-demo.c:
6205 Turned this into a simple scanning keyboard, to demonstrate the
6206 use of g_timeout_add () as a means of creating timers for
6207 scanning, and the use of GtkStyle for visually indicating when
6208 virtual keyboard elements are selected.
6210 keysynth-demo now listens to any keyboard keys with zero-valued
6211 keycodes (i.e. 'unused' keys) and interprets them as
6214 Reworked the shiftlatch code so that shift-down state isn't held
6215 for long periods (it's only synthesized immediately prior to
6216 the keysynth event it's modifying). Note that shiftlatch in this
6217 demo is a convenience, not intended to take the place of AccessX
6218 which is the better choice for getting 'sticky' modifier keys.
6220 * libspi/deviceeventcontroller.c:
6221 * at-bridge/bridge.c:
6222 * cspi/spi_registry.c:
6223 Removed some debug print stuff, and put other verbosity in #ifdef
6228 Implemented some more of the magnifier IDL for the simple
6229 magnifier: namely, getZoomRegionParams.
6230 Added mag_x and mag_y members to MagnifierData struct, aid of this
6232 Added GtkWindow::realize signal handler to magnifier, to keep it
6233 from receiving keyboard focus from the WM.
6235 2001-11-23 Mark McLoughlin <mark@skynet.ie>
6237 * cspi/spi-private.h: my guess at what michael forgot
6238 before he ran off to NZ :-)
6240 2001-11-23 Michael Meeks <michael@ximian.com>
6242 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
6243 comment out non existant method invoke so we link.
6245 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
6246 use bonobo_exception_get_text for more friendly warnings.
6248 * cspi/spi.c (Obj_Add): move into spi_main & rename
6249 spi_object_add; kill spi.c
6251 * cspi/spi_registry.c
6252 (deregisterGlobalEventListener),
6253 (deregisterGlobalEventListenerAll),
6254 (registerGlobalEventListener): fix exception leaks.
6256 * cspi/spi_main.c (spi_exception): impl. helper, so we
6257 don't leak exceptions.
6259 * cspi/spi_selection.c
6260 (AccessibleSelection_deselectSelectedChild): return the
6263 * cspi/spi_main.c (spi_ev): impl; hack - gack.
6264 (spi_registry): ditto.
6265 (SPI_init): guard against double inits.
6267 * cspi/*.c: use spi_ev (), and spi_registry () where
6268 appropriate - a temporary hack until we have something
6269 better. Use spi_object_add
6271 2001-11-22 Michael Meeks <michael@ximian.com>
6273 * cspi/Makefile.am: re organise, install the headers.
6275 * cspi/*.h: add G_BEGIN/END_DECLS
6277 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6280 Added non-preemptive keylistener for key events with no modifiers
6281 and shift-only modifier.
6283 * libspi/keystrokelistener.c:
6284 Removed some verbose diagnostics printout.
6286 * cspi/spi_registry.c:
6287 Fixed a bug that caused all key listeners to be registered as
6290 * libspi/deviceeventcontroller.c:
6291 Fixed bug that caused XGrabKey (preemptive key grab) to be called
6292 for non-preemptive key masks.
6295 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6297 * docs/reference/idl/at-spi-idl-docs.sgml:
6298 * docs/reference/idl/at-spi-idl-sections.txt:
6299 * docs/reference/idl/at-spi-idl-overrides.txt:
6300 Added missing files.
6302 * docs/reference/Makefile.am:
6303 removed idl from SUBDIRS until we can figure a way to get gtk-doc
6304 to scan the IDL files :-(
6309 Added .cvsignore files.
6311 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6313 * libspi/deviceeventcontroller.c:
6314 * libspi/keystrokelistener.c:
6316 * cspi/spi_registry.c:
6317 Added filters for KeySets, KeyEventSeq, and event types to key
6318 event dispatching, so listeners should only receive those events
6319 that they requested :-)
6321 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6326 * docs/reference:Makefile.am:
6327 * docs/reference/cspi:
6328 * docs/reference/cspi:Makefile.am:
6329 * docs/reference/cspi:tmpl:
6330 * docs/reference/cspi:tmpl:*.sgml:
6331 * docs/reference/idl:
6332 * docs/reference/idl:Makefile.am:
6333 * docs/reference/idl:at-spi-idl-sections.txt:
6334 * docs/reference/idl:at-spi-idl-docs.sgml:
6335 * docs/reference/idl:tmpl:
6336 * docs/reference/idl:tmpl:*.sgml:
6338 Restructured docs directory to allow separate 'reference' docs
6339 section, and forked idl and cspi docs. Added the sgml template
6340 files to CVS. Added the first sections/structural sgml for the
6343 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
6345 * configure.in, libspi/Makefile.am: find libXtst.
6347 2001-11-21 Michael Meeks <michael@ximian.com>
6349 * test/accessx-gui.c: s/spi_value/value/ - doh.
6351 * libspi/base.[ch]: add.
6353 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6355 * idl/Accessible.idl:
6356 * idl/Application.idl:
6359 Started gtk-doc cleanup on IDL.
6361 * libspi/deviceeventcontroller.c:
6362 Added and connected non-preemptive key notification from the
6363 toolkits (in addition to the pre-emptive support from XServer
6364 which we had before, but which causes 'focus flashing'). Filters
6365 are presently limited to key modifiers and global/non-global,
6366 KeySets are presently ignored, as are KeyEvent masks.
6368 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
6369 structs into the persistant structure rather than just storing
6370 pointers to things that might not persist across servant
6373 The XGrabKey call now does async keygrabs, because synchronous
6374 ones were deadlocking with GDK_event code in a very nasty way.
6376 Added boolean to internal method notify_keylisteners, to indicate
6377 whether the event came from the 'toolkit source' or the 'global
6378 (XServer) source' - this is used in the notification process to
6379 determine which listeners to send the event to.
6381 deviceeventcontroller.c is now warning-free.
6383 * libspi/registry.c:
6384 Fixed regression in application de-registration.
6385 Also fixed some really brain-dead weirdness having to do with
6386 event dispatching - event structs are now duplicated before being
6387 re-marshalled in the dispatch to listeners. This also fixes a
6388 Solaris build problem.
6391 2001-11-20 Michael Meeks <michael@ximian.com>
6394 (impl_accessibility_registry_deregister_global_event_listener):
6397 * libspi/deviceeventcontroller.c
6398 (spi_device_event_controller_check_key_event): return
6399 FALSE on no virtual method.
6401 * libspi/*..h: make includes work on a correctly pathed install.
6403 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
6405 * libspi/application.h: kill unused ( and whacked out )
6406 gboolean *spi_application_set_id (AtkObject *app, long id);
6408 2001-11-20 Michael Meeks <michael@ximian.com>
6410 * libspi/*.[ch]: further convert to bonobo's type func
6411 macros, remove redundnant casts etc.
6413 * libspi/text.c s/accessibility_text/spi_text/g,
6414 re-order to de-cruft.
6416 * libspi/hypertext.c: re-order to kill a huge slew
6417 of redundant forward decls.
6419 * libspi/relation.c: ditto.
6421 * libspi/image.c: ditto.
6423 * */.cvsignore: update
6425 2001-11-20 Michael Meeks <michael@ximian.com>
6427 * libspi/deviceeventcontroller.c
6428 (_controller_register_with_devices): use g_getenv,
6429 kill stdlib.h include.
6431 * libspi/keystrokelistener.c
6432 (spi_keystroke_listener_get_type): kill
6433 (spi_keystroke_listener_class_init),
6434 (spi_keystroke_listener_init): rename to this.
6436 * libspi/text.c (impl_getAttributes): fix warning / bug.
6438 * libspi/*.[ch]: more headers, includes and over commenting.
6440 2001-11-20 Michael Meeks <michael@ximian.com>
6442 * libspi/*.[ch]: fixup headers, includes and over commenting.
6444 * libspi/image.c (impl__get_imageDescription): const
6445 correctness warning fix. remove redundant casting.
6447 * libspi/table.c (impl_getRowDescription): ditto.
6448 (impl_getColumnDescription): ditto.
6450 * libspi/libspi.h: add.
6452 2001-11-19 Michael Meeks <michael@ximian.com>
6454 * libspi/editabletext.c (impl_setAttributes): fix warnings.
6456 * libspi/component.c (accessibility_component_get_type):
6457 rename to (spi_component_get_type): and macroify.
6458 (accessibility_component_init): rename to
6459 (spi_component_init): this
6460 (accessibility_component_class_init): rename to
6461 (spi_component_class_init): this
6463 * libspi/action.c (spi_action_get_type): kill, use the macro.
6465 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
6468 * libspi/application.c (spi_application_object_event_listener),
6469 (impl_accessibility_application_register_object_event_listener):
6470 warning fixes / const understanding updates.
6472 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
6475 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6477 * libspi/spi_accessible.c: Added docs and C bindings for
6478 AccessibleStateSet. (No implementations yet). Documentation
6479 coverage for C bindings now 100%. Made docs for event listeners
6484 boolean notifyListenersSync (in DeviceEventListener listener,
6485 in DeviceEvent event);
6487 oneway void notifyListenersAsync (in DeviceEventListener listener,
6488 in DeviceEvent event);
6490 Added DeviceEventListener and DeviceEvent structs (may deprecate
6491 KeyStroke and KeystrokeListener in favor of this generic
6492 event/listener framework for devices).
6494 * libspi/deviceeventcontroller.c:
6496 Changed some key listener code to take masks, etc., and paved the
6497 way for integration of toolkit/non-preemptive key events. Changed
6498 signatures of some internal methods.
6500 * at-bridge/bridge.c:
6501 Fixed regression connecting to interface signals, apparently
6502 caused by GTK+ changes.
6504 Added an internal bridge_state_listener to deal with
6505 property-change:accessible-state signals.
6507 Changed the key_listeners GList to store structs (including masks,
6508 etc.) instead of just CORBA_Objects (required for full
6509 implementation of key listener API).
6511 Connected the bridge to all currently supported Atk signals.
6512 Events now supported:
6513 object:property-change
6514 object:property-change:accessible-name
6515 object:property-change:accessible-state
6516 object:property-change:accessible-description
6517 object:property-change:accessible-parent
6518 object:property-change:accessible-value
6519 object:property-change:accessible-role
6520 object:property-change:accessible-table-caption
6521 object:property-change:accessible-table-column-description
6522 object:property-change:accessible-table-column-header
6523 object:property-change:accessible-table-row-description
6524 object:property-change:accessible-table-row-header
6525 object:property-change:accessible-table-summary
6526 object:children-changed
6527 object:visible-data-changed
6528 object:selection-changed
6529 object:text-selection-changed
6531 object:text-caret-moved
6533 object:row-reordered
6535 object:column-inserted
6536 object:column-reordered
6537 object:column-deleted
6538 object:model-changed
6540 2001-11-16 Bill Haneman <bill.haneman@sun.com>
6542 * libspi/hyperlink.c,h:
6543 Fixed some broken stuff in hyperlink.
6545 * libspi/relation.h:
6546 * libspi/relation.c:
6547 * cspi/spi_accessible.c:
6548 Initial implementations of AccessibleRelation methods, and docs.
6550 * libspi/accessible.c:
6551 Fixed a bug that caused SEGV if an accessible
6552 object's description is NULL, and a client
6553 requests it. An empty string is now returned.
6555 * cspi/spi_editabletext.c:
6556 * cspi/spi_hypertext.c:
6558 * cspi/spi_hyperlink.c:
6562 Doc coverage now 95%.
6564 2001-11-16 Bill Haneman <bill.haneman@sun.com>
6566 One last namespacing revision:
6567 * libspi/accessibleeventlistener.[ch]:
6568 Renamed SpiAccessibleEventListener to SpiEventListener,
6569 (no need for two namespaces ;-)
6571 And lots of documentation fixes:
6573 * docs/at-spi-docs.sgml:
6574 Fixed 'underscore vs. hyphen' bug that was preventing
6575 the gtk-doc API docs from being automatically generated.
6578 * cspi/spi-listener.h
6580 * cspi/spi_accessible.c
6582 * cspi/spi_application.c
6583 * cspi/spi_component.c
6584 * cspi/spi_editabletext.c
6586 * cspi/spi_hypertext.c
6588 * cspi/spi_registry.c
6589 * cspi/spi_selection.c
6593 * docs/at-spi-docs.sgml
6594 * docs/at-spi-sections.txt
6596 Added and fixed up gtk-doc documentation in cspi.
6598 Interfaces now (fully) documented (subject to revision and enhancement):
6600 Event Listener Support
6602 AccessibleApplication
6606 AccessibleEditableText
6613 AccessibleRelationSet
6618 2001-11-14 Bill Haneman <bill.haneman@sun.com>
6620 * at-bridge/bridge.c:
6621 Initial work for toolkit-level key snooper connection by bridge.
6626 New typedefs and fixes to support new namespacing, and cleaner
6627 separation of cspi bindings from libspi bonobo implementation.
6628 Removed inconsistent and extraneous Spi* namespace prefix that
6629 had crept into cspi headers.
6630 Lots of comment fixes that sed had missed.
6632 * cspi/spi-roletypes.h:
6633 * cspi/spi-statetypes.h:
6634 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
6635 to AccessibleRoleType.
6637 * libspi/accessibleeventlistener.h:
6638 Fixed minor namespacing weirdness.
6640 * libspi/deviceeventcontroller.c:
6641 Reordered some internal API for device listeners.
6642 Changed the key registry final boolean to 'is_system_global'
6643 rather than 'is_synchronous', which is more descriptive of its
6645 Added spi_device_event_controller_new().
6646 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
6648 * libspi/keystrokelistener.[ch]:
6649 Namespaced KeystrokeListener to SpiKeystrokeListener.
6650 Changed uses of keymasks to use SPI_ prefix, and did other
6653 * libspi/keymasks.h:
6654 Namespaced keymask constants with SPI_ prefix.
6656 * libspi/registry.c:
6657 Some warning fixes, and knock-on fixes from namespace changes.
6660 Added rules for accessx-gui test program.
6662 * test/accessx-gui.c:
6663 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
6664 utility. It doesn't actually use at-spi, but it's still cool and
6667 * test/keysynth-demo.c:
6671 Fixes so that these test clients work properly with the namespaced
6672 libraries. (Incompletely tested for technical reasons, fixes may follow)
6675 2001-11-13 Michael Meeks <michael@ximian.com>
6677 * libspi/application.c
6678 (impl_accessibility_application_get_version),
6679 (impl_accessibility_application_get_toolkit_name):
6681 (impl_accessibility_application_set_id),
6682 (impl_accessibility_application_get_id): remove
6683 redundant casting code.
6685 * libspi/action.c (impl_getDescription): fix warnings.
6687 * libspi/accessible.c
6688 (impl_accessibility_accessible_get_parent),
6689 (impl_accessibility_accessible_get_child_at_index),
6690 (impl_accessibility_accessible_get_state),
6691 (impl_accessibility_accessible_get_relation_set):
6692 warning fixes & include action.h
6694 2001-11-13 Michael Meeks <michael@ximian.com>
6696 * *.[ch] fix bits I screwed up:
6698 s/([^ \tb(\*\&\?\",])spi_/\1/g;
6699 s/([^ \tb(\*\&\?\",])Spi/\1/g;
6701 2001-11-13 Michael Meeks <michael@ximian.com>
6703 * *.[ch] Namespace libspi into spi_ and Spi.
6705 2001-13-11 Michael Meeks <michael@ximian.com>
6707 * Makefile.am: dist & install at-spi-1.0.pc
6709 * libspi/Makefile.am: install into at-spi-1.0
6711 * idl/Makefile.am (idldir): install into at-spi-1.0
6713 * at-spi-1.0.pc.in: add.
6715 * configure.in: build it.
6717 2001-11-12 Bill Haneman <bill.haneman@sun.com>
6719 * test/keysynth-demo.c:
6720 Use a 'realize' signal-handler to set the WM properties for
6721 the virtual keyboard, rather than making it a "POPUP" type
6722 override-redirect window (thanks to anders carlsson for that
6725 2001-11-11 Bill Haneman <bill.haneman@sun.com>
6728 * test/keysynth-demo.c:
6729 Added new test of key synthesis, which creates a simple
6730 (mouse-operated) onscreen keyboard. It inserts key events into
6731 the currently-focused window, thus it does not grab keyboard focus
6734 * cspi/spi_registry.c:
6735 Added C binding for AT-SPI generateKeyEvent.
6737 * libspi/deviceeventcontroller.c:
6738 Added call to XFilterEvent so that key listener works with XIM (we
6739 hope). Added event_synth_type to generateKeyEvent, so that we can
6740 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
6741 synthesize a press/release pair for KeySyms.
6743 2001-11-09 Bill Haneman <bill.haneman@sun.com>
6745 * libspi/Makefile.am:
6746 * registryd/Makefile.am:
6747 (temporary) hack to include libXtst in libspi and registryd.
6748 (Needed for keystroke synthesis, see below).
6751 Improved API for registerKeystrokeListener, in accordance with
6752 discussions with Gnopernicus team and X server research.
6754 * libspi/registry.c:
6755 * libspi/deviceeventcontroller.c:
6756 * libspi/accessible.c:
6757 * libspi/keystrokelistener.c:
6758 Changes and fixes to support keylisteners for potentially
6759 consumed key events (that is, 'passive grabs').
6760 Added implementation for generateKeyEvent() [untested].
6763 Changes to registerKeystrokeListener() API, as above.
6764 Added deregisterGlobalEventListenerAll(), and
6765 deregisterKeystrokeListener(), which are needed for clean exit of
6767 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
6768 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
6770 * cspi/spi_registry.c:
6771 Added implementations of function prototypes mentioned above.
6773 * registryd/registryd.c:
6774 Added the key listener event source as a g_timeout(), to allow
6775 receipt of key events that are not caught by GDK (since GDK
6776 doesn't support passive keygrabs, this was necessary).
6779 Changed to attach a keylistener to 'Alt' keys, and
6780 respond to the following keycommands: Alt-M (toggle magnifier);
6781 Alt-F (toggle speech); Alt-Q (quit).
6782 Added an exit routine to deregister the listeners, and a key
6783 listener that prints some key info to the console when a key
6784 matches the listener mask (and is thus received by the listener).
6786 * util/idl/Magnifier.idl:
6787 Changes to magnifier API to support multiple zoom regions,
6788 non-uniform scaling in x and y, markDirty, and a host of other
6789 features that would be useful to magnification.
6792 * util/mag_client.c:
6793 * util/mag_client.h:
6794 * util/mag_control.c:
6796 Source code changes to support the above IDL changes.
6799 As above, and also changes to use a (slower) generic conversion
6800 path for colormap conversions, since the fast RGB conversions have been
6801 reported to fail for 16-bit displays.
6803 2001-10-26 Michael Meeks <michael@ximian.com>
6805 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
6807 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
6809 * at-bridge/Makefile.am: fix LDFLAGS.
6811 2001-10-09 Bill Haneman <bill.haneman@sun.com>
6813 * at-bridge/bridge.c:
6814 Re-worked listeners for toolkit events, now we have signal
6815 and property listeners. Added a private method
6816 register_atk_event_listeners(), which registers with the
6817 various atk and gtk signals we need to monitor in order to emit
6819 Added emission hook for AtkObject:property-change events, to
6820 support the 'property listeners'.
6821 Fixed some alloc()s of Accessibility_Event structs to use CORBA
6824 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
6825 which emit warnings and exit, respectively, if CORBA errors occur
6826 during remote calls, and we now use these methods to check most of
6827 our CORBA calls in the C bindings.
6829 * cspi/spi_accessible.c:
6830 Changed AccessibleSelection_refSelectedChild() to
6831 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
6832 now increment refcounts.
6834 * cspi/spi_component.c:
6835 Fixed some long pointer casts (dangerous!) to pass pointers to
6836 CORBA_longs of the proper type to the CORBA stubs, and copy the
6837 data into the longs that were passed into the C bindings code.
6839 * at-bridge/bridge.c:
6841 * libspi/accessible.c:
6842 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
6843 hyperlinks, AtkHyperlink is an object type.
6845 * libspi/application.c:
6846 Added various conversions to and from "generic" event types and
6847 atk-specific types; this is really part of the 'bridge'
6848 implementation but is valid for all AtkObject-based accessibility
6851 * libspi/editabletext.c:
6852 Fixed nasty bug wherein editable text's finalize method was
6853 unref'ing tha AtkObject reference that the text parent class was
6854 about to unref _again_. There was also a nasty inheritance bug
6855 that meant that the AccessibleEditableText class was corrupt.
6857 * libspi/selection.c:
6858 Provided implementations for some selection API that was broken.
6860 * idl/Application.idl:
6861 Added registerObjectEventListener () method.
6864 Fixed a number of return values that were Bonobo_Unknowns from
6865 bonobo_object_corba_objref(), which I
6866 forgot to dup before returning. Changed instances of
6867 bonobo_object_corba_objref (bonobo_object(o)) to
6868 BONOBO_OBJREF(o), for concision and clarity.
6870 2001-10-13 Louise Miller <louise.miller@sun.com>
6872 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
6873 idl/Event.idl, idl/Registry.idl
6874 Changed these files to include Bonobo_Unknown.idl instead
6877 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
6879 * libspi/component.c libspi/component.h:
6880 Fixed typo. Added assertions for object checks in
6881 AccessibleComponent code.
6883 2001-10-09 Bill Haneman <bill.haneman@sun.com>
6885 * idl/Accessible.idl:
6886 Added 'isEqual (Accessible *object)'
6887 method for Accessible. (Not Yet Implemented).
6890 Changed signature of registerKeystrokeListener() to
6891 take a KeySet and KeyEventSeq so that specific keys and event
6892 types could be requested for monitoring, and added a flag
6893 is_synchronous so that either synchronous or asynchronous
6894 notification could be requested. (However this is not all
6895 implemented yet). This also meant adding two new typedefs,
6896 KeyEventSeq and KeySet.
6899 Added two new relations, RELATION_TOOLTIP_FOR and
6900 RELATION_LEAFNODE_OF.
6903 Added new state, STATE_HAS_TOOLTIP.
6905 * libspi/text.c, editabletext.c:
6906 Added new assertions to all casts of bonobo-objects from
6907 CORBA servants, to prevent Text API calls on non-text objects.
6908 Changed suspect casts of int-pointer types, so that we
6909 always send a valid CORBA_long pointer to the CORBA APIs that use
6910 in/out long parameters. We then have to copy from the CORBA_long
6911 into the regular long or int for return to the C bindings, or
6912 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
6915 * libspi/deviceeventcontroller.c:
6916 Cleaned these sources up.
6918 Changed return type for getCharacterAtOffset to
6919 CORBA_unsigned_long, to allow for 32-bit characters.
6922 2001-10-08 Bill Haneman <bill.haneman@sun.com>
6926 Fixed 'make dist' so that distro compiles...
6927 * libspi/keymasks.h:
6929 * cspi/spi-listener.c:
6930 KeystrokeListenerCB now returns a boolean.
6932 Added KeyEventType struct, and KeyStroke.
6933 Also added createKeystrokeListener(),
6934 KeystrokeListener_addCallback(),
6935 KeystrokeListener_removeCallback(), and added a keymask to
6936 registerKeystrokeListener().
6937 * cspi/spi_accessible.c:
6938 Changed numerous return types for interfaces from
6939 AccessibleComponent to Accessible<InterfaceName>; this was
6940 probably a cut-and-paste error.
6942 Implementations of new KeystrokeListener api (from spi.h,
6945 Changes to key modifier mapping.
6946 Created ControllerEventMask struct.
6947 Made DeviceEventController derive from Bonobo::Unknown.
6949 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
6950 * libspi/deviceeventcontroller.c:
6951 Added a number of new internal (private) methods.
6952 * libspi/editabletext.c:
6953 * libspi/editabletext.h:
6954 Fixed a number of bugs related to the fact that
6955 editabletext inherits from text. Fixed the EditableText struct,
6956 the init() call, and use correct casts when calling Text methods
6957 from an EditableText object. Removed (duplicate) atko from the
6958 EditableText structure, we use the one in the parent Text
6959 structure via the casts mentioned above.
6960 * libspi/keystrokelistener.[ch]:
6961 * libspi/registry.c:
6962 Changes in support of keyboard handling (above).
6964 Keyboard handling, though partly functional, is still not
6965 recommended for at-spi client use as there is considerable
6966 work yet to be done.
6969 Changed some places where pointers to various int types
6970 are cast to be pointers to CORBA_long types and vice-versa:
6971 pointer casting is not safe so we pass pointers of the correct
6972 types and then cast the result before putting it into the target
6975 * libspi/text.h: minor typos corrected.
6977 We now speak not only the name of a Text element, but the
6978 first sentence of its content, when it receives focus.
6979 I also changed the text compression to 75% from 50%.
6980 * util/Accessibility_Util.server.in:
6981 Changed the default magnifier type to be a 3x vertical
6982 splitscreen magnifier (was previously a 2x horizontal one).
6984 2001-10-03 Bill Haneman <bill.haneman@sun.com>
6986 * libspi/keystrokelistener.h:
6987 * libspi/keystrokelistener.c:
6988 Initial functional implementations of KeystrokeListener.
6991 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
6993 Fixed string handling for NULL strings in libspi.
6994 Added spi_freeString to free strings returned by C bindings.
6996 2001-09-30 Bill Haneman <bill.haneman@sun.com>
6998 * libspi/keystrokelistener.h:
6999 * libspi/keystrokelistener.c:
7000 Began (no-op) implementations of KeystrokeListener
7002 * libspi/deviceeventcontroller.c:
7003 * libspi/deviceeventcontroller.h:
7004 Began creating implementations of DeviceEventController,
7005 to handle keystroke and mouse event listening and
7007 * libspi/accessible.c:
7008 Stubbed-in the implementations for
7009 Accessibility_Accessible_getState and
7010 Accessibility_Accessible_getRelationSet.
7011 * libspi/registry.c:
7012 Improved de-registration process and fixed some bugs,
7013 deregistration now works correctly.
7015 Added initialization of applications list (to NULL).
7017 Reduced speech compression from 0.5 to 0.7, for demo.
7018 Changed call to gdk_window_set_decorations()
7019 to gtk_window_set_decorated().
7020 * at-bridge/bridge.c:
7021 Bridge now deregisters when app exits, via
7022 registration of a cleanup function
7023 with the g_atexit() call.
7024 Required making 'app' static, renamed 'this_app'.
7025 Fixed broken use of bonobo_init, passing argv wrongly.
7027 2001-09-27 Bill Haneman <bill.haneman@sun.com>
7031 Created a new directory for
7032 accessibility-related utilities, primarily for
7033 testing and demo purposes, but with possible
7040 Onscreen magnifier utility that
7041 is implemented as a bonobo service.
7043 * util/mag_client.c:
7044 * util/mag_client.h:
7045 Client-side support (simple C bindings)
7046 for Magnification service
7048 * util/mag_control.c:
7049 Client program example for
7050 Magnification service
7052 * util/Accessibility_Magnifier.server.in:
7053 Bonobo-activation file for the
7054 Magnification service.
7057 * util/idl/Magnifier.idl:
7058 IDL defining the bonobo Magnification
7062 Modifications to use the bonobo-activated magnifier
7063 above, in place of trying to connect to an existing
7064 magnifier that uses socket-listening IPC.
7066 If env variable MAGNIFIER is set, a magnifier service
7067 will be started if one does not exist.
7069 2001-09-25 Bill Haneman <bill.haneman@sun.com>
7071 * at-bridge/bridge.c:
7072 applied patch from Marc to build and run
7073 against new glib and gtk+ (seemed like a change
7074 to bonobo_init signature was made ?)
7076 made festival-server support turned off by default.
7077 Added support for a simple magnifier (off by default)
7078 which will be added to a 'util' directory later.
7079 * at-bridge/Makefile.am:
7080 Changed "application.h" header from a 'source'
7081 to a 'dependency' of libat-bridge.
7083 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7092 Added interface implementation c files to list of
7093 includes so they are included in libcspi.
7096 Changed prototype of AccessibleAction_doAction to return a
7098 Changed prototype of AccessibleTable_getCaption to
7099 return an Accessible.
7100 Changed prototype of AccessibleTable_getSelectedRows
7101 and AccessibleTable_getSelectedColumns to
7102 return a long (returns the number of selected rows
7103 or columns respectively).
7104 Changed name of AccessibleText_refRunAttributes to
7105 AccessibleText_getAttributes.
7106 Changed prototype of AccessibleText_getCharacterExtents to
7107 return a void rather than a boolean.
7108 Added support for a AccessibleCoordType parameter
7109 specifying what type of coordinates are desired.
7110 Added an AccessibleCordType parameter to
7111 AccessibleText_getPointAtOffset.
7113 * cspi/spi_accessible.c:
7114 Added code to return the outstanding interfaces from
7115 Accessible_queryInterface.
7117 * cspi/spi_action.c:
7119 Corrected call to getNActions to call the c binding
7122 * cspi/spi_editabletext.c:
7124 Changed name from setRunAttributes to setAttributes.
7126 * cspi/spi_hyperlink.c:
7128 Changed call to getNAnchors to correctly call the c
7129 binding for an attribute.
7131 * cspi/spi_hypertext.c:
7133 Changed getImageDescription to correctly call the
7134 binding for an attribute.
7136 * cspi/spi_selection.c:
7137 Changed getNSelectedChildren to correctly call the c
7138 binding for the attribute.
7139 Changed refSelectedChild to getSelectedChild.
7143 Changed getCaption to return an Accessible.
7144 Fixed calls which retrieve attributes.
7145 Changed refAt to getAccessibleAt.
7146 Changed getNSelectedRows and getNSelectedColumns to
7150 Changed getCharacterExtents and getPointAtOffset to accept an
7151 AccessibleCoordType.
7153 Changed calls which retrieve attributes.
7154 Changed refRunAttributes to getAttributes.
7159 * idl/Hyperlink.idl:
7160 Changed n_anchors attribute to nAnchors to keep naming
7161 convention consistent.
7164 Made Table inherit from Bonobo::Unknown.
7165 Added nSelectedColumns and nSelectedRows attributes.
7168 Made Value inherit from Bonobo::Unknown.
7170 * libspi/hyperlink.c:
7171 Change for nAnchors attributte name change.
7173 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7181 Added interface implementation c files to list of
7182 includes so they are included in libcspi.
7185 Changed prototype of AccessibleAction_doAction to return a
7187 Changed prototype of AccessibleTable_getCaption to
7188 return an Accessible.
7189 Changed prototype of AccessibleTable_getSelectedRows
7190 and AccessibleTable_getSelectedColumns to
7191 return a long (returns the number of selected rows
7192 or columns respectively).
7193 Changed name of AccessibleText_refRunAttributes to
7194 AccessibleText_getAttributes.
7195 Changed prototype of AccessibleText_getCharacterExtents to
7196 return a void rather than a boolean.
7197 Added support for a AccessibleCoordType parameter
7198 specifying what type of coordinates are desired.
7199 Added an AccessibleCordType parameter to
7200 AccessibleText_getPointAtOffset.
7202 * cspi/spi_accessible.c:
7203 Added code to return the outstanding interfaces from
7204 Accessible_queryInterface.
7206 * cspi/spi_action.c:
7208 Corrected call to getNActions to call the c binding
7211 * cspi/spi_editabletext.c:
7213 Changed name from setRunAttributes to setAttributes.
7215 * cspi/spi_hyperlink.c:
7217 Changed call to getNAnchors to correctly call the c
7218 binding for an attribute.
7220 * cspi/spi_hypertext.c:
7222 Changed getImageDescription to correctly call the
7223 binding for an attribute.
7225 * cspi/spi_selection.c:
7226 Changed getNSelectedChildren to correctly call the c
7227 binding for the attribute.
7228 Changed refSelectedChild to getSelectedChild.
7232 Changed getCaption to return an Accessible.
7233 Fixed calls which retrieve attributes.
7234 Changed refAt to getAccessibleAt.
7235 Changed getNSelectedRows and getNSelectedColumns to
7239 Changed getCharacterExtents and getPointAtOffset to accept an
7240 AccessibleCoordType.
7242 Changed calls which retrieve attributes.
7243 Changed refRunAttributes to getAttributes.
7248 * idl/Hyperlink.idl:
7249 Changed n_anchors attribute to nAnchors to keep naming
7250 convention consistent.
7253 Made Table inherit from Bonobo::Unknown.
7254 Added nSelectedColumns and nSelectedRows attributes.
7257 Made Value inherit from Bonobo::Unknown.
7259 * libspi/hyperlink.c:
7260 Change for nAnchors attributte name change.
7263 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
7265 implementations-- made server implementations own AtkObject pointers
7266 rather than their respective AtkInterrface pointers to fix
7267 refcounting. AtkHyperlink is still broken.
7269 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7270 * cspi/spi_accessible.c:
7271 Added method Accessible_Role_getName(),
7272 and requisite string array (role_names).
7273 Added conversion string_from_corba_strin() call
7274 to Accessible_getName and _getDescription.
7275 * libspi/accessible.c:
7276 Added implementation for Accessible_getRole()
7278 Added festival support, used if environment variable
7281 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7283 * at-bridge/bridge.c:
7284 Now allocate Accessibility_Event using
7285 Accessibility_Event__alloc() instead of g_new0().
7286 * libspi/accessibleeventlistener.c:
7287 Initialize AccessibleEventListener->callbacks to NULL.
7288 Fixed accessible__event_listener_init() param, changed to
7289 "AccessibleEventListener *" type.
7290 Changed a bonobo_object_release_unref() call to
7291 Accessibility_Accessible_unref().
7292 * libspi/listener.c:
7293 Changed Bonobo_Unknown_unref to (equivalent)
7294 Accessibility_Accessible_unref.
7295 * libspi/registry.c:
7296 Changed bonobo_object_release_unref to
7297 Accessibility_Accessible_unref.
7299 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7302 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
7303 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
7304 spi-util.c spi-util.h
7305 Implementations for C bindings to remaining accessibility
7308 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7311 changed return value of Action from void to boolean to
7312 bring in line with ATK.
7315 Changed getText funcions to return "out" start and end offsets.
7316 Changed getAttributes to take and offset and return the start
7317 and end offset of the attribute run.
7318 Changed getOffsetAtPoint and getCharacterExtents to take an
7319 enum describing whether coordinates are window or screen.
7322 libspi/action.c libspi/action.h libspi/editabletext.c
7323 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
7324 libspi/hypertext.c libspi/hypertext.h libspi/image.c
7325 libspi/image.h libspi/selection.c libspi/selection.h
7326 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
7327 libspi/value.c libspi/value.h
7328 Added server implementations for outstanding ATK interfaces
7329 not yet implemented.
7331 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7334 Added (missing) getName() method.
7335 Made nActions an attribute.
7336 * idl/EditableText.idl:
7337 Changed order of params in setAttributes.
7338 * idl/Hyperlink.idl:
7339 Removed getAnchor, added getURI.
7341 Changed attributes to methods, for efficiency
7342 (so that getting extents can be done in one call)
7343 * idl/Selection.idl:
7344 Changed nSelectedChildren to attribute, and re-indented.
7345 * idl/Table.idl: changed nrows, ncolumns, caption, summary
7347 * idl/Text.idl: reformatted to match our coding style.
7348 (temporarily?) removed getRowColumnAtOffset().
7349 Changed text selection API to support multi-select and
7350 non-contiguous selections, as in ATK.
7351 * idl/Value.idl: changed some methods to attributes.
7353 2001-08-24 Mark McLoughlin <mark@skynet.ie>
7355 * libspi/listener.c(impl_notify_event):
7356 BonoboUnkown_unref the source instead
7357 of bonobo_object_release_unref - the ORB
7358 handles the releasing.
7360 * configure.in: require ORBit-2.3.94 for
7363 2001-08-21 Bill Haneman <bill.haneman@sun.com>
7365 Tagged CVS repository 'EA_1_0'.
7366 * README.EARLY_ACCESS:
7367 Alphabetized acknowledgements list, and
7369 Listed some known dependencies of at-spi.
7371 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7373 * docs/at-spi-docs.sgml:
7374 * docs/at-spi-sections.txt:
7375 * docs/at-spi-overrides.txt: (Added zero-length file)
7376 Documentation improvements - gtk-doc should build
7377 docs for all implemented C bindings now.
7380 * cspi/spi.c: (New file)
7381 * cspi/spi_event.c: (New file)
7382 * cspi/spi_registry.c: (New file)
7383 * cspi/spi_accessible.c: (New file)
7384 * cspi/spi_application.c: (New file)
7385 * cspi/spi_component.c: (New file)
7386 Split spi_main.c into six parts, and included them from
7387 "spi.c". This is a bit of a hack, probably temporary,
7388 but required by gtk-doc, apparently.
7390 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7393 * docs/at-spi-docs.sgml:
7394 * docs/at-spi-sections.txt:
7396 Initial checkins/modifications for gtk-doc generation.
7399 Added (missing) interface query methods to Accessible's C binding.
7401 Added GenericInterface type definition.
7403 Added query for AccessibleComponent interface to focus event handler.
7404 Added printout of bounding box for focussed component.
7405 * libspi/component.c:
7406 Added partial implementation for AccessibleComponent to C binding.
7407 * idl/Application.idl:
7408 * libspi/registry.c:
7409 * libspi/listener.c:
7410 * libspi/application.c:
7411 * libspi/application.h:
7412 Changed "ID" attribute type from string to long.
7414 2001-08-19 Bill Haneman <bill.haneman@sun.com>
7418 Made method naming consistent: methods taking object args
7419 start with uppercase, other methods (except those using
7420 acronyms) start with lowercase. Underscores delimit between
7421 object names and method names:
7422 SPI_init() - uppercase since it starts with an acronym.
7423 getDesktopCount () - lowercase start since no object param0.
7424 Accessible_getName() - uppercase object type name, studlyCaps method
7428 Added gtk-doc documentation for all currently implemented
7429 methods in the C bindings API.
7431 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7433 * Makefile.am : changed build order to build test last.
7436 Changed "createEventListener" to "CreateEventListener".
7437 * libspi/accessibleeventlistener.c :
7438 Bugfix for addition of callbacks.
7439 * test/Makefile.am :
7440 * test/simple-at.c :
7441 Added new test that uses the C bindings API.
7443 * libspi/listener.c :
7444 * libspi/registry.c :
7445 * libspi/accessibleeventlistener.c :
7446 * at-bridge/bridge.c :
7447 Renamed member "target" of Accessibility_Event to "source",
7448 which is more descriptive.
7451 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7455 * cspi/Makefile.am :
7456 Added makefile support for at-spi/cspi directory.
7459 * cspi/spi-listener.h : (NEW FILE)
7460 Added support for/use of spi-listener.h.
7462 C bindings now build successfully, with no warnings.
7463 * libspi/accessibleeventlistener.h : (NEW FILE)
7464 * libspi/accessibleeventlistener.c : (NEW FILE)
7465 * libspi/Makefile.am :
7466 Added new object type "AccessibleEventListener"
7467 which inherits from Listener, and allows attachment
7468 of in-process callbacks (so that a client with a listening
7469 object instance can add functionality to the local
7470 implementation, dynamically).
7472 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7474 * libspi/accessible.c:
7475 Add implementation for get_index_in_parent().
7477 Added #include of "spi-roletypes.h", and
7478 added enumerated type AccessibleCoordType.
7479 Added definition for KeystrokeListener (function type).
7482 * cspi/spi-statetypes.h :
7483 * cspi/spi-roletypes.h :
7485 Added these headers, used by spi.h.
7487 Added code (NOTE: not yet built by make).
7489 2001-08-18 Mark McLoughlin <mark@skynet.ie>
7491 * libspi/Makefile.am: generate imodule
7492 at the same time as other idl compiler
7495 2001-08-17 Bill Haneman <bill.haneman@sun.com>
7496 * libspi/registry.c :
7497 * libspi/application.c :
7498 * idl/Application.idl :
7499 Made registration with toolkit an application method,
7500 which is required since each app has its own toolkit static
7501 environment. Thus the bridge must register for
7502 notification of toolkit events from each application in turn.
7503 Toolkit notifications are now successfully registered for, and
7504 sent to the listening at client.
7506 Changed toolkit event string to use hyphens rather than underscores.
7507 * libspi/listener.c :
7508 listner now gives more info in debug mode - it reports the
7509 name of the event received, as well as the name of the source.
7512 2001-08-16 Bill Haneman <bill.haneman@sun.com>
7514 * libspi/registry.c :
7515 added more implementation for toolkit events.
7516 Fixed bug such that toolkit event registrations
7517 (via atk) use the whole event name string, not
7519 Removed a useless call to an ORBit_ method.
7520 * at-bridge/bridge.c :
7521 Removed unused local sbuf[] variable.
7523 We now register for Gtk:GtkWidget:button_press_event
7524 events as well as "focus:" events.
7526 Add some more API from Registry.idl that was missing,
7527 for keystroke listening, keystroke and mouse event
7528 synthesis, and enumeration of accessible desktops.
7530 2001-08-16 Michael Meeks <michael@ximian.com>
7532 * configure.in: use AM_GLIB_GNU_GETTEXT.
7534 * Makefile.am (SUBDIRS): kill intl.
7536 2001-08-15 Michael Meeks <michael@ximian.com>
7538 * registryd/Makefile.am: s/oaf/server/ relocate info file.
7540 * configure.in: upd.
7542 * configure.in: depend on a recent bonobo-activation that
7543 will find our server files ...
7545 2001-08-16 Bill Haneman <bill.haneman@sun.com>
7547 * libspi/accessible.c : accessible_new() :
7548 Now we add the Component interface via bonobo_object_add_interface,
7549 if the contained AtkObject implements AtkComponent.
7550 * libspi/accessible.h : now include "component.h"
7551 * libspi/component.h :
7552 * libspi/component.c : added files - implementation of
7553 bonobo wrapper object for Accessibility/Component
7554 * libspi/listener.c :
7555 Added test code to check for Accessibility/Component:1.0
7556 interface and report whether it is implemented by the
7558 * libspi/registry.c :
7559 Now we check for not only the hash of the whole event
7560 string before relaying the event, we also check the
7561 "minor" event string (without the detail string).
7562 This allows event listeners to be registered against
7563 all events of a certain major+minor type, or just
7564 against a specific major+minor+detail type.
7565 * libspi/accessible.c :
7566 Added implementations for Accessible:get_parent(),
7567 Accessible:getChildCount(), and Accessible:getChildAtIndex().
7568 * libspi/registry.c :
7569 * libspi/listener.c :
7570 Replaced calls to Accessibility_Accessible_ref() and
7571 Accessibility_Accessible_unref() with
7572 calls to bonobo_object_dup_ref() and
7573 bonobo_object_release_unref(), so that the CORBA object
7574 is dup-ed and released when relayed, as well as the bonobo object.
7576 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7578 * libspi/Makefile.am,
7579 registryd/Makefile.am,
7580 at-bridge/Makefile.am.
7581 test/Makefile.am, configure.in:
7582 reverse previous changes.
7584 * /idl/Image.idl: fix typo.
7586 * test/Makefile.am: put DEBUG_FLAGS
7589 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7591 * test/app.c: use argv[0] instead of
7594 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7596 * libspi/Makefile.am,
7597 registryd/Makefile.am,
7598 at-bridge/Makefile.am.
7599 test/Makefile.am, configure.in:
7600 cleanup, replace individual LIBS/CFLAGS with
7601 AT_COMMON_{LIBS|CFLAGS}.
7605 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7607 * configure.in, libspi/Makefile.am:
7608 Change IDL path checking for bonobo-activation
7611 2001-08-15 Bill Haneman <bill.haneman@sun.com>
7613 * registryd/registry.c : separated event listeners to use
7614 3 separate lists (focus, window, toolkit). Began testing
7615 event names against hashes before relaying events.
7616 * test/at.c : now register for events of type "focus:"
7617 * test/app.c : now generate events of type "focus:"
7618 * at-bridge/bridge.c : register with ATK for focus events,
7619 and we now relay those focus events to any "focus:" listeners.
7620 This now works with the bridge as a GTK_MODULE when running test/at.
7621 * libspi/registry.c :
7622 * libspi/listener.c :
7623 now we ref event sources before propagating, and unref on receipt.
7624 * libspi/registry.c :
7625 some changes to internal structs, to support event typestring hashes.
7626 * text/app.c : changed the way the appname is generated.
7627 * cspi : added directory that will hold the C bindings library for
7628 non-CORBA/bonobo-savvy clients.
7629 * cspi/spi.h : header file that contains the function prototypes for the C binding.
7630 * idl/Component.idl : added in parameter to indicate coord system for
7631 geometry-related calls.
7632 * idl/Hyperlink.idl : added readonly n_links attribute
7633 * idl/Image.idl : changed methods to attributes.
7635 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7637 * at-bridge/Makefile.am: link against
7638 ../libspi/libspi.la instead of -lspi.
7640 * at-spi/test/app.c: include
7641 bonobo-activation.h. Use a default appname
7642 if one is not provided.
7644 2001-08-14 Bill Haneman <bill.haneman@sun.com>
7646 * idl/Registry.idl : temporarily changed register_Application
7647 to oneway, to work around issue with initial registration
7649 * idl/Application.idl : changed attribute "id" from readonly
7650 to read-write, since it needs to be assigned by Registry.
7651 * registryd/registryd.c : added call to set application id
7653 * registryd/registry.c : changed de-registration procedure to
7654 use CORBA_Object_hash() to find matching object ref in application
7655 lists and listener lists.
7656 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
7657 began distinguishing between event types (work in progress).
7659 2001-08-13 Bill Haneman <bill.haneman@sun.com>
7662 * libspi/application.c:
7663 Added implementations for get/set id, get_toolkitName,
7665 * registryd/registryd.c :
7669 Converted from use of OAF to bonobo-activation.
7670 * libspi/desktop.h :
7671 * libspi/desktop.c :
7673 Removed references to atksimpleobject, since base atkobject
7674 implementation now provides functionality we need.
7675 * libspi/atksimpleobject.c :
7676 * libspi/atksimpleobject.h :
7681 * at-bridge/Makefile.am
7682 * at-bridge/bridge.c
7685 Added directory "bridge" and contents, and added dependencies
7686 in Makefile.am/configure.in.
7687 Initial checkin of "at-bridge".
7688 This code is a GTK_MODULE which automatically registers
7689 GTK+ apps with the accessibility registry, using an object
7690 reference to the root ATK object.
7692 2001-08-10 Mark McLoughlin <mark@skynet.ie>
7694 * po/Makefile.in.in: Remove. Again. If this
7695 doesn't get autogenerated - you need to update
7698 2001-08-07 Mark McLoughlin <mark@skynet.ie>
7700 * po/Makefile.in.in: Add. Again.
7702 2001-07-31 Bill Haneman <bill.haneman@sun.com>
7704 * libspi/accessible.c : added support for 'description' property.
7705 * libspi/accessible.c
7707 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
7708 (since the two are now equivalent in libbonobo)
7716 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
7717 Bonobo::Unknown as does Accessibility::Accessible.
7718 * idl/StreamableContent.idl : as above, and replaced internal InputStream
7719 interface with Bonobo::Stream, since it was redundant with it.
7720 (The Stream returned by a StreamableContext object is expected to
7721 implement only a subset of Bonobo::Stream)
7723 2001-07-28 Anders Carlsson <andersca@gnome.org>
7725 * libspi/accessible.c (accessible_object_finalize): Change
7726 g_free to g_object_unref since the AtkObject is a GObject.
7728 2001-07-30 Bill Haneman <bill.haneman@sun.com>
7730 * idl/Accessibility.idl: add new IDL files
7733 * idl/Action.idl: Definitions of actionable UI object
7734 * idl/Component.idl: Definitions of UI component geometry, etc.
7735 * idl/Hyperlink.idl: Defs of hyperlink behavior
7736 * idl/Image.idl: Def of accessible image
7737 * idl/Selection.idl: Definition of UI object with selectable children
7738 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
7739 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
7740 * idl/Text.idl: Interface defs for UI elements with complex textual content
7741 * idl/Value.idl: Definition of UI element that is a value controller or display
7743 2001-07-27 Michael Meeks <michael@ximian.com>
7745 * po/Makefile.in.in: remove autogenerated file from CVS.
7747 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
7750 * idl/Registry.idl: include guard.
7752 * idl/Accessibility.idl: Add, and include all the other IDL
7755 * idl/*.idl: remove mass of pragmas etc.
7757 2001-07-26 Michael Meeks <michael@ximian.com>
7759 * registryd/Makefile.am (registryd_SOURCES): remove
7762 2001-07-27 Mark McLoughlin <mark@skynet.ie>
7764 * libspi/.cvsignore, registryd/.cvsignore,
7765 test/.cvsignore: updated.
7767 * po/Makefile.in.in: gettext update.
7769 2001-07-25 Bill Haneman <bill.haneman@sun.com>
7771 * initial CVS checkin
7773 2001-06-29 Michael Meeks <michael@ximian.com>
7775 * configure.in: add AM_CONFIG_HEADER to gen config.h