1 2003-09-08 Bill Haneman <billh@gnome.org>
3 * configure.in: Revved to 1.3.7.
5 This is the GNOME 2.4.0 release of at-spi.
7 * docs/reference/cspi/Makefile.am:
8 Removed spurious inclusion of 'index.sgml' in the
9 html directory; this was breaking make distcheck and
10 also some other build environments.
12 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
14 * registryd/registry.[ch}:
15 Add queue_handler_id and focus_object to SpiRegistry data structure.
16 (registry_flush_event_queue): If event being discarded is
17 "state-change:focused" store object as focus_object.
18 (registry_start_queue): Remove queue handler and focus object
20 (registry_discard_event): New function which discards a focus event
21 if we had stored focus object in the registry.
22 (registry_queue_event): Add new check that is_queueing is set as this
23 function is reentrant.
24 (registry_filer_event): Add call to registry_discard_event.
26 This resolves issues raised in bug #108664.
28 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
30 * configure.in: Added "bn" to ALL_LINGUAS.
32 2003-09-04 Bill Haneman <billh@gnome.org>
34 * cspi/spi_event.c: Documentation improvements for
35 (SPI_registerAccessibleKeylistener).
37 * docs/reference/tmpl/spi_registry.sgml:
38 Documentation improvements for SpiAccessibleKeylistenerCB.
40 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
42 * configure.in: Added "ro" to ALL_LINGUAS.
45 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
47 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
48 not decremented to zero. Fixes bug #120725.
50 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
52 * configure.in: Added "ja" to ALL_LINGUAS.
54 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
56 * configure.in: Added "is" to ALL_LINGUAS.
58 2003-08-22 Christian Rose <menthos@menthos.com>
60 * configure.in: Added "nl" to ALL_LINGUAS.
62 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
64 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
65 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
67 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
69 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
70 type for unspecified exception.
71 * cspi_streamablecontect): Add include of string.h for memcpy.
72 (stream_release): Correct call to bonobo_object_release_unref
73 (stream_cache_item_free): Correct call to bonobo_object_release_unref
74 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
75 argument of _cspi_expection_throw.
76 * libspi/hyperlink.c: Add include of libspi/action.h:
77 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
78 * libspi/streamablecontent.c: add include of libspi/component.h.
79 * regisrtyd/deviceeventcontroller.c:
80 (spi_dec_translate_mask): Removed unused variable priv.
81 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
82 * registryd/registry.c:
83 (registry_filter_event): Remove unused variable queue_is-empty.
84 (impl_registry_notify_event): Use correct modifier in fprintf call.
86 This fixes compiler warnings reported in bug #120220.
88 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
90 * registryd/registryd.c: Remove this file.
92 2003-08-17 Sanlig Badral <badral@openmn.org>
94 * configure.in: Added mn to ALL_LINGUAS.
96 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
98 * configure.in: Added et to ALL_LINGUAS.
100 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
102 * test/event-listener-test.c: Change active-descendant to
103 active-descendant-changed.
105 2003-08-10 Sami Pesonen <sampeson@iki.fi>
107 * configure.in: Added "fi" in ALL_LINGUAS.
109 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
111 * configure.in: Added "hi" in ALL_LINGUAS.
113 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
115 * configure.in: Revved to 1.3.6.
119 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
121 * registryd/deviceeventcontroller.c
122 (spi_device_event_controller_object_finalize): Fix typo in previous
125 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
127 * registryd/deviceeventcontroller.c
128 (spi_device_event_controller_object_finalize): Fix build on
129 systems without XEvIE.
131 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
133 * acconfig.h, configure.in, registryd/Makefile.am,
134 registryd/devicecontoller.[ch]: Add XEViE support.
136 2003-08-06 Wang Jian <lark@linux.net.cn>
138 * configure.in: Added "zh_CN" to ALL_LINGUAS.
140 2003-08-06 Metin Amiroff<metin@karegen.com>
142 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
144 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
146 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
147 MODIFIER_ALT in correct place.
149 This fixes part of bug #118114.
151 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
153 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
155 2003-07-28 Changwoo Ryu <cwryu@debian.org>
157 * configure.in: Added "ko" to ALL_LINGUAS.
159 2003-07-28 Ole Laursen <olau@hardworking.dk>
161 * configure.in: Added "da" to the commented out ALL_LINGUAS.
163 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
165 * configure.in: Added "sq" to ALL_LINGUAS.
167 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
169 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
171 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
173 * configure.in: updated ALL_LINGUAS list
175 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
177 * configure.in: Added Belarusian to ALL_LINGUAS.
179 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
181 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
183 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
184 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
186 This fixes bug #116949.
188 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
190 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
191 Correct CSPI to SPI in function documentation.
193 This fixes bug #118054.
195 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
197 * configure.in: Added Russian to ALL_LINGUAS.
199 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
201 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
203 2003-07-14 Danilo Šegan <dsegan@gmx.net>
205 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
207 2003-07-10 Joel Brich <joel.brich@laposte.net>
209 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
211 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
213 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
215 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
217 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
218 resources allocated for AccessibleEvent. See cspi_event().
220 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
221 static variable streams to NULL.
223 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
224 Update so that AcessibleEvent_ref will work.
226 This fixes bug #116624.
228 2003-07-06 Jordi Mallach <jordi@sindominio.net>
230 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
232 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
234 * configure.in: Added "fr" (French) to ALL_LINGUAS.
236 2003-07-02 Christian Neumair <chris@gnome-de.org>
238 * configure.in: Added "de" (German) to ALL_LINGUAS.
240 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
242 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
244 2003-07-01 Miloslav Trmac <mitr@volny.cz>
246 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
248 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
250 * configure.in: Added "pl" to ALL_LINGUAS.
252 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
254 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
256 2003-06-30 Bill Haneman <bill.haneman@sun.com>
259 (get_action_from_servant):
260 Removed assertion that action is implemented on an AtkObject.
262 * libspi/hyperlink.c:
264 Aggregate AccessibleAction interface on the hyperlink object if
265 the object implements AtkAction. (This convention is used in
268 2003-06-30 Bill Haneman <bill.haneman@sun.com>
270 * configure.in: Revved to 1.3.5.
272 * registryd/Accessibility_Registry.server.in.in:
273 Marked up appropriate strings for translation.
275 * atk-bridge/bridge.c: Marked a couple of
276 user-visible warnings for translation. Questionable
277 whether they are really useful, but possibly so.
280 2003-06-28 Christian Rose <menthos@menthos.com>
282 * configure.in: Added "sv" to ALL_LINGUAS.
284 2003-06-26 Bill Haneman <bill.haneman@sun.com>
286 * registryd/registry.c:
287 (spi_registry_object_finalize): Unref the deviceeventcontroller.
288 (registry_defer_on_event): Defer focus: events, this is an
289 improvement to the patch for bug #108664.
291 * TODO: Update with 2.4/"Dev Complete" items.
293 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
295 * atk-bridge/bridge.c:
296 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
297 looks up signals once.
298 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
299 if doing registration.
300 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
301 when doing registration.
303 This fixes bug #115014.
305 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
307 * atk-bridge/bridge.c:
308 (atk_bridge_init): Add signal handler for children-changed:remove on
309 root when in a BonoboComponent.
310 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
311 for first toplevel only other incrememt variable toplevels.
312 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
313 application and remove listeners.
314 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
316 (spi_atk_deregister_event_listeners): New function which removes
318 (reinit_register_vars): New fuction which reinitializes variables.
320 This fixes bug #111578.
322 2003-06-13 Bill Haneman <bill.haneman@sun.com>
324 * configure.in: version 1.3.4.
326 * cspi/spi_accessible.c:
327 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
330 2003-06-13 Michael Meeks <michael@ximian.com>
332 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
334 * cspi/spi_main.c (cspi_peek_ev): impl.
336 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
338 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
340 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
342 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
343 SPI_ROLE_AUTOCOMPLETE
345 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
347 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
348 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
350 2003-06-11 Bill Haneman <bill.haneman@sun.com>
352 * libspi/streamablecontent.h:
353 * libspi/streamablecontent.c:
354 New files, provide implementation/wrappers for
355 Accessibility_StreamableContent.
357 * cspi/spi_streamablecontent.c:
358 Connected the C wrappers to the libspi C bindings.
359 (AccessibleStreamableContent_close): New method.
362 (AccessibleStreamableContent_close): New method, needed
363 since we have an "open, [seek], read, close" model in cspi.
365 2003-06-11 Bill Haneman <bill.haneman@sun.com>
367 Fix for #108664; Padraig's revision of my original patch.
369 * registryd/registry.h:
370 Added event queue list, is_queuing, and exit_notify_timeout
371 to the registry struct.
373 * registryd/registry.c:
374 (registry_init): Initialize new struct from registry.h.
375 (impl_registry_notify_event):
376 Filter events before notifying, in case some need to be
378 (registry_filter_event): New,
379 we defer certain incoming events (for instance
380 window:deactivate) because we may wish to hide
381 or reject them based on pending events. This is
382 mostly a workaround for bug #108664.
383 (registry_queue_event, registry_start_queue): New.
384 (registry_defer_on_event): Test event to see if it
386 (registry_reset_on_event): Returns TRUE if the
387 event should cause a queue reset.
388 (registry_discard_on_event): Returns TRUE if the event
389 should cause the previous queue contents to be discarded.
390 (registry_timeout_flush_queue): Flushes the pending event
391 queue if no reset/discard-triggering events have come in
392 within the timeout period.
393 (registry_emit_event): New.
394 (registry_clone_notify_context): New, used when queueing the
395 event notify contexts.
397 2003-06-10 Bill Haneman <bill.haneman@sun.com>
399 * configure.in: Version revved to 1.3.2, lt 0.9.2
400 Incremented ATK required version to 1.3.4.
402 * cspi/spi_registry.c:
403 (SPI_generateKeyEvent):
404 We now pass the keystring along if it's non-null.
406 * registryd/deviceeventcontroller.c:
407 (keysym_mod_mask): New method, returns modifier mask
408 required to generate a keysym from a given keycode.
409 (dec_synth_keysym): New method.
410 (dec_synth_keystring): New method.
411 (dec_get_modifier_state): New method.
412 (dec_lock_modifiers): New
413 (dec_unlock_modifiers): New.
414 (dec_keysym_for_unichar): New, rather brute-force
415 conversion from UCS-4 to X KeySyms. Only works for
416 Latin at the moment, with partial implementations for
417 Greek, Hebrew, and (incomplete) Katakana.
418 (impl_generate_keyboard_event): Now implement
419 "KEYSTRING" synthesis and implement "KEYSYM"
421 (keycode_from_keysym): Improved, passes a returned
422 modmask value now if the corresponding param is non-NULL.
424 Fixes bugs #92143 and #109776.
427 * test/keysynth-test.c:
428 New test program for key synthesis, to confirm fixes for
432 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
434 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
436 * cspi/spi_accessible.c (cspi_init_relation_type_table):
437 Add line for RELATION_POPUP_FOR
439 * docs/reference/cspi/tmpl/spi_relation.sgml:
440 Add relation SPI_RELATION_POPUP_FOR
442 * docs/reference/cspi/tmpl/spi_stateset.sgml:
443 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
445 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
447 * libspi/relation.c (spi_init_relation_type_table):
448 Add line for RELATION_POPUP_FOR
450 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
452 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
453 there are still windows which have not been deleted and emit
454 window:deactivate, if necessary and window:destroy events.
455 This fixes bug #114370. The change on June 5th was not correct.
457 2003-06-09 Bill Haneman <bill.haneman@sun.com>
459 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
462 (SPI_dupString): Allow dup-ing of a string such that it's safe to
464 New methods for client exception handling and interception.
465 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
466 (SPI_exceptionHandlerPop): You guessed it...
467 (SPI_getSourceType): Return the type of object which offended.
468 (SPI_getExceptionCode): Return an enum code telling, possibly,
469 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
470 (SPIAccessibleException_getSource): get the source object for
471 exceptions that come from Accessibles, if SPIExceptionSourceType is
472 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
473 (SPIException_getDescription): New, returns a string description of
474 the problem. [Not yet a stable ABI, strings are not frozen]
476 * cspi/spi-private.h:
477 Added implementation details of opaque SPIException
481 Implementations of above. Also
482 (_cspi_exception_throw): new private method that
483 dispatches exceptions to handlers, called from cspi-bonobo.c
485 * cspi/bonobo/cspi-bonobo.c:
486 (cspi_check_ev): call _cspi_exception_throw.
487 Don't print a warning message if the exception has been
488 handled by _cspi_exception_throw.
490 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
492 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
493 there are still windows which have not been deleted and emit
494 window:deactivate, if necessary and window:destroy events.
495 This fixes bug #114370.
497 2003-06-03 Bill Haneman <bill.haneman@sun.com>
500 (cspi_accessible_is_a): Make non-fatal
501 if the object reference is dead.
503 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
505 * cspi/spi_main.c: #include <stdio.h>
506 * test/simple-at.c: ditto
507 * test/event-listener-test.c: ditto
508 * test/screen-review-test.c: ditto
510 2003-05-30 Michael Meeks <michael@ximian.com>
512 * test/test-simple.c (main): use CORBA_ORB_perform_work
513 instead of an unnecessary linc_ call.
515 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
517 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
518 Add SPI_STATE_INDETERMINATE.
520 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
523 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
525 * libspi/stateset.c (init_state_type_tables): Add support for
528 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
530 * configure: Update versions of atk and gail required.
531 This fixes bug #113268.
533 2003-05-02 Bill Haneman <bill.haneman@sun.com>
535 * configure.in: Revved micro version to 1.3.1 (because of build fix).
537 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
539 * libspi/Makefile.am:
540 Ensure headers are generated before being used by c sources.
542 2003-05-01 Bill Haneman <bill.haneman@sun.com>
545 Simplified lt versioning rules.
546 Incremented version to 1.3.0, to indicate that we're on the
549 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
551 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
552 Add MKDB_OPTIONS=--outtput-format=xml
554 * docs/reference/cspi/at-spi-cspi-docs.sgml
555 docs/reference/idl/at-spi-idl-docs.sgml:
556 Convert to Docbook XML.
558 This fixes bug #111793.
560 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
562 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
563 AcccessibleKeyEventType, AccessibleKeyMaskType.
565 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
567 * cspi/state-types.h: Add documentation for AccessibleState.
569 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
570 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
571 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
572 AccessibleComponentLayer.
574 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
577 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
579 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
580 Accessible. Add description of AccessibleEvent,
581 AccessibleEventListenerCB.
583 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
586 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
587 documentation. Add description of AccessibleKeystrokeListenerCB,
588 AccessibleKeyEventMask, AccessibleModifierMaskType,
589 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
590 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
592 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
595 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
598 This fixes bug #104730.
600 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
602 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
603 Set is_text field of Accessibility_DeviceEvent data structure.
605 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
606 is-text field of AccessibleDeviceEvent data structure.
608 This addresses part of bug #108666.
610 * registryd/devcieeventcontroller.c: Unset debug option.
612 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
615 (cpi_initial_relation_type_table): New function which initializes
616 mapping between Accessibility_RelationType and AccessibleRelationType.
617 (cspi_relation_type_from_spi_relation_type): New function which
618 translates an Accessibility_RelationType into an AccessibleRelationType.
619 (AccessibleRelation_getRelationType): Use
620 cpi_relation_type_get_spi_relation_type to return correct value.
621 (spi_state_to_corba): Return correct type for default case.
623 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
624 Use Accessibility_EventType instead of Accessibility_KeyEventType.
626 * cspi/cspi-bonobo-listener.c:
627 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
630 * libspi/accessible.c, libspi/action.c, libspi/application.c,
631 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
632 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
633 libspi/image.c, libspi/listener.c, libspi/selection.c,
634 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
635 registryd/desktop.c, registryd/registry.c:
636 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
638 * libspi/eventlistener.c
639 Remove semicolon after BONOBO_TYPE_FUNC.
642 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
643 (spi_init_relation_type_table): Initialize using correct type.
645 * registryd/desktop.c:
646 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
647 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
648 of Accessibility_KeyEventType.
650 * test/key-listener-test.c (report_tab_key_event): Use fprintf
653 * tests/simple-at.c, tests/screen-review-test.c:
654 Add include for <strings.h>.
656 * tests.stress-test.c:
657 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
659 These changes fix compiler warnings when using FORTE compiler on
660 Solaris; fixes bug #107479.
663 2003-04-10 Bill Haneman <bill.haneman@sun.com>
666 * configure.in: revved to 1.1.10
669 (SPI_KEYMASK_NUMLOCK): Added.
671 * registryd/deviceeventcontroller.c:
672 (spi_key_event_matches_listener): AND with a smaller
673 bitmask (as we should).
674 (spi_dec_translate_mask):
675 New method, sets the virtual NumLock modifier bit
676 if numlock is on. Eventually it can handle other virtual
677 modifier bits if needed, or other marshalling from
678 at-spi modifier masks to platform (X) masks.
679 (spi_dec_key_listener_new):
680 Call spi_dec_translate_mask to set up virtual mod bits
681 in the 'mask' field when creating a new listener struct.
682 (spi_dec_emit_modifier_event):
683 Set the virtual (i.e. NumLock) bits before emitting event.
684 (spi_controller_register_with_devices):
685 Query for the NumLock modifier 'physical' bit if Xkb is
686 present, for use in above methods.
690 2003-04-10 Bill Haneman <bill.haneman@sun.com>
692 * registryd/deviceeventcontroller.c:
693 (spi_keystroke_from_x_key_event):
694 Instead of checking to see if the keysym is
695 printable, check the string from XLookupString
696 if available, get the first unicode character from it,
697 and call g_unichar_isprint to determine whether the
698 is_text flag should be TRUE or FALSE.
702 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
704 * atk-bridge/bridge.c: Add support for extended events
705 * cspi/spi_event.c: Add documentation and implementation for
707 * tests/event-listener-test.c: Add tests for extended events.
709 This fixes bugs #100424 and #100426.
711 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
713 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
714 of LT_CURRENT. This fixes bug #89350.
716 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
718 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
719 number of signal parameter values before accessing them. This fixes
722 2003-04-01 Bill Haneman <bill.haneman@sun.com>
724 * configure.in: Fixed duplicate inclusion of -lspi.
725 * branched for gnome-2-2/HEAD.
726 [created tag "gnome-2-2"]
728 2003-03-07 Bill Haneman <bill.haneman@sun.com>
730 * configure.in: 1.1.9 release.
733 2003-03-07 Bill Haneman <bill.haneman@sun.com>
735 [needed by GOK, to fix bugs 107985 and 107988]
736 * registryd/deviceeventcontroller.c:
737 (spi_dec_clear_unlatch_pending):
738 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
739 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
740 (spi_dec_init_mouse_listener):Emit warning if mouse button
742 (spi_device_event_controller_forward_mouse_event):
743 Removed unnecessary parens from a conditional.
744 (global_filter_fn):Added TODO comment.
745 (impl_generate_keyboard_event):
746 Cancel a pending relatch if a 'delatching' key was
749 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
751 * atk-bridge/bridge.c:
752 Change atk_signal_child_changed to atk_signal_children_changed.
753 Reorganize code in spi_atk_bridge_signal_listener().
755 * test/event-listener-test.c:
756 Add children_changed_listener and report_children_changed_event()
757 to test AccessibleChildEvent_getChildAccessible.
759 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
761 * cspi/spi_event.c (cspi_internal_event_get_text): Change
762 g_strdup to CORBA_String_dup (bug #105291)
764 * test/event-listener-test.c (report_text_event): Add call to
767 2003-02-28 Bill Haneman <bill.haneman@sun.com>
769 * registryd/deviceeventcontroller.c:
770 (spi_keystroke_from_x_key_event):
771 Fix string and keysym return codes to match modifier state.
774 2003-02-28 Bill Haneman <bill.haneman@sun.com>
776 * registryd/deviceeventcontroller.c:
777 (spi_keystroke_from_x_key_event):
778 Fix segv due to improper use of isprint(c). [bug #107254]
780 2003-02-24 Bill Haneman <bill.haneman@sun.com>
783 (get_accessible_text_boundary_type):
784 Move default return value to (new) default case in switch.
785 (get_accessible_text_clip_type):
786 Move default return value to (new) default case in switch.
788 * libspi/application.c:
789 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
790 Remove unused methods.
791 (impl_accessibility_application_register_object_event_listener):
792 Remove unused methods.
795 Added #include of <math.h>.
797 * registryd/deviceeventcontroller.c:
798 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
799 we don't currently use this method.
800 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
802 (impl_generate_key_event):
803 Remove unused variables.
804 (impl_generate_mouse_event):
805 Initialize button to zero, just in case we get an invalid
806 input. Added support for mouse buttons 4 and 5.
807 (spi_device_event_controller_new):
808 Removed unused variable declaration for 'private'.
810 Added #include of <gdk/gdk.h>
812 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
814 * configure.in: Update to work when X is not installed in expected
815 location. Fixes bug #105836.
817 * atk-bridge/bridge.c
818 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
820 (spi_atk_register_event_listener): Add signal listener for
822 (spi_atk_bridge_signal_listener): Event event when link-selected
823 signal is emitted. (bug #104622)
825 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
826 on returned string. (bug #105291)
828 * test/event-listener-test.c: Add test for link-selected.
830 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
832 * atk-bridge/Makefile.am: Correct typo in previous commit.
834 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
836 * atk-bridge/Makefile.am: Allow for build directory to be different
837 from source directory
839 * registryd/Makefile.am: Allow for build directory to be different
840 from source directory
844 2003-01-29 Bill Haneman <bill.haneman@sun.com>
847 Fixed dependencies for libcspi so that libspi gets pulled in
848 properly. Fixes 104741.
852 Clean up inline docs a little.
854 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
856 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
857 This is done by implementing AtkComponent for SpiAtkDesktop, which is
858 the AtkObject within an SpiDesktop.
859 This addresses bug #101524.
861 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
862 Remove call to gdk_init().
864 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
865 so that Display is set when SpiDesktop is created.
867 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
869 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
870 This fixes bug #102830.
872 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
874 * test/test-simple.c: Update to take account of fact that GailButton
875 now implements AtkText.
876 (create_text_window): Set name on AtkObject for GtkEntry.
877 (validate_accessible): Check accessible name before calling test_text().
879 * libspi/Makefile.am: Fix problem with building outside of source
880 directory. Bug #98120.
882 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
883 typo in documentation comments. Bug #94275.
885 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
887 * libspi/text.c (impl_getBoundedRanges): Bug fix.
889 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
892 Add includes to avoid compiler warnings on Solaris.
893 (impl_getRangeExtents): Bug fix.
895 2002-12-17 Bill Haneman <bill.haneman@sun.com>
897 Fix for 100944, [API addition approved by Gman and murrayc].
904 * idl/Accessibility_Text.idl:
905 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
906 (Text::getRangeExtents): New method for efficient
907 bounds query of a text range.
908 (Text::getBoundedRanges): New method for efficient
909 clipping of text to bounding boxes.
910 (unImplemented7, unImplemented8):
911 Removed these padding methods to preserve bincompat.
914 (impl_getRangeExtents): implementation of new IDL.
915 (impl_getBoundedRanges): implementation of new IDL.
916 (SpiTextRect): Internal use struct.
917 (_spi_text_rect_union): internal method, calculates union of two
918 SpiTextRect bounding rects.
919 (_spi_text_range_seq_from_gslist): internal method, allows us
920 to build our sequence efficiently as a gslist then convert it
922 (_spi_bounds_contain): internal method, determines whether
923 a text character is "in" or "out" of a clip rect according to
924 values of TEXT_CLIP_TYPE.
925 (spi_text_class_init): Initialize the new methods in the epv.
928 (AccessibleTextClipType): New enum used by screen review api.
929 (AccessibleTextRange): New struct used by screen review api.
930 (AccessibleText_getRangeExtents):
931 cspi binding for Accessibility_Text_getRangeExtents.
932 (AccessibleText_getBoundedRanges):
933 cspi binding for Accessibility_Text_getBoundedRanges.
934 (AccessibleTextRange_freeRanges): convenience method.
937 (AccessibleText_getRangeExtents):
938 cspi binding for Accessibility_Text_getRangeExtents.
939 (AccessibleText_getBoundedRanges):
940 cspi binding for Accessibility_Text_getBoundedRanges.
941 (AccessibleTextRange_freeRanges): convenience method.
942 (get_accessible_text_clip_type): internal conversion method.
943 (get_accessible_text_ranges_from_range_seq): internal conversion method.
945 * registryd/deviceeventcontroller.c:
946 (spi_dec_mouse_check):
947 Improved behavior for mouse:abs events
948 [same granularity as mouse:rel events, and no
949 events when mouse is idle].
951 2002-12-16 Michael Meeks <michael@ximian.com>
953 * cspi/spi_accessible.c (spi_state_to_corba): rename.
955 * libspi/stateset.c (state_spi_to_atk): split out
956 ( fix several remote array bounds nasties )
957 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
958 (impl_remove): make safe from array bounds issues.
959 (spi_atk_state_from_spi_state): impl.
961 * libspi/stateset.h (spi_state_set_cache_is_empty):
962 add a set of wrapper defines to get layering right.
964 * cspi/spi_accessible.c: update state set stuff to
967 2002-12-14 Michael Meeks <michael@ximian.com>
969 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
970 to avoid 2 roundtrips to the registry per key event
971 (spi_atk_bridge_key_listener): upd.
972 (deregister_application): release the dec.
974 * registryd/registry.c (notify_listeners_cb):
975 bin lots of re-enterant complexity - we no longer
976 do a round-trip bonobo ref here, ensure that a single
977 listener's exception failure won't poison all other
979 (impl_registry_notify_event): bin obvious memory leak.
981 2002-12-13 Michael Meeks <michael@ximian.com>
983 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
984 init the ev so the error is meaningful.
985 (spi_atk_bridge_key_listener): ditto.
987 * cspi/spi_main.c (cspi_ev): init the ev so we start
988 with a clean slate, otherwise the first exception
991 * cspi/spi_text.c (get_accessible_text_boundary_type):
992 add a fallthrough for no warnings.
994 * cspi/spi_registry.c: prune unused warnings.
996 * cspi/spi_main.c (cspi_object_take): fix
997 mind-blowing brokenness ( by watching the compile
1000 * cspi/spi_accessible.c (Accessible_getStateSet):
1001 re-impl. to use an AtkStateSet.
1002 (spi_state_type_from_accessible_state),
1003 (init_state_table): bin these.
1005 * libspi/stateset.c (spi_atk_state_set_from_sequence):
1007 (atk_state_set_from_accessibility_state_set): here.
1009 * cspi/spi_accessible.c (spi_state_to_atk): impl.
1010 (AccessibleStateSet_contains, AccessibleStateSet_ref),
1011 (AccessibleStateSet_unref, AccessibleStateSet_contains),
1012 (AccessibleStateSet_add, AccessibleStateSet_remove),
1013 (AccessibleStateSet_equals, AccessibleStateSet_compare),
1014 (AccessibleStateSet_isEmpty): re-write to use a local
1017 2002-12-13 Bill Haneman <bill.haneman@sun.com>
1019 * configure.in: Revved to 1.1.7 (new keymask vals).
1021 2002-12-10 Bill Haneman <bill.haneman@sun.com>
1023 * libspi/keymasks.h:
1024 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
1026 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1029 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
1030 to compare two CORBA_TypeCodes.
1031 (cspi_internal_event_add): Silence warning from FORTE compiler.
1033 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
1034 avoid implicit declaration of functions.
1036 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
1038 * atk-bridge/bridge.c:
1039 (spi_atk_bridge_init_event_type_consts): Store signal id for
1040 active-descendant-changed signal.
1041 (spi_atk_register_event_listeners): Add signal listener for
1042 active-descendant-changed signal,
1043 (spi_atk_bridge_signal_listener): Move code in function
1044 spi_atk-signal_emit_event() into this function.
1045 Add support for active-descendant-changed
1046 Update support for child-changed signal.
1047 (spi_bridge_window_event_listener): Silence warning.
1049 * libspi/spi_private.[ch]:
1050 (spi_init_any_object): Change second parameter from CORBA_Object to
1052 Omit call to CORBA_Object_duplicate().
1053 Set CORBA_any's _value to CORBA_Object*.
1055 2002-12-06 Bill Haneman <bill.haneman@sun.com>
1061 (AccessibleEvent_ref, AccessibleEvent_unref):
1062 New methods, for persisting an event outside the emission context.
1063 Must be used if the new accessor methods are to be called
1064 outside of the event listener's callback.
1066 * cspi/bonobo/cspi-bonobo.c:
1067 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
1068 as second parameter instead of NULL, so we can call
1069 cspi_check_ev afterwards.
1072 (cspi_object_take): New internal method,
1073 converts a CORBA_Object reference to a hard ref on
1074 an Accessible if possible, returning NULL if the object
1075 reference is invalid or an Accessible * otherwise.
1078 (AccessibleEvent_ref):
1079 Increment the event's internal private refcount, and
1080 add the event's internal struct to an internal cache
1081 if it's not already there.
1082 (AccessibleEvent_unref):
1083 Decrement the event's refcount and remove it from
1084 the cspi event cache if refcount==0.
1085 (cspi_event_compare): New private method.
1086 Compares two event structs via their ids. Used
1088 (cspi_internal_event_lookup): New private method.
1089 (cspi_internal_event_check): New private method,
1090 a 0-order sanity check for events to make sure their
1091 private data is intact.
1092 (cspi_internal_event_add, cspi_internal_event_remove):
1093 New private methods for managiing the event cache.
1095 * cspi/bonobo/cspi-bonobo-listener.c:
1097 Initialize the new private data elements (id, magic, ref_count).
1099 * atk-bridge/bridge.c:
1100 (spi_atk_bridge_signal_listener):
1101 Fixed bug #100530, passing wrong params to emission func.
1103 * registryd/deviceeventcontroller.c:
1104 (spi_dec_button_update_and_emit):
1105 Fixed type in mask bit operations; fix for #99799.
1107 2002-12-02 Bill Haneman <bill.haneman@sun.com>
1109 Removed some of the more dangerous workarounds from
1110 previous commit; they are only needed by GOK, which
1111 in reality should be using another method to accomplish
1112 the goals. So on reconsideration some of the workarounds
1113 need to be reverted:
1115 * registryd/deviceeventcontroller.c:
1116 (spi_keycodes_contain, spi_dec_init_keycode_list):
1117 Removed these methods, used only by a nasty hack to try
1118 and detect whether a key synthesis should be allowed
1119 to reset the XKB latch state or not. This code was only
1120 required to work around an interaction between GOK,
1121 button events, and XKB.
1122 (impl_generate_key_event):
1123 Removed hack at end of key generation that tried to
1124 "do the right thing" if XKB latch keys were generated
1125 in the midst of button press/release pairs.
1128 Added a check for HAVE_XINPUT. Not normally used yet.
1130 2002-11-25 Bill Haneman <bill.haneman@sun.com>
1132 Workarounds and fixes for mouse event/XKB interaction.
1134 * registryd/deviceeventcontroller.c:
1135 (spi_keycodes_contain, spi_dec_init_keycode_list):
1136 New internal methods.
1137 (spi_dec_set_unlatch_pending):
1138 Split the method that tells XKB to expect an
1139 unlatch (and revert it) out of the rest of the
1140 event handling code. This method is called by the
1141 two mouse event handlers (the poll and the filter).
1142 (spi_dec_update_and_emit, spi_dec_mouse_check):
1143 New methods split from spi_dec_poll_mouse_moved.
1144 The second one is now called from inside the filterFn
1145 when an XKB delatch event is received, to determine
1146 whether to revert the delatch or not.
1147 (spi_poll_mouse_moved): Refactor; also we can now
1148 properly handle the case where multiple button states
1149 have changed between polling cycles and we didn't get
1150 notified due to another client's grab.
1152 Synchronize the server while handling an XKB notification.
1153 Ugly, but apparently necessary to avoid nasty races.
1154 Check the mouse state on receipt of an XKB latch change,
1155 to decide whether to revert the latch or not. (Latches are
1156 reverted if there is an immediately preceding mouse button
1157 event that a client has consumed, in which case we don't want
1158 the user to see the side-effect of the event).
1159 (spi_device_event_controller_forward_mouse_event):
1160 Check for modifier events and fire before resetting mouse_mask_state,
1161 prevents losing modifier events.
1163 (impl_generate_keyboard_event):
1164 If we've just generated a keyboard event for a non-shift key,
1165 we don't want to revert the pending XKB latch.
1166 Otherwise, check the modifier state (via a call to
1167 spi_dev_mouse_check) and set the relatch mask to
1168 that state before returning.
1170 2002-11-24 Bill Haneman <bill.haneman@sun.com>
1173 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
1176 * atk-bridge/bridge.c:
1177 (spi_atk_register_event_listeners):
1178 Don't re-register for ATK events if the registry has died
1179 and the app needs to re-register; the ATK listeners are in
1180 process and doing so will cause duplicate emission.
1182 * registryd/deviceeventcontroller.c:
1183 (spi_poll_mouse_moved):
1184 Reformat the source, detect and emit multiple button-change
1185 events (i.e. if multiple buttons have changed between poll
1187 Add code to detect mouse-down events even when the pointer
1188 is grabbed; workaround for GOK bug 98420.
1189 (spi_controller_register_with_devices):
1190 Call XTestGrabControl with 'impervious' flag set to True,
1191 allows us to synthesize events and query the pointer even during
1192 an active grab by another client.
1193 (spi_device_event_controller_forward_mouse_event):
1194 Set the mouse_mask_state to the mouse_button_state from
1195 the intercepted event, to synchronize the grab listener with
1198 2002-11-20 Bill Haneman <bill.haneman@sun.com>
1200 * cspi/spi_accessible.c:
1201 (AccessibleRole_getName):
1202 Added necessary strings for making this (deprecated)
1203 method work with the new role types.
1204 (init_role_table, role_table):
1205 Added definition of SPI_ROLE_APPLICATION.
1207 * libspi/spi-roletypes.h:
1208 Added SPI_ROLE_APPLICATION.
1210 * idl/Accessibility_Role.idl:
1211 Added ROLE_APPLICATION.
1213 * docs/reference/cspi/at-spi-cspi-decl.txt:
1214 Added SPI_ROLE_APPLICATION to docs.
1216 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
1218 * cspi/spi_accessible.c
1219 (cspi_init_role_table): Do not write beyond end of role_table.
1220 (Accessible_getRole): Use correct type for value returned by
1221 Accessibility_Accessible_getRole().
1223 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
1224 beyond end of role_table. (This fixes bug #98269)
1226 * libspi/application.c: Add include file spi-private.h for
1227 definition of spi_init_any_nil.
1229 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1233 * libspi/spi-private.h:
1234 Added DGB() macro, and extern int _dbg declaration.
1236 * registryd/registry.c:
1237 (definitions) storage for _dbg.
1238 (spi_registry_init):
1239 Get environment variable "AT_SPI_DEBUG".
1240 (spi_registry_set_debug):
1241 New method, to initialize _dbg value.
1242 (spi_listener_struct_new, spi_registry_object_finalize):
1243 (notify_listeners_cb):
1244 Changed fprintfs to use DBG and g_warning().
1246 * registryd/deviceeventcontroller.c:
1247 (_deregister_keygrab, spi_controller_register_device_listener):
1248 Changed debug/warning messages to use DBG macro.
1250 * libspi/listener.c:
1251 (impl_notify_event):
1252 Changed warning messages to use DBG macro and g_warning().
1254 * atk-bridge/bridge.c:
1255 (atk_bridge_init, spi_atk_bridge_get_registry):
1256 (spi_atk_bridge_exit_func):
1257 (spi_atk_bridge_property_event_listener):
1258 Changed status, warning, and error messages to use
1259 g_warning, g_message, and DBG macros.
1262 Read the state of the AT_SPI_DEBUG environment variable
1263 and set a local '_dbg' accordingly.
1265 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1267 FIXES for 98836, 98842, other bugs.
1270 Revved to 1.1.4, interface-age=4, binary-age=4.
1272 * registryd/deviceeventcontroller.c:
1274 Fixed crasher bug in last_mouse_pos initialization.
1276 * registryd/registry.c:
1277 (desktop_add_application, desktop_remove_application):
1278 Added (and then commented out) some support for
1279 object context marshalling. [TODO]
1281 * atk-bridge/bridge.c:
1282 (spi_atk_bridge_event_context_create):
1283 Commented out object context creation until it can
1284 be properly tested and debugged.
1286 * registryd/registry.c:
1287 (impl_registry_notify_event):
1288 Fixed crasher bug, we were calling
1289 spi_re_entrant_list_foreach () with an empty list.
1291 2002-11-18 Bill Haneman <bill.haneman@sun.com>
1293 * idl/Accessibility_Action.idl:
1294 * idl/Accessibility_Component.idl:
1295 * idl/Accessibility_Desktop.idl:
1296 * idl/Accessibility_Event.idl:
1297 * idl/Accessibility_Hyperlink.idl:
1298 * idl/Accessibility_Image.idl:
1299 * idl/Accessibility_Relation.idl:
1300 * idl/Accessibility_Selection.idl:
1301 * idl/Accessibility_State.idl:
1302 * idl/Accessibility_Value.idl:
1303 Updated unimplemented slot count to minimum of
1304 four for all interfaces, for ABI freeze.
1306 * idl/Accessibility_EditableText.idl:
1307 * idl/Accessibility_Text.idl:
1308 Updated unimplemented slot count to six
1311 * idl/Accessibility_Registry.idl:
1312 Updated unimplemented slot count to six
1313 (also for DeviceEventController),
1316 * idl/Accessibility_Table.idl:
1317 Updated unimplemented slot count to eight,
1320 * idl/Accessibility_Event.idl:
1321 Added CORBA_any "any_data" member to Event struct.
1323 * idl/Accessibility_Event.idl:
1324 Added CORBA_any "any_data" member to Event struct.
1326 * atk-bridge/bridge.c:
1328 atk_signal_text_changed, atk_signal_child_changed,
1329 signal ids queried from gtype system.
1330 (AtkBridgeEventContextType): New enum.
1331 (AtkBridgeEventContextData): New struct.
1332 (AtkBridgeEventContext): New struct.
1333 (atk_bridge_init_event_type_consts):
1334 New method, initializes type contants for comparison
1335 prior to emit_eventv.
1336 (atk_bridge_event_context_init): New method,
1337 initializes a CORBA_any from an AtkBridgeEventContext.
1338 (atk_bridge_focus_tracker): Call spi_init_any_nil to
1339 initialize the event.any_data struct.
1340 (spi_atk_bridge_event_context_create): New method,
1341 creates an AtkBridgeEventContext from signal/event info.
1342 (spi_atk_bridge_event_context_free): New method.
1343 (spi_atk_emit_eventv): Changed to take an
1344 AtkBridgeEventContext parameter. We now initialize
1345 the event.any_data member prior to notifying the
1346 Registry, via the AtkBridgeEventContext.
1347 (spi_atk_bridge_property_event_listener):
1348 (spi_atk_bridge_state_event_listener):
1349 Match emit_eventv signature.
1350 (spi_atk_bridge_object_event_listener):
1351 Match emit_eventv signature, and create an
1352 event context from the event details.
1353 Free the event context afterwards.
1354 (spi_atk_bridge_window_event_listener):
1355 Create an event context, pass it to the
1359 (AccessibleEvent_getContextString):
1360 (AccessibleEvent_getContextObject):
1361 New methods, allow query of AccessibleEvent objects
1362 for more context details (via the "any_data" member
1363 of the Event struct, above).
1366 Definitions for AccessibleEvent_getContextString
1367 and AccessibleEvent_getContextObject.
1369 * cspi/spi_listener.h:
1370 (InternalEvent): New struct.
1373 (AccessibleEvent_getContextString):
1374 (AccessibleEvent_getContextObject):
1375 Implementations of new methods, for obtaining
1376 additional context information from some event types.
1378 * cspi/spi_registry.c:
1379 (SPI_registerGlobalEventListener):
1380 Added mention of active-descendant-changed event in docs.
1382 * cspi/cspi-bonobo-listener.c:
1384 Marshal the any into the AccessibleEvent via
1387 * libspi/spi-private.h:
1388 #include <orbit/orbit.h>
1390 (spi_init_any_string):
1391 (spi_init_any_object):
1392 New convenience function declarations.
1396 (spi_init_any_string):
1397 (spi_init_any_object):
1398 New convenience function implementations.
1400 * registryd/deviceeventcontroller.c:
1401 (spi_poll_dec_mouse_moved):
1402 (spi_device_event_controller_forward_mous_event):
1403 Initialize any_data member of event.
1404 (spi_deregister_controller_device_listener):
1405 Fix incorrect param pass which was preventing deregistration.
1407 * registryd/registry.c:
1408 (desktop_add_application):
1409 (desktop_remove_application):
1410 Add object data to event's any_data before dispatch.
1412 Fix for error messages from GAIL.
1414 * test/event-listener-test.c:
1415 Test new ContextString and "any_data" API:
1416 (report_text_event): New method query and output context string.
1417 (main): register a new text listener with report_text_event
1420 2002-11-19 Darren Kenny <darren.kenny@sun.com>
1422 Fixes for bugs 98127 and 97914.
1423 * cspi/spi-roletypes.h:
1424 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
1426 * cspi/spi-statetypes.h:
1427 Added SPI_STATE_MANAGES_DESCENDANTS
1429 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
1430 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
1431 * cspi/spi_accessible.c:
1432 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
1433 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
1434 Accessibility_STATE_MANAGES_DESCENDANTS
1435 * libspi/accessible.c:
1436 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
1437 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
1438 As requested by Bill, I also cleaned up the alignment.
1439 * libspi/relation.c:
1440 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
1441 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
1442 * libspi/stateset.c:
1443 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
1444 Accessibility_STATE_MANAGES_DESCENDANTS
1445 * docs/reference/cspi/tmpl/spi_accessible.sgml:
1446 Document changes reflecting modifications to roles.
1447 * docs/reference/cspi/tmpl/spi_relation.sgml:
1448 Document changes reflecting modifications to relations.
1449 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1450 Document changes reflecting modifications to states.
1452 2002-11-17 Bill Haneman <bill.haneman@sun.com>
1455 Revved to 1.1.3, interface-age=3, binary-age=3.
1456 Added REBUILD macro.
1459 Removed accessx-gui from the tests, since we have a nice
1460 keyboard accessibility capplet now :-)
1462 * test/keysynth-demo.c:
1463 (increment_scan): removed do-nothing default: case,
1466 * test/visual-bell.c:
1467 (main) : removed do-nothing default: case,
1470 * cspi/spi_action.c:
1471 (AccessibleAction_getKeyBinding_):
1472 Documented keybinding string format.
1476 (AccessibleText_getAttributes):
1477 Documented the text attribute string format.
1478 It's changed to use semicolon delimiters also,
1479 to prevent clashes with CSS attributes, but the old
1480 trick of looking for ", " strings will still work
1481 (as unreliably as ever). Fix for bug related to 97916.
1484 Include <cspi/bonobo/cspi-bonobo-listener.h>
1485 Fixes build warning.
1486 (SPI_freeAccessibleKeySet):
1487 (AccessibleKeystrokeListener_addCallback):
1488 (AccessibleKeystrokeListener_removeCallback):
1489 Modify to use AccessibleDeviceListener API internally,
1490 instead of AccessibleKeystrokeListener.
1492 * idl/Accessibility_Event.idl:
1493 Added two more empty slots to EventListener (for a total of four).
1495 * idl/Accessibility_Accessible.idl:
1496 Added four empty slots to Accessible interface.
1498 2002-11-15 Bill Haneman <bill.haneman@sun.com>
1500 * idl/Accessibility_Registry.idl:
1501 (KeyEventType, EventType):
1502 Marked KeyEventType as deprecated; it duplicates
1503 functionality of EventType, which has been extended to
1504 include Mouse-button events.
1505 (KeyEventTypeSeq): defined in terms of EventType.
1506 (registerDeviceEventListener, deregisterDeviceEventListener):
1507 New methods, for managing listeners to device events,
1508 which potentially may consume them.
1511 Added definition for AccessibleDeviceListener.
1513 * cspi/spi-listener.h:
1514 (enum AccessibleDeviceEventType):
1515 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
1516 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
1517 for backwards compat.
1518 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
1519 and typedef'd AccessibleKeystroke to it for back-compat.
1520 (AccessibleDeviceListenerCB):
1521 New function prototype typedef.
1524 (AccessibleDeviceEventMask): New typedef.
1525 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
1526 (AccessibleKeyMaskType):
1527 Set equivalent to AccessibleModifierMaskType for back-compat.
1528 (SPI_createAccessibleKeystrokeListener):
1529 (AccessibleKeystrokeListener_unref):
1530 Deprecated in favor of equivalent (better-named) new API below..
1531 keystroke listeners are like all device listeners.
1532 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
1533 New API names for old features :-).
1534 (AccessibleDeviceListener_addCallback):
1535 (AccessibleDeviceListener_removeCallback):
1536 (SPI_registerDeviceEventListener):
1537 (SPI_deregisterDeviceEventListener):
1541 (SPI_createAccessibleKeystrokeListener):
1542 Use new preferred API, cspi_device_listener_new() and
1543 cspi_device_listener_add_cb().
1544 (AccessibleKeystrokeListener_removeCallback):
1545 Use new preferred API, cspi_device_listener_remove_cb().
1546 (AccessibleKeystrokeListener_unref):
1547 Use new preferred API, cspi_device_listener_unref().
1548 (SPI_createAccessibleDeviceListener):
1549 (AccessibleDeviceListener_addCallback):
1550 (AccessibleDeviceListener_removeCallback):
1551 Implementation of new API.
1553 * cspi/spi_registry.c:
1554 (SPI_registerDeviceEventListener):
1555 (SPI_deregisterDeviceEventListener):
1556 Implementation of new API. Fixed memory leak and removed need to
1557 allocate EventTypeSeq (thanks Michael for catching this).
1558 Squashed a wayward CORBA_exception_free that shouldn't get called.
1560 * cspi/bonobo/cspi-bonobo-listener.c:
1562 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
1563 (cspi_key_event): renamed to cspi_device_event().
1564 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
1565 Extended to handle mouse button events as well as key events.
1566 (CSpiKeystrokeListener):
1567 Class superceded by CSpiDeviceListener.
1568 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1569 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1571 * cspi/bonobo/cspi-bonobo-listener.h:
1572 (CSpiKeystrokeListener):
1573 Class superceded by CSpiDeviceListener.
1574 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1575 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1577 * libspi/Makefile.am:
1578 Replaced keystrokelistener.h and keystrokelistener.c
1579 with devicelistener.h and devicelistener.c; keystrokelisener.h
1580 stub retained for back-compat.
1582 * libspi/keystrokelistener.c:
1586 Replaced inclusion of keystrokelistener.h with devicelistener.h.
1588 * registryd/deviceeventcontroller.c:
1589 (DEControllerListener): Added Accessibility_EventTypeSeq member.
1590 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
1591 (DEControllerPrivateData): Added xkb settings data.
1592 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
1593 button release events (which can't be captured via XGrabButton).
1594 Don't dispatch via the 'normal' event mechanism if the device event was
1596 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
1597 Handle the typeseq data in its new location (see above).
1598 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
1599 New methods, for "generic" device listeners.
1600 (spi_controller_register_device_listener):
1601 Now handle mouse event listeners as well as key listeners.
1602 (spi_controller_notify_mouselisteners):
1603 New internal method.
1604 (spi_device_event_controller_forward_mouse_event):
1605 Now we notify mouse device listeners as well as generating the
1606 non-consumable "mouse:" events.
1608 We must check and restore the XKB
1609 modifier map if we consume the event, since the act of triggering
1610 a mouse event will normally reset the XKB latch. This is required for
1612 (spi_controller_register_with_devices):
1613 Load the XKB settings when registering, and register for XKB
1614 state notify events.
1615 (spi_key_eventtype_seq_contains_event):
1616 Renamed spi_eventtype_seq_contains_event, since it's used
1617 internally for all device event types now.
1618 (spi_key_event_matches_listener):
1619 Uses spi_eventtype_seq_contains_event now.
1620 (spi_device_event_controller_object_finalize):
1621 Free the private data and the XkbKeyboard struct.
1622 (impl_register_device_listener, impl_deregister_device_listener):
1623 Implementation of new IDL.
1624 (spi_deregister_controller_device_listener):
1625 New internal method.
1626 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
1627 More efficient implementation, we don't have to create a new
1628 XkbControls structure every time we query.
1629 (spi_device_event_controller_class_init):
1630 Initialize the epv entries for the new IDL. Assign the
1631 "spi-dec-private" quark.
1632 (spi_device_event_controller_init):
1633 Initialize the private data.
1634 (spi_device_event_controller_forward_key_event):
1635 Removed a bogus CORBA_exception_free() call.
1637 * registryd/deviceeventcontroller.h:
1638 Replaced inclusion of keystrokelistener.h with
1641 * test/event-listener-test.c:
1642 (report_mouse_event):
1645 Added mouse-event device listener.
1647 * test/test-simple.c:
1648 (create_test_window):
1649 Fixed regression (we were instantiating a GtkRange,
1650 which is now an abstract class). Also fixed to match
1651 existing AtkRole names, this seems to have changed in ATK
1652 awhile ago; too late now I think, and the new
1653 mechanism is at least elegant and consistent with the
1654 glib enum "nick" APIs.
1656 2002-11-15 Darren Kenny <darren.kenny@sun.com>
1658 * idl/Accessibility_Relation.idl:
1659 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
1660 RELATION_EMBEDS,RELATION_EMBEDDED_BY
1661 * idl/Accessibility_Role.idl:
1662 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
1663 * idl/Accessibility_State.idl:
1664 add STATE_MANAGES_DESCENDANTS
1665 * test/event-listener-test.c:
1666 Added a listener for active-descendant events.
1668 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
1670 * atk-bridge/bridge.c
1671 (atk_bridge_init): If application is Bonobo component wait until top
1672 level is added before registering
1673 (spi_atk_bridge_do_registration): New function which contains code,
1674 formerly in atk_bridge_init, to do application registration.
1675 (spi_atk_bridge_toplevel_added): Signal called when top level
1676 added to Bonobo component
1678 This fixes bug #83134.
1680 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
1682 * registryd/deviceeventcontroller.c
1683 Fixed compilation error caused by calling gettimeofday()
1686 2002-10-18 Bill Haneman <bill.haneman@sun.com>
1691 Added template for HAVE_XKB.
1694 Changes to check for XKB, and to set the HAVE_XKB #define if it
1697 * libspi/listener.c:
1698 ()impl_notify_event): Make failure to get event source name
1701 * registryd/deviceeventcontroller.c:
1702 (#include): include X11/XKBlib.h.
1703 (DEControllerPrivateData) : New struct.
1704 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
1706 (dec_synth_keycode_press) (dec_synth_keycode_release):
1707 New methods; split the key synthesis code into these methods.
1708 They check XKB settings before determining the "time" values to
1709 pass to Xtest; this fixes bug #95828.
1710 (impl_generate_keyboard_event): Changed to use methods above,
1711 instead of callng Xtest directly.
1712 (spi_device_event_controller_init): Initialize new privae struct s
1714 (spi_device_event_controllr_object_finalize):
1715 Free the (new) private data.
1717 * registryd/deviceeventcontroller.h:
1718 Add new gpointer to end of struct data.
1720 2002-10-16 Bill Haneman <bill.haneman@sun.com>
1723 Incremented revision to 1.1.2, SONAME is still '.so', library
1724 extensions are ".so.0.0.2".
1726 * registryd/deviceeventcontroller.c:
1727 FIXES FOR #93592 and #95940.
1728 (statics): renamed mouse_button_state to mouse_mask_state,
1729 added key_modifier_mask.
1730 (spi_dec_poll_mouse_moved):
1731 Added key modifier checks, and emit "keyboard:modifiers"
1732 events when the key modifiers currently in use change.
1733 Also generate "mouse:abs" events periodically, even if the mouse
1734 is stationary (should we?).
1735 Alternatively we could generate "mouse:abs" events for either all
1736 mouse movements, or every 'nth' mouse movement, or at the
1737 beginning and end of every "active" mouse period.
1739 * test/event-listener-test.c:
1740 (main): Added listener for "keyboard:modifiers" events.
1742 2002-10-15 Bill Haneman <bill.haneman@sun.com>
1744 * libspi/keymasks.h:
1745 Added key mask #defines for mouse buttons; e.g.
1746 SPI_KEYMASK_BUTTON1, etc.
1749 Incremented dependency on ATK to version 1.1.0. (This dependency
1750 is probably premature but will soon be real enough).
1752 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
1754 * libspi/hyperlink.[ch]
1755 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
1756 (get_hyperlink_from_servant): Check object is AtkHyperlink not
1759 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
1764 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
1766 * registryd/deviceeventcontroller.c
1767 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
1768 events to be ignored.
1769 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
1770 keyboard_mode so that XAllowEvents() can be called.
1774 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
1776 * cspi/spi-accessible.c: Correct names of roles returned by
1777 AccessibleRole_getName(). Fixes bug #95055.
1779 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
1781 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
1784 * registryd/registry.c
1785 (desktop_remove_application: Write diagnostic message to stderr for
1788 (impl_accessibility_registry_deregister_global_event_listener):
1789 Correct size of lists array. This addresses bug #94555).
1791 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
1793 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
1796 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
1798 * registryd/Makefile: Add CLEANFILES so that .server file is removed
1801 * registryd/registry.c (impl_registry_notify_event): Remove
1802 unnecessary call to parser_event_type().
1804 * docs/reference/cspi/tmpl/spi_component.sgml:
1805 Add reference to SPI_LAYER_WINDOW.
1807 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
1809 * registryd/registry.c
1810 (desktop_add_application): Remove leak.
1811 (desktop_remove_application): Remove leak.
1812 (parser_event_type): Remove leak.
1814 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
1816 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
1817 bogus call to CORBA_string_dup(). Also removed unnecessary
1818 g_string_dup/g_free calls.
1820 2002-09-13 Bill Haneman <bill.haneman@sun.com>
1822 * registryd/deviceeventcontroller.c:
1823 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
1825 * test/event-listener-test.c:
1826 main: commented out three redundant listeners, to reduce output
1827 noise. (They still are potentially useful for testing).
1830 2002-09-13 Michael Meeks <michael@ximian.com>
1832 * Update all the copyrights to include Ximian.
1834 2002-09-06 Mark McLoughlin <mark@skynet.ie>
1836 * cspi/spi.h: add SPI_LAYER_WINDOW.
1838 * cspi/spi_component.c: (AccessibleComponent_getLayer):
1839 add Accessibility_LAYER_WINDOW case.
1841 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
1843 * libspi/component.c: (impl_accessibility_component_get_layer):
1844 add ATK_LAYER_WINDOW case.
1846 2002-08-28 Bill Haneman <bill.haneman@sun.com>
1848 * configure.in: incremented micro version.
1850 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
1852 2002-08-20 Bill Haneman <bill.haneman@sun.com>
1855 Clarified and reworded our commit policy.
1858 Started an API "todo" addition list for 2.2.
1861 (impl_getSelection):
1862 Free char pointer from atk_text_get_selection, which was being leaked.
1864 2002-08-19 Bill Haneman <bill.haneman@sun.com>
1867 Small revision to author acknowledgement.
1869 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1871 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
1872 If signal has detail add it to the type of the event.
1875 2002-08-12 Michael Meeks <michael@ximian.com>
1877 * test/test-simple.c (global_listener_cb): bin bogosity.
1878 (test_keylisteners): disable, still doesn't work reliably,
1879 certainly not on my system anyway.
1881 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
1882 don't leak a reference on the DEC. This round-trip
1883 fetching of the DEC per keystroke sucks, it should be
1886 * cspi/spi-private.h,
1887 * cspi/cspi-lowlevel.h,
1888 * cspi/bonobo/cspi-bonobo-listener.[ch],
1889 * cspi/bonobo/cspi-bonobo.c: get the copyright
1890 notices better - there is still a large amount of
1891 work in at-spi falsely attributed solely to Sun.
1893 * cspi/spi_main.c (cspi_object_ref): kill bogus
1894 hash lookup, just increment the ref.
1895 (SPI_freeString): make explicit the fact that we
1896 handle NULL strings just fine.
1897 (report_leaked_ref): obey coding standards.
1898 (cspi_object_hash, cspi_object_equal): kill retval.
1899 (cspi_object_release): only release if not on loan.
1900 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
1901 (cspi_object_borrow, cspi_object_return): impl.
1903 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
1904 use cspi_object_borrow / return.
1906 2002-08-12 Darren Kenny <darren.kenny@sun.com>
1908 * cspi/bonobo/cspi-bonobo-listener.c:
1910 Don't call cspi_oject_new() because this is creating a new Accessible
1911 every single time that an event is fired. This causes ATs like at-poke
1912 to nolonger recognise the source of the event and thus ignore it.
1913 Re-use the object from the cache, ref it and then unref it after the
1914 listeners have been called.
1916 2002-08-06 Darren Kenny <darren.kenny@sun.com>
1918 * test/event-listener-test.c:
1919 Added command-line options to disable mouse events (m) and
1922 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
1924 * configure.in: Update required versions of ATK, GTK+ and GAIL
1926 * cspi-1.0.pc.in: Add dependency for X include files
1929 * cspi/bonobo/Makefile.am:
1930 Add $(X_CFLAGS) so that X include files
1931 are picked up even if not in standard place (bug #71686)
1933 2002-06-25 Bill Haneman <bill.haneman@sun.com>
1935 * registryd/deviceeventcontroller.c: fix for 84261
1936 (spi_dec_mouse_moved):
1937 Added test of mouse button mask, so that we can detect mouse
1938 button release. Unfortunately we can't otherwise detect mouse
1939 button release events without consuming the mouse press event,
1940 because of the way XGrabButton works. This means that our mouse
1941 release events have a latency dependent on the polling period
1942 while the mouse button is down. At least in this case we only
1943 have to poll while the button is down, and not at other times.
1944 If the button masks don't match with what the last press event
1945 reported, we report the appropriate button release event.
1946 (spi_dec_ungrab_mouse):
1947 New method (not yet called).
1948 (spi_device_event_controller_forward_mouse_event):
1949 New method, sends mouse press event from GdkFilter.
1950 (spi_dec_init_mouse_listener):
1951 Added code to call XGrabButton, redirecting mouse button events to
1952 the root window and our Gdk event loop.
1954 Added code to filter mouse button events, and reordered.
1956 * test/event-listener-test.c:
1958 Added registration for mouse events of type "mouse:button".
1960 2002-06-25 Bill Haneman <bill.haneman@sun.com>
1962 * registryd/deviceeventcontroller.c: partial fix for 84261
1963 (spi_dec_poll_mouse_idle):
1964 New method, a timeout which checks to see if the mouse
1966 (spi_dec_poll_mouse_moving):
1967 A timeout to be called when mouse motion is underway.
1968 (spi_dec_poll_mouse_moved):
1969 A method which fires an event if the mouse has moved, and reports
1970 whether or not it did so.
1971 (spi_dec_init_mouse_listener):
1972 A method which sets up the timeouts above.
1973 (spi_device_event_controller_new):
1974 Now calls spi_dec_init_mouse_listener.
1976 * registryd/registry.c:
1977 (spi_registry_init):
1978 Now we initialize the device event controller when the registry is
1979 initialized, instead of waiting until a client has requested a key
1980 event notification; this is because we need the event controller
1981 for mouse events, but the mouse event registration API is a
1982 "registry" call and doesn't explicitly call the
1983 deviceeventcontroller.
1984 We now report mouse motion events with a 100 ms idle latency and
1985 a 20 ms granularity when motion is in progress.
1987 * test/event-listener-test.c:
1989 We now register the "detail listener" for events of type
1990 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
1991 delivered only for the first mouse event received, and thereafter
1992 "mouse:abs" events are delivered.)
1994 * cspi/spi_registry.c:
1995 DOCS: Documented the above mouse event typestrings.
1997 2002-06-21 Bill Haneman <bill.haneman@sun.com>
1999 Happy Summer Solstice...
2001 * registryd/deviceeventcontroller.c: [fix for bug 84100]
2002 (spi_controller_notify_keylisteners):
2003 Changes to remove a listener from the listener list, freeing its
2004 open keygrabs, if a notification to that listener fails. This
2005 means that although a dead listener can continue to hold a passive
2006 keygrab, a maximum of one dispatch to such a listener can fail
2007 before the listener is removed from the list, thus the keygrab
2008 will be released on the next occurrence.
2009 As part of this fix:
2010 (spi_notify_keylisteners):
2011 Renamed to spi_controller_notify_keylisteners, as the controller
2012 instance must now be passed as an argument.
2013 The copied 'notify' GList is now a list of DEControllerKeyListener
2014 objects, since we need more than just the CORBA reference if a
2015 notify fails and we need to deregister the listener.
2016 (impl_notify_listeners_sync):
2017 (impl_notify_listeners_async):
2018 (spi_device_event_controller_forward_key_event):
2019 Modify use of notify_keylisteners in accordance with above
2021 (spi_deregister_controller_key_listener):
2022 New method introduced by refactoring, from
2023 impl_deregister_keystroke_listener.
2024 (impl_deregister_keystroke_listener):
2025 Call spi_deregister_controller_key_listener.
2026 (spi_key_listener_clone):
2027 New method to copy a key listner without doing a 'ref' on the
2028 remote object instance; used to create a notifier list.
2029 (spi_key_listener_data_free):
2030 New method, frees data without unreffing the source.
2032 (spi_key_listener_clone_free): new method.
2033 (spi_key_listener_free):
2034 refactored to call spi_key_listener_data_free.
2036 2002-06-20 Bill Haneman <bill.haneman@sun.com>
2038 * registryd/registry.c: [fix for bug 86048]
2039 (notify_listeners_cb):
2040 Clear CORBA system exceptions which occur when notifying
2041 listeners, before returning to the source of the original event,
2042 since the event source doesn't care if the relayed notify failed.
2043 In other words, don't complain to the atk-bridge if the registry
2044 could not notify all its listeners, that's no fault of the
2045 application and thus should not appear to be an error from the
2046 application's perspective.
2048 * cspi/spi_main.c: [fix for bug 85980]
2050 Replaced use of bonobo_object_dup_ref with call to the wrapper
2051 method, csou_dup_ref (); this silences a compiler warning and
2052 provided more portability.
2054 Ping the registry before return, and restart if necessary.
2056 * cspi/bonobo/cspi-bonobo.c:
2058 New internal method.
2060 Fixed this method to return an object reference, as it should have
2063 * cspi/cspi-lowlevel.h:
2064 Added internal definition for cspi_ping() and fixed
2065 return type of cspi_dup_ref().
2068 2002-06-19 Bill Haneman <bill.haneman@sun.com>
2070 * atk-bridge/bridge.c: [fix for bug 85305]
2071 (spi_atk_bridge_register_application):
2072 New method where the initial application registry calls have been
2073 moved; it allows an application to re-register in response to
2074 certain error conditions (such as a registry restart, see below).
2076 Moved some initialization code to the method
2077 spi_atk_bridge_get_registry, below.
2078 (spi_atk_bridge_get_registry):
2079 New, private accessor function for the Accessibility_Registry
2080 instance. If the registry has not been started before, or has
2081 died (as detected by failure of a CORBA exception), it is
2082 restarted before return, and spi_atk_bridge_register_application
2083 is called again to register with the new bridge instance.
2084 (spi_atk_emit_eventv):
2085 Set registry_died on error; use spi_atk_bridge_get_registry () to
2086 access the registry.
2088 * registryd/registry.c:
2089 (impl_accessibility_registry_register_global_event_listener):
2090 Set listener's event_type_quark to etype.minor instead of
2091 etype.major (fix for bug 84856).
2093 * test/event-listener-test.c:
2094 (report_detail_event):
2095 Change the output string so that user/tester can tell that the
2096 'detail listener' was called instead of the 'generic listener'.
2098 2002-06-18 Bill Haneman <bill.haneman@sun.com>
2100 Fixes for bugs 84900, 84908, 84897, 84898.
2105 Revved version to 1.1.0
2106 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
2107 version is going to HEAD which will be used for gnome-2-0-1 and later.)
2109 * idl/Accessibility_Registry.idl:
2110 (EventListener::notifyEvent):
2111 Removed 'oneway' directive after extensive consulation with
2112 ORBit2 team and others. This means also that unref() of the event
2113 source can and should be done synchronously after emission, rather
2114 than remotely in the client, after servicing the notify call on
2117 NOTE: This change speeds up listener performance considerably, but
2118 introduces new latency on the application side. We may want to
2119 add an event queue to the atk-bridge.
2121 * atk-bridge/bridge.c:
2122 (spi_atk_bridge_focus_tracker):
2123 Do a local unref() on the event source after emission.
2125 * registryd/registry.c:
2126 (desktop_remove_application):
2127 Do an unref() on the event source after emission.
2128 (desktop_add_application):
2129 Do an unref() on the event source after emission.
2130 (notify_listeners_cb):
2131 When relaying an event, don't automatically add the event source
2132 to the local object cache, just CORBA_dup it instead. Likewise,
2133 if this method reenters, release the ref rather than calling
2135 (impl_registry_notify_event):
2136 No longer call remote unref() on the event source after dispatch.
2138 * libspi/eventlistener.c:
2139 (impl_accessible_event_notify_event):
2140 Removed remote unref ()
2142 * cspi/bonobo/cspi-bonobo-listener.c:
2144 We now call cspi_object_new() instead of cspi_object_add() on
2145 receipt of an event; thus we only have an implicit object ref
2146 while the cspi_event method is being executed. If we need to keep
2147 a reference to the object, the listener must call ref() on the
2148 object. Thus also we don't need to call cspi_object_unref() after
2149 invoking the listener callbacks in this method.
2153 New internal API for creating a new cspi object, without adding it
2154 to the object cache.
2156 Now uses cspi_object_new() to create the cspi object instance.
2158 Now checks to see if the object is in the internal object cache,
2159 and adds it if necessary before incrementing its refcount (note
2160 that new objects are added with a refcount of 1).
2161 (report_leaked_ref):
2162 New method which gives some information on leaked object instances
2163 if leak detection is turned on.
2165 * test/event-listener-test.c:
2166 (timing_test_event):
2167 New method, used for testing event delivery timing for special
2168 events of type "object:test". It reports elapsed time and
2169 events/sec every 500 events.
2171 Added a new listener, 'test listener', to check timing of event
2172 receipt as noted above.
2174 Added some timing output here also, reports elapsed time every 100
2177 * test/stress-test.c:
2178 Emit events of type "object:test", for use with "event-listener-test".
2180 * test/test-simple.c:
2181 (global_listener_cb):
2182 Call Accessible_ref() on the event source before calling
2183 validate_accessible, since the validation process does pointer
2184 comparisons on the event source, meaning that the event source
2185 needs to be added to the local object cache first. Any use of
2186 such pointer comparisons between Accessible objects requires that
2187 the caller hold an explicit reference to those objects.
2188 We also must therefore call Accessible_unref() when leaving this method.
2190 2002-06-13 Bill Haneman <bill.haneman@sun.com>
2192 * registryd/deviceeventcontroller.c:
2193 (spi_controller_update_key_grabs):
2194 Fix for #84735, subsequent keygrab listeners not informed of
2195 registration failure.
2198 (spi_base_construct):
2199 Add an assertion on construct, to make sure the GObject passed in
2200 is really a GObject.
2202 Explicitly initialize object->gobj pointer to NULL;
2204 * cspi/bonobo/cspi-bonobo-listener.c:
2205 (cspi_object_add_ref):
2206 New method, can specify whether to dup-ref a bonobo object passed
2207 in if it's newly added to the object cache.
2209 Now calls cspi_object_add_ref with second param of "FALSE". This
2210 prevents us from doing a pointless dup-ref followed by
2211 release-unref for all those cases where the object is already in
2212 our object cache (fix for #85205).
2214 * atk-bridge/bridge.c:
2215 (spi_atk_bridge_idle_init):
2216 Removed this method, we don't need to initialize in an idle
2219 Changed to call spi_atk_register_event_listeners directly, not via an
2220 idle handler. (fix for #81139)
2221 (gnome_accessibility_module_shutdown):
2222 Removed conditional around deregistration of listeners, since we
2223 don't use the idle handler and thus have always registered when
2225 (spi_init_keystroke_from_atk_key_event):
2226 Changed references to Accessibility_KEY_PRESSED to
2227 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
2229 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2231 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
2236 * test/stress-test.c:
2239 (may have been an incomplete commit yesterday?)
2241 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2244 Added target for new stress-test.
2246 * test/stress-test.c:
2247 New test, sends 1000 focus notifies in quick succession.
2249 * test/key-listener-test.c:
2250 Now we report whether a keylistener registration
2251 request succeeded or failed.
2253 * test/event-listener-test.c:
2254 Uncommented some listeners which are now implemented.
2257 2002-06-06 Bill Haneman <bill.haneman@sun.com>
2259 * registryd/deviceeventcontroller.c:
2260 (spi_controller_update_key_grabs):
2261 Fix for #82509, lack of failure notification when
2262 ALL_WINDOWS keygrabs fail due to XGrabKey
2263 failure: we synchronize the server when
2264 registering a passive grab, to make sure we get the
2265 error message before the call returns.
2267 2002-06-03 Bill Haneman <bill.haneman@sun.com>
2269 * test/test-simple.c:
2271 Removed #ifdef KEY_IMPL_WORKS guards.
2272 (test_keylisteners):
2273 Removed #ifdef KEY_IMPL_WORKS guards.
2274 Fixed bug which was causing a hang waiting for a
2275 "press" event (which was already overwritten by a "release"
2276 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
2278 Added code to set globals 'key_press_received' and
2279 'key_release_received'.
2282 Added section "1.1 API Proposed Additions" which
2283 lists API additions desired for at-spi-1.1 (only one so far).
2284 Updated TODO list a little.
2286 2002-06-02 Bill Haneman <bill.haneman@sun.com>
2288 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
2291 * configure.in: Revved to 1.0.0.
2293 * idl/Accessibility_Registry.idl:
2294 (registerKeystrokeListener):
2295 Added boolean return value.
2297 * registryd/registry.c:
2298 (notify_listeners_cb): Minor fix to debug output.
2300 * registryd/Accessibility_Registry.server.in.in:
2301 Revved version number in OAFIID to 1.0.
2303 * registryd/registryd.c:
2305 Use new OAFIID version.
2307 * cspi/bonobo/cspi-bonobo.c:
2309 Use new OAFIID version.
2315 * atk-bridge/bridge.c:
2317 Use new OAFIID version.
2319 * registryd/deviceeventcontroller.c:
2320 (impl_register_keystroke_listener):
2321 Added CORBA_boolean return value.
2322 (spi_controller_register_device_listener):
2323 Added gboolean return value.
2324 (spi_controller_register_global_keygrabs):
2325 Added gboolean return value.
2326 (spi_key_set_contains_key):
2327 Added implementation for many more control keys,
2328 for instance F1-F12, arrow keys, End, Home, Page_Up,
2330 [TODO: some still not implemented].
2332 * text/screen-review-test.c:
2333 (text_chunk_pad_string):
2334 New function: it provides mapping between coordinate
2335 positions of text chunks and character positions in the
2336 screen-review-line output string.
2337 (text_chunk_to_string):
2338 New function, calls text_chunk_pad_string with various
2339 pad/delimiter characters. Pushbuttons are delimited with
2340 square brackets, Frames with vertical 'pipe' lines, and
2341 other text with double quotes.
2342 (text_chunk_list_to_string):
2343 Calls new function text_chunk_to_string.
2344 (toplevel_composite):
2345 New function to composite layers CANVAS through
2346 POPUP in each toplevel (other layers are composited
2347 across toplevels, i.e. BACKGROUND and OVERLAY).
2348 (review_buffer_composite):
2349 Revise to use new methods.
2355 2002-05-31 Laszlo Peter <laca@sun.com>
2357 * configure.in: add the Xtst libdir to the runpath on Solaris,
2358 since it's not in the default library search path.
2360 2002-05-29 jacob berkman <jacob@ximian.com>
2362 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
2364 2002-05-29 Bill Haneman <bill.haneman@sun.com>
2366 * test/screen-review-test.c:
2367 (text_chunk_pad_string):
2368 Added method, which pads the string according to the
2369 text bounds of the chunk. It also takes a 3-character
2370 string as a param which indicates the characters to be
2371 used for start, padding, and end delimitation of the chunk.
2372 (text_chunk_to_string):
2373 Changed to use text_chunk_pad_string.
2375 * configure.in: Fixed bug in AC_OUTPUT that was
2376 causing path substitution in Accessibility_Registry.server
2379 2002-05-23 Bill Haneman <bill.haneman@sun.com>
2381 * text/screen-review-test.c:
2382 (guess_string_clip):
2383 New method which attempts a best-guess at clipping
2384 text from components (like Java labels) which don't
2385 actually implement AccessibleText. This inaccurate
2386 clip is based on the assumption that the label is
2387 justified left-and-right, and monospaced.
2388 (text_chunk_get_clipped_string):
2389 We now call guess_string_clip() for text-containing
2390 components that don't implement AccessibleText.
2392 * test/screen-review-test.c:
2393 (review_buffer_get_text_chunk):
2394 We now pull "name" from labels if they do not implement
2395 AccessibleText (i.e. for Java labels).
2396 (get_screen_review_line_at):
2397 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
2400 Replaceded AC_OUTPUT target
2401 registryd/Accessibility_Registry.server with
2402 registryd/Accessibility_Registry.server.in.
2404 * registryd/Accessibility_Registry.server.in:
2405 Removed (this is now a Makefile target).
2407 * registryd/Accessibility_Registry.server.in.in:
2408 Added (source for target above). We now use $(libexecdir) as
2409 prefix for the executable at-spi-registryd.
2411 * registry/Makefile.am:
2412 Now install at-spi-registryd into $(libexecdir), and build .server
2413 file with path (see above).
2415 2002-05-22 Bill Haneman <bill.haneman@sun.com>
2417 * test/screen-review-test.c:
2418 (text_chunk_get_clipped_string):
2419 We now check to see if words fall within clip bounds
2420 before resorting to character-by-character clip bounds testing.
2422 * TODO: Added a section for "2.2 Proposed API Additions".
2424 2002-05-21 Bill Haneman <bill.haneman@sun.com>
2426 * test/screen-review-test.c:
2428 Added a screen review benchmarking and test program to test
2431 * cspi/spi_accessible.c:
2433 Made some of the debug strings passed to cspi_check_ev a
2434 little more specific.
2436 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
2438 * test/screen-review-test.c: Fix crashes in debug statements
2440 2002-05-20 Bill Haneman <bill.haneman@sun.com>
2442 * test/screen-review-test.c: Added this file.
2444 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2446 * atk-bridge/bridge.c: changed "object:state-change" to
2447 "object:state-changed" to match docs.
2449 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2451 * atk-bridge/bridge.c: Hooked up state-change event details.
2453 2002-05-11 Bill Haneman <bill.haneman@sun.com>
2455 * registryd/registry.c:
2456 Fixed quarking bug in event string parsing; now events with
2457 detail parameters get matched correctly to listeners.
2460 * util/idl/Magnifier.idl: remove.
2462 * util/*.[ch]: Remove.
2463 Magnification utilities and IDL are now in module gnome-mag.
2465 2002-05-10 Bill Haneman <bill.haneman@sun.com>
2467 * registryd/deviceeventcontroller.c:
2468 Fixed bug in grab key conversion which was causing keycode grabs
2469 to be converted to AnyKey grabs.
2472 updated NEWS file to reflect recent spin-off of gnome-mag.
2474 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
2476 * cspi/spi_accessible.c: Added exception checks. Fixed completely
2477 busted AccessibleStateSet_compare. Removed redundant casts.
2479 * cspi/spi-action.c: Removed redundant casts.
2481 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
2483 * cspi/spi_component.c: Fixed typos and casting error.
2485 * cspi/spi_editabletext.c: Removed redundant casts.
2487 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
2489 * cspi/spi_hypertext.c: Eliminated redundant casts.
2491 * cspi/spi_image.c: Eliminated redundant casts.
2493 * cspi/spi_registry.c: Eliminated redundant casts.
2494 SPI_deregisterGlobalEventListenerAll () removed retval variable.
2495 * cspi/spi_selection.c: Removed redundant casts.
2496 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
2497 handling. Screen geometry and text offsets were being returned as 0
2498 on error which is technically valid-- changed these to return -1.
2499 Added marshaller for text boundary types to fix bug with boundary
2500 types being passed incorrectly to atk.
2502 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2505 * cspi/spi_registry.c:
2506 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
2507 which was uncovered by the recent key changes.
2509 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2511 * test/event-listener-test.c:
2513 Added new test, "event-listener-test";
2514 this code does two things; it benchmarks traversal time
2515 for the accessible hierarchy for the first running accessible
2516 app, and it connects listeners for all supported event types.
2517 It is thus useful as an example event listener and for
2518 diagnostics/debugging of event generation.
2520 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2523 Removed unnecessary dependency on libutil.
2526 Revved micro version: 0.13.1
2528 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2531 Removed util/Makefile from targets.
2534 Removed util subdir from SUBDIRS (temporarily,
2535 pending removal of magnifier-only code
2539 #ifdef-ed out magnifier dependencies, since
2540 magnifier IDL, headers, and binary now live in
2541 module gnome-mag and we don't want at-spi to depend
2542 on gnome-mag. A magnifier demo which can run alongside
2543 simple-at is forthcoming in the gnome-mag module.
2545 NOTE: Split magnifier binary, IDL, and magnification
2546 activation code from at-spi into module gnome-mag.
2548 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
2550 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
2551 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
2553 2002-05-03 Bill Haneman <bill.haneman@sun.com>
2556 Revved to version 0.13.0
2558 * idl/Accessibility_Registry.idl:
2559 Changed definition of KeySet from sequence of longs to sequence of
2560 KeyDefinitions, and added KeyDefinition struct.
2561 Required for fix to bug 80616.
2563 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
2564 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
2565 to use new definition (see above).
2567 * registryd/deviceeventcontroller.c: handle_keygrab(),
2568 spi_keyset_contains_key():
2569 Changed to make use of new struct; this allows matching based on
2570 string key-name, for instance "Tab". This also allows matching of
2571 composed characters, non-alphanumeric characters in a way that
2572 doesn't involve dependencies on X keysym codes directly, etc.
2574 * test/key-listener-test.c:
2575 Added test for Alt-Tab key using "string" specification of keyset,
2576 and modified one of the tests to use a keycode-based keyset.
2577 Thus this test both tests and demonstrates the creation and use of
2578 keysets of three forms: specified via keycode array,
2579 keysym array, and string array. (The string case only contains a
2580 single string, i.e. a string array of length 1).
2583 Turned on PRINT_TREE option by default. Also fixed a
2584 string-freeing bug in the PRINT_TREE code.
2585 Added a listener to window:minimize events.
2587 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
2589 * atk-bridge/bridge.c:
2590 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
2591 for window:activate and window:deactiveate
2592 (atk_bridge_property_event_listener atk_bridge_signal_listener
2593 atk_bridge_window_event_listener) Tidy debug code
2595 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
2597 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
2598 Fixed handling for NULL return value from ATK.
2600 * libspi/action.c libspi/component.c libspi/editabletext.
2601 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
2602 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
2603 Removed redundant casts.
2605 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
2606 Fixed off by one bug.
2608 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
2609 function not present in idl)
2611 2002-05-02 jacob berkman <jacob@ximian.com>
2613 * atk-bridge/Makefile.am: make atk-bridge a real module
2615 2002-04-26 Radek Doulik <rodo@ximian.com>
2617 * libspi/stateset.c (spi_init_state_type_tables): fix size of
2618 atk_state_types table
2620 2002-04-22 jacob berkman <jacob@ximian.com>
2623 * libspi/Makefile.am: add deps on the built files to help
2624 automake, and don't version the ORBit typelib
2626 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
2628 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
2629 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
2630 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
2631 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
2632 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
2633 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
2634 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
2635 libspi/accessible.h libspi/accessible.h libspi/base.h
2636 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
2637 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
2638 libspi/relation.h libspi/remoteobject.h libspi/selection.h
2639 libspi/spi-private.h libspi/statetset.h libspi/table.h
2640 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
2641 util/mag_client.h util/mag_control.c util/mag_image.c
2642 util/mag_image.h util/magnifier.c util/magnifier.h:
2643 Add missing file headers; standardize existing ones
2645 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
2647 * atk-bridge/bridge.c: Added window event support.
2649 2002-04-18 Michael Meeks <michael@ximian.com>
2651 * libspi/relation.c (impl_getNTargets): impl.
2652 (impl_getTarget): impl.
2654 * libspi/Makefile.am: fix stateset install.
2656 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2659 Started putting useful info in this file.
2661 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
2663 * atk-bridge/bridge.c:
2664 Propagate state-changed notifications to ATs
2666 * cspi/spi_registry.c: update docs to reflect actual behavior of
2667 state-change events.
2669 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2672 Incremented version to 0.12.1
2674 * util/mag_client.h:
2675 Add missing declaration for magnifier_exit,
2676 used by mag_control.c - Forte compiler didn't like
2677 the implicit redeclaration of the function :-(
2680 2002-04-16 Bill Haneman <bill.haneman@sun.com>
2683 Revved version to 0.12 due to API change (see below).
2685 * cspi/spi-roletypes.h:
2686 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
2687 definition from the inline docs, and added docs
2688 for SPI_ROLE_LAST_DEFINED.
2691 * cspi/spi_streamablecontent.c:
2692 Added missing seek_type parameter to
2693 (so far unused) method,
2694 AccessibleStreamableContent_seek().
2695 [ RT approval JodyG. ]
2698 Fixed docs for SPI_createAccessibleKeystrokeListener.
2700 * cspi/spi_registry.c:
2701 Fixed docs for SPI_KEYSET_ALL_KEYS.
2703 * docs/reference/cspi/at-spi-cspi-sections.txt:
2704 Added a number of missing APIs to SECTIONS.
2706 2002-04-16 Bill Haneman <bill.haneman@sun.com>
2708 * registryd/Makefile.am:
2710 * cspi/bonobo/Makefile.am:
2711 Add $(X_LIBS) to makefiles.
2713 2002-04-15 Bill Haneman <bill.haneman@sun.com>
2716 Revved version to 0.11.
2718 * libspi/component.c:
2719 Added implementation for grabFocus.
2721 * idl/Accessibility_Component.idl
2722 (Accessibility_Component_grabFocus):
2723 Made this method return boolean to indicate success or failure, to
2724 be consistent with cspi and the corresponding ATK method.
2726 * idl/Accessibility_Selection.idl
2727 (Accessibility_Selection_selectAll) :
2728 Made these methods return boolean to indicate success or
2729 failure, to be consistent with cspi and the corresponding ATK methods.
2731 * idl/Accessibility_EditableText.idl
2732 (Accessibility_EditableText_setTextContents,
2733 Accessibility_EditableText_insertText,
2734 Accessibility_EditableText_cutText,
2735 Accessibility_EditableText_deleteText,
2736 Accessibility_EditableText_pasteText):
2737 Made these methods return boolean to indicate
2740 * cspi/spi_editabletext.c:
2741 Made these methods return booleans.
2743 * libspi/selection.c:
2744 * libspi/component.c:
2745 * libspi/editabletext.c:
2746 Connected the boolean returns from ATK
2747 to the server-side code referenced above.
2749 2002-04-14 Bill Haneman <bill.haneman@sun.com>
2751 * idl/Accessibility_Table.idl: Added missing methods,
2752 Accessibility_Table_addRowSelection,
2753 Accessibility_Table_addColumnSelection,
2754 Accessibility_Table_removeRowSelection,
2755 Accessibility_Table_removeColumnSelection.
2758 Added C wrappers for above IDL:
2759 AccessibleTable_addRowSelection,
2760 AccessibleTable_addColumnSelection,
2761 AccessibleTable_removeRowSelection,
2762 AccessibleTable_removeColumnSelection.
2765 Added server-side implementation code for IDL above, connecting
2766 to pre-existing ATK api.
2768 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
2770 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
2772 * libspi/accessible.c: Added implementation fo
2773 Accessibility_Accessible_get_state.
2775 * libspi/libspi.h: Added stateset.h to the list of includes.
2777 * libspi/stateset.c: Fixed broken implementation.
2779 2002-04-13 Bill Haneman <bill.haneman@sun.com>
2782 Added implementation code for Accessibility_Magnifier_exit ().
2784 * util/mag_control.c:
2785 Added test code for above method; you can
2786 now kill an existing magnifier via
2787 ./mag_control q, from the util directory.
2789 * test/key-listener-test.c:
2791 Added a new test, for our key listener API.
2793 2002-04-11 Bill Haneman <bill.haneman@sun.com>
2795 * test/app.c, test/keysynth-demo.c:
2797 Replace use of snprintf with g_snprintf.
2798 (fix for bugzilla 78249)
2800 2002-03-27 Michael Meeks <michael@ximian.com>
2804 * util/Makefile.am (INCLUDES): fix.
2805 (DONT_DIST_SOURCE): don't distribute the
2808 * libspi/Makefile.am (dist-hook): ditto.
2810 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
2812 * libspi/hypertext.c:
2813 Fix warnings when yelp is used with atk-bridge
2815 2002-03-21 Michael Meeks <michael@ximian.com>
2817 * libspi/application.c (spi_application_new):
2818 use spi_accessible_construct so we use the AtkObject
2821 2002-03-19 Michael Meeks <michael@ximian.com>
2823 * registryd/registry.c (desktop_remove_application),
2824 (desktop_add_application): clean coding style.
2826 * registryd/desktop.c (spi_desktop_remove_application),
2827 (spi_desktop_add_application): kill re-enterency hazards.
2828 (spi_desktop_dispose): remove bogus redundant cast
2829 obscuring bug; fix bug too.
2830 (spi_desktop_init): make the desktop object immortal.
2832 2002-03-16 Bill Haneman <bill.haneman@sun.com>
2835 Added a #define-guarded tree-traversal step
2836 when enumerating the apps (diagnostic tool).
2838 2002-03-15 Bill Haneman <bill.haneman@sun.com>
2840 * idl/Accessibility_Role.idl:
2841 Added ROLE_DRAWING_AREA which seemed to be missing from the
2844 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2846 * cspi/spi-roletypes.h cspi/spi_accessible.c
2847 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
2850 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
2851 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
2852 AT when applications are added and removed from the desktop. This
2853 reverts the previous broken implementation using the backing
2854 AtkObject for the SpiDesktop.
2856 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2858 * registryd/desktop.c: emit the "children-changed::add" and
2859 "children-changed::remove" signals on the backing ATK object for
2860 the desktop so AT can tell when applications are started and shut
2863 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2865 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
2867 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2869 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
2871 * cspi/spi_accessible.c: Implemented c bindings for stateset support
2873 * cspi/state-types.h: synched with IDL and ATK
2875 2002-03-13 Bill Haneman <bill.haneman@sun.com>
2877 * libspi/accessible.c
2878 (impl_accessibility_accessible_get_child_at_index):
2879 Change return value for g_return_if_fail ()
2880 to CORBA_OBJECT_NIL instead of "0" (!)
2882 * registryd/Makefile.am:
2883 * registryd/Accessibility_Register.server.in:
2884 Changed name of executable, "registryd",
2885 to something more informative:
2888 2002-03-13 Michael Meeks <michael@ximian.com>
2890 * atk-bridge/bridge.c (atk_bridge_init): don't register
2891 if we're in a bonobo-component, rather than a bonobo app.
2893 2002-03-13 Michael Meeks <michael@ximian.com>
2895 * atk-bridge/bridge.c (gtk_module_init): split
2896 out body to (atk_bridge_init): here, since otherwise
2897 we get symbol conflicts and oddness when invoked
2898 from (gnome_accessibility_module_init): here (upd.)
2900 2002-03-11 Bill Haneman <bill.haneman@sun.com>
2903 New file. Explicitly allow "build sheriff" putbacks provided
2904 they are tested on Solaris.
2906 * docs/reference/cspi/Makefile.am:
2907 Added '-' to the "cp" command for index.sgml.
2908 ("patch by thomasvs, soon coming to a GUADEC near you")
2911 Incremented version number (0.9.0) for new release.
2912 Changed macro that checks for popt, to better detect
2913 obsolete versions of popt.
2916 Added X_LIBS to AC_SUBST, for applications
2917 that call Xlib API directly.
2920 2002-03-07 Bill Haneman <bill.haneman@sun.com>
2923 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
2926 Fix regression caused by hard-coding major
2927 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
2930 * test/test-simple.c (test_editable_text),
2931 (test_test): revert previous change (error was
2932 a regression in gail which is now fixed).
2934 2002-03-04 Michael Meeks <michael@ximian.com>
2936 * test/test-simple.c (test_editable_text),
2937 (test_text): pass G_MAXINT instead of '-1' for
2938 whole string - is this a good thing !?
2940 * cspi/spi_accessible.c
2941 (Accessible_getRelationSet): fix crasher bug
2942 overwriting the end of the array.
2944 * test/test-simple.c (validate_accessible): free,
2945 not g_free returned relation set.
2947 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
2949 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
2950 implemented stateset support
2952 * idl/Accessibility_State.idl: Made necessary changes to
2953 the IDL to support state sets.
2955 2002-02-12 Bill Haneman <bill.haneman@sun.com>
2957 * registryd/deviceeventcontroller.c:
2958 Added implementation for generateMouseEvent.
2960 * cspi/spi_registry.c:
2961 Connected new implementation for generateMouseEvent
2964 2002-02-12 Bill Haneman <bill.haneman@sun.com>
2967 Incremented revision (but no change in public API
2968 outside of 'utils', which are not installed public yet.)
2970 * libspi/component.c:
2971 Changed to use atk_component API for layers and
2972 mdi_zorder, instead of deprecated atk_object API.
2974 Magnification Utility Enhancements:
2977 Added implementation of createZoomRegion, clearAllZoomRegions,
2978 resizeZoomRegion. Added new commandline argument
2979 "--no-initial-region". Note that clearAllZoomRegions doesn't
2980 unmap the old '0' region as it should (yet), and the other
2981 methods only work when creating/resizing a single region,
2982 which is "region 0".
2983 (Code for multiple region support will be added later.)
2986 Now we raise the magnifier window each time it's refreshed;
2987 this will help keep it on top.
2989 * util/mag_client.h:
2990 Added simple wrappers for above, used by mag_control.
2991 For general use, it's recommended to use the bonobo magnifier
2992 control API directly instead of using these wrappers.
2995 Moved ZoomRegionData from magnifier.c to this file.
2997 * util/mag_control.c:
2998 Added some code to exercise new IDL implementations.
3000 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
3002 * libspi/text.c: Provide implementation for getAttributes.
3004 2002-02-04 Bill Haneman <bill.haneman@sun.com>
3007 Incremented revision.
3009 * test/test-simple.c:
3010 Replaced use of deprecated g_main_iteration with
3011 g_main_context_iteration.
3013 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
3016 Incremented revision for desktop alpha 2.
3018 2002-01-28 Mark McLoughlin <mark@skynet.ie>
3020 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
3023 * test/simple-at.c: include netinet/in.h.
3025 2002-01-24 Mark McLoughlin <mark@skynet.ie>
3027 * cspi/spi_accessible.c: (Accessible_getRelationSet):
3028 use NULL, not CORBA_OBJECT_NIL.
3030 * libspi/accessible.c:
3031 (impl_accessibility_accessible_get_relation_set):
3032 allocate the sequence correctly.
3034 * libspi/remoteobject.h: kill spi_remote_object_new.
3036 * test/test-simple.c: (validate_accessible): add code
3037 to test relation sets, now all we need is to figure
3038 out how to excercise this code path :/
3040 2002-01-18 Michael Meeks <michael@ximian.com>
3042 * test/test-simple.c
3043 (key_listener_cb): consume the key.
3044 (test_keylisteners): update.
3045 (main): wait for any pending unrefs on events.
3047 * registryd/deviceeventcontroller.c
3048 (spi_controller_update_key_grabs): only re-issue the
3049 grab on a key release.
3050 (spi_device_event_controller_forward_key_event):
3051 refresh the keygrabs before we notify the listeners,
3052 to reduce the X ungrab / re-grab race.
3053 (spi_controller_register_with_devices): remove
3054 XSelectInput - we do that with the gdk_window_ call.
3055 (_spi_controller_device_error_handler): return a value.
3056 s/GDK_DISPLAY/spi_get_display/
3058 2002-01-17 Michael Meeks <michael@ximian.com>
3060 * registryd/deviceeventcontroller.c
3061 (_deregister_keygrab): don't blow out the later
3064 * test/test-simple.c (test_keylisteners): do a
3065 more intelligent validation.
3067 2002-01-14 Michael Meeks <michael@ximian.com>
3069 * atk-bridge/bridge.c
3070 (gnome_accessibility_module_init),
3071 (gnome_accessibility_module_shutdown): impl.
3072 (gtk_module_init): protect vs. double inits.
3073 (add_signal_listener): impl.
3074 (spi_atk_bridge_state_event_listener): kill
3075 (deregister_application): split out of
3076 (spi_atk_bridge_exit_func): here.
3078 2002-01-18 Bill Haneman <bill.haneman@sun.com>
3081 Added caret tracking when using magnifier, and
3082 now use text bounds for focus tracking of text elements, rather than
3083 the component bounds - this is helpful for short text fields in long
3084 table cells, at high magnification.
3086 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3088 * registryd/deviceeventcontroller.c:
3089 Regression fix for keylistener de-registration; global keygrabs
3090 were not being released when deregisterKeystrokeListener was
3091 called in cspi, since
3092 Accessibility_DeviceEventController_deregisterKeystrokeListener
3093 was called with a zero-length keyset. That is because the cspi
3094 method, SPI_deregisterKeystrokeListener, does not take a keyset
3095 parameter but instead should remove all the key grabs held be a
3097 The code in impl_deregister_keystroke_listener was changed to copy
3098 the keylist from the listener instance previously registered with
3099 the DeviceEventController before releasing the grabs.
3101 * registryd/registry.c:
3102 * registryd/deviceeventcontroller.c:
3103 * libspi/spi-private.h:
3105 Changed spelling of "re-enterant" to "re-entrant" globally.
3107 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3109 * test/test-simple.c:
3110 Changed key listeners test - the test was slightly mis-using the
3111 (admittedly poorly documented) SPI_generateKeyboardEvent API.
3112 It now uses '=' as the key event listened to and generated,
3113 relying on a keysym match rather than assuming that keycode 33
3114 is always equal to keysym '!'.
3116 2002-01-15 Bill Haneman <bill.haneman@sun.com>
3119 Changed simple-at to use a specific keyset, rather than
3120 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
3121 manager, desktop, etc.
3123 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3125 * registryd/deviceeventcontroller.c:
3126 Replaced standard X error handler with a special handler that
3127 is non-fatal for failed keygrabs. This works around
3128 problems with keygrab clashes sometimes observed on
3130 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
3131 mouse handling code as yet).
3133 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3136 Incremented revision for desktop alpha release.
3139 Fixed a couple of the more glaring errors (still not
3142 2002-01-11 Michael Meeks <michael@ximian.com>
3144 * registryd/deviceeventcontroller.c
3145 (spi_device_event_controller_forward_key_event): kill
3146 XUngrabKey / XKeyGrab race.
3147 (spi_controller_grab_keyboard): rename to
3148 (spi_controller_update_key_grabs): this, and deal
3149 with incremental adding / removing grabs more
3151 (_register_keygrab): ensure we're not pending a remove.
3152 (spi_grab_mask_free): impl.
3153 (spi_controller_register_global_keygrabs): split out
3155 (handle_keygrab): impl.
3156 (_deregister_keygrab): impl.
3157 (spi_controller_deregister_global_keygrabs): impl.
3158 (spi_controller_update_key_grabs): re-issue the grab if
3159 we just recieved a notification.
3161 * test/test-simple.c (key_listener_cb): remove debug.
3163 * registryd/deviceeventcontroller.c
3164 (spi_controller_register_device_listener): after
3165 registering a global keygrab, actualy register it !
3166 don't wait for a timeout; doh !
3168 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
3169 to make it more readable / manipulable.
3170 s/grabmask/grab_mask/ s/refcount/ref_count/
3171 s/keyval/key_val/ s/modmask/mod_mask
3173 2002-01-08 Michael Meeks <michael@ximian.com>
3175 * registryd/deviceeventcontroller.c
3176 (spi_controller_register_with_devices): use gdk calls to
3178 (global_filter_fn): implement the filter.
3179 (spi_device_event_controller_check_key_event): rename to
3180 (spi_device_event_controller_forward_key_event): this & upd.
3181 (spi_get_display): replace with GDK_DISPLAY.
3183 * registryd/deviceeventcontroller.c
3184 (spi_controller_deregister_device_listener): unroll into
3185 (impl_deregister_keystroke_listener): here to simplify.
3186 (spi_controller_register_global_keygrabs): split cut and
3187 paste (!) out into (_register_keygrab): here, shorter & sweeter.
3188 (spi_controller_deregister_device_listener): remove.
3189 (impl_register_mouse_listener): remove, no mouse listener
3190 support in at-spi-1.0
3192 * registryd/registry.c
3193 (_device_event_controller_hook): kill.
3194 (spi_registry_init): upd.
3196 * registryd/deviceeventcontroller.c
3197 (spi_device_event_controller_class_init): upd.
3198 (spi_check_key_event): merge into.
3199 (spi_device_event_controller_check_key_event):
3200 here and kill strange static ev init, don't leak
3201 the x_event - nor dynamicaly allocate it.
3203 * registryd/registry-main.c (main): re-direct
3204 timeout to remove strange vtable mess.
3206 * registryd/deviceeventcontroller.c
3207 (remove_listener_cb): impl.
3208 (spi_controller_deregister_device_listener):
3209 fix re-enterancy hazard.
3211 2002-01-07 Michael Meeks <michael@ximian.com>
3213 * registryd/deviceeventcontroller.c
3214 (spi_device_event_controller_new): upd.
3215 (impl_notify_listeners_sync): upd. debug.
3216 (spi_notify_keylisteners): fix re-enterancy hazards,
3217 prettify, remove O(n*n) iteration.
3218 (spi_controller_grab_keyboard): fix iteration.
3219 (spi_check_key_event): re-format to suit coding style.
3220 Clean all the warnings - we're warning free.
3222 * registryd/deviceeventcontroller.h:
3223 * registryd/registry.h: make mutualy referential with
3224 typesafe forward references instead of (!) void pointer
3227 2002-01-11 Michael Meeks <michael@ximian.com>
3229 * cspi/spi_accessible.c (role_names): add a role name
3230 to sync this array with the enum; and make the regression
3233 2002-01-10 Michael Meeks <michael@ximian.com>
3235 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
3236 allow expansion of enumeration & kill warning.
3238 * test/test-simple.c (key_listener_cb): impl.
3239 (test_keylisteners): impl.
3241 * cspi/spi-listener.h: make listener signatures const
3242 on the provided (const) events.
3244 * test/keysynth-demo.c: upd. to const events.
3246 * test/simple-at.c: ditto.
3248 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3251 Rev the version to 0.5 (the previous tarball was named 0.4,
3252 even though the micro number was 3), so we need to rev upwards
3253 again for beta2/"desktop-alpha"
3256 Checked in a demo script, which requires editing before use!
3257 Proceed with caution.
3260 Fixed typo in header which was redefining SPI_ACTION_CLASS.
3262 * cspi/spi_accessible.c:
3263 Add a couple of missing enum initializations, and fix some enum
3266 * cspi/spi_registry.c:
3267 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
3269 * docs/reference/cspi/at-spi-cspi-sections.txt:
3270 Remove/fix a couple of broken document references.
3273 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
3274 as Alt-Control to listen for commands, since on some systems
3275 Control-Alt may already be grabbed.
3277 2002-01-10 Bill Haneman <bill.haneman@sun.com>
3280 Update version number to 0.4 for Beta2.
3282 * libspi/accessible.c, libspi/accessible.h:
3283 Expose spi_accessible_construct, to enable libgail-gnome
3284 construction from spi_accessible subtype.
3286 * utils/magnifier.c:
3287 Workaround for bug in some non-gnome-compliant window managers
3288 which made magnifier resize improperly.
3290 2002-01-09 Bill Haneman <bill.haneman@sun.com>
3292 * libspi/accessible.c: (spi_accessible_new) :
3293 Move the test for SPI_IS_REMOTE_OBJECT to
3294 spi_accessible_new_return, fixing a bug and compile time warning.
3296 2002-01-08 Michael Meeks <michael@ximian.com>
3298 * registryd/registry.c (parse_event_type): remove strndup.
3300 * libspi/Makefile.am (libspi_la_SOURCES): remove
3301 sources already included in the headers section.
3303 * libspi/util.c: add.
3305 * libspi/spi-private.h: add.
3307 * registryd/registry.c: update to moved list iterators.
3309 2002-01-05 Michael Meeks <michael@ximian.com>
3311 * test/simple-at.c (main): upd. auto-module set to atk-bridge
3313 * test/test-simple.c (main): ditto.
3315 2002-01-04 Michael Meeks <michael@ximian.com>
3317 * libspi/accessible.c (spi_accessible_new): remove 2nd,
3318 redundant construct.
3320 * registryd/registry.c
3321 (get_listener_list): impl.
3322 (impl_accessibility_registry_register_global_event_listener):
3323 re-impl. to simplify using ~, remove dodgy const cast off.
3324 (parse_event_type): constify.
3325 (impl_accessibility_registry_deregister_global_event_listener_all):
3326 re-write, more efficiency and simplicity, kill re-enterancy
3328 (compare_listener_corbaref, compare_corba_objects),
3329 (compare_listener_quarks): define out.
3330 (impl_accessibility_registry_deregister_global_event_listener):
3331 re-write for effiency, and nail re-enterancy hazard.
3332 (impl_accessibility_registry_get_desktop_list): impl.
3333 (re_enterant_list_delete_link): impl.
3334 (re_enterant_list_foreach): impl.
3335 (remove_listener_cb): impl.
3336 (_registry_notify_listeners): kill.
3337 (notify_listeners_cb): impl.
3339 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
3340 (SPI_getDesktopList): impl.
3342 * test/test-simple.c (test_desktop): test the methods.
3344 2002-01-03 Michael Meeks <michael@ximian.com>
3346 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
3347 keystrings since we free them
3348 (SPI_freeAccessibleKeySet): in here.
3350 * libspi/accessible.c (spi_accessible_new): kill warning,
3351 wonder what is going on with the constructor here.
3353 2002-03-01 Bill Haneman <bill.haneman@sun.com>
3355 * libspi/accessible.c (spi_accessible_new ()) :
3356 Added check to see if AtkObject is an SpiRemoteObject before
3357 creating an SpiAccessible.
3359 2002-05-01 Bill Haneman <bill.haneman@sun.com>
3361 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
3362 Enable keygrabs using the Control modifier, now that they are
3363 working properly (they were previously disabled).
3366 Change the command keygrab for this demo to "Control+Alt", so as
3367 to conflict with fewer other key commands on the system; this
3368 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
3370 Removed a pointlessly-chatty keylistener for unshifted keys
3371 (shifted keys are still reported).
3373 2002-02-01 Bill Haneman <bill.haneman@sun.com>
3375 * libspi/remoteobject.h:
3376 * libspi/remoteobject.c:
3377 Added definitions for special AtkObject subtype, required for
3378 support of remote components (specifically, used by BonoboControl
3379 accessibility implementation).
3381 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
3383 * cspi/spi.h: synched relation types with ATK
3385 * cspi/spi_accessible.c: Added implementations of
3386 AcccessibleRelation_* methods
3388 * idl/Accessibility_Relation.idl: added getRelationTypeName
3389 method. Synched known relation types with ATK. Allowed for
3390 relation type extension with the RELATION_EXTENDED type.
3392 * libspi/relation.c: Provided implementations for
3393 AccessibleRelation methods.
3395 2002-01-01 Bill Haneman <bill.haneman@sun.com>
3397 API tweaks for today's API 'freeze'.
3400 Added placeholder functions to allow future compatible expansion
3401 of the IDL interfaces.
3403 * idl/Accessibility_Registry.idl:
3404 Changed generateKeyEvent to generateKeyboardEvent. Changed
3405 signature of this method to accept an optional keystring in
3406 parameter (for complex text input synthesis) and changed use of
3407 simple 'boolean' parameter in registerKeystrokeListener to a
3408 struct, EventListenerMode.
3410 * cspi/spi_accessible.c:
3412 * cspi/spi_streamablecontent.c:
3413 Added references to AccessibleStreamableContent interface, and
3414 definition and implementation of AccessibleStreamableContent
3417 * cspi/spi_registry.c:
3419 Changed generateKeyEvent API to generateKeyboardEvent,
3420 taking a new (optional) keystring parameter to support complex
3425 Renamed directory (to better reflect its actual purpose, bridging
3426 from at-spi to ATK). The .so module is also now named
3429 * idl/Accessibility_Hypertext.idl:
3430 * libspi/accessible.c:
3431 * libspi/hypertext.h:
3432 * libspi/hypertext.c:
3433 Changed Accessibility_Hypertext to *not* derive from
3436 * cspi/spi_registry.c:
3437 Added list of legal event type names for 'window' events, which
3438 completes the registry event API.
3440 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
3442 * at-bridge/bridge.c: Added registration for separate
3443 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
3444 signals. If either of the first two parameters to the generic
3445 bridge signal handler are ints, they are passed on as event
3446 details. This allows an AT to determine what text was inserted.
3448 2001-12-21 Bill Haneman <bill.haneman@sun.com>
3450 * registryd/deviceeventcontroller.c:
3451 Fixed regressions in generateKeyEvent caused by the removal of
3452 gdk_init from registryd; we now use pure X calls to connect to the
3453 display, which makes sense because deviceeventcontroller already
3454 uses a fair bit of X API (should eventually be migrated to a
3455 'portability layer').
3457 * registryd/desktop.c:
3458 Fixed minor regression in spi_desktop_init, changed the way the
3459 desktop name is being set to work with new spi_base API
3460 (gobject-based, rather than AtkObject-based).
3462 * registryd/Makefile.am:
3463 Minor revision of makefile to use XTST_LIBS variable rather than
3464 hard-wiring the Xtst LD_ADD element.
3466 * test/keysynth-demo.c:
3467 Tweaked an output message; added initialization of the
3468 'keystrings' member of the "switch listener" key_set.
3470 * libspi/relation.c:
3471 Squashed compile-time warning.
3473 * libspi/accessible.c:
3474 Cosmetic and formatting fixes, renamed a static method.
3476 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
3478 * libspi/accessible.c
3480 * libspi/application.c
3483 * libspi/component.c
3484 * libspi/editabletext.c
3485 * libspi/hyperlink.c
3486 * libspi/hypertext.c
3488 * libspi/selection.c
3492 * registryd/desktop.c:
3493 Changed SpiBase to contain a GObject pointer rather than an AtkObject
3495 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3497 * idl/Accessibility_Registry.idl:
3498 Added boolean member 'is_text' to DeviceEvent. This is for the
3499 use of key events, and helps prevent ambiguity between composed
3500 key strings and keysym names, since both may potentially be
3501 returned in the 'event_string' member.
3503 * at-bridge/bridge.c:
3504 * registryd/deviceeventcontroller.c:
3505 Use the 'is_text' member when notifying device event listeners.
3506 Knon issue: composed characters are not dealt with correctly by
3507 the global key listener implementation yet.
3509 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3511 * at-bridge/bridge.c:
3512 Namespaced local static methods to spi_atk_bridge_* where
3513 previously named bridge_*, and spi_* elsewhere.
3515 * at-bridge/bridge.c:
3516 * cspi/bonobo/cspi-bonobo-listener.c:
3517 Added demarshalling/conversion for string member of
3518 Accessibility_DeviceEvent to AccessibleKeystroke.
3520 * registryd/deviceeventcontroller.c:
3521 Added code to fill the Accessibility_DeviceEvent key string value
3522 member for global key events (i.e. from XGrabKey), to match
3523 behavior of Accessibility_DeviceEvent from the toolkit key events
3524 from the bridge. Fixed timestamp in global key event notifications.
3527 Added printout of key event's string value to
3528 report_ordinary_key_event, for demo/debugging purposes.
3530 2001-12-15 Bill Haneman <bill.haneman@sun.com>
3532 * idl/Accessibility_Registry.idl:
3533 Removed Accessibility_KeyStroke structure in favor of generic
3534 Accessibility_DeviceEvent structure.
3535 Changed Accessibility_ControllerEventMask from a struct to an
3538 * at-bridge/bridge.c:
3539 Changed APIs to use DeviceEvent structure as above, and removed
3540 bogus casting between these event structures.
3542 * cspi/spi-listener.h:
3543 Added keystring member of AccessibleKeystroke structure, to enable
3544 matching on event "names" rather than only hardware codes and
3548 Added keystrings member of AccessibleKeySet struct, to allow
3549 matching on event names (as above).
3550 Added declarations for SPI_createAccessibleKeySet and
3551 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
3552 event modmasks directly as unsigned ints rather than structs with
3553 refcounts, in the DeviceEventController methods.
3555 * cspi/spi_registry.c:
3556 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
3558 * cspi/spi-roletypes.h:
3559 Added documentation of newly added SPI Roles.
3561 * cspi/bonobo/cspi-bonobo-listener.c:
3562 Changes in support of API changes above.
3564 * libspi/accessible.c:
3565 Converted APIs to use DeviceEvent structure (see IDL changes
3568 * registryd/deviceeventcontroller.c:
3569 Added DEControllerGrabMask structure to track keygrabs not only by
3570 modmask but by keyset as well; this allows us to do "global"
3571 (i.e. X) keygrabs on a per-key or keyset basis rather than always
3572 grabbing on AnyKey and then filtering after-the-fact.
3573 Bugfixes for event filtration mean that we don't get false matches
3574 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
3576 * registryd/deviceeventcontroller.c:
3577 Namespaced a number of static methods to use spi_ prefix. Major
3578 revision to internals of global (i.e. X) key grabs.
3580 * registryd/deviceeventcontroller.h:
3581 Removed keymask_list and added keygrabs_list to
3582 SpiDeviceEventController struct.
3585 Added use of SPI_createAccessibleKeySet API when creating a
3586 listener for only one key. Attach a listener to "shift spacebar
3587 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
3588 X key event names to SPI key event names, so that listeners are
3589 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
3591 * test/keysynth-demo.c:
3592 Changed (incorrect) use of X key event names (KeyPressed,
3593 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
3596 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3598 * libspi/accessible.c:
3599 Convert all AtkRole enumerations to Accessibility_Role enums when
3600 getting a role from an AtkObject.
3602 * cspi/spi_accessible.c:
3603 Complete the conversion of Accessibility_Role enums at runtime to
3604 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
3605 role enums correctly match those given in spi-roletypes.h.
3606 Re-synchronize the local names list for AccessibleRole_getName ().
3607 AccessibleRole_getName is now deprecated, since it duplicates the
3608 more reliable Accessible_getRoleName.
3609 Added some role types from Accessibility_Role.idl.
3611 * idl/Accessibility_Role.idl:
3612 Added some role types used by AtkRole.
3614 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3617 * cspi/spi_registry.c:
3619 * cspi/cspi-bonobo-listener.c:
3620 Namespaced all methods that did not begin with an "SPI_" or
3621 "Accessible" prefix to "SPI_".
3624 Homogenized internal function namespace to "cspi_" for statics.
3627 Patched tests to use the new CSPI API.
3629 * docs/reference/cspi/at-spi-cspi-sections.txt:
3630 Updated docs to reflect namespace changes, and added a number of
3631 methods to the documentation.
3633 * registryd/registry.c:
3634 Changed use of strings and string hashes in listener event
3635 matching and parse_event_string to use GQuark, which is guaranteed
3638 * registryd/registry.h:
3639 Squashed annoying warning.
3641 * idl/Accessibility_Role.idl:
3642 Extended range of available Accessibility_Role values.
3644 * cspi/spi_accessible.c:
3645 Re-ordered role names.
3647 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3649 * idl/Accessibility_Value.idl:
3650 Revert use of union back to CORBA_double, since the double type is
3651 more efficient and can contain the other types without loss of
3654 * idl/Accessibility_Accessible.idl:
3655 Added method Accessibility:Accessible:getRoleName, to complement
3656 Accessibility:Accessible:getRole.
3658 * cspi/spi_accessible.c:
3660 Added C binding for above, Accessible_getRoleName (), and changed
3661 signature of Accessible_getRole () to return an AccessibleRole.
3663 * cspi/spi-roletypes.h:
3664 Changed AccessibleRole_getName to return a char * instead of a
3665 const char *. This method is now at least temporarily deprecated
3666 in favor of asking Accessibles for their RoleNames directly.
3669 Revert to match Accessibility_Value.idl;
3673 Change signature of AccessibleValue methods to use double rather
3677 * cspi/spi_accessible.c:
3678 Changed Accessible_getRole to return an AccessibleRole enum rather
3679 than a UTF-8 string. The UTF-8 string can still be obtained via
3680 AccessibleRole_getName ().
3682 * test/test-simple.c:
3683 Add test_action. Small fixup to match API change to Accessible_getRole.
3686 Bugfix for get_action_from_servant ().
3688 2001-12-11 Michael Meeks <michael@ximian.com>
3690 * libspi/libspi.h: remove registry.h and
3691 desktop.h, deviceeventcontroller.h
3693 * libspi/Makefile.am: remove registry.[ch],
3694 desktop.[ch], deviceeventcontroller.[ch]
3696 * registryd/Makefile.am: add registry.[ch],
3697 desktop.[ch], rename registryd.c to registry-main.c.
3698 add deviceeventcontroller.[ch]
3700 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3703 Replace setenv() call with putenv ().
3705 * libspi/component.c:
3706 Bugfix in AccessibleComponent_getExtents (),
3709 2001-12-11 Michael Meeks <michael@ximian.com>
3711 * libspi/image.c (impl_getImageExtents): impl.
3712 (spi_image_class_init): upd.
3715 (AccessibleImage_getImageDescription): fix daft bug
3718 * test/test-simple.c (global_listener_cb): update
3719 to only quit if not --poke
3720 (main): catch --poke.
3721 (validate_accessible): upd. dumping, call test_image
3724 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
3727 * idl/Accessibility.idl: update all IDL includes.
3729 * idl/*.idl - rename to namespace - this sucks, blame
3730 mjs' bad decision for oafd.
3732 * test/test-simple.c (create_test_window): add more tests.
3733 (create_tree): split this out.
3734 (validate_accessible): bugfix.
3736 2001-12-11 Michael Meeks <michael@ximian.com>
3738 * cspi/bonobo/cspi-bonobo-listener.c:
3739 (cspi_kestroke_listener_unref),
3740 (cspi_event_listener_unref): impl. undoing previous
3741 homenous environment - for Bill.
3743 * cspi/spi_table.c (long_seq_to_array): use
3746 * cspi/spi_main.c: split out all bonoboish bits into
3749 * cspi/spi-impl.h: upd. typedefs.
3751 * cspi/spi_registry.c: update to lowlevel API,
3752 return booleans to indicate success in some places.
3754 * cspi/spi_event.c: update to lowlevel API.
3756 * cspi/bonobo/Makefile.am: add.
3758 * cspi/bonobo/cspi-lowlevel.h: add
3760 * cspi/bonobo/cspi-bonobo.c: add
3762 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
3764 * cspi/Makefile.am: remove spi-listener-impl.[ch],
3765 (SUBDIRS): add bonobo, link in the libs.
3767 * cspi/spi-util.c: kill this file.
3769 * TODO: merge in my bits.
3771 2001-12-11 Michael Meeks <michael@ximian.com>
3773 * test/test-simple.c (test_value, test_table, main):
3774 remove unused variables causing warnings.
3776 * configure.in: cleanup checks - require gail.
3778 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3781 Changed Value interface to use SValue (scalars) rather than
3782 assuming all values are floats. This allows floats, doubles,
3783 longs, shorts, and unsigned values to be manipulated.
3784 Introduced Accessibility:SValue union.
3787 Updated to use new API above, and to work correctly with GValues
3788 of different types in AtkValue.
3791 Updated to use new API above. cspi's API is as yet unchanged.
3794 Updated the Value revision action item.
3796 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3798 * test/test-simple.c:
3799 Added test_table (GtkTreeView widget in test window to follow).
3800 Un-commented test_value, added GtkRange widget.
3801 Added GtkTreeView widget with GtkListStore. It passes regression
3802 test but leaks one SPI object for some reason.
3805 Fixed bug in impl__set_currentValue.
3807 2001-12-10 Michael Meeks <michael@ximian.com>
3809 * cspi/spi_text.c: audit for exception handling,
3810 tolerating NULL object references safely etc.
3812 * cspi/spi_value.c: ditto.
3814 * cspi/spi_table.c (AccessibleTable_getSummary),
3815 (AccessibleTable_getAccessibleAt),
3816 (AccessibleTable_getRowHeader),
3817 (AccessibleTable_getColumnHeader),
3818 (AccessibleTable_getCaption): fix bugs hidden by
3820 (long_seq_to_array): impl.
3821 (AccessibleTable_getSelectedRows),
3822 (AccessibleTable_getSelectedColumns): use it.
3824 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3827 Added a TODO list (rough and short for now).
3829 * cspi/spi_hyperlink.c:
3830 * cspi/spi_hypertext.c:
3831 Fixed macro name typos, and remove use of obsolete macro in
3832 AccessibleHyperlink_getLink.
3834 * cspi/spi_action.c:
3835 * cspi/spi_accessible.c:
3836 * cspi/spi_application.c:
3837 * cspi/spi_component.c:
3838 * cspi/spi_selection.c:
3841 Documentation fixes (removed return values from ref/unref methods).
3843 2001-12-10 Michael Meeks <michael@ximian.com>
3845 * cspi/spi_action.c: audit for exception handling,
3846 tolerating NULL object references safely etc.
3848 * cspi/spi_accessible.c: ditto.
3850 * cspi/spi_component.c: ditto.
3852 * cspi/spi_editabletext.c: ditto.
3854 * cspi/spi_hyperlink.c: ditto.
3856 * cspi/spi_hypertext.c: ditto.
3858 * cspi/spi_image.c: ditto.
3860 * cspi/spi_selection.c: ditto.
3862 2001-12-10 Michael Meeks <michael@ximian.com>
3864 * configure.in: use cspi/libspi.pc.in instead.
3866 * Makefile.am (pkgconfig_DATA): upd. to match.
3868 * test/simple-at.c (report_focus_event): kill hacks around
3869 bad return values, use putenv not setenv
3871 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
3872 fire ChildGone - I killed it.
3874 * libspi/component.c
3875 (impl_accessibility_component_get_extents): remove
3878 * idl/Accessible.idl: kill ChildGone exception.
3880 * cspi/*.[ch]: kill int return from ref / unref.
3882 * cspi/spi_main.c (cspi_object_add_check): fold into
3883 (cspi_object_add): here.
3885 * cspi/spi_component.c (AccessibleComponent_getExtents):
3886 handle exceptions elegantly.
3888 * cspi/spi-private.h (cspi_check_ev_return),
3889 (cspi_return_if_fail): impl.
3891 * cspi/spi_accessible.c: use extensively.
3892 (AccessibleStateSet_equals): add direct compare check.
3894 * cspi/spi_selection.c: tolerate NULL objs, and check
3895 exceptions before return.
3897 * cspi/spi-util.c (cspi_warn_ev): rename to
3898 (cspi_check_ev): this & don't pass ev in; no point.
3900 2001-12-10 Michael Meeks <michael@ximian.com>
3902 * test/test-simple.c: use putenv not setenv
3903 (get_environment_vars): more chatty if you're not using
3906 * test/simple-at.c: do the setenv so more people see the
3909 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3911 * libspi/registry.c:
3912 Changed check of CORBA_environment on notification to be a warning
3913 instead of an error for the moment, since we can recover from this
3914 error when caused by a queued notification from a dead app.
3917 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
3918 used by all current implementors of AtkValue), and coerce to
3919 CORBA_float. (Proper general case fix may require change to Value.idl).
3921 2001-12-09 Bill Haneman <bill.haneman@sun.com>
3925 * cspi/spi_accessible.c:
3926 Documentation fixes: added user_data params to documentation for
3927 listeners and callbacks.
3929 * cspi/spi_accessible.c:
3930 Changed AccessibleStateSet_compare to return a
3931 StateSet rather than return the difference set into a third parameter.
3934 2001-12-09 Bill Haneman <bill.haneman@sun.com>
3937 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
3938 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
3942 Remove subdirectory po from SUBDIRS for now.
3944 * at-bridge/bridge.c:
3945 Beefed up a couple of debug printouts.
3946 One-line fix for signal notification name formatting.
3948 * libspi/accessible.c:
3949 Added assertion to spi_accessible_new ().
3951 * libspi/application.c:
3952 Put #ifdef qualifiers around a printf.
3955 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
3957 * registryd/Makefile.am:
3959 Replaces use of XML_I18N_MERGE_SERVER_RULE with
3960 INTLTOOL_SERVER_RULE macro.
3963 Added an event listener for several ATK signals, for
3964 testing and debugging. Removed a few g_warnings.
3965 Added test output if focussed item implements the Value interface.
3967 * test/test-simple.c:
3968 Added test_value () function (known not to pass at the moment, so
3969 not actually called yet.
3971 2001-12-08 Michael Meeks <michael@ximian.com>
3973 * at-bridge/bridge.c (bridge_focus_tracker),
3974 (emit_eventv): fix the same ref. leak.
3975 (register_atk_event_listeners): don't leak.
3977 * cspi/spi-listener-impl.c (cspi_event): more
3978 protection from client code.
3980 * test/test-simple.c (test_desktop): unref the app.
3982 * test/Makefile.am: upd. TESTS.
3984 * at-bridge/bridge.c (bridge_exit_func): release the registry.
3986 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
3988 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
3990 * cspi/spi_registry.c: constify in strings.
3991 (deregisterGlobalEventListenerAll): don't release the ref.
3993 * cspi/spi.h: start removing redundant / conflicting
3994 gtkdoc comments, making the API readable at a glance :-)
3996 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
3998 * test/keysynth-demo.c (keysynth_exit, main): upd.
4000 * test/simple-at.c (main, simple_at_exit): upd.
4002 * test/test-simple.c (unutterable_horror): kill.
4003 (utterable_normal_derefs): kill.
4004 (main): upd & do a setenv before gtk_init, so that we
4005 can use memprof - and to save the pain of remembering
4006 this, if we're running under memprof - don't exit.
4008 * cspi/spi_main.c (SPI_exit): return exit status
4010 (SPI_event_quit): impl.
4011 (SPI_event_main): simplify.
4012 (cspi_is_gnome_app): kill.
4013 (SPI_init): kill isGNOMEapp arg.
4015 * at-bridge/bridge.c (register_atk_event_listeners):
4016 re-instate the unref.
4017 (bridge_exit_func): don't re-activate the registry,
4018 protect vs. theoretical re-entry, use the
4019 AT_BRIDGE_SHUTDOWN env. var to determine whether to
4020 assert a clean shutdown - for regression tests.
4022 2001-12-08 Abel Cheung <maddog@linux.org.hk>
4024 * configure.in: Comment out dummy i18n support for now,
4025 otherwise it fails to build.
4026 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
4027 EXTRA_DIST. They are missing in tarball.
4029 2001-12-07 Michael Meeks <michael@ximian.com>
4031 * util/magnifier.c: kill bonobo activation reg. race.
4033 * libspi/component.c
4034 (impl_accessibility_component_get_extents): make it match
4037 * libspi/registry.c (_registry_notify_listeners):
4038 re-remove X headers & reconcile conflicts.
4039 (spi_listener_struct_free): bad conflict resolve.
4040 (impl_accessibility_registry_register_application):
4041 more bad merging fixed.
4042 (impl_accessibility_registry_deregister_application): ditto.
4043 (spi_registry_new): ditto.
4044 (spi_registry_init): don't have an applications field.
4046 [ merge fixups2 branch to here ]
4047 2001-12-07 Michael Meeks <michael@ximian.com>
4049 * test/simple-at.c (report_focus_event),
4050 (report_focussed_accessible): remove g_warning debug.
4052 2001-12-07 Michael Meeks <michael@ximian.com>
4054 * test/test-simple.c (validate_tree): comment out some checks.
4055 (test_desktop): app now not registered idly - horay.
4057 2001-12-07 Michael Meeks <michael@ximian.com>
4059 * cspi/spi_registry.c
4060 (registerAccessibleKeystrokeListener): clean, stop it leaking
4061 great swathes of memory, and device event controller references.
4062 ensure we always pass valid sequences.
4063 (deregisterAccessibleKeystrokeListener): ditto.
4064 (generateKeyEvent): upd.
4066 * at-bridge/bridge.c (bridge_key_listener): handle
4067 registry dead exception gracefully.
4068 (bridge_focus_tracker, emit_eventv): free ev.
4070 * test/simple-at.c (report_focus_event): fix polarity.
4072 * libspi/application.c (notify_listeners): kill the ev
4073 argument, and make sure we init the ev we use.
4074 (spi_application_object_event_listener): split out a chunk
4075 (get_atk_object_ref): here & fixup.
4076 (reverse_lookup_name_for_toolkit_event): make const.
4077 (spi_application_toolkit_event_listener): fixup, kill leaks
4080 * at-bridge/bridge.c (register_atk_event_listeners):
4081 don't unref the noop object - causes grief.
4083 * libspi/registry.c: remove the X headers.
4084 turn off the debug churn.
4086 * libspi/accessible.c (spi_accessible_new_return): only
4087 release the ref if we are supposed to [doh]
4089 * test/simple-at.c (report_button_press, report_focus_event):
4090 guard vs. unexpected exit.
4092 * at-bridge/bridge.c (gtk_module_init): prune printf.
4093 (bridge_exit_func): fix app unref.
4095 * libspi/Makefile.am: don't install registry or desktop.h
4097 * libspi/*.h: update includes.
4099 * libspi/application.h: don't include ourself, or
4100 other redundant headers.
4102 2001-12-06 Michael Meeks <michael@ximian.com>
4104 * libspi/accessible.c
4105 (get_accessible_from_servant): impl.
4106 Upd. all CORBA impl.s to use it killing cut and paste.
4108 * cspi/spi_main.c (cspi_cleanup): guard vs. double
4110 (SPI_init): register atexit cleanup handler here.
4112 2001-12-06 Michael Meeks <michael@ximian.com>
4114 * at-bridge/bridge.c (gtk_module_init): g_error on
4115 activation exception
4117 2001-12-06 Michael Meeks <michael@ximian.com>
4119 * at-bridge/bridge.c (gtk_module_init): some sort of
4120 confusing merge clash - reverted.
4121 (bridge_idle_init): ditto.
4123 * test/test-simple.c (main, utterable_normal_derefs):
4124 merge from Bill - somehow not committed.
4126 2001-12-06 Michael Meeks <michael@ximian.com>
4128 * libspi/value.c (spi_value_class_init): upd.
4129 (spi_value_finalize): kill.
4131 * libspi/table.c (spi_table_finalize): kill.
4132 (spi_table_interface_new): upd.
4133 (spi_table_class_init): upd.
4134 (get_table_from_servant): impl.
4135 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4137 * libspi/selection.c (spi_selection_finalize): kill.
4138 (spi_selection_interface_new): upd.
4139 (spi_selection_class_init): upd.
4140 (get_selection_from_servant): impl.
4141 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4143 * libspi/relation.c (spi_relation_finalize): kill.
4144 (spi_relation_class_init, spi_relation_new): upd
4146 * libspi/image.c (spi_image_finalize): kill.
4147 (spi_image_class_init): upd.
4148 (spi_image_interface_new): upd.
4149 (get_image_from_servant): impl.
4150 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4152 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
4153 (spi_hyperlink_finalize): kill.
4154 (spi_hyperlink_new): upd.
4155 (get_hyperlink_from_servant): impl.
4156 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4158 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
4159 (spi_hypertext_finalize): kill.
4160 (spi_hypertext_class_init): upd.
4161 (get_hypertext_from_servant): impl.
4162 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4164 * libspi/editabletext.c (spi_editable_text_finalize): kill.
4165 (spi_editable_text_interface_new): upd.
4166 (get_editable_text_from_servant): impl.
4167 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4169 * libspi/text.c (get_text_from_servant): impl.
4170 All impls - update to use it killing more cut and paste,
4171 also fix bad string returns on duff args ( a somewhat
4172 impossible case to handle - but hey ).
4173 (spi_text_construct): impl.
4174 (spi_text_interface_new): upd.
4175 (spi_text_object_finalize): kill.
4177 * libspi/component.c
4178 (accessibility_component_object_finalize): kill.
4179 (spi_component_class_init): upd.
4180 (get_component_from_servant): impl. helper to kill cut & paste.
4181 (impl_accessibility_component_contains):
4182 (impl_accessibility_component_get_accessible_at_point):
4183 (impl_accessibility_component_get_position):
4184 (impl_accessibility_component_get_extents):
4185 (impl_accessibility_component_get_mdi_z_order):
4186 (impl_accessibility_component_get_layer):
4187 (spi_component_interface_new): upd.
4189 * libspi/action.c (spi_action_finalize): kill.
4190 (spi_action_class_init): upd. inherit from SpiObject.
4191 (spi_action_interface_new): upd.
4192 (get_action_from_servant): impl. helper to reduce cut & paste.
4193 (impl_getKeyBinding, impl_getName, impl_doAction),
4194 (impl_getDescription): Use it everywhere.
4196 * cspi/spi_main.c (get_live_refs): a pointer hash.
4197 (spi_object_hash, spi_object_equal): comment out.
4198 There are issues with CORBA object hashing that need
4201 * libspi/application.c (spi_application_init),
4202 (spi_application_new): upd.
4204 * libspi/accessible.c (spi_accessible_object_finalize): kill.
4205 (spi_accessible_class_init): upd.
4206 s/accessible/object/ in epv methods.
4208 2001-12-05 Bill Haneman <bill.haneman@sun.com>
4210 * at-bridge/bridge.c:
4211 Reorder the bridge initialization into the bridge gtk_module_init,
4212 an immediate call to bridge_register_app, and an idle_add for
4213 register_atk_event_listeners (the only code that *must* wait until
4214 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
4215 the activation, creates the application's Accessible object, and
4216 queues the bridge_idle_init function. Restored call to
4217 Accessibility_Registry_deregisterApplication().
4218 Prior to making this call we obtain a new reference to the
4219 registry, which is a temporary hack that helps us handle apps that
4220 shut down the bonobo mainloop before we get there.
4222 * libspi/registry.c:
4223 Fix string leakage in debug block, and don't segv if a an app
4224 dies before its event notifications have been propagated.
4227 Modify cspi_check_ev() to call g_warning() rather than g_error(),
4228 as stopgap measure until we get proper exception handling when
4229 objects die during or before interrogation.
4233 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
4234 Also changed default value of is_gnome_app to TRUE.
4237 * test/keysynth-demo.c:
4238 Changed use of SPI_init and SPI_event_main to reflect API change above.
4241 Made report_focus_event check the warning value from getName
4242 before reporting on focussed accessible; simplifies handling of
4243 notifications from dead objects.
4245 * test/test-simple.c: (Changes not in this patch since source is
4248 2001-12-05 Michael Meeks <michael@ximian.com>
4250 * registryd/registryd.c (main): protect against
4251 bonobo-activation startup race condition.
4253 * cspi/spi_main.c (cspi_object_add_check): cope
4254 with the exception elegantly.
4256 * idl/Accessible.idl: decl. ChildGone
4258 * libspi/desktop.c (spi_desktop_dispose): impl.
4259 (spi_desktop_class_init): upd.
4260 (spi_desktop_add_application),
4261 (spi_desktop_remove_application),
4262 (abnormal_application_termination): impl.
4263 (impl_desktop_get_child_at_index): re-impl.
4266 (impl_accessibility_registry_deregister_application),
4267 (impl_accessibility_registry_register_application):
4268 kill excessive debug clutter.
4270 * test/test-simple.c (test_misc): test some NULL
4271 tolerance. (main): upd.
4273 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
4274 implements no interfaces - so let's not crash.
4276 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
4278 * libspi/accessible.c (spi_accessible_new_return): impl.
4279 helper to calm the cut and paste, to cope with
4280 NULL AtkObjects effectively and efficiently, and to kill
4281 the referencing bugs.
4283 * libspi/table.c (impl_getAccessibleAt),
4284 (impl_getRowHeader, impl_getColumnHeader): upd.
4286 * libspi/hyperlink.c (impl_getObject): upd.
4288 * libspi/accessible.c
4289 (impl_accessibility_accessible_get_child_at_index): upd.
4291 * libspi/component.c
4292 (impl_accessibility_component_get_accessible_at_point): upd.
4294 * test/test-simple.c (test_editable_text, test_text): impl.
4297 * cspi/spi_editabletext.c
4298 (AccessibleEditableText_insertText): constify.
4300 * test/test-simple.c (focus_me): make more robust.
4302 * libspi/accessible.c: remove some printfs in methods that
4303 we test and work fine, so we can get a clean tree dump.
4305 * test/test-simple.c (validate_accessible),
4306 (validate_tree): make tree dumping pretty too.
4308 * at-bridge/bridge.c (bridge_signal_listener): upd. so
4309 it builds without debug on.
4311 * test/test-simple.c (validate_accessible): fix the most
4314 * cspi/spi_main.c (spi_object_release): leave the nicely
4315 blanked memory around if in debug mode.
4317 * cspi/spi-listener-impl.c (cspi_event): use add_check.
4319 [committed to fixups2]
4320 2001-12-05 Michael Meeks <michael@ximian.com>
4322 * libspi/editabletext.c
4323 (spi_editable_text_class_init): g_type_class_peek_parent,
4324 not interface peek - so we finalize cleanly.
4326 * libspi/accessible.c (spi_accessible_new): kill debug.
4328 * test/test-simple.c (validate_accessible): fix ref.
4329 leak, print strings before freeing them; sigh, comment a
4330 chunk out due to strangeness.
4331 (validate_tree): unref the child after use.
4333 * cspi/spi_component.c (AccessibleComponent_getLayer):
4334 add missing break statement, switch on zlayer not the
4335 uninitialized retval.
4337 * cspi/spi_main.c (cspi_object_add): add assert, local ref
4338 before (possibly re-entering) remote unref.
4340 * test/simple-at.c (main): unref the desktop.
4342 * cspi/spi_accessible.c (cspi_accessible_is_a): move
4345 * cspi/spi_main.c (cspi_accessible_is_a): here to
4346 isolate bonobo API usage more.
4348 * libspi/registry.c (impl_accessibility_registry_register_application):
4349 prune bogus comment.
4351 2001-12-04 Michael Meeks <michael@ximian.com>
4353 * test/test-simple.c (validate_tree): upd.
4354 IndexInParent check to make it more lucid.
4355 (validate_accessible): dump the tree.
4357 * libspi/accessible.c (de_register_public_ref),
4358 (get_public_refs): impl.
4359 (spi_accessible_new): make more efficient & intuitive.
4360 Now IndexInParent check works.
4362 2001-12-04 Michael Meeks <michael@ximian.com>
4364 * cspi/spi-util.h: remove.
4366 * cspi/spi.h: move SPI_freeString here
4368 * libspi/component.c (impl_accessibility_component_get_layer):
4370 (impl_accessibility_component_get_mdi_z_order): ditto,
4371 return -1 on error - is this ok ?
4373 * test/test-simple.c (test_application): impl.
4375 * cspi/spi_accessible.c (Accessible_getApplication),
4376 (Accessible_isApplication): impl.
4378 * libspi/registry.c (spi_listener_struct_free): release
4379 the CORBA reference too.
4381 * libspi/accessible.c
4382 (impl_accessibility_accessible_get_parent): fix ref leak.
4384 * libspi/registry.c (spi_registry_new): make the registry
4385 immortal - we don't want it to go away ever.
4387 * libspi/application.c
4388 (spi_accessible_application_finalize): impl. cleanup.
4390 * cspi/spi_registry.c
4391 (deregisterGlobalEventListenerAll),
4392 (deregisterGlobalEventListener),
4393 (deregisterAccessibleKeystrokeListener): fix ref leak.
4395 * cspi/spi_main.c (SPI_init): remove redundant ref.
4397 * test/test-simple.c (unutterable_horror): impl. to force a
4402 (impl_accessibility_registry_deregister_application): release
4403 the application when we de-register it.
4405 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
4406 until we have the infastructure to get it right.
4408 2001-12-03 Michael Meeks <michael@ximian.com>
4410 * libspi/Makefile.am: only build eventlistener.[ch]
4412 * libspi/accessible.c
4413 (impl_accessibility_accessible_get_child_at_index): don't leak.
4415 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
4416 before we hit the idle handler.
4418 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
4419 debugging than exit.
4421 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
4423 * libspi/listener.c (impl_notify_event): check source
4424 not NIL before unref.
4426 * libspi/registry.c (impl_registry_notify_event): ditto.
4428 * libspi/eventlistener.c
4429 (impl_accessible_event_notify_event): unref the source.
4431 * libspi/accessibleeventlistener.c
4432 (impl_accessible_event_notify_event): unref the source.
4434 * idl/Event.idl: remove 'hash_id' attribute - of no
4437 * libspi/application.c (notify_listeners): upd list
4439 (spi_application_object_event_listener),
4440 (spi_application_toolkit_event_listener): upd to do correct
4444 (_registry_notify_listeners): update.
4445 (parse_event_type): this method also leaks like a sieve.
4446 (impl_accessibility_registry_deregister_global_event_listener):
4447 fix ETYPE_WINDOW case.
4449 * libspi/application.c
4450 (impl_accessibility_application_register_object_event_listener):
4453 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
4455 * libspi/hypertext.c (impl_getLink): ditto.
4457 * cspi/spi_main.c (cspi_object_add): remove
4458 bogus CORBA_Object_duplicate.
4460 * cspi/spi-listener-impl.c (cspi_event): dup/ref
4463 * cspi/spi_accessible.c
4464 (Accessible_getRelationSet): fix leak / referencing issue.
4466 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
4467 (cspi_object_add, cspi_object_unref): upd.
4468 (spi_object_release, get_live_refs): impl.
4469 (cspi_cleanup): simplify.
4471 * *.[ch]: s/boolean/SpiBoolean/
4473 * cspi/spi_accessible.c (role_names): actualy order so it
4474 corresponds with the enum !
4476 * test/test-simple.c (test_roles): check some role strings
4477 vs. enums to detect offset errors.
4479 2001-12-01 Michael Meeks <michael@ximian.com>
4481 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
4483 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
4485 (Accessible_getChildAtIndex): use cspi_add_check so we
4486 check the ev before using a (possibly) invalid value.
4488 * libspi/accessible.c
4489 (impl_accessibility_accessible_get_parent): don't segv
4492 * at-bridge/bridge.c (gtk_module_init): upd.
4493 (bridge_property_event_listener): don't leak strings
4495 (bridge_state_event_listener),
4496 (bridge_property_event_listener): don't use a static
4497 buffer in case of recursive event emission &
4498 re-enterancy - split out the swathe of cut and paste
4500 (emit_eventv): and fix 2 ref leaks here & comply to the
4502 (bridge_register_app): rename to
4503 (bridge_idle_init): this and kill arg parsing, split
4504 various inits & bonobo-activation registration to module
4505 init time, kill referencing error.
4506 (bridge_exit_func): fix the same leak.
4507 (bridge_focus_tracker): don't leak event structures
4509 (bridge_signal_listener): more leakage and cut & paste
4511 (bridge_key_listener): return the result - FIXME is
4512 this polarity correct ?
4513 (accessibility_keystroke_from_atk_key_event): rename
4514 (accessibility_init_keystroke_from_atk_key_event): and stop
4516 (gtk_module_init): return a value - not that it is checked by
4518 (bridge_key_listener): register my horror at casting between
4519 IDL defined structs.
4520 (bridge_get_registry): kill - not used.
4522 * cspi/spi_accessible.c (Accessible_getRole): make return const.
4524 * test/test-simple.c (test_roles): impl.
4525 (test_desktop, validate_accessible, validate_tree): impl.
4527 * cspi/spi_accessible.c (role_names): fixup bogus
4528 MAX_ROLES setup, make constants const for efficient linkage
4529 (AccessibleRole_getName): conform to coding style, make
4532 2001-11-30 Michael Meeks <michael@ximian.com>
4534 * cspi/spi.h: add missing prototype.
4536 * libspi/registry.c (spi_listener_struct_new): fix sig.
4538 * test/Makefile.am: add test-simple
4540 * test/test-simple.c: add
4542 * test/test.sh: add.
4544 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
4546 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
4547 do it straight - since otherwise we often get an activation race.
4549 [ work before Bill duplicated a chunk of it ... ]
4550 2001-11-30 Michael Meeks <michael@ximian.com>
4552 * libspi/keystrokelistener.c
4553 (spi_keystroke_listener_class_init): fixup arg
4556 * libspi/eventlistener.c
4557 (spi_event_listener_class_init): ditto.
4559 * tests/test.sh: add.
4561 * cspi/spi-listener-impl.h: update macros.
4563 * cspi/spi-listener-impl.c
4564 (cspi_event_listener_remove_callback): add
4565 correct pre-conditions.
4567 * cspi/spi_main.c (SPI_exit): guard vs. double
4568 exits, exit the mainloop nicely.
4569 (SPI_event_main): make more sense.
4570 (SPI_init): move the atexit evilness here so we
4571 always do it (yuck).
4572 (SPI_event_main): upd.
4574 * test/simple-at.c: update for listener changes.
4576 * registryd/registryd.c (main): prune kruft.
4578 * libspi/libspi.h: upd.
4580 * libspi/eventlistener.[ch]: rename broken macros.
4582 * libspi/accessibleeventlistener.[ch]: remove.
4584 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
4586 * test/test-simple.c: Add - automated tests.
4588 * cspi/spi-listener-impl.c (cspi_event),
4589 (cspi_key_event): add user_data to invoke.
4590 (cspi_keystroke_listener_finalize): impl.
4591 (cspi_keystroke_listener_class_init): upd.
4594 (createAccessibleEventListener),
4595 (AccessibleEventListener_addCallback),
4596 (createAccessibleKeystrokeListener),
4597 (AccessibleKeystrokeListener_addCallback): upd.
4599 * libspi/deviceeventcontroller.c
4600 (spi_device_event_controller_check_key_event): add public proto.
4603 (impl_accessibility_registry_deregister_global_event_listener):
4604 always init listeners.
4605 (_registry_notify_listeners): yes it is.
4607 * cspi/spi-listener-impl.c (cspi_key_event):
4609 (cspi_event_listener_finalize): impl.
4610 (cspi_event_listener_class_init): hook up.
4611 (event_handler_new, event_handler_free),
4612 (event_list_remove_by_callback): impl.
4613 (cspi_event_listener_remove_callback),
4614 (cspi_keystroke_listener_remove_callback),
4615 (cspi_keystroke_listener_add_callback),
4616 (cspi_event_listener_add_callback): upd.
4618 * libspi/keystrokelistener.c
4619 (keystroke_listener_object_finalize): kill
4620 (spi_keystroke_listener_class_init): upd.
4621 (spi_keystroke_listener_add_callback),
4622 (spi_keystroke_listener_remove_callback): kill,
4624 (impl_key_event): prune drasticaly.
4626 * libspi/eventlistener.c
4627 (spi_event_listener_add_callback),
4628 (spi_event_listener_remove_callback): kill, use
4630 (impl_accessible_event_notify_event): upd.
4631 (spi_event_listener_object_finalize): remove.
4633 * libspi/Makefile.am: use eventlistener.[ch]
4635 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4637 * libspi/registry.c (_registry_notify_listeners):
4638 Changed listener loop iteration to use preferred convention.
4639 Got rid of string memory leaks caused be calling g_strconcat
4640 inside function calls.
4642 * libspi/registry.c (parse_event_type):
4643 Stopped g_strconcat memory leaks, free the g_strsplit return,
4644 g_strdup the split pieces when used, etc.
4646 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4649 Change method 'compare' to return a 'difference set' rather than
4650 taking a StateSet as an out parameter (more Java-friendly).
4652 * idl/Accessible.idl:
4653 Added CORBA struct 'BoundingBox', to faciliate API changes below:
4655 * idl/Component.idl:
4657 Changed methods 'getExtents' and 'getImageExtents' in these
4658 interfaces to return a BoundingBox structure.
4659 (getPosition and getSize are redundant and possibly should be
4660 removed, rather than creating a corresponding Point struct.)
4662 * cspi/spi_component.c:
4663 Modify implementation of getExtents to reflect the above IDL
4668 Add (missing) AccessibleImage_getExtents () API.
4670 * docs/reference/cspi/at-spi-cspi-sections.txt:
4671 Added AccessibleImage_getImageExtents () to docs.
4673 2001-12-03 Bill Haneman <bill.haneman@sun.com>
4675 * idl/Component.idl:
4676 Added two methods, getLayer () and getMDIZOrder (), to reflect
4677 the new ATK methods atk_object_get_layer and
4678 atk_object_get_mdi_z_order. (Which arguably should be part of the
4679 AtkComponent API and AtkObject). Also added an enum,
4680 ComponentLayer, for the first method's return value.
4682 * libspi/component.c:
4683 Added implementations for these methods.
4685 * cspi/spi_component.c:
4687 Added cspi binding methods for above,
4688 AccessibleComponent_getLayer() and
4689 AccessibleComponent_getMDIZOrder().
4690 Added cspi enum 'AccessibleComponentLayer'.
4692 * docs/reference/cspi/at-spi-cspi-sections.txt:
4693 Added above methods to docs.
4697 Changed typedef for 'boolean' type (and all references to it) to
4698 SPIBoolean, to avoid keyword clashes with C++.
4701 Changed usages of 'boolean' to SPIBoolean.
4703 * test/keysynth-demo.c:
4704 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
4705 app), except where SPIBoolean is required by the callbacks API.
4707 2001-12-02 Bill Haneman <bill.haneman@sun.com>
4709 * cspi/spi_registry.c:
4710 Removed obsolete X event loop for passive keygrabs (which now
4713 * registryd/registryd.c:
4714 Removed unnecessary call to gdk_init() [cruft]. This also allows
4715 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
4718 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4720 * docs/reference/cspi:
4721 Included docs for SPI_freeString in generated documentation.
4724 Renamed spi_freeString to SPI_freeString, for consistency. Added
4725 documentation for this function.
4728 Renamed spi_freeString to SPI_freeString, for consistency.
4729 Removed obsolete method declaration string_from_corba_string.
4731 * test/keysynth-demo.c:
4732 Small tweak to comments.
4735 Stopped leaking the strings returned from CSPI.
4737 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4739 Merged Michael's branch (see his ChangeLog entries below).
4741 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
4742 bridge is alive, release on exit.
4744 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
4745 Fix type check macro.
4748 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
4751 Added is_gnome_app static, and method cspi_is_gnome_app(),
4752 so we can call the appropriate shutdown routine at exit in SPI_exit.
4754 * cspi/spi_main.c (cspi_object_ref):
4755 Duplicate the corba object passed in, since we're keeping it around.
4757 * cspi/SPI_exit.c, cspi_cleanup:
4758 Moved the releasing of the live refs to its own function, so we
4759 can put it in g_atexit (). Call the appropriate shutdown API
4760 depending on whethe calling client is a gnome app or not
4761 (bonobo_main_quit or CORBA_ORB_shutdown).
4763 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
4764 Unref the listener when this method is called, after
4765 deregistration. Updated the API docs to note this behavior.
4767 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
4768 Bugfixes: Ref the bonobo object when returning a parent or child
4769 reference, or an AccessibleRelation. Generally made sure
4770 BonoboObject refcount is incremented whenever we return an
4773 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
4774 Fixed typo/bug in signal declaration.
4776 * libspi/accessibleeventlistener.h:
4779 * libspi/application.c (spi_application_new):
4780 Fixed leak in initialization.
4783 Remembered to increment bonobo-object refcount when returning
4784 children (applications) from desktop object.
4785 Added (empty) finalize method.
4787 * libspi/deviceeventcontroller.c:
4788 Hold a ref to listeners inside DEControllerKeyListeners.
4789 Added dec_key_listener_free() method. Use prepend instead of
4790 append in key_listener list. Fixed some refcount madness and
4791 leaks in the listener registration/deregistration - deregistration
4792 now calls dec_key_listener_free() on listeners, and on the
4793 temporarily constructed dec_key_listener() used to perform the search/match.
4795 * libspi/hypertext.c (spi_hypertest_finalize):
4796 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
4797 class. Also fixed spi_hypertext_interface_new() and
4798 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
4800 * libspi/hypertext.h:
4801 Removed pointless and duplicate AtkObject pointer from
4804 * libspi/keystrokelistener.c:
4805 Fixed incorrect type of keystroke_listener_parent_class,
4806 renamed keystroke_listener_object_finalize to
4807 spi_keystroke_listener_object_finalize.
4808 Fixed typo in signal declaration
4809 (spi_keystroke_listener_class_init).
4811 * libspi/registry.c:
4812 Added funcsions spi_listener_struct_new() and
4813 spi_listener_struct_free() to help with memory management issues.
4814 We also now use these methods instead of gnew + poking stuff into
4815 the struct, and to decrement listener counts/free the listeners
4816 when deregistering them.
4817 Fix more refcount bugs in getDesktop() and
4818 getDeviceEventController().
4821 De-ref the desktop after enumerating the applications. Explicitly
4822 decrement the refcounts on the created listeners on exit (using
4823 _unref for keystroke listeners, and via the
4824 deregisterGlobalEventListenerAll command for other event
4827 2001-11-27 Michael Meeks <michael@ximian.com>
4829 * cspi/spi-listener.h: fixup enum.
4831 2001-11-27 Michael Meeks <michael@ximian.com>
4833 * cspi/spi-listener-impl.c (cspi_event_listener_new),
4834 (cspi_keystroke_listener_new): Use the cspi variants.
4836 2001-11-26 Michael Meeks <michael@ximian.com>
4838 * test/keysynth-demo.c: fix 2 compile warnings, missing
4841 * test/simple-at.c (report_focussed_accessible),
4842 (report_focus_event, report_button_press),
4843 (check_property_change, is_command_key),
4844 (report_ordinary_key_event, report_command_key_event): upd.
4846 * util/mag_client.h: include pre-requisites.
4848 * libspi/accessibleeventlistener.c
4849 (spi_event_listener_object_finalize): free any lingering
4852 * libspi/keystrokelistener.c
4853 (keystroke_listener_object_finalize): ditto.
4855 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
4856 callbacks, with cspi types.
4858 * cspi/spi_event.c (createAccessibleEventListener): chain to
4859 (AccessibleEventListener_addCallback): here.
4860 (createAccessibleKeystrokeListener): chain to
4861 (AccessibleKeystrokeListener_addCallback): here.
4863 * libspi/keystrokelistener.c
4864 (spi_keystroke_listener_class_init): add signal.
4865 (impl_key_event): emit the event.
4866 (boolean_handled_accumulator): impl.
4867 (marshal_BOOLEAN__POINTER): add, gack.
4869 * libspi/accessibleeventlistener.c
4870 (spi_event_listener_class_init): add signal.
4871 (impl_accessible_event_notify_event): emit the signal &
4872 make the loop efficient.
4873 (spi_event_listener_add_callback): prepend the callback.
4875 * libspi/accessibleeventlistener.h: add an 'event' signal,
4876 decl type on callback.
4878 * libspi/keystrokelistener.h: ditto.
4880 * cspi/spi-listener.h: make methods typesafe and
4881 make them use the new event typedefs.
4883 * test/simple-at.c (report_focussed_accessible):
4884 include mag_client.h
4885 Use *(void *)text_interface not the other thing.
4887 * configure.in: add gtk to registryd bits - since we use
4890 * util/magnifier.c: include libbonobo.h
4892 2001-11-25 Bill Haneman <bill.haneman@sun.com>
4894 * test/keysynth-demo.c:
4895 Turned this into a simple scanning keyboard, to demonstrate the
4896 use of g_timeout_add () as a means of creating timers for
4897 scanning, and the use of GtkStyle for visually indicating when
4898 virtual keyboard elements are selected.
4900 keysynth-demo now listens to any keyboard keys with zero-valued
4901 keycodes (i.e. 'unused' keys) and interprets them as
4904 Reworked the shiftlatch code so that shift-down state isn't held
4905 for long periods (it's only synthesized immediately prior to
4906 the keysynth event it's modifying). Note that shiftlatch in this
4907 demo is a convenience, not intended to take the place of AccessX
4908 which is the better choice for getting 'sticky' modifier keys.
4910 * libspi/deviceeventcontroller.c:
4911 * at-bridge/bridge.c:
4912 * cspi/spi_registry.c:
4913 Removed some debug print stuff, and put other verbosity in #ifdef
4918 Implemented some more of the magnifier IDL for the simple
4919 magnifier: namely, getZoomRegionParams.
4920 Added mag_x and mag_y members to MagnifierData struct, aid of this
4922 Added GtkWindow::realize signal handler to magnifier, to keep it
4923 from receiving keyboard focus from the WM.
4925 2001-11-23 Mark McLoughlin <mark@skynet.ie>
4927 * cspi/spi-private.h: my guess at what michael forgot
4928 before he ran off to NZ :-)
4930 2001-11-23 Michael Meeks <michael@ximian.com>
4932 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
4933 comment out non existant method invoke so we link.
4935 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
4936 use bonobo_exception_get_text for more friendly warnings.
4938 * cspi/spi.c (Obj_Add): move into spi_main & rename
4939 spi_object_add; kill spi.c
4941 * cspi/spi_registry.c
4942 (deregisterGlobalEventListener),
4943 (deregisterGlobalEventListenerAll),
4944 (registerGlobalEventListener): fix exception leaks.
4946 * cspi/spi_main.c (spi_exception): impl. helper, so we
4947 don't leak exceptions.
4949 * cspi/spi_selection.c
4950 (AccessibleSelection_deselectSelectedChild): return the
4953 * cspi/spi_main.c (spi_ev): impl; hack - gack.
4954 (spi_registry): ditto.
4955 (SPI_init): guard against double inits.
4957 * cspi/*.c: use spi_ev (), and spi_registry () where
4958 appropriate - a temporary hack until we have something
4959 better. Use spi_object_add
4961 2001-11-22 Michael Meeks <michael@ximian.com>
4963 * cspi/Makefile.am: re organise, install the headers.
4965 * cspi/*.h: add G_BEGIN/END_DECLS
4967 2001-11-22 Bill Haneman <bill.haneman@sun.com>
4970 Added non-preemptive keylistener for key events with no modifiers
4971 and shift-only modifier.
4973 * libspi/keystrokelistener.c:
4974 Removed some verbose diagnostics printout.
4976 * cspi/spi_registry.c:
4977 Fixed a bug that caused all key listeners to be registered as
4980 * libspi/deviceeventcontroller.c:
4981 Fixed bug that caused XGrabKey (preemptive key grab) to be called
4982 for non-preemptive key masks.
4985 2001-11-22 Bill Haneman <bill.haneman@sun.com>
4987 * docs/reference/idl/at-spi-idl-docs.sgml:
4988 * docs/reference/idl/at-spi-idl-sections.txt:
4989 * docs/reference/idl/at-spi-idl-overrides.txt:
4990 Added missing files.
4992 * docs/reference/Makefile.am:
4993 removed idl from SUBDIRS until we can figure a way to get gtk-doc
4994 to scan the IDL files :-(
4999 Added .cvsignore files.
5001 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5003 * libspi/deviceeventcontroller.c:
5004 * libspi/keystrokelistener.c:
5006 * cspi/spi_registry.c:
5007 Added filters for KeySets, KeyEventSeq, and event types to key
5008 event dispatching, so listeners should only receive those events
5009 that they requested :-)
5011 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5016 * docs/reference:Makefile.am:
5017 * docs/reference/cspi:
5018 * docs/reference/cspi:Makefile.am:
5019 * docs/reference/cspi:tmpl:
5020 * docs/reference/cspi:tmpl:*.sgml:
5021 * docs/reference/idl:
5022 * docs/reference/idl:Makefile.am:
5023 * docs/reference/idl:at-spi-idl-sections.txt:
5024 * docs/reference/idl:at-spi-idl-docs.sgml:
5025 * docs/reference/idl:tmpl:
5026 * docs/reference/idl:tmpl:*.sgml:
5028 Restructured docs directory to allow separate 'reference' docs
5029 section, and forked idl and cspi docs. Added the sgml template
5030 files to CVS. Added the first sections/structural sgml for the
5033 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
5035 * configure.in, libspi/Makefile.am: find libXtst.
5037 2001-11-21 Michael Meeks <michael@ximian.com>
5039 * test/accessx-gui.c: s/spi_value/value/ - doh.
5041 * libspi/base.[ch]: add.
5043 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5045 * idl/Accessible.idl:
5046 * idl/Application.idl:
5049 Started gtk-doc cleanup on IDL.
5051 * libspi/deviceeventcontroller.c:
5052 Added and connected non-preemptive key notification from the
5053 toolkits (in addition to the pre-emptive support from XServer
5054 which we had before, but which causes 'focus flashing'). Filters
5055 are presently limited to key modifiers and global/non-global,
5056 KeySets are presently ignored, as are KeyEvent masks.
5058 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
5059 structs into the persistant structure rather than just storing
5060 pointers to things that might not persist across servant
5063 The XGrabKey call now does async keygrabs, because synchronous
5064 ones were deadlocking with GDK_event code in a very nasty way.
5066 Added boolean to internal method notify_keylisteners, to indicate
5067 whether the event came from the 'toolkit source' or the 'global
5068 (XServer) source' - this is used in the notification process to
5069 determine which listeners to send the event to.
5071 deviceeventcontroller.c is now warning-free.
5073 * libspi/registry.c:
5074 Fixed regression in application de-registration.
5075 Also fixed some really brain-dead weirdness having to do with
5076 event dispatching - event structs are now duplicated before being
5077 re-marshalled in the dispatch to listeners. This also fixes a
5078 Solaris build problem.
5081 2001-11-20 Michael Meeks <michael@ximian.com>
5084 (impl_accessibility_registry_deregister_global_event_listener):
5087 * libspi/deviceeventcontroller.c
5088 (spi_device_event_controller_check_key_event): return
5089 FALSE on no virtual method.
5091 * libspi/*..h: make includes work on a correctly pathed install.
5093 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
5095 * libspi/application.h: kill unused ( and whacked out )
5096 gboolean *spi_application_set_id (AtkObject *app, long id);
5098 2001-11-20 Michael Meeks <michael@ximian.com>
5100 * libspi/*.[ch]: further convert to bonobo's type func
5101 macros, remove redundnant casts etc.
5103 * libspi/text.c s/accessibility_text/spi_text/g,
5104 re-order to de-cruft.
5106 * libspi/hypertext.c: re-order to kill a huge slew
5107 of redundant forward decls.
5109 * libspi/relation.c: ditto.
5111 * libspi/image.c: ditto.
5113 * */.cvsignore: update
5115 2001-11-20 Michael Meeks <michael@ximian.com>
5117 * libspi/deviceeventcontroller.c
5118 (_controller_register_with_devices): use g_getenv,
5119 kill stdlib.h include.
5121 * libspi/keystrokelistener.c
5122 (spi_keystroke_listener_get_type): kill
5123 (spi_keystroke_listener_class_init),
5124 (spi_keystroke_listener_init): rename to this.
5126 * libspi/text.c (impl_getAttributes): fix warning / bug.
5128 * libspi/*.[ch]: more headers, includes and over commenting.
5130 2001-11-20 Michael Meeks <michael@ximian.com>
5132 * libspi/*.[ch]: fixup headers, includes and over commenting.
5134 * libspi/image.c (impl__get_imageDescription): const
5135 correctness warning fix. remove redundant casting.
5137 * libspi/table.c (impl_getRowDescription): ditto.
5138 (impl_getColumnDescription): ditto.
5140 * libspi/libspi.h: add.
5142 2001-11-19 Michael Meeks <michael@ximian.com>
5144 * libspi/editabletext.c (impl_setAttributes): fix warnings.
5146 * libspi/component.c (accessibility_component_get_type):
5147 rename to (spi_component_get_type): and macroify.
5148 (accessibility_component_init): rename to
5149 (spi_component_init): this
5150 (accessibility_component_class_init): rename to
5151 (spi_component_class_init): this
5153 * libspi/action.c (spi_action_get_type): kill, use the macro.
5155 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
5158 * libspi/application.c (spi_application_object_event_listener),
5159 (impl_accessibility_application_register_object_event_listener):
5160 warning fixes / const understanding updates.
5162 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
5165 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5167 * libspi/spi_accessible.c: Added docs and C bindings for
5168 AccessibleStateSet. (No implementations yet). Documentation
5169 coverage for C bindings now 100%. Made docs for event listeners
5174 boolean notifyListenersSync (in DeviceEventListener listener,
5175 in DeviceEvent event);
5177 oneway void notifyListenersAsync (in DeviceEventListener listener,
5178 in DeviceEvent event);
5180 Added DeviceEventListener and DeviceEvent structs (may deprecate
5181 KeyStroke and KeystrokeListener in favor of this generic
5182 event/listener framework for devices).
5184 * libspi/deviceeventcontroller.c:
5186 Changed some key listener code to take masks, etc., and paved the
5187 way for integration of toolkit/non-preemptive key events. Changed
5188 signatures of some internal methods.
5190 * at-bridge/bridge.c:
5191 Fixed regression connecting to interface signals, apparently
5192 caused by GTK+ changes.
5194 Added an internal bridge_state_listener to deal with
5195 property-change:accessible-state signals.
5197 Changed the key_listeners GList to store structs (including masks,
5198 etc.) instead of just CORBA_Objects (required for full
5199 implementation of key listener API).
5201 Connected the bridge to all currently supported Atk signals.
5202 Events now supported:
5203 object:property-change
5204 object:property-change:accessible-name
5205 object:property-change:accessible-state
5206 object:property-change:accessible-description
5207 object:property-change:accessible-parent
5208 object:property-change:accessible-value
5209 object:property-change:accessible-role
5210 object:property-change:accessible-table-caption
5211 object:property-change:accessible-table-column-description
5212 object:property-change:accessible-table-column-header
5213 object:property-change:accessible-table-row-description
5214 object:property-change:accessible-table-row-header
5215 object:property-change:accessible-table-summary
5216 object:children-changed
5217 object:visible-data-changed
5218 object:selection-changed
5219 object:text-selection-changed
5221 object:text-caret-moved
5223 object:row-reordered
5225 object:column-inserted
5226 object:column-reordered
5227 object:column-deleted
5228 object:model-changed
5230 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5232 * libspi/hyperlink.c,h:
5233 Fixed some broken stuff in hyperlink.
5235 * libspi/relation.h:
5236 * libspi/relation.c:
5237 * cspi/spi_accessible.c:
5238 Initial implementations of AccessibleRelation methods, and docs.
5240 * libspi/accessible.c:
5241 Fixed a bug that caused SEGV if an accessible
5242 object's description is NULL, and a client
5243 requests it. An empty string is now returned.
5245 * cspi/spi_editabletext.c:
5246 * cspi/spi_hypertext.c:
5248 * cspi/spi_hyperlink.c:
5252 Doc coverage now 95%.
5254 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5256 One last namespacing revision:
5257 * libspi/accessibleeventlistener.[ch]:
5258 Renamed SpiAccessibleEventListener to SpiEventListener,
5259 (no need for two namespaces ;-)
5261 And lots of documentation fixes:
5263 * docs/at-spi-docs.sgml:
5264 Fixed 'underscore vs. hyphen' bug that was preventing
5265 the gtk-doc API docs from being automatically generated.
5268 * cspi/spi-listener.h
5270 * cspi/spi_accessible.c
5272 * cspi/spi_application.c
5273 * cspi/spi_component.c
5274 * cspi/spi_editabletext.c
5276 * cspi/spi_hypertext.c
5278 * cspi/spi_registry.c
5279 * cspi/spi_selection.c
5283 * docs/at-spi-docs.sgml
5284 * docs/at-spi-sections.txt
5286 Added and fixed up gtk-doc documentation in cspi.
5288 Interfaces now (fully) documented (subject to revision and enhancement):
5290 Event Listener Support
5292 AccessibleApplication
5296 AccessibleEditableText
5303 AccessibleRelationSet
5308 2001-11-14 Bill Haneman <bill.haneman@sun.com>
5310 * at-bridge/bridge.c:
5311 Initial work for toolkit-level key snooper connection by bridge.
5316 New typedefs and fixes to support new namespacing, and cleaner
5317 separation of cspi bindings from libspi bonobo implementation.
5318 Removed inconsistent and extraneous Spi* namespace prefix that
5319 had crept into cspi headers.
5320 Lots of comment fixes that sed had missed.
5322 * cspi/spi-roletypes.h:
5323 * cspi/spi-statetypes.h:
5324 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
5325 to AccessibleRoleType.
5327 * libspi/accessibleeventlistener.h:
5328 Fixed minor namespacing weirdness.
5330 * libspi/deviceeventcontroller.c:
5331 Reordered some internal API for device listeners.
5332 Changed the key registry final boolean to 'is_system_global'
5333 rather than 'is_synchronous', which is more descriptive of its
5335 Added spi_device_event_controller_new().
5336 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
5338 * libspi/keystrokelistener.[ch]:
5339 Namespaced KeystrokeListener to SpiKeystrokeListener.
5340 Changed uses of keymasks to use SPI_ prefix, and did other
5343 * libspi/keymasks.h:
5344 Namespaced keymask constants with SPI_ prefix.
5346 * libspi/registry.c:
5347 Some warning fixes, and knock-on fixes from namespace changes.
5350 Added rules for accessx-gui test program.
5352 * test/accessx-gui.c:
5353 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
5354 utility. It doesn't actually use at-spi, but it's still cool and
5357 * test/keysynth-demo.c:
5361 Fixes so that these test clients work properly with the namespaced
5362 libraries. (Incompletely tested for technical reasons, fixes may follow)
5365 2001-11-13 Michael Meeks <michael@ximian.com>
5367 * libspi/application.c
5368 (impl_accessibility_application_get_version),
5369 (impl_accessibility_application_get_toolkit_name):
5371 (impl_accessibility_application_set_id),
5372 (impl_accessibility_application_get_id): remove
5373 redundant casting code.
5375 * libspi/action.c (impl_getDescription): fix warnings.
5377 * libspi/accessible.c
5378 (impl_accessibility_accessible_get_parent),
5379 (impl_accessibility_accessible_get_child_at_index),
5380 (impl_accessibility_accessible_get_state),
5381 (impl_accessibility_accessible_get_relation_set):
5382 warning fixes & include action.h
5384 2001-11-13 Michael Meeks <michael@ximian.com>
5386 * *.[ch] fix bits I screwed up:
5388 s/([^ \tb(\*\&\?\",])spi_/\1/g;
5389 s/([^ \tb(\*\&\?\",])Spi/\1/g;
5391 2001-11-13 Michael Meeks <michael@ximian.com>
5393 * *.[ch] Namespace libspi into spi_ and Spi.
5395 2001-13-11 Michael Meeks <michael@ximian.com>
5397 * Makefile.am: dist & install at-spi-1.0.pc
5399 * libspi/Makefile.am: install into at-spi-1.0
5401 * idl/Makefile.am (idldir): install into at-spi-1.0
5403 * at-spi-1.0.pc.in: add.
5405 * configure.in: build it.
5407 2001-11-12 Bill Haneman <bill.haneman@sun.com>
5409 * test/keysynth-demo.c:
5410 Use a 'realize' signal-handler to set the WM properties for
5411 the virtual keyboard, rather than making it a "POPUP" type
5412 override-redirect window (thanks to anders carlsson for that
5415 2001-11-11 Bill Haneman <bill.haneman@sun.com>
5418 * test/keysynth-demo.c:
5419 Added new test of key synthesis, which creates a simple
5420 (mouse-operated) onscreen keyboard. It inserts key events into
5421 the currently-focused window, thus it does not grab keyboard focus
5424 * cspi/spi_registry.c:
5425 Added C binding for AT-SPI generateKeyEvent.
5427 * libspi/deviceeventcontroller.c:
5428 Added call to XFilterEvent so that key listener works with XIM (we
5429 hope). Added event_synth_type to generateKeyEvent, so that we can
5430 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
5431 synthesize a press/release pair for KeySyms.
5433 2001-11-09 Bill Haneman <bill.haneman@sun.com>
5435 * libspi/Makefile.am:
5436 * registryd/Makefile.am:
5437 (temporary) hack to include libXtst in libspi and registryd.
5438 (Needed for keystroke synthesis, see below).
5441 Improved API for registerKeystrokeListener, in accordance with
5442 discussions with Gnopernicus team and X server research.
5444 * libspi/registry.c:
5445 * libspi/deviceeventcontroller.c:
5446 * libspi/accessible.c:
5447 * libspi/keystrokelistener.c:
5448 Changes and fixes to support keylisteners for potentially
5449 consumed key events (that is, 'passive grabs').
5450 Added implementation for generateKeyEvent() [untested].
5453 Changes to registerKeystrokeListener() API, as above.
5454 Added deregisterGlobalEventListenerAll(), and
5455 deregisterKeystrokeListener(), which are needed for clean exit of
5457 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
5458 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
5460 * cspi/spi_registry.c:
5461 Added implementations of function prototypes mentioned above.
5463 * registryd/registryd.c:
5464 Added the key listener event source as a g_timeout(), to allow
5465 receipt of key events that are not caught by GDK (since GDK
5466 doesn't support passive keygrabs, this was necessary).
5469 Changed to attach a keylistener to 'Alt' keys, and
5470 respond to the following keycommands: Alt-M (toggle magnifier);
5471 Alt-F (toggle speech); Alt-Q (quit).
5472 Added an exit routine to deregister the listeners, and a key
5473 listener that prints some key info to the console when a key
5474 matches the listener mask (and is thus received by the listener).
5476 * util/idl/Magnifier.idl:
5477 Changes to magnifier API to support multiple zoom regions,
5478 non-uniform scaling in x and y, markDirty, and a host of other
5479 features that would be useful to magnification.
5482 * util/mag_client.c:
5483 * util/mag_client.h:
5484 * util/mag_control.c:
5486 Source code changes to support the above IDL changes.
5489 As above, and also changes to use a (slower) generic conversion
5490 path for colormap conversions, since the fast RGB conversions have been
5491 reported to fail for 16-bit displays.
5493 2001-10-26 Michael Meeks <michael@ximian.com>
5495 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
5497 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
5499 * at-bridge/Makefile.am: fix LDFLAGS.
5501 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5503 * at-bridge/bridge.c:
5504 Re-worked listeners for toolkit events, now we have signal
5505 and property listeners. Added a private method
5506 register_atk_event_listeners(), which registers with the
5507 various atk and gtk signals we need to monitor in order to emit
5509 Added emission hook for AtkObject:property-change events, to
5510 support the 'property listeners'.
5511 Fixed some alloc()s of Accessibility_Event structs to use CORBA
5514 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
5515 which emit warnings and exit, respectively, if CORBA errors occur
5516 during remote calls, and we now use these methods to check most of
5517 our CORBA calls in the C bindings.
5519 * cspi/spi_accessible.c:
5520 Changed AccessibleSelection_refSelectedChild() to
5521 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
5522 now increment refcounts.
5524 * cspi/spi_component.c:
5525 Fixed some long pointer casts (dangerous!) to pass pointers to
5526 CORBA_longs of the proper type to the CORBA stubs, and copy the
5527 data into the longs that were passed into the C bindings code.
5529 * at-bridge/bridge.c:
5531 * libspi/accessible.c:
5532 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
5533 hyperlinks, AtkHyperlink is an object type.
5535 * libspi/application.c:
5536 Added various conversions to and from "generic" event types and
5537 atk-specific types; this is really part of the 'bridge'
5538 implementation but is valid for all AtkObject-based accessibility
5541 * libspi/editabletext.c:
5542 Fixed nasty bug wherein editable text's finalize method was
5543 unref'ing tha AtkObject reference that the text parent class was
5544 about to unref _again_. There was also a nasty inheritance bug
5545 that meant that the AccessibleEditableText class was corrupt.
5547 * libspi/selection.c:
5548 Provided implementations for some selection API that was broken.
5550 * idl/Application.idl:
5551 Added registerObjectEventListener () method.
5554 Fixed a number of return values that were Bonobo_Unknowns from
5555 bonobo_object_corba_objref(), which I
5556 forgot to dup before returning. Changed instances of
5557 bonobo_object_corba_objref (bonobo_object(o)) to
5558 BONOBO_OBJREF(o), for concision and clarity.
5560 2001-10-13 Louise Miller <louise.miller@sun.com>
5562 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
5563 idl/Event.idl, idl/Registry.idl
5564 Changed these files to include Bonobo_Unknown.idl instead
5567 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
5569 * libspi/component.c libspi/component.h:
5570 Fixed typo. Added assertions for object checks in
5571 AccessibleComponent code.
5573 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5575 * idl/Accessible.idl:
5576 Added 'isEqual (Accessible *object)'
5577 method for Accessible. (Not Yet Implemented).
5580 Changed signature of registerKeystrokeListener() to
5581 take a KeySet and KeyEventSeq so that specific keys and event
5582 types could be requested for monitoring, and added a flag
5583 is_synchronous so that either synchronous or asynchronous
5584 notification could be requested. (However this is not all
5585 implemented yet). This also meant adding two new typedefs,
5586 KeyEventSeq and KeySet.
5589 Added two new relations, RELATION_TOOLTIP_FOR and
5590 RELATION_LEAFNODE_OF.
5593 Added new state, STATE_HAS_TOOLTIP.
5595 * libspi/text.c, editabletext.c:
5596 Added new assertions to all casts of bonobo-objects from
5597 CORBA servants, to prevent Text API calls on non-text objects.
5598 Changed suspect casts of int-pointer types, so that we
5599 always send a valid CORBA_long pointer to the CORBA APIs that use
5600 in/out long parameters. We then have to copy from the CORBA_long
5601 into the regular long or int for return to the C bindings, or
5602 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
5605 * libspi/deviceeventcontroller.c:
5606 Cleaned these sources up.
5608 Changed return type for getCharacterAtOffset to
5609 CORBA_unsigned_long, to allow for 32-bit characters.
5612 2001-10-08 Bill Haneman <bill.haneman@sun.com>
5616 Fixed 'make dist' so that distro compiles...
5617 * libspi/keymasks.h:
5619 * cspi/spi-listener.c:
5620 KeystrokeListenerCB now returns a boolean.
5622 Added KeyEventType struct, and KeyStroke.
5623 Also added createKeystrokeListener(),
5624 KeystrokeListener_addCallback(),
5625 KeystrokeListener_removeCallback(), and added a keymask to
5626 registerKeystrokeListener().
5627 * cspi/spi_accessible.c:
5628 Changed numerous return types for interfaces from
5629 AccessibleComponent to Accessible<InterfaceName>; this was
5630 probably a cut-and-paste error.
5632 Implementations of new KeystrokeListener api (from spi.h,
5635 Changes to key modifier mapping.
5636 Created ControllerEventMask struct.
5637 Made DeviceEventController derive from Bonobo::Unknown.
5639 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
5640 * libspi/deviceeventcontroller.c:
5641 Added a number of new internal (private) methods.
5642 * libspi/editabletext.c:
5643 * libspi/editabletext.h:
5644 Fixed a number of bugs related to the fact that
5645 editabletext inherits from text. Fixed the EditableText struct,
5646 the init() call, and use correct casts when calling Text methods
5647 from an EditableText object. Removed (duplicate) atko from the
5648 EditableText structure, we use the one in the parent Text
5649 structure via the casts mentioned above.
5650 * libspi/keystrokelistener.[ch]:
5651 * libspi/registry.c:
5652 Changes in support of keyboard handling (above).
5654 Keyboard handling, though partly functional, is still not
5655 recommended for at-spi client use as there is considerable
5656 work yet to be done.
5659 Changed some places where pointers to various int types
5660 are cast to be pointers to CORBA_long types and vice-versa:
5661 pointer casting is not safe so we pass pointers of the correct
5662 types and then cast the result before putting it into the target
5665 * libspi/text.h: minor typos corrected.
5667 We now speak not only the name of a Text element, but the
5668 first sentence of its content, when it receives focus.
5669 I also changed the text compression to 75% from 50%.
5670 * util/Accessibility_Util.server.in:
5671 Changed the default magnifier type to be a 3x vertical
5672 splitscreen magnifier (was previously a 2x horizontal one).
5674 2001-10-03 Bill Haneman <bill.haneman@sun.com>
5676 * libspi/keystrokelistener.h:
5677 * libspi/keystrokelistener.c:
5678 Initial functional implementations of KeystrokeListener.
5681 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
5683 Fixed string handling for NULL strings in libspi.
5684 Added spi_freeString to free strings returned by C bindings.
5686 2001-09-30 Bill Haneman <bill.haneman@sun.com>
5688 * libspi/keystrokelistener.h:
5689 * libspi/keystrokelistener.c:
5690 Began (no-op) implementations of KeystrokeListener
5692 * libspi/deviceeventcontroller.c:
5693 * libspi/deviceeventcontroller.h:
5694 Began creating implementations of DeviceEventController,
5695 to handle keystroke and mouse event listening and
5697 * libspi/accessible.c:
5698 Stubbed-in the implementations for
5699 Accessibility_Accessible_getState and
5700 Accessibility_Accessible_getRelationSet.
5701 * libspi/registry.c:
5702 Improved de-registration process and fixed some bugs,
5703 deregistration now works correctly.
5705 Added initialization of applications list (to NULL).
5707 Reduced speech compression from 0.5 to 0.7, for demo.
5708 Changed call to gdk_window_set_decorations()
5709 to gtk_window_set_decorated().
5710 * at-bridge/bridge.c:
5711 Bridge now deregisters when app exits, via
5712 registration of a cleanup function
5713 with the g_atexit() call.
5714 Required making 'app' static, renamed 'this_app'.
5715 Fixed broken use of bonobo_init, passing argv wrongly.
5717 2001-09-27 Bill Haneman <bill.haneman@sun.com>
5721 Created a new directory for
5722 accessibility-related utilities, primarily for
5723 testing and demo purposes, but with possible
5730 Onscreen magnifier utility that
5731 is implemented as a bonobo service.
5733 * util/mag_client.c:
5734 * util/mag_client.h:
5735 Client-side support (simple C bindings)
5736 for Magnification service
5738 * util/mag_control.c:
5739 Client program example for
5740 Magnification service
5742 * util/Accessibility_Magnifier.server.in:
5743 Bonobo-activation file for the
5744 Magnification service.
5747 * util/idl/Magnifier.idl:
5748 IDL defining the bonobo Magnification
5752 Modifications to use the bonobo-activated magnifier
5753 above, in place of trying to connect to an existing
5754 magnifier that uses socket-listening IPC.
5756 If env variable MAGNIFIER is set, a magnifier service
5757 will be started if one does not exist.
5759 2001-09-25 Bill Haneman <bill.haneman@sun.com>
5761 * at-bridge/bridge.c:
5762 applied patch from Marc to build and run
5763 against new glib and gtk+ (seemed like a change
5764 to bonobo_init signature was made ?)
5766 made festival-server support turned off by default.
5767 Added support for a simple magnifier (off by default)
5768 which will be added to a 'util' directory later.
5769 * at-bridge/Makefile.am:
5770 Changed "application.h" header from a 'source'
5771 to a 'dependency' of libat-bridge.
5773 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
5782 Added interface implementation c files to list of
5783 includes so they are included in libcspi.
5786 Changed prototype of AccessibleAction_doAction to return a
5788 Changed prototype of AccessibleTable_getCaption to
5789 return an Accessible.
5790 Changed prototype of AccessibleTable_getSelectedRows
5791 and AccessibleTable_getSelectedColumns to
5792 return a long (returns the number of selected rows
5793 or columns respectively).
5794 Changed name of AccessibleText_refRunAttributes to
5795 AccessibleText_getAttributes.
5796 Changed prototype of AccessibleText_getCharacterExtents to
5797 return a void rather than a boolean.
5798 Added support for a AccessibleCoordType parameter
5799 specifying what type of coordinates are desired.
5800 Added an AccessibleCordType parameter to
5801 AccessibleText_getPointAtOffset.
5803 * cspi/spi_accessible.c:
5804 Added code to return the outstanding interfaces from
5805 Accessible_queryInterface.
5807 * cspi/spi_action.c:
5809 Corrected call to getNActions to call the c binding
5812 * cspi/spi_editabletext.c:
5814 Changed name from setRunAttributes to setAttributes.
5816 * cspi/spi_hyperlink.c:
5818 Changed call to getNAnchors to correctly call the c
5819 binding for an attribute.
5821 * cspi/spi_hypertext.c:
5823 Changed getImageDescription to correctly call the
5824 binding for an attribute.
5826 * cspi/spi_selection.c:
5827 Changed getNSelectedChildren to correctly call the c
5828 binding for the attribute.
5829 Changed refSelectedChild to getSelectedChild.
5833 Changed getCaption to return an Accessible.
5834 Fixed calls which retrieve attributes.
5835 Changed refAt to getAccessibleAt.
5836 Changed getNSelectedRows and getNSelectedColumns to
5840 Changed getCharacterExtents and getPointAtOffset to accept an
5841 AccessibleCoordType.
5843 Changed calls which retrieve attributes.
5844 Changed refRunAttributes to getAttributes.
5849 * idl/Hyperlink.idl:
5850 Changed n_anchors attribute to nAnchors to keep naming
5851 convention consistent.
5854 Made Table inherit from Bonobo::Unknown.
5855 Added nSelectedColumns and nSelectedRows attributes.
5858 Made Value inherit from Bonobo::Unknown.
5860 * libspi/hyperlink.c:
5861 Change for nAnchors attributte name change.
5863 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
5871 Added interface implementation c files to list of
5872 includes so they are included in libcspi.
5875 Changed prototype of AccessibleAction_doAction to return a
5877 Changed prototype of AccessibleTable_getCaption to
5878 return an Accessible.
5879 Changed prototype of AccessibleTable_getSelectedRows
5880 and AccessibleTable_getSelectedColumns to
5881 return a long (returns the number of selected rows
5882 or columns respectively).
5883 Changed name of AccessibleText_refRunAttributes to
5884 AccessibleText_getAttributes.
5885 Changed prototype of AccessibleText_getCharacterExtents to
5886 return a void rather than a boolean.
5887 Added support for a AccessibleCoordType parameter
5888 specifying what type of coordinates are desired.
5889 Added an AccessibleCordType parameter to
5890 AccessibleText_getPointAtOffset.
5892 * cspi/spi_accessible.c:
5893 Added code to return the outstanding interfaces from
5894 Accessible_queryInterface.
5896 * cspi/spi_action.c:
5898 Corrected call to getNActions to call the c binding
5901 * cspi/spi_editabletext.c:
5903 Changed name from setRunAttributes to setAttributes.
5905 * cspi/spi_hyperlink.c:
5907 Changed call to getNAnchors to correctly call the c
5908 binding for an attribute.
5910 * cspi/spi_hypertext.c:
5912 Changed getImageDescription to correctly call the
5913 binding for an attribute.
5915 * cspi/spi_selection.c:
5916 Changed getNSelectedChildren to correctly call the c
5917 binding for the attribute.
5918 Changed refSelectedChild to getSelectedChild.
5922 Changed getCaption to return an Accessible.
5923 Fixed calls which retrieve attributes.
5924 Changed refAt to getAccessibleAt.
5925 Changed getNSelectedRows and getNSelectedColumns to
5929 Changed getCharacterExtents and getPointAtOffset to accept an
5930 AccessibleCoordType.
5932 Changed calls which retrieve attributes.
5933 Changed refRunAttributes to getAttributes.
5938 * idl/Hyperlink.idl:
5939 Changed n_anchors attribute to nAnchors to keep naming
5940 convention consistent.
5943 Made Table inherit from Bonobo::Unknown.
5944 Added nSelectedColumns and nSelectedRows attributes.
5947 Made Value inherit from Bonobo::Unknown.
5949 * libspi/hyperlink.c:
5950 Change for nAnchors attributte name change.
5953 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
5955 implementations-- made server implementations own AtkObject pointers
5956 rather than their respective AtkInterrface pointers to fix
5957 refcounting. AtkHyperlink is still broken.
5959 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5960 * cspi/spi_accessible.c:
5961 Added method Accessible_Role_getName(),
5962 and requisite string array (role_names).
5963 Added conversion string_from_corba_strin() call
5964 to Accessible_getName and _getDescription.
5965 * libspi/accessible.c:
5966 Added implementation for Accessible_getRole()
5968 Added festival support, used if environment variable
5971 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5973 * at-bridge/bridge.c:
5974 Now allocate Accessibility_Event using
5975 Accessibility_Event__alloc() instead of g_new0().
5976 * libspi/accessibleeventlistener.c:
5977 Initialize AccessibleEventListener->callbacks to NULL.
5978 Fixed accessible__event_listener_init() param, changed to
5979 "AccessibleEventListener *" type.
5980 Changed a bonobo_object_release_unref() call to
5981 Accessibility_Accessible_unref().
5982 * libspi/listener.c:
5983 Changed Bonobo_Unknown_unref to (equivalent)
5984 Accessibility_Accessible_unref.
5985 * libspi/registry.c:
5986 Changed bonobo_object_release_unref to
5987 Accessibility_Accessible_unref.
5989 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
5992 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
5993 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
5994 spi-util.c spi-util.h
5995 Implementations for C bindings to remaining accessibility
5998 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6001 changed return value of Action from void to boolean to
6002 bring in line with ATK.
6005 Changed getText funcions to return "out" start and end offsets.
6006 Changed getAttributes to take and offset and return the start
6007 and end offset of the attribute run.
6008 Changed getOffsetAtPoint and getCharacterExtents to take an
6009 enum describing whether coordinates are window or screen.
6012 libspi/action.c libspi/action.h libspi/editabletext.c
6013 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
6014 libspi/hypertext.c libspi/hypertext.h libspi/image.c
6015 libspi/image.h libspi/selection.c libspi/selection.h
6016 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
6017 libspi/value.c libspi/value.h
6018 Added server implementations for outstanding ATK interfaces
6019 not yet implemented.
6021 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6024 Added (missing) getName() method.
6025 Made nActions an attribute.
6026 * idl/EditableText.idl:
6027 Changed order of params in setAttributes.
6028 * idl/Hyperlink.idl:
6029 Removed getAnchor, added getURI.
6031 Changed attributes to methods, for efficiency
6032 (so that getting extents can be done in one call)
6033 * idl/Selection.idl:
6034 Changed nSelectedChildren to attribute, and re-indented.
6035 * idl/Table.idl: changed nrows, ncolumns, caption, summary
6037 * idl/Text.idl: reformatted to match our coding style.
6038 (temporarily?) removed getRowColumnAtOffset().
6039 Changed text selection API to support multi-select and
6040 non-contiguous selections, as in ATK.
6041 * idl/Value.idl: changed some methods to attributes.
6043 2001-08-24 Mark McLoughlin <mark@skynet.ie>
6045 * libspi/listener.c(impl_notify_event):
6046 BonoboUnkown_unref the source instead
6047 of bonobo_object_release_unref - the ORB
6048 handles the releasing.
6050 * configure.in: require ORBit-2.3.94 for
6053 2001-08-21 Bill Haneman <bill.haneman@sun.com>
6055 Tagged CVS repository 'EA_1_0'.
6056 * README.EARLY_ACCESS:
6057 Alphabetized acknowledgements list, and
6059 Listed some known dependencies of at-spi.
6061 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6063 * docs/at-spi-docs.sgml:
6064 * docs/at-spi-sections.txt:
6065 * docs/at-spi-overrides.txt: (Added zero-length file)
6066 Documentation improvements - gtk-doc should build
6067 docs for all implemented C bindings now.
6070 * cspi/spi.c: (New file)
6071 * cspi/spi_event.c: (New file)
6072 * cspi/spi_registry.c: (New file)
6073 * cspi/spi_accessible.c: (New file)
6074 * cspi/spi_application.c: (New file)
6075 * cspi/spi_component.c: (New file)
6076 Split spi_main.c into six parts, and included them from
6077 "spi.c". This is a bit of a hack, probably temporary,
6078 but required by gtk-doc, apparently.
6080 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6083 * docs/at-spi-docs.sgml:
6084 * docs/at-spi-sections.txt:
6086 Initial checkins/modifications for gtk-doc generation.
6089 Added (missing) interface query methods to Accessible's C binding.
6091 Added GenericInterface type definition.
6093 Added query for AccessibleComponent interface to focus event handler.
6094 Added printout of bounding box for focussed component.
6095 * libspi/component.c:
6096 Added partial implementation for AccessibleComponent to C binding.
6097 * idl/Application.idl:
6098 * libspi/registry.c:
6099 * libspi/listener.c:
6100 * libspi/application.c:
6101 * libspi/application.h:
6102 Changed "ID" attribute type from string to long.
6104 2001-08-19 Bill Haneman <bill.haneman@sun.com>
6108 Made method naming consistent: methods taking object args
6109 start with uppercase, other methods (except those using
6110 acronyms) start with lowercase. Underscores delimit between
6111 object names and method names:
6112 SPI_init() - uppercase since it starts with an acronym.
6113 getDesktopCount () - lowercase start since no object param0.
6114 Accessible_getName() - uppercase object type name, studlyCaps method
6118 Added gtk-doc documentation for all currently implemented
6119 methods in the C bindings API.
6121 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6123 * Makefile.am : changed build order to build test last.
6126 Changed "createEventListener" to "CreateEventListener".
6127 * libspi/accessibleeventlistener.c :
6128 Bugfix for addition of callbacks.
6129 * test/Makefile.am :
6130 * test/simple-at.c :
6131 Added new test that uses the C bindings API.
6133 * libspi/listener.c :
6134 * libspi/registry.c :
6135 * libspi/accessibleeventlistener.c :
6136 * at-bridge/bridge.c :
6137 Renamed member "target" of Accessibility_Event to "source",
6138 which is more descriptive.
6141 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6145 * cspi/Makefile.am :
6146 Added makefile support for at-spi/cspi directory.
6149 * cspi/spi-listener.h : (NEW FILE)
6150 Added support for/use of spi-listener.h.
6152 C bindings now build successfully, with no warnings.
6153 * libspi/accessibleeventlistener.h : (NEW FILE)
6154 * libspi/accessibleeventlistener.c : (NEW FILE)
6155 * libspi/Makefile.am :
6156 Added new object type "AccessibleEventListener"
6157 which inherits from Listener, and allows attachment
6158 of in-process callbacks (so that a client with a listening
6159 object instance can add functionality to the local
6160 implementation, dynamically).
6162 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6164 * libspi/accessible.c:
6165 Add implementation for get_index_in_parent().
6167 Added #include of "spi-roletypes.h", and
6168 added enumerated type AccessibleCoordType.
6169 Added definition for KeystrokeListener (function type).
6172 * cspi/spi-statetypes.h :
6173 * cspi/spi-roletypes.h :
6175 Added these headers, used by spi.h.
6177 Added code (NOTE: not yet built by make).
6179 2001-08-18 Mark McLoughlin <mark@skynet.ie>
6181 * libspi/Makefile.am: generate imodule
6182 at the same time as other idl compiler
6185 2001-08-17 Bill Haneman <bill.haneman@sun.com>
6186 * libspi/registry.c :
6187 * libspi/application.c :
6188 * idl/Application.idl :
6189 Made registration with toolkit an application method,
6190 which is required since each app has its own toolkit static
6191 environment. Thus the bridge must register for
6192 notification of toolkit events from each application in turn.
6193 Toolkit notifications are now successfully registered for, and
6194 sent to the listening at client.
6196 Changed toolkit event string to use hyphens rather than underscores.
6197 * libspi/listener.c :
6198 listner now gives more info in debug mode - it reports the
6199 name of the event received, as well as the name of the source.
6202 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6204 * libspi/registry.c :
6205 added more implementation for toolkit events.
6206 Fixed bug such that toolkit event registrations
6207 (via atk) use the whole event name string, not
6209 Removed a useless call to an ORBit_ method.
6210 * at-bridge/bridge.c :
6211 Removed unused local sbuf[] variable.
6213 We now register for Gtk:GtkWidget:button_press_event
6214 events as well as "focus:" events.
6216 Add some more API from Registry.idl that was missing,
6217 for keystroke listening, keystroke and mouse event
6218 synthesis, and enumeration of accessible desktops.
6220 2001-08-16 Michael Meeks <michael@ximian.com>
6222 * configure.in: use AM_GLIB_GNU_GETTEXT.
6224 * Makefile.am (SUBDIRS): kill intl.
6226 2001-08-15 Michael Meeks <michael@ximian.com>
6228 * registryd/Makefile.am: s/oaf/server/ relocate info file.
6230 * configure.in: upd.
6232 * configure.in: depend on a recent bonobo-activation that
6233 will find our server files ...
6235 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6237 * libspi/accessible.c : accessible_new() :
6238 Now we add the Component interface via bonobo_object_add_interface,
6239 if the contained AtkObject implements AtkComponent.
6240 * libspi/accessible.h : now include "component.h"
6241 * libspi/component.h :
6242 * libspi/component.c : added files - implementation of
6243 bonobo wrapper object for Accessibility/Component
6244 * libspi/listener.c :
6245 Added test code to check for Accessibility/Component:1.0
6246 interface and report whether it is implemented by the
6248 * libspi/registry.c :
6249 Now we check for not only the hash of the whole event
6250 string before relaying the event, we also check the
6251 "minor" event string (without the detail string).
6252 This allows event listeners to be registered against
6253 all events of a certain major+minor type, or just
6254 against a specific major+minor+detail type.
6255 * libspi/accessible.c :
6256 Added implementations for Accessible:get_parent(),
6257 Accessible:getChildCount(), and Accessible:getChildAtIndex().
6258 * libspi/registry.c :
6259 * libspi/listener.c :
6260 Replaced calls to Accessibility_Accessible_ref() and
6261 Accessibility_Accessible_unref() with
6262 calls to bonobo_object_dup_ref() and
6263 bonobo_object_release_unref(), so that the CORBA object
6264 is dup-ed and released when relayed, as well as the bonobo object.
6266 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6268 * libspi/Makefile.am,
6269 registryd/Makefile.am,
6270 at-bridge/Makefile.am.
6271 test/Makefile.am, configure.in:
6272 reverse previous changes.
6274 * /idl/Image.idl: fix typo.
6276 * test/Makefile.am: put DEBUG_FLAGS
6279 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6281 * test/app.c: use argv[0] instead of
6284 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6286 * libspi/Makefile.am,
6287 registryd/Makefile.am,
6288 at-bridge/Makefile.am.
6289 test/Makefile.am, configure.in:
6290 cleanup, replace individual LIBS/CFLAGS with
6291 AT_COMMON_{LIBS|CFLAGS}.
6295 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6297 * configure.in, libspi/Makefile.am:
6298 Change IDL path checking for bonobo-activation
6301 2001-08-15 Bill Haneman <bill.haneman@sun.com>
6303 * registryd/registry.c : separated event listeners to use
6304 3 separate lists (focus, window, toolkit). Began testing
6305 event names against hashes before relaying events.
6306 * test/at.c : now register for events of type "focus:"
6307 * test/app.c : now generate events of type "focus:"
6308 * at-bridge/bridge.c : register with ATK for focus events,
6309 and we now relay those focus events to any "focus:" listeners.
6310 This now works with the bridge as a GTK_MODULE when running test/at.
6311 * libspi/registry.c :
6312 * libspi/listener.c :
6313 now we ref event sources before propagating, and unref on receipt.
6314 * libspi/registry.c :
6315 some changes to internal structs, to support event typestring hashes.
6316 * text/app.c : changed the way the appname is generated.
6317 * cspi : added directory that will hold the C bindings library for
6318 non-CORBA/bonobo-savvy clients.
6319 * cspi/spi.h : header file that contains the function prototypes for the C binding.
6320 * idl/Component.idl : added in parameter to indicate coord system for
6321 geometry-related calls.
6322 * idl/Hyperlink.idl : added readonly n_links attribute
6323 * idl/Image.idl : changed methods to attributes.
6325 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6327 * at-bridge/Makefile.am: link against
6328 ../libspi/libspi.la instead of -lspi.
6330 * at-spi/test/app.c: include
6331 bonobo-activation.h. Use a default appname
6332 if one is not provided.
6334 2001-08-14 Bill Haneman <bill.haneman@sun.com>
6336 * idl/Registry.idl : temporarily changed register_Application
6337 to oneway, to work around issue with initial registration
6339 * idl/Application.idl : changed attribute "id" from readonly
6340 to read-write, since it needs to be assigned by Registry.
6341 * registryd/registryd.c : added call to set application id
6343 * registryd/registry.c : changed de-registration procedure to
6344 use CORBA_Object_hash() to find matching object ref in application
6345 lists and listener lists.
6346 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
6347 began distinguishing between event types (work in progress).
6349 2001-08-13 Bill Haneman <bill.haneman@sun.com>
6352 * libspi/application.c:
6353 Added implementations for get/set id, get_toolkitName,
6355 * registryd/registryd.c :
6359 Converted from use of OAF to bonobo-activation.
6360 * libspi/desktop.h :
6361 * libspi/desktop.c :
6363 Removed references to atksimpleobject, since base atkobject
6364 implementation now provides functionality we need.
6365 * libspi/atksimpleobject.c :
6366 * libspi/atksimpleobject.h :
6371 * at-bridge/Makefile.am
6372 * at-bridge/bridge.c
6375 Added directory "bridge" and contents, and added dependencies
6376 in Makefile.am/configure.in.
6377 Initial checkin of "at-bridge".
6378 This code is a GTK_MODULE which automatically registers
6379 GTK+ apps with the accessibility registry, using an object
6380 reference to the root ATK object.
6382 2001-08-10 Mark McLoughlin <mark@skynet.ie>
6384 * po/Makefile.in.in: Remove. Again. If this
6385 doesn't get autogenerated - you need to update
6388 2001-08-07 Mark McLoughlin <mark@skynet.ie>
6390 * po/Makefile.in.in: Add. Again.
6392 2001-07-31 Bill Haneman <bill.haneman@sun.com>
6394 * libspi/accessible.c : added support for 'description' property.
6395 * libspi/accessible.c
6397 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
6398 (since the two are now equivalent in libbonobo)
6406 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
6407 Bonobo::Unknown as does Accessibility::Accessible.
6408 * idl/StreamableContent.idl : as above, and replaced internal InputStream
6409 interface with Bonobo::Stream, since it was redundant with it.
6410 (The Stream returned by a StreamableContext object is expected to
6411 implement only a subset of Bonobo::Stream)
6413 2001-07-28 Anders Carlsson <andersca@gnome.org>
6415 * libspi/accessible.c (accessible_object_finalize): Change
6416 g_free to g_object_unref since the AtkObject is a GObject.
6418 2001-07-30 Bill Haneman <bill.haneman@sun.com>
6420 * idl/Accessibility.idl: add new IDL files
6423 * idl/Action.idl: Definitions of actionable UI object
6424 * idl/Component.idl: Definitions of UI component geometry, etc.
6425 * idl/Hyperlink.idl: Defs of hyperlink behavior
6426 * idl/Image.idl: Def of accessible image
6427 * idl/Selection.idl: Definition of UI object with selectable children
6428 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
6429 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
6430 * idl/Text.idl: Interface defs for UI elements with complex textual content
6431 * idl/Value.idl: Definition of UI element that is a value controller or display
6433 2001-07-27 Michael Meeks <michael@ximian.com>
6435 * po/Makefile.in.in: remove autogenerated file from CVS.
6437 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
6440 * idl/Registry.idl: include guard.
6442 * idl/Accessibility.idl: Add, and include all the other IDL
6445 * idl/*.idl: remove mass of pragmas etc.
6447 2001-07-26 Michael Meeks <michael@ximian.com>
6449 * registryd/Makefile.am (registryd_SOURCES): remove
6452 2001-07-27 Mark McLoughlin <mark@skynet.ie>
6454 * libspi/.cvsignore, registryd/.cvsignore,
6455 test/.cvsignore: updated.
6457 * po/Makefile.in.in: gettext update.
6459 2001-07-25 Bill Haneman <bill.haneman@sun.com>
6461 * initial CVS checkin
6463 2001-06-29 Michael Meeks <michael@ximian.com>
6465 * configure.in: add AM_CONFIG_HEADER to gen config.h