1 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
3 * registryd/registry.[ch}:
4 Add queue_handler_id and focus_object to SpiRegistry data structure.
5 (registry_flush_event_queue): If event being discarded is
6 "state-change:focused" store object as focus_object.
7 (registry_start_queue): Remove queue handler and focus object
9 (registry_discard_event): New function which discards a focus event
10 if we had stored focus object in the registry.
11 (registry_queue_event): Add new check that is_queueing is set as this
12 function is reentrant.
13 (registry_filer_event): Add call to registry_discard_event.
15 This resolves issues raised in bug #108664.
17 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
19 * configure.in: Added "bn" to ALL_LINGUAS.
21 2003-09-04 Bill Haneman <billh@gnome.org>
23 * cspi/spi_event.c: Documentation improvements for
24 (SPI_registerAccessibleKeylistener).
26 * docs/reference/tmpl/spi_registry.sgml:
27 Documentation improvements for SpiAccessibleKeylistenerCB.
29 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
31 * configure.in: Added "ro" to ALL_LINGUAS.
34 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
36 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
37 not decremented to zero. Fixes bug #120725.
39 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
41 * configure.in: Added "ja" to ALL_LINGUAS.
43 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
45 * configure.in: Added "is" to ALL_LINGUAS.
47 2003-08-22 Christian Rose <menthos@menthos.com>
49 * configure.in: Added "nl" to ALL_LINGUAS.
51 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
53 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
54 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
56 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
58 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
59 type for unspecified exception.
60 * cspi_streamablecontect): Add include of string.h for memcpy.
61 (stream_release): Correct call to bonobo_object_release_unref
62 (stream_cache_item_free): Correct call to bonobo_object_release_unref
63 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
64 argument of _cspi_expection_throw.
65 * libspi/hyperlink.c: Add include of libspi/action.h:
66 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
67 * libspi/streamablecontent.c: add include of libspi/component.h.
68 * regisrtyd/deviceeventcontroller.c:
69 (spi_dec_translate_mask): Removed unused variable priv.
70 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
71 * registryd/registry.c:
72 (registry_filter_event): Remove unused variable queue_is-empty.
73 (impl_registry_notify_event): Use correct modifier in fprintf call.
75 This fixes compiler warnings reported in bug #120220.
77 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
79 * registryd/registryd.c: Remove this file.
81 2003-08-17 Sanlig Badral <badral@openmn.org>
83 * configure.in: Added mn to ALL_LINGUAS.
85 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
87 * configure.in: Added et to ALL_LINGUAS.
89 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
91 * test/event-listener-test.c: Change active-descendant to
92 active-descendant-changed.
94 2003-08-10 Sami Pesonen <sampeson@iki.fi>
96 * configure.in: Added "fi" in ALL_LINGUAS.
98 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
100 * configure.in: Added "hi" in ALL_LINGUAS.
102 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
104 * configure.in: Revved to 1.3.6.
108 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
110 * registryd/deviceeventcontroller.c
111 (spi_device_event_controller_object_finalize): Fix typo in previous
114 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
116 * registryd/deviceeventcontroller.c
117 (spi_device_event_controller_object_finalize): Fix build on
118 systems without XEvIE.
120 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
122 * acconfig.h, configure.in, registryd/Makefile.am,
123 registryd/devicecontoller.[ch]: Add XEViE support.
125 2003-08-06 Wang Jian <lark@linux.net.cn>
127 * configure.in: Added "zh_CN" to ALL_LINGUAS.
129 2003-08-06 Metin Amiroff<metin@karegen.com>
131 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
133 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
135 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
136 MODIFIER_ALT in correct place.
138 This fixes part of bug #118114.
140 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
142 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
144 2003-07-28 Changwoo Ryu <cwryu@debian.org>
146 * configure.in: Added "ko" to ALL_LINGUAS.
148 2003-07-28 Ole Laursen <olau@hardworking.dk>
150 * configure.in: Added "da" to the commented out ALL_LINGUAS.
152 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
154 * configure.in: Added "sq" to ALL_LINGUAS.
156 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
158 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
160 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
162 * configure.in: updated ALL_LINGUAS list
164 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
166 * configure.in: Added Belarusian to ALL_LINGUAS.
168 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
170 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
172 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
173 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
175 This fixes bug #116949.
177 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
179 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
180 Correct CSPI to SPI in function documentation.
182 This fixes bug #118054.
184 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
186 * configure.in: Added Russian to ALL_LINGUAS.
188 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
190 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
192 2003-07-14 Danilo Šegan <dsegan@gmx.net>
194 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
196 2003-07-10 Joel Brich <joel.brich@laposte.net>
198 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
200 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
202 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
204 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
206 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
207 resources allocated for AccessibleEvent. See cspi_event().
209 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
210 static variable streams to NULL.
212 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
213 Update so that AcessibleEvent_ref will work.
215 This fixes bug #116624.
217 2003-07-06 Jordi Mallach <jordi@sindominio.net>
219 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
221 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
223 * configure.in: Added "fr" (French) to ALL_LINGUAS.
225 2003-07-02 Christian Neumair <chris@gnome-de.org>
227 * configure.in: Added "de" (German) to ALL_LINGUAS.
229 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
231 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
233 2003-07-01 Miloslav Trmac <mitr@volny.cz>
235 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
237 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
239 * configure.in: Added "pl" to ALL_LINGUAS.
241 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
243 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
245 2003-06-30 Bill Haneman <bill.haneman@sun.com>
248 (get_action_from_servant):
249 Removed assertion that action is implemented on an AtkObject.
251 * libspi/hyperlink.c:
253 Aggregate AccessibleAction interface on the hyperlink object if
254 the object implements AtkAction. (This convention is used in
257 2003-06-30 Bill Haneman <bill.haneman@sun.com>
259 * configure.in: Revved to 1.3.5.
261 * registryd/Accessibility_Registry.server.in.in:
262 Marked up appropriate strings for translation.
264 * atk-bridge/bridge.c: Marked a couple of
265 user-visible warnings for translation. Questionable
266 whether they are really useful, but possibly so.
269 2003-06-28 Christian Rose <menthos@menthos.com>
271 * configure.in: Added "sv" to ALL_LINGUAS.
273 2003-06-26 Bill Haneman <bill.haneman@sun.com>
275 * registryd/registry.c:
276 (spi_registry_object_finalize): Unref the deviceeventcontroller.
277 (registry_defer_on_event): Defer focus: events, this is an
278 improvement to the patch for bug #108664.
280 * TODO: Update with 2.4/"Dev Complete" items.
282 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
284 * atk-bridge/bridge.c:
285 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
286 looks up signals once.
287 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
288 if doing registration.
289 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
290 when doing registration.
292 This fixes bug #115014.
294 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
296 * atk-bridge/bridge.c:
297 (atk_bridge_init): Add signal handler for children-changed:remove on
298 root when in a BonoboComponent.
299 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
300 for first toplevel only other incrememt variable toplevels.
301 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
302 application and remove listeners.
303 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
305 (spi_atk_deregister_event_listeners): New function which removes
307 (reinit_register_vars): New fuction which reinitializes variables.
309 This fixes bug #111578.
311 2003-06-13 Bill Haneman <bill.haneman@sun.com>
313 * configure.in: version 1.3.4.
315 * cspi/spi_accessible.c:
316 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
319 2003-06-13 Michael Meeks <michael@ximian.com>
321 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
323 * cspi/spi_main.c (cspi_peek_ev): impl.
325 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
327 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
329 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
331 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
332 SPI_ROLE_AUTOCOMPLETE
334 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
336 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
337 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
339 2003-06-11 Bill Haneman <bill.haneman@sun.com>
341 * libspi/streamablecontent.h:
342 * libspi/streamablecontent.c:
343 New files, provide implementation/wrappers for
344 Accessibility_StreamableContent.
346 * cspi/spi_streamablecontent.c:
347 Connected the C wrappers to the libspi C bindings.
348 (AccessibleStreamableContent_close): New method.
351 (AccessibleStreamableContent_close): New method, needed
352 since we have an "open, [seek], read, close" model in cspi.
354 2003-06-11 Bill Haneman <bill.haneman@sun.com>
356 Fix for #108664; Padraig's revision of my original patch.
358 * registryd/registry.h:
359 Added event queue list, is_queuing, and exit_notify_timeout
360 to the registry struct.
362 * registryd/registry.c:
363 (registry_init): Initialize new struct from registry.h.
364 (impl_registry_notify_event):
365 Filter events before notifying, in case some need to be
367 (registry_filter_event): New,
368 we defer certain incoming events (for instance
369 window:deactivate) because we may wish to hide
370 or reject them based on pending events. This is
371 mostly a workaround for bug #108664.
372 (registry_queue_event, registry_start_queue): New.
373 (registry_defer_on_event): Test event to see if it
375 (registry_reset_on_event): Returns TRUE if the
376 event should cause a queue reset.
377 (registry_discard_on_event): Returns TRUE if the event
378 should cause the previous queue contents to be discarded.
379 (registry_timeout_flush_queue): Flushes the pending event
380 queue if no reset/discard-triggering events have come in
381 within the timeout period.
382 (registry_emit_event): New.
383 (registry_clone_notify_context): New, used when queueing the
384 event notify contexts.
386 2003-06-10 Bill Haneman <bill.haneman@sun.com>
388 * configure.in: Version revved to 1.3.2, lt 0.9.2
389 Incremented ATK required version to 1.3.4.
391 * cspi/spi_registry.c:
392 (SPI_generateKeyEvent):
393 We now pass the keystring along if it's non-null.
395 * registryd/deviceeventcontroller.c:
396 (keysym_mod_mask): New method, returns modifier mask
397 required to generate a keysym from a given keycode.
398 (dec_synth_keysym): New method.
399 (dec_synth_keystring): New method.
400 (dec_get_modifier_state): New method.
401 (dec_lock_modifiers): New
402 (dec_unlock_modifiers): New.
403 (dec_keysym_for_unichar): New, rather brute-force
404 conversion from UCS-4 to X KeySyms. Only works for
405 Latin at the moment, with partial implementations for
406 Greek, Hebrew, and (incomplete) Katakana.
407 (impl_generate_keyboard_event): Now implement
408 "KEYSTRING" synthesis and implement "KEYSYM"
410 (keycode_from_keysym): Improved, passes a returned
411 modmask value now if the corresponding param is non-NULL.
413 Fixes bugs #92143 and #109776.
416 * test/keysynth-test.c:
417 New test program for key synthesis, to confirm fixes for
421 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
423 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
425 * cspi/spi_accessible.c (cspi_init_relation_type_table):
426 Add line for RELATION_POPUP_FOR
428 * docs/reference/cspi/tmpl/spi_relation.sgml:
429 Add relation SPI_RELATION_POPUP_FOR
431 * docs/reference/cspi/tmpl/spi_stateset.sgml:
432 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
434 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
436 * libspi/relation.c (spi_init_relation_type_table):
437 Add line for RELATION_POPUP_FOR
439 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
441 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
442 there are still windows which have not been deleted and emit
443 window:deactivate, if necessary and window:destroy events.
444 This fixes bug #114370. The change on June 5th was not correct.
446 2003-06-09 Bill Haneman <bill.haneman@sun.com>
448 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
451 (SPI_dupString): Allow dup-ing of a string such that it's safe to
453 New methods for client exception handling and interception.
454 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
455 (SPI_exceptionHandlerPop): You guessed it...
456 (SPI_getSourceType): Return the type of object which offended.
457 (SPI_getExceptionCode): Return an enum code telling, possibly,
458 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
459 (SPIAccessibleException_getSource): get the source object for
460 exceptions that come from Accessibles, if SPIExceptionSourceType is
461 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
462 (SPIException_getDescription): New, returns a string description of
463 the problem. [Not yet a stable ABI, strings are not frozen]
465 * cspi/spi-private.h:
466 Added implementation details of opaque SPIException
470 Implementations of above. Also
471 (_cspi_exception_throw): new private method that
472 dispatches exceptions to handlers, called from cspi-bonobo.c
474 * cspi/bonobo/cspi-bonobo.c:
475 (cspi_check_ev): call _cspi_exception_throw.
476 Don't print a warning message if the exception has been
477 handled by _cspi_exception_throw.
479 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
481 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
482 there are still windows which have not been deleted and emit
483 window:deactivate, if necessary and window:destroy events.
484 This fixes bug #114370.
486 2003-06-03 Bill Haneman <bill.haneman@sun.com>
489 (cspi_accessible_is_a): Make non-fatal
490 if the object reference is dead.
492 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
494 * cspi/spi_main.c: #include <stdio.h>
495 * test/simple-at.c: ditto
496 * test/event-listener-test.c: ditto
497 * test/screen-review-test.c: ditto
499 2003-05-30 Michael Meeks <michael@ximian.com>
501 * test/test-simple.c (main): use CORBA_ORB_perform_work
502 instead of an unnecessary linc_ call.
504 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
506 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
507 Add SPI_STATE_INDETERMINATE.
509 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
512 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
514 * libspi/stateset.c (init_state_type_tables): Add support for
517 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
519 * configure: Update versions of atk and gail required.
520 This fixes bug #113268.
522 2003-05-02 Bill Haneman <bill.haneman@sun.com>
524 * configure.in: Revved micro version to 1.3.1 (because of build fix).
526 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
528 * libspi/Makefile.am:
529 Ensure headers are generated before being used by c sources.
531 2003-05-01 Bill Haneman <bill.haneman@sun.com>
534 Simplified lt versioning rules.
535 Incremented version to 1.3.0, to indicate that we're on the
538 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
540 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
541 Add MKDB_OPTIONS=--outtput-format=xml
543 * docs/reference/cspi/at-spi-cspi-docs.sgml
544 docs/reference/idl/at-spi-idl-docs.sgml:
545 Convert to Docbook XML.
547 This fixes bug #111793.
549 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
551 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
552 AcccessibleKeyEventType, AccessibleKeyMaskType.
554 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
556 * cspi/state-types.h: Add documentation for AccessibleState.
558 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
559 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
560 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
561 AccessibleComponentLayer.
563 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
566 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
568 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
569 Accessible. Add description of AccessibleEvent,
570 AccessibleEventListenerCB.
572 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
575 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
576 documentation. Add description of AccessibleKeystrokeListenerCB,
577 AccessibleKeyEventMask, AccessibleModifierMaskType,
578 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
579 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
581 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
584 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
587 This fixes bug #104730.
589 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
591 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
592 Set is_text field of Accessibility_DeviceEvent data structure.
594 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
595 is-text field of AccessibleDeviceEvent data structure.
597 This addresses part of bug #108666.
599 * registryd/devcieeventcontroller.c: Unset debug option.
601 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
604 (cpi_initial_relation_type_table): New function which initializes
605 mapping between Accessibility_RelationType and AccessibleRelationType.
606 (cspi_relation_type_from_spi_relation_type): New function which
607 translates an Accessibility_RelationType into an AccessibleRelationType.
608 (AccessibleRelation_getRelationType): Use
609 cpi_relation_type_get_spi_relation_type to return correct value.
610 (spi_state_to_corba): Return correct type for default case.
612 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
613 Use Accessibility_EventType instead of Accessibility_KeyEventType.
615 * cspi/cspi-bonobo-listener.c:
616 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
619 * libspi/accessible.c, libspi/action.c, libspi/application.c,
620 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
621 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
622 libspi/image.c, libspi/listener.c, libspi/selection.c,
623 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
624 registryd/desktop.c, registryd/registry.c:
625 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
627 * libspi/eventlistener.c
628 Remove semicolon after BONOBO_TYPE_FUNC.
631 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
632 (spi_init_relation_type_table): Initialize using correct type.
634 * registryd/desktop.c:
635 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
636 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
637 of Accessibility_KeyEventType.
639 * test/key-listener-test.c (report_tab_key_event): Use fprintf
642 * tests/simple-at.c, tests/screen-review-test.c:
643 Add include for <strings.h>.
645 * tests.stress-test.c:
646 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
648 These changes fix compiler warnings when using FORTE compiler on
649 Solaris; fixes bug #107479.
652 2003-04-10 Bill Haneman <bill.haneman@sun.com>
655 * configure.in: revved to 1.1.10
658 (SPI_KEYMASK_NUMLOCK): Added.
660 * registryd/deviceeventcontroller.c:
661 (spi_key_event_matches_listener): AND with a smaller
662 bitmask (as we should).
663 (spi_dec_translate_mask):
664 New method, sets the virtual NumLock modifier bit
665 if numlock is on. Eventually it can handle other virtual
666 modifier bits if needed, or other marshalling from
667 at-spi modifier masks to platform (X) masks.
668 (spi_dec_key_listener_new):
669 Call spi_dec_translate_mask to set up virtual mod bits
670 in the 'mask' field when creating a new listener struct.
671 (spi_dec_emit_modifier_event):
672 Set the virtual (i.e. NumLock) bits before emitting event.
673 (spi_controller_register_with_devices):
674 Query for the NumLock modifier 'physical' bit if Xkb is
675 present, for use in above methods.
679 2003-04-10 Bill Haneman <bill.haneman@sun.com>
681 * registryd/deviceeventcontroller.c:
682 (spi_keystroke_from_x_key_event):
683 Instead of checking to see if the keysym is
684 printable, check the string from XLookupString
685 if available, get the first unicode character from it,
686 and call g_unichar_isprint to determine whether the
687 is_text flag should be TRUE or FALSE.
691 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
693 * atk-bridge/bridge.c: Add support for extended events
694 * cspi/spi_event.c: Add documentation and implementation for
696 * tests/event-listener-test.c: Add tests for extended events.
698 This fixes bugs #100424 and #100426.
700 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
702 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
703 of LT_CURRENT. This fixes bug #89350.
705 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
707 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
708 number of signal parameter values before accessing them. This fixes
711 2003-04-01 Bill Haneman <bill.haneman@sun.com>
713 * configure.in: Fixed duplicate inclusion of -lspi.
714 * branched for gnome-2-2/HEAD.
715 [created tag "gnome-2-2"]
717 2003-03-07 Bill Haneman <bill.haneman@sun.com>
719 * configure.in: 1.1.9 release.
722 2003-03-07 Bill Haneman <bill.haneman@sun.com>
724 [needed by GOK, to fix bugs 107985 and 107988]
725 * registryd/deviceeventcontroller.c:
726 (spi_dec_clear_unlatch_pending):
727 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
728 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
729 (spi_dec_init_mouse_listener):Emit warning if mouse button
731 (spi_device_event_controller_forward_mouse_event):
732 Removed unnecessary parens from a conditional.
733 (global_filter_fn):Added TODO comment.
734 (impl_generate_keyboard_event):
735 Cancel a pending relatch if a 'delatching' key was
738 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
740 * atk-bridge/bridge.c:
741 Change atk_signal_child_changed to atk_signal_children_changed.
742 Reorganize code in spi_atk_bridge_signal_listener().
744 * test/event-listener-test.c:
745 Add children_changed_listener and report_children_changed_event()
746 to test AccessibleChildEvent_getChildAccessible.
748 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
750 * cspi/spi_event.c (cspi_internal_event_get_text): Change
751 g_strdup to CORBA_String_dup (bug #105291)
753 * test/event-listener-test.c (report_text_event): Add call to
756 2003-02-28 Bill Haneman <bill.haneman@sun.com>
758 * registryd/deviceeventcontroller.c:
759 (spi_keystroke_from_x_key_event):
760 Fix string and keysym return codes to match modifier state.
763 2003-02-28 Bill Haneman <bill.haneman@sun.com>
765 * registryd/deviceeventcontroller.c:
766 (spi_keystroke_from_x_key_event):
767 Fix segv due to improper use of isprint(c). [bug #107254]
769 2003-02-24 Bill Haneman <bill.haneman@sun.com>
772 (get_accessible_text_boundary_type):
773 Move default return value to (new) default case in switch.
774 (get_accessible_text_clip_type):
775 Move default return value to (new) default case in switch.
777 * libspi/application.c:
778 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
779 Remove unused methods.
780 (impl_accessibility_application_register_object_event_listener):
781 Remove unused methods.
784 Added #include of <math.h>.
786 * registryd/deviceeventcontroller.c:
787 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
788 we don't currently use this method.
789 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
791 (impl_generate_key_event):
792 Remove unused variables.
793 (impl_generate_mouse_event):
794 Initialize button to zero, just in case we get an invalid
795 input. Added support for mouse buttons 4 and 5.
796 (spi_device_event_controller_new):
797 Removed unused variable declaration for 'private'.
799 Added #include of <gdk/gdk.h>
801 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
803 * configure.in: Update to work when X is not installed in expected
804 location. Fixes bug #105836.
806 * atk-bridge/bridge.c
807 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
809 (spi_atk_register_event_listener): Add signal listener for
811 (spi_atk_bridge_signal_listener): Event event when link-selected
812 signal is emitted. (bug #104622)
814 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
815 on returned string. (bug #105291)
817 * test/event-listener-test.c: Add test for link-selected.
819 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
821 * atk-bridge/Makefile.am: Correct typo in previous commit.
823 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
825 * atk-bridge/Makefile.am: Allow for build directory to be different
826 from source directory
828 * registryd/Makefile.am: Allow for build directory to be different
829 from source directory
833 2003-01-29 Bill Haneman <bill.haneman@sun.com>
836 Fixed dependencies for libcspi so that libspi gets pulled in
837 properly. Fixes 104741.
841 Clean up inline docs a little.
843 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
845 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
846 This is done by implementing AtkComponent for SpiAtkDesktop, which is
847 the AtkObject within an SpiDesktop.
848 This addresses bug #101524.
850 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
851 Remove call to gdk_init().
853 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
854 so that Display is set when SpiDesktop is created.
856 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
858 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
859 This fixes bug #102830.
861 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
863 * test/test-simple.c: Update to take account of fact that GailButton
864 now implements AtkText.
865 (create_text_window): Set name on AtkObject for GtkEntry.
866 (validate_accessible): Check accessible name before calling test_text().
868 * libspi/Makefile.am: Fix problem with building outside of source
869 directory. Bug #98120.
871 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
872 typo in documentation comments. Bug #94275.
874 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
876 * libspi/text.c (impl_getBoundedRanges): Bug fix.
878 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
881 Add includes to avoid compiler warnings on Solaris.
882 (impl_getRangeExtents): Bug fix.
884 2002-12-17 Bill Haneman <bill.haneman@sun.com>
886 Fix for 100944, [API addition approved by Gman and murrayc].
893 * idl/Accessibility_Text.idl:
894 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
895 (Text::getRangeExtents): New method for efficient
896 bounds query of a text range.
897 (Text::getBoundedRanges): New method for efficient
898 clipping of text to bounding boxes.
899 (unImplemented7, unImplemented8):
900 Removed these padding methods to preserve bincompat.
903 (impl_getRangeExtents): implementation of new IDL.
904 (impl_getBoundedRanges): implementation of new IDL.
905 (SpiTextRect): Internal use struct.
906 (_spi_text_rect_union): internal method, calculates union of two
907 SpiTextRect bounding rects.
908 (_spi_text_range_seq_from_gslist): internal method, allows us
909 to build our sequence efficiently as a gslist then convert it
911 (_spi_bounds_contain): internal method, determines whether
912 a text character is "in" or "out" of a clip rect according to
913 values of TEXT_CLIP_TYPE.
914 (spi_text_class_init): Initialize the new methods in the epv.
917 (AccessibleTextClipType): New enum used by screen review api.
918 (AccessibleTextRange): New struct used by screen review api.
919 (AccessibleText_getRangeExtents):
920 cspi binding for Accessibility_Text_getRangeExtents.
921 (AccessibleText_getBoundedRanges):
922 cspi binding for Accessibility_Text_getBoundedRanges.
923 (AccessibleTextRange_freeRanges): convenience method.
926 (AccessibleText_getRangeExtents):
927 cspi binding for Accessibility_Text_getRangeExtents.
928 (AccessibleText_getBoundedRanges):
929 cspi binding for Accessibility_Text_getBoundedRanges.
930 (AccessibleTextRange_freeRanges): convenience method.
931 (get_accessible_text_clip_type): internal conversion method.
932 (get_accessible_text_ranges_from_range_seq): internal conversion method.
934 * registryd/deviceeventcontroller.c:
935 (spi_dec_mouse_check):
936 Improved behavior for mouse:abs events
937 [same granularity as mouse:rel events, and no
938 events when mouse is idle].
940 2002-12-16 Michael Meeks <michael@ximian.com>
942 * cspi/spi_accessible.c (spi_state_to_corba): rename.
944 * libspi/stateset.c (state_spi_to_atk): split out
945 ( fix several remote array bounds nasties )
946 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
947 (impl_remove): make safe from array bounds issues.
948 (spi_atk_state_from_spi_state): impl.
950 * libspi/stateset.h (spi_state_set_cache_is_empty):
951 add a set of wrapper defines to get layering right.
953 * cspi/spi_accessible.c: update state set stuff to
956 2002-12-14 Michael Meeks <michael@ximian.com>
958 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
959 to avoid 2 roundtrips to the registry per key event
960 (spi_atk_bridge_key_listener): upd.
961 (deregister_application): release the dec.
963 * registryd/registry.c (notify_listeners_cb):
964 bin lots of re-enterant complexity - we no longer
965 do a round-trip bonobo ref here, ensure that a single
966 listener's exception failure won't poison all other
968 (impl_registry_notify_event): bin obvious memory leak.
970 2002-12-13 Michael Meeks <michael@ximian.com>
972 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
973 init the ev so the error is meaningful.
974 (spi_atk_bridge_key_listener): ditto.
976 * cspi/spi_main.c (cspi_ev): init the ev so we start
977 with a clean slate, otherwise the first exception
980 * cspi/spi_text.c (get_accessible_text_boundary_type):
981 add a fallthrough for no warnings.
983 * cspi/spi_registry.c: prune unused warnings.
985 * cspi/spi_main.c (cspi_object_take): fix
986 mind-blowing brokenness ( by watching the compile
989 * cspi/spi_accessible.c (Accessible_getStateSet):
990 re-impl. to use an AtkStateSet.
991 (spi_state_type_from_accessible_state),
992 (init_state_table): bin these.
994 * libspi/stateset.c (spi_atk_state_set_from_sequence):
996 (atk_state_set_from_accessibility_state_set): here.
998 * cspi/spi_accessible.c (spi_state_to_atk): impl.
999 (AccessibleStateSet_contains, AccessibleStateSet_ref),
1000 (AccessibleStateSet_unref, AccessibleStateSet_contains),
1001 (AccessibleStateSet_add, AccessibleStateSet_remove),
1002 (AccessibleStateSet_equals, AccessibleStateSet_compare),
1003 (AccessibleStateSet_isEmpty): re-write to use a local
1006 2002-12-13 Bill Haneman <bill.haneman@sun.com>
1008 * configure.in: Revved to 1.1.7 (new keymask vals).
1010 2002-12-10 Bill Haneman <bill.haneman@sun.com>
1012 * libspi/keymasks.h:
1013 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
1015 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1018 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
1019 to compare two CORBA_TypeCodes.
1020 (cspi_internal_event_add): Silence warning from FORTE compiler.
1022 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
1023 avoid implicit declaration of functions.
1025 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
1027 * atk-bridge/bridge.c:
1028 (spi_atk_bridge_init_event_type_consts): Store signal id for
1029 active-descendant-changed signal.
1030 (spi_atk_register_event_listeners): Add signal listener for
1031 active-descendant-changed signal,
1032 (spi_atk_bridge_signal_listener): Move code in function
1033 spi_atk-signal_emit_event() into this function.
1034 Add support for active-descendant-changed
1035 Update support for child-changed signal.
1036 (spi_bridge_window_event_listener): Silence warning.
1038 * libspi/spi_private.[ch]:
1039 (spi_init_any_object): Change second parameter from CORBA_Object to
1041 Omit call to CORBA_Object_duplicate().
1042 Set CORBA_any's _value to CORBA_Object*.
1044 2002-12-06 Bill Haneman <bill.haneman@sun.com>
1050 (AccessibleEvent_ref, AccessibleEvent_unref):
1051 New methods, for persisting an event outside the emission context.
1052 Must be used if the new accessor methods are to be called
1053 outside of the event listener's callback.
1055 * cspi/bonobo/cspi-bonobo.c:
1056 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
1057 as second parameter instead of NULL, so we can call
1058 cspi_check_ev afterwards.
1061 (cspi_object_take): New internal method,
1062 converts a CORBA_Object reference to a hard ref on
1063 an Accessible if possible, returning NULL if the object
1064 reference is invalid or an Accessible * otherwise.
1067 (AccessibleEvent_ref):
1068 Increment the event's internal private refcount, and
1069 add the event's internal struct to an internal cache
1070 if it's not already there.
1071 (AccessibleEvent_unref):
1072 Decrement the event's refcount and remove it from
1073 the cspi event cache if refcount==0.
1074 (cspi_event_compare): New private method.
1075 Compares two event structs via their ids. Used
1077 (cspi_internal_event_lookup): New private method.
1078 (cspi_internal_event_check): New private method,
1079 a 0-order sanity check for events to make sure their
1080 private data is intact.
1081 (cspi_internal_event_add, cspi_internal_event_remove):
1082 New private methods for managiing the event cache.
1084 * cspi/bonobo/cspi-bonobo-listener.c:
1086 Initialize the new private data elements (id, magic, ref_count).
1088 * atk-bridge/bridge.c:
1089 (spi_atk_bridge_signal_listener):
1090 Fixed bug #100530, passing wrong params to emission func.
1092 * registryd/deviceeventcontroller.c:
1093 (spi_dec_button_update_and_emit):
1094 Fixed type in mask bit operations; fix for #99799.
1096 2002-12-02 Bill Haneman <bill.haneman@sun.com>
1098 Removed some of the more dangerous workarounds from
1099 previous commit; they are only needed by GOK, which
1100 in reality should be using another method to accomplish
1101 the goals. So on reconsideration some of the workarounds
1102 need to be reverted:
1104 * registryd/deviceeventcontroller.c:
1105 (spi_keycodes_contain, spi_dec_init_keycode_list):
1106 Removed these methods, used only by a nasty hack to try
1107 and detect whether a key synthesis should be allowed
1108 to reset the XKB latch state or not. This code was only
1109 required to work around an interaction between GOK,
1110 button events, and XKB.
1111 (impl_generate_key_event):
1112 Removed hack at end of key generation that tried to
1113 "do the right thing" if XKB latch keys were generated
1114 in the midst of button press/release pairs.
1117 Added a check for HAVE_XINPUT. Not normally used yet.
1119 2002-11-25 Bill Haneman <bill.haneman@sun.com>
1121 Workarounds and fixes for mouse event/XKB interaction.
1123 * registryd/deviceeventcontroller.c:
1124 (spi_keycodes_contain, spi_dec_init_keycode_list):
1125 New internal methods.
1126 (spi_dec_set_unlatch_pending):
1127 Split the method that tells XKB to expect an
1128 unlatch (and revert it) out of the rest of the
1129 event handling code. This method is called by the
1130 two mouse event handlers (the poll and the filter).
1131 (spi_dec_update_and_emit, spi_dec_mouse_check):
1132 New methods split from spi_dec_poll_mouse_moved.
1133 The second one is now called from inside the filterFn
1134 when an XKB delatch event is received, to determine
1135 whether to revert the delatch or not.
1136 (spi_poll_mouse_moved): Refactor; also we can now
1137 properly handle the case where multiple button states
1138 have changed between polling cycles and we didn't get
1139 notified due to another client's grab.
1141 Synchronize the server while handling an XKB notification.
1142 Ugly, but apparently necessary to avoid nasty races.
1143 Check the mouse state on receipt of an XKB latch change,
1144 to decide whether to revert the latch or not. (Latches are
1145 reverted if there is an immediately preceding mouse button
1146 event that a client has consumed, in which case we don't want
1147 the user to see the side-effect of the event).
1148 (spi_device_event_controller_forward_mouse_event):
1149 Check for modifier events and fire before resetting mouse_mask_state,
1150 prevents losing modifier events.
1152 (impl_generate_keyboard_event):
1153 If we've just generated a keyboard event for a non-shift key,
1154 we don't want to revert the pending XKB latch.
1155 Otherwise, check the modifier state (via a call to
1156 spi_dev_mouse_check) and set the relatch mask to
1157 that state before returning.
1159 2002-11-24 Bill Haneman <bill.haneman@sun.com>
1162 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
1165 * atk-bridge/bridge.c:
1166 (spi_atk_register_event_listeners):
1167 Don't re-register for ATK events if the registry has died
1168 and the app needs to re-register; the ATK listeners are in
1169 process and doing so will cause duplicate emission.
1171 * registryd/deviceeventcontroller.c:
1172 (spi_poll_mouse_moved):
1173 Reformat the source, detect and emit multiple button-change
1174 events (i.e. if multiple buttons have changed between poll
1176 Add code to detect mouse-down events even when the pointer
1177 is grabbed; workaround for GOK bug 98420.
1178 (spi_controller_register_with_devices):
1179 Call XTestGrabControl with 'impervious' flag set to True,
1180 allows us to synthesize events and query the pointer even during
1181 an active grab by another client.
1182 (spi_device_event_controller_forward_mouse_event):
1183 Set the mouse_mask_state to the mouse_button_state from
1184 the intercepted event, to synchronize the grab listener with
1187 2002-11-20 Bill Haneman <bill.haneman@sun.com>
1189 * cspi/spi_accessible.c:
1190 (AccessibleRole_getName):
1191 Added necessary strings for making this (deprecated)
1192 method work with the new role types.
1193 (init_role_table, role_table):
1194 Added definition of SPI_ROLE_APPLICATION.
1196 * libspi/spi-roletypes.h:
1197 Added SPI_ROLE_APPLICATION.
1199 * idl/Accessibility_Role.idl:
1200 Added ROLE_APPLICATION.
1202 * docs/reference/cspi/at-spi-cspi-decl.txt:
1203 Added SPI_ROLE_APPLICATION to docs.
1205 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
1207 * cspi/spi_accessible.c
1208 (cspi_init_role_table): Do not write beyond end of role_table.
1209 (Accessible_getRole): Use correct type for value returned by
1210 Accessibility_Accessible_getRole().
1212 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
1213 beyond end of role_table. (This fixes bug #98269)
1215 * libspi/application.c: Add include file spi-private.h for
1216 definition of spi_init_any_nil.
1218 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1222 * libspi/spi-private.h:
1223 Added DGB() macro, and extern int _dbg declaration.
1225 * registryd/registry.c:
1226 (definitions) storage for _dbg.
1227 (spi_registry_init):
1228 Get environment variable "AT_SPI_DEBUG".
1229 (spi_registry_set_debug):
1230 New method, to initialize _dbg value.
1231 (spi_listener_struct_new, spi_registry_object_finalize):
1232 (notify_listeners_cb):
1233 Changed fprintfs to use DBG and g_warning().
1235 * registryd/deviceeventcontroller.c:
1236 (_deregister_keygrab, spi_controller_register_device_listener):
1237 Changed debug/warning messages to use DBG macro.
1239 * libspi/listener.c:
1240 (impl_notify_event):
1241 Changed warning messages to use DBG macro and g_warning().
1243 * atk-bridge/bridge.c:
1244 (atk_bridge_init, spi_atk_bridge_get_registry):
1245 (spi_atk_bridge_exit_func):
1246 (spi_atk_bridge_property_event_listener):
1247 Changed status, warning, and error messages to use
1248 g_warning, g_message, and DBG macros.
1251 Read the state of the AT_SPI_DEBUG environment variable
1252 and set a local '_dbg' accordingly.
1254 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1256 FIXES for 98836, 98842, other bugs.
1259 Revved to 1.1.4, interface-age=4, binary-age=4.
1261 * registryd/deviceeventcontroller.c:
1263 Fixed crasher bug in last_mouse_pos initialization.
1265 * registryd/registry.c:
1266 (desktop_add_application, desktop_remove_application):
1267 Added (and then commented out) some support for
1268 object context marshalling. [TODO]
1270 * atk-bridge/bridge.c:
1271 (spi_atk_bridge_event_context_create):
1272 Commented out object context creation until it can
1273 be properly tested and debugged.
1275 * registryd/registry.c:
1276 (impl_registry_notify_event):
1277 Fixed crasher bug, we were calling
1278 spi_re_entrant_list_foreach () with an empty list.
1280 2002-11-18 Bill Haneman <bill.haneman@sun.com>
1282 * idl/Accessibility_Action.idl:
1283 * idl/Accessibility_Component.idl:
1284 * idl/Accessibility_Desktop.idl:
1285 * idl/Accessibility_Event.idl:
1286 * idl/Accessibility_Hyperlink.idl:
1287 * idl/Accessibility_Image.idl:
1288 * idl/Accessibility_Relation.idl:
1289 * idl/Accessibility_Selection.idl:
1290 * idl/Accessibility_State.idl:
1291 * idl/Accessibility_Value.idl:
1292 Updated unimplemented slot count to minimum of
1293 four for all interfaces, for ABI freeze.
1295 * idl/Accessibility_EditableText.idl:
1296 * idl/Accessibility_Text.idl:
1297 Updated unimplemented slot count to six
1300 * idl/Accessibility_Registry.idl:
1301 Updated unimplemented slot count to six
1302 (also for DeviceEventController),
1305 * idl/Accessibility_Table.idl:
1306 Updated unimplemented slot count to eight,
1309 * idl/Accessibility_Event.idl:
1310 Added CORBA_any "any_data" member to Event struct.
1312 * idl/Accessibility_Event.idl:
1313 Added CORBA_any "any_data" member to Event struct.
1315 * atk-bridge/bridge.c:
1317 atk_signal_text_changed, atk_signal_child_changed,
1318 signal ids queried from gtype system.
1319 (AtkBridgeEventContextType): New enum.
1320 (AtkBridgeEventContextData): New struct.
1321 (AtkBridgeEventContext): New struct.
1322 (atk_bridge_init_event_type_consts):
1323 New method, initializes type contants for comparison
1324 prior to emit_eventv.
1325 (atk_bridge_event_context_init): New method,
1326 initializes a CORBA_any from an AtkBridgeEventContext.
1327 (atk_bridge_focus_tracker): Call spi_init_any_nil to
1328 initialize the event.any_data struct.
1329 (spi_atk_bridge_event_context_create): New method,
1330 creates an AtkBridgeEventContext from signal/event info.
1331 (spi_atk_bridge_event_context_free): New method.
1332 (spi_atk_emit_eventv): Changed to take an
1333 AtkBridgeEventContext parameter. We now initialize
1334 the event.any_data member prior to notifying the
1335 Registry, via the AtkBridgeEventContext.
1336 (spi_atk_bridge_property_event_listener):
1337 (spi_atk_bridge_state_event_listener):
1338 Match emit_eventv signature.
1339 (spi_atk_bridge_object_event_listener):
1340 Match emit_eventv signature, and create an
1341 event context from the event details.
1342 Free the event context afterwards.
1343 (spi_atk_bridge_window_event_listener):
1344 Create an event context, pass it to the
1348 (AccessibleEvent_getContextString):
1349 (AccessibleEvent_getContextObject):
1350 New methods, allow query of AccessibleEvent objects
1351 for more context details (via the "any_data" member
1352 of the Event struct, above).
1355 Definitions for AccessibleEvent_getContextString
1356 and AccessibleEvent_getContextObject.
1358 * cspi/spi_listener.h:
1359 (InternalEvent): New struct.
1362 (AccessibleEvent_getContextString):
1363 (AccessibleEvent_getContextObject):
1364 Implementations of new methods, for obtaining
1365 additional context information from some event types.
1367 * cspi/spi_registry.c:
1368 (SPI_registerGlobalEventListener):
1369 Added mention of active-descendant-changed event in docs.
1371 * cspi/cspi-bonobo-listener.c:
1373 Marshal the any into the AccessibleEvent via
1376 * libspi/spi-private.h:
1377 #include <orbit/orbit.h>
1379 (spi_init_any_string):
1380 (spi_init_any_object):
1381 New convenience function declarations.
1385 (spi_init_any_string):
1386 (spi_init_any_object):
1387 New convenience function implementations.
1389 * registryd/deviceeventcontroller.c:
1390 (spi_poll_dec_mouse_moved):
1391 (spi_device_event_controller_forward_mous_event):
1392 Initialize any_data member of event.
1393 (spi_deregister_controller_device_listener):
1394 Fix incorrect param pass which was preventing deregistration.
1396 * registryd/registry.c:
1397 (desktop_add_application):
1398 (desktop_remove_application):
1399 Add object data to event's any_data before dispatch.
1401 Fix for error messages from GAIL.
1403 * test/event-listener-test.c:
1404 Test new ContextString and "any_data" API:
1405 (report_text_event): New method query and output context string.
1406 (main): register a new text listener with report_text_event
1409 2002-11-19 Darren Kenny <darren.kenny@sun.com>
1411 Fixes for bugs 98127 and 97914.
1412 * cspi/spi-roletypes.h:
1413 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
1415 * cspi/spi-statetypes.h:
1416 Added SPI_STATE_MANAGES_DESCENDANTS
1418 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
1419 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
1420 * cspi/spi_accessible.c:
1421 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
1422 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
1423 Accessibility_STATE_MANAGES_DESCENDANTS
1424 * libspi/accessible.c:
1425 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
1426 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
1427 As requested by Bill, I also cleaned up the alignment.
1428 * libspi/relation.c:
1429 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
1430 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
1431 * libspi/stateset.c:
1432 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
1433 Accessibility_STATE_MANAGES_DESCENDANTS
1434 * docs/reference/cspi/tmpl/spi_accessible.sgml:
1435 Document changes reflecting modifications to roles.
1436 * docs/reference/cspi/tmpl/spi_relation.sgml:
1437 Document changes reflecting modifications to relations.
1438 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1439 Document changes reflecting modifications to states.
1441 2002-11-17 Bill Haneman <bill.haneman@sun.com>
1444 Revved to 1.1.3, interface-age=3, binary-age=3.
1445 Added REBUILD macro.
1448 Removed accessx-gui from the tests, since we have a nice
1449 keyboard accessibility capplet now :-)
1451 * test/keysynth-demo.c:
1452 (increment_scan): removed do-nothing default: case,
1455 * test/visual-bell.c:
1456 (main) : removed do-nothing default: case,
1459 * cspi/spi_action.c:
1460 (AccessibleAction_getKeyBinding_):
1461 Documented keybinding string format.
1465 (AccessibleText_getAttributes):
1466 Documented the text attribute string format.
1467 It's changed to use semicolon delimiters also,
1468 to prevent clashes with CSS attributes, but the old
1469 trick of looking for ", " strings will still work
1470 (as unreliably as ever). Fix for bug related to 97916.
1473 Include <cspi/bonobo/cspi-bonobo-listener.h>
1474 Fixes build warning.
1475 (SPI_freeAccessibleKeySet):
1476 (AccessibleKeystrokeListener_addCallback):
1477 (AccessibleKeystrokeListener_removeCallback):
1478 Modify to use AccessibleDeviceListener API internally,
1479 instead of AccessibleKeystrokeListener.
1481 * idl/Accessibility_Event.idl:
1482 Added two more empty slots to EventListener (for a total of four).
1484 * idl/Accessibility_Accessible.idl:
1485 Added four empty slots to Accessible interface.
1487 2002-11-15 Bill Haneman <bill.haneman@sun.com>
1489 * idl/Accessibility_Registry.idl:
1490 (KeyEventType, EventType):
1491 Marked KeyEventType as deprecated; it duplicates
1492 functionality of EventType, which has been extended to
1493 include Mouse-button events.
1494 (KeyEventTypeSeq): defined in terms of EventType.
1495 (registerDeviceEventListener, deregisterDeviceEventListener):
1496 New methods, for managing listeners to device events,
1497 which potentially may consume them.
1500 Added definition for AccessibleDeviceListener.
1502 * cspi/spi-listener.h:
1503 (enum AccessibleDeviceEventType):
1504 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
1505 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
1506 for backwards compat.
1507 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
1508 and typedef'd AccessibleKeystroke to it for back-compat.
1509 (AccessibleDeviceListenerCB):
1510 New function prototype typedef.
1513 (AccessibleDeviceEventMask): New typedef.
1514 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
1515 (AccessibleKeyMaskType):
1516 Set equivalent to AccessibleModifierMaskType for back-compat.
1517 (SPI_createAccessibleKeystrokeListener):
1518 (AccessibleKeystrokeListener_unref):
1519 Deprecated in favor of equivalent (better-named) new API below..
1520 keystroke listeners are like all device listeners.
1521 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
1522 New API names for old features :-).
1523 (AccessibleDeviceListener_addCallback):
1524 (AccessibleDeviceListener_removeCallback):
1525 (SPI_registerDeviceEventListener):
1526 (SPI_deregisterDeviceEventListener):
1530 (SPI_createAccessibleKeystrokeListener):
1531 Use new preferred API, cspi_device_listener_new() and
1532 cspi_device_listener_add_cb().
1533 (AccessibleKeystrokeListener_removeCallback):
1534 Use new preferred API, cspi_device_listener_remove_cb().
1535 (AccessibleKeystrokeListener_unref):
1536 Use new preferred API, cspi_device_listener_unref().
1537 (SPI_createAccessibleDeviceListener):
1538 (AccessibleDeviceListener_addCallback):
1539 (AccessibleDeviceListener_removeCallback):
1540 Implementation of new API.
1542 * cspi/spi_registry.c:
1543 (SPI_registerDeviceEventListener):
1544 (SPI_deregisterDeviceEventListener):
1545 Implementation of new API. Fixed memory leak and removed need to
1546 allocate EventTypeSeq (thanks Michael for catching this).
1547 Squashed a wayward CORBA_exception_free that shouldn't get called.
1549 * cspi/bonobo/cspi-bonobo-listener.c:
1551 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
1552 (cspi_key_event): renamed to cspi_device_event().
1553 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
1554 Extended to handle mouse button events as well as key events.
1555 (CSpiKeystrokeListener):
1556 Class superceded by CSpiDeviceListener.
1557 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1558 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1560 * cspi/bonobo/cspi-bonobo-listener.h:
1561 (CSpiKeystrokeListener):
1562 Class superceded by CSpiDeviceListener.
1563 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1564 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1566 * libspi/Makefile.am:
1567 Replaced keystrokelistener.h and keystrokelistener.c
1568 with devicelistener.h and devicelistener.c; keystrokelisener.h
1569 stub retained for back-compat.
1571 * libspi/keystrokelistener.c:
1575 Replaced inclusion of keystrokelistener.h with devicelistener.h.
1577 * registryd/deviceeventcontroller.c:
1578 (DEControllerListener): Added Accessibility_EventTypeSeq member.
1579 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
1580 (DEControllerPrivateData): Added xkb settings data.
1581 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
1582 button release events (which can't be captured via XGrabButton).
1583 Don't dispatch via the 'normal' event mechanism if the device event was
1585 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
1586 Handle the typeseq data in its new location (see above).
1587 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
1588 New methods, for "generic" device listeners.
1589 (spi_controller_register_device_listener):
1590 Now handle mouse event listeners as well as key listeners.
1591 (spi_controller_notify_mouselisteners):
1592 New internal method.
1593 (spi_device_event_controller_forward_mouse_event):
1594 Now we notify mouse device listeners as well as generating the
1595 non-consumable "mouse:" events.
1597 We must check and restore the XKB
1598 modifier map if we consume the event, since the act of triggering
1599 a mouse event will normally reset the XKB latch. This is required for
1601 (spi_controller_register_with_devices):
1602 Load the XKB settings when registering, and register for XKB
1603 state notify events.
1604 (spi_key_eventtype_seq_contains_event):
1605 Renamed spi_eventtype_seq_contains_event, since it's used
1606 internally for all device event types now.
1607 (spi_key_event_matches_listener):
1608 Uses spi_eventtype_seq_contains_event now.
1609 (spi_device_event_controller_object_finalize):
1610 Free the private data and the XkbKeyboard struct.
1611 (impl_register_device_listener, impl_deregister_device_listener):
1612 Implementation of new IDL.
1613 (spi_deregister_controller_device_listener):
1614 New internal method.
1615 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
1616 More efficient implementation, we don't have to create a new
1617 XkbControls structure every time we query.
1618 (spi_device_event_controller_class_init):
1619 Initialize the epv entries for the new IDL. Assign the
1620 "spi-dec-private" quark.
1621 (spi_device_event_controller_init):
1622 Initialize the private data.
1623 (spi_device_event_controller_forward_key_event):
1624 Removed a bogus CORBA_exception_free() call.
1626 * registryd/deviceeventcontroller.h:
1627 Replaced inclusion of keystrokelistener.h with
1630 * test/event-listener-test.c:
1631 (report_mouse_event):
1634 Added mouse-event device listener.
1636 * test/test-simple.c:
1637 (create_test_window):
1638 Fixed regression (we were instantiating a GtkRange,
1639 which is now an abstract class). Also fixed to match
1640 existing AtkRole names, this seems to have changed in ATK
1641 awhile ago; too late now I think, and the new
1642 mechanism is at least elegant and consistent with the
1643 glib enum "nick" APIs.
1645 2002-11-15 Darren Kenny <darren.kenny@sun.com>
1647 * idl/Accessibility_Relation.idl:
1648 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
1649 RELATION_EMBEDS,RELATION_EMBEDDED_BY
1650 * idl/Accessibility_Role.idl:
1651 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
1652 * idl/Accessibility_State.idl:
1653 add STATE_MANAGES_DESCENDANTS
1654 * test/event-listener-test.c:
1655 Added a listener for active-descendant events.
1657 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
1659 * atk-bridge/bridge.c
1660 (atk_bridge_init): If application is Bonobo component wait until top
1661 level is added before registering
1662 (spi_atk_bridge_do_registration): New function which contains code,
1663 formerly in atk_bridge_init, to do application registration.
1664 (spi_atk_bridge_toplevel_added): Signal called when top level
1665 added to Bonobo component
1667 This fixes bug #83134.
1669 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
1671 * registryd/deviceeventcontroller.c
1672 Fixed compilation error caused by calling gettimeofday()
1675 2002-10-18 Bill Haneman <bill.haneman@sun.com>
1680 Added template for HAVE_XKB.
1683 Changes to check for XKB, and to set the HAVE_XKB #define if it
1686 * libspi/listener.c:
1687 ()impl_notify_event): Make failure to get event source name
1690 * registryd/deviceeventcontroller.c:
1691 (#include): include X11/XKBlib.h.
1692 (DEControllerPrivateData) : New struct.
1693 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
1695 (dec_synth_keycode_press) (dec_synth_keycode_release):
1696 New methods; split the key synthesis code into these methods.
1697 They check XKB settings before determining the "time" values to
1698 pass to Xtest; this fixes bug #95828.
1699 (impl_generate_keyboard_event): Changed to use methods above,
1700 instead of callng Xtest directly.
1701 (spi_device_event_controller_init): Initialize new privae struct s
1703 (spi_device_event_controllr_object_finalize):
1704 Free the (new) private data.
1706 * registryd/deviceeventcontroller.h:
1707 Add new gpointer to end of struct data.
1709 2002-10-16 Bill Haneman <bill.haneman@sun.com>
1712 Incremented revision to 1.1.2, SONAME is still '.so', library
1713 extensions are ".so.0.0.2".
1715 * registryd/deviceeventcontroller.c:
1716 FIXES FOR #93592 and #95940.
1717 (statics): renamed mouse_button_state to mouse_mask_state,
1718 added key_modifier_mask.
1719 (spi_dec_poll_mouse_moved):
1720 Added key modifier checks, and emit "keyboard:modifiers"
1721 events when the key modifiers currently in use change.
1722 Also generate "mouse:abs" events periodically, even if the mouse
1723 is stationary (should we?).
1724 Alternatively we could generate "mouse:abs" events for either all
1725 mouse movements, or every 'nth' mouse movement, or at the
1726 beginning and end of every "active" mouse period.
1728 * test/event-listener-test.c:
1729 (main): Added listener for "keyboard:modifiers" events.
1731 2002-10-15 Bill Haneman <bill.haneman@sun.com>
1733 * libspi/keymasks.h:
1734 Added key mask #defines for mouse buttons; e.g.
1735 SPI_KEYMASK_BUTTON1, etc.
1738 Incremented dependency on ATK to version 1.1.0. (This dependency
1739 is probably premature but will soon be real enough).
1741 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
1743 * libspi/hyperlink.[ch]
1744 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
1745 (get_hyperlink_from_servant): Check object is AtkHyperlink not
1748 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
1753 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
1755 * registryd/deviceeventcontroller.c
1756 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
1757 events to be ignored.
1758 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
1759 keyboard_mode so that XAllowEvents() can be called.
1763 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
1765 * cspi/spi-accessible.c: Correct names of roles returned by
1766 AccessibleRole_getName(). Fixes bug #95055.
1768 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
1770 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
1773 * registryd/registry.c
1774 (desktop_remove_application: Write diagnostic message to stderr for
1777 (impl_accessibility_registry_deregister_global_event_listener):
1778 Correct size of lists array. This addresses bug #94555).
1780 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
1782 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
1785 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
1787 * registryd/Makefile: Add CLEANFILES so that .server file is removed
1790 * registryd/registry.c (impl_registry_notify_event): Remove
1791 unnecessary call to parser_event_type().
1793 * docs/reference/cspi/tmpl/spi_component.sgml:
1794 Add reference to SPI_LAYER_WINDOW.
1796 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
1798 * registryd/registry.c
1799 (desktop_add_application): Remove leak.
1800 (desktop_remove_application): Remove leak.
1801 (parser_event_type): Remove leak.
1803 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
1805 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
1806 bogus call to CORBA_string_dup(). Also removed unnecessary
1807 g_string_dup/g_free calls.
1809 2002-09-13 Bill Haneman <bill.haneman@sun.com>
1811 * registryd/deviceeventcontroller.c:
1812 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
1814 * test/event-listener-test.c:
1815 main: commented out three redundant listeners, to reduce output
1816 noise. (They still are potentially useful for testing).
1819 2002-09-13 Michael Meeks <michael@ximian.com>
1821 * Update all the copyrights to include Ximian.
1823 2002-09-06 Mark McLoughlin <mark@skynet.ie>
1825 * cspi/spi.h: add SPI_LAYER_WINDOW.
1827 * cspi/spi_component.c: (AccessibleComponent_getLayer):
1828 add Accessibility_LAYER_WINDOW case.
1830 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
1832 * libspi/component.c: (impl_accessibility_component_get_layer):
1833 add ATK_LAYER_WINDOW case.
1835 2002-08-28 Bill Haneman <bill.haneman@sun.com>
1837 * configure.in: incremented micro version.
1839 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
1841 2002-08-20 Bill Haneman <bill.haneman@sun.com>
1844 Clarified and reworded our commit policy.
1847 Started an API "todo" addition list for 2.2.
1850 (impl_getSelection):
1851 Free char pointer from atk_text_get_selection, which was being leaked.
1853 2002-08-19 Bill Haneman <bill.haneman@sun.com>
1856 Small revision to author acknowledgement.
1858 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1860 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
1861 If signal has detail add it to the type of the event.
1864 2002-08-12 Michael Meeks <michael@ximian.com>
1866 * test/test-simple.c (global_listener_cb): bin bogosity.
1867 (test_keylisteners): disable, still doesn't work reliably,
1868 certainly not on my system anyway.
1870 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
1871 don't leak a reference on the DEC. This round-trip
1872 fetching of the DEC per keystroke sucks, it should be
1875 * cspi/spi-private.h,
1876 * cspi/cspi-lowlevel.h,
1877 * cspi/bonobo/cspi-bonobo-listener.[ch],
1878 * cspi/bonobo/cspi-bonobo.c: get the copyright
1879 notices better - there is still a large amount of
1880 work in at-spi falsely attributed solely to Sun.
1882 * cspi/spi_main.c (cspi_object_ref): kill bogus
1883 hash lookup, just increment the ref.
1884 (SPI_freeString): make explicit the fact that we
1885 handle NULL strings just fine.
1886 (report_leaked_ref): obey coding standards.
1887 (cspi_object_hash, cspi_object_equal): kill retval.
1888 (cspi_object_release): only release if not on loan.
1889 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
1890 (cspi_object_borrow, cspi_object_return): impl.
1892 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
1893 use cspi_object_borrow / return.
1895 2002-08-12 Darren Kenny <darren.kenny@sun.com>
1897 * cspi/bonobo/cspi-bonobo-listener.c:
1899 Don't call cspi_oject_new() because this is creating a new Accessible
1900 every single time that an event is fired. This causes ATs like at-poke
1901 to nolonger recognise the source of the event and thus ignore it.
1902 Re-use the object from the cache, ref it and then unref it after the
1903 listeners have been called.
1905 2002-08-06 Darren Kenny <darren.kenny@sun.com>
1907 * test/event-listener-test.c:
1908 Added command-line options to disable mouse events (m) and
1911 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
1913 * configure.in: Update required versions of ATK, GTK+ and GAIL
1915 * cspi-1.0.pc.in: Add dependency for X include files
1918 * cspi/bonobo/Makefile.am:
1919 Add $(X_CFLAGS) so that X include files
1920 are picked up even if not in standard place (bug #71686)
1922 2002-06-25 Bill Haneman <bill.haneman@sun.com>
1924 * registryd/deviceeventcontroller.c: fix for 84261
1925 (spi_dec_mouse_moved):
1926 Added test of mouse button mask, so that we can detect mouse
1927 button release. Unfortunately we can't otherwise detect mouse
1928 button release events without consuming the mouse press event,
1929 because of the way XGrabButton works. This means that our mouse
1930 release events have a latency dependent on the polling period
1931 while the mouse button is down. At least in this case we only
1932 have to poll while the button is down, and not at other times.
1933 If the button masks don't match with what the last press event
1934 reported, we report the appropriate button release event.
1935 (spi_dec_ungrab_mouse):
1936 New method (not yet called).
1937 (spi_device_event_controller_forward_mouse_event):
1938 New method, sends mouse press event from GdkFilter.
1939 (spi_dec_init_mouse_listener):
1940 Added code to call XGrabButton, redirecting mouse button events to
1941 the root window and our Gdk event loop.
1943 Added code to filter mouse button events, and reordered.
1945 * test/event-listener-test.c:
1947 Added registration for mouse events of type "mouse:button".
1949 2002-06-25 Bill Haneman <bill.haneman@sun.com>
1951 * registryd/deviceeventcontroller.c: partial fix for 84261
1952 (spi_dec_poll_mouse_idle):
1953 New method, a timeout which checks to see if the mouse
1955 (spi_dec_poll_mouse_moving):
1956 A timeout to be called when mouse motion is underway.
1957 (spi_dec_poll_mouse_moved):
1958 A method which fires an event if the mouse has moved, and reports
1959 whether or not it did so.
1960 (spi_dec_init_mouse_listener):
1961 A method which sets up the timeouts above.
1962 (spi_device_event_controller_new):
1963 Now calls spi_dec_init_mouse_listener.
1965 * registryd/registry.c:
1966 (spi_registry_init):
1967 Now we initialize the device event controller when the registry is
1968 initialized, instead of waiting until a client has requested a key
1969 event notification; this is because we need the event controller
1970 for mouse events, but the mouse event registration API is a
1971 "registry" call and doesn't explicitly call the
1972 deviceeventcontroller.
1973 We now report mouse motion events with a 100 ms idle latency and
1974 a 20 ms granularity when motion is in progress.
1976 * test/event-listener-test.c:
1978 We now register the "detail listener" for events of type
1979 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
1980 delivered only for the first mouse event received, and thereafter
1981 "mouse:abs" events are delivered.)
1983 * cspi/spi_registry.c:
1984 DOCS: Documented the above mouse event typestrings.
1986 2002-06-21 Bill Haneman <bill.haneman@sun.com>
1988 Happy Summer Solstice...
1990 * registryd/deviceeventcontroller.c: [fix for bug 84100]
1991 (spi_controller_notify_keylisteners):
1992 Changes to remove a listener from the listener list, freeing its
1993 open keygrabs, if a notification to that listener fails. This
1994 means that although a dead listener can continue to hold a passive
1995 keygrab, a maximum of one dispatch to such a listener can fail
1996 before the listener is removed from the list, thus the keygrab
1997 will be released on the next occurrence.
1998 As part of this fix:
1999 (spi_notify_keylisteners):
2000 Renamed to spi_controller_notify_keylisteners, as the controller
2001 instance must now be passed as an argument.
2002 The copied 'notify' GList is now a list of DEControllerKeyListener
2003 objects, since we need more than just the CORBA reference if a
2004 notify fails and we need to deregister the listener.
2005 (impl_notify_listeners_sync):
2006 (impl_notify_listeners_async):
2007 (spi_device_event_controller_forward_key_event):
2008 Modify use of notify_keylisteners in accordance with above
2010 (spi_deregister_controller_key_listener):
2011 New method introduced by refactoring, from
2012 impl_deregister_keystroke_listener.
2013 (impl_deregister_keystroke_listener):
2014 Call spi_deregister_controller_key_listener.
2015 (spi_key_listener_clone):
2016 New method to copy a key listner without doing a 'ref' on the
2017 remote object instance; used to create a notifier list.
2018 (spi_key_listener_data_free):
2019 New method, frees data without unreffing the source.
2021 (spi_key_listener_clone_free): new method.
2022 (spi_key_listener_free):
2023 refactored to call spi_key_listener_data_free.
2025 2002-06-20 Bill Haneman <bill.haneman@sun.com>
2027 * registryd/registry.c: [fix for bug 86048]
2028 (notify_listeners_cb):
2029 Clear CORBA system exceptions which occur when notifying
2030 listeners, before returning to the source of the original event,
2031 since the event source doesn't care if the relayed notify failed.
2032 In other words, don't complain to the atk-bridge if the registry
2033 could not notify all its listeners, that's no fault of the
2034 application and thus should not appear to be an error from the
2035 application's perspective.
2037 * cspi/spi_main.c: [fix for bug 85980]
2039 Replaced use of bonobo_object_dup_ref with call to the wrapper
2040 method, csou_dup_ref (); this silences a compiler warning and
2041 provided more portability.
2043 Ping the registry before return, and restart if necessary.
2045 * cspi/bonobo/cspi-bonobo.c:
2047 New internal method.
2049 Fixed this method to return an object reference, as it should have
2052 * cspi/cspi-lowlevel.h:
2053 Added internal definition for cspi_ping() and fixed
2054 return type of cspi_dup_ref().
2057 2002-06-19 Bill Haneman <bill.haneman@sun.com>
2059 * atk-bridge/bridge.c: [fix for bug 85305]
2060 (spi_atk_bridge_register_application):
2061 New method where the initial application registry calls have been
2062 moved; it allows an application to re-register in response to
2063 certain error conditions (such as a registry restart, see below).
2065 Moved some initialization code to the method
2066 spi_atk_bridge_get_registry, below.
2067 (spi_atk_bridge_get_registry):
2068 New, private accessor function for the Accessibility_Registry
2069 instance. If the registry has not been started before, or has
2070 died (as detected by failure of a CORBA exception), it is
2071 restarted before return, and spi_atk_bridge_register_application
2072 is called again to register with the new bridge instance.
2073 (spi_atk_emit_eventv):
2074 Set registry_died on error; use spi_atk_bridge_get_registry () to
2075 access the registry.
2077 * registryd/registry.c:
2078 (impl_accessibility_registry_register_global_event_listener):
2079 Set listener's event_type_quark to etype.minor instead of
2080 etype.major (fix for bug 84856).
2082 * test/event-listener-test.c:
2083 (report_detail_event):
2084 Change the output string so that user/tester can tell that the
2085 'detail listener' was called instead of the 'generic listener'.
2087 2002-06-18 Bill Haneman <bill.haneman@sun.com>
2089 Fixes for bugs 84900, 84908, 84897, 84898.
2094 Revved version to 1.1.0
2095 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
2096 version is going to HEAD which will be used for gnome-2-0-1 and later.)
2098 * idl/Accessibility_Registry.idl:
2099 (EventListener::notifyEvent):
2100 Removed 'oneway' directive after extensive consulation with
2101 ORBit2 team and others. This means also that unref() of the event
2102 source can and should be done synchronously after emission, rather
2103 than remotely in the client, after servicing the notify call on
2106 NOTE: This change speeds up listener performance considerably, but
2107 introduces new latency on the application side. We may want to
2108 add an event queue to the atk-bridge.
2110 * atk-bridge/bridge.c:
2111 (spi_atk_bridge_focus_tracker):
2112 Do a local unref() on the event source after emission.
2114 * registryd/registry.c:
2115 (desktop_remove_application):
2116 Do an unref() on the event source after emission.
2117 (desktop_add_application):
2118 Do an unref() on the event source after emission.
2119 (notify_listeners_cb):
2120 When relaying an event, don't automatically add the event source
2121 to the local object cache, just CORBA_dup it instead. Likewise,
2122 if this method reenters, release the ref rather than calling
2124 (impl_registry_notify_event):
2125 No longer call remote unref() on the event source after dispatch.
2127 * libspi/eventlistener.c:
2128 (impl_accessible_event_notify_event):
2129 Removed remote unref ()
2131 * cspi/bonobo/cspi-bonobo-listener.c:
2133 We now call cspi_object_new() instead of cspi_object_add() on
2134 receipt of an event; thus we only have an implicit object ref
2135 while the cspi_event method is being executed. If we need to keep
2136 a reference to the object, the listener must call ref() on the
2137 object. Thus also we don't need to call cspi_object_unref() after
2138 invoking the listener callbacks in this method.
2142 New internal API for creating a new cspi object, without adding it
2143 to the object cache.
2145 Now uses cspi_object_new() to create the cspi object instance.
2147 Now checks to see if the object is in the internal object cache,
2148 and adds it if necessary before incrementing its refcount (note
2149 that new objects are added with a refcount of 1).
2150 (report_leaked_ref):
2151 New method which gives some information on leaked object instances
2152 if leak detection is turned on.
2154 * test/event-listener-test.c:
2155 (timing_test_event):
2156 New method, used for testing event delivery timing for special
2157 events of type "object:test". It reports elapsed time and
2158 events/sec every 500 events.
2160 Added a new listener, 'test listener', to check timing of event
2161 receipt as noted above.
2163 Added some timing output here also, reports elapsed time every 100
2166 * test/stress-test.c:
2167 Emit events of type "object:test", for use with "event-listener-test".
2169 * test/test-simple.c:
2170 (global_listener_cb):
2171 Call Accessible_ref() on the event source before calling
2172 validate_accessible, since the validation process does pointer
2173 comparisons on the event source, meaning that the event source
2174 needs to be added to the local object cache first. Any use of
2175 such pointer comparisons between Accessible objects requires that
2176 the caller hold an explicit reference to those objects.
2177 We also must therefore call Accessible_unref() when leaving this method.
2179 2002-06-13 Bill Haneman <bill.haneman@sun.com>
2181 * registryd/deviceeventcontroller.c:
2182 (spi_controller_update_key_grabs):
2183 Fix for #84735, subsequent keygrab listeners not informed of
2184 registration failure.
2187 (spi_base_construct):
2188 Add an assertion on construct, to make sure the GObject passed in
2189 is really a GObject.
2191 Explicitly initialize object->gobj pointer to NULL;
2193 * cspi/bonobo/cspi-bonobo-listener.c:
2194 (cspi_object_add_ref):
2195 New method, can specify whether to dup-ref a bonobo object passed
2196 in if it's newly added to the object cache.
2198 Now calls cspi_object_add_ref with second param of "FALSE". This
2199 prevents us from doing a pointless dup-ref followed by
2200 release-unref for all those cases where the object is already in
2201 our object cache (fix for #85205).
2203 * atk-bridge/bridge.c:
2204 (spi_atk_bridge_idle_init):
2205 Removed this method, we don't need to initialize in an idle
2208 Changed to call spi_atk_register_event_listeners directly, not via an
2209 idle handler. (fix for #81139)
2210 (gnome_accessibility_module_shutdown):
2211 Removed conditional around deregistration of listeners, since we
2212 don't use the idle handler and thus have always registered when
2214 (spi_init_keystroke_from_atk_key_event):
2215 Changed references to Accessibility_KEY_PRESSED to
2216 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
2218 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2220 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
2225 * test/stress-test.c:
2228 (may have been an incomplete commit yesterday?)
2230 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2233 Added target for new stress-test.
2235 * test/stress-test.c:
2236 New test, sends 1000 focus notifies in quick succession.
2238 * test/key-listener-test.c:
2239 Now we report whether a keylistener registration
2240 request succeeded or failed.
2242 * test/event-listener-test.c:
2243 Uncommented some listeners which are now implemented.
2246 2002-06-06 Bill Haneman <bill.haneman@sun.com>
2248 * registryd/deviceeventcontroller.c:
2249 (spi_controller_update_key_grabs):
2250 Fix for #82509, lack of failure notification when
2251 ALL_WINDOWS keygrabs fail due to XGrabKey
2252 failure: we synchronize the server when
2253 registering a passive grab, to make sure we get the
2254 error message before the call returns.
2256 2002-06-03 Bill Haneman <bill.haneman@sun.com>
2258 * test/test-simple.c:
2260 Removed #ifdef KEY_IMPL_WORKS guards.
2261 (test_keylisteners):
2262 Removed #ifdef KEY_IMPL_WORKS guards.
2263 Fixed bug which was causing a hang waiting for a
2264 "press" event (which was already overwritten by a "release"
2265 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
2267 Added code to set globals 'key_press_received' and
2268 'key_release_received'.
2271 Added section "1.1 API Proposed Additions" which
2272 lists API additions desired for at-spi-1.1 (only one so far).
2273 Updated TODO list a little.
2275 2002-06-02 Bill Haneman <bill.haneman@sun.com>
2277 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
2280 * configure.in: Revved to 1.0.0.
2282 * idl/Accessibility_Registry.idl:
2283 (registerKeystrokeListener):
2284 Added boolean return value.
2286 * registryd/registry.c:
2287 (notify_listeners_cb): Minor fix to debug output.
2289 * registryd/Accessibility_Registry.server.in.in:
2290 Revved version number in OAFIID to 1.0.
2292 * registryd/registryd.c:
2294 Use new OAFIID version.
2296 * cspi/bonobo/cspi-bonobo.c:
2298 Use new OAFIID version.
2304 * atk-bridge/bridge.c:
2306 Use new OAFIID version.
2308 * registryd/deviceeventcontroller.c:
2309 (impl_register_keystroke_listener):
2310 Added CORBA_boolean return value.
2311 (spi_controller_register_device_listener):
2312 Added gboolean return value.
2313 (spi_controller_register_global_keygrabs):
2314 Added gboolean return value.
2315 (spi_key_set_contains_key):
2316 Added implementation for many more control keys,
2317 for instance F1-F12, arrow keys, End, Home, Page_Up,
2319 [TODO: some still not implemented].
2321 * text/screen-review-test.c:
2322 (text_chunk_pad_string):
2323 New function: it provides mapping between coordinate
2324 positions of text chunks and character positions in the
2325 screen-review-line output string.
2326 (text_chunk_to_string):
2327 New function, calls text_chunk_pad_string with various
2328 pad/delimiter characters. Pushbuttons are delimited with
2329 square brackets, Frames with vertical 'pipe' lines, and
2330 other text with double quotes.
2331 (text_chunk_list_to_string):
2332 Calls new function text_chunk_to_string.
2333 (toplevel_composite):
2334 New function to composite layers CANVAS through
2335 POPUP in each toplevel (other layers are composited
2336 across toplevels, i.e. BACKGROUND and OVERLAY).
2337 (review_buffer_composite):
2338 Revise to use new methods.
2344 2002-05-31 Laszlo Peter <laca@sun.com>
2346 * configure.in: add the Xtst libdir to the runpath on Solaris,
2347 since it's not in the default library search path.
2349 2002-05-29 jacob berkman <jacob@ximian.com>
2351 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
2353 2002-05-29 Bill Haneman <bill.haneman@sun.com>
2355 * test/screen-review-test.c:
2356 (text_chunk_pad_string):
2357 Added method, which pads the string according to the
2358 text bounds of the chunk. It also takes a 3-character
2359 string as a param which indicates the characters to be
2360 used for start, padding, and end delimitation of the chunk.
2361 (text_chunk_to_string):
2362 Changed to use text_chunk_pad_string.
2364 * configure.in: Fixed bug in AC_OUTPUT that was
2365 causing path substitution in Accessibility_Registry.server
2368 2002-05-23 Bill Haneman <bill.haneman@sun.com>
2370 * text/screen-review-test.c:
2371 (guess_string_clip):
2372 New method which attempts a best-guess at clipping
2373 text from components (like Java labels) which don't
2374 actually implement AccessibleText. This inaccurate
2375 clip is based on the assumption that the label is
2376 justified left-and-right, and monospaced.
2377 (text_chunk_get_clipped_string):
2378 We now call guess_string_clip() for text-containing
2379 components that don't implement AccessibleText.
2381 * test/screen-review-test.c:
2382 (review_buffer_get_text_chunk):
2383 We now pull "name" from labels if they do not implement
2384 AccessibleText (i.e. for Java labels).
2385 (get_screen_review_line_at):
2386 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
2389 Replaceded AC_OUTPUT target
2390 registryd/Accessibility_Registry.server with
2391 registryd/Accessibility_Registry.server.in.
2393 * registryd/Accessibility_Registry.server.in:
2394 Removed (this is now a Makefile target).
2396 * registryd/Accessibility_Registry.server.in.in:
2397 Added (source for target above). We now use $(libexecdir) as
2398 prefix for the executable at-spi-registryd.
2400 * registry/Makefile.am:
2401 Now install at-spi-registryd into $(libexecdir), and build .server
2402 file with path (see above).
2404 2002-05-22 Bill Haneman <bill.haneman@sun.com>
2406 * test/screen-review-test.c:
2407 (text_chunk_get_clipped_string):
2408 We now check to see if words fall within clip bounds
2409 before resorting to character-by-character clip bounds testing.
2411 * TODO: Added a section for "2.2 Proposed API Additions".
2413 2002-05-21 Bill Haneman <bill.haneman@sun.com>
2415 * test/screen-review-test.c:
2417 Added a screen review benchmarking and test program to test
2420 * cspi/spi_accessible.c:
2422 Made some of the debug strings passed to cspi_check_ev a
2423 little more specific.
2425 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
2427 * test/screen-review-test.c: Fix crashes in debug statements
2429 2002-05-20 Bill Haneman <bill.haneman@sun.com>
2431 * test/screen-review-test.c: Added this file.
2433 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2435 * atk-bridge/bridge.c: changed "object:state-change" to
2436 "object:state-changed" to match docs.
2438 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2440 * atk-bridge/bridge.c: Hooked up state-change event details.
2442 2002-05-11 Bill Haneman <bill.haneman@sun.com>
2444 * registryd/registry.c:
2445 Fixed quarking bug in event string parsing; now events with
2446 detail parameters get matched correctly to listeners.
2449 * util/idl/Magnifier.idl: remove.
2451 * util/*.[ch]: Remove.
2452 Magnification utilities and IDL are now in module gnome-mag.
2454 2002-05-10 Bill Haneman <bill.haneman@sun.com>
2456 * registryd/deviceeventcontroller.c:
2457 Fixed bug in grab key conversion which was causing keycode grabs
2458 to be converted to AnyKey grabs.
2461 updated NEWS file to reflect recent spin-off of gnome-mag.
2463 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
2465 * cspi/spi_accessible.c: Added exception checks. Fixed completely
2466 busted AccessibleStateSet_compare. Removed redundant casts.
2468 * cspi/spi-action.c: Removed redundant casts.
2470 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
2472 * cspi/spi_component.c: Fixed typos and casting error.
2474 * cspi/spi_editabletext.c: Removed redundant casts.
2476 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
2478 * cspi/spi_hypertext.c: Eliminated redundant casts.
2480 * cspi/spi_image.c: Eliminated redundant casts.
2482 * cspi/spi_registry.c: Eliminated redundant casts.
2483 SPI_deregisterGlobalEventListenerAll () removed retval variable.
2484 * cspi/spi_selection.c: Removed redundant casts.
2485 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
2486 handling. Screen geometry and text offsets were being returned as 0
2487 on error which is technically valid-- changed these to return -1.
2488 Added marshaller for text boundary types to fix bug with boundary
2489 types being passed incorrectly to atk.
2491 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2494 * cspi/spi_registry.c:
2495 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
2496 which was uncovered by the recent key changes.
2498 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2500 * test/event-listener-test.c:
2502 Added new test, "event-listener-test";
2503 this code does two things; it benchmarks traversal time
2504 for the accessible hierarchy for the first running accessible
2505 app, and it connects listeners for all supported event types.
2506 It is thus useful as an example event listener and for
2507 diagnostics/debugging of event generation.
2509 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2512 Removed unnecessary dependency on libutil.
2515 Revved micro version: 0.13.1
2517 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2520 Removed util/Makefile from targets.
2523 Removed util subdir from SUBDIRS (temporarily,
2524 pending removal of magnifier-only code
2528 #ifdef-ed out magnifier dependencies, since
2529 magnifier IDL, headers, and binary now live in
2530 module gnome-mag and we don't want at-spi to depend
2531 on gnome-mag. A magnifier demo which can run alongside
2532 simple-at is forthcoming in the gnome-mag module.
2534 NOTE: Split magnifier binary, IDL, and magnification
2535 activation code from at-spi into module gnome-mag.
2537 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
2539 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
2540 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
2542 2002-05-03 Bill Haneman <bill.haneman@sun.com>
2545 Revved to version 0.13.0
2547 * idl/Accessibility_Registry.idl:
2548 Changed definition of KeySet from sequence of longs to sequence of
2549 KeyDefinitions, and added KeyDefinition struct.
2550 Required for fix to bug 80616.
2552 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
2553 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
2554 to use new definition (see above).
2556 * registryd/deviceeventcontroller.c: handle_keygrab(),
2557 spi_keyset_contains_key():
2558 Changed to make use of new struct; this allows matching based on
2559 string key-name, for instance "Tab". This also allows matching of
2560 composed characters, non-alphanumeric characters in a way that
2561 doesn't involve dependencies on X keysym codes directly, etc.
2563 * test/key-listener-test.c:
2564 Added test for Alt-Tab key using "string" specification of keyset,
2565 and modified one of the tests to use a keycode-based keyset.
2566 Thus this test both tests and demonstrates the creation and use of
2567 keysets of three forms: specified via keycode array,
2568 keysym array, and string array. (The string case only contains a
2569 single string, i.e. a string array of length 1).
2572 Turned on PRINT_TREE option by default. Also fixed a
2573 string-freeing bug in the PRINT_TREE code.
2574 Added a listener to window:minimize events.
2576 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
2578 * atk-bridge/bridge.c:
2579 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
2580 for window:activate and window:deactiveate
2581 (atk_bridge_property_event_listener atk_bridge_signal_listener
2582 atk_bridge_window_event_listener) Tidy debug code
2584 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
2586 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
2587 Fixed handling for NULL return value from ATK.
2589 * libspi/action.c libspi/component.c libspi/editabletext.
2590 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
2591 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
2592 Removed redundant casts.
2594 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
2595 Fixed off by one bug.
2597 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
2598 function not present in idl)
2600 2002-05-02 jacob berkman <jacob@ximian.com>
2602 * atk-bridge/Makefile.am: make atk-bridge a real module
2604 2002-04-26 Radek Doulik <rodo@ximian.com>
2606 * libspi/stateset.c (spi_init_state_type_tables): fix size of
2607 atk_state_types table
2609 2002-04-22 jacob berkman <jacob@ximian.com>
2612 * libspi/Makefile.am: add deps on the built files to help
2613 automake, and don't version the ORBit typelib
2615 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
2617 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
2618 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
2619 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
2620 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
2621 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
2622 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
2623 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
2624 libspi/accessible.h libspi/accessible.h libspi/base.h
2625 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
2626 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
2627 libspi/relation.h libspi/remoteobject.h libspi/selection.h
2628 libspi/spi-private.h libspi/statetset.h libspi/table.h
2629 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
2630 util/mag_client.h util/mag_control.c util/mag_image.c
2631 util/mag_image.h util/magnifier.c util/magnifier.h:
2632 Add missing file headers; standardize existing ones
2634 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
2636 * atk-bridge/bridge.c: Added window event support.
2638 2002-04-18 Michael Meeks <michael@ximian.com>
2640 * libspi/relation.c (impl_getNTargets): impl.
2641 (impl_getTarget): impl.
2643 * libspi/Makefile.am: fix stateset install.
2645 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2648 Started putting useful info in this file.
2650 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
2652 * atk-bridge/bridge.c:
2653 Propagate state-changed notifications to ATs
2655 * cspi/spi_registry.c: update docs to reflect actual behavior of
2656 state-change events.
2658 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2661 Incremented version to 0.12.1
2663 * util/mag_client.h:
2664 Add missing declaration for magnifier_exit,
2665 used by mag_control.c - Forte compiler didn't like
2666 the implicit redeclaration of the function :-(
2669 2002-04-16 Bill Haneman <bill.haneman@sun.com>
2672 Revved version to 0.12 due to API change (see below).
2674 * cspi/spi-roletypes.h:
2675 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
2676 definition from the inline docs, and added docs
2677 for SPI_ROLE_LAST_DEFINED.
2680 * cspi/spi_streamablecontent.c:
2681 Added missing seek_type parameter to
2682 (so far unused) method,
2683 AccessibleStreamableContent_seek().
2684 [ RT approval JodyG. ]
2687 Fixed docs for SPI_createAccessibleKeystrokeListener.
2689 * cspi/spi_registry.c:
2690 Fixed docs for SPI_KEYSET_ALL_KEYS.
2692 * docs/reference/cspi/at-spi-cspi-sections.txt:
2693 Added a number of missing APIs to SECTIONS.
2695 2002-04-16 Bill Haneman <bill.haneman@sun.com>
2697 * registryd/Makefile.am:
2699 * cspi/bonobo/Makefile.am:
2700 Add $(X_LIBS) to makefiles.
2702 2002-04-15 Bill Haneman <bill.haneman@sun.com>
2705 Revved version to 0.11.
2707 * libspi/component.c:
2708 Added implementation for grabFocus.
2710 * idl/Accessibility_Component.idl
2711 (Accessibility_Component_grabFocus):
2712 Made this method return boolean to indicate success or failure, to
2713 be consistent with cspi and the corresponding ATK method.
2715 * idl/Accessibility_Selection.idl
2716 (Accessibility_Selection_selectAll) :
2717 Made these methods return boolean to indicate success or
2718 failure, to be consistent with cspi and the corresponding ATK methods.
2720 * idl/Accessibility_EditableText.idl
2721 (Accessibility_EditableText_setTextContents,
2722 Accessibility_EditableText_insertText,
2723 Accessibility_EditableText_cutText,
2724 Accessibility_EditableText_deleteText,
2725 Accessibility_EditableText_pasteText):
2726 Made these methods return boolean to indicate
2729 * cspi/spi_editabletext.c:
2730 Made these methods return booleans.
2732 * libspi/selection.c:
2733 * libspi/component.c:
2734 * libspi/editabletext.c:
2735 Connected the boolean returns from ATK
2736 to the server-side code referenced above.
2738 2002-04-14 Bill Haneman <bill.haneman@sun.com>
2740 * idl/Accessibility_Table.idl: Added missing methods,
2741 Accessibility_Table_addRowSelection,
2742 Accessibility_Table_addColumnSelection,
2743 Accessibility_Table_removeRowSelection,
2744 Accessibility_Table_removeColumnSelection.
2747 Added C wrappers for above IDL:
2748 AccessibleTable_addRowSelection,
2749 AccessibleTable_addColumnSelection,
2750 AccessibleTable_removeRowSelection,
2751 AccessibleTable_removeColumnSelection.
2754 Added server-side implementation code for IDL above, connecting
2755 to pre-existing ATK api.
2757 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
2759 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
2761 * libspi/accessible.c: Added implementation fo
2762 Accessibility_Accessible_get_state.
2764 * libspi/libspi.h: Added stateset.h to the list of includes.
2766 * libspi/stateset.c: Fixed broken implementation.
2768 2002-04-13 Bill Haneman <bill.haneman@sun.com>
2771 Added implementation code for Accessibility_Magnifier_exit ().
2773 * util/mag_control.c:
2774 Added test code for above method; you can
2775 now kill an existing magnifier via
2776 ./mag_control q, from the util directory.
2778 * test/key-listener-test.c:
2780 Added a new test, for our key listener API.
2782 2002-04-11 Bill Haneman <bill.haneman@sun.com>
2784 * test/app.c, test/keysynth-demo.c:
2786 Replace use of snprintf with g_snprintf.
2787 (fix for bugzilla 78249)
2789 2002-03-27 Michael Meeks <michael@ximian.com>
2793 * util/Makefile.am (INCLUDES): fix.
2794 (DONT_DIST_SOURCE): don't distribute the
2797 * libspi/Makefile.am (dist-hook): ditto.
2799 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
2801 * libspi/hypertext.c:
2802 Fix warnings when yelp is used with atk-bridge
2804 2002-03-21 Michael Meeks <michael@ximian.com>
2806 * libspi/application.c (spi_application_new):
2807 use spi_accessible_construct so we use the AtkObject
2810 2002-03-19 Michael Meeks <michael@ximian.com>
2812 * registryd/registry.c (desktop_remove_application),
2813 (desktop_add_application): clean coding style.
2815 * registryd/desktop.c (spi_desktop_remove_application),
2816 (spi_desktop_add_application): kill re-enterency hazards.
2817 (spi_desktop_dispose): remove bogus redundant cast
2818 obscuring bug; fix bug too.
2819 (spi_desktop_init): make the desktop object immortal.
2821 2002-03-16 Bill Haneman <bill.haneman@sun.com>
2824 Added a #define-guarded tree-traversal step
2825 when enumerating the apps (diagnostic tool).
2827 2002-03-15 Bill Haneman <bill.haneman@sun.com>
2829 * idl/Accessibility_Role.idl:
2830 Added ROLE_DRAWING_AREA which seemed to be missing from the
2833 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2835 * cspi/spi-roletypes.h cspi/spi_accessible.c
2836 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
2839 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
2840 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
2841 AT when applications are added and removed from the desktop. This
2842 reverts the previous broken implementation using the backing
2843 AtkObject for the SpiDesktop.
2845 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2847 * registryd/desktop.c: emit the "children-changed::add" and
2848 "children-changed::remove" signals on the backing ATK object for
2849 the desktop so AT can tell when applications are started and shut
2852 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2854 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
2856 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2858 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
2860 * cspi/spi_accessible.c: Implemented c bindings for stateset support
2862 * cspi/state-types.h: synched with IDL and ATK
2864 2002-03-13 Bill Haneman <bill.haneman@sun.com>
2866 * libspi/accessible.c
2867 (impl_accessibility_accessible_get_child_at_index):
2868 Change return value for g_return_if_fail ()
2869 to CORBA_OBJECT_NIL instead of "0" (!)
2871 * registryd/Makefile.am:
2872 * registryd/Accessibility_Register.server.in:
2873 Changed name of executable, "registryd",
2874 to something more informative:
2877 2002-03-13 Michael Meeks <michael@ximian.com>
2879 * atk-bridge/bridge.c (atk_bridge_init): don't register
2880 if we're in a bonobo-component, rather than a bonobo app.
2882 2002-03-13 Michael Meeks <michael@ximian.com>
2884 * atk-bridge/bridge.c (gtk_module_init): split
2885 out body to (atk_bridge_init): here, since otherwise
2886 we get symbol conflicts and oddness when invoked
2887 from (gnome_accessibility_module_init): here (upd.)
2889 2002-03-11 Bill Haneman <bill.haneman@sun.com>
2892 New file. Explicitly allow "build sheriff" putbacks provided
2893 they are tested on Solaris.
2895 * docs/reference/cspi/Makefile.am:
2896 Added '-' to the "cp" command for index.sgml.
2897 ("patch by thomasvs, soon coming to a GUADEC near you")
2900 Incremented version number (0.9.0) for new release.
2901 Changed macro that checks for popt, to better detect
2902 obsolete versions of popt.
2905 Added X_LIBS to AC_SUBST, for applications
2906 that call Xlib API directly.
2909 2002-03-07 Bill Haneman <bill.haneman@sun.com>
2912 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
2915 Fix regression caused by hard-coding major
2916 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
2919 * test/test-simple.c (test_editable_text),
2920 (test_test): revert previous change (error was
2921 a regression in gail which is now fixed).
2923 2002-03-04 Michael Meeks <michael@ximian.com>
2925 * test/test-simple.c (test_editable_text),
2926 (test_text): pass G_MAXINT instead of '-1' for
2927 whole string - is this a good thing !?
2929 * cspi/spi_accessible.c
2930 (Accessible_getRelationSet): fix crasher bug
2931 overwriting the end of the array.
2933 * test/test-simple.c (validate_accessible): free,
2934 not g_free returned relation set.
2936 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
2938 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
2939 implemented stateset support
2941 * idl/Accessibility_State.idl: Made necessary changes to
2942 the IDL to support state sets.
2944 2002-02-12 Bill Haneman <bill.haneman@sun.com>
2946 * registryd/deviceeventcontroller.c:
2947 Added implementation for generateMouseEvent.
2949 * cspi/spi_registry.c:
2950 Connected new implementation for generateMouseEvent
2953 2002-02-12 Bill Haneman <bill.haneman@sun.com>
2956 Incremented revision (but no change in public API
2957 outside of 'utils', which are not installed public yet.)
2959 * libspi/component.c:
2960 Changed to use atk_component API for layers and
2961 mdi_zorder, instead of deprecated atk_object API.
2963 Magnification Utility Enhancements:
2966 Added implementation of createZoomRegion, clearAllZoomRegions,
2967 resizeZoomRegion. Added new commandline argument
2968 "--no-initial-region". Note that clearAllZoomRegions doesn't
2969 unmap the old '0' region as it should (yet), and the other
2970 methods only work when creating/resizing a single region,
2971 which is "region 0".
2972 (Code for multiple region support will be added later.)
2975 Now we raise the magnifier window each time it's refreshed;
2976 this will help keep it on top.
2978 * util/mag_client.h:
2979 Added simple wrappers for above, used by mag_control.
2980 For general use, it's recommended to use the bonobo magnifier
2981 control API directly instead of using these wrappers.
2984 Moved ZoomRegionData from magnifier.c to this file.
2986 * util/mag_control.c:
2987 Added some code to exercise new IDL implementations.
2989 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
2991 * libspi/text.c: Provide implementation for getAttributes.
2993 2002-02-04 Bill Haneman <bill.haneman@sun.com>
2996 Incremented revision.
2998 * test/test-simple.c:
2999 Replaced use of deprecated g_main_iteration with
3000 g_main_context_iteration.
3002 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
3005 Incremented revision for desktop alpha 2.
3007 2002-01-28 Mark McLoughlin <mark@skynet.ie>
3009 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
3012 * test/simple-at.c: include netinet/in.h.
3014 2002-01-24 Mark McLoughlin <mark@skynet.ie>
3016 * cspi/spi_accessible.c: (Accessible_getRelationSet):
3017 use NULL, not CORBA_OBJECT_NIL.
3019 * libspi/accessible.c:
3020 (impl_accessibility_accessible_get_relation_set):
3021 allocate the sequence correctly.
3023 * libspi/remoteobject.h: kill spi_remote_object_new.
3025 * test/test-simple.c: (validate_accessible): add code
3026 to test relation sets, now all we need is to figure
3027 out how to excercise this code path :/
3029 2002-01-18 Michael Meeks <michael@ximian.com>
3031 * test/test-simple.c
3032 (key_listener_cb): consume the key.
3033 (test_keylisteners): update.
3034 (main): wait for any pending unrefs on events.
3036 * registryd/deviceeventcontroller.c
3037 (spi_controller_update_key_grabs): only re-issue the
3038 grab on a key release.
3039 (spi_device_event_controller_forward_key_event):
3040 refresh the keygrabs before we notify the listeners,
3041 to reduce the X ungrab / re-grab race.
3042 (spi_controller_register_with_devices): remove
3043 XSelectInput - we do that with the gdk_window_ call.
3044 (_spi_controller_device_error_handler): return a value.
3045 s/GDK_DISPLAY/spi_get_display/
3047 2002-01-17 Michael Meeks <michael@ximian.com>
3049 * registryd/deviceeventcontroller.c
3050 (_deregister_keygrab): don't blow out the later
3053 * test/test-simple.c (test_keylisteners): do a
3054 more intelligent validation.
3056 2002-01-14 Michael Meeks <michael@ximian.com>
3058 * atk-bridge/bridge.c
3059 (gnome_accessibility_module_init),
3060 (gnome_accessibility_module_shutdown): impl.
3061 (gtk_module_init): protect vs. double inits.
3062 (add_signal_listener): impl.
3063 (spi_atk_bridge_state_event_listener): kill
3064 (deregister_application): split out of
3065 (spi_atk_bridge_exit_func): here.
3067 2002-01-18 Bill Haneman <bill.haneman@sun.com>
3070 Added caret tracking when using magnifier, and
3071 now use text bounds for focus tracking of text elements, rather than
3072 the component bounds - this is helpful for short text fields in long
3073 table cells, at high magnification.
3075 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3077 * registryd/deviceeventcontroller.c:
3078 Regression fix for keylistener de-registration; global keygrabs
3079 were not being released when deregisterKeystrokeListener was
3080 called in cspi, since
3081 Accessibility_DeviceEventController_deregisterKeystrokeListener
3082 was called with a zero-length keyset. That is because the cspi
3083 method, SPI_deregisterKeystrokeListener, does not take a keyset
3084 parameter but instead should remove all the key grabs held be a
3086 The code in impl_deregister_keystroke_listener was changed to copy
3087 the keylist from the listener instance previously registered with
3088 the DeviceEventController before releasing the grabs.
3090 * registryd/registry.c:
3091 * registryd/deviceeventcontroller.c:
3092 * libspi/spi-private.h:
3094 Changed spelling of "re-enterant" to "re-entrant" globally.
3096 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3098 * test/test-simple.c:
3099 Changed key listeners test - the test was slightly mis-using the
3100 (admittedly poorly documented) SPI_generateKeyboardEvent API.
3101 It now uses '=' as the key event listened to and generated,
3102 relying on a keysym match rather than assuming that keycode 33
3103 is always equal to keysym '!'.
3105 2002-01-15 Bill Haneman <bill.haneman@sun.com>
3108 Changed simple-at to use a specific keyset, rather than
3109 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
3110 manager, desktop, etc.
3112 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3114 * registryd/deviceeventcontroller.c:
3115 Replaced standard X error handler with a special handler that
3116 is non-fatal for failed keygrabs. This works around
3117 problems with keygrab clashes sometimes observed on
3119 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
3120 mouse handling code as yet).
3122 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3125 Incremented revision for desktop alpha release.
3128 Fixed a couple of the more glaring errors (still not
3131 2002-01-11 Michael Meeks <michael@ximian.com>
3133 * registryd/deviceeventcontroller.c
3134 (spi_device_event_controller_forward_key_event): kill
3135 XUngrabKey / XKeyGrab race.
3136 (spi_controller_grab_keyboard): rename to
3137 (spi_controller_update_key_grabs): this, and deal
3138 with incremental adding / removing grabs more
3140 (_register_keygrab): ensure we're not pending a remove.
3141 (spi_grab_mask_free): impl.
3142 (spi_controller_register_global_keygrabs): split out
3144 (handle_keygrab): impl.
3145 (_deregister_keygrab): impl.
3146 (spi_controller_deregister_global_keygrabs): impl.
3147 (spi_controller_update_key_grabs): re-issue the grab if
3148 we just recieved a notification.
3150 * test/test-simple.c (key_listener_cb): remove debug.
3152 * registryd/deviceeventcontroller.c
3153 (spi_controller_register_device_listener): after
3154 registering a global keygrab, actualy register it !
3155 don't wait for a timeout; doh !
3157 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
3158 to make it more readable / manipulable.
3159 s/grabmask/grab_mask/ s/refcount/ref_count/
3160 s/keyval/key_val/ s/modmask/mod_mask
3162 2002-01-08 Michael Meeks <michael@ximian.com>
3164 * registryd/deviceeventcontroller.c
3165 (spi_controller_register_with_devices): use gdk calls to
3167 (global_filter_fn): implement the filter.
3168 (spi_device_event_controller_check_key_event): rename to
3169 (spi_device_event_controller_forward_key_event): this & upd.
3170 (spi_get_display): replace with GDK_DISPLAY.
3172 * registryd/deviceeventcontroller.c
3173 (spi_controller_deregister_device_listener): unroll into
3174 (impl_deregister_keystroke_listener): here to simplify.
3175 (spi_controller_register_global_keygrabs): split cut and
3176 paste (!) out into (_register_keygrab): here, shorter & sweeter.
3177 (spi_controller_deregister_device_listener): remove.
3178 (impl_register_mouse_listener): remove, no mouse listener
3179 support in at-spi-1.0
3181 * registryd/registry.c
3182 (_device_event_controller_hook): kill.
3183 (spi_registry_init): upd.
3185 * registryd/deviceeventcontroller.c
3186 (spi_device_event_controller_class_init): upd.
3187 (spi_check_key_event): merge into.
3188 (spi_device_event_controller_check_key_event):
3189 here and kill strange static ev init, don't leak
3190 the x_event - nor dynamicaly allocate it.
3192 * registryd/registry-main.c (main): re-direct
3193 timeout to remove strange vtable mess.
3195 * registryd/deviceeventcontroller.c
3196 (remove_listener_cb): impl.
3197 (spi_controller_deregister_device_listener):
3198 fix re-enterancy hazard.
3200 2002-01-07 Michael Meeks <michael@ximian.com>
3202 * registryd/deviceeventcontroller.c
3203 (spi_device_event_controller_new): upd.
3204 (impl_notify_listeners_sync): upd. debug.
3205 (spi_notify_keylisteners): fix re-enterancy hazards,
3206 prettify, remove O(n*n) iteration.
3207 (spi_controller_grab_keyboard): fix iteration.
3208 (spi_check_key_event): re-format to suit coding style.
3209 Clean all the warnings - we're warning free.
3211 * registryd/deviceeventcontroller.h:
3212 * registryd/registry.h: make mutualy referential with
3213 typesafe forward references instead of (!) void pointer
3216 2002-01-11 Michael Meeks <michael@ximian.com>
3218 * cspi/spi_accessible.c (role_names): add a role name
3219 to sync this array with the enum; and make the regression
3222 2002-01-10 Michael Meeks <michael@ximian.com>
3224 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
3225 allow expansion of enumeration & kill warning.
3227 * test/test-simple.c (key_listener_cb): impl.
3228 (test_keylisteners): impl.
3230 * cspi/spi-listener.h: make listener signatures const
3231 on the provided (const) events.
3233 * test/keysynth-demo.c: upd. to const events.
3235 * test/simple-at.c: ditto.
3237 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3240 Rev the version to 0.5 (the previous tarball was named 0.4,
3241 even though the micro number was 3), so we need to rev upwards
3242 again for beta2/"desktop-alpha"
3245 Checked in a demo script, which requires editing before use!
3246 Proceed with caution.
3249 Fixed typo in header which was redefining SPI_ACTION_CLASS.
3251 * cspi/spi_accessible.c:
3252 Add a couple of missing enum initializations, and fix some enum
3255 * cspi/spi_registry.c:
3256 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
3258 * docs/reference/cspi/at-spi-cspi-sections.txt:
3259 Remove/fix a couple of broken document references.
3262 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
3263 as Alt-Control to listen for commands, since on some systems
3264 Control-Alt may already be grabbed.
3266 2002-01-10 Bill Haneman <bill.haneman@sun.com>
3269 Update version number to 0.4 for Beta2.
3271 * libspi/accessible.c, libspi/accessible.h:
3272 Expose spi_accessible_construct, to enable libgail-gnome
3273 construction from spi_accessible subtype.
3275 * utils/magnifier.c:
3276 Workaround for bug in some non-gnome-compliant window managers
3277 which made magnifier resize improperly.
3279 2002-01-09 Bill Haneman <bill.haneman@sun.com>
3281 * libspi/accessible.c: (spi_accessible_new) :
3282 Move the test for SPI_IS_REMOTE_OBJECT to
3283 spi_accessible_new_return, fixing a bug and compile time warning.
3285 2002-01-08 Michael Meeks <michael@ximian.com>
3287 * registryd/registry.c (parse_event_type): remove strndup.
3289 * libspi/Makefile.am (libspi_la_SOURCES): remove
3290 sources already included in the headers section.
3292 * libspi/util.c: add.
3294 * libspi/spi-private.h: add.
3296 * registryd/registry.c: update to moved list iterators.
3298 2002-01-05 Michael Meeks <michael@ximian.com>
3300 * test/simple-at.c (main): upd. auto-module set to atk-bridge
3302 * test/test-simple.c (main): ditto.
3304 2002-01-04 Michael Meeks <michael@ximian.com>
3306 * libspi/accessible.c (spi_accessible_new): remove 2nd,
3307 redundant construct.
3309 * registryd/registry.c
3310 (get_listener_list): impl.
3311 (impl_accessibility_registry_register_global_event_listener):
3312 re-impl. to simplify using ~, remove dodgy const cast off.
3313 (parse_event_type): constify.
3314 (impl_accessibility_registry_deregister_global_event_listener_all):
3315 re-write, more efficiency and simplicity, kill re-enterancy
3317 (compare_listener_corbaref, compare_corba_objects),
3318 (compare_listener_quarks): define out.
3319 (impl_accessibility_registry_deregister_global_event_listener):
3320 re-write for effiency, and nail re-enterancy hazard.
3321 (impl_accessibility_registry_get_desktop_list): impl.
3322 (re_enterant_list_delete_link): impl.
3323 (re_enterant_list_foreach): impl.
3324 (remove_listener_cb): impl.
3325 (_registry_notify_listeners): kill.
3326 (notify_listeners_cb): impl.
3328 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
3329 (SPI_getDesktopList): impl.
3331 * test/test-simple.c (test_desktop): test the methods.
3333 2002-01-03 Michael Meeks <michael@ximian.com>
3335 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
3336 keystrings since we free them
3337 (SPI_freeAccessibleKeySet): in here.
3339 * libspi/accessible.c (spi_accessible_new): kill warning,
3340 wonder what is going on with the constructor here.
3342 2002-03-01 Bill Haneman <bill.haneman@sun.com>
3344 * libspi/accessible.c (spi_accessible_new ()) :
3345 Added check to see if AtkObject is an SpiRemoteObject before
3346 creating an SpiAccessible.
3348 2002-05-01 Bill Haneman <bill.haneman@sun.com>
3350 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
3351 Enable keygrabs using the Control modifier, now that they are
3352 working properly (they were previously disabled).
3355 Change the command keygrab for this demo to "Control+Alt", so as
3356 to conflict with fewer other key commands on the system; this
3357 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
3359 Removed a pointlessly-chatty keylistener for unshifted keys
3360 (shifted keys are still reported).
3362 2002-02-01 Bill Haneman <bill.haneman@sun.com>
3364 * libspi/remoteobject.h:
3365 * libspi/remoteobject.c:
3366 Added definitions for special AtkObject subtype, required for
3367 support of remote components (specifically, used by BonoboControl
3368 accessibility implementation).
3370 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
3372 * cspi/spi.h: synched relation types with ATK
3374 * cspi/spi_accessible.c: Added implementations of
3375 AcccessibleRelation_* methods
3377 * idl/Accessibility_Relation.idl: added getRelationTypeName
3378 method. Synched known relation types with ATK. Allowed for
3379 relation type extension with the RELATION_EXTENDED type.
3381 * libspi/relation.c: Provided implementations for
3382 AccessibleRelation methods.
3384 2002-01-01 Bill Haneman <bill.haneman@sun.com>
3386 API tweaks for today's API 'freeze'.
3389 Added placeholder functions to allow future compatible expansion
3390 of the IDL interfaces.
3392 * idl/Accessibility_Registry.idl:
3393 Changed generateKeyEvent to generateKeyboardEvent. Changed
3394 signature of this method to accept an optional keystring in
3395 parameter (for complex text input synthesis) and changed use of
3396 simple 'boolean' parameter in registerKeystrokeListener to a
3397 struct, EventListenerMode.
3399 * cspi/spi_accessible.c:
3401 * cspi/spi_streamablecontent.c:
3402 Added references to AccessibleStreamableContent interface, and
3403 definition and implementation of AccessibleStreamableContent
3406 * cspi/spi_registry.c:
3408 Changed generateKeyEvent API to generateKeyboardEvent,
3409 taking a new (optional) keystring parameter to support complex
3414 Renamed directory (to better reflect its actual purpose, bridging
3415 from at-spi to ATK). The .so module is also now named
3418 * idl/Accessibility_Hypertext.idl:
3419 * libspi/accessible.c:
3420 * libspi/hypertext.h:
3421 * libspi/hypertext.c:
3422 Changed Accessibility_Hypertext to *not* derive from
3425 * cspi/spi_registry.c:
3426 Added list of legal event type names for 'window' events, which
3427 completes the registry event API.
3429 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
3431 * at-bridge/bridge.c: Added registration for separate
3432 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
3433 signals. If either of the first two parameters to the generic
3434 bridge signal handler are ints, they are passed on as event
3435 details. This allows an AT to determine what text was inserted.
3437 2001-12-21 Bill Haneman <bill.haneman@sun.com>
3439 * registryd/deviceeventcontroller.c:
3440 Fixed regressions in generateKeyEvent caused by the removal of
3441 gdk_init from registryd; we now use pure X calls to connect to the
3442 display, which makes sense because deviceeventcontroller already
3443 uses a fair bit of X API (should eventually be migrated to a
3444 'portability layer').
3446 * registryd/desktop.c:
3447 Fixed minor regression in spi_desktop_init, changed the way the
3448 desktop name is being set to work with new spi_base API
3449 (gobject-based, rather than AtkObject-based).
3451 * registryd/Makefile.am:
3452 Minor revision of makefile to use XTST_LIBS variable rather than
3453 hard-wiring the Xtst LD_ADD element.
3455 * test/keysynth-demo.c:
3456 Tweaked an output message; added initialization of the
3457 'keystrings' member of the "switch listener" key_set.
3459 * libspi/relation.c:
3460 Squashed compile-time warning.
3462 * libspi/accessible.c:
3463 Cosmetic and formatting fixes, renamed a static method.
3465 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
3467 * libspi/accessible.c
3469 * libspi/application.c
3472 * libspi/component.c
3473 * libspi/editabletext.c
3474 * libspi/hyperlink.c
3475 * libspi/hypertext.c
3477 * libspi/selection.c
3481 * registryd/desktop.c:
3482 Changed SpiBase to contain a GObject pointer rather than an AtkObject
3484 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3486 * idl/Accessibility_Registry.idl:
3487 Added boolean member 'is_text' to DeviceEvent. This is for the
3488 use of key events, and helps prevent ambiguity between composed
3489 key strings and keysym names, since both may potentially be
3490 returned in the 'event_string' member.
3492 * at-bridge/bridge.c:
3493 * registryd/deviceeventcontroller.c:
3494 Use the 'is_text' member when notifying device event listeners.
3495 Knon issue: composed characters are not dealt with correctly by
3496 the global key listener implementation yet.
3498 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3500 * at-bridge/bridge.c:
3501 Namespaced local static methods to spi_atk_bridge_* where
3502 previously named bridge_*, and spi_* elsewhere.
3504 * at-bridge/bridge.c:
3505 * cspi/bonobo/cspi-bonobo-listener.c:
3506 Added demarshalling/conversion for string member of
3507 Accessibility_DeviceEvent to AccessibleKeystroke.
3509 * registryd/deviceeventcontroller.c:
3510 Added code to fill the Accessibility_DeviceEvent key string value
3511 member for global key events (i.e. from XGrabKey), to match
3512 behavior of Accessibility_DeviceEvent from the toolkit key events
3513 from the bridge. Fixed timestamp in global key event notifications.
3516 Added printout of key event's string value to
3517 report_ordinary_key_event, for demo/debugging purposes.
3519 2001-12-15 Bill Haneman <bill.haneman@sun.com>
3521 * idl/Accessibility_Registry.idl:
3522 Removed Accessibility_KeyStroke structure in favor of generic
3523 Accessibility_DeviceEvent structure.
3524 Changed Accessibility_ControllerEventMask from a struct to an
3527 * at-bridge/bridge.c:
3528 Changed APIs to use DeviceEvent structure as above, and removed
3529 bogus casting between these event structures.
3531 * cspi/spi-listener.h:
3532 Added keystring member of AccessibleKeystroke structure, to enable
3533 matching on event "names" rather than only hardware codes and
3537 Added keystrings member of AccessibleKeySet struct, to allow
3538 matching on event names (as above).
3539 Added declarations for SPI_createAccessibleKeySet and
3540 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
3541 event modmasks directly as unsigned ints rather than structs with
3542 refcounts, in the DeviceEventController methods.
3544 * cspi/spi_registry.c:
3545 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
3547 * cspi/spi-roletypes.h:
3548 Added documentation of newly added SPI Roles.
3550 * cspi/bonobo/cspi-bonobo-listener.c:
3551 Changes in support of API changes above.
3553 * libspi/accessible.c:
3554 Converted APIs to use DeviceEvent structure (see IDL changes
3557 * registryd/deviceeventcontroller.c:
3558 Added DEControllerGrabMask structure to track keygrabs not only by
3559 modmask but by keyset as well; this allows us to do "global"
3560 (i.e. X) keygrabs on a per-key or keyset basis rather than always
3561 grabbing on AnyKey and then filtering after-the-fact.
3562 Bugfixes for event filtration mean that we don't get false matches
3563 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
3565 * registryd/deviceeventcontroller.c:
3566 Namespaced a number of static methods to use spi_ prefix. Major
3567 revision to internals of global (i.e. X) key grabs.
3569 * registryd/deviceeventcontroller.h:
3570 Removed keymask_list and added keygrabs_list to
3571 SpiDeviceEventController struct.
3574 Added use of SPI_createAccessibleKeySet API when creating a
3575 listener for only one key. Attach a listener to "shift spacebar
3576 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
3577 X key event names to SPI key event names, so that listeners are
3578 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
3580 * test/keysynth-demo.c:
3581 Changed (incorrect) use of X key event names (KeyPressed,
3582 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
3585 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3587 * libspi/accessible.c:
3588 Convert all AtkRole enumerations to Accessibility_Role enums when
3589 getting a role from an AtkObject.
3591 * cspi/spi_accessible.c:
3592 Complete the conversion of Accessibility_Role enums at runtime to
3593 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
3594 role enums correctly match those given in spi-roletypes.h.
3595 Re-synchronize the local names list for AccessibleRole_getName ().
3596 AccessibleRole_getName is now deprecated, since it duplicates the
3597 more reliable Accessible_getRoleName.
3598 Added some role types from Accessibility_Role.idl.
3600 * idl/Accessibility_Role.idl:
3601 Added some role types used by AtkRole.
3603 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3606 * cspi/spi_registry.c:
3608 * cspi/cspi-bonobo-listener.c:
3609 Namespaced all methods that did not begin with an "SPI_" or
3610 "Accessible" prefix to "SPI_".
3613 Homogenized internal function namespace to "cspi_" for statics.
3616 Patched tests to use the new CSPI API.
3618 * docs/reference/cspi/at-spi-cspi-sections.txt:
3619 Updated docs to reflect namespace changes, and added a number of
3620 methods to the documentation.
3622 * registryd/registry.c:
3623 Changed use of strings and string hashes in listener event
3624 matching and parse_event_string to use GQuark, which is guaranteed
3627 * registryd/registry.h:
3628 Squashed annoying warning.
3630 * idl/Accessibility_Role.idl:
3631 Extended range of available Accessibility_Role values.
3633 * cspi/spi_accessible.c:
3634 Re-ordered role names.
3636 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3638 * idl/Accessibility_Value.idl:
3639 Revert use of union back to CORBA_double, since the double type is
3640 more efficient and can contain the other types without loss of
3643 * idl/Accessibility_Accessible.idl:
3644 Added method Accessibility:Accessible:getRoleName, to complement
3645 Accessibility:Accessible:getRole.
3647 * cspi/spi_accessible.c:
3649 Added C binding for above, Accessible_getRoleName (), and changed
3650 signature of Accessible_getRole () to return an AccessibleRole.
3652 * cspi/spi-roletypes.h:
3653 Changed AccessibleRole_getName to return a char * instead of a
3654 const char *. This method is now at least temporarily deprecated
3655 in favor of asking Accessibles for their RoleNames directly.
3658 Revert to match Accessibility_Value.idl;
3662 Change signature of AccessibleValue methods to use double rather
3666 * cspi/spi_accessible.c:
3667 Changed Accessible_getRole to return an AccessibleRole enum rather
3668 than a UTF-8 string. The UTF-8 string can still be obtained via
3669 AccessibleRole_getName ().
3671 * test/test-simple.c:
3672 Add test_action. Small fixup to match API change to Accessible_getRole.
3675 Bugfix for get_action_from_servant ().
3677 2001-12-11 Michael Meeks <michael@ximian.com>
3679 * libspi/libspi.h: remove registry.h and
3680 desktop.h, deviceeventcontroller.h
3682 * libspi/Makefile.am: remove registry.[ch],
3683 desktop.[ch], deviceeventcontroller.[ch]
3685 * registryd/Makefile.am: add registry.[ch],
3686 desktop.[ch], rename registryd.c to registry-main.c.
3687 add deviceeventcontroller.[ch]
3689 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3692 Replace setenv() call with putenv ().
3694 * libspi/component.c:
3695 Bugfix in AccessibleComponent_getExtents (),
3698 2001-12-11 Michael Meeks <michael@ximian.com>
3700 * libspi/image.c (impl_getImageExtents): impl.
3701 (spi_image_class_init): upd.
3704 (AccessibleImage_getImageDescription): fix daft bug
3707 * test/test-simple.c (global_listener_cb): update
3708 to only quit if not --poke
3709 (main): catch --poke.
3710 (validate_accessible): upd. dumping, call test_image
3713 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
3716 * idl/Accessibility.idl: update all IDL includes.
3718 * idl/*.idl - rename to namespace - this sucks, blame
3719 mjs' bad decision for oafd.
3721 * test/test-simple.c (create_test_window): add more tests.
3722 (create_tree): split this out.
3723 (validate_accessible): bugfix.
3725 2001-12-11 Michael Meeks <michael@ximian.com>
3727 * cspi/bonobo/cspi-bonobo-listener.c:
3728 (cspi_kestroke_listener_unref),
3729 (cspi_event_listener_unref): impl. undoing previous
3730 homenous environment - for Bill.
3732 * cspi/spi_table.c (long_seq_to_array): use
3735 * cspi/spi_main.c: split out all bonoboish bits into
3738 * cspi/spi-impl.h: upd. typedefs.
3740 * cspi/spi_registry.c: update to lowlevel API,
3741 return booleans to indicate success in some places.
3743 * cspi/spi_event.c: update to lowlevel API.
3745 * cspi/bonobo/Makefile.am: add.
3747 * cspi/bonobo/cspi-lowlevel.h: add
3749 * cspi/bonobo/cspi-bonobo.c: add
3751 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
3753 * cspi/Makefile.am: remove spi-listener-impl.[ch],
3754 (SUBDIRS): add bonobo, link in the libs.
3756 * cspi/spi-util.c: kill this file.
3758 * TODO: merge in my bits.
3760 2001-12-11 Michael Meeks <michael@ximian.com>
3762 * test/test-simple.c (test_value, test_table, main):
3763 remove unused variables causing warnings.
3765 * configure.in: cleanup checks - require gail.
3767 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3770 Changed Value interface to use SValue (scalars) rather than
3771 assuming all values are floats. This allows floats, doubles,
3772 longs, shorts, and unsigned values to be manipulated.
3773 Introduced Accessibility:SValue union.
3776 Updated to use new API above, and to work correctly with GValues
3777 of different types in AtkValue.
3780 Updated to use new API above. cspi's API is as yet unchanged.
3783 Updated the Value revision action item.
3785 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3787 * test/test-simple.c:
3788 Added test_table (GtkTreeView widget in test window to follow).
3789 Un-commented test_value, added GtkRange widget.
3790 Added GtkTreeView widget with GtkListStore. It passes regression
3791 test but leaks one SPI object for some reason.
3794 Fixed bug in impl__set_currentValue.
3796 2001-12-10 Michael Meeks <michael@ximian.com>
3798 * cspi/spi_text.c: audit for exception handling,
3799 tolerating NULL object references safely etc.
3801 * cspi/spi_value.c: ditto.
3803 * cspi/spi_table.c (AccessibleTable_getSummary),
3804 (AccessibleTable_getAccessibleAt),
3805 (AccessibleTable_getRowHeader),
3806 (AccessibleTable_getColumnHeader),
3807 (AccessibleTable_getCaption): fix bugs hidden by
3809 (long_seq_to_array): impl.
3810 (AccessibleTable_getSelectedRows),
3811 (AccessibleTable_getSelectedColumns): use it.
3813 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3816 Added a TODO list (rough and short for now).
3818 * cspi/spi_hyperlink.c:
3819 * cspi/spi_hypertext.c:
3820 Fixed macro name typos, and remove use of obsolete macro in
3821 AccessibleHyperlink_getLink.
3823 * cspi/spi_action.c:
3824 * cspi/spi_accessible.c:
3825 * cspi/spi_application.c:
3826 * cspi/spi_component.c:
3827 * cspi/spi_selection.c:
3830 Documentation fixes (removed return values from ref/unref methods).
3832 2001-12-10 Michael Meeks <michael@ximian.com>
3834 * cspi/spi_action.c: audit for exception handling,
3835 tolerating NULL object references safely etc.
3837 * cspi/spi_accessible.c: ditto.
3839 * cspi/spi_component.c: ditto.
3841 * cspi/spi_editabletext.c: ditto.
3843 * cspi/spi_hyperlink.c: ditto.
3845 * cspi/spi_hypertext.c: ditto.
3847 * cspi/spi_image.c: ditto.
3849 * cspi/spi_selection.c: ditto.
3851 2001-12-10 Michael Meeks <michael@ximian.com>
3853 * configure.in: use cspi/libspi.pc.in instead.
3855 * Makefile.am (pkgconfig_DATA): upd. to match.
3857 * test/simple-at.c (report_focus_event): kill hacks around
3858 bad return values, use putenv not setenv
3860 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
3861 fire ChildGone - I killed it.
3863 * libspi/component.c
3864 (impl_accessibility_component_get_extents): remove
3867 * idl/Accessible.idl: kill ChildGone exception.
3869 * cspi/*.[ch]: kill int return from ref / unref.
3871 * cspi/spi_main.c (cspi_object_add_check): fold into
3872 (cspi_object_add): here.
3874 * cspi/spi_component.c (AccessibleComponent_getExtents):
3875 handle exceptions elegantly.
3877 * cspi/spi-private.h (cspi_check_ev_return),
3878 (cspi_return_if_fail): impl.
3880 * cspi/spi_accessible.c: use extensively.
3881 (AccessibleStateSet_equals): add direct compare check.
3883 * cspi/spi_selection.c: tolerate NULL objs, and check
3884 exceptions before return.
3886 * cspi/spi-util.c (cspi_warn_ev): rename to
3887 (cspi_check_ev): this & don't pass ev in; no point.
3889 2001-12-10 Michael Meeks <michael@ximian.com>
3891 * test/test-simple.c: use putenv not setenv
3892 (get_environment_vars): more chatty if you're not using
3895 * test/simple-at.c: do the setenv so more people see the
3898 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3900 * libspi/registry.c:
3901 Changed check of CORBA_environment on notification to be a warning
3902 instead of an error for the moment, since we can recover from this
3903 error when caused by a queued notification from a dead app.
3906 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
3907 used by all current implementors of AtkValue), and coerce to
3908 CORBA_float. (Proper general case fix may require change to Value.idl).
3910 2001-12-09 Bill Haneman <bill.haneman@sun.com>
3914 * cspi/spi_accessible.c:
3915 Documentation fixes: added user_data params to documentation for
3916 listeners and callbacks.
3918 * cspi/spi_accessible.c:
3919 Changed AccessibleStateSet_compare to return a
3920 StateSet rather than return the difference set into a third parameter.
3923 2001-12-09 Bill Haneman <bill.haneman@sun.com>
3926 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
3927 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
3931 Remove subdirectory po from SUBDIRS for now.
3933 * at-bridge/bridge.c:
3934 Beefed up a couple of debug printouts.
3935 One-line fix for signal notification name formatting.
3937 * libspi/accessible.c:
3938 Added assertion to spi_accessible_new ().
3940 * libspi/application.c:
3941 Put #ifdef qualifiers around a printf.
3944 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
3946 * registryd/Makefile.am:
3948 Replaces use of XML_I18N_MERGE_SERVER_RULE with
3949 INTLTOOL_SERVER_RULE macro.
3952 Added an event listener for several ATK signals, for
3953 testing and debugging. Removed a few g_warnings.
3954 Added test output if focussed item implements the Value interface.
3956 * test/test-simple.c:
3957 Added test_value () function (known not to pass at the moment, so
3958 not actually called yet.
3960 2001-12-08 Michael Meeks <michael@ximian.com>
3962 * at-bridge/bridge.c (bridge_focus_tracker),
3963 (emit_eventv): fix the same ref. leak.
3964 (register_atk_event_listeners): don't leak.
3966 * cspi/spi-listener-impl.c (cspi_event): more
3967 protection from client code.
3969 * test/test-simple.c (test_desktop): unref the app.
3971 * test/Makefile.am: upd. TESTS.
3973 * at-bridge/bridge.c (bridge_exit_func): release the registry.
3975 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
3977 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
3979 * cspi/spi_registry.c: constify in strings.
3980 (deregisterGlobalEventListenerAll): don't release the ref.
3982 * cspi/spi.h: start removing redundant / conflicting
3983 gtkdoc comments, making the API readable at a glance :-)
3985 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
3987 * test/keysynth-demo.c (keysynth_exit, main): upd.
3989 * test/simple-at.c (main, simple_at_exit): upd.
3991 * test/test-simple.c (unutterable_horror): kill.
3992 (utterable_normal_derefs): kill.
3993 (main): upd & do a setenv before gtk_init, so that we
3994 can use memprof - and to save the pain of remembering
3995 this, if we're running under memprof - don't exit.
3997 * cspi/spi_main.c (SPI_exit): return exit status
3999 (SPI_event_quit): impl.
4000 (SPI_event_main): simplify.
4001 (cspi_is_gnome_app): kill.
4002 (SPI_init): kill isGNOMEapp arg.
4004 * at-bridge/bridge.c (register_atk_event_listeners):
4005 re-instate the unref.
4006 (bridge_exit_func): don't re-activate the registry,
4007 protect vs. theoretical re-entry, use the
4008 AT_BRIDGE_SHUTDOWN env. var to determine whether to
4009 assert a clean shutdown - for regression tests.
4011 2001-12-08 Abel Cheung <maddog@linux.org.hk>
4013 * configure.in: Comment out dummy i18n support for now,
4014 otherwise it fails to build.
4015 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
4016 EXTRA_DIST. They are missing in tarball.
4018 2001-12-07 Michael Meeks <michael@ximian.com>
4020 * util/magnifier.c: kill bonobo activation reg. race.
4022 * libspi/component.c
4023 (impl_accessibility_component_get_extents): make it match
4026 * libspi/registry.c (_registry_notify_listeners):
4027 re-remove X headers & reconcile conflicts.
4028 (spi_listener_struct_free): bad conflict resolve.
4029 (impl_accessibility_registry_register_application):
4030 more bad merging fixed.
4031 (impl_accessibility_registry_deregister_application): ditto.
4032 (spi_registry_new): ditto.
4033 (spi_registry_init): don't have an applications field.
4035 [ merge fixups2 branch to here ]
4036 2001-12-07 Michael Meeks <michael@ximian.com>
4038 * test/simple-at.c (report_focus_event),
4039 (report_focussed_accessible): remove g_warning debug.
4041 2001-12-07 Michael Meeks <michael@ximian.com>
4043 * test/test-simple.c (validate_tree): comment out some checks.
4044 (test_desktop): app now not registered idly - horay.
4046 2001-12-07 Michael Meeks <michael@ximian.com>
4048 * cspi/spi_registry.c
4049 (registerAccessibleKeystrokeListener): clean, stop it leaking
4050 great swathes of memory, and device event controller references.
4051 ensure we always pass valid sequences.
4052 (deregisterAccessibleKeystrokeListener): ditto.
4053 (generateKeyEvent): upd.
4055 * at-bridge/bridge.c (bridge_key_listener): handle
4056 registry dead exception gracefully.
4057 (bridge_focus_tracker, emit_eventv): free ev.
4059 * test/simple-at.c (report_focus_event): fix polarity.
4061 * libspi/application.c (notify_listeners): kill the ev
4062 argument, and make sure we init the ev we use.
4063 (spi_application_object_event_listener): split out a chunk
4064 (get_atk_object_ref): here & fixup.
4065 (reverse_lookup_name_for_toolkit_event): make const.
4066 (spi_application_toolkit_event_listener): fixup, kill leaks
4069 * at-bridge/bridge.c (register_atk_event_listeners):
4070 don't unref the noop object - causes grief.
4072 * libspi/registry.c: remove the X headers.
4073 turn off the debug churn.
4075 * libspi/accessible.c (spi_accessible_new_return): only
4076 release the ref if we are supposed to [doh]
4078 * test/simple-at.c (report_button_press, report_focus_event):
4079 guard vs. unexpected exit.
4081 * at-bridge/bridge.c (gtk_module_init): prune printf.
4082 (bridge_exit_func): fix app unref.
4084 * libspi/Makefile.am: don't install registry or desktop.h
4086 * libspi/*.h: update includes.
4088 * libspi/application.h: don't include ourself, or
4089 other redundant headers.
4091 2001-12-06 Michael Meeks <michael@ximian.com>
4093 * libspi/accessible.c
4094 (get_accessible_from_servant): impl.
4095 Upd. all CORBA impl.s to use it killing cut and paste.
4097 * cspi/spi_main.c (cspi_cleanup): guard vs. double
4099 (SPI_init): register atexit cleanup handler here.
4101 2001-12-06 Michael Meeks <michael@ximian.com>
4103 * at-bridge/bridge.c (gtk_module_init): g_error on
4104 activation exception
4106 2001-12-06 Michael Meeks <michael@ximian.com>
4108 * at-bridge/bridge.c (gtk_module_init): some sort of
4109 confusing merge clash - reverted.
4110 (bridge_idle_init): ditto.
4112 * test/test-simple.c (main, utterable_normal_derefs):
4113 merge from Bill - somehow not committed.
4115 2001-12-06 Michael Meeks <michael@ximian.com>
4117 * libspi/value.c (spi_value_class_init): upd.
4118 (spi_value_finalize): kill.
4120 * libspi/table.c (spi_table_finalize): kill.
4121 (spi_table_interface_new): upd.
4122 (spi_table_class_init): upd.
4123 (get_table_from_servant): impl.
4124 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4126 * libspi/selection.c (spi_selection_finalize): kill.
4127 (spi_selection_interface_new): upd.
4128 (spi_selection_class_init): upd.
4129 (get_selection_from_servant): impl.
4130 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4132 * libspi/relation.c (spi_relation_finalize): kill.
4133 (spi_relation_class_init, spi_relation_new): upd
4135 * libspi/image.c (spi_image_finalize): kill.
4136 (spi_image_class_init): upd.
4137 (spi_image_interface_new): upd.
4138 (get_image_from_servant): impl.
4139 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4141 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
4142 (spi_hyperlink_finalize): kill.
4143 (spi_hyperlink_new): upd.
4144 (get_hyperlink_from_servant): impl.
4145 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4147 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
4148 (spi_hypertext_finalize): kill.
4149 (spi_hypertext_class_init): upd.
4150 (get_hypertext_from_servant): impl.
4151 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4153 * libspi/editabletext.c (spi_editable_text_finalize): kill.
4154 (spi_editable_text_interface_new): upd.
4155 (get_editable_text_from_servant): impl.
4156 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4158 * libspi/text.c (get_text_from_servant): impl.
4159 All impls - update to use it killing more cut and paste,
4160 also fix bad string returns on duff args ( a somewhat
4161 impossible case to handle - but hey ).
4162 (spi_text_construct): impl.
4163 (spi_text_interface_new): upd.
4164 (spi_text_object_finalize): kill.
4166 * libspi/component.c
4167 (accessibility_component_object_finalize): kill.
4168 (spi_component_class_init): upd.
4169 (get_component_from_servant): impl. helper to kill cut & paste.
4170 (impl_accessibility_component_contains):
4171 (impl_accessibility_component_get_accessible_at_point):
4172 (impl_accessibility_component_get_position):
4173 (impl_accessibility_component_get_extents):
4174 (impl_accessibility_component_get_mdi_z_order):
4175 (impl_accessibility_component_get_layer):
4176 (spi_component_interface_new): upd.
4178 * libspi/action.c (spi_action_finalize): kill.
4179 (spi_action_class_init): upd. inherit from SpiObject.
4180 (spi_action_interface_new): upd.
4181 (get_action_from_servant): impl. helper to reduce cut & paste.
4182 (impl_getKeyBinding, impl_getName, impl_doAction),
4183 (impl_getDescription): Use it everywhere.
4185 * cspi/spi_main.c (get_live_refs): a pointer hash.
4186 (spi_object_hash, spi_object_equal): comment out.
4187 There are issues with CORBA object hashing that need
4190 * libspi/application.c (spi_application_init),
4191 (spi_application_new): upd.
4193 * libspi/accessible.c (spi_accessible_object_finalize): kill.
4194 (spi_accessible_class_init): upd.
4195 s/accessible/object/ in epv methods.
4197 2001-12-05 Bill Haneman <bill.haneman@sun.com>
4199 * at-bridge/bridge.c:
4200 Reorder the bridge initialization into the bridge gtk_module_init,
4201 an immediate call to bridge_register_app, and an idle_add for
4202 register_atk_event_listeners (the only code that *must* wait until
4203 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
4204 the activation, creates the application's Accessible object, and
4205 queues the bridge_idle_init function. Restored call to
4206 Accessibility_Registry_deregisterApplication().
4207 Prior to making this call we obtain a new reference to the
4208 registry, which is a temporary hack that helps us handle apps that
4209 shut down the bonobo mainloop before we get there.
4211 * libspi/registry.c:
4212 Fix string leakage in debug block, and don't segv if a an app
4213 dies before its event notifications have been propagated.
4216 Modify cspi_check_ev() to call g_warning() rather than g_error(),
4217 as stopgap measure until we get proper exception handling when
4218 objects die during or before interrogation.
4222 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
4223 Also changed default value of is_gnome_app to TRUE.
4226 * test/keysynth-demo.c:
4227 Changed use of SPI_init and SPI_event_main to reflect API change above.
4230 Made report_focus_event check the warning value from getName
4231 before reporting on focussed accessible; simplifies handling of
4232 notifications from dead objects.
4234 * test/test-simple.c: (Changes not in this patch since source is
4237 2001-12-05 Michael Meeks <michael@ximian.com>
4239 * registryd/registryd.c (main): protect against
4240 bonobo-activation startup race condition.
4242 * cspi/spi_main.c (cspi_object_add_check): cope
4243 with the exception elegantly.
4245 * idl/Accessible.idl: decl. ChildGone
4247 * libspi/desktop.c (spi_desktop_dispose): impl.
4248 (spi_desktop_class_init): upd.
4249 (spi_desktop_add_application),
4250 (spi_desktop_remove_application),
4251 (abnormal_application_termination): impl.
4252 (impl_desktop_get_child_at_index): re-impl.
4255 (impl_accessibility_registry_deregister_application),
4256 (impl_accessibility_registry_register_application):
4257 kill excessive debug clutter.
4259 * test/test-simple.c (test_misc): test some NULL
4260 tolerance. (main): upd.
4262 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
4263 implements no interfaces - so let's not crash.
4265 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
4267 * libspi/accessible.c (spi_accessible_new_return): impl.
4268 helper to calm the cut and paste, to cope with
4269 NULL AtkObjects effectively and efficiently, and to kill
4270 the referencing bugs.
4272 * libspi/table.c (impl_getAccessibleAt),
4273 (impl_getRowHeader, impl_getColumnHeader): upd.
4275 * libspi/hyperlink.c (impl_getObject): upd.
4277 * libspi/accessible.c
4278 (impl_accessibility_accessible_get_child_at_index): upd.
4280 * libspi/component.c
4281 (impl_accessibility_component_get_accessible_at_point): upd.
4283 * test/test-simple.c (test_editable_text, test_text): impl.
4286 * cspi/spi_editabletext.c
4287 (AccessibleEditableText_insertText): constify.
4289 * test/test-simple.c (focus_me): make more robust.
4291 * libspi/accessible.c: remove some printfs in methods that
4292 we test and work fine, so we can get a clean tree dump.
4294 * test/test-simple.c (validate_accessible),
4295 (validate_tree): make tree dumping pretty too.
4297 * at-bridge/bridge.c (bridge_signal_listener): upd. so
4298 it builds without debug on.
4300 * test/test-simple.c (validate_accessible): fix the most
4303 * cspi/spi_main.c (spi_object_release): leave the nicely
4304 blanked memory around if in debug mode.
4306 * cspi/spi-listener-impl.c (cspi_event): use add_check.
4308 [committed to fixups2]
4309 2001-12-05 Michael Meeks <michael@ximian.com>
4311 * libspi/editabletext.c
4312 (spi_editable_text_class_init): g_type_class_peek_parent,
4313 not interface peek - so we finalize cleanly.
4315 * libspi/accessible.c (spi_accessible_new): kill debug.
4317 * test/test-simple.c (validate_accessible): fix ref.
4318 leak, print strings before freeing them; sigh, comment a
4319 chunk out due to strangeness.
4320 (validate_tree): unref the child after use.
4322 * cspi/spi_component.c (AccessibleComponent_getLayer):
4323 add missing break statement, switch on zlayer not the
4324 uninitialized retval.
4326 * cspi/spi_main.c (cspi_object_add): add assert, local ref
4327 before (possibly re-entering) remote unref.
4329 * test/simple-at.c (main): unref the desktop.
4331 * cspi/spi_accessible.c (cspi_accessible_is_a): move
4334 * cspi/spi_main.c (cspi_accessible_is_a): here to
4335 isolate bonobo API usage more.
4337 * libspi/registry.c (impl_accessibility_registry_register_application):
4338 prune bogus comment.
4340 2001-12-04 Michael Meeks <michael@ximian.com>
4342 * test/test-simple.c (validate_tree): upd.
4343 IndexInParent check to make it more lucid.
4344 (validate_accessible): dump the tree.
4346 * libspi/accessible.c (de_register_public_ref),
4347 (get_public_refs): impl.
4348 (spi_accessible_new): make more efficient & intuitive.
4349 Now IndexInParent check works.
4351 2001-12-04 Michael Meeks <michael@ximian.com>
4353 * cspi/spi-util.h: remove.
4355 * cspi/spi.h: move SPI_freeString here
4357 * libspi/component.c (impl_accessibility_component_get_layer):
4359 (impl_accessibility_component_get_mdi_z_order): ditto,
4360 return -1 on error - is this ok ?
4362 * test/test-simple.c (test_application): impl.
4364 * cspi/spi_accessible.c (Accessible_getApplication),
4365 (Accessible_isApplication): impl.
4367 * libspi/registry.c (spi_listener_struct_free): release
4368 the CORBA reference too.
4370 * libspi/accessible.c
4371 (impl_accessibility_accessible_get_parent): fix ref leak.
4373 * libspi/registry.c (spi_registry_new): make the registry
4374 immortal - we don't want it to go away ever.
4376 * libspi/application.c
4377 (spi_accessible_application_finalize): impl. cleanup.
4379 * cspi/spi_registry.c
4380 (deregisterGlobalEventListenerAll),
4381 (deregisterGlobalEventListener),
4382 (deregisterAccessibleKeystrokeListener): fix ref leak.
4384 * cspi/spi_main.c (SPI_init): remove redundant ref.
4386 * test/test-simple.c (unutterable_horror): impl. to force a
4391 (impl_accessibility_registry_deregister_application): release
4392 the application when we de-register it.
4394 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
4395 until we have the infastructure to get it right.
4397 2001-12-03 Michael Meeks <michael@ximian.com>
4399 * libspi/Makefile.am: only build eventlistener.[ch]
4401 * libspi/accessible.c
4402 (impl_accessibility_accessible_get_child_at_index): don't leak.
4404 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
4405 before we hit the idle handler.
4407 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
4408 debugging than exit.
4410 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
4412 * libspi/listener.c (impl_notify_event): check source
4413 not NIL before unref.
4415 * libspi/registry.c (impl_registry_notify_event): ditto.
4417 * libspi/eventlistener.c
4418 (impl_accessible_event_notify_event): unref the source.
4420 * libspi/accessibleeventlistener.c
4421 (impl_accessible_event_notify_event): unref the source.
4423 * idl/Event.idl: remove 'hash_id' attribute - of no
4426 * libspi/application.c (notify_listeners): upd list
4428 (spi_application_object_event_listener),
4429 (spi_application_toolkit_event_listener): upd to do correct
4433 (_registry_notify_listeners): update.
4434 (parse_event_type): this method also leaks like a sieve.
4435 (impl_accessibility_registry_deregister_global_event_listener):
4436 fix ETYPE_WINDOW case.
4438 * libspi/application.c
4439 (impl_accessibility_application_register_object_event_listener):
4442 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
4444 * libspi/hypertext.c (impl_getLink): ditto.
4446 * cspi/spi_main.c (cspi_object_add): remove
4447 bogus CORBA_Object_duplicate.
4449 * cspi/spi-listener-impl.c (cspi_event): dup/ref
4452 * cspi/spi_accessible.c
4453 (Accessible_getRelationSet): fix leak / referencing issue.
4455 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
4456 (cspi_object_add, cspi_object_unref): upd.
4457 (spi_object_release, get_live_refs): impl.
4458 (cspi_cleanup): simplify.
4460 * *.[ch]: s/boolean/SpiBoolean/
4462 * cspi/spi_accessible.c (role_names): actualy order so it
4463 corresponds with the enum !
4465 * test/test-simple.c (test_roles): check some role strings
4466 vs. enums to detect offset errors.
4468 2001-12-01 Michael Meeks <michael@ximian.com>
4470 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
4472 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
4474 (Accessible_getChildAtIndex): use cspi_add_check so we
4475 check the ev before using a (possibly) invalid value.
4477 * libspi/accessible.c
4478 (impl_accessibility_accessible_get_parent): don't segv
4481 * at-bridge/bridge.c (gtk_module_init): upd.
4482 (bridge_property_event_listener): don't leak strings
4484 (bridge_state_event_listener),
4485 (bridge_property_event_listener): don't use a static
4486 buffer in case of recursive event emission &
4487 re-enterancy - split out the swathe of cut and paste
4489 (emit_eventv): and fix 2 ref leaks here & comply to the
4491 (bridge_register_app): rename to
4492 (bridge_idle_init): this and kill arg parsing, split
4493 various inits & bonobo-activation registration to module
4494 init time, kill referencing error.
4495 (bridge_exit_func): fix the same leak.
4496 (bridge_focus_tracker): don't leak event structures
4498 (bridge_signal_listener): more leakage and cut & paste
4500 (bridge_key_listener): return the result - FIXME is
4501 this polarity correct ?
4502 (accessibility_keystroke_from_atk_key_event): rename
4503 (accessibility_init_keystroke_from_atk_key_event): and stop
4505 (gtk_module_init): return a value - not that it is checked by
4507 (bridge_key_listener): register my horror at casting between
4508 IDL defined structs.
4509 (bridge_get_registry): kill - not used.
4511 * cspi/spi_accessible.c (Accessible_getRole): make return const.
4513 * test/test-simple.c (test_roles): impl.
4514 (test_desktop, validate_accessible, validate_tree): impl.
4516 * cspi/spi_accessible.c (role_names): fixup bogus
4517 MAX_ROLES setup, make constants const for efficient linkage
4518 (AccessibleRole_getName): conform to coding style, make
4521 2001-11-30 Michael Meeks <michael@ximian.com>
4523 * cspi/spi.h: add missing prototype.
4525 * libspi/registry.c (spi_listener_struct_new): fix sig.
4527 * test/Makefile.am: add test-simple
4529 * test/test-simple.c: add
4531 * test/test.sh: add.
4533 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
4535 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
4536 do it straight - since otherwise we often get an activation race.
4538 [ work before Bill duplicated a chunk of it ... ]
4539 2001-11-30 Michael Meeks <michael@ximian.com>
4541 * libspi/keystrokelistener.c
4542 (spi_keystroke_listener_class_init): fixup arg
4545 * libspi/eventlistener.c
4546 (spi_event_listener_class_init): ditto.
4548 * tests/test.sh: add.
4550 * cspi/spi-listener-impl.h: update macros.
4552 * cspi/spi-listener-impl.c
4553 (cspi_event_listener_remove_callback): add
4554 correct pre-conditions.
4556 * cspi/spi_main.c (SPI_exit): guard vs. double
4557 exits, exit the mainloop nicely.
4558 (SPI_event_main): make more sense.
4559 (SPI_init): move the atexit evilness here so we
4560 always do it (yuck).
4561 (SPI_event_main): upd.
4563 * test/simple-at.c: update for listener changes.
4565 * registryd/registryd.c (main): prune kruft.
4567 * libspi/libspi.h: upd.
4569 * libspi/eventlistener.[ch]: rename broken macros.
4571 * libspi/accessibleeventlistener.[ch]: remove.
4573 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
4575 * test/test-simple.c: Add - automated tests.
4577 * cspi/spi-listener-impl.c (cspi_event),
4578 (cspi_key_event): add user_data to invoke.
4579 (cspi_keystroke_listener_finalize): impl.
4580 (cspi_keystroke_listener_class_init): upd.
4583 (createAccessibleEventListener),
4584 (AccessibleEventListener_addCallback),
4585 (createAccessibleKeystrokeListener),
4586 (AccessibleKeystrokeListener_addCallback): upd.
4588 * libspi/deviceeventcontroller.c
4589 (spi_device_event_controller_check_key_event): add public proto.
4592 (impl_accessibility_registry_deregister_global_event_listener):
4593 always init listeners.
4594 (_registry_notify_listeners): yes it is.
4596 * cspi/spi-listener-impl.c (cspi_key_event):
4598 (cspi_event_listener_finalize): impl.
4599 (cspi_event_listener_class_init): hook up.
4600 (event_handler_new, event_handler_free),
4601 (event_list_remove_by_callback): impl.
4602 (cspi_event_listener_remove_callback),
4603 (cspi_keystroke_listener_remove_callback),
4604 (cspi_keystroke_listener_add_callback),
4605 (cspi_event_listener_add_callback): upd.
4607 * libspi/keystrokelistener.c
4608 (keystroke_listener_object_finalize): kill
4609 (spi_keystroke_listener_class_init): upd.
4610 (spi_keystroke_listener_add_callback),
4611 (spi_keystroke_listener_remove_callback): kill,
4613 (impl_key_event): prune drasticaly.
4615 * libspi/eventlistener.c
4616 (spi_event_listener_add_callback),
4617 (spi_event_listener_remove_callback): kill, use
4619 (impl_accessible_event_notify_event): upd.
4620 (spi_event_listener_object_finalize): remove.
4622 * libspi/Makefile.am: use eventlistener.[ch]
4624 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4626 * libspi/registry.c (_registry_notify_listeners):
4627 Changed listener loop iteration to use preferred convention.
4628 Got rid of string memory leaks caused be calling g_strconcat
4629 inside function calls.
4631 * libspi/registry.c (parse_event_type):
4632 Stopped g_strconcat memory leaks, free the g_strsplit return,
4633 g_strdup the split pieces when used, etc.
4635 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4638 Change method 'compare' to return a 'difference set' rather than
4639 taking a StateSet as an out parameter (more Java-friendly).
4641 * idl/Accessible.idl:
4642 Added CORBA struct 'BoundingBox', to faciliate API changes below:
4644 * idl/Component.idl:
4646 Changed methods 'getExtents' and 'getImageExtents' in these
4647 interfaces to return a BoundingBox structure.
4648 (getPosition and getSize are redundant and possibly should be
4649 removed, rather than creating a corresponding Point struct.)
4651 * cspi/spi_component.c:
4652 Modify implementation of getExtents to reflect the above IDL
4657 Add (missing) AccessibleImage_getExtents () API.
4659 * docs/reference/cspi/at-spi-cspi-sections.txt:
4660 Added AccessibleImage_getImageExtents () to docs.
4662 2001-12-03 Bill Haneman <bill.haneman@sun.com>
4664 * idl/Component.idl:
4665 Added two methods, getLayer () and getMDIZOrder (), to reflect
4666 the new ATK methods atk_object_get_layer and
4667 atk_object_get_mdi_z_order. (Which arguably should be part of the
4668 AtkComponent API and AtkObject). Also added an enum,
4669 ComponentLayer, for the first method's return value.
4671 * libspi/component.c:
4672 Added implementations for these methods.
4674 * cspi/spi_component.c:
4676 Added cspi binding methods for above,
4677 AccessibleComponent_getLayer() and
4678 AccessibleComponent_getMDIZOrder().
4679 Added cspi enum 'AccessibleComponentLayer'.
4681 * docs/reference/cspi/at-spi-cspi-sections.txt:
4682 Added above methods to docs.
4686 Changed typedef for 'boolean' type (and all references to it) to
4687 SPIBoolean, to avoid keyword clashes with C++.
4690 Changed usages of 'boolean' to SPIBoolean.
4692 * test/keysynth-demo.c:
4693 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
4694 app), except where SPIBoolean is required by the callbacks API.
4696 2001-12-02 Bill Haneman <bill.haneman@sun.com>
4698 * cspi/spi_registry.c:
4699 Removed obsolete X event loop for passive keygrabs (which now
4702 * registryd/registryd.c:
4703 Removed unnecessary call to gdk_init() [cruft]. This also allows
4704 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
4707 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4709 * docs/reference/cspi:
4710 Included docs for SPI_freeString in generated documentation.
4713 Renamed spi_freeString to SPI_freeString, for consistency. Added
4714 documentation for this function.
4717 Renamed spi_freeString to SPI_freeString, for consistency.
4718 Removed obsolete method declaration string_from_corba_string.
4720 * test/keysynth-demo.c:
4721 Small tweak to comments.
4724 Stopped leaking the strings returned from CSPI.
4726 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4728 Merged Michael's branch (see his ChangeLog entries below).
4730 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
4731 bridge is alive, release on exit.
4733 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
4734 Fix type check macro.
4737 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
4740 Added is_gnome_app static, and method cspi_is_gnome_app(),
4741 so we can call the appropriate shutdown routine at exit in SPI_exit.
4743 * cspi/spi_main.c (cspi_object_ref):
4744 Duplicate the corba object passed in, since we're keeping it around.
4746 * cspi/SPI_exit.c, cspi_cleanup:
4747 Moved the releasing of the live refs to its own function, so we
4748 can put it in g_atexit (). Call the appropriate shutdown API
4749 depending on whethe calling client is a gnome app or not
4750 (bonobo_main_quit or CORBA_ORB_shutdown).
4752 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
4753 Unref the listener when this method is called, after
4754 deregistration. Updated the API docs to note this behavior.
4756 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
4757 Bugfixes: Ref the bonobo object when returning a parent or child
4758 reference, or an AccessibleRelation. Generally made sure
4759 BonoboObject refcount is incremented whenever we return an
4762 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
4763 Fixed typo/bug in signal declaration.
4765 * libspi/accessibleeventlistener.h:
4768 * libspi/application.c (spi_application_new):
4769 Fixed leak in initialization.
4772 Remembered to increment bonobo-object refcount when returning
4773 children (applications) from desktop object.
4774 Added (empty) finalize method.
4776 * libspi/deviceeventcontroller.c:
4777 Hold a ref to listeners inside DEControllerKeyListeners.
4778 Added dec_key_listener_free() method. Use prepend instead of
4779 append in key_listener list. Fixed some refcount madness and
4780 leaks in the listener registration/deregistration - deregistration
4781 now calls dec_key_listener_free() on listeners, and on the
4782 temporarily constructed dec_key_listener() used to perform the search/match.
4784 * libspi/hypertext.c (spi_hypertest_finalize):
4785 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
4786 class. Also fixed spi_hypertext_interface_new() and
4787 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
4789 * libspi/hypertext.h:
4790 Removed pointless and duplicate AtkObject pointer from
4793 * libspi/keystrokelistener.c:
4794 Fixed incorrect type of keystroke_listener_parent_class,
4795 renamed keystroke_listener_object_finalize to
4796 spi_keystroke_listener_object_finalize.
4797 Fixed typo in signal declaration
4798 (spi_keystroke_listener_class_init).
4800 * libspi/registry.c:
4801 Added funcsions spi_listener_struct_new() and
4802 spi_listener_struct_free() to help with memory management issues.
4803 We also now use these methods instead of gnew + poking stuff into
4804 the struct, and to decrement listener counts/free the listeners
4805 when deregistering them.
4806 Fix more refcount bugs in getDesktop() and
4807 getDeviceEventController().
4810 De-ref the desktop after enumerating the applications. Explicitly
4811 decrement the refcounts on the created listeners on exit (using
4812 _unref for keystroke listeners, and via the
4813 deregisterGlobalEventListenerAll command for other event
4816 2001-11-27 Michael Meeks <michael@ximian.com>
4818 * cspi/spi-listener.h: fixup enum.
4820 2001-11-27 Michael Meeks <michael@ximian.com>
4822 * cspi/spi-listener-impl.c (cspi_event_listener_new),
4823 (cspi_keystroke_listener_new): Use the cspi variants.
4825 2001-11-26 Michael Meeks <michael@ximian.com>
4827 * test/keysynth-demo.c: fix 2 compile warnings, missing
4830 * test/simple-at.c (report_focussed_accessible),
4831 (report_focus_event, report_button_press),
4832 (check_property_change, is_command_key),
4833 (report_ordinary_key_event, report_command_key_event): upd.
4835 * util/mag_client.h: include pre-requisites.
4837 * libspi/accessibleeventlistener.c
4838 (spi_event_listener_object_finalize): free any lingering
4841 * libspi/keystrokelistener.c
4842 (keystroke_listener_object_finalize): ditto.
4844 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
4845 callbacks, with cspi types.
4847 * cspi/spi_event.c (createAccessibleEventListener): chain to
4848 (AccessibleEventListener_addCallback): here.
4849 (createAccessibleKeystrokeListener): chain to
4850 (AccessibleKeystrokeListener_addCallback): here.
4852 * libspi/keystrokelistener.c
4853 (spi_keystroke_listener_class_init): add signal.
4854 (impl_key_event): emit the event.
4855 (boolean_handled_accumulator): impl.
4856 (marshal_BOOLEAN__POINTER): add, gack.
4858 * libspi/accessibleeventlistener.c
4859 (spi_event_listener_class_init): add signal.
4860 (impl_accessible_event_notify_event): emit the signal &
4861 make the loop efficient.
4862 (spi_event_listener_add_callback): prepend the callback.
4864 * libspi/accessibleeventlistener.h: add an 'event' signal,
4865 decl type on callback.
4867 * libspi/keystrokelistener.h: ditto.
4869 * cspi/spi-listener.h: make methods typesafe and
4870 make them use the new event typedefs.
4872 * test/simple-at.c (report_focussed_accessible):
4873 include mag_client.h
4874 Use *(void *)text_interface not the other thing.
4876 * configure.in: add gtk to registryd bits - since we use
4879 * util/magnifier.c: include libbonobo.h
4881 2001-11-25 Bill Haneman <bill.haneman@sun.com>
4883 * test/keysynth-demo.c:
4884 Turned this into a simple scanning keyboard, to demonstrate the
4885 use of g_timeout_add () as a means of creating timers for
4886 scanning, and the use of GtkStyle for visually indicating when
4887 virtual keyboard elements are selected.
4889 keysynth-demo now listens to any keyboard keys with zero-valued
4890 keycodes (i.e. 'unused' keys) and interprets them as
4893 Reworked the shiftlatch code so that shift-down state isn't held
4894 for long periods (it's only synthesized immediately prior to
4895 the keysynth event it's modifying). Note that shiftlatch in this
4896 demo is a convenience, not intended to take the place of AccessX
4897 which is the better choice for getting 'sticky' modifier keys.
4899 * libspi/deviceeventcontroller.c:
4900 * at-bridge/bridge.c:
4901 * cspi/spi_registry.c:
4902 Removed some debug print stuff, and put other verbosity in #ifdef
4907 Implemented some more of the magnifier IDL for the simple
4908 magnifier: namely, getZoomRegionParams.
4909 Added mag_x and mag_y members to MagnifierData struct, aid of this
4911 Added GtkWindow::realize signal handler to magnifier, to keep it
4912 from receiving keyboard focus from the WM.
4914 2001-11-23 Mark McLoughlin <mark@skynet.ie>
4916 * cspi/spi-private.h: my guess at what michael forgot
4917 before he ran off to NZ :-)
4919 2001-11-23 Michael Meeks <michael@ximian.com>
4921 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
4922 comment out non existant method invoke so we link.
4924 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
4925 use bonobo_exception_get_text for more friendly warnings.
4927 * cspi/spi.c (Obj_Add): move into spi_main & rename
4928 spi_object_add; kill spi.c
4930 * cspi/spi_registry.c
4931 (deregisterGlobalEventListener),
4932 (deregisterGlobalEventListenerAll),
4933 (registerGlobalEventListener): fix exception leaks.
4935 * cspi/spi_main.c (spi_exception): impl. helper, so we
4936 don't leak exceptions.
4938 * cspi/spi_selection.c
4939 (AccessibleSelection_deselectSelectedChild): return the
4942 * cspi/spi_main.c (spi_ev): impl; hack - gack.
4943 (spi_registry): ditto.
4944 (SPI_init): guard against double inits.
4946 * cspi/*.c: use spi_ev (), and spi_registry () where
4947 appropriate - a temporary hack until we have something
4948 better. Use spi_object_add
4950 2001-11-22 Michael Meeks <michael@ximian.com>
4952 * cspi/Makefile.am: re organise, install the headers.
4954 * cspi/*.h: add G_BEGIN/END_DECLS
4956 2001-11-22 Bill Haneman <bill.haneman@sun.com>
4959 Added non-preemptive keylistener for key events with no modifiers
4960 and shift-only modifier.
4962 * libspi/keystrokelistener.c:
4963 Removed some verbose diagnostics printout.
4965 * cspi/spi_registry.c:
4966 Fixed a bug that caused all key listeners to be registered as
4969 * libspi/deviceeventcontroller.c:
4970 Fixed bug that caused XGrabKey (preemptive key grab) to be called
4971 for non-preemptive key masks.
4974 2001-11-22 Bill Haneman <bill.haneman@sun.com>
4976 * docs/reference/idl/at-spi-idl-docs.sgml:
4977 * docs/reference/idl/at-spi-idl-sections.txt:
4978 * docs/reference/idl/at-spi-idl-overrides.txt:
4979 Added missing files.
4981 * docs/reference/Makefile.am:
4982 removed idl from SUBDIRS until we can figure a way to get gtk-doc
4983 to scan the IDL files :-(
4988 Added .cvsignore files.
4990 2001-11-21 Bill Haneman <bill.haneman@sun.com>
4992 * libspi/deviceeventcontroller.c:
4993 * libspi/keystrokelistener.c:
4995 * cspi/spi_registry.c:
4996 Added filters for KeySets, KeyEventSeq, and event types to key
4997 event dispatching, so listeners should only receive those events
4998 that they requested :-)
5000 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5005 * docs/reference:Makefile.am:
5006 * docs/reference/cspi:
5007 * docs/reference/cspi:Makefile.am:
5008 * docs/reference/cspi:tmpl:
5009 * docs/reference/cspi:tmpl:*.sgml:
5010 * docs/reference/idl:
5011 * docs/reference/idl:Makefile.am:
5012 * docs/reference/idl:at-spi-idl-sections.txt:
5013 * docs/reference/idl:at-spi-idl-docs.sgml:
5014 * docs/reference/idl:tmpl:
5015 * docs/reference/idl:tmpl:*.sgml:
5017 Restructured docs directory to allow separate 'reference' docs
5018 section, and forked idl and cspi docs. Added the sgml template
5019 files to CVS. Added the first sections/structural sgml for the
5022 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
5024 * configure.in, libspi/Makefile.am: find libXtst.
5026 2001-11-21 Michael Meeks <michael@ximian.com>
5028 * test/accessx-gui.c: s/spi_value/value/ - doh.
5030 * libspi/base.[ch]: add.
5032 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5034 * idl/Accessible.idl:
5035 * idl/Application.idl:
5038 Started gtk-doc cleanup on IDL.
5040 * libspi/deviceeventcontroller.c:
5041 Added and connected non-preemptive key notification from the
5042 toolkits (in addition to the pre-emptive support from XServer
5043 which we had before, but which causes 'focus flashing'). Filters
5044 are presently limited to key modifiers and global/non-global,
5045 KeySets are presently ignored, as are KeyEvent masks.
5047 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
5048 structs into the persistant structure rather than just storing
5049 pointers to things that might not persist across servant
5052 The XGrabKey call now does async keygrabs, because synchronous
5053 ones were deadlocking with GDK_event code in a very nasty way.
5055 Added boolean to internal method notify_keylisteners, to indicate
5056 whether the event came from the 'toolkit source' or the 'global
5057 (XServer) source' - this is used in the notification process to
5058 determine which listeners to send the event to.
5060 deviceeventcontroller.c is now warning-free.
5062 * libspi/registry.c:
5063 Fixed regression in application de-registration.
5064 Also fixed some really brain-dead weirdness having to do with
5065 event dispatching - event structs are now duplicated before being
5066 re-marshalled in the dispatch to listeners. This also fixes a
5067 Solaris build problem.
5070 2001-11-20 Michael Meeks <michael@ximian.com>
5073 (impl_accessibility_registry_deregister_global_event_listener):
5076 * libspi/deviceeventcontroller.c
5077 (spi_device_event_controller_check_key_event): return
5078 FALSE on no virtual method.
5080 * libspi/*..h: make includes work on a correctly pathed install.
5082 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
5084 * libspi/application.h: kill unused ( and whacked out )
5085 gboolean *spi_application_set_id (AtkObject *app, long id);
5087 2001-11-20 Michael Meeks <michael@ximian.com>
5089 * libspi/*.[ch]: further convert to bonobo's type func
5090 macros, remove redundnant casts etc.
5092 * libspi/text.c s/accessibility_text/spi_text/g,
5093 re-order to de-cruft.
5095 * libspi/hypertext.c: re-order to kill a huge slew
5096 of redundant forward decls.
5098 * libspi/relation.c: ditto.
5100 * libspi/image.c: ditto.
5102 * */.cvsignore: update
5104 2001-11-20 Michael Meeks <michael@ximian.com>
5106 * libspi/deviceeventcontroller.c
5107 (_controller_register_with_devices): use g_getenv,
5108 kill stdlib.h include.
5110 * libspi/keystrokelistener.c
5111 (spi_keystroke_listener_get_type): kill
5112 (spi_keystroke_listener_class_init),
5113 (spi_keystroke_listener_init): rename to this.
5115 * libspi/text.c (impl_getAttributes): fix warning / bug.
5117 * libspi/*.[ch]: more headers, includes and over commenting.
5119 2001-11-20 Michael Meeks <michael@ximian.com>
5121 * libspi/*.[ch]: fixup headers, includes and over commenting.
5123 * libspi/image.c (impl__get_imageDescription): const
5124 correctness warning fix. remove redundant casting.
5126 * libspi/table.c (impl_getRowDescription): ditto.
5127 (impl_getColumnDescription): ditto.
5129 * libspi/libspi.h: add.
5131 2001-11-19 Michael Meeks <michael@ximian.com>
5133 * libspi/editabletext.c (impl_setAttributes): fix warnings.
5135 * libspi/component.c (accessibility_component_get_type):
5136 rename to (spi_component_get_type): and macroify.
5137 (accessibility_component_init): rename to
5138 (spi_component_init): this
5139 (accessibility_component_class_init): rename to
5140 (spi_component_class_init): this
5142 * libspi/action.c (spi_action_get_type): kill, use the macro.
5144 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
5147 * libspi/application.c (spi_application_object_event_listener),
5148 (impl_accessibility_application_register_object_event_listener):
5149 warning fixes / const understanding updates.
5151 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
5154 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5156 * libspi/spi_accessible.c: Added docs and C bindings for
5157 AccessibleStateSet. (No implementations yet). Documentation
5158 coverage for C bindings now 100%. Made docs for event listeners
5163 boolean notifyListenersSync (in DeviceEventListener listener,
5164 in DeviceEvent event);
5166 oneway void notifyListenersAsync (in DeviceEventListener listener,
5167 in DeviceEvent event);
5169 Added DeviceEventListener and DeviceEvent structs (may deprecate
5170 KeyStroke and KeystrokeListener in favor of this generic
5171 event/listener framework for devices).
5173 * libspi/deviceeventcontroller.c:
5175 Changed some key listener code to take masks, etc., and paved the
5176 way for integration of toolkit/non-preemptive key events. Changed
5177 signatures of some internal methods.
5179 * at-bridge/bridge.c:
5180 Fixed regression connecting to interface signals, apparently
5181 caused by GTK+ changes.
5183 Added an internal bridge_state_listener to deal with
5184 property-change:accessible-state signals.
5186 Changed the key_listeners GList to store structs (including masks,
5187 etc.) instead of just CORBA_Objects (required for full
5188 implementation of key listener API).
5190 Connected the bridge to all currently supported Atk signals.
5191 Events now supported:
5192 object:property-change
5193 object:property-change:accessible-name
5194 object:property-change:accessible-state
5195 object:property-change:accessible-description
5196 object:property-change:accessible-parent
5197 object:property-change:accessible-value
5198 object:property-change:accessible-role
5199 object:property-change:accessible-table-caption
5200 object:property-change:accessible-table-column-description
5201 object:property-change:accessible-table-column-header
5202 object:property-change:accessible-table-row-description
5203 object:property-change:accessible-table-row-header
5204 object:property-change:accessible-table-summary
5205 object:children-changed
5206 object:visible-data-changed
5207 object:selection-changed
5208 object:text-selection-changed
5210 object:text-caret-moved
5212 object:row-reordered
5214 object:column-inserted
5215 object:column-reordered
5216 object:column-deleted
5217 object:model-changed
5219 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5221 * libspi/hyperlink.c,h:
5222 Fixed some broken stuff in hyperlink.
5224 * libspi/relation.h:
5225 * libspi/relation.c:
5226 * cspi/spi_accessible.c:
5227 Initial implementations of AccessibleRelation methods, and docs.
5229 * libspi/accessible.c:
5230 Fixed a bug that caused SEGV if an accessible
5231 object's description is NULL, and a client
5232 requests it. An empty string is now returned.
5234 * cspi/spi_editabletext.c:
5235 * cspi/spi_hypertext.c:
5237 * cspi/spi_hyperlink.c:
5241 Doc coverage now 95%.
5243 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5245 One last namespacing revision:
5246 * libspi/accessibleeventlistener.[ch]:
5247 Renamed SpiAccessibleEventListener to SpiEventListener,
5248 (no need for two namespaces ;-)
5250 And lots of documentation fixes:
5252 * docs/at-spi-docs.sgml:
5253 Fixed 'underscore vs. hyphen' bug that was preventing
5254 the gtk-doc API docs from being automatically generated.
5257 * cspi/spi-listener.h
5259 * cspi/spi_accessible.c
5261 * cspi/spi_application.c
5262 * cspi/spi_component.c
5263 * cspi/spi_editabletext.c
5265 * cspi/spi_hypertext.c
5267 * cspi/spi_registry.c
5268 * cspi/spi_selection.c
5272 * docs/at-spi-docs.sgml
5273 * docs/at-spi-sections.txt
5275 Added and fixed up gtk-doc documentation in cspi.
5277 Interfaces now (fully) documented (subject to revision and enhancement):
5279 Event Listener Support
5281 AccessibleApplication
5285 AccessibleEditableText
5292 AccessibleRelationSet
5297 2001-11-14 Bill Haneman <bill.haneman@sun.com>
5299 * at-bridge/bridge.c:
5300 Initial work for toolkit-level key snooper connection by bridge.
5305 New typedefs and fixes to support new namespacing, and cleaner
5306 separation of cspi bindings from libspi bonobo implementation.
5307 Removed inconsistent and extraneous Spi* namespace prefix that
5308 had crept into cspi headers.
5309 Lots of comment fixes that sed had missed.
5311 * cspi/spi-roletypes.h:
5312 * cspi/spi-statetypes.h:
5313 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
5314 to AccessibleRoleType.
5316 * libspi/accessibleeventlistener.h:
5317 Fixed minor namespacing weirdness.
5319 * libspi/deviceeventcontroller.c:
5320 Reordered some internal API for device listeners.
5321 Changed the key registry final boolean to 'is_system_global'
5322 rather than 'is_synchronous', which is more descriptive of its
5324 Added spi_device_event_controller_new().
5325 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
5327 * libspi/keystrokelistener.[ch]:
5328 Namespaced KeystrokeListener to SpiKeystrokeListener.
5329 Changed uses of keymasks to use SPI_ prefix, and did other
5332 * libspi/keymasks.h:
5333 Namespaced keymask constants with SPI_ prefix.
5335 * libspi/registry.c:
5336 Some warning fixes, and knock-on fixes from namespace changes.
5339 Added rules for accessx-gui test program.
5341 * test/accessx-gui.c:
5342 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
5343 utility. It doesn't actually use at-spi, but it's still cool and
5346 * test/keysynth-demo.c:
5350 Fixes so that these test clients work properly with the namespaced
5351 libraries. (Incompletely tested for technical reasons, fixes may follow)
5354 2001-11-13 Michael Meeks <michael@ximian.com>
5356 * libspi/application.c
5357 (impl_accessibility_application_get_version),
5358 (impl_accessibility_application_get_toolkit_name):
5360 (impl_accessibility_application_set_id),
5361 (impl_accessibility_application_get_id): remove
5362 redundant casting code.
5364 * libspi/action.c (impl_getDescription): fix warnings.
5366 * libspi/accessible.c
5367 (impl_accessibility_accessible_get_parent),
5368 (impl_accessibility_accessible_get_child_at_index),
5369 (impl_accessibility_accessible_get_state),
5370 (impl_accessibility_accessible_get_relation_set):
5371 warning fixes & include action.h
5373 2001-11-13 Michael Meeks <michael@ximian.com>
5375 * *.[ch] fix bits I screwed up:
5377 s/([^ \tb(\*\&\?\",])spi_/\1/g;
5378 s/([^ \tb(\*\&\?\",])Spi/\1/g;
5380 2001-11-13 Michael Meeks <michael@ximian.com>
5382 * *.[ch] Namespace libspi into spi_ and Spi.
5384 2001-13-11 Michael Meeks <michael@ximian.com>
5386 * Makefile.am: dist & install at-spi-1.0.pc
5388 * libspi/Makefile.am: install into at-spi-1.0
5390 * idl/Makefile.am (idldir): install into at-spi-1.0
5392 * at-spi-1.0.pc.in: add.
5394 * configure.in: build it.
5396 2001-11-12 Bill Haneman <bill.haneman@sun.com>
5398 * test/keysynth-demo.c:
5399 Use a 'realize' signal-handler to set the WM properties for
5400 the virtual keyboard, rather than making it a "POPUP" type
5401 override-redirect window (thanks to anders carlsson for that
5404 2001-11-11 Bill Haneman <bill.haneman@sun.com>
5407 * test/keysynth-demo.c:
5408 Added new test of key synthesis, which creates a simple
5409 (mouse-operated) onscreen keyboard. It inserts key events into
5410 the currently-focused window, thus it does not grab keyboard focus
5413 * cspi/spi_registry.c:
5414 Added C binding for AT-SPI generateKeyEvent.
5416 * libspi/deviceeventcontroller.c:
5417 Added call to XFilterEvent so that key listener works with XIM (we
5418 hope). Added event_synth_type to generateKeyEvent, so that we can
5419 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
5420 synthesize a press/release pair for KeySyms.
5422 2001-11-09 Bill Haneman <bill.haneman@sun.com>
5424 * libspi/Makefile.am:
5425 * registryd/Makefile.am:
5426 (temporary) hack to include libXtst in libspi and registryd.
5427 (Needed for keystroke synthesis, see below).
5430 Improved API for registerKeystrokeListener, in accordance with
5431 discussions with Gnopernicus team and X server research.
5433 * libspi/registry.c:
5434 * libspi/deviceeventcontroller.c:
5435 * libspi/accessible.c:
5436 * libspi/keystrokelistener.c:
5437 Changes and fixes to support keylisteners for potentially
5438 consumed key events (that is, 'passive grabs').
5439 Added implementation for generateKeyEvent() [untested].
5442 Changes to registerKeystrokeListener() API, as above.
5443 Added deregisterGlobalEventListenerAll(), and
5444 deregisterKeystrokeListener(), which are needed for clean exit of
5446 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
5447 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
5449 * cspi/spi_registry.c:
5450 Added implementations of function prototypes mentioned above.
5452 * registryd/registryd.c:
5453 Added the key listener event source as a g_timeout(), to allow
5454 receipt of key events that are not caught by GDK (since GDK
5455 doesn't support passive keygrabs, this was necessary).
5458 Changed to attach a keylistener to 'Alt' keys, and
5459 respond to the following keycommands: Alt-M (toggle magnifier);
5460 Alt-F (toggle speech); Alt-Q (quit).
5461 Added an exit routine to deregister the listeners, and a key
5462 listener that prints some key info to the console when a key
5463 matches the listener mask (and is thus received by the listener).
5465 * util/idl/Magnifier.idl:
5466 Changes to magnifier API to support multiple zoom regions,
5467 non-uniform scaling in x and y, markDirty, and a host of other
5468 features that would be useful to magnification.
5471 * util/mag_client.c:
5472 * util/mag_client.h:
5473 * util/mag_control.c:
5475 Source code changes to support the above IDL changes.
5478 As above, and also changes to use a (slower) generic conversion
5479 path for colormap conversions, since the fast RGB conversions have been
5480 reported to fail for 16-bit displays.
5482 2001-10-26 Michael Meeks <michael@ximian.com>
5484 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
5486 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
5488 * at-bridge/Makefile.am: fix LDFLAGS.
5490 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5492 * at-bridge/bridge.c:
5493 Re-worked listeners for toolkit events, now we have signal
5494 and property listeners. Added a private method
5495 register_atk_event_listeners(), which registers with the
5496 various atk and gtk signals we need to monitor in order to emit
5498 Added emission hook for AtkObject:property-change events, to
5499 support the 'property listeners'.
5500 Fixed some alloc()s of Accessibility_Event structs to use CORBA
5503 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
5504 which emit warnings and exit, respectively, if CORBA errors occur
5505 during remote calls, and we now use these methods to check most of
5506 our CORBA calls in the C bindings.
5508 * cspi/spi_accessible.c:
5509 Changed AccessibleSelection_refSelectedChild() to
5510 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
5511 now increment refcounts.
5513 * cspi/spi_component.c:
5514 Fixed some long pointer casts (dangerous!) to pass pointers to
5515 CORBA_longs of the proper type to the CORBA stubs, and copy the
5516 data into the longs that were passed into the C bindings code.
5518 * at-bridge/bridge.c:
5520 * libspi/accessible.c:
5521 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
5522 hyperlinks, AtkHyperlink is an object type.
5524 * libspi/application.c:
5525 Added various conversions to and from "generic" event types and
5526 atk-specific types; this is really part of the 'bridge'
5527 implementation but is valid for all AtkObject-based accessibility
5530 * libspi/editabletext.c:
5531 Fixed nasty bug wherein editable text's finalize method was
5532 unref'ing tha AtkObject reference that the text parent class was
5533 about to unref _again_. There was also a nasty inheritance bug
5534 that meant that the AccessibleEditableText class was corrupt.
5536 * libspi/selection.c:
5537 Provided implementations for some selection API that was broken.
5539 * idl/Application.idl:
5540 Added registerObjectEventListener () method.
5543 Fixed a number of return values that were Bonobo_Unknowns from
5544 bonobo_object_corba_objref(), which I
5545 forgot to dup before returning. Changed instances of
5546 bonobo_object_corba_objref (bonobo_object(o)) to
5547 BONOBO_OBJREF(o), for concision and clarity.
5549 2001-10-13 Louise Miller <louise.miller@sun.com>
5551 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
5552 idl/Event.idl, idl/Registry.idl
5553 Changed these files to include Bonobo_Unknown.idl instead
5556 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
5558 * libspi/component.c libspi/component.h:
5559 Fixed typo. Added assertions for object checks in
5560 AccessibleComponent code.
5562 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5564 * idl/Accessible.idl:
5565 Added 'isEqual (Accessible *object)'
5566 method for Accessible. (Not Yet Implemented).
5569 Changed signature of registerKeystrokeListener() to
5570 take a KeySet and KeyEventSeq so that specific keys and event
5571 types could be requested for monitoring, and added a flag
5572 is_synchronous so that either synchronous or asynchronous
5573 notification could be requested. (However this is not all
5574 implemented yet). This also meant adding two new typedefs,
5575 KeyEventSeq and KeySet.
5578 Added two new relations, RELATION_TOOLTIP_FOR and
5579 RELATION_LEAFNODE_OF.
5582 Added new state, STATE_HAS_TOOLTIP.
5584 * libspi/text.c, editabletext.c:
5585 Added new assertions to all casts of bonobo-objects from
5586 CORBA servants, to prevent Text API calls on non-text objects.
5587 Changed suspect casts of int-pointer types, so that we
5588 always send a valid CORBA_long pointer to the CORBA APIs that use
5589 in/out long parameters. We then have to copy from the CORBA_long
5590 into the regular long or int for return to the C bindings, or
5591 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
5594 * libspi/deviceeventcontroller.c:
5595 Cleaned these sources up.
5597 Changed return type for getCharacterAtOffset to
5598 CORBA_unsigned_long, to allow for 32-bit characters.
5601 2001-10-08 Bill Haneman <bill.haneman@sun.com>
5605 Fixed 'make dist' so that distro compiles...
5606 * libspi/keymasks.h:
5608 * cspi/spi-listener.c:
5609 KeystrokeListenerCB now returns a boolean.
5611 Added KeyEventType struct, and KeyStroke.
5612 Also added createKeystrokeListener(),
5613 KeystrokeListener_addCallback(),
5614 KeystrokeListener_removeCallback(), and added a keymask to
5615 registerKeystrokeListener().
5616 * cspi/spi_accessible.c:
5617 Changed numerous return types for interfaces from
5618 AccessibleComponent to Accessible<InterfaceName>; this was
5619 probably a cut-and-paste error.
5621 Implementations of new KeystrokeListener api (from spi.h,
5624 Changes to key modifier mapping.
5625 Created ControllerEventMask struct.
5626 Made DeviceEventController derive from Bonobo::Unknown.
5628 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
5629 * libspi/deviceeventcontroller.c:
5630 Added a number of new internal (private) methods.
5631 * libspi/editabletext.c:
5632 * libspi/editabletext.h:
5633 Fixed a number of bugs related to the fact that
5634 editabletext inherits from text. Fixed the EditableText struct,
5635 the init() call, and use correct casts when calling Text methods
5636 from an EditableText object. Removed (duplicate) atko from the
5637 EditableText structure, we use the one in the parent Text
5638 structure via the casts mentioned above.
5639 * libspi/keystrokelistener.[ch]:
5640 * libspi/registry.c:
5641 Changes in support of keyboard handling (above).
5643 Keyboard handling, though partly functional, is still not
5644 recommended for at-spi client use as there is considerable
5645 work yet to be done.
5648 Changed some places where pointers to various int types
5649 are cast to be pointers to CORBA_long types and vice-versa:
5650 pointer casting is not safe so we pass pointers of the correct
5651 types and then cast the result before putting it into the target
5654 * libspi/text.h: minor typos corrected.
5656 We now speak not only the name of a Text element, but the
5657 first sentence of its content, when it receives focus.
5658 I also changed the text compression to 75% from 50%.
5659 * util/Accessibility_Util.server.in:
5660 Changed the default magnifier type to be a 3x vertical
5661 splitscreen magnifier (was previously a 2x horizontal one).
5663 2001-10-03 Bill Haneman <bill.haneman@sun.com>
5665 * libspi/keystrokelistener.h:
5666 * libspi/keystrokelistener.c:
5667 Initial functional implementations of KeystrokeListener.
5670 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
5672 Fixed string handling for NULL strings in libspi.
5673 Added spi_freeString to free strings returned by C bindings.
5675 2001-09-30 Bill Haneman <bill.haneman@sun.com>
5677 * libspi/keystrokelistener.h:
5678 * libspi/keystrokelistener.c:
5679 Began (no-op) implementations of KeystrokeListener
5681 * libspi/deviceeventcontroller.c:
5682 * libspi/deviceeventcontroller.h:
5683 Began creating implementations of DeviceEventController,
5684 to handle keystroke and mouse event listening and
5686 * libspi/accessible.c:
5687 Stubbed-in the implementations for
5688 Accessibility_Accessible_getState and
5689 Accessibility_Accessible_getRelationSet.
5690 * libspi/registry.c:
5691 Improved de-registration process and fixed some bugs,
5692 deregistration now works correctly.
5694 Added initialization of applications list (to NULL).
5696 Reduced speech compression from 0.5 to 0.7, for demo.
5697 Changed call to gdk_window_set_decorations()
5698 to gtk_window_set_decorated().
5699 * at-bridge/bridge.c:
5700 Bridge now deregisters when app exits, via
5701 registration of a cleanup function
5702 with the g_atexit() call.
5703 Required making 'app' static, renamed 'this_app'.
5704 Fixed broken use of bonobo_init, passing argv wrongly.
5706 2001-09-27 Bill Haneman <bill.haneman@sun.com>
5710 Created a new directory for
5711 accessibility-related utilities, primarily for
5712 testing and demo purposes, but with possible
5719 Onscreen magnifier utility that
5720 is implemented as a bonobo service.
5722 * util/mag_client.c:
5723 * util/mag_client.h:
5724 Client-side support (simple C bindings)
5725 for Magnification service
5727 * util/mag_control.c:
5728 Client program example for
5729 Magnification service
5731 * util/Accessibility_Magnifier.server.in:
5732 Bonobo-activation file for the
5733 Magnification service.
5736 * util/idl/Magnifier.idl:
5737 IDL defining the bonobo Magnification
5741 Modifications to use the bonobo-activated magnifier
5742 above, in place of trying to connect to an existing
5743 magnifier that uses socket-listening IPC.
5745 If env variable MAGNIFIER is set, a magnifier service
5746 will be started if one does not exist.
5748 2001-09-25 Bill Haneman <bill.haneman@sun.com>
5750 * at-bridge/bridge.c:
5751 applied patch from Marc to build and run
5752 against new glib and gtk+ (seemed like a change
5753 to bonobo_init signature was made ?)
5755 made festival-server support turned off by default.
5756 Added support for a simple magnifier (off by default)
5757 which will be added to a 'util' directory later.
5758 * at-bridge/Makefile.am:
5759 Changed "application.h" header from a 'source'
5760 to a 'dependency' of libat-bridge.
5762 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
5771 Added interface implementation c files to list of
5772 includes so they are included in libcspi.
5775 Changed prototype of AccessibleAction_doAction to return a
5777 Changed prototype of AccessibleTable_getCaption to
5778 return an Accessible.
5779 Changed prototype of AccessibleTable_getSelectedRows
5780 and AccessibleTable_getSelectedColumns to
5781 return a long (returns the number of selected rows
5782 or columns respectively).
5783 Changed name of AccessibleText_refRunAttributes to
5784 AccessibleText_getAttributes.
5785 Changed prototype of AccessibleText_getCharacterExtents to
5786 return a void rather than a boolean.
5787 Added support for a AccessibleCoordType parameter
5788 specifying what type of coordinates are desired.
5789 Added an AccessibleCordType parameter to
5790 AccessibleText_getPointAtOffset.
5792 * cspi/spi_accessible.c:
5793 Added code to return the outstanding interfaces from
5794 Accessible_queryInterface.
5796 * cspi/spi_action.c:
5798 Corrected call to getNActions to call the c binding
5801 * cspi/spi_editabletext.c:
5803 Changed name from setRunAttributes to setAttributes.
5805 * cspi/spi_hyperlink.c:
5807 Changed call to getNAnchors to correctly call the c
5808 binding for an attribute.
5810 * cspi/spi_hypertext.c:
5812 Changed getImageDescription to correctly call the
5813 binding for an attribute.
5815 * cspi/spi_selection.c:
5816 Changed getNSelectedChildren to correctly call the c
5817 binding for the attribute.
5818 Changed refSelectedChild to getSelectedChild.
5822 Changed getCaption to return an Accessible.
5823 Fixed calls which retrieve attributes.
5824 Changed refAt to getAccessibleAt.
5825 Changed getNSelectedRows and getNSelectedColumns to
5829 Changed getCharacterExtents and getPointAtOffset to accept an
5830 AccessibleCoordType.
5832 Changed calls which retrieve attributes.
5833 Changed refRunAttributes to getAttributes.
5838 * idl/Hyperlink.idl:
5839 Changed n_anchors attribute to nAnchors to keep naming
5840 convention consistent.
5843 Made Table inherit from Bonobo::Unknown.
5844 Added nSelectedColumns and nSelectedRows attributes.
5847 Made Value inherit from Bonobo::Unknown.
5849 * libspi/hyperlink.c:
5850 Change for nAnchors attributte name change.
5852 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
5860 Added interface implementation c files to list of
5861 includes so they are included in libcspi.
5864 Changed prototype of AccessibleAction_doAction to return a
5866 Changed prototype of AccessibleTable_getCaption to
5867 return an Accessible.
5868 Changed prototype of AccessibleTable_getSelectedRows
5869 and AccessibleTable_getSelectedColumns to
5870 return a long (returns the number of selected rows
5871 or columns respectively).
5872 Changed name of AccessibleText_refRunAttributes to
5873 AccessibleText_getAttributes.
5874 Changed prototype of AccessibleText_getCharacterExtents to
5875 return a void rather than a boolean.
5876 Added support for a AccessibleCoordType parameter
5877 specifying what type of coordinates are desired.
5878 Added an AccessibleCordType parameter to
5879 AccessibleText_getPointAtOffset.
5881 * cspi/spi_accessible.c:
5882 Added code to return the outstanding interfaces from
5883 Accessible_queryInterface.
5885 * cspi/spi_action.c:
5887 Corrected call to getNActions to call the c binding
5890 * cspi/spi_editabletext.c:
5892 Changed name from setRunAttributes to setAttributes.
5894 * cspi/spi_hyperlink.c:
5896 Changed call to getNAnchors to correctly call the c
5897 binding for an attribute.
5899 * cspi/spi_hypertext.c:
5901 Changed getImageDescription to correctly call the
5902 binding for an attribute.
5904 * cspi/spi_selection.c:
5905 Changed getNSelectedChildren to correctly call the c
5906 binding for the attribute.
5907 Changed refSelectedChild to getSelectedChild.
5911 Changed getCaption to return an Accessible.
5912 Fixed calls which retrieve attributes.
5913 Changed refAt to getAccessibleAt.
5914 Changed getNSelectedRows and getNSelectedColumns to
5918 Changed getCharacterExtents and getPointAtOffset to accept an
5919 AccessibleCoordType.
5921 Changed calls which retrieve attributes.
5922 Changed refRunAttributes to getAttributes.
5927 * idl/Hyperlink.idl:
5928 Changed n_anchors attribute to nAnchors to keep naming
5929 convention consistent.
5932 Made Table inherit from Bonobo::Unknown.
5933 Added nSelectedColumns and nSelectedRows attributes.
5936 Made Value inherit from Bonobo::Unknown.
5938 * libspi/hyperlink.c:
5939 Change for nAnchors attributte name change.
5942 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
5944 implementations-- made server implementations own AtkObject pointers
5945 rather than their respective AtkInterrface pointers to fix
5946 refcounting. AtkHyperlink is still broken.
5948 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5949 * cspi/spi_accessible.c:
5950 Added method Accessible_Role_getName(),
5951 and requisite string array (role_names).
5952 Added conversion string_from_corba_strin() call
5953 to Accessible_getName and _getDescription.
5954 * libspi/accessible.c:
5955 Added implementation for Accessible_getRole()
5957 Added festival support, used if environment variable
5960 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5962 * at-bridge/bridge.c:
5963 Now allocate Accessibility_Event using
5964 Accessibility_Event__alloc() instead of g_new0().
5965 * libspi/accessibleeventlistener.c:
5966 Initialize AccessibleEventListener->callbacks to NULL.
5967 Fixed accessible__event_listener_init() param, changed to
5968 "AccessibleEventListener *" type.
5969 Changed a bonobo_object_release_unref() call to
5970 Accessibility_Accessible_unref().
5971 * libspi/listener.c:
5972 Changed Bonobo_Unknown_unref to (equivalent)
5973 Accessibility_Accessible_unref.
5974 * libspi/registry.c:
5975 Changed bonobo_object_release_unref to
5976 Accessibility_Accessible_unref.
5978 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
5981 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
5982 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
5983 spi-util.c spi-util.h
5984 Implementations for C bindings to remaining accessibility
5987 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
5990 changed return value of Action from void to boolean to
5991 bring in line with ATK.
5994 Changed getText funcions to return "out" start and end offsets.
5995 Changed getAttributes to take and offset and return the start
5996 and end offset of the attribute run.
5997 Changed getOffsetAtPoint and getCharacterExtents to take an
5998 enum describing whether coordinates are window or screen.
6001 libspi/action.c libspi/action.h libspi/editabletext.c
6002 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
6003 libspi/hypertext.c libspi/hypertext.h libspi/image.c
6004 libspi/image.h libspi/selection.c libspi/selection.h
6005 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
6006 libspi/value.c libspi/value.h
6007 Added server implementations for outstanding ATK interfaces
6008 not yet implemented.
6010 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6013 Added (missing) getName() method.
6014 Made nActions an attribute.
6015 * idl/EditableText.idl:
6016 Changed order of params in setAttributes.
6017 * idl/Hyperlink.idl:
6018 Removed getAnchor, added getURI.
6020 Changed attributes to methods, for efficiency
6021 (so that getting extents can be done in one call)
6022 * idl/Selection.idl:
6023 Changed nSelectedChildren to attribute, and re-indented.
6024 * idl/Table.idl: changed nrows, ncolumns, caption, summary
6026 * idl/Text.idl: reformatted to match our coding style.
6027 (temporarily?) removed getRowColumnAtOffset().
6028 Changed text selection API to support multi-select and
6029 non-contiguous selections, as in ATK.
6030 * idl/Value.idl: changed some methods to attributes.
6032 2001-08-24 Mark McLoughlin <mark@skynet.ie>
6034 * libspi/listener.c(impl_notify_event):
6035 BonoboUnkown_unref the source instead
6036 of bonobo_object_release_unref - the ORB
6037 handles the releasing.
6039 * configure.in: require ORBit-2.3.94 for
6042 2001-08-21 Bill Haneman <bill.haneman@sun.com>
6044 Tagged CVS repository 'EA_1_0'.
6045 * README.EARLY_ACCESS:
6046 Alphabetized acknowledgements list, and
6048 Listed some known dependencies of at-spi.
6050 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6052 * docs/at-spi-docs.sgml:
6053 * docs/at-spi-sections.txt:
6054 * docs/at-spi-overrides.txt: (Added zero-length file)
6055 Documentation improvements - gtk-doc should build
6056 docs for all implemented C bindings now.
6059 * cspi/spi.c: (New file)
6060 * cspi/spi_event.c: (New file)
6061 * cspi/spi_registry.c: (New file)
6062 * cspi/spi_accessible.c: (New file)
6063 * cspi/spi_application.c: (New file)
6064 * cspi/spi_component.c: (New file)
6065 Split spi_main.c into six parts, and included them from
6066 "spi.c". This is a bit of a hack, probably temporary,
6067 but required by gtk-doc, apparently.
6069 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6072 * docs/at-spi-docs.sgml:
6073 * docs/at-spi-sections.txt:
6075 Initial checkins/modifications for gtk-doc generation.
6078 Added (missing) interface query methods to Accessible's C binding.
6080 Added GenericInterface type definition.
6082 Added query for AccessibleComponent interface to focus event handler.
6083 Added printout of bounding box for focussed component.
6084 * libspi/component.c:
6085 Added partial implementation for AccessibleComponent to C binding.
6086 * idl/Application.idl:
6087 * libspi/registry.c:
6088 * libspi/listener.c:
6089 * libspi/application.c:
6090 * libspi/application.h:
6091 Changed "ID" attribute type from string to long.
6093 2001-08-19 Bill Haneman <bill.haneman@sun.com>
6097 Made method naming consistent: methods taking object args
6098 start with uppercase, other methods (except those using
6099 acronyms) start with lowercase. Underscores delimit between
6100 object names and method names:
6101 SPI_init() - uppercase since it starts with an acronym.
6102 getDesktopCount () - lowercase start since no object param0.
6103 Accessible_getName() - uppercase object type name, studlyCaps method
6107 Added gtk-doc documentation for all currently implemented
6108 methods in the C bindings API.
6110 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6112 * Makefile.am : changed build order to build test last.
6115 Changed "createEventListener" to "CreateEventListener".
6116 * libspi/accessibleeventlistener.c :
6117 Bugfix for addition of callbacks.
6118 * test/Makefile.am :
6119 * test/simple-at.c :
6120 Added new test that uses the C bindings API.
6122 * libspi/listener.c :
6123 * libspi/registry.c :
6124 * libspi/accessibleeventlistener.c :
6125 * at-bridge/bridge.c :
6126 Renamed member "target" of Accessibility_Event to "source",
6127 which is more descriptive.
6130 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6134 * cspi/Makefile.am :
6135 Added makefile support for at-spi/cspi directory.
6138 * cspi/spi-listener.h : (NEW FILE)
6139 Added support for/use of spi-listener.h.
6141 C bindings now build successfully, with no warnings.
6142 * libspi/accessibleeventlistener.h : (NEW FILE)
6143 * libspi/accessibleeventlistener.c : (NEW FILE)
6144 * libspi/Makefile.am :
6145 Added new object type "AccessibleEventListener"
6146 which inherits from Listener, and allows attachment
6147 of in-process callbacks (so that a client with a listening
6148 object instance can add functionality to the local
6149 implementation, dynamically).
6151 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6153 * libspi/accessible.c:
6154 Add implementation for get_index_in_parent().
6156 Added #include of "spi-roletypes.h", and
6157 added enumerated type AccessibleCoordType.
6158 Added definition for KeystrokeListener (function type).
6161 * cspi/spi-statetypes.h :
6162 * cspi/spi-roletypes.h :
6164 Added these headers, used by spi.h.
6166 Added code (NOTE: not yet built by make).
6168 2001-08-18 Mark McLoughlin <mark@skynet.ie>
6170 * libspi/Makefile.am: generate imodule
6171 at the same time as other idl compiler
6174 2001-08-17 Bill Haneman <bill.haneman@sun.com>
6175 * libspi/registry.c :
6176 * libspi/application.c :
6177 * idl/Application.idl :
6178 Made registration with toolkit an application method,
6179 which is required since each app has its own toolkit static
6180 environment. Thus the bridge must register for
6181 notification of toolkit events from each application in turn.
6182 Toolkit notifications are now successfully registered for, and
6183 sent to the listening at client.
6185 Changed toolkit event string to use hyphens rather than underscores.
6186 * libspi/listener.c :
6187 listner now gives more info in debug mode - it reports the
6188 name of the event received, as well as the name of the source.
6191 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6193 * libspi/registry.c :
6194 added more implementation for toolkit events.
6195 Fixed bug such that toolkit event registrations
6196 (via atk) use the whole event name string, not
6198 Removed a useless call to an ORBit_ method.
6199 * at-bridge/bridge.c :
6200 Removed unused local sbuf[] variable.
6202 We now register for Gtk:GtkWidget:button_press_event
6203 events as well as "focus:" events.
6205 Add some more API from Registry.idl that was missing,
6206 for keystroke listening, keystroke and mouse event
6207 synthesis, and enumeration of accessible desktops.
6209 2001-08-16 Michael Meeks <michael@ximian.com>
6211 * configure.in: use AM_GLIB_GNU_GETTEXT.
6213 * Makefile.am (SUBDIRS): kill intl.
6215 2001-08-15 Michael Meeks <michael@ximian.com>
6217 * registryd/Makefile.am: s/oaf/server/ relocate info file.
6219 * configure.in: upd.
6221 * configure.in: depend on a recent bonobo-activation that
6222 will find our server files ...
6224 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6226 * libspi/accessible.c : accessible_new() :
6227 Now we add the Component interface via bonobo_object_add_interface,
6228 if the contained AtkObject implements AtkComponent.
6229 * libspi/accessible.h : now include "component.h"
6230 * libspi/component.h :
6231 * libspi/component.c : added files - implementation of
6232 bonobo wrapper object for Accessibility/Component
6233 * libspi/listener.c :
6234 Added test code to check for Accessibility/Component:1.0
6235 interface and report whether it is implemented by the
6237 * libspi/registry.c :
6238 Now we check for not only the hash of the whole event
6239 string before relaying the event, we also check the
6240 "minor" event string (without the detail string).
6241 This allows event listeners to be registered against
6242 all events of a certain major+minor type, or just
6243 against a specific major+minor+detail type.
6244 * libspi/accessible.c :
6245 Added implementations for Accessible:get_parent(),
6246 Accessible:getChildCount(), and Accessible:getChildAtIndex().
6247 * libspi/registry.c :
6248 * libspi/listener.c :
6249 Replaced calls to Accessibility_Accessible_ref() and
6250 Accessibility_Accessible_unref() with
6251 calls to bonobo_object_dup_ref() and
6252 bonobo_object_release_unref(), so that the CORBA object
6253 is dup-ed and released when relayed, as well as the bonobo object.
6255 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6257 * libspi/Makefile.am,
6258 registryd/Makefile.am,
6259 at-bridge/Makefile.am.
6260 test/Makefile.am, configure.in:
6261 reverse previous changes.
6263 * /idl/Image.idl: fix typo.
6265 * test/Makefile.am: put DEBUG_FLAGS
6268 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6270 * test/app.c: use argv[0] instead of
6273 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6275 * libspi/Makefile.am,
6276 registryd/Makefile.am,
6277 at-bridge/Makefile.am.
6278 test/Makefile.am, configure.in:
6279 cleanup, replace individual LIBS/CFLAGS with
6280 AT_COMMON_{LIBS|CFLAGS}.
6284 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6286 * configure.in, libspi/Makefile.am:
6287 Change IDL path checking for bonobo-activation
6290 2001-08-15 Bill Haneman <bill.haneman@sun.com>
6292 * registryd/registry.c : separated event listeners to use
6293 3 separate lists (focus, window, toolkit). Began testing
6294 event names against hashes before relaying events.
6295 * test/at.c : now register for events of type "focus:"
6296 * test/app.c : now generate events of type "focus:"
6297 * at-bridge/bridge.c : register with ATK for focus events,
6298 and we now relay those focus events to any "focus:" listeners.
6299 This now works with the bridge as a GTK_MODULE when running test/at.
6300 * libspi/registry.c :
6301 * libspi/listener.c :
6302 now we ref event sources before propagating, and unref on receipt.
6303 * libspi/registry.c :
6304 some changes to internal structs, to support event typestring hashes.
6305 * text/app.c : changed the way the appname is generated.
6306 * cspi : added directory that will hold the C bindings library for
6307 non-CORBA/bonobo-savvy clients.
6308 * cspi/spi.h : header file that contains the function prototypes for the C binding.
6309 * idl/Component.idl : added in parameter to indicate coord system for
6310 geometry-related calls.
6311 * idl/Hyperlink.idl : added readonly n_links attribute
6312 * idl/Image.idl : changed methods to attributes.
6314 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6316 * at-bridge/Makefile.am: link against
6317 ../libspi/libspi.la instead of -lspi.
6319 * at-spi/test/app.c: include
6320 bonobo-activation.h. Use a default appname
6321 if one is not provided.
6323 2001-08-14 Bill Haneman <bill.haneman@sun.com>
6325 * idl/Registry.idl : temporarily changed register_Application
6326 to oneway, to work around issue with initial registration
6328 * idl/Application.idl : changed attribute "id" from readonly
6329 to read-write, since it needs to be assigned by Registry.
6330 * registryd/registryd.c : added call to set application id
6332 * registryd/registry.c : changed de-registration procedure to
6333 use CORBA_Object_hash() to find matching object ref in application
6334 lists and listener lists.
6335 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
6336 began distinguishing between event types (work in progress).
6338 2001-08-13 Bill Haneman <bill.haneman@sun.com>
6341 * libspi/application.c:
6342 Added implementations for get/set id, get_toolkitName,
6344 * registryd/registryd.c :
6348 Converted from use of OAF to bonobo-activation.
6349 * libspi/desktop.h :
6350 * libspi/desktop.c :
6352 Removed references to atksimpleobject, since base atkobject
6353 implementation now provides functionality we need.
6354 * libspi/atksimpleobject.c :
6355 * libspi/atksimpleobject.h :
6360 * at-bridge/Makefile.am
6361 * at-bridge/bridge.c
6364 Added directory "bridge" and contents, and added dependencies
6365 in Makefile.am/configure.in.
6366 Initial checkin of "at-bridge".
6367 This code is a GTK_MODULE which automatically registers
6368 GTK+ apps with the accessibility registry, using an object
6369 reference to the root ATK object.
6371 2001-08-10 Mark McLoughlin <mark@skynet.ie>
6373 * po/Makefile.in.in: Remove. Again. If this
6374 doesn't get autogenerated - you need to update
6377 2001-08-07 Mark McLoughlin <mark@skynet.ie>
6379 * po/Makefile.in.in: Add. Again.
6381 2001-07-31 Bill Haneman <bill.haneman@sun.com>
6383 * libspi/accessible.c : added support for 'description' property.
6384 * libspi/accessible.c
6386 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
6387 (since the two are now equivalent in libbonobo)
6395 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
6396 Bonobo::Unknown as does Accessibility::Accessible.
6397 * idl/StreamableContent.idl : as above, and replaced internal InputStream
6398 interface with Bonobo::Stream, since it was redundant with it.
6399 (The Stream returned by a StreamableContext object is expected to
6400 implement only a subset of Bonobo::Stream)
6402 2001-07-28 Anders Carlsson <andersca@gnome.org>
6404 * libspi/accessible.c (accessible_object_finalize): Change
6405 g_free to g_object_unref since the AtkObject is a GObject.
6407 2001-07-30 Bill Haneman <bill.haneman@sun.com>
6409 * idl/Accessibility.idl: add new IDL files
6412 * idl/Action.idl: Definitions of actionable UI object
6413 * idl/Component.idl: Definitions of UI component geometry, etc.
6414 * idl/Hyperlink.idl: Defs of hyperlink behavior
6415 * idl/Image.idl: Def of accessible image
6416 * idl/Selection.idl: Definition of UI object with selectable children
6417 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
6418 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
6419 * idl/Text.idl: Interface defs for UI elements with complex textual content
6420 * idl/Value.idl: Definition of UI element that is a value controller or display
6422 2001-07-27 Michael Meeks <michael@ximian.com>
6424 * po/Makefile.in.in: remove autogenerated file from CVS.
6426 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
6429 * idl/Registry.idl: include guard.
6431 * idl/Accessibility.idl: Add, and include all the other IDL
6434 * idl/*.idl: remove mass of pragmas etc.
6436 2001-07-26 Michael Meeks <michael@ximian.com>
6438 * registryd/Makefile.am (registryd_SOURCES): remove
6441 2001-07-27 Mark McLoughlin <mark@skynet.ie>
6443 * libspi/.cvsignore, registryd/.cvsignore,
6444 test/.cvsignore: updated.
6446 * po/Makefile.in.in: gettext update.
6448 2001-07-25 Bill Haneman <bill.haneman@sun.com>
6450 * initial CVS checkin
6452 2001-06-29 Michael Meeks <michael@ximian.com>
6454 * configure.in: add AM_CONFIG_HEADER to gen config.h