1 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
3 * configure.in: Added lt to ALL_LINGUAS.
5 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
8 (atk_bridge_init): Register event listeners always even for
10 (spi_atk_bridge_toplevel_added): Remove call to
11 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
12 (spi_atk_bridge_toplevelk_removed): Remove call to
13 spi_atk_deregister_event_listenersa as the listeners are now always
15 (spi_atk_bridge_register_application): Remove call to
16 spi_atk_register_event_listeners as it is not done in atk_bridge_init
18 This fixes bug #120991.
20 * libspi/table.c (impl_getColumnDescription): Correct typo,
21 pointed out by Bolian.Yin@sun.com.
23 2003-09-21 Åsmund Skjæveland <aasmunds@fys.uio.no>
25 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
27 2003-09-08 Bill Haneman <billh@gnome.org>
29 * configure.in: Revved to 1.3.7.
31 This is the GNOME 2.4.0 release of at-spi.
33 * docs/reference/cspi/Makefile.am:
34 Removed spurious inclusion of 'index.sgml' in the
35 html directory; this was breaking make distcheck and
36 also some other build environments.
38 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
40 * registryd/registry.[ch}:
41 Add queue_handler_id and focus_object to SpiRegistry data structure.
42 (registry_flush_event_queue): If event being discarded is
43 "state-change:focused" store object as focus_object.
44 (registry_start_queue): Remove queue handler and focus object
46 (registry_discard_event): New function which discards a focus event
47 if we had stored focus object in the registry.
48 (registry_queue_event): Add new check that is_queueing is set as this
49 function is reentrant.
50 (registry_filer_event): Add call to registry_discard_event.
52 This resolves issues raised in bug #108664.
54 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
56 * configure.in: Added "bn" to ALL_LINGUAS.
58 2003-09-04 Bill Haneman <billh@gnome.org>
60 * cspi/spi_event.c: Documentation improvements for
61 (SPI_registerAccessibleKeylistener).
63 * docs/reference/tmpl/spi_registry.sgml:
64 Documentation improvements for SpiAccessibleKeylistenerCB.
66 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
68 * configure.in: Added "ro" to ALL_LINGUAS.
71 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
73 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
74 not decremented to zero. Fixes bug #120725.
76 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
78 * configure.in: Added "ja" to ALL_LINGUAS.
80 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
82 * configure.in: Added "is" to ALL_LINGUAS.
84 2003-08-22 Christian Rose <menthos@menthos.com>
86 * configure.in: Added "nl" to ALL_LINGUAS.
88 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
90 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
91 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
93 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
95 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
96 type for unspecified exception.
97 * cspi_streamablecontect): Add include of string.h for memcpy.
98 (stream_release): Correct call to bonobo_object_release_unref
99 (stream_cache_item_free): Correct call to bonobo_object_release_unref
100 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
101 argument of _cspi_expection_throw.
102 * libspi/hyperlink.c: Add include of libspi/action.h:
103 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
104 * libspi/streamablecontent.c: add include of libspi/component.h.
105 * regisrtyd/deviceeventcontroller.c:
106 (spi_dec_translate_mask): Removed unused variable priv.
107 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
108 * registryd/registry.c:
109 (registry_filter_event): Remove unused variable queue_is-empty.
110 (impl_registry_notify_event): Use correct modifier in fprintf call.
112 This fixes compiler warnings reported in bug #120220.
114 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
116 * registryd/registryd.c: Remove this file.
118 2003-08-17 Sanlig Badral <badral@openmn.org>
120 * configure.in: Added mn to ALL_LINGUAS.
122 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
124 * configure.in: Added et to ALL_LINGUAS.
126 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
128 * test/event-listener-test.c: Change active-descendant to
129 active-descendant-changed.
131 2003-08-10 Sami Pesonen <sampeson@iki.fi>
133 * configure.in: Added "fi" in ALL_LINGUAS.
135 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
137 * configure.in: Added "hi" in ALL_LINGUAS.
139 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
141 * configure.in: Revved to 1.3.6.
145 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
147 * registryd/deviceeventcontroller.c
148 (spi_device_event_controller_object_finalize): Fix typo in previous
151 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
153 * registryd/deviceeventcontroller.c
154 (spi_device_event_controller_object_finalize): Fix build on
155 systems without XEvIE.
157 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
159 * acconfig.h, configure.in, registryd/Makefile.am,
160 registryd/devicecontoller.[ch]: Add XEViE support.
162 2003-08-06 Wang Jian <lark@linux.net.cn>
164 * configure.in: Added "zh_CN" to ALL_LINGUAS.
166 2003-08-06 Metin Amiroff<metin@karegen.com>
168 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
170 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
172 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
173 MODIFIER_ALT in correct place.
175 This fixes part of bug #118114.
177 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
179 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
181 2003-07-28 Changwoo Ryu <cwryu@debian.org>
183 * configure.in: Added "ko" to ALL_LINGUAS.
185 2003-07-28 Ole Laursen <olau@hardworking.dk>
187 * configure.in: Added "da" to the commented out ALL_LINGUAS.
189 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
191 * configure.in: Added "sq" to ALL_LINGUAS.
193 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
195 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
197 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
199 * configure.in: updated ALL_LINGUAS list
201 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
203 * configure.in: Added Belarusian to ALL_LINGUAS.
205 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
207 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
209 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
210 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
212 This fixes bug #116949.
214 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
216 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
217 Correct CSPI to SPI in function documentation.
219 This fixes bug #118054.
221 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
223 * configure.in: Added Russian to ALL_LINGUAS.
225 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
227 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
229 2003-07-14 Danilo Šegan <dsegan@gmx.net>
231 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
233 2003-07-10 Joel Brich <joel.brich@laposte.net>
235 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
237 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
239 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
241 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
243 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
244 resources allocated for AccessibleEvent. See cspi_event().
246 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
247 static variable streams to NULL.
249 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
250 Update so that AcessibleEvent_ref will work.
252 This fixes bug #116624.
254 2003-07-06 Jordi Mallach <jordi@sindominio.net>
256 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
258 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
260 * configure.in: Added "fr" (French) to ALL_LINGUAS.
262 2003-07-02 Christian Neumair <chris@gnome-de.org>
264 * configure.in: Added "de" (German) to ALL_LINGUAS.
266 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
268 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
270 2003-07-01 Miloslav Trmac <mitr@volny.cz>
272 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
274 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
276 * configure.in: Added "pl" to ALL_LINGUAS.
278 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
280 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
282 2003-06-30 Bill Haneman <bill.haneman@sun.com>
285 (get_action_from_servant):
286 Removed assertion that action is implemented on an AtkObject.
288 * libspi/hyperlink.c:
290 Aggregate AccessibleAction interface on the hyperlink object if
291 the object implements AtkAction. (This convention is used in
294 2003-06-30 Bill Haneman <bill.haneman@sun.com>
296 * configure.in: Revved to 1.3.5.
298 * registryd/Accessibility_Registry.server.in.in:
299 Marked up appropriate strings for translation.
301 * atk-bridge/bridge.c: Marked a couple of
302 user-visible warnings for translation. Questionable
303 whether they are really useful, but possibly so.
306 2003-06-28 Christian Rose <menthos@menthos.com>
308 * configure.in: Added "sv" to ALL_LINGUAS.
310 2003-06-26 Bill Haneman <bill.haneman@sun.com>
312 * registryd/registry.c:
313 (spi_registry_object_finalize): Unref the deviceeventcontroller.
314 (registry_defer_on_event): Defer focus: events, this is an
315 improvement to the patch for bug #108664.
317 * TODO: Update with 2.4/"Dev Complete" items.
319 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
321 * atk-bridge/bridge.c:
322 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
323 looks up signals once.
324 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
325 if doing registration.
326 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
327 when doing registration.
329 This fixes bug #115014.
331 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
333 * atk-bridge/bridge.c:
334 (atk_bridge_init): Add signal handler for children-changed:remove on
335 root when in a BonoboComponent.
336 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
337 for first toplevel only other incrememt variable toplevels.
338 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
339 application and remove listeners.
340 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
342 (spi_atk_deregister_event_listeners): New function which removes
344 (reinit_register_vars): New fuction which reinitializes variables.
346 This fixes bug #111578.
348 2003-06-13 Bill Haneman <bill.haneman@sun.com>
350 * configure.in: version 1.3.4.
352 * cspi/spi_accessible.c:
353 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
356 2003-06-13 Michael Meeks <michael@ximian.com>
358 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
360 * cspi/spi_main.c (cspi_peek_ev): impl.
362 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
364 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
366 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
368 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
369 SPI_ROLE_AUTOCOMPLETE
371 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
373 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
374 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
376 2003-06-11 Bill Haneman <bill.haneman@sun.com>
378 * libspi/streamablecontent.h:
379 * libspi/streamablecontent.c:
380 New files, provide implementation/wrappers for
381 Accessibility_StreamableContent.
383 * cspi/spi_streamablecontent.c:
384 Connected the C wrappers to the libspi C bindings.
385 (AccessibleStreamableContent_close): New method.
388 (AccessibleStreamableContent_close): New method, needed
389 since we have an "open, [seek], read, close" model in cspi.
391 2003-06-11 Bill Haneman <bill.haneman@sun.com>
393 Fix for #108664; Padraig's revision of my original patch.
395 * registryd/registry.h:
396 Added event queue list, is_queuing, and exit_notify_timeout
397 to the registry struct.
399 * registryd/registry.c:
400 (registry_init): Initialize new struct from registry.h.
401 (impl_registry_notify_event):
402 Filter events before notifying, in case some need to be
404 (registry_filter_event): New,
405 we defer certain incoming events (for instance
406 window:deactivate) because we may wish to hide
407 or reject them based on pending events. This is
408 mostly a workaround for bug #108664.
409 (registry_queue_event, registry_start_queue): New.
410 (registry_defer_on_event): Test event to see if it
412 (registry_reset_on_event): Returns TRUE if the
413 event should cause a queue reset.
414 (registry_discard_on_event): Returns TRUE if the event
415 should cause the previous queue contents to be discarded.
416 (registry_timeout_flush_queue): Flushes the pending event
417 queue if no reset/discard-triggering events have come in
418 within the timeout period.
419 (registry_emit_event): New.
420 (registry_clone_notify_context): New, used when queueing the
421 event notify contexts.
423 2003-06-10 Bill Haneman <bill.haneman@sun.com>
425 * configure.in: Version revved to 1.3.2, lt 0.9.2
426 Incremented ATK required version to 1.3.4.
428 * cspi/spi_registry.c:
429 (SPI_generateKeyEvent):
430 We now pass the keystring along if it's non-null.
432 * registryd/deviceeventcontroller.c:
433 (keysym_mod_mask): New method, returns modifier mask
434 required to generate a keysym from a given keycode.
435 (dec_synth_keysym): New method.
436 (dec_synth_keystring): New method.
437 (dec_get_modifier_state): New method.
438 (dec_lock_modifiers): New
439 (dec_unlock_modifiers): New.
440 (dec_keysym_for_unichar): New, rather brute-force
441 conversion from UCS-4 to X KeySyms. Only works for
442 Latin at the moment, with partial implementations for
443 Greek, Hebrew, and (incomplete) Katakana.
444 (impl_generate_keyboard_event): Now implement
445 "KEYSTRING" synthesis and implement "KEYSYM"
447 (keycode_from_keysym): Improved, passes a returned
448 modmask value now if the corresponding param is non-NULL.
450 Fixes bugs #92143 and #109776.
453 * test/keysynth-test.c:
454 New test program for key synthesis, to confirm fixes for
458 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
460 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
462 * cspi/spi_accessible.c (cspi_init_relation_type_table):
463 Add line for RELATION_POPUP_FOR
465 * docs/reference/cspi/tmpl/spi_relation.sgml:
466 Add relation SPI_RELATION_POPUP_FOR
468 * docs/reference/cspi/tmpl/spi_stateset.sgml:
469 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
471 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
473 * libspi/relation.c (spi_init_relation_type_table):
474 Add line for RELATION_POPUP_FOR
476 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
478 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
479 there are still windows which have not been deleted and emit
480 window:deactivate, if necessary and window:destroy events.
481 This fixes bug #114370. The change on June 5th was not correct.
483 2003-06-09 Bill Haneman <bill.haneman@sun.com>
485 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
488 (SPI_dupString): Allow dup-ing of a string such that it's safe to
490 New methods for client exception handling and interception.
491 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
492 (SPI_exceptionHandlerPop): You guessed it...
493 (SPI_getSourceType): Return the type of object which offended.
494 (SPI_getExceptionCode): Return an enum code telling, possibly,
495 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
496 (SPIAccessibleException_getSource): get the source object for
497 exceptions that come from Accessibles, if SPIExceptionSourceType is
498 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
499 (SPIException_getDescription): New, returns a string description of
500 the problem. [Not yet a stable ABI, strings are not frozen]
502 * cspi/spi-private.h:
503 Added implementation details of opaque SPIException
507 Implementations of above. Also
508 (_cspi_exception_throw): new private method that
509 dispatches exceptions to handlers, called from cspi-bonobo.c
511 * cspi/bonobo/cspi-bonobo.c:
512 (cspi_check_ev): call _cspi_exception_throw.
513 Don't print a warning message if the exception has been
514 handled by _cspi_exception_throw.
516 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
518 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
519 there are still windows which have not been deleted and emit
520 window:deactivate, if necessary and window:destroy events.
521 This fixes bug #114370.
523 2003-06-03 Bill Haneman <bill.haneman@sun.com>
526 (cspi_accessible_is_a): Make non-fatal
527 if the object reference is dead.
529 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
531 * cspi/spi_main.c: #include <stdio.h>
532 * test/simple-at.c: ditto
533 * test/event-listener-test.c: ditto
534 * test/screen-review-test.c: ditto
536 2003-05-30 Michael Meeks <michael@ximian.com>
538 * test/test-simple.c (main): use CORBA_ORB_perform_work
539 instead of an unnecessary linc_ call.
541 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
543 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
544 Add SPI_STATE_INDETERMINATE.
546 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
549 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
551 * libspi/stateset.c (init_state_type_tables): Add support for
554 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
556 * configure: Update versions of atk and gail required.
557 This fixes bug #113268.
559 2003-05-02 Bill Haneman <bill.haneman@sun.com>
561 * configure.in: Revved micro version to 1.3.1 (because of build fix).
563 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
565 * libspi/Makefile.am:
566 Ensure headers are generated before being used by c sources.
568 2003-05-01 Bill Haneman <bill.haneman@sun.com>
571 Simplified lt versioning rules.
572 Incremented version to 1.3.0, to indicate that we're on the
575 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
577 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
578 Add MKDB_OPTIONS=--outtput-format=xml
580 * docs/reference/cspi/at-spi-cspi-docs.sgml
581 docs/reference/idl/at-spi-idl-docs.sgml:
582 Convert to Docbook XML.
584 This fixes bug #111793.
586 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
588 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
589 AcccessibleKeyEventType, AccessibleKeyMaskType.
591 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
593 * cspi/state-types.h: Add documentation for AccessibleState.
595 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
596 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
597 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
598 AccessibleComponentLayer.
600 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
603 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
605 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
606 Accessible. Add description of AccessibleEvent,
607 AccessibleEventListenerCB.
609 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
612 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
613 documentation. Add description of AccessibleKeystrokeListenerCB,
614 AccessibleKeyEventMask, AccessibleModifierMaskType,
615 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
616 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
618 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
621 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
624 This fixes bug #104730.
626 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
628 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
629 Set is_text field of Accessibility_DeviceEvent data structure.
631 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
632 is-text field of AccessibleDeviceEvent data structure.
634 This addresses part of bug #108666.
636 * registryd/devcieeventcontroller.c: Unset debug option.
638 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
641 (cpi_initial_relation_type_table): New function which initializes
642 mapping between Accessibility_RelationType and AccessibleRelationType.
643 (cspi_relation_type_from_spi_relation_type): New function which
644 translates an Accessibility_RelationType into an AccessibleRelationType.
645 (AccessibleRelation_getRelationType): Use
646 cpi_relation_type_get_spi_relation_type to return correct value.
647 (spi_state_to_corba): Return correct type for default case.
649 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
650 Use Accessibility_EventType instead of Accessibility_KeyEventType.
652 * cspi/cspi-bonobo-listener.c:
653 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
656 * libspi/accessible.c, libspi/action.c, libspi/application.c,
657 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
658 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
659 libspi/image.c, libspi/listener.c, libspi/selection.c,
660 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
661 registryd/desktop.c, registryd/registry.c:
662 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
664 * libspi/eventlistener.c
665 Remove semicolon after BONOBO_TYPE_FUNC.
668 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
669 (spi_init_relation_type_table): Initialize using correct type.
671 * registryd/desktop.c:
672 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
673 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
674 of Accessibility_KeyEventType.
676 * test/key-listener-test.c (report_tab_key_event): Use fprintf
679 * tests/simple-at.c, tests/screen-review-test.c:
680 Add include for <strings.h>.
682 * tests.stress-test.c:
683 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
685 These changes fix compiler warnings when using FORTE compiler on
686 Solaris; fixes bug #107479.
689 2003-04-10 Bill Haneman <bill.haneman@sun.com>
692 * configure.in: revved to 1.1.10
695 (SPI_KEYMASK_NUMLOCK): Added.
697 * registryd/deviceeventcontroller.c:
698 (spi_key_event_matches_listener): AND with a smaller
699 bitmask (as we should).
700 (spi_dec_translate_mask):
701 New method, sets the virtual NumLock modifier bit
702 if numlock is on. Eventually it can handle other virtual
703 modifier bits if needed, or other marshalling from
704 at-spi modifier masks to platform (X) masks.
705 (spi_dec_key_listener_new):
706 Call spi_dec_translate_mask to set up virtual mod bits
707 in the 'mask' field when creating a new listener struct.
708 (spi_dec_emit_modifier_event):
709 Set the virtual (i.e. NumLock) bits before emitting event.
710 (spi_controller_register_with_devices):
711 Query for the NumLock modifier 'physical' bit if Xkb is
712 present, for use in above methods.
716 2003-04-10 Bill Haneman <bill.haneman@sun.com>
718 * registryd/deviceeventcontroller.c:
719 (spi_keystroke_from_x_key_event):
720 Instead of checking to see if the keysym is
721 printable, check the string from XLookupString
722 if available, get the first unicode character from it,
723 and call g_unichar_isprint to determine whether the
724 is_text flag should be TRUE or FALSE.
728 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
730 * atk-bridge/bridge.c: Add support for extended events
731 * cspi/spi_event.c: Add documentation and implementation for
733 * tests/event-listener-test.c: Add tests for extended events.
735 This fixes bugs #100424 and #100426.
737 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
739 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
740 of LT_CURRENT. This fixes bug #89350.
742 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
744 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
745 number of signal parameter values before accessing them. This fixes
748 2003-04-01 Bill Haneman <bill.haneman@sun.com>
750 * configure.in: Fixed duplicate inclusion of -lspi.
751 * branched for gnome-2-2/HEAD.
752 [created tag "gnome-2-2"]
754 2003-03-07 Bill Haneman <bill.haneman@sun.com>
756 * configure.in: 1.1.9 release.
759 2003-03-07 Bill Haneman <bill.haneman@sun.com>
761 [needed by GOK, to fix bugs 107985 and 107988]
762 * registryd/deviceeventcontroller.c:
763 (spi_dec_clear_unlatch_pending):
764 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
765 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
766 (spi_dec_init_mouse_listener):Emit warning if mouse button
768 (spi_device_event_controller_forward_mouse_event):
769 Removed unnecessary parens from a conditional.
770 (global_filter_fn):Added TODO comment.
771 (impl_generate_keyboard_event):
772 Cancel a pending relatch if a 'delatching' key was
775 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
777 * atk-bridge/bridge.c:
778 Change atk_signal_child_changed to atk_signal_children_changed.
779 Reorganize code in spi_atk_bridge_signal_listener().
781 * test/event-listener-test.c:
782 Add children_changed_listener and report_children_changed_event()
783 to test AccessibleChildEvent_getChildAccessible.
785 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
787 * cspi/spi_event.c (cspi_internal_event_get_text): Change
788 g_strdup to CORBA_String_dup (bug #105291)
790 * test/event-listener-test.c (report_text_event): Add call to
793 2003-02-28 Bill Haneman <bill.haneman@sun.com>
795 * registryd/deviceeventcontroller.c:
796 (spi_keystroke_from_x_key_event):
797 Fix string and keysym return codes to match modifier state.
800 2003-02-28 Bill Haneman <bill.haneman@sun.com>
802 * registryd/deviceeventcontroller.c:
803 (spi_keystroke_from_x_key_event):
804 Fix segv due to improper use of isprint(c). [bug #107254]
806 2003-02-24 Bill Haneman <bill.haneman@sun.com>
809 (get_accessible_text_boundary_type):
810 Move default return value to (new) default case in switch.
811 (get_accessible_text_clip_type):
812 Move default return value to (new) default case in switch.
814 * libspi/application.c:
815 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
816 Remove unused methods.
817 (impl_accessibility_application_register_object_event_listener):
818 Remove unused methods.
821 Added #include of <math.h>.
823 * registryd/deviceeventcontroller.c:
824 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
825 we don't currently use this method.
826 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
828 (impl_generate_key_event):
829 Remove unused variables.
830 (impl_generate_mouse_event):
831 Initialize button to zero, just in case we get an invalid
832 input. Added support for mouse buttons 4 and 5.
833 (spi_device_event_controller_new):
834 Removed unused variable declaration for 'private'.
836 Added #include of <gdk/gdk.h>
838 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
840 * configure.in: Update to work when X is not installed in expected
841 location. Fixes bug #105836.
843 * atk-bridge/bridge.c
844 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
846 (spi_atk_register_event_listener): Add signal listener for
848 (spi_atk_bridge_signal_listener): Event event when link-selected
849 signal is emitted. (bug #104622)
851 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
852 on returned string. (bug #105291)
854 * test/event-listener-test.c: Add test for link-selected.
856 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
858 * atk-bridge/Makefile.am: Correct typo in previous commit.
860 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
862 * atk-bridge/Makefile.am: Allow for build directory to be different
863 from source directory
865 * registryd/Makefile.am: Allow for build directory to be different
866 from source directory
870 2003-01-29 Bill Haneman <bill.haneman@sun.com>
873 Fixed dependencies for libcspi so that libspi gets pulled in
874 properly. Fixes 104741.
878 Clean up inline docs a little.
880 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
882 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
883 This is done by implementing AtkComponent for SpiAtkDesktop, which is
884 the AtkObject within an SpiDesktop.
885 This addresses bug #101524.
887 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
888 Remove call to gdk_init().
890 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
891 so that Display is set when SpiDesktop is created.
893 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
895 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
896 This fixes bug #102830.
898 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
900 * test/test-simple.c: Update to take account of fact that GailButton
901 now implements AtkText.
902 (create_text_window): Set name on AtkObject for GtkEntry.
903 (validate_accessible): Check accessible name before calling test_text().
905 * libspi/Makefile.am: Fix problem with building outside of source
906 directory. Bug #98120.
908 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
909 typo in documentation comments. Bug #94275.
911 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
913 * libspi/text.c (impl_getBoundedRanges): Bug fix.
915 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
918 Add includes to avoid compiler warnings on Solaris.
919 (impl_getRangeExtents): Bug fix.
921 2002-12-17 Bill Haneman <bill.haneman@sun.com>
923 Fix for 100944, [API addition approved by Gman and murrayc].
930 * idl/Accessibility_Text.idl:
931 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
932 (Text::getRangeExtents): New method for efficient
933 bounds query of a text range.
934 (Text::getBoundedRanges): New method for efficient
935 clipping of text to bounding boxes.
936 (unImplemented7, unImplemented8):
937 Removed these padding methods to preserve bincompat.
940 (impl_getRangeExtents): implementation of new IDL.
941 (impl_getBoundedRanges): implementation of new IDL.
942 (SpiTextRect): Internal use struct.
943 (_spi_text_rect_union): internal method, calculates union of two
944 SpiTextRect bounding rects.
945 (_spi_text_range_seq_from_gslist): internal method, allows us
946 to build our sequence efficiently as a gslist then convert it
948 (_spi_bounds_contain): internal method, determines whether
949 a text character is "in" or "out" of a clip rect according to
950 values of TEXT_CLIP_TYPE.
951 (spi_text_class_init): Initialize the new methods in the epv.
954 (AccessibleTextClipType): New enum used by screen review api.
955 (AccessibleTextRange): New struct used by screen review api.
956 (AccessibleText_getRangeExtents):
957 cspi binding for Accessibility_Text_getRangeExtents.
958 (AccessibleText_getBoundedRanges):
959 cspi binding for Accessibility_Text_getBoundedRanges.
960 (AccessibleTextRange_freeRanges): convenience method.
963 (AccessibleText_getRangeExtents):
964 cspi binding for Accessibility_Text_getRangeExtents.
965 (AccessibleText_getBoundedRanges):
966 cspi binding for Accessibility_Text_getBoundedRanges.
967 (AccessibleTextRange_freeRanges): convenience method.
968 (get_accessible_text_clip_type): internal conversion method.
969 (get_accessible_text_ranges_from_range_seq): internal conversion method.
971 * registryd/deviceeventcontroller.c:
972 (spi_dec_mouse_check):
973 Improved behavior for mouse:abs events
974 [same granularity as mouse:rel events, and no
975 events when mouse is idle].
977 2002-12-16 Michael Meeks <michael@ximian.com>
979 * cspi/spi_accessible.c (spi_state_to_corba): rename.
981 * libspi/stateset.c (state_spi_to_atk): split out
982 ( fix several remote array bounds nasties )
983 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
984 (impl_remove): make safe from array bounds issues.
985 (spi_atk_state_from_spi_state): impl.
987 * libspi/stateset.h (spi_state_set_cache_is_empty):
988 add a set of wrapper defines to get layering right.
990 * cspi/spi_accessible.c: update state set stuff to
993 2002-12-14 Michael Meeks <michael@ximian.com>
995 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
996 to avoid 2 roundtrips to the registry per key event
997 (spi_atk_bridge_key_listener): upd.
998 (deregister_application): release the dec.
1000 * registryd/registry.c (notify_listeners_cb):
1001 bin lots of re-enterant complexity - we no longer
1002 do a round-trip bonobo ref here, ensure that a single
1003 listener's exception failure won't poison all other
1005 (impl_registry_notify_event): bin obvious memory leak.
1007 2002-12-13 Michael Meeks <michael@ximian.com>
1009 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
1010 init the ev so the error is meaningful.
1011 (spi_atk_bridge_key_listener): ditto.
1013 * cspi/spi_main.c (cspi_ev): init the ev so we start
1014 with a clean slate, otherwise the first exception
1015 kills us completely.
1017 * cspi/spi_text.c (get_accessible_text_boundary_type):
1018 add a fallthrough for no warnings.
1020 * cspi/spi_registry.c: prune unused warnings.
1022 * cspi/spi_main.c (cspi_object_take): fix
1023 mind-blowing brokenness ( by watching the compile
1026 * cspi/spi_accessible.c (Accessible_getStateSet):
1027 re-impl. to use an AtkStateSet.
1028 (spi_state_type_from_accessible_state),
1029 (init_state_table): bin these.
1031 * libspi/stateset.c (spi_atk_state_set_from_sequence):
1033 (atk_state_set_from_accessibility_state_set): here.
1035 * cspi/spi_accessible.c (spi_state_to_atk): impl.
1036 (AccessibleStateSet_contains, AccessibleStateSet_ref),
1037 (AccessibleStateSet_unref, AccessibleStateSet_contains),
1038 (AccessibleStateSet_add, AccessibleStateSet_remove),
1039 (AccessibleStateSet_equals, AccessibleStateSet_compare),
1040 (AccessibleStateSet_isEmpty): re-write to use a local
1043 2002-12-13 Bill Haneman <bill.haneman@sun.com>
1045 * configure.in: Revved to 1.1.7 (new keymask vals).
1047 2002-12-10 Bill Haneman <bill.haneman@sun.com>
1049 * libspi/keymasks.h:
1050 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
1052 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1055 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
1056 to compare two CORBA_TypeCodes.
1057 (cspi_internal_event_add): Silence warning from FORTE compiler.
1059 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
1060 avoid implicit declaration of functions.
1062 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
1064 * atk-bridge/bridge.c:
1065 (spi_atk_bridge_init_event_type_consts): Store signal id for
1066 active-descendant-changed signal.
1067 (spi_atk_register_event_listeners): Add signal listener for
1068 active-descendant-changed signal,
1069 (spi_atk_bridge_signal_listener): Move code in function
1070 spi_atk-signal_emit_event() into this function.
1071 Add support for active-descendant-changed
1072 Update support for child-changed signal.
1073 (spi_bridge_window_event_listener): Silence warning.
1075 * libspi/spi_private.[ch]:
1076 (spi_init_any_object): Change second parameter from CORBA_Object to
1078 Omit call to CORBA_Object_duplicate().
1079 Set CORBA_any's _value to CORBA_Object*.
1081 2002-12-06 Bill Haneman <bill.haneman@sun.com>
1087 (AccessibleEvent_ref, AccessibleEvent_unref):
1088 New methods, for persisting an event outside the emission context.
1089 Must be used if the new accessor methods are to be called
1090 outside of the event listener's callback.
1092 * cspi/bonobo/cspi-bonobo.c:
1093 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
1094 as second parameter instead of NULL, so we can call
1095 cspi_check_ev afterwards.
1098 (cspi_object_take): New internal method,
1099 converts a CORBA_Object reference to a hard ref on
1100 an Accessible if possible, returning NULL if the object
1101 reference is invalid or an Accessible * otherwise.
1104 (AccessibleEvent_ref):
1105 Increment the event's internal private refcount, and
1106 add the event's internal struct to an internal cache
1107 if it's not already there.
1108 (AccessibleEvent_unref):
1109 Decrement the event's refcount and remove it from
1110 the cspi event cache if refcount==0.
1111 (cspi_event_compare): New private method.
1112 Compares two event structs via their ids. Used
1114 (cspi_internal_event_lookup): New private method.
1115 (cspi_internal_event_check): New private method,
1116 a 0-order sanity check for events to make sure their
1117 private data is intact.
1118 (cspi_internal_event_add, cspi_internal_event_remove):
1119 New private methods for managiing the event cache.
1121 * cspi/bonobo/cspi-bonobo-listener.c:
1123 Initialize the new private data elements (id, magic, ref_count).
1125 * atk-bridge/bridge.c:
1126 (spi_atk_bridge_signal_listener):
1127 Fixed bug #100530, passing wrong params to emission func.
1129 * registryd/deviceeventcontroller.c:
1130 (spi_dec_button_update_and_emit):
1131 Fixed type in mask bit operations; fix for #99799.
1133 2002-12-02 Bill Haneman <bill.haneman@sun.com>
1135 Removed some of the more dangerous workarounds from
1136 previous commit; they are only needed by GOK, which
1137 in reality should be using another method to accomplish
1138 the goals. So on reconsideration some of the workarounds
1139 need to be reverted:
1141 * registryd/deviceeventcontroller.c:
1142 (spi_keycodes_contain, spi_dec_init_keycode_list):
1143 Removed these methods, used only by a nasty hack to try
1144 and detect whether a key synthesis should be allowed
1145 to reset the XKB latch state or not. This code was only
1146 required to work around an interaction between GOK,
1147 button events, and XKB.
1148 (impl_generate_key_event):
1149 Removed hack at end of key generation that tried to
1150 "do the right thing" if XKB latch keys were generated
1151 in the midst of button press/release pairs.
1154 Added a check for HAVE_XINPUT. Not normally used yet.
1156 2002-11-25 Bill Haneman <bill.haneman@sun.com>
1158 Workarounds and fixes for mouse event/XKB interaction.
1160 * registryd/deviceeventcontroller.c:
1161 (spi_keycodes_contain, spi_dec_init_keycode_list):
1162 New internal methods.
1163 (spi_dec_set_unlatch_pending):
1164 Split the method that tells XKB to expect an
1165 unlatch (and revert it) out of the rest of the
1166 event handling code. This method is called by the
1167 two mouse event handlers (the poll and the filter).
1168 (spi_dec_update_and_emit, spi_dec_mouse_check):
1169 New methods split from spi_dec_poll_mouse_moved.
1170 The second one is now called from inside the filterFn
1171 when an XKB delatch event is received, to determine
1172 whether to revert the delatch or not.
1173 (spi_poll_mouse_moved): Refactor; also we can now
1174 properly handle the case where multiple button states
1175 have changed between polling cycles and we didn't get
1176 notified due to another client's grab.
1178 Synchronize the server while handling an XKB notification.
1179 Ugly, but apparently necessary to avoid nasty races.
1180 Check the mouse state on receipt of an XKB latch change,
1181 to decide whether to revert the latch or not. (Latches are
1182 reverted if there is an immediately preceding mouse button
1183 event that a client has consumed, in which case we don't want
1184 the user to see the side-effect of the event).
1185 (spi_device_event_controller_forward_mouse_event):
1186 Check for modifier events and fire before resetting mouse_mask_state,
1187 prevents losing modifier events.
1189 (impl_generate_keyboard_event):
1190 If we've just generated a keyboard event for a non-shift key,
1191 we don't want to revert the pending XKB latch.
1192 Otherwise, check the modifier state (via a call to
1193 spi_dev_mouse_check) and set the relatch mask to
1194 that state before returning.
1196 2002-11-24 Bill Haneman <bill.haneman@sun.com>
1199 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
1202 * atk-bridge/bridge.c:
1203 (spi_atk_register_event_listeners):
1204 Don't re-register for ATK events if the registry has died
1205 and the app needs to re-register; the ATK listeners are in
1206 process and doing so will cause duplicate emission.
1208 * registryd/deviceeventcontroller.c:
1209 (spi_poll_mouse_moved):
1210 Reformat the source, detect and emit multiple button-change
1211 events (i.e. if multiple buttons have changed between poll
1213 Add code to detect mouse-down events even when the pointer
1214 is grabbed; workaround for GOK bug 98420.
1215 (spi_controller_register_with_devices):
1216 Call XTestGrabControl with 'impervious' flag set to True,
1217 allows us to synthesize events and query the pointer even during
1218 an active grab by another client.
1219 (spi_device_event_controller_forward_mouse_event):
1220 Set the mouse_mask_state to the mouse_button_state from
1221 the intercepted event, to synchronize the grab listener with
1224 2002-11-20 Bill Haneman <bill.haneman@sun.com>
1226 * cspi/spi_accessible.c:
1227 (AccessibleRole_getName):
1228 Added necessary strings for making this (deprecated)
1229 method work with the new role types.
1230 (init_role_table, role_table):
1231 Added definition of SPI_ROLE_APPLICATION.
1233 * libspi/spi-roletypes.h:
1234 Added SPI_ROLE_APPLICATION.
1236 * idl/Accessibility_Role.idl:
1237 Added ROLE_APPLICATION.
1239 * docs/reference/cspi/at-spi-cspi-decl.txt:
1240 Added SPI_ROLE_APPLICATION to docs.
1242 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
1244 * cspi/spi_accessible.c
1245 (cspi_init_role_table): Do not write beyond end of role_table.
1246 (Accessible_getRole): Use correct type for value returned by
1247 Accessibility_Accessible_getRole().
1249 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
1250 beyond end of role_table. (This fixes bug #98269)
1252 * libspi/application.c: Add include file spi-private.h for
1253 definition of spi_init_any_nil.
1255 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1259 * libspi/spi-private.h:
1260 Added DGB() macro, and extern int _dbg declaration.
1262 * registryd/registry.c:
1263 (definitions) storage for _dbg.
1264 (spi_registry_init):
1265 Get environment variable "AT_SPI_DEBUG".
1266 (spi_registry_set_debug):
1267 New method, to initialize _dbg value.
1268 (spi_listener_struct_new, spi_registry_object_finalize):
1269 (notify_listeners_cb):
1270 Changed fprintfs to use DBG and g_warning().
1272 * registryd/deviceeventcontroller.c:
1273 (_deregister_keygrab, spi_controller_register_device_listener):
1274 Changed debug/warning messages to use DBG macro.
1276 * libspi/listener.c:
1277 (impl_notify_event):
1278 Changed warning messages to use DBG macro and g_warning().
1280 * atk-bridge/bridge.c:
1281 (atk_bridge_init, spi_atk_bridge_get_registry):
1282 (spi_atk_bridge_exit_func):
1283 (spi_atk_bridge_property_event_listener):
1284 Changed status, warning, and error messages to use
1285 g_warning, g_message, and DBG macros.
1288 Read the state of the AT_SPI_DEBUG environment variable
1289 and set a local '_dbg' accordingly.
1291 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1293 FIXES for 98836, 98842, other bugs.
1296 Revved to 1.1.4, interface-age=4, binary-age=4.
1298 * registryd/deviceeventcontroller.c:
1300 Fixed crasher bug in last_mouse_pos initialization.
1302 * registryd/registry.c:
1303 (desktop_add_application, desktop_remove_application):
1304 Added (and then commented out) some support for
1305 object context marshalling. [TODO]
1307 * atk-bridge/bridge.c:
1308 (spi_atk_bridge_event_context_create):
1309 Commented out object context creation until it can
1310 be properly tested and debugged.
1312 * registryd/registry.c:
1313 (impl_registry_notify_event):
1314 Fixed crasher bug, we were calling
1315 spi_re_entrant_list_foreach () with an empty list.
1317 2002-11-18 Bill Haneman <bill.haneman@sun.com>
1319 * idl/Accessibility_Action.idl:
1320 * idl/Accessibility_Component.idl:
1321 * idl/Accessibility_Desktop.idl:
1322 * idl/Accessibility_Event.idl:
1323 * idl/Accessibility_Hyperlink.idl:
1324 * idl/Accessibility_Image.idl:
1325 * idl/Accessibility_Relation.idl:
1326 * idl/Accessibility_Selection.idl:
1327 * idl/Accessibility_State.idl:
1328 * idl/Accessibility_Value.idl:
1329 Updated unimplemented slot count to minimum of
1330 four for all interfaces, for ABI freeze.
1332 * idl/Accessibility_EditableText.idl:
1333 * idl/Accessibility_Text.idl:
1334 Updated unimplemented slot count to six
1337 * idl/Accessibility_Registry.idl:
1338 Updated unimplemented slot count to six
1339 (also for DeviceEventController),
1342 * idl/Accessibility_Table.idl:
1343 Updated unimplemented slot count to eight,
1346 * idl/Accessibility_Event.idl:
1347 Added CORBA_any "any_data" member to Event struct.
1349 * idl/Accessibility_Event.idl:
1350 Added CORBA_any "any_data" member to Event struct.
1352 * atk-bridge/bridge.c:
1354 atk_signal_text_changed, atk_signal_child_changed,
1355 signal ids queried from gtype system.
1356 (AtkBridgeEventContextType): New enum.
1357 (AtkBridgeEventContextData): New struct.
1358 (AtkBridgeEventContext): New struct.
1359 (atk_bridge_init_event_type_consts):
1360 New method, initializes type contants for comparison
1361 prior to emit_eventv.
1362 (atk_bridge_event_context_init): New method,
1363 initializes a CORBA_any from an AtkBridgeEventContext.
1364 (atk_bridge_focus_tracker): Call spi_init_any_nil to
1365 initialize the event.any_data struct.
1366 (spi_atk_bridge_event_context_create): New method,
1367 creates an AtkBridgeEventContext from signal/event info.
1368 (spi_atk_bridge_event_context_free): New method.
1369 (spi_atk_emit_eventv): Changed to take an
1370 AtkBridgeEventContext parameter. We now initialize
1371 the event.any_data member prior to notifying the
1372 Registry, via the AtkBridgeEventContext.
1373 (spi_atk_bridge_property_event_listener):
1374 (spi_atk_bridge_state_event_listener):
1375 Match emit_eventv signature.
1376 (spi_atk_bridge_object_event_listener):
1377 Match emit_eventv signature, and create an
1378 event context from the event details.
1379 Free the event context afterwards.
1380 (spi_atk_bridge_window_event_listener):
1381 Create an event context, pass it to the
1385 (AccessibleEvent_getContextString):
1386 (AccessibleEvent_getContextObject):
1387 New methods, allow query of AccessibleEvent objects
1388 for more context details (via the "any_data" member
1389 of the Event struct, above).
1392 Definitions for AccessibleEvent_getContextString
1393 and AccessibleEvent_getContextObject.
1395 * cspi/spi_listener.h:
1396 (InternalEvent): New struct.
1399 (AccessibleEvent_getContextString):
1400 (AccessibleEvent_getContextObject):
1401 Implementations of new methods, for obtaining
1402 additional context information from some event types.
1404 * cspi/spi_registry.c:
1405 (SPI_registerGlobalEventListener):
1406 Added mention of active-descendant-changed event in docs.
1408 * cspi/cspi-bonobo-listener.c:
1410 Marshal the any into the AccessibleEvent via
1413 * libspi/spi-private.h:
1414 #include <orbit/orbit.h>
1416 (spi_init_any_string):
1417 (spi_init_any_object):
1418 New convenience function declarations.
1422 (spi_init_any_string):
1423 (spi_init_any_object):
1424 New convenience function implementations.
1426 * registryd/deviceeventcontroller.c:
1427 (spi_poll_dec_mouse_moved):
1428 (spi_device_event_controller_forward_mous_event):
1429 Initialize any_data member of event.
1430 (spi_deregister_controller_device_listener):
1431 Fix incorrect param pass which was preventing deregistration.
1433 * registryd/registry.c:
1434 (desktop_add_application):
1435 (desktop_remove_application):
1436 Add object data to event's any_data before dispatch.
1438 Fix for error messages from GAIL.
1440 * test/event-listener-test.c:
1441 Test new ContextString and "any_data" API:
1442 (report_text_event): New method query and output context string.
1443 (main): register a new text listener with report_text_event
1446 2002-11-19 Darren Kenny <darren.kenny@sun.com>
1448 Fixes for bugs 98127 and 97914.
1449 * cspi/spi-roletypes.h:
1450 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
1452 * cspi/spi-statetypes.h:
1453 Added SPI_STATE_MANAGES_DESCENDANTS
1455 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
1456 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
1457 * cspi/spi_accessible.c:
1458 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
1459 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
1460 Accessibility_STATE_MANAGES_DESCENDANTS
1461 * libspi/accessible.c:
1462 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
1463 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
1464 As requested by Bill, I also cleaned up the alignment.
1465 * libspi/relation.c:
1466 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
1467 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
1468 * libspi/stateset.c:
1469 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
1470 Accessibility_STATE_MANAGES_DESCENDANTS
1471 * docs/reference/cspi/tmpl/spi_accessible.sgml:
1472 Document changes reflecting modifications to roles.
1473 * docs/reference/cspi/tmpl/spi_relation.sgml:
1474 Document changes reflecting modifications to relations.
1475 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1476 Document changes reflecting modifications to states.
1478 2002-11-17 Bill Haneman <bill.haneman@sun.com>
1481 Revved to 1.1.3, interface-age=3, binary-age=3.
1482 Added REBUILD macro.
1485 Removed accessx-gui from the tests, since we have a nice
1486 keyboard accessibility capplet now :-)
1488 * test/keysynth-demo.c:
1489 (increment_scan): removed do-nothing default: case,
1492 * test/visual-bell.c:
1493 (main) : removed do-nothing default: case,
1496 * cspi/spi_action.c:
1497 (AccessibleAction_getKeyBinding_):
1498 Documented keybinding string format.
1502 (AccessibleText_getAttributes):
1503 Documented the text attribute string format.
1504 It's changed to use semicolon delimiters also,
1505 to prevent clashes with CSS attributes, but the old
1506 trick of looking for ", " strings will still work
1507 (as unreliably as ever). Fix for bug related to 97916.
1510 Include <cspi/bonobo/cspi-bonobo-listener.h>
1511 Fixes build warning.
1512 (SPI_freeAccessibleKeySet):
1513 (AccessibleKeystrokeListener_addCallback):
1514 (AccessibleKeystrokeListener_removeCallback):
1515 Modify to use AccessibleDeviceListener API internally,
1516 instead of AccessibleKeystrokeListener.
1518 * idl/Accessibility_Event.idl:
1519 Added two more empty slots to EventListener (for a total of four).
1521 * idl/Accessibility_Accessible.idl:
1522 Added four empty slots to Accessible interface.
1524 2002-11-15 Bill Haneman <bill.haneman@sun.com>
1526 * idl/Accessibility_Registry.idl:
1527 (KeyEventType, EventType):
1528 Marked KeyEventType as deprecated; it duplicates
1529 functionality of EventType, which has been extended to
1530 include Mouse-button events.
1531 (KeyEventTypeSeq): defined in terms of EventType.
1532 (registerDeviceEventListener, deregisterDeviceEventListener):
1533 New methods, for managing listeners to device events,
1534 which potentially may consume them.
1537 Added definition for AccessibleDeviceListener.
1539 * cspi/spi-listener.h:
1540 (enum AccessibleDeviceEventType):
1541 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
1542 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
1543 for backwards compat.
1544 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
1545 and typedef'd AccessibleKeystroke to it for back-compat.
1546 (AccessibleDeviceListenerCB):
1547 New function prototype typedef.
1550 (AccessibleDeviceEventMask): New typedef.
1551 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
1552 (AccessibleKeyMaskType):
1553 Set equivalent to AccessibleModifierMaskType for back-compat.
1554 (SPI_createAccessibleKeystrokeListener):
1555 (AccessibleKeystrokeListener_unref):
1556 Deprecated in favor of equivalent (better-named) new API below..
1557 keystroke listeners are like all device listeners.
1558 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
1559 New API names for old features :-).
1560 (AccessibleDeviceListener_addCallback):
1561 (AccessibleDeviceListener_removeCallback):
1562 (SPI_registerDeviceEventListener):
1563 (SPI_deregisterDeviceEventListener):
1567 (SPI_createAccessibleKeystrokeListener):
1568 Use new preferred API, cspi_device_listener_new() and
1569 cspi_device_listener_add_cb().
1570 (AccessibleKeystrokeListener_removeCallback):
1571 Use new preferred API, cspi_device_listener_remove_cb().
1572 (AccessibleKeystrokeListener_unref):
1573 Use new preferred API, cspi_device_listener_unref().
1574 (SPI_createAccessibleDeviceListener):
1575 (AccessibleDeviceListener_addCallback):
1576 (AccessibleDeviceListener_removeCallback):
1577 Implementation of new API.
1579 * cspi/spi_registry.c:
1580 (SPI_registerDeviceEventListener):
1581 (SPI_deregisterDeviceEventListener):
1582 Implementation of new API. Fixed memory leak and removed need to
1583 allocate EventTypeSeq (thanks Michael for catching this).
1584 Squashed a wayward CORBA_exception_free that shouldn't get called.
1586 * cspi/bonobo/cspi-bonobo-listener.c:
1588 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
1589 (cspi_key_event): renamed to cspi_device_event().
1590 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
1591 Extended to handle mouse button events as well as key events.
1592 (CSpiKeystrokeListener):
1593 Class superceded by CSpiDeviceListener.
1594 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1595 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1597 * cspi/bonobo/cspi-bonobo-listener.h:
1598 (CSpiKeystrokeListener):
1599 Class superceded by CSpiDeviceListener.
1600 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1601 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1603 * libspi/Makefile.am:
1604 Replaced keystrokelistener.h and keystrokelistener.c
1605 with devicelistener.h and devicelistener.c; keystrokelisener.h
1606 stub retained for back-compat.
1608 * libspi/keystrokelistener.c:
1612 Replaced inclusion of keystrokelistener.h with devicelistener.h.
1614 * registryd/deviceeventcontroller.c:
1615 (DEControllerListener): Added Accessibility_EventTypeSeq member.
1616 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
1617 (DEControllerPrivateData): Added xkb settings data.
1618 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
1619 button release events (which can't be captured via XGrabButton).
1620 Don't dispatch via the 'normal' event mechanism if the device event was
1622 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
1623 Handle the typeseq data in its new location (see above).
1624 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
1625 New methods, for "generic" device listeners.
1626 (spi_controller_register_device_listener):
1627 Now handle mouse event listeners as well as key listeners.
1628 (spi_controller_notify_mouselisteners):
1629 New internal method.
1630 (spi_device_event_controller_forward_mouse_event):
1631 Now we notify mouse device listeners as well as generating the
1632 non-consumable "mouse:" events.
1634 We must check and restore the XKB
1635 modifier map if we consume the event, since the act of triggering
1636 a mouse event will normally reset the XKB latch. This is required for
1638 (spi_controller_register_with_devices):
1639 Load the XKB settings when registering, and register for XKB
1640 state notify events.
1641 (spi_key_eventtype_seq_contains_event):
1642 Renamed spi_eventtype_seq_contains_event, since it's used
1643 internally for all device event types now.
1644 (spi_key_event_matches_listener):
1645 Uses spi_eventtype_seq_contains_event now.
1646 (spi_device_event_controller_object_finalize):
1647 Free the private data and the XkbKeyboard struct.
1648 (impl_register_device_listener, impl_deregister_device_listener):
1649 Implementation of new IDL.
1650 (spi_deregister_controller_device_listener):
1651 New internal method.
1652 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
1653 More efficient implementation, we don't have to create a new
1654 XkbControls structure every time we query.
1655 (spi_device_event_controller_class_init):
1656 Initialize the epv entries for the new IDL. Assign the
1657 "spi-dec-private" quark.
1658 (spi_device_event_controller_init):
1659 Initialize the private data.
1660 (spi_device_event_controller_forward_key_event):
1661 Removed a bogus CORBA_exception_free() call.
1663 * registryd/deviceeventcontroller.h:
1664 Replaced inclusion of keystrokelistener.h with
1667 * test/event-listener-test.c:
1668 (report_mouse_event):
1671 Added mouse-event device listener.
1673 * test/test-simple.c:
1674 (create_test_window):
1675 Fixed regression (we were instantiating a GtkRange,
1676 which is now an abstract class). Also fixed to match
1677 existing AtkRole names, this seems to have changed in ATK
1678 awhile ago; too late now I think, and the new
1679 mechanism is at least elegant and consistent with the
1680 glib enum "nick" APIs.
1682 2002-11-15 Darren Kenny <darren.kenny@sun.com>
1684 * idl/Accessibility_Relation.idl:
1685 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
1686 RELATION_EMBEDS,RELATION_EMBEDDED_BY
1687 * idl/Accessibility_Role.idl:
1688 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
1689 * idl/Accessibility_State.idl:
1690 add STATE_MANAGES_DESCENDANTS
1691 * test/event-listener-test.c:
1692 Added a listener for active-descendant events.
1694 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
1696 * atk-bridge/bridge.c
1697 (atk_bridge_init): If application is Bonobo component wait until top
1698 level is added before registering
1699 (spi_atk_bridge_do_registration): New function which contains code,
1700 formerly in atk_bridge_init, to do application registration.
1701 (spi_atk_bridge_toplevel_added): Signal called when top level
1702 added to Bonobo component
1704 This fixes bug #83134.
1706 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
1708 * registryd/deviceeventcontroller.c
1709 Fixed compilation error caused by calling gettimeofday()
1712 2002-10-18 Bill Haneman <bill.haneman@sun.com>
1717 Added template for HAVE_XKB.
1720 Changes to check for XKB, and to set the HAVE_XKB #define if it
1723 * libspi/listener.c:
1724 ()impl_notify_event): Make failure to get event source name
1727 * registryd/deviceeventcontroller.c:
1728 (#include): include X11/XKBlib.h.
1729 (DEControllerPrivateData) : New struct.
1730 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
1732 (dec_synth_keycode_press) (dec_synth_keycode_release):
1733 New methods; split the key synthesis code into these methods.
1734 They check XKB settings before determining the "time" values to
1735 pass to Xtest; this fixes bug #95828.
1736 (impl_generate_keyboard_event): Changed to use methods above,
1737 instead of callng Xtest directly.
1738 (spi_device_event_controller_init): Initialize new privae struct s
1740 (spi_device_event_controllr_object_finalize):
1741 Free the (new) private data.
1743 * registryd/deviceeventcontroller.h:
1744 Add new gpointer to end of struct data.
1746 2002-10-16 Bill Haneman <bill.haneman@sun.com>
1749 Incremented revision to 1.1.2, SONAME is still '.so', library
1750 extensions are ".so.0.0.2".
1752 * registryd/deviceeventcontroller.c:
1753 FIXES FOR #93592 and #95940.
1754 (statics): renamed mouse_button_state to mouse_mask_state,
1755 added key_modifier_mask.
1756 (spi_dec_poll_mouse_moved):
1757 Added key modifier checks, and emit "keyboard:modifiers"
1758 events when the key modifiers currently in use change.
1759 Also generate "mouse:abs" events periodically, even if the mouse
1760 is stationary (should we?).
1761 Alternatively we could generate "mouse:abs" events for either all
1762 mouse movements, or every 'nth' mouse movement, or at the
1763 beginning and end of every "active" mouse period.
1765 * test/event-listener-test.c:
1766 (main): Added listener for "keyboard:modifiers" events.
1768 2002-10-15 Bill Haneman <bill.haneman@sun.com>
1770 * libspi/keymasks.h:
1771 Added key mask #defines for mouse buttons; e.g.
1772 SPI_KEYMASK_BUTTON1, etc.
1775 Incremented dependency on ATK to version 1.1.0. (This dependency
1776 is probably premature but will soon be real enough).
1778 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
1780 * libspi/hyperlink.[ch]
1781 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
1782 (get_hyperlink_from_servant): Check object is AtkHyperlink not
1785 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
1790 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
1792 * registryd/deviceeventcontroller.c
1793 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
1794 events to be ignored.
1795 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
1796 keyboard_mode so that XAllowEvents() can be called.
1800 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
1802 * cspi/spi-accessible.c: Correct names of roles returned by
1803 AccessibleRole_getName(). Fixes bug #95055.
1805 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
1807 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
1810 * registryd/registry.c
1811 (desktop_remove_application: Write diagnostic message to stderr for
1814 (impl_accessibility_registry_deregister_global_event_listener):
1815 Correct size of lists array. This addresses bug #94555).
1817 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
1819 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
1822 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
1824 * registryd/Makefile: Add CLEANFILES so that .server file is removed
1827 * registryd/registry.c (impl_registry_notify_event): Remove
1828 unnecessary call to parser_event_type().
1830 * docs/reference/cspi/tmpl/spi_component.sgml:
1831 Add reference to SPI_LAYER_WINDOW.
1833 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
1835 * registryd/registry.c
1836 (desktop_add_application): Remove leak.
1837 (desktop_remove_application): Remove leak.
1838 (parser_event_type): Remove leak.
1840 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
1842 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
1843 bogus call to CORBA_string_dup(). Also removed unnecessary
1844 g_string_dup/g_free calls.
1846 2002-09-13 Bill Haneman <bill.haneman@sun.com>
1848 * registryd/deviceeventcontroller.c:
1849 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
1851 * test/event-listener-test.c:
1852 main: commented out three redundant listeners, to reduce output
1853 noise. (They still are potentially useful for testing).
1856 2002-09-13 Michael Meeks <michael@ximian.com>
1858 * Update all the copyrights to include Ximian.
1860 2002-09-06 Mark McLoughlin <mark@skynet.ie>
1862 * cspi/spi.h: add SPI_LAYER_WINDOW.
1864 * cspi/spi_component.c: (AccessibleComponent_getLayer):
1865 add Accessibility_LAYER_WINDOW case.
1867 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
1869 * libspi/component.c: (impl_accessibility_component_get_layer):
1870 add ATK_LAYER_WINDOW case.
1872 2002-08-28 Bill Haneman <bill.haneman@sun.com>
1874 * configure.in: incremented micro version.
1876 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
1878 2002-08-20 Bill Haneman <bill.haneman@sun.com>
1881 Clarified and reworded our commit policy.
1884 Started an API "todo" addition list for 2.2.
1887 (impl_getSelection):
1888 Free char pointer from atk_text_get_selection, which was being leaked.
1890 2002-08-19 Bill Haneman <bill.haneman@sun.com>
1893 Small revision to author acknowledgement.
1895 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1897 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
1898 If signal has detail add it to the type of the event.
1901 2002-08-12 Michael Meeks <michael@ximian.com>
1903 * test/test-simple.c (global_listener_cb): bin bogosity.
1904 (test_keylisteners): disable, still doesn't work reliably,
1905 certainly not on my system anyway.
1907 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
1908 don't leak a reference on the DEC. This round-trip
1909 fetching of the DEC per keystroke sucks, it should be
1912 * cspi/spi-private.h,
1913 * cspi/cspi-lowlevel.h,
1914 * cspi/bonobo/cspi-bonobo-listener.[ch],
1915 * cspi/bonobo/cspi-bonobo.c: get the copyright
1916 notices better - there is still a large amount of
1917 work in at-spi falsely attributed solely to Sun.
1919 * cspi/spi_main.c (cspi_object_ref): kill bogus
1920 hash lookup, just increment the ref.
1921 (SPI_freeString): make explicit the fact that we
1922 handle NULL strings just fine.
1923 (report_leaked_ref): obey coding standards.
1924 (cspi_object_hash, cspi_object_equal): kill retval.
1925 (cspi_object_release): only release if not on loan.
1926 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
1927 (cspi_object_borrow, cspi_object_return): impl.
1929 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
1930 use cspi_object_borrow / return.
1932 2002-08-12 Darren Kenny <darren.kenny@sun.com>
1934 * cspi/bonobo/cspi-bonobo-listener.c:
1936 Don't call cspi_oject_new() because this is creating a new Accessible
1937 every single time that an event is fired. This causes ATs like at-poke
1938 to nolonger recognise the source of the event and thus ignore it.
1939 Re-use the object from the cache, ref it and then unref it after the
1940 listeners have been called.
1942 2002-08-06 Darren Kenny <darren.kenny@sun.com>
1944 * test/event-listener-test.c:
1945 Added command-line options to disable mouse events (m) and
1948 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
1950 * configure.in: Update required versions of ATK, GTK+ and GAIL
1952 * cspi-1.0.pc.in: Add dependency for X include files
1955 * cspi/bonobo/Makefile.am:
1956 Add $(X_CFLAGS) so that X include files
1957 are picked up even if not in standard place (bug #71686)
1959 2002-06-25 Bill Haneman <bill.haneman@sun.com>
1961 * registryd/deviceeventcontroller.c: fix for 84261
1962 (spi_dec_mouse_moved):
1963 Added test of mouse button mask, so that we can detect mouse
1964 button release. Unfortunately we can't otherwise detect mouse
1965 button release events without consuming the mouse press event,
1966 because of the way XGrabButton works. This means that our mouse
1967 release events have a latency dependent on the polling period
1968 while the mouse button is down. At least in this case we only
1969 have to poll while the button is down, and not at other times.
1970 If the button masks don't match with what the last press event
1971 reported, we report the appropriate button release event.
1972 (spi_dec_ungrab_mouse):
1973 New method (not yet called).
1974 (spi_device_event_controller_forward_mouse_event):
1975 New method, sends mouse press event from GdkFilter.
1976 (spi_dec_init_mouse_listener):
1977 Added code to call XGrabButton, redirecting mouse button events to
1978 the root window and our Gdk event loop.
1980 Added code to filter mouse button events, and reordered.
1982 * test/event-listener-test.c:
1984 Added registration for mouse events of type "mouse:button".
1986 2002-06-25 Bill Haneman <bill.haneman@sun.com>
1988 * registryd/deviceeventcontroller.c: partial fix for 84261
1989 (spi_dec_poll_mouse_idle):
1990 New method, a timeout which checks to see if the mouse
1992 (spi_dec_poll_mouse_moving):
1993 A timeout to be called when mouse motion is underway.
1994 (spi_dec_poll_mouse_moved):
1995 A method which fires an event if the mouse has moved, and reports
1996 whether or not it did so.
1997 (spi_dec_init_mouse_listener):
1998 A method which sets up the timeouts above.
1999 (spi_device_event_controller_new):
2000 Now calls spi_dec_init_mouse_listener.
2002 * registryd/registry.c:
2003 (spi_registry_init):
2004 Now we initialize the device event controller when the registry is
2005 initialized, instead of waiting until a client has requested a key
2006 event notification; this is because we need the event controller
2007 for mouse events, but the mouse event registration API is a
2008 "registry" call and doesn't explicitly call the
2009 deviceeventcontroller.
2010 We now report mouse motion events with a 100 ms idle latency and
2011 a 20 ms granularity when motion is in progress.
2013 * test/event-listener-test.c:
2015 We now register the "detail listener" for events of type
2016 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
2017 delivered only for the first mouse event received, and thereafter
2018 "mouse:abs" events are delivered.)
2020 * cspi/spi_registry.c:
2021 DOCS: Documented the above mouse event typestrings.
2023 2002-06-21 Bill Haneman <bill.haneman@sun.com>
2025 Happy Summer Solstice...
2027 * registryd/deviceeventcontroller.c: [fix for bug 84100]
2028 (spi_controller_notify_keylisteners):
2029 Changes to remove a listener from the listener list, freeing its
2030 open keygrabs, if a notification to that listener fails. This
2031 means that although a dead listener can continue to hold a passive
2032 keygrab, a maximum of one dispatch to such a listener can fail
2033 before the listener is removed from the list, thus the keygrab
2034 will be released on the next occurrence.
2035 As part of this fix:
2036 (spi_notify_keylisteners):
2037 Renamed to spi_controller_notify_keylisteners, as the controller
2038 instance must now be passed as an argument.
2039 The copied 'notify' GList is now a list of DEControllerKeyListener
2040 objects, since we need more than just the CORBA reference if a
2041 notify fails and we need to deregister the listener.
2042 (impl_notify_listeners_sync):
2043 (impl_notify_listeners_async):
2044 (spi_device_event_controller_forward_key_event):
2045 Modify use of notify_keylisteners in accordance with above
2047 (spi_deregister_controller_key_listener):
2048 New method introduced by refactoring, from
2049 impl_deregister_keystroke_listener.
2050 (impl_deregister_keystroke_listener):
2051 Call spi_deregister_controller_key_listener.
2052 (spi_key_listener_clone):
2053 New method to copy a key listner without doing a 'ref' on the
2054 remote object instance; used to create a notifier list.
2055 (spi_key_listener_data_free):
2056 New method, frees data without unreffing the source.
2058 (spi_key_listener_clone_free): new method.
2059 (spi_key_listener_free):
2060 refactored to call spi_key_listener_data_free.
2062 2002-06-20 Bill Haneman <bill.haneman@sun.com>
2064 * registryd/registry.c: [fix for bug 86048]
2065 (notify_listeners_cb):
2066 Clear CORBA system exceptions which occur when notifying
2067 listeners, before returning to the source of the original event,
2068 since the event source doesn't care if the relayed notify failed.
2069 In other words, don't complain to the atk-bridge if the registry
2070 could not notify all its listeners, that's no fault of the
2071 application and thus should not appear to be an error from the
2072 application's perspective.
2074 * cspi/spi_main.c: [fix for bug 85980]
2076 Replaced use of bonobo_object_dup_ref with call to the wrapper
2077 method, csou_dup_ref (); this silences a compiler warning and
2078 provided more portability.
2080 Ping the registry before return, and restart if necessary.
2082 * cspi/bonobo/cspi-bonobo.c:
2084 New internal method.
2086 Fixed this method to return an object reference, as it should have
2089 * cspi/cspi-lowlevel.h:
2090 Added internal definition for cspi_ping() and fixed
2091 return type of cspi_dup_ref().
2094 2002-06-19 Bill Haneman <bill.haneman@sun.com>
2096 * atk-bridge/bridge.c: [fix for bug 85305]
2097 (spi_atk_bridge_register_application):
2098 New method where the initial application registry calls have been
2099 moved; it allows an application to re-register in response to
2100 certain error conditions (such as a registry restart, see below).
2102 Moved some initialization code to the method
2103 spi_atk_bridge_get_registry, below.
2104 (spi_atk_bridge_get_registry):
2105 New, private accessor function for the Accessibility_Registry
2106 instance. If the registry has not been started before, or has
2107 died (as detected by failure of a CORBA exception), it is
2108 restarted before return, and spi_atk_bridge_register_application
2109 is called again to register with the new bridge instance.
2110 (spi_atk_emit_eventv):
2111 Set registry_died on error; use spi_atk_bridge_get_registry () to
2112 access the registry.
2114 * registryd/registry.c:
2115 (impl_accessibility_registry_register_global_event_listener):
2116 Set listener's event_type_quark to etype.minor instead of
2117 etype.major (fix for bug 84856).
2119 * test/event-listener-test.c:
2120 (report_detail_event):
2121 Change the output string so that user/tester can tell that the
2122 'detail listener' was called instead of the 'generic listener'.
2124 2002-06-18 Bill Haneman <bill.haneman@sun.com>
2126 Fixes for bugs 84900, 84908, 84897, 84898.
2131 Revved version to 1.1.0
2132 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
2133 version is going to HEAD which will be used for gnome-2-0-1 and later.)
2135 * idl/Accessibility_Registry.idl:
2136 (EventListener::notifyEvent):
2137 Removed 'oneway' directive after extensive consulation with
2138 ORBit2 team and others. This means also that unref() of the event
2139 source can and should be done synchronously after emission, rather
2140 than remotely in the client, after servicing the notify call on
2143 NOTE: This change speeds up listener performance considerably, but
2144 introduces new latency on the application side. We may want to
2145 add an event queue to the atk-bridge.
2147 * atk-bridge/bridge.c:
2148 (spi_atk_bridge_focus_tracker):
2149 Do a local unref() on the event source after emission.
2151 * registryd/registry.c:
2152 (desktop_remove_application):
2153 Do an unref() on the event source after emission.
2154 (desktop_add_application):
2155 Do an unref() on the event source after emission.
2156 (notify_listeners_cb):
2157 When relaying an event, don't automatically add the event source
2158 to the local object cache, just CORBA_dup it instead. Likewise,
2159 if this method reenters, release the ref rather than calling
2161 (impl_registry_notify_event):
2162 No longer call remote unref() on the event source after dispatch.
2164 * libspi/eventlistener.c:
2165 (impl_accessible_event_notify_event):
2166 Removed remote unref ()
2168 * cspi/bonobo/cspi-bonobo-listener.c:
2170 We now call cspi_object_new() instead of cspi_object_add() on
2171 receipt of an event; thus we only have an implicit object ref
2172 while the cspi_event method is being executed. If we need to keep
2173 a reference to the object, the listener must call ref() on the
2174 object. Thus also we don't need to call cspi_object_unref() after
2175 invoking the listener callbacks in this method.
2179 New internal API for creating a new cspi object, without adding it
2180 to the object cache.
2182 Now uses cspi_object_new() to create the cspi object instance.
2184 Now checks to see if the object is in the internal object cache,
2185 and adds it if necessary before incrementing its refcount (note
2186 that new objects are added with a refcount of 1).
2187 (report_leaked_ref):
2188 New method which gives some information on leaked object instances
2189 if leak detection is turned on.
2191 * test/event-listener-test.c:
2192 (timing_test_event):
2193 New method, used for testing event delivery timing for special
2194 events of type "object:test". It reports elapsed time and
2195 events/sec every 500 events.
2197 Added a new listener, 'test listener', to check timing of event
2198 receipt as noted above.
2200 Added some timing output here also, reports elapsed time every 100
2203 * test/stress-test.c:
2204 Emit events of type "object:test", for use with "event-listener-test".
2206 * test/test-simple.c:
2207 (global_listener_cb):
2208 Call Accessible_ref() on the event source before calling
2209 validate_accessible, since the validation process does pointer
2210 comparisons on the event source, meaning that the event source
2211 needs to be added to the local object cache first. Any use of
2212 such pointer comparisons between Accessible objects requires that
2213 the caller hold an explicit reference to those objects.
2214 We also must therefore call Accessible_unref() when leaving this method.
2216 2002-06-13 Bill Haneman <bill.haneman@sun.com>
2218 * registryd/deviceeventcontroller.c:
2219 (spi_controller_update_key_grabs):
2220 Fix for #84735, subsequent keygrab listeners not informed of
2221 registration failure.
2224 (spi_base_construct):
2225 Add an assertion on construct, to make sure the GObject passed in
2226 is really a GObject.
2228 Explicitly initialize object->gobj pointer to NULL;
2230 * cspi/bonobo/cspi-bonobo-listener.c:
2231 (cspi_object_add_ref):
2232 New method, can specify whether to dup-ref a bonobo object passed
2233 in if it's newly added to the object cache.
2235 Now calls cspi_object_add_ref with second param of "FALSE". This
2236 prevents us from doing a pointless dup-ref followed by
2237 release-unref for all those cases where the object is already in
2238 our object cache (fix for #85205).
2240 * atk-bridge/bridge.c:
2241 (spi_atk_bridge_idle_init):
2242 Removed this method, we don't need to initialize in an idle
2245 Changed to call spi_atk_register_event_listeners directly, not via an
2246 idle handler. (fix for #81139)
2247 (gnome_accessibility_module_shutdown):
2248 Removed conditional around deregistration of listeners, since we
2249 don't use the idle handler and thus have always registered when
2251 (spi_init_keystroke_from_atk_key_event):
2252 Changed references to Accessibility_KEY_PRESSED to
2253 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
2255 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2257 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
2262 * test/stress-test.c:
2265 (may have been an incomplete commit yesterday?)
2267 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2270 Added target for new stress-test.
2272 * test/stress-test.c:
2273 New test, sends 1000 focus notifies in quick succession.
2275 * test/key-listener-test.c:
2276 Now we report whether a keylistener registration
2277 request succeeded or failed.
2279 * test/event-listener-test.c:
2280 Uncommented some listeners which are now implemented.
2283 2002-06-06 Bill Haneman <bill.haneman@sun.com>
2285 * registryd/deviceeventcontroller.c:
2286 (spi_controller_update_key_grabs):
2287 Fix for #82509, lack of failure notification when
2288 ALL_WINDOWS keygrabs fail due to XGrabKey
2289 failure: we synchronize the server when
2290 registering a passive grab, to make sure we get the
2291 error message before the call returns.
2293 2002-06-03 Bill Haneman <bill.haneman@sun.com>
2295 * test/test-simple.c:
2297 Removed #ifdef KEY_IMPL_WORKS guards.
2298 (test_keylisteners):
2299 Removed #ifdef KEY_IMPL_WORKS guards.
2300 Fixed bug which was causing a hang waiting for a
2301 "press" event (which was already overwritten by a "release"
2302 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
2304 Added code to set globals 'key_press_received' and
2305 'key_release_received'.
2308 Added section "1.1 API Proposed Additions" which
2309 lists API additions desired for at-spi-1.1 (only one so far).
2310 Updated TODO list a little.
2312 2002-06-02 Bill Haneman <bill.haneman@sun.com>
2314 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
2317 * configure.in: Revved to 1.0.0.
2319 * idl/Accessibility_Registry.idl:
2320 (registerKeystrokeListener):
2321 Added boolean return value.
2323 * registryd/registry.c:
2324 (notify_listeners_cb): Minor fix to debug output.
2326 * registryd/Accessibility_Registry.server.in.in:
2327 Revved version number in OAFIID to 1.0.
2329 * registryd/registryd.c:
2331 Use new OAFIID version.
2333 * cspi/bonobo/cspi-bonobo.c:
2335 Use new OAFIID version.
2341 * atk-bridge/bridge.c:
2343 Use new OAFIID version.
2345 * registryd/deviceeventcontroller.c:
2346 (impl_register_keystroke_listener):
2347 Added CORBA_boolean return value.
2348 (spi_controller_register_device_listener):
2349 Added gboolean return value.
2350 (spi_controller_register_global_keygrabs):
2351 Added gboolean return value.
2352 (spi_key_set_contains_key):
2353 Added implementation for many more control keys,
2354 for instance F1-F12, arrow keys, End, Home, Page_Up,
2356 [TODO: some still not implemented].
2358 * text/screen-review-test.c:
2359 (text_chunk_pad_string):
2360 New function: it provides mapping between coordinate
2361 positions of text chunks and character positions in the
2362 screen-review-line output string.
2363 (text_chunk_to_string):
2364 New function, calls text_chunk_pad_string with various
2365 pad/delimiter characters. Pushbuttons are delimited with
2366 square brackets, Frames with vertical 'pipe' lines, and
2367 other text with double quotes.
2368 (text_chunk_list_to_string):
2369 Calls new function text_chunk_to_string.
2370 (toplevel_composite):
2371 New function to composite layers CANVAS through
2372 POPUP in each toplevel (other layers are composited
2373 across toplevels, i.e. BACKGROUND and OVERLAY).
2374 (review_buffer_composite):
2375 Revise to use new methods.
2381 2002-05-31 Laszlo Peter <laca@sun.com>
2383 * configure.in: add the Xtst libdir to the runpath on Solaris,
2384 since it's not in the default library search path.
2386 2002-05-29 jacob berkman <jacob@ximian.com>
2388 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
2390 2002-05-29 Bill Haneman <bill.haneman@sun.com>
2392 * test/screen-review-test.c:
2393 (text_chunk_pad_string):
2394 Added method, which pads the string according to the
2395 text bounds of the chunk. It also takes a 3-character
2396 string as a param which indicates the characters to be
2397 used for start, padding, and end delimitation of the chunk.
2398 (text_chunk_to_string):
2399 Changed to use text_chunk_pad_string.
2401 * configure.in: Fixed bug in AC_OUTPUT that was
2402 causing path substitution in Accessibility_Registry.server
2405 2002-05-23 Bill Haneman <bill.haneman@sun.com>
2407 * text/screen-review-test.c:
2408 (guess_string_clip):
2409 New method which attempts a best-guess at clipping
2410 text from components (like Java labels) which don't
2411 actually implement AccessibleText. This inaccurate
2412 clip is based on the assumption that the label is
2413 justified left-and-right, and monospaced.
2414 (text_chunk_get_clipped_string):
2415 We now call guess_string_clip() for text-containing
2416 components that don't implement AccessibleText.
2418 * test/screen-review-test.c:
2419 (review_buffer_get_text_chunk):
2420 We now pull "name" from labels if they do not implement
2421 AccessibleText (i.e. for Java labels).
2422 (get_screen_review_line_at):
2423 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
2426 Replaceded AC_OUTPUT target
2427 registryd/Accessibility_Registry.server with
2428 registryd/Accessibility_Registry.server.in.
2430 * registryd/Accessibility_Registry.server.in:
2431 Removed (this is now a Makefile target).
2433 * registryd/Accessibility_Registry.server.in.in:
2434 Added (source for target above). We now use $(libexecdir) as
2435 prefix for the executable at-spi-registryd.
2437 * registry/Makefile.am:
2438 Now install at-spi-registryd into $(libexecdir), and build .server
2439 file with path (see above).
2441 2002-05-22 Bill Haneman <bill.haneman@sun.com>
2443 * test/screen-review-test.c:
2444 (text_chunk_get_clipped_string):
2445 We now check to see if words fall within clip bounds
2446 before resorting to character-by-character clip bounds testing.
2448 * TODO: Added a section for "2.2 Proposed API Additions".
2450 2002-05-21 Bill Haneman <bill.haneman@sun.com>
2452 * test/screen-review-test.c:
2454 Added a screen review benchmarking and test program to test
2457 * cspi/spi_accessible.c:
2459 Made some of the debug strings passed to cspi_check_ev a
2460 little more specific.
2462 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
2464 * test/screen-review-test.c: Fix crashes in debug statements
2466 2002-05-20 Bill Haneman <bill.haneman@sun.com>
2468 * test/screen-review-test.c: Added this file.
2470 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2472 * atk-bridge/bridge.c: changed "object:state-change" to
2473 "object:state-changed" to match docs.
2475 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2477 * atk-bridge/bridge.c: Hooked up state-change event details.
2479 2002-05-11 Bill Haneman <bill.haneman@sun.com>
2481 * registryd/registry.c:
2482 Fixed quarking bug in event string parsing; now events with
2483 detail parameters get matched correctly to listeners.
2486 * util/idl/Magnifier.idl: remove.
2488 * util/*.[ch]: Remove.
2489 Magnification utilities and IDL are now in module gnome-mag.
2491 2002-05-10 Bill Haneman <bill.haneman@sun.com>
2493 * registryd/deviceeventcontroller.c:
2494 Fixed bug in grab key conversion which was causing keycode grabs
2495 to be converted to AnyKey grabs.
2498 updated NEWS file to reflect recent spin-off of gnome-mag.
2500 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
2502 * cspi/spi_accessible.c: Added exception checks. Fixed completely
2503 busted AccessibleStateSet_compare. Removed redundant casts.
2505 * cspi/spi-action.c: Removed redundant casts.
2507 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
2509 * cspi/spi_component.c: Fixed typos and casting error.
2511 * cspi/spi_editabletext.c: Removed redundant casts.
2513 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
2515 * cspi/spi_hypertext.c: Eliminated redundant casts.
2517 * cspi/spi_image.c: Eliminated redundant casts.
2519 * cspi/spi_registry.c: Eliminated redundant casts.
2520 SPI_deregisterGlobalEventListenerAll () removed retval variable.
2521 * cspi/spi_selection.c: Removed redundant casts.
2522 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
2523 handling. Screen geometry and text offsets were being returned as 0
2524 on error which is technically valid-- changed these to return -1.
2525 Added marshaller for text boundary types to fix bug with boundary
2526 types being passed incorrectly to atk.
2528 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2531 * cspi/spi_registry.c:
2532 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
2533 which was uncovered by the recent key changes.
2535 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2537 * test/event-listener-test.c:
2539 Added new test, "event-listener-test";
2540 this code does two things; it benchmarks traversal time
2541 for the accessible hierarchy for the first running accessible
2542 app, and it connects listeners for all supported event types.
2543 It is thus useful as an example event listener and for
2544 diagnostics/debugging of event generation.
2546 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2549 Removed unnecessary dependency on libutil.
2552 Revved micro version: 0.13.1
2554 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2557 Removed util/Makefile from targets.
2560 Removed util subdir from SUBDIRS (temporarily,
2561 pending removal of magnifier-only code
2565 #ifdef-ed out magnifier dependencies, since
2566 magnifier IDL, headers, and binary now live in
2567 module gnome-mag and we don't want at-spi to depend
2568 on gnome-mag. A magnifier demo which can run alongside
2569 simple-at is forthcoming in the gnome-mag module.
2571 NOTE: Split magnifier binary, IDL, and magnification
2572 activation code from at-spi into module gnome-mag.
2574 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
2576 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
2577 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
2579 2002-05-03 Bill Haneman <bill.haneman@sun.com>
2582 Revved to version 0.13.0
2584 * idl/Accessibility_Registry.idl:
2585 Changed definition of KeySet from sequence of longs to sequence of
2586 KeyDefinitions, and added KeyDefinition struct.
2587 Required for fix to bug 80616.
2589 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
2590 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
2591 to use new definition (see above).
2593 * registryd/deviceeventcontroller.c: handle_keygrab(),
2594 spi_keyset_contains_key():
2595 Changed to make use of new struct; this allows matching based on
2596 string key-name, for instance "Tab". This also allows matching of
2597 composed characters, non-alphanumeric characters in a way that
2598 doesn't involve dependencies on X keysym codes directly, etc.
2600 * test/key-listener-test.c:
2601 Added test for Alt-Tab key using "string" specification of keyset,
2602 and modified one of the tests to use a keycode-based keyset.
2603 Thus this test both tests and demonstrates the creation and use of
2604 keysets of three forms: specified via keycode array,
2605 keysym array, and string array. (The string case only contains a
2606 single string, i.e. a string array of length 1).
2609 Turned on PRINT_TREE option by default. Also fixed a
2610 string-freeing bug in the PRINT_TREE code.
2611 Added a listener to window:minimize events.
2613 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
2615 * atk-bridge/bridge.c:
2616 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
2617 for window:activate and window:deactiveate
2618 (atk_bridge_property_event_listener atk_bridge_signal_listener
2619 atk_bridge_window_event_listener) Tidy debug code
2621 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
2623 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
2624 Fixed handling for NULL return value from ATK.
2626 * libspi/action.c libspi/component.c libspi/editabletext.
2627 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
2628 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
2629 Removed redundant casts.
2631 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
2632 Fixed off by one bug.
2634 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
2635 function not present in idl)
2637 2002-05-02 jacob berkman <jacob@ximian.com>
2639 * atk-bridge/Makefile.am: make atk-bridge a real module
2641 2002-04-26 Radek Doulik <rodo@ximian.com>
2643 * libspi/stateset.c (spi_init_state_type_tables): fix size of
2644 atk_state_types table
2646 2002-04-22 jacob berkman <jacob@ximian.com>
2649 * libspi/Makefile.am: add deps on the built files to help
2650 automake, and don't version the ORBit typelib
2652 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
2654 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
2655 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
2656 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
2657 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
2658 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
2659 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
2660 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
2661 libspi/accessible.h libspi/accessible.h libspi/base.h
2662 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
2663 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
2664 libspi/relation.h libspi/remoteobject.h libspi/selection.h
2665 libspi/spi-private.h libspi/statetset.h libspi/table.h
2666 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
2667 util/mag_client.h util/mag_control.c util/mag_image.c
2668 util/mag_image.h util/magnifier.c util/magnifier.h:
2669 Add missing file headers; standardize existing ones
2671 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
2673 * atk-bridge/bridge.c: Added window event support.
2675 2002-04-18 Michael Meeks <michael@ximian.com>
2677 * libspi/relation.c (impl_getNTargets): impl.
2678 (impl_getTarget): impl.
2680 * libspi/Makefile.am: fix stateset install.
2682 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2685 Started putting useful info in this file.
2687 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
2689 * atk-bridge/bridge.c:
2690 Propagate state-changed notifications to ATs
2692 * cspi/spi_registry.c: update docs to reflect actual behavior of
2693 state-change events.
2695 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2698 Incremented version to 0.12.1
2700 * util/mag_client.h:
2701 Add missing declaration for magnifier_exit,
2702 used by mag_control.c - Forte compiler didn't like
2703 the implicit redeclaration of the function :-(
2706 2002-04-16 Bill Haneman <bill.haneman@sun.com>
2709 Revved version to 0.12 due to API change (see below).
2711 * cspi/spi-roletypes.h:
2712 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
2713 definition from the inline docs, and added docs
2714 for SPI_ROLE_LAST_DEFINED.
2717 * cspi/spi_streamablecontent.c:
2718 Added missing seek_type parameter to
2719 (so far unused) method,
2720 AccessibleStreamableContent_seek().
2721 [ RT approval JodyG. ]
2724 Fixed docs for SPI_createAccessibleKeystrokeListener.
2726 * cspi/spi_registry.c:
2727 Fixed docs for SPI_KEYSET_ALL_KEYS.
2729 * docs/reference/cspi/at-spi-cspi-sections.txt:
2730 Added a number of missing APIs to SECTIONS.
2732 2002-04-16 Bill Haneman <bill.haneman@sun.com>
2734 * registryd/Makefile.am:
2736 * cspi/bonobo/Makefile.am:
2737 Add $(X_LIBS) to makefiles.
2739 2002-04-15 Bill Haneman <bill.haneman@sun.com>
2742 Revved version to 0.11.
2744 * libspi/component.c:
2745 Added implementation for grabFocus.
2747 * idl/Accessibility_Component.idl
2748 (Accessibility_Component_grabFocus):
2749 Made this method return boolean to indicate success or failure, to
2750 be consistent with cspi and the corresponding ATK method.
2752 * idl/Accessibility_Selection.idl
2753 (Accessibility_Selection_selectAll) :
2754 Made these methods return boolean to indicate success or
2755 failure, to be consistent with cspi and the corresponding ATK methods.
2757 * idl/Accessibility_EditableText.idl
2758 (Accessibility_EditableText_setTextContents,
2759 Accessibility_EditableText_insertText,
2760 Accessibility_EditableText_cutText,
2761 Accessibility_EditableText_deleteText,
2762 Accessibility_EditableText_pasteText):
2763 Made these methods return boolean to indicate
2766 * cspi/spi_editabletext.c:
2767 Made these methods return booleans.
2769 * libspi/selection.c:
2770 * libspi/component.c:
2771 * libspi/editabletext.c:
2772 Connected the boolean returns from ATK
2773 to the server-side code referenced above.
2775 2002-04-14 Bill Haneman <bill.haneman@sun.com>
2777 * idl/Accessibility_Table.idl: Added missing methods,
2778 Accessibility_Table_addRowSelection,
2779 Accessibility_Table_addColumnSelection,
2780 Accessibility_Table_removeRowSelection,
2781 Accessibility_Table_removeColumnSelection.
2784 Added C wrappers for above IDL:
2785 AccessibleTable_addRowSelection,
2786 AccessibleTable_addColumnSelection,
2787 AccessibleTable_removeRowSelection,
2788 AccessibleTable_removeColumnSelection.
2791 Added server-side implementation code for IDL above, connecting
2792 to pre-existing ATK api.
2794 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
2796 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
2798 * libspi/accessible.c: Added implementation fo
2799 Accessibility_Accessible_get_state.
2801 * libspi/libspi.h: Added stateset.h to the list of includes.
2803 * libspi/stateset.c: Fixed broken implementation.
2805 2002-04-13 Bill Haneman <bill.haneman@sun.com>
2808 Added implementation code for Accessibility_Magnifier_exit ().
2810 * util/mag_control.c:
2811 Added test code for above method; you can
2812 now kill an existing magnifier via
2813 ./mag_control q, from the util directory.
2815 * test/key-listener-test.c:
2817 Added a new test, for our key listener API.
2819 2002-04-11 Bill Haneman <bill.haneman@sun.com>
2821 * test/app.c, test/keysynth-demo.c:
2823 Replace use of snprintf with g_snprintf.
2824 (fix for bugzilla 78249)
2826 2002-03-27 Michael Meeks <michael@ximian.com>
2830 * util/Makefile.am (INCLUDES): fix.
2831 (DONT_DIST_SOURCE): don't distribute the
2834 * libspi/Makefile.am (dist-hook): ditto.
2836 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
2838 * libspi/hypertext.c:
2839 Fix warnings when yelp is used with atk-bridge
2841 2002-03-21 Michael Meeks <michael@ximian.com>
2843 * libspi/application.c (spi_application_new):
2844 use spi_accessible_construct so we use the AtkObject
2847 2002-03-19 Michael Meeks <michael@ximian.com>
2849 * registryd/registry.c (desktop_remove_application),
2850 (desktop_add_application): clean coding style.
2852 * registryd/desktop.c (spi_desktop_remove_application),
2853 (spi_desktop_add_application): kill re-enterency hazards.
2854 (spi_desktop_dispose): remove bogus redundant cast
2855 obscuring bug; fix bug too.
2856 (spi_desktop_init): make the desktop object immortal.
2858 2002-03-16 Bill Haneman <bill.haneman@sun.com>
2861 Added a #define-guarded tree-traversal step
2862 when enumerating the apps (diagnostic tool).
2864 2002-03-15 Bill Haneman <bill.haneman@sun.com>
2866 * idl/Accessibility_Role.idl:
2867 Added ROLE_DRAWING_AREA which seemed to be missing from the
2870 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2872 * cspi/spi-roletypes.h cspi/spi_accessible.c
2873 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
2876 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
2877 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
2878 AT when applications are added and removed from the desktop. This
2879 reverts the previous broken implementation using the backing
2880 AtkObject for the SpiDesktop.
2882 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2884 * registryd/desktop.c: emit the "children-changed::add" and
2885 "children-changed::remove" signals on the backing ATK object for
2886 the desktop so AT can tell when applications are started and shut
2889 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2891 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
2893 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2895 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
2897 * cspi/spi_accessible.c: Implemented c bindings for stateset support
2899 * cspi/state-types.h: synched with IDL and ATK
2901 2002-03-13 Bill Haneman <bill.haneman@sun.com>
2903 * libspi/accessible.c
2904 (impl_accessibility_accessible_get_child_at_index):
2905 Change return value for g_return_if_fail ()
2906 to CORBA_OBJECT_NIL instead of "0" (!)
2908 * registryd/Makefile.am:
2909 * registryd/Accessibility_Register.server.in:
2910 Changed name of executable, "registryd",
2911 to something more informative:
2914 2002-03-13 Michael Meeks <michael@ximian.com>
2916 * atk-bridge/bridge.c (atk_bridge_init): don't register
2917 if we're in a bonobo-component, rather than a bonobo app.
2919 2002-03-13 Michael Meeks <michael@ximian.com>
2921 * atk-bridge/bridge.c (gtk_module_init): split
2922 out body to (atk_bridge_init): here, since otherwise
2923 we get symbol conflicts and oddness when invoked
2924 from (gnome_accessibility_module_init): here (upd.)
2926 2002-03-11 Bill Haneman <bill.haneman@sun.com>
2929 New file. Explicitly allow "build sheriff" putbacks provided
2930 they are tested on Solaris.
2932 * docs/reference/cspi/Makefile.am:
2933 Added '-' to the "cp" command for index.sgml.
2934 ("patch by thomasvs, soon coming to a GUADEC near you")
2937 Incremented version number (0.9.0) for new release.
2938 Changed macro that checks for popt, to better detect
2939 obsolete versions of popt.
2942 Added X_LIBS to AC_SUBST, for applications
2943 that call Xlib API directly.
2946 2002-03-07 Bill Haneman <bill.haneman@sun.com>
2949 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
2952 Fix regression caused by hard-coding major
2953 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
2956 * test/test-simple.c (test_editable_text),
2957 (test_test): revert previous change (error was
2958 a regression in gail which is now fixed).
2960 2002-03-04 Michael Meeks <michael@ximian.com>
2962 * test/test-simple.c (test_editable_text),
2963 (test_text): pass G_MAXINT instead of '-1' for
2964 whole string - is this a good thing !?
2966 * cspi/spi_accessible.c
2967 (Accessible_getRelationSet): fix crasher bug
2968 overwriting the end of the array.
2970 * test/test-simple.c (validate_accessible): free,
2971 not g_free returned relation set.
2973 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
2975 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
2976 implemented stateset support
2978 * idl/Accessibility_State.idl: Made necessary changes to
2979 the IDL to support state sets.
2981 2002-02-12 Bill Haneman <bill.haneman@sun.com>
2983 * registryd/deviceeventcontroller.c:
2984 Added implementation for generateMouseEvent.
2986 * cspi/spi_registry.c:
2987 Connected new implementation for generateMouseEvent
2990 2002-02-12 Bill Haneman <bill.haneman@sun.com>
2993 Incremented revision (but no change in public API
2994 outside of 'utils', which are not installed public yet.)
2996 * libspi/component.c:
2997 Changed to use atk_component API for layers and
2998 mdi_zorder, instead of deprecated atk_object API.
3000 Magnification Utility Enhancements:
3003 Added implementation of createZoomRegion, clearAllZoomRegions,
3004 resizeZoomRegion. Added new commandline argument
3005 "--no-initial-region". Note that clearAllZoomRegions doesn't
3006 unmap the old '0' region as it should (yet), and the other
3007 methods only work when creating/resizing a single region,
3008 which is "region 0".
3009 (Code for multiple region support will be added later.)
3012 Now we raise the magnifier window each time it's refreshed;
3013 this will help keep it on top.
3015 * util/mag_client.h:
3016 Added simple wrappers for above, used by mag_control.
3017 For general use, it's recommended to use the bonobo magnifier
3018 control API directly instead of using these wrappers.
3021 Moved ZoomRegionData from magnifier.c to this file.
3023 * util/mag_control.c:
3024 Added some code to exercise new IDL implementations.
3026 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
3028 * libspi/text.c: Provide implementation for getAttributes.
3030 2002-02-04 Bill Haneman <bill.haneman@sun.com>
3033 Incremented revision.
3035 * test/test-simple.c:
3036 Replaced use of deprecated g_main_iteration with
3037 g_main_context_iteration.
3039 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
3042 Incremented revision for desktop alpha 2.
3044 2002-01-28 Mark McLoughlin <mark@skynet.ie>
3046 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
3049 * test/simple-at.c: include netinet/in.h.
3051 2002-01-24 Mark McLoughlin <mark@skynet.ie>
3053 * cspi/spi_accessible.c: (Accessible_getRelationSet):
3054 use NULL, not CORBA_OBJECT_NIL.
3056 * libspi/accessible.c:
3057 (impl_accessibility_accessible_get_relation_set):
3058 allocate the sequence correctly.
3060 * libspi/remoteobject.h: kill spi_remote_object_new.
3062 * test/test-simple.c: (validate_accessible): add code
3063 to test relation sets, now all we need is to figure
3064 out how to excercise this code path :/
3066 2002-01-18 Michael Meeks <michael@ximian.com>
3068 * test/test-simple.c
3069 (key_listener_cb): consume the key.
3070 (test_keylisteners): update.
3071 (main): wait for any pending unrefs on events.
3073 * registryd/deviceeventcontroller.c
3074 (spi_controller_update_key_grabs): only re-issue the
3075 grab on a key release.
3076 (spi_device_event_controller_forward_key_event):
3077 refresh the keygrabs before we notify the listeners,
3078 to reduce the X ungrab / re-grab race.
3079 (spi_controller_register_with_devices): remove
3080 XSelectInput - we do that with the gdk_window_ call.
3081 (_spi_controller_device_error_handler): return a value.
3082 s/GDK_DISPLAY/spi_get_display/
3084 2002-01-17 Michael Meeks <michael@ximian.com>
3086 * registryd/deviceeventcontroller.c
3087 (_deregister_keygrab): don't blow out the later
3090 * test/test-simple.c (test_keylisteners): do a
3091 more intelligent validation.
3093 2002-01-14 Michael Meeks <michael@ximian.com>
3095 * atk-bridge/bridge.c
3096 (gnome_accessibility_module_init),
3097 (gnome_accessibility_module_shutdown): impl.
3098 (gtk_module_init): protect vs. double inits.
3099 (add_signal_listener): impl.
3100 (spi_atk_bridge_state_event_listener): kill
3101 (deregister_application): split out of
3102 (spi_atk_bridge_exit_func): here.
3104 2002-01-18 Bill Haneman <bill.haneman@sun.com>
3107 Added caret tracking when using magnifier, and
3108 now use text bounds for focus tracking of text elements, rather than
3109 the component bounds - this is helpful for short text fields in long
3110 table cells, at high magnification.
3112 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3114 * registryd/deviceeventcontroller.c:
3115 Regression fix for keylistener de-registration; global keygrabs
3116 were not being released when deregisterKeystrokeListener was
3117 called in cspi, since
3118 Accessibility_DeviceEventController_deregisterKeystrokeListener
3119 was called with a zero-length keyset. That is because the cspi
3120 method, SPI_deregisterKeystrokeListener, does not take a keyset
3121 parameter but instead should remove all the key grabs held be a
3123 The code in impl_deregister_keystroke_listener was changed to copy
3124 the keylist from the listener instance previously registered with
3125 the DeviceEventController before releasing the grabs.
3127 * registryd/registry.c:
3128 * registryd/deviceeventcontroller.c:
3129 * libspi/spi-private.h:
3131 Changed spelling of "re-enterant" to "re-entrant" globally.
3133 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3135 * test/test-simple.c:
3136 Changed key listeners test - the test was slightly mis-using the
3137 (admittedly poorly documented) SPI_generateKeyboardEvent API.
3138 It now uses '=' as the key event listened to and generated,
3139 relying on a keysym match rather than assuming that keycode 33
3140 is always equal to keysym '!'.
3142 2002-01-15 Bill Haneman <bill.haneman@sun.com>
3145 Changed simple-at to use a specific keyset, rather than
3146 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
3147 manager, desktop, etc.
3149 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3151 * registryd/deviceeventcontroller.c:
3152 Replaced standard X error handler with a special handler that
3153 is non-fatal for failed keygrabs. This works around
3154 problems with keygrab clashes sometimes observed on
3156 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
3157 mouse handling code as yet).
3159 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3162 Incremented revision for desktop alpha release.
3165 Fixed a couple of the more glaring errors (still not
3168 2002-01-11 Michael Meeks <michael@ximian.com>
3170 * registryd/deviceeventcontroller.c
3171 (spi_device_event_controller_forward_key_event): kill
3172 XUngrabKey / XKeyGrab race.
3173 (spi_controller_grab_keyboard): rename to
3174 (spi_controller_update_key_grabs): this, and deal
3175 with incremental adding / removing grabs more
3177 (_register_keygrab): ensure we're not pending a remove.
3178 (spi_grab_mask_free): impl.
3179 (spi_controller_register_global_keygrabs): split out
3181 (handle_keygrab): impl.
3182 (_deregister_keygrab): impl.
3183 (spi_controller_deregister_global_keygrabs): impl.
3184 (spi_controller_update_key_grabs): re-issue the grab if
3185 we just recieved a notification.
3187 * test/test-simple.c (key_listener_cb): remove debug.
3189 * registryd/deviceeventcontroller.c
3190 (spi_controller_register_device_listener): after
3191 registering a global keygrab, actualy register it !
3192 don't wait for a timeout; doh !
3194 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
3195 to make it more readable / manipulable.
3196 s/grabmask/grab_mask/ s/refcount/ref_count/
3197 s/keyval/key_val/ s/modmask/mod_mask
3199 2002-01-08 Michael Meeks <michael@ximian.com>
3201 * registryd/deviceeventcontroller.c
3202 (spi_controller_register_with_devices): use gdk calls to
3204 (global_filter_fn): implement the filter.
3205 (spi_device_event_controller_check_key_event): rename to
3206 (spi_device_event_controller_forward_key_event): this & upd.
3207 (spi_get_display): replace with GDK_DISPLAY.
3209 * registryd/deviceeventcontroller.c
3210 (spi_controller_deregister_device_listener): unroll into
3211 (impl_deregister_keystroke_listener): here to simplify.
3212 (spi_controller_register_global_keygrabs): split cut and
3213 paste (!) out into (_register_keygrab): here, shorter & sweeter.
3214 (spi_controller_deregister_device_listener): remove.
3215 (impl_register_mouse_listener): remove, no mouse listener
3216 support in at-spi-1.0
3218 * registryd/registry.c
3219 (_device_event_controller_hook): kill.
3220 (spi_registry_init): upd.
3222 * registryd/deviceeventcontroller.c
3223 (spi_device_event_controller_class_init): upd.
3224 (spi_check_key_event): merge into.
3225 (spi_device_event_controller_check_key_event):
3226 here and kill strange static ev init, don't leak
3227 the x_event - nor dynamicaly allocate it.
3229 * registryd/registry-main.c (main): re-direct
3230 timeout to remove strange vtable mess.
3232 * registryd/deviceeventcontroller.c
3233 (remove_listener_cb): impl.
3234 (spi_controller_deregister_device_listener):
3235 fix re-enterancy hazard.
3237 2002-01-07 Michael Meeks <michael@ximian.com>
3239 * registryd/deviceeventcontroller.c
3240 (spi_device_event_controller_new): upd.
3241 (impl_notify_listeners_sync): upd. debug.
3242 (spi_notify_keylisteners): fix re-enterancy hazards,
3243 prettify, remove O(n*n) iteration.
3244 (spi_controller_grab_keyboard): fix iteration.
3245 (spi_check_key_event): re-format to suit coding style.
3246 Clean all the warnings - we're warning free.
3248 * registryd/deviceeventcontroller.h:
3249 * registryd/registry.h: make mutualy referential with
3250 typesafe forward references instead of (!) void pointer
3253 2002-01-11 Michael Meeks <michael@ximian.com>
3255 * cspi/spi_accessible.c (role_names): add a role name
3256 to sync this array with the enum; and make the regression
3259 2002-01-10 Michael Meeks <michael@ximian.com>
3261 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
3262 allow expansion of enumeration & kill warning.
3264 * test/test-simple.c (key_listener_cb): impl.
3265 (test_keylisteners): impl.
3267 * cspi/spi-listener.h: make listener signatures const
3268 on the provided (const) events.
3270 * test/keysynth-demo.c: upd. to const events.
3272 * test/simple-at.c: ditto.
3274 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3277 Rev the version to 0.5 (the previous tarball was named 0.4,
3278 even though the micro number was 3), so we need to rev upwards
3279 again for beta2/"desktop-alpha"
3282 Checked in a demo script, which requires editing before use!
3283 Proceed with caution.
3286 Fixed typo in header which was redefining SPI_ACTION_CLASS.
3288 * cspi/spi_accessible.c:
3289 Add a couple of missing enum initializations, and fix some enum
3292 * cspi/spi_registry.c:
3293 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
3295 * docs/reference/cspi/at-spi-cspi-sections.txt:
3296 Remove/fix a couple of broken document references.
3299 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
3300 as Alt-Control to listen for commands, since on some systems
3301 Control-Alt may already be grabbed.
3303 2002-01-10 Bill Haneman <bill.haneman@sun.com>
3306 Update version number to 0.4 for Beta2.
3308 * libspi/accessible.c, libspi/accessible.h:
3309 Expose spi_accessible_construct, to enable libgail-gnome
3310 construction from spi_accessible subtype.
3312 * utils/magnifier.c:
3313 Workaround for bug in some non-gnome-compliant window managers
3314 which made magnifier resize improperly.
3316 2002-01-09 Bill Haneman <bill.haneman@sun.com>
3318 * libspi/accessible.c: (spi_accessible_new) :
3319 Move the test for SPI_IS_REMOTE_OBJECT to
3320 spi_accessible_new_return, fixing a bug and compile time warning.
3322 2002-01-08 Michael Meeks <michael@ximian.com>
3324 * registryd/registry.c (parse_event_type): remove strndup.
3326 * libspi/Makefile.am (libspi_la_SOURCES): remove
3327 sources already included in the headers section.
3329 * libspi/util.c: add.
3331 * libspi/spi-private.h: add.
3333 * registryd/registry.c: update to moved list iterators.
3335 2002-01-05 Michael Meeks <michael@ximian.com>
3337 * test/simple-at.c (main): upd. auto-module set to atk-bridge
3339 * test/test-simple.c (main): ditto.
3341 2002-01-04 Michael Meeks <michael@ximian.com>
3343 * libspi/accessible.c (spi_accessible_new): remove 2nd,
3344 redundant construct.
3346 * registryd/registry.c
3347 (get_listener_list): impl.
3348 (impl_accessibility_registry_register_global_event_listener):
3349 re-impl. to simplify using ~, remove dodgy const cast off.
3350 (parse_event_type): constify.
3351 (impl_accessibility_registry_deregister_global_event_listener_all):
3352 re-write, more efficiency and simplicity, kill re-enterancy
3354 (compare_listener_corbaref, compare_corba_objects),
3355 (compare_listener_quarks): define out.
3356 (impl_accessibility_registry_deregister_global_event_listener):
3357 re-write for effiency, and nail re-enterancy hazard.
3358 (impl_accessibility_registry_get_desktop_list): impl.
3359 (re_enterant_list_delete_link): impl.
3360 (re_enterant_list_foreach): impl.
3361 (remove_listener_cb): impl.
3362 (_registry_notify_listeners): kill.
3363 (notify_listeners_cb): impl.
3365 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
3366 (SPI_getDesktopList): impl.
3368 * test/test-simple.c (test_desktop): test the methods.
3370 2002-01-03 Michael Meeks <michael@ximian.com>
3372 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
3373 keystrings since we free them
3374 (SPI_freeAccessibleKeySet): in here.
3376 * libspi/accessible.c (spi_accessible_new): kill warning,
3377 wonder what is going on with the constructor here.
3379 2002-03-01 Bill Haneman <bill.haneman@sun.com>
3381 * libspi/accessible.c (spi_accessible_new ()) :
3382 Added check to see if AtkObject is an SpiRemoteObject before
3383 creating an SpiAccessible.
3385 2002-05-01 Bill Haneman <bill.haneman@sun.com>
3387 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
3388 Enable keygrabs using the Control modifier, now that they are
3389 working properly (they were previously disabled).
3392 Change the command keygrab for this demo to "Control+Alt", so as
3393 to conflict with fewer other key commands on the system; this
3394 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
3396 Removed a pointlessly-chatty keylistener for unshifted keys
3397 (shifted keys are still reported).
3399 2002-02-01 Bill Haneman <bill.haneman@sun.com>
3401 * libspi/remoteobject.h:
3402 * libspi/remoteobject.c:
3403 Added definitions for special AtkObject subtype, required for
3404 support of remote components (specifically, used by BonoboControl
3405 accessibility implementation).
3407 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
3409 * cspi/spi.h: synched relation types with ATK
3411 * cspi/spi_accessible.c: Added implementations of
3412 AcccessibleRelation_* methods
3414 * idl/Accessibility_Relation.idl: added getRelationTypeName
3415 method. Synched known relation types with ATK. Allowed for
3416 relation type extension with the RELATION_EXTENDED type.
3418 * libspi/relation.c: Provided implementations for
3419 AccessibleRelation methods.
3421 2002-01-01 Bill Haneman <bill.haneman@sun.com>
3423 API tweaks for today's API 'freeze'.
3426 Added placeholder functions to allow future compatible expansion
3427 of the IDL interfaces.
3429 * idl/Accessibility_Registry.idl:
3430 Changed generateKeyEvent to generateKeyboardEvent. Changed
3431 signature of this method to accept an optional keystring in
3432 parameter (for complex text input synthesis) and changed use of
3433 simple 'boolean' parameter in registerKeystrokeListener to a
3434 struct, EventListenerMode.
3436 * cspi/spi_accessible.c:
3438 * cspi/spi_streamablecontent.c:
3439 Added references to AccessibleStreamableContent interface, and
3440 definition and implementation of AccessibleStreamableContent
3443 * cspi/spi_registry.c:
3445 Changed generateKeyEvent API to generateKeyboardEvent,
3446 taking a new (optional) keystring parameter to support complex
3451 Renamed directory (to better reflect its actual purpose, bridging
3452 from at-spi to ATK). The .so module is also now named
3455 * idl/Accessibility_Hypertext.idl:
3456 * libspi/accessible.c:
3457 * libspi/hypertext.h:
3458 * libspi/hypertext.c:
3459 Changed Accessibility_Hypertext to *not* derive from
3462 * cspi/spi_registry.c:
3463 Added list of legal event type names for 'window' events, which
3464 completes the registry event API.
3466 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
3468 * at-bridge/bridge.c: Added registration for separate
3469 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
3470 signals. If either of the first two parameters to the generic
3471 bridge signal handler are ints, they are passed on as event
3472 details. This allows an AT to determine what text was inserted.
3474 2001-12-21 Bill Haneman <bill.haneman@sun.com>
3476 * registryd/deviceeventcontroller.c:
3477 Fixed regressions in generateKeyEvent caused by the removal of
3478 gdk_init from registryd; we now use pure X calls to connect to the
3479 display, which makes sense because deviceeventcontroller already
3480 uses a fair bit of X API (should eventually be migrated to a
3481 'portability layer').
3483 * registryd/desktop.c:
3484 Fixed minor regression in spi_desktop_init, changed the way the
3485 desktop name is being set to work with new spi_base API
3486 (gobject-based, rather than AtkObject-based).
3488 * registryd/Makefile.am:
3489 Minor revision of makefile to use XTST_LIBS variable rather than
3490 hard-wiring the Xtst LD_ADD element.
3492 * test/keysynth-demo.c:
3493 Tweaked an output message; added initialization of the
3494 'keystrings' member of the "switch listener" key_set.
3496 * libspi/relation.c:
3497 Squashed compile-time warning.
3499 * libspi/accessible.c:
3500 Cosmetic and formatting fixes, renamed a static method.
3502 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
3504 * libspi/accessible.c
3506 * libspi/application.c
3509 * libspi/component.c
3510 * libspi/editabletext.c
3511 * libspi/hyperlink.c
3512 * libspi/hypertext.c
3514 * libspi/selection.c
3518 * registryd/desktop.c:
3519 Changed SpiBase to contain a GObject pointer rather than an AtkObject
3521 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3523 * idl/Accessibility_Registry.idl:
3524 Added boolean member 'is_text' to DeviceEvent. This is for the
3525 use of key events, and helps prevent ambiguity between composed
3526 key strings and keysym names, since both may potentially be
3527 returned in the 'event_string' member.
3529 * at-bridge/bridge.c:
3530 * registryd/deviceeventcontroller.c:
3531 Use the 'is_text' member when notifying device event listeners.
3532 Knon issue: composed characters are not dealt with correctly by
3533 the global key listener implementation yet.
3535 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3537 * at-bridge/bridge.c:
3538 Namespaced local static methods to spi_atk_bridge_* where
3539 previously named bridge_*, and spi_* elsewhere.
3541 * at-bridge/bridge.c:
3542 * cspi/bonobo/cspi-bonobo-listener.c:
3543 Added demarshalling/conversion for string member of
3544 Accessibility_DeviceEvent to AccessibleKeystroke.
3546 * registryd/deviceeventcontroller.c:
3547 Added code to fill the Accessibility_DeviceEvent key string value
3548 member for global key events (i.e. from XGrabKey), to match
3549 behavior of Accessibility_DeviceEvent from the toolkit key events
3550 from the bridge. Fixed timestamp in global key event notifications.
3553 Added printout of key event's string value to
3554 report_ordinary_key_event, for demo/debugging purposes.
3556 2001-12-15 Bill Haneman <bill.haneman@sun.com>
3558 * idl/Accessibility_Registry.idl:
3559 Removed Accessibility_KeyStroke structure in favor of generic
3560 Accessibility_DeviceEvent structure.
3561 Changed Accessibility_ControllerEventMask from a struct to an
3564 * at-bridge/bridge.c:
3565 Changed APIs to use DeviceEvent structure as above, and removed
3566 bogus casting between these event structures.
3568 * cspi/spi-listener.h:
3569 Added keystring member of AccessibleKeystroke structure, to enable
3570 matching on event "names" rather than only hardware codes and
3574 Added keystrings member of AccessibleKeySet struct, to allow
3575 matching on event names (as above).
3576 Added declarations for SPI_createAccessibleKeySet and
3577 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
3578 event modmasks directly as unsigned ints rather than structs with
3579 refcounts, in the DeviceEventController methods.
3581 * cspi/spi_registry.c:
3582 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
3584 * cspi/spi-roletypes.h:
3585 Added documentation of newly added SPI Roles.
3587 * cspi/bonobo/cspi-bonobo-listener.c:
3588 Changes in support of API changes above.
3590 * libspi/accessible.c:
3591 Converted APIs to use DeviceEvent structure (see IDL changes
3594 * registryd/deviceeventcontroller.c:
3595 Added DEControllerGrabMask structure to track keygrabs not only by
3596 modmask but by keyset as well; this allows us to do "global"
3597 (i.e. X) keygrabs on a per-key or keyset basis rather than always
3598 grabbing on AnyKey and then filtering after-the-fact.
3599 Bugfixes for event filtration mean that we don't get false matches
3600 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
3602 * registryd/deviceeventcontroller.c:
3603 Namespaced a number of static methods to use spi_ prefix. Major
3604 revision to internals of global (i.e. X) key grabs.
3606 * registryd/deviceeventcontroller.h:
3607 Removed keymask_list and added keygrabs_list to
3608 SpiDeviceEventController struct.
3611 Added use of SPI_createAccessibleKeySet API when creating a
3612 listener for only one key. Attach a listener to "shift spacebar
3613 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
3614 X key event names to SPI key event names, so that listeners are
3615 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
3617 * test/keysynth-demo.c:
3618 Changed (incorrect) use of X key event names (KeyPressed,
3619 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
3622 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3624 * libspi/accessible.c:
3625 Convert all AtkRole enumerations to Accessibility_Role enums when
3626 getting a role from an AtkObject.
3628 * cspi/spi_accessible.c:
3629 Complete the conversion of Accessibility_Role enums at runtime to
3630 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
3631 role enums correctly match those given in spi-roletypes.h.
3632 Re-synchronize the local names list for AccessibleRole_getName ().
3633 AccessibleRole_getName is now deprecated, since it duplicates the
3634 more reliable Accessible_getRoleName.
3635 Added some role types from Accessibility_Role.idl.
3637 * idl/Accessibility_Role.idl:
3638 Added some role types used by AtkRole.
3640 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3643 * cspi/spi_registry.c:
3645 * cspi/cspi-bonobo-listener.c:
3646 Namespaced all methods that did not begin with an "SPI_" or
3647 "Accessible" prefix to "SPI_".
3650 Homogenized internal function namespace to "cspi_" for statics.
3653 Patched tests to use the new CSPI API.
3655 * docs/reference/cspi/at-spi-cspi-sections.txt:
3656 Updated docs to reflect namespace changes, and added a number of
3657 methods to the documentation.
3659 * registryd/registry.c:
3660 Changed use of strings and string hashes in listener event
3661 matching and parse_event_string to use GQuark, which is guaranteed
3664 * registryd/registry.h:
3665 Squashed annoying warning.
3667 * idl/Accessibility_Role.idl:
3668 Extended range of available Accessibility_Role values.
3670 * cspi/spi_accessible.c:
3671 Re-ordered role names.
3673 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3675 * idl/Accessibility_Value.idl:
3676 Revert use of union back to CORBA_double, since the double type is
3677 more efficient and can contain the other types without loss of
3680 * idl/Accessibility_Accessible.idl:
3681 Added method Accessibility:Accessible:getRoleName, to complement
3682 Accessibility:Accessible:getRole.
3684 * cspi/spi_accessible.c:
3686 Added C binding for above, Accessible_getRoleName (), and changed
3687 signature of Accessible_getRole () to return an AccessibleRole.
3689 * cspi/spi-roletypes.h:
3690 Changed AccessibleRole_getName to return a char * instead of a
3691 const char *. This method is now at least temporarily deprecated
3692 in favor of asking Accessibles for their RoleNames directly.
3695 Revert to match Accessibility_Value.idl;
3699 Change signature of AccessibleValue methods to use double rather
3703 * cspi/spi_accessible.c:
3704 Changed Accessible_getRole to return an AccessibleRole enum rather
3705 than a UTF-8 string. The UTF-8 string can still be obtained via
3706 AccessibleRole_getName ().
3708 * test/test-simple.c:
3709 Add test_action. Small fixup to match API change to Accessible_getRole.
3712 Bugfix for get_action_from_servant ().
3714 2001-12-11 Michael Meeks <michael@ximian.com>
3716 * libspi/libspi.h: remove registry.h and
3717 desktop.h, deviceeventcontroller.h
3719 * libspi/Makefile.am: remove registry.[ch],
3720 desktop.[ch], deviceeventcontroller.[ch]
3722 * registryd/Makefile.am: add registry.[ch],
3723 desktop.[ch], rename registryd.c to registry-main.c.
3724 add deviceeventcontroller.[ch]
3726 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3729 Replace setenv() call with putenv ().
3731 * libspi/component.c:
3732 Bugfix in AccessibleComponent_getExtents (),
3735 2001-12-11 Michael Meeks <michael@ximian.com>
3737 * libspi/image.c (impl_getImageExtents): impl.
3738 (spi_image_class_init): upd.
3741 (AccessibleImage_getImageDescription): fix daft bug
3744 * test/test-simple.c (global_listener_cb): update
3745 to only quit if not --poke
3746 (main): catch --poke.
3747 (validate_accessible): upd. dumping, call test_image
3750 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
3753 * idl/Accessibility.idl: update all IDL includes.
3755 * idl/*.idl - rename to namespace - this sucks, blame
3756 mjs' bad decision for oafd.
3758 * test/test-simple.c (create_test_window): add more tests.
3759 (create_tree): split this out.
3760 (validate_accessible): bugfix.
3762 2001-12-11 Michael Meeks <michael@ximian.com>
3764 * cspi/bonobo/cspi-bonobo-listener.c:
3765 (cspi_kestroke_listener_unref),
3766 (cspi_event_listener_unref): impl. undoing previous
3767 homenous environment - for Bill.
3769 * cspi/spi_table.c (long_seq_to_array): use
3772 * cspi/spi_main.c: split out all bonoboish bits into
3775 * cspi/spi-impl.h: upd. typedefs.
3777 * cspi/spi_registry.c: update to lowlevel API,
3778 return booleans to indicate success in some places.
3780 * cspi/spi_event.c: update to lowlevel API.
3782 * cspi/bonobo/Makefile.am: add.
3784 * cspi/bonobo/cspi-lowlevel.h: add
3786 * cspi/bonobo/cspi-bonobo.c: add
3788 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
3790 * cspi/Makefile.am: remove spi-listener-impl.[ch],
3791 (SUBDIRS): add bonobo, link in the libs.
3793 * cspi/spi-util.c: kill this file.
3795 * TODO: merge in my bits.
3797 2001-12-11 Michael Meeks <michael@ximian.com>
3799 * test/test-simple.c (test_value, test_table, main):
3800 remove unused variables causing warnings.
3802 * configure.in: cleanup checks - require gail.
3804 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3807 Changed Value interface to use SValue (scalars) rather than
3808 assuming all values are floats. This allows floats, doubles,
3809 longs, shorts, and unsigned values to be manipulated.
3810 Introduced Accessibility:SValue union.
3813 Updated to use new API above, and to work correctly with GValues
3814 of different types in AtkValue.
3817 Updated to use new API above. cspi's API is as yet unchanged.
3820 Updated the Value revision action item.
3822 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3824 * test/test-simple.c:
3825 Added test_table (GtkTreeView widget in test window to follow).
3826 Un-commented test_value, added GtkRange widget.
3827 Added GtkTreeView widget with GtkListStore. It passes regression
3828 test but leaks one SPI object for some reason.
3831 Fixed bug in impl__set_currentValue.
3833 2001-12-10 Michael Meeks <michael@ximian.com>
3835 * cspi/spi_text.c: audit for exception handling,
3836 tolerating NULL object references safely etc.
3838 * cspi/spi_value.c: ditto.
3840 * cspi/spi_table.c (AccessibleTable_getSummary),
3841 (AccessibleTable_getAccessibleAt),
3842 (AccessibleTable_getRowHeader),
3843 (AccessibleTable_getColumnHeader),
3844 (AccessibleTable_getCaption): fix bugs hidden by
3846 (long_seq_to_array): impl.
3847 (AccessibleTable_getSelectedRows),
3848 (AccessibleTable_getSelectedColumns): use it.
3850 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3853 Added a TODO list (rough and short for now).
3855 * cspi/spi_hyperlink.c:
3856 * cspi/spi_hypertext.c:
3857 Fixed macro name typos, and remove use of obsolete macro in
3858 AccessibleHyperlink_getLink.
3860 * cspi/spi_action.c:
3861 * cspi/spi_accessible.c:
3862 * cspi/spi_application.c:
3863 * cspi/spi_component.c:
3864 * cspi/spi_selection.c:
3867 Documentation fixes (removed return values from ref/unref methods).
3869 2001-12-10 Michael Meeks <michael@ximian.com>
3871 * cspi/spi_action.c: audit for exception handling,
3872 tolerating NULL object references safely etc.
3874 * cspi/spi_accessible.c: ditto.
3876 * cspi/spi_component.c: ditto.
3878 * cspi/spi_editabletext.c: ditto.
3880 * cspi/spi_hyperlink.c: ditto.
3882 * cspi/spi_hypertext.c: ditto.
3884 * cspi/spi_image.c: ditto.
3886 * cspi/spi_selection.c: ditto.
3888 2001-12-10 Michael Meeks <michael@ximian.com>
3890 * configure.in: use cspi/libspi.pc.in instead.
3892 * Makefile.am (pkgconfig_DATA): upd. to match.
3894 * test/simple-at.c (report_focus_event): kill hacks around
3895 bad return values, use putenv not setenv
3897 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
3898 fire ChildGone - I killed it.
3900 * libspi/component.c
3901 (impl_accessibility_component_get_extents): remove
3904 * idl/Accessible.idl: kill ChildGone exception.
3906 * cspi/*.[ch]: kill int return from ref / unref.
3908 * cspi/spi_main.c (cspi_object_add_check): fold into
3909 (cspi_object_add): here.
3911 * cspi/spi_component.c (AccessibleComponent_getExtents):
3912 handle exceptions elegantly.
3914 * cspi/spi-private.h (cspi_check_ev_return),
3915 (cspi_return_if_fail): impl.
3917 * cspi/spi_accessible.c: use extensively.
3918 (AccessibleStateSet_equals): add direct compare check.
3920 * cspi/spi_selection.c: tolerate NULL objs, and check
3921 exceptions before return.
3923 * cspi/spi-util.c (cspi_warn_ev): rename to
3924 (cspi_check_ev): this & don't pass ev in; no point.
3926 2001-12-10 Michael Meeks <michael@ximian.com>
3928 * test/test-simple.c: use putenv not setenv
3929 (get_environment_vars): more chatty if you're not using
3932 * test/simple-at.c: do the setenv so more people see the
3935 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3937 * libspi/registry.c:
3938 Changed check of CORBA_environment on notification to be a warning
3939 instead of an error for the moment, since we can recover from this
3940 error when caused by a queued notification from a dead app.
3943 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
3944 used by all current implementors of AtkValue), and coerce to
3945 CORBA_float. (Proper general case fix may require change to Value.idl).
3947 2001-12-09 Bill Haneman <bill.haneman@sun.com>
3951 * cspi/spi_accessible.c:
3952 Documentation fixes: added user_data params to documentation for
3953 listeners and callbacks.
3955 * cspi/spi_accessible.c:
3956 Changed AccessibleStateSet_compare to return a
3957 StateSet rather than return the difference set into a third parameter.
3960 2001-12-09 Bill Haneman <bill.haneman@sun.com>
3963 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
3964 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
3968 Remove subdirectory po from SUBDIRS for now.
3970 * at-bridge/bridge.c:
3971 Beefed up a couple of debug printouts.
3972 One-line fix for signal notification name formatting.
3974 * libspi/accessible.c:
3975 Added assertion to spi_accessible_new ().
3977 * libspi/application.c:
3978 Put #ifdef qualifiers around a printf.
3981 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
3983 * registryd/Makefile.am:
3985 Replaces use of XML_I18N_MERGE_SERVER_RULE with
3986 INTLTOOL_SERVER_RULE macro.
3989 Added an event listener for several ATK signals, for
3990 testing and debugging. Removed a few g_warnings.
3991 Added test output if focussed item implements the Value interface.
3993 * test/test-simple.c:
3994 Added test_value () function (known not to pass at the moment, so
3995 not actually called yet.
3997 2001-12-08 Michael Meeks <michael@ximian.com>
3999 * at-bridge/bridge.c (bridge_focus_tracker),
4000 (emit_eventv): fix the same ref. leak.
4001 (register_atk_event_listeners): don't leak.
4003 * cspi/spi-listener-impl.c (cspi_event): more
4004 protection from client code.
4006 * test/test-simple.c (test_desktop): unref the app.
4008 * test/Makefile.am: upd. TESTS.
4010 * at-bridge/bridge.c (bridge_exit_func): release the registry.
4012 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
4014 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
4016 * cspi/spi_registry.c: constify in strings.
4017 (deregisterGlobalEventListenerAll): don't release the ref.
4019 * cspi/spi.h: start removing redundant / conflicting
4020 gtkdoc comments, making the API readable at a glance :-)
4022 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
4024 * test/keysynth-demo.c (keysynth_exit, main): upd.
4026 * test/simple-at.c (main, simple_at_exit): upd.
4028 * test/test-simple.c (unutterable_horror): kill.
4029 (utterable_normal_derefs): kill.
4030 (main): upd & do a setenv before gtk_init, so that we
4031 can use memprof - and to save the pain of remembering
4032 this, if we're running under memprof - don't exit.
4034 * cspi/spi_main.c (SPI_exit): return exit status
4036 (SPI_event_quit): impl.
4037 (SPI_event_main): simplify.
4038 (cspi_is_gnome_app): kill.
4039 (SPI_init): kill isGNOMEapp arg.
4041 * at-bridge/bridge.c (register_atk_event_listeners):
4042 re-instate the unref.
4043 (bridge_exit_func): don't re-activate the registry,
4044 protect vs. theoretical re-entry, use the
4045 AT_BRIDGE_SHUTDOWN env. var to determine whether to
4046 assert a clean shutdown - for regression tests.
4048 2001-12-08 Abel Cheung <maddog@linux.org.hk>
4050 * configure.in: Comment out dummy i18n support for now,
4051 otherwise it fails to build.
4052 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
4053 EXTRA_DIST. They are missing in tarball.
4055 2001-12-07 Michael Meeks <michael@ximian.com>
4057 * util/magnifier.c: kill bonobo activation reg. race.
4059 * libspi/component.c
4060 (impl_accessibility_component_get_extents): make it match
4063 * libspi/registry.c (_registry_notify_listeners):
4064 re-remove X headers & reconcile conflicts.
4065 (spi_listener_struct_free): bad conflict resolve.
4066 (impl_accessibility_registry_register_application):
4067 more bad merging fixed.
4068 (impl_accessibility_registry_deregister_application): ditto.
4069 (spi_registry_new): ditto.
4070 (spi_registry_init): don't have an applications field.
4072 [ merge fixups2 branch to here ]
4073 2001-12-07 Michael Meeks <michael@ximian.com>
4075 * test/simple-at.c (report_focus_event),
4076 (report_focussed_accessible): remove g_warning debug.
4078 2001-12-07 Michael Meeks <michael@ximian.com>
4080 * test/test-simple.c (validate_tree): comment out some checks.
4081 (test_desktop): app now not registered idly - horay.
4083 2001-12-07 Michael Meeks <michael@ximian.com>
4085 * cspi/spi_registry.c
4086 (registerAccessibleKeystrokeListener): clean, stop it leaking
4087 great swathes of memory, and device event controller references.
4088 ensure we always pass valid sequences.
4089 (deregisterAccessibleKeystrokeListener): ditto.
4090 (generateKeyEvent): upd.
4092 * at-bridge/bridge.c (bridge_key_listener): handle
4093 registry dead exception gracefully.
4094 (bridge_focus_tracker, emit_eventv): free ev.
4096 * test/simple-at.c (report_focus_event): fix polarity.
4098 * libspi/application.c (notify_listeners): kill the ev
4099 argument, and make sure we init the ev we use.
4100 (spi_application_object_event_listener): split out a chunk
4101 (get_atk_object_ref): here & fixup.
4102 (reverse_lookup_name_for_toolkit_event): make const.
4103 (spi_application_toolkit_event_listener): fixup, kill leaks
4106 * at-bridge/bridge.c (register_atk_event_listeners):
4107 don't unref the noop object - causes grief.
4109 * libspi/registry.c: remove the X headers.
4110 turn off the debug churn.
4112 * libspi/accessible.c (spi_accessible_new_return): only
4113 release the ref if we are supposed to [doh]
4115 * test/simple-at.c (report_button_press, report_focus_event):
4116 guard vs. unexpected exit.
4118 * at-bridge/bridge.c (gtk_module_init): prune printf.
4119 (bridge_exit_func): fix app unref.
4121 * libspi/Makefile.am: don't install registry or desktop.h
4123 * libspi/*.h: update includes.
4125 * libspi/application.h: don't include ourself, or
4126 other redundant headers.
4128 2001-12-06 Michael Meeks <michael@ximian.com>
4130 * libspi/accessible.c
4131 (get_accessible_from_servant): impl.
4132 Upd. all CORBA impl.s to use it killing cut and paste.
4134 * cspi/spi_main.c (cspi_cleanup): guard vs. double
4136 (SPI_init): register atexit cleanup handler here.
4138 2001-12-06 Michael Meeks <michael@ximian.com>
4140 * at-bridge/bridge.c (gtk_module_init): g_error on
4141 activation exception
4143 2001-12-06 Michael Meeks <michael@ximian.com>
4145 * at-bridge/bridge.c (gtk_module_init): some sort of
4146 confusing merge clash - reverted.
4147 (bridge_idle_init): ditto.
4149 * test/test-simple.c (main, utterable_normal_derefs):
4150 merge from Bill - somehow not committed.
4152 2001-12-06 Michael Meeks <michael@ximian.com>
4154 * libspi/value.c (spi_value_class_init): upd.
4155 (spi_value_finalize): kill.
4157 * libspi/table.c (spi_table_finalize): kill.
4158 (spi_table_interface_new): upd.
4159 (spi_table_class_init): upd.
4160 (get_table_from_servant): impl.
4161 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4163 * libspi/selection.c (spi_selection_finalize): kill.
4164 (spi_selection_interface_new): upd.
4165 (spi_selection_class_init): upd.
4166 (get_selection_from_servant): impl.
4167 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4169 * libspi/relation.c (spi_relation_finalize): kill.
4170 (spi_relation_class_init, spi_relation_new): upd
4172 * libspi/image.c (spi_image_finalize): kill.
4173 (spi_image_class_init): upd.
4174 (spi_image_interface_new): upd.
4175 (get_image_from_servant): impl.
4176 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4178 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
4179 (spi_hyperlink_finalize): kill.
4180 (spi_hyperlink_new): upd.
4181 (get_hyperlink_from_servant): impl.
4182 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4184 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
4185 (spi_hypertext_finalize): kill.
4186 (spi_hypertext_class_init): upd.
4187 (get_hypertext_from_servant): impl.
4188 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4190 * libspi/editabletext.c (spi_editable_text_finalize): kill.
4191 (spi_editable_text_interface_new): upd.
4192 (get_editable_text_from_servant): impl.
4193 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4195 * libspi/text.c (get_text_from_servant): impl.
4196 All impls - update to use it killing more cut and paste,
4197 also fix bad string returns on duff args ( a somewhat
4198 impossible case to handle - but hey ).
4199 (spi_text_construct): impl.
4200 (spi_text_interface_new): upd.
4201 (spi_text_object_finalize): kill.
4203 * libspi/component.c
4204 (accessibility_component_object_finalize): kill.
4205 (spi_component_class_init): upd.
4206 (get_component_from_servant): impl. helper to kill cut & paste.
4207 (impl_accessibility_component_contains):
4208 (impl_accessibility_component_get_accessible_at_point):
4209 (impl_accessibility_component_get_position):
4210 (impl_accessibility_component_get_extents):
4211 (impl_accessibility_component_get_mdi_z_order):
4212 (impl_accessibility_component_get_layer):
4213 (spi_component_interface_new): upd.
4215 * libspi/action.c (spi_action_finalize): kill.
4216 (spi_action_class_init): upd. inherit from SpiObject.
4217 (spi_action_interface_new): upd.
4218 (get_action_from_servant): impl. helper to reduce cut & paste.
4219 (impl_getKeyBinding, impl_getName, impl_doAction),
4220 (impl_getDescription): Use it everywhere.
4222 * cspi/spi_main.c (get_live_refs): a pointer hash.
4223 (spi_object_hash, spi_object_equal): comment out.
4224 There are issues with CORBA object hashing that need
4227 * libspi/application.c (spi_application_init),
4228 (spi_application_new): upd.
4230 * libspi/accessible.c (spi_accessible_object_finalize): kill.
4231 (spi_accessible_class_init): upd.
4232 s/accessible/object/ in epv methods.
4234 2001-12-05 Bill Haneman <bill.haneman@sun.com>
4236 * at-bridge/bridge.c:
4237 Reorder the bridge initialization into the bridge gtk_module_init,
4238 an immediate call to bridge_register_app, and an idle_add for
4239 register_atk_event_listeners (the only code that *must* wait until
4240 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
4241 the activation, creates the application's Accessible object, and
4242 queues the bridge_idle_init function. Restored call to
4243 Accessibility_Registry_deregisterApplication().
4244 Prior to making this call we obtain a new reference to the
4245 registry, which is a temporary hack that helps us handle apps that
4246 shut down the bonobo mainloop before we get there.
4248 * libspi/registry.c:
4249 Fix string leakage in debug block, and don't segv if a an app
4250 dies before its event notifications have been propagated.
4253 Modify cspi_check_ev() to call g_warning() rather than g_error(),
4254 as stopgap measure until we get proper exception handling when
4255 objects die during or before interrogation.
4259 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
4260 Also changed default value of is_gnome_app to TRUE.
4263 * test/keysynth-demo.c:
4264 Changed use of SPI_init and SPI_event_main to reflect API change above.
4267 Made report_focus_event check the warning value from getName
4268 before reporting on focussed accessible; simplifies handling of
4269 notifications from dead objects.
4271 * test/test-simple.c: (Changes not in this patch since source is
4274 2001-12-05 Michael Meeks <michael@ximian.com>
4276 * registryd/registryd.c (main): protect against
4277 bonobo-activation startup race condition.
4279 * cspi/spi_main.c (cspi_object_add_check): cope
4280 with the exception elegantly.
4282 * idl/Accessible.idl: decl. ChildGone
4284 * libspi/desktop.c (spi_desktop_dispose): impl.
4285 (spi_desktop_class_init): upd.
4286 (spi_desktop_add_application),
4287 (spi_desktop_remove_application),
4288 (abnormal_application_termination): impl.
4289 (impl_desktop_get_child_at_index): re-impl.
4292 (impl_accessibility_registry_deregister_application),
4293 (impl_accessibility_registry_register_application):
4294 kill excessive debug clutter.
4296 * test/test-simple.c (test_misc): test some NULL
4297 tolerance. (main): upd.
4299 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
4300 implements no interfaces - so let's not crash.
4302 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
4304 * libspi/accessible.c (spi_accessible_new_return): impl.
4305 helper to calm the cut and paste, to cope with
4306 NULL AtkObjects effectively and efficiently, and to kill
4307 the referencing bugs.
4309 * libspi/table.c (impl_getAccessibleAt),
4310 (impl_getRowHeader, impl_getColumnHeader): upd.
4312 * libspi/hyperlink.c (impl_getObject): upd.
4314 * libspi/accessible.c
4315 (impl_accessibility_accessible_get_child_at_index): upd.
4317 * libspi/component.c
4318 (impl_accessibility_component_get_accessible_at_point): upd.
4320 * test/test-simple.c (test_editable_text, test_text): impl.
4323 * cspi/spi_editabletext.c
4324 (AccessibleEditableText_insertText): constify.
4326 * test/test-simple.c (focus_me): make more robust.
4328 * libspi/accessible.c: remove some printfs in methods that
4329 we test and work fine, so we can get a clean tree dump.
4331 * test/test-simple.c (validate_accessible),
4332 (validate_tree): make tree dumping pretty too.
4334 * at-bridge/bridge.c (bridge_signal_listener): upd. so
4335 it builds without debug on.
4337 * test/test-simple.c (validate_accessible): fix the most
4340 * cspi/spi_main.c (spi_object_release): leave the nicely
4341 blanked memory around if in debug mode.
4343 * cspi/spi-listener-impl.c (cspi_event): use add_check.
4345 [committed to fixups2]
4346 2001-12-05 Michael Meeks <michael@ximian.com>
4348 * libspi/editabletext.c
4349 (spi_editable_text_class_init): g_type_class_peek_parent,
4350 not interface peek - so we finalize cleanly.
4352 * libspi/accessible.c (spi_accessible_new): kill debug.
4354 * test/test-simple.c (validate_accessible): fix ref.
4355 leak, print strings before freeing them; sigh, comment a
4356 chunk out due to strangeness.
4357 (validate_tree): unref the child after use.
4359 * cspi/spi_component.c (AccessibleComponent_getLayer):
4360 add missing break statement, switch on zlayer not the
4361 uninitialized retval.
4363 * cspi/spi_main.c (cspi_object_add): add assert, local ref
4364 before (possibly re-entering) remote unref.
4366 * test/simple-at.c (main): unref the desktop.
4368 * cspi/spi_accessible.c (cspi_accessible_is_a): move
4371 * cspi/spi_main.c (cspi_accessible_is_a): here to
4372 isolate bonobo API usage more.
4374 * libspi/registry.c (impl_accessibility_registry_register_application):
4375 prune bogus comment.
4377 2001-12-04 Michael Meeks <michael@ximian.com>
4379 * test/test-simple.c (validate_tree): upd.
4380 IndexInParent check to make it more lucid.
4381 (validate_accessible): dump the tree.
4383 * libspi/accessible.c (de_register_public_ref),
4384 (get_public_refs): impl.
4385 (spi_accessible_new): make more efficient & intuitive.
4386 Now IndexInParent check works.
4388 2001-12-04 Michael Meeks <michael@ximian.com>
4390 * cspi/spi-util.h: remove.
4392 * cspi/spi.h: move SPI_freeString here
4394 * libspi/component.c (impl_accessibility_component_get_layer):
4396 (impl_accessibility_component_get_mdi_z_order): ditto,
4397 return -1 on error - is this ok ?
4399 * test/test-simple.c (test_application): impl.
4401 * cspi/spi_accessible.c (Accessible_getApplication),
4402 (Accessible_isApplication): impl.
4404 * libspi/registry.c (spi_listener_struct_free): release
4405 the CORBA reference too.
4407 * libspi/accessible.c
4408 (impl_accessibility_accessible_get_parent): fix ref leak.
4410 * libspi/registry.c (spi_registry_new): make the registry
4411 immortal - we don't want it to go away ever.
4413 * libspi/application.c
4414 (spi_accessible_application_finalize): impl. cleanup.
4416 * cspi/spi_registry.c
4417 (deregisterGlobalEventListenerAll),
4418 (deregisterGlobalEventListener),
4419 (deregisterAccessibleKeystrokeListener): fix ref leak.
4421 * cspi/spi_main.c (SPI_init): remove redundant ref.
4423 * test/test-simple.c (unutterable_horror): impl. to force a
4428 (impl_accessibility_registry_deregister_application): release
4429 the application when we de-register it.
4431 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
4432 until we have the infastructure to get it right.
4434 2001-12-03 Michael Meeks <michael@ximian.com>
4436 * libspi/Makefile.am: only build eventlistener.[ch]
4438 * libspi/accessible.c
4439 (impl_accessibility_accessible_get_child_at_index): don't leak.
4441 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
4442 before we hit the idle handler.
4444 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
4445 debugging than exit.
4447 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
4449 * libspi/listener.c (impl_notify_event): check source
4450 not NIL before unref.
4452 * libspi/registry.c (impl_registry_notify_event): ditto.
4454 * libspi/eventlistener.c
4455 (impl_accessible_event_notify_event): unref the source.
4457 * libspi/accessibleeventlistener.c
4458 (impl_accessible_event_notify_event): unref the source.
4460 * idl/Event.idl: remove 'hash_id' attribute - of no
4463 * libspi/application.c (notify_listeners): upd list
4465 (spi_application_object_event_listener),
4466 (spi_application_toolkit_event_listener): upd to do correct
4470 (_registry_notify_listeners): update.
4471 (parse_event_type): this method also leaks like a sieve.
4472 (impl_accessibility_registry_deregister_global_event_listener):
4473 fix ETYPE_WINDOW case.
4475 * libspi/application.c
4476 (impl_accessibility_application_register_object_event_listener):
4479 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
4481 * libspi/hypertext.c (impl_getLink): ditto.
4483 * cspi/spi_main.c (cspi_object_add): remove
4484 bogus CORBA_Object_duplicate.
4486 * cspi/spi-listener-impl.c (cspi_event): dup/ref
4489 * cspi/spi_accessible.c
4490 (Accessible_getRelationSet): fix leak / referencing issue.
4492 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
4493 (cspi_object_add, cspi_object_unref): upd.
4494 (spi_object_release, get_live_refs): impl.
4495 (cspi_cleanup): simplify.
4497 * *.[ch]: s/boolean/SpiBoolean/
4499 * cspi/spi_accessible.c (role_names): actualy order so it
4500 corresponds with the enum !
4502 * test/test-simple.c (test_roles): check some role strings
4503 vs. enums to detect offset errors.
4505 2001-12-01 Michael Meeks <michael@ximian.com>
4507 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
4509 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
4511 (Accessible_getChildAtIndex): use cspi_add_check so we
4512 check the ev before using a (possibly) invalid value.
4514 * libspi/accessible.c
4515 (impl_accessibility_accessible_get_parent): don't segv
4518 * at-bridge/bridge.c (gtk_module_init): upd.
4519 (bridge_property_event_listener): don't leak strings
4521 (bridge_state_event_listener),
4522 (bridge_property_event_listener): don't use a static
4523 buffer in case of recursive event emission &
4524 re-enterancy - split out the swathe of cut and paste
4526 (emit_eventv): and fix 2 ref leaks here & comply to the
4528 (bridge_register_app): rename to
4529 (bridge_idle_init): this and kill arg parsing, split
4530 various inits & bonobo-activation registration to module
4531 init time, kill referencing error.
4532 (bridge_exit_func): fix the same leak.
4533 (bridge_focus_tracker): don't leak event structures
4535 (bridge_signal_listener): more leakage and cut & paste
4537 (bridge_key_listener): return the result - FIXME is
4538 this polarity correct ?
4539 (accessibility_keystroke_from_atk_key_event): rename
4540 (accessibility_init_keystroke_from_atk_key_event): and stop
4542 (gtk_module_init): return a value - not that it is checked by
4544 (bridge_key_listener): register my horror at casting between
4545 IDL defined structs.
4546 (bridge_get_registry): kill - not used.
4548 * cspi/spi_accessible.c (Accessible_getRole): make return const.
4550 * test/test-simple.c (test_roles): impl.
4551 (test_desktop, validate_accessible, validate_tree): impl.
4553 * cspi/spi_accessible.c (role_names): fixup bogus
4554 MAX_ROLES setup, make constants const for efficient linkage
4555 (AccessibleRole_getName): conform to coding style, make
4558 2001-11-30 Michael Meeks <michael@ximian.com>
4560 * cspi/spi.h: add missing prototype.
4562 * libspi/registry.c (spi_listener_struct_new): fix sig.
4564 * test/Makefile.am: add test-simple
4566 * test/test-simple.c: add
4568 * test/test.sh: add.
4570 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
4572 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
4573 do it straight - since otherwise we often get an activation race.
4575 [ work before Bill duplicated a chunk of it ... ]
4576 2001-11-30 Michael Meeks <michael@ximian.com>
4578 * libspi/keystrokelistener.c
4579 (spi_keystroke_listener_class_init): fixup arg
4582 * libspi/eventlistener.c
4583 (spi_event_listener_class_init): ditto.
4585 * tests/test.sh: add.
4587 * cspi/spi-listener-impl.h: update macros.
4589 * cspi/spi-listener-impl.c
4590 (cspi_event_listener_remove_callback): add
4591 correct pre-conditions.
4593 * cspi/spi_main.c (SPI_exit): guard vs. double
4594 exits, exit the mainloop nicely.
4595 (SPI_event_main): make more sense.
4596 (SPI_init): move the atexit evilness here so we
4597 always do it (yuck).
4598 (SPI_event_main): upd.
4600 * test/simple-at.c: update for listener changes.
4602 * registryd/registryd.c (main): prune kruft.
4604 * libspi/libspi.h: upd.
4606 * libspi/eventlistener.[ch]: rename broken macros.
4608 * libspi/accessibleeventlistener.[ch]: remove.
4610 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
4612 * test/test-simple.c: Add - automated tests.
4614 * cspi/spi-listener-impl.c (cspi_event),
4615 (cspi_key_event): add user_data to invoke.
4616 (cspi_keystroke_listener_finalize): impl.
4617 (cspi_keystroke_listener_class_init): upd.
4620 (createAccessibleEventListener),
4621 (AccessibleEventListener_addCallback),
4622 (createAccessibleKeystrokeListener),
4623 (AccessibleKeystrokeListener_addCallback): upd.
4625 * libspi/deviceeventcontroller.c
4626 (spi_device_event_controller_check_key_event): add public proto.
4629 (impl_accessibility_registry_deregister_global_event_listener):
4630 always init listeners.
4631 (_registry_notify_listeners): yes it is.
4633 * cspi/spi-listener-impl.c (cspi_key_event):
4635 (cspi_event_listener_finalize): impl.
4636 (cspi_event_listener_class_init): hook up.
4637 (event_handler_new, event_handler_free),
4638 (event_list_remove_by_callback): impl.
4639 (cspi_event_listener_remove_callback),
4640 (cspi_keystroke_listener_remove_callback),
4641 (cspi_keystroke_listener_add_callback),
4642 (cspi_event_listener_add_callback): upd.
4644 * libspi/keystrokelistener.c
4645 (keystroke_listener_object_finalize): kill
4646 (spi_keystroke_listener_class_init): upd.
4647 (spi_keystroke_listener_add_callback),
4648 (spi_keystroke_listener_remove_callback): kill,
4650 (impl_key_event): prune drasticaly.
4652 * libspi/eventlistener.c
4653 (spi_event_listener_add_callback),
4654 (spi_event_listener_remove_callback): kill, use
4656 (impl_accessible_event_notify_event): upd.
4657 (spi_event_listener_object_finalize): remove.
4659 * libspi/Makefile.am: use eventlistener.[ch]
4661 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4663 * libspi/registry.c (_registry_notify_listeners):
4664 Changed listener loop iteration to use preferred convention.
4665 Got rid of string memory leaks caused be calling g_strconcat
4666 inside function calls.
4668 * libspi/registry.c (parse_event_type):
4669 Stopped g_strconcat memory leaks, free the g_strsplit return,
4670 g_strdup the split pieces when used, etc.
4672 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4675 Change method 'compare' to return a 'difference set' rather than
4676 taking a StateSet as an out parameter (more Java-friendly).
4678 * idl/Accessible.idl:
4679 Added CORBA struct 'BoundingBox', to faciliate API changes below:
4681 * idl/Component.idl:
4683 Changed methods 'getExtents' and 'getImageExtents' in these
4684 interfaces to return a BoundingBox structure.
4685 (getPosition and getSize are redundant and possibly should be
4686 removed, rather than creating a corresponding Point struct.)
4688 * cspi/spi_component.c:
4689 Modify implementation of getExtents to reflect the above IDL
4694 Add (missing) AccessibleImage_getExtents () API.
4696 * docs/reference/cspi/at-spi-cspi-sections.txt:
4697 Added AccessibleImage_getImageExtents () to docs.
4699 2001-12-03 Bill Haneman <bill.haneman@sun.com>
4701 * idl/Component.idl:
4702 Added two methods, getLayer () and getMDIZOrder (), to reflect
4703 the new ATK methods atk_object_get_layer and
4704 atk_object_get_mdi_z_order. (Which arguably should be part of the
4705 AtkComponent API and AtkObject). Also added an enum,
4706 ComponentLayer, for the first method's return value.
4708 * libspi/component.c:
4709 Added implementations for these methods.
4711 * cspi/spi_component.c:
4713 Added cspi binding methods for above,
4714 AccessibleComponent_getLayer() and
4715 AccessibleComponent_getMDIZOrder().
4716 Added cspi enum 'AccessibleComponentLayer'.
4718 * docs/reference/cspi/at-spi-cspi-sections.txt:
4719 Added above methods to docs.
4723 Changed typedef for 'boolean' type (and all references to it) to
4724 SPIBoolean, to avoid keyword clashes with C++.
4727 Changed usages of 'boolean' to SPIBoolean.
4729 * test/keysynth-demo.c:
4730 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
4731 app), except where SPIBoolean is required by the callbacks API.
4733 2001-12-02 Bill Haneman <bill.haneman@sun.com>
4735 * cspi/spi_registry.c:
4736 Removed obsolete X event loop for passive keygrabs (which now
4739 * registryd/registryd.c:
4740 Removed unnecessary call to gdk_init() [cruft]. This also allows
4741 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
4744 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4746 * docs/reference/cspi:
4747 Included docs for SPI_freeString in generated documentation.
4750 Renamed spi_freeString to SPI_freeString, for consistency. Added
4751 documentation for this function.
4754 Renamed spi_freeString to SPI_freeString, for consistency.
4755 Removed obsolete method declaration string_from_corba_string.
4757 * test/keysynth-demo.c:
4758 Small tweak to comments.
4761 Stopped leaking the strings returned from CSPI.
4763 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4765 Merged Michael's branch (see his ChangeLog entries below).
4767 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
4768 bridge is alive, release on exit.
4770 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
4771 Fix type check macro.
4774 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
4777 Added is_gnome_app static, and method cspi_is_gnome_app(),
4778 so we can call the appropriate shutdown routine at exit in SPI_exit.
4780 * cspi/spi_main.c (cspi_object_ref):
4781 Duplicate the corba object passed in, since we're keeping it around.
4783 * cspi/SPI_exit.c, cspi_cleanup:
4784 Moved the releasing of the live refs to its own function, so we
4785 can put it in g_atexit (). Call the appropriate shutdown API
4786 depending on whethe calling client is a gnome app or not
4787 (bonobo_main_quit or CORBA_ORB_shutdown).
4789 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
4790 Unref the listener when this method is called, after
4791 deregistration. Updated the API docs to note this behavior.
4793 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
4794 Bugfixes: Ref the bonobo object when returning a parent or child
4795 reference, or an AccessibleRelation. Generally made sure
4796 BonoboObject refcount is incremented whenever we return an
4799 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
4800 Fixed typo/bug in signal declaration.
4802 * libspi/accessibleeventlistener.h:
4805 * libspi/application.c (spi_application_new):
4806 Fixed leak in initialization.
4809 Remembered to increment bonobo-object refcount when returning
4810 children (applications) from desktop object.
4811 Added (empty) finalize method.
4813 * libspi/deviceeventcontroller.c:
4814 Hold a ref to listeners inside DEControllerKeyListeners.
4815 Added dec_key_listener_free() method. Use prepend instead of
4816 append in key_listener list. Fixed some refcount madness and
4817 leaks in the listener registration/deregistration - deregistration
4818 now calls dec_key_listener_free() on listeners, and on the
4819 temporarily constructed dec_key_listener() used to perform the search/match.
4821 * libspi/hypertext.c (spi_hypertest_finalize):
4822 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
4823 class. Also fixed spi_hypertext_interface_new() and
4824 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
4826 * libspi/hypertext.h:
4827 Removed pointless and duplicate AtkObject pointer from
4830 * libspi/keystrokelistener.c:
4831 Fixed incorrect type of keystroke_listener_parent_class,
4832 renamed keystroke_listener_object_finalize to
4833 spi_keystroke_listener_object_finalize.
4834 Fixed typo in signal declaration
4835 (spi_keystroke_listener_class_init).
4837 * libspi/registry.c:
4838 Added funcsions spi_listener_struct_new() and
4839 spi_listener_struct_free() to help with memory management issues.
4840 We also now use these methods instead of gnew + poking stuff into
4841 the struct, and to decrement listener counts/free the listeners
4842 when deregistering them.
4843 Fix more refcount bugs in getDesktop() and
4844 getDeviceEventController().
4847 De-ref the desktop after enumerating the applications. Explicitly
4848 decrement the refcounts on the created listeners on exit (using
4849 _unref for keystroke listeners, and via the
4850 deregisterGlobalEventListenerAll command for other event
4853 2001-11-27 Michael Meeks <michael@ximian.com>
4855 * cspi/spi-listener.h: fixup enum.
4857 2001-11-27 Michael Meeks <michael@ximian.com>
4859 * cspi/spi-listener-impl.c (cspi_event_listener_new),
4860 (cspi_keystroke_listener_new): Use the cspi variants.
4862 2001-11-26 Michael Meeks <michael@ximian.com>
4864 * test/keysynth-demo.c: fix 2 compile warnings, missing
4867 * test/simple-at.c (report_focussed_accessible),
4868 (report_focus_event, report_button_press),
4869 (check_property_change, is_command_key),
4870 (report_ordinary_key_event, report_command_key_event): upd.
4872 * util/mag_client.h: include pre-requisites.
4874 * libspi/accessibleeventlistener.c
4875 (spi_event_listener_object_finalize): free any lingering
4878 * libspi/keystrokelistener.c
4879 (keystroke_listener_object_finalize): ditto.
4881 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
4882 callbacks, with cspi types.
4884 * cspi/spi_event.c (createAccessibleEventListener): chain to
4885 (AccessibleEventListener_addCallback): here.
4886 (createAccessibleKeystrokeListener): chain to
4887 (AccessibleKeystrokeListener_addCallback): here.
4889 * libspi/keystrokelistener.c
4890 (spi_keystroke_listener_class_init): add signal.
4891 (impl_key_event): emit the event.
4892 (boolean_handled_accumulator): impl.
4893 (marshal_BOOLEAN__POINTER): add, gack.
4895 * libspi/accessibleeventlistener.c
4896 (spi_event_listener_class_init): add signal.
4897 (impl_accessible_event_notify_event): emit the signal &
4898 make the loop efficient.
4899 (spi_event_listener_add_callback): prepend the callback.
4901 * libspi/accessibleeventlistener.h: add an 'event' signal,
4902 decl type on callback.
4904 * libspi/keystrokelistener.h: ditto.
4906 * cspi/spi-listener.h: make methods typesafe and
4907 make them use the new event typedefs.
4909 * test/simple-at.c (report_focussed_accessible):
4910 include mag_client.h
4911 Use *(void *)text_interface not the other thing.
4913 * configure.in: add gtk to registryd bits - since we use
4916 * util/magnifier.c: include libbonobo.h
4918 2001-11-25 Bill Haneman <bill.haneman@sun.com>
4920 * test/keysynth-demo.c:
4921 Turned this into a simple scanning keyboard, to demonstrate the
4922 use of g_timeout_add () as a means of creating timers for
4923 scanning, and the use of GtkStyle for visually indicating when
4924 virtual keyboard elements are selected.
4926 keysynth-demo now listens to any keyboard keys with zero-valued
4927 keycodes (i.e. 'unused' keys) and interprets them as
4930 Reworked the shiftlatch code so that shift-down state isn't held
4931 for long periods (it's only synthesized immediately prior to
4932 the keysynth event it's modifying). Note that shiftlatch in this
4933 demo is a convenience, not intended to take the place of AccessX
4934 which is the better choice for getting 'sticky' modifier keys.
4936 * libspi/deviceeventcontroller.c:
4937 * at-bridge/bridge.c:
4938 * cspi/spi_registry.c:
4939 Removed some debug print stuff, and put other verbosity in #ifdef
4944 Implemented some more of the magnifier IDL for the simple
4945 magnifier: namely, getZoomRegionParams.
4946 Added mag_x and mag_y members to MagnifierData struct, aid of this
4948 Added GtkWindow::realize signal handler to magnifier, to keep it
4949 from receiving keyboard focus from the WM.
4951 2001-11-23 Mark McLoughlin <mark@skynet.ie>
4953 * cspi/spi-private.h: my guess at what michael forgot
4954 before he ran off to NZ :-)
4956 2001-11-23 Michael Meeks <michael@ximian.com>
4958 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
4959 comment out non existant method invoke so we link.
4961 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
4962 use bonobo_exception_get_text for more friendly warnings.
4964 * cspi/spi.c (Obj_Add): move into spi_main & rename
4965 spi_object_add; kill spi.c
4967 * cspi/spi_registry.c
4968 (deregisterGlobalEventListener),
4969 (deregisterGlobalEventListenerAll),
4970 (registerGlobalEventListener): fix exception leaks.
4972 * cspi/spi_main.c (spi_exception): impl. helper, so we
4973 don't leak exceptions.
4975 * cspi/spi_selection.c
4976 (AccessibleSelection_deselectSelectedChild): return the
4979 * cspi/spi_main.c (spi_ev): impl; hack - gack.
4980 (spi_registry): ditto.
4981 (SPI_init): guard against double inits.
4983 * cspi/*.c: use spi_ev (), and spi_registry () where
4984 appropriate - a temporary hack until we have something
4985 better. Use spi_object_add
4987 2001-11-22 Michael Meeks <michael@ximian.com>
4989 * cspi/Makefile.am: re organise, install the headers.
4991 * cspi/*.h: add G_BEGIN/END_DECLS
4993 2001-11-22 Bill Haneman <bill.haneman@sun.com>
4996 Added non-preemptive keylistener for key events with no modifiers
4997 and shift-only modifier.
4999 * libspi/keystrokelistener.c:
5000 Removed some verbose diagnostics printout.
5002 * cspi/spi_registry.c:
5003 Fixed a bug that caused all key listeners to be registered as
5006 * libspi/deviceeventcontroller.c:
5007 Fixed bug that caused XGrabKey (preemptive key grab) to be called
5008 for non-preemptive key masks.
5011 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5013 * docs/reference/idl/at-spi-idl-docs.sgml:
5014 * docs/reference/idl/at-spi-idl-sections.txt:
5015 * docs/reference/idl/at-spi-idl-overrides.txt:
5016 Added missing files.
5018 * docs/reference/Makefile.am:
5019 removed idl from SUBDIRS until we can figure a way to get gtk-doc
5020 to scan the IDL files :-(
5025 Added .cvsignore files.
5027 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5029 * libspi/deviceeventcontroller.c:
5030 * libspi/keystrokelistener.c:
5032 * cspi/spi_registry.c:
5033 Added filters for KeySets, KeyEventSeq, and event types to key
5034 event dispatching, so listeners should only receive those events
5035 that they requested :-)
5037 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5042 * docs/reference:Makefile.am:
5043 * docs/reference/cspi:
5044 * docs/reference/cspi:Makefile.am:
5045 * docs/reference/cspi:tmpl:
5046 * docs/reference/cspi:tmpl:*.sgml:
5047 * docs/reference/idl:
5048 * docs/reference/idl:Makefile.am:
5049 * docs/reference/idl:at-spi-idl-sections.txt:
5050 * docs/reference/idl:at-spi-idl-docs.sgml:
5051 * docs/reference/idl:tmpl:
5052 * docs/reference/idl:tmpl:*.sgml:
5054 Restructured docs directory to allow separate 'reference' docs
5055 section, and forked idl and cspi docs. Added the sgml template
5056 files to CVS. Added the first sections/structural sgml for the
5059 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
5061 * configure.in, libspi/Makefile.am: find libXtst.
5063 2001-11-21 Michael Meeks <michael@ximian.com>
5065 * test/accessx-gui.c: s/spi_value/value/ - doh.
5067 * libspi/base.[ch]: add.
5069 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5071 * idl/Accessible.idl:
5072 * idl/Application.idl:
5075 Started gtk-doc cleanup on IDL.
5077 * libspi/deviceeventcontroller.c:
5078 Added and connected non-preemptive key notification from the
5079 toolkits (in addition to the pre-emptive support from XServer
5080 which we had before, but which causes 'focus flashing'). Filters
5081 are presently limited to key modifiers and global/non-global,
5082 KeySets are presently ignored, as are KeyEvent masks.
5084 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
5085 structs into the persistant structure rather than just storing
5086 pointers to things that might not persist across servant
5089 The XGrabKey call now does async keygrabs, because synchronous
5090 ones were deadlocking with GDK_event code in a very nasty way.
5092 Added boolean to internal method notify_keylisteners, to indicate
5093 whether the event came from the 'toolkit source' or the 'global
5094 (XServer) source' - this is used in the notification process to
5095 determine which listeners to send the event to.
5097 deviceeventcontroller.c is now warning-free.
5099 * libspi/registry.c:
5100 Fixed regression in application de-registration.
5101 Also fixed some really brain-dead weirdness having to do with
5102 event dispatching - event structs are now duplicated before being
5103 re-marshalled in the dispatch to listeners. This also fixes a
5104 Solaris build problem.
5107 2001-11-20 Michael Meeks <michael@ximian.com>
5110 (impl_accessibility_registry_deregister_global_event_listener):
5113 * libspi/deviceeventcontroller.c
5114 (spi_device_event_controller_check_key_event): return
5115 FALSE on no virtual method.
5117 * libspi/*..h: make includes work on a correctly pathed install.
5119 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
5121 * libspi/application.h: kill unused ( and whacked out )
5122 gboolean *spi_application_set_id (AtkObject *app, long id);
5124 2001-11-20 Michael Meeks <michael@ximian.com>
5126 * libspi/*.[ch]: further convert to bonobo's type func
5127 macros, remove redundnant casts etc.
5129 * libspi/text.c s/accessibility_text/spi_text/g,
5130 re-order to de-cruft.
5132 * libspi/hypertext.c: re-order to kill a huge slew
5133 of redundant forward decls.
5135 * libspi/relation.c: ditto.
5137 * libspi/image.c: ditto.
5139 * */.cvsignore: update
5141 2001-11-20 Michael Meeks <michael@ximian.com>
5143 * libspi/deviceeventcontroller.c
5144 (_controller_register_with_devices): use g_getenv,
5145 kill stdlib.h include.
5147 * libspi/keystrokelistener.c
5148 (spi_keystroke_listener_get_type): kill
5149 (spi_keystroke_listener_class_init),
5150 (spi_keystroke_listener_init): rename to this.
5152 * libspi/text.c (impl_getAttributes): fix warning / bug.
5154 * libspi/*.[ch]: more headers, includes and over commenting.
5156 2001-11-20 Michael Meeks <michael@ximian.com>
5158 * libspi/*.[ch]: fixup headers, includes and over commenting.
5160 * libspi/image.c (impl__get_imageDescription): const
5161 correctness warning fix. remove redundant casting.
5163 * libspi/table.c (impl_getRowDescription): ditto.
5164 (impl_getColumnDescription): ditto.
5166 * libspi/libspi.h: add.
5168 2001-11-19 Michael Meeks <michael@ximian.com>
5170 * libspi/editabletext.c (impl_setAttributes): fix warnings.
5172 * libspi/component.c (accessibility_component_get_type):
5173 rename to (spi_component_get_type): and macroify.
5174 (accessibility_component_init): rename to
5175 (spi_component_init): this
5176 (accessibility_component_class_init): rename to
5177 (spi_component_class_init): this
5179 * libspi/action.c (spi_action_get_type): kill, use the macro.
5181 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
5184 * libspi/application.c (spi_application_object_event_listener),
5185 (impl_accessibility_application_register_object_event_listener):
5186 warning fixes / const understanding updates.
5188 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
5191 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5193 * libspi/spi_accessible.c: Added docs and C bindings for
5194 AccessibleStateSet. (No implementations yet). Documentation
5195 coverage for C bindings now 100%. Made docs for event listeners
5200 boolean notifyListenersSync (in DeviceEventListener listener,
5201 in DeviceEvent event);
5203 oneway void notifyListenersAsync (in DeviceEventListener listener,
5204 in DeviceEvent event);
5206 Added DeviceEventListener and DeviceEvent structs (may deprecate
5207 KeyStroke and KeystrokeListener in favor of this generic
5208 event/listener framework for devices).
5210 * libspi/deviceeventcontroller.c:
5212 Changed some key listener code to take masks, etc., and paved the
5213 way for integration of toolkit/non-preemptive key events. Changed
5214 signatures of some internal methods.
5216 * at-bridge/bridge.c:
5217 Fixed regression connecting to interface signals, apparently
5218 caused by GTK+ changes.
5220 Added an internal bridge_state_listener to deal with
5221 property-change:accessible-state signals.
5223 Changed the key_listeners GList to store structs (including masks,
5224 etc.) instead of just CORBA_Objects (required for full
5225 implementation of key listener API).
5227 Connected the bridge to all currently supported Atk signals.
5228 Events now supported:
5229 object:property-change
5230 object:property-change:accessible-name
5231 object:property-change:accessible-state
5232 object:property-change:accessible-description
5233 object:property-change:accessible-parent
5234 object:property-change:accessible-value
5235 object:property-change:accessible-role
5236 object:property-change:accessible-table-caption
5237 object:property-change:accessible-table-column-description
5238 object:property-change:accessible-table-column-header
5239 object:property-change:accessible-table-row-description
5240 object:property-change:accessible-table-row-header
5241 object:property-change:accessible-table-summary
5242 object:children-changed
5243 object:visible-data-changed
5244 object:selection-changed
5245 object:text-selection-changed
5247 object:text-caret-moved
5249 object:row-reordered
5251 object:column-inserted
5252 object:column-reordered
5253 object:column-deleted
5254 object:model-changed
5256 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5258 * libspi/hyperlink.c,h:
5259 Fixed some broken stuff in hyperlink.
5261 * libspi/relation.h:
5262 * libspi/relation.c:
5263 * cspi/spi_accessible.c:
5264 Initial implementations of AccessibleRelation methods, and docs.
5266 * libspi/accessible.c:
5267 Fixed a bug that caused SEGV if an accessible
5268 object's description is NULL, and a client
5269 requests it. An empty string is now returned.
5271 * cspi/spi_editabletext.c:
5272 * cspi/spi_hypertext.c:
5274 * cspi/spi_hyperlink.c:
5278 Doc coverage now 95%.
5280 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5282 One last namespacing revision:
5283 * libspi/accessibleeventlistener.[ch]:
5284 Renamed SpiAccessibleEventListener to SpiEventListener,
5285 (no need for two namespaces ;-)
5287 And lots of documentation fixes:
5289 * docs/at-spi-docs.sgml:
5290 Fixed 'underscore vs. hyphen' bug that was preventing
5291 the gtk-doc API docs from being automatically generated.
5294 * cspi/spi-listener.h
5296 * cspi/spi_accessible.c
5298 * cspi/spi_application.c
5299 * cspi/spi_component.c
5300 * cspi/spi_editabletext.c
5302 * cspi/spi_hypertext.c
5304 * cspi/spi_registry.c
5305 * cspi/spi_selection.c
5309 * docs/at-spi-docs.sgml
5310 * docs/at-spi-sections.txt
5312 Added and fixed up gtk-doc documentation in cspi.
5314 Interfaces now (fully) documented (subject to revision and enhancement):
5316 Event Listener Support
5318 AccessibleApplication
5322 AccessibleEditableText
5329 AccessibleRelationSet
5334 2001-11-14 Bill Haneman <bill.haneman@sun.com>
5336 * at-bridge/bridge.c:
5337 Initial work for toolkit-level key snooper connection by bridge.
5342 New typedefs and fixes to support new namespacing, and cleaner
5343 separation of cspi bindings from libspi bonobo implementation.
5344 Removed inconsistent and extraneous Spi* namespace prefix that
5345 had crept into cspi headers.
5346 Lots of comment fixes that sed had missed.
5348 * cspi/spi-roletypes.h:
5349 * cspi/spi-statetypes.h:
5350 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
5351 to AccessibleRoleType.
5353 * libspi/accessibleeventlistener.h:
5354 Fixed minor namespacing weirdness.
5356 * libspi/deviceeventcontroller.c:
5357 Reordered some internal API for device listeners.
5358 Changed the key registry final boolean to 'is_system_global'
5359 rather than 'is_synchronous', which is more descriptive of its
5361 Added spi_device_event_controller_new().
5362 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
5364 * libspi/keystrokelistener.[ch]:
5365 Namespaced KeystrokeListener to SpiKeystrokeListener.
5366 Changed uses of keymasks to use SPI_ prefix, and did other
5369 * libspi/keymasks.h:
5370 Namespaced keymask constants with SPI_ prefix.
5372 * libspi/registry.c:
5373 Some warning fixes, and knock-on fixes from namespace changes.
5376 Added rules for accessx-gui test program.
5378 * test/accessx-gui.c:
5379 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
5380 utility. It doesn't actually use at-spi, but it's still cool and
5383 * test/keysynth-demo.c:
5387 Fixes so that these test clients work properly with the namespaced
5388 libraries. (Incompletely tested for technical reasons, fixes may follow)
5391 2001-11-13 Michael Meeks <michael@ximian.com>
5393 * libspi/application.c
5394 (impl_accessibility_application_get_version),
5395 (impl_accessibility_application_get_toolkit_name):
5397 (impl_accessibility_application_set_id),
5398 (impl_accessibility_application_get_id): remove
5399 redundant casting code.
5401 * libspi/action.c (impl_getDescription): fix warnings.
5403 * libspi/accessible.c
5404 (impl_accessibility_accessible_get_parent),
5405 (impl_accessibility_accessible_get_child_at_index),
5406 (impl_accessibility_accessible_get_state),
5407 (impl_accessibility_accessible_get_relation_set):
5408 warning fixes & include action.h
5410 2001-11-13 Michael Meeks <michael@ximian.com>
5412 * *.[ch] fix bits I screwed up:
5414 s/([^ \tb(\*\&\?\",])spi_/\1/g;
5415 s/([^ \tb(\*\&\?\",])Spi/\1/g;
5417 2001-11-13 Michael Meeks <michael@ximian.com>
5419 * *.[ch] Namespace libspi into spi_ and Spi.
5421 2001-13-11 Michael Meeks <michael@ximian.com>
5423 * Makefile.am: dist & install at-spi-1.0.pc
5425 * libspi/Makefile.am: install into at-spi-1.0
5427 * idl/Makefile.am (idldir): install into at-spi-1.0
5429 * at-spi-1.0.pc.in: add.
5431 * configure.in: build it.
5433 2001-11-12 Bill Haneman <bill.haneman@sun.com>
5435 * test/keysynth-demo.c:
5436 Use a 'realize' signal-handler to set the WM properties for
5437 the virtual keyboard, rather than making it a "POPUP" type
5438 override-redirect window (thanks to anders carlsson for that
5441 2001-11-11 Bill Haneman <bill.haneman@sun.com>
5444 * test/keysynth-demo.c:
5445 Added new test of key synthesis, which creates a simple
5446 (mouse-operated) onscreen keyboard. It inserts key events into
5447 the currently-focused window, thus it does not grab keyboard focus
5450 * cspi/spi_registry.c:
5451 Added C binding for AT-SPI generateKeyEvent.
5453 * libspi/deviceeventcontroller.c:
5454 Added call to XFilterEvent so that key listener works with XIM (we
5455 hope). Added event_synth_type to generateKeyEvent, so that we can
5456 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
5457 synthesize a press/release pair for KeySyms.
5459 2001-11-09 Bill Haneman <bill.haneman@sun.com>
5461 * libspi/Makefile.am:
5462 * registryd/Makefile.am:
5463 (temporary) hack to include libXtst in libspi and registryd.
5464 (Needed for keystroke synthesis, see below).
5467 Improved API for registerKeystrokeListener, in accordance with
5468 discussions with Gnopernicus team and X server research.
5470 * libspi/registry.c:
5471 * libspi/deviceeventcontroller.c:
5472 * libspi/accessible.c:
5473 * libspi/keystrokelistener.c:
5474 Changes and fixes to support keylisteners for potentially
5475 consumed key events (that is, 'passive grabs').
5476 Added implementation for generateKeyEvent() [untested].
5479 Changes to registerKeystrokeListener() API, as above.
5480 Added deregisterGlobalEventListenerAll(), and
5481 deregisterKeystrokeListener(), which are needed for clean exit of
5483 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
5484 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
5486 * cspi/spi_registry.c:
5487 Added implementations of function prototypes mentioned above.
5489 * registryd/registryd.c:
5490 Added the key listener event source as a g_timeout(), to allow
5491 receipt of key events that are not caught by GDK (since GDK
5492 doesn't support passive keygrabs, this was necessary).
5495 Changed to attach a keylistener to 'Alt' keys, and
5496 respond to the following keycommands: Alt-M (toggle magnifier);
5497 Alt-F (toggle speech); Alt-Q (quit).
5498 Added an exit routine to deregister the listeners, and a key
5499 listener that prints some key info to the console when a key
5500 matches the listener mask (and is thus received by the listener).
5502 * util/idl/Magnifier.idl:
5503 Changes to magnifier API to support multiple zoom regions,
5504 non-uniform scaling in x and y, markDirty, and a host of other
5505 features that would be useful to magnification.
5508 * util/mag_client.c:
5509 * util/mag_client.h:
5510 * util/mag_control.c:
5512 Source code changes to support the above IDL changes.
5515 As above, and also changes to use a (slower) generic conversion
5516 path for colormap conversions, since the fast RGB conversions have been
5517 reported to fail for 16-bit displays.
5519 2001-10-26 Michael Meeks <michael@ximian.com>
5521 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
5523 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
5525 * at-bridge/Makefile.am: fix LDFLAGS.
5527 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5529 * at-bridge/bridge.c:
5530 Re-worked listeners for toolkit events, now we have signal
5531 and property listeners. Added a private method
5532 register_atk_event_listeners(), which registers with the
5533 various atk and gtk signals we need to monitor in order to emit
5535 Added emission hook for AtkObject:property-change events, to
5536 support the 'property listeners'.
5537 Fixed some alloc()s of Accessibility_Event structs to use CORBA
5540 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
5541 which emit warnings and exit, respectively, if CORBA errors occur
5542 during remote calls, and we now use these methods to check most of
5543 our CORBA calls in the C bindings.
5545 * cspi/spi_accessible.c:
5546 Changed AccessibleSelection_refSelectedChild() to
5547 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
5548 now increment refcounts.
5550 * cspi/spi_component.c:
5551 Fixed some long pointer casts (dangerous!) to pass pointers to
5552 CORBA_longs of the proper type to the CORBA stubs, and copy the
5553 data into the longs that were passed into the C bindings code.
5555 * at-bridge/bridge.c:
5557 * libspi/accessible.c:
5558 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
5559 hyperlinks, AtkHyperlink is an object type.
5561 * libspi/application.c:
5562 Added various conversions to and from "generic" event types and
5563 atk-specific types; this is really part of the 'bridge'
5564 implementation but is valid for all AtkObject-based accessibility
5567 * libspi/editabletext.c:
5568 Fixed nasty bug wherein editable text's finalize method was
5569 unref'ing tha AtkObject reference that the text parent class was
5570 about to unref _again_. There was also a nasty inheritance bug
5571 that meant that the AccessibleEditableText class was corrupt.
5573 * libspi/selection.c:
5574 Provided implementations for some selection API that was broken.
5576 * idl/Application.idl:
5577 Added registerObjectEventListener () method.
5580 Fixed a number of return values that were Bonobo_Unknowns from
5581 bonobo_object_corba_objref(), which I
5582 forgot to dup before returning. Changed instances of
5583 bonobo_object_corba_objref (bonobo_object(o)) to
5584 BONOBO_OBJREF(o), for concision and clarity.
5586 2001-10-13 Louise Miller <louise.miller@sun.com>
5588 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
5589 idl/Event.idl, idl/Registry.idl
5590 Changed these files to include Bonobo_Unknown.idl instead
5593 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
5595 * libspi/component.c libspi/component.h:
5596 Fixed typo. Added assertions for object checks in
5597 AccessibleComponent code.
5599 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5601 * idl/Accessible.idl:
5602 Added 'isEqual (Accessible *object)'
5603 method for Accessible. (Not Yet Implemented).
5606 Changed signature of registerKeystrokeListener() to
5607 take a KeySet and KeyEventSeq so that specific keys and event
5608 types could be requested for monitoring, and added a flag
5609 is_synchronous so that either synchronous or asynchronous
5610 notification could be requested. (However this is not all
5611 implemented yet). This also meant adding two new typedefs,
5612 KeyEventSeq and KeySet.
5615 Added two new relations, RELATION_TOOLTIP_FOR and
5616 RELATION_LEAFNODE_OF.
5619 Added new state, STATE_HAS_TOOLTIP.
5621 * libspi/text.c, editabletext.c:
5622 Added new assertions to all casts of bonobo-objects from
5623 CORBA servants, to prevent Text API calls on non-text objects.
5624 Changed suspect casts of int-pointer types, so that we
5625 always send a valid CORBA_long pointer to the CORBA APIs that use
5626 in/out long parameters. We then have to copy from the CORBA_long
5627 into the regular long or int for return to the C bindings, or
5628 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
5631 * libspi/deviceeventcontroller.c:
5632 Cleaned these sources up.
5634 Changed return type for getCharacterAtOffset to
5635 CORBA_unsigned_long, to allow for 32-bit characters.
5638 2001-10-08 Bill Haneman <bill.haneman@sun.com>
5642 Fixed 'make dist' so that distro compiles...
5643 * libspi/keymasks.h:
5645 * cspi/spi-listener.c:
5646 KeystrokeListenerCB now returns a boolean.
5648 Added KeyEventType struct, and KeyStroke.
5649 Also added createKeystrokeListener(),
5650 KeystrokeListener_addCallback(),
5651 KeystrokeListener_removeCallback(), and added a keymask to
5652 registerKeystrokeListener().
5653 * cspi/spi_accessible.c:
5654 Changed numerous return types for interfaces from
5655 AccessibleComponent to Accessible<InterfaceName>; this was
5656 probably a cut-and-paste error.
5658 Implementations of new KeystrokeListener api (from spi.h,
5661 Changes to key modifier mapping.
5662 Created ControllerEventMask struct.
5663 Made DeviceEventController derive from Bonobo::Unknown.
5665 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
5666 * libspi/deviceeventcontroller.c:
5667 Added a number of new internal (private) methods.
5668 * libspi/editabletext.c:
5669 * libspi/editabletext.h:
5670 Fixed a number of bugs related to the fact that
5671 editabletext inherits from text. Fixed the EditableText struct,
5672 the init() call, and use correct casts when calling Text methods
5673 from an EditableText object. Removed (duplicate) atko from the
5674 EditableText structure, we use the one in the parent Text
5675 structure via the casts mentioned above.
5676 * libspi/keystrokelistener.[ch]:
5677 * libspi/registry.c:
5678 Changes in support of keyboard handling (above).
5680 Keyboard handling, though partly functional, is still not
5681 recommended for at-spi client use as there is considerable
5682 work yet to be done.
5685 Changed some places where pointers to various int types
5686 are cast to be pointers to CORBA_long types and vice-versa:
5687 pointer casting is not safe so we pass pointers of the correct
5688 types and then cast the result before putting it into the target
5691 * libspi/text.h: minor typos corrected.
5693 We now speak not only the name of a Text element, but the
5694 first sentence of its content, when it receives focus.
5695 I also changed the text compression to 75% from 50%.
5696 * util/Accessibility_Util.server.in:
5697 Changed the default magnifier type to be a 3x vertical
5698 splitscreen magnifier (was previously a 2x horizontal one).
5700 2001-10-03 Bill Haneman <bill.haneman@sun.com>
5702 * libspi/keystrokelistener.h:
5703 * libspi/keystrokelistener.c:
5704 Initial functional implementations of KeystrokeListener.
5707 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
5709 Fixed string handling for NULL strings in libspi.
5710 Added spi_freeString to free strings returned by C bindings.
5712 2001-09-30 Bill Haneman <bill.haneman@sun.com>
5714 * libspi/keystrokelistener.h:
5715 * libspi/keystrokelistener.c:
5716 Began (no-op) implementations of KeystrokeListener
5718 * libspi/deviceeventcontroller.c:
5719 * libspi/deviceeventcontroller.h:
5720 Began creating implementations of DeviceEventController,
5721 to handle keystroke and mouse event listening and
5723 * libspi/accessible.c:
5724 Stubbed-in the implementations for
5725 Accessibility_Accessible_getState and
5726 Accessibility_Accessible_getRelationSet.
5727 * libspi/registry.c:
5728 Improved de-registration process and fixed some bugs,
5729 deregistration now works correctly.
5731 Added initialization of applications list (to NULL).
5733 Reduced speech compression from 0.5 to 0.7, for demo.
5734 Changed call to gdk_window_set_decorations()
5735 to gtk_window_set_decorated().
5736 * at-bridge/bridge.c:
5737 Bridge now deregisters when app exits, via
5738 registration of a cleanup function
5739 with the g_atexit() call.
5740 Required making 'app' static, renamed 'this_app'.
5741 Fixed broken use of bonobo_init, passing argv wrongly.
5743 2001-09-27 Bill Haneman <bill.haneman@sun.com>
5747 Created a new directory for
5748 accessibility-related utilities, primarily for
5749 testing and demo purposes, but with possible
5756 Onscreen magnifier utility that
5757 is implemented as a bonobo service.
5759 * util/mag_client.c:
5760 * util/mag_client.h:
5761 Client-side support (simple C bindings)
5762 for Magnification service
5764 * util/mag_control.c:
5765 Client program example for
5766 Magnification service
5768 * util/Accessibility_Magnifier.server.in:
5769 Bonobo-activation file for the
5770 Magnification service.
5773 * util/idl/Magnifier.idl:
5774 IDL defining the bonobo Magnification
5778 Modifications to use the bonobo-activated magnifier
5779 above, in place of trying to connect to an existing
5780 magnifier that uses socket-listening IPC.
5782 If env variable MAGNIFIER is set, a magnifier service
5783 will be started if one does not exist.
5785 2001-09-25 Bill Haneman <bill.haneman@sun.com>
5787 * at-bridge/bridge.c:
5788 applied patch from Marc to build and run
5789 against new glib and gtk+ (seemed like a change
5790 to bonobo_init signature was made ?)
5792 made festival-server support turned off by default.
5793 Added support for a simple magnifier (off by default)
5794 which will be added to a 'util' directory later.
5795 * at-bridge/Makefile.am:
5796 Changed "application.h" header from a 'source'
5797 to a 'dependency' of libat-bridge.
5799 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
5808 Added interface implementation c files to list of
5809 includes so they are included in libcspi.
5812 Changed prototype of AccessibleAction_doAction to return a
5814 Changed prototype of AccessibleTable_getCaption to
5815 return an Accessible.
5816 Changed prototype of AccessibleTable_getSelectedRows
5817 and AccessibleTable_getSelectedColumns to
5818 return a long (returns the number of selected rows
5819 or columns respectively).
5820 Changed name of AccessibleText_refRunAttributes to
5821 AccessibleText_getAttributes.
5822 Changed prototype of AccessibleText_getCharacterExtents to
5823 return a void rather than a boolean.
5824 Added support for a AccessibleCoordType parameter
5825 specifying what type of coordinates are desired.
5826 Added an AccessibleCordType parameter to
5827 AccessibleText_getPointAtOffset.
5829 * cspi/spi_accessible.c:
5830 Added code to return the outstanding interfaces from
5831 Accessible_queryInterface.
5833 * cspi/spi_action.c:
5835 Corrected call to getNActions to call the c binding
5838 * cspi/spi_editabletext.c:
5840 Changed name from setRunAttributes to setAttributes.
5842 * cspi/spi_hyperlink.c:
5844 Changed call to getNAnchors to correctly call the c
5845 binding for an attribute.
5847 * cspi/spi_hypertext.c:
5849 Changed getImageDescription to correctly call the
5850 binding for an attribute.
5852 * cspi/spi_selection.c:
5853 Changed getNSelectedChildren to correctly call the c
5854 binding for the attribute.
5855 Changed refSelectedChild to getSelectedChild.
5859 Changed getCaption to return an Accessible.
5860 Fixed calls which retrieve attributes.
5861 Changed refAt to getAccessibleAt.
5862 Changed getNSelectedRows and getNSelectedColumns to
5866 Changed getCharacterExtents and getPointAtOffset to accept an
5867 AccessibleCoordType.
5869 Changed calls which retrieve attributes.
5870 Changed refRunAttributes to getAttributes.
5875 * idl/Hyperlink.idl:
5876 Changed n_anchors attribute to nAnchors to keep naming
5877 convention consistent.
5880 Made Table inherit from Bonobo::Unknown.
5881 Added nSelectedColumns and nSelectedRows attributes.
5884 Made Value inherit from Bonobo::Unknown.
5886 * libspi/hyperlink.c:
5887 Change for nAnchors attributte name change.
5889 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
5897 Added interface implementation c files to list of
5898 includes so they are included in libcspi.
5901 Changed prototype of AccessibleAction_doAction to return a
5903 Changed prototype of AccessibleTable_getCaption to
5904 return an Accessible.
5905 Changed prototype of AccessibleTable_getSelectedRows
5906 and AccessibleTable_getSelectedColumns to
5907 return a long (returns the number of selected rows
5908 or columns respectively).
5909 Changed name of AccessibleText_refRunAttributes to
5910 AccessibleText_getAttributes.
5911 Changed prototype of AccessibleText_getCharacterExtents to
5912 return a void rather than a boolean.
5913 Added support for a AccessibleCoordType parameter
5914 specifying what type of coordinates are desired.
5915 Added an AccessibleCordType parameter to
5916 AccessibleText_getPointAtOffset.
5918 * cspi/spi_accessible.c:
5919 Added code to return the outstanding interfaces from
5920 Accessible_queryInterface.
5922 * cspi/spi_action.c:
5924 Corrected call to getNActions to call the c binding
5927 * cspi/spi_editabletext.c:
5929 Changed name from setRunAttributes to setAttributes.
5931 * cspi/spi_hyperlink.c:
5933 Changed call to getNAnchors to correctly call the c
5934 binding for an attribute.
5936 * cspi/spi_hypertext.c:
5938 Changed getImageDescription to correctly call the
5939 binding for an attribute.
5941 * cspi/spi_selection.c:
5942 Changed getNSelectedChildren to correctly call the c
5943 binding for the attribute.
5944 Changed refSelectedChild to getSelectedChild.
5948 Changed getCaption to return an Accessible.
5949 Fixed calls which retrieve attributes.
5950 Changed refAt to getAccessibleAt.
5951 Changed getNSelectedRows and getNSelectedColumns to
5955 Changed getCharacterExtents and getPointAtOffset to accept an
5956 AccessibleCoordType.
5958 Changed calls which retrieve attributes.
5959 Changed refRunAttributes to getAttributes.
5964 * idl/Hyperlink.idl:
5965 Changed n_anchors attribute to nAnchors to keep naming
5966 convention consistent.
5969 Made Table inherit from Bonobo::Unknown.
5970 Added nSelectedColumns and nSelectedRows attributes.
5973 Made Value inherit from Bonobo::Unknown.
5975 * libspi/hyperlink.c:
5976 Change for nAnchors attributte name change.
5979 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
5981 implementations-- made server implementations own AtkObject pointers
5982 rather than their respective AtkInterrface pointers to fix
5983 refcounting. AtkHyperlink is still broken.
5985 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5986 * cspi/spi_accessible.c:
5987 Added method Accessible_Role_getName(),
5988 and requisite string array (role_names).
5989 Added conversion string_from_corba_strin() call
5990 to Accessible_getName and _getDescription.
5991 * libspi/accessible.c:
5992 Added implementation for Accessible_getRole()
5994 Added festival support, used if environment variable
5997 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5999 * at-bridge/bridge.c:
6000 Now allocate Accessibility_Event using
6001 Accessibility_Event__alloc() instead of g_new0().
6002 * libspi/accessibleeventlistener.c:
6003 Initialize AccessibleEventListener->callbacks to NULL.
6004 Fixed accessible__event_listener_init() param, changed to
6005 "AccessibleEventListener *" type.
6006 Changed a bonobo_object_release_unref() call to
6007 Accessibility_Accessible_unref().
6008 * libspi/listener.c:
6009 Changed Bonobo_Unknown_unref to (equivalent)
6010 Accessibility_Accessible_unref.
6011 * libspi/registry.c:
6012 Changed bonobo_object_release_unref to
6013 Accessibility_Accessible_unref.
6015 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6018 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
6019 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
6020 spi-util.c spi-util.h
6021 Implementations for C bindings to remaining accessibility
6024 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6027 changed return value of Action from void to boolean to
6028 bring in line with ATK.
6031 Changed getText funcions to return "out" start and end offsets.
6032 Changed getAttributes to take and offset and return the start
6033 and end offset of the attribute run.
6034 Changed getOffsetAtPoint and getCharacterExtents to take an
6035 enum describing whether coordinates are window or screen.
6038 libspi/action.c libspi/action.h libspi/editabletext.c
6039 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
6040 libspi/hypertext.c libspi/hypertext.h libspi/image.c
6041 libspi/image.h libspi/selection.c libspi/selection.h
6042 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
6043 libspi/value.c libspi/value.h
6044 Added server implementations for outstanding ATK interfaces
6045 not yet implemented.
6047 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6050 Added (missing) getName() method.
6051 Made nActions an attribute.
6052 * idl/EditableText.idl:
6053 Changed order of params in setAttributes.
6054 * idl/Hyperlink.idl:
6055 Removed getAnchor, added getURI.
6057 Changed attributes to methods, for efficiency
6058 (so that getting extents can be done in one call)
6059 * idl/Selection.idl:
6060 Changed nSelectedChildren to attribute, and re-indented.
6061 * idl/Table.idl: changed nrows, ncolumns, caption, summary
6063 * idl/Text.idl: reformatted to match our coding style.
6064 (temporarily?) removed getRowColumnAtOffset().
6065 Changed text selection API to support multi-select and
6066 non-contiguous selections, as in ATK.
6067 * idl/Value.idl: changed some methods to attributes.
6069 2001-08-24 Mark McLoughlin <mark@skynet.ie>
6071 * libspi/listener.c(impl_notify_event):
6072 BonoboUnkown_unref the source instead
6073 of bonobo_object_release_unref - the ORB
6074 handles the releasing.
6076 * configure.in: require ORBit-2.3.94 for
6079 2001-08-21 Bill Haneman <bill.haneman@sun.com>
6081 Tagged CVS repository 'EA_1_0'.
6082 * README.EARLY_ACCESS:
6083 Alphabetized acknowledgements list, and
6085 Listed some known dependencies of at-spi.
6087 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6089 * docs/at-spi-docs.sgml:
6090 * docs/at-spi-sections.txt:
6091 * docs/at-spi-overrides.txt: (Added zero-length file)
6092 Documentation improvements - gtk-doc should build
6093 docs for all implemented C bindings now.
6096 * cspi/spi.c: (New file)
6097 * cspi/spi_event.c: (New file)
6098 * cspi/spi_registry.c: (New file)
6099 * cspi/spi_accessible.c: (New file)
6100 * cspi/spi_application.c: (New file)
6101 * cspi/spi_component.c: (New file)
6102 Split spi_main.c into six parts, and included them from
6103 "spi.c". This is a bit of a hack, probably temporary,
6104 but required by gtk-doc, apparently.
6106 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6109 * docs/at-spi-docs.sgml:
6110 * docs/at-spi-sections.txt:
6112 Initial checkins/modifications for gtk-doc generation.
6115 Added (missing) interface query methods to Accessible's C binding.
6117 Added GenericInterface type definition.
6119 Added query for AccessibleComponent interface to focus event handler.
6120 Added printout of bounding box for focussed component.
6121 * libspi/component.c:
6122 Added partial implementation for AccessibleComponent to C binding.
6123 * idl/Application.idl:
6124 * libspi/registry.c:
6125 * libspi/listener.c:
6126 * libspi/application.c:
6127 * libspi/application.h:
6128 Changed "ID" attribute type from string to long.
6130 2001-08-19 Bill Haneman <bill.haneman@sun.com>
6134 Made method naming consistent: methods taking object args
6135 start with uppercase, other methods (except those using
6136 acronyms) start with lowercase. Underscores delimit between
6137 object names and method names:
6138 SPI_init() - uppercase since it starts with an acronym.
6139 getDesktopCount () - lowercase start since no object param0.
6140 Accessible_getName() - uppercase object type name, studlyCaps method
6144 Added gtk-doc documentation for all currently implemented
6145 methods in the C bindings API.
6147 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6149 * Makefile.am : changed build order to build test last.
6152 Changed "createEventListener" to "CreateEventListener".
6153 * libspi/accessibleeventlistener.c :
6154 Bugfix for addition of callbacks.
6155 * test/Makefile.am :
6156 * test/simple-at.c :
6157 Added new test that uses the C bindings API.
6159 * libspi/listener.c :
6160 * libspi/registry.c :
6161 * libspi/accessibleeventlistener.c :
6162 * at-bridge/bridge.c :
6163 Renamed member "target" of Accessibility_Event to "source",
6164 which is more descriptive.
6167 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6171 * cspi/Makefile.am :
6172 Added makefile support for at-spi/cspi directory.
6175 * cspi/spi-listener.h : (NEW FILE)
6176 Added support for/use of spi-listener.h.
6178 C bindings now build successfully, with no warnings.
6179 * libspi/accessibleeventlistener.h : (NEW FILE)
6180 * libspi/accessibleeventlistener.c : (NEW FILE)
6181 * libspi/Makefile.am :
6182 Added new object type "AccessibleEventListener"
6183 which inherits from Listener, and allows attachment
6184 of in-process callbacks (so that a client with a listening
6185 object instance can add functionality to the local
6186 implementation, dynamically).
6188 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6190 * libspi/accessible.c:
6191 Add implementation for get_index_in_parent().
6193 Added #include of "spi-roletypes.h", and
6194 added enumerated type AccessibleCoordType.
6195 Added definition for KeystrokeListener (function type).
6198 * cspi/spi-statetypes.h :
6199 * cspi/spi-roletypes.h :
6201 Added these headers, used by spi.h.
6203 Added code (NOTE: not yet built by make).
6205 2001-08-18 Mark McLoughlin <mark@skynet.ie>
6207 * libspi/Makefile.am: generate imodule
6208 at the same time as other idl compiler
6211 2001-08-17 Bill Haneman <bill.haneman@sun.com>
6212 * libspi/registry.c :
6213 * libspi/application.c :
6214 * idl/Application.idl :
6215 Made registration with toolkit an application method,
6216 which is required since each app has its own toolkit static
6217 environment. Thus the bridge must register for
6218 notification of toolkit events from each application in turn.
6219 Toolkit notifications are now successfully registered for, and
6220 sent to the listening at client.
6222 Changed toolkit event string to use hyphens rather than underscores.
6223 * libspi/listener.c :
6224 listner now gives more info in debug mode - it reports the
6225 name of the event received, as well as the name of the source.
6228 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6230 * libspi/registry.c :
6231 added more implementation for toolkit events.
6232 Fixed bug such that toolkit event registrations
6233 (via atk) use the whole event name string, not
6235 Removed a useless call to an ORBit_ method.
6236 * at-bridge/bridge.c :
6237 Removed unused local sbuf[] variable.
6239 We now register for Gtk:GtkWidget:button_press_event
6240 events as well as "focus:" events.
6242 Add some more API from Registry.idl that was missing,
6243 for keystroke listening, keystroke and mouse event
6244 synthesis, and enumeration of accessible desktops.
6246 2001-08-16 Michael Meeks <michael@ximian.com>
6248 * configure.in: use AM_GLIB_GNU_GETTEXT.
6250 * Makefile.am (SUBDIRS): kill intl.
6252 2001-08-15 Michael Meeks <michael@ximian.com>
6254 * registryd/Makefile.am: s/oaf/server/ relocate info file.
6256 * configure.in: upd.
6258 * configure.in: depend on a recent bonobo-activation that
6259 will find our server files ...
6261 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6263 * libspi/accessible.c : accessible_new() :
6264 Now we add the Component interface via bonobo_object_add_interface,
6265 if the contained AtkObject implements AtkComponent.
6266 * libspi/accessible.h : now include "component.h"
6267 * libspi/component.h :
6268 * libspi/component.c : added files - implementation of
6269 bonobo wrapper object for Accessibility/Component
6270 * libspi/listener.c :
6271 Added test code to check for Accessibility/Component:1.0
6272 interface and report whether it is implemented by the
6274 * libspi/registry.c :
6275 Now we check for not only the hash of the whole event
6276 string before relaying the event, we also check the
6277 "minor" event string (without the detail string).
6278 This allows event listeners to be registered against
6279 all events of a certain major+minor type, or just
6280 against a specific major+minor+detail type.
6281 * libspi/accessible.c :
6282 Added implementations for Accessible:get_parent(),
6283 Accessible:getChildCount(), and Accessible:getChildAtIndex().
6284 * libspi/registry.c :
6285 * libspi/listener.c :
6286 Replaced calls to Accessibility_Accessible_ref() and
6287 Accessibility_Accessible_unref() with
6288 calls to bonobo_object_dup_ref() and
6289 bonobo_object_release_unref(), so that the CORBA object
6290 is dup-ed and released when relayed, as well as the bonobo object.
6292 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6294 * libspi/Makefile.am,
6295 registryd/Makefile.am,
6296 at-bridge/Makefile.am.
6297 test/Makefile.am, configure.in:
6298 reverse previous changes.
6300 * /idl/Image.idl: fix typo.
6302 * test/Makefile.am: put DEBUG_FLAGS
6305 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6307 * test/app.c: use argv[0] instead of
6310 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6312 * libspi/Makefile.am,
6313 registryd/Makefile.am,
6314 at-bridge/Makefile.am.
6315 test/Makefile.am, configure.in:
6316 cleanup, replace individual LIBS/CFLAGS with
6317 AT_COMMON_{LIBS|CFLAGS}.
6321 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6323 * configure.in, libspi/Makefile.am:
6324 Change IDL path checking for bonobo-activation
6327 2001-08-15 Bill Haneman <bill.haneman@sun.com>
6329 * registryd/registry.c : separated event listeners to use
6330 3 separate lists (focus, window, toolkit). Began testing
6331 event names against hashes before relaying events.
6332 * test/at.c : now register for events of type "focus:"
6333 * test/app.c : now generate events of type "focus:"
6334 * at-bridge/bridge.c : register with ATK for focus events,
6335 and we now relay those focus events to any "focus:" listeners.
6336 This now works with the bridge as a GTK_MODULE when running test/at.
6337 * libspi/registry.c :
6338 * libspi/listener.c :
6339 now we ref event sources before propagating, and unref on receipt.
6340 * libspi/registry.c :
6341 some changes to internal structs, to support event typestring hashes.
6342 * text/app.c : changed the way the appname is generated.
6343 * cspi : added directory that will hold the C bindings library for
6344 non-CORBA/bonobo-savvy clients.
6345 * cspi/spi.h : header file that contains the function prototypes for the C binding.
6346 * idl/Component.idl : added in parameter to indicate coord system for
6347 geometry-related calls.
6348 * idl/Hyperlink.idl : added readonly n_links attribute
6349 * idl/Image.idl : changed methods to attributes.
6351 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6353 * at-bridge/Makefile.am: link against
6354 ../libspi/libspi.la instead of -lspi.
6356 * at-spi/test/app.c: include
6357 bonobo-activation.h. Use a default appname
6358 if one is not provided.
6360 2001-08-14 Bill Haneman <bill.haneman@sun.com>
6362 * idl/Registry.idl : temporarily changed register_Application
6363 to oneway, to work around issue with initial registration
6365 * idl/Application.idl : changed attribute "id" from readonly
6366 to read-write, since it needs to be assigned by Registry.
6367 * registryd/registryd.c : added call to set application id
6369 * registryd/registry.c : changed de-registration procedure to
6370 use CORBA_Object_hash() to find matching object ref in application
6371 lists and listener lists.
6372 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
6373 began distinguishing between event types (work in progress).
6375 2001-08-13 Bill Haneman <bill.haneman@sun.com>
6378 * libspi/application.c:
6379 Added implementations for get/set id, get_toolkitName,
6381 * registryd/registryd.c :
6385 Converted from use of OAF to bonobo-activation.
6386 * libspi/desktop.h :
6387 * libspi/desktop.c :
6389 Removed references to atksimpleobject, since base atkobject
6390 implementation now provides functionality we need.
6391 * libspi/atksimpleobject.c :
6392 * libspi/atksimpleobject.h :
6397 * at-bridge/Makefile.am
6398 * at-bridge/bridge.c
6401 Added directory "bridge" and contents, and added dependencies
6402 in Makefile.am/configure.in.
6403 Initial checkin of "at-bridge".
6404 This code is a GTK_MODULE which automatically registers
6405 GTK+ apps with the accessibility registry, using an object
6406 reference to the root ATK object.
6408 2001-08-10 Mark McLoughlin <mark@skynet.ie>
6410 * po/Makefile.in.in: Remove. Again. If this
6411 doesn't get autogenerated - you need to update
6414 2001-08-07 Mark McLoughlin <mark@skynet.ie>
6416 * po/Makefile.in.in: Add. Again.
6418 2001-07-31 Bill Haneman <bill.haneman@sun.com>
6420 * libspi/accessible.c : added support for 'description' property.
6421 * libspi/accessible.c
6423 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
6424 (since the two are now equivalent in libbonobo)
6432 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
6433 Bonobo::Unknown as does Accessibility::Accessible.
6434 * idl/StreamableContent.idl : as above, and replaced internal InputStream
6435 interface with Bonobo::Stream, since it was redundant with it.
6436 (The Stream returned by a StreamableContext object is expected to
6437 implement only a subset of Bonobo::Stream)
6439 2001-07-28 Anders Carlsson <andersca@gnome.org>
6441 * libspi/accessible.c (accessible_object_finalize): Change
6442 g_free to g_object_unref since the AtkObject is a GObject.
6444 2001-07-30 Bill Haneman <bill.haneman@sun.com>
6446 * idl/Accessibility.idl: add new IDL files
6449 * idl/Action.idl: Definitions of actionable UI object
6450 * idl/Component.idl: Definitions of UI component geometry, etc.
6451 * idl/Hyperlink.idl: Defs of hyperlink behavior
6452 * idl/Image.idl: Def of accessible image
6453 * idl/Selection.idl: Definition of UI object with selectable children
6454 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
6455 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
6456 * idl/Text.idl: Interface defs for UI elements with complex textual content
6457 * idl/Value.idl: Definition of UI element that is a value controller or display
6459 2001-07-27 Michael Meeks <michael@ximian.com>
6461 * po/Makefile.in.in: remove autogenerated file from CVS.
6463 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
6466 * idl/Registry.idl: include guard.
6468 * idl/Accessibility.idl: Add, and include all the other IDL
6471 * idl/*.idl: remove mass of pragmas etc.
6473 2001-07-26 Michael Meeks <michael@ximian.com>
6475 * registryd/Makefile.am (registryd_SOURCES): remove
6478 2001-07-27 Mark McLoughlin <mark@skynet.ie>
6480 * libspi/.cvsignore, registryd/.cvsignore,
6481 test/.cvsignore: updated.
6483 * po/Makefile.in.in: gettext update.
6485 2001-07-25 Bill Haneman <bill.haneman@sun.com>
6487 * initial CVS checkin
6489 2001-06-29 Michael Meeks <michael@ximian.com>
6491 * configure.in: add AM_CONFIG_HEADER to gen config.h