1 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
3 * configure.in: Added "bn" to ALL_LINGUAS.
5 2003-09-04 Bill Haneman <billh@gnome.org>
7 * cspi/spi_event.c: Documentation improvements for
8 (SPI_registerAccessibleKeylistener).
10 * docs/reference/tmpl/spi_registry.sgml:
11 Documentation improvements for SpiAccessibleKeylistenerCB.
13 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
15 * configure.in: Added "ro" to ALL_LINGUAS.
18 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
20 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
21 not decremented to zero. Fixes bug #120725.
23 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
25 * configure.in: Added "ja" to ALL_LINGUAS.
27 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
29 * configure.in: Added "is" to ALL_LINGUAS.
31 2003-08-22 Christian Rose <menthos@menthos.com>
33 * configure.in: Added "nl" to ALL_LINGUAS.
35 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
37 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
38 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
40 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
42 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
43 type for unspecified exception.
44 * cspi_streamablecontect): Add include of string.h for memcpy.
45 (stream_release): Correct call to bonobo_object_release_unref
46 (stream_cache_item_free): Correct call to bonobo_object_release_unref
47 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
48 argument of _cspi_expection_throw.
49 * libspi/hyperlink.c: Add include of libspi/action.h:
50 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
51 * libspi/streamablecontent.c: add include of libspi/component.h.
52 * regisrtyd/deviceeventcontroller.c:
53 (spi_dec_translate_mask): Removed unused variable priv.
54 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
55 * registryd/registry.c:
56 (registry_filter_event): Remove unused variable queue_is-empty.
57 (impl_registry_notify_event): Use correct modifier in fprintf call.
59 This fixes compiler warnings reported in bug #120220.
61 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
63 * registryd/registryd.c: Remove this file.
65 2003-08-17 Sanlig Badral <badral@openmn.org>
67 * configure.in: Added mn to ALL_LINGUAS.
69 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
71 * configure.in: Added et to ALL_LINGUAS.
73 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
75 * test/event-listener-test.c: Change active-descendant to
76 active-descendant-changed.
78 2003-08-10 Sami Pesonen <sampeson@iki.fi>
80 * configure.in: Added "fi" in ALL_LINGUAS.
82 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
84 * configure.in: Added "hi" in ALL_LINGUAS.
86 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
88 * configure.in: Revved to 1.3.6.
92 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
94 * registryd/deviceeventcontroller.c
95 (spi_device_event_controller_object_finalize): Fix typo in previous
98 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
100 * registryd/deviceeventcontroller.c
101 (spi_device_event_controller_object_finalize): Fix build on
102 systems without XEvIE.
104 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
106 * acconfig.h, configure.in, registryd/Makefile.am,
107 registryd/devicecontoller.[ch]: Add XEViE support.
109 2003-08-06 Wang Jian <lark@linux.net.cn>
111 * configure.in: Added "zh_CN" to ALL_LINGUAS.
113 2003-08-06 Metin Amiroff<metin@karegen.com>
115 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
117 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
119 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
120 MODIFIER_ALT in correct place.
122 This fixes part of bug #118114.
124 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
126 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
128 2003-07-28 Changwoo Ryu <cwryu@debian.org>
130 * configure.in: Added "ko" to ALL_LINGUAS.
132 2003-07-28 Ole Laursen <olau@hardworking.dk>
134 * configure.in: Added "da" to the commented out ALL_LINGUAS.
136 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
138 * configure.in: Added "sq" to ALL_LINGUAS.
140 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
142 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
144 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
146 * configure.in: updated ALL_LINGUAS list
148 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
150 * configure.in: Added Belarusian to ALL_LINGUAS.
152 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
154 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
156 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
157 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
159 This fixes bug #116949.
161 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
163 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
164 Correct CSPI to SPI in function documentation.
166 This fixes bug #118054.
168 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
170 * configure.in: Added Russian to ALL_LINGUAS.
172 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
174 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
176 2003-07-14 Danilo Šegan <dsegan@gmx.net>
178 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
180 2003-07-10 Joel Brich <joel.brich@laposte.net>
182 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
184 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
186 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
188 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
190 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
191 resources allocated for AccessibleEvent. See cspi_event().
193 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
194 static variable streams to NULL.
196 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
197 Update so that AcessibleEvent_ref will work.
199 This fixes bug #116624.
201 2003-07-06 Jordi Mallach <jordi@sindominio.net>
203 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
205 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
207 * configure.in: Added "fr" (French) to ALL_LINGUAS.
209 2003-07-02 Christian Neumair <chris@gnome-de.org>
211 * configure.in: Added "de" (German) to ALL_LINGUAS.
213 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
215 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
217 2003-07-01 Miloslav Trmac <mitr@volny.cz>
219 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
221 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
223 * configure.in: Added "pl" to ALL_LINGUAS.
225 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
227 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
229 2003-06-30 Bill Haneman <bill.haneman@sun.com>
232 (get_action_from_servant):
233 Removed assertion that action is implemented on an AtkObject.
235 * libspi/hyperlink.c:
237 Aggregate AccessibleAction interface on the hyperlink object if
238 the object implements AtkAction. (This convention is used in
241 2003-06-30 Bill Haneman <bill.haneman@sun.com>
243 * configure.in: Revved to 1.3.5.
245 * registryd/Accessibility_Registry.server.in.in:
246 Marked up appropriate strings for translation.
248 * atk-bridge/bridge.c: Marked a couple of
249 user-visible warnings for translation. Questionable
250 whether they are really useful, but possibly so.
253 2003-06-28 Christian Rose <menthos@menthos.com>
255 * configure.in: Added "sv" to ALL_LINGUAS.
257 2003-06-26 Bill Haneman <bill.haneman@sun.com>
259 * registryd/registry.c:
260 (spi_registry_object_finalize): Unref the deviceeventcontroller.
261 (registry_defer_on_event): Defer focus: events, this is an
262 improvement to the patch for bug #108664.
264 * TODO: Update with 2.4/"Dev Complete" items.
266 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
268 * atk-bridge/bridge.c:
269 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
270 looks up signals once.
271 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
272 if doing registration.
273 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
274 when doing registration.
276 This fixes bug #115014.
278 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
280 * atk-bridge/bridge.c:
281 (atk_bridge_init): Add signal handler for children-changed:remove on
282 root when in a BonoboComponent.
283 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
284 for first toplevel only other incrememt variable toplevels.
285 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
286 application and remove listeners.
287 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
289 (spi_atk_deregister_event_listeners): New function which removes
291 (reinit_register_vars): New fuction which reinitializes variables.
293 This fixes bug #111578.
295 2003-06-13 Bill Haneman <bill.haneman@sun.com>
297 * configure.in: version 1.3.4.
299 * cspi/spi_accessible.c:
300 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
303 2003-06-13 Michael Meeks <michael@ximian.com>
305 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
307 * cspi/spi_main.c (cspi_peek_ev): impl.
309 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
311 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
313 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
315 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
316 SPI_ROLE_AUTOCOMPLETE
318 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
320 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
321 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
323 2003-06-11 Bill Haneman <bill.haneman@sun.com>
325 * libspi/streamablecontent.h:
326 * libspi/streamablecontent.c:
327 New files, provide implementation/wrappers for
328 Accessibility_StreamableContent.
330 * cspi/spi_streamablecontent.c:
331 Connected the C wrappers to the libspi C bindings.
332 (AccessibleStreamableContent_close): New method.
335 (AccessibleStreamableContent_close): New method, needed
336 since we have an "open, [seek], read, close" model in cspi.
338 2003-06-11 Bill Haneman <bill.haneman@sun.com>
340 Fix for #108664; Padraig's revision of my original patch.
342 * registryd/registry.h:
343 Added event queue list, is_queuing, and exit_notify_timeout
344 to the registry struct.
346 * registryd/registry.c:
347 (registry_init): Initialize new struct from registry.h.
348 (impl_registry_notify_event):
349 Filter events before notifying, in case some need to be
351 (registry_filter_event): New,
352 we defer certain incoming events (for instance
353 window:deactivate) because we may wish to hide
354 or reject them based on pending events. This is
355 mostly a workaround for bug #108664.
356 (registry_queue_event, registry_start_queue): New.
357 (registry_defer_on_event): Test event to see if it
359 (registry_reset_on_event): Returns TRUE if the
360 event should cause a queue reset.
361 (registry_discard_on_event): Returns TRUE if the event
362 should cause the previous queue contents to be discarded.
363 (registry_timeout_flush_queue): Flushes the pending event
364 queue if no reset/discard-triggering events have come in
365 within the timeout period.
366 (registry_emit_event): New.
367 (registry_clone_notify_context): New, used when queueing the
368 event notify contexts.
370 2003-06-10 Bill Haneman <bill.haneman@sun.com>
372 * configure.in: Version revved to 1.3.2, lt 0.9.2
373 Incremented ATK required version to 1.3.4.
375 * cspi/spi_registry.c:
376 (SPI_generateKeyEvent):
377 We now pass the keystring along if it's non-null.
379 * registryd/deviceeventcontroller.c:
380 (keysym_mod_mask): New method, returns modifier mask
381 required to generate a keysym from a given keycode.
382 (dec_synth_keysym): New method.
383 (dec_synth_keystring): New method.
384 (dec_get_modifier_state): New method.
385 (dec_lock_modifiers): New
386 (dec_unlock_modifiers): New.
387 (dec_keysym_for_unichar): New, rather brute-force
388 conversion from UCS-4 to X KeySyms. Only works for
389 Latin at the moment, with partial implementations for
390 Greek, Hebrew, and (incomplete) Katakana.
391 (impl_generate_keyboard_event): Now implement
392 "KEYSTRING" synthesis and implement "KEYSYM"
394 (keycode_from_keysym): Improved, passes a returned
395 modmask value now if the corresponding param is non-NULL.
397 Fixes bugs #92143 and #109776.
400 * test/keysynth-test.c:
401 New test program for key synthesis, to confirm fixes for
405 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
407 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
409 * cspi/spi_accessible.c (cspi_init_relation_type_table):
410 Add line for RELATION_POPUP_FOR
412 * docs/reference/cspi/tmpl/spi_relation.sgml:
413 Add relation SPI_RELATION_POPUP_FOR
415 * docs/reference/cspi/tmpl/spi_stateset.sgml:
416 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
418 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
420 * libspi/relation.c (spi_init_relation_type_table):
421 Add line for RELATION_POPUP_FOR
423 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
425 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
426 there are still windows which have not been deleted and emit
427 window:deactivate, if necessary and window:destroy events.
428 This fixes bug #114370. The change on June 5th was not correct.
430 2003-06-09 Bill Haneman <bill.haneman@sun.com>
432 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
435 (SPI_dupString): Allow dup-ing of a string such that it's safe to
437 New methods for client exception handling and interception.
438 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
439 (SPI_exceptionHandlerPop): You guessed it...
440 (SPI_getSourceType): Return the type of object which offended.
441 (SPI_getExceptionCode): Return an enum code telling, possibly,
442 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
443 (SPIAccessibleException_getSource): get the source object for
444 exceptions that come from Accessibles, if SPIExceptionSourceType is
445 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
446 (SPIException_getDescription): New, returns a string description of
447 the problem. [Not yet a stable ABI, strings are not frozen]
449 * cspi/spi-private.h:
450 Added implementation details of opaque SPIException
454 Implementations of above. Also
455 (_cspi_exception_throw): new private method that
456 dispatches exceptions to handlers, called from cspi-bonobo.c
458 * cspi/bonobo/cspi-bonobo.c:
459 (cspi_check_ev): call _cspi_exception_throw.
460 Don't print a warning message if the exception has been
461 handled by _cspi_exception_throw.
463 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
465 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
466 there are still windows which have not been deleted and emit
467 window:deactivate, if necessary and window:destroy events.
468 This fixes bug #114370.
470 2003-06-03 Bill Haneman <bill.haneman@sun.com>
473 (cspi_accessible_is_a): Make non-fatal
474 if the object reference is dead.
476 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
478 * cspi/spi_main.c: #include <stdio.h>
479 * test/simple-at.c: ditto
480 * test/event-listener-test.c: ditto
481 * test/screen-review-test.c: ditto
483 2003-05-30 Michael Meeks <michael@ximian.com>
485 * test/test-simple.c (main): use CORBA_ORB_perform_work
486 instead of an unnecessary linc_ call.
488 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
490 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
491 Add SPI_STATE_INDETERMINATE.
493 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
496 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
498 * libspi/stateset.c (init_state_type_tables): Add support for
501 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
503 * configure: Update versions of atk and gail required.
504 This fixes bug #113268.
506 2003-05-02 Bill Haneman <bill.haneman@sun.com>
508 * configure.in: Revved micro version to 1.3.1 (because of build fix).
510 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
512 * libspi/Makefile.am:
513 Ensure headers are generated before being used by c sources.
515 2003-05-01 Bill Haneman <bill.haneman@sun.com>
518 Simplified lt versioning rules.
519 Incremented version to 1.3.0, to indicate that we're on the
522 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
524 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
525 Add MKDB_OPTIONS=--outtput-format=xml
527 * docs/reference/cspi/at-spi-cspi-docs.sgml
528 docs/reference/idl/at-spi-idl-docs.sgml:
529 Convert to Docbook XML.
531 This fixes bug #111793.
533 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
535 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
536 AcccessibleKeyEventType, AccessibleKeyMaskType.
538 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
540 * cspi/state-types.h: Add documentation for AccessibleState.
542 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
543 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
544 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
545 AccessibleComponentLayer.
547 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
550 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
552 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
553 Accessible. Add description of AccessibleEvent,
554 AccessibleEventListenerCB.
556 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
559 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
560 documentation. Add description of AccessibleKeystrokeListenerCB,
561 AccessibleKeyEventMask, AccessibleModifierMaskType,
562 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
563 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
565 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
568 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
571 This fixes bug #104730.
573 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
575 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
576 Set is_text field of Accessibility_DeviceEvent data structure.
578 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
579 is-text field of AccessibleDeviceEvent data structure.
581 This addresses part of bug #108666.
583 * registryd/devcieeventcontroller.c: Unset debug option.
585 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
588 (cpi_initial_relation_type_table): New function which initializes
589 mapping between Accessibility_RelationType and AccessibleRelationType.
590 (cspi_relation_type_from_spi_relation_type): New function which
591 translates an Accessibility_RelationType into an AccessibleRelationType.
592 (AccessibleRelation_getRelationType): Use
593 cpi_relation_type_get_spi_relation_type to return correct value.
594 (spi_state_to_corba): Return correct type for default case.
596 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
597 Use Accessibility_EventType instead of Accessibility_KeyEventType.
599 * cspi/cspi-bonobo-listener.c:
600 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
603 * libspi/accessible.c, libspi/action.c, libspi/application.c,
604 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
605 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
606 libspi/image.c, libspi/listener.c, libspi/selection.c,
607 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
608 registryd/desktop.c, registryd/registry.c:
609 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
611 * libspi/eventlistener.c
612 Remove semicolon after BONOBO_TYPE_FUNC.
615 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
616 (spi_init_relation_type_table): Initialize using correct type.
618 * registryd/desktop.c:
619 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
620 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
621 of Accessibility_KeyEventType.
623 * test/key-listener-test.c (report_tab_key_event): Use fprintf
626 * tests/simple-at.c, tests/screen-review-test.c:
627 Add include for <strings.h>.
629 * tests.stress-test.c:
630 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
632 These changes fix compiler warnings when using FORTE compiler on
633 Solaris; fixes bug #107479.
636 2003-04-10 Bill Haneman <bill.haneman@sun.com>
639 * configure.in: revved to 1.1.10
642 (SPI_KEYMASK_NUMLOCK): Added.
644 * registryd/deviceeventcontroller.c:
645 (spi_key_event_matches_listener): AND with a smaller
646 bitmask (as we should).
647 (spi_dec_translate_mask):
648 New method, sets the virtual NumLock modifier bit
649 if numlock is on. Eventually it can handle other virtual
650 modifier bits if needed, or other marshalling from
651 at-spi modifier masks to platform (X) masks.
652 (spi_dec_key_listener_new):
653 Call spi_dec_translate_mask to set up virtual mod bits
654 in the 'mask' field when creating a new listener struct.
655 (spi_dec_emit_modifier_event):
656 Set the virtual (i.e. NumLock) bits before emitting event.
657 (spi_controller_register_with_devices):
658 Query for the NumLock modifier 'physical' bit if Xkb is
659 present, for use in above methods.
663 2003-04-10 Bill Haneman <bill.haneman@sun.com>
665 * registryd/deviceeventcontroller.c:
666 (spi_keystroke_from_x_key_event):
667 Instead of checking to see if the keysym is
668 printable, check the string from XLookupString
669 if available, get the first unicode character from it,
670 and call g_unichar_isprint to determine whether the
671 is_text flag should be TRUE or FALSE.
675 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
677 * atk-bridge/bridge.c: Add support for extended events
678 * cspi/spi_event.c: Add documentation and implementation for
680 * tests/event-listener-test.c: Add tests for extended events.
682 This fixes bugs #100424 and #100426.
684 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
686 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
687 of LT_CURRENT. This fixes bug #89350.
689 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
691 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
692 number of signal parameter values before accessing them. This fixes
695 2003-04-01 Bill Haneman <bill.haneman@sun.com>
697 * configure.in: Fixed duplicate inclusion of -lspi.
698 * branched for gnome-2-2/HEAD.
699 [created tag "gnome-2-2"]
701 2003-03-07 Bill Haneman <bill.haneman@sun.com>
703 * configure.in: 1.1.9 release.
706 2003-03-07 Bill Haneman <bill.haneman@sun.com>
708 [needed by GOK, to fix bugs 107985 and 107988]
709 * registryd/deviceeventcontroller.c:
710 (spi_dec_clear_unlatch_pending):
711 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
712 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
713 (spi_dec_init_mouse_listener):Emit warning if mouse button
715 (spi_device_event_controller_forward_mouse_event):
716 Removed unnecessary parens from a conditional.
717 (global_filter_fn):Added TODO comment.
718 (impl_generate_keyboard_event):
719 Cancel a pending relatch if a 'delatching' key was
722 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
724 * atk-bridge/bridge.c:
725 Change atk_signal_child_changed to atk_signal_children_changed.
726 Reorganize code in spi_atk_bridge_signal_listener().
728 * test/event-listener-test.c:
729 Add children_changed_listener and report_children_changed_event()
730 to test AccessibleChildEvent_getChildAccessible.
732 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
734 * cspi/spi_event.c (cspi_internal_event_get_text): Change
735 g_strdup to CORBA_String_dup (bug #105291)
737 * test/event-listener-test.c (report_text_event): Add call to
740 2003-02-28 Bill Haneman <bill.haneman@sun.com>
742 * registryd/deviceeventcontroller.c:
743 (spi_keystroke_from_x_key_event):
744 Fix string and keysym return codes to match modifier state.
747 2003-02-28 Bill Haneman <bill.haneman@sun.com>
749 * registryd/deviceeventcontroller.c:
750 (spi_keystroke_from_x_key_event):
751 Fix segv due to improper use of isprint(c). [bug #107254]
753 2003-02-24 Bill Haneman <bill.haneman@sun.com>
756 (get_accessible_text_boundary_type):
757 Move default return value to (new) default case in switch.
758 (get_accessible_text_clip_type):
759 Move default return value to (new) default case in switch.
761 * libspi/application.c:
762 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
763 Remove unused methods.
764 (impl_accessibility_application_register_object_event_listener):
765 Remove unused methods.
768 Added #include of <math.h>.
770 * registryd/deviceeventcontroller.c:
771 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
772 we don't currently use this method.
773 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
775 (impl_generate_key_event):
776 Remove unused variables.
777 (impl_generate_mouse_event):
778 Initialize button to zero, just in case we get an invalid
779 input. Added support for mouse buttons 4 and 5.
780 (spi_device_event_controller_new):
781 Removed unused variable declaration for 'private'.
783 Added #include of <gdk/gdk.h>
785 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
787 * configure.in: Update to work when X is not installed in expected
788 location. Fixes bug #105836.
790 * atk-bridge/bridge.c
791 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
793 (spi_atk_register_event_listener): Add signal listener for
795 (spi_atk_bridge_signal_listener): Event event when link-selected
796 signal is emitted. (bug #104622)
798 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
799 on returned string. (bug #105291)
801 * test/event-listener-test.c: Add test for link-selected.
803 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
805 * atk-bridge/Makefile.am: Correct typo in previous commit.
807 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
809 * atk-bridge/Makefile.am: Allow for build directory to be different
810 from source directory
812 * registryd/Makefile.am: Allow for build directory to be different
813 from source directory
817 2003-01-29 Bill Haneman <bill.haneman@sun.com>
820 Fixed dependencies for libcspi so that libspi gets pulled in
821 properly. Fixes 104741.
825 Clean up inline docs a little.
827 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
829 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
830 This is done by implementing AtkComponent for SpiAtkDesktop, which is
831 the AtkObject within an SpiDesktop.
832 This addresses bug #101524.
834 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
835 Remove call to gdk_init().
837 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
838 so that Display is set when SpiDesktop is created.
840 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
842 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
843 This fixes bug #102830.
845 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
847 * test/test-simple.c: Update to take account of fact that GailButton
848 now implements AtkText.
849 (create_text_window): Set name on AtkObject for GtkEntry.
850 (validate_accessible): Check accessible name before calling test_text().
852 * libspi/Makefile.am: Fix problem with building outside of source
853 directory. Bug #98120.
855 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
856 typo in documentation comments. Bug #94275.
858 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
860 * libspi/text.c (impl_getBoundedRanges): Bug fix.
862 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
865 Add includes to avoid compiler warnings on Solaris.
866 (impl_getRangeExtents): Bug fix.
868 2002-12-17 Bill Haneman <bill.haneman@sun.com>
870 Fix for 100944, [API addition approved by Gman and murrayc].
877 * idl/Accessibility_Text.idl:
878 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
879 (Text::getRangeExtents): New method for efficient
880 bounds query of a text range.
881 (Text::getBoundedRanges): New method for efficient
882 clipping of text to bounding boxes.
883 (unImplemented7, unImplemented8):
884 Removed these padding methods to preserve bincompat.
887 (impl_getRangeExtents): implementation of new IDL.
888 (impl_getBoundedRanges): implementation of new IDL.
889 (SpiTextRect): Internal use struct.
890 (_spi_text_rect_union): internal method, calculates union of two
891 SpiTextRect bounding rects.
892 (_spi_text_range_seq_from_gslist): internal method, allows us
893 to build our sequence efficiently as a gslist then convert it
895 (_spi_bounds_contain): internal method, determines whether
896 a text character is "in" or "out" of a clip rect according to
897 values of TEXT_CLIP_TYPE.
898 (spi_text_class_init): Initialize the new methods in the epv.
901 (AccessibleTextClipType): New enum used by screen review api.
902 (AccessibleTextRange): New struct used by screen review api.
903 (AccessibleText_getRangeExtents):
904 cspi binding for Accessibility_Text_getRangeExtents.
905 (AccessibleText_getBoundedRanges):
906 cspi binding for Accessibility_Text_getBoundedRanges.
907 (AccessibleTextRange_freeRanges): convenience method.
910 (AccessibleText_getRangeExtents):
911 cspi binding for Accessibility_Text_getRangeExtents.
912 (AccessibleText_getBoundedRanges):
913 cspi binding for Accessibility_Text_getBoundedRanges.
914 (AccessibleTextRange_freeRanges): convenience method.
915 (get_accessible_text_clip_type): internal conversion method.
916 (get_accessible_text_ranges_from_range_seq): internal conversion method.
918 * registryd/deviceeventcontroller.c:
919 (spi_dec_mouse_check):
920 Improved behavior for mouse:abs events
921 [same granularity as mouse:rel events, and no
922 events when mouse is idle].
924 2002-12-16 Michael Meeks <michael@ximian.com>
926 * cspi/spi_accessible.c (spi_state_to_corba): rename.
928 * libspi/stateset.c (state_spi_to_atk): split out
929 ( fix several remote array bounds nasties )
930 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
931 (impl_remove): make safe from array bounds issues.
932 (spi_atk_state_from_spi_state): impl.
934 * libspi/stateset.h (spi_state_set_cache_is_empty):
935 add a set of wrapper defines to get layering right.
937 * cspi/spi_accessible.c: update state set stuff to
940 2002-12-14 Michael Meeks <michael@ximian.com>
942 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
943 to avoid 2 roundtrips to the registry per key event
944 (spi_atk_bridge_key_listener): upd.
945 (deregister_application): release the dec.
947 * registryd/registry.c (notify_listeners_cb):
948 bin lots of re-enterant complexity - we no longer
949 do a round-trip bonobo ref here, ensure that a single
950 listener's exception failure won't poison all other
952 (impl_registry_notify_event): bin obvious memory leak.
954 2002-12-13 Michael Meeks <michael@ximian.com>
956 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
957 init the ev so the error is meaningful.
958 (spi_atk_bridge_key_listener): ditto.
960 * cspi/spi_main.c (cspi_ev): init the ev so we start
961 with a clean slate, otherwise the first exception
964 * cspi/spi_text.c (get_accessible_text_boundary_type):
965 add a fallthrough for no warnings.
967 * cspi/spi_registry.c: prune unused warnings.
969 * cspi/spi_main.c (cspi_object_take): fix
970 mind-blowing brokenness ( by watching the compile
973 * cspi/spi_accessible.c (Accessible_getStateSet):
974 re-impl. to use an AtkStateSet.
975 (spi_state_type_from_accessible_state),
976 (init_state_table): bin these.
978 * libspi/stateset.c (spi_atk_state_set_from_sequence):
980 (atk_state_set_from_accessibility_state_set): here.
982 * cspi/spi_accessible.c (spi_state_to_atk): impl.
983 (AccessibleStateSet_contains, AccessibleStateSet_ref),
984 (AccessibleStateSet_unref, AccessibleStateSet_contains),
985 (AccessibleStateSet_add, AccessibleStateSet_remove),
986 (AccessibleStateSet_equals, AccessibleStateSet_compare),
987 (AccessibleStateSet_isEmpty): re-write to use a local
990 2002-12-13 Bill Haneman <bill.haneman@sun.com>
992 * configure.in: Revved to 1.1.7 (new keymask vals).
994 2002-12-10 Bill Haneman <bill.haneman@sun.com>
997 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
999 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1002 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
1003 to compare two CORBA_TypeCodes.
1004 (cspi_internal_event_add): Silence warning from FORTE compiler.
1006 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
1007 avoid implicit declaration of functions.
1009 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
1011 * atk-bridge/bridge.c:
1012 (spi_atk_bridge_init_event_type_consts): Store signal id for
1013 active-descendant-changed signal.
1014 (spi_atk_register_event_listeners): Add signal listener for
1015 active-descendant-changed signal,
1016 (spi_atk_bridge_signal_listener): Move code in function
1017 spi_atk-signal_emit_event() into this function.
1018 Add support for active-descendant-changed
1019 Update support for child-changed signal.
1020 (spi_bridge_window_event_listener): Silence warning.
1022 * libspi/spi_private.[ch]:
1023 (spi_init_any_object): Change second parameter from CORBA_Object to
1025 Omit call to CORBA_Object_duplicate().
1026 Set CORBA_any's _value to CORBA_Object*.
1028 2002-12-06 Bill Haneman <bill.haneman@sun.com>
1034 (AccessibleEvent_ref, AccessibleEvent_unref):
1035 New methods, for persisting an event outside the emission context.
1036 Must be used if the new accessor methods are to be called
1037 outside of the event listener's callback.
1039 * cspi/bonobo/cspi-bonobo.c:
1040 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
1041 as second parameter instead of NULL, so we can call
1042 cspi_check_ev afterwards.
1045 (cspi_object_take): New internal method,
1046 converts a CORBA_Object reference to a hard ref on
1047 an Accessible if possible, returning NULL if the object
1048 reference is invalid or an Accessible * otherwise.
1051 (AccessibleEvent_ref):
1052 Increment the event's internal private refcount, and
1053 add the event's internal struct to an internal cache
1054 if it's not already there.
1055 (AccessibleEvent_unref):
1056 Decrement the event's refcount and remove it from
1057 the cspi event cache if refcount==0.
1058 (cspi_event_compare): New private method.
1059 Compares two event structs via their ids. Used
1061 (cspi_internal_event_lookup): New private method.
1062 (cspi_internal_event_check): New private method,
1063 a 0-order sanity check for events to make sure their
1064 private data is intact.
1065 (cspi_internal_event_add, cspi_internal_event_remove):
1066 New private methods for managiing the event cache.
1068 * cspi/bonobo/cspi-bonobo-listener.c:
1070 Initialize the new private data elements (id, magic, ref_count).
1072 * atk-bridge/bridge.c:
1073 (spi_atk_bridge_signal_listener):
1074 Fixed bug #100530, passing wrong params to emission func.
1076 * registryd/deviceeventcontroller.c:
1077 (spi_dec_button_update_and_emit):
1078 Fixed type in mask bit operations; fix for #99799.
1080 2002-12-02 Bill Haneman <bill.haneman@sun.com>
1082 Removed some of the more dangerous workarounds from
1083 previous commit; they are only needed by GOK, which
1084 in reality should be using another method to accomplish
1085 the goals. So on reconsideration some of the workarounds
1086 need to be reverted:
1088 * registryd/deviceeventcontroller.c:
1089 (spi_keycodes_contain, spi_dec_init_keycode_list):
1090 Removed these methods, used only by a nasty hack to try
1091 and detect whether a key synthesis should be allowed
1092 to reset the XKB latch state or not. This code was only
1093 required to work around an interaction between GOK,
1094 button events, and XKB.
1095 (impl_generate_key_event):
1096 Removed hack at end of key generation that tried to
1097 "do the right thing" if XKB latch keys were generated
1098 in the midst of button press/release pairs.
1101 Added a check for HAVE_XINPUT. Not normally used yet.
1103 2002-11-25 Bill Haneman <bill.haneman@sun.com>
1105 Workarounds and fixes for mouse event/XKB interaction.
1107 * registryd/deviceeventcontroller.c:
1108 (spi_keycodes_contain, spi_dec_init_keycode_list):
1109 New internal methods.
1110 (spi_dec_set_unlatch_pending):
1111 Split the method that tells XKB to expect an
1112 unlatch (and revert it) out of the rest of the
1113 event handling code. This method is called by the
1114 two mouse event handlers (the poll and the filter).
1115 (spi_dec_update_and_emit, spi_dec_mouse_check):
1116 New methods split from spi_dec_poll_mouse_moved.
1117 The second one is now called from inside the filterFn
1118 when an XKB delatch event is received, to determine
1119 whether to revert the delatch or not.
1120 (spi_poll_mouse_moved): Refactor; also we can now
1121 properly handle the case where multiple button states
1122 have changed between polling cycles and we didn't get
1123 notified due to another client's grab.
1125 Synchronize the server while handling an XKB notification.
1126 Ugly, but apparently necessary to avoid nasty races.
1127 Check the mouse state on receipt of an XKB latch change,
1128 to decide whether to revert the latch or not. (Latches are
1129 reverted if there is an immediately preceding mouse button
1130 event that a client has consumed, in which case we don't want
1131 the user to see the side-effect of the event).
1132 (spi_device_event_controller_forward_mouse_event):
1133 Check for modifier events and fire before resetting mouse_mask_state,
1134 prevents losing modifier events.
1136 (impl_generate_keyboard_event):
1137 If we've just generated a keyboard event for a non-shift key,
1138 we don't want to revert the pending XKB latch.
1139 Otherwise, check the modifier state (via a call to
1140 spi_dev_mouse_check) and set the relatch mask to
1141 that state before returning.
1143 2002-11-24 Bill Haneman <bill.haneman@sun.com>
1146 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
1149 * atk-bridge/bridge.c:
1150 (spi_atk_register_event_listeners):
1151 Don't re-register for ATK events if the registry has died
1152 and the app needs to re-register; the ATK listeners are in
1153 process and doing so will cause duplicate emission.
1155 * registryd/deviceeventcontroller.c:
1156 (spi_poll_mouse_moved):
1157 Reformat the source, detect and emit multiple button-change
1158 events (i.e. if multiple buttons have changed between poll
1160 Add code to detect mouse-down events even when the pointer
1161 is grabbed; workaround for GOK bug 98420.
1162 (spi_controller_register_with_devices):
1163 Call XTestGrabControl with 'impervious' flag set to True,
1164 allows us to synthesize events and query the pointer even during
1165 an active grab by another client.
1166 (spi_device_event_controller_forward_mouse_event):
1167 Set the mouse_mask_state to the mouse_button_state from
1168 the intercepted event, to synchronize the grab listener with
1171 2002-11-20 Bill Haneman <bill.haneman@sun.com>
1173 * cspi/spi_accessible.c:
1174 (AccessibleRole_getName):
1175 Added necessary strings for making this (deprecated)
1176 method work with the new role types.
1177 (init_role_table, role_table):
1178 Added definition of SPI_ROLE_APPLICATION.
1180 * libspi/spi-roletypes.h:
1181 Added SPI_ROLE_APPLICATION.
1183 * idl/Accessibility_Role.idl:
1184 Added ROLE_APPLICATION.
1186 * docs/reference/cspi/at-spi-cspi-decl.txt:
1187 Added SPI_ROLE_APPLICATION to docs.
1189 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
1191 * cspi/spi_accessible.c
1192 (cspi_init_role_table): Do not write beyond end of role_table.
1193 (Accessible_getRole): Use correct type for value returned by
1194 Accessibility_Accessible_getRole().
1196 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
1197 beyond end of role_table. (This fixes bug #98269)
1199 * libspi/application.c: Add include file spi-private.h for
1200 definition of spi_init_any_nil.
1202 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1206 * libspi/spi-private.h:
1207 Added DGB() macro, and extern int _dbg declaration.
1209 * registryd/registry.c:
1210 (definitions) storage for _dbg.
1211 (spi_registry_init):
1212 Get environment variable "AT_SPI_DEBUG".
1213 (spi_registry_set_debug):
1214 New method, to initialize _dbg value.
1215 (spi_listener_struct_new, spi_registry_object_finalize):
1216 (notify_listeners_cb):
1217 Changed fprintfs to use DBG and g_warning().
1219 * registryd/deviceeventcontroller.c:
1220 (_deregister_keygrab, spi_controller_register_device_listener):
1221 Changed debug/warning messages to use DBG macro.
1223 * libspi/listener.c:
1224 (impl_notify_event):
1225 Changed warning messages to use DBG macro and g_warning().
1227 * atk-bridge/bridge.c:
1228 (atk_bridge_init, spi_atk_bridge_get_registry):
1229 (spi_atk_bridge_exit_func):
1230 (spi_atk_bridge_property_event_listener):
1231 Changed status, warning, and error messages to use
1232 g_warning, g_message, and DBG macros.
1235 Read the state of the AT_SPI_DEBUG environment variable
1236 and set a local '_dbg' accordingly.
1238 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1240 FIXES for 98836, 98842, other bugs.
1243 Revved to 1.1.4, interface-age=4, binary-age=4.
1245 * registryd/deviceeventcontroller.c:
1247 Fixed crasher bug in last_mouse_pos initialization.
1249 * registryd/registry.c:
1250 (desktop_add_application, desktop_remove_application):
1251 Added (and then commented out) some support for
1252 object context marshalling. [TODO]
1254 * atk-bridge/bridge.c:
1255 (spi_atk_bridge_event_context_create):
1256 Commented out object context creation until it can
1257 be properly tested and debugged.
1259 * registryd/registry.c:
1260 (impl_registry_notify_event):
1261 Fixed crasher bug, we were calling
1262 spi_re_entrant_list_foreach () with an empty list.
1264 2002-11-18 Bill Haneman <bill.haneman@sun.com>
1266 * idl/Accessibility_Action.idl:
1267 * idl/Accessibility_Component.idl:
1268 * idl/Accessibility_Desktop.idl:
1269 * idl/Accessibility_Event.idl:
1270 * idl/Accessibility_Hyperlink.idl:
1271 * idl/Accessibility_Image.idl:
1272 * idl/Accessibility_Relation.idl:
1273 * idl/Accessibility_Selection.idl:
1274 * idl/Accessibility_State.idl:
1275 * idl/Accessibility_Value.idl:
1276 Updated unimplemented slot count to minimum of
1277 four for all interfaces, for ABI freeze.
1279 * idl/Accessibility_EditableText.idl:
1280 * idl/Accessibility_Text.idl:
1281 Updated unimplemented slot count to six
1284 * idl/Accessibility_Registry.idl:
1285 Updated unimplemented slot count to six
1286 (also for DeviceEventController),
1289 * idl/Accessibility_Table.idl:
1290 Updated unimplemented slot count to eight,
1293 * idl/Accessibility_Event.idl:
1294 Added CORBA_any "any_data" member to Event struct.
1296 * idl/Accessibility_Event.idl:
1297 Added CORBA_any "any_data" member to Event struct.
1299 * atk-bridge/bridge.c:
1301 atk_signal_text_changed, atk_signal_child_changed,
1302 signal ids queried from gtype system.
1303 (AtkBridgeEventContextType): New enum.
1304 (AtkBridgeEventContextData): New struct.
1305 (AtkBridgeEventContext): New struct.
1306 (atk_bridge_init_event_type_consts):
1307 New method, initializes type contants for comparison
1308 prior to emit_eventv.
1309 (atk_bridge_event_context_init): New method,
1310 initializes a CORBA_any from an AtkBridgeEventContext.
1311 (atk_bridge_focus_tracker): Call spi_init_any_nil to
1312 initialize the event.any_data struct.
1313 (spi_atk_bridge_event_context_create): New method,
1314 creates an AtkBridgeEventContext from signal/event info.
1315 (spi_atk_bridge_event_context_free): New method.
1316 (spi_atk_emit_eventv): Changed to take an
1317 AtkBridgeEventContext parameter. We now initialize
1318 the event.any_data member prior to notifying the
1319 Registry, via the AtkBridgeEventContext.
1320 (spi_atk_bridge_property_event_listener):
1321 (spi_atk_bridge_state_event_listener):
1322 Match emit_eventv signature.
1323 (spi_atk_bridge_object_event_listener):
1324 Match emit_eventv signature, and create an
1325 event context from the event details.
1326 Free the event context afterwards.
1327 (spi_atk_bridge_window_event_listener):
1328 Create an event context, pass it to the
1332 (AccessibleEvent_getContextString):
1333 (AccessibleEvent_getContextObject):
1334 New methods, allow query of AccessibleEvent objects
1335 for more context details (via the "any_data" member
1336 of the Event struct, above).
1339 Definitions for AccessibleEvent_getContextString
1340 and AccessibleEvent_getContextObject.
1342 * cspi/spi_listener.h:
1343 (InternalEvent): New struct.
1346 (AccessibleEvent_getContextString):
1347 (AccessibleEvent_getContextObject):
1348 Implementations of new methods, for obtaining
1349 additional context information from some event types.
1351 * cspi/spi_registry.c:
1352 (SPI_registerGlobalEventListener):
1353 Added mention of active-descendant-changed event in docs.
1355 * cspi/cspi-bonobo-listener.c:
1357 Marshal the any into the AccessibleEvent via
1360 * libspi/spi-private.h:
1361 #include <orbit/orbit.h>
1363 (spi_init_any_string):
1364 (spi_init_any_object):
1365 New convenience function declarations.
1369 (spi_init_any_string):
1370 (spi_init_any_object):
1371 New convenience function implementations.
1373 * registryd/deviceeventcontroller.c:
1374 (spi_poll_dec_mouse_moved):
1375 (spi_device_event_controller_forward_mous_event):
1376 Initialize any_data member of event.
1377 (spi_deregister_controller_device_listener):
1378 Fix incorrect param pass which was preventing deregistration.
1380 * registryd/registry.c:
1381 (desktop_add_application):
1382 (desktop_remove_application):
1383 Add object data to event's any_data before dispatch.
1385 Fix for error messages from GAIL.
1387 * test/event-listener-test.c:
1388 Test new ContextString and "any_data" API:
1389 (report_text_event): New method query and output context string.
1390 (main): register a new text listener with report_text_event
1393 2002-11-19 Darren Kenny <darren.kenny@sun.com>
1395 Fixes for bugs 98127 and 97914.
1396 * cspi/spi-roletypes.h:
1397 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
1399 * cspi/spi-statetypes.h:
1400 Added SPI_STATE_MANAGES_DESCENDANTS
1402 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
1403 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
1404 * cspi/spi_accessible.c:
1405 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
1406 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
1407 Accessibility_STATE_MANAGES_DESCENDANTS
1408 * libspi/accessible.c:
1409 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
1410 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
1411 As requested by Bill, I also cleaned up the alignment.
1412 * libspi/relation.c:
1413 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
1414 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
1415 * libspi/stateset.c:
1416 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
1417 Accessibility_STATE_MANAGES_DESCENDANTS
1418 * docs/reference/cspi/tmpl/spi_accessible.sgml:
1419 Document changes reflecting modifications to roles.
1420 * docs/reference/cspi/tmpl/spi_relation.sgml:
1421 Document changes reflecting modifications to relations.
1422 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1423 Document changes reflecting modifications to states.
1425 2002-11-17 Bill Haneman <bill.haneman@sun.com>
1428 Revved to 1.1.3, interface-age=3, binary-age=3.
1429 Added REBUILD macro.
1432 Removed accessx-gui from the tests, since we have a nice
1433 keyboard accessibility capplet now :-)
1435 * test/keysynth-demo.c:
1436 (increment_scan): removed do-nothing default: case,
1439 * test/visual-bell.c:
1440 (main) : removed do-nothing default: case,
1443 * cspi/spi_action.c:
1444 (AccessibleAction_getKeyBinding_):
1445 Documented keybinding string format.
1449 (AccessibleText_getAttributes):
1450 Documented the text attribute string format.
1451 It's changed to use semicolon delimiters also,
1452 to prevent clashes with CSS attributes, but the old
1453 trick of looking for ", " strings will still work
1454 (as unreliably as ever). Fix for bug related to 97916.
1457 Include <cspi/bonobo/cspi-bonobo-listener.h>
1458 Fixes build warning.
1459 (SPI_freeAccessibleKeySet):
1460 (AccessibleKeystrokeListener_addCallback):
1461 (AccessibleKeystrokeListener_removeCallback):
1462 Modify to use AccessibleDeviceListener API internally,
1463 instead of AccessibleKeystrokeListener.
1465 * idl/Accessibility_Event.idl:
1466 Added two more empty slots to EventListener (for a total of four).
1468 * idl/Accessibility_Accessible.idl:
1469 Added four empty slots to Accessible interface.
1471 2002-11-15 Bill Haneman <bill.haneman@sun.com>
1473 * idl/Accessibility_Registry.idl:
1474 (KeyEventType, EventType):
1475 Marked KeyEventType as deprecated; it duplicates
1476 functionality of EventType, which has been extended to
1477 include Mouse-button events.
1478 (KeyEventTypeSeq): defined in terms of EventType.
1479 (registerDeviceEventListener, deregisterDeviceEventListener):
1480 New methods, for managing listeners to device events,
1481 which potentially may consume them.
1484 Added definition for AccessibleDeviceListener.
1486 * cspi/spi-listener.h:
1487 (enum AccessibleDeviceEventType):
1488 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
1489 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
1490 for backwards compat.
1491 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
1492 and typedef'd AccessibleKeystroke to it for back-compat.
1493 (AccessibleDeviceListenerCB):
1494 New function prototype typedef.
1497 (AccessibleDeviceEventMask): New typedef.
1498 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
1499 (AccessibleKeyMaskType):
1500 Set equivalent to AccessibleModifierMaskType for back-compat.
1501 (SPI_createAccessibleKeystrokeListener):
1502 (AccessibleKeystrokeListener_unref):
1503 Deprecated in favor of equivalent (better-named) new API below..
1504 keystroke listeners are like all device listeners.
1505 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
1506 New API names for old features :-).
1507 (AccessibleDeviceListener_addCallback):
1508 (AccessibleDeviceListener_removeCallback):
1509 (SPI_registerDeviceEventListener):
1510 (SPI_deregisterDeviceEventListener):
1514 (SPI_createAccessibleKeystrokeListener):
1515 Use new preferred API, cspi_device_listener_new() and
1516 cspi_device_listener_add_cb().
1517 (AccessibleKeystrokeListener_removeCallback):
1518 Use new preferred API, cspi_device_listener_remove_cb().
1519 (AccessibleKeystrokeListener_unref):
1520 Use new preferred API, cspi_device_listener_unref().
1521 (SPI_createAccessibleDeviceListener):
1522 (AccessibleDeviceListener_addCallback):
1523 (AccessibleDeviceListener_removeCallback):
1524 Implementation of new API.
1526 * cspi/spi_registry.c:
1527 (SPI_registerDeviceEventListener):
1528 (SPI_deregisterDeviceEventListener):
1529 Implementation of new API. Fixed memory leak and removed need to
1530 allocate EventTypeSeq (thanks Michael for catching this).
1531 Squashed a wayward CORBA_exception_free that shouldn't get called.
1533 * cspi/bonobo/cspi-bonobo-listener.c:
1535 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
1536 (cspi_key_event): renamed to cspi_device_event().
1537 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
1538 Extended to handle mouse button events as well as key events.
1539 (CSpiKeystrokeListener):
1540 Class superceded by CSpiDeviceListener.
1541 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1542 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1544 * cspi/bonobo/cspi-bonobo-listener.h:
1545 (CSpiKeystrokeListener):
1546 Class superceded by CSpiDeviceListener.
1547 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1548 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1550 * libspi/Makefile.am:
1551 Replaced keystrokelistener.h and keystrokelistener.c
1552 with devicelistener.h and devicelistener.c; keystrokelisener.h
1553 stub retained for back-compat.
1555 * libspi/keystrokelistener.c:
1559 Replaced inclusion of keystrokelistener.h with devicelistener.h.
1561 * registryd/deviceeventcontroller.c:
1562 (DEControllerListener): Added Accessibility_EventTypeSeq member.
1563 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
1564 (DEControllerPrivateData): Added xkb settings data.
1565 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
1566 button release events (which can't be captured via XGrabButton).
1567 Don't dispatch via the 'normal' event mechanism if the device event was
1569 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
1570 Handle the typeseq data in its new location (see above).
1571 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
1572 New methods, for "generic" device listeners.
1573 (spi_controller_register_device_listener):
1574 Now handle mouse event listeners as well as key listeners.
1575 (spi_controller_notify_mouselisteners):
1576 New internal method.
1577 (spi_device_event_controller_forward_mouse_event):
1578 Now we notify mouse device listeners as well as generating the
1579 non-consumable "mouse:" events.
1581 We must check and restore the XKB
1582 modifier map if we consume the event, since the act of triggering
1583 a mouse event will normally reset the XKB latch. This is required for
1585 (spi_controller_register_with_devices):
1586 Load the XKB settings when registering, and register for XKB
1587 state notify events.
1588 (spi_key_eventtype_seq_contains_event):
1589 Renamed spi_eventtype_seq_contains_event, since it's used
1590 internally for all device event types now.
1591 (spi_key_event_matches_listener):
1592 Uses spi_eventtype_seq_contains_event now.
1593 (spi_device_event_controller_object_finalize):
1594 Free the private data and the XkbKeyboard struct.
1595 (impl_register_device_listener, impl_deregister_device_listener):
1596 Implementation of new IDL.
1597 (spi_deregister_controller_device_listener):
1598 New internal method.
1599 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
1600 More efficient implementation, we don't have to create a new
1601 XkbControls structure every time we query.
1602 (spi_device_event_controller_class_init):
1603 Initialize the epv entries for the new IDL. Assign the
1604 "spi-dec-private" quark.
1605 (spi_device_event_controller_init):
1606 Initialize the private data.
1607 (spi_device_event_controller_forward_key_event):
1608 Removed a bogus CORBA_exception_free() call.
1610 * registryd/deviceeventcontroller.h:
1611 Replaced inclusion of keystrokelistener.h with
1614 * test/event-listener-test.c:
1615 (report_mouse_event):
1618 Added mouse-event device listener.
1620 * test/test-simple.c:
1621 (create_test_window):
1622 Fixed regression (we were instantiating a GtkRange,
1623 which is now an abstract class). Also fixed to match
1624 existing AtkRole names, this seems to have changed in ATK
1625 awhile ago; too late now I think, and the new
1626 mechanism is at least elegant and consistent with the
1627 glib enum "nick" APIs.
1629 2002-11-15 Darren Kenny <darren.kenny@sun.com>
1631 * idl/Accessibility_Relation.idl:
1632 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
1633 RELATION_EMBEDS,RELATION_EMBEDDED_BY
1634 * idl/Accessibility_Role.idl:
1635 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
1636 * idl/Accessibility_State.idl:
1637 add STATE_MANAGES_DESCENDANTS
1638 * test/event-listener-test.c:
1639 Added a listener for active-descendant events.
1641 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
1643 * atk-bridge/bridge.c
1644 (atk_bridge_init): If application is Bonobo component wait until top
1645 level is added before registering
1646 (spi_atk_bridge_do_registration): New function which contains code,
1647 formerly in atk_bridge_init, to do application registration.
1648 (spi_atk_bridge_toplevel_added): Signal called when top level
1649 added to Bonobo component
1651 This fixes bug #83134.
1653 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
1655 * registryd/deviceeventcontroller.c
1656 Fixed compilation error caused by calling gettimeofday()
1659 2002-10-18 Bill Haneman <bill.haneman@sun.com>
1664 Added template for HAVE_XKB.
1667 Changes to check for XKB, and to set the HAVE_XKB #define if it
1670 * libspi/listener.c:
1671 ()impl_notify_event): Make failure to get event source name
1674 * registryd/deviceeventcontroller.c:
1675 (#include): include X11/XKBlib.h.
1676 (DEControllerPrivateData) : New struct.
1677 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
1679 (dec_synth_keycode_press) (dec_synth_keycode_release):
1680 New methods; split the key synthesis code into these methods.
1681 They check XKB settings before determining the "time" values to
1682 pass to Xtest; this fixes bug #95828.
1683 (impl_generate_keyboard_event): Changed to use methods above,
1684 instead of callng Xtest directly.
1685 (spi_device_event_controller_init): Initialize new privae struct s
1687 (spi_device_event_controllr_object_finalize):
1688 Free the (new) private data.
1690 * registryd/deviceeventcontroller.h:
1691 Add new gpointer to end of struct data.
1693 2002-10-16 Bill Haneman <bill.haneman@sun.com>
1696 Incremented revision to 1.1.2, SONAME is still '.so', library
1697 extensions are ".so.0.0.2".
1699 * registryd/deviceeventcontroller.c:
1700 FIXES FOR #93592 and #95940.
1701 (statics): renamed mouse_button_state to mouse_mask_state,
1702 added key_modifier_mask.
1703 (spi_dec_poll_mouse_moved):
1704 Added key modifier checks, and emit "keyboard:modifiers"
1705 events when the key modifiers currently in use change.
1706 Also generate "mouse:abs" events periodically, even if the mouse
1707 is stationary (should we?).
1708 Alternatively we could generate "mouse:abs" events for either all
1709 mouse movements, or every 'nth' mouse movement, or at the
1710 beginning and end of every "active" mouse period.
1712 * test/event-listener-test.c:
1713 (main): Added listener for "keyboard:modifiers" events.
1715 2002-10-15 Bill Haneman <bill.haneman@sun.com>
1717 * libspi/keymasks.h:
1718 Added key mask #defines for mouse buttons; e.g.
1719 SPI_KEYMASK_BUTTON1, etc.
1722 Incremented dependency on ATK to version 1.1.0. (This dependency
1723 is probably premature but will soon be real enough).
1725 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
1727 * libspi/hyperlink.[ch]
1728 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
1729 (get_hyperlink_from_servant): Check object is AtkHyperlink not
1732 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
1737 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
1739 * registryd/deviceeventcontroller.c
1740 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
1741 events to be ignored.
1742 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
1743 keyboard_mode so that XAllowEvents() can be called.
1747 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
1749 * cspi/spi-accessible.c: Correct names of roles returned by
1750 AccessibleRole_getName(). Fixes bug #95055.
1752 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
1754 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
1757 * registryd/registry.c
1758 (desktop_remove_application: Write diagnostic message to stderr for
1761 (impl_accessibility_registry_deregister_global_event_listener):
1762 Correct size of lists array. This addresses bug #94555).
1764 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
1766 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
1769 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
1771 * registryd/Makefile: Add CLEANFILES so that .server file is removed
1774 * registryd/registry.c (impl_registry_notify_event): Remove
1775 unnecessary call to parser_event_type().
1777 * docs/reference/cspi/tmpl/spi_component.sgml:
1778 Add reference to SPI_LAYER_WINDOW.
1780 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
1782 * registryd/registry.c
1783 (desktop_add_application): Remove leak.
1784 (desktop_remove_application): Remove leak.
1785 (parser_event_type): Remove leak.
1787 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
1789 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
1790 bogus call to CORBA_string_dup(). Also removed unnecessary
1791 g_string_dup/g_free calls.
1793 2002-09-13 Bill Haneman <bill.haneman@sun.com>
1795 * registryd/deviceeventcontroller.c:
1796 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
1798 * test/event-listener-test.c:
1799 main: commented out three redundant listeners, to reduce output
1800 noise. (They still are potentially useful for testing).
1803 2002-09-13 Michael Meeks <michael@ximian.com>
1805 * Update all the copyrights to include Ximian.
1807 2002-09-06 Mark McLoughlin <mark@skynet.ie>
1809 * cspi/spi.h: add SPI_LAYER_WINDOW.
1811 * cspi/spi_component.c: (AccessibleComponent_getLayer):
1812 add Accessibility_LAYER_WINDOW case.
1814 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
1816 * libspi/component.c: (impl_accessibility_component_get_layer):
1817 add ATK_LAYER_WINDOW case.
1819 2002-08-28 Bill Haneman <bill.haneman@sun.com>
1821 * configure.in: incremented micro version.
1823 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
1825 2002-08-20 Bill Haneman <bill.haneman@sun.com>
1828 Clarified and reworded our commit policy.
1831 Started an API "todo" addition list for 2.2.
1834 (impl_getSelection):
1835 Free char pointer from atk_text_get_selection, which was being leaked.
1837 2002-08-19 Bill Haneman <bill.haneman@sun.com>
1840 Small revision to author acknowledgement.
1842 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1844 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
1845 If signal has detail add it to the type of the event.
1848 2002-08-12 Michael Meeks <michael@ximian.com>
1850 * test/test-simple.c (global_listener_cb): bin bogosity.
1851 (test_keylisteners): disable, still doesn't work reliably,
1852 certainly not on my system anyway.
1854 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
1855 don't leak a reference on the DEC. This round-trip
1856 fetching of the DEC per keystroke sucks, it should be
1859 * cspi/spi-private.h,
1860 * cspi/cspi-lowlevel.h,
1861 * cspi/bonobo/cspi-bonobo-listener.[ch],
1862 * cspi/bonobo/cspi-bonobo.c: get the copyright
1863 notices better - there is still a large amount of
1864 work in at-spi falsely attributed solely to Sun.
1866 * cspi/spi_main.c (cspi_object_ref): kill bogus
1867 hash lookup, just increment the ref.
1868 (SPI_freeString): make explicit the fact that we
1869 handle NULL strings just fine.
1870 (report_leaked_ref): obey coding standards.
1871 (cspi_object_hash, cspi_object_equal): kill retval.
1872 (cspi_object_release): only release if not on loan.
1873 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
1874 (cspi_object_borrow, cspi_object_return): impl.
1876 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
1877 use cspi_object_borrow / return.
1879 2002-08-12 Darren Kenny <darren.kenny@sun.com>
1881 * cspi/bonobo/cspi-bonobo-listener.c:
1883 Don't call cspi_oject_new() because this is creating a new Accessible
1884 every single time that an event is fired. This causes ATs like at-poke
1885 to nolonger recognise the source of the event and thus ignore it.
1886 Re-use the object from the cache, ref it and then unref it after the
1887 listeners have been called.
1889 2002-08-06 Darren Kenny <darren.kenny@sun.com>
1891 * test/event-listener-test.c:
1892 Added command-line options to disable mouse events (m) and
1895 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
1897 * configure.in: Update required versions of ATK, GTK+ and GAIL
1899 * cspi-1.0.pc.in: Add dependency for X include files
1902 * cspi/bonobo/Makefile.am:
1903 Add $(X_CFLAGS) so that X include files
1904 are picked up even if not in standard place (bug #71686)
1906 2002-06-25 Bill Haneman <bill.haneman@sun.com>
1908 * registryd/deviceeventcontroller.c: fix for 84261
1909 (spi_dec_mouse_moved):
1910 Added test of mouse button mask, so that we can detect mouse
1911 button release. Unfortunately we can't otherwise detect mouse
1912 button release events without consuming the mouse press event,
1913 because of the way XGrabButton works. This means that our mouse
1914 release events have a latency dependent on the polling period
1915 while the mouse button is down. At least in this case we only
1916 have to poll while the button is down, and not at other times.
1917 If the button masks don't match with what the last press event
1918 reported, we report the appropriate button release event.
1919 (spi_dec_ungrab_mouse):
1920 New method (not yet called).
1921 (spi_device_event_controller_forward_mouse_event):
1922 New method, sends mouse press event from GdkFilter.
1923 (spi_dec_init_mouse_listener):
1924 Added code to call XGrabButton, redirecting mouse button events to
1925 the root window and our Gdk event loop.
1927 Added code to filter mouse button events, and reordered.
1929 * test/event-listener-test.c:
1931 Added registration for mouse events of type "mouse:button".
1933 2002-06-25 Bill Haneman <bill.haneman@sun.com>
1935 * registryd/deviceeventcontroller.c: partial fix for 84261
1936 (spi_dec_poll_mouse_idle):
1937 New method, a timeout which checks to see if the mouse
1939 (spi_dec_poll_mouse_moving):
1940 A timeout to be called when mouse motion is underway.
1941 (spi_dec_poll_mouse_moved):
1942 A method which fires an event if the mouse has moved, and reports
1943 whether or not it did so.
1944 (spi_dec_init_mouse_listener):
1945 A method which sets up the timeouts above.
1946 (spi_device_event_controller_new):
1947 Now calls spi_dec_init_mouse_listener.
1949 * registryd/registry.c:
1950 (spi_registry_init):
1951 Now we initialize the device event controller when the registry is
1952 initialized, instead of waiting until a client has requested a key
1953 event notification; this is because we need the event controller
1954 for mouse events, but the mouse event registration API is a
1955 "registry" call and doesn't explicitly call the
1956 deviceeventcontroller.
1957 We now report mouse motion events with a 100 ms idle latency and
1958 a 20 ms granularity when motion is in progress.
1960 * test/event-listener-test.c:
1962 We now register the "detail listener" for events of type
1963 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
1964 delivered only for the first mouse event received, and thereafter
1965 "mouse:abs" events are delivered.)
1967 * cspi/spi_registry.c:
1968 DOCS: Documented the above mouse event typestrings.
1970 2002-06-21 Bill Haneman <bill.haneman@sun.com>
1972 Happy Summer Solstice...
1974 * registryd/deviceeventcontroller.c: [fix for bug 84100]
1975 (spi_controller_notify_keylisteners):
1976 Changes to remove a listener from the listener list, freeing its
1977 open keygrabs, if a notification to that listener fails. This
1978 means that although a dead listener can continue to hold a passive
1979 keygrab, a maximum of one dispatch to such a listener can fail
1980 before the listener is removed from the list, thus the keygrab
1981 will be released on the next occurrence.
1982 As part of this fix:
1983 (spi_notify_keylisteners):
1984 Renamed to spi_controller_notify_keylisteners, as the controller
1985 instance must now be passed as an argument.
1986 The copied 'notify' GList is now a list of DEControllerKeyListener
1987 objects, since we need more than just the CORBA reference if a
1988 notify fails and we need to deregister the listener.
1989 (impl_notify_listeners_sync):
1990 (impl_notify_listeners_async):
1991 (spi_device_event_controller_forward_key_event):
1992 Modify use of notify_keylisteners in accordance with above
1994 (spi_deregister_controller_key_listener):
1995 New method introduced by refactoring, from
1996 impl_deregister_keystroke_listener.
1997 (impl_deregister_keystroke_listener):
1998 Call spi_deregister_controller_key_listener.
1999 (spi_key_listener_clone):
2000 New method to copy a key listner without doing a 'ref' on the
2001 remote object instance; used to create a notifier list.
2002 (spi_key_listener_data_free):
2003 New method, frees data without unreffing the source.
2005 (spi_key_listener_clone_free): new method.
2006 (spi_key_listener_free):
2007 refactored to call spi_key_listener_data_free.
2009 2002-06-20 Bill Haneman <bill.haneman@sun.com>
2011 * registryd/registry.c: [fix for bug 86048]
2012 (notify_listeners_cb):
2013 Clear CORBA system exceptions which occur when notifying
2014 listeners, before returning to the source of the original event,
2015 since the event source doesn't care if the relayed notify failed.
2016 In other words, don't complain to the atk-bridge if the registry
2017 could not notify all its listeners, that's no fault of the
2018 application and thus should not appear to be an error from the
2019 application's perspective.
2021 * cspi/spi_main.c: [fix for bug 85980]
2023 Replaced use of bonobo_object_dup_ref with call to the wrapper
2024 method, csou_dup_ref (); this silences a compiler warning and
2025 provided more portability.
2027 Ping the registry before return, and restart if necessary.
2029 * cspi/bonobo/cspi-bonobo.c:
2031 New internal method.
2033 Fixed this method to return an object reference, as it should have
2036 * cspi/cspi-lowlevel.h:
2037 Added internal definition for cspi_ping() and fixed
2038 return type of cspi_dup_ref().
2041 2002-06-19 Bill Haneman <bill.haneman@sun.com>
2043 * atk-bridge/bridge.c: [fix for bug 85305]
2044 (spi_atk_bridge_register_application):
2045 New method where the initial application registry calls have been
2046 moved; it allows an application to re-register in response to
2047 certain error conditions (such as a registry restart, see below).
2049 Moved some initialization code to the method
2050 spi_atk_bridge_get_registry, below.
2051 (spi_atk_bridge_get_registry):
2052 New, private accessor function for the Accessibility_Registry
2053 instance. If the registry has not been started before, or has
2054 died (as detected by failure of a CORBA exception), it is
2055 restarted before return, and spi_atk_bridge_register_application
2056 is called again to register with the new bridge instance.
2057 (spi_atk_emit_eventv):
2058 Set registry_died on error; use spi_atk_bridge_get_registry () to
2059 access the registry.
2061 * registryd/registry.c:
2062 (impl_accessibility_registry_register_global_event_listener):
2063 Set listener's event_type_quark to etype.minor instead of
2064 etype.major (fix for bug 84856).
2066 * test/event-listener-test.c:
2067 (report_detail_event):
2068 Change the output string so that user/tester can tell that the
2069 'detail listener' was called instead of the 'generic listener'.
2071 2002-06-18 Bill Haneman <bill.haneman@sun.com>
2073 Fixes for bugs 84900, 84908, 84897, 84898.
2078 Revved version to 1.1.0
2079 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
2080 version is going to HEAD which will be used for gnome-2-0-1 and later.)
2082 * idl/Accessibility_Registry.idl:
2083 (EventListener::notifyEvent):
2084 Removed 'oneway' directive after extensive consulation with
2085 ORBit2 team and others. This means also that unref() of the event
2086 source can and should be done synchronously after emission, rather
2087 than remotely in the client, after servicing the notify call on
2090 NOTE: This change speeds up listener performance considerably, but
2091 introduces new latency on the application side. We may want to
2092 add an event queue to the atk-bridge.
2094 * atk-bridge/bridge.c:
2095 (spi_atk_bridge_focus_tracker):
2096 Do a local unref() on the event source after emission.
2098 * registryd/registry.c:
2099 (desktop_remove_application):
2100 Do an unref() on the event source after emission.
2101 (desktop_add_application):
2102 Do an unref() on the event source after emission.
2103 (notify_listeners_cb):
2104 When relaying an event, don't automatically add the event source
2105 to the local object cache, just CORBA_dup it instead. Likewise,
2106 if this method reenters, release the ref rather than calling
2108 (impl_registry_notify_event):
2109 No longer call remote unref() on the event source after dispatch.
2111 * libspi/eventlistener.c:
2112 (impl_accessible_event_notify_event):
2113 Removed remote unref ()
2115 * cspi/bonobo/cspi-bonobo-listener.c:
2117 We now call cspi_object_new() instead of cspi_object_add() on
2118 receipt of an event; thus we only have an implicit object ref
2119 while the cspi_event method is being executed. If we need to keep
2120 a reference to the object, the listener must call ref() on the
2121 object. Thus also we don't need to call cspi_object_unref() after
2122 invoking the listener callbacks in this method.
2126 New internal API for creating a new cspi object, without adding it
2127 to the object cache.
2129 Now uses cspi_object_new() to create the cspi object instance.
2131 Now checks to see if the object is in the internal object cache,
2132 and adds it if necessary before incrementing its refcount (note
2133 that new objects are added with a refcount of 1).
2134 (report_leaked_ref):
2135 New method which gives some information on leaked object instances
2136 if leak detection is turned on.
2138 * test/event-listener-test.c:
2139 (timing_test_event):
2140 New method, used for testing event delivery timing for special
2141 events of type "object:test". It reports elapsed time and
2142 events/sec every 500 events.
2144 Added a new listener, 'test listener', to check timing of event
2145 receipt as noted above.
2147 Added some timing output here also, reports elapsed time every 100
2150 * test/stress-test.c:
2151 Emit events of type "object:test", for use with "event-listener-test".
2153 * test/test-simple.c:
2154 (global_listener_cb):
2155 Call Accessible_ref() on the event source before calling
2156 validate_accessible, since the validation process does pointer
2157 comparisons on the event source, meaning that the event source
2158 needs to be added to the local object cache first. Any use of
2159 such pointer comparisons between Accessible objects requires that
2160 the caller hold an explicit reference to those objects.
2161 We also must therefore call Accessible_unref() when leaving this method.
2163 2002-06-13 Bill Haneman <bill.haneman@sun.com>
2165 * registryd/deviceeventcontroller.c:
2166 (spi_controller_update_key_grabs):
2167 Fix for #84735, subsequent keygrab listeners not informed of
2168 registration failure.
2171 (spi_base_construct):
2172 Add an assertion on construct, to make sure the GObject passed in
2173 is really a GObject.
2175 Explicitly initialize object->gobj pointer to NULL;
2177 * cspi/bonobo/cspi-bonobo-listener.c:
2178 (cspi_object_add_ref):
2179 New method, can specify whether to dup-ref a bonobo object passed
2180 in if it's newly added to the object cache.
2182 Now calls cspi_object_add_ref with second param of "FALSE". This
2183 prevents us from doing a pointless dup-ref followed by
2184 release-unref for all those cases where the object is already in
2185 our object cache (fix for #85205).
2187 * atk-bridge/bridge.c:
2188 (spi_atk_bridge_idle_init):
2189 Removed this method, we don't need to initialize in an idle
2192 Changed to call spi_atk_register_event_listeners directly, not via an
2193 idle handler. (fix for #81139)
2194 (gnome_accessibility_module_shutdown):
2195 Removed conditional around deregistration of listeners, since we
2196 don't use the idle handler and thus have always registered when
2198 (spi_init_keystroke_from_atk_key_event):
2199 Changed references to Accessibility_KEY_PRESSED to
2200 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
2202 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2204 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
2209 * test/stress-test.c:
2212 (may have been an incomplete commit yesterday?)
2214 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2217 Added target for new stress-test.
2219 * test/stress-test.c:
2220 New test, sends 1000 focus notifies in quick succession.
2222 * test/key-listener-test.c:
2223 Now we report whether a keylistener registration
2224 request succeeded or failed.
2226 * test/event-listener-test.c:
2227 Uncommented some listeners which are now implemented.
2230 2002-06-06 Bill Haneman <bill.haneman@sun.com>
2232 * registryd/deviceeventcontroller.c:
2233 (spi_controller_update_key_grabs):
2234 Fix for #82509, lack of failure notification when
2235 ALL_WINDOWS keygrabs fail due to XGrabKey
2236 failure: we synchronize the server when
2237 registering a passive grab, to make sure we get the
2238 error message before the call returns.
2240 2002-06-03 Bill Haneman <bill.haneman@sun.com>
2242 * test/test-simple.c:
2244 Removed #ifdef KEY_IMPL_WORKS guards.
2245 (test_keylisteners):
2246 Removed #ifdef KEY_IMPL_WORKS guards.
2247 Fixed bug which was causing a hang waiting for a
2248 "press" event (which was already overwritten by a "release"
2249 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
2251 Added code to set globals 'key_press_received' and
2252 'key_release_received'.
2255 Added section "1.1 API Proposed Additions" which
2256 lists API additions desired for at-spi-1.1 (only one so far).
2257 Updated TODO list a little.
2259 2002-06-02 Bill Haneman <bill.haneman@sun.com>
2261 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
2264 * configure.in: Revved to 1.0.0.
2266 * idl/Accessibility_Registry.idl:
2267 (registerKeystrokeListener):
2268 Added boolean return value.
2270 * registryd/registry.c:
2271 (notify_listeners_cb): Minor fix to debug output.
2273 * registryd/Accessibility_Registry.server.in.in:
2274 Revved version number in OAFIID to 1.0.
2276 * registryd/registryd.c:
2278 Use new OAFIID version.
2280 * cspi/bonobo/cspi-bonobo.c:
2282 Use new OAFIID version.
2288 * atk-bridge/bridge.c:
2290 Use new OAFIID version.
2292 * registryd/deviceeventcontroller.c:
2293 (impl_register_keystroke_listener):
2294 Added CORBA_boolean return value.
2295 (spi_controller_register_device_listener):
2296 Added gboolean return value.
2297 (spi_controller_register_global_keygrabs):
2298 Added gboolean return value.
2299 (spi_key_set_contains_key):
2300 Added implementation for many more control keys,
2301 for instance F1-F12, arrow keys, End, Home, Page_Up,
2303 [TODO: some still not implemented].
2305 * text/screen-review-test.c:
2306 (text_chunk_pad_string):
2307 New function: it provides mapping between coordinate
2308 positions of text chunks and character positions in the
2309 screen-review-line output string.
2310 (text_chunk_to_string):
2311 New function, calls text_chunk_pad_string with various
2312 pad/delimiter characters. Pushbuttons are delimited with
2313 square brackets, Frames with vertical 'pipe' lines, and
2314 other text with double quotes.
2315 (text_chunk_list_to_string):
2316 Calls new function text_chunk_to_string.
2317 (toplevel_composite):
2318 New function to composite layers CANVAS through
2319 POPUP in each toplevel (other layers are composited
2320 across toplevels, i.e. BACKGROUND and OVERLAY).
2321 (review_buffer_composite):
2322 Revise to use new methods.
2328 2002-05-31 Laszlo Peter <laca@sun.com>
2330 * configure.in: add the Xtst libdir to the runpath on Solaris,
2331 since it's not in the default library search path.
2333 2002-05-29 jacob berkman <jacob@ximian.com>
2335 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
2337 2002-05-29 Bill Haneman <bill.haneman@sun.com>
2339 * test/screen-review-test.c:
2340 (text_chunk_pad_string):
2341 Added method, which pads the string according to the
2342 text bounds of the chunk. It also takes a 3-character
2343 string as a param which indicates the characters to be
2344 used for start, padding, and end delimitation of the chunk.
2345 (text_chunk_to_string):
2346 Changed to use text_chunk_pad_string.
2348 * configure.in: Fixed bug in AC_OUTPUT that was
2349 causing path substitution in Accessibility_Registry.server
2352 2002-05-23 Bill Haneman <bill.haneman@sun.com>
2354 * text/screen-review-test.c:
2355 (guess_string_clip):
2356 New method which attempts a best-guess at clipping
2357 text from components (like Java labels) which don't
2358 actually implement AccessibleText. This inaccurate
2359 clip is based on the assumption that the label is
2360 justified left-and-right, and monospaced.
2361 (text_chunk_get_clipped_string):
2362 We now call guess_string_clip() for text-containing
2363 components that don't implement AccessibleText.
2365 * test/screen-review-test.c:
2366 (review_buffer_get_text_chunk):
2367 We now pull "name" from labels if they do not implement
2368 AccessibleText (i.e. for Java labels).
2369 (get_screen_review_line_at):
2370 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
2373 Replaceded AC_OUTPUT target
2374 registryd/Accessibility_Registry.server with
2375 registryd/Accessibility_Registry.server.in.
2377 * registryd/Accessibility_Registry.server.in:
2378 Removed (this is now a Makefile target).
2380 * registryd/Accessibility_Registry.server.in.in:
2381 Added (source for target above). We now use $(libexecdir) as
2382 prefix for the executable at-spi-registryd.
2384 * registry/Makefile.am:
2385 Now install at-spi-registryd into $(libexecdir), and build .server
2386 file with path (see above).
2388 2002-05-22 Bill Haneman <bill.haneman@sun.com>
2390 * test/screen-review-test.c:
2391 (text_chunk_get_clipped_string):
2392 We now check to see if words fall within clip bounds
2393 before resorting to character-by-character clip bounds testing.
2395 * TODO: Added a section for "2.2 Proposed API Additions".
2397 2002-05-21 Bill Haneman <bill.haneman@sun.com>
2399 * test/screen-review-test.c:
2401 Added a screen review benchmarking and test program to test
2404 * cspi/spi_accessible.c:
2406 Made some of the debug strings passed to cspi_check_ev a
2407 little more specific.
2409 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
2411 * test/screen-review-test.c: Fix crashes in debug statements
2413 2002-05-20 Bill Haneman <bill.haneman@sun.com>
2415 * test/screen-review-test.c: Added this file.
2417 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2419 * atk-bridge/bridge.c: changed "object:state-change" to
2420 "object:state-changed" to match docs.
2422 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2424 * atk-bridge/bridge.c: Hooked up state-change event details.
2426 2002-05-11 Bill Haneman <bill.haneman@sun.com>
2428 * registryd/registry.c:
2429 Fixed quarking bug in event string parsing; now events with
2430 detail parameters get matched correctly to listeners.
2433 * util/idl/Magnifier.idl: remove.
2435 * util/*.[ch]: Remove.
2436 Magnification utilities and IDL are now in module gnome-mag.
2438 2002-05-10 Bill Haneman <bill.haneman@sun.com>
2440 * registryd/deviceeventcontroller.c:
2441 Fixed bug in grab key conversion which was causing keycode grabs
2442 to be converted to AnyKey grabs.
2445 updated NEWS file to reflect recent spin-off of gnome-mag.
2447 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
2449 * cspi/spi_accessible.c: Added exception checks. Fixed completely
2450 busted AccessibleStateSet_compare. Removed redundant casts.
2452 * cspi/spi-action.c: Removed redundant casts.
2454 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
2456 * cspi/spi_component.c: Fixed typos and casting error.
2458 * cspi/spi_editabletext.c: Removed redundant casts.
2460 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
2462 * cspi/spi_hypertext.c: Eliminated redundant casts.
2464 * cspi/spi_image.c: Eliminated redundant casts.
2466 * cspi/spi_registry.c: Eliminated redundant casts.
2467 SPI_deregisterGlobalEventListenerAll () removed retval variable.
2468 * cspi/spi_selection.c: Removed redundant casts.
2469 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
2470 handling. Screen geometry and text offsets were being returned as 0
2471 on error which is technically valid-- changed these to return -1.
2472 Added marshaller for text boundary types to fix bug with boundary
2473 types being passed incorrectly to atk.
2475 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2478 * cspi/spi_registry.c:
2479 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
2480 which was uncovered by the recent key changes.
2482 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2484 * test/event-listener-test.c:
2486 Added new test, "event-listener-test";
2487 this code does two things; it benchmarks traversal time
2488 for the accessible hierarchy for the first running accessible
2489 app, and it connects listeners for all supported event types.
2490 It is thus useful as an example event listener and for
2491 diagnostics/debugging of event generation.
2493 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2496 Removed unnecessary dependency on libutil.
2499 Revved micro version: 0.13.1
2501 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2504 Removed util/Makefile from targets.
2507 Removed util subdir from SUBDIRS (temporarily,
2508 pending removal of magnifier-only code
2512 #ifdef-ed out magnifier dependencies, since
2513 magnifier IDL, headers, and binary now live in
2514 module gnome-mag and we don't want at-spi to depend
2515 on gnome-mag. A magnifier demo which can run alongside
2516 simple-at is forthcoming in the gnome-mag module.
2518 NOTE: Split magnifier binary, IDL, and magnification
2519 activation code from at-spi into module gnome-mag.
2521 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
2523 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
2524 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
2526 2002-05-03 Bill Haneman <bill.haneman@sun.com>
2529 Revved to version 0.13.0
2531 * idl/Accessibility_Registry.idl:
2532 Changed definition of KeySet from sequence of longs to sequence of
2533 KeyDefinitions, and added KeyDefinition struct.
2534 Required for fix to bug 80616.
2536 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
2537 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
2538 to use new definition (see above).
2540 * registryd/deviceeventcontroller.c: handle_keygrab(),
2541 spi_keyset_contains_key():
2542 Changed to make use of new struct; this allows matching based on
2543 string key-name, for instance "Tab". This also allows matching of
2544 composed characters, non-alphanumeric characters in a way that
2545 doesn't involve dependencies on X keysym codes directly, etc.
2547 * test/key-listener-test.c:
2548 Added test for Alt-Tab key using "string" specification of keyset,
2549 and modified one of the tests to use a keycode-based keyset.
2550 Thus this test both tests and demonstrates the creation and use of
2551 keysets of three forms: specified via keycode array,
2552 keysym array, and string array. (The string case only contains a
2553 single string, i.e. a string array of length 1).
2556 Turned on PRINT_TREE option by default. Also fixed a
2557 string-freeing bug in the PRINT_TREE code.
2558 Added a listener to window:minimize events.
2560 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
2562 * atk-bridge/bridge.c:
2563 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
2564 for window:activate and window:deactiveate
2565 (atk_bridge_property_event_listener atk_bridge_signal_listener
2566 atk_bridge_window_event_listener) Tidy debug code
2568 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
2570 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
2571 Fixed handling for NULL return value from ATK.
2573 * libspi/action.c libspi/component.c libspi/editabletext.
2574 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
2575 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
2576 Removed redundant casts.
2578 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
2579 Fixed off by one bug.
2581 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
2582 function not present in idl)
2584 2002-05-02 jacob berkman <jacob@ximian.com>
2586 * atk-bridge/Makefile.am: make atk-bridge a real module
2588 2002-04-26 Radek Doulik <rodo@ximian.com>
2590 * libspi/stateset.c (spi_init_state_type_tables): fix size of
2591 atk_state_types table
2593 2002-04-22 jacob berkman <jacob@ximian.com>
2596 * libspi/Makefile.am: add deps on the built files to help
2597 automake, and don't version the ORBit typelib
2599 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
2601 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
2602 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
2603 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
2604 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
2605 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
2606 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
2607 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
2608 libspi/accessible.h libspi/accessible.h libspi/base.h
2609 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
2610 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
2611 libspi/relation.h libspi/remoteobject.h libspi/selection.h
2612 libspi/spi-private.h libspi/statetset.h libspi/table.h
2613 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
2614 util/mag_client.h util/mag_control.c util/mag_image.c
2615 util/mag_image.h util/magnifier.c util/magnifier.h:
2616 Add missing file headers; standardize existing ones
2618 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
2620 * atk-bridge/bridge.c: Added window event support.
2622 2002-04-18 Michael Meeks <michael@ximian.com>
2624 * libspi/relation.c (impl_getNTargets): impl.
2625 (impl_getTarget): impl.
2627 * libspi/Makefile.am: fix stateset install.
2629 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2632 Started putting useful info in this file.
2634 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
2636 * atk-bridge/bridge.c:
2637 Propagate state-changed notifications to ATs
2639 * cspi/spi_registry.c: update docs to reflect actual behavior of
2640 state-change events.
2642 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2645 Incremented version to 0.12.1
2647 * util/mag_client.h:
2648 Add missing declaration for magnifier_exit,
2649 used by mag_control.c - Forte compiler didn't like
2650 the implicit redeclaration of the function :-(
2653 2002-04-16 Bill Haneman <bill.haneman@sun.com>
2656 Revved version to 0.12 due to API change (see below).
2658 * cspi/spi-roletypes.h:
2659 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
2660 definition from the inline docs, and added docs
2661 for SPI_ROLE_LAST_DEFINED.
2664 * cspi/spi_streamablecontent.c:
2665 Added missing seek_type parameter to
2666 (so far unused) method,
2667 AccessibleStreamableContent_seek().
2668 [ RT approval JodyG. ]
2671 Fixed docs for SPI_createAccessibleKeystrokeListener.
2673 * cspi/spi_registry.c:
2674 Fixed docs for SPI_KEYSET_ALL_KEYS.
2676 * docs/reference/cspi/at-spi-cspi-sections.txt:
2677 Added a number of missing APIs to SECTIONS.
2679 2002-04-16 Bill Haneman <bill.haneman@sun.com>
2681 * registryd/Makefile.am:
2683 * cspi/bonobo/Makefile.am:
2684 Add $(X_LIBS) to makefiles.
2686 2002-04-15 Bill Haneman <bill.haneman@sun.com>
2689 Revved version to 0.11.
2691 * libspi/component.c:
2692 Added implementation for grabFocus.
2694 * idl/Accessibility_Component.idl
2695 (Accessibility_Component_grabFocus):
2696 Made this method return boolean to indicate success or failure, to
2697 be consistent with cspi and the corresponding ATK method.
2699 * idl/Accessibility_Selection.idl
2700 (Accessibility_Selection_selectAll) :
2701 Made these methods return boolean to indicate success or
2702 failure, to be consistent with cspi and the corresponding ATK methods.
2704 * idl/Accessibility_EditableText.idl
2705 (Accessibility_EditableText_setTextContents,
2706 Accessibility_EditableText_insertText,
2707 Accessibility_EditableText_cutText,
2708 Accessibility_EditableText_deleteText,
2709 Accessibility_EditableText_pasteText):
2710 Made these methods return boolean to indicate
2713 * cspi/spi_editabletext.c:
2714 Made these methods return booleans.
2716 * libspi/selection.c:
2717 * libspi/component.c:
2718 * libspi/editabletext.c:
2719 Connected the boolean returns from ATK
2720 to the server-side code referenced above.
2722 2002-04-14 Bill Haneman <bill.haneman@sun.com>
2724 * idl/Accessibility_Table.idl: Added missing methods,
2725 Accessibility_Table_addRowSelection,
2726 Accessibility_Table_addColumnSelection,
2727 Accessibility_Table_removeRowSelection,
2728 Accessibility_Table_removeColumnSelection.
2731 Added C wrappers for above IDL:
2732 AccessibleTable_addRowSelection,
2733 AccessibleTable_addColumnSelection,
2734 AccessibleTable_removeRowSelection,
2735 AccessibleTable_removeColumnSelection.
2738 Added server-side implementation code for IDL above, connecting
2739 to pre-existing ATK api.
2741 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
2743 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
2745 * libspi/accessible.c: Added implementation fo
2746 Accessibility_Accessible_get_state.
2748 * libspi/libspi.h: Added stateset.h to the list of includes.
2750 * libspi/stateset.c: Fixed broken implementation.
2752 2002-04-13 Bill Haneman <bill.haneman@sun.com>
2755 Added implementation code for Accessibility_Magnifier_exit ().
2757 * util/mag_control.c:
2758 Added test code for above method; you can
2759 now kill an existing magnifier via
2760 ./mag_control q, from the util directory.
2762 * test/key-listener-test.c:
2764 Added a new test, for our key listener API.
2766 2002-04-11 Bill Haneman <bill.haneman@sun.com>
2768 * test/app.c, test/keysynth-demo.c:
2770 Replace use of snprintf with g_snprintf.
2771 (fix for bugzilla 78249)
2773 2002-03-27 Michael Meeks <michael@ximian.com>
2777 * util/Makefile.am (INCLUDES): fix.
2778 (DONT_DIST_SOURCE): don't distribute the
2781 * libspi/Makefile.am (dist-hook): ditto.
2783 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
2785 * libspi/hypertext.c:
2786 Fix warnings when yelp is used with atk-bridge
2788 2002-03-21 Michael Meeks <michael@ximian.com>
2790 * libspi/application.c (spi_application_new):
2791 use spi_accessible_construct so we use the AtkObject
2794 2002-03-19 Michael Meeks <michael@ximian.com>
2796 * registryd/registry.c (desktop_remove_application),
2797 (desktop_add_application): clean coding style.
2799 * registryd/desktop.c (spi_desktop_remove_application),
2800 (spi_desktop_add_application): kill re-enterency hazards.
2801 (spi_desktop_dispose): remove bogus redundant cast
2802 obscuring bug; fix bug too.
2803 (spi_desktop_init): make the desktop object immortal.
2805 2002-03-16 Bill Haneman <bill.haneman@sun.com>
2808 Added a #define-guarded tree-traversal step
2809 when enumerating the apps (diagnostic tool).
2811 2002-03-15 Bill Haneman <bill.haneman@sun.com>
2813 * idl/Accessibility_Role.idl:
2814 Added ROLE_DRAWING_AREA which seemed to be missing from the
2817 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2819 * cspi/spi-roletypes.h cspi/spi_accessible.c
2820 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
2823 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
2824 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
2825 AT when applications are added and removed from the desktop. This
2826 reverts the previous broken implementation using the backing
2827 AtkObject for the SpiDesktop.
2829 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2831 * registryd/desktop.c: emit the "children-changed::add" and
2832 "children-changed::remove" signals on the backing ATK object for
2833 the desktop so AT can tell when applications are started and shut
2836 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2838 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
2840 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2842 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
2844 * cspi/spi_accessible.c: Implemented c bindings for stateset support
2846 * cspi/state-types.h: synched with IDL and ATK
2848 2002-03-13 Bill Haneman <bill.haneman@sun.com>
2850 * libspi/accessible.c
2851 (impl_accessibility_accessible_get_child_at_index):
2852 Change return value for g_return_if_fail ()
2853 to CORBA_OBJECT_NIL instead of "0" (!)
2855 * registryd/Makefile.am:
2856 * registryd/Accessibility_Register.server.in:
2857 Changed name of executable, "registryd",
2858 to something more informative:
2861 2002-03-13 Michael Meeks <michael@ximian.com>
2863 * atk-bridge/bridge.c (atk_bridge_init): don't register
2864 if we're in a bonobo-component, rather than a bonobo app.
2866 2002-03-13 Michael Meeks <michael@ximian.com>
2868 * atk-bridge/bridge.c (gtk_module_init): split
2869 out body to (atk_bridge_init): here, since otherwise
2870 we get symbol conflicts and oddness when invoked
2871 from (gnome_accessibility_module_init): here (upd.)
2873 2002-03-11 Bill Haneman <bill.haneman@sun.com>
2876 New file. Explicitly allow "build sheriff" putbacks provided
2877 they are tested on Solaris.
2879 * docs/reference/cspi/Makefile.am:
2880 Added '-' to the "cp" command for index.sgml.
2881 ("patch by thomasvs, soon coming to a GUADEC near you")
2884 Incremented version number (0.9.0) for new release.
2885 Changed macro that checks for popt, to better detect
2886 obsolete versions of popt.
2889 Added X_LIBS to AC_SUBST, for applications
2890 that call Xlib API directly.
2893 2002-03-07 Bill Haneman <bill.haneman@sun.com>
2896 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
2899 Fix regression caused by hard-coding major
2900 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
2903 * test/test-simple.c (test_editable_text),
2904 (test_test): revert previous change (error was
2905 a regression in gail which is now fixed).
2907 2002-03-04 Michael Meeks <michael@ximian.com>
2909 * test/test-simple.c (test_editable_text),
2910 (test_text): pass G_MAXINT instead of '-1' for
2911 whole string - is this a good thing !?
2913 * cspi/spi_accessible.c
2914 (Accessible_getRelationSet): fix crasher bug
2915 overwriting the end of the array.
2917 * test/test-simple.c (validate_accessible): free,
2918 not g_free returned relation set.
2920 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
2922 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
2923 implemented stateset support
2925 * idl/Accessibility_State.idl: Made necessary changes to
2926 the IDL to support state sets.
2928 2002-02-12 Bill Haneman <bill.haneman@sun.com>
2930 * registryd/deviceeventcontroller.c:
2931 Added implementation for generateMouseEvent.
2933 * cspi/spi_registry.c:
2934 Connected new implementation for generateMouseEvent
2937 2002-02-12 Bill Haneman <bill.haneman@sun.com>
2940 Incremented revision (but no change in public API
2941 outside of 'utils', which are not installed public yet.)
2943 * libspi/component.c:
2944 Changed to use atk_component API for layers and
2945 mdi_zorder, instead of deprecated atk_object API.
2947 Magnification Utility Enhancements:
2950 Added implementation of createZoomRegion, clearAllZoomRegions,
2951 resizeZoomRegion. Added new commandline argument
2952 "--no-initial-region". Note that clearAllZoomRegions doesn't
2953 unmap the old '0' region as it should (yet), and the other
2954 methods only work when creating/resizing a single region,
2955 which is "region 0".
2956 (Code for multiple region support will be added later.)
2959 Now we raise the magnifier window each time it's refreshed;
2960 this will help keep it on top.
2962 * util/mag_client.h:
2963 Added simple wrappers for above, used by mag_control.
2964 For general use, it's recommended to use the bonobo magnifier
2965 control API directly instead of using these wrappers.
2968 Moved ZoomRegionData from magnifier.c to this file.
2970 * util/mag_control.c:
2971 Added some code to exercise new IDL implementations.
2973 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
2975 * libspi/text.c: Provide implementation for getAttributes.
2977 2002-02-04 Bill Haneman <bill.haneman@sun.com>
2980 Incremented revision.
2982 * test/test-simple.c:
2983 Replaced use of deprecated g_main_iteration with
2984 g_main_context_iteration.
2986 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
2989 Incremented revision for desktop alpha 2.
2991 2002-01-28 Mark McLoughlin <mark@skynet.ie>
2993 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
2996 * test/simple-at.c: include netinet/in.h.
2998 2002-01-24 Mark McLoughlin <mark@skynet.ie>
3000 * cspi/spi_accessible.c: (Accessible_getRelationSet):
3001 use NULL, not CORBA_OBJECT_NIL.
3003 * libspi/accessible.c:
3004 (impl_accessibility_accessible_get_relation_set):
3005 allocate the sequence correctly.
3007 * libspi/remoteobject.h: kill spi_remote_object_new.
3009 * test/test-simple.c: (validate_accessible): add code
3010 to test relation sets, now all we need is to figure
3011 out how to excercise this code path :/
3013 2002-01-18 Michael Meeks <michael@ximian.com>
3015 * test/test-simple.c
3016 (key_listener_cb): consume the key.
3017 (test_keylisteners): update.
3018 (main): wait for any pending unrefs on events.
3020 * registryd/deviceeventcontroller.c
3021 (spi_controller_update_key_grabs): only re-issue the
3022 grab on a key release.
3023 (spi_device_event_controller_forward_key_event):
3024 refresh the keygrabs before we notify the listeners,
3025 to reduce the X ungrab / re-grab race.
3026 (spi_controller_register_with_devices): remove
3027 XSelectInput - we do that with the gdk_window_ call.
3028 (_spi_controller_device_error_handler): return a value.
3029 s/GDK_DISPLAY/spi_get_display/
3031 2002-01-17 Michael Meeks <michael@ximian.com>
3033 * registryd/deviceeventcontroller.c
3034 (_deregister_keygrab): don't blow out the later
3037 * test/test-simple.c (test_keylisteners): do a
3038 more intelligent validation.
3040 2002-01-14 Michael Meeks <michael@ximian.com>
3042 * atk-bridge/bridge.c
3043 (gnome_accessibility_module_init),
3044 (gnome_accessibility_module_shutdown): impl.
3045 (gtk_module_init): protect vs. double inits.
3046 (add_signal_listener): impl.
3047 (spi_atk_bridge_state_event_listener): kill
3048 (deregister_application): split out of
3049 (spi_atk_bridge_exit_func): here.
3051 2002-01-18 Bill Haneman <bill.haneman@sun.com>
3054 Added caret tracking when using magnifier, and
3055 now use text bounds for focus tracking of text elements, rather than
3056 the component bounds - this is helpful for short text fields in long
3057 table cells, at high magnification.
3059 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3061 * registryd/deviceeventcontroller.c:
3062 Regression fix for keylistener de-registration; global keygrabs
3063 were not being released when deregisterKeystrokeListener was
3064 called in cspi, since
3065 Accessibility_DeviceEventController_deregisterKeystrokeListener
3066 was called with a zero-length keyset. That is because the cspi
3067 method, SPI_deregisterKeystrokeListener, does not take a keyset
3068 parameter but instead should remove all the key grabs held be a
3070 The code in impl_deregister_keystroke_listener was changed to copy
3071 the keylist from the listener instance previously registered with
3072 the DeviceEventController before releasing the grabs.
3074 * registryd/registry.c:
3075 * registryd/deviceeventcontroller.c:
3076 * libspi/spi-private.h:
3078 Changed spelling of "re-enterant" to "re-entrant" globally.
3080 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3082 * test/test-simple.c:
3083 Changed key listeners test - the test was slightly mis-using the
3084 (admittedly poorly documented) SPI_generateKeyboardEvent API.
3085 It now uses '=' as the key event listened to and generated,
3086 relying on a keysym match rather than assuming that keycode 33
3087 is always equal to keysym '!'.
3089 2002-01-15 Bill Haneman <bill.haneman@sun.com>
3092 Changed simple-at to use a specific keyset, rather than
3093 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
3094 manager, desktop, etc.
3096 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3098 * registryd/deviceeventcontroller.c:
3099 Replaced standard X error handler with a special handler that
3100 is non-fatal for failed keygrabs. This works around
3101 problems with keygrab clashes sometimes observed on
3103 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
3104 mouse handling code as yet).
3106 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3109 Incremented revision for desktop alpha release.
3112 Fixed a couple of the more glaring errors (still not
3115 2002-01-11 Michael Meeks <michael@ximian.com>
3117 * registryd/deviceeventcontroller.c
3118 (spi_device_event_controller_forward_key_event): kill
3119 XUngrabKey / XKeyGrab race.
3120 (spi_controller_grab_keyboard): rename to
3121 (spi_controller_update_key_grabs): this, and deal
3122 with incremental adding / removing grabs more
3124 (_register_keygrab): ensure we're not pending a remove.
3125 (spi_grab_mask_free): impl.
3126 (spi_controller_register_global_keygrabs): split out
3128 (handle_keygrab): impl.
3129 (_deregister_keygrab): impl.
3130 (spi_controller_deregister_global_keygrabs): impl.
3131 (spi_controller_update_key_grabs): re-issue the grab if
3132 we just recieved a notification.
3134 * test/test-simple.c (key_listener_cb): remove debug.
3136 * registryd/deviceeventcontroller.c
3137 (spi_controller_register_device_listener): after
3138 registering a global keygrab, actualy register it !
3139 don't wait for a timeout; doh !
3141 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
3142 to make it more readable / manipulable.
3143 s/grabmask/grab_mask/ s/refcount/ref_count/
3144 s/keyval/key_val/ s/modmask/mod_mask
3146 2002-01-08 Michael Meeks <michael@ximian.com>
3148 * registryd/deviceeventcontroller.c
3149 (spi_controller_register_with_devices): use gdk calls to
3151 (global_filter_fn): implement the filter.
3152 (spi_device_event_controller_check_key_event): rename to
3153 (spi_device_event_controller_forward_key_event): this & upd.
3154 (spi_get_display): replace with GDK_DISPLAY.
3156 * registryd/deviceeventcontroller.c
3157 (spi_controller_deregister_device_listener): unroll into
3158 (impl_deregister_keystroke_listener): here to simplify.
3159 (spi_controller_register_global_keygrabs): split cut and
3160 paste (!) out into (_register_keygrab): here, shorter & sweeter.
3161 (spi_controller_deregister_device_listener): remove.
3162 (impl_register_mouse_listener): remove, no mouse listener
3163 support in at-spi-1.0
3165 * registryd/registry.c
3166 (_device_event_controller_hook): kill.
3167 (spi_registry_init): upd.
3169 * registryd/deviceeventcontroller.c
3170 (spi_device_event_controller_class_init): upd.
3171 (spi_check_key_event): merge into.
3172 (spi_device_event_controller_check_key_event):
3173 here and kill strange static ev init, don't leak
3174 the x_event - nor dynamicaly allocate it.
3176 * registryd/registry-main.c (main): re-direct
3177 timeout to remove strange vtable mess.
3179 * registryd/deviceeventcontroller.c
3180 (remove_listener_cb): impl.
3181 (spi_controller_deregister_device_listener):
3182 fix re-enterancy hazard.
3184 2002-01-07 Michael Meeks <michael@ximian.com>
3186 * registryd/deviceeventcontroller.c
3187 (spi_device_event_controller_new): upd.
3188 (impl_notify_listeners_sync): upd. debug.
3189 (spi_notify_keylisteners): fix re-enterancy hazards,
3190 prettify, remove O(n*n) iteration.
3191 (spi_controller_grab_keyboard): fix iteration.
3192 (spi_check_key_event): re-format to suit coding style.
3193 Clean all the warnings - we're warning free.
3195 * registryd/deviceeventcontroller.h:
3196 * registryd/registry.h: make mutualy referential with
3197 typesafe forward references instead of (!) void pointer
3200 2002-01-11 Michael Meeks <michael@ximian.com>
3202 * cspi/spi_accessible.c (role_names): add a role name
3203 to sync this array with the enum; and make the regression
3206 2002-01-10 Michael Meeks <michael@ximian.com>
3208 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
3209 allow expansion of enumeration & kill warning.
3211 * test/test-simple.c (key_listener_cb): impl.
3212 (test_keylisteners): impl.
3214 * cspi/spi-listener.h: make listener signatures const
3215 on the provided (const) events.
3217 * test/keysynth-demo.c: upd. to const events.
3219 * test/simple-at.c: ditto.
3221 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3224 Rev the version to 0.5 (the previous tarball was named 0.4,
3225 even though the micro number was 3), so we need to rev upwards
3226 again for beta2/"desktop-alpha"
3229 Checked in a demo script, which requires editing before use!
3230 Proceed with caution.
3233 Fixed typo in header which was redefining SPI_ACTION_CLASS.
3235 * cspi/spi_accessible.c:
3236 Add a couple of missing enum initializations, and fix some enum
3239 * cspi/spi_registry.c:
3240 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
3242 * docs/reference/cspi/at-spi-cspi-sections.txt:
3243 Remove/fix a couple of broken document references.
3246 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
3247 as Alt-Control to listen for commands, since on some systems
3248 Control-Alt may already be grabbed.
3250 2002-01-10 Bill Haneman <bill.haneman@sun.com>
3253 Update version number to 0.4 for Beta2.
3255 * libspi/accessible.c, libspi/accessible.h:
3256 Expose spi_accessible_construct, to enable libgail-gnome
3257 construction from spi_accessible subtype.
3259 * utils/magnifier.c:
3260 Workaround for bug in some non-gnome-compliant window managers
3261 which made magnifier resize improperly.
3263 2002-01-09 Bill Haneman <bill.haneman@sun.com>
3265 * libspi/accessible.c: (spi_accessible_new) :
3266 Move the test for SPI_IS_REMOTE_OBJECT to
3267 spi_accessible_new_return, fixing a bug and compile time warning.
3269 2002-01-08 Michael Meeks <michael@ximian.com>
3271 * registryd/registry.c (parse_event_type): remove strndup.
3273 * libspi/Makefile.am (libspi_la_SOURCES): remove
3274 sources already included in the headers section.
3276 * libspi/util.c: add.
3278 * libspi/spi-private.h: add.
3280 * registryd/registry.c: update to moved list iterators.
3282 2002-01-05 Michael Meeks <michael@ximian.com>
3284 * test/simple-at.c (main): upd. auto-module set to atk-bridge
3286 * test/test-simple.c (main): ditto.
3288 2002-01-04 Michael Meeks <michael@ximian.com>
3290 * libspi/accessible.c (spi_accessible_new): remove 2nd,
3291 redundant construct.
3293 * registryd/registry.c
3294 (get_listener_list): impl.
3295 (impl_accessibility_registry_register_global_event_listener):
3296 re-impl. to simplify using ~, remove dodgy const cast off.
3297 (parse_event_type): constify.
3298 (impl_accessibility_registry_deregister_global_event_listener_all):
3299 re-write, more efficiency and simplicity, kill re-enterancy
3301 (compare_listener_corbaref, compare_corba_objects),
3302 (compare_listener_quarks): define out.
3303 (impl_accessibility_registry_deregister_global_event_listener):
3304 re-write for effiency, and nail re-enterancy hazard.
3305 (impl_accessibility_registry_get_desktop_list): impl.
3306 (re_enterant_list_delete_link): impl.
3307 (re_enterant_list_foreach): impl.
3308 (remove_listener_cb): impl.
3309 (_registry_notify_listeners): kill.
3310 (notify_listeners_cb): impl.
3312 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
3313 (SPI_getDesktopList): impl.
3315 * test/test-simple.c (test_desktop): test the methods.
3317 2002-01-03 Michael Meeks <michael@ximian.com>
3319 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
3320 keystrings since we free them
3321 (SPI_freeAccessibleKeySet): in here.
3323 * libspi/accessible.c (spi_accessible_new): kill warning,
3324 wonder what is going on with the constructor here.
3326 2002-03-01 Bill Haneman <bill.haneman@sun.com>
3328 * libspi/accessible.c (spi_accessible_new ()) :
3329 Added check to see if AtkObject is an SpiRemoteObject before
3330 creating an SpiAccessible.
3332 2002-05-01 Bill Haneman <bill.haneman@sun.com>
3334 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
3335 Enable keygrabs using the Control modifier, now that they are
3336 working properly (they were previously disabled).
3339 Change the command keygrab for this demo to "Control+Alt", so as
3340 to conflict with fewer other key commands on the system; this
3341 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
3343 Removed a pointlessly-chatty keylistener for unshifted keys
3344 (shifted keys are still reported).
3346 2002-02-01 Bill Haneman <bill.haneman@sun.com>
3348 * libspi/remoteobject.h:
3349 * libspi/remoteobject.c:
3350 Added definitions for special AtkObject subtype, required for
3351 support of remote components (specifically, used by BonoboControl
3352 accessibility implementation).
3354 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
3356 * cspi/spi.h: synched relation types with ATK
3358 * cspi/spi_accessible.c: Added implementations of
3359 AcccessibleRelation_* methods
3361 * idl/Accessibility_Relation.idl: added getRelationTypeName
3362 method. Synched known relation types with ATK. Allowed for
3363 relation type extension with the RELATION_EXTENDED type.
3365 * libspi/relation.c: Provided implementations for
3366 AccessibleRelation methods.
3368 2002-01-01 Bill Haneman <bill.haneman@sun.com>
3370 API tweaks for today's API 'freeze'.
3373 Added placeholder functions to allow future compatible expansion
3374 of the IDL interfaces.
3376 * idl/Accessibility_Registry.idl:
3377 Changed generateKeyEvent to generateKeyboardEvent. Changed
3378 signature of this method to accept an optional keystring in
3379 parameter (for complex text input synthesis) and changed use of
3380 simple 'boolean' parameter in registerKeystrokeListener to a
3381 struct, EventListenerMode.
3383 * cspi/spi_accessible.c:
3385 * cspi/spi_streamablecontent.c:
3386 Added references to AccessibleStreamableContent interface, and
3387 definition and implementation of AccessibleStreamableContent
3390 * cspi/spi_registry.c:
3392 Changed generateKeyEvent API to generateKeyboardEvent,
3393 taking a new (optional) keystring parameter to support complex
3398 Renamed directory (to better reflect its actual purpose, bridging
3399 from at-spi to ATK). The .so module is also now named
3402 * idl/Accessibility_Hypertext.idl:
3403 * libspi/accessible.c:
3404 * libspi/hypertext.h:
3405 * libspi/hypertext.c:
3406 Changed Accessibility_Hypertext to *not* derive from
3409 * cspi/spi_registry.c:
3410 Added list of legal event type names for 'window' events, which
3411 completes the registry event API.
3413 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
3415 * at-bridge/bridge.c: Added registration for separate
3416 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
3417 signals. If either of the first two parameters to the generic
3418 bridge signal handler are ints, they are passed on as event
3419 details. This allows an AT to determine what text was inserted.
3421 2001-12-21 Bill Haneman <bill.haneman@sun.com>
3423 * registryd/deviceeventcontroller.c:
3424 Fixed regressions in generateKeyEvent caused by the removal of
3425 gdk_init from registryd; we now use pure X calls to connect to the
3426 display, which makes sense because deviceeventcontroller already
3427 uses a fair bit of X API (should eventually be migrated to a
3428 'portability layer').
3430 * registryd/desktop.c:
3431 Fixed minor regression in spi_desktop_init, changed the way the
3432 desktop name is being set to work with new spi_base API
3433 (gobject-based, rather than AtkObject-based).
3435 * registryd/Makefile.am:
3436 Minor revision of makefile to use XTST_LIBS variable rather than
3437 hard-wiring the Xtst LD_ADD element.
3439 * test/keysynth-demo.c:
3440 Tweaked an output message; added initialization of the
3441 'keystrings' member of the "switch listener" key_set.
3443 * libspi/relation.c:
3444 Squashed compile-time warning.
3446 * libspi/accessible.c:
3447 Cosmetic and formatting fixes, renamed a static method.
3449 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
3451 * libspi/accessible.c
3453 * libspi/application.c
3456 * libspi/component.c
3457 * libspi/editabletext.c
3458 * libspi/hyperlink.c
3459 * libspi/hypertext.c
3461 * libspi/selection.c
3465 * registryd/desktop.c:
3466 Changed SpiBase to contain a GObject pointer rather than an AtkObject
3468 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3470 * idl/Accessibility_Registry.idl:
3471 Added boolean member 'is_text' to DeviceEvent. This is for the
3472 use of key events, and helps prevent ambiguity between composed
3473 key strings and keysym names, since both may potentially be
3474 returned in the 'event_string' member.
3476 * at-bridge/bridge.c:
3477 * registryd/deviceeventcontroller.c:
3478 Use the 'is_text' member when notifying device event listeners.
3479 Knon issue: composed characters are not dealt with correctly by
3480 the global key listener implementation yet.
3482 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3484 * at-bridge/bridge.c:
3485 Namespaced local static methods to spi_atk_bridge_* where
3486 previously named bridge_*, and spi_* elsewhere.
3488 * at-bridge/bridge.c:
3489 * cspi/bonobo/cspi-bonobo-listener.c:
3490 Added demarshalling/conversion for string member of
3491 Accessibility_DeviceEvent to AccessibleKeystroke.
3493 * registryd/deviceeventcontroller.c:
3494 Added code to fill the Accessibility_DeviceEvent key string value
3495 member for global key events (i.e. from XGrabKey), to match
3496 behavior of Accessibility_DeviceEvent from the toolkit key events
3497 from the bridge. Fixed timestamp in global key event notifications.
3500 Added printout of key event's string value to
3501 report_ordinary_key_event, for demo/debugging purposes.
3503 2001-12-15 Bill Haneman <bill.haneman@sun.com>
3505 * idl/Accessibility_Registry.idl:
3506 Removed Accessibility_KeyStroke structure in favor of generic
3507 Accessibility_DeviceEvent structure.
3508 Changed Accessibility_ControllerEventMask from a struct to an
3511 * at-bridge/bridge.c:
3512 Changed APIs to use DeviceEvent structure as above, and removed
3513 bogus casting between these event structures.
3515 * cspi/spi-listener.h:
3516 Added keystring member of AccessibleKeystroke structure, to enable
3517 matching on event "names" rather than only hardware codes and
3521 Added keystrings member of AccessibleKeySet struct, to allow
3522 matching on event names (as above).
3523 Added declarations for SPI_createAccessibleKeySet and
3524 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
3525 event modmasks directly as unsigned ints rather than structs with
3526 refcounts, in the DeviceEventController methods.
3528 * cspi/spi_registry.c:
3529 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
3531 * cspi/spi-roletypes.h:
3532 Added documentation of newly added SPI Roles.
3534 * cspi/bonobo/cspi-bonobo-listener.c:
3535 Changes in support of API changes above.
3537 * libspi/accessible.c:
3538 Converted APIs to use DeviceEvent structure (see IDL changes
3541 * registryd/deviceeventcontroller.c:
3542 Added DEControllerGrabMask structure to track keygrabs not only by
3543 modmask but by keyset as well; this allows us to do "global"
3544 (i.e. X) keygrabs on a per-key or keyset basis rather than always
3545 grabbing on AnyKey and then filtering after-the-fact.
3546 Bugfixes for event filtration mean that we don't get false matches
3547 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
3549 * registryd/deviceeventcontroller.c:
3550 Namespaced a number of static methods to use spi_ prefix. Major
3551 revision to internals of global (i.e. X) key grabs.
3553 * registryd/deviceeventcontroller.h:
3554 Removed keymask_list and added keygrabs_list to
3555 SpiDeviceEventController struct.
3558 Added use of SPI_createAccessibleKeySet API when creating a
3559 listener for only one key. Attach a listener to "shift spacebar
3560 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
3561 X key event names to SPI key event names, so that listeners are
3562 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
3564 * test/keysynth-demo.c:
3565 Changed (incorrect) use of X key event names (KeyPressed,
3566 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
3569 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3571 * libspi/accessible.c:
3572 Convert all AtkRole enumerations to Accessibility_Role enums when
3573 getting a role from an AtkObject.
3575 * cspi/spi_accessible.c:
3576 Complete the conversion of Accessibility_Role enums at runtime to
3577 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
3578 role enums correctly match those given in spi-roletypes.h.
3579 Re-synchronize the local names list for AccessibleRole_getName ().
3580 AccessibleRole_getName is now deprecated, since it duplicates the
3581 more reliable Accessible_getRoleName.
3582 Added some role types from Accessibility_Role.idl.
3584 * idl/Accessibility_Role.idl:
3585 Added some role types used by AtkRole.
3587 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3590 * cspi/spi_registry.c:
3592 * cspi/cspi-bonobo-listener.c:
3593 Namespaced all methods that did not begin with an "SPI_" or
3594 "Accessible" prefix to "SPI_".
3597 Homogenized internal function namespace to "cspi_" for statics.
3600 Patched tests to use the new CSPI API.
3602 * docs/reference/cspi/at-spi-cspi-sections.txt:
3603 Updated docs to reflect namespace changes, and added a number of
3604 methods to the documentation.
3606 * registryd/registry.c:
3607 Changed use of strings and string hashes in listener event
3608 matching and parse_event_string to use GQuark, which is guaranteed
3611 * registryd/registry.h:
3612 Squashed annoying warning.
3614 * idl/Accessibility_Role.idl:
3615 Extended range of available Accessibility_Role values.
3617 * cspi/spi_accessible.c:
3618 Re-ordered role names.
3620 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3622 * idl/Accessibility_Value.idl:
3623 Revert use of union back to CORBA_double, since the double type is
3624 more efficient and can contain the other types without loss of
3627 * idl/Accessibility_Accessible.idl:
3628 Added method Accessibility:Accessible:getRoleName, to complement
3629 Accessibility:Accessible:getRole.
3631 * cspi/spi_accessible.c:
3633 Added C binding for above, Accessible_getRoleName (), and changed
3634 signature of Accessible_getRole () to return an AccessibleRole.
3636 * cspi/spi-roletypes.h:
3637 Changed AccessibleRole_getName to return a char * instead of a
3638 const char *. This method is now at least temporarily deprecated
3639 in favor of asking Accessibles for their RoleNames directly.
3642 Revert to match Accessibility_Value.idl;
3646 Change signature of AccessibleValue methods to use double rather
3650 * cspi/spi_accessible.c:
3651 Changed Accessible_getRole to return an AccessibleRole enum rather
3652 than a UTF-8 string. The UTF-8 string can still be obtained via
3653 AccessibleRole_getName ().
3655 * test/test-simple.c:
3656 Add test_action. Small fixup to match API change to Accessible_getRole.
3659 Bugfix for get_action_from_servant ().
3661 2001-12-11 Michael Meeks <michael@ximian.com>
3663 * libspi/libspi.h: remove registry.h and
3664 desktop.h, deviceeventcontroller.h
3666 * libspi/Makefile.am: remove registry.[ch],
3667 desktop.[ch], deviceeventcontroller.[ch]
3669 * registryd/Makefile.am: add registry.[ch],
3670 desktop.[ch], rename registryd.c to registry-main.c.
3671 add deviceeventcontroller.[ch]
3673 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3676 Replace setenv() call with putenv ().
3678 * libspi/component.c:
3679 Bugfix in AccessibleComponent_getExtents (),
3682 2001-12-11 Michael Meeks <michael@ximian.com>
3684 * libspi/image.c (impl_getImageExtents): impl.
3685 (spi_image_class_init): upd.
3688 (AccessibleImage_getImageDescription): fix daft bug
3691 * test/test-simple.c (global_listener_cb): update
3692 to only quit if not --poke
3693 (main): catch --poke.
3694 (validate_accessible): upd. dumping, call test_image
3697 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
3700 * idl/Accessibility.idl: update all IDL includes.
3702 * idl/*.idl - rename to namespace - this sucks, blame
3703 mjs' bad decision for oafd.
3705 * test/test-simple.c (create_test_window): add more tests.
3706 (create_tree): split this out.
3707 (validate_accessible): bugfix.
3709 2001-12-11 Michael Meeks <michael@ximian.com>
3711 * cspi/bonobo/cspi-bonobo-listener.c:
3712 (cspi_kestroke_listener_unref),
3713 (cspi_event_listener_unref): impl. undoing previous
3714 homenous environment - for Bill.
3716 * cspi/spi_table.c (long_seq_to_array): use
3719 * cspi/spi_main.c: split out all bonoboish bits into
3722 * cspi/spi-impl.h: upd. typedefs.
3724 * cspi/spi_registry.c: update to lowlevel API,
3725 return booleans to indicate success in some places.
3727 * cspi/spi_event.c: update to lowlevel API.
3729 * cspi/bonobo/Makefile.am: add.
3731 * cspi/bonobo/cspi-lowlevel.h: add
3733 * cspi/bonobo/cspi-bonobo.c: add
3735 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
3737 * cspi/Makefile.am: remove spi-listener-impl.[ch],
3738 (SUBDIRS): add bonobo, link in the libs.
3740 * cspi/spi-util.c: kill this file.
3742 * TODO: merge in my bits.
3744 2001-12-11 Michael Meeks <michael@ximian.com>
3746 * test/test-simple.c (test_value, test_table, main):
3747 remove unused variables causing warnings.
3749 * configure.in: cleanup checks - require gail.
3751 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3754 Changed Value interface to use SValue (scalars) rather than
3755 assuming all values are floats. This allows floats, doubles,
3756 longs, shorts, and unsigned values to be manipulated.
3757 Introduced Accessibility:SValue union.
3760 Updated to use new API above, and to work correctly with GValues
3761 of different types in AtkValue.
3764 Updated to use new API above. cspi's API is as yet unchanged.
3767 Updated the Value revision action item.
3769 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3771 * test/test-simple.c:
3772 Added test_table (GtkTreeView widget in test window to follow).
3773 Un-commented test_value, added GtkRange widget.
3774 Added GtkTreeView widget with GtkListStore. It passes regression
3775 test but leaks one SPI object for some reason.
3778 Fixed bug in impl__set_currentValue.
3780 2001-12-10 Michael Meeks <michael@ximian.com>
3782 * cspi/spi_text.c: audit for exception handling,
3783 tolerating NULL object references safely etc.
3785 * cspi/spi_value.c: ditto.
3787 * cspi/spi_table.c (AccessibleTable_getSummary),
3788 (AccessibleTable_getAccessibleAt),
3789 (AccessibleTable_getRowHeader),
3790 (AccessibleTable_getColumnHeader),
3791 (AccessibleTable_getCaption): fix bugs hidden by
3793 (long_seq_to_array): impl.
3794 (AccessibleTable_getSelectedRows),
3795 (AccessibleTable_getSelectedColumns): use it.
3797 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3800 Added a TODO list (rough and short for now).
3802 * cspi/spi_hyperlink.c:
3803 * cspi/spi_hypertext.c:
3804 Fixed macro name typos, and remove use of obsolete macro in
3805 AccessibleHyperlink_getLink.
3807 * cspi/spi_action.c:
3808 * cspi/spi_accessible.c:
3809 * cspi/spi_application.c:
3810 * cspi/spi_component.c:
3811 * cspi/spi_selection.c:
3814 Documentation fixes (removed return values from ref/unref methods).
3816 2001-12-10 Michael Meeks <michael@ximian.com>
3818 * cspi/spi_action.c: audit for exception handling,
3819 tolerating NULL object references safely etc.
3821 * cspi/spi_accessible.c: ditto.
3823 * cspi/spi_component.c: ditto.
3825 * cspi/spi_editabletext.c: ditto.
3827 * cspi/spi_hyperlink.c: ditto.
3829 * cspi/spi_hypertext.c: ditto.
3831 * cspi/spi_image.c: ditto.
3833 * cspi/spi_selection.c: ditto.
3835 2001-12-10 Michael Meeks <michael@ximian.com>
3837 * configure.in: use cspi/libspi.pc.in instead.
3839 * Makefile.am (pkgconfig_DATA): upd. to match.
3841 * test/simple-at.c (report_focus_event): kill hacks around
3842 bad return values, use putenv not setenv
3844 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
3845 fire ChildGone - I killed it.
3847 * libspi/component.c
3848 (impl_accessibility_component_get_extents): remove
3851 * idl/Accessible.idl: kill ChildGone exception.
3853 * cspi/*.[ch]: kill int return from ref / unref.
3855 * cspi/spi_main.c (cspi_object_add_check): fold into
3856 (cspi_object_add): here.
3858 * cspi/spi_component.c (AccessibleComponent_getExtents):
3859 handle exceptions elegantly.
3861 * cspi/spi-private.h (cspi_check_ev_return),
3862 (cspi_return_if_fail): impl.
3864 * cspi/spi_accessible.c: use extensively.
3865 (AccessibleStateSet_equals): add direct compare check.
3867 * cspi/spi_selection.c: tolerate NULL objs, and check
3868 exceptions before return.
3870 * cspi/spi-util.c (cspi_warn_ev): rename to
3871 (cspi_check_ev): this & don't pass ev in; no point.
3873 2001-12-10 Michael Meeks <michael@ximian.com>
3875 * test/test-simple.c: use putenv not setenv
3876 (get_environment_vars): more chatty if you're not using
3879 * test/simple-at.c: do the setenv so more people see the
3882 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3884 * libspi/registry.c:
3885 Changed check of CORBA_environment on notification to be a warning
3886 instead of an error for the moment, since we can recover from this
3887 error when caused by a queued notification from a dead app.
3890 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
3891 used by all current implementors of AtkValue), and coerce to
3892 CORBA_float. (Proper general case fix may require change to Value.idl).
3894 2001-12-09 Bill Haneman <bill.haneman@sun.com>
3898 * cspi/spi_accessible.c:
3899 Documentation fixes: added user_data params to documentation for
3900 listeners and callbacks.
3902 * cspi/spi_accessible.c:
3903 Changed AccessibleStateSet_compare to return a
3904 StateSet rather than return the difference set into a third parameter.
3907 2001-12-09 Bill Haneman <bill.haneman@sun.com>
3910 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
3911 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
3915 Remove subdirectory po from SUBDIRS for now.
3917 * at-bridge/bridge.c:
3918 Beefed up a couple of debug printouts.
3919 One-line fix for signal notification name formatting.
3921 * libspi/accessible.c:
3922 Added assertion to spi_accessible_new ().
3924 * libspi/application.c:
3925 Put #ifdef qualifiers around a printf.
3928 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
3930 * registryd/Makefile.am:
3932 Replaces use of XML_I18N_MERGE_SERVER_RULE with
3933 INTLTOOL_SERVER_RULE macro.
3936 Added an event listener for several ATK signals, for
3937 testing and debugging. Removed a few g_warnings.
3938 Added test output if focussed item implements the Value interface.
3940 * test/test-simple.c:
3941 Added test_value () function (known not to pass at the moment, so
3942 not actually called yet.
3944 2001-12-08 Michael Meeks <michael@ximian.com>
3946 * at-bridge/bridge.c (bridge_focus_tracker),
3947 (emit_eventv): fix the same ref. leak.
3948 (register_atk_event_listeners): don't leak.
3950 * cspi/spi-listener-impl.c (cspi_event): more
3951 protection from client code.
3953 * test/test-simple.c (test_desktop): unref the app.
3955 * test/Makefile.am: upd. TESTS.
3957 * at-bridge/bridge.c (bridge_exit_func): release the registry.
3959 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
3961 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
3963 * cspi/spi_registry.c: constify in strings.
3964 (deregisterGlobalEventListenerAll): don't release the ref.
3966 * cspi/spi.h: start removing redundant / conflicting
3967 gtkdoc comments, making the API readable at a glance :-)
3969 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
3971 * test/keysynth-demo.c (keysynth_exit, main): upd.
3973 * test/simple-at.c (main, simple_at_exit): upd.
3975 * test/test-simple.c (unutterable_horror): kill.
3976 (utterable_normal_derefs): kill.
3977 (main): upd & do a setenv before gtk_init, so that we
3978 can use memprof - and to save the pain of remembering
3979 this, if we're running under memprof - don't exit.
3981 * cspi/spi_main.c (SPI_exit): return exit status
3983 (SPI_event_quit): impl.
3984 (SPI_event_main): simplify.
3985 (cspi_is_gnome_app): kill.
3986 (SPI_init): kill isGNOMEapp arg.
3988 * at-bridge/bridge.c (register_atk_event_listeners):
3989 re-instate the unref.
3990 (bridge_exit_func): don't re-activate the registry,
3991 protect vs. theoretical re-entry, use the
3992 AT_BRIDGE_SHUTDOWN env. var to determine whether to
3993 assert a clean shutdown - for regression tests.
3995 2001-12-08 Abel Cheung <maddog@linux.org.hk>
3997 * configure.in: Comment out dummy i18n support for now,
3998 otherwise it fails to build.
3999 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
4000 EXTRA_DIST. They are missing in tarball.
4002 2001-12-07 Michael Meeks <michael@ximian.com>
4004 * util/magnifier.c: kill bonobo activation reg. race.
4006 * libspi/component.c
4007 (impl_accessibility_component_get_extents): make it match
4010 * libspi/registry.c (_registry_notify_listeners):
4011 re-remove X headers & reconcile conflicts.
4012 (spi_listener_struct_free): bad conflict resolve.
4013 (impl_accessibility_registry_register_application):
4014 more bad merging fixed.
4015 (impl_accessibility_registry_deregister_application): ditto.
4016 (spi_registry_new): ditto.
4017 (spi_registry_init): don't have an applications field.
4019 [ merge fixups2 branch to here ]
4020 2001-12-07 Michael Meeks <michael@ximian.com>
4022 * test/simple-at.c (report_focus_event),
4023 (report_focussed_accessible): remove g_warning debug.
4025 2001-12-07 Michael Meeks <michael@ximian.com>
4027 * test/test-simple.c (validate_tree): comment out some checks.
4028 (test_desktop): app now not registered idly - horay.
4030 2001-12-07 Michael Meeks <michael@ximian.com>
4032 * cspi/spi_registry.c
4033 (registerAccessibleKeystrokeListener): clean, stop it leaking
4034 great swathes of memory, and device event controller references.
4035 ensure we always pass valid sequences.
4036 (deregisterAccessibleKeystrokeListener): ditto.
4037 (generateKeyEvent): upd.
4039 * at-bridge/bridge.c (bridge_key_listener): handle
4040 registry dead exception gracefully.
4041 (bridge_focus_tracker, emit_eventv): free ev.
4043 * test/simple-at.c (report_focus_event): fix polarity.
4045 * libspi/application.c (notify_listeners): kill the ev
4046 argument, and make sure we init the ev we use.
4047 (spi_application_object_event_listener): split out a chunk
4048 (get_atk_object_ref): here & fixup.
4049 (reverse_lookup_name_for_toolkit_event): make const.
4050 (spi_application_toolkit_event_listener): fixup, kill leaks
4053 * at-bridge/bridge.c (register_atk_event_listeners):
4054 don't unref the noop object - causes grief.
4056 * libspi/registry.c: remove the X headers.
4057 turn off the debug churn.
4059 * libspi/accessible.c (spi_accessible_new_return): only
4060 release the ref if we are supposed to [doh]
4062 * test/simple-at.c (report_button_press, report_focus_event):
4063 guard vs. unexpected exit.
4065 * at-bridge/bridge.c (gtk_module_init): prune printf.
4066 (bridge_exit_func): fix app unref.
4068 * libspi/Makefile.am: don't install registry or desktop.h
4070 * libspi/*.h: update includes.
4072 * libspi/application.h: don't include ourself, or
4073 other redundant headers.
4075 2001-12-06 Michael Meeks <michael@ximian.com>
4077 * libspi/accessible.c
4078 (get_accessible_from_servant): impl.
4079 Upd. all CORBA impl.s to use it killing cut and paste.
4081 * cspi/spi_main.c (cspi_cleanup): guard vs. double
4083 (SPI_init): register atexit cleanup handler here.
4085 2001-12-06 Michael Meeks <michael@ximian.com>
4087 * at-bridge/bridge.c (gtk_module_init): g_error on
4088 activation exception
4090 2001-12-06 Michael Meeks <michael@ximian.com>
4092 * at-bridge/bridge.c (gtk_module_init): some sort of
4093 confusing merge clash - reverted.
4094 (bridge_idle_init): ditto.
4096 * test/test-simple.c (main, utterable_normal_derefs):
4097 merge from Bill - somehow not committed.
4099 2001-12-06 Michael Meeks <michael@ximian.com>
4101 * libspi/value.c (spi_value_class_init): upd.
4102 (spi_value_finalize): kill.
4104 * libspi/table.c (spi_table_finalize): kill.
4105 (spi_table_interface_new): upd.
4106 (spi_table_class_init): upd.
4107 (get_table_from_servant): impl.
4108 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4110 * libspi/selection.c (spi_selection_finalize): kill.
4111 (spi_selection_interface_new): upd.
4112 (spi_selection_class_init): upd.
4113 (get_selection_from_servant): impl.
4114 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4116 * libspi/relation.c (spi_relation_finalize): kill.
4117 (spi_relation_class_init, spi_relation_new): upd
4119 * libspi/image.c (spi_image_finalize): kill.
4120 (spi_image_class_init): upd.
4121 (spi_image_interface_new): upd.
4122 (get_image_from_servant): impl.
4123 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4125 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
4126 (spi_hyperlink_finalize): kill.
4127 (spi_hyperlink_new): upd.
4128 (get_hyperlink_from_servant): impl.
4129 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4131 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
4132 (spi_hypertext_finalize): kill.
4133 (spi_hypertext_class_init): upd.
4134 (get_hypertext_from_servant): impl.
4135 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4137 * libspi/editabletext.c (spi_editable_text_finalize): kill.
4138 (spi_editable_text_interface_new): upd.
4139 (get_editable_text_from_servant): impl.
4140 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4142 * libspi/text.c (get_text_from_servant): impl.
4143 All impls - update to use it killing more cut and paste,
4144 also fix bad string returns on duff args ( a somewhat
4145 impossible case to handle - but hey ).
4146 (spi_text_construct): impl.
4147 (spi_text_interface_new): upd.
4148 (spi_text_object_finalize): kill.
4150 * libspi/component.c
4151 (accessibility_component_object_finalize): kill.
4152 (spi_component_class_init): upd.
4153 (get_component_from_servant): impl. helper to kill cut & paste.
4154 (impl_accessibility_component_contains):
4155 (impl_accessibility_component_get_accessible_at_point):
4156 (impl_accessibility_component_get_position):
4157 (impl_accessibility_component_get_extents):
4158 (impl_accessibility_component_get_mdi_z_order):
4159 (impl_accessibility_component_get_layer):
4160 (spi_component_interface_new): upd.
4162 * libspi/action.c (spi_action_finalize): kill.
4163 (spi_action_class_init): upd. inherit from SpiObject.
4164 (spi_action_interface_new): upd.
4165 (get_action_from_servant): impl. helper to reduce cut & paste.
4166 (impl_getKeyBinding, impl_getName, impl_doAction),
4167 (impl_getDescription): Use it everywhere.
4169 * cspi/spi_main.c (get_live_refs): a pointer hash.
4170 (spi_object_hash, spi_object_equal): comment out.
4171 There are issues with CORBA object hashing that need
4174 * libspi/application.c (spi_application_init),
4175 (spi_application_new): upd.
4177 * libspi/accessible.c (spi_accessible_object_finalize): kill.
4178 (spi_accessible_class_init): upd.
4179 s/accessible/object/ in epv methods.
4181 2001-12-05 Bill Haneman <bill.haneman@sun.com>
4183 * at-bridge/bridge.c:
4184 Reorder the bridge initialization into the bridge gtk_module_init,
4185 an immediate call to bridge_register_app, and an idle_add for
4186 register_atk_event_listeners (the only code that *must* wait until
4187 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
4188 the activation, creates the application's Accessible object, and
4189 queues the bridge_idle_init function. Restored call to
4190 Accessibility_Registry_deregisterApplication().
4191 Prior to making this call we obtain a new reference to the
4192 registry, which is a temporary hack that helps us handle apps that
4193 shut down the bonobo mainloop before we get there.
4195 * libspi/registry.c:
4196 Fix string leakage in debug block, and don't segv if a an app
4197 dies before its event notifications have been propagated.
4200 Modify cspi_check_ev() to call g_warning() rather than g_error(),
4201 as stopgap measure until we get proper exception handling when
4202 objects die during or before interrogation.
4206 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
4207 Also changed default value of is_gnome_app to TRUE.
4210 * test/keysynth-demo.c:
4211 Changed use of SPI_init and SPI_event_main to reflect API change above.
4214 Made report_focus_event check the warning value from getName
4215 before reporting on focussed accessible; simplifies handling of
4216 notifications from dead objects.
4218 * test/test-simple.c: (Changes not in this patch since source is
4221 2001-12-05 Michael Meeks <michael@ximian.com>
4223 * registryd/registryd.c (main): protect against
4224 bonobo-activation startup race condition.
4226 * cspi/spi_main.c (cspi_object_add_check): cope
4227 with the exception elegantly.
4229 * idl/Accessible.idl: decl. ChildGone
4231 * libspi/desktop.c (spi_desktop_dispose): impl.
4232 (spi_desktop_class_init): upd.
4233 (spi_desktop_add_application),
4234 (spi_desktop_remove_application),
4235 (abnormal_application_termination): impl.
4236 (impl_desktop_get_child_at_index): re-impl.
4239 (impl_accessibility_registry_deregister_application),
4240 (impl_accessibility_registry_register_application):
4241 kill excessive debug clutter.
4243 * test/test-simple.c (test_misc): test some NULL
4244 tolerance. (main): upd.
4246 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
4247 implements no interfaces - so let's not crash.
4249 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
4251 * libspi/accessible.c (spi_accessible_new_return): impl.
4252 helper to calm the cut and paste, to cope with
4253 NULL AtkObjects effectively and efficiently, and to kill
4254 the referencing bugs.
4256 * libspi/table.c (impl_getAccessibleAt),
4257 (impl_getRowHeader, impl_getColumnHeader): upd.
4259 * libspi/hyperlink.c (impl_getObject): upd.
4261 * libspi/accessible.c
4262 (impl_accessibility_accessible_get_child_at_index): upd.
4264 * libspi/component.c
4265 (impl_accessibility_component_get_accessible_at_point): upd.
4267 * test/test-simple.c (test_editable_text, test_text): impl.
4270 * cspi/spi_editabletext.c
4271 (AccessibleEditableText_insertText): constify.
4273 * test/test-simple.c (focus_me): make more robust.
4275 * libspi/accessible.c: remove some printfs in methods that
4276 we test and work fine, so we can get a clean tree dump.
4278 * test/test-simple.c (validate_accessible),
4279 (validate_tree): make tree dumping pretty too.
4281 * at-bridge/bridge.c (bridge_signal_listener): upd. so
4282 it builds without debug on.
4284 * test/test-simple.c (validate_accessible): fix the most
4287 * cspi/spi_main.c (spi_object_release): leave the nicely
4288 blanked memory around if in debug mode.
4290 * cspi/spi-listener-impl.c (cspi_event): use add_check.
4292 [committed to fixups2]
4293 2001-12-05 Michael Meeks <michael@ximian.com>
4295 * libspi/editabletext.c
4296 (spi_editable_text_class_init): g_type_class_peek_parent,
4297 not interface peek - so we finalize cleanly.
4299 * libspi/accessible.c (spi_accessible_new): kill debug.
4301 * test/test-simple.c (validate_accessible): fix ref.
4302 leak, print strings before freeing them; sigh, comment a
4303 chunk out due to strangeness.
4304 (validate_tree): unref the child after use.
4306 * cspi/spi_component.c (AccessibleComponent_getLayer):
4307 add missing break statement, switch on zlayer not the
4308 uninitialized retval.
4310 * cspi/spi_main.c (cspi_object_add): add assert, local ref
4311 before (possibly re-entering) remote unref.
4313 * test/simple-at.c (main): unref the desktop.
4315 * cspi/spi_accessible.c (cspi_accessible_is_a): move
4318 * cspi/spi_main.c (cspi_accessible_is_a): here to
4319 isolate bonobo API usage more.
4321 * libspi/registry.c (impl_accessibility_registry_register_application):
4322 prune bogus comment.
4324 2001-12-04 Michael Meeks <michael@ximian.com>
4326 * test/test-simple.c (validate_tree): upd.
4327 IndexInParent check to make it more lucid.
4328 (validate_accessible): dump the tree.
4330 * libspi/accessible.c (de_register_public_ref),
4331 (get_public_refs): impl.
4332 (spi_accessible_new): make more efficient & intuitive.
4333 Now IndexInParent check works.
4335 2001-12-04 Michael Meeks <michael@ximian.com>
4337 * cspi/spi-util.h: remove.
4339 * cspi/spi.h: move SPI_freeString here
4341 * libspi/component.c (impl_accessibility_component_get_layer):
4343 (impl_accessibility_component_get_mdi_z_order): ditto,
4344 return -1 on error - is this ok ?
4346 * test/test-simple.c (test_application): impl.
4348 * cspi/spi_accessible.c (Accessible_getApplication),
4349 (Accessible_isApplication): impl.
4351 * libspi/registry.c (spi_listener_struct_free): release
4352 the CORBA reference too.
4354 * libspi/accessible.c
4355 (impl_accessibility_accessible_get_parent): fix ref leak.
4357 * libspi/registry.c (spi_registry_new): make the registry
4358 immortal - we don't want it to go away ever.
4360 * libspi/application.c
4361 (spi_accessible_application_finalize): impl. cleanup.
4363 * cspi/spi_registry.c
4364 (deregisterGlobalEventListenerAll),
4365 (deregisterGlobalEventListener),
4366 (deregisterAccessibleKeystrokeListener): fix ref leak.
4368 * cspi/spi_main.c (SPI_init): remove redundant ref.
4370 * test/test-simple.c (unutterable_horror): impl. to force a
4375 (impl_accessibility_registry_deregister_application): release
4376 the application when we de-register it.
4378 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
4379 until we have the infastructure to get it right.
4381 2001-12-03 Michael Meeks <michael@ximian.com>
4383 * libspi/Makefile.am: only build eventlistener.[ch]
4385 * libspi/accessible.c
4386 (impl_accessibility_accessible_get_child_at_index): don't leak.
4388 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
4389 before we hit the idle handler.
4391 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
4392 debugging than exit.
4394 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
4396 * libspi/listener.c (impl_notify_event): check source
4397 not NIL before unref.
4399 * libspi/registry.c (impl_registry_notify_event): ditto.
4401 * libspi/eventlistener.c
4402 (impl_accessible_event_notify_event): unref the source.
4404 * libspi/accessibleeventlistener.c
4405 (impl_accessible_event_notify_event): unref the source.
4407 * idl/Event.idl: remove 'hash_id' attribute - of no
4410 * libspi/application.c (notify_listeners): upd list
4412 (spi_application_object_event_listener),
4413 (spi_application_toolkit_event_listener): upd to do correct
4417 (_registry_notify_listeners): update.
4418 (parse_event_type): this method also leaks like a sieve.
4419 (impl_accessibility_registry_deregister_global_event_listener):
4420 fix ETYPE_WINDOW case.
4422 * libspi/application.c
4423 (impl_accessibility_application_register_object_event_listener):
4426 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
4428 * libspi/hypertext.c (impl_getLink): ditto.
4430 * cspi/spi_main.c (cspi_object_add): remove
4431 bogus CORBA_Object_duplicate.
4433 * cspi/spi-listener-impl.c (cspi_event): dup/ref
4436 * cspi/spi_accessible.c
4437 (Accessible_getRelationSet): fix leak / referencing issue.
4439 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
4440 (cspi_object_add, cspi_object_unref): upd.
4441 (spi_object_release, get_live_refs): impl.
4442 (cspi_cleanup): simplify.
4444 * *.[ch]: s/boolean/SpiBoolean/
4446 * cspi/spi_accessible.c (role_names): actualy order so it
4447 corresponds with the enum !
4449 * test/test-simple.c (test_roles): check some role strings
4450 vs. enums to detect offset errors.
4452 2001-12-01 Michael Meeks <michael@ximian.com>
4454 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
4456 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
4458 (Accessible_getChildAtIndex): use cspi_add_check so we
4459 check the ev before using a (possibly) invalid value.
4461 * libspi/accessible.c
4462 (impl_accessibility_accessible_get_parent): don't segv
4465 * at-bridge/bridge.c (gtk_module_init): upd.
4466 (bridge_property_event_listener): don't leak strings
4468 (bridge_state_event_listener),
4469 (bridge_property_event_listener): don't use a static
4470 buffer in case of recursive event emission &
4471 re-enterancy - split out the swathe of cut and paste
4473 (emit_eventv): and fix 2 ref leaks here & comply to the
4475 (bridge_register_app): rename to
4476 (bridge_idle_init): this and kill arg parsing, split
4477 various inits & bonobo-activation registration to module
4478 init time, kill referencing error.
4479 (bridge_exit_func): fix the same leak.
4480 (bridge_focus_tracker): don't leak event structures
4482 (bridge_signal_listener): more leakage and cut & paste
4484 (bridge_key_listener): return the result - FIXME is
4485 this polarity correct ?
4486 (accessibility_keystroke_from_atk_key_event): rename
4487 (accessibility_init_keystroke_from_atk_key_event): and stop
4489 (gtk_module_init): return a value - not that it is checked by
4491 (bridge_key_listener): register my horror at casting between
4492 IDL defined structs.
4493 (bridge_get_registry): kill - not used.
4495 * cspi/spi_accessible.c (Accessible_getRole): make return const.
4497 * test/test-simple.c (test_roles): impl.
4498 (test_desktop, validate_accessible, validate_tree): impl.
4500 * cspi/spi_accessible.c (role_names): fixup bogus
4501 MAX_ROLES setup, make constants const for efficient linkage
4502 (AccessibleRole_getName): conform to coding style, make
4505 2001-11-30 Michael Meeks <michael@ximian.com>
4507 * cspi/spi.h: add missing prototype.
4509 * libspi/registry.c (spi_listener_struct_new): fix sig.
4511 * test/Makefile.am: add test-simple
4513 * test/test-simple.c: add
4515 * test/test.sh: add.
4517 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
4519 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
4520 do it straight - since otherwise we often get an activation race.
4522 [ work before Bill duplicated a chunk of it ... ]
4523 2001-11-30 Michael Meeks <michael@ximian.com>
4525 * libspi/keystrokelistener.c
4526 (spi_keystroke_listener_class_init): fixup arg
4529 * libspi/eventlistener.c
4530 (spi_event_listener_class_init): ditto.
4532 * tests/test.sh: add.
4534 * cspi/spi-listener-impl.h: update macros.
4536 * cspi/spi-listener-impl.c
4537 (cspi_event_listener_remove_callback): add
4538 correct pre-conditions.
4540 * cspi/spi_main.c (SPI_exit): guard vs. double
4541 exits, exit the mainloop nicely.
4542 (SPI_event_main): make more sense.
4543 (SPI_init): move the atexit evilness here so we
4544 always do it (yuck).
4545 (SPI_event_main): upd.
4547 * test/simple-at.c: update for listener changes.
4549 * registryd/registryd.c (main): prune kruft.
4551 * libspi/libspi.h: upd.
4553 * libspi/eventlistener.[ch]: rename broken macros.
4555 * libspi/accessibleeventlistener.[ch]: remove.
4557 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
4559 * test/test-simple.c: Add - automated tests.
4561 * cspi/spi-listener-impl.c (cspi_event),
4562 (cspi_key_event): add user_data to invoke.
4563 (cspi_keystroke_listener_finalize): impl.
4564 (cspi_keystroke_listener_class_init): upd.
4567 (createAccessibleEventListener),
4568 (AccessibleEventListener_addCallback),
4569 (createAccessibleKeystrokeListener),
4570 (AccessibleKeystrokeListener_addCallback): upd.
4572 * libspi/deviceeventcontroller.c
4573 (spi_device_event_controller_check_key_event): add public proto.
4576 (impl_accessibility_registry_deregister_global_event_listener):
4577 always init listeners.
4578 (_registry_notify_listeners): yes it is.
4580 * cspi/spi-listener-impl.c (cspi_key_event):
4582 (cspi_event_listener_finalize): impl.
4583 (cspi_event_listener_class_init): hook up.
4584 (event_handler_new, event_handler_free),
4585 (event_list_remove_by_callback): impl.
4586 (cspi_event_listener_remove_callback),
4587 (cspi_keystroke_listener_remove_callback),
4588 (cspi_keystroke_listener_add_callback),
4589 (cspi_event_listener_add_callback): upd.
4591 * libspi/keystrokelistener.c
4592 (keystroke_listener_object_finalize): kill
4593 (spi_keystroke_listener_class_init): upd.
4594 (spi_keystroke_listener_add_callback),
4595 (spi_keystroke_listener_remove_callback): kill,
4597 (impl_key_event): prune drasticaly.
4599 * libspi/eventlistener.c
4600 (spi_event_listener_add_callback),
4601 (spi_event_listener_remove_callback): kill, use
4603 (impl_accessible_event_notify_event): upd.
4604 (spi_event_listener_object_finalize): remove.
4606 * libspi/Makefile.am: use eventlistener.[ch]
4608 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4610 * libspi/registry.c (_registry_notify_listeners):
4611 Changed listener loop iteration to use preferred convention.
4612 Got rid of string memory leaks caused be calling g_strconcat
4613 inside function calls.
4615 * libspi/registry.c (parse_event_type):
4616 Stopped g_strconcat memory leaks, free the g_strsplit return,
4617 g_strdup the split pieces when used, etc.
4619 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4622 Change method 'compare' to return a 'difference set' rather than
4623 taking a StateSet as an out parameter (more Java-friendly).
4625 * idl/Accessible.idl:
4626 Added CORBA struct 'BoundingBox', to faciliate API changes below:
4628 * idl/Component.idl:
4630 Changed methods 'getExtents' and 'getImageExtents' in these
4631 interfaces to return a BoundingBox structure.
4632 (getPosition and getSize are redundant and possibly should be
4633 removed, rather than creating a corresponding Point struct.)
4635 * cspi/spi_component.c:
4636 Modify implementation of getExtents to reflect the above IDL
4641 Add (missing) AccessibleImage_getExtents () API.
4643 * docs/reference/cspi/at-spi-cspi-sections.txt:
4644 Added AccessibleImage_getImageExtents () to docs.
4646 2001-12-03 Bill Haneman <bill.haneman@sun.com>
4648 * idl/Component.idl:
4649 Added two methods, getLayer () and getMDIZOrder (), to reflect
4650 the new ATK methods atk_object_get_layer and
4651 atk_object_get_mdi_z_order. (Which arguably should be part of the
4652 AtkComponent API and AtkObject). Also added an enum,
4653 ComponentLayer, for the first method's return value.
4655 * libspi/component.c:
4656 Added implementations for these methods.
4658 * cspi/spi_component.c:
4660 Added cspi binding methods for above,
4661 AccessibleComponent_getLayer() and
4662 AccessibleComponent_getMDIZOrder().
4663 Added cspi enum 'AccessibleComponentLayer'.
4665 * docs/reference/cspi/at-spi-cspi-sections.txt:
4666 Added above methods to docs.
4670 Changed typedef for 'boolean' type (and all references to it) to
4671 SPIBoolean, to avoid keyword clashes with C++.
4674 Changed usages of 'boolean' to SPIBoolean.
4676 * test/keysynth-demo.c:
4677 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
4678 app), except where SPIBoolean is required by the callbacks API.
4680 2001-12-02 Bill Haneman <bill.haneman@sun.com>
4682 * cspi/spi_registry.c:
4683 Removed obsolete X event loop for passive keygrabs (which now
4686 * registryd/registryd.c:
4687 Removed unnecessary call to gdk_init() [cruft]. This also allows
4688 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
4691 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4693 * docs/reference/cspi:
4694 Included docs for SPI_freeString in generated documentation.
4697 Renamed spi_freeString to SPI_freeString, for consistency. Added
4698 documentation for this function.
4701 Renamed spi_freeString to SPI_freeString, for consistency.
4702 Removed obsolete method declaration string_from_corba_string.
4704 * test/keysynth-demo.c:
4705 Small tweak to comments.
4708 Stopped leaking the strings returned from CSPI.
4710 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4712 Merged Michael's branch (see his ChangeLog entries below).
4714 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
4715 bridge is alive, release on exit.
4717 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
4718 Fix type check macro.
4721 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
4724 Added is_gnome_app static, and method cspi_is_gnome_app(),
4725 so we can call the appropriate shutdown routine at exit in SPI_exit.
4727 * cspi/spi_main.c (cspi_object_ref):
4728 Duplicate the corba object passed in, since we're keeping it around.
4730 * cspi/SPI_exit.c, cspi_cleanup:
4731 Moved the releasing of the live refs to its own function, so we
4732 can put it in g_atexit (). Call the appropriate shutdown API
4733 depending on whethe calling client is a gnome app or not
4734 (bonobo_main_quit or CORBA_ORB_shutdown).
4736 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
4737 Unref the listener when this method is called, after
4738 deregistration. Updated the API docs to note this behavior.
4740 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
4741 Bugfixes: Ref the bonobo object when returning a parent or child
4742 reference, or an AccessibleRelation. Generally made sure
4743 BonoboObject refcount is incremented whenever we return an
4746 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
4747 Fixed typo/bug in signal declaration.
4749 * libspi/accessibleeventlistener.h:
4752 * libspi/application.c (spi_application_new):
4753 Fixed leak in initialization.
4756 Remembered to increment bonobo-object refcount when returning
4757 children (applications) from desktop object.
4758 Added (empty) finalize method.
4760 * libspi/deviceeventcontroller.c:
4761 Hold a ref to listeners inside DEControllerKeyListeners.
4762 Added dec_key_listener_free() method. Use prepend instead of
4763 append in key_listener list. Fixed some refcount madness and
4764 leaks in the listener registration/deregistration - deregistration
4765 now calls dec_key_listener_free() on listeners, and on the
4766 temporarily constructed dec_key_listener() used to perform the search/match.
4768 * libspi/hypertext.c (spi_hypertest_finalize):
4769 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
4770 class. Also fixed spi_hypertext_interface_new() and
4771 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
4773 * libspi/hypertext.h:
4774 Removed pointless and duplicate AtkObject pointer from
4777 * libspi/keystrokelistener.c:
4778 Fixed incorrect type of keystroke_listener_parent_class,
4779 renamed keystroke_listener_object_finalize to
4780 spi_keystroke_listener_object_finalize.
4781 Fixed typo in signal declaration
4782 (spi_keystroke_listener_class_init).
4784 * libspi/registry.c:
4785 Added funcsions spi_listener_struct_new() and
4786 spi_listener_struct_free() to help with memory management issues.
4787 We also now use these methods instead of gnew + poking stuff into
4788 the struct, and to decrement listener counts/free the listeners
4789 when deregistering them.
4790 Fix more refcount bugs in getDesktop() and
4791 getDeviceEventController().
4794 De-ref the desktop after enumerating the applications. Explicitly
4795 decrement the refcounts on the created listeners on exit (using
4796 _unref for keystroke listeners, and via the
4797 deregisterGlobalEventListenerAll command for other event
4800 2001-11-27 Michael Meeks <michael@ximian.com>
4802 * cspi/spi-listener.h: fixup enum.
4804 2001-11-27 Michael Meeks <michael@ximian.com>
4806 * cspi/spi-listener-impl.c (cspi_event_listener_new),
4807 (cspi_keystroke_listener_new): Use the cspi variants.
4809 2001-11-26 Michael Meeks <michael@ximian.com>
4811 * test/keysynth-demo.c: fix 2 compile warnings, missing
4814 * test/simple-at.c (report_focussed_accessible),
4815 (report_focus_event, report_button_press),
4816 (check_property_change, is_command_key),
4817 (report_ordinary_key_event, report_command_key_event): upd.
4819 * util/mag_client.h: include pre-requisites.
4821 * libspi/accessibleeventlistener.c
4822 (spi_event_listener_object_finalize): free any lingering
4825 * libspi/keystrokelistener.c
4826 (keystroke_listener_object_finalize): ditto.
4828 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
4829 callbacks, with cspi types.
4831 * cspi/spi_event.c (createAccessibleEventListener): chain to
4832 (AccessibleEventListener_addCallback): here.
4833 (createAccessibleKeystrokeListener): chain to
4834 (AccessibleKeystrokeListener_addCallback): here.
4836 * libspi/keystrokelistener.c
4837 (spi_keystroke_listener_class_init): add signal.
4838 (impl_key_event): emit the event.
4839 (boolean_handled_accumulator): impl.
4840 (marshal_BOOLEAN__POINTER): add, gack.
4842 * libspi/accessibleeventlistener.c
4843 (spi_event_listener_class_init): add signal.
4844 (impl_accessible_event_notify_event): emit the signal &
4845 make the loop efficient.
4846 (spi_event_listener_add_callback): prepend the callback.
4848 * libspi/accessibleeventlistener.h: add an 'event' signal,
4849 decl type on callback.
4851 * libspi/keystrokelistener.h: ditto.
4853 * cspi/spi-listener.h: make methods typesafe and
4854 make them use the new event typedefs.
4856 * test/simple-at.c (report_focussed_accessible):
4857 include mag_client.h
4858 Use *(void *)text_interface not the other thing.
4860 * configure.in: add gtk to registryd bits - since we use
4863 * util/magnifier.c: include libbonobo.h
4865 2001-11-25 Bill Haneman <bill.haneman@sun.com>
4867 * test/keysynth-demo.c:
4868 Turned this into a simple scanning keyboard, to demonstrate the
4869 use of g_timeout_add () as a means of creating timers for
4870 scanning, and the use of GtkStyle for visually indicating when
4871 virtual keyboard elements are selected.
4873 keysynth-demo now listens to any keyboard keys with zero-valued
4874 keycodes (i.e. 'unused' keys) and interprets them as
4877 Reworked the shiftlatch code so that shift-down state isn't held
4878 for long periods (it's only synthesized immediately prior to
4879 the keysynth event it's modifying). Note that shiftlatch in this
4880 demo is a convenience, not intended to take the place of AccessX
4881 which is the better choice for getting 'sticky' modifier keys.
4883 * libspi/deviceeventcontroller.c:
4884 * at-bridge/bridge.c:
4885 * cspi/spi_registry.c:
4886 Removed some debug print stuff, and put other verbosity in #ifdef
4891 Implemented some more of the magnifier IDL for the simple
4892 magnifier: namely, getZoomRegionParams.
4893 Added mag_x and mag_y members to MagnifierData struct, aid of this
4895 Added GtkWindow::realize signal handler to magnifier, to keep it
4896 from receiving keyboard focus from the WM.
4898 2001-11-23 Mark McLoughlin <mark@skynet.ie>
4900 * cspi/spi-private.h: my guess at what michael forgot
4901 before he ran off to NZ :-)
4903 2001-11-23 Michael Meeks <michael@ximian.com>
4905 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
4906 comment out non existant method invoke so we link.
4908 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
4909 use bonobo_exception_get_text for more friendly warnings.
4911 * cspi/spi.c (Obj_Add): move into spi_main & rename
4912 spi_object_add; kill spi.c
4914 * cspi/spi_registry.c
4915 (deregisterGlobalEventListener),
4916 (deregisterGlobalEventListenerAll),
4917 (registerGlobalEventListener): fix exception leaks.
4919 * cspi/spi_main.c (spi_exception): impl. helper, so we
4920 don't leak exceptions.
4922 * cspi/spi_selection.c
4923 (AccessibleSelection_deselectSelectedChild): return the
4926 * cspi/spi_main.c (spi_ev): impl; hack - gack.
4927 (spi_registry): ditto.
4928 (SPI_init): guard against double inits.
4930 * cspi/*.c: use spi_ev (), and spi_registry () where
4931 appropriate - a temporary hack until we have something
4932 better. Use spi_object_add
4934 2001-11-22 Michael Meeks <michael@ximian.com>
4936 * cspi/Makefile.am: re organise, install the headers.
4938 * cspi/*.h: add G_BEGIN/END_DECLS
4940 2001-11-22 Bill Haneman <bill.haneman@sun.com>
4943 Added non-preemptive keylistener for key events with no modifiers
4944 and shift-only modifier.
4946 * libspi/keystrokelistener.c:
4947 Removed some verbose diagnostics printout.
4949 * cspi/spi_registry.c:
4950 Fixed a bug that caused all key listeners to be registered as
4953 * libspi/deviceeventcontroller.c:
4954 Fixed bug that caused XGrabKey (preemptive key grab) to be called
4955 for non-preemptive key masks.
4958 2001-11-22 Bill Haneman <bill.haneman@sun.com>
4960 * docs/reference/idl/at-spi-idl-docs.sgml:
4961 * docs/reference/idl/at-spi-idl-sections.txt:
4962 * docs/reference/idl/at-spi-idl-overrides.txt:
4963 Added missing files.
4965 * docs/reference/Makefile.am:
4966 removed idl from SUBDIRS until we can figure a way to get gtk-doc
4967 to scan the IDL files :-(
4972 Added .cvsignore files.
4974 2001-11-21 Bill Haneman <bill.haneman@sun.com>
4976 * libspi/deviceeventcontroller.c:
4977 * libspi/keystrokelistener.c:
4979 * cspi/spi_registry.c:
4980 Added filters for KeySets, KeyEventSeq, and event types to key
4981 event dispatching, so listeners should only receive those events
4982 that they requested :-)
4984 2001-11-21 Bill Haneman <bill.haneman@sun.com>
4989 * docs/reference:Makefile.am:
4990 * docs/reference/cspi:
4991 * docs/reference/cspi:Makefile.am:
4992 * docs/reference/cspi:tmpl:
4993 * docs/reference/cspi:tmpl:*.sgml:
4994 * docs/reference/idl:
4995 * docs/reference/idl:Makefile.am:
4996 * docs/reference/idl:at-spi-idl-sections.txt:
4997 * docs/reference/idl:at-spi-idl-docs.sgml:
4998 * docs/reference/idl:tmpl:
4999 * docs/reference/idl:tmpl:*.sgml:
5001 Restructured docs directory to allow separate 'reference' docs
5002 section, and forked idl and cspi docs. Added the sgml template
5003 files to CVS. Added the first sections/structural sgml for the
5006 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
5008 * configure.in, libspi/Makefile.am: find libXtst.
5010 2001-11-21 Michael Meeks <michael@ximian.com>
5012 * test/accessx-gui.c: s/spi_value/value/ - doh.
5014 * libspi/base.[ch]: add.
5016 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5018 * idl/Accessible.idl:
5019 * idl/Application.idl:
5022 Started gtk-doc cleanup on IDL.
5024 * libspi/deviceeventcontroller.c:
5025 Added and connected non-preemptive key notification from the
5026 toolkits (in addition to the pre-emptive support from XServer
5027 which we had before, but which causes 'focus flashing'). Filters
5028 are presently limited to key modifiers and global/non-global,
5029 KeySets are presently ignored, as are KeyEvent masks.
5031 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
5032 structs into the persistant structure rather than just storing
5033 pointers to things that might not persist across servant
5036 The XGrabKey call now does async keygrabs, because synchronous
5037 ones were deadlocking with GDK_event code in a very nasty way.
5039 Added boolean to internal method notify_keylisteners, to indicate
5040 whether the event came from the 'toolkit source' or the 'global
5041 (XServer) source' - this is used in the notification process to
5042 determine which listeners to send the event to.
5044 deviceeventcontroller.c is now warning-free.
5046 * libspi/registry.c:
5047 Fixed regression in application de-registration.
5048 Also fixed some really brain-dead weirdness having to do with
5049 event dispatching - event structs are now duplicated before being
5050 re-marshalled in the dispatch to listeners. This also fixes a
5051 Solaris build problem.
5054 2001-11-20 Michael Meeks <michael@ximian.com>
5057 (impl_accessibility_registry_deregister_global_event_listener):
5060 * libspi/deviceeventcontroller.c
5061 (spi_device_event_controller_check_key_event): return
5062 FALSE on no virtual method.
5064 * libspi/*..h: make includes work on a correctly pathed install.
5066 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
5068 * libspi/application.h: kill unused ( and whacked out )
5069 gboolean *spi_application_set_id (AtkObject *app, long id);
5071 2001-11-20 Michael Meeks <michael@ximian.com>
5073 * libspi/*.[ch]: further convert to bonobo's type func
5074 macros, remove redundnant casts etc.
5076 * libspi/text.c s/accessibility_text/spi_text/g,
5077 re-order to de-cruft.
5079 * libspi/hypertext.c: re-order to kill a huge slew
5080 of redundant forward decls.
5082 * libspi/relation.c: ditto.
5084 * libspi/image.c: ditto.
5086 * */.cvsignore: update
5088 2001-11-20 Michael Meeks <michael@ximian.com>
5090 * libspi/deviceeventcontroller.c
5091 (_controller_register_with_devices): use g_getenv,
5092 kill stdlib.h include.
5094 * libspi/keystrokelistener.c
5095 (spi_keystroke_listener_get_type): kill
5096 (spi_keystroke_listener_class_init),
5097 (spi_keystroke_listener_init): rename to this.
5099 * libspi/text.c (impl_getAttributes): fix warning / bug.
5101 * libspi/*.[ch]: more headers, includes and over commenting.
5103 2001-11-20 Michael Meeks <michael@ximian.com>
5105 * libspi/*.[ch]: fixup headers, includes and over commenting.
5107 * libspi/image.c (impl__get_imageDescription): const
5108 correctness warning fix. remove redundant casting.
5110 * libspi/table.c (impl_getRowDescription): ditto.
5111 (impl_getColumnDescription): ditto.
5113 * libspi/libspi.h: add.
5115 2001-11-19 Michael Meeks <michael@ximian.com>
5117 * libspi/editabletext.c (impl_setAttributes): fix warnings.
5119 * libspi/component.c (accessibility_component_get_type):
5120 rename to (spi_component_get_type): and macroify.
5121 (accessibility_component_init): rename to
5122 (spi_component_init): this
5123 (accessibility_component_class_init): rename to
5124 (spi_component_class_init): this
5126 * libspi/action.c (spi_action_get_type): kill, use the macro.
5128 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
5131 * libspi/application.c (spi_application_object_event_listener),
5132 (impl_accessibility_application_register_object_event_listener):
5133 warning fixes / const understanding updates.
5135 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
5138 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5140 * libspi/spi_accessible.c: Added docs and C bindings for
5141 AccessibleStateSet. (No implementations yet). Documentation
5142 coverage for C bindings now 100%. Made docs for event listeners
5147 boolean notifyListenersSync (in DeviceEventListener listener,
5148 in DeviceEvent event);
5150 oneway void notifyListenersAsync (in DeviceEventListener listener,
5151 in DeviceEvent event);
5153 Added DeviceEventListener and DeviceEvent structs (may deprecate
5154 KeyStroke and KeystrokeListener in favor of this generic
5155 event/listener framework for devices).
5157 * libspi/deviceeventcontroller.c:
5159 Changed some key listener code to take masks, etc., and paved the
5160 way for integration of toolkit/non-preemptive key events. Changed
5161 signatures of some internal methods.
5163 * at-bridge/bridge.c:
5164 Fixed regression connecting to interface signals, apparently
5165 caused by GTK+ changes.
5167 Added an internal bridge_state_listener to deal with
5168 property-change:accessible-state signals.
5170 Changed the key_listeners GList to store structs (including masks,
5171 etc.) instead of just CORBA_Objects (required for full
5172 implementation of key listener API).
5174 Connected the bridge to all currently supported Atk signals.
5175 Events now supported:
5176 object:property-change
5177 object:property-change:accessible-name
5178 object:property-change:accessible-state
5179 object:property-change:accessible-description
5180 object:property-change:accessible-parent
5181 object:property-change:accessible-value
5182 object:property-change:accessible-role
5183 object:property-change:accessible-table-caption
5184 object:property-change:accessible-table-column-description
5185 object:property-change:accessible-table-column-header
5186 object:property-change:accessible-table-row-description
5187 object:property-change:accessible-table-row-header
5188 object:property-change:accessible-table-summary
5189 object:children-changed
5190 object:visible-data-changed
5191 object:selection-changed
5192 object:text-selection-changed
5194 object:text-caret-moved
5196 object:row-reordered
5198 object:column-inserted
5199 object:column-reordered
5200 object:column-deleted
5201 object:model-changed
5203 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5205 * libspi/hyperlink.c,h:
5206 Fixed some broken stuff in hyperlink.
5208 * libspi/relation.h:
5209 * libspi/relation.c:
5210 * cspi/spi_accessible.c:
5211 Initial implementations of AccessibleRelation methods, and docs.
5213 * libspi/accessible.c:
5214 Fixed a bug that caused SEGV if an accessible
5215 object's description is NULL, and a client
5216 requests it. An empty string is now returned.
5218 * cspi/spi_editabletext.c:
5219 * cspi/spi_hypertext.c:
5221 * cspi/spi_hyperlink.c:
5225 Doc coverage now 95%.
5227 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5229 One last namespacing revision:
5230 * libspi/accessibleeventlistener.[ch]:
5231 Renamed SpiAccessibleEventListener to SpiEventListener,
5232 (no need for two namespaces ;-)
5234 And lots of documentation fixes:
5236 * docs/at-spi-docs.sgml:
5237 Fixed 'underscore vs. hyphen' bug that was preventing
5238 the gtk-doc API docs from being automatically generated.
5241 * cspi/spi-listener.h
5243 * cspi/spi_accessible.c
5245 * cspi/spi_application.c
5246 * cspi/spi_component.c
5247 * cspi/spi_editabletext.c
5249 * cspi/spi_hypertext.c
5251 * cspi/spi_registry.c
5252 * cspi/spi_selection.c
5256 * docs/at-spi-docs.sgml
5257 * docs/at-spi-sections.txt
5259 Added and fixed up gtk-doc documentation in cspi.
5261 Interfaces now (fully) documented (subject to revision and enhancement):
5263 Event Listener Support
5265 AccessibleApplication
5269 AccessibleEditableText
5276 AccessibleRelationSet
5281 2001-11-14 Bill Haneman <bill.haneman@sun.com>
5283 * at-bridge/bridge.c:
5284 Initial work for toolkit-level key snooper connection by bridge.
5289 New typedefs and fixes to support new namespacing, and cleaner
5290 separation of cspi bindings from libspi bonobo implementation.
5291 Removed inconsistent and extraneous Spi* namespace prefix that
5292 had crept into cspi headers.
5293 Lots of comment fixes that sed had missed.
5295 * cspi/spi-roletypes.h:
5296 * cspi/spi-statetypes.h:
5297 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
5298 to AccessibleRoleType.
5300 * libspi/accessibleeventlistener.h:
5301 Fixed minor namespacing weirdness.
5303 * libspi/deviceeventcontroller.c:
5304 Reordered some internal API for device listeners.
5305 Changed the key registry final boolean to 'is_system_global'
5306 rather than 'is_synchronous', which is more descriptive of its
5308 Added spi_device_event_controller_new().
5309 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
5311 * libspi/keystrokelistener.[ch]:
5312 Namespaced KeystrokeListener to SpiKeystrokeListener.
5313 Changed uses of keymasks to use SPI_ prefix, and did other
5316 * libspi/keymasks.h:
5317 Namespaced keymask constants with SPI_ prefix.
5319 * libspi/registry.c:
5320 Some warning fixes, and knock-on fixes from namespace changes.
5323 Added rules for accessx-gui test program.
5325 * test/accessx-gui.c:
5326 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
5327 utility. It doesn't actually use at-spi, but it's still cool and
5330 * test/keysynth-demo.c:
5334 Fixes so that these test clients work properly with the namespaced
5335 libraries. (Incompletely tested for technical reasons, fixes may follow)
5338 2001-11-13 Michael Meeks <michael@ximian.com>
5340 * libspi/application.c
5341 (impl_accessibility_application_get_version),
5342 (impl_accessibility_application_get_toolkit_name):
5344 (impl_accessibility_application_set_id),
5345 (impl_accessibility_application_get_id): remove
5346 redundant casting code.
5348 * libspi/action.c (impl_getDescription): fix warnings.
5350 * libspi/accessible.c
5351 (impl_accessibility_accessible_get_parent),
5352 (impl_accessibility_accessible_get_child_at_index),
5353 (impl_accessibility_accessible_get_state),
5354 (impl_accessibility_accessible_get_relation_set):
5355 warning fixes & include action.h
5357 2001-11-13 Michael Meeks <michael@ximian.com>
5359 * *.[ch] fix bits I screwed up:
5361 s/([^ \tb(\*\&\?\",])spi_/\1/g;
5362 s/([^ \tb(\*\&\?\",])Spi/\1/g;
5364 2001-11-13 Michael Meeks <michael@ximian.com>
5366 * *.[ch] Namespace libspi into spi_ and Spi.
5368 2001-13-11 Michael Meeks <michael@ximian.com>
5370 * Makefile.am: dist & install at-spi-1.0.pc
5372 * libspi/Makefile.am: install into at-spi-1.0
5374 * idl/Makefile.am (idldir): install into at-spi-1.0
5376 * at-spi-1.0.pc.in: add.
5378 * configure.in: build it.
5380 2001-11-12 Bill Haneman <bill.haneman@sun.com>
5382 * test/keysynth-demo.c:
5383 Use a 'realize' signal-handler to set the WM properties for
5384 the virtual keyboard, rather than making it a "POPUP" type
5385 override-redirect window (thanks to anders carlsson for that
5388 2001-11-11 Bill Haneman <bill.haneman@sun.com>
5391 * test/keysynth-demo.c:
5392 Added new test of key synthesis, which creates a simple
5393 (mouse-operated) onscreen keyboard. It inserts key events into
5394 the currently-focused window, thus it does not grab keyboard focus
5397 * cspi/spi_registry.c:
5398 Added C binding for AT-SPI generateKeyEvent.
5400 * libspi/deviceeventcontroller.c:
5401 Added call to XFilterEvent so that key listener works with XIM (we
5402 hope). Added event_synth_type to generateKeyEvent, so that we can
5403 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
5404 synthesize a press/release pair for KeySyms.
5406 2001-11-09 Bill Haneman <bill.haneman@sun.com>
5408 * libspi/Makefile.am:
5409 * registryd/Makefile.am:
5410 (temporary) hack to include libXtst in libspi and registryd.
5411 (Needed for keystroke synthesis, see below).
5414 Improved API for registerKeystrokeListener, in accordance with
5415 discussions with Gnopernicus team and X server research.
5417 * libspi/registry.c:
5418 * libspi/deviceeventcontroller.c:
5419 * libspi/accessible.c:
5420 * libspi/keystrokelistener.c:
5421 Changes and fixes to support keylisteners for potentially
5422 consumed key events (that is, 'passive grabs').
5423 Added implementation for generateKeyEvent() [untested].
5426 Changes to registerKeystrokeListener() API, as above.
5427 Added deregisterGlobalEventListenerAll(), and
5428 deregisterKeystrokeListener(), which are needed for clean exit of
5430 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
5431 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
5433 * cspi/spi_registry.c:
5434 Added implementations of function prototypes mentioned above.
5436 * registryd/registryd.c:
5437 Added the key listener event source as a g_timeout(), to allow
5438 receipt of key events that are not caught by GDK (since GDK
5439 doesn't support passive keygrabs, this was necessary).
5442 Changed to attach a keylistener to 'Alt' keys, and
5443 respond to the following keycommands: Alt-M (toggle magnifier);
5444 Alt-F (toggle speech); Alt-Q (quit).
5445 Added an exit routine to deregister the listeners, and a key
5446 listener that prints some key info to the console when a key
5447 matches the listener mask (and is thus received by the listener).
5449 * util/idl/Magnifier.idl:
5450 Changes to magnifier API to support multiple zoom regions,
5451 non-uniform scaling in x and y, markDirty, and a host of other
5452 features that would be useful to magnification.
5455 * util/mag_client.c:
5456 * util/mag_client.h:
5457 * util/mag_control.c:
5459 Source code changes to support the above IDL changes.
5462 As above, and also changes to use a (slower) generic conversion
5463 path for colormap conversions, since the fast RGB conversions have been
5464 reported to fail for 16-bit displays.
5466 2001-10-26 Michael Meeks <michael@ximian.com>
5468 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
5470 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
5472 * at-bridge/Makefile.am: fix LDFLAGS.
5474 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5476 * at-bridge/bridge.c:
5477 Re-worked listeners for toolkit events, now we have signal
5478 and property listeners. Added a private method
5479 register_atk_event_listeners(), which registers with the
5480 various atk and gtk signals we need to monitor in order to emit
5482 Added emission hook for AtkObject:property-change events, to
5483 support the 'property listeners'.
5484 Fixed some alloc()s of Accessibility_Event structs to use CORBA
5487 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
5488 which emit warnings and exit, respectively, if CORBA errors occur
5489 during remote calls, and we now use these methods to check most of
5490 our CORBA calls in the C bindings.
5492 * cspi/spi_accessible.c:
5493 Changed AccessibleSelection_refSelectedChild() to
5494 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
5495 now increment refcounts.
5497 * cspi/spi_component.c:
5498 Fixed some long pointer casts (dangerous!) to pass pointers to
5499 CORBA_longs of the proper type to the CORBA stubs, and copy the
5500 data into the longs that were passed into the C bindings code.
5502 * at-bridge/bridge.c:
5504 * libspi/accessible.c:
5505 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
5506 hyperlinks, AtkHyperlink is an object type.
5508 * libspi/application.c:
5509 Added various conversions to and from "generic" event types and
5510 atk-specific types; this is really part of the 'bridge'
5511 implementation but is valid for all AtkObject-based accessibility
5514 * libspi/editabletext.c:
5515 Fixed nasty bug wherein editable text's finalize method was
5516 unref'ing tha AtkObject reference that the text parent class was
5517 about to unref _again_. There was also a nasty inheritance bug
5518 that meant that the AccessibleEditableText class was corrupt.
5520 * libspi/selection.c:
5521 Provided implementations for some selection API that was broken.
5523 * idl/Application.idl:
5524 Added registerObjectEventListener () method.
5527 Fixed a number of return values that were Bonobo_Unknowns from
5528 bonobo_object_corba_objref(), which I
5529 forgot to dup before returning. Changed instances of
5530 bonobo_object_corba_objref (bonobo_object(o)) to
5531 BONOBO_OBJREF(o), for concision and clarity.
5533 2001-10-13 Louise Miller <louise.miller@sun.com>
5535 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
5536 idl/Event.idl, idl/Registry.idl
5537 Changed these files to include Bonobo_Unknown.idl instead
5540 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
5542 * libspi/component.c libspi/component.h:
5543 Fixed typo. Added assertions for object checks in
5544 AccessibleComponent code.
5546 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5548 * idl/Accessible.idl:
5549 Added 'isEqual (Accessible *object)'
5550 method for Accessible. (Not Yet Implemented).
5553 Changed signature of registerKeystrokeListener() to
5554 take a KeySet and KeyEventSeq so that specific keys and event
5555 types could be requested for monitoring, and added a flag
5556 is_synchronous so that either synchronous or asynchronous
5557 notification could be requested. (However this is not all
5558 implemented yet). This also meant adding two new typedefs,
5559 KeyEventSeq and KeySet.
5562 Added two new relations, RELATION_TOOLTIP_FOR and
5563 RELATION_LEAFNODE_OF.
5566 Added new state, STATE_HAS_TOOLTIP.
5568 * libspi/text.c, editabletext.c:
5569 Added new assertions to all casts of bonobo-objects from
5570 CORBA servants, to prevent Text API calls on non-text objects.
5571 Changed suspect casts of int-pointer types, so that we
5572 always send a valid CORBA_long pointer to the CORBA APIs that use
5573 in/out long parameters. We then have to copy from the CORBA_long
5574 into the regular long or int for return to the C bindings, or
5575 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
5578 * libspi/deviceeventcontroller.c:
5579 Cleaned these sources up.
5581 Changed return type for getCharacterAtOffset to
5582 CORBA_unsigned_long, to allow for 32-bit characters.
5585 2001-10-08 Bill Haneman <bill.haneman@sun.com>
5589 Fixed 'make dist' so that distro compiles...
5590 * libspi/keymasks.h:
5592 * cspi/spi-listener.c:
5593 KeystrokeListenerCB now returns a boolean.
5595 Added KeyEventType struct, and KeyStroke.
5596 Also added createKeystrokeListener(),
5597 KeystrokeListener_addCallback(),
5598 KeystrokeListener_removeCallback(), and added a keymask to
5599 registerKeystrokeListener().
5600 * cspi/spi_accessible.c:
5601 Changed numerous return types for interfaces from
5602 AccessibleComponent to Accessible<InterfaceName>; this was
5603 probably a cut-and-paste error.
5605 Implementations of new KeystrokeListener api (from spi.h,
5608 Changes to key modifier mapping.
5609 Created ControllerEventMask struct.
5610 Made DeviceEventController derive from Bonobo::Unknown.
5612 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
5613 * libspi/deviceeventcontroller.c:
5614 Added a number of new internal (private) methods.
5615 * libspi/editabletext.c:
5616 * libspi/editabletext.h:
5617 Fixed a number of bugs related to the fact that
5618 editabletext inherits from text. Fixed the EditableText struct,
5619 the init() call, and use correct casts when calling Text methods
5620 from an EditableText object. Removed (duplicate) atko from the
5621 EditableText structure, we use the one in the parent Text
5622 structure via the casts mentioned above.
5623 * libspi/keystrokelistener.[ch]:
5624 * libspi/registry.c:
5625 Changes in support of keyboard handling (above).
5627 Keyboard handling, though partly functional, is still not
5628 recommended for at-spi client use as there is considerable
5629 work yet to be done.
5632 Changed some places where pointers to various int types
5633 are cast to be pointers to CORBA_long types and vice-versa:
5634 pointer casting is not safe so we pass pointers of the correct
5635 types and then cast the result before putting it into the target
5638 * libspi/text.h: minor typos corrected.
5640 We now speak not only the name of a Text element, but the
5641 first sentence of its content, when it receives focus.
5642 I also changed the text compression to 75% from 50%.
5643 * util/Accessibility_Util.server.in:
5644 Changed the default magnifier type to be a 3x vertical
5645 splitscreen magnifier (was previously a 2x horizontal one).
5647 2001-10-03 Bill Haneman <bill.haneman@sun.com>
5649 * libspi/keystrokelistener.h:
5650 * libspi/keystrokelistener.c:
5651 Initial functional implementations of KeystrokeListener.
5654 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
5656 Fixed string handling for NULL strings in libspi.
5657 Added spi_freeString to free strings returned by C bindings.
5659 2001-09-30 Bill Haneman <bill.haneman@sun.com>
5661 * libspi/keystrokelistener.h:
5662 * libspi/keystrokelistener.c:
5663 Began (no-op) implementations of KeystrokeListener
5665 * libspi/deviceeventcontroller.c:
5666 * libspi/deviceeventcontroller.h:
5667 Began creating implementations of DeviceEventController,
5668 to handle keystroke and mouse event listening and
5670 * libspi/accessible.c:
5671 Stubbed-in the implementations for
5672 Accessibility_Accessible_getState and
5673 Accessibility_Accessible_getRelationSet.
5674 * libspi/registry.c:
5675 Improved de-registration process and fixed some bugs,
5676 deregistration now works correctly.
5678 Added initialization of applications list (to NULL).
5680 Reduced speech compression from 0.5 to 0.7, for demo.
5681 Changed call to gdk_window_set_decorations()
5682 to gtk_window_set_decorated().
5683 * at-bridge/bridge.c:
5684 Bridge now deregisters when app exits, via
5685 registration of a cleanup function
5686 with the g_atexit() call.
5687 Required making 'app' static, renamed 'this_app'.
5688 Fixed broken use of bonobo_init, passing argv wrongly.
5690 2001-09-27 Bill Haneman <bill.haneman@sun.com>
5694 Created a new directory for
5695 accessibility-related utilities, primarily for
5696 testing and demo purposes, but with possible
5703 Onscreen magnifier utility that
5704 is implemented as a bonobo service.
5706 * util/mag_client.c:
5707 * util/mag_client.h:
5708 Client-side support (simple C bindings)
5709 for Magnification service
5711 * util/mag_control.c:
5712 Client program example for
5713 Magnification service
5715 * util/Accessibility_Magnifier.server.in:
5716 Bonobo-activation file for the
5717 Magnification service.
5720 * util/idl/Magnifier.idl:
5721 IDL defining the bonobo Magnification
5725 Modifications to use the bonobo-activated magnifier
5726 above, in place of trying to connect to an existing
5727 magnifier that uses socket-listening IPC.
5729 If env variable MAGNIFIER is set, a magnifier service
5730 will be started if one does not exist.
5732 2001-09-25 Bill Haneman <bill.haneman@sun.com>
5734 * at-bridge/bridge.c:
5735 applied patch from Marc to build and run
5736 against new glib and gtk+ (seemed like a change
5737 to bonobo_init signature was made ?)
5739 made festival-server support turned off by default.
5740 Added support for a simple magnifier (off by default)
5741 which will be added to a 'util' directory later.
5742 * at-bridge/Makefile.am:
5743 Changed "application.h" header from a 'source'
5744 to a 'dependency' of libat-bridge.
5746 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
5755 Added interface implementation c files to list of
5756 includes so they are included in libcspi.
5759 Changed prototype of AccessibleAction_doAction to return a
5761 Changed prototype of AccessibleTable_getCaption to
5762 return an Accessible.
5763 Changed prototype of AccessibleTable_getSelectedRows
5764 and AccessibleTable_getSelectedColumns to
5765 return a long (returns the number of selected rows
5766 or columns respectively).
5767 Changed name of AccessibleText_refRunAttributes to
5768 AccessibleText_getAttributes.
5769 Changed prototype of AccessibleText_getCharacterExtents to
5770 return a void rather than a boolean.
5771 Added support for a AccessibleCoordType parameter
5772 specifying what type of coordinates are desired.
5773 Added an AccessibleCordType parameter to
5774 AccessibleText_getPointAtOffset.
5776 * cspi/spi_accessible.c:
5777 Added code to return the outstanding interfaces from
5778 Accessible_queryInterface.
5780 * cspi/spi_action.c:
5782 Corrected call to getNActions to call the c binding
5785 * cspi/spi_editabletext.c:
5787 Changed name from setRunAttributes to setAttributes.
5789 * cspi/spi_hyperlink.c:
5791 Changed call to getNAnchors to correctly call the c
5792 binding for an attribute.
5794 * cspi/spi_hypertext.c:
5796 Changed getImageDescription to correctly call the
5797 binding for an attribute.
5799 * cspi/spi_selection.c:
5800 Changed getNSelectedChildren to correctly call the c
5801 binding for the attribute.
5802 Changed refSelectedChild to getSelectedChild.
5806 Changed getCaption to return an Accessible.
5807 Fixed calls which retrieve attributes.
5808 Changed refAt to getAccessibleAt.
5809 Changed getNSelectedRows and getNSelectedColumns to
5813 Changed getCharacterExtents and getPointAtOffset to accept an
5814 AccessibleCoordType.
5816 Changed calls which retrieve attributes.
5817 Changed refRunAttributes to getAttributes.
5822 * idl/Hyperlink.idl:
5823 Changed n_anchors attribute to nAnchors to keep naming
5824 convention consistent.
5827 Made Table inherit from Bonobo::Unknown.
5828 Added nSelectedColumns and nSelectedRows attributes.
5831 Made Value inherit from Bonobo::Unknown.
5833 * libspi/hyperlink.c:
5834 Change for nAnchors attributte name change.
5836 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
5844 Added interface implementation c files to list of
5845 includes so they are included in libcspi.
5848 Changed prototype of AccessibleAction_doAction to return a
5850 Changed prototype of AccessibleTable_getCaption to
5851 return an Accessible.
5852 Changed prototype of AccessibleTable_getSelectedRows
5853 and AccessibleTable_getSelectedColumns to
5854 return a long (returns the number of selected rows
5855 or columns respectively).
5856 Changed name of AccessibleText_refRunAttributes to
5857 AccessibleText_getAttributes.
5858 Changed prototype of AccessibleText_getCharacterExtents to
5859 return a void rather than a boolean.
5860 Added support for a AccessibleCoordType parameter
5861 specifying what type of coordinates are desired.
5862 Added an AccessibleCordType parameter to
5863 AccessibleText_getPointAtOffset.
5865 * cspi/spi_accessible.c:
5866 Added code to return the outstanding interfaces from
5867 Accessible_queryInterface.
5869 * cspi/spi_action.c:
5871 Corrected call to getNActions to call the c binding
5874 * cspi/spi_editabletext.c:
5876 Changed name from setRunAttributes to setAttributes.
5878 * cspi/spi_hyperlink.c:
5880 Changed call to getNAnchors to correctly call the c
5881 binding for an attribute.
5883 * cspi/spi_hypertext.c:
5885 Changed getImageDescription to correctly call the
5886 binding for an attribute.
5888 * cspi/spi_selection.c:
5889 Changed getNSelectedChildren to correctly call the c
5890 binding for the attribute.
5891 Changed refSelectedChild to getSelectedChild.
5895 Changed getCaption to return an Accessible.
5896 Fixed calls which retrieve attributes.
5897 Changed refAt to getAccessibleAt.
5898 Changed getNSelectedRows and getNSelectedColumns to
5902 Changed getCharacterExtents and getPointAtOffset to accept an
5903 AccessibleCoordType.
5905 Changed calls which retrieve attributes.
5906 Changed refRunAttributes to getAttributes.
5911 * idl/Hyperlink.idl:
5912 Changed n_anchors attribute to nAnchors to keep naming
5913 convention consistent.
5916 Made Table inherit from Bonobo::Unknown.
5917 Added nSelectedColumns and nSelectedRows attributes.
5920 Made Value inherit from Bonobo::Unknown.
5922 * libspi/hyperlink.c:
5923 Change for nAnchors attributte name change.
5926 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
5928 implementations-- made server implementations own AtkObject pointers
5929 rather than their respective AtkInterrface pointers to fix
5930 refcounting. AtkHyperlink is still broken.
5932 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5933 * cspi/spi_accessible.c:
5934 Added method Accessible_Role_getName(),
5935 and requisite string array (role_names).
5936 Added conversion string_from_corba_strin() call
5937 to Accessible_getName and _getDescription.
5938 * libspi/accessible.c:
5939 Added implementation for Accessible_getRole()
5941 Added festival support, used if environment variable
5944 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5946 * at-bridge/bridge.c:
5947 Now allocate Accessibility_Event using
5948 Accessibility_Event__alloc() instead of g_new0().
5949 * libspi/accessibleeventlistener.c:
5950 Initialize AccessibleEventListener->callbacks to NULL.
5951 Fixed accessible__event_listener_init() param, changed to
5952 "AccessibleEventListener *" type.
5953 Changed a bonobo_object_release_unref() call to
5954 Accessibility_Accessible_unref().
5955 * libspi/listener.c:
5956 Changed Bonobo_Unknown_unref to (equivalent)
5957 Accessibility_Accessible_unref.
5958 * libspi/registry.c:
5959 Changed bonobo_object_release_unref to
5960 Accessibility_Accessible_unref.
5962 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
5965 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
5966 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
5967 spi-util.c spi-util.h
5968 Implementations for C bindings to remaining accessibility
5971 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
5974 changed return value of Action from void to boolean to
5975 bring in line with ATK.
5978 Changed getText funcions to return "out" start and end offsets.
5979 Changed getAttributes to take and offset and return the start
5980 and end offset of the attribute run.
5981 Changed getOffsetAtPoint and getCharacterExtents to take an
5982 enum describing whether coordinates are window or screen.
5985 libspi/action.c libspi/action.h libspi/editabletext.c
5986 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
5987 libspi/hypertext.c libspi/hypertext.h libspi/image.c
5988 libspi/image.h libspi/selection.c libspi/selection.h
5989 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
5990 libspi/value.c libspi/value.h
5991 Added server implementations for outstanding ATK interfaces
5992 not yet implemented.
5994 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5997 Added (missing) getName() method.
5998 Made nActions an attribute.
5999 * idl/EditableText.idl:
6000 Changed order of params in setAttributes.
6001 * idl/Hyperlink.idl:
6002 Removed getAnchor, added getURI.
6004 Changed attributes to methods, for efficiency
6005 (so that getting extents can be done in one call)
6006 * idl/Selection.idl:
6007 Changed nSelectedChildren to attribute, and re-indented.
6008 * idl/Table.idl: changed nrows, ncolumns, caption, summary
6010 * idl/Text.idl: reformatted to match our coding style.
6011 (temporarily?) removed getRowColumnAtOffset().
6012 Changed text selection API to support multi-select and
6013 non-contiguous selections, as in ATK.
6014 * idl/Value.idl: changed some methods to attributes.
6016 2001-08-24 Mark McLoughlin <mark@skynet.ie>
6018 * libspi/listener.c(impl_notify_event):
6019 BonoboUnkown_unref the source instead
6020 of bonobo_object_release_unref - the ORB
6021 handles the releasing.
6023 * configure.in: require ORBit-2.3.94 for
6026 2001-08-21 Bill Haneman <bill.haneman@sun.com>
6028 Tagged CVS repository 'EA_1_0'.
6029 * README.EARLY_ACCESS:
6030 Alphabetized acknowledgements list, and
6032 Listed some known dependencies of at-spi.
6034 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6036 * docs/at-spi-docs.sgml:
6037 * docs/at-spi-sections.txt:
6038 * docs/at-spi-overrides.txt: (Added zero-length file)
6039 Documentation improvements - gtk-doc should build
6040 docs for all implemented C bindings now.
6043 * cspi/spi.c: (New file)
6044 * cspi/spi_event.c: (New file)
6045 * cspi/spi_registry.c: (New file)
6046 * cspi/spi_accessible.c: (New file)
6047 * cspi/spi_application.c: (New file)
6048 * cspi/spi_component.c: (New file)
6049 Split spi_main.c into six parts, and included them from
6050 "spi.c". This is a bit of a hack, probably temporary,
6051 but required by gtk-doc, apparently.
6053 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6056 * docs/at-spi-docs.sgml:
6057 * docs/at-spi-sections.txt:
6059 Initial checkins/modifications for gtk-doc generation.
6062 Added (missing) interface query methods to Accessible's C binding.
6064 Added GenericInterface type definition.
6066 Added query for AccessibleComponent interface to focus event handler.
6067 Added printout of bounding box for focussed component.
6068 * libspi/component.c:
6069 Added partial implementation for AccessibleComponent to C binding.
6070 * idl/Application.idl:
6071 * libspi/registry.c:
6072 * libspi/listener.c:
6073 * libspi/application.c:
6074 * libspi/application.h:
6075 Changed "ID" attribute type from string to long.
6077 2001-08-19 Bill Haneman <bill.haneman@sun.com>
6081 Made method naming consistent: methods taking object args
6082 start with uppercase, other methods (except those using
6083 acronyms) start with lowercase. Underscores delimit between
6084 object names and method names:
6085 SPI_init() - uppercase since it starts with an acronym.
6086 getDesktopCount () - lowercase start since no object param0.
6087 Accessible_getName() - uppercase object type name, studlyCaps method
6091 Added gtk-doc documentation for all currently implemented
6092 methods in the C bindings API.
6094 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6096 * Makefile.am : changed build order to build test last.
6099 Changed "createEventListener" to "CreateEventListener".
6100 * libspi/accessibleeventlistener.c :
6101 Bugfix for addition of callbacks.
6102 * test/Makefile.am :
6103 * test/simple-at.c :
6104 Added new test that uses the C bindings API.
6106 * libspi/listener.c :
6107 * libspi/registry.c :
6108 * libspi/accessibleeventlistener.c :
6109 * at-bridge/bridge.c :
6110 Renamed member "target" of Accessibility_Event to "source",
6111 which is more descriptive.
6114 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6118 * cspi/Makefile.am :
6119 Added makefile support for at-spi/cspi directory.
6122 * cspi/spi-listener.h : (NEW FILE)
6123 Added support for/use of spi-listener.h.
6125 C bindings now build successfully, with no warnings.
6126 * libspi/accessibleeventlistener.h : (NEW FILE)
6127 * libspi/accessibleeventlistener.c : (NEW FILE)
6128 * libspi/Makefile.am :
6129 Added new object type "AccessibleEventListener"
6130 which inherits from Listener, and allows attachment
6131 of in-process callbacks (so that a client with a listening
6132 object instance can add functionality to the local
6133 implementation, dynamically).
6135 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6137 * libspi/accessible.c:
6138 Add implementation for get_index_in_parent().
6140 Added #include of "spi-roletypes.h", and
6141 added enumerated type AccessibleCoordType.
6142 Added definition for KeystrokeListener (function type).
6145 * cspi/spi-statetypes.h :
6146 * cspi/spi-roletypes.h :
6148 Added these headers, used by spi.h.
6150 Added code (NOTE: not yet built by make).
6152 2001-08-18 Mark McLoughlin <mark@skynet.ie>
6154 * libspi/Makefile.am: generate imodule
6155 at the same time as other idl compiler
6158 2001-08-17 Bill Haneman <bill.haneman@sun.com>
6159 * libspi/registry.c :
6160 * libspi/application.c :
6161 * idl/Application.idl :
6162 Made registration with toolkit an application method,
6163 which is required since each app has its own toolkit static
6164 environment. Thus the bridge must register for
6165 notification of toolkit events from each application in turn.
6166 Toolkit notifications are now successfully registered for, and
6167 sent to the listening at client.
6169 Changed toolkit event string to use hyphens rather than underscores.
6170 * libspi/listener.c :
6171 listner now gives more info in debug mode - it reports the
6172 name of the event received, as well as the name of the source.
6175 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6177 * libspi/registry.c :
6178 added more implementation for toolkit events.
6179 Fixed bug such that toolkit event registrations
6180 (via atk) use the whole event name string, not
6182 Removed a useless call to an ORBit_ method.
6183 * at-bridge/bridge.c :
6184 Removed unused local sbuf[] variable.
6186 We now register for Gtk:GtkWidget:button_press_event
6187 events as well as "focus:" events.
6189 Add some more API from Registry.idl that was missing,
6190 for keystroke listening, keystroke and mouse event
6191 synthesis, and enumeration of accessible desktops.
6193 2001-08-16 Michael Meeks <michael@ximian.com>
6195 * configure.in: use AM_GLIB_GNU_GETTEXT.
6197 * Makefile.am (SUBDIRS): kill intl.
6199 2001-08-15 Michael Meeks <michael@ximian.com>
6201 * registryd/Makefile.am: s/oaf/server/ relocate info file.
6203 * configure.in: upd.
6205 * configure.in: depend on a recent bonobo-activation that
6206 will find our server files ...
6208 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6210 * libspi/accessible.c : accessible_new() :
6211 Now we add the Component interface via bonobo_object_add_interface,
6212 if the contained AtkObject implements AtkComponent.
6213 * libspi/accessible.h : now include "component.h"
6214 * libspi/component.h :
6215 * libspi/component.c : added files - implementation of
6216 bonobo wrapper object for Accessibility/Component
6217 * libspi/listener.c :
6218 Added test code to check for Accessibility/Component:1.0
6219 interface and report whether it is implemented by the
6221 * libspi/registry.c :
6222 Now we check for not only the hash of the whole event
6223 string before relaying the event, we also check the
6224 "minor" event string (without the detail string).
6225 This allows event listeners to be registered against
6226 all events of a certain major+minor type, or just
6227 against a specific major+minor+detail type.
6228 * libspi/accessible.c :
6229 Added implementations for Accessible:get_parent(),
6230 Accessible:getChildCount(), and Accessible:getChildAtIndex().
6231 * libspi/registry.c :
6232 * libspi/listener.c :
6233 Replaced calls to Accessibility_Accessible_ref() and
6234 Accessibility_Accessible_unref() with
6235 calls to bonobo_object_dup_ref() and
6236 bonobo_object_release_unref(), so that the CORBA object
6237 is dup-ed and released when relayed, as well as the bonobo object.
6239 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6241 * libspi/Makefile.am,
6242 registryd/Makefile.am,
6243 at-bridge/Makefile.am.
6244 test/Makefile.am, configure.in:
6245 reverse previous changes.
6247 * /idl/Image.idl: fix typo.
6249 * test/Makefile.am: put DEBUG_FLAGS
6252 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6254 * test/app.c: use argv[0] instead of
6257 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6259 * libspi/Makefile.am,
6260 registryd/Makefile.am,
6261 at-bridge/Makefile.am.
6262 test/Makefile.am, configure.in:
6263 cleanup, replace individual LIBS/CFLAGS with
6264 AT_COMMON_{LIBS|CFLAGS}.
6268 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6270 * configure.in, libspi/Makefile.am:
6271 Change IDL path checking for bonobo-activation
6274 2001-08-15 Bill Haneman <bill.haneman@sun.com>
6276 * registryd/registry.c : separated event listeners to use
6277 3 separate lists (focus, window, toolkit). Began testing
6278 event names against hashes before relaying events.
6279 * test/at.c : now register for events of type "focus:"
6280 * test/app.c : now generate events of type "focus:"
6281 * at-bridge/bridge.c : register with ATK for focus events,
6282 and we now relay those focus events to any "focus:" listeners.
6283 This now works with the bridge as a GTK_MODULE when running test/at.
6284 * libspi/registry.c :
6285 * libspi/listener.c :
6286 now we ref event sources before propagating, and unref on receipt.
6287 * libspi/registry.c :
6288 some changes to internal structs, to support event typestring hashes.
6289 * text/app.c : changed the way the appname is generated.
6290 * cspi : added directory that will hold the C bindings library for
6291 non-CORBA/bonobo-savvy clients.
6292 * cspi/spi.h : header file that contains the function prototypes for the C binding.
6293 * idl/Component.idl : added in parameter to indicate coord system for
6294 geometry-related calls.
6295 * idl/Hyperlink.idl : added readonly n_links attribute
6296 * idl/Image.idl : changed methods to attributes.
6298 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6300 * at-bridge/Makefile.am: link against
6301 ../libspi/libspi.la instead of -lspi.
6303 * at-spi/test/app.c: include
6304 bonobo-activation.h. Use a default appname
6305 if one is not provided.
6307 2001-08-14 Bill Haneman <bill.haneman@sun.com>
6309 * idl/Registry.idl : temporarily changed register_Application
6310 to oneway, to work around issue with initial registration
6312 * idl/Application.idl : changed attribute "id" from readonly
6313 to read-write, since it needs to be assigned by Registry.
6314 * registryd/registryd.c : added call to set application id
6316 * registryd/registry.c : changed de-registration procedure to
6317 use CORBA_Object_hash() to find matching object ref in application
6318 lists and listener lists.
6319 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
6320 began distinguishing between event types (work in progress).
6322 2001-08-13 Bill Haneman <bill.haneman@sun.com>
6325 * libspi/application.c:
6326 Added implementations for get/set id, get_toolkitName,
6328 * registryd/registryd.c :
6332 Converted from use of OAF to bonobo-activation.
6333 * libspi/desktop.h :
6334 * libspi/desktop.c :
6336 Removed references to atksimpleobject, since base atkobject
6337 implementation now provides functionality we need.
6338 * libspi/atksimpleobject.c :
6339 * libspi/atksimpleobject.h :
6344 * at-bridge/Makefile.am
6345 * at-bridge/bridge.c
6348 Added directory "bridge" and contents, and added dependencies
6349 in Makefile.am/configure.in.
6350 Initial checkin of "at-bridge".
6351 This code is a GTK_MODULE which automatically registers
6352 GTK+ apps with the accessibility registry, using an object
6353 reference to the root ATK object.
6355 2001-08-10 Mark McLoughlin <mark@skynet.ie>
6357 * po/Makefile.in.in: Remove. Again. If this
6358 doesn't get autogenerated - you need to update
6361 2001-08-07 Mark McLoughlin <mark@skynet.ie>
6363 * po/Makefile.in.in: Add. Again.
6365 2001-07-31 Bill Haneman <bill.haneman@sun.com>
6367 * libspi/accessible.c : added support for 'description' property.
6368 * libspi/accessible.c
6370 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
6371 (since the two are now equivalent in libbonobo)
6379 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
6380 Bonobo::Unknown as does Accessibility::Accessible.
6381 * idl/StreamableContent.idl : as above, and replaced internal InputStream
6382 interface with Bonobo::Stream, since it was redundant with it.
6383 (The Stream returned by a StreamableContext object is expected to
6384 implement only a subset of Bonobo::Stream)
6386 2001-07-28 Anders Carlsson <andersca@gnome.org>
6388 * libspi/accessible.c (accessible_object_finalize): Change
6389 g_free to g_object_unref since the AtkObject is a GObject.
6391 2001-07-30 Bill Haneman <bill.haneman@sun.com>
6393 * idl/Accessibility.idl: add new IDL files
6396 * idl/Action.idl: Definitions of actionable UI object
6397 * idl/Component.idl: Definitions of UI component geometry, etc.
6398 * idl/Hyperlink.idl: Defs of hyperlink behavior
6399 * idl/Image.idl: Def of accessible image
6400 * idl/Selection.idl: Definition of UI object with selectable children
6401 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
6402 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
6403 * idl/Text.idl: Interface defs for UI elements with complex textual content
6404 * idl/Value.idl: Definition of UI element that is a value controller or display
6406 2001-07-27 Michael Meeks <michael@ximian.com>
6408 * po/Makefile.in.in: remove autogenerated file from CVS.
6410 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
6413 * idl/Registry.idl: include guard.
6415 * idl/Accessibility.idl: Add, and include all the other IDL
6418 * idl/*.idl: remove mass of pragmas etc.
6420 2001-07-26 Michael Meeks <michael@ximian.com>
6422 * registryd/Makefile.am (registryd_SOURCES): remove
6425 2001-07-27 Mark McLoughlin <mark@skynet.ie>
6427 * libspi/.cvsignore, registryd/.cvsignore,
6428 test/.cvsignore: updated.
6430 * po/Makefile.in.in: gettext update.
6432 2001-07-25 Bill Haneman <bill.haneman@sun.com>
6434 * initial CVS checkin
6436 2001-06-29 Michael Meeks <michael@ximian.com>
6438 * configure.in: add AM_CONFIG_HEADER to gen config.h