1 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
3 * configure.in: Revved to 1.3.6.
7 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
9 * registryd/deviceeventcontroller.c
10 (spi_device_event_controller_object_finalize): Fix typo in previous
13 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
15 * registryd/deviceeventcontroller.c
16 (spi_device_event_controller_object_finalize): Fix build on
17 systems without XEvIE.
19 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
21 * acconfig.h, configure.in, registryd/Makefile.am,
22 registryd/devicecontoller.[ch]: Add XEViE support.
24 2003-08-06 Wang Jian <lark@linux.net.cn>
26 * configure.in: Added "zh_CN" to ALL_LINGUAS.
28 2003-08-06 Metin Amiroff<metin@karegen.com>
30 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
32 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
34 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
35 MODIFIER_ALT in correct place.
37 This fixes part of bug #118114.
39 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
41 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
43 2003-07-28 Changwoo Ryu <cwryu@debian.org>
45 * configure.in: Added "ko" to ALL_LINGUAS.
47 2003-07-28 Ole Laursen <olau@hardworking.dk>
49 * configure.in: Added "da" to the commented out ALL_LINGUAS.
51 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
53 * configure.in: Added "sq" to ALL_LINGUAS.
55 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
57 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
59 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
61 * configure.in: updated ALL_LINGUAS list
63 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
65 * configure.in: Added Belarusian to ALL_LINGUAS.
67 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
69 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
71 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
72 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
74 This fixes bug #116949.
76 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
78 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
79 Correct CSPI to SPI in function documentation.
81 This fixes bug #118054.
83 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
85 * configure.in: Added Russian to ALL_LINGUAS.
87 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
89 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
91 2003-07-14 Danilo Ĺ egan <dsegan@gmx.net>
93 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
95 2003-07-10 Joel Brich <joel.brich@laposte.net>
97 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
99 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
101 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
103 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
105 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
106 resources allocated for AccessibleEvent. See cspi_event().
108 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
109 static variable streams to NULL.
111 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
112 Update so that AcessibleEvent_ref will work.
114 This fixes bug #116624.
116 2003-07-06 Jordi Mallach <jordi@sindominio.net>
118 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
120 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
122 * configure.in: Added "fr" (French) to ALL_LINGUAS.
124 2003-07-02 Christian Neumair <chris@gnome-de.org>
126 * configure.in: Added "de" (German) to ALL_LINGUAS.
128 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
130 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
132 2003-07-01 Miloslav Trmac <mitr@volny.cz>
134 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
136 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
138 * configure.in: Added "pl" to ALL_LINGUAS.
140 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
142 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
144 2003-06-30 Bill Haneman <bill.haneman@sun.com>
147 (get_action_from_servant):
148 Removed assertion that action is implemented on an AtkObject.
150 * libspi/hyperlink.c:
152 Aggregate AccessibleAction interface on the hyperlink object if
153 the object implements AtkAction. (This convention is used in
156 2003-06-30 Bill Haneman <bill.haneman@sun.com>
158 * configure.in: Revved to 1.3.5.
160 * registryd/Accessibility_Registry.server.in.in:
161 Marked up appropriate strings for translation.
163 * atk-bridge/bridge.c: Marked a couple of
164 user-visible warnings for translation. Questionable
165 whether they are really useful, but possibly so.
168 2003-06-28 Christian Rose <menthos@menthos.com>
170 * configure.in: Added "sv" to ALL_LINGUAS.
172 2003-06-26 Bill Haneman <bill.haneman@sun.com>
174 * registryd/registry.c:
175 (spi_registry_object_finalize): Unref the deviceeventcontroller.
176 (registry_defer_on_event): Defer focus: events, this is an
177 improvement to the patch for bug #108664.
179 * TODO: Update with 2.4/"Dev Complete" items.
181 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
183 * atk-bridge/bridge.c:
184 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
185 looks up signals once.
186 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
187 if doing registration.
188 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
189 when doing registration.
191 This fixes bug #115014.
193 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
195 * atk-bridge/bridge.c:
196 (atk_bridge_init): Add signal handler for children-changed:remove on
197 root when in a BonoboComponent.
198 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
199 for first toplevel only other incrememt variable toplevels.
200 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
201 application and remove listeners.
202 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
204 (spi_atk_deregister_event_listeners): New function which removes
206 (reinit_register_vars): New fuction which reinitializes variables.
208 This fixes bug #111578.
210 2003-06-13 Bill Haneman <bill.haneman@sun.com>
212 * configure.in: version 1.3.4.
214 * cspi/spi_accessible.c:
215 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
218 2003-06-13 Michael Meeks <michael@ximian.com>
220 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
222 * cspi/spi_main.c (cspi_peek_ev): impl.
224 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
226 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
228 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
230 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
231 SPI_ROLE_AUTOCOMPLETE
233 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
235 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
236 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
238 2003-06-11 Bill Haneman <bill.haneman@sun.com>
240 * libspi/streamablecontent.h:
241 * libspi/streamablecontent.c:
242 New files, provide implementation/wrappers for
243 Accessibility_StreamableContent.
245 * cspi/spi_streamablecontent.c:
246 Connected the C wrappers to the libspi C bindings.
247 (AccessibleStreamableContent_close): New method.
250 (AccessibleStreamableContent_close): New method, needed
251 since we have an "open, [seek], read, close" model in cspi.
253 2003-06-11 Bill Haneman <bill.haneman@sun.com>
255 Fix for #108664; Padraig's revision of my original patch.
257 * registryd/registry.h:
258 Added event queue list, is_queuing, and exit_notify_timeout
259 to the registry struct.
261 * registryd/registry.c:
262 (registry_init): Initialize new struct from registry.h.
263 (impl_registry_notify_event):
264 Filter events before notifying, in case some need to be
266 (registry_filter_event): New,
267 we defer certain incoming events (for instance
268 window:deactivate) because we may wish to hide
269 or reject them based on pending events. This is
270 mostly a workaround for bug #108664.
271 (registry_queue_event, registry_start_queue): New.
272 (registry_defer_on_event): Test event to see if it
274 (registry_reset_on_event): Returns TRUE if the
275 event should cause a queue reset.
276 (registry_discard_on_event): Returns TRUE if the event
277 should cause the previous queue contents to be discarded.
278 (registry_timeout_flush_queue): Flushes the pending event
279 queue if no reset/discard-triggering events have come in
280 within the timeout period.
281 (registry_emit_event): New.
282 (registry_clone_notify_context): New, used when queueing the
283 event notify contexts.
285 2003-06-10 Bill Haneman <bill.haneman@sun.com>
287 * configure.in: Version revved to 1.3.2, lt 0.9.2
288 Incremented ATK required version to 1.3.4.
290 * cspi/spi_registry.c:
291 (SPI_generateKeyEvent):
292 We now pass the keystring along if it's non-null.
294 * registryd/deviceeventcontroller.c:
295 (keysym_mod_mask): New method, returns modifier mask
296 required to generate a keysym from a given keycode.
297 (dec_synth_keysym): New method.
298 (dec_synth_keystring): New method.
299 (dec_get_modifier_state): New method.
300 (dec_lock_modifiers): New
301 (dec_unlock_modifiers): New.
302 (dec_keysym_for_unichar): New, rather brute-force
303 conversion from UCS-4 to X KeySyms. Only works for
304 Latin at the moment, with partial implementations for
305 Greek, Hebrew, and (incomplete) Katakana.
306 (impl_generate_keyboard_event): Now implement
307 "KEYSTRING" synthesis and implement "KEYSYM"
309 (keycode_from_keysym): Improved, passes a returned
310 modmask value now if the corresponding param is non-NULL.
312 Fixes bugs #92143 and #109776.
315 * test/keysynth-test.c:
316 New test program for key synthesis, to confirm fixes for
320 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
322 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
324 * cspi/spi_accessible.c (cspi_init_relation_type_table):
325 Add line for RELATION_POPUP_FOR
327 * docs/reference/cspi/tmpl/spi_relation.sgml:
328 Add relation SPI_RELATION_POPUP_FOR
330 * docs/reference/cspi/tmpl/spi_stateset.sgml:
331 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
333 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
335 * libspi/relation.c (spi_init_relation_type_table):
336 Add line for RELATION_POPUP_FOR
338 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
340 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
341 there are still windows which have not been deleted and emit
342 window:deactivate, if necessary and window:destroy events.
343 This fixes bug #114370. The change on June 5th was not correct.
345 2003-06-09 Bill Haneman <bill.haneman@sun.com>
347 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
350 (SPI_dupString): Allow dup-ing of a string such that it's safe to
352 New methods for client exception handling and interception.
353 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
354 (SPI_exceptionHandlerPop): You guessed it...
355 (SPI_getSourceType): Return the type of object which offended.
356 (SPI_getExceptionCode): Return an enum code telling, possibly,
357 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
358 (SPIAccessibleException_getSource): get the source object for
359 exceptions that come from Accessibles, if SPIExceptionSourceType is
360 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
361 (SPIException_getDescription): New, returns a string description of
362 the problem. [Not yet a stable ABI, strings are not frozen]
364 * cspi/spi-private.h:
365 Added implementation details of opaque SPIException
369 Implementations of above. Also
370 (_cspi_exception_throw): new private method that
371 dispatches exceptions to handlers, called from cspi-bonobo.c
373 * cspi/bonobo/cspi-bonobo.c:
374 (cspi_check_ev): call _cspi_exception_throw.
375 Don't print a warning message if the exception has been
376 handled by _cspi_exception_throw.
378 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
380 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
381 there are still windows which have not been deleted and emit
382 window:deactivate, if necessary and window:destroy events.
383 This fixes bug #114370.
385 2003-06-03 Bill Haneman <bill.haneman@sun.com>
388 (cspi_accessible_is_a): Make non-fatal
389 if the object reference is dead.
391 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
393 * cspi/spi_main.c: #include <stdio.h>
394 * test/simple-at.c: ditto
395 * test/event-listener-test.c: ditto
396 * test/screen-review-test.c: ditto
398 2003-05-30 Michael Meeks <michael@ximian.com>
400 * test/test-simple.c (main): use CORBA_ORB_perform_work
401 instead of an unnecessary linc_ call.
403 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
405 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
406 Add SPI_STATE_INDETERMINATE.
408 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
411 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
413 * libspi/stateset.c (init_state_type_tables): Add support for
416 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
418 * configure: Update versions of atk and gail required.
419 This fixes bug #113268.
421 2003-05-02 Bill Haneman <bill.haneman@sun.com>
423 * configure.in: Revved micro version to 1.3.1 (because of build fix).
425 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
427 * libspi/Makefile.am:
428 Ensure headers are generated before being used by c sources.
430 2003-05-01 Bill Haneman <bill.haneman@sun.com>
433 Simplified lt versioning rules.
434 Incremented version to 1.3.0, to indicate that we're on the
437 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
439 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
440 Add MKDB_OPTIONS=--outtput-format=xml
442 * docs/reference/cspi/at-spi-cspi-docs.sgml
443 docs/reference/idl/at-spi-idl-docs.sgml:
444 Convert to Docbook XML.
446 This fixes bug #111793.
448 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
450 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
451 AcccessibleKeyEventType, AccessibleKeyMaskType.
453 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
455 * cspi/state-types.h: Add documentation for AccessibleState.
457 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
458 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
459 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
460 AccessibleComponentLayer.
462 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
465 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
467 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
468 Accessible. Add description of AccessibleEvent,
469 AccessibleEventListenerCB.
471 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
474 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
475 documentation. Add description of AccessibleKeystrokeListenerCB,
476 AccessibleKeyEventMask, AccessibleModifierMaskType,
477 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
478 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
480 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
483 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
486 This fixes bug #104730.
488 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
490 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
491 Set is_text field of Accessibility_DeviceEvent data structure.
493 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
494 is-text field of AccessibleDeviceEvent data structure.
496 This addresses part of bug #108666.
498 * registryd/devcieeventcontroller.c: Unset debug option.
500 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
503 (cpi_initial_relation_type_table): New function which initializes
504 mapping between Accessibility_RelationType and AccessibleRelationType.
505 (cspi_relation_type_from_spi_relation_type): New function which
506 translates an Accessibility_RelationType into an AccessibleRelationType.
507 (AccessibleRelation_getRelationType): Use
508 cpi_relation_type_get_spi_relation_type to return correct value.
509 (spi_state_to_corba): Return correct type for default case.
511 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
512 Use Accessibility_EventType instead of Accessibility_KeyEventType.
514 * cspi/cspi-bonobo-listener.c:
515 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
518 * libspi/accessible.c, libspi/action.c, libspi/application.c,
519 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
520 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
521 libspi/image.c, libspi/listener.c, libspi/selection.c,
522 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
523 registryd/desktop.c, registryd/registry.c:
524 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
526 * libspi/eventlistener.c
527 Remove semicolon after BONOBO_TYPE_FUNC.
530 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
531 (spi_init_relation_type_table): Initialize using correct type.
533 * registryd/desktop.c:
534 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
535 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
536 of Accessibility_KeyEventType.
538 * test/key-listener-test.c (report_tab_key_event): Use fprintf
541 * tests/simple-at.c, tests/screen-review-test.c:
542 Add include for <strings.h>.
544 * tests.stress-test.c:
545 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
547 These changes fix compiler warnings when using FORTE compiler on
548 Solaris; fixes bug #107479.
551 2003-04-10 Bill Haneman <bill.haneman@sun.com>
554 * configure.in: revved to 1.1.10
557 (SPI_KEYMASK_NUMLOCK): Added.
559 * registryd/deviceeventcontroller.c:
560 (spi_key_event_matches_listener): AND with a smaller
561 bitmask (as we should).
562 (spi_dec_translate_mask):
563 New method, sets the virtual NumLock modifier bit
564 if numlock is on. Eventually it can handle other virtual
565 modifier bits if needed, or other marshalling from
566 at-spi modifier masks to platform (X) masks.
567 (spi_dec_key_listener_new):
568 Call spi_dec_translate_mask to set up virtual mod bits
569 in the 'mask' field when creating a new listener struct.
570 (spi_dec_emit_modifier_event):
571 Set the virtual (i.e. NumLock) bits before emitting event.
572 (spi_controller_register_with_devices):
573 Query for the NumLock modifier 'physical' bit if Xkb is
574 present, for use in above methods.
578 2003-04-10 Bill Haneman <bill.haneman@sun.com>
580 * registryd/deviceeventcontroller.c:
581 (spi_keystroke_from_x_key_event):
582 Instead of checking to see if the keysym is
583 printable, check the string from XLookupString
584 if available, get the first unicode character from it,
585 and call g_unichar_isprint to determine whether the
586 is_text flag should be TRUE or FALSE.
590 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
592 * atk-bridge/bridge.c: Add support for extended events
593 * cspi/spi_event.c: Add documentation and implementation for
595 * tests/event-listener-test.c: Add tests for extended events.
597 This fixes bugs #100424 and #100426.
599 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
601 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
602 of LT_CURRENT. This fixes bug #89350.
604 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
606 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
607 number of signal parameter values before accessing them. This fixes
610 2003-04-01 Bill Haneman <bill.haneman@sun.com>
612 * configure.in: Fixed duplicate inclusion of -lspi.
613 * branched for gnome-2-2/HEAD.
614 [created tag "gnome-2-2"]
616 2003-03-07 Bill Haneman <bill.haneman@sun.com>
618 * configure.in: 1.1.9 release.
621 2003-03-07 Bill Haneman <bill.haneman@sun.com>
623 [needed by GOK, to fix bugs 107985 and 107988]
624 * registryd/deviceeventcontroller.c:
625 (spi_dec_clear_unlatch_pending):
626 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
627 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
628 (spi_dec_init_mouse_listener):Emit warning if mouse button
630 (spi_device_event_controller_forward_mouse_event):
631 Removed unnecessary parens from a conditional.
632 (global_filter_fn):Added TODO comment.
633 (impl_generate_keyboard_event):
634 Cancel a pending relatch if a 'delatching' key was
637 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
639 * atk-bridge/bridge.c:
640 Change atk_signal_child_changed to atk_signal_children_changed.
641 Reorganize code in spi_atk_bridge_signal_listener().
643 * test/event-listener-test.c:
644 Add children_changed_listener and report_children_changed_event()
645 to test AccessibleChildEvent_getChildAccessible.
647 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
649 * cspi/spi_event.c (cspi_internal_event_get_text): Change
650 g_strdup to CORBA_String_dup (bug #105291)
652 * test/event-listener-test.c (report_text_event): Add call to
655 2003-02-28 Bill Haneman <bill.haneman@sun.com>
657 * registryd/deviceeventcontroller.c:
658 (spi_keystroke_from_x_key_event):
659 Fix string and keysym return codes to match modifier state.
662 2003-02-28 Bill Haneman <bill.haneman@sun.com>
664 * registryd/deviceeventcontroller.c:
665 (spi_keystroke_from_x_key_event):
666 Fix segv due to improper use of isprint(c). [bug #107254]
668 2003-02-24 Bill Haneman <bill.haneman@sun.com>
671 (get_accessible_text_boundary_type):
672 Move default return value to (new) default case in switch.
673 (get_accessible_text_clip_type):
674 Move default return value to (new) default case in switch.
676 * libspi/application.c:
677 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
678 Remove unused methods.
679 (impl_accessibility_application_register_object_event_listener):
680 Remove unused methods.
683 Added #include of <math.h>.
685 * registryd/deviceeventcontroller.c:
686 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
687 we don't currently use this method.
688 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
690 (impl_generate_key_event):
691 Remove unused variables.
692 (impl_generate_mouse_event):
693 Initialize button to zero, just in case we get an invalid
694 input. Added support for mouse buttons 4 and 5.
695 (spi_device_event_controller_new):
696 Removed unused variable declaration for 'private'.
698 Added #include of <gdk/gdk.h>
700 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
702 * configure.in: Update to work when X is not installed in expected
703 location. Fixes bug #105836.
705 * atk-bridge/bridge.c
706 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
708 (spi_atk_register_event_listener): Add signal listener for
710 (spi_atk_bridge_signal_listener): Event event when link-selected
711 signal is emitted. (bug #104622)
713 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
714 on returned string. (bug #105291)
716 * test/event-listener-test.c: Add test for link-selected.
718 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
720 * atk-bridge/Makefile.am: Correct typo in previous commit.
722 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
724 * atk-bridge/Makefile.am: Allow for build directory to be different
725 from source directory
727 * registryd/Makefile.am: Allow for build directory to be different
728 from source directory
732 2003-01-29 Bill Haneman <bill.haneman@sun.com>
735 Fixed dependencies for libcspi so that libspi gets pulled in
736 properly. Fixes 104741.
740 Clean up inline docs a little.
742 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
744 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
745 This is done by implementing AtkComponent for SpiAtkDesktop, which is
746 the AtkObject within an SpiDesktop.
747 This addresses bug #101524.
749 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
750 Remove call to gdk_init().
752 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
753 so that Display is set when SpiDesktop is created.
755 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
757 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
758 This fixes bug #102830.
760 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
762 * test/test-simple.c: Update to take account of fact that GailButton
763 now implements AtkText.
764 (create_text_window): Set name on AtkObject for GtkEntry.
765 (validate_accessible): Check accessible name before calling test_text().
767 * libspi/Makefile.am: Fix problem with building outside of source
768 directory. Bug #98120.
770 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
771 typo in documentation comments. Bug #94275.
773 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
775 * libspi/text.c (impl_getBoundedRanges): Bug fix.
777 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
780 Add includes to avoid compiler warnings on Solaris.
781 (impl_getRangeExtents): Bug fix.
783 2002-12-17 Bill Haneman <bill.haneman@sun.com>
785 Fix for 100944, [API addition approved by Gman and murrayc].
792 * idl/Accessibility_Text.idl:
793 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
794 (Text::getRangeExtents): New method for efficient
795 bounds query of a text range.
796 (Text::getBoundedRanges): New method for efficient
797 clipping of text to bounding boxes.
798 (unImplemented7, unImplemented8):
799 Removed these padding methods to preserve bincompat.
802 (impl_getRangeExtents): implementation of new IDL.
803 (impl_getBoundedRanges): implementation of new IDL.
804 (SpiTextRect): Internal use struct.
805 (_spi_text_rect_union): internal method, calculates union of two
806 SpiTextRect bounding rects.
807 (_spi_text_range_seq_from_gslist): internal method, allows us
808 to build our sequence efficiently as a gslist then convert it
810 (_spi_bounds_contain): internal method, determines whether
811 a text character is "in" or "out" of a clip rect according to
812 values of TEXT_CLIP_TYPE.
813 (spi_text_class_init): Initialize the new methods in the epv.
816 (AccessibleTextClipType): New enum used by screen review api.
817 (AccessibleTextRange): New struct used by screen review api.
818 (AccessibleText_getRangeExtents):
819 cspi binding for Accessibility_Text_getRangeExtents.
820 (AccessibleText_getBoundedRanges):
821 cspi binding for Accessibility_Text_getBoundedRanges.
822 (AccessibleTextRange_freeRanges): convenience method.
825 (AccessibleText_getRangeExtents):
826 cspi binding for Accessibility_Text_getRangeExtents.
827 (AccessibleText_getBoundedRanges):
828 cspi binding for Accessibility_Text_getBoundedRanges.
829 (AccessibleTextRange_freeRanges): convenience method.
830 (get_accessible_text_clip_type): internal conversion method.
831 (get_accessible_text_ranges_from_range_seq): internal conversion method.
833 * registryd/deviceeventcontroller.c:
834 (spi_dec_mouse_check):
835 Improved behavior for mouse:abs events
836 [same granularity as mouse:rel events, and no
837 events when mouse is idle].
839 2002-12-16 Michael Meeks <michael@ximian.com>
841 * cspi/spi_accessible.c (spi_state_to_corba): rename.
843 * libspi/stateset.c (state_spi_to_atk): split out
844 ( fix several remote array bounds nasties )
845 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
846 (impl_remove): make safe from array bounds issues.
847 (spi_atk_state_from_spi_state): impl.
849 * libspi/stateset.h (spi_state_set_cache_is_empty):
850 add a set of wrapper defines to get layering right.
852 * cspi/spi_accessible.c: update state set stuff to
855 2002-12-14 Michael Meeks <michael@ximian.com>
857 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
858 to avoid 2 roundtrips to the registry per key event
859 (spi_atk_bridge_key_listener): upd.
860 (deregister_application): release the dec.
862 * registryd/registry.c (notify_listeners_cb):
863 bin lots of re-enterant complexity - we no longer
864 do a round-trip bonobo ref here, ensure that a single
865 listener's exception failure won't poison all other
867 (impl_registry_notify_event): bin obvious memory leak.
869 2002-12-13 Michael Meeks <michael@ximian.com>
871 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
872 init the ev so the error is meaningful.
873 (spi_atk_bridge_key_listener): ditto.
875 * cspi/spi_main.c (cspi_ev): init the ev so we start
876 with a clean slate, otherwise the first exception
879 * cspi/spi_text.c (get_accessible_text_boundary_type):
880 add a fallthrough for no warnings.
882 * cspi/spi_registry.c: prune unused warnings.
884 * cspi/spi_main.c (cspi_object_take): fix
885 mind-blowing brokenness ( by watching the compile
888 * cspi/spi_accessible.c (Accessible_getStateSet):
889 re-impl. to use an AtkStateSet.
890 (spi_state_type_from_accessible_state),
891 (init_state_table): bin these.
893 * libspi/stateset.c (spi_atk_state_set_from_sequence):
895 (atk_state_set_from_accessibility_state_set): here.
897 * cspi/spi_accessible.c (spi_state_to_atk): impl.
898 (AccessibleStateSet_contains, AccessibleStateSet_ref),
899 (AccessibleStateSet_unref, AccessibleStateSet_contains),
900 (AccessibleStateSet_add, AccessibleStateSet_remove),
901 (AccessibleStateSet_equals, AccessibleStateSet_compare),
902 (AccessibleStateSet_isEmpty): re-write to use a local
905 2002-12-13 Bill Haneman <bill.haneman@sun.com>
907 * configure.in: Revved to 1.1.7 (new keymask vals).
909 2002-12-10 Bill Haneman <bill.haneman@sun.com>
912 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
914 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
917 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
918 to compare two CORBA_TypeCodes.
919 (cspi_internal_event_add): Silence warning from FORTE compiler.
921 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
922 avoid implicit declaration of functions.
924 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
926 * atk-bridge/bridge.c:
927 (spi_atk_bridge_init_event_type_consts): Store signal id for
928 active-descendant-changed signal.
929 (spi_atk_register_event_listeners): Add signal listener for
930 active-descendant-changed signal,
931 (spi_atk_bridge_signal_listener): Move code in function
932 spi_atk-signal_emit_event() into this function.
933 Add support for active-descendant-changed
934 Update support for child-changed signal.
935 (spi_bridge_window_event_listener): Silence warning.
937 * libspi/spi_private.[ch]:
938 (spi_init_any_object): Change second parameter from CORBA_Object to
940 Omit call to CORBA_Object_duplicate().
941 Set CORBA_any's _value to CORBA_Object*.
943 2002-12-06 Bill Haneman <bill.haneman@sun.com>
949 (AccessibleEvent_ref, AccessibleEvent_unref):
950 New methods, for persisting an event outside the emission context.
951 Must be used if the new accessor methods are to be called
952 outside of the event listener's callback.
954 * cspi/bonobo/cspi-bonobo.c:
955 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
956 as second parameter instead of NULL, so we can call
957 cspi_check_ev afterwards.
960 (cspi_object_take): New internal method,
961 converts a CORBA_Object reference to a hard ref on
962 an Accessible if possible, returning NULL if the object
963 reference is invalid or an Accessible * otherwise.
966 (AccessibleEvent_ref):
967 Increment the event's internal private refcount, and
968 add the event's internal struct to an internal cache
969 if it's not already there.
970 (AccessibleEvent_unref):
971 Decrement the event's refcount and remove it from
972 the cspi event cache if refcount==0.
973 (cspi_event_compare): New private method.
974 Compares two event structs via their ids. Used
976 (cspi_internal_event_lookup): New private method.
977 (cspi_internal_event_check): New private method,
978 a 0-order sanity check for events to make sure their
979 private data is intact.
980 (cspi_internal_event_add, cspi_internal_event_remove):
981 New private methods for managiing the event cache.
983 * cspi/bonobo/cspi-bonobo-listener.c:
985 Initialize the new private data elements (id, magic, ref_count).
987 * atk-bridge/bridge.c:
988 (spi_atk_bridge_signal_listener):
989 Fixed bug #100530, passing wrong params to emission func.
991 * registryd/deviceeventcontroller.c:
992 (spi_dec_button_update_and_emit):
993 Fixed type in mask bit operations; fix for #99799.
995 2002-12-02 Bill Haneman <bill.haneman@sun.com>
997 Removed some of the more dangerous workarounds from
998 previous commit; they are only needed by GOK, which
999 in reality should be using another method to accomplish
1000 the goals. So on reconsideration some of the workarounds
1001 need to be reverted:
1003 * registryd/deviceeventcontroller.c:
1004 (spi_keycodes_contain, spi_dec_init_keycode_list):
1005 Removed these methods, used only by a nasty hack to try
1006 and detect whether a key synthesis should be allowed
1007 to reset the XKB latch state or not. This code was only
1008 required to work around an interaction between GOK,
1009 button events, and XKB.
1010 (impl_generate_key_event):
1011 Removed hack at end of key generation that tried to
1012 "do the right thing" if XKB latch keys were generated
1013 in the midst of button press/release pairs.
1016 Added a check for HAVE_XINPUT. Not normally used yet.
1018 2002-11-25 Bill Haneman <bill.haneman@sun.com>
1020 Workarounds and fixes for mouse event/XKB interaction.
1022 * registryd/deviceeventcontroller.c:
1023 (spi_keycodes_contain, spi_dec_init_keycode_list):
1024 New internal methods.
1025 (spi_dec_set_unlatch_pending):
1026 Split the method that tells XKB to expect an
1027 unlatch (and revert it) out of the rest of the
1028 event handling code. This method is called by the
1029 two mouse event handlers (the poll and the filter).
1030 (spi_dec_update_and_emit, spi_dec_mouse_check):
1031 New methods split from spi_dec_poll_mouse_moved.
1032 The second one is now called from inside the filterFn
1033 when an XKB delatch event is received, to determine
1034 whether to revert the delatch or not.
1035 (spi_poll_mouse_moved): Refactor; also we can now
1036 properly handle the case where multiple button states
1037 have changed between polling cycles and we didn't get
1038 notified due to another client's grab.
1040 Synchronize the server while handling an XKB notification.
1041 Ugly, but apparently necessary to avoid nasty races.
1042 Check the mouse state on receipt of an XKB latch change,
1043 to decide whether to revert the latch or not. (Latches are
1044 reverted if there is an immediately preceding mouse button
1045 event that a client has consumed, in which case we don't want
1046 the user to see the side-effect of the event).
1047 (spi_device_event_controller_forward_mouse_event):
1048 Check for modifier events and fire before resetting mouse_mask_state,
1049 prevents losing modifier events.
1051 (impl_generate_keyboard_event):
1052 If we've just generated a keyboard event for a non-shift key,
1053 we don't want to revert the pending XKB latch.
1054 Otherwise, check the modifier state (via a call to
1055 spi_dev_mouse_check) and set the relatch mask to
1056 that state before returning.
1058 2002-11-24 Bill Haneman <bill.haneman@sun.com>
1061 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
1064 * atk-bridge/bridge.c:
1065 (spi_atk_register_event_listeners):
1066 Don't re-register for ATK events if the registry has died
1067 and the app needs to re-register; the ATK listeners are in
1068 process and doing so will cause duplicate emission.
1070 * registryd/deviceeventcontroller.c:
1071 (spi_poll_mouse_moved):
1072 Reformat the source, detect and emit multiple button-change
1073 events (i.e. if multiple buttons have changed between poll
1075 Add code to detect mouse-down events even when the pointer
1076 is grabbed; workaround for GOK bug 98420.
1077 (spi_controller_register_with_devices):
1078 Call XTestGrabControl with 'impervious' flag set to True,
1079 allows us to synthesize events and query the pointer even during
1080 an active grab by another client.
1081 (spi_device_event_controller_forward_mouse_event):
1082 Set the mouse_mask_state to the mouse_button_state from
1083 the intercepted event, to synchronize the grab listener with
1086 2002-11-20 Bill Haneman <bill.haneman@sun.com>
1088 * cspi/spi_accessible.c:
1089 (AccessibleRole_getName):
1090 Added necessary strings for making this (deprecated)
1091 method work with the new role types.
1092 (init_role_table, role_table):
1093 Added definition of SPI_ROLE_APPLICATION.
1095 * libspi/spi-roletypes.h:
1096 Added SPI_ROLE_APPLICATION.
1098 * idl/Accessibility_Role.idl:
1099 Added ROLE_APPLICATION.
1101 * docs/reference/cspi/at-spi-cspi-decl.txt:
1102 Added SPI_ROLE_APPLICATION to docs.
1104 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
1106 * cspi/spi_accessible.c
1107 (cspi_init_role_table): Do not write beyond end of role_table.
1108 (Accessible_getRole): Use correct type for value returned by
1109 Accessibility_Accessible_getRole().
1111 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
1112 beyond end of role_table. (This fixes bug #98269)
1114 * libspi/application.c: Add include file spi-private.h for
1115 definition of spi_init_any_nil.
1117 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1121 * libspi/spi-private.h:
1122 Added DGB() macro, and extern int _dbg declaration.
1124 * registryd/registry.c:
1125 (definitions) storage for _dbg.
1126 (spi_registry_init):
1127 Get environment variable "AT_SPI_DEBUG".
1128 (spi_registry_set_debug):
1129 New method, to initialize _dbg value.
1130 (spi_listener_struct_new, spi_registry_object_finalize):
1131 (notify_listeners_cb):
1132 Changed fprintfs to use DBG and g_warning().
1134 * registryd/deviceeventcontroller.c:
1135 (_deregister_keygrab, spi_controller_register_device_listener):
1136 Changed debug/warning messages to use DBG macro.
1138 * libspi/listener.c:
1139 (impl_notify_event):
1140 Changed warning messages to use DBG macro and g_warning().
1142 * atk-bridge/bridge.c:
1143 (atk_bridge_init, spi_atk_bridge_get_registry):
1144 (spi_atk_bridge_exit_func):
1145 (spi_atk_bridge_property_event_listener):
1146 Changed status, warning, and error messages to use
1147 g_warning, g_message, and DBG macros.
1150 Read the state of the AT_SPI_DEBUG environment variable
1151 and set a local '_dbg' accordingly.
1153 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1155 FIXES for 98836, 98842, other bugs.
1158 Revved to 1.1.4, interface-age=4, binary-age=4.
1160 * registryd/deviceeventcontroller.c:
1162 Fixed crasher bug in last_mouse_pos initialization.
1164 * registryd/registry.c:
1165 (desktop_add_application, desktop_remove_application):
1166 Added (and then commented out) some support for
1167 object context marshalling. [TODO]
1169 * atk-bridge/bridge.c:
1170 (spi_atk_bridge_event_context_create):
1171 Commented out object context creation until it can
1172 be properly tested and debugged.
1174 * registryd/registry.c:
1175 (impl_registry_notify_event):
1176 Fixed crasher bug, we were calling
1177 spi_re_entrant_list_foreach () with an empty list.
1179 2002-11-18 Bill Haneman <bill.haneman@sun.com>
1181 * idl/Accessibility_Action.idl:
1182 * idl/Accessibility_Component.idl:
1183 * idl/Accessibility_Desktop.idl:
1184 * idl/Accessibility_Event.idl:
1185 * idl/Accessibility_Hyperlink.idl:
1186 * idl/Accessibility_Image.idl:
1187 * idl/Accessibility_Relation.idl:
1188 * idl/Accessibility_Selection.idl:
1189 * idl/Accessibility_State.idl:
1190 * idl/Accessibility_Value.idl:
1191 Updated unimplemented slot count to minimum of
1192 four for all interfaces, for ABI freeze.
1194 * idl/Accessibility_EditableText.idl:
1195 * idl/Accessibility_Text.idl:
1196 Updated unimplemented slot count to six
1199 * idl/Accessibility_Registry.idl:
1200 Updated unimplemented slot count to six
1201 (also for DeviceEventController),
1204 * idl/Accessibility_Table.idl:
1205 Updated unimplemented slot count to eight,
1208 * idl/Accessibility_Event.idl:
1209 Added CORBA_any "any_data" member to Event struct.
1211 * idl/Accessibility_Event.idl:
1212 Added CORBA_any "any_data" member to Event struct.
1214 * atk-bridge/bridge.c:
1216 atk_signal_text_changed, atk_signal_child_changed,
1217 signal ids queried from gtype system.
1218 (AtkBridgeEventContextType): New enum.
1219 (AtkBridgeEventContextData): New struct.
1220 (AtkBridgeEventContext): New struct.
1221 (atk_bridge_init_event_type_consts):
1222 New method, initializes type contants for comparison
1223 prior to emit_eventv.
1224 (atk_bridge_event_context_init): New method,
1225 initializes a CORBA_any from an AtkBridgeEventContext.
1226 (atk_bridge_focus_tracker): Call spi_init_any_nil to
1227 initialize the event.any_data struct.
1228 (spi_atk_bridge_event_context_create): New method,
1229 creates an AtkBridgeEventContext from signal/event info.
1230 (spi_atk_bridge_event_context_free): New method.
1231 (spi_atk_emit_eventv): Changed to take an
1232 AtkBridgeEventContext parameter. We now initialize
1233 the event.any_data member prior to notifying the
1234 Registry, via the AtkBridgeEventContext.
1235 (spi_atk_bridge_property_event_listener):
1236 (spi_atk_bridge_state_event_listener):
1237 Match emit_eventv signature.
1238 (spi_atk_bridge_object_event_listener):
1239 Match emit_eventv signature, and create an
1240 event context from the event details.
1241 Free the event context afterwards.
1242 (spi_atk_bridge_window_event_listener):
1243 Create an event context, pass it to the
1247 (AccessibleEvent_getContextString):
1248 (AccessibleEvent_getContextObject):
1249 New methods, allow query of AccessibleEvent objects
1250 for more context details (via the "any_data" member
1251 of the Event struct, above).
1254 Definitions for AccessibleEvent_getContextString
1255 and AccessibleEvent_getContextObject.
1257 * cspi/spi_listener.h:
1258 (InternalEvent): New struct.
1261 (AccessibleEvent_getContextString):
1262 (AccessibleEvent_getContextObject):
1263 Implementations of new methods, for obtaining
1264 additional context information from some event types.
1266 * cspi/spi_registry.c:
1267 (SPI_registerGlobalEventListener):
1268 Added mention of active-descendant-changed event in docs.
1270 * cspi/cspi-bonobo-listener.c:
1272 Marshal the any into the AccessibleEvent via
1275 * libspi/spi-private.h:
1276 #include <orbit/orbit.h>
1278 (spi_init_any_string):
1279 (spi_init_any_object):
1280 New convenience function declarations.
1284 (spi_init_any_string):
1285 (spi_init_any_object):
1286 New convenience function implementations.
1288 * registryd/deviceeventcontroller.c:
1289 (spi_poll_dec_mouse_moved):
1290 (spi_device_event_controller_forward_mous_event):
1291 Initialize any_data member of event.
1292 (spi_deregister_controller_device_listener):
1293 Fix incorrect param pass which was preventing deregistration.
1295 * registryd/registry.c:
1296 (desktop_add_application):
1297 (desktop_remove_application):
1298 Add object data to event's any_data before dispatch.
1300 Fix for error messages from GAIL.
1302 * test/event-listener-test.c:
1303 Test new ContextString and "any_data" API:
1304 (report_text_event): New method query and output context string.
1305 (main): register a new text listener with report_text_event
1308 2002-11-19 Darren Kenny <darren.kenny@sun.com>
1310 Fixes for bugs 98127 and 97914.
1311 * cspi/spi-roletypes.h:
1312 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
1314 * cspi/spi-statetypes.h:
1315 Added SPI_STATE_MANAGES_DESCENDANTS
1317 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
1318 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
1319 * cspi/spi_accessible.c:
1320 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
1321 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
1322 Accessibility_STATE_MANAGES_DESCENDANTS
1323 * libspi/accessible.c:
1324 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
1325 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
1326 As requested by Bill, I also cleaned up the alignment.
1327 * libspi/relation.c:
1328 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
1329 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
1330 * libspi/stateset.c:
1331 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
1332 Accessibility_STATE_MANAGES_DESCENDANTS
1333 * docs/reference/cspi/tmpl/spi_accessible.sgml:
1334 Document changes reflecting modifications to roles.
1335 * docs/reference/cspi/tmpl/spi_relation.sgml:
1336 Document changes reflecting modifications to relations.
1337 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1338 Document changes reflecting modifications to states.
1340 2002-11-17 Bill Haneman <bill.haneman@sun.com>
1343 Revved to 1.1.3, interface-age=3, binary-age=3.
1344 Added REBUILD macro.
1347 Removed accessx-gui from the tests, since we have a nice
1348 keyboard accessibility capplet now :-)
1350 * test/keysynth-demo.c:
1351 (increment_scan): removed do-nothing default: case,
1354 * test/visual-bell.c:
1355 (main) : removed do-nothing default: case,
1358 * cspi/spi_action.c:
1359 (AccessibleAction_getKeyBinding_):
1360 Documented keybinding string format.
1364 (AccessibleText_getAttributes):
1365 Documented the text attribute string format.
1366 It's changed to use semicolon delimiters also,
1367 to prevent clashes with CSS attributes, but the old
1368 trick of looking for ", " strings will still work
1369 (as unreliably as ever). Fix for bug related to 97916.
1372 Include <cspi/bonobo/cspi-bonobo-listener.h>
1373 Fixes build warning.
1374 (SPI_freeAccessibleKeySet):
1375 (AccessibleKeystrokeListener_addCallback):
1376 (AccessibleKeystrokeListener_removeCallback):
1377 Modify to use AccessibleDeviceListener API internally,
1378 instead of AccessibleKeystrokeListener.
1380 * idl/Accessibility_Event.idl:
1381 Added two more empty slots to EventListener (for a total of four).
1383 * idl/Accessibility_Accessible.idl:
1384 Added four empty slots to Accessible interface.
1386 2002-11-15 Bill Haneman <bill.haneman@sun.com>
1388 * idl/Accessibility_Registry.idl:
1389 (KeyEventType, EventType):
1390 Marked KeyEventType as deprecated; it duplicates
1391 functionality of EventType, which has been extended to
1392 include Mouse-button events.
1393 (KeyEventTypeSeq): defined in terms of EventType.
1394 (registerDeviceEventListener, deregisterDeviceEventListener):
1395 New methods, for managing listeners to device events,
1396 which potentially may consume them.
1399 Added definition for AccessibleDeviceListener.
1401 * cspi/spi-listener.h:
1402 (enum AccessibleDeviceEventType):
1403 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
1404 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
1405 for backwards compat.
1406 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
1407 and typedef'd AccessibleKeystroke to it for back-compat.
1408 (AccessibleDeviceListenerCB):
1409 New function prototype typedef.
1412 (AccessibleDeviceEventMask): New typedef.
1413 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
1414 (AccessibleKeyMaskType):
1415 Set equivalent to AccessibleModifierMaskType for back-compat.
1416 (SPI_createAccessibleKeystrokeListener):
1417 (AccessibleKeystrokeListener_unref):
1418 Deprecated in favor of equivalent (better-named) new API below..
1419 keystroke listeners are like all device listeners.
1420 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
1421 New API names for old features :-).
1422 (AccessibleDeviceListener_addCallback):
1423 (AccessibleDeviceListener_removeCallback):
1424 (SPI_registerDeviceEventListener):
1425 (SPI_deregisterDeviceEventListener):
1429 (SPI_createAccessibleKeystrokeListener):
1430 Use new preferred API, cspi_device_listener_new() and
1431 cspi_device_listener_add_cb().
1432 (AccessibleKeystrokeListener_removeCallback):
1433 Use new preferred API, cspi_device_listener_remove_cb().
1434 (AccessibleKeystrokeListener_unref):
1435 Use new preferred API, cspi_device_listener_unref().
1436 (SPI_createAccessibleDeviceListener):
1437 (AccessibleDeviceListener_addCallback):
1438 (AccessibleDeviceListener_removeCallback):
1439 Implementation of new API.
1441 * cspi/spi_registry.c:
1442 (SPI_registerDeviceEventListener):
1443 (SPI_deregisterDeviceEventListener):
1444 Implementation of new API. Fixed memory leak and removed need to
1445 allocate EventTypeSeq (thanks Michael for catching this).
1446 Squashed a wayward CORBA_exception_free that shouldn't get called.
1448 * cspi/bonobo/cspi-bonobo-listener.c:
1450 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
1451 (cspi_key_event): renamed to cspi_device_event().
1452 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
1453 Extended to handle mouse button events as well as key events.
1454 (CSpiKeystrokeListener):
1455 Class superceded by CSpiDeviceListener.
1456 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1457 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1459 * cspi/bonobo/cspi-bonobo-listener.h:
1460 (CSpiKeystrokeListener):
1461 Class superceded by CSpiDeviceListener.
1462 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1463 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1465 * libspi/Makefile.am:
1466 Replaced keystrokelistener.h and keystrokelistener.c
1467 with devicelistener.h and devicelistener.c; keystrokelisener.h
1468 stub retained for back-compat.
1470 * libspi/keystrokelistener.c:
1474 Replaced inclusion of keystrokelistener.h with devicelistener.h.
1476 * registryd/deviceeventcontroller.c:
1477 (DEControllerListener): Added Accessibility_EventTypeSeq member.
1478 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
1479 (DEControllerPrivateData): Added xkb settings data.
1480 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
1481 button release events (which can't be captured via XGrabButton).
1482 Don't dispatch via the 'normal' event mechanism if the device event was
1484 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
1485 Handle the typeseq data in its new location (see above).
1486 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
1487 New methods, for "generic" device listeners.
1488 (spi_controller_register_device_listener):
1489 Now handle mouse event listeners as well as key listeners.
1490 (spi_controller_notify_mouselisteners):
1491 New internal method.
1492 (spi_device_event_controller_forward_mouse_event):
1493 Now we notify mouse device listeners as well as generating the
1494 non-consumable "mouse:" events.
1496 We must check and restore the XKB
1497 modifier map if we consume the event, since the act of triggering
1498 a mouse event will normally reset the XKB latch. This is required for
1500 (spi_controller_register_with_devices):
1501 Load the XKB settings when registering, and register for XKB
1502 state notify events.
1503 (spi_key_eventtype_seq_contains_event):
1504 Renamed spi_eventtype_seq_contains_event, since it's used
1505 internally for all device event types now.
1506 (spi_key_event_matches_listener):
1507 Uses spi_eventtype_seq_contains_event now.
1508 (spi_device_event_controller_object_finalize):
1509 Free the private data and the XkbKeyboard struct.
1510 (impl_register_device_listener, impl_deregister_device_listener):
1511 Implementation of new IDL.
1512 (spi_deregister_controller_device_listener):
1513 New internal method.
1514 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
1515 More efficient implementation, we don't have to create a new
1516 XkbControls structure every time we query.
1517 (spi_device_event_controller_class_init):
1518 Initialize the epv entries for the new IDL. Assign the
1519 "spi-dec-private" quark.
1520 (spi_device_event_controller_init):
1521 Initialize the private data.
1522 (spi_device_event_controller_forward_key_event):
1523 Removed a bogus CORBA_exception_free() call.
1525 * registryd/deviceeventcontroller.h:
1526 Replaced inclusion of keystrokelistener.h with
1529 * test/event-listener-test.c:
1530 (report_mouse_event):
1533 Added mouse-event device listener.
1535 * test/test-simple.c:
1536 (create_test_window):
1537 Fixed regression (we were instantiating a GtkRange,
1538 which is now an abstract class). Also fixed to match
1539 existing AtkRole names, this seems to have changed in ATK
1540 awhile ago; too late now I think, and the new
1541 mechanism is at least elegant and consistent with the
1542 glib enum "nick" APIs.
1544 2002-11-15 Darren Kenny <darren.kenny@sun.com>
1546 * idl/Accessibility_Relation.idl:
1547 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
1548 RELATION_EMBEDS,RELATION_EMBEDDED_BY
1549 * idl/Accessibility_Role.idl:
1550 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
1551 * idl/Accessibility_State.idl:
1552 add STATE_MANAGES_DESCENDANTS
1553 * test/event-listener-test.c:
1554 Added a listener for active-descendant events.
1556 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
1558 * atk-bridge/bridge.c
1559 (atk_bridge_init): If application is Bonobo component wait until top
1560 level is added before registering
1561 (spi_atk_bridge_do_registration): New function which contains code,
1562 formerly in atk_bridge_init, to do application registration.
1563 (spi_atk_bridge_toplevel_added): Signal called when top level
1564 added to Bonobo component
1566 This fixes bug #83134.
1568 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
1570 * registryd/deviceeventcontroller.c
1571 Fixed compilation error caused by calling gettimeofday()
1574 2002-10-18 Bill Haneman <bill.haneman@sun.com>
1579 Added template for HAVE_XKB.
1582 Changes to check for XKB, and to set the HAVE_XKB #define if it
1585 * libspi/listener.c:
1586 ()impl_notify_event): Make failure to get event source name
1589 * registryd/deviceeventcontroller.c:
1590 (#include): include X11/XKBlib.h.
1591 (DEControllerPrivateData) : New struct.
1592 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
1594 (dec_synth_keycode_press) (dec_synth_keycode_release):
1595 New methods; split the key synthesis code into these methods.
1596 They check XKB settings before determining the "time" values to
1597 pass to Xtest; this fixes bug #95828.
1598 (impl_generate_keyboard_event): Changed to use methods above,
1599 instead of callng Xtest directly.
1600 (spi_device_event_controller_init): Initialize new privae struct s
1602 (spi_device_event_controllr_object_finalize):
1603 Free the (new) private data.
1605 * registryd/deviceeventcontroller.h:
1606 Add new gpointer to end of struct data.
1608 2002-10-16 Bill Haneman <bill.haneman@sun.com>
1611 Incremented revision to 1.1.2, SONAME is still '.so', library
1612 extensions are ".so.0.0.2".
1614 * registryd/deviceeventcontroller.c:
1615 FIXES FOR #93592 and #95940.
1616 (statics): renamed mouse_button_state to mouse_mask_state,
1617 added key_modifier_mask.
1618 (spi_dec_poll_mouse_moved):
1619 Added key modifier checks, and emit "keyboard:modifiers"
1620 events when the key modifiers currently in use change.
1621 Also generate "mouse:abs" events periodically, even if the mouse
1622 is stationary (should we?).
1623 Alternatively we could generate "mouse:abs" events for either all
1624 mouse movements, or every 'nth' mouse movement, or at the
1625 beginning and end of every "active" mouse period.
1627 * test/event-listener-test.c:
1628 (main): Added listener for "keyboard:modifiers" events.
1630 2002-10-15 Bill Haneman <bill.haneman@sun.com>
1632 * libspi/keymasks.h:
1633 Added key mask #defines for mouse buttons; e.g.
1634 SPI_KEYMASK_BUTTON1, etc.
1637 Incremented dependency on ATK to version 1.1.0. (This dependency
1638 is probably premature but will soon be real enough).
1640 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
1642 * libspi/hyperlink.[ch]
1643 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
1644 (get_hyperlink_from_servant): Check object is AtkHyperlink not
1647 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
1652 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
1654 * registryd/deviceeventcontroller.c
1655 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
1656 events to be ignored.
1657 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
1658 keyboard_mode so that XAllowEvents() can be called.
1662 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
1664 * cspi/spi-accessible.c: Correct names of roles returned by
1665 AccessibleRole_getName(). Fixes bug #95055.
1667 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
1669 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
1672 * registryd/registry.c
1673 (desktop_remove_application: Write diagnostic message to stderr for
1676 (impl_accessibility_registry_deregister_global_event_listener):
1677 Correct size of lists array. This addresses bug #94555).
1679 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
1681 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
1684 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
1686 * registryd/Makefile: Add CLEANFILES so that .server file is removed
1689 * registryd/registry.c (impl_registry_notify_event): Remove
1690 unnecessary call to parser_event_type().
1692 * docs/reference/cspi/tmpl/spi_component.sgml:
1693 Add reference to SPI_LAYER_WINDOW.
1695 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
1697 * registryd/registry.c
1698 (desktop_add_application): Remove leak.
1699 (desktop_remove_application): Remove leak.
1700 (parser_event_type): Remove leak.
1702 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
1704 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
1705 bogus call to CORBA_string_dup(). Also removed unnecessary
1706 g_string_dup/g_free calls.
1708 2002-09-13 Bill Haneman <bill.haneman@sun.com>
1710 * registryd/deviceeventcontroller.c:
1711 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
1713 * test/event-listener-test.c:
1714 main: commented out three redundant listeners, to reduce output
1715 noise. (They still are potentially useful for testing).
1718 2002-09-13 Michael Meeks <michael@ximian.com>
1720 * Update all the copyrights to include Ximian.
1722 2002-09-06 Mark McLoughlin <mark@skynet.ie>
1724 * cspi/spi.h: add SPI_LAYER_WINDOW.
1726 * cspi/spi_component.c: (AccessibleComponent_getLayer):
1727 add Accessibility_LAYER_WINDOW case.
1729 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
1731 * libspi/component.c: (impl_accessibility_component_get_layer):
1732 add ATK_LAYER_WINDOW case.
1734 2002-08-28 Bill Haneman <bill.haneman@sun.com>
1736 * configure.in: incremented micro version.
1738 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
1740 2002-08-20 Bill Haneman <bill.haneman@sun.com>
1743 Clarified and reworded our commit policy.
1746 Started an API "todo" addition list for 2.2.
1749 (impl_getSelection):
1750 Free char pointer from atk_text_get_selection, which was being leaked.
1752 2002-08-19 Bill Haneman <bill.haneman@sun.com>
1755 Small revision to author acknowledgement.
1757 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1759 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
1760 If signal has detail add it to the type of the event.
1763 2002-08-12 Michael Meeks <michael@ximian.com>
1765 * test/test-simple.c (global_listener_cb): bin bogosity.
1766 (test_keylisteners): disable, still doesn't work reliably,
1767 certainly not on my system anyway.
1769 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
1770 don't leak a reference on the DEC. This round-trip
1771 fetching of the DEC per keystroke sucks, it should be
1774 * cspi/spi-private.h,
1775 * cspi/cspi-lowlevel.h,
1776 * cspi/bonobo/cspi-bonobo-listener.[ch],
1777 * cspi/bonobo/cspi-bonobo.c: get the copyright
1778 notices better - there is still a large amount of
1779 work in at-spi falsely attributed solely to Sun.
1781 * cspi/spi_main.c (cspi_object_ref): kill bogus
1782 hash lookup, just increment the ref.
1783 (SPI_freeString): make explicit the fact that we
1784 handle NULL strings just fine.
1785 (report_leaked_ref): obey coding standards.
1786 (cspi_object_hash, cspi_object_equal): kill retval.
1787 (cspi_object_release): only release if not on loan.
1788 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
1789 (cspi_object_borrow, cspi_object_return): impl.
1791 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
1792 use cspi_object_borrow / return.
1794 2002-08-12 Darren Kenny <darren.kenny@sun.com>
1796 * cspi/bonobo/cspi-bonobo-listener.c:
1798 Don't call cspi_oject_new() because this is creating a new Accessible
1799 every single time that an event is fired. This causes ATs like at-poke
1800 to nolonger recognise the source of the event and thus ignore it.
1801 Re-use the object from the cache, ref it and then unref it after the
1802 listeners have been called.
1804 2002-08-06 Darren Kenny <darren.kenny@sun.com>
1806 * test/event-listener-test.c:
1807 Added command-line options to disable mouse events (m) and
1810 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
1812 * configure.in: Update required versions of ATK, GTK+ and GAIL
1814 * cspi-1.0.pc.in: Add dependency for X include files
1817 * cspi/bonobo/Makefile.am:
1818 Add $(X_CFLAGS) so that X include files
1819 are picked up even if not in standard place (bug #71686)
1821 2002-06-25 Bill Haneman <bill.haneman@sun.com>
1823 * registryd/deviceeventcontroller.c: fix for 84261
1824 (spi_dec_mouse_moved):
1825 Added test of mouse button mask, so that we can detect mouse
1826 button release. Unfortunately we can't otherwise detect mouse
1827 button release events without consuming the mouse press event,
1828 because of the way XGrabButton works. This means that our mouse
1829 release events have a latency dependent on the polling period
1830 while the mouse button is down. At least in this case we only
1831 have to poll while the button is down, and not at other times.
1832 If the button masks don't match with what the last press event
1833 reported, we report the appropriate button release event.
1834 (spi_dec_ungrab_mouse):
1835 New method (not yet called).
1836 (spi_device_event_controller_forward_mouse_event):
1837 New method, sends mouse press event from GdkFilter.
1838 (spi_dec_init_mouse_listener):
1839 Added code to call XGrabButton, redirecting mouse button events to
1840 the root window and our Gdk event loop.
1842 Added code to filter mouse button events, and reordered.
1844 * test/event-listener-test.c:
1846 Added registration for mouse events of type "mouse:button".
1848 2002-06-25 Bill Haneman <bill.haneman@sun.com>
1850 * registryd/deviceeventcontroller.c: partial fix for 84261
1851 (spi_dec_poll_mouse_idle):
1852 New method, a timeout which checks to see if the mouse
1854 (spi_dec_poll_mouse_moving):
1855 A timeout to be called when mouse motion is underway.
1856 (spi_dec_poll_mouse_moved):
1857 A method which fires an event if the mouse has moved, and reports
1858 whether or not it did so.
1859 (spi_dec_init_mouse_listener):
1860 A method which sets up the timeouts above.
1861 (spi_device_event_controller_new):
1862 Now calls spi_dec_init_mouse_listener.
1864 * registryd/registry.c:
1865 (spi_registry_init):
1866 Now we initialize the device event controller when the registry is
1867 initialized, instead of waiting until a client has requested a key
1868 event notification; this is because we need the event controller
1869 for mouse events, but the mouse event registration API is a
1870 "registry" call and doesn't explicitly call the
1871 deviceeventcontroller.
1872 We now report mouse motion events with a 100 ms idle latency and
1873 a 20 ms granularity when motion is in progress.
1875 * test/event-listener-test.c:
1877 We now register the "detail listener" for events of type
1878 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
1879 delivered only for the first mouse event received, and thereafter
1880 "mouse:abs" events are delivered.)
1882 * cspi/spi_registry.c:
1883 DOCS: Documented the above mouse event typestrings.
1885 2002-06-21 Bill Haneman <bill.haneman@sun.com>
1887 Happy Summer Solstice...
1889 * registryd/deviceeventcontroller.c: [fix for bug 84100]
1890 (spi_controller_notify_keylisteners):
1891 Changes to remove a listener from the listener list, freeing its
1892 open keygrabs, if a notification to that listener fails. This
1893 means that although a dead listener can continue to hold a passive
1894 keygrab, a maximum of one dispatch to such a listener can fail
1895 before the listener is removed from the list, thus the keygrab
1896 will be released on the next occurrence.
1897 As part of this fix:
1898 (spi_notify_keylisteners):
1899 Renamed to spi_controller_notify_keylisteners, as the controller
1900 instance must now be passed as an argument.
1901 The copied 'notify' GList is now a list of DEControllerKeyListener
1902 objects, since we need more than just the CORBA reference if a
1903 notify fails and we need to deregister the listener.
1904 (impl_notify_listeners_sync):
1905 (impl_notify_listeners_async):
1906 (spi_device_event_controller_forward_key_event):
1907 Modify use of notify_keylisteners in accordance with above
1909 (spi_deregister_controller_key_listener):
1910 New method introduced by refactoring, from
1911 impl_deregister_keystroke_listener.
1912 (impl_deregister_keystroke_listener):
1913 Call spi_deregister_controller_key_listener.
1914 (spi_key_listener_clone):
1915 New method to copy a key listner without doing a 'ref' on the
1916 remote object instance; used to create a notifier list.
1917 (spi_key_listener_data_free):
1918 New method, frees data without unreffing the source.
1920 (spi_key_listener_clone_free): new method.
1921 (spi_key_listener_free):
1922 refactored to call spi_key_listener_data_free.
1924 2002-06-20 Bill Haneman <bill.haneman@sun.com>
1926 * registryd/registry.c: [fix for bug 86048]
1927 (notify_listeners_cb):
1928 Clear CORBA system exceptions which occur when notifying
1929 listeners, before returning to the source of the original event,
1930 since the event source doesn't care if the relayed notify failed.
1931 In other words, don't complain to the atk-bridge if the registry
1932 could not notify all its listeners, that's no fault of the
1933 application and thus should not appear to be an error from the
1934 application's perspective.
1936 * cspi/spi_main.c: [fix for bug 85980]
1938 Replaced use of bonobo_object_dup_ref with call to the wrapper
1939 method, csou_dup_ref (); this silences a compiler warning and
1940 provided more portability.
1942 Ping the registry before return, and restart if necessary.
1944 * cspi/bonobo/cspi-bonobo.c:
1946 New internal method.
1948 Fixed this method to return an object reference, as it should have
1951 * cspi/cspi-lowlevel.h:
1952 Added internal definition for cspi_ping() and fixed
1953 return type of cspi_dup_ref().
1956 2002-06-19 Bill Haneman <bill.haneman@sun.com>
1958 * atk-bridge/bridge.c: [fix for bug 85305]
1959 (spi_atk_bridge_register_application):
1960 New method where the initial application registry calls have been
1961 moved; it allows an application to re-register in response to
1962 certain error conditions (such as a registry restart, see below).
1964 Moved some initialization code to the method
1965 spi_atk_bridge_get_registry, below.
1966 (spi_atk_bridge_get_registry):
1967 New, private accessor function for the Accessibility_Registry
1968 instance. If the registry has not been started before, or has
1969 died (as detected by failure of a CORBA exception), it is
1970 restarted before return, and spi_atk_bridge_register_application
1971 is called again to register with the new bridge instance.
1972 (spi_atk_emit_eventv):
1973 Set registry_died on error; use spi_atk_bridge_get_registry () to
1974 access the registry.
1976 * registryd/registry.c:
1977 (impl_accessibility_registry_register_global_event_listener):
1978 Set listener's event_type_quark to etype.minor instead of
1979 etype.major (fix for bug 84856).
1981 * test/event-listener-test.c:
1982 (report_detail_event):
1983 Change the output string so that user/tester can tell that the
1984 'detail listener' was called instead of the 'generic listener'.
1986 2002-06-18 Bill Haneman <bill.haneman@sun.com>
1988 Fixes for bugs 84900, 84908, 84897, 84898.
1993 Revved version to 1.1.0
1994 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
1995 version is going to HEAD which will be used for gnome-2-0-1 and later.)
1997 * idl/Accessibility_Registry.idl:
1998 (EventListener::notifyEvent):
1999 Removed 'oneway' directive after extensive consulation with
2000 ORBit2 team and others. This means also that unref() of the event
2001 source can and should be done synchronously after emission, rather
2002 than remotely in the client, after servicing the notify call on
2005 NOTE: This change speeds up listener performance considerably, but
2006 introduces new latency on the application side. We may want to
2007 add an event queue to the atk-bridge.
2009 * atk-bridge/bridge.c:
2010 (spi_atk_bridge_focus_tracker):
2011 Do a local unref() on the event source after emission.
2013 * registryd/registry.c:
2014 (desktop_remove_application):
2015 Do an unref() on the event source after emission.
2016 (desktop_add_application):
2017 Do an unref() on the event source after emission.
2018 (notify_listeners_cb):
2019 When relaying an event, don't automatically add the event source
2020 to the local object cache, just CORBA_dup it instead. Likewise,
2021 if this method reenters, release the ref rather than calling
2023 (impl_registry_notify_event):
2024 No longer call remote unref() on the event source after dispatch.
2026 * libspi/eventlistener.c:
2027 (impl_accessible_event_notify_event):
2028 Removed remote unref ()
2030 * cspi/bonobo/cspi-bonobo-listener.c:
2032 We now call cspi_object_new() instead of cspi_object_add() on
2033 receipt of an event; thus we only have an implicit object ref
2034 while the cspi_event method is being executed. If we need to keep
2035 a reference to the object, the listener must call ref() on the
2036 object. Thus also we don't need to call cspi_object_unref() after
2037 invoking the listener callbacks in this method.
2041 New internal API for creating a new cspi object, without adding it
2042 to the object cache.
2044 Now uses cspi_object_new() to create the cspi object instance.
2046 Now checks to see if the object is in the internal object cache,
2047 and adds it if necessary before incrementing its refcount (note
2048 that new objects are added with a refcount of 1).
2049 (report_leaked_ref):
2050 New method which gives some information on leaked object instances
2051 if leak detection is turned on.
2053 * test/event-listener-test.c:
2054 (timing_test_event):
2055 New method, used for testing event delivery timing for special
2056 events of type "object:test". It reports elapsed time and
2057 events/sec every 500 events.
2059 Added a new listener, 'test listener', to check timing of event
2060 receipt as noted above.
2062 Added some timing output here also, reports elapsed time every 100
2065 * test/stress-test.c:
2066 Emit events of type "object:test", for use with "event-listener-test".
2068 * test/test-simple.c:
2069 (global_listener_cb):
2070 Call Accessible_ref() on the event source before calling
2071 validate_accessible, since the validation process does pointer
2072 comparisons on the event source, meaning that the event source
2073 needs to be added to the local object cache first. Any use of
2074 such pointer comparisons between Accessible objects requires that
2075 the caller hold an explicit reference to those objects.
2076 We also must therefore call Accessible_unref() when leaving this method.
2078 2002-06-13 Bill Haneman <bill.haneman@sun.com>
2080 * registryd/deviceeventcontroller.c:
2081 (spi_controller_update_key_grabs):
2082 Fix for #84735, subsequent keygrab listeners not informed of
2083 registration failure.
2086 (spi_base_construct):
2087 Add an assertion on construct, to make sure the GObject passed in
2088 is really a GObject.
2090 Explicitly initialize object->gobj pointer to NULL;
2092 * cspi/bonobo/cspi-bonobo-listener.c:
2093 (cspi_object_add_ref):
2094 New method, can specify whether to dup-ref a bonobo object passed
2095 in if it's newly added to the object cache.
2097 Now calls cspi_object_add_ref with second param of "FALSE". This
2098 prevents us from doing a pointless dup-ref followed by
2099 release-unref for all those cases where the object is already in
2100 our object cache (fix for #85205).
2102 * atk-bridge/bridge.c:
2103 (spi_atk_bridge_idle_init):
2104 Removed this method, we don't need to initialize in an idle
2107 Changed to call spi_atk_register_event_listeners directly, not via an
2108 idle handler. (fix for #81139)
2109 (gnome_accessibility_module_shutdown):
2110 Removed conditional around deregistration of listeners, since we
2111 don't use the idle handler and thus have always registered when
2113 (spi_init_keystroke_from_atk_key_event):
2114 Changed references to Accessibility_KEY_PRESSED to
2115 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
2117 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2119 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
2124 * test/stress-test.c:
2127 (may have been an incomplete commit yesterday?)
2129 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2132 Added target for new stress-test.
2134 * test/stress-test.c:
2135 New test, sends 1000 focus notifies in quick succession.
2137 * test/key-listener-test.c:
2138 Now we report whether a keylistener registration
2139 request succeeded or failed.
2141 * test/event-listener-test.c:
2142 Uncommented some listeners which are now implemented.
2145 2002-06-06 Bill Haneman <bill.haneman@sun.com>
2147 * registryd/deviceeventcontroller.c:
2148 (spi_controller_update_key_grabs):
2149 Fix for #82509, lack of failure notification when
2150 ALL_WINDOWS keygrabs fail due to XGrabKey
2151 failure: we synchronize the server when
2152 registering a passive grab, to make sure we get the
2153 error message before the call returns.
2155 2002-06-03 Bill Haneman <bill.haneman@sun.com>
2157 * test/test-simple.c:
2159 Removed #ifdef KEY_IMPL_WORKS guards.
2160 (test_keylisteners):
2161 Removed #ifdef KEY_IMPL_WORKS guards.
2162 Fixed bug which was causing a hang waiting for a
2163 "press" event (which was already overwritten by a "release"
2164 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
2166 Added code to set globals 'key_press_received' and
2167 'key_release_received'.
2170 Added section "1.1 API Proposed Additions" which
2171 lists API additions desired for at-spi-1.1 (only one so far).
2172 Updated TODO list a little.
2174 2002-06-02 Bill Haneman <bill.haneman@sun.com>
2176 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
2179 * configure.in: Revved to 1.0.0.
2181 * idl/Accessibility_Registry.idl:
2182 (registerKeystrokeListener):
2183 Added boolean return value.
2185 * registryd/registry.c:
2186 (notify_listeners_cb): Minor fix to debug output.
2188 * registryd/Accessibility_Registry.server.in.in:
2189 Revved version number in OAFIID to 1.0.
2191 * registryd/registryd.c:
2193 Use new OAFIID version.
2195 * cspi/bonobo/cspi-bonobo.c:
2197 Use new OAFIID version.
2203 * atk-bridge/bridge.c:
2205 Use new OAFIID version.
2207 * registryd/deviceeventcontroller.c:
2208 (impl_register_keystroke_listener):
2209 Added CORBA_boolean return value.
2210 (spi_controller_register_device_listener):
2211 Added gboolean return value.
2212 (spi_controller_register_global_keygrabs):
2213 Added gboolean return value.
2214 (spi_key_set_contains_key):
2215 Added implementation for many more control keys,
2216 for instance F1-F12, arrow keys, End, Home, Page_Up,
2218 [TODO: some still not implemented].
2220 * text/screen-review-test.c:
2221 (text_chunk_pad_string):
2222 New function: it provides mapping between coordinate
2223 positions of text chunks and character positions in the
2224 screen-review-line output string.
2225 (text_chunk_to_string):
2226 New function, calls text_chunk_pad_string with various
2227 pad/delimiter characters. Pushbuttons are delimited with
2228 square brackets, Frames with vertical 'pipe' lines, and
2229 other text with double quotes.
2230 (text_chunk_list_to_string):
2231 Calls new function text_chunk_to_string.
2232 (toplevel_composite):
2233 New function to composite layers CANVAS through
2234 POPUP in each toplevel (other layers are composited
2235 across toplevels, i.e. BACKGROUND and OVERLAY).
2236 (review_buffer_composite):
2237 Revise to use new methods.
2243 2002-05-31 Laszlo Peter <laca@sun.com>
2245 * configure.in: add the Xtst libdir to the runpath on Solaris,
2246 since it's not in the default library search path.
2248 2002-05-29 jacob berkman <jacob@ximian.com>
2250 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
2252 2002-05-29 Bill Haneman <bill.haneman@sun.com>
2254 * test/screen-review-test.c:
2255 (text_chunk_pad_string):
2256 Added method, which pads the string according to the
2257 text bounds of the chunk. It also takes a 3-character
2258 string as a param which indicates the characters to be
2259 used for start, padding, and end delimitation of the chunk.
2260 (text_chunk_to_string):
2261 Changed to use text_chunk_pad_string.
2263 * configure.in: Fixed bug in AC_OUTPUT that was
2264 causing path substitution in Accessibility_Registry.server
2267 2002-05-23 Bill Haneman <bill.haneman@sun.com>
2269 * text/screen-review-test.c:
2270 (guess_string_clip):
2271 New method which attempts a best-guess at clipping
2272 text from components (like Java labels) which don't
2273 actually implement AccessibleText. This inaccurate
2274 clip is based on the assumption that the label is
2275 justified left-and-right, and monospaced.
2276 (text_chunk_get_clipped_string):
2277 We now call guess_string_clip() for text-containing
2278 components that don't implement AccessibleText.
2280 * test/screen-review-test.c:
2281 (review_buffer_get_text_chunk):
2282 We now pull "name" from labels if they do not implement
2283 AccessibleText (i.e. for Java labels).
2284 (get_screen_review_line_at):
2285 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
2288 Replaceded AC_OUTPUT target
2289 registryd/Accessibility_Registry.server with
2290 registryd/Accessibility_Registry.server.in.
2292 * registryd/Accessibility_Registry.server.in:
2293 Removed (this is now a Makefile target).
2295 * registryd/Accessibility_Registry.server.in.in:
2296 Added (source for target above). We now use $(libexecdir) as
2297 prefix for the executable at-spi-registryd.
2299 * registry/Makefile.am:
2300 Now install at-spi-registryd into $(libexecdir), and build .server
2301 file with path (see above).
2303 2002-05-22 Bill Haneman <bill.haneman@sun.com>
2305 * test/screen-review-test.c:
2306 (text_chunk_get_clipped_string):
2307 We now check to see if words fall within clip bounds
2308 before resorting to character-by-character clip bounds testing.
2310 * TODO: Added a section for "2.2 Proposed API Additions".
2312 2002-05-21 Bill Haneman <bill.haneman@sun.com>
2314 * test/screen-review-test.c:
2316 Added a screen review benchmarking and test program to test
2319 * cspi/spi_accessible.c:
2321 Made some of the debug strings passed to cspi_check_ev a
2322 little more specific.
2324 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
2326 * test/screen-review-test.c: Fix crashes in debug statements
2328 2002-05-20 Bill Haneman <bill.haneman@sun.com>
2330 * test/screen-review-test.c: Added this file.
2332 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2334 * atk-bridge/bridge.c: changed "object:state-change" to
2335 "object:state-changed" to match docs.
2337 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2339 * atk-bridge/bridge.c: Hooked up state-change event details.
2341 2002-05-11 Bill Haneman <bill.haneman@sun.com>
2343 * registryd/registry.c:
2344 Fixed quarking bug in event string parsing; now events with
2345 detail parameters get matched correctly to listeners.
2348 * util/idl/Magnifier.idl: remove.
2350 * util/*.[ch]: Remove.
2351 Magnification utilities and IDL are now in module gnome-mag.
2353 2002-05-10 Bill Haneman <bill.haneman@sun.com>
2355 * registryd/deviceeventcontroller.c:
2356 Fixed bug in grab key conversion which was causing keycode grabs
2357 to be converted to AnyKey grabs.
2360 updated NEWS file to reflect recent spin-off of gnome-mag.
2362 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
2364 * cspi/spi_accessible.c: Added exception checks. Fixed completely
2365 busted AccessibleStateSet_compare. Removed redundant casts.
2367 * cspi/spi-action.c: Removed redundant casts.
2369 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
2371 * cspi/spi_component.c: Fixed typos and casting error.
2373 * cspi/spi_editabletext.c: Removed redundant casts.
2375 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
2377 * cspi/spi_hypertext.c: Eliminated redundant casts.
2379 * cspi/spi_image.c: Eliminated redundant casts.
2381 * cspi/spi_registry.c: Eliminated redundant casts.
2382 SPI_deregisterGlobalEventListenerAll () removed retval variable.
2383 * cspi/spi_selection.c: Removed redundant casts.
2384 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
2385 handling. Screen geometry and text offsets were being returned as 0
2386 on error which is technically valid-- changed these to return -1.
2387 Added marshaller for text boundary types to fix bug with boundary
2388 types being passed incorrectly to atk.
2390 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2393 * cspi/spi_registry.c:
2394 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
2395 which was uncovered by the recent key changes.
2397 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2399 * test/event-listener-test.c:
2401 Added new test, "event-listener-test";
2402 this code does two things; it benchmarks traversal time
2403 for the accessible hierarchy for the first running accessible
2404 app, and it connects listeners for all supported event types.
2405 It is thus useful as an example event listener and for
2406 diagnostics/debugging of event generation.
2408 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2411 Removed unnecessary dependency on libutil.
2414 Revved micro version: 0.13.1
2416 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2419 Removed util/Makefile from targets.
2422 Removed util subdir from SUBDIRS (temporarily,
2423 pending removal of magnifier-only code
2427 #ifdef-ed out magnifier dependencies, since
2428 magnifier IDL, headers, and binary now live in
2429 module gnome-mag and we don't want at-spi to depend
2430 on gnome-mag. A magnifier demo which can run alongside
2431 simple-at is forthcoming in the gnome-mag module.
2433 NOTE: Split magnifier binary, IDL, and magnification
2434 activation code from at-spi into module gnome-mag.
2436 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
2438 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
2439 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
2441 2002-05-03 Bill Haneman <bill.haneman@sun.com>
2444 Revved to version 0.13.0
2446 * idl/Accessibility_Registry.idl:
2447 Changed definition of KeySet from sequence of longs to sequence of
2448 KeyDefinitions, and added KeyDefinition struct.
2449 Required for fix to bug 80616.
2451 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
2452 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
2453 to use new definition (see above).
2455 * registryd/deviceeventcontroller.c: handle_keygrab(),
2456 spi_keyset_contains_key():
2457 Changed to make use of new struct; this allows matching based on
2458 string key-name, for instance "Tab". This also allows matching of
2459 composed characters, non-alphanumeric characters in a way that
2460 doesn't involve dependencies on X keysym codes directly, etc.
2462 * test/key-listener-test.c:
2463 Added test for Alt-Tab key using "string" specification of keyset,
2464 and modified one of the tests to use a keycode-based keyset.
2465 Thus this test both tests and demonstrates the creation and use of
2466 keysets of three forms: specified via keycode array,
2467 keysym array, and string array. (The string case only contains a
2468 single string, i.e. a string array of length 1).
2471 Turned on PRINT_TREE option by default. Also fixed a
2472 string-freeing bug in the PRINT_TREE code.
2473 Added a listener to window:minimize events.
2475 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
2477 * atk-bridge/bridge.c:
2478 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
2479 for window:activate and window:deactiveate
2480 (atk_bridge_property_event_listener atk_bridge_signal_listener
2481 atk_bridge_window_event_listener) Tidy debug code
2483 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
2485 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
2486 Fixed handling for NULL return value from ATK.
2488 * libspi/action.c libspi/component.c libspi/editabletext.
2489 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
2490 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
2491 Removed redundant casts.
2493 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
2494 Fixed off by one bug.
2496 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
2497 function not present in idl)
2499 2002-05-02 jacob berkman <jacob@ximian.com>
2501 * atk-bridge/Makefile.am: make atk-bridge a real module
2503 2002-04-26 Radek Doulik <rodo@ximian.com>
2505 * libspi/stateset.c (spi_init_state_type_tables): fix size of
2506 atk_state_types table
2508 2002-04-22 jacob berkman <jacob@ximian.com>
2511 * libspi/Makefile.am: add deps on the built files to help
2512 automake, and don't version the ORBit typelib
2514 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
2516 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
2517 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
2518 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
2519 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
2520 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
2521 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
2522 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
2523 libspi/accessible.h libspi/accessible.h libspi/base.h
2524 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
2525 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
2526 libspi/relation.h libspi/remoteobject.h libspi/selection.h
2527 libspi/spi-private.h libspi/statetset.h libspi/table.h
2528 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
2529 util/mag_client.h util/mag_control.c util/mag_image.c
2530 util/mag_image.h util/magnifier.c util/magnifier.h:
2531 Add missing file headers; standardize existing ones
2533 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
2535 * atk-bridge/bridge.c: Added window event support.
2537 2002-04-18 Michael Meeks <michael@ximian.com>
2539 * libspi/relation.c (impl_getNTargets): impl.
2540 (impl_getTarget): impl.
2542 * libspi/Makefile.am: fix stateset install.
2544 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2547 Started putting useful info in this file.
2549 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
2551 * atk-bridge/bridge.c:
2552 Propagate state-changed notifications to ATs
2554 * cspi/spi_registry.c: update docs to reflect actual behavior of
2555 state-change events.
2557 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2560 Incremented version to 0.12.1
2562 * util/mag_client.h:
2563 Add missing declaration for magnifier_exit,
2564 used by mag_control.c - Forte compiler didn't like
2565 the implicit redeclaration of the function :-(
2568 2002-04-16 Bill Haneman <bill.haneman@sun.com>
2571 Revved version to 0.12 due to API change (see below).
2573 * cspi/spi-roletypes.h:
2574 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
2575 definition from the inline docs, and added docs
2576 for SPI_ROLE_LAST_DEFINED.
2579 * cspi/spi_streamablecontent.c:
2580 Added missing seek_type parameter to
2581 (so far unused) method,
2582 AccessibleStreamableContent_seek().
2583 [ RT approval JodyG. ]
2586 Fixed docs for SPI_createAccessibleKeystrokeListener.
2588 * cspi/spi_registry.c:
2589 Fixed docs for SPI_KEYSET_ALL_KEYS.
2591 * docs/reference/cspi/at-spi-cspi-sections.txt:
2592 Added a number of missing APIs to SECTIONS.
2594 2002-04-16 Bill Haneman <bill.haneman@sun.com>
2596 * registryd/Makefile.am:
2598 * cspi/bonobo/Makefile.am:
2599 Add $(X_LIBS) to makefiles.
2601 2002-04-15 Bill Haneman <bill.haneman@sun.com>
2604 Revved version to 0.11.
2606 * libspi/component.c:
2607 Added implementation for grabFocus.
2609 * idl/Accessibility_Component.idl
2610 (Accessibility_Component_grabFocus):
2611 Made this method return boolean to indicate success or failure, to
2612 be consistent with cspi and the corresponding ATK method.
2614 * idl/Accessibility_Selection.idl
2615 (Accessibility_Selection_selectAll) :
2616 Made these methods return boolean to indicate success or
2617 failure, to be consistent with cspi and the corresponding ATK methods.
2619 * idl/Accessibility_EditableText.idl
2620 (Accessibility_EditableText_setTextContents,
2621 Accessibility_EditableText_insertText,
2622 Accessibility_EditableText_cutText,
2623 Accessibility_EditableText_deleteText,
2624 Accessibility_EditableText_pasteText):
2625 Made these methods return boolean to indicate
2628 * cspi/spi_editabletext.c:
2629 Made these methods return booleans.
2631 * libspi/selection.c:
2632 * libspi/component.c:
2633 * libspi/editabletext.c:
2634 Connected the boolean returns from ATK
2635 to the server-side code referenced above.
2637 2002-04-14 Bill Haneman <bill.haneman@sun.com>
2639 * idl/Accessibility_Table.idl: Added missing methods,
2640 Accessibility_Table_addRowSelection,
2641 Accessibility_Table_addColumnSelection,
2642 Accessibility_Table_removeRowSelection,
2643 Accessibility_Table_removeColumnSelection.
2646 Added C wrappers for above IDL:
2647 AccessibleTable_addRowSelection,
2648 AccessibleTable_addColumnSelection,
2649 AccessibleTable_removeRowSelection,
2650 AccessibleTable_removeColumnSelection.
2653 Added server-side implementation code for IDL above, connecting
2654 to pre-existing ATK api.
2656 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
2658 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
2660 * libspi/accessible.c: Added implementation fo
2661 Accessibility_Accessible_get_state.
2663 * libspi/libspi.h: Added stateset.h to the list of includes.
2665 * libspi/stateset.c: Fixed broken implementation.
2667 2002-04-13 Bill Haneman <bill.haneman@sun.com>
2670 Added implementation code for Accessibility_Magnifier_exit ().
2672 * util/mag_control.c:
2673 Added test code for above method; you can
2674 now kill an existing magnifier via
2675 ./mag_control q, from the util directory.
2677 * test/key-listener-test.c:
2679 Added a new test, for our key listener API.
2681 2002-04-11 Bill Haneman <bill.haneman@sun.com>
2683 * test/app.c, test/keysynth-demo.c:
2685 Replace use of snprintf with g_snprintf.
2686 (fix for bugzilla 78249)
2688 2002-03-27 Michael Meeks <michael@ximian.com>
2692 * util/Makefile.am (INCLUDES): fix.
2693 (DONT_DIST_SOURCE): don't distribute the
2696 * libspi/Makefile.am (dist-hook): ditto.
2698 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
2700 * libspi/hypertext.c:
2701 Fix warnings when yelp is used with atk-bridge
2703 2002-03-21 Michael Meeks <michael@ximian.com>
2705 * libspi/application.c (spi_application_new):
2706 use spi_accessible_construct so we use the AtkObject
2709 2002-03-19 Michael Meeks <michael@ximian.com>
2711 * registryd/registry.c (desktop_remove_application),
2712 (desktop_add_application): clean coding style.
2714 * registryd/desktop.c (spi_desktop_remove_application),
2715 (spi_desktop_add_application): kill re-enterency hazards.
2716 (spi_desktop_dispose): remove bogus redundant cast
2717 obscuring bug; fix bug too.
2718 (spi_desktop_init): make the desktop object immortal.
2720 2002-03-16 Bill Haneman <bill.haneman@sun.com>
2723 Added a #define-guarded tree-traversal step
2724 when enumerating the apps (diagnostic tool).
2726 2002-03-15 Bill Haneman <bill.haneman@sun.com>
2728 * idl/Accessibility_Role.idl:
2729 Added ROLE_DRAWING_AREA which seemed to be missing from the
2732 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2734 * cspi/spi-roletypes.h cspi/spi_accessible.c
2735 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
2738 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
2739 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
2740 AT when applications are added and removed from the desktop. This
2741 reverts the previous broken implementation using the backing
2742 AtkObject for the SpiDesktop.
2744 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2746 * registryd/desktop.c: emit the "children-changed::add" and
2747 "children-changed::remove" signals on the backing ATK object for
2748 the desktop so AT can tell when applications are started and shut
2751 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2753 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
2755 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2757 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
2759 * cspi/spi_accessible.c: Implemented c bindings for stateset support
2761 * cspi/state-types.h: synched with IDL and ATK
2763 2002-03-13 Bill Haneman <bill.haneman@sun.com>
2765 * libspi/accessible.c
2766 (impl_accessibility_accessible_get_child_at_index):
2767 Change return value for g_return_if_fail ()
2768 to CORBA_OBJECT_NIL instead of "0" (!)
2770 * registryd/Makefile.am:
2771 * registryd/Accessibility_Register.server.in:
2772 Changed name of executable, "registryd",
2773 to something more informative:
2776 2002-03-13 Michael Meeks <michael@ximian.com>
2778 * atk-bridge/bridge.c (atk_bridge_init): don't register
2779 if we're in a bonobo-component, rather than a bonobo app.
2781 2002-03-13 Michael Meeks <michael@ximian.com>
2783 * atk-bridge/bridge.c (gtk_module_init): split
2784 out body to (atk_bridge_init): here, since otherwise
2785 we get symbol conflicts and oddness when invoked
2786 from (gnome_accessibility_module_init): here (upd.)
2788 2002-03-11 Bill Haneman <bill.haneman@sun.com>
2791 New file. Explicitly allow "build sheriff" putbacks provided
2792 they are tested on Solaris.
2794 * docs/reference/cspi/Makefile.am:
2795 Added '-' to the "cp" command for index.sgml.
2796 ("patch by thomasvs, soon coming to a GUADEC near you")
2799 Incremented version number (0.9.0) for new release.
2800 Changed macro that checks for popt, to better detect
2801 obsolete versions of popt.
2804 Added X_LIBS to AC_SUBST, for applications
2805 that call Xlib API directly.
2808 2002-03-07 Bill Haneman <bill.haneman@sun.com>
2811 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
2814 Fix regression caused by hard-coding major
2815 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
2818 * test/test-simple.c (test_editable_text),
2819 (test_test): revert previous change (error was
2820 a regression in gail which is now fixed).
2822 2002-03-04 Michael Meeks <michael@ximian.com>
2824 * test/test-simple.c (test_editable_text),
2825 (test_text): pass G_MAXINT instead of '-1' for
2826 whole string - is this a good thing !?
2828 * cspi/spi_accessible.c
2829 (Accessible_getRelationSet): fix crasher bug
2830 overwriting the end of the array.
2832 * test/test-simple.c (validate_accessible): free,
2833 not g_free returned relation set.
2835 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
2837 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
2838 implemented stateset support
2840 * idl/Accessibility_State.idl: Made necessary changes to
2841 the IDL to support state sets.
2843 2002-02-12 Bill Haneman <bill.haneman@sun.com>
2845 * registryd/deviceeventcontroller.c:
2846 Added implementation for generateMouseEvent.
2848 * cspi/spi_registry.c:
2849 Connected new implementation for generateMouseEvent
2852 2002-02-12 Bill Haneman <bill.haneman@sun.com>
2855 Incremented revision (but no change in public API
2856 outside of 'utils', which are not installed public yet.)
2858 * libspi/component.c:
2859 Changed to use atk_component API for layers and
2860 mdi_zorder, instead of deprecated atk_object API.
2862 Magnification Utility Enhancements:
2865 Added implementation of createZoomRegion, clearAllZoomRegions,
2866 resizeZoomRegion. Added new commandline argument
2867 "--no-initial-region". Note that clearAllZoomRegions doesn't
2868 unmap the old '0' region as it should (yet), and the other
2869 methods only work when creating/resizing a single region,
2870 which is "region 0".
2871 (Code for multiple region support will be added later.)
2874 Now we raise the magnifier window each time it's refreshed;
2875 this will help keep it on top.
2877 * util/mag_client.h:
2878 Added simple wrappers for above, used by mag_control.
2879 For general use, it's recommended to use the bonobo magnifier
2880 control API directly instead of using these wrappers.
2883 Moved ZoomRegionData from magnifier.c to this file.
2885 * util/mag_control.c:
2886 Added some code to exercise new IDL implementations.
2888 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
2890 * libspi/text.c: Provide implementation for getAttributes.
2892 2002-02-04 Bill Haneman <bill.haneman@sun.com>
2895 Incremented revision.
2897 * test/test-simple.c:
2898 Replaced use of deprecated g_main_iteration with
2899 g_main_context_iteration.
2901 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
2904 Incremented revision for desktop alpha 2.
2906 2002-01-28 Mark McLoughlin <mark@skynet.ie>
2908 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
2911 * test/simple-at.c: include netinet/in.h.
2913 2002-01-24 Mark McLoughlin <mark@skynet.ie>
2915 * cspi/spi_accessible.c: (Accessible_getRelationSet):
2916 use NULL, not CORBA_OBJECT_NIL.
2918 * libspi/accessible.c:
2919 (impl_accessibility_accessible_get_relation_set):
2920 allocate the sequence correctly.
2922 * libspi/remoteobject.h: kill spi_remote_object_new.
2924 * test/test-simple.c: (validate_accessible): add code
2925 to test relation sets, now all we need is to figure
2926 out how to excercise this code path :/
2928 2002-01-18 Michael Meeks <michael@ximian.com>
2930 * test/test-simple.c
2931 (key_listener_cb): consume the key.
2932 (test_keylisteners): update.
2933 (main): wait for any pending unrefs on events.
2935 * registryd/deviceeventcontroller.c
2936 (spi_controller_update_key_grabs): only re-issue the
2937 grab on a key release.
2938 (spi_device_event_controller_forward_key_event):
2939 refresh the keygrabs before we notify the listeners,
2940 to reduce the X ungrab / re-grab race.
2941 (spi_controller_register_with_devices): remove
2942 XSelectInput - we do that with the gdk_window_ call.
2943 (_spi_controller_device_error_handler): return a value.
2944 s/GDK_DISPLAY/spi_get_display/
2946 2002-01-17 Michael Meeks <michael@ximian.com>
2948 * registryd/deviceeventcontroller.c
2949 (_deregister_keygrab): don't blow out the later
2952 * test/test-simple.c (test_keylisteners): do a
2953 more intelligent validation.
2955 2002-01-14 Michael Meeks <michael@ximian.com>
2957 * atk-bridge/bridge.c
2958 (gnome_accessibility_module_init),
2959 (gnome_accessibility_module_shutdown): impl.
2960 (gtk_module_init): protect vs. double inits.
2961 (add_signal_listener): impl.
2962 (spi_atk_bridge_state_event_listener): kill
2963 (deregister_application): split out of
2964 (spi_atk_bridge_exit_func): here.
2966 2002-01-18 Bill Haneman <bill.haneman@sun.com>
2969 Added caret tracking when using magnifier, and
2970 now use text bounds for focus tracking of text elements, rather than
2971 the component bounds - this is helpful for short text fields in long
2972 table cells, at high magnification.
2974 2002-01-16 Bill Haneman <bill.haneman@sun.com>
2976 * registryd/deviceeventcontroller.c:
2977 Regression fix for keylistener de-registration; global keygrabs
2978 were not being released when deregisterKeystrokeListener was
2979 called in cspi, since
2980 Accessibility_DeviceEventController_deregisterKeystrokeListener
2981 was called with a zero-length keyset. That is because the cspi
2982 method, SPI_deregisterKeystrokeListener, does not take a keyset
2983 parameter but instead should remove all the key grabs held be a
2985 The code in impl_deregister_keystroke_listener was changed to copy
2986 the keylist from the listener instance previously registered with
2987 the DeviceEventController before releasing the grabs.
2989 * registryd/registry.c:
2990 * registryd/deviceeventcontroller.c:
2991 * libspi/spi-private.h:
2993 Changed spelling of "re-enterant" to "re-entrant" globally.
2995 2002-01-16 Bill Haneman <bill.haneman@sun.com>
2997 * test/test-simple.c:
2998 Changed key listeners test - the test was slightly mis-using the
2999 (admittedly poorly documented) SPI_generateKeyboardEvent API.
3000 It now uses '=' as the key event listened to and generated,
3001 relying on a keysym match rather than assuming that keycode 33
3002 is always equal to keysym '!'.
3004 2002-01-15 Bill Haneman <bill.haneman@sun.com>
3007 Changed simple-at to use a specific keyset, rather than
3008 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
3009 manager, desktop, etc.
3011 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3013 * registryd/deviceeventcontroller.c:
3014 Replaced standard X error handler with a special handler that
3015 is non-fatal for failed keygrabs. This works around
3016 problems with keygrab clashes sometimes observed on
3018 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
3019 mouse handling code as yet).
3021 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3024 Incremented revision for desktop alpha release.
3027 Fixed a couple of the more glaring errors (still not
3030 2002-01-11 Michael Meeks <michael@ximian.com>
3032 * registryd/deviceeventcontroller.c
3033 (spi_device_event_controller_forward_key_event): kill
3034 XUngrabKey / XKeyGrab race.
3035 (spi_controller_grab_keyboard): rename to
3036 (spi_controller_update_key_grabs): this, and deal
3037 with incremental adding / removing grabs more
3039 (_register_keygrab): ensure we're not pending a remove.
3040 (spi_grab_mask_free): impl.
3041 (spi_controller_register_global_keygrabs): split out
3043 (handle_keygrab): impl.
3044 (_deregister_keygrab): impl.
3045 (spi_controller_deregister_global_keygrabs): impl.
3046 (spi_controller_update_key_grabs): re-issue the grab if
3047 we just recieved a notification.
3049 * test/test-simple.c (key_listener_cb): remove debug.
3051 * registryd/deviceeventcontroller.c
3052 (spi_controller_register_device_listener): after
3053 registering a global keygrab, actualy register it !
3054 don't wait for a timeout; doh !
3056 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
3057 to make it more readable / manipulable.
3058 s/grabmask/grab_mask/ s/refcount/ref_count/
3059 s/keyval/key_val/ s/modmask/mod_mask
3061 2002-01-08 Michael Meeks <michael@ximian.com>
3063 * registryd/deviceeventcontroller.c
3064 (spi_controller_register_with_devices): use gdk calls to
3066 (global_filter_fn): implement the filter.
3067 (spi_device_event_controller_check_key_event): rename to
3068 (spi_device_event_controller_forward_key_event): this & upd.
3069 (spi_get_display): replace with GDK_DISPLAY.
3071 * registryd/deviceeventcontroller.c
3072 (spi_controller_deregister_device_listener): unroll into
3073 (impl_deregister_keystroke_listener): here to simplify.
3074 (spi_controller_register_global_keygrabs): split cut and
3075 paste (!) out into (_register_keygrab): here, shorter & sweeter.
3076 (spi_controller_deregister_device_listener): remove.
3077 (impl_register_mouse_listener): remove, no mouse listener
3078 support in at-spi-1.0
3080 * registryd/registry.c
3081 (_device_event_controller_hook): kill.
3082 (spi_registry_init): upd.
3084 * registryd/deviceeventcontroller.c
3085 (spi_device_event_controller_class_init): upd.
3086 (spi_check_key_event): merge into.
3087 (spi_device_event_controller_check_key_event):
3088 here and kill strange static ev init, don't leak
3089 the x_event - nor dynamicaly allocate it.
3091 * registryd/registry-main.c (main): re-direct
3092 timeout to remove strange vtable mess.
3094 * registryd/deviceeventcontroller.c
3095 (remove_listener_cb): impl.
3096 (spi_controller_deregister_device_listener):
3097 fix re-enterancy hazard.
3099 2002-01-07 Michael Meeks <michael@ximian.com>
3101 * registryd/deviceeventcontroller.c
3102 (spi_device_event_controller_new): upd.
3103 (impl_notify_listeners_sync): upd. debug.
3104 (spi_notify_keylisteners): fix re-enterancy hazards,
3105 prettify, remove O(n*n) iteration.
3106 (spi_controller_grab_keyboard): fix iteration.
3107 (spi_check_key_event): re-format to suit coding style.
3108 Clean all the warnings - we're warning free.
3110 * registryd/deviceeventcontroller.h:
3111 * registryd/registry.h: make mutualy referential with
3112 typesafe forward references instead of (!) void pointer
3115 2002-01-11 Michael Meeks <michael@ximian.com>
3117 * cspi/spi_accessible.c (role_names): add a role name
3118 to sync this array with the enum; and make the regression
3121 2002-01-10 Michael Meeks <michael@ximian.com>
3123 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
3124 allow expansion of enumeration & kill warning.
3126 * test/test-simple.c (key_listener_cb): impl.
3127 (test_keylisteners): impl.
3129 * cspi/spi-listener.h: make listener signatures const
3130 on the provided (const) events.
3132 * test/keysynth-demo.c: upd. to const events.
3134 * test/simple-at.c: ditto.
3136 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3139 Rev the version to 0.5 (the previous tarball was named 0.4,
3140 even though the micro number was 3), so we need to rev upwards
3141 again for beta2/"desktop-alpha"
3144 Checked in a demo script, which requires editing before use!
3145 Proceed with caution.
3148 Fixed typo in header which was redefining SPI_ACTION_CLASS.
3150 * cspi/spi_accessible.c:
3151 Add a couple of missing enum initializations, and fix some enum
3154 * cspi/spi_registry.c:
3155 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
3157 * docs/reference/cspi/at-spi-cspi-sections.txt:
3158 Remove/fix a couple of broken document references.
3161 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
3162 as Alt-Control to listen for commands, since on some systems
3163 Control-Alt may already be grabbed.
3165 2002-01-10 Bill Haneman <bill.haneman@sun.com>
3168 Update version number to 0.4 for Beta2.
3170 * libspi/accessible.c, libspi/accessible.h:
3171 Expose spi_accessible_construct, to enable libgail-gnome
3172 construction from spi_accessible subtype.
3174 * utils/magnifier.c:
3175 Workaround for bug in some non-gnome-compliant window managers
3176 which made magnifier resize improperly.
3178 2002-01-09 Bill Haneman <bill.haneman@sun.com>
3180 * libspi/accessible.c: (spi_accessible_new) :
3181 Move the test for SPI_IS_REMOTE_OBJECT to
3182 spi_accessible_new_return, fixing a bug and compile time warning.
3184 2002-01-08 Michael Meeks <michael@ximian.com>
3186 * registryd/registry.c (parse_event_type): remove strndup.
3188 * libspi/Makefile.am (libspi_la_SOURCES): remove
3189 sources already included in the headers section.
3191 * libspi/util.c: add.
3193 * libspi/spi-private.h: add.
3195 * registryd/registry.c: update to moved list iterators.
3197 2002-01-05 Michael Meeks <michael@ximian.com>
3199 * test/simple-at.c (main): upd. auto-module set to atk-bridge
3201 * test/test-simple.c (main): ditto.
3203 2002-01-04 Michael Meeks <michael@ximian.com>
3205 * libspi/accessible.c (spi_accessible_new): remove 2nd,
3206 redundant construct.
3208 * registryd/registry.c
3209 (get_listener_list): impl.
3210 (impl_accessibility_registry_register_global_event_listener):
3211 re-impl. to simplify using ~, remove dodgy const cast off.
3212 (parse_event_type): constify.
3213 (impl_accessibility_registry_deregister_global_event_listener_all):
3214 re-write, more efficiency and simplicity, kill re-enterancy
3216 (compare_listener_corbaref, compare_corba_objects),
3217 (compare_listener_quarks): define out.
3218 (impl_accessibility_registry_deregister_global_event_listener):
3219 re-write for effiency, and nail re-enterancy hazard.
3220 (impl_accessibility_registry_get_desktop_list): impl.
3221 (re_enterant_list_delete_link): impl.
3222 (re_enterant_list_foreach): impl.
3223 (remove_listener_cb): impl.
3224 (_registry_notify_listeners): kill.
3225 (notify_listeners_cb): impl.
3227 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
3228 (SPI_getDesktopList): impl.
3230 * test/test-simple.c (test_desktop): test the methods.
3232 2002-01-03 Michael Meeks <michael@ximian.com>
3234 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
3235 keystrings since we free them
3236 (SPI_freeAccessibleKeySet): in here.
3238 * libspi/accessible.c (spi_accessible_new): kill warning,
3239 wonder what is going on with the constructor here.
3241 2002-03-01 Bill Haneman <bill.haneman@sun.com>
3243 * libspi/accessible.c (spi_accessible_new ()) :
3244 Added check to see if AtkObject is an SpiRemoteObject before
3245 creating an SpiAccessible.
3247 2002-05-01 Bill Haneman <bill.haneman@sun.com>
3249 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
3250 Enable keygrabs using the Control modifier, now that they are
3251 working properly (they were previously disabled).
3254 Change the command keygrab for this demo to "Control+Alt", so as
3255 to conflict with fewer other key commands on the system; this
3256 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
3258 Removed a pointlessly-chatty keylistener for unshifted keys
3259 (shifted keys are still reported).
3261 2002-02-01 Bill Haneman <bill.haneman@sun.com>
3263 * libspi/remoteobject.h:
3264 * libspi/remoteobject.c:
3265 Added definitions for special AtkObject subtype, required for
3266 support of remote components (specifically, used by BonoboControl
3267 accessibility implementation).
3269 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
3271 * cspi/spi.h: synched relation types with ATK
3273 * cspi/spi_accessible.c: Added implementations of
3274 AcccessibleRelation_* methods
3276 * idl/Accessibility_Relation.idl: added getRelationTypeName
3277 method. Synched known relation types with ATK. Allowed for
3278 relation type extension with the RELATION_EXTENDED type.
3280 * libspi/relation.c: Provided implementations for
3281 AccessibleRelation methods.
3283 2002-01-01 Bill Haneman <bill.haneman@sun.com>
3285 API tweaks for today's API 'freeze'.
3288 Added placeholder functions to allow future compatible expansion
3289 of the IDL interfaces.
3291 * idl/Accessibility_Registry.idl:
3292 Changed generateKeyEvent to generateKeyboardEvent. Changed
3293 signature of this method to accept an optional keystring in
3294 parameter (for complex text input synthesis) and changed use of
3295 simple 'boolean' parameter in registerKeystrokeListener to a
3296 struct, EventListenerMode.
3298 * cspi/spi_accessible.c:
3300 * cspi/spi_streamablecontent.c:
3301 Added references to AccessibleStreamableContent interface, and
3302 definition and implementation of AccessibleStreamableContent
3305 * cspi/spi_registry.c:
3307 Changed generateKeyEvent API to generateKeyboardEvent,
3308 taking a new (optional) keystring parameter to support complex
3313 Renamed directory (to better reflect its actual purpose, bridging
3314 from at-spi to ATK). The .so module is also now named
3317 * idl/Accessibility_Hypertext.idl:
3318 * libspi/accessible.c:
3319 * libspi/hypertext.h:
3320 * libspi/hypertext.c:
3321 Changed Accessibility_Hypertext to *not* derive from
3324 * cspi/spi_registry.c:
3325 Added list of legal event type names for 'window' events, which
3326 completes the registry event API.
3328 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
3330 * at-bridge/bridge.c: Added registration for separate
3331 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
3332 signals. If either of the first two parameters to the generic
3333 bridge signal handler are ints, they are passed on as event
3334 details. This allows an AT to determine what text was inserted.
3336 2001-12-21 Bill Haneman <bill.haneman@sun.com>
3338 * registryd/deviceeventcontroller.c:
3339 Fixed regressions in generateKeyEvent caused by the removal of
3340 gdk_init from registryd; we now use pure X calls to connect to the
3341 display, which makes sense because deviceeventcontroller already
3342 uses a fair bit of X API (should eventually be migrated to a
3343 'portability layer').
3345 * registryd/desktop.c:
3346 Fixed minor regression in spi_desktop_init, changed the way the
3347 desktop name is being set to work with new spi_base API
3348 (gobject-based, rather than AtkObject-based).
3350 * registryd/Makefile.am:
3351 Minor revision of makefile to use XTST_LIBS variable rather than
3352 hard-wiring the Xtst LD_ADD element.
3354 * test/keysynth-demo.c:
3355 Tweaked an output message; added initialization of the
3356 'keystrings' member of the "switch listener" key_set.
3358 * libspi/relation.c:
3359 Squashed compile-time warning.
3361 * libspi/accessible.c:
3362 Cosmetic and formatting fixes, renamed a static method.
3364 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
3366 * libspi/accessible.c
3368 * libspi/application.c
3371 * libspi/component.c
3372 * libspi/editabletext.c
3373 * libspi/hyperlink.c
3374 * libspi/hypertext.c
3376 * libspi/selection.c
3380 * registryd/desktop.c:
3381 Changed SpiBase to contain a GObject pointer rather than an AtkObject
3383 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3385 * idl/Accessibility_Registry.idl:
3386 Added boolean member 'is_text' to DeviceEvent. This is for the
3387 use of key events, and helps prevent ambiguity between composed
3388 key strings and keysym names, since both may potentially be
3389 returned in the 'event_string' member.
3391 * at-bridge/bridge.c:
3392 * registryd/deviceeventcontroller.c:
3393 Use the 'is_text' member when notifying device event listeners.
3394 Knon issue: composed characters are not dealt with correctly by
3395 the global key listener implementation yet.
3397 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3399 * at-bridge/bridge.c:
3400 Namespaced local static methods to spi_atk_bridge_* where
3401 previously named bridge_*, and spi_* elsewhere.
3403 * at-bridge/bridge.c:
3404 * cspi/bonobo/cspi-bonobo-listener.c:
3405 Added demarshalling/conversion for string member of
3406 Accessibility_DeviceEvent to AccessibleKeystroke.
3408 * registryd/deviceeventcontroller.c:
3409 Added code to fill the Accessibility_DeviceEvent key string value
3410 member for global key events (i.e. from XGrabKey), to match
3411 behavior of Accessibility_DeviceEvent from the toolkit key events
3412 from the bridge. Fixed timestamp in global key event notifications.
3415 Added printout of key event's string value to
3416 report_ordinary_key_event, for demo/debugging purposes.
3418 2001-12-15 Bill Haneman <bill.haneman@sun.com>
3420 * idl/Accessibility_Registry.idl:
3421 Removed Accessibility_KeyStroke structure in favor of generic
3422 Accessibility_DeviceEvent structure.
3423 Changed Accessibility_ControllerEventMask from a struct to an
3426 * at-bridge/bridge.c:
3427 Changed APIs to use DeviceEvent structure as above, and removed
3428 bogus casting between these event structures.
3430 * cspi/spi-listener.h:
3431 Added keystring member of AccessibleKeystroke structure, to enable
3432 matching on event "names" rather than only hardware codes and
3436 Added keystrings member of AccessibleKeySet struct, to allow
3437 matching on event names (as above).
3438 Added declarations for SPI_createAccessibleKeySet and
3439 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
3440 event modmasks directly as unsigned ints rather than structs with
3441 refcounts, in the DeviceEventController methods.
3443 * cspi/spi_registry.c:
3444 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
3446 * cspi/spi-roletypes.h:
3447 Added documentation of newly added SPI Roles.
3449 * cspi/bonobo/cspi-bonobo-listener.c:
3450 Changes in support of API changes above.
3452 * libspi/accessible.c:
3453 Converted APIs to use DeviceEvent structure (see IDL changes
3456 * registryd/deviceeventcontroller.c:
3457 Added DEControllerGrabMask structure to track keygrabs not only by
3458 modmask but by keyset as well; this allows us to do "global"
3459 (i.e. X) keygrabs on a per-key or keyset basis rather than always
3460 grabbing on AnyKey and then filtering after-the-fact.
3461 Bugfixes for event filtration mean that we don't get false matches
3462 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
3464 * registryd/deviceeventcontroller.c:
3465 Namespaced a number of static methods to use spi_ prefix. Major
3466 revision to internals of global (i.e. X) key grabs.
3468 * registryd/deviceeventcontroller.h:
3469 Removed keymask_list and added keygrabs_list to
3470 SpiDeviceEventController struct.
3473 Added use of SPI_createAccessibleKeySet API when creating a
3474 listener for only one key. Attach a listener to "shift spacebar
3475 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
3476 X key event names to SPI key event names, so that listeners are
3477 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
3479 * test/keysynth-demo.c:
3480 Changed (incorrect) use of X key event names (KeyPressed,
3481 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
3484 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3486 * libspi/accessible.c:
3487 Convert all AtkRole enumerations to Accessibility_Role enums when
3488 getting a role from an AtkObject.
3490 * cspi/spi_accessible.c:
3491 Complete the conversion of Accessibility_Role enums at runtime to
3492 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
3493 role enums correctly match those given in spi-roletypes.h.
3494 Re-synchronize the local names list for AccessibleRole_getName ().
3495 AccessibleRole_getName is now deprecated, since it duplicates the
3496 more reliable Accessible_getRoleName.
3497 Added some role types from Accessibility_Role.idl.
3499 * idl/Accessibility_Role.idl:
3500 Added some role types used by AtkRole.
3502 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3505 * cspi/spi_registry.c:
3507 * cspi/cspi-bonobo-listener.c:
3508 Namespaced all methods that did not begin with an "SPI_" or
3509 "Accessible" prefix to "SPI_".
3512 Homogenized internal function namespace to "cspi_" for statics.
3515 Patched tests to use the new CSPI API.
3517 * docs/reference/cspi/at-spi-cspi-sections.txt:
3518 Updated docs to reflect namespace changes, and added a number of
3519 methods to the documentation.
3521 * registryd/registry.c:
3522 Changed use of strings and string hashes in listener event
3523 matching and parse_event_string to use GQuark, which is guaranteed
3526 * registryd/registry.h:
3527 Squashed annoying warning.
3529 * idl/Accessibility_Role.idl:
3530 Extended range of available Accessibility_Role values.
3532 * cspi/spi_accessible.c:
3533 Re-ordered role names.
3535 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3537 * idl/Accessibility_Value.idl:
3538 Revert use of union back to CORBA_double, since the double type is
3539 more efficient and can contain the other types without loss of
3542 * idl/Accessibility_Accessible.idl:
3543 Added method Accessibility:Accessible:getRoleName, to complement
3544 Accessibility:Accessible:getRole.
3546 * cspi/spi_accessible.c:
3548 Added C binding for above, Accessible_getRoleName (), and changed
3549 signature of Accessible_getRole () to return an AccessibleRole.
3551 * cspi/spi-roletypes.h:
3552 Changed AccessibleRole_getName to return a char * instead of a
3553 const char *. This method is now at least temporarily deprecated
3554 in favor of asking Accessibles for their RoleNames directly.
3557 Revert to match Accessibility_Value.idl;
3561 Change signature of AccessibleValue methods to use double rather
3565 * cspi/spi_accessible.c:
3566 Changed Accessible_getRole to return an AccessibleRole enum rather
3567 than a UTF-8 string. The UTF-8 string can still be obtained via
3568 AccessibleRole_getName ().
3570 * test/test-simple.c:
3571 Add test_action. Small fixup to match API change to Accessible_getRole.
3574 Bugfix for get_action_from_servant ().
3576 2001-12-11 Michael Meeks <michael@ximian.com>
3578 * libspi/libspi.h: remove registry.h and
3579 desktop.h, deviceeventcontroller.h
3581 * libspi/Makefile.am: remove registry.[ch],
3582 desktop.[ch], deviceeventcontroller.[ch]
3584 * registryd/Makefile.am: add registry.[ch],
3585 desktop.[ch], rename registryd.c to registry-main.c.
3586 add deviceeventcontroller.[ch]
3588 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3591 Replace setenv() call with putenv ().
3593 * libspi/component.c:
3594 Bugfix in AccessibleComponent_getExtents (),
3597 2001-12-11 Michael Meeks <michael@ximian.com>
3599 * libspi/image.c (impl_getImageExtents): impl.
3600 (spi_image_class_init): upd.
3603 (AccessibleImage_getImageDescription): fix daft bug
3606 * test/test-simple.c (global_listener_cb): update
3607 to only quit if not --poke
3608 (main): catch --poke.
3609 (validate_accessible): upd. dumping, call test_image
3612 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
3615 * idl/Accessibility.idl: update all IDL includes.
3617 * idl/*.idl - rename to namespace - this sucks, blame
3618 mjs' bad decision for oafd.
3620 * test/test-simple.c (create_test_window): add more tests.
3621 (create_tree): split this out.
3622 (validate_accessible): bugfix.
3624 2001-12-11 Michael Meeks <michael@ximian.com>
3626 * cspi/bonobo/cspi-bonobo-listener.c:
3627 (cspi_kestroke_listener_unref),
3628 (cspi_event_listener_unref): impl. undoing previous
3629 homenous environment - for Bill.
3631 * cspi/spi_table.c (long_seq_to_array): use
3634 * cspi/spi_main.c: split out all bonoboish bits into
3637 * cspi/spi-impl.h: upd. typedefs.
3639 * cspi/spi_registry.c: update to lowlevel API,
3640 return booleans to indicate success in some places.
3642 * cspi/spi_event.c: update to lowlevel API.
3644 * cspi/bonobo/Makefile.am: add.
3646 * cspi/bonobo/cspi-lowlevel.h: add
3648 * cspi/bonobo/cspi-bonobo.c: add
3650 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
3652 * cspi/Makefile.am: remove spi-listener-impl.[ch],
3653 (SUBDIRS): add bonobo, link in the libs.
3655 * cspi/spi-util.c: kill this file.
3657 * TODO: merge in my bits.
3659 2001-12-11 Michael Meeks <michael@ximian.com>
3661 * test/test-simple.c (test_value, test_table, main):
3662 remove unused variables causing warnings.
3664 * configure.in: cleanup checks - require gail.
3666 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3669 Changed Value interface to use SValue (scalars) rather than
3670 assuming all values are floats. This allows floats, doubles,
3671 longs, shorts, and unsigned values to be manipulated.
3672 Introduced Accessibility:SValue union.
3675 Updated to use new API above, and to work correctly with GValues
3676 of different types in AtkValue.
3679 Updated to use new API above. cspi's API is as yet unchanged.
3682 Updated the Value revision action item.
3684 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3686 * test/test-simple.c:
3687 Added test_table (GtkTreeView widget in test window to follow).
3688 Un-commented test_value, added GtkRange widget.
3689 Added GtkTreeView widget with GtkListStore. It passes regression
3690 test but leaks one SPI object for some reason.
3693 Fixed bug in impl__set_currentValue.
3695 2001-12-10 Michael Meeks <michael@ximian.com>
3697 * cspi/spi_text.c: audit for exception handling,
3698 tolerating NULL object references safely etc.
3700 * cspi/spi_value.c: ditto.
3702 * cspi/spi_table.c (AccessibleTable_getSummary),
3703 (AccessibleTable_getAccessibleAt),
3704 (AccessibleTable_getRowHeader),
3705 (AccessibleTable_getColumnHeader),
3706 (AccessibleTable_getCaption): fix bugs hidden by
3708 (long_seq_to_array): impl.
3709 (AccessibleTable_getSelectedRows),
3710 (AccessibleTable_getSelectedColumns): use it.
3712 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3715 Added a TODO list (rough and short for now).
3717 * cspi/spi_hyperlink.c:
3718 * cspi/spi_hypertext.c:
3719 Fixed macro name typos, and remove use of obsolete macro in
3720 AccessibleHyperlink_getLink.
3722 * cspi/spi_action.c:
3723 * cspi/spi_accessible.c:
3724 * cspi/spi_application.c:
3725 * cspi/spi_component.c:
3726 * cspi/spi_selection.c:
3729 Documentation fixes (removed return values from ref/unref methods).
3731 2001-12-10 Michael Meeks <michael@ximian.com>
3733 * cspi/spi_action.c: audit for exception handling,
3734 tolerating NULL object references safely etc.
3736 * cspi/spi_accessible.c: ditto.
3738 * cspi/spi_component.c: ditto.
3740 * cspi/spi_editabletext.c: ditto.
3742 * cspi/spi_hyperlink.c: ditto.
3744 * cspi/spi_hypertext.c: ditto.
3746 * cspi/spi_image.c: ditto.
3748 * cspi/spi_selection.c: ditto.
3750 2001-12-10 Michael Meeks <michael@ximian.com>
3752 * configure.in: use cspi/libspi.pc.in instead.
3754 * Makefile.am (pkgconfig_DATA): upd. to match.
3756 * test/simple-at.c (report_focus_event): kill hacks around
3757 bad return values, use putenv not setenv
3759 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
3760 fire ChildGone - I killed it.
3762 * libspi/component.c
3763 (impl_accessibility_component_get_extents): remove
3766 * idl/Accessible.idl: kill ChildGone exception.
3768 * cspi/*.[ch]: kill int return from ref / unref.
3770 * cspi/spi_main.c (cspi_object_add_check): fold into
3771 (cspi_object_add): here.
3773 * cspi/spi_component.c (AccessibleComponent_getExtents):
3774 handle exceptions elegantly.
3776 * cspi/spi-private.h (cspi_check_ev_return),
3777 (cspi_return_if_fail): impl.
3779 * cspi/spi_accessible.c: use extensively.
3780 (AccessibleStateSet_equals): add direct compare check.
3782 * cspi/spi_selection.c: tolerate NULL objs, and check
3783 exceptions before return.
3785 * cspi/spi-util.c (cspi_warn_ev): rename to
3786 (cspi_check_ev): this & don't pass ev in; no point.
3788 2001-12-10 Michael Meeks <michael@ximian.com>
3790 * test/test-simple.c: use putenv not setenv
3791 (get_environment_vars): more chatty if you're not using
3794 * test/simple-at.c: do the setenv so more people see the
3797 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3799 * libspi/registry.c:
3800 Changed check of CORBA_environment on notification to be a warning
3801 instead of an error for the moment, since we can recover from this
3802 error when caused by a queued notification from a dead app.
3805 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
3806 used by all current implementors of AtkValue), and coerce to
3807 CORBA_float. (Proper general case fix may require change to Value.idl).
3809 2001-12-09 Bill Haneman <bill.haneman@sun.com>
3813 * cspi/spi_accessible.c:
3814 Documentation fixes: added user_data params to documentation for
3815 listeners and callbacks.
3817 * cspi/spi_accessible.c:
3818 Changed AccessibleStateSet_compare to return a
3819 StateSet rather than return the difference set into a third parameter.
3822 2001-12-09 Bill Haneman <bill.haneman@sun.com>
3825 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
3826 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
3830 Remove subdirectory po from SUBDIRS for now.
3832 * at-bridge/bridge.c:
3833 Beefed up a couple of debug printouts.
3834 One-line fix for signal notification name formatting.
3836 * libspi/accessible.c:
3837 Added assertion to spi_accessible_new ().
3839 * libspi/application.c:
3840 Put #ifdef qualifiers around a printf.
3843 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
3845 * registryd/Makefile.am:
3847 Replaces use of XML_I18N_MERGE_SERVER_RULE with
3848 INTLTOOL_SERVER_RULE macro.
3851 Added an event listener for several ATK signals, for
3852 testing and debugging. Removed a few g_warnings.
3853 Added test output if focussed item implements the Value interface.
3855 * test/test-simple.c:
3856 Added test_value () function (known not to pass at the moment, so
3857 not actually called yet.
3859 2001-12-08 Michael Meeks <michael@ximian.com>
3861 * at-bridge/bridge.c (bridge_focus_tracker),
3862 (emit_eventv): fix the same ref. leak.
3863 (register_atk_event_listeners): don't leak.
3865 * cspi/spi-listener-impl.c (cspi_event): more
3866 protection from client code.
3868 * test/test-simple.c (test_desktop): unref the app.
3870 * test/Makefile.am: upd. TESTS.
3872 * at-bridge/bridge.c (bridge_exit_func): release the registry.
3874 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
3876 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
3878 * cspi/spi_registry.c: constify in strings.
3879 (deregisterGlobalEventListenerAll): don't release the ref.
3881 * cspi/spi.h: start removing redundant / conflicting
3882 gtkdoc comments, making the API readable at a glance :-)
3884 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
3886 * test/keysynth-demo.c (keysynth_exit, main): upd.
3888 * test/simple-at.c (main, simple_at_exit): upd.
3890 * test/test-simple.c (unutterable_horror): kill.
3891 (utterable_normal_derefs): kill.
3892 (main): upd & do a setenv before gtk_init, so that we
3893 can use memprof - and to save the pain of remembering
3894 this, if we're running under memprof - don't exit.
3896 * cspi/spi_main.c (SPI_exit): return exit status
3898 (SPI_event_quit): impl.
3899 (SPI_event_main): simplify.
3900 (cspi_is_gnome_app): kill.
3901 (SPI_init): kill isGNOMEapp arg.
3903 * at-bridge/bridge.c (register_atk_event_listeners):
3904 re-instate the unref.
3905 (bridge_exit_func): don't re-activate the registry,
3906 protect vs. theoretical re-entry, use the
3907 AT_BRIDGE_SHUTDOWN env. var to determine whether to
3908 assert a clean shutdown - for regression tests.
3910 2001-12-08 Abel Cheung <maddog@linux.org.hk>
3912 * configure.in: Comment out dummy i18n support for now,
3913 otherwise it fails to build.
3914 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
3915 EXTRA_DIST. They are missing in tarball.
3917 2001-12-07 Michael Meeks <michael@ximian.com>
3919 * util/magnifier.c: kill bonobo activation reg. race.
3921 * libspi/component.c
3922 (impl_accessibility_component_get_extents): make it match
3925 * libspi/registry.c (_registry_notify_listeners):
3926 re-remove X headers & reconcile conflicts.
3927 (spi_listener_struct_free): bad conflict resolve.
3928 (impl_accessibility_registry_register_application):
3929 more bad merging fixed.
3930 (impl_accessibility_registry_deregister_application): ditto.
3931 (spi_registry_new): ditto.
3932 (spi_registry_init): don't have an applications field.
3934 [ merge fixups2 branch to here ]
3935 2001-12-07 Michael Meeks <michael@ximian.com>
3937 * test/simple-at.c (report_focus_event),
3938 (report_focussed_accessible): remove g_warning debug.
3940 2001-12-07 Michael Meeks <michael@ximian.com>
3942 * test/test-simple.c (validate_tree): comment out some checks.
3943 (test_desktop): app now not registered idly - horay.
3945 2001-12-07 Michael Meeks <michael@ximian.com>
3947 * cspi/spi_registry.c
3948 (registerAccessibleKeystrokeListener): clean, stop it leaking
3949 great swathes of memory, and device event controller references.
3950 ensure we always pass valid sequences.
3951 (deregisterAccessibleKeystrokeListener): ditto.
3952 (generateKeyEvent): upd.
3954 * at-bridge/bridge.c (bridge_key_listener): handle
3955 registry dead exception gracefully.
3956 (bridge_focus_tracker, emit_eventv): free ev.
3958 * test/simple-at.c (report_focus_event): fix polarity.
3960 * libspi/application.c (notify_listeners): kill the ev
3961 argument, and make sure we init the ev we use.
3962 (spi_application_object_event_listener): split out a chunk
3963 (get_atk_object_ref): here & fixup.
3964 (reverse_lookup_name_for_toolkit_event): make const.
3965 (spi_application_toolkit_event_listener): fixup, kill leaks
3968 * at-bridge/bridge.c (register_atk_event_listeners):
3969 don't unref the noop object - causes grief.
3971 * libspi/registry.c: remove the X headers.
3972 turn off the debug churn.
3974 * libspi/accessible.c (spi_accessible_new_return): only
3975 release the ref if we are supposed to [doh]
3977 * test/simple-at.c (report_button_press, report_focus_event):
3978 guard vs. unexpected exit.
3980 * at-bridge/bridge.c (gtk_module_init): prune printf.
3981 (bridge_exit_func): fix app unref.
3983 * libspi/Makefile.am: don't install registry or desktop.h
3985 * libspi/*.h: update includes.
3987 * libspi/application.h: don't include ourself, or
3988 other redundant headers.
3990 2001-12-06 Michael Meeks <michael@ximian.com>
3992 * libspi/accessible.c
3993 (get_accessible_from_servant): impl.
3994 Upd. all CORBA impl.s to use it killing cut and paste.
3996 * cspi/spi_main.c (cspi_cleanup): guard vs. double
3998 (SPI_init): register atexit cleanup handler here.
4000 2001-12-06 Michael Meeks <michael@ximian.com>
4002 * at-bridge/bridge.c (gtk_module_init): g_error on
4003 activation exception
4005 2001-12-06 Michael Meeks <michael@ximian.com>
4007 * at-bridge/bridge.c (gtk_module_init): some sort of
4008 confusing merge clash - reverted.
4009 (bridge_idle_init): ditto.
4011 * test/test-simple.c (main, utterable_normal_derefs):
4012 merge from Bill - somehow not committed.
4014 2001-12-06 Michael Meeks <michael@ximian.com>
4016 * libspi/value.c (spi_value_class_init): upd.
4017 (spi_value_finalize): kill.
4019 * libspi/table.c (spi_table_finalize): kill.
4020 (spi_table_interface_new): upd.
4021 (spi_table_class_init): upd.
4022 (get_table_from_servant): impl.
4023 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4025 * libspi/selection.c (spi_selection_finalize): kill.
4026 (spi_selection_interface_new): upd.
4027 (spi_selection_class_init): upd.
4028 (get_selection_from_servant): impl.
4029 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4031 * libspi/relation.c (spi_relation_finalize): kill.
4032 (spi_relation_class_init, spi_relation_new): upd
4034 * libspi/image.c (spi_image_finalize): kill.
4035 (spi_image_class_init): upd.
4036 (spi_image_interface_new): upd.
4037 (get_image_from_servant): impl.
4038 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4040 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
4041 (spi_hyperlink_finalize): kill.
4042 (spi_hyperlink_new): upd.
4043 (get_hyperlink_from_servant): impl.
4044 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4046 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
4047 (spi_hypertext_finalize): kill.
4048 (spi_hypertext_class_init): upd.
4049 (get_hypertext_from_servant): impl.
4050 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4052 * libspi/editabletext.c (spi_editable_text_finalize): kill.
4053 (spi_editable_text_interface_new): upd.
4054 (get_editable_text_from_servant): impl.
4055 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4057 * libspi/text.c (get_text_from_servant): impl.
4058 All impls - update to use it killing more cut and paste,
4059 also fix bad string returns on duff args ( a somewhat
4060 impossible case to handle - but hey ).
4061 (spi_text_construct): impl.
4062 (spi_text_interface_new): upd.
4063 (spi_text_object_finalize): kill.
4065 * libspi/component.c
4066 (accessibility_component_object_finalize): kill.
4067 (spi_component_class_init): upd.
4068 (get_component_from_servant): impl. helper to kill cut & paste.
4069 (impl_accessibility_component_contains):
4070 (impl_accessibility_component_get_accessible_at_point):
4071 (impl_accessibility_component_get_position):
4072 (impl_accessibility_component_get_extents):
4073 (impl_accessibility_component_get_mdi_z_order):
4074 (impl_accessibility_component_get_layer):
4075 (spi_component_interface_new): upd.
4077 * libspi/action.c (spi_action_finalize): kill.
4078 (spi_action_class_init): upd. inherit from SpiObject.
4079 (spi_action_interface_new): upd.
4080 (get_action_from_servant): impl. helper to reduce cut & paste.
4081 (impl_getKeyBinding, impl_getName, impl_doAction),
4082 (impl_getDescription): Use it everywhere.
4084 * cspi/spi_main.c (get_live_refs): a pointer hash.
4085 (spi_object_hash, spi_object_equal): comment out.
4086 There are issues with CORBA object hashing that need
4089 * libspi/application.c (spi_application_init),
4090 (spi_application_new): upd.
4092 * libspi/accessible.c (spi_accessible_object_finalize): kill.
4093 (spi_accessible_class_init): upd.
4094 s/accessible/object/ in epv methods.
4096 2001-12-05 Bill Haneman <bill.haneman@sun.com>
4098 * at-bridge/bridge.c:
4099 Reorder the bridge initialization into the bridge gtk_module_init,
4100 an immediate call to bridge_register_app, and an idle_add for
4101 register_atk_event_listeners (the only code that *must* wait until
4102 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
4103 the activation, creates the application's Accessible object, and
4104 queues the bridge_idle_init function. Restored call to
4105 Accessibility_Registry_deregisterApplication().
4106 Prior to making this call we obtain a new reference to the
4107 registry, which is a temporary hack that helps us handle apps that
4108 shut down the bonobo mainloop before we get there.
4110 * libspi/registry.c:
4111 Fix string leakage in debug block, and don't segv if a an app
4112 dies before its event notifications have been propagated.
4115 Modify cspi_check_ev() to call g_warning() rather than g_error(),
4116 as stopgap measure until we get proper exception handling when
4117 objects die during or before interrogation.
4121 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
4122 Also changed default value of is_gnome_app to TRUE.
4125 * test/keysynth-demo.c:
4126 Changed use of SPI_init and SPI_event_main to reflect API change above.
4129 Made report_focus_event check the warning value from getName
4130 before reporting on focussed accessible; simplifies handling of
4131 notifications from dead objects.
4133 * test/test-simple.c: (Changes not in this patch since source is
4136 2001-12-05 Michael Meeks <michael@ximian.com>
4138 * registryd/registryd.c (main): protect against
4139 bonobo-activation startup race condition.
4141 * cspi/spi_main.c (cspi_object_add_check): cope
4142 with the exception elegantly.
4144 * idl/Accessible.idl: decl. ChildGone
4146 * libspi/desktop.c (spi_desktop_dispose): impl.
4147 (spi_desktop_class_init): upd.
4148 (spi_desktop_add_application),
4149 (spi_desktop_remove_application),
4150 (abnormal_application_termination): impl.
4151 (impl_desktop_get_child_at_index): re-impl.
4154 (impl_accessibility_registry_deregister_application),
4155 (impl_accessibility_registry_register_application):
4156 kill excessive debug clutter.
4158 * test/test-simple.c (test_misc): test some NULL
4159 tolerance. (main): upd.
4161 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
4162 implements no interfaces - so let's not crash.
4164 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
4166 * libspi/accessible.c (spi_accessible_new_return): impl.
4167 helper to calm the cut and paste, to cope with
4168 NULL AtkObjects effectively and efficiently, and to kill
4169 the referencing bugs.
4171 * libspi/table.c (impl_getAccessibleAt),
4172 (impl_getRowHeader, impl_getColumnHeader): upd.
4174 * libspi/hyperlink.c (impl_getObject): upd.
4176 * libspi/accessible.c
4177 (impl_accessibility_accessible_get_child_at_index): upd.
4179 * libspi/component.c
4180 (impl_accessibility_component_get_accessible_at_point): upd.
4182 * test/test-simple.c (test_editable_text, test_text): impl.
4185 * cspi/spi_editabletext.c
4186 (AccessibleEditableText_insertText): constify.
4188 * test/test-simple.c (focus_me): make more robust.
4190 * libspi/accessible.c: remove some printfs in methods that
4191 we test and work fine, so we can get a clean tree dump.
4193 * test/test-simple.c (validate_accessible),
4194 (validate_tree): make tree dumping pretty too.
4196 * at-bridge/bridge.c (bridge_signal_listener): upd. so
4197 it builds without debug on.
4199 * test/test-simple.c (validate_accessible): fix the most
4202 * cspi/spi_main.c (spi_object_release): leave the nicely
4203 blanked memory around if in debug mode.
4205 * cspi/spi-listener-impl.c (cspi_event): use add_check.
4207 [committed to fixups2]
4208 2001-12-05 Michael Meeks <michael@ximian.com>
4210 * libspi/editabletext.c
4211 (spi_editable_text_class_init): g_type_class_peek_parent,
4212 not interface peek - so we finalize cleanly.
4214 * libspi/accessible.c (spi_accessible_new): kill debug.
4216 * test/test-simple.c (validate_accessible): fix ref.
4217 leak, print strings before freeing them; sigh, comment a
4218 chunk out due to strangeness.
4219 (validate_tree): unref the child after use.
4221 * cspi/spi_component.c (AccessibleComponent_getLayer):
4222 add missing break statement, switch on zlayer not the
4223 uninitialized retval.
4225 * cspi/spi_main.c (cspi_object_add): add assert, local ref
4226 before (possibly re-entering) remote unref.
4228 * test/simple-at.c (main): unref the desktop.
4230 * cspi/spi_accessible.c (cspi_accessible_is_a): move
4233 * cspi/spi_main.c (cspi_accessible_is_a): here to
4234 isolate bonobo API usage more.
4236 * libspi/registry.c (impl_accessibility_registry_register_application):
4237 prune bogus comment.
4239 2001-12-04 Michael Meeks <michael@ximian.com>
4241 * test/test-simple.c (validate_tree): upd.
4242 IndexInParent check to make it more lucid.
4243 (validate_accessible): dump the tree.
4245 * libspi/accessible.c (de_register_public_ref),
4246 (get_public_refs): impl.
4247 (spi_accessible_new): make more efficient & intuitive.
4248 Now IndexInParent check works.
4250 2001-12-04 Michael Meeks <michael@ximian.com>
4252 * cspi/spi-util.h: remove.
4254 * cspi/spi.h: move SPI_freeString here
4256 * libspi/component.c (impl_accessibility_component_get_layer):
4258 (impl_accessibility_component_get_mdi_z_order): ditto,
4259 return -1 on error - is this ok ?
4261 * test/test-simple.c (test_application): impl.
4263 * cspi/spi_accessible.c (Accessible_getApplication),
4264 (Accessible_isApplication): impl.
4266 * libspi/registry.c (spi_listener_struct_free): release
4267 the CORBA reference too.
4269 * libspi/accessible.c
4270 (impl_accessibility_accessible_get_parent): fix ref leak.
4272 * libspi/registry.c (spi_registry_new): make the registry
4273 immortal - we don't want it to go away ever.
4275 * libspi/application.c
4276 (spi_accessible_application_finalize): impl. cleanup.
4278 * cspi/spi_registry.c
4279 (deregisterGlobalEventListenerAll),
4280 (deregisterGlobalEventListener),
4281 (deregisterAccessibleKeystrokeListener): fix ref leak.
4283 * cspi/spi_main.c (SPI_init): remove redundant ref.
4285 * test/test-simple.c (unutterable_horror): impl. to force a
4290 (impl_accessibility_registry_deregister_application): release
4291 the application when we de-register it.
4293 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
4294 until we have the infastructure to get it right.
4296 2001-12-03 Michael Meeks <michael@ximian.com>
4298 * libspi/Makefile.am: only build eventlistener.[ch]
4300 * libspi/accessible.c
4301 (impl_accessibility_accessible_get_child_at_index): don't leak.
4303 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
4304 before we hit the idle handler.
4306 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
4307 debugging than exit.
4309 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
4311 * libspi/listener.c (impl_notify_event): check source
4312 not NIL before unref.
4314 * libspi/registry.c (impl_registry_notify_event): ditto.
4316 * libspi/eventlistener.c
4317 (impl_accessible_event_notify_event): unref the source.
4319 * libspi/accessibleeventlistener.c
4320 (impl_accessible_event_notify_event): unref the source.
4322 * idl/Event.idl: remove 'hash_id' attribute - of no
4325 * libspi/application.c (notify_listeners): upd list
4327 (spi_application_object_event_listener),
4328 (spi_application_toolkit_event_listener): upd to do correct
4332 (_registry_notify_listeners): update.
4333 (parse_event_type): this method also leaks like a sieve.
4334 (impl_accessibility_registry_deregister_global_event_listener):
4335 fix ETYPE_WINDOW case.
4337 * libspi/application.c
4338 (impl_accessibility_application_register_object_event_listener):
4341 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
4343 * libspi/hypertext.c (impl_getLink): ditto.
4345 * cspi/spi_main.c (cspi_object_add): remove
4346 bogus CORBA_Object_duplicate.
4348 * cspi/spi-listener-impl.c (cspi_event): dup/ref
4351 * cspi/spi_accessible.c
4352 (Accessible_getRelationSet): fix leak / referencing issue.
4354 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
4355 (cspi_object_add, cspi_object_unref): upd.
4356 (spi_object_release, get_live_refs): impl.
4357 (cspi_cleanup): simplify.
4359 * *.[ch]: s/boolean/SpiBoolean/
4361 * cspi/spi_accessible.c (role_names): actualy order so it
4362 corresponds with the enum !
4364 * test/test-simple.c (test_roles): check some role strings
4365 vs. enums to detect offset errors.
4367 2001-12-01 Michael Meeks <michael@ximian.com>
4369 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
4371 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
4373 (Accessible_getChildAtIndex): use cspi_add_check so we
4374 check the ev before using a (possibly) invalid value.
4376 * libspi/accessible.c
4377 (impl_accessibility_accessible_get_parent): don't segv
4380 * at-bridge/bridge.c (gtk_module_init): upd.
4381 (bridge_property_event_listener): don't leak strings
4383 (bridge_state_event_listener),
4384 (bridge_property_event_listener): don't use a static
4385 buffer in case of recursive event emission &
4386 re-enterancy - split out the swathe of cut and paste
4388 (emit_eventv): and fix 2 ref leaks here & comply to the
4390 (bridge_register_app): rename to
4391 (bridge_idle_init): this and kill arg parsing, split
4392 various inits & bonobo-activation registration to module
4393 init time, kill referencing error.
4394 (bridge_exit_func): fix the same leak.
4395 (bridge_focus_tracker): don't leak event structures
4397 (bridge_signal_listener): more leakage and cut & paste
4399 (bridge_key_listener): return the result - FIXME is
4400 this polarity correct ?
4401 (accessibility_keystroke_from_atk_key_event): rename
4402 (accessibility_init_keystroke_from_atk_key_event): and stop
4404 (gtk_module_init): return a value - not that it is checked by
4406 (bridge_key_listener): register my horror at casting between
4407 IDL defined structs.
4408 (bridge_get_registry): kill - not used.
4410 * cspi/spi_accessible.c (Accessible_getRole): make return const.
4412 * test/test-simple.c (test_roles): impl.
4413 (test_desktop, validate_accessible, validate_tree): impl.
4415 * cspi/spi_accessible.c (role_names): fixup bogus
4416 MAX_ROLES setup, make constants const for efficient linkage
4417 (AccessibleRole_getName): conform to coding style, make
4420 2001-11-30 Michael Meeks <michael@ximian.com>
4422 * cspi/spi.h: add missing prototype.
4424 * libspi/registry.c (spi_listener_struct_new): fix sig.
4426 * test/Makefile.am: add test-simple
4428 * test/test-simple.c: add
4430 * test/test.sh: add.
4432 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
4434 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
4435 do it straight - since otherwise we often get an activation race.
4437 [ work before Bill duplicated a chunk of it ... ]
4438 2001-11-30 Michael Meeks <michael@ximian.com>
4440 * libspi/keystrokelistener.c
4441 (spi_keystroke_listener_class_init): fixup arg
4444 * libspi/eventlistener.c
4445 (spi_event_listener_class_init): ditto.
4447 * tests/test.sh: add.
4449 * cspi/spi-listener-impl.h: update macros.
4451 * cspi/spi-listener-impl.c
4452 (cspi_event_listener_remove_callback): add
4453 correct pre-conditions.
4455 * cspi/spi_main.c (SPI_exit): guard vs. double
4456 exits, exit the mainloop nicely.
4457 (SPI_event_main): make more sense.
4458 (SPI_init): move the atexit evilness here so we
4459 always do it (yuck).
4460 (SPI_event_main): upd.
4462 * test/simple-at.c: update for listener changes.
4464 * registryd/registryd.c (main): prune kruft.
4466 * libspi/libspi.h: upd.
4468 * libspi/eventlistener.[ch]: rename broken macros.
4470 * libspi/accessibleeventlistener.[ch]: remove.
4472 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
4474 * test/test-simple.c: Add - automated tests.
4476 * cspi/spi-listener-impl.c (cspi_event),
4477 (cspi_key_event): add user_data to invoke.
4478 (cspi_keystroke_listener_finalize): impl.
4479 (cspi_keystroke_listener_class_init): upd.
4482 (createAccessibleEventListener),
4483 (AccessibleEventListener_addCallback),
4484 (createAccessibleKeystrokeListener),
4485 (AccessibleKeystrokeListener_addCallback): upd.
4487 * libspi/deviceeventcontroller.c
4488 (spi_device_event_controller_check_key_event): add public proto.
4491 (impl_accessibility_registry_deregister_global_event_listener):
4492 always init listeners.
4493 (_registry_notify_listeners): yes it is.
4495 * cspi/spi-listener-impl.c (cspi_key_event):
4497 (cspi_event_listener_finalize): impl.
4498 (cspi_event_listener_class_init): hook up.
4499 (event_handler_new, event_handler_free),
4500 (event_list_remove_by_callback): impl.
4501 (cspi_event_listener_remove_callback),
4502 (cspi_keystroke_listener_remove_callback),
4503 (cspi_keystroke_listener_add_callback),
4504 (cspi_event_listener_add_callback): upd.
4506 * libspi/keystrokelistener.c
4507 (keystroke_listener_object_finalize): kill
4508 (spi_keystroke_listener_class_init): upd.
4509 (spi_keystroke_listener_add_callback),
4510 (spi_keystroke_listener_remove_callback): kill,
4512 (impl_key_event): prune drasticaly.
4514 * libspi/eventlistener.c
4515 (spi_event_listener_add_callback),
4516 (spi_event_listener_remove_callback): kill, use
4518 (impl_accessible_event_notify_event): upd.
4519 (spi_event_listener_object_finalize): remove.
4521 * libspi/Makefile.am: use eventlistener.[ch]
4523 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4525 * libspi/registry.c (_registry_notify_listeners):
4526 Changed listener loop iteration to use preferred convention.
4527 Got rid of string memory leaks caused be calling g_strconcat
4528 inside function calls.
4530 * libspi/registry.c (parse_event_type):
4531 Stopped g_strconcat memory leaks, free the g_strsplit return,
4532 g_strdup the split pieces when used, etc.
4534 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4537 Change method 'compare' to return a 'difference set' rather than
4538 taking a StateSet as an out parameter (more Java-friendly).
4540 * idl/Accessible.idl:
4541 Added CORBA struct 'BoundingBox', to faciliate API changes below:
4543 * idl/Component.idl:
4545 Changed methods 'getExtents' and 'getImageExtents' in these
4546 interfaces to return a BoundingBox structure.
4547 (getPosition and getSize are redundant and possibly should be
4548 removed, rather than creating a corresponding Point struct.)
4550 * cspi/spi_component.c:
4551 Modify implementation of getExtents to reflect the above IDL
4556 Add (missing) AccessibleImage_getExtents () API.
4558 * docs/reference/cspi/at-spi-cspi-sections.txt:
4559 Added AccessibleImage_getImageExtents () to docs.
4561 2001-12-03 Bill Haneman <bill.haneman@sun.com>
4563 * idl/Component.idl:
4564 Added two methods, getLayer () and getMDIZOrder (), to reflect
4565 the new ATK methods atk_object_get_layer and
4566 atk_object_get_mdi_z_order. (Which arguably should be part of the
4567 AtkComponent API and AtkObject). Also added an enum,
4568 ComponentLayer, for the first method's return value.
4570 * libspi/component.c:
4571 Added implementations for these methods.
4573 * cspi/spi_component.c:
4575 Added cspi binding methods for above,
4576 AccessibleComponent_getLayer() and
4577 AccessibleComponent_getMDIZOrder().
4578 Added cspi enum 'AccessibleComponentLayer'.
4580 * docs/reference/cspi/at-spi-cspi-sections.txt:
4581 Added above methods to docs.
4585 Changed typedef for 'boolean' type (and all references to it) to
4586 SPIBoolean, to avoid keyword clashes with C++.
4589 Changed usages of 'boolean' to SPIBoolean.
4591 * test/keysynth-demo.c:
4592 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
4593 app), except where SPIBoolean is required by the callbacks API.
4595 2001-12-02 Bill Haneman <bill.haneman@sun.com>
4597 * cspi/spi_registry.c:
4598 Removed obsolete X event loop for passive keygrabs (which now
4601 * registryd/registryd.c:
4602 Removed unnecessary call to gdk_init() [cruft]. This also allows
4603 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
4606 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4608 * docs/reference/cspi:
4609 Included docs for SPI_freeString in generated documentation.
4612 Renamed spi_freeString to SPI_freeString, for consistency. Added
4613 documentation for this function.
4616 Renamed spi_freeString to SPI_freeString, for consistency.
4617 Removed obsolete method declaration string_from_corba_string.
4619 * test/keysynth-demo.c:
4620 Small tweak to comments.
4623 Stopped leaking the strings returned from CSPI.
4625 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4627 Merged Michael's branch (see his ChangeLog entries below).
4629 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
4630 bridge is alive, release on exit.
4632 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
4633 Fix type check macro.
4636 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
4639 Added is_gnome_app static, and method cspi_is_gnome_app(),
4640 so we can call the appropriate shutdown routine at exit in SPI_exit.
4642 * cspi/spi_main.c (cspi_object_ref):
4643 Duplicate the corba object passed in, since we're keeping it around.
4645 * cspi/SPI_exit.c, cspi_cleanup:
4646 Moved the releasing of the live refs to its own function, so we
4647 can put it in g_atexit (). Call the appropriate shutdown API
4648 depending on whethe calling client is a gnome app or not
4649 (bonobo_main_quit or CORBA_ORB_shutdown).
4651 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
4652 Unref the listener when this method is called, after
4653 deregistration. Updated the API docs to note this behavior.
4655 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
4656 Bugfixes: Ref the bonobo object when returning a parent or child
4657 reference, or an AccessibleRelation. Generally made sure
4658 BonoboObject refcount is incremented whenever we return an
4661 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
4662 Fixed typo/bug in signal declaration.
4664 * libspi/accessibleeventlistener.h:
4667 * libspi/application.c (spi_application_new):
4668 Fixed leak in initialization.
4671 Remembered to increment bonobo-object refcount when returning
4672 children (applications) from desktop object.
4673 Added (empty) finalize method.
4675 * libspi/deviceeventcontroller.c:
4676 Hold a ref to listeners inside DEControllerKeyListeners.
4677 Added dec_key_listener_free() method. Use prepend instead of
4678 append in key_listener list. Fixed some refcount madness and
4679 leaks in the listener registration/deregistration - deregistration
4680 now calls dec_key_listener_free() on listeners, and on the
4681 temporarily constructed dec_key_listener() used to perform the search/match.
4683 * libspi/hypertext.c (spi_hypertest_finalize):
4684 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
4685 class. Also fixed spi_hypertext_interface_new() and
4686 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
4688 * libspi/hypertext.h:
4689 Removed pointless and duplicate AtkObject pointer from
4692 * libspi/keystrokelistener.c:
4693 Fixed incorrect type of keystroke_listener_parent_class,
4694 renamed keystroke_listener_object_finalize to
4695 spi_keystroke_listener_object_finalize.
4696 Fixed typo in signal declaration
4697 (spi_keystroke_listener_class_init).
4699 * libspi/registry.c:
4700 Added funcsions spi_listener_struct_new() and
4701 spi_listener_struct_free() to help with memory management issues.
4702 We also now use these methods instead of gnew + poking stuff into
4703 the struct, and to decrement listener counts/free the listeners
4704 when deregistering them.
4705 Fix more refcount bugs in getDesktop() and
4706 getDeviceEventController().
4709 De-ref the desktop after enumerating the applications. Explicitly
4710 decrement the refcounts on the created listeners on exit (using
4711 _unref for keystroke listeners, and via the
4712 deregisterGlobalEventListenerAll command for other event
4715 2001-11-27 Michael Meeks <michael@ximian.com>
4717 * cspi/spi-listener.h: fixup enum.
4719 2001-11-27 Michael Meeks <michael@ximian.com>
4721 * cspi/spi-listener-impl.c (cspi_event_listener_new),
4722 (cspi_keystroke_listener_new): Use the cspi variants.
4724 2001-11-26 Michael Meeks <michael@ximian.com>
4726 * test/keysynth-demo.c: fix 2 compile warnings, missing
4729 * test/simple-at.c (report_focussed_accessible),
4730 (report_focus_event, report_button_press),
4731 (check_property_change, is_command_key),
4732 (report_ordinary_key_event, report_command_key_event): upd.
4734 * util/mag_client.h: include pre-requisites.
4736 * libspi/accessibleeventlistener.c
4737 (spi_event_listener_object_finalize): free any lingering
4740 * libspi/keystrokelistener.c
4741 (keystroke_listener_object_finalize): ditto.
4743 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
4744 callbacks, with cspi types.
4746 * cspi/spi_event.c (createAccessibleEventListener): chain to
4747 (AccessibleEventListener_addCallback): here.
4748 (createAccessibleKeystrokeListener): chain to
4749 (AccessibleKeystrokeListener_addCallback): here.
4751 * libspi/keystrokelistener.c
4752 (spi_keystroke_listener_class_init): add signal.
4753 (impl_key_event): emit the event.
4754 (boolean_handled_accumulator): impl.
4755 (marshal_BOOLEAN__POINTER): add, gack.
4757 * libspi/accessibleeventlistener.c
4758 (spi_event_listener_class_init): add signal.
4759 (impl_accessible_event_notify_event): emit the signal &
4760 make the loop efficient.
4761 (spi_event_listener_add_callback): prepend the callback.
4763 * libspi/accessibleeventlistener.h: add an 'event' signal,
4764 decl type on callback.
4766 * libspi/keystrokelistener.h: ditto.
4768 * cspi/spi-listener.h: make methods typesafe and
4769 make them use the new event typedefs.
4771 * test/simple-at.c (report_focussed_accessible):
4772 include mag_client.h
4773 Use *(void *)text_interface not the other thing.
4775 * configure.in: add gtk to registryd bits - since we use
4778 * util/magnifier.c: include libbonobo.h
4780 2001-11-25 Bill Haneman <bill.haneman@sun.com>
4782 * test/keysynth-demo.c:
4783 Turned this into a simple scanning keyboard, to demonstrate the
4784 use of g_timeout_add () as a means of creating timers for
4785 scanning, and the use of GtkStyle for visually indicating when
4786 virtual keyboard elements are selected.
4788 keysynth-demo now listens to any keyboard keys with zero-valued
4789 keycodes (i.e. 'unused' keys) and interprets them as
4792 Reworked the shiftlatch code so that shift-down state isn't held
4793 for long periods (it's only synthesized immediately prior to
4794 the keysynth event it's modifying). Note that shiftlatch in this
4795 demo is a convenience, not intended to take the place of AccessX
4796 which is the better choice for getting 'sticky' modifier keys.
4798 * libspi/deviceeventcontroller.c:
4799 * at-bridge/bridge.c:
4800 * cspi/spi_registry.c:
4801 Removed some debug print stuff, and put other verbosity in #ifdef
4806 Implemented some more of the magnifier IDL for the simple
4807 magnifier: namely, getZoomRegionParams.
4808 Added mag_x and mag_y members to MagnifierData struct, aid of this
4810 Added GtkWindow::realize signal handler to magnifier, to keep it
4811 from receiving keyboard focus from the WM.
4813 2001-11-23 Mark McLoughlin <mark@skynet.ie>
4815 * cspi/spi-private.h: my guess at what michael forgot
4816 before he ran off to NZ :-)
4818 2001-11-23 Michael Meeks <michael@ximian.com>
4820 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
4821 comment out non existant method invoke so we link.
4823 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
4824 use bonobo_exception_get_text for more friendly warnings.
4826 * cspi/spi.c (Obj_Add): move into spi_main & rename
4827 spi_object_add; kill spi.c
4829 * cspi/spi_registry.c
4830 (deregisterGlobalEventListener),
4831 (deregisterGlobalEventListenerAll),
4832 (registerGlobalEventListener): fix exception leaks.
4834 * cspi/spi_main.c (spi_exception): impl. helper, so we
4835 don't leak exceptions.
4837 * cspi/spi_selection.c
4838 (AccessibleSelection_deselectSelectedChild): return the
4841 * cspi/spi_main.c (spi_ev): impl; hack - gack.
4842 (spi_registry): ditto.
4843 (SPI_init): guard against double inits.
4845 * cspi/*.c: use spi_ev (), and spi_registry () where
4846 appropriate - a temporary hack until we have something
4847 better. Use spi_object_add
4849 2001-11-22 Michael Meeks <michael@ximian.com>
4851 * cspi/Makefile.am: re organise, install the headers.
4853 * cspi/*.h: add G_BEGIN/END_DECLS
4855 2001-11-22 Bill Haneman <bill.haneman@sun.com>
4858 Added non-preemptive keylistener for key events with no modifiers
4859 and shift-only modifier.
4861 * libspi/keystrokelistener.c:
4862 Removed some verbose diagnostics printout.
4864 * cspi/spi_registry.c:
4865 Fixed a bug that caused all key listeners to be registered as
4868 * libspi/deviceeventcontroller.c:
4869 Fixed bug that caused XGrabKey (preemptive key grab) to be called
4870 for non-preemptive key masks.
4873 2001-11-22 Bill Haneman <bill.haneman@sun.com>
4875 * docs/reference/idl/at-spi-idl-docs.sgml:
4876 * docs/reference/idl/at-spi-idl-sections.txt:
4877 * docs/reference/idl/at-spi-idl-overrides.txt:
4878 Added missing files.
4880 * docs/reference/Makefile.am:
4881 removed idl from SUBDIRS until we can figure a way to get gtk-doc
4882 to scan the IDL files :-(
4887 Added .cvsignore files.
4889 2001-11-21 Bill Haneman <bill.haneman@sun.com>
4891 * libspi/deviceeventcontroller.c:
4892 * libspi/keystrokelistener.c:
4894 * cspi/spi_registry.c:
4895 Added filters for KeySets, KeyEventSeq, and event types to key
4896 event dispatching, so listeners should only receive those events
4897 that they requested :-)
4899 2001-11-21 Bill Haneman <bill.haneman@sun.com>
4904 * docs/reference:Makefile.am:
4905 * docs/reference/cspi:
4906 * docs/reference/cspi:Makefile.am:
4907 * docs/reference/cspi:tmpl:
4908 * docs/reference/cspi:tmpl:*.sgml:
4909 * docs/reference/idl:
4910 * docs/reference/idl:Makefile.am:
4911 * docs/reference/idl:at-spi-idl-sections.txt:
4912 * docs/reference/idl:at-spi-idl-docs.sgml:
4913 * docs/reference/idl:tmpl:
4914 * docs/reference/idl:tmpl:*.sgml:
4916 Restructured docs directory to allow separate 'reference' docs
4917 section, and forked idl and cspi docs. Added the sgml template
4918 files to CVS. Added the first sections/structural sgml for the
4921 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
4923 * configure.in, libspi/Makefile.am: find libXtst.
4925 2001-11-21 Michael Meeks <michael@ximian.com>
4927 * test/accessx-gui.c: s/spi_value/value/ - doh.
4929 * libspi/base.[ch]: add.
4931 2001-11-18 Bill Haneman <bill.haneman@sun.com>
4933 * idl/Accessible.idl:
4934 * idl/Application.idl:
4937 Started gtk-doc cleanup on IDL.
4939 * libspi/deviceeventcontroller.c:
4940 Added and connected non-preemptive key notification from the
4941 toolkits (in addition to the pre-emptive support from XServer
4942 which we had before, but which causes 'focus flashing'). Filters
4943 are presently limited to key modifiers and global/non-global,
4944 KeySets are presently ignored, as are KeyEvent masks.
4946 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
4947 structs into the persistant structure rather than just storing
4948 pointers to things that might not persist across servant
4951 The XGrabKey call now does async keygrabs, because synchronous
4952 ones were deadlocking with GDK_event code in a very nasty way.
4954 Added boolean to internal method notify_keylisteners, to indicate
4955 whether the event came from the 'toolkit source' or the 'global
4956 (XServer) source' - this is used in the notification process to
4957 determine which listeners to send the event to.
4959 deviceeventcontroller.c is now warning-free.
4961 * libspi/registry.c:
4962 Fixed regression in application de-registration.
4963 Also fixed some really brain-dead weirdness having to do with
4964 event dispatching - event structs are now duplicated before being
4965 re-marshalled in the dispatch to listeners. This also fixes a
4966 Solaris build problem.
4969 2001-11-20 Michael Meeks <michael@ximian.com>
4972 (impl_accessibility_registry_deregister_global_event_listener):
4975 * libspi/deviceeventcontroller.c
4976 (spi_device_event_controller_check_key_event): return
4977 FALSE on no virtual method.
4979 * libspi/*..h: make includes work on a correctly pathed install.
4981 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
4983 * libspi/application.h: kill unused ( and whacked out )
4984 gboolean *spi_application_set_id (AtkObject *app, long id);
4986 2001-11-20 Michael Meeks <michael@ximian.com>
4988 * libspi/*.[ch]: further convert to bonobo's type func
4989 macros, remove redundnant casts etc.
4991 * libspi/text.c s/accessibility_text/spi_text/g,
4992 re-order to de-cruft.
4994 * libspi/hypertext.c: re-order to kill a huge slew
4995 of redundant forward decls.
4997 * libspi/relation.c: ditto.
4999 * libspi/image.c: ditto.
5001 * */.cvsignore: update
5003 2001-11-20 Michael Meeks <michael@ximian.com>
5005 * libspi/deviceeventcontroller.c
5006 (_controller_register_with_devices): use g_getenv,
5007 kill stdlib.h include.
5009 * libspi/keystrokelistener.c
5010 (spi_keystroke_listener_get_type): kill
5011 (spi_keystroke_listener_class_init),
5012 (spi_keystroke_listener_init): rename to this.
5014 * libspi/text.c (impl_getAttributes): fix warning / bug.
5016 * libspi/*.[ch]: more headers, includes and over commenting.
5018 2001-11-20 Michael Meeks <michael@ximian.com>
5020 * libspi/*.[ch]: fixup headers, includes and over commenting.
5022 * libspi/image.c (impl__get_imageDescription): const
5023 correctness warning fix. remove redundant casting.
5025 * libspi/table.c (impl_getRowDescription): ditto.
5026 (impl_getColumnDescription): ditto.
5028 * libspi/libspi.h: add.
5030 2001-11-19 Michael Meeks <michael@ximian.com>
5032 * libspi/editabletext.c (impl_setAttributes): fix warnings.
5034 * libspi/component.c (accessibility_component_get_type):
5035 rename to (spi_component_get_type): and macroify.
5036 (accessibility_component_init): rename to
5037 (spi_component_init): this
5038 (accessibility_component_class_init): rename to
5039 (spi_component_class_init): this
5041 * libspi/action.c (spi_action_get_type): kill, use the macro.
5043 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
5046 * libspi/application.c (spi_application_object_event_listener),
5047 (impl_accessibility_application_register_object_event_listener):
5048 warning fixes / const understanding updates.
5050 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
5053 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5055 * libspi/spi_accessible.c: Added docs and C bindings for
5056 AccessibleStateSet. (No implementations yet). Documentation
5057 coverage for C bindings now 100%. Made docs for event listeners
5062 boolean notifyListenersSync (in DeviceEventListener listener,
5063 in DeviceEvent event);
5065 oneway void notifyListenersAsync (in DeviceEventListener listener,
5066 in DeviceEvent event);
5068 Added DeviceEventListener and DeviceEvent structs (may deprecate
5069 KeyStroke and KeystrokeListener in favor of this generic
5070 event/listener framework for devices).
5072 * libspi/deviceeventcontroller.c:
5074 Changed some key listener code to take masks, etc., and paved the
5075 way for integration of toolkit/non-preemptive key events. Changed
5076 signatures of some internal methods.
5078 * at-bridge/bridge.c:
5079 Fixed regression connecting to interface signals, apparently
5080 caused by GTK+ changes.
5082 Added an internal bridge_state_listener to deal with
5083 property-change:accessible-state signals.
5085 Changed the key_listeners GList to store structs (including masks,
5086 etc.) instead of just CORBA_Objects (required for full
5087 implementation of key listener API).
5089 Connected the bridge to all currently supported Atk signals.
5090 Events now supported:
5091 object:property-change
5092 object:property-change:accessible-name
5093 object:property-change:accessible-state
5094 object:property-change:accessible-description
5095 object:property-change:accessible-parent
5096 object:property-change:accessible-value
5097 object:property-change:accessible-role
5098 object:property-change:accessible-table-caption
5099 object:property-change:accessible-table-column-description
5100 object:property-change:accessible-table-column-header
5101 object:property-change:accessible-table-row-description
5102 object:property-change:accessible-table-row-header
5103 object:property-change:accessible-table-summary
5104 object:children-changed
5105 object:visible-data-changed
5106 object:selection-changed
5107 object:text-selection-changed
5109 object:text-caret-moved
5111 object:row-reordered
5113 object:column-inserted
5114 object:column-reordered
5115 object:column-deleted
5116 object:model-changed
5118 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5120 * libspi/hyperlink.c,h:
5121 Fixed some broken stuff in hyperlink.
5123 * libspi/relation.h:
5124 * libspi/relation.c:
5125 * cspi/spi_accessible.c:
5126 Initial implementations of AccessibleRelation methods, and docs.
5128 * libspi/accessible.c:
5129 Fixed a bug that caused SEGV if an accessible
5130 object's description is NULL, and a client
5131 requests it. An empty string is now returned.
5133 * cspi/spi_editabletext.c:
5134 * cspi/spi_hypertext.c:
5136 * cspi/spi_hyperlink.c:
5140 Doc coverage now 95%.
5142 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5144 One last namespacing revision:
5145 * libspi/accessibleeventlistener.[ch]:
5146 Renamed SpiAccessibleEventListener to SpiEventListener,
5147 (no need for two namespaces ;-)
5149 And lots of documentation fixes:
5151 * docs/at-spi-docs.sgml:
5152 Fixed 'underscore vs. hyphen' bug that was preventing
5153 the gtk-doc API docs from being automatically generated.
5156 * cspi/spi-listener.h
5158 * cspi/spi_accessible.c
5160 * cspi/spi_application.c
5161 * cspi/spi_component.c
5162 * cspi/spi_editabletext.c
5164 * cspi/spi_hypertext.c
5166 * cspi/spi_registry.c
5167 * cspi/spi_selection.c
5171 * docs/at-spi-docs.sgml
5172 * docs/at-spi-sections.txt
5174 Added and fixed up gtk-doc documentation in cspi.
5176 Interfaces now (fully) documented (subject to revision and enhancement):
5178 Event Listener Support
5180 AccessibleApplication
5184 AccessibleEditableText
5191 AccessibleRelationSet
5196 2001-11-14 Bill Haneman <bill.haneman@sun.com>
5198 * at-bridge/bridge.c:
5199 Initial work for toolkit-level key snooper connection by bridge.
5204 New typedefs and fixes to support new namespacing, and cleaner
5205 separation of cspi bindings from libspi bonobo implementation.
5206 Removed inconsistent and extraneous Spi* namespace prefix that
5207 had crept into cspi headers.
5208 Lots of comment fixes that sed had missed.
5210 * cspi/spi-roletypes.h:
5211 * cspi/spi-statetypes.h:
5212 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
5213 to AccessibleRoleType.
5215 * libspi/accessibleeventlistener.h:
5216 Fixed minor namespacing weirdness.
5218 * libspi/deviceeventcontroller.c:
5219 Reordered some internal API for device listeners.
5220 Changed the key registry final boolean to 'is_system_global'
5221 rather than 'is_synchronous', which is more descriptive of its
5223 Added spi_device_event_controller_new().
5224 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
5226 * libspi/keystrokelistener.[ch]:
5227 Namespaced KeystrokeListener to SpiKeystrokeListener.
5228 Changed uses of keymasks to use SPI_ prefix, and did other
5231 * libspi/keymasks.h:
5232 Namespaced keymask constants with SPI_ prefix.
5234 * libspi/registry.c:
5235 Some warning fixes, and knock-on fixes from namespace changes.
5238 Added rules for accessx-gui test program.
5240 * test/accessx-gui.c:
5241 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
5242 utility. It doesn't actually use at-spi, but it's still cool and
5245 * test/keysynth-demo.c:
5249 Fixes so that these test clients work properly with the namespaced
5250 libraries. (Incompletely tested for technical reasons, fixes may follow)
5253 2001-11-13 Michael Meeks <michael@ximian.com>
5255 * libspi/application.c
5256 (impl_accessibility_application_get_version),
5257 (impl_accessibility_application_get_toolkit_name):
5259 (impl_accessibility_application_set_id),
5260 (impl_accessibility_application_get_id): remove
5261 redundant casting code.
5263 * libspi/action.c (impl_getDescription): fix warnings.
5265 * libspi/accessible.c
5266 (impl_accessibility_accessible_get_parent),
5267 (impl_accessibility_accessible_get_child_at_index),
5268 (impl_accessibility_accessible_get_state),
5269 (impl_accessibility_accessible_get_relation_set):
5270 warning fixes & include action.h
5272 2001-11-13 Michael Meeks <michael@ximian.com>
5274 * *.[ch] fix bits I screwed up:
5276 s/([^ \tb(\*\&\?\",])spi_/\1/g;
5277 s/([^ \tb(\*\&\?\",])Spi/\1/g;
5279 2001-11-13 Michael Meeks <michael@ximian.com>
5281 * *.[ch] Namespace libspi into spi_ and Spi.
5283 2001-13-11 Michael Meeks <michael@ximian.com>
5285 * Makefile.am: dist & install at-spi-1.0.pc
5287 * libspi/Makefile.am: install into at-spi-1.0
5289 * idl/Makefile.am (idldir): install into at-spi-1.0
5291 * at-spi-1.0.pc.in: add.
5293 * configure.in: build it.
5295 2001-11-12 Bill Haneman <bill.haneman@sun.com>
5297 * test/keysynth-demo.c:
5298 Use a 'realize' signal-handler to set the WM properties for
5299 the virtual keyboard, rather than making it a "POPUP" type
5300 override-redirect window (thanks to anders carlsson for that
5303 2001-11-11 Bill Haneman <bill.haneman@sun.com>
5306 * test/keysynth-demo.c:
5307 Added new test of key synthesis, which creates a simple
5308 (mouse-operated) onscreen keyboard. It inserts key events into
5309 the currently-focused window, thus it does not grab keyboard focus
5312 * cspi/spi_registry.c:
5313 Added C binding for AT-SPI generateKeyEvent.
5315 * libspi/deviceeventcontroller.c:
5316 Added call to XFilterEvent so that key listener works with XIM (we
5317 hope). Added event_synth_type to generateKeyEvent, so that we can
5318 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
5319 synthesize a press/release pair for KeySyms.
5321 2001-11-09 Bill Haneman <bill.haneman@sun.com>
5323 * libspi/Makefile.am:
5324 * registryd/Makefile.am:
5325 (temporary) hack to include libXtst in libspi and registryd.
5326 (Needed for keystroke synthesis, see below).
5329 Improved API for registerKeystrokeListener, in accordance with
5330 discussions with Gnopernicus team and X server research.
5332 * libspi/registry.c:
5333 * libspi/deviceeventcontroller.c:
5334 * libspi/accessible.c:
5335 * libspi/keystrokelistener.c:
5336 Changes and fixes to support keylisteners for potentially
5337 consumed key events (that is, 'passive grabs').
5338 Added implementation for generateKeyEvent() [untested].
5341 Changes to registerKeystrokeListener() API, as above.
5342 Added deregisterGlobalEventListenerAll(), and
5343 deregisterKeystrokeListener(), which are needed for clean exit of
5345 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
5346 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
5348 * cspi/spi_registry.c:
5349 Added implementations of function prototypes mentioned above.
5351 * registryd/registryd.c:
5352 Added the key listener event source as a g_timeout(), to allow
5353 receipt of key events that are not caught by GDK (since GDK
5354 doesn't support passive keygrabs, this was necessary).
5357 Changed to attach a keylistener to 'Alt' keys, and
5358 respond to the following keycommands: Alt-M (toggle magnifier);
5359 Alt-F (toggle speech); Alt-Q (quit).
5360 Added an exit routine to deregister the listeners, and a key
5361 listener that prints some key info to the console when a key
5362 matches the listener mask (and is thus received by the listener).
5364 * util/idl/Magnifier.idl:
5365 Changes to magnifier API to support multiple zoom regions,
5366 non-uniform scaling in x and y, markDirty, and a host of other
5367 features that would be useful to magnification.
5370 * util/mag_client.c:
5371 * util/mag_client.h:
5372 * util/mag_control.c:
5374 Source code changes to support the above IDL changes.
5377 As above, and also changes to use a (slower) generic conversion
5378 path for colormap conversions, since the fast RGB conversions have been
5379 reported to fail for 16-bit displays.
5381 2001-10-26 Michael Meeks <michael@ximian.com>
5383 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
5385 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
5387 * at-bridge/Makefile.am: fix LDFLAGS.
5389 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5391 * at-bridge/bridge.c:
5392 Re-worked listeners for toolkit events, now we have signal
5393 and property listeners. Added a private method
5394 register_atk_event_listeners(), which registers with the
5395 various atk and gtk signals we need to monitor in order to emit
5397 Added emission hook for AtkObject:property-change events, to
5398 support the 'property listeners'.
5399 Fixed some alloc()s of Accessibility_Event structs to use CORBA
5402 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
5403 which emit warnings and exit, respectively, if CORBA errors occur
5404 during remote calls, and we now use these methods to check most of
5405 our CORBA calls in the C bindings.
5407 * cspi/spi_accessible.c:
5408 Changed AccessibleSelection_refSelectedChild() to
5409 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
5410 now increment refcounts.
5412 * cspi/spi_component.c:
5413 Fixed some long pointer casts (dangerous!) to pass pointers to
5414 CORBA_longs of the proper type to the CORBA stubs, and copy the
5415 data into the longs that were passed into the C bindings code.
5417 * at-bridge/bridge.c:
5419 * libspi/accessible.c:
5420 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
5421 hyperlinks, AtkHyperlink is an object type.
5423 * libspi/application.c:
5424 Added various conversions to and from "generic" event types and
5425 atk-specific types; this is really part of the 'bridge'
5426 implementation but is valid for all AtkObject-based accessibility
5429 * libspi/editabletext.c:
5430 Fixed nasty bug wherein editable text's finalize method was
5431 unref'ing tha AtkObject reference that the text parent class was
5432 about to unref _again_. There was also a nasty inheritance bug
5433 that meant that the AccessibleEditableText class was corrupt.
5435 * libspi/selection.c:
5436 Provided implementations for some selection API that was broken.
5438 * idl/Application.idl:
5439 Added registerObjectEventListener () method.
5442 Fixed a number of return values that were Bonobo_Unknowns from
5443 bonobo_object_corba_objref(), which I
5444 forgot to dup before returning. Changed instances of
5445 bonobo_object_corba_objref (bonobo_object(o)) to
5446 BONOBO_OBJREF(o), for concision and clarity.
5448 2001-10-13 Louise Miller <louise.miller@sun.com>
5450 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
5451 idl/Event.idl, idl/Registry.idl
5452 Changed these files to include Bonobo_Unknown.idl instead
5455 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
5457 * libspi/component.c libspi/component.h:
5458 Fixed typo. Added assertions for object checks in
5459 AccessibleComponent code.
5461 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5463 * idl/Accessible.idl:
5464 Added 'isEqual (Accessible *object)'
5465 method for Accessible. (Not Yet Implemented).
5468 Changed signature of registerKeystrokeListener() to
5469 take a KeySet and KeyEventSeq so that specific keys and event
5470 types could be requested for monitoring, and added a flag
5471 is_synchronous so that either synchronous or asynchronous
5472 notification could be requested. (However this is not all
5473 implemented yet). This also meant adding two new typedefs,
5474 KeyEventSeq and KeySet.
5477 Added two new relations, RELATION_TOOLTIP_FOR and
5478 RELATION_LEAFNODE_OF.
5481 Added new state, STATE_HAS_TOOLTIP.
5483 * libspi/text.c, editabletext.c:
5484 Added new assertions to all casts of bonobo-objects from
5485 CORBA servants, to prevent Text API calls on non-text objects.
5486 Changed suspect casts of int-pointer types, so that we
5487 always send a valid CORBA_long pointer to the CORBA APIs that use
5488 in/out long parameters. We then have to copy from the CORBA_long
5489 into the regular long or int for return to the C bindings, or
5490 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
5493 * libspi/deviceeventcontroller.c:
5494 Cleaned these sources up.
5496 Changed return type for getCharacterAtOffset to
5497 CORBA_unsigned_long, to allow for 32-bit characters.
5500 2001-10-08 Bill Haneman <bill.haneman@sun.com>
5504 Fixed 'make dist' so that distro compiles...
5505 * libspi/keymasks.h:
5507 * cspi/spi-listener.c:
5508 KeystrokeListenerCB now returns a boolean.
5510 Added KeyEventType struct, and KeyStroke.
5511 Also added createKeystrokeListener(),
5512 KeystrokeListener_addCallback(),
5513 KeystrokeListener_removeCallback(), and added a keymask to
5514 registerKeystrokeListener().
5515 * cspi/spi_accessible.c:
5516 Changed numerous return types for interfaces from
5517 AccessibleComponent to Accessible<InterfaceName>; this was
5518 probably a cut-and-paste error.
5520 Implementations of new KeystrokeListener api (from spi.h,
5523 Changes to key modifier mapping.
5524 Created ControllerEventMask struct.
5525 Made DeviceEventController derive from Bonobo::Unknown.
5527 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
5528 * libspi/deviceeventcontroller.c:
5529 Added a number of new internal (private) methods.
5530 * libspi/editabletext.c:
5531 * libspi/editabletext.h:
5532 Fixed a number of bugs related to the fact that
5533 editabletext inherits from text. Fixed the EditableText struct,
5534 the init() call, and use correct casts when calling Text methods
5535 from an EditableText object. Removed (duplicate) atko from the
5536 EditableText structure, we use the one in the parent Text
5537 structure via the casts mentioned above.
5538 * libspi/keystrokelistener.[ch]:
5539 * libspi/registry.c:
5540 Changes in support of keyboard handling (above).
5542 Keyboard handling, though partly functional, is still not
5543 recommended for at-spi client use as there is considerable
5544 work yet to be done.
5547 Changed some places where pointers to various int types
5548 are cast to be pointers to CORBA_long types and vice-versa:
5549 pointer casting is not safe so we pass pointers of the correct
5550 types and then cast the result before putting it into the target
5553 * libspi/text.h: minor typos corrected.
5555 We now speak not only the name of a Text element, but the
5556 first sentence of its content, when it receives focus.
5557 I also changed the text compression to 75% from 50%.
5558 * util/Accessibility_Util.server.in:
5559 Changed the default magnifier type to be a 3x vertical
5560 splitscreen magnifier (was previously a 2x horizontal one).
5562 2001-10-03 Bill Haneman <bill.haneman@sun.com>
5564 * libspi/keystrokelistener.h:
5565 * libspi/keystrokelistener.c:
5566 Initial functional implementations of KeystrokeListener.
5569 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
5571 Fixed string handling for NULL strings in libspi.
5572 Added spi_freeString to free strings returned by C bindings.
5574 2001-09-30 Bill Haneman <bill.haneman@sun.com>
5576 * libspi/keystrokelistener.h:
5577 * libspi/keystrokelistener.c:
5578 Began (no-op) implementations of KeystrokeListener
5580 * libspi/deviceeventcontroller.c:
5581 * libspi/deviceeventcontroller.h:
5582 Began creating implementations of DeviceEventController,
5583 to handle keystroke and mouse event listening and
5585 * libspi/accessible.c:
5586 Stubbed-in the implementations for
5587 Accessibility_Accessible_getState and
5588 Accessibility_Accessible_getRelationSet.
5589 * libspi/registry.c:
5590 Improved de-registration process and fixed some bugs,
5591 deregistration now works correctly.
5593 Added initialization of applications list (to NULL).
5595 Reduced speech compression from 0.5 to 0.7, for demo.
5596 Changed call to gdk_window_set_decorations()
5597 to gtk_window_set_decorated().
5598 * at-bridge/bridge.c:
5599 Bridge now deregisters when app exits, via
5600 registration of a cleanup function
5601 with the g_atexit() call.
5602 Required making 'app' static, renamed 'this_app'.
5603 Fixed broken use of bonobo_init, passing argv wrongly.
5605 2001-09-27 Bill Haneman <bill.haneman@sun.com>
5609 Created a new directory for
5610 accessibility-related utilities, primarily for
5611 testing and demo purposes, but with possible
5618 Onscreen magnifier utility that
5619 is implemented as a bonobo service.
5621 * util/mag_client.c:
5622 * util/mag_client.h:
5623 Client-side support (simple C bindings)
5624 for Magnification service
5626 * util/mag_control.c:
5627 Client program example for
5628 Magnification service
5630 * util/Accessibility_Magnifier.server.in:
5631 Bonobo-activation file for the
5632 Magnification service.
5635 * util/idl/Magnifier.idl:
5636 IDL defining the bonobo Magnification
5640 Modifications to use the bonobo-activated magnifier
5641 above, in place of trying to connect to an existing
5642 magnifier that uses socket-listening IPC.
5644 If env variable MAGNIFIER is set, a magnifier service
5645 will be started if one does not exist.
5647 2001-09-25 Bill Haneman <bill.haneman@sun.com>
5649 * at-bridge/bridge.c:
5650 applied patch from Marc to build and run
5651 against new glib and gtk+ (seemed like a change
5652 to bonobo_init signature was made ?)
5654 made festival-server support turned off by default.
5655 Added support for a simple magnifier (off by default)
5656 which will be added to a 'util' directory later.
5657 * at-bridge/Makefile.am:
5658 Changed "application.h" header from a 'source'
5659 to a 'dependency' of libat-bridge.
5661 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
5670 Added interface implementation c files to list of
5671 includes so they are included in libcspi.
5674 Changed prototype of AccessibleAction_doAction to return a
5676 Changed prototype of AccessibleTable_getCaption to
5677 return an Accessible.
5678 Changed prototype of AccessibleTable_getSelectedRows
5679 and AccessibleTable_getSelectedColumns to
5680 return a long (returns the number of selected rows
5681 or columns respectively).
5682 Changed name of AccessibleText_refRunAttributes to
5683 AccessibleText_getAttributes.
5684 Changed prototype of AccessibleText_getCharacterExtents to
5685 return a void rather than a boolean.
5686 Added support for a AccessibleCoordType parameter
5687 specifying what type of coordinates are desired.
5688 Added an AccessibleCordType parameter to
5689 AccessibleText_getPointAtOffset.
5691 * cspi/spi_accessible.c:
5692 Added code to return the outstanding interfaces from
5693 Accessible_queryInterface.
5695 * cspi/spi_action.c:
5697 Corrected call to getNActions to call the c binding
5700 * cspi/spi_editabletext.c:
5702 Changed name from setRunAttributes to setAttributes.
5704 * cspi/spi_hyperlink.c:
5706 Changed call to getNAnchors to correctly call the c
5707 binding for an attribute.
5709 * cspi/spi_hypertext.c:
5711 Changed getImageDescription to correctly call the
5712 binding for an attribute.
5714 * cspi/spi_selection.c:
5715 Changed getNSelectedChildren to correctly call the c
5716 binding for the attribute.
5717 Changed refSelectedChild to getSelectedChild.
5721 Changed getCaption to return an Accessible.
5722 Fixed calls which retrieve attributes.
5723 Changed refAt to getAccessibleAt.
5724 Changed getNSelectedRows and getNSelectedColumns to
5728 Changed getCharacterExtents and getPointAtOffset to accept an
5729 AccessibleCoordType.
5731 Changed calls which retrieve attributes.
5732 Changed refRunAttributes to getAttributes.
5737 * idl/Hyperlink.idl:
5738 Changed n_anchors attribute to nAnchors to keep naming
5739 convention consistent.
5742 Made Table inherit from Bonobo::Unknown.
5743 Added nSelectedColumns and nSelectedRows attributes.
5746 Made Value inherit from Bonobo::Unknown.
5748 * libspi/hyperlink.c:
5749 Change for nAnchors attributte name change.
5751 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
5759 Added interface implementation c files to list of
5760 includes so they are included in libcspi.
5763 Changed prototype of AccessibleAction_doAction to return a
5765 Changed prototype of AccessibleTable_getCaption to
5766 return an Accessible.
5767 Changed prototype of AccessibleTable_getSelectedRows
5768 and AccessibleTable_getSelectedColumns to
5769 return a long (returns the number of selected rows
5770 or columns respectively).
5771 Changed name of AccessibleText_refRunAttributes to
5772 AccessibleText_getAttributes.
5773 Changed prototype of AccessibleText_getCharacterExtents to
5774 return a void rather than a boolean.
5775 Added support for a AccessibleCoordType parameter
5776 specifying what type of coordinates are desired.
5777 Added an AccessibleCordType parameter to
5778 AccessibleText_getPointAtOffset.
5780 * cspi/spi_accessible.c:
5781 Added code to return the outstanding interfaces from
5782 Accessible_queryInterface.
5784 * cspi/spi_action.c:
5786 Corrected call to getNActions to call the c binding
5789 * cspi/spi_editabletext.c:
5791 Changed name from setRunAttributes to setAttributes.
5793 * cspi/spi_hyperlink.c:
5795 Changed call to getNAnchors to correctly call the c
5796 binding for an attribute.
5798 * cspi/spi_hypertext.c:
5800 Changed getImageDescription to correctly call the
5801 binding for an attribute.
5803 * cspi/spi_selection.c:
5804 Changed getNSelectedChildren to correctly call the c
5805 binding for the attribute.
5806 Changed refSelectedChild to getSelectedChild.
5810 Changed getCaption to return an Accessible.
5811 Fixed calls which retrieve attributes.
5812 Changed refAt to getAccessibleAt.
5813 Changed getNSelectedRows and getNSelectedColumns to
5817 Changed getCharacterExtents and getPointAtOffset to accept an
5818 AccessibleCoordType.
5820 Changed calls which retrieve attributes.
5821 Changed refRunAttributes to getAttributes.
5826 * idl/Hyperlink.idl:
5827 Changed n_anchors attribute to nAnchors to keep naming
5828 convention consistent.
5831 Made Table inherit from Bonobo::Unknown.
5832 Added nSelectedColumns and nSelectedRows attributes.
5835 Made Value inherit from Bonobo::Unknown.
5837 * libspi/hyperlink.c:
5838 Change for nAnchors attributte name change.
5841 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
5843 implementations-- made server implementations own AtkObject pointers
5844 rather than their respective AtkInterrface pointers to fix
5845 refcounting. AtkHyperlink is still broken.
5847 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5848 * cspi/spi_accessible.c:
5849 Added method Accessible_Role_getName(),
5850 and requisite string array (role_names).
5851 Added conversion string_from_corba_strin() call
5852 to Accessible_getName and _getDescription.
5853 * libspi/accessible.c:
5854 Added implementation for Accessible_getRole()
5856 Added festival support, used if environment variable
5859 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5861 * at-bridge/bridge.c:
5862 Now allocate Accessibility_Event using
5863 Accessibility_Event__alloc() instead of g_new0().
5864 * libspi/accessibleeventlistener.c:
5865 Initialize AccessibleEventListener->callbacks to NULL.
5866 Fixed accessible__event_listener_init() param, changed to
5867 "AccessibleEventListener *" type.
5868 Changed a bonobo_object_release_unref() call to
5869 Accessibility_Accessible_unref().
5870 * libspi/listener.c:
5871 Changed Bonobo_Unknown_unref to (equivalent)
5872 Accessibility_Accessible_unref.
5873 * libspi/registry.c:
5874 Changed bonobo_object_release_unref to
5875 Accessibility_Accessible_unref.
5877 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
5880 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
5881 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
5882 spi-util.c spi-util.h
5883 Implementations for C bindings to remaining accessibility
5886 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
5889 changed return value of Action from void to boolean to
5890 bring in line with ATK.
5893 Changed getText funcions to return "out" start and end offsets.
5894 Changed getAttributes to take and offset and return the start
5895 and end offset of the attribute run.
5896 Changed getOffsetAtPoint and getCharacterExtents to take an
5897 enum describing whether coordinates are window or screen.
5900 libspi/action.c libspi/action.h libspi/editabletext.c
5901 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
5902 libspi/hypertext.c libspi/hypertext.h libspi/image.c
5903 libspi/image.h libspi/selection.c libspi/selection.h
5904 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
5905 libspi/value.c libspi/value.h
5906 Added server implementations for outstanding ATK interfaces
5907 not yet implemented.
5909 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5912 Added (missing) getName() method.
5913 Made nActions an attribute.
5914 * idl/EditableText.idl:
5915 Changed order of params in setAttributes.
5916 * idl/Hyperlink.idl:
5917 Removed getAnchor, added getURI.
5919 Changed attributes to methods, for efficiency
5920 (so that getting extents can be done in one call)
5921 * idl/Selection.idl:
5922 Changed nSelectedChildren to attribute, and re-indented.
5923 * idl/Table.idl: changed nrows, ncolumns, caption, summary
5925 * idl/Text.idl: reformatted to match our coding style.
5926 (temporarily?) removed getRowColumnAtOffset().
5927 Changed text selection API to support multi-select and
5928 non-contiguous selections, as in ATK.
5929 * idl/Value.idl: changed some methods to attributes.
5931 2001-08-24 Mark McLoughlin <mark@skynet.ie>
5933 * libspi/listener.c(impl_notify_event):
5934 BonoboUnkown_unref the source instead
5935 of bonobo_object_release_unref - the ORB
5936 handles the releasing.
5938 * configure.in: require ORBit-2.3.94 for
5941 2001-08-21 Bill Haneman <bill.haneman@sun.com>
5943 Tagged CVS repository 'EA_1_0'.
5944 * README.EARLY_ACCESS:
5945 Alphabetized acknowledgements list, and
5947 Listed some known dependencies of at-spi.
5949 2001-08-20 Bill Haneman <bill.haneman@sun.com>
5951 * docs/at-spi-docs.sgml:
5952 * docs/at-spi-sections.txt:
5953 * docs/at-spi-overrides.txt: (Added zero-length file)
5954 Documentation improvements - gtk-doc should build
5955 docs for all implemented C bindings now.
5958 * cspi/spi.c: (New file)
5959 * cspi/spi_event.c: (New file)
5960 * cspi/spi_registry.c: (New file)
5961 * cspi/spi_accessible.c: (New file)
5962 * cspi/spi_application.c: (New file)
5963 * cspi/spi_component.c: (New file)
5964 Split spi_main.c into six parts, and included them from
5965 "spi.c". This is a bit of a hack, probably temporary,
5966 but required by gtk-doc, apparently.
5968 2001-08-20 Bill Haneman <bill.haneman@sun.com>
5971 * docs/at-spi-docs.sgml:
5972 * docs/at-spi-sections.txt:
5974 Initial checkins/modifications for gtk-doc generation.
5977 Added (missing) interface query methods to Accessible's C binding.
5979 Added GenericInterface type definition.
5981 Added query for AccessibleComponent interface to focus event handler.
5982 Added printout of bounding box for focussed component.
5983 * libspi/component.c:
5984 Added partial implementation for AccessibleComponent to C binding.
5985 * idl/Application.idl:
5986 * libspi/registry.c:
5987 * libspi/listener.c:
5988 * libspi/application.c:
5989 * libspi/application.h:
5990 Changed "ID" attribute type from string to long.
5992 2001-08-19 Bill Haneman <bill.haneman@sun.com>
5996 Made method naming consistent: methods taking object args
5997 start with uppercase, other methods (except those using
5998 acronyms) start with lowercase. Underscores delimit between
5999 object names and method names:
6000 SPI_init() - uppercase since it starts with an acronym.
6001 getDesktopCount () - lowercase start since no object param0.
6002 Accessible_getName() - uppercase object type name, studlyCaps method
6006 Added gtk-doc documentation for all currently implemented
6007 methods in the C bindings API.
6009 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6011 * Makefile.am : changed build order to build test last.
6014 Changed "createEventListener" to "CreateEventListener".
6015 * libspi/accessibleeventlistener.c :
6016 Bugfix for addition of callbacks.
6017 * test/Makefile.am :
6018 * test/simple-at.c :
6019 Added new test that uses the C bindings API.
6021 * libspi/listener.c :
6022 * libspi/registry.c :
6023 * libspi/accessibleeventlistener.c :
6024 * at-bridge/bridge.c :
6025 Renamed member "target" of Accessibility_Event to "source",
6026 which is more descriptive.
6029 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6033 * cspi/Makefile.am :
6034 Added makefile support for at-spi/cspi directory.
6037 * cspi/spi-listener.h : (NEW FILE)
6038 Added support for/use of spi-listener.h.
6040 C bindings now build successfully, with no warnings.
6041 * libspi/accessibleeventlistener.h : (NEW FILE)
6042 * libspi/accessibleeventlistener.c : (NEW FILE)
6043 * libspi/Makefile.am :
6044 Added new object type "AccessibleEventListener"
6045 which inherits from Listener, and allows attachment
6046 of in-process callbacks (so that a client with a listening
6047 object instance can add functionality to the local
6048 implementation, dynamically).
6050 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6052 * libspi/accessible.c:
6053 Add implementation for get_index_in_parent().
6055 Added #include of "spi-roletypes.h", and
6056 added enumerated type AccessibleCoordType.
6057 Added definition for KeystrokeListener (function type).
6060 * cspi/spi-statetypes.h :
6061 * cspi/spi-roletypes.h :
6063 Added these headers, used by spi.h.
6065 Added code (NOTE: not yet built by make).
6067 2001-08-18 Mark McLoughlin <mark@skynet.ie>
6069 * libspi/Makefile.am: generate imodule
6070 at the same time as other idl compiler
6073 2001-08-17 Bill Haneman <bill.haneman@sun.com>
6074 * libspi/registry.c :
6075 * libspi/application.c :
6076 * idl/Application.idl :
6077 Made registration with toolkit an application method,
6078 which is required since each app has its own toolkit static
6079 environment. Thus the bridge must register for
6080 notification of toolkit events from each application in turn.
6081 Toolkit notifications are now successfully registered for, and
6082 sent to the listening at client.
6084 Changed toolkit event string to use hyphens rather than underscores.
6085 * libspi/listener.c :
6086 listner now gives more info in debug mode - it reports the
6087 name of the event received, as well as the name of the source.
6090 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6092 * libspi/registry.c :
6093 added more implementation for toolkit events.
6094 Fixed bug such that toolkit event registrations
6095 (via atk) use the whole event name string, not
6097 Removed a useless call to an ORBit_ method.
6098 * at-bridge/bridge.c :
6099 Removed unused local sbuf[] variable.
6101 We now register for Gtk:GtkWidget:button_press_event
6102 events as well as "focus:" events.
6104 Add some more API from Registry.idl that was missing,
6105 for keystroke listening, keystroke and mouse event
6106 synthesis, and enumeration of accessible desktops.
6108 2001-08-16 Michael Meeks <michael@ximian.com>
6110 * configure.in: use AM_GLIB_GNU_GETTEXT.
6112 * Makefile.am (SUBDIRS): kill intl.
6114 2001-08-15 Michael Meeks <michael@ximian.com>
6116 * registryd/Makefile.am: s/oaf/server/ relocate info file.
6118 * configure.in: upd.
6120 * configure.in: depend on a recent bonobo-activation that
6121 will find our server files ...
6123 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6125 * libspi/accessible.c : accessible_new() :
6126 Now we add the Component interface via bonobo_object_add_interface,
6127 if the contained AtkObject implements AtkComponent.
6128 * libspi/accessible.h : now include "component.h"
6129 * libspi/component.h :
6130 * libspi/component.c : added files - implementation of
6131 bonobo wrapper object for Accessibility/Component
6132 * libspi/listener.c :
6133 Added test code to check for Accessibility/Component:1.0
6134 interface and report whether it is implemented by the
6136 * libspi/registry.c :
6137 Now we check for not only the hash of the whole event
6138 string before relaying the event, we also check the
6139 "minor" event string (without the detail string).
6140 This allows event listeners to be registered against
6141 all events of a certain major+minor type, or just
6142 against a specific major+minor+detail type.
6143 * libspi/accessible.c :
6144 Added implementations for Accessible:get_parent(),
6145 Accessible:getChildCount(), and Accessible:getChildAtIndex().
6146 * libspi/registry.c :
6147 * libspi/listener.c :
6148 Replaced calls to Accessibility_Accessible_ref() and
6149 Accessibility_Accessible_unref() with
6150 calls to bonobo_object_dup_ref() and
6151 bonobo_object_release_unref(), so that the CORBA object
6152 is dup-ed and released when relayed, as well as the bonobo object.
6154 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6156 * libspi/Makefile.am,
6157 registryd/Makefile.am,
6158 at-bridge/Makefile.am.
6159 test/Makefile.am, configure.in:
6160 reverse previous changes.
6162 * /idl/Image.idl: fix typo.
6164 * test/Makefile.am: put DEBUG_FLAGS
6167 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6169 * test/app.c: use argv[0] instead of
6172 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6174 * libspi/Makefile.am,
6175 registryd/Makefile.am,
6176 at-bridge/Makefile.am.
6177 test/Makefile.am, configure.in:
6178 cleanup, replace individual LIBS/CFLAGS with
6179 AT_COMMON_{LIBS|CFLAGS}.
6183 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6185 * configure.in, libspi/Makefile.am:
6186 Change IDL path checking for bonobo-activation
6189 2001-08-15 Bill Haneman <bill.haneman@sun.com>
6191 * registryd/registry.c : separated event listeners to use
6192 3 separate lists (focus, window, toolkit). Began testing
6193 event names against hashes before relaying events.
6194 * test/at.c : now register for events of type "focus:"
6195 * test/app.c : now generate events of type "focus:"
6196 * at-bridge/bridge.c : register with ATK for focus events,
6197 and we now relay those focus events to any "focus:" listeners.
6198 This now works with the bridge as a GTK_MODULE when running test/at.
6199 * libspi/registry.c :
6200 * libspi/listener.c :
6201 now we ref event sources before propagating, and unref on receipt.
6202 * libspi/registry.c :
6203 some changes to internal structs, to support event typestring hashes.
6204 * text/app.c : changed the way the appname is generated.
6205 * cspi : added directory that will hold the C bindings library for
6206 non-CORBA/bonobo-savvy clients.
6207 * cspi/spi.h : header file that contains the function prototypes for the C binding.
6208 * idl/Component.idl : added in parameter to indicate coord system for
6209 geometry-related calls.
6210 * idl/Hyperlink.idl : added readonly n_links attribute
6211 * idl/Image.idl : changed methods to attributes.
6213 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6215 * at-bridge/Makefile.am: link against
6216 ../libspi/libspi.la instead of -lspi.
6218 * at-spi/test/app.c: include
6219 bonobo-activation.h. Use a default appname
6220 if one is not provided.
6222 2001-08-14 Bill Haneman <bill.haneman@sun.com>
6224 * idl/Registry.idl : temporarily changed register_Application
6225 to oneway, to work around issue with initial registration
6227 * idl/Application.idl : changed attribute "id" from readonly
6228 to read-write, since it needs to be assigned by Registry.
6229 * registryd/registryd.c : added call to set application id
6231 * registryd/registry.c : changed de-registration procedure to
6232 use CORBA_Object_hash() to find matching object ref in application
6233 lists and listener lists.
6234 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
6235 began distinguishing between event types (work in progress).
6237 2001-08-13 Bill Haneman <bill.haneman@sun.com>
6240 * libspi/application.c:
6241 Added implementations for get/set id, get_toolkitName,
6243 * registryd/registryd.c :
6247 Converted from use of OAF to bonobo-activation.
6248 * libspi/desktop.h :
6249 * libspi/desktop.c :
6251 Removed references to atksimpleobject, since base atkobject
6252 implementation now provides functionality we need.
6253 * libspi/atksimpleobject.c :
6254 * libspi/atksimpleobject.h :
6259 * at-bridge/Makefile.am
6260 * at-bridge/bridge.c
6263 Added directory "bridge" and contents, and added dependencies
6264 in Makefile.am/configure.in.
6265 Initial checkin of "at-bridge".
6266 This code is a GTK_MODULE which automatically registers
6267 GTK+ apps with the accessibility registry, using an object
6268 reference to the root ATK object.
6270 2001-08-10 Mark McLoughlin <mark@skynet.ie>
6272 * po/Makefile.in.in: Remove. Again. If this
6273 doesn't get autogenerated - you need to update
6276 2001-08-07 Mark McLoughlin <mark@skynet.ie>
6278 * po/Makefile.in.in: Add. Again.
6280 2001-07-31 Bill Haneman <bill.haneman@sun.com>
6282 * libspi/accessible.c : added support for 'description' property.
6283 * libspi/accessible.c
6285 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
6286 (since the two are now equivalent in libbonobo)
6294 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
6295 Bonobo::Unknown as does Accessibility::Accessible.
6296 * idl/StreamableContent.idl : as above, and replaced internal InputStream
6297 interface with Bonobo::Stream, since it was redundant with it.
6298 (The Stream returned by a StreamableContext object is expected to
6299 implement only a subset of Bonobo::Stream)
6301 2001-07-28 Anders Carlsson <andersca@gnome.org>
6303 * libspi/accessible.c (accessible_object_finalize): Change
6304 g_free to g_object_unref since the AtkObject is a GObject.
6306 2001-07-30 Bill Haneman <bill.haneman@sun.com>
6308 * idl/Accessibility.idl: add new IDL files
6311 * idl/Action.idl: Definitions of actionable UI object
6312 * idl/Component.idl: Definitions of UI component geometry, etc.
6313 * idl/Hyperlink.idl: Defs of hyperlink behavior
6314 * idl/Image.idl: Def of accessible image
6315 * idl/Selection.idl: Definition of UI object with selectable children
6316 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
6317 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
6318 * idl/Text.idl: Interface defs for UI elements with complex textual content
6319 * idl/Value.idl: Definition of UI element that is a value controller or display
6321 2001-07-27 Michael Meeks <michael@ximian.com>
6323 * po/Makefile.in.in: remove autogenerated file from CVS.
6325 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
6328 * idl/Registry.idl: include guard.
6330 * idl/Accessibility.idl: Add, and include all the other IDL
6333 * idl/*.idl: remove mass of pragmas etc.
6335 2001-07-26 Michael Meeks <michael@ximian.com>
6337 * registryd/Makefile.am (registryd_SOURCES): remove
6340 2001-07-27 Mark McLoughlin <mark@skynet.ie>
6342 * libspi/.cvsignore, registryd/.cvsignore,
6343 test/.cvsignore: updated.
6345 * po/Makefile.in.in: gettext update.
6347 2001-07-25 Bill Haneman <bill.haneman@sun.com>
6349 * initial CVS checkin
6351 2001-06-29 Michael Meeks <michael@ximian.com>
6353 * configure.in: add AM_CONFIG_HEADER to gen config.h