1 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
3 * configure.in: Added et to ALL_LINGUAS.
5 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
7 * test/event-listeber-test.c: Change active-descendant to
8 active-descendant-changed.
10 2003-08-10 Sami Pesonen <sampeson@iki.fi>
12 * configure.in: Added "fi" in ALL_LINGUAS.
14 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
16 * configure.in: Added "hi" in ALL_LINGUAS.
18 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
20 * configure.in: Revved to 1.3.6.
24 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
26 * registryd/deviceeventcontroller.c
27 (spi_device_event_controller_object_finalize): Fix typo in previous
30 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
32 * registryd/deviceeventcontroller.c
33 (spi_device_event_controller_object_finalize): Fix build on
34 systems without XEvIE.
36 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
38 * acconfig.h, configure.in, registryd/Makefile.am,
39 registryd/devicecontoller.[ch]: Add XEViE support.
41 2003-08-06 Wang Jian <lark@linux.net.cn>
43 * configure.in: Added "zh_CN" to ALL_LINGUAS.
45 2003-08-06 Metin Amiroff<metin@karegen.com>
47 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
49 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
51 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
52 MODIFIER_ALT in correct place.
54 This fixes part of bug #118114.
56 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
58 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
60 2003-07-28 Changwoo Ryu <cwryu@debian.org>
62 * configure.in: Added "ko" to ALL_LINGUAS.
64 2003-07-28 Ole Laursen <olau@hardworking.dk>
66 * configure.in: Added "da" to the commented out ALL_LINGUAS.
68 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
70 * configure.in: Added "sq" to ALL_LINGUAS.
72 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
74 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
76 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
78 * configure.in: updated ALL_LINGUAS list
80 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
82 * configure.in: Added Belarusian to ALL_LINGUAS.
84 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
86 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
88 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
89 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
91 This fixes bug #116949.
93 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
95 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
96 Correct CSPI to SPI in function documentation.
98 This fixes bug #118054.
100 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
102 * configure.in: Added Russian to ALL_LINGUAS.
104 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
106 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
108 2003-07-14 Danilo Šegan <dsegan@gmx.net>
110 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
112 2003-07-10 Joel Brich <joel.brich@laposte.net>
114 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
116 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
118 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
120 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
122 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
123 resources allocated for AccessibleEvent. See cspi_event().
125 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
126 static variable streams to NULL.
128 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
129 Update so that AcessibleEvent_ref will work.
131 This fixes bug #116624.
133 2003-07-06 Jordi Mallach <jordi@sindominio.net>
135 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
137 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
139 * configure.in: Added "fr" (French) to ALL_LINGUAS.
141 2003-07-02 Christian Neumair <chris@gnome-de.org>
143 * configure.in: Added "de" (German) to ALL_LINGUAS.
145 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
147 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
149 2003-07-01 Miloslav Trmac <mitr@volny.cz>
151 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
153 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
155 * configure.in: Added "pl" to ALL_LINGUAS.
157 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
159 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
161 2003-06-30 Bill Haneman <bill.haneman@sun.com>
164 (get_action_from_servant):
165 Removed assertion that action is implemented on an AtkObject.
167 * libspi/hyperlink.c:
169 Aggregate AccessibleAction interface on the hyperlink object if
170 the object implements AtkAction. (This convention is used in
173 2003-06-30 Bill Haneman <bill.haneman@sun.com>
175 * configure.in: Revved to 1.3.5.
177 * registryd/Accessibility_Registry.server.in.in:
178 Marked up appropriate strings for translation.
180 * atk-bridge/bridge.c: Marked a couple of
181 user-visible warnings for translation. Questionable
182 whether they are really useful, but possibly so.
185 2003-06-28 Christian Rose <menthos@menthos.com>
187 * configure.in: Added "sv" to ALL_LINGUAS.
189 2003-06-26 Bill Haneman <bill.haneman@sun.com>
191 * registryd/registry.c:
192 (spi_registry_object_finalize): Unref the deviceeventcontroller.
193 (registry_defer_on_event): Defer focus: events, this is an
194 improvement to the patch for bug #108664.
196 * TODO: Update with 2.4/"Dev Complete" items.
198 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
200 * atk-bridge/bridge.c:
201 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
202 looks up signals once.
203 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
204 if doing registration.
205 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
206 when doing registration.
208 This fixes bug #115014.
210 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
212 * atk-bridge/bridge.c:
213 (atk_bridge_init): Add signal handler for children-changed:remove on
214 root when in a BonoboComponent.
215 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
216 for first toplevel only other incrememt variable toplevels.
217 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
218 application and remove listeners.
219 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
221 (spi_atk_deregister_event_listeners): New function which removes
223 (reinit_register_vars): New fuction which reinitializes variables.
225 This fixes bug #111578.
227 2003-06-13 Bill Haneman <bill.haneman@sun.com>
229 * configure.in: version 1.3.4.
231 * cspi/spi_accessible.c:
232 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
235 2003-06-13 Michael Meeks <michael@ximian.com>
237 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
239 * cspi/spi_main.c (cspi_peek_ev): impl.
241 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
243 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
245 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
247 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
248 SPI_ROLE_AUTOCOMPLETE
250 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
252 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
253 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
255 2003-06-11 Bill Haneman <bill.haneman@sun.com>
257 * libspi/streamablecontent.h:
258 * libspi/streamablecontent.c:
259 New files, provide implementation/wrappers for
260 Accessibility_StreamableContent.
262 * cspi/spi_streamablecontent.c:
263 Connected the C wrappers to the libspi C bindings.
264 (AccessibleStreamableContent_close): New method.
267 (AccessibleStreamableContent_close): New method, needed
268 since we have an "open, [seek], read, close" model in cspi.
270 2003-06-11 Bill Haneman <bill.haneman@sun.com>
272 Fix for #108664; Padraig's revision of my original patch.
274 * registryd/registry.h:
275 Added event queue list, is_queuing, and exit_notify_timeout
276 to the registry struct.
278 * registryd/registry.c:
279 (registry_init): Initialize new struct from registry.h.
280 (impl_registry_notify_event):
281 Filter events before notifying, in case some need to be
283 (registry_filter_event): New,
284 we defer certain incoming events (for instance
285 window:deactivate) because we may wish to hide
286 or reject them based on pending events. This is
287 mostly a workaround for bug #108664.
288 (registry_queue_event, registry_start_queue): New.
289 (registry_defer_on_event): Test event to see if it
291 (registry_reset_on_event): Returns TRUE if the
292 event should cause a queue reset.
293 (registry_discard_on_event): Returns TRUE if the event
294 should cause the previous queue contents to be discarded.
295 (registry_timeout_flush_queue): Flushes the pending event
296 queue if no reset/discard-triggering events have come in
297 within the timeout period.
298 (registry_emit_event): New.
299 (registry_clone_notify_context): New, used when queueing the
300 event notify contexts.
302 2003-06-10 Bill Haneman <bill.haneman@sun.com>
304 * configure.in: Version revved to 1.3.2, lt 0.9.2
305 Incremented ATK required version to 1.3.4.
307 * cspi/spi_registry.c:
308 (SPI_generateKeyEvent):
309 We now pass the keystring along if it's non-null.
311 * registryd/deviceeventcontroller.c:
312 (keysym_mod_mask): New method, returns modifier mask
313 required to generate a keysym from a given keycode.
314 (dec_synth_keysym): New method.
315 (dec_synth_keystring): New method.
316 (dec_get_modifier_state): New method.
317 (dec_lock_modifiers): New
318 (dec_unlock_modifiers): New.
319 (dec_keysym_for_unichar): New, rather brute-force
320 conversion from UCS-4 to X KeySyms. Only works for
321 Latin at the moment, with partial implementations for
322 Greek, Hebrew, and (incomplete) Katakana.
323 (impl_generate_keyboard_event): Now implement
324 "KEYSTRING" synthesis and implement "KEYSYM"
326 (keycode_from_keysym): Improved, passes a returned
327 modmask value now if the corresponding param is non-NULL.
329 Fixes bugs #92143 and #109776.
332 * test/keysynth-test.c:
333 New test program for key synthesis, to confirm fixes for
337 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
339 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
341 * cspi/spi_accessible.c (cspi_init_relation_type_table):
342 Add line for RELATION_POPUP_FOR
344 * docs/reference/cspi/tmpl/spi_relation.sgml:
345 Add relation SPI_RELATION_POPUP_FOR
347 * docs/reference/cspi/tmpl/spi_stateset.sgml:
348 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
350 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
352 * libspi/relation.c (spi_init_relation_type_table):
353 Add line for RELATION_POPUP_FOR
355 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
357 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
358 there are still windows which have not been deleted and emit
359 window:deactivate, if necessary and window:destroy events.
360 This fixes bug #114370. The change on June 5th was not correct.
362 2003-06-09 Bill Haneman <bill.haneman@sun.com>
364 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
367 (SPI_dupString): Allow dup-ing of a string such that it's safe to
369 New methods for client exception handling and interception.
370 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
371 (SPI_exceptionHandlerPop): You guessed it...
372 (SPI_getSourceType): Return the type of object which offended.
373 (SPI_getExceptionCode): Return an enum code telling, possibly,
374 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
375 (SPIAccessibleException_getSource): get the source object for
376 exceptions that come from Accessibles, if SPIExceptionSourceType is
377 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
378 (SPIException_getDescription): New, returns a string description of
379 the problem. [Not yet a stable ABI, strings are not frozen]
381 * cspi/spi-private.h:
382 Added implementation details of opaque SPIException
386 Implementations of above. Also
387 (_cspi_exception_throw): new private method that
388 dispatches exceptions to handlers, called from cspi-bonobo.c
390 * cspi/bonobo/cspi-bonobo.c:
391 (cspi_check_ev): call _cspi_exception_throw.
392 Don't print a warning message if the exception has been
393 handled by _cspi_exception_throw.
395 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
397 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
398 there are still windows which have not been deleted and emit
399 window:deactivate, if necessary and window:destroy events.
400 This fixes bug #114370.
402 2003-06-03 Bill Haneman <bill.haneman@sun.com>
405 (cspi_accessible_is_a): Make non-fatal
406 if the object reference is dead.
408 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
410 * cspi/spi_main.c: #include <stdio.h>
411 * test/simple-at.c: ditto
412 * test/event-listener-test.c: ditto
413 * test/screen-review-test.c: ditto
415 2003-05-30 Michael Meeks <michael@ximian.com>
417 * test/test-simple.c (main): use CORBA_ORB_perform_work
418 instead of an unnecessary linc_ call.
420 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
422 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
423 Add SPI_STATE_INDETERMINATE.
425 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
428 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
430 * libspi/stateset.c (init_state_type_tables): Add support for
433 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
435 * configure: Update versions of atk and gail required.
436 This fixes bug #113268.
438 2003-05-02 Bill Haneman <bill.haneman@sun.com>
440 * configure.in: Revved micro version to 1.3.1 (because of build fix).
442 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
444 * libspi/Makefile.am:
445 Ensure headers are generated before being used by c sources.
447 2003-05-01 Bill Haneman <bill.haneman@sun.com>
450 Simplified lt versioning rules.
451 Incremented version to 1.3.0, to indicate that we're on the
454 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
456 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
457 Add MKDB_OPTIONS=--outtput-format=xml
459 * docs/reference/cspi/at-spi-cspi-docs.sgml
460 docs/reference/idl/at-spi-idl-docs.sgml:
461 Convert to Docbook XML.
463 This fixes bug #111793.
465 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
467 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
468 AcccessibleKeyEventType, AccessibleKeyMaskType.
470 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
472 * cspi/state-types.h: Add documentation for AccessibleState.
474 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
475 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
476 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
477 AccessibleComponentLayer.
479 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
482 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
484 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
485 Accessible. Add description of AccessibleEvent,
486 AccessibleEventListenerCB.
488 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
491 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
492 documentation. Add description of AccessibleKeystrokeListenerCB,
493 AccessibleKeyEventMask, AccessibleModifierMaskType,
494 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
495 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
497 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
500 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
503 This fixes bug #104730.
505 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
507 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
508 Set is_text field of Accessibility_DeviceEvent data structure.
510 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
511 is-text field of AccessibleDeviceEvent data structure.
513 This addresses part of bug #108666.
515 * registryd/devcieeventcontroller.c: Unset debug option.
517 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
520 (cpi_initial_relation_type_table): New function which initializes
521 mapping between Accessibility_RelationType and AccessibleRelationType.
522 (cspi_relation_type_from_spi_relation_type): New function which
523 translates an Accessibility_RelationType into an AccessibleRelationType.
524 (AccessibleRelation_getRelationType): Use
525 cpi_relation_type_get_spi_relation_type to return correct value.
526 (spi_state_to_corba): Return correct type for default case.
528 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
529 Use Accessibility_EventType instead of Accessibility_KeyEventType.
531 * cspi/cspi-bonobo-listener.c:
532 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
535 * libspi/accessible.c, libspi/action.c, libspi/application.c,
536 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
537 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
538 libspi/image.c, libspi/listener.c, libspi/selection.c,
539 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
540 registryd/desktop.c, registryd/registry.c:
541 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
543 * libspi/eventlistener.c
544 Remove semicolon after BONOBO_TYPE_FUNC.
547 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
548 (spi_init_relation_type_table): Initialize using correct type.
550 * registryd/desktop.c:
551 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
552 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
553 of Accessibility_KeyEventType.
555 * test/key-listener-test.c (report_tab_key_event): Use fprintf
558 * tests/simple-at.c, tests/screen-review-test.c:
559 Add include for <strings.h>.
561 * tests.stress-test.c:
562 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
564 These changes fix compiler warnings when using FORTE compiler on
565 Solaris; fixes bug #107479.
568 2003-04-10 Bill Haneman <bill.haneman@sun.com>
571 * configure.in: revved to 1.1.10
574 (SPI_KEYMASK_NUMLOCK): Added.
576 * registryd/deviceeventcontroller.c:
577 (spi_key_event_matches_listener): AND with a smaller
578 bitmask (as we should).
579 (spi_dec_translate_mask):
580 New method, sets the virtual NumLock modifier bit
581 if numlock is on. Eventually it can handle other virtual
582 modifier bits if needed, or other marshalling from
583 at-spi modifier masks to platform (X) masks.
584 (spi_dec_key_listener_new):
585 Call spi_dec_translate_mask to set up virtual mod bits
586 in the 'mask' field when creating a new listener struct.
587 (spi_dec_emit_modifier_event):
588 Set the virtual (i.e. NumLock) bits before emitting event.
589 (spi_controller_register_with_devices):
590 Query for the NumLock modifier 'physical' bit if Xkb is
591 present, for use in above methods.
595 2003-04-10 Bill Haneman <bill.haneman@sun.com>
597 * registryd/deviceeventcontroller.c:
598 (spi_keystroke_from_x_key_event):
599 Instead of checking to see if the keysym is
600 printable, check the string from XLookupString
601 if available, get the first unicode character from it,
602 and call g_unichar_isprint to determine whether the
603 is_text flag should be TRUE or FALSE.
607 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
609 * atk-bridge/bridge.c: Add support for extended events
610 * cspi/spi_event.c: Add documentation and implementation for
612 * tests/event-listener-test.c: Add tests for extended events.
614 This fixes bugs #100424 and #100426.
616 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
618 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
619 of LT_CURRENT. This fixes bug #89350.
621 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
623 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
624 number of signal parameter values before accessing them. This fixes
627 2003-04-01 Bill Haneman <bill.haneman@sun.com>
629 * configure.in: Fixed duplicate inclusion of -lspi.
630 * branched for gnome-2-2/HEAD.
631 [created tag "gnome-2-2"]
633 2003-03-07 Bill Haneman <bill.haneman@sun.com>
635 * configure.in: 1.1.9 release.
638 2003-03-07 Bill Haneman <bill.haneman@sun.com>
640 [needed by GOK, to fix bugs 107985 and 107988]
641 * registryd/deviceeventcontroller.c:
642 (spi_dec_clear_unlatch_pending):
643 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
644 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
645 (spi_dec_init_mouse_listener):Emit warning if mouse button
647 (spi_device_event_controller_forward_mouse_event):
648 Removed unnecessary parens from a conditional.
649 (global_filter_fn):Added TODO comment.
650 (impl_generate_keyboard_event):
651 Cancel a pending relatch if a 'delatching' key was
654 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
656 * atk-bridge/bridge.c:
657 Change atk_signal_child_changed to atk_signal_children_changed.
658 Reorganize code in spi_atk_bridge_signal_listener().
660 * test/event-listener-test.c:
661 Add children_changed_listener and report_children_changed_event()
662 to test AccessibleChildEvent_getChildAccessible.
664 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
666 * cspi/spi_event.c (cspi_internal_event_get_text): Change
667 g_strdup to CORBA_String_dup (bug #105291)
669 * test/event-listener-test.c (report_text_event): Add call to
672 2003-02-28 Bill Haneman <bill.haneman@sun.com>
674 * registryd/deviceeventcontroller.c:
675 (spi_keystroke_from_x_key_event):
676 Fix string and keysym return codes to match modifier state.
679 2003-02-28 Bill Haneman <bill.haneman@sun.com>
681 * registryd/deviceeventcontroller.c:
682 (spi_keystroke_from_x_key_event):
683 Fix segv due to improper use of isprint(c). [bug #107254]
685 2003-02-24 Bill Haneman <bill.haneman@sun.com>
688 (get_accessible_text_boundary_type):
689 Move default return value to (new) default case in switch.
690 (get_accessible_text_clip_type):
691 Move default return value to (new) default case in switch.
693 * libspi/application.c:
694 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
695 Remove unused methods.
696 (impl_accessibility_application_register_object_event_listener):
697 Remove unused methods.
700 Added #include of <math.h>.
702 * registryd/deviceeventcontroller.c:
703 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
704 we don't currently use this method.
705 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
707 (impl_generate_key_event):
708 Remove unused variables.
709 (impl_generate_mouse_event):
710 Initialize button to zero, just in case we get an invalid
711 input. Added support for mouse buttons 4 and 5.
712 (spi_device_event_controller_new):
713 Removed unused variable declaration for 'private'.
715 Added #include of <gdk/gdk.h>
717 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
719 * configure.in: Update to work when X is not installed in expected
720 location. Fixes bug #105836.
722 * atk-bridge/bridge.c
723 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
725 (spi_atk_register_event_listener): Add signal listener for
727 (spi_atk_bridge_signal_listener): Event event when link-selected
728 signal is emitted. (bug #104622)
730 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
731 on returned string. (bug #105291)
733 * test/event-listener-test.c: Add test for link-selected.
735 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
737 * atk-bridge/Makefile.am: Correct typo in previous commit.
739 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
741 * atk-bridge/Makefile.am: Allow for build directory to be different
742 from source directory
744 * registryd/Makefile.am: Allow for build directory to be different
745 from source directory
749 2003-01-29 Bill Haneman <bill.haneman@sun.com>
752 Fixed dependencies for libcspi so that libspi gets pulled in
753 properly. Fixes 104741.
757 Clean up inline docs a little.
759 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
761 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
762 This is done by implementing AtkComponent for SpiAtkDesktop, which is
763 the AtkObject within an SpiDesktop.
764 This addresses bug #101524.
766 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
767 Remove call to gdk_init().
769 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
770 so that Display is set when SpiDesktop is created.
772 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
774 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
775 This fixes bug #102830.
777 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
779 * test/test-simple.c: Update to take account of fact that GailButton
780 now implements AtkText.
781 (create_text_window): Set name on AtkObject for GtkEntry.
782 (validate_accessible): Check accessible name before calling test_text().
784 * libspi/Makefile.am: Fix problem with building outside of source
785 directory. Bug #98120.
787 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
788 typo in documentation comments. Bug #94275.
790 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
792 * libspi/text.c (impl_getBoundedRanges): Bug fix.
794 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
797 Add includes to avoid compiler warnings on Solaris.
798 (impl_getRangeExtents): Bug fix.
800 2002-12-17 Bill Haneman <bill.haneman@sun.com>
802 Fix for 100944, [API addition approved by Gman and murrayc].
809 * idl/Accessibility_Text.idl:
810 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
811 (Text::getRangeExtents): New method for efficient
812 bounds query of a text range.
813 (Text::getBoundedRanges): New method for efficient
814 clipping of text to bounding boxes.
815 (unImplemented7, unImplemented8):
816 Removed these padding methods to preserve bincompat.
819 (impl_getRangeExtents): implementation of new IDL.
820 (impl_getBoundedRanges): implementation of new IDL.
821 (SpiTextRect): Internal use struct.
822 (_spi_text_rect_union): internal method, calculates union of two
823 SpiTextRect bounding rects.
824 (_spi_text_range_seq_from_gslist): internal method, allows us
825 to build our sequence efficiently as a gslist then convert it
827 (_spi_bounds_contain): internal method, determines whether
828 a text character is "in" or "out" of a clip rect according to
829 values of TEXT_CLIP_TYPE.
830 (spi_text_class_init): Initialize the new methods in the epv.
833 (AccessibleTextClipType): New enum used by screen review api.
834 (AccessibleTextRange): New struct used by screen review api.
835 (AccessibleText_getRangeExtents):
836 cspi binding for Accessibility_Text_getRangeExtents.
837 (AccessibleText_getBoundedRanges):
838 cspi binding for Accessibility_Text_getBoundedRanges.
839 (AccessibleTextRange_freeRanges): convenience method.
842 (AccessibleText_getRangeExtents):
843 cspi binding for Accessibility_Text_getRangeExtents.
844 (AccessibleText_getBoundedRanges):
845 cspi binding for Accessibility_Text_getBoundedRanges.
846 (AccessibleTextRange_freeRanges): convenience method.
847 (get_accessible_text_clip_type): internal conversion method.
848 (get_accessible_text_ranges_from_range_seq): internal conversion method.
850 * registryd/deviceeventcontroller.c:
851 (spi_dec_mouse_check):
852 Improved behavior for mouse:abs events
853 [same granularity as mouse:rel events, and no
854 events when mouse is idle].
856 2002-12-16 Michael Meeks <michael@ximian.com>
858 * cspi/spi_accessible.c (spi_state_to_corba): rename.
860 * libspi/stateset.c (state_spi_to_atk): split out
861 ( fix several remote array bounds nasties )
862 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
863 (impl_remove): make safe from array bounds issues.
864 (spi_atk_state_from_spi_state): impl.
866 * libspi/stateset.h (spi_state_set_cache_is_empty):
867 add a set of wrapper defines to get layering right.
869 * cspi/spi_accessible.c: update state set stuff to
872 2002-12-14 Michael Meeks <michael@ximian.com>
874 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
875 to avoid 2 roundtrips to the registry per key event
876 (spi_atk_bridge_key_listener): upd.
877 (deregister_application): release the dec.
879 * registryd/registry.c (notify_listeners_cb):
880 bin lots of re-enterant complexity - we no longer
881 do a round-trip bonobo ref here, ensure that a single
882 listener's exception failure won't poison all other
884 (impl_registry_notify_event): bin obvious memory leak.
886 2002-12-13 Michael Meeks <michael@ximian.com>
888 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
889 init the ev so the error is meaningful.
890 (spi_atk_bridge_key_listener): ditto.
892 * cspi/spi_main.c (cspi_ev): init the ev so we start
893 with a clean slate, otherwise the first exception
896 * cspi/spi_text.c (get_accessible_text_boundary_type):
897 add a fallthrough for no warnings.
899 * cspi/spi_registry.c: prune unused warnings.
901 * cspi/spi_main.c (cspi_object_take): fix
902 mind-blowing brokenness ( by watching the compile
905 * cspi/spi_accessible.c (Accessible_getStateSet):
906 re-impl. to use an AtkStateSet.
907 (spi_state_type_from_accessible_state),
908 (init_state_table): bin these.
910 * libspi/stateset.c (spi_atk_state_set_from_sequence):
912 (atk_state_set_from_accessibility_state_set): here.
914 * cspi/spi_accessible.c (spi_state_to_atk): impl.
915 (AccessibleStateSet_contains, AccessibleStateSet_ref),
916 (AccessibleStateSet_unref, AccessibleStateSet_contains),
917 (AccessibleStateSet_add, AccessibleStateSet_remove),
918 (AccessibleStateSet_equals, AccessibleStateSet_compare),
919 (AccessibleStateSet_isEmpty): re-write to use a local
922 2002-12-13 Bill Haneman <bill.haneman@sun.com>
924 * configure.in: Revved to 1.1.7 (new keymask vals).
926 2002-12-10 Bill Haneman <bill.haneman@sun.com>
929 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
931 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
934 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
935 to compare two CORBA_TypeCodes.
936 (cspi_internal_event_add): Silence warning from FORTE compiler.
938 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
939 avoid implicit declaration of functions.
941 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
943 * atk-bridge/bridge.c:
944 (spi_atk_bridge_init_event_type_consts): Store signal id for
945 active-descendant-changed signal.
946 (spi_atk_register_event_listeners): Add signal listener for
947 active-descendant-changed signal,
948 (spi_atk_bridge_signal_listener): Move code in function
949 spi_atk-signal_emit_event() into this function.
950 Add support for active-descendant-changed
951 Update support for child-changed signal.
952 (spi_bridge_window_event_listener): Silence warning.
954 * libspi/spi_private.[ch]:
955 (spi_init_any_object): Change second parameter from CORBA_Object to
957 Omit call to CORBA_Object_duplicate().
958 Set CORBA_any's _value to CORBA_Object*.
960 2002-12-06 Bill Haneman <bill.haneman@sun.com>
966 (AccessibleEvent_ref, AccessibleEvent_unref):
967 New methods, for persisting an event outside the emission context.
968 Must be used if the new accessor methods are to be called
969 outside of the event listener's callback.
971 * cspi/bonobo/cspi-bonobo.c:
972 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
973 as second parameter instead of NULL, so we can call
974 cspi_check_ev afterwards.
977 (cspi_object_take): New internal method,
978 converts a CORBA_Object reference to a hard ref on
979 an Accessible if possible, returning NULL if the object
980 reference is invalid or an Accessible * otherwise.
983 (AccessibleEvent_ref):
984 Increment the event's internal private refcount, and
985 add the event's internal struct to an internal cache
986 if it's not already there.
987 (AccessibleEvent_unref):
988 Decrement the event's refcount and remove it from
989 the cspi event cache if refcount==0.
990 (cspi_event_compare): New private method.
991 Compares two event structs via their ids. Used
993 (cspi_internal_event_lookup): New private method.
994 (cspi_internal_event_check): New private method,
995 a 0-order sanity check for events to make sure their
996 private data is intact.
997 (cspi_internal_event_add, cspi_internal_event_remove):
998 New private methods for managiing the event cache.
1000 * cspi/bonobo/cspi-bonobo-listener.c:
1002 Initialize the new private data elements (id, magic, ref_count).
1004 * atk-bridge/bridge.c:
1005 (spi_atk_bridge_signal_listener):
1006 Fixed bug #100530, passing wrong params to emission func.
1008 * registryd/deviceeventcontroller.c:
1009 (spi_dec_button_update_and_emit):
1010 Fixed type in mask bit operations; fix for #99799.
1012 2002-12-02 Bill Haneman <bill.haneman@sun.com>
1014 Removed some of the more dangerous workarounds from
1015 previous commit; they are only needed by GOK, which
1016 in reality should be using another method to accomplish
1017 the goals. So on reconsideration some of the workarounds
1018 need to be reverted:
1020 * registryd/deviceeventcontroller.c:
1021 (spi_keycodes_contain, spi_dec_init_keycode_list):
1022 Removed these methods, used only by a nasty hack to try
1023 and detect whether a key synthesis should be allowed
1024 to reset the XKB latch state or not. This code was only
1025 required to work around an interaction between GOK,
1026 button events, and XKB.
1027 (impl_generate_key_event):
1028 Removed hack at end of key generation that tried to
1029 "do the right thing" if XKB latch keys were generated
1030 in the midst of button press/release pairs.
1033 Added a check for HAVE_XINPUT. Not normally used yet.
1035 2002-11-25 Bill Haneman <bill.haneman@sun.com>
1037 Workarounds and fixes for mouse event/XKB interaction.
1039 * registryd/deviceeventcontroller.c:
1040 (spi_keycodes_contain, spi_dec_init_keycode_list):
1041 New internal methods.
1042 (spi_dec_set_unlatch_pending):
1043 Split the method that tells XKB to expect an
1044 unlatch (and revert it) out of the rest of the
1045 event handling code. This method is called by the
1046 two mouse event handlers (the poll and the filter).
1047 (spi_dec_update_and_emit, spi_dec_mouse_check):
1048 New methods split from spi_dec_poll_mouse_moved.
1049 The second one is now called from inside the filterFn
1050 when an XKB delatch event is received, to determine
1051 whether to revert the delatch or not.
1052 (spi_poll_mouse_moved): Refactor; also we can now
1053 properly handle the case where multiple button states
1054 have changed between polling cycles and we didn't get
1055 notified due to another client's grab.
1057 Synchronize the server while handling an XKB notification.
1058 Ugly, but apparently necessary to avoid nasty races.
1059 Check the mouse state on receipt of an XKB latch change,
1060 to decide whether to revert the latch or not. (Latches are
1061 reverted if there is an immediately preceding mouse button
1062 event that a client has consumed, in which case we don't want
1063 the user to see the side-effect of the event).
1064 (spi_device_event_controller_forward_mouse_event):
1065 Check for modifier events and fire before resetting mouse_mask_state,
1066 prevents losing modifier events.
1068 (impl_generate_keyboard_event):
1069 If we've just generated a keyboard event for a non-shift key,
1070 we don't want to revert the pending XKB latch.
1071 Otherwise, check the modifier state (via a call to
1072 spi_dev_mouse_check) and set the relatch mask to
1073 that state before returning.
1075 2002-11-24 Bill Haneman <bill.haneman@sun.com>
1078 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
1081 * atk-bridge/bridge.c:
1082 (spi_atk_register_event_listeners):
1083 Don't re-register for ATK events if the registry has died
1084 and the app needs to re-register; the ATK listeners are in
1085 process and doing so will cause duplicate emission.
1087 * registryd/deviceeventcontroller.c:
1088 (spi_poll_mouse_moved):
1089 Reformat the source, detect and emit multiple button-change
1090 events (i.e. if multiple buttons have changed between poll
1092 Add code to detect mouse-down events even when the pointer
1093 is grabbed; workaround for GOK bug 98420.
1094 (spi_controller_register_with_devices):
1095 Call XTestGrabControl with 'impervious' flag set to True,
1096 allows us to synthesize events and query the pointer even during
1097 an active grab by another client.
1098 (spi_device_event_controller_forward_mouse_event):
1099 Set the mouse_mask_state to the mouse_button_state from
1100 the intercepted event, to synchronize the grab listener with
1103 2002-11-20 Bill Haneman <bill.haneman@sun.com>
1105 * cspi/spi_accessible.c:
1106 (AccessibleRole_getName):
1107 Added necessary strings for making this (deprecated)
1108 method work with the new role types.
1109 (init_role_table, role_table):
1110 Added definition of SPI_ROLE_APPLICATION.
1112 * libspi/spi-roletypes.h:
1113 Added SPI_ROLE_APPLICATION.
1115 * idl/Accessibility_Role.idl:
1116 Added ROLE_APPLICATION.
1118 * docs/reference/cspi/at-spi-cspi-decl.txt:
1119 Added SPI_ROLE_APPLICATION to docs.
1121 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
1123 * cspi/spi_accessible.c
1124 (cspi_init_role_table): Do not write beyond end of role_table.
1125 (Accessible_getRole): Use correct type for value returned by
1126 Accessibility_Accessible_getRole().
1128 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
1129 beyond end of role_table. (This fixes bug #98269)
1131 * libspi/application.c: Add include file spi-private.h for
1132 definition of spi_init_any_nil.
1134 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1138 * libspi/spi-private.h:
1139 Added DGB() macro, and extern int _dbg declaration.
1141 * registryd/registry.c:
1142 (definitions) storage for _dbg.
1143 (spi_registry_init):
1144 Get environment variable "AT_SPI_DEBUG".
1145 (spi_registry_set_debug):
1146 New method, to initialize _dbg value.
1147 (spi_listener_struct_new, spi_registry_object_finalize):
1148 (notify_listeners_cb):
1149 Changed fprintfs to use DBG and g_warning().
1151 * registryd/deviceeventcontroller.c:
1152 (_deregister_keygrab, spi_controller_register_device_listener):
1153 Changed debug/warning messages to use DBG macro.
1155 * libspi/listener.c:
1156 (impl_notify_event):
1157 Changed warning messages to use DBG macro and g_warning().
1159 * atk-bridge/bridge.c:
1160 (atk_bridge_init, spi_atk_bridge_get_registry):
1161 (spi_atk_bridge_exit_func):
1162 (spi_atk_bridge_property_event_listener):
1163 Changed status, warning, and error messages to use
1164 g_warning, g_message, and DBG macros.
1167 Read the state of the AT_SPI_DEBUG environment variable
1168 and set a local '_dbg' accordingly.
1170 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1172 FIXES for 98836, 98842, other bugs.
1175 Revved to 1.1.4, interface-age=4, binary-age=4.
1177 * registryd/deviceeventcontroller.c:
1179 Fixed crasher bug in last_mouse_pos initialization.
1181 * registryd/registry.c:
1182 (desktop_add_application, desktop_remove_application):
1183 Added (and then commented out) some support for
1184 object context marshalling. [TODO]
1186 * atk-bridge/bridge.c:
1187 (spi_atk_bridge_event_context_create):
1188 Commented out object context creation until it can
1189 be properly tested and debugged.
1191 * registryd/registry.c:
1192 (impl_registry_notify_event):
1193 Fixed crasher bug, we were calling
1194 spi_re_entrant_list_foreach () with an empty list.
1196 2002-11-18 Bill Haneman <bill.haneman@sun.com>
1198 * idl/Accessibility_Action.idl:
1199 * idl/Accessibility_Component.idl:
1200 * idl/Accessibility_Desktop.idl:
1201 * idl/Accessibility_Event.idl:
1202 * idl/Accessibility_Hyperlink.idl:
1203 * idl/Accessibility_Image.idl:
1204 * idl/Accessibility_Relation.idl:
1205 * idl/Accessibility_Selection.idl:
1206 * idl/Accessibility_State.idl:
1207 * idl/Accessibility_Value.idl:
1208 Updated unimplemented slot count to minimum of
1209 four for all interfaces, for ABI freeze.
1211 * idl/Accessibility_EditableText.idl:
1212 * idl/Accessibility_Text.idl:
1213 Updated unimplemented slot count to six
1216 * idl/Accessibility_Registry.idl:
1217 Updated unimplemented slot count to six
1218 (also for DeviceEventController),
1221 * idl/Accessibility_Table.idl:
1222 Updated unimplemented slot count to eight,
1225 * idl/Accessibility_Event.idl:
1226 Added CORBA_any "any_data" member to Event struct.
1228 * idl/Accessibility_Event.idl:
1229 Added CORBA_any "any_data" member to Event struct.
1231 * atk-bridge/bridge.c:
1233 atk_signal_text_changed, atk_signal_child_changed,
1234 signal ids queried from gtype system.
1235 (AtkBridgeEventContextType): New enum.
1236 (AtkBridgeEventContextData): New struct.
1237 (AtkBridgeEventContext): New struct.
1238 (atk_bridge_init_event_type_consts):
1239 New method, initializes type contants for comparison
1240 prior to emit_eventv.
1241 (atk_bridge_event_context_init): New method,
1242 initializes a CORBA_any from an AtkBridgeEventContext.
1243 (atk_bridge_focus_tracker): Call spi_init_any_nil to
1244 initialize the event.any_data struct.
1245 (spi_atk_bridge_event_context_create): New method,
1246 creates an AtkBridgeEventContext from signal/event info.
1247 (spi_atk_bridge_event_context_free): New method.
1248 (spi_atk_emit_eventv): Changed to take an
1249 AtkBridgeEventContext parameter. We now initialize
1250 the event.any_data member prior to notifying the
1251 Registry, via the AtkBridgeEventContext.
1252 (spi_atk_bridge_property_event_listener):
1253 (spi_atk_bridge_state_event_listener):
1254 Match emit_eventv signature.
1255 (spi_atk_bridge_object_event_listener):
1256 Match emit_eventv signature, and create an
1257 event context from the event details.
1258 Free the event context afterwards.
1259 (spi_atk_bridge_window_event_listener):
1260 Create an event context, pass it to the
1264 (AccessibleEvent_getContextString):
1265 (AccessibleEvent_getContextObject):
1266 New methods, allow query of AccessibleEvent objects
1267 for more context details (via the "any_data" member
1268 of the Event struct, above).
1271 Definitions for AccessibleEvent_getContextString
1272 and AccessibleEvent_getContextObject.
1274 * cspi/spi_listener.h:
1275 (InternalEvent): New struct.
1278 (AccessibleEvent_getContextString):
1279 (AccessibleEvent_getContextObject):
1280 Implementations of new methods, for obtaining
1281 additional context information from some event types.
1283 * cspi/spi_registry.c:
1284 (SPI_registerGlobalEventListener):
1285 Added mention of active-descendant-changed event in docs.
1287 * cspi/cspi-bonobo-listener.c:
1289 Marshal the any into the AccessibleEvent via
1292 * libspi/spi-private.h:
1293 #include <orbit/orbit.h>
1295 (spi_init_any_string):
1296 (spi_init_any_object):
1297 New convenience function declarations.
1301 (spi_init_any_string):
1302 (spi_init_any_object):
1303 New convenience function implementations.
1305 * registryd/deviceeventcontroller.c:
1306 (spi_poll_dec_mouse_moved):
1307 (spi_device_event_controller_forward_mous_event):
1308 Initialize any_data member of event.
1309 (spi_deregister_controller_device_listener):
1310 Fix incorrect param pass which was preventing deregistration.
1312 * registryd/registry.c:
1313 (desktop_add_application):
1314 (desktop_remove_application):
1315 Add object data to event's any_data before dispatch.
1317 Fix for error messages from GAIL.
1319 * test/event-listener-test.c:
1320 Test new ContextString and "any_data" API:
1321 (report_text_event): New method query and output context string.
1322 (main): register a new text listener with report_text_event
1325 2002-11-19 Darren Kenny <darren.kenny@sun.com>
1327 Fixes for bugs 98127 and 97914.
1328 * cspi/spi-roletypes.h:
1329 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
1331 * cspi/spi-statetypes.h:
1332 Added SPI_STATE_MANAGES_DESCENDANTS
1334 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
1335 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
1336 * cspi/spi_accessible.c:
1337 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
1338 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
1339 Accessibility_STATE_MANAGES_DESCENDANTS
1340 * libspi/accessible.c:
1341 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
1342 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
1343 As requested by Bill, I also cleaned up the alignment.
1344 * libspi/relation.c:
1345 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
1346 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
1347 * libspi/stateset.c:
1348 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
1349 Accessibility_STATE_MANAGES_DESCENDANTS
1350 * docs/reference/cspi/tmpl/spi_accessible.sgml:
1351 Document changes reflecting modifications to roles.
1352 * docs/reference/cspi/tmpl/spi_relation.sgml:
1353 Document changes reflecting modifications to relations.
1354 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1355 Document changes reflecting modifications to states.
1357 2002-11-17 Bill Haneman <bill.haneman@sun.com>
1360 Revved to 1.1.3, interface-age=3, binary-age=3.
1361 Added REBUILD macro.
1364 Removed accessx-gui from the tests, since we have a nice
1365 keyboard accessibility capplet now :-)
1367 * test/keysynth-demo.c:
1368 (increment_scan): removed do-nothing default: case,
1371 * test/visual-bell.c:
1372 (main) : removed do-nothing default: case,
1375 * cspi/spi_action.c:
1376 (AccessibleAction_getKeyBinding_):
1377 Documented keybinding string format.
1381 (AccessibleText_getAttributes):
1382 Documented the text attribute string format.
1383 It's changed to use semicolon delimiters also,
1384 to prevent clashes with CSS attributes, but the old
1385 trick of looking for ", " strings will still work
1386 (as unreliably as ever). Fix for bug related to 97916.
1389 Include <cspi/bonobo/cspi-bonobo-listener.h>
1390 Fixes build warning.
1391 (SPI_freeAccessibleKeySet):
1392 (AccessibleKeystrokeListener_addCallback):
1393 (AccessibleKeystrokeListener_removeCallback):
1394 Modify to use AccessibleDeviceListener API internally,
1395 instead of AccessibleKeystrokeListener.
1397 * idl/Accessibility_Event.idl:
1398 Added two more empty slots to EventListener (for a total of four).
1400 * idl/Accessibility_Accessible.idl:
1401 Added four empty slots to Accessible interface.
1403 2002-11-15 Bill Haneman <bill.haneman@sun.com>
1405 * idl/Accessibility_Registry.idl:
1406 (KeyEventType, EventType):
1407 Marked KeyEventType as deprecated; it duplicates
1408 functionality of EventType, which has been extended to
1409 include Mouse-button events.
1410 (KeyEventTypeSeq): defined in terms of EventType.
1411 (registerDeviceEventListener, deregisterDeviceEventListener):
1412 New methods, for managing listeners to device events,
1413 which potentially may consume them.
1416 Added definition for AccessibleDeviceListener.
1418 * cspi/spi-listener.h:
1419 (enum AccessibleDeviceEventType):
1420 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
1421 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
1422 for backwards compat.
1423 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
1424 and typedef'd AccessibleKeystroke to it for back-compat.
1425 (AccessibleDeviceListenerCB):
1426 New function prototype typedef.
1429 (AccessibleDeviceEventMask): New typedef.
1430 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
1431 (AccessibleKeyMaskType):
1432 Set equivalent to AccessibleModifierMaskType for back-compat.
1433 (SPI_createAccessibleKeystrokeListener):
1434 (AccessibleKeystrokeListener_unref):
1435 Deprecated in favor of equivalent (better-named) new API below..
1436 keystroke listeners are like all device listeners.
1437 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
1438 New API names for old features :-).
1439 (AccessibleDeviceListener_addCallback):
1440 (AccessibleDeviceListener_removeCallback):
1441 (SPI_registerDeviceEventListener):
1442 (SPI_deregisterDeviceEventListener):
1446 (SPI_createAccessibleKeystrokeListener):
1447 Use new preferred API, cspi_device_listener_new() and
1448 cspi_device_listener_add_cb().
1449 (AccessibleKeystrokeListener_removeCallback):
1450 Use new preferred API, cspi_device_listener_remove_cb().
1451 (AccessibleKeystrokeListener_unref):
1452 Use new preferred API, cspi_device_listener_unref().
1453 (SPI_createAccessibleDeviceListener):
1454 (AccessibleDeviceListener_addCallback):
1455 (AccessibleDeviceListener_removeCallback):
1456 Implementation of new API.
1458 * cspi/spi_registry.c:
1459 (SPI_registerDeviceEventListener):
1460 (SPI_deregisterDeviceEventListener):
1461 Implementation of new API. Fixed memory leak and removed need to
1462 allocate EventTypeSeq (thanks Michael for catching this).
1463 Squashed a wayward CORBA_exception_free that shouldn't get called.
1465 * cspi/bonobo/cspi-bonobo-listener.c:
1467 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
1468 (cspi_key_event): renamed to cspi_device_event().
1469 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
1470 Extended to handle mouse button events as well as key events.
1471 (CSpiKeystrokeListener):
1472 Class superceded by CSpiDeviceListener.
1473 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1474 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1476 * cspi/bonobo/cspi-bonobo-listener.h:
1477 (CSpiKeystrokeListener):
1478 Class superceded by CSpiDeviceListener.
1479 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1480 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1482 * libspi/Makefile.am:
1483 Replaced keystrokelistener.h and keystrokelistener.c
1484 with devicelistener.h and devicelistener.c; keystrokelisener.h
1485 stub retained for back-compat.
1487 * libspi/keystrokelistener.c:
1491 Replaced inclusion of keystrokelistener.h with devicelistener.h.
1493 * registryd/deviceeventcontroller.c:
1494 (DEControllerListener): Added Accessibility_EventTypeSeq member.
1495 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
1496 (DEControllerPrivateData): Added xkb settings data.
1497 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
1498 button release events (which can't be captured via XGrabButton).
1499 Don't dispatch via the 'normal' event mechanism if the device event was
1501 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
1502 Handle the typeseq data in its new location (see above).
1503 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
1504 New methods, for "generic" device listeners.
1505 (spi_controller_register_device_listener):
1506 Now handle mouse event listeners as well as key listeners.
1507 (spi_controller_notify_mouselisteners):
1508 New internal method.
1509 (spi_device_event_controller_forward_mouse_event):
1510 Now we notify mouse device listeners as well as generating the
1511 non-consumable "mouse:" events.
1513 We must check and restore the XKB
1514 modifier map if we consume the event, since the act of triggering
1515 a mouse event will normally reset the XKB latch. This is required for
1517 (spi_controller_register_with_devices):
1518 Load the XKB settings when registering, and register for XKB
1519 state notify events.
1520 (spi_key_eventtype_seq_contains_event):
1521 Renamed spi_eventtype_seq_contains_event, since it's used
1522 internally for all device event types now.
1523 (spi_key_event_matches_listener):
1524 Uses spi_eventtype_seq_contains_event now.
1525 (spi_device_event_controller_object_finalize):
1526 Free the private data and the XkbKeyboard struct.
1527 (impl_register_device_listener, impl_deregister_device_listener):
1528 Implementation of new IDL.
1529 (spi_deregister_controller_device_listener):
1530 New internal method.
1531 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
1532 More efficient implementation, we don't have to create a new
1533 XkbControls structure every time we query.
1534 (spi_device_event_controller_class_init):
1535 Initialize the epv entries for the new IDL. Assign the
1536 "spi-dec-private" quark.
1537 (spi_device_event_controller_init):
1538 Initialize the private data.
1539 (spi_device_event_controller_forward_key_event):
1540 Removed a bogus CORBA_exception_free() call.
1542 * registryd/deviceeventcontroller.h:
1543 Replaced inclusion of keystrokelistener.h with
1546 * test/event-listener-test.c:
1547 (report_mouse_event):
1550 Added mouse-event device listener.
1552 * test/test-simple.c:
1553 (create_test_window):
1554 Fixed regression (we were instantiating a GtkRange,
1555 which is now an abstract class). Also fixed to match
1556 existing AtkRole names, this seems to have changed in ATK
1557 awhile ago; too late now I think, and the new
1558 mechanism is at least elegant and consistent with the
1559 glib enum "nick" APIs.
1561 2002-11-15 Darren Kenny <darren.kenny@sun.com>
1563 * idl/Accessibility_Relation.idl:
1564 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
1565 RELATION_EMBEDS,RELATION_EMBEDDED_BY
1566 * idl/Accessibility_Role.idl:
1567 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
1568 * idl/Accessibility_State.idl:
1569 add STATE_MANAGES_DESCENDANTS
1570 * test/event-listener-test.c:
1571 Added a listener for active-descendant events.
1573 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
1575 * atk-bridge/bridge.c
1576 (atk_bridge_init): If application is Bonobo component wait until top
1577 level is added before registering
1578 (spi_atk_bridge_do_registration): New function which contains code,
1579 formerly in atk_bridge_init, to do application registration.
1580 (spi_atk_bridge_toplevel_added): Signal called when top level
1581 added to Bonobo component
1583 This fixes bug #83134.
1585 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
1587 * registryd/deviceeventcontroller.c
1588 Fixed compilation error caused by calling gettimeofday()
1591 2002-10-18 Bill Haneman <bill.haneman@sun.com>
1596 Added template for HAVE_XKB.
1599 Changes to check for XKB, and to set the HAVE_XKB #define if it
1602 * libspi/listener.c:
1603 ()impl_notify_event): Make failure to get event source name
1606 * registryd/deviceeventcontroller.c:
1607 (#include): include X11/XKBlib.h.
1608 (DEControllerPrivateData) : New struct.
1609 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
1611 (dec_synth_keycode_press) (dec_synth_keycode_release):
1612 New methods; split the key synthesis code into these methods.
1613 They check XKB settings before determining the "time" values to
1614 pass to Xtest; this fixes bug #95828.
1615 (impl_generate_keyboard_event): Changed to use methods above,
1616 instead of callng Xtest directly.
1617 (spi_device_event_controller_init): Initialize new privae struct s
1619 (spi_device_event_controllr_object_finalize):
1620 Free the (new) private data.
1622 * registryd/deviceeventcontroller.h:
1623 Add new gpointer to end of struct data.
1625 2002-10-16 Bill Haneman <bill.haneman@sun.com>
1628 Incremented revision to 1.1.2, SONAME is still '.so', library
1629 extensions are ".so.0.0.2".
1631 * registryd/deviceeventcontroller.c:
1632 FIXES FOR #93592 and #95940.
1633 (statics): renamed mouse_button_state to mouse_mask_state,
1634 added key_modifier_mask.
1635 (spi_dec_poll_mouse_moved):
1636 Added key modifier checks, and emit "keyboard:modifiers"
1637 events when the key modifiers currently in use change.
1638 Also generate "mouse:abs" events periodically, even if the mouse
1639 is stationary (should we?).
1640 Alternatively we could generate "mouse:abs" events for either all
1641 mouse movements, or every 'nth' mouse movement, or at the
1642 beginning and end of every "active" mouse period.
1644 * test/event-listener-test.c:
1645 (main): Added listener for "keyboard:modifiers" events.
1647 2002-10-15 Bill Haneman <bill.haneman@sun.com>
1649 * libspi/keymasks.h:
1650 Added key mask #defines for mouse buttons; e.g.
1651 SPI_KEYMASK_BUTTON1, etc.
1654 Incremented dependency on ATK to version 1.1.0. (This dependency
1655 is probably premature but will soon be real enough).
1657 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
1659 * libspi/hyperlink.[ch]
1660 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
1661 (get_hyperlink_from_servant): Check object is AtkHyperlink not
1664 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
1669 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
1671 * registryd/deviceeventcontroller.c
1672 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
1673 events to be ignored.
1674 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
1675 keyboard_mode so that XAllowEvents() can be called.
1679 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
1681 * cspi/spi-accessible.c: Correct names of roles returned by
1682 AccessibleRole_getName(). Fixes bug #95055.
1684 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
1686 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
1689 * registryd/registry.c
1690 (desktop_remove_application: Write diagnostic message to stderr for
1693 (impl_accessibility_registry_deregister_global_event_listener):
1694 Correct size of lists array. This addresses bug #94555).
1696 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
1698 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
1701 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
1703 * registryd/Makefile: Add CLEANFILES so that .server file is removed
1706 * registryd/registry.c (impl_registry_notify_event): Remove
1707 unnecessary call to parser_event_type().
1709 * docs/reference/cspi/tmpl/spi_component.sgml:
1710 Add reference to SPI_LAYER_WINDOW.
1712 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
1714 * registryd/registry.c
1715 (desktop_add_application): Remove leak.
1716 (desktop_remove_application): Remove leak.
1717 (parser_event_type): Remove leak.
1719 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
1721 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
1722 bogus call to CORBA_string_dup(). Also removed unnecessary
1723 g_string_dup/g_free calls.
1725 2002-09-13 Bill Haneman <bill.haneman@sun.com>
1727 * registryd/deviceeventcontroller.c:
1728 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
1730 * test/event-listener-test.c:
1731 main: commented out three redundant listeners, to reduce output
1732 noise. (They still are potentially useful for testing).
1735 2002-09-13 Michael Meeks <michael@ximian.com>
1737 * Update all the copyrights to include Ximian.
1739 2002-09-06 Mark McLoughlin <mark@skynet.ie>
1741 * cspi/spi.h: add SPI_LAYER_WINDOW.
1743 * cspi/spi_component.c: (AccessibleComponent_getLayer):
1744 add Accessibility_LAYER_WINDOW case.
1746 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
1748 * libspi/component.c: (impl_accessibility_component_get_layer):
1749 add ATK_LAYER_WINDOW case.
1751 2002-08-28 Bill Haneman <bill.haneman@sun.com>
1753 * configure.in: incremented micro version.
1755 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
1757 2002-08-20 Bill Haneman <bill.haneman@sun.com>
1760 Clarified and reworded our commit policy.
1763 Started an API "todo" addition list for 2.2.
1766 (impl_getSelection):
1767 Free char pointer from atk_text_get_selection, which was being leaked.
1769 2002-08-19 Bill Haneman <bill.haneman@sun.com>
1772 Small revision to author acknowledgement.
1774 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1776 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
1777 If signal has detail add it to the type of the event.
1780 2002-08-12 Michael Meeks <michael@ximian.com>
1782 * test/test-simple.c (global_listener_cb): bin bogosity.
1783 (test_keylisteners): disable, still doesn't work reliably,
1784 certainly not on my system anyway.
1786 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
1787 don't leak a reference on the DEC. This round-trip
1788 fetching of the DEC per keystroke sucks, it should be
1791 * cspi/spi-private.h,
1792 * cspi/cspi-lowlevel.h,
1793 * cspi/bonobo/cspi-bonobo-listener.[ch],
1794 * cspi/bonobo/cspi-bonobo.c: get the copyright
1795 notices better - there is still a large amount of
1796 work in at-spi falsely attributed solely to Sun.
1798 * cspi/spi_main.c (cspi_object_ref): kill bogus
1799 hash lookup, just increment the ref.
1800 (SPI_freeString): make explicit the fact that we
1801 handle NULL strings just fine.
1802 (report_leaked_ref): obey coding standards.
1803 (cspi_object_hash, cspi_object_equal): kill retval.
1804 (cspi_object_release): only release if not on loan.
1805 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
1806 (cspi_object_borrow, cspi_object_return): impl.
1808 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
1809 use cspi_object_borrow / return.
1811 2002-08-12 Darren Kenny <darren.kenny@sun.com>
1813 * cspi/bonobo/cspi-bonobo-listener.c:
1815 Don't call cspi_oject_new() because this is creating a new Accessible
1816 every single time that an event is fired. This causes ATs like at-poke
1817 to nolonger recognise the source of the event and thus ignore it.
1818 Re-use the object from the cache, ref it and then unref it after the
1819 listeners have been called.
1821 2002-08-06 Darren Kenny <darren.kenny@sun.com>
1823 * test/event-listener-test.c:
1824 Added command-line options to disable mouse events (m) and
1827 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
1829 * configure.in: Update required versions of ATK, GTK+ and GAIL
1831 * cspi-1.0.pc.in: Add dependency for X include files
1834 * cspi/bonobo/Makefile.am:
1835 Add $(X_CFLAGS) so that X include files
1836 are picked up even if not in standard place (bug #71686)
1838 2002-06-25 Bill Haneman <bill.haneman@sun.com>
1840 * registryd/deviceeventcontroller.c: fix for 84261
1841 (spi_dec_mouse_moved):
1842 Added test of mouse button mask, so that we can detect mouse
1843 button release. Unfortunately we can't otherwise detect mouse
1844 button release events without consuming the mouse press event,
1845 because of the way XGrabButton works. This means that our mouse
1846 release events have a latency dependent on the polling period
1847 while the mouse button is down. At least in this case we only
1848 have to poll while the button is down, and not at other times.
1849 If the button masks don't match with what the last press event
1850 reported, we report the appropriate button release event.
1851 (spi_dec_ungrab_mouse):
1852 New method (not yet called).
1853 (spi_device_event_controller_forward_mouse_event):
1854 New method, sends mouse press event from GdkFilter.
1855 (spi_dec_init_mouse_listener):
1856 Added code to call XGrabButton, redirecting mouse button events to
1857 the root window and our Gdk event loop.
1859 Added code to filter mouse button events, and reordered.
1861 * test/event-listener-test.c:
1863 Added registration for mouse events of type "mouse:button".
1865 2002-06-25 Bill Haneman <bill.haneman@sun.com>
1867 * registryd/deviceeventcontroller.c: partial fix for 84261
1868 (spi_dec_poll_mouse_idle):
1869 New method, a timeout which checks to see if the mouse
1871 (spi_dec_poll_mouse_moving):
1872 A timeout to be called when mouse motion is underway.
1873 (spi_dec_poll_mouse_moved):
1874 A method which fires an event if the mouse has moved, and reports
1875 whether or not it did so.
1876 (spi_dec_init_mouse_listener):
1877 A method which sets up the timeouts above.
1878 (spi_device_event_controller_new):
1879 Now calls spi_dec_init_mouse_listener.
1881 * registryd/registry.c:
1882 (spi_registry_init):
1883 Now we initialize the device event controller when the registry is
1884 initialized, instead of waiting until a client has requested a key
1885 event notification; this is because we need the event controller
1886 for mouse events, but the mouse event registration API is a
1887 "registry" call and doesn't explicitly call the
1888 deviceeventcontroller.
1889 We now report mouse motion events with a 100 ms idle latency and
1890 a 20 ms granularity when motion is in progress.
1892 * test/event-listener-test.c:
1894 We now register the "detail listener" for events of type
1895 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
1896 delivered only for the first mouse event received, and thereafter
1897 "mouse:abs" events are delivered.)
1899 * cspi/spi_registry.c:
1900 DOCS: Documented the above mouse event typestrings.
1902 2002-06-21 Bill Haneman <bill.haneman@sun.com>
1904 Happy Summer Solstice...
1906 * registryd/deviceeventcontroller.c: [fix for bug 84100]
1907 (spi_controller_notify_keylisteners):
1908 Changes to remove a listener from the listener list, freeing its
1909 open keygrabs, if a notification to that listener fails. This
1910 means that although a dead listener can continue to hold a passive
1911 keygrab, a maximum of one dispatch to such a listener can fail
1912 before the listener is removed from the list, thus the keygrab
1913 will be released on the next occurrence.
1914 As part of this fix:
1915 (spi_notify_keylisteners):
1916 Renamed to spi_controller_notify_keylisteners, as the controller
1917 instance must now be passed as an argument.
1918 The copied 'notify' GList is now a list of DEControllerKeyListener
1919 objects, since we need more than just the CORBA reference if a
1920 notify fails and we need to deregister the listener.
1921 (impl_notify_listeners_sync):
1922 (impl_notify_listeners_async):
1923 (spi_device_event_controller_forward_key_event):
1924 Modify use of notify_keylisteners in accordance with above
1926 (spi_deregister_controller_key_listener):
1927 New method introduced by refactoring, from
1928 impl_deregister_keystroke_listener.
1929 (impl_deregister_keystroke_listener):
1930 Call spi_deregister_controller_key_listener.
1931 (spi_key_listener_clone):
1932 New method to copy a key listner without doing a 'ref' on the
1933 remote object instance; used to create a notifier list.
1934 (spi_key_listener_data_free):
1935 New method, frees data without unreffing the source.
1937 (spi_key_listener_clone_free): new method.
1938 (spi_key_listener_free):
1939 refactored to call spi_key_listener_data_free.
1941 2002-06-20 Bill Haneman <bill.haneman@sun.com>
1943 * registryd/registry.c: [fix for bug 86048]
1944 (notify_listeners_cb):
1945 Clear CORBA system exceptions which occur when notifying
1946 listeners, before returning to the source of the original event,
1947 since the event source doesn't care if the relayed notify failed.
1948 In other words, don't complain to the atk-bridge if the registry
1949 could not notify all its listeners, that's no fault of the
1950 application and thus should not appear to be an error from the
1951 application's perspective.
1953 * cspi/spi_main.c: [fix for bug 85980]
1955 Replaced use of bonobo_object_dup_ref with call to the wrapper
1956 method, csou_dup_ref (); this silences a compiler warning and
1957 provided more portability.
1959 Ping the registry before return, and restart if necessary.
1961 * cspi/bonobo/cspi-bonobo.c:
1963 New internal method.
1965 Fixed this method to return an object reference, as it should have
1968 * cspi/cspi-lowlevel.h:
1969 Added internal definition for cspi_ping() and fixed
1970 return type of cspi_dup_ref().
1973 2002-06-19 Bill Haneman <bill.haneman@sun.com>
1975 * atk-bridge/bridge.c: [fix for bug 85305]
1976 (spi_atk_bridge_register_application):
1977 New method where the initial application registry calls have been
1978 moved; it allows an application to re-register in response to
1979 certain error conditions (such as a registry restart, see below).
1981 Moved some initialization code to the method
1982 spi_atk_bridge_get_registry, below.
1983 (spi_atk_bridge_get_registry):
1984 New, private accessor function for the Accessibility_Registry
1985 instance. If the registry has not been started before, or has
1986 died (as detected by failure of a CORBA exception), it is
1987 restarted before return, and spi_atk_bridge_register_application
1988 is called again to register with the new bridge instance.
1989 (spi_atk_emit_eventv):
1990 Set registry_died on error; use spi_atk_bridge_get_registry () to
1991 access the registry.
1993 * registryd/registry.c:
1994 (impl_accessibility_registry_register_global_event_listener):
1995 Set listener's event_type_quark to etype.minor instead of
1996 etype.major (fix for bug 84856).
1998 * test/event-listener-test.c:
1999 (report_detail_event):
2000 Change the output string so that user/tester can tell that the
2001 'detail listener' was called instead of the 'generic listener'.
2003 2002-06-18 Bill Haneman <bill.haneman@sun.com>
2005 Fixes for bugs 84900, 84908, 84897, 84898.
2010 Revved version to 1.1.0
2011 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
2012 version is going to HEAD which will be used for gnome-2-0-1 and later.)
2014 * idl/Accessibility_Registry.idl:
2015 (EventListener::notifyEvent):
2016 Removed 'oneway' directive after extensive consulation with
2017 ORBit2 team and others. This means also that unref() of the event
2018 source can and should be done synchronously after emission, rather
2019 than remotely in the client, after servicing the notify call on
2022 NOTE: This change speeds up listener performance considerably, but
2023 introduces new latency on the application side. We may want to
2024 add an event queue to the atk-bridge.
2026 * atk-bridge/bridge.c:
2027 (spi_atk_bridge_focus_tracker):
2028 Do a local unref() on the event source after emission.
2030 * registryd/registry.c:
2031 (desktop_remove_application):
2032 Do an unref() on the event source after emission.
2033 (desktop_add_application):
2034 Do an unref() on the event source after emission.
2035 (notify_listeners_cb):
2036 When relaying an event, don't automatically add the event source
2037 to the local object cache, just CORBA_dup it instead. Likewise,
2038 if this method reenters, release the ref rather than calling
2040 (impl_registry_notify_event):
2041 No longer call remote unref() on the event source after dispatch.
2043 * libspi/eventlistener.c:
2044 (impl_accessible_event_notify_event):
2045 Removed remote unref ()
2047 * cspi/bonobo/cspi-bonobo-listener.c:
2049 We now call cspi_object_new() instead of cspi_object_add() on
2050 receipt of an event; thus we only have an implicit object ref
2051 while the cspi_event method is being executed. If we need to keep
2052 a reference to the object, the listener must call ref() on the
2053 object. Thus also we don't need to call cspi_object_unref() after
2054 invoking the listener callbacks in this method.
2058 New internal API for creating a new cspi object, without adding it
2059 to the object cache.
2061 Now uses cspi_object_new() to create the cspi object instance.
2063 Now checks to see if the object is in the internal object cache,
2064 and adds it if necessary before incrementing its refcount (note
2065 that new objects are added with a refcount of 1).
2066 (report_leaked_ref):
2067 New method which gives some information on leaked object instances
2068 if leak detection is turned on.
2070 * test/event-listener-test.c:
2071 (timing_test_event):
2072 New method, used for testing event delivery timing for special
2073 events of type "object:test". It reports elapsed time and
2074 events/sec every 500 events.
2076 Added a new listener, 'test listener', to check timing of event
2077 receipt as noted above.
2079 Added some timing output here also, reports elapsed time every 100
2082 * test/stress-test.c:
2083 Emit events of type "object:test", for use with "event-listener-test".
2085 * test/test-simple.c:
2086 (global_listener_cb):
2087 Call Accessible_ref() on the event source before calling
2088 validate_accessible, since the validation process does pointer
2089 comparisons on the event source, meaning that the event source
2090 needs to be added to the local object cache first. Any use of
2091 such pointer comparisons between Accessible objects requires that
2092 the caller hold an explicit reference to those objects.
2093 We also must therefore call Accessible_unref() when leaving this method.
2095 2002-06-13 Bill Haneman <bill.haneman@sun.com>
2097 * registryd/deviceeventcontroller.c:
2098 (spi_controller_update_key_grabs):
2099 Fix for #84735, subsequent keygrab listeners not informed of
2100 registration failure.
2103 (spi_base_construct):
2104 Add an assertion on construct, to make sure the GObject passed in
2105 is really a GObject.
2107 Explicitly initialize object->gobj pointer to NULL;
2109 * cspi/bonobo/cspi-bonobo-listener.c:
2110 (cspi_object_add_ref):
2111 New method, can specify whether to dup-ref a bonobo object passed
2112 in if it's newly added to the object cache.
2114 Now calls cspi_object_add_ref with second param of "FALSE". This
2115 prevents us from doing a pointless dup-ref followed by
2116 release-unref for all those cases where the object is already in
2117 our object cache (fix for #85205).
2119 * atk-bridge/bridge.c:
2120 (spi_atk_bridge_idle_init):
2121 Removed this method, we don't need to initialize in an idle
2124 Changed to call spi_atk_register_event_listeners directly, not via an
2125 idle handler. (fix for #81139)
2126 (gnome_accessibility_module_shutdown):
2127 Removed conditional around deregistration of listeners, since we
2128 don't use the idle handler and thus have always registered when
2130 (spi_init_keystroke_from_atk_key_event):
2131 Changed references to Accessibility_KEY_PRESSED to
2132 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
2134 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2136 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
2141 * test/stress-test.c:
2144 (may have been an incomplete commit yesterday?)
2146 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2149 Added target for new stress-test.
2151 * test/stress-test.c:
2152 New test, sends 1000 focus notifies in quick succession.
2154 * test/key-listener-test.c:
2155 Now we report whether a keylistener registration
2156 request succeeded or failed.
2158 * test/event-listener-test.c:
2159 Uncommented some listeners which are now implemented.
2162 2002-06-06 Bill Haneman <bill.haneman@sun.com>
2164 * registryd/deviceeventcontroller.c:
2165 (spi_controller_update_key_grabs):
2166 Fix for #82509, lack of failure notification when
2167 ALL_WINDOWS keygrabs fail due to XGrabKey
2168 failure: we synchronize the server when
2169 registering a passive grab, to make sure we get the
2170 error message before the call returns.
2172 2002-06-03 Bill Haneman <bill.haneman@sun.com>
2174 * test/test-simple.c:
2176 Removed #ifdef KEY_IMPL_WORKS guards.
2177 (test_keylisteners):
2178 Removed #ifdef KEY_IMPL_WORKS guards.
2179 Fixed bug which was causing a hang waiting for a
2180 "press" event (which was already overwritten by a "release"
2181 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
2183 Added code to set globals 'key_press_received' and
2184 'key_release_received'.
2187 Added section "1.1 API Proposed Additions" which
2188 lists API additions desired for at-spi-1.1 (only one so far).
2189 Updated TODO list a little.
2191 2002-06-02 Bill Haneman <bill.haneman@sun.com>
2193 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
2196 * configure.in: Revved to 1.0.0.
2198 * idl/Accessibility_Registry.idl:
2199 (registerKeystrokeListener):
2200 Added boolean return value.
2202 * registryd/registry.c:
2203 (notify_listeners_cb): Minor fix to debug output.
2205 * registryd/Accessibility_Registry.server.in.in:
2206 Revved version number in OAFIID to 1.0.
2208 * registryd/registryd.c:
2210 Use new OAFIID version.
2212 * cspi/bonobo/cspi-bonobo.c:
2214 Use new OAFIID version.
2220 * atk-bridge/bridge.c:
2222 Use new OAFIID version.
2224 * registryd/deviceeventcontroller.c:
2225 (impl_register_keystroke_listener):
2226 Added CORBA_boolean return value.
2227 (spi_controller_register_device_listener):
2228 Added gboolean return value.
2229 (spi_controller_register_global_keygrabs):
2230 Added gboolean return value.
2231 (spi_key_set_contains_key):
2232 Added implementation for many more control keys,
2233 for instance F1-F12, arrow keys, End, Home, Page_Up,
2235 [TODO: some still not implemented].
2237 * text/screen-review-test.c:
2238 (text_chunk_pad_string):
2239 New function: it provides mapping between coordinate
2240 positions of text chunks and character positions in the
2241 screen-review-line output string.
2242 (text_chunk_to_string):
2243 New function, calls text_chunk_pad_string with various
2244 pad/delimiter characters. Pushbuttons are delimited with
2245 square brackets, Frames with vertical 'pipe' lines, and
2246 other text with double quotes.
2247 (text_chunk_list_to_string):
2248 Calls new function text_chunk_to_string.
2249 (toplevel_composite):
2250 New function to composite layers CANVAS through
2251 POPUP in each toplevel (other layers are composited
2252 across toplevels, i.e. BACKGROUND and OVERLAY).
2253 (review_buffer_composite):
2254 Revise to use new methods.
2260 2002-05-31 Laszlo Peter <laca@sun.com>
2262 * configure.in: add the Xtst libdir to the runpath on Solaris,
2263 since it's not in the default library search path.
2265 2002-05-29 jacob berkman <jacob@ximian.com>
2267 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
2269 2002-05-29 Bill Haneman <bill.haneman@sun.com>
2271 * test/screen-review-test.c:
2272 (text_chunk_pad_string):
2273 Added method, which pads the string according to the
2274 text bounds of the chunk. It also takes a 3-character
2275 string as a param which indicates the characters to be
2276 used for start, padding, and end delimitation of the chunk.
2277 (text_chunk_to_string):
2278 Changed to use text_chunk_pad_string.
2280 * configure.in: Fixed bug in AC_OUTPUT that was
2281 causing path substitution in Accessibility_Registry.server
2284 2002-05-23 Bill Haneman <bill.haneman@sun.com>
2286 * text/screen-review-test.c:
2287 (guess_string_clip):
2288 New method which attempts a best-guess at clipping
2289 text from components (like Java labels) which don't
2290 actually implement AccessibleText. This inaccurate
2291 clip is based on the assumption that the label is
2292 justified left-and-right, and monospaced.
2293 (text_chunk_get_clipped_string):
2294 We now call guess_string_clip() for text-containing
2295 components that don't implement AccessibleText.
2297 * test/screen-review-test.c:
2298 (review_buffer_get_text_chunk):
2299 We now pull "name" from labels if they do not implement
2300 AccessibleText (i.e. for Java labels).
2301 (get_screen_review_line_at):
2302 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
2305 Replaceded AC_OUTPUT target
2306 registryd/Accessibility_Registry.server with
2307 registryd/Accessibility_Registry.server.in.
2309 * registryd/Accessibility_Registry.server.in:
2310 Removed (this is now a Makefile target).
2312 * registryd/Accessibility_Registry.server.in.in:
2313 Added (source for target above). We now use $(libexecdir) as
2314 prefix for the executable at-spi-registryd.
2316 * registry/Makefile.am:
2317 Now install at-spi-registryd into $(libexecdir), and build .server
2318 file with path (see above).
2320 2002-05-22 Bill Haneman <bill.haneman@sun.com>
2322 * test/screen-review-test.c:
2323 (text_chunk_get_clipped_string):
2324 We now check to see if words fall within clip bounds
2325 before resorting to character-by-character clip bounds testing.
2327 * TODO: Added a section for "2.2 Proposed API Additions".
2329 2002-05-21 Bill Haneman <bill.haneman@sun.com>
2331 * test/screen-review-test.c:
2333 Added a screen review benchmarking and test program to test
2336 * cspi/spi_accessible.c:
2338 Made some of the debug strings passed to cspi_check_ev a
2339 little more specific.
2341 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
2343 * test/screen-review-test.c: Fix crashes in debug statements
2345 2002-05-20 Bill Haneman <bill.haneman@sun.com>
2347 * test/screen-review-test.c: Added this file.
2349 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2351 * atk-bridge/bridge.c: changed "object:state-change" to
2352 "object:state-changed" to match docs.
2354 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2356 * atk-bridge/bridge.c: Hooked up state-change event details.
2358 2002-05-11 Bill Haneman <bill.haneman@sun.com>
2360 * registryd/registry.c:
2361 Fixed quarking bug in event string parsing; now events with
2362 detail parameters get matched correctly to listeners.
2365 * util/idl/Magnifier.idl: remove.
2367 * util/*.[ch]: Remove.
2368 Magnification utilities and IDL are now in module gnome-mag.
2370 2002-05-10 Bill Haneman <bill.haneman@sun.com>
2372 * registryd/deviceeventcontroller.c:
2373 Fixed bug in grab key conversion which was causing keycode grabs
2374 to be converted to AnyKey grabs.
2377 updated NEWS file to reflect recent spin-off of gnome-mag.
2379 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
2381 * cspi/spi_accessible.c: Added exception checks. Fixed completely
2382 busted AccessibleStateSet_compare. Removed redundant casts.
2384 * cspi/spi-action.c: Removed redundant casts.
2386 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
2388 * cspi/spi_component.c: Fixed typos and casting error.
2390 * cspi/spi_editabletext.c: Removed redundant casts.
2392 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
2394 * cspi/spi_hypertext.c: Eliminated redundant casts.
2396 * cspi/spi_image.c: Eliminated redundant casts.
2398 * cspi/spi_registry.c: Eliminated redundant casts.
2399 SPI_deregisterGlobalEventListenerAll () removed retval variable.
2400 * cspi/spi_selection.c: Removed redundant casts.
2401 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
2402 handling. Screen geometry and text offsets were being returned as 0
2403 on error which is technically valid-- changed these to return -1.
2404 Added marshaller for text boundary types to fix bug with boundary
2405 types being passed incorrectly to atk.
2407 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2410 * cspi/spi_registry.c:
2411 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
2412 which was uncovered by the recent key changes.
2414 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2416 * test/event-listener-test.c:
2418 Added new test, "event-listener-test";
2419 this code does two things; it benchmarks traversal time
2420 for the accessible hierarchy for the first running accessible
2421 app, and it connects listeners for all supported event types.
2422 It is thus useful as an example event listener and for
2423 diagnostics/debugging of event generation.
2425 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2428 Removed unnecessary dependency on libutil.
2431 Revved micro version: 0.13.1
2433 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2436 Removed util/Makefile from targets.
2439 Removed util subdir from SUBDIRS (temporarily,
2440 pending removal of magnifier-only code
2444 #ifdef-ed out magnifier dependencies, since
2445 magnifier IDL, headers, and binary now live in
2446 module gnome-mag and we don't want at-spi to depend
2447 on gnome-mag. A magnifier demo which can run alongside
2448 simple-at is forthcoming in the gnome-mag module.
2450 NOTE: Split magnifier binary, IDL, and magnification
2451 activation code from at-spi into module gnome-mag.
2453 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
2455 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
2456 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
2458 2002-05-03 Bill Haneman <bill.haneman@sun.com>
2461 Revved to version 0.13.0
2463 * idl/Accessibility_Registry.idl:
2464 Changed definition of KeySet from sequence of longs to sequence of
2465 KeyDefinitions, and added KeyDefinition struct.
2466 Required for fix to bug 80616.
2468 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
2469 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
2470 to use new definition (see above).
2472 * registryd/deviceeventcontroller.c: handle_keygrab(),
2473 spi_keyset_contains_key():
2474 Changed to make use of new struct; this allows matching based on
2475 string key-name, for instance "Tab". This also allows matching of
2476 composed characters, non-alphanumeric characters in a way that
2477 doesn't involve dependencies on X keysym codes directly, etc.
2479 * test/key-listener-test.c:
2480 Added test for Alt-Tab key using "string" specification of keyset,
2481 and modified one of the tests to use a keycode-based keyset.
2482 Thus this test both tests and demonstrates the creation and use of
2483 keysets of three forms: specified via keycode array,
2484 keysym array, and string array. (The string case only contains a
2485 single string, i.e. a string array of length 1).
2488 Turned on PRINT_TREE option by default. Also fixed a
2489 string-freeing bug in the PRINT_TREE code.
2490 Added a listener to window:minimize events.
2492 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
2494 * atk-bridge/bridge.c:
2495 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
2496 for window:activate and window:deactiveate
2497 (atk_bridge_property_event_listener atk_bridge_signal_listener
2498 atk_bridge_window_event_listener) Tidy debug code
2500 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
2502 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
2503 Fixed handling for NULL return value from ATK.
2505 * libspi/action.c libspi/component.c libspi/editabletext.
2506 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
2507 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
2508 Removed redundant casts.
2510 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
2511 Fixed off by one bug.
2513 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
2514 function not present in idl)
2516 2002-05-02 jacob berkman <jacob@ximian.com>
2518 * atk-bridge/Makefile.am: make atk-bridge a real module
2520 2002-04-26 Radek Doulik <rodo@ximian.com>
2522 * libspi/stateset.c (spi_init_state_type_tables): fix size of
2523 atk_state_types table
2525 2002-04-22 jacob berkman <jacob@ximian.com>
2528 * libspi/Makefile.am: add deps on the built files to help
2529 automake, and don't version the ORBit typelib
2531 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
2533 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
2534 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
2535 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
2536 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
2537 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
2538 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
2539 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
2540 libspi/accessible.h libspi/accessible.h libspi/base.h
2541 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
2542 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
2543 libspi/relation.h libspi/remoteobject.h libspi/selection.h
2544 libspi/spi-private.h libspi/statetset.h libspi/table.h
2545 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
2546 util/mag_client.h util/mag_control.c util/mag_image.c
2547 util/mag_image.h util/magnifier.c util/magnifier.h:
2548 Add missing file headers; standardize existing ones
2550 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
2552 * atk-bridge/bridge.c: Added window event support.
2554 2002-04-18 Michael Meeks <michael@ximian.com>
2556 * libspi/relation.c (impl_getNTargets): impl.
2557 (impl_getTarget): impl.
2559 * libspi/Makefile.am: fix stateset install.
2561 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2564 Started putting useful info in this file.
2566 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
2568 * atk-bridge/bridge.c:
2569 Propagate state-changed notifications to ATs
2571 * cspi/spi_registry.c: update docs to reflect actual behavior of
2572 state-change events.
2574 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2577 Incremented version to 0.12.1
2579 * util/mag_client.h:
2580 Add missing declaration for magnifier_exit,
2581 used by mag_control.c - Forte compiler didn't like
2582 the implicit redeclaration of the function :-(
2585 2002-04-16 Bill Haneman <bill.haneman@sun.com>
2588 Revved version to 0.12 due to API change (see below).
2590 * cspi/spi-roletypes.h:
2591 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
2592 definition from the inline docs, and added docs
2593 for SPI_ROLE_LAST_DEFINED.
2596 * cspi/spi_streamablecontent.c:
2597 Added missing seek_type parameter to
2598 (so far unused) method,
2599 AccessibleStreamableContent_seek().
2600 [ RT approval JodyG. ]
2603 Fixed docs for SPI_createAccessibleKeystrokeListener.
2605 * cspi/spi_registry.c:
2606 Fixed docs for SPI_KEYSET_ALL_KEYS.
2608 * docs/reference/cspi/at-spi-cspi-sections.txt:
2609 Added a number of missing APIs to SECTIONS.
2611 2002-04-16 Bill Haneman <bill.haneman@sun.com>
2613 * registryd/Makefile.am:
2615 * cspi/bonobo/Makefile.am:
2616 Add $(X_LIBS) to makefiles.
2618 2002-04-15 Bill Haneman <bill.haneman@sun.com>
2621 Revved version to 0.11.
2623 * libspi/component.c:
2624 Added implementation for grabFocus.
2626 * idl/Accessibility_Component.idl
2627 (Accessibility_Component_grabFocus):
2628 Made this method return boolean to indicate success or failure, to
2629 be consistent with cspi and the corresponding ATK method.
2631 * idl/Accessibility_Selection.idl
2632 (Accessibility_Selection_selectAll) :
2633 Made these methods return boolean to indicate success or
2634 failure, to be consistent with cspi and the corresponding ATK methods.
2636 * idl/Accessibility_EditableText.idl
2637 (Accessibility_EditableText_setTextContents,
2638 Accessibility_EditableText_insertText,
2639 Accessibility_EditableText_cutText,
2640 Accessibility_EditableText_deleteText,
2641 Accessibility_EditableText_pasteText):
2642 Made these methods return boolean to indicate
2645 * cspi/spi_editabletext.c:
2646 Made these methods return booleans.
2648 * libspi/selection.c:
2649 * libspi/component.c:
2650 * libspi/editabletext.c:
2651 Connected the boolean returns from ATK
2652 to the server-side code referenced above.
2654 2002-04-14 Bill Haneman <bill.haneman@sun.com>
2656 * idl/Accessibility_Table.idl: Added missing methods,
2657 Accessibility_Table_addRowSelection,
2658 Accessibility_Table_addColumnSelection,
2659 Accessibility_Table_removeRowSelection,
2660 Accessibility_Table_removeColumnSelection.
2663 Added C wrappers for above IDL:
2664 AccessibleTable_addRowSelection,
2665 AccessibleTable_addColumnSelection,
2666 AccessibleTable_removeRowSelection,
2667 AccessibleTable_removeColumnSelection.
2670 Added server-side implementation code for IDL above, connecting
2671 to pre-existing ATK api.
2673 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
2675 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
2677 * libspi/accessible.c: Added implementation fo
2678 Accessibility_Accessible_get_state.
2680 * libspi/libspi.h: Added stateset.h to the list of includes.
2682 * libspi/stateset.c: Fixed broken implementation.
2684 2002-04-13 Bill Haneman <bill.haneman@sun.com>
2687 Added implementation code for Accessibility_Magnifier_exit ().
2689 * util/mag_control.c:
2690 Added test code for above method; you can
2691 now kill an existing magnifier via
2692 ./mag_control q, from the util directory.
2694 * test/key-listener-test.c:
2696 Added a new test, for our key listener API.
2698 2002-04-11 Bill Haneman <bill.haneman@sun.com>
2700 * test/app.c, test/keysynth-demo.c:
2702 Replace use of snprintf with g_snprintf.
2703 (fix for bugzilla 78249)
2705 2002-03-27 Michael Meeks <michael@ximian.com>
2709 * util/Makefile.am (INCLUDES): fix.
2710 (DONT_DIST_SOURCE): don't distribute the
2713 * libspi/Makefile.am (dist-hook): ditto.
2715 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
2717 * libspi/hypertext.c:
2718 Fix warnings when yelp is used with atk-bridge
2720 2002-03-21 Michael Meeks <michael@ximian.com>
2722 * libspi/application.c (spi_application_new):
2723 use spi_accessible_construct so we use the AtkObject
2726 2002-03-19 Michael Meeks <michael@ximian.com>
2728 * registryd/registry.c (desktop_remove_application),
2729 (desktop_add_application): clean coding style.
2731 * registryd/desktop.c (spi_desktop_remove_application),
2732 (spi_desktop_add_application): kill re-enterency hazards.
2733 (spi_desktop_dispose): remove bogus redundant cast
2734 obscuring bug; fix bug too.
2735 (spi_desktop_init): make the desktop object immortal.
2737 2002-03-16 Bill Haneman <bill.haneman@sun.com>
2740 Added a #define-guarded tree-traversal step
2741 when enumerating the apps (diagnostic tool).
2743 2002-03-15 Bill Haneman <bill.haneman@sun.com>
2745 * idl/Accessibility_Role.idl:
2746 Added ROLE_DRAWING_AREA which seemed to be missing from the
2749 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2751 * cspi/spi-roletypes.h cspi/spi_accessible.c
2752 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
2755 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
2756 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
2757 AT when applications are added and removed from the desktop. This
2758 reverts the previous broken implementation using the backing
2759 AtkObject for the SpiDesktop.
2761 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2763 * registryd/desktop.c: emit the "children-changed::add" and
2764 "children-changed::remove" signals on the backing ATK object for
2765 the desktop so AT can tell when applications are started and shut
2768 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2770 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
2772 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2774 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
2776 * cspi/spi_accessible.c: Implemented c bindings for stateset support
2778 * cspi/state-types.h: synched with IDL and ATK
2780 2002-03-13 Bill Haneman <bill.haneman@sun.com>
2782 * libspi/accessible.c
2783 (impl_accessibility_accessible_get_child_at_index):
2784 Change return value for g_return_if_fail ()
2785 to CORBA_OBJECT_NIL instead of "0" (!)
2787 * registryd/Makefile.am:
2788 * registryd/Accessibility_Register.server.in:
2789 Changed name of executable, "registryd",
2790 to something more informative:
2793 2002-03-13 Michael Meeks <michael@ximian.com>
2795 * atk-bridge/bridge.c (atk_bridge_init): don't register
2796 if we're in a bonobo-component, rather than a bonobo app.
2798 2002-03-13 Michael Meeks <michael@ximian.com>
2800 * atk-bridge/bridge.c (gtk_module_init): split
2801 out body to (atk_bridge_init): here, since otherwise
2802 we get symbol conflicts and oddness when invoked
2803 from (gnome_accessibility_module_init): here (upd.)
2805 2002-03-11 Bill Haneman <bill.haneman@sun.com>
2808 New file. Explicitly allow "build sheriff" putbacks provided
2809 they are tested on Solaris.
2811 * docs/reference/cspi/Makefile.am:
2812 Added '-' to the "cp" command for index.sgml.
2813 ("patch by thomasvs, soon coming to a GUADEC near you")
2816 Incremented version number (0.9.0) for new release.
2817 Changed macro that checks for popt, to better detect
2818 obsolete versions of popt.
2821 Added X_LIBS to AC_SUBST, for applications
2822 that call Xlib API directly.
2825 2002-03-07 Bill Haneman <bill.haneman@sun.com>
2828 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
2831 Fix regression caused by hard-coding major
2832 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
2835 * test/test-simple.c (test_editable_text),
2836 (test_test): revert previous change (error was
2837 a regression in gail which is now fixed).
2839 2002-03-04 Michael Meeks <michael@ximian.com>
2841 * test/test-simple.c (test_editable_text),
2842 (test_text): pass G_MAXINT instead of '-1' for
2843 whole string - is this a good thing !?
2845 * cspi/spi_accessible.c
2846 (Accessible_getRelationSet): fix crasher bug
2847 overwriting the end of the array.
2849 * test/test-simple.c (validate_accessible): free,
2850 not g_free returned relation set.
2852 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
2854 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
2855 implemented stateset support
2857 * idl/Accessibility_State.idl: Made necessary changes to
2858 the IDL to support state sets.
2860 2002-02-12 Bill Haneman <bill.haneman@sun.com>
2862 * registryd/deviceeventcontroller.c:
2863 Added implementation for generateMouseEvent.
2865 * cspi/spi_registry.c:
2866 Connected new implementation for generateMouseEvent
2869 2002-02-12 Bill Haneman <bill.haneman@sun.com>
2872 Incremented revision (but no change in public API
2873 outside of 'utils', which are not installed public yet.)
2875 * libspi/component.c:
2876 Changed to use atk_component API for layers and
2877 mdi_zorder, instead of deprecated atk_object API.
2879 Magnification Utility Enhancements:
2882 Added implementation of createZoomRegion, clearAllZoomRegions,
2883 resizeZoomRegion. Added new commandline argument
2884 "--no-initial-region". Note that clearAllZoomRegions doesn't
2885 unmap the old '0' region as it should (yet), and the other
2886 methods only work when creating/resizing a single region,
2887 which is "region 0".
2888 (Code for multiple region support will be added later.)
2891 Now we raise the magnifier window each time it's refreshed;
2892 this will help keep it on top.
2894 * util/mag_client.h:
2895 Added simple wrappers for above, used by mag_control.
2896 For general use, it's recommended to use the bonobo magnifier
2897 control API directly instead of using these wrappers.
2900 Moved ZoomRegionData from magnifier.c to this file.
2902 * util/mag_control.c:
2903 Added some code to exercise new IDL implementations.
2905 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
2907 * libspi/text.c: Provide implementation for getAttributes.
2909 2002-02-04 Bill Haneman <bill.haneman@sun.com>
2912 Incremented revision.
2914 * test/test-simple.c:
2915 Replaced use of deprecated g_main_iteration with
2916 g_main_context_iteration.
2918 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
2921 Incremented revision for desktop alpha 2.
2923 2002-01-28 Mark McLoughlin <mark@skynet.ie>
2925 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
2928 * test/simple-at.c: include netinet/in.h.
2930 2002-01-24 Mark McLoughlin <mark@skynet.ie>
2932 * cspi/spi_accessible.c: (Accessible_getRelationSet):
2933 use NULL, not CORBA_OBJECT_NIL.
2935 * libspi/accessible.c:
2936 (impl_accessibility_accessible_get_relation_set):
2937 allocate the sequence correctly.
2939 * libspi/remoteobject.h: kill spi_remote_object_new.
2941 * test/test-simple.c: (validate_accessible): add code
2942 to test relation sets, now all we need is to figure
2943 out how to excercise this code path :/
2945 2002-01-18 Michael Meeks <michael@ximian.com>
2947 * test/test-simple.c
2948 (key_listener_cb): consume the key.
2949 (test_keylisteners): update.
2950 (main): wait for any pending unrefs on events.
2952 * registryd/deviceeventcontroller.c
2953 (spi_controller_update_key_grabs): only re-issue the
2954 grab on a key release.
2955 (spi_device_event_controller_forward_key_event):
2956 refresh the keygrabs before we notify the listeners,
2957 to reduce the X ungrab / re-grab race.
2958 (spi_controller_register_with_devices): remove
2959 XSelectInput - we do that with the gdk_window_ call.
2960 (_spi_controller_device_error_handler): return a value.
2961 s/GDK_DISPLAY/spi_get_display/
2963 2002-01-17 Michael Meeks <michael@ximian.com>
2965 * registryd/deviceeventcontroller.c
2966 (_deregister_keygrab): don't blow out the later
2969 * test/test-simple.c (test_keylisteners): do a
2970 more intelligent validation.
2972 2002-01-14 Michael Meeks <michael@ximian.com>
2974 * atk-bridge/bridge.c
2975 (gnome_accessibility_module_init),
2976 (gnome_accessibility_module_shutdown): impl.
2977 (gtk_module_init): protect vs. double inits.
2978 (add_signal_listener): impl.
2979 (spi_atk_bridge_state_event_listener): kill
2980 (deregister_application): split out of
2981 (spi_atk_bridge_exit_func): here.
2983 2002-01-18 Bill Haneman <bill.haneman@sun.com>
2986 Added caret tracking when using magnifier, and
2987 now use text bounds for focus tracking of text elements, rather than
2988 the component bounds - this is helpful for short text fields in long
2989 table cells, at high magnification.
2991 2002-01-16 Bill Haneman <bill.haneman@sun.com>
2993 * registryd/deviceeventcontroller.c:
2994 Regression fix for keylistener de-registration; global keygrabs
2995 were not being released when deregisterKeystrokeListener was
2996 called in cspi, since
2997 Accessibility_DeviceEventController_deregisterKeystrokeListener
2998 was called with a zero-length keyset. That is because the cspi
2999 method, SPI_deregisterKeystrokeListener, does not take a keyset
3000 parameter but instead should remove all the key grabs held be a
3002 The code in impl_deregister_keystroke_listener was changed to copy
3003 the keylist from the listener instance previously registered with
3004 the DeviceEventController before releasing the grabs.
3006 * registryd/registry.c:
3007 * registryd/deviceeventcontroller.c:
3008 * libspi/spi-private.h:
3010 Changed spelling of "re-enterant" to "re-entrant" globally.
3012 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3014 * test/test-simple.c:
3015 Changed key listeners test - the test was slightly mis-using the
3016 (admittedly poorly documented) SPI_generateKeyboardEvent API.
3017 It now uses '=' as the key event listened to and generated,
3018 relying on a keysym match rather than assuming that keycode 33
3019 is always equal to keysym '!'.
3021 2002-01-15 Bill Haneman <bill.haneman@sun.com>
3024 Changed simple-at to use a specific keyset, rather than
3025 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
3026 manager, desktop, etc.
3028 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3030 * registryd/deviceeventcontroller.c:
3031 Replaced standard X error handler with a special handler that
3032 is non-fatal for failed keygrabs. This works around
3033 problems with keygrab clashes sometimes observed on
3035 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
3036 mouse handling code as yet).
3038 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3041 Incremented revision for desktop alpha release.
3044 Fixed a couple of the more glaring errors (still not
3047 2002-01-11 Michael Meeks <michael@ximian.com>
3049 * registryd/deviceeventcontroller.c
3050 (spi_device_event_controller_forward_key_event): kill
3051 XUngrabKey / XKeyGrab race.
3052 (spi_controller_grab_keyboard): rename to
3053 (spi_controller_update_key_grabs): this, and deal
3054 with incremental adding / removing grabs more
3056 (_register_keygrab): ensure we're not pending a remove.
3057 (spi_grab_mask_free): impl.
3058 (spi_controller_register_global_keygrabs): split out
3060 (handle_keygrab): impl.
3061 (_deregister_keygrab): impl.
3062 (spi_controller_deregister_global_keygrabs): impl.
3063 (spi_controller_update_key_grabs): re-issue the grab if
3064 we just recieved a notification.
3066 * test/test-simple.c (key_listener_cb): remove debug.
3068 * registryd/deviceeventcontroller.c
3069 (spi_controller_register_device_listener): after
3070 registering a global keygrab, actualy register it !
3071 don't wait for a timeout; doh !
3073 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
3074 to make it more readable / manipulable.
3075 s/grabmask/grab_mask/ s/refcount/ref_count/
3076 s/keyval/key_val/ s/modmask/mod_mask
3078 2002-01-08 Michael Meeks <michael@ximian.com>
3080 * registryd/deviceeventcontroller.c
3081 (spi_controller_register_with_devices): use gdk calls to
3083 (global_filter_fn): implement the filter.
3084 (spi_device_event_controller_check_key_event): rename to
3085 (spi_device_event_controller_forward_key_event): this & upd.
3086 (spi_get_display): replace with GDK_DISPLAY.
3088 * registryd/deviceeventcontroller.c
3089 (spi_controller_deregister_device_listener): unroll into
3090 (impl_deregister_keystroke_listener): here to simplify.
3091 (spi_controller_register_global_keygrabs): split cut and
3092 paste (!) out into (_register_keygrab): here, shorter & sweeter.
3093 (spi_controller_deregister_device_listener): remove.
3094 (impl_register_mouse_listener): remove, no mouse listener
3095 support in at-spi-1.0
3097 * registryd/registry.c
3098 (_device_event_controller_hook): kill.
3099 (spi_registry_init): upd.
3101 * registryd/deviceeventcontroller.c
3102 (spi_device_event_controller_class_init): upd.
3103 (spi_check_key_event): merge into.
3104 (spi_device_event_controller_check_key_event):
3105 here and kill strange static ev init, don't leak
3106 the x_event - nor dynamicaly allocate it.
3108 * registryd/registry-main.c (main): re-direct
3109 timeout to remove strange vtable mess.
3111 * registryd/deviceeventcontroller.c
3112 (remove_listener_cb): impl.
3113 (spi_controller_deregister_device_listener):
3114 fix re-enterancy hazard.
3116 2002-01-07 Michael Meeks <michael@ximian.com>
3118 * registryd/deviceeventcontroller.c
3119 (spi_device_event_controller_new): upd.
3120 (impl_notify_listeners_sync): upd. debug.
3121 (spi_notify_keylisteners): fix re-enterancy hazards,
3122 prettify, remove O(n*n) iteration.
3123 (spi_controller_grab_keyboard): fix iteration.
3124 (spi_check_key_event): re-format to suit coding style.
3125 Clean all the warnings - we're warning free.
3127 * registryd/deviceeventcontroller.h:
3128 * registryd/registry.h: make mutualy referential with
3129 typesafe forward references instead of (!) void pointer
3132 2002-01-11 Michael Meeks <michael@ximian.com>
3134 * cspi/spi_accessible.c (role_names): add a role name
3135 to sync this array with the enum; and make the regression
3138 2002-01-10 Michael Meeks <michael@ximian.com>
3140 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
3141 allow expansion of enumeration & kill warning.
3143 * test/test-simple.c (key_listener_cb): impl.
3144 (test_keylisteners): impl.
3146 * cspi/spi-listener.h: make listener signatures const
3147 on the provided (const) events.
3149 * test/keysynth-demo.c: upd. to const events.
3151 * test/simple-at.c: ditto.
3153 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3156 Rev the version to 0.5 (the previous tarball was named 0.4,
3157 even though the micro number was 3), so we need to rev upwards
3158 again for beta2/"desktop-alpha"
3161 Checked in a demo script, which requires editing before use!
3162 Proceed with caution.
3165 Fixed typo in header which was redefining SPI_ACTION_CLASS.
3167 * cspi/spi_accessible.c:
3168 Add a couple of missing enum initializations, and fix some enum
3171 * cspi/spi_registry.c:
3172 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
3174 * docs/reference/cspi/at-spi-cspi-sections.txt:
3175 Remove/fix a couple of broken document references.
3178 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
3179 as Alt-Control to listen for commands, since on some systems
3180 Control-Alt may already be grabbed.
3182 2002-01-10 Bill Haneman <bill.haneman@sun.com>
3185 Update version number to 0.4 for Beta2.
3187 * libspi/accessible.c, libspi/accessible.h:
3188 Expose spi_accessible_construct, to enable libgail-gnome
3189 construction from spi_accessible subtype.
3191 * utils/magnifier.c:
3192 Workaround for bug in some non-gnome-compliant window managers
3193 which made magnifier resize improperly.
3195 2002-01-09 Bill Haneman <bill.haneman@sun.com>
3197 * libspi/accessible.c: (spi_accessible_new) :
3198 Move the test for SPI_IS_REMOTE_OBJECT to
3199 spi_accessible_new_return, fixing a bug and compile time warning.
3201 2002-01-08 Michael Meeks <michael@ximian.com>
3203 * registryd/registry.c (parse_event_type): remove strndup.
3205 * libspi/Makefile.am (libspi_la_SOURCES): remove
3206 sources already included in the headers section.
3208 * libspi/util.c: add.
3210 * libspi/spi-private.h: add.
3212 * registryd/registry.c: update to moved list iterators.
3214 2002-01-05 Michael Meeks <michael@ximian.com>
3216 * test/simple-at.c (main): upd. auto-module set to atk-bridge
3218 * test/test-simple.c (main): ditto.
3220 2002-01-04 Michael Meeks <michael@ximian.com>
3222 * libspi/accessible.c (spi_accessible_new): remove 2nd,
3223 redundant construct.
3225 * registryd/registry.c
3226 (get_listener_list): impl.
3227 (impl_accessibility_registry_register_global_event_listener):
3228 re-impl. to simplify using ~, remove dodgy const cast off.
3229 (parse_event_type): constify.
3230 (impl_accessibility_registry_deregister_global_event_listener_all):
3231 re-write, more efficiency and simplicity, kill re-enterancy
3233 (compare_listener_corbaref, compare_corba_objects),
3234 (compare_listener_quarks): define out.
3235 (impl_accessibility_registry_deregister_global_event_listener):
3236 re-write for effiency, and nail re-enterancy hazard.
3237 (impl_accessibility_registry_get_desktop_list): impl.
3238 (re_enterant_list_delete_link): impl.
3239 (re_enterant_list_foreach): impl.
3240 (remove_listener_cb): impl.
3241 (_registry_notify_listeners): kill.
3242 (notify_listeners_cb): impl.
3244 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
3245 (SPI_getDesktopList): impl.
3247 * test/test-simple.c (test_desktop): test the methods.
3249 2002-01-03 Michael Meeks <michael@ximian.com>
3251 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
3252 keystrings since we free them
3253 (SPI_freeAccessibleKeySet): in here.
3255 * libspi/accessible.c (spi_accessible_new): kill warning,
3256 wonder what is going on with the constructor here.
3258 2002-03-01 Bill Haneman <bill.haneman@sun.com>
3260 * libspi/accessible.c (spi_accessible_new ()) :
3261 Added check to see if AtkObject is an SpiRemoteObject before
3262 creating an SpiAccessible.
3264 2002-05-01 Bill Haneman <bill.haneman@sun.com>
3266 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
3267 Enable keygrabs using the Control modifier, now that they are
3268 working properly (they were previously disabled).
3271 Change the command keygrab for this demo to "Control+Alt", so as
3272 to conflict with fewer other key commands on the system; this
3273 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
3275 Removed a pointlessly-chatty keylistener for unshifted keys
3276 (shifted keys are still reported).
3278 2002-02-01 Bill Haneman <bill.haneman@sun.com>
3280 * libspi/remoteobject.h:
3281 * libspi/remoteobject.c:
3282 Added definitions for special AtkObject subtype, required for
3283 support of remote components (specifically, used by BonoboControl
3284 accessibility implementation).
3286 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
3288 * cspi/spi.h: synched relation types with ATK
3290 * cspi/spi_accessible.c: Added implementations of
3291 AcccessibleRelation_* methods
3293 * idl/Accessibility_Relation.idl: added getRelationTypeName
3294 method. Synched known relation types with ATK. Allowed for
3295 relation type extension with the RELATION_EXTENDED type.
3297 * libspi/relation.c: Provided implementations for
3298 AccessibleRelation methods.
3300 2002-01-01 Bill Haneman <bill.haneman@sun.com>
3302 API tweaks for today's API 'freeze'.
3305 Added placeholder functions to allow future compatible expansion
3306 of the IDL interfaces.
3308 * idl/Accessibility_Registry.idl:
3309 Changed generateKeyEvent to generateKeyboardEvent. Changed
3310 signature of this method to accept an optional keystring in
3311 parameter (for complex text input synthesis) and changed use of
3312 simple 'boolean' parameter in registerKeystrokeListener to a
3313 struct, EventListenerMode.
3315 * cspi/spi_accessible.c:
3317 * cspi/spi_streamablecontent.c:
3318 Added references to AccessibleStreamableContent interface, and
3319 definition and implementation of AccessibleStreamableContent
3322 * cspi/spi_registry.c:
3324 Changed generateKeyEvent API to generateKeyboardEvent,
3325 taking a new (optional) keystring parameter to support complex
3330 Renamed directory (to better reflect its actual purpose, bridging
3331 from at-spi to ATK). The .so module is also now named
3334 * idl/Accessibility_Hypertext.idl:
3335 * libspi/accessible.c:
3336 * libspi/hypertext.h:
3337 * libspi/hypertext.c:
3338 Changed Accessibility_Hypertext to *not* derive from
3341 * cspi/spi_registry.c:
3342 Added list of legal event type names for 'window' events, which
3343 completes the registry event API.
3345 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
3347 * at-bridge/bridge.c: Added registration for separate
3348 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
3349 signals. If either of the first two parameters to the generic
3350 bridge signal handler are ints, they are passed on as event
3351 details. This allows an AT to determine what text was inserted.
3353 2001-12-21 Bill Haneman <bill.haneman@sun.com>
3355 * registryd/deviceeventcontroller.c:
3356 Fixed regressions in generateKeyEvent caused by the removal of
3357 gdk_init from registryd; we now use pure X calls to connect to the
3358 display, which makes sense because deviceeventcontroller already
3359 uses a fair bit of X API (should eventually be migrated to a
3360 'portability layer').
3362 * registryd/desktop.c:
3363 Fixed minor regression in spi_desktop_init, changed the way the
3364 desktop name is being set to work with new spi_base API
3365 (gobject-based, rather than AtkObject-based).
3367 * registryd/Makefile.am:
3368 Minor revision of makefile to use XTST_LIBS variable rather than
3369 hard-wiring the Xtst LD_ADD element.
3371 * test/keysynth-demo.c:
3372 Tweaked an output message; added initialization of the
3373 'keystrings' member of the "switch listener" key_set.
3375 * libspi/relation.c:
3376 Squashed compile-time warning.
3378 * libspi/accessible.c:
3379 Cosmetic and formatting fixes, renamed a static method.
3381 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
3383 * libspi/accessible.c
3385 * libspi/application.c
3388 * libspi/component.c
3389 * libspi/editabletext.c
3390 * libspi/hyperlink.c
3391 * libspi/hypertext.c
3393 * libspi/selection.c
3397 * registryd/desktop.c:
3398 Changed SpiBase to contain a GObject pointer rather than an AtkObject
3400 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3402 * idl/Accessibility_Registry.idl:
3403 Added boolean member 'is_text' to DeviceEvent. This is for the
3404 use of key events, and helps prevent ambiguity between composed
3405 key strings and keysym names, since both may potentially be
3406 returned in the 'event_string' member.
3408 * at-bridge/bridge.c:
3409 * registryd/deviceeventcontroller.c:
3410 Use the 'is_text' member when notifying device event listeners.
3411 Knon issue: composed characters are not dealt with correctly by
3412 the global key listener implementation yet.
3414 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3416 * at-bridge/bridge.c:
3417 Namespaced local static methods to spi_atk_bridge_* where
3418 previously named bridge_*, and spi_* elsewhere.
3420 * at-bridge/bridge.c:
3421 * cspi/bonobo/cspi-bonobo-listener.c:
3422 Added demarshalling/conversion for string member of
3423 Accessibility_DeviceEvent to AccessibleKeystroke.
3425 * registryd/deviceeventcontroller.c:
3426 Added code to fill the Accessibility_DeviceEvent key string value
3427 member for global key events (i.e. from XGrabKey), to match
3428 behavior of Accessibility_DeviceEvent from the toolkit key events
3429 from the bridge. Fixed timestamp in global key event notifications.
3432 Added printout of key event's string value to
3433 report_ordinary_key_event, for demo/debugging purposes.
3435 2001-12-15 Bill Haneman <bill.haneman@sun.com>
3437 * idl/Accessibility_Registry.idl:
3438 Removed Accessibility_KeyStroke structure in favor of generic
3439 Accessibility_DeviceEvent structure.
3440 Changed Accessibility_ControllerEventMask from a struct to an
3443 * at-bridge/bridge.c:
3444 Changed APIs to use DeviceEvent structure as above, and removed
3445 bogus casting between these event structures.
3447 * cspi/spi-listener.h:
3448 Added keystring member of AccessibleKeystroke structure, to enable
3449 matching on event "names" rather than only hardware codes and
3453 Added keystrings member of AccessibleKeySet struct, to allow
3454 matching on event names (as above).
3455 Added declarations for SPI_createAccessibleKeySet and
3456 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
3457 event modmasks directly as unsigned ints rather than structs with
3458 refcounts, in the DeviceEventController methods.
3460 * cspi/spi_registry.c:
3461 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
3463 * cspi/spi-roletypes.h:
3464 Added documentation of newly added SPI Roles.
3466 * cspi/bonobo/cspi-bonobo-listener.c:
3467 Changes in support of API changes above.
3469 * libspi/accessible.c:
3470 Converted APIs to use DeviceEvent structure (see IDL changes
3473 * registryd/deviceeventcontroller.c:
3474 Added DEControllerGrabMask structure to track keygrabs not only by
3475 modmask but by keyset as well; this allows us to do "global"
3476 (i.e. X) keygrabs on a per-key or keyset basis rather than always
3477 grabbing on AnyKey and then filtering after-the-fact.
3478 Bugfixes for event filtration mean that we don't get false matches
3479 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
3481 * registryd/deviceeventcontroller.c:
3482 Namespaced a number of static methods to use spi_ prefix. Major
3483 revision to internals of global (i.e. X) key grabs.
3485 * registryd/deviceeventcontroller.h:
3486 Removed keymask_list and added keygrabs_list to
3487 SpiDeviceEventController struct.
3490 Added use of SPI_createAccessibleKeySet API when creating a
3491 listener for only one key. Attach a listener to "shift spacebar
3492 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
3493 X key event names to SPI key event names, so that listeners are
3494 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
3496 * test/keysynth-demo.c:
3497 Changed (incorrect) use of X key event names (KeyPressed,
3498 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
3501 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3503 * libspi/accessible.c:
3504 Convert all AtkRole enumerations to Accessibility_Role enums when
3505 getting a role from an AtkObject.
3507 * cspi/spi_accessible.c:
3508 Complete the conversion of Accessibility_Role enums at runtime to
3509 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
3510 role enums correctly match those given in spi-roletypes.h.
3511 Re-synchronize the local names list for AccessibleRole_getName ().
3512 AccessibleRole_getName is now deprecated, since it duplicates the
3513 more reliable Accessible_getRoleName.
3514 Added some role types from Accessibility_Role.idl.
3516 * idl/Accessibility_Role.idl:
3517 Added some role types used by AtkRole.
3519 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3522 * cspi/spi_registry.c:
3524 * cspi/cspi-bonobo-listener.c:
3525 Namespaced all methods that did not begin with an "SPI_" or
3526 "Accessible" prefix to "SPI_".
3529 Homogenized internal function namespace to "cspi_" for statics.
3532 Patched tests to use the new CSPI API.
3534 * docs/reference/cspi/at-spi-cspi-sections.txt:
3535 Updated docs to reflect namespace changes, and added a number of
3536 methods to the documentation.
3538 * registryd/registry.c:
3539 Changed use of strings and string hashes in listener event
3540 matching and parse_event_string to use GQuark, which is guaranteed
3543 * registryd/registry.h:
3544 Squashed annoying warning.
3546 * idl/Accessibility_Role.idl:
3547 Extended range of available Accessibility_Role values.
3549 * cspi/spi_accessible.c:
3550 Re-ordered role names.
3552 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3554 * idl/Accessibility_Value.idl:
3555 Revert use of union back to CORBA_double, since the double type is
3556 more efficient and can contain the other types without loss of
3559 * idl/Accessibility_Accessible.idl:
3560 Added method Accessibility:Accessible:getRoleName, to complement
3561 Accessibility:Accessible:getRole.
3563 * cspi/spi_accessible.c:
3565 Added C binding for above, Accessible_getRoleName (), and changed
3566 signature of Accessible_getRole () to return an AccessibleRole.
3568 * cspi/spi-roletypes.h:
3569 Changed AccessibleRole_getName to return a char * instead of a
3570 const char *. This method is now at least temporarily deprecated
3571 in favor of asking Accessibles for their RoleNames directly.
3574 Revert to match Accessibility_Value.idl;
3578 Change signature of AccessibleValue methods to use double rather
3582 * cspi/spi_accessible.c:
3583 Changed Accessible_getRole to return an AccessibleRole enum rather
3584 than a UTF-8 string. The UTF-8 string can still be obtained via
3585 AccessibleRole_getName ().
3587 * test/test-simple.c:
3588 Add test_action. Small fixup to match API change to Accessible_getRole.
3591 Bugfix for get_action_from_servant ().
3593 2001-12-11 Michael Meeks <michael@ximian.com>
3595 * libspi/libspi.h: remove registry.h and
3596 desktop.h, deviceeventcontroller.h
3598 * libspi/Makefile.am: remove registry.[ch],
3599 desktop.[ch], deviceeventcontroller.[ch]
3601 * registryd/Makefile.am: add registry.[ch],
3602 desktop.[ch], rename registryd.c to registry-main.c.
3603 add deviceeventcontroller.[ch]
3605 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3608 Replace setenv() call with putenv ().
3610 * libspi/component.c:
3611 Bugfix in AccessibleComponent_getExtents (),
3614 2001-12-11 Michael Meeks <michael@ximian.com>
3616 * libspi/image.c (impl_getImageExtents): impl.
3617 (spi_image_class_init): upd.
3620 (AccessibleImage_getImageDescription): fix daft bug
3623 * test/test-simple.c (global_listener_cb): update
3624 to only quit if not --poke
3625 (main): catch --poke.
3626 (validate_accessible): upd. dumping, call test_image
3629 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
3632 * idl/Accessibility.idl: update all IDL includes.
3634 * idl/*.idl - rename to namespace - this sucks, blame
3635 mjs' bad decision for oafd.
3637 * test/test-simple.c (create_test_window): add more tests.
3638 (create_tree): split this out.
3639 (validate_accessible): bugfix.
3641 2001-12-11 Michael Meeks <michael@ximian.com>
3643 * cspi/bonobo/cspi-bonobo-listener.c:
3644 (cspi_kestroke_listener_unref),
3645 (cspi_event_listener_unref): impl. undoing previous
3646 homenous environment - for Bill.
3648 * cspi/spi_table.c (long_seq_to_array): use
3651 * cspi/spi_main.c: split out all bonoboish bits into
3654 * cspi/spi-impl.h: upd. typedefs.
3656 * cspi/spi_registry.c: update to lowlevel API,
3657 return booleans to indicate success in some places.
3659 * cspi/spi_event.c: update to lowlevel API.
3661 * cspi/bonobo/Makefile.am: add.
3663 * cspi/bonobo/cspi-lowlevel.h: add
3665 * cspi/bonobo/cspi-bonobo.c: add
3667 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
3669 * cspi/Makefile.am: remove spi-listener-impl.[ch],
3670 (SUBDIRS): add bonobo, link in the libs.
3672 * cspi/spi-util.c: kill this file.
3674 * TODO: merge in my bits.
3676 2001-12-11 Michael Meeks <michael@ximian.com>
3678 * test/test-simple.c (test_value, test_table, main):
3679 remove unused variables causing warnings.
3681 * configure.in: cleanup checks - require gail.
3683 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3686 Changed Value interface to use SValue (scalars) rather than
3687 assuming all values are floats. This allows floats, doubles,
3688 longs, shorts, and unsigned values to be manipulated.
3689 Introduced Accessibility:SValue union.
3692 Updated to use new API above, and to work correctly with GValues
3693 of different types in AtkValue.
3696 Updated to use new API above. cspi's API is as yet unchanged.
3699 Updated the Value revision action item.
3701 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3703 * test/test-simple.c:
3704 Added test_table (GtkTreeView widget in test window to follow).
3705 Un-commented test_value, added GtkRange widget.
3706 Added GtkTreeView widget with GtkListStore. It passes regression
3707 test but leaks one SPI object for some reason.
3710 Fixed bug in impl__set_currentValue.
3712 2001-12-10 Michael Meeks <michael@ximian.com>
3714 * cspi/spi_text.c: audit for exception handling,
3715 tolerating NULL object references safely etc.
3717 * cspi/spi_value.c: ditto.
3719 * cspi/spi_table.c (AccessibleTable_getSummary),
3720 (AccessibleTable_getAccessibleAt),
3721 (AccessibleTable_getRowHeader),
3722 (AccessibleTable_getColumnHeader),
3723 (AccessibleTable_getCaption): fix bugs hidden by
3725 (long_seq_to_array): impl.
3726 (AccessibleTable_getSelectedRows),
3727 (AccessibleTable_getSelectedColumns): use it.
3729 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3732 Added a TODO list (rough and short for now).
3734 * cspi/spi_hyperlink.c:
3735 * cspi/spi_hypertext.c:
3736 Fixed macro name typos, and remove use of obsolete macro in
3737 AccessibleHyperlink_getLink.
3739 * cspi/spi_action.c:
3740 * cspi/spi_accessible.c:
3741 * cspi/spi_application.c:
3742 * cspi/spi_component.c:
3743 * cspi/spi_selection.c:
3746 Documentation fixes (removed return values from ref/unref methods).
3748 2001-12-10 Michael Meeks <michael@ximian.com>
3750 * cspi/spi_action.c: audit for exception handling,
3751 tolerating NULL object references safely etc.
3753 * cspi/spi_accessible.c: ditto.
3755 * cspi/spi_component.c: ditto.
3757 * cspi/spi_editabletext.c: ditto.
3759 * cspi/spi_hyperlink.c: ditto.
3761 * cspi/spi_hypertext.c: ditto.
3763 * cspi/spi_image.c: ditto.
3765 * cspi/spi_selection.c: ditto.
3767 2001-12-10 Michael Meeks <michael@ximian.com>
3769 * configure.in: use cspi/libspi.pc.in instead.
3771 * Makefile.am (pkgconfig_DATA): upd. to match.
3773 * test/simple-at.c (report_focus_event): kill hacks around
3774 bad return values, use putenv not setenv
3776 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
3777 fire ChildGone - I killed it.
3779 * libspi/component.c
3780 (impl_accessibility_component_get_extents): remove
3783 * idl/Accessible.idl: kill ChildGone exception.
3785 * cspi/*.[ch]: kill int return from ref / unref.
3787 * cspi/spi_main.c (cspi_object_add_check): fold into
3788 (cspi_object_add): here.
3790 * cspi/spi_component.c (AccessibleComponent_getExtents):
3791 handle exceptions elegantly.
3793 * cspi/spi-private.h (cspi_check_ev_return),
3794 (cspi_return_if_fail): impl.
3796 * cspi/spi_accessible.c: use extensively.
3797 (AccessibleStateSet_equals): add direct compare check.
3799 * cspi/spi_selection.c: tolerate NULL objs, and check
3800 exceptions before return.
3802 * cspi/spi-util.c (cspi_warn_ev): rename to
3803 (cspi_check_ev): this & don't pass ev in; no point.
3805 2001-12-10 Michael Meeks <michael@ximian.com>
3807 * test/test-simple.c: use putenv not setenv
3808 (get_environment_vars): more chatty if you're not using
3811 * test/simple-at.c: do the setenv so more people see the
3814 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3816 * libspi/registry.c:
3817 Changed check of CORBA_environment on notification to be a warning
3818 instead of an error for the moment, since we can recover from this
3819 error when caused by a queued notification from a dead app.
3822 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
3823 used by all current implementors of AtkValue), and coerce to
3824 CORBA_float. (Proper general case fix may require change to Value.idl).
3826 2001-12-09 Bill Haneman <bill.haneman@sun.com>
3830 * cspi/spi_accessible.c:
3831 Documentation fixes: added user_data params to documentation for
3832 listeners and callbacks.
3834 * cspi/spi_accessible.c:
3835 Changed AccessibleStateSet_compare to return a
3836 StateSet rather than return the difference set into a third parameter.
3839 2001-12-09 Bill Haneman <bill.haneman@sun.com>
3842 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
3843 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
3847 Remove subdirectory po from SUBDIRS for now.
3849 * at-bridge/bridge.c:
3850 Beefed up a couple of debug printouts.
3851 One-line fix for signal notification name formatting.
3853 * libspi/accessible.c:
3854 Added assertion to spi_accessible_new ().
3856 * libspi/application.c:
3857 Put #ifdef qualifiers around a printf.
3860 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
3862 * registryd/Makefile.am:
3864 Replaces use of XML_I18N_MERGE_SERVER_RULE with
3865 INTLTOOL_SERVER_RULE macro.
3868 Added an event listener for several ATK signals, for
3869 testing and debugging. Removed a few g_warnings.
3870 Added test output if focussed item implements the Value interface.
3872 * test/test-simple.c:
3873 Added test_value () function (known not to pass at the moment, so
3874 not actually called yet.
3876 2001-12-08 Michael Meeks <michael@ximian.com>
3878 * at-bridge/bridge.c (bridge_focus_tracker),
3879 (emit_eventv): fix the same ref. leak.
3880 (register_atk_event_listeners): don't leak.
3882 * cspi/spi-listener-impl.c (cspi_event): more
3883 protection from client code.
3885 * test/test-simple.c (test_desktop): unref the app.
3887 * test/Makefile.am: upd. TESTS.
3889 * at-bridge/bridge.c (bridge_exit_func): release the registry.
3891 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
3893 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
3895 * cspi/spi_registry.c: constify in strings.
3896 (deregisterGlobalEventListenerAll): don't release the ref.
3898 * cspi/spi.h: start removing redundant / conflicting
3899 gtkdoc comments, making the API readable at a glance :-)
3901 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
3903 * test/keysynth-demo.c (keysynth_exit, main): upd.
3905 * test/simple-at.c (main, simple_at_exit): upd.
3907 * test/test-simple.c (unutterable_horror): kill.
3908 (utterable_normal_derefs): kill.
3909 (main): upd & do a setenv before gtk_init, so that we
3910 can use memprof - and to save the pain of remembering
3911 this, if we're running under memprof - don't exit.
3913 * cspi/spi_main.c (SPI_exit): return exit status
3915 (SPI_event_quit): impl.
3916 (SPI_event_main): simplify.
3917 (cspi_is_gnome_app): kill.
3918 (SPI_init): kill isGNOMEapp arg.
3920 * at-bridge/bridge.c (register_atk_event_listeners):
3921 re-instate the unref.
3922 (bridge_exit_func): don't re-activate the registry,
3923 protect vs. theoretical re-entry, use the
3924 AT_BRIDGE_SHUTDOWN env. var to determine whether to
3925 assert a clean shutdown - for regression tests.
3927 2001-12-08 Abel Cheung <maddog@linux.org.hk>
3929 * configure.in: Comment out dummy i18n support for now,
3930 otherwise it fails to build.
3931 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
3932 EXTRA_DIST. They are missing in tarball.
3934 2001-12-07 Michael Meeks <michael@ximian.com>
3936 * util/magnifier.c: kill bonobo activation reg. race.
3938 * libspi/component.c
3939 (impl_accessibility_component_get_extents): make it match
3942 * libspi/registry.c (_registry_notify_listeners):
3943 re-remove X headers & reconcile conflicts.
3944 (spi_listener_struct_free): bad conflict resolve.
3945 (impl_accessibility_registry_register_application):
3946 more bad merging fixed.
3947 (impl_accessibility_registry_deregister_application): ditto.
3948 (spi_registry_new): ditto.
3949 (spi_registry_init): don't have an applications field.
3951 [ merge fixups2 branch to here ]
3952 2001-12-07 Michael Meeks <michael@ximian.com>
3954 * test/simple-at.c (report_focus_event),
3955 (report_focussed_accessible): remove g_warning debug.
3957 2001-12-07 Michael Meeks <michael@ximian.com>
3959 * test/test-simple.c (validate_tree): comment out some checks.
3960 (test_desktop): app now not registered idly - horay.
3962 2001-12-07 Michael Meeks <michael@ximian.com>
3964 * cspi/spi_registry.c
3965 (registerAccessibleKeystrokeListener): clean, stop it leaking
3966 great swathes of memory, and device event controller references.
3967 ensure we always pass valid sequences.
3968 (deregisterAccessibleKeystrokeListener): ditto.
3969 (generateKeyEvent): upd.
3971 * at-bridge/bridge.c (bridge_key_listener): handle
3972 registry dead exception gracefully.
3973 (bridge_focus_tracker, emit_eventv): free ev.
3975 * test/simple-at.c (report_focus_event): fix polarity.
3977 * libspi/application.c (notify_listeners): kill the ev
3978 argument, and make sure we init the ev we use.
3979 (spi_application_object_event_listener): split out a chunk
3980 (get_atk_object_ref): here & fixup.
3981 (reverse_lookup_name_for_toolkit_event): make const.
3982 (spi_application_toolkit_event_listener): fixup, kill leaks
3985 * at-bridge/bridge.c (register_atk_event_listeners):
3986 don't unref the noop object - causes grief.
3988 * libspi/registry.c: remove the X headers.
3989 turn off the debug churn.
3991 * libspi/accessible.c (spi_accessible_new_return): only
3992 release the ref if we are supposed to [doh]
3994 * test/simple-at.c (report_button_press, report_focus_event):
3995 guard vs. unexpected exit.
3997 * at-bridge/bridge.c (gtk_module_init): prune printf.
3998 (bridge_exit_func): fix app unref.
4000 * libspi/Makefile.am: don't install registry or desktop.h
4002 * libspi/*.h: update includes.
4004 * libspi/application.h: don't include ourself, or
4005 other redundant headers.
4007 2001-12-06 Michael Meeks <michael@ximian.com>
4009 * libspi/accessible.c
4010 (get_accessible_from_servant): impl.
4011 Upd. all CORBA impl.s to use it killing cut and paste.
4013 * cspi/spi_main.c (cspi_cleanup): guard vs. double
4015 (SPI_init): register atexit cleanup handler here.
4017 2001-12-06 Michael Meeks <michael@ximian.com>
4019 * at-bridge/bridge.c (gtk_module_init): g_error on
4020 activation exception
4022 2001-12-06 Michael Meeks <michael@ximian.com>
4024 * at-bridge/bridge.c (gtk_module_init): some sort of
4025 confusing merge clash - reverted.
4026 (bridge_idle_init): ditto.
4028 * test/test-simple.c (main, utterable_normal_derefs):
4029 merge from Bill - somehow not committed.
4031 2001-12-06 Michael Meeks <michael@ximian.com>
4033 * libspi/value.c (spi_value_class_init): upd.
4034 (spi_value_finalize): kill.
4036 * libspi/table.c (spi_table_finalize): kill.
4037 (spi_table_interface_new): upd.
4038 (spi_table_class_init): upd.
4039 (get_table_from_servant): impl.
4040 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4042 * libspi/selection.c (spi_selection_finalize): kill.
4043 (spi_selection_interface_new): upd.
4044 (spi_selection_class_init): upd.
4045 (get_selection_from_servant): impl.
4046 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4048 * libspi/relation.c (spi_relation_finalize): kill.
4049 (spi_relation_class_init, spi_relation_new): upd
4051 * libspi/image.c (spi_image_finalize): kill.
4052 (spi_image_class_init): upd.
4053 (spi_image_interface_new): upd.
4054 (get_image_from_servant): impl.
4055 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4057 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
4058 (spi_hyperlink_finalize): kill.
4059 (spi_hyperlink_new): upd.
4060 (get_hyperlink_from_servant): impl.
4061 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4063 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
4064 (spi_hypertext_finalize): kill.
4065 (spi_hypertext_class_init): upd.
4066 (get_hypertext_from_servant): impl.
4067 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4069 * libspi/editabletext.c (spi_editable_text_finalize): kill.
4070 (spi_editable_text_interface_new): upd.
4071 (get_editable_text_from_servant): impl.
4072 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4074 * libspi/text.c (get_text_from_servant): impl.
4075 All impls - update to use it killing more cut and paste,
4076 also fix bad string returns on duff args ( a somewhat
4077 impossible case to handle - but hey ).
4078 (spi_text_construct): impl.
4079 (spi_text_interface_new): upd.
4080 (spi_text_object_finalize): kill.
4082 * libspi/component.c
4083 (accessibility_component_object_finalize): kill.
4084 (spi_component_class_init): upd.
4085 (get_component_from_servant): impl. helper to kill cut & paste.
4086 (impl_accessibility_component_contains):
4087 (impl_accessibility_component_get_accessible_at_point):
4088 (impl_accessibility_component_get_position):
4089 (impl_accessibility_component_get_extents):
4090 (impl_accessibility_component_get_mdi_z_order):
4091 (impl_accessibility_component_get_layer):
4092 (spi_component_interface_new): upd.
4094 * libspi/action.c (spi_action_finalize): kill.
4095 (spi_action_class_init): upd. inherit from SpiObject.
4096 (spi_action_interface_new): upd.
4097 (get_action_from_servant): impl. helper to reduce cut & paste.
4098 (impl_getKeyBinding, impl_getName, impl_doAction),
4099 (impl_getDescription): Use it everywhere.
4101 * cspi/spi_main.c (get_live_refs): a pointer hash.
4102 (spi_object_hash, spi_object_equal): comment out.
4103 There are issues with CORBA object hashing that need
4106 * libspi/application.c (spi_application_init),
4107 (spi_application_new): upd.
4109 * libspi/accessible.c (spi_accessible_object_finalize): kill.
4110 (spi_accessible_class_init): upd.
4111 s/accessible/object/ in epv methods.
4113 2001-12-05 Bill Haneman <bill.haneman@sun.com>
4115 * at-bridge/bridge.c:
4116 Reorder the bridge initialization into the bridge gtk_module_init,
4117 an immediate call to bridge_register_app, and an idle_add for
4118 register_atk_event_listeners (the only code that *must* wait until
4119 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
4120 the activation, creates the application's Accessible object, and
4121 queues the bridge_idle_init function. Restored call to
4122 Accessibility_Registry_deregisterApplication().
4123 Prior to making this call we obtain a new reference to the
4124 registry, which is a temporary hack that helps us handle apps that
4125 shut down the bonobo mainloop before we get there.
4127 * libspi/registry.c:
4128 Fix string leakage in debug block, and don't segv if a an app
4129 dies before its event notifications have been propagated.
4132 Modify cspi_check_ev() to call g_warning() rather than g_error(),
4133 as stopgap measure until we get proper exception handling when
4134 objects die during or before interrogation.
4138 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
4139 Also changed default value of is_gnome_app to TRUE.
4142 * test/keysynth-demo.c:
4143 Changed use of SPI_init and SPI_event_main to reflect API change above.
4146 Made report_focus_event check the warning value from getName
4147 before reporting on focussed accessible; simplifies handling of
4148 notifications from dead objects.
4150 * test/test-simple.c: (Changes not in this patch since source is
4153 2001-12-05 Michael Meeks <michael@ximian.com>
4155 * registryd/registryd.c (main): protect against
4156 bonobo-activation startup race condition.
4158 * cspi/spi_main.c (cspi_object_add_check): cope
4159 with the exception elegantly.
4161 * idl/Accessible.idl: decl. ChildGone
4163 * libspi/desktop.c (spi_desktop_dispose): impl.
4164 (spi_desktop_class_init): upd.
4165 (spi_desktop_add_application),
4166 (spi_desktop_remove_application),
4167 (abnormal_application_termination): impl.
4168 (impl_desktop_get_child_at_index): re-impl.
4171 (impl_accessibility_registry_deregister_application),
4172 (impl_accessibility_registry_register_application):
4173 kill excessive debug clutter.
4175 * test/test-simple.c (test_misc): test some NULL
4176 tolerance. (main): upd.
4178 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
4179 implements no interfaces - so let's not crash.
4181 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
4183 * libspi/accessible.c (spi_accessible_new_return): impl.
4184 helper to calm the cut and paste, to cope with
4185 NULL AtkObjects effectively and efficiently, and to kill
4186 the referencing bugs.
4188 * libspi/table.c (impl_getAccessibleAt),
4189 (impl_getRowHeader, impl_getColumnHeader): upd.
4191 * libspi/hyperlink.c (impl_getObject): upd.
4193 * libspi/accessible.c
4194 (impl_accessibility_accessible_get_child_at_index): upd.
4196 * libspi/component.c
4197 (impl_accessibility_component_get_accessible_at_point): upd.
4199 * test/test-simple.c (test_editable_text, test_text): impl.
4202 * cspi/spi_editabletext.c
4203 (AccessibleEditableText_insertText): constify.
4205 * test/test-simple.c (focus_me): make more robust.
4207 * libspi/accessible.c: remove some printfs in methods that
4208 we test and work fine, so we can get a clean tree dump.
4210 * test/test-simple.c (validate_accessible),
4211 (validate_tree): make tree dumping pretty too.
4213 * at-bridge/bridge.c (bridge_signal_listener): upd. so
4214 it builds without debug on.
4216 * test/test-simple.c (validate_accessible): fix the most
4219 * cspi/spi_main.c (spi_object_release): leave the nicely
4220 blanked memory around if in debug mode.
4222 * cspi/spi-listener-impl.c (cspi_event): use add_check.
4224 [committed to fixups2]
4225 2001-12-05 Michael Meeks <michael@ximian.com>
4227 * libspi/editabletext.c
4228 (spi_editable_text_class_init): g_type_class_peek_parent,
4229 not interface peek - so we finalize cleanly.
4231 * libspi/accessible.c (spi_accessible_new): kill debug.
4233 * test/test-simple.c (validate_accessible): fix ref.
4234 leak, print strings before freeing them; sigh, comment a
4235 chunk out due to strangeness.
4236 (validate_tree): unref the child after use.
4238 * cspi/spi_component.c (AccessibleComponent_getLayer):
4239 add missing break statement, switch on zlayer not the
4240 uninitialized retval.
4242 * cspi/spi_main.c (cspi_object_add): add assert, local ref
4243 before (possibly re-entering) remote unref.
4245 * test/simple-at.c (main): unref the desktop.
4247 * cspi/spi_accessible.c (cspi_accessible_is_a): move
4250 * cspi/spi_main.c (cspi_accessible_is_a): here to
4251 isolate bonobo API usage more.
4253 * libspi/registry.c (impl_accessibility_registry_register_application):
4254 prune bogus comment.
4256 2001-12-04 Michael Meeks <michael@ximian.com>
4258 * test/test-simple.c (validate_tree): upd.
4259 IndexInParent check to make it more lucid.
4260 (validate_accessible): dump the tree.
4262 * libspi/accessible.c (de_register_public_ref),
4263 (get_public_refs): impl.
4264 (spi_accessible_new): make more efficient & intuitive.
4265 Now IndexInParent check works.
4267 2001-12-04 Michael Meeks <michael@ximian.com>
4269 * cspi/spi-util.h: remove.
4271 * cspi/spi.h: move SPI_freeString here
4273 * libspi/component.c (impl_accessibility_component_get_layer):
4275 (impl_accessibility_component_get_mdi_z_order): ditto,
4276 return -1 on error - is this ok ?
4278 * test/test-simple.c (test_application): impl.
4280 * cspi/spi_accessible.c (Accessible_getApplication),
4281 (Accessible_isApplication): impl.
4283 * libspi/registry.c (spi_listener_struct_free): release
4284 the CORBA reference too.
4286 * libspi/accessible.c
4287 (impl_accessibility_accessible_get_parent): fix ref leak.
4289 * libspi/registry.c (spi_registry_new): make the registry
4290 immortal - we don't want it to go away ever.
4292 * libspi/application.c
4293 (spi_accessible_application_finalize): impl. cleanup.
4295 * cspi/spi_registry.c
4296 (deregisterGlobalEventListenerAll),
4297 (deregisterGlobalEventListener),
4298 (deregisterAccessibleKeystrokeListener): fix ref leak.
4300 * cspi/spi_main.c (SPI_init): remove redundant ref.
4302 * test/test-simple.c (unutterable_horror): impl. to force a
4307 (impl_accessibility_registry_deregister_application): release
4308 the application when we de-register it.
4310 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
4311 until we have the infastructure to get it right.
4313 2001-12-03 Michael Meeks <michael@ximian.com>
4315 * libspi/Makefile.am: only build eventlistener.[ch]
4317 * libspi/accessible.c
4318 (impl_accessibility_accessible_get_child_at_index): don't leak.
4320 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
4321 before we hit the idle handler.
4323 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
4324 debugging than exit.
4326 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
4328 * libspi/listener.c (impl_notify_event): check source
4329 not NIL before unref.
4331 * libspi/registry.c (impl_registry_notify_event): ditto.
4333 * libspi/eventlistener.c
4334 (impl_accessible_event_notify_event): unref the source.
4336 * libspi/accessibleeventlistener.c
4337 (impl_accessible_event_notify_event): unref the source.
4339 * idl/Event.idl: remove 'hash_id' attribute - of no
4342 * libspi/application.c (notify_listeners): upd list
4344 (spi_application_object_event_listener),
4345 (spi_application_toolkit_event_listener): upd to do correct
4349 (_registry_notify_listeners): update.
4350 (parse_event_type): this method also leaks like a sieve.
4351 (impl_accessibility_registry_deregister_global_event_listener):
4352 fix ETYPE_WINDOW case.
4354 * libspi/application.c
4355 (impl_accessibility_application_register_object_event_listener):
4358 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
4360 * libspi/hypertext.c (impl_getLink): ditto.
4362 * cspi/spi_main.c (cspi_object_add): remove
4363 bogus CORBA_Object_duplicate.
4365 * cspi/spi-listener-impl.c (cspi_event): dup/ref
4368 * cspi/spi_accessible.c
4369 (Accessible_getRelationSet): fix leak / referencing issue.
4371 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
4372 (cspi_object_add, cspi_object_unref): upd.
4373 (spi_object_release, get_live_refs): impl.
4374 (cspi_cleanup): simplify.
4376 * *.[ch]: s/boolean/SpiBoolean/
4378 * cspi/spi_accessible.c (role_names): actualy order so it
4379 corresponds with the enum !
4381 * test/test-simple.c (test_roles): check some role strings
4382 vs. enums to detect offset errors.
4384 2001-12-01 Michael Meeks <michael@ximian.com>
4386 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
4388 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
4390 (Accessible_getChildAtIndex): use cspi_add_check so we
4391 check the ev before using a (possibly) invalid value.
4393 * libspi/accessible.c
4394 (impl_accessibility_accessible_get_parent): don't segv
4397 * at-bridge/bridge.c (gtk_module_init): upd.
4398 (bridge_property_event_listener): don't leak strings
4400 (bridge_state_event_listener),
4401 (bridge_property_event_listener): don't use a static
4402 buffer in case of recursive event emission &
4403 re-enterancy - split out the swathe of cut and paste
4405 (emit_eventv): and fix 2 ref leaks here & comply to the
4407 (bridge_register_app): rename to
4408 (bridge_idle_init): this and kill arg parsing, split
4409 various inits & bonobo-activation registration to module
4410 init time, kill referencing error.
4411 (bridge_exit_func): fix the same leak.
4412 (bridge_focus_tracker): don't leak event structures
4414 (bridge_signal_listener): more leakage and cut & paste
4416 (bridge_key_listener): return the result - FIXME is
4417 this polarity correct ?
4418 (accessibility_keystroke_from_atk_key_event): rename
4419 (accessibility_init_keystroke_from_atk_key_event): and stop
4421 (gtk_module_init): return a value - not that it is checked by
4423 (bridge_key_listener): register my horror at casting between
4424 IDL defined structs.
4425 (bridge_get_registry): kill - not used.
4427 * cspi/spi_accessible.c (Accessible_getRole): make return const.
4429 * test/test-simple.c (test_roles): impl.
4430 (test_desktop, validate_accessible, validate_tree): impl.
4432 * cspi/spi_accessible.c (role_names): fixup bogus
4433 MAX_ROLES setup, make constants const for efficient linkage
4434 (AccessibleRole_getName): conform to coding style, make
4437 2001-11-30 Michael Meeks <michael@ximian.com>
4439 * cspi/spi.h: add missing prototype.
4441 * libspi/registry.c (spi_listener_struct_new): fix sig.
4443 * test/Makefile.am: add test-simple
4445 * test/test-simple.c: add
4447 * test/test.sh: add.
4449 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
4451 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
4452 do it straight - since otherwise we often get an activation race.
4454 [ work before Bill duplicated a chunk of it ... ]
4455 2001-11-30 Michael Meeks <michael@ximian.com>
4457 * libspi/keystrokelistener.c
4458 (spi_keystroke_listener_class_init): fixup arg
4461 * libspi/eventlistener.c
4462 (spi_event_listener_class_init): ditto.
4464 * tests/test.sh: add.
4466 * cspi/spi-listener-impl.h: update macros.
4468 * cspi/spi-listener-impl.c
4469 (cspi_event_listener_remove_callback): add
4470 correct pre-conditions.
4472 * cspi/spi_main.c (SPI_exit): guard vs. double
4473 exits, exit the mainloop nicely.
4474 (SPI_event_main): make more sense.
4475 (SPI_init): move the atexit evilness here so we
4476 always do it (yuck).
4477 (SPI_event_main): upd.
4479 * test/simple-at.c: update for listener changes.
4481 * registryd/registryd.c (main): prune kruft.
4483 * libspi/libspi.h: upd.
4485 * libspi/eventlistener.[ch]: rename broken macros.
4487 * libspi/accessibleeventlistener.[ch]: remove.
4489 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
4491 * test/test-simple.c: Add - automated tests.
4493 * cspi/spi-listener-impl.c (cspi_event),
4494 (cspi_key_event): add user_data to invoke.
4495 (cspi_keystroke_listener_finalize): impl.
4496 (cspi_keystroke_listener_class_init): upd.
4499 (createAccessibleEventListener),
4500 (AccessibleEventListener_addCallback),
4501 (createAccessibleKeystrokeListener),
4502 (AccessibleKeystrokeListener_addCallback): upd.
4504 * libspi/deviceeventcontroller.c
4505 (spi_device_event_controller_check_key_event): add public proto.
4508 (impl_accessibility_registry_deregister_global_event_listener):
4509 always init listeners.
4510 (_registry_notify_listeners): yes it is.
4512 * cspi/spi-listener-impl.c (cspi_key_event):
4514 (cspi_event_listener_finalize): impl.
4515 (cspi_event_listener_class_init): hook up.
4516 (event_handler_new, event_handler_free),
4517 (event_list_remove_by_callback): impl.
4518 (cspi_event_listener_remove_callback),
4519 (cspi_keystroke_listener_remove_callback),
4520 (cspi_keystroke_listener_add_callback),
4521 (cspi_event_listener_add_callback): upd.
4523 * libspi/keystrokelistener.c
4524 (keystroke_listener_object_finalize): kill
4525 (spi_keystroke_listener_class_init): upd.
4526 (spi_keystroke_listener_add_callback),
4527 (spi_keystroke_listener_remove_callback): kill,
4529 (impl_key_event): prune drasticaly.
4531 * libspi/eventlistener.c
4532 (spi_event_listener_add_callback),
4533 (spi_event_listener_remove_callback): kill, use
4535 (impl_accessible_event_notify_event): upd.
4536 (spi_event_listener_object_finalize): remove.
4538 * libspi/Makefile.am: use eventlistener.[ch]
4540 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4542 * libspi/registry.c (_registry_notify_listeners):
4543 Changed listener loop iteration to use preferred convention.
4544 Got rid of string memory leaks caused be calling g_strconcat
4545 inside function calls.
4547 * libspi/registry.c (parse_event_type):
4548 Stopped g_strconcat memory leaks, free the g_strsplit return,
4549 g_strdup the split pieces when used, etc.
4551 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4554 Change method 'compare' to return a 'difference set' rather than
4555 taking a StateSet as an out parameter (more Java-friendly).
4557 * idl/Accessible.idl:
4558 Added CORBA struct 'BoundingBox', to faciliate API changes below:
4560 * idl/Component.idl:
4562 Changed methods 'getExtents' and 'getImageExtents' in these
4563 interfaces to return a BoundingBox structure.
4564 (getPosition and getSize are redundant and possibly should be
4565 removed, rather than creating a corresponding Point struct.)
4567 * cspi/spi_component.c:
4568 Modify implementation of getExtents to reflect the above IDL
4573 Add (missing) AccessibleImage_getExtents () API.
4575 * docs/reference/cspi/at-spi-cspi-sections.txt:
4576 Added AccessibleImage_getImageExtents () to docs.
4578 2001-12-03 Bill Haneman <bill.haneman@sun.com>
4580 * idl/Component.idl:
4581 Added two methods, getLayer () and getMDIZOrder (), to reflect
4582 the new ATK methods atk_object_get_layer and
4583 atk_object_get_mdi_z_order. (Which arguably should be part of the
4584 AtkComponent API and AtkObject). Also added an enum,
4585 ComponentLayer, for the first method's return value.
4587 * libspi/component.c:
4588 Added implementations for these methods.
4590 * cspi/spi_component.c:
4592 Added cspi binding methods for above,
4593 AccessibleComponent_getLayer() and
4594 AccessibleComponent_getMDIZOrder().
4595 Added cspi enum 'AccessibleComponentLayer'.
4597 * docs/reference/cspi/at-spi-cspi-sections.txt:
4598 Added above methods to docs.
4602 Changed typedef for 'boolean' type (and all references to it) to
4603 SPIBoolean, to avoid keyword clashes with C++.
4606 Changed usages of 'boolean' to SPIBoolean.
4608 * test/keysynth-demo.c:
4609 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
4610 app), except where SPIBoolean is required by the callbacks API.
4612 2001-12-02 Bill Haneman <bill.haneman@sun.com>
4614 * cspi/spi_registry.c:
4615 Removed obsolete X event loop for passive keygrabs (which now
4618 * registryd/registryd.c:
4619 Removed unnecessary call to gdk_init() [cruft]. This also allows
4620 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
4623 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4625 * docs/reference/cspi:
4626 Included docs for SPI_freeString in generated documentation.
4629 Renamed spi_freeString to SPI_freeString, for consistency. Added
4630 documentation for this function.
4633 Renamed spi_freeString to SPI_freeString, for consistency.
4634 Removed obsolete method declaration string_from_corba_string.
4636 * test/keysynth-demo.c:
4637 Small tweak to comments.
4640 Stopped leaking the strings returned from CSPI.
4642 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4644 Merged Michael's branch (see his ChangeLog entries below).
4646 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
4647 bridge is alive, release on exit.
4649 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
4650 Fix type check macro.
4653 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
4656 Added is_gnome_app static, and method cspi_is_gnome_app(),
4657 so we can call the appropriate shutdown routine at exit in SPI_exit.
4659 * cspi/spi_main.c (cspi_object_ref):
4660 Duplicate the corba object passed in, since we're keeping it around.
4662 * cspi/SPI_exit.c, cspi_cleanup:
4663 Moved the releasing of the live refs to its own function, so we
4664 can put it in g_atexit (). Call the appropriate shutdown API
4665 depending on whethe calling client is a gnome app or not
4666 (bonobo_main_quit or CORBA_ORB_shutdown).
4668 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
4669 Unref the listener when this method is called, after
4670 deregistration. Updated the API docs to note this behavior.
4672 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
4673 Bugfixes: Ref the bonobo object when returning a parent or child
4674 reference, or an AccessibleRelation. Generally made sure
4675 BonoboObject refcount is incremented whenever we return an
4678 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
4679 Fixed typo/bug in signal declaration.
4681 * libspi/accessibleeventlistener.h:
4684 * libspi/application.c (spi_application_new):
4685 Fixed leak in initialization.
4688 Remembered to increment bonobo-object refcount when returning
4689 children (applications) from desktop object.
4690 Added (empty) finalize method.
4692 * libspi/deviceeventcontroller.c:
4693 Hold a ref to listeners inside DEControllerKeyListeners.
4694 Added dec_key_listener_free() method. Use prepend instead of
4695 append in key_listener list. Fixed some refcount madness and
4696 leaks in the listener registration/deregistration - deregistration
4697 now calls dec_key_listener_free() on listeners, and on the
4698 temporarily constructed dec_key_listener() used to perform the search/match.
4700 * libspi/hypertext.c (spi_hypertest_finalize):
4701 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
4702 class. Also fixed spi_hypertext_interface_new() and
4703 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
4705 * libspi/hypertext.h:
4706 Removed pointless and duplicate AtkObject pointer from
4709 * libspi/keystrokelistener.c:
4710 Fixed incorrect type of keystroke_listener_parent_class,
4711 renamed keystroke_listener_object_finalize to
4712 spi_keystroke_listener_object_finalize.
4713 Fixed typo in signal declaration
4714 (spi_keystroke_listener_class_init).
4716 * libspi/registry.c:
4717 Added funcsions spi_listener_struct_new() and
4718 spi_listener_struct_free() to help with memory management issues.
4719 We also now use these methods instead of gnew + poking stuff into
4720 the struct, and to decrement listener counts/free the listeners
4721 when deregistering them.
4722 Fix more refcount bugs in getDesktop() and
4723 getDeviceEventController().
4726 De-ref the desktop after enumerating the applications. Explicitly
4727 decrement the refcounts on the created listeners on exit (using
4728 _unref for keystroke listeners, and via the
4729 deregisterGlobalEventListenerAll command for other event
4732 2001-11-27 Michael Meeks <michael@ximian.com>
4734 * cspi/spi-listener.h: fixup enum.
4736 2001-11-27 Michael Meeks <michael@ximian.com>
4738 * cspi/spi-listener-impl.c (cspi_event_listener_new),
4739 (cspi_keystroke_listener_new): Use the cspi variants.
4741 2001-11-26 Michael Meeks <michael@ximian.com>
4743 * test/keysynth-demo.c: fix 2 compile warnings, missing
4746 * test/simple-at.c (report_focussed_accessible),
4747 (report_focus_event, report_button_press),
4748 (check_property_change, is_command_key),
4749 (report_ordinary_key_event, report_command_key_event): upd.
4751 * util/mag_client.h: include pre-requisites.
4753 * libspi/accessibleeventlistener.c
4754 (spi_event_listener_object_finalize): free any lingering
4757 * libspi/keystrokelistener.c
4758 (keystroke_listener_object_finalize): ditto.
4760 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
4761 callbacks, with cspi types.
4763 * cspi/spi_event.c (createAccessibleEventListener): chain to
4764 (AccessibleEventListener_addCallback): here.
4765 (createAccessibleKeystrokeListener): chain to
4766 (AccessibleKeystrokeListener_addCallback): here.
4768 * libspi/keystrokelistener.c
4769 (spi_keystroke_listener_class_init): add signal.
4770 (impl_key_event): emit the event.
4771 (boolean_handled_accumulator): impl.
4772 (marshal_BOOLEAN__POINTER): add, gack.
4774 * libspi/accessibleeventlistener.c
4775 (spi_event_listener_class_init): add signal.
4776 (impl_accessible_event_notify_event): emit the signal &
4777 make the loop efficient.
4778 (spi_event_listener_add_callback): prepend the callback.
4780 * libspi/accessibleeventlistener.h: add an 'event' signal,
4781 decl type on callback.
4783 * libspi/keystrokelistener.h: ditto.
4785 * cspi/spi-listener.h: make methods typesafe and
4786 make them use the new event typedefs.
4788 * test/simple-at.c (report_focussed_accessible):
4789 include mag_client.h
4790 Use *(void *)text_interface not the other thing.
4792 * configure.in: add gtk to registryd bits - since we use
4795 * util/magnifier.c: include libbonobo.h
4797 2001-11-25 Bill Haneman <bill.haneman@sun.com>
4799 * test/keysynth-demo.c:
4800 Turned this into a simple scanning keyboard, to demonstrate the
4801 use of g_timeout_add () as a means of creating timers for
4802 scanning, and the use of GtkStyle for visually indicating when
4803 virtual keyboard elements are selected.
4805 keysynth-demo now listens to any keyboard keys with zero-valued
4806 keycodes (i.e. 'unused' keys) and interprets them as
4809 Reworked the shiftlatch code so that shift-down state isn't held
4810 for long periods (it's only synthesized immediately prior to
4811 the keysynth event it's modifying). Note that shiftlatch in this
4812 demo is a convenience, not intended to take the place of AccessX
4813 which is the better choice for getting 'sticky' modifier keys.
4815 * libspi/deviceeventcontroller.c:
4816 * at-bridge/bridge.c:
4817 * cspi/spi_registry.c:
4818 Removed some debug print stuff, and put other verbosity in #ifdef
4823 Implemented some more of the magnifier IDL for the simple
4824 magnifier: namely, getZoomRegionParams.
4825 Added mag_x and mag_y members to MagnifierData struct, aid of this
4827 Added GtkWindow::realize signal handler to magnifier, to keep it
4828 from receiving keyboard focus from the WM.
4830 2001-11-23 Mark McLoughlin <mark@skynet.ie>
4832 * cspi/spi-private.h: my guess at what michael forgot
4833 before he ran off to NZ :-)
4835 2001-11-23 Michael Meeks <michael@ximian.com>
4837 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
4838 comment out non existant method invoke so we link.
4840 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
4841 use bonobo_exception_get_text for more friendly warnings.
4843 * cspi/spi.c (Obj_Add): move into spi_main & rename
4844 spi_object_add; kill spi.c
4846 * cspi/spi_registry.c
4847 (deregisterGlobalEventListener),
4848 (deregisterGlobalEventListenerAll),
4849 (registerGlobalEventListener): fix exception leaks.
4851 * cspi/spi_main.c (spi_exception): impl. helper, so we
4852 don't leak exceptions.
4854 * cspi/spi_selection.c
4855 (AccessibleSelection_deselectSelectedChild): return the
4858 * cspi/spi_main.c (spi_ev): impl; hack - gack.
4859 (spi_registry): ditto.
4860 (SPI_init): guard against double inits.
4862 * cspi/*.c: use spi_ev (), and spi_registry () where
4863 appropriate - a temporary hack until we have something
4864 better. Use spi_object_add
4866 2001-11-22 Michael Meeks <michael@ximian.com>
4868 * cspi/Makefile.am: re organise, install the headers.
4870 * cspi/*.h: add G_BEGIN/END_DECLS
4872 2001-11-22 Bill Haneman <bill.haneman@sun.com>
4875 Added non-preemptive keylistener for key events with no modifiers
4876 and shift-only modifier.
4878 * libspi/keystrokelistener.c:
4879 Removed some verbose diagnostics printout.
4881 * cspi/spi_registry.c:
4882 Fixed a bug that caused all key listeners to be registered as
4885 * libspi/deviceeventcontroller.c:
4886 Fixed bug that caused XGrabKey (preemptive key grab) to be called
4887 for non-preemptive key masks.
4890 2001-11-22 Bill Haneman <bill.haneman@sun.com>
4892 * docs/reference/idl/at-spi-idl-docs.sgml:
4893 * docs/reference/idl/at-spi-idl-sections.txt:
4894 * docs/reference/idl/at-spi-idl-overrides.txt:
4895 Added missing files.
4897 * docs/reference/Makefile.am:
4898 removed idl from SUBDIRS until we can figure a way to get gtk-doc
4899 to scan the IDL files :-(
4904 Added .cvsignore files.
4906 2001-11-21 Bill Haneman <bill.haneman@sun.com>
4908 * libspi/deviceeventcontroller.c:
4909 * libspi/keystrokelistener.c:
4911 * cspi/spi_registry.c:
4912 Added filters for KeySets, KeyEventSeq, and event types to key
4913 event dispatching, so listeners should only receive those events
4914 that they requested :-)
4916 2001-11-21 Bill Haneman <bill.haneman@sun.com>
4921 * docs/reference:Makefile.am:
4922 * docs/reference/cspi:
4923 * docs/reference/cspi:Makefile.am:
4924 * docs/reference/cspi:tmpl:
4925 * docs/reference/cspi:tmpl:*.sgml:
4926 * docs/reference/idl:
4927 * docs/reference/idl:Makefile.am:
4928 * docs/reference/idl:at-spi-idl-sections.txt:
4929 * docs/reference/idl:at-spi-idl-docs.sgml:
4930 * docs/reference/idl:tmpl:
4931 * docs/reference/idl:tmpl:*.sgml:
4933 Restructured docs directory to allow separate 'reference' docs
4934 section, and forked idl and cspi docs. Added the sgml template
4935 files to CVS. Added the first sections/structural sgml for the
4938 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
4940 * configure.in, libspi/Makefile.am: find libXtst.
4942 2001-11-21 Michael Meeks <michael@ximian.com>
4944 * test/accessx-gui.c: s/spi_value/value/ - doh.
4946 * libspi/base.[ch]: add.
4948 2001-11-18 Bill Haneman <bill.haneman@sun.com>
4950 * idl/Accessible.idl:
4951 * idl/Application.idl:
4954 Started gtk-doc cleanup on IDL.
4956 * libspi/deviceeventcontroller.c:
4957 Added and connected non-preemptive key notification from the
4958 toolkits (in addition to the pre-emptive support from XServer
4959 which we had before, but which causes 'focus flashing'). Filters
4960 are presently limited to key modifiers and global/non-global,
4961 KeySets are presently ignored, as are KeyEvent masks.
4963 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
4964 structs into the persistant structure rather than just storing
4965 pointers to things that might not persist across servant
4968 The XGrabKey call now does async keygrabs, because synchronous
4969 ones were deadlocking with GDK_event code in a very nasty way.
4971 Added boolean to internal method notify_keylisteners, to indicate
4972 whether the event came from the 'toolkit source' or the 'global
4973 (XServer) source' - this is used in the notification process to
4974 determine which listeners to send the event to.
4976 deviceeventcontroller.c is now warning-free.
4978 * libspi/registry.c:
4979 Fixed regression in application de-registration.
4980 Also fixed some really brain-dead weirdness having to do with
4981 event dispatching - event structs are now duplicated before being
4982 re-marshalled in the dispatch to listeners. This also fixes a
4983 Solaris build problem.
4986 2001-11-20 Michael Meeks <michael@ximian.com>
4989 (impl_accessibility_registry_deregister_global_event_listener):
4992 * libspi/deviceeventcontroller.c
4993 (spi_device_event_controller_check_key_event): return
4994 FALSE on no virtual method.
4996 * libspi/*..h: make includes work on a correctly pathed install.
4998 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
5000 * libspi/application.h: kill unused ( and whacked out )
5001 gboolean *spi_application_set_id (AtkObject *app, long id);
5003 2001-11-20 Michael Meeks <michael@ximian.com>
5005 * libspi/*.[ch]: further convert to bonobo's type func
5006 macros, remove redundnant casts etc.
5008 * libspi/text.c s/accessibility_text/spi_text/g,
5009 re-order to de-cruft.
5011 * libspi/hypertext.c: re-order to kill a huge slew
5012 of redundant forward decls.
5014 * libspi/relation.c: ditto.
5016 * libspi/image.c: ditto.
5018 * */.cvsignore: update
5020 2001-11-20 Michael Meeks <michael@ximian.com>
5022 * libspi/deviceeventcontroller.c
5023 (_controller_register_with_devices): use g_getenv,
5024 kill stdlib.h include.
5026 * libspi/keystrokelistener.c
5027 (spi_keystroke_listener_get_type): kill
5028 (spi_keystroke_listener_class_init),
5029 (spi_keystroke_listener_init): rename to this.
5031 * libspi/text.c (impl_getAttributes): fix warning / bug.
5033 * libspi/*.[ch]: more headers, includes and over commenting.
5035 2001-11-20 Michael Meeks <michael@ximian.com>
5037 * libspi/*.[ch]: fixup headers, includes and over commenting.
5039 * libspi/image.c (impl__get_imageDescription): const
5040 correctness warning fix. remove redundant casting.
5042 * libspi/table.c (impl_getRowDescription): ditto.
5043 (impl_getColumnDescription): ditto.
5045 * libspi/libspi.h: add.
5047 2001-11-19 Michael Meeks <michael@ximian.com>
5049 * libspi/editabletext.c (impl_setAttributes): fix warnings.
5051 * libspi/component.c (accessibility_component_get_type):
5052 rename to (spi_component_get_type): and macroify.
5053 (accessibility_component_init): rename to
5054 (spi_component_init): this
5055 (accessibility_component_class_init): rename to
5056 (spi_component_class_init): this
5058 * libspi/action.c (spi_action_get_type): kill, use the macro.
5060 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
5063 * libspi/application.c (spi_application_object_event_listener),
5064 (impl_accessibility_application_register_object_event_listener):
5065 warning fixes / const understanding updates.
5067 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
5070 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5072 * libspi/spi_accessible.c: Added docs and C bindings for
5073 AccessibleStateSet. (No implementations yet). Documentation
5074 coverage for C bindings now 100%. Made docs for event listeners
5079 boolean notifyListenersSync (in DeviceEventListener listener,
5080 in DeviceEvent event);
5082 oneway void notifyListenersAsync (in DeviceEventListener listener,
5083 in DeviceEvent event);
5085 Added DeviceEventListener and DeviceEvent structs (may deprecate
5086 KeyStroke and KeystrokeListener in favor of this generic
5087 event/listener framework for devices).
5089 * libspi/deviceeventcontroller.c:
5091 Changed some key listener code to take masks, etc., and paved the
5092 way for integration of toolkit/non-preemptive key events. Changed
5093 signatures of some internal methods.
5095 * at-bridge/bridge.c:
5096 Fixed regression connecting to interface signals, apparently
5097 caused by GTK+ changes.
5099 Added an internal bridge_state_listener to deal with
5100 property-change:accessible-state signals.
5102 Changed the key_listeners GList to store structs (including masks,
5103 etc.) instead of just CORBA_Objects (required for full
5104 implementation of key listener API).
5106 Connected the bridge to all currently supported Atk signals.
5107 Events now supported:
5108 object:property-change
5109 object:property-change:accessible-name
5110 object:property-change:accessible-state
5111 object:property-change:accessible-description
5112 object:property-change:accessible-parent
5113 object:property-change:accessible-value
5114 object:property-change:accessible-role
5115 object:property-change:accessible-table-caption
5116 object:property-change:accessible-table-column-description
5117 object:property-change:accessible-table-column-header
5118 object:property-change:accessible-table-row-description
5119 object:property-change:accessible-table-row-header
5120 object:property-change:accessible-table-summary
5121 object:children-changed
5122 object:visible-data-changed
5123 object:selection-changed
5124 object:text-selection-changed
5126 object:text-caret-moved
5128 object:row-reordered
5130 object:column-inserted
5131 object:column-reordered
5132 object:column-deleted
5133 object:model-changed
5135 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5137 * libspi/hyperlink.c,h:
5138 Fixed some broken stuff in hyperlink.
5140 * libspi/relation.h:
5141 * libspi/relation.c:
5142 * cspi/spi_accessible.c:
5143 Initial implementations of AccessibleRelation methods, and docs.
5145 * libspi/accessible.c:
5146 Fixed a bug that caused SEGV if an accessible
5147 object's description is NULL, and a client
5148 requests it. An empty string is now returned.
5150 * cspi/spi_editabletext.c:
5151 * cspi/spi_hypertext.c:
5153 * cspi/spi_hyperlink.c:
5157 Doc coverage now 95%.
5159 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5161 One last namespacing revision:
5162 * libspi/accessibleeventlistener.[ch]:
5163 Renamed SpiAccessibleEventListener to SpiEventListener,
5164 (no need for two namespaces ;-)
5166 And lots of documentation fixes:
5168 * docs/at-spi-docs.sgml:
5169 Fixed 'underscore vs. hyphen' bug that was preventing
5170 the gtk-doc API docs from being automatically generated.
5173 * cspi/spi-listener.h
5175 * cspi/spi_accessible.c
5177 * cspi/spi_application.c
5178 * cspi/spi_component.c
5179 * cspi/spi_editabletext.c
5181 * cspi/spi_hypertext.c
5183 * cspi/spi_registry.c
5184 * cspi/spi_selection.c
5188 * docs/at-spi-docs.sgml
5189 * docs/at-spi-sections.txt
5191 Added and fixed up gtk-doc documentation in cspi.
5193 Interfaces now (fully) documented (subject to revision and enhancement):
5195 Event Listener Support
5197 AccessibleApplication
5201 AccessibleEditableText
5208 AccessibleRelationSet
5213 2001-11-14 Bill Haneman <bill.haneman@sun.com>
5215 * at-bridge/bridge.c:
5216 Initial work for toolkit-level key snooper connection by bridge.
5221 New typedefs and fixes to support new namespacing, and cleaner
5222 separation of cspi bindings from libspi bonobo implementation.
5223 Removed inconsistent and extraneous Spi* namespace prefix that
5224 had crept into cspi headers.
5225 Lots of comment fixes that sed had missed.
5227 * cspi/spi-roletypes.h:
5228 * cspi/spi-statetypes.h:
5229 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
5230 to AccessibleRoleType.
5232 * libspi/accessibleeventlistener.h:
5233 Fixed minor namespacing weirdness.
5235 * libspi/deviceeventcontroller.c:
5236 Reordered some internal API for device listeners.
5237 Changed the key registry final boolean to 'is_system_global'
5238 rather than 'is_synchronous', which is more descriptive of its
5240 Added spi_device_event_controller_new().
5241 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
5243 * libspi/keystrokelistener.[ch]:
5244 Namespaced KeystrokeListener to SpiKeystrokeListener.
5245 Changed uses of keymasks to use SPI_ prefix, and did other
5248 * libspi/keymasks.h:
5249 Namespaced keymask constants with SPI_ prefix.
5251 * libspi/registry.c:
5252 Some warning fixes, and knock-on fixes from namespace changes.
5255 Added rules for accessx-gui test program.
5257 * test/accessx-gui.c:
5258 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
5259 utility. It doesn't actually use at-spi, but it's still cool and
5262 * test/keysynth-demo.c:
5266 Fixes so that these test clients work properly with the namespaced
5267 libraries. (Incompletely tested for technical reasons, fixes may follow)
5270 2001-11-13 Michael Meeks <michael@ximian.com>
5272 * libspi/application.c
5273 (impl_accessibility_application_get_version),
5274 (impl_accessibility_application_get_toolkit_name):
5276 (impl_accessibility_application_set_id),
5277 (impl_accessibility_application_get_id): remove
5278 redundant casting code.
5280 * libspi/action.c (impl_getDescription): fix warnings.
5282 * libspi/accessible.c
5283 (impl_accessibility_accessible_get_parent),
5284 (impl_accessibility_accessible_get_child_at_index),
5285 (impl_accessibility_accessible_get_state),
5286 (impl_accessibility_accessible_get_relation_set):
5287 warning fixes & include action.h
5289 2001-11-13 Michael Meeks <michael@ximian.com>
5291 * *.[ch] fix bits I screwed up:
5293 s/([^ \tb(\*\&\?\",])spi_/\1/g;
5294 s/([^ \tb(\*\&\?\",])Spi/\1/g;
5296 2001-11-13 Michael Meeks <michael@ximian.com>
5298 * *.[ch] Namespace libspi into spi_ and Spi.
5300 2001-13-11 Michael Meeks <michael@ximian.com>
5302 * Makefile.am: dist & install at-spi-1.0.pc
5304 * libspi/Makefile.am: install into at-spi-1.0
5306 * idl/Makefile.am (idldir): install into at-spi-1.0
5308 * at-spi-1.0.pc.in: add.
5310 * configure.in: build it.
5312 2001-11-12 Bill Haneman <bill.haneman@sun.com>
5314 * test/keysynth-demo.c:
5315 Use a 'realize' signal-handler to set the WM properties for
5316 the virtual keyboard, rather than making it a "POPUP" type
5317 override-redirect window (thanks to anders carlsson for that
5320 2001-11-11 Bill Haneman <bill.haneman@sun.com>
5323 * test/keysynth-demo.c:
5324 Added new test of key synthesis, which creates a simple
5325 (mouse-operated) onscreen keyboard. It inserts key events into
5326 the currently-focused window, thus it does not grab keyboard focus
5329 * cspi/spi_registry.c:
5330 Added C binding for AT-SPI generateKeyEvent.
5332 * libspi/deviceeventcontroller.c:
5333 Added call to XFilterEvent so that key listener works with XIM (we
5334 hope). Added event_synth_type to generateKeyEvent, so that we can
5335 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
5336 synthesize a press/release pair for KeySyms.
5338 2001-11-09 Bill Haneman <bill.haneman@sun.com>
5340 * libspi/Makefile.am:
5341 * registryd/Makefile.am:
5342 (temporary) hack to include libXtst in libspi and registryd.
5343 (Needed for keystroke synthesis, see below).
5346 Improved API for registerKeystrokeListener, in accordance with
5347 discussions with Gnopernicus team and X server research.
5349 * libspi/registry.c:
5350 * libspi/deviceeventcontroller.c:
5351 * libspi/accessible.c:
5352 * libspi/keystrokelistener.c:
5353 Changes and fixes to support keylisteners for potentially
5354 consumed key events (that is, 'passive grabs').
5355 Added implementation for generateKeyEvent() [untested].
5358 Changes to registerKeystrokeListener() API, as above.
5359 Added deregisterGlobalEventListenerAll(), and
5360 deregisterKeystrokeListener(), which are needed for clean exit of
5362 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
5363 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
5365 * cspi/spi_registry.c:
5366 Added implementations of function prototypes mentioned above.
5368 * registryd/registryd.c:
5369 Added the key listener event source as a g_timeout(), to allow
5370 receipt of key events that are not caught by GDK (since GDK
5371 doesn't support passive keygrabs, this was necessary).
5374 Changed to attach a keylistener to 'Alt' keys, and
5375 respond to the following keycommands: Alt-M (toggle magnifier);
5376 Alt-F (toggle speech); Alt-Q (quit).
5377 Added an exit routine to deregister the listeners, and a key
5378 listener that prints some key info to the console when a key
5379 matches the listener mask (and is thus received by the listener).
5381 * util/idl/Magnifier.idl:
5382 Changes to magnifier API to support multiple zoom regions,
5383 non-uniform scaling in x and y, markDirty, and a host of other
5384 features that would be useful to magnification.
5387 * util/mag_client.c:
5388 * util/mag_client.h:
5389 * util/mag_control.c:
5391 Source code changes to support the above IDL changes.
5394 As above, and also changes to use a (slower) generic conversion
5395 path for colormap conversions, since the fast RGB conversions have been
5396 reported to fail for 16-bit displays.
5398 2001-10-26 Michael Meeks <michael@ximian.com>
5400 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
5402 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
5404 * at-bridge/Makefile.am: fix LDFLAGS.
5406 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5408 * at-bridge/bridge.c:
5409 Re-worked listeners for toolkit events, now we have signal
5410 and property listeners. Added a private method
5411 register_atk_event_listeners(), which registers with the
5412 various atk and gtk signals we need to monitor in order to emit
5414 Added emission hook for AtkObject:property-change events, to
5415 support the 'property listeners'.
5416 Fixed some alloc()s of Accessibility_Event structs to use CORBA
5419 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
5420 which emit warnings and exit, respectively, if CORBA errors occur
5421 during remote calls, and we now use these methods to check most of
5422 our CORBA calls in the C bindings.
5424 * cspi/spi_accessible.c:
5425 Changed AccessibleSelection_refSelectedChild() to
5426 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
5427 now increment refcounts.
5429 * cspi/spi_component.c:
5430 Fixed some long pointer casts (dangerous!) to pass pointers to
5431 CORBA_longs of the proper type to the CORBA stubs, and copy the
5432 data into the longs that were passed into the C bindings code.
5434 * at-bridge/bridge.c:
5436 * libspi/accessible.c:
5437 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
5438 hyperlinks, AtkHyperlink is an object type.
5440 * libspi/application.c:
5441 Added various conversions to and from "generic" event types and
5442 atk-specific types; this is really part of the 'bridge'
5443 implementation but is valid for all AtkObject-based accessibility
5446 * libspi/editabletext.c:
5447 Fixed nasty bug wherein editable text's finalize method was
5448 unref'ing tha AtkObject reference that the text parent class was
5449 about to unref _again_. There was also a nasty inheritance bug
5450 that meant that the AccessibleEditableText class was corrupt.
5452 * libspi/selection.c:
5453 Provided implementations for some selection API that was broken.
5455 * idl/Application.idl:
5456 Added registerObjectEventListener () method.
5459 Fixed a number of return values that were Bonobo_Unknowns from
5460 bonobo_object_corba_objref(), which I
5461 forgot to dup before returning. Changed instances of
5462 bonobo_object_corba_objref (bonobo_object(o)) to
5463 BONOBO_OBJREF(o), for concision and clarity.
5465 2001-10-13 Louise Miller <louise.miller@sun.com>
5467 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
5468 idl/Event.idl, idl/Registry.idl
5469 Changed these files to include Bonobo_Unknown.idl instead
5472 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
5474 * libspi/component.c libspi/component.h:
5475 Fixed typo. Added assertions for object checks in
5476 AccessibleComponent code.
5478 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5480 * idl/Accessible.idl:
5481 Added 'isEqual (Accessible *object)'
5482 method for Accessible. (Not Yet Implemented).
5485 Changed signature of registerKeystrokeListener() to
5486 take a KeySet and KeyEventSeq so that specific keys and event
5487 types could be requested for monitoring, and added a flag
5488 is_synchronous so that either synchronous or asynchronous
5489 notification could be requested. (However this is not all
5490 implemented yet). This also meant adding two new typedefs,
5491 KeyEventSeq and KeySet.
5494 Added two new relations, RELATION_TOOLTIP_FOR and
5495 RELATION_LEAFNODE_OF.
5498 Added new state, STATE_HAS_TOOLTIP.
5500 * libspi/text.c, editabletext.c:
5501 Added new assertions to all casts of bonobo-objects from
5502 CORBA servants, to prevent Text API calls on non-text objects.
5503 Changed suspect casts of int-pointer types, so that we
5504 always send a valid CORBA_long pointer to the CORBA APIs that use
5505 in/out long parameters. We then have to copy from the CORBA_long
5506 into the regular long or int for return to the C bindings, or
5507 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
5510 * libspi/deviceeventcontroller.c:
5511 Cleaned these sources up.
5513 Changed return type for getCharacterAtOffset to
5514 CORBA_unsigned_long, to allow for 32-bit characters.
5517 2001-10-08 Bill Haneman <bill.haneman@sun.com>
5521 Fixed 'make dist' so that distro compiles...
5522 * libspi/keymasks.h:
5524 * cspi/spi-listener.c:
5525 KeystrokeListenerCB now returns a boolean.
5527 Added KeyEventType struct, and KeyStroke.
5528 Also added createKeystrokeListener(),
5529 KeystrokeListener_addCallback(),
5530 KeystrokeListener_removeCallback(), and added a keymask to
5531 registerKeystrokeListener().
5532 * cspi/spi_accessible.c:
5533 Changed numerous return types for interfaces from
5534 AccessibleComponent to Accessible<InterfaceName>; this was
5535 probably a cut-and-paste error.
5537 Implementations of new KeystrokeListener api (from spi.h,
5540 Changes to key modifier mapping.
5541 Created ControllerEventMask struct.
5542 Made DeviceEventController derive from Bonobo::Unknown.
5544 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
5545 * libspi/deviceeventcontroller.c:
5546 Added a number of new internal (private) methods.
5547 * libspi/editabletext.c:
5548 * libspi/editabletext.h:
5549 Fixed a number of bugs related to the fact that
5550 editabletext inherits from text. Fixed the EditableText struct,
5551 the init() call, and use correct casts when calling Text methods
5552 from an EditableText object. Removed (duplicate) atko from the
5553 EditableText structure, we use the one in the parent Text
5554 structure via the casts mentioned above.
5555 * libspi/keystrokelistener.[ch]:
5556 * libspi/registry.c:
5557 Changes in support of keyboard handling (above).
5559 Keyboard handling, though partly functional, is still not
5560 recommended for at-spi client use as there is considerable
5561 work yet to be done.
5564 Changed some places where pointers to various int types
5565 are cast to be pointers to CORBA_long types and vice-versa:
5566 pointer casting is not safe so we pass pointers of the correct
5567 types and then cast the result before putting it into the target
5570 * libspi/text.h: minor typos corrected.
5572 We now speak not only the name of a Text element, but the
5573 first sentence of its content, when it receives focus.
5574 I also changed the text compression to 75% from 50%.
5575 * util/Accessibility_Util.server.in:
5576 Changed the default magnifier type to be a 3x vertical
5577 splitscreen magnifier (was previously a 2x horizontal one).
5579 2001-10-03 Bill Haneman <bill.haneman@sun.com>
5581 * libspi/keystrokelistener.h:
5582 * libspi/keystrokelistener.c:
5583 Initial functional implementations of KeystrokeListener.
5586 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
5588 Fixed string handling for NULL strings in libspi.
5589 Added spi_freeString to free strings returned by C bindings.
5591 2001-09-30 Bill Haneman <bill.haneman@sun.com>
5593 * libspi/keystrokelistener.h:
5594 * libspi/keystrokelistener.c:
5595 Began (no-op) implementations of KeystrokeListener
5597 * libspi/deviceeventcontroller.c:
5598 * libspi/deviceeventcontroller.h:
5599 Began creating implementations of DeviceEventController,
5600 to handle keystroke and mouse event listening and
5602 * libspi/accessible.c:
5603 Stubbed-in the implementations for
5604 Accessibility_Accessible_getState and
5605 Accessibility_Accessible_getRelationSet.
5606 * libspi/registry.c:
5607 Improved de-registration process and fixed some bugs,
5608 deregistration now works correctly.
5610 Added initialization of applications list (to NULL).
5612 Reduced speech compression from 0.5 to 0.7, for demo.
5613 Changed call to gdk_window_set_decorations()
5614 to gtk_window_set_decorated().
5615 * at-bridge/bridge.c:
5616 Bridge now deregisters when app exits, via
5617 registration of a cleanup function
5618 with the g_atexit() call.
5619 Required making 'app' static, renamed 'this_app'.
5620 Fixed broken use of bonobo_init, passing argv wrongly.
5622 2001-09-27 Bill Haneman <bill.haneman@sun.com>
5626 Created a new directory for
5627 accessibility-related utilities, primarily for
5628 testing and demo purposes, but with possible
5635 Onscreen magnifier utility that
5636 is implemented as a bonobo service.
5638 * util/mag_client.c:
5639 * util/mag_client.h:
5640 Client-side support (simple C bindings)
5641 for Magnification service
5643 * util/mag_control.c:
5644 Client program example for
5645 Magnification service
5647 * util/Accessibility_Magnifier.server.in:
5648 Bonobo-activation file for the
5649 Magnification service.
5652 * util/idl/Magnifier.idl:
5653 IDL defining the bonobo Magnification
5657 Modifications to use the bonobo-activated magnifier
5658 above, in place of trying to connect to an existing
5659 magnifier that uses socket-listening IPC.
5661 If env variable MAGNIFIER is set, a magnifier service
5662 will be started if one does not exist.
5664 2001-09-25 Bill Haneman <bill.haneman@sun.com>
5666 * at-bridge/bridge.c:
5667 applied patch from Marc to build and run
5668 against new glib and gtk+ (seemed like a change
5669 to bonobo_init signature was made ?)
5671 made festival-server support turned off by default.
5672 Added support for a simple magnifier (off by default)
5673 which will be added to a 'util' directory later.
5674 * at-bridge/Makefile.am:
5675 Changed "application.h" header from a 'source'
5676 to a 'dependency' of libat-bridge.
5678 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
5687 Added interface implementation c files to list of
5688 includes so they are included in libcspi.
5691 Changed prototype of AccessibleAction_doAction to return a
5693 Changed prototype of AccessibleTable_getCaption to
5694 return an Accessible.
5695 Changed prototype of AccessibleTable_getSelectedRows
5696 and AccessibleTable_getSelectedColumns to
5697 return a long (returns the number of selected rows
5698 or columns respectively).
5699 Changed name of AccessibleText_refRunAttributes to
5700 AccessibleText_getAttributes.
5701 Changed prototype of AccessibleText_getCharacterExtents to
5702 return a void rather than a boolean.
5703 Added support for a AccessibleCoordType parameter
5704 specifying what type of coordinates are desired.
5705 Added an AccessibleCordType parameter to
5706 AccessibleText_getPointAtOffset.
5708 * cspi/spi_accessible.c:
5709 Added code to return the outstanding interfaces from
5710 Accessible_queryInterface.
5712 * cspi/spi_action.c:
5714 Corrected call to getNActions to call the c binding
5717 * cspi/spi_editabletext.c:
5719 Changed name from setRunAttributes to setAttributes.
5721 * cspi/spi_hyperlink.c:
5723 Changed call to getNAnchors to correctly call the c
5724 binding for an attribute.
5726 * cspi/spi_hypertext.c:
5728 Changed getImageDescription to correctly call the
5729 binding for an attribute.
5731 * cspi/spi_selection.c:
5732 Changed getNSelectedChildren to correctly call the c
5733 binding for the attribute.
5734 Changed refSelectedChild to getSelectedChild.
5738 Changed getCaption to return an Accessible.
5739 Fixed calls which retrieve attributes.
5740 Changed refAt to getAccessibleAt.
5741 Changed getNSelectedRows and getNSelectedColumns to
5745 Changed getCharacterExtents and getPointAtOffset to accept an
5746 AccessibleCoordType.
5748 Changed calls which retrieve attributes.
5749 Changed refRunAttributes to getAttributes.
5754 * idl/Hyperlink.idl:
5755 Changed n_anchors attribute to nAnchors to keep naming
5756 convention consistent.
5759 Made Table inherit from Bonobo::Unknown.
5760 Added nSelectedColumns and nSelectedRows attributes.
5763 Made Value inherit from Bonobo::Unknown.
5765 * libspi/hyperlink.c:
5766 Change for nAnchors attributte name change.
5768 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
5776 Added interface implementation c files to list of
5777 includes so they are included in libcspi.
5780 Changed prototype of AccessibleAction_doAction to return a
5782 Changed prototype of AccessibleTable_getCaption to
5783 return an Accessible.
5784 Changed prototype of AccessibleTable_getSelectedRows
5785 and AccessibleTable_getSelectedColumns to
5786 return a long (returns the number of selected rows
5787 or columns respectively).
5788 Changed name of AccessibleText_refRunAttributes to
5789 AccessibleText_getAttributes.
5790 Changed prototype of AccessibleText_getCharacterExtents to
5791 return a void rather than a boolean.
5792 Added support for a AccessibleCoordType parameter
5793 specifying what type of coordinates are desired.
5794 Added an AccessibleCordType parameter to
5795 AccessibleText_getPointAtOffset.
5797 * cspi/spi_accessible.c:
5798 Added code to return the outstanding interfaces from
5799 Accessible_queryInterface.
5801 * cspi/spi_action.c:
5803 Corrected call to getNActions to call the c binding
5806 * cspi/spi_editabletext.c:
5808 Changed name from setRunAttributes to setAttributes.
5810 * cspi/spi_hyperlink.c:
5812 Changed call to getNAnchors to correctly call the c
5813 binding for an attribute.
5815 * cspi/spi_hypertext.c:
5817 Changed getImageDescription to correctly call the
5818 binding for an attribute.
5820 * cspi/spi_selection.c:
5821 Changed getNSelectedChildren to correctly call the c
5822 binding for the attribute.
5823 Changed refSelectedChild to getSelectedChild.
5827 Changed getCaption to return an Accessible.
5828 Fixed calls which retrieve attributes.
5829 Changed refAt to getAccessibleAt.
5830 Changed getNSelectedRows and getNSelectedColumns to
5834 Changed getCharacterExtents and getPointAtOffset to accept an
5835 AccessibleCoordType.
5837 Changed calls which retrieve attributes.
5838 Changed refRunAttributes to getAttributes.
5843 * idl/Hyperlink.idl:
5844 Changed n_anchors attribute to nAnchors to keep naming
5845 convention consistent.
5848 Made Table inherit from Bonobo::Unknown.
5849 Added nSelectedColumns and nSelectedRows attributes.
5852 Made Value inherit from Bonobo::Unknown.
5854 * libspi/hyperlink.c:
5855 Change for nAnchors attributte name change.
5858 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
5860 implementations-- made server implementations own AtkObject pointers
5861 rather than their respective AtkInterrface pointers to fix
5862 refcounting. AtkHyperlink is still broken.
5864 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5865 * cspi/spi_accessible.c:
5866 Added method Accessible_Role_getName(),
5867 and requisite string array (role_names).
5868 Added conversion string_from_corba_strin() call
5869 to Accessible_getName and _getDescription.
5870 * libspi/accessible.c:
5871 Added implementation for Accessible_getRole()
5873 Added festival support, used if environment variable
5876 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5878 * at-bridge/bridge.c:
5879 Now allocate Accessibility_Event using
5880 Accessibility_Event__alloc() instead of g_new0().
5881 * libspi/accessibleeventlistener.c:
5882 Initialize AccessibleEventListener->callbacks to NULL.
5883 Fixed accessible__event_listener_init() param, changed to
5884 "AccessibleEventListener *" type.
5885 Changed a bonobo_object_release_unref() call to
5886 Accessibility_Accessible_unref().
5887 * libspi/listener.c:
5888 Changed Bonobo_Unknown_unref to (equivalent)
5889 Accessibility_Accessible_unref.
5890 * libspi/registry.c:
5891 Changed bonobo_object_release_unref to
5892 Accessibility_Accessible_unref.
5894 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
5897 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
5898 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
5899 spi-util.c spi-util.h
5900 Implementations for C bindings to remaining accessibility
5903 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
5906 changed return value of Action from void to boolean to
5907 bring in line with ATK.
5910 Changed getText funcions to return "out" start and end offsets.
5911 Changed getAttributes to take and offset and return the start
5912 and end offset of the attribute run.
5913 Changed getOffsetAtPoint and getCharacterExtents to take an
5914 enum describing whether coordinates are window or screen.
5917 libspi/action.c libspi/action.h libspi/editabletext.c
5918 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
5919 libspi/hypertext.c libspi/hypertext.h libspi/image.c
5920 libspi/image.h libspi/selection.c libspi/selection.h
5921 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
5922 libspi/value.c libspi/value.h
5923 Added server implementations for outstanding ATK interfaces
5924 not yet implemented.
5926 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5929 Added (missing) getName() method.
5930 Made nActions an attribute.
5931 * idl/EditableText.idl:
5932 Changed order of params in setAttributes.
5933 * idl/Hyperlink.idl:
5934 Removed getAnchor, added getURI.
5936 Changed attributes to methods, for efficiency
5937 (so that getting extents can be done in one call)
5938 * idl/Selection.idl:
5939 Changed nSelectedChildren to attribute, and re-indented.
5940 * idl/Table.idl: changed nrows, ncolumns, caption, summary
5942 * idl/Text.idl: reformatted to match our coding style.
5943 (temporarily?) removed getRowColumnAtOffset().
5944 Changed text selection API to support multi-select and
5945 non-contiguous selections, as in ATK.
5946 * idl/Value.idl: changed some methods to attributes.
5948 2001-08-24 Mark McLoughlin <mark@skynet.ie>
5950 * libspi/listener.c(impl_notify_event):
5951 BonoboUnkown_unref the source instead
5952 of bonobo_object_release_unref - the ORB
5953 handles the releasing.
5955 * configure.in: require ORBit-2.3.94 for
5958 2001-08-21 Bill Haneman <bill.haneman@sun.com>
5960 Tagged CVS repository 'EA_1_0'.
5961 * README.EARLY_ACCESS:
5962 Alphabetized acknowledgements list, and
5964 Listed some known dependencies of at-spi.
5966 2001-08-20 Bill Haneman <bill.haneman@sun.com>
5968 * docs/at-spi-docs.sgml:
5969 * docs/at-spi-sections.txt:
5970 * docs/at-spi-overrides.txt: (Added zero-length file)
5971 Documentation improvements - gtk-doc should build
5972 docs for all implemented C bindings now.
5975 * cspi/spi.c: (New file)
5976 * cspi/spi_event.c: (New file)
5977 * cspi/spi_registry.c: (New file)
5978 * cspi/spi_accessible.c: (New file)
5979 * cspi/spi_application.c: (New file)
5980 * cspi/spi_component.c: (New file)
5981 Split spi_main.c into six parts, and included them from
5982 "spi.c". This is a bit of a hack, probably temporary,
5983 but required by gtk-doc, apparently.
5985 2001-08-20 Bill Haneman <bill.haneman@sun.com>
5988 * docs/at-spi-docs.sgml:
5989 * docs/at-spi-sections.txt:
5991 Initial checkins/modifications for gtk-doc generation.
5994 Added (missing) interface query methods to Accessible's C binding.
5996 Added GenericInterface type definition.
5998 Added query for AccessibleComponent interface to focus event handler.
5999 Added printout of bounding box for focussed component.
6000 * libspi/component.c:
6001 Added partial implementation for AccessibleComponent to C binding.
6002 * idl/Application.idl:
6003 * libspi/registry.c:
6004 * libspi/listener.c:
6005 * libspi/application.c:
6006 * libspi/application.h:
6007 Changed "ID" attribute type from string to long.
6009 2001-08-19 Bill Haneman <bill.haneman@sun.com>
6013 Made method naming consistent: methods taking object args
6014 start with uppercase, other methods (except those using
6015 acronyms) start with lowercase. Underscores delimit between
6016 object names and method names:
6017 SPI_init() - uppercase since it starts with an acronym.
6018 getDesktopCount () - lowercase start since no object param0.
6019 Accessible_getName() - uppercase object type name, studlyCaps method
6023 Added gtk-doc documentation for all currently implemented
6024 methods in the C bindings API.
6026 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6028 * Makefile.am : changed build order to build test last.
6031 Changed "createEventListener" to "CreateEventListener".
6032 * libspi/accessibleeventlistener.c :
6033 Bugfix for addition of callbacks.
6034 * test/Makefile.am :
6035 * test/simple-at.c :
6036 Added new test that uses the C bindings API.
6038 * libspi/listener.c :
6039 * libspi/registry.c :
6040 * libspi/accessibleeventlistener.c :
6041 * at-bridge/bridge.c :
6042 Renamed member "target" of Accessibility_Event to "source",
6043 which is more descriptive.
6046 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6050 * cspi/Makefile.am :
6051 Added makefile support for at-spi/cspi directory.
6054 * cspi/spi-listener.h : (NEW FILE)
6055 Added support for/use of spi-listener.h.
6057 C bindings now build successfully, with no warnings.
6058 * libspi/accessibleeventlistener.h : (NEW FILE)
6059 * libspi/accessibleeventlistener.c : (NEW FILE)
6060 * libspi/Makefile.am :
6061 Added new object type "AccessibleEventListener"
6062 which inherits from Listener, and allows attachment
6063 of in-process callbacks (so that a client with a listening
6064 object instance can add functionality to the local
6065 implementation, dynamically).
6067 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6069 * libspi/accessible.c:
6070 Add implementation for get_index_in_parent().
6072 Added #include of "spi-roletypes.h", and
6073 added enumerated type AccessibleCoordType.
6074 Added definition for KeystrokeListener (function type).
6077 * cspi/spi-statetypes.h :
6078 * cspi/spi-roletypes.h :
6080 Added these headers, used by spi.h.
6082 Added code (NOTE: not yet built by make).
6084 2001-08-18 Mark McLoughlin <mark@skynet.ie>
6086 * libspi/Makefile.am: generate imodule
6087 at the same time as other idl compiler
6090 2001-08-17 Bill Haneman <bill.haneman@sun.com>
6091 * libspi/registry.c :
6092 * libspi/application.c :
6093 * idl/Application.idl :
6094 Made registration with toolkit an application method,
6095 which is required since each app has its own toolkit static
6096 environment. Thus the bridge must register for
6097 notification of toolkit events from each application in turn.
6098 Toolkit notifications are now successfully registered for, and
6099 sent to the listening at client.
6101 Changed toolkit event string to use hyphens rather than underscores.
6102 * libspi/listener.c :
6103 listner now gives more info in debug mode - it reports the
6104 name of the event received, as well as the name of the source.
6107 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6109 * libspi/registry.c :
6110 added more implementation for toolkit events.
6111 Fixed bug such that toolkit event registrations
6112 (via atk) use the whole event name string, not
6114 Removed a useless call to an ORBit_ method.
6115 * at-bridge/bridge.c :
6116 Removed unused local sbuf[] variable.
6118 We now register for Gtk:GtkWidget:button_press_event
6119 events as well as "focus:" events.
6121 Add some more API from Registry.idl that was missing,
6122 for keystroke listening, keystroke and mouse event
6123 synthesis, and enumeration of accessible desktops.
6125 2001-08-16 Michael Meeks <michael@ximian.com>
6127 * configure.in: use AM_GLIB_GNU_GETTEXT.
6129 * Makefile.am (SUBDIRS): kill intl.
6131 2001-08-15 Michael Meeks <michael@ximian.com>
6133 * registryd/Makefile.am: s/oaf/server/ relocate info file.
6135 * configure.in: upd.
6137 * configure.in: depend on a recent bonobo-activation that
6138 will find our server files ...
6140 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6142 * libspi/accessible.c : accessible_new() :
6143 Now we add the Component interface via bonobo_object_add_interface,
6144 if the contained AtkObject implements AtkComponent.
6145 * libspi/accessible.h : now include "component.h"
6146 * libspi/component.h :
6147 * libspi/component.c : added files - implementation of
6148 bonobo wrapper object for Accessibility/Component
6149 * libspi/listener.c :
6150 Added test code to check for Accessibility/Component:1.0
6151 interface and report whether it is implemented by the
6153 * libspi/registry.c :
6154 Now we check for not only the hash of the whole event
6155 string before relaying the event, we also check the
6156 "minor" event string (without the detail string).
6157 This allows event listeners to be registered against
6158 all events of a certain major+minor type, or just
6159 against a specific major+minor+detail type.
6160 * libspi/accessible.c :
6161 Added implementations for Accessible:get_parent(),
6162 Accessible:getChildCount(), and Accessible:getChildAtIndex().
6163 * libspi/registry.c :
6164 * libspi/listener.c :
6165 Replaced calls to Accessibility_Accessible_ref() and
6166 Accessibility_Accessible_unref() with
6167 calls to bonobo_object_dup_ref() and
6168 bonobo_object_release_unref(), so that the CORBA object
6169 is dup-ed and released when relayed, as well as the bonobo object.
6171 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6173 * libspi/Makefile.am,
6174 registryd/Makefile.am,
6175 at-bridge/Makefile.am.
6176 test/Makefile.am, configure.in:
6177 reverse previous changes.
6179 * /idl/Image.idl: fix typo.
6181 * test/Makefile.am: put DEBUG_FLAGS
6184 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6186 * test/app.c: use argv[0] instead of
6189 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6191 * libspi/Makefile.am,
6192 registryd/Makefile.am,
6193 at-bridge/Makefile.am.
6194 test/Makefile.am, configure.in:
6195 cleanup, replace individual LIBS/CFLAGS with
6196 AT_COMMON_{LIBS|CFLAGS}.
6200 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6202 * configure.in, libspi/Makefile.am:
6203 Change IDL path checking for bonobo-activation
6206 2001-08-15 Bill Haneman <bill.haneman@sun.com>
6208 * registryd/registry.c : separated event listeners to use
6209 3 separate lists (focus, window, toolkit). Began testing
6210 event names against hashes before relaying events.
6211 * test/at.c : now register for events of type "focus:"
6212 * test/app.c : now generate events of type "focus:"
6213 * at-bridge/bridge.c : register with ATK for focus events,
6214 and we now relay those focus events to any "focus:" listeners.
6215 This now works with the bridge as a GTK_MODULE when running test/at.
6216 * libspi/registry.c :
6217 * libspi/listener.c :
6218 now we ref event sources before propagating, and unref on receipt.
6219 * libspi/registry.c :
6220 some changes to internal structs, to support event typestring hashes.
6221 * text/app.c : changed the way the appname is generated.
6222 * cspi : added directory that will hold the C bindings library for
6223 non-CORBA/bonobo-savvy clients.
6224 * cspi/spi.h : header file that contains the function prototypes for the C binding.
6225 * idl/Component.idl : added in parameter to indicate coord system for
6226 geometry-related calls.
6227 * idl/Hyperlink.idl : added readonly n_links attribute
6228 * idl/Image.idl : changed methods to attributes.
6230 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6232 * at-bridge/Makefile.am: link against
6233 ../libspi/libspi.la instead of -lspi.
6235 * at-spi/test/app.c: include
6236 bonobo-activation.h. Use a default appname
6237 if one is not provided.
6239 2001-08-14 Bill Haneman <bill.haneman@sun.com>
6241 * idl/Registry.idl : temporarily changed register_Application
6242 to oneway, to work around issue with initial registration
6244 * idl/Application.idl : changed attribute "id" from readonly
6245 to read-write, since it needs to be assigned by Registry.
6246 * registryd/registryd.c : added call to set application id
6248 * registryd/registry.c : changed de-registration procedure to
6249 use CORBA_Object_hash() to find matching object ref in application
6250 lists and listener lists.
6251 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
6252 began distinguishing between event types (work in progress).
6254 2001-08-13 Bill Haneman <bill.haneman@sun.com>
6257 * libspi/application.c:
6258 Added implementations for get/set id, get_toolkitName,
6260 * registryd/registryd.c :
6264 Converted from use of OAF to bonobo-activation.
6265 * libspi/desktop.h :
6266 * libspi/desktop.c :
6268 Removed references to atksimpleobject, since base atkobject
6269 implementation now provides functionality we need.
6270 * libspi/atksimpleobject.c :
6271 * libspi/atksimpleobject.h :
6276 * at-bridge/Makefile.am
6277 * at-bridge/bridge.c
6280 Added directory "bridge" and contents, and added dependencies
6281 in Makefile.am/configure.in.
6282 Initial checkin of "at-bridge".
6283 This code is a GTK_MODULE which automatically registers
6284 GTK+ apps with the accessibility registry, using an object
6285 reference to the root ATK object.
6287 2001-08-10 Mark McLoughlin <mark@skynet.ie>
6289 * po/Makefile.in.in: Remove. Again. If this
6290 doesn't get autogenerated - you need to update
6293 2001-08-07 Mark McLoughlin <mark@skynet.ie>
6295 * po/Makefile.in.in: Add. Again.
6297 2001-07-31 Bill Haneman <bill.haneman@sun.com>
6299 * libspi/accessible.c : added support for 'description' property.
6300 * libspi/accessible.c
6302 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
6303 (since the two are now equivalent in libbonobo)
6311 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
6312 Bonobo::Unknown as does Accessibility::Accessible.
6313 * idl/StreamableContent.idl : as above, and replaced internal InputStream
6314 interface with Bonobo::Stream, since it was redundant with it.
6315 (The Stream returned by a StreamableContext object is expected to
6316 implement only a subset of Bonobo::Stream)
6318 2001-07-28 Anders Carlsson <andersca@gnome.org>
6320 * libspi/accessible.c (accessible_object_finalize): Change
6321 g_free to g_object_unref since the AtkObject is a GObject.
6323 2001-07-30 Bill Haneman <bill.haneman@sun.com>
6325 * idl/Accessibility.idl: add new IDL files
6328 * idl/Action.idl: Definitions of actionable UI object
6329 * idl/Component.idl: Definitions of UI component geometry, etc.
6330 * idl/Hyperlink.idl: Defs of hyperlink behavior
6331 * idl/Image.idl: Def of accessible image
6332 * idl/Selection.idl: Definition of UI object with selectable children
6333 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
6334 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
6335 * idl/Text.idl: Interface defs for UI elements with complex textual content
6336 * idl/Value.idl: Definition of UI element that is a value controller or display
6338 2001-07-27 Michael Meeks <michael@ximian.com>
6340 * po/Makefile.in.in: remove autogenerated file from CVS.
6342 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
6345 * idl/Registry.idl: include guard.
6347 * idl/Accessibility.idl: Add, and include all the other IDL
6350 * idl/*.idl: remove mass of pragmas etc.
6352 2001-07-26 Michael Meeks <michael@ximian.com>
6354 * registryd/Makefile.am (registryd_SOURCES): remove
6357 2001-07-27 Mark McLoughlin <mark@skynet.ie>
6359 * libspi/.cvsignore, registryd/.cvsignore,
6360 test/.cvsignore: updated.
6362 * po/Makefile.in.in: gettext update.
6364 2001-07-25 Bill Haneman <bill.haneman@sun.com>
6366 * initial CVS checkin
6368 2001-06-29 Michael Meeks <michael@ximian.com>
6370 * configure.in: add AM_CONFIG_HEADER to gen config.h