1 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
3 * configure.in: updated ALL_LINGUAS list
5 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
7 * configure.in: Added Belarusian to ALL_LINGUAS.
9 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
11 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
13 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
14 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
16 This fixes bug #116949.
18 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
20 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
21 Correct CSPI to SPI in function documentation.
23 This fixes bug #118054.
25 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
27 * configure.in: Added Russian to ALL_LINGUAS.
29 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
31 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
33 2003-07-14 Danilo Ĺ egan <dsegan@gmx.net>
35 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
37 2003-07-10 Joel Brich <joel.brich@laposte.net>
39 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
41 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
43 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
45 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
47 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
48 resources allocated for AccessibleEvent. See cspi_event().
50 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
51 static variable streams to NULL.
53 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
54 Update so that AcessibleEvent_ref will work.
56 This fixes bug #116624.
58 2003-07-06 Jordi Mallach <jordi@sindominio.net>
60 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
62 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
64 * configure.in: Added "fr" (French) to ALL_LINGUAS.
66 2003-07-02 Christian Neumair <chris@gnome-de.org>
68 * configure.in: Added "de" (German) to ALL_LINGUAS.
70 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
72 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
74 2003-07-01 Miloslav Trmac <mitr@volny.cz>
76 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
78 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
80 * configure.in: Added "pl" to ALL_LINGUAS.
82 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
84 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
86 2003-06-30 Bill Haneman <bill.haneman@sun.com>
89 (get_action_from_servant):
90 Removed assertion that action is implemented on an AtkObject.
94 Aggregate AccessibleAction interface on the hyperlink object if
95 the object implements AtkAction. (This convention is used in
98 2003-06-30 Bill Haneman <bill.haneman@sun.com>
100 * configure.in: Revved to 1.3.5.
102 * registryd/Accessibility_Registry.server.in.in:
103 Marked up appropriate strings for translation.
105 * atk-bridge/bridge.c: Marked a couple of
106 user-visible warnings for translation. Questionable
107 whether they are really useful, but possibly so.
110 2003-06-28 Christian Rose <menthos@menthos.com>
112 * configure.in: Added "sv" to ALL_LINGUAS.
114 2003-06-26 Bill Haneman <bill.haneman@sun.com>
116 * registryd/registry.c:
117 (spi_registry_object_finalize): Unref the deviceeventcontroller.
118 (registry_defer_on_event): Defer focus: events, this is an
119 improvement to the patch for bug #108664.
121 * TODO: Update with 2.4/"Dev Complete" items.
123 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
125 * atk-bridge/bridge.c:
126 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
127 looks up signals once.
128 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
129 if doing registration.
130 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
131 when doing registration.
133 This fixes bug #115014.
135 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
137 * atk-bridge/bridge.c:
138 (atk_bridge_init): Add signal handler for children-changed:remove on
139 root when in a BonoboComponent.
140 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
141 for first toplevel only other incrememt variable toplevels.
142 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
143 application and remove listeners.
144 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
146 (spi_atk_deregister_event_listeners): New function which removes
148 (reinit_register_vars): New fuction which reinitializes variables.
150 This fixes bug #111578.
152 2003-06-13 Bill Haneman <bill.haneman@sun.com>
154 * configure.in: version 1.3.4.
156 * cspi/spi_accessible.c:
157 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
160 2003-06-13 Michael Meeks <michael@ximian.com>
162 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
164 * cspi/spi_main.c (cspi_peek_ev): impl.
166 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
168 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
170 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
172 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
173 SPI_ROLE_AUTOCOMPLETE
175 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
177 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
178 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
180 2003-06-11 Bill Haneman <bill.haneman@sun.com>
182 * libspi/streamablecontent.h:
183 * libspi/streamablecontent.c:
184 New files, provide implementation/wrappers for
185 Accessibility_StreamableContent.
187 * cspi/spi_streamablecontent.c:
188 Connected the C wrappers to the libspi C bindings.
189 (AccessibleStreamableContent_close): New method.
192 (AccessibleStreamableContent_close): New method, needed
193 since we have an "open, [seek], read, close" model in cspi.
195 2003-06-11 Bill Haneman <bill.haneman@sun.com>
197 Fix for #108664; Padraig's revision of my original patch.
199 * registryd/registry.h:
200 Added event queue list, is_queuing, and exit_notify_timeout
201 to the registry struct.
203 * registryd/registry.c:
204 (registry_init): Initialize new struct from registry.h.
205 (impl_registry_notify_event):
206 Filter events before notifying, in case some need to be
208 (registry_filter_event): New,
209 we defer certain incoming events (for instance
210 window:deactivate) because we may wish to hide
211 or reject them based on pending events. This is
212 mostly a workaround for bug #108664.
213 (registry_queue_event, registry_start_queue): New.
214 (registry_defer_on_event): Test event to see if it
216 (registry_reset_on_event): Returns TRUE if the
217 event should cause a queue reset.
218 (registry_discard_on_event): Returns TRUE if the event
219 should cause the previous queue contents to be discarded.
220 (registry_timeout_flush_queue): Flushes the pending event
221 queue if no reset/discard-triggering events have come in
222 within the timeout period.
223 (registry_emit_event): New.
224 (registry_clone_notify_context): New, used when queueing the
225 event notify contexts.
227 2003-06-10 Bill Haneman <bill.haneman@sun.com>
229 * configure.in: Version revved to 1.3.2, lt 0.9.2
230 Incremented ATK required version to 1.3.4.
232 * cspi/spi_registry.c:
233 (SPI_generateKeyEvent):
234 We now pass the keystring along if it's non-null.
236 * registryd/deviceeventcontroller.c:
237 (keysym_mod_mask): New method, returns modifier mask
238 required to generate a keysym from a given keycode.
239 (dec_synth_keysym): New method.
240 (dec_synth_keystring): New method.
241 (dec_get_modifier_state): New method.
242 (dec_lock_modifiers): New
243 (dec_unlock_modifiers): New.
244 (dec_keysym_for_unichar): New, rather brute-force
245 conversion from UCS-4 to X KeySyms. Only works for
246 Latin at the moment, with partial implementations for
247 Greek, Hebrew, and (incomplete) Katakana.
248 (impl_generate_keyboard_event): Now implement
249 "KEYSTRING" synthesis and implement "KEYSYM"
251 (keycode_from_keysym): Improved, passes a returned
252 modmask value now if the corresponding param is non-NULL.
254 Fixes bugs #92143 and #109776.
257 * test/keysynth-test.c:
258 New test program for key synthesis, to confirm fixes for
262 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
264 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
266 * cspi/spi_accessible.c (cspi_init_relation_type_table):
267 Add line for RELATION_POPUP_FOR
269 * docs/reference/cspi/tmpl/spi_relation.sgml:
270 Add relation SPI_RELATION_POPUP_FOR
272 * docs/reference/cspi/tmpl/spi_stateset.sgml:
273 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
275 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
277 * libspi/relation.c (spi_init_relation_type_table):
278 Add line for RELATION_POPUP_FOR
280 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
282 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
283 there are still windows which have not been deleted and emit
284 window:deactivate, if necessary and window:destroy events.
285 This fixes bug #114370. The change on June 5th was not correct.
287 2003-06-09 Bill Haneman <bill.haneman@sun.com>
289 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
292 (SPI_dupString): Allow dup-ing of a string such that it's safe to
294 New methods for client exception handling and interception.
295 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
296 (SPI_exceptionHandlerPop): You guessed it...
297 (SPI_getSourceType): Return the type of object which offended.
298 (SPI_getExceptionCode): Return an enum code telling, possibly,
299 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
300 (SPIAccessibleException_getSource): get the source object for
301 exceptions that come from Accessibles, if SPIExceptionSourceType is
302 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
303 (SPIException_getDescription): New, returns a string description of
304 the problem. [Not yet a stable ABI, strings are not frozen]
306 * cspi/spi-private.h:
307 Added implementation details of opaque SPIException
311 Implementations of above. Also
312 (_cspi_exception_throw): new private method that
313 dispatches exceptions to handlers, called from cspi-bonobo.c
315 * cspi/bonobo/cspi-bonobo.c:
316 (cspi_check_ev): call _cspi_exception_throw.
317 Don't print a warning message if the exception has been
318 handled by _cspi_exception_throw.
320 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
322 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
323 there are still windows which have not been deleted and emit
324 window:deactivate, if necessary and window:destroy events.
325 This fixes bug #114370.
327 2003-06-03 Bill Haneman <bill.haneman@sun.com>
330 (cspi_accessible_is_a): Make non-fatal
331 if the object reference is dead.
333 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
335 * cspi/spi_main.c: #include <stdio.h>
336 * test/simple-at.c: ditto
337 * test/event-listener-test.c: ditto
338 * test/screen-review-test.c: ditto
340 2003-05-30 Michael Meeks <michael@ximian.com>
342 * test/test-simple.c (main): use CORBA_ORB_perform_work
343 instead of an unnecessary linc_ call.
345 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
347 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
348 Add SPI_STATE_INDETERMINATE.
350 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
353 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
355 * libspi/stateset.c (init_state_type_tables): Add support for
358 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
360 * configure: Update versions of atk and gail required.
361 This fixes bug #113268.
363 2003-05-02 Bill Haneman <bill.haneman@sun.com>
365 * configure.in: Revved micro version to 1.3.1 (because of build fix).
367 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
369 * libspi/Makefile.am:
370 Ensure headers are generated before being used by c sources.
372 2003-05-01 Bill Haneman <bill.haneman@sun.com>
375 Simplified lt versioning rules.
376 Incremented version to 1.3.0, to indicate that we're on the
379 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
381 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
382 Add MKDB_OPTIONS=--outtput-format=xml
384 * docs/reference/cspi/at-spi-cspi-docs.sgml
385 docs/reference/idl/at-spi-idl-docs.sgml:
386 Convert to Docbook XML.
388 This fixes bug #111793.
390 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
392 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
393 AcccessibleKeyEventType, AccessibleKeyMaskType.
395 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
397 * cspi/state-types.h: Add documentation for AccessibleState.
399 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
400 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
401 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
402 AccessibleComponentLayer.
404 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
407 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
409 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
410 Accessible. Add description of AccessibleEvent,
411 AccessibleEventListenerCB.
413 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
416 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
417 documentation. Add description of AccessibleKeystrokeListenerCB,
418 AccessibleKeyEventMask, AccessibleModifierMaskType,
419 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
420 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
422 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
425 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
428 This fixes bug #104730.
430 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
432 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
433 Set is_text field of Accessibility_DeviceEvent data structure.
435 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
436 is-text field of AccessibleDeviceEvent data structure.
438 This addresses part of bug #108666.
440 * registryd/devcieeventcontroller.c: Unset debug option.
442 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
445 (cpi_initial_relation_type_table): New function which initializes
446 mapping between Accessibility_RelationType and AccessibleRelationType.
447 (cspi_relation_type_from_spi_relation_type): New function which
448 translates an Accessibility_RelationType into an AccessibleRelationType.
449 (AccessibleRelation_getRelationType): Use
450 cpi_relation_type_get_spi_relation_type to return correct value.
451 (spi_state_to_corba): Return correct type for default case.
453 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
454 Use Accessibility_EventType instead of Accessibility_KeyEventType.
456 * cspi/cspi-bonobo-listener.c:
457 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
460 * libspi/accessible.c, libspi/action.c, libspi/application.c,
461 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
462 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
463 libspi/image.c, libspi/listener.c, libspi/selection.c,
464 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
465 registryd/desktop.c, registryd/registry.c:
466 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
468 * libspi/eventlistener.c
469 Remove semicolon after BONOBO_TYPE_FUNC.
472 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
473 (spi_init_relation_type_table): Initialize using correct type.
475 * registryd/desktop.c:
476 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
477 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
478 of Accessibility_KeyEventType.
480 * test/key-listener-test.c (report_tab_key_event): Use fprintf
483 * tests/simple-at.c, tests/screen-review-test.c:
484 Add include for <strings.h>.
486 * tests.stress-test.c:
487 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
489 These changes fix compiler warnings when using FORTE compiler on
490 Solaris; fixes bug #107479.
493 2003-04-10 Bill Haneman <bill.haneman@sun.com>
496 * configure.in: revved to 1.1.10
499 (SPI_KEYMASK_NUMLOCK): Added.
501 * registryd/deviceeventcontroller.c:
502 (spi_key_event_matches_listener): AND with a smaller
503 bitmask (as we should).
504 (spi_dec_translate_mask):
505 New method, sets the virtual NumLock modifier bit
506 if numlock is on. Eventually it can handle other virtual
507 modifier bits if needed, or other marshalling from
508 at-spi modifier masks to platform (X) masks.
509 (spi_dec_key_listener_new):
510 Call spi_dec_translate_mask to set up virtual mod bits
511 in the 'mask' field when creating a new listener struct.
512 (spi_dec_emit_modifier_event):
513 Set the virtual (i.e. NumLock) bits before emitting event.
514 (spi_controller_register_with_devices):
515 Query for the NumLock modifier 'physical' bit if Xkb is
516 present, for use in above methods.
520 2003-04-10 Bill Haneman <bill.haneman@sun.com>
522 * registryd/deviceeventcontroller.c:
523 (spi_keystroke_from_x_key_event):
524 Instead of checking to see if the keysym is
525 printable, check the string from XLookupString
526 if available, get the first unicode character from it,
527 and call g_unichar_isprint to determine whether the
528 is_text flag should be TRUE or FALSE.
532 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
534 * atk-bridge/bridge.c: Add support for extended events
535 * cspi/spi_event.c: Add documentation and implementation for
537 * tests/event-listener-test.c: Add tests for extended events.
539 This fixes bugs #100424 and #100426.
541 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
543 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
544 of LT_CURRENT. This fixes bug #89350.
546 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
548 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
549 number of signal parameter values before accessing them. This fixes
552 2003-04-01 Bill Haneman <bill.haneman@sun.com>
554 * configure.in: Fixed duplicate inclusion of -lspi.
555 * branched for gnome-2-2/HEAD.
556 [created tag "gnome-2-2"]
558 2003-03-07 Bill Haneman <bill.haneman@sun.com>
560 * configure.in: 1.1.9 release.
563 2003-03-07 Bill Haneman <bill.haneman@sun.com>
565 [needed by GOK, to fix bugs 107985 and 107988]
566 * registryd/deviceeventcontroller.c:
567 (spi_dec_clear_unlatch_pending):
568 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
569 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
570 (spi_dec_init_mouse_listener):Emit warning if mouse button
572 (spi_device_event_controller_forward_mouse_event):
573 Removed unnecessary parens from a conditional.
574 (global_filter_fn):Added TODO comment.
575 (impl_generate_keyboard_event):
576 Cancel a pending relatch if a 'delatching' key was
579 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
581 * atk-bridge/bridge.c:
582 Change atk_signal_child_changed to atk_signal_children_changed.
583 Reorganize code in spi_atk_bridge_signal_listener().
585 * test/event-listener-test.c:
586 Add children_changed_listener and report_children_changed_event()
587 to test AccessibleChildEvent_getChildAccessible.
589 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
591 * cspi/spi_event.c (cspi_internal_event_get_text): Change
592 g_strdup to CORBA_String_dup (bug #105291)
594 * test/event-listener-test.c (report_text_event): Add call to
597 2003-02-28 Bill Haneman <bill.haneman@sun.com>
599 * registryd/deviceeventcontroller.c:
600 (spi_keystroke_from_x_key_event):
601 Fix string and keysym return codes to match modifier state.
604 2003-02-28 Bill Haneman <bill.haneman@sun.com>
606 * registryd/deviceeventcontroller.c:
607 (spi_keystroke_from_x_key_event):
608 Fix segv due to improper use of isprint(c). [bug #107254]
610 2003-02-24 Bill Haneman <bill.haneman@sun.com>
613 (get_accessible_text_boundary_type):
614 Move default return value to (new) default case in switch.
615 (get_accessible_text_clip_type):
616 Move default return value to (new) default case in switch.
618 * libspi/application.c:
619 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
620 Remove unused methods.
621 (impl_accessibility_application_register_object_event_listener):
622 Remove unused methods.
625 Added #include of <math.h>.
627 * registryd/deviceeventcontroller.c:
628 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
629 we don't currently use this method.
630 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
632 (impl_generate_key_event):
633 Remove unused variables.
634 (impl_generate_mouse_event):
635 Initialize button to zero, just in case we get an invalid
636 input. Added support for mouse buttons 4 and 5.
637 (spi_device_event_controller_new):
638 Removed unused variable declaration for 'private'.
640 Added #include of <gdk/gdk.h>
642 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
644 * configure.in: Update to work when X is not installed in expected
645 location. Fixes bug #105836.
647 * atk-bridge/bridge.c
648 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
650 (spi_atk_register_event_listener): Add signal listener for
652 (spi_atk_bridge_signal_listener): Event event when link-selected
653 signal is emitted. (bug #104622)
655 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
656 on returned string. (bug #105291)
658 * test/event-listener-test.c: Add test for link-selected.
660 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
662 * atk-bridge/Makefile.am: Correct typo in previous commit.
664 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
666 * atk-bridge/Makefile.am: Allow for build directory to be different
667 from source directory
669 * registryd/Makefile.am: Allow for build directory to be different
670 from source directory
674 2003-01-29 Bill Haneman <bill.haneman@sun.com>
677 Fixed dependencies for libcspi so that libspi gets pulled in
678 properly. Fixes 104741.
682 Clean up inline docs a little.
684 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
686 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
687 This is done by implementing AtkComponent for SpiAtkDesktop, which is
688 the AtkObject within an SpiDesktop.
689 This addresses bug #101524.
691 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
692 Remove call to gdk_init().
694 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
695 so that Display is set when SpiDesktop is created.
697 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
699 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
700 This fixes bug #102830.
702 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
704 * test/test-simple.c: Update to take account of fact that GailButton
705 now implements AtkText.
706 (create_text_window): Set name on AtkObject for GtkEntry.
707 (validate_accessible): Check accessible name before calling test_text().
709 * libspi/Makefile.am: Fix problem with building outside of source
710 directory. Bug #98120.
712 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
713 typo in documentation comments. Bug #94275.
715 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
717 * libspi/text.c (impl_getBoundedRanges): Bug fix.
719 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
722 Add includes to avoid compiler warnings on Solaris.
723 (impl_getRangeExtents): Bug fix.
725 2002-12-17 Bill Haneman <bill.haneman@sun.com>
727 Fix for 100944, [API addition approved by Gman and murrayc].
734 * idl/Accessibility_Text.idl:
735 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
736 (Text::getRangeExtents): New method for efficient
737 bounds query of a text range.
738 (Text::getBoundedRanges): New method for efficient
739 clipping of text to bounding boxes.
740 (unImplemented7, unImplemented8):
741 Removed these padding methods to preserve bincompat.
744 (impl_getRangeExtents): implementation of new IDL.
745 (impl_getBoundedRanges): implementation of new IDL.
746 (SpiTextRect): Internal use struct.
747 (_spi_text_rect_union): internal method, calculates union of two
748 SpiTextRect bounding rects.
749 (_spi_text_range_seq_from_gslist): internal method, allows us
750 to build our sequence efficiently as a gslist then convert it
752 (_spi_bounds_contain): internal method, determines whether
753 a text character is "in" or "out" of a clip rect according to
754 values of TEXT_CLIP_TYPE.
755 (spi_text_class_init): Initialize the new methods in the epv.
758 (AccessibleTextClipType): New enum used by screen review api.
759 (AccessibleTextRange): New struct used by screen review api.
760 (AccessibleText_getRangeExtents):
761 cspi binding for Accessibility_Text_getRangeExtents.
762 (AccessibleText_getBoundedRanges):
763 cspi binding for Accessibility_Text_getBoundedRanges.
764 (AccessibleTextRange_freeRanges): convenience method.
767 (AccessibleText_getRangeExtents):
768 cspi binding for Accessibility_Text_getRangeExtents.
769 (AccessibleText_getBoundedRanges):
770 cspi binding for Accessibility_Text_getBoundedRanges.
771 (AccessibleTextRange_freeRanges): convenience method.
772 (get_accessible_text_clip_type): internal conversion method.
773 (get_accessible_text_ranges_from_range_seq): internal conversion method.
775 * registryd/deviceeventcontroller.c:
776 (spi_dec_mouse_check):
777 Improved behavior for mouse:abs events
778 [same granularity as mouse:rel events, and no
779 events when mouse is idle].
781 2002-12-16 Michael Meeks <michael@ximian.com>
783 * cspi/spi_accessible.c (spi_state_to_corba): rename.
785 * libspi/stateset.c (state_spi_to_atk): split out
786 ( fix several remote array bounds nasties )
787 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
788 (impl_remove): make safe from array bounds issues.
789 (spi_atk_state_from_spi_state): impl.
791 * libspi/stateset.h (spi_state_set_cache_is_empty):
792 add a set of wrapper defines to get layering right.
794 * cspi/spi_accessible.c: update state set stuff to
797 2002-12-14 Michael Meeks <michael@ximian.com>
799 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
800 to avoid 2 roundtrips to the registry per key event
801 (spi_atk_bridge_key_listener): upd.
802 (deregister_application): release the dec.
804 * registryd/registry.c (notify_listeners_cb):
805 bin lots of re-enterant complexity - we no longer
806 do a round-trip bonobo ref here, ensure that a single
807 listener's exception failure won't poison all other
809 (impl_registry_notify_event): bin obvious memory leak.
811 2002-12-13 Michael Meeks <michael@ximian.com>
813 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
814 init the ev so the error is meaningful.
815 (spi_atk_bridge_key_listener): ditto.
817 * cspi/spi_main.c (cspi_ev): init the ev so we start
818 with a clean slate, otherwise the first exception
821 * cspi/spi_text.c (get_accessible_text_boundary_type):
822 add a fallthrough for no warnings.
824 * cspi/spi_registry.c: prune unused warnings.
826 * cspi/spi_main.c (cspi_object_take): fix
827 mind-blowing brokenness ( by watching the compile
830 * cspi/spi_accessible.c (Accessible_getStateSet):
831 re-impl. to use an AtkStateSet.
832 (spi_state_type_from_accessible_state),
833 (init_state_table): bin these.
835 * libspi/stateset.c (spi_atk_state_set_from_sequence):
837 (atk_state_set_from_accessibility_state_set): here.
839 * cspi/spi_accessible.c (spi_state_to_atk): impl.
840 (AccessibleStateSet_contains, AccessibleStateSet_ref),
841 (AccessibleStateSet_unref, AccessibleStateSet_contains),
842 (AccessibleStateSet_add, AccessibleStateSet_remove),
843 (AccessibleStateSet_equals, AccessibleStateSet_compare),
844 (AccessibleStateSet_isEmpty): re-write to use a local
847 2002-12-13 Bill Haneman <bill.haneman@sun.com>
849 * configure.in: Revved to 1.1.7 (new keymask vals).
851 2002-12-10 Bill Haneman <bill.haneman@sun.com>
854 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
856 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
859 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
860 to compare two CORBA_TypeCodes.
861 (cspi_internal_event_add): Silence warning from FORTE compiler.
863 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
864 avoid implicit declaration of functions.
866 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
868 * atk-bridge/bridge.c:
869 (spi_atk_bridge_init_event_type_consts): Store signal id for
870 active-descendant-changed signal.
871 (spi_atk_register_event_listeners): Add signal listener for
872 active-descendant-changed signal,
873 (spi_atk_bridge_signal_listener): Move code in function
874 spi_atk-signal_emit_event() into this function.
875 Add support for active-descendant-changed
876 Update support for child-changed signal.
877 (spi_bridge_window_event_listener): Silence warning.
879 * libspi/spi_private.[ch]:
880 (spi_init_any_object): Change second parameter from CORBA_Object to
882 Omit call to CORBA_Object_duplicate().
883 Set CORBA_any's _value to CORBA_Object*.
885 2002-12-06 Bill Haneman <bill.haneman@sun.com>
891 (AccessibleEvent_ref, AccessibleEvent_unref):
892 New methods, for persisting an event outside the emission context.
893 Must be used if the new accessor methods are to be called
894 outside of the event listener's callback.
896 * cspi/bonobo/cspi-bonobo.c:
897 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
898 as second parameter instead of NULL, so we can call
899 cspi_check_ev afterwards.
902 (cspi_object_take): New internal method,
903 converts a CORBA_Object reference to a hard ref on
904 an Accessible if possible, returning NULL if the object
905 reference is invalid or an Accessible * otherwise.
908 (AccessibleEvent_ref):
909 Increment the event's internal private refcount, and
910 add the event's internal struct to an internal cache
911 if it's not already there.
912 (AccessibleEvent_unref):
913 Decrement the event's refcount and remove it from
914 the cspi event cache if refcount==0.
915 (cspi_event_compare): New private method.
916 Compares two event structs via their ids. Used
918 (cspi_internal_event_lookup): New private method.
919 (cspi_internal_event_check): New private method,
920 a 0-order sanity check for events to make sure their
921 private data is intact.
922 (cspi_internal_event_add, cspi_internal_event_remove):
923 New private methods for managiing the event cache.
925 * cspi/bonobo/cspi-bonobo-listener.c:
927 Initialize the new private data elements (id, magic, ref_count).
929 * atk-bridge/bridge.c:
930 (spi_atk_bridge_signal_listener):
931 Fixed bug #100530, passing wrong params to emission func.
933 * registryd/deviceeventcontroller.c:
934 (spi_dec_button_update_and_emit):
935 Fixed type in mask bit operations; fix for #99799.
937 2002-12-02 Bill Haneman <bill.haneman@sun.com>
939 Removed some of the more dangerous workarounds from
940 previous commit; they are only needed by GOK, which
941 in reality should be using another method to accomplish
942 the goals. So on reconsideration some of the workarounds
945 * registryd/deviceeventcontroller.c:
946 (spi_keycodes_contain, spi_dec_init_keycode_list):
947 Removed these methods, used only by a nasty hack to try
948 and detect whether a key synthesis should be allowed
949 to reset the XKB latch state or not. This code was only
950 required to work around an interaction between GOK,
951 button events, and XKB.
952 (impl_generate_key_event):
953 Removed hack at end of key generation that tried to
954 "do the right thing" if XKB latch keys were generated
955 in the midst of button press/release pairs.
958 Added a check for HAVE_XINPUT. Not normally used yet.
960 2002-11-25 Bill Haneman <bill.haneman@sun.com>
962 Workarounds and fixes for mouse event/XKB interaction.
964 * registryd/deviceeventcontroller.c:
965 (spi_keycodes_contain, spi_dec_init_keycode_list):
966 New internal methods.
967 (spi_dec_set_unlatch_pending):
968 Split the method that tells XKB to expect an
969 unlatch (and revert it) out of the rest of the
970 event handling code. This method is called by the
971 two mouse event handlers (the poll and the filter).
972 (spi_dec_update_and_emit, spi_dec_mouse_check):
973 New methods split from spi_dec_poll_mouse_moved.
974 The second one is now called from inside the filterFn
975 when an XKB delatch event is received, to determine
976 whether to revert the delatch or not.
977 (spi_poll_mouse_moved): Refactor; also we can now
978 properly handle the case where multiple button states
979 have changed between polling cycles and we didn't get
980 notified due to another client's grab.
982 Synchronize the server while handling an XKB notification.
983 Ugly, but apparently necessary to avoid nasty races.
984 Check the mouse state on receipt of an XKB latch change,
985 to decide whether to revert the latch or not. (Latches are
986 reverted if there is an immediately preceding mouse button
987 event that a client has consumed, in which case we don't want
988 the user to see the side-effect of the event).
989 (spi_device_event_controller_forward_mouse_event):
990 Check for modifier events and fire before resetting mouse_mask_state,
991 prevents losing modifier events.
993 (impl_generate_keyboard_event):
994 If we've just generated a keyboard event for a non-shift key,
995 we don't want to revert the pending XKB latch.
996 Otherwise, check the modifier state (via a call to
997 spi_dev_mouse_check) and set the relatch mask to
998 that state before returning.
1000 2002-11-24 Bill Haneman <bill.haneman@sun.com>
1003 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
1006 * atk-bridge/bridge.c:
1007 (spi_atk_register_event_listeners):
1008 Don't re-register for ATK events if the registry has died
1009 and the app needs to re-register; the ATK listeners are in
1010 process and doing so will cause duplicate emission.
1012 * registryd/deviceeventcontroller.c:
1013 (spi_poll_mouse_moved):
1014 Reformat the source, detect and emit multiple button-change
1015 events (i.e. if multiple buttons have changed between poll
1017 Add code to detect mouse-down events even when the pointer
1018 is grabbed; workaround for GOK bug 98420.
1019 (spi_controller_register_with_devices):
1020 Call XTestGrabControl with 'impervious' flag set to True,
1021 allows us to synthesize events and query the pointer even during
1022 an active grab by another client.
1023 (spi_device_event_controller_forward_mouse_event):
1024 Set the mouse_mask_state to the mouse_button_state from
1025 the intercepted event, to synchronize the grab listener with
1028 2002-11-20 Bill Haneman <bill.haneman@sun.com>
1030 * cspi/spi_accessible.c:
1031 (AccessibleRole_getName):
1032 Added necessary strings for making this (deprecated)
1033 method work with the new role types.
1034 (init_role_table, role_table):
1035 Added definition of SPI_ROLE_APPLICATION.
1037 * libspi/spi-roletypes.h:
1038 Added SPI_ROLE_APPLICATION.
1040 * idl/Accessibility_Role.idl:
1041 Added ROLE_APPLICATION.
1043 * docs/reference/cspi/at-spi-cspi-decl.txt:
1044 Added SPI_ROLE_APPLICATION to docs.
1046 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
1048 * cspi/spi_accessible.c
1049 (cspi_init_role_table): Do not write beyond end of role_table.
1050 (Accessible_getRole): Use correct type for value returned by
1051 Accessibility_Accessible_getRole().
1053 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
1054 beyond end of role_table. (This fixes bug #98269)
1056 * libspi/application.c: Add include file spi-private.h for
1057 definition of spi_init_any_nil.
1059 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1063 * libspi/spi-private.h:
1064 Added DGB() macro, and extern int _dbg declaration.
1066 * registryd/registry.c:
1067 (definitions) storage for _dbg.
1068 (spi_registry_init):
1069 Get environment variable "AT_SPI_DEBUG".
1070 (spi_registry_set_debug):
1071 New method, to initialize _dbg value.
1072 (spi_listener_struct_new, spi_registry_object_finalize):
1073 (notify_listeners_cb):
1074 Changed fprintfs to use DBG and g_warning().
1076 * registryd/deviceeventcontroller.c:
1077 (_deregister_keygrab, spi_controller_register_device_listener):
1078 Changed debug/warning messages to use DBG macro.
1080 * libspi/listener.c:
1081 (impl_notify_event):
1082 Changed warning messages to use DBG macro and g_warning().
1084 * atk-bridge/bridge.c:
1085 (atk_bridge_init, spi_atk_bridge_get_registry):
1086 (spi_atk_bridge_exit_func):
1087 (spi_atk_bridge_property_event_listener):
1088 Changed status, warning, and error messages to use
1089 g_warning, g_message, and DBG macros.
1092 Read the state of the AT_SPI_DEBUG environment variable
1093 and set a local '_dbg' accordingly.
1095 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1097 FIXES for 98836, 98842, other bugs.
1100 Revved to 1.1.4, interface-age=4, binary-age=4.
1102 * registryd/deviceeventcontroller.c:
1104 Fixed crasher bug in last_mouse_pos initialization.
1106 * registryd/registry.c:
1107 (desktop_add_application, desktop_remove_application):
1108 Added (and then commented out) some support for
1109 object context marshalling. [TODO]
1111 * atk-bridge/bridge.c:
1112 (spi_atk_bridge_event_context_create):
1113 Commented out object context creation until it can
1114 be properly tested and debugged.
1116 * registryd/registry.c:
1117 (impl_registry_notify_event):
1118 Fixed crasher bug, we were calling
1119 spi_re_entrant_list_foreach () with an empty list.
1121 2002-11-18 Bill Haneman <bill.haneman@sun.com>
1123 * idl/Accessibility_Action.idl:
1124 * idl/Accessibility_Component.idl:
1125 * idl/Accessibility_Desktop.idl:
1126 * idl/Accessibility_Event.idl:
1127 * idl/Accessibility_Hyperlink.idl:
1128 * idl/Accessibility_Image.idl:
1129 * idl/Accessibility_Relation.idl:
1130 * idl/Accessibility_Selection.idl:
1131 * idl/Accessibility_State.idl:
1132 * idl/Accessibility_Value.idl:
1133 Updated unimplemented slot count to minimum of
1134 four for all interfaces, for ABI freeze.
1136 * idl/Accessibility_EditableText.idl:
1137 * idl/Accessibility_Text.idl:
1138 Updated unimplemented slot count to six
1141 * idl/Accessibility_Registry.idl:
1142 Updated unimplemented slot count to six
1143 (also for DeviceEventController),
1146 * idl/Accessibility_Table.idl:
1147 Updated unimplemented slot count to eight,
1150 * idl/Accessibility_Event.idl:
1151 Added CORBA_any "any_data" member to Event struct.
1153 * idl/Accessibility_Event.idl:
1154 Added CORBA_any "any_data" member to Event struct.
1156 * atk-bridge/bridge.c:
1158 atk_signal_text_changed, atk_signal_child_changed,
1159 signal ids queried from gtype system.
1160 (AtkBridgeEventContextType): New enum.
1161 (AtkBridgeEventContextData): New struct.
1162 (AtkBridgeEventContext): New struct.
1163 (atk_bridge_init_event_type_consts):
1164 New method, initializes type contants for comparison
1165 prior to emit_eventv.
1166 (atk_bridge_event_context_init): New method,
1167 initializes a CORBA_any from an AtkBridgeEventContext.
1168 (atk_bridge_focus_tracker): Call spi_init_any_nil to
1169 initialize the event.any_data struct.
1170 (spi_atk_bridge_event_context_create): New method,
1171 creates an AtkBridgeEventContext from signal/event info.
1172 (spi_atk_bridge_event_context_free): New method.
1173 (spi_atk_emit_eventv): Changed to take an
1174 AtkBridgeEventContext parameter. We now initialize
1175 the event.any_data member prior to notifying the
1176 Registry, via the AtkBridgeEventContext.
1177 (spi_atk_bridge_property_event_listener):
1178 (spi_atk_bridge_state_event_listener):
1179 Match emit_eventv signature.
1180 (spi_atk_bridge_object_event_listener):
1181 Match emit_eventv signature, and create an
1182 event context from the event details.
1183 Free the event context afterwards.
1184 (spi_atk_bridge_window_event_listener):
1185 Create an event context, pass it to the
1189 (AccessibleEvent_getContextString):
1190 (AccessibleEvent_getContextObject):
1191 New methods, allow query of AccessibleEvent objects
1192 for more context details (via the "any_data" member
1193 of the Event struct, above).
1196 Definitions for AccessibleEvent_getContextString
1197 and AccessibleEvent_getContextObject.
1199 * cspi/spi_listener.h:
1200 (InternalEvent): New struct.
1203 (AccessibleEvent_getContextString):
1204 (AccessibleEvent_getContextObject):
1205 Implementations of new methods, for obtaining
1206 additional context information from some event types.
1208 * cspi/spi_registry.c:
1209 (SPI_registerGlobalEventListener):
1210 Added mention of active-descendant-changed event in docs.
1212 * cspi/cspi-bonobo-listener.c:
1214 Marshal the any into the AccessibleEvent via
1217 * libspi/spi-private.h:
1218 #include <orbit/orbit.h>
1220 (spi_init_any_string):
1221 (spi_init_any_object):
1222 New convenience function declarations.
1226 (spi_init_any_string):
1227 (spi_init_any_object):
1228 New convenience function implementations.
1230 * registryd/deviceeventcontroller.c:
1231 (spi_poll_dec_mouse_moved):
1232 (spi_device_event_controller_forward_mous_event):
1233 Initialize any_data member of event.
1234 (spi_deregister_controller_device_listener):
1235 Fix incorrect param pass which was preventing deregistration.
1237 * registryd/registry.c:
1238 (desktop_add_application):
1239 (desktop_remove_application):
1240 Add object data to event's any_data before dispatch.
1242 Fix for error messages from GAIL.
1244 * test/event-listener-test.c:
1245 Test new ContextString and "any_data" API:
1246 (report_text_event): New method query and output context string.
1247 (main): register a new text listener with report_text_event
1250 2002-11-19 Darren Kenny <darren.kenny@sun.com>
1252 Fixes for bugs 98127 and 97914.
1253 * cspi/spi-roletypes.h:
1254 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
1256 * cspi/spi-statetypes.h:
1257 Added SPI_STATE_MANAGES_DESCENDANTS
1259 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
1260 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
1261 * cspi/spi_accessible.c:
1262 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
1263 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
1264 Accessibility_STATE_MANAGES_DESCENDANTS
1265 * libspi/accessible.c:
1266 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
1267 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
1268 As requested by Bill, I also cleaned up the alignment.
1269 * libspi/relation.c:
1270 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
1271 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
1272 * libspi/stateset.c:
1273 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
1274 Accessibility_STATE_MANAGES_DESCENDANTS
1275 * docs/reference/cspi/tmpl/spi_accessible.sgml:
1276 Document changes reflecting modifications to roles.
1277 * docs/reference/cspi/tmpl/spi_relation.sgml:
1278 Document changes reflecting modifications to relations.
1279 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1280 Document changes reflecting modifications to states.
1282 2002-11-17 Bill Haneman <bill.haneman@sun.com>
1285 Revved to 1.1.3, interface-age=3, binary-age=3.
1286 Added REBUILD macro.
1289 Removed accessx-gui from the tests, since we have a nice
1290 keyboard accessibility capplet now :-)
1292 * test/keysynth-demo.c:
1293 (increment_scan): removed do-nothing default: case,
1296 * test/visual-bell.c:
1297 (main) : removed do-nothing default: case,
1300 * cspi/spi_action.c:
1301 (AccessibleAction_getKeyBinding_):
1302 Documented keybinding string format.
1306 (AccessibleText_getAttributes):
1307 Documented the text attribute string format.
1308 It's changed to use semicolon delimiters also,
1309 to prevent clashes with CSS attributes, but the old
1310 trick of looking for ", " strings will still work
1311 (as unreliably as ever). Fix for bug related to 97916.
1314 Include <cspi/bonobo/cspi-bonobo-listener.h>
1315 Fixes build warning.
1316 (SPI_freeAccessibleKeySet):
1317 (AccessibleKeystrokeListener_addCallback):
1318 (AccessibleKeystrokeListener_removeCallback):
1319 Modify to use AccessibleDeviceListener API internally,
1320 instead of AccessibleKeystrokeListener.
1322 * idl/Accessibility_Event.idl:
1323 Added two more empty slots to EventListener (for a total of four).
1325 * idl/Accessibility_Accessible.idl:
1326 Added four empty slots to Accessible interface.
1328 2002-11-15 Bill Haneman <bill.haneman@sun.com>
1330 * idl/Accessibility_Registry.idl:
1331 (KeyEventType, EventType):
1332 Marked KeyEventType as deprecated; it duplicates
1333 functionality of EventType, which has been extended to
1334 include Mouse-button events.
1335 (KeyEventTypeSeq): defined in terms of EventType.
1336 (registerDeviceEventListener, deregisterDeviceEventListener):
1337 New methods, for managing listeners to device events,
1338 which potentially may consume them.
1341 Added definition for AccessibleDeviceListener.
1343 * cspi/spi-listener.h:
1344 (enum AccessibleDeviceEventType):
1345 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
1346 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
1347 for backwards compat.
1348 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
1349 and typedef'd AccessibleKeystroke to it for back-compat.
1350 (AccessibleDeviceListenerCB):
1351 New function prototype typedef.
1354 (AccessibleDeviceEventMask): New typedef.
1355 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
1356 (AccessibleKeyMaskType):
1357 Set equivalent to AccessibleModifierMaskType for back-compat.
1358 (SPI_createAccessibleKeystrokeListener):
1359 (AccessibleKeystrokeListener_unref):
1360 Deprecated in favor of equivalent (better-named) new API below..
1361 keystroke listeners are like all device listeners.
1362 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
1363 New API names for old features :-).
1364 (AccessibleDeviceListener_addCallback):
1365 (AccessibleDeviceListener_removeCallback):
1366 (SPI_registerDeviceEventListener):
1367 (SPI_deregisterDeviceEventListener):
1371 (SPI_createAccessibleKeystrokeListener):
1372 Use new preferred API, cspi_device_listener_new() and
1373 cspi_device_listener_add_cb().
1374 (AccessibleKeystrokeListener_removeCallback):
1375 Use new preferred API, cspi_device_listener_remove_cb().
1376 (AccessibleKeystrokeListener_unref):
1377 Use new preferred API, cspi_device_listener_unref().
1378 (SPI_createAccessibleDeviceListener):
1379 (AccessibleDeviceListener_addCallback):
1380 (AccessibleDeviceListener_removeCallback):
1381 Implementation of new API.
1383 * cspi/spi_registry.c:
1384 (SPI_registerDeviceEventListener):
1385 (SPI_deregisterDeviceEventListener):
1386 Implementation of new API. Fixed memory leak and removed need to
1387 allocate EventTypeSeq (thanks Michael for catching this).
1388 Squashed a wayward CORBA_exception_free that shouldn't get called.
1390 * cspi/bonobo/cspi-bonobo-listener.c:
1392 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
1393 (cspi_key_event): renamed to cspi_device_event().
1394 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
1395 Extended to handle mouse button events as well as key events.
1396 (CSpiKeystrokeListener):
1397 Class superceded by CSpiDeviceListener.
1398 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1399 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1401 * cspi/bonobo/cspi-bonobo-listener.h:
1402 (CSpiKeystrokeListener):
1403 Class superceded by CSpiDeviceListener.
1404 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1405 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1407 * libspi/Makefile.am:
1408 Replaced keystrokelistener.h and keystrokelistener.c
1409 with devicelistener.h and devicelistener.c; keystrokelisener.h
1410 stub retained for back-compat.
1412 * libspi/keystrokelistener.c:
1416 Replaced inclusion of keystrokelistener.h with devicelistener.h.
1418 * registryd/deviceeventcontroller.c:
1419 (DEControllerListener): Added Accessibility_EventTypeSeq member.
1420 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
1421 (DEControllerPrivateData): Added xkb settings data.
1422 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
1423 button release events (which can't be captured via XGrabButton).
1424 Don't dispatch via the 'normal' event mechanism if the device event was
1426 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
1427 Handle the typeseq data in its new location (see above).
1428 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
1429 New methods, for "generic" device listeners.
1430 (spi_controller_register_device_listener):
1431 Now handle mouse event listeners as well as key listeners.
1432 (spi_controller_notify_mouselisteners):
1433 New internal method.
1434 (spi_device_event_controller_forward_mouse_event):
1435 Now we notify mouse device listeners as well as generating the
1436 non-consumable "mouse:" events.
1438 We must check and restore the XKB
1439 modifier map if we consume the event, since the act of triggering
1440 a mouse event will normally reset the XKB latch. This is required for
1442 (spi_controller_register_with_devices):
1443 Load the XKB settings when registering, and register for XKB
1444 state notify events.
1445 (spi_key_eventtype_seq_contains_event):
1446 Renamed spi_eventtype_seq_contains_event, since it's used
1447 internally for all device event types now.
1448 (spi_key_event_matches_listener):
1449 Uses spi_eventtype_seq_contains_event now.
1450 (spi_device_event_controller_object_finalize):
1451 Free the private data and the XkbKeyboard struct.
1452 (impl_register_device_listener, impl_deregister_device_listener):
1453 Implementation of new IDL.
1454 (spi_deregister_controller_device_listener):
1455 New internal method.
1456 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
1457 More efficient implementation, we don't have to create a new
1458 XkbControls structure every time we query.
1459 (spi_device_event_controller_class_init):
1460 Initialize the epv entries for the new IDL. Assign the
1461 "spi-dec-private" quark.
1462 (spi_device_event_controller_init):
1463 Initialize the private data.
1464 (spi_device_event_controller_forward_key_event):
1465 Removed a bogus CORBA_exception_free() call.
1467 * registryd/deviceeventcontroller.h:
1468 Replaced inclusion of keystrokelistener.h with
1471 * test/event-listener-test.c:
1472 (report_mouse_event):
1475 Added mouse-event device listener.
1477 * test/test-simple.c:
1478 (create_test_window):
1479 Fixed regression (we were instantiating a GtkRange,
1480 which is now an abstract class). Also fixed to match
1481 existing AtkRole names, this seems to have changed in ATK
1482 awhile ago; too late now I think, and the new
1483 mechanism is at least elegant and consistent with the
1484 glib enum "nick" APIs.
1486 2002-11-15 Darren Kenny <darren.kenny@sun.com>
1488 * idl/Accessibility_Relation.idl:
1489 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
1490 RELATION_EMBEDS,RELATION_EMBEDDED_BY
1491 * idl/Accessibility_Role.idl:
1492 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
1493 * idl/Accessibility_State.idl:
1494 add STATE_MANAGES_DESCENDANTS
1495 * test/event-listener-test.c:
1496 Added a listener for active-descendant events.
1498 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
1500 * atk-bridge/bridge.c
1501 (atk_bridge_init): If application is Bonobo component wait until top
1502 level is added before registering
1503 (spi_atk_bridge_do_registration): New function which contains code,
1504 formerly in atk_bridge_init, to do application registration.
1505 (spi_atk_bridge_toplevel_added): Signal called when top level
1506 added to Bonobo component
1508 This fixes bug #83134.
1510 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
1512 * registryd/deviceeventcontroller.c
1513 Fixed compilation error caused by calling gettimeofday()
1516 2002-10-18 Bill Haneman <bill.haneman@sun.com>
1521 Added template for HAVE_XKB.
1524 Changes to check for XKB, and to set the HAVE_XKB #define if it
1527 * libspi/listener.c:
1528 ()impl_notify_event): Make failure to get event source name
1531 * registryd/deviceeventcontroller.c:
1532 (#include): include X11/XKBlib.h.
1533 (DEControllerPrivateData) : New struct.
1534 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
1536 (dec_synth_keycode_press) (dec_synth_keycode_release):
1537 New methods; split the key synthesis code into these methods.
1538 They check XKB settings before determining the "time" values to
1539 pass to Xtest; this fixes bug #95828.
1540 (impl_generate_keyboard_event): Changed to use methods above,
1541 instead of callng Xtest directly.
1542 (spi_device_event_controller_init): Initialize new privae struct s
1544 (spi_device_event_controllr_object_finalize):
1545 Free the (new) private data.
1547 * registryd/deviceeventcontroller.h:
1548 Add new gpointer to end of struct data.
1550 2002-10-16 Bill Haneman <bill.haneman@sun.com>
1553 Incremented revision to 1.1.2, SONAME is still '.so', library
1554 extensions are ".so.0.0.2".
1556 * registryd/deviceeventcontroller.c:
1557 FIXES FOR #93592 and #95940.
1558 (statics): renamed mouse_button_state to mouse_mask_state,
1559 added key_modifier_mask.
1560 (spi_dec_poll_mouse_moved):
1561 Added key modifier checks, and emit "keyboard:modifiers"
1562 events when the key modifiers currently in use change.
1563 Also generate "mouse:abs" events periodically, even if the mouse
1564 is stationary (should we?).
1565 Alternatively we could generate "mouse:abs" events for either all
1566 mouse movements, or every 'nth' mouse movement, or at the
1567 beginning and end of every "active" mouse period.
1569 * test/event-listener-test.c:
1570 (main): Added listener for "keyboard:modifiers" events.
1572 2002-10-15 Bill Haneman <bill.haneman@sun.com>
1574 * libspi/keymasks.h:
1575 Added key mask #defines for mouse buttons; e.g.
1576 SPI_KEYMASK_BUTTON1, etc.
1579 Incremented dependency on ATK to version 1.1.0. (This dependency
1580 is probably premature but will soon be real enough).
1582 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
1584 * libspi/hyperlink.[ch]
1585 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
1586 (get_hyperlink_from_servant): Check object is AtkHyperlink not
1589 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
1594 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
1596 * registryd/deviceeventcontroller.c
1597 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
1598 events to be ignored.
1599 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
1600 keyboard_mode so that XAllowEvents() can be called.
1604 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
1606 * cspi/spi-accessible.c: Correct names of roles returned by
1607 AccessibleRole_getName(). Fixes bug #95055.
1609 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
1611 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
1614 * registryd/registry.c
1615 (desktop_remove_application: Write diagnostic message to stderr for
1618 (impl_accessibility_registry_deregister_global_event_listener):
1619 Correct size of lists array. This addresses bug #94555).
1621 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
1623 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
1626 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
1628 * registryd/Makefile: Add CLEANFILES so that .server file is removed
1631 * registryd/registry.c (impl_registry_notify_event): Remove
1632 unnecessary call to parser_event_type().
1634 * docs/reference/cspi/tmpl/spi_component.sgml:
1635 Add reference to SPI_LAYER_WINDOW.
1637 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
1639 * registryd/registry.c
1640 (desktop_add_application): Remove leak.
1641 (desktop_remove_application): Remove leak.
1642 (parser_event_type): Remove leak.
1644 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
1646 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
1647 bogus call to CORBA_string_dup(). Also removed unnecessary
1648 g_string_dup/g_free calls.
1650 2002-09-13 Bill Haneman <bill.haneman@sun.com>
1652 * registryd/deviceeventcontroller.c:
1653 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
1655 * test/event-listener-test.c:
1656 main: commented out three redundant listeners, to reduce output
1657 noise. (They still are potentially useful for testing).
1660 2002-09-13 Michael Meeks <michael@ximian.com>
1662 * Update all the copyrights to include Ximian.
1664 2002-09-06 Mark McLoughlin <mark@skynet.ie>
1666 * cspi/spi.h: add SPI_LAYER_WINDOW.
1668 * cspi/spi_component.c: (AccessibleComponent_getLayer):
1669 add Accessibility_LAYER_WINDOW case.
1671 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
1673 * libspi/component.c: (impl_accessibility_component_get_layer):
1674 add ATK_LAYER_WINDOW case.
1676 2002-08-28 Bill Haneman <bill.haneman@sun.com>
1678 * configure.in: incremented micro version.
1680 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
1682 2002-08-20 Bill Haneman <bill.haneman@sun.com>
1685 Clarified and reworded our commit policy.
1688 Started an API "todo" addition list for 2.2.
1691 (impl_getSelection):
1692 Free char pointer from atk_text_get_selection, which was being leaked.
1694 2002-08-19 Bill Haneman <bill.haneman@sun.com>
1697 Small revision to author acknowledgement.
1699 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1701 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
1702 If signal has detail add it to the type of the event.
1705 2002-08-12 Michael Meeks <michael@ximian.com>
1707 * test/test-simple.c (global_listener_cb): bin bogosity.
1708 (test_keylisteners): disable, still doesn't work reliably,
1709 certainly not on my system anyway.
1711 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
1712 don't leak a reference on the DEC. This round-trip
1713 fetching of the DEC per keystroke sucks, it should be
1716 * cspi/spi-private.h,
1717 * cspi/cspi-lowlevel.h,
1718 * cspi/bonobo/cspi-bonobo-listener.[ch],
1719 * cspi/bonobo/cspi-bonobo.c: get the copyright
1720 notices better - there is still a large amount of
1721 work in at-spi falsely attributed solely to Sun.
1723 * cspi/spi_main.c (cspi_object_ref): kill bogus
1724 hash lookup, just increment the ref.
1725 (SPI_freeString): make explicit the fact that we
1726 handle NULL strings just fine.
1727 (report_leaked_ref): obey coding standards.
1728 (cspi_object_hash, cspi_object_equal): kill retval.
1729 (cspi_object_release): only release if not on loan.
1730 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
1731 (cspi_object_borrow, cspi_object_return): impl.
1733 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
1734 use cspi_object_borrow / return.
1736 2002-08-12 Darren Kenny <darren.kenny@sun.com>
1738 * cspi/bonobo/cspi-bonobo-listener.c:
1740 Don't call cspi_oject_new() because this is creating a new Accessible
1741 every single time that an event is fired. This causes ATs like at-poke
1742 to nolonger recognise the source of the event and thus ignore it.
1743 Re-use the object from the cache, ref it and then unref it after the
1744 listeners have been called.
1746 2002-08-06 Darren Kenny <darren.kenny@sun.com>
1748 * test/event-listener-test.c:
1749 Added command-line options to disable mouse events (m) and
1752 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
1754 * configure.in: Update required versions of ATK, GTK+ and GAIL
1756 * cspi-1.0.pc.in: Add dependency for X include files
1759 * cspi/bonobo/Makefile.am:
1760 Add $(X_CFLAGS) so that X include files
1761 are picked up even if not in standard place (bug #71686)
1763 2002-06-25 Bill Haneman <bill.haneman@sun.com>
1765 * registryd/deviceeventcontroller.c: fix for 84261
1766 (spi_dec_mouse_moved):
1767 Added test of mouse button mask, so that we can detect mouse
1768 button release. Unfortunately we can't otherwise detect mouse
1769 button release events without consuming the mouse press event,
1770 because of the way XGrabButton works. This means that our mouse
1771 release events have a latency dependent on the polling period
1772 while the mouse button is down. At least in this case we only
1773 have to poll while the button is down, and not at other times.
1774 If the button masks don't match with what the last press event
1775 reported, we report the appropriate button release event.
1776 (spi_dec_ungrab_mouse):
1777 New method (not yet called).
1778 (spi_device_event_controller_forward_mouse_event):
1779 New method, sends mouse press event from GdkFilter.
1780 (spi_dec_init_mouse_listener):
1781 Added code to call XGrabButton, redirecting mouse button events to
1782 the root window and our Gdk event loop.
1784 Added code to filter mouse button events, and reordered.
1786 * test/event-listener-test.c:
1788 Added registration for mouse events of type "mouse:button".
1790 2002-06-25 Bill Haneman <bill.haneman@sun.com>
1792 * registryd/deviceeventcontroller.c: partial fix for 84261
1793 (spi_dec_poll_mouse_idle):
1794 New method, a timeout which checks to see if the mouse
1796 (spi_dec_poll_mouse_moving):
1797 A timeout to be called when mouse motion is underway.
1798 (spi_dec_poll_mouse_moved):
1799 A method which fires an event if the mouse has moved, and reports
1800 whether or not it did so.
1801 (spi_dec_init_mouse_listener):
1802 A method which sets up the timeouts above.
1803 (spi_device_event_controller_new):
1804 Now calls spi_dec_init_mouse_listener.
1806 * registryd/registry.c:
1807 (spi_registry_init):
1808 Now we initialize the device event controller when the registry is
1809 initialized, instead of waiting until a client has requested a key
1810 event notification; this is because we need the event controller
1811 for mouse events, but the mouse event registration API is a
1812 "registry" call and doesn't explicitly call the
1813 deviceeventcontroller.
1814 We now report mouse motion events with a 100 ms idle latency and
1815 a 20 ms granularity when motion is in progress.
1817 * test/event-listener-test.c:
1819 We now register the "detail listener" for events of type
1820 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
1821 delivered only for the first mouse event received, and thereafter
1822 "mouse:abs" events are delivered.)
1824 * cspi/spi_registry.c:
1825 DOCS: Documented the above mouse event typestrings.
1827 2002-06-21 Bill Haneman <bill.haneman@sun.com>
1829 Happy Summer Solstice...
1831 * registryd/deviceeventcontroller.c: [fix for bug 84100]
1832 (spi_controller_notify_keylisteners):
1833 Changes to remove a listener from the listener list, freeing its
1834 open keygrabs, if a notification to that listener fails. This
1835 means that although a dead listener can continue to hold a passive
1836 keygrab, a maximum of one dispatch to such a listener can fail
1837 before the listener is removed from the list, thus the keygrab
1838 will be released on the next occurrence.
1839 As part of this fix:
1840 (spi_notify_keylisteners):
1841 Renamed to spi_controller_notify_keylisteners, as the controller
1842 instance must now be passed as an argument.
1843 The copied 'notify' GList is now a list of DEControllerKeyListener
1844 objects, since we need more than just the CORBA reference if a
1845 notify fails and we need to deregister the listener.
1846 (impl_notify_listeners_sync):
1847 (impl_notify_listeners_async):
1848 (spi_device_event_controller_forward_key_event):
1849 Modify use of notify_keylisteners in accordance with above
1851 (spi_deregister_controller_key_listener):
1852 New method introduced by refactoring, from
1853 impl_deregister_keystroke_listener.
1854 (impl_deregister_keystroke_listener):
1855 Call spi_deregister_controller_key_listener.
1856 (spi_key_listener_clone):
1857 New method to copy a key listner without doing a 'ref' on the
1858 remote object instance; used to create a notifier list.
1859 (spi_key_listener_data_free):
1860 New method, frees data without unreffing the source.
1862 (spi_key_listener_clone_free): new method.
1863 (spi_key_listener_free):
1864 refactored to call spi_key_listener_data_free.
1866 2002-06-20 Bill Haneman <bill.haneman@sun.com>
1868 * registryd/registry.c: [fix for bug 86048]
1869 (notify_listeners_cb):
1870 Clear CORBA system exceptions which occur when notifying
1871 listeners, before returning to the source of the original event,
1872 since the event source doesn't care if the relayed notify failed.
1873 In other words, don't complain to the atk-bridge if the registry
1874 could not notify all its listeners, that's no fault of the
1875 application and thus should not appear to be an error from the
1876 application's perspective.
1878 * cspi/spi_main.c: [fix for bug 85980]
1880 Replaced use of bonobo_object_dup_ref with call to the wrapper
1881 method, csou_dup_ref (); this silences a compiler warning and
1882 provided more portability.
1884 Ping the registry before return, and restart if necessary.
1886 * cspi/bonobo/cspi-bonobo.c:
1888 New internal method.
1890 Fixed this method to return an object reference, as it should have
1893 * cspi/cspi-lowlevel.h:
1894 Added internal definition for cspi_ping() and fixed
1895 return type of cspi_dup_ref().
1898 2002-06-19 Bill Haneman <bill.haneman@sun.com>
1900 * atk-bridge/bridge.c: [fix for bug 85305]
1901 (spi_atk_bridge_register_application):
1902 New method where the initial application registry calls have been
1903 moved; it allows an application to re-register in response to
1904 certain error conditions (such as a registry restart, see below).
1906 Moved some initialization code to the method
1907 spi_atk_bridge_get_registry, below.
1908 (spi_atk_bridge_get_registry):
1909 New, private accessor function for the Accessibility_Registry
1910 instance. If the registry has not been started before, or has
1911 died (as detected by failure of a CORBA exception), it is
1912 restarted before return, and spi_atk_bridge_register_application
1913 is called again to register with the new bridge instance.
1914 (spi_atk_emit_eventv):
1915 Set registry_died on error; use spi_atk_bridge_get_registry () to
1916 access the registry.
1918 * registryd/registry.c:
1919 (impl_accessibility_registry_register_global_event_listener):
1920 Set listener's event_type_quark to etype.minor instead of
1921 etype.major (fix for bug 84856).
1923 * test/event-listener-test.c:
1924 (report_detail_event):
1925 Change the output string so that user/tester can tell that the
1926 'detail listener' was called instead of the 'generic listener'.
1928 2002-06-18 Bill Haneman <bill.haneman@sun.com>
1930 Fixes for bugs 84900, 84908, 84897, 84898.
1935 Revved version to 1.1.0
1936 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
1937 version is going to HEAD which will be used for gnome-2-0-1 and later.)
1939 * idl/Accessibility_Registry.idl:
1940 (EventListener::notifyEvent):
1941 Removed 'oneway' directive after extensive consulation with
1942 ORBit2 team and others. This means also that unref() of the event
1943 source can and should be done synchronously after emission, rather
1944 than remotely in the client, after servicing the notify call on
1947 NOTE: This change speeds up listener performance considerably, but
1948 introduces new latency on the application side. We may want to
1949 add an event queue to the atk-bridge.
1951 * atk-bridge/bridge.c:
1952 (spi_atk_bridge_focus_tracker):
1953 Do a local unref() on the event source after emission.
1955 * registryd/registry.c:
1956 (desktop_remove_application):
1957 Do an unref() on the event source after emission.
1958 (desktop_add_application):
1959 Do an unref() on the event source after emission.
1960 (notify_listeners_cb):
1961 When relaying an event, don't automatically add the event source
1962 to the local object cache, just CORBA_dup it instead. Likewise,
1963 if this method reenters, release the ref rather than calling
1965 (impl_registry_notify_event):
1966 No longer call remote unref() on the event source after dispatch.
1968 * libspi/eventlistener.c:
1969 (impl_accessible_event_notify_event):
1970 Removed remote unref ()
1972 * cspi/bonobo/cspi-bonobo-listener.c:
1974 We now call cspi_object_new() instead of cspi_object_add() on
1975 receipt of an event; thus we only have an implicit object ref
1976 while the cspi_event method is being executed. If we need to keep
1977 a reference to the object, the listener must call ref() on the
1978 object. Thus also we don't need to call cspi_object_unref() after
1979 invoking the listener callbacks in this method.
1983 New internal API for creating a new cspi object, without adding it
1984 to the object cache.
1986 Now uses cspi_object_new() to create the cspi object instance.
1988 Now checks to see if the object is in the internal object cache,
1989 and adds it if necessary before incrementing its refcount (note
1990 that new objects are added with a refcount of 1).
1991 (report_leaked_ref):
1992 New method which gives some information on leaked object instances
1993 if leak detection is turned on.
1995 * test/event-listener-test.c:
1996 (timing_test_event):
1997 New method, used for testing event delivery timing for special
1998 events of type "object:test". It reports elapsed time and
1999 events/sec every 500 events.
2001 Added a new listener, 'test listener', to check timing of event
2002 receipt as noted above.
2004 Added some timing output here also, reports elapsed time every 100
2007 * test/stress-test.c:
2008 Emit events of type "object:test", for use with "event-listener-test".
2010 * test/test-simple.c:
2011 (global_listener_cb):
2012 Call Accessible_ref() on the event source before calling
2013 validate_accessible, since the validation process does pointer
2014 comparisons on the event source, meaning that the event source
2015 needs to be added to the local object cache first. Any use of
2016 such pointer comparisons between Accessible objects requires that
2017 the caller hold an explicit reference to those objects.
2018 We also must therefore call Accessible_unref() when leaving this method.
2020 2002-06-13 Bill Haneman <bill.haneman@sun.com>
2022 * registryd/deviceeventcontroller.c:
2023 (spi_controller_update_key_grabs):
2024 Fix for #84735, subsequent keygrab listeners not informed of
2025 registration failure.
2028 (spi_base_construct):
2029 Add an assertion on construct, to make sure the GObject passed in
2030 is really a GObject.
2032 Explicitly initialize object->gobj pointer to NULL;
2034 * cspi/bonobo/cspi-bonobo-listener.c:
2035 (cspi_object_add_ref):
2036 New method, can specify whether to dup-ref a bonobo object passed
2037 in if it's newly added to the object cache.
2039 Now calls cspi_object_add_ref with second param of "FALSE". This
2040 prevents us from doing a pointless dup-ref followed by
2041 release-unref for all those cases where the object is already in
2042 our object cache (fix for #85205).
2044 * atk-bridge/bridge.c:
2045 (spi_atk_bridge_idle_init):
2046 Removed this method, we don't need to initialize in an idle
2049 Changed to call spi_atk_register_event_listeners directly, not via an
2050 idle handler. (fix for #81139)
2051 (gnome_accessibility_module_shutdown):
2052 Removed conditional around deregistration of listeners, since we
2053 don't use the idle handler and thus have always registered when
2055 (spi_init_keystroke_from_atk_key_event):
2056 Changed references to Accessibility_KEY_PRESSED to
2057 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
2059 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2061 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
2066 * test/stress-test.c:
2069 (may have been an incomplete commit yesterday?)
2071 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2074 Added target for new stress-test.
2076 * test/stress-test.c:
2077 New test, sends 1000 focus notifies in quick succession.
2079 * test/key-listener-test.c:
2080 Now we report whether a keylistener registration
2081 request succeeded or failed.
2083 * test/event-listener-test.c:
2084 Uncommented some listeners which are now implemented.
2087 2002-06-06 Bill Haneman <bill.haneman@sun.com>
2089 * registryd/deviceeventcontroller.c:
2090 (spi_controller_update_key_grabs):
2091 Fix for #82509, lack of failure notification when
2092 ALL_WINDOWS keygrabs fail due to XGrabKey
2093 failure: we synchronize the server when
2094 registering a passive grab, to make sure we get the
2095 error message before the call returns.
2097 2002-06-03 Bill Haneman <bill.haneman@sun.com>
2099 * test/test-simple.c:
2101 Removed #ifdef KEY_IMPL_WORKS guards.
2102 (test_keylisteners):
2103 Removed #ifdef KEY_IMPL_WORKS guards.
2104 Fixed bug which was causing a hang waiting for a
2105 "press" event (which was already overwritten by a "release"
2106 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
2108 Added code to set globals 'key_press_received' and
2109 'key_release_received'.
2112 Added section "1.1 API Proposed Additions" which
2113 lists API additions desired for at-spi-1.1 (only one so far).
2114 Updated TODO list a little.
2116 2002-06-02 Bill Haneman <bill.haneman@sun.com>
2118 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
2121 * configure.in: Revved to 1.0.0.
2123 * idl/Accessibility_Registry.idl:
2124 (registerKeystrokeListener):
2125 Added boolean return value.
2127 * registryd/registry.c:
2128 (notify_listeners_cb): Minor fix to debug output.
2130 * registryd/Accessibility_Registry.server.in.in:
2131 Revved version number in OAFIID to 1.0.
2133 * registryd/registryd.c:
2135 Use new OAFIID version.
2137 * cspi/bonobo/cspi-bonobo.c:
2139 Use new OAFIID version.
2145 * atk-bridge/bridge.c:
2147 Use new OAFIID version.
2149 * registryd/deviceeventcontroller.c:
2150 (impl_register_keystroke_listener):
2151 Added CORBA_boolean return value.
2152 (spi_controller_register_device_listener):
2153 Added gboolean return value.
2154 (spi_controller_register_global_keygrabs):
2155 Added gboolean return value.
2156 (spi_key_set_contains_key):
2157 Added implementation for many more control keys,
2158 for instance F1-F12, arrow keys, End, Home, Page_Up,
2160 [TODO: some still not implemented].
2162 * text/screen-review-test.c:
2163 (text_chunk_pad_string):
2164 New function: it provides mapping between coordinate
2165 positions of text chunks and character positions in the
2166 screen-review-line output string.
2167 (text_chunk_to_string):
2168 New function, calls text_chunk_pad_string with various
2169 pad/delimiter characters. Pushbuttons are delimited with
2170 square brackets, Frames with vertical 'pipe' lines, and
2171 other text with double quotes.
2172 (text_chunk_list_to_string):
2173 Calls new function text_chunk_to_string.
2174 (toplevel_composite):
2175 New function to composite layers CANVAS through
2176 POPUP in each toplevel (other layers are composited
2177 across toplevels, i.e. BACKGROUND and OVERLAY).
2178 (review_buffer_composite):
2179 Revise to use new methods.
2185 2002-05-31 Laszlo Peter <laca@sun.com>
2187 * configure.in: add the Xtst libdir to the runpath on Solaris,
2188 since it's not in the default library search path.
2190 2002-05-29 jacob berkman <jacob@ximian.com>
2192 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
2194 2002-05-29 Bill Haneman <bill.haneman@sun.com>
2196 * test/screen-review-test.c:
2197 (text_chunk_pad_string):
2198 Added method, which pads the string according to the
2199 text bounds of the chunk. It also takes a 3-character
2200 string as a param which indicates the characters to be
2201 used for start, padding, and end delimitation of the chunk.
2202 (text_chunk_to_string):
2203 Changed to use text_chunk_pad_string.
2205 * configure.in: Fixed bug in AC_OUTPUT that was
2206 causing path substitution in Accessibility_Registry.server
2209 2002-05-23 Bill Haneman <bill.haneman@sun.com>
2211 * text/screen-review-test.c:
2212 (guess_string_clip):
2213 New method which attempts a best-guess at clipping
2214 text from components (like Java labels) which don't
2215 actually implement AccessibleText. This inaccurate
2216 clip is based on the assumption that the label is
2217 justified left-and-right, and monospaced.
2218 (text_chunk_get_clipped_string):
2219 We now call guess_string_clip() for text-containing
2220 components that don't implement AccessibleText.
2222 * test/screen-review-test.c:
2223 (review_buffer_get_text_chunk):
2224 We now pull "name" from labels if they do not implement
2225 AccessibleText (i.e. for Java labels).
2226 (get_screen_review_line_at):
2227 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
2230 Replaceded AC_OUTPUT target
2231 registryd/Accessibility_Registry.server with
2232 registryd/Accessibility_Registry.server.in.
2234 * registryd/Accessibility_Registry.server.in:
2235 Removed (this is now a Makefile target).
2237 * registryd/Accessibility_Registry.server.in.in:
2238 Added (source for target above). We now use $(libexecdir) as
2239 prefix for the executable at-spi-registryd.
2241 * registry/Makefile.am:
2242 Now install at-spi-registryd into $(libexecdir), and build .server
2243 file with path (see above).
2245 2002-05-22 Bill Haneman <bill.haneman@sun.com>
2247 * test/screen-review-test.c:
2248 (text_chunk_get_clipped_string):
2249 We now check to see if words fall within clip bounds
2250 before resorting to character-by-character clip bounds testing.
2252 * TODO: Added a section for "2.2 Proposed API Additions".
2254 2002-05-21 Bill Haneman <bill.haneman@sun.com>
2256 * test/screen-review-test.c:
2258 Added a screen review benchmarking and test program to test
2261 * cspi/spi_accessible.c:
2263 Made some of the debug strings passed to cspi_check_ev a
2264 little more specific.
2266 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
2268 * test/screen-review-test.c: Fix crashes in debug statements
2270 2002-05-20 Bill Haneman <bill.haneman@sun.com>
2272 * test/screen-review-test.c: Added this file.
2274 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2276 * atk-bridge/bridge.c: changed "object:state-change" to
2277 "object:state-changed" to match docs.
2279 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2281 * atk-bridge/bridge.c: Hooked up state-change event details.
2283 2002-05-11 Bill Haneman <bill.haneman@sun.com>
2285 * registryd/registry.c:
2286 Fixed quarking bug in event string parsing; now events with
2287 detail parameters get matched correctly to listeners.
2290 * util/idl/Magnifier.idl: remove.
2292 * util/*.[ch]: Remove.
2293 Magnification utilities and IDL are now in module gnome-mag.
2295 2002-05-10 Bill Haneman <bill.haneman@sun.com>
2297 * registryd/deviceeventcontroller.c:
2298 Fixed bug in grab key conversion which was causing keycode grabs
2299 to be converted to AnyKey grabs.
2302 updated NEWS file to reflect recent spin-off of gnome-mag.
2304 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
2306 * cspi/spi_accessible.c: Added exception checks. Fixed completely
2307 busted AccessibleStateSet_compare. Removed redundant casts.
2309 * cspi/spi-action.c: Removed redundant casts.
2311 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
2313 * cspi/spi_component.c: Fixed typos and casting error.
2315 * cspi/spi_editabletext.c: Removed redundant casts.
2317 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
2319 * cspi/spi_hypertext.c: Eliminated redundant casts.
2321 * cspi/spi_image.c: Eliminated redundant casts.
2323 * cspi/spi_registry.c: Eliminated redundant casts.
2324 SPI_deregisterGlobalEventListenerAll () removed retval variable.
2325 * cspi/spi_selection.c: Removed redundant casts.
2326 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
2327 handling. Screen geometry and text offsets were being returned as 0
2328 on error which is technically valid-- changed these to return -1.
2329 Added marshaller for text boundary types to fix bug with boundary
2330 types being passed incorrectly to atk.
2332 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2335 * cspi/spi_registry.c:
2336 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
2337 which was uncovered by the recent key changes.
2339 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2341 * test/event-listener-test.c:
2343 Added new test, "event-listener-test";
2344 this code does two things; it benchmarks traversal time
2345 for the accessible hierarchy for the first running accessible
2346 app, and it connects listeners for all supported event types.
2347 It is thus useful as an example event listener and for
2348 diagnostics/debugging of event generation.
2350 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2353 Removed unnecessary dependency on libutil.
2356 Revved micro version: 0.13.1
2358 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2361 Removed util/Makefile from targets.
2364 Removed util subdir from SUBDIRS (temporarily,
2365 pending removal of magnifier-only code
2369 #ifdef-ed out magnifier dependencies, since
2370 magnifier IDL, headers, and binary now live in
2371 module gnome-mag and we don't want at-spi to depend
2372 on gnome-mag. A magnifier demo which can run alongside
2373 simple-at is forthcoming in the gnome-mag module.
2375 NOTE: Split magnifier binary, IDL, and magnification
2376 activation code from at-spi into module gnome-mag.
2378 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
2380 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
2381 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
2383 2002-05-03 Bill Haneman <bill.haneman@sun.com>
2386 Revved to version 0.13.0
2388 * idl/Accessibility_Registry.idl:
2389 Changed definition of KeySet from sequence of longs to sequence of
2390 KeyDefinitions, and added KeyDefinition struct.
2391 Required for fix to bug 80616.
2393 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
2394 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
2395 to use new definition (see above).
2397 * registryd/deviceeventcontroller.c: handle_keygrab(),
2398 spi_keyset_contains_key():
2399 Changed to make use of new struct; this allows matching based on
2400 string key-name, for instance "Tab". This also allows matching of
2401 composed characters, non-alphanumeric characters in a way that
2402 doesn't involve dependencies on X keysym codes directly, etc.
2404 * test/key-listener-test.c:
2405 Added test for Alt-Tab key using "string" specification of keyset,
2406 and modified one of the tests to use a keycode-based keyset.
2407 Thus this test both tests and demonstrates the creation and use of
2408 keysets of three forms: specified via keycode array,
2409 keysym array, and string array. (The string case only contains a
2410 single string, i.e. a string array of length 1).
2413 Turned on PRINT_TREE option by default. Also fixed a
2414 string-freeing bug in the PRINT_TREE code.
2415 Added a listener to window:minimize events.
2417 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
2419 * atk-bridge/bridge.c:
2420 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
2421 for window:activate and window:deactiveate
2422 (atk_bridge_property_event_listener atk_bridge_signal_listener
2423 atk_bridge_window_event_listener) Tidy debug code
2425 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
2427 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
2428 Fixed handling for NULL return value from ATK.
2430 * libspi/action.c libspi/component.c libspi/editabletext.
2431 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
2432 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
2433 Removed redundant casts.
2435 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
2436 Fixed off by one bug.
2438 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
2439 function not present in idl)
2441 2002-05-02 jacob berkman <jacob@ximian.com>
2443 * atk-bridge/Makefile.am: make atk-bridge a real module
2445 2002-04-26 Radek Doulik <rodo@ximian.com>
2447 * libspi/stateset.c (spi_init_state_type_tables): fix size of
2448 atk_state_types table
2450 2002-04-22 jacob berkman <jacob@ximian.com>
2453 * libspi/Makefile.am: add deps on the built files to help
2454 automake, and don't version the ORBit typelib
2456 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
2458 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
2459 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
2460 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
2461 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
2462 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
2463 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
2464 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
2465 libspi/accessible.h libspi/accessible.h libspi/base.h
2466 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
2467 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
2468 libspi/relation.h libspi/remoteobject.h libspi/selection.h
2469 libspi/spi-private.h libspi/statetset.h libspi/table.h
2470 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
2471 util/mag_client.h util/mag_control.c util/mag_image.c
2472 util/mag_image.h util/magnifier.c util/magnifier.h:
2473 Add missing file headers; standardize existing ones
2475 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
2477 * atk-bridge/bridge.c: Added window event support.
2479 2002-04-18 Michael Meeks <michael@ximian.com>
2481 * libspi/relation.c (impl_getNTargets): impl.
2482 (impl_getTarget): impl.
2484 * libspi/Makefile.am: fix stateset install.
2486 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2489 Started putting useful info in this file.
2491 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
2493 * atk-bridge/bridge.c:
2494 Propagate state-changed notifications to ATs
2496 * cspi/spi_registry.c: update docs to reflect actual behavior of
2497 state-change events.
2499 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2502 Incremented version to 0.12.1
2504 * util/mag_client.h:
2505 Add missing declaration for magnifier_exit,
2506 used by mag_control.c - Forte compiler didn't like
2507 the implicit redeclaration of the function :-(
2510 2002-04-16 Bill Haneman <bill.haneman@sun.com>
2513 Revved version to 0.12 due to API change (see below).
2515 * cspi/spi-roletypes.h:
2516 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
2517 definition from the inline docs, and added docs
2518 for SPI_ROLE_LAST_DEFINED.
2521 * cspi/spi_streamablecontent.c:
2522 Added missing seek_type parameter to
2523 (so far unused) method,
2524 AccessibleStreamableContent_seek().
2525 [ RT approval JodyG. ]
2528 Fixed docs for SPI_createAccessibleKeystrokeListener.
2530 * cspi/spi_registry.c:
2531 Fixed docs for SPI_KEYSET_ALL_KEYS.
2533 * docs/reference/cspi/at-spi-cspi-sections.txt:
2534 Added a number of missing APIs to SECTIONS.
2536 2002-04-16 Bill Haneman <bill.haneman@sun.com>
2538 * registryd/Makefile.am:
2540 * cspi/bonobo/Makefile.am:
2541 Add $(X_LIBS) to makefiles.
2543 2002-04-15 Bill Haneman <bill.haneman@sun.com>
2546 Revved version to 0.11.
2548 * libspi/component.c:
2549 Added implementation for grabFocus.
2551 * idl/Accessibility_Component.idl
2552 (Accessibility_Component_grabFocus):
2553 Made this method return boolean to indicate success or failure, to
2554 be consistent with cspi and the corresponding ATK method.
2556 * idl/Accessibility_Selection.idl
2557 (Accessibility_Selection_selectAll) :
2558 Made these methods return boolean to indicate success or
2559 failure, to be consistent with cspi and the corresponding ATK methods.
2561 * idl/Accessibility_EditableText.idl
2562 (Accessibility_EditableText_setTextContents,
2563 Accessibility_EditableText_insertText,
2564 Accessibility_EditableText_cutText,
2565 Accessibility_EditableText_deleteText,
2566 Accessibility_EditableText_pasteText):
2567 Made these methods return boolean to indicate
2570 * cspi/spi_editabletext.c:
2571 Made these methods return booleans.
2573 * libspi/selection.c:
2574 * libspi/component.c:
2575 * libspi/editabletext.c:
2576 Connected the boolean returns from ATK
2577 to the server-side code referenced above.
2579 2002-04-14 Bill Haneman <bill.haneman@sun.com>
2581 * idl/Accessibility_Table.idl: Added missing methods,
2582 Accessibility_Table_addRowSelection,
2583 Accessibility_Table_addColumnSelection,
2584 Accessibility_Table_removeRowSelection,
2585 Accessibility_Table_removeColumnSelection.
2588 Added C wrappers for above IDL:
2589 AccessibleTable_addRowSelection,
2590 AccessibleTable_addColumnSelection,
2591 AccessibleTable_removeRowSelection,
2592 AccessibleTable_removeColumnSelection.
2595 Added server-side implementation code for IDL above, connecting
2596 to pre-existing ATK api.
2598 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
2600 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
2602 * libspi/accessible.c: Added implementation fo
2603 Accessibility_Accessible_get_state.
2605 * libspi/libspi.h: Added stateset.h to the list of includes.
2607 * libspi/stateset.c: Fixed broken implementation.
2609 2002-04-13 Bill Haneman <bill.haneman@sun.com>
2612 Added implementation code for Accessibility_Magnifier_exit ().
2614 * util/mag_control.c:
2615 Added test code for above method; you can
2616 now kill an existing magnifier via
2617 ./mag_control q, from the util directory.
2619 * test/key-listener-test.c:
2621 Added a new test, for our key listener API.
2623 2002-04-11 Bill Haneman <bill.haneman@sun.com>
2625 * test/app.c, test/keysynth-demo.c:
2627 Replace use of snprintf with g_snprintf.
2628 (fix for bugzilla 78249)
2630 2002-03-27 Michael Meeks <michael@ximian.com>
2634 * util/Makefile.am (INCLUDES): fix.
2635 (DONT_DIST_SOURCE): don't distribute the
2638 * libspi/Makefile.am (dist-hook): ditto.
2640 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
2642 * libspi/hypertext.c:
2643 Fix warnings when yelp is used with atk-bridge
2645 2002-03-21 Michael Meeks <michael@ximian.com>
2647 * libspi/application.c (spi_application_new):
2648 use spi_accessible_construct so we use the AtkObject
2651 2002-03-19 Michael Meeks <michael@ximian.com>
2653 * registryd/registry.c (desktop_remove_application),
2654 (desktop_add_application): clean coding style.
2656 * registryd/desktop.c (spi_desktop_remove_application),
2657 (spi_desktop_add_application): kill re-enterency hazards.
2658 (spi_desktop_dispose): remove bogus redundant cast
2659 obscuring bug; fix bug too.
2660 (spi_desktop_init): make the desktop object immortal.
2662 2002-03-16 Bill Haneman <bill.haneman@sun.com>
2665 Added a #define-guarded tree-traversal step
2666 when enumerating the apps (diagnostic tool).
2668 2002-03-15 Bill Haneman <bill.haneman@sun.com>
2670 * idl/Accessibility_Role.idl:
2671 Added ROLE_DRAWING_AREA which seemed to be missing from the
2674 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2676 * cspi/spi-roletypes.h cspi/spi_accessible.c
2677 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
2680 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
2681 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
2682 AT when applications are added and removed from the desktop. This
2683 reverts the previous broken implementation using the backing
2684 AtkObject for the SpiDesktop.
2686 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2688 * registryd/desktop.c: emit the "children-changed::add" and
2689 "children-changed::remove" signals on the backing ATK object for
2690 the desktop so AT can tell when applications are started and shut
2693 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2695 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
2697 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2699 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
2701 * cspi/spi_accessible.c: Implemented c bindings for stateset support
2703 * cspi/state-types.h: synched with IDL and ATK
2705 2002-03-13 Bill Haneman <bill.haneman@sun.com>
2707 * libspi/accessible.c
2708 (impl_accessibility_accessible_get_child_at_index):
2709 Change return value for g_return_if_fail ()
2710 to CORBA_OBJECT_NIL instead of "0" (!)
2712 * registryd/Makefile.am:
2713 * registryd/Accessibility_Register.server.in:
2714 Changed name of executable, "registryd",
2715 to something more informative:
2718 2002-03-13 Michael Meeks <michael@ximian.com>
2720 * atk-bridge/bridge.c (atk_bridge_init): don't register
2721 if we're in a bonobo-component, rather than a bonobo app.
2723 2002-03-13 Michael Meeks <michael@ximian.com>
2725 * atk-bridge/bridge.c (gtk_module_init): split
2726 out body to (atk_bridge_init): here, since otherwise
2727 we get symbol conflicts and oddness when invoked
2728 from (gnome_accessibility_module_init): here (upd.)
2730 2002-03-11 Bill Haneman <bill.haneman@sun.com>
2733 New file. Explicitly allow "build sheriff" putbacks provided
2734 they are tested on Solaris.
2736 * docs/reference/cspi/Makefile.am:
2737 Added '-' to the "cp" command for index.sgml.
2738 ("patch by thomasvs, soon coming to a GUADEC near you")
2741 Incremented version number (0.9.0) for new release.
2742 Changed macro that checks for popt, to better detect
2743 obsolete versions of popt.
2746 Added X_LIBS to AC_SUBST, for applications
2747 that call Xlib API directly.
2750 2002-03-07 Bill Haneman <bill.haneman@sun.com>
2753 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
2756 Fix regression caused by hard-coding major
2757 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
2760 * test/test-simple.c (test_editable_text),
2761 (test_test): revert previous change (error was
2762 a regression in gail which is now fixed).
2764 2002-03-04 Michael Meeks <michael@ximian.com>
2766 * test/test-simple.c (test_editable_text),
2767 (test_text): pass G_MAXINT instead of '-1' for
2768 whole string - is this a good thing !?
2770 * cspi/spi_accessible.c
2771 (Accessible_getRelationSet): fix crasher bug
2772 overwriting the end of the array.
2774 * test/test-simple.c (validate_accessible): free,
2775 not g_free returned relation set.
2777 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
2779 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
2780 implemented stateset support
2782 * idl/Accessibility_State.idl: Made necessary changes to
2783 the IDL to support state sets.
2785 2002-02-12 Bill Haneman <bill.haneman@sun.com>
2787 * registryd/deviceeventcontroller.c:
2788 Added implementation for generateMouseEvent.
2790 * cspi/spi_registry.c:
2791 Connected new implementation for generateMouseEvent
2794 2002-02-12 Bill Haneman <bill.haneman@sun.com>
2797 Incremented revision (but no change in public API
2798 outside of 'utils', which are not installed public yet.)
2800 * libspi/component.c:
2801 Changed to use atk_component API for layers and
2802 mdi_zorder, instead of deprecated atk_object API.
2804 Magnification Utility Enhancements:
2807 Added implementation of createZoomRegion, clearAllZoomRegions,
2808 resizeZoomRegion. Added new commandline argument
2809 "--no-initial-region". Note that clearAllZoomRegions doesn't
2810 unmap the old '0' region as it should (yet), and the other
2811 methods only work when creating/resizing a single region,
2812 which is "region 0".
2813 (Code for multiple region support will be added later.)
2816 Now we raise the magnifier window each time it's refreshed;
2817 this will help keep it on top.
2819 * util/mag_client.h:
2820 Added simple wrappers for above, used by mag_control.
2821 For general use, it's recommended to use the bonobo magnifier
2822 control API directly instead of using these wrappers.
2825 Moved ZoomRegionData from magnifier.c to this file.
2827 * util/mag_control.c:
2828 Added some code to exercise new IDL implementations.
2830 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
2832 * libspi/text.c: Provide implementation for getAttributes.
2834 2002-02-04 Bill Haneman <bill.haneman@sun.com>
2837 Incremented revision.
2839 * test/test-simple.c:
2840 Replaced use of deprecated g_main_iteration with
2841 g_main_context_iteration.
2843 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
2846 Incremented revision for desktop alpha 2.
2848 2002-01-28 Mark McLoughlin <mark@skynet.ie>
2850 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
2853 * test/simple-at.c: include netinet/in.h.
2855 2002-01-24 Mark McLoughlin <mark@skynet.ie>
2857 * cspi/spi_accessible.c: (Accessible_getRelationSet):
2858 use NULL, not CORBA_OBJECT_NIL.
2860 * libspi/accessible.c:
2861 (impl_accessibility_accessible_get_relation_set):
2862 allocate the sequence correctly.
2864 * libspi/remoteobject.h: kill spi_remote_object_new.
2866 * test/test-simple.c: (validate_accessible): add code
2867 to test relation sets, now all we need is to figure
2868 out how to excercise this code path :/
2870 2002-01-18 Michael Meeks <michael@ximian.com>
2872 * test/test-simple.c
2873 (key_listener_cb): consume the key.
2874 (test_keylisteners): update.
2875 (main): wait for any pending unrefs on events.
2877 * registryd/deviceeventcontroller.c
2878 (spi_controller_update_key_grabs): only re-issue the
2879 grab on a key release.
2880 (spi_device_event_controller_forward_key_event):
2881 refresh the keygrabs before we notify the listeners,
2882 to reduce the X ungrab / re-grab race.
2883 (spi_controller_register_with_devices): remove
2884 XSelectInput - we do that with the gdk_window_ call.
2885 (_spi_controller_device_error_handler): return a value.
2886 s/GDK_DISPLAY/spi_get_display/
2888 2002-01-17 Michael Meeks <michael@ximian.com>
2890 * registryd/deviceeventcontroller.c
2891 (_deregister_keygrab): don't blow out the later
2894 * test/test-simple.c (test_keylisteners): do a
2895 more intelligent validation.
2897 2002-01-14 Michael Meeks <michael@ximian.com>
2899 * atk-bridge/bridge.c
2900 (gnome_accessibility_module_init),
2901 (gnome_accessibility_module_shutdown): impl.
2902 (gtk_module_init): protect vs. double inits.
2903 (add_signal_listener): impl.
2904 (spi_atk_bridge_state_event_listener): kill
2905 (deregister_application): split out of
2906 (spi_atk_bridge_exit_func): here.
2908 2002-01-18 Bill Haneman <bill.haneman@sun.com>
2911 Added caret tracking when using magnifier, and
2912 now use text bounds for focus tracking of text elements, rather than
2913 the component bounds - this is helpful for short text fields in long
2914 table cells, at high magnification.
2916 2002-01-16 Bill Haneman <bill.haneman@sun.com>
2918 * registryd/deviceeventcontroller.c:
2919 Regression fix for keylistener de-registration; global keygrabs
2920 were not being released when deregisterKeystrokeListener was
2921 called in cspi, since
2922 Accessibility_DeviceEventController_deregisterKeystrokeListener
2923 was called with a zero-length keyset. That is because the cspi
2924 method, SPI_deregisterKeystrokeListener, does not take a keyset
2925 parameter but instead should remove all the key grabs held be a
2927 The code in impl_deregister_keystroke_listener was changed to copy
2928 the keylist from the listener instance previously registered with
2929 the DeviceEventController before releasing the grabs.
2931 * registryd/registry.c:
2932 * registryd/deviceeventcontroller.c:
2933 * libspi/spi-private.h:
2935 Changed spelling of "re-enterant" to "re-entrant" globally.
2937 2002-01-16 Bill Haneman <bill.haneman@sun.com>
2939 * test/test-simple.c:
2940 Changed key listeners test - the test was slightly mis-using the
2941 (admittedly poorly documented) SPI_generateKeyboardEvent API.
2942 It now uses '=' as the key event listened to and generated,
2943 relying on a keysym match rather than assuming that keycode 33
2944 is always equal to keysym '!'.
2946 2002-01-15 Bill Haneman <bill.haneman@sun.com>
2949 Changed simple-at to use a specific keyset, rather than
2950 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
2951 manager, desktop, etc.
2953 2002-01-11 Bill Haneman <bill.haneman@sun.com>
2955 * registryd/deviceeventcontroller.c:
2956 Replaced standard X error handler with a special handler that
2957 is non-fatal for failed keygrabs. This works around
2958 problems with keygrab clashes sometimes observed on
2960 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
2961 mouse handling code as yet).
2963 2002-01-11 Bill Haneman <bill.haneman@sun.com>
2966 Incremented revision for desktop alpha release.
2969 Fixed a couple of the more glaring errors (still not
2972 2002-01-11 Michael Meeks <michael@ximian.com>
2974 * registryd/deviceeventcontroller.c
2975 (spi_device_event_controller_forward_key_event): kill
2976 XUngrabKey / XKeyGrab race.
2977 (spi_controller_grab_keyboard): rename to
2978 (spi_controller_update_key_grabs): this, and deal
2979 with incremental adding / removing grabs more
2981 (_register_keygrab): ensure we're not pending a remove.
2982 (spi_grab_mask_free): impl.
2983 (spi_controller_register_global_keygrabs): split out
2985 (handle_keygrab): impl.
2986 (_deregister_keygrab): impl.
2987 (spi_controller_deregister_global_keygrabs): impl.
2988 (spi_controller_update_key_grabs): re-issue the grab if
2989 we just recieved a notification.
2991 * test/test-simple.c (key_listener_cb): remove debug.
2993 * registryd/deviceeventcontroller.c
2994 (spi_controller_register_device_listener): after
2995 registering a global keygrab, actualy register it !
2996 don't wait for a timeout; doh !
2998 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
2999 to make it more readable / manipulable.
3000 s/grabmask/grab_mask/ s/refcount/ref_count/
3001 s/keyval/key_val/ s/modmask/mod_mask
3003 2002-01-08 Michael Meeks <michael@ximian.com>
3005 * registryd/deviceeventcontroller.c
3006 (spi_controller_register_with_devices): use gdk calls to
3008 (global_filter_fn): implement the filter.
3009 (spi_device_event_controller_check_key_event): rename to
3010 (spi_device_event_controller_forward_key_event): this & upd.
3011 (spi_get_display): replace with GDK_DISPLAY.
3013 * registryd/deviceeventcontroller.c
3014 (spi_controller_deregister_device_listener): unroll into
3015 (impl_deregister_keystroke_listener): here to simplify.
3016 (spi_controller_register_global_keygrabs): split cut and
3017 paste (!) out into (_register_keygrab): here, shorter & sweeter.
3018 (spi_controller_deregister_device_listener): remove.
3019 (impl_register_mouse_listener): remove, no mouse listener
3020 support in at-spi-1.0
3022 * registryd/registry.c
3023 (_device_event_controller_hook): kill.
3024 (spi_registry_init): upd.
3026 * registryd/deviceeventcontroller.c
3027 (spi_device_event_controller_class_init): upd.
3028 (spi_check_key_event): merge into.
3029 (spi_device_event_controller_check_key_event):
3030 here and kill strange static ev init, don't leak
3031 the x_event - nor dynamicaly allocate it.
3033 * registryd/registry-main.c (main): re-direct
3034 timeout to remove strange vtable mess.
3036 * registryd/deviceeventcontroller.c
3037 (remove_listener_cb): impl.
3038 (spi_controller_deregister_device_listener):
3039 fix re-enterancy hazard.
3041 2002-01-07 Michael Meeks <michael@ximian.com>
3043 * registryd/deviceeventcontroller.c
3044 (spi_device_event_controller_new): upd.
3045 (impl_notify_listeners_sync): upd. debug.
3046 (spi_notify_keylisteners): fix re-enterancy hazards,
3047 prettify, remove O(n*n) iteration.
3048 (spi_controller_grab_keyboard): fix iteration.
3049 (spi_check_key_event): re-format to suit coding style.
3050 Clean all the warnings - we're warning free.
3052 * registryd/deviceeventcontroller.h:
3053 * registryd/registry.h: make mutualy referential with
3054 typesafe forward references instead of (!) void pointer
3057 2002-01-11 Michael Meeks <michael@ximian.com>
3059 * cspi/spi_accessible.c (role_names): add a role name
3060 to sync this array with the enum; and make the regression
3063 2002-01-10 Michael Meeks <michael@ximian.com>
3065 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
3066 allow expansion of enumeration & kill warning.
3068 * test/test-simple.c (key_listener_cb): impl.
3069 (test_keylisteners): impl.
3071 * cspi/spi-listener.h: make listener signatures const
3072 on the provided (const) events.
3074 * test/keysynth-demo.c: upd. to const events.
3076 * test/simple-at.c: ditto.
3078 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3081 Rev the version to 0.5 (the previous tarball was named 0.4,
3082 even though the micro number was 3), so we need to rev upwards
3083 again for beta2/"desktop-alpha"
3086 Checked in a demo script, which requires editing before use!
3087 Proceed with caution.
3090 Fixed typo in header which was redefining SPI_ACTION_CLASS.
3092 * cspi/spi_accessible.c:
3093 Add a couple of missing enum initializations, and fix some enum
3096 * cspi/spi_registry.c:
3097 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
3099 * docs/reference/cspi/at-spi-cspi-sections.txt:
3100 Remove/fix a couple of broken document references.
3103 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
3104 as Alt-Control to listen for commands, since on some systems
3105 Control-Alt may already be grabbed.
3107 2002-01-10 Bill Haneman <bill.haneman@sun.com>
3110 Update version number to 0.4 for Beta2.
3112 * libspi/accessible.c, libspi/accessible.h:
3113 Expose spi_accessible_construct, to enable libgail-gnome
3114 construction from spi_accessible subtype.
3116 * utils/magnifier.c:
3117 Workaround for bug in some non-gnome-compliant window managers
3118 which made magnifier resize improperly.
3120 2002-01-09 Bill Haneman <bill.haneman@sun.com>
3122 * libspi/accessible.c: (spi_accessible_new) :
3123 Move the test for SPI_IS_REMOTE_OBJECT to
3124 spi_accessible_new_return, fixing a bug and compile time warning.
3126 2002-01-08 Michael Meeks <michael@ximian.com>
3128 * registryd/registry.c (parse_event_type): remove strndup.
3130 * libspi/Makefile.am (libspi_la_SOURCES): remove
3131 sources already included in the headers section.
3133 * libspi/util.c: add.
3135 * libspi/spi-private.h: add.
3137 * registryd/registry.c: update to moved list iterators.
3139 2002-01-05 Michael Meeks <michael@ximian.com>
3141 * test/simple-at.c (main): upd. auto-module set to atk-bridge
3143 * test/test-simple.c (main): ditto.
3145 2002-01-04 Michael Meeks <michael@ximian.com>
3147 * libspi/accessible.c (spi_accessible_new): remove 2nd,
3148 redundant construct.
3150 * registryd/registry.c
3151 (get_listener_list): impl.
3152 (impl_accessibility_registry_register_global_event_listener):
3153 re-impl. to simplify using ~, remove dodgy const cast off.
3154 (parse_event_type): constify.
3155 (impl_accessibility_registry_deregister_global_event_listener_all):
3156 re-write, more efficiency and simplicity, kill re-enterancy
3158 (compare_listener_corbaref, compare_corba_objects),
3159 (compare_listener_quarks): define out.
3160 (impl_accessibility_registry_deregister_global_event_listener):
3161 re-write for effiency, and nail re-enterancy hazard.
3162 (impl_accessibility_registry_get_desktop_list): impl.
3163 (re_enterant_list_delete_link): impl.
3164 (re_enterant_list_foreach): impl.
3165 (remove_listener_cb): impl.
3166 (_registry_notify_listeners): kill.
3167 (notify_listeners_cb): impl.
3169 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
3170 (SPI_getDesktopList): impl.
3172 * test/test-simple.c (test_desktop): test the methods.
3174 2002-01-03 Michael Meeks <michael@ximian.com>
3176 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
3177 keystrings since we free them
3178 (SPI_freeAccessibleKeySet): in here.
3180 * libspi/accessible.c (spi_accessible_new): kill warning,
3181 wonder what is going on with the constructor here.
3183 2002-03-01 Bill Haneman <bill.haneman@sun.com>
3185 * libspi/accessible.c (spi_accessible_new ()) :
3186 Added check to see if AtkObject is an SpiRemoteObject before
3187 creating an SpiAccessible.
3189 2002-05-01 Bill Haneman <bill.haneman@sun.com>
3191 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
3192 Enable keygrabs using the Control modifier, now that they are
3193 working properly (they were previously disabled).
3196 Change the command keygrab for this demo to "Control+Alt", so as
3197 to conflict with fewer other key commands on the system; this
3198 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
3200 Removed a pointlessly-chatty keylistener for unshifted keys
3201 (shifted keys are still reported).
3203 2002-02-01 Bill Haneman <bill.haneman@sun.com>
3205 * libspi/remoteobject.h:
3206 * libspi/remoteobject.c:
3207 Added definitions for special AtkObject subtype, required for
3208 support of remote components (specifically, used by BonoboControl
3209 accessibility implementation).
3211 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
3213 * cspi/spi.h: synched relation types with ATK
3215 * cspi/spi_accessible.c: Added implementations of
3216 AcccessibleRelation_* methods
3218 * idl/Accessibility_Relation.idl: added getRelationTypeName
3219 method. Synched known relation types with ATK. Allowed for
3220 relation type extension with the RELATION_EXTENDED type.
3222 * libspi/relation.c: Provided implementations for
3223 AccessibleRelation methods.
3225 2002-01-01 Bill Haneman <bill.haneman@sun.com>
3227 API tweaks for today's API 'freeze'.
3230 Added placeholder functions to allow future compatible expansion
3231 of the IDL interfaces.
3233 * idl/Accessibility_Registry.idl:
3234 Changed generateKeyEvent to generateKeyboardEvent. Changed
3235 signature of this method to accept an optional keystring in
3236 parameter (for complex text input synthesis) and changed use of
3237 simple 'boolean' parameter in registerKeystrokeListener to a
3238 struct, EventListenerMode.
3240 * cspi/spi_accessible.c:
3242 * cspi/spi_streamablecontent.c:
3243 Added references to AccessibleStreamableContent interface, and
3244 definition and implementation of AccessibleStreamableContent
3247 * cspi/spi_registry.c:
3249 Changed generateKeyEvent API to generateKeyboardEvent,
3250 taking a new (optional) keystring parameter to support complex
3255 Renamed directory (to better reflect its actual purpose, bridging
3256 from at-spi to ATK). The .so module is also now named
3259 * idl/Accessibility_Hypertext.idl:
3260 * libspi/accessible.c:
3261 * libspi/hypertext.h:
3262 * libspi/hypertext.c:
3263 Changed Accessibility_Hypertext to *not* derive from
3266 * cspi/spi_registry.c:
3267 Added list of legal event type names for 'window' events, which
3268 completes the registry event API.
3270 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
3272 * at-bridge/bridge.c: Added registration for separate
3273 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
3274 signals. If either of the first two parameters to the generic
3275 bridge signal handler are ints, they are passed on as event
3276 details. This allows an AT to determine what text was inserted.
3278 2001-12-21 Bill Haneman <bill.haneman@sun.com>
3280 * registryd/deviceeventcontroller.c:
3281 Fixed regressions in generateKeyEvent caused by the removal of
3282 gdk_init from registryd; we now use pure X calls to connect to the
3283 display, which makes sense because deviceeventcontroller already
3284 uses a fair bit of X API (should eventually be migrated to a
3285 'portability layer').
3287 * registryd/desktop.c:
3288 Fixed minor regression in spi_desktop_init, changed the way the
3289 desktop name is being set to work with new spi_base API
3290 (gobject-based, rather than AtkObject-based).
3292 * registryd/Makefile.am:
3293 Minor revision of makefile to use XTST_LIBS variable rather than
3294 hard-wiring the Xtst LD_ADD element.
3296 * test/keysynth-demo.c:
3297 Tweaked an output message; added initialization of the
3298 'keystrings' member of the "switch listener" key_set.
3300 * libspi/relation.c:
3301 Squashed compile-time warning.
3303 * libspi/accessible.c:
3304 Cosmetic and formatting fixes, renamed a static method.
3306 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
3308 * libspi/accessible.c
3310 * libspi/application.c
3313 * libspi/component.c
3314 * libspi/editabletext.c
3315 * libspi/hyperlink.c
3316 * libspi/hypertext.c
3318 * libspi/selection.c
3322 * registryd/desktop.c:
3323 Changed SpiBase to contain a GObject pointer rather than an AtkObject
3325 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3327 * idl/Accessibility_Registry.idl:
3328 Added boolean member 'is_text' to DeviceEvent. This is for the
3329 use of key events, and helps prevent ambiguity between composed
3330 key strings and keysym names, since both may potentially be
3331 returned in the 'event_string' member.
3333 * at-bridge/bridge.c:
3334 * registryd/deviceeventcontroller.c:
3335 Use the 'is_text' member when notifying device event listeners.
3336 Knon issue: composed characters are not dealt with correctly by
3337 the global key listener implementation yet.
3339 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3341 * at-bridge/bridge.c:
3342 Namespaced local static methods to spi_atk_bridge_* where
3343 previously named bridge_*, and spi_* elsewhere.
3345 * at-bridge/bridge.c:
3346 * cspi/bonobo/cspi-bonobo-listener.c:
3347 Added demarshalling/conversion for string member of
3348 Accessibility_DeviceEvent to AccessibleKeystroke.
3350 * registryd/deviceeventcontroller.c:
3351 Added code to fill the Accessibility_DeviceEvent key string value
3352 member for global key events (i.e. from XGrabKey), to match
3353 behavior of Accessibility_DeviceEvent from the toolkit key events
3354 from the bridge. Fixed timestamp in global key event notifications.
3357 Added printout of key event's string value to
3358 report_ordinary_key_event, for demo/debugging purposes.
3360 2001-12-15 Bill Haneman <bill.haneman@sun.com>
3362 * idl/Accessibility_Registry.idl:
3363 Removed Accessibility_KeyStroke structure in favor of generic
3364 Accessibility_DeviceEvent structure.
3365 Changed Accessibility_ControllerEventMask from a struct to an
3368 * at-bridge/bridge.c:
3369 Changed APIs to use DeviceEvent structure as above, and removed
3370 bogus casting between these event structures.
3372 * cspi/spi-listener.h:
3373 Added keystring member of AccessibleKeystroke structure, to enable
3374 matching on event "names" rather than only hardware codes and
3378 Added keystrings member of AccessibleKeySet struct, to allow
3379 matching on event names (as above).
3380 Added declarations for SPI_createAccessibleKeySet and
3381 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
3382 event modmasks directly as unsigned ints rather than structs with
3383 refcounts, in the DeviceEventController methods.
3385 * cspi/spi_registry.c:
3386 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
3388 * cspi/spi-roletypes.h:
3389 Added documentation of newly added SPI Roles.
3391 * cspi/bonobo/cspi-bonobo-listener.c:
3392 Changes in support of API changes above.
3394 * libspi/accessible.c:
3395 Converted APIs to use DeviceEvent structure (see IDL changes
3398 * registryd/deviceeventcontroller.c:
3399 Added DEControllerGrabMask structure to track keygrabs not only by
3400 modmask but by keyset as well; this allows us to do "global"
3401 (i.e. X) keygrabs on a per-key or keyset basis rather than always
3402 grabbing on AnyKey and then filtering after-the-fact.
3403 Bugfixes for event filtration mean that we don't get false matches
3404 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
3406 * registryd/deviceeventcontroller.c:
3407 Namespaced a number of static methods to use spi_ prefix. Major
3408 revision to internals of global (i.e. X) key grabs.
3410 * registryd/deviceeventcontroller.h:
3411 Removed keymask_list and added keygrabs_list to
3412 SpiDeviceEventController struct.
3415 Added use of SPI_createAccessibleKeySet API when creating a
3416 listener for only one key. Attach a listener to "shift spacebar
3417 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
3418 X key event names to SPI key event names, so that listeners are
3419 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
3421 * test/keysynth-demo.c:
3422 Changed (incorrect) use of X key event names (KeyPressed,
3423 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
3426 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3428 * libspi/accessible.c:
3429 Convert all AtkRole enumerations to Accessibility_Role enums when
3430 getting a role from an AtkObject.
3432 * cspi/spi_accessible.c:
3433 Complete the conversion of Accessibility_Role enums at runtime to
3434 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
3435 role enums correctly match those given in spi-roletypes.h.
3436 Re-synchronize the local names list for AccessibleRole_getName ().
3437 AccessibleRole_getName is now deprecated, since it duplicates the
3438 more reliable Accessible_getRoleName.
3439 Added some role types from Accessibility_Role.idl.
3441 * idl/Accessibility_Role.idl:
3442 Added some role types used by AtkRole.
3444 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3447 * cspi/spi_registry.c:
3449 * cspi/cspi-bonobo-listener.c:
3450 Namespaced all methods that did not begin with an "SPI_" or
3451 "Accessible" prefix to "SPI_".
3454 Homogenized internal function namespace to "cspi_" for statics.
3457 Patched tests to use the new CSPI API.
3459 * docs/reference/cspi/at-spi-cspi-sections.txt:
3460 Updated docs to reflect namespace changes, and added a number of
3461 methods to the documentation.
3463 * registryd/registry.c:
3464 Changed use of strings and string hashes in listener event
3465 matching and parse_event_string to use GQuark, which is guaranteed
3468 * registryd/registry.h:
3469 Squashed annoying warning.
3471 * idl/Accessibility_Role.idl:
3472 Extended range of available Accessibility_Role values.
3474 * cspi/spi_accessible.c:
3475 Re-ordered role names.
3477 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3479 * idl/Accessibility_Value.idl:
3480 Revert use of union back to CORBA_double, since the double type is
3481 more efficient and can contain the other types without loss of
3484 * idl/Accessibility_Accessible.idl:
3485 Added method Accessibility:Accessible:getRoleName, to complement
3486 Accessibility:Accessible:getRole.
3488 * cspi/spi_accessible.c:
3490 Added C binding for above, Accessible_getRoleName (), and changed
3491 signature of Accessible_getRole () to return an AccessibleRole.
3493 * cspi/spi-roletypes.h:
3494 Changed AccessibleRole_getName to return a char * instead of a
3495 const char *. This method is now at least temporarily deprecated
3496 in favor of asking Accessibles for their RoleNames directly.
3499 Revert to match Accessibility_Value.idl;
3503 Change signature of AccessibleValue methods to use double rather
3507 * cspi/spi_accessible.c:
3508 Changed Accessible_getRole to return an AccessibleRole enum rather
3509 than a UTF-8 string. The UTF-8 string can still be obtained via
3510 AccessibleRole_getName ().
3512 * test/test-simple.c:
3513 Add test_action. Small fixup to match API change to Accessible_getRole.
3516 Bugfix for get_action_from_servant ().
3518 2001-12-11 Michael Meeks <michael@ximian.com>
3520 * libspi/libspi.h: remove registry.h and
3521 desktop.h, deviceeventcontroller.h
3523 * libspi/Makefile.am: remove registry.[ch],
3524 desktop.[ch], deviceeventcontroller.[ch]
3526 * registryd/Makefile.am: add registry.[ch],
3527 desktop.[ch], rename registryd.c to registry-main.c.
3528 add deviceeventcontroller.[ch]
3530 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3533 Replace setenv() call with putenv ().
3535 * libspi/component.c:
3536 Bugfix in AccessibleComponent_getExtents (),
3539 2001-12-11 Michael Meeks <michael@ximian.com>
3541 * libspi/image.c (impl_getImageExtents): impl.
3542 (spi_image_class_init): upd.
3545 (AccessibleImage_getImageDescription): fix daft bug
3548 * test/test-simple.c (global_listener_cb): update
3549 to only quit if not --poke
3550 (main): catch --poke.
3551 (validate_accessible): upd. dumping, call test_image
3554 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
3557 * idl/Accessibility.idl: update all IDL includes.
3559 * idl/*.idl - rename to namespace - this sucks, blame
3560 mjs' bad decision for oafd.
3562 * test/test-simple.c (create_test_window): add more tests.
3563 (create_tree): split this out.
3564 (validate_accessible): bugfix.
3566 2001-12-11 Michael Meeks <michael@ximian.com>
3568 * cspi/bonobo/cspi-bonobo-listener.c:
3569 (cspi_kestroke_listener_unref),
3570 (cspi_event_listener_unref): impl. undoing previous
3571 homenous environment - for Bill.
3573 * cspi/spi_table.c (long_seq_to_array): use
3576 * cspi/spi_main.c: split out all bonoboish bits into
3579 * cspi/spi-impl.h: upd. typedefs.
3581 * cspi/spi_registry.c: update to lowlevel API,
3582 return booleans to indicate success in some places.
3584 * cspi/spi_event.c: update to lowlevel API.
3586 * cspi/bonobo/Makefile.am: add.
3588 * cspi/bonobo/cspi-lowlevel.h: add
3590 * cspi/bonobo/cspi-bonobo.c: add
3592 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
3594 * cspi/Makefile.am: remove spi-listener-impl.[ch],
3595 (SUBDIRS): add bonobo, link in the libs.
3597 * cspi/spi-util.c: kill this file.
3599 * TODO: merge in my bits.
3601 2001-12-11 Michael Meeks <michael@ximian.com>
3603 * test/test-simple.c (test_value, test_table, main):
3604 remove unused variables causing warnings.
3606 * configure.in: cleanup checks - require gail.
3608 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3611 Changed Value interface to use SValue (scalars) rather than
3612 assuming all values are floats. This allows floats, doubles,
3613 longs, shorts, and unsigned values to be manipulated.
3614 Introduced Accessibility:SValue union.
3617 Updated to use new API above, and to work correctly with GValues
3618 of different types in AtkValue.
3621 Updated to use new API above. cspi's API is as yet unchanged.
3624 Updated the Value revision action item.
3626 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3628 * test/test-simple.c:
3629 Added test_table (GtkTreeView widget in test window to follow).
3630 Un-commented test_value, added GtkRange widget.
3631 Added GtkTreeView widget with GtkListStore. It passes regression
3632 test but leaks one SPI object for some reason.
3635 Fixed bug in impl__set_currentValue.
3637 2001-12-10 Michael Meeks <michael@ximian.com>
3639 * cspi/spi_text.c: audit for exception handling,
3640 tolerating NULL object references safely etc.
3642 * cspi/spi_value.c: ditto.
3644 * cspi/spi_table.c (AccessibleTable_getSummary),
3645 (AccessibleTable_getAccessibleAt),
3646 (AccessibleTable_getRowHeader),
3647 (AccessibleTable_getColumnHeader),
3648 (AccessibleTable_getCaption): fix bugs hidden by
3650 (long_seq_to_array): impl.
3651 (AccessibleTable_getSelectedRows),
3652 (AccessibleTable_getSelectedColumns): use it.
3654 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3657 Added a TODO list (rough and short for now).
3659 * cspi/spi_hyperlink.c:
3660 * cspi/spi_hypertext.c:
3661 Fixed macro name typos, and remove use of obsolete macro in
3662 AccessibleHyperlink_getLink.
3664 * cspi/spi_action.c:
3665 * cspi/spi_accessible.c:
3666 * cspi/spi_application.c:
3667 * cspi/spi_component.c:
3668 * cspi/spi_selection.c:
3671 Documentation fixes (removed return values from ref/unref methods).
3673 2001-12-10 Michael Meeks <michael@ximian.com>
3675 * cspi/spi_action.c: audit for exception handling,
3676 tolerating NULL object references safely etc.
3678 * cspi/spi_accessible.c: ditto.
3680 * cspi/spi_component.c: ditto.
3682 * cspi/spi_editabletext.c: ditto.
3684 * cspi/spi_hyperlink.c: ditto.
3686 * cspi/spi_hypertext.c: ditto.
3688 * cspi/spi_image.c: ditto.
3690 * cspi/spi_selection.c: ditto.
3692 2001-12-10 Michael Meeks <michael@ximian.com>
3694 * configure.in: use cspi/libspi.pc.in instead.
3696 * Makefile.am (pkgconfig_DATA): upd. to match.
3698 * test/simple-at.c (report_focus_event): kill hacks around
3699 bad return values, use putenv not setenv
3701 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
3702 fire ChildGone - I killed it.
3704 * libspi/component.c
3705 (impl_accessibility_component_get_extents): remove
3708 * idl/Accessible.idl: kill ChildGone exception.
3710 * cspi/*.[ch]: kill int return from ref / unref.
3712 * cspi/spi_main.c (cspi_object_add_check): fold into
3713 (cspi_object_add): here.
3715 * cspi/spi_component.c (AccessibleComponent_getExtents):
3716 handle exceptions elegantly.
3718 * cspi/spi-private.h (cspi_check_ev_return),
3719 (cspi_return_if_fail): impl.
3721 * cspi/spi_accessible.c: use extensively.
3722 (AccessibleStateSet_equals): add direct compare check.
3724 * cspi/spi_selection.c: tolerate NULL objs, and check
3725 exceptions before return.
3727 * cspi/spi-util.c (cspi_warn_ev): rename to
3728 (cspi_check_ev): this & don't pass ev in; no point.
3730 2001-12-10 Michael Meeks <michael@ximian.com>
3732 * test/test-simple.c: use putenv not setenv
3733 (get_environment_vars): more chatty if you're not using
3736 * test/simple-at.c: do the setenv so more people see the
3739 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3741 * libspi/registry.c:
3742 Changed check of CORBA_environment on notification to be a warning
3743 instead of an error for the moment, since we can recover from this
3744 error when caused by a queued notification from a dead app.
3747 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
3748 used by all current implementors of AtkValue), and coerce to
3749 CORBA_float. (Proper general case fix may require change to Value.idl).
3751 2001-12-09 Bill Haneman <bill.haneman@sun.com>
3755 * cspi/spi_accessible.c:
3756 Documentation fixes: added user_data params to documentation for
3757 listeners and callbacks.
3759 * cspi/spi_accessible.c:
3760 Changed AccessibleStateSet_compare to return a
3761 StateSet rather than return the difference set into a third parameter.
3764 2001-12-09 Bill Haneman <bill.haneman@sun.com>
3767 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
3768 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
3772 Remove subdirectory po from SUBDIRS for now.
3774 * at-bridge/bridge.c:
3775 Beefed up a couple of debug printouts.
3776 One-line fix for signal notification name formatting.
3778 * libspi/accessible.c:
3779 Added assertion to spi_accessible_new ().
3781 * libspi/application.c:
3782 Put #ifdef qualifiers around a printf.
3785 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
3787 * registryd/Makefile.am:
3789 Replaces use of XML_I18N_MERGE_SERVER_RULE with
3790 INTLTOOL_SERVER_RULE macro.
3793 Added an event listener for several ATK signals, for
3794 testing and debugging. Removed a few g_warnings.
3795 Added test output if focussed item implements the Value interface.
3797 * test/test-simple.c:
3798 Added test_value () function (known not to pass at the moment, so
3799 not actually called yet.
3801 2001-12-08 Michael Meeks <michael@ximian.com>
3803 * at-bridge/bridge.c (bridge_focus_tracker),
3804 (emit_eventv): fix the same ref. leak.
3805 (register_atk_event_listeners): don't leak.
3807 * cspi/spi-listener-impl.c (cspi_event): more
3808 protection from client code.
3810 * test/test-simple.c (test_desktop): unref the app.
3812 * test/Makefile.am: upd. TESTS.
3814 * at-bridge/bridge.c (bridge_exit_func): release the registry.
3816 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
3818 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
3820 * cspi/spi_registry.c: constify in strings.
3821 (deregisterGlobalEventListenerAll): don't release the ref.
3823 * cspi/spi.h: start removing redundant / conflicting
3824 gtkdoc comments, making the API readable at a glance :-)
3826 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
3828 * test/keysynth-demo.c (keysynth_exit, main): upd.
3830 * test/simple-at.c (main, simple_at_exit): upd.
3832 * test/test-simple.c (unutterable_horror): kill.
3833 (utterable_normal_derefs): kill.
3834 (main): upd & do a setenv before gtk_init, so that we
3835 can use memprof - and to save the pain of remembering
3836 this, if we're running under memprof - don't exit.
3838 * cspi/spi_main.c (SPI_exit): return exit status
3840 (SPI_event_quit): impl.
3841 (SPI_event_main): simplify.
3842 (cspi_is_gnome_app): kill.
3843 (SPI_init): kill isGNOMEapp arg.
3845 * at-bridge/bridge.c (register_atk_event_listeners):
3846 re-instate the unref.
3847 (bridge_exit_func): don't re-activate the registry,
3848 protect vs. theoretical re-entry, use the
3849 AT_BRIDGE_SHUTDOWN env. var to determine whether to
3850 assert a clean shutdown - for regression tests.
3852 2001-12-08 Abel Cheung <maddog@linux.org.hk>
3854 * configure.in: Comment out dummy i18n support for now,
3855 otherwise it fails to build.
3856 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
3857 EXTRA_DIST. They are missing in tarball.
3859 2001-12-07 Michael Meeks <michael@ximian.com>
3861 * util/magnifier.c: kill bonobo activation reg. race.
3863 * libspi/component.c
3864 (impl_accessibility_component_get_extents): make it match
3867 * libspi/registry.c (_registry_notify_listeners):
3868 re-remove X headers & reconcile conflicts.
3869 (spi_listener_struct_free): bad conflict resolve.
3870 (impl_accessibility_registry_register_application):
3871 more bad merging fixed.
3872 (impl_accessibility_registry_deregister_application): ditto.
3873 (spi_registry_new): ditto.
3874 (spi_registry_init): don't have an applications field.
3876 [ merge fixups2 branch to here ]
3877 2001-12-07 Michael Meeks <michael@ximian.com>
3879 * test/simple-at.c (report_focus_event),
3880 (report_focussed_accessible): remove g_warning debug.
3882 2001-12-07 Michael Meeks <michael@ximian.com>
3884 * test/test-simple.c (validate_tree): comment out some checks.
3885 (test_desktop): app now not registered idly - horay.
3887 2001-12-07 Michael Meeks <michael@ximian.com>
3889 * cspi/spi_registry.c
3890 (registerAccessibleKeystrokeListener): clean, stop it leaking
3891 great swathes of memory, and device event controller references.
3892 ensure we always pass valid sequences.
3893 (deregisterAccessibleKeystrokeListener): ditto.
3894 (generateKeyEvent): upd.
3896 * at-bridge/bridge.c (bridge_key_listener): handle
3897 registry dead exception gracefully.
3898 (bridge_focus_tracker, emit_eventv): free ev.
3900 * test/simple-at.c (report_focus_event): fix polarity.
3902 * libspi/application.c (notify_listeners): kill the ev
3903 argument, and make sure we init the ev we use.
3904 (spi_application_object_event_listener): split out a chunk
3905 (get_atk_object_ref): here & fixup.
3906 (reverse_lookup_name_for_toolkit_event): make const.
3907 (spi_application_toolkit_event_listener): fixup, kill leaks
3910 * at-bridge/bridge.c (register_atk_event_listeners):
3911 don't unref the noop object - causes grief.
3913 * libspi/registry.c: remove the X headers.
3914 turn off the debug churn.
3916 * libspi/accessible.c (spi_accessible_new_return): only
3917 release the ref if we are supposed to [doh]
3919 * test/simple-at.c (report_button_press, report_focus_event):
3920 guard vs. unexpected exit.
3922 * at-bridge/bridge.c (gtk_module_init): prune printf.
3923 (bridge_exit_func): fix app unref.
3925 * libspi/Makefile.am: don't install registry or desktop.h
3927 * libspi/*.h: update includes.
3929 * libspi/application.h: don't include ourself, or
3930 other redundant headers.
3932 2001-12-06 Michael Meeks <michael@ximian.com>
3934 * libspi/accessible.c
3935 (get_accessible_from_servant): impl.
3936 Upd. all CORBA impl.s to use it killing cut and paste.
3938 * cspi/spi_main.c (cspi_cleanup): guard vs. double
3940 (SPI_init): register atexit cleanup handler here.
3942 2001-12-06 Michael Meeks <michael@ximian.com>
3944 * at-bridge/bridge.c (gtk_module_init): g_error on
3945 activation exception
3947 2001-12-06 Michael Meeks <michael@ximian.com>
3949 * at-bridge/bridge.c (gtk_module_init): some sort of
3950 confusing merge clash - reverted.
3951 (bridge_idle_init): ditto.
3953 * test/test-simple.c (main, utterable_normal_derefs):
3954 merge from Bill - somehow not committed.
3956 2001-12-06 Michael Meeks <michael@ximian.com>
3958 * libspi/value.c (spi_value_class_init): upd.
3959 (spi_value_finalize): kill.
3961 * libspi/table.c (spi_table_finalize): kill.
3962 (spi_table_interface_new): upd.
3963 (spi_table_class_init): upd.
3964 (get_table_from_servant): impl.
3965 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3967 * libspi/selection.c (spi_selection_finalize): kill.
3968 (spi_selection_interface_new): upd.
3969 (spi_selection_class_init): upd.
3970 (get_selection_from_servant): impl.
3971 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3973 * libspi/relation.c (spi_relation_finalize): kill.
3974 (spi_relation_class_init, spi_relation_new): upd
3976 * libspi/image.c (spi_image_finalize): kill.
3977 (spi_image_class_init): upd.
3978 (spi_image_interface_new): upd.
3979 (get_image_from_servant): impl.
3980 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3982 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
3983 (spi_hyperlink_finalize): kill.
3984 (spi_hyperlink_new): upd.
3985 (get_hyperlink_from_servant): impl.
3986 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3988 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
3989 (spi_hypertext_finalize): kill.
3990 (spi_hypertext_class_init): upd.
3991 (get_hypertext_from_servant): impl.
3992 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3994 * libspi/editabletext.c (spi_editable_text_finalize): kill.
3995 (spi_editable_text_interface_new): upd.
3996 (get_editable_text_from_servant): impl.
3997 Upd. all CORBA impl.s to use it killing yet more cut and paste.
3999 * libspi/text.c (get_text_from_servant): impl.
4000 All impls - update to use it killing more cut and paste,
4001 also fix bad string returns on duff args ( a somewhat
4002 impossible case to handle - but hey ).
4003 (spi_text_construct): impl.
4004 (spi_text_interface_new): upd.
4005 (spi_text_object_finalize): kill.
4007 * libspi/component.c
4008 (accessibility_component_object_finalize): kill.
4009 (spi_component_class_init): upd.
4010 (get_component_from_servant): impl. helper to kill cut & paste.
4011 (impl_accessibility_component_contains):
4012 (impl_accessibility_component_get_accessible_at_point):
4013 (impl_accessibility_component_get_position):
4014 (impl_accessibility_component_get_extents):
4015 (impl_accessibility_component_get_mdi_z_order):
4016 (impl_accessibility_component_get_layer):
4017 (spi_component_interface_new): upd.
4019 * libspi/action.c (spi_action_finalize): kill.
4020 (spi_action_class_init): upd. inherit from SpiObject.
4021 (spi_action_interface_new): upd.
4022 (get_action_from_servant): impl. helper to reduce cut & paste.
4023 (impl_getKeyBinding, impl_getName, impl_doAction),
4024 (impl_getDescription): Use it everywhere.
4026 * cspi/spi_main.c (get_live_refs): a pointer hash.
4027 (spi_object_hash, spi_object_equal): comment out.
4028 There are issues with CORBA object hashing that need
4031 * libspi/application.c (spi_application_init),
4032 (spi_application_new): upd.
4034 * libspi/accessible.c (spi_accessible_object_finalize): kill.
4035 (spi_accessible_class_init): upd.
4036 s/accessible/object/ in epv methods.
4038 2001-12-05 Bill Haneman <bill.haneman@sun.com>
4040 * at-bridge/bridge.c:
4041 Reorder the bridge initialization into the bridge gtk_module_init,
4042 an immediate call to bridge_register_app, and an idle_add for
4043 register_atk_event_listeners (the only code that *must* wait until
4044 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
4045 the activation, creates the application's Accessible object, and
4046 queues the bridge_idle_init function. Restored call to
4047 Accessibility_Registry_deregisterApplication().
4048 Prior to making this call we obtain a new reference to the
4049 registry, which is a temporary hack that helps us handle apps that
4050 shut down the bonobo mainloop before we get there.
4052 * libspi/registry.c:
4053 Fix string leakage in debug block, and don't segv if a an app
4054 dies before its event notifications have been propagated.
4057 Modify cspi_check_ev() to call g_warning() rather than g_error(),
4058 as stopgap measure until we get proper exception handling when
4059 objects die during or before interrogation.
4063 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
4064 Also changed default value of is_gnome_app to TRUE.
4067 * test/keysynth-demo.c:
4068 Changed use of SPI_init and SPI_event_main to reflect API change above.
4071 Made report_focus_event check the warning value from getName
4072 before reporting on focussed accessible; simplifies handling of
4073 notifications from dead objects.
4075 * test/test-simple.c: (Changes not in this patch since source is
4078 2001-12-05 Michael Meeks <michael@ximian.com>
4080 * registryd/registryd.c (main): protect against
4081 bonobo-activation startup race condition.
4083 * cspi/spi_main.c (cspi_object_add_check): cope
4084 with the exception elegantly.
4086 * idl/Accessible.idl: decl. ChildGone
4088 * libspi/desktop.c (spi_desktop_dispose): impl.
4089 (spi_desktop_class_init): upd.
4090 (spi_desktop_add_application),
4091 (spi_desktop_remove_application),
4092 (abnormal_application_termination): impl.
4093 (impl_desktop_get_child_at_index): re-impl.
4096 (impl_accessibility_registry_deregister_application),
4097 (impl_accessibility_registry_register_application):
4098 kill excessive debug clutter.
4100 * test/test-simple.c (test_misc): test some NULL
4101 tolerance. (main): upd.
4103 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
4104 implements no interfaces - so let's not crash.
4106 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
4108 * libspi/accessible.c (spi_accessible_new_return): impl.
4109 helper to calm the cut and paste, to cope with
4110 NULL AtkObjects effectively and efficiently, and to kill
4111 the referencing bugs.
4113 * libspi/table.c (impl_getAccessibleAt),
4114 (impl_getRowHeader, impl_getColumnHeader): upd.
4116 * libspi/hyperlink.c (impl_getObject): upd.
4118 * libspi/accessible.c
4119 (impl_accessibility_accessible_get_child_at_index): upd.
4121 * libspi/component.c
4122 (impl_accessibility_component_get_accessible_at_point): upd.
4124 * test/test-simple.c (test_editable_text, test_text): impl.
4127 * cspi/spi_editabletext.c
4128 (AccessibleEditableText_insertText): constify.
4130 * test/test-simple.c (focus_me): make more robust.
4132 * libspi/accessible.c: remove some printfs in methods that
4133 we test and work fine, so we can get a clean tree dump.
4135 * test/test-simple.c (validate_accessible),
4136 (validate_tree): make tree dumping pretty too.
4138 * at-bridge/bridge.c (bridge_signal_listener): upd. so
4139 it builds without debug on.
4141 * test/test-simple.c (validate_accessible): fix the most
4144 * cspi/spi_main.c (spi_object_release): leave the nicely
4145 blanked memory around if in debug mode.
4147 * cspi/spi-listener-impl.c (cspi_event): use add_check.
4149 [committed to fixups2]
4150 2001-12-05 Michael Meeks <michael@ximian.com>
4152 * libspi/editabletext.c
4153 (spi_editable_text_class_init): g_type_class_peek_parent,
4154 not interface peek - so we finalize cleanly.
4156 * libspi/accessible.c (spi_accessible_new): kill debug.
4158 * test/test-simple.c (validate_accessible): fix ref.
4159 leak, print strings before freeing them; sigh, comment a
4160 chunk out due to strangeness.
4161 (validate_tree): unref the child after use.
4163 * cspi/spi_component.c (AccessibleComponent_getLayer):
4164 add missing break statement, switch on zlayer not the
4165 uninitialized retval.
4167 * cspi/spi_main.c (cspi_object_add): add assert, local ref
4168 before (possibly re-entering) remote unref.
4170 * test/simple-at.c (main): unref the desktop.
4172 * cspi/spi_accessible.c (cspi_accessible_is_a): move
4175 * cspi/spi_main.c (cspi_accessible_is_a): here to
4176 isolate bonobo API usage more.
4178 * libspi/registry.c (impl_accessibility_registry_register_application):
4179 prune bogus comment.
4181 2001-12-04 Michael Meeks <michael@ximian.com>
4183 * test/test-simple.c (validate_tree): upd.
4184 IndexInParent check to make it more lucid.
4185 (validate_accessible): dump the tree.
4187 * libspi/accessible.c (de_register_public_ref),
4188 (get_public_refs): impl.
4189 (spi_accessible_new): make more efficient & intuitive.
4190 Now IndexInParent check works.
4192 2001-12-04 Michael Meeks <michael@ximian.com>
4194 * cspi/spi-util.h: remove.
4196 * cspi/spi.h: move SPI_freeString here
4198 * libspi/component.c (impl_accessibility_component_get_layer):
4200 (impl_accessibility_component_get_mdi_z_order): ditto,
4201 return -1 on error - is this ok ?
4203 * test/test-simple.c (test_application): impl.
4205 * cspi/spi_accessible.c (Accessible_getApplication),
4206 (Accessible_isApplication): impl.
4208 * libspi/registry.c (spi_listener_struct_free): release
4209 the CORBA reference too.
4211 * libspi/accessible.c
4212 (impl_accessibility_accessible_get_parent): fix ref leak.
4214 * libspi/registry.c (spi_registry_new): make the registry
4215 immortal - we don't want it to go away ever.
4217 * libspi/application.c
4218 (spi_accessible_application_finalize): impl. cleanup.
4220 * cspi/spi_registry.c
4221 (deregisterGlobalEventListenerAll),
4222 (deregisterGlobalEventListener),
4223 (deregisterAccessibleKeystrokeListener): fix ref leak.
4225 * cspi/spi_main.c (SPI_init): remove redundant ref.
4227 * test/test-simple.c (unutterable_horror): impl. to force a
4232 (impl_accessibility_registry_deregister_application): release
4233 the application when we de-register it.
4235 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
4236 until we have the infastructure to get it right.
4238 2001-12-03 Michael Meeks <michael@ximian.com>
4240 * libspi/Makefile.am: only build eventlistener.[ch]
4242 * libspi/accessible.c
4243 (impl_accessibility_accessible_get_child_at_index): don't leak.
4245 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
4246 before we hit the idle handler.
4248 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
4249 debugging than exit.
4251 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
4253 * libspi/listener.c (impl_notify_event): check source
4254 not NIL before unref.
4256 * libspi/registry.c (impl_registry_notify_event): ditto.
4258 * libspi/eventlistener.c
4259 (impl_accessible_event_notify_event): unref the source.
4261 * libspi/accessibleeventlistener.c
4262 (impl_accessible_event_notify_event): unref the source.
4264 * idl/Event.idl: remove 'hash_id' attribute - of no
4267 * libspi/application.c (notify_listeners): upd list
4269 (spi_application_object_event_listener),
4270 (spi_application_toolkit_event_listener): upd to do correct
4274 (_registry_notify_listeners): update.
4275 (parse_event_type): this method also leaks like a sieve.
4276 (impl_accessibility_registry_deregister_global_event_listener):
4277 fix ETYPE_WINDOW case.
4279 * libspi/application.c
4280 (impl_accessibility_application_register_object_event_listener):
4283 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
4285 * libspi/hypertext.c (impl_getLink): ditto.
4287 * cspi/spi_main.c (cspi_object_add): remove
4288 bogus CORBA_Object_duplicate.
4290 * cspi/spi-listener-impl.c (cspi_event): dup/ref
4293 * cspi/spi_accessible.c
4294 (Accessible_getRelationSet): fix leak / referencing issue.
4296 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
4297 (cspi_object_add, cspi_object_unref): upd.
4298 (spi_object_release, get_live_refs): impl.
4299 (cspi_cleanup): simplify.
4301 * *.[ch]: s/boolean/SpiBoolean/
4303 * cspi/spi_accessible.c (role_names): actualy order so it
4304 corresponds with the enum !
4306 * test/test-simple.c (test_roles): check some role strings
4307 vs. enums to detect offset errors.
4309 2001-12-01 Michael Meeks <michael@ximian.com>
4311 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
4313 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
4315 (Accessible_getChildAtIndex): use cspi_add_check so we
4316 check the ev before using a (possibly) invalid value.
4318 * libspi/accessible.c
4319 (impl_accessibility_accessible_get_parent): don't segv
4322 * at-bridge/bridge.c (gtk_module_init): upd.
4323 (bridge_property_event_listener): don't leak strings
4325 (bridge_state_event_listener),
4326 (bridge_property_event_listener): don't use a static
4327 buffer in case of recursive event emission &
4328 re-enterancy - split out the swathe of cut and paste
4330 (emit_eventv): and fix 2 ref leaks here & comply to the
4332 (bridge_register_app): rename to
4333 (bridge_idle_init): this and kill arg parsing, split
4334 various inits & bonobo-activation registration to module
4335 init time, kill referencing error.
4336 (bridge_exit_func): fix the same leak.
4337 (bridge_focus_tracker): don't leak event structures
4339 (bridge_signal_listener): more leakage and cut & paste
4341 (bridge_key_listener): return the result - FIXME is
4342 this polarity correct ?
4343 (accessibility_keystroke_from_atk_key_event): rename
4344 (accessibility_init_keystroke_from_atk_key_event): and stop
4346 (gtk_module_init): return a value - not that it is checked by
4348 (bridge_key_listener): register my horror at casting between
4349 IDL defined structs.
4350 (bridge_get_registry): kill - not used.
4352 * cspi/spi_accessible.c (Accessible_getRole): make return const.
4354 * test/test-simple.c (test_roles): impl.
4355 (test_desktop, validate_accessible, validate_tree): impl.
4357 * cspi/spi_accessible.c (role_names): fixup bogus
4358 MAX_ROLES setup, make constants const for efficient linkage
4359 (AccessibleRole_getName): conform to coding style, make
4362 2001-11-30 Michael Meeks <michael@ximian.com>
4364 * cspi/spi.h: add missing prototype.
4366 * libspi/registry.c (spi_listener_struct_new): fix sig.
4368 * test/Makefile.am: add test-simple
4370 * test/test-simple.c: add
4372 * test/test.sh: add.
4374 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
4376 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
4377 do it straight - since otherwise we often get an activation race.
4379 [ work before Bill duplicated a chunk of it ... ]
4380 2001-11-30 Michael Meeks <michael@ximian.com>
4382 * libspi/keystrokelistener.c
4383 (spi_keystroke_listener_class_init): fixup arg
4386 * libspi/eventlistener.c
4387 (spi_event_listener_class_init): ditto.
4389 * tests/test.sh: add.
4391 * cspi/spi-listener-impl.h: update macros.
4393 * cspi/spi-listener-impl.c
4394 (cspi_event_listener_remove_callback): add
4395 correct pre-conditions.
4397 * cspi/spi_main.c (SPI_exit): guard vs. double
4398 exits, exit the mainloop nicely.
4399 (SPI_event_main): make more sense.
4400 (SPI_init): move the atexit evilness here so we
4401 always do it (yuck).
4402 (SPI_event_main): upd.
4404 * test/simple-at.c: update for listener changes.
4406 * registryd/registryd.c (main): prune kruft.
4408 * libspi/libspi.h: upd.
4410 * libspi/eventlistener.[ch]: rename broken macros.
4412 * libspi/accessibleeventlistener.[ch]: remove.
4414 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
4416 * test/test-simple.c: Add - automated tests.
4418 * cspi/spi-listener-impl.c (cspi_event),
4419 (cspi_key_event): add user_data to invoke.
4420 (cspi_keystroke_listener_finalize): impl.
4421 (cspi_keystroke_listener_class_init): upd.
4424 (createAccessibleEventListener),
4425 (AccessibleEventListener_addCallback),
4426 (createAccessibleKeystrokeListener),
4427 (AccessibleKeystrokeListener_addCallback): upd.
4429 * libspi/deviceeventcontroller.c
4430 (spi_device_event_controller_check_key_event): add public proto.
4433 (impl_accessibility_registry_deregister_global_event_listener):
4434 always init listeners.
4435 (_registry_notify_listeners): yes it is.
4437 * cspi/spi-listener-impl.c (cspi_key_event):
4439 (cspi_event_listener_finalize): impl.
4440 (cspi_event_listener_class_init): hook up.
4441 (event_handler_new, event_handler_free),
4442 (event_list_remove_by_callback): impl.
4443 (cspi_event_listener_remove_callback),
4444 (cspi_keystroke_listener_remove_callback),
4445 (cspi_keystroke_listener_add_callback),
4446 (cspi_event_listener_add_callback): upd.
4448 * libspi/keystrokelistener.c
4449 (keystroke_listener_object_finalize): kill
4450 (spi_keystroke_listener_class_init): upd.
4451 (spi_keystroke_listener_add_callback),
4452 (spi_keystroke_listener_remove_callback): kill,
4454 (impl_key_event): prune drasticaly.
4456 * libspi/eventlistener.c
4457 (spi_event_listener_add_callback),
4458 (spi_event_listener_remove_callback): kill, use
4460 (impl_accessible_event_notify_event): upd.
4461 (spi_event_listener_object_finalize): remove.
4463 * libspi/Makefile.am: use eventlistener.[ch]
4465 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4467 * libspi/registry.c (_registry_notify_listeners):
4468 Changed listener loop iteration to use preferred convention.
4469 Got rid of string memory leaks caused be calling g_strconcat
4470 inside function calls.
4472 * libspi/registry.c (parse_event_type):
4473 Stopped g_strconcat memory leaks, free the g_strsplit return,
4474 g_strdup the split pieces when used, etc.
4476 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4479 Change method 'compare' to return a 'difference set' rather than
4480 taking a StateSet as an out parameter (more Java-friendly).
4482 * idl/Accessible.idl:
4483 Added CORBA struct 'BoundingBox', to faciliate API changes below:
4485 * idl/Component.idl:
4487 Changed methods 'getExtents' and 'getImageExtents' in these
4488 interfaces to return a BoundingBox structure.
4489 (getPosition and getSize are redundant and possibly should be
4490 removed, rather than creating a corresponding Point struct.)
4492 * cspi/spi_component.c:
4493 Modify implementation of getExtents to reflect the above IDL
4498 Add (missing) AccessibleImage_getExtents () API.
4500 * docs/reference/cspi/at-spi-cspi-sections.txt:
4501 Added AccessibleImage_getImageExtents () to docs.
4503 2001-12-03 Bill Haneman <bill.haneman@sun.com>
4505 * idl/Component.idl:
4506 Added two methods, getLayer () and getMDIZOrder (), to reflect
4507 the new ATK methods atk_object_get_layer and
4508 atk_object_get_mdi_z_order. (Which arguably should be part of the
4509 AtkComponent API and AtkObject). Also added an enum,
4510 ComponentLayer, for the first method's return value.
4512 * libspi/component.c:
4513 Added implementations for these methods.
4515 * cspi/spi_component.c:
4517 Added cspi binding methods for above,
4518 AccessibleComponent_getLayer() and
4519 AccessibleComponent_getMDIZOrder().
4520 Added cspi enum 'AccessibleComponentLayer'.
4522 * docs/reference/cspi/at-spi-cspi-sections.txt:
4523 Added above methods to docs.
4527 Changed typedef for 'boolean' type (and all references to it) to
4528 SPIBoolean, to avoid keyword clashes with C++.
4531 Changed usages of 'boolean' to SPIBoolean.
4533 * test/keysynth-demo.c:
4534 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
4535 app), except where SPIBoolean is required by the callbacks API.
4537 2001-12-02 Bill Haneman <bill.haneman@sun.com>
4539 * cspi/spi_registry.c:
4540 Removed obsolete X event loop for passive keygrabs (which now
4543 * registryd/registryd.c:
4544 Removed unnecessary call to gdk_init() [cruft]. This also allows
4545 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
4548 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4550 * docs/reference/cspi:
4551 Included docs for SPI_freeString in generated documentation.
4554 Renamed spi_freeString to SPI_freeString, for consistency. Added
4555 documentation for this function.
4558 Renamed spi_freeString to SPI_freeString, for consistency.
4559 Removed obsolete method declaration string_from_corba_string.
4561 * test/keysynth-demo.c:
4562 Small tweak to comments.
4565 Stopped leaking the strings returned from CSPI.
4567 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4569 Merged Michael's branch (see his ChangeLog entries below).
4571 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
4572 bridge is alive, release on exit.
4574 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
4575 Fix type check macro.
4578 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
4581 Added is_gnome_app static, and method cspi_is_gnome_app(),
4582 so we can call the appropriate shutdown routine at exit in SPI_exit.
4584 * cspi/spi_main.c (cspi_object_ref):
4585 Duplicate the corba object passed in, since we're keeping it around.
4587 * cspi/SPI_exit.c, cspi_cleanup:
4588 Moved the releasing of the live refs to its own function, so we
4589 can put it in g_atexit (). Call the appropriate shutdown API
4590 depending on whethe calling client is a gnome app or not
4591 (bonobo_main_quit or CORBA_ORB_shutdown).
4593 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
4594 Unref the listener when this method is called, after
4595 deregistration. Updated the API docs to note this behavior.
4597 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
4598 Bugfixes: Ref the bonobo object when returning a parent or child
4599 reference, or an AccessibleRelation. Generally made sure
4600 BonoboObject refcount is incremented whenever we return an
4603 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
4604 Fixed typo/bug in signal declaration.
4606 * libspi/accessibleeventlistener.h:
4609 * libspi/application.c (spi_application_new):
4610 Fixed leak in initialization.
4613 Remembered to increment bonobo-object refcount when returning
4614 children (applications) from desktop object.
4615 Added (empty) finalize method.
4617 * libspi/deviceeventcontroller.c:
4618 Hold a ref to listeners inside DEControllerKeyListeners.
4619 Added dec_key_listener_free() method. Use prepend instead of
4620 append in key_listener list. Fixed some refcount madness and
4621 leaks in the listener registration/deregistration - deregistration
4622 now calls dec_key_listener_free() on listeners, and on the
4623 temporarily constructed dec_key_listener() used to perform the search/match.
4625 * libspi/hypertext.c (spi_hypertest_finalize):
4626 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
4627 class. Also fixed spi_hypertext_interface_new() and
4628 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
4630 * libspi/hypertext.h:
4631 Removed pointless and duplicate AtkObject pointer from
4634 * libspi/keystrokelistener.c:
4635 Fixed incorrect type of keystroke_listener_parent_class,
4636 renamed keystroke_listener_object_finalize to
4637 spi_keystroke_listener_object_finalize.
4638 Fixed typo in signal declaration
4639 (spi_keystroke_listener_class_init).
4641 * libspi/registry.c:
4642 Added funcsions spi_listener_struct_new() and
4643 spi_listener_struct_free() to help with memory management issues.
4644 We also now use these methods instead of gnew + poking stuff into
4645 the struct, and to decrement listener counts/free the listeners
4646 when deregistering them.
4647 Fix more refcount bugs in getDesktop() and
4648 getDeviceEventController().
4651 De-ref the desktop after enumerating the applications. Explicitly
4652 decrement the refcounts on the created listeners on exit (using
4653 _unref for keystroke listeners, and via the
4654 deregisterGlobalEventListenerAll command for other event
4657 2001-11-27 Michael Meeks <michael@ximian.com>
4659 * cspi/spi-listener.h: fixup enum.
4661 2001-11-27 Michael Meeks <michael@ximian.com>
4663 * cspi/spi-listener-impl.c (cspi_event_listener_new),
4664 (cspi_keystroke_listener_new): Use the cspi variants.
4666 2001-11-26 Michael Meeks <michael@ximian.com>
4668 * test/keysynth-demo.c: fix 2 compile warnings, missing
4671 * test/simple-at.c (report_focussed_accessible),
4672 (report_focus_event, report_button_press),
4673 (check_property_change, is_command_key),
4674 (report_ordinary_key_event, report_command_key_event): upd.
4676 * util/mag_client.h: include pre-requisites.
4678 * libspi/accessibleeventlistener.c
4679 (spi_event_listener_object_finalize): free any lingering
4682 * libspi/keystrokelistener.c
4683 (keystroke_listener_object_finalize): ditto.
4685 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
4686 callbacks, with cspi types.
4688 * cspi/spi_event.c (createAccessibleEventListener): chain to
4689 (AccessibleEventListener_addCallback): here.
4690 (createAccessibleKeystrokeListener): chain to
4691 (AccessibleKeystrokeListener_addCallback): here.
4693 * libspi/keystrokelistener.c
4694 (spi_keystroke_listener_class_init): add signal.
4695 (impl_key_event): emit the event.
4696 (boolean_handled_accumulator): impl.
4697 (marshal_BOOLEAN__POINTER): add, gack.
4699 * libspi/accessibleeventlistener.c
4700 (spi_event_listener_class_init): add signal.
4701 (impl_accessible_event_notify_event): emit the signal &
4702 make the loop efficient.
4703 (spi_event_listener_add_callback): prepend the callback.
4705 * libspi/accessibleeventlistener.h: add an 'event' signal,
4706 decl type on callback.
4708 * libspi/keystrokelistener.h: ditto.
4710 * cspi/spi-listener.h: make methods typesafe and
4711 make them use the new event typedefs.
4713 * test/simple-at.c (report_focussed_accessible):
4714 include mag_client.h
4715 Use *(void *)text_interface not the other thing.
4717 * configure.in: add gtk to registryd bits - since we use
4720 * util/magnifier.c: include libbonobo.h
4722 2001-11-25 Bill Haneman <bill.haneman@sun.com>
4724 * test/keysynth-demo.c:
4725 Turned this into a simple scanning keyboard, to demonstrate the
4726 use of g_timeout_add () as a means of creating timers for
4727 scanning, and the use of GtkStyle for visually indicating when
4728 virtual keyboard elements are selected.
4730 keysynth-demo now listens to any keyboard keys with zero-valued
4731 keycodes (i.e. 'unused' keys) and interprets them as
4734 Reworked the shiftlatch code so that shift-down state isn't held
4735 for long periods (it's only synthesized immediately prior to
4736 the keysynth event it's modifying). Note that shiftlatch in this
4737 demo is a convenience, not intended to take the place of AccessX
4738 which is the better choice for getting 'sticky' modifier keys.
4740 * libspi/deviceeventcontroller.c:
4741 * at-bridge/bridge.c:
4742 * cspi/spi_registry.c:
4743 Removed some debug print stuff, and put other verbosity in #ifdef
4748 Implemented some more of the magnifier IDL for the simple
4749 magnifier: namely, getZoomRegionParams.
4750 Added mag_x and mag_y members to MagnifierData struct, aid of this
4752 Added GtkWindow::realize signal handler to magnifier, to keep it
4753 from receiving keyboard focus from the WM.
4755 2001-11-23 Mark McLoughlin <mark@skynet.ie>
4757 * cspi/spi-private.h: my guess at what michael forgot
4758 before he ran off to NZ :-)
4760 2001-11-23 Michael Meeks <michael@ximian.com>
4762 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
4763 comment out non existant method invoke so we link.
4765 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
4766 use bonobo_exception_get_text for more friendly warnings.
4768 * cspi/spi.c (Obj_Add): move into spi_main & rename
4769 spi_object_add; kill spi.c
4771 * cspi/spi_registry.c
4772 (deregisterGlobalEventListener),
4773 (deregisterGlobalEventListenerAll),
4774 (registerGlobalEventListener): fix exception leaks.
4776 * cspi/spi_main.c (spi_exception): impl. helper, so we
4777 don't leak exceptions.
4779 * cspi/spi_selection.c
4780 (AccessibleSelection_deselectSelectedChild): return the
4783 * cspi/spi_main.c (spi_ev): impl; hack - gack.
4784 (spi_registry): ditto.
4785 (SPI_init): guard against double inits.
4787 * cspi/*.c: use spi_ev (), and spi_registry () where
4788 appropriate - a temporary hack until we have something
4789 better. Use spi_object_add
4791 2001-11-22 Michael Meeks <michael@ximian.com>
4793 * cspi/Makefile.am: re organise, install the headers.
4795 * cspi/*.h: add G_BEGIN/END_DECLS
4797 2001-11-22 Bill Haneman <bill.haneman@sun.com>
4800 Added non-preemptive keylistener for key events with no modifiers
4801 and shift-only modifier.
4803 * libspi/keystrokelistener.c:
4804 Removed some verbose diagnostics printout.
4806 * cspi/spi_registry.c:
4807 Fixed a bug that caused all key listeners to be registered as
4810 * libspi/deviceeventcontroller.c:
4811 Fixed bug that caused XGrabKey (preemptive key grab) to be called
4812 for non-preemptive key masks.
4815 2001-11-22 Bill Haneman <bill.haneman@sun.com>
4817 * docs/reference/idl/at-spi-idl-docs.sgml:
4818 * docs/reference/idl/at-spi-idl-sections.txt:
4819 * docs/reference/idl/at-spi-idl-overrides.txt:
4820 Added missing files.
4822 * docs/reference/Makefile.am:
4823 removed idl from SUBDIRS until we can figure a way to get gtk-doc
4824 to scan the IDL files :-(
4829 Added .cvsignore files.
4831 2001-11-21 Bill Haneman <bill.haneman@sun.com>
4833 * libspi/deviceeventcontroller.c:
4834 * libspi/keystrokelistener.c:
4836 * cspi/spi_registry.c:
4837 Added filters for KeySets, KeyEventSeq, and event types to key
4838 event dispatching, so listeners should only receive those events
4839 that they requested :-)
4841 2001-11-21 Bill Haneman <bill.haneman@sun.com>
4846 * docs/reference:Makefile.am:
4847 * docs/reference/cspi:
4848 * docs/reference/cspi:Makefile.am:
4849 * docs/reference/cspi:tmpl:
4850 * docs/reference/cspi:tmpl:*.sgml:
4851 * docs/reference/idl:
4852 * docs/reference/idl:Makefile.am:
4853 * docs/reference/idl:at-spi-idl-sections.txt:
4854 * docs/reference/idl:at-spi-idl-docs.sgml:
4855 * docs/reference/idl:tmpl:
4856 * docs/reference/idl:tmpl:*.sgml:
4858 Restructured docs directory to allow separate 'reference' docs
4859 section, and forked idl and cspi docs. Added the sgml template
4860 files to CVS. Added the first sections/structural sgml for the
4863 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
4865 * configure.in, libspi/Makefile.am: find libXtst.
4867 2001-11-21 Michael Meeks <michael@ximian.com>
4869 * test/accessx-gui.c: s/spi_value/value/ - doh.
4871 * libspi/base.[ch]: add.
4873 2001-11-18 Bill Haneman <bill.haneman@sun.com>
4875 * idl/Accessible.idl:
4876 * idl/Application.idl:
4879 Started gtk-doc cleanup on IDL.
4881 * libspi/deviceeventcontroller.c:
4882 Added and connected non-preemptive key notification from the
4883 toolkits (in addition to the pre-emptive support from XServer
4884 which we had before, but which causes 'focus flashing'). Filters
4885 are presently limited to key modifiers and global/non-global,
4886 KeySets are presently ignored, as are KeyEvent masks.
4888 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
4889 structs into the persistant structure rather than just storing
4890 pointers to things that might not persist across servant
4893 The XGrabKey call now does async keygrabs, because synchronous
4894 ones were deadlocking with GDK_event code in a very nasty way.
4896 Added boolean to internal method notify_keylisteners, to indicate
4897 whether the event came from the 'toolkit source' or the 'global
4898 (XServer) source' - this is used in the notification process to
4899 determine which listeners to send the event to.
4901 deviceeventcontroller.c is now warning-free.
4903 * libspi/registry.c:
4904 Fixed regression in application de-registration.
4905 Also fixed some really brain-dead weirdness having to do with
4906 event dispatching - event structs are now duplicated before being
4907 re-marshalled in the dispatch to listeners. This also fixes a
4908 Solaris build problem.
4911 2001-11-20 Michael Meeks <michael@ximian.com>
4914 (impl_accessibility_registry_deregister_global_event_listener):
4917 * libspi/deviceeventcontroller.c
4918 (spi_device_event_controller_check_key_event): return
4919 FALSE on no virtual method.
4921 * libspi/*..h: make includes work on a correctly pathed install.
4923 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
4925 * libspi/application.h: kill unused ( and whacked out )
4926 gboolean *spi_application_set_id (AtkObject *app, long id);
4928 2001-11-20 Michael Meeks <michael@ximian.com>
4930 * libspi/*.[ch]: further convert to bonobo's type func
4931 macros, remove redundnant casts etc.
4933 * libspi/text.c s/accessibility_text/spi_text/g,
4934 re-order to de-cruft.
4936 * libspi/hypertext.c: re-order to kill a huge slew
4937 of redundant forward decls.
4939 * libspi/relation.c: ditto.
4941 * libspi/image.c: ditto.
4943 * */.cvsignore: update
4945 2001-11-20 Michael Meeks <michael@ximian.com>
4947 * libspi/deviceeventcontroller.c
4948 (_controller_register_with_devices): use g_getenv,
4949 kill stdlib.h include.
4951 * libspi/keystrokelistener.c
4952 (spi_keystroke_listener_get_type): kill
4953 (spi_keystroke_listener_class_init),
4954 (spi_keystroke_listener_init): rename to this.
4956 * libspi/text.c (impl_getAttributes): fix warning / bug.
4958 * libspi/*.[ch]: more headers, includes and over commenting.
4960 2001-11-20 Michael Meeks <michael@ximian.com>
4962 * libspi/*.[ch]: fixup headers, includes and over commenting.
4964 * libspi/image.c (impl__get_imageDescription): const
4965 correctness warning fix. remove redundant casting.
4967 * libspi/table.c (impl_getRowDescription): ditto.
4968 (impl_getColumnDescription): ditto.
4970 * libspi/libspi.h: add.
4972 2001-11-19 Michael Meeks <michael@ximian.com>
4974 * libspi/editabletext.c (impl_setAttributes): fix warnings.
4976 * libspi/component.c (accessibility_component_get_type):
4977 rename to (spi_component_get_type): and macroify.
4978 (accessibility_component_init): rename to
4979 (spi_component_init): this
4980 (accessibility_component_class_init): rename to
4981 (spi_component_class_init): this
4983 * libspi/action.c (spi_action_get_type): kill, use the macro.
4985 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
4988 * libspi/application.c (spi_application_object_event_listener),
4989 (impl_accessibility_application_register_object_event_listener):
4990 warning fixes / const understanding updates.
4992 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
4995 2001-11-18 Bill Haneman <bill.haneman@sun.com>
4997 * libspi/spi_accessible.c: Added docs and C bindings for
4998 AccessibleStateSet. (No implementations yet). Documentation
4999 coverage for C bindings now 100%. Made docs for event listeners
5004 boolean notifyListenersSync (in DeviceEventListener listener,
5005 in DeviceEvent event);
5007 oneway void notifyListenersAsync (in DeviceEventListener listener,
5008 in DeviceEvent event);
5010 Added DeviceEventListener and DeviceEvent structs (may deprecate
5011 KeyStroke and KeystrokeListener in favor of this generic
5012 event/listener framework for devices).
5014 * libspi/deviceeventcontroller.c:
5016 Changed some key listener code to take masks, etc., and paved the
5017 way for integration of toolkit/non-preemptive key events. Changed
5018 signatures of some internal methods.
5020 * at-bridge/bridge.c:
5021 Fixed regression connecting to interface signals, apparently
5022 caused by GTK+ changes.
5024 Added an internal bridge_state_listener to deal with
5025 property-change:accessible-state signals.
5027 Changed the key_listeners GList to store structs (including masks,
5028 etc.) instead of just CORBA_Objects (required for full
5029 implementation of key listener API).
5031 Connected the bridge to all currently supported Atk signals.
5032 Events now supported:
5033 object:property-change
5034 object:property-change:accessible-name
5035 object:property-change:accessible-state
5036 object:property-change:accessible-description
5037 object:property-change:accessible-parent
5038 object:property-change:accessible-value
5039 object:property-change:accessible-role
5040 object:property-change:accessible-table-caption
5041 object:property-change:accessible-table-column-description
5042 object:property-change:accessible-table-column-header
5043 object:property-change:accessible-table-row-description
5044 object:property-change:accessible-table-row-header
5045 object:property-change:accessible-table-summary
5046 object:children-changed
5047 object:visible-data-changed
5048 object:selection-changed
5049 object:text-selection-changed
5051 object:text-caret-moved
5053 object:row-reordered
5055 object:column-inserted
5056 object:column-reordered
5057 object:column-deleted
5058 object:model-changed
5060 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5062 * libspi/hyperlink.c,h:
5063 Fixed some broken stuff in hyperlink.
5065 * libspi/relation.h:
5066 * libspi/relation.c:
5067 * cspi/spi_accessible.c:
5068 Initial implementations of AccessibleRelation methods, and docs.
5070 * libspi/accessible.c:
5071 Fixed a bug that caused SEGV if an accessible
5072 object's description is NULL, and a client
5073 requests it. An empty string is now returned.
5075 * cspi/spi_editabletext.c:
5076 * cspi/spi_hypertext.c:
5078 * cspi/spi_hyperlink.c:
5082 Doc coverage now 95%.
5084 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5086 One last namespacing revision:
5087 * libspi/accessibleeventlistener.[ch]:
5088 Renamed SpiAccessibleEventListener to SpiEventListener,
5089 (no need for two namespaces ;-)
5091 And lots of documentation fixes:
5093 * docs/at-spi-docs.sgml:
5094 Fixed 'underscore vs. hyphen' bug that was preventing
5095 the gtk-doc API docs from being automatically generated.
5098 * cspi/spi-listener.h
5100 * cspi/spi_accessible.c
5102 * cspi/spi_application.c
5103 * cspi/spi_component.c
5104 * cspi/spi_editabletext.c
5106 * cspi/spi_hypertext.c
5108 * cspi/spi_registry.c
5109 * cspi/spi_selection.c
5113 * docs/at-spi-docs.sgml
5114 * docs/at-spi-sections.txt
5116 Added and fixed up gtk-doc documentation in cspi.
5118 Interfaces now (fully) documented (subject to revision and enhancement):
5120 Event Listener Support
5122 AccessibleApplication
5126 AccessibleEditableText
5133 AccessibleRelationSet
5138 2001-11-14 Bill Haneman <bill.haneman@sun.com>
5140 * at-bridge/bridge.c:
5141 Initial work for toolkit-level key snooper connection by bridge.
5146 New typedefs and fixes to support new namespacing, and cleaner
5147 separation of cspi bindings from libspi bonobo implementation.
5148 Removed inconsistent and extraneous Spi* namespace prefix that
5149 had crept into cspi headers.
5150 Lots of comment fixes that sed had missed.
5152 * cspi/spi-roletypes.h:
5153 * cspi/spi-statetypes.h:
5154 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
5155 to AccessibleRoleType.
5157 * libspi/accessibleeventlistener.h:
5158 Fixed minor namespacing weirdness.
5160 * libspi/deviceeventcontroller.c:
5161 Reordered some internal API for device listeners.
5162 Changed the key registry final boolean to 'is_system_global'
5163 rather than 'is_synchronous', which is more descriptive of its
5165 Added spi_device_event_controller_new().
5166 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
5168 * libspi/keystrokelistener.[ch]:
5169 Namespaced KeystrokeListener to SpiKeystrokeListener.
5170 Changed uses of keymasks to use SPI_ prefix, and did other
5173 * libspi/keymasks.h:
5174 Namespaced keymask constants with SPI_ prefix.
5176 * libspi/registry.c:
5177 Some warning fixes, and knock-on fixes from namespace changes.
5180 Added rules for accessx-gui test program.
5182 * test/accessx-gui.c:
5183 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
5184 utility. It doesn't actually use at-spi, but it's still cool and
5187 * test/keysynth-demo.c:
5191 Fixes so that these test clients work properly with the namespaced
5192 libraries. (Incompletely tested for technical reasons, fixes may follow)
5195 2001-11-13 Michael Meeks <michael@ximian.com>
5197 * libspi/application.c
5198 (impl_accessibility_application_get_version),
5199 (impl_accessibility_application_get_toolkit_name):
5201 (impl_accessibility_application_set_id),
5202 (impl_accessibility_application_get_id): remove
5203 redundant casting code.
5205 * libspi/action.c (impl_getDescription): fix warnings.
5207 * libspi/accessible.c
5208 (impl_accessibility_accessible_get_parent),
5209 (impl_accessibility_accessible_get_child_at_index),
5210 (impl_accessibility_accessible_get_state),
5211 (impl_accessibility_accessible_get_relation_set):
5212 warning fixes & include action.h
5214 2001-11-13 Michael Meeks <michael@ximian.com>
5216 * *.[ch] fix bits I screwed up:
5218 s/([^ \tb(\*\&\?\",])spi_/\1/g;
5219 s/([^ \tb(\*\&\?\",])Spi/\1/g;
5221 2001-11-13 Michael Meeks <michael@ximian.com>
5223 * *.[ch] Namespace libspi into spi_ and Spi.
5225 2001-13-11 Michael Meeks <michael@ximian.com>
5227 * Makefile.am: dist & install at-spi-1.0.pc
5229 * libspi/Makefile.am: install into at-spi-1.0
5231 * idl/Makefile.am (idldir): install into at-spi-1.0
5233 * at-spi-1.0.pc.in: add.
5235 * configure.in: build it.
5237 2001-11-12 Bill Haneman <bill.haneman@sun.com>
5239 * test/keysynth-demo.c:
5240 Use a 'realize' signal-handler to set the WM properties for
5241 the virtual keyboard, rather than making it a "POPUP" type
5242 override-redirect window (thanks to anders carlsson for that
5245 2001-11-11 Bill Haneman <bill.haneman@sun.com>
5248 * test/keysynth-demo.c:
5249 Added new test of key synthesis, which creates a simple
5250 (mouse-operated) onscreen keyboard. It inserts key events into
5251 the currently-focused window, thus it does not grab keyboard focus
5254 * cspi/spi_registry.c:
5255 Added C binding for AT-SPI generateKeyEvent.
5257 * libspi/deviceeventcontroller.c:
5258 Added call to XFilterEvent so that key listener works with XIM (we
5259 hope). Added event_synth_type to generateKeyEvent, so that we can
5260 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
5261 synthesize a press/release pair for KeySyms.
5263 2001-11-09 Bill Haneman <bill.haneman@sun.com>
5265 * libspi/Makefile.am:
5266 * registryd/Makefile.am:
5267 (temporary) hack to include libXtst in libspi and registryd.
5268 (Needed for keystroke synthesis, see below).
5271 Improved API for registerKeystrokeListener, in accordance with
5272 discussions with Gnopernicus team and X server research.
5274 * libspi/registry.c:
5275 * libspi/deviceeventcontroller.c:
5276 * libspi/accessible.c:
5277 * libspi/keystrokelistener.c:
5278 Changes and fixes to support keylisteners for potentially
5279 consumed key events (that is, 'passive grabs').
5280 Added implementation for generateKeyEvent() [untested].
5283 Changes to registerKeystrokeListener() API, as above.
5284 Added deregisterGlobalEventListenerAll(), and
5285 deregisterKeystrokeListener(), which are needed for clean exit of
5287 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
5288 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
5290 * cspi/spi_registry.c:
5291 Added implementations of function prototypes mentioned above.
5293 * registryd/registryd.c:
5294 Added the key listener event source as a g_timeout(), to allow
5295 receipt of key events that are not caught by GDK (since GDK
5296 doesn't support passive keygrabs, this was necessary).
5299 Changed to attach a keylistener to 'Alt' keys, and
5300 respond to the following keycommands: Alt-M (toggle magnifier);
5301 Alt-F (toggle speech); Alt-Q (quit).
5302 Added an exit routine to deregister the listeners, and a key
5303 listener that prints some key info to the console when a key
5304 matches the listener mask (and is thus received by the listener).
5306 * util/idl/Magnifier.idl:
5307 Changes to magnifier API to support multiple zoom regions,
5308 non-uniform scaling in x and y, markDirty, and a host of other
5309 features that would be useful to magnification.
5312 * util/mag_client.c:
5313 * util/mag_client.h:
5314 * util/mag_control.c:
5316 Source code changes to support the above IDL changes.
5319 As above, and also changes to use a (slower) generic conversion
5320 path for colormap conversions, since the fast RGB conversions have been
5321 reported to fail for 16-bit displays.
5323 2001-10-26 Michael Meeks <michael@ximian.com>
5325 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
5327 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
5329 * at-bridge/Makefile.am: fix LDFLAGS.
5331 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5333 * at-bridge/bridge.c:
5334 Re-worked listeners for toolkit events, now we have signal
5335 and property listeners. Added a private method
5336 register_atk_event_listeners(), which registers with the
5337 various atk and gtk signals we need to monitor in order to emit
5339 Added emission hook for AtkObject:property-change events, to
5340 support the 'property listeners'.
5341 Fixed some alloc()s of Accessibility_Event structs to use CORBA
5344 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
5345 which emit warnings and exit, respectively, if CORBA errors occur
5346 during remote calls, and we now use these methods to check most of
5347 our CORBA calls in the C bindings.
5349 * cspi/spi_accessible.c:
5350 Changed AccessibleSelection_refSelectedChild() to
5351 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
5352 now increment refcounts.
5354 * cspi/spi_component.c:
5355 Fixed some long pointer casts (dangerous!) to pass pointers to
5356 CORBA_longs of the proper type to the CORBA stubs, and copy the
5357 data into the longs that were passed into the C bindings code.
5359 * at-bridge/bridge.c:
5361 * libspi/accessible.c:
5362 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
5363 hyperlinks, AtkHyperlink is an object type.
5365 * libspi/application.c:
5366 Added various conversions to and from "generic" event types and
5367 atk-specific types; this is really part of the 'bridge'
5368 implementation but is valid for all AtkObject-based accessibility
5371 * libspi/editabletext.c:
5372 Fixed nasty bug wherein editable text's finalize method was
5373 unref'ing tha AtkObject reference that the text parent class was
5374 about to unref _again_. There was also a nasty inheritance bug
5375 that meant that the AccessibleEditableText class was corrupt.
5377 * libspi/selection.c:
5378 Provided implementations for some selection API that was broken.
5380 * idl/Application.idl:
5381 Added registerObjectEventListener () method.
5384 Fixed a number of return values that were Bonobo_Unknowns from
5385 bonobo_object_corba_objref(), which I
5386 forgot to dup before returning. Changed instances of
5387 bonobo_object_corba_objref (bonobo_object(o)) to
5388 BONOBO_OBJREF(o), for concision and clarity.
5390 2001-10-13 Louise Miller <louise.miller@sun.com>
5392 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
5393 idl/Event.idl, idl/Registry.idl
5394 Changed these files to include Bonobo_Unknown.idl instead
5397 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
5399 * libspi/component.c libspi/component.h:
5400 Fixed typo. Added assertions for object checks in
5401 AccessibleComponent code.
5403 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5405 * idl/Accessible.idl:
5406 Added 'isEqual (Accessible *object)'
5407 method for Accessible. (Not Yet Implemented).
5410 Changed signature of registerKeystrokeListener() to
5411 take a KeySet and KeyEventSeq so that specific keys and event
5412 types could be requested for monitoring, and added a flag
5413 is_synchronous so that either synchronous or asynchronous
5414 notification could be requested. (However this is not all
5415 implemented yet). This also meant adding two new typedefs,
5416 KeyEventSeq and KeySet.
5419 Added two new relations, RELATION_TOOLTIP_FOR and
5420 RELATION_LEAFNODE_OF.
5423 Added new state, STATE_HAS_TOOLTIP.
5425 * libspi/text.c, editabletext.c:
5426 Added new assertions to all casts of bonobo-objects from
5427 CORBA servants, to prevent Text API calls on non-text objects.
5428 Changed suspect casts of int-pointer types, so that we
5429 always send a valid CORBA_long pointer to the CORBA APIs that use
5430 in/out long parameters. We then have to copy from the CORBA_long
5431 into the regular long or int for return to the C bindings, or
5432 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
5435 * libspi/deviceeventcontroller.c:
5436 Cleaned these sources up.
5438 Changed return type for getCharacterAtOffset to
5439 CORBA_unsigned_long, to allow for 32-bit characters.
5442 2001-10-08 Bill Haneman <bill.haneman@sun.com>
5446 Fixed 'make dist' so that distro compiles...
5447 * libspi/keymasks.h:
5449 * cspi/spi-listener.c:
5450 KeystrokeListenerCB now returns a boolean.
5452 Added KeyEventType struct, and KeyStroke.
5453 Also added createKeystrokeListener(),
5454 KeystrokeListener_addCallback(),
5455 KeystrokeListener_removeCallback(), and added a keymask to
5456 registerKeystrokeListener().
5457 * cspi/spi_accessible.c:
5458 Changed numerous return types for interfaces from
5459 AccessibleComponent to Accessible<InterfaceName>; this was
5460 probably a cut-and-paste error.
5462 Implementations of new KeystrokeListener api (from spi.h,
5465 Changes to key modifier mapping.
5466 Created ControllerEventMask struct.
5467 Made DeviceEventController derive from Bonobo::Unknown.
5469 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
5470 * libspi/deviceeventcontroller.c:
5471 Added a number of new internal (private) methods.
5472 * libspi/editabletext.c:
5473 * libspi/editabletext.h:
5474 Fixed a number of bugs related to the fact that
5475 editabletext inherits from text. Fixed the EditableText struct,
5476 the init() call, and use correct casts when calling Text methods
5477 from an EditableText object. Removed (duplicate) atko from the
5478 EditableText structure, we use the one in the parent Text
5479 structure via the casts mentioned above.
5480 * libspi/keystrokelistener.[ch]:
5481 * libspi/registry.c:
5482 Changes in support of keyboard handling (above).
5484 Keyboard handling, though partly functional, is still not
5485 recommended for at-spi client use as there is considerable
5486 work yet to be done.
5489 Changed some places where pointers to various int types
5490 are cast to be pointers to CORBA_long types and vice-versa:
5491 pointer casting is not safe so we pass pointers of the correct
5492 types and then cast the result before putting it into the target
5495 * libspi/text.h: minor typos corrected.
5497 We now speak not only the name of a Text element, but the
5498 first sentence of its content, when it receives focus.
5499 I also changed the text compression to 75% from 50%.
5500 * util/Accessibility_Util.server.in:
5501 Changed the default magnifier type to be a 3x vertical
5502 splitscreen magnifier (was previously a 2x horizontal one).
5504 2001-10-03 Bill Haneman <bill.haneman@sun.com>
5506 * libspi/keystrokelistener.h:
5507 * libspi/keystrokelistener.c:
5508 Initial functional implementations of KeystrokeListener.
5511 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
5513 Fixed string handling for NULL strings in libspi.
5514 Added spi_freeString to free strings returned by C bindings.
5516 2001-09-30 Bill Haneman <bill.haneman@sun.com>
5518 * libspi/keystrokelistener.h:
5519 * libspi/keystrokelistener.c:
5520 Began (no-op) implementations of KeystrokeListener
5522 * libspi/deviceeventcontroller.c:
5523 * libspi/deviceeventcontroller.h:
5524 Began creating implementations of DeviceEventController,
5525 to handle keystroke and mouse event listening and
5527 * libspi/accessible.c:
5528 Stubbed-in the implementations for
5529 Accessibility_Accessible_getState and
5530 Accessibility_Accessible_getRelationSet.
5531 * libspi/registry.c:
5532 Improved de-registration process and fixed some bugs,
5533 deregistration now works correctly.
5535 Added initialization of applications list (to NULL).
5537 Reduced speech compression from 0.5 to 0.7, for demo.
5538 Changed call to gdk_window_set_decorations()
5539 to gtk_window_set_decorated().
5540 * at-bridge/bridge.c:
5541 Bridge now deregisters when app exits, via
5542 registration of a cleanup function
5543 with the g_atexit() call.
5544 Required making 'app' static, renamed 'this_app'.
5545 Fixed broken use of bonobo_init, passing argv wrongly.
5547 2001-09-27 Bill Haneman <bill.haneman@sun.com>
5551 Created a new directory for
5552 accessibility-related utilities, primarily for
5553 testing and demo purposes, but with possible
5560 Onscreen magnifier utility that
5561 is implemented as a bonobo service.
5563 * util/mag_client.c:
5564 * util/mag_client.h:
5565 Client-side support (simple C bindings)
5566 for Magnification service
5568 * util/mag_control.c:
5569 Client program example for
5570 Magnification service
5572 * util/Accessibility_Magnifier.server.in:
5573 Bonobo-activation file for the
5574 Magnification service.
5577 * util/idl/Magnifier.idl:
5578 IDL defining the bonobo Magnification
5582 Modifications to use the bonobo-activated magnifier
5583 above, in place of trying to connect to an existing
5584 magnifier that uses socket-listening IPC.
5586 If env variable MAGNIFIER is set, a magnifier service
5587 will be started if one does not exist.
5589 2001-09-25 Bill Haneman <bill.haneman@sun.com>
5591 * at-bridge/bridge.c:
5592 applied patch from Marc to build and run
5593 against new glib and gtk+ (seemed like a change
5594 to bonobo_init signature was made ?)
5596 made festival-server support turned off by default.
5597 Added support for a simple magnifier (off by default)
5598 which will be added to a 'util' directory later.
5599 * at-bridge/Makefile.am:
5600 Changed "application.h" header from a 'source'
5601 to a 'dependency' of libat-bridge.
5603 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
5612 Added interface implementation c files to list of
5613 includes so they are included in libcspi.
5616 Changed prototype of AccessibleAction_doAction to return a
5618 Changed prototype of AccessibleTable_getCaption to
5619 return an Accessible.
5620 Changed prototype of AccessibleTable_getSelectedRows
5621 and AccessibleTable_getSelectedColumns to
5622 return a long (returns the number of selected rows
5623 or columns respectively).
5624 Changed name of AccessibleText_refRunAttributes to
5625 AccessibleText_getAttributes.
5626 Changed prototype of AccessibleText_getCharacterExtents to
5627 return a void rather than a boolean.
5628 Added support for a AccessibleCoordType parameter
5629 specifying what type of coordinates are desired.
5630 Added an AccessibleCordType parameter to
5631 AccessibleText_getPointAtOffset.
5633 * cspi/spi_accessible.c:
5634 Added code to return the outstanding interfaces from
5635 Accessible_queryInterface.
5637 * cspi/spi_action.c:
5639 Corrected call to getNActions to call the c binding
5642 * cspi/spi_editabletext.c:
5644 Changed name from setRunAttributes to setAttributes.
5646 * cspi/spi_hyperlink.c:
5648 Changed call to getNAnchors to correctly call the c
5649 binding for an attribute.
5651 * cspi/spi_hypertext.c:
5653 Changed getImageDescription to correctly call the
5654 binding for an attribute.
5656 * cspi/spi_selection.c:
5657 Changed getNSelectedChildren to correctly call the c
5658 binding for the attribute.
5659 Changed refSelectedChild to getSelectedChild.
5663 Changed getCaption to return an Accessible.
5664 Fixed calls which retrieve attributes.
5665 Changed refAt to getAccessibleAt.
5666 Changed getNSelectedRows and getNSelectedColumns to
5670 Changed getCharacterExtents and getPointAtOffset to accept an
5671 AccessibleCoordType.
5673 Changed calls which retrieve attributes.
5674 Changed refRunAttributes to getAttributes.
5679 * idl/Hyperlink.idl:
5680 Changed n_anchors attribute to nAnchors to keep naming
5681 convention consistent.
5684 Made Table inherit from Bonobo::Unknown.
5685 Added nSelectedColumns and nSelectedRows attributes.
5688 Made Value inherit from Bonobo::Unknown.
5690 * libspi/hyperlink.c:
5691 Change for nAnchors attributte name change.
5693 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
5701 Added interface implementation c files to list of
5702 includes so they are included in libcspi.
5705 Changed prototype of AccessibleAction_doAction to return a
5707 Changed prototype of AccessibleTable_getCaption to
5708 return an Accessible.
5709 Changed prototype of AccessibleTable_getSelectedRows
5710 and AccessibleTable_getSelectedColumns to
5711 return a long (returns the number of selected rows
5712 or columns respectively).
5713 Changed name of AccessibleText_refRunAttributes to
5714 AccessibleText_getAttributes.
5715 Changed prototype of AccessibleText_getCharacterExtents to
5716 return a void rather than a boolean.
5717 Added support for a AccessibleCoordType parameter
5718 specifying what type of coordinates are desired.
5719 Added an AccessibleCordType parameter to
5720 AccessibleText_getPointAtOffset.
5722 * cspi/spi_accessible.c:
5723 Added code to return the outstanding interfaces from
5724 Accessible_queryInterface.
5726 * cspi/spi_action.c:
5728 Corrected call to getNActions to call the c binding
5731 * cspi/spi_editabletext.c:
5733 Changed name from setRunAttributes to setAttributes.
5735 * cspi/spi_hyperlink.c:
5737 Changed call to getNAnchors to correctly call the c
5738 binding for an attribute.
5740 * cspi/spi_hypertext.c:
5742 Changed getImageDescription to correctly call the
5743 binding for an attribute.
5745 * cspi/spi_selection.c:
5746 Changed getNSelectedChildren to correctly call the c
5747 binding for the attribute.
5748 Changed refSelectedChild to getSelectedChild.
5752 Changed getCaption to return an Accessible.
5753 Fixed calls which retrieve attributes.
5754 Changed refAt to getAccessibleAt.
5755 Changed getNSelectedRows and getNSelectedColumns to
5759 Changed getCharacterExtents and getPointAtOffset to accept an
5760 AccessibleCoordType.
5762 Changed calls which retrieve attributes.
5763 Changed refRunAttributes to getAttributes.
5768 * idl/Hyperlink.idl:
5769 Changed n_anchors attribute to nAnchors to keep naming
5770 convention consistent.
5773 Made Table inherit from Bonobo::Unknown.
5774 Added nSelectedColumns and nSelectedRows attributes.
5777 Made Value inherit from Bonobo::Unknown.
5779 * libspi/hyperlink.c:
5780 Change for nAnchors attributte name change.
5783 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
5785 implementations-- made server implementations own AtkObject pointers
5786 rather than their respective AtkInterrface pointers to fix
5787 refcounting. AtkHyperlink is still broken.
5789 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5790 * cspi/spi_accessible.c:
5791 Added method Accessible_Role_getName(),
5792 and requisite string array (role_names).
5793 Added conversion string_from_corba_strin() call
5794 to Accessible_getName and _getDescription.
5795 * libspi/accessible.c:
5796 Added implementation for Accessible_getRole()
5798 Added festival support, used if environment variable
5801 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5803 * at-bridge/bridge.c:
5804 Now allocate Accessibility_Event using
5805 Accessibility_Event__alloc() instead of g_new0().
5806 * libspi/accessibleeventlistener.c:
5807 Initialize AccessibleEventListener->callbacks to NULL.
5808 Fixed accessible__event_listener_init() param, changed to
5809 "AccessibleEventListener *" type.
5810 Changed a bonobo_object_release_unref() call to
5811 Accessibility_Accessible_unref().
5812 * libspi/listener.c:
5813 Changed Bonobo_Unknown_unref to (equivalent)
5814 Accessibility_Accessible_unref.
5815 * libspi/registry.c:
5816 Changed bonobo_object_release_unref to
5817 Accessibility_Accessible_unref.
5819 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
5822 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
5823 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
5824 spi-util.c spi-util.h
5825 Implementations for C bindings to remaining accessibility
5828 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
5831 changed return value of Action from void to boolean to
5832 bring in line with ATK.
5835 Changed getText funcions to return "out" start and end offsets.
5836 Changed getAttributes to take and offset and return the start
5837 and end offset of the attribute run.
5838 Changed getOffsetAtPoint and getCharacterExtents to take an
5839 enum describing whether coordinates are window or screen.
5842 libspi/action.c libspi/action.h libspi/editabletext.c
5843 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
5844 libspi/hypertext.c libspi/hypertext.h libspi/image.c
5845 libspi/image.h libspi/selection.c libspi/selection.h
5846 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
5847 libspi/value.c libspi/value.h
5848 Added server implementations for outstanding ATK interfaces
5849 not yet implemented.
5851 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5854 Added (missing) getName() method.
5855 Made nActions an attribute.
5856 * idl/EditableText.idl:
5857 Changed order of params in setAttributes.
5858 * idl/Hyperlink.idl:
5859 Removed getAnchor, added getURI.
5861 Changed attributes to methods, for efficiency
5862 (so that getting extents can be done in one call)
5863 * idl/Selection.idl:
5864 Changed nSelectedChildren to attribute, and re-indented.
5865 * idl/Table.idl: changed nrows, ncolumns, caption, summary
5867 * idl/Text.idl: reformatted to match our coding style.
5868 (temporarily?) removed getRowColumnAtOffset().
5869 Changed text selection API to support multi-select and
5870 non-contiguous selections, as in ATK.
5871 * idl/Value.idl: changed some methods to attributes.
5873 2001-08-24 Mark McLoughlin <mark@skynet.ie>
5875 * libspi/listener.c(impl_notify_event):
5876 BonoboUnkown_unref the source instead
5877 of bonobo_object_release_unref - the ORB
5878 handles the releasing.
5880 * configure.in: require ORBit-2.3.94 for
5883 2001-08-21 Bill Haneman <bill.haneman@sun.com>
5885 Tagged CVS repository 'EA_1_0'.
5886 * README.EARLY_ACCESS:
5887 Alphabetized acknowledgements list, and
5889 Listed some known dependencies of at-spi.
5891 2001-08-20 Bill Haneman <bill.haneman@sun.com>
5893 * docs/at-spi-docs.sgml:
5894 * docs/at-spi-sections.txt:
5895 * docs/at-spi-overrides.txt: (Added zero-length file)
5896 Documentation improvements - gtk-doc should build
5897 docs for all implemented C bindings now.
5900 * cspi/spi.c: (New file)
5901 * cspi/spi_event.c: (New file)
5902 * cspi/spi_registry.c: (New file)
5903 * cspi/spi_accessible.c: (New file)
5904 * cspi/spi_application.c: (New file)
5905 * cspi/spi_component.c: (New file)
5906 Split spi_main.c into six parts, and included them from
5907 "spi.c". This is a bit of a hack, probably temporary,
5908 but required by gtk-doc, apparently.
5910 2001-08-20 Bill Haneman <bill.haneman@sun.com>
5913 * docs/at-spi-docs.sgml:
5914 * docs/at-spi-sections.txt:
5916 Initial checkins/modifications for gtk-doc generation.
5919 Added (missing) interface query methods to Accessible's C binding.
5921 Added GenericInterface type definition.
5923 Added query for AccessibleComponent interface to focus event handler.
5924 Added printout of bounding box for focussed component.
5925 * libspi/component.c:
5926 Added partial implementation for AccessibleComponent to C binding.
5927 * idl/Application.idl:
5928 * libspi/registry.c:
5929 * libspi/listener.c:
5930 * libspi/application.c:
5931 * libspi/application.h:
5932 Changed "ID" attribute type from string to long.
5934 2001-08-19 Bill Haneman <bill.haneman@sun.com>
5938 Made method naming consistent: methods taking object args
5939 start with uppercase, other methods (except those using
5940 acronyms) start with lowercase. Underscores delimit between
5941 object names and method names:
5942 SPI_init() - uppercase since it starts with an acronym.
5943 getDesktopCount () - lowercase start since no object param0.
5944 Accessible_getName() - uppercase object type name, studlyCaps method
5948 Added gtk-doc documentation for all currently implemented
5949 methods in the C bindings API.
5951 2001-08-18 Bill Haneman <bill.haneman@sun.com>
5953 * Makefile.am : changed build order to build test last.
5956 Changed "createEventListener" to "CreateEventListener".
5957 * libspi/accessibleeventlistener.c :
5958 Bugfix for addition of callbacks.
5959 * test/Makefile.am :
5960 * test/simple-at.c :
5961 Added new test that uses the C bindings API.
5963 * libspi/listener.c :
5964 * libspi/registry.c :
5965 * libspi/accessibleeventlistener.c :
5966 * at-bridge/bridge.c :
5967 Renamed member "target" of Accessibility_Event to "source",
5968 which is more descriptive.
5971 2001-08-18 Bill Haneman <bill.haneman@sun.com>
5975 * cspi/Makefile.am :
5976 Added makefile support for at-spi/cspi directory.
5979 * cspi/spi-listener.h : (NEW FILE)
5980 Added support for/use of spi-listener.h.
5982 C bindings now build successfully, with no warnings.
5983 * libspi/accessibleeventlistener.h : (NEW FILE)
5984 * libspi/accessibleeventlistener.c : (NEW FILE)
5985 * libspi/Makefile.am :
5986 Added new object type "AccessibleEventListener"
5987 which inherits from Listener, and allows attachment
5988 of in-process callbacks (so that a client with a listening
5989 object instance can add functionality to the local
5990 implementation, dynamically).
5992 2001-08-18 Bill Haneman <bill.haneman@sun.com>
5994 * libspi/accessible.c:
5995 Add implementation for get_index_in_parent().
5997 Added #include of "spi-roletypes.h", and
5998 added enumerated type AccessibleCoordType.
5999 Added definition for KeystrokeListener (function type).
6002 * cspi/spi-statetypes.h :
6003 * cspi/spi-roletypes.h :
6005 Added these headers, used by spi.h.
6007 Added code (NOTE: not yet built by make).
6009 2001-08-18 Mark McLoughlin <mark@skynet.ie>
6011 * libspi/Makefile.am: generate imodule
6012 at the same time as other idl compiler
6015 2001-08-17 Bill Haneman <bill.haneman@sun.com>
6016 * libspi/registry.c :
6017 * libspi/application.c :
6018 * idl/Application.idl :
6019 Made registration with toolkit an application method,
6020 which is required since each app has its own toolkit static
6021 environment. Thus the bridge must register for
6022 notification of toolkit events from each application in turn.
6023 Toolkit notifications are now successfully registered for, and
6024 sent to the listening at client.
6026 Changed toolkit event string to use hyphens rather than underscores.
6027 * libspi/listener.c :
6028 listner now gives more info in debug mode - it reports the
6029 name of the event received, as well as the name of the source.
6032 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6034 * libspi/registry.c :
6035 added more implementation for toolkit events.
6036 Fixed bug such that toolkit event registrations
6037 (via atk) use the whole event name string, not
6039 Removed a useless call to an ORBit_ method.
6040 * at-bridge/bridge.c :
6041 Removed unused local sbuf[] variable.
6043 We now register for Gtk:GtkWidget:button_press_event
6044 events as well as "focus:" events.
6046 Add some more API from Registry.idl that was missing,
6047 for keystroke listening, keystroke and mouse event
6048 synthesis, and enumeration of accessible desktops.
6050 2001-08-16 Michael Meeks <michael@ximian.com>
6052 * configure.in: use AM_GLIB_GNU_GETTEXT.
6054 * Makefile.am (SUBDIRS): kill intl.
6056 2001-08-15 Michael Meeks <michael@ximian.com>
6058 * registryd/Makefile.am: s/oaf/server/ relocate info file.
6060 * configure.in: upd.
6062 * configure.in: depend on a recent bonobo-activation that
6063 will find our server files ...
6065 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6067 * libspi/accessible.c : accessible_new() :
6068 Now we add the Component interface via bonobo_object_add_interface,
6069 if the contained AtkObject implements AtkComponent.
6070 * libspi/accessible.h : now include "component.h"
6071 * libspi/component.h :
6072 * libspi/component.c : added files - implementation of
6073 bonobo wrapper object for Accessibility/Component
6074 * libspi/listener.c :
6075 Added test code to check for Accessibility/Component:1.0
6076 interface and report whether it is implemented by the
6078 * libspi/registry.c :
6079 Now we check for not only the hash of the whole event
6080 string before relaying the event, we also check the
6081 "minor" event string (without the detail string).
6082 This allows event listeners to be registered against
6083 all events of a certain major+minor type, or just
6084 against a specific major+minor+detail type.
6085 * libspi/accessible.c :
6086 Added implementations for Accessible:get_parent(),
6087 Accessible:getChildCount(), and Accessible:getChildAtIndex().
6088 * libspi/registry.c :
6089 * libspi/listener.c :
6090 Replaced calls to Accessibility_Accessible_ref() and
6091 Accessibility_Accessible_unref() with
6092 calls to bonobo_object_dup_ref() and
6093 bonobo_object_release_unref(), so that the CORBA object
6094 is dup-ed and released when relayed, as well as the bonobo object.
6096 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6098 * libspi/Makefile.am,
6099 registryd/Makefile.am,
6100 at-bridge/Makefile.am.
6101 test/Makefile.am, configure.in:
6102 reverse previous changes.
6104 * /idl/Image.idl: fix typo.
6106 * test/Makefile.am: put DEBUG_FLAGS
6109 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6111 * test/app.c: use argv[0] instead of
6114 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6116 * libspi/Makefile.am,
6117 registryd/Makefile.am,
6118 at-bridge/Makefile.am.
6119 test/Makefile.am, configure.in:
6120 cleanup, replace individual LIBS/CFLAGS with
6121 AT_COMMON_{LIBS|CFLAGS}.
6125 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6127 * configure.in, libspi/Makefile.am:
6128 Change IDL path checking for bonobo-activation
6131 2001-08-15 Bill Haneman <bill.haneman@sun.com>
6133 * registryd/registry.c : separated event listeners to use
6134 3 separate lists (focus, window, toolkit). Began testing
6135 event names against hashes before relaying events.
6136 * test/at.c : now register for events of type "focus:"
6137 * test/app.c : now generate events of type "focus:"
6138 * at-bridge/bridge.c : register with ATK for focus events,
6139 and we now relay those focus events to any "focus:" listeners.
6140 This now works with the bridge as a GTK_MODULE when running test/at.
6141 * libspi/registry.c :
6142 * libspi/listener.c :
6143 now we ref event sources before propagating, and unref on receipt.
6144 * libspi/registry.c :
6145 some changes to internal structs, to support event typestring hashes.
6146 * text/app.c : changed the way the appname is generated.
6147 * cspi : added directory that will hold the C bindings library for
6148 non-CORBA/bonobo-savvy clients.
6149 * cspi/spi.h : header file that contains the function prototypes for the C binding.
6150 * idl/Component.idl : added in parameter to indicate coord system for
6151 geometry-related calls.
6152 * idl/Hyperlink.idl : added readonly n_links attribute
6153 * idl/Image.idl : changed methods to attributes.
6155 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6157 * at-bridge/Makefile.am: link against
6158 ../libspi/libspi.la instead of -lspi.
6160 * at-spi/test/app.c: include
6161 bonobo-activation.h. Use a default appname
6162 if one is not provided.
6164 2001-08-14 Bill Haneman <bill.haneman@sun.com>
6166 * idl/Registry.idl : temporarily changed register_Application
6167 to oneway, to work around issue with initial registration
6169 * idl/Application.idl : changed attribute "id" from readonly
6170 to read-write, since it needs to be assigned by Registry.
6171 * registryd/registryd.c : added call to set application id
6173 * registryd/registry.c : changed de-registration procedure to
6174 use CORBA_Object_hash() to find matching object ref in application
6175 lists and listener lists.
6176 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
6177 began distinguishing between event types (work in progress).
6179 2001-08-13 Bill Haneman <bill.haneman@sun.com>
6182 * libspi/application.c:
6183 Added implementations for get/set id, get_toolkitName,
6185 * registryd/registryd.c :
6189 Converted from use of OAF to bonobo-activation.
6190 * libspi/desktop.h :
6191 * libspi/desktop.c :
6193 Removed references to atksimpleobject, since base atkobject
6194 implementation now provides functionality we need.
6195 * libspi/atksimpleobject.c :
6196 * libspi/atksimpleobject.h :
6201 * at-bridge/Makefile.am
6202 * at-bridge/bridge.c
6205 Added directory "bridge" and contents, and added dependencies
6206 in Makefile.am/configure.in.
6207 Initial checkin of "at-bridge".
6208 This code is a GTK_MODULE which automatically registers
6209 GTK+ apps with the accessibility registry, using an object
6210 reference to the root ATK object.
6212 2001-08-10 Mark McLoughlin <mark@skynet.ie>
6214 * po/Makefile.in.in: Remove. Again. If this
6215 doesn't get autogenerated - you need to update
6218 2001-08-07 Mark McLoughlin <mark@skynet.ie>
6220 * po/Makefile.in.in: Add. Again.
6222 2001-07-31 Bill Haneman <bill.haneman@sun.com>
6224 * libspi/accessible.c : added support for 'description' property.
6225 * libspi/accessible.c
6227 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
6228 (since the two are now equivalent in libbonobo)
6236 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
6237 Bonobo::Unknown as does Accessibility::Accessible.
6238 * idl/StreamableContent.idl : as above, and replaced internal InputStream
6239 interface with Bonobo::Stream, since it was redundant with it.
6240 (The Stream returned by a StreamableContext object is expected to
6241 implement only a subset of Bonobo::Stream)
6243 2001-07-28 Anders Carlsson <andersca@gnome.org>
6245 * libspi/accessible.c (accessible_object_finalize): Change
6246 g_free to g_object_unref since the AtkObject is a GObject.
6248 2001-07-30 Bill Haneman <bill.haneman@sun.com>
6250 * idl/Accessibility.idl: add new IDL files
6253 * idl/Action.idl: Definitions of actionable UI object
6254 * idl/Component.idl: Definitions of UI component geometry, etc.
6255 * idl/Hyperlink.idl: Defs of hyperlink behavior
6256 * idl/Image.idl: Def of accessible image
6257 * idl/Selection.idl: Definition of UI object with selectable children
6258 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
6259 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
6260 * idl/Text.idl: Interface defs for UI elements with complex textual content
6261 * idl/Value.idl: Definition of UI element that is a value controller or display
6263 2001-07-27 Michael Meeks <michael@ximian.com>
6265 * po/Makefile.in.in: remove autogenerated file from CVS.
6267 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
6270 * idl/Registry.idl: include guard.
6272 * idl/Accessibility.idl: Add, and include all the other IDL
6275 * idl/*.idl: remove mass of pragmas etc.
6277 2001-07-26 Michael Meeks <michael@ximian.com>
6279 * registryd/Makefile.am (registryd_SOURCES): remove
6282 2001-07-27 Mark McLoughlin <mark@skynet.ie>
6284 * libspi/.cvsignore, registryd/.cvsignore,
6285 test/.cvsignore: updated.
6287 * po/Makefile.in.in: gettext update.
6289 2001-07-25 Bill Haneman <bill.haneman@sun.com>
6291 * initial CVS checkin
6293 2001-06-29 Michael Meeks <michael@ximian.com>
6295 * configure.in: add AM_CONFIG_HEADER to gen config.h