1 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
3 * registryd/registryd.c: Remove this file.
5 2003-08-17 Sanlig Badral <badral@openmn.org>
7 * configure.in: Added mn to ALL_LINGUAS.
9 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
11 * configure.in: Added et to ALL_LINGUAS.
13 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
15 * test/event-listener-test.c: Change active-descendant to
16 active-descendant-changed.
18 2003-08-10 Sami Pesonen <sampeson@iki.fi>
20 * configure.in: Added "fi" in ALL_LINGUAS.
22 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
24 * configure.in: Added "hi" in ALL_LINGUAS.
26 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
28 * configure.in: Revved to 1.3.6.
32 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
34 * registryd/deviceeventcontroller.c
35 (spi_device_event_controller_object_finalize): Fix typo in previous
38 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
40 * registryd/deviceeventcontroller.c
41 (spi_device_event_controller_object_finalize): Fix build on
42 systems without XEvIE.
44 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
46 * acconfig.h, configure.in, registryd/Makefile.am,
47 registryd/devicecontoller.[ch]: Add XEViE support.
49 2003-08-06 Wang Jian <lark@linux.net.cn>
51 * configure.in: Added "zh_CN" to ALL_LINGUAS.
53 2003-08-06 Metin Amiroff<metin@karegen.com>
55 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
57 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
59 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
60 MODIFIER_ALT in correct place.
62 This fixes part of bug #118114.
64 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
66 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
68 2003-07-28 Changwoo Ryu <cwryu@debian.org>
70 * configure.in: Added "ko" to ALL_LINGUAS.
72 2003-07-28 Ole Laursen <olau@hardworking.dk>
74 * configure.in: Added "da" to the commented out ALL_LINGUAS.
76 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
78 * configure.in: Added "sq" to ALL_LINGUAS.
80 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
82 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
84 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
86 * configure.in: updated ALL_LINGUAS list
88 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
90 * configure.in: Added Belarusian to ALL_LINGUAS.
92 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
94 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
96 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
97 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
99 This fixes bug #116949.
101 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
103 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
104 Correct CSPI to SPI in function documentation.
106 This fixes bug #118054.
108 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
110 * configure.in: Added Russian to ALL_LINGUAS.
112 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
114 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
116 2003-07-14 Danilo Šegan <dsegan@gmx.net>
118 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
120 2003-07-10 Joel Brich <joel.brich@laposte.net>
122 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
124 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
126 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
128 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
130 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
131 resources allocated for AccessibleEvent. See cspi_event().
133 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
134 static variable streams to NULL.
136 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
137 Update so that AcessibleEvent_ref will work.
139 This fixes bug #116624.
141 2003-07-06 Jordi Mallach <jordi@sindominio.net>
143 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
145 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
147 * configure.in: Added "fr" (French) to ALL_LINGUAS.
149 2003-07-02 Christian Neumair <chris@gnome-de.org>
151 * configure.in: Added "de" (German) to ALL_LINGUAS.
153 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
155 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
157 2003-07-01 Miloslav Trmac <mitr@volny.cz>
159 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
161 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
163 * configure.in: Added "pl" to ALL_LINGUAS.
165 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
167 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
169 2003-06-30 Bill Haneman <bill.haneman@sun.com>
172 (get_action_from_servant):
173 Removed assertion that action is implemented on an AtkObject.
175 * libspi/hyperlink.c:
177 Aggregate AccessibleAction interface on the hyperlink object if
178 the object implements AtkAction. (This convention is used in
181 2003-06-30 Bill Haneman <bill.haneman@sun.com>
183 * configure.in: Revved to 1.3.5.
185 * registryd/Accessibility_Registry.server.in.in:
186 Marked up appropriate strings for translation.
188 * atk-bridge/bridge.c: Marked a couple of
189 user-visible warnings for translation. Questionable
190 whether they are really useful, but possibly so.
193 2003-06-28 Christian Rose <menthos@menthos.com>
195 * configure.in: Added "sv" to ALL_LINGUAS.
197 2003-06-26 Bill Haneman <bill.haneman@sun.com>
199 * registryd/registry.c:
200 (spi_registry_object_finalize): Unref the deviceeventcontroller.
201 (registry_defer_on_event): Defer focus: events, this is an
202 improvement to the patch for bug #108664.
204 * TODO: Update with 2.4/"Dev Complete" items.
206 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
208 * atk-bridge/bridge.c:
209 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
210 looks up signals once.
211 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
212 if doing registration.
213 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
214 when doing registration.
216 This fixes bug #115014.
218 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
220 * atk-bridge/bridge.c:
221 (atk_bridge_init): Add signal handler for children-changed:remove on
222 root when in a BonoboComponent.
223 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
224 for first toplevel only other incrememt variable toplevels.
225 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
226 application and remove listeners.
227 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
229 (spi_atk_deregister_event_listeners): New function which removes
231 (reinit_register_vars): New fuction which reinitializes variables.
233 This fixes bug #111578.
235 2003-06-13 Bill Haneman <bill.haneman@sun.com>
237 * configure.in: version 1.3.4.
239 * cspi/spi_accessible.c:
240 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
243 2003-06-13 Michael Meeks <michael@ximian.com>
245 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
247 * cspi/spi_main.c (cspi_peek_ev): impl.
249 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
251 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
253 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
255 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
256 SPI_ROLE_AUTOCOMPLETE
258 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
260 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
261 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
263 2003-06-11 Bill Haneman <bill.haneman@sun.com>
265 * libspi/streamablecontent.h:
266 * libspi/streamablecontent.c:
267 New files, provide implementation/wrappers for
268 Accessibility_StreamableContent.
270 * cspi/spi_streamablecontent.c:
271 Connected the C wrappers to the libspi C bindings.
272 (AccessibleStreamableContent_close): New method.
275 (AccessibleStreamableContent_close): New method, needed
276 since we have an "open, [seek], read, close" model in cspi.
278 2003-06-11 Bill Haneman <bill.haneman@sun.com>
280 Fix for #108664; Padraig's revision of my original patch.
282 * registryd/registry.h:
283 Added event queue list, is_queuing, and exit_notify_timeout
284 to the registry struct.
286 * registryd/registry.c:
287 (registry_init): Initialize new struct from registry.h.
288 (impl_registry_notify_event):
289 Filter events before notifying, in case some need to be
291 (registry_filter_event): New,
292 we defer certain incoming events (for instance
293 window:deactivate) because we may wish to hide
294 or reject them based on pending events. This is
295 mostly a workaround for bug #108664.
296 (registry_queue_event, registry_start_queue): New.
297 (registry_defer_on_event): Test event to see if it
299 (registry_reset_on_event): Returns TRUE if the
300 event should cause a queue reset.
301 (registry_discard_on_event): Returns TRUE if the event
302 should cause the previous queue contents to be discarded.
303 (registry_timeout_flush_queue): Flushes the pending event
304 queue if no reset/discard-triggering events have come in
305 within the timeout period.
306 (registry_emit_event): New.
307 (registry_clone_notify_context): New, used when queueing the
308 event notify contexts.
310 2003-06-10 Bill Haneman <bill.haneman@sun.com>
312 * configure.in: Version revved to 1.3.2, lt 0.9.2
313 Incremented ATK required version to 1.3.4.
315 * cspi/spi_registry.c:
316 (SPI_generateKeyEvent):
317 We now pass the keystring along if it's non-null.
319 * registryd/deviceeventcontroller.c:
320 (keysym_mod_mask): New method, returns modifier mask
321 required to generate a keysym from a given keycode.
322 (dec_synth_keysym): New method.
323 (dec_synth_keystring): New method.
324 (dec_get_modifier_state): New method.
325 (dec_lock_modifiers): New
326 (dec_unlock_modifiers): New.
327 (dec_keysym_for_unichar): New, rather brute-force
328 conversion from UCS-4 to X KeySyms. Only works for
329 Latin at the moment, with partial implementations for
330 Greek, Hebrew, and (incomplete) Katakana.
331 (impl_generate_keyboard_event): Now implement
332 "KEYSTRING" synthesis and implement "KEYSYM"
334 (keycode_from_keysym): Improved, passes a returned
335 modmask value now if the corresponding param is non-NULL.
337 Fixes bugs #92143 and #109776.
340 * test/keysynth-test.c:
341 New test program for key synthesis, to confirm fixes for
345 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
347 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
349 * cspi/spi_accessible.c (cspi_init_relation_type_table):
350 Add line for RELATION_POPUP_FOR
352 * docs/reference/cspi/tmpl/spi_relation.sgml:
353 Add relation SPI_RELATION_POPUP_FOR
355 * docs/reference/cspi/tmpl/spi_stateset.sgml:
356 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
358 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
360 * libspi/relation.c (spi_init_relation_type_table):
361 Add line for RELATION_POPUP_FOR
363 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
365 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
366 there are still windows which have not been deleted and emit
367 window:deactivate, if necessary and window:destroy events.
368 This fixes bug #114370. The change on June 5th was not correct.
370 2003-06-09 Bill Haneman <bill.haneman@sun.com>
372 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
375 (SPI_dupString): Allow dup-ing of a string such that it's safe to
377 New methods for client exception handling and interception.
378 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
379 (SPI_exceptionHandlerPop): You guessed it...
380 (SPI_getSourceType): Return the type of object which offended.
381 (SPI_getExceptionCode): Return an enum code telling, possibly,
382 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
383 (SPIAccessibleException_getSource): get the source object for
384 exceptions that come from Accessibles, if SPIExceptionSourceType is
385 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
386 (SPIException_getDescription): New, returns a string description of
387 the problem. [Not yet a stable ABI, strings are not frozen]
389 * cspi/spi-private.h:
390 Added implementation details of opaque SPIException
394 Implementations of above. Also
395 (_cspi_exception_throw): new private method that
396 dispatches exceptions to handlers, called from cspi-bonobo.c
398 * cspi/bonobo/cspi-bonobo.c:
399 (cspi_check_ev): call _cspi_exception_throw.
400 Don't print a warning message if the exception has been
401 handled by _cspi_exception_throw.
403 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
405 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
406 there are still windows which have not been deleted and emit
407 window:deactivate, if necessary and window:destroy events.
408 This fixes bug #114370.
410 2003-06-03 Bill Haneman <bill.haneman@sun.com>
413 (cspi_accessible_is_a): Make non-fatal
414 if the object reference is dead.
416 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
418 * cspi/spi_main.c: #include <stdio.h>
419 * test/simple-at.c: ditto
420 * test/event-listener-test.c: ditto
421 * test/screen-review-test.c: ditto
423 2003-05-30 Michael Meeks <michael@ximian.com>
425 * test/test-simple.c (main): use CORBA_ORB_perform_work
426 instead of an unnecessary linc_ call.
428 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
430 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
431 Add SPI_STATE_INDETERMINATE.
433 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
436 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
438 * libspi/stateset.c (init_state_type_tables): Add support for
441 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
443 * configure: Update versions of atk and gail required.
444 This fixes bug #113268.
446 2003-05-02 Bill Haneman <bill.haneman@sun.com>
448 * configure.in: Revved micro version to 1.3.1 (because of build fix).
450 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
452 * libspi/Makefile.am:
453 Ensure headers are generated before being used by c sources.
455 2003-05-01 Bill Haneman <bill.haneman@sun.com>
458 Simplified lt versioning rules.
459 Incremented version to 1.3.0, to indicate that we're on the
462 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
464 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
465 Add MKDB_OPTIONS=--outtput-format=xml
467 * docs/reference/cspi/at-spi-cspi-docs.sgml
468 docs/reference/idl/at-spi-idl-docs.sgml:
469 Convert to Docbook XML.
471 This fixes bug #111793.
473 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
475 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
476 AcccessibleKeyEventType, AccessibleKeyMaskType.
478 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
480 * cspi/state-types.h: Add documentation for AccessibleState.
482 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
483 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
484 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
485 AccessibleComponentLayer.
487 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
490 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
492 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
493 Accessible. Add description of AccessibleEvent,
494 AccessibleEventListenerCB.
496 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
499 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
500 documentation. Add description of AccessibleKeystrokeListenerCB,
501 AccessibleKeyEventMask, AccessibleModifierMaskType,
502 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
503 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
505 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
508 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
511 This fixes bug #104730.
513 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
515 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
516 Set is_text field of Accessibility_DeviceEvent data structure.
518 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
519 is-text field of AccessibleDeviceEvent data structure.
521 This addresses part of bug #108666.
523 * registryd/devcieeventcontroller.c: Unset debug option.
525 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
528 (cpi_initial_relation_type_table): New function which initializes
529 mapping between Accessibility_RelationType and AccessibleRelationType.
530 (cspi_relation_type_from_spi_relation_type): New function which
531 translates an Accessibility_RelationType into an AccessibleRelationType.
532 (AccessibleRelation_getRelationType): Use
533 cpi_relation_type_get_spi_relation_type to return correct value.
534 (spi_state_to_corba): Return correct type for default case.
536 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
537 Use Accessibility_EventType instead of Accessibility_KeyEventType.
539 * cspi/cspi-bonobo-listener.c:
540 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
543 * libspi/accessible.c, libspi/action.c, libspi/application.c,
544 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
545 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
546 libspi/image.c, libspi/listener.c, libspi/selection.c,
547 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
548 registryd/desktop.c, registryd/registry.c:
549 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
551 * libspi/eventlistener.c
552 Remove semicolon after BONOBO_TYPE_FUNC.
555 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
556 (spi_init_relation_type_table): Initialize using correct type.
558 * registryd/desktop.c:
559 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
560 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
561 of Accessibility_KeyEventType.
563 * test/key-listener-test.c (report_tab_key_event): Use fprintf
566 * tests/simple-at.c, tests/screen-review-test.c:
567 Add include for <strings.h>.
569 * tests.stress-test.c:
570 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
572 These changes fix compiler warnings when using FORTE compiler on
573 Solaris; fixes bug #107479.
576 2003-04-10 Bill Haneman <bill.haneman@sun.com>
579 * configure.in: revved to 1.1.10
582 (SPI_KEYMASK_NUMLOCK): Added.
584 * registryd/deviceeventcontroller.c:
585 (spi_key_event_matches_listener): AND with a smaller
586 bitmask (as we should).
587 (spi_dec_translate_mask):
588 New method, sets the virtual NumLock modifier bit
589 if numlock is on. Eventually it can handle other virtual
590 modifier bits if needed, or other marshalling from
591 at-spi modifier masks to platform (X) masks.
592 (spi_dec_key_listener_new):
593 Call spi_dec_translate_mask to set up virtual mod bits
594 in the 'mask' field when creating a new listener struct.
595 (spi_dec_emit_modifier_event):
596 Set the virtual (i.e. NumLock) bits before emitting event.
597 (spi_controller_register_with_devices):
598 Query for the NumLock modifier 'physical' bit if Xkb is
599 present, for use in above methods.
603 2003-04-10 Bill Haneman <bill.haneman@sun.com>
605 * registryd/deviceeventcontroller.c:
606 (spi_keystroke_from_x_key_event):
607 Instead of checking to see if the keysym is
608 printable, check the string from XLookupString
609 if available, get the first unicode character from it,
610 and call g_unichar_isprint to determine whether the
611 is_text flag should be TRUE or FALSE.
615 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
617 * atk-bridge/bridge.c: Add support for extended events
618 * cspi/spi_event.c: Add documentation and implementation for
620 * tests/event-listener-test.c: Add tests for extended events.
622 This fixes bugs #100424 and #100426.
624 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
626 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
627 of LT_CURRENT. This fixes bug #89350.
629 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
631 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
632 number of signal parameter values before accessing them. This fixes
635 2003-04-01 Bill Haneman <bill.haneman@sun.com>
637 * configure.in: Fixed duplicate inclusion of -lspi.
638 * branched for gnome-2-2/HEAD.
639 [created tag "gnome-2-2"]
641 2003-03-07 Bill Haneman <bill.haneman@sun.com>
643 * configure.in: 1.1.9 release.
646 2003-03-07 Bill Haneman <bill.haneman@sun.com>
648 [needed by GOK, to fix bugs 107985 and 107988]
649 * registryd/deviceeventcontroller.c:
650 (spi_dec_clear_unlatch_pending):
651 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
652 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
653 (spi_dec_init_mouse_listener):Emit warning if mouse button
655 (spi_device_event_controller_forward_mouse_event):
656 Removed unnecessary parens from a conditional.
657 (global_filter_fn):Added TODO comment.
658 (impl_generate_keyboard_event):
659 Cancel a pending relatch if a 'delatching' key was
662 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
664 * atk-bridge/bridge.c:
665 Change atk_signal_child_changed to atk_signal_children_changed.
666 Reorganize code in spi_atk_bridge_signal_listener().
668 * test/event-listener-test.c:
669 Add children_changed_listener and report_children_changed_event()
670 to test AccessibleChildEvent_getChildAccessible.
672 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
674 * cspi/spi_event.c (cspi_internal_event_get_text): Change
675 g_strdup to CORBA_String_dup (bug #105291)
677 * test/event-listener-test.c (report_text_event): Add call to
680 2003-02-28 Bill Haneman <bill.haneman@sun.com>
682 * registryd/deviceeventcontroller.c:
683 (spi_keystroke_from_x_key_event):
684 Fix string and keysym return codes to match modifier state.
687 2003-02-28 Bill Haneman <bill.haneman@sun.com>
689 * registryd/deviceeventcontroller.c:
690 (spi_keystroke_from_x_key_event):
691 Fix segv due to improper use of isprint(c). [bug #107254]
693 2003-02-24 Bill Haneman <bill.haneman@sun.com>
696 (get_accessible_text_boundary_type):
697 Move default return value to (new) default case in switch.
698 (get_accessible_text_clip_type):
699 Move default return value to (new) default case in switch.
701 * libspi/application.c:
702 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
703 Remove unused methods.
704 (impl_accessibility_application_register_object_event_listener):
705 Remove unused methods.
708 Added #include of <math.h>.
710 * registryd/deviceeventcontroller.c:
711 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
712 we don't currently use this method.
713 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
715 (impl_generate_key_event):
716 Remove unused variables.
717 (impl_generate_mouse_event):
718 Initialize button to zero, just in case we get an invalid
719 input. Added support for mouse buttons 4 and 5.
720 (spi_device_event_controller_new):
721 Removed unused variable declaration for 'private'.
723 Added #include of <gdk/gdk.h>
725 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
727 * configure.in: Update to work when X is not installed in expected
728 location. Fixes bug #105836.
730 * atk-bridge/bridge.c
731 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
733 (spi_atk_register_event_listener): Add signal listener for
735 (spi_atk_bridge_signal_listener): Event event when link-selected
736 signal is emitted. (bug #104622)
738 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
739 on returned string. (bug #105291)
741 * test/event-listener-test.c: Add test for link-selected.
743 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
745 * atk-bridge/Makefile.am: Correct typo in previous commit.
747 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
749 * atk-bridge/Makefile.am: Allow for build directory to be different
750 from source directory
752 * registryd/Makefile.am: Allow for build directory to be different
753 from source directory
757 2003-01-29 Bill Haneman <bill.haneman@sun.com>
760 Fixed dependencies for libcspi so that libspi gets pulled in
761 properly. Fixes 104741.
765 Clean up inline docs a little.
767 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
769 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
770 This is done by implementing AtkComponent for SpiAtkDesktop, which is
771 the AtkObject within an SpiDesktop.
772 This addresses bug #101524.
774 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
775 Remove call to gdk_init().
777 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
778 so that Display is set when SpiDesktop is created.
780 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
782 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
783 This fixes bug #102830.
785 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
787 * test/test-simple.c: Update to take account of fact that GailButton
788 now implements AtkText.
789 (create_text_window): Set name on AtkObject for GtkEntry.
790 (validate_accessible): Check accessible name before calling test_text().
792 * libspi/Makefile.am: Fix problem with building outside of source
793 directory. Bug #98120.
795 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
796 typo in documentation comments. Bug #94275.
798 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
800 * libspi/text.c (impl_getBoundedRanges): Bug fix.
802 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
805 Add includes to avoid compiler warnings on Solaris.
806 (impl_getRangeExtents): Bug fix.
808 2002-12-17 Bill Haneman <bill.haneman@sun.com>
810 Fix for 100944, [API addition approved by Gman and murrayc].
817 * idl/Accessibility_Text.idl:
818 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
819 (Text::getRangeExtents): New method for efficient
820 bounds query of a text range.
821 (Text::getBoundedRanges): New method for efficient
822 clipping of text to bounding boxes.
823 (unImplemented7, unImplemented8):
824 Removed these padding methods to preserve bincompat.
827 (impl_getRangeExtents): implementation of new IDL.
828 (impl_getBoundedRanges): implementation of new IDL.
829 (SpiTextRect): Internal use struct.
830 (_spi_text_rect_union): internal method, calculates union of two
831 SpiTextRect bounding rects.
832 (_spi_text_range_seq_from_gslist): internal method, allows us
833 to build our sequence efficiently as a gslist then convert it
835 (_spi_bounds_contain): internal method, determines whether
836 a text character is "in" or "out" of a clip rect according to
837 values of TEXT_CLIP_TYPE.
838 (spi_text_class_init): Initialize the new methods in the epv.
841 (AccessibleTextClipType): New enum used by screen review api.
842 (AccessibleTextRange): New struct used by screen review api.
843 (AccessibleText_getRangeExtents):
844 cspi binding for Accessibility_Text_getRangeExtents.
845 (AccessibleText_getBoundedRanges):
846 cspi binding for Accessibility_Text_getBoundedRanges.
847 (AccessibleTextRange_freeRanges): convenience method.
850 (AccessibleText_getRangeExtents):
851 cspi binding for Accessibility_Text_getRangeExtents.
852 (AccessibleText_getBoundedRanges):
853 cspi binding for Accessibility_Text_getBoundedRanges.
854 (AccessibleTextRange_freeRanges): convenience method.
855 (get_accessible_text_clip_type): internal conversion method.
856 (get_accessible_text_ranges_from_range_seq): internal conversion method.
858 * registryd/deviceeventcontroller.c:
859 (spi_dec_mouse_check):
860 Improved behavior for mouse:abs events
861 [same granularity as mouse:rel events, and no
862 events when mouse is idle].
864 2002-12-16 Michael Meeks <michael@ximian.com>
866 * cspi/spi_accessible.c (spi_state_to_corba): rename.
868 * libspi/stateset.c (state_spi_to_atk): split out
869 ( fix several remote array bounds nasties )
870 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
871 (impl_remove): make safe from array bounds issues.
872 (spi_atk_state_from_spi_state): impl.
874 * libspi/stateset.h (spi_state_set_cache_is_empty):
875 add a set of wrapper defines to get layering right.
877 * cspi/spi_accessible.c: update state set stuff to
880 2002-12-14 Michael Meeks <michael@ximian.com>
882 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
883 to avoid 2 roundtrips to the registry per key event
884 (spi_atk_bridge_key_listener): upd.
885 (deregister_application): release the dec.
887 * registryd/registry.c (notify_listeners_cb):
888 bin lots of re-enterant complexity - we no longer
889 do a round-trip bonobo ref here, ensure that a single
890 listener's exception failure won't poison all other
892 (impl_registry_notify_event): bin obvious memory leak.
894 2002-12-13 Michael Meeks <michael@ximian.com>
896 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
897 init the ev so the error is meaningful.
898 (spi_atk_bridge_key_listener): ditto.
900 * cspi/spi_main.c (cspi_ev): init the ev so we start
901 with a clean slate, otherwise the first exception
904 * cspi/spi_text.c (get_accessible_text_boundary_type):
905 add a fallthrough for no warnings.
907 * cspi/spi_registry.c: prune unused warnings.
909 * cspi/spi_main.c (cspi_object_take): fix
910 mind-blowing brokenness ( by watching the compile
913 * cspi/spi_accessible.c (Accessible_getStateSet):
914 re-impl. to use an AtkStateSet.
915 (spi_state_type_from_accessible_state),
916 (init_state_table): bin these.
918 * libspi/stateset.c (spi_atk_state_set_from_sequence):
920 (atk_state_set_from_accessibility_state_set): here.
922 * cspi/spi_accessible.c (spi_state_to_atk): impl.
923 (AccessibleStateSet_contains, AccessibleStateSet_ref),
924 (AccessibleStateSet_unref, AccessibleStateSet_contains),
925 (AccessibleStateSet_add, AccessibleStateSet_remove),
926 (AccessibleStateSet_equals, AccessibleStateSet_compare),
927 (AccessibleStateSet_isEmpty): re-write to use a local
930 2002-12-13 Bill Haneman <bill.haneman@sun.com>
932 * configure.in: Revved to 1.1.7 (new keymask vals).
934 2002-12-10 Bill Haneman <bill.haneman@sun.com>
937 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
939 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
942 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
943 to compare two CORBA_TypeCodes.
944 (cspi_internal_event_add): Silence warning from FORTE compiler.
946 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
947 avoid implicit declaration of functions.
949 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
951 * atk-bridge/bridge.c:
952 (spi_atk_bridge_init_event_type_consts): Store signal id for
953 active-descendant-changed signal.
954 (spi_atk_register_event_listeners): Add signal listener for
955 active-descendant-changed signal,
956 (spi_atk_bridge_signal_listener): Move code in function
957 spi_atk-signal_emit_event() into this function.
958 Add support for active-descendant-changed
959 Update support for child-changed signal.
960 (spi_bridge_window_event_listener): Silence warning.
962 * libspi/spi_private.[ch]:
963 (spi_init_any_object): Change second parameter from CORBA_Object to
965 Omit call to CORBA_Object_duplicate().
966 Set CORBA_any's _value to CORBA_Object*.
968 2002-12-06 Bill Haneman <bill.haneman@sun.com>
974 (AccessibleEvent_ref, AccessibleEvent_unref):
975 New methods, for persisting an event outside the emission context.
976 Must be used if the new accessor methods are to be called
977 outside of the event listener's callback.
979 * cspi/bonobo/cspi-bonobo.c:
980 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
981 as second parameter instead of NULL, so we can call
982 cspi_check_ev afterwards.
985 (cspi_object_take): New internal method,
986 converts a CORBA_Object reference to a hard ref on
987 an Accessible if possible, returning NULL if the object
988 reference is invalid or an Accessible * otherwise.
991 (AccessibleEvent_ref):
992 Increment the event's internal private refcount, and
993 add the event's internal struct to an internal cache
994 if it's not already there.
995 (AccessibleEvent_unref):
996 Decrement the event's refcount and remove it from
997 the cspi event cache if refcount==0.
998 (cspi_event_compare): New private method.
999 Compares two event structs via their ids. Used
1001 (cspi_internal_event_lookup): New private method.
1002 (cspi_internal_event_check): New private method,
1003 a 0-order sanity check for events to make sure their
1004 private data is intact.
1005 (cspi_internal_event_add, cspi_internal_event_remove):
1006 New private methods for managiing the event cache.
1008 * cspi/bonobo/cspi-bonobo-listener.c:
1010 Initialize the new private data elements (id, magic, ref_count).
1012 * atk-bridge/bridge.c:
1013 (spi_atk_bridge_signal_listener):
1014 Fixed bug #100530, passing wrong params to emission func.
1016 * registryd/deviceeventcontroller.c:
1017 (spi_dec_button_update_and_emit):
1018 Fixed type in mask bit operations; fix for #99799.
1020 2002-12-02 Bill Haneman <bill.haneman@sun.com>
1022 Removed some of the more dangerous workarounds from
1023 previous commit; they are only needed by GOK, which
1024 in reality should be using another method to accomplish
1025 the goals. So on reconsideration some of the workarounds
1026 need to be reverted:
1028 * registryd/deviceeventcontroller.c:
1029 (spi_keycodes_contain, spi_dec_init_keycode_list):
1030 Removed these methods, used only by a nasty hack to try
1031 and detect whether a key synthesis should be allowed
1032 to reset the XKB latch state or not. This code was only
1033 required to work around an interaction between GOK,
1034 button events, and XKB.
1035 (impl_generate_key_event):
1036 Removed hack at end of key generation that tried to
1037 "do the right thing" if XKB latch keys were generated
1038 in the midst of button press/release pairs.
1041 Added a check for HAVE_XINPUT. Not normally used yet.
1043 2002-11-25 Bill Haneman <bill.haneman@sun.com>
1045 Workarounds and fixes for mouse event/XKB interaction.
1047 * registryd/deviceeventcontroller.c:
1048 (spi_keycodes_contain, spi_dec_init_keycode_list):
1049 New internal methods.
1050 (spi_dec_set_unlatch_pending):
1051 Split the method that tells XKB to expect an
1052 unlatch (and revert it) out of the rest of the
1053 event handling code. This method is called by the
1054 two mouse event handlers (the poll and the filter).
1055 (spi_dec_update_and_emit, spi_dec_mouse_check):
1056 New methods split from spi_dec_poll_mouse_moved.
1057 The second one is now called from inside the filterFn
1058 when an XKB delatch event is received, to determine
1059 whether to revert the delatch or not.
1060 (spi_poll_mouse_moved): Refactor; also we can now
1061 properly handle the case where multiple button states
1062 have changed between polling cycles and we didn't get
1063 notified due to another client's grab.
1065 Synchronize the server while handling an XKB notification.
1066 Ugly, but apparently necessary to avoid nasty races.
1067 Check the mouse state on receipt of an XKB latch change,
1068 to decide whether to revert the latch or not. (Latches are
1069 reverted if there is an immediately preceding mouse button
1070 event that a client has consumed, in which case we don't want
1071 the user to see the side-effect of the event).
1072 (spi_device_event_controller_forward_mouse_event):
1073 Check for modifier events and fire before resetting mouse_mask_state,
1074 prevents losing modifier events.
1076 (impl_generate_keyboard_event):
1077 If we've just generated a keyboard event for a non-shift key,
1078 we don't want to revert the pending XKB latch.
1079 Otherwise, check the modifier state (via a call to
1080 spi_dev_mouse_check) and set the relatch mask to
1081 that state before returning.
1083 2002-11-24 Bill Haneman <bill.haneman@sun.com>
1086 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
1089 * atk-bridge/bridge.c:
1090 (spi_atk_register_event_listeners):
1091 Don't re-register for ATK events if the registry has died
1092 and the app needs to re-register; the ATK listeners are in
1093 process and doing so will cause duplicate emission.
1095 * registryd/deviceeventcontroller.c:
1096 (spi_poll_mouse_moved):
1097 Reformat the source, detect and emit multiple button-change
1098 events (i.e. if multiple buttons have changed between poll
1100 Add code to detect mouse-down events even when the pointer
1101 is grabbed; workaround for GOK bug 98420.
1102 (spi_controller_register_with_devices):
1103 Call XTestGrabControl with 'impervious' flag set to True,
1104 allows us to synthesize events and query the pointer even during
1105 an active grab by another client.
1106 (spi_device_event_controller_forward_mouse_event):
1107 Set the mouse_mask_state to the mouse_button_state from
1108 the intercepted event, to synchronize the grab listener with
1111 2002-11-20 Bill Haneman <bill.haneman@sun.com>
1113 * cspi/spi_accessible.c:
1114 (AccessibleRole_getName):
1115 Added necessary strings for making this (deprecated)
1116 method work with the new role types.
1117 (init_role_table, role_table):
1118 Added definition of SPI_ROLE_APPLICATION.
1120 * libspi/spi-roletypes.h:
1121 Added SPI_ROLE_APPLICATION.
1123 * idl/Accessibility_Role.idl:
1124 Added ROLE_APPLICATION.
1126 * docs/reference/cspi/at-spi-cspi-decl.txt:
1127 Added SPI_ROLE_APPLICATION to docs.
1129 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
1131 * cspi/spi_accessible.c
1132 (cspi_init_role_table): Do not write beyond end of role_table.
1133 (Accessible_getRole): Use correct type for value returned by
1134 Accessibility_Accessible_getRole().
1136 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
1137 beyond end of role_table. (This fixes bug #98269)
1139 * libspi/application.c: Add include file spi-private.h for
1140 definition of spi_init_any_nil.
1142 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1146 * libspi/spi-private.h:
1147 Added DGB() macro, and extern int _dbg declaration.
1149 * registryd/registry.c:
1150 (definitions) storage for _dbg.
1151 (spi_registry_init):
1152 Get environment variable "AT_SPI_DEBUG".
1153 (spi_registry_set_debug):
1154 New method, to initialize _dbg value.
1155 (spi_listener_struct_new, spi_registry_object_finalize):
1156 (notify_listeners_cb):
1157 Changed fprintfs to use DBG and g_warning().
1159 * registryd/deviceeventcontroller.c:
1160 (_deregister_keygrab, spi_controller_register_device_listener):
1161 Changed debug/warning messages to use DBG macro.
1163 * libspi/listener.c:
1164 (impl_notify_event):
1165 Changed warning messages to use DBG macro and g_warning().
1167 * atk-bridge/bridge.c:
1168 (atk_bridge_init, spi_atk_bridge_get_registry):
1169 (spi_atk_bridge_exit_func):
1170 (spi_atk_bridge_property_event_listener):
1171 Changed status, warning, and error messages to use
1172 g_warning, g_message, and DBG macros.
1175 Read the state of the AT_SPI_DEBUG environment variable
1176 and set a local '_dbg' accordingly.
1178 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1180 FIXES for 98836, 98842, other bugs.
1183 Revved to 1.1.4, interface-age=4, binary-age=4.
1185 * registryd/deviceeventcontroller.c:
1187 Fixed crasher bug in last_mouse_pos initialization.
1189 * registryd/registry.c:
1190 (desktop_add_application, desktop_remove_application):
1191 Added (and then commented out) some support for
1192 object context marshalling. [TODO]
1194 * atk-bridge/bridge.c:
1195 (spi_atk_bridge_event_context_create):
1196 Commented out object context creation until it can
1197 be properly tested and debugged.
1199 * registryd/registry.c:
1200 (impl_registry_notify_event):
1201 Fixed crasher bug, we were calling
1202 spi_re_entrant_list_foreach () with an empty list.
1204 2002-11-18 Bill Haneman <bill.haneman@sun.com>
1206 * idl/Accessibility_Action.idl:
1207 * idl/Accessibility_Component.idl:
1208 * idl/Accessibility_Desktop.idl:
1209 * idl/Accessibility_Event.idl:
1210 * idl/Accessibility_Hyperlink.idl:
1211 * idl/Accessibility_Image.idl:
1212 * idl/Accessibility_Relation.idl:
1213 * idl/Accessibility_Selection.idl:
1214 * idl/Accessibility_State.idl:
1215 * idl/Accessibility_Value.idl:
1216 Updated unimplemented slot count to minimum of
1217 four for all interfaces, for ABI freeze.
1219 * idl/Accessibility_EditableText.idl:
1220 * idl/Accessibility_Text.idl:
1221 Updated unimplemented slot count to six
1224 * idl/Accessibility_Registry.idl:
1225 Updated unimplemented slot count to six
1226 (also for DeviceEventController),
1229 * idl/Accessibility_Table.idl:
1230 Updated unimplemented slot count to eight,
1233 * idl/Accessibility_Event.idl:
1234 Added CORBA_any "any_data" member to Event struct.
1236 * idl/Accessibility_Event.idl:
1237 Added CORBA_any "any_data" member to Event struct.
1239 * atk-bridge/bridge.c:
1241 atk_signal_text_changed, atk_signal_child_changed,
1242 signal ids queried from gtype system.
1243 (AtkBridgeEventContextType): New enum.
1244 (AtkBridgeEventContextData): New struct.
1245 (AtkBridgeEventContext): New struct.
1246 (atk_bridge_init_event_type_consts):
1247 New method, initializes type contants for comparison
1248 prior to emit_eventv.
1249 (atk_bridge_event_context_init): New method,
1250 initializes a CORBA_any from an AtkBridgeEventContext.
1251 (atk_bridge_focus_tracker): Call spi_init_any_nil to
1252 initialize the event.any_data struct.
1253 (spi_atk_bridge_event_context_create): New method,
1254 creates an AtkBridgeEventContext from signal/event info.
1255 (spi_atk_bridge_event_context_free): New method.
1256 (spi_atk_emit_eventv): Changed to take an
1257 AtkBridgeEventContext parameter. We now initialize
1258 the event.any_data member prior to notifying the
1259 Registry, via the AtkBridgeEventContext.
1260 (spi_atk_bridge_property_event_listener):
1261 (spi_atk_bridge_state_event_listener):
1262 Match emit_eventv signature.
1263 (spi_atk_bridge_object_event_listener):
1264 Match emit_eventv signature, and create an
1265 event context from the event details.
1266 Free the event context afterwards.
1267 (spi_atk_bridge_window_event_listener):
1268 Create an event context, pass it to the
1272 (AccessibleEvent_getContextString):
1273 (AccessibleEvent_getContextObject):
1274 New methods, allow query of AccessibleEvent objects
1275 for more context details (via the "any_data" member
1276 of the Event struct, above).
1279 Definitions for AccessibleEvent_getContextString
1280 and AccessibleEvent_getContextObject.
1282 * cspi/spi_listener.h:
1283 (InternalEvent): New struct.
1286 (AccessibleEvent_getContextString):
1287 (AccessibleEvent_getContextObject):
1288 Implementations of new methods, for obtaining
1289 additional context information from some event types.
1291 * cspi/spi_registry.c:
1292 (SPI_registerGlobalEventListener):
1293 Added mention of active-descendant-changed event in docs.
1295 * cspi/cspi-bonobo-listener.c:
1297 Marshal the any into the AccessibleEvent via
1300 * libspi/spi-private.h:
1301 #include <orbit/orbit.h>
1303 (spi_init_any_string):
1304 (spi_init_any_object):
1305 New convenience function declarations.
1309 (spi_init_any_string):
1310 (spi_init_any_object):
1311 New convenience function implementations.
1313 * registryd/deviceeventcontroller.c:
1314 (spi_poll_dec_mouse_moved):
1315 (spi_device_event_controller_forward_mous_event):
1316 Initialize any_data member of event.
1317 (spi_deregister_controller_device_listener):
1318 Fix incorrect param pass which was preventing deregistration.
1320 * registryd/registry.c:
1321 (desktop_add_application):
1322 (desktop_remove_application):
1323 Add object data to event's any_data before dispatch.
1325 Fix for error messages from GAIL.
1327 * test/event-listener-test.c:
1328 Test new ContextString and "any_data" API:
1329 (report_text_event): New method query and output context string.
1330 (main): register a new text listener with report_text_event
1333 2002-11-19 Darren Kenny <darren.kenny@sun.com>
1335 Fixes for bugs 98127 and 97914.
1336 * cspi/spi-roletypes.h:
1337 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
1339 * cspi/spi-statetypes.h:
1340 Added SPI_STATE_MANAGES_DESCENDANTS
1342 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
1343 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
1344 * cspi/spi_accessible.c:
1345 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
1346 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
1347 Accessibility_STATE_MANAGES_DESCENDANTS
1348 * libspi/accessible.c:
1349 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
1350 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
1351 As requested by Bill, I also cleaned up the alignment.
1352 * libspi/relation.c:
1353 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
1354 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
1355 * libspi/stateset.c:
1356 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
1357 Accessibility_STATE_MANAGES_DESCENDANTS
1358 * docs/reference/cspi/tmpl/spi_accessible.sgml:
1359 Document changes reflecting modifications to roles.
1360 * docs/reference/cspi/tmpl/spi_relation.sgml:
1361 Document changes reflecting modifications to relations.
1362 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1363 Document changes reflecting modifications to states.
1365 2002-11-17 Bill Haneman <bill.haneman@sun.com>
1368 Revved to 1.1.3, interface-age=3, binary-age=3.
1369 Added REBUILD macro.
1372 Removed accessx-gui from the tests, since we have a nice
1373 keyboard accessibility capplet now :-)
1375 * test/keysynth-demo.c:
1376 (increment_scan): removed do-nothing default: case,
1379 * test/visual-bell.c:
1380 (main) : removed do-nothing default: case,
1383 * cspi/spi_action.c:
1384 (AccessibleAction_getKeyBinding_):
1385 Documented keybinding string format.
1389 (AccessibleText_getAttributes):
1390 Documented the text attribute string format.
1391 It's changed to use semicolon delimiters also,
1392 to prevent clashes with CSS attributes, but the old
1393 trick of looking for ", " strings will still work
1394 (as unreliably as ever). Fix for bug related to 97916.
1397 Include <cspi/bonobo/cspi-bonobo-listener.h>
1398 Fixes build warning.
1399 (SPI_freeAccessibleKeySet):
1400 (AccessibleKeystrokeListener_addCallback):
1401 (AccessibleKeystrokeListener_removeCallback):
1402 Modify to use AccessibleDeviceListener API internally,
1403 instead of AccessibleKeystrokeListener.
1405 * idl/Accessibility_Event.idl:
1406 Added two more empty slots to EventListener (for a total of four).
1408 * idl/Accessibility_Accessible.idl:
1409 Added four empty slots to Accessible interface.
1411 2002-11-15 Bill Haneman <bill.haneman@sun.com>
1413 * idl/Accessibility_Registry.idl:
1414 (KeyEventType, EventType):
1415 Marked KeyEventType as deprecated; it duplicates
1416 functionality of EventType, which has been extended to
1417 include Mouse-button events.
1418 (KeyEventTypeSeq): defined in terms of EventType.
1419 (registerDeviceEventListener, deregisterDeviceEventListener):
1420 New methods, for managing listeners to device events,
1421 which potentially may consume them.
1424 Added definition for AccessibleDeviceListener.
1426 * cspi/spi-listener.h:
1427 (enum AccessibleDeviceEventType):
1428 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
1429 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
1430 for backwards compat.
1431 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
1432 and typedef'd AccessibleKeystroke to it for back-compat.
1433 (AccessibleDeviceListenerCB):
1434 New function prototype typedef.
1437 (AccessibleDeviceEventMask): New typedef.
1438 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
1439 (AccessibleKeyMaskType):
1440 Set equivalent to AccessibleModifierMaskType for back-compat.
1441 (SPI_createAccessibleKeystrokeListener):
1442 (AccessibleKeystrokeListener_unref):
1443 Deprecated in favor of equivalent (better-named) new API below..
1444 keystroke listeners are like all device listeners.
1445 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
1446 New API names for old features :-).
1447 (AccessibleDeviceListener_addCallback):
1448 (AccessibleDeviceListener_removeCallback):
1449 (SPI_registerDeviceEventListener):
1450 (SPI_deregisterDeviceEventListener):
1454 (SPI_createAccessibleKeystrokeListener):
1455 Use new preferred API, cspi_device_listener_new() and
1456 cspi_device_listener_add_cb().
1457 (AccessibleKeystrokeListener_removeCallback):
1458 Use new preferred API, cspi_device_listener_remove_cb().
1459 (AccessibleKeystrokeListener_unref):
1460 Use new preferred API, cspi_device_listener_unref().
1461 (SPI_createAccessibleDeviceListener):
1462 (AccessibleDeviceListener_addCallback):
1463 (AccessibleDeviceListener_removeCallback):
1464 Implementation of new API.
1466 * cspi/spi_registry.c:
1467 (SPI_registerDeviceEventListener):
1468 (SPI_deregisterDeviceEventListener):
1469 Implementation of new API. Fixed memory leak and removed need to
1470 allocate EventTypeSeq (thanks Michael for catching this).
1471 Squashed a wayward CORBA_exception_free that shouldn't get called.
1473 * cspi/bonobo/cspi-bonobo-listener.c:
1475 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
1476 (cspi_key_event): renamed to cspi_device_event().
1477 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
1478 Extended to handle mouse button events as well as key events.
1479 (CSpiKeystrokeListener):
1480 Class superceded by CSpiDeviceListener.
1481 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1482 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1484 * cspi/bonobo/cspi-bonobo-listener.h:
1485 (CSpiKeystrokeListener):
1486 Class superceded by CSpiDeviceListener.
1487 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1488 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1490 * libspi/Makefile.am:
1491 Replaced keystrokelistener.h and keystrokelistener.c
1492 with devicelistener.h and devicelistener.c; keystrokelisener.h
1493 stub retained for back-compat.
1495 * libspi/keystrokelistener.c:
1499 Replaced inclusion of keystrokelistener.h with devicelistener.h.
1501 * registryd/deviceeventcontroller.c:
1502 (DEControllerListener): Added Accessibility_EventTypeSeq member.
1503 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
1504 (DEControllerPrivateData): Added xkb settings data.
1505 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
1506 button release events (which can't be captured via XGrabButton).
1507 Don't dispatch via the 'normal' event mechanism if the device event was
1509 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
1510 Handle the typeseq data in its new location (see above).
1511 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
1512 New methods, for "generic" device listeners.
1513 (spi_controller_register_device_listener):
1514 Now handle mouse event listeners as well as key listeners.
1515 (spi_controller_notify_mouselisteners):
1516 New internal method.
1517 (spi_device_event_controller_forward_mouse_event):
1518 Now we notify mouse device listeners as well as generating the
1519 non-consumable "mouse:" events.
1521 We must check and restore the XKB
1522 modifier map if we consume the event, since the act of triggering
1523 a mouse event will normally reset the XKB latch. This is required for
1525 (spi_controller_register_with_devices):
1526 Load the XKB settings when registering, and register for XKB
1527 state notify events.
1528 (spi_key_eventtype_seq_contains_event):
1529 Renamed spi_eventtype_seq_contains_event, since it's used
1530 internally for all device event types now.
1531 (spi_key_event_matches_listener):
1532 Uses spi_eventtype_seq_contains_event now.
1533 (spi_device_event_controller_object_finalize):
1534 Free the private data and the XkbKeyboard struct.
1535 (impl_register_device_listener, impl_deregister_device_listener):
1536 Implementation of new IDL.
1537 (spi_deregister_controller_device_listener):
1538 New internal method.
1539 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
1540 More efficient implementation, we don't have to create a new
1541 XkbControls structure every time we query.
1542 (spi_device_event_controller_class_init):
1543 Initialize the epv entries for the new IDL. Assign the
1544 "spi-dec-private" quark.
1545 (spi_device_event_controller_init):
1546 Initialize the private data.
1547 (spi_device_event_controller_forward_key_event):
1548 Removed a bogus CORBA_exception_free() call.
1550 * registryd/deviceeventcontroller.h:
1551 Replaced inclusion of keystrokelistener.h with
1554 * test/event-listener-test.c:
1555 (report_mouse_event):
1558 Added mouse-event device listener.
1560 * test/test-simple.c:
1561 (create_test_window):
1562 Fixed regression (we were instantiating a GtkRange,
1563 which is now an abstract class). Also fixed to match
1564 existing AtkRole names, this seems to have changed in ATK
1565 awhile ago; too late now I think, and the new
1566 mechanism is at least elegant and consistent with the
1567 glib enum "nick" APIs.
1569 2002-11-15 Darren Kenny <darren.kenny@sun.com>
1571 * idl/Accessibility_Relation.idl:
1572 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
1573 RELATION_EMBEDS,RELATION_EMBEDDED_BY
1574 * idl/Accessibility_Role.idl:
1575 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
1576 * idl/Accessibility_State.idl:
1577 add STATE_MANAGES_DESCENDANTS
1578 * test/event-listener-test.c:
1579 Added a listener for active-descendant events.
1581 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
1583 * atk-bridge/bridge.c
1584 (atk_bridge_init): If application is Bonobo component wait until top
1585 level is added before registering
1586 (spi_atk_bridge_do_registration): New function which contains code,
1587 formerly in atk_bridge_init, to do application registration.
1588 (spi_atk_bridge_toplevel_added): Signal called when top level
1589 added to Bonobo component
1591 This fixes bug #83134.
1593 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
1595 * registryd/deviceeventcontroller.c
1596 Fixed compilation error caused by calling gettimeofday()
1599 2002-10-18 Bill Haneman <bill.haneman@sun.com>
1604 Added template for HAVE_XKB.
1607 Changes to check for XKB, and to set the HAVE_XKB #define if it
1610 * libspi/listener.c:
1611 ()impl_notify_event): Make failure to get event source name
1614 * registryd/deviceeventcontroller.c:
1615 (#include): include X11/XKBlib.h.
1616 (DEControllerPrivateData) : New struct.
1617 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
1619 (dec_synth_keycode_press) (dec_synth_keycode_release):
1620 New methods; split the key synthesis code into these methods.
1621 They check XKB settings before determining the "time" values to
1622 pass to Xtest; this fixes bug #95828.
1623 (impl_generate_keyboard_event): Changed to use methods above,
1624 instead of callng Xtest directly.
1625 (spi_device_event_controller_init): Initialize new privae struct s
1627 (spi_device_event_controllr_object_finalize):
1628 Free the (new) private data.
1630 * registryd/deviceeventcontroller.h:
1631 Add new gpointer to end of struct data.
1633 2002-10-16 Bill Haneman <bill.haneman@sun.com>
1636 Incremented revision to 1.1.2, SONAME is still '.so', library
1637 extensions are ".so.0.0.2".
1639 * registryd/deviceeventcontroller.c:
1640 FIXES FOR #93592 and #95940.
1641 (statics): renamed mouse_button_state to mouse_mask_state,
1642 added key_modifier_mask.
1643 (spi_dec_poll_mouse_moved):
1644 Added key modifier checks, and emit "keyboard:modifiers"
1645 events when the key modifiers currently in use change.
1646 Also generate "mouse:abs" events periodically, even if the mouse
1647 is stationary (should we?).
1648 Alternatively we could generate "mouse:abs" events for either all
1649 mouse movements, or every 'nth' mouse movement, or at the
1650 beginning and end of every "active" mouse period.
1652 * test/event-listener-test.c:
1653 (main): Added listener for "keyboard:modifiers" events.
1655 2002-10-15 Bill Haneman <bill.haneman@sun.com>
1657 * libspi/keymasks.h:
1658 Added key mask #defines for mouse buttons; e.g.
1659 SPI_KEYMASK_BUTTON1, etc.
1662 Incremented dependency on ATK to version 1.1.0. (This dependency
1663 is probably premature but will soon be real enough).
1665 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
1667 * libspi/hyperlink.[ch]
1668 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
1669 (get_hyperlink_from_servant): Check object is AtkHyperlink not
1672 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
1677 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
1679 * registryd/deviceeventcontroller.c
1680 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
1681 events to be ignored.
1682 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
1683 keyboard_mode so that XAllowEvents() can be called.
1687 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
1689 * cspi/spi-accessible.c: Correct names of roles returned by
1690 AccessibleRole_getName(). Fixes bug #95055.
1692 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
1694 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
1697 * registryd/registry.c
1698 (desktop_remove_application: Write diagnostic message to stderr for
1701 (impl_accessibility_registry_deregister_global_event_listener):
1702 Correct size of lists array. This addresses bug #94555).
1704 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
1706 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
1709 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
1711 * registryd/Makefile: Add CLEANFILES so that .server file is removed
1714 * registryd/registry.c (impl_registry_notify_event): Remove
1715 unnecessary call to parser_event_type().
1717 * docs/reference/cspi/tmpl/spi_component.sgml:
1718 Add reference to SPI_LAYER_WINDOW.
1720 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
1722 * registryd/registry.c
1723 (desktop_add_application): Remove leak.
1724 (desktop_remove_application): Remove leak.
1725 (parser_event_type): Remove leak.
1727 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
1729 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
1730 bogus call to CORBA_string_dup(). Also removed unnecessary
1731 g_string_dup/g_free calls.
1733 2002-09-13 Bill Haneman <bill.haneman@sun.com>
1735 * registryd/deviceeventcontroller.c:
1736 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
1738 * test/event-listener-test.c:
1739 main: commented out three redundant listeners, to reduce output
1740 noise. (They still are potentially useful for testing).
1743 2002-09-13 Michael Meeks <michael@ximian.com>
1745 * Update all the copyrights to include Ximian.
1747 2002-09-06 Mark McLoughlin <mark@skynet.ie>
1749 * cspi/spi.h: add SPI_LAYER_WINDOW.
1751 * cspi/spi_component.c: (AccessibleComponent_getLayer):
1752 add Accessibility_LAYER_WINDOW case.
1754 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
1756 * libspi/component.c: (impl_accessibility_component_get_layer):
1757 add ATK_LAYER_WINDOW case.
1759 2002-08-28 Bill Haneman <bill.haneman@sun.com>
1761 * configure.in: incremented micro version.
1763 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
1765 2002-08-20 Bill Haneman <bill.haneman@sun.com>
1768 Clarified and reworded our commit policy.
1771 Started an API "todo" addition list for 2.2.
1774 (impl_getSelection):
1775 Free char pointer from atk_text_get_selection, which was being leaked.
1777 2002-08-19 Bill Haneman <bill.haneman@sun.com>
1780 Small revision to author acknowledgement.
1782 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1784 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
1785 If signal has detail add it to the type of the event.
1788 2002-08-12 Michael Meeks <michael@ximian.com>
1790 * test/test-simple.c (global_listener_cb): bin bogosity.
1791 (test_keylisteners): disable, still doesn't work reliably,
1792 certainly not on my system anyway.
1794 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
1795 don't leak a reference on the DEC. This round-trip
1796 fetching of the DEC per keystroke sucks, it should be
1799 * cspi/spi-private.h,
1800 * cspi/cspi-lowlevel.h,
1801 * cspi/bonobo/cspi-bonobo-listener.[ch],
1802 * cspi/bonobo/cspi-bonobo.c: get the copyright
1803 notices better - there is still a large amount of
1804 work in at-spi falsely attributed solely to Sun.
1806 * cspi/spi_main.c (cspi_object_ref): kill bogus
1807 hash lookup, just increment the ref.
1808 (SPI_freeString): make explicit the fact that we
1809 handle NULL strings just fine.
1810 (report_leaked_ref): obey coding standards.
1811 (cspi_object_hash, cspi_object_equal): kill retval.
1812 (cspi_object_release): only release if not on loan.
1813 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
1814 (cspi_object_borrow, cspi_object_return): impl.
1816 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
1817 use cspi_object_borrow / return.
1819 2002-08-12 Darren Kenny <darren.kenny@sun.com>
1821 * cspi/bonobo/cspi-bonobo-listener.c:
1823 Don't call cspi_oject_new() because this is creating a new Accessible
1824 every single time that an event is fired. This causes ATs like at-poke
1825 to nolonger recognise the source of the event and thus ignore it.
1826 Re-use the object from the cache, ref it and then unref it after the
1827 listeners have been called.
1829 2002-08-06 Darren Kenny <darren.kenny@sun.com>
1831 * test/event-listener-test.c:
1832 Added command-line options to disable mouse events (m) and
1835 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
1837 * configure.in: Update required versions of ATK, GTK+ and GAIL
1839 * cspi-1.0.pc.in: Add dependency for X include files
1842 * cspi/bonobo/Makefile.am:
1843 Add $(X_CFLAGS) so that X include files
1844 are picked up even if not in standard place (bug #71686)
1846 2002-06-25 Bill Haneman <bill.haneman@sun.com>
1848 * registryd/deviceeventcontroller.c: fix for 84261
1849 (spi_dec_mouse_moved):
1850 Added test of mouse button mask, so that we can detect mouse
1851 button release. Unfortunately we can't otherwise detect mouse
1852 button release events without consuming the mouse press event,
1853 because of the way XGrabButton works. This means that our mouse
1854 release events have a latency dependent on the polling period
1855 while the mouse button is down. At least in this case we only
1856 have to poll while the button is down, and not at other times.
1857 If the button masks don't match with what the last press event
1858 reported, we report the appropriate button release event.
1859 (spi_dec_ungrab_mouse):
1860 New method (not yet called).
1861 (spi_device_event_controller_forward_mouse_event):
1862 New method, sends mouse press event from GdkFilter.
1863 (spi_dec_init_mouse_listener):
1864 Added code to call XGrabButton, redirecting mouse button events to
1865 the root window and our Gdk event loop.
1867 Added code to filter mouse button events, and reordered.
1869 * test/event-listener-test.c:
1871 Added registration for mouse events of type "mouse:button".
1873 2002-06-25 Bill Haneman <bill.haneman@sun.com>
1875 * registryd/deviceeventcontroller.c: partial fix for 84261
1876 (spi_dec_poll_mouse_idle):
1877 New method, a timeout which checks to see if the mouse
1879 (spi_dec_poll_mouse_moving):
1880 A timeout to be called when mouse motion is underway.
1881 (spi_dec_poll_mouse_moved):
1882 A method which fires an event if the mouse has moved, and reports
1883 whether or not it did so.
1884 (spi_dec_init_mouse_listener):
1885 A method which sets up the timeouts above.
1886 (spi_device_event_controller_new):
1887 Now calls spi_dec_init_mouse_listener.
1889 * registryd/registry.c:
1890 (spi_registry_init):
1891 Now we initialize the device event controller when the registry is
1892 initialized, instead of waiting until a client has requested a key
1893 event notification; this is because we need the event controller
1894 for mouse events, but the mouse event registration API is a
1895 "registry" call and doesn't explicitly call the
1896 deviceeventcontroller.
1897 We now report mouse motion events with a 100 ms idle latency and
1898 a 20 ms granularity when motion is in progress.
1900 * test/event-listener-test.c:
1902 We now register the "detail listener" for events of type
1903 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
1904 delivered only for the first mouse event received, and thereafter
1905 "mouse:abs" events are delivered.)
1907 * cspi/spi_registry.c:
1908 DOCS: Documented the above mouse event typestrings.
1910 2002-06-21 Bill Haneman <bill.haneman@sun.com>
1912 Happy Summer Solstice...
1914 * registryd/deviceeventcontroller.c: [fix for bug 84100]
1915 (spi_controller_notify_keylisteners):
1916 Changes to remove a listener from the listener list, freeing its
1917 open keygrabs, if a notification to that listener fails. This
1918 means that although a dead listener can continue to hold a passive
1919 keygrab, a maximum of one dispatch to such a listener can fail
1920 before the listener is removed from the list, thus the keygrab
1921 will be released on the next occurrence.
1922 As part of this fix:
1923 (spi_notify_keylisteners):
1924 Renamed to spi_controller_notify_keylisteners, as the controller
1925 instance must now be passed as an argument.
1926 The copied 'notify' GList is now a list of DEControllerKeyListener
1927 objects, since we need more than just the CORBA reference if a
1928 notify fails and we need to deregister the listener.
1929 (impl_notify_listeners_sync):
1930 (impl_notify_listeners_async):
1931 (spi_device_event_controller_forward_key_event):
1932 Modify use of notify_keylisteners in accordance with above
1934 (spi_deregister_controller_key_listener):
1935 New method introduced by refactoring, from
1936 impl_deregister_keystroke_listener.
1937 (impl_deregister_keystroke_listener):
1938 Call spi_deregister_controller_key_listener.
1939 (spi_key_listener_clone):
1940 New method to copy a key listner without doing a 'ref' on the
1941 remote object instance; used to create a notifier list.
1942 (spi_key_listener_data_free):
1943 New method, frees data without unreffing the source.
1945 (spi_key_listener_clone_free): new method.
1946 (spi_key_listener_free):
1947 refactored to call spi_key_listener_data_free.
1949 2002-06-20 Bill Haneman <bill.haneman@sun.com>
1951 * registryd/registry.c: [fix for bug 86048]
1952 (notify_listeners_cb):
1953 Clear CORBA system exceptions which occur when notifying
1954 listeners, before returning to the source of the original event,
1955 since the event source doesn't care if the relayed notify failed.
1956 In other words, don't complain to the atk-bridge if the registry
1957 could not notify all its listeners, that's no fault of the
1958 application and thus should not appear to be an error from the
1959 application's perspective.
1961 * cspi/spi_main.c: [fix for bug 85980]
1963 Replaced use of bonobo_object_dup_ref with call to the wrapper
1964 method, csou_dup_ref (); this silences a compiler warning and
1965 provided more portability.
1967 Ping the registry before return, and restart if necessary.
1969 * cspi/bonobo/cspi-bonobo.c:
1971 New internal method.
1973 Fixed this method to return an object reference, as it should have
1976 * cspi/cspi-lowlevel.h:
1977 Added internal definition for cspi_ping() and fixed
1978 return type of cspi_dup_ref().
1981 2002-06-19 Bill Haneman <bill.haneman@sun.com>
1983 * atk-bridge/bridge.c: [fix for bug 85305]
1984 (spi_atk_bridge_register_application):
1985 New method where the initial application registry calls have been
1986 moved; it allows an application to re-register in response to
1987 certain error conditions (such as a registry restart, see below).
1989 Moved some initialization code to the method
1990 spi_atk_bridge_get_registry, below.
1991 (spi_atk_bridge_get_registry):
1992 New, private accessor function for the Accessibility_Registry
1993 instance. If the registry has not been started before, or has
1994 died (as detected by failure of a CORBA exception), it is
1995 restarted before return, and spi_atk_bridge_register_application
1996 is called again to register with the new bridge instance.
1997 (spi_atk_emit_eventv):
1998 Set registry_died on error; use spi_atk_bridge_get_registry () to
1999 access the registry.
2001 * registryd/registry.c:
2002 (impl_accessibility_registry_register_global_event_listener):
2003 Set listener's event_type_quark to etype.minor instead of
2004 etype.major (fix for bug 84856).
2006 * test/event-listener-test.c:
2007 (report_detail_event):
2008 Change the output string so that user/tester can tell that the
2009 'detail listener' was called instead of the 'generic listener'.
2011 2002-06-18 Bill Haneman <bill.haneman@sun.com>
2013 Fixes for bugs 84900, 84908, 84897, 84898.
2018 Revved version to 1.1.0
2019 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
2020 version is going to HEAD which will be used for gnome-2-0-1 and later.)
2022 * idl/Accessibility_Registry.idl:
2023 (EventListener::notifyEvent):
2024 Removed 'oneway' directive after extensive consulation with
2025 ORBit2 team and others. This means also that unref() of the event
2026 source can and should be done synchronously after emission, rather
2027 than remotely in the client, after servicing the notify call on
2030 NOTE: This change speeds up listener performance considerably, but
2031 introduces new latency on the application side. We may want to
2032 add an event queue to the atk-bridge.
2034 * atk-bridge/bridge.c:
2035 (spi_atk_bridge_focus_tracker):
2036 Do a local unref() on the event source after emission.
2038 * registryd/registry.c:
2039 (desktop_remove_application):
2040 Do an unref() on the event source after emission.
2041 (desktop_add_application):
2042 Do an unref() on the event source after emission.
2043 (notify_listeners_cb):
2044 When relaying an event, don't automatically add the event source
2045 to the local object cache, just CORBA_dup it instead. Likewise,
2046 if this method reenters, release the ref rather than calling
2048 (impl_registry_notify_event):
2049 No longer call remote unref() on the event source after dispatch.
2051 * libspi/eventlistener.c:
2052 (impl_accessible_event_notify_event):
2053 Removed remote unref ()
2055 * cspi/bonobo/cspi-bonobo-listener.c:
2057 We now call cspi_object_new() instead of cspi_object_add() on
2058 receipt of an event; thus we only have an implicit object ref
2059 while the cspi_event method is being executed. If we need to keep
2060 a reference to the object, the listener must call ref() on the
2061 object. Thus also we don't need to call cspi_object_unref() after
2062 invoking the listener callbacks in this method.
2066 New internal API for creating a new cspi object, without adding it
2067 to the object cache.
2069 Now uses cspi_object_new() to create the cspi object instance.
2071 Now checks to see if the object is in the internal object cache,
2072 and adds it if necessary before incrementing its refcount (note
2073 that new objects are added with a refcount of 1).
2074 (report_leaked_ref):
2075 New method which gives some information on leaked object instances
2076 if leak detection is turned on.
2078 * test/event-listener-test.c:
2079 (timing_test_event):
2080 New method, used for testing event delivery timing for special
2081 events of type "object:test". It reports elapsed time and
2082 events/sec every 500 events.
2084 Added a new listener, 'test listener', to check timing of event
2085 receipt as noted above.
2087 Added some timing output here also, reports elapsed time every 100
2090 * test/stress-test.c:
2091 Emit events of type "object:test", for use with "event-listener-test".
2093 * test/test-simple.c:
2094 (global_listener_cb):
2095 Call Accessible_ref() on the event source before calling
2096 validate_accessible, since the validation process does pointer
2097 comparisons on the event source, meaning that the event source
2098 needs to be added to the local object cache first. Any use of
2099 such pointer comparisons between Accessible objects requires that
2100 the caller hold an explicit reference to those objects.
2101 We also must therefore call Accessible_unref() when leaving this method.
2103 2002-06-13 Bill Haneman <bill.haneman@sun.com>
2105 * registryd/deviceeventcontroller.c:
2106 (spi_controller_update_key_grabs):
2107 Fix for #84735, subsequent keygrab listeners not informed of
2108 registration failure.
2111 (spi_base_construct):
2112 Add an assertion on construct, to make sure the GObject passed in
2113 is really a GObject.
2115 Explicitly initialize object->gobj pointer to NULL;
2117 * cspi/bonobo/cspi-bonobo-listener.c:
2118 (cspi_object_add_ref):
2119 New method, can specify whether to dup-ref a bonobo object passed
2120 in if it's newly added to the object cache.
2122 Now calls cspi_object_add_ref with second param of "FALSE". This
2123 prevents us from doing a pointless dup-ref followed by
2124 release-unref for all those cases where the object is already in
2125 our object cache (fix for #85205).
2127 * atk-bridge/bridge.c:
2128 (spi_atk_bridge_idle_init):
2129 Removed this method, we don't need to initialize in an idle
2132 Changed to call spi_atk_register_event_listeners directly, not via an
2133 idle handler. (fix for #81139)
2134 (gnome_accessibility_module_shutdown):
2135 Removed conditional around deregistration of listeners, since we
2136 don't use the idle handler and thus have always registered when
2138 (spi_init_keystroke_from_atk_key_event):
2139 Changed references to Accessibility_KEY_PRESSED to
2140 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
2142 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2144 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
2149 * test/stress-test.c:
2152 (may have been an incomplete commit yesterday?)
2154 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2157 Added target for new stress-test.
2159 * test/stress-test.c:
2160 New test, sends 1000 focus notifies in quick succession.
2162 * test/key-listener-test.c:
2163 Now we report whether a keylistener registration
2164 request succeeded or failed.
2166 * test/event-listener-test.c:
2167 Uncommented some listeners which are now implemented.
2170 2002-06-06 Bill Haneman <bill.haneman@sun.com>
2172 * registryd/deviceeventcontroller.c:
2173 (spi_controller_update_key_grabs):
2174 Fix for #82509, lack of failure notification when
2175 ALL_WINDOWS keygrabs fail due to XGrabKey
2176 failure: we synchronize the server when
2177 registering a passive grab, to make sure we get the
2178 error message before the call returns.
2180 2002-06-03 Bill Haneman <bill.haneman@sun.com>
2182 * test/test-simple.c:
2184 Removed #ifdef KEY_IMPL_WORKS guards.
2185 (test_keylisteners):
2186 Removed #ifdef KEY_IMPL_WORKS guards.
2187 Fixed bug which was causing a hang waiting for a
2188 "press" event (which was already overwritten by a "release"
2189 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
2191 Added code to set globals 'key_press_received' and
2192 'key_release_received'.
2195 Added section "1.1 API Proposed Additions" which
2196 lists API additions desired for at-spi-1.1 (only one so far).
2197 Updated TODO list a little.
2199 2002-06-02 Bill Haneman <bill.haneman@sun.com>
2201 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
2204 * configure.in: Revved to 1.0.0.
2206 * idl/Accessibility_Registry.idl:
2207 (registerKeystrokeListener):
2208 Added boolean return value.
2210 * registryd/registry.c:
2211 (notify_listeners_cb): Minor fix to debug output.
2213 * registryd/Accessibility_Registry.server.in.in:
2214 Revved version number in OAFIID to 1.0.
2216 * registryd/registryd.c:
2218 Use new OAFIID version.
2220 * cspi/bonobo/cspi-bonobo.c:
2222 Use new OAFIID version.
2228 * atk-bridge/bridge.c:
2230 Use new OAFIID version.
2232 * registryd/deviceeventcontroller.c:
2233 (impl_register_keystroke_listener):
2234 Added CORBA_boolean return value.
2235 (spi_controller_register_device_listener):
2236 Added gboolean return value.
2237 (spi_controller_register_global_keygrabs):
2238 Added gboolean return value.
2239 (spi_key_set_contains_key):
2240 Added implementation for many more control keys,
2241 for instance F1-F12, arrow keys, End, Home, Page_Up,
2243 [TODO: some still not implemented].
2245 * text/screen-review-test.c:
2246 (text_chunk_pad_string):
2247 New function: it provides mapping between coordinate
2248 positions of text chunks and character positions in the
2249 screen-review-line output string.
2250 (text_chunk_to_string):
2251 New function, calls text_chunk_pad_string with various
2252 pad/delimiter characters. Pushbuttons are delimited with
2253 square brackets, Frames with vertical 'pipe' lines, and
2254 other text with double quotes.
2255 (text_chunk_list_to_string):
2256 Calls new function text_chunk_to_string.
2257 (toplevel_composite):
2258 New function to composite layers CANVAS through
2259 POPUP in each toplevel (other layers are composited
2260 across toplevels, i.e. BACKGROUND and OVERLAY).
2261 (review_buffer_composite):
2262 Revise to use new methods.
2268 2002-05-31 Laszlo Peter <laca@sun.com>
2270 * configure.in: add the Xtst libdir to the runpath on Solaris,
2271 since it's not in the default library search path.
2273 2002-05-29 jacob berkman <jacob@ximian.com>
2275 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
2277 2002-05-29 Bill Haneman <bill.haneman@sun.com>
2279 * test/screen-review-test.c:
2280 (text_chunk_pad_string):
2281 Added method, which pads the string according to the
2282 text bounds of the chunk. It also takes a 3-character
2283 string as a param which indicates the characters to be
2284 used for start, padding, and end delimitation of the chunk.
2285 (text_chunk_to_string):
2286 Changed to use text_chunk_pad_string.
2288 * configure.in: Fixed bug in AC_OUTPUT that was
2289 causing path substitution in Accessibility_Registry.server
2292 2002-05-23 Bill Haneman <bill.haneman@sun.com>
2294 * text/screen-review-test.c:
2295 (guess_string_clip):
2296 New method which attempts a best-guess at clipping
2297 text from components (like Java labels) which don't
2298 actually implement AccessibleText. This inaccurate
2299 clip is based on the assumption that the label is
2300 justified left-and-right, and monospaced.
2301 (text_chunk_get_clipped_string):
2302 We now call guess_string_clip() for text-containing
2303 components that don't implement AccessibleText.
2305 * test/screen-review-test.c:
2306 (review_buffer_get_text_chunk):
2307 We now pull "name" from labels if they do not implement
2308 AccessibleText (i.e. for Java labels).
2309 (get_screen_review_line_at):
2310 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
2313 Replaceded AC_OUTPUT target
2314 registryd/Accessibility_Registry.server with
2315 registryd/Accessibility_Registry.server.in.
2317 * registryd/Accessibility_Registry.server.in:
2318 Removed (this is now a Makefile target).
2320 * registryd/Accessibility_Registry.server.in.in:
2321 Added (source for target above). We now use $(libexecdir) as
2322 prefix for the executable at-spi-registryd.
2324 * registry/Makefile.am:
2325 Now install at-spi-registryd into $(libexecdir), and build .server
2326 file with path (see above).
2328 2002-05-22 Bill Haneman <bill.haneman@sun.com>
2330 * test/screen-review-test.c:
2331 (text_chunk_get_clipped_string):
2332 We now check to see if words fall within clip bounds
2333 before resorting to character-by-character clip bounds testing.
2335 * TODO: Added a section for "2.2 Proposed API Additions".
2337 2002-05-21 Bill Haneman <bill.haneman@sun.com>
2339 * test/screen-review-test.c:
2341 Added a screen review benchmarking and test program to test
2344 * cspi/spi_accessible.c:
2346 Made some of the debug strings passed to cspi_check_ev a
2347 little more specific.
2349 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
2351 * test/screen-review-test.c: Fix crashes in debug statements
2353 2002-05-20 Bill Haneman <bill.haneman@sun.com>
2355 * test/screen-review-test.c: Added this file.
2357 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2359 * atk-bridge/bridge.c: changed "object:state-change" to
2360 "object:state-changed" to match docs.
2362 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2364 * atk-bridge/bridge.c: Hooked up state-change event details.
2366 2002-05-11 Bill Haneman <bill.haneman@sun.com>
2368 * registryd/registry.c:
2369 Fixed quarking bug in event string parsing; now events with
2370 detail parameters get matched correctly to listeners.
2373 * util/idl/Magnifier.idl: remove.
2375 * util/*.[ch]: Remove.
2376 Magnification utilities and IDL are now in module gnome-mag.
2378 2002-05-10 Bill Haneman <bill.haneman@sun.com>
2380 * registryd/deviceeventcontroller.c:
2381 Fixed bug in grab key conversion which was causing keycode grabs
2382 to be converted to AnyKey grabs.
2385 updated NEWS file to reflect recent spin-off of gnome-mag.
2387 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
2389 * cspi/spi_accessible.c: Added exception checks. Fixed completely
2390 busted AccessibleStateSet_compare. Removed redundant casts.
2392 * cspi/spi-action.c: Removed redundant casts.
2394 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
2396 * cspi/spi_component.c: Fixed typos and casting error.
2398 * cspi/spi_editabletext.c: Removed redundant casts.
2400 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
2402 * cspi/spi_hypertext.c: Eliminated redundant casts.
2404 * cspi/spi_image.c: Eliminated redundant casts.
2406 * cspi/spi_registry.c: Eliminated redundant casts.
2407 SPI_deregisterGlobalEventListenerAll () removed retval variable.
2408 * cspi/spi_selection.c: Removed redundant casts.
2409 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
2410 handling. Screen geometry and text offsets were being returned as 0
2411 on error which is technically valid-- changed these to return -1.
2412 Added marshaller for text boundary types to fix bug with boundary
2413 types being passed incorrectly to atk.
2415 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2418 * cspi/spi_registry.c:
2419 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
2420 which was uncovered by the recent key changes.
2422 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2424 * test/event-listener-test.c:
2426 Added new test, "event-listener-test";
2427 this code does two things; it benchmarks traversal time
2428 for the accessible hierarchy for the first running accessible
2429 app, and it connects listeners for all supported event types.
2430 It is thus useful as an example event listener and for
2431 diagnostics/debugging of event generation.
2433 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2436 Removed unnecessary dependency on libutil.
2439 Revved micro version: 0.13.1
2441 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2444 Removed util/Makefile from targets.
2447 Removed util subdir from SUBDIRS (temporarily,
2448 pending removal of magnifier-only code
2452 #ifdef-ed out magnifier dependencies, since
2453 magnifier IDL, headers, and binary now live in
2454 module gnome-mag and we don't want at-spi to depend
2455 on gnome-mag. A magnifier demo which can run alongside
2456 simple-at is forthcoming in the gnome-mag module.
2458 NOTE: Split magnifier binary, IDL, and magnification
2459 activation code from at-spi into module gnome-mag.
2461 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
2463 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
2464 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
2466 2002-05-03 Bill Haneman <bill.haneman@sun.com>
2469 Revved to version 0.13.0
2471 * idl/Accessibility_Registry.idl:
2472 Changed definition of KeySet from sequence of longs to sequence of
2473 KeyDefinitions, and added KeyDefinition struct.
2474 Required for fix to bug 80616.
2476 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
2477 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
2478 to use new definition (see above).
2480 * registryd/deviceeventcontroller.c: handle_keygrab(),
2481 spi_keyset_contains_key():
2482 Changed to make use of new struct; this allows matching based on
2483 string key-name, for instance "Tab". This also allows matching of
2484 composed characters, non-alphanumeric characters in a way that
2485 doesn't involve dependencies on X keysym codes directly, etc.
2487 * test/key-listener-test.c:
2488 Added test for Alt-Tab key using "string" specification of keyset,
2489 and modified one of the tests to use a keycode-based keyset.
2490 Thus this test both tests and demonstrates the creation and use of
2491 keysets of three forms: specified via keycode array,
2492 keysym array, and string array. (The string case only contains a
2493 single string, i.e. a string array of length 1).
2496 Turned on PRINT_TREE option by default. Also fixed a
2497 string-freeing bug in the PRINT_TREE code.
2498 Added a listener to window:minimize events.
2500 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
2502 * atk-bridge/bridge.c:
2503 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
2504 for window:activate and window:deactiveate
2505 (atk_bridge_property_event_listener atk_bridge_signal_listener
2506 atk_bridge_window_event_listener) Tidy debug code
2508 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
2510 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
2511 Fixed handling for NULL return value from ATK.
2513 * libspi/action.c libspi/component.c libspi/editabletext.
2514 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
2515 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
2516 Removed redundant casts.
2518 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
2519 Fixed off by one bug.
2521 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
2522 function not present in idl)
2524 2002-05-02 jacob berkman <jacob@ximian.com>
2526 * atk-bridge/Makefile.am: make atk-bridge a real module
2528 2002-04-26 Radek Doulik <rodo@ximian.com>
2530 * libspi/stateset.c (spi_init_state_type_tables): fix size of
2531 atk_state_types table
2533 2002-04-22 jacob berkman <jacob@ximian.com>
2536 * libspi/Makefile.am: add deps on the built files to help
2537 automake, and don't version the ORBit typelib
2539 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
2541 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
2542 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
2543 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
2544 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
2545 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
2546 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
2547 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
2548 libspi/accessible.h libspi/accessible.h libspi/base.h
2549 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
2550 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
2551 libspi/relation.h libspi/remoteobject.h libspi/selection.h
2552 libspi/spi-private.h libspi/statetset.h libspi/table.h
2553 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
2554 util/mag_client.h util/mag_control.c util/mag_image.c
2555 util/mag_image.h util/magnifier.c util/magnifier.h:
2556 Add missing file headers; standardize existing ones
2558 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
2560 * atk-bridge/bridge.c: Added window event support.
2562 2002-04-18 Michael Meeks <michael@ximian.com>
2564 * libspi/relation.c (impl_getNTargets): impl.
2565 (impl_getTarget): impl.
2567 * libspi/Makefile.am: fix stateset install.
2569 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2572 Started putting useful info in this file.
2574 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
2576 * atk-bridge/bridge.c:
2577 Propagate state-changed notifications to ATs
2579 * cspi/spi_registry.c: update docs to reflect actual behavior of
2580 state-change events.
2582 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2585 Incremented version to 0.12.1
2587 * util/mag_client.h:
2588 Add missing declaration for magnifier_exit,
2589 used by mag_control.c - Forte compiler didn't like
2590 the implicit redeclaration of the function :-(
2593 2002-04-16 Bill Haneman <bill.haneman@sun.com>
2596 Revved version to 0.12 due to API change (see below).
2598 * cspi/spi-roletypes.h:
2599 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
2600 definition from the inline docs, and added docs
2601 for SPI_ROLE_LAST_DEFINED.
2604 * cspi/spi_streamablecontent.c:
2605 Added missing seek_type parameter to
2606 (so far unused) method,
2607 AccessibleStreamableContent_seek().
2608 [ RT approval JodyG. ]
2611 Fixed docs for SPI_createAccessibleKeystrokeListener.
2613 * cspi/spi_registry.c:
2614 Fixed docs for SPI_KEYSET_ALL_KEYS.
2616 * docs/reference/cspi/at-spi-cspi-sections.txt:
2617 Added a number of missing APIs to SECTIONS.
2619 2002-04-16 Bill Haneman <bill.haneman@sun.com>
2621 * registryd/Makefile.am:
2623 * cspi/bonobo/Makefile.am:
2624 Add $(X_LIBS) to makefiles.
2626 2002-04-15 Bill Haneman <bill.haneman@sun.com>
2629 Revved version to 0.11.
2631 * libspi/component.c:
2632 Added implementation for grabFocus.
2634 * idl/Accessibility_Component.idl
2635 (Accessibility_Component_grabFocus):
2636 Made this method return boolean to indicate success or failure, to
2637 be consistent with cspi and the corresponding ATK method.
2639 * idl/Accessibility_Selection.idl
2640 (Accessibility_Selection_selectAll) :
2641 Made these methods return boolean to indicate success or
2642 failure, to be consistent with cspi and the corresponding ATK methods.
2644 * idl/Accessibility_EditableText.idl
2645 (Accessibility_EditableText_setTextContents,
2646 Accessibility_EditableText_insertText,
2647 Accessibility_EditableText_cutText,
2648 Accessibility_EditableText_deleteText,
2649 Accessibility_EditableText_pasteText):
2650 Made these methods return boolean to indicate
2653 * cspi/spi_editabletext.c:
2654 Made these methods return booleans.
2656 * libspi/selection.c:
2657 * libspi/component.c:
2658 * libspi/editabletext.c:
2659 Connected the boolean returns from ATK
2660 to the server-side code referenced above.
2662 2002-04-14 Bill Haneman <bill.haneman@sun.com>
2664 * idl/Accessibility_Table.idl: Added missing methods,
2665 Accessibility_Table_addRowSelection,
2666 Accessibility_Table_addColumnSelection,
2667 Accessibility_Table_removeRowSelection,
2668 Accessibility_Table_removeColumnSelection.
2671 Added C wrappers for above IDL:
2672 AccessibleTable_addRowSelection,
2673 AccessibleTable_addColumnSelection,
2674 AccessibleTable_removeRowSelection,
2675 AccessibleTable_removeColumnSelection.
2678 Added server-side implementation code for IDL above, connecting
2679 to pre-existing ATK api.
2681 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
2683 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
2685 * libspi/accessible.c: Added implementation fo
2686 Accessibility_Accessible_get_state.
2688 * libspi/libspi.h: Added stateset.h to the list of includes.
2690 * libspi/stateset.c: Fixed broken implementation.
2692 2002-04-13 Bill Haneman <bill.haneman@sun.com>
2695 Added implementation code for Accessibility_Magnifier_exit ().
2697 * util/mag_control.c:
2698 Added test code for above method; you can
2699 now kill an existing magnifier via
2700 ./mag_control q, from the util directory.
2702 * test/key-listener-test.c:
2704 Added a new test, for our key listener API.
2706 2002-04-11 Bill Haneman <bill.haneman@sun.com>
2708 * test/app.c, test/keysynth-demo.c:
2710 Replace use of snprintf with g_snprintf.
2711 (fix for bugzilla 78249)
2713 2002-03-27 Michael Meeks <michael@ximian.com>
2717 * util/Makefile.am (INCLUDES): fix.
2718 (DONT_DIST_SOURCE): don't distribute the
2721 * libspi/Makefile.am (dist-hook): ditto.
2723 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
2725 * libspi/hypertext.c:
2726 Fix warnings when yelp is used with atk-bridge
2728 2002-03-21 Michael Meeks <michael@ximian.com>
2730 * libspi/application.c (spi_application_new):
2731 use spi_accessible_construct so we use the AtkObject
2734 2002-03-19 Michael Meeks <michael@ximian.com>
2736 * registryd/registry.c (desktop_remove_application),
2737 (desktop_add_application): clean coding style.
2739 * registryd/desktop.c (spi_desktop_remove_application),
2740 (spi_desktop_add_application): kill re-enterency hazards.
2741 (spi_desktop_dispose): remove bogus redundant cast
2742 obscuring bug; fix bug too.
2743 (spi_desktop_init): make the desktop object immortal.
2745 2002-03-16 Bill Haneman <bill.haneman@sun.com>
2748 Added a #define-guarded tree-traversal step
2749 when enumerating the apps (diagnostic tool).
2751 2002-03-15 Bill Haneman <bill.haneman@sun.com>
2753 * idl/Accessibility_Role.idl:
2754 Added ROLE_DRAWING_AREA which seemed to be missing from the
2757 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2759 * cspi/spi-roletypes.h cspi/spi_accessible.c
2760 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
2763 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
2764 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
2765 AT when applications are added and removed from the desktop. This
2766 reverts the previous broken implementation using the backing
2767 AtkObject for the SpiDesktop.
2769 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2771 * registryd/desktop.c: emit the "children-changed::add" and
2772 "children-changed::remove" signals on the backing ATK object for
2773 the desktop so AT can tell when applications are started and shut
2776 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2778 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
2780 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2782 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
2784 * cspi/spi_accessible.c: Implemented c bindings for stateset support
2786 * cspi/state-types.h: synched with IDL and ATK
2788 2002-03-13 Bill Haneman <bill.haneman@sun.com>
2790 * libspi/accessible.c
2791 (impl_accessibility_accessible_get_child_at_index):
2792 Change return value for g_return_if_fail ()
2793 to CORBA_OBJECT_NIL instead of "0" (!)
2795 * registryd/Makefile.am:
2796 * registryd/Accessibility_Register.server.in:
2797 Changed name of executable, "registryd",
2798 to something more informative:
2801 2002-03-13 Michael Meeks <michael@ximian.com>
2803 * atk-bridge/bridge.c (atk_bridge_init): don't register
2804 if we're in a bonobo-component, rather than a bonobo app.
2806 2002-03-13 Michael Meeks <michael@ximian.com>
2808 * atk-bridge/bridge.c (gtk_module_init): split
2809 out body to (atk_bridge_init): here, since otherwise
2810 we get symbol conflicts and oddness when invoked
2811 from (gnome_accessibility_module_init): here (upd.)
2813 2002-03-11 Bill Haneman <bill.haneman@sun.com>
2816 New file. Explicitly allow "build sheriff" putbacks provided
2817 they are tested on Solaris.
2819 * docs/reference/cspi/Makefile.am:
2820 Added '-' to the "cp" command for index.sgml.
2821 ("patch by thomasvs, soon coming to a GUADEC near you")
2824 Incremented version number (0.9.0) for new release.
2825 Changed macro that checks for popt, to better detect
2826 obsolete versions of popt.
2829 Added X_LIBS to AC_SUBST, for applications
2830 that call Xlib API directly.
2833 2002-03-07 Bill Haneman <bill.haneman@sun.com>
2836 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
2839 Fix regression caused by hard-coding major
2840 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
2843 * test/test-simple.c (test_editable_text),
2844 (test_test): revert previous change (error was
2845 a regression in gail which is now fixed).
2847 2002-03-04 Michael Meeks <michael@ximian.com>
2849 * test/test-simple.c (test_editable_text),
2850 (test_text): pass G_MAXINT instead of '-1' for
2851 whole string - is this a good thing !?
2853 * cspi/spi_accessible.c
2854 (Accessible_getRelationSet): fix crasher bug
2855 overwriting the end of the array.
2857 * test/test-simple.c (validate_accessible): free,
2858 not g_free returned relation set.
2860 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
2862 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
2863 implemented stateset support
2865 * idl/Accessibility_State.idl: Made necessary changes to
2866 the IDL to support state sets.
2868 2002-02-12 Bill Haneman <bill.haneman@sun.com>
2870 * registryd/deviceeventcontroller.c:
2871 Added implementation for generateMouseEvent.
2873 * cspi/spi_registry.c:
2874 Connected new implementation for generateMouseEvent
2877 2002-02-12 Bill Haneman <bill.haneman@sun.com>
2880 Incremented revision (but no change in public API
2881 outside of 'utils', which are not installed public yet.)
2883 * libspi/component.c:
2884 Changed to use atk_component API for layers and
2885 mdi_zorder, instead of deprecated atk_object API.
2887 Magnification Utility Enhancements:
2890 Added implementation of createZoomRegion, clearAllZoomRegions,
2891 resizeZoomRegion. Added new commandline argument
2892 "--no-initial-region". Note that clearAllZoomRegions doesn't
2893 unmap the old '0' region as it should (yet), and the other
2894 methods only work when creating/resizing a single region,
2895 which is "region 0".
2896 (Code for multiple region support will be added later.)
2899 Now we raise the magnifier window each time it's refreshed;
2900 this will help keep it on top.
2902 * util/mag_client.h:
2903 Added simple wrappers for above, used by mag_control.
2904 For general use, it's recommended to use the bonobo magnifier
2905 control API directly instead of using these wrappers.
2908 Moved ZoomRegionData from magnifier.c to this file.
2910 * util/mag_control.c:
2911 Added some code to exercise new IDL implementations.
2913 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
2915 * libspi/text.c: Provide implementation for getAttributes.
2917 2002-02-04 Bill Haneman <bill.haneman@sun.com>
2920 Incremented revision.
2922 * test/test-simple.c:
2923 Replaced use of deprecated g_main_iteration with
2924 g_main_context_iteration.
2926 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
2929 Incremented revision for desktop alpha 2.
2931 2002-01-28 Mark McLoughlin <mark@skynet.ie>
2933 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
2936 * test/simple-at.c: include netinet/in.h.
2938 2002-01-24 Mark McLoughlin <mark@skynet.ie>
2940 * cspi/spi_accessible.c: (Accessible_getRelationSet):
2941 use NULL, not CORBA_OBJECT_NIL.
2943 * libspi/accessible.c:
2944 (impl_accessibility_accessible_get_relation_set):
2945 allocate the sequence correctly.
2947 * libspi/remoteobject.h: kill spi_remote_object_new.
2949 * test/test-simple.c: (validate_accessible): add code
2950 to test relation sets, now all we need is to figure
2951 out how to excercise this code path :/
2953 2002-01-18 Michael Meeks <michael@ximian.com>
2955 * test/test-simple.c
2956 (key_listener_cb): consume the key.
2957 (test_keylisteners): update.
2958 (main): wait for any pending unrefs on events.
2960 * registryd/deviceeventcontroller.c
2961 (spi_controller_update_key_grabs): only re-issue the
2962 grab on a key release.
2963 (spi_device_event_controller_forward_key_event):
2964 refresh the keygrabs before we notify the listeners,
2965 to reduce the X ungrab / re-grab race.
2966 (spi_controller_register_with_devices): remove
2967 XSelectInput - we do that with the gdk_window_ call.
2968 (_spi_controller_device_error_handler): return a value.
2969 s/GDK_DISPLAY/spi_get_display/
2971 2002-01-17 Michael Meeks <michael@ximian.com>
2973 * registryd/deviceeventcontroller.c
2974 (_deregister_keygrab): don't blow out the later
2977 * test/test-simple.c (test_keylisteners): do a
2978 more intelligent validation.
2980 2002-01-14 Michael Meeks <michael@ximian.com>
2982 * atk-bridge/bridge.c
2983 (gnome_accessibility_module_init),
2984 (gnome_accessibility_module_shutdown): impl.
2985 (gtk_module_init): protect vs. double inits.
2986 (add_signal_listener): impl.
2987 (spi_atk_bridge_state_event_listener): kill
2988 (deregister_application): split out of
2989 (spi_atk_bridge_exit_func): here.
2991 2002-01-18 Bill Haneman <bill.haneman@sun.com>
2994 Added caret tracking when using magnifier, and
2995 now use text bounds for focus tracking of text elements, rather than
2996 the component bounds - this is helpful for short text fields in long
2997 table cells, at high magnification.
2999 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3001 * registryd/deviceeventcontroller.c:
3002 Regression fix for keylistener de-registration; global keygrabs
3003 were not being released when deregisterKeystrokeListener was
3004 called in cspi, since
3005 Accessibility_DeviceEventController_deregisterKeystrokeListener
3006 was called with a zero-length keyset. That is because the cspi
3007 method, SPI_deregisterKeystrokeListener, does not take a keyset
3008 parameter but instead should remove all the key grabs held be a
3010 The code in impl_deregister_keystroke_listener was changed to copy
3011 the keylist from the listener instance previously registered with
3012 the DeviceEventController before releasing the grabs.
3014 * registryd/registry.c:
3015 * registryd/deviceeventcontroller.c:
3016 * libspi/spi-private.h:
3018 Changed spelling of "re-enterant" to "re-entrant" globally.
3020 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3022 * test/test-simple.c:
3023 Changed key listeners test - the test was slightly mis-using the
3024 (admittedly poorly documented) SPI_generateKeyboardEvent API.
3025 It now uses '=' as the key event listened to and generated,
3026 relying on a keysym match rather than assuming that keycode 33
3027 is always equal to keysym '!'.
3029 2002-01-15 Bill Haneman <bill.haneman@sun.com>
3032 Changed simple-at to use a specific keyset, rather than
3033 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
3034 manager, desktop, etc.
3036 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3038 * registryd/deviceeventcontroller.c:
3039 Replaced standard X error handler with a special handler that
3040 is non-fatal for failed keygrabs. This works around
3041 problems with keygrab clashes sometimes observed on
3043 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
3044 mouse handling code as yet).
3046 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3049 Incremented revision for desktop alpha release.
3052 Fixed a couple of the more glaring errors (still not
3055 2002-01-11 Michael Meeks <michael@ximian.com>
3057 * registryd/deviceeventcontroller.c
3058 (spi_device_event_controller_forward_key_event): kill
3059 XUngrabKey / XKeyGrab race.
3060 (spi_controller_grab_keyboard): rename to
3061 (spi_controller_update_key_grabs): this, and deal
3062 with incremental adding / removing grabs more
3064 (_register_keygrab): ensure we're not pending a remove.
3065 (spi_grab_mask_free): impl.
3066 (spi_controller_register_global_keygrabs): split out
3068 (handle_keygrab): impl.
3069 (_deregister_keygrab): impl.
3070 (spi_controller_deregister_global_keygrabs): impl.
3071 (spi_controller_update_key_grabs): re-issue the grab if
3072 we just recieved a notification.
3074 * test/test-simple.c (key_listener_cb): remove debug.
3076 * registryd/deviceeventcontroller.c
3077 (spi_controller_register_device_listener): after
3078 registering a global keygrab, actualy register it !
3079 don't wait for a timeout; doh !
3081 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
3082 to make it more readable / manipulable.
3083 s/grabmask/grab_mask/ s/refcount/ref_count/
3084 s/keyval/key_val/ s/modmask/mod_mask
3086 2002-01-08 Michael Meeks <michael@ximian.com>
3088 * registryd/deviceeventcontroller.c
3089 (spi_controller_register_with_devices): use gdk calls to
3091 (global_filter_fn): implement the filter.
3092 (spi_device_event_controller_check_key_event): rename to
3093 (spi_device_event_controller_forward_key_event): this & upd.
3094 (spi_get_display): replace with GDK_DISPLAY.
3096 * registryd/deviceeventcontroller.c
3097 (spi_controller_deregister_device_listener): unroll into
3098 (impl_deregister_keystroke_listener): here to simplify.
3099 (spi_controller_register_global_keygrabs): split cut and
3100 paste (!) out into (_register_keygrab): here, shorter & sweeter.
3101 (spi_controller_deregister_device_listener): remove.
3102 (impl_register_mouse_listener): remove, no mouse listener
3103 support in at-spi-1.0
3105 * registryd/registry.c
3106 (_device_event_controller_hook): kill.
3107 (spi_registry_init): upd.
3109 * registryd/deviceeventcontroller.c
3110 (spi_device_event_controller_class_init): upd.
3111 (spi_check_key_event): merge into.
3112 (spi_device_event_controller_check_key_event):
3113 here and kill strange static ev init, don't leak
3114 the x_event - nor dynamicaly allocate it.
3116 * registryd/registry-main.c (main): re-direct
3117 timeout to remove strange vtable mess.
3119 * registryd/deviceeventcontroller.c
3120 (remove_listener_cb): impl.
3121 (spi_controller_deregister_device_listener):
3122 fix re-enterancy hazard.
3124 2002-01-07 Michael Meeks <michael@ximian.com>
3126 * registryd/deviceeventcontroller.c
3127 (spi_device_event_controller_new): upd.
3128 (impl_notify_listeners_sync): upd. debug.
3129 (spi_notify_keylisteners): fix re-enterancy hazards,
3130 prettify, remove O(n*n) iteration.
3131 (spi_controller_grab_keyboard): fix iteration.
3132 (spi_check_key_event): re-format to suit coding style.
3133 Clean all the warnings - we're warning free.
3135 * registryd/deviceeventcontroller.h:
3136 * registryd/registry.h: make mutualy referential with
3137 typesafe forward references instead of (!) void pointer
3140 2002-01-11 Michael Meeks <michael@ximian.com>
3142 * cspi/spi_accessible.c (role_names): add a role name
3143 to sync this array with the enum; and make the regression
3146 2002-01-10 Michael Meeks <michael@ximian.com>
3148 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
3149 allow expansion of enumeration & kill warning.
3151 * test/test-simple.c (key_listener_cb): impl.
3152 (test_keylisteners): impl.
3154 * cspi/spi-listener.h: make listener signatures const
3155 on the provided (const) events.
3157 * test/keysynth-demo.c: upd. to const events.
3159 * test/simple-at.c: ditto.
3161 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3164 Rev the version to 0.5 (the previous tarball was named 0.4,
3165 even though the micro number was 3), so we need to rev upwards
3166 again for beta2/"desktop-alpha"
3169 Checked in a demo script, which requires editing before use!
3170 Proceed with caution.
3173 Fixed typo in header which was redefining SPI_ACTION_CLASS.
3175 * cspi/spi_accessible.c:
3176 Add a couple of missing enum initializations, and fix some enum
3179 * cspi/spi_registry.c:
3180 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
3182 * docs/reference/cspi/at-spi-cspi-sections.txt:
3183 Remove/fix a couple of broken document references.
3186 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
3187 as Alt-Control to listen for commands, since on some systems
3188 Control-Alt may already be grabbed.
3190 2002-01-10 Bill Haneman <bill.haneman@sun.com>
3193 Update version number to 0.4 for Beta2.
3195 * libspi/accessible.c, libspi/accessible.h:
3196 Expose spi_accessible_construct, to enable libgail-gnome
3197 construction from spi_accessible subtype.
3199 * utils/magnifier.c:
3200 Workaround for bug in some non-gnome-compliant window managers
3201 which made magnifier resize improperly.
3203 2002-01-09 Bill Haneman <bill.haneman@sun.com>
3205 * libspi/accessible.c: (spi_accessible_new) :
3206 Move the test for SPI_IS_REMOTE_OBJECT to
3207 spi_accessible_new_return, fixing a bug and compile time warning.
3209 2002-01-08 Michael Meeks <michael@ximian.com>
3211 * registryd/registry.c (parse_event_type): remove strndup.
3213 * libspi/Makefile.am (libspi_la_SOURCES): remove
3214 sources already included in the headers section.
3216 * libspi/util.c: add.
3218 * libspi/spi-private.h: add.
3220 * registryd/registry.c: update to moved list iterators.
3222 2002-01-05 Michael Meeks <michael@ximian.com>
3224 * test/simple-at.c (main): upd. auto-module set to atk-bridge
3226 * test/test-simple.c (main): ditto.
3228 2002-01-04 Michael Meeks <michael@ximian.com>
3230 * libspi/accessible.c (spi_accessible_new): remove 2nd,
3231 redundant construct.
3233 * registryd/registry.c
3234 (get_listener_list): impl.
3235 (impl_accessibility_registry_register_global_event_listener):
3236 re-impl. to simplify using ~, remove dodgy const cast off.
3237 (parse_event_type): constify.
3238 (impl_accessibility_registry_deregister_global_event_listener_all):
3239 re-write, more efficiency and simplicity, kill re-enterancy
3241 (compare_listener_corbaref, compare_corba_objects),
3242 (compare_listener_quarks): define out.
3243 (impl_accessibility_registry_deregister_global_event_listener):
3244 re-write for effiency, and nail re-enterancy hazard.
3245 (impl_accessibility_registry_get_desktop_list): impl.
3246 (re_enterant_list_delete_link): impl.
3247 (re_enterant_list_foreach): impl.
3248 (remove_listener_cb): impl.
3249 (_registry_notify_listeners): kill.
3250 (notify_listeners_cb): impl.
3252 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
3253 (SPI_getDesktopList): impl.
3255 * test/test-simple.c (test_desktop): test the methods.
3257 2002-01-03 Michael Meeks <michael@ximian.com>
3259 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
3260 keystrings since we free them
3261 (SPI_freeAccessibleKeySet): in here.
3263 * libspi/accessible.c (spi_accessible_new): kill warning,
3264 wonder what is going on with the constructor here.
3266 2002-03-01 Bill Haneman <bill.haneman@sun.com>
3268 * libspi/accessible.c (spi_accessible_new ()) :
3269 Added check to see if AtkObject is an SpiRemoteObject before
3270 creating an SpiAccessible.
3272 2002-05-01 Bill Haneman <bill.haneman@sun.com>
3274 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
3275 Enable keygrabs using the Control modifier, now that they are
3276 working properly (they were previously disabled).
3279 Change the command keygrab for this demo to "Control+Alt", so as
3280 to conflict with fewer other key commands on the system; this
3281 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
3283 Removed a pointlessly-chatty keylistener for unshifted keys
3284 (shifted keys are still reported).
3286 2002-02-01 Bill Haneman <bill.haneman@sun.com>
3288 * libspi/remoteobject.h:
3289 * libspi/remoteobject.c:
3290 Added definitions for special AtkObject subtype, required for
3291 support of remote components (specifically, used by BonoboControl
3292 accessibility implementation).
3294 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
3296 * cspi/spi.h: synched relation types with ATK
3298 * cspi/spi_accessible.c: Added implementations of
3299 AcccessibleRelation_* methods
3301 * idl/Accessibility_Relation.idl: added getRelationTypeName
3302 method. Synched known relation types with ATK. Allowed for
3303 relation type extension with the RELATION_EXTENDED type.
3305 * libspi/relation.c: Provided implementations for
3306 AccessibleRelation methods.
3308 2002-01-01 Bill Haneman <bill.haneman@sun.com>
3310 API tweaks for today's API 'freeze'.
3313 Added placeholder functions to allow future compatible expansion
3314 of the IDL interfaces.
3316 * idl/Accessibility_Registry.idl:
3317 Changed generateKeyEvent to generateKeyboardEvent. Changed
3318 signature of this method to accept an optional keystring in
3319 parameter (for complex text input synthesis) and changed use of
3320 simple 'boolean' parameter in registerKeystrokeListener to a
3321 struct, EventListenerMode.
3323 * cspi/spi_accessible.c:
3325 * cspi/spi_streamablecontent.c:
3326 Added references to AccessibleStreamableContent interface, and
3327 definition and implementation of AccessibleStreamableContent
3330 * cspi/spi_registry.c:
3332 Changed generateKeyEvent API to generateKeyboardEvent,
3333 taking a new (optional) keystring parameter to support complex
3338 Renamed directory (to better reflect its actual purpose, bridging
3339 from at-spi to ATK). The .so module is also now named
3342 * idl/Accessibility_Hypertext.idl:
3343 * libspi/accessible.c:
3344 * libspi/hypertext.h:
3345 * libspi/hypertext.c:
3346 Changed Accessibility_Hypertext to *not* derive from
3349 * cspi/spi_registry.c:
3350 Added list of legal event type names for 'window' events, which
3351 completes the registry event API.
3353 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
3355 * at-bridge/bridge.c: Added registration for separate
3356 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
3357 signals. If either of the first two parameters to the generic
3358 bridge signal handler are ints, they are passed on as event
3359 details. This allows an AT to determine what text was inserted.
3361 2001-12-21 Bill Haneman <bill.haneman@sun.com>
3363 * registryd/deviceeventcontroller.c:
3364 Fixed regressions in generateKeyEvent caused by the removal of
3365 gdk_init from registryd; we now use pure X calls to connect to the
3366 display, which makes sense because deviceeventcontroller already
3367 uses a fair bit of X API (should eventually be migrated to a
3368 'portability layer').
3370 * registryd/desktop.c:
3371 Fixed minor regression in spi_desktop_init, changed the way the
3372 desktop name is being set to work with new spi_base API
3373 (gobject-based, rather than AtkObject-based).
3375 * registryd/Makefile.am:
3376 Minor revision of makefile to use XTST_LIBS variable rather than
3377 hard-wiring the Xtst LD_ADD element.
3379 * test/keysynth-demo.c:
3380 Tweaked an output message; added initialization of the
3381 'keystrings' member of the "switch listener" key_set.
3383 * libspi/relation.c:
3384 Squashed compile-time warning.
3386 * libspi/accessible.c:
3387 Cosmetic and formatting fixes, renamed a static method.
3389 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
3391 * libspi/accessible.c
3393 * libspi/application.c
3396 * libspi/component.c
3397 * libspi/editabletext.c
3398 * libspi/hyperlink.c
3399 * libspi/hypertext.c
3401 * libspi/selection.c
3405 * registryd/desktop.c:
3406 Changed SpiBase to contain a GObject pointer rather than an AtkObject
3408 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3410 * idl/Accessibility_Registry.idl:
3411 Added boolean member 'is_text' to DeviceEvent. This is for the
3412 use of key events, and helps prevent ambiguity between composed
3413 key strings and keysym names, since both may potentially be
3414 returned in the 'event_string' member.
3416 * at-bridge/bridge.c:
3417 * registryd/deviceeventcontroller.c:
3418 Use the 'is_text' member when notifying device event listeners.
3419 Knon issue: composed characters are not dealt with correctly by
3420 the global key listener implementation yet.
3422 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3424 * at-bridge/bridge.c:
3425 Namespaced local static methods to spi_atk_bridge_* where
3426 previously named bridge_*, and spi_* elsewhere.
3428 * at-bridge/bridge.c:
3429 * cspi/bonobo/cspi-bonobo-listener.c:
3430 Added demarshalling/conversion for string member of
3431 Accessibility_DeviceEvent to AccessibleKeystroke.
3433 * registryd/deviceeventcontroller.c:
3434 Added code to fill the Accessibility_DeviceEvent key string value
3435 member for global key events (i.e. from XGrabKey), to match
3436 behavior of Accessibility_DeviceEvent from the toolkit key events
3437 from the bridge. Fixed timestamp in global key event notifications.
3440 Added printout of key event's string value to
3441 report_ordinary_key_event, for demo/debugging purposes.
3443 2001-12-15 Bill Haneman <bill.haneman@sun.com>
3445 * idl/Accessibility_Registry.idl:
3446 Removed Accessibility_KeyStroke structure in favor of generic
3447 Accessibility_DeviceEvent structure.
3448 Changed Accessibility_ControllerEventMask from a struct to an
3451 * at-bridge/bridge.c:
3452 Changed APIs to use DeviceEvent structure as above, and removed
3453 bogus casting between these event structures.
3455 * cspi/spi-listener.h:
3456 Added keystring member of AccessibleKeystroke structure, to enable
3457 matching on event "names" rather than only hardware codes and
3461 Added keystrings member of AccessibleKeySet struct, to allow
3462 matching on event names (as above).
3463 Added declarations for SPI_createAccessibleKeySet and
3464 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
3465 event modmasks directly as unsigned ints rather than structs with
3466 refcounts, in the DeviceEventController methods.
3468 * cspi/spi_registry.c:
3469 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
3471 * cspi/spi-roletypes.h:
3472 Added documentation of newly added SPI Roles.
3474 * cspi/bonobo/cspi-bonobo-listener.c:
3475 Changes in support of API changes above.
3477 * libspi/accessible.c:
3478 Converted APIs to use DeviceEvent structure (see IDL changes
3481 * registryd/deviceeventcontroller.c:
3482 Added DEControllerGrabMask structure to track keygrabs not only by
3483 modmask but by keyset as well; this allows us to do "global"
3484 (i.e. X) keygrabs on a per-key or keyset basis rather than always
3485 grabbing on AnyKey and then filtering after-the-fact.
3486 Bugfixes for event filtration mean that we don't get false matches
3487 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
3489 * registryd/deviceeventcontroller.c:
3490 Namespaced a number of static methods to use spi_ prefix. Major
3491 revision to internals of global (i.e. X) key grabs.
3493 * registryd/deviceeventcontroller.h:
3494 Removed keymask_list and added keygrabs_list to
3495 SpiDeviceEventController struct.
3498 Added use of SPI_createAccessibleKeySet API when creating a
3499 listener for only one key. Attach a listener to "shift spacebar
3500 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
3501 X key event names to SPI key event names, so that listeners are
3502 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
3504 * test/keysynth-demo.c:
3505 Changed (incorrect) use of X key event names (KeyPressed,
3506 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
3509 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3511 * libspi/accessible.c:
3512 Convert all AtkRole enumerations to Accessibility_Role enums when
3513 getting a role from an AtkObject.
3515 * cspi/spi_accessible.c:
3516 Complete the conversion of Accessibility_Role enums at runtime to
3517 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
3518 role enums correctly match those given in spi-roletypes.h.
3519 Re-synchronize the local names list for AccessibleRole_getName ().
3520 AccessibleRole_getName is now deprecated, since it duplicates the
3521 more reliable Accessible_getRoleName.
3522 Added some role types from Accessibility_Role.idl.
3524 * idl/Accessibility_Role.idl:
3525 Added some role types used by AtkRole.
3527 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3530 * cspi/spi_registry.c:
3532 * cspi/cspi-bonobo-listener.c:
3533 Namespaced all methods that did not begin with an "SPI_" or
3534 "Accessible" prefix to "SPI_".
3537 Homogenized internal function namespace to "cspi_" for statics.
3540 Patched tests to use the new CSPI API.
3542 * docs/reference/cspi/at-spi-cspi-sections.txt:
3543 Updated docs to reflect namespace changes, and added a number of
3544 methods to the documentation.
3546 * registryd/registry.c:
3547 Changed use of strings and string hashes in listener event
3548 matching and parse_event_string to use GQuark, which is guaranteed
3551 * registryd/registry.h:
3552 Squashed annoying warning.
3554 * idl/Accessibility_Role.idl:
3555 Extended range of available Accessibility_Role values.
3557 * cspi/spi_accessible.c:
3558 Re-ordered role names.
3560 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3562 * idl/Accessibility_Value.idl:
3563 Revert use of union back to CORBA_double, since the double type is
3564 more efficient and can contain the other types without loss of
3567 * idl/Accessibility_Accessible.idl:
3568 Added method Accessibility:Accessible:getRoleName, to complement
3569 Accessibility:Accessible:getRole.
3571 * cspi/spi_accessible.c:
3573 Added C binding for above, Accessible_getRoleName (), and changed
3574 signature of Accessible_getRole () to return an AccessibleRole.
3576 * cspi/spi-roletypes.h:
3577 Changed AccessibleRole_getName to return a char * instead of a
3578 const char *. This method is now at least temporarily deprecated
3579 in favor of asking Accessibles for their RoleNames directly.
3582 Revert to match Accessibility_Value.idl;
3586 Change signature of AccessibleValue methods to use double rather
3590 * cspi/spi_accessible.c:
3591 Changed Accessible_getRole to return an AccessibleRole enum rather
3592 than a UTF-8 string. The UTF-8 string can still be obtained via
3593 AccessibleRole_getName ().
3595 * test/test-simple.c:
3596 Add test_action. Small fixup to match API change to Accessible_getRole.
3599 Bugfix for get_action_from_servant ().
3601 2001-12-11 Michael Meeks <michael@ximian.com>
3603 * libspi/libspi.h: remove registry.h and
3604 desktop.h, deviceeventcontroller.h
3606 * libspi/Makefile.am: remove registry.[ch],
3607 desktop.[ch], deviceeventcontroller.[ch]
3609 * registryd/Makefile.am: add registry.[ch],
3610 desktop.[ch], rename registryd.c to registry-main.c.
3611 add deviceeventcontroller.[ch]
3613 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3616 Replace setenv() call with putenv ().
3618 * libspi/component.c:
3619 Bugfix in AccessibleComponent_getExtents (),
3622 2001-12-11 Michael Meeks <michael@ximian.com>
3624 * libspi/image.c (impl_getImageExtents): impl.
3625 (spi_image_class_init): upd.
3628 (AccessibleImage_getImageDescription): fix daft bug
3631 * test/test-simple.c (global_listener_cb): update
3632 to only quit if not --poke
3633 (main): catch --poke.
3634 (validate_accessible): upd. dumping, call test_image
3637 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
3640 * idl/Accessibility.idl: update all IDL includes.
3642 * idl/*.idl - rename to namespace - this sucks, blame
3643 mjs' bad decision for oafd.
3645 * test/test-simple.c (create_test_window): add more tests.
3646 (create_tree): split this out.
3647 (validate_accessible): bugfix.
3649 2001-12-11 Michael Meeks <michael@ximian.com>
3651 * cspi/bonobo/cspi-bonobo-listener.c:
3652 (cspi_kestroke_listener_unref),
3653 (cspi_event_listener_unref): impl. undoing previous
3654 homenous environment - for Bill.
3656 * cspi/spi_table.c (long_seq_to_array): use
3659 * cspi/spi_main.c: split out all bonoboish bits into
3662 * cspi/spi-impl.h: upd. typedefs.
3664 * cspi/spi_registry.c: update to lowlevel API,
3665 return booleans to indicate success in some places.
3667 * cspi/spi_event.c: update to lowlevel API.
3669 * cspi/bonobo/Makefile.am: add.
3671 * cspi/bonobo/cspi-lowlevel.h: add
3673 * cspi/bonobo/cspi-bonobo.c: add
3675 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
3677 * cspi/Makefile.am: remove spi-listener-impl.[ch],
3678 (SUBDIRS): add bonobo, link in the libs.
3680 * cspi/spi-util.c: kill this file.
3682 * TODO: merge in my bits.
3684 2001-12-11 Michael Meeks <michael@ximian.com>
3686 * test/test-simple.c (test_value, test_table, main):
3687 remove unused variables causing warnings.
3689 * configure.in: cleanup checks - require gail.
3691 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3694 Changed Value interface to use SValue (scalars) rather than
3695 assuming all values are floats. This allows floats, doubles,
3696 longs, shorts, and unsigned values to be manipulated.
3697 Introduced Accessibility:SValue union.
3700 Updated to use new API above, and to work correctly with GValues
3701 of different types in AtkValue.
3704 Updated to use new API above. cspi's API is as yet unchanged.
3707 Updated the Value revision action item.
3709 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3711 * test/test-simple.c:
3712 Added test_table (GtkTreeView widget in test window to follow).
3713 Un-commented test_value, added GtkRange widget.
3714 Added GtkTreeView widget with GtkListStore. It passes regression
3715 test but leaks one SPI object for some reason.
3718 Fixed bug in impl__set_currentValue.
3720 2001-12-10 Michael Meeks <michael@ximian.com>
3722 * cspi/spi_text.c: audit for exception handling,
3723 tolerating NULL object references safely etc.
3725 * cspi/spi_value.c: ditto.
3727 * cspi/spi_table.c (AccessibleTable_getSummary),
3728 (AccessibleTable_getAccessibleAt),
3729 (AccessibleTable_getRowHeader),
3730 (AccessibleTable_getColumnHeader),
3731 (AccessibleTable_getCaption): fix bugs hidden by
3733 (long_seq_to_array): impl.
3734 (AccessibleTable_getSelectedRows),
3735 (AccessibleTable_getSelectedColumns): use it.
3737 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3740 Added a TODO list (rough and short for now).
3742 * cspi/spi_hyperlink.c:
3743 * cspi/spi_hypertext.c:
3744 Fixed macro name typos, and remove use of obsolete macro in
3745 AccessibleHyperlink_getLink.
3747 * cspi/spi_action.c:
3748 * cspi/spi_accessible.c:
3749 * cspi/spi_application.c:
3750 * cspi/spi_component.c:
3751 * cspi/spi_selection.c:
3754 Documentation fixes (removed return values from ref/unref methods).
3756 2001-12-10 Michael Meeks <michael@ximian.com>
3758 * cspi/spi_action.c: audit for exception handling,
3759 tolerating NULL object references safely etc.
3761 * cspi/spi_accessible.c: ditto.
3763 * cspi/spi_component.c: ditto.
3765 * cspi/spi_editabletext.c: ditto.
3767 * cspi/spi_hyperlink.c: ditto.
3769 * cspi/spi_hypertext.c: ditto.
3771 * cspi/spi_image.c: ditto.
3773 * cspi/spi_selection.c: ditto.
3775 2001-12-10 Michael Meeks <michael@ximian.com>
3777 * configure.in: use cspi/libspi.pc.in instead.
3779 * Makefile.am (pkgconfig_DATA): upd. to match.
3781 * test/simple-at.c (report_focus_event): kill hacks around
3782 bad return values, use putenv not setenv
3784 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
3785 fire ChildGone - I killed it.
3787 * libspi/component.c
3788 (impl_accessibility_component_get_extents): remove
3791 * idl/Accessible.idl: kill ChildGone exception.
3793 * cspi/*.[ch]: kill int return from ref / unref.
3795 * cspi/spi_main.c (cspi_object_add_check): fold into
3796 (cspi_object_add): here.
3798 * cspi/spi_component.c (AccessibleComponent_getExtents):
3799 handle exceptions elegantly.
3801 * cspi/spi-private.h (cspi_check_ev_return),
3802 (cspi_return_if_fail): impl.
3804 * cspi/spi_accessible.c: use extensively.
3805 (AccessibleStateSet_equals): add direct compare check.
3807 * cspi/spi_selection.c: tolerate NULL objs, and check
3808 exceptions before return.
3810 * cspi/spi-util.c (cspi_warn_ev): rename to
3811 (cspi_check_ev): this & don't pass ev in; no point.
3813 2001-12-10 Michael Meeks <michael@ximian.com>
3815 * test/test-simple.c: use putenv not setenv
3816 (get_environment_vars): more chatty if you're not using
3819 * test/simple-at.c: do the setenv so more people see the
3822 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3824 * libspi/registry.c:
3825 Changed check of CORBA_environment on notification to be a warning
3826 instead of an error for the moment, since we can recover from this
3827 error when caused by a queued notification from a dead app.
3830 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
3831 used by all current implementors of AtkValue), and coerce to
3832 CORBA_float. (Proper general case fix may require change to Value.idl).
3834 2001-12-09 Bill Haneman <bill.haneman@sun.com>
3838 * cspi/spi_accessible.c:
3839 Documentation fixes: added user_data params to documentation for
3840 listeners and callbacks.
3842 * cspi/spi_accessible.c:
3843 Changed AccessibleStateSet_compare to return a
3844 StateSet rather than return the difference set into a third parameter.
3847 2001-12-09 Bill Haneman <bill.haneman@sun.com>
3850 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
3851 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
3855 Remove subdirectory po from SUBDIRS for now.
3857 * at-bridge/bridge.c:
3858 Beefed up a couple of debug printouts.
3859 One-line fix for signal notification name formatting.
3861 * libspi/accessible.c:
3862 Added assertion to spi_accessible_new ().
3864 * libspi/application.c:
3865 Put #ifdef qualifiers around a printf.
3868 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
3870 * registryd/Makefile.am:
3872 Replaces use of XML_I18N_MERGE_SERVER_RULE with
3873 INTLTOOL_SERVER_RULE macro.
3876 Added an event listener for several ATK signals, for
3877 testing and debugging. Removed a few g_warnings.
3878 Added test output if focussed item implements the Value interface.
3880 * test/test-simple.c:
3881 Added test_value () function (known not to pass at the moment, so
3882 not actually called yet.
3884 2001-12-08 Michael Meeks <michael@ximian.com>
3886 * at-bridge/bridge.c (bridge_focus_tracker),
3887 (emit_eventv): fix the same ref. leak.
3888 (register_atk_event_listeners): don't leak.
3890 * cspi/spi-listener-impl.c (cspi_event): more
3891 protection from client code.
3893 * test/test-simple.c (test_desktop): unref the app.
3895 * test/Makefile.am: upd. TESTS.
3897 * at-bridge/bridge.c (bridge_exit_func): release the registry.
3899 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
3901 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
3903 * cspi/spi_registry.c: constify in strings.
3904 (deregisterGlobalEventListenerAll): don't release the ref.
3906 * cspi/spi.h: start removing redundant / conflicting
3907 gtkdoc comments, making the API readable at a glance :-)
3909 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
3911 * test/keysynth-demo.c (keysynth_exit, main): upd.
3913 * test/simple-at.c (main, simple_at_exit): upd.
3915 * test/test-simple.c (unutterable_horror): kill.
3916 (utterable_normal_derefs): kill.
3917 (main): upd & do a setenv before gtk_init, so that we
3918 can use memprof - and to save the pain of remembering
3919 this, if we're running under memprof - don't exit.
3921 * cspi/spi_main.c (SPI_exit): return exit status
3923 (SPI_event_quit): impl.
3924 (SPI_event_main): simplify.
3925 (cspi_is_gnome_app): kill.
3926 (SPI_init): kill isGNOMEapp arg.
3928 * at-bridge/bridge.c (register_atk_event_listeners):
3929 re-instate the unref.
3930 (bridge_exit_func): don't re-activate the registry,
3931 protect vs. theoretical re-entry, use the
3932 AT_BRIDGE_SHUTDOWN env. var to determine whether to
3933 assert a clean shutdown - for regression tests.
3935 2001-12-08 Abel Cheung <maddog@linux.org.hk>
3937 * configure.in: Comment out dummy i18n support for now,
3938 otherwise it fails to build.
3939 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
3940 EXTRA_DIST. They are missing in tarball.
3942 2001-12-07 Michael Meeks <michael@ximian.com>
3944 * util/magnifier.c: kill bonobo activation reg. race.
3946 * libspi/component.c
3947 (impl_accessibility_component_get_extents): make it match
3950 * libspi/registry.c (_registry_notify_listeners):
3951 re-remove X headers & reconcile conflicts.
3952 (spi_listener_struct_free): bad conflict resolve.
3953 (impl_accessibility_registry_register_application):
3954 more bad merging fixed.
3955 (impl_accessibility_registry_deregister_application): ditto.
3956 (spi_registry_new): ditto.
3957 (spi_registry_init): don't have an applications field.
3959 [ merge fixups2 branch to here ]
3960 2001-12-07 Michael Meeks <michael@ximian.com>
3962 * test/simple-at.c (report_focus_event),
3963 (report_focussed_accessible): remove g_warning debug.
3965 2001-12-07 Michael Meeks <michael@ximian.com>
3967 * test/test-simple.c (validate_tree): comment out some checks.
3968 (test_desktop): app now not registered idly - horay.
3970 2001-12-07 Michael Meeks <michael@ximian.com>
3972 * cspi/spi_registry.c
3973 (registerAccessibleKeystrokeListener): clean, stop it leaking
3974 great swathes of memory, and device event controller references.
3975 ensure we always pass valid sequences.
3976 (deregisterAccessibleKeystrokeListener): ditto.
3977 (generateKeyEvent): upd.
3979 * at-bridge/bridge.c (bridge_key_listener): handle
3980 registry dead exception gracefully.
3981 (bridge_focus_tracker, emit_eventv): free ev.
3983 * test/simple-at.c (report_focus_event): fix polarity.
3985 * libspi/application.c (notify_listeners): kill the ev
3986 argument, and make sure we init the ev we use.
3987 (spi_application_object_event_listener): split out a chunk
3988 (get_atk_object_ref): here & fixup.
3989 (reverse_lookup_name_for_toolkit_event): make const.
3990 (spi_application_toolkit_event_listener): fixup, kill leaks
3993 * at-bridge/bridge.c (register_atk_event_listeners):
3994 don't unref the noop object - causes grief.
3996 * libspi/registry.c: remove the X headers.
3997 turn off the debug churn.
3999 * libspi/accessible.c (spi_accessible_new_return): only
4000 release the ref if we are supposed to [doh]
4002 * test/simple-at.c (report_button_press, report_focus_event):
4003 guard vs. unexpected exit.
4005 * at-bridge/bridge.c (gtk_module_init): prune printf.
4006 (bridge_exit_func): fix app unref.
4008 * libspi/Makefile.am: don't install registry or desktop.h
4010 * libspi/*.h: update includes.
4012 * libspi/application.h: don't include ourself, or
4013 other redundant headers.
4015 2001-12-06 Michael Meeks <michael@ximian.com>
4017 * libspi/accessible.c
4018 (get_accessible_from_servant): impl.
4019 Upd. all CORBA impl.s to use it killing cut and paste.
4021 * cspi/spi_main.c (cspi_cleanup): guard vs. double
4023 (SPI_init): register atexit cleanup handler here.
4025 2001-12-06 Michael Meeks <michael@ximian.com>
4027 * at-bridge/bridge.c (gtk_module_init): g_error on
4028 activation exception
4030 2001-12-06 Michael Meeks <michael@ximian.com>
4032 * at-bridge/bridge.c (gtk_module_init): some sort of
4033 confusing merge clash - reverted.
4034 (bridge_idle_init): ditto.
4036 * test/test-simple.c (main, utterable_normal_derefs):
4037 merge from Bill - somehow not committed.
4039 2001-12-06 Michael Meeks <michael@ximian.com>
4041 * libspi/value.c (spi_value_class_init): upd.
4042 (spi_value_finalize): kill.
4044 * libspi/table.c (spi_table_finalize): kill.
4045 (spi_table_interface_new): upd.
4046 (spi_table_class_init): upd.
4047 (get_table_from_servant): impl.
4048 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4050 * libspi/selection.c (spi_selection_finalize): kill.
4051 (spi_selection_interface_new): upd.
4052 (spi_selection_class_init): upd.
4053 (get_selection_from_servant): impl.
4054 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4056 * libspi/relation.c (spi_relation_finalize): kill.
4057 (spi_relation_class_init, spi_relation_new): upd
4059 * libspi/image.c (spi_image_finalize): kill.
4060 (spi_image_class_init): upd.
4061 (spi_image_interface_new): upd.
4062 (get_image_from_servant): impl.
4063 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4065 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
4066 (spi_hyperlink_finalize): kill.
4067 (spi_hyperlink_new): upd.
4068 (get_hyperlink_from_servant): impl.
4069 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4071 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
4072 (spi_hypertext_finalize): kill.
4073 (spi_hypertext_class_init): upd.
4074 (get_hypertext_from_servant): impl.
4075 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4077 * libspi/editabletext.c (spi_editable_text_finalize): kill.
4078 (spi_editable_text_interface_new): upd.
4079 (get_editable_text_from_servant): impl.
4080 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4082 * libspi/text.c (get_text_from_servant): impl.
4083 All impls - update to use it killing more cut and paste,
4084 also fix bad string returns on duff args ( a somewhat
4085 impossible case to handle - but hey ).
4086 (spi_text_construct): impl.
4087 (spi_text_interface_new): upd.
4088 (spi_text_object_finalize): kill.
4090 * libspi/component.c
4091 (accessibility_component_object_finalize): kill.
4092 (spi_component_class_init): upd.
4093 (get_component_from_servant): impl. helper to kill cut & paste.
4094 (impl_accessibility_component_contains):
4095 (impl_accessibility_component_get_accessible_at_point):
4096 (impl_accessibility_component_get_position):
4097 (impl_accessibility_component_get_extents):
4098 (impl_accessibility_component_get_mdi_z_order):
4099 (impl_accessibility_component_get_layer):
4100 (spi_component_interface_new): upd.
4102 * libspi/action.c (spi_action_finalize): kill.
4103 (spi_action_class_init): upd. inherit from SpiObject.
4104 (spi_action_interface_new): upd.
4105 (get_action_from_servant): impl. helper to reduce cut & paste.
4106 (impl_getKeyBinding, impl_getName, impl_doAction),
4107 (impl_getDescription): Use it everywhere.
4109 * cspi/spi_main.c (get_live_refs): a pointer hash.
4110 (spi_object_hash, spi_object_equal): comment out.
4111 There are issues with CORBA object hashing that need
4114 * libspi/application.c (spi_application_init),
4115 (spi_application_new): upd.
4117 * libspi/accessible.c (spi_accessible_object_finalize): kill.
4118 (spi_accessible_class_init): upd.
4119 s/accessible/object/ in epv methods.
4121 2001-12-05 Bill Haneman <bill.haneman@sun.com>
4123 * at-bridge/bridge.c:
4124 Reorder the bridge initialization into the bridge gtk_module_init,
4125 an immediate call to bridge_register_app, and an idle_add for
4126 register_atk_event_listeners (the only code that *must* wait until
4127 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
4128 the activation, creates the application's Accessible object, and
4129 queues the bridge_idle_init function. Restored call to
4130 Accessibility_Registry_deregisterApplication().
4131 Prior to making this call we obtain a new reference to the
4132 registry, which is a temporary hack that helps us handle apps that
4133 shut down the bonobo mainloop before we get there.
4135 * libspi/registry.c:
4136 Fix string leakage in debug block, and don't segv if a an app
4137 dies before its event notifications have been propagated.
4140 Modify cspi_check_ev() to call g_warning() rather than g_error(),
4141 as stopgap measure until we get proper exception handling when
4142 objects die during or before interrogation.
4146 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
4147 Also changed default value of is_gnome_app to TRUE.
4150 * test/keysynth-demo.c:
4151 Changed use of SPI_init and SPI_event_main to reflect API change above.
4154 Made report_focus_event check the warning value from getName
4155 before reporting on focussed accessible; simplifies handling of
4156 notifications from dead objects.
4158 * test/test-simple.c: (Changes not in this patch since source is
4161 2001-12-05 Michael Meeks <michael@ximian.com>
4163 * registryd/registryd.c (main): protect against
4164 bonobo-activation startup race condition.
4166 * cspi/spi_main.c (cspi_object_add_check): cope
4167 with the exception elegantly.
4169 * idl/Accessible.idl: decl. ChildGone
4171 * libspi/desktop.c (spi_desktop_dispose): impl.
4172 (spi_desktop_class_init): upd.
4173 (spi_desktop_add_application),
4174 (spi_desktop_remove_application),
4175 (abnormal_application_termination): impl.
4176 (impl_desktop_get_child_at_index): re-impl.
4179 (impl_accessibility_registry_deregister_application),
4180 (impl_accessibility_registry_register_application):
4181 kill excessive debug clutter.
4183 * test/test-simple.c (test_misc): test some NULL
4184 tolerance. (main): upd.
4186 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
4187 implements no interfaces - so let's not crash.
4189 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
4191 * libspi/accessible.c (spi_accessible_new_return): impl.
4192 helper to calm the cut and paste, to cope with
4193 NULL AtkObjects effectively and efficiently, and to kill
4194 the referencing bugs.
4196 * libspi/table.c (impl_getAccessibleAt),
4197 (impl_getRowHeader, impl_getColumnHeader): upd.
4199 * libspi/hyperlink.c (impl_getObject): upd.
4201 * libspi/accessible.c
4202 (impl_accessibility_accessible_get_child_at_index): upd.
4204 * libspi/component.c
4205 (impl_accessibility_component_get_accessible_at_point): upd.
4207 * test/test-simple.c (test_editable_text, test_text): impl.
4210 * cspi/spi_editabletext.c
4211 (AccessibleEditableText_insertText): constify.
4213 * test/test-simple.c (focus_me): make more robust.
4215 * libspi/accessible.c: remove some printfs in methods that
4216 we test and work fine, so we can get a clean tree dump.
4218 * test/test-simple.c (validate_accessible),
4219 (validate_tree): make tree dumping pretty too.
4221 * at-bridge/bridge.c (bridge_signal_listener): upd. so
4222 it builds without debug on.
4224 * test/test-simple.c (validate_accessible): fix the most
4227 * cspi/spi_main.c (spi_object_release): leave the nicely
4228 blanked memory around if in debug mode.
4230 * cspi/spi-listener-impl.c (cspi_event): use add_check.
4232 [committed to fixups2]
4233 2001-12-05 Michael Meeks <michael@ximian.com>
4235 * libspi/editabletext.c
4236 (spi_editable_text_class_init): g_type_class_peek_parent,
4237 not interface peek - so we finalize cleanly.
4239 * libspi/accessible.c (spi_accessible_new): kill debug.
4241 * test/test-simple.c (validate_accessible): fix ref.
4242 leak, print strings before freeing them; sigh, comment a
4243 chunk out due to strangeness.
4244 (validate_tree): unref the child after use.
4246 * cspi/spi_component.c (AccessibleComponent_getLayer):
4247 add missing break statement, switch on zlayer not the
4248 uninitialized retval.
4250 * cspi/spi_main.c (cspi_object_add): add assert, local ref
4251 before (possibly re-entering) remote unref.
4253 * test/simple-at.c (main): unref the desktop.
4255 * cspi/spi_accessible.c (cspi_accessible_is_a): move
4258 * cspi/spi_main.c (cspi_accessible_is_a): here to
4259 isolate bonobo API usage more.
4261 * libspi/registry.c (impl_accessibility_registry_register_application):
4262 prune bogus comment.
4264 2001-12-04 Michael Meeks <michael@ximian.com>
4266 * test/test-simple.c (validate_tree): upd.
4267 IndexInParent check to make it more lucid.
4268 (validate_accessible): dump the tree.
4270 * libspi/accessible.c (de_register_public_ref),
4271 (get_public_refs): impl.
4272 (spi_accessible_new): make more efficient & intuitive.
4273 Now IndexInParent check works.
4275 2001-12-04 Michael Meeks <michael@ximian.com>
4277 * cspi/spi-util.h: remove.
4279 * cspi/spi.h: move SPI_freeString here
4281 * libspi/component.c (impl_accessibility_component_get_layer):
4283 (impl_accessibility_component_get_mdi_z_order): ditto,
4284 return -1 on error - is this ok ?
4286 * test/test-simple.c (test_application): impl.
4288 * cspi/spi_accessible.c (Accessible_getApplication),
4289 (Accessible_isApplication): impl.
4291 * libspi/registry.c (spi_listener_struct_free): release
4292 the CORBA reference too.
4294 * libspi/accessible.c
4295 (impl_accessibility_accessible_get_parent): fix ref leak.
4297 * libspi/registry.c (spi_registry_new): make the registry
4298 immortal - we don't want it to go away ever.
4300 * libspi/application.c
4301 (spi_accessible_application_finalize): impl. cleanup.
4303 * cspi/spi_registry.c
4304 (deregisterGlobalEventListenerAll),
4305 (deregisterGlobalEventListener),
4306 (deregisterAccessibleKeystrokeListener): fix ref leak.
4308 * cspi/spi_main.c (SPI_init): remove redundant ref.
4310 * test/test-simple.c (unutterable_horror): impl. to force a
4315 (impl_accessibility_registry_deregister_application): release
4316 the application when we de-register it.
4318 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
4319 until we have the infastructure to get it right.
4321 2001-12-03 Michael Meeks <michael@ximian.com>
4323 * libspi/Makefile.am: only build eventlistener.[ch]
4325 * libspi/accessible.c
4326 (impl_accessibility_accessible_get_child_at_index): don't leak.
4328 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
4329 before we hit the idle handler.
4331 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
4332 debugging than exit.
4334 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
4336 * libspi/listener.c (impl_notify_event): check source
4337 not NIL before unref.
4339 * libspi/registry.c (impl_registry_notify_event): ditto.
4341 * libspi/eventlistener.c
4342 (impl_accessible_event_notify_event): unref the source.
4344 * libspi/accessibleeventlistener.c
4345 (impl_accessible_event_notify_event): unref the source.
4347 * idl/Event.idl: remove 'hash_id' attribute - of no
4350 * libspi/application.c (notify_listeners): upd list
4352 (spi_application_object_event_listener),
4353 (spi_application_toolkit_event_listener): upd to do correct
4357 (_registry_notify_listeners): update.
4358 (parse_event_type): this method also leaks like a sieve.
4359 (impl_accessibility_registry_deregister_global_event_listener):
4360 fix ETYPE_WINDOW case.
4362 * libspi/application.c
4363 (impl_accessibility_application_register_object_event_listener):
4366 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
4368 * libspi/hypertext.c (impl_getLink): ditto.
4370 * cspi/spi_main.c (cspi_object_add): remove
4371 bogus CORBA_Object_duplicate.
4373 * cspi/spi-listener-impl.c (cspi_event): dup/ref
4376 * cspi/spi_accessible.c
4377 (Accessible_getRelationSet): fix leak / referencing issue.
4379 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
4380 (cspi_object_add, cspi_object_unref): upd.
4381 (spi_object_release, get_live_refs): impl.
4382 (cspi_cleanup): simplify.
4384 * *.[ch]: s/boolean/SpiBoolean/
4386 * cspi/spi_accessible.c (role_names): actualy order so it
4387 corresponds with the enum !
4389 * test/test-simple.c (test_roles): check some role strings
4390 vs. enums to detect offset errors.
4392 2001-12-01 Michael Meeks <michael@ximian.com>
4394 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
4396 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
4398 (Accessible_getChildAtIndex): use cspi_add_check so we
4399 check the ev before using a (possibly) invalid value.
4401 * libspi/accessible.c
4402 (impl_accessibility_accessible_get_parent): don't segv
4405 * at-bridge/bridge.c (gtk_module_init): upd.
4406 (bridge_property_event_listener): don't leak strings
4408 (bridge_state_event_listener),
4409 (bridge_property_event_listener): don't use a static
4410 buffer in case of recursive event emission &
4411 re-enterancy - split out the swathe of cut and paste
4413 (emit_eventv): and fix 2 ref leaks here & comply to the
4415 (bridge_register_app): rename to
4416 (bridge_idle_init): this and kill arg parsing, split
4417 various inits & bonobo-activation registration to module
4418 init time, kill referencing error.
4419 (bridge_exit_func): fix the same leak.
4420 (bridge_focus_tracker): don't leak event structures
4422 (bridge_signal_listener): more leakage and cut & paste
4424 (bridge_key_listener): return the result - FIXME is
4425 this polarity correct ?
4426 (accessibility_keystroke_from_atk_key_event): rename
4427 (accessibility_init_keystroke_from_atk_key_event): and stop
4429 (gtk_module_init): return a value - not that it is checked by
4431 (bridge_key_listener): register my horror at casting between
4432 IDL defined structs.
4433 (bridge_get_registry): kill - not used.
4435 * cspi/spi_accessible.c (Accessible_getRole): make return const.
4437 * test/test-simple.c (test_roles): impl.
4438 (test_desktop, validate_accessible, validate_tree): impl.
4440 * cspi/spi_accessible.c (role_names): fixup bogus
4441 MAX_ROLES setup, make constants const for efficient linkage
4442 (AccessibleRole_getName): conform to coding style, make
4445 2001-11-30 Michael Meeks <michael@ximian.com>
4447 * cspi/spi.h: add missing prototype.
4449 * libspi/registry.c (spi_listener_struct_new): fix sig.
4451 * test/Makefile.am: add test-simple
4453 * test/test-simple.c: add
4455 * test/test.sh: add.
4457 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
4459 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
4460 do it straight - since otherwise we often get an activation race.
4462 [ work before Bill duplicated a chunk of it ... ]
4463 2001-11-30 Michael Meeks <michael@ximian.com>
4465 * libspi/keystrokelistener.c
4466 (spi_keystroke_listener_class_init): fixup arg
4469 * libspi/eventlistener.c
4470 (spi_event_listener_class_init): ditto.
4472 * tests/test.sh: add.
4474 * cspi/spi-listener-impl.h: update macros.
4476 * cspi/spi-listener-impl.c
4477 (cspi_event_listener_remove_callback): add
4478 correct pre-conditions.
4480 * cspi/spi_main.c (SPI_exit): guard vs. double
4481 exits, exit the mainloop nicely.
4482 (SPI_event_main): make more sense.
4483 (SPI_init): move the atexit evilness here so we
4484 always do it (yuck).
4485 (SPI_event_main): upd.
4487 * test/simple-at.c: update for listener changes.
4489 * registryd/registryd.c (main): prune kruft.
4491 * libspi/libspi.h: upd.
4493 * libspi/eventlistener.[ch]: rename broken macros.
4495 * libspi/accessibleeventlistener.[ch]: remove.
4497 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
4499 * test/test-simple.c: Add - automated tests.
4501 * cspi/spi-listener-impl.c (cspi_event),
4502 (cspi_key_event): add user_data to invoke.
4503 (cspi_keystroke_listener_finalize): impl.
4504 (cspi_keystroke_listener_class_init): upd.
4507 (createAccessibleEventListener),
4508 (AccessibleEventListener_addCallback),
4509 (createAccessibleKeystrokeListener),
4510 (AccessibleKeystrokeListener_addCallback): upd.
4512 * libspi/deviceeventcontroller.c
4513 (spi_device_event_controller_check_key_event): add public proto.
4516 (impl_accessibility_registry_deregister_global_event_listener):
4517 always init listeners.
4518 (_registry_notify_listeners): yes it is.
4520 * cspi/spi-listener-impl.c (cspi_key_event):
4522 (cspi_event_listener_finalize): impl.
4523 (cspi_event_listener_class_init): hook up.
4524 (event_handler_new, event_handler_free),
4525 (event_list_remove_by_callback): impl.
4526 (cspi_event_listener_remove_callback),
4527 (cspi_keystroke_listener_remove_callback),
4528 (cspi_keystroke_listener_add_callback),
4529 (cspi_event_listener_add_callback): upd.
4531 * libspi/keystrokelistener.c
4532 (keystroke_listener_object_finalize): kill
4533 (spi_keystroke_listener_class_init): upd.
4534 (spi_keystroke_listener_add_callback),
4535 (spi_keystroke_listener_remove_callback): kill,
4537 (impl_key_event): prune drasticaly.
4539 * libspi/eventlistener.c
4540 (spi_event_listener_add_callback),
4541 (spi_event_listener_remove_callback): kill, use
4543 (impl_accessible_event_notify_event): upd.
4544 (spi_event_listener_object_finalize): remove.
4546 * libspi/Makefile.am: use eventlistener.[ch]
4548 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4550 * libspi/registry.c (_registry_notify_listeners):
4551 Changed listener loop iteration to use preferred convention.
4552 Got rid of string memory leaks caused be calling g_strconcat
4553 inside function calls.
4555 * libspi/registry.c (parse_event_type):
4556 Stopped g_strconcat memory leaks, free the g_strsplit return,
4557 g_strdup the split pieces when used, etc.
4559 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4562 Change method 'compare' to return a 'difference set' rather than
4563 taking a StateSet as an out parameter (more Java-friendly).
4565 * idl/Accessible.idl:
4566 Added CORBA struct 'BoundingBox', to faciliate API changes below:
4568 * idl/Component.idl:
4570 Changed methods 'getExtents' and 'getImageExtents' in these
4571 interfaces to return a BoundingBox structure.
4572 (getPosition and getSize are redundant and possibly should be
4573 removed, rather than creating a corresponding Point struct.)
4575 * cspi/spi_component.c:
4576 Modify implementation of getExtents to reflect the above IDL
4581 Add (missing) AccessibleImage_getExtents () API.
4583 * docs/reference/cspi/at-spi-cspi-sections.txt:
4584 Added AccessibleImage_getImageExtents () to docs.
4586 2001-12-03 Bill Haneman <bill.haneman@sun.com>
4588 * idl/Component.idl:
4589 Added two methods, getLayer () and getMDIZOrder (), to reflect
4590 the new ATK methods atk_object_get_layer and
4591 atk_object_get_mdi_z_order. (Which arguably should be part of the
4592 AtkComponent API and AtkObject). Also added an enum,
4593 ComponentLayer, for the first method's return value.
4595 * libspi/component.c:
4596 Added implementations for these methods.
4598 * cspi/spi_component.c:
4600 Added cspi binding methods for above,
4601 AccessibleComponent_getLayer() and
4602 AccessibleComponent_getMDIZOrder().
4603 Added cspi enum 'AccessibleComponentLayer'.
4605 * docs/reference/cspi/at-spi-cspi-sections.txt:
4606 Added above methods to docs.
4610 Changed typedef for 'boolean' type (and all references to it) to
4611 SPIBoolean, to avoid keyword clashes with C++.
4614 Changed usages of 'boolean' to SPIBoolean.
4616 * test/keysynth-demo.c:
4617 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
4618 app), except where SPIBoolean is required by the callbacks API.
4620 2001-12-02 Bill Haneman <bill.haneman@sun.com>
4622 * cspi/spi_registry.c:
4623 Removed obsolete X event loop for passive keygrabs (which now
4626 * registryd/registryd.c:
4627 Removed unnecessary call to gdk_init() [cruft]. This also allows
4628 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
4631 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4633 * docs/reference/cspi:
4634 Included docs for SPI_freeString in generated documentation.
4637 Renamed spi_freeString to SPI_freeString, for consistency. Added
4638 documentation for this function.
4641 Renamed spi_freeString to SPI_freeString, for consistency.
4642 Removed obsolete method declaration string_from_corba_string.
4644 * test/keysynth-demo.c:
4645 Small tweak to comments.
4648 Stopped leaking the strings returned from CSPI.
4650 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4652 Merged Michael's branch (see his ChangeLog entries below).
4654 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
4655 bridge is alive, release on exit.
4657 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
4658 Fix type check macro.
4661 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
4664 Added is_gnome_app static, and method cspi_is_gnome_app(),
4665 so we can call the appropriate shutdown routine at exit in SPI_exit.
4667 * cspi/spi_main.c (cspi_object_ref):
4668 Duplicate the corba object passed in, since we're keeping it around.
4670 * cspi/SPI_exit.c, cspi_cleanup:
4671 Moved the releasing of the live refs to its own function, so we
4672 can put it in g_atexit (). Call the appropriate shutdown API
4673 depending on whethe calling client is a gnome app or not
4674 (bonobo_main_quit or CORBA_ORB_shutdown).
4676 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
4677 Unref the listener when this method is called, after
4678 deregistration. Updated the API docs to note this behavior.
4680 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
4681 Bugfixes: Ref the bonobo object when returning a parent or child
4682 reference, or an AccessibleRelation. Generally made sure
4683 BonoboObject refcount is incremented whenever we return an
4686 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
4687 Fixed typo/bug in signal declaration.
4689 * libspi/accessibleeventlistener.h:
4692 * libspi/application.c (spi_application_new):
4693 Fixed leak in initialization.
4696 Remembered to increment bonobo-object refcount when returning
4697 children (applications) from desktop object.
4698 Added (empty) finalize method.
4700 * libspi/deviceeventcontroller.c:
4701 Hold a ref to listeners inside DEControllerKeyListeners.
4702 Added dec_key_listener_free() method. Use prepend instead of
4703 append in key_listener list. Fixed some refcount madness and
4704 leaks in the listener registration/deregistration - deregistration
4705 now calls dec_key_listener_free() on listeners, and on the
4706 temporarily constructed dec_key_listener() used to perform the search/match.
4708 * libspi/hypertext.c (spi_hypertest_finalize):
4709 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
4710 class. Also fixed spi_hypertext_interface_new() and
4711 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
4713 * libspi/hypertext.h:
4714 Removed pointless and duplicate AtkObject pointer from
4717 * libspi/keystrokelistener.c:
4718 Fixed incorrect type of keystroke_listener_parent_class,
4719 renamed keystroke_listener_object_finalize to
4720 spi_keystroke_listener_object_finalize.
4721 Fixed typo in signal declaration
4722 (spi_keystroke_listener_class_init).
4724 * libspi/registry.c:
4725 Added funcsions spi_listener_struct_new() and
4726 spi_listener_struct_free() to help with memory management issues.
4727 We also now use these methods instead of gnew + poking stuff into
4728 the struct, and to decrement listener counts/free the listeners
4729 when deregistering them.
4730 Fix more refcount bugs in getDesktop() and
4731 getDeviceEventController().
4734 De-ref the desktop after enumerating the applications. Explicitly
4735 decrement the refcounts on the created listeners on exit (using
4736 _unref for keystroke listeners, and via the
4737 deregisterGlobalEventListenerAll command for other event
4740 2001-11-27 Michael Meeks <michael@ximian.com>
4742 * cspi/spi-listener.h: fixup enum.
4744 2001-11-27 Michael Meeks <michael@ximian.com>
4746 * cspi/spi-listener-impl.c (cspi_event_listener_new),
4747 (cspi_keystroke_listener_new): Use the cspi variants.
4749 2001-11-26 Michael Meeks <michael@ximian.com>
4751 * test/keysynth-demo.c: fix 2 compile warnings, missing
4754 * test/simple-at.c (report_focussed_accessible),
4755 (report_focus_event, report_button_press),
4756 (check_property_change, is_command_key),
4757 (report_ordinary_key_event, report_command_key_event): upd.
4759 * util/mag_client.h: include pre-requisites.
4761 * libspi/accessibleeventlistener.c
4762 (spi_event_listener_object_finalize): free any lingering
4765 * libspi/keystrokelistener.c
4766 (keystroke_listener_object_finalize): ditto.
4768 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
4769 callbacks, with cspi types.
4771 * cspi/spi_event.c (createAccessibleEventListener): chain to
4772 (AccessibleEventListener_addCallback): here.
4773 (createAccessibleKeystrokeListener): chain to
4774 (AccessibleKeystrokeListener_addCallback): here.
4776 * libspi/keystrokelistener.c
4777 (spi_keystroke_listener_class_init): add signal.
4778 (impl_key_event): emit the event.
4779 (boolean_handled_accumulator): impl.
4780 (marshal_BOOLEAN__POINTER): add, gack.
4782 * libspi/accessibleeventlistener.c
4783 (spi_event_listener_class_init): add signal.
4784 (impl_accessible_event_notify_event): emit the signal &
4785 make the loop efficient.
4786 (spi_event_listener_add_callback): prepend the callback.
4788 * libspi/accessibleeventlistener.h: add an 'event' signal,
4789 decl type on callback.
4791 * libspi/keystrokelistener.h: ditto.
4793 * cspi/spi-listener.h: make methods typesafe and
4794 make them use the new event typedefs.
4796 * test/simple-at.c (report_focussed_accessible):
4797 include mag_client.h
4798 Use *(void *)text_interface not the other thing.
4800 * configure.in: add gtk to registryd bits - since we use
4803 * util/magnifier.c: include libbonobo.h
4805 2001-11-25 Bill Haneman <bill.haneman@sun.com>
4807 * test/keysynth-demo.c:
4808 Turned this into a simple scanning keyboard, to demonstrate the
4809 use of g_timeout_add () as a means of creating timers for
4810 scanning, and the use of GtkStyle for visually indicating when
4811 virtual keyboard elements are selected.
4813 keysynth-demo now listens to any keyboard keys with zero-valued
4814 keycodes (i.e. 'unused' keys) and interprets them as
4817 Reworked the shiftlatch code so that shift-down state isn't held
4818 for long periods (it's only synthesized immediately prior to
4819 the keysynth event it's modifying). Note that shiftlatch in this
4820 demo is a convenience, not intended to take the place of AccessX
4821 which is the better choice for getting 'sticky' modifier keys.
4823 * libspi/deviceeventcontroller.c:
4824 * at-bridge/bridge.c:
4825 * cspi/spi_registry.c:
4826 Removed some debug print stuff, and put other verbosity in #ifdef
4831 Implemented some more of the magnifier IDL for the simple
4832 magnifier: namely, getZoomRegionParams.
4833 Added mag_x and mag_y members to MagnifierData struct, aid of this
4835 Added GtkWindow::realize signal handler to magnifier, to keep it
4836 from receiving keyboard focus from the WM.
4838 2001-11-23 Mark McLoughlin <mark@skynet.ie>
4840 * cspi/spi-private.h: my guess at what michael forgot
4841 before he ran off to NZ :-)
4843 2001-11-23 Michael Meeks <michael@ximian.com>
4845 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
4846 comment out non existant method invoke so we link.
4848 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
4849 use bonobo_exception_get_text for more friendly warnings.
4851 * cspi/spi.c (Obj_Add): move into spi_main & rename
4852 spi_object_add; kill spi.c
4854 * cspi/spi_registry.c
4855 (deregisterGlobalEventListener),
4856 (deregisterGlobalEventListenerAll),
4857 (registerGlobalEventListener): fix exception leaks.
4859 * cspi/spi_main.c (spi_exception): impl. helper, so we
4860 don't leak exceptions.
4862 * cspi/spi_selection.c
4863 (AccessibleSelection_deselectSelectedChild): return the
4866 * cspi/spi_main.c (spi_ev): impl; hack - gack.
4867 (spi_registry): ditto.
4868 (SPI_init): guard against double inits.
4870 * cspi/*.c: use spi_ev (), and spi_registry () where
4871 appropriate - a temporary hack until we have something
4872 better. Use spi_object_add
4874 2001-11-22 Michael Meeks <michael@ximian.com>
4876 * cspi/Makefile.am: re organise, install the headers.
4878 * cspi/*.h: add G_BEGIN/END_DECLS
4880 2001-11-22 Bill Haneman <bill.haneman@sun.com>
4883 Added non-preemptive keylistener for key events with no modifiers
4884 and shift-only modifier.
4886 * libspi/keystrokelistener.c:
4887 Removed some verbose diagnostics printout.
4889 * cspi/spi_registry.c:
4890 Fixed a bug that caused all key listeners to be registered as
4893 * libspi/deviceeventcontroller.c:
4894 Fixed bug that caused XGrabKey (preemptive key grab) to be called
4895 for non-preemptive key masks.
4898 2001-11-22 Bill Haneman <bill.haneman@sun.com>
4900 * docs/reference/idl/at-spi-idl-docs.sgml:
4901 * docs/reference/idl/at-spi-idl-sections.txt:
4902 * docs/reference/idl/at-spi-idl-overrides.txt:
4903 Added missing files.
4905 * docs/reference/Makefile.am:
4906 removed idl from SUBDIRS until we can figure a way to get gtk-doc
4907 to scan the IDL files :-(
4912 Added .cvsignore files.
4914 2001-11-21 Bill Haneman <bill.haneman@sun.com>
4916 * libspi/deviceeventcontroller.c:
4917 * libspi/keystrokelistener.c:
4919 * cspi/spi_registry.c:
4920 Added filters for KeySets, KeyEventSeq, and event types to key
4921 event dispatching, so listeners should only receive those events
4922 that they requested :-)
4924 2001-11-21 Bill Haneman <bill.haneman@sun.com>
4929 * docs/reference:Makefile.am:
4930 * docs/reference/cspi:
4931 * docs/reference/cspi:Makefile.am:
4932 * docs/reference/cspi:tmpl:
4933 * docs/reference/cspi:tmpl:*.sgml:
4934 * docs/reference/idl:
4935 * docs/reference/idl:Makefile.am:
4936 * docs/reference/idl:at-spi-idl-sections.txt:
4937 * docs/reference/idl:at-spi-idl-docs.sgml:
4938 * docs/reference/idl:tmpl:
4939 * docs/reference/idl:tmpl:*.sgml:
4941 Restructured docs directory to allow separate 'reference' docs
4942 section, and forked idl and cspi docs. Added the sgml template
4943 files to CVS. Added the first sections/structural sgml for the
4946 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
4948 * configure.in, libspi/Makefile.am: find libXtst.
4950 2001-11-21 Michael Meeks <michael@ximian.com>
4952 * test/accessx-gui.c: s/spi_value/value/ - doh.
4954 * libspi/base.[ch]: add.
4956 2001-11-18 Bill Haneman <bill.haneman@sun.com>
4958 * idl/Accessible.idl:
4959 * idl/Application.idl:
4962 Started gtk-doc cleanup on IDL.
4964 * libspi/deviceeventcontroller.c:
4965 Added and connected non-preemptive key notification from the
4966 toolkits (in addition to the pre-emptive support from XServer
4967 which we had before, but which causes 'focus flashing'). Filters
4968 are presently limited to key modifiers and global/non-global,
4969 KeySets are presently ignored, as are KeyEvent masks.
4971 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
4972 structs into the persistant structure rather than just storing
4973 pointers to things that might not persist across servant
4976 The XGrabKey call now does async keygrabs, because synchronous
4977 ones were deadlocking with GDK_event code in a very nasty way.
4979 Added boolean to internal method notify_keylisteners, to indicate
4980 whether the event came from the 'toolkit source' or the 'global
4981 (XServer) source' - this is used in the notification process to
4982 determine which listeners to send the event to.
4984 deviceeventcontroller.c is now warning-free.
4986 * libspi/registry.c:
4987 Fixed regression in application de-registration.
4988 Also fixed some really brain-dead weirdness having to do with
4989 event dispatching - event structs are now duplicated before being
4990 re-marshalled in the dispatch to listeners. This also fixes a
4991 Solaris build problem.
4994 2001-11-20 Michael Meeks <michael@ximian.com>
4997 (impl_accessibility_registry_deregister_global_event_listener):
5000 * libspi/deviceeventcontroller.c
5001 (spi_device_event_controller_check_key_event): return
5002 FALSE on no virtual method.
5004 * libspi/*..h: make includes work on a correctly pathed install.
5006 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
5008 * libspi/application.h: kill unused ( and whacked out )
5009 gboolean *spi_application_set_id (AtkObject *app, long id);
5011 2001-11-20 Michael Meeks <michael@ximian.com>
5013 * libspi/*.[ch]: further convert to bonobo's type func
5014 macros, remove redundnant casts etc.
5016 * libspi/text.c s/accessibility_text/spi_text/g,
5017 re-order to de-cruft.
5019 * libspi/hypertext.c: re-order to kill a huge slew
5020 of redundant forward decls.
5022 * libspi/relation.c: ditto.
5024 * libspi/image.c: ditto.
5026 * */.cvsignore: update
5028 2001-11-20 Michael Meeks <michael@ximian.com>
5030 * libspi/deviceeventcontroller.c
5031 (_controller_register_with_devices): use g_getenv,
5032 kill stdlib.h include.
5034 * libspi/keystrokelistener.c
5035 (spi_keystroke_listener_get_type): kill
5036 (spi_keystroke_listener_class_init),
5037 (spi_keystroke_listener_init): rename to this.
5039 * libspi/text.c (impl_getAttributes): fix warning / bug.
5041 * libspi/*.[ch]: more headers, includes and over commenting.
5043 2001-11-20 Michael Meeks <michael@ximian.com>
5045 * libspi/*.[ch]: fixup headers, includes and over commenting.
5047 * libspi/image.c (impl__get_imageDescription): const
5048 correctness warning fix. remove redundant casting.
5050 * libspi/table.c (impl_getRowDescription): ditto.
5051 (impl_getColumnDescription): ditto.
5053 * libspi/libspi.h: add.
5055 2001-11-19 Michael Meeks <michael@ximian.com>
5057 * libspi/editabletext.c (impl_setAttributes): fix warnings.
5059 * libspi/component.c (accessibility_component_get_type):
5060 rename to (spi_component_get_type): and macroify.
5061 (accessibility_component_init): rename to
5062 (spi_component_init): this
5063 (accessibility_component_class_init): rename to
5064 (spi_component_class_init): this
5066 * libspi/action.c (spi_action_get_type): kill, use the macro.
5068 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
5071 * libspi/application.c (spi_application_object_event_listener),
5072 (impl_accessibility_application_register_object_event_listener):
5073 warning fixes / const understanding updates.
5075 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
5078 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5080 * libspi/spi_accessible.c: Added docs and C bindings for
5081 AccessibleStateSet. (No implementations yet). Documentation
5082 coverage for C bindings now 100%. Made docs for event listeners
5087 boolean notifyListenersSync (in DeviceEventListener listener,
5088 in DeviceEvent event);
5090 oneway void notifyListenersAsync (in DeviceEventListener listener,
5091 in DeviceEvent event);
5093 Added DeviceEventListener and DeviceEvent structs (may deprecate
5094 KeyStroke and KeystrokeListener in favor of this generic
5095 event/listener framework for devices).
5097 * libspi/deviceeventcontroller.c:
5099 Changed some key listener code to take masks, etc., and paved the
5100 way for integration of toolkit/non-preemptive key events. Changed
5101 signatures of some internal methods.
5103 * at-bridge/bridge.c:
5104 Fixed regression connecting to interface signals, apparently
5105 caused by GTK+ changes.
5107 Added an internal bridge_state_listener to deal with
5108 property-change:accessible-state signals.
5110 Changed the key_listeners GList to store structs (including masks,
5111 etc.) instead of just CORBA_Objects (required for full
5112 implementation of key listener API).
5114 Connected the bridge to all currently supported Atk signals.
5115 Events now supported:
5116 object:property-change
5117 object:property-change:accessible-name
5118 object:property-change:accessible-state
5119 object:property-change:accessible-description
5120 object:property-change:accessible-parent
5121 object:property-change:accessible-value
5122 object:property-change:accessible-role
5123 object:property-change:accessible-table-caption
5124 object:property-change:accessible-table-column-description
5125 object:property-change:accessible-table-column-header
5126 object:property-change:accessible-table-row-description
5127 object:property-change:accessible-table-row-header
5128 object:property-change:accessible-table-summary
5129 object:children-changed
5130 object:visible-data-changed
5131 object:selection-changed
5132 object:text-selection-changed
5134 object:text-caret-moved
5136 object:row-reordered
5138 object:column-inserted
5139 object:column-reordered
5140 object:column-deleted
5141 object:model-changed
5143 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5145 * libspi/hyperlink.c,h:
5146 Fixed some broken stuff in hyperlink.
5148 * libspi/relation.h:
5149 * libspi/relation.c:
5150 * cspi/spi_accessible.c:
5151 Initial implementations of AccessibleRelation methods, and docs.
5153 * libspi/accessible.c:
5154 Fixed a bug that caused SEGV if an accessible
5155 object's description is NULL, and a client
5156 requests it. An empty string is now returned.
5158 * cspi/spi_editabletext.c:
5159 * cspi/spi_hypertext.c:
5161 * cspi/spi_hyperlink.c:
5165 Doc coverage now 95%.
5167 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5169 One last namespacing revision:
5170 * libspi/accessibleeventlistener.[ch]:
5171 Renamed SpiAccessibleEventListener to SpiEventListener,
5172 (no need for two namespaces ;-)
5174 And lots of documentation fixes:
5176 * docs/at-spi-docs.sgml:
5177 Fixed 'underscore vs. hyphen' bug that was preventing
5178 the gtk-doc API docs from being automatically generated.
5181 * cspi/spi-listener.h
5183 * cspi/spi_accessible.c
5185 * cspi/spi_application.c
5186 * cspi/spi_component.c
5187 * cspi/spi_editabletext.c
5189 * cspi/spi_hypertext.c
5191 * cspi/spi_registry.c
5192 * cspi/spi_selection.c
5196 * docs/at-spi-docs.sgml
5197 * docs/at-spi-sections.txt
5199 Added and fixed up gtk-doc documentation in cspi.
5201 Interfaces now (fully) documented (subject to revision and enhancement):
5203 Event Listener Support
5205 AccessibleApplication
5209 AccessibleEditableText
5216 AccessibleRelationSet
5221 2001-11-14 Bill Haneman <bill.haneman@sun.com>
5223 * at-bridge/bridge.c:
5224 Initial work for toolkit-level key snooper connection by bridge.
5229 New typedefs and fixes to support new namespacing, and cleaner
5230 separation of cspi bindings from libspi bonobo implementation.
5231 Removed inconsistent and extraneous Spi* namespace prefix that
5232 had crept into cspi headers.
5233 Lots of comment fixes that sed had missed.
5235 * cspi/spi-roletypes.h:
5236 * cspi/spi-statetypes.h:
5237 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
5238 to AccessibleRoleType.
5240 * libspi/accessibleeventlistener.h:
5241 Fixed minor namespacing weirdness.
5243 * libspi/deviceeventcontroller.c:
5244 Reordered some internal API for device listeners.
5245 Changed the key registry final boolean to 'is_system_global'
5246 rather than 'is_synchronous', which is more descriptive of its
5248 Added spi_device_event_controller_new().
5249 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
5251 * libspi/keystrokelistener.[ch]:
5252 Namespaced KeystrokeListener to SpiKeystrokeListener.
5253 Changed uses of keymasks to use SPI_ prefix, and did other
5256 * libspi/keymasks.h:
5257 Namespaced keymask constants with SPI_ prefix.
5259 * libspi/registry.c:
5260 Some warning fixes, and knock-on fixes from namespace changes.
5263 Added rules for accessx-gui test program.
5265 * test/accessx-gui.c:
5266 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
5267 utility. It doesn't actually use at-spi, but it's still cool and
5270 * test/keysynth-demo.c:
5274 Fixes so that these test clients work properly with the namespaced
5275 libraries. (Incompletely tested for technical reasons, fixes may follow)
5278 2001-11-13 Michael Meeks <michael@ximian.com>
5280 * libspi/application.c
5281 (impl_accessibility_application_get_version),
5282 (impl_accessibility_application_get_toolkit_name):
5284 (impl_accessibility_application_set_id),
5285 (impl_accessibility_application_get_id): remove
5286 redundant casting code.
5288 * libspi/action.c (impl_getDescription): fix warnings.
5290 * libspi/accessible.c
5291 (impl_accessibility_accessible_get_parent),
5292 (impl_accessibility_accessible_get_child_at_index),
5293 (impl_accessibility_accessible_get_state),
5294 (impl_accessibility_accessible_get_relation_set):
5295 warning fixes & include action.h
5297 2001-11-13 Michael Meeks <michael@ximian.com>
5299 * *.[ch] fix bits I screwed up:
5301 s/([^ \tb(\*\&\?\",])spi_/\1/g;
5302 s/([^ \tb(\*\&\?\",])Spi/\1/g;
5304 2001-11-13 Michael Meeks <michael@ximian.com>
5306 * *.[ch] Namespace libspi into spi_ and Spi.
5308 2001-13-11 Michael Meeks <michael@ximian.com>
5310 * Makefile.am: dist & install at-spi-1.0.pc
5312 * libspi/Makefile.am: install into at-spi-1.0
5314 * idl/Makefile.am (idldir): install into at-spi-1.0
5316 * at-spi-1.0.pc.in: add.
5318 * configure.in: build it.
5320 2001-11-12 Bill Haneman <bill.haneman@sun.com>
5322 * test/keysynth-demo.c:
5323 Use a 'realize' signal-handler to set the WM properties for
5324 the virtual keyboard, rather than making it a "POPUP" type
5325 override-redirect window (thanks to anders carlsson for that
5328 2001-11-11 Bill Haneman <bill.haneman@sun.com>
5331 * test/keysynth-demo.c:
5332 Added new test of key synthesis, which creates a simple
5333 (mouse-operated) onscreen keyboard. It inserts key events into
5334 the currently-focused window, thus it does not grab keyboard focus
5337 * cspi/spi_registry.c:
5338 Added C binding for AT-SPI generateKeyEvent.
5340 * libspi/deviceeventcontroller.c:
5341 Added call to XFilterEvent so that key listener works with XIM (we
5342 hope). Added event_synth_type to generateKeyEvent, so that we can
5343 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
5344 synthesize a press/release pair for KeySyms.
5346 2001-11-09 Bill Haneman <bill.haneman@sun.com>
5348 * libspi/Makefile.am:
5349 * registryd/Makefile.am:
5350 (temporary) hack to include libXtst in libspi and registryd.
5351 (Needed for keystroke synthesis, see below).
5354 Improved API for registerKeystrokeListener, in accordance with
5355 discussions with Gnopernicus team and X server research.
5357 * libspi/registry.c:
5358 * libspi/deviceeventcontroller.c:
5359 * libspi/accessible.c:
5360 * libspi/keystrokelistener.c:
5361 Changes and fixes to support keylisteners for potentially
5362 consumed key events (that is, 'passive grabs').
5363 Added implementation for generateKeyEvent() [untested].
5366 Changes to registerKeystrokeListener() API, as above.
5367 Added deregisterGlobalEventListenerAll(), and
5368 deregisterKeystrokeListener(), which are needed for clean exit of
5370 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
5371 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
5373 * cspi/spi_registry.c:
5374 Added implementations of function prototypes mentioned above.
5376 * registryd/registryd.c:
5377 Added the key listener event source as a g_timeout(), to allow
5378 receipt of key events that are not caught by GDK (since GDK
5379 doesn't support passive keygrabs, this was necessary).
5382 Changed to attach a keylistener to 'Alt' keys, and
5383 respond to the following keycommands: Alt-M (toggle magnifier);
5384 Alt-F (toggle speech); Alt-Q (quit).
5385 Added an exit routine to deregister the listeners, and a key
5386 listener that prints some key info to the console when a key
5387 matches the listener mask (and is thus received by the listener).
5389 * util/idl/Magnifier.idl:
5390 Changes to magnifier API to support multiple zoom regions,
5391 non-uniform scaling in x and y, markDirty, and a host of other
5392 features that would be useful to magnification.
5395 * util/mag_client.c:
5396 * util/mag_client.h:
5397 * util/mag_control.c:
5399 Source code changes to support the above IDL changes.
5402 As above, and also changes to use a (slower) generic conversion
5403 path for colormap conversions, since the fast RGB conversions have been
5404 reported to fail for 16-bit displays.
5406 2001-10-26 Michael Meeks <michael@ximian.com>
5408 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
5410 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
5412 * at-bridge/Makefile.am: fix LDFLAGS.
5414 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5416 * at-bridge/bridge.c:
5417 Re-worked listeners for toolkit events, now we have signal
5418 and property listeners. Added a private method
5419 register_atk_event_listeners(), which registers with the
5420 various atk and gtk signals we need to monitor in order to emit
5422 Added emission hook for AtkObject:property-change events, to
5423 support the 'property listeners'.
5424 Fixed some alloc()s of Accessibility_Event structs to use CORBA
5427 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
5428 which emit warnings and exit, respectively, if CORBA errors occur
5429 during remote calls, and we now use these methods to check most of
5430 our CORBA calls in the C bindings.
5432 * cspi/spi_accessible.c:
5433 Changed AccessibleSelection_refSelectedChild() to
5434 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
5435 now increment refcounts.
5437 * cspi/spi_component.c:
5438 Fixed some long pointer casts (dangerous!) to pass pointers to
5439 CORBA_longs of the proper type to the CORBA stubs, and copy the
5440 data into the longs that were passed into the C bindings code.
5442 * at-bridge/bridge.c:
5444 * libspi/accessible.c:
5445 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
5446 hyperlinks, AtkHyperlink is an object type.
5448 * libspi/application.c:
5449 Added various conversions to and from "generic" event types and
5450 atk-specific types; this is really part of the 'bridge'
5451 implementation but is valid for all AtkObject-based accessibility
5454 * libspi/editabletext.c:
5455 Fixed nasty bug wherein editable text's finalize method was
5456 unref'ing tha AtkObject reference that the text parent class was
5457 about to unref _again_. There was also a nasty inheritance bug
5458 that meant that the AccessibleEditableText class was corrupt.
5460 * libspi/selection.c:
5461 Provided implementations for some selection API that was broken.
5463 * idl/Application.idl:
5464 Added registerObjectEventListener () method.
5467 Fixed a number of return values that were Bonobo_Unknowns from
5468 bonobo_object_corba_objref(), which I
5469 forgot to dup before returning. Changed instances of
5470 bonobo_object_corba_objref (bonobo_object(o)) to
5471 BONOBO_OBJREF(o), for concision and clarity.
5473 2001-10-13 Louise Miller <louise.miller@sun.com>
5475 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
5476 idl/Event.idl, idl/Registry.idl
5477 Changed these files to include Bonobo_Unknown.idl instead
5480 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
5482 * libspi/component.c libspi/component.h:
5483 Fixed typo. Added assertions for object checks in
5484 AccessibleComponent code.
5486 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5488 * idl/Accessible.idl:
5489 Added 'isEqual (Accessible *object)'
5490 method for Accessible. (Not Yet Implemented).
5493 Changed signature of registerKeystrokeListener() to
5494 take a KeySet and KeyEventSeq so that specific keys and event
5495 types could be requested for monitoring, and added a flag
5496 is_synchronous so that either synchronous or asynchronous
5497 notification could be requested. (However this is not all
5498 implemented yet). This also meant adding two new typedefs,
5499 KeyEventSeq and KeySet.
5502 Added two new relations, RELATION_TOOLTIP_FOR and
5503 RELATION_LEAFNODE_OF.
5506 Added new state, STATE_HAS_TOOLTIP.
5508 * libspi/text.c, editabletext.c:
5509 Added new assertions to all casts of bonobo-objects from
5510 CORBA servants, to prevent Text API calls on non-text objects.
5511 Changed suspect casts of int-pointer types, so that we
5512 always send a valid CORBA_long pointer to the CORBA APIs that use
5513 in/out long parameters. We then have to copy from the CORBA_long
5514 into the regular long or int for return to the C bindings, or
5515 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
5518 * libspi/deviceeventcontroller.c:
5519 Cleaned these sources up.
5521 Changed return type for getCharacterAtOffset to
5522 CORBA_unsigned_long, to allow for 32-bit characters.
5525 2001-10-08 Bill Haneman <bill.haneman@sun.com>
5529 Fixed 'make dist' so that distro compiles...
5530 * libspi/keymasks.h:
5532 * cspi/spi-listener.c:
5533 KeystrokeListenerCB now returns a boolean.
5535 Added KeyEventType struct, and KeyStroke.
5536 Also added createKeystrokeListener(),
5537 KeystrokeListener_addCallback(),
5538 KeystrokeListener_removeCallback(), and added a keymask to
5539 registerKeystrokeListener().
5540 * cspi/spi_accessible.c:
5541 Changed numerous return types for interfaces from
5542 AccessibleComponent to Accessible<InterfaceName>; this was
5543 probably a cut-and-paste error.
5545 Implementations of new KeystrokeListener api (from spi.h,
5548 Changes to key modifier mapping.
5549 Created ControllerEventMask struct.
5550 Made DeviceEventController derive from Bonobo::Unknown.
5552 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
5553 * libspi/deviceeventcontroller.c:
5554 Added a number of new internal (private) methods.
5555 * libspi/editabletext.c:
5556 * libspi/editabletext.h:
5557 Fixed a number of bugs related to the fact that
5558 editabletext inherits from text. Fixed the EditableText struct,
5559 the init() call, and use correct casts when calling Text methods
5560 from an EditableText object. Removed (duplicate) atko from the
5561 EditableText structure, we use the one in the parent Text
5562 structure via the casts mentioned above.
5563 * libspi/keystrokelistener.[ch]:
5564 * libspi/registry.c:
5565 Changes in support of keyboard handling (above).
5567 Keyboard handling, though partly functional, is still not
5568 recommended for at-spi client use as there is considerable
5569 work yet to be done.
5572 Changed some places where pointers to various int types
5573 are cast to be pointers to CORBA_long types and vice-versa:
5574 pointer casting is not safe so we pass pointers of the correct
5575 types and then cast the result before putting it into the target
5578 * libspi/text.h: minor typos corrected.
5580 We now speak not only the name of a Text element, but the
5581 first sentence of its content, when it receives focus.
5582 I also changed the text compression to 75% from 50%.
5583 * util/Accessibility_Util.server.in:
5584 Changed the default magnifier type to be a 3x vertical
5585 splitscreen magnifier (was previously a 2x horizontal one).
5587 2001-10-03 Bill Haneman <bill.haneman@sun.com>
5589 * libspi/keystrokelistener.h:
5590 * libspi/keystrokelistener.c:
5591 Initial functional implementations of KeystrokeListener.
5594 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
5596 Fixed string handling for NULL strings in libspi.
5597 Added spi_freeString to free strings returned by C bindings.
5599 2001-09-30 Bill Haneman <bill.haneman@sun.com>
5601 * libspi/keystrokelistener.h:
5602 * libspi/keystrokelistener.c:
5603 Began (no-op) implementations of KeystrokeListener
5605 * libspi/deviceeventcontroller.c:
5606 * libspi/deviceeventcontroller.h:
5607 Began creating implementations of DeviceEventController,
5608 to handle keystroke and mouse event listening and
5610 * libspi/accessible.c:
5611 Stubbed-in the implementations for
5612 Accessibility_Accessible_getState and
5613 Accessibility_Accessible_getRelationSet.
5614 * libspi/registry.c:
5615 Improved de-registration process and fixed some bugs,
5616 deregistration now works correctly.
5618 Added initialization of applications list (to NULL).
5620 Reduced speech compression from 0.5 to 0.7, for demo.
5621 Changed call to gdk_window_set_decorations()
5622 to gtk_window_set_decorated().
5623 * at-bridge/bridge.c:
5624 Bridge now deregisters when app exits, via
5625 registration of a cleanup function
5626 with the g_atexit() call.
5627 Required making 'app' static, renamed 'this_app'.
5628 Fixed broken use of bonobo_init, passing argv wrongly.
5630 2001-09-27 Bill Haneman <bill.haneman@sun.com>
5634 Created a new directory for
5635 accessibility-related utilities, primarily for
5636 testing and demo purposes, but with possible
5643 Onscreen magnifier utility that
5644 is implemented as a bonobo service.
5646 * util/mag_client.c:
5647 * util/mag_client.h:
5648 Client-side support (simple C bindings)
5649 for Magnification service
5651 * util/mag_control.c:
5652 Client program example for
5653 Magnification service
5655 * util/Accessibility_Magnifier.server.in:
5656 Bonobo-activation file for the
5657 Magnification service.
5660 * util/idl/Magnifier.idl:
5661 IDL defining the bonobo Magnification
5665 Modifications to use the bonobo-activated magnifier
5666 above, in place of trying to connect to an existing
5667 magnifier that uses socket-listening IPC.
5669 If env variable MAGNIFIER is set, a magnifier service
5670 will be started if one does not exist.
5672 2001-09-25 Bill Haneman <bill.haneman@sun.com>
5674 * at-bridge/bridge.c:
5675 applied patch from Marc to build and run
5676 against new glib and gtk+ (seemed like a change
5677 to bonobo_init signature was made ?)
5679 made festival-server support turned off by default.
5680 Added support for a simple magnifier (off by default)
5681 which will be added to a 'util' directory later.
5682 * at-bridge/Makefile.am:
5683 Changed "application.h" header from a 'source'
5684 to a 'dependency' of libat-bridge.
5686 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
5695 Added interface implementation c files to list of
5696 includes so they are included in libcspi.
5699 Changed prototype of AccessibleAction_doAction to return a
5701 Changed prototype of AccessibleTable_getCaption to
5702 return an Accessible.
5703 Changed prototype of AccessibleTable_getSelectedRows
5704 and AccessibleTable_getSelectedColumns to
5705 return a long (returns the number of selected rows
5706 or columns respectively).
5707 Changed name of AccessibleText_refRunAttributes to
5708 AccessibleText_getAttributes.
5709 Changed prototype of AccessibleText_getCharacterExtents to
5710 return a void rather than a boolean.
5711 Added support for a AccessibleCoordType parameter
5712 specifying what type of coordinates are desired.
5713 Added an AccessibleCordType parameter to
5714 AccessibleText_getPointAtOffset.
5716 * cspi/spi_accessible.c:
5717 Added code to return the outstanding interfaces from
5718 Accessible_queryInterface.
5720 * cspi/spi_action.c:
5722 Corrected call to getNActions to call the c binding
5725 * cspi/spi_editabletext.c:
5727 Changed name from setRunAttributes to setAttributes.
5729 * cspi/spi_hyperlink.c:
5731 Changed call to getNAnchors to correctly call the c
5732 binding for an attribute.
5734 * cspi/spi_hypertext.c:
5736 Changed getImageDescription to correctly call the
5737 binding for an attribute.
5739 * cspi/spi_selection.c:
5740 Changed getNSelectedChildren to correctly call the c
5741 binding for the attribute.
5742 Changed refSelectedChild to getSelectedChild.
5746 Changed getCaption to return an Accessible.
5747 Fixed calls which retrieve attributes.
5748 Changed refAt to getAccessibleAt.
5749 Changed getNSelectedRows and getNSelectedColumns to
5753 Changed getCharacterExtents and getPointAtOffset to accept an
5754 AccessibleCoordType.
5756 Changed calls which retrieve attributes.
5757 Changed refRunAttributes to getAttributes.
5762 * idl/Hyperlink.idl:
5763 Changed n_anchors attribute to nAnchors to keep naming
5764 convention consistent.
5767 Made Table inherit from Bonobo::Unknown.
5768 Added nSelectedColumns and nSelectedRows attributes.
5771 Made Value inherit from Bonobo::Unknown.
5773 * libspi/hyperlink.c:
5774 Change for nAnchors attributte name change.
5776 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
5784 Added interface implementation c files to list of
5785 includes so they are included in libcspi.
5788 Changed prototype of AccessibleAction_doAction to return a
5790 Changed prototype of AccessibleTable_getCaption to
5791 return an Accessible.
5792 Changed prototype of AccessibleTable_getSelectedRows
5793 and AccessibleTable_getSelectedColumns to
5794 return a long (returns the number of selected rows
5795 or columns respectively).
5796 Changed name of AccessibleText_refRunAttributes to
5797 AccessibleText_getAttributes.
5798 Changed prototype of AccessibleText_getCharacterExtents to
5799 return a void rather than a boolean.
5800 Added support for a AccessibleCoordType parameter
5801 specifying what type of coordinates are desired.
5802 Added an AccessibleCordType parameter to
5803 AccessibleText_getPointAtOffset.
5805 * cspi/spi_accessible.c:
5806 Added code to return the outstanding interfaces from
5807 Accessible_queryInterface.
5809 * cspi/spi_action.c:
5811 Corrected call to getNActions to call the c binding
5814 * cspi/spi_editabletext.c:
5816 Changed name from setRunAttributes to setAttributes.
5818 * cspi/spi_hyperlink.c:
5820 Changed call to getNAnchors to correctly call the c
5821 binding for an attribute.
5823 * cspi/spi_hypertext.c:
5825 Changed getImageDescription to correctly call the
5826 binding for an attribute.
5828 * cspi/spi_selection.c:
5829 Changed getNSelectedChildren to correctly call the c
5830 binding for the attribute.
5831 Changed refSelectedChild to getSelectedChild.
5835 Changed getCaption to return an Accessible.
5836 Fixed calls which retrieve attributes.
5837 Changed refAt to getAccessibleAt.
5838 Changed getNSelectedRows and getNSelectedColumns to
5842 Changed getCharacterExtents and getPointAtOffset to accept an
5843 AccessibleCoordType.
5845 Changed calls which retrieve attributes.
5846 Changed refRunAttributes to getAttributes.
5851 * idl/Hyperlink.idl:
5852 Changed n_anchors attribute to nAnchors to keep naming
5853 convention consistent.
5856 Made Table inherit from Bonobo::Unknown.
5857 Added nSelectedColumns and nSelectedRows attributes.
5860 Made Value inherit from Bonobo::Unknown.
5862 * libspi/hyperlink.c:
5863 Change for nAnchors attributte name change.
5866 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
5868 implementations-- made server implementations own AtkObject pointers
5869 rather than their respective AtkInterrface pointers to fix
5870 refcounting. AtkHyperlink is still broken.
5872 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5873 * cspi/spi_accessible.c:
5874 Added method Accessible_Role_getName(),
5875 and requisite string array (role_names).
5876 Added conversion string_from_corba_strin() call
5877 to Accessible_getName and _getDescription.
5878 * libspi/accessible.c:
5879 Added implementation for Accessible_getRole()
5881 Added festival support, used if environment variable
5884 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5886 * at-bridge/bridge.c:
5887 Now allocate Accessibility_Event using
5888 Accessibility_Event__alloc() instead of g_new0().
5889 * libspi/accessibleeventlistener.c:
5890 Initialize AccessibleEventListener->callbacks to NULL.
5891 Fixed accessible__event_listener_init() param, changed to
5892 "AccessibleEventListener *" type.
5893 Changed a bonobo_object_release_unref() call to
5894 Accessibility_Accessible_unref().
5895 * libspi/listener.c:
5896 Changed Bonobo_Unknown_unref to (equivalent)
5897 Accessibility_Accessible_unref.
5898 * libspi/registry.c:
5899 Changed bonobo_object_release_unref to
5900 Accessibility_Accessible_unref.
5902 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
5905 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
5906 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
5907 spi-util.c spi-util.h
5908 Implementations for C bindings to remaining accessibility
5911 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
5914 changed return value of Action from void to boolean to
5915 bring in line with ATK.
5918 Changed getText funcions to return "out" start and end offsets.
5919 Changed getAttributes to take and offset and return the start
5920 and end offset of the attribute run.
5921 Changed getOffsetAtPoint and getCharacterExtents to take an
5922 enum describing whether coordinates are window or screen.
5925 libspi/action.c libspi/action.h libspi/editabletext.c
5926 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
5927 libspi/hypertext.c libspi/hypertext.h libspi/image.c
5928 libspi/image.h libspi/selection.c libspi/selection.h
5929 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
5930 libspi/value.c libspi/value.h
5931 Added server implementations for outstanding ATK interfaces
5932 not yet implemented.
5934 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5937 Added (missing) getName() method.
5938 Made nActions an attribute.
5939 * idl/EditableText.idl:
5940 Changed order of params in setAttributes.
5941 * idl/Hyperlink.idl:
5942 Removed getAnchor, added getURI.
5944 Changed attributes to methods, for efficiency
5945 (so that getting extents can be done in one call)
5946 * idl/Selection.idl:
5947 Changed nSelectedChildren to attribute, and re-indented.
5948 * idl/Table.idl: changed nrows, ncolumns, caption, summary
5950 * idl/Text.idl: reformatted to match our coding style.
5951 (temporarily?) removed getRowColumnAtOffset().
5952 Changed text selection API to support multi-select and
5953 non-contiguous selections, as in ATK.
5954 * idl/Value.idl: changed some methods to attributes.
5956 2001-08-24 Mark McLoughlin <mark@skynet.ie>
5958 * libspi/listener.c(impl_notify_event):
5959 BonoboUnkown_unref the source instead
5960 of bonobo_object_release_unref - the ORB
5961 handles the releasing.
5963 * configure.in: require ORBit-2.3.94 for
5966 2001-08-21 Bill Haneman <bill.haneman@sun.com>
5968 Tagged CVS repository 'EA_1_0'.
5969 * README.EARLY_ACCESS:
5970 Alphabetized acknowledgements list, and
5972 Listed some known dependencies of at-spi.
5974 2001-08-20 Bill Haneman <bill.haneman@sun.com>
5976 * docs/at-spi-docs.sgml:
5977 * docs/at-spi-sections.txt:
5978 * docs/at-spi-overrides.txt: (Added zero-length file)
5979 Documentation improvements - gtk-doc should build
5980 docs for all implemented C bindings now.
5983 * cspi/spi.c: (New file)
5984 * cspi/spi_event.c: (New file)
5985 * cspi/spi_registry.c: (New file)
5986 * cspi/spi_accessible.c: (New file)
5987 * cspi/spi_application.c: (New file)
5988 * cspi/spi_component.c: (New file)
5989 Split spi_main.c into six parts, and included them from
5990 "spi.c". This is a bit of a hack, probably temporary,
5991 but required by gtk-doc, apparently.
5993 2001-08-20 Bill Haneman <bill.haneman@sun.com>
5996 * docs/at-spi-docs.sgml:
5997 * docs/at-spi-sections.txt:
5999 Initial checkins/modifications for gtk-doc generation.
6002 Added (missing) interface query methods to Accessible's C binding.
6004 Added GenericInterface type definition.
6006 Added query for AccessibleComponent interface to focus event handler.
6007 Added printout of bounding box for focussed component.
6008 * libspi/component.c:
6009 Added partial implementation for AccessibleComponent to C binding.
6010 * idl/Application.idl:
6011 * libspi/registry.c:
6012 * libspi/listener.c:
6013 * libspi/application.c:
6014 * libspi/application.h:
6015 Changed "ID" attribute type from string to long.
6017 2001-08-19 Bill Haneman <bill.haneman@sun.com>
6021 Made method naming consistent: methods taking object args
6022 start with uppercase, other methods (except those using
6023 acronyms) start with lowercase. Underscores delimit between
6024 object names and method names:
6025 SPI_init() - uppercase since it starts with an acronym.
6026 getDesktopCount () - lowercase start since no object param0.
6027 Accessible_getName() - uppercase object type name, studlyCaps method
6031 Added gtk-doc documentation for all currently implemented
6032 methods in the C bindings API.
6034 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6036 * Makefile.am : changed build order to build test last.
6039 Changed "createEventListener" to "CreateEventListener".
6040 * libspi/accessibleeventlistener.c :
6041 Bugfix for addition of callbacks.
6042 * test/Makefile.am :
6043 * test/simple-at.c :
6044 Added new test that uses the C bindings API.
6046 * libspi/listener.c :
6047 * libspi/registry.c :
6048 * libspi/accessibleeventlistener.c :
6049 * at-bridge/bridge.c :
6050 Renamed member "target" of Accessibility_Event to "source",
6051 which is more descriptive.
6054 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6058 * cspi/Makefile.am :
6059 Added makefile support for at-spi/cspi directory.
6062 * cspi/spi-listener.h : (NEW FILE)
6063 Added support for/use of spi-listener.h.
6065 C bindings now build successfully, with no warnings.
6066 * libspi/accessibleeventlistener.h : (NEW FILE)
6067 * libspi/accessibleeventlistener.c : (NEW FILE)
6068 * libspi/Makefile.am :
6069 Added new object type "AccessibleEventListener"
6070 which inherits from Listener, and allows attachment
6071 of in-process callbacks (so that a client with a listening
6072 object instance can add functionality to the local
6073 implementation, dynamically).
6075 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6077 * libspi/accessible.c:
6078 Add implementation for get_index_in_parent().
6080 Added #include of "spi-roletypes.h", and
6081 added enumerated type AccessibleCoordType.
6082 Added definition for KeystrokeListener (function type).
6085 * cspi/spi-statetypes.h :
6086 * cspi/spi-roletypes.h :
6088 Added these headers, used by spi.h.
6090 Added code (NOTE: not yet built by make).
6092 2001-08-18 Mark McLoughlin <mark@skynet.ie>
6094 * libspi/Makefile.am: generate imodule
6095 at the same time as other idl compiler
6098 2001-08-17 Bill Haneman <bill.haneman@sun.com>
6099 * libspi/registry.c :
6100 * libspi/application.c :
6101 * idl/Application.idl :
6102 Made registration with toolkit an application method,
6103 which is required since each app has its own toolkit static
6104 environment. Thus the bridge must register for
6105 notification of toolkit events from each application in turn.
6106 Toolkit notifications are now successfully registered for, and
6107 sent to the listening at client.
6109 Changed toolkit event string to use hyphens rather than underscores.
6110 * libspi/listener.c :
6111 listner now gives more info in debug mode - it reports the
6112 name of the event received, as well as the name of the source.
6115 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6117 * libspi/registry.c :
6118 added more implementation for toolkit events.
6119 Fixed bug such that toolkit event registrations
6120 (via atk) use the whole event name string, not
6122 Removed a useless call to an ORBit_ method.
6123 * at-bridge/bridge.c :
6124 Removed unused local sbuf[] variable.
6126 We now register for Gtk:GtkWidget:button_press_event
6127 events as well as "focus:" events.
6129 Add some more API from Registry.idl that was missing,
6130 for keystroke listening, keystroke and mouse event
6131 synthesis, and enumeration of accessible desktops.
6133 2001-08-16 Michael Meeks <michael@ximian.com>
6135 * configure.in: use AM_GLIB_GNU_GETTEXT.
6137 * Makefile.am (SUBDIRS): kill intl.
6139 2001-08-15 Michael Meeks <michael@ximian.com>
6141 * registryd/Makefile.am: s/oaf/server/ relocate info file.
6143 * configure.in: upd.
6145 * configure.in: depend on a recent bonobo-activation that
6146 will find our server files ...
6148 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6150 * libspi/accessible.c : accessible_new() :
6151 Now we add the Component interface via bonobo_object_add_interface,
6152 if the contained AtkObject implements AtkComponent.
6153 * libspi/accessible.h : now include "component.h"
6154 * libspi/component.h :
6155 * libspi/component.c : added files - implementation of
6156 bonobo wrapper object for Accessibility/Component
6157 * libspi/listener.c :
6158 Added test code to check for Accessibility/Component:1.0
6159 interface and report whether it is implemented by the
6161 * libspi/registry.c :
6162 Now we check for not only the hash of the whole event
6163 string before relaying the event, we also check the
6164 "minor" event string (without the detail string).
6165 This allows event listeners to be registered against
6166 all events of a certain major+minor type, or just
6167 against a specific major+minor+detail type.
6168 * libspi/accessible.c :
6169 Added implementations for Accessible:get_parent(),
6170 Accessible:getChildCount(), and Accessible:getChildAtIndex().
6171 * libspi/registry.c :
6172 * libspi/listener.c :
6173 Replaced calls to Accessibility_Accessible_ref() and
6174 Accessibility_Accessible_unref() with
6175 calls to bonobo_object_dup_ref() and
6176 bonobo_object_release_unref(), so that the CORBA object
6177 is dup-ed and released when relayed, as well as the bonobo object.
6179 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6181 * libspi/Makefile.am,
6182 registryd/Makefile.am,
6183 at-bridge/Makefile.am.
6184 test/Makefile.am, configure.in:
6185 reverse previous changes.
6187 * /idl/Image.idl: fix typo.
6189 * test/Makefile.am: put DEBUG_FLAGS
6192 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6194 * test/app.c: use argv[0] instead of
6197 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6199 * libspi/Makefile.am,
6200 registryd/Makefile.am,
6201 at-bridge/Makefile.am.
6202 test/Makefile.am, configure.in:
6203 cleanup, replace individual LIBS/CFLAGS with
6204 AT_COMMON_{LIBS|CFLAGS}.
6208 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6210 * configure.in, libspi/Makefile.am:
6211 Change IDL path checking for bonobo-activation
6214 2001-08-15 Bill Haneman <bill.haneman@sun.com>
6216 * registryd/registry.c : separated event listeners to use
6217 3 separate lists (focus, window, toolkit). Began testing
6218 event names against hashes before relaying events.
6219 * test/at.c : now register for events of type "focus:"
6220 * test/app.c : now generate events of type "focus:"
6221 * at-bridge/bridge.c : register with ATK for focus events,
6222 and we now relay those focus events to any "focus:" listeners.
6223 This now works with the bridge as a GTK_MODULE when running test/at.
6224 * libspi/registry.c :
6225 * libspi/listener.c :
6226 now we ref event sources before propagating, and unref on receipt.
6227 * libspi/registry.c :
6228 some changes to internal structs, to support event typestring hashes.
6229 * text/app.c : changed the way the appname is generated.
6230 * cspi : added directory that will hold the C bindings library for
6231 non-CORBA/bonobo-savvy clients.
6232 * cspi/spi.h : header file that contains the function prototypes for the C binding.
6233 * idl/Component.idl : added in parameter to indicate coord system for
6234 geometry-related calls.
6235 * idl/Hyperlink.idl : added readonly n_links attribute
6236 * idl/Image.idl : changed methods to attributes.
6238 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6240 * at-bridge/Makefile.am: link against
6241 ../libspi/libspi.la instead of -lspi.
6243 * at-spi/test/app.c: include
6244 bonobo-activation.h. Use a default appname
6245 if one is not provided.
6247 2001-08-14 Bill Haneman <bill.haneman@sun.com>
6249 * idl/Registry.idl : temporarily changed register_Application
6250 to oneway, to work around issue with initial registration
6252 * idl/Application.idl : changed attribute "id" from readonly
6253 to read-write, since it needs to be assigned by Registry.
6254 * registryd/registryd.c : added call to set application id
6256 * registryd/registry.c : changed de-registration procedure to
6257 use CORBA_Object_hash() to find matching object ref in application
6258 lists and listener lists.
6259 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
6260 began distinguishing between event types (work in progress).
6262 2001-08-13 Bill Haneman <bill.haneman@sun.com>
6265 * libspi/application.c:
6266 Added implementations for get/set id, get_toolkitName,
6268 * registryd/registryd.c :
6272 Converted from use of OAF to bonobo-activation.
6273 * libspi/desktop.h :
6274 * libspi/desktop.c :
6276 Removed references to atksimpleobject, since base atkobject
6277 implementation now provides functionality we need.
6278 * libspi/atksimpleobject.c :
6279 * libspi/atksimpleobject.h :
6284 * at-bridge/Makefile.am
6285 * at-bridge/bridge.c
6288 Added directory "bridge" and contents, and added dependencies
6289 in Makefile.am/configure.in.
6290 Initial checkin of "at-bridge".
6291 This code is a GTK_MODULE which automatically registers
6292 GTK+ apps with the accessibility registry, using an object
6293 reference to the root ATK object.
6295 2001-08-10 Mark McLoughlin <mark@skynet.ie>
6297 * po/Makefile.in.in: Remove. Again. If this
6298 doesn't get autogenerated - you need to update
6301 2001-08-07 Mark McLoughlin <mark@skynet.ie>
6303 * po/Makefile.in.in: Add. Again.
6305 2001-07-31 Bill Haneman <bill.haneman@sun.com>
6307 * libspi/accessible.c : added support for 'description' property.
6308 * libspi/accessible.c
6310 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
6311 (since the two are now equivalent in libbonobo)
6319 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
6320 Bonobo::Unknown as does Accessibility::Accessible.
6321 * idl/StreamableContent.idl : as above, and replaced internal InputStream
6322 interface with Bonobo::Stream, since it was redundant with it.
6323 (The Stream returned by a StreamableContext object is expected to
6324 implement only a subset of Bonobo::Stream)
6326 2001-07-28 Anders Carlsson <andersca@gnome.org>
6328 * libspi/accessible.c (accessible_object_finalize): Change
6329 g_free to g_object_unref since the AtkObject is a GObject.
6331 2001-07-30 Bill Haneman <bill.haneman@sun.com>
6333 * idl/Accessibility.idl: add new IDL files
6336 * idl/Action.idl: Definitions of actionable UI object
6337 * idl/Component.idl: Definitions of UI component geometry, etc.
6338 * idl/Hyperlink.idl: Defs of hyperlink behavior
6339 * idl/Image.idl: Def of accessible image
6340 * idl/Selection.idl: Definition of UI object with selectable children
6341 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
6342 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
6343 * idl/Text.idl: Interface defs for UI elements with complex textual content
6344 * idl/Value.idl: Definition of UI element that is a value controller or display
6346 2001-07-27 Michael Meeks <michael@ximian.com>
6348 * po/Makefile.in.in: remove autogenerated file from CVS.
6350 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
6353 * idl/Registry.idl: include guard.
6355 * idl/Accessibility.idl: Add, and include all the other IDL
6358 * idl/*.idl: remove mass of pragmas etc.
6360 2001-07-26 Michael Meeks <michael@ximian.com>
6362 * registryd/Makefile.am (registryd_SOURCES): remove
6365 2001-07-27 Mark McLoughlin <mark@skynet.ie>
6367 * libspi/.cvsignore, registryd/.cvsignore,
6368 test/.cvsignore: updated.
6370 * po/Makefile.in.in: gettext update.
6372 2001-07-25 Bill Haneman <bill.haneman@sun.com>
6374 * initial CVS checkin
6376 2001-06-29 Michael Meeks <michael@ximian.com>
6378 * configure.in: add AM_CONFIG_HEADER to gen config.h