1 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
3 * registryd/deviceeventcontroller.c
4 (spi_device_event_controller_object_finalize): Fix build on
7 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
9 * acconfig.h, configure.in, registryd/Makefile.am,
10 registryd/devicecontoller.[ch]: Add XEViE support.
12 2003-08-06 Wang Jian <lark@linux.net.cn>
14 * configure.in: Added "zh_CN" to ALL_LINGUAS.
16 2003-08-06 Metin Amiroff<metin@karegen.com>
18 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
20 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
22 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
23 MODIFIER_ALT in correct place.
25 This fixes part of bug #118114.
27 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
29 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
31 2003-07-28 Changwoo Ryu <cwryu@debian.org>
33 * configure.in: Added "ko" to ALL_LINGUAS.
35 2003-07-28 Ole Laursen <olau@hardworking.dk>
37 * configure.in: Added "da" to the commented out ALL_LINGUAS.
39 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
41 * configure.in: Added "sq" to ALL_LINGUAS.
43 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
45 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
47 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
49 * configure.in: updated ALL_LINGUAS list
51 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
53 * configure.in: Added Belarusian to ALL_LINGUAS.
55 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
57 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
59 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
60 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
62 This fixes bug #116949.
64 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
66 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
67 Correct CSPI to SPI in function documentation.
69 This fixes bug #118054.
71 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
73 * configure.in: Added Russian to ALL_LINGUAS.
75 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
77 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
79 2003-07-14 Danilo Ĺ egan <dsegan@gmx.net>
81 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
83 2003-07-10 Joel Brich <joel.brich@laposte.net>
85 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
87 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
89 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
91 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
93 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
94 resources allocated for AccessibleEvent. See cspi_event().
96 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
97 static variable streams to NULL.
99 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
100 Update so that AcessibleEvent_ref will work.
102 This fixes bug #116624.
104 2003-07-06 Jordi Mallach <jordi@sindominio.net>
106 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
108 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
110 * configure.in: Added "fr" (French) to ALL_LINGUAS.
112 2003-07-02 Christian Neumair <chris@gnome-de.org>
114 * configure.in: Added "de" (German) to ALL_LINGUAS.
116 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
118 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
120 2003-07-01 Miloslav Trmac <mitr@volny.cz>
122 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
124 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
126 * configure.in: Added "pl" to ALL_LINGUAS.
128 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
130 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
132 2003-06-30 Bill Haneman <bill.haneman@sun.com>
135 (get_action_from_servant):
136 Removed assertion that action is implemented on an AtkObject.
138 * libspi/hyperlink.c:
140 Aggregate AccessibleAction interface on the hyperlink object if
141 the object implements AtkAction. (This convention is used in
144 2003-06-30 Bill Haneman <bill.haneman@sun.com>
146 * configure.in: Revved to 1.3.5.
148 * registryd/Accessibility_Registry.server.in.in:
149 Marked up appropriate strings for translation.
151 * atk-bridge/bridge.c: Marked a couple of
152 user-visible warnings for translation. Questionable
153 whether they are really useful, but possibly so.
156 2003-06-28 Christian Rose <menthos@menthos.com>
158 * configure.in: Added "sv" to ALL_LINGUAS.
160 2003-06-26 Bill Haneman <bill.haneman@sun.com>
162 * registryd/registry.c:
163 (spi_registry_object_finalize): Unref the deviceeventcontroller.
164 (registry_defer_on_event): Defer focus: events, this is an
165 improvement to the patch for bug #108664.
167 * TODO: Update with 2.4/"Dev Complete" items.
169 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
171 * atk-bridge/bridge.c:
172 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
173 looks up signals once.
174 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
175 if doing registration.
176 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
177 when doing registration.
179 This fixes bug #115014.
181 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
183 * atk-bridge/bridge.c:
184 (atk_bridge_init): Add signal handler for children-changed:remove on
185 root when in a BonoboComponent.
186 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
187 for first toplevel only other incrememt variable toplevels.
188 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
189 application and remove listeners.
190 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
192 (spi_atk_deregister_event_listeners): New function which removes
194 (reinit_register_vars): New fuction which reinitializes variables.
196 This fixes bug #111578.
198 2003-06-13 Bill Haneman <bill.haneman@sun.com>
200 * configure.in: version 1.3.4.
202 * cspi/spi_accessible.c:
203 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
206 2003-06-13 Michael Meeks <michael@ximian.com>
208 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
210 * cspi/spi_main.c (cspi_peek_ev): impl.
212 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
214 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
216 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
218 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
219 SPI_ROLE_AUTOCOMPLETE
221 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
223 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
224 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
226 2003-06-11 Bill Haneman <bill.haneman@sun.com>
228 * libspi/streamablecontent.h:
229 * libspi/streamablecontent.c:
230 New files, provide implementation/wrappers for
231 Accessibility_StreamableContent.
233 * cspi/spi_streamablecontent.c:
234 Connected the C wrappers to the libspi C bindings.
235 (AccessibleStreamableContent_close): New method.
238 (AccessibleStreamableContent_close): New method, needed
239 since we have an "open, [seek], read, close" model in cspi.
241 2003-06-11 Bill Haneman <bill.haneman@sun.com>
243 Fix for #108664; Padraig's revision of my original patch.
245 * registryd/registry.h:
246 Added event queue list, is_queuing, and exit_notify_timeout
247 to the registry struct.
249 * registryd/registry.c:
250 (registry_init): Initialize new struct from registry.h.
251 (impl_registry_notify_event):
252 Filter events before notifying, in case some need to be
254 (registry_filter_event): New,
255 we defer certain incoming events (for instance
256 window:deactivate) because we may wish to hide
257 or reject them based on pending events. This is
258 mostly a workaround for bug #108664.
259 (registry_queue_event, registry_start_queue): New.
260 (registry_defer_on_event): Test event to see if it
262 (registry_reset_on_event): Returns TRUE if the
263 event should cause a queue reset.
264 (registry_discard_on_event): Returns TRUE if the event
265 should cause the previous queue contents to be discarded.
266 (registry_timeout_flush_queue): Flushes the pending event
267 queue if no reset/discard-triggering events have come in
268 within the timeout period.
269 (registry_emit_event): New.
270 (registry_clone_notify_context): New, used when queueing the
271 event notify contexts.
273 2003-06-10 Bill Haneman <bill.haneman@sun.com>
275 * configure.in: Version revved to 1.3.2, lt 0.9.2
276 Incremented ATK required version to 1.3.4.
278 * cspi/spi_registry.c:
279 (SPI_generateKeyEvent):
280 We now pass the keystring along if it's non-null.
282 * registryd/deviceeventcontroller.c:
283 (keysym_mod_mask): New method, returns modifier mask
284 required to generate a keysym from a given keycode.
285 (dec_synth_keysym): New method.
286 (dec_synth_keystring): New method.
287 (dec_get_modifier_state): New method.
288 (dec_lock_modifiers): New
289 (dec_unlock_modifiers): New.
290 (dec_keysym_for_unichar): New, rather brute-force
291 conversion from UCS-4 to X KeySyms. Only works for
292 Latin at the moment, with partial implementations for
293 Greek, Hebrew, and (incomplete) Katakana.
294 (impl_generate_keyboard_event): Now implement
295 "KEYSTRING" synthesis and implement "KEYSYM"
297 (keycode_from_keysym): Improved, passes a returned
298 modmask value now if the corresponding param is non-NULL.
300 Fixes bugs #92143 and #109776.
303 * test/keysynth-test.c:
304 New test program for key synthesis, to confirm fixes for
308 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
310 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
312 * cspi/spi_accessible.c (cspi_init_relation_type_table):
313 Add line for RELATION_POPUP_FOR
315 * docs/reference/cspi/tmpl/spi_relation.sgml:
316 Add relation SPI_RELATION_POPUP_FOR
318 * docs/reference/cspi/tmpl/spi_stateset.sgml:
319 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
321 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
323 * libspi/relation.c (spi_init_relation_type_table):
324 Add line for RELATION_POPUP_FOR
326 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
328 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
329 there are still windows which have not been deleted and emit
330 window:deactivate, if necessary and window:destroy events.
331 This fixes bug #114370. The change on June 5th was not correct.
333 2003-06-09 Bill Haneman <bill.haneman@sun.com>
335 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
338 (SPI_dupString): Allow dup-ing of a string such that it's safe to
340 New methods for client exception handling and interception.
341 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
342 (SPI_exceptionHandlerPop): You guessed it...
343 (SPI_getSourceType): Return the type of object which offended.
344 (SPI_getExceptionCode): Return an enum code telling, possibly,
345 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
346 (SPIAccessibleException_getSource): get the source object for
347 exceptions that come from Accessibles, if SPIExceptionSourceType is
348 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
349 (SPIException_getDescription): New, returns a string description of
350 the problem. [Not yet a stable ABI, strings are not frozen]
352 * cspi/spi-private.h:
353 Added implementation details of opaque SPIException
357 Implementations of above. Also
358 (_cspi_exception_throw): new private method that
359 dispatches exceptions to handlers, called from cspi-bonobo.c
361 * cspi/bonobo/cspi-bonobo.c:
362 (cspi_check_ev): call _cspi_exception_throw.
363 Don't print a warning message if the exception has been
364 handled by _cspi_exception_throw.
366 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
368 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
369 there are still windows which have not been deleted and emit
370 window:deactivate, if necessary and window:destroy events.
371 This fixes bug #114370.
373 2003-06-03 Bill Haneman <bill.haneman@sun.com>
376 (cspi_accessible_is_a): Make non-fatal
377 if the object reference is dead.
379 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
381 * cspi/spi_main.c: #include <stdio.h>
382 * test/simple-at.c: ditto
383 * test/event-listener-test.c: ditto
384 * test/screen-review-test.c: ditto
386 2003-05-30 Michael Meeks <michael@ximian.com>
388 * test/test-simple.c (main): use CORBA_ORB_perform_work
389 instead of an unnecessary linc_ call.
391 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
393 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
394 Add SPI_STATE_INDETERMINATE.
396 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
399 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
401 * libspi/stateset.c (init_state_type_tables): Add support for
404 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
406 * configure: Update versions of atk and gail required.
407 This fixes bug #113268.
409 2003-05-02 Bill Haneman <bill.haneman@sun.com>
411 * configure.in: Revved micro version to 1.3.1 (because of build fix).
413 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
415 * libspi/Makefile.am:
416 Ensure headers are generated before being used by c sources.
418 2003-05-01 Bill Haneman <bill.haneman@sun.com>
421 Simplified lt versioning rules.
422 Incremented version to 1.3.0, to indicate that we're on the
425 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
427 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
428 Add MKDB_OPTIONS=--outtput-format=xml
430 * docs/reference/cspi/at-spi-cspi-docs.sgml
431 docs/reference/idl/at-spi-idl-docs.sgml:
432 Convert to Docbook XML.
434 This fixes bug #111793.
436 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
438 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
439 AcccessibleKeyEventType, AccessibleKeyMaskType.
441 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
443 * cspi/state-types.h: Add documentation for AccessibleState.
445 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
446 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
447 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
448 AccessibleComponentLayer.
450 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
453 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
455 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
456 Accessible. Add description of AccessibleEvent,
457 AccessibleEventListenerCB.
459 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
462 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
463 documentation. Add description of AccessibleKeystrokeListenerCB,
464 AccessibleKeyEventMask, AccessibleModifierMaskType,
465 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
466 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
468 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
471 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
474 This fixes bug #104730.
476 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
478 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
479 Set is_text field of Accessibility_DeviceEvent data structure.
481 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
482 is-text field of AccessibleDeviceEvent data structure.
484 This addresses part of bug #108666.
486 * registryd/devcieeventcontroller.c: Unset debug option.
488 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
491 (cpi_initial_relation_type_table): New function which initializes
492 mapping between Accessibility_RelationType and AccessibleRelationType.
493 (cspi_relation_type_from_spi_relation_type): New function which
494 translates an Accessibility_RelationType into an AccessibleRelationType.
495 (AccessibleRelation_getRelationType): Use
496 cpi_relation_type_get_spi_relation_type to return correct value.
497 (spi_state_to_corba): Return correct type for default case.
499 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
500 Use Accessibility_EventType instead of Accessibility_KeyEventType.
502 * cspi/cspi-bonobo-listener.c:
503 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
506 * libspi/accessible.c, libspi/action.c, libspi/application.c,
507 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
508 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
509 libspi/image.c, libspi/listener.c, libspi/selection.c,
510 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
511 registryd/desktop.c, registryd/registry.c:
512 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
514 * libspi/eventlistener.c
515 Remove semicolon after BONOBO_TYPE_FUNC.
518 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
519 (spi_init_relation_type_table): Initialize using correct type.
521 * registryd/desktop.c:
522 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
523 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
524 of Accessibility_KeyEventType.
526 * test/key-listener-test.c (report_tab_key_event): Use fprintf
529 * tests/simple-at.c, tests/screen-review-test.c:
530 Add include for <strings.h>.
532 * tests.stress-test.c:
533 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
535 These changes fix compiler warnings when using FORTE compiler on
536 Solaris; fixes bug #107479.
539 2003-04-10 Bill Haneman <bill.haneman@sun.com>
542 * configure.in: revved to 1.1.10
545 (SPI_KEYMASK_NUMLOCK): Added.
547 * registryd/deviceeventcontroller.c:
548 (spi_key_event_matches_listener): AND with a smaller
549 bitmask (as we should).
550 (spi_dec_translate_mask):
551 New method, sets the virtual NumLock modifier bit
552 if numlock is on. Eventually it can handle other virtual
553 modifier bits if needed, or other marshalling from
554 at-spi modifier masks to platform (X) masks.
555 (spi_dec_key_listener_new):
556 Call spi_dec_translate_mask to set up virtual mod bits
557 in the 'mask' field when creating a new listener struct.
558 (spi_dec_emit_modifier_event):
559 Set the virtual (i.e. NumLock) bits before emitting event.
560 (spi_controller_register_with_devices):
561 Query for the NumLock modifier 'physical' bit if Xkb is
562 present, for use in above methods.
566 2003-04-10 Bill Haneman <bill.haneman@sun.com>
568 * registryd/deviceeventcontroller.c:
569 (spi_keystroke_from_x_key_event):
570 Instead of checking to see if the keysym is
571 printable, check the string from XLookupString
572 if available, get the first unicode character from it,
573 and call g_unichar_isprint to determine whether the
574 is_text flag should be TRUE or FALSE.
578 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
580 * atk-bridge/bridge.c: Add support for extended events
581 * cspi/spi_event.c: Add documentation and implementation for
583 * tests/event-listener-test.c: Add tests for extended events.
585 This fixes bugs #100424 and #100426.
587 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
589 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
590 of LT_CURRENT. This fixes bug #89350.
592 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
594 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
595 number of signal parameter values before accessing them. This fixes
598 2003-04-01 Bill Haneman <bill.haneman@sun.com>
600 * configure.in: Fixed duplicate inclusion of -lspi.
601 * branched for gnome-2-2/HEAD.
602 [created tag "gnome-2-2"]
604 2003-03-07 Bill Haneman <bill.haneman@sun.com>
606 * configure.in: 1.1.9 release.
609 2003-03-07 Bill Haneman <bill.haneman@sun.com>
611 [needed by GOK, to fix bugs 107985 and 107988]
612 * registryd/deviceeventcontroller.c:
613 (spi_dec_clear_unlatch_pending):
614 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
615 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
616 (spi_dec_init_mouse_listener):Emit warning if mouse button
618 (spi_device_event_controller_forward_mouse_event):
619 Removed unnecessary parens from a conditional.
620 (global_filter_fn):Added TODO comment.
621 (impl_generate_keyboard_event):
622 Cancel a pending relatch if a 'delatching' key was
625 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
627 * atk-bridge/bridge.c:
628 Change atk_signal_child_changed to atk_signal_children_changed.
629 Reorganize code in spi_atk_bridge_signal_listener().
631 * test/event-listener-test.c:
632 Add children_changed_listener and report_children_changed_event()
633 to test AccessibleChildEvent_getChildAccessible.
635 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
637 * cspi/spi_event.c (cspi_internal_event_get_text): Change
638 g_strdup to CORBA_String_dup (bug #105291)
640 * test/event-listener-test.c (report_text_event): Add call to
643 2003-02-28 Bill Haneman <bill.haneman@sun.com>
645 * registryd/deviceeventcontroller.c:
646 (spi_keystroke_from_x_key_event):
647 Fix string and keysym return codes to match modifier state.
650 2003-02-28 Bill Haneman <bill.haneman@sun.com>
652 * registryd/deviceeventcontroller.c:
653 (spi_keystroke_from_x_key_event):
654 Fix segv due to improper use of isprint(c). [bug #107254]
656 2003-02-24 Bill Haneman <bill.haneman@sun.com>
659 (get_accessible_text_boundary_type):
660 Move default return value to (new) default case in switch.
661 (get_accessible_text_clip_type):
662 Move default return value to (new) default case in switch.
664 * libspi/application.c:
665 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
666 Remove unused methods.
667 (impl_accessibility_application_register_object_event_listener):
668 Remove unused methods.
671 Added #include of <math.h>.
673 * registryd/deviceeventcontroller.c:
674 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
675 we don't currently use this method.
676 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
678 (impl_generate_key_event):
679 Remove unused variables.
680 (impl_generate_mouse_event):
681 Initialize button to zero, just in case we get an invalid
682 input. Added support for mouse buttons 4 and 5.
683 (spi_device_event_controller_new):
684 Removed unused variable declaration for 'private'.
686 Added #include of <gdk/gdk.h>
688 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
690 * configure.in: Update to work when X is not installed in expected
691 location. Fixes bug #105836.
693 * atk-bridge/bridge.c
694 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
696 (spi_atk_register_event_listener): Add signal listener for
698 (spi_atk_bridge_signal_listener): Event event when link-selected
699 signal is emitted. (bug #104622)
701 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
702 on returned string. (bug #105291)
704 * test/event-listener-test.c: Add test for link-selected.
706 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
708 * atk-bridge/Makefile.am: Correct typo in previous commit.
710 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
712 * atk-bridge/Makefile.am: Allow for build directory to be different
713 from source directory
715 * registryd/Makefile.am: Allow for build directory to be different
716 from source directory
720 2003-01-29 Bill Haneman <bill.haneman@sun.com>
723 Fixed dependencies for libcspi so that libspi gets pulled in
724 properly. Fixes 104741.
728 Clean up inline docs a little.
730 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
732 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
733 This is done by implementing AtkComponent for SpiAtkDesktop, which is
734 the AtkObject within an SpiDesktop.
735 This addresses bug #101524.
737 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
738 Remove call to gdk_init().
740 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
741 so that Display is set when SpiDesktop is created.
743 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
745 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
746 This fixes bug #102830.
748 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
750 * test/test-simple.c: Update to take account of fact that GailButton
751 now implements AtkText.
752 (create_text_window): Set name on AtkObject for GtkEntry.
753 (validate_accessible): Check accessible name before calling test_text().
755 * libspi/Makefile.am: Fix problem with building outside of source
756 directory. Bug #98120.
758 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
759 typo in documentation comments. Bug #94275.
761 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
763 * libspi/text.c (impl_getBoundedRanges): Bug fix.
765 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
768 Add includes to avoid compiler warnings on Solaris.
769 (impl_getRangeExtents): Bug fix.
771 2002-12-17 Bill Haneman <bill.haneman@sun.com>
773 Fix for 100944, [API addition approved by Gman and murrayc].
780 * idl/Accessibility_Text.idl:
781 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
782 (Text::getRangeExtents): New method for efficient
783 bounds query of a text range.
784 (Text::getBoundedRanges): New method for efficient
785 clipping of text to bounding boxes.
786 (unImplemented7, unImplemented8):
787 Removed these padding methods to preserve bincompat.
790 (impl_getRangeExtents): implementation of new IDL.
791 (impl_getBoundedRanges): implementation of new IDL.
792 (SpiTextRect): Internal use struct.
793 (_spi_text_rect_union): internal method, calculates union of two
794 SpiTextRect bounding rects.
795 (_spi_text_range_seq_from_gslist): internal method, allows us
796 to build our sequence efficiently as a gslist then convert it
798 (_spi_bounds_contain): internal method, determines whether
799 a text character is "in" or "out" of a clip rect according to
800 values of TEXT_CLIP_TYPE.
801 (spi_text_class_init): Initialize the new methods in the epv.
804 (AccessibleTextClipType): New enum used by screen review api.
805 (AccessibleTextRange): New struct used by screen review api.
806 (AccessibleText_getRangeExtents):
807 cspi binding for Accessibility_Text_getRangeExtents.
808 (AccessibleText_getBoundedRanges):
809 cspi binding for Accessibility_Text_getBoundedRanges.
810 (AccessibleTextRange_freeRanges): convenience method.
813 (AccessibleText_getRangeExtents):
814 cspi binding for Accessibility_Text_getRangeExtents.
815 (AccessibleText_getBoundedRanges):
816 cspi binding for Accessibility_Text_getBoundedRanges.
817 (AccessibleTextRange_freeRanges): convenience method.
818 (get_accessible_text_clip_type): internal conversion method.
819 (get_accessible_text_ranges_from_range_seq): internal conversion method.
821 * registryd/deviceeventcontroller.c:
822 (spi_dec_mouse_check):
823 Improved behavior for mouse:abs events
824 [same granularity as mouse:rel events, and no
825 events when mouse is idle].
827 2002-12-16 Michael Meeks <michael@ximian.com>
829 * cspi/spi_accessible.c (spi_state_to_corba): rename.
831 * libspi/stateset.c (state_spi_to_atk): split out
832 ( fix several remote array bounds nasties )
833 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
834 (impl_remove): make safe from array bounds issues.
835 (spi_atk_state_from_spi_state): impl.
837 * libspi/stateset.h (spi_state_set_cache_is_empty):
838 add a set of wrapper defines to get layering right.
840 * cspi/spi_accessible.c: update state set stuff to
843 2002-12-14 Michael Meeks <michael@ximian.com>
845 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
846 to avoid 2 roundtrips to the registry per key event
847 (spi_atk_bridge_key_listener): upd.
848 (deregister_application): release the dec.
850 * registryd/registry.c (notify_listeners_cb):
851 bin lots of re-enterant complexity - we no longer
852 do a round-trip bonobo ref here, ensure that a single
853 listener's exception failure won't poison all other
855 (impl_registry_notify_event): bin obvious memory leak.
857 2002-12-13 Michael Meeks <michael@ximian.com>
859 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
860 init the ev so the error is meaningful.
861 (spi_atk_bridge_key_listener): ditto.
863 * cspi/spi_main.c (cspi_ev): init the ev so we start
864 with a clean slate, otherwise the first exception
867 * cspi/spi_text.c (get_accessible_text_boundary_type):
868 add a fallthrough for no warnings.
870 * cspi/spi_registry.c: prune unused warnings.
872 * cspi/spi_main.c (cspi_object_take): fix
873 mind-blowing brokenness ( by watching the compile
876 * cspi/spi_accessible.c (Accessible_getStateSet):
877 re-impl. to use an AtkStateSet.
878 (spi_state_type_from_accessible_state),
879 (init_state_table): bin these.
881 * libspi/stateset.c (spi_atk_state_set_from_sequence):
883 (atk_state_set_from_accessibility_state_set): here.
885 * cspi/spi_accessible.c (spi_state_to_atk): impl.
886 (AccessibleStateSet_contains, AccessibleStateSet_ref),
887 (AccessibleStateSet_unref, AccessibleStateSet_contains),
888 (AccessibleStateSet_add, AccessibleStateSet_remove),
889 (AccessibleStateSet_equals, AccessibleStateSet_compare),
890 (AccessibleStateSet_isEmpty): re-write to use a local
893 2002-12-13 Bill Haneman <bill.haneman@sun.com>
895 * configure.in: Revved to 1.1.7 (new keymask vals).
897 2002-12-10 Bill Haneman <bill.haneman@sun.com>
900 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
902 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
905 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
906 to compare two CORBA_TypeCodes.
907 (cspi_internal_event_add): Silence warning from FORTE compiler.
909 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
910 avoid implicit declaration of functions.
912 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
914 * atk-bridge/bridge.c:
915 (spi_atk_bridge_init_event_type_consts): Store signal id for
916 active-descendant-changed signal.
917 (spi_atk_register_event_listeners): Add signal listener for
918 active-descendant-changed signal,
919 (spi_atk_bridge_signal_listener): Move code in function
920 spi_atk-signal_emit_event() into this function.
921 Add support for active-descendant-changed
922 Update support for child-changed signal.
923 (spi_bridge_window_event_listener): Silence warning.
925 * libspi/spi_private.[ch]:
926 (spi_init_any_object): Change second parameter from CORBA_Object to
928 Omit call to CORBA_Object_duplicate().
929 Set CORBA_any's _value to CORBA_Object*.
931 2002-12-06 Bill Haneman <bill.haneman@sun.com>
937 (AccessibleEvent_ref, AccessibleEvent_unref):
938 New methods, for persisting an event outside the emission context.
939 Must be used if the new accessor methods are to be called
940 outside of the event listener's callback.
942 * cspi/bonobo/cspi-bonobo.c:
943 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
944 as second parameter instead of NULL, so we can call
945 cspi_check_ev afterwards.
948 (cspi_object_take): New internal method,
949 converts a CORBA_Object reference to a hard ref on
950 an Accessible if possible, returning NULL if the object
951 reference is invalid or an Accessible * otherwise.
954 (AccessibleEvent_ref):
955 Increment the event's internal private refcount, and
956 add the event's internal struct to an internal cache
957 if it's not already there.
958 (AccessibleEvent_unref):
959 Decrement the event's refcount and remove it from
960 the cspi event cache if refcount==0.
961 (cspi_event_compare): New private method.
962 Compares two event structs via their ids. Used
964 (cspi_internal_event_lookup): New private method.
965 (cspi_internal_event_check): New private method,
966 a 0-order sanity check for events to make sure their
967 private data is intact.
968 (cspi_internal_event_add, cspi_internal_event_remove):
969 New private methods for managiing the event cache.
971 * cspi/bonobo/cspi-bonobo-listener.c:
973 Initialize the new private data elements (id, magic, ref_count).
975 * atk-bridge/bridge.c:
976 (spi_atk_bridge_signal_listener):
977 Fixed bug #100530, passing wrong params to emission func.
979 * registryd/deviceeventcontroller.c:
980 (spi_dec_button_update_and_emit):
981 Fixed type in mask bit operations; fix for #99799.
983 2002-12-02 Bill Haneman <bill.haneman@sun.com>
985 Removed some of the more dangerous workarounds from
986 previous commit; they are only needed by GOK, which
987 in reality should be using another method to accomplish
988 the goals. So on reconsideration some of the workarounds
991 * registryd/deviceeventcontroller.c:
992 (spi_keycodes_contain, spi_dec_init_keycode_list):
993 Removed these methods, used only by a nasty hack to try
994 and detect whether a key synthesis should be allowed
995 to reset the XKB latch state or not. This code was only
996 required to work around an interaction between GOK,
997 button events, and XKB.
998 (impl_generate_key_event):
999 Removed hack at end of key generation that tried to
1000 "do the right thing" if XKB latch keys were generated
1001 in the midst of button press/release pairs.
1004 Added a check for HAVE_XINPUT. Not normally used yet.
1006 2002-11-25 Bill Haneman <bill.haneman@sun.com>
1008 Workarounds and fixes for mouse event/XKB interaction.
1010 * registryd/deviceeventcontroller.c:
1011 (spi_keycodes_contain, spi_dec_init_keycode_list):
1012 New internal methods.
1013 (spi_dec_set_unlatch_pending):
1014 Split the method that tells XKB to expect an
1015 unlatch (and revert it) out of the rest of the
1016 event handling code. This method is called by the
1017 two mouse event handlers (the poll and the filter).
1018 (spi_dec_update_and_emit, spi_dec_mouse_check):
1019 New methods split from spi_dec_poll_mouse_moved.
1020 The second one is now called from inside the filterFn
1021 when an XKB delatch event is received, to determine
1022 whether to revert the delatch or not.
1023 (spi_poll_mouse_moved): Refactor; also we can now
1024 properly handle the case where multiple button states
1025 have changed between polling cycles and we didn't get
1026 notified due to another client's grab.
1028 Synchronize the server while handling an XKB notification.
1029 Ugly, but apparently necessary to avoid nasty races.
1030 Check the mouse state on receipt of an XKB latch change,
1031 to decide whether to revert the latch or not. (Latches are
1032 reverted if there is an immediately preceding mouse button
1033 event that a client has consumed, in which case we don't want
1034 the user to see the side-effect of the event).
1035 (spi_device_event_controller_forward_mouse_event):
1036 Check for modifier events and fire before resetting mouse_mask_state,
1037 prevents losing modifier events.
1039 (impl_generate_keyboard_event):
1040 If we've just generated a keyboard event for a non-shift key,
1041 we don't want to revert the pending XKB latch.
1042 Otherwise, check the modifier state (via a call to
1043 spi_dev_mouse_check) and set the relatch mask to
1044 that state before returning.
1046 2002-11-24 Bill Haneman <bill.haneman@sun.com>
1049 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
1052 * atk-bridge/bridge.c:
1053 (spi_atk_register_event_listeners):
1054 Don't re-register for ATK events if the registry has died
1055 and the app needs to re-register; the ATK listeners are in
1056 process and doing so will cause duplicate emission.
1058 * registryd/deviceeventcontroller.c:
1059 (spi_poll_mouse_moved):
1060 Reformat the source, detect and emit multiple button-change
1061 events (i.e. if multiple buttons have changed between poll
1063 Add code to detect mouse-down events even when the pointer
1064 is grabbed; workaround for GOK bug 98420.
1065 (spi_controller_register_with_devices):
1066 Call XTestGrabControl with 'impervious' flag set to True,
1067 allows us to synthesize events and query the pointer even during
1068 an active grab by another client.
1069 (spi_device_event_controller_forward_mouse_event):
1070 Set the mouse_mask_state to the mouse_button_state from
1071 the intercepted event, to synchronize the grab listener with
1074 2002-11-20 Bill Haneman <bill.haneman@sun.com>
1076 * cspi/spi_accessible.c:
1077 (AccessibleRole_getName):
1078 Added necessary strings for making this (deprecated)
1079 method work with the new role types.
1080 (init_role_table, role_table):
1081 Added definition of SPI_ROLE_APPLICATION.
1083 * libspi/spi-roletypes.h:
1084 Added SPI_ROLE_APPLICATION.
1086 * idl/Accessibility_Role.idl:
1087 Added ROLE_APPLICATION.
1089 * docs/reference/cspi/at-spi-cspi-decl.txt:
1090 Added SPI_ROLE_APPLICATION to docs.
1092 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
1094 * cspi/spi_accessible.c
1095 (cspi_init_role_table): Do not write beyond end of role_table.
1096 (Accessible_getRole): Use correct type for value returned by
1097 Accessibility_Accessible_getRole().
1099 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
1100 beyond end of role_table. (This fixes bug #98269)
1102 * libspi/application.c: Add include file spi-private.h for
1103 definition of spi_init_any_nil.
1105 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1109 * libspi/spi-private.h:
1110 Added DGB() macro, and extern int _dbg declaration.
1112 * registryd/registry.c:
1113 (definitions) storage for _dbg.
1114 (spi_registry_init):
1115 Get environment variable "AT_SPI_DEBUG".
1116 (spi_registry_set_debug):
1117 New method, to initialize _dbg value.
1118 (spi_listener_struct_new, spi_registry_object_finalize):
1119 (notify_listeners_cb):
1120 Changed fprintfs to use DBG and g_warning().
1122 * registryd/deviceeventcontroller.c:
1123 (_deregister_keygrab, spi_controller_register_device_listener):
1124 Changed debug/warning messages to use DBG macro.
1126 * libspi/listener.c:
1127 (impl_notify_event):
1128 Changed warning messages to use DBG macro and g_warning().
1130 * atk-bridge/bridge.c:
1131 (atk_bridge_init, spi_atk_bridge_get_registry):
1132 (spi_atk_bridge_exit_func):
1133 (spi_atk_bridge_property_event_listener):
1134 Changed status, warning, and error messages to use
1135 g_warning, g_message, and DBG macros.
1138 Read the state of the AT_SPI_DEBUG environment variable
1139 and set a local '_dbg' accordingly.
1141 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1143 FIXES for 98836, 98842, other bugs.
1146 Revved to 1.1.4, interface-age=4, binary-age=4.
1148 * registryd/deviceeventcontroller.c:
1150 Fixed crasher bug in last_mouse_pos initialization.
1152 * registryd/registry.c:
1153 (desktop_add_application, desktop_remove_application):
1154 Added (and then commented out) some support for
1155 object context marshalling. [TODO]
1157 * atk-bridge/bridge.c:
1158 (spi_atk_bridge_event_context_create):
1159 Commented out object context creation until it can
1160 be properly tested and debugged.
1162 * registryd/registry.c:
1163 (impl_registry_notify_event):
1164 Fixed crasher bug, we were calling
1165 spi_re_entrant_list_foreach () with an empty list.
1167 2002-11-18 Bill Haneman <bill.haneman@sun.com>
1169 * idl/Accessibility_Action.idl:
1170 * idl/Accessibility_Component.idl:
1171 * idl/Accessibility_Desktop.idl:
1172 * idl/Accessibility_Event.idl:
1173 * idl/Accessibility_Hyperlink.idl:
1174 * idl/Accessibility_Image.idl:
1175 * idl/Accessibility_Relation.idl:
1176 * idl/Accessibility_Selection.idl:
1177 * idl/Accessibility_State.idl:
1178 * idl/Accessibility_Value.idl:
1179 Updated unimplemented slot count to minimum of
1180 four for all interfaces, for ABI freeze.
1182 * idl/Accessibility_EditableText.idl:
1183 * idl/Accessibility_Text.idl:
1184 Updated unimplemented slot count to six
1187 * idl/Accessibility_Registry.idl:
1188 Updated unimplemented slot count to six
1189 (also for DeviceEventController),
1192 * idl/Accessibility_Table.idl:
1193 Updated unimplemented slot count to eight,
1196 * idl/Accessibility_Event.idl:
1197 Added CORBA_any "any_data" member to Event struct.
1199 * idl/Accessibility_Event.idl:
1200 Added CORBA_any "any_data" member to Event struct.
1202 * atk-bridge/bridge.c:
1204 atk_signal_text_changed, atk_signal_child_changed,
1205 signal ids queried from gtype system.
1206 (AtkBridgeEventContextType): New enum.
1207 (AtkBridgeEventContextData): New struct.
1208 (AtkBridgeEventContext): New struct.
1209 (atk_bridge_init_event_type_consts):
1210 New method, initializes type contants for comparison
1211 prior to emit_eventv.
1212 (atk_bridge_event_context_init): New method,
1213 initializes a CORBA_any from an AtkBridgeEventContext.
1214 (atk_bridge_focus_tracker): Call spi_init_any_nil to
1215 initialize the event.any_data struct.
1216 (spi_atk_bridge_event_context_create): New method,
1217 creates an AtkBridgeEventContext from signal/event info.
1218 (spi_atk_bridge_event_context_free): New method.
1219 (spi_atk_emit_eventv): Changed to take an
1220 AtkBridgeEventContext parameter. We now initialize
1221 the event.any_data member prior to notifying the
1222 Registry, via the AtkBridgeEventContext.
1223 (spi_atk_bridge_property_event_listener):
1224 (spi_atk_bridge_state_event_listener):
1225 Match emit_eventv signature.
1226 (spi_atk_bridge_object_event_listener):
1227 Match emit_eventv signature, and create an
1228 event context from the event details.
1229 Free the event context afterwards.
1230 (spi_atk_bridge_window_event_listener):
1231 Create an event context, pass it to the
1235 (AccessibleEvent_getContextString):
1236 (AccessibleEvent_getContextObject):
1237 New methods, allow query of AccessibleEvent objects
1238 for more context details (via the "any_data" member
1239 of the Event struct, above).
1242 Definitions for AccessibleEvent_getContextString
1243 and AccessibleEvent_getContextObject.
1245 * cspi/spi_listener.h:
1246 (InternalEvent): New struct.
1249 (AccessibleEvent_getContextString):
1250 (AccessibleEvent_getContextObject):
1251 Implementations of new methods, for obtaining
1252 additional context information from some event types.
1254 * cspi/spi_registry.c:
1255 (SPI_registerGlobalEventListener):
1256 Added mention of active-descendant-changed event in docs.
1258 * cspi/cspi-bonobo-listener.c:
1260 Marshal the any into the AccessibleEvent via
1263 * libspi/spi-private.h:
1264 #include <orbit/orbit.h>
1266 (spi_init_any_string):
1267 (spi_init_any_object):
1268 New convenience function declarations.
1272 (spi_init_any_string):
1273 (spi_init_any_object):
1274 New convenience function implementations.
1276 * registryd/deviceeventcontroller.c:
1277 (spi_poll_dec_mouse_moved):
1278 (spi_device_event_controller_forward_mous_event):
1279 Initialize any_data member of event.
1280 (spi_deregister_controller_device_listener):
1281 Fix incorrect param pass which was preventing deregistration.
1283 * registryd/registry.c:
1284 (desktop_add_application):
1285 (desktop_remove_application):
1286 Add object data to event's any_data before dispatch.
1288 Fix for error messages from GAIL.
1290 * test/event-listener-test.c:
1291 Test new ContextString and "any_data" API:
1292 (report_text_event): New method query and output context string.
1293 (main): register a new text listener with report_text_event
1296 2002-11-19 Darren Kenny <darren.kenny@sun.com>
1298 Fixes for bugs 98127 and 97914.
1299 * cspi/spi-roletypes.h:
1300 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
1302 * cspi/spi-statetypes.h:
1303 Added SPI_STATE_MANAGES_DESCENDANTS
1305 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
1306 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
1307 * cspi/spi_accessible.c:
1308 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
1309 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
1310 Accessibility_STATE_MANAGES_DESCENDANTS
1311 * libspi/accessible.c:
1312 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
1313 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
1314 As requested by Bill, I also cleaned up the alignment.
1315 * libspi/relation.c:
1316 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
1317 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
1318 * libspi/stateset.c:
1319 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
1320 Accessibility_STATE_MANAGES_DESCENDANTS
1321 * docs/reference/cspi/tmpl/spi_accessible.sgml:
1322 Document changes reflecting modifications to roles.
1323 * docs/reference/cspi/tmpl/spi_relation.sgml:
1324 Document changes reflecting modifications to relations.
1325 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1326 Document changes reflecting modifications to states.
1328 2002-11-17 Bill Haneman <bill.haneman@sun.com>
1331 Revved to 1.1.3, interface-age=3, binary-age=3.
1332 Added REBUILD macro.
1335 Removed accessx-gui from the tests, since we have a nice
1336 keyboard accessibility capplet now :-)
1338 * test/keysynth-demo.c:
1339 (increment_scan): removed do-nothing default: case,
1342 * test/visual-bell.c:
1343 (main) : removed do-nothing default: case,
1346 * cspi/spi_action.c:
1347 (AccessibleAction_getKeyBinding_):
1348 Documented keybinding string format.
1352 (AccessibleText_getAttributes):
1353 Documented the text attribute string format.
1354 It's changed to use semicolon delimiters also,
1355 to prevent clashes with CSS attributes, but the old
1356 trick of looking for ", " strings will still work
1357 (as unreliably as ever). Fix for bug related to 97916.
1360 Include <cspi/bonobo/cspi-bonobo-listener.h>
1361 Fixes build warning.
1362 (SPI_freeAccessibleKeySet):
1363 (AccessibleKeystrokeListener_addCallback):
1364 (AccessibleKeystrokeListener_removeCallback):
1365 Modify to use AccessibleDeviceListener API internally,
1366 instead of AccessibleKeystrokeListener.
1368 * idl/Accessibility_Event.idl:
1369 Added two more empty slots to EventListener (for a total of four).
1371 * idl/Accessibility_Accessible.idl:
1372 Added four empty slots to Accessible interface.
1374 2002-11-15 Bill Haneman <bill.haneman@sun.com>
1376 * idl/Accessibility_Registry.idl:
1377 (KeyEventType, EventType):
1378 Marked KeyEventType as deprecated; it duplicates
1379 functionality of EventType, which has been extended to
1380 include Mouse-button events.
1381 (KeyEventTypeSeq): defined in terms of EventType.
1382 (registerDeviceEventListener, deregisterDeviceEventListener):
1383 New methods, for managing listeners to device events,
1384 which potentially may consume them.
1387 Added definition for AccessibleDeviceListener.
1389 * cspi/spi-listener.h:
1390 (enum AccessibleDeviceEventType):
1391 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
1392 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
1393 for backwards compat.
1394 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
1395 and typedef'd AccessibleKeystroke to it for back-compat.
1396 (AccessibleDeviceListenerCB):
1397 New function prototype typedef.
1400 (AccessibleDeviceEventMask): New typedef.
1401 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
1402 (AccessibleKeyMaskType):
1403 Set equivalent to AccessibleModifierMaskType for back-compat.
1404 (SPI_createAccessibleKeystrokeListener):
1405 (AccessibleKeystrokeListener_unref):
1406 Deprecated in favor of equivalent (better-named) new API below..
1407 keystroke listeners are like all device listeners.
1408 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
1409 New API names for old features :-).
1410 (AccessibleDeviceListener_addCallback):
1411 (AccessibleDeviceListener_removeCallback):
1412 (SPI_registerDeviceEventListener):
1413 (SPI_deregisterDeviceEventListener):
1417 (SPI_createAccessibleKeystrokeListener):
1418 Use new preferred API, cspi_device_listener_new() and
1419 cspi_device_listener_add_cb().
1420 (AccessibleKeystrokeListener_removeCallback):
1421 Use new preferred API, cspi_device_listener_remove_cb().
1422 (AccessibleKeystrokeListener_unref):
1423 Use new preferred API, cspi_device_listener_unref().
1424 (SPI_createAccessibleDeviceListener):
1425 (AccessibleDeviceListener_addCallback):
1426 (AccessibleDeviceListener_removeCallback):
1427 Implementation of new API.
1429 * cspi/spi_registry.c:
1430 (SPI_registerDeviceEventListener):
1431 (SPI_deregisterDeviceEventListener):
1432 Implementation of new API. Fixed memory leak and removed need to
1433 allocate EventTypeSeq (thanks Michael for catching this).
1434 Squashed a wayward CORBA_exception_free that shouldn't get called.
1436 * cspi/bonobo/cspi-bonobo-listener.c:
1438 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
1439 (cspi_key_event): renamed to cspi_device_event().
1440 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
1441 Extended to handle mouse button events as well as key events.
1442 (CSpiKeystrokeListener):
1443 Class superceded by CSpiDeviceListener.
1444 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1445 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1447 * cspi/bonobo/cspi-bonobo-listener.h:
1448 (CSpiKeystrokeListener):
1449 Class superceded by CSpiDeviceListener.
1450 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1451 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1453 * libspi/Makefile.am:
1454 Replaced keystrokelistener.h and keystrokelistener.c
1455 with devicelistener.h and devicelistener.c; keystrokelisener.h
1456 stub retained for back-compat.
1458 * libspi/keystrokelistener.c:
1462 Replaced inclusion of keystrokelistener.h with devicelistener.h.
1464 * registryd/deviceeventcontroller.c:
1465 (DEControllerListener): Added Accessibility_EventTypeSeq member.
1466 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
1467 (DEControllerPrivateData): Added xkb settings data.
1468 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
1469 button release events (which can't be captured via XGrabButton).
1470 Don't dispatch via the 'normal' event mechanism if the device event was
1472 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
1473 Handle the typeseq data in its new location (see above).
1474 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
1475 New methods, for "generic" device listeners.
1476 (spi_controller_register_device_listener):
1477 Now handle mouse event listeners as well as key listeners.
1478 (spi_controller_notify_mouselisteners):
1479 New internal method.
1480 (spi_device_event_controller_forward_mouse_event):
1481 Now we notify mouse device listeners as well as generating the
1482 non-consumable "mouse:" events.
1484 We must check and restore the XKB
1485 modifier map if we consume the event, since the act of triggering
1486 a mouse event will normally reset the XKB latch. This is required for
1488 (spi_controller_register_with_devices):
1489 Load the XKB settings when registering, and register for XKB
1490 state notify events.
1491 (spi_key_eventtype_seq_contains_event):
1492 Renamed spi_eventtype_seq_contains_event, since it's used
1493 internally for all device event types now.
1494 (spi_key_event_matches_listener):
1495 Uses spi_eventtype_seq_contains_event now.
1496 (spi_device_event_controller_object_finalize):
1497 Free the private data and the XkbKeyboard struct.
1498 (impl_register_device_listener, impl_deregister_device_listener):
1499 Implementation of new IDL.
1500 (spi_deregister_controller_device_listener):
1501 New internal method.
1502 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
1503 More efficient implementation, we don't have to create a new
1504 XkbControls structure every time we query.
1505 (spi_device_event_controller_class_init):
1506 Initialize the epv entries for the new IDL. Assign the
1507 "spi-dec-private" quark.
1508 (spi_device_event_controller_init):
1509 Initialize the private data.
1510 (spi_device_event_controller_forward_key_event):
1511 Removed a bogus CORBA_exception_free() call.
1513 * registryd/deviceeventcontroller.h:
1514 Replaced inclusion of keystrokelistener.h with
1517 * test/event-listener-test.c:
1518 (report_mouse_event):
1521 Added mouse-event device listener.
1523 * test/test-simple.c:
1524 (create_test_window):
1525 Fixed regression (we were instantiating a GtkRange,
1526 which is now an abstract class). Also fixed to match
1527 existing AtkRole names, this seems to have changed in ATK
1528 awhile ago; too late now I think, and the new
1529 mechanism is at least elegant and consistent with the
1530 glib enum "nick" APIs.
1532 2002-11-15 Darren Kenny <darren.kenny@sun.com>
1534 * idl/Accessibility_Relation.idl:
1535 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
1536 RELATION_EMBEDS,RELATION_EMBEDDED_BY
1537 * idl/Accessibility_Role.idl:
1538 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
1539 * idl/Accessibility_State.idl:
1540 add STATE_MANAGES_DESCENDANTS
1541 * test/event-listener-test.c:
1542 Added a listener for active-descendant events.
1544 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
1546 * atk-bridge/bridge.c
1547 (atk_bridge_init): If application is Bonobo component wait until top
1548 level is added before registering
1549 (spi_atk_bridge_do_registration): New function which contains code,
1550 formerly in atk_bridge_init, to do application registration.
1551 (spi_atk_bridge_toplevel_added): Signal called when top level
1552 added to Bonobo component
1554 This fixes bug #83134.
1556 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
1558 * registryd/deviceeventcontroller.c
1559 Fixed compilation error caused by calling gettimeofday()
1562 2002-10-18 Bill Haneman <bill.haneman@sun.com>
1567 Added template for HAVE_XKB.
1570 Changes to check for XKB, and to set the HAVE_XKB #define if it
1573 * libspi/listener.c:
1574 ()impl_notify_event): Make failure to get event source name
1577 * registryd/deviceeventcontroller.c:
1578 (#include): include X11/XKBlib.h.
1579 (DEControllerPrivateData) : New struct.
1580 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
1582 (dec_synth_keycode_press) (dec_synth_keycode_release):
1583 New methods; split the key synthesis code into these methods.
1584 They check XKB settings before determining the "time" values to
1585 pass to Xtest; this fixes bug #95828.
1586 (impl_generate_keyboard_event): Changed to use methods above,
1587 instead of callng Xtest directly.
1588 (spi_device_event_controller_init): Initialize new privae struct s
1590 (spi_device_event_controllr_object_finalize):
1591 Free the (new) private data.
1593 * registryd/deviceeventcontroller.h:
1594 Add new gpointer to end of struct data.
1596 2002-10-16 Bill Haneman <bill.haneman@sun.com>
1599 Incremented revision to 1.1.2, SONAME is still '.so', library
1600 extensions are ".so.0.0.2".
1602 * registryd/deviceeventcontroller.c:
1603 FIXES FOR #93592 and #95940.
1604 (statics): renamed mouse_button_state to mouse_mask_state,
1605 added key_modifier_mask.
1606 (spi_dec_poll_mouse_moved):
1607 Added key modifier checks, and emit "keyboard:modifiers"
1608 events when the key modifiers currently in use change.
1609 Also generate "mouse:abs" events periodically, even if the mouse
1610 is stationary (should we?).
1611 Alternatively we could generate "mouse:abs" events for either all
1612 mouse movements, or every 'nth' mouse movement, or at the
1613 beginning and end of every "active" mouse period.
1615 * test/event-listener-test.c:
1616 (main): Added listener for "keyboard:modifiers" events.
1618 2002-10-15 Bill Haneman <bill.haneman@sun.com>
1620 * libspi/keymasks.h:
1621 Added key mask #defines for mouse buttons; e.g.
1622 SPI_KEYMASK_BUTTON1, etc.
1625 Incremented dependency on ATK to version 1.1.0. (This dependency
1626 is probably premature but will soon be real enough).
1628 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
1630 * libspi/hyperlink.[ch]
1631 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
1632 (get_hyperlink_from_servant): Check object is AtkHyperlink not
1635 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
1640 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
1642 * registryd/deviceeventcontroller.c
1643 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
1644 events to be ignored.
1645 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
1646 keyboard_mode so that XAllowEvents() can be called.
1650 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
1652 * cspi/spi-accessible.c: Correct names of roles returned by
1653 AccessibleRole_getName(). Fixes bug #95055.
1655 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
1657 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
1660 * registryd/registry.c
1661 (desktop_remove_application: Write diagnostic message to stderr for
1664 (impl_accessibility_registry_deregister_global_event_listener):
1665 Correct size of lists array. This addresses bug #94555).
1667 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
1669 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
1672 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
1674 * registryd/Makefile: Add CLEANFILES so that .server file is removed
1677 * registryd/registry.c (impl_registry_notify_event): Remove
1678 unnecessary call to parser_event_type().
1680 * docs/reference/cspi/tmpl/spi_component.sgml:
1681 Add reference to SPI_LAYER_WINDOW.
1683 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
1685 * registryd/registry.c
1686 (desktop_add_application): Remove leak.
1687 (desktop_remove_application): Remove leak.
1688 (parser_event_type): Remove leak.
1690 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
1692 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
1693 bogus call to CORBA_string_dup(). Also removed unnecessary
1694 g_string_dup/g_free calls.
1696 2002-09-13 Bill Haneman <bill.haneman@sun.com>
1698 * registryd/deviceeventcontroller.c:
1699 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
1701 * test/event-listener-test.c:
1702 main: commented out three redundant listeners, to reduce output
1703 noise. (They still are potentially useful for testing).
1706 2002-09-13 Michael Meeks <michael@ximian.com>
1708 * Update all the copyrights to include Ximian.
1710 2002-09-06 Mark McLoughlin <mark@skynet.ie>
1712 * cspi/spi.h: add SPI_LAYER_WINDOW.
1714 * cspi/spi_component.c: (AccessibleComponent_getLayer):
1715 add Accessibility_LAYER_WINDOW case.
1717 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
1719 * libspi/component.c: (impl_accessibility_component_get_layer):
1720 add ATK_LAYER_WINDOW case.
1722 2002-08-28 Bill Haneman <bill.haneman@sun.com>
1724 * configure.in: incremented micro version.
1726 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
1728 2002-08-20 Bill Haneman <bill.haneman@sun.com>
1731 Clarified and reworded our commit policy.
1734 Started an API "todo" addition list for 2.2.
1737 (impl_getSelection):
1738 Free char pointer from atk_text_get_selection, which was being leaked.
1740 2002-08-19 Bill Haneman <bill.haneman@sun.com>
1743 Small revision to author acknowledgement.
1745 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1747 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
1748 If signal has detail add it to the type of the event.
1751 2002-08-12 Michael Meeks <michael@ximian.com>
1753 * test/test-simple.c (global_listener_cb): bin bogosity.
1754 (test_keylisteners): disable, still doesn't work reliably,
1755 certainly not on my system anyway.
1757 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
1758 don't leak a reference on the DEC. This round-trip
1759 fetching of the DEC per keystroke sucks, it should be
1762 * cspi/spi-private.h,
1763 * cspi/cspi-lowlevel.h,
1764 * cspi/bonobo/cspi-bonobo-listener.[ch],
1765 * cspi/bonobo/cspi-bonobo.c: get the copyright
1766 notices better - there is still a large amount of
1767 work in at-spi falsely attributed solely to Sun.
1769 * cspi/spi_main.c (cspi_object_ref): kill bogus
1770 hash lookup, just increment the ref.
1771 (SPI_freeString): make explicit the fact that we
1772 handle NULL strings just fine.
1773 (report_leaked_ref): obey coding standards.
1774 (cspi_object_hash, cspi_object_equal): kill retval.
1775 (cspi_object_release): only release if not on loan.
1776 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
1777 (cspi_object_borrow, cspi_object_return): impl.
1779 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
1780 use cspi_object_borrow / return.
1782 2002-08-12 Darren Kenny <darren.kenny@sun.com>
1784 * cspi/bonobo/cspi-bonobo-listener.c:
1786 Don't call cspi_oject_new() because this is creating a new Accessible
1787 every single time that an event is fired. This causes ATs like at-poke
1788 to nolonger recognise the source of the event and thus ignore it.
1789 Re-use the object from the cache, ref it and then unref it after the
1790 listeners have been called.
1792 2002-08-06 Darren Kenny <darren.kenny@sun.com>
1794 * test/event-listener-test.c:
1795 Added command-line options to disable mouse events (m) and
1798 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
1800 * configure.in: Update required versions of ATK, GTK+ and GAIL
1802 * cspi-1.0.pc.in: Add dependency for X include files
1805 * cspi/bonobo/Makefile.am:
1806 Add $(X_CFLAGS) so that X include files
1807 are picked up even if not in standard place (bug #71686)
1809 2002-06-25 Bill Haneman <bill.haneman@sun.com>
1811 * registryd/deviceeventcontroller.c: fix for 84261
1812 (spi_dec_mouse_moved):
1813 Added test of mouse button mask, so that we can detect mouse
1814 button release. Unfortunately we can't otherwise detect mouse
1815 button release events without consuming the mouse press event,
1816 because of the way XGrabButton works. This means that our mouse
1817 release events have a latency dependent on the polling period
1818 while the mouse button is down. At least in this case we only
1819 have to poll while the button is down, and not at other times.
1820 If the button masks don't match with what the last press event
1821 reported, we report the appropriate button release event.
1822 (spi_dec_ungrab_mouse):
1823 New method (not yet called).
1824 (spi_device_event_controller_forward_mouse_event):
1825 New method, sends mouse press event from GdkFilter.
1826 (spi_dec_init_mouse_listener):
1827 Added code to call XGrabButton, redirecting mouse button events to
1828 the root window and our Gdk event loop.
1830 Added code to filter mouse button events, and reordered.
1832 * test/event-listener-test.c:
1834 Added registration for mouse events of type "mouse:button".
1836 2002-06-25 Bill Haneman <bill.haneman@sun.com>
1838 * registryd/deviceeventcontroller.c: partial fix for 84261
1839 (spi_dec_poll_mouse_idle):
1840 New method, a timeout which checks to see if the mouse
1842 (spi_dec_poll_mouse_moving):
1843 A timeout to be called when mouse motion is underway.
1844 (spi_dec_poll_mouse_moved):
1845 A method which fires an event if the mouse has moved, and reports
1846 whether or not it did so.
1847 (spi_dec_init_mouse_listener):
1848 A method which sets up the timeouts above.
1849 (spi_device_event_controller_new):
1850 Now calls spi_dec_init_mouse_listener.
1852 * registryd/registry.c:
1853 (spi_registry_init):
1854 Now we initialize the device event controller when the registry is
1855 initialized, instead of waiting until a client has requested a key
1856 event notification; this is because we need the event controller
1857 for mouse events, but the mouse event registration API is a
1858 "registry" call and doesn't explicitly call the
1859 deviceeventcontroller.
1860 We now report mouse motion events with a 100 ms idle latency and
1861 a 20 ms granularity when motion is in progress.
1863 * test/event-listener-test.c:
1865 We now register the "detail listener" for events of type
1866 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
1867 delivered only for the first mouse event received, and thereafter
1868 "mouse:abs" events are delivered.)
1870 * cspi/spi_registry.c:
1871 DOCS: Documented the above mouse event typestrings.
1873 2002-06-21 Bill Haneman <bill.haneman@sun.com>
1875 Happy Summer Solstice...
1877 * registryd/deviceeventcontroller.c: [fix for bug 84100]
1878 (spi_controller_notify_keylisteners):
1879 Changes to remove a listener from the listener list, freeing its
1880 open keygrabs, if a notification to that listener fails. This
1881 means that although a dead listener can continue to hold a passive
1882 keygrab, a maximum of one dispatch to such a listener can fail
1883 before the listener is removed from the list, thus the keygrab
1884 will be released on the next occurrence.
1885 As part of this fix:
1886 (spi_notify_keylisteners):
1887 Renamed to spi_controller_notify_keylisteners, as the controller
1888 instance must now be passed as an argument.
1889 The copied 'notify' GList is now a list of DEControllerKeyListener
1890 objects, since we need more than just the CORBA reference if a
1891 notify fails and we need to deregister the listener.
1892 (impl_notify_listeners_sync):
1893 (impl_notify_listeners_async):
1894 (spi_device_event_controller_forward_key_event):
1895 Modify use of notify_keylisteners in accordance with above
1897 (spi_deregister_controller_key_listener):
1898 New method introduced by refactoring, from
1899 impl_deregister_keystroke_listener.
1900 (impl_deregister_keystroke_listener):
1901 Call spi_deregister_controller_key_listener.
1902 (spi_key_listener_clone):
1903 New method to copy a key listner without doing a 'ref' on the
1904 remote object instance; used to create a notifier list.
1905 (spi_key_listener_data_free):
1906 New method, frees data without unreffing the source.
1908 (spi_key_listener_clone_free): new method.
1909 (spi_key_listener_free):
1910 refactored to call spi_key_listener_data_free.
1912 2002-06-20 Bill Haneman <bill.haneman@sun.com>
1914 * registryd/registry.c: [fix for bug 86048]
1915 (notify_listeners_cb):
1916 Clear CORBA system exceptions which occur when notifying
1917 listeners, before returning to the source of the original event,
1918 since the event source doesn't care if the relayed notify failed.
1919 In other words, don't complain to the atk-bridge if the registry
1920 could not notify all its listeners, that's no fault of the
1921 application and thus should not appear to be an error from the
1922 application's perspective.
1924 * cspi/spi_main.c: [fix for bug 85980]
1926 Replaced use of bonobo_object_dup_ref with call to the wrapper
1927 method, csou_dup_ref (); this silences a compiler warning and
1928 provided more portability.
1930 Ping the registry before return, and restart if necessary.
1932 * cspi/bonobo/cspi-bonobo.c:
1934 New internal method.
1936 Fixed this method to return an object reference, as it should have
1939 * cspi/cspi-lowlevel.h:
1940 Added internal definition for cspi_ping() and fixed
1941 return type of cspi_dup_ref().
1944 2002-06-19 Bill Haneman <bill.haneman@sun.com>
1946 * atk-bridge/bridge.c: [fix for bug 85305]
1947 (spi_atk_bridge_register_application):
1948 New method where the initial application registry calls have been
1949 moved; it allows an application to re-register in response to
1950 certain error conditions (such as a registry restart, see below).
1952 Moved some initialization code to the method
1953 spi_atk_bridge_get_registry, below.
1954 (spi_atk_bridge_get_registry):
1955 New, private accessor function for the Accessibility_Registry
1956 instance. If the registry has not been started before, or has
1957 died (as detected by failure of a CORBA exception), it is
1958 restarted before return, and spi_atk_bridge_register_application
1959 is called again to register with the new bridge instance.
1960 (spi_atk_emit_eventv):
1961 Set registry_died on error; use spi_atk_bridge_get_registry () to
1962 access the registry.
1964 * registryd/registry.c:
1965 (impl_accessibility_registry_register_global_event_listener):
1966 Set listener's event_type_quark to etype.minor instead of
1967 etype.major (fix for bug 84856).
1969 * test/event-listener-test.c:
1970 (report_detail_event):
1971 Change the output string so that user/tester can tell that the
1972 'detail listener' was called instead of the 'generic listener'.
1974 2002-06-18 Bill Haneman <bill.haneman@sun.com>
1976 Fixes for bugs 84900, 84908, 84897, 84898.
1981 Revved version to 1.1.0
1982 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
1983 version is going to HEAD which will be used for gnome-2-0-1 and later.)
1985 * idl/Accessibility_Registry.idl:
1986 (EventListener::notifyEvent):
1987 Removed 'oneway' directive after extensive consulation with
1988 ORBit2 team and others. This means also that unref() of the event
1989 source can and should be done synchronously after emission, rather
1990 than remotely in the client, after servicing the notify call on
1993 NOTE: This change speeds up listener performance considerably, but
1994 introduces new latency on the application side. We may want to
1995 add an event queue to the atk-bridge.
1997 * atk-bridge/bridge.c:
1998 (spi_atk_bridge_focus_tracker):
1999 Do a local unref() on the event source after emission.
2001 * registryd/registry.c:
2002 (desktop_remove_application):
2003 Do an unref() on the event source after emission.
2004 (desktop_add_application):
2005 Do an unref() on the event source after emission.
2006 (notify_listeners_cb):
2007 When relaying an event, don't automatically add the event source
2008 to the local object cache, just CORBA_dup it instead. Likewise,
2009 if this method reenters, release the ref rather than calling
2011 (impl_registry_notify_event):
2012 No longer call remote unref() on the event source after dispatch.
2014 * libspi/eventlistener.c:
2015 (impl_accessible_event_notify_event):
2016 Removed remote unref ()
2018 * cspi/bonobo/cspi-bonobo-listener.c:
2020 We now call cspi_object_new() instead of cspi_object_add() on
2021 receipt of an event; thus we only have an implicit object ref
2022 while the cspi_event method is being executed. If we need to keep
2023 a reference to the object, the listener must call ref() on the
2024 object. Thus also we don't need to call cspi_object_unref() after
2025 invoking the listener callbacks in this method.
2029 New internal API for creating a new cspi object, without adding it
2030 to the object cache.
2032 Now uses cspi_object_new() to create the cspi object instance.
2034 Now checks to see if the object is in the internal object cache,
2035 and adds it if necessary before incrementing its refcount (note
2036 that new objects are added with a refcount of 1).
2037 (report_leaked_ref):
2038 New method which gives some information on leaked object instances
2039 if leak detection is turned on.
2041 * test/event-listener-test.c:
2042 (timing_test_event):
2043 New method, used for testing event delivery timing for special
2044 events of type "object:test". It reports elapsed time and
2045 events/sec every 500 events.
2047 Added a new listener, 'test listener', to check timing of event
2048 receipt as noted above.
2050 Added some timing output here also, reports elapsed time every 100
2053 * test/stress-test.c:
2054 Emit events of type "object:test", for use with "event-listener-test".
2056 * test/test-simple.c:
2057 (global_listener_cb):
2058 Call Accessible_ref() on the event source before calling
2059 validate_accessible, since the validation process does pointer
2060 comparisons on the event source, meaning that the event source
2061 needs to be added to the local object cache first. Any use of
2062 such pointer comparisons between Accessible objects requires that
2063 the caller hold an explicit reference to those objects.
2064 We also must therefore call Accessible_unref() when leaving this method.
2066 2002-06-13 Bill Haneman <bill.haneman@sun.com>
2068 * registryd/deviceeventcontroller.c:
2069 (spi_controller_update_key_grabs):
2070 Fix for #84735, subsequent keygrab listeners not informed of
2071 registration failure.
2074 (spi_base_construct):
2075 Add an assertion on construct, to make sure the GObject passed in
2076 is really a GObject.
2078 Explicitly initialize object->gobj pointer to NULL;
2080 * cspi/bonobo/cspi-bonobo-listener.c:
2081 (cspi_object_add_ref):
2082 New method, can specify whether to dup-ref a bonobo object passed
2083 in if it's newly added to the object cache.
2085 Now calls cspi_object_add_ref with second param of "FALSE". This
2086 prevents us from doing a pointless dup-ref followed by
2087 release-unref for all those cases where the object is already in
2088 our object cache (fix for #85205).
2090 * atk-bridge/bridge.c:
2091 (spi_atk_bridge_idle_init):
2092 Removed this method, we don't need to initialize in an idle
2095 Changed to call spi_atk_register_event_listeners directly, not via an
2096 idle handler. (fix for #81139)
2097 (gnome_accessibility_module_shutdown):
2098 Removed conditional around deregistration of listeners, since we
2099 don't use the idle handler and thus have always registered when
2101 (spi_init_keystroke_from_atk_key_event):
2102 Changed references to Accessibility_KEY_PRESSED to
2103 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
2105 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2107 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
2112 * test/stress-test.c:
2115 (may have been an incomplete commit yesterday?)
2117 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2120 Added target for new stress-test.
2122 * test/stress-test.c:
2123 New test, sends 1000 focus notifies in quick succession.
2125 * test/key-listener-test.c:
2126 Now we report whether a keylistener registration
2127 request succeeded or failed.
2129 * test/event-listener-test.c:
2130 Uncommented some listeners which are now implemented.
2133 2002-06-06 Bill Haneman <bill.haneman@sun.com>
2135 * registryd/deviceeventcontroller.c:
2136 (spi_controller_update_key_grabs):
2137 Fix for #82509, lack of failure notification when
2138 ALL_WINDOWS keygrabs fail due to XGrabKey
2139 failure: we synchronize the server when
2140 registering a passive grab, to make sure we get the
2141 error message before the call returns.
2143 2002-06-03 Bill Haneman <bill.haneman@sun.com>
2145 * test/test-simple.c:
2147 Removed #ifdef KEY_IMPL_WORKS guards.
2148 (test_keylisteners):
2149 Removed #ifdef KEY_IMPL_WORKS guards.
2150 Fixed bug which was causing a hang waiting for a
2151 "press" event (which was already overwritten by a "release"
2152 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
2154 Added code to set globals 'key_press_received' and
2155 'key_release_received'.
2158 Added section "1.1 API Proposed Additions" which
2159 lists API additions desired for at-spi-1.1 (only one so far).
2160 Updated TODO list a little.
2162 2002-06-02 Bill Haneman <bill.haneman@sun.com>
2164 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
2167 * configure.in: Revved to 1.0.0.
2169 * idl/Accessibility_Registry.idl:
2170 (registerKeystrokeListener):
2171 Added boolean return value.
2173 * registryd/registry.c:
2174 (notify_listeners_cb): Minor fix to debug output.
2176 * registryd/Accessibility_Registry.server.in.in:
2177 Revved version number in OAFIID to 1.0.
2179 * registryd/registryd.c:
2181 Use new OAFIID version.
2183 * cspi/bonobo/cspi-bonobo.c:
2185 Use new OAFIID version.
2191 * atk-bridge/bridge.c:
2193 Use new OAFIID version.
2195 * registryd/deviceeventcontroller.c:
2196 (impl_register_keystroke_listener):
2197 Added CORBA_boolean return value.
2198 (spi_controller_register_device_listener):
2199 Added gboolean return value.
2200 (spi_controller_register_global_keygrabs):
2201 Added gboolean return value.
2202 (spi_key_set_contains_key):
2203 Added implementation for many more control keys,
2204 for instance F1-F12, arrow keys, End, Home, Page_Up,
2206 [TODO: some still not implemented].
2208 * text/screen-review-test.c:
2209 (text_chunk_pad_string):
2210 New function: it provides mapping between coordinate
2211 positions of text chunks and character positions in the
2212 screen-review-line output string.
2213 (text_chunk_to_string):
2214 New function, calls text_chunk_pad_string with various
2215 pad/delimiter characters. Pushbuttons are delimited with
2216 square brackets, Frames with vertical 'pipe' lines, and
2217 other text with double quotes.
2218 (text_chunk_list_to_string):
2219 Calls new function text_chunk_to_string.
2220 (toplevel_composite):
2221 New function to composite layers CANVAS through
2222 POPUP in each toplevel (other layers are composited
2223 across toplevels, i.e. BACKGROUND and OVERLAY).
2224 (review_buffer_composite):
2225 Revise to use new methods.
2231 2002-05-31 Laszlo Peter <laca@sun.com>
2233 * configure.in: add the Xtst libdir to the runpath on Solaris,
2234 since it's not in the default library search path.
2236 2002-05-29 jacob berkman <jacob@ximian.com>
2238 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
2240 2002-05-29 Bill Haneman <bill.haneman@sun.com>
2242 * test/screen-review-test.c:
2243 (text_chunk_pad_string):
2244 Added method, which pads the string according to the
2245 text bounds of the chunk. It also takes a 3-character
2246 string as a param which indicates the characters to be
2247 used for start, padding, and end delimitation of the chunk.
2248 (text_chunk_to_string):
2249 Changed to use text_chunk_pad_string.
2251 * configure.in: Fixed bug in AC_OUTPUT that was
2252 causing path substitution in Accessibility_Registry.server
2255 2002-05-23 Bill Haneman <bill.haneman@sun.com>
2257 * text/screen-review-test.c:
2258 (guess_string_clip):
2259 New method which attempts a best-guess at clipping
2260 text from components (like Java labels) which don't
2261 actually implement AccessibleText. This inaccurate
2262 clip is based on the assumption that the label is
2263 justified left-and-right, and monospaced.
2264 (text_chunk_get_clipped_string):
2265 We now call guess_string_clip() for text-containing
2266 components that don't implement AccessibleText.
2268 * test/screen-review-test.c:
2269 (review_buffer_get_text_chunk):
2270 We now pull "name" from labels if they do not implement
2271 AccessibleText (i.e. for Java labels).
2272 (get_screen_review_line_at):
2273 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
2276 Replaceded AC_OUTPUT target
2277 registryd/Accessibility_Registry.server with
2278 registryd/Accessibility_Registry.server.in.
2280 * registryd/Accessibility_Registry.server.in:
2281 Removed (this is now a Makefile target).
2283 * registryd/Accessibility_Registry.server.in.in:
2284 Added (source for target above). We now use $(libexecdir) as
2285 prefix for the executable at-spi-registryd.
2287 * registry/Makefile.am:
2288 Now install at-spi-registryd into $(libexecdir), and build .server
2289 file with path (see above).
2291 2002-05-22 Bill Haneman <bill.haneman@sun.com>
2293 * test/screen-review-test.c:
2294 (text_chunk_get_clipped_string):
2295 We now check to see if words fall within clip bounds
2296 before resorting to character-by-character clip bounds testing.
2298 * TODO: Added a section for "2.2 Proposed API Additions".
2300 2002-05-21 Bill Haneman <bill.haneman@sun.com>
2302 * test/screen-review-test.c:
2304 Added a screen review benchmarking and test program to test
2307 * cspi/spi_accessible.c:
2309 Made some of the debug strings passed to cspi_check_ev a
2310 little more specific.
2312 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
2314 * test/screen-review-test.c: Fix crashes in debug statements
2316 2002-05-20 Bill Haneman <bill.haneman@sun.com>
2318 * test/screen-review-test.c: Added this file.
2320 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2322 * atk-bridge/bridge.c: changed "object:state-change" to
2323 "object:state-changed" to match docs.
2325 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2327 * atk-bridge/bridge.c: Hooked up state-change event details.
2329 2002-05-11 Bill Haneman <bill.haneman@sun.com>
2331 * registryd/registry.c:
2332 Fixed quarking bug in event string parsing; now events with
2333 detail parameters get matched correctly to listeners.
2336 * util/idl/Magnifier.idl: remove.
2338 * util/*.[ch]: Remove.
2339 Magnification utilities and IDL are now in module gnome-mag.
2341 2002-05-10 Bill Haneman <bill.haneman@sun.com>
2343 * registryd/deviceeventcontroller.c:
2344 Fixed bug in grab key conversion which was causing keycode grabs
2345 to be converted to AnyKey grabs.
2348 updated NEWS file to reflect recent spin-off of gnome-mag.
2350 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
2352 * cspi/spi_accessible.c: Added exception checks. Fixed completely
2353 busted AccessibleStateSet_compare. Removed redundant casts.
2355 * cspi/spi-action.c: Removed redundant casts.
2357 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
2359 * cspi/spi_component.c: Fixed typos and casting error.
2361 * cspi/spi_editabletext.c: Removed redundant casts.
2363 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
2365 * cspi/spi_hypertext.c: Eliminated redundant casts.
2367 * cspi/spi_image.c: Eliminated redundant casts.
2369 * cspi/spi_registry.c: Eliminated redundant casts.
2370 SPI_deregisterGlobalEventListenerAll () removed retval variable.
2371 * cspi/spi_selection.c: Removed redundant casts.
2372 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
2373 handling. Screen geometry and text offsets were being returned as 0
2374 on error which is technically valid-- changed these to return -1.
2375 Added marshaller for text boundary types to fix bug with boundary
2376 types being passed incorrectly to atk.
2378 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2381 * cspi/spi_registry.c:
2382 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
2383 which was uncovered by the recent key changes.
2385 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2387 * test/event-listener-test.c:
2389 Added new test, "event-listener-test";
2390 this code does two things; it benchmarks traversal time
2391 for the accessible hierarchy for the first running accessible
2392 app, and it connects listeners for all supported event types.
2393 It is thus useful as an example event listener and for
2394 diagnostics/debugging of event generation.
2396 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2399 Removed unnecessary dependency on libutil.
2402 Revved micro version: 0.13.1
2404 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2407 Removed util/Makefile from targets.
2410 Removed util subdir from SUBDIRS (temporarily,
2411 pending removal of magnifier-only code
2415 #ifdef-ed out magnifier dependencies, since
2416 magnifier IDL, headers, and binary now live in
2417 module gnome-mag and we don't want at-spi to depend
2418 on gnome-mag. A magnifier demo which can run alongside
2419 simple-at is forthcoming in the gnome-mag module.
2421 NOTE: Split magnifier binary, IDL, and magnification
2422 activation code from at-spi into module gnome-mag.
2424 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
2426 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
2427 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
2429 2002-05-03 Bill Haneman <bill.haneman@sun.com>
2432 Revved to version 0.13.0
2434 * idl/Accessibility_Registry.idl:
2435 Changed definition of KeySet from sequence of longs to sequence of
2436 KeyDefinitions, and added KeyDefinition struct.
2437 Required for fix to bug 80616.
2439 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
2440 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
2441 to use new definition (see above).
2443 * registryd/deviceeventcontroller.c: handle_keygrab(),
2444 spi_keyset_contains_key():
2445 Changed to make use of new struct; this allows matching based on
2446 string key-name, for instance "Tab". This also allows matching of
2447 composed characters, non-alphanumeric characters in a way that
2448 doesn't involve dependencies on X keysym codes directly, etc.
2450 * test/key-listener-test.c:
2451 Added test for Alt-Tab key using "string" specification of keyset,
2452 and modified one of the tests to use a keycode-based keyset.
2453 Thus this test both tests and demonstrates the creation and use of
2454 keysets of three forms: specified via keycode array,
2455 keysym array, and string array. (The string case only contains a
2456 single string, i.e. a string array of length 1).
2459 Turned on PRINT_TREE option by default. Also fixed a
2460 string-freeing bug in the PRINT_TREE code.
2461 Added a listener to window:minimize events.
2463 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
2465 * atk-bridge/bridge.c:
2466 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
2467 for window:activate and window:deactiveate
2468 (atk_bridge_property_event_listener atk_bridge_signal_listener
2469 atk_bridge_window_event_listener) Tidy debug code
2471 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
2473 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
2474 Fixed handling for NULL return value from ATK.
2476 * libspi/action.c libspi/component.c libspi/editabletext.
2477 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
2478 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
2479 Removed redundant casts.
2481 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
2482 Fixed off by one bug.
2484 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
2485 function not present in idl)
2487 2002-05-02 jacob berkman <jacob@ximian.com>
2489 * atk-bridge/Makefile.am: make atk-bridge a real module
2491 2002-04-26 Radek Doulik <rodo@ximian.com>
2493 * libspi/stateset.c (spi_init_state_type_tables): fix size of
2494 atk_state_types table
2496 2002-04-22 jacob berkman <jacob@ximian.com>
2499 * libspi/Makefile.am: add deps on the built files to help
2500 automake, and don't version the ORBit typelib
2502 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
2504 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
2505 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
2506 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
2507 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
2508 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
2509 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
2510 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
2511 libspi/accessible.h libspi/accessible.h libspi/base.h
2512 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
2513 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
2514 libspi/relation.h libspi/remoteobject.h libspi/selection.h
2515 libspi/spi-private.h libspi/statetset.h libspi/table.h
2516 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
2517 util/mag_client.h util/mag_control.c util/mag_image.c
2518 util/mag_image.h util/magnifier.c util/magnifier.h:
2519 Add missing file headers; standardize existing ones
2521 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
2523 * atk-bridge/bridge.c: Added window event support.
2525 2002-04-18 Michael Meeks <michael@ximian.com>
2527 * libspi/relation.c (impl_getNTargets): impl.
2528 (impl_getTarget): impl.
2530 * libspi/Makefile.am: fix stateset install.
2532 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2535 Started putting useful info in this file.
2537 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
2539 * atk-bridge/bridge.c:
2540 Propagate state-changed notifications to ATs
2542 * cspi/spi_registry.c: update docs to reflect actual behavior of
2543 state-change events.
2545 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2548 Incremented version to 0.12.1
2550 * util/mag_client.h:
2551 Add missing declaration for magnifier_exit,
2552 used by mag_control.c - Forte compiler didn't like
2553 the implicit redeclaration of the function :-(
2556 2002-04-16 Bill Haneman <bill.haneman@sun.com>
2559 Revved version to 0.12 due to API change (see below).
2561 * cspi/spi-roletypes.h:
2562 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
2563 definition from the inline docs, and added docs
2564 for SPI_ROLE_LAST_DEFINED.
2567 * cspi/spi_streamablecontent.c:
2568 Added missing seek_type parameter to
2569 (so far unused) method,
2570 AccessibleStreamableContent_seek().
2571 [ RT approval JodyG. ]
2574 Fixed docs for SPI_createAccessibleKeystrokeListener.
2576 * cspi/spi_registry.c:
2577 Fixed docs for SPI_KEYSET_ALL_KEYS.
2579 * docs/reference/cspi/at-spi-cspi-sections.txt:
2580 Added a number of missing APIs to SECTIONS.
2582 2002-04-16 Bill Haneman <bill.haneman@sun.com>
2584 * registryd/Makefile.am:
2586 * cspi/bonobo/Makefile.am:
2587 Add $(X_LIBS) to makefiles.
2589 2002-04-15 Bill Haneman <bill.haneman@sun.com>
2592 Revved version to 0.11.
2594 * libspi/component.c:
2595 Added implementation for grabFocus.
2597 * idl/Accessibility_Component.idl
2598 (Accessibility_Component_grabFocus):
2599 Made this method return boolean to indicate success or failure, to
2600 be consistent with cspi and the corresponding ATK method.
2602 * idl/Accessibility_Selection.idl
2603 (Accessibility_Selection_selectAll) :
2604 Made these methods return boolean to indicate success or
2605 failure, to be consistent with cspi and the corresponding ATK methods.
2607 * idl/Accessibility_EditableText.idl
2608 (Accessibility_EditableText_setTextContents,
2609 Accessibility_EditableText_insertText,
2610 Accessibility_EditableText_cutText,
2611 Accessibility_EditableText_deleteText,
2612 Accessibility_EditableText_pasteText):
2613 Made these methods return boolean to indicate
2616 * cspi/spi_editabletext.c:
2617 Made these methods return booleans.
2619 * libspi/selection.c:
2620 * libspi/component.c:
2621 * libspi/editabletext.c:
2622 Connected the boolean returns from ATK
2623 to the server-side code referenced above.
2625 2002-04-14 Bill Haneman <bill.haneman@sun.com>
2627 * idl/Accessibility_Table.idl: Added missing methods,
2628 Accessibility_Table_addRowSelection,
2629 Accessibility_Table_addColumnSelection,
2630 Accessibility_Table_removeRowSelection,
2631 Accessibility_Table_removeColumnSelection.
2634 Added C wrappers for above IDL:
2635 AccessibleTable_addRowSelection,
2636 AccessibleTable_addColumnSelection,
2637 AccessibleTable_removeRowSelection,
2638 AccessibleTable_removeColumnSelection.
2641 Added server-side implementation code for IDL above, connecting
2642 to pre-existing ATK api.
2644 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
2646 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
2648 * libspi/accessible.c: Added implementation fo
2649 Accessibility_Accessible_get_state.
2651 * libspi/libspi.h: Added stateset.h to the list of includes.
2653 * libspi/stateset.c: Fixed broken implementation.
2655 2002-04-13 Bill Haneman <bill.haneman@sun.com>
2658 Added implementation code for Accessibility_Magnifier_exit ().
2660 * util/mag_control.c:
2661 Added test code for above method; you can
2662 now kill an existing magnifier via
2663 ./mag_control q, from the util directory.
2665 * test/key-listener-test.c:
2667 Added a new test, for our key listener API.
2669 2002-04-11 Bill Haneman <bill.haneman@sun.com>
2671 * test/app.c, test/keysynth-demo.c:
2673 Replace use of snprintf with g_snprintf.
2674 (fix for bugzilla 78249)
2676 2002-03-27 Michael Meeks <michael@ximian.com>
2680 * util/Makefile.am (INCLUDES): fix.
2681 (DONT_DIST_SOURCE): don't distribute the
2684 * libspi/Makefile.am (dist-hook): ditto.
2686 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
2688 * libspi/hypertext.c:
2689 Fix warnings when yelp is used with atk-bridge
2691 2002-03-21 Michael Meeks <michael@ximian.com>
2693 * libspi/application.c (spi_application_new):
2694 use spi_accessible_construct so we use the AtkObject
2697 2002-03-19 Michael Meeks <michael@ximian.com>
2699 * registryd/registry.c (desktop_remove_application),
2700 (desktop_add_application): clean coding style.
2702 * registryd/desktop.c (spi_desktop_remove_application),
2703 (spi_desktop_add_application): kill re-enterency hazards.
2704 (spi_desktop_dispose): remove bogus redundant cast
2705 obscuring bug; fix bug too.
2706 (spi_desktop_init): make the desktop object immortal.
2708 2002-03-16 Bill Haneman <bill.haneman@sun.com>
2711 Added a #define-guarded tree-traversal step
2712 when enumerating the apps (diagnostic tool).
2714 2002-03-15 Bill Haneman <bill.haneman@sun.com>
2716 * idl/Accessibility_Role.idl:
2717 Added ROLE_DRAWING_AREA which seemed to be missing from the
2720 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2722 * cspi/spi-roletypes.h cspi/spi_accessible.c
2723 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
2726 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
2727 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
2728 AT when applications are added and removed from the desktop. This
2729 reverts the previous broken implementation using the backing
2730 AtkObject for the SpiDesktop.
2732 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2734 * registryd/desktop.c: emit the "children-changed::add" and
2735 "children-changed::remove" signals on the backing ATK object for
2736 the desktop so AT can tell when applications are started and shut
2739 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2741 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
2743 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2745 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
2747 * cspi/spi_accessible.c: Implemented c bindings for stateset support
2749 * cspi/state-types.h: synched with IDL and ATK
2751 2002-03-13 Bill Haneman <bill.haneman@sun.com>
2753 * libspi/accessible.c
2754 (impl_accessibility_accessible_get_child_at_index):
2755 Change return value for g_return_if_fail ()
2756 to CORBA_OBJECT_NIL instead of "0" (!)
2758 * registryd/Makefile.am:
2759 * registryd/Accessibility_Register.server.in:
2760 Changed name of executable, "registryd",
2761 to something more informative:
2764 2002-03-13 Michael Meeks <michael@ximian.com>
2766 * atk-bridge/bridge.c (atk_bridge_init): don't register
2767 if we're in a bonobo-component, rather than a bonobo app.
2769 2002-03-13 Michael Meeks <michael@ximian.com>
2771 * atk-bridge/bridge.c (gtk_module_init): split
2772 out body to (atk_bridge_init): here, since otherwise
2773 we get symbol conflicts and oddness when invoked
2774 from (gnome_accessibility_module_init): here (upd.)
2776 2002-03-11 Bill Haneman <bill.haneman@sun.com>
2779 New file. Explicitly allow "build sheriff" putbacks provided
2780 they are tested on Solaris.
2782 * docs/reference/cspi/Makefile.am:
2783 Added '-' to the "cp" command for index.sgml.
2784 ("patch by thomasvs, soon coming to a GUADEC near you")
2787 Incremented version number (0.9.0) for new release.
2788 Changed macro that checks for popt, to better detect
2789 obsolete versions of popt.
2792 Added X_LIBS to AC_SUBST, for applications
2793 that call Xlib API directly.
2796 2002-03-07 Bill Haneman <bill.haneman@sun.com>
2799 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
2802 Fix regression caused by hard-coding major
2803 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
2806 * test/test-simple.c (test_editable_text),
2807 (test_test): revert previous change (error was
2808 a regression in gail which is now fixed).
2810 2002-03-04 Michael Meeks <michael@ximian.com>
2812 * test/test-simple.c (test_editable_text),
2813 (test_text): pass G_MAXINT instead of '-1' for
2814 whole string - is this a good thing !?
2816 * cspi/spi_accessible.c
2817 (Accessible_getRelationSet): fix crasher bug
2818 overwriting the end of the array.
2820 * test/test-simple.c (validate_accessible): free,
2821 not g_free returned relation set.
2823 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
2825 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
2826 implemented stateset support
2828 * idl/Accessibility_State.idl: Made necessary changes to
2829 the IDL to support state sets.
2831 2002-02-12 Bill Haneman <bill.haneman@sun.com>
2833 * registryd/deviceeventcontroller.c:
2834 Added implementation for generateMouseEvent.
2836 * cspi/spi_registry.c:
2837 Connected new implementation for generateMouseEvent
2840 2002-02-12 Bill Haneman <bill.haneman@sun.com>
2843 Incremented revision (but no change in public API
2844 outside of 'utils', which are not installed public yet.)
2846 * libspi/component.c:
2847 Changed to use atk_component API for layers and
2848 mdi_zorder, instead of deprecated atk_object API.
2850 Magnification Utility Enhancements:
2853 Added implementation of createZoomRegion, clearAllZoomRegions,
2854 resizeZoomRegion. Added new commandline argument
2855 "--no-initial-region". Note that clearAllZoomRegions doesn't
2856 unmap the old '0' region as it should (yet), and the other
2857 methods only work when creating/resizing a single region,
2858 which is "region 0".
2859 (Code for multiple region support will be added later.)
2862 Now we raise the magnifier window each time it's refreshed;
2863 this will help keep it on top.
2865 * util/mag_client.h:
2866 Added simple wrappers for above, used by mag_control.
2867 For general use, it's recommended to use the bonobo magnifier
2868 control API directly instead of using these wrappers.
2871 Moved ZoomRegionData from magnifier.c to this file.
2873 * util/mag_control.c:
2874 Added some code to exercise new IDL implementations.
2876 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
2878 * libspi/text.c: Provide implementation for getAttributes.
2880 2002-02-04 Bill Haneman <bill.haneman@sun.com>
2883 Incremented revision.
2885 * test/test-simple.c:
2886 Replaced use of deprecated g_main_iteration with
2887 g_main_context_iteration.
2889 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
2892 Incremented revision for desktop alpha 2.
2894 2002-01-28 Mark McLoughlin <mark@skynet.ie>
2896 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
2899 * test/simple-at.c: include netinet/in.h.
2901 2002-01-24 Mark McLoughlin <mark@skynet.ie>
2903 * cspi/spi_accessible.c: (Accessible_getRelationSet):
2904 use NULL, not CORBA_OBJECT_NIL.
2906 * libspi/accessible.c:
2907 (impl_accessibility_accessible_get_relation_set):
2908 allocate the sequence correctly.
2910 * libspi/remoteobject.h: kill spi_remote_object_new.
2912 * test/test-simple.c: (validate_accessible): add code
2913 to test relation sets, now all we need is to figure
2914 out how to excercise this code path :/
2916 2002-01-18 Michael Meeks <michael@ximian.com>
2918 * test/test-simple.c
2919 (key_listener_cb): consume the key.
2920 (test_keylisteners): update.
2921 (main): wait for any pending unrefs on events.
2923 * registryd/deviceeventcontroller.c
2924 (spi_controller_update_key_grabs): only re-issue the
2925 grab on a key release.
2926 (spi_device_event_controller_forward_key_event):
2927 refresh the keygrabs before we notify the listeners,
2928 to reduce the X ungrab / re-grab race.
2929 (spi_controller_register_with_devices): remove
2930 XSelectInput - we do that with the gdk_window_ call.
2931 (_spi_controller_device_error_handler): return a value.
2932 s/GDK_DISPLAY/spi_get_display/
2934 2002-01-17 Michael Meeks <michael@ximian.com>
2936 * registryd/deviceeventcontroller.c
2937 (_deregister_keygrab): don't blow out the later
2940 * test/test-simple.c (test_keylisteners): do a
2941 more intelligent validation.
2943 2002-01-14 Michael Meeks <michael@ximian.com>
2945 * atk-bridge/bridge.c
2946 (gnome_accessibility_module_init),
2947 (gnome_accessibility_module_shutdown): impl.
2948 (gtk_module_init): protect vs. double inits.
2949 (add_signal_listener): impl.
2950 (spi_atk_bridge_state_event_listener): kill
2951 (deregister_application): split out of
2952 (spi_atk_bridge_exit_func): here.
2954 2002-01-18 Bill Haneman <bill.haneman@sun.com>
2957 Added caret tracking when using magnifier, and
2958 now use text bounds for focus tracking of text elements, rather than
2959 the component bounds - this is helpful for short text fields in long
2960 table cells, at high magnification.
2962 2002-01-16 Bill Haneman <bill.haneman@sun.com>
2964 * registryd/deviceeventcontroller.c:
2965 Regression fix for keylistener de-registration; global keygrabs
2966 were not being released when deregisterKeystrokeListener was
2967 called in cspi, since
2968 Accessibility_DeviceEventController_deregisterKeystrokeListener
2969 was called with a zero-length keyset. That is because the cspi
2970 method, SPI_deregisterKeystrokeListener, does not take a keyset
2971 parameter but instead should remove all the key grabs held be a
2973 The code in impl_deregister_keystroke_listener was changed to copy
2974 the keylist from the listener instance previously registered with
2975 the DeviceEventController before releasing the grabs.
2977 * registryd/registry.c:
2978 * registryd/deviceeventcontroller.c:
2979 * libspi/spi-private.h:
2981 Changed spelling of "re-enterant" to "re-entrant" globally.
2983 2002-01-16 Bill Haneman <bill.haneman@sun.com>
2985 * test/test-simple.c:
2986 Changed key listeners test - the test was slightly mis-using the
2987 (admittedly poorly documented) SPI_generateKeyboardEvent API.
2988 It now uses '=' as the key event listened to and generated,
2989 relying on a keysym match rather than assuming that keycode 33
2990 is always equal to keysym '!'.
2992 2002-01-15 Bill Haneman <bill.haneman@sun.com>
2995 Changed simple-at to use a specific keyset, rather than
2996 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
2997 manager, desktop, etc.
2999 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3001 * registryd/deviceeventcontroller.c:
3002 Replaced standard X error handler with a special handler that
3003 is non-fatal for failed keygrabs. This works around
3004 problems with keygrab clashes sometimes observed on
3006 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
3007 mouse handling code as yet).
3009 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3012 Incremented revision for desktop alpha release.
3015 Fixed a couple of the more glaring errors (still not
3018 2002-01-11 Michael Meeks <michael@ximian.com>
3020 * registryd/deviceeventcontroller.c
3021 (spi_device_event_controller_forward_key_event): kill
3022 XUngrabKey / XKeyGrab race.
3023 (spi_controller_grab_keyboard): rename to
3024 (spi_controller_update_key_grabs): this, and deal
3025 with incremental adding / removing grabs more
3027 (_register_keygrab): ensure we're not pending a remove.
3028 (spi_grab_mask_free): impl.
3029 (spi_controller_register_global_keygrabs): split out
3031 (handle_keygrab): impl.
3032 (_deregister_keygrab): impl.
3033 (spi_controller_deregister_global_keygrabs): impl.
3034 (spi_controller_update_key_grabs): re-issue the grab if
3035 we just recieved a notification.
3037 * test/test-simple.c (key_listener_cb): remove debug.
3039 * registryd/deviceeventcontroller.c
3040 (spi_controller_register_device_listener): after
3041 registering a global keygrab, actualy register it !
3042 don't wait for a timeout; doh !
3044 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
3045 to make it more readable / manipulable.
3046 s/grabmask/grab_mask/ s/refcount/ref_count/
3047 s/keyval/key_val/ s/modmask/mod_mask
3049 2002-01-08 Michael Meeks <michael@ximian.com>
3051 * registryd/deviceeventcontroller.c
3052 (spi_controller_register_with_devices): use gdk calls to
3054 (global_filter_fn): implement the filter.
3055 (spi_device_event_controller_check_key_event): rename to
3056 (spi_device_event_controller_forward_key_event): this & upd.
3057 (spi_get_display): replace with GDK_DISPLAY.
3059 * registryd/deviceeventcontroller.c
3060 (spi_controller_deregister_device_listener): unroll into
3061 (impl_deregister_keystroke_listener): here to simplify.
3062 (spi_controller_register_global_keygrabs): split cut and
3063 paste (!) out into (_register_keygrab): here, shorter & sweeter.
3064 (spi_controller_deregister_device_listener): remove.
3065 (impl_register_mouse_listener): remove, no mouse listener
3066 support in at-spi-1.0
3068 * registryd/registry.c
3069 (_device_event_controller_hook): kill.
3070 (spi_registry_init): upd.
3072 * registryd/deviceeventcontroller.c
3073 (spi_device_event_controller_class_init): upd.
3074 (spi_check_key_event): merge into.
3075 (spi_device_event_controller_check_key_event):
3076 here and kill strange static ev init, don't leak
3077 the x_event - nor dynamicaly allocate it.
3079 * registryd/registry-main.c (main): re-direct
3080 timeout to remove strange vtable mess.
3082 * registryd/deviceeventcontroller.c
3083 (remove_listener_cb): impl.
3084 (spi_controller_deregister_device_listener):
3085 fix re-enterancy hazard.
3087 2002-01-07 Michael Meeks <michael@ximian.com>
3089 * registryd/deviceeventcontroller.c
3090 (spi_device_event_controller_new): upd.
3091 (impl_notify_listeners_sync): upd. debug.
3092 (spi_notify_keylisteners): fix re-enterancy hazards,
3093 prettify, remove O(n*n) iteration.
3094 (spi_controller_grab_keyboard): fix iteration.
3095 (spi_check_key_event): re-format to suit coding style.
3096 Clean all the warnings - we're warning free.
3098 * registryd/deviceeventcontroller.h:
3099 * registryd/registry.h: make mutualy referential with
3100 typesafe forward references instead of (!) void pointer
3103 2002-01-11 Michael Meeks <michael@ximian.com>
3105 * cspi/spi_accessible.c (role_names): add a role name
3106 to sync this array with the enum; and make the regression
3109 2002-01-10 Michael Meeks <michael@ximian.com>
3111 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
3112 allow expansion of enumeration & kill warning.
3114 * test/test-simple.c (key_listener_cb): impl.
3115 (test_keylisteners): impl.
3117 * cspi/spi-listener.h: make listener signatures const
3118 on the provided (const) events.
3120 * test/keysynth-demo.c: upd. to const events.
3122 * test/simple-at.c: ditto.
3124 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3127 Rev the version to 0.5 (the previous tarball was named 0.4,
3128 even though the micro number was 3), so we need to rev upwards
3129 again for beta2/"desktop-alpha"
3132 Checked in a demo script, which requires editing before use!
3133 Proceed with caution.
3136 Fixed typo in header which was redefining SPI_ACTION_CLASS.
3138 * cspi/spi_accessible.c:
3139 Add a couple of missing enum initializations, and fix some enum
3142 * cspi/spi_registry.c:
3143 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
3145 * docs/reference/cspi/at-spi-cspi-sections.txt:
3146 Remove/fix a couple of broken document references.
3149 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
3150 as Alt-Control to listen for commands, since on some systems
3151 Control-Alt may already be grabbed.
3153 2002-01-10 Bill Haneman <bill.haneman@sun.com>
3156 Update version number to 0.4 for Beta2.
3158 * libspi/accessible.c, libspi/accessible.h:
3159 Expose spi_accessible_construct, to enable libgail-gnome
3160 construction from spi_accessible subtype.
3162 * utils/magnifier.c:
3163 Workaround for bug in some non-gnome-compliant window managers
3164 which made magnifier resize improperly.
3166 2002-01-09 Bill Haneman <bill.haneman@sun.com>
3168 * libspi/accessible.c: (spi_accessible_new) :
3169 Move the test for SPI_IS_REMOTE_OBJECT to
3170 spi_accessible_new_return, fixing a bug and compile time warning.
3172 2002-01-08 Michael Meeks <michael@ximian.com>
3174 * registryd/registry.c (parse_event_type): remove strndup.
3176 * libspi/Makefile.am (libspi_la_SOURCES): remove
3177 sources already included in the headers section.
3179 * libspi/util.c: add.
3181 * libspi/spi-private.h: add.
3183 * registryd/registry.c: update to moved list iterators.
3185 2002-01-05 Michael Meeks <michael@ximian.com>
3187 * test/simple-at.c (main): upd. auto-module set to atk-bridge
3189 * test/test-simple.c (main): ditto.
3191 2002-01-04 Michael Meeks <michael@ximian.com>
3193 * libspi/accessible.c (spi_accessible_new): remove 2nd,
3194 redundant construct.
3196 * registryd/registry.c
3197 (get_listener_list): impl.
3198 (impl_accessibility_registry_register_global_event_listener):
3199 re-impl. to simplify using ~, remove dodgy const cast off.
3200 (parse_event_type): constify.
3201 (impl_accessibility_registry_deregister_global_event_listener_all):
3202 re-write, more efficiency and simplicity, kill re-enterancy
3204 (compare_listener_corbaref, compare_corba_objects),
3205 (compare_listener_quarks): define out.
3206 (impl_accessibility_registry_deregister_global_event_listener):
3207 re-write for effiency, and nail re-enterancy hazard.
3208 (impl_accessibility_registry_get_desktop_list): impl.
3209 (re_enterant_list_delete_link): impl.
3210 (re_enterant_list_foreach): impl.
3211 (remove_listener_cb): impl.
3212 (_registry_notify_listeners): kill.
3213 (notify_listeners_cb): impl.
3215 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
3216 (SPI_getDesktopList): impl.
3218 * test/test-simple.c (test_desktop): test the methods.
3220 2002-01-03 Michael Meeks <michael@ximian.com>
3222 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
3223 keystrings since we free them
3224 (SPI_freeAccessibleKeySet): in here.
3226 * libspi/accessible.c (spi_accessible_new): kill warning,
3227 wonder what is going on with the constructor here.
3229 2002-03-01 Bill Haneman <bill.haneman@sun.com>
3231 * libspi/accessible.c (spi_accessible_new ()) :
3232 Added check to see if AtkObject is an SpiRemoteObject before
3233 creating an SpiAccessible.
3235 2002-05-01 Bill Haneman <bill.haneman@sun.com>
3237 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
3238 Enable keygrabs using the Control modifier, now that they are
3239 working properly (they were previously disabled).
3242 Change the command keygrab for this demo to "Control+Alt", so as
3243 to conflict with fewer other key commands on the system; this
3244 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
3246 Removed a pointlessly-chatty keylistener for unshifted keys
3247 (shifted keys are still reported).
3249 2002-02-01 Bill Haneman <bill.haneman@sun.com>
3251 * libspi/remoteobject.h:
3252 * libspi/remoteobject.c:
3253 Added definitions for special AtkObject subtype, required for
3254 support of remote components (specifically, used by BonoboControl
3255 accessibility implementation).
3257 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
3259 * cspi/spi.h: synched relation types with ATK
3261 * cspi/spi_accessible.c: Added implementations of
3262 AcccessibleRelation_* methods
3264 * idl/Accessibility_Relation.idl: added getRelationTypeName
3265 method. Synched known relation types with ATK. Allowed for
3266 relation type extension with the RELATION_EXTENDED type.
3268 * libspi/relation.c: Provided implementations for
3269 AccessibleRelation methods.
3271 2002-01-01 Bill Haneman <bill.haneman@sun.com>
3273 API tweaks for today's API 'freeze'.
3276 Added placeholder functions to allow future compatible expansion
3277 of the IDL interfaces.
3279 * idl/Accessibility_Registry.idl:
3280 Changed generateKeyEvent to generateKeyboardEvent. Changed
3281 signature of this method to accept an optional keystring in
3282 parameter (for complex text input synthesis) and changed use of
3283 simple 'boolean' parameter in registerKeystrokeListener to a
3284 struct, EventListenerMode.
3286 * cspi/spi_accessible.c:
3288 * cspi/spi_streamablecontent.c:
3289 Added references to AccessibleStreamableContent interface, and
3290 definition and implementation of AccessibleStreamableContent
3293 * cspi/spi_registry.c:
3295 Changed generateKeyEvent API to generateKeyboardEvent,
3296 taking a new (optional) keystring parameter to support complex
3301 Renamed directory (to better reflect its actual purpose, bridging
3302 from at-spi to ATK). The .so module is also now named
3305 * idl/Accessibility_Hypertext.idl:
3306 * libspi/accessible.c:
3307 * libspi/hypertext.h:
3308 * libspi/hypertext.c:
3309 Changed Accessibility_Hypertext to *not* derive from
3312 * cspi/spi_registry.c:
3313 Added list of legal event type names for 'window' events, which
3314 completes the registry event API.
3316 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
3318 * at-bridge/bridge.c: Added registration for separate
3319 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
3320 signals. If either of the first two parameters to the generic
3321 bridge signal handler are ints, they are passed on as event
3322 details. This allows an AT to determine what text was inserted.
3324 2001-12-21 Bill Haneman <bill.haneman@sun.com>
3326 * registryd/deviceeventcontroller.c:
3327 Fixed regressions in generateKeyEvent caused by the removal of
3328 gdk_init from registryd; we now use pure X calls to connect to the
3329 display, which makes sense because deviceeventcontroller already
3330 uses a fair bit of X API (should eventually be migrated to a
3331 'portability layer').
3333 * registryd/desktop.c:
3334 Fixed minor regression in spi_desktop_init, changed the way the
3335 desktop name is being set to work with new spi_base API
3336 (gobject-based, rather than AtkObject-based).
3338 * registryd/Makefile.am:
3339 Minor revision of makefile to use XTST_LIBS variable rather than
3340 hard-wiring the Xtst LD_ADD element.
3342 * test/keysynth-demo.c:
3343 Tweaked an output message; added initialization of the
3344 'keystrings' member of the "switch listener" key_set.
3346 * libspi/relation.c:
3347 Squashed compile-time warning.
3349 * libspi/accessible.c:
3350 Cosmetic and formatting fixes, renamed a static method.
3352 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
3354 * libspi/accessible.c
3356 * libspi/application.c
3359 * libspi/component.c
3360 * libspi/editabletext.c
3361 * libspi/hyperlink.c
3362 * libspi/hypertext.c
3364 * libspi/selection.c
3368 * registryd/desktop.c:
3369 Changed SpiBase to contain a GObject pointer rather than an AtkObject
3371 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3373 * idl/Accessibility_Registry.idl:
3374 Added boolean member 'is_text' to DeviceEvent. This is for the
3375 use of key events, and helps prevent ambiguity between composed
3376 key strings and keysym names, since both may potentially be
3377 returned in the 'event_string' member.
3379 * at-bridge/bridge.c:
3380 * registryd/deviceeventcontroller.c:
3381 Use the 'is_text' member when notifying device event listeners.
3382 Knon issue: composed characters are not dealt with correctly by
3383 the global key listener implementation yet.
3385 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3387 * at-bridge/bridge.c:
3388 Namespaced local static methods to spi_atk_bridge_* where
3389 previously named bridge_*, and spi_* elsewhere.
3391 * at-bridge/bridge.c:
3392 * cspi/bonobo/cspi-bonobo-listener.c:
3393 Added demarshalling/conversion for string member of
3394 Accessibility_DeviceEvent to AccessibleKeystroke.
3396 * registryd/deviceeventcontroller.c:
3397 Added code to fill the Accessibility_DeviceEvent key string value
3398 member for global key events (i.e. from XGrabKey), to match
3399 behavior of Accessibility_DeviceEvent from the toolkit key events
3400 from the bridge. Fixed timestamp in global key event notifications.
3403 Added printout of key event's string value to
3404 report_ordinary_key_event, for demo/debugging purposes.
3406 2001-12-15 Bill Haneman <bill.haneman@sun.com>
3408 * idl/Accessibility_Registry.idl:
3409 Removed Accessibility_KeyStroke structure in favor of generic
3410 Accessibility_DeviceEvent structure.
3411 Changed Accessibility_ControllerEventMask from a struct to an
3414 * at-bridge/bridge.c:
3415 Changed APIs to use DeviceEvent structure as above, and removed
3416 bogus casting between these event structures.
3418 * cspi/spi-listener.h:
3419 Added keystring member of AccessibleKeystroke structure, to enable
3420 matching on event "names" rather than only hardware codes and
3424 Added keystrings member of AccessibleKeySet struct, to allow
3425 matching on event names (as above).
3426 Added declarations for SPI_createAccessibleKeySet and
3427 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
3428 event modmasks directly as unsigned ints rather than structs with
3429 refcounts, in the DeviceEventController methods.
3431 * cspi/spi_registry.c:
3432 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
3434 * cspi/spi-roletypes.h:
3435 Added documentation of newly added SPI Roles.
3437 * cspi/bonobo/cspi-bonobo-listener.c:
3438 Changes in support of API changes above.
3440 * libspi/accessible.c:
3441 Converted APIs to use DeviceEvent structure (see IDL changes
3444 * registryd/deviceeventcontroller.c:
3445 Added DEControllerGrabMask structure to track keygrabs not only by
3446 modmask but by keyset as well; this allows us to do "global"
3447 (i.e. X) keygrabs on a per-key or keyset basis rather than always
3448 grabbing on AnyKey and then filtering after-the-fact.
3449 Bugfixes for event filtration mean that we don't get false matches
3450 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
3452 * registryd/deviceeventcontroller.c:
3453 Namespaced a number of static methods to use spi_ prefix. Major
3454 revision to internals of global (i.e. X) key grabs.
3456 * registryd/deviceeventcontroller.h:
3457 Removed keymask_list and added keygrabs_list to
3458 SpiDeviceEventController struct.
3461 Added use of SPI_createAccessibleKeySet API when creating a
3462 listener for only one key. Attach a listener to "shift spacebar
3463 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
3464 X key event names to SPI key event names, so that listeners are
3465 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
3467 * test/keysynth-demo.c:
3468 Changed (incorrect) use of X key event names (KeyPressed,
3469 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
3472 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3474 * libspi/accessible.c:
3475 Convert all AtkRole enumerations to Accessibility_Role enums when
3476 getting a role from an AtkObject.
3478 * cspi/spi_accessible.c:
3479 Complete the conversion of Accessibility_Role enums at runtime to
3480 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
3481 role enums correctly match those given in spi-roletypes.h.
3482 Re-synchronize the local names list for AccessibleRole_getName ().
3483 AccessibleRole_getName is now deprecated, since it duplicates the
3484 more reliable Accessible_getRoleName.
3485 Added some role types from Accessibility_Role.idl.
3487 * idl/Accessibility_Role.idl:
3488 Added some role types used by AtkRole.
3490 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3493 * cspi/spi_registry.c:
3495 * cspi/cspi-bonobo-listener.c:
3496 Namespaced all methods that did not begin with an "SPI_" or
3497 "Accessible" prefix to "SPI_".
3500 Homogenized internal function namespace to "cspi_" for statics.
3503 Patched tests to use the new CSPI API.
3505 * docs/reference/cspi/at-spi-cspi-sections.txt:
3506 Updated docs to reflect namespace changes, and added a number of
3507 methods to the documentation.
3509 * registryd/registry.c:
3510 Changed use of strings and string hashes in listener event
3511 matching and parse_event_string to use GQuark, which is guaranteed
3514 * registryd/registry.h:
3515 Squashed annoying warning.
3517 * idl/Accessibility_Role.idl:
3518 Extended range of available Accessibility_Role values.
3520 * cspi/spi_accessible.c:
3521 Re-ordered role names.
3523 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3525 * idl/Accessibility_Value.idl:
3526 Revert use of union back to CORBA_double, since the double type is
3527 more efficient and can contain the other types without loss of
3530 * idl/Accessibility_Accessible.idl:
3531 Added method Accessibility:Accessible:getRoleName, to complement
3532 Accessibility:Accessible:getRole.
3534 * cspi/spi_accessible.c:
3536 Added C binding for above, Accessible_getRoleName (), and changed
3537 signature of Accessible_getRole () to return an AccessibleRole.
3539 * cspi/spi-roletypes.h:
3540 Changed AccessibleRole_getName to return a char * instead of a
3541 const char *. This method is now at least temporarily deprecated
3542 in favor of asking Accessibles for their RoleNames directly.
3545 Revert to match Accessibility_Value.idl;
3549 Change signature of AccessibleValue methods to use double rather
3553 * cspi/spi_accessible.c:
3554 Changed Accessible_getRole to return an AccessibleRole enum rather
3555 than a UTF-8 string. The UTF-8 string can still be obtained via
3556 AccessibleRole_getName ().
3558 * test/test-simple.c:
3559 Add test_action. Small fixup to match API change to Accessible_getRole.
3562 Bugfix for get_action_from_servant ().
3564 2001-12-11 Michael Meeks <michael@ximian.com>
3566 * libspi/libspi.h: remove registry.h and
3567 desktop.h, deviceeventcontroller.h
3569 * libspi/Makefile.am: remove registry.[ch],
3570 desktop.[ch], deviceeventcontroller.[ch]
3572 * registryd/Makefile.am: add registry.[ch],
3573 desktop.[ch], rename registryd.c to registry-main.c.
3574 add deviceeventcontroller.[ch]
3576 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3579 Replace setenv() call with putenv ().
3581 * libspi/component.c:
3582 Bugfix in AccessibleComponent_getExtents (),
3585 2001-12-11 Michael Meeks <michael@ximian.com>
3587 * libspi/image.c (impl_getImageExtents): impl.
3588 (spi_image_class_init): upd.
3591 (AccessibleImage_getImageDescription): fix daft bug
3594 * test/test-simple.c (global_listener_cb): update
3595 to only quit if not --poke
3596 (main): catch --poke.
3597 (validate_accessible): upd. dumping, call test_image
3600 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
3603 * idl/Accessibility.idl: update all IDL includes.
3605 * idl/*.idl - rename to namespace - this sucks, blame
3606 mjs' bad decision for oafd.
3608 * test/test-simple.c (create_test_window): add more tests.
3609 (create_tree): split this out.
3610 (validate_accessible): bugfix.
3612 2001-12-11 Michael Meeks <michael@ximian.com>
3614 * cspi/bonobo/cspi-bonobo-listener.c:
3615 (cspi_kestroke_listener_unref),
3616 (cspi_event_listener_unref): impl. undoing previous
3617 homenous environment - for Bill.
3619 * cspi/spi_table.c (long_seq_to_array): use
3622 * cspi/spi_main.c: split out all bonoboish bits into
3625 * cspi/spi-impl.h: upd. typedefs.
3627 * cspi/spi_registry.c: update to lowlevel API,
3628 return booleans to indicate success in some places.
3630 * cspi/spi_event.c: update to lowlevel API.
3632 * cspi/bonobo/Makefile.am: add.
3634 * cspi/bonobo/cspi-lowlevel.h: add
3636 * cspi/bonobo/cspi-bonobo.c: add
3638 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
3640 * cspi/Makefile.am: remove spi-listener-impl.[ch],
3641 (SUBDIRS): add bonobo, link in the libs.
3643 * cspi/spi-util.c: kill this file.
3645 * TODO: merge in my bits.
3647 2001-12-11 Michael Meeks <michael@ximian.com>
3649 * test/test-simple.c (test_value, test_table, main):
3650 remove unused variables causing warnings.
3652 * configure.in: cleanup checks - require gail.
3654 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3657 Changed Value interface to use SValue (scalars) rather than
3658 assuming all values are floats. This allows floats, doubles,
3659 longs, shorts, and unsigned values to be manipulated.
3660 Introduced Accessibility:SValue union.
3663 Updated to use new API above, and to work correctly with GValues
3664 of different types in AtkValue.
3667 Updated to use new API above. cspi's API is as yet unchanged.
3670 Updated the Value revision action item.
3672 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3674 * test/test-simple.c:
3675 Added test_table (GtkTreeView widget in test window to follow).
3676 Un-commented test_value, added GtkRange widget.
3677 Added GtkTreeView widget with GtkListStore. It passes regression
3678 test but leaks one SPI object for some reason.
3681 Fixed bug in impl__set_currentValue.
3683 2001-12-10 Michael Meeks <michael@ximian.com>
3685 * cspi/spi_text.c: audit for exception handling,
3686 tolerating NULL object references safely etc.
3688 * cspi/spi_value.c: ditto.
3690 * cspi/spi_table.c (AccessibleTable_getSummary),
3691 (AccessibleTable_getAccessibleAt),
3692 (AccessibleTable_getRowHeader),
3693 (AccessibleTable_getColumnHeader),
3694 (AccessibleTable_getCaption): fix bugs hidden by
3696 (long_seq_to_array): impl.
3697 (AccessibleTable_getSelectedRows),
3698 (AccessibleTable_getSelectedColumns): use it.
3700 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3703 Added a TODO list (rough and short for now).
3705 * cspi/spi_hyperlink.c:
3706 * cspi/spi_hypertext.c:
3707 Fixed macro name typos, and remove use of obsolete macro in
3708 AccessibleHyperlink_getLink.
3710 * cspi/spi_action.c:
3711 * cspi/spi_accessible.c:
3712 * cspi/spi_application.c:
3713 * cspi/spi_component.c:
3714 * cspi/spi_selection.c:
3717 Documentation fixes (removed return values from ref/unref methods).
3719 2001-12-10 Michael Meeks <michael@ximian.com>
3721 * cspi/spi_action.c: audit for exception handling,
3722 tolerating NULL object references safely etc.
3724 * cspi/spi_accessible.c: ditto.
3726 * cspi/spi_component.c: ditto.
3728 * cspi/spi_editabletext.c: ditto.
3730 * cspi/spi_hyperlink.c: ditto.
3732 * cspi/spi_hypertext.c: ditto.
3734 * cspi/spi_image.c: ditto.
3736 * cspi/spi_selection.c: ditto.
3738 2001-12-10 Michael Meeks <michael@ximian.com>
3740 * configure.in: use cspi/libspi.pc.in instead.
3742 * Makefile.am (pkgconfig_DATA): upd. to match.
3744 * test/simple-at.c (report_focus_event): kill hacks around
3745 bad return values, use putenv not setenv
3747 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
3748 fire ChildGone - I killed it.
3750 * libspi/component.c
3751 (impl_accessibility_component_get_extents): remove
3754 * idl/Accessible.idl: kill ChildGone exception.
3756 * cspi/*.[ch]: kill int return from ref / unref.
3758 * cspi/spi_main.c (cspi_object_add_check): fold into
3759 (cspi_object_add): here.
3761 * cspi/spi_component.c (AccessibleComponent_getExtents):
3762 handle exceptions elegantly.
3764 * cspi/spi-private.h (cspi_check_ev_return),
3765 (cspi_return_if_fail): impl.
3767 * cspi/spi_accessible.c: use extensively.
3768 (AccessibleStateSet_equals): add direct compare check.
3770 * cspi/spi_selection.c: tolerate NULL objs, and check
3771 exceptions before return.
3773 * cspi/spi-util.c (cspi_warn_ev): rename to
3774 (cspi_check_ev): this & don't pass ev in; no point.
3776 2001-12-10 Michael Meeks <michael@ximian.com>
3778 * test/test-simple.c: use putenv not setenv
3779 (get_environment_vars): more chatty if you're not using
3782 * test/simple-at.c: do the setenv so more people see the
3785 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3787 * libspi/registry.c:
3788 Changed check of CORBA_environment on notification to be a warning
3789 instead of an error for the moment, since we can recover from this
3790 error when caused by a queued notification from a dead app.
3793 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
3794 used by all current implementors of AtkValue), and coerce to
3795 CORBA_float. (Proper general case fix may require change to Value.idl).
3797 2001-12-09 Bill Haneman <bill.haneman@sun.com>
3801 * cspi/spi_accessible.c:
3802 Documentation fixes: added user_data params to documentation for
3803 listeners and callbacks.
3805 * cspi/spi_accessible.c:
3806 Changed AccessibleStateSet_compare to return a
3807 StateSet rather than return the difference set into a third parameter.
3810 2001-12-09 Bill Haneman <bill.haneman@sun.com>
3813 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
3814 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
3818 Remove subdirectory po from SUBDIRS for now.
3820 * at-bridge/bridge.c:
3821 Beefed up a couple of debug printouts.
3822 One-line fix for signal notification name formatting.
3824 * libspi/accessible.c:
3825 Added assertion to spi_accessible_new ().
3827 * libspi/application.c:
3828 Put #ifdef qualifiers around a printf.
3831 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
3833 * registryd/Makefile.am:
3835 Replaces use of XML_I18N_MERGE_SERVER_RULE with
3836 INTLTOOL_SERVER_RULE macro.
3839 Added an event listener for several ATK signals, for
3840 testing and debugging. Removed a few g_warnings.
3841 Added test output if focussed item implements the Value interface.
3843 * test/test-simple.c:
3844 Added test_value () function (known not to pass at the moment, so
3845 not actually called yet.
3847 2001-12-08 Michael Meeks <michael@ximian.com>
3849 * at-bridge/bridge.c (bridge_focus_tracker),
3850 (emit_eventv): fix the same ref. leak.
3851 (register_atk_event_listeners): don't leak.
3853 * cspi/spi-listener-impl.c (cspi_event): more
3854 protection from client code.
3856 * test/test-simple.c (test_desktop): unref the app.
3858 * test/Makefile.am: upd. TESTS.
3860 * at-bridge/bridge.c (bridge_exit_func): release the registry.
3862 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
3864 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
3866 * cspi/spi_registry.c: constify in strings.
3867 (deregisterGlobalEventListenerAll): don't release the ref.
3869 * cspi/spi.h: start removing redundant / conflicting
3870 gtkdoc comments, making the API readable at a glance :-)
3872 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
3874 * test/keysynth-demo.c (keysynth_exit, main): upd.
3876 * test/simple-at.c (main, simple_at_exit): upd.
3878 * test/test-simple.c (unutterable_horror): kill.
3879 (utterable_normal_derefs): kill.
3880 (main): upd & do a setenv before gtk_init, so that we
3881 can use memprof - and to save the pain of remembering
3882 this, if we're running under memprof - don't exit.
3884 * cspi/spi_main.c (SPI_exit): return exit status
3886 (SPI_event_quit): impl.
3887 (SPI_event_main): simplify.
3888 (cspi_is_gnome_app): kill.
3889 (SPI_init): kill isGNOMEapp arg.
3891 * at-bridge/bridge.c (register_atk_event_listeners):
3892 re-instate the unref.
3893 (bridge_exit_func): don't re-activate the registry,
3894 protect vs. theoretical re-entry, use the
3895 AT_BRIDGE_SHUTDOWN env. var to determine whether to
3896 assert a clean shutdown - for regression tests.
3898 2001-12-08 Abel Cheung <maddog@linux.org.hk>
3900 * configure.in: Comment out dummy i18n support for now,
3901 otherwise it fails to build.
3902 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
3903 EXTRA_DIST. They are missing in tarball.
3905 2001-12-07 Michael Meeks <michael@ximian.com>
3907 * util/magnifier.c: kill bonobo activation reg. race.
3909 * libspi/component.c
3910 (impl_accessibility_component_get_extents): make it match
3913 * libspi/registry.c (_registry_notify_listeners):
3914 re-remove X headers & reconcile conflicts.
3915 (spi_listener_struct_free): bad conflict resolve.
3916 (impl_accessibility_registry_register_application):
3917 more bad merging fixed.
3918 (impl_accessibility_registry_deregister_application): ditto.
3919 (spi_registry_new): ditto.
3920 (spi_registry_init): don't have an applications field.
3922 [ merge fixups2 branch to here ]
3923 2001-12-07 Michael Meeks <michael@ximian.com>
3925 * test/simple-at.c (report_focus_event),
3926 (report_focussed_accessible): remove g_warning debug.
3928 2001-12-07 Michael Meeks <michael@ximian.com>
3930 * test/test-simple.c (validate_tree): comment out some checks.
3931 (test_desktop): app now not registered idly - horay.
3933 2001-12-07 Michael Meeks <michael@ximian.com>
3935 * cspi/spi_registry.c
3936 (registerAccessibleKeystrokeListener): clean, stop it leaking
3937 great swathes of memory, and device event controller references.
3938 ensure we always pass valid sequences.
3939 (deregisterAccessibleKeystrokeListener): ditto.
3940 (generateKeyEvent): upd.
3942 * at-bridge/bridge.c (bridge_key_listener): handle
3943 registry dead exception gracefully.
3944 (bridge_focus_tracker, emit_eventv): free ev.
3946 * test/simple-at.c (report_focus_event): fix polarity.
3948 * libspi/application.c (notify_listeners): kill the ev
3949 argument, and make sure we init the ev we use.
3950 (spi_application_object_event_listener): split out a chunk
3951 (get_atk_object_ref): here & fixup.
3952 (reverse_lookup_name_for_toolkit_event): make const.
3953 (spi_application_toolkit_event_listener): fixup, kill leaks
3956 * at-bridge/bridge.c (register_atk_event_listeners):
3957 don't unref the noop object - causes grief.
3959 * libspi/registry.c: remove the X headers.
3960 turn off the debug churn.
3962 * libspi/accessible.c (spi_accessible_new_return): only
3963 release the ref if we are supposed to [doh]
3965 * test/simple-at.c (report_button_press, report_focus_event):
3966 guard vs. unexpected exit.
3968 * at-bridge/bridge.c (gtk_module_init): prune printf.
3969 (bridge_exit_func): fix app unref.
3971 * libspi/Makefile.am: don't install registry or desktop.h
3973 * libspi/*.h: update includes.
3975 * libspi/application.h: don't include ourself, or
3976 other redundant headers.
3978 2001-12-06 Michael Meeks <michael@ximian.com>
3980 * libspi/accessible.c
3981 (get_accessible_from_servant): impl.
3982 Upd. all CORBA impl.s to use it killing cut and paste.
3984 * cspi/spi_main.c (cspi_cleanup): guard vs. double
3986 (SPI_init): register atexit cleanup handler here.
3988 2001-12-06 Michael Meeks <michael@ximian.com>
3990 * at-bridge/bridge.c (gtk_module_init): g_error on
3991 activation exception
3993 2001-12-06 Michael Meeks <michael@ximian.com>
3995 * at-bridge/bridge.c (gtk_module_init): some sort of
3996 confusing merge clash - reverted.
3997 (bridge_idle_init): ditto.
3999 * test/test-simple.c (main, utterable_normal_derefs):
4000 merge from Bill - somehow not committed.
4002 2001-12-06 Michael Meeks <michael@ximian.com>
4004 * libspi/value.c (spi_value_class_init): upd.
4005 (spi_value_finalize): kill.
4007 * libspi/table.c (spi_table_finalize): kill.
4008 (spi_table_interface_new): upd.
4009 (spi_table_class_init): upd.
4010 (get_table_from_servant): impl.
4011 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4013 * libspi/selection.c (spi_selection_finalize): kill.
4014 (spi_selection_interface_new): upd.
4015 (spi_selection_class_init): upd.
4016 (get_selection_from_servant): impl.
4017 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4019 * libspi/relation.c (spi_relation_finalize): kill.
4020 (spi_relation_class_init, spi_relation_new): upd
4022 * libspi/image.c (spi_image_finalize): kill.
4023 (spi_image_class_init): upd.
4024 (spi_image_interface_new): upd.
4025 (get_image_from_servant): impl.
4026 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4028 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
4029 (spi_hyperlink_finalize): kill.
4030 (spi_hyperlink_new): upd.
4031 (get_hyperlink_from_servant): impl.
4032 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4034 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
4035 (spi_hypertext_finalize): kill.
4036 (spi_hypertext_class_init): upd.
4037 (get_hypertext_from_servant): impl.
4038 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4040 * libspi/editabletext.c (spi_editable_text_finalize): kill.
4041 (spi_editable_text_interface_new): upd.
4042 (get_editable_text_from_servant): impl.
4043 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4045 * libspi/text.c (get_text_from_servant): impl.
4046 All impls - update to use it killing more cut and paste,
4047 also fix bad string returns on duff args ( a somewhat
4048 impossible case to handle - but hey ).
4049 (spi_text_construct): impl.
4050 (spi_text_interface_new): upd.
4051 (spi_text_object_finalize): kill.
4053 * libspi/component.c
4054 (accessibility_component_object_finalize): kill.
4055 (spi_component_class_init): upd.
4056 (get_component_from_servant): impl. helper to kill cut & paste.
4057 (impl_accessibility_component_contains):
4058 (impl_accessibility_component_get_accessible_at_point):
4059 (impl_accessibility_component_get_position):
4060 (impl_accessibility_component_get_extents):
4061 (impl_accessibility_component_get_mdi_z_order):
4062 (impl_accessibility_component_get_layer):
4063 (spi_component_interface_new): upd.
4065 * libspi/action.c (spi_action_finalize): kill.
4066 (spi_action_class_init): upd. inherit from SpiObject.
4067 (spi_action_interface_new): upd.
4068 (get_action_from_servant): impl. helper to reduce cut & paste.
4069 (impl_getKeyBinding, impl_getName, impl_doAction),
4070 (impl_getDescription): Use it everywhere.
4072 * cspi/spi_main.c (get_live_refs): a pointer hash.
4073 (spi_object_hash, spi_object_equal): comment out.
4074 There are issues with CORBA object hashing that need
4077 * libspi/application.c (spi_application_init),
4078 (spi_application_new): upd.
4080 * libspi/accessible.c (spi_accessible_object_finalize): kill.
4081 (spi_accessible_class_init): upd.
4082 s/accessible/object/ in epv methods.
4084 2001-12-05 Bill Haneman <bill.haneman@sun.com>
4086 * at-bridge/bridge.c:
4087 Reorder the bridge initialization into the bridge gtk_module_init,
4088 an immediate call to bridge_register_app, and an idle_add for
4089 register_atk_event_listeners (the only code that *must* wait until
4090 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
4091 the activation, creates the application's Accessible object, and
4092 queues the bridge_idle_init function. Restored call to
4093 Accessibility_Registry_deregisterApplication().
4094 Prior to making this call we obtain a new reference to the
4095 registry, which is a temporary hack that helps us handle apps that
4096 shut down the bonobo mainloop before we get there.
4098 * libspi/registry.c:
4099 Fix string leakage in debug block, and don't segv if a an app
4100 dies before its event notifications have been propagated.
4103 Modify cspi_check_ev() to call g_warning() rather than g_error(),
4104 as stopgap measure until we get proper exception handling when
4105 objects die during or before interrogation.
4109 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
4110 Also changed default value of is_gnome_app to TRUE.
4113 * test/keysynth-demo.c:
4114 Changed use of SPI_init and SPI_event_main to reflect API change above.
4117 Made report_focus_event check the warning value from getName
4118 before reporting on focussed accessible; simplifies handling of
4119 notifications from dead objects.
4121 * test/test-simple.c: (Changes not in this patch since source is
4124 2001-12-05 Michael Meeks <michael@ximian.com>
4126 * registryd/registryd.c (main): protect against
4127 bonobo-activation startup race condition.
4129 * cspi/spi_main.c (cspi_object_add_check): cope
4130 with the exception elegantly.
4132 * idl/Accessible.idl: decl. ChildGone
4134 * libspi/desktop.c (spi_desktop_dispose): impl.
4135 (spi_desktop_class_init): upd.
4136 (spi_desktop_add_application),
4137 (spi_desktop_remove_application),
4138 (abnormal_application_termination): impl.
4139 (impl_desktop_get_child_at_index): re-impl.
4142 (impl_accessibility_registry_deregister_application),
4143 (impl_accessibility_registry_register_application):
4144 kill excessive debug clutter.
4146 * test/test-simple.c (test_misc): test some NULL
4147 tolerance. (main): upd.
4149 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
4150 implements no interfaces - so let's not crash.
4152 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
4154 * libspi/accessible.c (spi_accessible_new_return): impl.
4155 helper to calm the cut and paste, to cope with
4156 NULL AtkObjects effectively and efficiently, and to kill
4157 the referencing bugs.
4159 * libspi/table.c (impl_getAccessibleAt),
4160 (impl_getRowHeader, impl_getColumnHeader): upd.
4162 * libspi/hyperlink.c (impl_getObject): upd.
4164 * libspi/accessible.c
4165 (impl_accessibility_accessible_get_child_at_index): upd.
4167 * libspi/component.c
4168 (impl_accessibility_component_get_accessible_at_point): upd.
4170 * test/test-simple.c (test_editable_text, test_text): impl.
4173 * cspi/spi_editabletext.c
4174 (AccessibleEditableText_insertText): constify.
4176 * test/test-simple.c (focus_me): make more robust.
4178 * libspi/accessible.c: remove some printfs in methods that
4179 we test and work fine, so we can get a clean tree dump.
4181 * test/test-simple.c (validate_accessible),
4182 (validate_tree): make tree dumping pretty too.
4184 * at-bridge/bridge.c (bridge_signal_listener): upd. so
4185 it builds without debug on.
4187 * test/test-simple.c (validate_accessible): fix the most
4190 * cspi/spi_main.c (spi_object_release): leave the nicely
4191 blanked memory around if in debug mode.
4193 * cspi/spi-listener-impl.c (cspi_event): use add_check.
4195 [committed to fixups2]
4196 2001-12-05 Michael Meeks <michael@ximian.com>
4198 * libspi/editabletext.c
4199 (spi_editable_text_class_init): g_type_class_peek_parent,
4200 not interface peek - so we finalize cleanly.
4202 * libspi/accessible.c (spi_accessible_new): kill debug.
4204 * test/test-simple.c (validate_accessible): fix ref.
4205 leak, print strings before freeing them; sigh, comment a
4206 chunk out due to strangeness.
4207 (validate_tree): unref the child after use.
4209 * cspi/spi_component.c (AccessibleComponent_getLayer):
4210 add missing break statement, switch on zlayer not the
4211 uninitialized retval.
4213 * cspi/spi_main.c (cspi_object_add): add assert, local ref
4214 before (possibly re-entering) remote unref.
4216 * test/simple-at.c (main): unref the desktop.
4218 * cspi/spi_accessible.c (cspi_accessible_is_a): move
4221 * cspi/spi_main.c (cspi_accessible_is_a): here to
4222 isolate bonobo API usage more.
4224 * libspi/registry.c (impl_accessibility_registry_register_application):
4225 prune bogus comment.
4227 2001-12-04 Michael Meeks <michael@ximian.com>
4229 * test/test-simple.c (validate_tree): upd.
4230 IndexInParent check to make it more lucid.
4231 (validate_accessible): dump the tree.
4233 * libspi/accessible.c (de_register_public_ref),
4234 (get_public_refs): impl.
4235 (spi_accessible_new): make more efficient & intuitive.
4236 Now IndexInParent check works.
4238 2001-12-04 Michael Meeks <michael@ximian.com>
4240 * cspi/spi-util.h: remove.
4242 * cspi/spi.h: move SPI_freeString here
4244 * libspi/component.c (impl_accessibility_component_get_layer):
4246 (impl_accessibility_component_get_mdi_z_order): ditto,
4247 return -1 on error - is this ok ?
4249 * test/test-simple.c (test_application): impl.
4251 * cspi/spi_accessible.c (Accessible_getApplication),
4252 (Accessible_isApplication): impl.
4254 * libspi/registry.c (spi_listener_struct_free): release
4255 the CORBA reference too.
4257 * libspi/accessible.c
4258 (impl_accessibility_accessible_get_parent): fix ref leak.
4260 * libspi/registry.c (spi_registry_new): make the registry
4261 immortal - we don't want it to go away ever.
4263 * libspi/application.c
4264 (spi_accessible_application_finalize): impl. cleanup.
4266 * cspi/spi_registry.c
4267 (deregisterGlobalEventListenerAll),
4268 (deregisterGlobalEventListener),
4269 (deregisterAccessibleKeystrokeListener): fix ref leak.
4271 * cspi/spi_main.c (SPI_init): remove redundant ref.
4273 * test/test-simple.c (unutterable_horror): impl. to force a
4278 (impl_accessibility_registry_deregister_application): release
4279 the application when we de-register it.
4281 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
4282 until we have the infastructure to get it right.
4284 2001-12-03 Michael Meeks <michael@ximian.com>
4286 * libspi/Makefile.am: only build eventlistener.[ch]
4288 * libspi/accessible.c
4289 (impl_accessibility_accessible_get_child_at_index): don't leak.
4291 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
4292 before we hit the idle handler.
4294 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
4295 debugging than exit.
4297 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
4299 * libspi/listener.c (impl_notify_event): check source
4300 not NIL before unref.
4302 * libspi/registry.c (impl_registry_notify_event): ditto.
4304 * libspi/eventlistener.c
4305 (impl_accessible_event_notify_event): unref the source.
4307 * libspi/accessibleeventlistener.c
4308 (impl_accessible_event_notify_event): unref the source.
4310 * idl/Event.idl: remove 'hash_id' attribute - of no
4313 * libspi/application.c (notify_listeners): upd list
4315 (spi_application_object_event_listener),
4316 (spi_application_toolkit_event_listener): upd to do correct
4320 (_registry_notify_listeners): update.
4321 (parse_event_type): this method also leaks like a sieve.
4322 (impl_accessibility_registry_deregister_global_event_listener):
4323 fix ETYPE_WINDOW case.
4325 * libspi/application.c
4326 (impl_accessibility_application_register_object_event_listener):
4329 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
4331 * libspi/hypertext.c (impl_getLink): ditto.
4333 * cspi/spi_main.c (cspi_object_add): remove
4334 bogus CORBA_Object_duplicate.
4336 * cspi/spi-listener-impl.c (cspi_event): dup/ref
4339 * cspi/spi_accessible.c
4340 (Accessible_getRelationSet): fix leak / referencing issue.
4342 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
4343 (cspi_object_add, cspi_object_unref): upd.
4344 (spi_object_release, get_live_refs): impl.
4345 (cspi_cleanup): simplify.
4347 * *.[ch]: s/boolean/SpiBoolean/
4349 * cspi/spi_accessible.c (role_names): actualy order so it
4350 corresponds with the enum !
4352 * test/test-simple.c (test_roles): check some role strings
4353 vs. enums to detect offset errors.
4355 2001-12-01 Michael Meeks <michael@ximian.com>
4357 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
4359 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
4361 (Accessible_getChildAtIndex): use cspi_add_check so we
4362 check the ev before using a (possibly) invalid value.
4364 * libspi/accessible.c
4365 (impl_accessibility_accessible_get_parent): don't segv
4368 * at-bridge/bridge.c (gtk_module_init): upd.
4369 (bridge_property_event_listener): don't leak strings
4371 (bridge_state_event_listener),
4372 (bridge_property_event_listener): don't use a static
4373 buffer in case of recursive event emission &
4374 re-enterancy - split out the swathe of cut and paste
4376 (emit_eventv): and fix 2 ref leaks here & comply to the
4378 (bridge_register_app): rename to
4379 (bridge_idle_init): this and kill arg parsing, split
4380 various inits & bonobo-activation registration to module
4381 init time, kill referencing error.
4382 (bridge_exit_func): fix the same leak.
4383 (bridge_focus_tracker): don't leak event structures
4385 (bridge_signal_listener): more leakage and cut & paste
4387 (bridge_key_listener): return the result - FIXME is
4388 this polarity correct ?
4389 (accessibility_keystroke_from_atk_key_event): rename
4390 (accessibility_init_keystroke_from_atk_key_event): and stop
4392 (gtk_module_init): return a value - not that it is checked by
4394 (bridge_key_listener): register my horror at casting between
4395 IDL defined structs.
4396 (bridge_get_registry): kill - not used.
4398 * cspi/spi_accessible.c (Accessible_getRole): make return const.
4400 * test/test-simple.c (test_roles): impl.
4401 (test_desktop, validate_accessible, validate_tree): impl.
4403 * cspi/spi_accessible.c (role_names): fixup bogus
4404 MAX_ROLES setup, make constants const for efficient linkage
4405 (AccessibleRole_getName): conform to coding style, make
4408 2001-11-30 Michael Meeks <michael@ximian.com>
4410 * cspi/spi.h: add missing prototype.
4412 * libspi/registry.c (spi_listener_struct_new): fix sig.
4414 * test/Makefile.am: add test-simple
4416 * test/test-simple.c: add
4418 * test/test.sh: add.
4420 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
4422 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
4423 do it straight - since otherwise we often get an activation race.
4425 [ work before Bill duplicated a chunk of it ... ]
4426 2001-11-30 Michael Meeks <michael@ximian.com>
4428 * libspi/keystrokelistener.c
4429 (spi_keystroke_listener_class_init): fixup arg
4432 * libspi/eventlistener.c
4433 (spi_event_listener_class_init): ditto.
4435 * tests/test.sh: add.
4437 * cspi/spi-listener-impl.h: update macros.
4439 * cspi/spi-listener-impl.c
4440 (cspi_event_listener_remove_callback): add
4441 correct pre-conditions.
4443 * cspi/spi_main.c (SPI_exit): guard vs. double
4444 exits, exit the mainloop nicely.
4445 (SPI_event_main): make more sense.
4446 (SPI_init): move the atexit evilness here so we
4447 always do it (yuck).
4448 (SPI_event_main): upd.
4450 * test/simple-at.c: update for listener changes.
4452 * registryd/registryd.c (main): prune kruft.
4454 * libspi/libspi.h: upd.
4456 * libspi/eventlistener.[ch]: rename broken macros.
4458 * libspi/accessibleeventlistener.[ch]: remove.
4460 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
4462 * test/test-simple.c: Add - automated tests.
4464 * cspi/spi-listener-impl.c (cspi_event),
4465 (cspi_key_event): add user_data to invoke.
4466 (cspi_keystroke_listener_finalize): impl.
4467 (cspi_keystroke_listener_class_init): upd.
4470 (createAccessibleEventListener),
4471 (AccessibleEventListener_addCallback),
4472 (createAccessibleKeystrokeListener),
4473 (AccessibleKeystrokeListener_addCallback): upd.
4475 * libspi/deviceeventcontroller.c
4476 (spi_device_event_controller_check_key_event): add public proto.
4479 (impl_accessibility_registry_deregister_global_event_listener):
4480 always init listeners.
4481 (_registry_notify_listeners): yes it is.
4483 * cspi/spi-listener-impl.c (cspi_key_event):
4485 (cspi_event_listener_finalize): impl.
4486 (cspi_event_listener_class_init): hook up.
4487 (event_handler_new, event_handler_free),
4488 (event_list_remove_by_callback): impl.
4489 (cspi_event_listener_remove_callback),
4490 (cspi_keystroke_listener_remove_callback),
4491 (cspi_keystroke_listener_add_callback),
4492 (cspi_event_listener_add_callback): upd.
4494 * libspi/keystrokelistener.c
4495 (keystroke_listener_object_finalize): kill
4496 (spi_keystroke_listener_class_init): upd.
4497 (spi_keystroke_listener_add_callback),
4498 (spi_keystroke_listener_remove_callback): kill,
4500 (impl_key_event): prune drasticaly.
4502 * libspi/eventlistener.c
4503 (spi_event_listener_add_callback),
4504 (spi_event_listener_remove_callback): kill, use
4506 (impl_accessible_event_notify_event): upd.
4507 (spi_event_listener_object_finalize): remove.
4509 * libspi/Makefile.am: use eventlistener.[ch]
4511 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4513 * libspi/registry.c (_registry_notify_listeners):
4514 Changed listener loop iteration to use preferred convention.
4515 Got rid of string memory leaks caused be calling g_strconcat
4516 inside function calls.
4518 * libspi/registry.c (parse_event_type):
4519 Stopped g_strconcat memory leaks, free the g_strsplit return,
4520 g_strdup the split pieces when used, etc.
4522 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4525 Change method 'compare' to return a 'difference set' rather than
4526 taking a StateSet as an out parameter (more Java-friendly).
4528 * idl/Accessible.idl:
4529 Added CORBA struct 'BoundingBox', to faciliate API changes below:
4531 * idl/Component.idl:
4533 Changed methods 'getExtents' and 'getImageExtents' in these
4534 interfaces to return a BoundingBox structure.
4535 (getPosition and getSize are redundant and possibly should be
4536 removed, rather than creating a corresponding Point struct.)
4538 * cspi/spi_component.c:
4539 Modify implementation of getExtents to reflect the above IDL
4544 Add (missing) AccessibleImage_getExtents () API.
4546 * docs/reference/cspi/at-spi-cspi-sections.txt:
4547 Added AccessibleImage_getImageExtents () to docs.
4549 2001-12-03 Bill Haneman <bill.haneman@sun.com>
4551 * idl/Component.idl:
4552 Added two methods, getLayer () and getMDIZOrder (), to reflect
4553 the new ATK methods atk_object_get_layer and
4554 atk_object_get_mdi_z_order. (Which arguably should be part of the
4555 AtkComponent API and AtkObject). Also added an enum,
4556 ComponentLayer, for the first method's return value.
4558 * libspi/component.c:
4559 Added implementations for these methods.
4561 * cspi/spi_component.c:
4563 Added cspi binding methods for above,
4564 AccessibleComponent_getLayer() and
4565 AccessibleComponent_getMDIZOrder().
4566 Added cspi enum 'AccessibleComponentLayer'.
4568 * docs/reference/cspi/at-spi-cspi-sections.txt:
4569 Added above methods to docs.
4573 Changed typedef for 'boolean' type (and all references to it) to
4574 SPIBoolean, to avoid keyword clashes with C++.
4577 Changed usages of 'boolean' to SPIBoolean.
4579 * test/keysynth-demo.c:
4580 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
4581 app), except where SPIBoolean is required by the callbacks API.
4583 2001-12-02 Bill Haneman <bill.haneman@sun.com>
4585 * cspi/spi_registry.c:
4586 Removed obsolete X event loop for passive keygrabs (which now
4589 * registryd/registryd.c:
4590 Removed unnecessary call to gdk_init() [cruft]. This also allows
4591 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
4594 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4596 * docs/reference/cspi:
4597 Included docs for SPI_freeString in generated documentation.
4600 Renamed spi_freeString to SPI_freeString, for consistency. Added
4601 documentation for this function.
4604 Renamed spi_freeString to SPI_freeString, for consistency.
4605 Removed obsolete method declaration string_from_corba_string.
4607 * test/keysynth-demo.c:
4608 Small tweak to comments.
4611 Stopped leaking the strings returned from CSPI.
4613 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4615 Merged Michael's branch (see his ChangeLog entries below).
4617 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
4618 bridge is alive, release on exit.
4620 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
4621 Fix type check macro.
4624 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
4627 Added is_gnome_app static, and method cspi_is_gnome_app(),
4628 so we can call the appropriate shutdown routine at exit in SPI_exit.
4630 * cspi/spi_main.c (cspi_object_ref):
4631 Duplicate the corba object passed in, since we're keeping it around.
4633 * cspi/SPI_exit.c, cspi_cleanup:
4634 Moved the releasing of the live refs to its own function, so we
4635 can put it in g_atexit (). Call the appropriate shutdown API
4636 depending on whethe calling client is a gnome app or not
4637 (bonobo_main_quit or CORBA_ORB_shutdown).
4639 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
4640 Unref the listener when this method is called, after
4641 deregistration. Updated the API docs to note this behavior.
4643 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
4644 Bugfixes: Ref the bonobo object when returning a parent or child
4645 reference, or an AccessibleRelation. Generally made sure
4646 BonoboObject refcount is incremented whenever we return an
4649 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
4650 Fixed typo/bug in signal declaration.
4652 * libspi/accessibleeventlistener.h:
4655 * libspi/application.c (spi_application_new):
4656 Fixed leak in initialization.
4659 Remembered to increment bonobo-object refcount when returning
4660 children (applications) from desktop object.
4661 Added (empty) finalize method.
4663 * libspi/deviceeventcontroller.c:
4664 Hold a ref to listeners inside DEControllerKeyListeners.
4665 Added dec_key_listener_free() method. Use prepend instead of
4666 append in key_listener list. Fixed some refcount madness and
4667 leaks in the listener registration/deregistration - deregistration
4668 now calls dec_key_listener_free() on listeners, and on the
4669 temporarily constructed dec_key_listener() used to perform the search/match.
4671 * libspi/hypertext.c (spi_hypertest_finalize):
4672 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
4673 class. Also fixed spi_hypertext_interface_new() and
4674 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
4676 * libspi/hypertext.h:
4677 Removed pointless and duplicate AtkObject pointer from
4680 * libspi/keystrokelistener.c:
4681 Fixed incorrect type of keystroke_listener_parent_class,
4682 renamed keystroke_listener_object_finalize to
4683 spi_keystroke_listener_object_finalize.
4684 Fixed typo in signal declaration
4685 (spi_keystroke_listener_class_init).
4687 * libspi/registry.c:
4688 Added funcsions spi_listener_struct_new() and
4689 spi_listener_struct_free() to help with memory management issues.
4690 We also now use these methods instead of gnew + poking stuff into
4691 the struct, and to decrement listener counts/free the listeners
4692 when deregistering them.
4693 Fix more refcount bugs in getDesktop() and
4694 getDeviceEventController().
4697 De-ref the desktop after enumerating the applications. Explicitly
4698 decrement the refcounts on the created listeners on exit (using
4699 _unref for keystroke listeners, and via the
4700 deregisterGlobalEventListenerAll command for other event
4703 2001-11-27 Michael Meeks <michael@ximian.com>
4705 * cspi/spi-listener.h: fixup enum.
4707 2001-11-27 Michael Meeks <michael@ximian.com>
4709 * cspi/spi-listener-impl.c (cspi_event_listener_new),
4710 (cspi_keystroke_listener_new): Use the cspi variants.
4712 2001-11-26 Michael Meeks <michael@ximian.com>
4714 * test/keysynth-demo.c: fix 2 compile warnings, missing
4717 * test/simple-at.c (report_focussed_accessible),
4718 (report_focus_event, report_button_press),
4719 (check_property_change, is_command_key),
4720 (report_ordinary_key_event, report_command_key_event): upd.
4722 * util/mag_client.h: include pre-requisites.
4724 * libspi/accessibleeventlistener.c
4725 (spi_event_listener_object_finalize): free any lingering
4728 * libspi/keystrokelistener.c
4729 (keystroke_listener_object_finalize): ditto.
4731 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
4732 callbacks, with cspi types.
4734 * cspi/spi_event.c (createAccessibleEventListener): chain to
4735 (AccessibleEventListener_addCallback): here.
4736 (createAccessibleKeystrokeListener): chain to
4737 (AccessibleKeystrokeListener_addCallback): here.
4739 * libspi/keystrokelistener.c
4740 (spi_keystroke_listener_class_init): add signal.
4741 (impl_key_event): emit the event.
4742 (boolean_handled_accumulator): impl.
4743 (marshal_BOOLEAN__POINTER): add, gack.
4745 * libspi/accessibleeventlistener.c
4746 (spi_event_listener_class_init): add signal.
4747 (impl_accessible_event_notify_event): emit the signal &
4748 make the loop efficient.
4749 (spi_event_listener_add_callback): prepend the callback.
4751 * libspi/accessibleeventlistener.h: add an 'event' signal,
4752 decl type on callback.
4754 * libspi/keystrokelistener.h: ditto.
4756 * cspi/spi-listener.h: make methods typesafe and
4757 make them use the new event typedefs.
4759 * test/simple-at.c (report_focussed_accessible):
4760 include mag_client.h
4761 Use *(void *)text_interface not the other thing.
4763 * configure.in: add gtk to registryd bits - since we use
4766 * util/magnifier.c: include libbonobo.h
4768 2001-11-25 Bill Haneman <bill.haneman@sun.com>
4770 * test/keysynth-demo.c:
4771 Turned this into a simple scanning keyboard, to demonstrate the
4772 use of g_timeout_add () as a means of creating timers for
4773 scanning, and the use of GtkStyle for visually indicating when
4774 virtual keyboard elements are selected.
4776 keysynth-demo now listens to any keyboard keys with zero-valued
4777 keycodes (i.e. 'unused' keys) and interprets them as
4780 Reworked the shiftlatch code so that shift-down state isn't held
4781 for long periods (it's only synthesized immediately prior to
4782 the keysynth event it's modifying). Note that shiftlatch in this
4783 demo is a convenience, not intended to take the place of AccessX
4784 which is the better choice for getting 'sticky' modifier keys.
4786 * libspi/deviceeventcontroller.c:
4787 * at-bridge/bridge.c:
4788 * cspi/spi_registry.c:
4789 Removed some debug print stuff, and put other verbosity in #ifdef
4794 Implemented some more of the magnifier IDL for the simple
4795 magnifier: namely, getZoomRegionParams.
4796 Added mag_x and mag_y members to MagnifierData struct, aid of this
4798 Added GtkWindow::realize signal handler to magnifier, to keep it
4799 from receiving keyboard focus from the WM.
4801 2001-11-23 Mark McLoughlin <mark@skynet.ie>
4803 * cspi/spi-private.h: my guess at what michael forgot
4804 before he ran off to NZ :-)
4806 2001-11-23 Michael Meeks <michael@ximian.com>
4808 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
4809 comment out non existant method invoke so we link.
4811 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
4812 use bonobo_exception_get_text for more friendly warnings.
4814 * cspi/spi.c (Obj_Add): move into spi_main & rename
4815 spi_object_add; kill spi.c
4817 * cspi/spi_registry.c
4818 (deregisterGlobalEventListener),
4819 (deregisterGlobalEventListenerAll),
4820 (registerGlobalEventListener): fix exception leaks.
4822 * cspi/spi_main.c (spi_exception): impl. helper, so we
4823 don't leak exceptions.
4825 * cspi/spi_selection.c
4826 (AccessibleSelection_deselectSelectedChild): return the
4829 * cspi/spi_main.c (spi_ev): impl; hack - gack.
4830 (spi_registry): ditto.
4831 (SPI_init): guard against double inits.
4833 * cspi/*.c: use spi_ev (), and spi_registry () where
4834 appropriate - a temporary hack until we have something
4835 better. Use spi_object_add
4837 2001-11-22 Michael Meeks <michael@ximian.com>
4839 * cspi/Makefile.am: re organise, install the headers.
4841 * cspi/*.h: add G_BEGIN/END_DECLS
4843 2001-11-22 Bill Haneman <bill.haneman@sun.com>
4846 Added non-preemptive keylistener for key events with no modifiers
4847 and shift-only modifier.
4849 * libspi/keystrokelistener.c:
4850 Removed some verbose diagnostics printout.
4852 * cspi/spi_registry.c:
4853 Fixed a bug that caused all key listeners to be registered as
4856 * libspi/deviceeventcontroller.c:
4857 Fixed bug that caused XGrabKey (preemptive key grab) to be called
4858 for non-preemptive key masks.
4861 2001-11-22 Bill Haneman <bill.haneman@sun.com>
4863 * docs/reference/idl/at-spi-idl-docs.sgml:
4864 * docs/reference/idl/at-spi-idl-sections.txt:
4865 * docs/reference/idl/at-spi-idl-overrides.txt:
4866 Added missing files.
4868 * docs/reference/Makefile.am:
4869 removed idl from SUBDIRS until we can figure a way to get gtk-doc
4870 to scan the IDL files :-(
4875 Added .cvsignore files.
4877 2001-11-21 Bill Haneman <bill.haneman@sun.com>
4879 * libspi/deviceeventcontroller.c:
4880 * libspi/keystrokelistener.c:
4882 * cspi/spi_registry.c:
4883 Added filters for KeySets, KeyEventSeq, and event types to key
4884 event dispatching, so listeners should only receive those events
4885 that they requested :-)
4887 2001-11-21 Bill Haneman <bill.haneman@sun.com>
4892 * docs/reference:Makefile.am:
4893 * docs/reference/cspi:
4894 * docs/reference/cspi:Makefile.am:
4895 * docs/reference/cspi:tmpl:
4896 * docs/reference/cspi:tmpl:*.sgml:
4897 * docs/reference/idl:
4898 * docs/reference/idl:Makefile.am:
4899 * docs/reference/idl:at-spi-idl-sections.txt:
4900 * docs/reference/idl:at-spi-idl-docs.sgml:
4901 * docs/reference/idl:tmpl:
4902 * docs/reference/idl:tmpl:*.sgml:
4904 Restructured docs directory to allow separate 'reference' docs
4905 section, and forked idl and cspi docs. Added the sgml template
4906 files to CVS. Added the first sections/structural sgml for the
4909 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
4911 * configure.in, libspi/Makefile.am: find libXtst.
4913 2001-11-21 Michael Meeks <michael@ximian.com>
4915 * test/accessx-gui.c: s/spi_value/value/ - doh.
4917 * libspi/base.[ch]: add.
4919 2001-11-18 Bill Haneman <bill.haneman@sun.com>
4921 * idl/Accessible.idl:
4922 * idl/Application.idl:
4925 Started gtk-doc cleanup on IDL.
4927 * libspi/deviceeventcontroller.c:
4928 Added and connected non-preemptive key notification from the
4929 toolkits (in addition to the pre-emptive support from XServer
4930 which we had before, but which causes 'focus flashing'). Filters
4931 are presently limited to key modifiers and global/non-global,
4932 KeySets are presently ignored, as are KeyEvent masks.
4934 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
4935 structs into the persistant structure rather than just storing
4936 pointers to things that might not persist across servant
4939 The XGrabKey call now does async keygrabs, because synchronous
4940 ones were deadlocking with GDK_event code in a very nasty way.
4942 Added boolean to internal method notify_keylisteners, to indicate
4943 whether the event came from the 'toolkit source' or the 'global
4944 (XServer) source' - this is used in the notification process to
4945 determine which listeners to send the event to.
4947 deviceeventcontroller.c is now warning-free.
4949 * libspi/registry.c:
4950 Fixed regression in application de-registration.
4951 Also fixed some really brain-dead weirdness having to do with
4952 event dispatching - event structs are now duplicated before being
4953 re-marshalled in the dispatch to listeners. This also fixes a
4954 Solaris build problem.
4957 2001-11-20 Michael Meeks <michael@ximian.com>
4960 (impl_accessibility_registry_deregister_global_event_listener):
4963 * libspi/deviceeventcontroller.c
4964 (spi_device_event_controller_check_key_event): return
4965 FALSE on no virtual method.
4967 * libspi/*..h: make includes work on a correctly pathed install.
4969 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
4971 * libspi/application.h: kill unused ( and whacked out )
4972 gboolean *spi_application_set_id (AtkObject *app, long id);
4974 2001-11-20 Michael Meeks <michael@ximian.com>
4976 * libspi/*.[ch]: further convert to bonobo's type func
4977 macros, remove redundnant casts etc.
4979 * libspi/text.c s/accessibility_text/spi_text/g,
4980 re-order to de-cruft.
4982 * libspi/hypertext.c: re-order to kill a huge slew
4983 of redundant forward decls.
4985 * libspi/relation.c: ditto.
4987 * libspi/image.c: ditto.
4989 * */.cvsignore: update
4991 2001-11-20 Michael Meeks <michael@ximian.com>
4993 * libspi/deviceeventcontroller.c
4994 (_controller_register_with_devices): use g_getenv,
4995 kill stdlib.h include.
4997 * libspi/keystrokelistener.c
4998 (spi_keystroke_listener_get_type): kill
4999 (spi_keystroke_listener_class_init),
5000 (spi_keystroke_listener_init): rename to this.
5002 * libspi/text.c (impl_getAttributes): fix warning / bug.
5004 * libspi/*.[ch]: more headers, includes and over commenting.
5006 2001-11-20 Michael Meeks <michael@ximian.com>
5008 * libspi/*.[ch]: fixup headers, includes and over commenting.
5010 * libspi/image.c (impl__get_imageDescription): const
5011 correctness warning fix. remove redundant casting.
5013 * libspi/table.c (impl_getRowDescription): ditto.
5014 (impl_getColumnDescription): ditto.
5016 * libspi/libspi.h: add.
5018 2001-11-19 Michael Meeks <michael@ximian.com>
5020 * libspi/editabletext.c (impl_setAttributes): fix warnings.
5022 * libspi/component.c (accessibility_component_get_type):
5023 rename to (spi_component_get_type): and macroify.
5024 (accessibility_component_init): rename to
5025 (spi_component_init): this
5026 (accessibility_component_class_init): rename to
5027 (spi_component_class_init): this
5029 * libspi/action.c (spi_action_get_type): kill, use the macro.
5031 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
5034 * libspi/application.c (spi_application_object_event_listener),
5035 (impl_accessibility_application_register_object_event_listener):
5036 warning fixes / const understanding updates.
5038 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
5041 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5043 * libspi/spi_accessible.c: Added docs and C bindings for
5044 AccessibleStateSet. (No implementations yet). Documentation
5045 coverage for C bindings now 100%. Made docs for event listeners
5050 boolean notifyListenersSync (in DeviceEventListener listener,
5051 in DeviceEvent event);
5053 oneway void notifyListenersAsync (in DeviceEventListener listener,
5054 in DeviceEvent event);
5056 Added DeviceEventListener and DeviceEvent structs (may deprecate
5057 KeyStroke and KeystrokeListener in favor of this generic
5058 event/listener framework for devices).
5060 * libspi/deviceeventcontroller.c:
5062 Changed some key listener code to take masks, etc., and paved the
5063 way for integration of toolkit/non-preemptive key events. Changed
5064 signatures of some internal methods.
5066 * at-bridge/bridge.c:
5067 Fixed regression connecting to interface signals, apparently
5068 caused by GTK+ changes.
5070 Added an internal bridge_state_listener to deal with
5071 property-change:accessible-state signals.
5073 Changed the key_listeners GList to store structs (including masks,
5074 etc.) instead of just CORBA_Objects (required for full
5075 implementation of key listener API).
5077 Connected the bridge to all currently supported Atk signals.
5078 Events now supported:
5079 object:property-change
5080 object:property-change:accessible-name
5081 object:property-change:accessible-state
5082 object:property-change:accessible-description
5083 object:property-change:accessible-parent
5084 object:property-change:accessible-value
5085 object:property-change:accessible-role
5086 object:property-change:accessible-table-caption
5087 object:property-change:accessible-table-column-description
5088 object:property-change:accessible-table-column-header
5089 object:property-change:accessible-table-row-description
5090 object:property-change:accessible-table-row-header
5091 object:property-change:accessible-table-summary
5092 object:children-changed
5093 object:visible-data-changed
5094 object:selection-changed
5095 object:text-selection-changed
5097 object:text-caret-moved
5099 object:row-reordered
5101 object:column-inserted
5102 object:column-reordered
5103 object:column-deleted
5104 object:model-changed
5106 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5108 * libspi/hyperlink.c,h:
5109 Fixed some broken stuff in hyperlink.
5111 * libspi/relation.h:
5112 * libspi/relation.c:
5113 * cspi/spi_accessible.c:
5114 Initial implementations of AccessibleRelation methods, and docs.
5116 * libspi/accessible.c:
5117 Fixed a bug that caused SEGV if an accessible
5118 object's description is NULL, and a client
5119 requests it. An empty string is now returned.
5121 * cspi/spi_editabletext.c:
5122 * cspi/spi_hypertext.c:
5124 * cspi/spi_hyperlink.c:
5128 Doc coverage now 95%.
5130 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5132 One last namespacing revision:
5133 * libspi/accessibleeventlistener.[ch]:
5134 Renamed SpiAccessibleEventListener to SpiEventListener,
5135 (no need for two namespaces ;-)
5137 And lots of documentation fixes:
5139 * docs/at-spi-docs.sgml:
5140 Fixed 'underscore vs. hyphen' bug that was preventing
5141 the gtk-doc API docs from being automatically generated.
5144 * cspi/spi-listener.h
5146 * cspi/spi_accessible.c
5148 * cspi/spi_application.c
5149 * cspi/spi_component.c
5150 * cspi/spi_editabletext.c
5152 * cspi/spi_hypertext.c
5154 * cspi/spi_registry.c
5155 * cspi/spi_selection.c
5159 * docs/at-spi-docs.sgml
5160 * docs/at-spi-sections.txt
5162 Added and fixed up gtk-doc documentation in cspi.
5164 Interfaces now (fully) documented (subject to revision and enhancement):
5166 Event Listener Support
5168 AccessibleApplication
5172 AccessibleEditableText
5179 AccessibleRelationSet
5184 2001-11-14 Bill Haneman <bill.haneman@sun.com>
5186 * at-bridge/bridge.c:
5187 Initial work for toolkit-level key snooper connection by bridge.
5192 New typedefs and fixes to support new namespacing, and cleaner
5193 separation of cspi bindings from libspi bonobo implementation.
5194 Removed inconsistent and extraneous Spi* namespace prefix that
5195 had crept into cspi headers.
5196 Lots of comment fixes that sed had missed.
5198 * cspi/spi-roletypes.h:
5199 * cspi/spi-statetypes.h:
5200 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
5201 to AccessibleRoleType.
5203 * libspi/accessibleeventlistener.h:
5204 Fixed minor namespacing weirdness.
5206 * libspi/deviceeventcontroller.c:
5207 Reordered some internal API for device listeners.
5208 Changed the key registry final boolean to 'is_system_global'
5209 rather than 'is_synchronous', which is more descriptive of its
5211 Added spi_device_event_controller_new().
5212 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
5214 * libspi/keystrokelistener.[ch]:
5215 Namespaced KeystrokeListener to SpiKeystrokeListener.
5216 Changed uses of keymasks to use SPI_ prefix, and did other
5219 * libspi/keymasks.h:
5220 Namespaced keymask constants with SPI_ prefix.
5222 * libspi/registry.c:
5223 Some warning fixes, and knock-on fixes from namespace changes.
5226 Added rules for accessx-gui test program.
5228 * test/accessx-gui.c:
5229 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
5230 utility. It doesn't actually use at-spi, but it's still cool and
5233 * test/keysynth-demo.c:
5237 Fixes so that these test clients work properly with the namespaced
5238 libraries. (Incompletely tested for technical reasons, fixes may follow)
5241 2001-11-13 Michael Meeks <michael@ximian.com>
5243 * libspi/application.c
5244 (impl_accessibility_application_get_version),
5245 (impl_accessibility_application_get_toolkit_name):
5247 (impl_accessibility_application_set_id),
5248 (impl_accessibility_application_get_id): remove
5249 redundant casting code.
5251 * libspi/action.c (impl_getDescription): fix warnings.
5253 * libspi/accessible.c
5254 (impl_accessibility_accessible_get_parent),
5255 (impl_accessibility_accessible_get_child_at_index),
5256 (impl_accessibility_accessible_get_state),
5257 (impl_accessibility_accessible_get_relation_set):
5258 warning fixes & include action.h
5260 2001-11-13 Michael Meeks <michael@ximian.com>
5262 * *.[ch] fix bits I screwed up:
5264 s/([^ \tb(\*\&\?\",])spi_/\1/g;
5265 s/([^ \tb(\*\&\?\",])Spi/\1/g;
5267 2001-11-13 Michael Meeks <michael@ximian.com>
5269 * *.[ch] Namespace libspi into spi_ and Spi.
5271 2001-13-11 Michael Meeks <michael@ximian.com>
5273 * Makefile.am: dist & install at-spi-1.0.pc
5275 * libspi/Makefile.am: install into at-spi-1.0
5277 * idl/Makefile.am (idldir): install into at-spi-1.0
5279 * at-spi-1.0.pc.in: add.
5281 * configure.in: build it.
5283 2001-11-12 Bill Haneman <bill.haneman@sun.com>
5285 * test/keysynth-demo.c:
5286 Use a 'realize' signal-handler to set the WM properties for
5287 the virtual keyboard, rather than making it a "POPUP" type
5288 override-redirect window (thanks to anders carlsson for that
5291 2001-11-11 Bill Haneman <bill.haneman@sun.com>
5294 * test/keysynth-demo.c:
5295 Added new test of key synthesis, which creates a simple
5296 (mouse-operated) onscreen keyboard. It inserts key events into
5297 the currently-focused window, thus it does not grab keyboard focus
5300 * cspi/spi_registry.c:
5301 Added C binding for AT-SPI generateKeyEvent.
5303 * libspi/deviceeventcontroller.c:
5304 Added call to XFilterEvent so that key listener works with XIM (we
5305 hope). Added event_synth_type to generateKeyEvent, so that we can
5306 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
5307 synthesize a press/release pair for KeySyms.
5309 2001-11-09 Bill Haneman <bill.haneman@sun.com>
5311 * libspi/Makefile.am:
5312 * registryd/Makefile.am:
5313 (temporary) hack to include libXtst in libspi and registryd.
5314 (Needed for keystroke synthesis, see below).
5317 Improved API for registerKeystrokeListener, in accordance with
5318 discussions with Gnopernicus team and X server research.
5320 * libspi/registry.c:
5321 * libspi/deviceeventcontroller.c:
5322 * libspi/accessible.c:
5323 * libspi/keystrokelistener.c:
5324 Changes and fixes to support keylisteners for potentially
5325 consumed key events (that is, 'passive grabs').
5326 Added implementation for generateKeyEvent() [untested].
5329 Changes to registerKeystrokeListener() API, as above.
5330 Added deregisterGlobalEventListenerAll(), and
5331 deregisterKeystrokeListener(), which are needed for clean exit of
5333 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
5334 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
5336 * cspi/spi_registry.c:
5337 Added implementations of function prototypes mentioned above.
5339 * registryd/registryd.c:
5340 Added the key listener event source as a g_timeout(), to allow
5341 receipt of key events that are not caught by GDK (since GDK
5342 doesn't support passive keygrabs, this was necessary).
5345 Changed to attach a keylistener to 'Alt' keys, and
5346 respond to the following keycommands: Alt-M (toggle magnifier);
5347 Alt-F (toggle speech); Alt-Q (quit).
5348 Added an exit routine to deregister the listeners, and a key
5349 listener that prints some key info to the console when a key
5350 matches the listener mask (and is thus received by the listener).
5352 * util/idl/Magnifier.idl:
5353 Changes to magnifier API to support multiple zoom regions,
5354 non-uniform scaling in x and y, markDirty, and a host of other
5355 features that would be useful to magnification.
5358 * util/mag_client.c:
5359 * util/mag_client.h:
5360 * util/mag_control.c:
5362 Source code changes to support the above IDL changes.
5365 As above, and also changes to use a (slower) generic conversion
5366 path for colormap conversions, since the fast RGB conversions have been
5367 reported to fail for 16-bit displays.
5369 2001-10-26 Michael Meeks <michael@ximian.com>
5371 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
5373 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
5375 * at-bridge/Makefile.am: fix LDFLAGS.
5377 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5379 * at-bridge/bridge.c:
5380 Re-worked listeners for toolkit events, now we have signal
5381 and property listeners. Added a private method
5382 register_atk_event_listeners(), which registers with the
5383 various atk and gtk signals we need to monitor in order to emit
5385 Added emission hook for AtkObject:property-change events, to
5386 support the 'property listeners'.
5387 Fixed some alloc()s of Accessibility_Event structs to use CORBA
5390 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
5391 which emit warnings and exit, respectively, if CORBA errors occur
5392 during remote calls, and we now use these methods to check most of
5393 our CORBA calls in the C bindings.
5395 * cspi/spi_accessible.c:
5396 Changed AccessibleSelection_refSelectedChild() to
5397 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
5398 now increment refcounts.
5400 * cspi/spi_component.c:
5401 Fixed some long pointer casts (dangerous!) to pass pointers to
5402 CORBA_longs of the proper type to the CORBA stubs, and copy the
5403 data into the longs that were passed into the C bindings code.
5405 * at-bridge/bridge.c:
5407 * libspi/accessible.c:
5408 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
5409 hyperlinks, AtkHyperlink is an object type.
5411 * libspi/application.c:
5412 Added various conversions to and from "generic" event types and
5413 atk-specific types; this is really part of the 'bridge'
5414 implementation but is valid for all AtkObject-based accessibility
5417 * libspi/editabletext.c:
5418 Fixed nasty bug wherein editable text's finalize method was
5419 unref'ing tha AtkObject reference that the text parent class was
5420 about to unref _again_. There was also a nasty inheritance bug
5421 that meant that the AccessibleEditableText class was corrupt.
5423 * libspi/selection.c:
5424 Provided implementations for some selection API that was broken.
5426 * idl/Application.idl:
5427 Added registerObjectEventListener () method.
5430 Fixed a number of return values that were Bonobo_Unknowns from
5431 bonobo_object_corba_objref(), which I
5432 forgot to dup before returning. Changed instances of
5433 bonobo_object_corba_objref (bonobo_object(o)) to
5434 BONOBO_OBJREF(o), for concision and clarity.
5436 2001-10-13 Louise Miller <louise.miller@sun.com>
5438 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
5439 idl/Event.idl, idl/Registry.idl
5440 Changed these files to include Bonobo_Unknown.idl instead
5443 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
5445 * libspi/component.c libspi/component.h:
5446 Fixed typo. Added assertions for object checks in
5447 AccessibleComponent code.
5449 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5451 * idl/Accessible.idl:
5452 Added 'isEqual (Accessible *object)'
5453 method for Accessible. (Not Yet Implemented).
5456 Changed signature of registerKeystrokeListener() to
5457 take a KeySet and KeyEventSeq so that specific keys and event
5458 types could be requested for monitoring, and added a flag
5459 is_synchronous so that either synchronous or asynchronous
5460 notification could be requested. (However this is not all
5461 implemented yet). This also meant adding two new typedefs,
5462 KeyEventSeq and KeySet.
5465 Added two new relations, RELATION_TOOLTIP_FOR and
5466 RELATION_LEAFNODE_OF.
5469 Added new state, STATE_HAS_TOOLTIP.
5471 * libspi/text.c, editabletext.c:
5472 Added new assertions to all casts of bonobo-objects from
5473 CORBA servants, to prevent Text API calls on non-text objects.
5474 Changed suspect casts of int-pointer types, so that we
5475 always send a valid CORBA_long pointer to the CORBA APIs that use
5476 in/out long parameters. We then have to copy from the CORBA_long
5477 into the regular long or int for return to the C bindings, or
5478 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
5481 * libspi/deviceeventcontroller.c:
5482 Cleaned these sources up.
5484 Changed return type for getCharacterAtOffset to
5485 CORBA_unsigned_long, to allow for 32-bit characters.
5488 2001-10-08 Bill Haneman <bill.haneman@sun.com>
5492 Fixed 'make dist' so that distro compiles...
5493 * libspi/keymasks.h:
5495 * cspi/spi-listener.c:
5496 KeystrokeListenerCB now returns a boolean.
5498 Added KeyEventType struct, and KeyStroke.
5499 Also added createKeystrokeListener(),
5500 KeystrokeListener_addCallback(),
5501 KeystrokeListener_removeCallback(), and added a keymask to
5502 registerKeystrokeListener().
5503 * cspi/spi_accessible.c:
5504 Changed numerous return types for interfaces from
5505 AccessibleComponent to Accessible<InterfaceName>; this was
5506 probably a cut-and-paste error.
5508 Implementations of new KeystrokeListener api (from spi.h,
5511 Changes to key modifier mapping.
5512 Created ControllerEventMask struct.
5513 Made DeviceEventController derive from Bonobo::Unknown.
5515 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
5516 * libspi/deviceeventcontroller.c:
5517 Added a number of new internal (private) methods.
5518 * libspi/editabletext.c:
5519 * libspi/editabletext.h:
5520 Fixed a number of bugs related to the fact that
5521 editabletext inherits from text. Fixed the EditableText struct,
5522 the init() call, and use correct casts when calling Text methods
5523 from an EditableText object. Removed (duplicate) atko from the
5524 EditableText structure, we use the one in the parent Text
5525 structure via the casts mentioned above.
5526 * libspi/keystrokelistener.[ch]:
5527 * libspi/registry.c:
5528 Changes in support of keyboard handling (above).
5530 Keyboard handling, though partly functional, is still not
5531 recommended for at-spi client use as there is considerable
5532 work yet to be done.
5535 Changed some places where pointers to various int types
5536 are cast to be pointers to CORBA_long types and vice-versa:
5537 pointer casting is not safe so we pass pointers of the correct
5538 types and then cast the result before putting it into the target
5541 * libspi/text.h: minor typos corrected.
5543 We now speak not only the name of a Text element, but the
5544 first sentence of its content, when it receives focus.
5545 I also changed the text compression to 75% from 50%.
5546 * util/Accessibility_Util.server.in:
5547 Changed the default magnifier type to be a 3x vertical
5548 splitscreen magnifier (was previously a 2x horizontal one).
5550 2001-10-03 Bill Haneman <bill.haneman@sun.com>
5552 * libspi/keystrokelistener.h:
5553 * libspi/keystrokelistener.c:
5554 Initial functional implementations of KeystrokeListener.
5557 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
5559 Fixed string handling for NULL strings in libspi.
5560 Added spi_freeString to free strings returned by C bindings.
5562 2001-09-30 Bill Haneman <bill.haneman@sun.com>
5564 * libspi/keystrokelistener.h:
5565 * libspi/keystrokelistener.c:
5566 Began (no-op) implementations of KeystrokeListener
5568 * libspi/deviceeventcontroller.c:
5569 * libspi/deviceeventcontroller.h:
5570 Began creating implementations of DeviceEventController,
5571 to handle keystroke and mouse event listening and
5573 * libspi/accessible.c:
5574 Stubbed-in the implementations for
5575 Accessibility_Accessible_getState and
5576 Accessibility_Accessible_getRelationSet.
5577 * libspi/registry.c:
5578 Improved de-registration process and fixed some bugs,
5579 deregistration now works correctly.
5581 Added initialization of applications list (to NULL).
5583 Reduced speech compression from 0.5 to 0.7, for demo.
5584 Changed call to gdk_window_set_decorations()
5585 to gtk_window_set_decorated().
5586 * at-bridge/bridge.c:
5587 Bridge now deregisters when app exits, via
5588 registration of a cleanup function
5589 with the g_atexit() call.
5590 Required making 'app' static, renamed 'this_app'.
5591 Fixed broken use of bonobo_init, passing argv wrongly.
5593 2001-09-27 Bill Haneman <bill.haneman@sun.com>
5597 Created a new directory for
5598 accessibility-related utilities, primarily for
5599 testing and demo purposes, but with possible
5606 Onscreen magnifier utility that
5607 is implemented as a bonobo service.
5609 * util/mag_client.c:
5610 * util/mag_client.h:
5611 Client-side support (simple C bindings)
5612 for Magnification service
5614 * util/mag_control.c:
5615 Client program example for
5616 Magnification service
5618 * util/Accessibility_Magnifier.server.in:
5619 Bonobo-activation file for the
5620 Magnification service.
5623 * util/idl/Magnifier.idl:
5624 IDL defining the bonobo Magnification
5628 Modifications to use the bonobo-activated magnifier
5629 above, in place of trying to connect to an existing
5630 magnifier that uses socket-listening IPC.
5632 If env variable MAGNIFIER is set, a magnifier service
5633 will be started if one does not exist.
5635 2001-09-25 Bill Haneman <bill.haneman@sun.com>
5637 * at-bridge/bridge.c:
5638 applied patch from Marc to build and run
5639 against new glib and gtk+ (seemed like a change
5640 to bonobo_init signature was made ?)
5642 made festival-server support turned off by default.
5643 Added support for a simple magnifier (off by default)
5644 which will be added to a 'util' directory later.
5645 * at-bridge/Makefile.am:
5646 Changed "application.h" header from a 'source'
5647 to a 'dependency' of libat-bridge.
5649 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
5658 Added interface implementation c files to list of
5659 includes so they are included in libcspi.
5662 Changed prototype of AccessibleAction_doAction to return a
5664 Changed prototype of AccessibleTable_getCaption to
5665 return an Accessible.
5666 Changed prototype of AccessibleTable_getSelectedRows
5667 and AccessibleTable_getSelectedColumns to
5668 return a long (returns the number of selected rows
5669 or columns respectively).
5670 Changed name of AccessibleText_refRunAttributes to
5671 AccessibleText_getAttributes.
5672 Changed prototype of AccessibleText_getCharacterExtents to
5673 return a void rather than a boolean.
5674 Added support for a AccessibleCoordType parameter
5675 specifying what type of coordinates are desired.
5676 Added an AccessibleCordType parameter to
5677 AccessibleText_getPointAtOffset.
5679 * cspi/spi_accessible.c:
5680 Added code to return the outstanding interfaces from
5681 Accessible_queryInterface.
5683 * cspi/spi_action.c:
5685 Corrected call to getNActions to call the c binding
5688 * cspi/spi_editabletext.c:
5690 Changed name from setRunAttributes to setAttributes.
5692 * cspi/spi_hyperlink.c:
5694 Changed call to getNAnchors to correctly call the c
5695 binding for an attribute.
5697 * cspi/spi_hypertext.c:
5699 Changed getImageDescription to correctly call the
5700 binding for an attribute.
5702 * cspi/spi_selection.c:
5703 Changed getNSelectedChildren to correctly call the c
5704 binding for the attribute.
5705 Changed refSelectedChild to getSelectedChild.
5709 Changed getCaption to return an Accessible.
5710 Fixed calls which retrieve attributes.
5711 Changed refAt to getAccessibleAt.
5712 Changed getNSelectedRows and getNSelectedColumns to
5716 Changed getCharacterExtents and getPointAtOffset to accept an
5717 AccessibleCoordType.
5719 Changed calls which retrieve attributes.
5720 Changed refRunAttributes to getAttributes.
5725 * idl/Hyperlink.idl:
5726 Changed n_anchors attribute to nAnchors to keep naming
5727 convention consistent.
5730 Made Table inherit from Bonobo::Unknown.
5731 Added nSelectedColumns and nSelectedRows attributes.
5734 Made Value inherit from Bonobo::Unknown.
5736 * libspi/hyperlink.c:
5737 Change for nAnchors attributte name change.
5739 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
5747 Added interface implementation c files to list of
5748 includes so they are included in libcspi.
5751 Changed prototype of AccessibleAction_doAction to return a
5753 Changed prototype of AccessibleTable_getCaption to
5754 return an Accessible.
5755 Changed prototype of AccessibleTable_getSelectedRows
5756 and AccessibleTable_getSelectedColumns to
5757 return a long (returns the number of selected rows
5758 or columns respectively).
5759 Changed name of AccessibleText_refRunAttributes to
5760 AccessibleText_getAttributes.
5761 Changed prototype of AccessibleText_getCharacterExtents to
5762 return a void rather than a boolean.
5763 Added support for a AccessibleCoordType parameter
5764 specifying what type of coordinates are desired.
5765 Added an AccessibleCordType parameter to
5766 AccessibleText_getPointAtOffset.
5768 * cspi/spi_accessible.c:
5769 Added code to return the outstanding interfaces from
5770 Accessible_queryInterface.
5772 * cspi/spi_action.c:
5774 Corrected call to getNActions to call the c binding
5777 * cspi/spi_editabletext.c:
5779 Changed name from setRunAttributes to setAttributes.
5781 * cspi/spi_hyperlink.c:
5783 Changed call to getNAnchors to correctly call the c
5784 binding for an attribute.
5786 * cspi/spi_hypertext.c:
5788 Changed getImageDescription to correctly call the
5789 binding for an attribute.
5791 * cspi/spi_selection.c:
5792 Changed getNSelectedChildren to correctly call the c
5793 binding for the attribute.
5794 Changed refSelectedChild to getSelectedChild.
5798 Changed getCaption to return an Accessible.
5799 Fixed calls which retrieve attributes.
5800 Changed refAt to getAccessibleAt.
5801 Changed getNSelectedRows and getNSelectedColumns to
5805 Changed getCharacterExtents and getPointAtOffset to accept an
5806 AccessibleCoordType.
5808 Changed calls which retrieve attributes.
5809 Changed refRunAttributes to getAttributes.
5814 * idl/Hyperlink.idl:
5815 Changed n_anchors attribute to nAnchors to keep naming
5816 convention consistent.
5819 Made Table inherit from Bonobo::Unknown.
5820 Added nSelectedColumns and nSelectedRows attributes.
5823 Made Value inherit from Bonobo::Unknown.
5825 * libspi/hyperlink.c:
5826 Change for nAnchors attributte name change.
5829 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
5831 implementations-- made server implementations own AtkObject pointers
5832 rather than their respective AtkInterrface pointers to fix
5833 refcounting. AtkHyperlink is still broken.
5835 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5836 * cspi/spi_accessible.c:
5837 Added method Accessible_Role_getName(),
5838 and requisite string array (role_names).
5839 Added conversion string_from_corba_strin() call
5840 to Accessible_getName and _getDescription.
5841 * libspi/accessible.c:
5842 Added implementation for Accessible_getRole()
5844 Added festival support, used if environment variable
5847 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5849 * at-bridge/bridge.c:
5850 Now allocate Accessibility_Event using
5851 Accessibility_Event__alloc() instead of g_new0().
5852 * libspi/accessibleeventlistener.c:
5853 Initialize AccessibleEventListener->callbacks to NULL.
5854 Fixed accessible__event_listener_init() param, changed to
5855 "AccessibleEventListener *" type.
5856 Changed a bonobo_object_release_unref() call to
5857 Accessibility_Accessible_unref().
5858 * libspi/listener.c:
5859 Changed Bonobo_Unknown_unref to (equivalent)
5860 Accessibility_Accessible_unref.
5861 * libspi/registry.c:
5862 Changed bonobo_object_release_unref to
5863 Accessibility_Accessible_unref.
5865 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
5868 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
5869 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
5870 spi-util.c spi-util.h
5871 Implementations for C bindings to remaining accessibility
5874 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
5877 changed return value of Action from void to boolean to
5878 bring in line with ATK.
5881 Changed getText funcions to return "out" start and end offsets.
5882 Changed getAttributes to take and offset and return the start
5883 and end offset of the attribute run.
5884 Changed getOffsetAtPoint and getCharacterExtents to take an
5885 enum describing whether coordinates are window or screen.
5888 libspi/action.c libspi/action.h libspi/editabletext.c
5889 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
5890 libspi/hypertext.c libspi/hypertext.h libspi/image.c
5891 libspi/image.h libspi/selection.c libspi/selection.h
5892 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
5893 libspi/value.c libspi/value.h
5894 Added server implementations for outstanding ATK interfaces
5895 not yet implemented.
5897 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5900 Added (missing) getName() method.
5901 Made nActions an attribute.
5902 * idl/EditableText.idl:
5903 Changed order of params in setAttributes.
5904 * idl/Hyperlink.idl:
5905 Removed getAnchor, added getURI.
5907 Changed attributes to methods, for efficiency
5908 (so that getting extents can be done in one call)
5909 * idl/Selection.idl:
5910 Changed nSelectedChildren to attribute, and re-indented.
5911 * idl/Table.idl: changed nrows, ncolumns, caption, summary
5913 * idl/Text.idl: reformatted to match our coding style.
5914 (temporarily?) removed getRowColumnAtOffset().
5915 Changed text selection API to support multi-select and
5916 non-contiguous selections, as in ATK.
5917 * idl/Value.idl: changed some methods to attributes.
5919 2001-08-24 Mark McLoughlin <mark@skynet.ie>
5921 * libspi/listener.c(impl_notify_event):
5922 BonoboUnkown_unref the source instead
5923 of bonobo_object_release_unref - the ORB
5924 handles the releasing.
5926 * configure.in: require ORBit-2.3.94 for
5929 2001-08-21 Bill Haneman <bill.haneman@sun.com>
5931 Tagged CVS repository 'EA_1_0'.
5932 * README.EARLY_ACCESS:
5933 Alphabetized acknowledgements list, and
5935 Listed some known dependencies of at-spi.
5937 2001-08-20 Bill Haneman <bill.haneman@sun.com>
5939 * docs/at-spi-docs.sgml:
5940 * docs/at-spi-sections.txt:
5941 * docs/at-spi-overrides.txt: (Added zero-length file)
5942 Documentation improvements - gtk-doc should build
5943 docs for all implemented C bindings now.
5946 * cspi/spi.c: (New file)
5947 * cspi/spi_event.c: (New file)
5948 * cspi/spi_registry.c: (New file)
5949 * cspi/spi_accessible.c: (New file)
5950 * cspi/spi_application.c: (New file)
5951 * cspi/spi_component.c: (New file)
5952 Split spi_main.c into six parts, and included them from
5953 "spi.c". This is a bit of a hack, probably temporary,
5954 but required by gtk-doc, apparently.
5956 2001-08-20 Bill Haneman <bill.haneman@sun.com>
5959 * docs/at-spi-docs.sgml:
5960 * docs/at-spi-sections.txt:
5962 Initial checkins/modifications for gtk-doc generation.
5965 Added (missing) interface query methods to Accessible's C binding.
5967 Added GenericInterface type definition.
5969 Added query for AccessibleComponent interface to focus event handler.
5970 Added printout of bounding box for focussed component.
5971 * libspi/component.c:
5972 Added partial implementation for AccessibleComponent to C binding.
5973 * idl/Application.idl:
5974 * libspi/registry.c:
5975 * libspi/listener.c:
5976 * libspi/application.c:
5977 * libspi/application.h:
5978 Changed "ID" attribute type from string to long.
5980 2001-08-19 Bill Haneman <bill.haneman@sun.com>
5984 Made method naming consistent: methods taking object args
5985 start with uppercase, other methods (except those using
5986 acronyms) start with lowercase. Underscores delimit between
5987 object names and method names:
5988 SPI_init() - uppercase since it starts with an acronym.
5989 getDesktopCount () - lowercase start since no object param0.
5990 Accessible_getName() - uppercase object type name, studlyCaps method
5994 Added gtk-doc documentation for all currently implemented
5995 methods in the C bindings API.
5997 2001-08-18 Bill Haneman <bill.haneman@sun.com>
5999 * Makefile.am : changed build order to build test last.
6002 Changed "createEventListener" to "CreateEventListener".
6003 * libspi/accessibleeventlistener.c :
6004 Bugfix for addition of callbacks.
6005 * test/Makefile.am :
6006 * test/simple-at.c :
6007 Added new test that uses the C bindings API.
6009 * libspi/listener.c :
6010 * libspi/registry.c :
6011 * libspi/accessibleeventlistener.c :
6012 * at-bridge/bridge.c :
6013 Renamed member "target" of Accessibility_Event to "source",
6014 which is more descriptive.
6017 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6021 * cspi/Makefile.am :
6022 Added makefile support for at-spi/cspi directory.
6025 * cspi/spi-listener.h : (NEW FILE)
6026 Added support for/use of spi-listener.h.
6028 C bindings now build successfully, with no warnings.
6029 * libspi/accessibleeventlistener.h : (NEW FILE)
6030 * libspi/accessibleeventlistener.c : (NEW FILE)
6031 * libspi/Makefile.am :
6032 Added new object type "AccessibleEventListener"
6033 which inherits from Listener, and allows attachment
6034 of in-process callbacks (so that a client with a listening
6035 object instance can add functionality to the local
6036 implementation, dynamically).
6038 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6040 * libspi/accessible.c:
6041 Add implementation for get_index_in_parent().
6043 Added #include of "spi-roletypes.h", and
6044 added enumerated type AccessibleCoordType.
6045 Added definition for KeystrokeListener (function type).
6048 * cspi/spi-statetypes.h :
6049 * cspi/spi-roletypes.h :
6051 Added these headers, used by spi.h.
6053 Added code (NOTE: not yet built by make).
6055 2001-08-18 Mark McLoughlin <mark@skynet.ie>
6057 * libspi/Makefile.am: generate imodule
6058 at the same time as other idl compiler
6061 2001-08-17 Bill Haneman <bill.haneman@sun.com>
6062 * libspi/registry.c :
6063 * libspi/application.c :
6064 * idl/Application.idl :
6065 Made registration with toolkit an application method,
6066 which is required since each app has its own toolkit static
6067 environment. Thus the bridge must register for
6068 notification of toolkit events from each application in turn.
6069 Toolkit notifications are now successfully registered for, and
6070 sent to the listening at client.
6072 Changed toolkit event string to use hyphens rather than underscores.
6073 * libspi/listener.c :
6074 listner now gives more info in debug mode - it reports the
6075 name of the event received, as well as the name of the source.
6078 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6080 * libspi/registry.c :
6081 added more implementation for toolkit events.
6082 Fixed bug such that toolkit event registrations
6083 (via atk) use the whole event name string, not
6085 Removed a useless call to an ORBit_ method.
6086 * at-bridge/bridge.c :
6087 Removed unused local sbuf[] variable.
6089 We now register for Gtk:GtkWidget:button_press_event
6090 events as well as "focus:" events.
6092 Add some more API from Registry.idl that was missing,
6093 for keystroke listening, keystroke and mouse event
6094 synthesis, and enumeration of accessible desktops.
6096 2001-08-16 Michael Meeks <michael@ximian.com>
6098 * configure.in: use AM_GLIB_GNU_GETTEXT.
6100 * Makefile.am (SUBDIRS): kill intl.
6102 2001-08-15 Michael Meeks <michael@ximian.com>
6104 * registryd/Makefile.am: s/oaf/server/ relocate info file.
6106 * configure.in: upd.
6108 * configure.in: depend on a recent bonobo-activation that
6109 will find our server files ...
6111 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6113 * libspi/accessible.c : accessible_new() :
6114 Now we add the Component interface via bonobo_object_add_interface,
6115 if the contained AtkObject implements AtkComponent.
6116 * libspi/accessible.h : now include "component.h"
6117 * libspi/component.h :
6118 * libspi/component.c : added files - implementation of
6119 bonobo wrapper object for Accessibility/Component
6120 * libspi/listener.c :
6121 Added test code to check for Accessibility/Component:1.0
6122 interface and report whether it is implemented by the
6124 * libspi/registry.c :
6125 Now we check for not only the hash of the whole event
6126 string before relaying the event, we also check the
6127 "minor" event string (without the detail string).
6128 This allows event listeners to be registered against
6129 all events of a certain major+minor type, or just
6130 against a specific major+minor+detail type.
6131 * libspi/accessible.c :
6132 Added implementations for Accessible:get_parent(),
6133 Accessible:getChildCount(), and Accessible:getChildAtIndex().
6134 * libspi/registry.c :
6135 * libspi/listener.c :
6136 Replaced calls to Accessibility_Accessible_ref() and
6137 Accessibility_Accessible_unref() with
6138 calls to bonobo_object_dup_ref() and
6139 bonobo_object_release_unref(), so that the CORBA object
6140 is dup-ed and released when relayed, as well as the bonobo object.
6142 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6144 * libspi/Makefile.am,
6145 registryd/Makefile.am,
6146 at-bridge/Makefile.am.
6147 test/Makefile.am, configure.in:
6148 reverse previous changes.
6150 * /idl/Image.idl: fix typo.
6152 * test/Makefile.am: put DEBUG_FLAGS
6155 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6157 * test/app.c: use argv[0] instead of
6160 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6162 * libspi/Makefile.am,
6163 registryd/Makefile.am,
6164 at-bridge/Makefile.am.
6165 test/Makefile.am, configure.in:
6166 cleanup, replace individual LIBS/CFLAGS with
6167 AT_COMMON_{LIBS|CFLAGS}.
6171 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6173 * configure.in, libspi/Makefile.am:
6174 Change IDL path checking for bonobo-activation
6177 2001-08-15 Bill Haneman <bill.haneman@sun.com>
6179 * registryd/registry.c : separated event listeners to use
6180 3 separate lists (focus, window, toolkit). Began testing
6181 event names against hashes before relaying events.
6182 * test/at.c : now register for events of type "focus:"
6183 * test/app.c : now generate events of type "focus:"
6184 * at-bridge/bridge.c : register with ATK for focus events,
6185 and we now relay those focus events to any "focus:" listeners.
6186 This now works with the bridge as a GTK_MODULE when running test/at.
6187 * libspi/registry.c :
6188 * libspi/listener.c :
6189 now we ref event sources before propagating, and unref on receipt.
6190 * libspi/registry.c :
6191 some changes to internal structs, to support event typestring hashes.
6192 * text/app.c : changed the way the appname is generated.
6193 * cspi : added directory that will hold the C bindings library for
6194 non-CORBA/bonobo-savvy clients.
6195 * cspi/spi.h : header file that contains the function prototypes for the C binding.
6196 * idl/Component.idl : added in parameter to indicate coord system for
6197 geometry-related calls.
6198 * idl/Hyperlink.idl : added readonly n_links attribute
6199 * idl/Image.idl : changed methods to attributes.
6201 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6203 * at-bridge/Makefile.am: link against
6204 ../libspi/libspi.la instead of -lspi.
6206 * at-spi/test/app.c: include
6207 bonobo-activation.h. Use a default appname
6208 if one is not provided.
6210 2001-08-14 Bill Haneman <bill.haneman@sun.com>
6212 * idl/Registry.idl : temporarily changed register_Application
6213 to oneway, to work around issue with initial registration
6215 * idl/Application.idl : changed attribute "id" from readonly
6216 to read-write, since it needs to be assigned by Registry.
6217 * registryd/registryd.c : added call to set application id
6219 * registryd/registry.c : changed de-registration procedure to
6220 use CORBA_Object_hash() to find matching object ref in application
6221 lists and listener lists.
6222 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
6223 began distinguishing between event types (work in progress).
6225 2001-08-13 Bill Haneman <bill.haneman@sun.com>
6228 * libspi/application.c:
6229 Added implementations for get/set id, get_toolkitName,
6231 * registryd/registryd.c :
6235 Converted from use of OAF to bonobo-activation.
6236 * libspi/desktop.h :
6237 * libspi/desktop.c :
6239 Removed references to atksimpleobject, since base atkobject
6240 implementation now provides functionality we need.
6241 * libspi/atksimpleobject.c :
6242 * libspi/atksimpleobject.h :
6247 * at-bridge/Makefile.am
6248 * at-bridge/bridge.c
6251 Added directory "bridge" and contents, and added dependencies
6252 in Makefile.am/configure.in.
6253 Initial checkin of "at-bridge".
6254 This code is a GTK_MODULE which automatically registers
6255 GTK+ apps with the accessibility registry, using an object
6256 reference to the root ATK object.
6258 2001-08-10 Mark McLoughlin <mark@skynet.ie>
6260 * po/Makefile.in.in: Remove. Again. If this
6261 doesn't get autogenerated - you need to update
6264 2001-08-07 Mark McLoughlin <mark@skynet.ie>
6266 * po/Makefile.in.in: Add. Again.
6268 2001-07-31 Bill Haneman <bill.haneman@sun.com>
6270 * libspi/accessible.c : added support for 'description' property.
6271 * libspi/accessible.c
6273 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
6274 (since the two are now equivalent in libbonobo)
6282 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
6283 Bonobo::Unknown as does Accessibility::Accessible.
6284 * idl/StreamableContent.idl : as above, and replaced internal InputStream
6285 interface with Bonobo::Stream, since it was redundant with it.
6286 (The Stream returned by a StreamableContext object is expected to
6287 implement only a subset of Bonobo::Stream)
6289 2001-07-28 Anders Carlsson <andersca@gnome.org>
6291 * libspi/accessible.c (accessible_object_finalize): Change
6292 g_free to g_object_unref since the AtkObject is a GObject.
6294 2001-07-30 Bill Haneman <bill.haneman@sun.com>
6296 * idl/Accessibility.idl: add new IDL files
6299 * idl/Action.idl: Definitions of actionable UI object
6300 * idl/Component.idl: Definitions of UI component geometry, etc.
6301 * idl/Hyperlink.idl: Defs of hyperlink behavior
6302 * idl/Image.idl: Def of accessible image
6303 * idl/Selection.idl: Definition of UI object with selectable children
6304 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
6305 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
6306 * idl/Text.idl: Interface defs for UI elements with complex textual content
6307 * idl/Value.idl: Definition of UI element that is a value controller or display
6309 2001-07-27 Michael Meeks <michael@ximian.com>
6311 * po/Makefile.in.in: remove autogenerated file from CVS.
6313 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
6316 * idl/Registry.idl: include guard.
6318 * idl/Accessibility.idl: Add, and include all the other IDL
6321 * idl/*.idl: remove mass of pragmas etc.
6323 2001-07-26 Michael Meeks <michael@ximian.com>
6325 * registryd/Makefile.am (registryd_SOURCES): remove
6328 2001-07-27 Mark McLoughlin <mark@skynet.ie>
6330 * libspi/.cvsignore, registryd/.cvsignore,
6331 test/.cvsignore: updated.
6333 * po/Makefile.in.in: gettext update.
6335 2001-07-25 Bill Haneman <bill.haneman@sun.com>
6337 * initial CVS checkin
6339 2001-06-29 Michael Meeks <michael@ximian.com>
6341 * configure.in: add AM_CONFIG_HEADER to gen config.h