1 2003-12-04 Bill Haneman <billh@gnome.org>
5 * idl/Accessibility_Application.idl:
6 (Accessibility::LOCALE_TYPE): New enum, corresponds to
8 (Accessibility::Application::getLocale): New method.
9 Allows clients to query the locale, by type, of an app.
12 * cspi/spi_application.c:
13 (AccessibleApplication_getLocale): New method, wraps IDL above.
15 * libspi/application.c:
16 (spi_application_class_init): Init epv entry for getLocale.
17 (impl_accessibility_application_get_locale): Impl for above.
20 (test_application): Added assertion for getLocale, i.e.
21 that the string from AccessibleApplication_getLocale (app, type)
22 is the same as that from setlocale (type, NULL);
24 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
26 *registryd/deviceeventcontroller.c: Add an idle handler which polls
27 the keyboard on a timeout intil the key state goes from pressed to
28 released. Fixes bug #111429.
30 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
32 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
33 root object so that it is present when a context menu in an
34 out-of-process applet is popped up.
35 (spi_atk_bridge_do_registration): Create acceessible application root
36 object only if it does not exist.
38 This fixes bug #125834.
40 2003-12-01 Bill Haneman <billh@gnome.org>
42 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
45 Added enum for AccessibleStreamableContentSeekType.
46 (AccessibleStreamableContent_freeContentTypeList): New.
48 * cspi/spi_streamablecontent.c:
49 (accessible_bonobo_stream_client_seek): New private method.
50 (AccessibleStreamableContent_seek): Implemented this method,
51 using Bonobo_Stream_seek.
52 (AccessibleStreamableContent_freeContentTypeList): New method
53 for freeing the return value from
54 AccessibleStreamableContent_getContentTypes.
55 (stream_cache_item_free): Replaces stream_release; stop leaks.
56 (stream_release): removed.
57 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
58 free the memory properly.
60 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
64 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
66 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
68 * docs/referecce/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
70 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
72 2003-12-01 Bill Haneman <billh@gnome.org>
74 Fix for bug/rfe #127463.
76 * idl/Accessibility_Accessible.idl:
77 (getLocalizedRoleName): New.
78 (unimplemented4): Removed (replaced by above).
80 * libspi/accessible.c:
81 (impl_accessibility_accessible_get_local_role_name): New.
82 (spi_accessible_class_init): Add getLocalizedRoleName entry to
86 (Accessible_getLocalizedRoleName): New.
88 * cspi/spi_accessible.c:
89 (Accessible_getLocalizedRoleName): New.
91 2003-12-01 Bill Haneman <billh@gnome.org>
94 * idl/Accessibility_Text.idl:
95 (getDefaultAttributes): New.
96 (unimplemented4): Removed (replaced by above method).
99 (impl_getDefaultAttributes): New method.
100 (spi_text_class_init):
101 initialize the get_default_attributes slot in the epv.
104 (AccessibleText_getDefaultAttributes): New prototype.
107 (AccessibleText_getDefaultAttributes): New method.
109 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
111 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
112 write beyond the end of the table. Fixes bug #120473.
114 2003-09-30 Christian Rose <menthos@menthos.com>
116 * configure.in: Added "eu" to ALL_LINGUAS.
118 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
120 * configure.in: ALL_LINGUAS: Added no.
122 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
124 * configure.in: Added lt to ALL_LINGUAS.
126 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
128 * atk-bridge/bridge.c:
129 (atk_bridge_init): Register event listeners always even for
130 out-of-process applet.
131 (spi_atk_bridge_toplevel_added): Remove call to
132 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
133 (spi_atk_bridge_toplevelk_removed): Remove call to
134 spi_atk_deregister_event_listenersa as the listeners are now always
136 (spi_atk_bridge_register_application): Remove call to
137 spi_atk_register_event_listeners as it is not done in atk_bridge_init
139 This fixes bug #120991.
141 * libspi/table.c (impl_getColumnDescription): Correct typo,
142 pointed out by Bolian.Yin@sun.com.
144 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
146 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
148 2003-09-08 Bill Haneman <billh@gnome.org>
150 * configure.in: Revved to 1.3.7.
152 This is the GNOME 2.4.0 release of at-spi.
154 * docs/reference/cspi/Makefile.am:
155 Removed spurious inclusion of 'index.sgml' in the
156 html directory; this was breaking make distcheck and
157 also some other build environments.
159 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
161 * registryd/registry.[ch}:
162 Add queue_handler_id and focus_object to SpiRegistry data structure.
163 (registry_flush_event_queue): If event being discarded is
164 "state-change:focused" store object as focus_object.
165 (registry_start_queue): Remove queue handler and focus object
167 (registry_discard_event): New function which discards a focus event
168 if we had stored focus object in the registry.
169 (registry_queue_event): Add new check that is_queueing is set as this
170 function is reentrant.
171 (registry_filer_event): Add call to registry_discard_event.
173 This resolves issues raised in bug #108664.
175 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
177 * configure.in: Added "bn" to ALL_LINGUAS.
179 2003-09-04 Bill Haneman <billh@gnome.org>
181 * cspi/spi_event.c: Documentation improvements for
182 (SPI_registerAccessibleKeylistener).
184 * docs/reference/tmpl/spi_registry.sgml:
185 Documentation improvements for SpiAccessibleKeylistenerCB.
187 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
189 * configure.in: Added "ro" to ALL_LINGUAS.
192 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
194 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
195 not decremented to zero. Fixes bug #120725.
197 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
199 * configure.in: Added "ja" to ALL_LINGUAS.
201 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
203 * configure.in: Added "is" to ALL_LINGUAS.
205 2003-08-22 Christian Rose <menthos@menthos.com>
207 * configure.in: Added "nl" to ALL_LINGUAS.
209 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
211 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
212 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
214 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
216 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
217 type for unspecified exception.
218 * cspi_streamablecontect): Add include of string.h for memcpy.
219 (stream_release): Correct call to bonobo_object_release_unref
220 (stream_cache_item_free): Correct call to bonobo_object_release_unref
221 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
222 argument of _cspi_expection_throw.
223 * libspi/hyperlink.c: Add include of libspi/action.h:
224 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
225 * libspi/streamablecontent.c: add include of libspi/component.h.
226 * regisrtyd/deviceeventcontroller.c:
227 (spi_dec_translate_mask): Removed unused variable priv.
228 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
229 * registryd/registry.c:
230 (registry_filter_event): Remove unused variable queue_is-empty.
231 (impl_registry_notify_event): Use correct modifier in fprintf call.
233 This fixes compiler warnings reported in bug #120220.
235 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
237 * registryd/registryd.c: Remove this file.
239 2003-08-17 Sanlig Badral <badral@openmn.org>
241 * configure.in: Added mn to ALL_LINGUAS.
243 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
245 * configure.in: Added et to ALL_LINGUAS.
247 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
249 * test/event-listener-test.c: Change active-descendant to
250 active-descendant-changed.
252 2003-08-10 Sami Pesonen <sampeson@iki.fi>
254 * configure.in: Added "fi" in ALL_LINGUAS.
256 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
258 * configure.in: Added "hi" in ALL_LINGUAS.
260 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
262 * configure.in: Revved to 1.3.6.
266 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
268 * registryd/deviceeventcontroller.c
269 (spi_device_event_controller_object_finalize): Fix typo in previous
272 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
274 * registryd/deviceeventcontroller.c
275 (spi_device_event_controller_object_finalize): Fix build on
276 systems without XEvIE.
278 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
280 * acconfig.h, configure.in, registryd/Makefile.am,
281 registryd/devicecontoller.[ch]: Add XEViE support.
283 2003-08-06 Wang Jian <lark@linux.net.cn>
285 * configure.in: Added "zh_CN" to ALL_LINGUAS.
287 2003-08-06 Metin Amiroff<metin@karegen.com>
289 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
291 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
293 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
294 MODIFIER_ALT in correct place.
296 This fixes part of bug #118114.
298 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
300 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
302 2003-07-28 Changwoo Ryu <cwryu@debian.org>
304 * configure.in: Added "ko" to ALL_LINGUAS.
306 2003-07-28 Ole Laursen <olau@hardworking.dk>
308 * configure.in: Added "da" to the commented out ALL_LINGUAS.
310 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
312 * configure.in: Added "sq" to ALL_LINGUAS.
314 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
316 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
318 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
320 * configure.in: updated ALL_LINGUAS list
322 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
324 * configure.in: Added Belarusian to ALL_LINGUAS.
326 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
328 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
330 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
331 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
333 This fixes bug #116949.
335 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
337 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
338 Correct CSPI to SPI in function documentation.
340 This fixes bug #118054.
342 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
344 * configure.in: Added Russian to ALL_LINGUAS.
346 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
348 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
350 2003-07-14 Danilo Å Segan <dsegan@gmx.net>
352 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
354 2003-07-10 Joel Brich <joel.brich@laposte.net>
356 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
358 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
360 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
362 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
364 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
365 resources allocated for AccessibleEvent. See cspi_event().
367 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
368 static variable streams to NULL.
370 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
371 Update so that AcessibleEvent_ref will work.
373 This fixes bug #116624.
375 2003-07-06 Jordi Mallach <jordi@sindominio.net>
377 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
379 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
381 * configure.in: Added "fr" (French) to ALL_LINGUAS.
383 2003-07-02 Christian Neumair <chris@gnome-de.org>
385 * configure.in: Added "de" (German) to ALL_LINGUAS.
387 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
389 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
391 2003-07-01 Miloslav Trmac <mitr@volny.cz>
393 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
395 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
397 * configure.in: Added "pl" to ALL_LINGUAS.
399 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
401 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
403 2003-06-30 Bill Haneman <bill.haneman@sun.com>
406 (get_action_from_servant):
407 Removed assertion that action is implemented on an AtkObject.
409 * libspi/hyperlink.c:
411 Aggregate AccessibleAction interface on the hyperlink object if
412 the object implements AtkAction. (This convention is used in
415 2003-06-30 Bill Haneman <bill.haneman@sun.com>
417 * configure.in: Revved to 1.3.5.
419 * registryd/Accessibility_Registry.server.in.in:
420 Marked up appropriate strings for translation.
422 * atk-bridge/bridge.c: Marked a couple of
423 user-visible warnings for translation. Questionable
424 whether they are really useful, but possibly so.
427 2003-06-28 Christian Rose <menthos@menthos.com>
429 * configure.in: Added "sv" to ALL_LINGUAS.
431 2003-06-26 Bill Haneman <bill.haneman@sun.com>
433 * registryd/registry.c:
434 (spi_registry_object_finalize): Unref the deviceeventcontroller.
435 (registry_defer_on_event): Defer focus: events, this is an
436 improvement to the patch for bug #108664.
438 * TODO: Update with 2.4/"Dev Complete" items.
440 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
442 * atk-bridge/bridge.c:
443 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
444 looks up signals once.
445 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
446 if doing registration.
447 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
448 when doing registration.
450 This fixes bug #115014.
452 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
454 * atk-bridge/bridge.c:
455 (atk_bridge_init): Add signal handler for children-changed:remove on
456 root when in a BonoboComponent.
457 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
458 for first toplevel only other incrememt variable toplevels.
459 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
460 application and remove listeners.
461 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
463 (spi_atk_deregister_event_listeners): New function which removes
465 (reinit_register_vars): New fuction which reinitializes variables.
467 This fixes bug #111578.
469 2003-06-13 Bill Haneman <bill.haneman@sun.com>
471 * configure.in: version 1.3.4.
473 * cspi/spi_accessible.c:
474 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
477 2003-06-13 Michael Meeks <michael@ximian.com>
479 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
481 * cspi/spi_main.c (cspi_peek_ev): impl.
483 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
485 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
487 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
489 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
490 SPI_ROLE_AUTOCOMPLETE
492 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
494 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
495 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
497 2003-06-11 Bill Haneman <bill.haneman@sun.com>
499 * libspi/streamablecontent.h:
500 * libspi/streamablecontent.c:
501 New files, provide implementation/wrappers for
502 Accessibility_StreamableContent.
504 * cspi/spi_streamablecontent.c:
505 Connected the C wrappers to the libspi C bindings.
506 (AccessibleStreamableContent_close): New method.
509 (AccessibleStreamableContent_close): New method, needed
510 since we have an "open, [seek], read, close" model in cspi.
512 2003-06-11 Bill Haneman <bill.haneman@sun.com>
514 Fix for #108664; Padraig's revision of my original patch.
516 * registryd/registry.h:
517 Added event queue list, is_queuing, and exit_notify_timeout
518 to the registry struct.
520 * registryd/registry.c:
521 (registry_init): Initialize new struct from registry.h.
522 (impl_registry_notify_event):
523 Filter events before notifying, in case some need to be
525 (registry_filter_event): New,
526 we defer certain incoming events (for instance
527 window:deactivate) because we may wish to hide
528 or reject them based on pending events. This is
529 mostly a workaround for bug #108664.
530 (registry_queue_event, registry_start_queue): New.
531 (registry_defer_on_event): Test event to see if it
533 (registry_reset_on_event): Returns TRUE if the
534 event should cause a queue reset.
535 (registry_discard_on_event): Returns TRUE if the event
536 should cause the previous queue contents to be discarded.
537 (registry_timeout_flush_queue): Flushes the pending event
538 queue if no reset/discard-triggering events have come in
539 within the timeout period.
540 (registry_emit_event): New.
541 (registry_clone_notify_context): New, used when queueing the
542 event notify contexts.
544 2003-06-10 Bill Haneman <bill.haneman@sun.com>
546 * configure.in: Version revved to 1.3.2, lt 0.9.2
547 Incremented ATK required version to 1.3.4.
549 * cspi/spi_registry.c:
550 (SPI_generateKeyEvent):
551 We now pass the keystring along if it's non-null.
553 * registryd/deviceeventcontroller.c:
554 (keysym_mod_mask): New method, returns modifier mask
555 required to generate a keysym from a given keycode.
556 (dec_synth_keysym): New method.
557 (dec_synth_keystring): New method.
558 (dec_get_modifier_state): New method.
559 (dec_lock_modifiers): New
560 (dec_unlock_modifiers): New.
561 (dec_keysym_for_unichar): New, rather brute-force
562 conversion from UCS-4 to X KeySyms. Only works for
563 Latin at the moment, with partial implementations for
564 Greek, Hebrew, and (incomplete) Katakana.
565 (impl_generate_keyboard_event): Now implement
566 "KEYSTRING" synthesis and implement "KEYSYM"
568 (keycode_from_keysym): Improved, passes a returned
569 modmask value now if the corresponding param is non-NULL.
571 Fixes bugs #92143 and #109776.
574 * test/keysynth-test.c:
575 New test program for key synthesis, to confirm fixes for
579 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
581 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
583 * cspi/spi_accessible.c (cspi_init_relation_type_table):
584 Add line for RELATION_POPUP_FOR
586 * docs/reference/cspi/tmpl/spi_relation.sgml:
587 Add relation SPI_RELATION_POPUP_FOR
589 * docs/reference/cspi/tmpl/spi_stateset.sgml:
590 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
592 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
594 * libspi/relation.c (spi_init_relation_type_table):
595 Add line for RELATION_POPUP_FOR
597 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
599 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
600 there are still windows which have not been deleted and emit
601 window:deactivate, if necessary and window:destroy events.
602 This fixes bug #114370. The change on June 5th was not correct.
604 2003-06-09 Bill Haneman <bill.haneman@sun.com>
606 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
609 (SPI_dupString): Allow dup-ing of a string such that it's safe to
611 New methods for client exception handling and interception.
612 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
613 (SPI_exceptionHandlerPop): You guessed it...
614 (SPI_getSourceType): Return the type of object which offended.
615 (SPI_getExceptionCode): Return an enum code telling, possibly,
616 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
617 (SPIAccessibleException_getSource): get the source object for
618 exceptions that come from Accessibles, if SPIExceptionSourceType is
619 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
620 (SPIException_getDescription): New, returns a string description of
621 the problem. [Not yet a stable ABI, strings are not frozen]
623 * cspi/spi-private.h:
624 Added implementation details of opaque SPIException
628 Implementations of above. Also
629 (_cspi_exception_throw): new private method that
630 dispatches exceptions to handlers, called from cspi-bonobo.c
632 * cspi/bonobo/cspi-bonobo.c:
633 (cspi_check_ev): call _cspi_exception_throw.
634 Don't print a warning message if the exception has been
635 handled by _cspi_exception_throw.
637 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
639 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
640 there are still windows which have not been deleted and emit
641 window:deactivate, if necessary and window:destroy events.
642 This fixes bug #114370.
644 2003-06-03 Bill Haneman <bill.haneman@sun.com>
647 (cspi_accessible_is_a): Make non-fatal
648 if the object reference is dead.
650 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
652 * cspi/spi_main.c: #include <stdio.h>
653 * test/simple-at.c: ditto
654 * test/event-listener-test.c: ditto
655 * test/screen-review-test.c: ditto
657 2003-05-30 Michael Meeks <michael@ximian.com>
659 * test/test-simple.c (main): use CORBA_ORB_perform_work
660 instead of an unnecessary linc_ call.
662 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
664 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
665 Add SPI_STATE_INDETERMINATE.
667 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
670 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
672 * libspi/stateset.c (init_state_type_tables): Add support for
675 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
677 * configure: Update versions of atk and gail required.
678 This fixes bug #113268.
680 2003-05-02 Bill Haneman <bill.haneman@sun.com>
682 * configure.in: Revved micro version to 1.3.1 (because of build fix).
684 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
686 * libspi/Makefile.am:
687 Ensure headers are generated before being used by c sources.
689 2003-05-01 Bill Haneman <bill.haneman@sun.com>
692 Simplified lt versioning rules.
693 Incremented version to 1.3.0, to indicate that we're on the
696 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
698 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
699 Add MKDB_OPTIONS=--outtput-format=xml
701 * docs/reference/cspi/at-spi-cspi-docs.sgml
702 docs/reference/idl/at-spi-idl-docs.sgml:
703 Convert to Docbook XML.
705 This fixes bug #111793.
707 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
709 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
710 AcccessibleKeyEventType, AccessibleKeyMaskType.
712 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
714 * cspi/state-types.h: Add documentation for AccessibleState.
716 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
717 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
718 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
719 AccessibleComponentLayer.
721 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
724 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
726 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
727 Accessible. Add description of AccessibleEvent,
728 AccessibleEventListenerCB.
730 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
733 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
734 documentation. Add description of AccessibleKeystrokeListenerCB,
735 AccessibleKeyEventMask, AccessibleModifierMaskType,
736 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
737 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
739 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
742 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
745 This fixes bug #104730.
747 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
749 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
750 Set is_text field of Accessibility_DeviceEvent data structure.
752 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
753 is-text field of AccessibleDeviceEvent data structure.
755 This addresses part of bug #108666.
757 * registryd/devcieeventcontroller.c: Unset debug option.
759 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
762 (cpi_initial_relation_type_table): New function which initializes
763 mapping between Accessibility_RelationType and AccessibleRelationType.
764 (cspi_relation_type_from_spi_relation_type): New function which
765 translates an Accessibility_RelationType into an AccessibleRelationType.
766 (AccessibleRelation_getRelationType): Use
767 cpi_relation_type_get_spi_relation_type to return correct value.
768 (spi_state_to_corba): Return correct type for default case.
770 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
771 Use Accessibility_EventType instead of Accessibility_KeyEventType.
773 * cspi/cspi-bonobo-listener.c:
774 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
777 * libspi/accessible.c, libspi/action.c, libspi/application.c,
778 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
779 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
780 libspi/image.c, libspi/listener.c, libspi/selection.c,
781 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
782 registryd/desktop.c, registryd/registry.c:
783 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
785 * libspi/eventlistener.c
786 Remove semicolon after BONOBO_TYPE_FUNC.
789 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
790 (spi_init_relation_type_table): Initialize using correct type.
792 * registryd/desktop.c:
793 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
794 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
795 of Accessibility_KeyEventType.
797 * test/key-listener-test.c (report_tab_key_event): Use fprintf
800 * tests/simple-at.c, tests/screen-review-test.c:
801 Add include for <strings.h>.
803 * tests.stress-test.c:
804 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
806 These changes fix compiler warnings when using FORTE compiler on
807 Solaris; fixes bug #107479.
810 2003-04-10 Bill Haneman <bill.haneman@sun.com>
813 * configure.in: revved to 1.1.10
816 (SPI_KEYMASK_NUMLOCK): Added.
818 * registryd/deviceeventcontroller.c:
819 (spi_key_event_matches_listener): AND with a smaller
820 bitmask (as we should).
821 (spi_dec_translate_mask):
822 New method, sets the virtual NumLock modifier bit
823 if numlock is on. Eventually it can handle other virtual
824 modifier bits if needed, or other marshalling from
825 at-spi modifier masks to platform (X) masks.
826 (spi_dec_key_listener_new):
827 Call spi_dec_translate_mask to set up virtual mod bits
828 in the 'mask' field when creating a new listener struct.
829 (spi_dec_emit_modifier_event):
830 Set the virtual (i.e. NumLock) bits before emitting event.
831 (spi_controller_register_with_devices):
832 Query for the NumLock modifier 'physical' bit if Xkb is
833 present, for use in above methods.
837 2003-04-10 Bill Haneman <bill.haneman@sun.com>
839 * registryd/deviceeventcontroller.c:
840 (spi_keystroke_from_x_key_event):
841 Instead of checking to see if the keysym is
842 printable, check the string from XLookupString
843 if available, get the first unicode character from it,
844 and call g_unichar_isprint to determine whether the
845 is_text flag should be TRUE or FALSE.
849 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
851 * atk-bridge/bridge.c: Add support for extended events
852 * cspi/spi_event.c: Add documentation and implementation for
854 * tests/event-listener-test.c: Add tests for extended events.
856 This fixes bugs #100424 and #100426.
858 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
860 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
861 of LT_CURRENT. This fixes bug #89350.
863 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
865 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
866 number of signal parameter values before accessing them. This fixes
869 2003-04-01 Bill Haneman <bill.haneman@sun.com>
871 * configure.in: Fixed duplicate inclusion of -lspi.
872 * branched for gnome-2-2/HEAD.
873 [created tag "gnome-2-2"]
875 2003-03-07 Bill Haneman <bill.haneman@sun.com>
877 * configure.in: 1.1.9 release.
880 2003-03-07 Bill Haneman <bill.haneman@sun.com>
882 [needed by GOK, to fix bugs 107985 and 107988]
883 * registryd/deviceeventcontroller.c:
884 (spi_dec_clear_unlatch_pending):
885 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
886 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
887 (spi_dec_init_mouse_listener):Emit warning if mouse button
889 (spi_device_event_controller_forward_mouse_event):
890 Removed unnecessary parens from a conditional.
891 (global_filter_fn):Added TODO comment.
892 (impl_generate_keyboard_event):
893 Cancel a pending relatch if a 'delatching' key was
896 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
898 * atk-bridge/bridge.c:
899 Change atk_signal_child_changed to atk_signal_children_changed.
900 Reorganize code in spi_atk_bridge_signal_listener().
902 * test/event-listener-test.c:
903 Add children_changed_listener and report_children_changed_event()
904 to test AccessibleChildEvent_getChildAccessible.
906 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
908 * cspi/spi_event.c (cspi_internal_event_get_text): Change
909 g_strdup to CORBA_String_dup (bug #105291)
911 * test/event-listener-test.c (report_text_event): Add call to
914 2003-02-28 Bill Haneman <bill.haneman@sun.com>
916 * registryd/deviceeventcontroller.c:
917 (spi_keystroke_from_x_key_event):
918 Fix string and keysym return codes to match modifier state.
921 2003-02-28 Bill Haneman <bill.haneman@sun.com>
923 * registryd/deviceeventcontroller.c:
924 (spi_keystroke_from_x_key_event):
925 Fix segv due to improper use of isprint(c). [bug #107254]
927 2003-02-24 Bill Haneman <bill.haneman@sun.com>
930 (get_accessible_text_boundary_type):
931 Move default return value to (new) default case in switch.
932 (get_accessible_text_clip_type):
933 Move default return value to (new) default case in switch.
935 * libspi/application.c:
936 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
937 Remove unused methods.
938 (impl_accessibility_application_register_object_event_listener):
939 Remove unused methods.
942 Added #include of <math.h>.
944 * registryd/deviceeventcontroller.c:
945 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
946 we don't currently use this method.
947 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
949 (impl_generate_key_event):
950 Remove unused variables.
951 (impl_generate_mouse_event):
952 Initialize button to zero, just in case we get an invalid
953 input. Added support for mouse buttons 4 and 5.
954 (spi_device_event_controller_new):
955 Removed unused variable declaration for 'private'.
957 Added #include of <gdk/gdk.h>
959 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
961 * configure.in: Update to work when X is not installed in expected
962 location. Fixes bug #105836.
964 * atk-bridge/bridge.c
965 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
967 (spi_atk_register_event_listener): Add signal listener for
969 (spi_atk_bridge_signal_listener): Event event when link-selected
970 signal is emitted. (bug #104622)
972 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
973 on returned string. (bug #105291)
975 * test/event-listener-test.c: Add test for link-selected.
977 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
979 * atk-bridge/Makefile.am: Correct typo in previous commit.
981 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
983 * atk-bridge/Makefile.am: Allow for build directory to be different
984 from source directory
986 * registryd/Makefile.am: Allow for build directory to be different
987 from source directory
991 2003-01-29 Bill Haneman <bill.haneman@sun.com>
994 Fixed dependencies for libcspi so that libspi gets pulled in
995 properly. Fixes 104741.
999 Clean up inline docs a little.
1001 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
1003 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
1004 This is done by implementing AtkComponent for SpiAtkDesktop, which is
1005 the AtkObject within an SpiDesktop.
1006 This addresses bug #101524.
1008 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
1009 Remove call to gdk_init().
1011 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
1012 so that Display is set when SpiDesktop is created.
1014 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
1016 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
1017 This fixes bug #102830.
1019 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1021 * test/test-simple.c: Update to take account of fact that GailButton
1022 now implements AtkText.
1023 (create_text_window): Set name on AtkObject for GtkEntry.
1024 (validate_accessible): Check accessible name before calling test_text().
1026 * libspi/Makefile.am: Fix problem with building outside of source
1027 directory. Bug #98120.
1029 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
1030 typo in documentation comments. Bug #94275.
1032 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1034 * libspi/text.c (impl_getBoundedRanges): Bug fix.
1036 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
1039 Add includes to avoid compiler warnings on Solaris.
1040 (impl_getRangeExtents): Bug fix.
1042 2002-12-17 Bill Haneman <bill.haneman@sun.com>
1044 Fix for 100944, [API addition approved by Gman and murrayc].
1051 * idl/Accessibility_Text.idl:
1052 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
1053 (Text::getRangeExtents): New method for efficient
1054 bounds query of a text range.
1055 (Text::getBoundedRanges): New method for efficient
1056 clipping of text to bounding boxes.
1057 (unImplemented7, unImplemented8):
1058 Removed these padding methods to preserve bincompat.
1061 (impl_getRangeExtents): implementation of new IDL.
1062 (impl_getBoundedRanges): implementation of new IDL.
1063 (SpiTextRect): Internal use struct.
1064 (_spi_text_rect_union): internal method, calculates union of two
1065 SpiTextRect bounding rects.
1066 (_spi_text_range_seq_from_gslist): internal method, allows us
1067 to build our sequence efficiently as a gslist then convert it
1069 (_spi_bounds_contain): internal method, determines whether
1070 a text character is "in" or "out" of a clip rect according to
1071 values of TEXT_CLIP_TYPE.
1072 (spi_text_class_init): Initialize the new methods in the epv.
1075 (AccessibleTextClipType): New enum used by screen review api.
1076 (AccessibleTextRange): New struct used by screen review api.
1077 (AccessibleText_getRangeExtents):
1078 cspi binding for Accessibility_Text_getRangeExtents.
1079 (AccessibleText_getBoundedRanges):
1080 cspi binding for Accessibility_Text_getBoundedRanges.
1081 (AccessibleTextRange_freeRanges): convenience method.
1084 (AccessibleText_getRangeExtents):
1085 cspi binding for Accessibility_Text_getRangeExtents.
1086 (AccessibleText_getBoundedRanges):
1087 cspi binding for Accessibility_Text_getBoundedRanges.
1088 (AccessibleTextRange_freeRanges): convenience method.
1089 (get_accessible_text_clip_type): internal conversion method.
1090 (get_accessible_text_ranges_from_range_seq): internal conversion method.
1092 * registryd/deviceeventcontroller.c:
1093 (spi_dec_mouse_check):
1094 Improved behavior for mouse:abs events
1095 [same granularity as mouse:rel events, and no
1096 events when mouse is idle].
1098 2002-12-16 Michael Meeks <michael@ximian.com>
1100 * cspi/spi_accessible.c (spi_state_to_corba): rename.
1102 * libspi/stateset.c (state_spi_to_atk): split out
1103 ( fix several remote array bounds nasties )
1104 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
1105 (impl_remove): make safe from array bounds issues.
1106 (spi_atk_state_from_spi_state): impl.
1108 * libspi/stateset.h (spi_state_set_cache_is_empty):
1109 add a set of wrapper defines to get layering right.
1111 * cspi/spi_accessible.c: update state set stuff to
1114 2002-12-14 Michael Meeks <michael@ximian.com>
1116 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
1117 to avoid 2 roundtrips to the registry per key event
1118 (spi_atk_bridge_key_listener): upd.
1119 (deregister_application): release the dec.
1121 * registryd/registry.c (notify_listeners_cb):
1122 bin lots of re-enterant complexity - we no longer
1123 do a round-trip bonobo ref here, ensure that a single
1124 listener's exception failure won't poison all other
1126 (impl_registry_notify_event): bin obvious memory leak.
1128 2002-12-13 Michael Meeks <michael@ximian.com>
1130 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
1131 init the ev so the error is meaningful.
1132 (spi_atk_bridge_key_listener): ditto.
1134 * cspi/spi_main.c (cspi_ev): init the ev so we start
1135 with a clean slate, otherwise the first exception
1136 kills us completely.
1138 * cspi/spi_text.c (get_accessible_text_boundary_type):
1139 add a fallthrough for no warnings.
1141 * cspi/spi_registry.c: prune unused warnings.
1143 * cspi/spi_main.c (cspi_object_take): fix
1144 mind-blowing brokenness ( by watching the compile
1147 * cspi/spi_accessible.c (Accessible_getStateSet):
1148 re-impl. to use an AtkStateSet.
1149 (spi_state_type_from_accessible_state),
1150 (init_state_table): bin these.
1152 * libspi/stateset.c (spi_atk_state_set_from_sequence):
1154 (atk_state_set_from_accessibility_state_set): here.
1156 * cspi/spi_accessible.c (spi_state_to_atk): impl.
1157 (AccessibleStateSet_contains, AccessibleStateSet_ref),
1158 (AccessibleStateSet_unref, AccessibleStateSet_contains),
1159 (AccessibleStateSet_add, AccessibleStateSet_remove),
1160 (AccessibleStateSet_equals, AccessibleStateSet_compare),
1161 (AccessibleStateSet_isEmpty): re-write to use a local
1164 2002-12-13 Bill Haneman <bill.haneman@sun.com>
1166 * configure.in: Revved to 1.1.7 (new keymask vals).
1168 2002-12-10 Bill Haneman <bill.haneman@sun.com>
1170 * libspi/keymasks.h:
1171 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
1173 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1176 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
1177 to compare two CORBA_TypeCodes.
1178 (cspi_internal_event_add): Silence warning from FORTE compiler.
1180 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
1181 avoid implicit declaration of functions.
1183 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
1185 * atk-bridge/bridge.c:
1186 (spi_atk_bridge_init_event_type_consts): Store signal id for
1187 active-descendant-changed signal.
1188 (spi_atk_register_event_listeners): Add signal listener for
1189 active-descendant-changed signal,
1190 (spi_atk_bridge_signal_listener): Move code in function
1191 spi_atk-signal_emit_event() into this function.
1192 Add support for active-descendant-changed
1193 Update support for child-changed signal.
1194 (spi_bridge_window_event_listener): Silence warning.
1196 * libspi/spi_private.[ch]:
1197 (spi_init_any_object): Change second parameter from CORBA_Object to
1199 Omit call to CORBA_Object_duplicate().
1200 Set CORBA_any's _value to CORBA_Object*.
1202 2002-12-06 Bill Haneman <bill.haneman@sun.com>
1208 (AccessibleEvent_ref, AccessibleEvent_unref):
1209 New methods, for persisting an event outside the emission context.
1210 Must be used if the new accessor methods are to be called
1211 outside of the event listener's callback.
1213 * cspi/bonobo/cspi-bonobo.c:
1214 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
1215 as second parameter instead of NULL, so we can call
1216 cspi_check_ev afterwards.
1219 (cspi_object_take): New internal method,
1220 converts a CORBA_Object reference to a hard ref on
1221 an Accessible if possible, returning NULL if the object
1222 reference is invalid or an Accessible * otherwise.
1225 (AccessibleEvent_ref):
1226 Increment the event's internal private refcount, and
1227 add the event's internal struct to an internal cache
1228 if it's not already there.
1229 (AccessibleEvent_unref):
1230 Decrement the event's refcount and remove it from
1231 the cspi event cache if refcount==0.
1232 (cspi_event_compare): New private method.
1233 Compares two event structs via their ids. Used
1235 (cspi_internal_event_lookup): New private method.
1236 (cspi_internal_event_check): New private method,
1237 a 0-order sanity check for events to make sure their
1238 private data is intact.
1239 (cspi_internal_event_add, cspi_internal_event_remove):
1240 New private methods for managiing the event cache.
1242 * cspi/bonobo/cspi-bonobo-listener.c:
1244 Initialize the new private data elements (id, magic, ref_count).
1246 * atk-bridge/bridge.c:
1247 (spi_atk_bridge_signal_listener):
1248 Fixed bug #100530, passing wrong params to emission func.
1250 * registryd/deviceeventcontroller.c:
1251 (spi_dec_button_update_and_emit):
1252 Fixed type in mask bit operations; fix for #99799.
1254 2002-12-02 Bill Haneman <bill.haneman@sun.com>
1256 Removed some of the more dangerous workarounds from
1257 previous commit; they are only needed by GOK, which
1258 in reality should be using another method to accomplish
1259 the goals. So on reconsideration some of the workarounds
1260 need to be reverted:
1262 * registryd/deviceeventcontroller.c:
1263 (spi_keycodes_contain, spi_dec_init_keycode_list):
1264 Removed these methods, used only by a nasty hack to try
1265 and detect whether a key synthesis should be allowed
1266 to reset the XKB latch state or not. This code was only
1267 required to work around an interaction between GOK,
1268 button events, and XKB.
1269 (impl_generate_key_event):
1270 Removed hack at end of key generation that tried to
1271 "do the right thing" if XKB latch keys were generated
1272 in the midst of button press/release pairs.
1275 Added a check for HAVE_XINPUT. Not normally used yet.
1277 2002-11-25 Bill Haneman <bill.haneman@sun.com>
1279 Workarounds and fixes for mouse event/XKB interaction.
1281 * registryd/deviceeventcontroller.c:
1282 (spi_keycodes_contain, spi_dec_init_keycode_list):
1283 New internal methods.
1284 (spi_dec_set_unlatch_pending):
1285 Split the method that tells XKB to expect an
1286 unlatch (and revert it) out of the rest of the
1287 event handling code. This method is called by the
1288 two mouse event handlers (the poll and the filter).
1289 (spi_dec_update_and_emit, spi_dec_mouse_check):
1290 New methods split from spi_dec_poll_mouse_moved.
1291 The second one is now called from inside the filterFn
1292 when an XKB delatch event is received, to determine
1293 whether to revert the delatch or not.
1294 (spi_poll_mouse_moved): Refactor; also we can now
1295 properly handle the case where multiple button states
1296 have changed between polling cycles and we didn't get
1297 notified due to another client's grab.
1299 Synchronize the server while handling an XKB notification.
1300 Ugly, but apparently necessary to avoid nasty races.
1301 Check the mouse state on receipt of an XKB latch change,
1302 to decide whether to revert the latch or not. (Latches are
1303 reverted if there is an immediately preceding mouse button
1304 event that a client has consumed, in which case we don't want
1305 the user to see the side-effect of the event).
1306 (spi_device_event_controller_forward_mouse_event):
1307 Check for modifier events and fire before resetting mouse_mask_state,
1308 prevents losing modifier events.
1310 (impl_generate_keyboard_event):
1311 If we've just generated a keyboard event for a non-shift key,
1312 we don't want to revert the pending XKB latch.
1313 Otherwise, check the modifier state (via a call to
1314 spi_dev_mouse_check) and set the relatch mask to
1315 that state before returning.
1317 2002-11-24 Bill Haneman <bill.haneman@sun.com>
1320 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
1323 * atk-bridge/bridge.c:
1324 (spi_atk_register_event_listeners):
1325 Don't re-register for ATK events if the registry has died
1326 and the app needs to re-register; the ATK listeners are in
1327 process and doing so will cause duplicate emission.
1329 * registryd/deviceeventcontroller.c:
1330 (spi_poll_mouse_moved):
1331 Reformat the source, detect and emit multiple button-change
1332 events (i.e. if multiple buttons have changed between poll
1334 Add code to detect mouse-down events even when the pointer
1335 is grabbed; workaround for GOK bug 98420.
1336 (spi_controller_register_with_devices):
1337 Call XTestGrabControl with 'impervious' flag set to True,
1338 allows us to synthesize events and query the pointer even during
1339 an active grab by another client.
1340 (spi_device_event_controller_forward_mouse_event):
1341 Set the mouse_mask_state to the mouse_button_state from
1342 the intercepted event, to synchronize the grab listener with
1345 2002-11-20 Bill Haneman <bill.haneman@sun.com>
1347 * cspi/spi_accessible.c:
1348 (AccessibleRole_getName):
1349 Added necessary strings for making this (deprecated)
1350 method work with the new role types.
1351 (init_role_table, role_table):
1352 Added definition of SPI_ROLE_APPLICATION.
1354 * libspi/spi-roletypes.h:
1355 Added SPI_ROLE_APPLICATION.
1357 * idl/Accessibility_Role.idl:
1358 Added ROLE_APPLICATION.
1360 * docs/reference/cspi/at-spi-cspi-decl.txt:
1361 Added SPI_ROLE_APPLICATION to docs.
1363 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
1365 * cspi/spi_accessible.c
1366 (cspi_init_role_table): Do not write beyond end of role_table.
1367 (Accessible_getRole): Use correct type for value returned by
1368 Accessibility_Accessible_getRole().
1370 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
1371 beyond end of role_table. (This fixes bug #98269)
1373 * libspi/application.c: Add include file spi-private.h for
1374 definition of spi_init_any_nil.
1376 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1380 * libspi/spi-private.h:
1381 Added DGB() macro, and extern int _dbg declaration.
1383 * registryd/registry.c:
1384 (definitions) storage for _dbg.
1385 (spi_registry_init):
1386 Get environment variable "AT_SPI_DEBUG".
1387 (spi_registry_set_debug):
1388 New method, to initialize _dbg value.
1389 (spi_listener_struct_new, spi_registry_object_finalize):
1390 (notify_listeners_cb):
1391 Changed fprintfs to use DBG and g_warning().
1393 * registryd/deviceeventcontroller.c:
1394 (_deregister_keygrab, spi_controller_register_device_listener):
1395 Changed debug/warning messages to use DBG macro.
1397 * libspi/listener.c:
1398 (impl_notify_event):
1399 Changed warning messages to use DBG macro and g_warning().
1401 * atk-bridge/bridge.c:
1402 (atk_bridge_init, spi_atk_bridge_get_registry):
1403 (spi_atk_bridge_exit_func):
1404 (spi_atk_bridge_property_event_listener):
1405 Changed status, warning, and error messages to use
1406 g_warning, g_message, and DBG macros.
1409 Read the state of the AT_SPI_DEBUG environment variable
1410 and set a local '_dbg' accordingly.
1412 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1414 FIXES for 98836, 98842, other bugs.
1417 Revved to 1.1.4, interface-age=4, binary-age=4.
1419 * registryd/deviceeventcontroller.c:
1421 Fixed crasher bug in last_mouse_pos initialization.
1423 * registryd/registry.c:
1424 (desktop_add_application, desktop_remove_application):
1425 Added (and then commented out) some support for
1426 object context marshalling. [TODO]
1428 * atk-bridge/bridge.c:
1429 (spi_atk_bridge_event_context_create):
1430 Commented out object context creation until it can
1431 be properly tested and debugged.
1433 * registryd/registry.c:
1434 (impl_registry_notify_event):
1435 Fixed crasher bug, we were calling
1436 spi_re_entrant_list_foreach () with an empty list.
1438 2002-11-18 Bill Haneman <bill.haneman@sun.com>
1440 * idl/Accessibility_Action.idl:
1441 * idl/Accessibility_Component.idl:
1442 * idl/Accessibility_Desktop.idl:
1443 * idl/Accessibility_Event.idl:
1444 * idl/Accessibility_Hyperlink.idl:
1445 * idl/Accessibility_Image.idl:
1446 * idl/Accessibility_Relation.idl:
1447 * idl/Accessibility_Selection.idl:
1448 * idl/Accessibility_State.idl:
1449 * idl/Accessibility_Value.idl:
1450 Updated unimplemented slot count to minimum of
1451 four for all interfaces, for ABI freeze.
1453 * idl/Accessibility_EditableText.idl:
1454 * idl/Accessibility_Text.idl:
1455 Updated unimplemented slot count to six
1458 * idl/Accessibility_Registry.idl:
1459 Updated unimplemented slot count to six
1460 (also for DeviceEventController),
1463 * idl/Accessibility_Table.idl:
1464 Updated unimplemented slot count to eight,
1467 * idl/Accessibility_Event.idl:
1468 Added CORBA_any "any_data" member to Event struct.
1470 * idl/Accessibility_Event.idl:
1471 Added CORBA_any "any_data" member to Event struct.
1473 * atk-bridge/bridge.c:
1475 atk_signal_text_changed, atk_signal_child_changed,
1476 signal ids queried from gtype system.
1477 (AtkBridgeEventContextType): New enum.
1478 (AtkBridgeEventContextData): New struct.
1479 (AtkBridgeEventContext): New struct.
1480 (atk_bridge_init_event_type_consts):
1481 New method, initializes type contants for comparison
1482 prior to emit_eventv.
1483 (atk_bridge_event_context_init): New method,
1484 initializes a CORBA_any from an AtkBridgeEventContext.
1485 (atk_bridge_focus_tracker): Call spi_init_any_nil to
1486 initialize the event.any_data struct.
1487 (spi_atk_bridge_event_context_create): New method,
1488 creates an AtkBridgeEventContext from signal/event info.
1489 (spi_atk_bridge_event_context_free): New method.
1490 (spi_atk_emit_eventv): Changed to take an
1491 AtkBridgeEventContext parameter. We now initialize
1492 the event.any_data member prior to notifying the
1493 Registry, via the AtkBridgeEventContext.
1494 (spi_atk_bridge_property_event_listener):
1495 (spi_atk_bridge_state_event_listener):
1496 Match emit_eventv signature.
1497 (spi_atk_bridge_object_event_listener):
1498 Match emit_eventv signature, and create an
1499 event context from the event details.
1500 Free the event context afterwards.
1501 (spi_atk_bridge_window_event_listener):
1502 Create an event context, pass it to the
1506 (AccessibleEvent_getContextString):
1507 (AccessibleEvent_getContextObject):
1508 New methods, allow query of AccessibleEvent objects
1509 for more context details (via the "any_data" member
1510 of the Event struct, above).
1513 Definitions for AccessibleEvent_getContextString
1514 and AccessibleEvent_getContextObject.
1516 * cspi/spi_listener.h:
1517 (InternalEvent): New struct.
1520 (AccessibleEvent_getContextString):
1521 (AccessibleEvent_getContextObject):
1522 Implementations of new methods, for obtaining
1523 additional context information from some event types.
1525 * cspi/spi_registry.c:
1526 (SPI_registerGlobalEventListener):
1527 Added mention of active-descendant-changed event in docs.
1529 * cspi/cspi-bonobo-listener.c:
1531 Marshal the any into the AccessibleEvent via
1534 * libspi/spi-private.h:
1535 #include <orbit/orbit.h>
1537 (spi_init_any_string):
1538 (spi_init_any_object):
1539 New convenience function declarations.
1543 (spi_init_any_string):
1544 (spi_init_any_object):
1545 New convenience function implementations.
1547 * registryd/deviceeventcontroller.c:
1548 (spi_poll_dec_mouse_moved):
1549 (spi_device_event_controller_forward_mous_event):
1550 Initialize any_data member of event.
1551 (spi_deregister_controller_device_listener):
1552 Fix incorrect param pass which was preventing deregistration.
1554 * registryd/registry.c:
1555 (desktop_add_application):
1556 (desktop_remove_application):
1557 Add object data to event's any_data before dispatch.
1559 Fix for error messages from GAIL.
1561 * test/event-listener-test.c:
1562 Test new ContextString and "any_data" API:
1563 (report_text_event): New method query and output context string.
1564 (main): register a new text listener with report_text_event
1567 2002-11-19 Darren Kenny <darren.kenny@sun.com>
1569 Fixes for bugs 98127 and 97914.
1570 * cspi/spi-roletypes.h:
1571 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
1573 * cspi/spi-statetypes.h:
1574 Added SPI_STATE_MANAGES_DESCENDANTS
1576 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
1577 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
1578 * cspi/spi_accessible.c:
1579 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
1580 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
1581 Accessibility_STATE_MANAGES_DESCENDANTS
1582 * libspi/accessible.c:
1583 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
1584 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
1585 As requested by Bill, I also cleaned up the alignment.
1586 * libspi/relation.c:
1587 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
1588 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
1589 * libspi/stateset.c:
1590 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
1591 Accessibility_STATE_MANAGES_DESCENDANTS
1592 * docs/reference/cspi/tmpl/spi_accessible.sgml:
1593 Document changes reflecting modifications to roles.
1594 * docs/reference/cspi/tmpl/spi_relation.sgml:
1595 Document changes reflecting modifications to relations.
1596 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1597 Document changes reflecting modifications to states.
1599 2002-11-17 Bill Haneman <bill.haneman@sun.com>
1602 Revved to 1.1.3, interface-age=3, binary-age=3.
1603 Added REBUILD macro.
1606 Removed accessx-gui from the tests, since we have a nice
1607 keyboard accessibility capplet now :-)
1609 * test/keysynth-demo.c:
1610 (increment_scan): removed do-nothing default: case,
1613 * test/visual-bell.c:
1614 (main) : removed do-nothing default: case,
1617 * cspi/spi_action.c:
1618 (AccessibleAction_getKeyBinding_):
1619 Documented keybinding string format.
1623 (AccessibleText_getAttributes):
1624 Documented the text attribute string format.
1625 It's changed to use semicolon delimiters also,
1626 to prevent clashes with CSS attributes, but the old
1627 trick of looking for ", " strings will still work
1628 (as unreliably as ever). Fix for bug related to 97916.
1631 Include <cspi/bonobo/cspi-bonobo-listener.h>
1632 Fixes build warning.
1633 (SPI_freeAccessibleKeySet):
1634 (AccessibleKeystrokeListener_addCallback):
1635 (AccessibleKeystrokeListener_removeCallback):
1636 Modify to use AccessibleDeviceListener API internally,
1637 instead of AccessibleKeystrokeListener.
1639 * idl/Accessibility_Event.idl:
1640 Added two more empty slots to EventListener (for a total of four).
1642 * idl/Accessibility_Accessible.idl:
1643 Added four empty slots to Accessible interface.
1645 2002-11-15 Bill Haneman <bill.haneman@sun.com>
1647 * idl/Accessibility_Registry.idl:
1648 (KeyEventType, EventType):
1649 Marked KeyEventType as deprecated; it duplicates
1650 functionality of EventType, which has been extended to
1651 include Mouse-button events.
1652 (KeyEventTypeSeq): defined in terms of EventType.
1653 (registerDeviceEventListener, deregisterDeviceEventListener):
1654 New methods, for managing listeners to device events,
1655 which potentially may consume them.
1658 Added definition for AccessibleDeviceListener.
1660 * cspi/spi-listener.h:
1661 (enum AccessibleDeviceEventType):
1662 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
1663 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
1664 for backwards compat.
1665 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
1666 and typedef'd AccessibleKeystroke to it for back-compat.
1667 (AccessibleDeviceListenerCB):
1668 New function prototype typedef.
1671 (AccessibleDeviceEventMask): New typedef.
1672 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
1673 (AccessibleKeyMaskType):
1674 Set equivalent to AccessibleModifierMaskType for back-compat.
1675 (SPI_createAccessibleKeystrokeListener):
1676 (AccessibleKeystrokeListener_unref):
1677 Deprecated in favor of equivalent (better-named) new API below..
1678 keystroke listeners are like all device listeners.
1679 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
1680 New API names for old features :-).
1681 (AccessibleDeviceListener_addCallback):
1682 (AccessibleDeviceListener_removeCallback):
1683 (SPI_registerDeviceEventListener):
1684 (SPI_deregisterDeviceEventListener):
1688 (SPI_createAccessibleKeystrokeListener):
1689 Use new preferred API, cspi_device_listener_new() and
1690 cspi_device_listener_add_cb().
1691 (AccessibleKeystrokeListener_removeCallback):
1692 Use new preferred API, cspi_device_listener_remove_cb().
1693 (AccessibleKeystrokeListener_unref):
1694 Use new preferred API, cspi_device_listener_unref().
1695 (SPI_createAccessibleDeviceListener):
1696 (AccessibleDeviceListener_addCallback):
1697 (AccessibleDeviceListener_removeCallback):
1698 Implementation of new API.
1700 * cspi/spi_registry.c:
1701 (SPI_registerDeviceEventListener):
1702 (SPI_deregisterDeviceEventListener):
1703 Implementation of new API. Fixed memory leak and removed need to
1704 allocate EventTypeSeq (thanks Michael for catching this).
1705 Squashed a wayward CORBA_exception_free that shouldn't get called.
1707 * cspi/bonobo/cspi-bonobo-listener.c:
1709 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
1710 (cspi_key_event): renamed to cspi_device_event().
1711 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
1712 Extended to handle mouse button events as well as key events.
1713 (CSpiKeystrokeListener):
1714 Class superceded by CSpiDeviceListener.
1715 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1716 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1718 * cspi/bonobo/cspi-bonobo-listener.h:
1719 (CSpiKeystrokeListener):
1720 Class superceded by CSpiDeviceListener.
1721 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1722 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1724 * libspi/Makefile.am:
1725 Replaced keystrokelistener.h and keystrokelistener.c
1726 with devicelistener.h and devicelistener.c; keystrokelisener.h
1727 stub retained for back-compat.
1729 * libspi/keystrokelistener.c:
1733 Replaced inclusion of keystrokelistener.h with devicelistener.h.
1735 * registryd/deviceeventcontroller.c:
1736 (DEControllerListener): Added Accessibility_EventTypeSeq member.
1737 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
1738 (DEControllerPrivateData): Added xkb settings data.
1739 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
1740 button release events (which can't be captured via XGrabButton).
1741 Don't dispatch via the 'normal' event mechanism if the device event was
1743 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
1744 Handle the typeseq data in its new location (see above).
1745 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
1746 New methods, for "generic" device listeners.
1747 (spi_controller_register_device_listener):
1748 Now handle mouse event listeners as well as key listeners.
1749 (spi_controller_notify_mouselisteners):
1750 New internal method.
1751 (spi_device_event_controller_forward_mouse_event):
1752 Now we notify mouse device listeners as well as generating the
1753 non-consumable "mouse:" events.
1755 We must check and restore the XKB
1756 modifier map if we consume the event, since the act of triggering
1757 a mouse event will normally reset the XKB latch. This is required for
1759 (spi_controller_register_with_devices):
1760 Load the XKB settings when registering, and register for XKB
1761 state notify events.
1762 (spi_key_eventtype_seq_contains_event):
1763 Renamed spi_eventtype_seq_contains_event, since it's used
1764 internally for all device event types now.
1765 (spi_key_event_matches_listener):
1766 Uses spi_eventtype_seq_contains_event now.
1767 (spi_device_event_controller_object_finalize):
1768 Free the private data and the XkbKeyboard struct.
1769 (impl_register_device_listener, impl_deregister_device_listener):
1770 Implementation of new IDL.
1771 (spi_deregister_controller_device_listener):
1772 New internal method.
1773 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
1774 More efficient implementation, we don't have to create a new
1775 XkbControls structure every time we query.
1776 (spi_device_event_controller_class_init):
1777 Initialize the epv entries for the new IDL. Assign the
1778 "spi-dec-private" quark.
1779 (spi_device_event_controller_init):
1780 Initialize the private data.
1781 (spi_device_event_controller_forward_key_event):
1782 Removed a bogus CORBA_exception_free() call.
1784 * registryd/deviceeventcontroller.h:
1785 Replaced inclusion of keystrokelistener.h with
1788 * test/event-listener-test.c:
1789 (report_mouse_event):
1792 Added mouse-event device listener.
1794 * test/test-simple.c:
1795 (create_test_window):
1796 Fixed regression (we were instantiating a GtkRange,
1797 which is now an abstract class). Also fixed to match
1798 existing AtkRole names, this seems to have changed in ATK
1799 awhile ago; too late now I think, and the new
1800 mechanism is at least elegant and consistent with the
1801 glib enum "nick" APIs.
1803 2002-11-15 Darren Kenny <darren.kenny@sun.com>
1805 * idl/Accessibility_Relation.idl:
1806 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
1807 RELATION_EMBEDS,RELATION_EMBEDDED_BY
1808 * idl/Accessibility_Role.idl:
1809 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
1810 * idl/Accessibility_State.idl:
1811 add STATE_MANAGES_DESCENDANTS
1812 * test/event-listener-test.c:
1813 Added a listener for active-descendant events.
1815 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
1817 * atk-bridge/bridge.c
1818 (atk_bridge_init): If application is Bonobo component wait until top
1819 level is added before registering
1820 (spi_atk_bridge_do_registration): New function which contains code,
1821 formerly in atk_bridge_init, to do application registration.
1822 (spi_atk_bridge_toplevel_added): Signal called when top level
1823 added to Bonobo component
1825 This fixes bug #83134.
1827 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
1829 * registryd/deviceeventcontroller.c
1830 Fixed compilation error caused by calling gettimeofday()
1833 2002-10-18 Bill Haneman <bill.haneman@sun.com>
1838 Added template for HAVE_XKB.
1841 Changes to check for XKB, and to set the HAVE_XKB #define if it
1844 * libspi/listener.c:
1845 ()impl_notify_event): Make failure to get event source name
1848 * registryd/deviceeventcontroller.c:
1849 (#include): include X11/XKBlib.h.
1850 (DEControllerPrivateData) : New struct.
1851 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
1853 (dec_synth_keycode_press) (dec_synth_keycode_release):
1854 New methods; split the key synthesis code into these methods.
1855 They check XKB settings before determining the "time" values to
1856 pass to Xtest; this fixes bug #95828.
1857 (impl_generate_keyboard_event): Changed to use methods above,
1858 instead of callng Xtest directly.
1859 (spi_device_event_controller_init): Initialize new privae struct s
1861 (spi_device_event_controllr_object_finalize):
1862 Free the (new) private data.
1864 * registryd/deviceeventcontroller.h:
1865 Add new gpointer to end of struct data.
1867 2002-10-16 Bill Haneman <bill.haneman@sun.com>
1870 Incremented revision to 1.1.2, SONAME is still '.so', library
1871 extensions are ".so.0.0.2".
1873 * registryd/deviceeventcontroller.c:
1874 FIXES FOR #93592 and #95940.
1875 (statics): renamed mouse_button_state to mouse_mask_state,
1876 added key_modifier_mask.
1877 (spi_dec_poll_mouse_moved):
1878 Added key modifier checks, and emit "keyboard:modifiers"
1879 events when the key modifiers currently in use change.
1880 Also generate "mouse:abs" events periodically, even if the mouse
1881 is stationary (should we?).
1882 Alternatively we could generate "mouse:abs" events for either all
1883 mouse movements, or every 'nth' mouse movement, or at the
1884 beginning and end of every "active" mouse period.
1886 * test/event-listener-test.c:
1887 (main): Added listener for "keyboard:modifiers" events.
1889 2002-10-15 Bill Haneman <bill.haneman@sun.com>
1891 * libspi/keymasks.h:
1892 Added key mask #defines for mouse buttons; e.g.
1893 SPI_KEYMASK_BUTTON1, etc.
1896 Incremented dependency on ATK to version 1.1.0. (This dependency
1897 is probably premature but will soon be real enough).
1899 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
1901 * libspi/hyperlink.[ch]
1902 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
1903 (get_hyperlink_from_servant): Check object is AtkHyperlink not
1906 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
1911 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
1913 * registryd/deviceeventcontroller.c
1914 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
1915 events to be ignored.
1916 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
1917 keyboard_mode so that XAllowEvents() can be called.
1921 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
1923 * cspi/spi-accessible.c: Correct names of roles returned by
1924 AccessibleRole_getName(). Fixes bug #95055.
1926 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
1928 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
1931 * registryd/registry.c
1932 (desktop_remove_application: Write diagnostic message to stderr for
1935 (impl_accessibility_registry_deregister_global_event_listener):
1936 Correct size of lists array. This addresses bug #94555).
1938 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
1940 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
1943 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
1945 * registryd/Makefile: Add CLEANFILES so that .server file is removed
1948 * registryd/registry.c (impl_registry_notify_event): Remove
1949 unnecessary call to parser_event_type().
1951 * docs/reference/cspi/tmpl/spi_component.sgml:
1952 Add reference to SPI_LAYER_WINDOW.
1954 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
1956 * registryd/registry.c
1957 (desktop_add_application): Remove leak.
1958 (desktop_remove_application): Remove leak.
1959 (parser_event_type): Remove leak.
1961 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
1963 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
1964 bogus call to CORBA_string_dup(). Also removed unnecessary
1965 g_string_dup/g_free calls.
1967 2002-09-13 Bill Haneman <bill.haneman@sun.com>
1969 * registryd/deviceeventcontroller.c:
1970 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
1972 * test/event-listener-test.c:
1973 main: commented out three redundant listeners, to reduce output
1974 noise. (They still are potentially useful for testing).
1977 2002-09-13 Michael Meeks <michael@ximian.com>
1979 * Update all the copyrights to include Ximian.
1981 2002-09-06 Mark McLoughlin <mark@skynet.ie>
1983 * cspi/spi.h: add SPI_LAYER_WINDOW.
1985 * cspi/spi_component.c: (AccessibleComponent_getLayer):
1986 add Accessibility_LAYER_WINDOW case.
1988 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
1990 * libspi/component.c: (impl_accessibility_component_get_layer):
1991 add ATK_LAYER_WINDOW case.
1993 2002-08-28 Bill Haneman <bill.haneman@sun.com>
1995 * configure.in: incremented micro version.
1997 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
1999 2002-08-20 Bill Haneman <bill.haneman@sun.com>
2002 Clarified and reworded our commit policy.
2005 Started an API "todo" addition list for 2.2.
2008 (impl_getSelection):
2009 Free char pointer from atk_text_get_selection, which was being leaked.
2011 2002-08-19 Bill Haneman <bill.haneman@sun.com>
2014 Small revision to author acknowledgement.
2016 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
2018 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
2019 If signal has detail add it to the type of the event.
2022 2002-08-12 Michael Meeks <michael@ximian.com>
2024 * test/test-simple.c (global_listener_cb): bin bogosity.
2025 (test_keylisteners): disable, still doesn't work reliably,
2026 certainly not on my system anyway.
2028 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
2029 don't leak a reference on the DEC. This round-trip
2030 fetching of the DEC per keystroke sucks, it should be
2033 * cspi/spi-private.h,
2034 * cspi/cspi-lowlevel.h,
2035 * cspi/bonobo/cspi-bonobo-listener.[ch],
2036 * cspi/bonobo/cspi-bonobo.c: get the copyright
2037 notices better - there is still a large amount of
2038 work in at-spi falsely attributed solely to Sun.
2040 * cspi/spi_main.c (cspi_object_ref): kill bogus
2041 hash lookup, just increment the ref.
2042 (SPI_freeString): make explicit the fact that we
2043 handle NULL strings just fine.
2044 (report_leaked_ref): obey coding standards.
2045 (cspi_object_hash, cspi_object_equal): kill retval.
2046 (cspi_object_release): only release if not on loan.
2047 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
2048 (cspi_object_borrow, cspi_object_return): impl.
2050 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
2051 use cspi_object_borrow / return.
2053 2002-08-12 Darren Kenny <darren.kenny@sun.com>
2055 * cspi/bonobo/cspi-bonobo-listener.c:
2057 Don't call cspi_oject_new() because this is creating a new Accessible
2058 every single time that an event is fired. This causes ATs like at-poke
2059 to nolonger recognise the source of the event and thus ignore it.
2060 Re-use the object from the cache, ref it and then unref it after the
2061 listeners have been called.
2063 2002-08-06 Darren Kenny <darren.kenny@sun.com>
2065 * test/event-listener-test.c:
2066 Added command-line options to disable mouse events (m) and
2069 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
2071 * configure.in: Update required versions of ATK, GTK+ and GAIL
2073 * cspi-1.0.pc.in: Add dependency for X include files
2076 * cspi/bonobo/Makefile.am:
2077 Add $(X_CFLAGS) so that X include files
2078 are picked up even if not in standard place (bug #71686)
2080 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2082 * registryd/deviceeventcontroller.c: fix for 84261
2083 (spi_dec_mouse_moved):
2084 Added test of mouse button mask, so that we can detect mouse
2085 button release. Unfortunately we can't otherwise detect mouse
2086 button release events without consuming the mouse press event,
2087 because of the way XGrabButton works. This means that our mouse
2088 release events have a latency dependent on the polling period
2089 while the mouse button is down. At least in this case we only
2090 have to poll while the button is down, and not at other times.
2091 If the button masks don't match with what the last press event
2092 reported, we report the appropriate button release event.
2093 (spi_dec_ungrab_mouse):
2094 New method (not yet called).
2095 (spi_device_event_controller_forward_mouse_event):
2096 New method, sends mouse press event from GdkFilter.
2097 (spi_dec_init_mouse_listener):
2098 Added code to call XGrabButton, redirecting mouse button events to
2099 the root window and our Gdk event loop.
2101 Added code to filter mouse button events, and reordered.
2103 * test/event-listener-test.c:
2105 Added registration for mouse events of type "mouse:button".
2107 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2109 * registryd/deviceeventcontroller.c: partial fix for 84261
2110 (spi_dec_poll_mouse_idle):
2111 New method, a timeout which checks to see if the mouse
2113 (spi_dec_poll_mouse_moving):
2114 A timeout to be called when mouse motion is underway.
2115 (spi_dec_poll_mouse_moved):
2116 A method which fires an event if the mouse has moved, and reports
2117 whether or not it did so.
2118 (spi_dec_init_mouse_listener):
2119 A method which sets up the timeouts above.
2120 (spi_device_event_controller_new):
2121 Now calls spi_dec_init_mouse_listener.
2123 * registryd/registry.c:
2124 (spi_registry_init):
2125 Now we initialize the device event controller when the registry is
2126 initialized, instead of waiting until a client has requested a key
2127 event notification; this is because we need the event controller
2128 for mouse events, but the mouse event registration API is a
2129 "registry" call and doesn't explicitly call the
2130 deviceeventcontroller.
2131 We now report mouse motion events with a 100 ms idle latency and
2132 a 20 ms granularity when motion is in progress.
2134 * test/event-listener-test.c:
2136 We now register the "detail listener" for events of type
2137 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
2138 delivered only for the first mouse event received, and thereafter
2139 "mouse:abs" events are delivered.)
2141 * cspi/spi_registry.c:
2142 DOCS: Documented the above mouse event typestrings.
2144 2002-06-21 Bill Haneman <bill.haneman@sun.com>
2146 Happy Summer Solstice...
2148 * registryd/deviceeventcontroller.c: [fix for bug 84100]
2149 (spi_controller_notify_keylisteners):
2150 Changes to remove a listener from the listener list, freeing its
2151 open keygrabs, if a notification to that listener fails. This
2152 means that although a dead listener can continue to hold a passive
2153 keygrab, a maximum of one dispatch to such a listener can fail
2154 before the listener is removed from the list, thus the keygrab
2155 will be released on the next occurrence.
2156 As part of this fix:
2157 (spi_notify_keylisteners):
2158 Renamed to spi_controller_notify_keylisteners, as the controller
2159 instance must now be passed as an argument.
2160 The copied 'notify' GList is now a list of DEControllerKeyListener
2161 objects, since we need more than just the CORBA reference if a
2162 notify fails and we need to deregister the listener.
2163 (impl_notify_listeners_sync):
2164 (impl_notify_listeners_async):
2165 (spi_device_event_controller_forward_key_event):
2166 Modify use of notify_keylisteners in accordance with above
2168 (spi_deregister_controller_key_listener):
2169 New method introduced by refactoring, from
2170 impl_deregister_keystroke_listener.
2171 (impl_deregister_keystroke_listener):
2172 Call spi_deregister_controller_key_listener.
2173 (spi_key_listener_clone):
2174 New method to copy a key listner without doing a 'ref' on the
2175 remote object instance; used to create a notifier list.
2176 (spi_key_listener_data_free):
2177 New method, frees data without unreffing the source.
2179 (spi_key_listener_clone_free): new method.
2180 (spi_key_listener_free):
2181 refactored to call spi_key_listener_data_free.
2183 2002-06-20 Bill Haneman <bill.haneman@sun.com>
2185 * registryd/registry.c: [fix for bug 86048]
2186 (notify_listeners_cb):
2187 Clear CORBA system exceptions which occur when notifying
2188 listeners, before returning to the source of the original event,
2189 since the event source doesn't care if the relayed notify failed.
2190 In other words, don't complain to the atk-bridge if the registry
2191 could not notify all its listeners, that's no fault of the
2192 application and thus should not appear to be an error from the
2193 application's perspective.
2195 * cspi/spi_main.c: [fix for bug 85980]
2197 Replaced use of bonobo_object_dup_ref with call to the wrapper
2198 method, csou_dup_ref (); this silences a compiler warning and
2199 provided more portability.
2201 Ping the registry before return, and restart if necessary.
2203 * cspi/bonobo/cspi-bonobo.c:
2205 New internal method.
2207 Fixed this method to return an object reference, as it should have
2210 * cspi/cspi-lowlevel.h:
2211 Added internal definition for cspi_ping() and fixed
2212 return type of cspi_dup_ref().
2215 2002-06-19 Bill Haneman <bill.haneman@sun.com>
2217 * atk-bridge/bridge.c: [fix for bug 85305]
2218 (spi_atk_bridge_register_application):
2219 New method where the initial application registry calls have been
2220 moved; it allows an application to re-register in response to
2221 certain error conditions (such as a registry restart, see below).
2223 Moved some initialization code to the method
2224 spi_atk_bridge_get_registry, below.
2225 (spi_atk_bridge_get_registry):
2226 New, private accessor function for the Accessibility_Registry
2227 instance. If the registry has not been started before, or has
2228 died (as detected by failure of a CORBA exception), it is
2229 restarted before return, and spi_atk_bridge_register_application
2230 is called again to register with the new bridge instance.
2231 (spi_atk_emit_eventv):
2232 Set registry_died on error; use spi_atk_bridge_get_registry () to
2233 access the registry.
2235 * registryd/registry.c:
2236 (impl_accessibility_registry_register_global_event_listener):
2237 Set listener's event_type_quark to etype.minor instead of
2238 etype.major (fix for bug 84856).
2240 * test/event-listener-test.c:
2241 (report_detail_event):
2242 Change the output string so that user/tester can tell that the
2243 'detail listener' was called instead of the 'generic listener'.
2245 2002-06-18 Bill Haneman <bill.haneman@sun.com>
2247 Fixes for bugs 84900, 84908, 84897, 84898.
2252 Revved version to 1.1.0
2253 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
2254 version is going to HEAD which will be used for gnome-2-0-1 and later.)
2256 * idl/Accessibility_Registry.idl:
2257 (EventListener::notifyEvent):
2258 Removed 'oneway' directive after extensive consulation with
2259 ORBit2 team and others. This means also that unref() of the event
2260 source can and should be done synchronously after emission, rather
2261 than remotely in the client, after servicing the notify call on
2264 NOTE: This change speeds up listener performance considerably, but
2265 introduces new latency on the application side. We may want to
2266 add an event queue to the atk-bridge.
2268 * atk-bridge/bridge.c:
2269 (spi_atk_bridge_focus_tracker):
2270 Do a local unref() on the event source after emission.
2272 * registryd/registry.c:
2273 (desktop_remove_application):
2274 Do an unref() on the event source after emission.
2275 (desktop_add_application):
2276 Do an unref() on the event source after emission.
2277 (notify_listeners_cb):
2278 When relaying an event, don't automatically add the event source
2279 to the local object cache, just CORBA_dup it instead. Likewise,
2280 if this method reenters, release the ref rather than calling
2282 (impl_registry_notify_event):
2283 No longer call remote unref() on the event source after dispatch.
2285 * libspi/eventlistener.c:
2286 (impl_accessible_event_notify_event):
2287 Removed remote unref ()
2289 * cspi/bonobo/cspi-bonobo-listener.c:
2291 We now call cspi_object_new() instead of cspi_object_add() on
2292 receipt of an event; thus we only have an implicit object ref
2293 while the cspi_event method is being executed. If we need to keep
2294 a reference to the object, the listener must call ref() on the
2295 object. Thus also we don't need to call cspi_object_unref() after
2296 invoking the listener callbacks in this method.
2300 New internal API for creating a new cspi object, without adding it
2301 to the object cache.
2303 Now uses cspi_object_new() to create the cspi object instance.
2305 Now checks to see if the object is in the internal object cache,
2306 and adds it if necessary before incrementing its refcount (note
2307 that new objects are added with a refcount of 1).
2308 (report_leaked_ref):
2309 New method which gives some information on leaked object instances
2310 if leak detection is turned on.
2312 * test/event-listener-test.c:
2313 (timing_test_event):
2314 New method, used for testing event delivery timing for special
2315 events of type "object:test". It reports elapsed time and
2316 events/sec every 500 events.
2318 Added a new listener, 'test listener', to check timing of event
2319 receipt as noted above.
2321 Added some timing output here also, reports elapsed time every 100
2324 * test/stress-test.c:
2325 Emit events of type "object:test", for use with "event-listener-test".
2327 * test/test-simple.c:
2328 (global_listener_cb):
2329 Call Accessible_ref() on the event source before calling
2330 validate_accessible, since the validation process does pointer
2331 comparisons on the event source, meaning that the event source
2332 needs to be added to the local object cache first. Any use of
2333 such pointer comparisons between Accessible objects requires that
2334 the caller hold an explicit reference to those objects.
2335 We also must therefore call Accessible_unref() when leaving this method.
2337 2002-06-13 Bill Haneman <bill.haneman@sun.com>
2339 * registryd/deviceeventcontroller.c:
2340 (spi_controller_update_key_grabs):
2341 Fix for #84735, subsequent keygrab listeners not informed of
2342 registration failure.
2345 (spi_base_construct):
2346 Add an assertion on construct, to make sure the GObject passed in
2347 is really a GObject.
2349 Explicitly initialize object->gobj pointer to NULL;
2351 * cspi/bonobo/cspi-bonobo-listener.c:
2352 (cspi_object_add_ref):
2353 New method, can specify whether to dup-ref a bonobo object passed
2354 in if it's newly added to the object cache.
2356 Now calls cspi_object_add_ref with second param of "FALSE". This
2357 prevents us from doing a pointless dup-ref followed by
2358 release-unref for all those cases where the object is already in
2359 our object cache (fix for #85205).
2361 * atk-bridge/bridge.c:
2362 (spi_atk_bridge_idle_init):
2363 Removed this method, we don't need to initialize in an idle
2366 Changed to call spi_atk_register_event_listeners directly, not via an
2367 idle handler. (fix for #81139)
2368 (gnome_accessibility_module_shutdown):
2369 Removed conditional around deregistration of listeners, since we
2370 don't use the idle handler and thus have always registered when
2372 (spi_init_keystroke_from_atk_key_event):
2373 Changed references to Accessibility_KEY_PRESSED to
2374 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
2376 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2378 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
2383 * test/stress-test.c:
2386 (may have been an incomplete commit yesterday?)
2388 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2391 Added target for new stress-test.
2393 * test/stress-test.c:
2394 New test, sends 1000 focus notifies in quick succession.
2396 * test/key-listener-test.c:
2397 Now we report whether a keylistener registration
2398 request succeeded or failed.
2400 * test/event-listener-test.c:
2401 Uncommented some listeners which are now implemented.
2404 2002-06-06 Bill Haneman <bill.haneman@sun.com>
2406 * registryd/deviceeventcontroller.c:
2407 (spi_controller_update_key_grabs):
2408 Fix for #82509, lack of failure notification when
2409 ALL_WINDOWS keygrabs fail due to XGrabKey
2410 failure: we synchronize the server when
2411 registering a passive grab, to make sure we get the
2412 error message before the call returns.
2414 2002-06-03 Bill Haneman <bill.haneman@sun.com>
2416 * test/test-simple.c:
2418 Removed #ifdef KEY_IMPL_WORKS guards.
2419 (test_keylisteners):
2420 Removed #ifdef KEY_IMPL_WORKS guards.
2421 Fixed bug which was causing a hang waiting for a
2422 "press" event (which was already overwritten by a "release"
2423 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
2425 Added code to set globals 'key_press_received' and
2426 'key_release_received'.
2429 Added section "1.1 API Proposed Additions" which
2430 lists API additions desired for at-spi-1.1 (only one so far).
2431 Updated TODO list a little.
2433 2002-06-02 Bill Haneman <bill.haneman@sun.com>
2435 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
2438 * configure.in: Revved to 1.0.0.
2440 * idl/Accessibility_Registry.idl:
2441 (registerKeystrokeListener):
2442 Added boolean return value.
2444 * registryd/registry.c:
2445 (notify_listeners_cb): Minor fix to debug output.
2447 * registryd/Accessibility_Registry.server.in.in:
2448 Revved version number in OAFIID to 1.0.
2450 * registryd/registryd.c:
2452 Use new OAFIID version.
2454 * cspi/bonobo/cspi-bonobo.c:
2456 Use new OAFIID version.
2462 * atk-bridge/bridge.c:
2464 Use new OAFIID version.
2466 * registryd/deviceeventcontroller.c:
2467 (impl_register_keystroke_listener):
2468 Added CORBA_boolean return value.
2469 (spi_controller_register_device_listener):
2470 Added gboolean return value.
2471 (spi_controller_register_global_keygrabs):
2472 Added gboolean return value.
2473 (spi_key_set_contains_key):
2474 Added implementation for many more control keys,
2475 for instance F1-F12, arrow keys, End, Home, Page_Up,
2477 [TODO: some still not implemented].
2479 * text/screen-review-test.c:
2480 (text_chunk_pad_string):
2481 New function: it provides mapping between coordinate
2482 positions of text chunks and character positions in the
2483 screen-review-line output string.
2484 (text_chunk_to_string):
2485 New function, calls text_chunk_pad_string with various
2486 pad/delimiter characters. Pushbuttons are delimited with
2487 square brackets, Frames with vertical 'pipe' lines, and
2488 other text with double quotes.
2489 (text_chunk_list_to_string):
2490 Calls new function text_chunk_to_string.
2491 (toplevel_composite):
2492 New function to composite layers CANVAS through
2493 POPUP in each toplevel (other layers are composited
2494 across toplevels, i.e. BACKGROUND and OVERLAY).
2495 (review_buffer_composite):
2496 Revise to use new methods.
2502 2002-05-31 Laszlo Peter <laca@sun.com>
2504 * configure.in: add the Xtst libdir to the runpath on Solaris,
2505 since it's not in the default library search path.
2507 2002-05-29 jacob berkman <jacob@ximian.com>
2509 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
2511 2002-05-29 Bill Haneman <bill.haneman@sun.com>
2513 * test/screen-review-test.c:
2514 (text_chunk_pad_string):
2515 Added method, which pads the string according to the
2516 text bounds of the chunk. It also takes a 3-character
2517 string as a param which indicates the characters to be
2518 used for start, padding, and end delimitation of the chunk.
2519 (text_chunk_to_string):
2520 Changed to use text_chunk_pad_string.
2522 * configure.in: Fixed bug in AC_OUTPUT that was
2523 causing path substitution in Accessibility_Registry.server
2526 2002-05-23 Bill Haneman <bill.haneman@sun.com>
2528 * text/screen-review-test.c:
2529 (guess_string_clip):
2530 New method which attempts a best-guess at clipping
2531 text from components (like Java labels) which don't
2532 actually implement AccessibleText. This inaccurate
2533 clip is based on the assumption that the label is
2534 justified left-and-right, and monospaced.
2535 (text_chunk_get_clipped_string):
2536 We now call guess_string_clip() for text-containing
2537 components that don't implement AccessibleText.
2539 * test/screen-review-test.c:
2540 (review_buffer_get_text_chunk):
2541 We now pull "name" from labels if they do not implement
2542 AccessibleText (i.e. for Java labels).
2543 (get_screen_review_line_at):
2544 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
2547 Replaceded AC_OUTPUT target
2548 registryd/Accessibility_Registry.server with
2549 registryd/Accessibility_Registry.server.in.
2551 * registryd/Accessibility_Registry.server.in:
2552 Removed (this is now a Makefile target).
2554 * registryd/Accessibility_Registry.server.in.in:
2555 Added (source for target above). We now use $(libexecdir) as
2556 prefix for the executable at-spi-registryd.
2558 * registry/Makefile.am:
2559 Now install at-spi-registryd into $(libexecdir), and build .server
2560 file with path (see above).
2562 2002-05-22 Bill Haneman <bill.haneman@sun.com>
2564 * test/screen-review-test.c:
2565 (text_chunk_get_clipped_string):
2566 We now check to see if words fall within clip bounds
2567 before resorting to character-by-character clip bounds testing.
2569 * TODO: Added a section for "2.2 Proposed API Additions".
2571 2002-05-21 Bill Haneman <bill.haneman@sun.com>
2573 * test/screen-review-test.c:
2575 Added a screen review benchmarking and test program to test
2578 * cspi/spi_accessible.c:
2580 Made some of the debug strings passed to cspi_check_ev a
2581 little more specific.
2583 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
2585 * test/screen-review-test.c: Fix crashes in debug statements
2587 2002-05-20 Bill Haneman <bill.haneman@sun.com>
2589 * test/screen-review-test.c: Added this file.
2591 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2593 * atk-bridge/bridge.c: changed "object:state-change" to
2594 "object:state-changed" to match docs.
2596 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2598 * atk-bridge/bridge.c: Hooked up state-change event details.
2600 2002-05-11 Bill Haneman <bill.haneman@sun.com>
2602 * registryd/registry.c:
2603 Fixed quarking bug in event string parsing; now events with
2604 detail parameters get matched correctly to listeners.
2607 * util/idl/Magnifier.idl: remove.
2609 * util/*.[ch]: Remove.
2610 Magnification utilities and IDL are now in module gnome-mag.
2612 2002-05-10 Bill Haneman <bill.haneman@sun.com>
2614 * registryd/deviceeventcontroller.c:
2615 Fixed bug in grab key conversion which was causing keycode grabs
2616 to be converted to AnyKey grabs.
2619 updated NEWS file to reflect recent spin-off of gnome-mag.
2621 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
2623 * cspi/spi_accessible.c: Added exception checks. Fixed completely
2624 busted AccessibleStateSet_compare. Removed redundant casts.
2626 * cspi/spi-action.c: Removed redundant casts.
2628 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
2630 * cspi/spi_component.c: Fixed typos and casting error.
2632 * cspi/spi_editabletext.c: Removed redundant casts.
2634 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
2636 * cspi/spi_hypertext.c: Eliminated redundant casts.
2638 * cspi/spi_image.c: Eliminated redundant casts.
2640 * cspi/spi_registry.c: Eliminated redundant casts.
2641 SPI_deregisterGlobalEventListenerAll () removed retval variable.
2642 * cspi/spi_selection.c: Removed redundant casts.
2643 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
2644 handling. Screen geometry and text offsets were being returned as 0
2645 on error which is technically valid-- changed these to return -1.
2646 Added marshaller for text boundary types to fix bug with boundary
2647 types being passed incorrectly to atk.
2649 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2652 * cspi/spi_registry.c:
2653 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
2654 which was uncovered by the recent key changes.
2656 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2658 * test/event-listener-test.c:
2660 Added new test, "event-listener-test";
2661 this code does two things; it benchmarks traversal time
2662 for the accessible hierarchy for the first running accessible
2663 app, and it connects listeners for all supported event types.
2664 It is thus useful as an example event listener and for
2665 diagnostics/debugging of event generation.
2667 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2670 Removed unnecessary dependency on libutil.
2673 Revved micro version: 0.13.1
2675 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2678 Removed util/Makefile from targets.
2681 Removed util subdir from SUBDIRS (temporarily,
2682 pending removal of magnifier-only code
2686 #ifdef-ed out magnifier dependencies, since
2687 magnifier IDL, headers, and binary now live in
2688 module gnome-mag and we don't want at-spi to depend
2689 on gnome-mag. A magnifier demo which can run alongside
2690 simple-at is forthcoming in the gnome-mag module.
2692 NOTE: Split magnifier binary, IDL, and magnification
2693 activation code from at-spi into module gnome-mag.
2695 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
2697 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
2698 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
2700 2002-05-03 Bill Haneman <bill.haneman@sun.com>
2703 Revved to version 0.13.0
2705 * idl/Accessibility_Registry.idl:
2706 Changed definition of KeySet from sequence of longs to sequence of
2707 KeyDefinitions, and added KeyDefinition struct.
2708 Required for fix to bug 80616.
2710 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
2711 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
2712 to use new definition (see above).
2714 * registryd/deviceeventcontroller.c: handle_keygrab(),
2715 spi_keyset_contains_key():
2716 Changed to make use of new struct; this allows matching based on
2717 string key-name, for instance "Tab". This also allows matching of
2718 composed characters, non-alphanumeric characters in a way that
2719 doesn't involve dependencies on X keysym codes directly, etc.
2721 * test/key-listener-test.c:
2722 Added test for Alt-Tab key using "string" specification of keyset,
2723 and modified one of the tests to use a keycode-based keyset.
2724 Thus this test both tests and demonstrates the creation and use of
2725 keysets of three forms: specified via keycode array,
2726 keysym array, and string array. (The string case only contains a
2727 single string, i.e. a string array of length 1).
2730 Turned on PRINT_TREE option by default. Also fixed a
2731 string-freeing bug in the PRINT_TREE code.
2732 Added a listener to window:minimize events.
2734 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
2736 * atk-bridge/bridge.c:
2737 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
2738 for window:activate and window:deactiveate
2739 (atk_bridge_property_event_listener atk_bridge_signal_listener
2740 atk_bridge_window_event_listener) Tidy debug code
2742 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
2744 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
2745 Fixed handling for NULL return value from ATK.
2747 * libspi/action.c libspi/component.c libspi/editabletext.
2748 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
2749 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
2750 Removed redundant casts.
2752 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
2753 Fixed off by one bug.
2755 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
2756 function not present in idl)
2758 2002-05-02 jacob berkman <jacob@ximian.com>
2760 * atk-bridge/Makefile.am: make atk-bridge a real module
2762 2002-04-26 Radek Doulik <rodo@ximian.com>
2764 * libspi/stateset.c (spi_init_state_type_tables): fix size of
2765 atk_state_types table
2767 2002-04-22 jacob berkman <jacob@ximian.com>
2770 * libspi/Makefile.am: add deps on the built files to help
2771 automake, and don't version the ORBit typelib
2773 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
2775 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
2776 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
2777 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
2778 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
2779 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
2780 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
2781 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
2782 libspi/accessible.h libspi/accessible.h libspi/base.h
2783 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
2784 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
2785 libspi/relation.h libspi/remoteobject.h libspi/selection.h
2786 libspi/spi-private.h libspi/statetset.h libspi/table.h
2787 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
2788 util/mag_client.h util/mag_control.c util/mag_image.c
2789 util/mag_image.h util/magnifier.c util/magnifier.h:
2790 Add missing file headers; standardize existing ones
2792 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
2794 * atk-bridge/bridge.c: Added window event support.
2796 2002-04-18 Michael Meeks <michael@ximian.com>
2798 * libspi/relation.c (impl_getNTargets): impl.
2799 (impl_getTarget): impl.
2801 * libspi/Makefile.am: fix stateset install.
2803 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2806 Started putting useful info in this file.
2808 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
2810 * atk-bridge/bridge.c:
2811 Propagate state-changed notifications to ATs
2813 * cspi/spi_registry.c: update docs to reflect actual behavior of
2814 state-change events.
2816 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2819 Incremented version to 0.12.1
2821 * util/mag_client.h:
2822 Add missing declaration for magnifier_exit,
2823 used by mag_control.c - Forte compiler didn't like
2824 the implicit redeclaration of the function :-(
2827 2002-04-16 Bill Haneman <bill.haneman@sun.com>
2830 Revved version to 0.12 due to API change (see below).
2832 * cspi/spi-roletypes.h:
2833 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
2834 definition from the inline docs, and added docs
2835 for SPI_ROLE_LAST_DEFINED.
2838 * cspi/spi_streamablecontent.c:
2839 Added missing seek_type parameter to
2840 (so far unused) method,
2841 AccessibleStreamableContent_seek().
2842 [ RT approval JodyG. ]
2845 Fixed docs for SPI_createAccessibleKeystrokeListener.
2847 * cspi/spi_registry.c:
2848 Fixed docs for SPI_KEYSET_ALL_KEYS.
2850 * docs/reference/cspi/at-spi-cspi-sections.txt:
2851 Added a number of missing APIs to SECTIONS.
2853 2002-04-16 Bill Haneman <bill.haneman@sun.com>
2855 * registryd/Makefile.am:
2857 * cspi/bonobo/Makefile.am:
2858 Add $(X_LIBS) to makefiles.
2860 2002-04-15 Bill Haneman <bill.haneman@sun.com>
2863 Revved version to 0.11.
2865 * libspi/component.c:
2866 Added implementation for grabFocus.
2868 * idl/Accessibility_Component.idl
2869 (Accessibility_Component_grabFocus):
2870 Made this method return boolean to indicate success or failure, to
2871 be consistent with cspi and the corresponding ATK method.
2873 * idl/Accessibility_Selection.idl
2874 (Accessibility_Selection_selectAll) :
2875 Made these methods return boolean to indicate success or
2876 failure, to be consistent with cspi and the corresponding ATK methods.
2878 * idl/Accessibility_EditableText.idl
2879 (Accessibility_EditableText_setTextContents,
2880 Accessibility_EditableText_insertText,
2881 Accessibility_EditableText_cutText,
2882 Accessibility_EditableText_deleteText,
2883 Accessibility_EditableText_pasteText):
2884 Made these methods return boolean to indicate
2887 * cspi/spi_editabletext.c:
2888 Made these methods return booleans.
2890 * libspi/selection.c:
2891 * libspi/component.c:
2892 * libspi/editabletext.c:
2893 Connected the boolean returns from ATK
2894 to the server-side code referenced above.
2896 2002-04-14 Bill Haneman <bill.haneman@sun.com>
2898 * idl/Accessibility_Table.idl: Added missing methods,
2899 Accessibility_Table_addRowSelection,
2900 Accessibility_Table_addColumnSelection,
2901 Accessibility_Table_removeRowSelection,
2902 Accessibility_Table_removeColumnSelection.
2905 Added C wrappers for above IDL:
2906 AccessibleTable_addRowSelection,
2907 AccessibleTable_addColumnSelection,
2908 AccessibleTable_removeRowSelection,
2909 AccessibleTable_removeColumnSelection.
2912 Added server-side implementation code for IDL above, connecting
2913 to pre-existing ATK api.
2915 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
2917 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
2919 * libspi/accessible.c: Added implementation fo
2920 Accessibility_Accessible_get_state.
2922 * libspi/libspi.h: Added stateset.h to the list of includes.
2924 * libspi/stateset.c: Fixed broken implementation.
2926 2002-04-13 Bill Haneman <bill.haneman@sun.com>
2929 Added implementation code for Accessibility_Magnifier_exit ().
2931 * util/mag_control.c:
2932 Added test code for above method; you can
2933 now kill an existing magnifier via
2934 ./mag_control q, from the util directory.
2936 * test/key-listener-test.c:
2938 Added a new test, for our key listener API.
2940 2002-04-11 Bill Haneman <bill.haneman@sun.com>
2942 * test/app.c, test/keysynth-demo.c:
2944 Replace use of snprintf with g_snprintf.
2945 (fix for bugzilla 78249)
2947 2002-03-27 Michael Meeks <michael@ximian.com>
2951 * util/Makefile.am (INCLUDES): fix.
2952 (DONT_DIST_SOURCE): don't distribute the
2955 * libspi/Makefile.am (dist-hook): ditto.
2957 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
2959 * libspi/hypertext.c:
2960 Fix warnings when yelp is used with atk-bridge
2962 2002-03-21 Michael Meeks <michael@ximian.com>
2964 * libspi/application.c (spi_application_new):
2965 use spi_accessible_construct so we use the AtkObject
2968 2002-03-19 Michael Meeks <michael@ximian.com>
2970 * registryd/registry.c (desktop_remove_application),
2971 (desktop_add_application): clean coding style.
2973 * registryd/desktop.c (spi_desktop_remove_application),
2974 (spi_desktop_add_application): kill re-enterency hazards.
2975 (spi_desktop_dispose): remove bogus redundant cast
2976 obscuring bug; fix bug too.
2977 (spi_desktop_init): make the desktop object immortal.
2979 2002-03-16 Bill Haneman <bill.haneman@sun.com>
2982 Added a #define-guarded tree-traversal step
2983 when enumerating the apps (diagnostic tool).
2985 2002-03-15 Bill Haneman <bill.haneman@sun.com>
2987 * idl/Accessibility_Role.idl:
2988 Added ROLE_DRAWING_AREA which seemed to be missing from the
2991 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2993 * cspi/spi-roletypes.h cspi/spi_accessible.c
2994 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
2997 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
2998 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
2999 AT when applications are added and removed from the desktop. This
3000 reverts the previous broken implementation using the backing
3001 AtkObject for the SpiDesktop.
3003 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3005 * registryd/desktop.c: emit the "children-changed::add" and
3006 "children-changed::remove" signals on the backing ATK object for
3007 the desktop so AT can tell when applications are started and shut
3010 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3012 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
3014 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3016 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
3018 * cspi/spi_accessible.c: Implemented c bindings for stateset support
3020 * cspi/state-types.h: synched with IDL and ATK
3022 2002-03-13 Bill Haneman <bill.haneman@sun.com>
3024 * libspi/accessible.c
3025 (impl_accessibility_accessible_get_child_at_index):
3026 Change return value for g_return_if_fail ()
3027 to CORBA_OBJECT_NIL instead of "0" (!)
3029 * registryd/Makefile.am:
3030 * registryd/Accessibility_Register.server.in:
3031 Changed name of executable, "registryd",
3032 to something more informative:
3035 2002-03-13 Michael Meeks <michael@ximian.com>
3037 * atk-bridge/bridge.c (atk_bridge_init): don't register
3038 if we're in a bonobo-component, rather than a bonobo app.
3040 2002-03-13 Michael Meeks <michael@ximian.com>
3042 * atk-bridge/bridge.c (gtk_module_init): split
3043 out body to (atk_bridge_init): here, since otherwise
3044 we get symbol conflicts and oddness when invoked
3045 from (gnome_accessibility_module_init): here (upd.)
3047 2002-03-11 Bill Haneman <bill.haneman@sun.com>
3050 New file. Explicitly allow "build sheriff" putbacks provided
3051 they are tested on Solaris.
3053 * docs/reference/cspi/Makefile.am:
3054 Added '-' to the "cp" command for index.sgml.
3055 ("patch by thomasvs, soon coming to a GUADEC near you")
3058 Incremented version number (0.9.0) for new release.
3059 Changed macro that checks for popt, to better detect
3060 obsolete versions of popt.
3063 Added X_LIBS to AC_SUBST, for applications
3064 that call Xlib API directly.
3067 2002-03-07 Bill Haneman <bill.haneman@sun.com>
3070 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
3073 Fix regression caused by hard-coding major
3074 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
3077 * test/test-simple.c (test_editable_text),
3078 (test_test): revert previous change (error was
3079 a regression in gail which is now fixed).
3081 2002-03-04 Michael Meeks <michael@ximian.com>
3083 * test/test-simple.c (test_editable_text),
3084 (test_text): pass G_MAXINT instead of '-1' for
3085 whole string - is this a good thing !?
3087 * cspi/spi_accessible.c
3088 (Accessible_getRelationSet): fix crasher bug
3089 overwriting the end of the array.
3091 * test/test-simple.c (validate_accessible): free,
3092 not g_free returned relation set.
3094 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
3096 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
3097 implemented stateset support
3099 * idl/Accessibility_State.idl: Made necessary changes to
3100 the IDL to support state sets.
3102 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3104 * registryd/deviceeventcontroller.c:
3105 Added implementation for generateMouseEvent.
3107 * cspi/spi_registry.c:
3108 Connected new implementation for generateMouseEvent
3111 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3114 Incremented revision (but no change in public API
3115 outside of 'utils', which are not installed public yet.)
3117 * libspi/component.c:
3118 Changed to use atk_component API for layers and
3119 mdi_zorder, instead of deprecated atk_object API.
3121 Magnification Utility Enhancements:
3124 Added implementation of createZoomRegion, clearAllZoomRegions,
3125 resizeZoomRegion. Added new commandline argument
3126 "--no-initial-region". Note that clearAllZoomRegions doesn't
3127 unmap the old '0' region as it should (yet), and the other
3128 methods only work when creating/resizing a single region,
3129 which is "region 0".
3130 (Code for multiple region support will be added later.)
3133 Now we raise the magnifier window each time it's refreshed;
3134 this will help keep it on top.
3136 * util/mag_client.h:
3137 Added simple wrappers for above, used by mag_control.
3138 For general use, it's recommended to use the bonobo magnifier
3139 control API directly instead of using these wrappers.
3142 Moved ZoomRegionData from magnifier.c to this file.
3144 * util/mag_control.c:
3145 Added some code to exercise new IDL implementations.
3147 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
3149 * libspi/text.c: Provide implementation for getAttributes.
3151 2002-02-04 Bill Haneman <bill.haneman@sun.com>
3154 Incremented revision.
3156 * test/test-simple.c:
3157 Replaced use of deprecated g_main_iteration with
3158 g_main_context_iteration.
3160 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
3163 Incremented revision for desktop alpha 2.
3165 2002-01-28 Mark McLoughlin <mark@skynet.ie>
3167 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
3170 * test/simple-at.c: include netinet/in.h.
3172 2002-01-24 Mark McLoughlin <mark@skynet.ie>
3174 * cspi/spi_accessible.c: (Accessible_getRelationSet):
3175 use NULL, not CORBA_OBJECT_NIL.
3177 * libspi/accessible.c:
3178 (impl_accessibility_accessible_get_relation_set):
3179 allocate the sequence correctly.
3181 * libspi/remoteobject.h: kill spi_remote_object_new.
3183 * test/test-simple.c: (validate_accessible): add code
3184 to test relation sets, now all we need is to figure
3185 out how to excercise this code path :/
3187 2002-01-18 Michael Meeks <michael@ximian.com>
3189 * test/test-simple.c
3190 (key_listener_cb): consume the key.
3191 (test_keylisteners): update.
3192 (main): wait for any pending unrefs on events.
3194 * registryd/deviceeventcontroller.c
3195 (spi_controller_update_key_grabs): only re-issue the
3196 grab on a key release.
3197 (spi_device_event_controller_forward_key_event):
3198 refresh the keygrabs before we notify the listeners,
3199 to reduce the X ungrab / re-grab race.
3200 (spi_controller_register_with_devices): remove
3201 XSelectInput - we do that with the gdk_window_ call.
3202 (_spi_controller_device_error_handler): return a value.
3203 s/GDK_DISPLAY/spi_get_display/
3205 2002-01-17 Michael Meeks <michael@ximian.com>
3207 * registryd/deviceeventcontroller.c
3208 (_deregister_keygrab): don't blow out the later
3211 * test/test-simple.c (test_keylisteners): do a
3212 more intelligent validation.
3214 2002-01-14 Michael Meeks <michael@ximian.com>
3216 * atk-bridge/bridge.c
3217 (gnome_accessibility_module_init),
3218 (gnome_accessibility_module_shutdown): impl.
3219 (gtk_module_init): protect vs. double inits.
3220 (add_signal_listener): impl.
3221 (spi_atk_bridge_state_event_listener): kill
3222 (deregister_application): split out of
3223 (spi_atk_bridge_exit_func): here.
3225 2002-01-18 Bill Haneman <bill.haneman@sun.com>
3228 Added caret tracking when using magnifier, and
3229 now use text bounds for focus tracking of text elements, rather than
3230 the component bounds - this is helpful for short text fields in long
3231 table cells, at high magnification.
3233 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3235 * registryd/deviceeventcontroller.c:
3236 Regression fix for keylistener de-registration; global keygrabs
3237 were not being released when deregisterKeystrokeListener was
3238 called in cspi, since
3239 Accessibility_DeviceEventController_deregisterKeystrokeListener
3240 was called with a zero-length keyset. That is because the cspi
3241 method, SPI_deregisterKeystrokeListener, does not take a keyset
3242 parameter but instead should remove all the key grabs held be a
3244 The code in impl_deregister_keystroke_listener was changed to copy
3245 the keylist from the listener instance previously registered with
3246 the DeviceEventController before releasing the grabs.
3248 * registryd/registry.c:
3249 * registryd/deviceeventcontroller.c:
3250 * libspi/spi-private.h:
3252 Changed spelling of "re-enterant" to "re-entrant" globally.
3254 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3256 * test/test-simple.c:
3257 Changed key listeners test - the test was slightly mis-using the
3258 (admittedly poorly documented) SPI_generateKeyboardEvent API.
3259 It now uses '=' as the key event listened to and generated,
3260 relying on a keysym match rather than assuming that keycode 33
3261 is always equal to keysym '!'.
3263 2002-01-15 Bill Haneman <bill.haneman@sun.com>
3266 Changed simple-at to use a specific keyset, rather than
3267 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
3268 manager, desktop, etc.
3270 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3272 * registryd/deviceeventcontroller.c:
3273 Replaced standard X error handler with a special handler that
3274 is non-fatal for failed keygrabs. This works around
3275 problems with keygrab clashes sometimes observed on
3277 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
3278 mouse handling code as yet).
3280 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3283 Incremented revision for desktop alpha release.
3286 Fixed a couple of the more glaring errors (still not
3289 2002-01-11 Michael Meeks <michael@ximian.com>
3291 * registryd/deviceeventcontroller.c
3292 (spi_device_event_controller_forward_key_event): kill
3293 XUngrabKey / XKeyGrab race.
3294 (spi_controller_grab_keyboard): rename to
3295 (spi_controller_update_key_grabs): this, and deal
3296 with incremental adding / removing grabs more
3298 (_register_keygrab): ensure we're not pending a remove.
3299 (spi_grab_mask_free): impl.
3300 (spi_controller_register_global_keygrabs): split out
3302 (handle_keygrab): impl.
3303 (_deregister_keygrab): impl.
3304 (spi_controller_deregister_global_keygrabs): impl.
3305 (spi_controller_update_key_grabs): re-issue the grab if
3306 we just recieved a notification.
3308 * test/test-simple.c (key_listener_cb): remove debug.
3310 * registryd/deviceeventcontroller.c
3311 (spi_controller_register_device_listener): after
3312 registering a global keygrab, actualy register it !
3313 don't wait for a timeout; doh !
3315 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
3316 to make it more readable / manipulable.
3317 s/grabmask/grab_mask/ s/refcount/ref_count/
3318 s/keyval/key_val/ s/modmask/mod_mask
3320 2002-01-08 Michael Meeks <michael@ximian.com>
3322 * registryd/deviceeventcontroller.c
3323 (spi_controller_register_with_devices): use gdk calls to
3325 (global_filter_fn): implement the filter.
3326 (spi_device_event_controller_check_key_event): rename to
3327 (spi_device_event_controller_forward_key_event): this & upd.
3328 (spi_get_display): replace with GDK_DISPLAY.
3330 * registryd/deviceeventcontroller.c
3331 (spi_controller_deregister_device_listener): unroll into
3332 (impl_deregister_keystroke_listener): here to simplify.
3333 (spi_controller_register_global_keygrabs): split cut and
3334 paste (!) out into (_register_keygrab): here, shorter & sweeter.
3335 (spi_controller_deregister_device_listener): remove.
3336 (impl_register_mouse_listener): remove, no mouse listener
3337 support in at-spi-1.0
3339 * registryd/registry.c
3340 (_device_event_controller_hook): kill.
3341 (spi_registry_init): upd.
3343 * registryd/deviceeventcontroller.c
3344 (spi_device_event_controller_class_init): upd.
3345 (spi_check_key_event): merge into.
3346 (spi_device_event_controller_check_key_event):
3347 here and kill strange static ev init, don't leak
3348 the x_event - nor dynamicaly allocate it.
3350 * registryd/registry-main.c (main): re-direct
3351 timeout to remove strange vtable mess.
3353 * registryd/deviceeventcontroller.c
3354 (remove_listener_cb): impl.
3355 (spi_controller_deregister_device_listener):
3356 fix re-enterancy hazard.
3358 2002-01-07 Michael Meeks <michael@ximian.com>
3360 * registryd/deviceeventcontroller.c
3361 (spi_device_event_controller_new): upd.
3362 (impl_notify_listeners_sync): upd. debug.
3363 (spi_notify_keylisteners): fix re-enterancy hazards,
3364 prettify, remove O(n*n) iteration.
3365 (spi_controller_grab_keyboard): fix iteration.
3366 (spi_check_key_event): re-format to suit coding style.
3367 Clean all the warnings - we're warning free.
3369 * registryd/deviceeventcontroller.h:
3370 * registryd/registry.h: make mutualy referential with
3371 typesafe forward references instead of (!) void pointer
3374 2002-01-11 Michael Meeks <michael@ximian.com>
3376 * cspi/spi_accessible.c (role_names): add a role name
3377 to sync this array with the enum; and make the regression
3380 2002-01-10 Michael Meeks <michael@ximian.com>
3382 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
3383 allow expansion of enumeration & kill warning.
3385 * test/test-simple.c (key_listener_cb): impl.
3386 (test_keylisteners): impl.
3388 * cspi/spi-listener.h: make listener signatures const
3389 on the provided (const) events.
3391 * test/keysynth-demo.c: upd. to const events.
3393 * test/simple-at.c: ditto.
3395 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3398 Rev the version to 0.5 (the previous tarball was named 0.4,
3399 even though the micro number was 3), so we need to rev upwards
3400 again for beta2/"desktop-alpha"
3403 Checked in a demo script, which requires editing before use!
3404 Proceed with caution.
3407 Fixed typo in header which was redefining SPI_ACTION_CLASS.
3409 * cspi/spi_accessible.c:
3410 Add a couple of missing enum initializations, and fix some enum
3413 * cspi/spi_registry.c:
3414 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
3416 * docs/reference/cspi/at-spi-cspi-sections.txt:
3417 Remove/fix a couple of broken document references.
3420 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
3421 as Alt-Control to listen for commands, since on some systems
3422 Control-Alt may already be grabbed.
3424 2002-01-10 Bill Haneman <bill.haneman@sun.com>
3427 Update version number to 0.4 for Beta2.
3429 * libspi/accessible.c, libspi/accessible.h:
3430 Expose spi_accessible_construct, to enable libgail-gnome
3431 construction from spi_accessible subtype.
3433 * utils/magnifier.c:
3434 Workaround for bug in some non-gnome-compliant window managers
3435 which made magnifier resize improperly.
3437 2002-01-09 Bill Haneman <bill.haneman@sun.com>
3439 * libspi/accessible.c: (spi_accessible_new) :
3440 Move the test for SPI_IS_REMOTE_OBJECT to
3441 spi_accessible_new_return, fixing a bug and compile time warning.
3443 2002-01-08 Michael Meeks <michael@ximian.com>
3445 * registryd/registry.c (parse_event_type): remove strndup.
3447 * libspi/Makefile.am (libspi_la_SOURCES): remove
3448 sources already included in the headers section.
3450 * libspi/util.c: add.
3452 * libspi/spi-private.h: add.
3454 * registryd/registry.c: update to moved list iterators.
3456 2002-01-05 Michael Meeks <michael@ximian.com>
3458 * test/simple-at.c (main): upd. auto-module set to atk-bridge
3460 * test/test-simple.c (main): ditto.
3462 2002-01-04 Michael Meeks <michael@ximian.com>
3464 * libspi/accessible.c (spi_accessible_new): remove 2nd,
3465 redundant construct.
3467 * registryd/registry.c
3468 (get_listener_list): impl.
3469 (impl_accessibility_registry_register_global_event_listener):
3470 re-impl. to simplify using ~, remove dodgy const cast off.
3471 (parse_event_type): constify.
3472 (impl_accessibility_registry_deregister_global_event_listener_all):
3473 re-write, more efficiency and simplicity, kill re-enterancy
3475 (compare_listener_corbaref, compare_corba_objects),
3476 (compare_listener_quarks): define out.
3477 (impl_accessibility_registry_deregister_global_event_listener):
3478 re-write for effiency, and nail re-enterancy hazard.
3479 (impl_accessibility_registry_get_desktop_list): impl.
3480 (re_enterant_list_delete_link): impl.
3481 (re_enterant_list_foreach): impl.
3482 (remove_listener_cb): impl.
3483 (_registry_notify_listeners): kill.
3484 (notify_listeners_cb): impl.
3486 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
3487 (SPI_getDesktopList): impl.
3489 * test/test-simple.c (test_desktop): test the methods.
3491 2002-01-03 Michael Meeks <michael@ximian.com>
3493 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
3494 keystrings since we free them
3495 (SPI_freeAccessibleKeySet): in here.
3497 * libspi/accessible.c (spi_accessible_new): kill warning,
3498 wonder what is going on with the constructor here.
3500 2002-03-01 Bill Haneman <bill.haneman@sun.com>
3502 * libspi/accessible.c (spi_accessible_new ()) :
3503 Added check to see if AtkObject is an SpiRemoteObject before
3504 creating an SpiAccessible.
3506 2002-05-01 Bill Haneman <bill.haneman@sun.com>
3508 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
3509 Enable keygrabs using the Control modifier, now that they are
3510 working properly (they were previously disabled).
3513 Change the command keygrab for this demo to "Control+Alt", so as
3514 to conflict with fewer other key commands on the system; this
3515 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
3517 Removed a pointlessly-chatty keylistener for unshifted keys
3518 (shifted keys are still reported).
3520 2002-02-01 Bill Haneman <bill.haneman@sun.com>
3522 * libspi/remoteobject.h:
3523 * libspi/remoteobject.c:
3524 Added definitions for special AtkObject subtype, required for
3525 support of remote components (specifically, used by BonoboControl
3526 accessibility implementation).
3528 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
3530 * cspi/spi.h: synched relation types with ATK
3532 * cspi/spi_accessible.c: Added implementations of
3533 AcccessibleRelation_* methods
3535 * idl/Accessibility_Relation.idl: added getRelationTypeName
3536 method. Synched known relation types with ATK. Allowed for
3537 relation type extension with the RELATION_EXTENDED type.
3539 * libspi/relation.c: Provided implementations for
3540 AccessibleRelation methods.
3542 2002-01-01 Bill Haneman <bill.haneman@sun.com>
3544 API tweaks for today's API 'freeze'.
3547 Added placeholder functions to allow future compatible expansion
3548 of the IDL interfaces.
3550 * idl/Accessibility_Registry.idl:
3551 Changed generateKeyEvent to generateKeyboardEvent. Changed
3552 signature of this method to accept an optional keystring in
3553 parameter (for complex text input synthesis) and changed use of
3554 simple 'boolean' parameter in registerKeystrokeListener to a
3555 struct, EventListenerMode.
3557 * cspi/spi_accessible.c:
3559 * cspi/spi_streamablecontent.c:
3560 Added references to AccessibleStreamableContent interface, and
3561 definition and implementation of AccessibleStreamableContent
3564 * cspi/spi_registry.c:
3566 Changed generateKeyEvent API to generateKeyboardEvent,
3567 taking a new (optional) keystring parameter to support complex
3572 Renamed directory (to better reflect its actual purpose, bridging
3573 from at-spi to ATK). The .so module is also now named
3576 * idl/Accessibility_Hypertext.idl:
3577 * libspi/accessible.c:
3578 * libspi/hypertext.h:
3579 * libspi/hypertext.c:
3580 Changed Accessibility_Hypertext to *not* derive from
3583 * cspi/spi_registry.c:
3584 Added list of legal event type names for 'window' events, which
3585 completes the registry event API.
3587 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
3589 * at-bridge/bridge.c: Added registration for separate
3590 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
3591 signals. If either of the first two parameters to the generic
3592 bridge signal handler are ints, they are passed on as event
3593 details. This allows an AT to determine what text was inserted.
3595 2001-12-21 Bill Haneman <bill.haneman@sun.com>
3597 * registryd/deviceeventcontroller.c:
3598 Fixed regressions in generateKeyEvent caused by the removal of
3599 gdk_init from registryd; we now use pure X calls to connect to the
3600 display, which makes sense because deviceeventcontroller already
3601 uses a fair bit of X API (should eventually be migrated to a
3602 'portability layer').
3604 * registryd/desktop.c:
3605 Fixed minor regression in spi_desktop_init, changed the way the
3606 desktop name is being set to work with new spi_base API
3607 (gobject-based, rather than AtkObject-based).
3609 * registryd/Makefile.am:
3610 Minor revision of makefile to use XTST_LIBS variable rather than
3611 hard-wiring the Xtst LD_ADD element.
3613 * test/keysynth-demo.c:
3614 Tweaked an output message; added initialization of the
3615 'keystrings' member of the "switch listener" key_set.
3617 * libspi/relation.c:
3618 Squashed compile-time warning.
3620 * libspi/accessible.c:
3621 Cosmetic and formatting fixes, renamed a static method.
3623 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
3625 * libspi/accessible.c
3627 * libspi/application.c
3630 * libspi/component.c
3631 * libspi/editabletext.c
3632 * libspi/hyperlink.c
3633 * libspi/hypertext.c
3635 * libspi/selection.c
3639 * registryd/desktop.c:
3640 Changed SpiBase to contain a GObject pointer rather than an AtkObject
3642 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3644 * idl/Accessibility_Registry.idl:
3645 Added boolean member 'is_text' to DeviceEvent. This is for the
3646 use of key events, and helps prevent ambiguity between composed
3647 key strings and keysym names, since both may potentially be
3648 returned in the 'event_string' member.
3650 * at-bridge/bridge.c:
3651 * registryd/deviceeventcontroller.c:
3652 Use the 'is_text' member when notifying device event listeners.
3653 Knon issue: composed characters are not dealt with correctly by
3654 the global key listener implementation yet.
3656 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3658 * at-bridge/bridge.c:
3659 Namespaced local static methods to spi_atk_bridge_* where
3660 previously named bridge_*, and spi_* elsewhere.
3662 * at-bridge/bridge.c:
3663 * cspi/bonobo/cspi-bonobo-listener.c:
3664 Added demarshalling/conversion for string member of
3665 Accessibility_DeviceEvent to AccessibleKeystroke.
3667 * registryd/deviceeventcontroller.c:
3668 Added code to fill the Accessibility_DeviceEvent key string value
3669 member for global key events (i.e. from XGrabKey), to match
3670 behavior of Accessibility_DeviceEvent from the toolkit key events
3671 from the bridge. Fixed timestamp in global key event notifications.
3674 Added printout of key event's string value to
3675 report_ordinary_key_event, for demo/debugging purposes.
3677 2001-12-15 Bill Haneman <bill.haneman@sun.com>
3679 * idl/Accessibility_Registry.idl:
3680 Removed Accessibility_KeyStroke structure in favor of generic
3681 Accessibility_DeviceEvent structure.
3682 Changed Accessibility_ControllerEventMask from a struct to an
3685 * at-bridge/bridge.c:
3686 Changed APIs to use DeviceEvent structure as above, and removed
3687 bogus casting between these event structures.
3689 * cspi/spi-listener.h:
3690 Added keystring member of AccessibleKeystroke structure, to enable
3691 matching on event "names" rather than only hardware codes and
3695 Added keystrings member of AccessibleKeySet struct, to allow
3696 matching on event names (as above).
3697 Added declarations for SPI_createAccessibleKeySet and
3698 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
3699 event modmasks directly as unsigned ints rather than structs with
3700 refcounts, in the DeviceEventController methods.
3702 * cspi/spi_registry.c:
3703 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
3705 * cspi/spi-roletypes.h:
3706 Added documentation of newly added SPI Roles.
3708 * cspi/bonobo/cspi-bonobo-listener.c:
3709 Changes in support of API changes above.
3711 * libspi/accessible.c:
3712 Converted APIs to use DeviceEvent structure (see IDL changes
3715 * registryd/deviceeventcontroller.c:
3716 Added DEControllerGrabMask structure to track keygrabs not only by
3717 modmask but by keyset as well; this allows us to do "global"
3718 (i.e. X) keygrabs on a per-key or keyset basis rather than always
3719 grabbing on AnyKey and then filtering after-the-fact.
3720 Bugfixes for event filtration mean that we don't get false matches
3721 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
3723 * registryd/deviceeventcontroller.c:
3724 Namespaced a number of static methods to use spi_ prefix. Major
3725 revision to internals of global (i.e. X) key grabs.
3727 * registryd/deviceeventcontroller.h:
3728 Removed keymask_list and added keygrabs_list to
3729 SpiDeviceEventController struct.
3732 Added use of SPI_createAccessibleKeySet API when creating a
3733 listener for only one key. Attach a listener to "shift spacebar
3734 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
3735 X key event names to SPI key event names, so that listeners are
3736 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
3738 * test/keysynth-demo.c:
3739 Changed (incorrect) use of X key event names (KeyPressed,
3740 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
3743 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3745 * libspi/accessible.c:
3746 Convert all AtkRole enumerations to Accessibility_Role enums when
3747 getting a role from an AtkObject.
3749 * cspi/spi_accessible.c:
3750 Complete the conversion of Accessibility_Role enums at runtime to
3751 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
3752 role enums correctly match those given in spi-roletypes.h.
3753 Re-synchronize the local names list for AccessibleRole_getName ().
3754 AccessibleRole_getName is now deprecated, since it duplicates the
3755 more reliable Accessible_getRoleName.
3756 Added some role types from Accessibility_Role.idl.
3758 * idl/Accessibility_Role.idl:
3759 Added some role types used by AtkRole.
3761 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3764 * cspi/spi_registry.c:
3766 * cspi/cspi-bonobo-listener.c:
3767 Namespaced all methods that did not begin with an "SPI_" or
3768 "Accessible" prefix to "SPI_".
3771 Homogenized internal function namespace to "cspi_" for statics.
3774 Patched tests to use the new CSPI API.
3776 * docs/reference/cspi/at-spi-cspi-sections.txt:
3777 Updated docs to reflect namespace changes, and added a number of
3778 methods to the documentation.
3780 * registryd/registry.c:
3781 Changed use of strings and string hashes in listener event
3782 matching and parse_event_string to use GQuark, which is guaranteed
3785 * registryd/registry.h:
3786 Squashed annoying warning.
3788 * idl/Accessibility_Role.idl:
3789 Extended range of available Accessibility_Role values.
3791 * cspi/spi_accessible.c:
3792 Re-ordered role names.
3794 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3796 * idl/Accessibility_Value.idl:
3797 Revert use of union back to CORBA_double, since the double type is
3798 more efficient and can contain the other types without loss of
3801 * idl/Accessibility_Accessible.idl:
3802 Added method Accessibility:Accessible:getRoleName, to complement
3803 Accessibility:Accessible:getRole.
3805 * cspi/spi_accessible.c:
3807 Added C binding for above, Accessible_getRoleName (), and changed
3808 signature of Accessible_getRole () to return an AccessibleRole.
3810 * cspi/spi-roletypes.h:
3811 Changed AccessibleRole_getName to return a char * instead of a
3812 const char *. This method is now at least temporarily deprecated
3813 in favor of asking Accessibles for their RoleNames directly.
3816 Revert to match Accessibility_Value.idl;
3820 Change signature of AccessibleValue methods to use double rather
3824 * cspi/spi_accessible.c:
3825 Changed Accessible_getRole to return an AccessibleRole enum rather
3826 than a UTF-8 string. The UTF-8 string can still be obtained via
3827 AccessibleRole_getName ().
3829 * test/test-simple.c:
3830 Add test_action. Small fixup to match API change to Accessible_getRole.
3833 Bugfix for get_action_from_servant ().
3835 2001-12-11 Michael Meeks <michael@ximian.com>
3837 * libspi/libspi.h: remove registry.h and
3838 desktop.h, deviceeventcontroller.h
3840 * libspi/Makefile.am: remove registry.[ch],
3841 desktop.[ch], deviceeventcontroller.[ch]
3843 * registryd/Makefile.am: add registry.[ch],
3844 desktop.[ch], rename registryd.c to registry-main.c.
3845 add deviceeventcontroller.[ch]
3847 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3850 Replace setenv() call with putenv ().
3852 * libspi/component.c:
3853 Bugfix in AccessibleComponent_getExtents (),
3856 2001-12-11 Michael Meeks <michael@ximian.com>
3858 * libspi/image.c (impl_getImageExtents): impl.
3859 (spi_image_class_init): upd.
3862 (AccessibleImage_getImageDescription): fix daft bug
3865 * test/test-simple.c (global_listener_cb): update
3866 to only quit if not --poke
3867 (main): catch --poke.
3868 (validate_accessible): upd. dumping, call test_image
3871 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
3874 * idl/Accessibility.idl: update all IDL includes.
3876 * idl/*.idl - rename to namespace - this sucks, blame
3877 mjs' bad decision for oafd.
3879 * test/test-simple.c (create_test_window): add more tests.
3880 (create_tree): split this out.
3881 (validate_accessible): bugfix.
3883 2001-12-11 Michael Meeks <michael@ximian.com>
3885 * cspi/bonobo/cspi-bonobo-listener.c:
3886 (cspi_kestroke_listener_unref),
3887 (cspi_event_listener_unref): impl. undoing previous
3888 homenous environment - for Bill.
3890 * cspi/spi_table.c (long_seq_to_array): use
3893 * cspi/spi_main.c: split out all bonoboish bits into
3896 * cspi/spi-impl.h: upd. typedefs.
3898 * cspi/spi_registry.c: update to lowlevel API,
3899 return booleans to indicate success in some places.
3901 * cspi/spi_event.c: update to lowlevel API.
3903 * cspi/bonobo/Makefile.am: add.
3905 * cspi/bonobo/cspi-lowlevel.h: add
3907 * cspi/bonobo/cspi-bonobo.c: add
3909 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
3911 * cspi/Makefile.am: remove spi-listener-impl.[ch],
3912 (SUBDIRS): add bonobo, link in the libs.
3914 * cspi/spi-util.c: kill this file.
3916 * TODO: merge in my bits.
3918 2001-12-11 Michael Meeks <michael@ximian.com>
3920 * test/test-simple.c (test_value, test_table, main):
3921 remove unused variables causing warnings.
3923 * configure.in: cleanup checks - require gail.
3925 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3928 Changed Value interface to use SValue (scalars) rather than
3929 assuming all values are floats. This allows floats, doubles,
3930 longs, shorts, and unsigned values to be manipulated.
3931 Introduced Accessibility:SValue union.
3934 Updated to use new API above, and to work correctly with GValues
3935 of different types in AtkValue.
3938 Updated to use new API above. cspi's API is as yet unchanged.
3941 Updated the Value revision action item.
3943 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3945 * test/test-simple.c:
3946 Added test_table (GtkTreeView widget in test window to follow).
3947 Un-commented test_value, added GtkRange widget.
3948 Added GtkTreeView widget with GtkListStore. It passes regression
3949 test but leaks one SPI object for some reason.
3952 Fixed bug in impl__set_currentValue.
3954 2001-12-10 Michael Meeks <michael@ximian.com>
3956 * cspi/spi_text.c: audit for exception handling,
3957 tolerating NULL object references safely etc.
3959 * cspi/spi_value.c: ditto.
3961 * cspi/spi_table.c (AccessibleTable_getSummary),
3962 (AccessibleTable_getAccessibleAt),
3963 (AccessibleTable_getRowHeader),
3964 (AccessibleTable_getColumnHeader),
3965 (AccessibleTable_getCaption): fix bugs hidden by
3967 (long_seq_to_array): impl.
3968 (AccessibleTable_getSelectedRows),
3969 (AccessibleTable_getSelectedColumns): use it.
3971 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3974 Added a TODO list (rough and short for now).
3976 * cspi/spi_hyperlink.c:
3977 * cspi/spi_hypertext.c:
3978 Fixed macro name typos, and remove use of obsolete macro in
3979 AccessibleHyperlink_getLink.
3981 * cspi/spi_action.c:
3982 * cspi/spi_accessible.c:
3983 * cspi/spi_application.c:
3984 * cspi/spi_component.c:
3985 * cspi/spi_selection.c:
3988 Documentation fixes (removed return values from ref/unref methods).
3990 2001-12-10 Michael Meeks <michael@ximian.com>
3992 * cspi/spi_action.c: audit for exception handling,
3993 tolerating NULL object references safely etc.
3995 * cspi/spi_accessible.c: ditto.
3997 * cspi/spi_component.c: ditto.
3999 * cspi/spi_editabletext.c: ditto.
4001 * cspi/spi_hyperlink.c: ditto.
4003 * cspi/spi_hypertext.c: ditto.
4005 * cspi/spi_image.c: ditto.
4007 * cspi/spi_selection.c: ditto.
4009 2001-12-10 Michael Meeks <michael@ximian.com>
4011 * configure.in: use cspi/libspi.pc.in instead.
4013 * Makefile.am (pkgconfig_DATA): upd. to match.
4015 * test/simple-at.c (report_focus_event): kill hacks around
4016 bad return values, use putenv not setenv
4018 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
4019 fire ChildGone - I killed it.
4021 * libspi/component.c
4022 (impl_accessibility_component_get_extents): remove
4025 * idl/Accessible.idl: kill ChildGone exception.
4027 * cspi/*.[ch]: kill int return from ref / unref.
4029 * cspi/spi_main.c (cspi_object_add_check): fold into
4030 (cspi_object_add): here.
4032 * cspi/spi_component.c (AccessibleComponent_getExtents):
4033 handle exceptions elegantly.
4035 * cspi/spi-private.h (cspi_check_ev_return),
4036 (cspi_return_if_fail): impl.
4038 * cspi/spi_accessible.c: use extensively.
4039 (AccessibleStateSet_equals): add direct compare check.
4041 * cspi/spi_selection.c: tolerate NULL objs, and check
4042 exceptions before return.
4044 * cspi/spi-util.c (cspi_warn_ev): rename to
4045 (cspi_check_ev): this & don't pass ev in; no point.
4047 2001-12-10 Michael Meeks <michael@ximian.com>
4049 * test/test-simple.c: use putenv not setenv
4050 (get_environment_vars): more chatty if you're not using
4053 * test/simple-at.c: do the setenv so more people see the
4056 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4058 * libspi/registry.c:
4059 Changed check of CORBA_environment on notification to be a warning
4060 instead of an error for the moment, since we can recover from this
4061 error when caused by a queued notification from a dead app.
4064 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
4065 used by all current implementors of AtkValue), and coerce to
4066 CORBA_float. (Proper general case fix may require change to Value.idl).
4068 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4072 * cspi/spi_accessible.c:
4073 Documentation fixes: added user_data params to documentation for
4074 listeners and callbacks.
4076 * cspi/spi_accessible.c:
4077 Changed AccessibleStateSet_compare to return a
4078 StateSet rather than return the difference set into a third parameter.
4081 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4084 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
4085 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
4089 Remove subdirectory po from SUBDIRS for now.
4091 * at-bridge/bridge.c:
4092 Beefed up a couple of debug printouts.
4093 One-line fix for signal notification name formatting.
4095 * libspi/accessible.c:
4096 Added assertion to spi_accessible_new ().
4098 * libspi/application.c:
4099 Put #ifdef qualifiers around a printf.
4102 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
4104 * registryd/Makefile.am:
4106 Replaces use of XML_I18N_MERGE_SERVER_RULE with
4107 INTLTOOL_SERVER_RULE macro.
4110 Added an event listener for several ATK signals, for
4111 testing and debugging. Removed a few g_warnings.
4112 Added test output if focussed item implements the Value interface.
4114 * test/test-simple.c:
4115 Added test_value () function (known not to pass at the moment, so
4116 not actually called yet.
4118 2001-12-08 Michael Meeks <michael@ximian.com>
4120 * at-bridge/bridge.c (bridge_focus_tracker),
4121 (emit_eventv): fix the same ref. leak.
4122 (register_atk_event_listeners): don't leak.
4124 * cspi/spi-listener-impl.c (cspi_event): more
4125 protection from client code.
4127 * test/test-simple.c (test_desktop): unref the app.
4129 * test/Makefile.am: upd. TESTS.
4131 * at-bridge/bridge.c (bridge_exit_func): release the registry.
4133 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
4135 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
4137 * cspi/spi_registry.c: constify in strings.
4138 (deregisterGlobalEventListenerAll): don't release the ref.
4140 * cspi/spi.h: start removing redundant / conflicting
4141 gtkdoc comments, making the API readable at a glance :-)
4143 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
4145 * test/keysynth-demo.c (keysynth_exit, main): upd.
4147 * test/simple-at.c (main, simple_at_exit): upd.
4149 * test/test-simple.c (unutterable_horror): kill.
4150 (utterable_normal_derefs): kill.
4151 (main): upd & do a setenv before gtk_init, so that we
4152 can use memprof - and to save the pain of remembering
4153 this, if we're running under memprof - don't exit.
4155 * cspi/spi_main.c (SPI_exit): return exit status
4157 (SPI_event_quit): impl.
4158 (SPI_event_main): simplify.
4159 (cspi_is_gnome_app): kill.
4160 (SPI_init): kill isGNOMEapp arg.
4162 * at-bridge/bridge.c (register_atk_event_listeners):
4163 re-instate the unref.
4164 (bridge_exit_func): don't re-activate the registry,
4165 protect vs. theoretical re-entry, use the
4166 AT_BRIDGE_SHUTDOWN env. var to determine whether to
4167 assert a clean shutdown - for regression tests.
4169 2001-12-08 Abel Cheung <maddog@linux.org.hk>
4171 * configure.in: Comment out dummy i18n support for now,
4172 otherwise it fails to build.
4173 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
4174 EXTRA_DIST. They are missing in tarball.
4176 2001-12-07 Michael Meeks <michael@ximian.com>
4178 * util/magnifier.c: kill bonobo activation reg. race.
4180 * libspi/component.c
4181 (impl_accessibility_component_get_extents): make it match
4184 * libspi/registry.c (_registry_notify_listeners):
4185 re-remove X headers & reconcile conflicts.
4186 (spi_listener_struct_free): bad conflict resolve.
4187 (impl_accessibility_registry_register_application):
4188 more bad merging fixed.
4189 (impl_accessibility_registry_deregister_application): ditto.
4190 (spi_registry_new): ditto.
4191 (spi_registry_init): don't have an applications field.
4193 [ merge fixups2 branch to here ]
4194 2001-12-07 Michael Meeks <michael@ximian.com>
4196 * test/simple-at.c (report_focus_event),
4197 (report_focussed_accessible): remove g_warning debug.
4199 2001-12-07 Michael Meeks <michael@ximian.com>
4201 * test/test-simple.c (validate_tree): comment out some checks.
4202 (test_desktop): app now not registered idly - horay.
4204 2001-12-07 Michael Meeks <michael@ximian.com>
4206 * cspi/spi_registry.c
4207 (registerAccessibleKeystrokeListener): clean, stop it leaking
4208 great swathes of memory, and device event controller references.
4209 ensure we always pass valid sequences.
4210 (deregisterAccessibleKeystrokeListener): ditto.
4211 (generateKeyEvent): upd.
4213 * at-bridge/bridge.c (bridge_key_listener): handle
4214 registry dead exception gracefully.
4215 (bridge_focus_tracker, emit_eventv): free ev.
4217 * test/simple-at.c (report_focus_event): fix polarity.
4219 * libspi/application.c (notify_listeners): kill the ev
4220 argument, and make sure we init the ev we use.
4221 (spi_application_object_event_listener): split out a chunk
4222 (get_atk_object_ref): here & fixup.
4223 (reverse_lookup_name_for_toolkit_event): make const.
4224 (spi_application_toolkit_event_listener): fixup, kill leaks
4227 * at-bridge/bridge.c (register_atk_event_listeners):
4228 don't unref the noop object - causes grief.
4230 * libspi/registry.c: remove the X headers.
4231 turn off the debug churn.
4233 * libspi/accessible.c (spi_accessible_new_return): only
4234 release the ref if we are supposed to [doh]
4236 * test/simple-at.c (report_button_press, report_focus_event):
4237 guard vs. unexpected exit.
4239 * at-bridge/bridge.c (gtk_module_init): prune printf.
4240 (bridge_exit_func): fix app unref.
4242 * libspi/Makefile.am: don't install registry or desktop.h
4244 * libspi/*.h: update includes.
4246 * libspi/application.h: don't include ourself, or
4247 other redundant headers.
4249 2001-12-06 Michael Meeks <michael@ximian.com>
4251 * libspi/accessible.c
4252 (get_accessible_from_servant): impl.
4253 Upd. all CORBA impl.s to use it killing cut and paste.
4255 * cspi/spi_main.c (cspi_cleanup): guard vs. double
4257 (SPI_init): register atexit cleanup handler here.
4259 2001-12-06 Michael Meeks <michael@ximian.com>
4261 * at-bridge/bridge.c (gtk_module_init): g_error on
4262 activation exception
4264 2001-12-06 Michael Meeks <michael@ximian.com>
4266 * at-bridge/bridge.c (gtk_module_init): some sort of
4267 confusing merge clash - reverted.
4268 (bridge_idle_init): ditto.
4270 * test/test-simple.c (main, utterable_normal_derefs):
4271 merge from Bill - somehow not committed.
4273 2001-12-06 Michael Meeks <michael@ximian.com>
4275 * libspi/value.c (spi_value_class_init): upd.
4276 (spi_value_finalize): kill.
4278 * libspi/table.c (spi_table_finalize): kill.
4279 (spi_table_interface_new): upd.
4280 (spi_table_class_init): upd.
4281 (get_table_from_servant): impl.
4282 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4284 * libspi/selection.c (spi_selection_finalize): kill.
4285 (spi_selection_interface_new): upd.
4286 (spi_selection_class_init): upd.
4287 (get_selection_from_servant): impl.
4288 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4290 * libspi/relation.c (spi_relation_finalize): kill.
4291 (spi_relation_class_init, spi_relation_new): upd
4293 * libspi/image.c (spi_image_finalize): kill.
4294 (spi_image_class_init): upd.
4295 (spi_image_interface_new): upd.
4296 (get_image_from_servant): impl.
4297 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4299 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
4300 (spi_hyperlink_finalize): kill.
4301 (spi_hyperlink_new): upd.
4302 (get_hyperlink_from_servant): impl.
4303 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4305 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
4306 (spi_hypertext_finalize): kill.
4307 (spi_hypertext_class_init): upd.
4308 (get_hypertext_from_servant): impl.
4309 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4311 * libspi/editabletext.c (spi_editable_text_finalize): kill.
4312 (spi_editable_text_interface_new): upd.
4313 (get_editable_text_from_servant): impl.
4314 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4316 * libspi/text.c (get_text_from_servant): impl.
4317 All impls - update to use it killing more cut and paste,
4318 also fix bad string returns on duff args ( a somewhat
4319 impossible case to handle - but hey ).
4320 (spi_text_construct): impl.
4321 (spi_text_interface_new): upd.
4322 (spi_text_object_finalize): kill.
4324 * libspi/component.c
4325 (accessibility_component_object_finalize): kill.
4326 (spi_component_class_init): upd.
4327 (get_component_from_servant): impl. helper to kill cut & paste.
4328 (impl_accessibility_component_contains):
4329 (impl_accessibility_component_get_accessible_at_point):
4330 (impl_accessibility_component_get_position):
4331 (impl_accessibility_component_get_extents):
4332 (impl_accessibility_component_get_mdi_z_order):
4333 (impl_accessibility_component_get_layer):
4334 (spi_component_interface_new): upd.
4336 * libspi/action.c (spi_action_finalize): kill.
4337 (spi_action_class_init): upd. inherit from SpiObject.
4338 (spi_action_interface_new): upd.
4339 (get_action_from_servant): impl. helper to reduce cut & paste.
4340 (impl_getKeyBinding, impl_getName, impl_doAction),
4341 (impl_getDescription): Use it everywhere.
4343 * cspi/spi_main.c (get_live_refs): a pointer hash.
4344 (spi_object_hash, spi_object_equal): comment out.
4345 There are issues with CORBA object hashing that need
4348 * libspi/application.c (spi_application_init),
4349 (spi_application_new): upd.
4351 * libspi/accessible.c (spi_accessible_object_finalize): kill.
4352 (spi_accessible_class_init): upd.
4353 s/accessible/object/ in epv methods.
4355 2001-12-05 Bill Haneman <bill.haneman@sun.com>
4357 * at-bridge/bridge.c:
4358 Reorder the bridge initialization into the bridge gtk_module_init,
4359 an immediate call to bridge_register_app, and an idle_add for
4360 register_atk_event_listeners (the only code that *must* wait until
4361 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
4362 the activation, creates the application's Accessible object, and
4363 queues the bridge_idle_init function. Restored call to
4364 Accessibility_Registry_deregisterApplication().
4365 Prior to making this call we obtain a new reference to the
4366 registry, which is a temporary hack that helps us handle apps that
4367 shut down the bonobo mainloop before we get there.
4369 * libspi/registry.c:
4370 Fix string leakage in debug block, and don't segv if a an app
4371 dies before its event notifications have been propagated.
4374 Modify cspi_check_ev() to call g_warning() rather than g_error(),
4375 as stopgap measure until we get proper exception handling when
4376 objects die during or before interrogation.
4380 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
4381 Also changed default value of is_gnome_app to TRUE.
4384 * test/keysynth-demo.c:
4385 Changed use of SPI_init and SPI_event_main to reflect API change above.
4388 Made report_focus_event check the warning value from getName
4389 before reporting on focussed accessible; simplifies handling of
4390 notifications from dead objects.
4392 * test/test-simple.c: (Changes not in this patch since source is
4395 2001-12-05 Michael Meeks <michael@ximian.com>
4397 * registryd/registryd.c (main): protect against
4398 bonobo-activation startup race condition.
4400 * cspi/spi_main.c (cspi_object_add_check): cope
4401 with the exception elegantly.
4403 * idl/Accessible.idl: decl. ChildGone
4405 * libspi/desktop.c (spi_desktop_dispose): impl.
4406 (spi_desktop_class_init): upd.
4407 (spi_desktop_add_application),
4408 (spi_desktop_remove_application),
4409 (abnormal_application_termination): impl.
4410 (impl_desktop_get_child_at_index): re-impl.
4413 (impl_accessibility_registry_deregister_application),
4414 (impl_accessibility_registry_register_application):
4415 kill excessive debug clutter.
4417 * test/test-simple.c (test_misc): test some NULL
4418 tolerance. (main): upd.
4420 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
4421 implements no interfaces - so let's not crash.
4423 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
4425 * libspi/accessible.c (spi_accessible_new_return): impl.
4426 helper to calm the cut and paste, to cope with
4427 NULL AtkObjects effectively and efficiently, and to kill
4428 the referencing bugs.
4430 * libspi/table.c (impl_getAccessibleAt),
4431 (impl_getRowHeader, impl_getColumnHeader): upd.
4433 * libspi/hyperlink.c (impl_getObject): upd.
4435 * libspi/accessible.c
4436 (impl_accessibility_accessible_get_child_at_index): upd.
4438 * libspi/component.c
4439 (impl_accessibility_component_get_accessible_at_point): upd.
4441 * test/test-simple.c (test_editable_text, test_text): impl.
4444 * cspi/spi_editabletext.c
4445 (AccessibleEditableText_insertText): constify.
4447 * test/test-simple.c (focus_me): make more robust.
4449 * libspi/accessible.c: remove some printfs in methods that
4450 we test and work fine, so we can get a clean tree dump.
4452 * test/test-simple.c (validate_accessible),
4453 (validate_tree): make tree dumping pretty too.
4455 * at-bridge/bridge.c (bridge_signal_listener): upd. so
4456 it builds without debug on.
4458 * test/test-simple.c (validate_accessible): fix the most
4461 * cspi/spi_main.c (spi_object_release): leave the nicely
4462 blanked memory around if in debug mode.
4464 * cspi/spi-listener-impl.c (cspi_event): use add_check.
4466 [committed to fixups2]
4467 2001-12-05 Michael Meeks <michael@ximian.com>
4469 * libspi/editabletext.c
4470 (spi_editable_text_class_init): g_type_class_peek_parent,
4471 not interface peek - so we finalize cleanly.
4473 * libspi/accessible.c (spi_accessible_new): kill debug.
4475 * test/test-simple.c (validate_accessible): fix ref.
4476 leak, print strings before freeing them; sigh, comment a
4477 chunk out due to strangeness.
4478 (validate_tree): unref the child after use.
4480 * cspi/spi_component.c (AccessibleComponent_getLayer):
4481 add missing break statement, switch on zlayer not the
4482 uninitialized retval.
4484 * cspi/spi_main.c (cspi_object_add): add assert, local ref
4485 before (possibly re-entering) remote unref.
4487 * test/simple-at.c (main): unref the desktop.
4489 * cspi/spi_accessible.c (cspi_accessible_is_a): move
4492 * cspi/spi_main.c (cspi_accessible_is_a): here to
4493 isolate bonobo API usage more.
4495 * libspi/registry.c (impl_accessibility_registry_register_application):
4496 prune bogus comment.
4498 2001-12-04 Michael Meeks <michael@ximian.com>
4500 * test/test-simple.c (validate_tree): upd.
4501 IndexInParent check to make it more lucid.
4502 (validate_accessible): dump the tree.
4504 * libspi/accessible.c (de_register_public_ref),
4505 (get_public_refs): impl.
4506 (spi_accessible_new): make more efficient & intuitive.
4507 Now IndexInParent check works.
4509 2001-12-04 Michael Meeks <michael@ximian.com>
4511 * cspi/spi-util.h: remove.
4513 * cspi/spi.h: move SPI_freeString here
4515 * libspi/component.c (impl_accessibility_component_get_layer):
4517 (impl_accessibility_component_get_mdi_z_order): ditto,
4518 return -1 on error - is this ok ?
4520 * test/test-simple.c (test_application): impl.
4522 * cspi/spi_accessible.c (Accessible_getApplication),
4523 (Accessible_isApplication): impl.
4525 * libspi/registry.c (spi_listener_struct_free): release
4526 the CORBA reference too.
4528 * libspi/accessible.c
4529 (impl_accessibility_accessible_get_parent): fix ref leak.
4531 * libspi/registry.c (spi_registry_new): make the registry
4532 immortal - we don't want it to go away ever.
4534 * libspi/application.c
4535 (spi_accessible_application_finalize): impl. cleanup.
4537 * cspi/spi_registry.c
4538 (deregisterGlobalEventListenerAll),
4539 (deregisterGlobalEventListener),
4540 (deregisterAccessibleKeystrokeListener): fix ref leak.
4542 * cspi/spi_main.c (SPI_init): remove redundant ref.
4544 * test/test-simple.c (unutterable_horror): impl. to force a
4549 (impl_accessibility_registry_deregister_application): release
4550 the application when we de-register it.
4552 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
4553 until we have the infastructure to get it right.
4555 2001-12-03 Michael Meeks <michael@ximian.com>
4557 * libspi/Makefile.am: only build eventlistener.[ch]
4559 * libspi/accessible.c
4560 (impl_accessibility_accessible_get_child_at_index): don't leak.
4562 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
4563 before we hit the idle handler.
4565 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
4566 debugging than exit.
4568 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
4570 * libspi/listener.c (impl_notify_event): check source
4571 not NIL before unref.
4573 * libspi/registry.c (impl_registry_notify_event): ditto.
4575 * libspi/eventlistener.c
4576 (impl_accessible_event_notify_event): unref the source.
4578 * libspi/accessibleeventlistener.c
4579 (impl_accessible_event_notify_event): unref the source.
4581 * idl/Event.idl: remove 'hash_id' attribute - of no
4584 * libspi/application.c (notify_listeners): upd list
4586 (spi_application_object_event_listener),
4587 (spi_application_toolkit_event_listener): upd to do correct
4591 (_registry_notify_listeners): update.
4592 (parse_event_type): this method also leaks like a sieve.
4593 (impl_accessibility_registry_deregister_global_event_listener):
4594 fix ETYPE_WINDOW case.
4596 * libspi/application.c
4597 (impl_accessibility_application_register_object_event_listener):
4600 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
4602 * libspi/hypertext.c (impl_getLink): ditto.
4604 * cspi/spi_main.c (cspi_object_add): remove
4605 bogus CORBA_Object_duplicate.
4607 * cspi/spi-listener-impl.c (cspi_event): dup/ref
4610 * cspi/spi_accessible.c
4611 (Accessible_getRelationSet): fix leak / referencing issue.
4613 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
4614 (cspi_object_add, cspi_object_unref): upd.
4615 (spi_object_release, get_live_refs): impl.
4616 (cspi_cleanup): simplify.
4618 * *.[ch]: s/boolean/SpiBoolean/
4620 * cspi/spi_accessible.c (role_names): actualy order so it
4621 corresponds with the enum !
4623 * test/test-simple.c (test_roles): check some role strings
4624 vs. enums to detect offset errors.
4626 2001-12-01 Michael Meeks <michael@ximian.com>
4628 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
4630 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
4632 (Accessible_getChildAtIndex): use cspi_add_check so we
4633 check the ev before using a (possibly) invalid value.
4635 * libspi/accessible.c
4636 (impl_accessibility_accessible_get_parent): don't segv
4639 * at-bridge/bridge.c (gtk_module_init): upd.
4640 (bridge_property_event_listener): don't leak strings
4642 (bridge_state_event_listener),
4643 (bridge_property_event_listener): don't use a static
4644 buffer in case of recursive event emission &
4645 re-enterancy - split out the swathe of cut and paste
4647 (emit_eventv): and fix 2 ref leaks here & comply to the
4649 (bridge_register_app): rename to
4650 (bridge_idle_init): this and kill arg parsing, split
4651 various inits & bonobo-activation registration to module
4652 init time, kill referencing error.
4653 (bridge_exit_func): fix the same leak.
4654 (bridge_focus_tracker): don't leak event structures
4656 (bridge_signal_listener): more leakage and cut & paste
4658 (bridge_key_listener): return the result - FIXME is
4659 this polarity correct ?
4660 (accessibility_keystroke_from_atk_key_event): rename
4661 (accessibility_init_keystroke_from_atk_key_event): and stop
4663 (gtk_module_init): return a value - not that it is checked by
4665 (bridge_key_listener): register my horror at casting between
4666 IDL defined structs.
4667 (bridge_get_registry): kill - not used.
4669 * cspi/spi_accessible.c (Accessible_getRole): make return const.
4671 * test/test-simple.c (test_roles): impl.
4672 (test_desktop, validate_accessible, validate_tree): impl.
4674 * cspi/spi_accessible.c (role_names): fixup bogus
4675 MAX_ROLES setup, make constants const for efficient linkage
4676 (AccessibleRole_getName): conform to coding style, make
4679 2001-11-30 Michael Meeks <michael@ximian.com>
4681 * cspi/spi.h: add missing prototype.
4683 * libspi/registry.c (spi_listener_struct_new): fix sig.
4685 * test/Makefile.am: add test-simple
4687 * test/test-simple.c: add
4689 * test/test.sh: add.
4691 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
4693 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
4694 do it straight - since otherwise we often get an activation race.
4696 [ work before Bill duplicated a chunk of it ... ]
4697 2001-11-30 Michael Meeks <michael@ximian.com>
4699 * libspi/keystrokelistener.c
4700 (spi_keystroke_listener_class_init): fixup arg
4703 * libspi/eventlistener.c
4704 (spi_event_listener_class_init): ditto.
4706 * tests/test.sh: add.
4708 * cspi/spi-listener-impl.h: update macros.
4710 * cspi/spi-listener-impl.c
4711 (cspi_event_listener_remove_callback): add
4712 correct pre-conditions.
4714 * cspi/spi_main.c (SPI_exit): guard vs. double
4715 exits, exit the mainloop nicely.
4716 (SPI_event_main): make more sense.
4717 (SPI_init): move the atexit evilness here so we
4718 always do it (yuck).
4719 (SPI_event_main): upd.
4721 * test/simple-at.c: update for listener changes.
4723 * registryd/registryd.c (main): prune kruft.
4725 * libspi/libspi.h: upd.
4727 * libspi/eventlistener.[ch]: rename broken macros.
4729 * libspi/accessibleeventlistener.[ch]: remove.
4731 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
4733 * test/test-simple.c: Add - automated tests.
4735 * cspi/spi-listener-impl.c (cspi_event),
4736 (cspi_key_event): add user_data to invoke.
4737 (cspi_keystroke_listener_finalize): impl.
4738 (cspi_keystroke_listener_class_init): upd.
4741 (createAccessibleEventListener),
4742 (AccessibleEventListener_addCallback),
4743 (createAccessibleKeystrokeListener),
4744 (AccessibleKeystrokeListener_addCallback): upd.
4746 * libspi/deviceeventcontroller.c
4747 (spi_device_event_controller_check_key_event): add public proto.
4750 (impl_accessibility_registry_deregister_global_event_listener):
4751 always init listeners.
4752 (_registry_notify_listeners): yes it is.
4754 * cspi/spi-listener-impl.c (cspi_key_event):
4756 (cspi_event_listener_finalize): impl.
4757 (cspi_event_listener_class_init): hook up.
4758 (event_handler_new, event_handler_free),
4759 (event_list_remove_by_callback): impl.
4760 (cspi_event_listener_remove_callback),
4761 (cspi_keystroke_listener_remove_callback),
4762 (cspi_keystroke_listener_add_callback),
4763 (cspi_event_listener_add_callback): upd.
4765 * libspi/keystrokelistener.c
4766 (keystroke_listener_object_finalize): kill
4767 (spi_keystroke_listener_class_init): upd.
4768 (spi_keystroke_listener_add_callback),
4769 (spi_keystroke_listener_remove_callback): kill,
4771 (impl_key_event): prune drasticaly.
4773 * libspi/eventlistener.c
4774 (spi_event_listener_add_callback),
4775 (spi_event_listener_remove_callback): kill, use
4777 (impl_accessible_event_notify_event): upd.
4778 (spi_event_listener_object_finalize): remove.
4780 * libspi/Makefile.am: use eventlistener.[ch]
4782 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4784 * libspi/registry.c (_registry_notify_listeners):
4785 Changed listener loop iteration to use preferred convention.
4786 Got rid of string memory leaks caused be calling g_strconcat
4787 inside function calls.
4789 * libspi/registry.c (parse_event_type):
4790 Stopped g_strconcat memory leaks, free the g_strsplit return,
4791 g_strdup the split pieces when used, etc.
4793 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4796 Change method 'compare' to return a 'difference set' rather than
4797 taking a StateSet as an out parameter (more Java-friendly).
4799 * idl/Accessible.idl:
4800 Added CORBA struct 'BoundingBox', to faciliate API changes below:
4802 * idl/Component.idl:
4804 Changed methods 'getExtents' and 'getImageExtents' in these
4805 interfaces to return a BoundingBox structure.
4806 (getPosition and getSize are redundant and possibly should be
4807 removed, rather than creating a corresponding Point struct.)
4809 * cspi/spi_component.c:
4810 Modify implementation of getExtents to reflect the above IDL
4815 Add (missing) AccessibleImage_getExtents () API.
4817 * docs/reference/cspi/at-spi-cspi-sections.txt:
4818 Added AccessibleImage_getImageExtents () to docs.
4820 2001-12-03 Bill Haneman <bill.haneman@sun.com>
4822 * idl/Component.idl:
4823 Added two methods, getLayer () and getMDIZOrder (), to reflect
4824 the new ATK methods atk_object_get_layer and
4825 atk_object_get_mdi_z_order. (Which arguably should be part of the
4826 AtkComponent API and AtkObject). Also added an enum,
4827 ComponentLayer, for the first method's return value.
4829 * libspi/component.c:
4830 Added implementations for these methods.
4832 * cspi/spi_component.c:
4834 Added cspi binding methods for above,
4835 AccessibleComponent_getLayer() and
4836 AccessibleComponent_getMDIZOrder().
4837 Added cspi enum 'AccessibleComponentLayer'.
4839 * docs/reference/cspi/at-spi-cspi-sections.txt:
4840 Added above methods to docs.
4844 Changed typedef for 'boolean' type (and all references to it) to
4845 SPIBoolean, to avoid keyword clashes with C++.
4848 Changed usages of 'boolean' to SPIBoolean.
4850 * test/keysynth-demo.c:
4851 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
4852 app), except where SPIBoolean is required by the callbacks API.
4854 2001-12-02 Bill Haneman <bill.haneman@sun.com>
4856 * cspi/spi_registry.c:
4857 Removed obsolete X event loop for passive keygrabs (which now
4860 * registryd/registryd.c:
4861 Removed unnecessary call to gdk_init() [cruft]. This also allows
4862 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
4865 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4867 * docs/reference/cspi:
4868 Included docs for SPI_freeString in generated documentation.
4871 Renamed spi_freeString to SPI_freeString, for consistency. Added
4872 documentation for this function.
4875 Renamed spi_freeString to SPI_freeString, for consistency.
4876 Removed obsolete method declaration string_from_corba_string.
4878 * test/keysynth-demo.c:
4879 Small tweak to comments.
4882 Stopped leaking the strings returned from CSPI.
4884 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4886 Merged Michael's branch (see his ChangeLog entries below).
4888 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
4889 bridge is alive, release on exit.
4891 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
4892 Fix type check macro.
4895 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
4898 Added is_gnome_app static, and method cspi_is_gnome_app(),
4899 so we can call the appropriate shutdown routine at exit in SPI_exit.
4901 * cspi/spi_main.c (cspi_object_ref):
4902 Duplicate the corba object passed in, since we're keeping it around.
4904 * cspi/SPI_exit.c, cspi_cleanup:
4905 Moved the releasing of the live refs to its own function, so we
4906 can put it in g_atexit (). Call the appropriate shutdown API
4907 depending on whethe calling client is a gnome app or not
4908 (bonobo_main_quit or CORBA_ORB_shutdown).
4910 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
4911 Unref the listener when this method is called, after
4912 deregistration. Updated the API docs to note this behavior.
4914 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
4915 Bugfixes: Ref the bonobo object when returning a parent or child
4916 reference, or an AccessibleRelation. Generally made sure
4917 BonoboObject refcount is incremented whenever we return an
4920 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
4921 Fixed typo/bug in signal declaration.
4923 * libspi/accessibleeventlistener.h:
4926 * libspi/application.c (spi_application_new):
4927 Fixed leak in initialization.
4930 Remembered to increment bonobo-object refcount when returning
4931 children (applications) from desktop object.
4932 Added (empty) finalize method.
4934 * libspi/deviceeventcontroller.c:
4935 Hold a ref to listeners inside DEControllerKeyListeners.
4936 Added dec_key_listener_free() method. Use prepend instead of
4937 append in key_listener list. Fixed some refcount madness and
4938 leaks in the listener registration/deregistration - deregistration
4939 now calls dec_key_listener_free() on listeners, and on the
4940 temporarily constructed dec_key_listener() used to perform the search/match.
4942 * libspi/hypertext.c (spi_hypertest_finalize):
4943 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
4944 class. Also fixed spi_hypertext_interface_new() and
4945 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
4947 * libspi/hypertext.h:
4948 Removed pointless and duplicate AtkObject pointer from
4951 * libspi/keystrokelistener.c:
4952 Fixed incorrect type of keystroke_listener_parent_class,
4953 renamed keystroke_listener_object_finalize to
4954 spi_keystroke_listener_object_finalize.
4955 Fixed typo in signal declaration
4956 (spi_keystroke_listener_class_init).
4958 * libspi/registry.c:
4959 Added funcsions spi_listener_struct_new() and
4960 spi_listener_struct_free() to help with memory management issues.
4961 We also now use these methods instead of gnew + poking stuff into
4962 the struct, and to decrement listener counts/free the listeners
4963 when deregistering them.
4964 Fix more refcount bugs in getDesktop() and
4965 getDeviceEventController().
4968 De-ref the desktop after enumerating the applications. Explicitly
4969 decrement the refcounts on the created listeners on exit (using
4970 _unref for keystroke listeners, and via the
4971 deregisterGlobalEventListenerAll command for other event
4974 2001-11-27 Michael Meeks <michael@ximian.com>
4976 * cspi/spi-listener.h: fixup enum.
4978 2001-11-27 Michael Meeks <michael@ximian.com>
4980 * cspi/spi-listener-impl.c (cspi_event_listener_new),
4981 (cspi_keystroke_listener_new): Use the cspi variants.
4983 2001-11-26 Michael Meeks <michael@ximian.com>
4985 * test/keysynth-demo.c: fix 2 compile warnings, missing
4988 * test/simple-at.c (report_focussed_accessible),
4989 (report_focus_event, report_button_press),
4990 (check_property_change, is_command_key),
4991 (report_ordinary_key_event, report_command_key_event): upd.
4993 * util/mag_client.h: include pre-requisites.
4995 * libspi/accessibleeventlistener.c
4996 (spi_event_listener_object_finalize): free any lingering
4999 * libspi/keystrokelistener.c
5000 (keystroke_listener_object_finalize): ditto.
5002 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
5003 callbacks, with cspi types.
5005 * cspi/spi_event.c (createAccessibleEventListener): chain to
5006 (AccessibleEventListener_addCallback): here.
5007 (createAccessibleKeystrokeListener): chain to
5008 (AccessibleKeystrokeListener_addCallback): here.
5010 * libspi/keystrokelistener.c
5011 (spi_keystroke_listener_class_init): add signal.
5012 (impl_key_event): emit the event.
5013 (boolean_handled_accumulator): impl.
5014 (marshal_BOOLEAN__POINTER): add, gack.
5016 * libspi/accessibleeventlistener.c
5017 (spi_event_listener_class_init): add signal.
5018 (impl_accessible_event_notify_event): emit the signal &
5019 make the loop efficient.
5020 (spi_event_listener_add_callback): prepend the callback.
5022 * libspi/accessibleeventlistener.h: add an 'event' signal,
5023 decl type on callback.
5025 * libspi/keystrokelistener.h: ditto.
5027 * cspi/spi-listener.h: make methods typesafe and
5028 make them use the new event typedefs.
5030 * test/simple-at.c (report_focussed_accessible):
5031 include mag_client.h
5032 Use *(void *)text_interface not the other thing.
5034 * configure.in: add gtk to registryd bits - since we use
5037 * util/magnifier.c: include libbonobo.h
5039 2001-11-25 Bill Haneman <bill.haneman@sun.com>
5041 * test/keysynth-demo.c:
5042 Turned this into a simple scanning keyboard, to demonstrate the
5043 use of g_timeout_add () as a means of creating timers for
5044 scanning, and the use of GtkStyle for visually indicating when
5045 virtual keyboard elements are selected.
5047 keysynth-demo now listens to any keyboard keys with zero-valued
5048 keycodes (i.e. 'unused' keys) and interprets them as
5051 Reworked the shiftlatch code so that shift-down state isn't held
5052 for long periods (it's only synthesized immediately prior to
5053 the keysynth event it's modifying). Note that shiftlatch in this
5054 demo is a convenience, not intended to take the place of AccessX
5055 which is the better choice for getting 'sticky' modifier keys.
5057 * libspi/deviceeventcontroller.c:
5058 * at-bridge/bridge.c:
5059 * cspi/spi_registry.c:
5060 Removed some debug print stuff, and put other verbosity in #ifdef
5065 Implemented some more of the magnifier IDL for the simple
5066 magnifier: namely, getZoomRegionParams.
5067 Added mag_x and mag_y members to MagnifierData struct, aid of this
5069 Added GtkWindow::realize signal handler to magnifier, to keep it
5070 from receiving keyboard focus from the WM.
5072 2001-11-23 Mark McLoughlin <mark@skynet.ie>
5074 * cspi/spi-private.h: my guess at what michael forgot
5075 before he ran off to NZ :-)
5077 2001-11-23 Michael Meeks <michael@ximian.com>
5079 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
5080 comment out non existant method invoke so we link.
5082 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
5083 use bonobo_exception_get_text for more friendly warnings.
5085 * cspi/spi.c (Obj_Add): move into spi_main & rename
5086 spi_object_add; kill spi.c
5088 * cspi/spi_registry.c
5089 (deregisterGlobalEventListener),
5090 (deregisterGlobalEventListenerAll),
5091 (registerGlobalEventListener): fix exception leaks.
5093 * cspi/spi_main.c (spi_exception): impl. helper, so we
5094 don't leak exceptions.
5096 * cspi/spi_selection.c
5097 (AccessibleSelection_deselectSelectedChild): return the
5100 * cspi/spi_main.c (spi_ev): impl; hack - gack.
5101 (spi_registry): ditto.
5102 (SPI_init): guard against double inits.
5104 * cspi/*.c: use spi_ev (), and spi_registry () where
5105 appropriate - a temporary hack until we have something
5106 better. Use spi_object_add
5108 2001-11-22 Michael Meeks <michael@ximian.com>
5110 * cspi/Makefile.am: re organise, install the headers.
5112 * cspi/*.h: add G_BEGIN/END_DECLS
5114 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5117 Added non-preemptive keylistener for key events with no modifiers
5118 and shift-only modifier.
5120 * libspi/keystrokelistener.c:
5121 Removed some verbose diagnostics printout.
5123 * cspi/spi_registry.c:
5124 Fixed a bug that caused all key listeners to be registered as
5127 * libspi/deviceeventcontroller.c:
5128 Fixed bug that caused XGrabKey (preemptive key grab) to be called
5129 for non-preemptive key masks.
5132 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5134 * docs/reference/idl/at-spi-idl-docs.sgml:
5135 * docs/reference/idl/at-spi-idl-sections.txt:
5136 * docs/reference/idl/at-spi-idl-overrides.txt:
5137 Added missing files.
5139 * docs/reference/Makefile.am:
5140 removed idl from SUBDIRS until we can figure a way to get gtk-doc
5141 to scan the IDL files :-(
5146 Added .cvsignore files.
5148 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5150 * libspi/deviceeventcontroller.c:
5151 * libspi/keystrokelistener.c:
5153 * cspi/spi_registry.c:
5154 Added filters for KeySets, KeyEventSeq, and event types to key
5155 event dispatching, so listeners should only receive those events
5156 that they requested :-)
5158 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5163 * docs/reference:Makefile.am:
5164 * docs/reference/cspi:
5165 * docs/reference/cspi:Makefile.am:
5166 * docs/reference/cspi:tmpl:
5167 * docs/reference/cspi:tmpl:*.sgml:
5168 * docs/reference/idl:
5169 * docs/reference/idl:Makefile.am:
5170 * docs/reference/idl:at-spi-idl-sections.txt:
5171 * docs/reference/idl:at-spi-idl-docs.sgml:
5172 * docs/reference/idl:tmpl:
5173 * docs/reference/idl:tmpl:*.sgml:
5175 Restructured docs directory to allow separate 'reference' docs
5176 section, and forked idl and cspi docs. Added the sgml template
5177 files to CVS. Added the first sections/structural sgml for the
5180 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
5182 * configure.in, libspi/Makefile.am: find libXtst.
5184 2001-11-21 Michael Meeks <michael@ximian.com>
5186 * test/accessx-gui.c: s/spi_value/value/ - doh.
5188 * libspi/base.[ch]: add.
5190 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5192 * idl/Accessible.idl:
5193 * idl/Application.idl:
5196 Started gtk-doc cleanup on IDL.
5198 * libspi/deviceeventcontroller.c:
5199 Added and connected non-preemptive key notification from the
5200 toolkits (in addition to the pre-emptive support from XServer
5201 which we had before, but which causes 'focus flashing'). Filters
5202 are presently limited to key modifiers and global/non-global,
5203 KeySets are presently ignored, as are KeyEvent masks.
5205 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
5206 structs into the persistant structure rather than just storing
5207 pointers to things that might not persist across servant
5210 The XGrabKey call now does async keygrabs, because synchronous
5211 ones were deadlocking with GDK_event code in a very nasty way.
5213 Added boolean to internal method notify_keylisteners, to indicate
5214 whether the event came from the 'toolkit source' or the 'global
5215 (XServer) source' - this is used in the notification process to
5216 determine which listeners to send the event to.
5218 deviceeventcontroller.c is now warning-free.
5220 * libspi/registry.c:
5221 Fixed regression in application de-registration.
5222 Also fixed some really brain-dead weirdness having to do with
5223 event dispatching - event structs are now duplicated before being
5224 re-marshalled in the dispatch to listeners. This also fixes a
5225 Solaris build problem.
5228 2001-11-20 Michael Meeks <michael@ximian.com>
5231 (impl_accessibility_registry_deregister_global_event_listener):
5234 * libspi/deviceeventcontroller.c
5235 (spi_device_event_controller_check_key_event): return
5236 FALSE on no virtual method.
5238 * libspi/*..h: make includes work on a correctly pathed install.
5240 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
5242 * libspi/application.h: kill unused ( and whacked out )
5243 gboolean *spi_application_set_id (AtkObject *app, long id);
5245 2001-11-20 Michael Meeks <michael@ximian.com>
5247 * libspi/*.[ch]: further convert to bonobo's type func
5248 macros, remove redundnant casts etc.
5250 * libspi/text.c s/accessibility_text/spi_text/g,
5251 re-order to de-cruft.
5253 * libspi/hypertext.c: re-order to kill a huge slew
5254 of redundant forward decls.
5256 * libspi/relation.c: ditto.
5258 * libspi/image.c: ditto.
5260 * */.cvsignore: update
5262 2001-11-20 Michael Meeks <michael@ximian.com>
5264 * libspi/deviceeventcontroller.c
5265 (_controller_register_with_devices): use g_getenv,
5266 kill stdlib.h include.
5268 * libspi/keystrokelistener.c
5269 (spi_keystroke_listener_get_type): kill
5270 (spi_keystroke_listener_class_init),
5271 (spi_keystroke_listener_init): rename to this.
5273 * libspi/text.c (impl_getAttributes): fix warning / bug.
5275 * libspi/*.[ch]: more headers, includes and over commenting.
5277 2001-11-20 Michael Meeks <michael@ximian.com>
5279 * libspi/*.[ch]: fixup headers, includes and over commenting.
5281 * libspi/image.c (impl__get_imageDescription): const
5282 correctness warning fix. remove redundant casting.
5284 * libspi/table.c (impl_getRowDescription): ditto.
5285 (impl_getColumnDescription): ditto.
5287 * libspi/libspi.h: add.
5289 2001-11-19 Michael Meeks <michael@ximian.com>
5291 * libspi/editabletext.c (impl_setAttributes): fix warnings.
5293 * libspi/component.c (accessibility_component_get_type):
5294 rename to (spi_component_get_type): and macroify.
5295 (accessibility_component_init): rename to
5296 (spi_component_init): this
5297 (accessibility_component_class_init): rename to
5298 (spi_component_class_init): this
5300 * libspi/action.c (spi_action_get_type): kill, use the macro.
5302 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
5305 * libspi/application.c (spi_application_object_event_listener),
5306 (impl_accessibility_application_register_object_event_listener):
5307 warning fixes / const understanding updates.
5309 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
5312 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5314 * libspi/spi_accessible.c: Added docs and C bindings for
5315 AccessibleStateSet. (No implementations yet). Documentation
5316 coverage for C bindings now 100%. Made docs for event listeners
5321 boolean notifyListenersSync (in DeviceEventListener listener,
5322 in DeviceEvent event);
5324 oneway void notifyListenersAsync (in DeviceEventListener listener,
5325 in DeviceEvent event);
5327 Added DeviceEventListener and DeviceEvent structs (may deprecate
5328 KeyStroke and KeystrokeListener in favor of this generic
5329 event/listener framework for devices).
5331 * libspi/deviceeventcontroller.c:
5333 Changed some key listener code to take masks, etc., and paved the
5334 way for integration of toolkit/non-preemptive key events. Changed
5335 signatures of some internal methods.
5337 * at-bridge/bridge.c:
5338 Fixed regression connecting to interface signals, apparently
5339 caused by GTK+ changes.
5341 Added an internal bridge_state_listener to deal with
5342 property-change:accessible-state signals.
5344 Changed the key_listeners GList to store structs (including masks,
5345 etc.) instead of just CORBA_Objects (required for full
5346 implementation of key listener API).
5348 Connected the bridge to all currently supported Atk signals.
5349 Events now supported:
5350 object:property-change
5351 object:property-change:accessible-name
5352 object:property-change:accessible-state
5353 object:property-change:accessible-description
5354 object:property-change:accessible-parent
5355 object:property-change:accessible-value
5356 object:property-change:accessible-role
5357 object:property-change:accessible-table-caption
5358 object:property-change:accessible-table-column-description
5359 object:property-change:accessible-table-column-header
5360 object:property-change:accessible-table-row-description
5361 object:property-change:accessible-table-row-header
5362 object:property-change:accessible-table-summary
5363 object:children-changed
5364 object:visible-data-changed
5365 object:selection-changed
5366 object:text-selection-changed
5368 object:text-caret-moved
5370 object:row-reordered
5372 object:column-inserted
5373 object:column-reordered
5374 object:column-deleted
5375 object:model-changed
5377 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5379 * libspi/hyperlink.c,h:
5380 Fixed some broken stuff in hyperlink.
5382 * libspi/relation.h:
5383 * libspi/relation.c:
5384 * cspi/spi_accessible.c:
5385 Initial implementations of AccessibleRelation methods, and docs.
5387 * libspi/accessible.c:
5388 Fixed a bug that caused SEGV if an accessible
5389 object's description is NULL, and a client
5390 requests it. An empty string is now returned.
5392 * cspi/spi_editabletext.c:
5393 * cspi/spi_hypertext.c:
5395 * cspi/spi_hyperlink.c:
5399 Doc coverage now 95%.
5401 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5403 One last namespacing revision:
5404 * libspi/accessibleeventlistener.[ch]:
5405 Renamed SpiAccessibleEventListener to SpiEventListener,
5406 (no need for two namespaces ;-)
5408 And lots of documentation fixes:
5410 * docs/at-spi-docs.sgml:
5411 Fixed 'underscore vs. hyphen' bug that was preventing
5412 the gtk-doc API docs from being automatically generated.
5415 * cspi/spi-listener.h
5417 * cspi/spi_accessible.c
5419 * cspi/spi_application.c
5420 * cspi/spi_component.c
5421 * cspi/spi_editabletext.c
5423 * cspi/spi_hypertext.c
5425 * cspi/spi_registry.c
5426 * cspi/spi_selection.c
5430 * docs/at-spi-docs.sgml
5431 * docs/at-spi-sections.txt
5433 Added and fixed up gtk-doc documentation in cspi.
5435 Interfaces now (fully) documented (subject to revision and enhancement):
5437 Event Listener Support
5439 AccessibleApplication
5443 AccessibleEditableText
5450 AccessibleRelationSet
5455 2001-11-14 Bill Haneman <bill.haneman@sun.com>
5457 * at-bridge/bridge.c:
5458 Initial work for toolkit-level key snooper connection by bridge.
5463 New typedefs and fixes to support new namespacing, and cleaner
5464 separation of cspi bindings from libspi bonobo implementation.
5465 Removed inconsistent and extraneous Spi* namespace prefix that
5466 had crept into cspi headers.
5467 Lots of comment fixes that sed had missed.
5469 * cspi/spi-roletypes.h:
5470 * cspi/spi-statetypes.h:
5471 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
5472 to AccessibleRoleType.
5474 * libspi/accessibleeventlistener.h:
5475 Fixed minor namespacing weirdness.
5477 * libspi/deviceeventcontroller.c:
5478 Reordered some internal API for device listeners.
5479 Changed the key registry final boolean to 'is_system_global'
5480 rather than 'is_synchronous', which is more descriptive of its
5482 Added spi_device_event_controller_new().
5483 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
5485 * libspi/keystrokelistener.[ch]:
5486 Namespaced KeystrokeListener to SpiKeystrokeListener.
5487 Changed uses of keymasks to use SPI_ prefix, and did other
5490 * libspi/keymasks.h:
5491 Namespaced keymask constants with SPI_ prefix.
5493 * libspi/registry.c:
5494 Some warning fixes, and knock-on fixes from namespace changes.
5497 Added rules for accessx-gui test program.
5499 * test/accessx-gui.c:
5500 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
5501 utility. It doesn't actually use at-spi, but it's still cool and
5504 * test/keysynth-demo.c:
5508 Fixes so that these test clients work properly with the namespaced
5509 libraries. (Incompletely tested for technical reasons, fixes may follow)
5512 2001-11-13 Michael Meeks <michael@ximian.com>
5514 * libspi/application.c
5515 (impl_accessibility_application_get_version),
5516 (impl_accessibility_application_get_toolkit_name):
5518 (impl_accessibility_application_set_id),
5519 (impl_accessibility_application_get_id): remove
5520 redundant casting code.
5522 * libspi/action.c (impl_getDescription): fix warnings.
5524 * libspi/accessible.c
5525 (impl_accessibility_accessible_get_parent),
5526 (impl_accessibility_accessible_get_child_at_index),
5527 (impl_accessibility_accessible_get_state),
5528 (impl_accessibility_accessible_get_relation_set):
5529 warning fixes & include action.h
5531 2001-11-13 Michael Meeks <michael@ximian.com>
5533 * *.[ch] fix bits I screwed up:
5535 s/([^ \tb(\*\&\?\",])spi_/\1/g;
5536 s/([^ \tb(\*\&\?\",])Spi/\1/g;
5538 2001-11-13 Michael Meeks <michael@ximian.com>
5540 * *.[ch] Namespace libspi into spi_ and Spi.
5542 2001-13-11 Michael Meeks <michael@ximian.com>
5544 * Makefile.am: dist & install at-spi-1.0.pc
5546 * libspi/Makefile.am: install into at-spi-1.0
5548 * idl/Makefile.am (idldir): install into at-spi-1.0
5550 * at-spi-1.0.pc.in: add.
5552 * configure.in: build it.
5554 2001-11-12 Bill Haneman <bill.haneman@sun.com>
5556 * test/keysynth-demo.c:
5557 Use a 'realize' signal-handler to set the WM properties for
5558 the virtual keyboard, rather than making it a "POPUP" type
5559 override-redirect window (thanks to anders carlsson for that
5562 2001-11-11 Bill Haneman <bill.haneman@sun.com>
5565 * test/keysynth-demo.c:
5566 Added new test of key synthesis, which creates a simple
5567 (mouse-operated) onscreen keyboard. It inserts key events into
5568 the currently-focused window, thus it does not grab keyboard focus
5571 * cspi/spi_registry.c:
5572 Added C binding for AT-SPI generateKeyEvent.
5574 * libspi/deviceeventcontroller.c:
5575 Added call to XFilterEvent so that key listener works with XIM (we
5576 hope). Added event_synth_type to generateKeyEvent, so that we can
5577 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
5578 synthesize a press/release pair for KeySyms.
5580 2001-11-09 Bill Haneman <bill.haneman@sun.com>
5582 * libspi/Makefile.am:
5583 * registryd/Makefile.am:
5584 (temporary) hack to include libXtst in libspi and registryd.
5585 (Needed for keystroke synthesis, see below).
5588 Improved API for registerKeystrokeListener, in accordance with
5589 discussions with Gnopernicus team and X server research.
5591 * libspi/registry.c:
5592 * libspi/deviceeventcontroller.c:
5593 * libspi/accessible.c:
5594 * libspi/keystrokelistener.c:
5595 Changes and fixes to support keylisteners for potentially
5596 consumed key events (that is, 'passive grabs').
5597 Added implementation for generateKeyEvent() [untested].
5600 Changes to registerKeystrokeListener() API, as above.
5601 Added deregisterGlobalEventListenerAll(), and
5602 deregisterKeystrokeListener(), which are needed for clean exit of
5604 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
5605 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
5607 * cspi/spi_registry.c:
5608 Added implementations of function prototypes mentioned above.
5610 * registryd/registryd.c:
5611 Added the key listener event source as a g_timeout(), to allow
5612 receipt of key events that are not caught by GDK (since GDK
5613 doesn't support passive keygrabs, this was necessary).
5616 Changed to attach a keylistener to 'Alt' keys, and
5617 respond to the following keycommands: Alt-M (toggle magnifier);
5618 Alt-F (toggle speech); Alt-Q (quit).
5619 Added an exit routine to deregister the listeners, and a key
5620 listener that prints some key info to the console when a key
5621 matches the listener mask (and is thus received by the listener).
5623 * util/idl/Magnifier.idl:
5624 Changes to magnifier API to support multiple zoom regions,
5625 non-uniform scaling in x and y, markDirty, and a host of other
5626 features that would be useful to magnification.
5629 * util/mag_client.c:
5630 * util/mag_client.h:
5631 * util/mag_control.c:
5633 Source code changes to support the above IDL changes.
5636 As above, and also changes to use a (slower) generic conversion
5637 path for colormap conversions, since the fast RGB conversions have been
5638 reported to fail for 16-bit displays.
5640 2001-10-26 Michael Meeks <michael@ximian.com>
5642 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
5644 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
5646 * at-bridge/Makefile.am: fix LDFLAGS.
5648 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5650 * at-bridge/bridge.c:
5651 Re-worked listeners for toolkit events, now we have signal
5652 and property listeners. Added a private method
5653 register_atk_event_listeners(), which registers with the
5654 various atk and gtk signals we need to monitor in order to emit
5656 Added emission hook for AtkObject:property-change events, to
5657 support the 'property listeners'.
5658 Fixed some alloc()s of Accessibility_Event structs to use CORBA
5661 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
5662 which emit warnings and exit, respectively, if CORBA errors occur
5663 during remote calls, and we now use these methods to check most of
5664 our CORBA calls in the C bindings.
5666 * cspi/spi_accessible.c:
5667 Changed AccessibleSelection_refSelectedChild() to
5668 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
5669 now increment refcounts.
5671 * cspi/spi_component.c:
5672 Fixed some long pointer casts (dangerous!) to pass pointers to
5673 CORBA_longs of the proper type to the CORBA stubs, and copy the
5674 data into the longs that were passed into the C bindings code.
5676 * at-bridge/bridge.c:
5678 * libspi/accessible.c:
5679 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
5680 hyperlinks, AtkHyperlink is an object type.
5682 * libspi/application.c:
5683 Added various conversions to and from "generic" event types and
5684 atk-specific types; this is really part of the 'bridge'
5685 implementation but is valid for all AtkObject-based accessibility
5688 * libspi/editabletext.c:
5689 Fixed nasty bug wherein editable text's finalize method was
5690 unref'ing tha AtkObject reference that the text parent class was
5691 about to unref _again_. There was also a nasty inheritance bug
5692 that meant that the AccessibleEditableText class was corrupt.
5694 * libspi/selection.c:
5695 Provided implementations for some selection API that was broken.
5697 * idl/Application.idl:
5698 Added registerObjectEventListener () method.
5701 Fixed a number of return values that were Bonobo_Unknowns from
5702 bonobo_object_corba_objref(), which I
5703 forgot to dup before returning. Changed instances of
5704 bonobo_object_corba_objref (bonobo_object(o)) to
5705 BONOBO_OBJREF(o), for concision and clarity.
5707 2001-10-13 Louise Miller <louise.miller@sun.com>
5709 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
5710 idl/Event.idl, idl/Registry.idl
5711 Changed these files to include Bonobo_Unknown.idl instead
5714 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
5716 * libspi/component.c libspi/component.h:
5717 Fixed typo. Added assertions for object checks in
5718 AccessibleComponent code.
5720 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5722 * idl/Accessible.idl:
5723 Added 'isEqual (Accessible *object)'
5724 method for Accessible. (Not Yet Implemented).
5727 Changed signature of registerKeystrokeListener() to
5728 take a KeySet and KeyEventSeq so that specific keys and event
5729 types could be requested for monitoring, and added a flag
5730 is_synchronous so that either synchronous or asynchronous
5731 notification could be requested. (However this is not all
5732 implemented yet). This also meant adding two new typedefs,
5733 KeyEventSeq and KeySet.
5736 Added two new relations, RELATION_TOOLTIP_FOR and
5737 RELATION_LEAFNODE_OF.
5740 Added new state, STATE_HAS_TOOLTIP.
5742 * libspi/text.c, editabletext.c:
5743 Added new assertions to all casts of bonobo-objects from
5744 CORBA servants, to prevent Text API calls on non-text objects.
5745 Changed suspect casts of int-pointer types, so that we
5746 always send a valid CORBA_long pointer to the CORBA APIs that use
5747 in/out long parameters. We then have to copy from the CORBA_long
5748 into the regular long or int for return to the C bindings, or
5749 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
5752 * libspi/deviceeventcontroller.c:
5753 Cleaned these sources up.
5755 Changed return type for getCharacterAtOffset to
5756 CORBA_unsigned_long, to allow for 32-bit characters.
5759 2001-10-08 Bill Haneman <bill.haneman@sun.com>
5763 Fixed 'make dist' so that distro compiles...
5764 * libspi/keymasks.h:
5766 * cspi/spi-listener.c:
5767 KeystrokeListenerCB now returns a boolean.
5769 Added KeyEventType struct, and KeyStroke.
5770 Also added createKeystrokeListener(),
5771 KeystrokeListener_addCallback(),
5772 KeystrokeListener_removeCallback(), and added a keymask to
5773 registerKeystrokeListener().
5774 * cspi/spi_accessible.c:
5775 Changed numerous return types for interfaces from
5776 AccessibleComponent to Accessible<InterfaceName>; this was
5777 probably a cut-and-paste error.
5779 Implementations of new KeystrokeListener api (from spi.h,
5782 Changes to key modifier mapping.
5783 Created ControllerEventMask struct.
5784 Made DeviceEventController derive from Bonobo::Unknown.
5786 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
5787 * libspi/deviceeventcontroller.c:
5788 Added a number of new internal (private) methods.
5789 * libspi/editabletext.c:
5790 * libspi/editabletext.h:
5791 Fixed a number of bugs related to the fact that
5792 editabletext inherits from text. Fixed the EditableText struct,
5793 the init() call, and use correct casts when calling Text methods
5794 from an EditableText object. Removed (duplicate) atko from the
5795 EditableText structure, we use the one in the parent Text
5796 structure via the casts mentioned above.
5797 * libspi/keystrokelistener.[ch]:
5798 * libspi/registry.c:
5799 Changes in support of keyboard handling (above).
5801 Keyboard handling, though partly functional, is still not
5802 recommended for at-spi client use as there is considerable
5803 work yet to be done.
5806 Changed some places where pointers to various int types
5807 are cast to be pointers to CORBA_long types and vice-versa:
5808 pointer casting is not safe so we pass pointers of the correct
5809 types and then cast the result before putting it into the target
5812 * libspi/text.h: minor typos corrected.
5814 We now speak not only the name of a Text element, but the
5815 first sentence of its content, when it receives focus.
5816 I also changed the text compression to 75% from 50%.
5817 * util/Accessibility_Util.server.in:
5818 Changed the default magnifier type to be a 3x vertical
5819 splitscreen magnifier (was previously a 2x horizontal one).
5821 2001-10-03 Bill Haneman <bill.haneman@sun.com>
5823 * libspi/keystrokelistener.h:
5824 * libspi/keystrokelistener.c:
5825 Initial functional implementations of KeystrokeListener.
5828 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
5830 Fixed string handling for NULL strings in libspi.
5831 Added spi_freeString to free strings returned by C bindings.
5833 2001-09-30 Bill Haneman <bill.haneman@sun.com>
5835 * libspi/keystrokelistener.h:
5836 * libspi/keystrokelistener.c:
5837 Began (no-op) implementations of KeystrokeListener
5839 * libspi/deviceeventcontroller.c:
5840 * libspi/deviceeventcontroller.h:
5841 Began creating implementations of DeviceEventController,
5842 to handle keystroke and mouse event listening and
5844 * libspi/accessible.c:
5845 Stubbed-in the implementations for
5846 Accessibility_Accessible_getState and
5847 Accessibility_Accessible_getRelationSet.
5848 * libspi/registry.c:
5849 Improved de-registration process and fixed some bugs,
5850 deregistration now works correctly.
5852 Added initialization of applications list (to NULL).
5854 Reduced speech compression from 0.5 to 0.7, for demo.
5855 Changed call to gdk_window_set_decorations()
5856 to gtk_window_set_decorated().
5857 * at-bridge/bridge.c:
5858 Bridge now deregisters when app exits, via
5859 registration of a cleanup function
5860 with the g_atexit() call.
5861 Required making 'app' static, renamed 'this_app'.
5862 Fixed broken use of bonobo_init, passing argv wrongly.
5864 2001-09-27 Bill Haneman <bill.haneman@sun.com>
5868 Created a new directory for
5869 accessibility-related utilities, primarily for
5870 testing and demo purposes, but with possible
5877 Onscreen magnifier utility that
5878 is implemented as a bonobo service.
5880 * util/mag_client.c:
5881 * util/mag_client.h:
5882 Client-side support (simple C bindings)
5883 for Magnification service
5885 * util/mag_control.c:
5886 Client program example for
5887 Magnification service
5889 * util/Accessibility_Magnifier.server.in:
5890 Bonobo-activation file for the
5891 Magnification service.
5894 * util/idl/Magnifier.idl:
5895 IDL defining the bonobo Magnification
5899 Modifications to use the bonobo-activated magnifier
5900 above, in place of trying to connect to an existing
5901 magnifier that uses socket-listening IPC.
5903 If env variable MAGNIFIER is set, a magnifier service
5904 will be started if one does not exist.
5906 2001-09-25 Bill Haneman <bill.haneman@sun.com>
5908 * at-bridge/bridge.c:
5909 applied patch from Marc to build and run
5910 against new glib and gtk+ (seemed like a change
5911 to bonobo_init signature was made ?)
5913 made festival-server support turned off by default.
5914 Added support for a simple magnifier (off by default)
5915 which will be added to a 'util' directory later.
5916 * at-bridge/Makefile.am:
5917 Changed "application.h" header from a 'source'
5918 to a 'dependency' of libat-bridge.
5920 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
5929 Added interface implementation c files to list of
5930 includes so they are included in libcspi.
5933 Changed prototype of AccessibleAction_doAction to return a
5935 Changed prototype of AccessibleTable_getCaption to
5936 return an Accessible.
5937 Changed prototype of AccessibleTable_getSelectedRows
5938 and AccessibleTable_getSelectedColumns to
5939 return a long (returns the number of selected rows
5940 or columns respectively).
5941 Changed name of AccessibleText_refRunAttributes to
5942 AccessibleText_getAttributes.
5943 Changed prototype of AccessibleText_getCharacterExtents to
5944 return a void rather than a boolean.
5945 Added support for a AccessibleCoordType parameter
5946 specifying what type of coordinates are desired.
5947 Added an AccessibleCordType parameter to
5948 AccessibleText_getPointAtOffset.
5950 * cspi/spi_accessible.c:
5951 Added code to return the outstanding interfaces from
5952 Accessible_queryInterface.
5954 * cspi/spi_action.c:
5956 Corrected call to getNActions to call the c binding
5959 * cspi/spi_editabletext.c:
5961 Changed name from setRunAttributes to setAttributes.
5963 * cspi/spi_hyperlink.c:
5965 Changed call to getNAnchors to correctly call the c
5966 binding for an attribute.
5968 * cspi/spi_hypertext.c:
5970 Changed getImageDescription to correctly call the
5971 binding for an attribute.
5973 * cspi/spi_selection.c:
5974 Changed getNSelectedChildren to correctly call the c
5975 binding for the attribute.
5976 Changed refSelectedChild to getSelectedChild.
5980 Changed getCaption to return an Accessible.
5981 Fixed calls which retrieve attributes.
5982 Changed refAt to getAccessibleAt.
5983 Changed getNSelectedRows and getNSelectedColumns to
5987 Changed getCharacterExtents and getPointAtOffset to accept an
5988 AccessibleCoordType.
5990 Changed calls which retrieve attributes.
5991 Changed refRunAttributes to getAttributes.
5996 * idl/Hyperlink.idl:
5997 Changed n_anchors attribute to nAnchors to keep naming
5998 convention consistent.
6001 Made Table inherit from Bonobo::Unknown.
6002 Added nSelectedColumns and nSelectedRows attributes.
6005 Made Value inherit from Bonobo::Unknown.
6007 * libspi/hyperlink.c:
6008 Change for nAnchors attributte name change.
6010 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6018 Added interface implementation c files to list of
6019 includes so they are included in libcspi.
6022 Changed prototype of AccessibleAction_doAction to return a
6024 Changed prototype of AccessibleTable_getCaption to
6025 return an Accessible.
6026 Changed prototype of AccessibleTable_getSelectedRows
6027 and AccessibleTable_getSelectedColumns to
6028 return a long (returns the number of selected rows
6029 or columns respectively).
6030 Changed name of AccessibleText_refRunAttributes to
6031 AccessibleText_getAttributes.
6032 Changed prototype of AccessibleText_getCharacterExtents to
6033 return a void rather than a boolean.
6034 Added support for a AccessibleCoordType parameter
6035 specifying what type of coordinates are desired.
6036 Added an AccessibleCordType parameter to
6037 AccessibleText_getPointAtOffset.
6039 * cspi/spi_accessible.c:
6040 Added code to return the outstanding interfaces from
6041 Accessible_queryInterface.
6043 * cspi/spi_action.c:
6045 Corrected call to getNActions to call the c binding
6048 * cspi/spi_editabletext.c:
6050 Changed name from setRunAttributes to setAttributes.
6052 * cspi/spi_hyperlink.c:
6054 Changed call to getNAnchors to correctly call the c
6055 binding for an attribute.
6057 * cspi/spi_hypertext.c:
6059 Changed getImageDescription to correctly call the
6060 binding for an attribute.
6062 * cspi/spi_selection.c:
6063 Changed getNSelectedChildren to correctly call the c
6064 binding for the attribute.
6065 Changed refSelectedChild to getSelectedChild.
6069 Changed getCaption to return an Accessible.
6070 Fixed calls which retrieve attributes.
6071 Changed refAt to getAccessibleAt.
6072 Changed getNSelectedRows and getNSelectedColumns to
6076 Changed getCharacterExtents and getPointAtOffset to accept an
6077 AccessibleCoordType.
6079 Changed calls which retrieve attributes.
6080 Changed refRunAttributes to getAttributes.
6085 * idl/Hyperlink.idl:
6086 Changed n_anchors attribute to nAnchors to keep naming
6087 convention consistent.
6090 Made Table inherit from Bonobo::Unknown.
6091 Added nSelectedColumns and nSelectedRows attributes.
6094 Made Value inherit from Bonobo::Unknown.
6096 * libspi/hyperlink.c:
6097 Change for nAnchors attributte name change.
6100 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
6102 implementations-- made server implementations own AtkObject pointers
6103 rather than their respective AtkInterrface pointers to fix
6104 refcounting. AtkHyperlink is still broken.
6106 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6107 * cspi/spi_accessible.c:
6108 Added method Accessible_Role_getName(),
6109 and requisite string array (role_names).
6110 Added conversion string_from_corba_strin() call
6111 to Accessible_getName and _getDescription.
6112 * libspi/accessible.c:
6113 Added implementation for Accessible_getRole()
6115 Added festival support, used if environment variable
6118 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6120 * at-bridge/bridge.c:
6121 Now allocate Accessibility_Event using
6122 Accessibility_Event__alloc() instead of g_new0().
6123 * libspi/accessibleeventlistener.c:
6124 Initialize AccessibleEventListener->callbacks to NULL.
6125 Fixed accessible__event_listener_init() param, changed to
6126 "AccessibleEventListener *" type.
6127 Changed a bonobo_object_release_unref() call to
6128 Accessibility_Accessible_unref().
6129 * libspi/listener.c:
6130 Changed Bonobo_Unknown_unref to (equivalent)
6131 Accessibility_Accessible_unref.
6132 * libspi/registry.c:
6133 Changed bonobo_object_release_unref to
6134 Accessibility_Accessible_unref.
6136 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6139 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
6140 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
6141 spi-util.c spi-util.h
6142 Implementations for C bindings to remaining accessibility
6145 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6148 changed return value of Action from void to boolean to
6149 bring in line with ATK.
6152 Changed getText funcions to return "out" start and end offsets.
6153 Changed getAttributes to take and offset and return the start
6154 and end offset of the attribute run.
6155 Changed getOffsetAtPoint and getCharacterExtents to take an
6156 enum describing whether coordinates are window or screen.
6159 libspi/action.c libspi/action.h libspi/editabletext.c
6160 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
6161 libspi/hypertext.c libspi/hypertext.h libspi/image.c
6162 libspi/image.h libspi/selection.c libspi/selection.h
6163 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
6164 libspi/value.c libspi/value.h
6165 Added server implementations for outstanding ATK interfaces
6166 not yet implemented.
6168 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6171 Added (missing) getName() method.
6172 Made nActions an attribute.
6173 * idl/EditableText.idl:
6174 Changed order of params in setAttributes.
6175 * idl/Hyperlink.idl:
6176 Removed getAnchor, added getURI.
6178 Changed attributes to methods, for efficiency
6179 (so that getting extents can be done in one call)
6180 * idl/Selection.idl:
6181 Changed nSelectedChildren to attribute, and re-indented.
6182 * idl/Table.idl: changed nrows, ncolumns, caption, summary
6184 * idl/Text.idl: reformatted to match our coding style.
6185 (temporarily?) removed getRowColumnAtOffset().
6186 Changed text selection API to support multi-select and
6187 non-contiguous selections, as in ATK.
6188 * idl/Value.idl: changed some methods to attributes.
6190 2001-08-24 Mark McLoughlin <mark@skynet.ie>
6192 * libspi/listener.c(impl_notify_event):
6193 BonoboUnkown_unref the source instead
6194 of bonobo_object_release_unref - the ORB
6195 handles the releasing.
6197 * configure.in: require ORBit-2.3.94 for
6200 2001-08-21 Bill Haneman <bill.haneman@sun.com>
6202 Tagged CVS repository 'EA_1_0'.
6203 * README.EARLY_ACCESS:
6204 Alphabetized acknowledgements list, and
6206 Listed some known dependencies of at-spi.
6208 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6210 * docs/at-spi-docs.sgml:
6211 * docs/at-spi-sections.txt:
6212 * docs/at-spi-overrides.txt: (Added zero-length file)
6213 Documentation improvements - gtk-doc should build
6214 docs for all implemented C bindings now.
6217 * cspi/spi.c: (New file)
6218 * cspi/spi_event.c: (New file)
6219 * cspi/spi_registry.c: (New file)
6220 * cspi/spi_accessible.c: (New file)
6221 * cspi/spi_application.c: (New file)
6222 * cspi/spi_component.c: (New file)
6223 Split spi_main.c into six parts, and included them from
6224 "spi.c". This is a bit of a hack, probably temporary,
6225 but required by gtk-doc, apparently.
6227 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6230 * docs/at-spi-docs.sgml:
6231 * docs/at-spi-sections.txt:
6233 Initial checkins/modifications for gtk-doc generation.
6236 Added (missing) interface query methods to Accessible's C binding.
6238 Added GenericInterface type definition.
6240 Added query for AccessibleComponent interface to focus event handler.
6241 Added printout of bounding box for focussed component.
6242 * libspi/component.c:
6243 Added partial implementation for AccessibleComponent to C binding.
6244 * idl/Application.idl:
6245 * libspi/registry.c:
6246 * libspi/listener.c:
6247 * libspi/application.c:
6248 * libspi/application.h:
6249 Changed "ID" attribute type from string to long.
6251 2001-08-19 Bill Haneman <bill.haneman@sun.com>
6255 Made method naming consistent: methods taking object args
6256 start with uppercase, other methods (except those using
6257 acronyms) start with lowercase. Underscores delimit between
6258 object names and method names:
6259 SPI_init() - uppercase since it starts with an acronym.
6260 getDesktopCount () - lowercase start since no object param0.
6261 Accessible_getName() - uppercase object type name, studlyCaps method
6265 Added gtk-doc documentation for all currently implemented
6266 methods in the C bindings API.
6268 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6270 * Makefile.am : changed build order to build test last.
6273 Changed "createEventListener" to "CreateEventListener".
6274 * libspi/accessibleeventlistener.c :
6275 Bugfix for addition of callbacks.
6276 * test/Makefile.am :
6277 * test/simple-at.c :
6278 Added new test that uses the C bindings API.
6280 * libspi/listener.c :
6281 * libspi/registry.c :
6282 * libspi/accessibleeventlistener.c :
6283 * at-bridge/bridge.c :
6284 Renamed member "target" of Accessibility_Event to "source",
6285 which is more descriptive.
6288 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6292 * cspi/Makefile.am :
6293 Added makefile support for at-spi/cspi directory.
6296 * cspi/spi-listener.h : (NEW FILE)
6297 Added support for/use of spi-listener.h.
6299 C bindings now build successfully, with no warnings.
6300 * libspi/accessibleeventlistener.h : (NEW FILE)
6301 * libspi/accessibleeventlistener.c : (NEW FILE)
6302 * libspi/Makefile.am :
6303 Added new object type "AccessibleEventListener"
6304 which inherits from Listener, and allows attachment
6305 of in-process callbacks (so that a client with a listening
6306 object instance can add functionality to the local
6307 implementation, dynamically).
6309 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6311 * libspi/accessible.c:
6312 Add implementation for get_index_in_parent().
6314 Added #include of "spi-roletypes.h", and
6315 added enumerated type AccessibleCoordType.
6316 Added definition for KeystrokeListener (function type).
6319 * cspi/spi-statetypes.h :
6320 * cspi/spi-roletypes.h :
6322 Added these headers, used by spi.h.
6324 Added code (NOTE: not yet built by make).
6326 2001-08-18 Mark McLoughlin <mark@skynet.ie>
6328 * libspi/Makefile.am: generate imodule
6329 at the same time as other idl compiler
6332 2001-08-17 Bill Haneman <bill.haneman@sun.com>
6333 * libspi/registry.c :
6334 * libspi/application.c :
6335 * idl/Application.idl :
6336 Made registration with toolkit an application method,
6337 which is required since each app has its own toolkit static
6338 environment. Thus the bridge must register for
6339 notification of toolkit events from each application in turn.
6340 Toolkit notifications are now successfully registered for, and
6341 sent to the listening at client.
6343 Changed toolkit event string to use hyphens rather than underscores.
6344 * libspi/listener.c :
6345 listner now gives more info in debug mode - it reports the
6346 name of the event received, as well as the name of the source.
6349 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6351 * libspi/registry.c :
6352 added more implementation for toolkit events.
6353 Fixed bug such that toolkit event registrations
6354 (via atk) use the whole event name string, not
6356 Removed a useless call to an ORBit_ method.
6357 * at-bridge/bridge.c :
6358 Removed unused local sbuf[] variable.
6360 We now register for Gtk:GtkWidget:button_press_event
6361 events as well as "focus:" events.
6363 Add some more API from Registry.idl that was missing,
6364 for keystroke listening, keystroke and mouse event
6365 synthesis, and enumeration of accessible desktops.
6367 2001-08-16 Michael Meeks <michael@ximian.com>
6369 * configure.in: use AM_GLIB_GNU_GETTEXT.
6371 * Makefile.am (SUBDIRS): kill intl.
6373 2001-08-15 Michael Meeks <michael@ximian.com>
6375 * registryd/Makefile.am: s/oaf/server/ relocate info file.
6377 * configure.in: upd.
6379 * configure.in: depend on a recent bonobo-activation that
6380 will find our server files ...
6382 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6384 * libspi/accessible.c : accessible_new() :
6385 Now we add the Component interface via bonobo_object_add_interface,
6386 if the contained AtkObject implements AtkComponent.
6387 * libspi/accessible.h : now include "component.h"
6388 * libspi/component.h :
6389 * libspi/component.c : added files - implementation of
6390 bonobo wrapper object for Accessibility/Component
6391 * libspi/listener.c :
6392 Added test code to check for Accessibility/Component:1.0
6393 interface and report whether it is implemented by the
6395 * libspi/registry.c :
6396 Now we check for not only the hash of the whole event
6397 string before relaying the event, we also check the
6398 "minor" event string (without the detail string).
6399 This allows event listeners to be registered against
6400 all events of a certain major+minor type, or just
6401 against a specific major+minor+detail type.
6402 * libspi/accessible.c :
6403 Added implementations for Accessible:get_parent(),
6404 Accessible:getChildCount(), and Accessible:getChildAtIndex().
6405 * libspi/registry.c :
6406 * libspi/listener.c :
6407 Replaced calls to Accessibility_Accessible_ref() and
6408 Accessibility_Accessible_unref() with
6409 calls to bonobo_object_dup_ref() and
6410 bonobo_object_release_unref(), so that the CORBA object
6411 is dup-ed and released when relayed, as well as the bonobo object.
6413 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6415 * libspi/Makefile.am,
6416 registryd/Makefile.am,
6417 at-bridge/Makefile.am.
6418 test/Makefile.am, configure.in:
6419 reverse previous changes.
6421 * /idl/Image.idl: fix typo.
6423 * test/Makefile.am: put DEBUG_FLAGS
6426 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6428 * test/app.c: use argv[0] instead of
6431 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6433 * libspi/Makefile.am,
6434 registryd/Makefile.am,
6435 at-bridge/Makefile.am.
6436 test/Makefile.am, configure.in:
6437 cleanup, replace individual LIBS/CFLAGS with
6438 AT_COMMON_{LIBS|CFLAGS}.
6442 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6444 * configure.in, libspi/Makefile.am:
6445 Change IDL path checking for bonobo-activation
6448 2001-08-15 Bill Haneman <bill.haneman@sun.com>
6450 * registryd/registry.c : separated event listeners to use
6451 3 separate lists (focus, window, toolkit). Began testing
6452 event names against hashes before relaying events.
6453 * test/at.c : now register for events of type "focus:"
6454 * test/app.c : now generate events of type "focus:"
6455 * at-bridge/bridge.c : register with ATK for focus events,
6456 and we now relay those focus events to any "focus:" listeners.
6457 This now works with the bridge as a GTK_MODULE when running test/at.
6458 * libspi/registry.c :
6459 * libspi/listener.c :
6460 now we ref event sources before propagating, and unref on receipt.
6461 * libspi/registry.c :
6462 some changes to internal structs, to support event typestring hashes.
6463 * text/app.c : changed the way the appname is generated.
6464 * cspi : added directory that will hold the C bindings library for
6465 non-CORBA/bonobo-savvy clients.
6466 * cspi/spi.h : header file that contains the function prototypes for the C binding.
6467 * idl/Component.idl : added in parameter to indicate coord system for
6468 geometry-related calls.
6469 * idl/Hyperlink.idl : added readonly n_links attribute
6470 * idl/Image.idl : changed methods to attributes.
6472 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6474 * at-bridge/Makefile.am: link against
6475 ../libspi/libspi.la instead of -lspi.
6477 * at-spi/test/app.c: include
6478 bonobo-activation.h. Use a default appname
6479 if one is not provided.
6481 2001-08-14 Bill Haneman <bill.haneman@sun.com>
6483 * idl/Registry.idl : temporarily changed register_Application
6484 to oneway, to work around issue with initial registration
6486 * idl/Application.idl : changed attribute "id" from readonly
6487 to read-write, since it needs to be assigned by Registry.
6488 * registryd/registryd.c : added call to set application id
6490 * registryd/registry.c : changed de-registration procedure to
6491 use CORBA_Object_hash() to find matching object ref in application
6492 lists and listener lists.
6493 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
6494 began distinguishing between event types (work in progress).
6496 2001-08-13 Bill Haneman <bill.haneman@sun.com>
6499 * libspi/application.c:
6500 Added implementations for get/set id, get_toolkitName,
6502 * registryd/registryd.c :
6506 Converted from use of OAF to bonobo-activation.
6507 * libspi/desktop.h :
6508 * libspi/desktop.c :
6510 Removed references to atksimpleobject, since base atkobject
6511 implementation now provides functionality we need.
6512 * libspi/atksimpleobject.c :
6513 * libspi/atksimpleobject.h :
6518 * at-bridge/Makefile.am
6519 * at-bridge/bridge.c
6522 Added directory "bridge" and contents, and added dependencies
6523 in Makefile.am/configure.in.
6524 Initial checkin of "at-bridge".
6525 This code is a GTK_MODULE which automatically registers
6526 GTK+ apps with the accessibility registry, using an object
6527 reference to the root ATK object.
6529 2001-08-10 Mark McLoughlin <mark@skynet.ie>
6531 * po/Makefile.in.in: Remove. Again. If this
6532 doesn't get autogenerated - you need to update
6535 2001-08-07 Mark McLoughlin <mark@skynet.ie>
6537 * po/Makefile.in.in: Add. Again.
6539 2001-07-31 Bill Haneman <bill.haneman@sun.com>
6541 * libspi/accessible.c : added support for 'description' property.
6542 * libspi/accessible.c
6544 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
6545 (since the two are now equivalent in libbonobo)
6553 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
6554 Bonobo::Unknown as does Accessibility::Accessible.
6555 * idl/StreamableContent.idl : as above, and replaced internal InputStream
6556 interface with Bonobo::Stream, since it was redundant with it.
6557 (The Stream returned by a StreamableContext object is expected to
6558 implement only a subset of Bonobo::Stream)
6560 2001-07-28 Anders Carlsson <andersca@gnome.org>
6562 * libspi/accessible.c (accessible_object_finalize): Change
6563 g_free to g_object_unref since the AtkObject is a GObject.
6565 2001-07-30 Bill Haneman <bill.haneman@sun.com>
6567 * idl/Accessibility.idl: add new IDL files
6570 * idl/Action.idl: Definitions of actionable UI object
6571 * idl/Component.idl: Definitions of UI component geometry, etc.
6572 * idl/Hyperlink.idl: Defs of hyperlink behavior
6573 * idl/Image.idl: Def of accessible image
6574 * idl/Selection.idl: Definition of UI object with selectable children
6575 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
6576 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
6577 * idl/Text.idl: Interface defs for UI elements with complex textual content
6578 * idl/Value.idl: Definition of UI element that is a value controller or display
6580 2001-07-27 Michael Meeks <michael@ximian.com>
6582 * po/Makefile.in.in: remove autogenerated file from CVS.
6584 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
6587 * idl/Registry.idl: include guard.
6589 * idl/Accessibility.idl: Add, and include all the other IDL
6592 * idl/*.idl: remove mass of pragmas etc.
6594 2001-07-26 Michael Meeks <michael@ximian.com>
6596 * registryd/Makefile.am (registryd_SOURCES): remove
6599 2001-07-27 Mark McLoughlin <mark@skynet.ie>
6601 * libspi/.cvsignore, registryd/.cvsignore,
6602 test/.cvsignore: updated.
6604 * po/Makefile.in.in: gettext update.
6606 2001-07-25 Bill Haneman <bill.haneman@sun.com>
6608 * initial CVS checkin
6610 2001-06-29 Michael Meeks <michael@ximian.com>
6612 * configure.in: add AM_CONFIG_HEADER to gen config.h