1 2003-08-10 Sami Pesonen <sampeson@iki.fi>
3 * configure.in: Added "fi" in ALL_LINGUAS.
5 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
7 * configure.in: Added "hi" in ALL_LINGUAS.
9 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
11 * configure.in: Revved to 1.3.6.
15 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
17 * registryd/deviceeventcontroller.c
18 (spi_device_event_controller_object_finalize): Fix typo in previous
21 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
23 * registryd/deviceeventcontroller.c
24 (spi_device_event_controller_object_finalize): Fix build on
25 systems without XEvIE.
27 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
29 * acconfig.h, configure.in, registryd/Makefile.am,
30 registryd/devicecontoller.[ch]: Add XEViE support.
32 2003-08-06 Wang Jian <lark@linux.net.cn>
34 * configure.in: Added "zh_CN" to ALL_LINGUAS.
36 2003-08-06 Metin Amiroff<metin@karegen.com>
38 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
40 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
42 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
43 MODIFIER_ALT in correct place.
45 This fixes part of bug #118114.
47 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
49 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
51 2003-07-28 Changwoo Ryu <cwryu@debian.org>
53 * configure.in: Added "ko" to ALL_LINGUAS.
55 2003-07-28 Ole Laursen <olau@hardworking.dk>
57 * configure.in: Added "da" to the commented out ALL_LINGUAS.
59 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
61 * configure.in: Added "sq" to ALL_LINGUAS.
63 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
65 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
67 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
69 * configure.in: updated ALL_LINGUAS list
71 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
73 * configure.in: Added Belarusian to ALL_LINGUAS.
75 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
77 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
79 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
80 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
82 This fixes bug #116949.
84 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
86 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
87 Correct CSPI to SPI in function documentation.
89 This fixes bug #118054.
91 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
93 * configure.in: Added Russian to ALL_LINGUAS.
95 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
97 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
99 2003-07-14 Danilo Ĺ egan <dsegan@gmx.net>
101 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
103 2003-07-10 Joel Brich <joel.brich@laposte.net>
105 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
107 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
109 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
111 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
113 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
114 resources allocated for AccessibleEvent. See cspi_event().
116 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
117 static variable streams to NULL.
119 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
120 Update so that AcessibleEvent_ref will work.
122 This fixes bug #116624.
124 2003-07-06 Jordi Mallach <jordi@sindominio.net>
126 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
128 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
130 * configure.in: Added "fr" (French) to ALL_LINGUAS.
132 2003-07-02 Christian Neumair <chris@gnome-de.org>
134 * configure.in: Added "de" (German) to ALL_LINGUAS.
136 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
138 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
140 2003-07-01 Miloslav Trmac <mitr@volny.cz>
142 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
144 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
146 * configure.in: Added "pl" to ALL_LINGUAS.
148 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
150 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
152 2003-06-30 Bill Haneman <bill.haneman@sun.com>
155 (get_action_from_servant):
156 Removed assertion that action is implemented on an AtkObject.
158 * libspi/hyperlink.c:
160 Aggregate AccessibleAction interface on the hyperlink object if
161 the object implements AtkAction. (This convention is used in
164 2003-06-30 Bill Haneman <bill.haneman@sun.com>
166 * configure.in: Revved to 1.3.5.
168 * registryd/Accessibility_Registry.server.in.in:
169 Marked up appropriate strings for translation.
171 * atk-bridge/bridge.c: Marked a couple of
172 user-visible warnings for translation. Questionable
173 whether they are really useful, but possibly so.
176 2003-06-28 Christian Rose <menthos@menthos.com>
178 * configure.in: Added "sv" to ALL_LINGUAS.
180 2003-06-26 Bill Haneman <bill.haneman@sun.com>
182 * registryd/registry.c:
183 (spi_registry_object_finalize): Unref the deviceeventcontroller.
184 (registry_defer_on_event): Defer focus: events, this is an
185 improvement to the patch for bug #108664.
187 * TODO: Update with 2.4/"Dev Complete" items.
189 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
191 * atk-bridge/bridge.c:
192 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
193 looks up signals once.
194 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
195 if doing registration.
196 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
197 when doing registration.
199 This fixes bug #115014.
201 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
203 * atk-bridge/bridge.c:
204 (atk_bridge_init): Add signal handler for children-changed:remove on
205 root when in a BonoboComponent.
206 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
207 for first toplevel only other incrememt variable toplevels.
208 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
209 application and remove listeners.
210 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
212 (spi_atk_deregister_event_listeners): New function which removes
214 (reinit_register_vars): New fuction which reinitializes variables.
216 This fixes bug #111578.
218 2003-06-13 Bill Haneman <bill.haneman@sun.com>
220 * configure.in: version 1.3.4.
222 * cspi/spi_accessible.c:
223 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
226 2003-06-13 Michael Meeks <michael@ximian.com>
228 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
230 * cspi/spi_main.c (cspi_peek_ev): impl.
232 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
234 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
236 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
238 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
239 SPI_ROLE_AUTOCOMPLETE
241 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
243 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
244 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
246 2003-06-11 Bill Haneman <bill.haneman@sun.com>
248 * libspi/streamablecontent.h:
249 * libspi/streamablecontent.c:
250 New files, provide implementation/wrappers for
251 Accessibility_StreamableContent.
253 * cspi/spi_streamablecontent.c:
254 Connected the C wrappers to the libspi C bindings.
255 (AccessibleStreamableContent_close): New method.
258 (AccessibleStreamableContent_close): New method, needed
259 since we have an "open, [seek], read, close" model in cspi.
261 2003-06-11 Bill Haneman <bill.haneman@sun.com>
263 Fix for #108664; Padraig's revision of my original patch.
265 * registryd/registry.h:
266 Added event queue list, is_queuing, and exit_notify_timeout
267 to the registry struct.
269 * registryd/registry.c:
270 (registry_init): Initialize new struct from registry.h.
271 (impl_registry_notify_event):
272 Filter events before notifying, in case some need to be
274 (registry_filter_event): New,
275 we defer certain incoming events (for instance
276 window:deactivate) because we may wish to hide
277 or reject them based on pending events. This is
278 mostly a workaround for bug #108664.
279 (registry_queue_event, registry_start_queue): New.
280 (registry_defer_on_event): Test event to see if it
282 (registry_reset_on_event): Returns TRUE if the
283 event should cause a queue reset.
284 (registry_discard_on_event): Returns TRUE if the event
285 should cause the previous queue contents to be discarded.
286 (registry_timeout_flush_queue): Flushes the pending event
287 queue if no reset/discard-triggering events have come in
288 within the timeout period.
289 (registry_emit_event): New.
290 (registry_clone_notify_context): New, used when queueing the
291 event notify contexts.
293 2003-06-10 Bill Haneman <bill.haneman@sun.com>
295 * configure.in: Version revved to 1.3.2, lt 0.9.2
296 Incremented ATK required version to 1.3.4.
298 * cspi/spi_registry.c:
299 (SPI_generateKeyEvent):
300 We now pass the keystring along if it's non-null.
302 * registryd/deviceeventcontroller.c:
303 (keysym_mod_mask): New method, returns modifier mask
304 required to generate a keysym from a given keycode.
305 (dec_synth_keysym): New method.
306 (dec_synth_keystring): New method.
307 (dec_get_modifier_state): New method.
308 (dec_lock_modifiers): New
309 (dec_unlock_modifiers): New.
310 (dec_keysym_for_unichar): New, rather brute-force
311 conversion from UCS-4 to X KeySyms. Only works for
312 Latin at the moment, with partial implementations for
313 Greek, Hebrew, and (incomplete) Katakana.
314 (impl_generate_keyboard_event): Now implement
315 "KEYSTRING" synthesis and implement "KEYSYM"
317 (keycode_from_keysym): Improved, passes a returned
318 modmask value now if the corresponding param is non-NULL.
320 Fixes bugs #92143 and #109776.
323 * test/keysynth-test.c:
324 New test program for key synthesis, to confirm fixes for
328 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
330 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
332 * cspi/spi_accessible.c (cspi_init_relation_type_table):
333 Add line for RELATION_POPUP_FOR
335 * docs/reference/cspi/tmpl/spi_relation.sgml:
336 Add relation SPI_RELATION_POPUP_FOR
338 * docs/reference/cspi/tmpl/spi_stateset.sgml:
339 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
341 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
343 * libspi/relation.c (spi_init_relation_type_table):
344 Add line for RELATION_POPUP_FOR
346 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
348 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
349 there are still windows which have not been deleted and emit
350 window:deactivate, if necessary and window:destroy events.
351 This fixes bug #114370. The change on June 5th was not correct.
353 2003-06-09 Bill Haneman <bill.haneman@sun.com>
355 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
358 (SPI_dupString): Allow dup-ing of a string such that it's safe to
360 New methods for client exception handling and interception.
361 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
362 (SPI_exceptionHandlerPop): You guessed it...
363 (SPI_getSourceType): Return the type of object which offended.
364 (SPI_getExceptionCode): Return an enum code telling, possibly,
365 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
366 (SPIAccessibleException_getSource): get the source object for
367 exceptions that come from Accessibles, if SPIExceptionSourceType is
368 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
369 (SPIException_getDescription): New, returns a string description of
370 the problem. [Not yet a stable ABI, strings are not frozen]
372 * cspi/spi-private.h:
373 Added implementation details of opaque SPIException
377 Implementations of above. Also
378 (_cspi_exception_throw): new private method that
379 dispatches exceptions to handlers, called from cspi-bonobo.c
381 * cspi/bonobo/cspi-bonobo.c:
382 (cspi_check_ev): call _cspi_exception_throw.
383 Don't print a warning message if the exception has been
384 handled by _cspi_exception_throw.
386 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
388 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
389 there are still windows which have not been deleted and emit
390 window:deactivate, if necessary and window:destroy events.
391 This fixes bug #114370.
393 2003-06-03 Bill Haneman <bill.haneman@sun.com>
396 (cspi_accessible_is_a): Make non-fatal
397 if the object reference is dead.
399 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
401 * cspi/spi_main.c: #include <stdio.h>
402 * test/simple-at.c: ditto
403 * test/event-listener-test.c: ditto
404 * test/screen-review-test.c: ditto
406 2003-05-30 Michael Meeks <michael@ximian.com>
408 * test/test-simple.c (main): use CORBA_ORB_perform_work
409 instead of an unnecessary linc_ call.
411 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
413 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
414 Add SPI_STATE_INDETERMINATE.
416 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
419 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
421 * libspi/stateset.c (init_state_type_tables): Add support for
424 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
426 * configure: Update versions of atk and gail required.
427 This fixes bug #113268.
429 2003-05-02 Bill Haneman <bill.haneman@sun.com>
431 * configure.in: Revved micro version to 1.3.1 (because of build fix).
433 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
435 * libspi/Makefile.am:
436 Ensure headers are generated before being used by c sources.
438 2003-05-01 Bill Haneman <bill.haneman@sun.com>
441 Simplified lt versioning rules.
442 Incremented version to 1.3.0, to indicate that we're on the
445 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
447 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
448 Add MKDB_OPTIONS=--outtput-format=xml
450 * docs/reference/cspi/at-spi-cspi-docs.sgml
451 docs/reference/idl/at-spi-idl-docs.sgml:
452 Convert to Docbook XML.
454 This fixes bug #111793.
456 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
458 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
459 AcccessibleKeyEventType, AccessibleKeyMaskType.
461 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
463 * cspi/state-types.h: Add documentation for AccessibleState.
465 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
466 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
467 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
468 AccessibleComponentLayer.
470 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
473 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
475 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
476 Accessible. Add description of AccessibleEvent,
477 AccessibleEventListenerCB.
479 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
482 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
483 documentation. Add description of AccessibleKeystrokeListenerCB,
484 AccessibleKeyEventMask, AccessibleModifierMaskType,
485 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
486 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
488 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
491 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
494 This fixes bug #104730.
496 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
498 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
499 Set is_text field of Accessibility_DeviceEvent data structure.
501 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
502 is-text field of AccessibleDeviceEvent data structure.
504 This addresses part of bug #108666.
506 * registryd/devcieeventcontroller.c: Unset debug option.
508 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
511 (cpi_initial_relation_type_table): New function which initializes
512 mapping between Accessibility_RelationType and AccessibleRelationType.
513 (cspi_relation_type_from_spi_relation_type): New function which
514 translates an Accessibility_RelationType into an AccessibleRelationType.
515 (AccessibleRelation_getRelationType): Use
516 cpi_relation_type_get_spi_relation_type to return correct value.
517 (spi_state_to_corba): Return correct type for default case.
519 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
520 Use Accessibility_EventType instead of Accessibility_KeyEventType.
522 * cspi/cspi-bonobo-listener.c:
523 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
526 * libspi/accessible.c, libspi/action.c, libspi/application.c,
527 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
528 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
529 libspi/image.c, libspi/listener.c, libspi/selection.c,
530 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
531 registryd/desktop.c, registryd/registry.c:
532 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
534 * libspi/eventlistener.c
535 Remove semicolon after BONOBO_TYPE_FUNC.
538 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
539 (spi_init_relation_type_table): Initialize using correct type.
541 * registryd/desktop.c:
542 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
543 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
544 of Accessibility_KeyEventType.
546 * test/key-listener-test.c (report_tab_key_event): Use fprintf
549 * tests/simple-at.c, tests/screen-review-test.c:
550 Add include for <strings.h>.
552 * tests.stress-test.c:
553 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
555 These changes fix compiler warnings when using FORTE compiler on
556 Solaris; fixes bug #107479.
559 2003-04-10 Bill Haneman <bill.haneman@sun.com>
562 * configure.in: revved to 1.1.10
565 (SPI_KEYMASK_NUMLOCK): Added.
567 * registryd/deviceeventcontroller.c:
568 (spi_key_event_matches_listener): AND with a smaller
569 bitmask (as we should).
570 (spi_dec_translate_mask):
571 New method, sets the virtual NumLock modifier bit
572 if numlock is on. Eventually it can handle other virtual
573 modifier bits if needed, or other marshalling from
574 at-spi modifier masks to platform (X) masks.
575 (spi_dec_key_listener_new):
576 Call spi_dec_translate_mask to set up virtual mod bits
577 in the 'mask' field when creating a new listener struct.
578 (spi_dec_emit_modifier_event):
579 Set the virtual (i.e. NumLock) bits before emitting event.
580 (spi_controller_register_with_devices):
581 Query for the NumLock modifier 'physical' bit if Xkb is
582 present, for use in above methods.
586 2003-04-10 Bill Haneman <bill.haneman@sun.com>
588 * registryd/deviceeventcontroller.c:
589 (spi_keystroke_from_x_key_event):
590 Instead of checking to see if the keysym is
591 printable, check the string from XLookupString
592 if available, get the first unicode character from it,
593 and call g_unichar_isprint to determine whether the
594 is_text flag should be TRUE or FALSE.
598 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
600 * atk-bridge/bridge.c: Add support for extended events
601 * cspi/spi_event.c: Add documentation and implementation for
603 * tests/event-listener-test.c: Add tests for extended events.
605 This fixes bugs #100424 and #100426.
607 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
609 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
610 of LT_CURRENT. This fixes bug #89350.
612 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
614 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
615 number of signal parameter values before accessing them. This fixes
618 2003-04-01 Bill Haneman <bill.haneman@sun.com>
620 * configure.in: Fixed duplicate inclusion of -lspi.
621 * branched for gnome-2-2/HEAD.
622 [created tag "gnome-2-2"]
624 2003-03-07 Bill Haneman <bill.haneman@sun.com>
626 * configure.in: 1.1.9 release.
629 2003-03-07 Bill Haneman <bill.haneman@sun.com>
631 [needed by GOK, to fix bugs 107985 and 107988]
632 * registryd/deviceeventcontroller.c:
633 (spi_dec_clear_unlatch_pending):
634 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
635 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
636 (spi_dec_init_mouse_listener):Emit warning if mouse button
638 (spi_device_event_controller_forward_mouse_event):
639 Removed unnecessary parens from a conditional.
640 (global_filter_fn):Added TODO comment.
641 (impl_generate_keyboard_event):
642 Cancel a pending relatch if a 'delatching' key was
645 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
647 * atk-bridge/bridge.c:
648 Change atk_signal_child_changed to atk_signal_children_changed.
649 Reorganize code in spi_atk_bridge_signal_listener().
651 * test/event-listener-test.c:
652 Add children_changed_listener and report_children_changed_event()
653 to test AccessibleChildEvent_getChildAccessible.
655 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
657 * cspi/spi_event.c (cspi_internal_event_get_text): Change
658 g_strdup to CORBA_String_dup (bug #105291)
660 * test/event-listener-test.c (report_text_event): Add call to
663 2003-02-28 Bill Haneman <bill.haneman@sun.com>
665 * registryd/deviceeventcontroller.c:
666 (spi_keystroke_from_x_key_event):
667 Fix string and keysym return codes to match modifier state.
670 2003-02-28 Bill Haneman <bill.haneman@sun.com>
672 * registryd/deviceeventcontroller.c:
673 (spi_keystroke_from_x_key_event):
674 Fix segv due to improper use of isprint(c). [bug #107254]
676 2003-02-24 Bill Haneman <bill.haneman@sun.com>
679 (get_accessible_text_boundary_type):
680 Move default return value to (new) default case in switch.
681 (get_accessible_text_clip_type):
682 Move default return value to (new) default case in switch.
684 * libspi/application.c:
685 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
686 Remove unused methods.
687 (impl_accessibility_application_register_object_event_listener):
688 Remove unused methods.
691 Added #include of <math.h>.
693 * registryd/deviceeventcontroller.c:
694 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
695 we don't currently use this method.
696 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
698 (impl_generate_key_event):
699 Remove unused variables.
700 (impl_generate_mouse_event):
701 Initialize button to zero, just in case we get an invalid
702 input. Added support for mouse buttons 4 and 5.
703 (spi_device_event_controller_new):
704 Removed unused variable declaration for 'private'.
706 Added #include of <gdk/gdk.h>
708 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
710 * configure.in: Update to work when X is not installed in expected
711 location. Fixes bug #105836.
713 * atk-bridge/bridge.c
714 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
716 (spi_atk_register_event_listener): Add signal listener for
718 (spi_atk_bridge_signal_listener): Event event when link-selected
719 signal is emitted. (bug #104622)
721 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
722 on returned string. (bug #105291)
724 * test/event-listener-test.c: Add test for link-selected.
726 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
728 * atk-bridge/Makefile.am: Correct typo in previous commit.
730 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
732 * atk-bridge/Makefile.am: Allow for build directory to be different
733 from source directory
735 * registryd/Makefile.am: Allow for build directory to be different
736 from source directory
740 2003-01-29 Bill Haneman <bill.haneman@sun.com>
743 Fixed dependencies for libcspi so that libspi gets pulled in
744 properly. Fixes 104741.
748 Clean up inline docs a little.
750 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
752 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
753 This is done by implementing AtkComponent for SpiAtkDesktop, which is
754 the AtkObject within an SpiDesktop.
755 This addresses bug #101524.
757 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
758 Remove call to gdk_init().
760 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
761 so that Display is set when SpiDesktop is created.
763 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
765 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
766 This fixes bug #102830.
768 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
770 * test/test-simple.c: Update to take account of fact that GailButton
771 now implements AtkText.
772 (create_text_window): Set name on AtkObject for GtkEntry.
773 (validate_accessible): Check accessible name before calling test_text().
775 * libspi/Makefile.am: Fix problem with building outside of source
776 directory. Bug #98120.
778 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
779 typo in documentation comments. Bug #94275.
781 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
783 * libspi/text.c (impl_getBoundedRanges): Bug fix.
785 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
788 Add includes to avoid compiler warnings on Solaris.
789 (impl_getRangeExtents): Bug fix.
791 2002-12-17 Bill Haneman <bill.haneman@sun.com>
793 Fix for 100944, [API addition approved by Gman and murrayc].
800 * idl/Accessibility_Text.idl:
801 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
802 (Text::getRangeExtents): New method for efficient
803 bounds query of a text range.
804 (Text::getBoundedRanges): New method for efficient
805 clipping of text to bounding boxes.
806 (unImplemented7, unImplemented8):
807 Removed these padding methods to preserve bincompat.
810 (impl_getRangeExtents): implementation of new IDL.
811 (impl_getBoundedRanges): implementation of new IDL.
812 (SpiTextRect): Internal use struct.
813 (_spi_text_rect_union): internal method, calculates union of two
814 SpiTextRect bounding rects.
815 (_spi_text_range_seq_from_gslist): internal method, allows us
816 to build our sequence efficiently as a gslist then convert it
818 (_spi_bounds_contain): internal method, determines whether
819 a text character is "in" or "out" of a clip rect according to
820 values of TEXT_CLIP_TYPE.
821 (spi_text_class_init): Initialize the new methods in the epv.
824 (AccessibleTextClipType): New enum used by screen review api.
825 (AccessibleTextRange): New struct used by screen review api.
826 (AccessibleText_getRangeExtents):
827 cspi binding for Accessibility_Text_getRangeExtents.
828 (AccessibleText_getBoundedRanges):
829 cspi binding for Accessibility_Text_getBoundedRanges.
830 (AccessibleTextRange_freeRanges): convenience method.
833 (AccessibleText_getRangeExtents):
834 cspi binding for Accessibility_Text_getRangeExtents.
835 (AccessibleText_getBoundedRanges):
836 cspi binding for Accessibility_Text_getBoundedRanges.
837 (AccessibleTextRange_freeRanges): convenience method.
838 (get_accessible_text_clip_type): internal conversion method.
839 (get_accessible_text_ranges_from_range_seq): internal conversion method.
841 * registryd/deviceeventcontroller.c:
842 (spi_dec_mouse_check):
843 Improved behavior for mouse:abs events
844 [same granularity as mouse:rel events, and no
845 events when mouse is idle].
847 2002-12-16 Michael Meeks <michael@ximian.com>
849 * cspi/spi_accessible.c (spi_state_to_corba): rename.
851 * libspi/stateset.c (state_spi_to_atk): split out
852 ( fix several remote array bounds nasties )
853 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
854 (impl_remove): make safe from array bounds issues.
855 (spi_atk_state_from_spi_state): impl.
857 * libspi/stateset.h (spi_state_set_cache_is_empty):
858 add a set of wrapper defines to get layering right.
860 * cspi/spi_accessible.c: update state set stuff to
863 2002-12-14 Michael Meeks <michael@ximian.com>
865 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
866 to avoid 2 roundtrips to the registry per key event
867 (spi_atk_bridge_key_listener): upd.
868 (deregister_application): release the dec.
870 * registryd/registry.c (notify_listeners_cb):
871 bin lots of re-enterant complexity - we no longer
872 do a round-trip bonobo ref here, ensure that a single
873 listener's exception failure won't poison all other
875 (impl_registry_notify_event): bin obvious memory leak.
877 2002-12-13 Michael Meeks <michael@ximian.com>
879 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
880 init the ev so the error is meaningful.
881 (spi_atk_bridge_key_listener): ditto.
883 * cspi/spi_main.c (cspi_ev): init the ev so we start
884 with a clean slate, otherwise the first exception
887 * cspi/spi_text.c (get_accessible_text_boundary_type):
888 add a fallthrough for no warnings.
890 * cspi/spi_registry.c: prune unused warnings.
892 * cspi/spi_main.c (cspi_object_take): fix
893 mind-blowing brokenness ( by watching the compile
896 * cspi/spi_accessible.c (Accessible_getStateSet):
897 re-impl. to use an AtkStateSet.
898 (spi_state_type_from_accessible_state),
899 (init_state_table): bin these.
901 * libspi/stateset.c (spi_atk_state_set_from_sequence):
903 (atk_state_set_from_accessibility_state_set): here.
905 * cspi/spi_accessible.c (spi_state_to_atk): impl.
906 (AccessibleStateSet_contains, AccessibleStateSet_ref),
907 (AccessibleStateSet_unref, AccessibleStateSet_contains),
908 (AccessibleStateSet_add, AccessibleStateSet_remove),
909 (AccessibleStateSet_equals, AccessibleStateSet_compare),
910 (AccessibleStateSet_isEmpty): re-write to use a local
913 2002-12-13 Bill Haneman <bill.haneman@sun.com>
915 * configure.in: Revved to 1.1.7 (new keymask vals).
917 2002-12-10 Bill Haneman <bill.haneman@sun.com>
920 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
922 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
925 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
926 to compare two CORBA_TypeCodes.
927 (cspi_internal_event_add): Silence warning from FORTE compiler.
929 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
930 avoid implicit declaration of functions.
932 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
934 * atk-bridge/bridge.c:
935 (spi_atk_bridge_init_event_type_consts): Store signal id for
936 active-descendant-changed signal.
937 (spi_atk_register_event_listeners): Add signal listener for
938 active-descendant-changed signal,
939 (spi_atk_bridge_signal_listener): Move code in function
940 spi_atk-signal_emit_event() into this function.
941 Add support for active-descendant-changed
942 Update support for child-changed signal.
943 (spi_bridge_window_event_listener): Silence warning.
945 * libspi/spi_private.[ch]:
946 (spi_init_any_object): Change second parameter from CORBA_Object to
948 Omit call to CORBA_Object_duplicate().
949 Set CORBA_any's _value to CORBA_Object*.
951 2002-12-06 Bill Haneman <bill.haneman@sun.com>
957 (AccessibleEvent_ref, AccessibleEvent_unref):
958 New methods, for persisting an event outside the emission context.
959 Must be used if the new accessor methods are to be called
960 outside of the event listener's callback.
962 * cspi/bonobo/cspi-bonobo.c:
963 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
964 as second parameter instead of NULL, so we can call
965 cspi_check_ev afterwards.
968 (cspi_object_take): New internal method,
969 converts a CORBA_Object reference to a hard ref on
970 an Accessible if possible, returning NULL if the object
971 reference is invalid or an Accessible * otherwise.
974 (AccessibleEvent_ref):
975 Increment the event's internal private refcount, and
976 add the event's internal struct to an internal cache
977 if it's not already there.
978 (AccessibleEvent_unref):
979 Decrement the event's refcount and remove it from
980 the cspi event cache if refcount==0.
981 (cspi_event_compare): New private method.
982 Compares two event structs via their ids. Used
984 (cspi_internal_event_lookup): New private method.
985 (cspi_internal_event_check): New private method,
986 a 0-order sanity check for events to make sure their
987 private data is intact.
988 (cspi_internal_event_add, cspi_internal_event_remove):
989 New private methods for managiing the event cache.
991 * cspi/bonobo/cspi-bonobo-listener.c:
993 Initialize the new private data elements (id, magic, ref_count).
995 * atk-bridge/bridge.c:
996 (spi_atk_bridge_signal_listener):
997 Fixed bug #100530, passing wrong params to emission func.
999 * registryd/deviceeventcontroller.c:
1000 (spi_dec_button_update_and_emit):
1001 Fixed type in mask bit operations; fix for #99799.
1003 2002-12-02 Bill Haneman <bill.haneman@sun.com>
1005 Removed some of the more dangerous workarounds from
1006 previous commit; they are only needed by GOK, which
1007 in reality should be using another method to accomplish
1008 the goals. So on reconsideration some of the workarounds
1009 need to be reverted:
1011 * registryd/deviceeventcontroller.c:
1012 (spi_keycodes_contain, spi_dec_init_keycode_list):
1013 Removed these methods, used only by a nasty hack to try
1014 and detect whether a key synthesis should be allowed
1015 to reset the XKB latch state or not. This code was only
1016 required to work around an interaction between GOK,
1017 button events, and XKB.
1018 (impl_generate_key_event):
1019 Removed hack at end of key generation that tried to
1020 "do the right thing" if XKB latch keys were generated
1021 in the midst of button press/release pairs.
1024 Added a check for HAVE_XINPUT. Not normally used yet.
1026 2002-11-25 Bill Haneman <bill.haneman@sun.com>
1028 Workarounds and fixes for mouse event/XKB interaction.
1030 * registryd/deviceeventcontroller.c:
1031 (spi_keycodes_contain, spi_dec_init_keycode_list):
1032 New internal methods.
1033 (spi_dec_set_unlatch_pending):
1034 Split the method that tells XKB to expect an
1035 unlatch (and revert it) out of the rest of the
1036 event handling code. This method is called by the
1037 two mouse event handlers (the poll and the filter).
1038 (spi_dec_update_and_emit, spi_dec_mouse_check):
1039 New methods split from spi_dec_poll_mouse_moved.
1040 The second one is now called from inside the filterFn
1041 when an XKB delatch event is received, to determine
1042 whether to revert the delatch or not.
1043 (spi_poll_mouse_moved): Refactor; also we can now
1044 properly handle the case where multiple button states
1045 have changed between polling cycles and we didn't get
1046 notified due to another client's grab.
1048 Synchronize the server while handling an XKB notification.
1049 Ugly, but apparently necessary to avoid nasty races.
1050 Check the mouse state on receipt of an XKB latch change,
1051 to decide whether to revert the latch or not. (Latches are
1052 reverted if there is an immediately preceding mouse button
1053 event that a client has consumed, in which case we don't want
1054 the user to see the side-effect of the event).
1055 (spi_device_event_controller_forward_mouse_event):
1056 Check for modifier events and fire before resetting mouse_mask_state,
1057 prevents losing modifier events.
1059 (impl_generate_keyboard_event):
1060 If we've just generated a keyboard event for a non-shift key,
1061 we don't want to revert the pending XKB latch.
1062 Otherwise, check the modifier state (via a call to
1063 spi_dev_mouse_check) and set the relatch mask to
1064 that state before returning.
1066 2002-11-24 Bill Haneman <bill.haneman@sun.com>
1069 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
1072 * atk-bridge/bridge.c:
1073 (spi_atk_register_event_listeners):
1074 Don't re-register for ATK events if the registry has died
1075 and the app needs to re-register; the ATK listeners are in
1076 process and doing so will cause duplicate emission.
1078 * registryd/deviceeventcontroller.c:
1079 (spi_poll_mouse_moved):
1080 Reformat the source, detect and emit multiple button-change
1081 events (i.e. if multiple buttons have changed between poll
1083 Add code to detect mouse-down events even when the pointer
1084 is grabbed; workaround for GOK bug 98420.
1085 (spi_controller_register_with_devices):
1086 Call XTestGrabControl with 'impervious' flag set to True,
1087 allows us to synthesize events and query the pointer even during
1088 an active grab by another client.
1089 (spi_device_event_controller_forward_mouse_event):
1090 Set the mouse_mask_state to the mouse_button_state from
1091 the intercepted event, to synchronize the grab listener with
1094 2002-11-20 Bill Haneman <bill.haneman@sun.com>
1096 * cspi/spi_accessible.c:
1097 (AccessibleRole_getName):
1098 Added necessary strings for making this (deprecated)
1099 method work with the new role types.
1100 (init_role_table, role_table):
1101 Added definition of SPI_ROLE_APPLICATION.
1103 * libspi/spi-roletypes.h:
1104 Added SPI_ROLE_APPLICATION.
1106 * idl/Accessibility_Role.idl:
1107 Added ROLE_APPLICATION.
1109 * docs/reference/cspi/at-spi-cspi-decl.txt:
1110 Added SPI_ROLE_APPLICATION to docs.
1112 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
1114 * cspi/spi_accessible.c
1115 (cspi_init_role_table): Do not write beyond end of role_table.
1116 (Accessible_getRole): Use correct type for value returned by
1117 Accessibility_Accessible_getRole().
1119 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
1120 beyond end of role_table. (This fixes bug #98269)
1122 * libspi/application.c: Add include file spi-private.h for
1123 definition of spi_init_any_nil.
1125 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1129 * libspi/spi-private.h:
1130 Added DGB() macro, and extern int _dbg declaration.
1132 * registryd/registry.c:
1133 (definitions) storage for _dbg.
1134 (spi_registry_init):
1135 Get environment variable "AT_SPI_DEBUG".
1136 (spi_registry_set_debug):
1137 New method, to initialize _dbg value.
1138 (spi_listener_struct_new, spi_registry_object_finalize):
1139 (notify_listeners_cb):
1140 Changed fprintfs to use DBG and g_warning().
1142 * registryd/deviceeventcontroller.c:
1143 (_deregister_keygrab, spi_controller_register_device_listener):
1144 Changed debug/warning messages to use DBG macro.
1146 * libspi/listener.c:
1147 (impl_notify_event):
1148 Changed warning messages to use DBG macro and g_warning().
1150 * atk-bridge/bridge.c:
1151 (atk_bridge_init, spi_atk_bridge_get_registry):
1152 (spi_atk_bridge_exit_func):
1153 (spi_atk_bridge_property_event_listener):
1154 Changed status, warning, and error messages to use
1155 g_warning, g_message, and DBG macros.
1158 Read the state of the AT_SPI_DEBUG environment variable
1159 and set a local '_dbg' accordingly.
1161 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1163 FIXES for 98836, 98842, other bugs.
1166 Revved to 1.1.4, interface-age=4, binary-age=4.
1168 * registryd/deviceeventcontroller.c:
1170 Fixed crasher bug in last_mouse_pos initialization.
1172 * registryd/registry.c:
1173 (desktop_add_application, desktop_remove_application):
1174 Added (and then commented out) some support for
1175 object context marshalling. [TODO]
1177 * atk-bridge/bridge.c:
1178 (spi_atk_bridge_event_context_create):
1179 Commented out object context creation until it can
1180 be properly tested and debugged.
1182 * registryd/registry.c:
1183 (impl_registry_notify_event):
1184 Fixed crasher bug, we were calling
1185 spi_re_entrant_list_foreach () with an empty list.
1187 2002-11-18 Bill Haneman <bill.haneman@sun.com>
1189 * idl/Accessibility_Action.idl:
1190 * idl/Accessibility_Component.idl:
1191 * idl/Accessibility_Desktop.idl:
1192 * idl/Accessibility_Event.idl:
1193 * idl/Accessibility_Hyperlink.idl:
1194 * idl/Accessibility_Image.idl:
1195 * idl/Accessibility_Relation.idl:
1196 * idl/Accessibility_Selection.idl:
1197 * idl/Accessibility_State.idl:
1198 * idl/Accessibility_Value.idl:
1199 Updated unimplemented slot count to minimum of
1200 four for all interfaces, for ABI freeze.
1202 * idl/Accessibility_EditableText.idl:
1203 * idl/Accessibility_Text.idl:
1204 Updated unimplemented slot count to six
1207 * idl/Accessibility_Registry.idl:
1208 Updated unimplemented slot count to six
1209 (also for DeviceEventController),
1212 * idl/Accessibility_Table.idl:
1213 Updated unimplemented slot count to eight,
1216 * idl/Accessibility_Event.idl:
1217 Added CORBA_any "any_data" member to Event struct.
1219 * idl/Accessibility_Event.idl:
1220 Added CORBA_any "any_data" member to Event struct.
1222 * atk-bridge/bridge.c:
1224 atk_signal_text_changed, atk_signal_child_changed,
1225 signal ids queried from gtype system.
1226 (AtkBridgeEventContextType): New enum.
1227 (AtkBridgeEventContextData): New struct.
1228 (AtkBridgeEventContext): New struct.
1229 (atk_bridge_init_event_type_consts):
1230 New method, initializes type contants for comparison
1231 prior to emit_eventv.
1232 (atk_bridge_event_context_init): New method,
1233 initializes a CORBA_any from an AtkBridgeEventContext.
1234 (atk_bridge_focus_tracker): Call spi_init_any_nil to
1235 initialize the event.any_data struct.
1236 (spi_atk_bridge_event_context_create): New method,
1237 creates an AtkBridgeEventContext from signal/event info.
1238 (spi_atk_bridge_event_context_free): New method.
1239 (spi_atk_emit_eventv): Changed to take an
1240 AtkBridgeEventContext parameter. We now initialize
1241 the event.any_data member prior to notifying the
1242 Registry, via the AtkBridgeEventContext.
1243 (spi_atk_bridge_property_event_listener):
1244 (spi_atk_bridge_state_event_listener):
1245 Match emit_eventv signature.
1246 (spi_atk_bridge_object_event_listener):
1247 Match emit_eventv signature, and create an
1248 event context from the event details.
1249 Free the event context afterwards.
1250 (spi_atk_bridge_window_event_listener):
1251 Create an event context, pass it to the
1255 (AccessibleEvent_getContextString):
1256 (AccessibleEvent_getContextObject):
1257 New methods, allow query of AccessibleEvent objects
1258 for more context details (via the "any_data" member
1259 of the Event struct, above).
1262 Definitions for AccessibleEvent_getContextString
1263 and AccessibleEvent_getContextObject.
1265 * cspi/spi_listener.h:
1266 (InternalEvent): New struct.
1269 (AccessibleEvent_getContextString):
1270 (AccessibleEvent_getContextObject):
1271 Implementations of new methods, for obtaining
1272 additional context information from some event types.
1274 * cspi/spi_registry.c:
1275 (SPI_registerGlobalEventListener):
1276 Added mention of active-descendant-changed event in docs.
1278 * cspi/cspi-bonobo-listener.c:
1280 Marshal the any into the AccessibleEvent via
1283 * libspi/spi-private.h:
1284 #include <orbit/orbit.h>
1286 (spi_init_any_string):
1287 (spi_init_any_object):
1288 New convenience function declarations.
1292 (spi_init_any_string):
1293 (spi_init_any_object):
1294 New convenience function implementations.
1296 * registryd/deviceeventcontroller.c:
1297 (spi_poll_dec_mouse_moved):
1298 (spi_device_event_controller_forward_mous_event):
1299 Initialize any_data member of event.
1300 (spi_deregister_controller_device_listener):
1301 Fix incorrect param pass which was preventing deregistration.
1303 * registryd/registry.c:
1304 (desktop_add_application):
1305 (desktop_remove_application):
1306 Add object data to event's any_data before dispatch.
1308 Fix for error messages from GAIL.
1310 * test/event-listener-test.c:
1311 Test new ContextString and "any_data" API:
1312 (report_text_event): New method query and output context string.
1313 (main): register a new text listener with report_text_event
1316 2002-11-19 Darren Kenny <darren.kenny@sun.com>
1318 Fixes for bugs 98127 and 97914.
1319 * cspi/spi-roletypes.h:
1320 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
1322 * cspi/spi-statetypes.h:
1323 Added SPI_STATE_MANAGES_DESCENDANTS
1325 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
1326 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
1327 * cspi/spi_accessible.c:
1328 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
1329 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
1330 Accessibility_STATE_MANAGES_DESCENDANTS
1331 * libspi/accessible.c:
1332 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
1333 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
1334 As requested by Bill, I also cleaned up the alignment.
1335 * libspi/relation.c:
1336 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
1337 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
1338 * libspi/stateset.c:
1339 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
1340 Accessibility_STATE_MANAGES_DESCENDANTS
1341 * docs/reference/cspi/tmpl/spi_accessible.sgml:
1342 Document changes reflecting modifications to roles.
1343 * docs/reference/cspi/tmpl/spi_relation.sgml:
1344 Document changes reflecting modifications to relations.
1345 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1346 Document changes reflecting modifications to states.
1348 2002-11-17 Bill Haneman <bill.haneman@sun.com>
1351 Revved to 1.1.3, interface-age=3, binary-age=3.
1352 Added REBUILD macro.
1355 Removed accessx-gui from the tests, since we have a nice
1356 keyboard accessibility capplet now :-)
1358 * test/keysynth-demo.c:
1359 (increment_scan): removed do-nothing default: case,
1362 * test/visual-bell.c:
1363 (main) : removed do-nothing default: case,
1366 * cspi/spi_action.c:
1367 (AccessibleAction_getKeyBinding_):
1368 Documented keybinding string format.
1372 (AccessibleText_getAttributes):
1373 Documented the text attribute string format.
1374 It's changed to use semicolon delimiters also,
1375 to prevent clashes with CSS attributes, but the old
1376 trick of looking for ", " strings will still work
1377 (as unreliably as ever). Fix for bug related to 97916.
1380 Include <cspi/bonobo/cspi-bonobo-listener.h>
1381 Fixes build warning.
1382 (SPI_freeAccessibleKeySet):
1383 (AccessibleKeystrokeListener_addCallback):
1384 (AccessibleKeystrokeListener_removeCallback):
1385 Modify to use AccessibleDeviceListener API internally,
1386 instead of AccessibleKeystrokeListener.
1388 * idl/Accessibility_Event.idl:
1389 Added two more empty slots to EventListener (for a total of four).
1391 * idl/Accessibility_Accessible.idl:
1392 Added four empty slots to Accessible interface.
1394 2002-11-15 Bill Haneman <bill.haneman@sun.com>
1396 * idl/Accessibility_Registry.idl:
1397 (KeyEventType, EventType):
1398 Marked KeyEventType as deprecated; it duplicates
1399 functionality of EventType, which has been extended to
1400 include Mouse-button events.
1401 (KeyEventTypeSeq): defined in terms of EventType.
1402 (registerDeviceEventListener, deregisterDeviceEventListener):
1403 New methods, for managing listeners to device events,
1404 which potentially may consume them.
1407 Added definition for AccessibleDeviceListener.
1409 * cspi/spi-listener.h:
1410 (enum AccessibleDeviceEventType):
1411 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
1412 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
1413 for backwards compat.
1414 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
1415 and typedef'd AccessibleKeystroke to it for back-compat.
1416 (AccessibleDeviceListenerCB):
1417 New function prototype typedef.
1420 (AccessibleDeviceEventMask): New typedef.
1421 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
1422 (AccessibleKeyMaskType):
1423 Set equivalent to AccessibleModifierMaskType for back-compat.
1424 (SPI_createAccessibleKeystrokeListener):
1425 (AccessibleKeystrokeListener_unref):
1426 Deprecated in favor of equivalent (better-named) new API below..
1427 keystroke listeners are like all device listeners.
1428 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
1429 New API names for old features :-).
1430 (AccessibleDeviceListener_addCallback):
1431 (AccessibleDeviceListener_removeCallback):
1432 (SPI_registerDeviceEventListener):
1433 (SPI_deregisterDeviceEventListener):
1437 (SPI_createAccessibleKeystrokeListener):
1438 Use new preferred API, cspi_device_listener_new() and
1439 cspi_device_listener_add_cb().
1440 (AccessibleKeystrokeListener_removeCallback):
1441 Use new preferred API, cspi_device_listener_remove_cb().
1442 (AccessibleKeystrokeListener_unref):
1443 Use new preferred API, cspi_device_listener_unref().
1444 (SPI_createAccessibleDeviceListener):
1445 (AccessibleDeviceListener_addCallback):
1446 (AccessibleDeviceListener_removeCallback):
1447 Implementation of new API.
1449 * cspi/spi_registry.c:
1450 (SPI_registerDeviceEventListener):
1451 (SPI_deregisterDeviceEventListener):
1452 Implementation of new API. Fixed memory leak and removed need to
1453 allocate EventTypeSeq (thanks Michael for catching this).
1454 Squashed a wayward CORBA_exception_free that shouldn't get called.
1456 * cspi/bonobo/cspi-bonobo-listener.c:
1458 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
1459 (cspi_key_event): renamed to cspi_device_event().
1460 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
1461 Extended to handle mouse button events as well as key events.
1462 (CSpiKeystrokeListener):
1463 Class superceded by CSpiDeviceListener.
1464 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1465 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1467 * cspi/bonobo/cspi-bonobo-listener.h:
1468 (CSpiKeystrokeListener):
1469 Class superceded by CSpiDeviceListener.
1470 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1471 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1473 * libspi/Makefile.am:
1474 Replaced keystrokelistener.h and keystrokelistener.c
1475 with devicelistener.h and devicelistener.c; keystrokelisener.h
1476 stub retained for back-compat.
1478 * libspi/keystrokelistener.c:
1482 Replaced inclusion of keystrokelistener.h with devicelistener.h.
1484 * registryd/deviceeventcontroller.c:
1485 (DEControllerListener): Added Accessibility_EventTypeSeq member.
1486 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
1487 (DEControllerPrivateData): Added xkb settings data.
1488 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
1489 button release events (which can't be captured via XGrabButton).
1490 Don't dispatch via the 'normal' event mechanism if the device event was
1492 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
1493 Handle the typeseq data in its new location (see above).
1494 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
1495 New methods, for "generic" device listeners.
1496 (spi_controller_register_device_listener):
1497 Now handle mouse event listeners as well as key listeners.
1498 (spi_controller_notify_mouselisteners):
1499 New internal method.
1500 (spi_device_event_controller_forward_mouse_event):
1501 Now we notify mouse device listeners as well as generating the
1502 non-consumable "mouse:" events.
1504 We must check and restore the XKB
1505 modifier map if we consume the event, since the act of triggering
1506 a mouse event will normally reset the XKB latch. This is required for
1508 (spi_controller_register_with_devices):
1509 Load the XKB settings when registering, and register for XKB
1510 state notify events.
1511 (spi_key_eventtype_seq_contains_event):
1512 Renamed spi_eventtype_seq_contains_event, since it's used
1513 internally for all device event types now.
1514 (spi_key_event_matches_listener):
1515 Uses spi_eventtype_seq_contains_event now.
1516 (spi_device_event_controller_object_finalize):
1517 Free the private data and the XkbKeyboard struct.
1518 (impl_register_device_listener, impl_deregister_device_listener):
1519 Implementation of new IDL.
1520 (spi_deregister_controller_device_listener):
1521 New internal method.
1522 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
1523 More efficient implementation, we don't have to create a new
1524 XkbControls structure every time we query.
1525 (spi_device_event_controller_class_init):
1526 Initialize the epv entries for the new IDL. Assign the
1527 "spi-dec-private" quark.
1528 (spi_device_event_controller_init):
1529 Initialize the private data.
1530 (spi_device_event_controller_forward_key_event):
1531 Removed a bogus CORBA_exception_free() call.
1533 * registryd/deviceeventcontroller.h:
1534 Replaced inclusion of keystrokelistener.h with
1537 * test/event-listener-test.c:
1538 (report_mouse_event):
1541 Added mouse-event device listener.
1543 * test/test-simple.c:
1544 (create_test_window):
1545 Fixed regression (we were instantiating a GtkRange,
1546 which is now an abstract class). Also fixed to match
1547 existing AtkRole names, this seems to have changed in ATK
1548 awhile ago; too late now I think, and the new
1549 mechanism is at least elegant and consistent with the
1550 glib enum "nick" APIs.
1552 2002-11-15 Darren Kenny <darren.kenny@sun.com>
1554 * idl/Accessibility_Relation.idl:
1555 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
1556 RELATION_EMBEDS,RELATION_EMBEDDED_BY
1557 * idl/Accessibility_Role.idl:
1558 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
1559 * idl/Accessibility_State.idl:
1560 add STATE_MANAGES_DESCENDANTS
1561 * test/event-listener-test.c:
1562 Added a listener for active-descendant events.
1564 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
1566 * atk-bridge/bridge.c
1567 (atk_bridge_init): If application is Bonobo component wait until top
1568 level is added before registering
1569 (spi_atk_bridge_do_registration): New function which contains code,
1570 formerly in atk_bridge_init, to do application registration.
1571 (spi_atk_bridge_toplevel_added): Signal called when top level
1572 added to Bonobo component
1574 This fixes bug #83134.
1576 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
1578 * registryd/deviceeventcontroller.c
1579 Fixed compilation error caused by calling gettimeofday()
1582 2002-10-18 Bill Haneman <bill.haneman@sun.com>
1587 Added template for HAVE_XKB.
1590 Changes to check for XKB, and to set the HAVE_XKB #define if it
1593 * libspi/listener.c:
1594 ()impl_notify_event): Make failure to get event source name
1597 * registryd/deviceeventcontroller.c:
1598 (#include): include X11/XKBlib.h.
1599 (DEControllerPrivateData) : New struct.
1600 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
1602 (dec_synth_keycode_press) (dec_synth_keycode_release):
1603 New methods; split the key synthesis code into these methods.
1604 They check XKB settings before determining the "time" values to
1605 pass to Xtest; this fixes bug #95828.
1606 (impl_generate_keyboard_event): Changed to use methods above,
1607 instead of callng Xtest directly.
1608 (spi_device_event_controller_init): Initialize new privae struct s
1610 (spi_device_event_controllr_object_finalize):
1611 Free the (new) private data.
1613 * registryd/deviceeventcontroller.h:
1614 Add new gpointer to end of struct data.
1616 2002-10-16 Bill Haneman <bill.haneman@sun.com>
1619 Incremented revision to 1.1.2, SONAME is still '.so', library
1620 extensions are ".so.0.0.2".
1622 * registryd/deviceeventcontroller.c:
1623 FIXES FOR #93592 and #95940.
1624 (statics): renamed mouse_button_state to mouse_mask_state,
1625 added key_modifier_mask.
1626 (spi_dec_poll_mouse_moved):
1627 Added key modifier checks, and emit "keyboard:modifiers"
1628 events when the key modifiers currently in use change.
1629 Also generate "mouse:abs" events periodically, even if the mouse
1630 is stationary (should we?).
1631 Alternatively we could generate "mouse:abs" events for either all
1632 mouse movements, or every 'nth' mouse movement, or at the
1633 beginning and end of every "active" mouse period.
1635 * test/event-listener-test.c:
1636 (main): Added listener for "keyboard:modifiers" events.
1638 2002-10-15 Bill Haneman <bill.haneman@sun.com>
1640 * libspi/keymasks.h:
1641 Added key mask #defines for mouse buttons; e.g.
1642 SPI_KEYMASK_BUTTON1, etc.
1645 Incremented dependency on ATK to version 1.1.0. (This dependency
1646 is probably premature but will soon be real enough).
1648 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
1650 * libspi/hyperlink.[ch]
1651 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
1652 (get_hyperlink_from_servant): Check object is AtkHyperlink not
1655 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
1660 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
1662 * registryd/deviceeventcontroller.c
1663 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
1664 events to be ignored.
1665 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
1666 keyboard_mode so that XAllowEvents() can be called.
1670 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
1672 * cspi/spi-accessible.c: Correct names of roles returned by
1673 AccessibleRole_getName(). Fixes bug #95055.
1675 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
1677 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
1680 * registryd/registry.c
1681 (desktop_remove_application: Write diagnostic message to stderr for
1684 (impl_accessibility_registry_deregister_global_event_listener):
1685 Correct size of lists array. This addresses bug #94555).
1687 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
1689 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
1692 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
1694 * registryd/Makefile: Add CLEANFILES so that .server file is removed
1697 * registryd/registry.c (impl_registry_notify_event): Remove
1698 unnecessary call to parser_event_type().
1700 * docs/reference/cspi/tmpl/spi_component.sgml:
1701 Add reference to SPI_LAYER_WINDOW.
1703 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
1705 * registryd/registry.c
1706 (desktop_add_application): Remove leak.
1707 (desktop_remove_application): Remove leak.
1708 (parser_event_type): Remove leak.
1710 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
1712 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
1713 bogus call to CORBA_string_dup(). Also removed unnecessary
1714 g_string_dup/g_free calls.
1716 2002-09-13 Bill Haneman <bill.haneman@sun.com>
1718 * registryd/deviceeventcontroller.c:
1719 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
1721 * test/event-listener-test.c:
1722 main: commented out three redundant listeners, to reduce output
1723 noise. (They still are potentially useful for testing).
1726 2002-09-13 Michael Meeks <michael@ximian.com>
1728 * Update all the copyrights to include Ximian.
1730 2002-09-06 Mark McLoughlin <mark@skynet.ie>
1732 * cspi/spi.h: add SPI_LAYER_WINDOW.
1734 * cspi/spi_component.c: (AccessibleComponent_getLayer):
1735 add Accessibility_LAYER_WINDOW case.
1737 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
1739 * libspi/component.c: (impl_accessibility_component_get_layer):
1740 add ATK_LAYER_WINDOW case.
1742 2002-08-28 Bill Haneman <bill.haneman@sun.com>
1744 * configure.in: incremented micro version.
1746 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
1748 2002-08-20 Bill Haneman <bill.haneman@sun.com>
1751 Clarified and reworded our commit policy.
1754 Started an API "todo" addition list for 2.2.
1757 (impl_getSelection):
1758 Free char pointer from atk_text_get_selection, which was being leaked.
1760 2002-08-19 Bill Haneman <bill.haneman@sun.com>
1763 Small revision to author acknowledgement.
1765 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1767 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
1768 If signal has detail add it to the type of the event.
1771 2002-08-12 Michael Meeks <michael@ximian.com>
1773 * test/test-simple.c (global_listener_cb): bin bogosity.
1774 (test_keylisteners): disable, still doesn't work reliably,
1775 certainly not on my system anyway.
1777 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
1778 don't leak a reference on the DEC. This round-trip
1779 fetching of the DEC per keystroke sucks, it should be
1782 * cspi/spi-private.h,
1783 * cspi/cspi-lowlevel.h,
1784 * cspi/bonobo/cspi-bonobo-listener.[ch],
1785 * cspi/bonobo/cspi-bonobo.c: get the copyright
1786 notices better - there is still a large amount of
1787 work in at-spi falsely attributed solely to Sun.
1789 * cspi/spi_main.c (cspi_object_ref): kill bogus
1790 hash lookup, just increment the ref.
1791 (SPI_freeString): make explicit the fact that we
1792 handle NULL strings just fine.
1793 (report_leaked_ref): obey coding standards.
1794 (cspi_object_hash, cspi_object_equal): kill retval.
1795 (cspi_object_release): only release if not on loan.
1796 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
1797 (cspi_object_borrow, cspi_object_return): impl.
1799 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
1800 use cspi_object_borrow / return.
1802 2002-08-12 Darren Kenny <darren.kenny@sun.com>
1804 * cspi/bonobo/cspi-bonobo-listener.c:
1806 Don't call cspi_oject_new() because this is creating a new Accessible
1807 every single time that an event is fired. This causes ATs like at-poke
1808 to nolonger recognise the source of the event and thus ignore it.
1809 Re-use the object from the cache, ref it and then unref it after the
1810 listeners have been called.
1812 2002-08-06 Darren Kenny <darren.kenny@sun.com>
1814 * test/event-listener-test.c:
1815 Added command-line options to disable mouse events (m) and
1818 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
1820 * configure.in: Update required versions of ATK, GTK+ and GAIL
1822 * cspi-1.0.pc.in: Add dependency for X include files
1825 * cspi/bonobo/Makefile.am:
1826 Add $(X_CFLAGS) so that X include files
1827 are picked up even if not in standard place (bug #71686)
1829 2002-06-25 Bill Haneman <bill.haneman@sun.com>
1831 * registryd/deviceeventcontroller.c: fix for 84261
1832 (spi_dec_mouse_moved):
1833 Added test of mouse button mask, so that we can detect mouse
1834 button release. Unfortunately we can't otherwise detect mouse
1835 button release events without consuming the mouse press event,
1836 because of the way XGrabButton works. This means that our mouse
1837 release events have a latency dependent on the polling period
1838 while the mouse button is down. At least in this case we only
1839 have to poll while the button is down, and not at other times.
1840 If the button masks don't match with what the last press event
1841 reported, we report the appropriate button release event.
1842 (spi_dec_ungrab_mouse):
1843 New method (not yet called).
1844 (spi_device_event_controller_forward_mouse_event):
1845 New method, sends mouse press event from GdkFilter.
1846 (spi_dec_init_mouse_listener):
1847 Added code to call XGrabButton, redirecting mouse button events to
1848 the root window and our Gdk event loop.
1850 Added code to filter mouse button events, and reordered.
1852 * test/event-listener-test.c:
1854 Added registration for mouse events of type "mouse:button".
1856 2002-06-25 Bill Haneman <bill.haneman@sun.com>
1858 * registryd/deviceeventcontroller.c: partial fix for 84261
1859 (spi_dec_poll_mouse_idle):
1860 New method, a timeout which checks to see if the mouse
1862 (spi_dec_poll_mouse_moving):
1863 A timeout to be called when mouse motion is underway.
1864 (spi_dec_poll_mouse_moved):
1865 A method which fires an event if the mouse has moved, and reports
1866 whether or not it did so.
1867 (spi_dec_init_mouse_listener):
1868 A method which sets up the timeouts above.
1869 (spi_device_event_controller_new):
1870 Now calls spi_dec_init_mouse_listener.
1872 * registryd/registry.c:
1873 (spi_registry_init):
1874 Now we initialize the device event controller when the registry is
1875 initialized, instead of waiting until a client has requested a key
1876 event notification; this is because we need the event controller
1877 for mouse events, but the mouse event registration API is a
1878 "registry" call and doesn't explicitly call the
1879 deviceeventcontroller.
1880 We now report mouse motion events with a 100 ms idle latency and
1881 a 20 ms granularity when motion is in progress.
1883 * test/event-listener-test.c:
1885 We now register the "detail listener" for events of type
1886 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
1887 delivered only for the first mouse event received, and thereafter
1888 "mouse:abs" events are delivered.)
1890 * cspi/spi_registry.c:
1891 DOCS: Documented the above mouse event typestrings.
1893 2002-06-21 Bill Haneman <bill.haneman@sun.com>
1895 Happy Summer Solstice...
1897 * registryd/deviceeventcontroller.c: [fix for bug 84100]
1898 (spi_controller_notify_keylisteners):
1899 Changes to remove a listener from the listener list, freeing its
1900 open keygrabs, if a notification to that listener fails. This
1901 means that although a dead listener can continue to hold a passive
1902 keygrab, a maximum of one dispatch to such a listener can fail
1903 before the listener is removed from the list, thus the keygrab
1904 will be released on the next occurrence.
1905 As part of this fix:
1906 (spi_notify_keylisteners):
1907 Renamed to spi_controller_notify_keylisteners, as the controller
1908 instance must now be passed as an argument.
1909 The copied 'notify' GList is now a list of DEControllerKeyListener
1910 objects, since we need more than just the CORBA reference if a
1911 notify fails and we need to deregister the listener.
1912 (impl_notify_listeners_sync):
1913 (impl_notify_listeners_async):
1914 (spi_device_event_controller_forward_key_event):
1915 Modify use of notify_keylisteners in accordance with above
1917 (spi_deregister_controller_key_listener):
1918 New method introduced by refactoring, from
1919 impl_deregister_keystroke_listener.
1920 (impl_deregister_keystroke_listener):
1921 Call spi_deregister_controller_key_listener.
1922 (spi_key_listener_clone):
1923 New method to copy a key listner without doing a 'ref' on the
1924 remote object instance; used to create a notifier list.
1925 (spi_key_listener_data_free):
1926 New method, frees data without unreffing the source.
1928 (spi_key_listener_clone_free): new method.
1929 (spi_key_listener_free):
1930 refactored to call spi_key_listener_data_free.
1932 2002-06-20 Bill Haneman <bill.haneman@sun.com>
1934 * registryd/registry.c: [fix for bug 86048]
1935 (notify_listeners_cb):
1936 Clear CORBA system exceptions which occur when notifying
1937 listeners, before returning to the source of the original event,
1938 since the event source doesn't care if the relayed notify failed.
1939 In other words, don't complain to the atk-bridge if the registry
1940 could not notify all its listeners, that's no fault of the
1941 application and thus should not appear to be an error from the
1942 application's perspective.
1944 * cspi/spi_main.c: [fix for bug 85980]
1946 Replaced use of bonobo_object_dup_ref with call to the wrapper
1947 method, csou_dup_ref (); this silences a compiler warning and
1948 provided more portability.
1950 Ping the registry before return, and restart if necessary.
1952 * cspi/bonobo/cspi-bonobo.c:
1954 New internal method.
1956 Fixed this method to return an object reference, as it should have
1959 * cspi/cspi-lowlevel.h:
1960 Added internal definition for cspi_ping() and fixed
1961 return type of cspi_dup_ref().
1964 2002-06-19 Bill Haneman <bill.haneman@sun.com>
1966 * atk-bridge/bridge.c: [fix for bug 85305]
1967 (spi_atk_bridge_register_application):
1968 New method where the initial application registry calls have been
1969 moved; it allows an application to re-register in response to
1970 certain error conditions (such as a registry restart, see below).
1972 Moved some initialization code to the method
1973 spi_atk_bridge_get_registry, below.
1974 (spi_atk_bridge_get_registry):
1975 New, private accessor function for the Accessibility_Registry
1976 instance. If the registry has not been started before, or has
1977 died (as detected by failure of a CORBA exception), it is
1978 restarted before return, and spi_atk_bridge_register_application
1979 is called again to register with the new bridge instance.
1980 (spi_atk_emit_eventv):
1981 Set registry_died on error; use spi_atk_bridge_get_registry () to
1982 access the registry.
1984 * registryd/registry.c:
1985 (impl_accessibility_registry_register_global_event_listener):
1986 Set listener's event_type_quark to etype.minor instead of
1987 etype.major (fix for bug 84856).
1989 * test/event-listener-test.c:
1990 (report_detail_event):
1991 Change the output string so that user/tester can tell that the
1992 'detail listener' was called instead of the 'generic listener'.
1994 2002-06-18 Bill Haneman <bill.haneman@sun.com>
1996 Fixes for bugs 84900, 84908, 84897, 84898.
2001 Revved version to 1.1.0
2002 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
2003 version is going to HEAD which will be used for gnome-2-0-1 and later.)
2005 * idl/Accessibility_Registry.idl:
2006 (EventListener::notifyEvent):
2007 Removed 'oneway' directive after extensive consulation with
2008 ORBit2 team and others. This means also that unref() of the event
2009 source can and should be done synchronously after emission, rather
2010 than remotely in the client, after servicing the notify call on
2013 NOTE: This change speeds up listener performance considerably, but
2014 introduces new latency on the application side. We may want to
2015 add an event queue to the atk-bridge.
2017 * atk-bridge/bridge.c:
2018 (spi_atk_bridge_focus_tracker):
2019 Do a local unref() on the event source after emission.
2021 * registryd/registry.c:
2022 (desktop_remove_application):
2023 Do an unref() on the event source after emission.
2024 (desktop_add_application):
2025 Do an unref() on the event source after emission.
2026 (notify_listeners_cb):
2027 When relaying an event, don't automatically add the event source
2028 to the local object cache, just CORBA_dup it instead. Likewise,
2029 if this method reenters, release the ref rather than calling
2031 (impl_registry_notify_event):
2032 No longer call remote unref() on the event source after dispatch.
2034 * libspi/eventlistener.c:
2035 (impl_accessible_event_notify_event):
2036 Removed remote unref ()
2038 * cspi/bonobo/cspi-bonobo-listener.c:
2040 We now call cspi_object_new() instead of cspi_object_add() on
2041 receipt of an event; thus we only have an implicit object ref
2042 while the cspi_event method is being executed. If we need to keep
2043 a reference to the object, the listener must call ref() on the
2044 object. Thus also we don't need to call cspi_object_unref() after
2045 invoking the listener callbacks in this method.
2049 New internal API for creating a new cspi object, without adding it
2050 to the object cache.
2052 Now uses cspi_object_new() to create the cspi object instance.
2054 Now checks to see if the object is in the internal object cache,
2055 and adds it if necessary before incrementing its refcount (note
2056 that new objects are added with a refcount of 1).
2057 (report_leaked_ref):
2058 New method which gives some information on leaked object instances
2059 if leak detection is turned on.
2061 * test/event-listener-test.c:
2062 (timing_test_event):
2063 New method, used for testing event delivery timing for special
2064 events of type "object:test". It reports elapsed time and
2065 events/sec every 500 events.
2067 Added a new listener, 'test listener', to check timing of event
2068 receipt as noted above.
2070 Added some timing output here also, reports elapsed time every 100
2073 * test/stress-test.c:
2074 Emit events of type "object:test", for use with "event-listener-test".
2076 * test/test-simple.c:
2077 (global_listener_cb):
2078 Call Accessible_ref() on the event source before calling
2079 validate_accessible, since the validation process does pointer
2080 comparisons on the event source, meaning that the event source
2081 needs to be added to the local object cache first. Any use of
2082 such pointer comparisons between Accessible objects requires that
2083 the caller hold an explicit reference to those objects.
2084 We also must therefore call Accessible_unref() when leaving this method.
2086 2002-06-13 Bill Haneman <bill.haneman@sun.com>
2088 * registryd/deviceeventcontroller.c:
2089 (spi_controller_update_key_grabs):
2090 Fix for #84735, subsequent keygrab listeners not informed of
2091 registration failure.
2094 (spi_base_construct):
2095 Add an assertion on construct, to make sure the GObject passed in
2096 is really a GObject.
2098 Explicitly initialize object->gobj pointer to NULL;
2100 * cspi/bonobo/cspi-bonobo-listener.c:
2101 (cspi_object_add_ref):
2102 New method, can specify whether to dup-ref a bonobo object passed
2103 in if it's newly added to the object cache.
2105 Now calls cspi_object_add_ref with second param of "FALSE". This
2106 prevents us from doing a pointless dup-ref followed by
2107 release-unref for all those cases where the object is already in
2108 our object cache (fix for #85205).
2110 * atk-bridge/bridge.c:
2111 (spi_atk_bridge_idle_init):
2112 Removed this method, we don't need to initialize in an idle
2115 Changed to call spi_atk_register_event_listeners directly, not via an
2116 idle handler. (fix for #81139)
2117 (gnome_accessibility_module_shutdown):
2118 Removed conditional around deregistration of listeners, since we
2119 don't use the idle handler and thus have always registered when
2121 (spi_init_keystroke_from_atk_key_event):
2122 Changed references to Accessibility_KEY_PRESSED to
2123 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
2125 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2127 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
2132 * test/stress-test.c:
2135 (may have been an incomplete commit yesterday?)
2137 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2140 Added target for new stress-test.
2142 * test/stress-test.c:
2143 New test, sends 1000 focus notifies in quick succession.
2145 * test/key-listener-test.c:
2146 Now we report whether a keylistener registration
2147 request succeeded or failed.
2149 * test/event-listener-test.c:
2150 Uncommented some listeners which are now implemented.
2153 2002-06-06 Bill Haneman <bill.haneman@sun.com>
2155 * registryd/deviceeventcontroller.c:
2156 (spi_controller_update_key_grabs):
2157 Fix for #82509, lack of failure notification when
2158 ALL_WINDOWS keygrabs fail due to XGrabKey
2159 failure: we synchronize the server when
2160 registering a passive grab, to make sure we get the
2161 error message before the call returns.
2163 2002-06-03 Bill Haneman <bill.haneman@sun.com>
2165 * test/test-simple.c:
2167 Removed #ifdef KEY_IMPL_WORKS guards.
2168 (test_keylisteners):
2169 Removed #ifdef KEY_IMPL_WORKS guards.
2170 Fixed bug which was causing a hang waiting for a
2171 "press" event (which was already overwritten by a "release"
2172 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
2174 Added code to set globals 'key_press_received' and
2175 'key_release_received'.
2178 Added section "1.1 API Proposed Additions" which
2179 lists API additions desired for at-spi-1.1 (only one so far).
2180 Updated TODO list a little.
2182 2002-06-02 Bill Haneman <bill.haneman@sun.com>
2184 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
2187 * configure.in: Revved to 1.0.0.
2189 * idl/Accessibility_Registry.idl:
2190 (registerKeystrokeListener):
2191 Added boolean return value.
2193 * registryd/registry.c:
2194 (notify_listeners_cb): Minor fix to debug output.
2196 * registryd/Accessibility_Registry.server.in.in:
2197 Revved version number in OAFIID to 1.0.
2199 * registryd/registryd.c:
2201 Use new OAFIID version.
2203 * cspi/bonobo/cspi-bonobo.c:
2205 Use new OAFIID version.
2211 * atk-bridge/bridge.c:
2213 Use new OAFIID version.
2215 * registryd/deviceeventcontroller.c:
2216 (impl_register_keystroke_listener):
2217 Added CORBA_boolean return value.
2218 (spi_controller_register_device_listener):
2219 Added gboolean return value.
2220 (spi_controller_register_global_keygrabs):
2221 Added gboolean return value.
2222 (spi_key_set_contains_key):
2223 Added implementation for many more control keys,
2224 for instance F1-F12, arrow keys, End, Home, Page_Up,
2226 [TODO: some still not implemented].
2228 * text/screen-review-test.c:
2229 (text_chunk_pad_string):
2230 New function: it provides mapping between coordinate
2231 positions of text chunks and character positions in the
2232 screen-review-line output string.
2233 (text_chunk_to_string):
2234 New function, calls text_chunk_pad_string with various
2235 pad/delimiter characters. Pushbuttons are delimited with
2236 square brackets, Frames with vertical 'pipe' lines, and
2237 other text with double quotes.
2238 (text_chunk_list_to_string):
2239 Calls new function text_chunk_to_string.
2240 (toplevel_composite):
2241 New function to composite layers CANVAS through
2242 POPUP in each toplevel (other layers are composited
2243 across toplevels, i.e. BACKGROUND and OVERLAY).
2244 (review_buffer_composite):
2245 Revise to use new methods.
2251 2002-05-31 Laszlo Peter <laca@sun.com>
2253 * configure.in: add the Xtst libdir to the runpath on Solaris,
2254 since it's not in the default library search path.
2256 2002-05-29 jacob berkman <jacob@ximian.com>
2258 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
2260 2002-05-29 Bill Haneman <bill.haneman@sun.com>
2262 * test/screen-review-test.c:
2263 (text_chunk_pad_string):
2264 Added method, which pads the string according to the
2265 text bounds of the chunk. It also takes a 3-character
2266 string as a param which indicates the characters to be
2267 used for start, padding, and end delimitation of the chunk.
2268 (text_chunk_to_string):
2269 Changed to use text_chunk_pad_string.
2271 * configure.in: Fixed bug in AC_OUTPUT that was
2272 causing path substitution in Accessibility_Registry.server
2275 2002-05-23 Bill Haneman <bill.haneman@sun.com>
2277 * text/screen-review-test.c:
2278 (guess_string_clip):
2279 New method which attempts a best-guess at clipping
2280 text from components (like Java labels) which don't
2281 actually implement AccessibleText. This inaccurate
2282 clip is based on the assumption that the label is
2283 justified left-and-right, and monospaced.
2284 (text_chunk_get_clipped_string):
2285 We now call guess_string_clip() for text-containing
2286 components that don't implement AccessibleText.
2288 * test/screen-review-test.c:
2289 (review_buffer_get_text_chunk):
2290 We now pull "name" from labels if they do not implement
2291 AccessibleText (i.e. for Java labels).
2292 (get_screen_review_line_at):
2293 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
2296 Replaceded AC_OUTPUT target
2297 registryd/Accessibility_Registry.server with
2298 registryd/Accessibility_Registry.server.in.
2300 * registryd/Accessibility_Registry.server.in:
2301 Removed (this is now a Makefile target).
2303 * registryd/Accessibility_Registry.server.in.in:
2304 Added (source for target above). We now use $(libexecdir) as
2305 prefix for the executable at-spi-registryd.
2307 * registry/Makefile.am:
2308 Now install at-spi-registryd into $(libexecdir), and build .server
2309 file with path (see above).
2311 2002-05-22 Bill Haneman <bill.haneman@sun.com>
2313 * test/screen-review-test.c:
2314 (text_chunk_get_clipped_string):
2315 We now check to see if words fall within clip bounds
2316 before resorting to character-by-character clip bounds testing.
2318 * TODO: Added a section for "2.2 Proposed API Additions".
2320 2002-05-21 Bill Haneman <bill.haneman@sun.com>
2322 * test/screen-review-test.c:
2324 Added a screen review benchmarking and test program to test
2327 * cspi/spi_accessible.c:
2329 Made some of the debug strings passed to cspi_check_ev a
2330 little more specific.
2332 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
2334 * test/screen-review-test.c: Fix crashes in debug statements
2336 2002-05-20 Bill Haneman <bill.haneman@sun.com>
2338 * test/screen-review-test.c: Added this file.
2340 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2342 * atk-bridge/bridge.c: changed "object:state-change" to
2343 "object:state-changed" to match docs.
2345 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2347 * atk-bridge/bridge.c: Hooked up state-change event details.
2349 2002-05-11 Bill Haneman <bill.haneman@sun.com>
2351 * registryd/registry.c:
2352 Fixed quarking bug in event string parsing; now events with
2353 detail parameters get matched correctly to listeners.
2356 * util/idl/Magnifier.idl: remove.
2358 * util/*.[ch]: Remove.
2359 Magnification utilities and IDL are now in module gnome-mag.
2361 2002-05-10 Bill Haneman <bill.haneman@sun.com>
2363 * registryd/deviceeventcontroller.c:
2364 Fixed bug in grab key conversion which was causing keycode grabs
2365 to be converted to AnyKey grabs.
2368 updated NEWS file to reflect recent spin-off of gnome-mag.
2370 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
2372 * cspi/spi_accessible.c: Added exception checks. Fixed completely
2373 busted AccessibleStateSet_compare. Removed redundant casts.
2375 * cspi/spi-action.c: Removed redundant casts.
2377 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
2379 * cspi/spi_component.c: Fixed typos and casting error.
2381 * cspi/spi_editabletext.c: Removed redundant casts.
2383 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
2385 * cspi/spi_hypertext.c: Eliminated redundant casts.
2387 * cspi/spi_image.c: Eliminated redundant casts.
2389 * cspi/spi_registry.c: Eliminated redundant casts.
2390 SPI_deregisterGlobalEventListenerAll () removed retval variable.
2391 * cspi/spi_selection.c: Removed redundant casts.
2392 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
2393 handling. Screen geometry and text offsets were being returned as 0
2394 on error which is technically valid-- changed these to return -1.
2395 Added marshaller for text boundary types to fix bug with boundary
2396 types being passed incorrectly to atk.
2398 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2401 * cspi/spi_registry.c:
2402 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
2403 which was uncovered by the recent key changes.
2405 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2407 * test/event-listener-test.c:
2409 Added new test, "event-listener-test";
2410 this code does two things; it benchmarks traversal time
2411 for the accessible hierarchy for the first running accessible
2412 app, and it connects listeners for all supported event types.
2413 It is thus useful as an example event listener and for
2414 diagnostics/debugging of event generation.
2416 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2419 Removed unnecessary dependency on libutil.
2422 Revved micro version: 0.13.1
2424 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2427 Removed util/Makefile from targets.
2430 Removed util subdir from SUBDIRS (temporarily,
2431 pending removal of magnifier-only code
2435 #ifdef-ed out magnifier dependencies, since
2436 magnifier IDL, headers, and binary now live in
2437 module gnome-mag and we don't want at-spi to depend
2438 on gnome-mag. A magnifier demo which can run alongside
2439 simple-at is forthcoming in the gnome-mag module.
2441 NOTE: Split magnifier binary, IDL, and magnification
2442 activation code from at-spi into module gnome-mag.
2444 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
2446 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
2447 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
2449 2002-05-03 Bill Haneman <bill.haneman@sun.com>
2452 Revved to version 0.13.0
2454 * idl/Accessibility_Registry.idl:
2455 Changed definition of KeySet from sequence of longs to sequence of
2456 KeyDefinitions, and added KeyDefinition struct.
2457 Required for fix to bug 80616.
2459 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
2460 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
2461 to use new definition (see above).
2463 * registryd/deviceeventcontroller.c: handle_keygrab(),
2464 spi_keyset_contains_key():
2465 Changed to make use of new struct; this allows matching based on
2466 string key-name, for instance "Tab". This also allows matching of
2467 composed characters, non-alphanumeric characters in a way that
2468 doesn't involve dependencies on X keysym codes directly, etc.
2470 * test/key-listener-test.c:
2471 Added test for Alt-Tab key using "string" specification of keyset,
2472 and modified one of the tests to use a keycode-based keyset.
2473 Thus this test both tests and demonstrates the creation and use of
2474 keysets of three forms: specified via keycode array,
2475 keysym array, and string array. (The string case only contains a
2476 single string, i.e. a string array of length 1).
2479 Turned on PRINT_TREE option by default. Also fixed a
2480 string-freeing bug in the PRINT_TREE code.
2481 Added a listener to window:minimize events.
2483 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
2485 * atk-bridge/bridge.c:
2486 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
2487 for window:activate and window:deactiveate
2488 (atk_bridge_property_event_listener atk_bridge_signal_listener
2489 atk_bridge_window_event_listener) Tidy debug code
2491 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
2493 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
2494 Fixed handling for NULL return value from ATK.
2496 * libspi/action.c libspi/component.c libspi/editabletext.
2497 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
2498 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
2499 Removed redundant casts.
2501 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
2502 Fixed off by one bug.
2504 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
2505 function not present in idl)
2507 2002-05-02 jacob berkman <jacob@ximian.com>
2509 * atk-bridge/Makefile.am: make atk-bridge a real module
2511 2002-04-26 Radek Doulik <rodo@ximian.com>
2513 * libspi/stateset.c (spi_init_state_type_tables): fix size of
2514 atk_state_types table
2516 2002-04-22 jacob berkman <jacob@ximian.com>
2519 * libspi/Makefile.am: add deps on the built files to help
2520 automake, and don't version the ORBit typelib
2522 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
2524 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
2525 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
2526 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
2527 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
2528 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
2529 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
2530 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
2531 libspi/accessible.h libspi/accessible.h libspi/base.h
2532 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
2533 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
2534 libspi/relation.h libspi/remoteobject.h libspi/selection.h
2535 libspi/spi-private.h libspi/statetset.h libspi/table.h
2536 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
2537 util/mag_client.h util/mag_control.c util/mag_image.c
2538 util/mag_image.h util/magnifier.c util/magnifier.h:
2539 Add missing file headers; standardize existing ones
2541 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
2543 * atk-bridge/bridge.c: Added window event support.
2545 2002-04-18 Michael Meeks <michael@ximian.com>
2547 * libspi/relation.c (impl_getNTargets): impl.
2548 (impl_getTarget): impl.
2550 * libspi/Makefile.am: fix stateset install.
2552 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2555 Started putting useful info in this file.
2557 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
2559 * atk-bridge/bridge.c:
2560 Propagate state-changed notifications to ATs
2562 * cspi/spi_registry.c: update docs to reflect actual behavior of
2563 state-change events.
2565 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2568 Incremented version to 0.12.1
2570 * util/mag_client.h:
2571 Add missing declaration for magnifier_exit,
2572 used by mag_control.c - Forte compiler didn't like
2573 the implicit redeclaration of the function :-(
2576 2002-04-16 Bill Haneman <bill.haneman@sun.com>
2579 Revved version to 0.12 due to API change (see below).
2581 * cspi/spi-roletypes.h:
2582 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
2583 definition from the inline docs, and added docs
2584 for SPI_ROLE_LAST_DEFINED.
2587 * cspi/spi_streamablecontent.c:
2588 Added missing seek_type parameter to
2589 (so far unused) method,
2590 AccessibleStreamableContent_seek().
2591 [ RT approval JodyG. ]
2594 Fixed docs for SPI_createAccessibleKeystrokeListener.
2596 * cspi/spi_registry.c:
2597 Fixed docs for SPI_KEYSET_ALL_KEYS.
2599 * docs/reference/cspi/at-spi-cspi-sections.txt:
2600 Added a number of missing APIs to SECTIONS.
2602 2002-04-16 Bill Haneman <bill.haneman@sun.com>
2604 * registryd/Makefile.am:
2606 * cspi/bonobo/Makefile.am:
2607 Add $(X_LIBS) to makefiles.
2609 2002-04-15 Bill Haneman <bill.haneman@sun.com>
2612 Revved version to 0.11.
2614 * libspi/component.c:
2615 Added implementation for grabFocus.
2617 * idl/Accessibility_Component.idl
2618 (Accessibility_Component_grabFocus):
2619 Made this method return boolean to indicate success or failure, to
2620 be consistent with cspi and the corresponding ATK method.
2622 * idl/Accessibility_Selection.idl
2623 (Accessibility_Selection_selectAll) :
2624 Made these methods return boolean to indicate success or
2625 failure, to be consistent with cspi and the corresponding ATK methods.
2627 * idl/Accessibility_EditableText.idl
2628 (Accessibility_EditableText_setTextContents,
2629 Accessibility_EditableText_insertText,
2630 Accessibility_EditableText_cutText,
2631 Accessibility_EditableText_deleteText,
2632 Accessibility_EditableText_pasteText):
2633 Made these methods return boolean to indicate
2636 * cspi/spi_editabletext.c:
2637 Made these methods return booleans.
2639 * libspi/selection.c:
2640 * libspi/component.c:
2641 * libspi/editabletext.c:
2642 Connected the boolean returns from ATK
2643 to the server-side code referenced above.
2645 2002-04-14 Bill Haneman <bill.haneman@sun.com>
2647 * idl/Accessibility_Table.idl: Added missing methods,
2648 Accessibility_Table_addRowSelection,
2649 Accessibility_Table_addColumnSelection,
2650 Accessibility_Table_removeRowSelection,
2651 Accessibility_Table_removeColumnSelection.
2654 Added C wrappers for above IDL:
2655 AccessibleTable_addRowSelection,
2656 AccessibleTable_addColumnSelection,
2657 AccessibleTable_removeRowSelection,
2658 AccessibleTable_removeColumnSelection.
2661 Added server-side implementation code for IDL above, connecting
2662 to pre-existing ATK api.
2664 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
2666 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
2668 * libspi/accessible.c: Added implementation fo
2669 Accessibility_Accessible_get_state.
2671 * libspi/libspi.h: Added stateset.h to the list of includes.
2673 * libspi/stateset.c: Fixed broken implementation.
2675 2002-04-13 Bill Haneman <bill.haneman@sun.com>
2678 Added implementation code for Accessibility_Magnifier_exit ().
2680 * util/mag_control.c:
2681 Added test code for above method; you can
2682 now kill an existing magnifier via
2683 ./mag_control q, from the util directory.
2685 * test/key-listener-test.c:
2687 Added a new test, for our key listener API.
2689 2002-04-11 Bill Haneman <bill.haneman@sun.com>
2691 * test/app.c, test/keysynth-demo.c:
2693 Replace use of snprintf with g_snprintf.
2694 (fix for bugzilla 78249)
2696 2002-03-27 Michael Meeks <michael@ximian.com>
2700 * util/Makefile.am (INCLUDES): fix.
2701 (DONT_DIST_SOURCE): don't distribute the
2704 * libspi/Makefile.am (dist-hook): ditto.
2706 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
2708 * libspi/hypertext.c:
2709 Fix warnings when yelp is used with atk-bridge
2711 2002-03-21 Michael Meeks <michael@ximian.com>
2713 * libspi/application.c (spi_application_new):
2714 use spi_accessible_construct so we use the AtkObject
2717 2002-03-19 Michael Meeks <michael@ximian.com>
2719 * registryd/registry.c (desktop_remove_application),
2720 (desktop_add_application): clean coding style.
2722 * registryd/desktop.c (spi_desktop_remove_application),
2723 (spi_desktop_add_application): kill re-enterency hazards.
2724 (spi_desktop_dispose): remove bogus redundant cast
2725 obscuring bug; fix bug too.
2726 (spi_desktop_init): make the desktop object immortal.
2728 2002-03-16 Bill Haneman <bill.haneman@sun.com>
2731 Added a #define-guarded tree-traversal step
2732 when enumerating the apps (diagnostic tool).
2734 2002-03-15 Bill Haneman <bill.haneman@sun.com>
2736 * idl/Accessibility_Role.idl:
2737 Added ROLE_DRAWING_AREA which seemed to be missing from the
2740 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2742 * cspi/spi-roletypes.h cspi/spi_accessible.c
2743 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
2746 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
2747 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
2748 AT when applications are added and removed from the desktop. This
2749 reverts the previous broken implementation using the backing
2750 AtkObject for the SpiDesktop.
2752 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2754 * registryd/desktop.c: emit the "children-changed::add" and
2755 "children-changed::remove" signals on the backing ATK object for
2756 the desktop so AT can tell when applications are started and shut
2759 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2761 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
2763 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2765 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
2767 * cspi/spi_accessible.c: Implemented c bindings for stateset support
2769 * cspi/state-types.h: synched with IDL and ATK
2771 2002-03-13 Bill Haneman <bill.haneman@sun.com>
2773 * libspi/accessible.c
2774 (impl_accessibility_accessible_get_child_at_index):
2775 Change return value for g_return_if_fail ()
2776 to CORBA_OBJECT_NIL instead of "0" (!)
2778 * registryd/Makefile.am:
2779 * registryd/Accessibility_Register.server.in:
2780 Changed name of executable, "registryd",
2781 to something more informative:
2784 2002-03-13 Michael Meeks <michael@ximian.com>
2786 * atk-bridge/bridge.c (atk_bridge_init): don't register
2787 if we're in a bonobo-component, rather than a bonobo app.
2789 2002-03-13 Michael Meeks <michael@ximian.com>
2791 * atk-bridge/bridge.c (gtk_module_init): split
2792 out body to (atk_bridge_init): here, since otherwise
2793 we get symbol conflicts and oddness when invoked
2794 from (gnome_accessibility_module_init): here (upd.)
2796 2002-03-11 Bill Haneman <bill.haneman@sun.com>
2799 New file. Explicitly allow "build sheriff" putbacks provided
2800 they are tested on Solaris.
2802 * docs/reference/cspi/Makefile.am:
2803 Added '-' to the "cp" command for index.sgml.
2804 ("patch by thomasvs, soon coming to a GUADEC near you")
2807 Incremented version number (0.9.0) for new release.
2808 Changed macro that checks for popt, to better detect
2809 obsolete versions of popt.
2812 Added X_LIBS to AC_SUBST, for applications
2813 that call Xlib API directly.
2816 2002-03-07 Bill Haneman <bill.haneman@sun.com>
2819 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
2822 Fix regression caused by hard-coding major
2823 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
2826 * test/test-simple.c (test_editable_text),
2827 (test_test): revert previous change (error was
2828 a regression in gail which is now fixed).
2830 2002-03-04 Michael Meeks <michael@ximian.com>
2832 * test/test-simple.c (test_editable_text),
2833 (test_text): pass G_MAXINT instead of '-1' for
2834 whole string - is this a good thing !?
2836 * cspi/spi_accessible.c
2837 (Accessible_getRelationSet): fix crasher bug
2838 overwriting the end of the array.
2840 * test/test-simple.c (validate_accessible): free,
2841 not g_free returned relation set.
2843 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
2845 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
2846 implemented stateset support
2848 * idl/Accessibility_State.idl: Made necessary changes to
2849 the IDL to support state sets.
2851 2002-02-12 Bill Haneman <bill.haneman@sun.com>
2853 * registryd/deviceeventcontroller.c:
2854 Added implementation for generateMouseEvent.
2856 * cspi/spi_registry.c:
2857 Connected new implementation for generateMouseEvent
2860 2002-02-12 Bill Haneman <bill.haneman@sun.com>
2863 Incremented revision (but no change in public API
2864 outside of 'utils', which are not installed public yet.)
2866 * libspi/component.c:
2867 Changed to use atk_component API for layers and
2868 mdi_zorder, instead of deprecated atk_object API.
2870 Magnification Utility Enhancements:
2873 Added implementation of createZoomRegion, clearAllZoomRegions,
2874 resizeZoomRegion. Added new commandline argument
2875 "--no-initial-region". Note that clearAllZoomRegions doesn't
2876 unmap the old '0' region as it should (yet), and the other
2877 methods only work when creating/resizing a single region,
2878 which is "region 0".
2879 (Code for multiple region support will be added later.)
2882 Now we raise the magnifier window each time it's refreshed;
2883 this will help keep it on top.
2885 * util/mag_client.h:
2886 Added simple wrappers for above, used by mag_control.
2887 For general use, it's recommended to use the bonobo magnifier
2888 control API directly instead of using these wrappers.
2891 Moved ZoomRegionData from magnifier.c to this file.
2893 * util/mag_control.c:
2894 Added some code to exercise new IDL implementations.
2896 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
2898 * libspi/text.c: Provide implementation for getAttributes.
2900 2002-02-04 Bill Haneman <bill.haneman@sun.com>
2903 Incremented revision.
2905 * test/test-simple.c:
2906 Replaced use of deprecated g_main_iteration with
2907 g_main_context_iteration.
2909 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
2912 Incremented revision for desktop alpha 2.
2914 2002-01-28 Mark McLoughlin <mark@skynet.ie>
2916 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
2919 * test/simple-at.c: include netinet/in.h.
2921 2002-01-24 Mark McLoughlin <mark@skynet.ie>
2923 * cspi/spi_accessible.c: (Accessible_getRelationSet):
2924 use NULL, not CORBA_OBJECT_NIL.
2926 * libspi/accessible.c:
2927 (impl_accessibility_accessible_get_relation_set):
2928 allocate the sequence correctly.
2930 * libspi/remoteobject.h: kill spi_remote_object_new.
2932 * test/test-simple.c: (validate_accessible): add code
2933 to test relation sets, now all we need is to figure
2934 out how to excercise this code path :/
2936 2002-01-18 Michael Meeks <michael@ximian.com>
2938 * test/test-simple.c
2939 (key_listener_cb): consume the key.
2940 (test_keylisteners): update.
2941 (main): wait for any pending unrefs on events.
2943 * registryd/deviceeventcontroller.c
2944 (spi_controller_update_key_grabs): only re-issue the
2945 grab on a key release.
2946 (spi_device_event_controller_forward_key_event):
2947 refresh the keygrabs before we notify the listeners,
2948 to reduce the X ungrab / re-grab race.
2949 (spi_controller_register_with_devices): remove
2950 XSelectInput - we do that with the gdk_window_ call.
2951 (_spi_controller_device_error_handler): return a value.
2952 s/GDK_DISPLAY/spi_get_display/
2954 2002-01-17 Michael Meeks <michael@ximian.com>
2956 * registryd/deviceeventcontroller.c
2957 (_deregister_keygrab): don't blow out the later
2960 * test/test-simple.c (test_keylisteners): do a
2961 more intelligent validation.
2963 2002-01-14 Michael Meeks <michael@ximian.com>
2965 * atk-bridge/bridge.c
2966 (gnome_accessibility_module_init),
2967 (gnome_accessibility_module_shutdown): impl.
2968 (gtk_module_init): protect vs. double inits.
2969 (add_signal_listener): impl.
2970 (spi_atk_bridge_state_event_listener): kill
2971 (deregister_application): split out of
2972 (spi_atk_bridge_exit_func): here.
2974 2002-01-18 Bill Haneman <bill.haneman@sun.com>
2977 Added caret tracking when using magnifier, and
2978 now use text bounds for focus tracking of text elements, rather than
2979 the component bounds - this is helpful for short text fields in long
2980 table cells, at high magnification.
2982 2002-01-16 Bill Haneman <bill.haneman@sun.com>
2984 * registryd/deviceeventcontroller.c:
2985 Regression fix for keylistener de-registration; global keygrabs
2986 were not being released when deregisterKeystrokeListener was
2987 called in cspi, since
2988 Accessibility_DeviceEventController_deregisterKeystrokeListener
2989 was called with a zero-length keyset. That is because the cspi
2990 method, SPI_deregisterKeystrokeListener, does not take a keyset
2991 parameter but instead should remove all the key grabs held be a
2993 The code in impl_deregister_keystroke_listener was changed to copy
2994 the keylist from the listener instance previously registered with
2995 the DeviceEventController before releasing the grabs.
2997 * registryd/registry.c:
2998 * registryd/deviceeventcontroller.c:
2999 * libspi/spi-private.h:
3001 Changed spelling of "re-enterant" to "re-entrant" globally.
3003 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3005 * test/test-simple.c:
3006 Changed key listeners test - the test was slightly mis-using the
3007 (admittedly poorly documented) SPI_generateKeyboardEvent API.
3008 It now uses '=' as the key event listened to and generated,
3009 relying on a keysym match rather than assuming that keycode 33
3010 is always equal to keysym '!'.
3012 2002-01-15 Bill Haneman <bill.haneman@sun.com>
3015 Changed simple-at to use a specific keyset, rather than
3016 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
3017 manager, desktop, etc.
3019 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3021 * registryd/deviceeventcontroller.c:
3022 Replaced standard X error handler with a special handler that
3023 is non-fatal for failed keygrabs. This works around
3024 problems with keygrab clashes sometimes observed on
3026 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
3027 mouse handling code as yet).
3029 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3032 Incremented revision for desktop alpha release.
3035 Fixed a couple of the more glaring errors (still not
3038 2002-01-11 Michael Meeks <michael@ximian.com>
3040 * registryd/deviceeventcontroller.c
3041 (spi_device_event_controller_forward_key_event): kill
3042 XUngrabKey / XKeyGrab race.
3043 (spi_controller_grab_keyboard): rename to
3044 (spi_controller_update_key_grabs): this, and deal
3045 with incremental adding / removing grabs more
3047 (_register_keygrab): ensure we're not pending a remove.
3048 (spi_grab_mask_free): impl.
3049 (spi_controller_register_global_keygrabs): split out
3051 (handle_keygrab): impl.
3052 (_deregister_keygrab): impl.
3053 (spi_controller_deregister_global_keygrabs): impl.
3054 (spi_controller_update_key_grabs): re-issue the grab if
3055 we just recieved a notification.
3057 * test/test-simple.c (key_listener_cb): remove debug.
3059 * registryd/deviceeventcontroller.c
3060 (spi_controller_register_device_listener): after
3061 registering a global keygrab, actualy register it !
3062 don't wait for a timeout; doh !
3064 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
3065 to make it more readable / manipulable.
3066 s/grabmask/grab_mask/ s/refcount/ref_count/
3067 s/keyval/key_val/ s/modmask/mod_mask
3069 2002-01-08 Michael Meeks <michael@ximian.com>
3071 * registryd/deviceeventcontroller.c
3072 (spi_controller_register_with_devices): use gdk calls to
3074 (global_filter_fn): implement the filter.
3075 (spi_device_event_controller_check_key_event): rename to
3076 (spi_device_event_controller_forward_key_event): this & upd.
3077 (spi_get_display): replace with GDK_DISPLAY.
3079 * registryd/deviceeventcontroller.c
3080 (spi_controller_deregister_device_listener): unroll into
3081 (impl_deregister_keystroke_listener): here to simplify.
3082 (spi_controller_register_global_keygrabs): split cut and
3083 paste (!) out into (_register_keygrab): here, shorter & sweeter.
3084 (spi_controller_deregister_device_listener): remove.
3085 (impl_register_mouse_listener): remove, no mouse listener
3086 support in at-spi-1.0
3088 * registryd/registry.c
3089 (_device_event_controller_hook): kill.
3090 (spi_registry_init): upd.
3092 * registryd/deviceeventcontroller.c
3093 (spi_device_event_controller_class_init): upd.
3094 (spi_check_key_event): merge into.
3095 (spi_device_event_controller_check_key_event):
3096 here and kill strange static ev init, don't leak
3097 the x_event - nor dynamicaly allocate it.
3099 * registryd/registry-main.c (main): re-direct
3100 timeout to remove strange vtable mess.
3102 * registryd/deviceeventcontroller.c
3103 (remove_listener_cb): impl.
3104 (spi_controller_deregister_device_listener):
3105 fix re-enterancy hazard.
3107 2002-01-07 Michael Meeks <michael@ximian.com>
3109 * registryd/deviceeventcontroller.c
3110 (spi_device_event_controller_new): upd.
3111 (impl_notify_listeners_sync): upd. debug.
3112 (spi_notify_keylisteners): fix re-enterancy hazards,
3113 prettify, remove O(n*n) iteration.
3114 (spi_controller_grab_keyboard): fix iteration.
3115 (spi_check_key_event): re-format to suit coding style.
3116 Clean all the warnings - we're warning free.
3118 * registryd/deviceeventcontroller.h:
3119 * registryd/registry.h: make mutualy referential with
3120 typesafe forward references instead of (!) void pointer
3123 2002-01-11 Michael Meeks <michael@ximian.com>
3125 * cspi/spi_accessible.c (role_names): add a role name
3126 to sync this array with the enum; and make the regression
3129 2002-01-10 Michael Meeks <michael@ximian.com>
3131 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
3132 allow expansion of enumeration & kill warning.
3134 * test/test-simple.c (key_listener_cb): impl.
3135 (test_keylisteners): impl.
3137 * cspi/spi-listener.h: make listener signatures const
3138 on the provided (const) events.
3140 * test/keysynth-demo.c: upd. to const events.
3142 * test/simple-at.c: ditto.
3144 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3147 Rev the version to 0.5 (the previous tarball was named 0.4,
3148 even though the micro number was 3), so we need to rev upwards
3149 again for beta2/"desktop-alpha"
3152 Checked in a demo script, which requires editing before use!
3153 Proceed with caution.
3156 Fixed typo in header which was redefining SPI_ACTION_CLASS.
3158 * cspi/spi_accessible.c:
3159 Add a couple of missing enum initializations, and fix some enum
3162 * cspi/spi_registry.c:
3163 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
3165 * docs/reference/cspi/at-spi-cspi-sections.txt:
3166 Remove/fix a couple of broken document references.
3169 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
3170 as Alt-Control to listen for commands, since on some systems
3171 Control-Alt may already be grabbed.
3173 2002-01-10 Bill Haneman <bill.haneman@sun.com>
3176 Update version number to 0.4 for Beta2.
3178 * libspi/accessible.c, libspi/accessible.h:
3179 Expose spi_accessible_construct, to enable libgail-gnome
3180 construction from spi_accessible subtype.
3182 * utils/magnifier.c:
3183 Workaround for bug in some non-gnome-compliant window managers
3184 which made magnifier resize improperly.
3186 2002-01-09 Bill Haneman <bill.haneman@sun.com>
3188 * libspi/accessible.c: (spi_accessible_new) :
3189 Move the test for SPI_IS_REMOTE_OBJECT to
3190 spi_accessible_new_return, fixing a bug and compile time warning.
3192 2002-01-08 Michael Meeks <michael@ximian.com>
3194 * registryd/registry.c (parse_event_type): remove strndup.
3196 * libspi/Makefile.am (libspi_la_SOURCES): remove
3197 sources already included in the headers section.
3199 * libspi/util.c: add.
3201 * libspi/spi-private.h: add.
3203 * registryd/registry.c: update to moved list iterators.
3205 2002-01-05 Michael Meeks <michael@ximian.com>
3207 * test/simple-at.c (main): upd. auto-module set to atk-bridge
3209 * test/test-simple.c (main): ditto.
3211 2002-01-04 Michael Meeks <michael@ximian.com>
3213 * libspi/accessible.c (spi_accessible_new): remove 2nd,
3214 redundant construct.
3216 * registryd/registry.c
3217 (get_listener_list): impl.
3218 (impl_accessibility_registry_register_global_event_listener):
3219 re-impl. to simplify using ~, remove dodgy const cast off.
3220 (parse_event_type): constify.
3221 (impl_accessibility_registry_deregister_global_event_listener_all):
3222 re-write, more efficiency and simplicity, kill re-enterancy
3224 (compare_listener_corbaref, compare_corba_objects),
3225 (compare_listener_quarks): define out.
3226 (impl_accessibility_registry_deregister_global_event_listener):
3227 re-write for effiency, and nail re-enterancy hazard.
3228 (impl_accessibility_registry_get_desktop_list): impl.
3229 (re_enterant_list_delete_link): impl.
3230 (re_enterant_list_foreach): impl.
3231 (remove_listener_cb): impl.
3232 (_registry_notify_listeners): kill.
3233 (notify_listeners_cb): impl.
3235 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
3236 (SPI_getDesktopList): impl.
3238 * test/test-simple.c (test_desktop): test the methods.
3240 2002-01-03 Michael Meeks <michael@ximian.com>
3242 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
3243 keystrings since we free them
3244 (SPI_freeAccessibleKeySet): in here.
3246 * libspi/accessible.c (spi_accessible_new): kill warning,
3247 wonder what is going on with the constructor here.
3249 2002-03-01 Bill Haneman <bill.haneman@sun.com>
3251 * libspi/accessible.c (spi_accessible_new ()) :
3252 Added check to see if AtkObject is an SpiRemoteObject before
3253 creating an SpiAccessible.
3255 2002-05-01 Bill Haneman <bill.haneman@sun.com>
3257 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
3258 Enable keygrabs using the Control modifier, now that they are
3259 working properly (they were previously disabled).
3262 Change the command keygrab for this demo to "Control+Alt", so as
3263 to conflict with fewer other key commands on the system; this
3264 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
3266 Removed a pointlessly-chatty keylistener for unshifted keys
3267 (shifted keys are still reported).
3269 2002-02-01 Bill Haneman <bill.haneman@sun.com>
3271 * libspi/remoteobject.h:
3272 * libspi/remoteobject.c:
3273 Added definitions for special AtkObject subtype, required for
3274 support of remote components (specifically, used by BonoboControl
3275 accessibility implementation).
3277 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
3279 * cspi/spi.h: synched relation types with ATK
3281 * cspi/spi_accessible.c: Added implementations of
3282 AcccessibleRelation_* methods
3284 * idl/Accessibility_Relation.idl: added getRelationTypeName
3285 method. Synched known relation types with ATK. Allowed for
3286 relation type extension with the RELATION_EXTENDED type.
3288 * libspi/relation.c: Provided implementations for
3289 AccessibleRelation methods.
3291 2002-01-01 Bill Haneman <bill.haneman@sun.com>
3293 API tweaks for today's API 'freeze'.
3296 Added placeholder functions to allow future compatible expansion
3297 of the IDL interfaces.
3299 * idl/Accessibility_Registry.idl:
3300 Changed generateKeyEvent to generateKeyboardEvent. Changed
3301 signature of this method to accept an optional keystring in
3302 parameter (for complex text input synthesis) and changed use of
3303 simple 'boolean' parameter in registerKeystrokeListener to a
3304 struct, EventListenerMode.
3306 * cspi/spi_accessible.c:
3308 * cspi/spi_streamablecontent.c:
3309 Added references to AccessibleStreamableContent interface, and
3310 definition and implementation of AccessibleStreamableContent
3313 * cspi/spi_registry.c:
3315 Changed generateKeyEvent API to generateKeyboardEvent,
3316 taking a new (optional) keystring parameter to support complex
3321 Renamed directory (to better reflect its actual purpose, bridging
3322 from at-spi to ATK). The .so module is also now named
3325 * idl/Accessibility_Hypertext.idl:
3326 * libspi/accessible.c:
3327 * libspi/hypertext.h:
3328 * libspi/hypertext.c:
3329 Changed Accessibility_Hypertext to *not* derive from
3332 * cspi/spi_registry.c:
3333 Added list of legal event type names for 'window' events, which
3334 completes the registry event API.
3336 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
3338 * at-bridge/bridge.c: Added registration for separate
3339 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
3340 signals. If either of the first two parameters to the generic
3341 bridge signal handler are ints, they are passed on as event
3342 details. This allows an AT to determine what text was inserted.
3344 2001-12-21 Bill Haneman <bill.haneman@sun.com>
3346 * registryd/deviceeventcontroller.c:
3347 Fixed regressions in generateKeyEvent caused by the removal of
3348 gdk_init from registryd; we now use pure X calls to connect to the
3349 display, which makes sense because deviceeventcontroller already
3350 uses a fair bit of X API (should eventually be migrated to a
3351 'portability layer').
3353 * registryd/desktop.c:
3354 Fixed minor regression in spi_desktop_init, changed the way the
3355 desktop name is being set to work with new spi_base API
3356 (gobject-based, rather than AtkObject-based).
3358 * registryd/Makefile.am:
3359 Minor revision of makefile to use XTST_LIBS variable rather than
3360 hard-wiring the Xtst LD_ADD element.
3362 * test/keysynth-demo.c:
3363 Tweaked an output message; added initialization of the
3364 'keystrings' member of the "switch listener" key_set.
3366 * libspi/relation.c:
3367 Squashed compile-time warning.
3369 * libspi/accessible.c:
3370 Cosmetic and formatting fixes, renamed a static method.
3372 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
3374 * libspi/accessible.c
3376 * libspi/application.c
3379 * libspi/component.c
3380 * libspi/editabletext.c
3381 * libspi/hyperlink.c
3382 * libspi/hypertext.c
3384 * libspi/selection.c
3388 * registryd/desktop.c:
3389 Changed SpiBase to contain a GObject pointer rather than an AtkObject
3391 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3393 * idl/Accessibility_Registry.idl:
3394 Added boolean member 'is_text' to DeviceEvent. This is for the
3395 use of key events, and helps prevent ambiguity between composed
3396 key strings and keysym names, since both may potentially be
3397 returned in the 'event_string' member.
3399 * at-bridge/bridge.c:
3400 * registryd/deviceeventcontroller.c:
3401 Use the 'is_text' member when notifying device event listeners.
3402 Knon issue: composed characters are not dealt with correctly by
3403 the global key listener implementation yet.
3405 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3407 * at-bridge/bridge.c:
3408 Namespaced local static methods to spi_atk_bridge_* where
3409 previously named bridge_*, and spi_* elsewhere.
3411 * at-bridge/bridge.c:
3412 * cspi/bonobo/cspi-bonobo-listener.c:
3413 Added demarshalling/conversion for string member of
3414 Accessibility_DeviceEvent to AccessibleKeystroke.
3416 * registryd/deviceeventcontroller.c:
3417 Added code to fill the Accessibility_DeviceEvent key string value
3418 member for global key events (i.e. from XGrabKey), to match
3419 behavior of Accessibility_DeviceEvent from the toolkit key events
3420 from the bridge. Fixed timestamp in global key event notifications.
3423 Added printout of key event's string value to
3424 report_ordinary_key_event, for demo/debugging purposes.
3426 2001-12-15 Bill Haneman <bill.haneman@sun.com>
3428 * idl/Accessibility_Registry.idl:
3429 Removed Accessibility_KeyStroke structure in favor of generic
3430 Accessibility_DeviceEvent structure.
3431 Changed Accessibility_ControllerEventMask from a struct to an
3434 * at-bridge/bridge.c:
3435 Changed APIs to use DeviceEvent structure as above, and removed
3436 bogus casting between these event structures.
3438 * cspi/spi-listener.h:
3439 Added keystring member of AccessibleKeystroke structure, to enable
3440 matching on event "names" rather than only hardware codes and
3444 Added keystrings member of AccessibleKeySet struct, to allow
3445 matching on event names (as above).
3446 Added declarations for SPI_createAccessibleKeySet and
3447 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
3448 event modmasks directly as unsigned ints rather than structs with
3449 refcounts, in the DeviceEventController methods.
3451 * cspi/spi_registry.c:
3452 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
3454 * cspi/spi-roletypes.h:
3455 Added documentation of newly added SPI Roles.
3457 * cspi/bonobo/cspi-bonobo-listener.c:
3458 Changes in support of API changes above.
3460 * libspi/accessible.c:
3461 Converted APIs to use DeviceEvent structure (see IDL changes
3464 * registryd/deviceeventcontroller.c:
3465 Added DEControllerGrabMask structure to track keygrabs not only by
3466 modmask but by keyset as well; this allows us to do "global"
3467 (i.e. X) keygrabs on a per-key or keyset basis rather than always
3468 grabbing on AnyKey and then filtering after-the-fact.
3469 Bugfixes for event filtration mean that we don't get false matches
3470 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
3472 * registryd/deviceeventcontroller.c:
3473 Namespaced a number of static methods to use spi_ prefix. Major
3474 revision to internals of global (i.e. X) key grabs.
3476 * registryd/deviceeventcontroller.h:
3477 Removed keymask_list and added keygrabs_list to
3478 SpiDeviceEventController struct.
3481 Added use of SPI_createAccessibleKeySet API when creating a
3482 listener for only one key. Attach a listener to "shift spacebar
3483 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
3484 X key event names to SPI key event names, so that listeners are
3485 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
3487 * test/keysynth-demo.c:
3488 Changed (incorrect) use of X key event names (KeyPressed,
3489 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
3492 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3494 * libspi/accessible.c:
3495 Convert all AtkRole enumerations to Accessibility_Role enums when
3496 getting a role from an AtkObject.
3498 * cspi/spi_accessible.c:
3499 Complete the conversion of Accessibility_Role enums at runtime to
3500 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
3501 role enums correctly match those given in spi-roletypes.h.
3502 Re-synchronize the local names list for AccessibleRole_getName ().
3503 AccessibleRole_getName is now deprecated, since it duplicates the
3504 more reliable Accessible_getRoleName.
3505 Added some role types from Accessibility_Role.idl.
3507 * idl/Accessibility_Role.idl:
3508 Added some role types used by AtkRole.
3510 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3513 * cspi/spi_registry.c:
3515 * cspi/cspi-bonobo-listener.c:
3516 Namespaced all methods that did not begin with an "SPI_" or
3517 "Accessible" prefix to "SPI_".
3520 Homogenized internal function namespace to "cspi_" for statics.
3523 Patched tests to use the new CSPI API.
3525 * docs/reference/cspi/at-spi-cspi-sections.txt:
3526 Updated docs to reflect namespace changes, and added a number of
3527 methods to the documentation.
3529 * registryd/registry.c:
3530 Changed use of strings and string hashes in listener event
3531 matching and parse_event_string to use GQuark, which is guaranteed
3534 * registryd/registry.h:
3535 Squashed annoying warning.
3537 * idl/Accessibility_Role.idl:
3538 Extended range of available Accessibility_Role values.
3540 * cspi/spi_accessible.c:
3541 Re-ordered role names.
3543 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3545 * idl/Accessibility_Value.idl:
3546 Revert use of union back to CORBA_double, since the double type is
3547 more efficient and can contain the other types without loss of
3550 * idl/Accessibility_Accessible.idl:
3551 Added method Accessibility:Accessible:getRoleName, to complement
3552 Accessibility:Accessible:getRole.
3554 * cspi/spi_accessible.c:
3556 Added C binding for above, Accessible_getRoleName (), and changed
3557 signature of Accessible_getRole () to return an AccessibleRole.
3559 * cspi/spi-roletypes.h:
3560 Changed AccessibleRole_getName to return a char * instead of a
3561 const char *. This method is now at least temporarily deprecated
3562 in favor of asking Accessibles for their RoleNames directly.
3565 Revert to match Accessibility_Value.idl;
3569 Change signature of AccessibleValue methods to use double rather
3573 * cspi/spi_accessible.c:
3574 Changed Accessible_getRole to return an AccessibleRole enum rather
3575 than a UTF-8 string. The UTF-8 string can still be obtained via
3576 AccessibleRole_getName ().
3578 * test/test-simple.c:
3579 Add test_action. Small fixup to match API change to Accessible_getRole.
3582 Bugfix for get_action_from_servant ().
3584 2001-12-11 Michael Meeks <michael@ximian.com>
3586 * libspi/libspi.h: remove registry.h and
3587 desktop.h, deviceeventcontroller.h
3589 * libspi/Makefile.am: remove registry.[ch],
3590 desktop.[ch], deviceeventcontroller.[ch]
3592 * registryd/Makefile.am: add registry.[ch],
3593 desktop.[ch], rename registryd.c to registry-main.c.
3594 add deviceeventcontroller.[ch]
3596 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3599 Replace setenv() call with putenv ().
3601 * libspi/component.c:
3602 Bugfix in AccessibleComponent_getExtents (),
3605 2001-12-11 Michael Meeks <michael@ximian.com>
3607 * libspi/image.c (impl_getImageExtents): impl.
3608 (spi_image_class_init): upd.
3611 (AccessibleImage_getImageDescription): fix daft bug
3614 * test/test-simple.c (global_listener_cb): update
3615 to only quit if not --poke
3616 (main): catch --poke.
3617 (validate_accessible): upd. dumping, call test_image
3620 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
3623 * idl/Accessibility.idl: update all IDL includes.
3625 * idl/*.idl - rename to namespace - this sucks, blame
3626 mjs' bad decision for oafd.
3628 * test/test-simple.c (create_test_window): add more tests.
3629 (create_tree): split this out.
3630 (validate_accessible): bugfix.
3632 2001-12-11 Michael Meeks <michael@ximian.com>
3634 * cspi/bonobo/cspi-bonobo-listener.c:
3635 (cspi_kestroke_listener_unref),
3636 (cspi_event_listener_unref): impl. undoing previous
3637 homenous environment - for Bill.
3639 * cspi/spi_table.c (long_seq_to_array): use
3642 * cspi/spi_main.c: split out all bonoboish bits into
3645 * cspi/spi-impl.h: upd. typedefs.
3647 * cspi/spi_registry.c: update to lowlevel API,
3648 return booleans to indicate success in some places.
3650 * cspi/spi_event.c: update to lowlevel API.
3652 * cspi/bonobo/Makefile.am: add.
3654 * cspi/bonobo/cspi-lowlevel.h: add
3656 * cspi/bonobo/cspi-bonobo.c: add
3658 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
3660 * cspi/Makefile.am: remove spi-listener-impl.[ch],
3661 (SUBDIRS): add bonobo, link in the libs.
3663 * cspi/spi-util.c: kill this file.
3665 * TODO: merge in my bits.
3667 2001-12-11 Michael Meeks <michael@ximian.com>
3669 * test/test-simple.c (test_value, test_table, main):
3670 remove unused variables causing warnings.
3672 * configure.in: cleanup checks - require gail.
3674 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3677 Changed Value interface to use SValue (scalars) rather than
3678 assuming all values are floats. This allows floats, doubles,
3679 longs, shorts, and unsigned values to be manipulated.
3680 Introduced Accessibility:SValue union.
3683 Updated to use new API above, and to work correctly with GValues
3684 of different types in AtkValue.
3687 Updated to use new API above. cspi's API is as yet unchanged.
3690 Updated the Value revision action item.
3692 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3694 * test/test-simple.c:
3695 Added test_table (GtkTreeView widget in test window to follow).
3696 Un-commented test_value, added GtkRange widget.
3697 Added GtkTreeView widget with GtkListStore. It passes regression
3698 test but leaks one SPI object for some reason.
3701 Fixed bug in impl__set_currentValue.
3703 2001-12-10 Michael Meeks <michael@ximian.com>
3705 * cspi/spi_text.c: audit for exception handling,
3706 tolerating NULL object references safely etc.
3708 * cspi/spi_value.c: ditto.
3710 * cspi/spi_table.c (AccessibleTable_getSummary),
3711 (AccessibleTable_getAccessibleAt),
3712 (AccessibleTable_getRowHeader),
3713 (AccessibleTable_getColumnHeader),
3714 (AccessibleTable_getCaption): fix bugs hidden by
3716 (long_seq_to_array): impl.
3717 (AccessibleTable_getSelectedRows),
3718 (AccessibleTable_getSelectedColumns): use it.
3720 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3723 Added a TODO list (rough and short for now).
3725 * cspi/spi_hyperlink.c:
3726 * cspi/spi_hypertext.c:
3727 Fixed macro name typos, and remove use of obsolete macro in
3728 AccessibleHyperlink_getLink.
3730 * cspi/spi_action.c:
3731 * cspi/spi_accessible.c:
3732 * cspi/spi_application.c:
3733 * cspi/spi_component.c:
3734 * cspi/spi_selection.c:
3737 Documentation fixes (removed return values from ref/unref methods).
3739 2001-12-10 Michael Meeks <michael@ximian.com>
3741 * cspi/spi_action.c: audit for exception handling,
3742 tolerating NULL object references safely etc.
3744 * cspi/spi_accessible.c: ditto.
3746 * cspi/spi_component.c: ditto.
3748 * cspi/spi_editabletext.c: ditto.
3750 * cspi/spi_hyperlink.c: ditto.
3752 * cspi/spi_hypertext.c: ditto.
3754 * cspi/spi_image.c: ditto.
3756 * cspi/spi_selection.c: ditto.
3758 2001-12-10 Michael Meeks <michael@ximian.com>
3760 * configure.in: use cspi/libspi.pc.in instead.
3762 * Makefile.am (pkgconfig_DATA): upd. to match.
3764 * test/simple-at.c (report_focus_event): kill hacks around
3765 bad return values, use putenv not setenv
3767 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
3768 fire ChildGone - I killed it.
3770 * libspi/component.c
3771 (impl_accessibility_component_get_extents): remove
3774 * idl/Accessible.idl: kill ChildGone exception.
3776 * cspi/*.[ch]: kill int return from ref / unref.
3778 * cspi/spi_main.c (cspi_object_add_check): fold into
3779 (cspi_object_add): here.
3781 * cspi/spi_component.c (AccessibleComponent_getExtents):
3782 handle exceptions elegantly.
3784 * cspi/spi-private.h (cspi_check_ev_return),
3785 (cspi_return_if_fail): impl.
3787 * cspi/spi_accessible.c: use extensively.
3788 (AccessibleStateSet_equals): add direct compare check.
3790 * cspi/spi_selection.c: tolerate NULL objs, and check
3791 exceptions before return.
3793 * cspi/spi-util.c (cspi_warn_ev): rename to
3794 (cspi_check_ev): this & don't pass ev in; no point.
3796 2001-12-10 Michael Meeks <michael@ximian.com>
3798 * test/test-simple.c: use putenv not setenv
3799 (get_environment_vars): more chatty if you're not using
3802 * test/simple-at.c: do the setenv so more people see the
3805 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3807 * libspi/registry.c:
3808 Changed check of CORBA_environment on notification to be a warning
3809 instead of an error for the moment, since we can recover from this
3810 error when caused by a queued notification from a dead app.
3813 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
3814 used by all current implementors of AtkValue), and coerce to
3815 CORBA_float. (Proper general case fix may require change to Value.idl).
3817 2001-12-09 Bill Haneman <bill.haneman@sun.com>
3821 * cspi/spi_accessible.c:
3822 Documentation fixes: added user_data params to documentation for
3823 listeners and callbacks.
3825 * cspi/spi_accessible.c:
3826 Changed AccessibleStateSet_compare to return a
3827 StateSet rather than return the difference set into a third parameter.
3830 2001-12-09 Bill Haneman <bill.haneman@sun.com>
3833 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
3834 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
3838 Remove subdirectory po from SUBDIRS for now.
3840 * at-bridge/bridge.c:
3841 Beefed up a couple of debug printouts.
3842 One-line fix for signal notification name formatting.
3844 * libspi/accessible.c:
3845 Added assertion to spi_accessible_new ().
3847 * libspi/application.c:
3848 Put #ifdef qualifiers around a printf.
3851 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
3853 * registryd/Makefile.am:
3855 Replaces use of XML_I18N_MERGE_SERVER_RULE with
3856 INTLTOOL_SERVER_RULE macro.
3859 Added an event listener for several ATK signals, for
3860 testing and debugging. Removed a few g_warnings.
3861 Added test output if focussed item implements the Value interface.
3863 * test/test-simple.c:
3864 Added test_value () function (known not to pass at the moment, so
3865 not actually called yet.
3867 2001-12-08 Michael Meeks <michael@ximian.com>
3869 * at-bridge/bridge.c (bridge_focus_tracker),
3870 (emit_eventv): fix the same ref. leak.
3871 (register_atk_event_listeners): don't leak.
3873 * cspi/spi-listener-impl.c (cspi_event): more
3874 protection from client code.
3876 * test/test-simple.c (test_desktop): unref the app.
3878 * test/Makefile.am: upd. TESTS.
3880 * at-bridge/bridge.c (bridge_exit_func): release the registry.
3882 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
3884 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
3886 * cspi/spi_registry.c: constify in strings.
3887 (deregisterGlobalEventListenerAll): don't release the ref.
3889 * cspi/spi.h: start removing redundant / conflicting
3890 gtkdoc comments, making the API readable at a glance :-)
3892 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
3894 * test/keysynth-demo.c (keysynth_exit, main): upd.
3896 * test/simple-at.c (main, simple_at_exit): upd.
3898 * test/test-simple.c (unutterable_horror): kill.
3899 (utterable_normal_derefs): kill.
3900 (main): upd & do a setenv before gtk_init, so that we
3901 can use memprof - and to save the pain of remembering
3902 this, if we're running under memprof - don't exit.
3904 * cspi/spi_main.c (SPI_exit): return exit status
3906 (SPI_event_quit): impl.
3907 (SPI_event_main): simplify.
3908 (cspi_is_gnome_app): kill.
3909 (SPI_init): kill isGNOMEapp arg.
3911 * at-bridge/bridge.c (register_atk_event_listeners):
3912 re-instate the unref.
3913 (bridge_exit_func): don't re-activate the registry,
3914 protect vs. theoretical re-entry, use the
3915 AT_BRIDGE_SHUTDOWN env. var to determine whether to
3916 assert a clean shutdown - for regression tests.
3918 2001-12-08 Abel Cheung <maddog@linux.org.hk>
3920 * configure.in: Comment out dummy i18n support for now,
3921 otherwise it fails to build.
3922 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
3923 EXTRA_DIST. They are missing in tarball.
3925 2001-12-07 Michael Meeks <michael@ximian.com>
3927 * util/magnifier.c: kill bonobo activation reg. race.
3929 * libspi/component.c
3930 (impl_accessibility_component_get_extents): make it match
3933 * libspi/registry.c (_registry_notify_listeners):
3934 re-remove X headers & reconcile conflicts.
3935 (spi_listener_struct_free): bad conflict resolve.
3936 (impl_accessibility_registry_register_application):
3937 more bad merging fixed.
3938 (impl_accessibility_registry_deregister_application): ditto.
3939 (spi_registry_new): ditto.
3940 (spi_registry_init): don't have an applications field.
3942 [ merge fixups2 branch to here ]
3943 2001-12-07 Michael Meeks <michael@ximian.com>
3945 * test/simple-at.c (report_focus_event),
3946 (report_focussed_accessible): remove g_warning debug.
3948 2001-12-07 Michael Meeks <michael@ximian.com>
3950 * test/test-simple.c (validate_tree): comment out some checks.
3951 (test_desktop): app now not registered idly - horay.
3953 2001-12-07 Michael Meeks <michael@ximian.com>
3955 * cspi/spi_registry.c
3956 (registerAccessibleKeystrokeListener): clean, stop it leaking
3957 great swathes of memory, and device event controller references.
3958 ensure we always pass valid sequences.
3959 (deregisterAccessibleKeystrokeListener): ditto.
3960 (generateKeyEvent): upd.
3962 * at-bridge/bridge.c (bridge_key_listener): handle
3963 registry dead exception gracefully.
3964 (bridge_focus_tracker, emit_eventv): free ev.
3966 * test/simple-at.c (report_focus_event): fix polarity.
3968 * libspi/application.c (notify_listeners): kill the ev
3969 argument, and make sure we init the ev we use.
3970 (spi_application_object_event_listener): split out a chunk
3971 (get_atk_object_ref): here & fixup.
3972 (reverse_lookup_name_for_toolkit_event): make const.
3973 (spi_application_toolkit_event_listener): fixup, kill leaks
3976 * at-bridge/bridge.c (register_atk_event_listeners):
3977 don't unref the noop object - causes grief.
3979 * libspi/registry.c: remove the X headers.
3980 turn off the debug churn.
3982 * libspi/accessible.c (spi_accessible_new_return): only
3983 release the ref if we are supposed to [doh]
3985 * test/simple-at.c (report_button_press, report_focus_event):
3986 guard vs. unexpected exit.
3988 * at-bridge/bridge.c (gtk_module_init): prune printf.
3989 (bridge_exit_func): fix app unref.
3991 * libspi/Makefile.am: don't install registry or desktop.h
3993 * libspi/*.h: update includes.
3995 * libspi/application.h: don't include ourself, or
3996 other redundant headers.
3998 2001-12-06 Michael Meeks <michael@ximian.com>
4000 * libspi/accessible.c
4001 (get_accessible_from_servant): impl.
4002 Upd. all CORBA impl.s to use it killing cut and paste.
4004 * cspi/spi_main.c (cspi_cleanup): guard vs. double
4006 (SPI_init): register atexit cleanup handler here.
4008 2001-12-06 Michael Meeks <michael@ximian.com>
4010 * at-bridge/bridge.c (gtk_module_init): g_error on
4011 activation exception
4013 2001-12-06 Michael Meeks <michael@ximian.com>
4015 * at-bridge/bridge.c (gtk_module_init): some sort of
4016 confusing merge clash - reverted.
4017 (bridge_idle_init): ditto.
4019 * test/test-simple.c (main, utterable_normal_derefs):
4020 merge from Bill - somehow not committed.
4022 2001-12-06 Michael Meeks <michael@ximian.com>
4024 * libspi/value.c (spi_value_class_init): upd.
4025 (spi_value_finalize): kill.
4027 * libspi/table.c (spi_table_finalize): kill.
4028 (spi_table_interface_new): upd.
4029 (spi_table_class_init): upd.
4030 (get_table_from_servant): impl.
4031 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4033 * libspi/selection.c (spi_selection_finalize): kill.
4034 (spi_selection_interface_new): upd.
4035 (spi_selection_class_init): upd.
4036 (get_selection_from_servant): impl.
4037 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4039 * libspi/relation.c (spi_relation_finalize): kill.
4040 (spi_relation_class_init, spi_relation_new): upd
4042 * libspi/image.c (spi_image_finalize): kill.
4043 (spi_image_class_init): upd.
4044 (spi_image_interface_new): upd.
4045 (get_image_from_servant): impl.
4046 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4048 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
4049 (spi_hyperlink_finalize): kill.
4050 (spi_hyperlink_new): upd.
4051 (get_hyperlink_from_servant): impl.
4052 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4054 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
4055 (spi_hypertext_finalize): kill.
4056 (spi_hypertext_class_init): upd.
4057 (get_hypertext_from_servant): impl.
4058 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4060 * libspi/editabletext.c (spi_editable_text_finalize): kill.
4061 (spi_editable_text_interface_new): upd.
4062 (get_editable_text_from_servant): impl.
4063 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4065 * libspi/text.c (get_text_from_servant): impl.
4066 All impls - update to use it killing more cut and paste,
4067 also fix bad string returns on duff args ( a somewhat
4068 impossible case to handle - but hey ).
4069 (spi_text_construct): impl.
4070 (spi_text_interface_new): upd.
4071 (spi_text_object_finalize): kill.
4073 * libspi/component.c
4074 (accessibility_component_object_finalize): kill.
4075 (spi_component_class_init): upd.
4076 (get_component_from_servant): impl. helper to kill cut & paste.
4077 (impl_accessibility_component_contains):
4078 (impl_accessibility_component_get_accessible_at_point):
4079 (impl_accessibility_component_get_position):
4080 (impl_accessibility_component_get_extents):
4081 (impl_accessibility_component_get_mdi_z_order):
4082 (impl_accessibility_component_get_layer):
4083 (spi_component_interface_new): upd.
4085 * libspi/action.c (spi_action_finalize): kill.
4086 (spi_action_class_init): upd. inherit from SpiObject.
4087 (spi_action_interface_new): upd.
4088 (get_action_from_servant): impl. helper to reduce cut & paste.
4089 (impl_getKeyBinding, impl_getName, impl_doAction),
4090 (impl_getDescription): Use it everywhere.
4092 * cspi/spi_main.c (get_live_refs): a pointer hash.
4093 (spi_object_hash, spi_object_equal): comment out.
4094 There are issues with CORBA object hashing that need
4097 * libspi/application.c (spi_application_init),
4098 (spi_application_new): upd.
4100 * libspi/accessible.c (spi_accessible_object_finalize): kill.
4101 (spi_accessible_class_init): upd.
4102 s/accessible/object/ in epv methods.
4104 2001-12-05 Bill Haneman <bill.haneman@sun.com>
4106 * at-bridge/bridge.c:
4107 Reorder the bridge initialization into the bridge gtk_module_init,
4108 an immediate call to bridge_register_app, and an idle_add for
4109 register_atk_event_listeners (the only code that *must* wait until
4110 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
4111 the activation, creates the application's Accessible object, and
4112 queues the bridge_idle_init function. Restored call to
4113 Accessibility_Registry_deregisterApplication().
4114 Prior to making this call we obtain a new reference to the
4115 registry, which is a temporary hack that helps us handle apps that
4116 shut down the bonobo mainloop before we get there.
4118 * libspi/registry.c:
4119 Fix string leakage in debug block, and don't segv if a an app
4120 dies before its event notifications have been propagated.
4123 Modify cspi_check_ev() to call g_warning() rather than g_error(),
4124 as stopgap measure until we get proper exception handling when
4125 objects die during or before interrogation.
4129 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
4130 Also changed default value of is_gnome_app to TRUE.
4133 * test/keysynth-demo.c:
4134 Changed use of SPI_init and SPI_event_main to reflect API change above.
4137 Made report_focus_event check the warning value from getName
4138 before reporting on focussed accessible; simplifies handling of
4139 notifications from dead objects.
4141 * test/test-simple.c: (Changes not in this patch since source is
4144 2001-12-05 Michael Meeks <michael@ximian.com>
4146 * registryd/registryd.c (main): protect against
4147 bonobo-activation startup race condition.
4149 * cspi/spi_main.c (cspi_object_add_check): cope
4150 with the exception elegantly.
4152 * idl/Accessible.idl: decl. ChildGone
4154 * libspi/desktop.c (spi_desktop_dispose): impl.
4155 (spi_desktop_class_init): upd.
4156 (spi_desktop_add_application),
4157 (spi_desktop_remove_application),
4158 (abnormal_application_termination): impl.
4159 (impl_desktop_get_child_at_index): re-impl.
4162 (impl_accessibility_registry_deregister_application),
4163 (impl_accessibility_registry_register_application):
4164 kill excessive debug clutter.
4166 * test/test-simple.c (test_misc): test some NULL
4167 tolerance. (main): upd.
4169 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
4170 implements no interfaces - so let's not crash.
4172 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
4174 * libspi/accessible.c (spi_accessible_new_return): impl.
4175 helper to calm the cut and paste, to cope with
4176 NULL AtkObjects effectively and efficiently, and to kill
4177 the referencing bugs.
4179 * libspi/table.c (impl_getAccessibleAt),
4180 (impl_getRowHeader, impl_getColumnHeader): upd.
4182 * libspi/hyperlink.c (impl_getObject): upd.
4184 * libspi/accessible.c
4185 (impl_accessibility_accessible_get_child_at_index): upd.
4187 * libspi/component.c
4188 (impl_accessibility_component_get_accessible_at_point): upd.
4190 * test/test-simple.c (test_editable_text, test_text): impl.
4193 * cspi/spi_editabletext.c
4194 (AccessibleEditableText_insertText): constify.
4196 * test/test-simple.c (focus_me): make more robust.
4198 * libspi/accessible.c: remove some printfs in methods that
4199 we test and work fine, so we can get a clean tree dump.
4201 * test/test-simple.c (validate_accessible),
4202 (validate_tree): make tree dumping pretty too.
4204 * at-bridge/bridge.c (bridge_signal_listener): upd. so
4205 it builds without debug on.
4207 * test/test-simple.c (validate_accessible): fix the most
4210 * cspi/spi_main.c (spi_object_release): leave the nicely
4211 blanked memory around if in debug mode.
4213 * cspi/spi-listener-impl.c (cspi_event): use add_check.
4215 [committed to fixups2]
4216 2001-12-05 Michael Meeks <michael@ximian.com>
4218 * libspi/editabletext.c
4219 (spi_editable_text_class_init): g_type_class_peek_parent,
4220 not interface peek - so we finalize cleanly.
4222 * libspi/accessible.c (spi_accessible_new): kill debug.
4224 * test/test-simple.c (validate_accessible): fix ref.
4225 leak, print strings before freeing them; sigh, comment a
4226 chunk out due to strangeness.
4227 (validate_tree): unref the child after use.
4229 * cspi/spi_component.c (AccessibleComponent_getLayer):
4230 add missing break statement, switch on zlayer not the
4231 uninitialized retval.
4233 * cspi/spi_main.c (cspi_object_add): add assert, local ref
4234 before (possibly re-entering) remote unref.
4236 * test/simple-at.c (main): unref the desktop.
4238 * cspi/spi_accessible.c (cspi_accessible_is_a): move
4241 * cspi/spi_main.c (cspi_accessible_is_a): here to
4242 isolate bonobo API usage more.
4244 * libspi/registry.c (impl_accessibility_registry_register_application):
4245 prune bogus comment.
4247 2001-12-04 Michael Meeks <michael@ximian.com>
4249 * test/test-simple.c (validate_tree): upd.
4250 IndexInParent check to make it more lucid.
4251 (validate_accessible): dump the tree.
4253 * libspi/accessible.c (de_register_public_ref),
4254 (get_public_refs): impl.
4255 (spi_accessible_new): make more efficient & intuitive.
4256 Now IndexInParent check works.
4258 2001-12-04 Michael Meeks <michael@ximian.com>
4260 * cspi/spi-util.h: remove.
4262 * cspi/spi.h: move SPI_freeString here
4264 * libspi/component.c (impl_accessibility_component_get_layer):
4266 (impl_accessibility_component_get_mdi_z_order): ditto,
4267 return -1 on error - is this ok ?
4269 * test/test-simple.c (test_application): impl.
4271 * cspi/spi_accessible.c (Accessible_getApplication),
4272 (Accessible_isApplication): impl.
4274 * libspi/registry.c (spi_listener_struct_free): release
4275 the CORBA reference too.
4277 * libspi/accessible.c
4278 (impl_accessibility_accessible_get_parent): fix ref leak.
4280 * libspi/registry.c (spi_registry_new): make the registry
4281 immortal - we don't want it to go away ever.
4283 * libspi/application.c
4284 (spi_accessible_application_finalize): impl. cleanup.
4286 * cspi/spi_registry.c
4287 (deregisterGlobalEventListenerAll),
4288 (deregisterGlobalEventListener),
4289 (deregisterAccessibleKeystrokeListener): fix ref leak.
4291 * cspi/spi_main.c (SPI_init): remove redundant ref.
4293 * test/test-simple.c (unutterable_horror): impl. to force a
4298 (impl_accessibility_registry_deregister_application): release
4299 the application when we de-register it.
4301 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
4302 until we have the infastructure to get it right.
4304 2001-12-03 Michael Meeks <michael@ximian.com>
4306 * libspi/Makefile.am: only build eventlistener.[ch]
4308 * libspi/accessible.c
4309 (impl_accessibility_accessible_get_child_at_index): don't leak.
4311 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
4312 before we hit the idle handler.
4314 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
4315 debugging than exit.
4317 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
4319 * libspi/listener.c (impl_notify_event): check source
4320 not NIL before unref.
4322 * libspi/registry.c (impl_registry_notify_event): ditto.
4324 * libspi/eventlistener.c
4325 (impl_accessible_event_notify_event): unref the source.
4327 * libspi/accessibleeventlistener.c
4328 (impl_accessible_event_notify_event): unref the source.
4330 * idl/Event.idl: remove 'hash_id' attribute - of no
4333 * libspi/application.c (notify_listeners): upd list
4335 (spi_application_object_event_listener),
4336 (spi_application_toolkit_event_listener): upd to do correct
4340 (_registry_notify_listeners): update.
4341 (parse_event_type): this method also leaks like a sieve.
4342 (impl_accessibility_registry_deregister_global_event_listener):
4343 fix ETYPE_WINDOW case.
4345 * libspi/application.c
4346 (impl_accessibility_application_register_object_event_listener):
4349 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
4351 * libspi/hypertext.c (impl_getLink): ditto.
4353 * cspi/spi_main.c (cspi_object_add): remove
4354 bogus CORBA_Object_duplicate.
4356 * cspi/spi-listener-impl.c (cspi_event): dup/ref
4359 * cspi/spi_accessible.c
4360 (Accessible_getRelationSet): fix leak / referencing issue.
4362 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
4363 (cspi_object_add, cspi_object_unref): upd.
4364 (spi_object_release, get_live_refs): impl.
4365 (cspi_cleanup): simplify.
4367 * *.[ch]: s/boolean/SpiBoolean/
4369 * cspi/spi_accessible.c (role_names): actualy order so it
4370 corresponds with the enum !
4372 * test/test-simple.c (test_roles): check some role strings
4373 vs. enums to detect offset errors.
4375 2001-12-01 Michael Meeks <michael@ximian.com>
4377 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
4379 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
4381 (Accessible_getChildAtIndex): use cspi_add_check so we
4382 check the ev before using a (possibly) invalid value.
4384 * libspi/accessible.c
4385 (impl_accessibility_accessible_get_parent): don't segv
4388 * at-bridge/bridge.c (gtk_module_init): upd.
4389 (bridge_property_event_listener): don't leak strings
4391 (bridge_state_event_listener),
4392 (bridge_property_event_listener): don't use a static
4393 buffer in case of recursive event emission &
4394 re-enterancy - split out the swathe of cut and paste
4396 (emit_eventv): and fix 2 ref leaks here & comply to the
4398 (bridge_register_app): rename to
4399 (bridge_idle_init): this and kill arg parsing, split
4400 various inits & bonobo-activation registration to module
4401 init time, kill referencing error.
4402 (bridge_exit_func): fix the same leak.
4403 (bridge_focus_tracker): don't leak event structures
4405 (bridge_signal_listener): more leakage and cut & paste
4407 (bridge_key_listener): return the result - FIXME is
4408 this polarity correct ?
4409 (accessibility_keystroke_from_atk_key_event): rename
4410 (accessibility_init_keystroke_from_atk_key_event): and stop
4412 (gtk_module_init): return a value - not that it is checked by
4414 (bridge_key_listener): register my horror at casting between
4415 IDL defined structs.
4416 (bridge_get_registry): kill - not used.
4418 * cspi/spi_accessible.c (Accessible_getRole): make return const.
4420 * test/test-simple.c (test_roles): impl.
4421 (test_desktop, validate_accessible, validate_tree): impl.
4423 * cspi/spi_accessible.c (role_names): fixup bogus
4424 MAX_ROLES setup, make constants const for efficient linkage
4425 (AccessibleRole_getName): conform to coding style, make
4428 2001-11-30 Michael Meeks <michael@ximian.com>
4430 * cspi/spi.h: add missing prototype.
4432 * libspi/registry.c (spi_listener_struct_new): fix sig.
4434 * test/Makefile.am: add test-simple
4436 * test/test-simple.c: add
4438 * test/test.sh: add.
4440 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
4442 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
4443 do it straight - since otherwise we often get an activation race.
4445 [ work before Bill duplicated a chunk of it ... ]
4446 2001-11-30 Michael Meeks <michael@ximian.com>
4448 * libspi/keystrokelistener.c
4449 (spi_keystroke_listener_class_init): fixup arg
4452 * libspi/eventlistener.c
4453 (spi_event_listener_class_init): ditto.
4455 * tests/test.sh: add.
4457 * cspi/spi-listener-impl.h: update macros.
4459 * cspi/spi-listener-impl.c
4460 (cspi_event_listener_remove_callback): add
4461 correct pre-conditions.
4463 * cspi/spi_main.c (SPI_exit): guard vs. double
4464 exits, exit the mainloop nicely.
4465 (SPI_event_main): make more sense.
4466 (SPI_init): move the atexit evilness here so we
4467 always do it (yuck).
4468 (SPI_event_main): upd.
4470 * test/simple-at.c: update for listener changes.
4472 * registryd/registryd.c (main): prune kruft.
4474 * libspi/libspi.h: upd.
4476 * libspi/eventlistener.[ch]: rename broken macros.
4478 * libspi/accessibleeventlistener.[ch]: remove.
4480 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
4482 * test/test-simple.c: Add - automated tests.
4484 * cspi/spi-listener-impl.c (cspi_event),
4485 (cspi_key_event): add user_data to invoke.
4486 (cspi_keystroke_listener_finalize): impl.
4487 (cspi_keystroke_listener_class_init): upd.
4490 (createAccessibleEventListener),
4491 (AccessibleEventListener_addCallback),
4492 (createAccessibleKeystrokeListener),
4493 (AccessibleKeystrokeListener_addCallback): upd.
4495 * libspi/deviceeventcontroller.c
4496 (spi_device_event_controller_check_key_event): add public proto.
4499 (impl_accessibility_registry_deregister_global_event_listener):
4500 always init listeners.
4501 (_registry_notify_listeners): yes it is.
4503 * cspi/spi-listener-impl.c (cspi_key_event):
4505 (cspi_event_listener_finalize): impl.
4506 (cspi_event_listener_class_init): hook up.
4507 (event_handler_new, event_handler_free),
4508 (event_list_remove_by_callback): impl.
4509 (cspi_event_listener_remove_callback),
4510 (cspi_keystroke_listener_remove_callback),
4511 (cspi_keystroke_listener_add_callback),
4512 (cspi_event_listener_add_callback): upd.
4514 * libspi/keystrokelistener.c
4515 (keystroke_listener_object_finalize): kill
4516 (spi_keystroke_listener_class_init): upd.
4517 (spi_keystroke_listener_add_callback),
4518 (spi_keystroke_listener_remove_callback): kill,
4520 (impl_key_event): prune drasticaly.
4522 * libspi/eventlistener.c
4523 (spi_event_listener_add_callback),
4524 (spi_event_listener_remove_callback): kill, use
4526 (impl_accessible_event_notify_event): upd.
4527 (spi_event_listener_object_finalize): remove.
4529 * libspi/Makefile.am: use eventlistener.[ch]
4531 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4533 * libspi/registry.c (_registry_notify_listeners):
4534 Changed listener loop iteration to use preferred convention.
4535 Got rid of string memory leaks caused be calling g_strconcat
4536 inside function calls.
4538 * libspi/registry.c (parse_event_type):
4539 Stopped g_strconcat memory leaks, free the g_strsplit return,
4540 g_strdup the split pieces when used, etc.
4542 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4545 Change method 'compare' to return a 'difference set' rather than
4546 taking a StateSet as an out parameter (more Java-friendly).
4548 * idl/Accessible.idl:
4549 Added CORBA struct 'BoundingBox', to faciliate API changes below:
4551 * idl/Component.idl:
4553 Changed methods 'getExtents' and 'getImageExtents' in these
4554 interfaces to return a BoundingBox structure.
4555 (getPosition and getSize are redundant and possibly should be
4556 removed, rather than creating a corresponding Point struct.)
4558 * cspi/spi_component.c:
4559 Modify implementation of getExtents to reflect the above IDL
4564 Add (missing) AccessibleImage_getExtents () API.
4566 * docs/reference/cspi/at-spi-cspi-sections.txt:
4567 Added AccessibleImage_getImageExtents () to docs.
4569 2001-12-03 Bill Haneman <bill.haneman@sun.com>
4571 * idl/Component.idl:
4572 Added two methods, getLayer () and getMDIZOrder (), to reflect
4573 the new ATK methods atk_object_get_layer and
4574 atk_object_get_mdi_z_order. (Which arguably should be part of the
4575 AtkComponent API and AtkObject). Also added an enum,
4576 ComponentLayer, for the first method's return value.
4578 * libspi/component.c:
4579 Added implementations for these methods.
4581 * cspi/spi_component.c:
4583 Added cspi binding methods for above,
4584 AccessibleComponent_getLayer() and
4585 AccessibleComponent_getMDIZOrder().
4586 Added cspi enum 'AccessibleComponentLayer'.
4588 * docs/reference/cspi/at-spi-cspi-sections.txt:
4589 Added above methods to docs.
4593 Changed typedef for 'boolean' type (and all references to it) to
4594 SPIBoolean, to avoid keyword clashes with C++.
4597 Changed usages of 'boolean' to SPIBoolean.
4599 * test/keysynth-demo.c:
4600 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
4601 app), except where SPIBoolean is required by the callbacks API.
4603 2001-12-02 Bill Haneman <bill.haneman@sun.com>
4605 * cspi/spi_registry.c:
4606 Removed obsolete X event loop for passive keygrabs (which now
4609 * registryd/registryd.c:
4610 Removed unnecessary call to gdk_init() [cruft]. This also allows
4611 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
4614 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4616 * docs/reference/cspi:
4617 Included docs for SPI_freeString in generated documentation.
4620 Renamed spi_freeString to SPI_freeString, for consistency. Added
4621 documentation for this function.
4624 Renamed spi_freeString to SPI_freeString, for consistency.
4625 Removed obsolete method declaration string_from_corba_string.
4627 * test/keysynth-demo.c:
4628 Small tweak to comments.
4631 Stopped leaking the strings returned from CSPI.
4633 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4635 Merged Michael's branch (see his ChangeLog entries below).
4637 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
4638 bridge is alive, release on exit.
4640 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
4641 Fix type check macro.
4644 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
4647 Added is_gnome_app static, and method cspi_is_gnome_app(),
4648 so we can call the appropriate shutdown routine at exit in SPI_exit.
4650 * cspi/spi_main.c (cspi_object_ref):
4651 Duplicate the corba object passed in, since we're keeping it around.
4653 * cspi/SPI_exit.c, cspi_cleanup:
4654 Moved the releasing of the live refs to its own function, so we
4655 can put it in g_atexit (). Call the appropriate shutdown API
4656 depending on whethe calling client is a gnome app or not
4657 (bonobo_main_quit or CORBA_ORB_shutdown).
4659 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
4660 Unref the listener when this method is called, after
4661 deregistration. Updated the API docs to note this behavior.
4663 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
4664 Bugfixes: Ref the bonobo object when returning a parent or child
4665 reference, or an AccessibleRelation. Generally made sure
4666 BonoboObject refcount is incremented whenever we return an
4669 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
4670 Fixed typo/bug in signal declaration.
4672 * libspi/accessibleeventlistener.h:
4675 * libspi/application.c (spi_application_new):
4676 Fixed leak in initialization.
4679 Remembered to increment bonobo-object refcount when returning
4680 children (applications) from desktop object.
4681 Added (empty) finalize method.
4683 * libspi/deviceeventcontroller.c:
4684 Hold a ref to listeners inside DEControllerKeyListeners.
4685 Added dec_key_listener_free() method. Use prepend instead of
4686 append in key_listener list. Fixed some refcount madness and
4687 leaks in the listener registration/deregistration - deregistration
4688 now calls dec_key_listener_free() on listeners, and on the
4689 temporarily constructed dec_key_listener() used to perform the search/match.
4691 * libspi/hypertext.c (spi_hypertest_finalize):
4692 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
4693 class. Also fixed spi_hypertext_interface_new() and
4694 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
4696 * libspi/hypertext.h:
4697 Removed pointless and duplicate AtkObject pointer from
4700 * libspi/keystrokelistener.c:
4701 Fixed incorrect type of keystroke_listener_parent_class,
4702 renamed keystroke_listener_object_finalize to
4703 spi_keystroke_listener_object_finalize.
4704 Fixed typo in signal declaration
4705 (spi_keystroke_listener_class_init).
4707 * libspi/registry.c:
4708 Added funcsions spi_listener_struct_new() and
4709 spi_listener_struct_free() to help with memory management issues.
4710 We also now use these methods instead of gnew + poking stuff into
4711 the struct, and to decrement listener counts/free the listeners
4712 when deregistering them.
4713 Fix more refcount bugs in getDesktop() and
4714 getDeviceEventController().
4717 De-ref the desktop after enumerating the applications. Explicitly
4718 decrement the refcounts on the created listeners on exit (using
4719 _unref for keystroke listeners, and via the
4720 deregisterGlobalEventListenerAll command for other event
4723 2001-11-27 Michael Meeks <michael@ximian.com>
4725 * cspi/spi-listener.h: fixup enum.
4727 2001-11-27 Michael Meeks <michael@ximian.com>
4729 * cspi/spi-listener-impl.c (cspi_event_listener_new),
4730 (cspi_keystroke_listener_new): Use the cspi variants.
4732 2001-11-26 Michael Meeks <michael@ximian.com>
4734 * test/keysynth-demo.c: fix 2 compile warnings, missing
4737 * test/simple-at.c (report_focussed_accessible),
4738 (report_focus_event, report_button_press),
4739 (check_property_change, is_command_key),
4740 (report_ordinary_key_event, report_command_key_event): upd.
4742 * util/mag_client.h: include pre-requisites.
4744 * libspi/accessibleeventlistener.c
4745 (spi_event_listener_object_finalize): free any lingering
4748 * libspi/keystrokelistener.c
4749 (keystroke_listener_object_finalize): ditto.
4751 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
4752 callbacks, with cspi types.
4754 * cspi/spi_event.c (createAccessibleEventListener): chain to
4755 (AccessibleEventListener_addCallback): here.
4756 (createAccessibleKeystrokeListener): chain to
4757 (AccessibleKeystrokeListener_addCallback): here.
4759 * libspi/keystrokelistener.c
4760 (spi_keystroke_listener_class_init): add signal.
4761 (impl_key_event): emit the event.
4762 (boolean_handled_accumulator): impl.
4763 (marshal_BOOLEAN__POINTER): add, gack.
4765 * libspi/accessibleeventlistener.c
4766 (spi_event_listener_class_init): add signal.
4767 (impl_accessible_event_notify_event): emit the signal &
4768 make the loop efficient.
4769 (spi_event_listener_add_callback): prepend the callback.
4771 * libspi/accessibleeventlistener.h: add an 'event' signal,
4772 decl type on callback.
4774 * libspi/keystrokelistener.h: ditto.
4776 * cspi/spi-listener.h: make methods typesafe and
4777 make them use the new event typedefs.
4779 * test/simple-at.c (report_focussed_accessible):
4780 include mag_client.h
4781 Use *(void *)text_interface not the other thing.
4783 * configure.in: add gtk to registryd bits - since we use
4786 * util/magnifier.c: include libbonobo.h
4788 2001-11-25 Bill Haneman <bill.haneman@sun.com>
4790 * test/keysynth-demo.c:
4791 Turned this into a simple scanning keyboard, to demonstrate the
4792 use of g_timeout_add () as a means of creating timers for
4793 scanning, and the use of GtkStyle for visually indicating when
4794 virtual keyboard elements are selected.
4796 keysynth-demo now listens to any keyboard keys with zero-valued
4797 keycodes (i.e. 'unused' keys) and interprets them as
4800 Reworked the shiftlatch code so that shift-down state isn't held
4801 for long periods (it's only synthesized immediately prior to
4802 the keysynth event it's modifying). Note that shiftlatch in this
4803 demo is a convenience, not intended to take the place of AccessX
4804 which is the better choice for getting 'sticky' modifier keys.
4806 * libspi/deviceeventcontroller.c:
4807 * at-bridge/bridge.c:
4808 * cspi/spi_registry.c:
4809 Removed some debug print stuff, and put other verbosity in #ifdef
4814 Implemented some more of the magnifier IDL for the simple
4815 magnifier: namely, getZoomRegionParams.
4816 Added mag_x and mag_y members to MagnifierData struct, aid of this
4818 Added GtkWindow::realize signal handler to magnifier, to keep it
4819 from receiving keyboard focus from the WM.
4821 2001-11-23 Mark McLoughlin <mark@skynet.ie>
4823 * cspi/spi-private.h: my guess at what michael forgot
4824 before he ran off to NZ :-)
4826 2001-11-23 Michael Meeks <michael@ximian.com>
4828 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
4829 comment out non existant method invoke so we link.
4831 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
4832 use bonobo_exception_get_text for more friendly warnings.
4834 * cspi/spi.c (Obj_Add): move into spi_main & rename
4835 spi_object_add; kill spi.c
4837 * cspi/spi_registry.c
4838 (deregisterGlobalEventListener),
4839 (deregisterGlobalEventListenerAll),
4840 (registerGlobalEventListener): fix exception leaks.
4842 * cspi/spi_main.c (spi_exception): impl. helper, so we
4843 don't leak exceptions.
4845 * cspi/spi_selection.c
4846 (AccessibleSelection_deselectSelectedChild): return the
4849 * cspi/spi_main.c (spi_ev): impl; hack - gack.
4850 (spi_registry): ditto.
4851 (SPI_init): guard against double inits.
4853 * cspi/*.c: use spi_ev (), and spi_registry () where
4854 appropriate - a temporary hack until we have something
4855 better. Use spi_object_add
4857 2001-11-22 Michael Meeks <michael@ximian.com>
4859 * cspi/Makefile.am: re organise, install the headers.
4861 * cspi/*.h: add G_BEGIN/END_DECLS
4863 2001-11-22 Bill Haneman <bill.haneman@sun.com>
4866 Added non-preemptive keylistener for key events with no modifiers
4867 and shift-only modifier.
4869 * libspi/keystrokelistener.c:
4870 Removed some verbose diagnostics printout.
4872 * cspi/spi_registry.c:
4873 Fixed a bug that caused all key listeners to be registered as
4876 * libspi/deviceeventcontroller.c:
4877 Fixed bug that caused XGrabKey (preemptive key grab) to be called
4878 for non-preemptive key masks.
4881 2001-11-22 Bill Haneman <bill.haneman@sun.com>
4883 * docs/reference/idl/at-spi-idl-docs.sgml:
4884 * docs/reference/idl/at-spi-idl-sections.txt:
4885 * docs/reference/idl/at-spi-idl-overrides.txt:
4886 Added missing files.
4888 * docs/reference/Makefile.am:
4889 removed idl from SUBDIRS until we can figure a way to get gtk-doc
4890 to scan the IDL files :-(
4895 Added .cvsignore files.
4897 2001-11-21 Bill Haneman <bill.haneman@sun.com>
4899 * libspi/deviceeventcontroller.c:
4900 * libspi/keystrokelistener.c:
4902 * cspi/spi_registry.c:
4903 Added filters for KeySets, KeyEventSeq, and event types to key
4904 event dispatching, so listeners should only receive those events
4905 that they requested :-)
4907 2001-11-21 Bill Haneman <bill.haneman@sun.com>
4912 * docs/reference:Makefile.am:
4913 * docs/reference/cspi:
4914 * docs/reference/cspi:Makefile.am:
4915 * docs/reference/cspi:tmpl:
4916 * docs/reference/cspi:tmpl:*.sgml:
4917 * docs/reference/idl:
4918 * docs/reference/idl:Makefile.am:
4919 * docs/reference/idl:at-spi-idl-sections.txt:
4920 * docs/reference/idl:at-spi-idl-docs.sgml:
4921 * docs/reference/idl:tmpl:
4922 * docs/reference/idl:tmpl:*.sgml:
4924 Restructured docs directory to allow separate 'reference' docs
4925 section, and forked idl and cspi docs. Added the sgml template
4926 files to CVS. Added the first sections/structural sgml for the
4929 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
4931 * configure.in, libspi/Makefile.am: find libXtst.
4933 2001-11-21 Michael Meeks <michael@ximian.com>
4935 * test/accessx-gui.c: s/spi_value/value/ - doh.
4937 * libspi/base.[ch]: add.
4939 2001-11-18 Bill Haneman <bill.haneman@sun.com>
4941 * idl/Accessible.idl:
4942 * idl/Application.idl:
4945 Started gtk-doc cleanup on IDL.
4947 * libspi/deviceeventcontroller.c:
4948 Added and connected non-preemptive key notification from the
4949 toolkits (in addition to the pre-emptive support from XServer
4950 which we had before, but which causes 'focus flashing'). Filters
4951 are presently limited to key modifiers and global/non-global,
4952 KeySets are presently ignored, as are KeyEvent masks.
4954 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
4955 structs into the persistant structure rather than just storing
4956 pointers to things that might not persist across servant
4959 The XGrabKey call now does async keygrabs, because synchronous
4960 ones were deadlocking with GDK_event code in a very nasty way.
4962 Added boolean to internal method notify_keylisteners, to indicate
4963 whether the event came from the 'toolkit source' or the 'global
4964 (XServer) source' - this is used in the notification process to
4965 determine which listeners to send the event to.
4967 deviceeventcontroller.c is now warning-free.
4969 * libspi/registry.c:
4970 Fixed regression in application de-registration.
4971 Also fixed some really brain-dead weirdness having to do with
4972 event dispatching - event structs are now duplicated before being
4973 re-marshalled in the dispatch to listeners. This also fixes a
4974 Solaris build problem.
4977 2001-11-20 Michael Meeks <michael@ximian.com>
4980 (impl_accessibility_registry_deregister_global_event_listener):
4983 * libspi/deviceeventcontroller.c
4984 (spi_device_event_controller_check_key_event): return
4985 FALSE on no virtual method.
4987 * libspi/*..h: make includes work on a correctly pathed install.
4989 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
4991 * libspi/application.h: kill unused ( and whacked out )
4992 gboolean *spi_application_set_id (AtkObject *app, long id);
4994 2001-11-20 Michael Meeks <michael@ximian.com>
4996 * libspi/*.[ch]: further convert to bonobo's type func
4997 macros, remove redundnant casts etc.
4999 * libspi/text.c s/accessibility_text/spi_text/g,
5000 re-order to de-cruft.
5002 * libspi/hypertext.c: re-order to kill a huge slew
5003 of redundant forward decls.
5005 * libspi/relation.c: ditto.
5007 * libspi/image.c: ditto.
5009 * */.cvsignore: update
5011 2001-11-20 Michael Meeks <michael@ximian.com>
5013 * libspi/deviceeventcontroller.c
5014 (_controller_register_with_devices): use g_getenv,
5015 kill stdlib.h include.
5017 * libspi/keystrokelistener.c
5018 (spi_keystroke_listener_get_type): kill
5019 (spi_keystroke_listener_class_init),
5020 (spi_keystroke_listener_init): rename to this.
5022 * libspi/text.c (impl_getAttributes): fix warning / bug.
5024 * libspi/*.[ch]: more headers, includes and over commenting.
5026 2001-11-20 Michael Meeks <michael@ximian.com>
5028 * libspi/*.[ch]: fixup headers, includes and over commenting.
5030 * libspi/image.c (impl__get_imageDescription): const
5031 correctness warning fix. remove redundant casting.
5033 * libspi/table.c (impl_getRowDescription): ditto.
5034 (impl_getColumnDescription): ditto.
5036 * libspi/libspi.h: add.
5038 2001-11-19 Michael Meeks <michael@ximian.com>
5040 * libspi/editabletext.c (impl_setAttributes): fix warnings.
5042 * libspi/component.c (accessibility_component_get_type):
5043 rename to (spi_component_get_type): and macroify.
5044 (accessibility_component_init): rename to
5045 (spi_component_init): this
5046 (accessibility_component_class_init): rename to
5047 (spi_component_class_init): this
5049 * libspi/action.c (spi_action_get_type): kill, use the macro.
5051 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
5054 * libspi/application.c (spi_application_object_event_listener),
5055 (impl_accessibility_application_register_object_event_listener):
5056 warning fixes / const understanding updates.
5058 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
5061 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5063 * libspi/spi_accessible.c: Added docs and C bindings for
5064 AccessibleStateSet. (No implementations yet). Documentation
5065 coverage for C bindings now 100%. Made docs for event listeners
5070 boolean notifyListenersSync (in DeviceEventListener listener,
5071 in DeviceEvent event);
5073 oneway void notifyListenersAsync (in DeviceEventListener listener,
5074 in DeviceEvent event);
5076 Added DeviceEventListener and DeviceEvent structs (may deprecate
5077 KeyStroke and KeystrokeListener in favor of this generic
5078 event/listener framework for devices).
5080 * libspi/deviceeventcontroller.c:
5082 Changed some key listener code to take masks, etc., and paved the
5083 way for integration of toolkit/non-preemptive key events. Changed
5084 signatures of some internal methods.
5086 * at-bridge/bridge.c:
5087 Fixed regression connecting to interface signals, apparently
5088 caused by GTK+ changes.
5090 Added an internal bridge_state_listener to deal with
5091 property-change:accessible-state signals.
5093 Changed the key_listeners GList to store structs (including masks,
5094 etc.) instead of just CORBA_Objects (required for full
5095 implementation of key listener API).
5097 Connected the bridge to all currently supported Atk signals.
5098 Events now supported:
5099 object:property-change
5100 object:property-change:accessible-name
5101 object:property-change:accessible-state
5102 object:property-change:accessible-description
5103 object:property-change:accessible-parent
5104 object:property-change:accessible-value
5105 object:property-change:accessible-role
5106 object:property-change:accessible-table-caption
5107 object:property-change:accessible-table-column-description
5108 object:property-change:accessible-table-column-header
5109 object:property-change:accessible-table-row-description
5110 object:property-change:accessible-table-row-header
5111 object:property-change:accessible-table-summary
5112 object:children-changed
5113 object:visible-data-changed
5114 object:selection-changed
5115 object:text-selection-changed
5117 object:text-caret-moved
5119 object:row-reordered
5121 object:column-inserted
5122 object:column-reordered
5123 object:column-deleted
5124 object:model-changed
5126 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5128 * libspi/hyperlink.c,h:
5129 Fixed some broken stuff in hyperlink.
5131 * libspi/relation.h:
5132 * libspi/relation.c:
5133 * cspi/spi_accessible.c:
5134 Initial implementations of AccessibleRelation methods, and docs.
5136 * libspi/accessible.c:
5137 Fixed a bug that caused SEGV if an accessible
5138 object's description is NULL, and a client
5139 requests it. An empty string is now returned.
5141 * cspi/spi_editabletext.c:
5142 * cspi/spi_hypertext.c:
5144 * cspi/spi_hyperlink.c:
5148 Doc coverage now 95%.
5150 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5152 One last namespacing revision:
5153 * libspi/accessibleeventlistener.[ch]:
5154 Renamed SpiAccessibleEventListener to SpiEventListener,
5155 (no need for two namespaces ;-)
5157 And lots of documentation fixes:
5159 * docs/at-spi-docs.sgml:
5160 Fixed 'underscore vs. hyphen' bug that was preventing
5161 the gtk-doc API docs from being automatically generated.
5164 * cspi/spi-listener.h
5166 * cspi/spi_accessible.c
5168 * cspi/spi_application.c
5169 * cspi/spi_component.c
5170 * cspi/spi_editabletext.c
5172 * cspi/spi_hypertext.c
5174 * cspi/spi_registry.c
5175 * cspi/spi_selection.c
5179 * docs/at-spi-docs.sgml
5180 * docs/at-spi-sections.txt
5182 Added and fixed up gtk-doc documentation in cspi.
5184 Interfaces now (fully) documented (subject to revision and enhancement):
5186 Event Listener Support
5188 AccessibleApplication
5192 AccessibleEditableText
5199 AccessibleRelationSet
5204 2001-11-14 Bill Haneman <bill.haneman@sun.com>
5206 * at-bridge/bridge.c:
5207 Initial work for toolkit-level key snooper connection by bridge.
5212 New typedefs and fixes to support new namespacing, and cleaner
5213 separation of cspi bindings from libspi bonobo implementation.
5214 Removed inconsistent and extraneous Spi* namespace prefix that
5215 had crept into cspi headers.
5216 Lots of comment fixes that sed had missed.
5218 * cspi/spi-roletypes.h:
5219 * cspi/spi-statetypes.h:
5220 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
5221 to AccessibleRoleType.
5223 * libspi/accessibleeventlistener.h:
5224 Fixed minor namespacing weirdness.
5226 * libspi/deviceeventcontroller.c:
5227 Reordered some internal API for device listeners.
5228 Changed the key registry final boolean to 'is_system_global'
5229 rather than 'is_synchronous', which is more descriptive of its
5231 Added spi_device_event_controller_new().
5232 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
5234 * libspi/keystrokelistener.[ch]:
5235 Namespaced KeystrokeListener to SpiKeystrokeListener.
5236 Changed uses of keymasks to use SPI_ prefix, and did other
5239 * libspi/keymasks.h:
5240 Namespaced keymask constants with SPI_ prefix.
5242 * libspi/registry.c:
5243 Some warning fixes, and knock-on fixes from namespace changes.
5246 Added rules for accessx-gui test program.
5248 * test/accessx-gui.c:
5249 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
5250 utility. It doesn't actually use at-spi, but it's still cool and
5253 * test/keysynth-demo.c:
5257 Fixes so that these test clients work properly with the namespaced
5258 libraries. (Incompletely tested for technical reasons, fixes may follow)
5261 2001-11-13 Michael Meeks <michael@ximian.com>
5263 * libspi/application.c
5264 (impl_accessibility_application_get_version),
5265 (impl_accessibility_application_get_toolkit_name):
5267 (impl_accessibility_application_set_id),
5268 (impl_accessibility_application_get_id): remove
5269 redundant casting code.
5271 * libspi/action.c (impl_getDescription): fix warnings.
5273 * libspi/accessible.c
5274 (impl_accessibility_accessible_get_parent),
5275 (impl_accessibility_accessible_get_child_at_index),
5276 (impl_accessibility_accessible_get_state),
5277 (impl_accessibility_accessible_get_relation_set):
5278 warning fixes & include action.h
5280 2001-11-13 Michael Meeks <michael@ximian.com>
5282 * *.[ch] fix bits I screwed up:
5284 s/([^ \tb(\*\&\?\",])spi_/\1/g;
5285 s/([^ \tb(\*\&\?\",])Spi/\1/g;
5287 2001-11-13 Michael Meeks <michael@ximian.com>
5289 * *.[ch] Namespace libspi into spi_ and Spi.
5291 2001-13-11 Michael Meeks <michael@ximian.com>
5293 * Makefile.am: dist & install at-spi-1.0.pc
5295 * libspi/Makefile.am: install into at-spi-1.0
5297 * idl/Makefile.am (idldir): install into at-spi-1.0
5299 * at-spi-1.0.pc.in: add.
5301 * configure.in: build it.
5303 2001-11-12 Bill Haneman <bill.haneman@sun.com>
5305 * test/keysynth-demo.c:
5306 Use a 'realize' signal-handler to set the WM properties for
5307 the virtual keyboard, rather than making it a "POPUP" type
5308 override-redirect window (thanks to anders carlsson for that
5311 2001-11-11 Bill Haneman <bill.haneman@sun.com>
5314 * test/keysynth-demo.c:
5315 Added new test of key synthesis, which creates a simple
5316 (mouse-operated) onscreen keyboard. It inserts key events into
5317 the currently-focused window, thus it does not grab keyboard focus
5320 * cspi/spi_registry.c:
5321 Added C binding for AT-SPI generateKeyEvent.
5323 * libspi/deviceeventcontroller.c:
5324 Added call to XFilterEvent so that key listener works with XIM (we
5325 hope). Added event_synth_type to generateKeyEvent, so that we can
5326 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
5327 synthesize a press/release pair for KeySyms.
5329 2001-11-09 Bill Haneman <bill.haneman@sun.com>
5331 * libspi/Makefile.am:
5332 * registryd/Makefile.am:
5333 (temporary) hack to include libXtst in libspi and registryd.
5334 (Needed for keystroke synthesis, see below).
5337 Improved API for registerKeystrokeListener, in accordance with
5338 discussions with Gnopernicus team and X server research.
5340 * libspi/registry.c:
5341 * libspi/deviceeventcontroller.c:
5342 * libspi/accessible.c:
5343 * libspi/keystrokelistener.c:
5344 Changes and fixes to support keylisteners for potentially
5345 consumed key events (that is, 'passive grabs').
5346 Added implementation for generateKeyEvent() [untested].
5349 Changes to registerKeystrokeListener() API, as above.
5350 Added deregisterGlobalEventListenerAll(), and
5351 deregisterKeystrokeListener(), which are needed for clean exit of
5353 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
5354 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
5356 * cspi/spi_registry.c:
5357 Added implementations of function prototypes mentioned above.
5359 * registryd/registryd.c:
5360 Added the key listener event source as a g_timeout(), to allow
5361 receipt of key events that are not caught by GDK (since GDK
5362 doesn't support passive keygrabs, this was necessary).
5365 Changed to attach a keylistener to 'Alt' keys, and
5366 respond to the following keycommands: Alt-M (toggle magnifier);
5367 Alt-F (toggle speech); Alt-Q (quit).
5368 Added an exit routine to deregister the listeners, and a key
5369 listener that prints some key info to the console when a key
5370 matches the listener mask (and is thus received by the listener).
5372 * util/idl/Magnifier.idl:
5373 Changes to magnifier API to support multiple zoom regions,
5374 non-uniform scaling in x and y, markDirty, and a host of other
5375 features that would be useful to magnification.
5378 * util/mag_client.c:
5379 * util/mag_client.h:
5380 * util/mag_control.c:
5382 Source code changes to support the above IDL changes.
5385 As above, and also changes to use a (slower) generic conversion
5386 path for colormap conversions, since the fast RGB conversions have been
5387 reported to fail for 16-bit displays.
5389 2001-10-26 Michael Meeks <michael@ximian.com>
5391 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
5393 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
5395 * at-bridge/Makefile.am: fix LDFLAGS.
5397 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5399 * at-bridge/bridge.c:
5400 Re-worked listeners for toolkit events, now we have signal
5401 and property listeners. Added a private method
5402 register_atk_event_listeners(), which registers with the
5403 various atk and gtk signals we need to monitor in order to emit
5405 Added emission hook for AtkObject:property-change events, to
5406 support the 'property listeners'.
5407 Fixed some alloc()s of Accessibility_Event structs to use CORBA
5410 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
5411 which emit warnings and exit, respectively, if CORBA errors occur
5412 during remote calls, and we now use these methods to check most of
5413 our CORBA calls in the C bindings.
5415 * cspi/spi_accessible.c:
5416 Changed AccessibleSelection_refSelectedChild() to
5417 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
5418 now increment refcounts.
5420 * cspi/spi_component.c:
5421 Fixed some long pointer casts (dangerous!) to pass pointers to
5422 CORBA_longs of the proper type to the CORBA stubs, and copy the
5423 data into the longs that were passed into the C bindings code.
5425 * at-bridge/bridge.c:
5427 * libspi/accessible.c:
5428 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
5429 hyperlinks, AtkHyperlink is an object type.
5431 * libspi/application.c:
5432 Added various conversions to and from "generic" event types and
5433 atk-specific types; this is really part of the 'bridge'
5434 implementation but is valid for all AtkObject-based accessibility
5437 * libspi/editabletext.c:
5438 Fixed nasty bug wherein editable text's finalize method was
5439 unref'ing tha AtkObject reference that the text parent class was
5440 about to unref _again_. There was also a nasty inheritance bug
5441 that meant that the AccessibleEditableText class was corrupt.
5443 * libspi/selection.c:
5444 Provided implementations for some selection API that was broken.
5446 * idl/Application.idl:
5447 Added registerObjectEventListener () method.
5450 Fixed a number of return values that were Bonobo_Unknowns from
5451 bonobo_object_corba_objref(), which I
5452 forgot to dup before returning. Changed instances of
5453 bonobo_object_corba_objref (bonobo_object(o)) to
5454 BONOBO_OBJREF(o), for concision and clarity.
5456 2001-10-13 Louise Miller <louise.miller@sun.com>
5458 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
5459 idl/Event.idl, idl/Registry.idl
5460 Changed these files to include Bonobo_Unknown.idl instead
5463 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
5465 * libspi/component.c libspi/component.h:
5466 Fixed typo. Added assertions for object checks in
5467 AccessibleComponent code.
5469 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5471 * idl/Accessible.idl:
5472 Added 'isEqual (Accessible *object)'
5473 method for Accessible. (Not Yet Implemented).
5476 Changed signature of registerKeystrokeListener() to
5477 take a KeySet and KeyEventSeq so that specific keys and event
5478 types could be requested for monitoring, and added a flag
5479 is_synchronous so that either synchronous or asynchronous
5480 notification could be requested. (However this is not all
5481 implemented yet). This also meant adding two new typedefs,
5482 KeyEventSeq and KeySet.
5485 Added two new relations, RELATION_TOOLTIP_FOR and
5486 RELATION_LEAFNODE_OF.
5489 Added new state, STATE_HAS_TOOLTIP.
5491 * libspi/text.c, editabletext.c:
5492 Added new assertions to all casts of bonobo-objects from
5493 CORBA servants, to prevent Text API calls on non-text objects.
5494 Changed suspect casts of int-pointer types, so that we
5495 always send a valid CORBA_long pointer to the CORBA APIs that use
5496 in/out long parameters. We then have to copy from the CORBA_long
5497 into the regular long or int for return to the C bindings, or
5498 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
5501 * libspi/deviceeventcontroller.c:
5502 Cleaned these sources up.
5504 Changed return type for getCharacterAtOffset to
5505 CORBA_unsigned_long, to allow for 32-bit characters.
5508 2001-10-08 Bill Haneman <bill.haneman@sun.com>
5512 Fixed 'make dist' so that distro compiles...
5513 * libspi/keymasks.h:
5515 * cspi/spi-listener.c:
5516 KeystrokeListenerCB now returns a boolean.
5518 Added KeyEventType struct, and KeyStroke.
5519 Also added createKeystrokeListener(),
5520 KeystrokeListener_addCallback(),
5521 KeystrokeListener_removeCallback(), and added a keymask to
5522 registerKeystrokeListener().
5523 * cspi/spi_accessible.c:
5524 Changed numerous return types for interfaces from
5525 AccessibleComponent to Accessible<InterfaceName>; this was
5526 probably a cut-and-paste error.
5528 Implementations of new KeystrokeListener api (from spi.h,
5531 Changes to key modifier mapping.
5532 Created ControllerEventMask struct.
5533 Made DeviceEventController derive from Bonobo::Unknown.
5535 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
5536 * libspi/deviceeventcontroller.c:
5537 Added a number of new internal (private) methods.
5538 * libspi/editabletext.c:
5539 * libspi/editabletext.h:
5540 Fixed a number of bugs related to the fact that
5541 editabletext inherits from text. Fixed the EditableText struct,
5542 the init() call, and use correct casts when calling Text methods
5543 from an EditableText object. Removed (duplicate) atko from the
5544 EditableText structure, we use the one in the parent Text
5545 structure via the casts mentioned above.
5546 * libspi/keystrokelistener.[ch]:
5547 * libspi/registry.c:
5548 Changes in support of keyboard handling (above).
5550 Keyboard handling, though partly functional, is still not
5551 recommended for at-spi client use as there is considerable
5552 work yet to be done.
5555 Changed some places where pointers to various int types
5556 are cast to be pointers to CORBA_long types and vice-versa:
5557 pointer casting is not safe so we pass pointers of the correct
5558 types and then cast the result before putting it into the target
5561 * libspi/text.h: minor typos corrected.
5563 We now speak not only the name of a Text element, but the
5564 first sentence of its content, when it receives focus.
5565 I also changed the text compression to 75% from 50%.
5566 * util/Accessibility_Util.server.in:
5567 Changed the default magnifier type to be a 3x vertical
5568 splitscreen magnifier (was previously a 2x horizontal one).
5570 2001-10-03 Bill Haneman <bill.haneman@sun.com>
5572 * libspi/keystrokelistener.h:
5573 * libspi/keystrokelistener.c:
5574 Initial functional implementations of KeystrokeListener.
5577 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
5579 Fixed string handling for NULL strings in libspi.
5580 Added spi_freeString to free strings returned by C bindings.
5582 2001-09-30 Bill Haneman <bill.haneman@sun.com>
5584 * libspi/keystrokelistener.h:
5585 * libspi/keystrokelistener.c:
5586 Began (no-op) implementations of KeystrokeListener
5588 * libspi/deviceeventcontroller.c:
5589 * libspi/deviceeventcontroller.h:
5590 Began creating implementations of DeviceEventController,
5591 to handle keystroke and mouse event listening and
5593 * libspi/accessible.c:
5594 Stubbed-in the implementations for
5595 Accessibility_Accessible_getState and
5596 Accessibility_Accessible_getRelationSet.
5597 * libspi/registry.c:
5598 Improved de-registration process and fixed some bugs,
5599 deregistration now works correctly.
5601 Added initialization of applications list (to NULL).
5603 Reduced speech compression from 0.5 to 0.7, for demo.
5604 Changed call to gdk_window_set_decorations()
5605 to gtk_window_set_decorated().
5606 * at-bridge/bridge.c:
5607 Bridge now deregisters when app exits, via
5608 registration of a cleanup function
5609 with the g_atexit() call.
5610 Required making 'app' static, renamed 'this_app'.
5611 Fixed broken use of bonobo_init, passing argv wrongly.
5613 2001-09-27 Bill Haneman <bill.haneman@sun.com>
5617 Created a new directory for
5618 accessibility-related utilities, primarily for
5619 testing and demo purposes, but with possible
5626 Onscreen magnifier utility that
5627 is implemented as a bonobo service.
5629 * util/mag_client.c:
5630 * util/mag_client.h:
5631 Client-side support (simple C bindings)
5632 for Magnification service
5634 * util/mag_control.c:
5635 Client program example for
5636 Magnification service
5638 * util/Accessibility_Magnifier.server.in:
5639 Bonobo-activation file for the
5640 Magnification service.
5643 * util/idl/Magnifier.idl:
5644 IDL defining the bonobo Magnification
5648 Modifications to use the bonobo-activated magnifier
5649 above, in place of trying to connect to an existing
5650 magnifier that uses socket-listening IPC.
5652 If env variable MAGNIFIER is set, a magnifier service
5653 will be started if one does not exist.
5655 2001-09-25 Bill Haneman <bill.haneman@sun.com>
5657 * at-bridge/bridge.c:
5658 applied patch from Marc to build and run
5659 against new glib and gtk+ (seemed like a change
5660 to bonobo_init signature was made ?)
5662 made festival-server support turned off by default.
5663 Added support for a simple magnifier (off by default)
5664 which will be added to a 'util' directory later.
5665 * at-bridge/Makefile.am:
5666 Changed "application.h" header from a 'source'
5667 to a 'dependency' of libat-bridge.
5669 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
5678 Added interface implementation c files to list of
5679 includes so they are included in libcspi.
5682 Changed prototype of AccessibleAction_doAction to return a
5684 Changed prototype of AccessibleTable_getCaption to
5685 return an Accessible.
5686 Changed prototype of AccessibleTable_getSelectedRows
5687 and AccessibleTable_getSelectedColumns to
5688 return a long (returns the number of selected rows
5689 or columns respectively).
5690 Changed name of AccessibleText_refRunAttributes to
5691 AccessibleText_getAttributes.
5692 Changed prototype of AccessibleText_getCharacterExtents to
5693 return a void rather than a boolean.
5694 Added support for a AccessibleCoordType parameter
5695 specifying what type of coordinates are desired.
5696 Added an AccessibleCordType parameter to
5697 AccessibleText_getPointAtOffset.
5699 * cspi/spi_accessible.c:
5700 Added code to return the outstanding interfaces from
5701 Accessible_queryInterface.
5703 * cspi/spi_action.c:
5705 Corrected call to getNActions to call the c binding
5708 * cspi/spi_editabletext.c:
5710 Changed name from setRunAttributes to setAttributes.
5712 * cspi/spi_hyperlink.c:
5714 Changed call to getNAnchors to correctly call the c
5715 binding for an attribute.
5717 * cspi/spi_hypertext.c:
5719 Changed getImageDescription to correctly call the
5720 binding for an attribute.
5722 * cspi/spi_selection.c:
5723 Changed getNSelectedChildren to correctly call the c
5724 binding for the attribute.
5725 Changed refSelectedChild to getSelectedChild.
5729 Changed getCaption to return an Accessible.
5730 Fixed calls which retrieve attributes.
5731 Changed refAt to getAccessibleAt.
5732 Changed getNSelectedRows and getNSelectedColumns to
5736 Changed getCharacterExtents and getPointAtOffset to accept an
5737 AccessibleCoordType.
5739 Changed calls which retrieve attributes.
5740 Changed refRunAttributes to getAttributes.
5745 * idl/Hyperlink.idl:
5746 Changed n_anchors attribute to nAnchors to keep naming
5747 convention consistent.
5750 Made Table inherit from Bonobo::Unknown.
5751 Added nSelectedColumns and nSelectedRows attributes.
5754 Made Value inherit from Bonobo::Unknown.
5756 * libspi/hyperlink.c:
5757 Change for nAnchors attributte name change.
5759 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
5767 Added interface implementation c files to list of
5768 includes so they are included in libcspi.
5771 Changed prototype of AccessibleAction_doAction to return a
5773 Changed prototype of AccessibleTable_getCaption to
5774 return an Accessible.
5775 Changed prototype of AccessibleTable_getSelectedRows
5776 and AccessibleTable_getSelectedColumns to
5777 return a long (returns the number of selected rows
5778 or columns respectively).
5779 Changed name of AccessibleText_refRunAttributes to
5780 AccessibleText_getAttributes.
5781 Changed prototype of AccessibleText_getCharacterExtents to
5782 return a void rather than a boolean.
5783 Added support for a AccessibleCoordType parameter
5784 specifying what type of coordinates are desired.
5785 Added an AccessibleCordType parameter to
5786 AccessibleText_getPointAtOffset.
5788 * cspi/spi_accessible.c:
5789 Added code to return the outstanding interfaces from
5790 Accessible_queryInterface.
5792 * cspi/spi_action.c:
5794 Corrected call to getNActions to call the c binding
5797 * cspi/spi_editabletext.c:
5799 Changed name from setRunAttributes to setAttributes.
5801 * cspi/spi_hyperlink.c:
5803 Changed call to getNAnchors to correctly call the c
5804 binding for an attribute.
5806 * cspi/spi_hypertext.c:
5808 Changed getImageDescription to correctly call the
5809 binding for an attribute.
5811 * cspi/spi_selection.c:
5812 Changed getNSelectedChildren to correctly call the c
5813 binding for the attribute.
5814 Changed refSelectedChild to getSelectedChild.
5818 Changed getCaption to return an Accessible.
5819 Fixed calls which retrieve attributes.
5820 Changed refAt to getAccessibleAt.
5821 Changed getNSelectedRows and getNSelectedColumns to
5825 Changed getCharacterExtents and getPointAtOffset to accept an
5826 AccessibleCoordType.
5828 Changed calls which retrieve attributes.
5829 Changed refRunAttributes to getAttributes.
5834 * idl/Hyperlink.idl:
5835 Changed n_anchors attribute to nAnchors to keep naming
5836 convention consistent.
5839 Made Table inherit from Bonobo::Unknown.
5840 Added nSelectedColumns and nSelectedRows attributes.
5843 Made Value inherit from Bonobo::Unknown.
5845 * libspi/hyperlink.c:
5846 Change for nAnchors attributte name change.
5849 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
5851 implementations-- made server implementations own AtkObject pointers
5852 rather than their respective AtkInterrface pointers to fix
5853 refcounting. AtkHyperlink is still broken.
5855 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5856 * cspi/spi_accessible.c:
5857 Added method Accessible_Role_getName(),
5858 and requisite string array (role_names).
5859 Added conversion string_from_corba_strin() call
5860 to Accessible_getName and _getDescription.
5861 * libspi/accessible.c:
5862 Added implementation for Accessible_getRole()
5864 Added festival support, used if environment variable
5867 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5869 * at-bridge/bridge.c:
5870 Now allocate Accessibility_Event using
5871 Accessibility_Event__alloc() instead of g_new0().
5872 * libspi/accessibleeventlistener.c:
5873 Initialize AccessibleEventListener->callbacks to NULL.
5874 Fixed accessible__event_listener_init() param, changed to
5875 "AccessibleEventListener *" type.
5876 Changed a bonobo_object_release_unref() call to
5877 Accessibility_Accessible_unref().
5878 * libspi/listener.c:
5879 Changed Bonobo_Unknown_unref to (equivalent)
5880 Accessibility_Accessible_unref.
5881 * libspi/registry.c:
5882 Changed bonobo_object_release_unref to
5883 Accessibility_Accessible_unref.
5885 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
5888 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
5889 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
5890 spi-util.c spi-util.h
5891 Implementations for C bindings to remaining accessibility
5894 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
5897 changed return value of Action from void to boolean to
5898 bring in line with ATK.
5901 Changed getText funcions to return "out" start and end offsets.
5902 Changed getAttributes to take and offset and return the start
5903 and end offset of the attribute run.
5904 Changed getOffsetAtPoint and getCharacterExtents to take an
5905 enum describing whether coordinates are window or screen.
5908 libspi/action.c libspi/action.h libspi/editabletext.c
5909 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
5910 libspi/hypertext.c libspi/hypertext.h libspi/image.c
5911 libspi/image.h libspi/selection.c libspi/selection.h
5912 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
5913 libspi/value.c libspi/value.h
5914 Added server implementations for outstanding ATK interfaces
5915 not yet implemented.
5917 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5920 Added (missing) getName() method.
5921 Made nActions an attribute.
5922 * idl/EditableText.idl:
5923 Changed order of params in setAttributes.
5924 * idl/Hyperlink.idl:
5925 Removed getAnchor, added getURI.
5927 Changed attributes to methods, for efficiency
5928 (so that getting extents can be done in one call)
5929 * idl/Selection.idl:
5930 Changed nSelectedChildren to attribute, and re-indented.
5931 * idl/Table.idl: changed nrows, ncolumns, caption, summary
5933 * idl/Text.idl: reformatted to match our coding style.
5934 (temporarily?) removed getRowColumnAtOffset().
5935 Changed text selection API to support multi-select and
5936 non-contiguous selections, as in ATK.
5937 * idl/Value.idl: changed some methods to attributes.
5939 2001-08-24 Mark McLoughlin <mark@skynet.ie>
5941 * libspi/listener.c(impl_notify_event):
5942 BonoboUnkown_unref the source instead
5943 of bonobo_object_release_unref - the ORB
5944 handles the releasing.
5946 * configure.in: require ORBit-2.3.94 for
5949 2001-08-21 Bill Haneman <bill.haneman@sun.com>
5951 Tagged CVS repository 'EA_1_0'.
5952 * README.EARLY_ACCESS:
5953 Alphabetized acknowledgements list, and
5955 Listed some known dependencies of at-spi.
5957 2001-08-20 Bill Haneman <bill.haneman@sun.com>
5959 * docs/at-spi-docs.sgml:
5960 * docs/at-spi-sections.txt:
5961 * docs/at-spi-overrides.txt: (Added zero-length file)
5962 Documentation improvements - gtk-doc should build
5963 docs for all implemented C bindings now.
5966 * cspi/spi.c: (New file)
5967 * cspi/spi_event.c: (New file)
5968 * cspi/spi_registry.c: (New file)
5969 * cspi/spi_accessible.c: (New file)
5970 * cspi/spi_application.c: (New file)
5971 * cspi/spi_component.c: (New file)
5972 Split spi_main.c into six parts, and included them from
5973 "spi.c". This is a bit of a hack, probably temporary,
5974 but required by gtk-doc, apparently.
5976 2001-08-20 Bill Haneman <bill.haneman@sun.com>
5979 * docs/at-spi-docs.sgml:
5980 * docs/at-spi-sections.txt:
5982 Initial checkins/modifications for gtk-doc generation.
5985 Added (missing) interface query methods to Accessible's C binding.
5987 Added GenericInterface type definition.
5989 Added query for AccessibleComponent interface to focus event handler.
5990 Added printout of bounding box for focussed component.
5991 * libspi/component.c:
5992 Added partial implementation for AccessibleComponent to C binding.
5993 * idl/Application.idl:
5994 * libspi/registry.c:
5995 * libspi/listener.c:
5996 * libspi/application.c:
5997 * libspi/application.h:
5998 Changed "ID" attribute type from string to long.
6000 2001-08-19 Bill Haneman <bill.haneman@sun.com>
6004 Made method naming consistent: methods taking object args
6005 start with uppercase, other methods (except those using
6006 acronyms) start with lowercase. Underscores delimit between
6007 object names and method names:
6008 SPI_init() - uppercase since it starts with an acronym.
6009 getDesktopCount () - lowercase start since no object param0.
6010 Accessible_getName() - uppercase object type name, studlyCaps method
6014 Added gtk-doc documentation for all currently implemented
6015 methods in the C bindings API.
6017 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6019 * Makefile.am : changed build order to build test last.
6022 Changed "createEventListener" to "CreateEventListener".
6023 * libspi/accessibleeventlistener.c :
6024 Bugfix for addition of callbacks.
6025 * test/Makefile.am :
6026 * test/simple-at.c :
6027 Added new test that uses the C bindings API.
6029 * libspi/listener.c :
6030 * libspi/registry.c :
6031 * libspi/accessibleeventlistener.c :
6032 * at-bridge/bridge.c :
6033 Renamed member "target" of Accessibility_Event to "source",
6034 which is more descriptive.
6037 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6041 * cspi/Makefile.am :
6042 Added makefile support for at-spi/cspi directory.
6045 * cspi/spi-listener.h : (NEW FILE)
6046 Added support for/use of spi-listener.h.
6048 C bindings now build successfully, with no warnings.
6049 * libspi/accessibleeventlistener.h : (NEW FILE)
6050 * libspi/accessibleeventlistener.c : (NEW FILE)
6051 * libspi/Makefile.am :
6052 Added new object type "AccessibleEventListener"
6053 which inherits from Listener, and allows attachment
6054 of in-process callbacks (so that a client with a listening
6055 object instance can add functionality to the local
6056 implementation, dynamically).
6058 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6060 * libspi/accessible.c:
6061 Add implementation for get_index_in_parent().
6063 Added #include of "spi-roletypes.h", and
6064 added enumerated type AccessibleCoordType.
6065 Added definition for KeystrokeListener (function type).
6068 * cspi/spi-statetypes.h :
6069 * cspi/spi-roletypes.h :
6071 Added these headers, used by spi.h.
6073 Added code (NOTE: not yet built by make).
6075 2001-08-18 Mark McLoughlin <mark@skynet.ie>
6077 * libspi/Makefile.am: generate imodule
6078 at the same time as other idl compiler
6081 2001-08-17 Bill Haneman <bill.haneman@sun.com>
6082 * libspi/registry.c :
6083 * libspi/application.c :
6084 * idl/Application.idl :
6085 Made registration with toolkit an application method,
6086 which is required since each app has its own toolkit static
6087 environment. Thus the bridge must register for
6088 notification of toolkit events from each application in turn.
6089 Toolkit notifications are now successfully registered for, and
6090 sent to the listening at client.
6092 Changed toolkit event string to use hyphens rather than underscores.
6093 * libspi/listener.c :
6094 listner now gives more info in debug mode - it reports the
6095 name of the event received, as well as the name of the source.
6098 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6100 * libspi/registry.c :
6101 added more implementation for toolkit events.
6102 Fixed bug such that toolkit event registrations
6103 (via atk) use the whole event name string, not
6105 Removed a useless call to an ORBit_ method.
6106 * at-bridge/bridge.c :
6107 Removed unused local sbuf[] variable.
6109 We now register for Gtk:GtkWidget:button_press_event
6110 events as well as "focus:" events.
6112 Add some more API from Registry.idl that was missing,
6113 for keystroke listening, keystroke and mouse event
6114 synthesis, and enumeration of accessible desktops.
6116 2001-08-16 Michael Meeks <michael@ximian.com>
6118 * configure.in: use AM_GLIB_GNU_GETTEXT.
6120 * Makefile.am (SUBDIRS): kill intl.
6122 2001-08-15 Michael Meeks <michael@ximian.com>
6124 * registryd/Makefile.am: s/oaf/server/ relocate info file.
6126 * configure.in: upd.
6128 * configure.in: depend on a recent bonobo-activation that
6129 will find our server files ...
6131 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6133 * libspi/accessible.c : accessible_new() :
6134 Now we add the Component interface via bonobo_object_add_interface,
6135 if the contained AtkObject implements AtkComponent.
6136 * libspi/accessible.h : now include "component.h"
6137 * libspi/component.h :
6138 * libspi/component.c : added files - implementation of
6139 bonobo wrapper object for Accessibility/Component
6140 * libspi/listener.c :
6141 Added test code to check for Accessibility/Component:1.0
6142 interface and report whether it is implemented by the
6144 * libspi/registry.c :
6145 Now we check for not only the hash of the whole event
6146 string before relaying the event, we also check the
6147 "minor" event string (without the detail string).
6148 This allows event listeners to be registered against
6149 all events of a certain major+minor type, or just
6150 against a specific major+minor+detail type.
6151 * libspi/accessible.c :
6152 Added implementations for Accessible:get_parent(),
6153 Accessible:getChildCount(), and Accessible:getChildAtIndex().
6154 * libspi/registry.c :
6155 * libspi/listener.c :
6156 Replaced calls to Accessibility_Accessible_ref() and
6157 Accessibility_Accessible_unref() with
6158 calls to bonobo_object_dup_ref() and
6159 bonobo_object_release_unref(), so that the CORBA object
6160 is dup-ed and released when relayed, as well as the bonobo object.
6162 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6164 * libspi/Makefile.am,
6165 registryd/Makefile.am,
6166 at-bridge/Makefile.am.
6167 test/Makefile.am, configure.in:
6168 reverse previous changes.
6170 * /idl/Image.idl: fix typo.
6172 * test/Makefile.am: put DEBUG_FLAGS
6175 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6177 * test/app.c: use argv[0] instead of
6180 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6182 * libspi/Makefile.am,
6183 registryd/Makefile.am,
6184 at-bridge/Makefile.am.
6185 test/Makefile.am, configure.in:
6186 cleanup, replace individual LIBS/CFLAGS with
6187 AT_COMMON_{LIBS|CFLAGS}.
6191 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6193 * configure.in, libspi/Makefile.am:
6194 Change IDL path checking for bonobo-activation
6197 2001-08-15 Bill Haneman <bill.haneman@sun.com>
6199 * registryd/registry.c : separated event listeners to use
6200 3 separate lists (focus, window, toolkit). Began testing
6201 event names against hashes before relaying events.
6202 * test/at.c : now register for events of type "focus:"
6203 * test/app.c : now generate events of type "focus:"
6204 * at-bridge/bridge.c : register with ATK for focus events,
6205 and we now relay those focus events to any "focus:" listeners.
6206 This now works with the bridge as a GTK_MODULE when running test/at.
6207 * libspi/registry.c :
6208 * libspi/listener.c :
6209 now we ref event sources before propagating, and unref on receipt.
6210 * libspi/registry.c :
6211 some changes to internal structs, to support event typestring hashes.
6212 * text/app.c : changed the way the appname is generated.
6213 * cspi : added directory that will hold the C bindings library for
6214 non-CORBA/bonobo-savvy clients.
6215 * cspi/spi.h : header file that contains the function prototypes for the C binding.
6216 * idl/Component.idl : added in parameter to indicate coord system for
6217 geometry-related calls.
6218 * idl/Hyperlink.idl : added readonly n_links attribute
6219 * idl/Image.idl : changed methods to attributes.
6221 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6223 * at-bridge/Makefile.am: link against
6224 ../libspi/libspi.la instead of -lspi.
6226 * at-spi/test/app.c: include
6227 bonobo-activation.h. Use a default appname
6228 if one is not provided.
6230 2001-08-14 Bill Haneman <bill.haneman@sun.com>
6232 * idl/Registry.idl : temporarily changed register_Application
6233 to oneway, to work around issue with initial registration
6235 * idl/Application.idl : changed attribute "id" from readonly
6236 to read-write, since it needs to be assigned by Registry.
6237 * registryd/registryd.c : added call to set application id
6239 * registryd/registry.c : changed de-registration procedure to
6240 use CORBA_Object_hash() to find matching object ref in application
6241 lists and listener lists.
6242 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
6243 began distinguishing between event types (work in progress).
6245 2001-08-13 Bill Haneman <bill.haneman@sun.com>
6248 * libspi/application.c:
6249 Added implementations for get/set id, get_toolkitName,
6251 * registryd/registryd.c :
6255 Converted from use of OAF to bonobo-activation.
6256 * libspi/desktop.h :
6257 * libspi/desktop.c :
6259 Removed references to atksimpleobject, since base atkobject
6260 implementation now provides functionality we need.
6261 * libspi/atksimpleobject.c :
6262 * libspi/atksimpleobject.h :
6267 * at-bridge/Makefile.am
6268 * at-bridge/bridge.c
6271 Added directory "bridge" and contents, and added dependencies
6272 in Makefile.am/configure.in.
6273 Initial checkin of "at-bridge".
6274 This code is a GTK_MODULE which automatically registers
6275 GTK+ apps with the accessibility registry, using an object
6276 reference to the root ATK object.
6278 2001-08-10 Mark McLoughlin <mark@skynet.ie>
6280 * po/Makefile.in.in: Remove. Again. If this
6281 doesn't get autogenerated - you need to update
6284 2001-08-07 Mark McLoughlin <mark@skynet.ie>
6286 * po/Makefile.in.in: Add. Again.
6288 2001-07-31 Bill Haneman <bill.haneman@sun.com>
6290 * libspi/accessible.c : added support for 'description' property.
6291 * libspi/accessible.c
6293 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
6294 (since the two are now equivalent in libbonobo)
6302 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
6303 Bonobo::Unknown as does Accessibility::Accessible.
6304 * idl/StreamableContent.idl : as above, and replaced internal InputStream
6305 interface with Bonobo::Stream, since it was redundant with it.
6306 (The Stream returned by a StreamableContext object is expected to
6307 implement only a subset of Bonobo::Stream)
6309 2001-07-28 Anders Carlsson <andersca@gnome.org>
6311 * libspi/accessible.c (accessible_object_finalize): Change
6312 g_free to g_object_unref since the AtkObject is a GObject.
6314 2001-07-30 Bill Haneman <bill.haneman@sun.com>
6316 * idl/Accessibility.idl: add new IDL files
6319 * idl/Action.idl: Definitions of actionable UI object
6320 * idl/Component.idl: Definitions of UI component geometry, etc.
6321 * idl/Hyperlink.idl: Defs of hyperlink behavior
6322 * idl/Image.idl: Def of accessible image
6323 * idl/Selection.idl: Definition of UI object with selectable children
6324 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
6325 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
6326 * idl/Text.idl: Interface defs for UI elements with complex textual content
6327 * idl/Value.idl: Definition of UI element that is a value controller or display
6329 2001-07-27 Michael Meeks <michael@ximian.com>
6331 * po/Makefile.in.in: remove autogenerated file from CVS.
6333 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
6336 * idl/Registry.idl: include guard.
6338 * idl/Accessibility.idl: Add, and include all the other IDL
6341 * idl/*.idl: remove mass of pragmas etc.
6343 2001-07-26 Michael Meeks <michael@ximian.com>
6345 * registryd/Makefile.am (registryd_SOURCES): remove
6348 2001-07-27 Mark McLoughlin <mark@skynet.ie>
6350 * libspi/.cvsignore, registryd/.cvsignore,
6351 test/.cvsignore: updated.
6353 * po/Makefile.in.in: gettext update.
6355 2001-07-25 Bill Haneman <bill.haneman@sun.com>
6357 * initial CVS checkin
6359 2001-06-29 Michael Meeks <michael@ximian.com>
6361 * configure.in: add AM_CONFIG_HEADER to gen config.h