1 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
3 * configure.in: Added Russian to ALL_LINGUAS.
5 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
7 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
9 2003-07-14 Danilo Ĺ egan <dsegan@gmx.net>
11 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
13 2003-07-10 Joel Brich <joel.brich@laposte.net>
15 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
17 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
19 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
21 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
23 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
24 resources allocated for AccessibleEvent. See cspi_event().
26 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
27 static variable streams to NULL.
29 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
30 Update so that AcessibleEvent_ref will work.
32 This fixes bug #116624.
34 2003-07-06 Jordi Mallach <jordi@sindominio.net>
36 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
38 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
40 * configure.in: Added "fr" (French) to ALL_LINGUAS.
42 2003-07-02 Christian Neumair <chris@gnome-de.org>
44 * configure.in: Added "de" (German) to ALL_LINGUAS.
46 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
48 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
50 2003-07-01 Miloslav Trmac <mitr@volny.cz>
52 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
54 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
56 * configure.in: Added "pl" to ALL_LINGUAS.
58 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
60 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
62 2003-06-30 Bill Haneman <bill.haneman@sun.com>
65 (get_action_from_servant):
66 Removed assertion that action is implemented on an AtkObject.
70 Aggregate AccessibleAction interface on the hyperlink object if
71 the object implements AtkAction. (This convention is used in
74 2003-06-30 Bill Haneman <bill.haneman@sun.com>
76 * configure.in: Revved to 1.3.5.
78 * registryd/Accessibility_Registry.server.in.in:
79 Marked up appropriate strings for translation.
81 * atk-bridge/bridge.c: Marked a couple of
82 user-visible warnings for translation. Questionable
83 whether they are really useful, but possibly so.
86 2003-06-28 Christian Rose <menthos@menthos.com>
88 * configure.in: Added "sv" to ALL_LINGUAS.
90 2003-06-26 Bill Haneman <bill.haneman@sun.com>
92 * registryd/registry.c:
93 (spi_registry_object_finalize): Unref the deviceeventcontroller.
94 (registry_defer_on_event): Defer focus: events, this is an
95 improvement to the patch for bug #108664.
97 * TODO: Update with 2.4/"Dev Complete" items.
99 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
101 * atk-bridge/bridge.c:
102 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
103 looks up signals once.
104 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
105 if doing registration.
106 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
107 when doing registration.
109 This fixes bug #115014.
111 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
113 * atk-bridge/bridge.c:
114 (atk_bridge_init): Add signal handler for children-changed:remove on
115 root when in a BonoboComponent.
116 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
117 for first toplevel only other incrememt variable toplevels.
118 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
119 application and remove listeners.
120 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
122 (spi_atk_deregister_event_listeners): New function which removes
124 (reinit_register_vars): New fuction which reinitializes variables.
126 This fixes bug #111578.
128 2003-06-13 Bill Haneman <bill.haneman@sun.com>
130 * configure.in: version 1.3.4.
132 * cspi/spi_accessible.c:
133 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
136 2003-06-13 Michael Meeks <michael@ximian.com>
138 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
140 * cspi/spi_main.c (cspi_peek_ev): impl.
142 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
144 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
146 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
148 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
149 SPI_ROLE_AUTOCOMPLETE
151 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
153 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
154 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
156 2003-06-11 Bill Haneman <bill.haneman@sun.com>
158 * libspi/streamablecontent.h:
159 * libspi/streamablecontent.c:
160 New files, provide implementation/wrappers for
161 Accessibility_StreamableContent.
163 * cspi/spi_streamablecontent.c:
164 Connected the C wrappers to the libspi C bindings.
165 (AccessibleStreamableContent_close): New method.
168 (AccessibleStreamableContent_close): New method, needed
169 since we have an "open, [seek], read, close" model in cspi.
171 2003-06-11 Bill Haneman <bill.haneman@sun.com>
173 Fix for #108664; Padraig's revision of my original patch.
175 * registryd/registry.h:
176 Added event queue list, is_queuing, and exit_notify_timeout
177 to the registry struct.
179 * registryd/registry.c:
180 (registry_init): Initialize new struct from registry.h.
181 (impl_registry_notify_event):
182 Filter events before notifying, in case some need to be
184 (registry_filter_event): New,
185 we defer certain incoming events (for instance
186 window:deactivate) because we may wish to hide
187 or reject them based on pending events. This is
188 mostly a workaround for bug #108664.
189 (registry_queue_event, registry_start_queue): New.
190 (registry_defer_on_event): Test event to see if it
192 (registry_reset_on_event): Returns TRUE if the
193 event should cause a queue reset.
194 (registry_discard_on_event): Returns TRUE if the event
195 should cause the previous queue contents to be discarded.
196 (registry_timeout_flush_queue): Flushes the pending event
197 queue if no reset/discard-triggering events have come in
198 within the timeout period.
199 (registry_emit_event): New.
200 (registry_clone_notify_context): New, used when queueing the
201 event notify contexts.
203 2003-06-10 Bill Haneman <bill.haneman@sun.com>
205 * configure.in: Version revved to 1.3.2, lt 0.9.2
206 Incremented ATK required version to 1.3.4.
208 * cspi/spi_registry.c:
209 (SPI_generateKeyEvent):
210 We now pass the keystring along if it's non-null.
212 * registryd/deviceeventcontroller.c:
213 (keysym_mod_mask): New method, returns modifier mask
214 required to generate a keysym from a given keycode.
215 (dec_synth_keysym): New method.
216 (dec_synth_keystring): New method.
217 (dec_get_modifier_state): New method.
218 (dec_lock_modifiers): New
219 (dec_unlock_modifiers): New.
220 (dec_keysym_for_unichar): New, rather brute-force
221 conversion from UCS-4 to X KeySyms. Only works for
222 Latin at the moment, with partial implementations for
223 Greek, Hebrew, and (incomplete) Katakana.
224 (impl_generate_keyboard_event): Now implement
225 "KEYSTRING" synthesis and implement "KEYSYM"
227 (keycode_from_keysym): Improved, passes a returned
228 modmask value now if the corresponding param is non-NULL.
230 Fixes bugs #92143 and #109776.
233 * test/keysynth-test.c:
234 New test program for key synthesis, to confirm fixes for
238 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
240 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
242 * cspi/spi_accessible.c (cspi_init_relation_type_table):
243 Add line for RELATION_POPUP_FOR
245 * docs/reference/cspi/tmpl/spi_relation.sgml:
246 Add relation SPI_RELATION_POPUP_FOR
248 * docs/reference/cspi/tmpl/spi_stateset.sgml:
249 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
251 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
253 * libspi/relation.c (spi_init_relation_type_table):
254 Add line for RELATION_POPUP_FOR
256 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
258 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
259 there are still windows which have not been deleted and emit
260 window:deactivate, if necessary and window:destroy events.
261 This fixes bug #114370. The change on June 5th was not correct.
263 2003-06-09 Bill Haneman <bill.haneman@sun.com>
265 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
268 (SPI_dupString): Allow dup-ing of a string such that it's safe to
270 New methods for client exception handling and interception.
271 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
272 (SPI_exceptionHandlerPop): You guessed it...
273 (SPI_getSourceType): Return the type of object which offended.
274 (SPI_getExceptionCode): Return an enum code telling, possibly,
275 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
276 (SPIAccessibleException_getSource): get the source object for
277 exceptions that come from Accessibles, if SPIExceptionSourceType is
278 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
279 (SPIException_getDescription): New, returns a string description of
280 the problem. [Not yet a stable ABI, strings are not frozen]
282 * cspi/spi-private.h:
283 Added implementation details of opaque SPIException
287 Implementations of above. Also
288 (_cspi_exception_throw): new private method that
289 dispatches exceptions to handlers, called from cspi-bonobo.c
291 * cspi/bonobo/cspi-bonobo.c:
292 (cspi_check_ev): call _cspi_exception_throw.
293 Don't print a warning message if the exception has been
294 handled by _cspi_exception_throw.
296 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
298 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
299 there are still windows which have not been deleted and emit
300 window:deactivate, if necessary and window:destroy events.
301 This fixes bug #114370.
303 2003-06-03 Bill Haneman <bill.haneman@sun.com>
306 (cspi_accessible_is_a): Make non-fatal
307 if the object reference is dead.
309 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
311 * cspi/spi_main.c: #include <stdio.h>
312 * test/simple-at.c: ditto
313 * test/event-listener-test.c: ditto
314 * test/screen-review-test.c: ditto
316 2003-05-30 Michael Meeks <michael@ximian.com>
318 * test/test-simple.c (main): use CORBA_ORB_perform_work
319 instead of an unnecessary linc_ call.
321 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
323 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
324 Add SPI_STATE_INDETERMINATE.
326 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
329 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
331 * libspi/stateset.c (init_state_type_tables): Add support for
334 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
336 * configure: Update versions of atk and gail required.
337 This fixes bug #113268.
339 2003-05-02 Bill Haneman <bill.haneman@sun.com>
341 * configure.in: Revved micro version to 1.3.1 (because of build fix).
343 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
345 * libspi/Makefile.am:
346 Ensure headers are generated before being used by c sources.
348 2003-05-01 Bill Haneman <bill.haneman@sun.com>
351 Simplified lt versioning rules.
352 Incremented version to 1.3.0, to indicate that we're on the
355 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
357 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
358 Add MKDB_OPTIONS=--outtput-format=xml
360 * docs/reference/cspi/at-spi-cspi-docs.sgml
361 docs/reference/idl/at-spi-idl-docs.sgml:
362 Convert to Docbook XML.
364 This fixes bug #111793.
366 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
368 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
369 AcccessibleKeyEventType, AccessibleKeyMaskType.
371 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
373 * cspi/state-types.h: Add documentation for AccessibleState.
375 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
376 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
377 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
378 AccessibleComponentLayer.
380 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
383 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
385 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
386 Accessible. Add description of AccessibleEvent,
387 AccessibleEventListenerCB.
389 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
392 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
393 documentation. Add description of AccessibleKeystrokeListenerCB,
394 AccessibleKeyEventMask, AccessibleModifierMaskType,
395 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
396 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
398 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
401 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
404 This fixes bug #104730.
406 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
408 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
409 Set is_text field of Accessibility_DeviceEvent data structure.
411 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
412 is-text field of AccessibleDeviceEvent data structure.
414 This addresses part of bug #108666.
416 * registryd/devcieeventcontroller.c: Unset debug option.
418 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
421 (cpi_initial_relation_type_table): New function which initializes
422 mapping between Accessibility_RelationType and AccessibleRelationType.
423 (cspi_relation_type_from_spi_relation_type): New function which
424 translates an Accessibility_RelationType into an AccessibleRelationType.
425 (AccessibleRelation_getRelationType): Use
426 cpi_relation_type_get_spi_relation_type to return correct value.
427 (spi_state_to_corba): Return correct type for default case.
429 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
430 Use Accessibility_EventType instead of Accessibility_KeyEventType.
432 * cspi/cspi-bonobo-listener.c:
433 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
436 * libspi/accessible.c, libspi/action.c, libspi/application.c,
437 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
438 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
439 libspi/image.c, libspi/listener.c, libspi/selection.c,
440 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
441 registryd/desktop.c, registryd/registry.c:
442 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
444 * libspi/eventlistener.c
445 Remove semicolon after BONOBO_TYPE_FUNC.
448 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
449 (spi_init_relation_type_table): Initialize using correct type.
451 * registryd/desktop.c:
452 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
453 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
454 of Accessibility_KeyEventType.
456 * test/key-listener-test.c (report_tab_key_event): Use fprintf
459 * tests/simple-at.c, tests/screen-review-test.c:
460 Add include for <strings.h>.
462 * tests.stress-test.c:
463 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
465 These changes fix compiler warnings when using FORTE compiler on
466 Solaris; fixes bug #107479.
469 2003-04-10 Bill Haneman <bill.haneman@sun.com>
472 * configure.in: revved to 1.1.10
475 (SPI_KEYMASK_NUMLOCK): Added.
477 * registryd/deviceeventcontroller.c:
478 (spi_key_event_matches_listener): AND with a smaller
479 bitmask (as we should).
480 (spi_dec_translate_mask):
481 New method, sets the virtual NumLock modifier bit
482 if numlock is on. Eventually it can handle other virtual
483 modifier bits if needed, or other marshalling from
484 at-spi modifier masks to platform (X) masks.
485 (spi_dec_key_listener_new):
486 Call spi_dec_translate_mask to set up virtual mod bits
487 in the 'mask' field when creating a new listener struct.
488 (spi_dec_emit_modifier_event):
489 Set the virtual (i.e. NumLock) bits before emitting event.
490 (spi_controller_register_with_devices):
491 Query for the NumLock modifier 'physical' bit if Xkb is
492 present, for use in above methods.
496 2003-04-10 Bill Haneman <bill.haneman@sun.com>
498 * registryd/deviceeventcontroller.c:
499 (spi_keystroke_from_x_key_event):
500 Instead of checking to see if the keysym is
501 printable, check the string from XLookupString
502 if available, get the first unicode character from it,
503 and call g_unichar_isprint to determine whether the
504 is_text flag should be TRUE or FALSE.
508 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
510 * atk-bridge/bridge.c: Add support for extended events
511 * cspi/spi_event.c: Add documentation and implementation for
513 * tests/event-listener-test.c: Add tests for extended events.
515 This fixes bugs #100424 and #100426.
517 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
519 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
520 of LT_CURRENT. This fixes bug #89350.
522 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
524 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
525 number of signal parameter values before accessing them. This fixes
528 2003-04-01 Bill Haneman <bill.haneman@sun.com>
530 * configure.in: Fixed duplicate inclusion of -lspi.
531 * branched for gnome-2-2/HEAD.
532 [created tag "gnome-2-2"]
534 2003-03-07 Bill Haneman <bill.haneman@sun.com>
536 * configure.in: 1.1.9 release.
539 2003-03-07 Bill Haneman <bill.haneman@sun.com>
541 [needed by GOK, to fix bugs 107985 and 107988]
542 * registryd/deviceeventcontroller.c:
543 (spi_dec_clear_unlatch_pending):
544 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
545 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
546 (spi_dec_init_mouse_listener):Emit warning if mouse button
548 (spi_device_event_controller_forward_mouse_event):
549 Removed unnecessary parens from a conditional.
550 (global_filter_fn):Added TODO comment.
551 (impl_generate_keyboard_event):
552 Cancel a pending relatch if a 'delatching' key was
555 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
557 * atk-bridge/bridge.c:
558 Change atk_signal_child_changed to atk_signal_children_changed.
559 Reorganize code in spi_atk_bridge_signal_listener().
561 * test/event-listener-test.c:
562 Add children_changed_listener and report_children_changed_event()
563 to test AccessibleChildEvent_getChildAccessible.
565 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
567 * cspi/spi_event.c (cspi_internal_event_get_text): Change
568 g_strdup to CORBA_String_dup (bug #105291)
570 * test/event-listener-test.c (report_text_event): Add call to
573 2003-02-28 Bill Haneman <bill.haneman@sun.com>
575 * registryd/deviceeventcontroller.c:
576 (spi_keystroke_from_x_key_event):
577 Fix string and keysym return codes to match modifier state.
580 2003-02-28 Bill Haneman <bill.haneman@sun.com>
582 * registryd/deviceeventcontroller.c:
583 (spi_keystroke_from_x_key_event):
584 Fix segv due to improper use of isprint(c). [bug #107254]
586 2003-02-24 Bill Haneman <bill.haneman@sun.com>
589 (get_accessible_text_boundary_type):
590 Move default return value to (new) default case in switch.
591 (get_accessible_text_clip_type):
592 Move default return value to (new) default case in switch.
594 * libspi/application.c:
595 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
596 Remove unused methods.
597 (impl_accessibility_application_register_object_event_listener):
598 Remove unused methods.
601 Added #include of <math.h>.
603 * registryd/deviceeventcontroller.c:
604 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
605 we don't currently use this method.
606 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
608 (impl_generate_key_event):
609 Remove unused variables.
610 (impl_generate_mouse_event):
611 Initialize button to zero, just in case we get an invalid
612 input. Added support for mouse buttons 4 and 5.
613 (spi_device_event_controller_new):
614 Removed unused variable declaration for 'private'.
616 Added #include of <gdk/gdk.h>
618 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
620 * configure.in: Update to work when X is not installed in expected
621 location. Fixes bug #105836.
623 * atk-bridge/bridge.c
624 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
626 (spi_atk_register_event_listener): Add signal listener for
628 (spi_atk_bridge_signal_listener): Event event when link-selected
629 signal is emitted. (bug #104622)
631 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
632 on returned string. (bug #105291)
634 * test/event-listener-test.c: Add test for link-selected.
636 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
638 * atk-bridge/Makefile.am: Correct typo in previous commit.
640 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
642 * atk-bridge/Makefile.am: Allow for build directory to be different
643 from source directory
645 * registryd/Makefile.am: Allow for build directory to be different
646 from source directory
650 2003-01-29 Bill Haneman <bill.haneman@sun.com>
653 Fixed dependencies for libcspi so that libspi gets pulled in
654 properly. Fixes 104741.
658 Clean up inline docs a little.
660 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
662 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
663 This is done by implementing AtkComponent for SpiAtkDesktop, which is
664 the AtkObject within an SpiDesktop.
665 This addresses bug #101524.
667 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
668 Remove call to gdk_init().
670 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
671 so that Display is set when SpiDesktop is created.
673 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
675 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
676 This fixes bug #102830.
678 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
680 * test/test-simple.c: Update to take account of fact that GailButton
681 now implements AtkText.
682 (create_text_window): Set name on AtkObject for GtkEntry.
683 (validate_accessible): Check accessible name before calling test_text().
685 * libspi/Makefile.am: Fix problem with building outside of source
686 directory. Bug #98120.
688 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
689 typo in documentation comments. Bug #94275.
691 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
693 * libspi/text.c (impl_getBoundedRanges): Bug fix.
695 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
698 Add includes to avoid compiler warnings on Solaris.
699 (impl_getRangeExtents): Bug fix.
701 2002-12-17 Bill Haneman <bill.haneman@sun.com>
703 Fix for 100944, [API addition approved by Gman and murrayc].
710 * idl/Accessibility_Text.idl:
711 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
712 (Text::getRangeExtents): New method for efficient
713 bounds query of a text range.
714 (Text::getBoundedRanges): New method for efficient
715 clipping of text to bounding boxes.
716 (unImplemented7, unImplemented8):
717 Removed these padding methods to preserve bincompat.
720 (impl_getRangeExtents): implementation of new IDL.
721 (impl_getBoundedRanges): implementation of new IDL.
722 (SpiTextRect): Internal use struct.
723 (_spi_text_rect_union): internal method, calculates union of two
724 SpiTextRect bounding rects.
725 (_spi_text_range_seq_from_gslist): internal method, allows us
726 to build our sequence efficiently as a gslist then convert it
728 (_spi_bounds_contain): internal method, determines whether
729 a text character is "in" or "out" of a clip rect according to
730 values of TEXT_CLIP_TYPE.
731 (spi_text_class_init): Initialize the new methods in the epv.
734 (AccessibleTextClipType): New enum used by screen review api.
735 (AccessibleTextRange): New struct used by screen review api.
736 (AccessibleText_getRangeExtents):
737 cspi binding for Accessibility_Text_getRangeExtents.
738 (AccessibleText_getBoundedRanges):
739 cspi binding for Accessibility_Text_getBoundedRanges.
740 (AccessibleTextRange_freeRanges): convenience method.
743 (AccessibleText_getRangeExtents):
744 cspi binding for Accessibility_Text_getRangeExtents.
745 (AccessibleText_getBoundedRanges):
746 cspi binding for Accessibility_Text_getBoundedRanges.
747 (AccessibleTextRange_freeRanges): convenience method.
748 (get_accessible_text_clip_type): internal conversion method.
749 (get_accessible_text_ranges_from_range_seq): internal conversion method.
751 * registryd/deviceeventcontroller.c:
752 (spi_dec_mouse_check):
753 Improved behavior for mouse:abs events
754 [same granularity as mouse:rel events, and no
755 events when mouse is idle].
757 2002-12-16 Michael Meeks <michael@ximian.com>
759 * cspi/spi_accessible.c (spi_state_to_corba): rename.
761 * libspi/stateset.c (state_spi_to_atk): split out
762 ( fix several remote array bounds nasties )
763 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
764 (impl_remove): make safe from array bounds issues.
765 (spi_atk_state_from_spi_state): impl.
767 * libspi/stateset.h (spi_state_set_cache_is_empty):
768 add a set of wrapper defines to get layering right.
770 * cspi/spi_accessible.c: update state set stuff to
773 2002-12-14 Michael Meeks <michael@ximian.com>
775 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
776 to avoid 2 roundtrips to the registry per key event
777 (spi_atk_bridge_key_listener): upd.
778 (deregister_application): release the dec.
780 * registryd/registry.c (notify_listeners_cb):
781 bin lots of re-enterant complexity - we no longer
782 do a round-trip bonobo ref here, ensure that a single
783 listener's exception failure won't poison all other
785 (impl_registry_notify_event): bin obvious memory leak.
787 2002-12-13 Michael Meeks <michael@ximian.com>
789 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
790 init the ev so the error is meaningful.
791 (spi_atk_bridge_key_listener): ditto.
793 * cspi/spi_main.c (cspi_ev): init the ev so we start
794 with a clean slate, otherwise the first exception
797 * cspi/spi_text.c (get_accessible_text_boundary_type):
798 add a fallthrough for no warnings.
800 * cspi/spi_registry.c: prune unused warnings.
802 * cspi/spi_main.c (cspi_object_take): fix
803 mind-blowing brokenness ( by watching the compile
806 * cspi/spi_accessible.c (Accessible_getStateSet):
807 re-impl. to use an AtkStateSet.
808 (spi_state_type_from_accessible_state),
809 (init_state_table): bin these.
811 * libspi/stateset.c (spi_atk_state_set_from_sequence):
813 (atk_state_set_from_accessibility_state_set): here.
815 * cspi/spi_accessible.c (spi_state_to_atk): impl.
816 (AccessibleStateSet_contains, AccessibleStateSet_ref),
817 (AccessibleStateSet_unref, AccessibleStateSet_contains),
818 (AccessibleStateSet_add, AccessibleStateSet_remove),
819 (AccessibleStateSet_equals, AccessibleStateSet_compare),
820 (AccessibleStateSet_isEmpty): re-write to use a local
823 2002-12-13 Bill Haneman <bill.haneman@sun.com>
825 * configure.in: Revved to 1.1.7 (new keymask vals).
827 2002-12-10 Bill Haneman <bill.haneman@sun.com>
830 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
832 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
835 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
836 to compare two CORBA_TypeCodes.
837 (cspi_internal_event_add): Silence warning from FORTE compiler.
839 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
840 avoid implicit declaration of functions.
842 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
844 * atk-bridge/bridge.c:
845 (spi_atk_bridge_init_event_type_consts): Store signal id for
846 active-descendant-changed signal.
847 (spi_atk_register_event_listeners): Add signal listener for
848 active-descendant-changed signal,
849 (spi_atk_bridge_signal_listener): Move code in function
850 spi_atk-signal_emit_event() into this function.
851 Add support for active-descendant-changed
852 Update support for child-changed signal.
853 (spi_bridge_window_event_listener): Silence warning.
855 * libspi/spi_private.[ch]:
856 (spi_init_any_object): Change second parameter from CORBA_Object to
858 Omit call to CORBA_Object_duplicate().
859 Set CORBA_any's _value to CORBA_Object*.
861 2002-12-06 Bill Haneman <bill.haneman@sun.com>
867 (AccessibleEvent_ref, AccessibleEvent_unref):
868 New methods, for persisting an event outside the emission context.
869 Must be used if the new accessor methods are to be called
870 outside of the event listener's callback.
872 * cspi/bonobo/cspi-bonobo.c:
873 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
874 as second parameter instead of NULL, so we can call
875 cspi_check_ev afterwards.
878 (cspi_object_take): New internal method,
879 converts a CORBA_Object reference to a hard ref on
880 an Accessible if possible, returning NULL if the object
881 reference is invalid or an Accessible * otherwise.
884 (AccessibleEvent_ref):
885 Increment the event's internal private refcount, and
886 add the event's internal struct to an internal cache
887 if it's not already there.
888 (AccessibleEvent_unref):
889 Decrement the event's refcount and remove it from
890 the cspi event cache if refcount==0.
891 (cspi_event_compare): New private method.
892 Compares two event structs via their ids. Used
894 (cspi_internal_event_lookup): New private method.
895 (cspi_internal_event_check): New private method,
896 a 0-order sanity check for events to make sure their
897 private data is intact.
898 (cspi_internal_event_add, cspi_internal_event_remove):
899 New private methods for managiing the event cache.
901 * cspi/bonobo/cspi-bonobo-listener.c:
903 Initialize the new private data elements (id, magic, ref_count).
905 * atk-bridge/bridge.c:
906 (spi_atk_bridge_signal_listener):
907 Fixed bug #100530, passing wrong params to emission func.
909 * registryd/deviceeventcontroller.c:
910 (spi_dec_button_update_and_emit):
911 Fixed type in mask bit operations; fix for #99799.
913 2002-12-02 Bill Haneman <bill.haneman@sun.com>
915 Removed some of the more dangerous workarounds from
916 previous commit; they are only needed by GOK, which
917 in reality should be using another method to accomplish
918 the goals. So on reconsideration some of the workarounds
921 * registryd/deviceeventcontroller.c:
922 (spi_keycodes_contain, spi_dec_init_keycode_list):
923 Removed these methods, used only by a nasty hack to try
924 and detect whether a key synthesis should be allowed
925 to reset the XKB latch state or not. This code was only
926 required to work around an interaction between GOK,
927 button events, and XKB.
928 (impl_generate_key_event):
929 Removed hack at end of key generation that tried to
930 "do the right thing" if XKB latch keys were generated
931 in the midst of button press/release pairs.
934 Added a check for HAVE_XINPUT. Not normally used yet.
936 2002-11-25 Bill Haneman <bill.haneman@sun.com>
938 Workarounds and fixes for mouse event/XKB interaction.
940 * registryd/deviceeventcontroller.c:
941 (spi_keycodes_contain, spi_dec_init_keycode_list):
942 New internal methods.
943 (spi_dec_set_unlatch_pending):
944 Split the method that tells XKB to expect an
945 unlatch (and revert it) out of the rest of the
946 event handling code. This method is called by the
947 two mouse event handlers (the poll and the filter).
948 (spi_dec_update_and_emit, spi_dec_mouse_check):
949 New methods split from spi_dec_poll_mouse_moved.
950 The second one is now called from inside the filterFn
951 when an XKB delatch event is received, to determine
952 whether to revert the delatch or not.
953 (spi_poll_mouse_moved): Refactor; also we can now
954 properly handle the case where multiple button states
955 have changed between polling cycles and we didn't get
956 notified due to another client's grab.
958 Synchronize the server while handling an XKB notification.
959 Ugly, but apparently necessary to avoid nasty races.
960 Check the mouse state on receipt of an XKB latch change,
961 to decide whether to revert the latch or not. (Latches are
962 reverted if there is an immediately preceding mouse button
963 event that a client has consumed, in which case we don't want
964 the user to see the side-effect of the event).
965 (spi_device_event_controller_forward_mouse_event):
966 Check for modifier events and fire before resetting mouse_mask_state,
967 prevents losing modifier events.
969 (impl_generate_keyboard_event):
970 If we've just generated a keyboard event for a non-shift key,
971 we don't want to revert the pending XKB latch.
972 Otherwise, check the modifier state (via a call to
973 spi_dev_mouse_check) and set the relatch mask to
974 that state before returning.
976 2002-11-24 Bill Haneman <bill.haneman@sun.com>
979 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
982 * atk-bridge/bridge.c:
983 (spi_atk_register_event_listeners):
984 Don't re-register for ATK events if the registry has died
985 and the app needs to re-register; the ATK listeners are in
986 process and doing so will cause duplicate emission.
988 * registryd/deviceeventcontroller.c:
989 (spi_poll_mouse_moved):
990 Reformat the source, detect and emit multiple button-change
991 events (i.e. if multiple buttons have changed between poll
993 Add code to detect mouse-down events even when the pointer
994 is grabbed; workaround for GOK bug 98420.
995 (spi_controller_register_with_devices):
996 Call XTestGrabControl with 'impervious' flag set to True,
997 allows us to synthesize events and query the pointer even during
998 an active grab by another client.
999 (spi_device_event_controller_forward_mouse_event):
1000 Set the mouse_mask_state to the mouse_button_state from
1001 the intercepted event, to synchronize the grab listener with
1004 2002-11-20 Bill Haneman <bill.haneman@sun.com>
1006 * cspi/spi_accessible.c:
1007 (AccessibleRole_getName):
1008 Added necessary strings for making this (deprecated)
1009 method work with the new role types.
1010 (init_role_table, role_table):
1011 Added definition of SPI_ROLE_APPLICATION.
1013 * libspi/spi-roletypes.h:
1014 Added SPI_ROLE_APPLICATION.
1016 * idl/Accessibility_Role.idl:
1017 Added ROLE_APPLICATION.
1019 * docs/reference/cspi/at-spi-cspi-decl.txt:
1020 Added SPI_ROLE_APPLICATION to docs.
1022 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
1024 * cspi/spi_accessible.c
1025 (cspi_init_role_table): Do not write beyond end of role_table.
1026 (Accessible_getRole): Use correct type for value returned by
1027 Accessibility_Accessible_getRole().
1029 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
1030 beyond end of role_table. (This fixes bug #98269)
1032 * libspi/application.c: Add include file spi-private.h for
1033 definition of spi_init_any_nil.
1035 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1039 * libspi/spi-private.h:
1040 Added DGB() macro, and extern int _dbg declaration.
1042 * registryd/registry.c:
1043 (definitions) storage for _dbg.
1044 (spi_registry_init):
1045 Get environment variable "AT_SPI_DEBUG".
1046 (spi_registry_set_debug):
1047 New method, to initialize _dbg value.
1048 (spi_listener_struct_new, spi_registry_object_finalize):
1049 (notify_listeners_cb):
1050 Changed fprintfs to use DBG and g_warning().
1052 * registryd/deviceeventcontroller.c:
1053 (_deregister_keygrab, spi_controller_register_device_listener):
1054 Changed debug/warning messages to use DBG macro.
1056 * libspi/listener.c:
1057 (impl_notify_event):
1058 Changed warning messages to use DBG macro and g_warning().
1060 * atk-bridge/bridge.c:
1061 (atk_bridge_init, spi_atk_bridge_get_registry):
1062 (spi_atk_bridge_exit_func):
1063 (spi_atk_bridge_property_event_listener):
1064 Changed status, warning, and error messages to use
1065 g_warning, g_message, and DBG macros.
1068 Read the state of the AT_SPI_DEBUG environment variable
1069 and set a local '_dbg' accordingly.
1071 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1073 FIXES for 98836, 98842, other bugs.
1076 Revved to 1.1.4, interface-age=4, binary-age=4.
1078 * registryd/deviceeventcontroller.c:
1080 Fixed crasher bug in last_mouse_pos initialization.
1082 * registryd/registry.c:
1083 (desktop_add_application, desktop_remove_application):
1084 Added (and then commented out) some support for
1085 object context marshalling. [TODO]
1087 * atk-bridge/bridge.c:
1088 (spi_atk_bridge_event_context_create):
1089 Commented out object context creation until it can
1090 be properly tested and debugged.
1092 * registryd/registry.c:
1093 (impl_registry_notify_event):
1094 Fixed crasher bug, we were calling
1095 spi_re_entrant_list_foreach () with an empty list.
1097 2002-11-18 Bill Haneman <bill.haneman@sun.com>
1099 * idl/Accessibility_Action.idl:
1100 * idl/Accessibility_Component.idl:
1101 * idl/Accessibility_Desktop.idl:
1102 * idl/Accessibility_Event.idl:
1103 * idl/Accessibility_Hyperlink.idl:
1104 * idl/Accessibility_Image.idl:
1105 * idl/Accessibility_Relation.idl:
1106 * idl/Accessibility_Selection.idl:
1107 * idl/Accessibility_State.idl:
1108 * idl/Accessibility_Value.idl:
1109 Updated unimplemented slot count to minimum of
1110 four for all interfaces, for ABI freeze.
1112 * idl/Accessibility_EditableText.idl:
1113 * idl/Accessibility_Text.idl:
1114 Updated unimplemented slot count to six
1117 * idl/Accessibility_Registry.idl:
1118 Updated unimplemented slot count to six
1119 (also for DeviceEventController),
1122 * idl/Accessibility_Table.idl:
1123 Updated unimplemented slot count to eight,
1126 * idl/Accessibility_Event.idl:
1127 Added CORBA_any "any_data" member to Event struct.
1129 * idl/Accessibility_Event.idl:
1130 Added CORBA_any "any_data" member to Event struct.
1132 * atk-bridge/bridge.c:
1134 atk_signal_text_changed, atk_signal_child_changed,
1135 signal ids queried from gtype system.
1136 (AtkBridgeEventContextType): New enum.
1137 (AtkBridgeEventContextData): New struct.
1138 (AtkBridgeEventContext): New struct.
1139 (atk_bridge_init_event_type_consts):
1140 New method, initializes type contants for comparison
1141 prior to emit_eventv.
1142 (atk_bridge_event_context_init): New method,
1143 initializes a CORBA_any from an AtkBridgeEventContext.
1144 (atk_bridge_focus_tracker): Call spi_init_any_nil to
1145 initialize the event.any_data struct.
1146 (spi_atk_bridge_event_context_create): New method,
1147 creates an AtkBridgeEventContext from signal/event info.
1148 (spi_atk_bridge_event_context_free): New method.
1149 (spi_atk_emit_eventv): Changed to take an
1150 AtkBridgeEventContext parameter. We now initialize
1151 the event.any_data member prior to notifying the
1152 Registry, via the AtkBridgeEventContext.
1153 (spi_atk_bridge_property_event_listener):
1154 (spi_atk_bridge_state_event_listener):
1155 Match emit_eventv signature.
1156 (spi_atk_bridge_object_event_listener):
1157 Match emit_eventv signature, and create an
1158 event context from the event details.
1159 Free the event context afterwards.
1160 (spi_atk_bridge_window_event_listener):
1161 Create an event context, pass it to the
1165 (AccessibleEvent_getContextString):
1166 (AccessibleEvent_getContextObject):
1167 New methods, allow query of AccessibleEvent objects
1168 for more context details (via the "any_data" member
1169 of the Event struct, above).
1172 Definitions for AccessibleEvent_getContextString
1173 and AccessibleEvent_getContextObject.
1175 * cspi/spi_listener.h:
1176 (InternalEvent): New struct.
1179 (AccessibleEvent_getContextString):
1180 (AccessibleEvent_getContextObject):
1181 Implementations of new methods, for obtaining
1182 additional context information from some event types.
1184 * cspi/spi_registry.c:
1185 (SPI_registerGlobalEventListener):
1186 Added mention of active-descendant-changed event in docs.
1188 * cspi/cspi-bonobo-listener.c:
1190 Marshal the any into the AccessibleEvent via
1193 * libspi/spi-private.h:
1194 #include <orbit/orbit.h>
1196 (spi_init_any_string):
1197 (spi_init_any_object):
1198 New convenience function declarations.
1202 (spi_init_any_string):
1203 (spi_init_any_object):
1204 New convenience function implementations.
1206 * registryd/deviceeventcontroller.c:
1207 (spi_poll_dec_mouse_moved):
1208 (spi_device_event_controller_forward_mous_event):
1209 Initialize any_data member of event.
1210 (spi_deregister_controller_device_listener):
1211 Fix incorrect param pass which was preventing deregistration.
1213 * registryd/registry.c:
1214 (desktop_add_application):
1215 (desktop_remove_application):
1216 Add object data to event's any_data before dispatch.
1218 Fix for error messages from GAIL.
1220 * test/event-listener-test.c:
1221 Test new ContextString and "any_data" API:
1222 (report_text_event): New method query and output context string.
1223 (main): register a new text listener with report_text_event
1226 2002-11-19 Darren Kenny <darren.kenny@sun.com>
1228 Fixes for bugs 98127 and 97914.
1229 * cspi/spi-roletypes.h:
1230 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
1232 * cspi/spi-statetypes.h:
1233 Added SPI_STATE_MANAGES_DESCENDANTS
1235 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
1236 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
1237 * cspi/spi_accessible.c:
1238 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
1239 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
1240 Accessibility_STATE_MANAGES_DESCENDANTS
1241 * libspi/accessible.c:
1242 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
1243 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
1244 As requested by Bill, I also cleaned up the alignment.
1245 * libspi/relation.c:
1246 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
1247 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
1248 * libspi/stateset.c:
1249 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
1250 Accessibility_STATE_MANAGES_DESCENDANTS
1251 * docs/reference/cspi/tmpl/spi_accessible.sgml:
1252 Document changes reflecting modifications to roles.
1253 * docs/reference/cspi/tmpl/spi_relation.sgml:
1254 Document changes reflecting modifications to relations.
1255 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1256 Document changes reflecting modifications to states.
1258 2002-11-17 Bill Haneman <bill.haneman@sun.com>
1261 Revved to 1.1.3, interface-age=3, binary-age=3.
1262 Added REBUILD macro.
1265 Removed accessx-gui from the tests, since we have a nice
1266 keyboard accessibility capplet now :-)
1268 * test/keysynth-demo.c:
1269 (increment_scan): removed do-nothing default: case,
1272 * test/visual-bell.c:
1273 (main) : removed do-nothing default: case,
1276 * cspi/spi_action.c:
1277 (AccessibleAction_getKeyBinding_):
1278 Documented keybinding string format.
1282 (AccessibleText_getAttributes):
1283 Documented the text attribute string format.
1284 It's changed to use semicolon delimiters also,
1285 to prevent clashes with CSS attributes, but the old
1286 trick of looking for ", " strings will still work
1287 (as unreliably as ever). Fix for bug related to 97916.
1290 Include <cspi/bonobo/cspi-bonobo-listener.h>
1291 Fixes build warning.
1292 (SPI_freeAccessibleKeySet):
1293 (AccessibleKeystrokeListener_addCallback):
1294 (AccessibleKeystrokeListener_removeCallback):
1295 Modify to use AccessibleDeviceListener API internally,
1296 instead of AccessibleKeystrokeListener.
1298 * idl/Accessibility_Event.idl:
1299 Added two more empty slots to EventListener (for a total of four).
1301 * idl/Accessibility_Accessible.idl:
1302 Added four empty slots to Accessible interface.
1304 2002-11-15 Bill Haneman <bill.haneman@sun.com>
1306 * idl/Accessibility_Registry.idl:
1307 (KeyEventType, EventType):
1308 Marked KeyEventType as deprecated; it duplicates
1309 functionality of EventType, which has been extended to
1310 include Mouse-button events.
1311 (KeyEventTypeSeq): defined in terms of EventType.
1312 (registerDeviceEventListener, deregisterDeviceEventListener):
1313 New methods, for managing listeners to device events,
1314 which potentially may consume them.
1317 Added definition for AccessibleDeviceListener.
1319 * cspi/spi-listener.h:
1320 (enum AccessibleDeviceEventType):
1321 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
1322 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
1323 for backwards compat.
1324 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
1325 and typedef'd AccessibleKeystroke to it for back-compat.
1326 (AccessibleDeviceListenerCB):
1327 New function prototype typedef.
1330 (AccessibleDeviceEventMask): New typedef.
1331 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
1332 (AccessibleKeyMaskType):
1333 Set equivalent to AccessibleModifierMaskType for back-compat.
1334 (SPI_createAccessibleKeystrokeListener):
1335 (AccessibleKeystrokeListener_unref):
1336 Deprecated in favor of equivalent (better-named) new API below..
1337 keystroke listeners are like all device listeners.
1338 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
1339 New API names for old features :-).
1340 (AccessibleDeviceListener_addCallback):
1341 (AccessibleDeviceListener_removeCallback):
1342 (SPI_registerDeviceEventListener):
1343 (SPI_deregisterDeviceEventListener):
1347 (SPI_createAccessibleKeystrokeListener):
1348 Use new preferred API, cspi_device_listener_new() and
1349 cspi_device_listener_add_cb().
1350 (AccessibleKeystrokeListener_removeCallback):
1351 Use new preferred API, cspi_device_listener_remove_cb().
1352 (AccessibleKeystrokeListener_unref):
1353 Use new preferred API, cspi_device_listener_unref().
1354 (SPI_createAccessibleDeviceListener):
1355 (AccessibleDeviceListener_addCallback):
1356 (AccessibleDeviceListener_removeCallback):
1357 Implementation of new API.
1359 * cspi/spi_registry.c:
1360 (SPI_registerDeviceEventListener):
1361 (SPI_deregisterDeviceEventListener):
1362 Implementation of new API. Fixed memory leak and removed need to
1363 allocate EventTypeSeq (thanks Michael for catching this).
1364 Squashed a wayward CORBA_exception_free that shouldn't get called.
1366 * cspi/bonobo/cspi-bonobo-listener.c:
1368 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
1369 (cspi_key_event): renamed to cspi_device_event().
1370 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
1371 Extended to handle mouse button events as well as key events.
1372 (CSpiKeystrokeListener):
1373 Class superceded by CSpiDeviceListener.
1374 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1375 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1377 * cspi/bonobo/cspi-bonobo-listener.h:
1378 (CSpiKeystrokeListener):
1379 Class superceded by CSpiDeviceListener.
1380 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1381 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1383 * libspi/Makefile.am:
1384 Replaced keystrokelistener.h and keystrokelistener.c
1385 with devicelistener.h and devicelistener.c; keystrokelisener.h
1386 stub retained for back-compat.
1388 * libspi/keystrokelistener.c:
1392 Replaced inclusion of keystrokelistener.h with devicelistener.h.
1394 * registryd/deviceeventcontroller.c:
1395 (DEControllerListener): Added Accessibility_EventTypeSeq member.
1396 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
1397 (DEControllerPrivateData): Added xkb settings data.
1398 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
1399 button release events (which can't be captured via XGrabButton).
1400 Don't dispatch via the 'normal' event mechanism if the device event was
1402 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
1403 Handle the typeseq data in its new location (see above).
1404 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
1405 New methods, for "generic" device listeners.
1406 (spi_controller_register_device_listener):
1407 Now handle mouse event listeners as well as key listeners.
1408 (spi_controller_notify_mouselisteners):
1409 New internal method.
1410 (spi_device_event_controller_forward_mouse_event):
1411 Now we notify mouse device listeners as well as generating the
1412 non-consumable "mouse:" events.
1414 We must check and restore the XKB
1415 modifier map if we consume the event, since the act of triggering
1416 a mouse event will normally reset the XKB latch. This is required for
1418 (spi_controller_register_with_devices):
1419 Load the XKB settings when registering, and register for XKB
1420 state notify events.
1421 (spi_key_eventtype_seq_contains_event):
1422 Renamed spi_eventtype_seq_contains_event, since it's used
1423 internally for all device event types now.
1424 (spi_key_event_matches_listener):
1425 Uses spi_eventtype_seq_contains_event now.
1426 (spi_device_event_controller_object_finalize):
1427 Free the private data and the XkbKeyboard struct.
1428 (impl_register_device_listener, impl_deregister_device_listener):
1429 Implementation of new IDL.
1430 (spi_deregister_controller_device_listener):
1431 New internal method.
1432 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
1433 More efficient implementation, we don't have to create a new
1434 XkbControls structure every time we query.
1435 (spi_device_event_controller_class_init):
1436 Initialize the epv entries for the new IDL. Assign the
1437 "spi-dec-private" quark.
1438 (spi_device_event_controller_init):
1439 Initialize the private data.
1440 (spi_device_event_controller_forward_key_event):
1441 Removed a bogus CORBA_exception_free() call.
1443 * registryd/deviceeventcontroller.h:
1444 Replaced inclusion of keystrokelistener.h with
1447 * test/event-listener-test.c:
1448 (report_mouse_event):
1451 Added mouse-event device listener.
1453 * test/test-simple.c:
1454 (create_test_window):
1455 Fixed regression (we were instantiating a GtkRange,
1456 which is now an abstract class). Also fixed to match
1457 existing AtkRole names, this seems to have changed in ATK
1458 awhile ago; too late now I think, and the new
1459 mechanism is at least elegant and consistent with the
1460 glib enum "nick" APIs.
1462 2002-11-15 Darren Kenny <darren.kenny@sun.com>
1464 * idl/Accessibility_Relation.idl:
1465 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
1466 RELATION_EMBEDS,RELATION_EMBEDDED_BY
1467 * idl/Accessibility_Role.idl:
1468 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
1469 * idl/Accessibility_State.idl:
1470 add STATE_MANAGES_DESCENDANTS
1471 * test/event-listener-test.c:
1472 Added a listener for active-descendant events.
1474 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
1476 * atk-bridge/bridge.c
1477 (atk_bridge_init): If application is Bonobo component wait until top
1478 level is added before registering
1479 (spi_atk_bridge_do_registration): New function which contains code,
1480 formerly in atk_bridge_init, to do application registration.
1481 (spi_atk_bridge_toplevel_added): Signal called when top level
1482 added to Bonobo component
1484 This fixes bug #83134.
1486 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
1488 * registryd/deviceeventcontroller.c
1489 Fixed compilation error caused by calling gettimeofday()
1492 2002-10-18 Bill Haneman <bill.haneman@sun.com>
1497 Added template for HAVE_XKB.
1500 Changes to check for XKB, and to set the HAVE_XKB #define if it
1503 * libspi/listener.c:
1504 ()impl_notify_event): Make failure to get event source name
1507 * registryd/deviceeventcontroller.c:
1508 (#include): include X11/XKBlib.h.
1509 (DEControllerPrivateData) : New struct.
1510 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
1512 (dec_synth_keycode_press) (dec_synth_keycode_release):
1513 New methods; split the key synthesis code into these methods.
1514 They check XKB settings before determining the "time" values to
1515 pass to Xtest; this fixes bug #95828.
1516 (impl_generate_keyboard_event): Changed to use methods above,
1517 instead of callng Xtest directly.
1518 (spi_device_event_controller_init): Initialize new privae struct s
1520 (spi_device_event_controllr_object_finalize):
1521 Free the (new) private data.
1523 * registryd/deviceeventcontroller.h:
1524 Add new gpointer to end of struct data.
1526 2002-10-16 Bill Haneman <bill.haneman@sun.com>
1529 Incremented revision to 1.1.2, SONAME is still '.so', library
1530 extensions are ".so.0.0.2".
1532 * registryd/deviceeventcontroller.c:
1533 FIXES FOR #93592 and #95940.
1534 (statics): renamed mouse_button_state to mouse_mask_state,
1535 added key_modifier_mask.
1536 (spi_dec_poll_mouse_moved):
1537 Added key modifier checks, and emit "keyboard:modifiers"
1538 events when the key modifiers currently in use change.
1539 Also generate "mouse:abs" events periodically, even if the mouse
1540 is stationary (should we?).
1541 Alternatively we could generate "mouse:abs" events for either all
1542 mouse movements, or every 'nth' mouse movement, or at the
1543 beginning and end of every "active" mouse period.
1545 * test/event-listener-test.c:
1546 (main): Added listener for "keyboard:modifiers" events.
1548 2002-10-15 Bill Haneman <bill.haneman@sun.com>
1550 * libspi/keymasks.h:
1551 Added key mask #defines for mouse buttons; e.g.
1552 SPI_KEYMASK_BUTTON1, etc.
1555 Incremented dependency on ATK to version 1.1.0. (This dependency
1556 is probably premature but will soon be real enough).
1558 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
1560 * libspi/hyperlink.[ch]
1561 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
1562 (get_hyperlink_from_servant): Check object is AtkHyperlink not
1565 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
1570 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
1572 * registryd/deviceeventcontroller.c
1573 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
1574 events to be ignored.
1575 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
1576 keyboard_mode so that XAllowEvents() can be called.
1580 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
1582 * cspi/spi-accessible.c: Correct names of roles returned by
1583 AccessibleRole_getName(). Fixes bug #95055.
1585 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
1587 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
1590 * registryd/registry.c
1591 (desktop_remove_application: Write diagnostic message to stderr for
1594 (impl_accessibility_registry_deregister_global_event_listener):
1595 Correct size of lists array. This addresses bug #94555).
1597 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
1599 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
1602 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
1604 * registryd/Makefile: Add CLEANFILES so that .server file is removed
1607 * registryd/registry.c (impl_registry_notify_event): Remove
1608 unnecessary call to parser_event_type().
1610 * docs/reference/cspi/tmpl/spi_component.sgml:
1611 Add reference to SPI_LAYER_WINDOW.
1613 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
1615 * registryd/registry.c
1616 (desktop_add_application): Remove leak.
1617 (desktop_remove_application): Remove leak.
1618 (parser_event_type): Remove leak.
1620 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
1622 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
1623 bogus call to CORBA_string_dup(). Also removed unnecessary
1624 g_string_dup/g_free calls.
1626 2002-09-13 Bill Haneman <bill.haneman@sun.com>
1628 * registryd/deviceeventcontroller.c:
1629 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
1631 * test/event-listener-test.c:
1632 main: commented out three redundant listeners, to reduce output
1633 noise. (They still are potentially useful for testing).
1636 2002-09-13 Michael Meeks <michael@ximian.com>
1638 * Update all the copyrights to include Ximian.
1640 2002-09-06 Mark McLoughlin <mark@skynet.ie>
1642 * cspi/spi.h: add SPI_LAYER_WINDOW.
1644 * cspi/spi_component.c: (AccessibleComponent_getLayer):
1645 add Accessibility_LAYER_WINDOW case.
1647 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
1649 * libspi/component.c: (impl_accessibility_component_get_layer):
1650 add ATK_LAYER_WINDOW case.
1652 2002-08-28 Bill Haneman <bill.haneman@sun.com>
1654 * configure.in: incremented micro version.
1656 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
1658 2002-08-20 Bill Haneman <bill.haneman@sun.com>
1661 Clarified and reworded our commit policy.
1664 Started an API "todo" addition list for 2.2.
1667 (impl_getSelection):
1668 Free char pointer from atk_text_get_selection, which was being leaked.
1670 2002-08-19 Bill Haneman <bill.haneman@sun.com>
1673 Small revision to author acknowledgement.
1675 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1677 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
1678 If signal has detail add it to the type of the event.
1681 2002-08-12 Michael Meeks <michael@ximian.com>
1683 * test/test-simple.c (global_listener_cb): bin bogosity.
1684 (test_keylisteners): disable, still doesn't work reliably,
1685 certainly not on my system anyway.
1687 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
1688 don't leak a reference on the DEC. This round-trip
1689 fetching of the DEC per keystroke sucks, it should be
1692 * cspi/spi-private.h,
1693 * cspi/cspi-lowlevel.h,
1694 * cspi/bonobo/cspi-bonobo-listener.[ch],
1695 * cspi/bonobo/cspi-bonobo.c: get the copyright
1696 notices better - there is still a large amount of
1697 work in at-spi falsely attributed solely to Sun.
1699 * cspi/spi_main.c (cspi_object_ref): kill bogus
1700 hash lookup, just increment the ref.
1701 (SPI_freeString): make explicit the fact that we
1702 handle NULL strings just fine.
1703 (report_leaked_ref): obey coding standards.
1704 (cspi_object_hash, cspi_object_equal): kill retval.
1705 (cspi_object_release): only release if not on loan.
1706 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
1707 (cspi_object_borrow, cspi_object_return): impl.
1709 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
1710 use cspi_object_borrow / return.
1712 2002-08-12 Darren Kenny <darren.kenny@sun.com>
1714 * cspi/bonobo/cspi-bonobo-listener.c:
1716 Don't call cspi_oject_new() because this is creating a new Accessible
1717 every single time that an event is fired. This causes ATs like at-poke
1718 to nolonger recognise the source of the event and thus ignore it.
1719 Re-use the object from the cache, ref it and then unref it after the
1720 listeners have been called.
1722 2002-08-06 Darren Kenny <darren.kenny@sun.com>
1724 * test/event-listener-test.c:
1725 Added command-line options to disable mouse events (m) and
1728 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
1730 * configure.in: Update required versions of ATK, GTK+ and GAIL
1732 * cspi-1.0.pc.in: Add dependency for X include files
1735 * cspi/bonobo/Makefile.am:
1736 Add $(X_CFLAGS) so that X include files
1737 are picked up even if not in standard place (bug #71686)
1739 2002-06-25 Bill Haneman <bill.haneman@sun.com>
1741 * registryd/deviceeventcontroller.c: fix for 84261
1742 (spi_dec_mouse_moved):
1743 Added test of mouse button mask, so that we can detect mouse
1744 button release. Unfortunately we can't otherwise detect mouse
1745 button release events without consuming the mouse press event,
1746 because of the way XGrabButton works. This means that our mouse
1747 release events have a latency dependent on the polling period
1748 while the mouse button is down. At least in this case we only
1749 have to poll while the button is down, and not at other times.
1750 If the button masks don't match with what the last press event
1751 reported, we report the appropriate button release event.
1752 (spi_dec_ungrab_mouse):
1753 New method (not yet called).
1754 (spi_device_event_controller_forward_mouse_event):
1755 New method, sends mouse press event from GdkFilter.
1756 (spi_dec_init_mouse_listener):
1757 Added code to call XGrabButton, redirecting mouse button events to
1758 the root window and our Gdk event loop.
1760 Added code to filter mouse button events, and reordered.
1762 * test/event-listener-test.c:
1764 Added registration for mouse events of type "mouse:button".
1766 2002-06-25 Bill Haneman <bill.haneman@sun.com>
1768 * registryd/deviceeventcontroller.c: partial fix for 84261
1769 (spi_dec_poll_mouse_idle):
1770 New method, a timeout which checks to see if the mouse
1772 (spi_dec_poll_mouse_moving):
1773 A timeout to be called when mouse motion is underway.
1774 (spi_dec_poll_mouse_moved):
1775 A method which fires an event if the mouse has moved, and reports
1776 whether or not it did so.
1777 (spi_dec_init_mouse_listener):
1778 A method which sets up the timeouts above.
1779 (spi_device_event_controller_new):
1780 Now calls spi_dec_init_mouse_listener.
1782 * registryd/registry.c:
1783 (spi_registry_init):
1784 Now we initialize the device event controller when the registry is
1785 initialized, instead of waiting until a client has requested a key
1786 event notification; this is because we need the event controller
1787 for mouse events, but the mouse event registration API is a
1788 "registry" call and doesn't explicitly call the
1789 deviceeventcontroller.
1790 We now report mouse motion events with a 100 ms idle latency and
1791 a 20 ms granularity when motion is in progress.
1793 * test/event-listener-test.c:
1795 We now register the "detail listener" for events of type
1796 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
1797 delivered only for the first mouse event received, and thereafter
1798 "mouse:abs" events are delivered.)
1800 * cspi/spi_registry.c:
1801 DOCS: Documented the above mouse event typestrings.
1803 2002-06-21 Bill Haneman <bill.haneman@sun.com>
1805 Happy Summer Solstice...
1807 * registryd/deviceeventcontroller.c: [fix for bug 84100]
1808 (spi_controller_notify_keylisteners):
1809 Changes to remove a listener from the listener list, freeing its
1810 open keygrabs, if a notification to that listener fails. This
1811 means that although a dead listener can continue to hold a passive
1812 keygrab, a maximum of one dispatch to such a listener can fail
1813 before the listener is removed from the list, thus the keygrab
1814 will be released on the next occurrence.
1815 As part of this fix:
1816 (spi_notify_keylisteners):
1817 Renamed to spi_controller_notify_keylisteners, as the controller
1818 instance must now be passed as an argument.
1819 The copied 'notify' GList is now a list of DEControllerKeyListener
1820 objects, since we need more than just the CORBA reference if a
1821 notify fails and we need to deregister the listener.
1822 (impl_notify_listeners_sync):
1823 (impl_notify_listeners_async):
1824 (spi_device_event_controller_forward_key_event):
1825 Modify use of notify_keylisteners in accordance with above
1827 (spi_deregister_controller_key_listener):
1828 New method introduced by refactoring, from
1829 impl_deregister_keystroke_listener.
1830 (impl_deregister_keystroke_listener):
1831 Call spi_deregister_controller_key_listener.
1832 (spi_key_listener_clone):
1833 New method to copy a key listner without doing a 'ref' on the
1834 remote object instance; used to create a notifier list.
1835 (spi_key_listener_data_free):
1836 New method, frees data without unreffing the source.
1838 (spi_key_listener_clone_free): new method.
1839 (spi_key_listener_free):
1840 refactored to call spi_key_listener_data_free.
1842 2002-06-20 Bill Haneman <bill.haneman@sun.com>
1844 * registryd/registry.c: [fix for bug 86048]
1845 (notify_listeners_cb):
1846 Clear CORBA system exceptions which occur when notifying
1847 listeners, before returning to the source of the original event,
1848 since the event source doesn't care if the relayed notify failed.
1849 In other words, don't complain to the atk-bridge if the registry
1850 could not notify all its listeners, that's no fault of the
1851 application and thus should not appear to be an error from the
1852 application's perspective.
1854 * cspi/spi_main.c: [fix for bug 85980]
1856 Replaced use of bonobo_object_dup_ref with call to the wrapper
1857 method, csou_dup_ref (); this silences a compiler warning and
1858 provided more portability.
1860 Ping the registry before return, and restart if necessary.
1862 * cspi/bonobo/cspi-bonobo.c:
1864 New internal method.
1866 Fixed this method to return an object reference, as it should have
1869 * cspi/cspi-lowlevel.h:
1870 Added internal definition for cspi_ping() and fixed
1871 return type of cspi_dup_ref().
1874 2002-06-19 Bill Haneman <bill.haneman@sun.com>
1876 * atk-bridge/bridge.c: [fix for bug 85305]
1877 (spi_atk_bridge_register_application):
1878 New method where the initial application registry calls have been
1879 moved; it allows an application to re-register in response to
1880 certain error conditions (such as a registry restart, see below).
1882 Moved some initialization code to the method
1883 spi_atk_bridge_get_registry, below.
1884 (spi_atk_bridge_get_registry):
1885 New, private accessor function for the Accessibility_Registry
1886 instance. If the registry has not been started before, or has
1887 died (as detected by failure of a CORBA exception), it is
1888 restarted before return, and spi_atk_bridge_register_application
1889 is called again to register with the new bridge instance.
1890 (spi_atk_emit_eventv):
1891 Set registry_died on error; use spi_atk_bridge_get_registry () to
1892 access the registry.
1894 * registryd/registry.c:
1895 (impl_accessibility_registry_register_global_event_listener):
1896 Set listener's event_type_quark to etype.minor instead of
1897 etype.major (fix for bug 84856).
1899 * test/event-listener-test.c:
1900 (report_detail_event):
1901 Change the output string so that user/tester can tell that the
1902 'detail listener' was called instead of the 'generic listener'.
1904 2002-06-18 Bill Haneman <bill.haneman@sun.com>
1906 Fixes for bugs 84900, 84908, 84897, 84898.
1911 Revved version to 1.1.0
1912 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
1913 version is going to HEAD which will be used for gnome-2-0-1 and later.)
1915 * idl/Accessibility_Registry.idl:
1916 (EventListener::notifyEvent):
1917 Removed 'oneway' directive after extensive consulation with
1918 ORBit2 team and others. This means also that unref() of the event
1919 source can and should be done synchronously after emission, rather
1920 than remotely in the client, after servicing the notify call on
1923 NOTE: This change speeds up listener performance considerably, but
1924 introduces new latency on the application side. We may want to
1925 add an event queue to the atk-bridge.
1927 * atk-bridge/bridge.c:
1928 (spi_atk_bridge_focus_tracker):
1929 Do a local unref() on the event source after emission.
1931 * registryd/registry.c:
1932 (desktop_remove_application):
1933 Do an unref() on the event source after emission.
1934 (desktop_add_application):
1935 Do an unref() on the event source after emission.
1936 (notify_listeners_cb):
1937 When relaying an event, don't automatically add the event source
1938 to the local object cache, just CORBA_dup it instead. Likewise,
1939 if this method reenters, release the ref rather than calling
1941 (impl_registry_notify_event):
1942 No longer call remote unref() on the event source after dispatch.
1944 * libspi/eventlistener.c:
1945 (impl_accessible_event_notify_event):
1946 Removed remote unref ()
1948 * cspi/bonobo/cspi-bonobo-listener.c:
1950 We now call cspi_object_new() instead of cspi_object_add() on
1951 receipt of an event; thus we only have an implicit object ref
1952 while the cspi_event method is being executed. If we need to keep
1953 a reference to the object, the listener must call ref() on the
1954 object. Thus also we don't need to call cspi_object_unref() after
1955 invoking the listener callbacks in this method.
1959 New internal API for creating a new cspi object, without adding it
1960 to the object cache.
1962 Now uses cspi_object_new() to create the cspi object instance.
1964 Now checks to see if the object is in the internal object cache,
1965 and adds it if necessary before incrementing its refcount (note
1966 that new objects are added with a refcount of 1).
1967 (report_leaked_ref):
1968 New method which gives some information on leaked object instances
1969 if leak detection is turned on.
1971 * test/event-listener-test.c:
1972 (timing_test_event):
1973 New method, used for testing event delivery timing for special
1974 events of type "object:test". It reports elapsed time and
1975 events/sec every 500 events.
1977 Added a new listener, 'test listener', to check timing of event
1978 receipt as noted above.
1980 Added some timing output here also, reports elapsed time every 100
1983 * test/stress-test.c:
1984 Emit events of type "object:test", for use with "event-listener-test".
1986 * test/test-simple.c:
1987 (global_listener_cb):
1988 Call Accessible_ref() on the event source before calling
1989 validate_accessible, since the validation process does pointer
1990 comparisons on the event source, meaning that the event source
1991 needs to be added to the local object cache first. Any use of
1992 such pointer comparisons between Accessible objects requires that
1993 the caller hold an explicit reference to those objects.
1994 We also must therefore call Accessible_unref() when leaving this method.
1996 2002-06-13 Bill Haneman <bill.haneman@sun.com>
1998 * registryd/deviceeventcontroller.c:
1999 (spi_controller_update_key_grabs):
2000 Fix for #84735, subsequent keygrab listeners not informed of
2001 registration failure.
2004 (spi_base_construct):
2005 Add an assertion on construct, to make sure the GObject passed in
2006 is really a GObject.
2008 Explicitly initialize object->gobj pointer to NULL;
2010 * cspi/bonobo/cspi-bonobo-listener.c:
2011 (cspi_object_add_ref):
2012 New method, can specify whether to dup-ref a bonobo object passed
2013 in if it's newly added to the object cache.
2015 Now calls cspi_object_add_ref with second param of "FALSE". This
2016 prevents us from doing a pointless dup-ref followed by
2017 release-unref for all those cases where the object is already in
2018 our object cache (fix for #85205).
2020 * atk-bridge/bridge.c:
2021 (spi_atk_bridge_idle_init):
2022 Removed this method, we don't need to initialize in an idle
2025 Changed to call spi_atk_register_event_listeners directly, not via an
2026 idle handler. (fix for #81139)
2027 (gnome_accessibility_module_shutdown):
2028 Removed conditional around deregistration of listeners, since we
2029 don't use the idle handler and thus have always registered when
2031 (spi_init_keystroke_from_atk_key_event):
2032 Changed references to Accessibility_KEY_PRESSED to
2033 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
2035 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2037 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
2042 * test/stress-test.c:
2045 (may have been an incomplete commit yesterday?)
2047 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2050 Added target for new stress-test.
2052 * test/stress-test.c:
2053 New test, sends 1000 focus notifies in quick succession.
2055 * test/key-listener-test.c:
2056 Now we report whether a keylistener registration
2057 request succeeded or failed.
2059 * test/event-listener-test.c:
2060 Uncommented some listeners which are now implemented.
2063 2002-06-06 Bill Haneman <bill.haneman@sun.com>
2065 * registryd/deviceeventcontroller.c:
2066 (spi_controller_update_key_grabs):
2067 Fix for #82509, lack of failure notification when
2068 ALL_WINDOWS keygrabs fail due to XGrabKey
2069 failure: we synchronize the server when
2070 registering a passive grab, to make sure we get the
2071 error message before the call returns.
2073 2002-06-03 Bill Haneman <bill.haneman@sun.com>
2075 * test/test-simple.c:
2077 Removed #ifdef KEY_IMPL_WORKS guards.
2078 (test_keylisteners):
2079 Removed #ifdef KEY_IMPL_WORKS guards.
2080 Fixed bug which was causing a hang waiting for a
2081 "press" event (which was already overwritten by a "release"
2082 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
2084 Added code to set globals 'key_press_received' and
2085 'key_release_received'.
2088 Added section "1.1 API Proposed Additions" which
2089 lists API additions desired for at-spi-1.1 (only one so far).
2090 Updated TODO list a little.
2092 2002-06-02 Bill Haneman <bill.haneman@sun.com>
2094 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
2097 * configure.in: Revved to 1.0.0.
2099 * idl/Accessibility_Registry.idl:
2100 (registerKeystrokeListener):
2101 Added boolean return value.
2103 * registryd/registry.c:
2104 (notify_listeners_cb): Minor fix to debug output.
2106 * registryd/Accessibility_Registry.server.in.in:
2107 Revved version number in OAFIID to 1.0.
2109 * registryd/registryd.c:
2111 Use new OAFIID version.
2113 * cspi/bonobo/cspi-bonobo.c:
2115 Use new OAFIID version.
2121 * atk-bridge/bridge.c:
2123 Use new OAFIID version.
2125 * registryd/deviceeventcontroller.c:
2126 (impl_register_keystroke_listener):
2127 Added CORBA_boolean return value.
2128 (spi_controller_register_device_listener):
2129 Added gboolean return value.
2130 (spi_controller_register_global_keygrabs):
2131 Added gboolean return value.
2132 (spi_key_set_contains_key):
2133 Added implementation for many more control keys,
2134 for instance F1-F12, arrow keys, End, Home, Page_Up,
2136 [TODO: some still not implemented].
2138 * text/screen-review-test.c:
2139 (text_chunk_pad_string):
2140 New function: it provides mapping between coordinate
2141 positions of text chunks and character positions in the
2142 screen-review-line output string.
2143 (text_chunk_to_string):
2144 New function, calls text_chunk_pad_string with various
2145 pad/delimiter characters. Pushbuttons are delimited with
2146 square brackets, Frames with vertical 'pipe' lines, and
2147 other text with double quotes.
2148 (text_chunk_list_to_string):
2149 Calls new function text_chunk_to_string.
2150 (toplevel_composite):
2151 New function to composite layers CANVAS through
2152 POPUP in each toplevel (other layers are composited
2153 across toplevels, i.e. BACKGROUND and OVERLAY).
2154 (review_buffer_composite):
2155 Revise to use new methods.
2161 2002-05-31 Laszlo Peter <laca@sun.com>
2163 * configure.in: add the Xtst libdir to the runpath on Solaris,
2164 since it's not in the default library search path.
2166 2002-05-29 jacob berkman <jacob@ximian.com>
2168 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
2170 2002-05-29 Bill Haneman <bill.haneman@sun.com>
2172 * test/screen-review-test.c:
2173 (text_chunk_pad_string):
2174 Added method, which pads the string according to the
2175 text bounds of the chunk. It also takes a 3-character
2176 string as a param which indicates the characters to be
2177 used for start, padding, and end delimitation of the chunk.
2178 (text_chunk_to_string):
2179 Changed to use text_chunk_pad_string.
2181 * configure.in: Fixed bug in AC_OUTPUT that was
2182 causing path substitution in Accessibility_Registry.server
2185 2002-05-23 Bill Haneman <bill.haneman@sun.com>
2187 * text/screen-review-test.c:
2188 (guess_string_clip):
2189 New method which attempts a best-guess at clipping
2190 text from components (like Java labels) which don't
2191 actually implement AccessibleText. This inaccurate
2192 clip is based on the assumption that the label is
2193 justified left-and-right, and monospaced.
2194 (text_chunk_get_clipped_string):
2195 We now call guess_string_clip() for text-containing
2196 components that don't implement AccessibleText.
2198 * test/screen-review-test.c:
2199 (review_buffer_get_text_chunk):
2200 We now pull "name" from labels if they do not implement
2201 AccessibleText (i.e. for Java labels).
2202 (get_screen_review_line_at):
2203 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
2206 Replaceded AC_OUTPUT target
2207 registryd/Accessibility_Registry.server with
2208 registryd/Accessibility_Registry.server.in.
2210 * registryd/Accessibility_Registry.server.in:
2211 Removed (this is now a Makefile target).
2213 * registryd/Accessibility_Registry.server.in.in:
2214 Added (source for target above). We now use $(libexecdir) as
2215 prefix for the executable at-spi-registryd.
2217 * registry/Makefile.am:
2218 Now install at-spi-registryd into $(libexecdir), and build .server
2219 file with path (see above).
2221 2002-05-22 Bill Haneman <bill.haneman@sun.com>
2223 * test/screen-review-test.c:
2224 (text_chunk_get_clipped_string):
2225 We now check to see if words fall within clip bounds
2226 before resorting to character-by-character clip bounds testing.
2228 * TODO: Added a section for "2.2 Proposed API Additions".
2230 2002-05-21 Bill Haneman <bill.haneman@sun.com>
2232 * test/screen-review-test.c:
2234 Added a screen review benchmarking and test program to test
2237 * cspi/spi_accessible.c:
2239 Made some of the debug strings passed to cspi_check_ev a
2240 little more specific.
2242 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
2244 * test/screen-review-test.c: Fix crashes in debug statements
2246 2002-05-20 Bill Haneman <bill.haneman@sun.com>
2248 * test/screen-review-test.c: Added this file.
2250 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2252 * atk-bridge/bridge.c: changed "object:state-change" to
2253 "object:state-changed" to match docs.
2255 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2257 * atk-bridge/bridge.c: Hooked up state-change event details.
2259 2002-05-11 Bill Haneman <bill.haneman@sun.com>
2261 * registryd/registry.c:
2262 Fixed quarking bug in event string parsing; now events with
2263 detail parameters get matched correctly to listeners.
2266 * util/idl/Magnifier.idl: remove.
2268 * util/*.[ch]: Remove.
2269 Magnification utilities and IDL are now in module gnome-mag.
2271 2002-05-10 Bill Haneman <bill.haneman@sun.com>
2273 * registryd/deviceeventcontroller.c:
2274 Fixed bug in grab key conversion which was causing keycode grabs
2275 to be converted to AnyKey grabs.
2278 updated NEWS file to reflect recent spin-off of gnome-mag.
2280 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
2282 * cspi/spi_accessible.c: Added exception checks. Fixed completely
2283 busted AccessibleStateSet_compare. Removed redundant casts.
2285 * cspi/spi-action.c: Removed redundant casts.
2287 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
2289 * cspi/spi_component.c: Fixed typos and casting error.
2291 * cspi/spi_editabletext.c: Removed redundant casts.
2293 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
2295 * cspi/spi_hypertext.c: Eliminated redundant casts.
2297 * cspi/spi_image.c: Eliminated redundant casts.
2299 * cspi/spi_registry.c: Eliminated redundant casts.
2300 SPI_deregisterGlobalEventListenerAll () removed retval variable.
2301 * cspi/spi_selection.c: Removed redundant casts.
2302 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
2303 handling. Screen geometry and text offsets were being returned as 0
2304 on error which is technically valid-- changed these to return -1.
2305 Added marshaller for text boundary types to fix bug with boundary
2306 types being passed incorrectly to atk.
2308 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2311 * cspi/spi_registry.c:
2312 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
2313 which was uncovered by the recent key changes.
2315 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2317 * test/event-listener-test.c:
2319 Added new test, "event-listener-test";
2320 this code does two things; it benchmarks traversal time
2321 for the accessible hierarchy for the first running accessible
2322 app, and it connects listeners for all supported event types.
2323 It is thus useful as an example event listener and for
2324 diagnostics/debugging of event generation.
2326 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2329 Removed unnecessary dependency on libutil.
2332 Revved micro version: 0.13.1
2334 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2337 Removed util/Makefile from targets.
2340 Removed util subdir from SUBDIRS (temporarily,
2341 pending removal of magnifier-only code
2345 #ifdef-ed out magnifier dependencies, since
2346 magnifier IDL, headers, and binary now live in
2347 module gnome-mag and we don't want at-spi to depend
2348 on gnome-mag. A magnifier demo which can run alongside
2349 simple-at is forthcoming in the gnome-mag module.
2351 NOTE: Split magnifier binary, IDL, and magnification
2352 activation code from at-spi into module gnome-mag.
2354 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
2356 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
2357 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
2359 2002-05-03 Bill Haneman <bill.haneman@sun.com>
2362 Revved to version 0.13.0
2364 * idl/Accessibility_Registry.idl:
2365 Changed definition of KeySet from sequence of longs to sequence of
2366 KeyDefinitions, and added KeyDefinition struct.
2367 Required for fix to bug 80616.
2369 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
2370 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
2371 to use new definition (see above).
2373 * registryd/deviceeventcontroller.c: handle_keygrab(),
2374 spi_keyset_contains_key():
2375 Changed to make use of new struct; this allows matching based on
2376 string key-name, for instance "Tab". This also allows matching of
2377 composed characters, non-alphanumeric characters in a way that
2378 doesn't involve dependencies on X keysym codes directly, etc.
2380 * test/key-listener-test.c:
2381 Added test for Alt-Tab key using "string" specification of keyset,
2382 and modified one of the tests to use a keycode-based keyset.
2383 Thus this test both tests and demonstrates the creation and use of
2384 keysets of three forms: specified via keycode array,
2385 keysym array, and string array. (The string case only contains a
2386 single string, i.e. a string array of length 1).
2389 Turned on PRINT_TREE option by default. Also fixed a
2390 string-freeing bug in the PRINT_TREE code.
2391 Added a listener to window:minimize events.
2393 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
2395 * atk-bridge/bridge.c:
2396 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
2397 for window:activate and window:deactiveate
2398 (atk_bridge_property_event_listener atk_bridge_signal_listener
2399 atk_bridge_window_event_listener) Tidy debug code
2401 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
2403 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
2404 Fixed handling for NULL return value from ATK.
2406 * libspi/action.c libspi/component.c libspi/editabletext.
2407 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
2408 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
2409 Removed redundant casts.
2411 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
2412 Fixed off by one bug.
2414 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
2415 function not present in idl)
2417 2002-05-02 jacob berkman <jacob@ximian.com>
2419 * atk-bridge/Makefile.am: make atk-bridge a real module
2421 2002-04-26 Radek Doulik <rodo@ximian.com>
2423 * libspi/stateset.c (spi_init_state_type_tables): fix size of
2424 atk_state_types table
2426 2002-04-22 jacob berkman <jacob@ximian.com>
2429 * libspi/Makefile.am: add deps on the built files to help
2430 automake, and don't version the ORBit typelib
2432 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
2434 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
2435 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
2436 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
2437 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
2438 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
2439 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
2440 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
2441 libspi/accessible.h libspi/accessible.h libspi/base.h
2442 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
2443 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
2444 libspi/relation.h libspi/remoteobject.h libspi/selection.h
2445 libspi/spi-private.h libspi/statetset.h libspi/table.h
2446 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
2447 util/mag_client.h util/mag_control.c util/mag_image.c
2448 util/mag_image.h util/magnifier.c util/magnifier.h:
2449 Add missing file headers; standardize existing ones
2451 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
2453 * atk-bridge/bridge.c: Added window event support.
2455 2002-04-18 Michael Meeks <michael@ximian.com>
2457 * libspi/relation.c (impl_getNTargets): impl.
2458 (impl_getTarget): impl.
2460 * libspi/Makefile.am: fix stateset install.
2462 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2465 Started putting useful info in this file.
2467 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
2469 * atk-bridge/bridge.c:
2470 Propagate state-changed notifications to ATs
2472 * cspi/spi_registry.c: update docs to reflect actual behavior of
2473 state-change events.
2475 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2478 Incremented version to 0.12.1
2480 * util/mag_client.h:
2481 Add missing declaration for magnifier_exit,
2482 used by mag_control.c - Forte compiler didn't like
2483 the implicit redeclaration of the function :-(
2486 2002-04-16 Bill Haneman <bill.haneman@sun.com>
2489 Revved version to 0.12 due to API change (see below).
2491 * cspi/spi-roletypes.h:
2492 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
2493 definition from the inline docs, and added docs
2494 for SPI_ROLE_LAST_DEFINED.
2497 * cspi/spi_streamablecontent.c:
2498 Added missing seek_type parameter to
2499 (so far unused) method,
2500 AccessibleStreamableContent_seek().
2501 [ RT approval JodyG. ]
2504 Fixed docs for SPI_createAccessibleKeystrokeListener.
2506 * cspi/spi_registry.c:
2507 Fixed docs for SPI_KEYSET_ALL_KEYS.
2509 * docs/reference/cspi/at-spi-cspi-sections.txt:
2510 Added a number of missing APIs to SECTIONS.
2512 2002-04-16 Bill Haneman <bill.haneman@sun.com>
2514 * registryd/Makefile.am:
2516 * cspi/bonobo/Makefile.am:
2517 Add $(X_LIBS) to makefiles.
2519 2002-04-15 Bill Haneman <bill.haneman@sun.com>
2522 Revved version to 0.11.
2524 * libspi/component.c:
2525 Added implementation for grabFocus.
2527 * idl/Accessibility_Component.idl
2528 (Accessibility_Component_grabFocus):
2529 Made this method return boolean to indicate success or failure, to
2530 be consistent with cspi and the corresponding ATK method.
2532 * idl/Accessibility_Selection.idl
2533 (Accessibility_Selection_selectAll) :
2534 Made these methods return boolean to indicate success or
2535 failure, to be consistent with cspi and the corresponding ATK methods.
2537 * idl/Accessibility_EditableText.idl
2538 (Accessibility_EditableText_setTextContents,
2539 Accessibility_EditableText_insertText,
2540 Accessibility_EditableText_cutText,
2541 Accessibility_EditableText_deleteText,
2542 Accessibility_EditableText_pasteText):
2543 Made these methods return boolean to indicate
2546 * cspi/spi_editabletext.c:
2547 Made these methods return booleans.
2549 * libspi/selection.c:
2550 * libspi/component.c:
2551 * libspi/editabletext.c:
2552 Connected the boolean returns from ATK
2553 to the server-side code referenced above.
2555 2002-04-14 Bill Haneman <bill.haneman@sun.com>
2557 * idl/Accessibility_Table.idl: Added missing methods,
2558 Accessibility_Table_addRowSelection,
2559 Accessibility_Table_addColumnSelection,
2560 Accessibility_Table_removeRowSelection,
2561 Accessibility_Table_removeColumnSelection.
2564 Added C wrappers for above IDL:
2565 AccessibleTable_addRowSelection,
2566 AccessibleTable_addColumnSelection,
2567 AccessibleTable_removeRowSelection,
2568 AccessibleTable_removeColumnSelection.
2571 Added server-side implementation code for IDL above, connecting
2572 to pre-existing ATK api.
2574 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
2576 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
2578 * libspi/accessible.c: Added implementation fo
2579 Accessibility_Accessible_get_state.
2581 * libspi/libspi.h: Added stateset.h to the list of includes.
2583 * libspi/stateset.c: Fixed broken implementation.
2585 2002-04-13 Bill Haneman <bill.haneman@sun.com>
2588 Added implementation code for Accessibility_Magnifier_exit ().
2590 * util/mag_control.c:
2591 Added test code for above method; you can
2592 now kill an existing magnifier via
2593 ./mag_control q, from the util directory.
2595 * test/key-listener-test.c:
2597 Added a new test, for our key listener API.
2599 2002-04-11 Bill Haneman <bill.haneman@sun.com>
2601 * test/app.c, test/keysynth-demo.c:
2603 Replace use of snprintf with g_snprintf.
2604 (fix for bugzilla 78249)
2606 2002-03-27 Michael Meeks <michael@ximian.com>
2610 * util/Makefile.am (INCLUDES): fix.
2611 (DONT_DIST_SOURCE): don't distribute the
2614 * libspi/Makefile.am (dist-hook): ditto.
2616 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
2618 * libspi/hypertext.c:
2619 Fix warnings when yelp is used with atk-bridge
2621 2002-03-21 Michael Meeks <michael@ximian.com>
2623 * libspi/application.c (spi_application_new):
2624 use spi_accessible_construct so we use the AtkObject
2627 2002-03-19 Michael Meeks <michael@ximian.com>
2629 * registryd/registry.c (desktop_remove_application),
2630 (desktop_add_application): clean coding style.
2632 * registryd/desktop.c (spi_desktop_remove_application),
2633 (spi_desktop_add_application): kill re-enterency hazards.
2634 (spi_desktop_dispose): remove bogus redundant cast
2635 obscuring bug; fix bug too.
2636 (spi_desktop_init): make the desktop object immortal.
2638 2002-03-16 Bill Haneman <bill.haneman@sun.com>
2641 Added a #define-guarded tree-traversal step
2642 when enumerating the apps (diagnostic tool).
2644 2002-03-15 Bill Haneman <bill.haneman@sun.com>
2646 * idl/Accessibility_Role.idl:
2647 Added ROLE_DRAWING_AREA which seemed to be missing from the
2650 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2652 * cspi/spi-roletypes.h cspi/spi_accessible.c
2653 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
2656 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
2657 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
2658 AT when applications are added and removed from the desktop. This
2659 reverts the previous broken implementation using the backing
2660 AtkObject for the SpiDesktop.
2662 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2664 * registryd/desktop.c: emit the "children-changed::add" and
2665 "children-changed::remove" signals on the backing ATK object for
2666 the desktop so AT can tell when applications are started and shut
2669 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2671 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
2673 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2675 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
2677 * cspi/spi_accessible.c: Implemented c bindings for stateset support
2679 * cspi/state-types.h: synched with IDL and ATK
2681 2002-03-13 Bill Haneman <bill.haneman@sun.com>
2683 * libspi/accessible.c
2684 (impl_accessibility_accessible_get_child_at_index):
2685 Change return value for g_return_if_fail ()
2686 to CORBA_OBJECT_NIL instead of "0" (!)
2688 * registryd/Makefile.am:
2689 * registryd/Accessibility_Register.server.in:
2690 Changed name of executable, "registryd",
2691 to something more informative:
2694 2002-03-13 Michael Meeks <michael@ximian.com>
2696 * atk-bridge/bridge.c (atk_bridge_init): don't register
2697 if we're in a bonobo-component, rather than a bonobo app.
2699 2002-03-13 Michael Meeks <michael@ximian.com>
2701 * atk-bridge/bridge.c (gtk_module_init): split
2702 out body to (atk_bridge_init): here, since otherwise
2703 we get symbol conflicts and oddness when invoked
2704 from (gnome_accessibility_module_init): here (upd.)
2706 2002-03-11 Bill Haneman <bill.haneman@sun.com>
2709 New file. Explicitly allow "build sheriff" putbacks provided
2710 they are tested on Solaris.
2712 * docs/reference/cspi/Makefile.am:
2713 Added '-' to the "cp" command for index.sgml.
2714 ("patch by thomasvs, soon coming to a GUADEC near you")
2717 Incremented version number (0.9.0) for new release.
2718 Changed macro that checks for popt, to better detect
2719 obsolete versions of popt.
2722 Added X_LIBS to AC_SUBST, for applications
2723 that call Xlib API directly.
2726 2002-03-07 Bill Haneman <bill.haneman@sun.com>
2729 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
2732 Fix regression caused by hard-coding major
2733 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
2736 * test/test-simple.c (test_editable_text),
2737 (test_test): revert previous change (error was
2738 a regression in gail which is now fixed).
2740 2002-03-04 Michael Meeks <michael@ximian.com>
2742 * test/test-simple.c (test_editable_text),
2743 (test_text): pass G_MAXINT instead of '-1' for
2744 whole string - is this a good thing !?
2746 * cspi/spi_accessible.c
2747 (Accessible_getRelationSet): fix crasher bug
2748 overwriting the end of the array.
2750 * test/test-simple.c (validate_accessible): free,
2751 not g_free returned relation set.
2753 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
2755 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
2756 implemented stateset support
2758 * idl/Accessibility_State.idl: Made necessary changes to
2759 the IDL to support state sets.
2761 2002-02-12 Bill Haneman <bill.haneman@sun.com>
2763 * registryd/deviceeventcontroller.c:
2764 Added implementation for generateMouseEvent.
2766 * cspi/spi_registry.c:
2767 Connected new implementation for generateMouseEvent
2770 2002-02-12 Bill Haneman <bill.haneman@sun.com>
2773 Incremented revision (but no change in public API
2774 outside of 'utils', which are not installed public yet.)
2776 * libspi/component.c:
2777 Changed to use atk_component API for layers and
2778 mdi_zorder, instead of deprecated atk_object API.
2780 Magnification Utility Enhancements:
2783 Added implementation of createZoomRegion, clearAllZoomRegions,
2784 resizeZoomRegion. Added new commandline argument
2785 "--no-initial-region". Note that clearAllZoomRegions doesn't
2786 unmap the old '0' region as it should (yet), and the other
2787 methods only work when creating/resizing a single region,
2788 which is "region 0".
2789 (Code for multiple region support will be added later.)
2792 Now we raise the magnifier window each time it's refreshed;
2793 this will help keep it on top.
2795 * util/mag_client.h:
2796 Added simple wrappers for above, used by mag_control.
2797 For general use, it's recommended to use the bonobo magnifier
2798 control API directly instead of using these wrappers.
2801 Moved ZoomRegionData from magnifier.c to this file.
2803 * util/mag_control.c:
2804 Added some code to exercise new IDL implementations.
2806 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
2808 * libspi/text.c: Provide implementation for getAttributes.
2810 2002-02-04 Bill Haneman <bill.haneman@sun.com>
2813 Incremented revision.
2815 * test/test-simple.c:
2816 Replaced use of deprecated g_main_iteration with
2817 g_main_context_iteration.
2819 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
2822 Incremented revision for desktop alpha 2.
2824 2002-01-28 Mark McLoughlin <mark@skynet.ie>
2826 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
2829 * test/simple-at.c: include netinet/in.h.
2831 2002-01-24 Mark McLoughlin <mark@skynet.ie>
2833 * cspi/spi_accessible.c: (Accessible_getRelationSet):
2834 use NULL, not CORBA_OBJECT_NIL.
2836 * libspi/accessible.c:
2837 (impl_accessibility_accessible_get_relation_set):
2838 allocate the sequence correctly.
2840 * libspi/remoteobject.h: kill spi_remote_object_new.
2842 * test/test-simple.c: (validate_accessible): add code
2843 to test relation sets, now all we need is to figure
2844 out how to excercise this code path :/
2846 2002-01-18 Michael Meeks <michael@ximian.com>
2848 * test/test-simple.c
2849 (key_listener_cb): consume the key.
2850 (test_keylisteners): update.
2851 (main): wait for any pending unrefs on events.
2853 * registryd/deviceeventcontroller.c
2854 (spi_controller_update_key_grabs): only re-issue the
2855 grab on a key release.
2856 (spi_device_event_controller_forward_key_event):
2857 refresh the keygrabs before we notify the listeners,
2858 to reduce the X ungrab / re-grab race.
2859 (spi_controller_register_with_devices): remove
2860 XSelectInput - we do that with the gdk_window_ call.
2861 (_spi_controller_device_error_handler): return a value.
2862 s/GDK_DISPLAY/spi_get_display/
2864 2002-01-17 Michael Meeks <michael@ximian.com>
2866 * registryd/deviceeventcontroller.c
2867 (_deregister_keygrab): don't blow out the later
2870 * test/test-simple.c (test_keylisteners): do a
2871 more intelligent validation.
2873 2002-01-14 Michael Meeks <michael@ximian.com>
2875 * atk-bridge/bridge.c
2876 (gnome_accessibility_module_init),
2877 (gnome_accessibility_module_shutdown): impl.
2878 (gtk_module_init): protect vs. double inits.
2879 (add_signal_listener): impl.
2880 (spi_atk_bridge_state_event_listener): kill
2881 (deregister_application): split out of
2882 (spi_atk_bridge_exit_func): here.
2884 2002-01-18 Bill Haneman <bill.haneman@sun.com>
2887 Added caret tracking when using magnifier, and
2888 now use text bounds for focus tracking of text elements, rather than
2889 the component bounds - this is helpful for short text fields in long
2890 table cells, at high magnification.
2892 2002-01-16 Bill Haneman <bill.haneman@sun.com>
2894 * registryd/deviceeventcontroller.c:
2895 Regression fix for keylistener de-registration; global keygrabs
2896 were not being released when deregisterKeystrokeListener was
2897 called in cspi, since
2898 Accessibility_DeviceEventController_deregisterKeystrokeListener
2899 was called with a zero-length keyset. That is because the cspi
2900 method, SPI_deregisterKeystrokeListener, does not take a keyset
2901 parameter but instead should remove all the key grabs held be a
2903 The code in impl_deregister_keystroke_listener was changed to copy
2904 the keylist from the listener instance previously registered with
2905 the DeviceEventController before releasing the grabs.
2907 * registryd/registry.c:
2908 * registryd/deviceeventcontroller.c:
2909 * libspi/spi-private.h:
2911 Changed spelling of "re-enterant" to "re-entrant" globally.
2913 2002-01-16 Bill Haneman <bill.haneman@sun.com>
2915 * test/test-simple.c:
2916 Changed key listeners test - the test was slightly mis-using the
2917 (admittedly poorly documented) SPI_generateKeyboardEvent API.
2918 It now uses '=' as the key event listened to and generated,
2919 relying on a keysym match rather than assuming that keycode 33
2920 is always equal to keysym '!'.
2922 2002-01-15 Bill Haneman <bill.haneman@sun.com>
2925 Changed simple-at to use a specific keyset, rather than
2926 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
2927 manager, desktop, etc.
2929 2002-01-11 Bill Haneman <bill.haneman@sun.com>
2931 * registryd/deviceeventcontroller.c:
2932 Replaced standard X error handler with a special handler that
2933 is non-fatal for failed keygrabs. This works around
2934 problems with keygrab clashes sometimes observed on
2936 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
2937 mouse handling code as yet).
2939 2002-01-11 Bill Haneman <bill.haneman@sun.com>
2942 Incremented revision for desktop alpha release.
2945 Fixed a couple of the more glaring errors (still not
2948 2002-01-11 Michael Meeks <michael@ximian.com>
2950 * registryd/deviceeventcontroller.c
2951 (spi_device_event_controller_forward_key_event): kill
2952 XUngrabKey / XKeyGrab race.
2953 (spi_controller_grab_keyboard): rename to
2954 (spi_controller_update_key_grabs): this, and deal
2955 with incremental adding / removing grabs more
2957 (_register_keygrab): ensure we're not pending a remove.
2958 (spi_grab_mask_free): impl.
2959 (spi_controller_register_global_keygrabs): split out
2961 (handle_keygrab): impl.
2962 (_deregister_keygrab): impl.
2963 (spi_controller_deregister_global_keygrabs): impl.
2964 (spi_controller_update_key_grabs): re-issue the grab if
2965 we just recieved a notification.
2967 * test/test-simple.c (key_listener_cb): remove debug.
2969 * registryd/deviceeventcontroller.c
2970 (spi_controller_register_device_listener): after
2971 registering a global keygrab, actualy register it !
2972 don't wait for a timeout; doh !
2974 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
2975 to make it more readable / manipulable.
2976 s/grabmask/grab_mask/ s/refcount/ref_count/
2977 s/keyval/key_val/ s/modmask/mod_mask
2979 2002-01-08 Michael Meeks <michael@ximian.com>
2981 * registryd/deviceeventcontroller.c
2982 (spi_controller_register_with_devices): use gdk calls to
2984 (global_filter_fn): implement the filter.
2985 (spi_device_event_controller_check_key_event): rename to
2986 (spi_device_event_controller_forward_key_event): this & upd.
2987 (spi_get_display): replace with GDK_DISPLAY.
2989 * registryd/deviceeventcontroller.c
2990 (spi_controller_deregister_device_listener): unroll into
2991 (impl_deregister_keystroke_listener): here to simplify.
2992 (spi_controller_register_global_keygrabs): split cut and
2993 paste (!) out into (_register_keygrab): here, shorter & sweeter.
2994 (spi_controller_deregister_device_listener): remove.
2995 (impl_register_mouse_listener): remove, no mouse listener
2996 support in at-spi-1.0
2998 * registryd/registry.c
2999 (_device_event_controller_hook): kill.
3000 (spi_registry_init): upd.
3002 * registryd/deviceeventcontroller.c
3003 (spi_device_event_controller_class_init): upd.
3004 (spi_check_key_event): merge into.
3005 (spi_device_event_controller_check_key_event):
3006 here and kill strange static ev init, don't leak
3007 the x_event - nor dynamicaly allocate it.
3009 * registryd/registry-main.c (main): re-direct
3010 timeout to remove strange vtable mess.
3012 * registryd/deviceeventcontroller.c
3013 (remove_listener_cb): impl.
3014 (spi_controller_deregister_device_listener):
3015 fix re-enterancy hazard.
3017 2002-01-07 Michael Meeks <michael@ximian.com>
3019 * registryd/deviceeventcontroller.c
3020 (spi_device_event_controller_new): upd.
3021 (impl_notify_listeners_sync): upd. debug.
3022 (spi_notify_keylisteners): fix re-enterancy hazards,
3023 prettify, remove O(n*n) iteration.
3024 (spi_controller_grab_keyboard): fix iteration.
3025 (spi_check_key_event): re-format to suit coding style.
3026 Clean all the warnings - we're warning free.
3028 * registryd/deviceeventcontroller.h:
3029 * registryd/registry.h: make mutualy referential with
3030 typesafe forward references instead of (!) void pointer
3033 2002-01-11 Michael Meeks <michael@ximian.com>
3035 * cspi/spi_accessible.c (role_names): add a role name
3036 to sync this array with the enum; and make the regression
3039 2002-01-10 Michael Meeks <michael@ximian.com>
3041 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
3042 allow expansion of enumeration & kill warning.
3044 * test/test-simple.c (key_listener_cb): impl.
3045 (test_keylisteners): impl.
3047 * cspi/spi-listener.h: make listener signatures const
3048 on the provided (const) events.
3050 * test/keysynth-demo.c: upd. to const events.
3052 * test/simple-at.c: ditto.
3054 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3057 Rev the version to 0.5 (the previous tarball was named 0.4,
3058 even though the micro number was 3), so we need to rev upwards
3059 again for beta2/"desktop-alpha"
3062 Checked in a demo script, which requires editing before use!
3063 Proceed with caution.
3066 Fixed typo in header which was redefining SPI_ACTION_CLASS.
3068 * cspi/spi_accessible.c:
3069 Add a couple of missing enum initializations, and fix some enum
3072 * cspi/spi_registry.c:
3073 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
3075 * docs/reference/cspi/at-spi-cspi-sections.txt:
3076 Remove/fix a couple of broken document references.
3079 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
3080 as Alt-Control to listen for commands, since on some systems
3081 Control-Alt may already be grabbed.
3083 2002-01-10 Bill Haneman <bill.haneman@sun.com>
3086 Update version number to 0.4 for Beta2.
3088 * libspi/accessible.c, libspi/accessible.h:
3089 Expose spi_accessible_construct, to enable libgail-gnome
3090 construction from spi_accessible subtype.
3092 * utils/magnifier.c:
3093 Workaround for bug in some non-gnome-compliant window managers
3094 which made magnifier resize improperly.
3096 2002-01-09 Bill Haneman <bill.haneman@sun.com>
3098 * libspi/accessible.c: (spi_accessible_new) :
3099 Move the test for SPI_IS_REMOTE_OBJECT to
3100 spi_accessible_new_return, fixing a bug and compile time warning.
3102 2002-01-08 Michael Meeks <michael@ximian.com>
3104 * registryd/registry.c (parse_event_type): remove strndup.
3106 * libspi/Makefile.am (libspi_la_SOURCES): remove
3107 sources already included in the headers section.
3109 * libspi/util.c: add.
3111 * libspi/spi-private.h: add.
3113 * registryd/registry.c: update to moved list iterators.
3115 2002-01-05 Michael Meeks <michael@ximian.com>
3117 * test/simple-at.c (main): upd. auto-module set to atk-bridge
3119 * test/test-simple.c (main): ditto.
3121 2002-01-04 Michael Meeks <michael@ximian.com>
3123 * libspi/accessible.c (spi_accessible_new): remove 2nd,
3124 redundant construct.
3126 * registryd/registry.c
3127 (get_listener_list): impl.
3128 (impl_accessibility_registry_register_global_event_listener):
3129 re-impl. to simplify using ~, remove dodgy const cast off.
3130 (parse_event_type): constify.
3131 (impl_accessibility_registry_deregister_global_event_listener_all):
3132 re-write, more efficiency and simplicity, kill re-enterancy
3134 (compare_listener_corbaref, compare_corba_objects),
3135 (compare_listener_quarks): define out.
3136 (impl_accessibility_registry_deregister_global_event_listener):
3137 re-write for effiency, and nail re-enterancy hazard.
3138 (impl_accessibility_registry_get_desktop_list): impl.
3139 (re_enterant_list_delete_link): impl.
3140 (re_enterant_list_foreach): impl.
3141 (remove_listener_cb): impl.
3142 (_registry_notify_listeners): kill.
3143 (notify_listeners_cb): impl.
3145 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
3146 (SPI_getDesktopList): impl.
3148 * test/test-simple.c (test_desktop): test the methods.
3150 2002-01-03 Michael Meeks <michael@ximian.com>
3152 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
3153 keystrings since we free them
3154 (SPI_freeAccessibleKeySet): in here.
3156 * libspi/accessible.c (spi_accessible_new): kill warning,
3157 wonder what is going on with the constructor here.
3159 2002-03-01 Bill Haneman <bill.haneman@sun.com>
3161 * libspi/accessible.c (spi_accessible_new ()) :
3162 Added check to see if AtkObject is an SpiRemoteObject before
3163 creating an SpiAccessible.
3165 2002-05-01 Bill Haneman <bill.haneman@sun.com>
3167 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
3168 Enable keygrabs using the Control modifier, now that they are
3169 working properly (they were previously disabled).
3172 Change the command keygrab for this demo to "Control+Alt", so as
3173 to conflict with fewer other key commands on the system; this
3174 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
3176 Removed a pointlessly-chatty keylistener for unshifted keys
3177 (shifted keys are still reported).
3179 2002-02-01 Bill Haneman <bill.haneman@sun.com>
3181 * libspi/remoteobject.h:
3182 * libspi/remoteobject.c:
3183 Added definitions for special AtkObject subtype, required for
3184 support of remote components (specifically, used by BonoboControl
3185 accessibility implementation).
3187 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
3189 * cspi/spi.h: synched relation types with ATK
3191 * cspi/spi_accessible.c: Added implementations of
3192 AcccessibleRelation_* methods
3194 * idl/Accessibility_Relation.idl: added getRelationTypeName
3195 method. Synched known relation types with ATK. Allowed for
3196 relation type extension with the RELATION_EXTENDED type.
3198 * libspi/relation.c: Provided implementations for
3199 AccessibleRelation methods.
3201 2002-01-01 Bill Haneman <bill.haneman@sun.com>
3203 API tweaks for today's API 'freeze'.
3206 Added placeholder functions to allow future compatible expansion
3207 of the IDL interfaces.
3209 * idl/Accessibility_Registry.idl:
3210 Changed generateKeyEvent to generateKeyboardEvent. Changed
3211 signature of this method to accept an optional keystring in
3212 parameter (for complex text input synthesis) and changed use of
3213 simple 'boolean' parameter in registerKeystrokeListener to a
3214 struct, EventListenerMode.
3216 * cspi/spi_accessible.c:
3218 * cspi/spi_streamablecontent.c:
3219 Added references to AccessibleStreamableContent interface, and
3220 definition and implementation of AccessibleStreamableContent
3223 * cspi/spi_registry.c:
3225 Changed generateKeyEvent API to generateKeyboardEvent,
3226 taking a new (optional) keystring parameter to support complex
3231 Renamed directory (to better reflect its actual purpose, bridging
3232 from at-spi to ATK). The .so module is also now named
3235 * idl/Accessibility_Hypertext.idl:
3236 * libspi/accessible.c:
3237 * libspi/hypertext.h:
3238 * libspi/hypertext.c:
3239 Changed Accessibility_Hypertext to *not* derive from
3242 * cspi/spi_registry.c:
3243 Added list of legal event type names for 'window' events, which
3244 completes the registry event API.
3246 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
3248 * at-bridge/bridge.c: Added registration for separate
3249 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
3250 signals. If either of the first two parameters to the generic
3251 bridge signal handler are ints, they are passed on as event
3252 details. This allows an AT to determine what text was inserted.
3254 2001-12-21 Bill Haneman <bill.haneman@sun.com>
3256 * registryd/deviceeventcontroller.c:
3257 Fixed regressions in generateKeyEvent caused by the removal of
3258 gdk_init from registryd; we now use pure X calls to connect to the
3259 display, which makes sense because deviceeventcontroller already
3260 uses a fair bit of X API (should eventually be migrated to a
3261 'portability layer').
3263 * registryd/desktop.c:
3264 Fixed minor regression in spi_desktop_init, changed the way the
3265 desktop name is being set to work with new spi_base API
3266 (gobject-based, rather than AtkObject-based).
3268 * registryd/Makefile.am:
3269 Minor revision of makefile to use XTST_LIBS variable rather than
3270 hard-wiring the Xtst LD_ADD element.
3272 * test/keysynth-demo.c:
3273 Tweaked an output message; added initialization of the
3274 'keystrings' member of the "switch listener" key_set.
3276 * libspi/relation.c:
3277 Squashed compile-time warning.
3279 * libspi/accessible.c:
3280 Cosmetic and formatting fixes, renamed a static method.
3282 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
3284 * libspi/accessible.c
3286 * libspi/application.c
3289 * libspi/component.c
3290 * libspi/editabletext.c
3291 * libspi/hyperlink.c
3292 * libspi/hypertext.c
3294 * libspi/selection.c
3298 * registryd/desktop.c:
3299 Changed SpiBase to contain a GObject pointer rather than an AtkObject
3301 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3303 * idl/Accessibility_Registry.idl:
3304 Added boolean member 'is_text' to DeviceEvent. This is for the
3305 use of key events, and helps prevent ambiguity between composed
3306 key strings and keysym names, since both may potentially be
3307 returned in the 'event_string' member.
3309 * at-bridge/bridge.c:
3310 * registryd/deviceeventcontroller.c:
3311 Use the 'is_text' member when notifying device event listeners.
3312 Knon issue: composed characters are not dealt with correctly by
3313 the global key listener implementation yet.
3315 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3317 * at-bridge/bridge.c:
3318 Namespaced local static methods to spi_atk_bridge_* where
3319 previously named bridge_*, and spi_* elsewhere.
3321 * at-bridge/bridge.c:
3322 * cspi/bonobo/cspi-bonobo-listener.c:
3323 Added demarshalling/conversion for string member of
3324 Accessibility_DeviceEvent to AccessibleKeystroke.
3326 * registryd/deviceeventcontroller.c:
3327 Added code to fill the Accessibility_DeviceEvent key string value
3328 member for global key events (i.e. from XGrabKey), to match
3329 behavior of Accessibility_DeviceEvent from the toolkit key events
3330 from the bridge. Fixed timestamp in global key event notifications.
3333 Added printout of key event's string value to
3334 report_ordinary_key_event, for demo/debugging purposes.
3336 2001-12-15 Bill Haneman <bill.haneman@sun.com>
3338 * idl/Accessibility_Registry.idl:
3339 Removed Accessibility_KeyStroke structure in favor of generic
3340 Accessibility_DeviceEvent structure.
3341 Changed Accessibility_ControllerEventMask from a struct to an
3344 * at-bridge/bridge.c:
3345 Changed APIs to use DeviceEvent structure as above, and removed
3346 bogus casting between these event structures.
3348 * cspi/spi-listener.h:
3349 Added keystring member of AccessibleKeystroke structure, to enable
3350 matching on event "names" rather than only hardware codes and
3354 Added keystrings member of AccessibleKeySet struct, to allow
3355 matching on event names (as above).
3356 Added declarations for SPI_createAccessibleKeySet and
3357 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
3358 event modmasks directly as unsigned ints rather than structs with
3359 refcounts, in the DeviceEventController methods.
3361 * cspi/spi_registry.c:
3362 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
3364 * cspi/spi-roletypes.h:
3365 Added documentation of newly added SPI Roles.
3367 * cspi/bonobo/cspi-bonobo-listener.c:
3368 Changes in support of API changes above.
3370 * libspi/accessible.c:
3371 Converted APIs to use DeviceEvent structure (see IDL changes
3374 * registryd/deviceeventcontroller.c:
3375 Added DEControllerGrabMask structure to track keygrabs not only by
3376 modmask but by keyset as well; this allows us to do "global"
3377 (i.e. X) keygrabs on a per-key or keyset basis rather than always
3378 grabbing on AnyKey and then filtering after-the-fact.
3379 Bugfixes for event filtration mean that we don't get false matches
3380 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
3382 * registryd/deviceeventcontroller.c:
3383 Namespaced a number of static methods to use spi_ prefix. Major
3384 revision to internals of global (i.e. X) key grabs.
3386 * registryd/deviceeventcontroller.h:
3387 Removed keymask_list and added keygrabs_list to
3388 SpiDeviceEventController struct.
3391 Added use of SPI_createAccessibleKeySet API when creating a
3392 listener for only one key. Attach a listener to "shift spacebar
3393 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
3394 X key event names to SPI key event names, so that listeners are
3395 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
3397 * test/keysynth-demo.c:
3398 Changed (incorrect) use of X key event names (KeyPressed,
3399 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
3402 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3404 * libspi/accessible.c:
3405 Convert all AtkRole enumerations to Accessibility_Role enums when
3406 getting a role from an AtkObject.
3408 * cspi/spi_accessible.c:
3409 Complete the conversion of Accessibility_Role enums at runtime to
3410 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
3411 role enums correctly match those given in spi-roletypes.h.
3412 Re-synchronize the local names list for AccessibleRole_getName ().
3413 AccessibleRole_getName is now deprecated, since it duplicates the
3414 more reliable Accessible_getRoleName.
3415 Added some role types from Accessibility_Role.idl.
3417 * idl/Accessibility_Role.idl:
3418 Added some role types used by AtkRole.
3420 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3423 * cspi/spi_registry.c:
3425 * cspi/cspi-bonobo-listener.c:
3426 Namespaced all methods that did not begin with an "SPI_" or
3427 "Accessible" prefix to "SPI_".
3430 Homogenized internal function namespace to "cspi_" for statics.
3433 Patched tests to use the new CSPI API.
3435 * docs/reference/cspi/at-spi-cspi-sections.txt:
3436 Updated docs to reflect namespace changes, and added a number of
3437 methods to the documentation.
3439 * registryd/registry.c:
3440 Changed use of strings and string hashes in listener event
3441 matching and parse_event_string to use GQuark, which is guaranteed
3444 * registryd/registry.h:
3445 Squashed annoying warning.
3447 * idl/Accessibility_Role.idl:
3448 Extended range of available Accessibility_Role values.
3450 * cspi/spi_accessible.c:
3451 Re-ordered role names.
3453 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3455 * idl/Accessibility_Value.idl:
3456 Revert use of union back to CORBA_double, since the double type is
3457 more efficient and can contain the other types without loss of
3460 * idl/Accessibility_Accessible.idl:
3461 Added method Accessibility:Accessible:getRoleName, to complement
3462 Accessibility:Accessible:getRole.
3464 * cspi/spi_accessible.c:
3466 Added C binding for above, Accessible_getRoleName (), and changed
3467 signature of Accessible_getRole () to return an AccessibleRole.
3469 * cspi/spi-roletypes.h:
3470 Changed AccessibleRole_getName to return a char * instead of a
3471 const char *. This method is now at least temporarily deprecated
3472 in favor of asking Accessibles for their RoleNames directly.
3475 Revert to match Accessibility_Value.idl;
3479 Change signature of AccessibleValue methods to use double rather
3483 * cspi/spi_accessible.c:
3484 Changed Accessible_getRole to return an AccessibleRole enum rather
3485 than a UTF-8 string. The UTF-8 string can still be obtained via
3486 AccessibleRole_getName ().
3488 * test/test-simple.c:
3489 Add test_action. Small fixup to match API change to Accessible_getRole.
3492 Bugfix for get_action_from_servant ().
3494 2001-12-11 Michael Meeks <michael@ximian.com>
3496 * libspi/libspi.h: remove registry.h and
3497 desktop.h, deviceeventcontroller.h
3499 * libspi/Makefile.am: remove registry.[ch],
3500 desktop.[ch], deviceeventcontroller.[ch]
3502 * registryd/Makefile.am: add registry.[ch],
3503 desktop.[ch], rename registryd.c to registry-main.c.
3504 add deviceeventcontroller.[ch]
3506 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3509 Replace setenv() call with putenv ().
3511 * libspi/component.c:
3512 Bugfix in AccessibleComponent_getExtents (),
3515 2001-12-11 Michael Meeks <michael@ximian.com>
3517 * libspi/image.c (impl_getImageExtents): impl.
3518 (spi_image_class_init): upd.
3521 (AccessibleImage_getImageDescription): fix daft bug
3524 * test/test-simple.c (global_listener_cb): update
3525 to only quit if not --poke
3526 (main): catch --poke.
3527 (validate_accessible): upd. dumping, call test_image
3530 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
3533 * idl/Accessibility.idl: update all IDL includes.
3535 * idl/*.idl - rename to namespace - this sucks, blame
3536 mjs' bad decision for oafd.
3538 * test/test-simple.c (create_test_window): add more tests.
3539 (create_tree): split this out.
3540 (validate_accessible): bugfix.
3542 2001-12-11 Michael Meeks <michael@ximian.com>
3544 * cspi/bonobo/cspi-bonobo-listener.c:
3545 (cspi_kestroke_listener_unref),
3546 (cspi_event_listener_unref): impl. undoing previous
3547 homenous environment - for Bill.
3549 * cspi/spi_table.c (long_seq_to_array): use
3552 * cspi/spi_main.c: split out all bonoboish bits into
3555 * cspi/spi-impl.h: upd. typedefs.
3557 * cspi/spi_registry.c: update to lowlevel API,
3558 return booleans to indicate success in some places.
3560 * cspi/spi_event.c: update to lowlevel API.
3562 * cspi/bonobo/Makefile.am: add.
3564 * cspi/bonobo/cspi-lowlevel.h: add
3566 * cspi/bonobo/cspi-bonobo.c: add
3568 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
3570 * cspi/Makefile.am: remove spi-listener-impl.[ch],
3571 (SUBDIRS): add bonobo, link in the libs.
3573 * cspi/spi-util.c: kill this file.
3575 * TODO: merge in my bits.
3577 2001-12-11 Michael Meeks <michael@ximian.com>
3579 * test/test-simple.c (test_value, test_table, main):
3580 remove unused variables causing warnings.
3582 * configure.in: cleanup checks - require gail.
3584 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3587 Changed Value interface to use SValue (scalars) rather than
3588 assuming all values are floats. This allows floats, doubles,
3589 longs, shorts, and unsigned values to be manipulated.
3590 Introduced Accessibility:SValue union.
3593 Updated to use new API above, and to work correctly with GValues
3594 of different types in AtkValue.
3597 Updated to use new API above. cspi's API is as yet unchanged.
3600 Updated the Value revision action item.
3602 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3604 * test/test-simple.c:
3605 Added test_table (GtkTreeView widget in test window to follow).
3606 Un-commented test_value, added GtkRange widget.
3607 Added GtkTreeView widget with GtkListStore. It passes regression
3608 test but leaks one SPI object for some reason.
3611 Fixed bug in impl__set_currentValue.
3613 2001-12-10 Michael Meeks <michael@ximian.com>
3615 * cspi/spi_text.c: audit for exception handling,
3616 tolerating NULL object references safely etc.
3618 * cspi/spi_value.c: ditto.
3620 * cspi/spi_table.c (AccessibleTable_getSummary),
3621 (AccessibleTable_getAccessibleAt),
3622 (AccessibleTable_getRowHeader),
3623 (AccessibleTable_getColumnHeader),
3624 (AccessibleTable_getCaption): fix bugs hidden by
3626 (long_seq_to_array): impl.
3627 (AccessibleTable_getSelectedRows),
3628 (AccessibleTable_getSelectedColumns): use it.
3630 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3633 Added a TODO list (rough and short for now).
3635 * cspi/spi_hyperlink.c:
3636 * cspi/spi_hypertext.c:
3637 Fixed macro name typos, and remove use of obsolete macro in
3638 AccessibleHyperlink_getLink.
3640 * cspi/spi_action.c:
3641 * cspi/spi_accessible.c:
3642 * cspi/spi_application.c:
3643 * cspi/spi_component.c:
3644 * cspi/spi_selection.c:
3647 Documentation fixes (removed return values from ref/unref methods).
3649 2001-12-10 Michael Meeks <michael@ximian.com>
3651 * cspi/spi_action.c: audit for exception handling,
3652 tolerating NULL object references safely etc.
3654 * cspi/spi_accessible.c: ditto.
3656 * cspi/spi_component.c: ditto.
3658 * cspi/spi_editabletext.c: ditto.
3660 * cspi/spi_hyperlink.c: ditto.
3662 * cspi/spi_hypertext.c: ditto.
3664 * cspi/spi_image.c: ditto.
3666 * cspi/spi_selection.c: ditto.
3668 2001-12-10 Michael Meeks <michael@ximian.com>
3670 * configure.in: use cspi/libspi.pc.in instead.
3672 * Makefile.am (pkgconfig_DATA): upd. to match.
3674 * test/simple-at.c (report_focus_event): kill hacks around
3675 bad return values, use putenv not setenv
3677 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
3678 fire ChildGone - I killed it.
3680 * libspi/component.c
3681 (impl_accessibility_component_get_extents): remove
3684 * idl/Accessible.idl: kill ChildGone exception.
3686 * cspi/*.[ch]: kill int return from ref / unref.
3688 * cspi/spi_main.c (cspi_object_add_check): fold into
3689 (cspi_object_add): here.
3691 * cspi/spi_component.c (AccessibleComponent_getExtents):
3692 handle exceptions elegantly.
3694 * cspi/spi-private.h (cspi_check_ev_return),
3695 (cspi_return_if_fail): impl.
3697 * cspi/spi_accessible.c: use extensively.
3698 (AccessibleStateSet_equals): add direct compare check.
3700 * cspi/spi_selection.c: tolerate NULL objs, and check
3701 exceptions before return.
3703 * cspi/spi-util.c (cspi_warn_ev): rename to
3704 (cspi_check_ev): this & don't pass ev in; no point.
3706 2001-12-10 Michael Meeks <michael@ximian.com>
3708 * test/test-simple.c: use putenv not setenv
3709 (get_environment_vars): more chatty if you're not using
3712 * test/simple-at.c: do the setenv so more people see the
3715 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3717 * libspi/registry.c:
3718 Changed check of CORBA_environment on notification to be a warning
3719 instead of an error for the moment, since we can recover from this
3720 error when caused by a queued notification from a dead app.
3723 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
3724 used by all current implementors of AtkValue), and coerce to
3725 CORBA_float. (Proper general case fix may require change to Value.idl).
3727 2001-12-09 Bill Haneman <bill.haneman@sun.com>
3731 * cspi/spi_accessible.c:
3732 Documentation fixes: added user_data params to documentation for
3733 listeners and callbacks.
3735 * cspi/spi_accessible.c:
3736 Changed AccessibleStateSet_compare to return a
3737 StateSet rather than return the difference set into a third parameter.
3740 2001-12-09 Bill Haneman <bill.haneman@sun.com>
3743 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
3744 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
3748 Remove subdirectory po from SUBDIRS for now.
3750 * at-bridge/bridge.c:
3751 Beefed up a couple of debug printouts.
3752 One-line fix for signal notification name formatting.
3754 * libspi/accessible.c:
3755 Added assertion to spi_accessible_new ().
3757 * libspi/application.c:
3758 Put #ifdef qualifiers around a printf.
3761 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
3763 * registryd/Makefile.am:
3765 Replaces use of XML_I18N_MERGE_SERVER_RULE with
3766 INTLTOOL_SERVER_RULE macro.
3769 Added an event listener for several ATK signals, for
3770 testing and debugging. Removed a few g_warnings.
3771 Added test output if focussed item implements the Value interface.
3773 * test/test-simple.c:
3774 Added test_value () function (known not to pass at the moment, so
3775 not actually called yet.
3777 2001-12-08 Michael Meeks <michael@ximian.com>
3779 * at-bridge/bridge.c (bridge_focus_tracker),
3780 (emit_eventv): fix the same ref. leak.
3781 (register_atk_event_listeners): don't leak.
3783 * cspi/spi-listener-impl.c (cspi_event): more
3784 protection from client code.
3786 * test/test-simple.c (test_desktop): unref the app.
3788 * test/Makefile.am: upd. TESTS.
3790 * at-bridge/bridge.c (bridge_exit_func): release the registry.
3792 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
3794 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
3796 * cspi/spi_registry.c: constify in strings.
3797 (deregisterGlobalEventListenerAll): don't release the ref.
3799 * cspi/spi.h: start removing redundant / conflicting
3800 gtkdoc comments, making the API readable at a glance :-)
3802 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
3804 * test/keysynth-demo.c (keysynth_exit, main): upd.
3806 * test/simple-at.c (main, simple_at_exit): upd.
3808 * test/test-simple.c (unutterable_horror): kill.
3809 (utterable_normal_derefs): kill.
3810 (main): upd & do a setenv before gtk_init, so that we
3811 can use memprof - and to save the pain of remembering
3812 this, if we're running under memprof - don't exit.
3814 * cspi/spi_main.c (SPI_exit): return exit status
3816 (SPI_event_quit): impl.
3817 (SPI_event_main): simplify.
3818 (cspi_is_gnome_app): kill.
3819 (SPI_init): kill isGNOMEapp arg.
3821 * at-bridge/bridge.c (register_atk_event_listeners):
3822 re-instate the unref.
3823 (bridge_exit_func): don't re-activate the registry,
3824 protect vs. theoretical re-entry, use the
3825 AT_BRIDGE_SHUTDOWN env. var to determine whether to
3826 assert a clean shutdown - for regression tests.
3828 2001-12-08 Abel Cheung <maddog@linux.org.hk>
3830 * configure.in: Comment out dummy i18n support for now,
3831 otherwise it fails to build.
3832 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
3833 EXTRA_DIST. They are missing in tarball.
3835 2001-12-07 Michael Meeks <michael@ximian.com>
3837 * util/magnifier.c: kill bonobo activation reg. race.
3839 * libspi/component.c
3840 (impl_accessibility_component_get_extents): make it match
3843 * libspi/registry.c (_registry_notify_listeners):
3844 re-remove X headers & reconcile conflicts.
3845 (spi_listener_struct_free): bad conflict resolve.
3846 (impl_accessibility_registry_register_application):
3847 more bad merging fixed.
3848 (impl_accessibility_registry_deregister_application): ditto.
3849 (spi_registry_new): ditto.
3850 (spi_registry_init): don't have an applications field.
3852 [ merge fixups2 branch to here ]
3853 2001-12-07 Michael Meeks <michael@ximian.com>
3855 * test/simple-at.c (report_focus_event),
3856 (report_focussed_accessible): remove g_warning debug.
3858 2001-12-07 Michael Meeks <michael@ximian.com>
3860 * test/test-simple.c (validate_tree): comment out some checks.
3861 (test_desktop): app now not registered idly - horay.
3863 2001-12-07 Michael Meeks <michael@ximian.com>
3865 * cspi/spi_registry.c
3866 (registerAccessibleKeystrokeListener): clean, stop it leaking
3867 great swathes of memory, and device event controller references.
3868 ensure we always pass valid sequences.
3869 (deregisterAccessibleKeystrokeListener): ditto.
3870 (generateKeyEvent): upd.
3872 * at-bridge/bridge.c (bridge_key_listener): handle
3873 registry dead exception gracefully.
3874 (bridge_focus_tracker, emit_eventv): free ev.
3876 * test/simple-at.c (report_focus_event): fix polarity.
3878 * libspi/application.c (notify_listeners): kill the ev
3879 argument, and make sure we init the ev we use.
3880 (spi_application_object_event_listener): split out a chunk
3881 (get_atk_object_ref): here & fixup.
3882 (reverse_lookup_name_for_toolkit_event): make const.
3883 (spi_application_toolkit_event_listener): fixup, kill leaks
3886 * at-bridge/bridge.c (register_atk_event_listeners):
3887 don't unref the noop object - causes grief.
3889 * libspi/registry.c: remove the X headers.
3890 turn off the debug churn.
3892 * libspi/accessible.c (spi_accessible_new_return): only
3893 release the ref if we are supposed to [doh]
3895 * test/simple-at.c (report_button_press, report_focus_event):
3896 guard vs. unexpected exit.
3898 * at-bridge/bridge.c (gtk_module_init): prune printf.
3899 (bridge_exit_func): fix app unref.
3901 * libspi/Makefile.am: don't install registry or desktop.h
3903 * libspi/*.h: update includes.
3905 * libspi/application.h: don't include ourself, or
3906 other redundant headers.
3908 2001-12-06 Michael Meeks <michael@ximian.com>
3910 * libspi/accessible.c
3911 (get_accessible_from_servant): impl.
3912 Upd. all CORBA impl.s to use it killing cut and paste.
3914 * cspi/spi_main.c (cspi_cleanup): guard vs. double
3916 (SPI_init): register atexit cleanup handler here.
3918 2001-12-06 Michael Meeks <michael@ximian.com>
3920 * at-bridge/bridge.c (gtk_module_init): g_error on
3921 activation exception
3923 2001-12-06 Michael Meeks <michael@ximian.com>
3925 * at-bridge/bridge.c (gtk_module_init): some sort of
3926 confusing merge clash - reverted.
3927 (bridge_idle_init): ditto.
3929 * test/test-simple.c (main, utterable_normal_derefs):
3930 merge from Bill - somehow not committed.
3932 2001-12-06 Michael Meeks <michael@ximian.com>
3934 * libspi/value.c (spi_value_class_init): upd.
3935 (spi_value_finalize): kill.
3937 * libspi/table.c (spi_table_finalize): kill.
3938 (spi_table_interface_new): upd.
3939 (spi_table_class_init): upd.
3940 (get_table_from_servant): impl.
3941 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3943 * libspi/selection.c (spi_selection_finalize): kill.
3944 (spi_selection_interface_new): upd.
3945 (spi_selection_class_init): upd.
3946 (get_selection_from_servant): impl.
3947 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3949 * libspi/relation.c (spi_relation_finalize): kill.
3950 (spi_relation_class_init, spi_relation_new): upd
3952 * libspi/image.c (spi_image_finalize): kill.
3953 (spi_image_class_init): upd.
3954 (spi_image_interface_new): upd.
3955 (get_image_from_servant): impl.
3956 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3958 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
3959 (spi_hyperlink_finalize): kill.
3960 (spi_hyperlink_new): upd.
3961 (get_hyperlink_from_servant): impl.
3962 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3964 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
3965 (spi_hypertext_finalize): kill.
3966 (spi_hypertext_class_init): upd.
3967 (get_hypertext_from_servant): impl.
3968 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3970 * libspi/editabletext.c (spi_editable_text_finalize): kill.
3971 (spi_editable_text_interface_new): upd.
3972 (get_editable_text_from_servant): impl.
3973 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3975 * libspi/text.c (get_text_from_servant): impl.
3976 All impls - update to use it killing more cut and paste,
3977 also fix bad string returns on duff args ( a somewhat
3978 impossible case to handle - but hey ).
3979 (spi_text_construct): impl.
3980 (spi_text_interface_new): upd.
3981 (spi_text_object_finalize): kill.
3983 * libspi/component.c
3984 (accessibility_component_object_finalize): kill.
3985 (spi_component_class_init): upd.
3986 (get_component_from_servant): impl. helper to kill cut & paste.
3987 (impl_accessibility_component_contains):
3988 (impl_accessibility_component_get_accessible_at_point):
3989 (impl_accessibility_component_get_position):
3990 (impl_accessibility_component_get_extents):
3991 (impl_accessibility_component_get_mdi_z_order):
3992 (impl_accessibility_component_get_layer):
3993 (spi_component_interface_new): upd.
3995 * libspi/action.c (spi_action_finalize): kill.
3996 (spi_action_class_init): upd. inherit from SpiObject.
3997 (spi_action_interface_new): upd.
3998 (get_action_from_servant): impl. helper to reduce cut & paste.
3999 (impl_getKeyBinding, impl_getName, impl_doAction),
4000 (impl_getDescription): Use it everywhere.
4002 * cspi/spi_main.c (get_live_refs): a pointer hash.
4003 (spi_object_hash, spi_object_equal): comment out.
4004 There are issues with CORBA object hashing that need
4007 * libspi/application.c (spi_application_init),
4008 (spi_application_new): upd.
4010 * libspi/accessible.c (spi_accessible_object_finalize): kill.
4011 (spi_accessible_class_init): upd.
4012 s/accessible/object/ in epv methods.
4014 2001-12-05 Bill Haneman <bill.haneman@sun.com>
4016 * at-bridge/bridge.c:
4017 Reorder the bridge initialization into the bridge gtk_module_init,
4018 an immediate call to bridge_register_app, and an idle_add for
4019 register_atk_event_listeners (the only code that *must* wait until
4020 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
4021 the activation, creates the application's Accessible object, and
4022 queues the bridge_idle_init function. Restored call to
4023 Accessibility_Registry_deregisterApplication().
4024 Prior to making this call we obtain a new reference to the
4025 registry, which is a temporary hack that helps us handle apps that
4026 shut down the bonobo mainloop before we get there.
4028 * libspi/registry.c:
4029 Fix string leakage in debug block, and don't segv if a an app
4030 dies before its event notifications have been propagated.
4033 Modify cspi_check_ev() to call g_warning() rather than g_error(),
4034 as stopgap measure until we get proper exception handling when
4035 objects die during or before interrogation.
4039 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
4040 Also changed default value of is_gnome_app to TRUE.
4043 * test/keysynth-demo.c:
4044 Changed use of SPI_init and SPI_event_main to reflect API change above.
4047 Made report_focus_event check the warning value from getName
4048 before reporting on focussed accessible; simplifies handling of
4049 notifications from dead objects.
4051 * test/test-simple.c: (Changes not in this patch since source is
4054 2001-12-05 Michael Meeks <michael@ximian.com>
4056 * registryd/registryd.c (main): protect against
4057 bonobo-activation startup race condition.
4059 * cspi/spi_main.c (cspi_object_add_check): cope
4060 with the exception elegantly.
4062 * idl/Accessible.idl: decl. ChildGone
4064 * libspi/desktop.c (spi_desktop_dispose): impl.
4065 (spi_desktop_class_init): upd.
4066 (spi_desktop_add_application),
4067 (spi_desktop_remove_application),
4068 (abnormal_application_termination): impl.
4069 (impl_desktop_get_child_at_index): re-impl.
4072 (impl_accessibility_registry_deregister_application),
4073 (impl_accessibility_registry_register_application):
4074 kill excessive debug clutter.
4076 * test/test-simple.c (test_misc): test some NULL
4077 tolerance. (main): upd.
4079 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
4080 implements no interfaces - so let's not crash.
4082 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
4084 * libspi/accessible.c (spi_accessible_new_return): impl.
4085 helper to calm the cut and paste, to cope with
4086 NULL AtkObjects effectively and efficiently, and to kill
4087 the referencing bugs.
4089 * libspi/table.c (impl_getAccessibleAt),
4090 (impl_getRowHeader, impl_getColumnHeader): upd.
4092 * libspi/hyperlink.c (impl_getObject): upd.
4094 * libspi/accessible.c
4095 (impl_accessibility_accessible_get_child_at_index): upd.
4097 * libspi/component.c
4098 (impl_accessibility_component_get_accessible_at_point): upd.
4100 * test/test-simple.c (test_editable_text, test_text): impl.
4103 * cspi/spi_editabletext.c
4104 (AccessibleEditableText_insertText): constify.
4106 * test/test-simple.c (focus_me): make more robust.
4108 * libspi/accessible.c: remove some printfs in methods that
4109 we test and work fine, so we can get a clean tree dump.
4111 * test/test-simple.c (validate_accessible),
4112 (validate_tree): make tree dumping pretty too.
4114 * at-bridge/bridge.c (bridge_signal_listener): upd. so
4115 it builds without debug on.
4117 * test/test-simple.c (validate_accessible): fix the most
4120 * cspi/spi_main.c (spi_object_release): leave the nicely
4121 blanked memory around if in debug mode.
4123 * cspi/spi-listener-impl.c (cspi_event): use add_check.
4125 [committed to fixups2]
4126 2001-12-05 Michael Meeks <michael@ximian.com>
4128 * libspi/editabletext.c
4129 (spi_editable_text_class_init): g_type_class_peek_parent,
4130 not interface peek - so we finalize cleanly.
4132 * libspi/accessible.c (spi_accessible_new): kill debug.
4134 * test/test-simple.c (validate_accessible): fix ref.
4135 leak, print strings before freeing them; sigh, comment a
4136 chunk out due to strangeness.
4137 (validate_tree): unref the child after use.
4139 * cspi/spi_component.c (AccessibleComponent_getLayer):
4140 add missing break statement, switch on zlayer not the
4141 uninitialized retval.
4143 * cspi/spi_main.c (cspi_object_add): add assert, local ref
4144 before (possibly re-entering) remote unref.
4146 * test/simple-at.c (main): unref the desktop.
4148 * cspi/spi_accessible.c (cspi_accessible_is_a): move
4151 * cspi/spi_main.c (cspi_accessible_is_a): here to
4152 isolate bonobo API usage more.
4154 * libspi/registry.c (impl_accessibility_registry_register_application):
4155 prune bogus comment.
4157 2001-12-04 Michael Meeks <michael@ximian.com>
4159 * test/test-simple.c (validate_tree): upd.
4160 IndexInParent check to make it more lucid.
4161 (validate_accessible): dump the tree.
4163 * libspi/accessible.c (de_register_public_ref),
4164 (get_public_refs): impl.
4165 (spi_accessible_new): make more efficient & intuitive.
4166 Now IndexInParent check works.
4168 2001-12-04 Michael Meeks <michael@ximian.com>
4170 * cspi/spi-util.h: remove.
4172 * cspi/spi.h: move SPI_freeString here
4174 * libspi/component.c (impl_accessibility_component_get_layer):
4176 (impl_accessibility_component_get_mdi_z_order): ditto,
4177 return -1 on error - is this ok ?
4179 * test/test-simple.c (test_application): impl.
4181 * cspi/spi_accessible.c (Accessible_getApplication),
4182 (Accessible_isApplication): impl.
4184 * libspi/registry.c (spi_listener_struct_free): release
4185 the CORBA reference too.
4187 * libspi/accessible.c
4188 (impl_accessibility_accessible_get_parent): fix ref leak.
4190 * libspi/registry.c (spi_registry_new): make the registry
4191 immortal - we don't want it to go away ever.
4193 * libspi/application.c
4194 (spi_accessible_application_finalize): impl. cleanup.
4196 * cspi/spi_registry.c
4197 (deregisterGlobalEventListenerAll),
4198 (deregisterGlobalEventListener),
4199 (deregisterAccessibleKeystrokeListener): fix ref leak.
4201 * cspi/spi_main.c (SPI_init): remove redundant ref.
4203 * test/test-simple.c (unutterable_horror): impl. to force a
4208 (impl_accessibility_registry_deregister_application): release
4209 the application when we de-register it.
4211 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
4212 until we have the infastructure to get it right.
4214 2001-12-03 Michael Meeks <michael@ximian.com>
4216 * libspi/Makefile.am: only build eventlistener.[ch]
4218 * libspi/accessible.c
4219 (impl_accessibility_accessible_get_child_at_index): don't leak.
4221 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
4222 before we hit the idle handler.
4224 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
4225 debugging than exit.
4227 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
4229 * libspi/listener.c (impl_notify_event): check source
4230 not NIL before unref.
4232 * libspi/registry.c (impl_registry_notify_event): ditto.
4234 * libspi/eventlistener.c
4235 (impl_accessible_event_notify_event): unref the source.
4237 * libspi/accessibleeventlistener.c
4238 (impl_accessible_event_notify_event): unref the source.
4240 * idl/Event.idl: remove 'hash_id' attribute - of no
4243 * libspi/application.c (notify_listeners): upd list
4245 (spi_application_object_event_listener),
4246 (spi_application_toolkit_event_listener): upd to do correct
4250 (_registry_notify_listeners): update.
4251 (parse_event_type): this method also leaks like a sieve.
4252 (impl_accessibility_registry_deregister_global_event_listener):
4253 fix ETYPE_WINDOW case.
4255 * libspi/application.c
4256 (impl_accessibility_application_register_object_event_listener):
4259 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
4261 * libspi/hypertext.c (impl_getLink): ditto.
4263 * cspi/spi_main.c (cspi_object_add): remove
4264 bogus CORBA_Object_duplicate.
4266 * cspi/spi-listener-impl.c (cspi_event): dup/ref
4269 * cspi/spi_accessible.c
4270 (Accessible_getRelationSet): fix leak / referencing issue.
4272 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
4273 (cspi_object_add, cspi_object_unref): upd.
4274 (spi_object_release, get_live_refs): impl.
4275 (cspi_cleanup): simplify.
4277 * *.[ch]: s/boolean/SpiBoolean/
4279 * cspi/spi_accessible.c (role_names): actualy order so it
4280 corresponds with the enum !
4282 * test/test-simple.c (test_roles): check some role strings
4283 vs. enums to detect offset errors.
4285 2001-12-01 Michael Meeks <michael@ximian.com>
4287 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
4289 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
4291 (Accessible_getChildAtIndex): use cspi_add_check so we
4292 check the ev before using a (possibly) invalid value.
4294 * libspi/accessible.c
4295 (impl_accessibility_accessible_get_parent): don't segv
4298 * at-bridge/bridge.c (gtk_module_init): upd.
4299 (bridge_property_event_listener): don't leak strings
4301 (bridge_state_event_listener),
4302 (bridge_property_event_listener): don't use a static
4303 buffer in case of recursive event emission &
4304 re-enterancy - split out the swathe of cut and paste
4306 (emit_eventv): and fix 2 ref leaks here & comply to the
4308 (bridge_register_app): rename to
4309 (bridge_idle_init): this and kill arg parsing, split
4310 various inits & bonobo-activation registration to module
4311 init time, kill referencing error.
4312 (bridge_exit_func): fix the same leak.
4313 (bridge_focus_tracker): don't leak event structures
4315 (bridge_signal_listener): more leakage and cut & paste
4317 (bridge_key_listener): return the result - FIXME is
4318 this polarity correct ?
4319 (accessibility_keystroke_from_atk_key_event): rename
4320 (accessibility_init_keystroke_from_atk_key_event): and stop
4322 (gtk_module_init): return a value - not that it is checked by
4324 (bridge_key_listener): register my horror at casting between
4325 IDL defined structs.
4326 (bridge_get_registry): kill - not used.
4328 * cspi/spi_accessible.c (Accessible_getRole): make return const.
4330 * test/test-simple.c (test_roles): impl.
4331 (test_desktop, validate_accessible, validate_tree): impl.
4333 * cspi/spi_accessible.c (role_names): fixup bogus
4334 MAX_ROLES setup, make constants const for efficient linkage
4335 (AccessibleRole_getName): conform to coding style, make
4338 2001-11-30 Michael Meeks <michael@ximian.com>
4340 * cspi/spi.h: add missing prototype.
4342 * libspi/registry.c (spi_listener_struct_new): fix sig.
4344 * test/Makefile.am: add test-simple
4346 * test/test-simple.c: add
4348 * test/test.sh: add.
4350 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
4352 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
4353 do it straight - since otherwise we often get an activation race.
4355 [ work before Bill duplicated a chunk of it ... ]
4356 2001-11-30 Michael Meeks <michael@ximian.com>
4358 * libspi/keystrokelistener.c
4359 (spi_keystroke_listener_class_init): fixup arg
4362 * libspi/eventlistener.c
4363 (spi_event_listener_class_init): ditto.
4365 * tests/test.sh: add.
4367 * cspi/spi-listener-impl.h: update macros.
4369 * cspi/spi-listener-impl.c
4370 (cspi_event_listener_remove_callback): add
4371 correct pre-conditions.
4373 * cspi/spi_main.c (SPI_exit): guard vs. double
4374 exits, exit the mainloop nicely.
4375 (SPI_event_main): make more sense.
4376 (SPI_init): move the atexit evilness here so we
4377 always do it (yuck).
4378 (SPI_event_main): upd.
4380 * test/simple-at.c: update for listener changes.
4382 * registryd/registryd.c (main): prune kruft.
4384 * libspi/libspi.h: upd.
4386 * libspi/eventlistener.[ch]: rename broken macros.
4388 * libspi/accessibleeventlistener.[ch]: remove.
4390 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
4392 * test/test-simple.c: Add - automated tests.
4394 * cspi/spi-listener-impl.c (cspi_event),
4395 (cspi_key_event): add user_data to invoke.
4396 (cspi_keystroke_listener_finalize): impl.
4397 (cspi_keystroke_listener_class_init): upd.
4400 (createAccessibleEventListener),
4401 (AccessibleEventListener_addCallback),
4402 (createAccessibleKeystrokeListener),
4403 (AccessibleKeystrokeListener_addCallback): upd.
4405 * libspi/deviceeventcontroller.c
4406 (spi_device_event_controller_check_key_event): add public proto.
4409 (impl_accessibility_registry_deregister_global_event_listener):
4410 always init listeners.
4411 (_registry_notify_listeners): yes it is.
4413 * cspi/spi-listener-impl.c (cspi_key_event):
4415 (cspi_event_listener_finalize): impl.
4416 (cspi_event_listener_class_init): hook up.
4417 (event_handler_new, event_handler_free),
4418 (event_list_remove_by_callback): impl.
4419 (cspi_event_listener_remove_callback),
4420 (cspi_keystroke_listener_remove_callback),
4421 (cspi_keystroke_listener_add_callback),
4422 (cspi_event_listener_add_callback): upd.
4424 * libspi/keystrokelistener.c
4425 (keystroke_listener_object_finalize): kill
4426 (spi_keystroke_listener_class_init): upd.
4427 (spi_keystroke_listener_add_callback),
4428 (spi_keystroke_listener_remove_callback): kill,
4430 (impl_key_event): prune drasticaly.
4432 * libspi/eventlistener.c
4433 (spi_event_listener_add_callback),
4434 (spi_event_listener_remove_callback): kill, use
4436 (impl_accessible_event_notify_event): upd.
4437 (spi_event_listener_object_finalize): remove.
4439 * libspi/Makefile.am: use eventlistener.[ch]
4441 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4443 * libspi/registry.c (_registry_notify_listeners):
4444 Changed listener loop iteration to use preferred convention.
4445 Got rid of string memory leaks caused be calling g_strconcat
4446 inside function calls.
4448 * libspi/registry.c (parse_event_type):
4449 Stopped g_strconcat memory leaks, free the g_strsplit return,
4450 g_strdup the split pieces when used, etc.
4452 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4455 Change method 'compare' to return a 'difference set' rather than
4456 taking a StateSet as an out parameter (more Java-friendly).
4458 * idl/Accessible.idl:
4459 Added CORBA struct 'BoundingBox', to faciliate API changes below:
4461 * idl/Component.idl:
4463 Changed methods 'getExtents' and 'getImageExtents' in these
4464 interfaces to return a BoundingBox structure.
4465 (getPosition and getSize are redundant and possibly should be
4466 removed, rather than creating a corresponding Point struct.)
4468 * cspi/spi_component.c:
4469 Modify implementation of getExtents to reflect the above IDL
4474 Add (missing) AccessibleImage_getExtents () API.
4476 * docs/reference/cspi/at-spi-cspi-sections.txt:
4477 Added AccessibleImage_getImageExtents () to docs.
4479 2001-12-03 Bill Haneman <bill.haneman@sun.com>
4481 * idl/Component.idl:
4482 Added two methods, getLayer () and getMDIZOrder (), to reflect
4483 the new ATK methods atk_object_get_layer and
4484 atk_object_get_mdi_z_order. (Which arguably should be part of the
4485 AtkComponent API and AtkObject). Also added an enum,
4486 ComponentLayer, for the first method's return value.
4488 * libspi/component.c:
4489 Added implementations for these methods.
4491 * cspi/spi_component.c:
4493 Added cspi binding methods for above,
4494 AccessibleComponent_getLayer() and
4495 AccessibleComponent_getMDIZOrder().
4496 Added cspi enum 'AccessibleComponentLayer'.
4498 * docs/reference/cspi/at-spi-cspi-sections.txt:
4499 Added above methods to docs.
4503 Changed typedef for 'boolean' type (and all references to it) to
4504 SPIBoolean, to avoid keyword clashes with C++.
4507 Changed usages of 'boolean' to SPIBoolean.
4509 * test/keysynth-demo.c:
4510 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
4511 app), except where SPIBoolean is required by the callbacks API.
4513 2001-12-02 Bill Haneman <bill.haneman@sun.com>
4515 * cspi/spi_registry.c:
4516 Removed obsolete X event loop for passive keygrabs (which now
4519 * registryd/registryd.c:
4520 Removed unnecessary call to gdk_init() [cruft]. This also allows
4521 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
4524 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4526 * docs/reference/cspi:
4527 Included docs for SPI_freeString in generated documentation.
4530 Renamed spi_freeString to SPI_freeString, for consistency. Added
4531 documentation for this function.
4534 Renamed spi_freeString to SPI_freeString, for consistency.
4535 Removed obsolete method declaration string_from_corba_string.
4537 * test/keysynth-demo.c:
4538 Small tweak to comments.
4541 Stopped leaking the strings returned from CSPI.
4543 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4545 Merged Michael's branch (see his ChangeLog entries below).
4547 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
4548 bridge is alive, release on exit.
4550 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
4551 Fix type check macro.
4554 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
4557 Added is_gnome_app static, and method cspi_is_gnome_app(),
4558 so we can call the appropriate shutdown routine at exit in SPI_exit.
4560 * cspi/spi_main.c (cspi_object_ref):
4561 Duplicate the corba object passed in, since we're keeping it around.
4563 * cspi/SPI_exit.c, cspi_cleanup:
4564 Moved the releasing of the live refs to its own function, so we
4565 can put it in g_atexit (). Call the appropriate shutdown API
4566 depending on whethe calling client is a gnome app or not
4567 (bonobo_main_quit or CORBA_ORB_shutdown).
4569 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
4570 Unref the listener when this method is called, after
4571 deregistration. Updated the API docs to note this behavior.
4573 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
4574 Bugfixes: Ref the bonobo object when returning a parent or child
4575 reference, or an AccessibleRelation. Generally made sure
4576 BonoboObject refcount is incremented whenever we return an
4579 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
4580 Fixed typo/bug in signal declaration.
4582 * libspi/accessibleeventlistener.h:
4585 * libspi/application.c (spi_application_new):
4586 Fixed leak in initialization.
4589 Remembered to increment bonobo-object refcount when returning
4590 children (applications) from desktop object.
4591 Added (empty) finalize method.
4593 * libspi/deviceeventcontroller.c:
4594 Hold a ref to listeners inside DEControllerKeyListeners.
4595 Added dec_key_listener_free() method. Use prepend instead of
4596 append in key_listener list. Fixed some refcount madness and
4597 leaks in the listener registration/deregistration - deregistration
4598 now calls dec_key_listener_free() on listeners, and on the
4599 temporarily constructed dec_key_listener() used to perform the search/match.
4601 * libspi/hypertext.c (spi_hypertest_finalize):
4602 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
4603 class. Also fixed spi_hypertext_interface_new() and
4604 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
4606 * libspi/hypertext.h:
4607 Removed pointless and duplicate AtkObject pointer from
4610 * libspi/keystrokelistener.c:
4611 Fixed incorrect type of keystroke_listener_parent_class,
4612 renamed keystroke_listener_object_finalize to
4613 spi_keystroke_listener_object_finalize.
4614 Fixed typo in signal declaration
4615 (spi_keystroke_listener_class_init).
4617 * libspi/registry.c:
4618 Added funcsions spi_listener_struct_new() and
4619 spi_listener_struct_free() to help with memory management issues.
4620 We also now use these methods instead of gnew + poking stuff into
4621 the struct, and to decrement listener counts/free the listeners
4622 when deregistering them.
4623 Fix more refcount bugs in getDesktop() and
4624 getDeviceEventController().
4627 De-ref the desktop after enumerating the applications. Explicitly
4628 decrement the refcounts on the created listeners on exit (using
4629 _unref for keystroke listeners, and via the
4630 deregisterGlobalEventListenerAll command for other event
4633 2001-11-27 Michael Meeks <michael@ximian.com>
4635 * cspi/spi-listener.h: fixup enum.
4637 2001-11-27 Michael Meeks <michael@ximian.com>
4639 * cspi/spi-listener-impl.c (cspi_event_listener_new),
4640 (cspi_keystroke_listener_new): Use the cspi variants.
4642 2001-11-26 Michael Meeks <michael@ximian.com>
4644 * test/keysynth-demo.c: fix 2 compile warnings, missing
4647 * test/simple-at.c (report_focussed_accessible),
4648 (report_focus_event, report_button_press),
4649 (check_property_change, is_command_key),
4650 (report_ordinary_key_event, report_command_key_event): upd.
4652 * util/mag_client.h: include pre-requisites.
4654 * libspi/accessibleeventlistener.c
4655 (spi_event_listener_object_finalize): free any lingering
4658 * libspi/keystrokelistener.c
4659 (keystroke_listener_object_finalize): ditto.
4661 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
4662 callbacks, with cspi types.
4664 * cspi/spi_event.c (createAccessibleEventListener): chain to
4665 (AccessibleEventListener_addCallback): here.
4666 (createAccessibleKeystrokeListener): chain to
4667 (AccessibleKeystrokeListener_addCallback): here.
4669 * libspi/keystrokelistener.c
4670 (spi_keystroke_listener_class_init): add signal.
4671 (impl_key_event): emit the event.
4672 (boolean_handled_accumulator): impl.
4673 (marshal_BOOLEAN__POINTER): add, gack.
4675 * libspi/accessibleeventlistener.c
4676 (spi_event_listener_class_init): add signal.
4677 (impl_accessible_event_notify_event): emit the signal &
4678 make the loop efficient.
4679 (spi_event_listener_add_callback): prepend the callback.
4681 * libspi/accessibleeventlistener.h: add an 'event' signal,
4682 decl type on callback.
4684 * libspi/keystrokelistener.h: ditto.
4686 * cspi/spi-listener.h: make methods typesafe and
4687 make them use the new event typedefs.
4689 * test/simple-at.c (report_focussed_accessible):
4690 include mag_client.h
4691 Use *(void *)text_interface not the other thing.
4693 * configure.in: add gtk to registryd bits - since we use
4696 * util/magnifier.c: include libbonobo.h
4698 2001-11-25 Bill Haneman <bill.haneman@sun.com>
4700 * test/keysynth-demo.c:
4701 Turned this into a simple scanning keyboard, to demonstrate the
4702 use of g_timeout_add () as a means of creating timers for
4703 scanning, and the use of GtkStyle for visually indicating when
4704 virtual keyboard elements are selected.
4706 keysynth-demo now listens to any keyboard keys with zero-valued
4707 keycodes (i.e. 'unused' keys) and interprets them as
4710 Reworked the shiftlatch code so that shift-down state isn't held
4711 for long periods (it's only synthesized immediately prior to
4712 the keysynth event it's modifying). Note that shiftlatch in this
4713 demo is a convenience, not intended to take the place of AccessX
4714 which is the better choice for getting 'sticky' modifier keys.
4716 * libspi/deviceeventcontroller.c:
4717 * at-bridge/bridge.c:
4718 * cspi/spi_registry.c:
4719 Removed some debug print stuff, and put other verbosity in #ifdef
4724 Implemented some more of the magnifier IDL for the simple
4725 magnifier: namely, getZoomRegionParams.
4726 Added mag_x and mag_y members to MagnifierData struct, aid of this
4728 Added GtkWindow::realize signal handler to magnifier, to keep it
4729 from receiving keyboard focus from the WM.
4731 2001-11-23 Mark McLoughlin <mark@skynet.ie>
4733 * cspi/spi-private.h: my guess at what michael forgot
4734 before he ran off to NZ :-)
4736 2001-11-23 Michael Meeks <michael@ximian.com>
4738 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
4739 comment out non existant method invoke so we link.
4741 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
4742 use bonobo_exception_get_text for more friendly warnings.
4744 * cspi/spi.c (Obj_Add): move into spi_main & rename
4745 spi_object_add; kill spi.c
4747 * cspi/spi_registry.c
4748 (deregisterGlobalEventListener),
4749 (deregisterGlobalEventListenerAll),
4750 (registerGlobalEventListener): fix exception leaks.
4752 * cspi/spi_main.c (spi_exception): impl. helper, so we
4753 don't leak exceptions.
4755 * cspi/spi_selection.c
4756 (AccessibleSelection_deselectSelectedChild): return the
4759 * cspi/spi_main.c (spi_ev): impl; hack - gack.
4760 (spi_registry): ditto.
4761 (SPI_init): guard against double inits.
4763 * cspi/*.c: use spi_ev (), and spi_registry () where
4764 appropriate - a temporary hack until we have something
4765 better. Use spi_object_add
4767 2001-11-22 Michael Meeks <michael@ximian.com>
4769 * cspi/Makefile.am: re organise, install the headers.
4771 * cspi/*.h: add G_BEGIN/END_DECLS
4773 2001-11-22 Bill Haneman <bill.haneman@sun.com>
4776 Added non-preemptive keylistener for key events with no modifiers
4777 and shift-only modifier.
4779 * libspi/keystrokelistener.c:
4780 Removed some verbose diagnostics printout.
4782 * cspi/spi_registry.c:
4783 Fixed a bug that caused all key listeners to be registered as
4786 * libspi/deviceeventcontroller.c:
4787 Fixed bug that caused XGrabKey (preemptive key grab) to be called
4788 for non-preemptive key masks.
4791 2001-11-22 Bill Haneman <bill.haneman@sun.com>
4793 * docs/reference/idl/at-spi-idl-docs.sgml:
4794 * docs/reference/idl/at-spi-idl-sections.txt:
4795 * docs/reference/idl/at-spi-idl-overrides.txt:
4796 Added missing files.
4798 * docs/reference/Makefile.am:
4799 removed idl from SUBDIRS until we can figure a way to get gtk-doc
4800 to scan the IDL files :-(
4805 Added .cvsignore files.
4807 2001-11-21 Bill Haneman <bill.haneman@sun.com>
4809 * libspi/deviceeventcontroller.c:
4810 * libspi/keystrokelistener.c:
4812 * cspi/spi_registry.c:
4813 Added filters for KeySets, KeyEventSeq, and event types to key
4814 event dispatching, so listeners should only receive those events
4815 that they requested :-)
4817 2001-11-21 Bill Haneman <bill.haneman@sun.com>
4822 * docs/reference:Makefile.am:
4823 * docs/reference/cspi:
4824 * docs/reference/cspi:Makefile.am:
4825 * docs/reference/cspi:tmpl:
4826 * docs/reference/cspi:tmpl:*.sgml:
4827 * docs/reference/idl:
4828 * docs/reference/idl:Makefile.am:
4829 * docs/reference/idl:at-spi-idl-sections.txt:
4830 * docs/reference/idl:at-spi-idl-docs.sgml:
4831 * docs/reference/idl:tmpl:
4832 * docs/reference/idl:tmpl:*.sgml:
4834 Restructured docs directory to allow separate 'reference' docs
4835 section, and forked idl and cspi docs. Added the sgml template
4836 files to CVS. Added the first sections/structural sgml for the
4839 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
4841 * configure.in, libspi/Makefile.am: find libXtst.
4843 2001-11-21 Michael Meeks <michael@ximian.com>
4845 * test/accessx-gui.c: s/spi_value/value/ - doh.
4847 * libspi/base.[ch]: add.
4849 2001-11-18 Bill Haneman <bill.haneman@sun.com>
4851 * idl/Accessible.idl:
4852 * idl/Application.idl:
4855 Started gtk-doc cleanup on IDL.
4857 * libspi/deviceeventcontroller.c:
4858 Added and connected non-preemptive key notification from the
4859 toolkits (in addition to the pre-emptive support from XServer
4860 which we had before, but which causes 'focus flashing'). Filters
4861 are presently limited to key modifiers and global/non-global,
4862 KeySets are presently ignored, as are KeyEvent masks.
4864 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
4865 structs into the persistant structure rather than just storing
4866 pointers to things that might not persist across servant
4869 The XGrabKey call now does async keygrabs, because synchronous
4870 ones were deadlocking with GDK_event code in a very nasty way.
4872 Added boolean to internal method notify_keylisteners, to indicate
4873 whether the event came from the 'toolkit source' or the 'global
4874 (XServer) source' - this is used in the notification process to
4875 determine which listeners to send the event to.
4877 deviceeventcontroller.c is now warning-free.
4879 * libspi/registry.c:
4880 Fixed regression in application de-registration.
4881 Also fixed some really brain-dead weirdness having to do with
4882 event dispatching - event structs are now duplicated before being
4883 re-marshalled in the dispatch to listeners. This also fixes a
4884 Solaris build problem.
4887 2001-11-20 Michael Meeks <michael@ximian.com>
4890 (impl_accessibility_registry_deregister_global_event_listener):
4893 * libspi/deviceeventcontroller.c
4894 (spi_device_event_controller_check_key_event): return
4895 FALSE on no virtual method.
4897 * libspi/*..h: make includes work on a correctly pathed install.
4899 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
4901 * libspi/application.h: kill unused ( and whacked out )
4902 gboolean *spi_application_set_id (AtkObject *app, long id);
4904 2001-11-20 Michael Meeks <michael@ximian.com>
4906 * libspi/*.[ch]: further convert to bonobo's type func
4907 macros, remove redundnant casts etc.
4909 * libspi/text.c s/accessibility_text/spi_text/g,
4910 re-order to de-cruft.
4912 * libspi/hypertext.c: re-order to kill a huge slew
4913 of redundant forward decls.
4915 * libspi/relation.c: ditto.
4917 * libspi/image.c: ditto.
4919 * */.cvsignore: update
4921 2001-11-20 Michael Meeks <michael@ximian.com>
4923 * libspi/deviceeventcontroller.c
4924 (_controller_register_with_devices): use g_getenv,
4925 kill stdlib.h include.
4927 * libspi/keystrokelistener.c
4928 (spi_keystroke_listener_get_type): kill
4929 (spi_keystroke_listener_class_init),
4930 (spi_keystroke_listener_init): rename to this.
4932 * libspi/text.c (impl_getAttributes): fix warning / bug.
4934 * libspi/*.[ch]: more headers, includes and over commenting.
4936 2001-11-20 Michael Meeks <michael@ximian.com>
4938 * libspi/*.[ch]: fixup headers, includes and over commenting.
4940 * libspi/image.c (impl__get_imageDescription): const
4941 correctness warning fix. remove redundant casting.
4943 * libspi/table.c (impl_getRowDescription): ditto.
4944 (impl_getColumnDescription): ditto.
4946 * libspi/libspi.h: add.
4948 2001-11-19 Michael Meeks <michael@ximian.com>
4950 * libspi/editabletext.c (impl_setAttributes): fix warnings.
4952 * libspi/component.c (accessibility_component_get_type):
4953 rename to (spi_component_get_type): and macroify.
4954 (accessibility_component_init): rename to
4955 (spi_component_init): this
4956 (accessibility_component_class_init): rename to
4957 (spi_component_class_init): this
4959 * libspi/action.c (spi_action_get_type): kill, use the macro.
4961 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
4964 * libspi/application.c (spi_application_object_event_listener),
4965 (impl_accessibility_application_register_object_event_listener):
4966 warning fixes / const understanding updates.
4968 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
4971 2001-11-18 Bill Haneman <bill.haneman@sun.com>
4973 * libspi/spi_accessible.c: Added docs and C bindings for
4974 AccessibleStateSet. (No implementations yet). Documentation
4975 coverage for C bindings now 100%. Made docs for event listeners
4980 boolean notifyListenersSync (in DeviceEventListener listener,
4981 in DeviceEvent event);
4983 oneway void notifyListenersAsync (in DeviceEventListener listener,
4984 in DeviceEvent event);
4986 Added DeviceEventListener and DeviceEvent structs (may deprecate
4987 KeyStroke and KeystrokeListener in favor of this generic
4988 event/listener framework for devices).
4990 * libspi/deviceeventcontroller.c:
4992 Changed some key listener code to take masks, etc., and paved the
4993 way for integration of toolkit/non-preemptive key events. Changed
4994 signatures of some internal methods.
4996 * at-bridge/bridge.c:
4997 Fixed regression connecting to interface signals, apparently
4998 caused by GTK+ changes.
5000 Added an internal bridge_state_listener to deal with
5001 property-change:accessible-state signals.
5003 Changed the key_listeners GList to store structs (including masks,
5004 etc.) instead of just CORBA_Objects (required for full
5005 implementation of key listener API).
5007 Connected the bridge to all currently supported Atk signals.
5008 Events now supported:
5009 object:property-change
5010 object:property-change:accessible-name
5011 object:property-change:accessible-state
5012 object:property-change:accessible-description
5013 object:property-change:accessible-parent
5014 object:property-change:accessible-value
5015 object:property-change:accessible-role
5016 object:property-change:accessible-table-caption
5017 object:property-change:accessible-table-column-description
5018 object:property-change:accessible-table-column-header
5019 object:property-change:accessible-table-row-description
5020 object:property-change:accessible-table-row-header
5021 object:property-change:accessible-table-summary
5022 object:children-changed
5023 object:visible-data-changed
5024 object:selection-changed
5025 object:text-selection-changed
5027 object:text-caret-moved
5029 object:row-reordered
5031 object:column-inserted
5032 object:column-reordered
5033 object:column-deleted
5034 object:model-changed
5036 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5038 * libspi/hyperlink.c,h:
5039 Fixed some broken stuff in hyperlink.
5041 * libspi/relation.h:
5042 * libspi/relation.c:
5043 * cspi/spi_accessible.c:
5044 Initial implementations of AccessibleRelation methods, and docs.
5046 * libspi/accessible.c:
5047 Fixed a bug that caused SEGV if an accessible
5048 object's description is NULL, and a client
5049 requests it. An empty string is now returned.
5051 * cspi/spi_editabletext.c:
5052 * cspi/spi_hypertext.c:
5054 * cspi/spi_hyperlink.c:
5058 Doc coverage now 95%.
5060 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5062 One last namespacing revision:
5063 * libspi/accessibleeventlistener.[ch]:
5064 Renamed SpiAccessibleEventListener to SpiEventListener,
5065 (no need for two namespaces ;-)
5067 And lots of documentation fixes:
5069 * docs/at-spi-docs.sgml:
5070 Fixed 'underscore vs. hyphen' bug that was preventing
5071 the gtk-doc API docs from being automatically generated.
5074 * cspi/spi-listener.h
5076 * cspi/spi_accessible.c
5078 * cspi/spi_application.c
5079 * cspi/spi_component.c
5080 * cspi/spi_editabletext.c
5082 * cspi/spi_hypertext.c
5084 * cspi/spi_registry.c
5085 * cspi/spi_selection.c
5089 * docs/at-spi-docs.sgml
5090 * docs/at-spi-sections.txt
5092 Added and fixed up gtk-doc documentation in cspi.
5094 Interfaces now (fully) documented (subject to revision and enhancement):
5096 Event Listener Support
5098 AccessibleApplication
5102 AccessibleEditableText
5109 AccessibleRelationSet
5114 2001-11-14 Bill Haneman <bill.haneman@sun.com>
5116 * at-bridge/bridge.c:
5117 Initial work for toolkit-level key snooper connection by bridge.
5122 New typedefs and fixes to support new namespacing, and cleaner
5123 separation of cspi bindings from libspi bonobo implementation.
5124 Removed inconsistent and extraneous Spi* namespace prefix that
5125 had crept into cspi headers.
5126 Lots of comment fixes that sed had missed.
5128 * cspi/spi-roletypes.h:
5129 * cspi/spi-statetypes.h:
5130 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
5131 to AccessibleRoleType.
5133 * libspi/accessibleeventlistener.h:
5134 Fixed minor namespacing weirdness.
5136 * libspi/deviceeventcontroller.c:
5137 Reordered some internal API for device listeners.
5138 Changed the key registry final boolean to 'is_system_global'
5139 rather than 'is_synchronous', which is more descriptive of its
5141 Added spi_device_event_controller_new().
5142 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
5144 * libspi/keystrokelistener.[ch]:
5145 Namespaced KeystrokeListener to SpiKeystrokeListener.
5146 Changed uses of keymasks to use SPI_ prefix, and did other
5149 * libspi/keymasks.h:
5150 Namespaced keymask constants with SPI_ prefix.
5152 * libspi/registry.c:
5153 Some warning fixes, and knock-on fixes from namespace changes.
5156 Added rules for accessx-gui test program.
5158 * test/accessx-gui.c:
5159 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
5160 utility. It doesn't actually use at-spi, but it's still cool and
5163 * test/keysynth-demo.c:
5167 Fixes so that these test clients work properly with the namespaced
5168 libraries. (Incompletely tested for technical reasons, fixes may follow)
5171 2001-11-13 Michael Meeks <michael@ximian.com>
5173 * libspi/application.c
5174 (impl_accessibility_application_get_version),
5175 (impl_accessibility_application_get_toolkit_name):
5177 (impl_accessibility_application_set_id),
5178 (impl_accessibility_application_get_id): remove
5179 redundant casting code.
5181 * libspi/action.c (impl_getDescription): fix warnings.
5183 * libspi/accessible.c
5184 (impl_accessibility_accessible_get_parent),
5185 (impl_accessibility_accessible_get_child_at_index),
5186 (impl_accessibility_accessible_get_state),
5187 (impl_accessibility_accessible_get_relation_set):
5188 warning fixes & include action.h
5190 2001-11-13 Michael Meeks <michael@ximian.com>
5192 * *.[ch] fix bits I screwed up:
5194 s/([^ \tb(\*\&\?\",])spi_/\1/g;
5195 s/([^ \tb(\*\&\?\",])Spi/\1/g;
5197 2001-11-13 Michael Meeks <michael@ximian.com>
5199 * *.[ch] Namespace libspi into spi_ and Spi.
5201 2001-13-11 Michael Meeks <michael@ximian.com>
5203 * Makefile.am: dist & install at-spi-1.0.pc
5205 * libspi/Makefile.am: install into at-spi-1.0
5207 * idl/Makefile.am (idldir): install into at-spi-1.0
5209 * at-spi-1.0.pc.in: add.
5211 * configure.in: build it.
5213 2001-11-12 Bill Haneman <bill.haneman@sun.com>
5215 * test/keysynth-demo.c:
5216 Use a 'realize' signal-handler to set the WM properties for
5217 the virtual keyboard, rather than making it a "POPUP" type
5218 override-redirect window (thanks to anders carlsson for that
5221 2001-11-11 Bill Haneman <bill.haneman@sun.com>
5224 * test/keysynth-demo.c:
5225 Added new test of key synthesis, which creates a simple
5226 (mouse-operated) onscreen keyboard. It inserts key events into
5227 the currently-focused window, thus it does not grab keyboard focus
5230 * cspi/spi_registry.c:
5231 Added C binding for AT-SPI generateKeyEvent.
5233 * libspi/deviceeventcontroller.c:
5234 Added call to XFilterEvent so that key listener works with XIM (we
5235 hope). Added event_synth_type to generateKeyEvent, so that we can
5236 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
5237 synthesize a press/release pair for KeySyms.
5239 2001-11-09 Bill Haneman <bill.haneman@sun.com>
5241 * libspi/Makefile.am:
5242 * registryd/Makefile.am:
5243 (temporary) hack to include libXtst in libspi and registryd.
5244 (Needed for keystroke synthesis, see below).
5247 Improved API for registerKeystrokeListener, in accordance with
5248 discussions with Gnopernicus team and X server research.
5250 * libspi/registry.c:
5251 * libspi/deviceeventcontroller.c:
5252 * libspi/accessible.c:
5253 * libspi/keystrokelistener.c:
5254 Changes and fixes to support keylisteners for potentially
5255 consumed key events (that is, 'passive grabs').
5256 Added implementation for generateKeyEvent() [untested].
5259 Changes to registerKeystrokeListener() API, as above.
5260 Added deregisterGlobalEventListenerAll(), and
5261 deregisterKeystrokeListener(), which are needed for clean exit of
5263 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
5264 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
5266 * cspi/spi_registry.c:
5267 Added implementations of function prototypes mentioned above.
5269 * registryd/registryd.c:
5270 Added the key listener event source as a g_timeout(), to allow
5271 receipt of key events that are not caught by GDK (since GDK
5272 doesn't support passive keygrabs, this was necessary).
5275 Changed to attach a keylistener to 'Alt' keys, and
5276 respond to the following keycommands: Alt-M (toggle magnifier);
5277 Alt-F (toggle speech); Alt-Q (quit).
5278 Added an exit routine to deregister the listeners, and a key
5279 listener that prints some key info to the console when a key
5280 matches the listener mask (and is thus received by the listener).
5282 * util/idl/Magnifier.idl:
5283 Changes to magnifier API to support multiple zoom regions,
5284 non-uniform scaling in x and y, markDirty, and a host of other
5285 features that would be useful to magnification.
5288 * util/mag_client.c:
5289 * util/mag_client.h:
5290 * util/mag_control.c:
5292 Source code changes to support the above IDL changes.
5295 As above, and also changes to use a (slower) generic conversion
5296 path for colormap conversions, since the fast RGB conversions have been
5297 reported to fail for 16-bit displays.
5299 2001-10-26 Michael Meeks <michael@ximian.com>
5301 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
5303 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
5305 * at-bridge/Makefile.am: fix LDFLAGS.
5307 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5309 * at-bridge/bridge.c:
5310 Re-worked listeners for toolkit events, now we have signal
5311 and property listeners. Added a private method
5312 register_atk_event_listeners(), which registers with the
5313 various atk and gtk signals we need to monitor in order to emit
5315 Added emission hook for AtkObject:property-change events, to
5316 support the 'property listeners'.
5317 Fixed some alloc()s of Accessibility_Event structs to use CORBA
5320 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
5321 which emit warnings and exit, respectively, if CORBA errors occur
5322 during remote calls, and we now use these methods to check most of
5323 our CORBA calls in the C bindings.
5325 * cspi/spi_accessible.c:
5326 Changed AccessibleSelection_refSelectedChild() to
5327 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
5328 now increment refcounts.
5330 * cspi/spi_component.c:
5331 Fixed some long pointer casts (dangerous!) to pass pointers to
5332 CORBA_longs of the proper type to the CORBA stubs, and copy the
5333 data into the longs that were passed into the C bindings code.
5335 * at-bridge/bridge.c:
5337 * libspi/accessible.c:
5338 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
5339 hyperlinks, AtkHyperlink is an object type.
5341 * libspi/application.c:
5342 Added various conversions to and from "generic" event types and
5343 atk-specific types; this is really part of the 'bridge'
5344 implementation but is valid for all AtkObject-based accessibility
5347 * libspi/editabletext.c:
5348 Fixed nasty bug wherein editable text's finalize method was
5349 unref'ing tha AtkObject reference that the text parent class was
5350 about to unref _again_. There was also a nasty inheritance bug
5351 that meant that the AccessibleEditableText class was corrupt.
5353 * libspi/selection.c:
5354 Provided implementations for some selection API that was broken.
5356 * idl/Application.idl:
5357 Added registerObjectEventListener () method.
5360 Fixed a number of return values that were Bonobo_Unknowns from
5361 bonobo_object_corba_objref(), which I
5362 forgot to dup before returning. Changed instances of
5363 bonobo_object_corba_objref (bonobo_object(o)) to
5364 BONOBO_OBJREF(o), for concision and clarity.
5366 2001-10-13 Louise Miller <louise.miller@sun.com>
5368 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
5369 idl/Event.idl, idl/Registry.idl
5370 Changed these files to include Bonobo_Unknown.idl instead
5373 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
5375 * libspi/component.c libspi/component.h:
5376 Fixed typo. Added assertions for object checks in
5377 AccessibleComponent code.
5379 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5381 * idl/Accessible.idl:
5382 Added 'isEqual (Accessible *object)'
5383 method for Accessible. (Not Yet Implemented).
5386 Changed signature of registerKeystrokeListener() to
5387 take a KeySet and KeyEventSeq so that specific keys and event
5388 types could be requested for monitoring, and added a flag
5389 is_synchronous so that either synchronous or asynchronous
5390 notification could be requested. (However this is not all
5391 implemented yet). This also meant adding two new typedefs,
5392 KeyEventSeq and KeySet.
5395 Added two new relations, RELATION_TOOLTIP_FOR and
5396 RELATION_LEAFNODE_OF.
5399 Added new state, STATE_HAS_TOOLTIP.
5401 * libspi/text.c, editabletext.c:
5402 Added new assertions to all casts of bonobo-objects from
5403 CORBA servants, to prevent Text API calls on non-text objects.
5404 Changed suspect casts of int-pointer types, so that we
5405 always send a valid CORBA_long pointer to the CORBA APIs that use
5406 in/out long parameters. We then have to copy from the CORBA_long
5407 into the regular long or int for return to the C bindings, or
5408 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
5411 * libspi/deviceeventcontroller.c:
5412 Cleaned these sources up.
5414 Changed return type for getCharacterAtOffset to
5415 CORBA_unsigned_long, to allow for 32-bit characters.
5418 2001-10-08 Bill Haneman <bill.haneman@sun.com>
5422 Fixed 'make dist' so that distro compiles...
5423 * libspi/keymasks.h:
5425 * cspi/spi-listener.c:
5426 KeystrokeListenerCB now returns a boolean.
5428 Added KeyEventType struct, and KeyStroke.
5429 Also added createKeystrokeListener(),
5430 KeystrokeListener_addCallback(),
5431 KeystrokeListener_removeCallback(), and added a keymask to
5432 registerKeystrokeListener().
5433 * cspi/spi_accessible.c:
5434 Changed numerous return types for interfaces from
5435 AccessibleComponent to Accessible<InterfaceName>; this was
5436 probably a cut-and-paste error.
5438 Implementations of new KeystrokeListener api (from spi.h,
5441 Changes to key modifier mapping.
5442 Created ControllerEventMask struct.
5443 Made DeviceEventController derive from Bonobo::Unknown.
5445 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
5446 * libspi/deviceeventcontroller.c:
5447 Added a number of new internal (private) methods.
5448 * libspi/editabletext.c:
5449 * libspi/editabletext.h:
5450 Fixed a number of bugs related to the fact that
5451 editabletext inherits from text. Fixed the EditableText struct,
5452 the init() call, and use correct casts when calling Text methods
5453 from an EditableText object. Removed (duplicate) atko from the
5454 EditableText structure, we use the one in the parent Text
5455 structure via the casts mentioned above.
5456 * libspi/keystrokelistener.[ch]:
5457 * libspi/registry.c:
5458 Changes in support of keyboard handling (above).
5460 Keyboard handling, though partly functional, is still not
5461 recommended for at-spi client use as there is considerable
5462 work yet to be done.
5465 Changed some places where pointers to various int types
5466 are cast to be pointers to CORBA_long types and vice-versa:
5467 pointer casting is not safe so we pass pointers of the correct
5468 types and then cast the result before putting it into the target
5471 * libspi/text.h: minor typos corrected.
5473 We now speak not only the name of a Text element, but the
5474 first sentence of its content, when it receives focus.
5475 I also changed the text compression to 75% from 50%.
5476 * util/Accessibility_Util.server.in:
5477 Changed the default magnifier type to be a 3x vertical
5478 splitscreen magnifier (was previously a 2x horizontal one).
5480 2001-10-03 Bill Haneman <bill.haneman@sun.com>
5482 * libspi/keystrokelistener.h:
5483 * libspi/keystrokelistener.c:
5484 Initial functional implementations of KeystrokeListener.
5487 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
5489 Fixed string handling for NULL strings in libspi.
5490 Added spi_freeString to free strings returned by C bindings.
5492 2001-09-30 Bill Haneman <bill.haneman@sun.com>
5494 * libspi/keystrokelistener.h:
5495 * libspi/keystrokelistener.c:
5496 Began (no-op) implementations of KeystrokeListener
5498 * libspi/deviceeventcontroller.c:
5499 * libspi/deviceeventcontroller.h:
5500 Began creating implementations of DeviceEventController,
5501 to handle keystroke and mouse event listening and
5503 * libspi/accessible.c:
5504 Stubbed-in the implementations for
5505 Accessibility_Accessible_getState and
5506 Accessibility_Accessible_getRelationSet.
5507 * libspi/registry.c:
5508 Improved de-registration process and fixed some bugs,
5509 deregistration now works correctly.
5511 Added initialization of applications list (to NULL).
5513 Reduced speech compression from 0.5 to 0.7, for demo.
5514 Changed call to gdk_window_set_decorations()
5515 to gtk_window_set_decorated().
5516 * at-bridge/bridge.c:
5517 Bridge now deregisters when app exits, via
5518 registration of a cleanup function
5519 with the g_atexit() call.
5520 Required making 'app' static, renamed 'this_app'.
5521 Fixed broken use of bonobo_init, passing argv wrongly.
5523 2001-09-27 Bill Haneman <bill.haneman@sun.com>
5527 Created a new directory for
5528 accessibility-related utilities, primarily for
5529 testing and demo purposes, but with possible
5536 Onscreen magnifier utility that
5537 is implemented as a bonobo service.
5539 * util/mag_client.c:
5540 * util/mag_client.h:
5541 Client-side support (simple C bindings)
5542 for Magnification service
5544 * util/mag_control.c:
5545 Client program example for
5546 Magnification service
5548 * util/Accessibility_Magnifier.server.in:
5549 Bonobo-activation file for the
5550 Magnification service.
5553 * util/idl/Magnifier.idl:
5554 IDL defining the bonobo Magnification
5558 Modifications to use the bonobo-activated magnifier
5559 above, in place of trying to connect to an existing
5560 magnifier that uses socket-listening IPC.
5562 If env variable MAGNIFIER is set, a magnifier service
5563 will be started if one does not exist.
5565 2001-09-25 Bill Haneman <bill.haneman@sun.com>
5567 * at-bridge/bridge.c:
5568 applied patch from Marc to build and run
5569 against new glib and gtk+ (seemed like a change
5570 to bonobo_init signature was made ?)
5572 made festival-server support turned off by default.
5573 Added support for a simple magnifier (off by default)
5574 which will be added to a 'util' directory later.
5575 * at-bridge/Makefile.am:
5576 Changed "application.h" header from a 'source'
5577 to a 'dependency' of libat-bridge.
5579 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
5588 Added interface implementation c files to list of
5589 includes so they are included in libcspi.
5592 Changed prototype of AccessibleAction_doAction to return a
5594 Changed prototype of AccessibleTable_getCaption to
5595 return an Accessible.
5596 Changed prototype of AccessibleTable_getSelectedRows
5597 and AccessibleTable_getSelectedColumns to
5598 return a long (returns the number of selected rows
5599 or columns respectively).
5600 Changed name of AccessibleText_refRunAttributes to
5601 AccessibleText_getAttributes.
5602 Changed prototype of AccessibleText_getCharacterExtents to
5603 return a void rather than a boolean.
5604 Added support for a AccessibleCoordType parameter
5605 specifying what type of coordinates are desired.
5606 Added an AccessibleCordType parameter to
5607 AccessibleText_getPointAtOffset.
5609 * cspi/spi_accessible.c:
5610 Added code to return the outstanding interfaces from
5611 Accessible_queryInterface.
5613 * cspi/spi_action.c:
5615 Corrected call to getNActions to call the c binding
5618 * cspi/spi_editabletext.c:
5620 Changed name from setRunAttributes to setAttributes.
5622 * cspi/spi_hyperlink.c:
5624 Changed call to getNAnchors to correctly call the c
5625 binding for an attribute.
5627 * cspi/spi_hypertext.c:
5629 Changed getImageDescription to correctly call the
5630 binding for an attribute.
5632 * cspi/spi_selection.c:
5633 Changed getNSelectedChildren to correctly call the c
5634 binding for the attribute.
5635 Changed refSelectedChild to getSelectedChild.
5639 Changed getCaption to return an Accessible.
5640 Fixed calls which retrieve attributes.
5641 Changed refAt to getAccessibleAt.
5642 Changed getNSelectedRows and getNSelectedColumns to
5646 Changed getCharacterExtents and getPointAtOffset to accept an
5647 AccessibleCoordType.
5649 Changed calls which retrieve attributes.
5650 Changed refRunAttributes to getAttributes.
5655 * idl/Hyperlink.idl:
5656 Changed n_anchors attribute to nAnchors to keep naming
5657 convention consistent.
5660 Made Table inherit from Bonobo::Unknown.
5661 Added nSelectedColumns and nSelectedRows attributes.
5664 Made Value inherit from Bonobo::Unknown.
5666 * libspi/hyperlink.c:
5667 Change for nAnchors attributte name change.
5669 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
5677 Added interface implementation c files to list of
5678 includes so they are included in libcspi.
5681 Changed prototype of AccessibleAction_doAction to return a
5683 Changed prototype of AccessibleTable_getCaption to
5684 return an Accessible.
5685 Changed prototype of AccessibleTable_getSelectedRows
5686 and AccessibleTable_getSelectedColumns to
5687 return a long (returns the number of selected rows
5688 or columns respectively).
5689 Changed name of AccessibleText_refRunAttributes to
5690 AccessibleText_getAttributes.
5691 Changed prototype of AccessibleText_getCharacterExtents to
5692 return a void rather than a boolean.
5693 Added support for a AccessibleCoordType parameter
5694 specifying what type of coordinates are desired.
5695 Added an AccessibleCordType parameter to
5696 AccessibleText_getPointAtOffset.
5698 * cspi/spi_accessible.c:
5699 Added code to return the outstanding interfaces from
5700 Accessible_queryInterface.
5702 * cspi/spi_action.c:
5704 Corrected call to getNActions to call the c binding
5707 * cspi/spi_editabletext.c:
5709 Changed name from setRunAttributes to setAttributes.
5711 * cspi/spi_hyperlink.c:
5713 Changed call to getNAnchors to correctly call the c
5714 binding for an attribute.
5716 * cspi/spi_hypertext.c:
5718 Changed getImageDescription to correctly call the
5719 binding for an attribute.
5721 * cspi/spi_selection.c:
5722 Changed getNSelectedChildren to correctly call the c
5723 binding for the attribute.
5724 Changed refSelectedChild to getSelectedChild.
5728 Changed getCaption to return an Accessible.
5729 Fixed calls which retrieve attributes.
5730 Changed refAt to getAccessibleAt.
5731 Changed getNSelectedRows and getNSelectedColumns to
5735 Changed getCharacterExtents and getPointAtOffset to accept an
5736 AccessibleCoordType.
5738 Changed calls which retrieve attributes.
5739 Changed refRunAttributes to getAttributes.
5744 * idl/Hyperlink.idl:
5745 Changed n_anchors attribute to nAnchors to keep naming
5746 convention consistent.
5749 Made Table inherit from Bonobo::Unknown.
5750 Added nSelectedColumns and nSelectedRows attributes.
5753 Made Value inherit from Bonobo::Unknown.
5755 * libspi/hyperlink.c:
5756 Change for nAnchors attributte name change.
5759 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
5761 implementations-- made server implementations own AtkObject pointers
5762 rather than their respective AtkInterrface pointers to fix
5763 refcounting. AtkHyperlink is still broken.
5765 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5766 * cspi/spi_accessible.c:
5767 Added method Accessible_Role_getName(),
5768 and requisite string array (role_names).
5769 Added conversion string_from_corba_strin() call
5770 to Accessible_getName and _getDescription.
5771 * libspi/accessible.c:
5772 Added implementation for Accessible_getRole()
5774 Added festival support, used if environment variable
5777 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5779 * at-bridge/bridge.c:
5780 Now allocate Accessibility_Event using
5781 Accessibility_Event__alloc() instead of g_new0().
5782 * libspi/accessibleeventlistener.c:
5783 Initialize AccessibleEventListener->callbacks to NULL.
5784 Fixed accessible__event_listener_init() param, changed to
5785 "AccessibleEventListener *" type.
5786 Changed a bonobo_object_release_unref() call to
5787 Accessibility_Accessible_unref().
5788 * libspi/listener.c:
5789 Changed Bonobo_Unknown_unref to (equivalent)
5790 Accessibility_Accessible_unref.
5791 * libspi/registry.c:
5792 Changed bonobo_object_release_unref to
5793 Accessibility_Accessible_unref.
5795 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
5798 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
5799 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
5800 spi-util.c spi-util.h
5801 Implementations for C bindings to remaining accessibility
5804 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
5807 changed return value of Action from void to boolean to
5808 bring in line with ATK.
5811 Changed getText funcions to return "out" start and end offsets.
5812 Changed getAttributes to take and offset and return the start
5813 and end offset of the attribute run.
5814 Changed getOffsetAtPoint and getCharacterExtents to take an
5815 enum describing whether coordinates are window or screen.
5818 libspi/action.c libspi/action.h libspi/editabletext.c
5819 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
5820 libspi/hypertext.c libspi/hypertext.h libspi/image.c
5821 libspi/image.h libspi/selection.c libspi/selection.h
5822 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
5823 libspi/value.c libspi/value.h
5824 Added server implementations for outstanding ATK interfaces
5825 not yet implemented.
5827 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5830 Added (missing) getName() method.
5831 Made nActions an attribute.
5832 * idl/EditableText.idl:
5833 Changed order of params in setAttributes.
5834 * idl/Hyperlink.idl:
5835 Removed getAnchor, added getURI.
5837 Changed attributes to methods, for efficiency
5838 (so that getting extents can be done in one call)
5839 * idl/Selection.idl:
5840 Changed nSelectedChildren to attribute, and re-indented.
5841 * idl/Table.idl: changed nrows, ncolumns, caption, summary
5843 * idl/Text.idl: reformatted to match our coding style.
5844 (temporarily?) removed getRowColumnAtOffset().
5845 Changed text selection API to support multi-select and
5846 non-contiguous selections, as in ATK.
5847 * idl/Value.idl: changed some methods to attributes.
5849 2001-08-24 Mark McLoughlin <mark@skynet.ie>
5851 * libspi/listener.c(impl_notify_event):
5852 BonoboUnkown_unref the source instead
5853 of bonobo_object_release_unref - the ORB
5854 handles the releasing.
5856 * configure.in: require ORBit-2.3.94 for
5859 2001-08-21 Bill Haneman <bill.haneman@sun.com>
5861 Tagged CVS repository 'EA_1_0'.
5862 * README.EARLY_ACCESS:
5863 Alphabetized acknowledgements list, and
5865 Listed some known dependencies of at-spi.
5867 2001-08-20 Bill Haneman <bill.haneman@sun.com>
5869 * docs/at-spi-docs.sgml:
5870 * docs/at-spi-sections.txt:
5871 * docs/at-spi-overrides.txt: (Added zero-length file)
5872 Documentation improvements - gtk-doc should build
5873 docs for all implemented C bindings now.
5876 * cspi/spi.c: (New file)
5877 * cspi/spi_event.c: (New file)
5878 * cspi/spi_registry.c: (New file)
5879 * cspi/spi_accessible.c: (New file)
5880 * cspi/spi_application.c: (New file)
5881 * cspi/spi_component.c: (New file)
5882 Split spi_main.c into six parts, and included them from
5883 "spi.c". This is a bit of a hack, probably temporary,
5884 but required by gtk-doc, apparently.
5886 2001-08-20 Bill Haneman <bill.haneman@sun.com>
5889 * docs/at-spi-docs.sgml:
5890 * docs/at-spi-sections.txt:
5892 Initial checkins/modifications for gtk-doc generation.
5895 Added (missing) interface query methods to Accessible's C binding.
5897 Added GenericInterface type definition.
5899 Added query for AccessibleComponent interface to focus event handler.
5900 Added printout of bounding box for focussed component.
5901 * libspi/component.c:
5902 Added partial implementation for AccessibleComponent to C binding.
5903 * idl/Application.idl:
5904 * libspi/registry.c:
5905 * libspi/listener.c:
5906 * libspi/application.c:
5907 * libspi/application.h:
5908 Changed "ID" attribute type from string to long.
5910 2001-08-19 Bill Haneman <bill.haneman@sun.com>
5914 Made method naming consistent: methods taking object args
5915 start with uppercase, other methods (except those using
5916 acronyms) start with lowercase. Underscores delimit between
5917 object names and method names:
5918 SPI_init() - uppercase since it starts with an acronym.
5919 getDesktopCount () - lowercase start since no object param0.
5920 Accessible_getName() - uppercase object type name, studlyCaps method
5924 Added gtk-doc documentation for all currently implemented
5925 methods in the C bindings API.
5927 2001-08-18 Bill Haneman <bill.haneman@sun.com>
5929 * Makefile.am : changed build order to build test last.
5932 Changed "createEventListener" to "CreateEventListener".
5933 * libspi/accessibleeventlistener.c :
5934 Bugfix for addition of callbacks.
5935 * test/Makefile.am :
5936 * test/simple-at.c :
5937 Added new test that uses the C bindings API.
5939 * libspi/listener.c :
5940 * libspi/registry.c :
5941 * libspi/accessibleeventlistener.c :
5942 * at-bridge/bridge.c :
5943 Renamed member "target" of Accessibility_Event to "source",
5944 which is more descriptive.
5947 2001-08-18 Bill Haneman <bill.haneman@sun.com>
5951 * cspi/Makefile.am :
5952 Added makefile support for at-spi/cspi directory.
5955 * cspi/spi-listener.h : (NEW FILE)
5956 Added support for/use of spi-listener.h.
5958 C bindings now build successfully, with no warnings.
5959 * libspi/accessibleeventlistener.h : (NEW FILE)
5960 * libspi/accessibleeventlistener.c : (NEW FILE)
5961 * libspi/Makefile.am :
5962 Added new object type "AccessibleEventListener"
5963 which inherits from Listener, and allows attachment
5964 of in-process callbacks (so that a client with a listening
5965 object instance can add functionality to the local
5966 implementation, dynamically).
5968 2001-08-18 Bill Haneman <bill.haneman@sun.com>
5970 * libspi/accessible.c:
5971 Add implementation for get_index_in_parent().
5973 Added #include of "spi-roletypes.h", and
5974 added enumerated type AccessibleCoordType.
5975 Added definition for KeystrokeListener (function type).
5978 * cspi/spi-statetypes.h :
5979 * cspi/spi-roletypes.h :
5981 Added these headers, used by spi.h.
5983 Added code (NOTE: not yet built by make).
5985 2001-08-18 Mark McLoughlin <mark@skynet.ie>
5987 * libspi/Makefile.am: generate imodule
5988 at the same time as other idl compiler
5991 2001-08-17 Bill Haneman <bill.haneman@sun.com>
5992 * libspi/registry.c :
5993 * libspi/application.c :
5994 * idl/Application.idl :
5995 Made registration with toolkit an application method,
5996 which is required since each app has its own toolkit static
5997 environment. Thus the bridge must register for
5998 notification of toolkit events from each application in turn.
5999 Toolkit notifications are now successfully registered for, and
6000 sent to the listening at client.
6002 Changed toolkit event string to use hyphens rather than underscores.
6003 * libspi/listener.c :
6004 listner now gives more info in debug mode - it reports the
6005 name of the event received, as well as the name of the source.
6008 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6010 * libspi/registry.c :
6011 added more implementation for toolkit events.
6012 Fixed bug such that toolkit event registrations
6013 (via atk) use the whole event name string, not
6015 Removed a useless call to an ORBit_ method.
6016 * at-bridge/bridge.c :
6017 Removed unused local sbuf[] variable.
6019 We now register for Gtk:GtkWidget:button_press_event
6020 events as well as "focus:" events.
6022 Add some more API from Registry.idl that was missing,
6023 for keystroke listening, keystroke and mouse event
6024 synthesis, and enumeration of accessible desktops.
6026 2001-08-16 Michael Meeks <michael@ximian.com>
6028 * configure.in: use AM_GLIB_GNU_GETTEXT.
6030 * Makefile.am (SUBDIRS): kill intl.
6032 2001-08-15 Michael Meeks <michael@ximian.com>
6034 * registryd/Makefile.am: s/oaf/server/ relocate info file.
6036 * configure.in: upd.
6038 * configure.in: depend on a recent bonobo-activation that
6039 will find our server files ...
6041 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6043 * libspi/accessible.c : accessible_new() :
6044 Now we add the Component interface via bonobo_object_add_interface,
6045 if the contained AtkObject implements AtkComponent.
6046 * libspi/accessible.h : now include "component.h"
6047 * libspi/component.h :
6048 * libspi/component.c : added files - implementation of
6049 bonobo wrapper object for Accessibility/Component
6050 * libspi/listener.c :
6051 Added test code to check for Accessibility/Component:1.0
6052 interface and report whether it is implemented by the
6054 * libspi/registry.c :
6055 Now we check for not only the hash of the whole event
6056 string before relaying the event, we also check the
6057 "minor" event string (without the detail string).
6058 This allows event listeners to be registered against
6059 all events of a certain major+minor type, or just
6060 against a specific major+minor+detail type.
6061 * libspi/accessible.c :
6062 Added implementations for Accessible:get_parent(),
6063 Accessible:getChildCount(), and Accessible:getChildAtIndex().
6064 * libspi/registry.c :
6065 * libspi/listener.c :
6066 Replaced calls to Accessibility_Accessible_ref() and
6067 Accessibility_Accessible_unref() with
6068 calls to bonobo_object_dup_ref() and
6069 bonobo_object_release_unref(), so that the CORBA object
6070 is dup-ed and released when relayed, as well as the bonobo object.
6072 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6074 * libspi/Makefile.am,
6075 registryd/Makefile.am,
6076 at-bridge/Makefile.am.
6077 test/Makefile.am, configure.in:
6078 reverse previous changes.
6080 * /idl/Image.idl: fix typo.
6082 * test/Makefile.am: put DEBUG_FLAGS
6085 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6087 * test/app.c: use argv[0] instead of
6090 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6092 * libspi/Makefile.am,
6093 registryd/Makefile.am,
6094 at-bridge/Makefile.am.
6095 test/Makefile.am, configure.in:
6096 cleanup, replace individual LIBS/CFLAGS with
6097 AT_COMMON_{LIBS|CFLAGS}.
6101 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6103 * configure.in, libspi/Makefile.am:
6104 Change IDL path checking for bonobo-activation
6107 2001-08-15 Bill Haneman <bill.haneman@sun.com>
6109 * registryd/registry.c : separated event listeners to use
6110 3 separate lists (focus, window, toolkit). Began testing
6111 event names against hashes before relaying events.
6112 * test/at.c : now register for events of type "focus:"
6113 * test/app.c : now generate events of type "focus:"
6114 * at-bridge/bridge.c : register with ATK for focus events,
6115 and we now relay those focus events to any "focus:" listeners.
6116 This now works with the bridge as a GTK_MODULE when running test/at.
6117 * libspi/registry.c :
6118 * libspi/listener.c :
6119 now we ref event sources before propagating, and unref on receipt.
6120 * libspi/registry.c :
6121 some changes to internal structs, to support event typestring hashes.
6122 * text/app.c : changed the way the appname is generated.
6123 * cspi : added directory that will hold the C bindings library for
6124 non-CORBA/bonobo-savvy clients.
6125 * cspi/spi.h : header file that contains the function prototypes for the C binding.
6126 * idl/Component.idl : added in parameter to indicate coord system for
6127 geometry-related calls.
6128 * idl/Hyperlink.idl : added readonly n_links attribute
6129 * idl/Image.idl : changed methods to attributes.
6131 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6133 * at-bridge/Makefile.am: link against
6134 ../libspi/libspi.la instead of -lspi.
6136 * at-spi/test/app.c: include
6137 bonobo-activation.h. Use a default appname
6138 if one is not provided.
6140 2001-08-14 Bill Haneman <bill.haneman@sun.com>
6142 * idl/Registry.idl : temporarily changed register_Application
6143 to oneway, to work around issue with initial registration
6145 * idl/Application.idl : changed attribute "id" from readonly
6146 to read-write, since it needs to be assigned by Registry.
6147 * registryd/registryd.c : added call to set application id
6149 * registryd/registry.c : changed de-registration procedure to
6150 use CORBA_Object_hash() to find matching object ref in application
6151 lists and listener lists.
6152 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
6153 began distinguishing between event types (work in progress).
6155 2001-08-13 Bill Haneman <bill.haneman@sun.com>
6158 * libspi/application.c:
6159 Added implementations for get/set id, get_toolkitName,
6161 * registryd/registryd.c :
6165 Converted from use of OAF to bonobo-activation.
6166 * libspi/desktop.h :
6167 * libspi/desktop.c :
6169 Removed references to atksimpleobject, since base atkobject
6170 implementation now provides functionality we need.
6171 * libspi/atksimpleobject.c :
6172 * libspi/atksimpleobject.h :
6177 * at-bridge/Makefile.am
6178 * at-bridge/bridge.c
6181 Added directory "bridge" and contents, and added dependencies
6182 in Makefile.am/configure.in.
6183 Initial checkin of "at-bridge".
6184 This code is a GTK_MODULE which automatically registers
6185 GTK+ apps with the accessibility registry, using an object
6186 reference to the root ATK object.
6188 2001-08-10 Mark McLoughlin <mark@skynet.ie>
6190 * po/Makefile.in.in: Remove. Again. If this
6191 doesn't get autogenerated - you need to update
6194 2001-08-07 Mark McLoughlin <mark@skynet.ie>
6196 * po/Makefile.in.in: Add. Again.
6198 2001-07-31 Bill Haneman <bill.haneman@sun.com>
6200 * libspi/accessible.c : added support for 'description' property.
6201 * libspi/accessible.c
6203 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
6204 (since the two are now equivalent in libbonobo)
6212 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
6213 Bonobo::Unknown as does Accessibility::Accessible.
6214 * idl/StreamableContent.idl : as above, and replaced internal InputStream
6215 interface with Bonobo::Stream, since it was redundant with it.
6216 (The Stream returned by a StreamableContext object is expected to
6217 implement only a subset of Bonobo::Stream)
6219 2001-07-28 Anders Carlsson <andersca@gnome.org>
6221 * libspi/accessible.c (accessible_object_finalize): Change
6222 g_free to g_object_unref since the AtkObject is a GObject.
6224 2001-07-30 Bill Haneman <bill.haneman@sun.com>
6226 * idl/Accessibility.idl: add new IDL files
6229 * idl/Action.idl: Definitions of actionable UI object
6230 * idl/Component.idl: Definitions of UI component geometry, etc.
6231 * idl/Hyperlink.idl: Defs of hyperlink behavior
6232 * idl/Image.idl: Def of accessible image
6233 * idl/Selection.idl: Definition of UI object with selectable children
6234 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
6235 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
6236 * idl/Text.idl: Interface defs for UI elements with complex textual content
6237 * idl/Value.idl: Definition of UI element that is a value controller or display
6239 2001-07-27 Michael Meeks <michael@ximian.com>
6241 * po/Makefile.in.in: remove autogenerated file from CVS.
6243 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
6246 * idl/Registry.idl: include guard.
6248 * idl/Accessibility.idl: Add, and include all the other IDL
6251 * idl/*.idl: remove mass of pragmas etc.
6253 2001-07-26 Michael Meeks <michael@ximian.com>
6255 * registryd/Makefile.am (registryd_SOURCES): remove
6258 2001-07-27 Mark McLoughlin <mark@skynet.ie>
6260 * libspi/.cvsignore, registryd/.cvsignore,
6261 test/.cvsignore: updated.
6263 * po/Makefile.in.in: gettext update.
6265 2001-07-25 Bill Haneman <bill.haneman@sun.com>
6267 * initial CVS checkin
6269 2001-06-29 Michael Meeks <michael@ximian.com>
6271 * configure.in: add AM_CONFIG_HEADER to gen config.h