1 2003-08-22 Christian Rose <menthos@menthos.com>
3 * configure.in: Added "nl" to ALL_LINGUAS.
5 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
7 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
8 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
10 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
12 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
13 type for unspecified exception.
14 * cspi_streamablecontect): Add include of string.h for memcpy.
15 (stream_release): Correct call to bonobo_object_release_unref
16 (stream_cache_item_free): Correct call to bonobo_object_release_unref
17 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
18 argument of _cspi_expection_throw.
19 * libspi/hyperlink.c: Add include of libspi/action.h:
20 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
21 * libspi/streamablecontent.c: add include of libspi/component.h.
22 * regisrtyd/deviceeventcontroller.c:
23 (spi_dec_translate_mask): Removed unused variable priv.
24 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
25 * registryd/registry.c:
26 (registry_filter_event): Remove unused variable queue_is-empty.
27 (impl_registry_notify_event): Use correct modifier in fprintf call.
29 This fixes compiler warnings reported in bug #120220.
31 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
33 * registryd/registryd.c: Remove this file.
35 2003-08-17 Sanlig Badral <badral@openmn.org>
37 * configure.in: Added mn to ALL_LINGUAS.
39 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
41 * configure.in: Added et to ALL_LINGUAS.
43 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
45 * test/event-listener-test.c: Change active-descendant to
46 active-descendant-changed.
48 2003-08-10 Sami Pesonen <sampeson@iki.fi>
50 * configure.in: Added "fi" in ALL_LINGUAS.
52 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
54 * configure.in: Added "hi" in ALL_LINGUAS.
56 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
58 * configure.in: Revved to 1.3.6.
62 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
64 * registryd/deviceeventcontroller.c
65 (spi_device_event_controller_object_finalize): Fix typo in previous
68 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
70 * registryd/deviceeventcontroller.c
71 (spi_device_event_controller_object_finalize): Fix build on
72 systems without XEvIE.
74 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
76 * acconfig.h, configure.in, registryd/Makefile.am,
77 registryd/devicecontoller.[ch]: Add XEViE support.
79 2003-08-06 Wang Jian <lark@linux.net.cn>
81 * configure.in: Added "zh_CN" to ALL_LINGUAS.
83 2003-08-06 Metin Amiroff<metin@karegen.com>
85 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
87 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
89 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
90 MODIFIER_ALT in correct place.
92 This fixes part of bug #118114.
94 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
96 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
98 2003-07-28 Changwoo Ryu <cwryu@debian.org>
100 * configure.in: Added "ko" to ALL_LINGUAS.
102 2003-07-28 Ole Laursen <olau@hardworking.dk>
104 * configure.in: Added "da" to the commented out ALL_LINGUAS.
106 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
108 * configure.in: Added "sq" to ALL_LINGUAS.
110 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
112 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
114 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
116 * configure.in: updated ALL_LINGUAS list
118 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
120 * configure.in: Added Belarusian to ALL_LINGUAS.
122 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
124 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
126 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
127 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
129 This fixes bug #116949.
131 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
133 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
134 Correct CSPI to SPI in function documentation.
136 This fixes bug #118054.
138 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
140 * configure.in: Added Russian to ALL_LINGUAS.
142 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
144 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
146 2003-07-14 Danilo Šegan <dsegan@gmx.net>
148 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
150 2003-07-10 Joel Brich <joel.brich@laposte.net>
152 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
154 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
156 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
158 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
160 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
161 resources allocated for AccessibleEvent. See cspi_event().
163 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
164 static variable streams to NULL.
166 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
167 Update so that AcessibleEvent_ref will work.
169 This fixes bug #116624.
171 2003-07-06 Jordi Mallach <jordi@sindominio.net>
173 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
175 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
177 * configure.in: Added "fr" (French) to ALL_LINGUAS.
179 2003-07-02 Christian Neumair <chris@gnome-de.org>
181 * configure.in: Added "de" (German) to ALL_LINGUAS.
183 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
185 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
187 2003-07-01 Miloslav Trmac <mitr@volny.cz>
189 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
191 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
193 * configure.in: Added "pl" to ALL_LINGUAS.
195 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
197 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
199 2003-06-30 Bill Haneman <bill.haneman@sun.com>
202 (get_action_from_servant):
203 Removed assertion that action is implemented on an AtkObject.
205 * libspi/hyperlink.c:
207 Aggregate AccessibleAction interface on the hyperlink object if
208 the object implements AtkAction. (This convention is used in
211 2003-06-30 Bill Haneman <bill.haneman@sun.com>
213 * configure.in: Revved to 1.3.5.
215 * registryd/Accessibility_Registry.server.in.in:
216 Marked up appropriate strings for translation.
218 * atk-bridge/bridge.c: Marked a couple of
219 user-visible warnings for translation. Questionable
220 whether they are really useful, but possibly so.
223 2003-06-28 Christian Rose <menthos@menthos.com>
225 * configure.in: Added "sv" to ALL_LINGUAS.
227 2003-06-26 Bill Haneman <bill.haneman@sun.com>
229 * registryd/registry.c:
230 (spi_registry_object_finalize): Unref the deviceeventcontroller.
231 (registry_defer_on_event): Defer focus: events, this is an
232 improvement to the patch for bug #108664.
234 * TODO: Update with 2.4/"Dev Complete" items.
236 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
238 * atk-bridge/bridge.c:
239 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
240 looks up signals once.
241 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
242 if doing registration.
243 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
244 when doing registration.
246 This fixes bug #115014.
248 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
250 * atk-bridge/bridge.c:
251 (atk_bridge_init): Add signal handler for children-changed:remove on
252 root when in a BonoboComponent.
253 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
254 for first toplevel only other incrememt variable toplevels.
255 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
256 application and remove listeners.
257 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
259 (spi_atk_deregister_event_listeners): New function which removes
261 (reinit_register_vars): New fuction which reinitializes variables.
263 This fixes bug #111578.
265 2003-06-13 Bill Haneman <bill.haneman@sun.com>
267 * configure.in: version 1.3.4.
269 * cspi/spi_accessible.c:
270 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
273 2003-06-13 Michael Meeks <michael@ximian.com>
275 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
277 * cspi/spi_main.c (cspi_peek_ev): impl.
279 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
281 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
283 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
285 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
286 SPI_ROLE_AUTOCOMPLETE
288 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
290 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
291 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
293 2003-06-11 Bill Haneman <bill.haneman@sun.com>
295 * libspi/streamablecontent.h:
296 * libspi/streamablecontent.c:
297 New files, provide implementation/wrappers for
298 Accessibility_StreamableContent.
300 * cspi/spi_streamablecontent.c:
301 Connected the C wrappers to the libspi C bindings.
302 (AccessibleStreamableContent_close): New method.
305 (AccessibleStreamableContent_close): New method, needed
306 since we have an "open, [seek], read, close" model in cspi.
308 2003-06-11 Bill Haneman <bill.haneman@sun.com>
310 Fix for #108664; Padraig's revision of my original patch.
312 * registryd/registry.h:
313 Added event queue list, is_queuing, and exit_notify_timeout
314 to the registry struct.
316 * registryd/registry.c:
317 (registry_init): Initialize new struct from registry.h.
318 (impl_registry_notify_event):
319 Filter events before notifying, in case some need to be
321 (registry_filter_event): New,
322 we defer certain incoming events (for instance
323 window:deactivate) because we may wish to hide
324 or reject them based on pending events. This is
325 mostly a workaround for bug #108664.
326 (registry_queue_event, registry_start_queue): New.
327 (registry_defer_on_event): Test event to see if it
329 (registry_reset_on_event): Returns TRUE if the
330 event should cause a queue reset.
331 (registry_discard_on_event): Returns TRUE if the event
332 should cause the previous queue contents to be discarded.
333 (registry_timeout_flush_queue): Flushes the pending event
334 queue if no reset/discard-triggering events have come in
335 within the timeout period.
336 (registry_emit_event): New.
337 (registry_clone_notify_context): New, used when queueing the
338 event notify contexts.
340 2003-06-10 Bill Haneman <bill.haneman@sun.com>
342 * configure.in: Version revved to 1.3.2, lt 0.9.2
343 Incremented ATK required version to 1.3.4.
345 * cspi/spi_registry.c:
346 (SPI_generateKeyEvent):
347 We now pass the keystring along if it's non-null.
349 * registryd/deviceeventcontroller.c:
350 (keysym_mod_mask): New method, returns modifier mask
351 required to generate a keysym from a given keycode.
352 (dec_synth_keysym): New method.
353 (dec_synth_keystring): New method.
354 (dec_get_modifier_state): New method.
355 (dec_lock_modifiers): New
356 (dec_unlock_modifiers): New.
357 (dec_keysym_for_unichar): New, rather brute-force
358 conversion from UCS-4 to X KeySyms. Only works for
359 Latin at the moment, with partial implementations for
360 Greek, Hebrew, and (incomplete) Katakana.
361 (impl_generate_keyboard_event): Now implement
362 "KEYSTRING" synthesis and implement "KEYSYM"
364 (keycode_from_keysym): Improved, passes a returned
365 modmask value now if the corresponding param is non-NULL.
367 Fixes bugs #92143 and #109776.
370 * test/keysynth-test.c:
371 New test program for key synthesis, to confirm fixes for
375 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
377 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
379 * cspi/spi_accessible.c (cspi_init_relation_type_table):
380 Add line for RELATION_POPUP_FOR
382 * docs/reference/cspi/tmpl/spi_relation.sgml:
383 Add relation SPI_RELATION_POPUP_FOR
385 * docs/reference/cspi/tmpl/spi_stateset.sgml:
386 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
388 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
390 * libspi/relation.c (spi_init_relation_type_table):
391 Add line for RELATION_POPUP_FOR
393 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
395 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
396 there are still windows which have not been deleted and emit
397 window:deactivate, if necessary and window:destroy events.
398 This fixes bug #114370. The change on June 5th was not correct.
400 2003-06-09 Bill Haneman <bill.haneman@sun.com>
402 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
405 (SPI_dupString): Allow dup-ing of a string such that it's safe to
407 New methods for client exception handling and interception.
408 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
409 (SPI_exceptionHandlerPop): You guessed it...
410 (SPI_getSourceType): Return the type of object which offended.
411 (SPI_getExceptionCode): Return an enum code telling, possibly,
412 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
413 (SPIAccessibleException_getSource): get the source object for
414 exceptions that come from Accessibles, if SPIExceptionSourceType is
415 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
416 (SPIException_getDescription): New, returns a string description of
417 the problem. [Not yet a stable ABI, strings are not frozen]
419 * cspi/spi-private.h:
420 Added implementation details of opaque SPIException
424 Implementations of above. Also
425 (_cspi_exception_throw): new private method that
426 dispatches exceptions to handlers, called from cspi-bonobo.c
428 * cspi/bonobo/cspi-bonobo.c:
429 (cspi_check_ev): call _cspi_exception_throw.
430 Don't print a warning message if the exception has been
431 handled by _cspi_exception_throw.
433 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
435 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
436 there are still windows which have not been deleted and emit
437 window:deactivate, if necessary and window:destroy events.
438 This fixes bug #114370.
440 2003-06-03 Bill Haneman <bill.haneman@sun.com>
443 (cspi_accessible_is_a): Make non-fatal
444 if the object reference is dead.
446 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
448 * cspi/spi_main.c: #include <stdio.h>
449 * test/simple-at.c: ditto
450 * test/event-listener-test.c: ditto
451 * test/screen-review-test.c: ditto
453 2003-05-30 Michael Meeks <michael@ximian.com>
455 * test/test-simple.c (main): use CORBA_ORB_perform_work
456 instead of an unnecessary linc_ call.
458 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
460 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
461 Add SPI_STATE_INDETERMINATE.
463 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
466 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
468 * libspi/stateset.c (init_state_type_tables): Add support for
471 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
473 * configure: Update versions of atk and gail required.
474 This fixes bug #113268.
476 2003-05-02 Bill Haneman <bill.haneman@sun.com>
478 * configure.in: Revved micro version to 1.3.1 (because of build fix).
480 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
482 * libspi/Makefile.am:
483 Ensure headers are generated before being used by c sources.
485 2003-05-01 Bill Haneman <bill.haneman@sun.com>
488 Simplified lt versioning rules.
489 Incremented version to 1.3.0, to indicate that we're on the
492 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
494 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
495 Add MKDB_OPTIONS=--outtput-format=xml
497 * docs/reference/cspi/at-spi-cspi-docs.sgml
498 docs/reference/idl/at-spi-idl-docs.sgml:
499 Convert to Docbook XML.
501 This fixes bug #111793.
503 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
505 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
506 AcccessibleKeyEventType, AccessibleKeyMaskType.
508 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
510 * cspi/state-types.h: Add documentation for AccessibleState.
512 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
513 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
514 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
515 AccessibleComponentLayer.
517 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
520 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
522 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
523 Accessible. Add description of AccessibleEvent,
524 AccessibleEventListenerCB.
526 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
529 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
530 documentation. Add description of AccessibleKeystrokeListenerCB,
531 AccessibleKeyEventMask, AccessibleModifierMaskType,
532 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
533 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
535 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
538 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
541 This fixes bug #104730.
543 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
545 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
546 Set is_text field of Accessibility_DeviceEvent data structure.
548 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
549 is-text field of AccessibleDeviceEvent data structure.
551 This addresses part of bug #108666.
553 * registryd/devcieeventcontroller.c: Unset debug option.
555 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
558 (cpi_initial_relation_type_table): New function which initializes
559 mapping between Accessibility_RelationType and AccessibleRelationType.
560 (cspi_relation_type_from_spi_relation_type): New function which
561 translates an Accessibility_RelationType into an AccessibleRelationType.
562 (AccessibleRelation_getRelationType): Use
563 cpi_relation_type_get_spi_relation_type to return correct value.
564 (spi_state_to_corba): Return correct type for default case.
566 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
567 Use Accessibility_EventType instead of Accessibility_KeyEventType.
569 * cspi/cspi-bonobo-listener.c:
570 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
573 * libspi/accessible.c, libspi/action.c, libspi/application.c,
574 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
575 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
576 libspi/image.c, libspi/listener.c, libspi/selection.c,
577 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
578 registryd/desktop.c, registryd/registry.c:
579 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
581 * libspi/eventlistener.c
582 Remove semicolon after BONOBO_TYPE_FUNC.
585 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
586 (spi_init_relation_type_table): Initialize using correct type.
588 * registryd/desktop.c:
589 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
590 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
591 of Accessibility_KeyEventType.
593 * test/key-listener-test.c (report_tab_key_event): Use fprintf
596 * tests/simple-at.c, tests/screen-review-test.c:
597 Add include for <strings.h>.
599 * tests.stress-test.c:
600 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
602 These changes fix compiler warnings when using FORTE compiler on
603 Solaris; fixes bug #107479.
606 2003-04-10 Bill Haneman <bill.haneman@sun.com>
609 * configure.in: revved to 1.1.10
612 (SPI_KEYMASK_NUMLOCK): Added.
614 * registryd/deviceeventcontroller.c:
615 (spi_key_event_matches_listener): AND with a smaller
616 bitmask (as we should).
617 (spi_dec_translate_mask):
618 New method, sets the virtual NumLock modifier bit
619 if numlock is on. Eventually it can handle other virtual
620 modifier bits if needed, or other marshalling from
621 at-spi modifier masks to platform (X) masks.
622 (spi_dec_key_listener_new):
623 Call spi_dec_translate_mask to set up virtual mod bits
624 in the 'mask' field when creating a new listener struct.
625 (spi_dec_emit_modifier_event):
626 Set the virtual (i.e. NumLock) bits before emitting event.
627 (spi_controller_register_with_devices):
628 Query for the NumLock modifier 'physical' bit if Xkb is
629 present, for use in above methods.
633 2003-04-10 Bill Haneman <bill.haneman@sun.com>
635 * registryd/deviceeventcontroller.c:
636 (spi_keystroke_from_x_key_event):
637 Instead of checking to see if the keysym is
638 printable, check the string from XLookupString
639 if available, get the first unicode character from it,
640 and call g_unichar_isprint to determine whether the
641 is_text flag should be TRUE or FALSE.
645 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
647 * atk-bridge/bridge.c: Add support for extended events
648 * cspi/spi_event.c: Add documentation and implementation for
650 * tests/event-listener-test.c: Add tests for extended events.
652 This fixes bugs #100424 and #100426.
654 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
656 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
657 of LT_CURRENT. This fixes bug #89350.
659 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
661 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
662 number of signal parameter values before accessing them. This fixes
665 2003-04-01 Bill Haneman <bill.haneman@sun.com>
667 * configure.in: Fixed duplicate inclusion of -lspi.
668 * branched for gnome-2-2/HEAD.
669 [created tag "gnome-2-2"]
671 2003-03-07 Bill Haneman <bill.haneman@sun.com>
673 * configure.in: 1.1.9 release.
676 2003-03-07 Bill Haneman <bill.haneman@sun.com>
678 [needed by GOK, to fix bugs 107985 and 107988]
679 * registryd/deviceeventcontroller.c:
680 (spi_dec_clear_unlatch_pending):
681 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
682 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
683 (spi_dec_init_mouse_listener):Emit warning if mouse button
685 (spi_device_event_controller_forward_mouse_event):
686 Removed unnecessary parens from a conditional.
687 (global_filter_fn):Added TODO comment.
688 (impl_generate_keyboard_event):
689 Cancel a pending relatch if a 'delatching' key was
692 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
694 * atk-bridge/bridge.c:
695 Change atk_signal_child_changed to atk_signal_children_changed.
696 Reorganize code in spi_atk_bridge_signal_listener().
698 * test/event-listener-test.c:
699 Add children_changed_listener and report_children_changed_event()
700 to test AccessibleChildEvent_getChildAccessible.
702 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
704 * cspi/spi_event.c (cspi_internal_event_get_text): Change
705 g_strdup to CORBA_String_dup (bug #105291)
707 * test/event-listener-test.c (report_text_event): Add call to
710 2003-02-28 Bill Haneman <bill.haneman@sun.com>
712 * registryd/deviceeventcontroller.c:
713 (spi_keystroke_from_x_key_event):
714 Fix string and keysym return codes to match modifier state.
717 2003-02-28 Bill Haneman <bill.haneman@sun.com>
719 * registryd/deviceeventcontroller.c:
720 (spi_keystroke_from_x_key_event):
721 Fix segv due to improper use of isprint(c). [bug #107254]
723 2003-02-24 Bill Haneman <bill.haneman@sun.com>
726 (get_accessible_text_boundary_type):
727 Move default return value to (new) default case in switch.
728 (get_accessible_text_clip_type):
729 Move default return value to (new) default case in switch.
731 * libspi/application.c:
732 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
733 Remove unused methods.
734 (impl_accessibility_application_register_object_event_listener):
735 Remove unused methods.
738 Added #include of <math.h>.
740 * registryd/deviceeventcontroller.c:
741 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
742 we don't currently use this method.
743 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
745 (impl_generate_key_event):
746 Remove unused variables.
747 (impl_generate_mouse_event):
748 Initialize button to zero, just in case we get an invalid
749 input. Added support for mouse buttons 4 and 5.
750 (spi_device_event_controller_new):
751 Removed unused variable declaration for 'private'.
753 Added #include of <gdk/gdk.h>
755 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
757 * configure.in: Update to work when X is not installed in expected
758 location. Fixes bug #105836.
760 * atk-bridge/bridge.c
761 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
763 (spi_atk_register_event_listener): Add signal listener for
765 (spi_atk_bridge_signal_listener): Event event when link-selected
766 signal is emitted. (bug #104622)
768 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
769 on returned string. (bug #105291)
771 * test/event-listener-test.c: Add test for link-selected.
773 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
775 * atk-bridge/Makefile.am: Correct typo in previous commit.
777 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
779 * atk-bridge/Makefile.am: Allow for build directory to be different
780 from source directory
782 * registryd/Makefile.am: Allow for build directory to be different
783 from source directory
787 2003-01-29 Bill Haneman <bill.haneman@sun.com>
790 Fixed dependencies for libcspi so that libspi gets pulled in
791 properly. Fixes 104741.
795 Clean up inline docs a little.
797 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
799 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
800 This is done by implementing AtkComponent for SpiAtkDesktop, which is
801 the AtkObject within an SpiDesktop.
802 This addresses bug #101524.
804 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
805 Remove call to gdk_init().
807 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
808 so that Display is set when SpiDesktop is created.
810 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
812 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
813 This fixes bug #102830.
815 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
817 * test/test-simple.c: Update to take account of fact that GailButton
818 now implements AtkText.
819 (create_text_window): Set name on AtkObject for GtkEntry.
820 (validate_accessible): Check accessible name before calling test_text().
822 * libspi/Makefile.am: Fix problem with building outside of source
823 directory. Bug #98120.
825 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
826 typo in documentation comments. Bug #94275.
828 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
830 * libspi/text.c (impl_getBoundedRanges): Bug fix.
832 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
835 Add includes to avoid compiler warnings on Solaris.
836 (impl_getRangeExtents): Bug fix.
838 2002-12-17 Bill Haneman <bill.haneman@sun.com>
840 Fix for 100944, [API addition approved by Gman and murrayc].
847 * idl/Accessibility_Text.idl:
848 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
849 (Text::getRangeExtents): New method for efficient
850 bounds query of a text range.
851 (Text::getBoundedRanges): New method for efficient
852 clipping of text to bounding boxes.
853 (unImplemented7, unImplemented8):
854 Removed these padding methods to preserve bincompat.
857 (impl_getRangeExtents): implementation of new IDL.
858 (impl_getBoundedRanges): implementation of new IDL.
859 (SpiTextRect): Internal use struct.
860 (_spi_text_rect_union): internal method, calculates union of two
861 SpiTextRect bounding rects.
862 (_spi_text_range_seq_from_gslist): internal method, allows us
863 to build our sequence efficiently as a gslist then convert it
865 (_spi_bounds_contain): internal method, determines whether
866 a text character is "in" or "out" of a clip rect according to
867 values of TEXT_CLIP_TYPE.
868 (spi_text_class_init): Initialize the new methods in the epv.
871 (AccessibleTextClipType): New enum used by screen review api.
872 (AccessibleTextRange): New struct used by screen review api.
873 (AccessibleText_getRangeExtents):
874 cspi binding for Accessibility_Text_getRangeExtents.
875 (AccessibleText_getBoundedRanges):
876 cspi binding for Accessibility_Text_getBoundedRanges.
877 (AccessibleTextRange_freeRanges): convenience method.
880 (AccessibleText_getRangeExtents):
881 cspi binding for Accessibility_Text_getRangeExtents.
882 (AccessibleText_getBoundedRanges):
883 cspi binding for Accessibility_Text_getBoundedRanges.
884 (AccessibleTextRange_freeRanges): convenience method.
885 (get_accessible_text_clip_type): internal conversion method.
886 (get_accessible_text_ranges_from_range_seq): internal conversion method.
888 * registryd/deviceeventcontroller.c:
889 (spi_dec_mouse_check):
890 Improved behavior for mouse:abs events
891 [same granularity as mouse:rel events, and no
892 events when mouse is idle].
894 2002-12-16 Michael Meeks <michael@ximian.com>
896 * cspi/spi_accessible.c (spi_state_to_corba): rename.
898 * libspi/stateset.c (state_spi_to_atk): split out
899 ( fix several remote array bounds nasties )
900 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
901 (impl_remove): make safe from array bounds issues.
902 (spi_atk_state_from_spi_state): impl.
904 * libspi/stateset.h (spi_state_set_cache_is_empty):
905 add a set of wrapper defines to get layering right.
907 * cspi/spi_accessible.c: update state set stuff to
910 2002-12-14 Michael Meeks <michael@ximian.com>
912 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
913 to avoid 2 roundtrips to the registry per key event
914 (spi_atk_bridge_key_listener): upd.
915 (deregister_application): release the dec.
917 * registryd/registry.c (notify_listeners_cb):
918 bin lots of re-enterant complexity - we no longer
919 do a round-trip bonobo ref here, ensure that a single
920 listener's exception failure won't poison all other
922 (impl_registry_notify_event): bin obvious memory leak.
924 2002-12-13 Michael Meeks <michael@ximian.com>
926 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
927 init the ev so the error is meaningful.
928 (spi_atk_bridge_key_listener): ditto.
930 * cspi/spi_main.c (cspi_ev): init the ev so we start
931 with a clean slate, otherwise the first exception
934 * cspi/spi_text.c (get_accessible_text_boundary_type):
935 add a fallthrough for no warnings.
937 * cspi/spi_registry.c: prune unused warnings.
939 * cspi/spi_main.c (cspi_object_take): fix
940 mind-blowing brokenness ( by watching the compile
943 * cspi/spi_accessible.c (Accessible_getStateSet):
944 re-impl. to use an AtkStateSet.
945 (spi_state_type_from_accessible_state),
946 (init_state_table): bin these.
948 * libspi/stateset.c (spi_atk_state_set_from_sequence):
950 (atk_state_set_from_accessibility_state_set): here.
952 * cspi/spi_accessible.c (spi_state_to_atk): impl.
953 (AccessibleStateSet_contains, AccessibleStateSet_ref),
954 (AccessibleStateSet_unref, AccessibleStateSet_contains),
955 (AccessibleStateSet_add, AccessibleStateSet_remove),
956 (AccessibleStateSet_equals, AccessibleStateSet_compare),
957 (AccessibleStateSet_isEmpty): re-write to use a local
960 2002-12-13 Bill Haneman <bill.haneman@sun.com>
962 * configure.in: Revved to 1.1.7 (new keymask vals).
964 2002-12-10 Bill Haneman <bill.haneman@sun.com>
967 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
969 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
972 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
973 to compare two CORBA_TypeCodes.
974 (cspi_internal_event_add): Silence warning from FORTE compiler.
976 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
977 avoid implicit declaration of functions.
979 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
981 * atk-bridge/bridge.c:
982 (spi_atk_bridge_init_event_type_consts): Store signal id for
983 active-descendant-changed signal.
984 (spi_atk_register_event_listeners): Add signal listener for
985 active-descendant-changed signal,
986 (spi_atk_bridge_signal_listener): Move code in function
987 spi_atk-signal_emit_event() into this function.
988 Add support for active-descendant-changed
989 Update support for child-changed signal.
990 (spi_bridge_window_event_listener): Silence warning.
992 * libspi/spi_private.[ch]:
993 (spi_init_any_object): Change second parameter from CORBA_Object to
995 Omit call to CORBA_Object_duplicate().
996 Set CORBA_any's _value to CORBA_Object*.
998 2002-12-06 Bill Haneman <bill.haneman@sun.com>
1004 (AccessibleEvent_ref, AccessibleEvent_unref):
1005 New methods, for persisting an event outside the emission context.
1006 Must be used if the new accessor methods are to be called
1007 outside of the event listener's callback.
1009 * cspi/bonobo/cspi-bonobo.c:
1010 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
1011 as second parameter instead of NULL, so we can call
1012 cspi_check_ev afterwards.
1015 (cspi_object_take): New internal method,
1016 converts a CORBA_Object reference to a hard ref on
1017 an Accessible if possible, returning NULL if the object
1018 reference is invalid or an Accessible * otherwise.
1021 (AccessibleEvent_ref):
1022 Increment the event's internal private refcount, and
1023 add the event's internal struct to an internal cache
1024 if it's not already there.
1025 (AccessibleEvent_unref):
1026 Decrement the event's refcount and remove it from
1027 the cspi event cache if refcount==0.
1028 (cspi_event_compare): New private method.
1029 Compares two event structs via their ids. Used
1031 (cspi_internal_event_lookup): New private method.
1032 (cspi_internal_event_check): New private method,
1033 a 0-order sanity check for events to make sure their
1034 private data is intact.
1035 (cspi_internal_event_add, cspi_internal_event_remove):
1036 New private methods for managiing the event cache.
1038 * cspi/bonobo/cspi-bonobo-listener.c:
1040 Initialize the new private data elements (id, magic, ref_count).
1042 * atk-bridge/bridge.c:
1043 (spi_atk_bridge_signal_listener):
1044 Fixed bug #100530, passing wrong params to emission func.
1046 * registryd/deviceeventcontroller.c:
1047 (spi_dec_button_update_and_emit):
1048 Fixed type in mask bit operations; fix for #99799.
1050 2002-12-02 Bill Haneman <bill.haneman@sun.com>
1052 Removed some of the more dangerous workarounds from
1053 previous commit; they are only needed by GOK, which
1054 in reality should be using another method to accomplish
1055 the goals. So on reconsideration some of the workarounds
1056 need to be reverted:
1058 * registryd/deviceeventcontroller.c:
1059 (spi_keycodes_contain, spi_dec_init_keycode_list):
1060 Removed these methods, used only by a nasty hack to try
1061 and detect whether a key synthesis should be allowed
1062 to reset the XKB latch state or not. This code was only
1063 required to work around an interaction between GOK,
1064 button events, and XKB.
1065 (impl_generate_key_event):
1066 Removed hack at end of key generation that tried to
1067 "do the right thing" if XKB latch keys were generated
1068 in the midst of button press/release pairs.
1071 Added a check for HAVE_XINPUT. Not normally used yet.
1073 2002-11-25 Bill Haneman <bill.haneman@sun.com>
1075 Workarounds and fixes for mouse event/XKB interaction.
1077 * registryd/deviceeventcontroller.c:
1078 (spi_keycodes_contain, spi_dec_init_keycode_list):
1079 New internal methods.
1080 (spi_dec_set_unlatch_pending):
1081 Split the method that tells XKB to expect an
1082 unlatch (and revert it) out of the rest of the
1083 event handling code. This method is called by the
1084 two mouse event handlers (the poll and the filter).
1085 (spi_dec_update_and_emit, spi_dec_mouse_check):
1086 New methods split from spi_dec_poll_mouse_moved.
1087 The second one is now called from inside the filterFn
1088 when an XKB delatch event is received, to determine
1089 whether to revert the delatch or not.
1090 (spi_poll_mouse_moved): Refactor; also we can now
1091 properly handle the case where multiple button states
1092 have changed between polling cycles and we didn't get
1093 notified due to another client's grab.
1095 Synchronize the server while handling an XKB notification.
1096 Ugly, but apparently necessary to avoid nasty races.
1097 Check the mouse state on receipt of an XKB latch change,
1098 to decide whether to revert the latch or not. (Latches are
1099 reverted if there is an immediately preceding mouse button
1100 event that a client has consumed, in which case we don't want
1101 the user to see the side-effect of the event).
1102 (spi_device_event_controller_forward_mouse_event):
1103 Check for modifier events and fire before resetting mouse_mask_state,
1104 prevents losing modifier events.
1106 (impl_generate_keyboard_event):
1107 If we've just generated a keyboard event for a non-shift key,
1108 we don't want to revert the pending XKB latch.
1109 Otherwise, check the modifier state (via a call to
1110 spi_dev_mouse_check) and set the relatch mask to
1111 that state before returning.
1113 2002-11-24 Bill Haneman <bill.haneman@sun.com>
1116 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
1119 * atk-bridge/bridge.c:
1120 (spi_atk_register_event_listeners):
1121 Don't re-register for ATK events if the registry has died
1122 and the app needs to re-register; the ATK listeners are in
1123 process and doing so will cause duplicate emission.
1125 * registryd/deviceeventcontroller.c:
1126 (spi_poll_mouse_moved):
1127 Reformat the source, detect and emit multiple button-change
1128 events (i.e. if multiple buttons have changed between poll
1130 Add code to detect mouse-down events even when the pointer
1131 is grabbed; workaround for GOK bug 98420.
1132 (spi_controller_register_with_devices):
1133 Call XTestGrabControl with 'impervious' flag set to True,
1134 allows us to synthesize events and query the pointer even during
1135 an active grab by another client.
1136 (spi_device_event_controller_forward_mouse_event):
1137 Set the mouse_mask_state to the mouse_button_state from
1138 the intercepted event, to synchronize the grab listener with
1141 2002-11-20 Bill Haneman <bill.haneman@sun.com>
1143 * cspi/spi_accessible.c:
1144 (AccessibleRole_getName):
1145 Added necessary strings for making this (deprecated)
1146 method work with the new role types.
1147 (init_role_table, role_table):
1148 Added definition of SPI_ROLE_APPLICATION.
1150 * libspi/spi-roletypes.h:
1151 Added SPI_ROLE_APPLICATION.
1153 * idl/Accessibility_Role.idl:
1154 Added ROLE_APPLICATION.
1156 * docs/reference/cspi/at-spi-cspi-decl.txt:
1157 Added SPI_ROLE_APPLICATION to docs.
1159 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
1161 * cspi/spi_accessible.c
1162 (cspi_init_role_table): Do not write beyond end of role_table.
1163 (Accessible_getRole): Use correct type for value returned by
1164 Accessibility_Accessible_getRole().
1166 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
1167 beyond end of role_table. (This fixes bug #98269)
1169 * libspi/application.c: Add include file spi-private.h for
1170 definition of spi_init_any_nil.
1172 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1176 * libspi/spi-private.h:
1177 Added DGB() macro, and extern int _dbg declaration.
1179 * registryd/registry.c:
1180 (definitions) storage for _dbg.
1181 (spi_registry_init):
1182 Get environment variable "AT_SPI_DEBUG".
1183 (spi_registry_set_debug):
1184 New method, to initialize _dbg value.
1185 (spi_listener_struct_new, spi_registry_object_finalize):
1186 (notify_listeners_cb):
1187 Changed fprintfs to use DBG and g_warning().
1189 * registryd/deviceeventcontroller.c:
1190 (_deregister_keygrab, spi_controller_register_device_listener):
1191 Changed debug/warning messages to use DBG macro.
1193 * libspi/listener.c:
1194 (impl_notify_event):
1195 Changed warning messages to use DBG macro and g_warning().
1197 * atk-bridge/bridge.c:
1198 (atk_bridge_init, spi_atk_bridge_get_registry):
1199 (spi_atk_bridge_exit_func):
1200 (spi_atk_bridge_property_event_listener):
1201 Changed status, warning, and error messages to use
1202 g_warning, g_message, and DBG macros.
1205 Read the state of the AT_SPI_DEBUG environment variable
1206 and set a local '_dbg' accordingly.
1208 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1210 FIXES for 98836, 98842, other bugs.
1213 Revved to 1.1.4, interface-age=4, binary-age=4.
1215 * registryd/deviceeventcontroller.c:
1217 Fixed crasher bug in last_mouse_pos initialization.
1219 * registryd/registry.c:
1220 (desktop_add_application, desktop_remove_application):
1221 Added (and then commented out) some support for
1222 object context marshalling. [TODO]
1224 * atk-bridge/bridge.c:
1225 (spi_atk_bridge_event_context_create):
1226 Commented out object context creation until it can
1227 be properly tested and debugged.
1229 * registryd/registry.c:
1230 (impl_registry_notify_event):
1231 Fixed crasher bug, we were calling
1232 spi_re_entrant_list_foreach () with an empty list.
1234 2002-11-18 Bill Haneman <bill.haneman@sun.com>
1236 * idl/Accessibility_Action.idl:
1237 * idl/Accessibility_Component.idl:
1238 * idl/Accessibility_Desktop.idl:
1239 * idl/Accessibility_Event.idl:
1240 * idl/Accessibility_Hyperlink.idl:
1241 * idl/Accessibility_Image.idl:
1242 * idl/Accessibility_Relation.idl:
1243 * idl/Accessibility_Selection.idl:
1244 * idl/Accessibility_State.idl:
1245 * idl/Accessibility_Value.idl:
1246 Updated unimplemented slot count to minimum of
1247 four for all interfaces, for ABI freeze.
1249 * idl/Accessibility_EditableText.idl:
1250 * idl/Accessibility_Text.idl:
1251 Updated unimplemented slot count to six
1254 * idl/Accessibility_Registry.idl:
1255 Updated unimplemented slot count to six
1256 (also for DeviceEventController),
1259 * idl/Accessibility_Table.idl:
1260 Updated unimplemented slot count to eight,
1263 * idl/Accessibility_Event.idl:
1264 Added CORBA_any "any_data" member to Event struct.
1266 * idl/Accessibility_Event.idl:
1267 Added CORBA_any "any_data" member to Event struct.
1269 * atk-bridge/bridge.c:
1271 atk_signal_text_changed, atk_signal_child_changed,
1272 signal ids queried from gtype system.
1273 (AtkBridgeEventContextType): New enum.
1274 (AtkBridgeEventContextData): New struct.
1275 (AtkBridgeEventContext): New struct.
1276 (atk_bridge_init_event_type_consts):
1277 New method, initializes type contants for comparison
1278 prior to emit_eventv.
1279 (atk_bridge_event_context_init): New method,
1280 initializes a CORBA_any from an AtkBridgeEventContext.
1281 (atk_bridge_focus_tracker): Call spi_init_any_nil to
1282 initialize the event.any_data struct.
1283 (spi_atk_bridge_event_context_create): New method,
1284 creates an AtkBridgeEventContext from signal/event info.
1285 (spi_atk_bridge_event_context_free): New method.
1286 (spi_atk_emit_eventv): Changed to take an
1287 AtkBridgeEventContext parameter. We now initialize
1288 the event.any_data member prior to notifying the
1289 Registry, via the AtkBridgeEventContext.
1290 (spi_atk_bridge_property_event_listener):
1291 (spi_atk_bridge_state_event_listener):
1292 Match emit_eventv signature.
1293 (spi_atk_bridge_object_event_listener):
1294 Match emit_eventv signature, and create an
1295 event context from the event details.
1296 Free the event context afterwards.
1297 (spi_atk_bridge_window_event_listener):
1298 Create an event context, pass it to the
1302 (AccessibleEvent_getContextString):
1303 (AccessibleEvent_getContextObject):
1304 New methods, allow query of AccessibleEvent objects
1305 for more context details (via the "any_data" member
1306 of the Event struct, above).
1309 Definitions for AccessibleEvent_getContextString
1310 and AccessibleEvent_getContextObject.
1312 * cspi/spi_listener.h:
1313 (InternalEvent): New struct.
1316 (AccessibleEvent_getContextString):
1317 (AccessibleEvent_getContextObject):
1318 Implementations of new methods, for obtaining
1319 additional context information from some event types.
1321 * cspi/spi_registry.c:
1322 (SPI_registerGlobalEventListener):
1323 Added mention of active-descendant-changed event in docs.
1325 * cspi/cspi-bonobo-listener.c:
1327 Marshal the any into the AccessibleEvent via
1330 * libspi/spi-private.h:
1331 #include <orbit/orbit.h>
1333 (spi_init_any_string):
1334 (spi_init_any_object):
1335 New convenience function declarations.
1339 (spi_init_any_string):
1340 (spi_init_any_object):
1341 New convenience function implementations.
1343 * registryd/deviceeventcontroller.c:
1344 (spi_poll_dec_mouse_moved):
1345 (spi_device_event_controller_forward_mous_event):
1346 Initialize any_data member of event.
1347 (spi_deregister_controller_device_listener):
1348 Fix incorrect param pass which was preventing deregistration.
1350 * registryd/registry.c:
1351 (desktop_add_application):
1352 (desktop_remove_application):
1353 Add object data to event's any_data before dispatch.
1355 Fix for error messages from GAIL.
1357 * test/event-listener-test.c:
1358 Test new ContextString and "any_data" API:
1359 (report_text_event): New method query and output context string.
1360 (main): register a new text listener with report_text_event
1363 2002-11-19 Darren Kenny <darren.kenny@sun.com>
1365 Fixes for bugs 98127 and 97914.
1366 * cspi/spi-roletypes.h:
1367 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
1369 * cspi/spi-statetypes.h:
1370 Added SPI_STATE_MANAGES_DESCENDANTS
1372 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
1373 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
1374 * cspi/spi_accessible.c:
1375 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
1376 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
1377 Accessibility_STATE_MANAGES_DESCENDANTS
1378 * libspi/accessible.c:
1379 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
1380 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
1381 As requested by Bill, I also cleaned up the alignment.
1382 * libspi/relation.c:
1383 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
1384 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
1385 * libspi/stateset.c:
1386 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
1387 Accessibility_STATE_MANAGES_DESCENDANTS
1388 * docs/reference/cspi/tmpl/spi_accessible.sgml:
1389 Document changes reflecting modifications to roles.
1390 * docs/reference/cspi/tmpl/spi_relation.sgml:
1391 Document changes reflecting modifications to relations.
1392 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1393 Document changes reflecting modifications to states.
1395 2002-11-17 Bill Haneman <bill.haneman@sun.com>
1398 Revved to 1.1.3, interface-age=3, binary-age=3.
1399 Added REBUILD macro.
1402 Removed accessx-gui from the tests, since we have a nice
1403 keyboard accessibility capplet now :-)
1405 * test/keysynth-demo.c:
1406 (increment_scan): removed do-nothing default: case,
1409 * test/visual-bell.c:
1410 (main) : removed do-nothing default: case,
1413 * cspi/spi_action.c:
1414 (AccessibleAction_getKeyBinding_):
1415 Documented keybinding string format.
1419 (AccessibleText_getAttributes):
1420 Documented the text attribute string format.
1421 It's changed to use semicolon delimiters also,
1422 to prevent clashes with CSS attributes, but the old
1423 trick of looking for ", " strings will still work
1424 (as unreliably as ever). Fix for bug related to 97916.
1427 Include <cspi/bonobo/cspi-bonobo-listener.h>
1428 Fixes build warning.
1429 (SPI_freeAccessibleKeySet):
1430 (AccessibleKeystrokeListener_addCallback):
1431 (AccessibleKeystrokeListener_removeCallback):
1432 Modify to use AccessibleDeviceListener API internally,
1433 instead of AccessibleKeystrokeListener.
1435 * idl/Accessibility_Event.idl:
1436 Added two more empty slots to EventListener (for a total of four).
1438 * idl/Accessibility_Accessible.idl:
1439 Added four empty slots to Accessible interface.
1441 2002-11-15 Bill Haneman <bill.haneman@sun.com>
1443 * idl/Accessibility_Registry.idl:
1444 (KeyEventType, EventType):
1445 Marked KeyEventType as deprecated; it duplicates
1446 functionality of EventType, which has been extended to
1447 include Mouse-button events.
1448 (KeyEventTypeSeq): defined in terms of EventType.
1449 (registerDeviceEventListener, deregisterDeviceEventListener):
1450 New methods, for managing listeners to device events,
1451 which potentially may consume them.
1454 Added definition for AccessibleDeviceListener.
1456 * cspi/spi-listener.h:
1457 (enum AccessibleDeviceEventType):
1458 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
1459 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
1460 for backwards compat.
1461 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
1462 and typedef'd AccessibleKeystroke to it for back-compat.
1463 (AccessibleDeviceListenerCB):
1464 New function prototype typedef.
1467 (AccessibleDeviceEventMask): New typedef.
1468 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
1469 (AccessibleKeyMaskType):
1470 Set equivalent to AccessibleModifierMaskType for back-compat.
1471 (SPI_createAccessibleKeystrokeListener):
1472 (AccessibleKeystrokeListener_unref):
1473 Deprecated in favor of equivalent (better-named) new API below..
1474 keystroke listeners are like all device listeners.
1475 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
1476 New API names for old features :-).
1477 (AccessibleDeviceListener_addCallback):
1478 (AccessibleDeviceListener_removeCallback):
1479 (SPI_registerDeviceEventListener):
1480 (SPI_deregisterDeviceEventListener):
1484 (SPI_createAccessibleKeystrokeListener):
1485 Use new preferred API, cspi_device_listener_new() and
1486 cspi_device_listener_add_cb().
1487 (AccessibleKeystrokeListener_removeCallback):
1488 Use new preferred API, cspi_device_listener_remove_cb().
1489 (AccessibleKeystrokeListener_unref):
1490 Use new preferred API, cspi_device_listener_unref().
1491 (SPI_createAccessibleDeviceListener):
1492 (AccessibleDeviceListener_addCallback):
1493 (AccessibleDeviceListener_removeCallback):
1494 Implementation of new API.
1496 * cspi/spi_registry.c:
1497 (SPI_registerDeviceEventListener):
1498 (SPI_deregisterDeviceEventListener):
1499 Implementation of new API. Fixed memory leak and removed need to
1500 allocate EventTypeSeq (thanks Michael for catching this).
1501 Squashed a wayward CORBA_exception_free that shouldn't get called.
1503 * cspi/bonobo/cspi-bonobo-listener.c:
1505 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
1506 (cspi_key_event): renamed to cspi_device_event().
1507 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
1508 Extended to handle mouse button events as well as key events.
1509 (CSpiKeystrokeListener):
1510 Class superceded by CSpiDeviceListener.
1511 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1512 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1514 * cspi/bonobo/cspi-bonobo-listener.h:
1515 (CSpiKeystrokeListener):
1516 Class superceded by CSpiDeviceListener.
1517 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1518 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1520 * libspi/Makefile.am:
1521 Replaced keystrokelistener.h and keystrokelistener.c
1522 with devicelistener.h and devicelistener.c; keystrokelisener.h
1523 stub retained for back-compat.
1525 * libspi/keystrokelistener.c:
1529 Replaced inclusion of keystrokelistener.h with devicelistener.h.
1531 * registryd/deviceeventcontroller.c:
1532 (DEControllerListener): Added Accessibility_EventTypeSeq member.
1533 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
1534 (DEControllerPrivateData): Added xkb settings data.
1535 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
1536 button release events (which can't be captured via XGrabButton).
1537 Don't dispatch via the 'normal' event mechanism if the device event was
1539 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
1540 Handle the typeseq data in its new location (see above).
1541 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
1542 New methods, for "generic" device listeners.
1543 (spi_controller_register_device_listener):
1544 Now handle mouse event listeners as well as key listeners.
1545 (spi_controller_notify_mouselisteners):
1546 New internal method.
1547 (spi_device_event_controller_forward_mouse_event):
1548 Now we notify mouse device listeners as well as generating the
1549 non-consumable "mouse:" events.
1551 We must check and restore the XKB
1552 modifier map if we consume the event, since the act of triggering
1553 a mouse event will normally reset the XKB latch. This is required for
1555 (spi_controller_register_with_devices):
1556 Load the XKB settings when registering, and register for XKB
1557 state notify events.
1558 (spi_key_eventtype_seq_contains_event):
1559 Renamed spi_eventtype_seq_contains_event, since it's used
1560 internally for all device event types now.
1561 (spi_key_event_matches_listener):
1562 Uses spi_eventtype_seq_contains_event now.
1563 (spi_device_event_controller_object_finalize):
1564 Free the private data and the XkbKeyboard struct.
1565 (impl_register_device_listener, impl_deregister_device_listener):
1566 Implementation of new IDL.
1567 (spi_deregister_controller_device_listener):
1568 New internal method.
1569 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
1570 More efficient implementation, we don't have to create a new
1571 XkbControls structure every time we query.
1572 (spi_device_event_controller_class_init):
1573 Initialize the epv entries for the new IDL. Assign the
1574 "spi-dec-private" quark.
1575 (spi_device_event_controller_init):
1576 Initialize the private data.
1577 (spi_device_event_controller_forward_key_event):
1578 Removed a bogus CORBA_exception_free() call.
1580 * registryd/deviceeventcontroller.h:
1581 Replaced inclusion of keystrokelistener.h with
1584 * test/event-listener-test.c:
1585 (report_mouse_event):
1588 Added mouse-event device listener.
1590 * test/test-simple.c:
1591 (create_test_window):
1592 Fixed regression (we were instantiating a GtkRange,
1593 which is now an abstract class). Also fixed to match
1594 existing AtkRole names, this seems to have changed in ATK
1595 awhile ago; too late now I think, and the new
1596 mechanism is at least elegant and consistent with the
1597 glib enum "nick" APIs.
1599 2002-11-15 Darren Kenny <darren.kenny@sun.com>
1601 * idl/Accessibility_Relation.idl:
1602 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
1603 RELATION_EMBEDS,RELATION_EMBEDDED_BY
1604 * idl/Accessibility_Role.idl:
1605 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
1606 * idl/Accessibility_State.idl:
1607 add STATE_MANAGES_DESCENDANTS
1608 * test/event-listener-test.c:
1609 Added a listener for active-descendant events.
1611 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
1613 * atk-bridge/bridge.c
1614 (atk_bridge_init): If application is Bonobo component wait until top
1615 level is added before registering
1616 (spi_atk_bridge_do_registration): New function which contains code,
1617 formerly in atk_bridge_init, to do application registration.
1618 (spi_atk_bridge_toplevel_added): Signal called when top level
1619 added to Bonobo component
1621 This fixes bug #83134.
1623 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
1625 * registryd/deviceeventcontroller.c
1626 Fixed compilation error caused by calling gettimeofday()
1629 2002-10-18 Bill Haneman <bill.haneman@sun.com>
1634 Added template for HAVE_XKB.
1637 Changes to check for XKB, and to set the HAVE_XKB #define if it
1640 * libspi/listener.c:
1641 ()impl_notify_event): Make failure to get event source name
1644 * registryd/deviceeventcontroller.c:
1645 (#include): include X11/XKBlib.h.
1646 (DEControllerPrivateData) : New struct.
1647 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
1649 (dec_synth_keycode_press) (dec_synth_keycode_release):
1650 New methods; split the key synthesis code into these methods.
1651 They check XKB settings before determining the "time" values to
1652 pass to Xtest; this fixes bug #95828.
1653 (impl_generate_keyboard_event): Changed to use methods above,
1654 instead of callng Xtest directly.
1655 (spi_device_event_controller_init): Initialize new privae struct s
1657 (spi_device_event_controllr_object_finalize):
1658 Free the (new) private data.
1660 * registryd/deviceeventcontroller.h:
1661 Add new gpointer to end of struct data.
1663 2002-10-16 Bill Haneman <bill.haneman@sun.com>
1666 Incremented revision to 1.1.2, SONAME is still '.so', library
1667 extensions are ".so.0.0.2".
1669 * registryd/deviceeventcontroller.c:
1670 FIXES FOR #93592 and #95940.
1671 (statics): renamed mouse_button_state to mouse_mask_state,
1672 added key_modifier_mask.
1673 (spi_dec_poll_mouse_moved):
1674 Added key modifier checks, and emit "keyboard:modifiers"
1675 events when the key modifiers currently in use change.
1676 Also generate "mouse:abs" events periodically, even if the mouse
1677 is stationary (should we?).
1678 Alternatively we could generate "mouse:abs" events for either all
1679 mouse movements, or every 'nth' mouse movement, or at the
1680 beginning and end of every "active" mouse period.
1682 * test/event-listener-test.c:
1683 (main): Added listener for "keyboard:modifiers" events.
1685 2002-10-15 Bill Haneman <bill.haneman@sun.com>
1687 * libspi/keymasks.h:
1688 Added key mask #defines for mouse buttons; e.g.
1689 SPI_KEYMASK_BUTTON1, etc.
1692 Incremented dependency on ATK to version 1.1.0. (This dependency
1693 is probably premature but will soon be real enough).
1695 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
1697 * libspi/hyperlink.[ch]
1698 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
1699 (get_hyperlink_from_servant): Check object is AtkHyperlink not
1702 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
1707 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
1709 * registryd/deviceeventcontroller.c
1710 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
1711 events to be ignored.
1712 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
1713 keyboard_mode so that XAllowEvents() can be called.
1717 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
1719 * cspi/spi-accessible.c: Correct names of roles returned by
1720 AccessibleRole_getName(). Fixes bug #95055.
1722 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
1724 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
1727 * registryd/registry.c
1728 (desktop_remove_application: Write diagnostic message to stderr for
1731 (impl_accessibility_registry_deregister_global_event_listener):
1732 Correct size of lists array. This addresses bug #94555).
1734 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
1736 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
1739 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
1741 * registryd/Makefile: Add CLEANFILES so that .server file is removed
1744 * registryd/registry.c (impl_registry_notify_event): Remove
1745 unnecessary call to parser_event_type().
1747 * docs/reference/cspi/tmpl/spi_component.sgml:
1748 Add reference to SPI_LAYER_WINDOW.
1750 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
1752 * registryd/registry.c
1753 (desktop_add_application): Remove leak.
1754 (desktop_remove_application): Remove leak.
1755 (parser_event_type): Remove leak.
1757 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
1759 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
1760 bogus call to CORBA_string_dup(). Also removed unnecessary
1761 g_string_dup/g_free calls.
1763 2002-09-13 Bill Haneman <bill.haneman@sun.com>
1765 * registryd/deviceeventcontroller.c:
1766 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
1768 * test/event-listener-test.c:
1769 main: commented out three redundant listeners, to reduce output
1770 noise. (They still are potentially useful for testing).
1773 2002-09-13 Michael Meeks <michael@ximian.com>
1775 * Update all the copyrights to include Ximian.
1777 2002-09-06 Mark McLoughlin <mark@skynet.ie>
1779 * cspi/spi.h: add SPI_LAYER_WINDOW.
1781 * cspi/spi_component.c: (AccessibleComponent_getLayer):
1782 add Accessibility_LAYER_WINDOW case.
1784 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
1786 * libspi/component.c: (impl_accessibility_component_get_layer):
1787 add ATK_LAYER_WINDOW case.
1789 2002-08-28 Bill Haneman <bill.haneman@sun.com>
1791 * configure.in: incremented micro version.
1793 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
1795 2002-08-20 Bill Haneman <bill.haneman@sun.com>
1798 Clarified and reworded our commit policy.
1801 Started an API "todo" addition list for 2.2.
1804 (impl_getSelection):
1805 Free char pointer from atk_text_get_selection, which was being leaked.
1807 2002-08-19 Bill Haneman <bill.haneman@sun.com>
1810 Small revision to author acknowledgement.
1812 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1814 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
1815 If signal has detail add it to the type of the event.
1818 2002-08-12 Michael Meeks <michael@ximian.com>
1820 * test/test-simple.c (global_listener_cb): bin bogosity.
1821 (test_keylisteners): disable, still doesn't work reliably,
1822 certainly not on my system anyway.
1824 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
1825 don't leak a reference on the DEC. This round-trip
1826 fetching of the DEC per keystroke sucks, it should be
1829 * cspi/spi-private.h,
1830 * cspi/cspi-lowlevel.h,
1831 * cspi/bonobo/cspi-bonobo-listener.[ch],
1832 * cspi/bonobo/cspi-bonobo.c: get the copyright
1833 notices better - there is still a large amount of
1834 work in at-spi falsely attributed solely to Sun.
1836 * cspi/spi_main.c (cspi_object_ref): kill bogus
1837 hash lookup, just increment the ref.
1838 (SPI_freeString): make explicit the fact that we
1839 handle NULL strings just fine.
1840 (report_leaked_ref): obey coding standards.
1841 (cspi_object_hash, cspi_object_equal): kill retval.
1842 (cspi_object_release): only release if not on loan.
1843 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
1844 (cspi_object_borrow, cspi_object_return): impl.
1846 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
1847 use cspi_object_borrow / return.
1849 2002-08-12 Darren Kenny <darren.kenny@sun.com>
1851 * cspi/bonobo/cspi-bonobo-listener.c:
1853 Don't call cspi_oject_new() because this is creating a new Accessible
1854 every single time that an event is fired. This causes ATs like at-poke
1855 to nolonger recognise the source of the event and thus ignore it.
1856 Re-use the object from the cache, ref it and then unref it after the
1857 listeners have been called.
1859 2002-08-06 Darren Kenny <darren.kenny@sun.com>
1861 * test/event-listener-test.c:
1862 Added command-line options to disable mouse events (m) and
1865 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
1867 * configure.in: Update required versions of ATK, GTK+ and GAIL
1869 * cspi-1.0.pc.in: Add dependency for X include files
1872 * cspi/bonobo/Makefile.am:
1873 Add $(X_CFLAGS) so that X include files
1874 are picked up even if not in standard place (bug #71686)
1876 2002-06-25 Bill Haneman <bill.haneman@sun.com>
1878 * registryd/deviceeventcontroller.c: fix for 84261
1879 (spi_dec_mouse_moved):
1880 Added test of mouse button mask, so that we can detect mouse
1881 button release. Unfortunately we can't otherwise detect mouse
1882 button release events without consuming the mouse press event,
1883 because of the way XGrabButton works. This means that our mouse
1884 release events have a latency dependent on the polling period
1885 while the mouse button is down. At least in this case we only
1886 have to poll while the button is down, and not at other times.
1887 If the button masks don't match with what the last press event
1888 reported, we report the appropriate button release event.
1889 (spi_dec_ungrab_mouse):
1890 New method (not yet called).
1891 (spi_device_event_controller_forward_mouse_event):
1892 New method, sends mouse press event from GdkFilter.
1893 (spi_dec_init_mouse_listener):
1894 Added code to call XGrabButton, redirecting mouse button events to
1895 the root window and our Gdk event loop.
1897 Added code to filter mouse button events, and reordered.
1899 * test/event-listener-test.c:
1901 Added registration for mouse events of type "mouse:button".
1903 2002-06-25 Bill Haneman <bill.haneman@sun.com>
1905 * registryd/deviceeventcontroller.c: partial fix for 84261
1906 (spi_dec_poll_mouse_idle):
1907 New method, a timeout which checks to see if the mouse
1909 (spi_dec_poll_mouse_moving):
1910 A timeout to be called when mouse motion is underway.
1911 (spi_dec_poll_mouse_moved):
1912 A method which fires an event if the mouse has moved, and reports
1913 whether or not it did so.
1914 (spi_dec_init_mouse_listener):
1915 A method which sets up the timeouts above.
1916 (spi_device_event_controller_new):
1917 Now calls spi_dec_init_mouse_listener.
1919 * registryd/registry.c:
1920 (spi_registry_init):
1921 Now we initialize the device event controller when the registry is
1922 initialized, instead of waiting until a client has requested a key
1923 event notification; this is because we need the event controller
1924 for mouse events, but the mouse event registration API is a
1925 "registry" call and doesn't explicitly call the
1926 deviceeventcontroller.
1927 We now report mouse motion events with a 100 ms idle latency and
1928 a 20 ms granularity when motion is in progress.
1930 * test/event-listener-test.c:
1932 We now register the "detail listener" for events of type
1933 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
1934 delivered only for the first mouse event received, and thereafter
1935 "mouse:abs" events are delivered.)
1937 * cspi/spi_registry.c:
1938 DOCS: Documented the above mouse event typestrings.
1940 2002-06-21 Bill Haneman <bill.haneman@sun.com>
1942 Happy Summer Solstice...
1944 * registryd/deviceeventcontroller.c: [fix for bug 84100]
1945 (spi_controller_notify_keylisteners):
1946 Changes to remove a listener from the listener list, freeing its
1947 open keygrabs, if a notification to that listener fails. This
1948 means that although a dead listener can continue to hold a passive
1949 keygrab, a maximum of one dispatch to such a listener can fail
1950 before the listener is removed from the list, thus the keygrab
1951 will be released on the next occurrence.
1952 As part of this fix:
1953 (spi_notify_keylisteners):
1954 Renamed to spi_controller_notify_keylisteners, as the controller
1955 instance must now be passed as an argument.
1956 The copied 'notify' GList is now a list of DEControllerKeyListener
1957 objects, since we need more than just the CORBA reference if a
1958 notify fails and we need to deregister the listener.
1959 (impl_notify_listeners_sync):
1960 (impl_notify_listeners_async):
1961 (spi_device_event_controller_forward_key_event):
1962 Modify use of notify_keylisteners in accordance with above
1964 (spi_deregister_controller_key_listener):
1965 New method introduced by refactoring, from
1966 impl_deregister_keystroke_listener.
1967 (impl_deregister_keystroke_listener):
1968 Call spi_deregister_controller_key_listener.
1969 (spi_key_listener_clone):
1970 New method to copy a key listner without doing a 'ref' on the
1971 remote object instance; used to create a notifier list.
1972 (spi_key_listener_data_free):
1973 New method, frees data without unreffing the source.
1975 (spi_key_listener_clone_free): new method.
1976 (spi_key_listener_free):
1977 refactored to call spi_key_listener_data_free.
1979 2002-06-20 Bill Haneman <bill.haneman@sun.com>
1981 * registryd/registry.c: [fix for bug 86048]
1982 (notify_listeners_cb):
1983 Clear CORBA system exceptions which occur when notifying
1984 listeners, before returning to the source of the original event,
1985 since the event source doesn't care if the relayed notify failed.
1986 In other words, don't complain to the atk-bridge if the registry
1987 could not notify all its listeners, that's no fault of the
1988 application and thus should not appear to be an error from the
1989 application's perspective.
1991 * cspi/spi_main.c: [fix for bug 85980]
1993 Replaced use of bonobo_object_dup_ref with call to the wrapper
1994 method, csou_dup_ref (); this silences a compiler warning and
1995 provided more portability.
1997 Ping the registry before return, and restart if necessary.
1999 * cspi/bonobo/cspi-bonobo.c:
2001 New internal method.
2003 Fixed this method to return an object reference, as it should have
2006 * cspi/cspi-lowlevel.h:
2007 Added internal definition for cspi_ping() and fixed
2008 return type of cspi_dup_ref().
2011 2002-06-19 Bill Haneman <bill.haneman@sun.com>
2013 * atk-bridge/bridge.c: [fix for bug 85305]
2014 (spi_atk_bridge_register_application):
2015 New method where the initial application registry calls have been
2016 moved; it allows an application to re-register in response to
2017 certain error conditions (such as a registry restart, see below).
2019 Moved some initialization code to the method
2020 spi_atk_bridge_get_registry, below.
2021 (spi_atk_bridge_get_registry):
2022 New, private accessor function for the Accessibility_Registry
2023 instance. If the registry has not been started before, or has
2024 died (as detected by failure of a CORBA exception), it is
2025 restarted before return, and spi_atk_bridge_register_application
2026 is called again to register with the new bridge instance.
2027 (spi_atk_emit_eventv):
2028 Set registry_died on error; use spi_atk_bridge_get_registry () to
2029 access the registry.
2031 * registryd/registry.c:
2032 (impl_accessibility_registry_register_global_event_listener):
2033 Set listener's event_type_quark to etype.minor instead of
2034 etype.major (fix for bug 84856).
2036 * test/event-listener-test.c:
2037 (report_detail_event):
2038 Change the output string so that user/tester can tell that the
2039 'detail listener' was called instead of the 'generic listener'.
2041 2002-06-18 Bill Haneman <bill.haneman@sun.com>
2043 Fixes for bugs 84900, 84908, 84897, 84898.
2048 Revved version to 1.1.0
2049 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
2050 version is going to HEAD which will be used for gnome-2-0-1 and later.)
2052 * idl/Accessibility_Registry.idl:
2053 (EventListener::notifyEvent):
2054 Removed 'oneway' directive after extensive consulation with
2055 ORBit2 team and others. This means also that unref() of the event
2056 source can and should be done synchronously after emission, rather
2057 than remotely in the client, after servicing the notify call on
2060 NOTE: This change speeds up listener performance considerably, but
2061 introduces new latency on the application side. We may want to
2062 add an event queue to the atk-bridge.
2064 * atk-bridge/bridge.c:
2065 (spi_atk_bridge_focus_tracker):
2066 Do a local unref() on the event source after emission.
2068 * registryd/registry.c:
2069 (desktop_remove_application):
2070 Do an unref() on the event source after emission.
2071 (desktop_add_application):
2072 Do an unref() on the event source after emission.
2073 (notify_listeners_cb):
2074 When relaying an event, don't automatically add the event source
2075 to the local object cache, just CORBA_dup it instead. Likewise,
2076 if this method reenters, release the ref rather than calling
2078 (impl_registry_notify_event):
2079 No longer call remote unref() on the event source after dispatch.
2081 * libspi/eventlistener.c:
2082 (impl_accessible_event_notify_event):
2083 Removed remote unref ()
2085 * cspi/bonobo/cspi-bonobo-listener.c:
2087 We now call cspi_object_new() instead of cspi_object_add() on
2088 receipt of an event; thus we only have an implicit object ref
2089 while the cspi_event method is being executed. If we need to keep
2090 a reference to the object, the listener must call ref() on the
2091 object. Thus also we don't need to call cspi_object_unref() after
2092 invoking the listener callbacks in this method.
2096 New internal API for creating a new cspi object, without adding it
2097 to the object cache.
2099 Now uses cspi_object_new() to create the cspi object instance.
2101 Now checks to see if the object is in the internal object cache,
2102 and adds it if necessary before incrementing its refcount (note
2103 that new objects are added with a refcount of 1).
2104 (report_leaked_ref):
2105 New method which gives some information on leaked object instances
2106 if leak detection is turned on.
2108 * test/event-listener-test.c:
2109 (timing_test_event):
2110 New method, used for testing event delivery timing for special
2111 events of type "object:test". It reports elapsed time and
2112 events/sec every 500 events.
2114 Added a new listener, 'test listener', to check timing of event
2115 receipt as noted above.
2117 Added some timing output here also, reports elapsed time every 100
2120 * test/stress-test.c:
2121 Emit events of type "object:test", for use with "event-listener-test".
2123 * test/test-simple.c:
2124 (global_listener_cb):
2125 Call Accessible_ref() on the event source before calling
2126 validate_accessible, since the validation process does pointer
2127 comparisons on the event source, meaning that the event source
2128 needs to be added to the local object cache first. Any use of
2129 such pointer comparisons between Accessible objects requires that
2130 the caller hold an explicit reference to those objects.
2131 We also must therefore call Accessible_unref() when leaving this method.
2133 2002-06-13 Bill Haneman <bill.haneman@sun.com>
2135 * registryd/deviceeventcontroller.c:
2136 (spi_controller_update_key_grabs):
2137 Fix for #84735, subsequent keygrab listeners not informed of
2138 registration failure.
2141 (spi_base_construct):
2142 Add an assertion on construct, to make sure the GObject passed in
2143 is really a GObject.
2145 Explicitly initialize object->gobj pointer to NULL;
2147 * cspi/bonobo/cspi-bonobo-listener.c:
2148 (cspi_object_add_ref):
2149 New method, can specify whether to dup-ref a bonobo object passed
2150 in if it's newly added to the object cache.
2152 Now calls cspi_object_add_ref with second param of "FALSE". This
2153 prevents us from doing a pointless dup-ref followed by
2154 release-unref for all those cases where the object is already in
2155 our object cache (fix for #85205).
2157 * atk-bridge/bridge.c:
2158 (spi_atk_bridge_idle_init):
2159 Removed this method, we don't need to initialize in an idle
2162 Changed to call spi_atk_register_event_listeners directly, not via an
2163 idle handler. (fix for #81139)
2164 (gnome_accessibility_module_shutdown):
2165 Removed conditional around deregistration of listeners, since we
2166 don't use the idle handler and thus have always registered when
2168 (spi_init_keystroke_from_atk_key_event):
2169 Changed references to Accessibility_KEY_PRESSED to
2170 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
2172 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2174 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
2179 * test/stress-test.c:
2182 (may have been an incomplete commit yesterday?)
2184 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2187 Added target for new stress-test.
2189 * test/stress-test.c:
2190 New test, sends 1000 focus notifies in quick succession.
2192 * test/key-listener-test.c:
2193 Now we report whether a keylistener registration
2194 request succeeded or failed.
2196 * test/event-listener-test.c:
2197 Uncommented some listeners which are now implemented.
2200 2002-06-06 Bill Haneman <bill.haneman@sun.com>
2202 * registryd/deviceeventcontroller.c:
2203 (spi_controller_update_key_grabs):
2204 Fix for #82509, lack of failure notification when
2205 ALL_WINDOWS keygrabs fail due to XGrabKey
2206 failure: we synchronize the server when
2207 registering a passive grab, to make sure we get the
2208 error message before the call returns.
2210 2002-06-03 Bill Haneman <bill.haneman@sun.com>
2212 * test/test-simple.c:
2214 Removed #ifdef KEY_IMPL_WORKS guards.
2215 (test_keylisteners):
2216 Removed #ifdef KEY_IMPL_WORKS guards.
2217 Fixed bug which was causing a hang waiting for a
2218 "press" event (which was already overwritten by a "release"
2219 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
2221 Added code to set globals 'key_press_received' and
2222 'key_release_received'.
2225 Added section "1.1 API Proposed Additions" which
2226 lists API additions desired for at-spi-1.1 (only one so far).
2227 Updated TODO list a little.
2229 2002-06-02 Bill Haneman <bill.haneman@sun.com>
2231 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
2234 * configure.in: Revved to 1.0.0.
2236 * idl/Accessibility_Registry.idl:
2237 (registerKeystrokeListener):
2238 Added boolean return value.
2240 * registryd/registry.c:
2241 (notify_listeners_cb): Minor fix to debug output.
2243 * registryd/Accessibility_Registry.server.in.in:
2244 Revved version number in OAFIID to 1.0.
2246 * registryd/registryd.c:
2248 Use new OAFIID version.
2250 * cspi/bonobo/cspi-bonobo.c:
2252 Use new OAFIID version.
2258 * atk-bridge/bridge.c:
2260 Use new OAFIID version.
2262 * registryd/deviceeventcontroller.c:
2263 (impl_register_keystroke_listener):
2264 Added CORBA_boolean return value.
2265 (spi_controller_register_device_listener):
2266 Added gboolean return value.
2267 (spi_controller_register_global_keygrabs):
2268 Added gboolean return value.
2269 (spi_key_set_contains_key):
2270 Added implementation for many more control keys,
2271 for instance F1-F12, arrow keys, End, Home, Page_Up,
2273 [TODO: some still not implemented].
2275 * text/screen-review-test.c:
2276 (text_chunk_pad_string):
2277 New function: it provides mapping between coordinate
2278 positions of text chunks and character positions in the
2279 screen-review-line output string.
2280 (text_chunk_to_string):
2281 New function, calls text_chunk_pad_string with various
2282 pad/delimiter characters. Pushbuttons are delimited with
2283 square brackets, Frames with vertical 'pipe' lines, and
2284 other text with double quotes.
2285 (text_chunk_list_to_string):
2286 Calls new function text_chunk_to_string.
2287 (toplevel_composite):
2288 New function to composite layers CANVAS through
2289 POPUP in each toplevel (other layers are composited
2290 across toplevels, i.e. BACKGROUND and OVERLAY).
2291 (review_buffer_composite):
2292 Revise to use new methods.
2298 2002-05-31 Laszlo Peter <laca@sun.com>
2300 * configure.in: add the Xtst libdir to the runpath on Solaris,
2301 since it's not in the default library search path.
2303 2002-05-29 jacob berkman <jacob@ximian.com>
2305 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
2307 2002-05-29 Bill Haneman <bill.haneman@sun.com>
2309 * test/screen-review-test.c:
2310 (text_chunk_pad_string):
2311 Added method, which pads the string according to the
2312 text bounds of the chunk. It also takes a 3-character
2313 string as a param which indicates the characters to be
2314 used for start, padding, and end delimitation of the chunk.
2315 (text_chunk_to_string):
2316 Changed to use text_chunk_pad_string.
2318 * configure.in: Fixed bug in AC_OUTPUT that was
2319 causing path substitution in Accessibility_Registry.server
2322 2002-05-23 Bill Haneman <bill.haneman@sun.com>
2324 * text/screen-review-test.c:
2325 (guess_string_clip):
2326 New method which attempts a best-guess at clipping
2327 text from components (like Java labels) which don't
2328 actually implement AccessibleText. This inaccurate
2329 clip is based on the assumption that the label is
2330 justified left-and-right, and monospaced.
2331 (text_chunk_get_clipped_string):
2332 We now call guess_string_clip() for text-containing
2333 components that don't implement AccessibleText.
2335 * test/screen-review-test.c:
2336 (review_buffer_get_text_chunk):
2337 We now pull "name" from labels if they do not implement
2338 AccessibleText (i.e. for Java labels).
2339 (get_screen_review_line_at):
2340 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
2343 Replaceded AC_OUTPUT target
2344 registryd/Accessibility_Registry.server with
2345 registryd/Accessibility_Registry.server.in.
2347 * registryd/Accessibility_Registry.server.in:
2348 Removed (this is now a Makefile target).
2350 * registryd/Accessibility_Registry.server.in.in:
2351 Added (source for target above). We now use $(libexecdir) as
2352 prefix for the executable at-spi-registryd.
2354 * registry/Makefile.am:
2355 Now install at-spi-registryd into $(libexecdir), and build .server
2356 file with path (see above).
2358 2002-05-22 Bill Haneman <bill.haneman@sun.com>
2360 * test/screen-review-test.c:
2361 (text_chunk_get_clipped_string):
2362 We now check to see if words fall within clip bounds
2363 before resorting to character-by-character clip bounds testing.
2365 * TODO: Added a section for "2.2 Proposed API Additions".
2367 2002-05-21 Bill Haneman <bill.haneman@sun.com>
2369 * test/screen-review-test.c:
2371 Added a screen review benchmarking and test program to test
2374 * cspi/spi_accessible.c:
2376 Made some of the debug strings passed to cspi_check_ev a
2377 little more specific.
2379 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
2381 * test/screen-review-test.c: Fix crashes in debug statements
2383 2002-05-20 Bill Haneman <bill.haneman@sun.com>
2385 * test/screen-review-test.c: Added this file.
2387 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2389 * atk-bridge/bridge.c: changed "object:state-change" to
2390 "object:state-changed" to match docs.
2392 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2394 * atk-bridge/bridge.c: Hooked up state-change event details.
2396 2002-05-11 Bill Haneman <bill.haneman@sun.com>
2398 * registryd/registry.c:
2399 Fixed quarking bug in event string parsing; now events with
2400 detail parameters get matched correctly to listeners.
2403 * util/idl/Magnifier.idl: remove.
2405 * util/*.[ch]: Remove.
2406 Magnification utilities and IDL are now in module gnome-mag.
2408 2002-05-10 Bill Haneman <bill.haneman@sun.com>
2410 * registryd/deviceeventcontroller.c:
2411 Fixed bug in grab key conversion which was causing keycode grabs
2412 to be converted to AnyKey grabs.
2415 updated NEWS file to reflect recent spin-off of gnome-mag.
2417 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
2419 * cspi/spi_accessible.c: Added exception checks. Fixed completely
2420 busted AccessibleStateSet_compare. Removed redundant casts.
2422 * cspi/spi-action.c: Removed redundant casts.
2424 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
2426 * cspi/spi_component.c: Fixed typos and casting error.
2428 * cspi/spi_editabletext.c: Removed redundant casts.
2430 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
2432 * cspi/spi_hypertext.c: Eliminated redundant casts.
2434 * cspi/spi_image.c: Eliminated redundant casts.
2436 * cspi/spi_registry.c: Eliminated redundant casts.
2437 SPI_deregisterGlobalEventListenerAll () removed retval variable.
2438 * cspi/spi_selection.c: Removed redundant casts.
2439 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
2440 handling. Screen geometry and text offsets were being returned as 0
2441 on error which is technically valid-- changed these to return -1.
2442 Added marshaller for text boundary types to fix bug with boundary
2443 types being passed incorrectly to atk.
2445 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2448 * cspi/spi_registry.c:
2449 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
2450 which was uncovered by the recent key changes.
2452 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2454 * test/event-listener-test.c:
2456 Added new test, "event-listener-test";
2457 this code does two things; it benchmarks traversal time
2458 for the accessible hierarchy for the first running accessible
2459 app, and it connects listeners for all supported event types.
2460 It is thus useful as an example event listener and for
2461 diagnostics/debugging of event generation.
2463 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2466 Removed unnecessary dependency on libutil.
2469 Revved micro version: 0.13.1
2471 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2474 Removed util/Makefile from targets.
2477 Removed util subdir from SUBDIRS (temporarily,
2478 pending removal of magnifier-only code
2482 #ifdef-ed out magnifier dependencies, since
2483 magnifier IDL, headers, and binary now live in
2484 module gnome-mag and we don't want at-spi to depend
2485 on gnome-mag. A magnifier demo which can run alongside
2486 simple-at is forthcoming in the gnome-mag module.
2488 NOTE: Split magnifier binary, IDL, and magnification
2489 activation code from at-spi into module gnome-mag.
2491 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
2493 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
2494 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
2496 2002-05-03 Bill Haneman <bill.haneman@sun.com>
2499 Revved to version 0.13.0
2501 * idl/Accessibility_Registry.idl:
2502 Changed definition of KeySet from sequence of longs to sequence of
2503 KeyDefinitions, and added KeyDefinition struct.
2504 Required for fix to bug 80616.
2506 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
2507 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
2508 to use new definition (see above).
2510 * registryd/deviceeventcontroller.c: handle_keygrab(),
2511 spi_keyset_contains_key():
2512 Changed to make use of new struct; this allows matching based on
2513 string key-name, for instance "Tab". This also allows matching of
2514 composed characters, non-alphanumeric characters in a way that
2515 doesn't involve dependencies on X keysym codes directly, etc.
2517 * test/key-listener-test.c:
2518 Added test for Alt-Tab key using "string" specification of keyset,
2519 and modified one of the tests to use a keycode-based keyset.
2520 Thus this test both tests and demonstrates the creation and use of
2521 keysets of three forms: specified via keycode array,
2522 keysym array, and string array. (The string case only contains a
2523 single string, i.e. a string array of length 1).
2526 Turned on PRINT_TREE option by default. Also fixed a
2527 string-freeing bug in the PRINT_TREE code.
2528 Added a listener to window:minimize events.
2530 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
2532 * atk-bridge/bridge.c:
2533 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
2534 for window:activate and window:deactiveate
2535 (atk_bridge_property_event_listener atk_bridge_signal_listener
2536 atk_bridge_window_event_listener) Tidy debug code
2538 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
2540 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
2541 Fixed handling for NULL return value from ATK.
2543 * libspi/action.c libspi/component.c libspi/editabletext.
2544 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
2545 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
2546 Removed redundant casts.
2548 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
2549 Fixed off by one bug.
2551 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
2552 function not present in idl)
2554 2002-05-02 jacob berkman <jacob@ximian.com>
2556 * atk-bridge/Makefile.am: make atk-bridge a real module
2558 2002-04-26 Radek Doulik <rodo@ximian.com>
2560 * libspi/stateset.c (spi_init_state_type_tables): fix size of
2561 atk_state_types table
2563 2002-04-22 jacob berkman <jacob@ximian.com>
2566 * libspi/Makefile.am: add deps on the built files to help
2567 automake, and don't version the ORBit typelib
2569 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
2571 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
2572 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
2573 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
2574 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
2575 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
2576 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
2577 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
2578 libspi/accessible.h libspi/accessible.h libspi/base.h
2579 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
2580 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
2581 libspi/relation.h libspi/remoteobject.h libspi/selection.h
2582 libspi/spi-private.h libspi/statetset.h libspi/table.h
2583 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
2584 util/mag_client.h util/mag_control.c util/mag_image.c
2585 util/mag_image.h util/magnifier.c util/magnifier.h:
2586 Add missing file headers; standardize existing ones
2588 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
2590 * atk-bridge/bridge.c: Added window event support.
2592 2002-04-18 Michael Meeks <michael@ximian.com>
2594 * libspi/relation.c (impl_getNTargets): impl.
2595 (impl_getTarget): impl.
2597 * libspi/Makefile.am: fix stateset install.
2599 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2602 Started putting useful info in this file.
2604 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
2606 * atk-bridge/bridge.c:
2607 Propagate state-changed notifications to ATs
2609 * cspi/spi_registry.c: update docs to reflect actual behavior of
2610 state-change events.
2612 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2615 Incremented version to 0.12.1
2617 * util/mag_client.h:
2618 Add missing declaration for magnifier_exit,
2619 used by mag_control.c - Forte compiler didn't like
2620 the implicit redeclaration of the function :-(
2623 2002-04-16 Bill Haneman <bill.haneman@sun.com>
2626 Revved version to 0.12 due to API change (see below).
2628 * cspi/spi-roletypes.h:
2629 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
2630 definition from the inline docs, and added docs
2631 for SPI_ROLE_LAST_DEFINED.
2634 * cspi/spi_streamablecontent.c:
2635 Added missing seek_type parameter to
2636 (so far unused) method,
2637 AccessibleStreamableContent_seek().
2638 [ RT approval JodyG. ]
2641 Fixed docs for SPI_createAccessibleKeystrokeListener.
2643 * cspi/spi_registry.c:
2644 Fixed docs for SPI_KEYSET_ALL_KEYS.
2646 * docs/reference/cspi/at-spi-cspi-sections.txt:
2647 Added a number of missing APIs to SECTIONS.
2649 2002-04-16 Bill Haneman <bill.haneman@sun.com>
2651 * registryd/Makefile.am:
2653 * cspi/bonobo/Makefile.am:
2654 Add $(X_LIBS) to makefiles.
2656 2002-04-15 Bill Haneman <bill.haneman@sun.com>
2659 Revved version to 0.11.
2661 * libspi/component.c:
2662 Added implementation for grabFocus.
2664 * idl/Accessibility_Component.idl
2665 (Accessibility_Component_grabFocus):
2666 Made this method return boolean to indicate success or failure, to
2667 be consistent with cspi and the corresponding ATK method.
2669 * idl/Accessibility_Selection.idl
2670 (Accessibility_Selection_selectAll) :
2671 Made these methods return boolean to indicate success or
2672 failure, to be consistent with cspi and the corresponding ATK methods.
2674 * idl/Accessibility_EditableText.idl
2675 (Accessibility_EditableText_setTextContents,
2676 Accessibility_EditableText_insertText,
2677 Accessibility_EditableText_cutText,
2678 Accessibility_EditableText_deleteText,
2679 Accessibility_EditableText_pasteText):
2680 Made these methods return boolean to indicate
2683 * cspi/spi_editabletext.c:
2684 Made these methods return booleans.
2686 * libspi/selection.c:
2687 * libspi/component.c:
2688 * libspi/editabletext.c:
2689 Connected the boolean returns from ATK
2690 to the server-side code referenced above.
2692 2002-04-14 Bill Haneman <bill.haneman@sun.com>
2694 * idl/Accessibility_Table.idl: Added missing methods,
2695 Accessibility_Table_addRowSelection,
2696 Accessibility_Table_addColumnSelection,
2697 Accessibility_Table_removeRowSelection,
2698 Accessibility_Table_removeColumnSelection.
2701 Added C wrappers for above IDL:
2702 AccessibleTable_addRowSelection,
2703 AccessibleTable_addColumnSelection,
2704 AccessibleTable_removeRowSelection,
2705 AccessibleTable_removeColumnSelection.
2708 Added server-side implementation code for IDL above, connecting
2709 to pre-existing ATK api.
2711 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
2713 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
2715 * libspi/accessible.c: Added implementation fo
2716 Accessibility_Accessible_get_state.
2718 * libspi/libspi.h: Added stateset.h to the list of includes.
2720 * libspi/stateset.c: Fixed broken implementation.
2722 2002-04-13 Bill Haneman <bill.haneman@sun.com>
2725 Added implementation code for Accessibility_Magnifier_exit ().
2727 * util/mag_control.c:
2728 Added test code for above method; you can
2729 now kill an existing magnifier via
2730 ./mag_control q, from the util directory.
2732 * test/key-listener-test.c:
2734 Added a new test, for our key listener API.
2736 2002-04-11 Bill Haneman <bill.haneman@sun.com>
2738 * test/app.c, test/keysynth-demo.c:
2740 Replace use of snprintf with g_snprintf.
2741 (fix for bugzilla 78249)
2743 2002-03-27 Michael Meeks <michael@ximian.com>
2747 * util/Makefile.am (INCLUDES): fix.
2748 (DONT_DIST_SOURCE): don't distribute the
2751 * libspi/Makefile.am (dist-hook): ditto.
2753 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
2755 * libspi/hypertext.c:
2756 Fix warnings when yelp is used with atk-bridge
2758 2002-03-21 Michael Meeks <michael@ximian.com>
2760 * libspi/application.c (spi_application_new):
2761 use spi_accessible_construct so we use the AtkObject
2764 2002-03-19 Michael Meeks <michael@ximian.com>
2766 * registryd/registry.c (desktop_remove_application),
2767 (desktop_add_application): clean coding style.
2769 * registryd/desktop.c (spi_desktop_remove_application),
2770 (spi_desktop_add_application): kill re-enterency hazards.
2771 (spi_desktop_dispose): remove bogus redundant cast
2772 obscuring bug; fix bug too.
2773 (spi_desktop_init): make the desktop object immortal.
2775 2002-03-16 Bill Haneman <bill.haneman@sun.com>
2778 Added a #define-guarded tree-traversal step
2779 when enumerating the apps (diagnostic tool).
2781 2002-03-15 Bill Haneman <bill.haneman@sun.com>
2783 * idl/Accessibility_Role.idl:
2784 Added ROLE_DRAWING_AREA which seemed to be missing from the
2787 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2789 * cspi/spi-roletypes.h cspi/spi_accessible.c
2790 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
2793 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
2794 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
2795 AT when applications are added and removed from the desktop. This
2796 reverts the previous broken implementation using the backing
2797 AtkObject for the SpiDesktop.
2799 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2801 * registryd/desktop.c: emit the "children-changed::add" and
2802 "children-changed::remove" signals on the backing ATK object for
2803 the desktop so AT can tell when applications are started and shut
2806 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2808 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
2810 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2812 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
2814 * cspi/spi_accessible.c: Implemented c bindings for stateset support
2816 * cspi/state-types.h: synched with IDL and ATK
2818 2002-03-13 Bill Haneman <bill.haneman@sun.com>
2820 * libspi/accessible.c
2821 (impl_accessibility_accessible_get_child_at_index):
2822 Change return value for g_return_if_fail ()
2823 to CORBA_OBJECT_NIL instead of "0" (!)
2825 * registryd/Makefile.am:
2826 * registryd/Accessibility_Register.server.in:
2827 Changed name of executable, "registryd",
2828 to something more informative:
2831 2002-03-13 Michael Meeks <michael@ximian.com>
2833 * atk-bridge/bridge.c (atk_bridge_init): don't register
2834 if we're in a bonobo-component, rather than a bonobo app.
2836 2002-03-13 Michael Meeks <michael@ximian.com>
2838 * atk-bridge/bridge.c (gtk_module_init): split
2839 out body to (atk_bridge_init): here, since otherwise
2840 we get symbol conflicts and oddness when invoked
2841 from (gnome_accessibility_module_init): here (upd.)
2843 2002-03-11 Bill Haneman <bill.haneman@sun.com>
2846 New file. Explicitly allow "build sheriff" putbacks provided
2847 they are tested on Solaris.
2849 * docs/reference/cspi/Makefile.am:
2850 Added '-' to the "cp" command for index.sgml.
2851 ("patch by thomasvs, soon coming to a GUADEC near you")
2854 Incremented version number (0.9.0) for new release.
2855 Changed macro that checks for popt, to better detect
2856 obsolete versions of popt.
2859 Added X_LIBS to AC_SUBST, for applications
2860 that call Xlib API directly.
2863 2002-03-07 Bill Haneman <bill.haneman@sun.com>
2866 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
2869 Fix regression caused by hard-coding major
2870 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
2873 * test/test-simple.c (test_editable_text),
2874 (test_test): revert previous change (error was
2875 a regression in gail which is now fixed).
2877 2002-03-04 Michael Meeks <michael@ximian.com>
2879 * test/test-simple.c (test_editable_text),
2880 (test_text): pass G_MAXINT instead of '-1' for
2881 whole string - is this a good thing !?
2883 * cspi/spi_accessible.c
2884 (Accessible_getRelationSet): fix crasher bug
2885 overwriting the end of the array.
2887 * test/test-simple.c (validate_accessible): free,
2888 not g_free returned relation set.
2890 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
2892 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
2893 implemented stateset support
2895 * idl/Accessibility_State.idl: Made necessary changes to
2896 the IDL to support state sets.
2898 2002-02-12 Bill Haneman <bill.haneman@sun.com>
2900 * registryd/deviceeventcontroller.c:
2901 Added implementation for generateMouseEvent.
2903 * cspi/spi_registry.c:
2904 Connected new implementation for generateMouseEvent
2907 2002-02-12 Bill Haneman <bill.haneman@sun.com>
2910 Incremented revision (but no change in public API
2911 outside of 'utils', which are not installed public yet.)
2913 * libspi/component.c:
2914 Changed to use atk_component API for layers and
2915 mdi_zorder, instead of deprecated atk_object API.
2917 Magnification Utility Enhancements:
2920 Added implementation of createZoomRegion, clearAllZoomRegions,
2921 resizeZoomRegion. Added new commandline argument
2922 "--no-initial-region". Note that clearAllZoomRegions doesn't
2923 unmap the old '0' region as it should (yet), and the other
2924 methods only work when creating/resizing a single region,
2925 which is "region 0".
2926 (Code for multiple region support will be added later.)
2929 Now we raise the magnifier window each time it's refreshed;
2930 this will help keep it on top.
2932 * util/mag_client.h:
2933 Added simple wrappers for above, used by mag_control.
2934 For general use, it's recommended to use the bonobo magnifier
2935 control API directly instead of using these wrappers.
2938 Moved ZoomRegionData from magnifier.c to this file.
2940 * util/mag_control.c:
2941 Added some code to exercise new IDL implementations.
2943 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
2945 * libspi/text.c: Provide implementation for getAttributes.
2947 2002-02-04 Bill Haneman <bill.haneman@sun.com>
2950 Incremented revision.
2952 * test/test-simple.c:
2953 Replaced use of deprecated g_main_iteration with
2954 g_main_context_iteration.
2956 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
2959 Incremented revision for desktop alpha 2.
2961 2002-01-28 Mark McLoughlin <mark@skynet.ie>
2963 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
2966 * test/simple-at.c: include netinet/in.h.
2968 2002-01-24 Mark McLoughlin <mark@skynet.ie>
2970 * cspi/spi_accessible.c: (Accessible_getRelationSet):
2971 use NULL, not CORBA_OBJECT_NIL.
2973 * libspi/accessible.c:
2974 (impl_accessibility_accessible_get_relation_set):
2975 allocate the sequence correctly.
2977 * libspi/remoteobject.h: kill spi_remote_object_new.
2979 * test/test-simple.c: (validate_accessible): add code
2980 to test relation sets, now all we need is to figure
2981 out how to excercise this code path :/
2983 2002-01-18 Michael Meeks <michael@ximian.com>
2985 * test/test-simple.c
2986 (key_listener_cb): consume the key.
2987 (test_keylisteners): update.
2988 (main): wait for any pending unrefs on events.
2990 * registryd/deviceeventcontroller.c
2991 (spi_controller_update_key_grabs): only re-issue the
2992 grab on a key release.
2993 (spi_device_event_controller_forward_key_event):
2994 refresh the keygrabs before we notify the listeners,
2995 to reduce the X ungrab / re-grab race.
2996 (spi_controller_register_with_devices): remove
2997 XSelectInput - we do that with the gdk_window_ call.
2998 (_spi_controller_device_error_handler): return a value.
2999 s/GDK_DISPLAY/spi_get_display/
3001 2002-01-17 Michael Meeks <michael@ximian.com>
3003 * registryd/deviceeventcontroller.c
3004 (_deregister_keygrab): don't blow out the later
3007 * test/test-simple.c (test_keylisteners): do a
3008 more intelligent validation.
3010 2002-01-14 Michael Meeks <michael@ximian.com>
3012 * atk-bridge/bridge.c
3013 (gnome_accessibility_module_init),
3014 (gnome_accessibility_module_shutdown): impl.
3015 (gtk_module_init): protect vs. double inits.
3016 (add_signal_listener): impl.
3017 (spi_atk_bridge_state_event_listener): kill
3018 (deregister_application): split out of
3019 (spi_atk_bridge_exit_func): here.
3021 2002-01-18 Bill Haneman <bill.haneman@sun.com>
3024 Added caret tracking when using magnifier, and
3025 now use text bounds for focus tracking of text elements, rather than
3026 the component bounds - this is helpful for short text fields in long
3027 table cells, at high magnification.
3029 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3031 * registryd/deviceeventcontroller.c:
3032 Regression fix for keylistener de-registration; global keygrabs
3033 were not being released when deregisterKeystrokeListener was
3034 called in cspi, since
3035 Accessibility_DeviceEventController_deregisterKeystrokeListener
3036 was called with a zero-length keyset. That is because the cspi
3037 method, SPI_deregisterKeystrokeListener, does not take a keyset
3038 parameter but instead should remove all the key grabs held be a
3040 The code in impl_deregister_keystroke_listener was changed to copy
3041 the keylist from the listener instance previously registered with
3042 the DeviceEventController before releasing the grabs.
3044 * registryd/registry.c:
3045 * registryd/deviceeventcontroller.c:
3046 * libspi/spi-private.h:
3048 Changed spelling of "re-enterant" to "re-entrant" globally.
3050 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3052 * test/test-simple.c:
3053 Changed key listeners test - the test was slightly mis-using the
3054 (admittedly poorly documented) SPI_generateKeyboardEvent API.
3055 It now uses '=' as the key event listened to and generated,
3056 relying on a keysym match rather than assuming that keycode 33
3057 is always equal to keysym '!'.
3059 2002-01-15 Bill Haneman <bill.haneman@sun.com>
3062 Changed simple-at to use a specific keyset, rather than
3063 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
3064 manager, desktop, etc.
3066 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3068 * registryd/deviceeventcontroller.c:
3069 Replaced standard X error handler with a special handler that
3070 is non-fatal for failed keygrabs. This works around
3071 problems with keygrab clashes sometimes observed on
3073 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
3074 mouse handling code as yet).
3076 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3079 Incremented revision for desktop alpha release.
3082 Fixed a couple of the more glaring errors (still not
3085 2002-01-11 Michael Meeks <michael@ximian.com>
3087 * registryd/deviceeventcontroller.c
3088 (spi_device_event_controller_forward_key_event): kill
3089 XUngrabKey / XKeyGrab race.
3090 (spi_controller_grab_keyboard): rename to
3091 (spi_controller_update_key_grabs): this, and deal
3092 with incremental adding / removing grabs more
3094 (_register_keygrab): ensure we're not pending a remove.
3095 (spi_grab_mask_free): impl.
3096 (spi_controller_register_global_keygrabs): split out
3098 (handle_keygrab): impl.
3099 (_deregister_keygrab): impl.
3100 (spi_controller_deregister_global_keygrabs): impl.
3101 (spi_controller_update_key_grabs): re-issue the grab if
3102 we just recieved a notification.
3104 * test/test-simple.c (key_listener_cb): remove debug.
3106 * registryd/deviceeventcontroller.c
3107 (spi_controller_register_device_listener): after
3108 registering a global keygrab, actualy register it !
3109 don't wait for a timeout; doh !
3111 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
3112 to make it more readable / manipulable.
3113 s/grabmask/grab_mask/ s/refcount/ref_count/
3114 s/keyval/key_val/ s/modmask/mod_mask
3116 2002-01-08 Michael Meeks <michael@ximian.com>
3118 * registryd/deviceeventcontroller.c
3119 (spi_controller_register_with_devices): use gdk calls to
3121 (global_filter_fn): implement the filter.
3122 (spi_device_event_controller_check_key_event): rename to
3123 (spi_device_event_controller_forward_key_event): this & upd.
3124 (spi_get_display): replace with GDK_DISPLAY.
3126 * registryd/deviceeventcontroller.c
3127 (spi_controller_deregister_device_listener): unroll into
3128 (impl_deregister_keystroke_listener): here to simplify.
3129 (spi_controller_register_global_keygrabs): split cut and
3130 paste (!) out into (_register_keygrab): here, shorter & sweeter.
3131 (spi_controller_deregister_device_listener): remove.
3132 (impl_register_mouse_listener): remove, no mouse listener
3133 support in at-spi-1.0
3135 * registryd/registry.c
3136 (_device_event_controller_hook): kill.
3137 (spi_registry_init): upd.
3139 * registryd/deviceeventcontroller.c
3140 (spi_device_event_controller_class_init): upd.
3141 (spi_check_key_event): merge into.
3142 (spi_device_event_controller_check_key_event):
3143 here and kill strange static ev init, don't leak
3144 the x_event - nor dynamicaly allocate it.
3146 * registryd/registry-main.c (main): re-direct
3147 timeout to remove strange vtable mess.
3149 * registryd/deviceeventcontroller.c
3150 (remove_listener_cb): impl.
3151 (spi_controller_deregister_device_listener):
3152 fix re-enterancy hazard.
3154 2002-01-07 Michael Meeks <michael@ximian.com>
3156 * registryd/deviceeventcontroller.c
3157 (spi_device_event_controller_new): upd.
3158 (impl_notify_listeners_sync): upd. debug.
3159 (spi_notify_keylisteners): fix re-enterancy hazards,
3160 prettify, remove O(n*n) iteration.
3161 (spi_controller_grab_keyboard): fix iteration.
3162 (spi_check_key_event): re-format to suit coding style.
3163 Clean all the warnings - we're warning free.
3165 * registryd/deviceeventcontroller.h:
3166 * registryd/registry.h: make mutualy referential with
3167 typesafe forward references instead of (!) void pointer
3170 2002-01-11 Michael Meeks <michael@ximian.com>
3172 * cspi/spi_accessible.c (role_names): add a role name
3173 to sync this array with the enum; and make the regression
3176 2002-01-10 Michael Meeks <michael@ximian.com>
3178 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
3179 allow expansion of enumeration & kill warning.
3181 * test/test-simple.c (key_listener_cb): impl.
3182 (test_keylisteners): impl.
3184 * cspi/spi-listener.h: make listener signatures const
3185 on the provided (const) events.
3187 * test/keysynth-demo.c: upd. to const events.
3189 * test/simple-at.c: ditto.
3191 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3194 Rev the version to 0.5 (the previous tarball was named 0.4,
3195 even though the micro number was 3), so we need to rev upwards
3196 again for beta2/"desktop-alpha"
3199 Checked in a demo script, which requires editing before use!
3200 Proceed with caution.
3203 Fixed typo in header which was redefining SPI_ACTION_CLASS.
3205 * cspi/spi_accessible.c:
3206 Add a couple of missing enum initializations, and fix some enum
3209 * cspi/spi_registry.c:
3210 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
3212 * docs/reference/cspi/at-spi-cspi-sections.txt:
3213 Remove/fix a couple of broken document references.
3216 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
3217 as Alt-Control to listen for commands, since on some systems
3218 Control-Alt may already be grabbed.
3220 2002-01-10 Bill Haneman <bill.haneman@sun.com>
3223 Update version number to 0.4 for Beta2.
3225 * libspi/accessible.c, libspi/accessible.h:
3226 Expose spi_accessible_construct, to enable libgail-gnome
3227 construction from spi_accessible subtype.
3229 * utils/magnifier.c:
3230 Workaround for bug in some non-gnome-compliant window managers
3231 which made magnifier resize improperly.
3233 2002-01-09 Bill Haneman <bill.haneman@sun.com>
3235 * libspi/accessible.c: (spi_accessible_new) :
3236 Move the test for SPI_IS_REMOTE_OBJECT to
3237 spi_accessible_new_return, fixing a bug and compile time warning.
3239 2002-01-08 Michael Meeks <michael@ximian.com>
3241 * registryd/registry.c (parse_event_type): remove strndup.
3243 * libspi/Makefile.am (libspi_la_SOURCES): remove
3244 sources already included in the headers section.
3246 * libspi/util.c: add.
3248 * libspi/spi-private.h: add.
3250 * registryd/registry.c: update to moved list iterators.
3252 2002-01-05 Michael Meeks <michael@ximian.com>
3254 * test/simple-at.c (main): upd. auto-module set to atk-bridge
3256 * test/test-simple.c (main): ditto.
3258 2002-01-04 Michael Meeks <michael@ximian.com>
3260 * libspi/accessible.c (spi_accessible_new): remove 2nd,
3261 redundant construct.
3263 * registryd/registry.c
3264 (get_listener_list): impl.
3265 (impl_accessibility_registry_register_global_event_listener):
3266 re-impl. to simplify using ~, remove dodgy const cast off.
3267 (parse_event_type): constify.
3268 (impl_accessibility_registry_deregister_global_event_listener_all):
3269 re-write, more efficiency and simplicity, kill re-enterancy
3271 (compare_listener_corbaref, compare_corba_objects),
3272 (compare_listener_quarks): define out.
3273 (impl_accessibility_registry_deregister_global_event_listener):
3274 re-write for effiency, and nail re-enterancy hazard.
3275 (impl_accessibility_registry_get_desktop_list): impl.
3276 (re_enterant_list_delete_link): impl.
3277 (re_enterant_list_foreach): impl.
3278 (remove_listener_cb): impl.
3279 (_registry_notify_listeners): kill.
3280 (notify_listeners_cb): impl.
3282 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
3283 (SPI_getDesktopList): impl.
3285 * test/test-simple.c (test_desktop): test the methods.
3287 2002-01-03 Michael Meeks <michael@ximian.com>
3289 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
3290 keystrings since we free them
3291 (SPI_freeAccessibleKeySet): in here.
3293 * libspi/accessible.c (spi_accessible_new): kill warning,
3294 wonder what is going on with the constructor here.
3296 2002-03-01 Bill Haneman <bill.haneman@sun.com>
3298 * libspi/accessible.c (spi_accessible_new ()) :
3299 Added check to see if AtkObject is an SpiRemoteObject before
3300 creating an SpiAccessible.
3302 2002-05-01 Bill Haneman <bill.haneman@sun.com>
3304 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
3305 Enable keygrabs using the Control modifier, now that they are
3306 working properly (they were previously disabled).
3309 Change the command keygrab for this demo to "Control+Alt", so as
3310 to conflict with fewer other key commands on the system; this
3311 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
3313 Removed a pointlessly-chatty keylistener for unshifted keys
3314 (shifted keys are still reported).
3316 2002-02-01 Bill Haneman <bill.haneman@sun.com>
3318 * libspi/remoteobject.h:
3319 * libspi/remoteobject.c:
3320 Added definitions for special AtkObject subtype, required for
3321 support of remote components (specifically, used by BonoboControl
3322 accessibility implementation).
3324 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
3326 * cspi/spi.h: synched relation types with ATK
3328 * cspi/spi_accessible.c: Added implementations of
3329 AcccessibleRelation_* methods
3331 * idl/Accessibility_Relation.idl: added getRelationTypeName
3332 method. Synched known relation types with ATK. Allowed for
3333 relation type extension with the RELATION_EXTENDED type.
3335 * libspi/relation.c: Provided implementations for
3336 AccessibleRelation methods.
3338 2002-01-01 Bill Haneman <bill.haneman@sun.com>
3340 API tweaks for today's API 'freeze'.
3343 Added placeholder functions to allow future compatible expansion
3344 of the IDL interfaces.
3346 * idl/Accessibility_Registry.idl:
3347 Changed generateKeyEvent to generateKeyboardEvent. Changed
3348 signature of this method to accept an optional keystring in
3349 parameter (for complex text input synthesis) and changed use of
3350 simple 'boolean' parameter in registerKeystrokeListener to a
3351 struct, EventListenerMode.
3353 * cspi/spi_accessible.c:
3355 * cspi/spi_streamablecontent.c:
3356 Added references to AccessibleStreamableContent interface, and
3357 definition and implementation of AccessibleStreamableContent
3360 * cspi/spi_registry.c:
3362 Changed generateKeyEvent API to generateKeyboardEvent,
3363 taking a new (optional) keystring parameter to support complex
3368 Renamed directory (to better reflect its actual purpose, bridging
3369 from at-spi to ATK). The .so module is also now named
3372 * idl/Accessibility_Hypertext.idl:
3373 * libspi/accessible.c:
3374 * libspi/hypertext.h:
3375 * libspi/hypertext.c:
3376 Changed Accessibility_Hypertext to *not* derive from
3379 * cspi/spi_registry.c:
3380 Added list of legal event type names for 'window' events, which
3381 completes the registry event API.
3383 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
3385 * at-bridge/bridge.c: Added registration for separate
3386 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
3387 signals. If either of the first two parameters to the generic
3388 bridge signal handler are ints, they are passed on as event
3389 details. This allows an AT to determine what text was inserted.
3391 2001-12-21 Bill Haneman <bill.haneman@sun.com>
3393 * registryd/deviceeventcontroller.c:
3394 Fixed regressions in generateKeyEvent caused by the removal of
3395 gdk_init from registryd; we now use pure X calls to connect to the
3396 display, which makes sense because deviceeventcontroller already
3397 uses a fair bit of X API (should eventually be migrated to a
3398 'portability layer').
3400 * registryd/desktop.c:
3401 Fixed minor regression in spi_desktop_init, changed the way the
3402 desktop name is being set to work with new spi_base API
3403 (gobject-based, rather than AtkObject-based).
3405 * registryd/Makefile.am:
3406 Minor revision of makefile to use XTST_LIBS variable rather than
3407 hard-wiring the Xtst LD_ADD element.
3409 * test/keysynth-demo.c:
3410 Tweaked an output message; added initialization of the
3411 'keystrings' member of the "switch listener" key_set.
3413 * libspi/relation.c:
3414 Squashed compile-time warning.
3416 * libspi/accessible.c:
3417 Cosmetic and formatting fixes, renamed a static method.
3419 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
3421 * libspi/accessible.c
3423 * libspi/application.c
3426 * libspi/component.c
3427 * libspi/editabletext.c
3428 * libspi/hyperlink.c
3429 * libspi/hypertext.c
3431 * libspi/selection.c
3435 * registryd/desktop.c:
3436 Changed SpiBase to contain a GObject pointer rather than an AtkObject
3438 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3440 * idl/Accessibility_Registry.idl:
3441 Added boolean member 'is_text' to DeviceEvent. This is for the
3442 use of key events, and helps prevent ambiguity between composed
3443 key strings and keysym names, since both may potentially be
3444 returned in the 'event_string' member.
3446 * at-bridge/bridge.c:
3447 * registryd/deviceeventcontroller.c:
3448 Use the 'is_text' member when notifying device event listeners.
3449 Knon issue: composed characters are not dealt with correctly by
3450 the global key listener implementation yet.
3452 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3454 * at-bridge/bridge.c:
3455 Namespaced local static methods to spi_atk_bridge_* where
3456 previously named bridge_*, and spi_* elsewhere.
3458 * at-bridge/bridge.c:
3459 * cspi/bonobo/cspi-bonobo-listener.c:
3460 Added demarshalling/conversion for string member of
3461 Accessibility_DeviceEvent to AccessibleKeystroke.
3463 * registryd/deviceeventcontroller.c:
3464 Added code to fill the Accessibility_DeviceEvent key string value
3465 member for global key events (i.e. from XGrabKey), to match
3466 behavior of Accessibility_DeviceEvent from the toolkit key events
3467 from the bridge. Fixed timestamp in global key event notifications.
3470 Added printout of key event's string value to
3471 report_ordinary_key_event, for demo/debugging purposes.
3473 2001-12-15 Bill Haneman <bill.haneman@sun.com>
3475 * idl/Accessibility_Registry.idl:
3476 Removed Accessibility_KeyStroke structure in favor of generic
3477 Accessibility_DeviceEvent structure.
3478 Changed Accessibility_ControllerEventMask from a struct to an
3481 * at-bridge/bridge.c:
3482 Changed APIs to use DeviceEvent structure as above, and removed
3483 bogus casting between these event structures.
3485 * cspi/spi-listener.h:
3486 Added keystring member of AccessibleKeystroke structure, to enable
3487 matching on event "names" rather than only hardware codes and
3491 Added keystrings member of AccessibleKeySet struct, to allow
3492 matching on event names (as above).
3493 Added declarations for SPI_createAccessibleKeySet and
3494 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
3495 event modmasks directly as unsigned ints rather than structs with
3496 refcounts, in the DeviceEventController methods.
3498 * cspi/spi_registry.c:
3499 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
3501 * cspi/spi-roletypes.h:
3502 Added documentation of newly added SPI Roles.
3504 * cspi/bonobo/cspi-bonobo-listener.c:
3505 Changes in support of API changes above.
3507 * libspi/accessible.c:
3508 Converted APIs to use DeviceEvent structure (see IDL changes
3511 * registryd/deviceeventcontroller.c:
3512 Added DEControllerGrabMask structure to track keygrabs not only by
3513 modmask but by keyset as well; this allows us to do "global"
3514 (i.e. X) keygrabs on a per-key or keyset basis rather than always
3515 grabbing on AnyKey and then filtering after-the-fact.
3516 Bugfixes for event filtration mean that we don't get false matches
3517 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
3519 * registryd/deviceeventcontroller.c:
3520 Namespaced a number of static methods to use spi_ prefix. Major
3521 revision to internals of global (i.e. X) key grabs.
3523 * registryd/deviceeventcontroller.h:
3524 Removed keymask_list and added keygrabs_list to
3525 SpiDeviceEventController struct.
3528 Added use of SPI_createAccessibleKeySet API when creating a
3529 listener for only one key. Attach a listener to "shift spacebar
3530 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
3531 X key event names to SPI key event names, so that listeners are
3532 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
3534 * test/keysynth-demo.c:
3535 Changed (incorrect) use of X key event names (KeyPressed,
3536 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
3539 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3541 * libspi/accessible.c:
3542 Convert all AtkRole enumerations to Accessibility_Role enums when
3543 getting a role from an AtkObject.
3545 * cspi/spi_accessible.c:
3546 Complete the conversion of Accessibility_Role enums at runtime to
3547 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
3548 role enums correctly match those given in spi-roletypes.h.
3549 Re-synchronize the local names list for AccessibleRole_getName ().
3550 AccessibleRole_getName is now deprecated, since it duplicates the
3551 more reliable Accessible_getRoleName.
3552 Added some role types from Accessibility_Role.idl.
3554 * idl/Accessibility_Role.idl:
3555 Added some role types used by AtkRole.
3557 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3560 * cspi/spi_registry.c:
3562 * cspi/cspi-bonobo-listener.c:
3563 Namespaced all methods that did not begin with an "SPI_" or
3564 "Accessible" prefix to "SPI_".
3567 Homogenized internal function namespace to "cspi_" for statics.
3570 Patched tests to use the new CSPI API.
3572 * docs/reference/cspi/at-spi-cspi-sections.txt:
3573 Updated docs to reflect namespace changes, and added a number of
3574 methods to the documentation.
3576 * registryd/registry.c:
3577 Changed use of strings and string hashes in listener event
3578 matching and parse_event_string to use GQuark, which is guaranteed
3581 * registryd/registry.h:
3582 Squashed annoying warning.
3584 * idl/Accessibility_Role.idl:
3585 Extended range of available Accessibility_Role values.
3587 * cspi/spi_accessible.c:
3588 Re-ordered role names.
3590 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3592 * idl/Accessibility_Value.idl:
3593 Revert use of union back to CORBA_double, since the double type is
3594 more efficient and can contain the other types without loss of
3597 * idl/Accessibility_Accessible.idl:
3598 Added method Accessibility:Accessible:getRoleName, to complement
3599 Accessibility:Accessible:getRole.
3601 * cspi/spi_accessible.c:
3603 Added C binding for above, Accessible_getRoleName (), and changed
3604 signature of Accessible_getRole () to return an AccessibleRole.
3606 * cspi/spi-roletypes.h:
3607 Changed AccessibleRole_getName to return a char * instead of a
3608 const char *. This method is now at least temporarily deprecated
3609 in favor of asking Accessibles for their RoleNames directly.
3612 Revert to match Accessibility_Value.idl;
3616 Change signature of AccessibleValue methods to use double rather
3620 * cspi/spi_accessible.c:
3621 Changed Accessible_getRole to return an AccessibleRole enum rather
3622 than a UTF-8 string. The UTF-8 string can still be obtained via
3623 AccessibleRole_getName ().
3625 * test/test-simple.c:
3626 Add test_action. Small fixup to match API change to Accessible_getRole.
3629 Bugfix for get_action_from_servant ().
3631 2001-12-11 Michael Meeks <michael@ximian.com>
3633 * libspi/libspi.h: remove registry.h and
3634 desktop.h, deviceeventcontroller.h
3636 * libspi/Makefile.am: remove registry.[ch],
3637 desktop.[ch], deviceeventcontroller.[ch]
3639 * registryd/Makefile.am: add registry.[ch],
3640 desktop.[ch], rename registryd.c to registry-main.c.
3641 add deviceeventcontroller.[ch]
3643 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3646 Replace setenv() call with putenv ().
3648 * libspi/component.c:
3649 Bugfix in AccessibleComponent_getExtents (),
3652 2001-12-11 Michael Meeks <michael@ximian.com>
3654 * libspi/image.c (impl_getImageExtents): impl.
3655 (spi_image_class_init): upd.
3658 (AccessibleImage_getImageDescription): fix daft bug
3661 * test/test-simple.c (global_listener_cb): update
3662 to only quit if not --poke
3663 (main): catch --poke.
3664 (validate_accessible): upd. dumping, call test_image
3667 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
3670 * idl/Accessibility.idl: update all IDL includes.
3672 * idl/*.idl - rename to namespace - this sucks, blame
3673 mjs' bad decision for oafd.
3675 * test/test-simple.c (create_test_window): add more tests.
3676 (create_tree): split this out.
3677 (validate_accessible): bugfix.
3679 2001-12-11 Michael Meeks <michael@ximian.com>
3681 * cspi/bonobo/cspi-bonobo-listener.c:
3682 (cspi_kestroke_listener_unref),
3683 (cspi_event_listener_unref): impl. undoing previous
3684 homenous environment - for Bill.
3686 * cspi/spi_table.c (long_seq_to_array): use
3689 * cspi/spi_main.c: split out all bonoboish bits into
3692 * cspi/spi-impl.h: upd. typedefs.
3694 * cspi/spi_registry.c: update to lowlevel API,
3695 return booleans to indicate success in some places.
3697 * cspi/spi_event.c: update to lowlevel API.
3699 * cspi/bonobo/Makefile.am: add.
3701 * cspi/bonobo/cspi-lowlevel.h: add
3703 * cspi/bonobo/cspi-bonobo.c: add
3705 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
3707 * cspi/Makefile.am: remove spi-listener-impl.[ch],
3708 (SUBDIRS): add bonobo, link in the libs.
3710 * cspi/spi-util.c: kill this file.
3712 * TODO: merge in my bits.
3714 2001-12-11 Michael Meeks <michael@ximian.com>
3716 * test/test-simple.c (test_value, test_table, main):
3717 remove unused variables causing warnings.
3719 * configure.in: cleanup checks - require gail.
3721 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3724 Changed Value interface to use SValue (scalars) rather than
3725 assuming all values are floats. This allows floats, doubles,
3726 longs, shorts, and unsigned values to be manipulated.
3727 Introduced Accessibility:SValue union.
3730 Updated to use new API above, and to work correctly with GValues
3731 of different types in AtkValue.
3734 Updated to use new API above. cspi's API is as yet unchanged.
3737 Updated the Value revision action item.
3739 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3741 * test/test-simple.c:
3742 Added test_table (GtkTreeView widget in test window to follow).
3743 Un-commented test_value, added GtkRange widget.
3744 Added GtkTreeView widget with GtkListStore. It passes regression
3745 test but leaks one SPI object for some reason.
3748 Fixed bug in impl__set_currentValue.
3750 2001-12-10 Michael Meeks <michael@ximian.com>
3752 * cspi/spi_text.c: audit for exception handling,
3753 tolerating NULL object references safely etc.
3755 * cspi/spi_value.c: ditto.
3757 * cspi/spi_table.c (AccessibleTable_getSummary),
3758 (AccessibleTable_getAccessibleAt),
3759 (AccessibleTable_getRowHeader),
3760 (AccessibleTable_getColumnHeader),
3761 (AccessibleTable_getCaption): fix bugs hidden by
3763 (long_seq_to_array): impl.
3764 (AccessibleTable_getSelectedRows),
3765 (AccessibleTable_getSelectedColumns): use it.
3767 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3770 Added a TODO list (rough and short for now).
3772 * cspi/spi_hyperlink.c:
3773 * cspi/spi_hypertext.c:
3774 Fixed macro name typos, and remove use of obsolete macro in
3775 AccessibleHyperlink_getLink.
3777 * cspi/spi_action.c:
3778 * cspi/spi_accessible.c:
3779 * cspi/spi_application.c:
3780 * cspi/spi_component.c:
3781 * cspi/spi_selection.c:
3784 Documentation fixes (removed return values from ref/unref methods).
3786 2001-12-10 Michael Meeks <michael@ximian.com>
3788 * cspi/spi_action.c: audit for exception handling,
3789 tolerating NULL object references safely etc.
3791 * cspi/spi_accessible.c: ditto.
3793 * cspi/spi_component.c: ditto.
3795 * cspi/spi_editabletext.c: ditto.
3797 * cspi/spi_hyperlink.c: ditto.
3799 * cspi/spi_hypertext.c: ditto.
3801 * cspi/spi_image.c: ditto.
3803 * cspi/spi_selection.c: ditto.
3805 2001-12-10 Michael Meeks <michael@ximian.com>
3807 * configure.in: use cspi/libspi.pc.in instead.
3809 * Makefile.am (pkgconfig_DATA): upd. to match.
3811 * test/simple-at.c (report_focus_event): kill hacks around
3812 bad return values, use putenv not setenv
3814 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
3815 fire ChildGone - I killed it.
3817 * libspi/component.c
3818 (impl_accessibility_component_get_extents): remove
3821 * idl/Accessible.idl: kill ChildGone exception.
3823 * cspi/*.[ch]: kill int return from ref / unref.
3825 * cspi/spi_main.c (cspi_object_add_check): fold into
3826 (cspi_object_add): here.
3828 * cspi/spi_component.c (AccessibleComponent_getExtents):
3829 handle exceptions elegantly.
3831 * cspi/spi-private.h (cspi_check_ev_return),
3832 (cspi_return_if_fail): impl.
3834 * cspi/spi_accessible.c: use extensively.
3835 (AccessibleStateSet_equals): add direct compare check.
3837 * cspi/spi_selection.c: tolerate NULL objs, and check
3838 exceptions before return.
3840 * cspi/spi-util.c (cspi_warn_ev): rename to
3841 (cspi_check_ev): this & don't pass ev in; no point.
3843 2001-12-10 Michael Meeks <michael@ximian.com>
3845 * test/test-simple.c: use putenv not setenv
3846 (get_environment_vars): more chatty if you're not using
3849 * test/simple-at.c: do the setenv so more people see the
3852 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3854 * libspi/registry.c:
3855 Changed check of CORBA_environment on notification to be a warning
3856 instead of an error for the moment, since we can recover from this
3857 error when caused by a queued notification from a dead app.
3860 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
3861 used by all current implementors of AtkValue), and coerce to
3862 CORBA_float. (Proper general case fix may require change to Value.idl).
3864 2001-12-09 Bill Haneman <bill.haneman@sun.com>
3868 * cspi/spi_accessible.c:
3869 Documentation fixes: added user_data params to documentation for
3870 listeners and callbacks.
3872 * cspi/spi_accessible.c:
3873 Changed AccessibleStateSet_compare to return a
3874 StateSet rather than return the difference set into a third parameter.
3877 2001-12-09 Bill Haneman <bill.haneman@sun.com>
3880 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
3881 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
3885 Remove subdirectory po from SUBDIRS for now.
3887 * at-bridge/bridge.c:
3888 Beefed up a couple of debug printouts.
3889 One-line fix for signal notification name formatting.
3891 * libspi/accessible.c:
3892 Added assertion to spi_accessible_new ().
3894 * libspi/application.c:
3895 Put #ifdef qualifiers around a printf.
3898 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
3900 * registryd/Makefile.am:
3902 Replaces use of XML_I18N_MERGE_SERVER_RULE with
3903 INTLTOOL_SERVER_RULE macro.
3906 Added an event listener for several ATK signals, for
3907 testing and debugging. Removed a few g_warnings.
3908 Added test output if focussed item implements the Value interface.
3910 * test/test-simple.c:
3911 Added test_value () function (known not to pass at the moment, so
3912 not actually called yet.
3914 2001-12-08 Michael Meeks <michael@ximian.com>
3916 * at-bridge/bridge.c (bridge_focus_tracker),
3917 (emit_eventv): fix the same ref. leak.
3918 (register_atk_event_listeners): don't leak.
3920 * cspi/spi-listener-impl.c (cspi_event): more
3921 protection from client code.
3923 * test/test-simple.c (test_desktop): unref the app.
3925 * test/Makefile.am: upd. TESTS.
3927 * at-bridge/bridge.c (bridge_exit_func): release the registry.
3929 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
3931 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
3933 * cspi/spi_registry.c: constify in strings.
3934 (deregisterGlobalEventListenerAll): don't release the ref.
3936 * cspi/spi.h: start removing redundant / conflicting
3937 gtkdoc comments, making the API readable at a glance :-)
3939 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
3941 * test/keysynth-demo.c (keysynth_exit, main): upd.
3943 * test/simple-at.c (main, simple_at_exit): upd.
3945 * test/test-simple.c (unutterable_horror): kill.
3946 (utterable_normal_derefs): kill.
3947 (main): upd & do a setenv before gtk_init, so that we
3948 can use memprof - and to save the pain of remembering
3949 this, if we're running under memprof - don't exit.
3951 * cspi/spi_main.c (SPI_exit): return exit status
3953 (SPI_event_quit): impl.
3954 (SPI_event_main): simplify.
3955 (cspi_is_gnome_app): kill.
3956 (SPI_init): kill isGNOMEapp arg.
3958 * at-bridge/bridge.c (register_atk_event_listeners):
3959 re-instate the unref.
3960 (bridge_exit_func): don't re-activate the registry,
3961 protect vs. theoretical re-entry, use the
3962 AT_BRIDGE_SHUTDOWN env. var to determine whether to
3963 assert a clean shutdown - for regression tests.
3965 2001-12-08 Abel Cheung <maddog@linux.org.hk>
3967 * configure.in: Comment out dummy i18n support for now,
3968 otherwise it fails to build.
3969 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
3970 EXTRA_DIST. They are missing in tarball.
3972 2001-12-07 Michael Meeks <michael@ximian.com>
3974 * util/magnifier.c: kill bonobo activation reg. race.
3976 * libspi/component.c
3977 (impl_accessibility_component_get_extents): make it match
3980 * libspi/registry.c (_registry_notify_listeners):
3981 re-remove X headers & reconcile conflicts.
3982 (spi_listener_struct_free): bad conflict resolve.
3983 (impl_accessibility_registry_register_application):
3984 more bad merging fixed.
3985 (impl_accessibility_registry_deregister_application): ditto.
3986 (spi_registry_new): ditto.
3987 (spi_registry_init): don't have an applications field.
3989 [ merge fixups2 branch to here ]
3990 2001-12-07 Michael Meeks <michael@ximian.com>
3992 * test/simple-at.c (report_focus_event),
3993 (report_focussed_accessible): remove g_warning debug.
3995 2001-12-07 Michael Meeks <michael@ximian.com>
3997 * test/test-simple.c (validate_tree): comment out some checks.
3998 (test_desktop): app now not registered idly - horay.
4000 2001-12-07 Michael Meeks <michael@ximian.com>
4002 * cspi/spi_registry.c
4003 (registerAccessibleKeystrokeListener): clean, stop it leaking
4004 great swathes of memory, and device event controller references.
4005 ensure we always pass valid sequences.
4006 (deregisterAccessibleKeystrokeListener): ditto.
4007 (generateKeyEvent): upd.
4009 * at-bridge/bridge.c (bridge_key_listener): handle
4010 registry dead exception gracefully.
4011 (bridge_focus_tracker, emit_eventv): free ev.
4013 * test/simple-at.c (report_focus_event): fix polarity.
4015 * libspi/application.c (notify_listeners): kill the ev
4016 argument, and make sure we init the ev we use.
4017 (spi_application_object_event_listener): split out a chunk
4018 (get_atk_object_ref): here & fixup.
4019 (reverse_lookup_name_for_toolkit_event): make const.
4020 (spi_application_toolkit_event_listener): fixup, kill leaks
4023 * at-bridge/bridge.c (register_atk_event_listeners):
4024 don't unref the noop object - causes grief.
4026 * libspi/registry.c: remove the X headers.
4027 turn off the debug churn.
4029 * libspi/accessible.c (spi_accessible_new_return): only
4030 release the ref if we are supposed to [doh]
4032 * test/simple-at.c (report_button_press, report_focus_event):
4033 guard vs. unexpected exit.
4035 * at-bridge/bridge.c (gtk_module_init): prune printf.
4036 (bridge_exit_func): fix app unref.
4038 * libspi/Makefile.am: don't install registry or desktop.h
4040 * libspi/*.h: update includes.
4042 * libspi/application.h: don't include ourself, or
4043 other redundant headers.
4045 2001-12-06 Michael Meeks <michael@ximian.com>
4047 * libspi/accessible.c
4048 (get_accessible_from_servant): impl.
4049 Upd. all CORBA impl.s to use it killing cut and paste.
4051 * cspi/spi_main.c (cspi_cleanup): guard vs. double
4053 (SPI_init): register atexit cleanup handler here.
4055 2001-12-06 Michael Meeks <michael@ximian.com>
4057 * at-bridge/bridge.c (gtk_module_init): g_error on
4058 activation exception
4060 2001-12-06 Michael Meeks <michael@ximian.com>
4062 * at-bridge/bridge.c (gtk_module_init): some sort of
4063 confusing merge clash - reverted.
4064 (bridge_idle_init): ditto.
4066 * test/test-simple.c (main, utterable_normal_derefs):
4067 merge from Bill - somehow not committed.
4069 2001-12-06 Michael Meeks <michael@ximian.com>
4071 * libspi/value.c (spi_value_class_init): upd.
4072 (spi_value_finalize): kill.
4074 * libspi/table.c (spi_table_finalize): kill.
4075 (spi_table_interface_new): upd.
4076 (spi_table_class_init): upd.
4077 (get_table_from_servant): impl.
4078 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4080 * libspi/selection.c (spi_selection_finalize): kill.
4081 (spi_selection_interface_new): upd.
4082 (spi_selection_class_init): upd.
4083 (get_selection_from_servant): impl.
4084 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4086 * libspi/relation.c (spi_relation_finalize): kill.
4087 (spi_relation_class_init, spi_relation_new): upd
4089 * libspi/image.c (spi_image_finalize): kill.
4090 (spi_image_class_init): upd.
4091 (spi_image_interface_new): upd.
4092 (get_image_from_servant): impl.
4093 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4095 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
4096 (spi_hyperlink_finalize): kill.
4097 (spi_hyperlink_new): upd.
4098 (get_hyperlink_from_servant): impl.
4099 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4101 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
4102 (spi_hypertext_finalize): kill.
4103 (spi_hypertext_class_init): upd.
4104 (get_hypertext_from_servant): impl.
4105 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4107 * libspi/editabletext.c (spi_editable_text_finalize): kill.
4108 (spi_editable_text_interface_new): upd.
4109 (get_editable_text_from_servant): impl.
4110 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4112 * libspi/text.c (get_text_from_servant): impl.
4113 All impls - update to use it killing more cut and paste,
4114 also fix bad string returns on duff args ( a somewhat
4115 impossible case to handle - but hey ).
4116 (spi_text_construct): impl.
4117 (spi_text_interface_new): upd.
4118 (spi_text_object_finalize): kill.
4120 * libspi/component.c
4121 (accessibility_component_object_finalize): kill.
4122 (spi_component_class_init): upd.
4123 (get_component_from_servant): impl. helper to kill cut & paste.
4124 (impl_accessibility_component_contains):
4125 (impl_accessibility_component_get_accessible_at_point):
4126 (impl_accessibility_component_get_position):
4127 (impl_accessibility_component_get_extents):
4128 (impl_accessibility_component_get_mdi_z_order):
4129 (impl_accessibility_component_get_layer):
4130 (spi_component_interface_new): upd.
4132 * libspi/action.c (spi_action_finalize): kill.
4133 (spi_action_class_init): upd. inherit from SpiObject.
4134 (spi_action_interface_new): upd.
4135 (get_action_from_servant): impl. helper to reduce cut & paste.
4136 (impl_getKeyBinding, impl_getName, impl_doAction),
4137 (impl_getDescription): Use it everywhere.
4139 * cspi/spi_main.c (get_live_refs): a pointer hash.
4140 (spi_object_hash, spi_object_equal): comment out.
4141 There are issues with CORBA object hashing that need
4144 * libspi/application.c (spi_application_init),
4145 (spi_application_new): upd.
4147 * libspi/accessible.c (spi_accessible_object_finalize): kill.
4148 (spi_accessible_class_init): upd.
4149 s/accessible/object/ in epv methods.
4151 2001-12-05 Bill Haneman <bill.haneman@sun.com>
4153 * at-bridge/bridge.c:
4154 Reorder the bridge initialization into the bridge gtk_module_init,
4155 an immediate call to bridge_register_app, and an idle_add for
4156 register_atk_event_listeners (the only code that *must* wait until
4157 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
4158 the activation, creates the application's Accessible object, and
4159 queues the bridge_idle_init function. Restored call to
4160 Accessibility_Registry_deregisterApplication().
4161 Prior to making this call we obtain a new reference to the
4162 registry, which is a temporary hack that helps us handle apps that
4163 shut down the bonobo mainloop before we get there.
4165 * libspi/registry.c:
4166 Fix string leakage in debug block, and don't segv if a an app
4167 dies before its event notifications have been propagated.
4170 Modify cspi_check_ev() to call g_warning() rather than g_error(),
4171 as stopgap measure until we get proper exception handling when
4172 objects die during or before interrogation.
4176 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
4177 Also changed default value of is_gnome_app to TRUE.
4180 * test/keysynth-demo.c:
4181 Changed use of SPI_init and SPI_event_main to reflect API change above.
4184 Made report_focus_event check the warning value from getName
4185 before reporting on focussed accessible; simplifies handling of
4186 notifications from dead objects.
4188 * test/test-simple.c: (Changes not in this patch since source is
4191 2001-12-05 Michael Meeks <michael@ximian.com>
4193 * registryd/registryd.c (main): protect against
4194 bonobo-activation startup race condition.
4196 * cspi/spi_main.c (cspi_object_add_check): cope
4197 with the exception elegantly.
4199 * idl/Accessible.idl: decl. ChildGone
4201 * libspi/desktop.c (spi_desktop_dispose): impl.
4202 (spi_desktop_class_init): upd.
4203 (spi_desktop_add_application),
4204 (spi_desktop_remove_application),
4205 (abnormal_application_termination): impl.
4206 (impl_desktop_get_child_at_index): re-impl.
4209 (impl_accessibility_registry_deregister_application),
4210 (impl_accessibility_registry_register_application):
4211 kill excessive debug clutter.
4213 * test/test-simple.c (test_misc): test some NULL
4214 tolerance. (main): upd.
4216 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
4217 implements no interfaces - so let's not crash.
4219 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
4221 * libspi/accessible.c (spi_accessible_new_return): impl.
4222 helper to calm the cut and paste, to cope with
4223 NULL AtkObjects effectively and efficiently, and to kill
4224 the referencing bugs.
4226 * libspi/table.c (impl_getAccessibleAt),
4227 (impl_getRowHeader, impl_getColumnHeader): upd.
4229 * libspi/hyperlink.c (impl_getObject): upd.
4231 * libspi/accessible.c
4232 (impl_accessibility_accessible_get_child_at_index): upd.
4234 * libspi/component.c
4235 (impl_accessibility_component_get_accessible_at_point): upd.
4237 * test/test-simple.c (test_editable_text, test_text): impl.
4240 * cspi/spi_editabletext.c
4241 (AccessibleEditableText_insertText): constify.
4243 * test/test-simple.c (focus_me): make more robust.
4245 * libspi/accessible.c: remove some printfs in methods that
4246 we test and work fine, so we can get a clean tree dump.
4248 * test/test-simple.c (validate_accessible),
4249 (validate_tree): make tree dumping pretty too.
4251 * at-bridge/bridge.c (bridge_signal_listener): upd. so
4252 it builds without debug on.
4254 * test/test-simple.c (validate_accessible): fix the most
4257 * cspi/spi_main.c (spi_object_release): leave the nicely
4258 blanked memory around if in debug mode.
4260 * cspi/spi-listener-impl.c (cspi_event): use add_check.
4262 [committed to fixups2]
4263 2001-12-05 Michael Meeks <michael@ximian.com>
4265 * libspi/editabletext.c
4266 (spi_editable_text_class_init): g_type_class_peek_parent,
4267 not interface peek - so we finalize cleanly.
4269 * libspi/accessible.c (spi_accessible_new): kill debug.
4271 * test/test-simple.c (validate_accessible): fix ref.
4272 leak, print strings before freeing them; sigh, comment a
4273 chunk out due to strangeness.
4274 (validate_tree): unref the child after use.
4276 * cspi/spi_component.c (AccessibleComponent_getLayer):
4277 add missing break statement, switch on zlayer not the
4278 uninitialized retval.
4280 * cspi/spi_main.c (cspi_object_add): add assert, local ref
4281 before (possibly re-entering) remote unref.
4283 * test/simple-at.c (main): unref the desktop.
4285 * cspi/spi_accessible.c (cspi_accessible_is_a): move
4288 * cspi/spi_main.c (cspi_accessible_is_a): here to
4289 isolate bonobo API usage more.
4291 * libspi/registry.c (impl_accessibility_registry_register_application):
4292 prune bogus comment.
4294 2001-12-04 Michael Meeks <michael@ximian.com>
4296 * test/test-simple.c (validate_tree): upd.
4297 IndexInParent check to make it more lucid.
4298 (validate_accessible): dump the tree.
4300 * libspi/accessible.c (de_register_public_ref),
4301 (get_public_refs): impl.
4302 (spi_accessible_new): make more efficient & intuitive.
4303 Now IndexInParent check works.
4305 2001-12-04 Michael Meeks <michael@ximian.com>
4307 * cspi/spi-util.h: remove.
4309 * cspi/spi.h: move SPI_freeString here
4311 * libspi/component.c (impl_accessibility_component_get_layer):
4313 (impl_accessibility_component_get_mdi_z_order): ditto,
4314 return -1 on error - is this ok ?
4316 * test/test-simple.c (test_application): impl.
4318 * cspi/spi_accessible.c (Accessible_getApplication),
4319 (Accessible_isApplication): impl.
4321 * libspi/registry.c (spi_listener_struct_free): release
4322 the CORBA reference too.
4324 * libspi/accessible.c
4325 (impl_accessibility_accessible_get_parent): fix ref leak.
4327 * libspi/registry.c (spi_registry_new): make the registry
4328 immortal - we don't want it to go away ever.
4330 * libspi/application.c
4331 (spi_accessible_application_finalize): impl. cleanup.
4333 * cspi/spi_registry.c
4334 (deregisterGlobalEventListenerAll),
4335 (deregisterGlobalEventListener),
4336 (deregisterAccessibleKeystrokeListener): fix ref leak.
4338 * cspi/spi_main.c (SPI_init): remove redundant ref.
4340 * test/test-simple.c (unutterable_horror): impl. to force a
4345 (impl_accessibility_registry_deregister_application): release
4346 the application when we de-register it.
4348 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
4349 until we have the infastructure to get it right.
4351 2001-12-03 Michael Meeks <michael@ximian.com>
4353 * libspi/Makefile.am: only build eventlistener.[ch]
4355 * libspi/accessible.c
4356 (impl_accessibility_accessible_get_child_at_index): don't leak.
4358 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
4359 before we hit the idle handler.
4361 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
4362 debugging than exit.
4364 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
4366 * libspi/listener.c (impl_notify_event): check source
4367 not NIL before unref.
4369 * libspi/registry.c (impl_registry_notify_event): ditto.
4371 * libspi/eventlistener.c
4372 (impl_accessible_event_notify_event): unref the source.
4374 * libspi/accessibleeventlistener.c
4375 (impl_accessible_event_notify_event): unref the source.
4377 * idl/Event.idl: remove 'hash_id' attribute - of no
4380 * libspi/application.c (notify_listeners): upd list
4382 (spi_application_object_event_listener),
4383 (spi_application_toolkit_event_listener): upd to do correct
4387 (_registry_notify_listeners): update.
4388 (parse_event_type): this method also leaks like a sieve.
4389 (impl_accessibility_registry_deregister_global_event_listener):
4390 fix ETYPE_WINDOW case.
4392 * libspi/application.c
4393 (impl_accessibility_application_register_object_event_listener):
4396 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
4398 * libspi/hypertext.c (impl_getLink): ditto.
4400 * cspi/spi_main.c (cspi_object_add): remove
4401 bogus CORBA_Object_duplicate.
4403 * cspi/spi-listener-impl.c (cspi_event): dup/ref
4406 * cspi/spi_accessible.c
4407 (Accessible_getRelationSet): fix leak / referencing issue.
4409 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
4410 (cspi_object_add, cspi_object_unref): upd.
4411 (spi_object_release, get_live_refs): impl.
4412 (cspi_cleanup): simplify.
4414 * *.[ch]: s/boolean/SpiBoolean/
4416 * cspi/spi_accessible.c (role_names): actualy order so it
4417 corresponds with the enum !
4419 * test/test-simple.c (test_roles): check some role strings
4420 vs. enums to detect offset errors.
4422 2001-12-01 Michael Meeks <michael@ximian.com>
4424 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
4426 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
4428 (Accessible_getChildAtIndex): use cspi_add_check so we
4429 check the ev before using a (possibly) invalid value.
4431 * libspi/accessible.c
4432 (impl_accessibility_accessible_get_parent): don't segv
4435 * at-bridge/bridge.c (gtk_module_init): upd.
4436 (bridge_property_event_listener): don't leak strings
4438 (bridge_state_event_listener),
4439 (bridge_property_event_listener): don't use a static
4440 buffer in case of recursive event emission &
4441 re-enterancy - split out the swathe of cut and paste
4443 (emit_eventv): and fix 2 ref leaks here & comply to the
4445 (bridge_register_app): rename to
4446 (bridge_idle_init): this and kill arg parsing, split
4447 various inits & bonobo-activation registration to module
4448 init time, kill referencing error.
4449 (bridge_exit_func): fix the same leak.
4450 (bridge_focus_tracker): don't leak event structures
4452 (bridge_signal_listener): more leakage and cut & paste
4454 (bridge_key_listener): return the result - FIXME is
4455 this polarity correct ?
4456 (accessibility_keystroke_from_atk_key_event): rename
4457 (accessibility_init_keystroke_from_atk_key_event): and stop
4459 (gtk_module_init): return a value - not that it is checked by
4461 (bridge_key_listener): register my horror at casting between
4462 IDL defined structs.
4463 (bridge_get_registry): kill - not used.
4465 * cspi/spi_accessible.c (Accessible_getRole): make return const.
4467 * test/test-simple.c (test_roles): impl.
4468 (test_desktop, validate_accessible, validate_tree): impl.
4470 * cspi/spi_accessible.c (role_names): fixup bogus
4471 MAX_ROLES setup, make constants const for efficient linkage
4472 (AccessibleRole_getName): conform to coding style, make
4475 2001-11-30 Michael Meeks <michael@ximian.com>
4477 * cspi/spi.h: add missing prototype.
4479 * libspi/registry.c (spi_listener_struct_new): fix sig.
4481 * test/Makefile.am: add test-simple
4483 * test/test-simple.c: add
4485 * test/test.sh: add.
4487 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
4489 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
4490 do it straight - since otherwise we often get an activation race.
4492 [ work before Bill duplicated a chunk of it ... ]
4493 2001-11-30 Michael Meeks <michael@ximian.com>
4495 * libspi/keystrokelistener.c
4496 (spi_keystroke_listener_class_init): fixup arg
4499 * libspi/eventlistener.c
4500 (spi_event_listener_class_init): ditto.
4502 * tests/test.sh: add.
4504 * cspi/spi-listener-impl.h: update macros.
4506 * cspi/spi-listener-impl.c
4507 (cspi_event_listener_remove_callback): add
4508 correct pre-conditions.
4510 * cspi/spi_main.c (SPI_exit): guard vs. double
4511 exits, exit the mainloop nicely.
4512 (SPI_event_main): make more sense.
4513 (SPI_init): move the atexit evilness here so we
4514 always do it (yuck).
4515 (SPI_event_main): upd.
4517 * test/simple-at.c: update for listener changes.
4519 * registryd/registryd.c (main): prune kruft.
4521 * libspi/libspi.h: upd.
4523 * libspi/eventlistener.[ch]: rename broken macros.
4525 * libspi/accessibleeventlistener.[ch]: remove.
4527 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
4529 * test/test-simple.c: Add - automated tests.
4531 * cspi/spi-listener-impl.c (cspi_event),
4532 (cspi_key_event): add user_data to invoke.
4533 (cspi_keystroke_listener_finalize): impl.
4534 (cspi_keystroke_listener_class_init): upd.
4537 (createAccessibleEventListener),
4538 (AccessibleEventListener_addCallback),
4539 (createAccessibleKeystrokeListener),
4540 (AccessibleKeystrokeListener_addCallback): upd.
4542 * libspi/deviceeventcontroller.c
4543 (spi_device_event_controller_check_key_event): add public proto.
4546 (impl_accessibility_registry_deregister_global_event_listener):
4547 always init listeners.
4548 (_registry_notify_listeners): yes it is.
4550 * cspi/spi-listener-impl.c (cspi_key_event):
4552 (cspi_event_listener_finalize): impl.
4553 (cspi_event_listener_class_init): hook up.
4554 (event_handler_new, event_handler_free),
4555 (event_list_remove_by_callback): impl.
4556 (cspi_event_listener_remove_callback),
4557 (cspi_keystroke_listener_remove_callback),
4558 (cspi_keystroke_listener_add_callback),
4559 (cspi_event_listener_add_callback): upd.
4561 * libspi/keystrokelistener.c
4562 (keystroke_listener_object_finalize): kill
4563 (spi_keystroke_listener_class_init): upd.
4564 (spi_keystroke_listener_add_callback),
4565 (spi_keystroke_listener_remove_callback): kill,
4567 (impl_key_event): prune drasticaly.
4569 * libspi/eventlistener.c
4570 (spi_event_listener_add_callback),
4571 (spi_event_listener_remove_callback): kill, use
4573 (impl_accessible_event_notify_event): upd.
4574 (spi_event_listener_object_finalize): remove.
4576 * libspi/Makefile.am: use eventlistener.[ch]
4578 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4580 * libspi/registry.c (_registry_notify_listeners):
4581 Changed listener loop iteration to use preferred convention.
4582 Got rid of string memory leaks caused be calling g_strconcat
4583 inside function calls.
4585 * libspi/registry.c (parse_event_type):
4586 Stopped g_strconcat memory leaks, free the g_strsplit return,
4587 g_strdup the split pieces when used, etc.
4589 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4592 Change method 'compare' to return a 'difference set' rather than
4593 taking a StateSet as an out parameter (more Java-friendly).
4595 * idl/Accessible.idl:
4596 Added CORBA struct 'BoundingBox', to faciliate API changes below:
4598 * idl/Component.idl:
4600 Changed methods 'getExtents' and 'getImageExtents' in these
4601 interfaces to return a BoundingBox structure.
4602 (getPosition and getSize are redundant and possibly should be
4603 removed, rather than creating a corresponding Point struct.)
4605 * cspi/spi_component.c:
4606 Modify implementation of getExtents to reflect the above IDL
4611 Add (missing) AccessibleImage_getExtents () API.
4613 * docs/reference/cspi/at-spi-cspi-sections.txt:
4614 Added AccessibleImage_getImageExtents () to docs.
4616 2001-12-03 Bill Haneman <bill.haneman@sun.com>
4618 * idl/Component.idl:
4619 Added two methods, getLayer () and getMDIZOrder (), to reflect
4620 the new ATK methods atk_object_get_layer and
4621 atk_object_get_mdi_z_order. (Which arguably should be part of the
4622 AtkComponent API and AtkObject). Also added an enum,
4623 ComponentLayer, for the first method's return value.
4625 * libspi/component.c:
4626 Added implementations for these methods.
4628 * cspi/spi_component.c:
4630 Added cspi binding methods for above,
4631 AccessibleComponent_getLayer() and
4632 AccessibleComponent_getMDIZOrder().
4633 Added cspi enum 'AccessibleComponentLayer'.
4635 * docs/reference/cspi/at-spi-cspi-sections.txt:
4636 Added above methods to docs.
4640 Changed typedef for 'boolean' type (and all references to it) to
4641 SPIBoolean, to avoid keyword clashes with C++.
4644 Changed usages of 'boolean' to SPIBoolean.
4646 * test/keysynth-demo.c:
4647 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
4648 app), except where SPIBoolean is required by the callbacks API.
4650 2001-12-02 Bill Haneman <bill.haneman@sun.com>
4652 * cspi/spi_registry.c:
4653 Removed obsolete X event loop for passive keygrabs (which now
4656 * registryd/registryd.c:
4657 Removed unnecessary call to gdk_init() [cruft]. This also allows
4658 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
4661 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4663 * docs/reference/cspi:
4664 Included docs for SPI_freeString in generated documentation.
4667 Renamed spi_freeString to SPI_freeString, for consistency. Added
4668 documentation for this function.
4671 Renamed spi_freeString to SPI_freeString, for consistency.
4672 Removed obsolete method declaration string_from_corba_string.
4674 * test/keysynth-demo.c:
4675 Small tweak to comments.
4678 Stopped leaking the strings returned from CSPI.
4680 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4682 Merged Michael's branch (see his ChangeLog entries below).
4684 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
4685 bridge is alive, release on exit.
4687 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
4688 Fix type check macro.
4691 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
4694 Added is_gnome_app static, and method cspi_is_gnome_app(),
4695 so we can call the appropriate shutdown routine at exit in SPI_exit.
4697 * cspi/spi_main.c (cspi_object_ref):
4698 Duplicate the corba object passed in, since we're keeping it around.
4700 * cspi/SPI_exit.c, cspi_cleanup:
4701 Moved the releasing of the live refs to its own function, so we
4702 can put it in g_atexit (). Call the appropriate shutdown API
4703 depending on whethe calling client is a gnome app or not
4704 (bonobo_main_quit or CORBA_ORB_shutdown).
4706 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
4707 Unref the listener when this method is called, after
4708 deregistration. Updated the API docs to note this behavior.
4710 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
4711 Bugfixes: Ref the bonobo object when returning a parent or child
4712 reference, or an AccessibleRelation. Generally made sure
4713 BonoboObject refcount is incremented whenever we return an
4716 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
4717 Fixed typo/bug in signal declaration.
4719 * libspi/accessibleeventlistener.h:
4722 * libspi/application.c (spi_application_new):
4723 Fixed leak in initialization.
4726 Remembered to increment bonobo-object refcount when returning
4727 children (applications) from desktop object.
4728 Added (empty) finalize method.
4730 * libspi/deviceeventcontroller.c:
4731 Hold a ref to listeners inside DEControllerKeyListeners.
4732 Added dec_key_listener_free() method. Use prepend instead of
4733 append in key_listener list. Fixed some refcount madness and
4734 leaks in the listener registration/deregistration - deregistration
4735 now calls dec_key_listener_free() on listeners, and on the
4736 temporarily constructed dec_key_listener() used to perform the search/match.
4738 * libspi/hypertext.c (spi_hypertest_finalize):
4739 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
4740 class. Also fixed spi_hypertext_interface_new() and
4741 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
4743 * libspi/hypertext.h:
4744 Removed pointless and duplicate AtkObject pointer from
4747 * libspi/keystrokelistener.c:
4748 Fixed incorrect type of keystroke_listener_parent_class,
4749 renamed keystroke_listener_object_finalize to
4750 spi_keystroke_listener_object_finalize.
4751 Fixed typo in signal declaration
4752 (spi_keystroke_listener_class_init).
4754 * libspi/registry.c:
4755 Added funcsions spi_listener_struct_new() and
4756 spi_listener_struct_free() to help with memory management issues.
4757 We also now use these methods instead of gnew + poking stuff into
4758 the struct, and to decrement listener counts/free the listeners
4759 when deregistering them.
4760 Fix more refcount bugs in getDesktop() and
4761 getDeviceEventController().
4764 De-ref the desktop after enumerating the applications. Explicitly
4765 decrement the refcounts on the created listeners on exit (using
4766 _unref for keystroke listeners, and via the
4767 deregisterGlobalEventListenerAll command for other event
4770 2001-11-27 Michael Meeks <michael@ximian.com>
4772 * cspi/spi-listener.h: fixup enum.
4774 2001-11-27 Michael Meeks <michael@ximian.com>
4776 * cspi/spi-listener-impl.c (cspi_event_listener_new),
4777 (cspi_keystroke_listener_new): Use the cspi variants.
4779 2001-11-26 Michael Meeks <michael@ximian.com>
4781 * test/keysynth-demo.c: fix 2 compile warnings, missing
4784 * test/simple-at.c (report_focussed_accessible),
4785 (report_focus_event, report_button_press),
4786 (check_property_change, is_command_key),
4787 (report_ordinary_key_event, report_command_key_event): upd.
4789 * util/mag_client.h: include pre-requisites.
4791 * libspi/accessibleeventlistener.c
4792 (spi_event_listener_object_finalize): free any lingering
4795 * libspi/keystrokelistener.c
4796 (keystroke_listener_object_finalize): ditto.
4798 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
4799 callbacks, with cspi types.
4801 * cspi/spi_event.c (createAccessibleEventListener): chain to
4802 (AccessibleEventListener_addCallback): here.
4803 (createAccessibleKeystrokeListener): chain to
4804 (AccessibleKeystrokeListener_addCallback): here.
4806 * libspi/keystrokelistener.c
4807 (spi_keystroke_listener_class_init): add signal.
4808 (impl_key_event): emit the event.
4809 (boolean_handled_accumulator): impl.
4810 (marshal_BOOLEAN__POINTER): add, gack.
4812 * libspi/accessibleeventlistener.c
4813 (spi_event_listener_class_init): add signal.
4814 (impl_accessible_event_notify_event): emit the signal &
4815 make the loop efficient.
4816 (spi_event_listener_add_callback): prepend the callback.
4818 * libspi/accessibleeventlistener.h: add an 'event' signal,
4819 decl type on callback.
4821 * libspi/keystrokelistener.h: ditto.
4823 * cspi/spi-listener.h: make methods typesafe and
4824 make them use the new event typedefs.
4826 * test/simple-at.c (report_focussed_accessible):
4827 include mag_client.h
4828 Use *(void *)text_interface not the other thing.
4830 * configure.in: add gtk to registryd bits - since we use
4833 * util/magnifier.c: include libbonobo.h
4835 2001-11-25 Bill Haneman <bill.haneman@sun.com>
4837 * test/keysynth-demo.c:
4838 Turned this into a simple scanning keyboard, to demonstrate the
4839 use of g_timeout_add () as a means of creating timers for
4840 scanning, and the use of GtkStyle for visually indicating when
4841 virtual keyboard elements are selected.
4843 keysynth-demo now listens to any keyboard keys with zero-valued
4844 keycodes (i.e. 'unused' keys) and interprets them as
4847 Reworked the shiftlatch code so that shift-down state isn't held
4848 for long periods (it's only synthesized immediately prior to
4849 the keysynth event it's modifying). Note that shiftlatch in this
4850 demo is a convenience, not intended to take the place of AccessX
4851 which is the better choice for getting 'sticky' modifier keys.
4853 * libspi/deviceeventcontroller.c:
4854 * at-bridge/bridge.c:
4855 * cspi/spi_registry.c:
4856 Removed some debug print stuff, and put other verbosity in #ifdef
4861 Implemented some more of the magnifier IDL for the simple
4862 magnifier: namely, getZoomRegionParams.
4863 Added mag_x and mag_y members to MagnifierData struct, aid of this
4865 Added GtkWindow::realize signal handler to magnifier, to keep it
4866 from receiving keyboard focus from the WM.
4868 2001-11-23 Mark McLoughlin <mark@skynet.ie>
4870 * cspi/spi-private.h: my guess at what michael forgot
4871 before he ran off to NZ :-)
4873 2001-11-23 Michael Meeks <michael@ximian.com>
4875 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
4876 comment out non existant method invoke so we link.
4878 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
4879 use bonobo_exception_get_text for more friendly warnings.
4881 * cspi/spi.c (Obj_Add): move into spi_main & rename
4882 spi_object_add; kill spi.c
4884 * cspi/spi_registry.c
4885 (deregisterGlobalEventListener),
4886 (deregisterGlobalEventListenerAll),
4887 (registerGlobalEventListener): fix exception leaks.
4889 * cspi/spi_main.c (spi_exception): impl. helper, so we
4890 don't leak exceptions.
4892 * cspi/spi_selection.c
4893 (AccessibleSelection_deselectSelectedChild): return the
4896 * cspi/spi_main.c (spi_ev): impl; hack - gack.
4897 (spi_registry): ditto.
4898 (SPI_init): guard against double inits.
4900 * cspi/*.c: use spi_ev (), and spi_registry () where
4901 appropriate - a temporary hack until we have something
4902 better. Use spi_object_add
4904 2001-11-22 Michael Meeks <michael@ximian.com>
4906 * cspi/Makefile.am: re organise, install the headers.
4908 * cspi/*.h: add G_BEGIN/END_DECLS
4910 2001-11-22 Bill Haneman <bill.haneman@sun.com>
4913 Added non-preemptive keylistener for key events with no modifiers
4914 and shift-only modifier.
4916 * libspi/keystrokelistener.c:
4917 Removed some verbose diagnostics printout.
4919 * cspi/spi_registry.c:
4920 Fixed a bug that caused all key listeners to be registered as
4923 * libspi/deviceeventcontroller.c:
4924 Fixed bug that caused XGrabKey (preemptive key grab) to be called
4925 for non-preemptive key masks.
4928 2001-11-22 Bill Haneman <bill.haneman@sun.com>
4930 * docs/reference/idl/at-spi-idl-docs.sgml:
4931 * docs/reference/idl/at-spi-idl-sections.txt:
4932 * docs/reference/idl/at-spi-idl-overrides.txt:
4933 Added missing files.
4935 * docs/reference/Makefile.am:
4936 removed idl from SUBDIRS until we can figure a way to get gtk-doc
4937 to scan the IDL files :-(
4942 Added .cvsignore files.
4944 2001-11-21 Bill Haneman <bill.haneman@sun.com>
4946 * libspi/deviceeventcontroller.c:
4947 * libspi/keystrokelistener.c:
4949 * cspi/spi_registry.c:
4950 Added filters for KeySets, KeyEventSeq, and event types to key
4951 event dispatching, so listeners should only receive those events
4952 that they requested :-)
4954 2001-11-21 Bill Haneman <bill.haneman@sun.com>
4959 * docs/reference:Makefile.am:
4960 * docs/reference/cspi:
4961 * docs/reference/cspi:Makefile.am:
4962 * docs/reference/cspi:tmpl:
4963 * docs/reference/cspi:tmpl:*.sgml:
4964 * docs/reference/idl:
4965 * docs/reference/idl:Makefile.am:
4966 * docs/reference/idl:at-spi-idl-sections.txt:
4967 * docs/reference/idl:at-spi-idl-docs.sgml:
4968 * docs/reference/idl:tmpl:
4969 * docs/reference/idl:tmpl:*.sgml:
4971 Restructured docs directory to allow separate 'reference' docs
4972 section, and forked idl and cspi docs. Added the sgml template
4973 files to CVS. Added the first sections/structural sgml for the
4976 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
4978 * configure.in, libspi/Makefile.am: find libXtst.
4980 2001-11-21 Michael Meeks <michael@ximian.com>
4982 * test/accessx-gui.c: s/spi_value/value/ - doh.
4984 * libspi/base.[ch]: add.
4986 2001-11-18 Bill Haneman <bill.haneman@sun.com>
4988 * idl/Accessible.idl:
4989 * idl/Application.idl:
4992 Started gtk-doc cleanup on IDL.
4994 * libspi/deviceeventcontroller.c:
4995 Added and connected non-preemptive key notification from the
4996 toolkits (in addition to the pre-emptive support from XServer
4997 which we had before, but which causes 'focus flashing'). Filters
4998 are presently limited to key modifiers and global/non-global,
4999 KeySets are presently ignored, as are KeyEvent masks.
5001 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
5002 structs into the persistant structure rather than just storing
5003 pointers to things that might not persist across servant
5006 The XGrabKey call now does async keygrabs, because synchronous
5007 ones were deadlocking with GDK_event code in a very nasty way.
5009 Added boolean to internal method notify_keylisteners, to indicate
5010 whether the event came from the 'toolkit source' or the 'global
5011 (XServer) source' - this is used in the notification process to
5012 determine which listeners to send the event to.
5014 deviceeventcontroller.c is now warning-free.
5016 * libspi/registry.c:
5017 Fixed regression in application de-registration.
5018 Also fixed some really brain-dead weirdness having to do with
5019 event dispatching - event structs are now duplicated before being
5020 re-marshalled in the dispatch to listeners. This also fixes a
5021 Solaris build problem.
5024 2001-11-20 Michael Meeks <michael@ximian.com>
5027 (impl_accessibility_registry_deregister_global_event_listener):
5030 * libspi/deviceeventcontroller.c
5031 (spi_device_event_controller_check_key_event): return
5032 FALSE on no virtual method.
5034 * libspi/*..h: make includes work on a correctly pathed install.
5036 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
5038 * libspi/application.h: kill unused ( and whacked out )
5039 gboolean *spi_application_set_id (AtkObject *app, long id);
5041 2001-11-20 Michael Meeks <michael@ximian.com>
5043 * libspi/*.[ch]: further convert to bonobo's type func
5044 macros, remove redundnant casts etc.
5046 * libspi/text.c s/accessibility_text/spi_text/g,
5047 re-order to de-cruft.
5049 * libspi/hypertext.c: re-order to kill a huge slew
5050 of redundant forward decls.
5052 * libspi/relation.c: ditto.
5054 * libspi/image.c: ditto.
5056 * */.cvsignore: update
5058 2001-11-20 Michael Meeks <michael@ximian.com>
5060 * libspi/deviceeventcontroller.c
5061 (_controller_register_with_devices): use g_getenv,
5062 kill stdlib.h include.
5064 * libspi/keystrokelistener.c
5065 (spi_keystroke_listener_get_type): kill
5066 (spi_keystroke_listener_class_init),
5067 (spi_keystroke_listener_init): rename to this.
5069 * libspi/text.c (impl_getAttributes): fix warning / bug.
5071 * libspi/*.[ch]: more headers, includes and over commenting.
5073 2001-11-20 Michael Meeks <michael@ximian.com>
5075 * libspi/*.[ch]: fixup headers, includes and over commenting.
5077 * libspi/image.c (impl__get_imageDescription): const
5078 correctness warning fix. remove redundant casting.
5080 * libspi/table.c (impl_getRowDescription): ditto.
5081 (impl_getColumnDescription): ditto.
5083 * libspi/libspi.h: add.
5085 2001-11-19 Michael Meeks <michael@ximian.com>
5087 * libspi/editabletext.c (impl_setAttributes): fix warnings.
5089 * libspi/component.c (accessibility_component_get_type):
5090 rename to (spi_component_get_type): and macroify.
5091 (accessibility_component_init): rename to
5092 (spi_component_init): this
5093 (accessibility_component_class_init): rename to
5094 (spi_component_class_init): this
5096 * libspi/action.c (spi_action_get_type): kill, use the macro.
5098 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
5101 * libspi/application.c (spi_application_object_event_listener),
5102 (impl_accessibility_application_register_object_event_listener):
5103 warning fixes / const understanding updates.
5105 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
5108 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5110 * libspi/spi_accessible.c: Added docs and C bindings for
5111 AccessibleStateSet. (No implementations yet). Documentation
5112 coverage for C bindings now 100%. Made docs for event listeners
5117 boolean notifyListenersSync (in DeviceEventListener listener,
5118 in DeviceEvent event);
5120 oneway void notifyListenersAsync (in DeviceEventListener listener,
5121 in DeviceEvent event);
5123 Added DeviceEventListener and DeviceEvent structs (may deprecate
5124 KeyStroke and KeystrokeListener in favor of this generic
5125 event/listener framework for devices).
5127 * libspi/deviceeventcontroller.c:
5129 Changed some key listener code to take masks, etc., and paved the
5130 way for integration of toolkit/non-preemptive key events. Changed
5131 signatures of some internal methods.
5133 * at-bridge/bridge.c:
5134 Fixed regression connecting to interface signals, apparently
5135 caused by GTK+ changes.
5137 Added an internal bridge_state_listener to deal with
5138 property-change:accessible-state signals.
5140 Changed the key_listeners GList to store structs (including masks,
5141 etc.) instead of just CORBA_Objects (required for full
5142 implementation of key listener API).
5144 Connected the bridge to all currently supported Atk signals.
5145 Events now supported:
5146 object:property-change
5147 object:property-change:accessible-name
5148 object:property-change:accessible-state
5149 object:property-change:accessible-description
5150 object:property-change:accessible-parent
5151 object:property-change:accessible-value
5152 object:property-change:accessible-role
5153 object:property-change:accessible-table-caption
5154 object:property-change:accessible-table-column-description
5155 object:property-change:accessible-table-column-header
5156 object:property-change:accessible-table-row-description
5157 object:property-change:accessible-table-row-header
5158 object:property-change:accessible-table-summary
5159 object:children-changed
5160 object:visible-data-changed
5161 object:selection-changed
5162 object:text-selection-changed
5164 object:text-caret-moved
5166 object:row-reordered
5168 object:column-inserted
5169 object:column-reordered
5170 object:column-deleted
5171 object:model-changed
5173 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5175 * libspi/hyperlink.c,h:
5176 Fixed some broken stuff in hyperlink.
5178 * libspi/relation.h:
5179 * libspi/relation.c:
5180 * cspi/spi_accessible.c:
5181 Initial implementations of AccessibleRelation methods, and docs.
5183 * libspi/accessible.c:
5184 Fixed a bug that caused SEGV if an accessible
5185 object's description is NULL, and a client
5186 requests it. An empty string is now returned.
5188 * cspi/spi_editabletext.c:
5189 * cspi/spi_hypertext.c:
5191 * cspi/spi_hyperlink.c:
5195 Doc coverage now 95%.
5197 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5199 One last namespacing revision:
5200 * libspi/accessibleeventlistener.[ch]:
5201 Renamed SpiAccessibleEventListener to SpiEventListener,
5202 (no need for two namespaces ;-)
5204 And lots of documentation fixes:
5206 * docs/at-spi-docs.sgml:
5207 Fixed 'underscore vs. hyphen' bug that was preventing
5208 the gtk-doc API docs from being automatically generated.
5211 * cspi/spi-listener.h
5213 * cspi/spi_accessible.c
5215 * cspi/spi_application.c
5216 * cspi/spi_component.c
5217 * cspi/spi_editabletext.c
5219 * cspi/spi_hypertext.c
5221 * cspi/spi_registry.c
5222 * cspi/spi_selection.c
5226 * docs/at-spi-docs.sgml
5227 * docs/at-spi-sections.txt
5229 Added and fixed up gtk-doc documentation in cspi.
5231 Interfaces now (fully) documented (subject to revision and enhancement):
5233 Event Listener Support
5235 AccessibleApplication
5239 AccessibleEditableText
5246 AccessibleRelationSet
5251 2001-11-14 Bill Haneman <bill.haneman@sun.com>
5253 * at-bridge/bridge.c:
5254 Initial work for toolkit-level key snooper connection by bridge.
5259 New typedefs and fixes to support new namespacing, and cleaner
5260 separation of cspi bindings from libspi bonobo implementation.
5261 Removed inconsistent and extraneous Spi* namespace prefix that
5262 had crept into cspi headers.
5263 Lots of comment fixes that sed had missed.
5265 * cspi/spi-roletypes.h:
5266 * cspi/spi-statetypes.h:
5267 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
5268 to AccessibleRoleType.
5270 * libspi/accessibleeventlistener.h:
5271 Fixed minor namespacing weirdness.
5273 * libspi/deviceeventcontroller.c:
5274 Reordered some internal API for device listeners.
5275 Changed the key registry final boolean to 'is_system_global'
5276 rather than 'is_synchronous', which is more descriptive of its
5278 Added spi_device_event_controller_new().
5279 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
5281 * libspi/keystrokelistener.[ch]:
5282 Namespaced KeystrokeListener to SpiKeystrokeListener.
5283 Changed uses of keymasks to use SPI_ prefix, and did other
5286 * libspi/keymasks.h:
5287 Namespaced keymask constants with SPI_ prefix.
5289 * libspi/registry.c:
5290 Some warning fixes, and knock-on fixes from namespace changes.
5293 Added rules for accessx-gui test program.
5295 * test/accessx-gui.c:
5296 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
5297 utility. It doesn't actually use at-spi, but it's still cool and
5300 * test/keysynth-demo.c:
5304 Fixes so that these test clients work properly with the namespaced
5305 libraries. (Incompletely tested for technical reasons, fixes may follow)
5308 2001-11-13 Michael Meeks <michael@ximian.com>
5310 * libspi/application.c
5311 (impl_accessibility_application_get_version),
5312 (impl_accessibility_application_get_toolkit_name):
5314 (impl_accessibility_application_set_id),
5315 (impl_accessibility_application_get_id): remove
5316 redundant casting code.
5318 * libspi/action.c (impl_getDescription): fix warnings.
5320 * libspi/accessible.c
5321 (impl_accessibility_accessible_get_parent),
5322 (impl_accessibility_accessible_get_child_at_index),
5323 (impl_accessibility_accessible_get_state),
5324 (impl_accessibility_accessible_get_relation_set):
5325 warning fixes & include action.h
5327 2001-11-13 Michael Meeks <michael@ximian.com>
5329 * *.[ch] fix bits I screwed up:
5331 s/([^ \tb(\*\&\?\",])spi_/\1/g;
5332 s/([^ \tb(\*\&\?\",])Spi/\1/g;
5334 2001-11-13 Michael Meeks <michael@ximian.com>
5336 * *.[ch] Namespace libspi into spi_ and Spi.
5338 2001-13-11 Michael Meeks <michael@ximian.com>
5340 * Makefile.am: dist & install at-spi-1.0.pc
5342 * libspi/Makefile.am: install into at-spi-1.0
5344 * idl/Makefile.am (idldir): install into at-spi-1.0
5346 * at-spi-1.0.pc.in: add.
5348 * configure.in: build it.
5350 2001-11-12 Bill Haneman <bill.haneman@sun.com>
5352 * test/keysynth-demo.c:
5353 Use a 'realize' signal-handler to set the WM properties for
5354 the virtual keyboard, rather than making it a "POPUP" type
5355 override-redirect window (thanks to anders carlsson for that
5358 2001-11-11 Bill Haneman <bill.haneman@sun.com>
5361 * test/keysynth-demo.c:
5362 Added new test of key synthesis, which creates a simple
5363 (mouse-operated) onscreen keyboard. It inserts key events into
5364 the currently-focused window, thus it does not grab keyboard focus
5367 * cspi/spi_registry.c:
5368 Added C binding for AT-SPI generateKeyEvent.
5370 * libspi/deviceeventcontroller.c:
5371 Added call to XFilterEvent so that key listener works with XIM (we
5372 hope). Added event_synth_type to generateKeyEvent, so that we can
5373 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
5374 synthesize a press/release pair for KeySyms.
5376 2001-11-09 Bill Haneman <bill.haneman@sun.com>
5378 * libspi/Makefile.am:
5379 * registryd/Makefile.am:
5380 (temporary) hack to include libXtst in libspi and registryd.
5381 (Needed for keystroke synthesis, see below).
5384 Improved API for registerKeystrokeListener, in accordance with
5385 discussions with Gnopernicus team and X server research.
5387 * libspi/registry.c:
5388 * libspi/deviceeventcontroller.c:
5389 * libspi/accessible.c:
5390 * libspi/keystrokelistener.c:
5391 Changes and fixes to support keylisteners for potentially
5392 consumed key events (that is, 'passive grabs').
5393 Added implementation for generateKeyEvent() [untested].
5396 Changes to registerKeystrokeListener() API, as above.
5397 Added deregisterGlobalEventListenerAll(), and
5398 deregisterKeystrokeListener(), which are needed for clean exit of
5400 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
5401 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
5403 * cspi/spi_registry.c:
5404 Added implementations of function prototypes mentioned above.
5406 * registryd/registryd.c:
5407 Added the key listener event source as a g_timeout(), to allow
5408 receipt of key events that are not caught by GDK (since GDK
5409 doesn't support passive keygrabs, this was necessary).
5412 Changed to attach a keylistener to 'Alt' keys, and
5413 respond to the following keycommands: Alt-M (toggle magnifier);
5414 Alt-F (toggle speech); Alt-Q (quit).
5415 Added an exit routine to deregister the listeners, and a key
5416 listener that prints some key info to the console when a key
5417 matches the listener mask (and is thus received by the listener).
5419 * util/idl/Magnifier.idl:
5420 Changes to magnifier API to support multiple zoom regions,
5421 non-uniform scaling in x and y, markDirty, and a host of other
5422 features that would be useful to magnification.
5425 * util/mag_client.c:
5426 * util/mag_client.h:
5427 * util/mag_control.c:
5429 Source code changes to support the above IDL changes.
5432 As above, and also changes to use a (slower) generic conversion
5433 path for colormap conversions, since the fast RGB conversions have been
5434 reported to fail for 16-bit displays.
5436 2001-10-26 Michael Meeks <michael@ximian.com>
5438 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
5440 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
5442 * at-bridge/Makefile.am: fix LDFLAGS.
5444 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5446 * at-bridge/bridge.c:
5447 Re-worked listeners for toolkit events, now we have signal
5448 and property listeners. Added a private method
5449 register_atk_event_listeners(), which registers with the
5450 various atk and gtk signals we need to monitor in order to emit
5452 Added emission hook for AtkObject:property-change events, to
5453 support the 'property listeners'.
5454 Fixed some alloc()s of Accessibility_Event structs to use CORBA
5457 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
5458 which emit warnings and exit, respectively, if CORBA errors occur
5459 during remote calls, and we now use these methods to check most of
5460 our CORBA calls in the C bindings.
5462 * cspi/spi_accessible.c:
5463 Changed AccessibleSelection_refSelectedChild() to
5464 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
5465 now increment refcounts.
5467 * cspi/spi_component.c:
5468 Fixed some long pointer casts (dangerous!) to pass pointers to
5469 CORBA_longs of the proper type to the CORBA stubs, and copy the
5470 data into the longs that were passed into the C bindings code.
5472 * at-bridge/bridge.c:
5474 * libspi/accessible.c:
5475 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
5476 hyperlinks, AtkHyperlink is an object type.
5478 * libspi/application.c:
5479 Added various conversions to and from "generic" event types and
5480 atk-specific types; this is really part of the 'bridge'
5481 implementation but is valid for all AtkObject-based accessibility
5484 * libspi/editabletext.c:
5485 Fixed nasty bug wherein editable text's finalize method was
5486 unref'ing tha AtkObject reference that the text parent class was
5487 about to unref _again_. There was also a nasty inheritance bug
5488 that meant that the AccessibleEditableText class was corrupt.
5490 * libspi/selection.c:
5491 Provided implementations for some selection API that was broken.
5493 * idl/Application.idl:
5494 Added registerObjectEventListener () method.
5497 Fixed a number of return values that were Bonobo_Unknowns from
5498 bonobo_object_corba_objref(), which I
5499 forgot to dup before returning. Changed instances of
5500 bonobo_object_corba_objref (bonobo_object(o)) to
5501 BONOBO_OBJREF(o), for concision and clarity.
5503 2001-10-13 Louise Miller <louise.miller@sun.com>
5505 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
5506 idl/Event.idl, idl/Registry.idl
5507 Changed these files to include Bonobo_Unknown.idl instead
5510 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
5512 * libspi/component.c libspi/component.h:
5513 Fixed typo. Added assertions for object checks in
5514 AccessibleComponent code.
5516 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5518 * idl/Accessible.idl:
5519 Added 'isEqual (Accessible *object)'
5520 method for Accessible. (Not Yet Implemented).
5523 Changed signature of registerKeystrokeListener() to
5524 take a KeySet and KeyEventSeq so that specific keys and event
5525 types could be requested for monitoring, and added a flag
5526 is_synchronous so that either synchronous or asynchronous
5527 notification could be requested. (However this is not all
5528 implemented yet). This also meant adding two new typedefs,
5529 KeyEventSeq and KeySet.
5532 Added two new relations, RELATION_TOOLTIP_FOR and
5533 RELATION_LEAFNODE_OF.
5536 Added new state, STATE_HAS_TOOLTIP.
5538 * libspi/text.c, editabletext.c:
5539 Added new assertions to all casts of bonobo-objects from
5540 CORBA servants, to prevent Text API calls on non-text objects.
5541 Changed suspect casts of int-pointer types, so that we
5542 always send a valid CORBA_long pointer to the CORBA APIs that use
5543 in/out long parameters. We then have to copy from the CORBA_long
5544 into the regular long or int for return to the C bindings, or
5545 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
5548 * libspi/deviceeventcontroller.c:
5549 Cleaned these sources up.
5551 Changed return type for getCharacterAtOffset to
5552 CORBA_unsigned_long, to allow for 32-bit characters.
5555 2001-10-08 Bill Haneman <bill.haneman@sun.com>
5559 Fixed 'make dist' so that distro compiles...
5560 * libspi/keymasks.h:
5562 * cspi/spi-listener.c:
5563 KeystrokeListenerCB now returns a boolean.
5565 Added KeyEventType struct, and KeyStroke.
5566 Also added createKeystrokeListener(),
5567 KeystrokeListener_addCallback(),
5568 KeystrokeListener_removeCallback(), and added a keymask to
5569 registerKeystrokeListener().
5570 * cspi/spi_accessible.c:
5571 Changed numerous return types for interfaces from
5572 AccessibleComponent to Accessible<InterfaceName>; this was
5573 probably a cut-and-paste error.
5575 Implementations of new KeystrokeListener api (from spi.h,
5578 Changes to key modifier mapping.
5579 Created ControllerEventMask struct.
5580 Made DeviceEventController derive from Bonobo::Unknown.
5582 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
5583 * libspi/deviceeventcontroller.c:
5584 Added a number of new internal (private) methods.
5585 * libspi/editabletext.c:
5586 * libspi/editabletext.h:
5587 Fixed a number of bugs related to the fact that
5588 editabletext inherits from text. Fixed the EditableText struct,
5589 the init() call, and use correct casts when calling Text methods
5590 from an EditableText object. Removed (duplicate) atko from the
5591 EditableText structure, we use the one in the parent Text
5592 structure via the casts mentioned above.
5593 * libspi/keystrokelistener.[ch]:
5594 * libspi/registry.c:
5595 Changes in support of keyboard handling (above).
5597 Keyboard handling, though partly functional, is still not
5598 recommended for at-spi client use as there is considerable
5599 work yet to be done.
5602 Changed some places where pointers to various int types
5603 are cast to be pointers to CORBA_long types and vice-versa:
5604 pointer casting is not safe so we pass pointers of the correct
5605 types and then cast the result before putting it into the target
5608 * libspi/text.h: minor typos corrected.
5610 We now speak not only the name of a Text element, but the
5611 first sentence of its content, when it receives focus.
5612 I also changed the text compression to 75% from 50%.
5613 * util/Accessibility_Util.server.in:
5614 Changed the default magnifier type to be a 3x vertical
5615 splitscreen magnifier (was previously a 2x horizontal one).
5617 2001-10-03 Bill Haneman <bill.haneman@sun.com>
5619 * libspi/keystrokelistener.h:
5620 * libspi/keystrokelistener.c:
5621 Initial functional implementations of KeystrokeListener.
5624 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
5626 Fixed string handling for NULL strings in libspi.
5627 Added spi_freeString to free strings returned by C bindings.
5629 2001-09-30 Bill Haneman <bill.haneman@sun.com>
5631 * libspi/keystrokelistener.h:
5632 * libspi/keystrokelistener.c:
5633 Began (no-op) implementations of KeystrokeListener
5635 * libspi/deviceeventcontroller.c:
5636 * libspi/deviceeventcontroller.h:
5637 Began creating implementations of DeviceEventController,
5638 to handle keystroke and mouse event listening and
5640 * libspi/accessible.c:
5641 Stubbed-in the implementations for
5642 Accessibility_Accessible_getState and
5643 Accessibility_Accessible_getRelationSet.
5644 * libspi/registry.c:
5645 Improved de-registration process and fixed some bugs,
5646 deregistration now works correctly.
5648 Added initialization of applications list (to NULL).
5650 Reduced speech compression from 0.5 to 0.7, for demo.
5651 Changed call to gdk_window_set_decorations()
5652 to gtk_window_set_decorated().
5653 * at-bridge/bridge.c:
5654 Bridge now deregisters when app exits, via
5655 registration of a cleanup function
5656 with the g_atexit() call.
5657 Required making 'app' static, renamed 'this_app'.
5658 Fixed broken use of bonobo_init, passing argv wrongly.
5660 2001-09-27 Bill Haneman <bill.haneman@sun.com>
5664 Created a new directory for
5665 accessibility-related utilities, primarily for
5666 testing and demo purposes, but with possible
5673 Onscreen magnifier utility that
5674 is implemented as a bonobo service.
5676 * util/mag_client.c:
5677 * util/mag_client.h:
5678 Client-side support (simple C bindings)
5679 for Magnification service
5681 * util/mag_control.c:
5682 Client program example for
5683 Magnification service
5685 * util/Accessibility_Magnifier.server.in:
5686 Bonobo-activation file for the
5687 Magnification service.
5690 * util/idl/Magnifier.idl:
5691 IDL defining the bonobo Magnification
5695 Modifications to use the bonobo-activated magnifier
5696 above, in place of trying to connect to an existing
5697 magnifier that uses socket-listening IPC.
5699 If env variable MAGNIFIER is set, a magnifier service
5700 will be started if one does not exist.
5702 2001-09-25 Bill Haneman <bill.haneman@sun.com>
5704 * at-bridge/bridge.c:
5705 applied patch from Marc to build and run
5706 against new glib and gtk+ (seemed like a change
5707 to bonobo_init signature was made ?)
5709 made festival-server support turned off by default.
5710 Added support for a simple magnifier (off by default)
5711 which will be added to a 'util' directory later.
5712 * at-bridge/Makefile.am:
5713 Changed "application.h" header from a 'source'
5714 to a 'dependency' of libat-bridge.
5716 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
5725 Added interface implementation c files to list of
5726 includes so they are included in libcspi.
5729 Changed prototype of AccessibleAction_doAction to return a
5731 Changed prototype of AccessibleTable_getCaption to
5732 return an Accessible.
5733 Changed prototype of AccessibleTable_getSelectedRows
5734 and AccessibleTable_getSelectedColumns to
5735 return a long (returns the number of selected rows
5736 or columns respectively).
5737 Changed name of AccessibleText_refRunAttributes to
5738 AccessibleText_getAttributes.
5739 Changed prototype of AccessibleText_getCharacterExtents to
5740 return a void rather than a boolean.
5741 Added support for a AccessibleCoordType parameter
5742 specifying what type of coordinates are desired.
5743 Added an AccessibleCordType parameter to
5744 AccessibleText_getPointAtOffset.
5746 * cspi/spi_accessible.c:
5747 Added code to return the outstanding interfaces from
5748 Accessible_queryInterface.
5750 * cspi/spi_action.c:
5752 Corrected call to getNActions to call the c binding
5755 * cspi/spi_editabletext.c:
5757 Changed name from setRunAttributes to setAttributes.
5759 * cspi/spi_hyperlink.c:
5761 Changed call to getNAnchors to correctly call the c
5762 binding for an attribute.
5764 * cspi/spi_hypertext.c:
5766 Changed getImageDescription to correctly call the
5767 binding for an attribute.
5769 * cspi/spi_selection.c:
5770 Changed getNSelectedChildren to correctly call the c
5771 binding for the attribute.
5772 Changed refSelectedChild to getSelectedChild.
5776 Changed getCaption to return an Accessible.
5777 Fixed calls which retrieve attributes.
5778 Changed refAt to getAccessibleAt.
5779 Changed getNSelectedRows and getNSelectedColumns to
5783 Changed getCharacterExtents and getPointAtOffset to accept an
5784 AccessibleCoordType.
5786 Changed calls which retrieve attributes.
5787 Changed refRunAttributes to getAttributes.
5792 * idl/Hyperlink.idl:
5793 Changed n_anchors attribute to nAnchors to keep naming
5794 convention consistent.
5797 Made Table inherit from Bonobo::Unknown.
5798 Added nSelectedColumns and nSelectedRows attributes.
5801 Made Value inherit from Bonobo::Unknown.
5803 * libspi/hyperlink.c:
5804 Change for nAnchors attributte name change.
5806 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
5814 Added interface implementation c files to list of
5815 includes so they are included in libcspi.
5818 Changed prototype of AccessibleAction_doAction to return a
5820 Changed prototype of AccessibleTable_getCaption to
5821 return an Accessible.
5822 Changed prototype of AccessibleTable_getSelectedRows
5823 and AccessibleTable_getSelectedColumns to
5824 return a long (returns the number of selected rows
5825 or columns respectively).
5826 Changed name of AccessibleText_refRunAttributes to
5827 AccessibleText_getAttributes.
5828 Changed prototype of AccessibleText_getCharacterExtents to
5829 return a void rather than a boolean.
5830 Added support for a AccessibleCoordType parameter
5831 specifying what type of coordinates are desired.
5832 Added an AccessibleCordType parameter to
5833 AccessibleText_getPointAtOffset.
5835 * cspi/spi_accessible.c:
5836 Added code to return the outstanding interfaces from
5837 Accessible_queryInterface.
5839 * cspi/spi_action.c:
5841 Corrected call to getNActions to call the c binding
5844 * cspi/spi_editabletext.c:
5846 Changed name from setRunAttributes to setAttributes.
5848 * cspi/spi_hyperlink.c:
5850 Changed call to getNAnchors to correctly call the c
5851 binding for an attribute.
5853 * cspi/spi_hypertext.c:
5855 Changed getImageDescription to correctly call the
5856 binding for an attribute.
5858 * cspi/spi_selection.c:
5859 Changed getNSelectedChildren to correctly call the c
5860 binding for the attribute.
5861 Changed refSelectedChild to getSelectedChild.
5865 Changed getCaption to return an Accessible.
5866 Fixed calls which retrieve attributes.
5867 Changed refAt to getAccessibleAt.
5868 Changed getNSelectedRows and getNSelectedColumns to
5872 Changed getCharacterExtents and getPointAtOffset to accept an
5873 AccessibleCoordType.
5875 Changed calls which retrieve attributes.
5876 Changed refRunAttributes to getAttributes.
5881 * idl/Hyperlink.idl:
5882 Changed n_anchors attribute to nAnchors to keep naming
5883 convention consistent.
5886 Made Table inherit from Bonobo::Unknown.
5887 Added nSelectedColumns and nSelectedRows attributes.
5890 Made Value inherit from Bonobo::Unknown.
5892 * libspi/hyperlink.c:
5893 Change for nAnchors attributte name change.
5896 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
5898 implementations-- made server implementations own AtkObject pointers
5899 rather than their respective AtkInterrface pointers to fix
5900 refcounting. AtkHyperlink is still broken.
5902 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5903 * cspi/spi_accessible.c:
5904 Added method Accessible_Role_getName(),
5905 and requisite string array (role_names).
5906 Added conversion string_from_corba_strin() call
5907 to Accessible_getName and _getDescription.
5908 * libspi/accessible.c:
5909 Added implementation for Accessible_getRole()
5911 Added festival support, used if environment variable
5914 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5916 * at-bridge/bridge.c:
5917 Now allocate Accessibility_Event using
5918 Accessibility_Event__alloc() instead of g_new0().
5919 * libspi/accessibleeventlistener.c:
5920 Initialize AccessibleEventListener->callbacks to NULL.
5921 Fixed accessible__event_listener_init() param, changed to
5922 "AccessibleEventListener *" type.
5923 Changed a bonobo_object_release_unref() call to
5924 Accessibility_Accessible_unref().
5925 * libspi/listener.c:
5926 Changed Bonobo_Unknown_unref to (equivalent)
5927 Accessibility_Accessible_unref.
5928 * libspi/registry.c:
5929 Changed bonobo_object_release_unref to
5930 Accessibility_Accessible_unref.
5932 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
5935 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
5936 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
5937 spi-util.c spi-util.h
5938 Implementations for C bindings to remaining accessibility
5941 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
5944 changed return value of Action from void to boolean to
5945 bring in line with ATK.
5948 Changed getText funcions to return "out" start and end offsets.
5949 Changed getAttributes to take and offset and return the start
5950 and end offset of the attribute run.
5951 Changed getOffsetAtPoint and getCharacterExtents to take an
5952 enum describing whether coordinates are window or screen.
5955 libspi/action.c libspi/action.h libspi/editabletext.c
5956 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
5957 libspi/hypertext.c libspi/hypertext.h libspi/image.c
5958 libspi/image.h libspi/selection.c libspi/selection.h
5959 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
5960 libspi/value.c libspi/value.h
5961 Added server implementations for outstanding ATK interfaces
5962 not yet implemented.
5964 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5967 Added (missing) getName() method.
5968 Made nActions an attribute.
5969 * idl/EditableText.idl:
5970 Changed order of params in setAttributes.
5971 * idl/Hyperlink.idl:
5972 Removed getAnchor, added getURI.
5974 Changed attributes to methods, for efficiency
5975 (so that getting extents can be done in one call)
5976 * idl/Selection.idl:
5977 Changed nSelectedChildren to attribute, and re-indented.
5978 * idl/Table.idl: changed nrows, ncolumns, caption, summary
5980 * idl/Text.idl: reformatted to match our coding style.
5981 (temporarily?) removed getRowColumnAtOffset().
5982 Changed text selection API to support multi-select and
5983 non-contiguous selections, as in ATK.
5984 * idl/Value.idl: changed some methods to attributes.
5986 2001-08-24 Mark McLoughlin <mark@skynet.ie>
5988 * libspi/listener.c(impl_notify_event):
5989 BonoboUnkown_unref the source instead
5990 of bonobo_object_release_unref - the ORB
5991 handles the releasing.
5993 * configure.in: require ORBit-2.3.94 for
5996 2001-08-21 Bill Haneman <bill.haneman@sun.com>
5998 Tagged CVS repository 'EA_1_0'.
5999 * README.EARLY_ACCESS:
6000 Alphabetized acknowledgements list, and
6002 Listed some known dependencies of at-spi.
6004 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6006 * docs/at-spi-docs.sgml:
6007 * docs/at-spi-sections.txt:
6008 * docs/at-spi-overrides.txt: (Added zero-length file)
6009 Documentation improvements - gtk-doc should build
6010 docs for all implemented C bindings now.
6013 * cspi/spi.c: (New file)
6014 * cspi/spi_event.c: (New file)
6015 * cspi/spi_registry.c: (New file)
6016 * cspi/spi_accessible.c: (New file)
6017 * cspi/spi_application.c: (New file)
6018 * cspi/spi_component.c: (New file)
6019 Split spi_main.c into six parts, and included them from
6020 "spi.c". This is a bit of a hack, probably temporary,
6021 but required by gtk-doc, apparently.
6023 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6026 * docs/at-spi-docs.sgml:
6027 * docs/at-spi-sections.txt:
6029 Initial checkins/modifications for gtk-doc generation.
6032 Added (missing) interface query methods to Accessible's C binding.
6034 Added GenericInterface type definition.
6036 Added query for AccessibleComponent interface to focus event handler.
6037 Added printout of bounding box for focussed component.
6038 * libspi/component.c:
6039 Added partial implementation for AccessibleComponent to C binding.
6040 * idl/Application.idl:
6041 * libspi/registry.c:
6042 * libspi/listener.c:
6043 * libspi/application.c:
6044 * libspi/application.h:
6045 Changed "ID" attribute type from string to long.
6047 2001-08-19 Bill Haneman <bill.haneman@sun.com>
6051 Made method naming consistent: methods taking object args
6052 start with uppercase, other methods (except those using
6053 acronyms) start with lowercase. Underscores delimit between
6054 object names and method names:
6055 SPI_init() - uppercase since it starts with an acronym.
6056 getDesktopCount () - lowercase start since no object param0.
6057 Accessible_getName() - uppercase object type name, studlyCaps method
6061 Added gtk-doc documentation for all currently implemented
6062 methods in the C bindings API.
6064 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6066 * Makefile.am : changed build order to build test last.
6069 Changed "createEventListener" to "CreateEventListener".
6070 * libspi/accessibleeventlistener.c :
6071 Bugfix for addition of callbacks.
6072 * test/Makefile.am :
6073 * test/simple-at.c :
6074 Added new test that uses the C bindings API.
6076 * libspi/listener.c :
6077 * libspi/registry.c :
6078 * libspi/accessibleeventlistener.c :
6079 * at-bridge/bridge.c :
6080 Renamed member "target" of Accessibility_Event to "source",
6081 which is more descriptive.
6084 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6088 * cspi/Makefile.am :
6089 Added makefile support for at-spi/cspi directory.
6092 * cspi/spi-listener.h : (NEW FILE)
6093 Added support for/use of spi-listener.h.
6095 C bindings now build successfully, with no warnings.
6096 * libspi/accessibleeventlistener.h : (NEW FILE)
6097 * libspi/accessibleeventlistener.c : (NEW FILE)
6098 * libspi/Makefile.am :
6099 Added new object type "AccessibleEventListener"
6100 which inherits from Listener, and allows attachment
6101 of in-process callbacks (so that a client with a listening
6102 object instance can add functionality to the local
6103 implementation, dynamically).
6105 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6107 * libspi/accessible.c:
6108 Add implementation for get_index_in_parent().
6110 Added #include of "spi-roletypes.h", and
6111 added enumerated type AccessibleCoordType.
6112 Added definition for KeystrokeListener (function type).
6115 * cspi/spi-statetypes.h :
6116 * cspi/spi-roletypes.h :
6118 Added these headers, used by spi.h.
6120 Added code (NOTE: not yet built by make).
6122 2001-08-18 Mark McLoughlin <mark@skynet.ie>
6124 * libspi/Makefile.am: generate imodule
6125 at the same time as other idl compiler
6128 2001-08-17 Bill Haneman <bill.haneman@sun.com>
6129 * libspi/registry.c :
6130 * libspi/application.c :
6131 * idl/Application.idl :
6132 Made registration with toolkit an application method,
6133 which is required since each app has its own toolkit static
6134 environment. Thus the bridge must register for
6135 notification of toolkit events from each application in turn.
6136 Toolkit notifications are now successfully registered for, and
6137 sent to the listening at client.
6139 Changed toolkit event string to use hyphens rather than underscores.
6140 * libspi/listener.c :
6141 listner now gives more info in debug mode - it reports the
6142 name of the event received, as well as the name of the source.
6145 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6147 * libspi/registry.c :
6148 added more implementation for toolkit events.
6149 Fixed bug such that toolkit event registrations
6150 (via atk) use the whole event name string, not
6152 Removed a useless call to an ORBit_ method.
6153 * at-bridge/bridge.c :
6154 Removed unused local sbuf[] variable.
6156 We now register for Gtk:GtkWidget:button_press_event
6157 events as well as "focus:" events.
6159 Add some more API from Registry.idl that was missing,
6160 for keystroke listening, keystroke and mouse event
6161 synthesis, and enumeration of accessible desktops.
6163 2001-08-16 Michael Meeks <michael@ximian.com>
6165 * configure.in: use AM_GLIB_GNU_GETTEXT.
6167 * Makefile.am (SUBDIRS): kill intl.
6169 2001-08-15 Michael Meeks <michael@ximian.com>
6171 * registryd/Makefile.am: s/oaf/server/ relocate info file.
6173 * configure.in: upd.
6175 * configure.in: depend on a recent bonobo-activation that
6176 will find our server files ...
6178 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6180 * libspi/accessible.c : accessible_new() :
6181 Now we add the Component interface via bonobo_object_add_interface,
6182 if the contained AtkObject implements AtkComponent.
6183 * libspi/accessible.h : now include "component.h"
6184 * libspi/component.h :
6185 * libspi/component.c : added files - implementation of
6186 bonobo wrapper object for Accessibility/Component
6187 * libspi/listener.c :
6188 Added test code to check for Accessibility/Component:1.0
6189 interface and report whether it is implemented by the
6191 * libspi/registry.c :
6192 Now we check for not only the hash of the whole event
6193 string before relaying the event, we also check the
6194 "minor" event string (without the detail string).
6195 This allows event listeners to be registered against
6196 all events of a certain major+minor type, or just
6197 against a specific major+minor+detail type.
6198 * libspi/accessible.c :
6199 Added implementations for Accessible:get_parent(),
6200 Accessible:getChildCount(), and Accessible:getChildAtIndex().
6201 * libspi/registry.c :
6202 * libspi/listener.c :
6203 Replaced calls to Accessibility_Accessible_ref() and
6204 Accessibility_Accessible_unref() with
6205 calls to bonobo_object_dup_ref() and
6206 bonobo_object_release_unref(), so that the CORBA object
6207 is dup-ed and released when relayed, as well as the bonobo object.
6209 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6211 * libspi/Makefile.am,
6212 registryd/Makefile.am,
6213 at-bridge/Makefile.am.
6214 test/Makefile.am, configure.in:
6215 reverse previous changes.
6217 * /idl/Image.idl: fix typo.
6219 * test/Makefile.am: put DEBUG_FLAGS
6222 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6224 * test/app.c: use argv[0] instead of
6227 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6229 * libspi/Makefile.am,
6230 registryd/Makefile.am,
6231 at-bridge/Makefile.am.
6232 test/Makefile.am, configure.in:
6233 cleanup, replace individual LIBS/CFLAGS with
6234 AT_COMMON_{LIBS|CFLAGS}.
6238 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6240 * configure.in, libspi/Makefile.am:
6241 Change IDL path checking for bonobo-activation
6244 2001-08-15 Bill Haneman <bill.haneman@sun.com>
6246 * registryd/registry.c : separated event listeners to use
6247 3 separate lists (focus, window, toolkit). Began testing
6248 event names against hashes before relaying events.
6249 * test/at.c : now register for events of type "focus:"
6250 * test/app.c : now generate events of type "focus:"
6251 * at-bridge/bridge.c : register with ATK for focus events,
6252 and we now relay those focus events to any "focus:" listeners.
6253 This now works with the bridge as a GTK_MODULE when running test/at.
6254 * libspi/registry.c :
6255 * libspi/listener.c :
6256 now we ref event sources before propagating, and unref on receipt.
6257 * libspi/registry.c :
6258 some changes to internal structs, to support event typestring hashes.
6259 * text/app.c : changed the way the appname is generated.
6260 * cspi : added directory that will hold the C bindings library for
6261 non-CORBA/bonobo-savvy clients.
6262 * cspi/spi.h : header file that contains the function prototypes for the C binding.
6263 * idl/Component.idl : added in parameter to indicate coord system for
6264 geometry-related calls.
6265 * idl/Hyperlink.idl : added readonly n_links attribute
6266 * idl/Image.idl : changed methods to attributes.
6268 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6270 * at-bridge/Makefile.am: link against
6271 ../libspi/libspi.la instead of -lspi.
6273 * at-spi/test/app.c: include
6274 bonobo-activation.h. Use a default appname
6275 if one is not provided.
6277 2001-08-14 Bill Haneman <bill.haneman@sun.com>
6279 * idl/Registry.idl : temporarily changed register_Application
6280 to oneway, to work around issue with initial registration
6282 * idl/Application.idl : changed attribute "id" from readonly
6283 to read-write, since it needs to be assigned by Registry.
6284 * registryd/registryd.c : added call to set application id
6286 * registryd/registry.c : changed de-registration procedure to
6287 use CORBA_Object_hash() to find matching object ref in application
6288 lists and listener lists.
6289 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
6290 began distinguishing between event types (work in progress).
6292 2001-08-13 Bill Haneman <bill.haneman@sun.com>
6295 * libspi/application.c:
6296 Added implementations for get/set id, get_toolkitName,
6298 * registryd/registryd.c :
6302 Converted from use of OAF to bonobo-activation.
6303 * libspi/desktop.h :
6304 * libspi/desktop.c :
6306 Removed references to atksimpleobject, since base atkobject
6307 implementation now provides functionality we need.
6308 * libspi/atksimpleobject.c :
6309 * libspi/atksimpleobject.h :
6314 * at-bridge/Makefile.am
6315 * at-bridge/bridge.c
6318 Added directory "bridge" and contents, and added dependencies
6319 in Makefile.am/configure.in.
6320 Initial checkin of "at-bridge".
6321 This code is a GTK_MODULE which automatically registers
6322 GTK+ apps with the accessibility registry, using an object
6323 reference to the root ATK object.
6325 2001-08-10 Mark McLoughlin <mark@skynet.ie>
6327 * po/Makefile.in.in: Remove. Again. If this
6328 doesn't get autogenerated - you need to update
6331 2001-08-07 Mark McLoughlin <mark@skynet.ie>
6333 * po/Makefile.in.in: Add. Again.
6335 2001-07-31 Bill Haneman <bill.haneman@sun.com>
6337 * libspi/accessible.c : added support for 'description' property.
6338 * libspi/accessible.c
6340 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
6341 (since the two are now equivalent in libbonobo)
6349 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
6350 Bonobo::Unknown as does Accessibility::Accessible.
6351 * idl/StreamableContent.idl : as above, and replaced internal InputStream
6352 interface with Bonobo::Stream, since it was redundant with it.
6353 (The Stream returned by a StreamableContext object is expected to
6354 implement only a subset of Bonobo::Stream)
6356 2001-07-28 Anders Carlsson <andersca@gnome.org>
6358 * libspi/accessible.c (accessible_object_finalize): Change
6359 g_free to g_object_unref since the AtkObject is a GObject.
6361 2001-07-30 Bill Haneman <bill.haneman@sun.com>
6363 * idl/Accessibility.idl: add new IDL files
6366 * idl/Action.idl: Definitions of actionable UI object
6367 * idl/Component.idl: Definitions of UI component geometry, etc.
6368 * idl/Hyperlink.idl: Defs of hyperlink behavior
6369 * idl/Image.idl: Def of accessible image
6370 * idl/Selection.idl: Definition of UI object with selectable children
6371 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
6372 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
6373 * idl/Text.idl: Interface defs for UI elements with complex textual content
6374 * idl/Value.idl: Definition of UI element that is a value controller or display
6376 2001-07-27 Michael Meeks <michael@ximian.com>
6378 * po/Makefile.in.in: remove autogenerated file from CVS.
6380 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
6383 * idl/Registry.idl: include guard.
6385 * idl/Accessibility.idl: Add, and include all the other IDL
6388 * idl/*.idl: remove mass of pragmas etc.
6390 2001-07-26 Michael Meeks <michael@ximian.com>
6392 * registryd/Makefile.am (registryd_SOURCES): remove
6395 2001-07-27 Mark McLoughlin <mark@skynet.ie>
6397 * libspi/.cvsignore, registryd/.cvsignore,
6398 test/.cvsignore: updated.
6400 * po/Makefile.in.in: gettext update.
6402 2001-07-25 Bill Haneman <bill.haneman@sun.com>
6404 * initial CVS checkin
6406 2001-06-29 Michael Meeks <michael@ximian.com>
6408 * configure.in: add AM_CONFIG_HEADER to gen config.h