1 2003-12-01 Bill Haneman <billh@gnome.org>
3 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
6 Added enum for AccessibleStreamableContentSeekType.
7 (AccessibleStreamableContent_freeContentTypeList): New.
9 * cspi/spi_streamablecontent.c:
10 (accessible_bonobo_stream_client_seek): New private method.
11 (AccessibleStreamableContent_seek): Implemented this method,
12 using Bonobo_Stream_seek.
13 (AccessibleStreamableContent_freeContentTypeList): New method
14 for freeing the return value from
15 AccessibleStreamableContent_getContentTypes.
16 (stream_cache_item_free): Replaces stream_release; stop leaks.
17 (stream_release): removed.
18 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
19 free the memory properly.
21 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
25 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
27 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
29 * docs/referecce/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
31 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
33 2003-12-01 Bill Haneman <billh@gnome.org>
35 Fix for bug/rfe #127463.
37 * idl/Accessibility_Accessible.idl:
38 (getLocalizedRoleName): New.
39 (unimplemented4): Removed (replaced by above).
41 * libspi/accessible.c:
42 (impl_accessibility_accessible_get_local_role_name): New.
43 (spi_accessible_class_init): Add getLocalizedRoleName entry to
47 (Accessible_getLocalizedRoleName): New.
49 * cspi/spi_accessible.c:
50 (Accessible_getLocalizedRoleName): New.
52 2003-12-01 Bill Haneman <billh@gnome.org>
55 * idl/Accessibility_Text.idl:
56 (getDefaultAttributes): New.
57 (unimplemented4): Removed (replaced by above method).
60 (impl_getDefaultAttributes): New method.
61 (spi_text_class_init):
62 initialize the get_default_attributes slot in the epv.
65 (AccessibleText_getDefaultAttributes): New prototype.
68 (AccessibleText_getDefaultAttributes): New method.
70 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
72 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
73 write beyond the end of the table. Fixes bug #120473.
75 2003-09-30 Christian Rose <menthos@menthos.com>
77 * configure.in: Added "eu" to ALL_LINGUAS.
79 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
81 * configure.in: ALL_LINGUAS: Added no.
83 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
85 * configure.in: Added lt to ALL_LINGUAS.
87 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
89 * atk-bridge/bridge.c:
90 (atk_bridge_init): Register event listeners always even for
91 out-of-process applet.
92 (spi_atk_bridge_toplevel_added): Remove call to
93 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
94 (spi_atk_bridge_toplevelk_removed): Remove call to
95 spi_atk_deregister_event_listenersa as the listeners are now always
97 (spi_atk_bridge_register_application): Remove call to
98 spi_atk_register_event_listeners as it is not done in atk_bridge_init
100 This fixes bug #120991.
102 * libspi/table.c (impl_getColumnDescription): Correct typo,
103 pointed out by Bolian.Yin@sun.com.
105 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
107 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
109 2003-09-08 Bill Haneman <billh@gnome.org>
111 * configure.in: Revved to 1.3.7.
113 This is the GNOME 2.4.0 release of at-spi.
115 * docs/reference/cspi/Makefile.am:
116 Removed spurious inclusion of 'index.sgml' in the
117 html directory; this was breaking make distcheck and
118 also some other build environments.
120 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
122 * registryd/registry.[ch}:
123 Add queue_handler_id and focus_object to SpiRegistry data structure.
124 (registry_flush_event_queue): If event being discarded is
125 "state-change:focused" store object as focus_object.
126 (registry_start_queue): Remove queue handler and focus object
128 (registry_discard_event): New function which discards a focus event
129 if we had stored focus object in the registry.
130 (registry_queue_event): Add new check that is_queueing is set as this
131 function is reentrant.
132 (registry_filer_event): Add call to registry_discard_event.
134 This resolves issues raised in bug #108664.
136 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
138 * configure.in: Added "bn" to ALL_LINGUAS.
140 2003-09-04 Bill Haneman <billh@gnome.org>
142 * cspi/spi_event.c: Documentation improvements for
143 (SPI_registerAccessibleKeylistener).
145 * docs/reference/tmpl/spi_registry.sgml:
146 Documentation improvements for SpiAccessibleKeylistenerCB.
148 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
150 * configure.in: Added "ro" to ALL_LINGUAS.
153 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
155 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
156 not decremented to zero. Fixes bug #120725.
158 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
160 * configure.in: Added "ja" to ALL_LINGUAS.
162 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
164 * configure.in: Added "is" to ALL_LINGUAS.
166 2003-08-22 Christian Rose <menthos@menthos.com>
168 * configure.in: Added "nl" to ALL_LINGUAS.
170 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
172 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
173 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
175 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
177 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
178 type for unspecified exception.
179 * cspi_streamablecontect): Add include of string.h for memcpy.
180 (stream_release): Correct call to bonobo_object_release_unref
181 (stream_cache_item_free): Correct call to bonobo_object_release_unref
182 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
183 argument of _cspi_expection_throw.
184 * libspi/hyperlink.c: Add include of libspi/action.h:
185 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
186 * libspi/streamablecontent.c: add include of libspi/component.h.
187 * regisrtyd/deviceeventcontroller.c:
188 (spi_dec_translate_mask): Removed unused variable priv.
189 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
190 * registryd/registry.c:
191 (registry_filter_event): Remove unused variable queue_is-empty.
192 (impl_registry_notify_event): Use correct modifier in fprintf call.
194 This fixes compiler warnings reported in bug #120220.
196 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
198 * registryd/registryd.c: Remove this file.
200 2003-08-17 Sanlig Badral <badral@openmn.org>
202 * configure.in: Added mn to ALL_LINGUAS.
204 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
206 * configure.in: Added et to ALL_LINGUAS.
208 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
210 * test/event-listener-test.c: Change active-descendant to
211 active-descendant-changed.
213 2003-08-10 Sami Pesonen <sampeson@iki.fi>
215 * configure.in: Added "fi" in ALL_LINGUAS.
217 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
219 * configure.in: Added "hi" in ALL_LINGUAS.
221 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
223 * configure.in: Revved to 1.3.6.
227 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
229 * registryd/deviceeventcontroller.c
230 (spi_device_event_controller_object_finalize): Fix typo in previous
233 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
235 * registryd/deviceeventcontroller.c
236 (spi_device_event_controller_object_finalize): Fix build on
237 systems without XEvIE.
239 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
241 * acconfig.h, configure.in, registryd/Makefile.am,
242 registryd/devicecontoller.[ch]: Add XEViE support.
244 2003-08-06 Wang Jian <lark@linux.net.cn>
246 * configure.in: Added "zh_CN" to ALL_LINGUAS.
248 2003-08-06 Metin Amiroff<metin@karegen.com>
250 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
252 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
254 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
255 MODIFIER_ALT in correct place.
257 This fixes part of bug #118114.
259 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
261 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
263 2003-07-28 Changwoo Ryu <cwryu@debian.org>
265 * configure.in: Added "ko" to ALL_LINGUAS.
267 2003-07-28 Ole Laursen <olau@hardworking.dk>
269 * configure.in: Added "da" to the commented out ALL_LINGUAS.
271 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
273 * configure.in: Added "sq" to ALL_LINGUAS.
275 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
277 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
279 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
281 * configure.in: updated ALL_LINGUAS list
283 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
285 * configure.in: Added Belarusian to ALL_LINGUAS.
287 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
289 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
291 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
292 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
294 This fixes bug #116949.
296 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
298 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
299 Correct CSPI to SPI in function documentation.
301 This fixes bug #118054.
303 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
305 * configure.in: Added Russian to ALL_LINGUAS.
307 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
309 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
311 2003-07-14 Danilo Å Segan <dsegan@gmx.net>
313 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
315 2003-07-10 Joel Brich <joel.brich@laposte.net>
317 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
319 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
321 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
323 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
325 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
326 resources allocated for AccessibleEvent. See cspi_event().
328 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
329 static variable streams to NULL.
331 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
332 Update so that AcessibleEvent_ref will work.
334 This fixes bug #116624.
336 2003-07-06 Jordi Mallach <jordi@sindominio.net>
338 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
340 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
342 * configure.in: Added "fr" (French) to ALL_LINGUAS.
344 2003-07-02 Christian Neumair <chris@gnome-de.org>
346 * configure.in: Added "de" (German) to ALL_LINGUAS.
348 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
350 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
352 2003-07-01 Miloslav Trmac <mitr@volny.cz>
354 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
356 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
358 * configure.in: Added "pl" to ALL_LINGUAS.
360 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
362 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
364 2003-06-30 Bill Haneman <bill.haneman@sun.com>
367 (get_action_from_servant):
368 Removed assertion that action is implemented on an AtkObject.
370 * libspi/hyperlink.c:
372 Aggregate AccessibleAction interface on the hyperlink object if
373 the object implements AtkAction. (This convention is used in
376 2003-06-30 Bill Haneman <bill.haneman@sun.com>
378 * configure.in: Revved to 1.3.5.
380 * registryd/Accessibility_Registry.server.in.in:
381 Marked up appropriate strings for translation.
383 * atk-bridge/bridge.c: Marked a couple of
384 user-visible warnings for translation. Questionable
385 whether they are really useful, but possibly so.
388 2003-06-28 Christian Rose <menthos@menthos.com>
390 * configure.in: Added "sv" to ALL_LINGUAS.
392 2003-06-26 Bill Haneman <bill.haneman@sun.com>
394 * registryd/registry.c:
395 (spi_registry_object_finalize): Unref the deviceeventcontroller.
396 (registry_defer_on_event): Defer focus: events, this is an
397 improvement to the patch for bug #108664.
399 * TODO: Update with 2.4/"Dev Complete" items.
401 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
403 * atk-bridge/bridge.c:
404 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
405 looks up signals once.
406 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
407 if doing registration.
408 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
409 when doing registration.
411 This fixes bug #115014.
413 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
415 * atk-bridge/bridge.c:
416 (atk_bridge_init): Add signal handler for children-changed:remove on
417 root when in a BonoboComponent.
418 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
419 for first toplevel only other incrememt variable toplevels.
420 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
421 application and remove listeners.
422 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
424 (spi_atk_deregister_event_listeners): New function which removes
426 (reinit_register_vars): New fuction which reinitializes variables.
428 This fixes bug #111578.
430 2003-06-13 Bill Haneman <bill.haneman@sun.com>
432 * configure.in: version 1.3.4.
434 * cspi/spi_accessible.c:
435 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
438 2003-06-13 Michael Meeks <michael@ximian.com>
440 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
442 * cspi/spi_main.c (cspi_peek_ev): impl.
444 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
446 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
448 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
450 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
451 SPI_ROLE_AUTOCOMPLETE
453 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
455 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
456 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
458 2003-06-11 Bill Haneman <bill.haneman@sun.com>
460 * libspi/streamablecontent.h:
461 * libspi/streamablecontent.c:
462 New files, provide implementation/wrappers for
463 Accessibility_StreamableContent.
465 * cspi/spi_streamablecontent.c:
466 Connected the C wrappers to the libspi C bindings.
467 (AccessibleStreamableContent_close): New method.
470 (AccessibleStreamableContent_close): New method, needed
471 since we have an "open, [seek], read, close" model in cspi.
473 2003-06-11 Bill Haneman <bill.haneman@sun.com>
475 Fix for #108664; Padraig's revision of my original patch.
477 * registryd/registry.h:
478 Added event queue list, is_queuing, and exit_notify_timeout
479 to the registry struct.
481 * registryd/registry.c:
482 (registry_init): Initialize new struct from registry.h.
483 (impl_registry_notify_event):
484 Filter events before notifying, in case some need to be
486 (registry_filter_event): New,
487 we defer certain incoming events (for instance
488 window:deactivate) because we may wish to hide
489 or reject them based on pending events. This is
490 mostly a workaround for bug #108664.
491 (registry_queue_event, registry_start_queue): New.
492 (registry_defer_on_event): Test event to see if it
494 (registry_reset_on_event): Returns TRUE if the
495 event should cause a queue reset.
496 (registry_discard_on_event): Returns TRUE if the event
497 should cause the previous queue contents to be discarded.
498 (registry_timeout_flush_queue): Flushes the pending event
499 queue if no reset/discard-triggering events have come in
500 within the timeout period.
501 (registry_emit_event): New.
502 (registry_clone_notify_context): New, used when queueing the
503 event notify contexts.
505 2003-06-10 Bill Haneman <bill.haneman@sun.com>
507 * configure.in: Version revved to 1.3.2, lt 0.9.2
508 Incremented ATK required version to 1.3.4.
510 * cspi/spi_registry.c:
511 (SPI_generateKeyEvent):
512 We now pass the keystring along if it's non-null.
514 * registryd/deviceeventcontroller.c:
515 (keysym_mod_mask): New method, returns modifier mask
516 required to generate a keysym from a given keycode.
517 (dec_synth_keysym): New method.
518 (dec_synth_keystring): New method.
519 (dec_get_modifier_state): New method.
520 (dec_lock_modifiers): New
521 (dec_unlock_modifiers): New.
522 (dec_keysym_for_unichar): New, rather brute-force
523 conversion from UCS-4 to X KeySyms. Only works for
524 Latin at the moment, with partial implementations for
525 Greek, Hebrew, and (incomplete) Katakana.
526 (impl_generate_keyboard_event): Now implement
527 "KEYSTRING" synthesis and implement "KEYSYM"
529 (keycode_from_keysym): Improved, passes a returned
530 modmask value now if the corresponding param is non-NULL.
532 Fixes bugs #92143 and #109776.
535 * test/keysynth-test.c:
536 New test program for key synthesis, to confirm fixes for
540 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
542 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
544 * cspi/spi_accessible.c (cspi_init_relation_type_table):
545 Add line for RELATION_POPUP_FOR
547 * docs/reference/cspi/tmpl/spi_relation.sgml:
548 Add relation SPI_RELATION_POPUP_FOR
550 * docs/reference/cspi/tmpl/spi_stateset.sgml:
551 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
553 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
555 * libspi/relation.c (spi_init_relation_type_table):
556 Add line for RELATION_POPUP_FOR
558 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
560 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
561 there are still windows which have not been deleted and emit
562 window:deactivate, if necessary and window:destroy events.
563 This fixes bug #114370. The change on June 5th was not correct.
565 2003-06-09 Bill Haneman <bill.haneman@sun.com>
567 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
570 (SPI_dupString): Allow dup-ing of a string such that it's safe to
572 New methods for client exception handling and interception.
573 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
574 (SPI_exceptionHandlerPop): You guessed it...
575 (SPI_getSourceType): Return the type of object which offended.
576 (SPI_getExceptionCode): Return an enum code telling, possibly,
577 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
578 (SPIAccessibleException_getSource): get the source object for
579 exceptions that come from Accessibles, if SPIExceptionSourceType is
580 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
581 (SPIException_getDescription): New, returns a string description of
582 the problem. [Not yet a stable ABI, strings are not frozen]
584 * cspi/spi-private.h:
585 Added implementation details of opaque SPIException
589 Implementations of above. Also
590 (_cspi_exception_throw): new private method that
591 dispatches exceptions to handlers, called from cspi-bonobo.c
593 * cspi/bonobo/cspi-bonobo.c:
594 (cspi_check_ev): call _cspi_exception_throw.
595 Don't print a warning message if the exception has been
596 handled by _cspi_exception_throw.
598 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
600 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
601 there are still windows which have not been deleted and emit
602 window:deactivate, if necessary and window:destroy events.
603 This fixes bug #114370.
605 2003-06-03 Bill Haneman <bill.haneman@sun.com>
608 (cspi_accessible_is_a): Make non-fatal
609 if the object reference is dead.
611 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
613 * cspi/spi_main.c: #include <stdio.h>
614 * test/simple-at.c: ditto
615 * test/event-listener-test.c: ditto
616 * test/screen-review-test.c: ditto
618 2003-05-30 Michael Meeks <michael@ximian.com>
620 * test/test-simple.c (main): use CORBA_ORB_perform_work
621 instead of an unnecessary linc_ call.
623 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
625 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
626 Add SPI_STATE_INDETERMINATE.
628 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
631 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
633 * libspi/stateset.c (init_state_type_tables): Add support for
636 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
638 * configure: Update versions of atk and gail required.
639 This fixes bug #113268.
641 2003-05-02 Bill Haneman <bill.haneman@sun.com>
643 * configure.in: Revved micro version to 1.3.1 (because of build fix).
645 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
647 * libspi/Makefile.am:
648 Ensure headers are generated before being used by c sources.
650 2003-05-01 Bill Haneman <bill.haneman@sun.com>
653 Simplified lt versioning rules.
654 Incremented version to 1.3.0, to indicate that we're on the
657 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
659 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
660 Add MKDB_OPTIONS=--outtput-format=xml
662 * docs/reference/cspi/at-spi-cspi-docs.sgml
663 docs/reference/idl/at-spi-idl-docs.sgml:
664 Convert to Docbook XML.
666 This fixes bug #111793.
668 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
670 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
671 AcccessibleKeyEventType, AccessibleKeyMaskType.
673 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
675 * cspi/state-types.h: Add documentation for AccessibleState.
677 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
678 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
679 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
680 AccessibleComponentLayer.
682 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
685 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
687 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
688 Accessible. Add description of AccessibleEvent,
689 AccessibleEventListenerCB.
691 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
694 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
695 documentation. Add description of AccessibleKeystrokeListenerCB,
696 AccessibleKeyEventMask, AccessibleModifierMaskType,
697 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
698 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
700 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
703 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
706 This fixes bug #104730.
708 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
710 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
711 Set is_text field of Accessibility_DeviceEvent data structure.
713 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
714 is-text field of AccessibleDeviceEvent data structure.
716 This addresses part of bug #108666.
718 * registryd/devcieeventcontroller.c: Unset debug option.
720 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
723 (cpi_initial_relation_type_table): New function which initializes
724 mapping between Accessibility_RelationType and AccessibleRelationType.
725 (cspi_relation_type_from_spi_relation_type): New function which
726 translates an Accessibility_RelationType into an AccessibleRelationType.
727 (AccessibleRelation_getRelationType): Use
728 cpi_relation_type_get_spi_relation_type to return correct value.
729 (spi_state_to_corba): Return correct type for default case.
731 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
732 Use Accessibility_EventType instead of Accessibility_KeyEventType.
734 * cspi/cspi-bonobo-listener.c:
735 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
738 * libspi/accessible.c, libspi/action.c, libspi/application.c,
739 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
740 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
741 libspi/image.c, libspi/listener.c, libspi/selection.c,
742 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
743 registryd/desktop.c, registryd/registry.c:
744 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
746 * libspi/eventlistener.c
747 Remove semicolon after BONOBO_TYPE_FUNC.
750 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
751 (spi_init_relation_type_table): Initialize using correct type.
753 * registryd/desktop.c:
754 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
755 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
756 of Accessibility_KeyEventType.
758 * test/key-listener-test.c (report_tab_key_event): Use fprintf
761 * tests/simple-at.c, tests/screen-review-test.c:
762 Add include for <strings.h>.
764 * tests.stress-test.c:
765 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
767 These changes fix compiler warnings when using FORTE compiler on
768 Solaris; fixes bug #107479.
771 2003-04-10 Bill Haneman <bill.haneman@sun.com>
774 * configure.in: revved to 1.1.10
777 (SPI_KEYMASK_NUMLOCK): Added.
779 * registryd/deviceeventcontroller.c:
780 (spi_key_event_matches_listener): AND with a smaller
781 bitmask (as we should).
782 (spi_dec_translate_mask):
783 New method, sets the virtual NumLock modifier bit
784 if numlock is on. Eventually it can handle other virtual
785 modifier bits if needed, or other marshalling from
786 at-spi modifier masks to platform (X) masks.
787 (spi_dec_key_listener_new):
788 Call spi_dec_translate_mask to set up virtual mod bits
789 in the 'mask' field when creating a new listener struct.
790 (spi_dec_emit_modifier_event):
791 Set the virtual (i.e. NumLock) bits before emitting event.
792 (spi_controller_register_with_devices):
793 Query for the NumLock modifier 'physical' bit if Xkb is
794 present, for use in above methods.
798 2003-04-10 Bill Haneman <bill.haneman@sun.com>
800 * registryd/deviceeventcontroller.c:
801 (spi_keystroke_from_x_key_event):
802 Instead of checking to see if the keysym is
803 printable, check the string from XLookupString
804 if available, get the first unicode character from it,
805 and call g_unichar_isprint to determine whether the
806 is_text flag should be TRUE or FALSE.
810 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
812 * atk-bridge/bridge.c: Add support for extended events
813 * cspi/spi_event.c: Add documentation and implementation for
815 * tests/event-listener-test.c: Add tests for extended events.
817 This fixes bugs #100424 and #100426.
819 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
821 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
822 of LT_CURRENT. This fixes bug #89350.
824 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
826 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
827 number of signal parameter values before accessing them. This fixes
830 2003-04-01 Bill Haneman <bill.haneman@sun.com>
832 * configure.in: Fixed duplicate inclusion of -lspi.
833 * branched for gnome-2-2/HEAD.
834 [created tag "gnome-2-2"]
836 2003-03-07 Bill Haneman <bill.haneman@sun.com>
838 * configure.in: 1.1.9 release.
841 2003-03-07 Bill Haneman <bill.haneman@sun.com>
843 [needed by GOK, to fix bugs 107985 and 107988]
844 * registryd/deviceeventcontroller.c:
845 (spi_dec_clear_unlatch_pending):
846 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
847 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
848 (spi_dec_init_mouse_listener):Emit warning if mouse button
850 (spi_device_event_controller_forward_mouse_event):
851 Removed unnecessary parens from a conditional.
852 (global_filter_fn):Added TODO comment.
853 (impl_generate_keyboard_event):
854 Cancel a pending relatch if a 'delatching' key was
857 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
859 * atk-bridge/bridge.c:
860 Change atk_signal_child_changed to atk_signal_children_changed.
861 Reorganize code in spi_atk_bridge_signal_listener().
863 * test/event-listener-test.c:
864 Add children_changed_listener and report_children_changed_event()
865 to test AccessibleChildEvent_getChildAccessible.
867 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
869 * cspi/spi_event.c (cspi_internal_event_get_text): Change
870 g_strdup to CORBA_String_dup (bug #105291)
872 * test/event-listener-test.c (report_text_event): Add call to
875 2003-02-28 Bill Haneman <bill.haneman@sun.com>
877 * registryd/deviceeventcontroller.c:
878 (spi_keystroke_from_x_key_event):
879 Fix string and keysym return codes to match modifier state.
882 2003-02-28 Bill Haneman <bill.haneman@sun.com>
884 * registryd/deviceeventcontroller.c:
885 (spi_keystroke_from_x_key_event):
886 Fix segv due to improper use of isprint(c). [bug #107254]
888 2003-02-24 Bill Haneman <bill.haneman@sun.com>
891 (get_accessible_text_boundary_type):
892 Move default return value to (new) default case in switch.
893 (get_accessible_text_clip_type):
894 Move default return value to (new) default case in switch.
896 * libspi/application.c:
897 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
898 Remove unused methods.
899 (impl_accessibility_application_register_object_event_listener):
900 Remove unused methods.
903 Added #include of <math.h>.
905 * registryd/deviceeventcontroller.c:
906 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
907 we don't currently use this method.
908 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
910 (impl_generate_key_event):
911 Remove unused variables.
912 (impl_generate_mouse_event):
913 Initialize button to zero, just in case we get an invalid
914 input. Added support for mouse buttons 4 and 5.
915 (spi_device_event_controller_new):
916 Removed unused variable declaration for 'private'.
918 Added #include of <gdk/gdk.h>
920 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
922 * configure.in: Update to work when X is not installed in expected
923 location. Fixes bug #105836.
925 * atk-bridge/bridge.c
926 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
928 (spi_atk_register_event_listener): Add signal listener for
930 (spi_atk_bridge_signal_listener): Event event when link-selected
931 signal is emitted. (bug #104622)
933 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
934 on returned string. (bug #105291)
936 * test/event-listener-test.c: Add test for link-selected.
938 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
940 * atk-bridge/Makefile.am: Correct typo in previous commit.
942 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
944 * atk-bridge/Makefile.am: Allow for build directory to be different
945 from source directory
947 * registryd/Makefile.am: Allow for build directory to be different
948 from source directory
952 2003-01-29 Bill Haneman <bill.haneman@sun.com>
955 Fixed dependencies for libcspi so that libspi gets pulled in
956 properly. Fixes 104741.
960 Clean up inline docs a little.
962 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
964 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
965 This is done by implementing AtkComponent for SpiAtkDesktop, which is
966 the AtkObject within an SpiDesktop.
967 This addresses bug #101524.
969 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
970 Remove call to gdk_init().
972 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
973 so that Display is set when SpiDesktop is created.
975 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
977 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
978 This fixes bug #102830.
980 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
982 * test/test-simple.c: Update to take account of fact that GailButton
983 now implements AtkText.
984 (create_text_window): Set name on AtkObject for GtkEntry.
985 (validate_accessible): Check accessible name before calling test_text().
987 * libspi/Makefile.am: Fix problem with building outside of source
988 directory. Bug #98120.
990 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
991 typo in documentation comments. Bug #94275.
993 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
995 * libspi/text.c (impl_getBoundedRanges): Bug fix.
997 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
1000 Add includes to avoid compiler warnings on Solaris.
1001 (impl_getRangeExtents): Bug fix.
1003 2002-12-17 Bill Haneman <bill.haneman@sun.com>
1005 Fix for 100944, [API addition approved by Gman and murrayc].
1012 * idl/Accessibility_Text.idl:
1013 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
1014 (Text::getRangeExtents): New method for efficient
1015 bounds query of a text range.
1016 (Text::getBoundedRanges): New method for efficient
1017 clipping of text to bounding boxes.
1018 (unImplemented7, unImplemented8):
1019 Removed these padding methods to preserve bincompat.
1022 (impl_getRangeExtents): implementation of new IDL.
1023 (impl_getBoundedRanges): implementation of new IDL.
1024 (SpiTextRect): Internal use struct.
1025 (_spi_text_rect_union): internal method, calculates union of two
1026 SpiTextRect bounding rects.
1027 (_spi_text_range_seq_from_gslist): internal method, allows us
1028 to build our sequence efficiently as a gslist then convert it
1030 (_spi_bounds_contain): internal method, determines whether
1031 a text character is "in" or "out" of a clip rect according to
1032 values of TEXT_CLIP_TYPE.
1033 (spi_text_class_init): Initialize the new methods in the epv.
1036 (AccessibleTextClipType): New enum used by screen review api.
1037 (AccessibleTextRange): New struct used by screen review api.
1038 (AccessibleText_getRangeExtents):
1039 cspi binding for Accessibility_Text_getRangeExtents.
1040 (AccessibleText_getBoundedRanges):
1041 cspi binding for Accessibility_Text_getBoundedRanges.
1042 (AccessibleTextRange_freeRanges): convenience method.
1045 (AccessibleText_getRangeExtents):
1046 cspi binding for Accessibility_Text_getRangeExtents.
1047 (AccessibleText_getBoundedRanges):
1048 cspi binding for Accessibility_Text_getBoundedRanges.
1049 (AccessibleTextRange_freeRanges): convenience method.
1050 (get_accessible_text_clip_type): internal conversion method.
1051 (get_accessible_text_ranges_from_range_seq): internal conversion method.
1053 * registryd/deviceeventcontroller.c:
1054 (spi_dec_mouse_check):
1055 Improved behavior for mouse:abs events
1056 [same granularity as mouse:rel events, and no
1057 events when mouse is idle].
1059 2002-12-16 Michael Meeks <michael@ximian.com>
1061 * cspi/spi_accessible.c (spi_state_to_corba): rename.
1063 * libspi/stateset.c (state_spi_to_atk): split out
1064 ( fix several remote array bounds nasties )
1065 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
1066 (impl_remove): make safe from array bounds issues.
1067 (spi_atk_state_from_spi_state): impl.
1069 * libspi/stateset.h (spi_state_set_cache_is_empty):
1070 add a set of wrapper defines to get layering right.
1072 * cspi/spi_accessible.c: update state set stuff to
1075 2002-12-14 Michael Meeks <michael@ximian.com>
1077 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
1078 to avoid 2 roundtrips to the registry per key event
1079 (spi_atk_bridge_key_listener): upd.
1080 (deregister_application): release the dec.
1082 * registryd/registry.c (notify_listeners_cb):
1083 bin lots of re-enterant complexity - we no longer
1084 do a round-trip bonobo ref here, ensure that a single
1085 listener's exception failure won't poison all other
1087 (impl_registry_notify_event): bin obvious memory leak.
1089 2002-12-13 Michael Meeks <michael@ximian.com>
1091 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
1092 init the ev so the error is meaningful.
1093 (spi_atk_bridge_key_listener): ditto.
1095 * cspi/spi_main.c (cspi_ev): init the ev so we start
1096 with a clean slate, otherwise the first exception
1097 kills us completely.
1099 * cspi/spi_text.c (get_accessible_text_boundary_type):
1100 add a fallthrough for no warnings.
1102 * cspi/spi_registry.c: prune unused warnings.
1104 * cspi/spi_main.c (cspi_object_take): fix
1105 mind-blowing brokenness ( by watching the compile
1108 * cspi/spi_accessible.c (Accessible_getStateSet):
1109 re-impl. to use an AtkStateSet.
1110 (spi_state_type_from_accessible_state),
1111 (init_state_table): bin these.
1113 * libspi/stateset.c (spi_atk_state_set_from_sequence):
1115 (atk_state_set_from_accessibility_state_set): here.
1117 * cspi/spi_accessible.c (spi_state_to_atk): impl.
1118 (AccessibleStateSet_contains, AccessibleStateSet_ref),
1119 (AccessibleStateSet_unref, AccessibleStateSet_contains),
1120 (AccessibleStateSet_add, AccessibleStateSet_remove),
1121 (AccessibleStateSet_equals, AccessibleStateSet_compare),
1122 (AccessibleStateSet_isEmpty): re-write to use a local
1125 2002-12-13 Bill Haneman <bill.haneman@sun.com>
1127 * configure.in: Revved to 1.1.7 (new keymask vals).
1129 2002-12-10 Bill Haneman <bill.haneman@sun.com>
1131 * libspi/keymasks.h:
1132 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
1134 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1137 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
1138 to compare two CORBA_TypeCodes.
1139 (cspi_internal_event_add): Silence warning from FORTE compiler.
1141 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
1142 avoid implicit declaration of functions.
1144 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
1146 * atk-bridge/bridge.c:
1147 (spi_atk_bridge_init_event_type_consts): Store signal id for
1148 active-descendant-changed signal.
1149 (spi_atk_register_event_listeners): Add signal listener for
1150 active-descendant-changed signal,
1151 (spi_atk_bridge_signal_listener): Move code in function
1152 spi_atk-signal_emit_event() into this function.
1153 Add support for active-descendant-changed
1154 Update support for child-changed signal.
1155 (spi_bridge_window_event_listener): Silence warning.
1157 * libspi/spi_private.[ch]:
1158 (spi_init_any_object): Change second parameter from CORBA_Object to
1160 Omit call to CORBA_Object_duplicate().
1161 Set CORBA_any's _value to CORBA_Object*.
1163 2002-12-06 Bill Haneman <bill.haneman@sun.com>
1169 (AccessibleEvent_ref, AccessibleEvent_unref):
1170 New methods, for persisting an event outside the emission context.
1171 Must be used if the new accessor methods are to be called
1172 outside of the event listener's callback.
1174 * cspi/bonobo/cspi-bonobo.c:
1175 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
1176 as second parameter instead of NULL, so we can call
1177 cspi_check_ev afterwards.
1180 (cspi_object_take): New internal method,
1181 converts a CORBA_Object reference to a hard ref on
1182 an Accessible if possible, returning NULL if the object
1183 reference is invalid or an Accessible * otherwise.
1186 (AccessibleEvent_ref):
1187 Increment the event's internal private refcount, and
1188 add the event's internal struct to an internal cache
1189 if it's not already there.
1190 (AccessibleEvent_unref):
1191 Decrement the event's refcount and remove it from
1192 the cspi event cache if refcount==0.
1193 (cspi_event_compare): New private method.
1194 Compares two event structs via their ids. Used
1196 (cspi_internal_event_lookup): New private method.
1197 (cspi_internal_event_check): New private method,
1198 a 0-order sanity check for events to make sure their
1199 private data is intact.
1200 (cspi_internal_event_add, cspi_internal_event_remove):
1201 New private methods for managiing the event cache.
1203 * cspi/bonobo/cspi-bonobo-listener.c:
1205 Initialize the new private data elements (id, magic, ref_count).
1207 * atk-bridge/bridge.c:
1208 (spi_atk_bridge_signal_listener):
1209 Fixed bug #100530, passing wrong params to emission func.
1211 * registryd/deviceeventcontroller.c:
1212 (spi_dec_button_update_and_emit):
1213 Fixed type in mask bit operations; fix for #99799.
1215 2002-12-02 Bill Haneman <bill.haneman@sun.com>
1217 Removed some of the more dangerous workarounds from
1218 previous commit; they are only needed by GOK, which
1219 in reality should be using another method to accomplish
1220 the goals. So on reconsideration some of the workarounds
1221 need to be reverted:
1223 * registryd/deviceeventcontroller.c:
1224 (spi_keycodes_contain, spi_dec_init_keycode_list):
1225 Removed these methods, used only by a nasty hack to try
1226 and detect whether a key synthesis should be allowed
1227 to reset the XKB latch state or not. This code was only
1228 required to work around an interaction between GOK,
1229 button events, and XKB.
1230 (impl_generate_key_event):
1231 Removed hack at end of key generation that tried to
1232 "do the right thing" if XKB latch keys were generated
1233 in the midst of button press/release pairs.
1236 Added a check for HAVE_XINPUT. Not normally used yet.
1238 2002-11-25 Bill Haneman <bill.haneman@sun.com>
1240 Workarounds and fixes for mouse event/XKB interaction.
1242 * registryd/deviceeventcontroller.c:
1243 (spi_keycodes_contain, spi_dec_init_keycode_list):
1244 New internal methods.
1245 (spi_dec_set_unlatch_pending):
1246 Split the method that tells XKB to expect an
1247 unlatch (and revert it) out of the rest of the
1248 event handling code. This method is called by the
1249 two mouse event handlers (the poll and the filter).
1250 (spi_dec_update_and_emit, spi_dec_mouse_check):
1251 New methods split from spi_dec_poll_mouse_moved.
1252 The second one is now called from inside the filterFn
1253 when an XKB delatch event is received, to determine
1254 whether to revert the delatch or not.
1255 (spi_poll_mouse_moved): Refactor; also we can now
1256 properly handle the case where multiple button states
1257 have changed between polling cycles and we didn't get
1258 notified due to another client's grab.
1260 Synchronize the server while handling an XKB notification.
1261 Ugly, but apparently necessary to avoid nasty races.
1262 Check the mouse state on receipt of an XKB latch change,
1263 to decide whether to revert the latch or not. (Latches are
1264 reverted if there is an immediately preceding mouse button
1265 event that a client has consumed, in which case we don't want
1266 the user to see the side-effect of the event).
1267 (spi_device_event_controller_forward_mouse_event):
1268 Check for modifier events and fire before resetting mouse_mask_state,
1269 prevents losing modifier events.
1271 (impl_generate_keyboard_event):
1272 If we've just generated a keyboard event for a non-shift key,
1273 we don't want to revert the pending XKB latch.
1274 Otherwise, check the modifier state (via a call to
1275 spi_dev_mouse_check) and set the relatch mask to
1276 that state before returning.
1278 2002-11-24 Bill Haneman <bill.haneman@sun.com>
1281 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
1284 * atk-bridge/bridge.c:
1285 (spi_atk_register_event_listeners):
1286 Don't re-register for ATK events if the registry has died
1287 and the app needs to re-register; the ATK listeners are in
1288 process and doing so will cause duplicate emission.
1290 * registryd/deviceeventcontroller.c:
1291 (spi_poll_mouse_moved):
1292 Reformat the source, detect and emit multiple button-change
1293 events (i.e. if multiple buttons have changed between poll
1295 Add code to detect mouse-down events even when the pointer
1296 is grabbed; workaround for GOK bug 98420.
1297 (spi_controller_register_with_devices):
1298 Call XTestGrabControl with 'impervious' flag set to True,
1299 allows us to synthesize events and query the pointer even during
1300 an active grab by another client.
1301 (spi_device_event_controller_forward_mouse_event):
1302 Set the mouse_mask_state to the mouse_button_state from
1303 the intercepted event, to synchronize the grab listener with
1306 2002-11-20 Bill Haneman <bill.haneman@sun.com>
1308 * cspi/spi_accessible.c:
1309 (AccessibleRole_getName):
1310 Added necessary strings for making this (deprecated)
1311 method work with the new role types.
1312 (init_role_table, role_table):
1313 Added definition of SPI_ROLE_APPLICATION.
1315 * libspi/spi-roletypes.h:
1316 Added SPI_ROLE_APPLICATION.
1318 * idl/Accessibility_Role.idl:
1319 Added ROLE_APPLICATION.
1321 * docs/reference/cspi/at-spi-cspi-decl.txt:
1322 Added SPI_ROLE_APPLICATION to docs.
1324 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
1326 * cspi/spi_accessible.c
1327 (cspi_init_role_table): Do not write beyond end of role_table.
1328 (Accessible_getRole): Use correct type for value returned by
1329 Accessibility_Accessible_getRole().
1331 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
1332 beyond end of role_table. (This fixes bug #98269)
1334 * libspi/application.c: Add include file spi-private.h for
1335 definition of spi_init_any_nil.
1337 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1341 * libspi/spi-private.h:
1342 Added DGB() macro, and extern int _dbg declaration.
1344 * registryd/registry.c:
1345 (definitions) storage for _dbg.
1346 (spi_registry_init):
1347 Get environment variable "AT_SPI_DEBUG".
1348 (spi_registry_set_debug):
1349 New method, to initialize _dbg value.
1350 (spi_listener_struct_new, spi_registry_object_finalize):
1351 (notify_listeners_cb):
1352 Changed fprintfs to use DBG and g_warning().
1354 * registryd/deviceeventcontroller.c:
1355 (_deregister_keygrab, spi_controller_register_device_listener):
1356 Changed debug/warning messages to use DBG macro.
1358 * libspi/listener.c:
1359 (impl_notify_event):
1360 Changed warning messages to use DBG macro and g_warning().
1362 * atk-bridge/bridge.c:
1363 (atk_bridge_init, spi_atk_bridge_get_registry):
1364 (spi_atk_bridge_exit_func):
1365 (spi_atk_bridge_property_event_listener):
1366 Changed status, warning, and error messages to use
1367 g_warning, g_message, and DBG macros.
1370 Read the state of the AT_SPI_DEBUG environment variable
1371 and set a local '_dbg' accordingly.
1373 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1375 FIXES for 98836, 98842, other bugs.
1378 Revved to 1.1.4, interface-age=4, binary-age=4.
1380 * registryd/deviceeventcontroller.c:
1382 Fixed crasher bug in last_mouse_pos initialization.
1384 * registryd/registry.c:
1385 (desktop_add_application, desktop_remove_application):
1386 Added (and then commented out) some support for
1387 object context marshalling. [TODO]
1389 * atk-bridge/bridge.c:
1390 (spi_atk_bridge_event_context_create):
1391 Commented out object context creation until it can
1392 be properly tested and debugged.
1394 * registryd/registry.c:
1395 (impl_registry_notify_event):
1396 Fixed crasher bug, we were calling
1397 spi_re_entrant_list_foreach () with an empty list.
1399 2002-11-18 Bill Haneman <bill.haneman@sun.com>
1401 * idl/Accessibility_Action.idl:
1402 * idl/Accessibility_Component.idl:
1403 * idl/Accessibility_Desktop.idl:
1404 * idl/Accessibility_Event.idl:
1405 * idl/Accessibility_Hyperlink.idl:
1406 * idl/Accessibility_Image.idl:
1407 * idl/Accessibility_Relation.idl:
1408 * idl/Accessibility_Selection.idl:
1409 * idl/Accessibility_State.idl:
1410 * idl/Accessibility_Value.idl:
1411 Updated unimplemented slot count to minimum of
1412 four for all interfaces, for ABI freeze.
1414 * idl/Accessibility_EditableText.idl:
1415 * idl/Accessibility_Text.idl:
1416 Updated unimplemented slot count to six
1419 * idl/Accessibility_Registry.idl:
1420 Updated unimplemented slot count to six
1421 (also for DeviceEventController),
1424 * idl/Accessibility_Table.idl:
1425 Updated unimplemented slot count to eight,
1428 * idl/Accessibility_Event.idl:
1429 Added CORBA_any "any_data" member to Event struct.
1431 * idl/Accessibility_Event.idl:
1432 Added CORBA_any "any_data" member to Event struct.
1434 * atk-bridge/bridge.c:
1436 atk_signal_text_changed, atk_signal_child_changed,
1437 signal ids queried from gtype system.
1438 (AtkBridgeEventContextType): New enum.
1439 (AtkBridgeEventContextData): New struct.
1440 (AtkBridgeEventContext): New struct.
1441 (atk_bridge_init_event_type_consts):
1442 New method, initializes type contants for comparison
1443 prior to emit_eventv.
1444 (atk_bridge_event_context_init): New method,
1445 initializes a CORBA_any from an AtkBridgeEventContext.
1446 (atk_bridge_focus_tracker): Call spi_init_any_nil to
1447 initialize the event.any_data struct.
1448 (spi_atk_bridge_event_context_create): New method,
1449 creates an AtkBridgeEventContext from signal/event info.
1450 (spi_atk_bridge_event_context_free): New method.
1451 (spi_atk_emit_eventv): Changed to take an
1452 AtkBridgeEventContext parameter. We now initialize
1453 the event.any_data member prior to notifying the
1454 Registry, via the AtkBridgeEventContext.
1455 (spi_atk_bridge_property_event_listener):
1456 (spi_atk_bridge_state_event_listener):
1457 Match emit_eventv signature.
1458 (spi_atk_bridge_object_event_listener):
1459 Match emit_eventv signature, and create an
1460 event context from the event details.
1461 Free the event context afterwards.
1462 (spi_atk_bridge_window_event_listener):
1463 Create an event context, pass it to the
1467 (AccessibleEvent_getContextString):
1468 (AccessibleEvent_getContextObject):
1469 New methods, allow query of AccessibleEvent objects
1470 for more context details (via the "any_data" member
1471 of the Event struct, above).
1474 Definitions for AccessibleEvent_getContextString
1475 and AccessibleEvent_getContextObject.
1477 * cspi/spi_listener.h:
1478 (InternalEvent): New struct.
1481 (AccessibleEvent_getContextString):
1482 (AccessibleEvent_getContextObject):
1483 Implementations of new methods, for obtaining
1484 additional context information from some event types.
1486 * cspi/spi_registry.c:
1487 (SPI_registerGlobalEventListener):
1488 Added mention of active-descendant-changed event in docs.
1490 * cspi/cspi-bonobo-listener.c:
1492 Marshal the any into the AccessibleEvent via
1495 * libspi/spi-private.h:
1496 #include <orbit/orbit.h>
1498 (spi_init_any_string):
1499 (spi_init_any_object):
1500 New convenience function declarations.
1504 (spi_init_any_string):
1505 (spi_init_any_object):
1506 New convenience function implementations.
1508 * registryd/deviceeventcontroller.c:
1509 (spi_poll_dec_mouse_moved):
1510 (spi_device_event_controller_forward_mous_event):
1511 Initialize any_data member of event.
1512 (spi_deregister_controller_device_listener):
1513 Fix incorrect param pass which was preventing deregistration.
1515 * registryd/registry.c:
1516 (desktop_add_application):
1517 (desktop_remove_application):
1518 Add object data to event's any_data before dispatch.
1520 Fix for error messages from GAIL.
1522 * test/event-listener-test.c:
1523 Test new ContextString and "any_data" API:
1524 (report_text_event): New method query and output context string.
1525 (main): register a new text listener with report_text_event
1528 2002-11-19 Darren Kenny <darren.kenny@sun.com>
1530 Fixes for bugs 98127 and 97914.
1531 * cspi/spi-roletypes.h:
1532 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
1534 * cspi/spi-statetypes.h:
1535 Added SPI_STATE_MANAGES_DESCENDANTS
1537 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
1538 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
1539 * cspi/spi_accessible.c:
1540 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
1541 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
1542 Accessibility_STATE_MANAGES_DESCENDANTS
1543 * libspi/accessible.c:
1544 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
1545 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
1546 As requested by Bill, I also cleaned up the alignment.
1547 * libspi/relation.c:
1548 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
1549 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
1550 * libspi/stateset.c:
1551 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
1552 Accessibility_STATE_MANAGES_DESCENDANTS
1553 * docs/reference/cspi/tmpl/spi_accessible.sgml:
1554 Document changes reflecting modifications to roles.
1555 * docs/reference/cspi/tmpl/spi_relation.sgml:
1556 Document changes reflecting modifications to relations.
1557 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1558 Document changes reflecting modifications to states.
1560 2002-11-17 Bill Haneman <bill.haneman@sun.com>
1563 Revved to 1.1.3, interface-age=3, binary-age=3.
1564 Added REBUILD macro.
1567 Removed accessx-gui from the tests, since we have a nice
1568 keyboard accessibility capplet now :-)
1570 * test/keysynth-demo.c:
1571 (increment_scan): removed do-nothing default: case,
1574 * test/visual-bell.c:
1575 (main) : removed do-nothing default: case,
1578 * cspi/spi_action.c:
1579 (AccessibleAction_getKeyBinding_):
1580 Documented keybinding string format.
1584 (AccessibleText_getAttributes):
1585 Documented the text attribute string format.
1586 It's changed to use semicolon delimiters also,
1587 to prevent clashes with CSS attributes, but the old
1588 trick of looking for ", " strings will still work
1589 (as unreliably as ever). Fix for bug related to 97916.
1592 Include <cspi/bonobo/cspi-bonobo-listener.h>
1593 Fixes build warning.
1594 (SPI_freeAccessibleKeySet):
1595 (AccessibleKeystrokeListener_addCallback):
1596 (AccessibleKeystrokeListener_removeCallback):
1597 Modify to use AccessibleDeviceListener API internally,
1598 instead of AccessibleKeystrokeListener.
1600 * idl/Accessibility_Event.idl:
1601 Added two more empty slots to EventListener (for a total of four).
1603 * idl/Accessibility_Accessible.idl:
1604 Added four empty slots to Accessible interface.
1606 2002-11-15 Bill Haneman <bill.haneman@sun.com>
1608 * idl/Accessibility_Registry.idl:
1609 (KeyEventType, EventType):
1610 Marked KeyEventType as deprecated; it duplicates
1611 functionality of EventType, which has been extended to
1612 include Mouse-button events.
1613 (KeyEventTypeSeq): defined in terms of EventType.
1614 (registerDeviceEventListener, deregisterDeviceEventListener):
1615 New methods, for managing listeners to device events,
1616 which potentially may consume them.
1619 Added definition for AccessibleDeviceListener.
1621 * cspi/spi-listener.h:
1622 (enum AccessibleDeviceEventType):
1623 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
1624 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
1625 for backwards compat.
1626 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
1627 and typedef'd AccessibleKeystroke to it for back-compat.
1628 (AccessibleDeviceListenerCB):
1629 New function prototype typedef.
1632 (AccessibleDeviceEventMask): New typedef.
1633 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
1634 (AccessibleKeyMaskType):
1635 Set equivalent to AccessibleModifierMaskType for back-compat.
1636 (SPI_createAccessibleKeystrokeListener):
1637 (AccessibleKeystrokeListener_unref):
1638 Deprecated in favor of equivalent (better-named) new API below..
1639 keystroke listeners are like all device listeners.
1640 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
1641 New API names for old features :-).
1642 (AccessibleDeviceListener_addCallback):
1643 (AccessibleDeviceListener_removeCallback):
1644 (SPI_registerDeviceEventListener):
1645 (SPI_deregisterDeviceEventListener):
1649 (SPI_createAccessibleKeystrokeListener):
1650 Use new preferred API, cspi_device_listener_new() and
1651 cspi_device_listener_add_cb().
1652 (AccessibleKeystrokeListener_removeCallback):
1653 Use new preferred API, cspi_device_listener_remove_cb().
1654 (AccessibleKeystrokeListener_unref):
1655 Use new preferred API, cspi_device_listener_unref().
1656 (SPI_createAccessibleDeviceListener):
1657 (AccessibleDeviceListener_addCallback):
1658 (AccessibleDeviceListener_removeCallback):
1659 Implementation of new API.
1661 * cspi/spi_registry.c:
1662 (SPI_registerDeviceEventListener):
1663 (SPI_deregisterDeviceEventListener):
1664 Implementation of new API. Fixed memory leak and removed need to
1665 allocate EventTypeSeq (thanks Michael for catching this).
1666 Squashed a wayward CORBA_exception_free that shouldn't get called.
1668 * cspi/bonobo/cspi-bonobo-listener.c:
1670 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
1671 (cspi_key_event): renamed to cspi_device_event().
1672 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
1673 Extended to handle mouse button events as well as key events.
1674 (CSpiKeystrokeListener):
1675 Class superceded by CSpiDeviceListener.
1676 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1677 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1679 * cspi/bonobo/cspi-bonobo-listener.h:
1680 (CSpiKeystrokeListener):
1681 Class superceded by CSpiDeviceListener.
1682 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1683 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1685 * libspi/Makefile.am:
1686 Replaced keystrokelistener.h and keystrokelistener.c
1687 with devicelistener.h and devicelistener.c; keystrokelisener.h
1688 stub retained for back-compat.
1690 * libspi/keystrokelistener.c:
1694 Replaced inclusion of keystrokelistener.h with devicelistener.h.
1696 * registryd/deviceeventcontroller.c:
1697 (DEControllerListener): Added Accessibility_EventTypeSeq member.
1698 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
1699 (DEControllerPrivateData): Added xkb settings data.
1700 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
1701 button release events (which can't be captured via XGrabButton).
1702 Don't dispatch via the 'normal' event mechanism if the device event was
1704 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
1705 Handle the typeseq data in its new location (see above).
1706 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
1707 New methods, for "generic" device listeners.
1708 (spi_controller_register_device_listener):
1709 Now handle mouse event listeners as well as key listeners.
1710 (spi_controller_notify_mouselisteners):
1711 New internal method.
1712 (spi_device_event_controller_forward_mouse_event):
1713 Now we notify mouse device listeners as well as generating the
1714 non-consumable "mouse:" events.
1716 We must check and restore the XKB
1717 modifier map if we consume the event, since the act of triggering
1718 a mouse event will normally reset the XKB latch. This is required for
1720 (spi_controller_register_with_devices):
1721 Load the XKB settings when registering, and register for XKB
1722 state notify events.
1723 (spi_key_eventtype_seq_contains_event):
1724 Renamed spi_eventtype_seq_contains_event, since it's used
1725 internally for all device event types now.
1726 (spi_key_event_matches_listener):
1727 Uses spi_eventtype_seq_contains_event now.
1728 (spi_device_event_controller_object_finalize):
1729 Free the private data and the XkbKeyboard struct.
1730 (impl_register_device_listener, impl_deregister_device_listener):
1731 Implementation of new IDL.
1732 (spi_deregister_controller_device_listener):
1733 New internal method.
1734 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
1735 More efficient implementation, we don't have to create a new
1736 XkbControls structure every time we query.
1737 (spi_device_event_controller_class_init):
1738 Initialize the epv entries for the new IDL. Assign the
1739 "spi-dec-private" quark.
1740 (spi_device_event_controller_init):
1741 Initialize the private data.
1742 (spi_device_event_controller_forward_key_event):
1743 Removed a bogus CORBA_exception_free() call.
1745 * registryd/deviceeventcontroller.h:
1746 Replaced inclusion of keystrokelistener.h with
1749 * test/event-listener-test.c:
1750 (report_mouse_event):
1753 Added mouse-event device listener.
1755 * test/test-simple.c:
1756 (create_test_window):
1757 Fixed regression (we were instantiating a GtkRange,
1758 which is now an abstract class). Also fixed to match
1759 existing AtkRole names, this seems to have changed in ATK
1760 awhile ago; too late now I think, and the new
1761 mechanism is at least elegant and consistent with the
1762 glib enum "nick" APIs.
1764 2002-11-15 Darren Kenny <darren.kenny@sun.com>
1766 * idl/Accessibility_Relation.idl:
1767 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
1768 RELATION_EMBEDS,RELATION_EMBEDDED_BY
1769 * idl/Accessibility_Role.idl:
1770 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
1771 * idl/Accessibility_State.idl:
1772 add STATE_MANAGES_DESCENDANTS
1773 * test/event-listener-test.c:
1774 Added a listener for active-descendant events.
1776 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
1778 * atk-bridge/bridge.c
1779 (atk_bridge_init): If application is Bonobo component wait until top
1780 level is added before registering
1781 (spi_atk_bridge_do_registration): New function which contains code,
1782 formerly in atk_bridge_init, to do application registration.
1783 (spi_atk_bridge_toplevel_added): Signal called when top level
1784 added to Bonobo component
1786 This fixes bug #83134.
1788 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
1790 * registryd/deviceeventcontroller.c
1791 Fixed compilation error caused by calling gettimeofday()
1794 2002-10-18 Bill Haneman <bill.haneman@sun.com>
1799 Added template for HAVE_XKB.
1802 Changes to check for XKB, and to set the HAVE_XKB #define if it
1805 * libspi/listener.c:
1806 ()impl_notify_event): Make failure to get event source name
1809 * registryd/deviceeventcontroller.c:
1810 (#include): include X11/XKBlib.h.
1811 (DEControllerPrivateData) : New struct.
1812 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
1814 (dec_synth_keycode_press) (dec_synth_keycode_release):
1815 New methods; split the key synthesis code into these methods.
1816 They check XKB settings before determining the "time" values to
1817 pass to Xtest; this fixes bug #95828.
1818 (impl_generate_keyboard_event): Changed to use methods above,
1819 instead of callng Xtest directly.
1820 (spi_device_event_controller_init): Initialize new privae struct s
1822 (spi_device_event_controllr_object_finalize):
1823 Free the (new) private data.
1825 * registryd/deviceeventcontroller.h:
1826 Add new gpointer to end of struct data.
1828 2002-10-16 Bill Haneman <bill.haneman@sun.com>
1831 Incremented revision to 1.1.2, SONAME is still '.so', library
1832 extensions are ".so.0.0.2".
1834 * registryd/deviceeventcontroller.c:
1835 FIXES FOR #93592 and #95940.
1836 (statics): renamed mouse_button_state to mouse_mask_state,
1837 added key_modifier_mask.
1838 (spi_dec_poll_mouse_moved):
1839 Added key modifier checks, and emit "keyboard:modifiers"
1840 events when the key modifiers currently in use change.
1841 Also generate "mouse:abs" events periodically, even if the mouse
1842 is stationary (should we?).
1843 Alternatively we could generate "mouse:abs" events for either all
1844 mouse movements, or every 'nth' mouse movement, or at the
1845 beginning and end of every "active" mouse period.
1847 * test/event-listener-test.c:
1848 (main): Added listener for "keyboard:modifiers" events.
1850 2002-10-15 Bill Haneman <bill.haneman@sun.com>
1852 * libspi/keymasks.h:
1853 Added key mask #defines for mouse buttons; e.g.
1854 SPI_KEYMASK_BUTTON1, etc.
1857 Incremented dependency on ATK to version 1.1.0. (This dependency
1858 is probably premature but will soon be real enough).
1860 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
1862 * libspi/hyperlink.[ch]
1863 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
1864 (get_hyperlink_from_servant): Check object is AtkHyperlink not
1867 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
1872 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
1874 * registryd/deviceeventcontroller.c
1875 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
1876 events to be ignored.
1877 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
1878 keyboard_mode so that XAllowEvents() can be called.
1882 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
1884 * cspi/spi-accessible.c: Correct names of roles returned by
1885 AccessibleRole_getName(). Fixes bug #95055.
1887 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
1889 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
1892 * registryd/registry.c
1893 (desktop_remove_application: Write diagnostic message to stderr for
1896 (impl_accessibility_registry_deregister_global_event_listener):
1897 Correct size of lists array. This addresses bug #94555).
1899 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
1901 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
1904 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
1906 * registryd/Makefile: Add CLEANFILES so that .server file is removed
1909 * registryd/registry.c (impl_registry_notify_event): Remove
1910 unnecessary call to parser_event_type().
1912 * docs/reference/cspi/tmpl/spi_component.sgml:
1913 Add reference to SPI_LAYER_WINDOW.
1915 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
1917 * registryd/registry.c
1918 (desktop_add_application): Remove leak.
1919 (desktop_remove_application): Remove leak.
1920 (parser_event_type): Remove leak.
1922 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
1924 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
1925 bogus call to CORBA_string_dup(). Also removed unnecessary
1926 g_string_dup/g_free calls.
1928 2002-09-13 Bill Haneman <bill.haneman@sun.com>
1930 * registryd/deviceeventcontroller.c:
1931 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
1933 * test/event-listener-test.c:
1934 main: commented out three redundant listeners, to reduce output
1935 noise. (They still are potentially useful for testing).
1938 2002-09-13 Michael Meeks <michael@ximian.com>
1940 * Update all the copyrights to include Ximian.
1942 2002-09-06 Mark McLoughlin <mark@skynet.ie>
1944 * cspi/spi.h: add SPI_LAYER_WINDOW.
1946 * cspi/spi_component.c: (AccessibleComponent_getLayer):
1947 add Accessibility_LAYER_WINDOW case.
1949 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
1951 * libspi/component.c: (impl_accessibility_component_get_layer):
1952 add ATK_LAYER_WINDOW case.
1954 2002-08-28 Bill Haneman <bill.haneman@sun.com>
1956 * configure.in: incremented micro version.
1958 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
1960 2002-08-20 Bill Haneman <bill.haneman@sun.com>
1963 Clarified and reworded our commit policy.
1966 Started an API "todo" addition list for 2.2.
1969 (impl_getSelection):
1970 Free char pointer from atk_text_get_selection, which was being leaked.
1972 2002-08-19 Bill Haneman <bill.haneman@sun.com>
1975 Small revision to author acknowledgement.
1977 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1979 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
1980 If signal has detail add it to the type of the event.
1983 2002-08-12 Michael Meeks <michael@ximian.com>
1985 * test/test-simple.c (global_listener_cb): bin bogosity.
1986 (test_keylisteners): disable, still doesn't work reliably,
1987 certainly not on my system anyway.
1989 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
1990 don't leak a reference on the DEC. This round-trip
1991 fetching of the DEC per keystroke sucks, it should be
1994 * cspi/spi-private.h,
1995 * cspi/cspi-lowlevel.h,
1996 * cspi/bonobo/cspi-bonobo-listener.[ch],
1997 * cspi/bonobo/cspi-bonobo.c: get the copyright
1998 notices better - there is still a large amount of
1999 work in at-spi falsely attributed solely to Sun.
2001 * cspi/spi_main.c (cspi_object_ref): kill bogus
2002 hash lookup, just increment the ref.
2003 (SPI_freeString): make explicit the fact that we
2004 handle NULL strings just fine.
2005 (report_leaked_ref): obey coding standards.
2006 (cspi_object_hash, cspi_object_equal): kill retval.
2007 (cspi_object_release): only release if not on loan.
2008 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
2009 (cspi_object_borrow, cspi_object_return): impl.
2011 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
2012 use cspi_object_borrow / return.
2014 2002-08-12 Darren Kenny <darren.kenny@sun.com>
2016 * cspi/bonobo/cspi-bonobo-listener.c:
2018 Don't call cspi_oject_new() because this is creating a new Accessible
2019 every single time that an event is fired. This causes ATs like at-poke
2020 to nolonger recognise the source of the event and thus ignore it.
2021 Re-use the object from the cache, ref it and then unref it after the
2022 listeners have been called.
2024 2002-08-06 Darren Kenny <darren.kenny@sun.com>
2026 * test/event-listener-test.c:
2027 Added command-line options to disable mouse events (m) and
2030 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
2032 * configure.in: Update required versions of ATK, GTK+ and GAIL
2034 * cspi-1.0.pc.in: Add dependency for X include files
2037 * cspi/bonobo/Makefile.am:
2038 Add $(X_CFLAGS) so that X include files
2039 are picked up even if not in standard place (bug #71686)
2041 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2043 * registryd/deviceeventcontroller.c: fix for 84261
2044 (spi_dec_mouse_moved):
2045 Added test of mouse button mask, so that we can detect mouse
2046 button release. Unfortunately we can't otherwise detect mouse
2047 button release events without consuming the mouse press event,
2048 because of the way XGrabButton works. This means that our mouse
2049 release events have a latency dependent on the polling period
2050 while the mouse button is down. At least in this case we only
2051 have to poll while the button is down, and not at other times.
2052 If the button masks don't match with what the last press event
2053 reported, we report the appropriate button release event.
2054 (spi_dec_ungrab_mouse):
2055 New method (not yet called).
2056 (spi_device_event_controller_forward_mouse_event):
2057 New method, sends mouse press event from GdkFilter.
2058 (spi_dec_init_mouse_listener):
2059 Added code to call XGrabButton, redirecting mouse button events to
2060 the root window and our Gdk event loop.
2062 Added code to filter mouse button events, and reordered.
2064 * test/event-listener-test.c:
2066 Added registration for mouse events of type "mouse:button".
2068 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2070 * registryd/deviceeventcontroller.c: partial fix for 84261
2071 (spi_dec_poll_mouse_idle):
2072 New method, a timeout which checks to see if the mouse
2074 (spi_dec_poll_mouse_moving):
2075 A timeout to be called when mouse motion is underway.
2076 (spi_dec_poll_mouse_moved):
2077 A method which fires an event if the mouse has moved, and reports
2078 whether or not it did so.
2079 (spi_dec_init_mouse_listener):
2080 A method which sets up the timeouts above.
2081 (spi_device_event_controller_new):
2082 Now calls spi_dec_init_mouse_listener.
2084 * registryd/registry.c:
2085 (spi_registry_init):
2086 Now we initialize the device event controller when the registry is
2087 initialized, instead of waiting until a client has requested a key
2088 event notification; this is because we need the event controller
2089 for mouse events, but the mouse event registration API is a
2090 "registry" call and doesn't explicitly call the
2091 deviceeventcontroller.
2092 We now report mouse motion events with a 100 ms idle latency and
2093 a 20 ms granularity when motion is in progress.
2095 * test/event-listener-test.c:
2097 We now register the "detail listener" for events of type
2098 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
2099 delivered only for the first mouse event received, and thereafter
2100 "mouse:abs" events are delivered.)
2102 * cspi/spi_registry.c:
2103 DOCS: Documented the above mouse event typestrings.
2105 2002-06-21 Bill Haneman <bill.haneman@sun.com>
2107 Happy Summer Solstice...
2109 * registryd/deviceeventcontroller.c: [fix for bug 84100]
2110 (spi_controller_notify_keylisteners):
2111 Changes to remove a listener from the listener list, freeing its
2112 open keygrabs, if a notification to that listener fails. This
2113 means that although a dead listener can continue to hold a passive
2114 keygrab, a maximum of one dispatch to such a listener can fail
2115 before the listener is removed from the list, thus the keygrab
2116 will be released on the next occurrence.
2117 As part of this fix:
2118 (spi_notify_keylisteners):
2119 Renamed to spi_controller_notify_keylisteners, as the controller
2120 instance must now be passed as an argument.
2121 The copied 'notify' GList is now a list of DEControllerKeyListener
2122 objects, since we need more than just the CORBA reference if a
2123 notify fails and we need to deregister the listener.
2124 (impl_notify_listeners_sync):
2125 (impl_notify_listeners_async):
2126 (spi_device_event_controller_forward_key_event):
2127 Modify use of notify_keylisteners in accordance with above
2129 (spi_deregister_controller_key_listener):
2130 New method introduced by refactoring, from
2131 impl_deregister_keystroke_listener.
2132 (impl_deregister_keystroke_listener):
2133 Call spi_deregister_controller_key_listener.
2134 (spi_key_listener_clone):
2135 New method to copy a key listner without doing a 'ref' on the
2136 remote object instance; used to create a notifier list.
2137 (spi_key_listener_data_free):
2138 New method, frees data without unreffing the source.
2140 (spi_key_listener_clone_free): new method.
2141 (spi_key_listener_free):
2142 refactored to call spi_key_listener_data_free.
2144 2002-06-20 Bill Haneman <bill.haneman@sun.com>
2146 * registryd/registry.c: [fix for bug 86048]
2147 (notify_listeners_cb):
2148 Clear CORBA system exceptions which occur when notifying
2149 listeners, before returning to the source of the original event,
2150 since the event source doesn't care if the relayed notify failed.
2151 In other words, don't complain to the atk-bridge if the registry
2152 could not notify all its listeners, that's no fault of the
2153 application and thus should not appear to be an error from the
2154 application's perspective.
2156 * cspi/spi_main.c: [fix for bug 85980]
2158 Replaced use of bonobo_object_dup_ref with call to the wrapper
2159 method, csou_dup_ref (); this silences a compiler warning and
2160 provided more portability.
2162 Ping the registry before return, and restart if necessary.
2164 * cspi/bonobo/cspi-bonobo.c:
2166 New internal method.
2168 Fixed this method to return an object reference, as it should have
2171 * cspi/cspi-lowlevel.h:
2172 Added internal definition for cspi_ping() and fixed
2173 return type of cspi_dup_ref().
2176 2002-06-19 Bill Haneman <bill.haneman@sun.com>
2178 * atk-bridge/bridge.c: [fix for bug 85305]
2179 (spi_atk_bridge_register_application):
2180 New method where the initial application registry calls have been
2181 moved; it allows an application to re-register in response to
2182 certain error conditions (such as a registry restart, see below).
2184 Moved some initialization code to the method
2185 spi_atk_bridge_get_registry, below.
2186 (spi_atk_bridge_get_registry):
2187 New, private accessor function for the Accessibility_Registry
2188 instance. If the registry has not been started before, or has
2189 died (as detected by failure of a CORBA exception), it is
2190 restarted before return, and spi_atk_bridge_register_application
2191 is called again to register with the new bridge instance.
2192 (spi_atk_emit_eventv):
2193 Set registry_died on error; use spi_atk_bridge_get_registry () to
2194 access the registry.
2196 * registryd/registry.c:
2197 (impl_accessibility_registry_register_global_event_listener):
2198 Set listener's event_type_quark to etype.minor instead of
2199 etype.major (fix for bug 84856).
2201 * test/event-listener-test.c:
2202 (report_detail_event):
2203 Change the output string so that user/tester can tell that the
2204 'detail listener' was called instead of the 'generic listener'.
2206 2002-06-18 Bill Haneman <bill.haneman@sun.com>
2208 Fixes for bugs 84900, 84908, 84897, 84898.
2213 Revved version to 1.1.0
2214 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
2215 version is going to HEAD which will be used for gnome-2-0-1 and later.)
2217 * idl/Accessibility_Registry.idl:
2218 (EventListener::notifyEvent):
2219 Removed 'oneway' directive after extensive consulation with
2220 ORBit2 team and others. This means also that unref() of the event
2221 source can and should be done synchronously after emission, rather
2222 than remotely in the client, after servicing the notify call on
2225 NOTE: This change speeds up listener performance considerably, but
2226 introduces new latency on the application side. We may want to
2227 add an event queue to the atk-bridge.
2229 * atk-bridge/bridge.c:
2230 (spi_atk_bridge_focus_tracker):
2231 Do a local unref() on the event source after emission.
2233 * registryd/registry.c:
2234 (desktop_remove_application):
2235 Do an unref() on the event source after emission.
2236 (desktop_add_application):
2237 Do an unref() on the event source after emission.
2238 (notify_listeners_cb):
2239 When relaying an event, don't automatically add the event source
2240 to the local object cache, just CORBA_dup it instead. Likewise,
2241 if this method reenters, release the ref rather than calling
2243 (impl_registry_notify_event):
2244 No longer call remote unref() on the event source after dispatch.
2246 * libspi/eventlistener.c:
2247 (impl_accessible_event_notify_event):
2248 Removed remote unref ()
2250 * cspi/bonobo/cspi-bonobo-listener.c:
2252 We now call cspi_object_new() instead of cspi_object_add() on
2253 receipt of an event; thus we only have an implicit object ref
2254 while the cspi_event method is being executed. If we need to keep
2255 a reference to the object, the listener must call ref() on the
2256 object. Thus also we don't need to call cspi_object_unref() after
2257 invoking the listener callbacks in this method.
2261 New internal API for creating a new cspi object, without adding it
2262 to the object cache.
2264 Now uses cspi_object_new() to create the cspi object instance.
2266 Now checks to see if the object is in the internal object cache,
2267 and adds it if necessary before incrementing its refcount (note
2268 that new objects are added with a refcount of 1).
2269 (report_leaked_ref):
2270 New method which gives some information on leaked object instances
2271 if leak detection is turned on.
2273 * test/event-listener-test.c:
2274 (timing_test_event):
2275 New method, used for testing event delivery timing for special
2276 events of type "object:test". It reports elapsed time and
2277 events/sec every 500 events.
2279 Added a new listener, 'test listener', to check timing of event
2280 receipt as noted above.
2282 Added some timing output here also, reports elapsed time every 100
2285 * test/stress-test.c:
2286 Emit events of type "object:test", for use with "event-listener-test".
2288 * test/test-simple.c:
2289 (global_listener_cb):
2290 Call Accessible_ref() on the event source before calling
2291 validate_accessible, since the validation process does pointer
2292 comparisons on the event source, meaning that the event source
2293 needs to be added to the local object cache first. Any use of
2294 such pointer comparisons between Accessible objects requires that
2295 the caller hold an explicit reference to those objects.
2296 We also must therefore call Accessible_unref() when leaving this method.
2298 2002-06-13 Bill Haneman <bill.haneman@sun.com>
2300 * registryd/deviceeventcontroller.c:
2301 (spi_controller_update_key_grabs):
2302 Fix for #84735, subsequent keygrab listeners not informed of
2303 registration failure.
2306 (spi_base_construct):
2307 Add an assertion on construct, to make sure the GObject passed in
2308 is really a GObject.
2310 Explicitly initialize object->gobj pointer to NULL;
2312 * cspi/bonobo/cspi-bonobo-listener.c:
2313 (cspi_object_add_ref):
2314 New method, can specify whether to dup-ref a bonobo object passed
2315 in if it's newly added to the object cache.
2317 Now calls cspi_object_add_ref with second param of "FALSE". This
2318 prevents us from doing a pointless dup-ref followed by
2319 release-unref for all those cases where the object is already in
2320 our object cache (fix for #85205).
2322 * atk-bridge/bridge.c:
2323 (spi_atk_bridge_idle_init):
2324 Removed this method, we don't need to initialize in an idle
2327 Changed to call spi_atk_register_event_listeners directly, not via an
2328 idle handler. (fix for #81139)
2329 (gnome_accessibility_module_shutdown):
2330 Removed conditional around deregistration of listeners, since we
2331 don't use the idle handler and thus have always registered when
2333 (spi_init_keystroke_from_atk_key_event):
2334 Changed references to Accessibility_KEY_PRESSED to
2335 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
2337 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2339 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
2344 * test/stress-test.c:
2347 (may have been an incomplete commit yesterday?)
2349 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2352 Added target for new stress-test.
2354 * test/stress-test.c:
2355 New test, sends 1000 focus notifies in quick succession.
2357 * test/key-listener-test.c:
2358 Now we report whether a keylistener registration
2359 request succeeded or failed.
2361 * test/event-listener-test.c:
2362 Uncommented some listeners which are now implemented.
2365 2002-06-06 Bill Haneman <bill.haneman@sun.com>
2367 * registryd/deviceeventcontroller.c:
2368 (spi_controller_update_key_grabs):
2369 Fix for #82509, lack of failure notification when
2370 ALL_WINDOWS keygrabs fail due to XGrabKey
2371 failure: we synchronize the server when
2372 registering a passive grab, to make sure we get the
2373 error message before the call returns.
2375 2002-06-03 Bill Haneman <bill.haneman@sun.com>
2377 * test/test-simple.c:
2379 Removed #ifdef KEY_IMPL_WORKS guards.
2380 (test_keylisteners):
2381 Removed #ifdef KEY_IMPL_WORKS guards.
2382 Fixed bug which was causing a hang waiting for a
2383 "press" event (which was already overwritten by a "release"
2384 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
2386 Added code to set globals 'key_press_received' and
2387 'key_release_received'.
2390 Added section "1.1 API Proposed Additions" which
2391 lists API additions desired for at-spi-1.1 (only one so far).
2392 Updated TODO list a little.
2394 2002-06-02 Bill Haneman <bill.haneman@sun.com>
2396 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
2399 * configure.in: Revved to 1.0.0.
2401 * idl/Accessibility_Registry.idl:
2402 (registerKeystrokeListener):
2403 Added boolean return value.
2405 * registryd/registry.c:
2406 (notify_listeners_cb): Minor fix to debug output.
2408 * registryd/Accessibility_Registry.server.in.in:
2409 Revved version number in OAFIID to 1.0.
2411 * registryd/registryd.c:
2413 Use new OAFIID version.
2415 * cspi/bonobo/cspi-bonobo.c:
2417 Use new OAFIID version.
2423 * atk-bridge/bridge.c:
2425 Use new OAFIID version.
2427 * registryd/deviceeventcontroller.c:
2428 (impl_register_keystroke_listener):
2429 Added CORBA_boolean return value.
2430 (spi_controller_register_device_listener):
2431 Added gboolean return value.
2432 (spi_controller_register_global_keygrabs):
2433 Added gboolean return value.
2434 (spi_key_set_contains_key):
2435 Added implementation for many more control keys,
2436 for instance F1-F12, arrow keys, End, Home, Page_Up,
2438 [TODO: some still not implemented].
2440 * text/screen-review-test.c:
2441 (text_chunk_pad_string):
2442 New function: it provides mapping between coordinate
2443 positions of text chunks and character positions in the
2444 screen-review-line output string.
2445 (text_chunk_to_string):
2446 New function, calls text_chunk_pad_string with various
2447 pad/delimiter characters. Pushbuttons are delimited with
2448 square brackets, Frames with vertical 'pipe' lines, and
2449 other text with double quotes.
2450 (text_chunk_list_to_string):
2451 Calls new function text_chunk_to_string.
2452 (toplevel_composite):
2453 New function to composite layers CANVAS through
2454 POPUP in each toplevel (other layers are composited
2455 across toplevels, i.e. BACKGROUND and OVERLAY).
2456 (review_buffer_composite):
2457 Revise to use new methods.
2463 2002-05-31 Laszlo Peter <laca@sun.com>
2465 * configure.in: add the Xtst libdir to the runpath on Solaris,
2466 since it's not in the default library search path.
2468 2002-05-29 jacob berkman <jacob@ximian.com>
2470 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
2472 2002-05-29 Bill Haneman <bill.haneman@sun.com>
2474 * test/screen-review-test.c:
2475 (text_chunk_pad_string):
2476 Added method, which pads the string according to the
2477 text bounds of the chunk. It also takes a 3-character
2478 string as a param which indicates the characters to be
2479 used for start, padding, and end delimitation of the chunk.
2480 (text_chunk_to_string):
2481 Changed to use text_chunk_pad_string.
2483 * configure.in: Fixed bug in AC_OUTPUT that was
2484 causing path substitution in Accessibility_Registry.server
2487 2002-05-23 Bill Haneman <bill.haneman@sun.com>
2489 * text/screen-review-test.c:
2490 (guess_string_clip):
2491 New method which attempts a best-guess at clipping
2492 text from components (like Java labels) which don't
2493 actually implement AccessibleText. This inaccurate
2494 clip is based on the assumption that the label is
2495 justified left-and-right, and monospaced.
2496 (text_chunk_get_clipped_string):
2497 We now call guess_string_clip() for text-containing
2498 components that don't implement AccessibleText.
2500 * test/screen-review-test.c:
2501 (review_buffer_get_text_chunk):
2502 We now pull "name" from labels if they do not implement
2503 AccessibleText (i.e. for Java labels).
2504 (get_screen_review_line_at):
2505 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
2508 Replaceded AC_OUTPUT target
2509 registryd/Accessibility_Registry.server with
2510 registryd/Accessibility_Registry.server.in.
2512 * registryd/Accessibility_Registry.server.in:
2513 Removed (this is now a Makefile target).
2515 * registryd/Accessibility_Registry.server.in.in:
2516 Added (source for target above). We now use $(libexecdir) as
2517 prefix for the executable at-spi-registryd.
2519 * registry/Makefile.am:
2520 Now install at-spi-registryd into $(libexecdir), and build .server
2521 file with path (see above).
2523 2002-05-22 Bill Haneman <bill.haneman@sun.com>
2525 * test/screen-review-test.c:
2526 (text_chunk_get_clipped_string):
2527 We now check to see if words fall within clip bounds
2528 before resorting to character-by-character clip bounds testing.
2530 * TODO: Added a section for "2.2 Proposed API Additions".
2532 2002-05-21 Bill Haneman <bill.haneman@sun.com>
2534 * test/screen-review-test.c:
2536 Added a screen review benchmarking and test program to test
2539 * cspi/spi_accessible.c:
2541 Made some of the debug strings passed to cspi_check_ev a
2542 little more specific.
2544 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
2546 * test/screen-review-test.c: Fix crashes in debug statements
2548 2002-05-20 Bill Haneman <bill.haneman@sun.com>
2550 * test/screen-review-test.c: Added this file.
2552 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2554 * atk-bridge/bridge.c: changed "object:state-change" to
2555 "object:state-changed" to match docs.
2557 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2559 * atk-bridge/bridge.c: Hooked up state-change event details.
2561 2002-05-11 Bill Haneman <bill.haneman@sun.com>
2563 * registryd/registry.c:
2564 Fixed quarking bug in event string parsing; now events with
2565 detail parameters get matched correctly to listeners.
2568 * util/idl/Magnifier.idl: remove.
2570 * util/*.[ch]: Remove.
2571 Magnification utilities and IDL are now in module gnome-mag.
2573 2002-05-10 Bill Haneman <bill.haneman@sun.com>
2575 * registryd/deviceeventcontroller.c:
2576 Fixed bug in grab key conversion which was causing keycode grabs
2577 to be converted to AnyKey grabs.
2580 updated NEWS file to reflect recent spin-off of gnome-mag.
2582 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
2584 * cspi/spi_accessible.c: Added exception checks. Fixed completely
2585 busted AccessibleStateSet_compare. Removed redundant casts.
2587 * cspi/spi-action.c: Removed redundant casts.
2589 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
2591 * cspi/spi_component.c: Fixed typos and casting error.
2593 * cspi/spi_editabletext.c: Removed redundant casts.
2595 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
2597 * cspi/spi_hypertext.c: Eliminated redundant casts.
2599 * cspi/spi_image.c: Eliminated redundant casts.
2601 * cspi/spi_registry.c: Eliminated redundant casts.
2602 SPI_deregisterGlobalEventListenerAll () removed retval variable.
2603 * cspi/spi_selection.c: Removed redundant casts.
2604 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
2605 handling. Screen geometry and text offsets were being returned as 0
2606 on error which is technically valid-- changed these to return -1.
2607 Added marshaller for text boundary types to fix bug with boundary
2608 types being passed incorrectly to atk.
2610 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2613 * cspi/spi_registry.c:
2614 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
2615 which was uncovered by the recent key changes.
2617 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2619 * test/event-listener-test.c:
2621 Added new test, "event-listener-test";
2622 this code does two things; it benchmarks traversal time
2623 for the accessible hierarchy for the first running accessible
2624 app, and it connects listeners for all supported event types.
2625 It is thus useful as an example event listener and for
2626 diagnostics/debugging of event generation.
2628 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2631 Removed unnecessary dependency on libutil.
2634 Revved micro version: 0.13.1
2636 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2639 Removed util/Makefile from targets.
2642 Removed util subdir from SUBDIRS (temporarily,
2643 pending removal of magnifier-only code
2647 #ifdef-ed out magnifier dependencies, since
2648 magnifier IDL, headers, and binary now live in
2649 module gnome-mag and we don't want at-spi to depend
2650 on gnome-mag. A magnifier demo which can run alongside
2651 simple-at is forthcoming in the gnome-mag module.
2653 NOTE: Split magnifier binary, IDL, and magnification
2654 activation code from at-spi into module gnome-mag.
2656 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
2658 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
2659 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
2661 2002-05-03 Bill Haneman <bill.haneman@sun.com>
2664 Revved to version 0.13.0
2666 * idl/Accessibility_Registry.idl:
2667 Changed definition of KeySet from sequence of longs to sequence of
2668 KeyDefinitions, and added KeyDefinition struct.
2669 Required for fix to bug 80616.
2671 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
2672 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
2673 to use new definition (see above).
2675 * registryd/deviceeventcontroller.c: handle_keygrab(),
2676 spi_keyset_contains_key():
2677 Changed to make use of new struct; this allows matching based on
2678 string key-name, for instance "Tab". This also allows matching of
2679 composed characters, non-alphanumeric characters in a way that
2680 doesn't involve dependencies on X keysym codes directly, etc.
2682 * test/key-listener-test.c:
2683 Added test for Alt-Tab key using "string" specification of keyset,
2684 and modified one of the tests to use a keycode-based keyset.
2685 Thus this test both tests and demonstrates the creation and use of
2686 keysets of three forms: specified via keycode array,
2687 keysym array, and string array. (The string case only contains a
2688 single string, i.e. a string array of length 1).
2691 Turned on PRINT_TREE option by default. Also fixed a
2692 string-freeing bug in the PRINT_TREE code.
2693 Added a listener to window:minimize events.
2695 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
2697 * atk-bridge/bridge.c:
2698 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
2699 for window:activate and window:deactiveate
2700 (atk_bridge_property_event_listener atk_bridge_signal_listener
2701 atk_bridge_window_event_listener) Tidy debug code
2703 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
2705 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
2706 Fixed handling for NULL return value from ATK.
2708 * libspi/action.c libspi/component.c libspi/editabletext.
2709 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
2710 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
2711 Removed redundant casts.
2713 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
2714 Fixed off by one bug.
2716 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
2717 function not present in idl)
2719 2002-05-02 jacob berkman <jacob@ximian.com>
2721 * atk-bridge/Makefile.am: make atk-bridge a real module
2723 2002-04-26 Radek Doulik <rodo@ximian.com>
2725 * libspi/stateset.c (spi_init_state_type_tables): fix size of
2726 atk_state_types table
2728 2002-04-22 jacob berkman <jacob@ximian.com>
2731 * libspi/Makefile.am: add deps on the built files to help
2732 automake, and don't version the ORBit typelib
2734 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
2736 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
2737 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
2738 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
2739 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
2740 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
2741 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
2742 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
2743 libspi/accessible.h libspi/accessible.h libspi/base.h
2744 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
2745 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
2746 libspi/relation.h libspi/remoteobject.h libspi/selection.h
2747 libspi/spi-private.h libspi/statetset.h libspi/table.h
2748 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
2749 util/mag_client.h util/mag_control.c util/mag_image.c
2750 util/mag_image.h util/magnifier.c util/magnifier.h:
2751 Add missing file headers; standardize existing ones
2753 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
2755 * atk-bridge/bridge.c: Added window event support.
2757 2002-04-18 Michael Meeks <michael@ximian.com>
2759 * libspi/relation.c (impl_getNTargets): impl.
2760 (impl_getTarget): impl.
2762 * libspi/Makefile.am: fix stateset install.
2764 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2767 Started putting useful info in this file.
2769 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
2771 * atk-bridge/bridge.c:
2772 Propagate state-changed notifications to ATs
2774 * cspi/spi_registry.c: update docs to reflect actual behavior of
2775 state-change events.
2777 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2780 Incremented version to 0.12.1
2782 * util/mag_client.h:
2783 Add missing declaration for magnifier_exit,
2784 used by mag_control.c - Forte compiler didn't like
2785 the implicit redeclaration of the function :-(
2788 2002-04-16 Bill Haneman <bill.haneman@sun.com>
2791 Revved version to 0.12 due to API change (see below).
2793 * cspi/spi-roletypes.h:
2794 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
2795 definition from the inline docs, and added docs
2796 for SPI_ROLE_LAST_DEFINED.
2799 * cspi/spi_streamablecontent.c:
2800 Added missing seek_type parameter to
2801 (so far unused) method,
2802 AccessibleStreamableContent_seek().
2803 [ RT approval JodyG. ]
2806 Fixed docs for SPI_createAccessibleKeystrokeListener.
2808 * cspi/spi_registry.c:
2809 Fixed docs for SPI_KEYSET_ALL_KEYS.
2811 * docs/reference/cspi/at-spi-cspi-sections.txt:
2812 Added a number of missing APIs to SECTIONS.
2814 2002-04-16 Bill Haneman <bill.haneman@sun.com>
2816 * registryd/Makefile.am:
2818 * cspi/bonobo/Makefile.am:
2819 Add $(X_LIBS) to makefiles.
2821 2002-04-15 Bill Haneman <bill.haneman@sun.com>
2824 Revved version to 0.11.
2826 * libspi/component.c:
2827 Added implementation for grabFocus.
2829 * idl/Accessibility_Component.idl
2830 (Accessibility_Component_grabFocus):
2831 Made this method return boolean to indicate success or failure, to
2832 be consistent with cspi and the corresponding ATK method.
2834 * idl/Accessibility_Selection.idl
2835 (Accessibility_Selection_selectAll) :
2836 Made these methods return boolean to indicate success or
2837 failure, to be consistent with cspi and the corresponding ATK methods.
2839 * idl/Accessibility_EditableText.idl
2840 (Accessibility_EditableText_setTextContents,
2841 Accessibility_EditableText_insertText,
2842 Accessibility_EditableText_cutText,
2843 Accessibility_EditableText_deleteText,
2844 Accessibility_EditableText_pasteText):
2845 Made these methods return boolean to indicate
2848 * cspi/spi_editabletext.c:
2849 Made these methods return booleans.
2851 * libspi/selection.c:
2852 * libspi/component.c:
2853 * libspi/editabletext.c:
2854 Connected the boolean returns from ATK
2855 to the server-side code referenced above.
2857 2002-04-14 Bill Haneman <bill.haneman@sun.com>
2859 * idl/Accessibility_Table.idl: Added missing methods,
2860 Accessibility_Table_addRowSelection,
2861 Accessibility_Table_addColumnSelection,
2862 Accessibility_Table_removeRowSelection,
2863 Accessibility_Table_removeColumnSelection.
2866 Added C wrappers for above IDL:
2867 AccessibleTable_addRowSelection,
2868 AccessibleTable_addColumnSelection,
2869 AccessibleTable_removeRowSelection,
2870 AccessibleTable_removeColumnSelection.
2873 Added server-side implementation code for IDL above, connecting
2874 to pre-existing ATK api.
2876 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
2878 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
2880 * libspi/accessible.c: Added implementation fo
2881 Accessibility_Accessible_get_state.
2883 * libspi/libspi.h: Added stateset.h to the list of includes.
2885 * libspi/stateset.c: Fixed broken implementation.
2887 2002-04-13 Bill Haneman <bill.haneman@sun.com>
2890 Added implementation code for Accessibility_Magnifier_exit ().
2892 * util/mag_control.c:
2893 Added test code for above method; you can
2894 now kill an existing magnifier via
2895 ./mag_control q, from the util directory.
2897 * test/key-listener-test.c:
2899 Added a new test, for our key listener API.
2901 2002-04-11 Bill Haneman <bill.haneman@sun.com>
2903 * test/app.c, test/keysynth-demo.c:
2905 Replace use of snprintf with g_snprintf.
2906 (fix for bugzilla 78249)
2908 2002-03-27 Michael Meeks <michael@ximian.com>
2912 * util/Makefile.am (INCLUDES): fix.
2913 (DONT_DIST_SOURCE): don't distribute the
2916 * libspi/Makefile.am (dist-hook): ditto.
2918 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
2920 * libspi/hypertext.c:
2921 Fix warnings when yelp is used with atk-bridge
2923 2002-03-21 Michael Meeks <michael@ximian.com>
2925 * libspi/application.c (spi_application_new):
2926 use spi_accessible_construct so we use the AtkObject
2929 2002-03-19 Michael Meeks <michael@ximian.com>
2931 * registryd/registry.c (desktop_remove_application),
2932 (desktop_add_application): clean coding style.
2934 * registryd/desktop.c (spi_desktop_remove_application),
2935 (spi_desktop_add_application): kill re-enterency hazards.
2936 (spi_desktop_dispose): remove bogus redundant cast
2937 obscuring bug; fix bug too.
2938 (spi_desktop_init): make the desktop object immortal.
2940 2002-03-16 Bill Haneman <bill.haneman@sun.com>
2943 Added a #define-guarded tree-traversal step
2944 when enumerating the apps (diagnostic tool).
2946 2002-03-15 Bill Haneman <bill.haneman@sun.com>
2948 * idl/Accessibility_Role.idl:
2949 Added ROLE_DRAWING_AREA which seemed to be missing from the
2952 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2954 * cspi/spi-roletypes.h cspi/spi_accessible.c
2955 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
2958 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
2959 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
2960 AT when applications are added and removed from the desktop. This
2961 reverts the previous broken implementation using the backing
2962 AtkObject for the SpiDesktop.
2964 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2966 * registryd/desktop.c: emit the "children-changed::add" and
2967 "children-changed::remove" signals on the backing ATK object for
2968 the desktop so AT can tell when applications are started and shut
2971 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2973 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
2975 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2977 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
2979 * cspi/spi_accessible.c: Implemented c bindings for stateset support
2981 * cspi/state-types.h: synched with IDL and ATK
2983 2002-03-13 Bill Haneman <bill.haneman@sun.com>
2985 * libspi/accessible.c
2986 (impl_accessibility_accessible_get_child_at_index):
2987 Change return value for g_return_if_fail ()
2988 to CORBA_OBJECT_NIL instead of "0" (!)
2990 * registryd/Makefile.am:
2991 * registryd/Accessibility_Register.server.in:
2992 Changed name of executable, "registryd",
2993 to something more informative:
2996 2002-03-13 Michael Meeks <michael@ximian.com>
2998 * atk-bridge/bridge.c (atk_bridge_init): don't register
2999 if we're in a bonobo-component, rather than a bonobo app.
3001 2002-03-13 Michael Meeks <michael@ximian.com>
3003 * atk-bridge/bridge.c (gtk_module_init): split
3004 out body to (atk_bridge_init): here, since otherwise
3005 we get symbol conflicts and oddness when invoked
3006 from (gnome_accessibility_module_init): here (upd.)
3008 2002-03-11 Bill Haneman <bill.haneman@sun.com>
3011 New file. Explicitly allow "build sheriff" putbacks provided
3012 they are tested on Solaris.
3014 * docs/reference/cspi/Makefile.am:
3015 Added '-' to the "cp" command for index.sgml.
3016 ("patch by thomasvs, soon coming to a GUADEC near you")
3019 Incremented version number (0.9.0) for new release.
3020 Changed macro that checks for popt, to better detect
3021 obsolete versions of popt.
3024 Added X_LIBS to AC_SUBST, for applications
3025 that call Xlib API directly.
3028 2002-03-07 Bill Haneman <bill.haneman@sun.com>
3031 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
3034 Fix regression caused by hard-coding major
3035 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
3038 * test/test-simple.c (test_editable_text),
3039 (test_test): revert previous change (error was
3040 a regression in gail which is now fixed).
3042 2002-03-04 Michael Meeks <michael@ximian.com>
3044 * test/test-simple.c (test_editable_text),
3045 (test_text): pass G_MAXINT instead of '-1' for
3046 whole string - is this a good thing !?
3048 * cspi/spi_accessible.c
3049 (Accessible_getRelationSet): fix crasher bug
3050 overwriting the end of the array.
3052 * test/test-simple.c (validate_accessible): free,
3053 not g_free returned relation set.
3055 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
3057 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
3058 implemented stateset support
3060 * idl/Accessibility_State.idl: Made necessary changes to
3061 the IDL to support state sets.
3063 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3065 * registryd/deviceeventcontroller.c:
3066 Added implementation for generateMouseEvent.
3068 * cspi/spi_registry.c:
3069 Connected new implementation for generateMouseEvent
3072 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3075 Incremented revision (but no change in public API
3076 outside of 'utils', which are not installed public yet.)
3078 * libspi/component.c:
3079 Changed to use atk_component API for layers and
3080 mdi_zorder, instead of deprecated atk_object API.
3082 Magnification Utility Enhancements:
3085 Added implementation of createZoomRegion, clearAllZoomRegions,
3086 resizeZoomRegion. Added new commandline argument
3087 "--no-initial-region". Note that clearAllZoomRegions doesn't
3088 unmap the old '0' region as it should (yet), and the other
3089 methods only work when creating/resizing a single region,
3090 which is "region 0".
3091 (Code for multiple region support will be added later.)
3094 Now we raise the magnifier window each time it's refreshed;
3095 this will help keep it on top.
3097 * util/mag_client.h:
3098 Added simple wrappers for above, used by mag_control.
3099 For general use, it's recommended to use the bonobo magnifier
3100 control API directly instead of using these wrappers.
3103 Moved ZoomRegionData from magnifier.c to this file.
3105 * util/mag_control.c:
3106 Added some code to exercise new IDL implementations.
3108 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
3110 * libspi/text.c: Provide implementation for getAttributes.
3112 2002-02-04 Bill Haneman <bill.haneman@sun.com>
3115 Incremented revision.
3117 * test/test-simple.c:
3118 Replaced use of deprecated g_main_iteration with
3119 g_main_context_iteration.
3121 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
3124 Incremented revision for desktop alpha 2.
3126 2002-01-28 Mark McLoughlin <mark@skynet.ie>
3128 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
3131 * test/simple-at.c: include netinet/in.h.
3133 2002-01-24 Mark McLoughlin <mark@skynet.ie>
3135 * cspi/spi_accessible.c: (Accessible_getRelationSet):
3136 use NULL, not CORBA_OBJECT_NIL.
3138 * libspi/accessible.c:
3139 (impl_accessibility_accessible_get_relation_set):
3140 allocate the sequence correctly.
3142 * libspi/remoteobject.h: kill spi_remote_object_new.
3144 * test/test-simple.c: (validate_accessible): add code
3145 to test relation sets, now all we need is to figure
3146 out how to excercise this code path :/
3148 2002-01-18 Michael Meeks <michael@ximian.com>
3150 * test/test-simple.c
3151 (key_listener_cb): consume the key.
3152 (test_keylisteners): update.
3153 (main): wait for any pending unrefs on events.
3155 * registryd/deviceeventcontroller.c
3156 (spi_controller_update_key_grabs): only re-issue the
3157 grab on a key release.
3158 (spi_device_event_controller_forward_key_event):
3159 refresh the keygrabs before we notify the listeners,
3160 to reduce the X ungrab / re-grab race.
3161 (spi_controller_register_with_devices): remove
3162 XSelectInput - we do that with the gdk_window_ call.
3163 (_spi_controller_device_error_handler): return a value.
3164 s/GDK_DISPLAY/spi_get_display/
3166 2002-01-17 Michael Meeks <michael@ximian.com>
3168 * registryd/deviceeventcontroller.c
3169 (_deregister_keygrab): don't blow out the later
3172 * test/test-simple.c (test_keylisteners): do a
3173 more intelligent validation.
3175 2002-01-14 Michael Meeks <michael@ximian.com>
3177 * atk-bridge/bridge.c
3178 (gnome_accessibility_module_init),
3179 (gnome_accessibility_module_shutdown): impl.
3180 (gtk_module_init): protect vs. double inits.
3181 (add_signal_listener): impl.
3182 (spi_atk_bridge_state_event_listener): kill
3183 (deregister_application): split out of
3184 (spi_atk_bridge_exit_func): here.
3186 2002-01-18 Bill Haneman <bill.haneman@sun.com>
3189 Added caret tracking when using magnifier, and
3190 now use text bounds for focus tracking of text elements, rather than
3191 the component bounds - this is helpful for short text fields in long
3192 table cells, at high magnification.
3194 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3196 * registryd/deviceeventcontroller.c:
3197 Regression fix for keylistener de-registration; global keygrabs
3198 were not being released when deregisterKeystrokeListener was
3199 called in cspi, since
3200 Accessibility_DeviceEventController_deregisterKeystrokeListener
3201 was called with a zero-length keyset. That is because the cspi
3202 method, SPI_deregisterKeystrokeListener, does not take a keyset
3203 parameter but instead should remove all the key grabs held be a
3205 The code in impl_deregister_keystroke_listener was changed to copy
3206 the keylist from the listener instance previously registered with
3207 the DeviceEventController before releasing the grabs.
3209 * registryd/registry.c:
3210 * registryd/deviceeventcontroller.c:
3211 * libspi/spi-private.h:
3213 Changed spelling of "re-enterant" to "re-entrant" globally.
3215 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3217 * test/test-simple.c:
3218 Changed key listeners test - the test was slightly mis-using the
3219 (admittedly poorly documented) SPI_generateKeyboardEvent API.
3220 It now uses '=' as the key event listened to and generated,
3221 relying on a keysym match rather than assuming that keycode 33
3222 is always equal to keysym '!'.
3224 2002-01-15 Bill Haneman <bill.haneman@sun.com>
3227 Changed simple-at to use a specific keyset, rather than
3228 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
3229 manager, desktop, etc.
3231 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3233 * registryd/deviceeventcontroller.c:
3234 Replaced standard X error handler with a special handler that
3235 is non-fatal for failed keygrabs. This works around
3236 problems with keygrab clashes sometimes observed on
3238 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
3239 mouse handling code as yet).
3241 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3244 Incremented revision for desktop alpha release.
3247 Fixed a couple of the more glaring errors (still not
3250 2002-01-11 Michael Meeks <michael@ximian.com>
3252 * registryd/deviceeventcontroller.c
3253 (spi_device_event_controller_forward_key_event): kill
3254 XUngrabKey / XKeyGrab race.
3255 (spi_controller_grab_keyboard): rename to
3256 (spi_controller_update_key_grabs): this, and deal
3257 with incremental adding / removing grabs more
3259 (_register_keygrab): ensure we're not pending a remove.
3260 (spi_grab_mask_free): impl.
3261 (spi_controller_register_global_keygrabs): split out
3263 (handle_keygrab): impl.
3264 (_deregister_keygrab): impl.
3265 (spi_controller_deregister_global_keygrabs): impl.
3266 (spi_controller_update_key_grabs): re-issue the grab if
3267 we just recieved a notification.
3269 * test/test-simple.c (key_listener_cb): remove debug.
3271 * registryd/deviceeventcontroller.c
3272 (spi_controller_register_device_listener): after
3273 registering a global keygrab, actualy register it !
3274 don't wait for a timeout; doh !
3276 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
3277 to make it more readable / manipulable.
3278 s/grabmask/grab_mask/ s/refcount/ref_count/
3279 s/keyval/key_val/ s/modmask/mod_mask
3281 2002-01-08 Michael Meeks <michael@ximian.com>
3283 * registryd/deviceeventcontroller.c
3284 (spi_controller_register_with_devices): use gdk calls to
3286 (global_filter_fn): implement the filter.
3287 (spi_device_event_controller_check_key_event): rename to
3288 (spi_device_event_controller_forward_key_event): this & upd.
3289 (spi_get_display): replace with GDK_DISPLAY.
3291 * registryd/deviceeventcontroller.c
3292 (spi_controller_deregister_device_listener): unroll into
3293 (impl_deregister_keystroke_listener): here to simplify.
3294 (spi_controller_register_global_keygrabs): split cut and
3295 paste (!) out into (_register_keygrab): here, shorter & sweeter.
3296 (spi_controller_deregister_device_listener): remove.
3297 (impl_register_mouse_listener): remove, no mouse listener
3298 support in at-spi-1.0
3300 * registryd/registry.c
3301 (_device_event_controller_hook): kill.
3302 (spi_registry_init): upd.
3304 * registryd/deviceeventcontroller.c
3305 (spi_device_event_controller_class_init): upd.
3306 (spi_check_key_event): merge into.
3307 (spi_device_event_controller_check_key_event):
3308 here and kill strange static ev init, don't leak
3309 the x_event - nor dynamicaly allocate it.
3311 * registryd/registry-main.c (main): re-direct
3312 timeout to remove strange vtable mess.
3314 * registryd/deviceeventcontroller.c
3315 (remove_listener_cb): impl.
3316 (spi_controller_deregister_device_listener):
3317 fix re-enterancy hazard.
3319 2002-01-07 Michael Meeks <michael@ximian.com>
3321 * registryd/deviceeventcontroller.c
3322 (spi_device_event_controller_new): upd.
3323 (impl_notify_listeners_sync): upd. debug.
3324 (spi_notify_keylisteners): fix re-enterancy hazards,
3325 prettify, remove O(n*n) iteration.
3326 (spi_controller_grab_keyboard): fix iteration.
3327 (spi_check_key_event): re-format to suit coding style.
3328 Clean all the warnings - we're warning free.
3330 * registryd/deviceeventcontroller.h:
3331 * registryd/registry.h: make mutualy referential with
3332 typesafe forward references instead of (!) void pointer
3335 2002-01-11 Michael Meeks <michael@ximian.com>
3337 * cspi/spi_accessible.c (role_names): add a role name
3338 to sync this array with the enum; and make the regression
3341 2002-01-10 Michael Meeks <michael@ximian.com>
3343 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
3344 allow expansion of enumeration & kill warning.
3346 * test/test-simple.c (key_listener_cb): impl.
3347 (test_keylisteners): impl.
3349 * cspi/spi-listener.h: make listener signatures const
3350 on the provided (const) events.
3352 * test/keysynth-demo.c: upd. to const events.
3354 * test/simple-at.c: ditto.
3356 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3359 Rev the version to 0.5 (the previous tarball was named 0.4,
3360 even though the micro number was 3), so we need to rev upwards
3361 again for beta2/"desktop-alpha"
3364 Checked in a demo script, which requires editing before use!
3365 Proceed with caution.
3368 Fixed typo in header which was redefining SPI_ACTION_CLASS.
3370 * cspi/spi_accessible.c:
3371 Add a couple of missing enum initializations, and fix some enum
3374 * cspi/spi_registry.c:
3375 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
3377 * docs/reference/cspi/at-spi-cspi-sections.txt:
3378 Remove/fix a couple of broken document references.
3381 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
3382 as Alt-Control to listen for commands, since on some systems
3383 Control-Alt may already be grabbed.
3385 2002-01-10 Bill Haneman <bill.haneman@sun.com>
3388 Update version number to 0.4 for Beta2.
3390 * libspi/accessible.c, libspi/accessible.h:
3391 Expose spi_accessible_construct, to enable libgail-gnome
3392 construction from spi_accessible subtype.
3394 * utils/magnifier.c:
3395 Workaround for bug in some non-gnome-compliant window managers
3396 which made magnifier resize improperly.
3398 2002-01-09 Bill Haneman <bill.haneman@sun.com>
3400 * libspi/accessible.c: (spi_accessible_new) :
3401 Move the test for SPI_IS_REMOTE_OBJECT to
3402 spi_accessible_new_return, fixing a bug and compile time warning.
3404 2002-01-08 Michael Meeks <michael@ximian.com>
3406 * registryd/registry.c (parse_event_type): remove strndup.
3408 * libspi/Makefile.am (libspi_la_SOURCES): remove
3409 sources already included in the headers section.
3411 * libspi/util.c: add.
3413 * libspi/spi-private.h: add.
3415 * registryd/registry.c: update to moved list iterators.
3417 2002-01-05 Michael Meeks <michael@ximian.com>
3419 * test/simple-at.c (main): upd. auto-module set to atk-bridge
3421 * test/test-simple.c (main): ditto.
3423 2002-01-04 Michael Meeks <michael@ximian.com>
3425 * libspi/accessible.c (spi_accessible_new): remove 2nd,
3426 redundant construct.
3428 * registryd/registry.c
3429 (get_listener_list): impl.
3430 (impl_accessibility_registry_register_global_event_listener):
3431 re-impl. to simplify using ~, remove dodgy const cast off.
3432 (parse_event_type): constify.
3433 (impl_accessibility_registry_deregister_global_event_listener_all):
3434 re-write, more efficiency and simplicity, kill re-enterancy
3436 (compare_listener_corbaref, compare_corba_objects),
3437 (compare_listener_quarks): define out.
3438 (impl_accessibility_registry_deregister_global_event_listener):
3439 re-write for effiency, and nail re-enterancy hazard.
3440 (impl_accessibility_registry_get_desktop_list): impl.
3441 (re_enterant_list_delete_link): impl.
3442 (re_enterant_list_foreach): impl.
3443 (remove_listener_cb): impl.
3444 (_registry_notify_listeners): kill.
3445 (notify_listeners_cb): impl.
3447 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
3448 (SPI_getDesktopList): impl.
3450 * test/test-simple.c (test_desktop): test the methods.
3452 2002-01-03 Michael Meeks <michael@ximian.com>
3454 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
3455 keystrings since we free them
3456 (SPI_freeAccessibleKeySet): in here.
3458 * libspi/accessible.c (spi_accessible_new): kill warning,
3459 wonder what is going on with the constructor here.
3461 2002-03-01 Bill Haneman <bill.haneman@sun.com>
3463 * libspi/accessible.c (spi_accessible_new ()) :
3464 Added check to see if AtkObject is an SpiRemoteObject before
3465 creating an SpiAccessible.
3467 2002-05-01 Bill Haneman <bill.haneman@sun.com>
3469 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
3470 Enable keygrabs using the Control modifier, now that they are
3471 working properly (they were previously disabled).
3474 Change the command keygrab for this demo to "Control+Alt", so as
3475 to conflict with fewer other key commands on the system; this
3476 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
3478 Removed a pointlessly-chatty keylistener for unshifted keys
3479 (shifted keys are still reported).
3481 2002-02-01 Bill Haneman <bill.haneman@sun.com>
3483 * libspi/remoteobject.h:
3484 * libspi/remoteobject.c:
3485 Added definitions for special AtkObject subtype, required for
3486 support of remote components (specifically, used by BonoboControl
3487 accessibility implementation).
3489 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
3491 * cspi/spi.h: synched relation types with ATK
3493 * cspi/spi_accessible.c: Added implementations of
3494 AcccessibleRelation_* methods
3496 * idl/Accessibility_Relation.idl: added getRelationTypeName
3497 method. Synched known relation types with ATK. Allowed for
3498 relation type extension with the RELATION_EXTENDED type.
3500 * libspi/relation.c: Provided implementations for
3501 AccessibleRelation methods.
3503 2002-01-01 Bill Haneman <bill.haneman@sun.com>
3505 API tweaks for today's API 'freeze'.
3508 Added placeholder functions to allow future compatible expansion
3509 of the IDL interfaces.
3511 * idl/Accessibility_Registry.idl:
3512 Changed generateKeyEvent to generateKeyboardEvent. Changed
3513 signature of this method to accept an optional keystring in
3514 parameter (for complex text input synthesis) and changed use of
3515 simple 'boolean' parameter in registerKeystrokeListener to a
3516 struct, EventListenerMode.
3518 * cspi/spi_accessible.c:
3520 * cspi/spi_streamablecontent.c:
3521 Added references to AccessibleStreamableContent interface, and
3522 definition and implementation of AccessibleStreamableContent
3525 * cspi/spi_registry.c:
3527 Changed generateKeyEvent API to generateKeyboardEvent,
3528 taking a new (optional) keystring parameter to support complex
3533 Renamed directory (to better reflect its actual purpose, bridging
3534 from at-spi to ATK). The .so module is also now named
3537 * idl/Accessibility_Hypertext.idl:
3538 * libspi/accessible.c:
3539 * libspi/hypertext.h:
3540 * libspi/hypertext.c:
3541 Changed Accessibility_Hypertext to *not* derive from
3544 * cspi/spi_registry.c:
3545 Added list of legal event type names for 'window' events, which
3546 completes the registry event API.
3548 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
3550 * at-bridge/bridge.c: Added registration for separate
3551 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
3552 signals. If either of the first two parameters to the generic
3553 bridge signal handler are ints, they are passed on as event
3554 details. This allows an AT to determine what text was inserted.
3556 2001-12-21 Bill Haneman <bill.haneman@sun.com>
3558 * registryd/deviceeventcontroller.c:
3559 Fixed regressions in generateKeyEvent caused by the removal of
3560 gdk_init from registryd; we now use pure X calls to connect to the
3561 display, which makes sense because deviceeventcontroller already
3562 uses a fair bit of X API (should eventually be migrated to a
3563 'portability layer').
3565 * registryd/desktop.c:
3566 Fixed minor regression in spi_desktop_init, changed the way the
3567 desktop name is being set to work with new spi_base API
3568 (gobject-based, rather than AtkObject-based).
3570 * registryd/Makefile.am:
3571 Minor revision of makefile to use XTST_LIBS variable rather than
3572 hard-wiring the Xtst LD_ADD element.
3574 * test/keysynth-demo.c:
3575 Tweaked an output message; added initialization of the
3576 'keystrings' member of the "switch listener" key_set.
3578 * libspi/relation.c:
3579 Squashed compile-time warning.
3581 * libspi/accessible.c:
3582 Cosmetic and formatting fixes, renamed a static method.
3584 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
3586 * libspi/accessible.c
3588 * libspi/application.c
3591 * libspi/component.c
3592 * libspi/editabletext.c
3593 * libspi/hyperlink.c
3594 * libspi/hypertext.c
3596 * libspi/selection.c
3600 * registryd/desktop.c:
3601 Changed SpiBase to contain a GObject pointer rather than an AtkObject
3603 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3605 * idl/Accessibility_Registry.idl:
3606 Added boolean member 'is_text' to DeviceEvent. This is for the
3607 use of key events, and helps prevent ambiguity between composed
3608 key strings and keysym names, since both may potentially be
3609 returned in the 'event_string' member.
3611 * at-bridge/bridge.c:
3612 * registryd/deviceeventcontroller.c:
3613 Use the 'is_text' member when notifying device event listeners.
3614 Knon issue: composed characters are not dealt with correctly by
3615 the global key listener implementation yet.
3617 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3619 * at-bridge/bridge.c:
3620 Namespaced local static methods to spi_atk_bridge_* where
3621 previously named bridge_*, and spi_* elsewhere.
3623 * at-bridge/bridge.c:
3624 * cspi/bonobo/cspi-bonobo-listener.c:
3625 Added demarshalling/conversion for string member of
3626 Accessibility_DeviceEvent to AccessibleKeystroke.
3628 * registryd/deviceeventcontroller.c:
3629 Added code to fill the Accessibility_DeviceEvent key string value
3630 member for global key events (i.e. from XGrabKey), to match
3631 behavior of Accessibility_DeviceEvent from the toolkit key events
3632 from the bridge. Fixed timestamp in global key event notifications.
3635 Added printout of key event's string value to
3636 report_ordinary_key_event, for demo/debugging purposes.
3638 2001-12-15 Bill Haneman <bill.haneman@sun.com>
3640 * idl/Accessibility_Registry.idl:
3641 Removed Accessibility_KeyStroke structure in favor of generic
3642 Accessibility_DeviceEvent structure.
3643 Changed Accessibility_ControllerEventMask from a struct to an
3646 * at-bridge/bridge.c:
3647 Changed APIs to use DeviceEvent structure as above, and removed
3648 bogus casting between these event structures.
3650 * cspi/spi-listener.h:
3651 Added keystring member of AccessibleKeystroke structure, to enable
3652 matching on event "names" rather than only hardware codes and
3656 Added keystrings member of AccessibleKeySet struct, to allow
3657 matching on event names (as above).
3658 Added declarations for SPI_createAccessibleKeySet and
3659 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
3660 event modmasks directly as unsigned ints rather than structs with
3661 refcounts, in the DeviceEventController methods.
3663 * cspi/spi_registry.c:
3664 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
3666 * cspi/spi-roletypes.h:
3667 Added documentation of newly added SPI Roles.
3669 * cspi/bonobo/cspi-bonobo-listener.c:
3670 Changes in support of API changes above.
3672 * libspi/accessible.c:
3673 Converted APIs to use DeviceEvent structure (see IDL changes
3676 * registryd/deviceeventcontroller.c:
3677 Added DEControllerGrabMask structure to track keygrabs not only by
3678 modmask but by keyset as well; this allows us to do "global"
3679 (i.e. X) keygrabs on a per-key or keyset basis rather than always
3680 grabbing on AnyKey and then filtering after-the-fact.
3681 Bugfixes for event filtration mean that we don't get false matches
3682 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
3684 * registryd/deviceeventcontroller.c:
3685 Namespaced a number of static methods to use spi_ prefix. Major
3686 revision to internals of global (i.e. X) key grabs.
3688 * registryd/deviceeventcontroller.h:
3689 Removed keymask_list and added keygrabs_list to
3690 SpiDeviceEventController struct.
3693 Added use of SPI_createAccessibleKeySet API when creating a
3694 listener for only one key. Attach a listener to "shift spacebar
3695 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
3696 X key event names to SPI key event names, so that listeners are
3697 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
3699 * test/keysynth-demo.c:
3700 Changed (incorrect) use of X key event names (KeyPressed,
3701 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
3704 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3706 * libspi/accessible.c:
3707 Convert all AtkRole enumerations to Accessibility_Role enums when
3708 getting a role from an AtkObject.
3710 * cspi/spi_accessible.c:
3711 Complete the conversion of Accessibility_Role enums at runtime to
3712 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
3713 role enums correctly match those given in spi-roletypes.h.
3714 Re-synchronize the local names list for AccessibleRole_getName ().
3715 AccessibleRole_getName is now deprecated, since it duplicates the
3716 more reliable Accessible_getRoleName.
3717 Added some role types from Accessibility_Role.idl.
3719 * idl/Accessibility_Role.idl:
3720 Added some role types used by AtkRole.
3722 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3725 * cspi/spi_registry.c:
3727 * cspi/cspi-bonobo-listener.c:
3728 Namespaced all methods that did not begin with an "SPI_" or
3729 "Accessible" prefix to "SPI_".
3732 Homogenized internal function namespace to "cspi_" for statics.
3735 Patched tests to use the new CSPI API.
3737 * docs/reference/cspi/at-spi-cspi-sections.txt:
3738 Updated docs to reflect namespace changes, and added a number of
3739 methods to the documentation.
3741 * registryd/registry.c:
3742 Changed use of strings and string hashes in listener event
3743 matching and parse_event_string to use GQuark, which is guaranteed
3746 * registryd/registry.h:
3747 Squashed annoying warning.
3749 * idl/Accessibility_Role.idl:
3750 Extended range of available Accessibility_Role values.
3752 * cspi/spi_accessible.c:
3753 Re-ordered role names.
3755 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3757 * idl/Accessibility_Value.idl:
3758 Revert use of union back to CORBA_double, since the double type is
3759 more efficient and can contain the other types without loss of
3762 * idl/Accessibility_Accessible.idl:
3763 Added method Accessibility:Accessible:getRoleName, to complement
3764 Accessibility:Accessible:getRole.
3766 * cspi/spi_accessible.c:
3768 Added C binding for above, Accessible_getRoleName (), and changed
3769 signature of Accessible_getRole () to return an AccessibleRole.
3771 * cspi/spi-roletypes.h:
3772 Changed AccessibleRole_getName to return a char * instead of a
3773 const char *. This method is now at least temporarily deprecated
3774 in favor of asking Accessibles for their RoleNames directly.
3777 Revert to match Accessibility_Value.idl;
3781 Change signature of AccessibleValue methods to use double rather
3785 * cspi/spi_accessible.c:
3786 Changed Accessible_getRole to return an AccessibleRole enum rather
3787 than a UTF-8 string. The UTF-8 string can still be obtained via
3788 AccessibleRole_getName ().
3790 * test/test-simple.c:
3791 Add test_action. Small fixup to match API change to Accessible_getRole.
3794 Bugfix for get_action_from_servant ().
3796 2001-12-11 Michael Meeks <michael@ximian.com>
3798 * libspi/libspi.h: remove registry.h and
3799 desktop.h, deviceeventcontroller.h
3801 * libspi/Makefile.am: remove registry.[ch],
3802 desktop.[ch], deviceeventcontroller.[ch]
3804 * registryd/Makefile.am: add registry.[ch],
3805 desktop.[ch], rename registryd.c to registry-main.c.
3806 add deviceeventcontroller.[ch]
3808 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3811 Replace setenv() call with putenv ().
3813 * libspi/component.c:
3814 Bugfix in AccessibleComponent_getExtents (),
3817 2001-12-11 Michael Meeks <michael@ximian.com>
3819 * libspi/image.c (impl_getImageExtents): impl.
3820 (spi_image_class_init): upd.
3823 (AccessibleImage_getImageDescription): fix daft bug
3826 * test/test-simple.c (global_listener_cb): update
3827 to only quit if not --poke
3828 (main): catch --poke.
3829 (validate_accessible): upd. dumping, call test_image
3832 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
3835 * idl/Accessibility.idl: update all IDL includes.
3837 * idl/*.idl - rename to namespace - this sucks, blame
3838 mjs' bad decision for oafd.
3840 * test/test-simple.c (create_test_window): add more tests.
3841 (create_tree): split this out.
3842 (validate_accessible): bugfix.
3844 2001-12-11 Michael Meeks <michael@ximian.com>
3846 * cspi/bonobo/cspi-bonobo-listener.c:
3847 (cspi_kestroke_listener_unref),
3848 (cspi_event_listener_unref): impl. undoing previous
3849 homenous environment - for Bill.
3851 * cspi/spi_table.c (long_seq_to_array): use
3854 * cspi/spi_main.c: split out all bonoboish bits into
3857 * cspi/spi-impl.h: upd. typedefs.
3859 * cspi/spi_registry.c: update to lowlevel API,
3860 return booleans to indicate success in some places.
3862 * cspi/spi_event.c: update to lowlevel API.
3864 * cspi/bonobo/Makefile.am: add.
3866 * cspi/bonobo/cspi-lowlevel.h: add
3868 * cspi/bonobo/cspi-bonobo.c: add
3870 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
3872 * cspi/Makefile.am: remove spi-listener-impl.[ch],
3873 (SUBDIRS): add bonobo, link in the libs.
3875 * cspi/spi-util.c: kill this file.
3877 * TODO: merge in my bits.
3879 2001-12-11 Michael Meeks <michael@ximian.com>
3881 * test/test-simple.c (test_value, test_table, main):
3882 remove unused variables causing warnings.
3884 * configure.in: cleanup checks - require gail.
3886 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3889 Changed Value interface to use SValue (scalars) rather than
3890 assuming all values are floats. This allows floats, doubles,
3891 longs, shorts, and unsigned values to be manipulated.
3892 Introduced Accessibility:SValue union.
3895 Updated to use new API above, and to work correctly with GValues
3896 of different types in AtkValue.
3899 Updated to use new API above. cspi's API is as yet unchanged.
3902 Updated the Value revision action item.
3904 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3906 * test/test-simple.c:
3907 Added test_table (GtkTreeView widget in test window to follow).
3908 Un-commented test_value, added GtkRange widget.
3909 Added GtkTreeView widget with GtkListStore. It passes regression
3910 test but leaks one SPI object for some reason.
3913 Fixed bug in impl__set_currentValue.
3915 2001-12-10 Michael Meeks <michael@ximian.com>
3917 * cspi/spi_text.c: audit for exception handling,
3918 tolerating NULL object references safely etc.
3920 * cspi/spi_value.c: ditto.
3922 * cspi/spi_table.c (AccessibleTable_getSummary),
3923 (AccessibleTable_getAccessibleAt),
3924 (AccessibleTable_getRowHeader),
3925 (AccessibleTable_getColumnHeader),
3926 (AccessibleTable_getCaption): fix bugs hidden by
3928 (long_seq_to_array): impl.
3929 (AccessibleTable_getSelectedRows),
3930 (AccessibleTable_getSelectedColumns): use it.
3932 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3935 Added a TODO list (rough and short for now).
3937 * cspi/spi_hyperlink.c:
3938 * cspi/spi_hypertext.c:
3939 Fixed macro name typos, and remove use of obsolete macro in
3940 AccessibleHyperlink_getLink.
3942 * cspi/spi_action.c:
3943 * cspi/spi_accessible.c:
3944 * cspi/spi_application.c:
3945 * cspi/spi_component.c:
3946 * cspi/spi_selection.c:
3949 Documentation fixes (removed return values from ref/unref methods).
3951 2001-12-10 Michael Meeks <michael@ximian.com>
3953 * cspi/spi_action.c: audit for exception handling,
3954 tolerating NULL object references safely etc.
3956 * cspi/spi_accessible.c: ditto.
3958 * cspi/spi_component.c: ditto.
3960 * cspi/spi_editabletext.c: ditto.
3962 * cspi/spi_hyperlink.c: ditto.
3964 * cspi/spi_hypertext.c: ditto.
3966 * cspi/spi_image.c: ditto.
3968 * cspi/spi_selection.c: ditto.
3970 2001-12-10 Michael Meeks <michael@ximian.com>
3972 * configure.in: use cspi/libspi.pc.in instead.
3974 * Makefile.am (pkgconfig_DATA): upd. to match.
3976 * test/simple-at.c (report_focus_event): kill hacks around
3977 bad return values, use putenv not setenv
3979 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
3980 fire ChildGone - I killed it.
3982 * libspi/component.c
3983 (impl_accessibility_component_get_extents): remove
3986 * idl/Accessible.idl: kill ChildGone exception.
3988 * cspi/*.[ch]: kill int return from ref / unref.
3990 * cspi/spi_main.c (cspi_object_add_check): fold into
3991 (cspi_object_add): here.
3993 * cspi/spi_component.c (AccessibleComponent_getExtents):
3994 handle exceptions elegantly.
3996 * cspi/spi-private.h (cspi_check_ev_return),
3997 (cspi_return_if_fail): impl.
3999 * cspi/spi_accessible.c: use extensively.
4000 (AccessibleStateSet_equals): add direct compare check.
4002 * cspi/spi_selection.c: tolerate NULL objs, and check
4003 exceptions before return.
4005 * cspi/spi-util.c (cspi_warn_ev): rename to
4006 (cspi_check_ev): this & don't pass ev in; no point.
4008 2001-12-10 Michael Meeks <michael@ximian.com>
4010 * test/test-simple.c: use putenv not setenv
4011 (get_environment_vars): more chatty if you're not using
4014 * test/simple-at.c: do the setenv so more people see the
4017 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4019 * libspi/registry.c:
4020 Changed check of CORBA_environment on notification to be a warning
4021 instead of an error for the moment, since we can recover from this
4022 error when caused by a queued notification from a dead app.
4025 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
4026 used by all current implementors of AtkValue), and coerce to
4027 CORBA_float. (Proper general case fix may require change to Value.idl).
4029 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4033 * cspi/spi_accessible.c:
4034 Documentation fixes: added user_data params to documentation for
4035 listeners and callbacks.
4037 * cspi/spi_accessible.c:
4038 Changed AccessibleStateSet_compare to return a
4039 StateSet rather than return the difference set into a third parameter.
4042 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4045 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
4046 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
4050 Remove subdirectory po from SUBDIRS for now.
4052 * at-bridge/bridge.c:
4053 Beefed up a couple of debug printouts.
4054 One-line fix for signal notification name formatting.
4056 * libspi/accessible.c:
4057 Added assertion to spi_accessible_new ().
4059 * libspi/application.c:
4060 Put #ifdef qualifiers around a printf.
4063 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
4065 * registryd/Makefile.am:
4067 Replaces use of XML_I18N_MERGE_SERVER_RULE with
4068 INTLTOOL_SERVER_RULE macro.
4071 Added an event listener for several ATK signals, for
4072 testing and debugging. Removed a few g_warnings.
4073 Added test output if focussed item implements the Value interface.
4075 * test/test-simple.c:
4076 Added test_value () function (known not to pass at the moment, so
4077 not actually called yet.
4079 2001-12-08 Michael Meeks <michael@ximian.com>
4081 * at-bridge/bridge.c (bridge_focus_tracker),
4082 (emit_eventv): fix the same ref. leak.
4083 (register_atk_event_listeners): don't leak.
4085 * cspi/spi-listener-impl.c (cspi_event): more
4086 protection from client code.
4088 * test/test-simple.c (test_desktop): unref the app.
4090 * test/Makefile.am: upd. TESTS.
4092 * at-bridge/bridge.c (bridge_exit_func): release the registry.
4094 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
4096 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
4098 * cspi/spi_registry.c: constify in strings.
4099 (deregisterGlobalEventListenerAll): don't release the ref.
4101 * cspi/spi.h: start removing redundant / conflicting
4102 gtkdoc comments, making the API readable at a glance :-)
4104 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
4106 * test/keysynth-demo.c (keysynth_exit, main): upd.
4108 * test/simple-at.c (main, simple_at_exit): upd.
4110 * test/test-simple.c (unutterable_horror): kill.
4111 (utterable_normal_derefs): kill.
4112 (main): upd & do a setenv before gtk_init, so that we
4113 can use memprof - and to save the pain of remembering
4114 this, if we're running under memprof - don't exit.
4116 * cspi/spi_main.c (SPI_exit): return exit status
4118 (SPI_event_quit): impl.
4119 (SPI_event_main): simplify.
4120 (cspi_is_gnome_app): kill.
4121 (SPI_init): kill isGNOMEapp arg.
4123 * at-bridge/bridge.c (register_atk_event_listeners):
4124 re-instate the unref.
4125 (bridge_exit_func): don't re-activate the registry,
4126 protect vs. theoretical re-entry, use the
4127 AT_BRIDGE_SHUTDOWN env. var to determine whether to
4128 assert a clean shutdown - for regression tests.
4130 2001-12-08 Abel Cheung <maddog@linux.org.hk>
4132 * configure.in: Comment out dummy i18n support for now,
4133 otherwise it fails to build.
4134 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
4135 EXTRA_DIST. They are missing in tarball.
4137 2001-12-07 Michael Meeks <michael@ximian.com>
4139 * util/magnifier.c: kill bonobo activation reg. race.
4141 * libspi/component.c
4142 (impl_accessibility_component_get_extents): make it match
4145 * libspi/registry.c (_registry_notify_listeners):
4146 re-remove X headers & reconcile conflicts.
4147 (spi_listener_struct_free): bad conflict resolve.
4148 (impl_accessibility_registry_register_application):
4149 more bad merging fixed.
4150 (impl_accessibility_registry_deregister_application): ditto.
4151 (spi_registry_new): ditto.
4152 (spi_registry_init): don't have an applications field.
4154 [ merge fixups2 branch to here ]
4155 2001-12-07 Michael Meeks <michael@ximian.com>
4157 * test/simple-at.c (report_focus_event),
4158 (report_focussed_accessible): remove g_warning debug.
4160 2001-12-07 Michael Meeks <michael@ximian.com>
4162 * test/test-simple.c (validate_tree): comment out some checks.
4163 (test_desktop): app now not registered idly - horay.
4165 2001-12-07 Michael Meeks <michael@ximian.com>
4167 * cspi/spi_registry.c
4168 (registerAccessibleKeystrokeListener): clean, stop it leaking
4169 great swathes of memory, and device event controller references.
4170 ensure we always pass valid sequences.
4171 (deregisterAccessibleKeystrokeListener): ditto.
4172 (generateKeyEvent): upd.
4174 * at-bridge/bridge.c (bridge_key_listener): handle
4175 registry dead exception gracefully.
4176 (bridge_focus_tracker, emit_eventv): free ev.
4178 * test/simple-at.c (report_focus_event): fix polarity.
4180 * libspi/application.c (notify_listeners): kill the ev
4181 argument, and make sure we init the ev we use.
4182 (spi_application_object_event_listener): split out a chunk
4183 (get_atk_object_ref): here & fixup.
4184 (reverse_lookup_name_for_toolkit_event): make const.
4185 (spi_application_toolkit_event_listener): fixup, kill leaks
4188 * at-bridge/bridge.c (register_atk_event_listeners):
4189 don't unref the noop object - causes grief.
4191 * libspi/registry.c: remove the X headers.
4192 turn off the debug churn.
4194 * libspi/accessible.c (spi_accessible_new_return): only
4195 release the ref if we are supposed to [doh]
4197 * test/simple-at.c (report_button_press, report_focus_event):
4198 guard vs. unexpected exit.
4200 * at-bridge/bridge.c (gtk_module_init): prune printf.
4201 (bridge_exit_func): fix app unref.
4203 * libspi/Makefile.am: don't install registry or desktop.h
4205 * libspi/*.h: update includes.
4207 * libspi/application.h: don't include ourself, or
4208 other redundant headers.
4210 2001-12-06 Michael Meeks <michael@ximian.com>
4212 * libspi/accessible.c
4213 (get_accessible_from_servant): impl.
4214 Upd. all CORBA impl.s to use it killing cut and paste.
4216 * cspi/spi_main.c (cspi_cleanup): guard vs. double
4218 (SPI_init): register atexit cleanup handler here.
4220 2001-12-06 Michael Meeks <michael@ximian.com>
4222 * at-bridge/bridge.c (gtk_module_init): g_error on
4223 activation exception
4225 2001-12-06 Michael Meeks <michael@ximian.com>
4227 * at-bridge/bridge.c (gtk_module_init): some sort of
4228 confusing merge clash - reverted.
4229 (bridge_idle_init): ditto.
4231 * test/test-simple.c (main, utterable_normal_derefs):
4232 merge from Bill - somehow not committed.
4234 2001-12-06 Michael Meeks <michael@ximian.com>
4236 * libspi/value.c (spi_value_class_init): upd.
4237 (spi_value_finalize): kill.
4239 * libspi/table.c (spi_table_finalize): kill.
4240 (spi_table_interface_new): upd.
4241 (spi_table_class_init): upd.
4242 (get_table_from_servant): impl.
4243 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4245 * libspi/selection.c (spi_selection_finalize): kill.
4246 (spi_selection_interface_new): upd.
4247 (spi_selection_class_init): upd.
4248 (get_selection_from_servant): impl.
4249 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4251 * libspi/relation.c (spi_relation_finalize): kill.
4252 (spi_relation_class_init, spi_relation_new): upd
4254 * libspi/image.c (spi_image_finalize): kill.
4255 (spi_image_class_init): upd.
4256 (spi_image_interface_new): upd.
4257 (get_image_from_servant): impl.
4258 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4260 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
4261 (spi_hyperlink_finalize): kill.
4262 (spi_hyperlink_new): upd.
4263 (get_hyperlink_from_servant): impl.
4264 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4266 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
4267 (spi_hypertext_finalize): kill.
4268 (spi_hypertext_class_init): upd.
4269 (get_hypertext_from_servant): impl.
4270 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4272 * libspi/editabletext.c (spi_editable_text_finalize): kill.
4273 (spi_editable_text_interface_new): upd.
4274 (get_editable_text_from_servant): impl.
4275 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4277 * libspi/text.c (get_text_from_servant): impl.
4278 All impls - update to use it killing more cut and paste,
4279 also fix bad string returns on duff args ( a somewhat
4280 impossible case to handle - but hey ).
4281 (spi_text_construct): impl.
4282 (spi_text_interface_new): upd.
4283 (spi_text_object_finalize): kill.
4285 * libspi/component.c
4286 (accessibility_component_object_finalize): kill.
4287 (spi_component_class_init): upd.
4288 (get_component_from_servant): impl. helper to kill cut & paste.
4289 (impl_accessibility_component_contains):
4290 (impl_accessibility_component_get_accessible_at_point):
4291 (impl_accessibility_component_get_position):
4292 (impl_accessibility_component_get_extents):
4293 (impl_accessibility_component_get_mdi_z_order):
4294 (impl_accessibility_component_get_layer):
4295 (spi_component_interface_new): upd.
4297 * libspi/action.c (spi_action_finalize): kill.
4298 (spi_action_class_init): upd. inherit from SpiObject.
4299 (spi_action_interface_new): upd.
4300 (get_action_from_servant): impl. helper to reduce cut & paste.
4301 (impl_getKeyBinding, impl_getName, impl_doAction),
4302 (impl_getDescription): Use it everywhere.
4304 * cspi/spi_main.c (get_live_refs): a pointer hash.
4305 (spi_object_hash, spi_object_equal): comment out.
4306 There are issues with CORBA object hashing that need
4309 * libspi/application.c (spi_application_init),
4310 (spi_application_new): upd.
4312 * libspi/accessible.c (spi_accessible_object_finalize): kill.
4313 (spi_accessible_class_init): upd.
4314 s/accessible/object/ in epv methods.
4316 2001-12-05 Bill Haneman <bill.haneman@sun.com>
4318 * at-bridge/bridge.c:
4319 Reorder the bridge initialization into the bridge gtk_module_init,
4320 an immediate call to bridge_register_app, and an idle_add for
4321 register_atk_event_listeners (the only code that *must* wait until
4322 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
4323 the activation, creates the application's Accessible object, and
4324 queues the bridge_idle_init function. Restored call to
4325 Accessibility_Registry_deregisterApplication().
4326 Prior to making this call we obtain a new reference to the
4327 registry, which is a temporary hack that helps us handle apps that
4328 shut down the bonobo mainloop before we get there.
4330 * libspi/registry.c:
4331 Fix string leakage in debug block, and don't segv if a an app
4332 dies before its event notifications have been propagated.
4335 Modify cspi_check_ev() to call g_warning() rather than g_error(),
4336 as stopgap measure until we get proper exception handling when
4337 objects die during or before interrogation.
4341 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
4342 Also changed default value of is_gnome_app to TRUE.
4345 * test/keysynth-demo.c:
4346 Changed use of SPI_init and SPI_event_main to reflect API change above.
4349 Made report_focus_event check the warning value from getName
4350 before reporting on focussed accessible; simplifies handling of
4351 notifications from dead objects.
4353 * test/test-simple.c: (Changes not in this patch since source is
4356 2001-12-05 Michael Meeks <michael@ximian.com>
4358 * registryd/registryd.c (main): protect against
4359 bonobo-activation startup race condition.
4361 * cspi/spi_main.c (cspi_object_add_check): cope
4362 with the exception elegantly.
4364 * idl/Accessible.idl: decl. ChildGone
4366 * libspi/desktop.c (spi_desktop_dispose): impl.
4367 (spi_desktop_class_init): upd.
4368 (spi_desktop_add_application),
4369 (spi_desktop_remove_application),
4370 (abnormal_application_termination): impl.
4371 (impl_desktop_get_child_at_index): re-impl.
4374 (impl_accessibility_registry_deregister_application),
4375 (impl_accessibility_registry_register_application):
4376 kill excessive debug clutter.
4378 * test/test-simple.c (test_misc): test some NULL
4379 tolerance. (main): upd.
4381 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
4382 implements no interfaces - so let's not crash.
4384 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
4386 * libspi/accessible.c (spi_accessible_new_return): impl.
4387 helper to calm the cut and paste, to cope with
4388 NULL AtkObjects effectively and efficiently, and to kill
4389 the referencing bugs.
4391 * libspi/table.c (impl_getAccessibleAt),
4392 (impl_getRowHeader, impl_getColumnHeader): upd.
4394 * libspi/hyperlink.c (impl_getObject): upd.
4396 * libspi/accessible.c
4397 (impl_accessibility_accessible_get_child_at_index): upd.
4399 * libspi/component.c
4400 (impl_accessibility_component_get_accessible_at_point): upd.
4402 * test/test-simple.c (test_editable_text, test_text): impl.
4405 * cspi/spi_editabletext.c
4406 (AccessibleEditableText_insertText): constify.
4408 * test/test-simple.c (focus_me): make more robust.
4410 * libspi/accessible.c: remove some printfs in methods that
4411 we test and work fine, so we can get a clean tree dump.
4413 * test/test-simple.c (validate_accessible),
4414 (validate_tree): make tree dumping pretty too.
4416 * at-bridge/bridge.c (bridge_signal_listener): upd. so
4417 it builds without debug on.
4419 * test/test-simple.c (validate_accessible): fix the most
4422 * cspi/spi_main.c (spi_object_release): leave the nicely
4423 blanked memory around if in debug mode.
4425 * cspi/spi-listener-impl.c (cspi_event): use add_check.
4427 [committed to fixups2]
4428 2001-12-05 Michael Meeks <michael@ximian.com>
4430 * libspi/editabletext.c
4431 (spi_editable_text_class_init): g_type_class_peek_parent,
4432 not interface peek - so we finalize cleanly.
4434 * libspi/accessible.c (spi_accessible_new): kill debug.
4436 * test/test-simple.c (validate_accessible): fix ref.
4437 leak, print strings before freeing them; sigh, comment a
4438 chunk out due to strangeness.
4439 (validate_tree): unref the child after use.
4441 * cspi/spi_component.c (AccessibleComponent_getLayer):
4442 add missing break statement, switch on zlayer not the
4443 uninitialized retval.
4445 * cspi/spi_main.c (cspi_object_add): add assert, local ref
4446 before (possibly re-entering) remote unref.
4448 * test/simple-at.c (main): unref the desktop.
4450 * cspi/spi_accessible.c (cspi_accessible_is_a): move
4453 * cspi/spi_main.c (cspi_accessible_is_a): here to
4454 isolate bonobo API usage more.
4456 * libspi/registry.c (impl_accessibility_registry_register_application):
4457 prune bogus comment.
4459 2001-12-04 Michael Meeks <michael@ximian.com>
4461 * test/test-simple.c (validate_tree): upd.
4462 IndexInParent check to make it more lucid.
4463 (validate_accessible): dump the tree.
4465 * libspi/accessible.c (de_register_public_ref),
4466 (get_public_refs): impl.
4467 (spi_accessible_new): make more efficient & intuitive.
4468 Now IndexInParent check works.
4470 2001-12-04 Michael Meeks <michael@ximian.com>
4472 * cspi/spi-util.h: remove.
4474 * cspi/spi.h: move SPI_freeString here
4476 * libspi/component.c (impl_accessibility_component_get_layer):
4478 (impl_accessibility_component_get_mdi_z_order): ditto,
4479 return -1 on error - is this ok ?
4481 * test/test-simple.c (test_application): impl.
4483 * cspi/spi_accessible.c (Accessible_getApplication),
4484 (Accessible_isApplication): impl.
4486 * libspi/registry.c (spi_listener_struct_free): release
4487 the CORBA reference too.
4489 * libspi/accessible.c
4490 (impl_accessibility_accessible_get_parent): fix ref leak.
4492 * libspi/registry.c (spi_registry_new): make the registry
4493 immortal - we don't want it to go away ever.
4495 * libspi/application.c
4496 (spi_accessible_application_finalize): impl. cleanup.
4498 * cspi/spi_registry.c
4499 (deregisterGlobalEventListenerAll),
4500 (deregisterGlobalEventListener),
4501 (deregisterAccessibleKeystrokeListener): fix ref leak.
4503 * cspi/spi_main.c (SPI_init): remove redundant ref.
4505 * test/test-simple.c (unutterable_horror): impl. to force a
4510 (impl_accessibility_registry_deregister_application): release
4511 the application when we de-register it.
4513 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
4514 until we have the infastructure to get it right.
4516 2001-12-03 Michael Meeks <michael@ximian.com>
4518 * libspi/Makefile.am: only build eventlistener.[ch]
4520 * libspi/accessible.c
4521 (impl_accessibility_accessible_get_child_at_index): don't leak.
4523 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
4524 before we hit the idle handler.
4526 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
4527 debugging than exit.
4529 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
4531 * libspi/listener.c (impl_notify_event): check source
4532 not NIL before unref.
4534 * libspi/registry.c (impl_registry_notify_event): ditto.
4536 * libspi/eventlistener.c
4537 (impl_accessible_event_notify_event): unref the source.
4539 * libspi/accessibleeventlistener.c
4540 (impl_accessible_event_notify_event): unref the source.
4542 * idl/Event.idl: remove 'hash_id' attribute - of no
4545 * libspi/application.c (notify_listeners): upd list
4547 (spi_application_object_event_listener),
4548 (spi_application_toolkit_event_listener): upd to do correct
4552 (_registry_notify_listeners): update.
4553 (parse_event_type): this method also leaks like a sieve.
4554 (impl_accessibility_registry_deregister_global_event_listener):
4555 fix ETYPE_WINDOW case.
4557 * libspi/application.c
4558 (impl_accessibility_application_register_object_event_listener):
4561 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
4563 * libspi/hypertext.c (impl_getLink): ditto.
4565 * cspi/spi_main.c (cspi_object_add): remove
4566 bogus CORBA_Object_duplicate.
4568 * cspi/spi-listener-impl.c (cspi_event): dup/ref
4571 * cspi/spi_accessible.c
4572 (Accessible_getRelationSet): fix leak / referencing issue.
4574 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
4575 (cspi_object_add, cspi_object_unref): upd.
4576 (spi_object_release, get_live_refs): impl.
4577 (cspi_cleanup): simplify.
4579 * *.[ch]: s/boolean/SpiBoolean/
4581 * cspi/spi_accessible.c (role_names): actualy order so it
4582 corresponds with the enum !
4584 * test/test-simple.c (test_roles): check some role strings
4585 vs. enums to detect offset errors.
4587 2001-12-01 Michael Meeks <michael@ximian.com>
4589 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
4591 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
4593 (Accessible_getChildAtIndex): use cspi_add_check so we
4594 check the ev before using a (possibly) invalid value.
4596 * libspi/accessible.c
4597 (impl_accessibility_accessible_get_parent): don't segv
4600 * at-bridge/bridge.c (gtk_module_init): upd.
4601 (bridge_property_event_listener): don't leak strings
4603 (bridge_state_event_listener),
4604 (bridge_property_event_listener): don't use a static
4605 buffer in case of recursive event emission &
4606 re-enterancy - split out the swathe of cut and paste
4608 (emit_eventv): and fix 2 ref leaks here & comply to the
4610 (bridge_register_app): rename to
4611 (bridge_idle_init): this and kill arg parsing, split
4612 various inits & bonobo-activation registration to module
4613 init time, kill referencing error.
4614 (bridge_exit_func): fix the same leak.
4615 (bridge_focus_tracker): don't leak event structures
4617 (bridge_signal_listener): more leakage and cut & paste
4619 (bridge_key_listener): return the result - FIXME is
4620 this polarity correct ?
4621 (accessibility_keystroke_from_atk_key_event): rename
4622 (accessibility_init_keystroke_from_atk_key_event): and stop
4624 (gtk_module_init): return a value - not that it is checked by
4626 (bridge_key_listener): register my horror at casting between
4627 IDL defined structs.
4628 (bridge_get_registry): kill - not used.
4630 * cspi/spi_accessible.c (Accessible_getRole): make return const.
4632 * test/test-simple.c (test_roles): impl.
4633 (test_desktop, validate_accessible, validate_tree): impl.
4635 * cspi/spi_accessible.c (role_names): fixup bogus
4636 MAX_ROLES setup, make constants const for efficient linkage
4637 (AccessibleRole_getName): conform to coding style, make
4640 2001-11-30 Michael Meeks <michael@ximian.com>
4642 * cspi/spi.h: add missing prototype.
4644 * libspi/registry.c (spi_listener_struct_new): fix sig.
4646 * test/Makefile.am: add test-simple
4648 * test/test-simple.c: add
4650 * test/test.sh: add.
4652 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
4654 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
4655 do it straight - since otherwise we often get an activation race.
4657 [ work before Bill duplicated a chunk of it ... ]
4658 2001-11-30 Michael Meeks <michael@ximian.com>
4660 * libspi/keystrokelistener.c
4661 (spi_keystroke_listener_class_init): fixup arg
4664 * libspi/eventlistener.c
4665 (spi_event_listener_class_init): ditto.
4667 * tests/test.sh: add.
4669 * cspi/spi-listener-impl.h: update macros.
4671 * cspi/spi-listener-impl.c
4672 (cspi_event_listener_remove_callback): add
4673 correct pre-conditions.
4675 * cspi/spi_main.c (SPI_exit): guard vs. double
4676 exits, exit the mainloop nicely.
4677 (SPI_event_main): make more sense.
4678 (SPI_init): move the atexit evilness here so we
4679 always do it (yuck).
4680 (SPI_event_main): upd.
4682 * test/simple-at.c: update for listener changes.
4684 * registryd/registryd.c (main): prune kruft.
4686 * libspi/libspi.h: upd.
4688 * libspi/eventlistener.[ch]: rename broken macros.
4690 * libspi/accessibleeventlistener.[ch]: remove.
4692 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
4694 * test/test-simple.c: Add - automated tests.
4696 * cspi/spi-listener-impl.c (cspi_event),
4697 (cspi_key_event): add user_data to invoke.
4698 (cspi_keystroke_listener_finalize): impl.
4699 (cspi_keystroke_listener_class_init): upd.
4702 (createAccessibleEventListener),
4703 (AccessibleEventListener_addCallback),
4704 (createAccessibleKeystrokeListener),
4705 (AccessibleKeystrokeListener_addCallback): upd.
4707 * libspi/deviceeventcontroller.c
4708 (spi_device_event_controller_check_key_event): add public proto.
4711 (impl_accessibility_registry_deregister_global_event_listener):
4712 always init listeners.
4713 (_registry_notify_listeners): yes it is.
4715 * cspi/spi-listener-impl.c (cspi_key_event):
4717 (cspi_event_listener_finalize): impl.
4718 (cspi_event_listener_class_init): hook up.
4719 (event_handler_new, event_handler_free),
4720 (event_list_remove_by_callback): impl.
4721 (cspi_event_listener_remove_callback),
4722 (cspi_keystroke_listener_remove_callback),
4723 (cspi_keystroke_listener_add_callback),
4724 (cspi_event_listener_add_callback): upd.
4726 * libspi/keystrokelistener.c
4727 (keystroke_listener_object_finalize): kill
4728 (spi_keystroke_listener_class_init): upd.
4729 (spi_keystroke_listener_add_callback),
4730 (spi_keystroke_listener_remove_callback): kill,
4732 (impl_key_event): prune drasticaly.
4734 * libspi/eventlistener.c
4735 (spi_event_listener_add_callback),
4736 (spi_event_listener_remove_callback): kill, use
4738 (impl_accessible_event_notify_event): upd.
4739 (spi_event_listener_object_finalize): remove.
4741 * libspi/Makefile.am: use eventlistener.[ch]
4743 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4745 * libspi/registry.c (_registry_notify_listeners):
4746 Changed listener loop iteration to use preferred convention.
4747 Got rid of string memory leaks caused be calling g_strconcat
4748 inside function calls.
4750 * libspi/registry.c (parse_event_type):
4751 Stopped g_strconcat memory leaks, free the g_strsplit return,
4752 g_strdup the split pieces when used, etc.
4754 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4757 Change method 'compare' to return a 'difference set' rather than
4758 taking a StateSet as an out parameter (more Java-friendly).
4760 * idl/Accessible.idl:
4761 Added CORBA struct 'BoundingBox', to faciliate API changes below:
4763 * idl/Component.idl:
4765 Changed methods 'getExtents' and 'getImageExtents' in these
4766 interfaces to return a BoundingBox structure.
4767 (getPosition and getSize are redundant and possibly should be
4768 removed, rather than creating a corresponding Point struct.)
4770 * cspi/spi_component.c:
4771 Modify implementation of getExtents to reflect the above IDL
4776 Add (missing) AccessibleImage_getExtents () API.
4778 * docs/reference/cspi/at-spi-cspi-sections.txt:
4779 Added AccessibleImage_getImageExtents () to docs.
4781 2001-12-03 Bill Haneman <bill.haneman@sun.com>
4783 * idl/Component.idl:
4784 Added two methods, getLayer () and getMDIZOrder (), to reflect
4785 the new ATK methods atk_object_get_layer and
4786 atk_object_get_mdi_z_order. (Which arguably should be part of the
4787 AtkComponent API and AtkObject). Also added an enum,
4788 ComponentLayer, for the first method's return value.
4790 * libspi/component.c:
4791 Added implementations for these methods.
4793 * cspi/spi_component.c:
4795 Added cspi binding methods for above,
4796 AccessibleComponent_getLayer() and
4797 AccessibleComponent_getMDIZOrder().
4798 Added cspi enum 'AccessibleComponentLayer'.
4800 * docs/reference/cspi/at-spi-cspi-sections.txt:
4801 Added above methods to docs.
4805 Changed typedef for 'boolean' type (and all references to it) to
4806 SPIBoolean, to avoid keyword clashes with C++.
4809 Changed usages of 'boolean' to SPIBoolean.
4811 * test/keysynth-demo.c:
4812 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
4813 app), except where SPIBoolean is required by the callbacks API.
4815 2001-12-02 Bill Haneman <bill.haneman@sun.com>
4817 * cspi/spi_registry.c:
4818 Removed obsolete X event loop for passive keygrabs (which now
4821 * registryd/registryd.c:
4822 Removed unnecessary call to gdk_init() [cruft]. This also allows
4823 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
4826 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4828 * docs/reference/cspi:
4829 Included docs for SPI_freeString in generated documentation.
4832 Renamed spi_freeString to SPI_freeString, for consistency. Added
4833 documentation for this function.
4836 Renamed spi_freeString to SPI_freeString, for consistency.
4837 Removed obsolete method declaration string_from_corba_string.
4839 * test/keysynth-demo.c:
4840 Small tweak to comments.
4843 Stopped leaking the strings returned from CSPI.
4845 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4847 Merged Michael's branch (see his ChangeLog entries below).
4849 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
4850 bridge is alive, release on exit.
4852 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
4853 Fix type check macro.
4856 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
4859 Added is_gnome_app static, and method cspi_is_gnome_app(),
4860 so we can call the appropriate shutdown routine at exit in SPI_exit.
4862 * cspi/spi_main.c (cspi_object_ref):
4863 Duplicate the corba object passed in, since we're keeping it around.
4865 * cspi/SPI_exit.c, cspi_cleanup:
4866 Moved the releasing of the live refs to its own function, so we
4867 can put it in g_atexit (). Call the appropriate shutdown API
4868 depending on whethe calling client is a gnome app or not
4869 (bonobo_main_quit or CORBA_ORB_shutdown).
4871 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
4872 Unref the listener when this method is called, after
4873 deregistration. Updated the API docs to note this behavior.
4875 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
4876 Bugfixes: Ref the bonobo object when returning a parent or child
4877 reference, or an AccessibleRelation. Generally made sure
4878 BonoboObject refcount is incremented whenever we return an
4881 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
4882 Fixed typo/bug in signal declaration.
4884 * libspi/accessibleeventlistener.h:
4887 * libspi/application.c (spi_application_new):
4888 Fixed leak in initialization.
4891 Remembered to increment bonobo-object refcount when returning
4892 children (applications) from desktop object.
4893 Added (empty) finalize method.
4895 * libspi/deviceeventcontroller.c:
4896 Hold a ref to listeners inside DEControllerKeyListeners.
4897 Added dec_key_listener_free() method. Use prepend instead of
4898 append in key_listener list. Fixed some refcount madness and
4899 leaks in the listener registration/deregistration - deregistration
4900 now calls dec_key_listener_free() on listeners, and on the
4901 temporarily constructed dec_key_listener() used to perform the search/match.
4903 * libspi/hypertext.c (spi_hypertest_finalize):
4904 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
4905 class. Also fixed spi_hypertext_interface_new() and
4906 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
4908 * libspi/hypertext.h:
4909 Removed pointless and duplicate AtkObject pointer from
4912 * libspi/keystrokelistener.c:
4913 Fixed incorrect type of keystroke_listener_parent_class,
4914 renamed keystroke_listener_object_finalize to
4915 spi_keystroke_listener_object_finalize.
4916 Fixed typo in signal declaration
4917 (spi_keystroke_listener_class_init).
4919 * libspi/registry.c:
4920 Added funcsions spi_listener_struct_new() and
4921 spi_listener_struct_free() to help with memory management issues.
4922 We also now use these methods instead of gnew + poking stuff into
4923 the struct, and to decrement listener counts/free the listeners
4924 when deregistering them.
4925 Fix more refcount bugs in getDesktop() and
4926 getDeviceEventController().
4929 De-ref the desktop after enumerating the applications. Explicitly
4930 decrement the refcounts on the created listeners on exit (using
4931 _unref for keystroke listeners, and via the
4932 deregisterGlobalEventListenerAll command for other event
4935 2001-11-27 Michael Meeks <michael@ximian.com>
4937 * cspi/spi-listener.h: fixup enum.
4939 2001-11-27 Michael Meeks <michael@ximian.com>
4941 * cspi/spi-listener-impl.c (cspi_event_listener_new),
4942 (cspi_keystroke_listener_new): Use the cspi variants.
4944 2001-11-26 Michael Meeks <michael@ximian.com>
4946 * test/keysynth-demo.c: fix 2 compile warnings, missing
4949 * test/simple-at.c (report_focussed_accessible),
4950 (report_focus_event, report_button_press),
4951 (check_property_change, is_command_key),
4952 (report_ordinary_key_event, report_command_key_event): upd.
4954 * util/mag_client.h: include pre-requisites.
4956 * libspi/accessibleeventlistener.c
4957 (spi_event_listener_object_finalize): free any lingering
4960 * libspi/keystrokelistener.c
4961 (keystroke_listener_object_finalize): ditto.
4963 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
4964 callbacks, with cspi types.
4966 * cspi/spi_event.c (createAccessibleEventListener): chain to
4967 (AccessibleEventListener_addCallback): here.
4968 (createAccessibleKeystrokeListener): chain to
4969 (AccessibleKeystrokeListener_addCallback): here.
4971 * libspi/keystrokelistener.c
4972 (spi_keystroke_listener_class_init): add signal.
4973 (impl_key_event): emit the event.
4974 (boolean_handled_accumulator): impl.
4975 (marshal_BOOLEAN__POINTER): add, gack.
4977 * libspi/accessibleeventlistener.c
4978 (spi_event_listener_class_init): add signal.
4979 (impl_accessible_event_notify_event): emit the signal &
4980 make the loop efficient.
4981 (spi_event_listener_add_callback): prepend the callback.
4983 * libspi/accessibleeventlistener.h: add an 'event' signal,
4984 decl type on callback.
4986 * libspi/keystrokelistener.h: ditto.
4988 * cspi/spi-listener.h: make methods typesafe and
4989 make them use the new event typedefs.
4991 * test/simple-at.c (report_focussed_accessible):
4992 include mag_client.h
4993 Use *(void *)text_interface not the other thing.
4995 * configure.in: add gtk to registryd bits - since we use
4998 * util/magnifier.c: include libbonobo.h
5000 2001-11-25 Bill Haneman <bill.haneman@sun.com>
5002 * test/keysynth-demo.c:
5003 Turned this into a simple scanning keyboard, to demonstrate the
5004 use of g_timeout_add () as a means of creating timers for
5005 scanning, and the use of GtkStyle for visually indicating when
5006 virtual keyboard elements are selected.
5008 keysynth-demo now listens to any keyboard keys with zero-valued
5009 keycodes (i.e. 'unused' keys) and interprets them as
5012 Reworked the shiftlatch code so that shift-down state isn't held
5013 for long periods (it's only synthesized immediately prior to
5014 the keysynth event it's modifying). Note that shiftlatch in this
5015 demo is a convenience, not intended to take the place of AccessX
5016 which is the better choice for getting 'sticky' modifier keys.
5018 * libspi/deviceeventcontroller.c:
5019 * at-bridge/bridge.c:
5020 * cspi/spi_registry.c:
5021 Removed some debug print stuff, and put other verbosity in #ifdef
5026 Implemented some more of the magnifier IDL for the simple
5027 magnifier: namely, getZoomRegionParams.
5028 Added mag_x and mag_y members to MagnifierData struct, aid of this
5030 Added GtkWindow::realize signal handler to magnifier, to keep it
5031 from receiving keyboard focus from the WM.
5033 2001-11-23 Mark McLoughlin <mark@skynet.ie>
5035 * cspi/spi-private.h: my guess at what michael forgot
5036 before he ran off to NZ :-)
5038 2001-11-23 Michael Meeks <michael@ximian.com>
5040 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
5041 comment out non existant method invoke so we link.
5043 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
5044 use bonobo_exception_get_text for more friendly warnings.
5046 * cspi/spi.c (Obj_Add): move into spi_main & rename
5047 spi_object_add; kill spi.c
5049 * cspi/spi_registry.c
5050 (deregisterGlobalEventListener),
5051 (deregisterGlobalEventListenerAll),
5052 (registerGlobalEventListener): fix exception leaks.
5054 * cspi/spi_main.c (spi_exception): impl. helper, so we
5055 don't leak exceptions.
5057 * cspi/spi_selection.c
5058 (AccessibleSelection_deselectSelectedChild): return the
5061 * cspi/spi_main.c (spi_ev): impl; hack - gack.
5062 (spi_registry): ditto.
5063 (SPI_init): guard against double inits.
5065 * cspi/*.c: use spi_ev (), and spi_registry () where
5066 appropriate - a temporary hack until we have something
5067 better. Use spi_object_add
5069 2001-11-22 Michael Meeks <michael@ximian.com>
5071 * cspi/Makefile.am: re organise, install the headers.
5073 * cspi/*.h: add G_BEGIN/END_DECLS
5075 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5078 Added non-preemptive keylistener for key events with no modifiers
5079 and shift-only modifier.
5081 * libspi/keystrokelistener.c:
5082 Removed some verbose diagnostics printout.
5084 * cspi/spi_registry.c:
5085 Fixed a bug that caused all key listeners to be registered as
5088 * libspi/deviceeventcontroller.c:
5089 Fixed bug that caused XGrabKey (preemptive key grab) to be called
5090 for non-preemptive key masks.
5093 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5095 * docs/reference/idl/at-spi-idl-docs.sgml:
5096 * docs/reference/idl/at-spi-idl-sections.txt:
5097 * docs/reference/idl/at-spi-idl-overrides.txt:
5098 Added missing files.
5100 * docs/reference/Makefile.am:
5101 removed idl from SUBDIRS until we can figure a way to get gtk-doc
5102 to scan the IDL files :-(
5107 Added .cvsignore files.
5109 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5111 * libspi/deviceeventcontroller.c:
5112 * libspi/keystrokelistener.c:
5114 * cspi/spi_registry.c:
5115 Added filters for KeySets, KeyEventSeq, and event types to key
5116 event dispatching, so listeners should only receive those events
5117 that they requested :-)
5119 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5124 * docs/reference:Makefile.am:
5125 * docs/reference/cspi:
5126 * docs/reference/cspi:Makefile.am:
5127 * docs/reference/cspi:tmpl:
5128 * docs/reference/cspi:tmpl:*.sgml:
5129 * docs/reference/idl:
5130 * docs/reference/idl:Makefile.am:
5131 * docs/reference/idl:at-spi-idl-sections.txt:
5132 * docs/reference/idl:at-spi-idl-docs.sgml:
5133 * docs/reference/idl:tmpl:
5134 * docs/reference/idl:tmpl:*.sgml:
5136 Restructured docs directory to allow separate 'reference' docs
5137 section, and forked idl and cspi docs. Added the sgml template
5138 files to CVS. Added the first sections/structural sgml for the
5141 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
5143 * configure.in, libspi/Makefile.am: find libXtst.
5145 2001-11-21 Michael Meeks <michael@ximian.com>
5147 * test/accessx-gui.c: s/spi_value/value/ - doh.
5149 * libspi/base.[ch]: add.
5151 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5153 * idl/Accessible.idl:
5154 * idl/Application.idl:
5157 Started gtk-doc cleanup on IDL.
5159 * libspi/deviceeventcontroller.c:
5160 Added and connected non-preemptive key notification from the
5161 toolkits (in addition to the pre-emptive support from XServer
5162 which we had before, but which causes 'focus flashing'). Filters
5163 are presently limited to key modifiers and global/non-global,
5164 KeySets are presently ignored, as are KeyEvent masks.
5166 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
5167 structs into the persistant structure rather than just storing
5168 pointers to things that might not persist across servant
5171 The XGrabKey call now does async keygrabs, because synchronous
5172 ones were deadlocking with GDK_event code in a very nasty way.
5174 Added boolean to internal method notify_keylisteners, to indicate
5175 whether the event came from the 'toolkit source' or the 'global
5176 (XServer) source' - this is used in the notification process to
5177 determine which listeners to send the event to.
5179 deviceeventcontroller.c is now warning-free.
5181 * libspi/registry.c:
5182 Fixed regression in application de-registration.
5183 Also fixed some really brain-dead weirdness having to do with
5184 event dispatching - event structs are now duplicated before being
5185 re-marshalled in the dispatch to listeners. This also fixes a
5186 Solaris build problem.
5189 2001-11-20 Michael Meeks <michael@ximian.com>
5192 (impl_accessibility_registry_deregister_global_event_listener):
5195 * libspi/deviceeventcontroller.c
5196 (spi_device_event_controller_check_key_event): return
5197 FALSE on no virtual method.
5199 * libspi/*..h: make includes work on a correctly pathed install.
5201 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
5203 * libspi/application.h: kill unused ( and whacked out )
5204 gboolean *spi_application_set_id (AtkObject *app, long id);
5206 2001-11-20 Michael Meeks <michael@ximian.com>
5208 * libspi/*.[ch]: further convert to bonobo's type func
5209 macros, remove redundnant casts etc.
5211 * libspi/text.c s/accessibility_text/spi_text/g,
5212 re-order to de-cruft.
5214 * libspi/hypertext.c: re-order to kill a huge slew
5215 of redundant forward decls.
5217 * libspi/relation.c: ditto.
5219 * libspi/image.c: ditto.
5221 * */.cvsignore: update
5223 2001-11-20 Michael Meeks <michael@ximian.com>
5225 * libspi/deviceeventcontroller.c
5226 (_controller_register_with_devices): use g_getenv,
5227 kill stdlib.h include.
5229 * libspi/keystrokelistener.c
5230 (spi_keystroke_listener_get_type): kill
5231 (spi_keystroke_listener_class_init),
5232 (spi_keystroke_listener_init): rename to this.
5234 * libspi/text.c (impl_getAttributes): fix warning / bug.
5236 * libspi/*.[ch]: more headers, includes and over commenting.
5238 2001-11-20 Michael Meeks <michael@ximian.com>
5240 * libspi/*.[ch]: fixup headers, includes and over commenting.
5242 * libspi/image.c (impl__get_imageDescription): const
5243 correctness warning fix. remove redundant casting.
5245 * libspi/table.c (impl_getRowDescription): ditto.
5246 (impl_getColumnDescription): ditto.
5248 * libspi/libspi.h: add.
5250 2001-11-19 Michael Meeks <michael@ximian.com>
5252 * libspi/editabletext.c (impl_setAttributes): fix warnings.
5254 * libspi/component.c (accessibility_component_get_type):
5255 rename to (spi_component_get_type): and macroify.
5256 (accessibility_component_init): rename to
5257 (spi_component_init): this
5258 (accessibility_component_class_init): rename to
5259 (spi_component_class_init): this
5261 * libspi/action.c (spi_action_get_type): kill, use the macro.
5263 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
5266 * libspi/application.c (spi_application_object_event_listener),
5267 (impl_accessibility_application_register_object_event_listener):
5268 warning fixes / const understanding updates.
5270 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
5273 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5275 * libspi/spi_accessible.c: Added docs and C bindings for
5276 AccessibleStateSet. (No implementations yet). Documentation
5277 coverage for C bindings now 100%. Made docs for event listeners
5282 boolean notifyListenersSync (in DeviceEventListener listener,
5283 in DeviceEvent event);
5285 oneway void notifyListenersAsync (in DeviceEventListener listener,
5286 in DeviceEvent event);
5288 Added DeviceEventListener and DeviceEvent structs (may deprecate
5289 KeyStroke and KeystrokeListener in favor of this generic
5290 event/listener framework for devices).
5292 * libspi/deviceeventcontroller.c:
5294 Changed some key listener code to take masks, etc., and paved the
5295 way for integration of toolkit/non-preemptive key events. Changed
5296 signatures of some internal methods.
5298 * at-bridge/bridge.c:
5299 Fixed regression connecting to interface signals, apparently
5300 caused by GTK+ changes.
5302 Added an internal bridge_state_listener to deal with
5303 property-change:accessible-state signals.
5305 Changed the key_listeners GList to store structs (including masks,
5306 etc.) instead of just CORBA_Objects (required for full
5307 implementation of key listener API).
5309 Connected the bridge to all currently supported Atk signals.
5310 Events now supported:
5311 object:property-change
5312 object:property-change:accessible-name
5313 object:property-change:accessible-state
5314 object:property-change:accessible-description
5315 object:property-change:accessible-parent
5316 object:property-change:accessible-value
5317 object:property-change:accessible-role
5318 object:property-change:accessible-table-caption
5319 object:property-change:accessible-table-column-description
5320 object:property-change:accessible-table-column-header
5321 object:property-change:accessible-table-row-description
5322 object:property-change:accessible-table-row-header
5323 object:property-change:accessible-table-summary
5324 object:children-changed
5325 object:visible-data-changed
5326 object:selection-changed
5327 object:text-selection-changed
5329 object:text-caret-moved
5331 object:row-reordered
5333 object:column-inserted
5334 object:column-reordered
5335 object:column-deleted
5336 object:model-changed
5338 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5340 * libspi/hyperlink.c,h:
5341 Fixed some broken stuff in hyperlink.
5343 * libspi/relation.h:
5344 * libspi/relation.c:
5345 * cspi/spi_accessible.c:
5346 Initial implementations of AccessibleRelation methods, and docs.
5348 * libspi/accessible.c:
5349 Fixed a bug that caused SEGV if an accessible
5350 object's description is NULL, and a client
5351 requests it. An empty string is now returned.
5353 * cspi/spi_editabletext.c:
5354 * cspi/spi_hypertext.c:
5356 * cspi/spi_hyperlink.c:
5360 Doc coverage now 95%.
5362 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5364 One last namespacing revision:
5365 * libspi/accessibleeventlistener.[ch]:
5366 Renamed SpiAccessibleEventListener to SpiEventListener,
5367 (no need for two namespaces ;-)
5369 And lots of documentation fixes:
5371 * docs/at-spi-docs.sgml:
5372 Fixed 'underscore vs. hyphen' bug that was preventing
5373 the gtk-doc API docs from being automatically generated.
5376 * cspi/spi-listener.h
5378 * cspi/spi_accessible.c
5380 * cspi/spi_application.c
5381 * cspi/spi_component.c
5382 * cspi/spi_editabletext.c
5384 * cspi/spi_hypertext.c
5386 * cspi/spi_registry.c
5387 * cspi/spi_selection.c
5391 * docs/at-spi-docs.sgml
5392 * docs/at-spi-sections.txt
5394 Added and fixed up gtk-doc documentation in cspi.
5396 Interfaces now (fully) documented (subject to revision and enhancement):
5398 Event Listener Support
5400 AccessibleApplication
5404 AccessibleEditableText
5411 AccessibleRelationSet
5416 2001-11-14 Bill Haneman <bill.haneman@sun.com>
5418 * at-bridge/bridge.c:
5419 Initial work for toolkit-level key snooper connection by bridge.
5424 New typedefs and fixes to support new namespacing, and cleaner
5425 separation of cspi bindings from libspi bonobo implementation.
5426 Removed inconsistent and extraneous Spi* namespace prefix that
5427 had crept into cspi headers.
5428 Lots of comment fixes that sed had missed.
5430 * cspi/spi-roletypes.h:
5431 * cspi/spi-statetypes.h:
5432 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
5433 to AccessibleRoleType.
5435 * libspi/accessibleeventlistener.h:
5436 Fixed minor namespacing weirdness.
5438 * libspi/deviceeventcontroller.c:
5439 Reordered some internal API for device listeners.
5440 Changed the key registry final boolean to 'is_system_global'
5441 rather than 'is_synchronous', which is more descriptive of its
5443 Added spi_device_event_controller_new().
5444 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
5446 * libspi/keystrokelistener.[ch]:
5447 Namespaced KeystrokeListener to SpiKeystrokeListener.
5448 Changed uses of keymasks to use SPI_ prefix, and did other
5451 * libspi/keymasks.h:
5452 Namespaced keymask constants with SPI_ prefix.
5454 * libspi/registry.c:
5455 Some warning fixes, and knock-on fixes from namespace changes.
5458 Added rules for accessx-gui test program.
5460 * test/accessx-gui.c:
5461 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
5462 utility. It doesn't actually use at-spi, but it's still cool and
5465 * test/keysynth-demo.c:
5469 Fixes so that these test clients work properly with the namespaced
5470 libraries. (Incompletely tested for technical reasons, fixes may follow)
5473 2001-11-13 Michael Meeks <michael@ximian.com>
5475 * libspi/application.c
5476 (impl_accessibility_application_get_version),
5477 (impl_accessibility_application_get_toolkit_name):
5479 (impl_accessibility_application_set_id),
5480 (impl_accessibility_application_get_id): remove
5481 redundant casting code.
5483 * libspi/action.c (impl_getDescription): fix warnings.
5485 * libspi/accessible.c
5486 (impl_accessibility_accessible_get_parent),
5487 (impl_accessibility_accessible_get_child_at_index),
5488 (impl_accessibility_accessible_get_state),
5489 (impl_accessibility_accessible_get_relation_set):
5490 warning fixes & include action.h
5492 2001-11-13 Michael Meeks <michael@ximian.com>
5494 * *.[ch] fix bits I screwed up:
5496 s/([^ \tb(\*\&\?\",])spi_/\1/g;
5497 s/([^ \tb(\*\&\?\",])Spi/\1/g;
5499 2001-11-13 Michael Meeks <michael@ximian.com>
5501 * *.[ch] Namespace libspi into spi_ and Spi.
5503 2001-13-11 Michael Meeks <michael@ximian.com>
5505 * Makefile.am: dist & install at-spi-1.0.pc
5507 * libspi/Makefile.am: install into at-spi-1.0
5509 * idl/Makefile.am (idldir): install into at-spi-1.0
5511 * at-spi-1.0.pc.in: add.
5513 * configure.in: build it.
5515 2001-11-12 Bill Haneman <bill.haneman@sun.com>
5517 * test/keysynth-demo.c:
5518 Use a 'realize' signal-handler to set the WM properties for
5519 the virtual keyboard, rather than making it a "POPUP" type
5520 override-redirect window (thanks to anders carlsson for that
5523 2001-11-11 Bill Haneman <bill.haneman@sun.com>
5526 * test/keysynth-demo.c:
5527 Added new test of key synthesis, which creates a simple
5528 (mouse-operated) onscreen keyboard. It inserts key events into
5529 the currently-focused window, thus it does not grab keyboard focus
5532 * cspi/spi_registry.c:
5533 Added C binding for AT-SPI generateKeyEvent.
5535 * libspi/deviceeventcontroller.c:
5536 Added call to XFilterEvent so that key listener works with XIM (we
5537 hope). Added event_synth_type to generateKeyEvent, so that we can
5538 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
5539 synthesize a press/release pair for KeySyms.
5541 2001-11-09 Bill Haneman <bill.haneman@sun.com>
5543 * libspi/Makefile.am:
5544 * registryd/Makefile.am:
5545 (temporary) hack to include libXtst in libspi and registryd.
5546 (Needed for keystroke synthesis, see below).
5549 Improved API for registerKeystrokeListener, in accordance with
5550 discussions with Gnopernicus team and X server research.
5552 * libspi/registry.c:
5553 * libspi/deviceeventcontroller.c:
5554 * libspi/accessible.c:
5555 * libspi/keystrokelistener.c:
5556 Changes and fixes to support keylisteners for potentially
5557 consumed key events (that is, 'passive grabs').
5558 Added implementation for generateKeyEvent() [untested].
5561 Changes to registerKeystrokeListener() API, as above.
5562 Added deregisterGlobalEventListenerAll(), and
5563 deregisterKeystrokeListener(), which are needed for clean exit of
5565 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
5566 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
5568 * cspi/spi_registry.c:
5569 Added implementations of function prototypes mentioned above.
5571 * registryd/registryd.c:
5572 Added the key listener event source as a g_timeout(), to allow
5573 receipt of key events that are not caught by GDK (since GDK
5574 doesn't support passive keygrabs, this was necessary).
5577 Changed to attach a keylistener to 'Alt' keys, and
5578 respond to the following keycommands: Alt-M (toggle magnifier);
5579 Alt-F (toggle speech); Alt-Q (quit).
5580 Added an exit routine to deregister the listeners, and a key
5581 listener that prints some key info to the console when a key
5582 matches the listener mask (and is thus received by the listener).
5584 * util/idl/Magnifier.idl:
5585 Changes to magnifier API to support multiple zoom regions,
5586 non-uniform scaling in x and y, markDirty, and a host of other
5587 features that would be useful to magnification.
5590 * util/mag_client.c:
5591 * util/mag_client.h:
5592 * util/mag_control.c:
5594 Source code changes to support the above IDL changes.
5597 As above, and also changes to use a (slower) generic conversion
5598 path for colormap conversions, since the fast RGB conversions have been
5599 reported to fail for 16-bit displays.
5601 2001-10-26 Michael Meeks <michael@ximian.com>
5603 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
5605 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
5607 * at-bridge/Makefile.am: fix LDFLAGS.
5609 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5611 * at-bridge/bridge.c:
5612 Re-worked listeners for toolkit events, now we have signal
5613 and property listeners. Added a private method
5614 register_atk_event_listeners(), which registers with the
5615 various atk and gtk signals we need to monitor in order to emit
5617 Added emission hook for AtkObject:property-change events, to
5618 support the 'property listeners'.
5619 Fixed some alloc()s of Accessibility_Event structs to use CORBA
5622 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
5623 which emit warnings and exit, respectively, if CORBA errors occur
5624 during remote calls, and we now use these methods to check most of
5625 our CORBA calls in the C bindings.
5627 * cspi/spi_accessible.c:
5628 Changed AccessibleSelection_refSelectedChild() to
5629 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
5630 now increment refcounts.
5632 * cspi/spi_component.c:
5633 Fixed some long pointer casts (dangerous!) to pass pointers to
5634 CORBA_longs of the proper type to the CORBA stubs, and copy the
5635 data into the longs that were passed into the C bindings code.
5637 * at-bridge/bridge.c:
5639 * libspi/accessible.c:
5640 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
5641 hyperlinks, AtkHyperlink is an object type.
5643 * libspi/application.c:
5644 Added various conversions to and from "generic" event types and
5645 atk-specific types; this is really part of the 'bridge'
5646 implementation but is valid for all AtkObject-based accessibility
5649 * libspi/editabletext.c:
5650 Fixed nasty bug wherein editable text's finalize method was
5651 unref'ing tha AtkObject reference that the text parent class was
5652 about to unref _again_. There was also a nasty inheritance bug
5653 that meant that the AccessibleEditableText class was corrupt.
5655 * libspi/selection.c:
5656 Provided implementations for some selection API that was broken.
5658 * idl/Application.idl:
5659 Added registerObjectEventListener () method.
5662 Fixed a number of return values that were Bonobo_Unknowns from
5663 bonobo_object_corba_objref(), which I
5664 forgot to dup before returning. Changed instances of
5665 bonobo_object_corba_objref (bonobo_object(o)) to
5666 BONOBO_OBJREF(o), for concision and clarity.
5668 2001-10-13 Louise Miller <louise.miller@sun.com>
5670 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
5671 idl/Event.idl, idl/Registry.idl
5672 Changed these files to include Bonobo_Unknown.idl instead
5675 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
5677 * libspi/component.c libspi/component.h:
5678 Fixed typo. Added assertions for object checks in
5679 AccessibleComponent code.
5681 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5683 * idl/Accessible.idl:
5684 Added 'isEqual (Accessible *object)'
5685 method for Accessible. (Not Yet Implemented).
5688 Changed signature of registerKeystrokeListener() to
5689 take a KeySet and KeyEventSeq so that specific keys and event
5690 types could be requested for monitoring, and added a flag
5691 is_synchronous so that either synchronous or asynchronous
5692 notification could be requested. (However this is not all
5693 implemented yet). This also meant adding two new typedefs,
5694 KeyEventSeq and KeySet.
5697 Added two new relations, RELATION_TOOLTIP_FOR and
5698 RELATION_LEAFNODE_OF.
5701 Added new state, STATE_HAS_TOOLTIP.
5703 * libspi/text.c, editabletext.c:
5704 Added new assertions to all casts of bonobo-objects from
5705 CORBA servants, to prevent Text API calls on non-text objects.
5706 Changed suspect casts of int-pointer types, so that we
5707 always send a valid CORBA_long pointer to the CORBA APIs that use
5708 in/out long parameters. We then have to copy from the CORBA_long
5709 into the regular long or int for return to the C bindings, or
5710 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
5713 * libspi/deviceeventcontroller.c:
5714 Cleaned these sources up.
5716 Changed return type for getCharacterAtOffset to
5717 CORBA_unsigned_long, to allow for 32-bit characters.
5720 2001-10-08 Bill Haneman <bill.haneman@sun.com>
5724 Fixed 'make dist' so that distro compiles...
5725 * libspi/keymasks.h:
5727 * cspi/spi-listener.c:
5728 KeystrokeListenerCB now returns a boolean.
5730 Added KeyEventType struct, and KeyStroke.
5731 Also added createKeystrokeListener(),
5732 KeystrokeListener_addCallback(),
5733 KeystrokeListener_removeCallback(), and added a keymask to
5734 registerKeystrokeListener().
5735 * cspi/spi_accessible.c:
5736 Changed numerous return types for interfaces from
5737 AccessibleComponent to Accessible<InterfaceName>; this was
5738 probably a cut-and-paste error.
5740 Implementations of new KeystrokeListener api (from spi.h,
5743 Changes to key modifier mapping.
5744 Created ControllerEventMask struct.
5745 Made DeviceEventController derive from Bonobo::Unknown.
5747 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
5748 * libspi/deviceeventcontroller.c:
5749 Added a number of new internal (private) methods.
5750 * libspi/editabletext.c:
5751 * libspi/editabletext.h:
5752 Fixed a number of bugs related to the fact that
5753 editabletext inherits from text. Fixed the EditableText struct,
5754 the init() call, and use correct casts when calling Text methods
5755 from an EditableText object. Removed (duplicate) atko from the
5756 EditableText structure, we use the one in the parent Text
5757 structure via the casts mentioned above.
5758 * libspi/keystrokelistener.[ch]:
5759 * libspi/registry.c:
5760 Changes in support of keyboard handling (above).
5762 Keyboard handling, though partly functional, is still not
5763 recommended for at-spi client use as there is considerable
5764 work yet to be done.
5767 Changed some places where pointers to various int types
5768 are cast to be pointers to CORBA_long types and vice-versa:
5769 pointer casting is not safe so we pass pointers of the correct
5770 types and then cast the result before putting it into the target
5773 * libspi/text.h: minor typos corrected.
5775 We now speak not only the name of a Text element, but the
5776 first sentence of its content, when it receives focus.
5777 I also changed the text compression to 75% from 50%.
5778 * util/Accessibility_Util.server.in:
5779 Changed the default magnifier type to be a 3x vertical
5780 splitscreen magnifier (was previously a 2x horizontal one).
5782 2001-10-03 Bill Haneman <bill.haneman@sun.com>
5784 * libspi/keystrokelistener.h:
5785 * libspi/keystrokelistener.c:
5786 Initial functional implementations of KeystrokeListener.
5789 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
5791 Fixed string handling for NULL strings in libspi.
5792 Added spi_freeString to free strings returned by C bindings.
5794 2001-09-30 Bill Haneman <bill.haneman@sun.com>
5796 * libspi/keystrokelistener.h:
5797 * libspi/keystrokelistener.c:
5798 Began (no-op) implementations of KeystrokeListener
5800 * libspi/deviceeventcontroller.c:
5801 * libspi/deviceeventcontroller.h:
5802 Began creating implementations of DeviceEventController,
5803 to handle keystroke and mouse event listening and
5805 * libspi/accessible.c:
5806 Stubbed-in the implementations for
5807 Accessibility_Accessible_getState and
5808 Accessibility_Accessible_getRelationSet.
5809 * libspi/registry.c:
5810 Improved de-registration process and fixed some bugs,
5811 deregistration now works correctly.
5813 Added initialization of applications list (to NULL).
5815 Reduced speech compression from 0.5 to 0.7, for demo.
5816 Changed call to gdk_window_set_decorations()
5817 to gtk_window_set_decorated().
5818 * at-bridge/bridge.c:
5819 Bridge now deregisters when app exits, via
5820 registration of a cleanup function
5821 with the g_atexit() call.
5822 Required making 'app' static, renamed 'this_app'.
5823 Fixed broken use of bonobo_init, passing argv wrongly.
5825 2001-09-27 Bill Haneman <bill.haneman@sun.com>
5829 Created a new directory for
5830 accessibility-related utilities, primarily for
5831 testing and demo purposes, but with possible
5838 Onscreen magnifier utility that
5839 is implemented as a bonobo service.
5841 * util/mag_client.c:
5842 * util/mag_client.h:
5843 Client-side support (simple C bindings)
5844 for Magnification service
5846 * util/mag_control.c:
5847 Client program example for
5848 Magnification service
5850 * util/Accessibility_Magnifier.server.in:
5851 Bonobo-activation file for the
5852 Magnification service.
5855 * util/idl/Magnifier.idl:
5856 IDL defining the bonobo Magnification
5860 Modifications to use the bonobo-activated magnifier
5861 above, in place of trying to connect to an existing
5862 magnifier that uses socket-listening IPC.
5864 If env variable MAGNIFIER is set, a magnifier service
5865 will be started if one does not exist.
5867 2001-09-25 Bill Haneman <bill.haneman@sun.com>
5869 * at-bridge/bridge.c:
5870 applied patch from Marc to build and run
5871 against new glib and gtk+ (seemed like a change
5872 to bonobo_init signature was made ?)
5874 made festival-server support turned off by default.
5875 Added support for a simple magnifier (off by default)
5876 which will be added to a 'util' directory later.
5877 * at-bridge/Makefile.am:
5878 Changed "application.h" header from a 'source'
5879 to a 'dependency' of libat-bridge.
5881 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
5890 Added interface implementation c files to list of
5891 includes so they are included in libcspi.
5894 Changed prototype of AccessibleAction_doAction to return a
5896 Changed prototype of AccessibleTable_getCaption to
5897 return an Accessible.
5898 Changed prototype of AccessibleTable_getSelectedRows
5899 and AccessibleTable_getSelectedColumns to
5900 return a long (returns the number of selected rows
5901 or columns respectively).
5902 Changed name of AccessibleText_refRunAttributes to
5903 AccessibleText_getAttributes.
5904 Changed prototype of AccessibleText_getCharacterExtents to
5905 return a void rather than a boolean.
5906 Added support for a AccessibleCoordType parameter
5907 specifying what type of coordinates are desired.
5908 Added an AccessibleCordType parameter to
5909 AccessibleText_getPointAtOffset.
5911 * cspi/spi_accessible.c:
5912 Added code to return the outstanding interfaces from
5913 Accessible_queryInterface.
5915 * cspi/spi_action.c:
5917 Corrected call to getNActions to call the c binding
5920 * cspi/spi_editabletext.c:
5922 Changed name from setRunAttributes to setAttributes.
5924 * cspi/spi_hyperlink.c:
5926 Changed call to getNAnchors to correctly call the c
5927 binding for an attribute.
5929 * cspi/spi_hypertext.c:
5931 Changed getImageDescription to correctly call the
5932 binding for an attribute.
5934 * cspi/spi_selection.c:
5935 Changed getNSelectedChildren to correctly call the c
5936 binding for the attribute.
5937 Changed refSelectedChild to getSelectedChild.
5941 Changed getCaption to return an Accessible.
5942 Fixed calls which retrieve attributes.
5943 Changed refAt to getAccessibleAt.
5944 Changed getNSelectedRows and getNSelectedColumns to
5948 Changed getCharacterExtents and getPointAtOffset to accept an
5949 AccessibleCoordType.
5951 Changed calls which retrieve attributes.
5952 Changed refRunAttributes to getAttributes.
5957 * idl/Hyperlink.idl:
5958 Changed n_anchors attribute to nAnchors to keep naming
5959 convention consistent.
5962 Made Table inherit from Bonobo::Unknown.
5963 Added nSelectedColumns and nSelectedRows attributes.
5966 Made Value inherit from Bonobo::Unknown.
5968 * libspi/hyperlink.c:
5969 Change for nAnchors attributte name change.
5971 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
5979 Added interface implementation c files to list of
5980 includes so they are included in libcspi.
5983 Changed prototype of AccessibleAction_doAction to return a
5985 Changed prototype of AccessibleTable_getCaption to
5986 return an Accessible.
5987 Changed prototype of AccessibleTable_getSelectedRows
5988 and AccessibleTable_getSelectedColumns to
5989 return a long (returns the number of selected rows
5990 or columns respectively).
5991 Changed name of AccessibleText_refRunAttributes to
5992 AccessibleText_getAttributes.
5993 Changed prototype of AccessibleText_getCharacterExtents to
5994 return a void rather than a boolean.
5995 Added support for a AccessibleCoordType parameter
5996 specifying what type of coordinates are desired.
5997 Added an AccessibleCordType parameter to
5998 AccessibleText_getPointAtOffset.
6000 * cspi/spi_accessible.c:
6001 Added code to return the outstanding interfaces from
6002 Accessible_queryInterface.
6004 * cspi/spi_action.c:
6006 Corrected call to getNActions to call the c binding
6009 * cspi/spi_editabletext.c:
6011 Changed name from setRunAttributes to setAttributes.
6013 * cspi/spi_hyperlink.c:
6015 Changed call to getNAnchors to correctly call the c
6016 binding for an attribute.
6018 * cspi/spi_hypertext.c:
6020 Changed getImageDescription to correctly call the
6021 binding for an attribute.
6023 * cspi/spi_selection.c:
6024 Changed getNSelectedChildren to correctly call the c
6025 binding for the attribute.
6026 Changed refSelectedChild to getSelectedChild.
6030 Changed getCaption to return an Accessible.
6031 Fixed calls which retrieve attributes.
6032 Changed refAt to getAccessibleAt.
6033 Changed getNSelectedRows and getNSelectedColumns to
6037 Changed getCharacterExtents and getPointAtOffset to accept an
6038 AccessibleCoordType.
6040 Changed calls which retrieve attributes.
6041 Changed refRunAttributes to getAttributes.
6046 * idl/Hyperlink.idl:
6047 Changed n_anchors attribute to nAnchors to keep naming
6048 convention consistent.
6051 Made Table inherit from Bonobo::Unknown.
6052 Added nSelectedColumns and nSelectedRows attributes.
6055 Made Value inherit from Bonobo::Unknown.
6057 * libspi/hyperlink.c:
6058 Change for nAnchors attributte name change.
6061 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
6063 implementations-- made server implementations own AtkObject pointers
6064 rather than their respective AtkInterrface pointers to fix
6065 refcounting. AtkHyperlink is still broken.
6067 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6068 * cspi/spi_accessible.c:
6069 Added method Accessible_Role_getName(),
6070 and requisite string array (role_names).
6071 Added conversion string_from_corba_strin() call
6072 to Accessible_getName and _getDescription.
6073 * libspi/accessible.c:
6074 Added implementation for Accessible_getRole()
6076 Added festival support, used if environment variable
6079 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6081 * at-bridge/bridge.c:
6082 Now allocate Accessibility_Event using
6083 Accessibility_Event__alloc() instead of g_new0().
6084 * libspi/accessibleeventlistener.c:
6085 Initialize AccessibleEventListener->callbacks to NULL.
6086 Fixed accessible__event_listener_init() param, changed to
6087 "AccessibleEventListener *" type.
6088 Changed a bonobo_object_release_unref() call to
6089 Accessibility_Accessible_unref().
6090 * libspi/listener.c:
6091 Changed Bonobo_Unknown_unref to (equivalent)
6092 Accessibility_Accessible_unref.
6093 * libspi/registry.c:
6094 Changed bonobo_object_release_unref to
6095 Accessibility_Accessible_unref.
6097 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6100 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
6101 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
6102 spi-util.c spi-util.h
6103 Implementations for C bindings to remaining accessibility
6106 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6109 changed return value of Action from void to boolean to
6110 bring in line with ATK.
6113 Changed getText funcions to return "out" start and end offsets.
6114 Changed getAttributes to take and offset and return the start
6115 and end offset of the attribute run.
6116 Changed getOffsetAtPoint and getCharacterExtents to take an
6117 enum describing whether coordinates are window or screen.
6120 libspi/action.c libspi/action.h libspi/editabletext.c
6121 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
6122 libspi/hypertext.c libspi/hypertext.h libspi/image.c
6123 libspi/image.h libspi/selection.c libspi/selection.h
6124 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
6125 libspi/value.c libspi/value.h
6126 Added server implementations for outstanding ATK interfaces
6127 not yet implemented.
6129 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6132 Added (missing) getName() method.
6133 Made nActions an attribute.
6134 * idl/EditableText.idl:
6135 Changed order of params in setAttributes.
6136 * idl/Hyperlink.idl:
6137 Removed getAnchor, added getURI.
6139 Changed attributes to methods, for efficiency
6140 (so that getting extents can be done in one call)
6141 * idl/Selection.idl:
6142 Changed nSelectedChildren to attribute, and re-indented.
6143 * idl/Table.idl: changed nrows, ncolumns, caption, summary
6145 * idl/Text.idl: reformatted to match our coding style.
6146 (temporarily?) removed getRowColumnAtOffset().
6147 Changed text selection API to support multi-select and
6148 non-contiguous selections, as in ATK.
6149 * idl/Value.idl: changed some methods to attributes.
6151 2001-08-24 Mark McLoughlin <mark@skynet.ie>
6153 * libspi/listener.c(impl_notify_event):
6154 BonoboUnkown_unref the source instead
6155 of bonobo_object_release_unref - the ORB
6156 handles the releasing.
6158 * configure.in: require ORBit-2.3.94 for
6161 2001-08-21 Bill Haneman <bill.haneman@sun.com>
6163 Tagged CVS repository 'EA_1_0'.
6164 * README.EARLY_ACCESS:
6165 Alphabetized acknowledgements list, and
6167 Listed some known dependencies of at-spi.
6169 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6171 * docs/at-spi-docs.sgml:
6172 * docs/at-spi-sections.txt:
6173 * docs/at-spi-overrides.txt: (Added zero-length file)
6174 Documentation improvements - gtk-doc should build
6175 docs for all implemented C bindings now.
6178 * cspi/spi.c: (New file)
6179 * cspi/spi_event.c: (New file)
6180 * cspi/spi_registry.c: (New file)
6181 * cspi/spi_accessible.c: (New file)
6182 * cspi/spi_application.c: (New file)
6183 * cspi/spi_component.c: (New file)
6184 Split spi_main.c into six parts, and included them from
6185 "spi.c". This is a bit of a hack, probably temporary,
6186 but required by gtk-doc, apparently.
6188 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6191 * docs/at-spi-docs.sgml:
6192 * docs/at-spi-sections.txt:
6194 Initial checkins/modifications for gtk-doc generation.
6197 Added (missing) interface query methods to Accessible's C binding.
6199 Added GenericInterface type definition.
6201 Added query for AccessibleComponent interface to focus event handler.
6202 Added printout of bounding box for focussed component.
6203 * libspi/component.c:
6204 Added partial implementation for AccessibleComponent to C binding.
6205 * idl/Application.idl:
6206 * libspi/registry.c:
6207 * libspi/listener.c:
6208 * libspi/application.c:
6209 * libspi/application.h:
6210 Changed "ID" attribute type from string to long.
6212 2001-08-19 Bill Haneman <bill.haneman@sun.com>
6216 Made method naming consistent: methods taking object args
6217 start with uppercase, other methods (except those using
6218 acronyms) start with lowercase. Underscores delimit between
6219 object names and method names:
6220 SPI_init() - uppercase since it starts with an acronym.
6221 getDesktopCount () - lowercase start since no object param0.
6222 Accessible_getName() - uppercase object type name, studlyCaps method
6226 Added gtk-doc documentation for all currently implemented
6227 methods in the C bindings API.
6229 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6231 * Makefile.am : changed build order to build test last.
6234 Changed "createEventListener" to "CreateEventListener".
6235 * libspi/accessibleeventlistener.c :
6236 Bugfix for addition of callbacks.
6237 * test/Makefile.am :
6238 * test/simple-at.c :
6239 Added new test that uses the C bindings API.
6241 * libspi/listener.c :
6242 * libspi/registry.c :
6243 * libspi/accessibleeventlistener.c :
6244 * at-bridge/bridge.c :
6245 Renamed member "target" of Accessibility_Event to "source",
6246 which is more descriptive.
6249 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6253 * cspi/Makefile.am :
6254 Added makefile support for at-spi/cspi directory.
6257 * cspi/spi-listener.h : (NEW FILE)
6258 Added support for/use of spi-listener.h.
6260 C bindings now build successfully, with no warnings.
6261 * libspi/accessibleeventlistener.h : (NEW FILE)
6262 * libspi/accessibleeventlistener.c : (NEW FILE)
6263 * libspi/Makefile.am :
6264 Added new object type "AccessibleEventListener"
6265 which inherits from Listener, and allows attachment
6266 of in-process callbacks (so that a client with a listening
6267 object instance can add functionality to the local
6268 implementation, dynamically).
6270 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6272 * libspi/accessible.c:
6273 Add implementation for get_index_in_parent().
6275 Added #include of "spi-roletypes.h", and
6276 added enumerated type AccessibleCoordType.
6277 Added definition for KeystrokeListener (function type).
6280 * cspi/spi-statetypes.h :
6281 * cspi/spi-roletypes.h :
6283 Added these headers, used by spi.h.
6285 Added code (NOTE: not yet built by make).
6287 2001-08-18 Mark McLoughlin <mark@skynet.ie>
6289 * libspi/Makefile.am: generate imodule
6290 at the same time as other idl compiler
6293 2001-08-17 Bill Haneman <bill.haneman@sun.com>
6294 * libspi/registry.c :
6295 * libspi/application.c :
6296 * idl/Application.idl :
6297 Made registration with toolkit an application method,
6298 which is required since each app has its own toolkit static
6299 environment. Thus the bridge must register for
6300 notification of toolkit events from each application in turn.
6301 Toolkit notifications are now successfully registered for, and
6302 sent to the listening at client.
6304 Changed toolkit event string to use hyphens rather than underscores.
6305 * libspi/listener.c :
6306 listner now gives more info in debug mode - it reports the
6307 name of the event received, as well as the name of the source.
6310 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6312 * libspi/registry.c :
6313 added more implementation for toolkit events.
6314 Fixed bug such that toolkit event registrations
6315 (via atk) use the whole event name string, not
6317 Removed a useless call to an ORBit_ method.
6318 * at-bridge/bridge.c :
6319 Removed unused local sbuf[] variable.
6321 We now register for Gtk:GtkWidget:button_press_event
6322 events as well as "focus:" events.
6324 Add some more API from Registry.idl that was missing,
6325 for keystroke listening, keystroke and mouse event
6326 synthesis, and enumeration of accessible desktops.
6328 2001-08-16 Michael Meeks <michael@ximian.com>
6330 * configure.in: use AM_GLIB_GNU_GETTEXT.
6332 * Makefile.am (SUBDIRS): kill intl.
6334 2001-08-15 Michael Meeks <michael@ximian.com>
6336 * registryd/Makefile.am: s/oaf/server/ relocate info file.
6338 * configure.in: upd.
6340 * configure.in: depend on a recent bonobo-activation that
6341 will find our server files ...
6343 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6345 * libspi/accessible.c : accessible_new() :
6346 Now we add the Component interface via bonobo_object_add_interface,
6347 if the contained AtkObject implements AtkComponent.
6348 * libspi/accessible.h : now include "component.h"
6349 * libspi/component.h :
6350 * libspi/component.c : added files - implementation of
6351 bonobo wrapper object for Accessibility/Component
6352 * libspi/listener.c :
6353 Added test code to check for Accessibility/Component:1.0
6354 interface and report whether it is implemented by the
6356 * libspi/registry.c :
6357 Now we check for not only the hash of the whole event
6358 string before relaying the event, we also check the
6359 "minor" event string (without the detail string).
6360 This allows event listeners to be registered against
6361 all events of a certain major+minor type, or just
6362 against a specific major+minor+detail type.
6363 * libspi/accessible.c :
6364 Added implementations for Accessible:get_parent(),
6365 Accessible:getChildCount(), and Accessible:getChildAtIndex().
6366 * libspi/registry.c :
6367 * libspi/listener.c :
6368 Replaced calls to Accessibility_Accessible_ref() and
6369 Accessibility_Accessible_unref() with
6370 calls to bonobo_object_dup_ref() and
6371 bonobo_object_release_unref(), so that the CORBA object
6372 is dup-ed and released when relayed, as well as the bonobo object.
6374 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6376 * libspi/Makefile.am,
6377 registryd/Makefile.am,
6378 at-bridge/Makefile.am.
6379 test/Makefile.am, configure.in:
6380 reverse previous changes.
6382 * /idl/Image.idl: fix typo.
6384 * test/Makefile.am: put DEBUG_FLAGS
6387 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6389 * test/app.c: use argv[0] instead of
6392 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6394 * libspi/Makefile.am,
6395 registryd/Makefile.am,
6396 at-bridge/Makefile.am.
6397 test/Makefile.am, configure.in:
6398 cleanup, replace individual LIBS/CFLAGS with
6399 AT_COMMON_{LIBS|CFLAGS}.
6403 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6405 * configure.in, libspi/Makefile.am:
6406 Change IDL path checking for bonobo-activation
6409 2001-08-15 Bill Haneman <bill.haneman@sun.com>
6411 * registryd/registry.c : separated event listeners to use
6412 3 separate lists (focus, window, toolkit). Began testing
6413 event names against hashes before relaying events.
6414 * test/at.c : now register for events of type "focus:"
6415 * test/app.c : now generate events of type "focus:"
6416 * at-bridge/bridge.c : register with ATK for focus events,
6417 and we now relay those focus events to any "focus:" listeners.
6418 This now works with the bridge as a GTK_MODULE when running test/at.
6419 * libspi/registry.c :
6420 * libspi/listener.c :
6421 now we ref event sources before propagating, and unref on receipt.
6422 * libspi/registry.c :
6423 some changes to internal structs, to support event typestring hashes.
6424 * text/app.c : changed the way the appname is generated.
6425 * cspi : added directory that will hold the C bindings library for
6426 non-CORBA/bonobo-savvy clients.
6427 * cspi/spi.h : header file that contains the function prototypes for the C binding.
6428 * idl/Component.idl : added in parameter to indicate coord system for
6429 geometry-related calls.
6430 * idl/Hyperlink.idl : added readonly n_links attribute
6431 * idl/Image.idl : changed methods to attributes.
6433 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6435 * at-bridge/Makefile.am: link against
6436 ../libspi/libspi.la instead of -lspi.
6438 * at-spi/test/app.c: include
6439 bonobo-activation.h. Use a default appname
6440 if one is not provided.
6442 2001-08-14 Bill Haneman <bill.haneman@sun.com>
6444 * idl/Registry.idl : temporarily changed register_Application
6445 to oneway, to work around issue with initial registration
6447 * idl/Application.idl : changed attribute "id" from readonly
6448 to read-write, since it needs to be assigned by Registry.
6449 * registryd/registryd.c : added call to set application id
6451 * registryd/registry.c : changed de-registration procedure to
6452 use CORBA_Object_hash() to find matching object ref in application
6453 lists and listener lists.
6454 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
6455 began distinguishing between event types (work in progress).
6457 2001-08-13 Bill Haneman <bill.haneman@sun.com>
6460 * libspi/application.c:
6461 Added implementations for get/set id, get_toolkitName,
6463 * registryd/registryd.c :
6467 Converted from use of OAF to bonobo-activation.
6468 * libspi/desktop.h :
6469 * libspi/desktop.c :
6471 Removed references to atksimpleobject, since base atkobject
6472 implementation now provides functionality we need.
6473 * libspi/atksimpleobject.c :
6474 * libspi/atksimpleobject.h :
6479 * at-bridge/Makefile.am
6480 * at-bridge/bridge.c
6483 Added directory "bridge" and contents, and added dependencies
6484 in Makefile.am/configure.in.
6485 Initial checkin of "at-bridge".
6486 This code is a GTK_MODULE which automatically registers
6487 GTK+ apps with the accessibility registry, using an object
6488 reference to the root ATK object.
6490 2001-08-10 Mark McLoughlin <mark@skynet.ie>
6492 * po/Makefile.in.in: Remove. Again. If this
6493 doesn't get autogenerated - you need to update
6496 2001-08-07 Mark McLoughlin <mark@skynet.ie>
6498 * po/Makefile.in.in: Add. Again.
6500 2001-07-31 Bill Haneman <bill.haneman@sun.com>
6502 * libspi/accessible.c : added support for 'description' property.
6503 * libspi/accessible.c
6505 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
6506 (since the two are now equivalent in libbonobo)
6514 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
6515 Bonobo::Unknown as does Accessibility::Accessible.
6516 * idl/StreamableContent.idl : as above, and replaced internal InputStream
6517 interface with Bonobo::Stream, since it was redundant with it.
6518 (The Stream returned by a StreamableContext object is expected to
6519 implement only a subset of Bonobo::Stream)
6521 2001-07-28 Anders Carlsson <andersca@gnome.org>
6523 * libspi/accessible.c (accessible_object_finalize): Change
6524 g_free to g_object_unref since the AtkObject is a GObject.
6526 2001-07-30 Bill Haneman <bill.haneman@sun.com>
6528 * idl/Accessibility.idl: add new IDL files
6531 * idl/Action.idl: Definitions of actionable UI object
6532 * idl/Component.idl: Definitions of UI component geometry, etc.
6533 * idl/Hyperlink.idl: Defs of hyperlink behavior
6534 * idl/Image.idl: Def of accessible image
6535 * idl/Selection.idl: Definition of UI object with selectable children
6536 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
6537 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
6538 * idl/Text.idl: Interface defs for UI elements with complex textual content
6539 * idl/Value.idl: Definition of UI element that is a value controller or display
6541 2001-07-27 Michael Meeks <michael@ximian.com>
6543 * po/Makefile.in.in: remove autogenerated file from CVS.
6545 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
6548 * idl/Registry.idl: include guard.
6550 * idl/Accessibility.idl: Add, and include all the other IDL
6553 * idl/*.idl: remove mass of pragmas etc.
6555 2001-07-26 Michael Meeks <michael@ximian.com>
6557 * registryd/Makefile.am (registryd_SOURCES): remove
6560 2001-07-27 Mark McLoughlin <mark@skynet.ie>
6562 * libspi/.cvsignore, registryd/.cvsignore,
6563 test/.cvsignore: updated.
6565 * po/Makefile.in.in: gettext update.
6567 2001-07-25 Bill Haneman <bill.haneman@sun.com>
6569 * initial CVS checkin
6571 2001-06-29 Michael Meeks <michael@ximian.com>
6573 * configure.in: add AM_CONFIG_HEADER to gen config.h