1 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
3 * configure.in: Added "is" to ALL_LINGUAS.
5 2003-08-22 Christian Rose <menthos@menthos.com>
7 * configure.in: Added "nl" to ALL_LINGUAS.
9 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
11 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
12 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
14 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
16 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
17 type for unspecified exception.
18 * cspi_streamablecontect): Add include of string.h for memcpy.
19 (stream_release): Correct call to bonobo_object_release_unref
20 (stream_cache_item_free): Correct call to bonobo_object_release_unref
21 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
22 argument of _cspi_expection_throw.
23 * libspi/hyperlink.c: Add include of libspi/action.h:
24 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
25 * libspi/streamablecontent.c: add include of libspi/component.h.
26 * regisrtyd/deviceeventcontroller.c:
27 (spi_dec_translate_mask): Removed unused variable priv.
28 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
29 * registryd/registry.c:
30 (registry_filter_event): Remove unused variable queue_is-empty.
31 (impl_registry_notify_event): Use correct modifier in fprintf call.
33 This fixes compiler warnings reported in bug #120220.
35 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
37 * registryd/registryd.c: Remove this file.
39 2003-08-17 Sanlig Badral <badral@openmn.org>
41 * configure.in: Added mn to ALL_LINGUAS.
43 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
45 * configure.in: Added et to ALL_LINGUAS.
47 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
49 * test/event-listener-test.c: Change active-descendant to
50 active-descendant-changed.
52 2003-08-10 Sami Pesonen <sampeson@iki.fi>
54 * configure.in: Added "fi" in ALL_LINGUAS.
56 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
58 * configure.in: Added "hi" in ALL_LINGUAS.
60 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
62 * configure.in: Revved to 1.3.6.
66 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
68 * registryd/deviceeventcontroller.c
69 (spi_device_event_controller_object_finalize): Fix typo in previous
72 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
74 * registryd/deviceeventcontroller.c
75 (spi_device_event_controller_object_finalize): Fix build on
76 systems without XEvIE.
78 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
80 * acconfig.h, configure.in, registryd/Makefile.am,
81 registryd/devicecontoller.[ch]: Add XEViE support.
83 2003-08-06 Wang Jian <lark@linux.net.cn>
85 * configure.in: Added "zh_CN" to ALL_LINGUAS.
87 2003-08-06 Metin Amiroff<metin@karegen.com>
89 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
91 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
93 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
94 MODIFIER_ALT in correct place.
96 This fixes part of bug #118114.
98 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
100 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
102 2003-07-28 Changwoo Ryu <cwryu@debian.org>
104 * configure.in: Added "ko" to ALL_LINGUAS.
106 2003-07-28 Ole Laursen <olau@hardworking.dk>
108 * configure.in: Added "da" to the commented out ALL_LINGUAS.
110 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
112 * configure.in: Added "sq" to ALL_LINGUAS.
114 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
116 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
118 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
120 * configure.in: updated ALL_LINGUAS list
122 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
124 * configure.in: Added Belarusian to ALL_LINGUAS.
126 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
128 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
130 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
131 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
133 This fixes bug #116949.
135 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
137 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
138 Correct CSPI to SPI in function documentation.
140 This fixes bug #118054.
142 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
144 * configure.in: Added Russian to ALL_LINGUAS.
146 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
148 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
150 2003-07-14 Danilo Šegan <dsegan@gmx.net>
152 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
154 2003-07-10 Joel Brich <joel.brich@laposte.net>
156 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
158 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
160 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
162 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
164 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
165 resources allocated for AccessibleEvent. See cspi_event().
167 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
168 static variable streams to NULL.
170 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
171 Update so that AcessibleEvent_ref will work.
173 This fixes bug #116624.
175 2003-07-06 Jordi Mallach <jordi@sindominio.net>
177 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
179 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
181 * configure.in: Added "fr" (French) to ALL_LINGUAS.
183 2003-07-02 Christian Neumair <chris@gnome-de.org>
185 * configure.in: Added "de" (German) to ALL_LINGUAS.
187 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
189 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
191 2003-07-01 Miloslav Trmac <mitr@volny.cz>
193 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
195 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
197 * configure.in: Added "pl" to ALL_LINGUAS.
199 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
201 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
203 2003-06-30 Bill Haneman <bill.haneman@sun.com>
206 (get_action_from_servant):
207 Removed assertion that action is implemented on an AtkObject.
209 * libspi/hyperlink.c:
211 Aggregate AccessibleAction interface on the hyperlink object if
212 the object implements AtkAction. (This convention is used in
215 2003-06-30 Bill Haneman <bill.haneman@sun.com>
217 * configure.in: Revved to 1.3.5.
219 * registryd/Accessibility_Registry.server.in.in:
220 Marked up appropriate strings for translation.
222 * atk-bridge/bridge.c: Marked a couple of
223 user-visible warnings for translation. Questionable
224 whether they are really useful, but possibly so.
227 2003-06-28 Christian Rose <menthos@menthos.com>
229 * configure.in: Added "sv" to ALL_LINGUAS.
231 2003-06-26 Bill Haneman <bill.haneman@sun.com>
233 * registryd/registry.c:
234 (spi_registry_object_finalize): Unref the deviceeventcontroller.
235 (registry_defer_on_event): Defer focus: events, this is an
236 improvement to the patch for bug #108664.
238 * TODO: Update with 2.4/"Dev Complete" items.
240 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
242 * atk-bridge/bridge.c:
243 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
244 looks up signals once.
245 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
246 if doing registration.
247 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
248 when doing registration.
250 This fixes bug #115014.
252 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
254 * atk-bridge/bridge.c:
255 (atk_bridge_init): Add signal handler for children-changed:remove on
256 root when in a BonoboComponent.
257 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
258 for first toplevel only other incrememt variable toplevels.
259 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
260 application and remove listeners.
261 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
263 (spi_atk_deregister_event_listeners): New function which removes
265 (reinit_register_vars): New fuction which reinitializes variables.
267 This fixes bug #111578.
269 2003-06-13 Bill Haneman <bill.haneman@sun.com>
271 * configure.in: version 1.3.4.
273 * cspi/spi_accessible.c:
274 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
277 2003-06-13 Michael Meeks <michael@ximian.com>
279 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
281 * cspi/spi_main.c (cspi_peek_ev): impl.
283 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
285 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
287 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
289 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
290 SPI_ROLE_AUTOCOMPLETE
292 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
294 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
295 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
297 2003-06-11 Bill Haneman <bill.haneman@sun.com>
299 * libspi/streamablecontent.h:
300 * libspi/streamablecontent.c:
301 New files, provide implementation/wrappers for
302 Accessibility_StreamableContent.
304 * cspi/spi_streamablecontent.c:
305 Connected the C wrappers to the libspi C bindings.
306 (AccessibleStreamableContent_close): New method.
309 (AccessibleStreamableContent_close): New method, needed
310 since we have an "open, [seek], read, close" model in cspi.
312 2003-06-11 Bill Haneman <bill.haneman@sun.com>
314 Fix for #108664; Padraig's revision of my original patch.
316 * registryd/registry.h:
317 Added event queue list, is_queuing, and exit_notify_timeout
318 to the registry struct.
320 * registryd/registry.c:
321 (registry_init): Initialize new struct from registry.h.
322 (impl_registry_notify_event):
323 Filter events before notifying, in case some need to be
325 (registry_filter_event): New,
326 we defer certain incoming events (for instance
327 window:deactivate) because we may wish to hide
328 or reject them based on pending events. This is
329 mostly a workaround for bug #108664.
330 (registry_queue_event, registry_start_queue): New.
331 (registry_defer_on_event): Test event to see if it
333 (registry_reset_on_event): Returns TRUE if the
334 event should cause a queue reset.
335 (registry_discard_on_event): Returns TRUE if the event
336 should cause the previous queue contents to be discarded.
337 (registry_timeout_flush_queue): Flushes the pending event
338 queue if no reset/discard-triggering events have come in
339 within the timeout period.
340 (registry_emit_event): New.
341 (registry_clone_notify_context): New, used when queueing the
342 event notify contexts.
344 2003-06-10 Bill Haneman <bill.haneman@sun.com>
346 * configure.in: Version revved to 1.3.2, lt 0.9.2
347 Incremented ATK required version to 1.3.4.
349 * cspi/spi_registry.c:
350 (SPI_generateKeyEvent):
351 We now pass the keystring along if it's non-null.
353 * registryd/deviceeventcontroller.c:
354 (keysym_mod_mask): New method, returns modifier mask
355 required to generate a keysym from a given keycode.
356 (dec_synth_keysym): New method.
357 (dec_synth_keystring): New method.
358 (dec_get_modifier_state): New method.
359 (dec_lock_modifiers): New
360 (dec_unlock_modifiers): New.
361 (dec_keysym_for_unichar): New, rather brute-force
362 conversion from UCS-4 to X KeySyms. Only works for
363 Latin at the moment, with partial implementations for
364 Greek, Hebrew, and (incomplete) Katakana.
365 (impl_generate_keyboard_event): Now implement
366 "KEYSTRING" synthesis and implement "KEYSYM"
368 (keycode_from_keysym): Improved, passes a returned
369 modmask value now if the corresponding param is non-NULL.
371 Fixes bugs #92143 and #109776.
374 * test/keysynth-test.c:
375 New test program for key synthesis, to confirm fixes for
379 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
381 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
383 * cspi/spi_accessible.c (cspi_init_relation_type_table):
384 Add line for RELATION_POPUP_FOR
386 * docs/reference/cspi/tmpl/spi_relation.sgml:
387 Add relation SPI_RELATION_POPUP_FOR
389 * docs/reference/cspi/tmpl/spi_stateset.sgml:
390 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
392 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
394 * libspi/relation.c (spi_init_relation_type_table):
395 Add line for RELATION_POPUP_FOR
397 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
399 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
400 there are still windows which have not been deleted and emit
401 window:deactivate, if necessary and window:destroy events.
402 This fixes bug #114370. The change on June 5th was not correct.
404 2003-06-09 Bill Haneman <bill.haneman@sun.com>
406 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
409 (SPI_dupString): Allow dup-ing of a string such that it's safe to
411 New methods for client exception handling and interception.
412 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
413 (SPI_exceptionHandlerPop): You guessed it...
414 (SPI_getSourceType): Return the type of object which offended.
415 (SPI_getExceptionCode): Return an enum code telling, possibly,
416 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
417 (SPIAccessibleException_getSource): get the source object for
418 exceptions that come from Accessibles, if SPIExceptionSourceType is
419 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
420 (SPIException_getDescription): New, returns a string description of
421 the problem. [Not yet a stable ABI, strings are not frozen]
423 * cspi/spi-private.h:
424 Added implementation details of opaque SPIException
428 Implementations of above. Also
429 (_cspi_exception_throw): new private method that
430 dispatches exceptions to handlers, called from cspi-bonobo.c
432 * cspi/bonobo/cspi-bonobo.c:
433 (cspi_check_ev): call _cspi_exception_throw.
434 Don't print a warning message if the exception has been
435 handled by _cspi_exception_throw.
437 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
439 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
440 there are still windows which have not been deleted and emit
441 window:deactivate, if necessary and window:destroy events.
442 This fixes bug #114370.
444 2003-06-03 Bill Haneman <bill.haneman@sun.com>
447 (cspi_accessible_is_a): Make non-fatal
448 if the object reference is dead.
450 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
452 * cspi/spi_main.c: #include <stdio.h>
453 * test/simple-at.c: ditto
454 * test/event-listener-test.c: ditto
455 * test/screen-review-test.c: ditto
457 2003-05-30 Michael Meeks <michael@ximian.com>
459 * test/test-simple.c (main): use CORBA_ORB_perform_work
460 instead of an unnecessary linc_ call.
462 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
464 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
465 Add SPI_STATE_INDETERMINATE.
467 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
470 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
472 * libspi/stateset.c (init_state_type_tables): Add support for
475 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
477 * configure: Update versions of atk and gail required.
478 This fixes bug #113268.
480 2003-05-02 Bill Haneman <bill.haneman@sun.com>
482 * configure.in: Revved micro version to 1.3.1 (because of build fix).
484 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
486 * libspi/Makefile.am:
487 Ensure headers are generated before being used by c sources.
489 2003-05-01 Bill Haneman <bill.haneman@sun.com>
492 Simplified lt versioning rules.
493 Incremented version to 1.3.0, to indicate that we're on the
496 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
498 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
499 Add MKDB_OPTIONS=--outtput-format=xml
501 * docs/reference/cspi/at-spi-cspi-docs.sgml
502 docs/reference/idl/at-spi-idl-docs.sgml:
503 Convert to Docbook XML.
505 This fixes bug #111793.
507 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
509 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
510 AcccessibleKeyEventType, AccessibleKeyMaskType.
512 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
514 * cspi/state-types.h: Add documentation for AccessibleState.
516 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
517 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
518 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
519 AccessibleComponentLayer.
521 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
524 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
526 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
527 Accessible. Add description of AccessibleEvent,
528 AccessibleEventListenerCB.
530 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
533 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
534 documentation. Add description of AccessibleKeystrokeListenerCB,
535 AccessibleKeyEventMask, AccessibleModifierMaskType,
536 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
537 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
539 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
542 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
545 This fixes bug #104730.
547 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
549 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
550 Set is_text field of Accessibility_DeviceEvent data structure.
552 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
553 is-text field of AccessibleDeviceEvent data structure.
555 This addresses part of bug #108666.
557 * registryd/devcieeventcontroller.c: Unset debug option.
559 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
562 (cpi_initial_relation_type_table): New function which initializes
563 mapping between Accessibility_RelationType and AccessibleRelationType.
564 (cspi_relation_type_from_spi_relation_type): New function which
565 translates an Accessibility_RelationType into an AccessibleRelationType.
566 (AccessibleRelation_getRelationType): Use
567 cpi_relation_type_get_spi_relation_type to return correct value.
568 (spi_state_to_corba): Return correct type for default case.
570 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
571 Use Accessibility_EventType instead of Accessibility_KeyEventType.
573 * cspi/cspi-bonobo-listener.c:
574 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
577 * libspi/accessible.c, libspi/action.c, libspi/application.c,
578 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
579 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
580 libspi/image.c, libspi/listener.c, libspi/selection.c,
581 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
582 registryd/desktop.c, registryd/registry.c:
583 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
585 * libspi/eventlistener.c
586 Remove semicolon after BONOBO_TYPE_FUNC.
589 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
590 (spi_init_relation_type_table): Initialize using correct type.
592 * registryd/desktop.c:
593 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
594 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
595 of Accessibility_KeyEventType.
597 * test/key-listener-test.c (report_tab_key_event): Use fprintf
600 * tests/simple-at.c, tests/screen-review-test.c:
601 Add include for <strings.h>.
603 * tests.stress-test.c:
604 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
606 These changes fix compiler warnings when using FORTE compiler on
607 Solaris; fixes bug #107479.
610 2003-04-10 Bill Haneman <bill.haneman@sun.com>
613 * configure.in: revved to 1.1.10
616 (SPI_KEYMASK_NUMLOCK): Added.
618 * registryd/deviceeventcontroller.c:
619 (spi_key_event_matches_listener): AND with a smaller
620 bitmask (as we should).
621 (spi_dec_translate_mask):
622 New method, sets the virtual NumLock modifier bit
623 if numlock is on. Eventually it can handle other virtual
624 modifier bits if needed, or other marshalling from
625 at-spi modifier masks to platform (X) masks.
626 (spi_dec_key_listener_new):
627 Call spi_dec_translate_mask to set up virtual mod bits
628 in the 'mask' field when creating a new listener struct.
629 (spi_dec_emit_modifier_event):
630 Set the virtual (i.e. NumLock) bits before emitting event.
631 (spi_controller_register_with_devices):
632 Query for the NumLock modifier 'physical' bit if Xkb is
633 present, for use in above methods.
637 2003-04-10 Bill Haneman <bill.haneman@sun.com>
639 * registryd/deviceeventcontroller.c:
640 (spi_keystroke_from_x_key_event):
641 Instead of checking to see if the keysym is
642 printable, check the string from XLookupString
643 if available, get the first unicode character from it,
644 and call g_unichar_isprint to determine whether the
645 is_text flag should be TRUE or FALSE.
649 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
651 * atk-bridge/bridge.c: Add support for extended events
652 * cspi/spi_event.c: Add documentation and implementation for
654 * tests/event-listener-test.c: Add tests for extended events.
656 This fixes bugs #100424 and #100426.
658 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
660 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
661 of LT_CURRENT. This fixes bug #89350.
663 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
665 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
666 number of signal parameter values before accessing them. This fixes
669 2003-04-01 Bill Haneman <bill.haneman@sun.com>
671 * configure.in: Fixed duplicate inclusion of -lspi.
672 * branched for gnome-2-2/HEAD.
673 [created tag "gnome-2-2"]
675 2003-03-07 Bill Haneman <bill.haneman@sun.com>
677 * configure.in: 1.1.9 release.
680 2003-03-07 Bill Haneman <bill.haneman@sun.com>
682 [needed by GOK, to fix bugs 107985 and 107988]
683 * registryd/deviceeventcontroller.c:
684 (spi_dec_clear_unlatch_pending):
685 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
686 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
687 (spi_dec_init_mouse_listener):Emit warning if mouse button
689 (spi_device_event_controller_forward_mouse_event):
690 Removed unnecessary parens from a conditional.
691 (global_filter_fn):Added TODO comment.
692 (impl_generate_keyboard_event):
693 Cancel a pending relatch if a 'delatching' key was
696 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
698 * atk-bridge/bridge.c:
699 Change atk_signal_child_changed to atk_signal_children_changed.
700 Reorganize code in spi_atk_bridge_signal_listener().
702 * test/event-listener-test.c:
703 Add children_changed_listener and report_children_changed_event()
704 to test AccessibleChildEvent_getChildAccessible.
706 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
708 * cspi/spi_event.c (cspi_internal_event_get_text): Change
709 g_strdup to CORBA_String_dup (bug #105291)
711 * test/event-listener-test.c (report_text_event): Add call to
714 2003-02-28 Bill Haneman <bill.haneman@sun.com>
716 * registryd/deviceeventcontroller.c:
717 (spi_keystroke_from_x_key_event):
718 Fix string and keysym return codes to match modifier state.
721 2003-02-28 Bill Haneman <bill.haneman@sun.com>
723 * registryd/deviceeventcontroller.c:
724 (spi_keystroke_from_x_key_event):
725 Fix segv due to improper use of isprint(c). [bug #107254]
727 2003-02-24 Bill Haneman <bill.haneman@sun.com>
730 (get_accessible_text_boundary_type):
731 Move default return value to (new) default case in switch.
732 (get_accessible_text_clip_type):
733 Move default return value to (new) default case in switch.
735 * libspi/application.c:
736 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
737 Remove unused methods.
738 (impl_accessibility_application_register_object_event_listener):
739 Remove unused methods.
742 Added #include of <math.h>.
744 * registryd/deviceeventcontroller.c:
745 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
746 we don't currently use this method.
747 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
749 (impl_generate_key_event):
750 Remove unused variables.
751 (impl_generate_mouse_event):
752 Initialize button to zero, just in case we get an invalid
753 input. Added support for mouse buttons 4 and 5.
754 (spi_device_event_controller_new):
755 Removed unused variable declaration for 'private'.
757 Added #include of <gdk/gdk.h>
759 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
761 * configure.in: Update to work when X is not installed in expected
762 location. Fixes bug #105836.
764 * atk-bridge/bridge.c
765 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
767 (spi_atk_register_event_listener): Add signal listener for
769 (spi_atk_bridge_signal_listener): Event event when link-selected
770 signal is emitted. (bug #104622)
772 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
773 on returned string. (bug #105291)
775 * test/event-listener-test.c: Add test for link-selected.
777 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
779 * atk-bridge/Makefile.am: Correct typo in previous commit.
781 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
783 * atk-bridge/Makefile.am: Allow for build directory to be different
784 from source directory
786 * registryd/Makefile.am: Allow for build directory to be different
787 from source directory
791 2003-01-29 Bill Haneman <bill.haneman@sun.com>
794 Fixed dependencies for libcspi so that libspi gets pulled in
795 properly. Fixes 104741.
799 Clean up inline docs a little.
801 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
803 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
804 This is done by implementing AtkComponent for SpiAtkDesktop, which is
805 the AtkObject within an SpiDesktop.
806 This addresses bug #101524.
808 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
809 Remove call to gdk_init().
811 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
812 so that Display is set when SpiDesktop is created.
814 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
816 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
817 This fixes bug #102830.
819 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
821 * test/test-simple.c: Update to take account of fact that GailButton
822 now implements AtkText.
823 (create_text_window): Set name on AtkObject for GtkEntry.
824 (validate_accessible): Check accessible name before calling test_text().
826 * libspi/Makefile.am: Fix problem with building outside of source
827 directory. Bug #98120.
829 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
830 typo in documentation comments. Bug #94275.
832 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
834 * libspi/text.c (impl_getBoundedRanges): Bug fix.
836 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
839 Add includes to avoid compiler warnings on Solaris.
840 (impl_getRangeExtents): Bug fix.
842 2002-12-17 Bill Haneman <bill.haneman@sun.com>
844 Fix for 100944, [API addition approved by Gman and murrayc].
851 * idl/Accessibility_Text.idl:
852 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
853 (Text::getRangeExtents): New method for efficient
854 bounds query of a text range.
855 (Text::getBoundedRanges): New method for efficient
856 clipping of text to bounding boxes.
857 (unImplemented7, unImplemented8):
858 Removed these padding methods to preserve bincompat.
861 (impl_getRangeExtents): implementation of new IDL.
862 (impl_getBoundedRanges): implementation of new IDL.
863 (SpiTextRect): Internal use struct.
864 (_spi_text_rect_union): internal method, calculates union of two
865 SpiTextRect bounding rects.
866 (_spi_text_range_seq_from_gslist): internal method, allows us
867 to build our sequence efficiently as a gslist then convert it
869 (_spi_bounds_contain): internal method, determines whether
870 a text character is "in" or "out" of a clip rect according to
871 values of TEXT_CLIP_TYPE.
872 (spi_text_class_init): Initialize the new methods in the epv.
875 (AccessibleTextClipType): New enum used by screen review api.
876 (AccessibleTextRange): New struct used by screen review api.
877 (AccessibleText_getRangeExtents):
878 cspi binding for Accessibility_Text_getRangeExtents.
879 (AccessibleText_getBoundedRanges):
880 cspi binding for Accessibility_Text_getBoundedRanges.
881 (AccessibleTextRange_freeRanges): convenience method.
884 (AccessibleText_getRangeExtents):
885 cspi binding for Accessibility_Text_getRangeExtents.
886 (AccessibleText_getBoundedRanges):
887 cspi binding for Accessibility_Text_getBoundedRanges.
888 (AccessibleTextRange_freeRanges): convenience method.
889 (get_accessible_text_clip_type): internal conversion method.
890 (get_accessible_text_ranges_from_range_seq): internal conversion method.
892 * registryd/deviceeventcontroller.c:
893 (spi_dec_mouse_check):
894 Improved behavior for mouse:abs events
895 [same granularity as mouse:rel events, and no
896 events when mouse is idle].
898 2002-12-16 Michael Meeks <michael@ximian.com>
900 * cspi/spi_accessible.c (spi_state_to_corba): rename.
902 * libspi/stateset.c (state_spi_to_atk): split out
903 ( fix several remote array bounds nasties )
904 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
905 (impl_remove): make safe from array bounds issues.
906 (spi_atk_state_from_spi_state): impl.
908 * libspi/stateset.h (spi_state_set_cache_is_empty):
909 add a set of wrapper defines to get layering right.
911 * cspi/spi_accessible.c: update state set stuff to
914 2002-12-14 Michael Meeks <michael@ximian.com>
916 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
917 to avoid 2 roundtrips to the registry per key event
918 (spi_atk_bridge_key_listener): upd.
919 (deregister_application): release the dec.
921 * registryd/registry.c (notify_listeners_cb):
922 bin lots of re-enterant complexity - we no longer
923 do a round-trip bonobo ref here, ensure that a single
924 listener's exception failure won't poison all other
926 (impl_registry_notify_event): bin obvious memory leak.
928 2002-12-13 Michael Meeks <michael@ximian.com>
930 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
931 init the ev so the error is meaningful.
932 (spi_atk_bridge_key_listener): ditto.
934 * cspi/spi_main.c (cspi_ev): init the ev so we start
935 with a clean slate, otherwise the first exception
938 * cspi/spi_text.c (get_accessible_text_boundary_type):
939 add a fallthrough for no warnings.
941 * cspi/spi_registry.c: prune unused warnings.
943 * cspi/spi_main.c (cspi_object_take): fix
944 mind-blowing brokenness ( by watching the compile
947 * cspi/spi_accessible.c (Accessible_getStateSet):
948 re-impl. to use an AtkStateSet.
949 (spi_state_type_from_accessible_state),
950 (init_state_table): bin these.
952 * libspi/stateset.c (spi_atk_state_set_from_sequence):
954 (atk_state_set_from_accessibility_state_set): here.
956 * cspi/spi_accessible.c (spi_state_to_atk): impl.
957 (AccessibleStateSet_contains, AccessibleStateSet_ref),
958 (AccessibleStateSet_unref, AccessibleStateSet_contains),
959 (AccessibleStateSet_add, AccessibleStateSet_remove),
960 (AccessibleStateSet_equals, AccessibleStateSet_compare),
961 (AccessibleStateSet_isEmpty): re-write to use a local
964 2002-12-13 Bill Haneman <bill.haneman@sun.com>
966 * configure.in: Revved to 1.1.7 (new keymask vals).
968 2002-12-10 Bill Haneman <bill.haneman@sun.com>
971 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
973 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
976 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
977 to compare two CORBA_TypeCodes.
978 (cspi_internal_event_add): Silence warning from FORTE compiler.
980 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
981 avoid implicit declaration of functions.
983 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
985 * atk-bridge/bridge.c:
986 (spi_atk_bridge_init_event_type_consts): Store signal id for
987 active-descendant-changed signal.
988 (spi_atk_register_event_listeners): Add signal listener for
989 active-descendant-changed signal,
990 (spi_atk_bridge_signal_listener): Move code in function
991 spi_atk-signal_emit_event() into this function.
992 Add support for active-descendant-changed
993 Update support for child-changed signal.
994 (spi_bridge_window_event_listener): Silence warning.
996 * libspi/spi_private.[ch]:
997 (spi_init_any_object): Change second parameter from CORBA_Object to
999 Omit call to CORBA_Object_duplicate().
1000 Set CORBA_any's _value to CORBA_Object*.
1002 2002-12-06 Bill Haneman <bill.haneman@sun.com>
1008 (AccessibleEvent_ref, AccessibleEvent_unref):
1009 New methods, for persisting an event outside the emission context.
1010 Must be used if the new accessor methods are to be called
1011 outside of the event listener's callback.
1013 * cspi/bonobo/cspi-bonobo.c:
1014 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
1015 as second parameter instead of NULL, so we can call
1016 cspi_check_ev afterwards.
1019 (cspi_object_take): New internal method,
1020 converts a CORBA_Object reference to a hard ref on
1021 an Accessible if possible, returning NULL if the object
1022 reference is invalid or an Accessible * otherwise.
1025 (AccessibleEvent_ref):
1026 Increment the event's internal private refcount, and
1027 add the event's internal struct to an internal cache
1028 if it's not already there.
1029 (AccessibleEvent_unref):
1030 Decrement the event's refcount and remove it from
1031 the cspi event cache if refcount==0.
1032 (cspi_event_compare): New private method.
1033 Compares two event structs via their ids. Used
1035 (cspi_internal_event_lookup): New private method.
1036 (cspi_internal_event_check): New private method,
1037 a 0-order sanity check for events to make sure their
1038 private data is intact.
1039 (cspi_internal_event_add, cspi_internal_event_remove):
1040 New private methods for managiing the event cache.
1042 * cspi/bonobo/cspi-bonobo-listener.c:
1044 Initialize the new private data elements (id, magic, ref_count).
1046 * atk-bridge/bridge.c:
1047 (spi_atk_bridge_signal_listener):
1048 Fixed bug #100530, passing wrong params to emission func.
1050 * registryd/deviceeventcontroller.c:
1051 (spi_dec_button_update_and_emit):
1052 Fixed type in mask bit operations; fix for #99799.
1054 2002-12-02 Bill Haneman <bill.haneman@sun.com>
1056 Removed some of the more dangerous workarounds from
1057 previous commit; they are only needed by GOK, which
1058 in reality should be using another method to accomplish
1059 the goals. So on reconsideration some of the workarounds
1060 need to be reverted:
1062 * registryd/deviceeventcontroller.c:
1063 (spi_keycodes_contain, spi_dec_init_keycode_list):
1064 Removed these methods, used only by a nasty hack to try
1065 and detect whether a key synthesis should be allowed
1066 to reset the XKB latch state or not. This code was only
1067 required to work around an interaction between GOK,
1068 button events, and XKB.
1069 (impl_generate_key_event):
1070 Removed hack at end of key generation that tried to
1071 "do the right thing" if XKB latch keys were generated
1072 in the midst of button press/release pairs.
1075 Added a check for HAVE_XINPUT. Not normally used yet.
1077 2002-11-25 Bill Haneman <bill.haneman@sun.com>
1079 Workarounds and fixes for mouse event/XKB interaction.
1081 * registryd/deviceeventcontroller.c:
1082 (spi_keycodes_contain, spi_dec_init_keycode_list):
1083 New internal methods.
1084 (spi_dec_set_unlatch_pending):
1085 Split the method that tells XKB to expect an
1086 unlatch (and revert it) out of the rest of the
1087 event handling code. This method is called by the
1088 two mouse event handlers (the poll and the filter).
1089 (spi_dec_update_and_emit, spi_dec_mouse_check):
1090 New methods split from spi_dec_poll_mouse_moved.
1091 The second one is now called from inside the filterFn
1092 when an XKB delatch event is received, to determine
1093 whether to revert the delatch or not.
1094 (spi_poll_mouse_moved): Refactor; also we can now
1095 properly handle the case where multiple button states
1096 have changed between polling cycles and we didn't get
1097 notified due to another client's grab.
1099 Synchronize the server while handling an XKB notification.
1100 Ugly, but apparently necessary to avoid nasty races.
1101 Check the mouse state on receipt of an XKB latch change,
1102 to decide whether to revert the latch or not. (Latches are
1103 reverted if there is an immediately preceding mouse button
1104 event that a client has consumed, in which case we don't want
1105 the user to see the side-effect of the event).
1106 (spi_device_event_controller_forward_mouse_event):
1107 Check for modifier events and fire before resetting mouse_mask_state,
1108 prevents losing modifier events.
1110 (impl_generate_keyboard_event):
1111 If we've just generated a keyboard event for a non-shift key,
1112 we don't want to revert the pending XKB latch.
1113 Otherwise, check the modifier state (via a call to
1114 spi_dev_mouse_check) and set the relatch mask to
1115 that state before returning.
1117 2002-11-24 Bill Haneman <bill.haneman@sun.com>
1120 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
1123 * atk-bridge/bridge.c:
1124 (spi_atk_register_event_listeners):
1125 Don't re-register for ATK events if the registry has died
1126 and the app needs to re-register; the ATK listeners are in
1127 process and doing so will cause duplicate emission.
1129 * registryd/deviceeventcontroller.c:
1130 (spi_poll_mouse_moved):
1131 Reformat the source, detect and emit multiple button-change
1132 events (i.e. if multiple buttons have changed between poll
1134 Add code to detect mouse-down events even when the pointer
1135 is grabbed; workaround for GOK bug 98420.
1136 (spi_controller_register_with_devices):
1137 Call XTestGrabControl with 'impervious' flag set to True,
1138 allows us to synthesize events and query the pointer even during
1139 an active grab by another client.
1140 (spi_device_event_controller_forward_mouse_event):
1141 Set the mouse_mask_state to the mouse_button_state from
1142 the intercepted event, to synchronize the grab listener with
1145 2002-11-20 Bill Haneman <bill.haneman@sun.com>
1147 * cspi/spi_accessible.c:
1148 (AccessibleRole_getName):
1149 Added necessary strings for making this (deprecated)
1150 method work with the new role types.
1151 (init_role_table, role_table):
1152 Added definition of SPI_ROLE_APPLICATION.
1154 * libspi/spi-roletypes.h:
1155 Added SPI_ROLE_APPLICATION.
1157 * idl/Accessibility_Role.idl:
1158 Added ROLE_APPLICATION.
1160 * docs/reference/cspi/at-spi-cspi-decl.txt:
1161 Added SPI_ROLE_APPLICATION to docs.
1163 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
1165 * cspi/spi_accessible.c
1166 (cspi_init_role_table): Do not write beyond end of role_table.
1167 (Accessible_getRole): Use correct type for value returned by
1168 Accessibility_Accessible_getRole().
1170 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
1171 beyond end of role_table. (This fixes bug #98269)
1173 * libspi/application.c: Add include file spi-private.h for
1174 definition of spi_init_any_nil.
1176 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1180 * libspi/spi-private.h:
1181 Added DGB() macro, and extern int _dbg declaration.
1183 * registryd/registry.c:
1184 (definitions) storage for _dbg.
1185 (spi_registry_init):
1186 Get environment variable "AT_SPI_DEBUG".
1187 (spi_registry_set_debug):
1188 New method, to initialize _dbg value.
1189 (spi_listener_struct_new, spi_registry_object_finalize):
1190 (notify_listeners_cb):
1191 Changed fprintfs to use DBG and g_warning().
1193 * registryd/deviceeventcontroller.c:
1194 (_deregister_keygrab, spi_controller_register_device_listener):
1195 Changed debug/warning messages to use DBG macro.
1197 * libspi/listener.c:
1198 (impl_notify_event):
1199 Changed warning messages to use DBG macro and g_warning().
1201 * atk-bridge/bridge.c:
1202 (atk_bridge_init, spi_atk_bridge_get_registry):
1203 (spi_atk_bridge_exit_func):
1204 (spi_atk_bridge_property_event_listener):
1205 Changed status, warning, and error messages to use
1206 g_warning, g_message, and DBG macros.
1209 Read the state of the AT_SPI_DEBUG environment variable
1210 and set a local '_dbg' accordingly.
1212 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1214 FIXES for 98836, 98842, other bugs.
1217 Revved to 1.1.4, interface-age=4, binary-age=4.
1219 * registryd/deviceeventcontroller.c:
1221 Fixed crasher bug in last_mouse_pos initialization.
1223 * registryd/registry.c:
1224 (desktop_add_application, desktop_remove_application):
1225 Added (and then commented out) some support for
1226 object context marshalling. [TODO]
1228 * atk-bridge/bridge.c:
1229 (spi_atk_bridge_event_context_create):
1230 Commented out object context creation until it can
1231 be properly tested and debugged.
1233 * registryd/registry.c:
1234 (impl_registry_notify_event):
1235 Fixed crasher bug, we were calling
1236 spi_re_entrant_list_foreach () with an empty list.
1238 2002-11-18 Bill Haneman <bill.haneman@sun.com>
1240 * idl/Accessibility_Action.idl:
1241 * idl/Accessibility_Component.idl:
1242 * idl/Accessibility_Desktop.idl:
1243 * idl/Accessibility_Event.idl:
1244 * idl/Accessibility_Hyperlink.idl:
1245 * idl/Accessibility_Image.idl:
1246 * idl/Accessibility_Relation.idl:
1247 * idl/Accessibility_Selection.idl:
1248 * idl/Accessibility_State.idl:
1249 * idl/Accessibility_Value.idl:
1250 Updated unimplemented slot count to minimum of
1251 four for all interfaces, for ABI freeze.
1253 * idl/Accessibility_EditableText.idl:
1254 * idl/Accessibility_Text.idl:
1255 Updated unimplemented slot count to six
1258 * idl/Accessibility_Registry.idl:
1259 Updated unimplemented slot count to six
1260 (also for DeviceEventController),
1263 * idl/Accessibility_Table.idl:
1264 Updated unimplemented slot count to eight,
1267 * idl/Accessibility_Event.idl:
1268 Added CORBA_any "any_data" member to Event struct.
1270 * idl/Accessibility_Event.idl:
1271 Added CORBA_any "any_data" member to Event struct.
1273 * atk-bridge/bridge.c:
1275 atk_signal_text_changed, atk_signal_child_changed,
1276 signal ids queried from gtype system.
1277 (AtkBridgeEventContextType): New enum.
1278 (AtkBridgeEventContextData): New struct.
1279 (AtkBridgeEventContext): New struct.
1280 (atk_bridge_init_event_type_consts):
1281 New method, initializes type contants for comparison
1282 prior to emit_eventv.
1283 (atk_bridge_event_context_init): New method,
1284 initializes a CORBA_any from an AtkBridgeEventContext.
1285 (atk_bridge_focus_tracker): Call spi_init_any_nil to
1286 initialize the event.any_data struct.
1287 (spi_atk_bridge_event_context_create): New method,
1288 creates an AtkBridgeEventContext from signal/event info.
1289 (spi_atk_bridge_event_context_free): New method.
1290 (spi_atk_emit_eventv): Changed to take an
1291 AtkBridgeEventContext parameter. We now initialize
1292 the event.any_data member prior to notifying the
1293 Registry, via the AtkBridgeEventContext.
1294 (spi_atk_bridge_property_event_listener):
1295 (spi_atk_bridge_state_event_listener):
1296 Match emit_eventv signature.
1297 (spi_atk_bridge_object_event_listener):
1298 Match emit_eventv signature, and create an
1299 event context from the event details.
1300 Free the event context afterwards.
1301 (spi_atk_bridge_window_event_listener):
1302 Create an event context, pass it to the
1306 (AccessibleEvent_getContextString):
1307 (AccessibleEvent_getContextObject):
1308 New methods, allow query of AccessibleEvent objects
1309 for more context details (via the "any_data" member
1310 of the Event struct, above).
1313 Definitions for AccessibleEvent_getContextString
1314 and AccessibleEvent_getContextObject.
1316 * cspi/spi_listener.h:
1317 (InternalEvent): New struct.
1320 (AccessibleEvent_getContextString):
1321 (AccessibleEvent_getContextObject):
1322 Implementations of new methods, for obtaining
1323 additional context information from some event types.
1325 * cspi/spi_registry.c:
1326 (SPI_registerGlobalEventListener):
1327 Added mention of active-descendant-changed event in docs.
1329 * cspi/cspi-bonobo-listener.c:
1331 Marshal the any into the AccessibleEvent via
1334 * libspi/spi-private.h:
1335 #include <orbit/orbit.h>
1337 (spi_init_any_string):
1338 (spi_init_any_object):
1339 New convenience function declarations.
1343 (spi_init_any_string):
1344 (spi_init_any_object):
1345 New convenience function implementations.
1347 * registryd/deviceeventcontroller.c:
1348 (spi_poll_dec_mouse_moved):
1349 (spi_device_event_controller_forward_mous_event):
1350 Initialize any_data member of event.
1351 (spi_deregister_controller_device_listener):
1352 Fix incorrect param pass which was preventing deregistration.
1354 * registryd/registry.c:
1355 (desktop_add_application):
1356 (desktop_remove_application):
1357 Add object data to event's any_data before dispatch.
1359 Fix for error messages from GAIL.
1361 * test/event-listener-test.c:
1362 Test new ContextString and "any_data" API:
1363 (report_text_event): New method query and output context string.
1364 (main): register a new text listener with report_text_event
1367 2002-11-19 Darren Kenny <darren.kenny@sun.com>
1369 Fixes for bugs 98127 and 97914.
1370 * cspi/spi-roletypes.h:
1371 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
1373 * cspi/spi-statetypes.h:
1374 Added SPI_STATE_MANAGES_DESCENDANTS
1376 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
1377 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
1378 * cspi/spi_accessible.c:
1379 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
1380 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
1381 Accessibility_STATE_MANAGES_DESCENDANTS
1382 * libspi/accessible.c:
1383 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
1384 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
1385 As requested by Bill, I also cleaned up the alignment.
1386 * libspi/relation.c:
1387 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
1388 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
1389 * libspi/stateset.c:
1390 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
1391 Accessibility_STATE_MANAGES_DESCENDANTS
1392 * docs/reference/cspi/tmpl/spi_accessible.sgml:
1393 Document changes reflecting modifications to roles.
1394 * docs/reference/cspi/tmpl/spi_relation.sgml:
1395 Document changes reflecting modifications to relations.
1396 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1397 Document changes reflecting modifications to states.
1399 2002-11-17 Bill Haneman <bill.haneman@sun.com>
1402 Revved to 1.1.3, interface-age=3, binary-age=3.
1403 Added REBUILD macro.
1406 Removed accessx-gui from the tests, since we have a nice
1407 keyboard accessibility capplet now :-)
1409 * test/keysynth-demo.c:
1410 (increment_scan): removed do-nothing default: case,
1413 * test/visual-bell.c:
1414 (main) : removed do-nothing default: case,
1417 * cspi/spi_action.c:
1418 (AccessibleAction_getKeyBinding_):
1419 Documented keybinding string format.
1423 (AccessibleText_getAttributes):
1424 Documented the text attribute string format.
1425 It's changed to use semicolon delimiters also,
1426 to prevent clashes with CSS attributes, but the old
1427 trick of looking for ", " strings will still work
1428 (as unreliably as ever). Fix for bug related to 97916.
1431 Include <cspi/bonobo/cspi-bonobo-listener.h>
1432 Fixes build warning.
1433 (SPI_freeAccessibleKeySet):
1434 (AccessibleKeystrokeListener_addCallback):
1435 (AccessibleKeystrokeListener_removeCallback):
1436 Modify to use AccessibleDeviceListener API internally,
1437 instead of AccessibleKeystrokeListener.
1439 * idl/Accessibility_Event.idl:
1440 Added two more empty slots to EventListener (for a total of four).
1442 * idl/Accessibility_Accessible.idl:
1443 Added four empty slots to Accessible interface.
1445 2002-11-15 Bill Haneman <bill.haneman@sun.com>
1447 * idl/Accessibility_Registry.idl:
1448 (KeyEventType, EventType):
1449 Marked KeyEventType as deprecated; it duplicates
1450 functionality of EventType, which has been extended to
1451 include Mouse-button events.
1452 (KeyEventTypeSeq): defined in terms of EventType.
1453 (registerDeviceEventListener, deregisterDeviceEventListener):
1454 New methods, for managing listeners to device events,
1455 which potentially may consume them.
1458 Added definition for AccessibleDeviceListener.
1460 * cspi/spi-listener.h:
1461 (enum AccessibleDeviceEventType):
1462 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
1463 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
1464 for backwards compat.
1465 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
1466 and typedef'd AccessibleKeystroke to it for back-compat.
1467 (AccessibleDeviceListenerCB):
1468 New function prototype typedef.
1471 (AccessibleDeviceEventMask): New typedef.
1472 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
1473 (AccessibleKeyMaskType):
1474 Set equivalent to AccessibleModifierMaskType for back-compat.
1475 (SPI_createAccessibleKeystrokeListener):
1476 (AccessibleKeystrokeListener_unref):
1477 Deprecated in favor of equivalent (better-named) new API below..
1478 keystroke listeners are like all device listeners.
1479 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
1480 New API names for old features :-).
1481 (AccessibleDeviceListener_addCallback):
1482 (AccessibleDeviceListener_removeCallback):
1483 (SPI_registerDeviceEventListener):
1484 (SPI_deregisterDeviceEventListener):
1488 (SPI_createAccessibleKeystrokeListener):
1489 Use new preferred API, cspi_device_listener_new() and
1490 cspi_device_listener_add_cb().
1491 (AccessibleKeystrokeListener_removeCallback):
1492 Use new preferred API, cspi_device_listener_remove_cb().
1493 (AccessibleKeystrokeListener_unref):
1494 Use new preferred API, cspi_device_listener_unref().
1495 (SPI_createAccessibleDeviceListener):
1496 (AccessibleDeviceListener_addCallback):
1497 (AccessibleDeviceListener_removeCallback):
1498 Implementation of new API.
1500 * cspi/spi_registry.c:
1501 (SPI_registerDeviceEventListener):
1502 (SPI_deregisterDeviceEventListener):
1503 Implementation of new API. Fixed memory leak and removed need to
1504 allocate EventTypeSeq (thanks Michael for catching this).
1505 Squashed a wayward CORBA_exception_free that shouldn't get called.
1507 * cspi/bonobo/cspi-bonobo-listener.c:
1509 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
1510 (cspi_key_event): renamed to cspi_device_event().
1511 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
1512 Extended to handle mouse button events as well as key events.
1513 (CSpiKeystrokeListener):
1514 Class superceded by CSpiDeviceListener.
1515 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1516 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1518 * cspi/bonobo/cspi-bonobo-listener.h:
1519 (CSpiKeystrokeListener):
1520 Class superceded by CSpiDeviceListener.
1521 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1522 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1524 * libspi/Makefile.am:
1525 Replaced keystrokelistener.h and keystrokelistener.c
1526 with devicelistener.h and devicelistener.c; keystrokelisener.h
1527 stub retained for back-compat.
1529 * libspi/keystrokelistener.c:
1533 Replaced inclusion of keystrokelistener.h with devicelistener.h.
1535 * registryd/deviceeventcontroller.c:
1536 (DEControllerListener): Added Accessibility_EventTypeSeq member.
1537 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
1538 (DEControllerPrivateData): Added xkb settings data.
1539 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
1540 button release events (which can't be captured via XGrabButton).
1541 Don't dispatch via the 'normal' event mechanism if the device event was
1543 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
1544 Handle the typeseq data in its new location (see above).
1545 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
1546 New methods, for "generic" device listeners.
1547 (spi_controller_register_device_listener):
1548 Now handle mouse event listeners as well as key listeners.
1549 (spi_controller_notify_mouselisteners):
1550 New internal method.
1551 (spi_device_event_controller_forward_mouse_event):
1552 Now we notify mouse device listeners as well as generating the
1553 non-consumable "mouse:" events.
1555 We must check and restore the XKB
1556 modifier map if we consume the event, since the act of triggering
1557 a mouse event will normally reset the XKB latch. This is required for
1559 (spi_controller_register_with_devices):
1560 Load the XKB settings when registering, and register for XKB
1561 state notify events.
1562 (spi_key_eventtype_seq_contains_event):
1563 Renamed spi_eventtype_seq_contains_event, since it's used
1564 internally for all device event types now.
1565 (spi_key_event_matches_listener):
1566 Uses spi_eventtype_seq_contains_event now.
1567 (spi_device_event_controller_object_finalize):
1568 Free the private data and the XkbKeyboard struct.
1569 (impl_register_device_listener, impl_deregister_device_listener):
1570 Implementation of new IDL.
1571 (spi_deregister_controller_device_listener):
1572 New internal method.
1573 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
1574 More efficient implementation, we don't have to create a new
1575 XkbControls structure every time we query.
1576 (spi_device_event_controller_class_init):
1577 Initialize the epv entries for the new IDL. Assign the
1578 "spi-dec-private" quark.
1579 (spi_device_event_controller_init):
1580 Initialize the private data.
1581 (spi_device_event_controller_forward_key_event):
1582 Removed a bogus CORBA_exception_free() call.
1584 * registryd/deviceeventcontroller.h:
1585 Replaced inclusion of keystrokelistener.h with
1588 * test/event-listener-test.c:
1589 (report_mouse_event):
1592 Added mouse-event device listener.
1594 * test/test-simple.c:
1595 (create_test_window):
1596 Fixed regression (we were instantiating a GtkRange,
1597 which is now an abstract class). Also fixed to match
1598 existing AtkRole names, this seems to have changed in ATK
1599 awhile ago; too late now I think, and the new
1600 mechanism is at least elegant and consistent with the
1601 glib enum "nick" APIs.
1603 2002-11-15 Darren Kenny <darren.kenny@sun.com>
1605 * idl/Accessibility_Relation.idl:
1606 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
1607 RELATION_EMBEDS,RELATION_EMBEDDED_BY
1608 * idl/Accessibility_Role.idl:
1609 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
1610 * idl/Accessibility_State.idl:
1611 add STATE_MANAGES_DESCENDANTS
1612 * test/event-listener-test.c:
1613 Added a listener for active-descendant events.
1615 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
1617 * atk-bridge/bridge.c
1618 (atk_bridge_init): If application is Bonobo component wait until top
1619 level is added before registering
1620 (spi_atk_bridge_do_registration): New function which contains code,
1621 formerly in atk_bridge_init, to do application registration.
1622 (spi_atk_bridge_toplevel_added): Signal called when top level
1623 added to Bonobo component
1625 This fixes bug #83134.
1627 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
1629 * registryd/deviceeventcontroller.c
1630 Fixed compilation error caused by calling gettimeofday()
1633 2002-10-18 Bill Haneman <bill.haneman@sun.com>
1638 Added template for HAVE_XKB.
1641 Changes to check for XKB, and to set the HAVE_XKB #define if it
1644 * libspi/listener.c:
1645 ()impl_notify_event): Make failure to get event source name
1648 * registryd/deviceeventcontroller.c:
1649 (#include): include X11/XKBlib.h.
1650 (DEControllerPrivateData) : New struct.
1651 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
1653 (dec_synth_keycode_press) (dec_synth_keycode_release):
1654 New methods; split the key synthesis code into these methods.
1655 They check XKB settings before determining the "time" values to
1656 pass to Xtest; this fixes bug #95828.
1657 (impl_generate_keyboard_event): Changed to use methods above,
1658 instead of callng Xtest directly.
1659 (spi_device_event_controller_init): Initialize new privae struct s
1661 (spi_device_event_controllr_object_finalize):
1662 Free the (new) private data.
1664 * registryd/deviceeventcontroller.h:
1665 Add new gpointer to end of struct data.
1667 2002-10-16 Bill Haneman <bill.haneman@sun.com>
1670 Incremented revision to 1.1.2, SONAME is still '.so', library
1671 extensions are ".so.0.0.2".
1673 * registryd/deviceeventcontroller.c:
1674 FIXES FOR #93592 and #95940.
1675 (statics): renamed mouse_button_state to mouse_mask_state,
1676 added key_modifier_mask.
1677 (spi_dec_poll_mouse_moved):
1678 Added key modifier checks, and emit "keyboard:modifiers"
1679 events when the key modifiers currently in use change.
1680 Also generate "mouse:abs" events periodically, even if the mouse
1681 is stationary (should we?).
1682 Alternatively we could generate "mouse:abs" events for either all
1683 mouse movements, or every 'nth' mouse movement, or at the
1684 beginning and end of every "active" mouse period.
1686 * test/event-listener-test.c:
1687 (main): Added listener for "keyboard:modifiers" events.
1689 2002-10-15 Bill Haneman <bill.haneman@sun.com>
1691 * libspi/keymasks.h:
1692 Added key mask #defines for mouse buttons; e.g.
1693 SPI_KEYMASK_BUTTON1, etc.
1696 Incremented dependency on ATK to version 1.1.0. (This dependency
1697 is probably premature but will soon be real enough).
1699 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
1701 * libspi/hyperlink.[ch]
1702 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
1703 (get_hyperlink_from_servant): Check object is AtkHyperlink not
1706 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
1711 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
1713 * registryd/deviceeventcontroller.c
1714 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
1715 events to be ignored.
1716 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
1717 keyboard_mode so that XAllowEvents() can be called.
1721 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
1723 * cspi/spi-accessible.c: Correct names of roles returned by
1724 AccessibleRole_getName(). Fixes bug #95055.
1726 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
1728 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
1731 * registryd/registry.c
1732 (desktop_remove_application: Write diagnostic message to stderr for
1735 (impl_accessibility_registry_deregister_global_event_listener):
1736 Correct size of lists array. This addresses bug #94555).
1738 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
1740 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
1743 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
1745 * registryd/Makefile: Add CLEANFILES so that .server file is removed
1748 * registryd/registry.c (impl_registry_notify_event): Remove
1749 unnecessary call to parser_event_type().
1751 * docs/reference/cspi/tmpl/spi_component.sgml:
1752 Add reference to SPI_LAYER_WINDOW.
1754 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
1756 * registryd/registry.c
1757 (desktop_add_application): Remove leak.
1758 (desktop_remove_application): Remove leak.
1759 (parser_event_type): Remove leak.
1761 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
1763 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
1764 bogus call to CORBA_string_dup(). Also removed unnecessary
1765 g_string_dup/g_free calls.
1767 2002-09-13 Bill Haneman <bill.haneman@sun.com>
1769 * registryd/deviceeventcontroller.c:
1770 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
1772 * test/event-listener-test.c:
1773 main: commented out three redundant listeners, to reduce output
1774 noise. (They still are potentially useful for testing).
1777 2002-09-13 Michael Meeks <michael@ximian.com>
1779 * Update all the copyrights to include Ximian.
1781 2002-09-06 Mark McLoughlin <mark@skynet.ie>
1783 * cspi/spi.h: add SPI_LAYER_WINDOW.
1785 * cspi/spi_component.c: (AccessibleComponent_getLayer):
1786 add Accessibility_LAYER_WINDOW case.
1788 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
1790 * libspi/component.c: (impl_accessibility_component_get_layer):
1791 add ATK_LAYER_WINDOW case.
1793 2002-08-28 Bill Haneman <bill.haneman@sun.com>
1795 * configure.in: incremented micro version.
1797 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
1799 2002-08-20 Bill Haneman <bill.haneman@sun.com>
1802 Clarified and reworded our commit policy.
1805 Started an API "todo" addition list for 2.2.
1808 (impl_getSelection):
1809 Free char pointer from atk_text_get_selection, which was being leaked.
1811 2002-08-19 Bill Haneman <bill.haneman@sun.com>
1814 Small revision to author acknowledgement.
1816 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1818 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
1819 If signal has detail add it to the type of the event.
1822 2002-08-12 Michael Meeks <michael@ximian.com>
1824 * test/test-simple.c (global_listener_cb): bin bogosity.
1825 (test_keylisteners): disable, still doesn't work reliably,
1826 certainly not on my system anyway.
1828 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
1829 don't leak a reference on the DEC. This round-trip
1830 fetching of the DEC per keystroke sucks, it should be
1833 * cspi/spi-private.h,
1834 * cspi/cspi-lowlevel.h,
1835 * cspi/bonobo/cspi-bonobo-listener.[ch],
1836 * cspi/bonobo/cspi-bonobo.c: get the copyright
1837 notices better - there is still a large amount of
1838 work in at-spi falsely attributed solely to Sun.
1840 * cspi/spi_main.c (cspi_object_ref): kill bogus
1841 hash lookup, just increment the ref.
1842 (SPI_freeString): make explicit the fact that we
1843 handle NULL strings just fine.
1844 (report_leaked_ref): obey coding standards.
1845 (cspi_object_hash, cspi_object_equal): kill retval.
1846 (cspi_object_release): only release if not on loan.
1847 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
1848 (cspi_object_borrow, cspi_object_return): impl.
1850 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
1851 use cspi_object_borrow / return.
1853 2002-08-12 Darren Kenny <darren.kenny@sun.com>
1855 * cspi/bonobo/cspi-bonobo-listener.c:
1857 Don't call cspi_oject_new() because this is creating a new Accessible
1858 every single time that an event is fired. This causes ATs like at-poke
1859 to nolonger recognise the source of the event and thus ignore it.
1860 Re-use the object from the cache, ref it and then unref it after the
1861 listeners have been called.
1863 2002-08-06 Darren Kenny <darren.kenny@sun.com>
1865 * test/event-listener-test.c:
1866 Added command-line options to disable mouse events (m) and
1869 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
1871 * configure.in: Update required versions of ATK, GTK+ and GAIL
1873 * cspi-1.0.pc.in: Add dependency for X include files
1876 * cspi/bonobo/Makefile.am:
1877 Add $(X_CFLAGS) so that X include files
1878 are picked up even if not in standard place (bug #71686)
1880 2002-06-25 Bill Haneman <bill.haneman@sun.com>
1882 * registryd/deviceeventcontroller.c: fix for 84261
1883 (spi_dec_mouse_moved):
1884 Added test of mouse button mask, so that we can detect mouse
1885 button release. Unfortunately we can't otherwise detect mouse
1886 button release events without consuming the mouse press event,
1887 because of the way XGrabButton works. This means that our mouse
1888 release events have a latency dependent on the polling period
1889 while the mouse button is down. At least in this case we only
1890 have to poll while the button is down, and not at other times.
1891 If the button masks don't match with what the last press event
1892 reported, we report the appropriate button release event.
1893 (spi_dec_ungrab_mouse):
1894 New method (not yet called).
1895 (spi_device_event_controller_forward_mouse_event):
1896 New method, sends mouse press event from GdkFilter.
1897 (spi_dec_init_mouse_listener):
1898 Added code to call XGrabButton, redirecting mouse button events to
1899 the root window and our Gdk event loop.
1901 Added code to filter mouse button events, and reordered.
1903 * test/event-listener-test.c:
1905 Added registration for mouse events of type "mouse:button".
1907 2002-06-25 Bill Haneman <bill.haneman@sun.com>
1909 * registryd/deviceeventcontroller.c: partial fix for 84261
1910 (spi_dec_poll_mouse_idle):
1911 New method, a timeout which checks to see if the mouse
1913 (spi_dec_poll_mouse_moving):
1914 A timeout to be called when mouse motion is underway.
1915 (spi_dec_poll_mouse_moved):
1916 A method which fires an event if the mouse has moved, and reports
1917 whether or not it did so.
1918 (spi_dec_init_mouse_listener):
1919 A method which sets up the timeouts above.
1920 (spi_device_event_controller_new):
1921 Now calls spi_dec_init_mouse_listener.
1923 * registryd/registry.c:
1924 (spi_registry_init):
1925 Now we initialize the device event controller when the registry is
1926 initialized, instead of waiting until a client has requested a key
1927 event notification; this is because we need the event controller
1928 for mouse events, but the mouse event registration API is a
1929 "registry" call and doesn't explicitly call the
1930 deviceeventcontroller.
1931 We now report mouse motion events with a 100 ms idle latency and
1932 a 20 ms granularity when motion is in progress.
1934 * test/event-listener-test.c:
1936 We now register the "detail listener" for events of type
1937 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
1938 delivered only for the first mouse event received, and thereafter
1939 "mouse:abs" events are delivered.)
1941 * cspi/spi_registry.c:
1942 DOCS: Documented the above mouse event typestrings.
1944 2002-06-21 Bill Haneman <bill.haneman@sun.com>
1946 Happy Summer Solstice...
1948 * registryd/deviceeventcontroller.c: [fix for bug 84100]
1949 (spi_controller_notify_keylisteners):
1950 Changes to remove a listener from the listener list, freeing its
1951 open keygrabs, if a notification to that listener fails. This
1952 means that although a dead listener can continue to hold a passive
1953 keygrab, a maximum of one dispatch to such a listener can fail
1954 before the listener is removed from the list, thus the keygrab
1955 will be released on the next occurrence.
1956 As part of this fix:
1957 (spi_notify_keylisteners):
1958 Renamed to spi_controller_notify_keylisteners, as the controller
1959 instance must now be passed as an argument.
1960 The copied 'notify' GList is now a list of DEControllerKeyListener
1961 objects, since we need more than just the CORBA reference if a
1962 notify fails and we need to deregister the listener.
1963 (impl_notify_listeners_sync):
1964 (impl_notify_listeners_async):
1965 (spi_device_event_controller_forward_key_event):
1966 Modify use of notify_keylisteners in accordance with above
1968 (spi_deregister_controller_key_listener):
1969 New method introduced by refactoring, from
1970 impl_deregister_keystroke_listener.
1971 (impl_deregister_keystroke_listener):
1972 Call spi_deregister_controller_key_listener.
1973 (spi_key_listener_clone):
1974 New method to copy a key listner without doing a 'ref' on the
1975 remote object instance; used to create a notifier list.
1976 (spi_key_listener_data_free):
1977 New method, frees data without unreffing the source.
1979 (spi_key_listener_clone_free): new method.
1980 (spi_key_listener_free):
1981 refactored to call spi_key_listener_data_free.
1983 2002-06-20 Bill Haneman <bill.haneman@sun.com>
1985 * registryd/registry.c: [fix for bug 86048]
1986 (notify_listeners_cb):
1987 Clear CORBA system exceptions which occur when notifying
1988 listeners, before returning to the source of the original event,
1989 since the event source doesn't care if the relayed notify failed.
1990 In other words, don't complain to the atk-bridge if the registry
1991 could not notify all its listeners, that's no fault of the
1992 application and thus should not appear to be an error from the
1993 application's perspective.
1995 * cspi/spi_main.c: [fix for bug 85980]
1997 Replaced use of bonobo_object_dup_ref with call to the wrapper
1998 method, csou_dup_ref (); this silences a compiler warning and
1999 provided more portability.
2001 Ping the registry before return, and restart if necessary.
2003 * cspi/bonobo/cspi-bonobo.c:
2005 New internal method.
2007 Fixed this method to return an object reference, as it should have
2010 * cspi/cspi-lowlevel.h:
2011 Added internal definition for cspi_ping() and fixed
2012 return type of cspi_dup_ref().
2015 2002-06-19 Bill Haneman <bill.haneman@sun.com>
2017 * atk-bridge/bridge.c: [fix for bug 85305]
2018 (spi_atk_bridge_register_application):
2019 New method where the initial application registry calls have been
2020 moved; it allows an application to re-register in response to
2021 certain error conditions (such as a registry restart, see below).
2023 Moved some initialization code to the method
2024 spi_atk_bridge_get_registry, below.
2025 (spi_atk_bridge_get_registry):
2026 New, private accessor function for the Accessibility_Registry
2027 instance. If the registry has not been started before, or has
2028 died (as detected by failure of a CORBA exception), it is
2029 restarted before return, and spi_atk_bridge_register_application
2030 is called again to register with the new bridge instance.
2031 (spi_atk_emit_eventv):
2032 Set registry_died on error; use spi_atk_bridge_get_registry () to
2033 access the registry.
2035 * registryd/registry.c:
2036 (impl_accessibility_registry_register_global_event_listener):
2037 Set listener's event_type_quark to etype.minor instead of
2038 etype.major (fix for bug 84856).
2040 * test/event-listener-test.c:
2041 (report_detail_event):
2042 Change the output string so that user/tester can tell that the
2043 'detail listener' was called instead of the 'generic listener'.
2045 2002-06-18 Bill Haneman <bill.haneman@sun.com>
2047 Fixes for bugs 84900, 84908, 84897, 84898.
2052 Revved version to 1.1.0
2053 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
2054 version is going to HEAD which will be used for gnome-2-0-1 and later.)
2056 * idl/Accessibility_Registry.idl:
2057 (EventListener::notifyEvent):
2058 Removed 'oneway' directive after extensive consulation with
2059 ORBit2 team and others. This means also that unref() of the event
2060 source can and should be done synchronously after emission, rather
2061 than remotely in the client, after servicing the notify call on
2064 NOTE: This change speeds up listener performance considerably, but
2065 introduces new latency on the application side. We may want to
2066 add an event queue to the atk-bridge.
2068 * atk-bridge/bridge.c:
2069 (spi_atk_bridge_focus_tracker):
2070 Do a local unref() on the event source after emission.
2072 * registryd/registry.c:
2073 (desktop_remove_application):
2074 Do an unref() on the event source after emission.
2075 (desktop_add_application):
2076 Do an unref() on the event source after emission.
2077 (notify_listeners_cb):
2078 When relaying an event, don't automatically add the event source
2079 to the local object cache, just CORBA_dup it instead. Likewise,
2080 if this method reenters, release the ref rather than calling
2082 (impl_registry_notify_event):
2083 No longer call remote unref() on the event source after dispatch.
2085 * libspi/eventlistener.c:
2086 (impl_accessible_event_notify_event):
2087 Removed remote unref ()
2089 * cspi/bonobo/cspi-bonobo-listener.c:
2091 We now call cspi_object_new() instead of cspi_object_add() on
2092 receipt of an event; thus we only have an implicit object ref
2093 while the cspi_event method is being executed. If we need to keep
2094 a reference to the object, the listener must call ref() on the
2095 object. Thus also we don't need to call cspi_object_unref() after
2096 invoking the listener callbacks in this method.
2100 New internal API for creating a new cspi object, without adding it
2101 to the object cache.
2103 Now uses cspi_object_new() to create the cspi object instance.
2105 Now checks to see if the object is in the internal object cache,
2106 and adds it if necessary before incrementing its refcount (note
2107 that new objects are added with a refcount of 1).
2108 (report_leaked_ref):
2109 New method which gives some information on leaked object instances
2110 if leak detection is turned on.
2112 * test/event-listener-test.c:
2113 (timing_test_event):
2114 New method, used for testing event delivery timing for special
2115 events of type "object:test". It reports elapsed time and
2116 events/sec every 500 events.
2118 Added a new listener, 'test listener', to check timing of event
2119 receipt as noted above.
2121 Added some timing output here also, reports elapsed time every 100
2124 * test/stress-test.c:
2125 Emit events of type "object:test", for use with "event-listener-test".
2127 * test/test-simple.c:
2128 (global_listener_cb):
2129 Call Accessible_ref() on the event source before calling
2130 validate_accessible, since the validation process does pointer
2131 comparisons on the event source, meaning that the event source
2132 needs to be added to the local object cache first. Any use of
2133 such pointer comparisons between Accessible objects requires that
2134 the caller hold an explicit reference to those objects.
2135 We also must therefore call Accessible_unref() when leaving this method.
2137 2002-06-13 Bill Haneman <bill.haneman@sun.com>
2139 * registryd/deviceeventcontroller.c:
2140 (spi_controller_update_key_grabs):
2141 Fix for #84735, subsequent keygrab listeners not informed of
2142 registration failure.
2145 (spi_base_construct):
2146 Add an assertion on construct, to make sure the GObject passed in
2147 is really a GObject.
2149 Explicitly initialize object->gobj pointer to NULL;
2151 * cspi/bonobo/cspi-bonobo-listener.c:
2152 (cspi_object_add_ref):
2153 New method, can specify whether to dup-ref a bonobo object passed
2154 in if it's newly added to the object cache.
2156 Now calls cspi_object_add_ref with second param of "FALSE". This
2157 prevents us from doing a pointless dup-ref followed by
2158 release-unref for all those cases where the object is already in
2159 our object cache (fix for #85205).
2161 * atk-bridge/bridge.c:
2162 (spi_atk_bridge_idle_init):
2163 Removed this method, we don't need to initialize in an idle
2166 Changed to call spi_atk_register_event_listeners directly, not via an
2167 idle handler. (fix for #81139)
2168 (gnome_accessibility_module_shutdown):
2169 Removed conditional around deregistration of listeners, since we
2170 don't use the idle handler and thus have always registered when
2172 (spi_init_keystroke_from_atk_key_event):
2173 Changed references to Accessibility_KEY_PRESSED to
2174 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
2176 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2178 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
2183 * test/stress-test.c:
2186 (may have been an incomplete commit yesterday?)
2188 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2191 Added target for new stress-test.
2193 * test/stress-test.c:
2194 New test, sends 1000 focus notifies in quick succession.
2196 * test/key-listener-test.c:
2197 Now we report whether a keylistener registration
2198 request succeeded or failed.
2200 * test/event-listener-test.c:
2201 Uncommented some listeners which are now implemented.
2204 2002-06-06 Bill Haneman <bill.haneman@sun.com>
2206 * registryd/deviceeventcontroller.c:
2207 (spi_controller_update_key_grabs):
2208 Fix for #82509, lack of failure notification when
2209 ALL_WINDOWS keygrabs fail due to XGrabKey
2210 failure: we synchronize the server when
2211 registering a passive grab, to make sure we get the
2212 error message before the call returns.
2214 2002-06-03 Bill Haneman <bill.haneman@sun.com>
2216 * test/test-simple.c:
2218 Removed #ifdef KEY_IMPL_WORKS guards.
2219 (test_keylisteners):
2220 Removed #ifdef KEY_IMPL_WORKS guards.
2221 Fixed bug which was causing a hang waiting for a
2222 "press" event (which was already overwritten by a "release"
2223 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
2225 Added code to set globals 'key_press_received' and
2226 'key_release_received'.
2229 Added section "1.1 API Proposed Additions" which
2230 lists API additions desired for at-spi-1.1 (only one so far).
2231 Updated TODO list a little.
2233 2002-06-02 Bill Haneman <bill.haneman@sun.com>
2235 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
2238 * configure.in: Revved to 1.0.0.
2240 * idl/Accessibility_Registry.idl:
2241 (registerKeystrokeListener):
2242 Added boolean return value.
2244 * registryd/registry.c:
2245 (notify_listeners_cb): Minor fix to debug output.
2247 * registryd/Accessibility_Registry.server.in.in:
2248 Revved version number in OAFIID to 1.0.
2250 * registryd/registryd.c:
2252 Use new OAFIID version.
2254 * cspi/bonobo/cspi-bonobo.c:
2256 Use new OAFIID version.
2262 * atk-bridge/bridge.c:
2264 Use new OAFIID version.
2266 * registryd/deviceeventcontroller.c:
2267 (impl_register_keystroke_listener):
2268 Added CORBA_boolean return value.
2269 (spi_controller_register_device_listener):
2270 Added gboolean return value.
2271 (spi_controller_register_global_keygrabs):
2272 Added gboolean return value.
2273 (spi_key_set_contains_key):
2274 Added implementation for many more control keys,
2275 for instance F1-F12, arrow keys, End, Home, Page_Up,
2277 [TODO: some still not implemented].
2279 * text/screen-review-test.c:
2280 (text_chunk_pad_string):
2281 New function: it provides mapping between coordinate
2282 positions of text chunks and character positions in the
2283 screen-review-line output string.
2284 (text_chunk_to_string):
2285 New function, calls text_chunk_pad_string with various
2286 pad/delimiter characters. Pushbuttons are delimited with
2287 square brackets, Frames with vertical 'pipe' lines, and
2288 other text with double quotes.
2289 (text_chunk_list_to_string):
2290 Calls new function text_chunk_to_string.
2291 (toplevel_composite):
2292 New function to composite layers CANVAS through
2293 POPUP in each toplevel (other layers are composited
2294 across toplevels, i.e. BACKGROUND and OVERLAY).
2295 (review_buffer_composite):
2296 Revise to use new methods.
2302 2002-05-31 Laszlo Peter <laca@sun.com>
2304 * configure.in: add the Xtst libdir to the runpath on Solaris,
2305 since it's not in the default library search path.
2307 2002-05-29 jacob berkman <jacob@ximian.com>
2309 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
2311 2002-05-29 Bill Haneman <bill.haneman@sun.com>
2313 * test/screen-review-test.c:
2314 (text_chunk_pad_string):
2315 Added method, which pads the string according to the
2316 text bounds of the chunk. It also takes a 3-character
2317 string as a param which indicates the characters to be
2318 used for start, padding, and end delimitation of the chunk.
2319 (text_chunk_to_string):
2320 Changed to use text_chunk_pad_string.
2322 * configure.in: Fixed bug in AC_OUTPUT that was
2323 causing path substitution in Accessibility_Registry.server
2326 2002-05-23 Bill Haneman <bill.haneman@sun.com>
2328 * text/screen-review-test.c:
2329 (guess_string_clip):
2330 New method which attempts a best-guess at clipping
2331 text from components (like Java labels) which don't
2332 actually implement AccessibleText. This inaccurate
2333 clip is based on the assumption that the label is
2334 justified left-and-right, and monospaced.
2335 (text_chunk_get_clipped_string):
2336 We now call guess_string_clip() for text-containing
2337 components that don't implement AccessibleText.
2339 * test/screen-review-test.c:
2340 (review_buffer_get_text_chunk):
2341 We now pull "name" from labels if they do not implement
2342 AccessibleText (i.e. for Java labels).
2343 (get_screen_review_line_at):
2344 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
2347 Replaceded AC_OUTPUT target
2348 registryd/Accessibility_Registry.server with
2349 registryd/Accessibility_Registry.server.in.
2351 * registryd/Accessibility_Registry.server.in:
2352 Removed (this is now a Makefile target).
2354 * registryd/Accessibility_Registry.server.in.in:
2355 Added (source for target above). We now use $(libexecdir) as
2356 prefix for the executable at-spi-registryd.
2358 * registry/Makefile.am:
2359 Now install at-spi-registryd into $(libexecdir), and build .server
2360 file with path (see above).
2362 2002-05-22 Bill Haneman <bill.haneman@sun.com>
2364 * test/screen-review-test.c:
2365 (text_chunk_get_clipped_string):
2366 We now check to see if words fall within clip bounds
2367 before resorting to character-by-character clip bounds testing.
2369 * TODO: Added a section for "2.2 Proposed API Additions".
2371 2002-05-21 Bill Haneman <bill.haneman@sun.com>
2373 * test/screen-review-test.c:
2375 Added a screen review benchmarking and test program to test
2378 * cspi/spi_accessible.c:
2380 Made some of the debug strings passed to cspi_check_ev a
2381 little more specific.
2383 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
2385 * test/screen-review-test.c: Fix crashes in debug statements
2387 2002-05-20 Bill Haneman <bill.haneman@sun.com>
2389 * test/screen-review-test.c: Added this file.
2391 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2393 * atk-bridge/bridge.c: changed "object:state-change" to
2394 "object:state-changed" to match docs.
2396 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2398 * atk-bridge/bridge.c: Hooked up state-change event details.
2400 2002-05-11 Bill Haneman <bill.haneman@sun.com>
2402 * registryd/registry.c:
2403 Fixed quarking bug in event string parsing; now events with
2404 detail parameters get matched correctly to listeners.
2407 * util/idl/Magnifier.idl: remove.
2409 * util/*.[ch]: Remove.
2410 Magnification utilities and IDL are now in module gnome-mag.
2412 2002-05-10 Bill Haneman <bill.haneman@sun.com>
2414 * registryd/deviceeventcontroller.c:
2415 Fixed bug in grab key conversion which was causing keycode grabs
2416 to be converted to AnyKey grabs.
2419 updated NEWS file to reflect recent spin-off of gnome-mag.
2421 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
2423 * cspi/spi_accessible.c: Added exception checks. Fixed completely
2424 busted AccessibleStateSet_compare. Removed redundant casts.
2426 * cspi/spi-action.c: Removed redundant casts.
2428 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
2430 * cspi/spi_component.c: Fixed typos and casting error.
2432 * cspi/spi_editabletext.c: Removed redundant casts.
2434 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
2436 * cspi/spi_hypertext.c: Eliminated redundant casts.
2438 * cspi/spi_image.c: Eliminated redundant casts.
2440 * cspi/spi_registry.c: Eliminated redundant casts.
2441 SPI_deregisterGlobalEventListenerAll () removed retval variable.
2442 * cspi/spi_selection.c: Removed redundant casts.
2443 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
2444 handling. Screen geometry and text offsets were being returned as 0
2445 on error which is technically valid-- changed these to return -1.
2446 Added marshaller for text boundary types to fix bug with boundary
2447 types being passed incorrectly to atk.
2449 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2452 * cspi/spi_registry.c:
2453 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
2454 which was uncovered by the recent key changes.
2456 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2458 * test/event-listener-test.c:
2460 Added new test, "event-listener-test";
2461 this code does two things; it benchmarks traversal time
2462 for the accessible hierarchy for the first running accessible
2463 app, and it connects listeners for all supported event types.
2464 It is thus useful as an example event listener and for
2465 diagnostics/debugging of event generation.
2467 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2470 Removed unnecessary dependency on libutil.
2473 Revved micro version: 0.13.1
2475 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2478 Removed util/Makefile from targets.
2481 Removed util subdir from SUBDIRS (temporarily,
2482 pending removal of magnifier-only code
2486 #ifdef-ed out magnifier dependencies, since
2487 magnifier IDL, headers, and binary now live in
2488 module gnome-mag and we don't want at-spi to depend
2489 on gnome-mag. A magnifier demo which can run alongside
2490 simple-at is forthcoming in the gnome-mag module.
2492 NOTE: Split magnifier binary, IDL, and magnification
2493 activation code from at-spi into module gnome-mag.
2495 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
2497 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
2498 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
2500 2002-05-03 Bill Haneman <bill.haneman@sun.com>
2503 Revved to version 0.13.0
2505 * idl/Accessibility_Registry.idl:
2506 Changed definition of KeySet from sequence of longs to sequence of
2507 KeyDefinitions, and added KeyDefinition struct.
2508 Required for fix to bug 80616.
2510 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
2511 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
2512 to use new definition (see above).
2514 * registryd/deviceeventcontroller.c: handle_keygrab(),
2515 spi_keyset_contains_key():
2516 Changed to make use of new struct; this allows matching based on
2517 string key-name, for instance "Tab". This also allows matching of
2518 composed characters, non-alphanumeric characters in a way that
2519 doesn't involve dependencies on X keysym codes directly, etc.
2521 * test/key-listener-test.c:
2522 Added test for Alt-Tab key using "string" specification of keyset,
2523 and modified one of the tests to use a keycode-based keyset.
2524 Thus this test both tests and demonstrates the creation and use of
2525 keysets of three forms: specified via keycode array,
2526 keysym array, and string array. (The string case only contains a
2527 single string, i.e. a string array of length 1).
2530 Turned on PRINT_TREE option by default. Also fixed a
2531 string-freeing bug in the PRINT_TREE code.
2532 Added a listener to window:minimize events.
2534 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
2536 * atk-bridge/bridge.c:
2537 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
2538 for window:activate and window:deactiveate
2539 (atk_bridge_property_event_listener atk_bridge_signal_listener
2540 atk_bridge_window_event_listener) Tidy debug code
2542 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
2544 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
2545 Fixed handling for NULL return value from ATK.
2547 * libspi/action.c libspi/component.c libspi/editabletext.
2548 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
2549 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
2550 Removed redundant casts.
2552 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
2553 Fixed off by one bug.
2555 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
2556 function not present in idl)
2558 2002-05-02 jacob berkman <jacob@ximian.com>
2560 * atk-bridge/Makefile.am: make atk-bridge a real module
2562 2002-04-26 Radek Doulik <rodo@ximian.com>
2564 * libspi/stateset.c (spi_init_state_type_tables): fix size of
2565 atk_state_types table
2567 2002-04-22 jacob berkman <jacob@ximian.com>
2570 * libspi/Makefile.am: add deps on the built files to help
2571 automake, and don't version the ORBit typelib
2573 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
2575 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
2576 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
2577 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
2578 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
2579 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
2580 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
2581 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
2582 libspi/accessible.h libspi/accessible.h libspi/base.h
2583 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
2584 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
2585 libspi/relation.h libspi/remoteobject.h libspi/selection.h
2586 libspi/spi-private.h libspi/statetset.h libspi/table.h
2587 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
2588 util/mag_client.h util/mag_control.c util/mag_image.c
2589 util/mag_image.h util/magnifier.c util/magnifier.h:
2590 Add missing file headers; standardize existing ones
2592 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
2594 * atk-bridge/bridge.c: Added window event support.
2596 2002-04-18 Michael Meeks <michael@ximian.com>
2598 * libspi/relation.c (impl_getNTargets): impl.
2599 (impl_getTarget): impl.
2601 * libspi/Makefile.am: fix stateset install.
2603 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2606 Started putting useful info in this file.
2608 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
2610 * atk-bridge/bridge.c:
2611 Propagate state-changed notifications to ATs
2613 * cspi/spi_registry.c: update docs to reflect actual behavior of
2614 state-change events.
2616 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2619 Incremented version to 0.12.1
2621 * util/mag_client.h:
2622 Add missing declaration for magnifier_exit,
2623 used by mag_control.c - Forte compiler didn't like
2624 the implicit redeclaration of the function :-(
2627 2002-04-16 Bill Haneman <bill.haneman@sun.com>
2630 Revved version to 0.12 due to API change (see below).
2632 * cspi/spi-roletypes.h:
2633 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
2634 definition from the inline docs, and added docs
2635 for SPI_ROLE_LAST_DEFINED.
2638 * cspi/spi_streamablecontent.c:
2639 Added missing seek_type parameter to
2640 (so far unused) method,
2641 AccessibleStreamableContent_seek().
2642 [ RT approval JodyG. ]
2645 Fixed docs for SPI_createAccessibleKeystrokeListener.
2647 * cspi/spi_registry.c:
2648 Fixed docs for SPI_KEYSET_ALL_KEYS.
2650 * docs/reference/cspi/at-spi-cspi-sections.txt:
2651 Added a number of missing APIs to SECTIONS.
2653 2002-04-16 Bill Haneman <bill.haneman@sun.com>
2655 * registryd/Makefile.am:
2657 * cspi/bonobo/Makefile.am:
2658 Add $(X_LIBS) to makefiles.
2660 2002-04-15 Bill Haneman <bill.haneman@sun.com>
2663 Revved version to 0.11.
2665 * libspi/component.c:
2666 Added implementation for grabFocus.
2668 * idl/Accessibility_Component.idl
2669 (Accessibility_Component_grabFocus):
2670 Made this method return boolean to indicate success or failure, to
2671 be consistent with cspi and the corresponding ATK method.
2673 * idl/Accessibility_Selection.idl
2674 (Accessibility_Selection_selectAll) :
2675 Made these methods return boolean to indicate success or
2676 failure, to be consistent with cspi and the corresponding ATK methods.
2678 * idl/Accessibility_EditableText.idl
2679 (Accessibility_EditableText_setTextContents,
2680 Accessibility_EditableText_insertText,
2681 Accessibility_EditableText_cutText,
2682 Accessibility_EditableText_deleteText,
2683 Accessibility_EditableText_pasteText):
2684 Made these methods return boolean to indicate
2687 * cspi/spi_editabletext.c:
2688 Made these methods return booleans.
2690 * libspi/selection.c:
2691 * libspi/component.c:
2692 * libspi/editabletext.c:
2693 Connected the boolean returns from ATK
2694 to the server-side code referenced above.
2696 2002-04-14 Bill Haneman <bill.haneman@sun.com>
2698 * idl/Accessibility_Table.idl: Added missing methods,
2699 Accessibility_Table_addRowSelection,
2700 Accessibility_Table_addColumnSelection,
2701 Accessibility_Table_removeRowSelection,
2702 Accessibility_Table_removeColumnSelection.
2705 Added C wrappers for above IDL:
2706 AccessibleTable_addRowSelection,
2707 AccessibleTable_addColumnSelection,
2708 AccessibleTable_removeRowSelection,
2709 AccessibleTable_removeColumnSelection.
2712 Added server-side implementation code for IDL above, connecting
2713 to pre-existing ATK api.
2715 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
2717 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
2719 * libspi/accessible.c: Added implementation fo
2720 Accessibility_Accessible_get_state.
2722 * libspi/libspi.h: Added stateset.h to the list of includes.
2724 * libspi/stateset.c: Fixed broken implementation.
2726 2002-04-13 Bill Haneman <bill.haneman@sun.com>
2729 Added implementation code for Accessibility_Magnifier_exit ().
2731 * util/mag_control.c:
2732 Added test code for above method; you can
2733 now kill an existing magnifier via
2734 ./mag_control q, from the util directory.
2736 * test/key-listener-test.c:
2738 Added a new test, for our key listener API.
2740 2002-04-11 Bill Haneman <bill.haneman@sun.com>
2742 * test/app.c, test/keysynth-demo.c:
2744 Replace use of snprintf with g_snprintf.
2745 (fix for bugzilla 78249)
2747 2002-03-27 Michael Meeks <michael@ximian.com>
2751 * util/Makefile.am (INCLUDES): fix.
2752 (DONT_DIST_SOURCE): don't distribute the
2755 * libspi/Makefile.am (dist-hook): ditto.
2757 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
2759 * libspi/hypertext.c:
2760 Fix warnings when yelp is used with atk-bridge
2762 2002-03-21 Michael Meeks <michael@ximian.com>
2764 * libspi/application.c (spi_application_new):
2765 use spi_accessible_construct so we use the AtkObject
2768 2002-03-19 Michael Meeks <michael@ximian.com>
2770 * registryd/registry.c (desktop_remove_application),
2771 (desktop_add_application): clean coding style.
2773 * registryd/desktop.c (spi_desktop_remove_application),
2774 (spi_desktop_add_application): kill re-enterency hazards.
2775 (spi_desktop_dispose): remove bogus redundant cast
2776 obscuring bug; fix bug too.
2777 (spi_desktop_init): make the desktop object immortal.
2779 2002-03-16 Bill Haneman <bill.haneman@sun.com>
2782 Added a #define-guarded tree-traversal step
2783 when enumerating the apps (diagnostic tool).
2785 2002-03-15 Bill Haneman <bill.haneman@sun.com>
2787 * idl/Accessibility_Role.idl:
2788 Added ROLE_DRAWING_AREA which seemed to be missing from the
2791 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2793 * cspi/spi-roletypes.h cspi/spi_accessible.c
2794 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
2797 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
2798 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
2799 AT when applications are added and removed from the desktop. This
2800 reverts the previous broken implementation using the backing
2801 AtkObject for the SpiDesktop.
2803 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2805 * registryd/desktop.c: emit the "children-changed::add" and
2806 "children-changed::remove" signals on the backing ATK object for
2807 the desktop so AT can tell when applications are started and shut
2810 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2812 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
2814 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2816 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
2818 * cspi/spi_accessible.c: Implemented c bindings for stateset support
2820 * cspi/state-types.h: synched with IDL and ATK
2822 2002-03-13 Bill Haneman <bill.haneman@sun.com>
2824 * libspi/accessible.c
2825 (impl_accessibility_accessible_get_child_at_index):
2826 Change return value for g_return_if_fail ()
2827 to CORBA_OBJECT_NIL instead of "0" (!)
2829 * registryd/Makefile.am:
2830 * registryd/Accessibility_Register.server.in:
2831 Changed name of executable, "registryd",
2832 to something more informative:
2835 2002-03-13 Michael Meeks <michael@ximian.com>
2837 * atk-bridge/bridge.c (atk_bridge_init): don't register
2838 if we're in a bonobo-component, rather than a bonobo app.
2840 2002-03-13 Michael Meeks <michael@ximian.com>
2842 * atk-bridge/bridge.c (gtk_module_init): split
2843 out body to (atk_bridge_init): here, since otherwise
2844 we get symbol conflicts and oddness when invoked
2845 from (gnome_accessibility_module_init): here (upd.)
2847 2002-03-11 Bill Haneman <bill.haneman@sun.com>
2850 New file. Explicitly allow "build sheriff" putbacks provided
2851 they are tested on Solaris.
2853 * docs/reference/cspi/Makefile.am:
2854 Added '-' to the "cp" command for index.sgml.
2855 ("patch by thomasvs, soon coming to a GUADEC near you")
2858 Incremented version number (0.9.0) for new release.
2859 Changed macro that checks for popt, to better detect
2860 obsolete versions of popt.
2863 Added X_LIBS to AC_SUBST, for applications
2864 that call Xlib API directly.
2867 2002-03-07 Bill Haneman <bill.haneman@sun.com>
2870 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
2873 Fix regression caused by hard-coding major
2874 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
2877 * test/test-simple.c (test_editable_text),
2878 (test_test): revert previous change (error was
2879 a regression in gail which is now fixed).
2881 2002-03-04 Michael Meeks <michael@ximian.com>
2883 * test/test-simple.c (test_editable_text),
2884 (test_text): pass G_MAXINT instead of '-1' for
2885 whole string - is this a good thing !?
2887 * cspi/spi_accessible.c
2888 (Accessible_getRelationSet): fix crasher bug
2889 overwriting the end of the array.
2891 * test/test-simple.c (validate_accessible): free,
2892 not g_free returned relation set.
2894 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
2896 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
2897 implemented stateset support
2899 * idl/Accessibility_State.idl: Made necessary changes to
2900 the IDL to support state sets.
2902 2002-02-12 Bill Haneman <bill.haneman@sun.com>
2904 * registryd/deviceeventcontroller.c:
2905 Added implementation for generateMouseEvent.
2907 * cspi/spi_registry.c:
2908 Connected new implementation for generateMouseEvent
2911 2002-02-12 Bill Haneman <bill.haneman@sun.com>
2914 Incremented revision (but no change in public API
2915 outside of 'utils', which are not installed public yet.)
2917 * libspi/component.c:
2918 Changed to use atk_component API for layers and
2919 mdi_zorder, instead of deprecated atk_object API.
2921 Magnification Utility Enhancements:
2924 Added implementation of createZoomRegion, clearAllZoomRegions,
2925 resizeZoomRegion. Added new commandline argument
2926 "--no-initial-region". Note that clearAllZoomRegions doesn't
2927 unmap the old '0' region as it should (yet), and the other
2928 methods only work when creating/resizing a single region,
2929 which is "region 0".
2930 (Code for multiple region support will be added later.)
2933 Now we raise the magnifier window each time it's refreshed;
2934 this will help keep it on top.
2936 * util/mag_client.h:
2937 Added simple wrappers for above, used by mag_control.
2938 For general use, it's recommended to use the bonobo magnifier
2939 control API directly instead of using these wrappers.
2942 Moved ZoomRegionData from magnifier.c to this file.
2944 * util/mag_control.c:
2945 Added some code to exercise new IDL implementations.
2947 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
2949 * libspi/text.c: Provide implementation for getAttributes.
2951 2002-02-04 Bill Haneman <bill.haneman@sun.com>
2954 Incremented revision.
2956 * test/test-simple.c:
2957 Replaced use of deprecated g_main_iteration with
2958 g_main_context_iteration.
2960 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
2963 Incremented revision for desktop alpha 2.
2965 2002-01-28 Mark McLoughlin <mark@skynet.ie>
2967 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
2970 * test/simple-at.c: include netinet/in.h.
2972 2002-01-24 Mark McLoughlin <mark@skynet.ie>
2974 * cspi/spi_accessible.c: (Accessible_getRelationSet):
2975 use NULL, not CORBA_OBJECT_NIL.
2977 * libspi/accessible.c:
2978 (impl_accessibility_accessible_get_relation_set):
2979 allocate the sequence correctly.
2981 * libspi/remoteobject.h: kill spi_remote_object_new.
2983 * test/test-simple.c: (validate_accessible): add code
2984 to test relation sets, now all we need is to figure
2985 out how to excercise this code path :/
2987 2002-01-18 Michael Meeks <michael@ximian.com>
2989 * test/test-simple.c
2990 (key_listener_cb): consume the key.
2991 (test_keylisteners): update.
2992 (main): wait for any pending unrefs on events.
2994 * registryd/deviceeventcontroller.c
2995 (spi_controller_update_key_grabs): only re-issue the
2996 grab on a key release.
2997 (spi_device_event_controller_forward_key_event):
2998 refresh the keygrabs before we notify the listeners,
2999 to reduce the X ungrab / re-grab race.
3000 (spi_controller_register_with_devices): remove
3001 XSelectInput - we do that with the gdk_window_ call.
3002 (_spi_controller_device_error_handler): return a value.
3003 s/GDK_DISPLAY/spi_get_display/
3005 2002-01-17 Michael Meeks <michael@ximian.com>
3007 * registryd/deviceeventcontroller.c
3008 (_deregister_keygrab): don't blow out the later
3011 * test/test-simple.c (test_keylisteners): do a
3012 more intelligent validation.
3014 2002-01-14 Michael Meeks <michael@ximian.com>
3016 * atk-bridge/bridge.c
3017 (gnome_accessibility_module_init),
3018 (gnome_accessibility_module_shutdown): impl.
3019 (gtk_module_init): protect vs. double inits.
3020 (add_signal_listener): impl.
3021 (spi_atk_bridge_state_event_listener): kill
3022 (deregister_application): split out of
3023 (spi_atk_bridge_exit_func): here.
3025 2002-01-18 Bill Haneman <bill.haneman@sun.com>
3028 Added caret tracking when using magnifier, and
3029 now use text bounds for focus tracking of text elements, rather than
3030 the component bounds - this is helpful for short text fields in long
3031 table cells, at high magnification.
3033 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3035 * registryd/deviceeventcontroller.c:
3036 Regression fix for keylistener de-registration; global keygrabs
3037 were not being released when deregisterKeystrokeListener was
3038 called in cspi, since
3039 Accessibility_DeviceEventController_deregisterKeystrokeListener
3040 was called with a zero-length keyset. That is because the cspi
3041 method, SPI_deregisterKeystrokeListener, does not take a keyset
3042 parameter but instead should remove all the key grabs held be a
3044 The code in impl_deregister_keystroke_listener was changed to copy
3045 the keylist from the listener instance previously registered with
3046 the DeviceEventController before releasing the grabs.
3048 * registryd/registry.c:
3049 * registryd/deviceeventcontroller.c:
3050 * libspi/spi-private.h:
3052 Changed spelling of "re-enterant" to "re-entrant" globally.
3054 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3056 * test/test-simple.c:
3057 Changed key listeners test - the test was slightly mis-using the
3058 (admittedly poorly documented) SPI_generateKeyboardEvent API.
3059 It now uses '=' as the key event listened to and generated,
3060 relying on a keysym match rather than assuming that keycode 33
3061 is always equal to keysym '!'.
3063 2002-01-15 Bill Haneman <bill.haneman@sun.com>
3066 Changed simple-at to use a specific keyset, rather than
3067 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
3068 manager, desktop, etc.
3070 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3072 * registryd/deviceeventcontroller.c:
3073 Replaced standard X error handler with a special handler that
3074 is non-fatal for failed keygrabs. This works around
3075 problems with keygrab clashes sometimes observed on
3077 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
3078 mouse handling code as yet).
3080 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3083 Incremented revision for desktop alpha release.
3086 Fixed a couple of the more glaring errors (still not
3089 2002-01-11 Michael Meeks <michael@ximian.com>
3091 * registryd/deviceeventcontroller.c
3092 (spi_device_event_controller_forward_key_event): kill
3093 XUngrabKey / XKeyGrab race.
3094 (spi_controller_grab_keyboard): rename to
3095 (spi_controller_update_key_grabs): this, and deal
3096 with incremental adding / removing grabs more
3098 (_register_keygrab): ensure we're not pending a remove.
3099 (spi_grab_mask_free): impl.
3100 (spi_controller_register_global_keygrabs): split out
3102 (handle_keygrab): impl.
3103 (_deregister_keygrab): impl.
3104 (spi_controller_deregister_global_keygrabs): impl.
3105 (spi_controller_update_key_grabs): re-issue the grab if
3106 we just recieved a notification.
3108 * test/test-simple.c (key_listener_cb): remove debug.
3110 * registryd/deviceeventcontroller.c
3111 (spi_controller_register_device_listener): after
3112 registering a global keygrab, actualy register it !
3113 don't wait for a timeout; doh !
3115 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
3116 to make it more readable / manipulable.
3117 s/grabmask/grab_mask/ s/refcount/ref_count/
3118 s/keyval/key_val/ s/modmask/mod_mask
3120 2002-01-08 Michael Meeks <michael@ximian.com>
3122 * registryd/deviceeventcontroller.c
3123 (spi_controller_register_with_devices): use gdk calls to
3125 (global_filter_fn): implement the filter.
3126 (spi_device_event_controller_check_key_event): rename to
3127 (spi_device_event_controller_forward_key_event): this & upd.
3128 (spi_get_display): replace with GDK_DISPLAY.
3130 * registryd/deviceeventcontroller.c
3131 (spi_controller_deregister_device_listener): unroll into
3132 (impl_deregister_keystroke_listener): here to simplify.
3133 (spi_controller_register_global_keygrabs): split cut and
3134 paste (!) out into (_register_keygrab): here, shorter & sweeter.
3135 (spi_controller_deregister_device_listener): remove.
3136 (impl_register_mouse_listener): remove, no mouse listener
3137 support in at-spi-1.0
3139 * registryd/registry.c
3140 (_device_event_controller_hook): kill.
3141 (spi_registry_init): upd.
3143 * registryd/deviceeventcontroller.c
3144 (spi_device_event_controller_class_init): upd.
3145 (spi_check_key_event): merge into.
3146 (spi_device_event_controller_check_key_event):
3147 here and kill strange static ev init, don't leak
3148 the x_event - nor dynamicaly allocate it.
3150 * registryd/registry-main.c (main): re-direct
3151 timeout to remove strange vtable mess.
3153 * registryd/deviceeventcontroller.c
3154 (remove_listener_cb): impl.
3155 (spi_controller_deregister_device_listener):
3156 fix re-enterancy hazard.
3158 2002-01-07 Michael Meeks <michael@ximian.com>
3160 * registryd/deviceeventcontroller.c
3161 (spi_device_event_controller_new): upd.
3162 (impl_notify_listeners_sync): upd. debug.
3163 (spi_notify_keylisteners): fix re-enterancy hazards,
3164 prettify, remove O(n*n) iteration.
3165 (spi_controller_grab_keyboard): fix iteration.
3166 (spi_check_key_event): re-format to suit coding style.
3167 Clean all the warnings - we're warning free.
3169 * registryd/deviceeventcontroller.h:
3170 * registryd/registry.h: make mutualy referential with
3171 typesafe forward references instead of (!) void pointer
3174 2002-01-11 Michael Meeks <michael@ximian.com>
3176 * cspi/spi_accessible.c (role_names): add a role name
3177 to sync this array with the enum; and make the regression
3180 2002-01-10 Michael Meeks <michael@ximian.com>
3182 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
3183 allow expansion of enumeration & kill warning.
3185 * test/test-simple.c (key_listener_cb): impl.
3186 (test_keylisteners): impl.
3188 * cspi/spi-listener.h: make listener signatures const
3189 on the provided (const) events.
3191 * test/keysynth-demo.c: upd. to const events.
3193 * test/simple-at.c: ditto.
3195 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3198 Rev the version to 0.5 (the previous tarball was named 0.4,
3199 even though the micro number was 3), so we need to rev upwards
3200 again for beta2/"desktop-alpha"
3203 Checked in a demo script, which requires editing before use!
3204 Proceed with caution.
3207 Fixed typo in header which was redefining SPI_ACTION_CLASS.
3209 * cspi/spi_accessible.c:
3210 Add a couple of missing enum initializations, and fix some enum
3213 * cspi/spi_registry.c:
3214 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
3216 * docs/reference/cspi/at-spi-cspi-sections.txt:
3217 Remove/fix a couple of broken document references.
3220 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
3221 as Alt-Control to listen for commands, since on some systems
3222 Control-Alt may already be grabbed.
3224 2002-01-10 Bill Haneman <bill.haneman@sun.com>
3227 Update version number to 0.4 for Beta2.
3229 * libspi/accessible.c, libspi/accessible.h:
3230 Expose spi_accessible_construct, to enable libgail-gnome
3231 construction from spi_accessible subtype.
3233 * utils/magnifier.c:
3234 Workaround for bug in some non-gnome-compliant window managers
3235 which made magnifier resize improperly.
3237 2002-01-09 Bill Haneman <bill.haneman@sun.com>
3239 * libspi/accessible.c: (spi_accessible_new) :
3240 Move the test for SPI_IS_REMOTE_OBJECT to
3241 spi_accessible_new_return, fixing a bug and compile time warning.
3243 2002-01-08 Michael Meeks <michael@ximian.com>
3245 * registryd/registry.c (parse_event_type): remove strndup.
3247 * libspi/Makefile.am (libspi_la_SOURCES): remove
3248 sources already included in the headers section.
3250 * libspi/util.c: add.
3252 * libspi/spi-private.h: add.
3254 * registryd/registry.c: update to moved list iterators.
3256 2002-01-05 Michael Meeks <michael@ximian.com>
3258 * test/simple-at.c (main): upd. auto-module set to atk-bridge
3260 * test/test-simple.c (main): ditto.
3262 2002-01-04 Michael Meeks <michael@ximian.com>
3264 * libspi/accessible.c (spi_accessible_new): remove 2nd,
3265 redundant construct.
3267 * registryd/registry.c
3268 (get_listener_list): impl.
3269 (impl_accessibility_registry_register_global_event_listener):
3270 re-impl. to simplify using ~, remove dodgy const cast off.
3271 (parse_event_type): constify.
3272 (impl_accessibility_registry_deregister_global_event_listener_all):
3273 re-write, more efficiency and simplicity, kill re-enterancy
3275 (compare_listener_corbaref, compare_corba_objects),
3276 (compare_listener_quarks): define out.
3277 (impl_accessibility_registry_deregister_global_event_listener):
3278 re-write for effiency, and nail re-enterancy hazard.
3279 (impl_accessibility_registry_get_desktop_list): impl.
3280 (re_enterant_list_delete_link): impl.
3281 (re_enterant_list_foreach): impl.
3282 (remove_listener_cb): impl.
3283 (_registry_notify_listeners): kill.
3284 (notify_listeners_cb): impl.
3286 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
3287 (SPI_getDesktopList): impl.
3289 * test/test-simple.c (test_desktop): test the methods.
3291 2002-01-03 Michael Meeks <michael@ximian.com>
3293 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
3294 keystrings since we free them
3295 (SPI_freeAccessibleKeySet): in here.
3297 * libspi/accessible.c (spi_accessible_new): kill warning,
3298 wonder what is going on with the constructor here.
3300 2002-03-01 Bill Haneman <bill.haneman@sun.com>
3302 * libspi/accessible.c (spi_accessible_new ()) :
3303 Added check to see if AtkObject is an SpiRemoteObject before
3304 creating an SpiAccessible.
3306 2002-05-01 Bill Haneman <bill.haneman@sun.com>
3308 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
3309 Enable keygrabs using the Control modifier, now that they are
3310 working properly (they were previously disabled).
3313 Change the command keygrab for this demo to "Control+Alt", so as
3314 to conflict with fewer other key commands on the system; this
3315 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
3317 Removed a pointlessly-chatty keylistener for unshifted keys
3318 (shifted keys are still reported).
3320 2002-02-01 Bill Haneman <bill.haneman@sun.com>
3322 * libspi/remoteobject.h:
3323 * libspi/remoteobject.c:
3324 Added definitions for special AtkObject subtype, required for
3325 support of remote components (specifically, used by BonoboControl
3326 accessibility implementation).
3328 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
3330 * cspi/spi.h: synched relation types with ATK
3332 * cspi/spi_accessible.c: Added implementations of
3333 AcccessibleRelation_* methods
3335 * idl/Accessibility_Relation.idl: added getRelationTypeName
3336 method. Synched known relation types with ATK. Allowed for
3337 relation type extension with the RELATION_EXTENDED type.
3339 * libspi/relation.c: Provided implementations for
3340 AccessibleRelation methods.
3342 2002-01-01 Bill Haneman <bill.haneman@sun.com>
3344 API tweaks for today's API 'freeze'.
3347 Added placeholder functions to allow future compatible expansion
3348 of the IDL interfaces.
3350 * idl/Accessibility_Registry.idl:
3351 Changed generateKeyEvent to generateKeyboardEvent. Changed
3352 signature of this method to accept an optional keystring in
3353 parameter (for complex text input synthesis) and changed use of
3354 simple 'boolean' parameter in registerKeystrokeListener to a
3355 struct, EventListenerMode.
3357 * cspi/spi_accessible.c:
3359 * cspi/spi_streamablecontent.c:
3360 Added references to AccessibleStreamableContent interface, and
3361 definition and implementation of AccessibleStreamableContent
3364 * cspi/spi_registry.c:
3366 Changed generateKeyEvent API to generateKeyboardEvent,
3367 taking a new (optional) keystring parameter to support complex
3372 Renamed directory (to better reflect its actual purpose, bridging
3373 from at-spi to ATK). The .so module is also now named
3376 * idl/Accessibility_Hypertext.idl:
3377 * libspi/accessible.c:
3378 * libspi/hypertext.h:
3379 * libspi/hypertext.c:
3380 Changed Accessibility_Hypertext to *not* derive from
3383 * cspi/spi_registry.c:
3384 Added list of legal event type names for 'window' events, which
3385 completes the registry event API.
3387 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
3389 * at-bridge/bridge.c: Added registration for separate
3390 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
3391 signals. If either of the first two parameters to the generic
3392 bridge signal handler are ints, they are passed on as event
3393 details. This allows an AT to determine what text was inserted.
3395 2001-12-21 Bill Haneman <bill.haneman@sun.com>
3397 * registryd/deviceeventcontroller.c:
3398 Fixed regressions in generateKeyEvent caused by the removal of
3399 gdk_init from registryd; we now use pure X calls to connect to the
3400 display, which makes sense because deviceeventcontroller already
3401 uses a fair bit of X API (should eventually be migrated to a
3402 'portability layer').
3404 * registryd/desktop.c:
3405 Fixed minor regression in spi_desktop_init, changed the way the
3406 desktop name is being set to work with new spi_base API
3407 (gobject-based, rather than AtkObject-based).
3409 * registryd/Makefile.am:
3410 Minor revision of makefile to use XTST_LIBS variable rather than
3411 hard-wiring the Xtst LD_ADD element.
3413 * test/keysynth-demo.c:
3414 Tweaked an output message; added initialization of the
3415 'keystrings' member of the "switch listener" key_set.
3417 * libspi/relation.c:
3418 Squashed compile-time warning.
3420 * libspi/accessible.c:
3421 Cosmetic and formatting fixes, renamed a static method.
3423 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
3425 * libspi/accessible.c
3427 * libspi/application.c
3430 * libspi/component.c
3431 * libspi/editabletext.c
3432 * libspi/hyperlink.c
3433 * libspi/hypertext.c
3435 * libspi/selection.c
3439 * registryd/desktop.c:
3440 Changed SpiBase to contain a GObject pointer rather than an AtkObject
3442 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3444 * idl/Accessibility_Registry.idl:
3445 Added boolean member 'is_text' to DeviceEvent. This is for the
3446 use of key events, and helps prevent ambiguity between composed
3447 key strings and keysym names, since both may potentially be
3448 returned in the 'event_string' member.
3450 * at-bridge/bridge.c:
3451 * registryd/deviceeventcontroller.c:
3452 Use the 'is_text' member when notifying device event listeners.
3453 Knon issue: composed characters are not dealt with correctly by
3454 the global key listener implementation yet.
3456 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3458 * at-bridge/bridge.c:
3459 Namespaced local static methods to spi_atk_bridge_* where
3460 previously named bridge_*, and spi_* elsewhere.
3462 * at-bridge/bridge.c:
3463 * cspi/bonobo/cspi-bonobo-listener.c:
3464 Added demarshalling/conversion for string member of
3465 Accessibility_DeviceEvent to AccessibleKeystroke.
3467 * registryd/deviceeventcontroller.c:
3468 Added code to fill the Accessibility_DeviceEvent key string value
3469 member for global key events (i.e. from XGrabKey), to match
3470 behavior of Accessibility_DeviceEvent from the toolkit key events
3471 from the bridge. Fixed timestamp in global key event notifications.
3474 Added printout of key event's string value to
3475 report_ordinary_key_event, for demo/debugging purposes.
3477 2001-12-15 Bill Haneman <bill.haneman@sun.com>
3479 * idl/Accessibility_Registry.idl:
3480 Removed Accessibility_KeyStroke structure in favor of generic
3481 Accessibility_DeviceEvent structure.
3482 Changed Accessibility_ControllerEventMask from a struct to an
3485 * at-bridge/bridge.c:
3486 Changed APIs to use DeviceEvent structure as above, and removed
3487 bogus casting between these event structures.
3489 * cspi/spi-listener.h:
3490 Added keystring member of AccessibleKeystroke structure, to enable
3491 matching on event "names" rather than only hardware codes and
3495 Added keystrings member of AccessibleKeySet struct, to allow
3496 matching on event names (as above).
3497 Added declarations for SPI_createAccessibleKeySet and
3498 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
3499 event modmasks directly as unsigned ints rather than structs with
3500 refcounts, in the DeviceEventController methods.
3502 * cspi/spi_registry.c:
3503 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
3505 * cspi/spi-roletypes.h:
3506 Added documentation of newly added SPI Roles.
3508 * cspi/bonobo/cspi-bonobo-listener.c:
3509 Changes in support of API changes above.
3511 * libspi/accessible.c:
3512 Converted APIs to use DeviceEvent structure (see IDL changes
3515 * registryd/deviceeventcontroller.c:
3516 Added DEControllerGrabMask structure to track keygrabs not only by
3517 modmask but by keyset as well; this allows us to do "global"
3518 (i.e. X) keygrabs on a per-key or keyset basis rather than always
3519 grabbing on AnyKey and then filtering after-the-fact.
3520 Bugfixes for event filtration mean that we don't get false matches
3521 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
3523 * registryd/deviceeventcontroller.c:
3524 Namespaced a number of static methods to use spi_ prefix. Major
3525 revision to internals of global (i.e. X) key grabs.
3527 * registryd/deviceeventcontroller.h:
3528 Removed keymask_list and added keygrabs_list to
3529 SpiDeviceEventController struct.
3532 Added use of SPI_createAccessibleKeySet API when creating a
3533 listener for only one key. Attach a listener to "shift spacebar
3534 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
3535 X key event names to SPI key event names, so that listeners are
3536 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
3538 * test/keysynth-demo.c:
3539 Changed (incorrect) use of X key event names (KeyPressed,
3540 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
3543 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3545 * libspi/accessible.c:
3546 Convert all AtkRole enumerations to Accessibility_Role enums when
3547 getting a role from an AtkObject.
3549 * cspi/spi_accessible.c:
3550 Complete the conversion of Accessibility_Role enums at runtime to
3551 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
3552 role enums correctly match those given in spi-roletypes.h.
3553 Re-synchronize the local names list for AccessibleRole_getName ().
3554 AccessibleRole_getName is now deprecated, since it duplicates the
3555 more reliable Accessible_getRoleName.
3556 Added some role types from Accessibility_Role.idl.
3558 * idl/Accessibility_Role.idl:
3559 Added some role types used by AtkRole.
3561 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3564 * cspi/spi_registry.c:
3566 * cspi/cspi-bonobo-listener.c:
3567 Namespaced all methods that did not begin with an "SPI_" or
3568 "Accessible" prefix to "SPI_".
3571 Homogenized internal function namespace to "cspi_" for statics.
3574 Patched tests to use the new CSPI API.
3576 * docs/reference/cspi/at-spi-cspi-sections.txt:
3577 Updated docs to reflect namespace changes, and added a number of
3578 methods to the documentation.
3580 * registryd/registry.c:
3581 Changed use of strings and string hashes in listener event
3582 matching and parse_event_string to use GQuark, which is guaranteed
3585 * registryd/registry.h:
3586 Squashed annoying warning.
3588 * idl/Accessibility_Role.idl:
3589 Extended range of available Accessibility_Role values.
3591 * cspi/spi_accessible.c:
3592 Re-ordered role names.
3594 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3596 * idl/Accessibility_Value.idl:
3597 Revert use of union back to CORBA_double, since the double type is
3598 more efficient and can contain the other types without loss of
3601 * idl/Accessibility_Accessible.idl:
3602 Added method Accessibility:Accessible:getRoleName, to complement
3603 Accessibility:Accessible:getRole.
3605 * cspi/spi_accessible.c:
3607 Added C binding for above, Accessible_getRoleName (), and changed
3608 signature of Accessible_getRole () to return an AccessibleRole.
3610 * cspi/spi-roletypes.h:
3611 Changed AccessibleRole_getName to return a char * instead of a
3612 const char *. This method is now at least temporarily deprecated
3613 in favor of asking Accessibles for their RoleNames directly.
3616 Revert to match Accessibility_Value.idl;
3620 Change signature of AccessibleValue methods to use double rather
3624 * cspi/spi_accessible.c:
3625 Changed Accessible_getRole to return an AccessibleRole enum rather
3626 than a UTF-8 string. The UTF-8 string can still be obtained via
3627 AccessibleRole_getName ().
3629 * test/test-simple.c:
3630 Add test_action. Small fixup to match API change to Accessible_getRole.
3633 Bugfix for get_action_from_servant ().
3635 2001-12-11 Michael Meeks <michael@ximian.com>
3637 * libspi/libspi.h: remove registry.h and
3638 desktop.h, deviceeventcontroller.h
3640 * libspi/Makefile.am: remove registry.[ch],
3641 desktop.[ch], deviceeventcontroller.[ch]
3643 * registryd/Makefile.am: add registry.[ch],
3644 desktop.[ch], rename registryd.c to registry-main.c.
3645 add deviceeventcontroller.[ch]
3647 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3650 Replace setenv() call with putenv ().
3652 * libspi/component.c:
3653 Bugfix in AccessibleComponent_getExtents (),
3656 2001-12-11 Michael Meeks <michael@ximian.com>
3658 * libspi/image.c (impl_getImageExtents): impl.
3659 (spi_image_class_init): upd.
3662 (AccessibleImage_getImageDescription): fix daft bug
3665 * test/test-simple.c (global_listener_cb): update
3666 to only quit if not --poke
3667 (main): catch --poke.
3668 (validate_accessible): upd. dumping, call test_image
3671 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
3674 * idl/Accessibility.idl: update all IDL includes.
3676 * idl/*.idl - rename to namespace - this sucks, blame
3677 mjs' bad decision for oafd.
3679 * test/test-simple.c (create_test_window): add more tests.
3680 (create_tree): split this out.
3681 (validate_accessible): bugfix.
3683 2001-12-11 Michael Meeks <michael@ximian.com>
3685 * cspi/bonobo/cspi-bonobo-listener.c:
3686 (cspi_kestroke_listener_unref),
3687 (cspi_event_listener_unref): impl. undoing previous
3688 homenous environment - for Bill.
3690 * cspi/spi_table.c (long_seq_to_array): use
3693 * cspi/spi_main.c: split out all bonoboish bits into
3696 * cspi/spi-impl.h: upd. typedefs.
3698 * cspi/spi_registry.c: update to lowlevel API,
3699 return booleans to indicate success in some places.
3701 * cspi/spi_event.c: update to lowlevel API.
3703 * cspi/bonobo/Makefile.am: add.
3705 * cspi/bonobo/cspi-lowlevel.h: add
3707 * cspi/bonobo/cspi-bonobo.c: add
3709 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
3711 * cspi/Makefile.am: remove spi-listener-impl.[ch],
3712 (SUBDIRS): add bonobo, link in the libs.
3714 * cspi/spi-util.c: kill this file.
3716 * TODO: merge in my bits.
3718 2001-12-11 Michael Meeks <michael@ximian.com>
3720 * test/test-simple.c (test_value, test_table, main):
3721 remove unused variables causing warnings.
3723 * configure.in: cleanup checks - require gail.
3725 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3728 Changed Value interface to use SValue (scalars) rather than
3729 assuming all values are floats. This allows floats, doubles,
3730 longs, shorts, and unsigned values to be manipulated.
3731 Introduced Accessibility:SValue union.
3734 Updated to use new API above, and to work correctly with GValues
3735 of different types in AtkValue.
3738 Updated to use new API above. cspi's API is as yet unchanged.
3741 Updated the Value revision action item.
3743 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3745 * test/test-simple.c:
3746 Added test_table (GtkTreeView widget in test window to follow).
3747 Un-commented test_value, added GtkRange widget.
3748 Added GtkTreeView widget with GtkListStore. It passes regression
3749 test but leaks one SPI object for some reason.
3752 Fixed bug in impl__set_currentValue.
3754 2001-12-10 Michael Meeks <michael@ximian.com>
3756 * cspi/spi_text.c: audit for exception handling,
3757 tolerating NULL object references safely etc.
3759 * cspi/spi_value.c: ditto.
3761 * cspi/spi_table.c (AccessibleTable_getSummary),
3762 (AccessibleTable_getAccessibleAt),
3763 (AccessibleTable_getRowHeader),
3764 (AccessibleTable_getColumnHeader),
3765 (AccessibleTable_getCaption): fix bugs hidden by
3767 (long_seq_to_array): impl.
3768 (AccessibleTable_getSelectedRows),
3769 (AccessibleTable_getSelectedColumns): use it.
3771 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3774 Added a TODO list (rough and short for now).
3776 * cspi/spi_hyperlink.c:
3777 * cspi/spi_hypertext.c:
3778 Fixed macro name typos, and remove use of obsolete macro in
3779 AccessibleHyperlink_getLink.
3781 * cspi/spi_action.c:
3782 * cspi/spi_accessible.c:
3783 * cspi/spi_application.c:
3784 * cspi/spi_component.c:
3785 * cspi/spi_selection.c:
3788 Documentation fixes (removed return values from ref/unref methods).
3790 2001-12-10 Michael Meeks <michael@ximian.com>
3792 * cspi/spi_action.c: audit for exception handling,
3793 tolerating NULL object references safely etc.
3795 * cspi/spi_accessible.c: ditto.
3797 * cspi/spi_component.c: ditto.
3799 * cspi/spi_editabletext.c: ditto.
3801 * cspi/spi_hyperlink.c: ditto.
3803 * cspi/spi_hypertext.c: ditto.
3805 * cspi/spi_image.c: ditto.
3807 * cspi/spi_selection.c: ditto.
3809 2001-12-10 Michael Meeks <michael@ximian.com>
3811 * configure.in: use cspi/libspi.pc.in instead.
3813 * Makefile.am (pkgconfig_DATA): upd. to match.
3815 * test/simple-at.c (report_focus_event): kill hacks around
3816 bad return values, use putenv not setenv
3818 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
3819 fire ChildGone - I killed it.
3821 * libspi/component.c
3822 (impl_accessibility_component_get_extents): remove
3825 * idl/Accessible.idl: kill ChildGone exception.
3827 * cspi/*.[ch]: kill int return from ref / unref.
3829 * cspi/spi_main.c (cspi_object_add_check): fold into
3830 (cspi_object_add): here.
3832 * cspi/spi_component.c (AccessibleComponent_getExtents):
3833 handle exceptions elegantly.
3835 * cspi/spi-private.h (cspi_check_ev_return),
3836 (cspi_return_if_fail): impl.
3838 * cspi/spi_accessible.c: use extensively.
3839 (AccessibleStateSet_equals): add direct compare check.
3841 * cspi/spi_selection.c: tolerate NULL objs, and check
3842 exceptions before return.
3844 * cspi/spi-util.c (cspi_warn_ev): rename to
3845 (cspi_check_ev): this & don't pass ev in; no point.
3847 2001-12-10 Michael Meeks <michael@ximian.com>
3849 * test/test-simple.c: use putenv not setenv
3850 (get_environment_vars): more chatty if you're not using
3853 * test/simple-at.c: do the setenv so more people see the
3856 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3858 * libspi/registry.c:
3859 Changed check of CORBA_environment on notification to be a warning
3860 instead of an error for the moment, since we can recover from this
3861 error when caused by a queued notification from a dead app.
3864 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
3865 used by all current implementors of AtkValue), and coerce to
3866 CORBA_float. (Proper general case fix may require change to Value.idl).
3868 2001-12-09 Bill Haneman <bill.haneman@sun.com>
3872 * cspi/spi_accessible.c:
3873 Documentation fixes: added user_data params to documentation for
3874 listeners and callbacks.
3876 * cspi/spi_accessible.c:
3877 Changed AccessibleStateSet_compare to return a
3878 StateSet rather than return the difference set into a third parameter.
3881 2001-12-09 Bill Haneman <bill.haneman@sun.com>
3884 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
3885 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
3889 Remove subdirectory po from SUBDIRS for now.
3891 * at-bridge/bridge.c:
3892 Beefed up a couple of debug printouts.
3893 One-line fix for signal notification name formatting.
3895 * libspi/accessible.c:
3896 Added assertion to spi_accessible_new ().
3898 * libspi/application.c:
3899 Put #ifdef qualifiers around a printf.
3902 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
3904 * registryd/Makefile.am:
3906 Replaces use of XML_I18N_MERGE_SERVER_RULE with
3907 INTLTOOL_SERVER_RULE macro.
3910 Added an event listener for several ATK signals, for
3911 testing and debugging. Removed a few g_warnings.
3912 Added test output if focussed item implements the Value interface.
3914 * test/test-simple.c:
3915 Added test_value () function (known not to pass at the moment, so
3916 not actually called yet.
3918 2001-12-08 Michael Meeks <michael@ximian.com>
3920 * at-bridge/bridge.c (bridge_focus_tracker),
3921 (emit_eventv): fix the same ref. leak.
3922 (register_atk_event_listeners): don't leak.
3924 * cspi/spi-listener-impl.c (cspi_event): more
3925 protection from client code.
3927 * test/test-simple.c (test_desktop): unref the app.
3929 * test/Makefile.am: upd. TESTS.
3931 * at-bridge/bridge.c (bridge_exit_func): release the registry.
3933 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
3935 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
3937 * cspi/spi_registry.c: constify in strings.
3938 (deregisterGlobalEventListenerAll): don't release the ref.
3940 * cspi/spi.h: start removing redundant / conflicting
3941 gtkdoc comments, making the API readable at a glance :-)
3943 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
3945 * test/keysynth-demo.c (keysynth_exit, main): upd.
3947 * test/simple-at.c (main, simple_at_exit): upd.
3949 * test/test-simple.c (unutterable_horror): kill.
3950 (utterable_normal_derefs): kill.
3951 (main): upd & do a setenv before gtk_init, so that we
3952 can use memprof - and to save the pain of remembering
3953 this, if we're running under memprof - don't exit.
3955 * cspi/spi_main.c (SPI_exit): return exit status
3957 (SPI_event_quit): impl.
3958 (SPI_event_main): simplify.
3959 (cspi_is_gnome_app): kill.
3960 (SPI_init): kill isGNOMEapp arg.
3962 * at-bridge/bridge.c (register_atk_event_listeners):
3963 re-instate the unref.
3964 (bridge_exit_func): don't re-activate the registry,
3965 protect vs. theoretical re-entry, use the
3966 AT_BRIDGE_SHUTDOWN env. var to determine whether to
3967 assert a clean shutdown - for regression tests.
3969 2001-12-08 Abel Cheung <maddog@linux.org.hk>
3971 * configure.in: Comment out dummy i18n support for now,
3972 otherwise it fails to build.
3973 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
3974 EXTRA_DIST. They are missing in tarball.
3976 2001-12-07 Michael Meeks <michael@ximian.com>
3978 * util/magnifier.c: kill bonobo activation reg. race.
3980 * libspi/component.c
3981 (impl_accessibility_component_get_extents): make it match
3984 * libspi/registry.c (_registry_notify_listeners):
3985 re-remove X headers & reconcile conflicts.
3986 (spi_listener_struct_free): bad conflict resolve.
3987 (impl_accessibility_registry_register_application):
3988 more bad merging fixed.
3989 (impl_accessibility_registry_deregister_application): ditto.
3990 (spi_registry_new): ditto.
3991 (spi_registry_init): don't have an applications field.
3993 [ merge fixups2 branch to here ]
3994 2001-12-07 Michael Meeks <michael@ximian.com>
3996 * test/simple-at.c (report_focus_event),
3997 (report_focussed_accessible): remove g_warning debug.
3999 2001-12-07 Michael Meeks <michael@ximian.com>
4001 * test/test-simple.c (validate_tree): comment out some checks.
4002 (test_desktop): app now not registered idly - horay.
4004 2001-12-07 Michael Meeks <michael@ximian.com>
4006 * cspi/spi_registry.c
4007 (registerAccessibleKeystrokeListener): clean, stop it leaking
4008 great swathes of memory, and device event controller references.
4009 ensure we always pass valid sequences.
4010 (deregisterAccessibleKeystrokeListener): ditto.
4011 (generateKeyEvent): upd.
4013 * at-bridge/bridge.c (bridge_key_listener): handle
4014 registry dead exception gracefully.
4015 (bridge_focus_tracker, emit_eventv): free ev.
4017 * test/simple-at.c (report_focus_event): fix polarity.
4019 * libspi/application.c (notify_listeners): kill the ev
4020 argument, and make sure we init the ev we use.
4021 (spi_application_object_event_listener): split out a chunk
4022 (get_atk_object_ref): here & fixup.
4023 (reverse_lookup_name_for_toolkit_event): make const.
4024 (spi_application_toolkit_event_listener): fixup, kill leaks
4027 * at-bridge/bridge.c (register_atk_event_listeners):
4028 don't unref the noop object - causes grief.
4030 * libspi/registry.c: remove the X headers.
4031 turn off the debug churn.
4033 * libspi/accessible.c (spi_accessible_new_return): only
4034 release the ref if we are supposed to [doh]
4036 * test/simple-at.c (report_button_press, report_focus_event):
4037 guard vs. unexpected exit.
4039 * at-bridge/bridge.c (gtk_module_init): prune printf.
4040 (bridge_exit_func): fix app unref.
4042 * libspi/Makefile.am: don't install registry or desktop.h
4044 * libspi/*.h: update includes.
4046 * libspi/application.h: don't include ourself, or
4047 other redundant headers.
4049 2001-12-06 Michael Meeks <michael@ximian.com>
4051 * libspi/accessible.c
4052 (get_accessible_from_servant): impl.
4053 Upd. all CORBA impl.s to use it killing cut and paste.
4055 * cspi/spi_main.c (cspi_cleanup): guard vs. double
4057 (SPI_init): register atexit cleanup handler here.
4059 2001-12-06 Michael Meeks <michael@ximian.com>
4061 * at-bridge/bridge.c (gtk_module_init): g_error on
4062 activation exception
4064 2001-12-06 Michael Meeks <michael@ximian.com>
4066 * at-bridge/bridge.c (gtk_module_init): some sort of
4067 confusing merge clash - reverted.
4068 (bridge_idle_init): ditto.
4070 * test/test-simple.c (main, utterable_normal_derefs):
4071 merge from Bill - somehow not committed.
4073 2001-12-06 Michael Meeks <michael@ximian.com>
4075 * libspi/value.c (spi_value_class_init): upd.
4076 (spi_value_finalize): kill.
4078 * libspi/table.c (spi_table_finalize): kill.
4079 (spi_table_interface_new): upd.
4080 (spi_table_class_init): upd.
4081 (get_table_from_servant): impl.
4082 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4084 * libspi/selection.c (spi_selection_finalize): kill.
4085 (spi_selection_interface_new): upd.
4086 (spi_selection_class_init): upd.
4087 (get_selection_from_servant): impl.
4088 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4090 * libspi/relation.c (spi_relation_finalize): kill.
4091 (spi_relation_class_init, spi_relation_new): upd
4093 * libspi/image.c (spi_image_finalize): kill.
4094 (spi_image_class_init): upd.
4095 (spi_image_interface_new): upd.
4096 (get_image_from_servant): impl.
4097 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4099 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
4100 (spi_hyperlink_finalize): kill.
4101 (spi_hyperlink_new): upd.
4102 (get_hyperlink_from_servant): impl.
4103 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4105 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
4106 (spi_hypertext_finalize): kill.
4107 (spi_hypertext_class_init): upd.
4108 (get_hypertext_from_servant): impl.
4109 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4111 * libspi/editabletext.c (spi_editable_text_finalize): kill.
4112 (spi_editable_text_interface_new): upd.
4113 (get_editable_text_from_servant): impl.
4114 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4116 * libspi/text.c (get_text_from_servant): impl.
4117 All impls - update to use it killing more cut and paste,
4118 also fix bad string returns on duff args ( a somewhat
4119 impossible case to handle - but hey ).
4120 (spi_text_construct): impl.
4121 (spi_text_interface_new): upd.
4122 (spi_text_object_finalize): kill.
4124 * libspi/component.c
4125 (accessibility_component_object_finalize): kill.
4126 (spi_component_class_init): upd.
4127 (get_component_from_servant): impl. helper to kill cut & paste.
4128 (impl_accessibility_component_contains):
4129 (impl_accessibility_component_get_accessible_at_point):
4130 (impl_accessibility_component_get_position):
4131 (impl_accessibility_component_get_extents):
4132 (impl_accessibility_component_get_mdi_z_order):
4133 (impl_accessibility_component_get_layer):
4134 (spi_component_interface_new): upd.
4136 * libspi/action.c (spi_action_finalize): kill.
4137 (spi_action_class_init): upd. inherit from SpiObject.
4138 (spi_action_interface_new): upd.
4139 (get_action_from_servant): impl. helper to reduce cut & paste.
4140 (impl_getKeyBinding, impl_getName, impl_doAction),
4141 (impl_getDescription): Use it everywhere.
4143 * cspi/spi_main.c (get_live_refs): a pointer hash.
4144 (spi_object_hash, spi_object_equal): comment out.
4145 There are issues with CORBA object hashing that need
4148 * libspi/application.c (spi_application_init),
4149 (spi_application_new): upd.
4151 * libspi/accessible.c (spi_accessible_object_finalize): kill.
4152 (spi_accessible_class_init): upd.
4153 s/accessible/object/ in epv methods.
4155 2001-12-05 Bill Haneman <bill.haneman@sun.com>
4157 * at-bridge/bridge.c:
4158 Reorder the bridge initialization into the bridge gtk_module_init,
4159 an immediate call to bridge_register_app, and an idle_add for
4160 register_atk_event_listeners (the only code that *must* wait until
4161 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
4162 the activation, creates the application's Accessible object, and
4163 queues the bridge_idle_init function. Restored call to
4164 Accessibility_Registry_deregisterApplication().
4165 Prior to making this call we obtain a new reference to the
4166 registry, which is a temporary hack that helps us handle apps that
4167 shut down the bonobo mainloop before we get there.
4169 * libspi/registry.c:
4170 Fix string leakage in debug block, and don't segv if a an app
4171 dies before its event notifications have been propagated.
4174 Modify cspi_check_ev() to call g_warning() rather than g_error(),
4175 as stopgap measure until we get proper exception handling when
4176 objects die during or before interrogation.
4180 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
4181 Also changed default value of is_gnome_app to TRUE.
4184 * test/keysynth-demo.c:
4185 Changed use of SPI_init and SPI_event_main to reflect API change above.
4188 Made report_focus_event check the warning value from getName
4189 before reporting on focussed accessible; simplifies handling of
4190 notifications from dead objects.
4192 * test/test-simple.c: (Changes not in this patch since source is
4195 2001-12-05 Michael Meeks <michael@ximian.com>
4197 * registryd/registryd.c (main): protect against
4198 bonobo-activation startup race condition.
4200 * cspi/spi_main.c (cspi_object_add_check): cope
4201 with the exception elegantly.
4203 * idl/Accessible.idl: decl. ChildGone
4205 * libspi/desktop.c (spi_desktop_dispose): impl.
4206 (spi_desktop_class_init): upd.
4207 (spi_desktop_add_application),
4208 (spi_desktop_remove_application),
4209 (abnormal_application_termination): impl.
4210 (impl_desktop_get_child_at_index): re-impl.
4213 (impl_accessibility_registry_deregister_application),
4214 (impl_accessibility_registry_register_application):
4215 kill excessive debug clutter.
4217 * test/test-simple.c (test_misc): test some NULL
4218 tolerance. (main): upd.
4220 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
4221 implements no interfaces - so let's not crash.
4223 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
4225 * libspi/accessible.c (spi_accessible_new_return): impl.
4226 helper to calm the cut and paste, to cope with
4227 NULL AtkObjects effectively and efficiently, and to kill
4228 the referencing bugs.
4230 * libspi/table.c (impl_getAccessibleAt),
4231 (impl_getRowHeader, impl_getColumnHeader): upd.
4233 * libspi/hyperlink.c (impl_getObject): upd.
4235 * libspi/accessible.c
4236 (impl_accessibility_accessible_get_child_at_index): upd.
4238 * libspi/component.c
4239 (impl_accessibility_component_get_accessible_at_point): upd.
4241 * test/test-simple.c (test_editable_text, test_text): impl.
4244 * cspi/spi_editabletext.c
4245 (AccessibleEditableText_insertText): constify.
4247 * test/test-simple.c (focus_me): make more robust.
4249 * libspi/accessible.c: remove some printfs in methods that
4250 we test and work fine, so we can get a clean tree dump.
4252 * test/test-simple.c (validate_accessible),
4253 (validate_tree): make tree dumping pretty too.
4255 * at-bridge/bridge.c (bridge_signal_listener): upd. so
4256 it builds without debug on.
4258 * test/test-simple.c (validate_accessible): fix the most
4261 * cspi/spi_main.c (spi_object_release): leave the nicely
4262 blanked memory around if in debug mode.
4264 * cspi/spi-listener-impl.c (cspi_event): use add_check.
4266 [committed to fixups2]
4267 2001-12-05 Michael Meeks <michael@ximian.com>
4269 * libspi/editabletext.c
4270 (spi_editable_text_class_init): g_type_class_peek_parent,
4271 not interface peek - so we finalize cleanly.
4273 * libspi/accessible.c (spi_accessible_new): kill debug.
4275 * test/test-simple.c (validate_accessible): fix ref.
4276 leak, print strings before freeing them; sigh, comment a
4277 chunk out due to strangeness.
4278 (validate_tree): unref the child after use.
4280 * cspi/spi_component.c (AccessibleComponent_getLayer):
4281 add missing break statement, switch on zlayer not the
4282 uninitialized retval.
4284 * cspi/spi_main.c (cspi_object_add): add assert, local ref
4285 before (possibly re-entering) remote unref.
4287 * test/simple-at.c (main): unref the desktop.
4289 * cspi/spi_accessible.c (cspi_accessible_is_a): move
4292 * cspi/spi_main.c (cspi_accessible_is_a): here to
4293 isolate bonobo API usage more.
4295 * libspi/registry.c (impl_accessibility_registry_register_application):
4296 prune bogus comment.
4298 2001-12-04 Michael Meeks <michael@ximian.com>
4300 * test/test-simple.c (validate_tree): upd.
4301 IndexInParent check to make it more lucid.
4302 (validate_accessible): dump the tree.
4304 * libspi/accessible.c (de_register_public_ref),
4305 (get_public_refs): impl.
4306 (spi_accessible_new): make more efficient & intuitive.
4307 Now IndexInParent check works.
4309 2001-12-04 Michael Meeks <michael@ximian.com>
4311 * cspi/spi-util.h: remove.
4313 * cspi/spi.h: move SPI_freeString here
4315 * libspi/component.c (impl_accessibility_component_get_layer):
4317 (impl_accessibility_component_get_mdi_z_order): ditto,
4318 return -1 on error - is this ok ?
4320 * test/test-simple.c (test_application): impl.
4322 * cspi/spi_accessible.c (Accessible_getApplication),
4323 (Accessible_isApplication): impl.
4325 * libspi/registry.c (spi_listener_struct_free): release
4326 the CORBA reference too.
4328 * libspi/accessible.c
4329 (impl_accessibility_accessible_get_parent): fix ref leak.
4331 * libspi/registry.c (spi_registry_new): make the registry
4332 immortal - we don't want it to go away ever.
4334 * libspi/application.c
4335 (spi_accessible_application_finalize): impl. cleanup.
4337 * cspi/spi_registry.c
4338 (deregisterGlobalEventListenerAll),
4339 (deregisterGlobalEventListener),
4340 (deregisterAccessibleKeystrokeListener): fix ref leak.
4342 * cspi/spi_main.c (SPI_init): remove redundant ref.
4344 * test/test-simple.c (unutterable_horror): impl. to force a
4349 (impl_accessibility_registry_deregister_application): release
4350 the application when we de-register it.
4352 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
4353 until we have the infastructure to get it right.
4355 2001-12-03 Michael Meeks <michael@ximian.com>
4357 * libspi/Makefile.am: only build eventlistener.[ch]
4359 * libspi/accessible.c
4360 (impl_accessibility_accessible_get_child_at_index): don't leak.
4362 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
4363 before we hit the idle handler.
4365 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
4366 debugging than exit.
4368 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
4370 * libspi/listener.c (impl_notify_event): check source
4371 not NIL before unref.
4373 * libspi/registry.c (impl_registry_notify_event): ditto.
4375 * libspi/eventlistener.c
4376 (impl_accessible_event_notify_event): unref the source.
4378 * libspi/accessibleeventlistener.c
4379 (impl_accessible_event_notify_event): unref the source.
4381 * idl/Event.idl: remove 'hash_id' attribute - of no
4384 * libspi/application.c (notify_listeners): upd list
4386 (spi_application_object_event_listener),
4387 (spi_application_toolkit_event_listener): upd to do correct
4391 (_registry_notify_listeners): update.
4392 (parse_event_type): this method also leaks like a sieve.
4393 (impl_accessibility_registry_deregister_global_event_listener):
4394 fix ETYPE_WINDOW case.
4396 * libspi/application.c
4397 (impl_accessibility_application_register_object_event_listener):
4400 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
4402 * libspi/hypertext.c (impl_getLink): ditto.
4404 * cspi/spi_main.c (cspi_object_add): remove
4405 bogus CORBA_Object_duplicate.
4407 * cspi/spi-listener-impl.c (cspi_event): dup/ref
4410 * cspi/spi_accessible.c
4411 (Accessible_getRelationSet): fix leak / referencing issue.
4413 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
4414 (cspi_object_add, cspi_object_unref): upd.
4415 (spi_object_release, get_live_refs): impl.
4416 (cspi_cleanup): simplify.
4418 * *.[ch]: s/boolean/SpiBoolean/
4420 * cspi/spi_accessible.c (role_names): actualy order so it
4421 corresponds with the enum !
4423 * test/test-simple.c (test_roles): check some role strings
4424 vs. enums to detect offset errors.
4426 2001-12-01 Michael Meeks <michael@ximian.com>
4428 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
4430 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
4432 (Accessible_getChildAtIndex): use cspi_add_check so we
4433 check the ev before using a (possibly) invalid value.
4435 * libspi/accessible.c
4436 (impl_accessibility_accessible_get_parent): don't segv
4439 * at-bridge/bridge.c (gtk_module_init): upd.
4440 (bridge_property_event_listener): don't leak strings
4442 (bridge_state_event_listener),
4443 (bridge_property_event_listener): don't use a static
4444 buffer in case of recursive event emission &
4445 re-enterancy - split out the swathe of cut and paste
4447 (emit_eventv): and fix 2 ref leaks here & comply to the
4449 (bridge_register_app): rename to
4450 (bridge_idle_init): this and kill arg parsing, split
4451 various inits & bonobo-activation registration to module
4452 init time, kill referencing error.
4453 (bridge_exit_func): fix the same leak.
4454 (bridge_focus_tracker): don't leak event structures
4456 (bridge_signal_listener): more leakage and cut & paste
4458 (bridge_key_listener): return the result - FIXME is
4459 this polarity correct ?
4460 (accessibility_keystroke_from_atk_key_event): rename
4461 (accessibility_init_keystroke_from_atk_key_event): and stop
4463 (gtk_module_init): return a value - not that it is checked by
4465 (bridge_key_listener): register my horror at casting between
4466 IDL defined structs.
4467 (bridge_get_registry): kill - not used.
4469 * cspi/spi_accessible.c (Accessible_getRole): make return const.
4471 * test/test-simple.c (test_roles): impl.
4472 (test_desktop, validate_accessible, validate_tree): impl.
4474 * cspi/spi_accessible.c (role_names): fixup bogus
4475 MAX_ROLES setup, make constants const for efficient linkage
4476 (AccessibleRole_getName): conform to coding style, make
4479 2001-11-30 Michael Meeks <michael@ximian.com>
4481 * cspi/spi.h: add missing prototype.
4483 * libspi/registry.c (spi_listener_struct_new): fix sig.
4485 * test/Makefile.am: add test-simple
4487 * test/test-simple.c: add
4489 * test/test.sh: add.
4491 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
4493 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
4494 do it straight - since otherwise we often get an activation race.
4496 [ work before Bill duplicated a chunk of it ... ]
4497 2001-11-30 Michael Meeks <michael@ximian.com>
4499 * libspi/keystrokelistener.c
4500 (spi_keystroke_listener_class_init): fixup arg
4503 * libspi/eventlistener.c
4504 (spi_event_listener_class_init): ditto.
4506 * tests/test.sh: add.
4508 * cspi/spi-listener-impl.h: update macros.
4510 * cspi/spi-listener-impl.c
4511 (cspi_event_listener_remove_callback): add
4512 correct pre-conditions.
4514 * cspi/spi_main.c (SPI_exit): guard vs. double
4515 exits, exit the mainloop nicely.
4516 (SPI_event_main): make more sense.
4517 (SPI_init): move the atexit evilness here so we
4518 always do it (yuck).
4519 (SPI_event_main): upd.
4521 * test/simple-at.c: update for listener changes.
4523 * registryd/registryd.c (main): prune kruft.
4525 * libspi/libspi.h: upd.
4527 * libspi/eventlistener.[ch]: rename broken macros.
4529 * libspi/accessibleeventlistener.[ch]: remove.
4531 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
4533 * test/test-simple.c: Add - automated tests.
4535 * cspi/spi-listener-impl.c (cspi_event),
4536 (cspi_key_event): add user_data to invoke.
4537 (cspi_keystroke_listener_finalize): impl.
4538 (cspi_keystroke_listener_class_init): upd.
4541 (createAccessibleEventListener),
4542 (AccessibleEventListener_addCallback),
4543 (createAccessibleKeystrokeListener),
4544 (AccessibleKeystrokeListener_addCallback): upd.
4546 * libspi/deviceeventcontroller.c
4547 (spi_device_event_controller_check_key_event): add public proto.
4550 (impl_accessibility_registry_deregister_global_event_listener):
4551 always init listeners.
4552 (_registry_notify_listeners): yes it is.
4554 * cspi/spi-listener-impl.c (cspi_key_event):
4556 (cspi_event_listener_finalize): impl.
4557 (cspi_event_listener_class_init): hook up.
4558 (event_handler_new, event_handler_free),
4559 (event_list_remove_by_callback): impl.
4560 (cspi_event_listener_remove_callback),
4561 (cspi_keystroke_listener_remove_callback),
4562 (cspi_keystroke_listener_add_callback),
4563 (cspi_event_listener_add_callback): upd.
4565 * libspi/keystrokelistener.c
4566 (keystroke_listener_object_finalize): kill
4567 (spi_keystroke_listener_class_init): upd.
4568 (spi_keystroke_listener_add_callback),
4569 (spi_keystroke_listener_remove_callback): kill,
4571 (impl_key_event): prune drasticaly.
4573 * libspi/eventlistener.c
4574 (spi_event_listener_add_callback),
4575 (spi_event_listener_remove_callback): kill, use
4577 (impl_accessible_event_notify_event): upd.
4578 (spi_event_listener_object_finalize): remove.
4580 * libspi/Makefile.am: use eventlistener.[ch]
4582 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4584 * libspi/registry.c (_registry_notify_listeners):
4585 Changed listener loop iteration to use preferred convention.
4586 Got rid of string memory leaks caused be calling g_strconcat
4587 inside function calls.
4589 * libspi/registry.c (parse_event_type):
4590 Stopped g_strconcat memory leaks, free the g_strsplit return,
4591 g_strdup the split pieces when used, etc.
4593 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4596 Change method 'compare' to return a 'difference set' rather than
4597 taking a StateSet as an out parameter (more Java-friendly).
4599 * idl/Accessible.idl:
4600 Added CORBA struct 'BoundingBox', to faciliate API changes below:
4602 * idl/Component.idl:
4604 Changed methods 'getExtents' and 'getImageExtents' in these
4605 interfaces to return a BoundingBox structure.
4606 (getPosition and getSize are redundant and possibly should be
4607 removed, rather than creating a corresponding Point struct.)
4609 * cspi/spi_component.c:
4610 Modify implementation of getExtents to reflect the above IDL
4615 Add (missing) AccessibleImage_getExtents () API.
4617 * docs/reference/cspi/at-spi-cspi-sections.txt:
4618 Added AccessibleImage_getImageExtents () to docs.
4620 2001-12-03 Bill Haneman <bill.haneman@sun.com>
4622 * idl/Component.idl:
4623 Added two methods, getLayer () and getMDIZOrder (), to reflect
4624 the new ATK methods atk_object_get_layer and
4625 atk_object_get_mdi_z_order. (Which arguably should be part of the
4626 AtkComponent API and AtkObject). Also added an enum,
4627 ComponentLayer, for the first method's return value.
4629 * libspi/component.c:
4630 Added implementations for these methods.
4632 * cspi/spi_component.c:
4634 Added cspi binding methods for above,
4635 AccessibleComponent_getLayer() and
4636 AccessibleComponent_getMDIZOrder().
4637 Added cspi enum 'AccessibleComponentLayer'.
4639 * docs/reference/cspi/at-spi-cspi-sections.txt:
4640 Added above methods to docs.
4644 Changed typedef for 'boolean' type (and all references to it) to
4645 SPIBoolean, to avoid keyword clashes with C++.
4648 Changed usages of 'boolean' to SPIBoolean.
4650 * test/keysynth-demo.c:
4651 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
4652 app), except where SPIBoolean is required by the callbacks API.
4654 2001-12-02 Bill Haneman <bill.haneman@sun.com>
4656 * cspi/spi_registry.c:
4657 Removed obsolete X event loop for passive keygrabs (which now
4660 * registryd/registryd.c:
4661 Removed unnecessary call to gdk_init() [cruft]. This also allows
4662 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
4665 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4667 * docs/reference/cspi:
4668 Included docs for SPI_freeString in generated documentation.
4671 Renamed spi_freeString to SPI_freeString, for consistency. Added
4672 documentation for this function.
4675 Renamed spi_freeString to SPI_freeString, for consistency.
4676 Removed obsolete method declaration string_from_corba_string.
4678 * test/keysynth-demo.c:
4679 Small tweak to comments.
4682 Stopped leaking the strings returned from CSPI.
4684 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4686 Merged Michael's branch (see his ChangeLog entries below).
4688 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
4689 bridge is alive, release on exit.
4691 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
4692 Fix type check macro.
4695 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
4698 Added is_gnome_app static, and method cspi_is_gnome_app(),
4699 so we can call the appropriate shutdown routine at exit in SPI_exit.
4701 * cspi/spi_main.c (cspi_object_ref):
4702 Duplicate the corba object passed in, since we're keeping it around.
4704 * cspi/SPI_exit.c, cspi_cleanup:
4705 Moved the releasing of the live refs to its own function, so we
4706 can put it in g_atexit (). Call the appropriate shutdown API
4707 depending on whethe calling client is a gnome app or not
4708 (bonobo_main_quit or CORBA_ORB_shutdown).
4710 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
4711 Unref the listener when this method is called, after
4712 deregistration. Updated the API docs to note this behavior.
4714 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
4715 Bugfixes: Ref the bonobo object when returning a parent or child
4716 reference, or an AccessibleRelation. Generally made sure
4717 BonoboObject refcount is incremented whenever we return an
4720 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
4721 Fixed typo/bug in signal declaration.
4723 * libspi/accessibleeventlistener.h:
4726 * libspi/application.c (spi_application_new):
4727 Fixed leak in initialization.
4730 Remembered to increment bonobo-object refcount when returning
4731 children (applications) from desktop object.
4732 Added (empty) finalize method.
4734 * libspi/deviceeventcontroller.c:
4735 Hold a ref to listeners inside DEControllerKeyListeners.
4736 Added dec_key_listener_free() method. Use prepend instead of
4737 append in key_listener list. Fixed some refcount madness and
4738 leaks in the listener registration/deregistration - deregistration
4739 now calls dec_key_listener_free() on listeners, and on the
4740 temporarily constructed dec_key_listener() used to perform the search/match.
4742 * libspi/hypertext.c (spi_hypertest_finalize):
4743 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
4744 class. Also fixed spi_hypertext_interface_new() and
4745 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
4747 * libspi/hypertext.h:
4748 Removed pointless and duplicate AtkObject pointer from
4751 * libspi/keystrokelistener.c:
4752 Fixed incorrect type of keystroke_listener_parent_class,
4753 renamed keystroke_listener_object_finalize to
4754 spi_keystroke_listener_object_finalize.
4755 Fixed typo in signal declaration
4756 (spi_keystroke_listener_class_init).
4758 * libspi/registry.c:
4759 Added funcsions spi_listener_struct_new() and
4760 spi_listener_struct_free() to help with memory management issues.
4761 We also now use these methods instead of gnew + poking stuff into
4762 the struct, and to decrement listener counts/free the listeners
4763 when deregistering them.
4764 Fix more refcount bugs in getDesktop() and
4765 getDeviceEventController().
4768 De-ref the desktop after enumerating the applications. Explicitly
4769 decrement the refcounts on the created listeners on exit (using
4770 _unref for keystroke listeners, and via the
4771 deregisterGlobalEventListenerAll command for other event
4774 2001-11-27 Michael Meeks <michael@ximian.com>
4776 * cspi/spi-listener.h: fixup enum.
4778 2001-11-27 Michael Meeks <michael@ximian.com>
4780 * cspi/spi-listener-impl.c (cspi_event_listener_new),
4781 (cspi_keystroke_listener_new): Use the cspi variants.
4783 2001-11-26 Michael Meeks <michael@ximian.com>
4785 * test/keysynth-demo.c: fix 2 compile warnings, missing
4788 * test/simple-at.c (report_focussed_accessible),
4789 (report_focus_event, report_button_press),
4790 (check_property_change, is_command_key),
4791 (report_ordinary_key_event, report_command_key_event): upd.
4793 * util/mag_client.h: include pre-requisites.
4795 * libspi/accessibleeventlistener.c
4796 (spi_event_listener_object_finalize): free any lingering
4799 * libspi/keystrokelistener.c
4800 (keystroke_listener_object_finalize): ditto.
4802 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
4803 callbacks, with cspi types.
4805 * cspi/spi_event.c (createAccessibleEventListener): chain to
4806 (AccessibleEventListener_addCallback): here.
4807 (createAccessibleKeystrokeListener): chain to
4808 (AccessibleKeystrokeListener_addCallback): here.
4810 * libspi/keystrokelistener.c
4811 (spi_keystroke_listener_class_init): add signal.
4812 (impl_key_event): emit the event.
4813 (boolean_handled_accumulator): impl.
4814 (marshal_BOOLEAN__POINTER): add, gack.
4816 * libspi/accessibleeventlistener.c
4817 (spi_event_listener_class_init): add signal.
4818 (impl_accessible_event_notify_event): emit the signal &
4819 make the loop efficient.
4820 (spi_event_listener_add_callback): prepend the callback.
4822 * libspi/accessibleeventlistener.h: add an 'event' signal,
4823 decl type on callback.
4825 * libspi/keystrokelistener.h: ditto.
4827 * cspi/spi-listener.h: make methods typesafe and
4828 make them use the new event typedefs.
4830 * test/simple-at.c (report_focussed_accessible):
4831 include mag_client.h
4832 Use *(void *)text_interface not the other thing.
4834 * configure.in: add gtk to registryd bits - since we use
4837 * util/magnifier.c: include libbonobo.h
4839 2001-11-25 Bill Haneman <bill.haneman@sun.com>
4841 * test/keysynth-demo.c:
4842 Turned this into a simple scanning keyboard, to demonstrate the
4843 use of g_timeout_add () as a means of creating timers for
4844 scanning, and the use of GtkStyle for visually indicating when
4845 virtual keyboard elements are selected.
4847 keysynth-demo now listens to any keyboard keys with zero-valued
4848 keycodes (i.e. 'unused' keys) and interprets them as
4851 Reworked the shiftlatch code so that shift-down state isn't held
4852 for long periods (it's only synthesized immediately prior to
4853 the keysynth event it's modifying). Note that shiftlatch in this
4854 demo is a convenience, not intended to take the place of AccessX
4855 which is the better choice for getting 'sticky' modifier keys.
4857 * libspi/deviceeventcontroller.c:
4858 * at-bridge/bridge.c:
4859 * cspi/spi_registry.c:
4860 Removed some debug print stuff, and put other verbosity in #ifdef
4865 Implemented some more of the magnifier IDL for the simple
4866 magnifier: namely, getZoomRegionParams.
4867 Added mag_x and mag_y members to MagnifierData struct, aid of this
4869 Added GtkWindow::realize signal handler to magnifier, to keep it
4870 from receiving keyboard focus from the WM.
4872 2001-11-23 Mark McLoughlin <mark@skynet.ie>
4874 * cspi/spi-private.h: my guess at what michael forgot
4875 before he ran off to NZ :-)
4877 2001-11-23 Michael Meeks <michael@ximian.com>
4879 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
4880 comment out non existant method invoke so we link.
4882 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
4883 use bonobo_exception_get_text for more friendly warnings.
4885 * cspi/spi.c (Obj_Add): move into spi_main & rename
4886 spi_object_add; kill spi.c
4888 * cspi/spi_registry.c
4889 (deregisterGlobalEventListener),
4890 (deregisterGlobalEventListenerAll),
4891 (registerGlobalEventListener): fix exception leaks.
4893 * cspi/spi_main.c (spi_exception): impl. helper, so we
4894 don't leak exceptions.
4896 * cspi/spi_selection.c
4897 (AccessibleSelection_deselectSelectedChild): return the
4900 * cspi/spi_main.c (spi_ev): impl; hack - gack.
4901 (spi_registry): ditto.
4902 (SPI_init): guard against double inits.
4904 * cspi/*.c: use spi_ev (), and spi_registry () where
4905 appropriate - a temporary hack until we have something
4906 better. Use spi_object_add
4908 2001-11-22 Michael Meeks <michael@ximian.com>
4910 * cspi/Makefile.am: re organise, install the headers.
4912 * cspi/*.h: add G_BEGIN/END_DECLS
4914 2001-11-22 Bill Haneman <bill.haneman@sun.com>
4917 Added non-preemptive keylistener for key events with no modifiers
4918 and shift-only modifier.
4920 * libspi/keystrokelistener.c:
4921 Removed some verbose diagnostics printout.
4923 * cspi/spi_registry.c:
4924 Fixed a bug that caused all key listeners to be registered as
4927 * libspi/deviceeventcontroller.c:
4928 Fixed bug that caused XGrabKey (preemptive key grab) to be called
4929 for non-preemptive key masks.
4932 2001-11-22 Bill Haneman <bill.haneman@sun.com>
4934 * docs/reference/idl/at-spi-idl-docs.sgml:
4935 * docs/reference/idl/at-spi-idl-sections.txt:
4936 * docs/reference/idl/at-spi-idl-overrides.txt:
4937 Added missing files.
4939 * docs/reference/Makefile.am:
4940 removed idl from SUBDIRS until we can figure a way to get gtk-doc
4941 to scan the IDL files :-(
4946 Added .cvsignore files.
4948 2001-11-21 Bill Haneman <bill.haneman@sun.com>
4950 * libspi/deviceeventcontroller.c:
4951 * libspi/keystrokelistener.c:
4953 * cspi/spi_registry.c:
4954 Added filters for KeySets, KeyEventSeq, and event types to key
4955 event dispatching, so listeners should only receive those events
4956 that they requested :-)
4958 2001-11-21 Bill Haneman <bill.haneman@sun.com>
4963 * docs/reference:Makefile.am:
4964 * docs/reference/cspi:
4965 * docs/reference/cspi:Makefile.am:
4966 * docs/reference/cspi:tmpl:
4967 * docs/reference/cspi:tmpl:*.sgml:
4968 * docs/reference/idl:
4969 * docs/reference/idl:Makefile.am:
4970 * docs/reference/idl:at-spi-idl-sections.txt:
4971 * docs/reference/idl:at-spi-idl-docs.sgml:
4972 * docs/reference/idl:tmpl:
4973 * docs/reference/idl:tmpl:*.sgml:
4975 Restructured docs directory to allow separate 'reference' docs
4976 section, and forked idl and cspi docs. Added the sgml template
4977 files to CVS. Added the first sections/structural sgml for the
4980 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
4982 * configure.in, libspi/Makefile.am: find libXtst.
4984 2001-11-21 Michael Meeks <michael@ximian.com>
4986 * test/accessx-gui.c: s/spi_value/value/ - doh.
4988 * libspi/base.[ch]: add.
4990 2001-11-18 Bill Haneman <bill.haneman@sun.com>
4992 * idl/Accessible.idl:
4993 * idl/Application.idl:
4996 Started gtk-doc cleanup on IDL.
4998 * libspi/deviceeventcontroller.c:
4999 Added and connected non-preemptive key notification from the
5000 toolkits (in addition to the pre-emptive support from XServer
5001 which we had before, but which causes 'focus flashing'). Filters
5002 are presently limited to key modifiers and global/non-global,
5003 KeySets are presently ignored, as are KeyEvent masks.
5005 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
5006 structs into the persistant structure rather than just storing
5007 pointers to things that might not persist across servant
5010 The XGrabKey call now does async keygrabs, because synchronous
5011 ones were deadlocking with GDK_event code in a very nasty way.
5013 Added boolean to internal method notify_keylisteners, to indicate
5014 whether the event came from the 'toolkit source' or the 'global
5015 (XServer) source' - this is used in the notification process to
5016 determine which listeners to send the event to.
5018 deviceeventcontroller.c is now warning-free.
5020 * libspi/registry.c:
5021 Fixed regression in application de-registration.
5022 Also fixed some really brain-dead weirdness having to do with
5023 event dispatching - event structs are now duplicated before being
5024 re-marshalled in the dispatch to listeners. This also fixes a
5025 Solaris build problem.
5028 2001-11-20 Michael Meeks <michael@ximian.com>
5031 (impl_accessibility_registry_deregister_global_event_listener):
5034 * libspi/deviceeventcontroller.c
5035 (spi_device_event_controller_check_key_event): return
5036 FALSE on no virtual method.
5038 * libspi/*..h: make includes work on a correctly pathed install.
5040 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
5042 * libspi/application.h: kill unused ( and whacked out )
5043 gboolean *spi_application_set_id (AtkObject *app, long id);
5045 2001-11-20 Michael Meeks <michael@ximian.com>
5047 * libspi/*.[ch]: further convert to bonobo's type func
5048 macros, remove redundnant casts etc.
5050 * libspi/text.c s/accessibility_text/spi_text/g,
5051 re-order to de-cruft.
5053 * libspi/hypertext.c: re-order to kill a huge slew
5054 of redundant forward decls.
5056 * libspi/relation.c: ditto.
5058 * libspi/image.c: ditto.
5060 * */.cvsignore: update
5062 2001-11-20 Michael Meeks <michael@ximian.com>
5064 * libspi/deviceeventcontroller.c
5065 (_controller_register_with_devices): use g_getenv,
5066 kill stdlib.h include.
5068 * libspi/keystrokelistener.c
5069 (spi_keystroke_listener_get_type): kill
5070 (spi_keystroke_listener_class_init),
5071 (spi_keystroke_listener_init): rename to this.
5073 * libspi/text.c (impl_getAttributes): fix warning / bug.
5075 * libspi/*.[ch]: more headers, includes and over commenting.
5077 2001-11-20 Michael Meeks <michael@ximian.com>
5079 * libspi/*.[ch]: fixup headers, includes and over commenting.
5081 * libspi/image.c (impl__get_imageDescription): const
5082 correctness warning fix. remove redundant casting.
5084 * libspi/table.c (impl_getRowDescription): ditto.
5085 (impl_getColumnDescription): ditto.
5087 * libspi/libspi.h: add.
5089 2001-11-19 Michael Meeks <michael@ximian.com>
5091 * libspi/editabletext.c (impl_setAttributes): fix warnings.
5093 * libspi/component.c (accessibility_component_get_type):
5094 rename to (spi_component_get_type): and macroify.
5095 (accessibility_component_init): rename to
5096 (spi_component_init): this
5097 (accessibility_component_class_init): rename to
5098 (spi_component_class_init): this
5100 * libspi/action.c (spi_action_get_type): kill, use the macro.
5102 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
5105 * libspi/application.c (spi_application_object_event_listener),
5106 (impl_accessibility_application_register_object_event_listener):
5107 warning fixes / const understanding updates.
5109 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
5112 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5114 * libspi/spi_accessible.c: Added docs and C bindings for
5115 AccessibleStateSet. (No implementations yet). Documentation
5116 coverage for C bindings now 100%. Made docs for event listeners
5121 boolean notifyListenersSync (in DeviceEventListener listener,
5122 in DeviceEvent event);
5124 oneway void notifyListenersAsync (in DeviceEventListener listener,
5125 in DeviceEvent event);
5127 Added DeviceEventListener and DeviceEvent structs (may deprecate
5128 KeyStroke and KeystrokeListener in favor of this generic
5129 event/listener framework for devices).
5131 * libspi/deviceeventcontroller.c:
5133 Changed some key listener code to take masks, etc., and paved the
5134 way for integration of toolkit/non-preemptive key events. Changed
5135 signatures of some internal methods.
5137 * at-bridge/bridge.c:
5138 Fixed regression connecting to interface signals, apparently
5139 caused by GTK+ changes.
5141 Added an internal bridge_state_listener to deal with
5142 property-change:accessible-state signals.
5144 Changed the key_listeners GList to store structs (including masks,
5145 etc.) instead of just CORBA_Objects (required for full
5146 implementation of key listener API).
5148 Connected the bridge to all currently supported Atk signals.
5149 Events now supported:
5150 object:property-change
5151 object:property-change:accessible-name
5152 object:property-change:accessible-state
5153 object:property-change:accessible-description
5154 object:property-change:accessible-parent
5155 object:property-change:accessible-value
5156 object:property-change:accessible-role
5157 object:property-change:accessible-table-caption
5158 object:property-change:accessible-table-column-description
5159 object:property-change:accessible-table-column-header
5160 object:property-change:accessible-table-row-description
5161 object:property-change:accessible-table-row-header
5162 object:property-change:accessible-table-summary
5163 object:children-changed
5164 object:visible-data-changed
5165 object:selection-changed
5166 object:text-selection-changed
5168 object:text-caret-moved
5170 object:row-reordered
5172 object:column-inserted
5173 object:column-reordered
5174 object:column-deleted
5175 object:model-changed
5177 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5179 * libspi/hyperlink.c,h:
5180 Fixed some broken stuff in hyperlink.
5182 * libspi/relation.h:
5183 * libspi/relation.c:
5184 * cspi/spi_accessible.c:
5185 Initial implementations of AccessibleRelation methods, and docs.
5187 * libspi/accessible.c:
5188 Fixed a bug that caused SEGV if an accessible
5189 object's description is NULL, and a client
5190 requests it. An empty string is now returned.
5192 * cspi/spi_editabletext.c:
5193 * cspi/spi_hypertext.c:
5195 * cspi/spi_hyperlink.c:
5199 Doc coverage now 95%.
5201 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5203 One last namespacing revision:
5204 * libspi/accessibleeventlistener.[ch]:
5205 Renamed SpiAccessibleEventListener to SpiEventListener,
5206 (no need for two namespaces ;-)
5208 And lots of documentation fixes:
5210 * docs/at-spi-docs.sgml:
5211 Fixed 'underscore vs. hyphen' bug that was preventing
5212 the gtk-doc API docs from being automatically generated.
5215 * cspi/spi-listener.h
5217 * cspi/spi_accessible.c
5219 * cspi/spi_application.c
5220 * cspi/spi_component.c
5221 * cspi/spi_editabletext.c
5223 * cspi/spi_hypertext.c
5225 * cspi/spi_registry.c
5226 * cspi/spi_selection.c
5230 * docs/at-spi-docs.sgml
5231 * docs/at-spi-sections.txt
5233 Added and fixed up gtk-doc documentation in cspi.
5235 Interfaces now (fully) documented (subject to revision and enhancement):
5237 Event Listener Support
5239 AccessibleApplication
5243 AccessibleEditableText
5250 AccessibleRelationSet
5255 2001-11-14 Bill Haneman <bill.haneman@sun.com>
5257 * at-bridge/bridge.c:
5258 Initial work for toolkit-level key snooper connection by bridge.
5263 New typedefs and fixes to support new namespacing, and cleaner
5264 separation of cspi bindings from libspi bonobo implementation.
5265 Removed inconsistent and extraneous Spi* namespace prefix that
5266 had crept into cspi headers.
5267 Lots of comment fixes that sed had missed.
5269 * cspi/spi-roletypes.h:
5270 * cspi/spi-statetypes.h:
5271 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
5272 to AccessibleRoleType.
5274 * libspi/accessibleeventlistener.h:
5275 Fixed minor namespacing weirdness.
5277 * libspi/deviceeventcontroller.c:
5278 Reordered some internal API for device listeners.
5279 Changed the key registry final boolean to 'is_system_global'
5280 rather than 'is_synchronous', which is more descriptive of its
5282 Added spi_device_event_controller_new().
5283 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
5285 * libspi/keystrokelistener.[ch]:
5286 Namespaced KeystrokeListener to SpiKeystrokeListener.
5287 Changed uses of keymasks to use SPI_ prefix, and did other
5290 * libspi/keymasks.h:
5291 Namespaced keymask constants with SPI_ prefix.
5293 * libspi/registry.c:
5294 Some warning fixes, and knock-on fixes from namespace changes.
5297 Added rules for accessx-gui test program.
5299 * test/accessx-gui.c:
5300 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
5301 utility. It doesn't actually use at-spi, but it's still cool and
5304 * test/keysynth-demo.c:
5308 Fixes so that these test clients work properly with the namespaced
5309 libraries. (Incompletely tested for technical reasons, fixes may follow)
5312 2001-11-13 Michael Meeks <michael@ximian.com>
5314 * libspi/application.c
5315 (impl_accessibility_application_get_version),
5316 (impl_accessibility_application_get_toolkit_name):
5318 (impl_accessibility_application_set_id),
5319 (impl_accessibility_application_get_id): remove
5320 redundant casting code.
5322 * libspi/action.c (impl_getDescription): fix warnings.
5324 * libspi/accessible.c
5325 (impl_accessibility_accessible_get_parent),
5326 (impl_accessibility_accessible_get_child_at_index),
5327 (impl_accessibility_accessible_get_state),
5328 (impl_accessibility_accessible_get_relation_set):
5329 warning fixes & include action.h
5331 2001-11-13 Michael Meeks <michael@ximian.com>
5333 * *.[ch] fix bits I screwed up:
5335 s/([^ \tb(\*\&\?\",])spi_/\1/g;
5336 s/([^ \tb(\*\&\?\",])Spi/\1/g;
5338 2001-11-13 Michael Meeks <michael@ximian.com>
5340 * *.[ch] Namespace libspi into spi_ and Spi.
5342 2001-13-11 Michael Meeks <michael@ximian.com>
5344 * Makefile.am: dist & install at-spi-1.0.pc
5346 * libspi/Makefile.am: install into at-spi-1.0
5348 * idl/Makefile.am (idldir): install into at-spi-1.0
5350 * at-spi-1.0.pc.in: add.
5352 * configure.in: build it.
5354 2001-11-12 Bill Haneman <bill.haneman@sun.com>
5356 * test/keysynth-demo.c:
5357 Use a 'realize' signal-handler to set the WM properties for
5358 the virtual keyboard, rather than making it a "POPUP" type
5359 override-redirect window (thanks to anders carlsson for that
5362 2001-11-11 Bill Haneman <bill.haneman@sun.com>
5365 * test/keysynth-demo.c:
5366 Added new test of key synthesis, which creates a simple
5367 (mouse-operated) onscreen keyboard. It inserts key events into
5368 the currently-focused window, thus it does not grab keyboard focus
5371 * cspi/spi_registry.c:
5372 Added C binding for AT-SPI generateKeyEvent.
5374 * libspi/deviceeventcontroller.c:
5375 Added call to XFilterEvent so that key listener works with XIM (we
5376 hope). Added event_synth_type to generateKeyEvent, so that we can
5377 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
5378 synthesize a press/release pair for KeySyms.
5380 2001-11-09 Bill Haneman <bill.haneman@sun.com>
5382 * libspi/Makefile.am:
5383 * registryd/Makefile.am:
5384 (temporary) hack to include libXtst in libspi and registryd.
5385 (Needed for keystroke synthesis, see below).
5388 Improved API for registerKeystrokeListener, in accordance with
5389 discussions with Gnopernicus team and X server research.
5391 * libspi/registry.c:
5392 * libspi/deviceeventcontroller.c:
5393 * libspi/accessible.c:
5394 * libspi/keystrokelistener.c:
5395 Changes and fixes to support keylisteners for potentially
5396 consumed key events (that is, 'passive grabs').
5397 Added implementation for generateKeyEvent() [untested].
5400 Changes to registerKeystrokeListener() API, as above.
5401 Added deregisterGlobalEventListenerAll(), and
5402 deregisterKeystrokeListener(), which are needed for clean exit of
5404 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
5405 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
5407 * cspi/spi_registry.c:
5408 Added implementations of function prototypes mentioned above.
5410 * registryd/registryd.c:
5411 Added the key listener event source as a g_timeout(), to allow
5412 receipt of key events that are not caught by GDK (since GDK
5413 doesn't support passive keygrabs, this was necessary).
5416 Changed to attach a keylistener to 'Alt' keys, and
5417 respond to the following keycommands: Alt-M (toggle magnifier);
5418 Alt-F (toggle speech); Alt-Q (quit).
5419 Added an exit routine to deregister the listeners, and a key
5420 listener that prints some key info to the console when a key
5421 matches the listener mask (and is thus received by the listener).
5423 * util/idl/Magnifier.idl:
5424 Changes to magnifier API to support multiple zoom regions,
5425 non-uniform scaling in x and y, markDirty, and a host of other
5426 features that would be useful to magnification.
5429 * util/mag_client.c:
5430 * util/mag_client.h:
5431 * util/mag_control.c:
5433 Source code changes to support the above IDL changes.
5436 As above, and also changes to use a (slower) generic conversion
5437 path for colormap conversions, since the fast RGB conversions have been
5438 reported to fail for 16-bit displays.
5440 2001-10-26 Michael Meeks <michael@ximian.com>
5442 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
5444 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
5446 * at-bridge/Makefile.am: fix LDFLAGS.
5448 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5450 * at-bridge/bridge.c:
5451 Re-worked listeners for toolkit events, now we have signal
5452 and property listeners. Added a private method
5453 register_atk_event_listeners(), which registers with the
5454 various atk and gtk signals we need to monitor in order to emit
5456 Added emission hook for AtkObject:property-change events, to
5457 support the 'property listeners'.
5458 Fixed some alloc()s of Accessibility_Event structs to use CORBA
5461 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
5462 which emit warnings and exit, respectively, if CORBA errors occur
5463 during remote calls, and we now use these methods to check most of
5464 our CORBA calls in the C bindings.
5466 * cspi/spi_accessible.c:
5467 Changed AccessibleSelection_refSelectedChild() to
5468 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
5469 now increment refcounts.
5471 * cspi/spi_component.c:
5472 Fixed some long pointer casts (dangerous!) to pass pointers to
5473 CORBA_longs of the proper type to the CORBA stubs, and copy the
5474 data into the longs that were passed into the C bindings code.
5476 * at-bridge/bridge.c:
5478 * libspi/accessible.c:
5479 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
5480 hyperlinks, AtkHyperlink is an object type.
5482 * libspi/application.c:
5483 Added various conversions to and from "generic" event types and
5484 atk-specific types; this is really part of the 'bridge'
5485 implementation but is valid for all AtkObject-based accessibility
5488 * libspi/editabletext.c:
5489 Fixed nasty bug wherein editable text's finalize method was
5490 unref'ing tha AtkObject reference that the text parent class was
5491 about to unref _again_. There was also a nasty inheritance bug
5492 that meant that the AccessibleEditableText class was corrupt.
5494 * libspi/selection.c:
5495 Provided implementations for some selection API that was broken.
5497 * idl/Application.idl:
5498 Added registerObjectEventListener () method.
5501 Fixed a number of return values that were Bonobo_Unknowns from
5502 bonobo_object_corba_objref(), which I
5503 forgot to dup before returning. Changed instances of
5504 bonobo_object_corba_objref (bonobo_object(o)) to
5505 BONOBO_OBJREF(o), for concision and clarity.
5507 2001-10-13 Louise Miller <louise.miller@sun.com>
5509 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
5510 idl/Event.idl, idl/Registry.idl
5511 Changed these files to include Bonobo_Unknown.idl instead
5514 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
5516 * libspi/component.c libspi/component.h:
5517 Fixed typo. Added assertions for object checks in
5518 AccessibleComponent code.
5520 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5522 * idl/Accessible.idl:
5523 Added 'isEqual (Accessible *object)'
5524 method for Accessible. (Not Yet Implemented).
5527 Changed signature of registerKeystrokeListener() to
5528 take a KeySet and KeyEventSeq so that specific keys and event
5529 types could be requested for monitoring, and added a flag
5530 is_synchronous so that either synchronous or asynchronous
5531 notification could be requested. (However this is not all
5532 implemented yet). This also meant adding two new typedefs,
5533 KeyEventSeq and KeySet.
5536 Added two new relations, RELATION_TOOLTIP_FOR and
5537 RELATION_LEAFNODE_OF.
5540 Added new state, STATE_HAS_TOOLTIP.
5542 * libspi/text.c, editabletext.c:
5543 Added new assertions to all casts of bonobo-objects from
5544 CORBA servants, to prevent Text API calls on non-text objects.
5545 Changed suspect casts of int-pointer types, so that we
5546 always send a valid CORBA_long pointer to the CORBA APIs that use
5547 in/out long parameters. We then have to copy from the CORBA_long
5548 into the regular long or int for return to the C bindings, or
5549 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
5552 * libspi/deviceeventcontroller.c:
5553 Cleaned these sources up.
5555 Changed return type for getCharacterAtOffset to
5556 CORBA_unsigned_long, to allow for 32-bit characters.
5559 2001-10-08 Bill Haneman <bill.haneman@sun.com>
5563 Fixed 'make dist' so that distro compiles...
5564 * libspi/keymasks.h:
5566 * cspi/spi-listener.c:
5567 KeystrokeListenerCB now returns a boolean.
5569 Added KeyEventType struct, and KeyStroke.
5570 Also added createKeystrokeListener(),
5571 KeystrokeListener_addCallback(),
5572 KeystrokeListener_removeCallback(), and added a keymask to
5573 registerKeystrokeListener().
5574 * cspi/spi_accessible.c:
5575 Changed numerous return types for interfaces from
5576 AccessibleComponent to Accessible<InterfaceName>; this was
5577 probably a cut-and-paste error.
5579 Implementations of new KeystrokeListener api (from spi.h,
5582 Changes to key modifier mapping.
5583 Created ControllerEventMask struct.
5584 Made DeviceEventController derive from Bonobo::Unknown.
5586 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
5587 * libspi/deviceeventcontroller.c:
5588 Added a number of new internal (private) methods.
5589 * libspi/editabletext.c:
5590 * libspi/editabletext.h:
5591 Fixed a number of bugs related to the fact that
5592 editabletext inherits from text. Fixed the EditableText struct,
5593 the init() call, and use correct casts when calling Text methods
5594 from an EditableText object. Removed (duplicate) atko from the
5595 EditableText structure, we use the one in the parent Text
5596 structure via the casts mentioned above.
5597 * libspi/keystrokelistener.[ch]:
5598 * libspi/registry.c:
5599 Changes in support of keyboard handling (above).
5601 Keyboard handling, though partly functional, is still not
5602 recommended for at-spi client use as there is considerable
5603 work yet to be done.
5606 Changed some places where pointers to various int types
5607 are cast to be pointers to CORBA_long types and vice-versa:
5608 pointer casting is not safe so we pass pointers of the correct
5609 types and then cast the result before putting it into the target
5612 * libspi/text.h: minor typos corrected.
5614 We now speak not only the name of a Text element, but the
5615 first sentence of its content, when it receives focus.
5616 I also changed the text compression to 75% from 50%.
5617 * util/Accessibility_Util.server.in:
5618 Changed the default magnifier type to be a 3x vertical
5619 splitscreen magnifier (was previously a 2x horizontal one).
5621 2001-10-03 Bill Haneman <bill.haneman@sun.com>
5623 * libspi/keystrokelistener.h:
5624 * libspi/keystrokelistener.c:
5625 Initial functional implementations of KeystrokeListener.
5628 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
5630 Fixed string handling for NULL strings in libspi.
5631 Added spi_freeString to free strings returned by C bindings.
5633 2001-09-30 Bill Haneman <bill.haneman@sun.com>
5635 * libspi/keystrokelistener.h:
5636 * libspi/keystrokelistener.c:
5637 Began (no-op) implementations of KeystrokeListener
5639 * libspi/deviceeventcontroller.c:
5640 * libspi/deviceeventcontroller.h:
5641 Began creating implementations of DeviceEventController,
5642 to handle keystroke and mouse event listening and
5644 * libspi/accessible.c:
5645 Stubbed-in the implementations for
5646 Accessibility_Accessible_getState and
5647 Accessibility_Accessible_getRelationSet.
5648 * libspi/registry.c:
5649 Improved de-registration process and fixed some bugs,
5650 deregistration now works correctly.
5652 Added initialization of applications list (to NULL).
5654 Reduced speech compression from 0.5 to 0.7, for demo.
5655 Changed call to gdk_window_set_decorations()
5656 to gtk_window_set_decorated().
5657 * at-bridge/bridge.c:
5658 Bridge now deregisters when app exits, via
5659 registration of a cleanup function
5660 with the g_atexit() call.
5661 Required making 'app' static, renamed 'this_app'.
5662 Fixed broken use of bonobo_init, passing argv wrongly.
5664 2001-09-27 Bill Haneman <bill.haneman@sun.com>
5668 Created a new directory for
5669 accessibility-related utilities, primarily for
5670 testing and demo purposes, but with possible
5677 Onscreen magnifier utility that
5678 is implemented as a bonobo service.
5680 * util/mag_client.c:
5681 * util/mag_client.h:
5682 Client-side support (simple C bindings)
5683 for Magnification service
5685 * util/mag_control.c:
5686 Client program example for
5687 Magnification service
5689 * util/Accessibility_Magnifier.server.in:
5690 Bonobo-activation file for the
5691 Magnification service.
5694 * util/idl/Magnifier.idl:
5695 IDL defining the bonobo Magnification
5699 Modifications to use the bonobo-activated magnifier
5700 above, in place of trying to connect to an existing
5701 magnifier that uses socket-listening IPC.
5703 If env variable MAGNIFIER is set, a magnifier service
5704 will be started if one does not exist.
5706 2001-09-25 Bill Haneman <bill.haneman@sun.com>
5708 * at-bridge/bridge.c:
5709 applied patch from Marc to build and run
5710 against new glib and gtk+ (seemed like a change
5711 to bonobo_init signature was made ?)
5713 made festival-server support turned off by default.
5714 Added support for a simple magnifier (off by default)
5715 which will be added to a 'util' directory later.
5716 * at-bridge/Makefile.am:
5717 Changed "application.h" header from a 'source'
5718 to a 'dependency' of libat-bridge.
5720 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
5729 Added interface implementation c files to list of
5730 includes so they are included in libcspi.
5733 Changed prototype of AccessibleAction_doAction to return a
5735 Changed prototype of AccessibleTable_getCaption to
5736 return an Accessible.
5737 Changed prototype of AccessibleTable_getSelectedRows
5738 and AccessibleTable_getSelectedColumns to
5739 return a long (returns the number of selected rows
5740 or columns respectively).
5741 Changed name of AccessibleText_refRunAttributes to
5742 AccessibleText_getAttributes.
5743 Changed prototype of AccessibleText_getCharacterExtents to
5744 return a void rather than a boolean.
5745 Added support for a AccessibleCoordType parameter
5746 specifying what type of coordinates are desired.
5747 Added an AccessibleCordType parameter to
5748 AccessibleText_getPointAtOffset.
5750 * cspi/spi_accessible.c:
5751 Added code to return the outstanding interfaces from
5752 Accessible_queryInterface.
5754 * cspi/spi_action.c:
5756 Corrected call to getNActions to call the c binding
5759 * cspi/spi_editabletext.c:
5761 Changed name from setRunAttributes to setAttributes.
5763 * cspi/spi_hyperlink.c:
5765 Changed call to getNAnchors to correctly call the c
5766 binding for an attribute.
5768 * cspi/spi_hypertext.c:
5770 Changed getImageDescription to correctly call the
5771 binding for an attribute.
5773 * cspi/spi_selection.c:
5774 Changed getNSelectedChildren to correctly call the c
5775 binding for the attribute.
5776 Changed refSelectedChild to getSelectedChild.
5780 Changed getCaption to return an Accessible.
5781 Fixed calls which retrieve attributes.
5782 Changed refAt to getAccessibleAt.
5783 Changed getNSelectedRows and getNSelectedColumns to
5787 Changed getCharacterExtents and getPointAtOffset to accept an
5788 AccessibleCoordType.
5790 Changed calls which retrieve attributes.
5791 Changed refRunAttributes to getAttributes.
5796 * idl/Hyperlink.idl:
5797 Changed n_anchors attribute to nAnchors to keep naming
5798 convention consistent.
5801 Made Table inherit from Bonobo::Unknown.
5802 Added nSelectedColumns and nSelectedRows attributes.
5805 Made Value inherit from Bonobo::Unknown.
5807 * libspi/hyperlink.c:
5808 Change for nAnchors attributte name change.
5810 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
5818 Added interface implementation c files to list of
5819 includes so they are included in libcspi.
5822 Changed prototype of AccessibleAction_doAction to return a
5824 Changed prototype of AccessibleTable_getCaption to
5825 return an Accessible.
5826 Changed prototype of AccessibleTable_getSelectedRows
5827 and AccessibleTable_getSelectedColumns to
5828 return a long (returns the number of selected rows
5829 or columns respectively).
5830 Changed name of AccessibleText_refRunAttributes to
5831 AccessibleText_getAttributes.
5832 Changed prototype of AccessibleText_getCharacterExtents to
5833 return a void rather than a boolean.
5834 Added support for a AccessibleCoordType parameter
5835 specifying what type of coordinates are desired.
5836 Added an AccessibleCordType parameter to
5837 AccessibleText_getPointAtOffset.
5839 * cspi/spi_accessible.c:
5840 Added code to return the outstanding interfaces from
5841 Accessible_queryInterface.
5843 * cspi/spi_action.c:
5845 Corrected call to getNActions to call the c binding
5848 * cspi/spi_editabletext.c:
5850 Changed name from setRunAttributes to setAttributes.
5852 * cspi/spi_hyperlink.c:
5854 Changed call to getNAnchors to correctly call the c
5855 binding for an attribute.
5857 * cspi/spi_hypertext.c:
5859 Changed getImageDescription to correctly call the
5860 binding for an attribute.
5862 * cspi/spi_selection.c:
5863 Changed getNSelectedChildren to correctly call the c
5864 binding for the attribute.
5865 Changed refSelectedChild to getSelectedChild.
5869 Changed getCaption to return an Accessible.
5870 Fixed calls which retrieve attributes.
5871 Changed refAt to getAccessibleAt.
5872 Changed getNSelectedRows and getNSelectedColumns to
5876 Changed getCharacterExtents and getPointAtOffset to accept an
5877 AccessibleCoordType.
5879 Changed calls which retrieve attributes.
5880 Changed refRunAttributes to getAttributes.
5885 * idl/Hyperlink.idl:
5886 Changed n_anchors attribute to nAnchors to keep naming
5887 convention consistent.
5890 Made Table inherit from Bonobo::Unknown.
5891 Added nSelectedColumns and nSelectedRows attributes.
5894 Made Value inherit from Bonobo::Unknown.
5896 * libspi/hyperlink.c:
5897 Change for nAnchors attributte name change.
5900 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
5902 implementations-- made server implementations own AtkObject pointers
5903 rather than their respective AtkInterrface pointers to fix
5904 refcounting. AtkHyperlink is still broken.
5906 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5907 * cspi/spi_accessible.c:
5908 Added method Accessible_Role_getName(),
5909 and requisite string array (role_names).
5910 Added conversion string_from_corba_strin() call
5911 to Accessible_getName and _getDescription.
5912 * libspi/accessible.c:
5913 Added implementation for Accessible_getRole()
5915 Added festival support, used if environment variable
5918 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5920 * at-bridge/bridge.c:
5921 Now allocate Accessibility_Event using
5922 Accessibility_Event__alloc() instead of g_new0().
5923 * libspi/accessibleeventlistener.c:
5924 Initialize AccessibleEventListener->callbacks to NULL.
5925 Fixed accessible__event_listener_init() param, changed to
5926 "AccessibleEventListener *" type.
5927 Changed a bonobo_object_release_unref() call to
5928 Accessibility_Accessible_unref().
5929 * libspi/listener.c:
5930 Changed Bonobo_Unknown_unref to (equivalent)
5931 Accessibility_Accessible_unref.
5932 * libspi/registry.c:
5933 Changed bonobo_object_release_unref to
5934 Accessibility_Accessible_unref.
5936 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
5939 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
5940 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
5941 spi-util.c spi-util.h
5942 Implementations for C bindings to remaining accessibility
5945 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
5948 changed return value of Action from void to boolean to
5949 bring in line with ATK.
5952 Changed getText funcions to return "out" start and end offsets.
5953 Changed getAttributes to take and offset and return the start
5954 and end offset of the attribute run.
5955 Changed getOffsetAtPoint and getCharacterExtents to take an
5956 enum describing whether coordinates are window or screen.
5959 libspi/action.c libspi/action.h libspi/editabletext.c
5960 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
5961 libspi/hypertext.c libspi/hypertext.h libspi/image.c
5962 libspi/image.h libspi/selection.c libspi/selection.h
5963 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
5964 libspi/value.c libspi/value.h
5965 Added server implementations for outstanding ATK interfaces
5966 not yet implemented.
5968 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5971 Added (missing) getName() method.
5972 Made nActions an attribute.
5973 * idl/EditableText.idl:
5974 Changed order of params in setAttributes.
5975 * idl/Hyperlink.idl:
5976 Removed getAnchor, added getURI.
5978 Changed attributes to methods, for efficiency
5979 (so that getting extents can be done in one call)
5980 * idl/Selection.idl:
5981 Changed nSelectedChildren to attribute, and re-indented.
5982 * idl/Table.idl: changed nrows, ncolumns, caption, summary
5984 * idl/Text.idl: reformatted to match our coding style.
5985 (temporarily?) removed getRowColumnAtOffset().
5986 Changed text selection API to support multi-select and
5987 non-contiguous selections, as in ATK.
5988 * idl/Value.idl: changed some methods to attributes.
5990 2001-08-24 Mark McLoughlin <mark@skynet.ie>
5992 * libspi/listener.c(impl_notify_event):
5993 BonoboUnkown_unref the source instead
5994 of bonobo_object_release_unref - the ORB
5995 handles the releasing.
5997 * configure.in: require ORBit-2.3.94 for
6000 2001-08-21 Bill Haneman <bill.haneman@sun.com>
6002 Tagged CVS repository 'EA_1_0'.
6003 * README.EARLY_ACCESS:
6004 Alphabetized acknowledgements list, and
6006 Listed some known dependencies of at-spi.
6008 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6010 * docs/at-spi-docs.sgml:
6011 * docs/at-spi-sections.txt:
6012 * docs/at-spi-overrides.txt: (Added zero-length file)
6013 Documentation improvements - gtk-doc should build
6014 docs for all implemented C bindings now.
6017 * cspi/spi.c: (New file)
6018 * cspi/spi_event.c: (New file)
6019 * cspi/spi_registry.c: (New file)
6020 * cspi/spi_accessible.c: (New file)
6021 * cspi/spi_application.c: (New file)
6022 * cspi/spi_component.c: (New file)
6023 Split spi_main.c into six parts, and included them from
6024 "spi.c". This is a bit of a hack, probably temporary,
6025 but required by gtk-doc, apparently.
6027 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6030 * docs/at-spi-docs.sgml:
6031 * docs/at-spi-sections.txt:
6033 Initial checkins/modifications for gtk-doc generation.
6036 Added (missing) interface query methods to Accessible's C binding.
6038 Added GenericInterface type definition.
6040 Added query for AccessibleComponent interface to focus event handler.
6041 Added printout of bounding box for focussed component.
6042 * libspi/component.c:
6043 Added partial implementation for AccessibleComponent to C binding.
6044 * idl/Application.idl:
6045 * libspi/registry.c:
6046 * libspi/listener.c:
6047 * libspi/application.c:
6048 * libspi/application.h:
6049 Changed "ID" attribute type from string to long.
6051 2001-08-19 Bill Haneman <bill.haneman@sun.com>
6055 Made method naming consistent: methods taking object args
6056 start with uppercase, other methods (except those using
6057 acronyms) start with lowercase. Underscores delimit between
6058 object names and method names:
6059 SPI_init() - uppercase since it starts with an acronym.
6060 getDesktopCount () - lowercase start since no object param0.
6061 Accessible_getName() - uppercase object type name, studlyCaps method
6065 Added gtk-doc documentation for all currently implemented
6066 methods in the C bindings API.
6068 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6070 * Makefile.am : changed build order to build test last.
6073 Changed "createEventListener" to "CreateEventListener".
6074 * libspi/accessibleeventlistener.c :
6075 Bugfix for addition of callbacks.
6076 * test/Makefile.am :
6077 * test/simple-at.c :
6078 Added new test that uses the C bindings API.
6080 * libspi/listener.c :
6081 * libspi/registry.c :
6082 * libspi/accessibleeventlistener.c :
6083 * at-bridge/bridge.c :
6084 Renamed member "target" of Accessibility_Event to "source",
6085 which is more descriptive.
6088 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6092 * cspi/Makefile.am :
6093 Added makefile support for at-spi/cspi directory.
6096 * cspi/spi-listener.h : (NEW FILE)
6097 Added support for/use of spi-listener.h.
6099 C bindings now build successfully, with no warnings.
6100 * libspi/accessibleeventlistener.h : (NEW FILE)
6101 * libspi/accessibleeventlistener.c : (NEW FILE)
6102 * libspi/Makefile.am :
6103 Added new object type "AccessibleEventListener"
6104 which inherits from Listener, and allows attachment
6105 of in-process callbacks (so that a client with a listening
6106 object instance can add functionality to the local
6107 implementation, dynamically).
6109 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6111 * libspi/accessible.c:
6112 Add implementation for get_index_in_parent().
6114 Added #include of "spi-roletypes.h", and
6115 added enumerated type AccessibleCoordType.
6116 Added definition for KeystrokeListener (function type).
6119 * cspi/spi-statetypes.h :
6120 * cspi/spi-roletypes.h :
6122 Added these headers, used by spi.h.
6124 Added code (NOTE: not yet built by make).
6126 2001-08-18 Mark McLoughlin <mark@skynet.ie>
6128 * libspi/Makefile.am: generate imodule
6129 at the same time as other idl compiler
6132 2001-08-17 Bill Haneman <bill.haneman@sun.com>
6133 * libspi/registry.c :
6134 * libspi/application.c :
6135 * idl/Application.idl :
6136 Made registration with toolkit an application method,
6137 which is required since each app has its own toolkit static
6138 environment. Thus the bridge must register for
6139 notification of toolkit events from each application in turn.
6140 Toolkit notifications are now successfully registered for, and
6141 sent to the listening at client.
6143 Changed toolkit event string to use hyphens rather than underscores.
6144 * libspi/listener.c :
6145 listner now gives more info in debug mode - it reports the
6146 name of the event received, as well as the name of the source.
6149 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6151 * libspi/registry.c :
6152 added more implementation for toolkit events.
6153 Fixed bug such that toolkit event registrations
6154 (via atk) use the whole event name string, not
6156 Removed a useless call to an ORBit_ method.
6157 * at-bridge/bridge.c :
6158 Removed unused local sbuf[] variable.
6160 We now register for Gtk:GtkWidget:button_press_event
6161 events as well as "focus:" events.
6163 Add some more API from Registry.idl that was missing,
6164 for keystroke listening, keystroke and mouse event
6165 synthesis, and enumeration of accessible desktops.
6167 2001-08-16 Michael Meeks <michael@ximian.com>
6169 * configure.in: use AM_GLIB_GNU_GETTEXT.
6171 * Makefile.am (SUBDIRS): kill intl.
6173 2001-08-15 Michael Meeks <michael@ximian.com>
6175 * registryd/Makefile.am: s/oaf/server/ relocate info file.
6177 * configure.in: upd.
6179 * configure.in: depend on a recent bonobo-activation that
6180 will find our server files ...
6182 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6184 * libspi/accessible.c : accessible_new() :
6185 Now we add the Component interface via bonobo_object_add_interface,
6186 if the contained AtkObject implements AtkComponent.
6187 * libspi/accessible.h : now include "component.h"
6188 * libspi/component.h :
6189 * libspi/component.c : added files - implementation of
6190 bonobo wrapper object for Accessibility/Component
6191 * libspi/listener.c :
6192 Added test code to check for Accessibility/Component:1.0
6193 interface and report whether it is implemented by the
6195 * libspi/registry.c :
6196 Now we check for not only the hash of the whole event
6197 string before relaying the event, we also check the
6198 "minor" event string (without the detail string).
6199 This allows event listeners to be registered against
6200 all events of a certain major+minor type, or just
6201 against a specific major+minor+detail type.
6202 * libspi/accessible.c :
6203 Added implementations for Accessible:get_parent(),
6204 Accessible:getChildCount(), and Accessible:getChildAtIndex().
6205 * libspi/registry.c :
6206 * libspi/listener.c :
6207 Replaced calls to Accessibility_Accessible_ref() and
6208 Accessibility_Accessible_unref() with
6209 calls to bonobo_object_dup_ref() and
6210 bonobo_object_release_unref(), so that the CORBA object
6211 is dup-ed and released when relayed, as well as the bonobo object.
6213 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6215 * libspi/Makefile.am,
6216 registryd/Makefile.am,
6217 at-bridge/Makefile.am.
6218 test/Makefile.am, configure.in:
6219 reverse previous changes.
6221 * /idl/Image.idl: fix typo.
6223 * test/Makefile.am: put DEBUG_FLAGS
6226 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6228 * test/app.c: use argv[0] instead of
6231 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6233 * libspi/Makefile.am,
6234 registryd/Makefile.am,
6235 at-bridge/Makefile.am.
6236 test/Makefile.am, configure.in:
6237 cleanup, replace individual LIBS/CFLAGS with
6238 AT_COMMON_{LIBS|CFLAGS}.
6242 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6244 * configure.in, libspi/Makefile.am:
6245 Change IDL path checking for bonobo-activation
6248 2001-08-15 Bill Haneman <bill.haneman@sun.com>
6250 * registryd/registry.c : separated event listeners to use
6251 3 separate lists (focus, window, toolkit). Began testing
6252 event names against hashes before relaying events.
6253 * test/at.c : now register for events of type "focus:"
6254 * test/app.c : now generate events of type "focus:"
6255 * at-bridge/bridge.c : register with ATK for focus events,
6256 and we now relay those focus events to any "focus:" listeners.
6257 This now works with the bridge as a GTK_MODULE when running test/at.
6258 * libspi/registry.c :
6259 * libspi/listener.c :
6260 now we ref event sources before propagating, and unref on receipt.
6261 * libspi/registry.c :
6262 some changes to internal structs, to support event typestring hashes.
6263 * text/app.c : changed the way the appname is generated.
6264 * cspi : added directory that will hold the C bindings library for
6265 non-CORBA/bonobo-savvy clients.
6266 * cspi/spi.h : header file that contains the function prototypes for the C binding.
6267 * idl/Component.idl : added in parameter to indicate coord system for
6268 geometry-related calls.
6269 * idl/Hyperlink.idl : added readonly n_links attribute
6270 * idl/Image.idl : changed methods to attributes.
6272 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6274 * at-bridge/Makefile.am: link against
6275 ../libspi/libspi.la instead of -lspi.
6277 * at-spi/test/app.c: include
6278 bonobo-activation.h. Use a default appname
6279 if one is not provided.
6281 2001-08-14 Bill Haneman <bill.haneman@sun.com>
6283 * idl/Registry.idl : temporarily changed register_Application
6284 to oneway, to work around issue with initial registration
6286 * idl/Application.idl : changed attribute "id" from readonly
6287 to read-write, since it needs to be assigned by Registry.
6288 * registryd/registryd.c : added call to set application id
6290 * registryd/registry.c : changed de-registration procedure to
6291 use CORBA_Object_hash() to find matching object ref in application
6292 lists and listener lists.
6293 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
6294 began distinguishing between event types (work in progress).
6296 2001-08-13 Bill Haneman <bill.haneman@sun.com>
6299 * libspi/application.c:
6300 Added implementations for get/set id, get_toolkitName,
6302 * registryd/registryd.c :
6306 Converted from use of OAF to bonobo-activation.
6307 * libspi/desktop.h :
6308 * libspi/desktop.c :
6310 Removed references to atksimpleobject, since base atkobject
6311 implementation now provides functionality we need.
6312 * libspi/atksimpleobject.c :
6313 * libspi/atksimpleobject.h :
6318 * at-bridge/Makefile.am
6319 * at-bridge/bridge.c
6322 Added directory "bridge" and contents, and added dependencies
6323 in Makefile.am/configure.in.
6324 Initial checkin of "at-bridge".
6325 This code is a GTK_MODULE which automatically registers
6326 GTK+ apps with the accessibility registry, using an object
6327 reference to the root ATK object.
6329 2001-08-10 Mark McLoughlin <mark@skynet.ie>
6331 * po/Makefile.in.in: Remove. Again. If this
6332 doesn't get autogenerated - you need to update
6335 2001-08-07 Mark McLoughlin <mark@skynet.ie>
6337 * po/Makefile.in.in: Add. Again.
6339 2001-07-31 Bill Haneman <bill.haneman@sun.com>
6341 * libspi/accessible.c : added support for 'description' property.
6342 * libspi/accessible.c
6344 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
6345 (since the two are now equivalent in libbonobo)
6353 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
6354 Bonobo::Unknown as does Accessibility::Accessible.
6355 * idl/StreamableContent.idl : as above, and replaced internal InputStream
6356 interface with Bonobo::Stream, since it was redundant with it.
6357 (The Stream returned by a StreamableContext object is expected to
6358 implement only a subset of Bonobo::Stream)
6360 2001-07-28 Anders Carlsson <andersca@gnome.org>
6362 * libspi/accessible.c (accessible_object_finalize): Change
6363 g_free to g_object_unref since the AtkObject is a GObject.
6365 2001-07-30 Bill Haneman <bill.haneman@sun.com>
6367 * idl/Accessibility.idl: add new IDL files
6370 * idl/Action.idl: Definitions of actionable UI object
6371 * idl/Component.idl: Definitions of UI component geometry, etc.
6372 * idl/Hyperlink.idl: Defs of hyperlink behavior
6373 * idl/Image.idl: Def of accessible image
6374 * idl/Selection.idl: Definition of UI object with selectable children
6375 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
6376 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
6377 * idl/Text.idl: Interface defs for UI elements with complex textual content
6378 * idl/Value.idl: Definition of UI element that is a value controller or display
6380 2001-07-27 Michael Meeks <michael@ximian.com>
6382 * po/Makefile.in.in: remove autogenerated file from CVS.
6384 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
6387 * idl/Registry.idl: include guard.
6389 * idl/Accessibility.idl: Add, and include all the other IDL
6392 * idl/*.idl: remove mass of pragmas etc.
6394 2001-07-26 Michael Meeks <michael@ximian.com>
6396 * registryd/Makefile.am (registryd_SOURCES): remove
6399 2001-07-27 Mark McLoughlin <mark@skynet.ie>
6401 * libspi/.cvsignore, registryd/.cvsignore,
6402 test/.cvsignore: updated.
6404 * po/Makefile.in.in: gettext update.
6406 2001-07-25 Bill Haneman <bill.haneman@sun.com>
6408 * initial CVS checkin
6410 2001-06-29 Michael Meeks <michael@ximian.com>
6412 * configure.in: add AM_CONFIG_HEADER to gen config.h