1 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
3 * test/event-listeber-test.c: Change active-descendant to
4 active-descendant-changed.
6 2003-08-10 Sami Pesonen <sampeson@iki.fi>
8 * configure.in: Added "fi" in ALL_LINGUAS.
10 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
12 * configure.in: Added "hi" in ALL_LINGUAS.
14 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
16 * configure.in: Revved to 1.3.6.
20 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
22 * registryd/deviceeventcontroller.c
23 (spi_device_event_controller_object_finalize): Fix typo in previous
26 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
28 * registryd/deviceeventcontroller.c
29 (spi_device_event_controller_object_finalize): Fix build on
30 systems without XEvIE.
32 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
34 * acconfig.h, configure.in, registryd/Makefile.am,
35 registryd/devicecontoller.[ch]: Add XEViE support.
37 2003-08-06 Wang Jian <lark@linux.net.cn>
39 * configure.in: Added "zh_CN" to ALL_LINGUAS.
41 2003-08-06 Metin Amiroff<metin@karegen.com>
43 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
45 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
47 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
48 MODIFIER_ALT in correct place.
50 This fixes part of bug #118114.
52 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
54 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
56 2003-07-28 Changwoo Ryu <cwryu@debian.org>
58 * configure.in: Added "ko" to ALL_LINGUAS.
60 2003-07-28 Ole Laursen <olau@hardworking.dk>
62 * configure.in: Added "da" to the commented out ALL_LINGUAS.
64 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
66 * configure.in: Added "sq" to ALL_LINGUAS.
68 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
70 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
72 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
74 * configure.in: updated ALL_LINGUAS list
76 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
78 * configure.in: Added Belarusian to ALL_LINGUAS.
80 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
82 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
84 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
85 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
87 This fixes bug #116949.
89 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
91 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
92 Correct CSPI to SPI in function documentation.
94 This fixes bug #118054.
96 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
98 * configure.in: Added Russian to ALL_LINGUAS.
100 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
102 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
104 2003-07-14 Danilo Ĺ egan <dsegan@gmx.net>
106 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
108 2003-07-10 Joel Brich <joel.brich@laposte.net>
110 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
112 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
114 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
116 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
118 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
119 resources allocated for AccessibleEvent. See cspi_event().
121 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
122 static variable streams to NULL.
124 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
125 Update so that AcessibleEvent_ref will work.
127 This fixes bug #116624.
129 2003-07-06 Jordi Mallach <jordi@sindominio.net>
131 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
133 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
135 * configure.in: Added "fr" (French) to ALL_LINGUAS.
137 2003-07-02 Christian Neumair <chris@gnome-de.org>
139 * configure.in: Added "de" (German) to ALL_LINGUAS.
141 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
143 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
145 2003-07-01 Miloslav Trmac <mitr@volny.cz>
147 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
149 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
151 * configure.in: Added "pl" to ALL_LINGUAS.
153 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
155 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
157 2003-06-30 Bill Haneman <bill.haneman@sun.com>
160 (get_action_from_servant):
161 Removed assertion that action is implemented on an AtkObject.
163 * libspi/hyperlink.c:
165 Aggregate AccessibleAction interface on the hyperlink object if
166 the object implements AtkAction. (This convention is used in
169 2003-06-30 Bill Haneman <bill.haneman@sun.com>
171 * configure.in: Revved to 1.3.5.
173 * registryd/Accessibility_Registry.server.in.in:
174 Marked up appropriate strings for translation.
176 * atk-bridge/bridge.c: Marked a couple of
177 user-visible warnings for translation. Questionable
178 whether they are really useful, but possibly so.
181 2003-06-28 Christian Rose <menthos@menthos.com>
183 * configure.in: Added "sv" to ALL_LINGUAS.
185 2003-06-26 Bill Haneman <bill.haneman@sun.com>
187 * registryd/registry.c:
188 (spi_registry_object_finalize): Unref the deviceeventcontroller.
189 (registry_defer_on_event): Defer focus: events, this is an
190 improvement to the patch for bug #108664.
192 * TODO: Update with 2.4/"Dev Complete" items.
194 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
196 * atk-bridge/bridge.c:
197 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
198 looks up signals once.
199 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
200 if doing registration.
201 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
202 when doing registration.
204 This fixes bug #115014.
206 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
208 * atk-bridge/bridge.c:
209 (atk_bridge_init): Add signal handler for children-changed:remove on
210 root when in a BonoboComponent.
211 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
212 for first toplevel only other incrememt variable toplevels.
213 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
214 application and remove listeners.
215 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
217 (spi_atk_deregister_event_listeners): New function which removes
219 (reinit_register_vars): New fuction which reinitializes variables.
221 This fixes bug #111578.
223 2003-06-13 Bill Haneman <bill.haneman@sun.com>
225 * configure.in: version 1.3.4.
227 * cspi/spi_accessible.c:
228 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
231 2003-06-13 Michael Meeks <michael@ximian.com>
233 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
235 * cspi/spi_main.c (cspi_peek_ev): impl.
237 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
239 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
241 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
243 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
244 SPI_ROLE_AUTOCOMPLETE
246 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
248 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
249 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
251 2003-06-11 Bill Haneman <bill.haneman@sun.com>
253 * libspi/streamablecontent.h:
254 * libspi/streamablecontent.c:
255 New files, provide implementation/wrappers for
256 Accessibility_StreamableContent.
258 * cspi/spi_streamablecontent.c:
259 Connected the C wrappers to the libspi C bindings.
260 (AccessibleStreamableContent_close): New method.
263 (AccessibleStreamableContent_close): New method, needed
264 since we have an "open, [seek], read, close" model in cspi.
266 2003-06-11 Bill Haneman <bill.haneman@sun.com>
268 Fix for #108664; Padraig's revision of my original patch.
270 * registryd/registry.h:
271 Added event queue list, is_queuing, and exit_notify_timeout
272 to the registry struct.
274 * registryd/registry.c:
275 (registry_init): Initialize new struct from registry.h.
276 (impl_registry_notify_event):
277 Filter events before notifying, in case some need to be
279 (registry_filter_event): New,
280 we defer certain incoming events (for instance
281 window:deactivate) because we may wish to hide
282 or reject them based on pending events. This is
283 mostly a workaround for bug #108664.
284 (registry_queue_event, registry_start_queue): New.
285 (registry_defer_on_event): Test event to see if it
287 (registry_reset_on_event): Returns TRUE if the
288 event should cause a queue reset.
289 (registry_discard_on_event): Returns TRUE if the event
290 should cause the previous queue contents to be discarded.
291 (registry_timeout_flush_queue): Flushes the pending event
292 queue if no reset/discard-triggering events have come in
293 within the timeout period.
294 (registry_emit_event): New.
295 (registry_clone_notify_context): New, used when queueing the
296 event notify contexts.
298 2003-06-10 Bill Haneman <bill.haneman@sun.com>
300 * configure.in: Version revved to 1.3.2, lt 0.9.2
301 Incremented ATK required version to 1.3.4.
303 * cspi/spi_registry.c:
304 (SPI_generateKeyEvent):
305 We now pass the keystring along if it's non-null.
307 * registryd/deviceeventcontroller.c:
308 (keysym_mod_mask): New method, returns modifier mask
309 required to generate a keysym from a given keycode.
310 (dec_synth_keysym): New method.
311 (dec_synth_keystring): New method.
312 (dec_get_modifier_state): New method.
313 (dec_lock_modifiers): New
314 (dec_unlock_modifiers): New.
315 (dec_keysym_for_unichar): New, rather brute-force
316 conversion from UCS-4 to X KeySyms. Only works for
317 Latin at the moment, with partial implementations for
318 Greek, Hebrew, and (incomplete) Katakana.
319 (impl_generate_keyboard_event): Now implement
320 "KEYSTRING" synthesis and implement "KEYSYM"
322 (keycode_from_keysym): Improved, passes a returned
323 modmask value now if the corresponding param is non-NULL.
325 Fixes bugs #92143 and #109776.
328 * test/keysynth-test.c:
329 New test program for key synthesis, to confirm fixes for
333 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
335 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
337 * cspi/spi_accessible.c (cspi_init_relation_type_table):
338 Add line for RELATION_POPUP_FOR
340 * docs/reference/cspi/tmpl/spi_relation.sgml:
341 Add relation SPI_RELATION_POPUP_FOR
343 * docs/reference/cspi/tmpl/spi_stateset.sgml:
344 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
346 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
348 * libspi/relation.c (spi_init_relation_type_table):
349 Add line for RELATION_POPUP_FOR
351 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
353 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
354 there are still windows which have not been deleted and emit
355 window:deactivate, if necessary and window:destroy events.
356 This fixes bug #114370. The change on June 5th was not correct.
358 2003-06-09 Bill Haneman <bill.haneman@sun.com>
360 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
363 (SPI_dupString): Allow dup-ing of a string such that it's safe to
365 New methods for client exception handling and interception.
366 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
367 (SPI_exceptionHandlerPop): You guessed it...
368 (SPI_getSourceType): Return the type of object which offended.
369 (SPI_getExceptionCode): Return an enum code telling, possibly,
370 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
371 (SPIAccessibleException_getSource): get the source object for
372 exceptions that come from Accessibles, if SPIExceptionSourceType is
373 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
374 (SPIException_getDescription): New, returns a string description of
375 the problem. [Not yet a stable ABI, strings are not frozen]
377 * cspi/spi-private.h:
378 Added implementation details of opaque SPIException
382 Implementations of above. Also
383 (_cspi_exception_throw): new private method that
384 dispatches exceptions to handlers, called from cspi-bonobo.c
386 * cspi/bonobo/cspi-bonobo.c:
387 (cspi_check_ev): call _cspi_exception_throw.
388 Don't print a warning message if the exception has been
389 handled by _cspi_exception_throw.
391 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
393 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
394 there are still windows which have not been deleted and emit
395 window:deactivate, if necessary and window:destroy events.
396 This fixes bug #114370.
398 2003-06-03 Bill Haneman <bill.haneman@sun.com>
401 (cspi_accessible_is_a): Make non-fatal
402 if the object reference is dead.
404 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
406 * cspi/spi_main.c: #include <stdio.h>
407 * test/simple-at.c: ditto
408 * test/event-listener-test.c: ditto
409 * test/screen-review-test.c: ditto
411 2003-05-30 Michael Meeks <michael@ximian.com>
413 * test/test-simple.c (main): use CORBA_ORB_perform_work
414 instead of an unnecessary linc_ call.
416 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
418 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
419 Add SPI_STATE_INDETERMINATE.
421 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
424 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
426 * libspi/stateset.c (init_state_type_tables): Add support for
429 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
431 * configure: Update versions of atk and gail required.
432 This fixes bug #113268.
434 2003-05-02 Bill Haneman <bill.haneman@sun.com>
436 * configure.in: Revved micro version to 1.3.1 (because of build fix).
438 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
440 * libspi/Makefile.am:
441 Ensure headers are generated before being used by c sources.
443 2003-05-01 Bill Haneman <bill.haneman@sun.com>
446 Simplified lt versioning rules.
447 Incremented version to 1.3.0, to indicate that we're on the
450 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
452 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
453 Add MKDB_OPTIONS=--outtput-format=xml
455 * docs/reference/cspi/at-spi-cspi-docs.sgml
456 docs/reference/idl/at-spi-idl-docs.sgml:
457 Convert to Docbook XML.
459 This fixes bug #111793.
461 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
463 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
464 AcccessibleKeyEventType, AccessibleKeyMaskType.
466 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
468 * cspi/state-types.h: Add documentation for AccessibleState.
470 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
471 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
472 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
473 AccessibleComponentLayer.
475 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
478 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
480 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
481 Accessible. Add description of AccessibleEvent,
482 AccessibleEventListenerCB.
484 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
487 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
488 documentation. Add description of AccessibleKeystrokeListenerCB,
489 AccessibleKeyEventMask, AccessibleModifierMaskType,
490 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
491 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
493 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
496 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
499 This fixes bug #104730.
501 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
503 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
504 Set is_text field of Accessibility_DeviceEvent data structure.
506 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
507 is-text field of AccessibleDeviceEvent data structure.
509 This addresses part of bug #108666.
511 * registryd/devcieeventcontroller.c: Unset debug option.
513 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
516 (cpi_initial_relation_type_table): New function which initializes
517 mapping between Accessibility_RelationType and AccessibleRelationType.
518 (cspi_relation_type_from_spi_relation_type): New function which
519 translates an Accessibility_RelationType into an AccessibleRelationType.
520 (AccessibleRelation_getRelationType): Use
521 cpi_relation_type_get_spi_relation_type to return correct value.
522 (spi_state_to_corba): Return correct type for default case.
524 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
525 Use Accessibility_EventType instead of Accessibility_KeyEventType.
527 * cspi/cspi-bonobo-listener.c:
528 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
531 * libspi/accessible.c, libspi/action.c, libspi/application.c,
532 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
533 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
534 libspi/image.c, libspi/listener.c, libspi/selection.c,
535 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
536 registryd/desktop.c, registryd/registry.c:
537 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
539 * libspi/eventlistener.c
540 Remove semicolon after BONOBO_TYPE_FUNC.
543 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
544 (spi_init_relation_type_table): Initialize using correct type.
546 * registryd/desktop.c:
547 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
548 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
549 of Accessibility_KeyEventType.
551 * test/key-listener-test.c (report_tab_key_event): Use fprintf
554 * tests/simple-at.c, tests/screen-review-test.c:
555 Add include for <strings.h>.
557 * tests.stress-test.c:
558 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
560 These changes fix compiler warnings when using FORTE compiler on
561 Solaris; fixes bug #107479.
564 2003-04-10 Bill Haneman <bill.haneman@sun.com>
567 * configure.in: revved to 1.1.10
570 (SPI_KEYMASK_NUMLOCK): Added.
572 * registryd/deviceeventcontroller.c:
573 (spi_key_event_matches_listener): AND with a smaller
574 bitmask (as we should).
575 (spi_dec_translate_mask):
576 New method, sets the virtual NumLock modifier bit
577 if numlock is on. Eventually it can handle other virtual
578 modifier bits if needed, or other marshalling from
579 at-spi modifier masks to platform (X) masks.
580 (spi_dec_key_listener_new):
581 Call spi_dec_translate_mask to set up virtual mod bits
582 in the 'mask' field when creating a new listener struct.
583 (spi_dec_emit_modifier_event):
584 Set the virtual (i.e. NumLock) bits before emitting event.
585 (spi_controller_register_with_devices):
586 Query for the NumLock modifier 'physical' bit if Xkb is
587 present, for use in above methods.
591 2003-04-10 Bill Haneman <bill.haneman@sun.com>
593 * registryd/deviceeventcontroller.c:
594 (spi_keystroke_from_x_key_event):
595 Instead of checking to see if the keysym is
596 printable, check the string from XLookupString
597 if available, get the first unicode character from it,
598 and call g_unichar_isprint to determine whether the
599 is_text flag should be TRUE or FALSE.
603 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
605 * atk-bridge/bridge.c: Add support for extended events
606 * cspi/spi_event.c: Add documentation and implementation for
608 * tests/event-listener-test.c: Add tests for extended events.
610 This fixes bugs #100424 and #100426.
612 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
614 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
615 of LT_CURRENT. This fixes bug #89350.
617 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
619 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
620 number of signal parameter values before accessing them. This fixes
623 2003-04-01 Bill Haneman <bill.haneman@sun.com>
625 * configure.in: Fixed duplicate inclusion of -lspi.
626 * branched for gnome-2-2/HEAD.
627 [created tag "gnome-2-2"]
629 2003-03-07 Bill Haneman <bill.haneman@sun.com>
631 * configure.in: 1.1.9 release.
634 2003-03-07 Bill Haneman <bill.haneman@sun.com>
636 [needed by GOK, to fix bugs 107985 and 107988]
637 * registryd/deviceeventcontroller.c:
638 (spi_dec_clear_unlatch_pending):
639 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
640 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
641 (spi_dec_init_mouse_listener):Emit warning if mouse button
643 (spi_device_event_controller_forward_mouse_event):
644 Removed unnecessary parens from a conditional.
645 (global_filter_fn):Added TODO comment.
646 (impl_generate_keyboard_event):
647 Cancel a pending relatch if a 'delatching' key was
650 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
652 * atk-bridge/bridge.c:
653 Change atk_signal_child_changed to atk_signal_children_changed.
654 Reorganize code in spi_atk_bridge_signal_listener().
656 * test/event-listener-test.c:
657 Add children_changed_listener and report_children_changed_event()
658 to test AccessibleChildEvent_getChildAccessible.
660 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
662 * cspi/spi_event.c (cspi_internal_event_get_text): Change
663 g_strdup to CORBA_String_dup (bug #105291)
665 * test/event-listener-test.c (report_text_event): Add call to
668 2003-02-28 Bill Haneman <bill.haneman@sun.com>
670 * registryd/deviceeventcontroller.c:
671 (spi_keystroke_from_x_key_event):
672 Fix string and keysym return codes to match modifier state.
675 2003-02-28 Bill Haneman <bill.haneman@sun.com>
677 * registryd/deviceeventcontroller.c:
678 (spi_keystroke_from_x_key_event):
679 Fix segv due to improper use of isprint(c). [bug #107254]
681 2003-02-24 Bill Haneman <bill.haneman@sun.com>
684 (get_accessible_text_boundary_type):
685 Move default return value to (new) default case in switch.
686 (get_accessible_text_clip_type):
687 Move default return value to (new) default case in switch.
689 * libspi/application.c:
690 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
691 Remove unused methods.
692 (impl_accessibility_application_register_object_event_listener):
693 Remove unused methods.
696 Added #include of <math.h>.
698 * registryd/deviceeventcontroller.c:
699 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
700 we don't currently use this method.
701 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
703 (impl_generate_key_event):
704 Remove unused variables.
705 (impl_generate_mouse_event):
706 Initialize button to zero, just in case we get an invalid
707 input. Added support for mouse buttons 4 and 5.
708 (spi_device_event_controller_new):
709 Removed unused variable declaration for 'private'.
711 Added #include of <gdk/gdk.h>
713 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
715 * configure.in: Update to work when X is not installed in expected
716 location. Fixes bug #105836.
718 * atk-bridge/bridge.c
719 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
721 (spi_atk_register_event_listener): Add signal listener for
723 (spi_atk_bridge_signal_listener): Event event when link-selected
724 signal is emitted. (bug #104622)
726 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
727 on returned string. (bug #105291)
729 * test/event-listener-test.c: Add test for link-selected.
731 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
733 * atk-bridge/Makefile.am: Correct typo in previous commit.
735 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
737 * atk-bridge/Makefile.am: Allow for build directory to be different
738 from source directory
740 * registryd/Makefile.am: Allow for build directory to be different
741 from source directory
745 2003-01-29 Bill Haneman <bill.haneman@sun.com>
748 Fixed dependencies for libcspi so that libspi gets pulled in
749 properly. Fixes 104741.
753 Clean up inline docs a little.
755 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
757 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
758 This is done by implementing AtkComponent for SpiAtkDesktop, which is
759 the AtkObject within an SpiDesktop.
760 This addresses bug #101524.
762 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
763 Remove call to gdk_init().
765 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
766 so that Display is set when SpiDesktop is created.
768 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
770 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
771 This fixes bug #102830.
773 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
775 * test/test-simple.c: Update to take account of fact that GailButton
776 now implements AtkText.
777 (create_text_window): Set name on AtkObject for GtkEntry.
778 (validate_accessible): Check accessible name before calling test_text().
780 * libspi/Makefile.am: Fix problem with building outside of source
781 directory. Bug #98120.
783 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
784 typo in documentation comments. Bug #94275.
786 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
788 * libspi/text.c (impl_getBoundedRanges): Bug fix.
790 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
793 Add includes to avoid compiler warnings on Solaris.
794 (impl_getRangeExtents): Bug fix.
796 2002-12-17 Bill Haneman <bill.haneman@sun.com>
798 Fix for 100944, [API addition approved by Gman and murrayc].
805 * idl/Accessibility_Text.idl:
806 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
807 (Text::getRangeExtents): New method for efficient
808 bounds query of a text range.
809 (Text::getBoundedRanges): New method for efficient
810 clipping of text to bounding boxes.
811 (unImplemented7, unImplemented8):
812 Removed these padding methods to preserve bincompat.
815 (impl_getRangeExtents): implementation of new IDL.
816 (impl_getBoundedRanges): implementation of new IDL.
817 (SpiTextRect): Internal use struct.
818 (_spi_text_rect_union): internal method, calculates union of two
819 SpiTextRect bounding rects.
820 (_spi_text_range_seq_from_gslist): internal method, allows us
821 to build our sequence efficiently as a gslist then convert it
823 (_spi_bounds_contain): internal method, determines whether
824 a text character is "in" or "out" of a clip rect according to
825 values of TEXT_CLIP_TYPE.
826 (spi_text_class_init): Initialize the new methods in the epv.
829 (AccessibleTextClipType): New enum used by screen review api.
830 (AccessibleTextRange): New struct used by screen review api.
831 (AccessibleText_getRangeExtents):
832 cspi binding for Accessibility_Text_getRangeExtents.
833 (AccessibleText_getBoundedRanges):
834 cspi binding for Accessibility_Text_getBoundedRanges.
835 (AccessibleTextRange_freeRanges): convenience method.
838 (AccessibleText_getRangeExtents):
839 cspi binding for Accessibility_Text_getRangeExtents.
840 (AccessibleText_getBoundedRanges):
841 cspi binding for Accessibility_Text_getBoundedRanges.
842 (AccessibleTextRange_freeRanges): convenience method.
843 (get_accessible_text_clip_type): internal conversion method.
844 (get_accessible_text_ranges_from_range_seq): internal conversion method.
846 * registryd/deviceeventcontroller.c:
847 (spi_dec_mouse_check):
848 Improved behavior for mouse:abs events
849 [same granularity as mouse:rel events, and no
850 events when mouse is idle].
852 2002-12-16 Michael Meeks <michael@ximian.com>
854 * cspi/spi_accessible.c (spi_state_to_corba): rename.
856 * libspi/stateset.c (state_spi_to_atk): split out
857 ( fix several remote array bounds nasties )
858 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
859 (impl_remove): make safe from array bounds issues.
860 (spi_atk_state_from_spi_state): impl.
862 * libspi/stateset.h (spi_state_set_cache_is_empty):
863 add a set of wrapper defines to get layering right.
865 * cspi/spi_accessible.c: update state set stuff to
868 2002-12-14 Michael Meeks <michael@ximian.com>
870 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
871 to avoid 2 roundtrips to the registry per key event
872 (spi_atk_bridge_key_listener): upd.
873 (deregister_application): release the dec.
875 * registryd/registry.c (notify_listeners_cb):
876 bin lots of re-enterant complexity - we no longer
877 do a round-trip bonobo ref here, ensure that a single
878 listener's exception failure won't poison all other
880 (impl_registry_notify_event): bin obvious memory leak.
882 2002-12-13 Michael Meeks <michael@ximian.com>
884 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
885 init the ev so the error is meaningful.
886 (spi_atk_bridge_key_listener): ditto.
888 * cspi/spi_main.c (cspi_ev): init the ev so we start
889 with a clean slate, otherwise the first exception
892 * cspi/spi_text.c (get_accessible_text_boundary_type):
893 add a fallthrough for no warnings.
895 * cspi/spi_registry.c: prune unused warnings.
897 * cspi/spi_main.c (cspi_object_take): fix
898 mind-blowing brokenness ( by watching the compile
901 * cspi/spi_accessible.c (Accessible_getStateSet):
902 re-impl. to use an AtkStateSet.
903 (spi_state_type_from_accessible_state),
904 (init_state_table): bin these.
906 * libspi/stateset.c (spi_atk_state_set_from_sequence):
908 (atk_state_set_from_accessibility_state_set): here.
910 * cspi/spi_accessible.c (spi_state_to_atk): impl.
911 (AccessibleStateSet_contains, AccessibleStateSet_ref),
912 (AccessibleStateSet_unref, AccessibleStateSet_contains),
913 (AccessibleStateSet_add, AccessibleStateSet_remove),
914 (AccessibleStateSet_equals, AccessibleStateSet_compare),
915 (AccessibleStateSet_isEmpty): re-write to use a local
918 2002-12-13 Bill Haneman <bill.haneman@sun.com>
920 * configure.in: Revved to 1.1.7 (new keymask vals).
922 2002-12-10 Bill Haneman <bill.haneman@sun.com>
925 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
927 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
930 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
931 to compare two CORBA_TypeCodes.
932 (cspi_internal_event_add): Silence warning from FORTE compiler.
934 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
935 avoid implicit declaration of functions.
937 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
939 * atk-bridge/bridge.c:
940 (spi_atk_bridge_init_event_type_consts): Store signal id for
941 active-descendant-changed signal.
942 (spi_atk_register_event_listeners): Add signal listener for
943 active-descendant-changed signal,
944 (spi_atk_bridge_signal_listener): Move code in function
945 spi_atk-signal_emit_event() into this function.
946 Add support for active-descendant-changed
947 Update support for child-changed signal.
948 (spi_bridge_window_event_listener): Silence warning.
950 * libspi/spi_private.[ch]:
951 (spi_init_any_object): Change second parameter from CORBA_Object to
953 Omit call to CORBA_Object_duplicate().
954 Set CORBA_any's _value to CORBA_Object*.
956 2002-12-06 Bill Haneman <bill.haneman@sun.com>
962 (AccessibleEvent_ref, AccessibleEvent_unref):
963 New methods, for persisting an event outside the emission context.
964 Must be used if the new accessor methods are to be called
965 outside of the event listener's callback.
967 * cspi/bonobo/cspi-bonobo.c:
968 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
969 as second parameter instead of NULL, so we can call
970 cspi_check_ev afterwards.
973 (cspi_object_take): New internal method,
974 converts a CORBA_Object reference to a hard ref on
975 an Accessible if possible, returning NULL if the object
976 reference is invalid or an Accessible * otherwise.
979 (AccessibleEvent_ref):
980 Increment the event's internal private refcount, and
981 add the event's internal struct to an internal cache
982 if it's not already there.
983 (AccessibleEvent_unref):
984 Decrement the event's refcount and remove it from
985 the cspi event cache if refcount==0.
986 (cspi_event_compare): New private method.
987 Compares two event structs via their ids. Used
989 (cspi_internal_event_lookup): New private method.
990 (cspi_internal_event_check): New private method,
991 a 0-order sanity check for events to make sure their
992 private data is intact.
993 (cspi_internal_event_add, cspi_internal_event_remove):
994 New private methods for managiing the event cache.
996 * cspi/bonobo/cspi-bonobo-listener.c:
998 Initialize the new private data elements (id, magic, ref_count).
1000 * atk-bridge/bridge.c:
1001 (spi_atk_bridge_signal_listener):
1002 Fixed bug #100530, passing wrong params to emission func.
1004 * registryd/deviceeventcontroller.c:
1005 (spi_dec_button_update_and_emit):
1006 Fixed type in mask bit operations; fix for #99799.
1008 2002-12-02 Bill Haneman <bill.haneman@sun.com>
1010 Removed some of the more dangerous workarounds from
1011 previous commit; they are only needed by GOK, which
1012 in reality should be using another method to accomplish
1013 the goals. So on reconsideration some of the workarounds
1014 need to be reverted:
1016 * registryd/deviceeventcontroller.c:
1017 (spi_keycodes_contain, spi_dec_init_keycode_list):
1018 Removed these methods, used only by a nasty hack to try
1019 and detect whether a key synthesis should be allowed
1020 to reset the XKB latch state or not. This code was only
1021 required to work around an interaction between GOK,
1022 button events, and XKB.
1023 (impl_generate_key_event):
1024 Removed hack at end of key generation that tried to
1025 "do the right thing" if XKB latch keys were generated
1026 in the midst of button press/release pairs.
1029 Added a check for HAVE_XINPUT. Not normally used yet.
1031 2002-11-25 Bill Haneman <bill.haneman@sun.com>
1033 Workarounds and fixes for mouse event/XKB interaction.
1035 * registryd/deviceeventcontroller.c:
1036 (spi_keycodes_contain, spi_dec_init_keycode_list):
1037 New internal methods.
1038 (spi_dec_set_unlatch_pending):
1039 Split the method that tells XKB to expect an
1040 unlatch (and revert it) out of the rest of the
1041 event handling code. This method is called by the
1042 two mouse event handlers (the poll and the filter).
1043 (spi_dec_update_and_emit, spi_dec_mouse_check):
1044 New methods split from spi_dec_poll_mouse_moved.
1045 The second one is now called from inside the filterFn
1046 when an XKB delatch event is received, to determine
1047 whether to revert the delatch or not.
1048 (spi_poll_mouse_moved): Refactor; also we can now
1049 properly handle the case where multiple button states
1050 have changed between polling cycles and we didn't get
1051 notified due to another client's grab.
1053 Synchronize the server while handling an XKB notification.
1054 Ugly, but apparently necessary to avoid nasty races.
1055 Check the mouse state on receipt of an XKB latch change,
1056 to decide whether to revert the latch or not. (Latches are
1057 reverted if there is an immediately preceding mouse button
1058 event that a client has consumed, in which case we don't want
1059 the user to see the side-effect of the event).
1060 (spi_device_event_controller_forward_mouse_event):
1061 Check for modifier events and fire before resetting mouse_mask_state,
1062 prevents losing modifier events.
1064 (impl_generate_keyboard_event):
1065 If we've just generated a keyboard event for a non-shift key,
1066 we don't want to revert the pending XKB latch.
1067 Otherwise, check the modifier state (via a call to
1068 spi_dev_mouse_check) and set the relatch mask to
1069 that state before returning.
1071 2002-11-24 Bill Haneman <bill.haneman@sun.com>
1074 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
1077 * atk-bridge/bridge.c:
1078 (spi_atk_register_event_listeners):
1079 Don't re-register for ATK events if the registry has died
1080 and the app needs to re-register; the ATK listeners are in
1081 process and doing so will cause duplicate emission.
1083 * registryd/deviceeventcontroller.c:
1084 (spi_poll_mouse_moved):
1085 Reformat the source, detect and emit multiple button-change
1086 events (i.e. if multiple buttons have changed between poll
1088 Add code to detect mouse-down events even when the pointer
1089 is grabbed; workaround for GOK bug 98420.
1090 (spi_controller_register_with_devices):
1091 Call XTestGrabControl with 'impervious' flag set to True,
1092 allows us to synthesize events and query the pointer even during
1093 an active grab by another client.
1094 (spi_device_event_controller_forward_mouse_event):
1095 Set the mouse_mask_state to the mouse_button_state from
1096 the intercepted event, to synchronize the grab listener with
1099 2002-11-20 Bill Haneman <bill.haneman@sun.com>
1101 * cspi/spi_accessible.c:
1102 (AccessibleRole_getName):
1103 Added necessary strings for making this (deprecated)
1104 method work with the new role types.
1105 (init_role_table, role_table):
1106 Added definition of SPI_ROLE_APPLICATION.
1108 * libspi/spi-roletypes.h:
1109 Added SPI_ROLE_APPLICATION.
1111 * idl/Accessibility_Role.idl:
1112 Added ROLE_APPLICATION.
1114 * docs/reference/cspi/at-spi-cspi-decl.txt:
1115 Added SPI_ROLE_APPLICATION to docs.
1117 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
1119 * cspi/spi_accessible.c
1120 (cspi_init_role_table): Do not write beyond end of role_table.
1121 (Accessible_getRole): Use correct type for value returned by
1122 Accessibility_Accessible_getRole().
1124 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
1125 beyond end of role_table. (This fixes bug #98269)
1127 * libspi/application.c: Add include file spi-private.h for
1128 definition of spi_init_any_nil.
1130 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1134 * libspi/spi-private.h:
1135 Added DGB() macro, and extern int _dbg declaration.
1137 * registryd/registry.c:
1138 (definitions) storage for _dbg.
1139 (spi_registry_init):
1140 Get environment variable "AT_SPI_DEBUG".
1141 (spi_registry_set_debug):
1142 New method, to initialize _dbg value.
1143 (spi_listener_struct_new, spi_registry_object_finalize):
1144 (notify_listeners_cb):
1145 Changed fprintfs to use DBG and g_warning().
1147 * registryd/deviceeventcontroller.c:
1148 (_deregister_keygrab, spi_controller_register_device_listener):
1149 Changed debug/warning messages to use DBG macro.
1151 * libspi/listener.c:
1152 (impl_notify_event):
1153 Changed warning messages to use DBG macro and g_warning().
1155 * atk-bridge/bridge.c:
1156 (atk_bridge_init, spi_atk_bridge_get_registry):
1157 (spi_atk_bridge_exit_func):
1158 (spi_atk_bridge_property_event_listener):
1159 Changed status, warning, and error messages to use
1160 g_warning, g_message, and DBG macros.
1163 Read the state of the AT_SPI_DEBUG environment variable
1164 and set a local '_dbg' accordingly.
1166 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1168 FIXES for 98836, 98842, other bugs.
1171 Revved to 1.1.4, interface-age=4, binary-age=4.
1173 * registryd/deviceeventcontroller.c:
1175 Fixed crasher bug in last_mouse_pos initialization.
1177 * registryd/registry.c:
1178 (desktop_add_application, desktop_remove_application):
1179 Added (and then commented out) some support for
1180 object context marshalling. [TODO]
1182 * atk-bridge/bridge.c:
1183 (spi_atk_bridge_event_context_create):
1184 Commented out object context creation until it can
1185 be properly tested and debugged.
1187 * registryd/registry.c:
1188 (impl_registry_notify_event):
1189 Fixed crasher bug, we were calling
1190 spi_re_entrant_list_foreach () with an empty list.
1192 2002-11-18 Bill Haneman <bill.haneman@sun.com>
1194 * idl/Accessibility_Action.idl:
1195 * idl/Accessibility_Component.idl:
1196 * idl/Accessibility_Desktop.idl:
1197 * idl/Accessibility_Event.idl:
1198 * idl/Accessibility_Hyperlink.idl:
1199 * idl/Accessibility_Image.idl:
1200 * idl/Accessibility_Relation.idl:
1201 * idl/Accessibility_Selection.idl:
1202 * idl/Accessibility_State.idl:
1203 * idl/Accessibility_Value.idl:
1204 Updated unimplemented slot count to minimum of
1205 four for all interfaces, for ABI freeze.
1207 * idl/Accessibility_EditableText.idl:
1208 * idl/Accessibility_Text.idl:
1209 Updated unimplemented slot count to six
1212 * idl/Accessibility_Registry.idl:
1213 Updated unimplemented slot count to six
1214 (also for DeviceEventController),
1217 * idl/Accessibility_Table.idl:
1218 Updated unimplemented slot count to eight,
1221 * idl/Accessibility_Event.idl:
1222 Added CORBA_any "any_data" member to Event struct.
1224 * idl/Accessibility_Event.idl:
1225 Added CORBA_any "any_data" member to Event struct.
1227 * atk-bridge/bridge.c:
1229 atk_signal_text_changed, atk_signal_child_changed,
1230 signal ids queried from gtype system.
1231 (AtkBridgeEventContextType): New enum.
1232 (AtkBridgeEventContextData): New struct.
1233 (AtkBridgeEventContext): New struct.
1234 (atk_bridge_init_event_type_consts):
1235 New method, initializes type contants for comparison
1236 prior to emit_eventv.
1237 (atk_bridge_event_context_init): New method,
1238 initializes a CORBA_any from an AtkBridgeEventContext.
1239 (atk_bridge_focus_tracker): Call spi_init_any_nil to
1240 initialize the event.any_data struct.
1241 (spi_atk_bridge_event_context_create): New method,
1242 creates an AtkBridgeEventContext from signal/event info.
1243 (spi_atk_bridge_event_context_free): New method.
1244 (spi_atk_emit_eventv): Changed to take an
1245 AtkBridgeEventContext parameter. We now initialize
1246 the event.any_data member prior to notifying the
1247 Registry, via the AtkBridgeEventContext.
1248 (spi_atk_bridge_property_event_listener):
1249 (spi_atk_bridge_state_event_listener):
1250 Match emit_eventv signature.
1251 (spi_atk_bridge_object_event_listener):
1252 Match emit_eventv signature, and create an
1253 event context from the event details.
1254 Free the event context afterwards.
1255 (spi_atk_bridge_window_event_listener):
1256 Create an event context, pass it to the
1260 (AccessibleEvent_getContextString):
1261 (AccessibleEvent_getContextObject):
1262 New methods, allow query of AccessibleEvent objects
1263 for more context details (via the "any_data" member
1264 of the Event struct, above).
1267 Definitions for AccessibleEvent_getContextString
1268 and AccessibleEvent_getContextObject.
1270 * cspi/spi_listener.h:
1271 (InternalEvent): New struct.
1274 (AccessibleEvent_getContextString):
1275 (AccessibleEvent_getContextObject):
1276 Implementations of new methods, for obtaining
1277 additional context information from some event types.
1279 * cspi/spi_registry.c:
1280 (SPI_registerGlobalEventListener):
1281 Added mention of active-descendant-changed event in docs.
1283 * cspi/cspi-bonobo-listener.c:
1285 Marshal the any into the AccessibleEvent via
1288 * libspi/spi-private.h:
1289 #include <orbit/orbit.h>
1291 (spi_init_any_string):
1292 (spi_init_any_object):
1293 New convenience function declarations.
1297 (spi_init_any_string):
1298 (spi_init_any_object):
1299 New convenience function implementations.
1301 * registryd/deviceeventcontroller.c:
1302 (spi_poll_dec_mouse_moved):
1303 (spi_device_event_controller_forward_mous_event):
1304 Initialize any_data member of event.
1305 (spi_deregister_controller_device_listener):
1306 Fix incorrect param pass which was preventing deregistration.
1308 * registryd/registry.c:
1309 (desktop_add_application):
1310 (desktop_remove_application):
1311 Add object data to event's any_data before dispatch.
1313 Fix for error messages from GAIL.
1315 * test/event-listener-test.c:
1316 Test new ContextString and "any_data" API:
1317 (report_text_event): New method query and output context string.
1318 (main): register a new text listener with report_text_event
1321 2002-11-19 Darren Kenny <darren.kenny@sun.com>
1323 Fixes for bugs 98127 and 97914.
1324 * cspi/spi-roletypes.h:
1325 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
1327 * cspi/spi-statetypes.h:
1328 Added SPI_STATE_MANAGES_DESCENDANTS
1330 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
1331 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
1332 * cspi/spi_accessible.c:
1333 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
1334 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
1335 Accessibility_STATE_MANAGES_DESCENDANTS
1336 * libspi/accessible.c:
1337 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
1338 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
1339 As requested by Bill, I also cleaned up the alignment.
1340 * libspi/relation.c:
1341 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
1342 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
1343 * libspi/stateset.c:
1344 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
1345 Accessibility_STATE_MANAGES_DESCENDANTS
1346 * docs/reference/cspi/tmpl/spi_accessible.sgml:
1347 Document changes reflecting modifications to roles.
1348 * docs/reference/cspi/tmpl/spi_relation.sgml:
1349 Document changes reflecting modifications to relations.
1350 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1351 Document changes reflecting modifications to states.
1353 2002-11-17 Bill Haneman <bill.haneman@sun.com>
1356 Revved to 1.1.3, interface-age=3, binary-age=3.
1357 Added REBUILD macro.
1360 Removed accessx-gui from the tests, since we have a nice
1361 keyboard accessibility capplet now :-)
1363 * test/keysynth-demo.c:
1364 (increment_scan): removed do-nothing default: case,
1367 * test/visual-bell.c:
1368 (main) : removed do-nothing default: case,
1371 * cspi/spi_action.c:
1372 (AccessibleAction_getKeyBinding_):
1373 Documented keybinding string format.
1377 (AccessibleText_getAttributes):
1378 Documented the text attribute string format.
1379 It's changed to use semicolon delimiters also,
1380 to prevent clashes with CSS attributes, but the old
1381 trick of looking for ", " strings will still work
1382 (as unreliably as ever). Fix for bug related to 97916.
1385 Include <cspi/bonobo/cspi-bonobo-listener.h>
1386 Fixes build warning.
1387 (SPI_freeAccessibleKeySet):
1388 (AccessibleKeystrokeListener_addCallback):
1389 (AccessibleKeystrokeListener_removeCallback):
1390 Modify to use AccessibleDeviceListener API internally,
1391 instead of AccessibleKeystrokeListener.
1393 * idl/Accessibility_Event.idl:
1394 Added two more empty slots to EventListener (for a total of four).
1396 * idl/Accessibility_Accessible.idl:
1397 Added four empty slots to Accessible interface.
1399 2002-11-15 Bill Haneman <bill.haneman@sun.com>
1401 * idl/Accessibility_Registry.idl:
1402 (KeyEventType, EventType):
1403 Marked KeyEventType as deprecated; it duplicates
1404 functionality of EventType, which has been extended to
1405 include Mouse-button events.
1406 (KeyEventTypeSeq): defined in terms of EventType.
1407 (registerDeviceEventListener, deregisterDeviceEventListener):
1408 New methods, for managing listeners to device events,
1409 which potentially may consume them.
1412 Added definition for AccessibleDeviceListener.
1414 * cspi/spi-listener.h:
1415 (enum AccessibleDeviceEventType):
1416 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
1417 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
1418 for backwards compat.
1419 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
1420 and typedef'd AccessibleKeystroke to it for back-compat.
1421 (AccessibleDeviceListenerCB):
1422 New function prototype typedef.
1425 (AccessibleDeviceEventMask): New typedef.
1426 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
1427 (AccessibleKeyMaskType):
1428 Set equivalent to AccessibleModifierMaskType for back-compat.
1429 (SPI_createAccessibleKeystrokeListener):
1430 (AccessibleKeystrokeListener_unref):
1431 Deprecated in favor of equivalent (better-named) new API below..
1432 keystroke listeners are like all device listeners.
1433 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
1434 New API names for old features :-).
1435 (AccessibleDeviceListener_addCallback):
1436 (AccessibleDeviceListener_removeCallback):
1437 (SPI_registerDeviceEventListener):
1438 (SPI_deregisterDeviceEventListener):
1442 (SPI_createAccessibleKeystrokeListener):
1443 Use new preferred API, cspi_device_listener_new() and
1444 cspi_device_listener_add_cb().
1445 (AccessibleKeystrokeListener_removeCallback):
1446 Use new preferred API, cspi_device_listener_remove_cb().
1447 (AccessibleKeystrokeListener_unref):
1448 Use new preferred API, cspi_device_listener_unref().
1449 (SPI_createAccessibleDeviceListener):
1450 (AccessibleDeviceListener_addCallback):
1451 (AccessibleDeviceListener_removeCallback):
1452 Implementation of new API.
1454 * cspi/spi_registry.c:
1455 (SPI_registerDeviceEventListener):
1456 (SPI_deregisterDeviceEventListener):
1457 Implementation of new API. Fixed memory leak and removed need to
1458 allocate EventTypeSeq (thanks Michael for catching this).
1459 Squashed a wayward CORBA_exception_free that shouldn't get called.
1461 * cspi/bonobo/cspi-bonobo-listener.c:
1463 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
1464 (cspi_key_event): renamed to cspi_device_event().
1465 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
1466 Extended to handle mouse button events as well as key events.
1467 (CSpiKeystrokeListener):
1468 Class superceded by CSpiDeviceListener.
1469 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1470 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1472 * cspi/bonobo/cspi-bonobo-listener.h:
1473 (CSpiKeystrokeListener):
1474 Class superceded by CSpiDeviceListener.
1475 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1476 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1478 * libspi/Makefile.am:
1479 Replaced keystrokelistener.h and keystrokelistener.c
1480 with devicelistener.h and devicelistener.c; keystrokelisener.h
1481 stub retained for back-compat.
1483 * libspi/keystrokelistener.c:
1487 Replaced inclusion of keystrokelistener.h with devicelistener.h.
1489 * registryd/deviceeventcontroller.c:
1490 (DEControllerListener): Added Accessibility_EventTypeSeq member.
1491 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
1492 (DEControllerPrivateData): Added xkb settings data.
1493 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
1494 button release events (which can't be captured via XGrabButton).
1495 Don't dispatch via the 'normal' event mechanism if the device event was
1497 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
1498 Handle the typeseq data in its new location (see above).
1499 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
1500 New methods, for "generic" device listeners.
1501 (spi_controller_register_device_listener):
1502 Now handle mouse event listeners as well as key listeners.
1503 (spi_controller_notify_mouselisteners):
1504 New internal method.
1505 (spi_device_event_controller_forward_mouse_event):
1506 Now we notify mouse device listeners as well as generating the
1507 non-consumable "mouse:" events.
1509 We must check and restore the XKB
1510 modifier map if we consume the event, since the act of triggering
1511 a mouse event will normally reset the XKB latch. This is required for
1513 (spi_controller_register_with_devices):
1514 Load the XKB settings when registering, and register for XKB
1515 state notify events.
1516 (spi_key_eventtype_seq_contains_event):
1517 Renamed spi_eventtype_seq_contains_event, since it's used
1518 internally for all device event types now.
1519 (spi_key_event_matches_listener):
1520 Uses spi_eventtype_seq_contains_event now.
1521 (spi_device_event_controller_object_finalize):
1522 Free the private data and the XkbKeyboard struct.
1523 (impl_register_device_listener, impl_deregister_device_listener):
1524 Implementation of new IDL.
1525 (spi_deregister_controller_device_listener):
1526 New internal method.
1527 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
1528 More efficient implementation, we don't have to create a new
1529 XkbControls structure every time we query.
1530 (spi_device_event_controller_class_init):
1531 Initialize the epv entries for the new IDL. Assign the
1532 "spi-dec-private" quark.
1533 (spi_device_event_controller_init):
1534 Initialize the private data.
1535 (spi_device_event_controller_forward_key_event):
1536 Removed a bogus CORBA_exception_free() call.
1538 * registryd/deviceeventcontroller.h:
1539 Replaced inclusion of keystrokelistener.h with
1542 * test/event-listener-test.c:
1543 (report_mouse_event):
1546 Added mouse-event device listener.
1548 * test/test-simple.c:
1549 (create_test_window):
1550 Fixed regression (we were instantiating a GtkRange,
1551 which is now an abstract class). Also fixed to match
1552 existing AtkRole names, this seems to have changed in ATK
1553 awhile ago; too late now I think, and the new
1554 mechanism is at least elegant and consistent with the
1555 glib enum "nick" APIs.
1557 2002-11-15 Darren Kenny <darren.kenny@sun.com>
1559 * idl/Accessibility_Relation.idl:
1560 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
1561 RELATION_EMBEDS,RELATION_EMBEDDED_BY
1562 * idl/Accessibility_Role.idl:
1563 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
1564 * idl/Accessibility_State.idl:
1565 add STATE_MANAGES_DESCENDANTS
1566 * test/event-listener-test.c:
1567 Added a listener for active-descendant events.
1569 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
1571 * atk-bridge/bridge.c
1572 (atk_bridge_init): If application is Bonobo component wait until top
1573 level is added before registering
1574 (spi_atk_bridge_do_registration): New function which contains code,
1575 formerly in atk_bridge_init, to do application registration.
1576 (spi_atk_bridge_toplevel_added): Signal called when top level
1577 added to Bonobo component
1579 This fixes bug #83134.
1581 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
1583 * registryd/deviceeventcontroller.c
1584 Fixed compilation error caused by calling gettimeofday()
1587 2002-10-18 Bill Haneman <bill.haneman@sun.com>
1592 Added template for HAVE_XKB.
1595 Changes to check for XKB, and to set the HAVE_XKB #define if it
1598 * libspi/listener.c:
1599 ()impl_notify_event): Make failure to get event source name
1602 * registryd/deviceeventcontroller.c:
1603 (#include): include X11/XKBlib.h.
1604 (DEControllerPrivateData) : New struct.
1605 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
1607 (dec_synth_keycode_press) (dec_synth_keycode_release):
1608 New methods; split the key synthesis code into these methods.
1609 They check XKB settings before determining the "time" values to
1610 pass to Xtest; this fixes bug #95828.
1611 (impl_generate_keyboard_event): Changed to use methods above,
1612 instead of callng Xtest directly.
1613 (spi_device_event_controller_init): Initialize new privae struct s
1615 (spi_device_event_controllr_object_finalize):
1616 Free the (new) private data.
1618 * registryd/deviceeventcontroller.h:
1619 Add new gpointer to end of struct data.
1621 2002-10-16 Bill Haneman <bill.haneman@sun.com>
1624 Incremented revision to 1.1.2, SONAME is still '.so', library
1625 extensions are ".so.0.0.2".
1627 * registryd/deviceeventcontroller.c:
1628 FIXES FOR #93592 and #95940.
1629 (statics): renamed mouse_button_state to mouse_mask_state,
1630 added key_modifier_mask.
1631 (spi_dec_poll_mouse_moved):
1632 Added key modifier checks, and emit "keyboard:modifiers"
1633 events when the key modifiers currently in use change.
1634 Also generate "mouse:abs" events periodically, even if the mouse
1635 is stationary (should we?).
1636 Alternatively we could generate "mouse:abs" events for either all
1637 mouse movements, or every 'nth' mouse movement, or at the
1638 beginning and end of every "active" mouse period.
1640 * test/event-listener-test.c:
1641 (main): Added listener for "keyboard:modifiers" events.
1643 2002-10-15 Bill Haneman <bill.haneman@sun.com>
1645 * libspi/keymasks.h:
1646 Added key mask #defines for mouse buttons; e.g.
1647 SPI_KEYMASK_BUTTON1, etc.
1650 Incremented dependency on ATK to version 1.1.0. (This dependency
1651 is probably premature but will soon be real enough).
1653 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
1655 * libspi/hyperlink.[ch]
1656 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
1657 (get_hyperlink_from_servant): Check object is AtkHyperlink not
1660 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
1665 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
1667 * registryd/deviceeventcontroller.c
1668 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
1669 events to be ignored.
1670 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
1671 keyboard_mode so that XAllowEvents() can be called.
1675 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
1677 * cspi/spi-accessible.c: Correct names of roles returned by
1678 AccessibleRole_getName(). Fixes bug #95055.
1680 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
1682 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
1685 * registryd/registry.c
1686 (desktop_remove_application: Write diagnostic message to stderr for
1689 (impl_accessibility_registry_deregister_global_event_listener):
1690 Correct size of lists array. This addresses bug #94555).
1692 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
1694 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
1697 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
1699 * registryd/Makefile: Add CLEANFILES so that .server file is removed
1702 * registryd/registry.c (impl_registry_notify_event): Remove
1703 unnecessary call to parser_event_type().
1705 * docs/reference/cspi/tmpl/spi_component.sgml:
1706 Add reference to SPI_LAYER_WINDOW.
1708 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
1710 * registryd/registry.c
1711 (desktop_add_application): Remove leak.
1712 (desktop_remove_application): Remove leak.
1713 (parser_event_type): Remove leak.
1715 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
1717 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
1718 bogus call to CORBA_string_dup(). Also removed unnecessary
1719 g_string_dup/g_free calls.
1721 2002-09-13 Bill Haneman <bill.haneman@sun.com>
1723 * registryd/deviceeventcontroller.c:
1724 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
1726 * test/event-listener-test.c:
1727 main: commented out three redundant listeners, to reduce output
1728 noise. (They still are potentially useful for testing).
1731 2002-09-13 Michael Meeks <michael@ximian.com>
1733 * Update all the copyrights to include Ximian.
1735 2002-09-06 Mark McLoughlin <mark@skynet.ie>
1737 * cspi/spi.h: add SPI_LAYER_WINDOW.
1739 * cspi/spi_component.c: (AccessibleComponent_getLayer):
1740 add Accessibility_LAYER_WINDOW case.
1742 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
1744 * libspi/component.c: (impl_accessibility_component_get_layer):
1745 add ATK_LAYER_WINDOW case.
1747 2002-08-28 Bill Haneman <bill.haneman@sun.com>
1749 * configure.in: incremented micro version.
1751 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
1753 2002-08-20 Bill Haneman <bill.haneman@sun.com>
1756 Clarified and reworded our commit policy.
1759 Started an API "todo" addition list for 2.2.
1762 (impl_getSelection):
1763 Free char pointer from atk_text_get_selection, which was being leaked.
1765 2002-08-19 Bill Haneman <bill.haneman@sun.com>
1768 Small revision to author acknowledgement.
1770 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1772 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
1773 If signal has detail add it to the type of the event.
1776 2002-08-12 Michael Meeks <michael@ximian.com>
1778 * test/test-simple.c (global_listener_cb): bin bogosity.
1779 (test_keylisteners): disable, still doesn't work reliably,
1780 certainly not on my system anyway.
1782 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
1783 don't leak a reference on the DEC. This round-trip
1784 fetching of the DEC per keystroke sucks, it should be
1787 * cspi/spi-private.h,
1788 * cspi/cspi-lowlevel.h,
1789 * cspi/bonobo/cspi-bonobo-listener.[ch],
1790 * cspi/bonobo/cspi-bonobo.c: get the copyright
1791 notices better - there is still a large amount of
1792 work in at-spi falsely attributed solely to Sun.
1794 * cspi/spi_main.c (cspi_object_ref): kill bogus
1795 hash lookup, just increment the ref.
1796 (SPI_freeString): make explicit the fact that we
1797 handle NULL strings just fine.
1798 (report_leaked_ref): obey coding standards.
1799 (cspi_object_hash, cspi_object_equal): kill retval.
1800 (cspi_object_release): only release if not on loan.
1801 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
1802 (cspi_object_borrow, cspi_object_return): impl.
1804 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
1805 use cspi_object_borrow / return.
1807 2002-08-12 Darren Kenny <darren.kenny@sun.com>
1809 * cspi/bonobo/cspi-bonobo-listener.c:
1811 Don't call cspi_oject_new() because this is creating a new Accessible
1812 every single time that an event is fired. This causes ATs like at-poke
1813 to nolonger recognise the source of the event and thus ignore it.
1814 Re-use the object from the cache, ref it and then unref it after the
1815 listeners have been called.
1817 2002-08-06 Darren Kenny <darren.kenny@sun.com>
1819 * test/event-listener-test.c:
1820 Added command-line options to disable mouse events (m) and
1823 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
1825 * configure.in: Update required versions of ATK, GTK+ and GAIL
1827 * cspi-1.0.pc.in: Add dependency for X include files
1830 * cspi/bonobo/Makefile.am:
1831 Add $(X_CFLAGS) so that X include files
1832 are picked up even if not in standard place (bug #71686)
1834 2002-06-25 Bill Haneman <bill.haneman@sun.com>
1836 * registryd/deviceeventcontroller.c: fix for 84261
1837 (spi_dec_mouse_moved):
1838 Added test of mouse button mask, so that we can detect mouse
1839 button release. Unfortunately we can't otherwise detect mouse
1840 button release events without consuming the mouse press event,
1841 because of the way XGrabButton works. This means that our mouse
1842 release events have a latency dependent on the polling period
1843 while the mouse button is down. At least in this case we only
1844 have to poll while the button is down, and not at other times.
1845 If the button masks don't match with what the last press event
1846 reported, we report the appropriate button release event.
1847 (spi_dec_ungrab_mouse):
1848 New method (not yet called).
1849 (spi_device_event_controller_forward_mouse_event):
1850 New method, sends mouse press event from GdkFilter.
1851 (spi_dec_init_mouse_listener):
1852 Added code to call XGrabButton, redirecting mouse button events to
1853 the root window and our Gdk event loop.
1855 Added code to filter mouse button events, and reordered.
1857 * test/event-listener-test.c:
1859 Added registration for mouse events of type "mouse:button".
1861 2002-06-25 Bill Haneman <bill.haneman@sun.com>
1863 * registryd/deviceeventcontroller.c: partial fix for 84261
1864 (spi_dec_poll_mouse_idle):
1865 New method, a timeout which checks to see if the mouse
1867 (spi_dec_poll_mouse_moving):
1868 A timeout to be called when mouse motion is underway.
1869 (spi_dec_poll_mouse_moved):
1870 A method which fires an event if the mouse has moved, and reports
1871 whether or not it did so.
1872 (spi_dec_init_mouse_listener):
1873 A method which sets up the timeouts above.
1874 (spi_device_event_controller_new):
1875 Now calls spi_dec_init_mouse_listener.
1877 * registryd/registry.c:
1878 (spi_registry_init):
1879 Now we initialize the device event controller when the registry is
1880 initialized, instead of waiting until a client has requested a key
1881 event notification; this is because we need the event controller
1882 for mouse events, but the mouse event registration API is a
1883 "registry" call and doesn't explicitly call the
1884 deviceeventcontroller.
1885 We now report mouse motion events with a 100 ms idle latency and
1886 a 20 ms granularity when motion is in progress.
1888 * test/event-listener-test.c:
1890 We now register the "detail listener" for events of type
1891 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
1892 delivered only for the first mouse event received, and thereafter
1893 "mouse:abs" events are delivered.)
1895 * cspi/spi_registry.c:
1896 DOCS: Documented the above mouse event typestrings.
1898 2002-06-21 Bill Haneman <bill.haneman@sun.com>
1900 Happy Summer Solstice...
1902 * registryd/deviceeventcontroller.c: [fix for bug 84100]
1903 (spi_controller_notify_keylisteners):
1904 Changes to remove a listener from the listener list, freeing its
1905 open keygrabs, if a notification to that listener fails. This
1906 means that although a dead listener can continue to hold a passive
1907 keygrab, a maximum of one dispatch to such a listener can fail
1908 before the listener is removed from the list, thus the keygrab
1909 will be released on the next occurrence.
1910 As part of this fix:
1911 (spi_notify_keylisteners):
1912 Renamed to spi_controller_notify_keylisteners, as the controller
1913 instance must now be passed as an argument.
1914 The copied 'notify' GList is now a list of DEControllerKeyListener
1915 objects, since we need more than just the CORBA reference if a
1916 notify fails and we need to deregister the listener.
1917 (impl_notify_listeners_sync):
1918 (impl_notify_listeners_async):
1919 (spi_device_event_controller_forward_key_event):
1920 Modify use of notify_keylisteners in accordance with above
1922 (spi_deregister_controller_key_listener):
1923 New method introduced by refactoring, from
1924 impl_deregister_keystroke_listener.
1925 (impl_deregister_keystroke_listener):
1926 Call spi_deregister_controller_key_listener.
1927 (spi_key_listener_clone):
1928 New method to copy a key listner without doing a 'ref' on the
1929 remote object instance; used to create a notifier list.
1930 (spi_key_listener_data_free):
1931 New method, frees data without unreffing the source.
1933 (spi_key_listener_clone_free): new method.
1934 (spi_key_listener_free):
1935 refactored to call spi_key_listener_data_free.
1937 2002-06-20 Bill Haneman <bill.haneman@sun.com>
1939 * registryd/registry.c: [fix for bug 86048]
1940 (notify_listeners_cb):
1941 Clear CORBA system exceptions which occur when notifying
1942 listeners, before returning to the source of the original event,
1943 since the event source doesn't care if the relayed notify failed.
1944 In other words, don't complain to the atk-bridge if the registry
1945 could not notify all its listeners, that's no fault of the
1946 application and thus should not appear to be an error from the
1947 application's perspective.
1949 * cspi/spi_main.c: [fix for bug 85980]
1951 Replaced use of bonobo_object_dup_ref with call to the wrapper
1952 method, csou_dup_ref (); this silences a compiler warning and
1953 provided more portability.
1955 Ping the registry before return, and restart if necessary.
1957 * cspi/bonobo/cspi-bonobo.c:
1959 New internal method.
1961 Fixed this method to return an object reference, as it should have
1964 * cspi/cspi-lowlevel.h:
1965 Added internal definition for cspi_ping() and fixed
1966 return type of cspi_dup_ref().
1969 2002-06-19 Bill Haneman <bill.haneman@sun.com>
1971 * atk-bridge/bridge.c: [fix for bug 85305]
1972 (spi_atk_bridge_register_application):
1973 New method where the initial application registry calls have been
1974 moved; it allows an application to re-register in response to
1975 certain error conditions (such as a registry restart, see below).
1977 Moved some initialization code to the method
1978 spi_atk_bridge_get_registry, below.
1979 (spi_atk_bridge_get_registry):
1980 New, private accessor function for the Accessibility_Registry
1981 instance. If the registry has not been started before, or has
1982 died (as detected by failure of a CORBA exception), it is
1983 restarted before return, and spi_atk_bridge_register_application
1984 is called again to register with the new bridge instance.
1985 (spi_atk_emit_eventv):
1986 Set registry_died on error; use spi_atk_bridge_get_registry () to
1987 access the registry.
1989 * registryd/registry.c:
1990 (impl_accessibility_registry_register_global_event_listener):
1991 Set listener's event_type_quark to etype.minor instead of
1992 etype.major (fix for bug 84856).
1994 * test/event-listener-test.c:
1995 (report_detail_event):
1996 Change the output string so that user/tester can tell that the
1997 'detail listener' was called instead of the 'generic listener'.
1999 2002-06-18 Bill Haneman <bill.haneman@sun.com>
2001 Fixes for bugs 84900, 84908, 84897, 84898.
2006 Revved version to 1.1.0
2007 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
2008 version is going to HEAD which will be used for gnome-2-0-1 and later.)
2010 * idl/Accessibility_Registry.idl:
2011 (EventListener::notifyEvent):
2012 Removed 'oneway' directive after extensive consulation with
2013 ORBit2 team and others. This means also that unref() of the event
2014 source can and should be done synchronously after emission, rather
2015 than remotely in the client, after servicing the notify call on
2018 NOTE: This change speeds up listener performance considerably, but
2019 introduces new latency on the application side. We may want to
2020 add an event queue to the atk-bridge.
2022 * atk-bridge/bridge.c:
2023 (spi_atk_bridge_focus_tracker):
2024 Do a local unref() on the event source after emission.
2026 * registryd/registry.c:
2027 (desktop_remove_application):
2028 Do an unref() on the event source after emission.
2029 (desktop_add_application):
2030 Do an unref() on the event source after emission.
2031 (notify_listeners_cb):
2032 When relaying an event, don't automatically add the event source
2033 to the local object cache, just CORBA_dup it instead. Likewise,
2034 if this method reenters, release the ref rather than calling
2036 (impl_registry_notify_event):
2037 No longer call remote unref() on the event source after dispatch.
2039 * libspi/eventlistener.c:
2040 (impl_accessible_event_notify_event):
2041 Removed remote unref ()
2043 * cspi/bonobo/cspi-bonobo-listener.c:
2045 We now call cspi_object_new() instead of cspi_object_add() on
2046 receipt of an event; thus we only have an implicit object ref
2047 while the cspi_event method is being executed. If we need to keep
2048 a reference to the object, the listener must call ref() on the
2049 object. Thus also we don't need to call cspi_object_unref() after
2050 invoking the listener callbacks in this method.
2054 New internal API for creating a new cspi object, without adding it
2055 to the object cache.
2057 Now uses cspi_object_new() to create the cspi object instance.
2059 Now checks to see if the object is in the internal object cache,
2060 and adds it if necessary before incrementing its refcount (note
2061 that new objects are added with a refcount of 1).
2062 (report_leaked_ref):
2063 New method which gives some information on leaked object instances
2064 if leak detection is turned on.
2066 * test/event-listener-test.c:
2067 (timing_test_event):
2068 New method, used for testing event delivery timing for special
2069 events of type "object:test". It reports elapsed time and
2070 events/sec every 500 events.
2072 Added a new listener, 'test listener', to check timing of event
2073 receipt as noted above.
2075 Added some timing output here also, reports elapsed time every 100
2078 * test/stress-test.c:
2079 Emit events of type "object:test", for use with "event-listener-test".
2081 * test/test-simple.c:
2082 (global_listener_cb):
2083 Call Accessible_ref() on the event source before calling
2084 validate_accessible, since the validation process does pointer
2085 comparisons on the event source, meaning that the event source
2086 needs to be added to the local object cache first. Any use of
2087 such pointer comparisons between Accessible objects requires that
2088 the caller hold an explicit reference to those objects.
2089 We also must therefore call Accessible_unref() when leaving this method.
2091 2002-06-13 Bill Haneman <bill.haneman@sun.com>
2093 * registryd/deviceeventcontroller.c:
2094 (spi_controller_update_key_grabs):
2095 Fix for #84735, subsequent keygrab listeners not informed of
2096 registration failure.
2099 (spi_base_construct):
2100 Add an assertion on construct, to make sure the GObject passed in
2101 is really a GObject.
2103 Explicitly initialize object->gobj pointer to NULL;
2105 * cspi/bonobo/cspi-bonobo-listener.c:
2106 (cspi_object_add_ref):
2107 New method, can specify whether to dup-ref a bonobo object passed
2108 in if it's newly added to the object cache.
2110 Now calls cspi_object_add_ref with second param of "FALSE". This
2111 prevents us from doing a pointless dup-ref followed by
2112 release-unref for all those cases where the object is already in
2113 our object cache (fix for #85205).
2115 * atk-bridge/bridge.c:
2116 (spi_atk_bridge_idle_init):
2117 Removed this method, we don't need to initialize in an idle
2120 Changed to call spi_atk_register_event_listeners directly, not via an
2121 idle handler. (fix for #81139)
2122 (gnome_accessibility_module_shutdown):
2123 Removed conditional around deregistration of listeners, since we
2124 don't use the idle handler and thus have always registered when
2126 (spi_init_keystroke_from_atk_key_event):
2127 Changed references to Accessibility_KEY_PRESSED to
2128 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
2130 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2132 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
2137 * test/stress-test.c:
2140 (may have been an incomplete commit yesterday?)
2142 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2145 Added target for new stress-test.
2147 * test/stress-test.c:
2148 New test, sends 1000 focus notifies in quick succession.
2150 * test/key-listener-test.c:
2151 Now we report whether a keylistener registration
2152 request succeeded or failed.
2154 * test/event-listener-test.c:
2155 Uncommented some listeners which are now implemented.
2158 2002-06-06 Bill Haneman <bill.haneman@sun.com>
2160 * registryd/deviceeventcontroller.c:
2161 (spi_controller_update_key_grabs):
2162 Fix for #82509, lack of failure notification when
2163 ALL_WINDOWS keygrabs fail due to XGrabKey
2164 failure: we synchronize the server when
2165 registering a passive grab, to make sure we get the
2166 error message before the call returns.
2168 2002-06-03 Bill Haneman <bill.haneman@sun.com>
2170 * test/test-simple.c:
2172 Removed #ifdef KEY_IMPL_WORKS guards.
2173 (test_keylisteners):
2174 Removed #ifdef KEY_IMPL_WORKS guards.
2175 Fixed bug which was causing a hang waiting for a
2176 "press" event (which was already overwritten by a "release"
2177 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
2179 Added code to set globals 'key_press_received' and
2180 'key_release_received'.
2183 Added section "1.1 API Proposed Additions" which
2184 lists API additions desired for at-spi-1.1 (only one so far).
2185 Updated TODO list a little.
2187 2002-06-02 Bill Haneman <bill.haneman@sun.com>
2189 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
2192 * configure.in: Revved to 1.0.0.
2194 * idl/Accessibility_Registry.idl:
2195 (registerKeystrokeListener):
2196 Added boolean return value.
2198 * registryd/registry.c:
2199 (notify_listeners_cb): Minor fix to debug output.
2201 * registryd/Accessibility_Registry.server.in.in:
2202 Revved version number in OAFIID to 1.0.
2204 * registryd/registryd.c:
2206 Use new OAFIID version.
2208 * cspi/bonobo/cspi-bonobo.c:
2210 Use new OAFIID version.
2216 * atk-bridge/bridge.c:
2218 Use new OAFIID version.
2220 * registryd/deviceeventcontroller.c:
2221 (impl_register_keystroke_listener):
2222 Added CORBA_boolean return value.
2223 (spi_controller_register_device_listener):
2224 Added gboolean return value.
2225 (spi_controller_register_global_keygrabs):
2226 Added gboolean return value.
2227 (spi_key_set_contains_key):
2228 Added implementation for many more control keys,
2229 for instance F1-F12, arrow keys, End, Home, Page_Up,
2231 [TODO: some still not implemented].
2233 * text/screen-review-test.c:
2234 (text_chunk_pad_string):
2235 New function: it provides mapping between coordinate
2236 positions of text chunks and character positions in the
2237 screen-review-line output string.
2238 (text_chunk_to_string):
2239 New function, calls text_chunk_pad_string with various
2240 pad/delimiter characters. Pushbuttons are delimited with
2241 square brackets, Frames with vertical 'pipe' lines, and
2242 other text with double quotes.
2243 (text_chunk_list_to_string):
2244 Calls new function text_chunk_to_string.
2245 (toplevel_composite):
2246 New function to composite layers CANVAS through
2247 POPUP in each toplevel (other layers are composited
2248 across toplevels, i.e. BACKGROUND and OVERLAY).
2249 (review_buffer_composite):
2250 Revise to use new methods.
2256 2002-05-31 Laszlo Peter <laca@sun.com>
2258 * configure.in: add the Xtst libdir to the runpath on Solaris,
2259 since it's not in the default library search path.
2261 2002-05-29 jacob berkman <jacob@ximian.com>
2263 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
2265 2002-05-29 Bill Haneman <bill.haneman@sun.com>
2267 * test/screen-review-test.c:
2268 (text_chunk_pad_string):
2269 Added method, which pads the string according to the
2270 text bounds of the chunk. It also takes a 3-character
2271 string as a param which indicates the characters to be
2272 used for start, padding, and end delimitation of the chunk.
2273 (text_chunk_to_string):
2274 Changed to use text_chunk_pad_string.
2276 * configure.in: Fixed bug in AC_OUTPUT that was
2277 causing path substitution in Accessibility_Registry.server
2280 2002-05-23 Bill Haneman <bill.haneman@sun.com>
2282 * text/screen-review-test.c:
2283 (guess_string_clip):
2284 New method which attempts a best-guess at clipping
2285 text from components (like Java labels) which don't
2286 actually implement AccessibleText. This inaccurate
2287 clip is based on the assumption that the label is
2288 justified left-and-right, and monospaced.
2289 (text_chunk_get_clipped_string):
2290 We now call guess_string_clip() for text-containing
2291 components that don't implement AccessibleText.
2293 * test/screen-review-test.c:
2294 (review_buffer_get_text_chunk):
2295 We now pull "name" from labels if they do not implement
2296 AccessibleText (i.e. for Java labels).
2297 (get_screen_review_line_at):
2298 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
2301 Replaceded AC_OUTPUT target
2302 registryd/Accessibility_Registry.server with
2303 registryd/Accessibility_Registry.server.in.
2305 * registryd/Accessibility_Registry.server.in:
2306 Removed (this is now a Makefile target).
2308 * registryd/Accessibility_Registry.server.in.in:
2309 Added (source for target above). We now use $(libexecdir) as
2310 prefix for the executable at-spi-registryd.
2312 * registry/Makefile.am:
2313 Now install at-spi-registryd into $(libexecdir), and build .server
2314 file with path (see above).
2316 2002-05-22 Bill Haneman <bill.haneman@sun.com>
2318 * test/screen-review-test.c:
2319 (text_chunk_get_clipped_string):
2320 We now check to see if words fall within clip bounds
2321 before resorting to character-by-character clip bounds testing.
2323 * TODO: Added a section for "2.2 Proposed API Additions".
2325 2002-05-21 Bill Haneman <bill.haneman@sun.com>
2327 * test/screen-review-test.c:
2329 Added a screen review benchmarking and test program to test
2332 * cspi/spi_accessible.c:
2334 Made some of the debug strings passed to cspi_check_ev a
2335 little more specific.
2337 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
2339 * test/screen-review-test.c: Fix crashes in debug statements
2341 2002-05-20 Bill Haneman <bill.haneman@sun.com>
2343 * test/screen-review-test.c: Added this file.
2345 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2347 * atk-bridge/bridge.c: changed "object:state-change" to
2348 "object:state-changed" to match docs.
2350 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2352 * atk-bridge/bridge.c: Hooked up state-change event details.
2354 2002-05-11 Bill Haneman <bill.haneman@sun.com>
2356 * registryd/registry.c:
2357 Fixed quarking bug in event string parsing; now events with
2358 detail parameters get matched correctly to listeners.
2361 * util/idl/Magnifier.idl: remove.
2363 * util/*.[ch]: Remove.
2364 Magnification utilities and IDL are now in module gnome-mag.
2366 2002-05-10 Bill Haneman <bill.haneman@sun.com>
2368 * registryd/deviceeventcontroller.c:
2369 Fixed bug in grab key conversion which was causing keycode grabs
2370 to be converted to AnyKey grabs.
2373 updated NEWS file to reflect recent spin-off of gnome-mag.
2375 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
2377 * cspi/spi_accessible.c: Added exception checks. Fixed completely
2378 busted AccessibleStateSet_compare. Removed redundant casts.
2380 * cspi/spi-action.c: Removed redundant casts.
2382 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
2384 * cspi/spi_component.c: Fixed typos and casting error.
2386 * cspi/spi_editabletext.c: Removed redundant casts.
2388 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
2390 * cspi/spi_hypertext.c: Eliminated redundant casts.
2392 * cspi/spi_image.c: Eliminated redundant casts.
2394 * cspi/spi_registry.c: Eliminated redundant casts.
2395 SPI_deregisterGlobalEventListenerAll () removed retval variable.
2396 * cspi/spi_selection.c: Removed redundant casts.
2397 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
2398 handling. Screen geometry and text offsets were being returned as 0
2399 on error which is technically valid-- changed these to return -1.
2400 Added marshaller for text boundary types to fix bug with boundary
2401 types being passed incorrectly to atk.
2403 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2406 * cspi/spi_registry.c:
2407 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
2408 which was uncovered by the recent key changes.
2410 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2412 * test/event-listener-test.c:
2414 Added new test, "event-listener-test";
2415 this code does two things; it benchmarks traversal time
2416 for the accessible hierarchy for the first running accessible
2417 app, and it connects listeners for all supported event types.
2418 It is thus useful as an example event listener and for
2419 diagnostics/debugging of event generation.
2421 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2424 Removed unnecessary dependency on libutil.
2427 Revved micro version: 0.13.1
2429 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2432 Removed util/Makefile from targets.
2435 Removed util subdir from SUBDIRS (temporarily,
2436 pending removal of magnifier-only code
2440 #ifdef-ed out magnifier dependencies, since
2441 magnifier IDL, headers, and binary now live in
2442 module gnome-mag and we don't want at-spi to depend
2443 on gnome-mag. A magnifier demo which can run alongside
2444 simple-at is forthcoming in the gnome-mag module.
2446 NOTE: Split magnifier binary, IDL, and magnification
2447 activation code from at-spi into module gnome-mag.
2449 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
2451 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
2452 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
2454 2002-05-03 Bill Haneman <bill.haneman@sun.com>
2457 Revved to version 0.13.0
2459 * idl/Accessibility_Registry.idl:
2460 Changed definition of KeySet from sequence of longs to sequence of
2461 KeyDefinitions, and added KeyDefinition struct.
2462 Required for fix to bug 80616.
2464 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
2465 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
2466 to use new definition (see above).
2468 * registryd/deviceeventcontroller.c: handle_keygrab(),
2469 spi_keyset_contains_key():
2470 Changed to make use of new struct; this allows matching based on
2471 string key-name, for instance "Tab". This also allows matching of
2472 composed characters, non-alphanumeric characters in a way that
2473 doesn't involve dependencies on X keysym codes directly, etc.
2475 * test/key-listener-test.c:
2476 Added test for Alt-Tab key using "string" specification of keyset,
2477 and modified one of the tests to use a keycode-based keyset.
2478 Thus this test both tests and demonstrates the creation and use of
2479 keysets of three forms: specified via keycode array,
2480 keysym array, and string array. (The string case only contains a
2481 single string, i.e. a string array of length 1).
2484 Turned on PRINT_TREE option by default. Also fixed a
2485 string-freeing bug in the PRINT_TREE code.
2486 Added a listener to window:minimize events.
2488 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
2490 * atk-bridge/bridge.c:
2491 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
2492 for window:activate and window:deactiveate
2493 (atk_bridge_property_event_listener atk_bridge_signal_listener
2494 atk_bridge_window_event_listener) Tidy debug code
2496 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
2498 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
2499 Fixed handling for NULL return value from ATK.
2501 * libspi/action.c libspi/component.c libspi/editabletext.
2502 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
2503 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
2504 Removed redundant casts.
2506 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
2507 Fixed off by one bug.
2509 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
2510 function not present in idl)
2512 2002-05-02 jacob berkman <jacob@ximian.com>
2514 * atk-bridge/Makefile.am: make atk-bridge a real module
2516 2002-04-26 Radek Doulik <rodo@ximian.com>
2518 * libspi/stateset.c (spi_init_state_type_tables): fix size of
2519 atk_state_types table
2521 2002-04-22 jacob berkman <jacob@ximian.com>
2524 * libspi/Makefile.am: add deps on the built files to help
2525 automake, and don't version the ORBit typelib
2527 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
2529 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
2530 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
2531 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
2532 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
2533 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
2534 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
2535 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
2536 libspi/accessible.h libspi/accessible.h libspi/base.h
2537 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
2538 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
2539 libspi/relation.h libspi/remoteobject.h libspi/selection.h
2540 libspi/spi-private.h libspi/statetset.h libspi/table.h
2541 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
2542 util/mag_client.h util/mag_control.c util/mag_image.c
2543 util/mag_image.h util/magnifier.c util/magnifier.h:
2544 Add missing file headers; standardize existing ones
2546 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
2548 * atk-bridge/bridge.c: Added window event support.
2550 2002-04-18 Michael Meeks <michael@ximian.com>
2552 * libspi/relation.c (impl_getNTargets): impl.
2553 (impl_getTarget): impl.
2555 * libspi/Makefile.am: fix stateset install.
2557 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2560 Started putting useful info in this file.
2562 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
2564 * atk-bridge/bridge.c:
2565 Propagate state-changed notifications to ATs
2567 * cspi/spi_registry.c: update docs to reflect actual behavior of
2568 state-change events.
2570 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2573 Incremented version to 0.12.1
2575 * util/mag_client.h:
2576 Add missing declaration for magnifier_exit,
2577 used by mag_control.c - Forte compiler didn't like
2578 the implicit redeclaration of the function :-(
2581 2002-04-16 Bill Haneman <bill.haneman@sun.com>
2584 Revved version to 0.12 due to API change (see below).
2586 * cspi/spi-roletypes.h:
2587 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
2588 definition from the inline docs, and added docs
2589 for SPI_ROLE_LAST_DEFINED.
2592 * cspi/spi_streamablecontent.c:
2593 Added missing seek_type parameter to
2594 (so far unused) method,
2595 AccessibleStreamableContent_seek().
2596 [ RT approval JodyG. ]
2599 Fixed docs for SPI_createAccessibleKeystrokeListener.
2601 * cspi/spi_registry.c:
2602 Fixed docs for SPI_KEYSET_ALL_KEYS.
2604 * docs/reference/cspi/at-spi-cspi-sections.txt:
2605 Added a number of missing APIs to SECTIONS.
2607 2002-04-16 Bill Haneman <bill.haneman@sun.com>
2609 * registryd/Makefile.am:
2611 * cspi/bonobo/Makefile.am:
2612 Add $(X_LIBS) to makefiles.
2614 2002-04-15 Bill Haneman <bill.haneman@sun.com>
2617 Revved version to 0.11.
2619 * libspi/component.c:
2620 Added implementation for grabFocus.
2622 * idl/Accessibility_Component.idl
2623 (Accessibility_Component_grabFocus):
2624 Made this method return boolean to indicate success or failure, to
2625 be consistent with cspi and the corresponding ATK method.
2627 * idl/Accessibility_Selection.idl
2628 (Accessibility_Selection_selectAll) :
2629 Made these methods return boolean to indicate success or
2630 failure, to be consistent with cspi and the corresponding ATK methods.
2632 * idl/Accessibility_EditableText.idl
2633 (Accessibility_EditableText_setTextContents,
2634 Accessibility_EditableText_insertText,
2635 Accessibility_EditableText_cutText,
2636 Accessibility_EditableText_deleteText,
2637 Accessibility_EditableText_pasteText):
2638 Made these methods return boolean to indicate
2641 * cspi/spi_editabletext.c:
2642 Made these methods return booleans.
2644 * libspi/selection.c:
2645 * libspi/component.c:
2646 * libspi/editabletext.c:
2647 Connected the boolean returns from ATK
2648 to the server-side code referenced above.
2650 2002-04-14 Bill Haneman <bill.haneman@sun.com>
2652 * idl/Accessibility_Table.idl: Added missing methods,
2653 Accessibility_Table_addRowSelection,
2654 Accessibility_Table_addColumnSelection,
2655 Accessibility_Table_removeRowSelection,
2656 Accessibility_Table_removeColumnSelection.
2659 Added C wrappers for above IDL:
2660 AccessibleTable_addRowSelection,
2661 AccessibleTable_addColumnSelection,
2662 AccessibleTable_removeRowSelection,
2663 AccessibleTable_removeColumnSelection.
2666 Added server-side implementation code for IDL above, connecting
2667 to pre-existing ATK api.
2669 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
2671 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
2673 * libspi/accessible.c: Added implementation fo
2674 Accessibility_Accessible_get_state.
2676 * libspi/libspi.h: Added stateset.h to the list of includes.
2678 * libspi/stateset.c: Fixed broken implementation.
2680 2002-04-13 Bill Haneman <bill.haneman@sun.com>
2683 Added implementation code for Accessibility_Magnifier_exit ().
2685 * util/mag_control.c:
2686 Added test code for above method; you can
2687 now kill an existing magnifier via
2688 ./mag_control q, from the util directory.
2690 * test/key-listener-test.c:
2692 Added a new test, for our key listener API.
2694 2002-04-11 Bill Haneman <bill.haneman@sun.com>
2696 * test/app.c, test/keysynth-demo.c:
2698 Replace use of snprintf with g_snprintf.
2699 (fix for bugzilla 78249)
2701 2002-03-27 Michael Meeks <michael@ximian.com>
2705 * util/Makefile.am (INCLUDES): fix.
2706 (DONT_DIST_SOURCE): don't distribute the
2709 * libspi/Makefile.am (dist-hook): ditto.
2711 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
2713 * libspi/hypertext.c:
2714 Fix warnings when yelp is used with atk-bridge
2716 2002-03-21 Michael Meeks <michael@ximian.com>
2718 * libspi/application.c (spi_application_new):
2719 use spi_accessible_construct so we use the AtkObject
2722 2002-03-19 Michael Meeks <michael@ximian.com>
2724 * registryd/registry.c (desktop_remove_application),
2725 (desktop_add_application): clean coding style.
2727 * registryd/desktop.c (spi_desktop_remove_application),
2728 (spi_desktop_add_application): kill re-enterency hazards.
2729 (spi_desktop_dispose): remove bogus redundant cast
2730 obscuring bug; fix bug too.
2731 (spi_desktop_init): make the desktop object immortal.
2733 2002-03-16 Bill Haneman <bill.haneman@sun.com>
2736 Added a #define-guarded tree-traversal step
2737 when enumerating the apps (diagnostic tool).
2739 2002-03-15 Bill Haneman <bill.haneman@sun.com>
2741 * idl/Accessibility_Role.idl:
2742 Added ROLE_DRAWING_AREA which seemed to be missing from the
2745 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2747 * cspi/spi-roletypes.h cspi/spi_accessible.c
2748 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
2751 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
2752 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
2753 AT when applications are added and removed from the desktop. This
2754 reverts the previous broken implementation using the backing
2755 AtkObject for the SpiDesktop.
2757 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2759 * registryd/desktop.c: emit the "children-changed::add" and
2760 "children-changed::remove" signals on the backing ATK object for
2761 the desktop so AT can tell when applications are started and shut
2764 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2766 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
2768 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2770 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
2772 * cspi/spi_accessible.c: Implemented c bindings for stateset support
2774 * cspi/state-types.h: synched with IDL and ATK
2776 2002-03-13 Bill Haneman <bill.haneman@sun.com>
2778 * libspi/accessible.c
2779 (impl_accessibility_accessible_get_child_at_index):
2780 Change return value for g_return_if_fail ()
2781 to CORBA_OBJECT_NIL instead of "0" (!)
2783 * registryd/Makefile.am:
2784 * registryd/Accessibility_Register.server.in:
2785 Changed name of executable, "registryd",
2786 to something more informative:
2789 2002-03-13 Michael Meeks <michael@ximian.com>
2791 * atk-bridge/bridge.c (atk_bridge_init): don't register
2792 if we're in a bonobo-component, rather than a bonobo app.
2794 2002-03-13 Michael Meeks <michael@ximian.com>
2796 * atk-bridge/bridge.c (gtk_module_init): split
2797 out body to (atk_bridge_init): here, since otherwise
2798 we get symbol conflicts and oddness when invoked
2799 from (gnome_accessibility_module_init): here (upd.)
2801 2002-03-11 Bill Haneman <bill.haneman@sun.com>
2804 New file. Explicitly allow "build sheriff" putbacks provided
2805 they are tested on Solaris.
2807 * docs/reference/cspi/Makefile.am:
2808 Added '-' to the "cp" command for index.sgml.
2809 ("patch by thomasvs, soon coming to a GUADEC near you")
2812 Incremented version number (0.9.0) for new release.
2813 Changed macro that checks for popt, to better detect
2814 obsolete versions of popt.
2817 Added X_LIBS to AC_SUBST, for applications
2818 that call Xlib API directly.
2821 2002-03-07 Bill Haneman <bill.haneman@sun.com>
2824 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
2827 Fix regression caused by hard-coding major
2828 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
2831 * test/test-simple.c (test_editable_text),
2832 (test_test): revert previous change (error was
2833 a regression in gail which is now fixed).
2835 2002-03-04 Michael Meeks <michael@ximian.com>
2837 * test/test-simple.c (test_editable_text),
2838 (test_text): pass G_MAXINT instead of '-1' for
2839 whole string - is this a good thing !?
2841 * cspi/spi_accessible.c
2842 (Accessible_getRelationSet): fix crasher bug
2843 overwriting the end of the array.
2845 * test/test-simple.c (validate_accessible): free,
2846 not g_free returned relation set.
2848 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
2850 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
2851 implemented stateset support
2853 * idl/Accessibility_State.idl: Made necessary changes to
2854 the IDL to support state sets.
2856 2002-02-12 Bill Haneman <bill.haneman@sun.com>
2858 * registryd/deviceeventcontroller.c:
2859 Added implementation for generateMouseEvent.
2861 * cspi/spi_registry.c:
2862 Connected new implementation for generateMouseEvent
2865 2002-02-12 Bill Haneman <bill.haneman@sun.com>
2868 Incremented revision (but no change in public API
2869 outside of 'utils', which are not installed public yet.)
2871 * libspi/component.c:
2872 Changed to use atk_component API for layers and
2873 mdi_zorder, instead of deprecated atk_object API.
2875 Magnification Utility Enhancements:
2878 Added implementation of createZoomRegion, clearAllZoomRegions,
2879 resizeZoomRegion. Added new commandline argument
2880 "--no-initial-region". Note that clearAllZoomRegions doesn't
2881 unmap the old '0' region as it should (yet), and the other
2882 methods only work when creating/resizing a single region,
2883 which is "region 0".
2884 (Code for multiple region support will be added later.)
2887 Now we raise the magnifier window each time it's refreshed;
2888 this will help keep it on top.
2890 * util/mag_client.h:
2891 Added simple wrappers for above, used by mag_control.
2892 For general use, it's recommended to use the bonobo magnifier
2893 control API directly instead of using these wrappers.
2896 Moved ZoomRegionData from magnifier.c to this file.
2898 * util/mag_control.c:
2899 Added some code to exercise new IDL implementations.
2901 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
2903 * libspi/text.c: Provide implementation for getAttributes.
2905 2002-02-04 Bill Haneman <bill.haneman@sun.com>
2908 Incremented revision.
2910 * test/test-simple.c:
2911 Replaced use of deprecated g_main_iteration with
2912 g_main_context_iteration.
2914 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
2917 Incremented revision for desktop alpha 2.
2919 2002-01-28 Mark McLoughlin <mark@skynet.ie>
2921 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
2924 * test/simple-at.c: include netinet/in.h.
2926 2002-01-24 Mark McLoughlin <mark@skynet.ie>
2928 * cspi/spi_accessible.c: (Accessible_getRelationSet):
2929 use NULL, not CORBA_OBJECT_NIL.
2931 * libspi/accessible.c:
2932 (impl_accessibility_accessible_get_relation_set):
2933 allocate the sequence correctly.
2935 * libspi/remoteobject.h: kill spi_remote_object_new.
2937 * test/test-simple.c: (validate_accessible): add code
2938 to test relation sets, now all we need is to figure
2939 out how to excercise this code path :/
2941 2002-01-18 Michael Meeks <michael@ximian.com>
2943 * test/test-simple.c
2944 (key_listener_cb): consume the key.
2945 (test_keylisteners): update.
2946 (main): wait for any pending unrefs on events.
2948 * registryd/deviceeventcontroller.c
2949 (spi_controller_update_key_grabs): only re-issue the
2950 grab on a key release.
2951 (spi_device_event_controller_forward_key_event):
2952 refresh the keygrabs before we notify the listeners,
2953 to reduce the X ungrab / re-grab race.
2954 (spi_controller_register_with_devices): remove
2955 XSelectInput - we do that with the gdk_window_ call.
2956 (_spi_controller_device_error_handler): return a value.
2957 s/GDK_DISPLAY/spi_get_display/
2959 2002-01-17 Michael Meeks <michael@ximian.com>
2961 * registryd/deviceeventcontroller.c
2962 (_deregister_keygrab): don't blow out the later
2965 * test/test-simple.c (test_keylisteners): do a
2966 more intelligent validation.
2968 2002-01-14 Michael Meeks <michael@ximian.com>
2970 * atk-bridge/bridge.c
2971 (gnome_accessibility_module_init),
2972 (gnome_accessibility_module_shutdown): impl.
2973 (gtk_module_init): protect vs. double inits.
2974 (add_signal_listener): impl.
2975 (spi_atk_bridge_state_event_listener): kill
2976 (deregister_application): split out of
2977 (spi_atk_bridge_exit_func): here.
2979 2002-01-18 Bill Haneman <bill.haneman@sun.com>
2982 Added caret tracking when using magnifier, and
2983 now use text bounds for focus tracking of text elements, rather than
2984 the component bounds - this is helpful for short text fields in long
2985 table cells, at high magnification.
2987 2002-01-16 Bill Haneman <bill.haneman@sun.com>
2989 * registryd/deviceeventcontroller.c:
2990 Regression fix for keylistener de-registration; global keygrabs
2991 were not being released when deregisterKeystrokeListener was
2992 called in cspi, since
2993 Accessibility_DeviceEventController_deregisterKeystrokeListener
2994 was called with a zero-length keyset. That is because the cspi
2995 method, SPI_deregisterKeystrokeListener, does not take a keyset
2996 parameter but instead should remove all the key grabs held be a
2998 The code in impl_deregister_keystroke_listener was changed to copy
2999 the keylist from the listener instance previously registered with
3000 the DeviceEventController before releasing the grabs.
3002 * registryd/registry.c:
3003 * registryd/deviceeventcontroller.c:
3004 * libspi/spi-private.h:
3006 Changed spelling of "re-enterant" to "re-entrant" globally.
3008 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3010 * test/test-simple.c:
3011 Changed key listeners test - the test was slightly mis-using the
3012 (admittedly poorly documented) SPI_generateKeyboardEvent API.
3013 It now uses '=' as the key event listened to and generated,
3014 relying on a keysym match rather than assuming that keycode 33
3015 is always equal to keysym '!'.
3017 2002-01-15 Bill Haneman <bill.haneman@sun.com>
3020 Changed simple-at to use a specific keyset, rather than
3021 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
3022 manager, desktop, etc.
3024 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3026 * registryd/deviceeventcontroller.c:
3027 Replaced standard X error handler with a special handler that
3028 is non-fatal for failed keygrabs. This works around
3029 problems with keygrab clashes sometimes observed on
3031 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
3032 mouse handling code as yet).
3034 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3037 Incremented revision for desktop alpha release.
3040 Fixed a couple of the more glaring errors (still not
3043 2002-01-11 Michael Meeks <michael@ximian.com>
3045 * registryd/deviceeventcontroller.c
3046 (spi_device_event_controller_forward_key_event): kill
3047 XUngrabKey / XKeyGrab race.
3048 (spi_controller_grab_keyboard): rename to
3049 (spi_controller_update_key_grabs): this, and deal
3050 with incremental adding / removing grabs more
3052 (_register_keygrab): ensure we're not pending a remove.
3053 (spi_grab_mask_free): impl.
3054 (spi_controller_register_global_keygrabs): split out
3056 (handle_keygrab): impl.
3057 (_deregister_keygrab): impl.
3058 (spi_controller_deregister_global_keygrabs): impl.
3059 (spi_controller_update_key_grabs): re-issue the grab if
3060 we just recieved a notification.
3062 * test/test-simple.c (key_listener_cb): remove debug.
3064 * registryd/deviceeventcontroller.c
3065 (spi_controller_register_device_listener): after
3066 registering a global keygrab, actualy register it !
3067 don't wait for a timeout; doh !
3069 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
3070 to make it more readable / manipulable.
3071 s/grabmask/grab_mask/ s/refcount/ref_count/
3072 s/keyval/key_val/ s/modmask/mod_mask
3074 2002-01-08 Michael Meeks <michael@ximian.com>
3076 * registryd/deviceeventcontroller.c
3077 (spi_controller_register_with_devices): use gdk calls to
3079 (global_filter_fn): implement the filter.
3080 (spi_device_event_controller_check_key_event): rename to
3081 (spi_device_event_controller_forward_key_event): this & upd.
3082 (spi_get_display): replace with GDK_DISPLAY.
3084 * registryd/deviceeventcontroller.c
3085 (spi_controller_deregister_device_listener): unroll into
3086 (impl_deregister_keystroke_listener): here to simplify.
3087 (spi_controller_register_global_keygrabs): split cut and
3088 paste (!) out into (_register_keygrab): here, shorter & sweeter.
3089 (spi_controller_deregister_device_listener): remove.
3090 (impl_register_mouse_listener): remove, no mouse listener
3091 support in at-spi-1.0
3093 * registryd/registry.c
3094 (_device_event_controller_hook): kill.
3095 (spi_registry_init): upd.
3097 * registryd/deviceeventcontroller.c
3098 (spi_device_event_controller_class_init): upd.
3099 (spi_check_key_event): merge into.
3100 (spi_device_event_controller_check_key_event):
3101 here and kill strange static ev init, don't leak
3102 the x_event - nor dynamicaly allocate it.
3104 * registryd/registry-main.c (main): re-direct
3105 timeout to remove strange vtable mess.
3107 * registryd/deviceeventcontroller.c
3108 (remove_listener_cb): impl.
3109 (spi_controller_deregister_device_listener):
3110 fix re-enterancy hazard.
3112 2002-01-07 Michael Meeks <michael@ximian.com>
3114 * registryd/deviceeventcontroller.c
3115 (spi_device_event_controller_new): upd.
3116 (impl_notify_listeners_sync): upd. debug.
3117 (spi_notify_keylisteners): fix re-enterancy hazards,
3118 prettify, remove O(n*n) iteration.
3119 (spi_controller_grab_keyboard): fix iteration.
3120 (spi_check_key_event): re-format to suit coding style.
3121 Clean all the warnings - we're warning free.
3123 * registryd/deviceeventcontroller.h:
3124 * registryd/registry.h: make mutualy referential with
3125 typesafe forward references instead of (!) void pointer
3128 2002-01-11 Michael Meeks <michael@ximian.com>
3130 * cspi/spi_accessible.c (role_names): add a role name
3131 to sync this array with the enum; and make the regression
3134 2002-01-10 Michael Meeks <michael@ximian.com>
3136 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
3137 allow expansion of enumeration & kill warning.
3139 * test/test-simple.c (key_listener_cb): impl.
3140 (test_keylisteners): impl.
3142 * cspi/spi-listener.h: make listener signatures const
3143 on the provided (const) events.
3145 * test/keysynth-demo.c: upd. to const events.
3147 * test/simple-at.c: ditto.
3149 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3152 Rev the version to 0.5 (the previous tarball was named 0.4,
3153 even though the micro number was 3), so we need to rev upwards
3154 again for beta2/"desktop-alpha"
3157 Checked in a demo script, which requires editing before use!
3158 Proceed with caution.
3161 Fixed typo in header which was redefining SPI_ACTION_CLASS.
3163 * cspi/spi_accessible.c:
3164 Add a couple of missing enum initializations, and fix some enum
3167 * cspi/spi_registry.c:
3168 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
3170 * docs/reference/cspi/at-spi-cspi-sections.txt:
3171 Remove/fix a couple of broken document references.
3174 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
3175 as Alt-Control to listen for commands, since on some systems
3176 Control-Alt may already be grabbed.
3178 2002-01-10 Bill Haneman <bill.haneman@sun.com>
3181 Update version number to 0.4 for Beta2.
3183 * libspi/accessible.c, libspi/accessible.h:
3184 Expose spi_accessible_construct, to enable libgail-gnome
3185 construction from spi_accessible subtype.
3187 * utils/magnifier.c:
3188 Workaround for bug in some non-gnome-compliant window managers
3189 which made magnifier resize improperly.
3191 2002-01-09 Bill Haneman <bill.haneman@sun.com>
3193 * libspi/accessible.c: (spi_accessible_new) :
3194 Move the test for SPI_IS_REMOTE_OBJECT to
3195 spi_accessible_new_return, fixing a bug and compile time warning.
3197 2002-01-08 Michael Meeks <michael@ximian.com>
3199 * registryd/registry.c (parse_event_type): remove strndup.
3201 * libspi/Makefile.am (libspi_la_SOURCES): remove
3202 sources already included in the headers section.
3204 * libspi/util.c: add.
3206 * libspi/spi-private.h: add.
3208 * registryd/registry.c: update to moved list iterators.
3210 2002-01-05 Michael Meeks <michael@ximian.com>
3212 * test/simple-at.c (main): upd. auto-module set to atk-bridge
3214 * test/test-simple.c (main): ditto.
3216 2002-01-04 Michael Meeks <michael@ximian.com>
3218 * libspi/accessible.c (spi_accessible_new): remove 2nd,
3219 redundant construct.
3221 * registryd/registry.c
3222 (get_listener_list): impl.
3223 (impl_accessibility_registry_register_global_event_listener):
3224 re-impl. to simplify using ~, remove dodgy const cast off.
3225 (parse_event_type): constify.
3226 (impl_accessibility_registry_deregister_global_event_listener_all):
3227 re-write, more efficiency and simplicity, kill re-enterancy
3229 (compare_listener_corbaref, compare_corba_objects),
3230 (compare_listener_quarks): define out.
3231 (impl_accessibility_registry_deregister_global_event_listener):
3232 re-write for effiency, and nail re-enterancy hazard.
3233 (impl_accessibility_registry_get_desktop_list): impl.
3234 (re_enterant_list_delete_link): impl.
3235 (re_enterant_list_foreach): impl.
3236 (remove_listener_cb): impl.
3237 (_registry_notify_listeners): kill.
3238 (notify_listeners_cb): impl.
3240 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
3241 (SPI_getDesktopList): impl.
3243 * test/test-simple.c (test_desktop): test the methods.
3245 2002-01-03 Michael Meeks <michael@ximian.com>
3247 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
3248 keystrings since we free them
3249 (SPI_freeAccessibleKeySet): in here.
3251 * libspi/accessible.c (spi_accessible_new): kill warning,
3252 wonder what is going on with the constructor here.
3254 2002-03-01 Bill Haneman <bill.haneman@sun.com>
3256 * libspi/accessible.c (spi_accessible_new ()) :
3257 Added check to see if AtkObject is an SpiRemoteObject before
3258 creating an SpiAccessible.
3260 2002-05-01 Bill Haneman <bill.haneman@sun.com>
3262 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
3263 Enable keygrabs using the Control modifier, now that they are
3264 working properly (they were previously disabled).
3267 Change the command keygrab for this demo to "Control+Alt", so as
3268 to conflict with fewer other key commands on the system; this
3269 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
3271 Removed a pointlessly-chatty keylistener for unshifted keys
3272 (shifted keys are still reported).
3274 2002-02-01 Bill Haneman <bill.haneman@sun.com>
3276 * libspi/remoteobject.h:
3277 * libspi/remoteobject.c:
3278 Added definitions for special AtkObject subtype, required for
3279 support of remote components (specifically, used by BonoboControl
3280 accessibility implementation).
3282 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
3284 * cspi/spi.h: synched relation types with ATK
3286 * cspi/spi_accessible.c: Added implementations of
3287 AcccessibleRelation_* methods
3289 * idl/Accessibility_Relation.idl: added getRelationTypeName
3290 method. Synched known relation types with ATK. Allowed for
3291 relation type extension with the RELATION_EXTENDED type.
3293 * libspi/relation.c: Provided implementations for
3294 AccessibleRelation methods.
3296 2002-01-01 Bill Haneman <bill.haneman@sun.com>
3298 API tweaks for today's API 'freeze'.
3301 Added placeholder functions to allow future compatible expansion
3302 of the IDL interfaces.
3304 * idl/Accessibility_Registry.idl:
3305 Changed generateKeyEvent to generateKeyboardEvent. Changed
3306 signature of this method to accept an optional keystring in
3307 parameter (for complex text input synthesis) and changed use of
3308 simple 'boolean' parameter in registerKeystrokeListener to a
3309 struct, EventListenerMode.
3311 * cspi/spi_accessible.c:
3313 * cspi/spi_streamablecontent.c:
3314 Added references to AccessibleStreamableContent interface, and
3315 definition and implementation of AccessibleStreamableContent
3318 * cspi/spi_registry.c:
3320 Changed generateKeyEvent API to generateKeyboardEvent,
3321 taking a new (optional) keystring parameter to support complex
3326 Renamed directory (to better reflect its actual purpose, bridging
3327 from at-spi to ATK). The .so module is also now named
3330 * idl/Accessibility_Hypertext.idl:
3331 * libspi/accessible.c:
3332 * libspi/hypertext.h:
3333 * libspi/hypertext.c:
3334 Changed Accessibility_Hypertext to *not* derive from
3337 * cspi/spi_registry.c:
3338 Added list of legal event type names for 'window' events, which
3339 completes the registry event API.
3341 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
3343 * at-bridge/bridge.c: Added registration for separate
3344 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
3345 signals. If either of the first two parameters to the generic
3346 bridge signal handler are ints, they are passed on as event
3347 details. This allows an AT to determine what text was inserted.
3349 2001-12-21 Bill Haneman <bill.haneman@sun.com>
3351 * registryd/deviceeventcontroller.c:
3352 Fixed regressions in generateKeyEvent caused by the removal of
3353 gdk_init from registryd; we now use pure X calls to connect to the
3354 display, which makes sense because deviceeventcontroller already
3355 uses a fair bit of X API (should eventually be migrated to a
3356 'portability layer').
3358 * registryd/desktop.c:
3359 Fixed minor regression in spi_desktop_init, changed the way the
3360 desktop name is being set to work with new spi_base API
3361 (gobject-based, rather than AtkObject-based).
3363 * registryd/Makefile.am:
3364 Minor revision of makefile to use XTST_LIBS variable rather than
3365 hard-wiring the Xtst LD_ADD element.
3367 * test/keysynth-demo.c:
3368 Tweaked an output message; added initialization of the
3369 'keystrings' member of the "switch listener" key_set.
3371 * libspi/relation.c:
3372 Squashed compile-time warning.
3374 * libspi/accessible.c:
3375 Cosmetic and formatting fixes, renamed a static method.
3377 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
3379 * libspi/accessible.c
3381 * libspi/application.c
3384 * libspi/component.c
3385 * libspi/editabletext.c
3386 * libspi/hyperlink.c
3387 * libspi/hypertext.c
3389 * libspi/selection.c
3393 * registryd/desktop.c:
3394 Changed SpiBase to contain a GObject pointer rather than an AtkObject
3396 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3398 * idl/Accessibility_Registry.idl:
3399 Added boolean member 'is_text' to DeviceEvent. This is for the
3400 use of key events, and helps prevent ambiguity between composed
3401 key strings and keysym names, since both may potentially be
3402 returned in the 'event_string' member.
3404 * at-bridge/bridge.c:
3405 * registryd/deviceeventcontroller.c:
3406 Use the 'is_text' member when notifying device event listeners.
3407 Knon issue: composed characters are not dealt with correctly by
3408 the global key listener implementation yet.
3410 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3412 * at-bridge/bridge.c:
3413 Namespaced local static methods to spi_atk_bridge_* where
3414 previously named bridge_*, and spi_* elsewhere.
3416 * at-bridge/bridge.c:
3417 * cspi/bonobo/cspi-bonobo-listener.c:
3418 Added demarshalling/conversion for string member of
3419 Accessibility_DeviceEvent to AccessibleKeystroke.
3421 * registryd/deviceeventcontroller.c:
3422 Added code to fill the Accessibility_DeviceEvent key string value
3423 member for global key events (i.e. from XGrabKey), to match
3424 behavior of Accessibility_DeviceEvent from the toolkit key events
3425 from the bridge. Fixed timestamp in global key event notifications.
3428 Added printout of key event's string value to
3429 report_ordinary_key_event, for demo/debugging purposes.
3431 2001-12-15 Bill Haneman <bill.haneman@sun.com>
3433 * idl/Accessibility_Registry.idl:
3434 Removed Accessibility_KeyStroke structure in favor of generic
3435 Accessibility_DeviceEvent structure.
3436 Changed Accessibility_ControllerEventMask from a struct to an
3439 * at-bridge/bridge.c:
3440 Changed APIs to use DeviceEvent structure as above, and removed
3441 bogus casting between these event structures.
3443 * cspi/spi-listener.h:
3444 Added keystring member of AccessibleKeystroke structure, to enable
3445 matching on event "names" rather than only hardware codes and
3449 Added keystrings member of AccessibleKeySet struct, to allow
3450 matching on event names (as above).
3451 Added declarations for SPI_createAccessibleKeySet and
3452 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
3453 event modmasks directly as unsigned ints rather than structs with
3454 refcounts, in the DeviceEventController methods.
3456 * cspi/spi_registry.c:
3457 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
3459 * cspi/spi-roletypes.h:
3460 Added documentation of newly added SPI Roles.
3462 * cspi/bonobo/cspi-bonobo-listener.c:
3463 Changes in support of API changes above.
3465 * libspi/accessible.c:
3466 Converted APIs to use DeviceEvent structure (see IDL changes
3469 * registryd/deviceeventcontroller.c:
3470 Added DEControllerGrabMask structure to track keygrabs not only by
3471 modmask but by keyset as well; this allows us to do "global"
3472 (i.e. X) keygrabs on a per-key or keyset basis rather than always
3473 grabbing on AnyKey and then filtering after-the-fact.
3474 Bugfixes for event filtration mean that we don't get false matches
3475 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
3477 * registryd/deviceeventcontroller.c:
3478 Namespaced a number of static methods to use spi_ prefix. Major
3479 revision to internals of global (i.e. X) key grabs.
3481 * registryd/deviceeventcontroller.h:
3482 Removed keymask_list and added keygrabs_list to
3483 SpiDeviceEventController struct.
3486 Added use of SPI_createAccessibleKeySet API when creating a
3487 listener for only one key. Attach a listener to "shift spacebar
3488 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
3489 X key event names to SPI key event names, so that listeners are
3490 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
3492 * test/keysynth-demo.c:
3493 Changed (incorrect) use of X key event names (KeyPressed,
3494 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
3497 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3499 * libspi/accessible.c:
3500 Convert all AtkRole enumerations to Accessibility_Role enums when
3501 getting a role from an AtkObject.
3503 * cspi/spi_accessible.c:
3504 Complete the conversion of Accessibility_Role enums at runtime to
3505 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
3506 role enums correctly match those given in spi-roletypes.h.
3507 Re-synchronize the local names list for AccessibleRole_getName ().
3508 AccessibleRole_getName is now deprecated, since it duplicates the
3509 more reliable Accessible_getRoleName.
3510 Added some role types from Accessibility_Role.idl.
3512 * idl/Accessibility_Role.idl:
3513 Added some role types used by AtkRole.
3515 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3518 * cspi/spi_registry.c:
3520 * cspi/cspi-bonobo-listener.c:
3521 Namespaced all methods that did not begin with an "SPI_" or
3522 "Accessible" prefix to "SPI_".
3525 Homogenized internal function namespace to "cspi_" for statics.
3528 Patched tests to use the new CSPI API.
3530 * docs/reference/cspi/at-spi-cspi-sections.txt:
3531 Updated docs to reflect namespace changes, and added a number of
3532 methods to the documentation.
3534 * registryd/registry.c:
3535 Changed use of strings and string hashes in listener event
3536 matching and parse_event_string to use GQuark, which is guaranteed
3539 * registryd/registry.h:
3540 Squashed annoying warning.
3542 * idl/Accessibility_Role.idl:
3543 Extended range of available Accessibility_Role values.
3545 * cspi/spi_accessible.c:
3546 Re-ordered role names.
3548 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3550 * idl/Accessibility_Value.idl:
3551 Revert use of union back to CORBA_double, since the double type is
3552 more efficient and can contain the other types without loss of
3555 * idl/Accessibility_Accessible.idl:
3556 Added method Accessibility:Accessible:getRoleName, to complement
3557 Accessibility:Accessible:getRole.
3559 * cspi/spi_accessible.c:
3561 Added C binding for above, Accessible_getRoleName (), and changed
3562 signature of Accessible_getRole () to return an AccessibleRole.
3564 * cspi/spi-roletypes.h:
3565 Changed AccessibleRole_getName to return a char * instead of a
3566 const char *. This method is now at least temporarily deprecated
3567 in favor of asking Accessibles for their RoleNames directly.
3570 Revert to match Accessibility_Value.idl;
3574 Change signature of AccessibleValue methods to use double rather
3578 * cspi/spi_accessible.c:
3579 Changed Accessible_getRole to return an AccessibleRole enum rather
3580 than a UTF-8 string. The UTF-8 string can still be obtained via
3581 AccessibleRole_getName ().
3583 * test/test-simple.c:
3584 Add test_action. Small fixup to match API change to Accessible_getRole.
3587 Bugfix for get_action_from_servant ().
3589 2001-12-11 Michael Meeks <michael@ximian.com>
3591 * libspi/libspi.h: remove registry.h and
3592 desktop.h, deviceeventcontroller.h
3594 * libspi/Makefile.am: remove registry.[ch],
3595 desktop.[ch], deviceeventcontroller.[ch]
3597 * registryd/Makefile.am: add registry.[ch],
3598 desktop.[ch], rename registryd.c to registry-main.c.
3599 add deviceeventcontroller.[ch]
3601 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3604 Replace setenv() call with putenv ().
3606 * libspi/component.c:
3607 Bugfix in AccessibleComponent_getExtents (),
3610 2001-12-11 Michael Meeks <michael@ximian.com>
3612 * libspi/image.c (impl_getImageExtents): impl.
3613 (spi_image_class_init): upd.
3616 (AccessibleImage_getImageDescription): fix daft bug
3619 * test/test-simple.c (global_listener_cb): update
3620 to only quit if not --poke
3621 (main): catch --poke.
3622 (validate_accessible): upd. dumping, call test_image
3625 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
3628 * idl/Accessibility.idl: update all IDL includes.
3630 * idl/*.idl - rename to namespace - this sucks, blame
3631 mjs' bad decision for oafd.
3633 * test/test-simple.c (create_test_window): add more tests.
3634 (create_tree): split this out.
3635 (validate_accessible): bugfix.
3637 2001-12-11 Michael Meeks <michael@ximian.com>
3639 * cspi/bonobo/cspi-bonobo-listener.c:
3640 (cspi_kestroke_listener_unref),
3641 (cspi_event_listener_unref): impl. undoing previous
3642 homenous environment - for Bill.
3644 * cspi/spi_table.c (long_seq_to_array): use
3647 * cspi/spi_main.c: split out all bonoboish bits into
3650 * cspi/spi-impl.h: upd. typedefs.
3652 * cspi/spi_registry.c: update to lowlevel API,
3653 return booleans to indicate success in some places.
3655 * cspi/spi_event.c: update to lowlevel API.
3657 * cspi/bonobo/Makefile.am: add.
3659 * cspi/bonobo/cspi-lowlevel.h: add
3661 * cspi/bonobo/cspi-bonobo.c: add
3663 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
3665 * cspi/Makefile.am: remove spi-listener-impl.[ch],
3666 (SUBDIRS): add bonobo, link in the libs.
3668 * cspi/spi-util.c: kill this file.
3670 * TODO: merge in my bits.
3672 2001-12-11 Michael Meeks <michael@ximian.com>
3674 * test/test-simple.c (test_value, test_table, main):
3675 remove unused variables causing warnings.
3677 * configure.in: cleanup checks - require gail.
3679 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3682 Changed Value interface to use SValue (scalars) rather than
3683 assuming all values are floats. This allows floats, doubles,
3684 longs, shorts, and unsigned values to be manipulated.
3685 Introduced Accessibility:SValue union.
3688 Updated to use new API above, and to work correctly with GValues
3689 of different types in AtkValue.
3692 Updated to use new API above. cspi's API is as yet unchanged.
3695 Updated the Value revision action item.
3697 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3699 * test/test-simple.c:
3700 Added test_table (GtkTreeView widget in test window to follow).
3701 Un-commented test_value, added GtkRange widget.
3702 Added GtkTreeView widget with GtkListStore. It passes regression
3703 test but leaks one SPI object for some reason.
3706 Fixed bug in impl__set_currentValue.
3708 2001-12-10 Michael Meeks <michael@ximian.com>
3710 * cspi/spi_text.c: audit for exception handling,
3711 tolerating NULL object references safely etc.
3713 * cspi/spi_value.c: ditto.
3715 * cspi/spi_table.c (AccessibleTable_getSummary),
3716 (AccessibleTable_getAccessibleAt),
3717 (AccessibleTable_getRowHeader),
3718 (AccessibleTable_getColumnHeader),
3719 (AccessibleTable_getCaption): fix bugs hidden by
3721 (long_seq_to_array): impl.
3722 (AccessibleTable_getSelectedRows),
3723 (AccessibleTable_getSelectedColumns): use it.
3725 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3728 Added a TODO list (rough and short for now).
3730 * cspi/spi_hyperlink.c:
3731 * cspi/spi_hypertext.c:
3732 Fixed macro name typos, and remove use of obsolete macro in
3733 AccessibleHyperlink_getLink.
3735 * cspi/spi_action.c:
3736 * cspi/spi_accessible.c:
3737 * cspi/spi_application.c:
3738 * cspi/spi_component.c:
3739 * cspi/spi_selection.c:
3742 Documentation fixes (removed return values from ref/unref methods).
3744 2001-12-10 Michael Meeks <michael@ximian.com>
3746 * cspi/spi_action.c: audit for exception handling,
3747 tolerating NULL object references safely etc.
3749 * cspi/spi_accessible.c: ditto.
3751 * cspi/spi_component.c: ditto.
3753 * cspi/spi_editabletext.c: ditto.
3755 * cspi/spi_hyperlink.c: ditto.
3757 * cspi/spi_hypertext.c: ditto.
3759 * cspi/spi_image.c: ditto.
3761 * cspi/spi_selection.c: ditto.
3763 2001-12-10 Michael Meeks <michael@ximian.com>
3765 * configure.in: use cspi/libspi.pc.in instead.
3767 * Makefile.am (pkgconfig_DATA): upd. to match.
3769 * test/simple-at.c (report_focus_event): kill hacks around
3770 bad return values, use putenv not setenv
3772 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
3773 fire ChildGone - I killed it.
3775 * libspi/component.c
3776 (impl_accessibility_component_get_extents): remove
3779 * idl/Accessible.idl: kill ChildGone exception.
3781 * cspi/*.[ch]: kill int return from ref / unref.
3783 * cspi/spi_main.c (cspi_object_add_check): fold into
3784 (cspi_object_add): here.
3786 * cspi/spi_component.c (AccessibleComponent_getExtents):
3787 handle exceptions elegantly.
3789 * cspi/spi-private.h (cspi_check_ev_return),
3790 (cspi_return_if_fail): impl.
3792 * cspi/spi_accessible.c: use extensively.
3793 (AccessibleStateSet_equals): add direct compare check.
3795 * cspi/spi_selection.c: tolerate NULL objs, and check
3796 exceptions before return.
3798 * cspi/spi-util.c (cspi_warn_ev): rename to
3799 (cspi_check_ev): this & don't pass ev in; no point.
3801 2001-12-10 Michael Meeks <michael@ximian.com>
3803 * test/test-simple.c: use putenv not setenv
3804 (get_environment_vars): more chatty if you're not using
3807 * test/simple-at.c: do the setenv so more people see the
3810 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3812 * libspi/registry.c:
3813 Changed check of CORBA_environment on notification to be a warning
3814 instead of an error for the moment, since we can recover from this
3815 error when caused by a queued notification from a dead app.
3818 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
3819 used by all current implementors of AtkValue), and coerce to
3820 CORBA_float. (Proper general case fix may require change to Value.idl).
3822 2001-12-09 Bill Haneman <bill.haneman@sun.com>
3826 * cspi/spi_accessible.c:
3827 Documentation fixes: added user_data params to documentation for
3828 listeners and callbacks.
3830 * cspi/spi_accessible.c:
3831 Changed AccessibleStateSet_compare to return a
3832 StateSet rather than return the difference set into a third parameter.
3835 2001-12-09 Bill Haneman <bill.haneman@sun.com>
3838 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
3839 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
3843 Remove subdirectory po from SUBDIRS for now.
3845 * at-bridge/bridge.c:
3846 Beefed up a couple of debug printouts.
3847 One-line fix for signal notification name formatting.
3849 * libspi/accessible.c:
3850 Added assertion to spi_accessible_new ().
3852 * libspi/application.c:
3853 Put #ifdef qualifiers around a printf.
3856 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
3858 * registryd/Makefile.am:
3860 Replaces use of XML_I18N_MERGE_SERVER_RULE with
3861 INTLTOOL_SERVER_RULE macro.
3864 Added an event listener for several ATK signals, for
3865 testing and debugging. Removed a few g_warnings.
3866 Added test output if focussed item implements the Value interface.
3868 * test/test-simple.c:
3869 Added test_value () function (known not to pass at the moment, so
3870 not actually called yet.
3872 2001-12-08 Michael Meeks <michael@ximian.com>
3874 * at-bridge/bridge.c (bridge_focus_tracker),
3875 (emit_eventv): fix the same ref. leak.
3876 (register_atk_event_listeners): don't leak.
3878 * cspi/spi-listener-impl.c (cspi_event): more
3879 protection from client code.
3881 * test/test-simple.c (test_desktop): unref the app.
3883 * test/Makefile.am: upd. TESTS.
3885 * at-bridge/bridge.c (bridge_exit_func): release the registry.
3887 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
3889 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
3891 * cspi/spi_registry.c: constify in strings.
3892 (deregisterGlobalEventListenerAll): don't release the ref.
3894 * cspi/spi.h: start removing redundant / conflicting
3895 gtkdoc comments, making the API readable at a glance :-)
3897 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
3899 * test/keysynth-demo.c (keysynth_exit, main): upd.
3901 * test/simple-at.c (main, simple_at_exit): upd.
3903 * test/test-simple.c (unutterable_horror): kill.
3904 (utterable_normal_derefs): kill.
3905 (main): upd & do a setenv before gtk_init, so that we
3906 can use memprof - and to save the pain of remembering
3907 this, if we're running under memprof - don't exit.
3909 * cspi/spi_main.c (SPI_exit): return exit status
3911 (SPI_event_quit): impl.
3912 (SPI_event_main): simplify.
3913 (cspi_is_gnome_app): kill.
3914 (SPI_init): kill isGNOMEapp arg.
3916 * at-bridge/bridge.c (register_atk_event_listeners):
3917 re-instate the unref.
3918 (bridge_exit_func): don't re-activate the registry,
3919 protect vs. theoretical re-entry, use the
3920 AT_BRIDGE_SHUTDOWN env. var to determine whether to
3921 assert a clean shutdown - for regression tests.
3923 2001-12-08 Abel Cheung <maddog@linux.org.hk>
3925 * configure.in: Comment out dummy i18n support for now,
3926 otherwise it fails to build.
3927 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
3928 EXTRA_DIST. They are missing in tarball.
3930 2001-12-07 Michael Meeks <michael@ximian.com>
3932 * util/magnifier.c: kill bonobo activation reg. race.
3934 * libspi/component.c
3935 (impl_accessibility_component_get_extents): make it match
3938 * libspi/registry.c (_registry_notify_listeners):
3939 re-remove X headers & reconcile conflicts.
3940 (spi_listener_struct_free): bad conflict resolve.
3941 (impl_accessibility_registry_register_application):
3942 more bad merging fixed.
3943 (impl_accessibility_registry_deregister_application): ditto.
3944 (spi_registry_new): ditto.
3945 (spi_registry_init): don't have an applications field.
3947 [ merge fixups2 branch to here ]
3948 2001-12-07 Michael Meeks <michael@ximian.com>
3950 * test/simple-at.c (report_focus_event),
3951 (report_focussed_accessible): remove g_warning debug.
3953 2001-12-07 Michael Meeks <michael@ximian.com>
3955 * test/test-simple.c (validate_tree): comment out some checks.
3956 (test_desktop): app now not registered idly - horay.
3958 2001-12-07 Michael Meeks <michael@ximian.com>
3960 * cspi/spi_registry.c
3961 (registerAccessibleKeystrokeListener): clean, stop it leaking
3962 great swathes of memory, and device event controller references.
3963 ensure we always pass valid sequences.
3964 (deregisterAccessibleKeystrokeListener): ditto.
3965 (generateKeyEvent): upd.
3967 * at-bridge/bridge.c (bridge_key_listener): handle
3968 registry dead exception gracefully.
3969 (bridge_focus_tracker, emit_eventv): free ev.
3971 * test/simple-at.c (report_focus_event): fix polarity.
3973 * libspi/application.c (notify_listeners): kill the ev
3974 argument, and make sure we init the ev we use.
3975 (spi_application_object_event_listener): split out a chunk
3976 (get_atk_object_ref): here & fixup.
3977 (reverse_lookup_name_for_toolkit_event): make const.
3978 (spi_application_toolkit_event_listener): fixup, kill leaks
3981 * at-bridge/bridge.c (register_atk_event_listeners):
3982 don't unref the noop object - causes grief.
3984 * libspi/registry.c: remove the X headers.
3985 turn off the debug churn.
3987 * libspi/accessible.c (spi_accessible_new_return): only
3988 release the ref if we are supposed to [doh]
3990 * test/simple-at.c (report_button_press, report_focus_event):
3991 guard vs. unexpected exit.
3993 * at-bridge/bridge.c (gtk_module_init): prune printf.
3994 (bridge_exit_func): fix app unref.
3996 * libspi/Makefile.am: don't install registry or desktop.h
3998 * libspi/*.h: update includes.
4000 * libspi/application.h: don't include ourself, or
4001 other redundant headers.
4003 2001-12-06 Michael Meeks <michael@ximian.com>
4005 * libspi/accessible.c
4006 (get_accessible_from_servant): impl.
4007 Upd. all CORBA impl.s to use it killing cut and paste.
4009 * cspi/spi_main.c (cspi_cleanup): guard vs. double
4011 (SPI_init): register atexit cleanup handler here.
4013 2001-12-06 Michael Meeks <michael@ximian.com>
4015 * at-bridge/bridge.c (gtk_module_init): g_error on
4016 activation exception
4018 2001-12-06 Michael Meeks <michael@ximian.com>
4020 * at-bridge/bridge.c (gtk_module_init): some sort of
4021 confusing merge clash - reverted.
4022 (bridge_idle_init): ditto.
4024 * test/test-simple.c (main, utterable_normal_derefs):
4025 merge from Bill - somehow not committed.
4027 2001-12-06 Michael Meeks <michael@ximian.com>
4029 * libspi/value.c (spi_value_class_init): upd.
4030 (spi_value_finalize): kill.
4032 * libspi/table.c (spi_table_finalize): kill.
4033 (spi_table_interface_new): upd.
4034 (spi_table_class_init): upd.
4035 (get_table_from_servant): impl.
4036 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4038 * libspi/selection.c (spi_selection_finalize): kill.
4039 (spi_selection_interface_new): upd.
4040 (spi_selection_class_init): upd.
4041 (get_selection_from_servant): impl.
4042 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4044 * libspi/relation.c (spi_relation_finalize): kill.
4045 (spi_relation_class_init, spi_relation_new): upd
4047 * libspi/image.c (spi_image_finalize): kill.
4048 (spi_image_class_init): upd.
4049 (spi_image_interface_new): upd.
4050 (get_image_from_servant): impl.
4051 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4053 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
4054 (spi_hyperlink_finalize): kill.
4055 (spi_hyperlink_new): upd.
4056 (get_hyperlink_from_servant): impl.
4057 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4059 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
4060 (spi_hypertext_finalize): kill.
4061 (spi_hypertext_class_init): upd.
4062 (get_hypertext_from_servant): impl.
4063 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4065 * libspi/editabletext.c (spi_editable_text_finalize): kill.
4066 (spi_editable_text_interface_new): upd.
4067 (get_editable_text_from_servant): impl.
4068 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4070 * libspi/text.c (get_text_from_servant): impl.
4071 All impls - update to use it killing more cut and paste,
4072 also fix bad string returns on duff args ( a somewhat
4073 impossible case to handle - but hey ).
4074 (spi_text_construct): impl.
4075 (spi_text_interface_new): upd.
4076 (spi_text_object_finalize): kill.
4078 * libspi/component.c
4079 (accessibility_component_object_finalize): kill.
4080 (spi_component_class_init): upd.
4081 (get_component_from_servant): impl. helper to kill cut & paste.
4082 (impl_accessibility_component_contains):
4083 (impl_accessibility_component_get_accessible_at_point):
4084 (impl_accessibility_component_get_position):
4085 (impl_accessibility_component_get_extents):
4086 (impl_accessibility_component_get_mdi_z_order):
4087 (impl_accessibility_component_get_layer):
4088 (spi_component_interface_new): upd.
4090 * libspi/action.c (spi_action_finalize): kill.
4091 (spi_action_class_init): upd. inherit from SpiObject.
4092 (spi_action_interface_new): upd.
4093 (get_action_from_servant): impl. helper to reduce cut & paste.
4094 (impl_getKeyBinding, impl_getName, impl_doAction),
4095 (impl_getDescription): Use it everywhere.
4097 * cspi/spi_main.c (get_live_refs): a pointer hash.
4098 (spi_object_hash, spi_object_equal): comment out.
4099 There are issues with CORBA object hashing that need
4102 * libspi/application.c (spi_application_init),
4103 (spi_application_new): upd.
4105 * libspi/accessible.c (spi_accessible_object_finalize): kill.
4106 (spi_accessible_class_init): upd.
4107 s/accessible/object/ in epv methods.
4109 2001-12-05 Bill Haneman <bill.haneman@sun.com>
4111 * at-bridge/bridge.c:
4112 Reorder the bridge initialization into the bridge gtk_module_init,
4113 an immediate call to bridge_register_app, and an idle_add for
4114 register_atk_event_listeners (the only code that *must* wait until
4115 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
4116 the activation, creates the application's Accessible object, and
4117 queues the bridge_idle_init function. Restored call to
4118 Accessibility_Registry_deregisterApplication().
4119 Prior to making this call we obtain a new reference to the
4120 registry, which is a temporary hack that helps us handle apps that
4121 shut down the bonobo mainloop before we get there.
4123 * libspi/registry.c:
4124 Fix string leakage in debug block, and don't segv if a an app
4125 dies before its event notifications have been propagated.
4128 Modify cspi_check_ev() to call g_warning() rather than g_error(),
4129 as stopgap measure until we get proper exception handling when
4130 objects die during or before interrogation.
4134 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
4135 Also changed default value of is_gnome_app to TRUE.
4138 * test/keysynth-demo.c:
4139 Changed use of SPI_init and SPI_event_main to reflect API change above.
4142 Made report_focus_event check the warning value from getName
4143 before reporting on focussed accessible; simplifies handling of
4144 notifications from dead objects.
4146 * test/test-simple.c: (Changes not in this patch since source is
4149 2001-12-05 Michael Meeks <michael@ximian.com>
4151 * registryd/registryd.c (main): protect against
4152 bonobo-activation startup race condition.
4154 * cspi/spi_main.c (cspi_object_add_check): cope
4155 with the exception elegantly.
4157 * idl/Accessible.idl: decl. ChildGone
4159 * libspi/desktop.c (spi_desktop_dispose): impl.
4160 (spi_desktop_class_init): upd.
4161 (spi_desktop_add_application),
4162 (spi_desktop_remove_application),
4163 (abnormal_application_termination): impl.
4164 (impl_desktop_get_child_at_index): re-impl.
4167 (impl_accessibility_registry_deregister_application),
4168 (impl_accessibility_registry_register_application):
4169 kill excessive debug clutter.
4171 * test/test-simple.c (test_misc): test some NULL
4172 tolerance. (main): upd.
4174 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
4175 implements no interfaces - so let's not crash.
4177 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
4179 * libspi/accessible.c (spi_accessible_new_return): impl.
4180 helper to calm the cut and paste, to cope with
4181 NULL AtkObjects effectively and efficiently, and to kill
4182 the referencing bugs.
4184 * libspi/table.c (impl_getAccessibleAt),
4185 (impl_getRowHeader, impl_getColumnHeader): upd.
4187 * libspi/hyperlink.c (impl_getObject): upd.
4189 * libspi/accessible.c
4190 (impl_accessibility_accessible_get_child_at_index): upd.
4192 * libspi/component.c
4193 (impl_accessibility_component_get_accessible_at_point): upd.
4195 * test/test-simple.c (test_editable_text, test_text): impl.
4198 * cspi/spi_editabletext.c
4199 (AccessibleEditableText_insertText): constify.
4201 * test/test-simple.c (focus_me): make more robust.
4203 * libspi/accessible.c: remove some printfs in methods that
4204 we test and work fine, so we can get a clean tree dump.
4206 * test/test-simple.c (validate_accessible),
4207 (validate_tree): make tree dumping pretty too.
4209 * at-bridge/bridge.c (bridge_signal_listener): upd. so
4210 it builds without debug on.
4212 * test/test-simple.c (validate_accessible): fix the most
4215 * cspi/spi_main.c (spi_object_release): leave the nicely
4216 blanked memory around if in debug mode.
4218 * cspi/spi-listener-impl.c (cspi_event): use add_check.
4220 [committed to fixups2]
4221 2001-12-05 Michael Meeks <michael@ximian.com>
4223 * libspi/editabletext.c
4224 (spi_editable_text_class_init): g_type_class_peek_parent,
4225 not interface peek - so we finalize cleanly.
4227 * libspi/accessible.c (spi_accessible_new): kill debug.
4229 * test/test-simple.c (validate_accessible): fix ref.
4230 leak, print strings before freeing them; sigh, comment a
4231 chunk out due to strangeness.
4232 (validate_tree): unref the child after use.
4234 * cspi/spi_component.c (AccessibleComponent_getLayer):
4235 add missing break statement, switch on zlayer not the
4236 uninitialized retval.
4238 * cspi/spi_main.c (cspi_object_add): add assert, local ref
4239 before (possibly re-entering) remote unref.
4241 * test/simple-at.c (main): unref the desktop.
4243 * cspi/spi_accessible.c (cspi_accessible_is_a): move
4246 * cspi/spi_main.c (cspi_accessible_is_a): here to
4247 isolate bonobo API usage more.
4249 * libspi/registry.c (impl_accessibility_registry_register_application):
4250 prune bogus comment.
4252 2001-12-04 Michael Meeks <michael@ximian.com>
4254 * test/test-simple.c (validate_tree): upd.
4255 IndexInParent check to make it more lucid.
4256 (validate_accessible): dump the tree.
4258 * libspi/accessible.c (de_register_public_ref),
4259 (get_public_refs): impl.
4260 (spi_accessible_new): make more efficient & intuitive.
4261 Now IndexInParent check works.
4263 2001-12-04 Michael Meeks <michael@ximian.com>
4265 * cspi/spi-util.h: remove.
4267 * cspi/spi.h: move SPI_freeString here
4269 * libspi/component.c (impl_accessibility_component_get_layer):
4271 (impl_accessibility_component_get_mdi_z_order): ditto,
4272 return -1 on error - is this ok ?
4274 * test/test-simple.c (test_application): impl.
4276 * cspi/spi_accessible.c (Accessible_getApplication),
4277 (Accessible_isApplication): impl.
4279 * libspi/registry.c (spi_listener_struct_free): release
4280 the CORBA reference too.
4282 * libspi/accessible.c
4283 (impl_accessibility_accessible_get_parent): fix ref leak.
4285 * libspi/registry.c (spi_registry_new): make the registry
4286 immortal - we don't want it to go away ever.
4288 * libspi/application.c
4289 (spi_accessible_application_finalize): impl. cleanup.
4291 * cspi/spi_registry.c
4292 (deregisterGlobalEventListenerAll),
4293 (deregisterGlobalEventListener),
4294 (deregisterAccessibleKeystrokeListener): fix ref leak.
4296 * cspi/spi_main.c (SPI_init): remove redundant ref.
4298 * test/test-simple.c (unutterable_horror): impl. to force a
4303 (impl_accessibility_registry_deregister_application): release
4304 the application when we de-register it.
4306 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
4307 until we have the infastructure to get it right.
4309 2001-12-03 Michael Meeks <michael@ximian.com>
4311 * libspi/Makefile.am: only build eventlistener.[ch]
4313 * libspi/accessible.c
4314 (impl_accessibility_accessible_get_child_at_index): don't leak.
4316 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
4317 before we hit the idle handler.
4319 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
4320 debugging than exit.
4322 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
4324 * libspi/listener.c (impl_notify_event): check source
4325 not NIL before unref.
4327 * libspi/registry.c (impl_registry_notify_event): ditto.
4329 * libspi/eventlistener.c
4330 (impl_accessible_event_notify_event): unref the source.
4332 * libspi/accessibleeventlistener.c
4333 (impl_accessible_event_notify_event): unref the source.
4335 * idl/Event.idl: remove 'hash_id' attribute - of no
4338 * libspi/application.c (notify_listeners): upd list
4340 (spi_application_object_event_listener),
4341 (spi_application_toolkit_event_listener): upd to do correct
4345 (_registry_notify_listeners): update.
4346 (parse_event_type): this method also leaks like a sieve.
4347 (impl_accessibility_registry_deregister_global_event_listener):
4348 fix ETYPE_WINDOW case.
4350 * libspi/application.c
4351 (impl_accessibility_application_register_object_event_listener):
4354 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
4356 * libspi/hypertext.c (impl_getLink): ditto.
4358 * cspi/spi_main.c (cspi_object_add): remove
4359 bogus CORBA_Object_duplicate.
4361 * cspi/spi-listener-impl.c (cspi_event): dup/ref
4364 * cspi/spi_accessible.c
4365 (Accessible_getRelationSet): fix leak / referencing issue.
4367 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
4368 (cspi_object_add, cspi_object_unref): upd.
4369 (spi_object_release, get_live_refs): impl.
4370 (cspi_cleanup): simplify.
4372 * *.[ch]: s/boolean/SpiBoolean/
4374 * cspi/spi_accessible.c (role_names): actualy order so it
4375 corresponds with the enum !
4377 * test/test-simple.c (test_roles): check some role strings
4378 vs. enums to detect offset errors.
4380 2001-12-01 Michael Meeks <michael@ximian.com>
4382 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
4384 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
4386 (Accessible_getChildAtIndex): use cspi_add_check so we
4387 check the ev before using a (possibly) invalid value.
4389 * libspi/accessible.c
4390 (impl_accessibility_accessible_get_parent): don't segv
4393 * at-bridge/bridge.c (gtk_module_init): upd.
4394 (bridge_property_event_listener): don't leak strings
4396 (bridge_state_event_listener),
4397 (bridge_property_event_listener): don't use a static
4398 buffer in case of recursive event emission &
4399 re-enterancy - split out the swathe of cut and paste
4401 (emit_eventv): and fix 2 ref leaks here & comply to the
4403 (bridge_register_app): rename to
4404 (bridge_idle_init): this and kill arg parsing, split
4405 various inits & bonobo-activation registration to module
4406 init time, kill referencing error.
4407 (bridge_exit_func): fix the same leak.
4408 (bridge_focus_tracker): don't leak event structures
4410 (bridge_signal_listener): more leakage and cut & paste
4412 (bridge_key_listener): return the result - FIXME is
4413 this polarity correct ?
4414 (accessibility_keystroke_from_atk_key_event): rename
4415 (accessibility_init_keystroke_from_atk_key_event): and stop
4417 (gtk_module_init): return a value - not that it is checked by
4419 (bridge_key_listener): register my horror at casting between
4420 IDL defined structs.
4421 (bridge_get_registry): kill - not used.
4423 * cspi/spi_accessible.c (Accessible_getRole): make return const.
4425 * test/test-simple.c (test_roles): impl.
4426 (test_desktop, validate_accessible, validate_tree): impl.
4428 * cspi/spi_accessible.c (role_names): fixup bogus
4429 MAX_ROLES setup, make constants const for efficient linkage
4430 (AccessibleRole_getName): conform to coding style, make
4433 2001-11-30 Michael Meeks <michael@ximian.com>
4435 * cspi/spi.h: add missing prototype.
4437 * libspi/registry.c (spi_listener_struct_new): fix sig.
4439 * test/Makefile.am: add test-simple
4441 * test/test-simple.c: add
4443 * test/test.sh: add.
4445 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
4447 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
4448 do it straight - since otherwise we often get an activation race.
4450 [ work before Bill duplicated a chunk of it ... ]
4451 2001-11-30 Michael Meeks <michael@ximian.com>
4453 * libspi/keystrokelistener.c
4454 (spi_keystroke_listener_class_init): fixup arg
4457 * libspi/eventlistener.c
4458 (spi_event_listener_class_init): ditto.
4460 * tests/test.sh: add.
4462 * cspi/spi-listener-impl.h: update macros.
4464 * cspi/spi-listener-impl.c
4465 (cspi_event_listener_remove_callback): add
4466 correct pre-conditions.
4468 * cspi/spi_main.c (SPI_exit): guard vs. double
4469 exits, exit the mainloop nicely.
4470 (SPI_event_main): make more sense.
4471 (SPI_init): move the atexit evilness here so we
4472 always do it (yuck).
4473 (SPI_event_main): upd.
4475 * test/simple-at.c: update for listener changes.
4477 * registryd/registryd.c (main): prune kruft.
4479 * libspi/libspi.h: upd.
4481 * libspi/eventlistener.[ch]: rename broken macros.
4483 * libspi/accessibleeventlistener.[ch]: remove.
4485 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
4487 * test/test-simple.c: Add - automated tests.
4489 * cspi/spi-listener-impl.c (cspi_event),
4490 (cspi_key_event): add user_data to invoke.
4491 (cspi_keystroke_listener_finalize): impl.
4492 (cspi_keystroke_listener_class_init): upd.
4495 (createAccessibleEventListener),
4496 (AccessibleEventListener_addCallback),
4497 (createAccessibleKeystrokeListener),
4498 (AccessibleKeystrokeListener_addCallback): upd.
4500 * libspi/deviceeventcontroller.c
4501 (spi_device_event_controller_check_key_event): add public proto.
4504 (impl_accessibility_registry_deregister_global_event_listener):
4505 always init listeners.
4506 (_registry_notify_listeners): yes it is.
4508 * cspi/spi-listener-impl.c (cspi_key_event):
4510 (cspi_event_listener_finalize): impl.
4511 (cspi_event_listener_class_init): hook up.
4512 (event_handler_new, event_handler_free),
4513 (event_list_remove_by_callback): impl.
4514 (cspi_event_listener_remove_callback),
4515 (cspi_keystroke_listener_remove_callback),
4516 (cspi_keystroke_listener_add_callback),
4517 (cspi_event_listener_add_callback): upd.
4519 * libspi/keystrokelistener.c
4520 (keystroke_listener_object_finalize): kill
4521 (spi_keystroke_listener_class_init): upd.
4522 (spi_keystroke_listener_add_callback),
4523 (spi_keystroke_listener_remove_callback): kill,
4525 (impl_key_event): prune drasticaly.
4527 * libspi/eventlistener.c
4528 (spi_event_listener_add_callback),
4529 (spi_event_listener_remove_callback): kill, use
4531 (impl_accessible_event_notify_event): upd.
4532 (spi_event_listener_object_finalize): remove.
4534 * libspi/Makefile.am: use eventlistener.[ch]
4536 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4538 * libspi/registry.c (_registry_notify_listeners):
4539 Changed listener loop iteration to use preferred convention.
4540 Got rid of string memory leaks caused be calling g_strconcat
4541 inside function calls.
4543 * libspi/registry.c (parse_event_type):
4544 Stopped g_strconcat memory leaks, free the g_strsplit return,
4545 g_strdup the split pieces when used, etc.
4547 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4550 Change method 'compare' to return a 'difference set' rather than
4551 taking a StateSet as an out parameter (more Java-friendly).
4553 * idl/Accessible.idl:
4554 Added CORBA struct 'BoundingBox', to faciliate API changes below:
4556 * idl/Component.idl:
4558 Changed methods 'getExtents' and 'getImageExtents' in these
4559 interfaces to return a BoundingBox structure.
4560 (getPosition and getSize are redundant and possibly should be
4561 removed, rather than creating a corresponding Point struct.)
4563 * cspi/spi_component.c:
4564 Modify implementation of getExtents to reflect the above IDL
4569 Add (missing) AccessibleImage_getExtents () API.
4571 * docs/reference/cspi/at-spi-cspi-sections.txt:
4572 Added AccessibleImage_getImageExtents () to docs.
4574 2001-12-03 Bill Haneman <bill.haneman@sun.com>
4576 * idl/Component.idl:
4577 Added two methods, getLayer () and getMDIZOrder (), to reflect
4578 the new ATK methods atk_object_get_layer and
4579 atk_object_get_mdi_z_order. (Which arguably should be part of the
4580 AtkComponent API and AtkObject). Also added an enum,
4581 ComponentLayer, for the first method's return value.
4583 * libspi/component.c:
4584 Added implementations for these methods.
4586 * cspi/spi_component.c:
4588 Added cspi binding methods for above,
4589 AccessibleComponent_getLayer() and
4590 AccessibleComponent_getMDIZOrder().
4591 Added cspi enum 'AccessibleComponentLayer'.
4593 * docs/reference/cspi/at-spi-cspi-sections.txt:
4594 Added above methods to docs.
4598 Changed typedef for 'boolean' type (and all references to it) to
4599 SPIBoolean, to avoid keyword clashes with C++.
4602 Changed usages of 'boolean' to SPIBoolean.
4604 * test/keysynth-demo.c:
4605 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
4606 app), except where SPIBoolean is required by the callbacks API.
4608 2001-12-02 Bill Haneman <bill.haneman@sun.com>
4610 * cspi/spi_registry.c:
4611 Removed obsolete X event loop for passive keygrabs (which now
4614 * registryd/registryd.c:
4615 Removed unnecessary call to gdk_init() [cruft]. This also allows
4616 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
4619 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4621 * docs/reference/cspi:
4622 Included docs for SPI_freeString in generated documentation.
4625 Renamed spi_freeString to SPI_freeString, for consistency. Added
4626 documentation for this function.
4629 Renamed spi_freeString to SPI_freeString, for consistency.
4630 Removed obsolete method declaration string_from_corba_string.
4632 * test/keysynth-demo.c:
4633 Small tweak to comments.
4636 Stopped leaking the strings returned from CSPI.
4638 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4640 Merged Michael's branch (see his ChangeLog entries below).
4642 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
4643 bridge is alive, release on exit.
4645 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
4646 Fix type check macro.
4649 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
4652 Added is_gnome_app static, and method cspi_is_gnome_app(),
4653 so we can call the appropriate shutdown routine at exit in SPI_exit.
4655 * cspi/spi_main.c (cspi_object_ref):
4656 Duplicate the corba object passed in, since we're keeping it around.
4658 * cspi/SPI_exit.c, cspi_cleanup:
4659 Moved the releasing of the live refs to its own function, so we
4660 can put it in g_atexit (). Call the appropriate shutdown API
4661 depending on whethe calling client is a gnome app or not
4662 (bonobo_main_quit or CORBA_ORB_shutdown).
4664 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
4665 Unref the listener when this method is called, after
4666 deregistration. Updated the API docs to note this behavior.
4668 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
4669 Bugfixes: Ref the bonobo object when returning a parent or child
4670 reference, or an AccessibleRelation. Generally made sure
4671 BonoboObject refcount is incremented whenever we return an
4674 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
4675 Fixed typo/bug in signal declaration.
4677 * libspi/accessibleeventlistener.h:
4680 * libspi/application.c (spi_application_new):
4681 Fixed leak in initialization.
4684 Remembered to increment bonobo-object refcount when returning
4685 children (applications) from desktop object.
4686 Added (empty) finalize method.
4688 * libspi/deviceeventcontroller.c:
4689 Hold a ref to listeners inside DEControllerKeyListeners.
4690 Added dec_key_listener_free() method. Use prepend instead of
4691 append in key_listener list. Fixed some refcount madness and
4692 leaks in the listener registration/deregistration - deregistration
4693 now calls dec_key_listener_free() on listeners, and on the
4694 temporarily constructed dec_key_listener() used to perform the search/match.
4696 * libspi/hypertext.c (spi_hypertest_finalize):
4697 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
4698 class. Also fixed spi_hypertext_interface_new() and
4699 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
4701 * libspi/hypertext.h:
4702 Removed pointless and duplicate AtkObject pointer from
4705 * libspi/keystrokelistener.c:
4706 Fixed incorrect type of keystroke_listener_parent_class,
4707 renamed keystroke_listener_object_finalize to
4708 spi_keystroke_listener_object_finalize.
4709 Fixed typo in signal declaration
4710 (spi_keystroke_listener_class_init).
4712 * libspi/registry.c:
4713 Added funcsions spi_listener_struct_new() and
4714 spi_listener_struct_free() to help with memory management issues.
4715 We also now use these methods instead of gnew + poking stuff into
4716 the struct, and to decrement listener counts/free the listeners
4717 when deregistering them.
4718 Fix more refcount bugs in getDesktop() and
4719 getDeviceEventController().
4722 De-ref the desktop after enumerating the applications. Explicitly
4723 decrement the refcounts on the created listeners on exit (using
4724 _unref for keystroke listeners, and via the
4725 deregisterGlobalEventListenerAll command for other event
4728 2001-11-27 Michael Meeks <michael@ximian.com>
4730 * cspi/spi-listener.h: fixup enum.
4732 2001-11-27 Michael Meeks <michael@ximian.com>
4734 * cspi/spi-listener-impl.c (cspi_event_listener_new),
4735 (cspi_keystroke_listener_new): Use the cspi variants.
4737 2001-11-26 Michael Meeks <michael@ximian.com>
4739 * test/keysynth-demo.c: fix 2 compile warnings, missing
4742 * test/simple-at.c (report_focussed_accessible),
4743 (report_focus_event, report_button_press),
4744 (check_property_change, is_command_key),
4745 (report_ordinary_key_event, report_command_key_event): upd.
4747 * util/mag_client.h: include pre-requisites.
4749 * libspi/accessibleeventlistener.c
4750 (spi_event_listener_object_finalize): free any lingering
4753 * libspi/keystrokelistener.c
4754 (keystroke_listener_object_finalize): ditto.
4756 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
4757 callbacks, with cspi types.
4759 * cspi/spi_event.c (createAccessibleEventListener): chain to
4760 (AccessibleEventListener_addCallback): here.
4761 (createAccessibleKeystrokeListener): chain to
4762 (AccessibleKeystrokeListener_addCallback): here.
4764 * libspi/keystrokelistener.c
4765 (spi_keystroke_listener_class_init): add signal.
4766 (impl_key_event): emit the event.
4767 (boolean_handled_accumulator): impl.
4768 (marshal_BOOLEAN__POINTER): add, gack.
4770 * libspi/accessibleeventlistener.c
4771 (spi_event_listener_class_init): add signal.
4772 (impl_accessible_event_notify_event): emit the signal &
4773 make the loop efficient.
4774 (spi_event_listener_add_callback): prepend the callback.
4776 * libspi/accessibleeventlistener.h: add an 'event' signal,
4777 decl type on callback.
4779 * libspi/keystrokelistener.h: ditto.
4781 * cspi/spi-listener.h: make methods typesafe and
4782 make them use the new event typedefs.
4784 * test/simple-at.c (report_focussed_accessible):
4785 include mag_client.h
4786 Use *(void *)text_interface not the other thing.
4788 * configure.in: add gtk to registryd bits - since we use
4791 * util/magnifier.c: include libbonobo.h
4793 2001-11-25 Bill Haneman <bill.haneman@sun.com>
4795 * test/keysynth-demo.c:
4796 Turned this into a simple scanning keyboard, to demonstrate the
4797 use of g_timeout_add () as a means of creating timers for
4798 scanning, and the use of GtkStyle for visually indicating when
4799 virtual keyboard elements are selected.
4801 keysynth-demo now listens to any keyboard keys with zero-valued
4802 keycodes (i.e. 'unused' keys) and interprets them as
4805 Reworked the shiftlatch code so that shift-down state isn't held
4806 for long periods (it's only synthesized immediately prior to
4807 the keysynth event it's modifying). Note that shiftlatch in this
4808 demo is a convenience, not intended to take the place of AccessX
4809 which is the better choice for getting 'sticky' modifier keys.
4811 * libspi/deviceeventcontroller.c:
4812 * at-bridge/bridge.c:
4813 * cspi/spi_registry.c:
4814 Removed some debug print stuff, and put other verbosity in #ifdef
4819 Implemented some more of the magnifier IDL for the simple
4820 magnifier: namely, getZoomRegionParams.
4821 Added mag_x and mag_y members to MagnifierData struct, aid of this
4823 Added GtkWindow::realize signal handler to magnifier, to keep it
4824 from receiving keyboard focus from the WM.
4826 2001-11-23 Mark McLoughlin <mark@skynet.ie>
4828 * cspi/spi-private.h: my guess at what michael forgot
4829 before he ran off to NZ :-)
4831 2001-11-23 Michael Meeks <michael@ximian.com>
4833 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
4834 comment out non existant method invoke so we link.
4836 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
4837 use bonobo_exception_get_text for more friendly warnings.
4839 * cspi/spi.c (Obj_Add): move into spi_main & rename
4840 spi_object_add; kill spi.c
4842 * cspi/spi_registry.c
4843 (deregisterGlobalEventListener),
4844 (deregisterGlobalEventListenerAll),
4845 (registerGlobalEventListener): fix exception leaks.
4847 * cspi/spi_main.c (spi_exception): impl. helper, so we
4848 don't leak exceptions.
4850 * cspi/spi_selection.c
4851 (AccessibleSelection_deselectSelectedChild): return the
4854 * cspi/spi_main.c (spi_ev): impl; hack - gack.
4855 (spi_registry): ditto.
4856 (SPI_init): guard against double inits.
4858 * cspi/*.c: use spi_ev (), and spi_registry () where
4859 appropriate - a temporary hack until we have something
4860 better. Use spi_object_add
4862 2001-11-22 Michael Meeks <michael@ximian.com>
4864 * cspi/Makefile.am: re organise, install the headers.
4866 * cspi/*.h: add G_BEGIN/END_DECLS
4868 2001-11-22 Bill Haneman <bill.haneman@sun.com>
4871 Added non-preemptive keylistener for key events with no modifiers
4872 and shift-only modifier.
4874 * libspi/keystrokelistener.c:
4875 Removed some verbose diagnostics printout.
4877 * cspi/spi_registry.c:
4878 Fixed a bug that caused all key listeners to be registered as
4881 * libspi/deviceeventcontroller.c:
4882 Fixed bug that caused XGrabKey (preemptive key grab) to be called
4883 for non-preemptive key masks.
4886 2001-11-22 Bill Haneman <bill.haneman@sun.com>
4888 * docs/reference/idl/at-spi-idl-docs.sgml:
4889 * docs/reference/idl/at-spi-idl-sections.txt:
4890 * docs/reference/idl/at-spi-idl-overrides.txt:
4891 Added missing files.
4893 * docs/reference/Makefile.am:
4894 removed idl from SUBDIRS until we can figure a way to get gtk-doc
4895 to scan the IDL files :-(
4900 Added .cvsignore files.
4902 2001-11-21 Bill Haneman <bill.haneman@sun.com>
4904 * libspi/deviceeventcontroller.c:
4905 * libspi/keystrokelistener.c:
4907 * cspi/spi_registry.c:
4908 Added filters for KeySets, KeyEventSeq, and event types to key
4909 event dispatching, so listeners should only receive those events
4910 that they requested :-)
4912 2001-11-21 Bill Haneman <bill.haneman@sun.com>
4917 * docs/reference:Makefile.am:
4918 * docs/reference/cspi:
4919 * docs/reference/cspi:Makefile.am:
4920 * docs/reference/cspi:tmpl:
4921 * docs/reference/cspi:tmpl:*.sgml:
4922 * docs/reference/idl:
4923 * docs/reference/idl:Makefile.am:
4924 * docs/reference/idl:at-spi-idl-sections.txt:
4925 * docs/reference/idl:at-spi-idl-docs.sgml:
4926 * docs/reference/idl:tmpl:
4927 * docs/reference/idl:tmpl:*.sgml:
4929 Restructured docs directory to allow separate 'reference' docs
4930 section, and forked idl and cspi docs. Added the sgml template
4931 files to CVS. Added the first sections/structural sgml for the
4934 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
4936 * configure.in, libspi/Makefile.am: find libXtst.
4938 2001-11-21 Michael Meeks <michael@ximian.com>
4940 * test/accessx-gui.c: s/spi_value/value/ - doh.
4942 * libspi/base.[ch]: add.
4944 2001-11-18 Bill Haneman <bill.haneman@sun.com>
4946 * idl/Accessible.idl:
4947 * idl/Application.idl:
4950 Started gtk-doc cleanup on IDL.
4952 * libspi/deviceeventcontroller.c:
4953 Added and connected non-preemptive key notification from the
4954 toolkits (in addition to the pre-emptive support from XServer
4955 which we had before, but which causes 'focus flashing'). Filters
4956 are presently limited to key modifiers and global/non-global,
4957 KeySets are presently ignored, as are KeyEvent masks.
4959 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
4960 structs into the persistant structure rather than just storing
4961 pointers to things that might not persist across servant
4964 The XGrabKey call now does async keygrabs, because synchronous
4965 ones were deadlocking with GDK_event code in a very nasty way.
4967 Added boolean to internal method notify_keylisteners, to indicate
4968 whether the event came from the 'toolkit source' or the 'global
4969 (XServer) source' - this is used in the notification process to
4970 determine which listeners to send the event to.
4972 deviceeventcontroller.c is now warning-free.
4974 * libspi/registry.c:
4975 Fixed regression in application de-registration.
4976 Also fixed some really brain-dead weirdness having to do with
4977 event dispatching - event structs are now duplicated before being
4978 re-marshalled in the dispatch to listeners. This also fixes a
4979 Solaris build problem.
4982 2001-11-20 Michael Meeks <michael@ximian.com>
4985 (impl_accessibility_registry_deregister_global_event_listener):
4988 * libspi/deviceeventcontroller.c
4989 (spi_device_event_controller_check_key_event): return
4990 FALSE on no virtual method.
4992 * libspi/*..h: make includes work on a correctly pathed install.
4994 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
4996 * libspi/application.h: kill unused ( and whacked out )
4997 gboolean *spi_application_set_id (AtkObject *app, long id);
4999 2001-11-20 Michael Meeks <michael@ximian.com>
5001 * libspi/*.[ch]: further convert to bonobo's type func
5002 macros, remove redundnant casts etc.
5004 * libspi/text.c s/accessibility_text/spi_text/g,
5005 re-order to de-cruft.
5007 * libspi/hypertext.c: re-order to kill a huge slew
5008 of redundant forward decls.
5010 * libspi/relation.c: ditto.
5012 * libspi/image.c: ditto.
5014 * */.cvsignore: update
5016 2001-11-20 Michael Meeks <michael@ximian.com>
5018 * libspi/deviceeventcontroller.c
5019 (_controller_register_with_devices): use g_getenv,
5020 kill stdlib.h include.
5022 * libspi/keystrokelistener.c
5023 (spi_keystroke_listener_get_type): kill
5024 (spi_keystroke_listener_class_init),
5025 (spi_keystroke_listener_init): rename to this.
5027 * libspi/text.c (impl_getAttributes): fix warning / bug.
5029 * libspi/*.[ch]: more headers, includes and over commenting.
5031 2001-11-20 Michael Meeks <michael@ximian.com>
5033 * libspi/*.[ch]: fixup headers, includes and over commenting.
5035 * libspi/image.c (impl__get_imageDescription): const
5036 correctness warning fix. remove redundant casting.
5038 * libspi/table.c (impl_getRowDescription): ditto.
5039 (impl_getColumnDescription): ditto.
5041 * libspi/libspi.h: add.
5043 2001-11-19 Michael Meeks <michael@ximian.com>
5045 * libspi/editabletext.c (impl_setAttributes): fix warnings.
5047 * libspi/component.c (accessibility_component_get_type):
5048 rename to (spi_component_get_type): and macroify.
5049 (accessibility_component_init): rename to
5050 (spi_component_init): this
5051 (accessibility_component_class_init): rename to
5052 (spi_component_class_init): this
5054 * libspi/action.c (spi_action_get_type): kill, use the macro.
5056 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
5059 * libspi/application.c (spi_application_object_event_listener),
5060 (impl_accessibility_application_register_object_event_listener):
5061 warning fixes / const understanding updates.
5063 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
5066 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5068 * libspi/spi_accessible.c: Added docs and C bindings for
5069 AccessibleStateSet. (No implementations yet). Documentation
5070 coverage for C bindings now 100%. Made docs for event listeners
5075 boolean notifyListenersSync (in DeviceEventListener listener,
5076 in DeviceEvent event);
5078 oneway void notifyListenersAsync (in DeviceEventListener listener,
5079 in DeviceEvent event);
5081 Added DeviceEventListener and DeviceEvent structs (may deprecate
5082 KeyStroke and KeystrokeListener in favor of this generic
5083 event/listener framework for devices).
5085 * libspi/deviceeventcontroller.c:
5087 Changed some key listener code to take masks, etc., and paved the
5088 way for integration of toolkit/non-preemptive key events. Changed
5089 signatures of some internal methods.
5091 * at-bridge/bridge.c:
5092 Fixed regression connecting to interface signals, apparently
5093 caused by GTK+ changes.
5095 Added an internal bridge_state_listener to deal with
5096 property-change:accessible-state signals.
5098 Changed the key_listeners GList to store structs (including masks,
5099 etc.) instead of just CORBA_Objects (required for full
5100 implementation of key listener API).
5102 Connected the bridge to all currently supported Atk signals.
5103 Events now supported:
5104 object:property-change
5105 object:property-change:accessible-name
5106 object:property-change:accessible-state
5107 object:property-change:accessible-description
5108 object:property-change:accessible-parent
5109 object:property-change:accessible-value
5110 object:property-change:accessible-role
5111 object:property-change:accessible-table-caption
5112 object:property-change:accessible-table-column-description
5113 object:property-change:accessible-table-column-header
5114 object:property-change:accessible-table-row-description
5115 object:property-change:accessible-table-row-header
5116 object:property-change:accessible-table-summary
5117 object:children-changed
5118 object:visible-data-changed
5119 object:selection-changed
5120 object:text-selection-changed
5122 object:text-caret-moved
5124 object:row-reordered
5126 object:column-inserted
5127 object:column-reordered
5128 object:column-deleted
5129 object:model-changed
5131 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5133 * libspi/hyperlink.c,h:
5134 Fixed some broken stuff in hyperlink.
5136 * libspi/relation.h:
5137 * libspi/relation.c:
5138 * cspi/spi_accessible.c:
5139 Initial implementations of AccessibleRelation methods, and docs.
5141 * libspi/accessible.c:
5142 Fixed a bug that caused SEGV if an accessible
5143 object's description is NULL, and a client
5144 requests it. An empty string is now returned.
5146 * cspi/spi_editabletext.c:
5147 * cspi/spi_hypertext.c:
5149 * cspi/spi_hyperlink.c:
5153 Doc coverage now 95%.
5155 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5157 One last namespacing revision:
5158 * libspi/accessibleeventlistener.[ch]:
5159 Renamed SpiAccessibleEventListener to SpiEventListener,
5160 (no need for two namespaces ;-)
5162 And lots of documentation fixes:
5164 * docs/at-spi-docs.sgml:
5165 Fixed 'underscore vs. hyphen' bug that was preventing
5166 the gtk-doc API docs from being automatically generated.
5169 * cspi/spi-listener.h
5171 * cspi/spi_accessible.c
5173 * cspi/spi_application.c
5174 * cspi/spi_component.c
5175 * cspi/spi_editabletext.c
5177 * cspi/spi_hypertext.c
5179 * cspi/spi_registry.c
5180 * cspi/spi_selection.c
5184 * docs/at-spi-docs.sgml
5185 * docs/at-spi-sections.txt
5187 Added and fixed up gtk-doc documentation in cspi.
5189 Interfaces now (fully) documented (subject to revision and enhancement):
5191 Event Listener Support
5193 AccessibleApplication
5197 AccessibleEditableText
5204 AccessibleRelationSet
5209 2001-11-14 Bill Haneman <bill.haneman@sun.com>
5211 * at-bridge/bridge.c:
5212 Initial work for toolkit-level key snooper connection by bridge.
5217 New typedefs and fixes to support new namespacing, and cleaner
5218 separation of cspi bindings from libspi bonobo implementation.
5219 Removed inconsistent and extraneous Spi* namespace prefix that
5220 had crept into cspi headers.
5221 Lots of comment fixes that sed had missed.
5223 * cspi/spi-roletypes.h:
5224 * cspi/spi-statetypes.h:
5225 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
5226 to AccessibleRoleType.
5228 * libspi/accessibleeventlistener.h:
5229 Fixed minor namespacing weirdness.
5231 * libspi/deviceeventcontroller.c:
5232 Reordered some internal API for device listeners.
5233 Changed the key registry final boolean to 'is_system_global'
5234 rather than 'is_synchronous', which is more descriptive of its
5236 Added spi_device_event_controller_new().
5237 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
5239 * libspi/keystrokelistener.[ch]:
5240 Namespaced KeystrokeListener to SpiKeystrokeListener.
5241 Changed uses of keymasks to use SPI_ prefix, and did other
5244 * libspi/keymasks.h:
5245 Namespaced keymask constants with SPI_ prefix.
5247 * libspi/registry.c:
5248 Some warning fixes, and knock-on fixes from namespace changes.
5251 Added rules for accessx-gui test program.
5253 * test/accessx-gui.c:
5254 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
5255 utility. It doesn't actually use at-spi, but it's still cool and
5258 * test/keysynth-demo.c:
5262 Fixes so that these test clients work properly with the namespaced
5263 libraries. (Incompletely tested for technical reasons, fixes may follow)
5266 2001-11-13 Michael Meeks <michael@ximian.com>
5268 * libspi/application.c
5269 (impl_accessibility_application_get_version),
5270 (impl_accessibility_application_get_toolkit_name):
5272 (impl_accessibility_application_set_id),
5273 (impl_accessibility_application_get_id): remove
5274 redundant casting code.
5276 * libspi/action.c (impl_getDescription): fix warnings.
5278 * libspi/accessible.c
5279 (impl_accessibility_accessible_get_parent),
5280 (impl_accessibility_accessible_get_child_at_index),
5281 (impl_accessibility_accessible_get_state),
5282 (impl_accessibility_accessible_get_relation_set):
5283 warning fixes & include action.h
5285 2001-11-13 Michael Meeks <michael@ximian.com>
5287 * *.[ch] fix bits I screwed up:
5289 s/([^ \tb(\*\&\?\",])spi_/\1/g;
5290 s/([^ \tb(\*\&\?\",])Spi/\1/g;
5292 2001-11-13 Michael Meeks <michael@ximian.com>
5294 * *.[ch] Namespace libspi into spi_ and Spi.
5296 2001-13-11 Michael Meeks <michael@ximian.com>
5298 * Makefile.am: dist & install at-spi-1.0.pc
5300 * libspi/Makefile.am: install into at-spi-1.0
5302 * idl/Makefile.am (idldir): install into at-spi-1.0
5304 * at-spi-1.0.pc.in: add.
5306 * configure.in: build it.
5308 2001-11-12 Bill Haneman <bill.haneman@sun.com>
5310 * test/keysynth-demo.c:
5311 Use a 'realize' signal-handler to set the WM properties for
5312 the virtual keyboard, rather than making it a "POPUP" type
5313 override-redirect window (thanks to anders carlsson for that
5316 2001-11-11 Bill Haneman <bill.haneman@sun.com>
5319 * test/keysynth-demo.c:
5320 Added new test of key synthesis, which creates a simple
5321 (mouse-operated) onscreen keyboard. It inserts key events into
5322 the currently-focused window, thus it does not grab keyboard focus
5325 * cspi/spi_registry.c:
5326 Added C binding for AT-SPI generateKeyEvent.
5328 * libspi/deviceeventcontroller.c:
5329 Added call to XFilterEvent so that key listener works with XIM (we
5330 hope). Added event_synth_type to generateKeyEvent, so that we can
5331 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
5332 synthesize a press/release pair for KeySyms.
5334 2001-11-09 Bill Haneman <bill.haneman@sun.com>
5336 * libspi/Makefile.am:
5337 * registryd/Makefile.am:
5338 (temporary) hack to include libXtst in libspi and registryd.
5339 (Needed for keystroke synthesis, see below).
5342 Improved API for registerKeystrokeListener, in accordance with
5343 discussions with Gnopernicus team and X server research.
5345 * libspi/registry.c:
5346 * libspi/deviceeventcontroller.c:
5347 * libspi/accessible.c:
5348 * libspi/keystrokelistener.c:
5349 Changes and fixes to support keylisteners for potentially
5350 consumed key events (that is, 'passive grabs').
5351 Added implementation for generateKeyEvent() [untested].
5354 Changes to registerKeystrokeListener() API, as above.
5355 Added deregisterGlobalEventListenerAll(), and
5356 deregisterKeystrokeListener(), which are needed for clean exit of
5358 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
5359 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
5361 * cspi/spi_registry.c:
5362 Added implementations of function prototypes mentioned above.
5364 * registryd/registryd.c:
5365 Added the key listener event source as a g_timeout(), to allow
5366 receipt of key events that are not caught by GDK (since GDK
5367 doesn't support passive keygrabs, this was necessary).
5370 Changed to attach a keylistener to 'Alt' keys, and
5371 respond to the following keycommands: Alt-M (toggle magnifier);
5372 Alt-F (toggle speech); Alt-Q (quit).
5373 Added an exit routine to deregister the listeners, and a key
5374 listener that prints some key info to the console when a key
5375 matches the listener mask (and is thus received by the listener).
5377 * util/idl/Magnifier.idl:
5378 Changes to magnifier API to support multiple zoom regions,
5379 non-uniform scaling in x and y, markDirty, and a host of other
5380 features that would be useful to magnification.
5383 * util/mag_client.c:
5384 * util/mag_client.h:
5385 * util/mag_control.c:
5387 Source code changes to support the above IDL changes.
5390 As above, and also changes to use a (slower) generic conversion
5391 path for colormap conversions, since the fast RGB conversions have been
5392 reported to fail for 16-bit displays.
5394 2001-10-26 Michael Meeks <michael@ximian.com>
5396 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
5398 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
5400 * at-bridge/Makefile.am: fix LDFLAGS.
5402 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5404 * at-bridge/bridge.c:
5405 Re-worked listeners for toolkit events, now we have signal
5406 and property listeners. Added a private method
5407 register_atk_event_listeners(), which registers with the
5408 various atk and gtk signals we need to monitor in order to emit
5410 Added emission hook for AtkObject:property-change events, to
5411 support the 'property listeners'.
5412 Fixed some alloc()s of Accessibility_Event structs to use CORBA
5415 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
5416 which emit warnings and exit, respectively, if CORBA errors occur
5417 during remote calls, and we now use these methods to check most of
5418 our CORBA calls in the C bindings.
5420 * cspi/spi_accessible.c:
5421 Changed AccessibleSelection_refSelectedChild() to
5422 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
5423 now increment refcounts.
5425 * cspi/spi_component.c:
5426 Fixed some long pointer casts (dangerous!) to pass pointers to
5427 CORBA_longs of the proper type to the CORBA stubs, and copy the
5428 data into the longs that were passed into the C bindings code.
5430 * at-bridge/bridge.c:
5432 * libspi/accessible.c:
5433 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
5434 hyperlinks, AtkHyperlink is an object type.
5436 * libspi/application.c:
5437 Added various conversions to and from "generic" event types and
5438 atk-specific types; this is really part of the 'bridge'
5439 implementation but is valid for all AtkObject-based accessibility
5442 * libspi/editabletext.c:
5443 Fixed nasty bug wherein editable text's finalize method was
5444 unref'ing tha AtkObject reference that the text parent class was
5445 about to unref _again_. There was also a nasty inheritance bug
5446 that meant that the AccessibleEditableText class was corrupt.
5448 * libspi/selection.c:
5449 Provided implementations for some selection API that was broken.
5451 * idl/Application.idl:
5452 Added registerObjectEventListener () method.
5455 Fixed a number of return values that were Bonobo_Unknowns from
5456 bonobo_object_corba_objref(), which I
5457 forgot to dup before returning. Changed instances of
5458 bonobo_object_corba_objref (bonobo_object(o)) to
5459 BONOBO_OBJREF(o), for concision and clarity.
5461 2001-10-13 Louise Miller <louise.miller@sun.com>
5463 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
5464 idl/Event.idl, idl/Registry.idl
5465 Changed these files to include Bonobo_Unknown.idl instead
5468 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
5470 * libspi/component.c libspi/component.h:
5471 Fixed typo. Added assertions for object checks in
5472 AccessibleComponent code.
5474 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5476 * idl/Accessible.idl:
5477 Added 'isEqual (Accessible *object)'
5478 method for Accessible. (Not Yet Implemented).
5481 Changed signature of registerKeystrokeListener() to
5482 take a KeySet and KeyEventSeq so that specific keys and event
5483 types could be requested for monitoring, and added a flag
5484 is_synchronous so that either synchronous or asynchronous
5485 notification could be requested. (However this is not all
5486 implemented yet). This also meant adding two new typedefs,
5487 KeyEventSeq and KeySet.
5490 Added two new relations, RELATION_TOOLTIP_FOR and
5491 RELATION_LEAFNODE_OF.
5494 Added new state, STATE_HAS_TOOLTIP.
5496 * libspi/text.c, editabletext.c:
5497 Added new assertions to all casts of bonobo-objects from
5498 CORBA servants, to prevent Text API calls on non-text objects.
5499 Changed suspect casts of int-pointer types, so that we
5500 always send a valid CORBA_long pointer to the CORBA APIs that use
5501 in/out long parameters. We then have to copy from the CORBA_long
5502 into the regular long or int for return to the C bindings, or
5503 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
5506 * libspi/deviceeventcontroller.c:
5507 Cleaned these sources up.
5509 Changed return type for getCharacterAtOffset to
5510 CORBA_unsigned_long, to allow for 32-bit characters.
5513 2001-10-08 Bill Haneman <bill.haneman@sun.com>
5517 Fixed 'make dist' so that distro compiles...
5518 * libspi/keymasks.h:
5520 * cspi/spi-listener.c:
5521 KeystrokeListenerCB now returns a boolean.
5523 Added KeyEventType struct, and KeyStroke.
5524 Also added createKeystrokeListener(),
5525 KeystrokeListener_addCallback(),
5526 KeystrokeListener_removeCallback(), and added a keymask to
5527 registerKeystrokeListener().
5528 * cspi/spi_accessible.c:
5529 Changed numerous return types for interfaces from
5530 AccessibleComponent to Accessible<InterfaceName>; this was
5531 probably a cut-and-paste error.
5533 Implementations of new KeystrokeListener api (from spi.h,
5536 Changes to key modifier mapping.
5537 Created ControllerEventMask struct.
5538 Made DeviceEventController derive from Bonobo::Unknown.
5540 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
5541 * libspi/deviceeventcontroller.c:
5542 Added a number of new internal (private) methods.
5543 * libspi/editabletext.c:
5544 * libspi/editabletext.h:
5545 Fixed a number of bugs related to the fact that
5546 editabletext inherits from text. Fixed the EditableText struct,
5547 the init() call, and use correct casts when calling Text methods
5548 from an EditableText object. Removed (duplicate) atko from the
5549 EditableText structure, we use the one in the parent Text
5550 structure via the casts mentioned above.
5551 * libspi/keystrokelistener.[ch]:
5552 * libspi/registry.c:
5553 Changes in support of keyboard handling (above).
5555 Keyboard handling, though partly functional, is still not
5556 recommended for at-spi client use as there is considerable
5557 work yet to be done.
5560 Changed some places where pointers to various int types
5561 are cast to be pointers to CORBA_long types and vice-versa:
5562 pointer casting is not safe so we pass pointers of the correct
5563 types and then cast the result before putting it into the target
5566 * libspi/text.h: minor typos corrected.
5568 We now speak not only the name of a Text element, but the
5569 first sentence of its content, when it receives focus.
5570 I also changed the text compression to 75% from 50%.
5571 * util/Accessibility_Util.server.in:
5572 Changed the default magnifier type to be a 3x vertical
5573 splitscreen magnifier (was previously a 2x horizontal one).
5575 2001-10-03 Bill Haneman <bill.haneman@sun.com>
5577 * libspi/keystrokelistener.h:
5578 * libspi/keystrokelistener.c:
5579 Initial functional implementations of KeystrokeListener.
5582 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
5584 Fixed string handling for NULL strings in libspi.
5585 Added spi_freeString to free strings returned by C bindings.
5587 2001-09-30 Bill Haneman <bill.haneman@sun.com>
5589 * libspi/keystrokelistener.h:
5590 * libspi/keystrokelistener.c:
5591 Began (no-op) implementations of KeystrokeListener
5593 * libspi/deviceeventcontroller.c:
5594 * libspi/deviceeventcontroller.h:
5595 Began creating implementations of DeviceEventController,
5596 to handle keystroke and mouse event listening and
5598 * libspi/accessible.c:
5599 Stubbed-in the implementations for
5600 Accessibility_Accessible_getState and
5601 Accessibility_Accessible_getRelationSet.
5602 * libspi/registry.c:
5603 Improved de-registration process and fixed some bugs,
5604 deregistration now works correctly.
5606 Added initialization of applications list (to NULL).
5608 Reduced speech compression from 0.5 to 0.7, for demo.
5609 Changed call to gdk_window_set_decorations()
5610 to gtk_window_set_decorated().
5611 * at-bridge/bridge.c:
5612 Bridge now deregisters when app exits, via
5613 registration of a cleanup function
5614 with the g_atexit() call.
5615 Required making 'app' static, renamed 'this_app'.
5616 Fixed broken use of bonobo_init, passing argv wrongly.
5618 2001-09-27 Bill Haneman <bill.haneman@sun.com>
5622 Created a new directory for
5623 accessibility-related utilities, primarily for
5624 testing and demo purposes, but with possible
5631 Onscreen magnifier utility that
5632 is implemented as a bonobo service.
5634 * util/mag_client.c:
5635 * util/mag_client.h:
5636 Client-side support (simple C bindings)
5637 for Magnification service
5639 * util/mag_control.c:
5640 Client program example for
5641 Magnification service
5643 * util/Accessibility_Magnifier.server.in:
5644 Bonobo-activation file for the
5645 Magnification service.
5648 * util/idl/Magnifier.idl:
5649 IDL defining the bonobo Magnification
5653 Modifications to use the bonobo-activated magnifier
5654 above, in place of trying to connect to an existing
5655 magnifier that uses socket-listening IPC.
5657 If env variable MAGNIFIER is set, a magnifier service
5658 will be started if one does not exist.
5660 2001-09-25 Bill Haneman <bill.haneman@sun.com>
5662 * at-bridge/bridge.c:
5663 applied patch from Marc to build and run
5664 against new glib and gtk+ (seemed like a change
5665 to bonobo_init signature was made ?)
5667 made festival-server support turned off by default.
5668 Added support for a simple magnifier (off by default)
5669 which will be added to a 'util' directory later.
5670 * at-bridge/Makefile.am:
5671 Changed "application.h" header from a 'source'
5672 to a 'dependency' of libat-bridge.
5674 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
5683 Added interface implementation c files to list of
5684 includes so they are included in libcspi.
5687 Changed prototype of AccessibleAction_doAction to return a
5689 Changed prototype of AccessibleTable_getCaption to
5690 return an Accessible.
5691 Changed prototype of AccessibleTable_getSelectedRows
5692 and AccessibleTable_getSelectedColumns to
5693 return a long (returns the number of selected rows
5694 or columns respectively).
5695 Changed name of AccessibleText_refRunAttributes to
5696 AccessibleText_getAttributes.
5697 Changed prototype of AccessibleText_getCharacterExtents to
5698 return a void rather than a boolean.
5699 Added support for a AccessibleCoordType parameter
5700 specifying what type of coordinates are desired.
5701 Added an AccessibleCordType parameter to
5702 AccessibleText_getPointAtOffset.
5704 * cspi/spi_accessible.c:
5705 Added code to return the outstanding interfaces from
5706 Accessible_queryInterface.
5708 * cspi/spi_action.c:
5710 Corrected call to getNActions to call the c binding
5713 * cspi/spi_editabletext.c:
5715 Changed name from setRunAttributes to setAttributes.
5717 * cspi/spi_hyperlink.c:
5719 Changed call to getNAnchors to correctly call the c
5720 binding for an attribute.
5722 * cspi/spi_hypertext.c:
5724 Changed getImageDescription to correctly call the
5725 binding for an attribute.
5727 * cspi/spi_selection.c:
5728 Changed getNSelectedChildren to correctly call the c
5729 binding for the attribute.
5730 Changed refSelectedChild to getSelectedChild.
5734 Changed getCaption to return an Accessible.
5735 Fixed calls which retrieve attributes.
5736 Changed refAt to getAccessibleAt.
5737 Changed getNSelectedRows and getNSelectedColumns to
5741 Changed getCharacterExtents and getPointAtOffset to accept an
5742 AccessibleCoordType.
5744 Changed calls which retrieve attributes.
5745 Changed refRunAttributes to getAttributes.
5750 * idl/Hyperlink.idl:
5751 Changed n_anchors attribute to nAnchors to keep naming
5752 convention consistent.
5755 Made Table inherit from Bonobo::Unknown.
5756 Added nSelectedColumns and nSelectedRows attributes.
5759 Made Value inherit from Bonobo::Unknown.
5761 * libspi/hyperlink.c:
5762 Change for nAnchors attributte name change.
5764 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
5772 Added interface implementation c files to list of
5773 includes so they are included in libcspi.
5776 Changed prototype of AccessibleAction_doAction to return a
5778 Changed prototype of AccessibleTable_getCaption to
5779 return an Accessible.
5780 Changed prototype of AccessibleTable_getSelectedRows
5781 and AccessibleTable_getSelectedColumns to
5782 return a long (returns the number of selected rows
5783 or columns respectively).
5784 Changed name of AccessibleText_refRunAttributes to
5785 AccessibleText_getAttributes.
5786 Changed prototype of AccessibleText_getCharacterExtents to
5787 return a void rather than a boolean.
5788 Added support for a AccessibleCoordType parameter
5789 specifying what type of coordinates are desired.
5790 Added an AccessibleCordType parameter to
5791 AccessibleText_getPointAtOffset.
5793 * cspi/spi_accessible.c:
5794 Added code to return the outstanding interfaces from
5795 Accessible_queryInterface.
5797 * cspi/spi_action.c:
5799 Corrected call to getNActions to call the c binding
5802 * cspi/spi_editabletext.c:
5804 Changed name from setRunAttributes to setAttributes.
5806 * cspi/spi_hyperlink.c:
5808 Changed call to getNAnchors to correctly call the c
5809 binding for an attribute.
5811 * cspi/spi_hypertext.c:
5813 Changed getImageDescription to correctly call the
5814 binding for an attribute.
5816 * cspi/spi_selection.c:
5817 Changed getNSelectedChildren to correctly call the c
5818 binding for the attribute.
5819 Changed refSelectedChild to getSelectedChild.
5823 Changed getCaption to return an Accessible.
5824 Fixed calls which retrieve attributes.
5825 Changed refAt to getAccessibleAt.
5826 Changed getNSelectedRows and getNSelectedColumns to
5830 Changed getCharacterExtents and getPointAtOffset to accept an
5831 AccessibleCoordType.
5833 Changed calls which retrieve attributes.
5834 Changed refRunAttributes to getAttributes.
5839 * idl/Hyperlink.idl:
5840 Changed n_anchors attribute to nAnchors to keep naming
5841 convention consistent.
5844 Made Table inherit from Bonobo::Unknown.
5845 Added nSelectedColumns and nSelectedRows attributes.
5848 Made Value inherit from Bonobo::Unknown.
5850 * libspi/hyperlink.c:
5851 Change for nAnchors attributte name change.
5854 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
5856 implementations-- made server implementations own AtkObject pointers
5857 rather than their respective AtkInterrface pointers to fix
5858 refcounting. AtkHyperlink is still broken.
5860 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5861 * cspi/spi_accessible.c:
5862 Added method Accessible_Role_getName(),
5863 and requisite string array (role_names).
5864 Added conversion string_from_corba_strin() call
5865 to Accessible_getName and _getDescription.
5866 * libspi/accessible.c:
5867 Added implementation for Accessible_getRole()
5869 Added festival support, used if environment variable
5872 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5874 * at-bridge/bridge.c:
5875 Now allocate Accessibility_Event using
5876 Accessibility_Event__alloc() instead of g_new0().
5877 * libspi/accessibleeventlistener.c:
5878 Initialize AccessibleEventListener->callbacks to NULL.
5879 Fixed accessible__event_listener_init() param, changed to
5880 "AccessibleEventListener *" type.
5881 Changed a bonobo_object_release_unref() call to
5882 Accessibility_Accessible_unref().
5883 * libspi/listener.c:
5884 Changed Bonobo_Unknown_unref to (equivalent)
5885 Accessibility_Accessible_unref.
5886 * libspi/registry.c:
5887 Changed bonobo_object_release_unref to
5888 Accessibility_Accessible_unref.
5890 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
5893 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
5894 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
5895 spi-util.c spi-util.h
5896 Implementations for C bindings to remaining accessibility
5899 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
5902 changed return value of Action from void to boolean to
5903 bring in line with ATK.
5906 Changed getText funcions to return "out" start and end offsets.
5907 Changed getAttributes to take and offset and return the start
5908 and end offset of the attribute run.
5909 Changed getOffsetAtPoint and getCharacterExtents to take an
5910 enum describing whether coordinates are window or screen.
5913 libspi/action.c libspi/action.h libspi/editabletext.c
5914 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
5915 libspi/hypertext.c libspi/hypertext.h libspi/image.c
5916 libspi/image.h libspi/selection.c libspi/selection.h
5917 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
5918 libspi/value.c libspi/value.h
5919 Added server implementations for outstanding ATK interfaces
5920 not yet implemented.
5922 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5925 Added (missing) getName() method.
5926 Made nActions an attribute.
5927 * idl/EditableText.idl:
5928 Changed order of params in setAttributes.
5929 * idl/Hyperlink.idl:
5930 Removed getAnchor, added getURI.
5932 Changed attributes to methods, for efficiency
5933 (so that getting extents can be done in one call)
5934 * idl/Selection.idl:
5935 Changed nSelectedChildren to attribute, and re-indented.
5936 * idl/Table.idl: changed nrows, ncolumns, caption, summary
5938 * idl/Text.idl: reformatted to match our coding style.
5939 (temporarily?) removed getRowColumnAtOffset().
5940 Changed text selection API to support multi-select and
5941 non-contiguous selections, as in ATK.
5942 * idl/Value.idl: changed some methods to attributes.
5944 2001-08-24 Mark McLoughlin <mark@skynet.ie>
5946 * libspi/listener.c(impl_notify_event):
5947 BonoboUnkown_unref the source instead
5948 of bonobo_object_release_unref - the ORB
5949 handles the releasing.
5951 * configure.in: require ORBit-2.3.94 for
5954 2001-08-21 Bill Haneman <bill.haneman@sun.com>
5956 Tagged CVS repository 'EA_1_0'.
5957 * README.EARLY_ACCESS:
5958 Alphabetized acknowledgements list, and
5960 Listed some known dependencies of at-spi.
5962 2001-08-20 Bill Haneman <bill.haneman@sun.com>
5964 * docs/at-spi-docs.sgml:
5965 * docs/at-spi-sections.txt:
5966 * docs/at-spi-overrides.txt: (Added zero-length file)
5967 Documentation improvements - gtk-doc should build
5968 docs for all implemented C bindings now.
5971 * cspi/spi.c: (New file)
5972 * cspi/spi_event.c: (New file)
5973 * cspi/spi_registry.c: (New file)
5974 * cspi/spi_accessible.c: (New file)
5975 * cspi/spi_application.c: (New file)
5976 * cspi/spi_component.c: (New file)
5977 Split spi_main.c into six parts, and included them from
5978 "spi.c". This is a bit of a hack, probably temporary,
5979 but required by gtk-doc, apparently.
5981 2001-08-20 Bill Haneman <bill.haneman@sun.com>
5984 * docs/at-spi-docs.sgml:
5985 * docs/at-spi-sections.txt:
5987 Initial checkins/modifications for gtk-doc generation.
5990 Added (missing) interface query methods to Accessible's C binding.
5992 Added GenericInterface type definition.
5994 Added query for AccessibleComponent interface to focus event handler.
5995 Added printout of bounding box for focussed component.
5996 * libspi/component.c:
5997 Added partial implementation for AccessibleComponent to C binding.
5998 * idl/Application.idl:
5999 * libspi/registry.c:
6000 * libspi/listener.c:
6001 * libspi/application.c:
6002 * libspi/application.h:
6003 Changed "ID" attribute type from string to long.
6005 2001-08-19 Bill Haneman <bill.haneman@sun.com>
6009 Made method naming consistent: methods taking object args
6010 start with uppercase, other methods (except those using
6011 acronyms) start with lowercase. Underscores delimit between
6012 object names and method names:
6013 SPI_init() - uppercase since it starts with an acronym.
6014 getDesktopCount () - lowercase start since no object param0.
6015 Accessible_getName() - uppercase object type name, studlyCaps method
6019 Added gtk-doc documentation for all currently implemented
6020 methods in the C bindings API.
6022 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6024 * Makefile.am : changed build order to build test last.
6027 Changed "createEventListener" to "CreateEventListener".
6028 * libspi/accessibleeventlistener.c :
6029 Bugfix for addition of callbacks.
6030 * test/Makefile.am :
6031 * test/simple-at.c :
6032 Added new test that uses the C bindings API.
6034 * libspi/listener.c :
6035 * libspi/registry.c :
6036 * libspi/accessibleeventlistener.c :
6037 * at-bridge/bridge.c :
6038 Renamed member "target" of Accessibility_Event to "source",
6039 which is more descriptive.
6042 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6046 * cspi/Makefile.am :
6047 Added makefile support for at-spi/cspi directory.
6050 * cspi/spi-listener.h : (NEW FILE)
6051 Added support for/use of spi-listener.h.
6053 C bindings now build successfully, with no warnings.
6054 * libspi/accessibleeventlistener.h : (NEW FILE)
6055 * libspi/accessibleeventlistener.c : (NEW FILE)
6056 * libspi/Makefile.am :
6057 Added new object type "AccessibleEventListener"
6058 which inherits from Listener, and allows attachment
6059 of in-process callbacks (so that a client with a listening
6060 object instance can add functionality to the local
6061 implementation, dynamically).
6063 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6065 * libspi/accessible.c:
6066 Add implementation for get_index_in_parent().
6068 Added #include of "spi-roletypes.h", and
6069 added enumerated type AccessibleCoordType.
6070 Added definition for KeystrokeListener (function type).
6073 * cspi/spi-statetypes.h :
6074 * cspi/spi-roletypes.h :
6076 Added these headers, used by spi.h.
6078 Added code (NOTE: not yet built by make).
6080 2001-08-18 Mark McLoughlin <mark@skynet.ie>
6082 * libspi/Makefile.am: generate imodule
6083 at the same time as other idl compiler
6086 2001-08-17 Bill Haneman <bill.haneman@sun.com>
6087 * libspi/registry.c :
6088 * libspi/application.c :
6089 * idl/Application.idl :
6090 Made registration with toolkit an application method,
6091 which is required since each app has its own toolkit static
6092 environment. Thus the bridge must register for
6093 notification of toolkit events from each application in turn.
6094 Toolkit notifications are now successfully registered for, and
6095 sent to the listening at client.
6097 Changed toolkit event string to use hyphens rather than underscores.
6098 * libspi/listener.c :
6099 listner now gives more info in debug mode - it reports the
6100 name of the event received, as well as the name of the source.
6103 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6105 * libspi/registry.c :
6106 added more implementation for toolkit events.
6107 Fixed bug such that toolkit event registrations
6108 (via atk) use the whole event name string, not
6110 Removed a useless call to an ORBit_ method.
6111 * at-bridge/bridge.c :
6112 Removed unused local sbuf[] variable.
6114 We now register for Gtk:GtkWidget:button_press_event
6115 events as well as "focus:" events.
6117 Add some more API from Registry.idl that was missing,
6118 for keystroke listening, keystroke and mouse event
6119 synthesis, and enumeration of accessible desktops.
6121 2001-08-16 Michael Meeks <michael@ximian.com>
6123 * configure.in: use AM_GLIB_GNU_GETTEXT.
6125 * Makefile.am (SUBDIRS): kill intl.
6127 2001-08-15 Michael Meeks <michael@ximian.com>
6129 * registryd/Makefile.am: s/oaf/server/ relocate info file.
6131 * configure.in: upd.
6133 * configure.in: depend on a recent bonobo-activation that
6134 will find our server files ...
6136 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6138 * libspi/accessible.c : accessible_new() :
6139 Now we add the Component interface via bonobo_object_add_interface,
6140 if the contained AtkObject implements AtkComponent.
6141 * libspi/accessible.h : now include "component.h"
6142 * libspi/component.h :
6143 * libspi/component.c : added files - implementation of
6144 bonobo wrapper object for Accessibility/Component
6145 * libspi/listener.c :
6146 Added test code to check for Accessibility/Component:1.0
6147 interface and report whether it is implemented by the
6149 * libspi/registry.c :
6150 Now we check for not only the hash of the whole event
6151 string before relaying the event, we also check the
6152 "minor" event string (without the detail string).
6153 This allows event listeners to be registered against
6154 all events of a certain major+minor type, or just
6155 against a specific major+minor+detail type.
6156 * libspi/accessible.c :
6157 Added implementations for Accessible:get_parent(),
6158 Accessible:getChildCount(), and Accessible:getChildAtIndex().
6159 * libspi/registry.c :
6160 * libspi/listener.c :
6161 Replaced calls to Accessibility_Accessible_ref() and
6162 Accessibility_Accessible_unref() with
6163 calls to bonobo_object_dup_ref() and
6164 bonobo_object_release_unref(), so that the CORBA object
6165 is dup-ed and released when relayed, as well as the bonobo object.
6167 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6169 * libspi/Makefile.am,
6170 registryd/Makefile.am,
6171 at-bridge/Makefile.am.
6172 test/Makefile.am, configure.in:
6173 reverse previous changes.
6175 * /idl/Image.idl: fix typo.
6177 * test/Makefile.am: put DEBUG_FLAGS
6180 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6182 * test/app.c: use argv[0] instead of
6185 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6187 * libspi/Makefile.am,
6188 registryd/Makefile.am,
6189 at-bridge/Makefile.am.
6190 test/Makefile.am, configure.in:
6191 cleanup, replace individual LIBS/CFLAGS with
6192 AT_COMMON_{LIBS|CFLAGS}.
6196 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6198 * configure.in, libspi/Makefile.am:
6199 Change IDL path checking for bonobo-activation
6202 2001-08-15 Bill Haneman <bill.haneman@sun.com>
6204 * registryd/registry.c : separated event listeners to use
6205 3 separate lists (focus, window, toolkit). Began testing
6206 event names against hashes before relaying events.
6207 * test/at.c : now register for events of type "focus:"
6208 * test/app.c : now generate events of type "focus:"
6209 * at-bridge/bridge.c : register with ATK for focus events,
6210 and we now relay those focus events to any "focus:" listeners.
6211 This now works with the bridge as a GTK_MODULE when running test/at.
6212 * libspi/registry.c :
6213 * libspi/listener.c :
6214 now we ref event sources before propagating, and unref on receipt.
6215 * libspi/registry.c :
6216 some changes to internal structs, to support event typestring hashes.
6217 * text/app.c : changed the way the appname is generated.
6218 * cspi : added directory that will hold the C bindings library for
6219 non-CORBA/bonobo-savvy clients.
6220 * cspi/spi.h : header file that contains the function prototypes for the C binding.
6221 * idl/Component.idl : added in parameter to indicate coord system for
6222 geometry-related calls.
6223 * idl/Hyperlink.idl : added readonly n_links attribute
6224 * idl/Image.idl : changed methods to attributes.
6226 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6228 * at-bridge/Makefile.am: link against
6229 ../libspi/libspi.la instead of -lspi.
6231 * at-spi/test/app.c: include
6232 bonobo-activation.h. Use a default appname
6233 if one is not provided.
6235 2001-08-14 Bill Haneman <bill.haneman@sun.com>
6237 * idl/Registry.idl : temporarily changed register_Application
6238 to oneway, to work around issue with initial registration
6240 * idl/Application.idl : changed attribute "id" from readonly
6241 to read-write, since it needs to be assigned by Registry.
6242 * registryd/registryd.c : added call to set application id
6244 * registryd/registry.c : changed de-registration procedure to
6245 use CORBA_Object_hash() to find matching object ref in application
6246 lists and listener lists.
6247 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
6248 began distinguishing between event types (work in progress).
6250 2001-08-13 Bill Haneman <bill.haneman@sun.com>
6253 * libspi/application.c:
6254 Added implementations for get/set id, get_toolkitName,
6256 * registryd/registryd.c :
6260 Converted from use of OAF to bonobo-activation.
6261 * libspi/desktop.h :
6262 * libspi/desktop.c :
6264 Removed references to atksimpleobject, since base atkobject
6265 implementation now provides functionality we need.
6266 * libspi/atksimpleobject.c :
6267 * libspi/atksimpleobject.h :
6272 * at-bridge/Makefile.am
6273 * at-bridge/bridge.c
6276 Added directory "bridge" and contents, and added dependencies
6277 in Makefile.am/configure.in.
6278 Initial checkin of "at-bridge".
6279 This code is a GTK_MODULE which automatically registers
6280 GTK+ apps with the accessibility registry, using an object
6281 reference to the root ATK object.
6283 2001-08-10 Mark McLoughlin <mark@skynet.ie>
6285 * po/Makefile.in.in: Remove. Again. If this
6286 doesn't get autogenerated - you need to update
6289 2001-08-07 Mark McLoughlin <mark@skynet.ie>
6291 * po/Makefile.in.in: Add. Again.
6293 2001-07-31 Bill Haneman <bill.haneman@sun.com>
6295 * libspi/accessible.c : added support for 'description' property.
6296 * libspi/accessible.c
6298 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
6299 (since the two are now equivalent in libbonobo)
6307 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
6308 Bonobo::Unknown as does Accessibility::Accessible.
6309 * idl/StreamableContent.idl : as above, and replaced internal InputStream
6310 interface with Bonobo::Stream, since it was redundant with it.
6311 (The Stream returned by a StreamableContext object is expected to
6312 implement only a subset of Bonobo::Stream)
6314 2001-07-28 Anders Carlsson <andersca@gnome.org>
6316 * libspi/accessible.c (accessible_object_finalize): Change
6317 g_free to g_object_unref since the AtkObject is a GObject.
6319 2001-07-30 Bill Haneman <bill.haneman@sun.com>
6321 * idl/Accessibility.idl: add new IDL files
6324 * idl/Action.idl: Definitions of actionable UI object
6325 * idl/Component.idl: Definitions of UI component geometry, etc.
6326 * idl/Hyperlink.idl: Defs of hyperlink behavior
6327 * idl/Image.idl: Def of accessible image
6328 * idl/Selection.idl: Definition of UI object with selectable children
6329 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
6330 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
6331 * idl/Text.idl: Interface defs for UI elements with complex textual content
6332 * idl/Value.idl: Definition of UI element that is a value controller or display
6334 2001-07-27 Michael Meeks <michael@ximian.com>
6336 * po/Makefile.in.in: remove autogenerated file from CVS.
6338 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
6341 * idl/Registry.idl: include guard.
6343 * idl/Accessibility.idl: Add, and include all the other IDL
6346 * idl/*.idl: remove mass of pragmas etc.
6348 2001-07-26 Michael Meeks <michael@ximian.com>
6350 * registryd/Makefile.am (registryd_SOURCES): remove
6353 2001-07-27 Mark McLoughlin <mark@skynet.ie>
6355 * libspi/.cvsignore, registryd/.cvsignore,
6356 test/.cvsignore: updated.
6358 * po/Makefile.in.in: gettext update.
6360 2001-07-25 Bill Haneman <bill.haneman@sun.com>
6362 * initial CVS checkin
6364 2001-06-29 Michael Meeks <michael@ximian.com>
6366 * configure.in: add AM_CONFIG_HEADER to gen config.h