1 2003-08-06 Wang Jian <lark@linux.net.cn>
3 * configure.in: Added "zh_CN" to ALL_LINGUAS.
5 2003-08-06 Metin Amiroff<metin@karegen.com>
7 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
9 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
11 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
12 MODIFIER_ALT in correct place.
14 This fixes part of bug #118114.
16 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
18 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
20 2003-07-28 Changwoo Ryu <cwryu@debian.org>
22 * configure.in: Added "ko" to ALL_LINGUAS.
24 2003-07-28 Ole Laursen <olau@hardworking.dk>
26 * configure.in: Added "da" to the commented out ALL_LINGUAS.
28 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
30 * configure.in: Added "sq" to ALL_LINGUAS.
32 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
34 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
36 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
38 * configure.in: updated ALL_LINGUAS list
40 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
42 * configure.in: Added Belarusian to ALL_LINGUAS.
44 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
46 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
48 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
49 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
51 This fixes bug #116949.
53 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
55 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
56 Correct CSPI to SPI in function documentation.
58 This fixes bug #118054.
60 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
62 * configure.in: Added Russian to ALL_LINGUAS.
64 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
66 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
68 2003-07-14 Danilo Ĺ egan <dsegan@gmx.net>
70 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
72 2003-07-10 Joel Brich <joel.brich@laposte.net>
74 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
76 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
78 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
80 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
82 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
83 resources allocated for AccessibleEvent. See cspi_event().
85 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
86 static variable streams to NULL.
88 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
89 Update so that AcessibleEvent_ref will work.
91 This fixes bug #116624.
93 2003-07-06 Jordi Mallach <jordi@sindominio.net>
95 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
97 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
99 * configure.in: Added "fr" (French) to ALL_LINGUAS.
101 2003-07-02 Christian Neumair <chris@gnome-de.org>
103 * configure.in: Added "de" (German) to ALL_LINGUAS.
105 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
107 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
109 2003-07-01 Miloslav Trmac <mitr@volny.cz>
111 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
113 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
115 * configure.in: Added "pl" to ALL_LINGUAS.
117 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
119 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
121 2003-06-30 Bill Haneman <bill.haneman@sun.com>
124 (get_action_from_servant):
125 Removed assertion that action is implemented on an AtkObject.
127 * libspi/hyperlink.c:
129 Aggregate AccessibleAction interface on the hyperlink object if
130 the object implements AtkAction. (This convention is used in
133 2003-06-30 Bill Haneman <bill.haneman@sun.com>
135 * configure.in: Revved to 1.3.5.
137 * registryd/Accessibility_Registry.server.in.in:
138 Marked up appropriate strings for translation.
140 * atk-bridge/bridge.c: Marked a couple of
141 user-visible warnings for translation. Questionable
142 whether they are really useful, but possibly so.
145 2003-06-28 Christian Rose <menthos@menthos.com>
147 * configure.in: Added "sv" to ALL_LINGUAS.
149 2003-06-26 Bill Haneman <bill.haneman@sun.com>
151 * registryd/registry.c:
152 (spi_registry_object_finalize): Unref the deviceeventcontroller.
153 (registry_defer_on_event): Defer focus: events, this is an
154 improvement to the patch for bug #108664.
156 * TODO: Update with 2.4/"Dev Complete" items.
158 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
160 * atk-bridge/bridge.c:
161 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
162 looks up signals once.
163 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
164 if doing registration.
165 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
166 when doing registration.
168 This fixes bug #115014.
170 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
172 * atk-bridge/bridge.c:
173 (atk_bridge_init): Add signal handler for children-changed:remove on
174 root when in a BonoboComponent.
175 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
176 for first toplevel only other incrememt variable toplevels.
177 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
178 application and remove listeners.
179 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
181 (spi_atk_deregister_event_listeners): New function which removes
183 (reinit_register_vars): New fuction which reinitializes variables.
185 This fixes bug #111578.
187 2003-06-13 Bill Haneman <bill.haneman@sun.com>
189 * configure.in: version 1.3.4.
191 * cspi/spi_accessible.c:
192 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
195 2003-06-13 Michael Meeks <michael@ximian.com>
197 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
199 * cspi/spi_main.c (cspi_peek_ev): impl.
201 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
203 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
205 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
207 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
208 SPI_ROLE_AUTOCOMPLETE
210 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
212 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
213 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
215 2003-06-11 Bill Haneman <bill.haneman@sun.com>
217 * libspi/streamablecontent.h:
218 * libspi/streamablecontent.c:
219 New files, provide implementation/wrappers for
220 Accessibility_StreamableContent.
222 * cspi/spi_streamablecontent.c:
223 Connected the C wrappers to the libspi C bindings.
224 (AccessibleStreamableContent_close): New method.
227 (AccessibleStreamableContent_close): New method, needed
228 since we have an "open, [seek], read, close" model in cspi.
230 2003-06-11 Bill Haneman <bill.haneman@sun.com>
232 Fix for #108664; Padraig's revision of my original patch.
234 * registryd/registry.h:
235 Added event queue list, is_queuing, and exit_notify_timeout
236 to the registry struct.
238 * registryd/registry.c:
239 (registry_init): Initialize new struct from registry.h.
240 (impl_registry_notify_event):
241 Filter events before notifying, in case some need to be
243 (registry_filter_event): New,
244 we defer certain incoming events (for instance
245 window:deactivate) because we may wish to hide
246 or reject them based on pending events. This is
247 mostly a workaround for bug #108664.
248 (registry_queue_event, registry_start_queue): New.
249 (registry_defer_on_event): Test event to see if it
251 (registry_reset_on_event): Returns TRUE if the
252 event should cause a queue reset.
253 (registry_discard_on_event): Returns TRUE if the event
254 should cause the previous queue contents to be discarded.
255 (registry_timeout_flush_queue): Flushes the pending event
256 queue if no reset/discard-triggering events have come in
257 within the timeout period.
258 (registry_emit_event): New.
259 (registry_clone_notify_context): New, used when queueing the
260 event notify contexts.
262 2003-06-10 Bill Haneman <bill.haneman@sun.com>
264 * configure.in: Version revved to 1.3.2, lt 0.9.2
265 Incremented ATK required version to 1.3.4.
267 * cspi/spi_registry.c:
268 (SPI_generateKeyEvent):
269 We now pass the keystring along if it's non-null.
271 * registryd/deviceeventcontroller.c:
272 (keysym_mod_mask): New method, returns modifier mask
273 required to generate a keysym from a given keycode.
274 (dec_synth_keysym): New method.
275 (dec_synth_keystring): New method.
276 (dec_get_modifier_state): New method.
277 (dec_lock_modifiers): New
278 (dec_unlock_modifiers): New.
279 (dec_keysym_for_unichar): New, rather brute-force
280 conversion from UCS-4 to X KeySyms. Only works for
281 Latin at the moment, with partial implementations for
282 Greek, Hebrew, and (incomplete) Katakana.
283 (impl_generate_keyboard_event): Now implement
284 "KEYSTRING" synthesis and implement "KEYSYM"
286 (keycode_from_keysym): Improved, passes a returned
287 modmask value now if the corresponding param is non-NULL.
289 Fixes bugs #92143 and #109776.
292 * test/keysynth-test.c:
293 New test program for key synthesis, to confirm fixes for
297 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
299 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
301 * cspi/spi_accessible.c (cspi_init_relation_type_table):
302 Add line for RELATION_POPUP_FOR
304 * docs/reference/cspi/tmpl/spi_relation.sgml:
305 Add relation SPI_RELATION_POPUP_FOR
307 * docs/reference/cspi/tmpl/spi_stateset.sgml:
308 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
310 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
312 * libspi/relation.c (spi_init_relation_type_table):
313 Add line for RELATION_POPUP_FOR
315 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
317 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
318 there are still windows which have not been deleted and emit
319 window:deactivate, if necessary and window:destroy events.
320 This fixes bug #114370. The change on June 5th was not correct.
322 2003-06-09 Bill Haneman <bill.haneman@sun.com>
324 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
327 (SPI_dupString): Allow dup-ing of a string such that it's safe to
329 New methods for client exception handling and interception.
330 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
331 (SPI_exceptionHandlerPop): You guessed it...
332 (SPI_getSourceType): Return the type of object which offended.
333 (SPI_getExceptionCode): Return an enum code telling, possibly,
334 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
335 (SPIAccessibleException_getSource): get the source object for
336 exceptions that come from Accessibles, if SPIExceptionSourceType is
337 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
338 (SPIException_getDescription): New, returns a string description of
339 the problem. [Not yet a stable ABI, strings are not frozen]
341 * cspi/spi-private.h:
342 Added implementation details of opaque SPIException
346 Implementations of above. Also
347 (_cspi_exception_throw): new private method that
348 dispatches exceptions to handlers, called from cspi-bonobo.c
350 * cspi/bonobo/cspi-bonobo.c:
351 (cspi_check_ev): call _cspi_exception_throw.
352 Don't print a warning message if the exception has been
353 handled by _cspi_exception_throw.
355 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
357 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
358 there are still windows which have not been deleted and emit
359 window:deactivate, if necessary and window:destroy events.
360 This fixes bug #114370.
362 2003-06-03 Bill Haneman <bill.haneman@sun.com>
365 (cspi_accessible_is_a): Make non-fatal
366 if the object reference is dead.
368 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
370 * cspi/spi_main.c: #include <stdio.h>
371 * test/simple-at.c: ditto
372 * test/event-listener-test.c: ditto
373 * test/screen-review-test.c: ditto
375 2003-05-30 Michael Meeks <michael@ximian.com>
377 * test/test-simple.c (main): use CORBA_ORB_perform_work
378 instead of an unnecessary linc_ call.
380 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
382 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
383 Add SPI_STATE_INDETERMINATE.
385 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
388 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
390 * libspi/stateset.c (init_state_type_tables): Add support for
393 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
395 * configure: Update versions of atk and gail required.
396 This fixes bug #113268.
398 2003-05-02 Bill Haneman <bill.haneman@sun.com>
400 * configure.in: Revved micro version to 1.3.1 (because of build fix).
402 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
404 * libspi/Makefile.am:
405 Ensure headers are generated before being used by c sources.
407 2003-05-01 Bill Haneman <bill.haneman@sun.com>
410 Simplified lt versioning rules.
411 Incremented version to 1.3.0, to indicate that we're on the
414 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
416 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
417 Add MKDB_OPTIONS=--outtput-format=xml
419 * docs/reference/cspi/at-spi-cspi-docs.sgml
420 docs/reference/idl/at-spi-idl-docs.sgml:
421 Convert to Docbook XML.
423 This fixes bug #111793.
425 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
427 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
428 AcccessibleKeyEventType, AccessibleKeyMaskType.
430 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
432 * cspi/state-types.h: Add documentation for AccessibleState.
434 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
435 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
436 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
437 AccessibleComponentLayer.
439 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
442 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
444 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
445 Accessible. Add description of AccessibleEvent,
446 AccessibleEventListenerCB.
448 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
451 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
452 documentation. Add description of AccessibleKeystrokeListenerCB,
453 AccessibleKeyEventMask, AccessibleModifierMaskType,
454 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
455 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
457 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
460 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
463 This fixes bug #104730.
465 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
467 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
468 Set is_text field of Accessibility_DeviceEvent data structure.
470 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
471 is-text field of AccessibleDeviceEvent data structure.
473 This addresses part of bug #108666.
475 * registryd/devcieeventcontroller.c: Unset debug option.
477 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
480 (cpi_initial_relation_type_table): New function which initializes
481 mapping between Accessibility_RelationType and AccessibleRelationType.
482 (cspi_relation_type_from_spi_relation_type): New function which
483 translates an Accessibility_RelationType into an AccessibleRelationType.
484 (AccessibleRelation_getRelationType): Use
485 cpi_relation_type_get_spi_relation_type to return correct value.
486 (spi_state_to_corba): Return correct type for default case.
488 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
489 Use Accessibility_EventType instead of Accessibility_KeyEventType.
491 * cspi/cspi-bonobo-listener.c:
492 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
495 * libspi/accessible.c, libspi/action.c, libspi/application.c,
496 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
497 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
498 libspi/image.c, libspi/listener.c, libspi/selection.c,
499 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
500 registryd/desktop.c, registryd/registry.c:
501 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
503 * libspi/eventlistener.c
504 Remove semicolon after BONOBO_TYPE_FUNC.
507 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
508 (spi_init_relation_type_table): Initialize using correct type.
510 * registryd/desktop.c:
511 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
512 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
513 of Accessibility_KeyEventType.
515 * test/key-listener-test.c (report_tab_key_event): Use fprintf
518 * tests/simple-at.c, tests/screen-review-test.c:
519 Add include for <strings.h>.
521 * tests.stress-test.c:
522 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
524 These changes fix compiler warnings when using FORTE compiler on
525 Solaris; fixes bug #107479.
528 2003-04-10 Bill Haneman <bill.haneman@sun.com>
531 * configure.in: revved to 1.1.10
534 (SPI_KEYMASK_NUMLOCK): Added.
536 * registryd/deviceeventcontroller.c:
537 (spi_key_event_matches_listener): AND with a smaller
538 bitmask (as we should).
539 (spi_dec_translate_mask):
540 New method, sets the virtual NumLock modifier bit
541 if numlock is on. Eventually it can handle other virtual
542 modifier bits if needed, or other marshalling from
543 at-spi modifier masks to platform (X) masks.
544 (spi_dec_key_listener_new):
545 Call spi_dec_translate_mask to set up virtual mod bits
546 in the 'mask' field when creating a new listener struct.
547 (spi_dec_emit_modifier_event):
548 Set the virtual (i.e. NumLock) bits before emitting event.
549 (spi_controller_register_with_devices):
550 Query for the NumLock modifier 'physical' bit if Xkb is
551 present, for use in above methods.
555 2003-04-10 Bill Haneman <bill.haneman@sun.com>
557 * registryd/deviceeventcontroller.c:
558 (spi_keystroke_from_x_key_event):
559 Instead of checking to see if the keysym is
560 printable, check the string from XLookupString
561 if available, get the first unicode character from it,
562 and call g_unichar_isprint to determine whether the
563 is_text flag should be TRUE or FALSE.
567 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
569 * atk-bridge/bridge.c: Add support for extended events
570 * cspi/spi_event.c: Add documentation and implementation for
572 * tests/event-listener-test.c: Add tests for extended events.
574 This fixes bugs #100424 and #100426.
576 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
578 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
579 of LT_CURRENT. This fixes bug #89350.
581 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
583 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
584 number of signal parameter values before accessing them. This fixes
587 2003-04-01 Bill Haneman <bill.haneman@sun.com>
589 * configure.in: Fixed duplicate inclusion of -lspi.
590 * branched for gnome-2-2/HEAD.
591 [created tag "gnome-2-2"]
593 2003-03-07 Bill Haneman <bill.haneman@sun.com>
595 * configure.in: 1.1.9 release.
598 2003-03-07 Bill Haneman <bill.haneman@sun.com>
600 [needed by GOK, to fix bugs 107985 and 107988]
601 * registryd/deviceeventcontroller.c:
602 (spi_dec_clear_unlatch_pending):
603 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
604 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
605 (spi_dec_init_mouse_listener):Emit warning if mouse button
607 (spi_device_event_controller_forward_mouse_event):
608 Removed unnecessary parens from a conditional.
609 (global_filter_fn):Added TODO comment.
610 (impl_generate_keyboard_event):
611 Cancel a pending relatch if a 'delatching' key was
614 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
616 * atk-bridge/bridge.c:
617 Change atk_signal_child_changed to atk_signal_children_changed.
618 Reorganize code in spi_atk_bridge_signal_listener().
620 * test/event-listener-test.c:
621 Add children_changed_listener and report_children_changed_event()
622 to test AccessibleChildEvent_getChildAccessible.
624 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
626 * cspi/spi_event.c (cspi_internal_event_get_text): Change
627 g_strdup to CORBA_String_dup (bug #105291)
629 * test/event-listener-test.c (report_text_event): Add call to
632 2003-02-28 Bill Haneman <bill.haneman@sun.com>
634 * registryd/deviceeventcontroller.c:
635 (spi_keystroke_from_x_key_event):
636 Fix string and keysym return codes to match modifier state.
639 2003-02-28 Bill Haneman <bill.haneman@sun.com>
641 * registryd/deviceeventcontroller.c:
642 (spi_keystroke_from_x_key_event):
643 Fix segv due to improper use of isprint(c). [bug #107254]
645 2003-02-24 Bill Haneman <bill.haneman@sun.com>
648 (get_accessible_text_boundary_type):
649 Move default return value to (new) default case in switch.
650 (get_accessible_text_clip_type):
651 Move default return value to (new) default case in switch.
653 * libspi/application.c:
654 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
655 Remove unused methods.
656 (impl_accessibility_application_register_object_event_listener):
657 Remove unused methods.
660 Added #include of <math.h>.
662 * registryd/deviceeventcontroller.c:
663 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
664 we don't currently use this method.
665 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
667 (impl_generate_key_event):
668 Remove unused variables.
669 (impl_generate_mouse_event):
670 Initialize button to zero, just in case we get an invalid
671 input. Added support for mouse buttons 4 and 5.
672 (spi_device_event_controller_new):
673 Removed unused variable declaration for 'private'.
675 Added #include of <gdk/gdk.h>
677 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
679 * configure.in: Update to work when X is not installed in expected
680 location. Fixes bug #105836.
682 * atk-bridge/bridge.c
683 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
685 (spi_atk_register_event_listener): Add signal listener for
687 (spi_atk_bridge_signal_listener): Event event when link-selected
688 signal is emitted. (bug #104622)
690 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
691 on returned string. (bug #105291)
693 * test/event-listener-test.c: Add test for link-selected.
695 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
697 * atk-bridge/Makefile.am: Correct typo in previous commit.
699 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
701 * atk-bridge/Makefile.am: Allow for build directory to be different
702 from source directory
704 * registryd/Makefile.am: Allow for build directory to be different
705 from source directory
709 2003-01-29 Bill Haneman <bill.haneman@sun.com>
712 Fixed dependencies for libcspi so that libspi gets pulled in
713 properly. Fixes 104741.
717 Clean up inline docs a little.
719 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
721 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
722 This is done by implementing AtkComponent for SpiAtkDesktop, which is
723 the AtkObject within an SpiDesktop.
724 This addresses bug #101524.
726 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
727 Remove call to gdk_init().
729 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
730 so that Display is set when SpiDesktop is created.
732 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
734 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
735 This fixes bug #102830.
737 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
739 * test/test-simple.c: Update to take account of fact that GailButton
740 now implements AtkText.
741 (create_text_window): Set name on AtkObject for GtkEntry.
742 (validate_accessible): Check accessible name before calling test_text().
744 * libspi/Makefile.am: Fix problem with building outside of source
745 directory. Bug #98120.
747 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
748 typo in documentation comments. Bug #94275.
750 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
752 * libspi/text.c (impl_getBoundedRanges): Bug fix.
754 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
757 Add includes to avoid compiler warnings on Solaris.
758 (impl_getRangeExtents): Bug fix.
760 2002-12-17 Bill Haneman <bill.haneman@sun.com>
762 Fix for 100944, [API addition approved by Gman and murrayc].
769 * idl/Accessibility_Text.idl:
770 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
771 (Text::getRangeExtents): New method for efficient
772 bounds query of a text range.
773 (Text::getBoundedRanges): New method for efficient
774 clipping of text to bounding boxes.
775 (unImplemented7, unImplemented8):
776 Removed these padding methods to preserve bincompat.
779 (impl_getRangeExtents): implementation of new IDL.
780 (impl_getBoundedRanges): implementation of new IDL.
781 (SpiTextRect): Internal use struct.
782 (_spi_text_rect_union): internal method, calculates union of two
783 SpiTextRect bounding rects.
784 (_spi_text_range_seq_from_gslist): internal method, allows us
785 to build our sequence efficiently as a gslist then convert it
787 (_spi_bounds_contain): internal method, determines whether
788 a text character is "in" or "out" of a clip rect according to
789 values of TEXT_CLIP_TYPE.
790 (spi_text_class_init): Initialize the new methods in the epv.
793 (AccessibleTextClipType): New enum used by screen review api.
794 (AccessibleTextRange): New struct used by screen review api.
795 (AccessibleText_getRangeExtents):
796 cspi binding for Accessibility_Text_getRangeExtents.
797 (AccessibleText_getBoundedRanges):
798 cspi binding for Accessibility_Text_getBoundedRanges.
799 (AccessibleTextRange_freeRanges): convenience method.
802 (AccessibleText_getRangeExtents):
803 cspi binding for Accessibility_Text_getRangeExtents.
804 (AccessibleText_getBoundedRanges):
805 cspi binding for Accessibility_Text_getBoundedRanges.
806 (AccessibleTextRange_freeRanges): convenience method.
807 (get_accessible_text_clip_type): internal conversion method.
808 (get_accessible_text_ranges_from_range_seq): internal conversion method.
810 * registryd/deviceeventcontroller.c:
811 (spi_dec_mouse_check):
812 Improved behavior for mouse:abs events
813 [same granularity as mouse:rel events, and no
814 events when mouse is idle].
816 2002-12-16 Michael Meeks <michael@ximian.com>
818 * cspi/spi_accessible.c (spi_state_to_corba): rename.
820 * libspi/stateset.c (state_spi_to_atk): split out
821 ( fix several remote array bounds nasties )
822 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
823 (impl_remove): make safe from array bounds issues.
824 (spi_atk_state_from_spi_state): impl.
826 * libspi/stateset.h (spi_state_set_cache_is_empty):
827 add a set of wrapper defines to get layering right.
829 * cspi/spi_accessible.c: update state set stuff to
832 2002-12-14 Michael Meeks <michael@ximian.com>
834 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
835 to avoid 2 roundtrips to the registry per key event
836 (spi_atk_bridge_key_listener): upd.
837 (deregister_application): release the dec.
839 * registryd/registry.c (notify_listeners_cb):
840 bin lots of re-enterant complexity - we no longer
841 do a round-trip bonobo ref here, ensure that a single
842 listener's exception failure won't poison all other
844 (impl_registry_notify_event): bin obvious memory leak.
846 2002-12-13 Michael Meeks <michael@ximian.com>
848 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
849 init the ev so the error is meaningful.
850 (spi_atk_bridge_key_listener): ditto.
852 * cspi/spi_main.c (cspi_ev): init the ev so we start
853 with a clean slate, otherwise the first exception
856 * cspi/spi_text.c (get_accessible_text_boundary_type):
857 add a fallthrough for no warnings.
859 * cspi/spi_registry.c: prune unused warnings.
861 * cspi/spi_main.c (cspi_object_take): fix
862 mind-blowing brokenness ( by watching the compile
865 * cspi/spi_accessible.c (Accessible_getStateSet):
866 re-impl. to use an AtkStateSet.
867 (spi_state_type_from_accessible_state),
868 (init_state_table): bin these.
870 * libspi/stateset.c (spi_atk_state_set_from_sequence):
872 (atk_state_set_from_accessibility_state_set): here.
874 * cspi/spi_accessible.c (spi_state_to_atk): impl.
875 (AccessibleStateSet_contains, AccessibleStateSet_ref),
876 (AccessibleStateSet_unref, AccessibleStateSet_contains),
877 (AccessibleStateSet_add, AccessibleStateSet_remove),
878 (AccessibleStateSet_equals, AccessibleStateSet_compare),
879 (AccessibleStateSet_isEmpty): re-write to use a local
882 2002-12-13 Bill Haneman <bill.haneman@sun.com>
884 * configure.in: Revved to 1.1.7 (new keymask vals).
886 2002-12-10 Bill Haneman <bill.haneman@sun.com>
889 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
891 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
894 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
895 to compare two CORBA_TypeCodes.
896 (cspi_internal_event_add): Silence warning from FORTE compiler.
898 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
899 avoid implicit declaration of functions.
901 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
903 * atk-bridge/bridge.c:
904 (spi_atk_bridge_init_event_type_consts): Store signal id for
905 active-descendant-changed signal.
906 (spi_atk_register_event_listeners): Add signal listener for
907 active-descendant-changed signal,
908 (spi_atk_bridge_signal_listener): Move code in function
909 spi_atk-signal_emit_event() into this function.
910 Add support for active-descendant-changed
911 Update support for child-changed signal.
912 (spi_bridge_window_event_listener): Silence warning.
914 * libspi/spi_private.[ch]:
915 (spi_init_any_object): Change second parameter from CORBA_Object to
917 Omit call to CORBA_Object_duplicate().
918 Set CORBA_any's _value to CORBA_Object*.
920 2002-12-06 Bill Haneman <bill.haneman@sun.com>
926 (AccessibleEvent_ref, AccessibleEvent_unref):
927 New methods, for persisting an event outside the emission context.
928 Must be used if the new accessor methods are to be called
929 outside of the event listener's callback.
931 * cspi/bonobo/cspi-bonobo.c:
932 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
933 as second parameter instead of NULL, so we can call
934 cspi_check_ev afterwards.
937 (cspi_object_take): New internal method,
938 converts a CORBA_Object reference to a hard ref on
939 an Accessible if possible, returning NULL if the object
940 reference is invalid or an Accessible * otherwise.
943 (AccessibleEvent_ref):
944 Increment the event's internal private refcount, and
945 add the event's internal struct to an internal cache
946 if it's not already there.
947 (AccessibleEvent_unref):
948 Decrement the event's refcount and remove it from
949 the cspi event cache if refcount==0.
950 (cspi_event_compare): New private method.
951 Compares two event structs via their ids. Used
953 (cspi_internal_event_lookup): New private method.
954 (cspi_internal_event_check): New private method,
955 a 0-order sanity check for events to make sure their
956 private data is intact.
957 (cspi_internal_event_add, cspi_internal_event_remove):
958 New private methods for managiing the event cache.
960 * cspi/bonobo/cspi-bonobo-listener.c:
962 Initialize the new private data elements (id, magic, ref_count).
964 * atk-bridge/bridge.c:
965 (spi_atk_bridge_signal_listener):
966 Fixed bug #100530, passing wrong params to emission func.
968 * registryd/deviceeventcontroller.c:
969 (spi_dec_button_update_and_emit):
970 Fixed type in mask bit operations; fix for #99799.
972 2002-12-02 Bill Haneman <bill.haneman@sun.com>
974 Removed some of the more dangerous workarounds from
975 previous commit; they are only needed by GOK, which
976 in reality should be using another method to accomplish
977 the goals. So on reconsideration some of the workarounds
980 * registryd/deviceeventcontroller.c:
981 (spi_keycodes_contain, spi_dec_init_keycode_list):
982 Removed these methods, used only by a nasty hack to try
983 and detect whether a key synthesis should be allowed
984 to reset the XKB latch state or not. This code was only
985 required to work around an interaction between GOK,
986 button events, and XKB.
987 (impl_generate_key_event):
988 Removed hack at end of key generation that tried to
989 "do the right thing" if XKB latch keys were generated
990 in the midst of button press/release pairs.
993 Added a check for HAVE_XINPUT. Not normally used yet.
995 2002-11-25 Bill Haneman <bill.haneman@sun.com>
997 Workarounds and fixes for mouse event/XKB interaction.
999 * registryd/deviceeventcontroller.c:
1000 (spi_keycodes_contain, spi_dec_init_keycode_list):
1001 New internal methods.
1002 (spi_dec_set_unlatch_pending):
1003 Split the method that tells XKB to expect an
1004 unlatch (and revert it) out of the rest of the
1005 event handling code. This method is called by the
1006 two mouse event handlers (the poll and the filter).
1007 (spi_dec_update_and_emit, spi_dec_mouse_check):
1008 New methods split from spi_dec_poll_mouse_moved.
1009 The second one is now called from inside the filterFn
1010 when an XKB delatch event is received, to determine
1011 whether to revert the delatch or not.
1012 (spi_poll_mouse_moved): Refactor; also we can now
1013 properly handle the case where multiple button states
1014 have changed between polling cycles and we didn't get
1015 notified due to another client's grab.
1017 Synchronize the server while handling an XKB notification.
1018 Ugly, but apparently necessary to avoid nasty races.
1019 Check the mouse state on receipt of an XKB latch change,
1020 to decide whether to revert the latch or not. (Latches are
1021 reverted if there is an immediately preceding mouse button
1022 event that a client has consumed, in which case we don't want
1023 the user to see the side-effect of the event).
1024 (spi_device_event_controller_forward_mouse_event):
1025 Check for modifier events and fire before resetting mouse_mask_state,
1026 prevents losing modifier events.
1028 (impl_generate_keyboard_event):
1029 If we've just generated a keyboard event for a non-shift key,
1030 we don't want to revert the pending XKB latch.
1031 Otherwise, check the modifier state (via a call to
1032 spi_dev_mouse_check) and set the relatch mask to
1033 that state before returning.
1035 2002-11-24 Bill Haneman <bill.haneman@sun.com>
1038 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
1041 * atk-bridge/bridge.c:
1042 (spi_atk_register_event_listeners):
1043 Don't re-register for ATK events if the registry has died
1044 and the app needs to re-register; the ATK listeners are in
1045 process and doing so will cause duplicate emission.
1047 * registryd/deviceeventcontroller.c:
1048 (spi_poll_mouse_moved):
1049 Reformat the source, detect and emit multiple button-change
1050 events (i.e. if multiple buttons have changed between poll
1052 Add code to detect mouse-down events even when the pointer
1053 is grabbed; workaround for GOK bug 98420.
1054 (spi_controller_register_with_devices):
1055 Call XTestGrabControl with 'impervious' flag set to True,
1056 allows us to synthesize events and query the pointer even during
1057 an active grab by another client.
1058 (spi_device_event_controller_forward_mouse_event):
1059 Set the mouse_mask_state to the mouse_button_state from
1060 the intercepted event, to synchronize the grab listener with
1063 2002-11-20 Bill Haneman <bill.haneman@sun.com>
1065 * cspi/spi_accessible.c:
1066 (AccessibleRole_getName):
1067 Added necessary strings for making this (deprecated)
1068 method work with the new role types.
1069 (init_role_table, role_table):
1070 Added definition of SPI_ROLE_APPLICATION.
1072 * libspi/spi-roletypes.h:
1073 Added SPI_ROLE_APPLICATION.
1075 * idl/Accessibility_Role.idl:
1076 Added ROLE_APPLICATION.
1078 * docs/reference/cspi/at-spi-cspi-decl.txt:
1079 Added SPI_ROLE_APPLICATION to docs.
1081 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
1083 * cspi/spi_accessible.c
1084 (cspi_init_role_table): Do not write beyond end of role_table.
1085 (Accessible_getRole): Use correct type for value returned by
1086 Accessibility_Accessible_getRole().
1088 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
1089 beyond end of role_table. (This fixes bug #98269)
1091 * libspi/application.c: Add include file spi-private.h for
1092 definition of spi_init_any_nil.
1094 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1098 * libspi/spi-private.h:
1099 Added DGB() macro, and extern int _dbg declaration.
1101 * registryd/registry.c:
1102 (definitions) storage for _dbg.
1103 (spi_registry_init):
1104 Get environment variable "AT_SPI_DEBUG".
1105 (spi_registry_set_debug):
1106 New method, to initialize _dbg value.
1107 (spi_listener_struct_new, spi_registry_object_finalize):
1108 (notify_listeners_cb):
1109 Changed fprintfs to use DBG and g_warning().
1111 * registryd/deviceeventcontroller.c:
1112 (_deregister_keygrab, spi_controller_register_device_listener):
1113 Changed debug/warning messages to use DBG macro.
1115 * libspi/listener.c:
1116 (impl_notify_event):
1117 Changed warning messages to use DBG macro and g_warning().
1119 * atk-bridge/bridge.c:
1120 (atk_bridge_init, spi_atk_bridge_get_registry):
1121 (spi_atk_bridge_exit_func):
1122 (spi_atk_bridge_property_event_listener):
1123 Changed status, warning, and error messages to use
1124 g_warning, g_message, and DBG macros.
1127 Read the state of the AT_SPI_DEBUG environment variable
1128 and set a local '_dbg' accordingly.
1130 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1132 FIXES for 98836, 98842, other bugs.
1135 Revved to 1.1.4, interface-age=4, binary-age=4.
1137 * registryd/deviceeventcontroller.c:
1139 Fixed crasher bug in last_mouse_pos initialization.
1141 * registryd/registry.c:
1142 (desktop_add_application, desktop_remove_application):
1143 Added (and then commented out) some support for
1144 object context marshalling. [TODO]
1146 * atk-bridge/bridge.c:
1147 (spi_atk_bridge_event_context_create):
1148 Commented out object context creation until it can
1149 be properly tested and debugged.
1151 * registryd/registry.c:
1152 (impl_registry_notify_event):
1153 Fixed crasher bug, we were calling
1154 spi_re_entrant_list_foreach () with an empty list.
1156 2002-11-18 Bill Haneman <bill.haneman@sun.com>
1158 * idl/Accessibility_Action.idl:
1159 * idl/Accessibility_Component.idl:
1160 * idl/Accessibility_Desktop.idl:
1161 * idl/Accessibility_Event.idl:
1162 * idl/Accessibility_Hyperlink.idl:
1163 * idl/Accessibility_Image.idl:
1164 * idl/Accessibility_Relation.idl:
1165 * idl/Accessibility_Selection.idl:
1166 * idl/Accessibility_State.idl:
1167 * idl/Accessibility_Value.idl:
1168 Updated unimplemented slot count to minimum of
1169 four for all interfaces, for ABI freeze.
1171 * idl/Accessibility_EditableText.idl:
1172 * idl/Accessibility_Text.idl:
1173 Updated unimplemented slot count to six
1176 * idl/Accessibility_Registry.idl:
1177 Updated unimplemented slot count to six
1178 (also for DeviceEventController),
1181 * idl/Accessibility_Table.idl:
1182 Updated unimplemented slot count to eight,
1185 * idl/Accessibility_Event.idl:
1186 Added CORBA_any "any_data" member to Event struct.
1188 * idl/Accessibility_Event.idl:
1189 Added CORBA_any "any_data" member to Event struct.
1191 * atk-bridge/bridge.c:
1193 atk_signal_text_changed, atk_signal_child_changed,
1194 signal ids queried from gtype system.
1195 (AtkBridgeEventContextType): New enum.
1196 (AtkBridgeEventContextData): New struct.
1197 (AtkBridgeEventContext): New struct.
1198 (atk_bridge_init_event_type_consts):
1199 New method, initializes type contants for comparison
1200 prior to emit_eventv.
1201 (atk_bridge_event_context_init): New method,
1202 initializes a CORBA_any from an AtkBridgeEventContext.
1203 (atk_bridge_focus_tracker): Call spi_init_any_nil to
1204 initialize the event.any_data struct.
1205 (spi_atk_bridge_event_context_create): New method,
1206 creates an AtkBridgeEventContext from signal/event info.
1207 (spi_atk_bridge_event_context_free): New method.
1208 (spi_atk_emit_eventv): Changed to take an
1209 AtkBridgeEventContext parameter. We now initialize
1210 the event.any_data member prior to notifying the
1211 Registry, via the AtkBridgeEventContext.
1212 (spi_atk_bridge_property_event_listener):
1213 (spi_atk_bridge_state_event_listener):
1214 Match emit_eventv signature.
1215 (spi_atk_bridge_object_event_listener):
1216 Match emit_eventv signature, and create an
1217 event context from the event details.
1218 Free the event context afterwards.
1219 (spi_atk_bridge_window_event_listener):
1220 Create an event context, pass it to the
1224 (AccessibleEvent_getContextString):
1225 (AccessibleEvent_getContextObject):
1226 New methods, allow query of AccessibleEvent objects
1227 for more context details (via the "any_data" member
1228 of the Event struct, above).
1231 Definitions for AccessibleEvent_getContextString
1232 and AccessibleEvent_getContextObject.
1234 * cspi/spi_listener.h:
1235 (InternalEvent): New struct.
1238 (AccessibleEvent_getContextString):
1239 (AccessibleEvent_getContextObject):
1240 Implementations of new methods, for obtaining
1241 additional context information from some event types.
1243 * cspi/spi_registry.c:
1244 (SPI_registerGlobalEventListener):
1245 Added mention of active-descendant-changed event in docs.
1247 * cspi/cspi-bonobo-listener.c:
1249 Marshal the any into the AccessibleEvent via
1252 * libspi/spi-private.h:
1253 #include <orbit/orbit.h>
1255 (spi_init_any_string):
1256 (spi_init_any_object):
1257 New convenience function declarations.
1261 (spi_init_any_string):
1262 (spi_init_any_object):
1263 New convenience function implementations.
1265 * registryd/deviceeventcontroller.c:
1266 (spi_poll_dec_mouse_moved):
1267 (spi_device_event_controller_forward_mous_event):
1268 Initialize any_data member of event.
1269 (spi_deregister_controller_device_listener):
1270 Fix incorrect param pass which was preventing deregistration.
1272 * registryd/registry.c:
1273 (desktop_add_application):
1274 (desktop_remove_application):
1275 Add object data to event's any_data before dispatch.
1277 Fix for error messages from GAIL.
1279 * test/event-listener-test.c:
1280 Test new ContextString and "any_data" API:
1281 (report_text_event): New method query and output context string.
1282 (main): register a new text listener with report_text_event
1285 2002-11-19 Darren Kenny <darren.kenny@sun.com>
1287 Fixes for bugs 98127 and 97914.
1288 * cspi/spi-roletypes.h:
1289 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
1291 * cspi/spi-statetypes.h:
1292 Added SPI_STATE_MANAGES_DESCENDANTS
1294 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
1295 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
1296 * cspi/spi_accessible.c:
1297 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
1298 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
1299 Accessibility_STATE_MANAGES_DESCENDANTS
1300 * libspi/accessible.c:
1301 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
1302 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
1303 As requested by Bill, I also cleaned up the alignment.
1304 * libspi/relation.c:
1305 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
1306 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
1307 * libspi/stateset.c:
1308 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
1309 Accessibility_STATE_MANAGES_DESCENDANTS
1310 * docs/reference/cspi/tmpl/spi_accessible.sgml:
1311 Document changes reflecting modifications to roles.
1312 * docs/reference/cspi/tmpl/spi_relation.sgml:
1313 Document changes reflecting modifications to relations.
1314 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1315 Document changes reflecting modifications to states.
1317 2002-11-17 Bill Haneman <bill.haneman@sun.com>
1320 Revved to 1.1.3, interface-age=3, binary-age=3.
1321 Added REBUILD macro.
1324 Removed accessx-gui from the tests, since we have a nice
1325 keyboard accessibility capplet now :-)
1327 * test/keysynth-demo.c:
1328 (increment_scan): removed do-nothing default: case,
1331 * test/visual-bell.c:
1332 (main) : removed do-nothing default: case,
1335 * cspi/spi_action.c:
1336 (AccessibleAction_getKeyBinding_):
1337 Documented keybinding string format.
1341 (AccessibleText_getAttributes):
1342 Documented the text attribute string format.
1343 It's changed to use semicolon delimiters also,
1344 to prevent clashes with CSS attributes, but the old
1345 trick of looking for ", " strings will still work
1346 (as unreliably as ever). Fix for bug related to 97916.
1349 Include <cspi/bonobo/cspi-bonobo-listener.h>
1350 Fixes build warning.
1351 (SPI_freeAccessibleKeySet):
1352 (AccessibleKeystrokeListener_addCallback):
1353 (AccessibleKeystrokeListener_removeCallback):
1354 Modify to use AccessibleDeviceListener API internally,
1355 instead of AccessibleKeystrokeListener.
1357 * idl/Accessibility_Event.idl:
1358 Added two more empty slots to EventListener (for a total of four).
1360 * idl/Accessibility_Accessible.idl:
1361 Added four empty slots to Accessible interface.
1363 2002-11-15 Bill Haneman <bill.haneman@sun.com>
1365 * idl/Accessibility_Registry.idl:
1366 (KeyEventType, EventType):
1367 Marked KeyEventType as deprecated; it duplicates
1368 functionality of EventType, which has been extended to
1369 include Mouse-button events.
1370 (KeyEventTypeSeq): defined in terms of EventType.
1371 (registerDeviceEventListener, deregisterDeviceEventListener):
1372 New methods, for managing listeners to device events,
1373 which potentially may consume them.
1376 Added definition for AccessibleDeviceListener.
1378 * cspi/spi-listener.h:
1379 (enum AccessibleDeviceEventType):
1380 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
1381 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
1382 for backwards compat.
1383 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
1384 and typedef'd AccessibleKeystroke to it for back-compat.
1385 (AccessibleDeviceListenerCB):
1386 New function prototype typedef.
1389 (AccessibleDeviceEventMask): New typedef.
1390 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
1391 (AccessibleKeyMaskType):
1392 Set equivalent to AccessibleModifierMaskType for back-compat.
1393 (SPI_createAccessibleKeystrokeListener):
1394 (AccessibleKeystrokeListener_unref):
1395 Deprecated in favor of equivalent (better-named) new API below..
1396 keystroke listeners are like all device listeners.
1397 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
1398 New API names for old features :-).
1399 (AccessibleDeviceListener_addCallback):
1400 (AccessibleDeviceListener_removeCallback):
1401 (SPI_registerDeviceEventListener):
1402 (SPI_deregisterDeviceEventListener):
1406 (SPI_createAccessibleKeystrokeListener):
1407 Use new preferred API, cspi_device_listener_new() and
1408 cspi_device_listener_add_cb().
1409 (AccessibleKeystrokeListener_removeCallback):
1410 Use new preferred API, cspi_device_listener_remove_cb().
1411 (AccessibleKeystrokeListener_unref):
1412 Use new preferred API, cspi_device_listener_unref().
1413 (SPI_createAccessibleDeviceListener):
1414 (AccessibleDeviceListener_addCallback):
1415 (AccessibleDeviceListener_removeCallback):
1416 Implementation of new API.
1418 * cspi/spi_registry.c:
1419 (SPI_registerDeviceEventListener):
1420 (SPI_deregisterDeviceEventListener):
1421 Implementation of new API. Fixed memory leak and removed need to
1422 allocate EventTypeSeq (thanks Michael for catching this).
1423 Squashed a wayward CORBA_exception_free that shouldn't get called.
1425 * cspi/bonobo/cspi-bonobo-listener.c:
1427 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
1428 (cspi_key_event): renamed to cspi_device_event().
1429 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
1430 Extended to handle mouse button events as well as key events.
1431 (CSpiKeystrokeListener):
1432 Class superceded by CSpiDeviceListener.
1433 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1434 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1436 * cspi/bonobo/cspi-bonobo-listener.h:
1437 (CSpiKeystrokeListener):
1438 Class superceded by CSpiDeviceListener.
1439 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1440 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1442 * libspi/Makefile.am:
1443 Replaced keystrokelistener.h and keystrokelistener.c
1444 with devicelistener.h and devicelistener.c; keystrokelisener.h
1445 stub retained for back-compat.
1447 * libspi/keystrokelistener.c:
1451 Replaced inclusion of keystrokelistener.h with devicelistener.h.
1453 * registryd/deviceeventcontroller.c:
1454 (DEControllerListener): Added Accessibility_EventTypeSeq member.
1455 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
1456 (DEControllerPrivateData): Added xkb settings data.
1457 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
1458 button release events (which can't be captured via XGrabButton).
1459 Don't dispatch via the 'normal' event mechanism if the device event was
1461 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
1462 Handle the typeseq data in its new location (see above).
1463 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
1464 New methods, for "generic" device listeners.
1465 (spi_controller_register_device_listener):
1466 Now handle mouse event listeners as well as key listeners.
1467 (spi_controller_notify_mouselisteners):
1468 New internal method.
1469 (spi_device_event_controller_forward_mouse_event):
1470 Now we notify mouse device listeners as well as generating the
1471 non-consumable "mouse:" events.
1473 We must check and restore the XKB
1474 modifier map if we consume the event, since the act of triggering
1475 a mouse event will normally reset the XKB latch. This is required for
1477 (spi_controller_register_with_devices):
1478 Load the XKB settings when registering, and register for XKB
1479 state notify events.
1480 (spi_key_eventtype_seq_contains_event):
1481 Renamed spi_eventtype_seq_contains_event, since it's used
1482 internally for all device event types now.
1483 (spi_key_event_matches_listener):
1484 Uses spi_eventtype_seq_contains_event now.
1485 (spi_device_event_controller_object_finalize):
1486 Free the private data and the XkbKeyboard struct.
1487 (impl_register_device_listener, impl_deregister_device_listener):
1488 Implementation of new IDL.
1489 (spi_deregister_controller_device_listener):
1490 New internal method.
1491 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
1492 More efficient implementation, we don't have to create a new
1493 XkbControls structure every time we query.
1494 (spi_device_event_controller_class_init):
1495 Initialize the epv entries for the new IDL. Assign the
1496 "spi-dec-private" quark.
1497 (spi_device_event_controller_init):
1498 Initialize the private data.
1499 (spi_device_event_controller_forward_key_event):
1500 Removed a bogus CORBA_exception_free() call.
1502 * registryd/deviceeventcontroller.h:
1503 Replaced inclusion of keystrokelistener.h with
1506 * test/event-listener-test.c:
1507 (report_mouse_event):
1510 Added mouse-event device listener.
1512 * test/test-simple.c:
1513 (create_test_window):
1514 Fixed regression (we were instantiating a GtkRange,
1515 which is now an abstract class). Also fixed to match
1516 existing AtkRole names, this seems to have changed in ATK
1517 awhile ago; too late now I think, and the new
1518 mechanism is at least elegant and consistent with the
1519 glib enum "nick" APIs.
1521 2002-11-15 Darren Kenny <darren.kenny@sun.com>
1523 * idl/Accessibility_Relation.idl:
1524 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
1525 RELATION_EMBEDS,RELATION_EMBEDDED_BY
1526 * idl/Accessibility_Role.idl:
1527 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
1528 * idl/Accessibility_State.idl:
1529 add STATE_MANAGES_DESCENDANTS
1530 * test/event-listener-test.c:
1531 Added a listener for active-descendant events.
1533 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
1535 * atk-bridge/bridge.c
1536 (atk_bridge_init): If application is Bonobo component wait until top
1537 level is added before registering
1538 (spi_atk_bridge_do_registration): New function which contains code,
1539 formerly in atk_bridge_init, to do application registration.
1540 (spi_atk_bridge_toplevel_added): Signal called when top level
1541 added to Bonobo component
1543 This fixes bug #83134.
1545 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
1547 * registryd/deviceeventcontroller.c
1548 Fixed compilation error caused by calling gettimeofday()
1551 2002-10-18 Bill Haneman <bill.haneman@sun.com>
1556 Added template for HAVE_XKB.
1559 Changes to check for XKB, and to set the HAVE_XKB #define if it
1562 * libspi/listener.c:
1563 ()impl_notify_event): Make failure to get event source name
1566 * registryd/deviceeventcontroller.c:
1567 (#include): include X11/XKBlib.h.
1568 (DEControllerPrivateData) : New struct.
1569 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
1571 (dec_synth_keycode_press) (dec_synth_keycode_release):
1572 New methods; split the key synthesis code into these methods.
1573 They check XKB settings before determining the "time" values to
1574 pass to Xtest; this fixes bug #95828.
1575 (impl_generate_keyboard_event): Changed to use methods above,
1576 instead of callng Xtest directly.
1577 (spi_device_event_controller_init): Initialize new privae struct s
1579 (spi_device_event_controllr_object_finalize):
1580 Free the (new) private data.
1582 * registryd/deviceeventcontroller.h:
1583 Add new gpointer to end of struct data.
1585 2002-10-16 Bill Haneman <bill.haneman@sun.com>
1588 Incremented revision to 1.1.2, SONAME is still '.so', library
1589 extensions are ".so.0.0.2".
1591 * registryd/deviceeventcontroller.c:
1592 FIXES FOR #93592 and #95940.
1593 (statics): renamed mouse_button_state to mouse_mask_state,
1594 added key_modifier_mask.
1595 (spi_dec_poll_mouse_moved):
1596 Added key modifier checks, and emit "keyboard:modifiers"
1597 events when the key modifiers currently in use change.
1598 Also generate "mouse:abs" events periodically, even if the mouse
1599 is stationary (should we?).
1600 Alternatively we could generate "mouse:abs" events for either all
1601 mouse movements, or every 'nth' mouse movement, or at the
1602 beginning and end of every "active" mouse period.
1604 * test/event-listener-test.c:
1605 (main): Added listener for "keyboard:modifiers" events.
1607 2002-10-15 Bill Haneman <bill.haneman@sun.com>
1609 * libspi/keymasks.h:
1610 Added key mask #defines for mouse buttons; e.g.
1611 SPI_KEYMASK_BUTTON1, etc.
1614 Incremented dependency on ATK to version 1.1.0. (This dependency
1615 is probably premature but will soon be real enough).
1617 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
1619 * libspi/hyperlink.[ch]
1620 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
1621 (get_hyperlink_from_servant): Check object is AtkHyperlink not
1624 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
1629 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
1631 * registryd/deviceeventcontroller.c
1632 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
1633 events to be ignored.
1634 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
1635 keyboard_mode so that XAllowEvents() can be called.
1639 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
1641 * cspi/spi-accessible.c: Correct names of roles returned by
1642 AccessibleRole_getName(). Fixes bug #95055.
1644 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
1646 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
1649 * registryd/registry.c
1650 (desktop_remove_application: Write diagnostic message to stderr for
1653 (impl_accessibility_registry_deregister_global_event_listener):
1654 Correct size of lists array. This addresses bug #94555).
1656 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
1658 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
1661 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
1663 * registryd/Makefile: Add CLEANFILES so that .server file is removed
1666 * registryd/registry.c (impl_registry_notify_event): Remove
1667 unnecessary call to parser_event_type().
1669 * docs/reference/cspi/tmpl/spi_component.sgml:
1670 Add reference to SPI_LAYER_WINDOW.
1672 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
1674 * registryd/registry.c
1675 (desktop_add_application): Remove leak.
1676 (desktop_remove_application): Remove leak.
1677 (parser_event_type): Remove leak.
1679 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
1681 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
1682 bogus call to CORBA_string_dup(). Also removed unnecessary
1683 g_string_dup/g_free calls.
1685 2002-09-13 Bill Haneman <bill.haneman@sun.com>
1687 * registryd/deviceeventcontroller.c:
1688 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
1690 * test/event-listener-test.c:
1691 main: commented out three redundant listeners, to reduce output
1692 noise. (They still are potentially useful for testing).
1695 2002-09-13 Michael Meeks <michael@ximian.com>
1697 * Update all the copyrights to include Ximian.
1699 2002-09-06 Mark McLoughlin <mark@skynet.ie>
1701 * cspi/spi.h: add SPI_LAYER_WINDOW.
1703 * cspi/spi_component.c: (AccessibleComponent_getLayer):
1704 add Accessibility_LAYER_WINDOW case.
1706 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
1708 * libspi/component.c: (impl_accessibility_component_get_layer):
1709 add ATK_LAYER_WINDOW case.
1711 2002-08-28 Bill Haneman <bill.haneman@sun.com>
1713 * configure.in: incremented micro version.
1715 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
1717 2002-08-20 Bill Haneman <bill.haneman@sun.com>
1720 Clarified and reworded our commit policy.
1723 Started an API "todo" addition list for 2.2.
1726 (impl_getSelection):
1727 Free char pointer from atk_text_get_selection, which was being leaked.
1729 2002-08-19 Bill Haneman <bill.haneman@sun.com>
1732 Small revision to author acknowledgement.
1734 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1736 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
1737 If signal has detail add it to the type of the event.
1740 2002-08-12 Michael Meeks <michael@ximian.com>
1742 * test/test-simple.c (global_listener_cb): bin bogosity.
1743 (test_keylisteners): disable, still doesn't work reliably,
1744 certainly not on my system anyway.
1746 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
1747 don't leak a reference on the DEC. This round-trip
1748 fetching of the DEC per keystroke sucks, it should be
1751 * cspi/spi-private.h,
1752 * cspi/cspi-lowlevel.h,
1753 * cspi/bonobo/cspi-bonobo-listener.[ch],
1754 * cspi/bonobo/cspi-bonobo.c: get the copyright
1755 notices better - there is still a large amount of
1756 work in at-spi falsely attributed solely to Sun.
1758 * cspi/spi_main.c (cspi_object_ref): kill bogus
1759 hash lookup, just increment the ref.
1760 (SPI_freeString): make explicit the fact that we
1761 handle NULL strings just fine.
1762 (report_leaked_ref): obey coding standards.
1763 (cspi_object_hash, cspi_object_equal): kill retval.
1764 (cspi_object_release): only release if not on loan.
1765 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
1766 (cspi_object_borrow, cspi_object_return): impl.
1768 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
1769 use cspi_object_borrow / return.
1771 2002-08-12 Darren Kenny <darren.kenny@sun.com>
1773 * cspi/bonobo/cspi-bonobo-listener.c:
1775 Don't call cspi_oject_new() because this is creating a new Accessible
1776 every single time that an event is fired. This causes ATs like at-poke
1777 to nolonger recognise the source of the event and thus ignore it.
1778 Re-use the object from the cache, ref it and then unref it after the
1779 listeners have been called.
1781 2002-08-06 Darren Kenny <darren.kenny@sun.com>
1783 * test/event-listener-test.c:
1784 Added command-line options to disable mouse events (m) and
1787 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
1789 * configure.in: Update required versions of ATK, GTK+ and GAIL
1791 * cspi-1.0.pc.in: Add dependency for X include files
1794 * cspi/bonobo/Makefile.am:
1795 Add $(X_CFLAGS) so that X include files
1796 are picked up even if not in standard place (bug #71686)
1798 2002-06-25 Bill Haneman <bill.haneman@sun.com>
1800 * registryd/deviceeventcontroller.c: fix for 84261
1801 (spi_dec_mouse_moved):
1802 Added test of mouse button mask, so that we can detect mouse
1803 button release. Unfortunately we can't otherwise detect mouse
1804 button release events without consuming the mouse press event,
1805 because of the way XGrabButton works. This means that our mouse
1806 release events have a latency dependent on the polling period
1807 while the mouse button is down. At least in this case we only
1808 have to poll while the button is down, and not at other times.
1809 If the button masks don't match with what the last press event
1810 reported, we report the appropriate button release event.
1811 (spi_dec_ungrab_mouse):
1812 New method (not yet called).
1813 (spi_device_event_controller_forward_mouse_event):
1814 New method, sends mouse press event from GdkFilter.
1815 (spi_dec_init_mouse_listener):
1816 Added code to call XGrabButton, redirecting mouse button events to
1817 the root window and our Gdk event loop.
1819 Added code to filter mouse button events, and reordered.
1821 * test/event-listener-test.c:
1823 Added registration for mouse events of type "mouse:button".
1825 2002-06-25 Bill Haneman <bill.haneman@sun.com>
1827 * registryd/deviceeventcontroller.c: partial fix for 84261
1828 (spi_dec_poll_mouse_idle):
1829 New method, a timeout which checks to see if the mouse
1831 (spi_dec_poll_mouse_moving):
1832 A timeout to be called when mouse motion is underway.
1833 (spi_dec_poll_mouse_moved):
1834 A method which fires an event if the mouse has moved, and reports
1835 whether or not it did so.
1836 (spi_dec_init_mouse_listener):
1837 A method which sets up the timeouts above.
1838 (spi_device_event_controller_new):
1839 Now calls spi_dec_init_mouse_listener.
1841 * registryd/registry.c:
1842 (spi_registry_init):
1843 Now we initialize the device event controller when the registry is
1844 initialized, instead of waiting until a client has requested a key
1845 event notification; this is because we need the event controller
1846 for mouse events, but the mouse event registration API is a
1847 "registry" call and doesn't explicitly call the
1848 deviceeventcontroller.
1849 We now report mouse motion events with a 100 ms idle latency and
1850 a 20 ms granularity when motion is in progress.
1852 * test/event-listener-test.c:
1854 We now register the "detail listener" for events of type
1855 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
1856 delivered only for the first mouse event received, and thereafter
1857 "mouse:abs" events are delivered.)
1859 * cspi/spi_registry.c:
1860 DOCS: Documented the above mouse event typestrings.
1862 2002-06-21 Bill Haneman <bill.haneman@sun.com>
1864 Happy Summer Solstice...
1866 * registryd/deviceeventcontroller.c: [fix for bug 84100]
1867 (spi_controller_notify_keylisteners):
1868 Changes to remove a listener from the listener list, freeing its
1869 open keygrabs, if a notification to that listener fails. This
1870 means that although a dead listener can continue to hold a passive
1871 keygrab, a maximum of one dispatch to such a listener can fail
1872 before the listener is removed from the list, thus the keygrab
1873 will be released on the next occurrence.
1874 As part of this fix:
1875 (spi_notify_keylisteners):
1876 Renamed to spi_controller_notify_keylisteners, as the controller
1877 instance must now be passed as an argument.
1878 The copied 'notify' GList is now a list of DEControllerKeyListener
1879 objects, since we need more than just the CORBA reference if a
1880 notify fails and we need to deregister the listener.
1881 (impl_notify_listeners_sync):
1882 (impl_notify_listeners_async):
1883 (spi_device_event_controller_forward_key_event):
1884 Modify use of notify_keylisteners in accordance with above
1886 (spi_deregister_controller_key_listener):
1887 New method introduced by refactoring, from
1888 impl_deregister_keystroke_listener.
1889 (impl_deregister_keystroke_listener):
1890 Call spi_deregister_controller_key_listener.
1891 (spi_key_listener_clone):
1892 New method to copy a key listner without doing a 'ref' on the
1893 remote object instance; used to create a notifier list.
1894 (spi_key_listener_data_free):
1895 New method, frees data without unreffing the source.
1897 (spi_key_listener_clone_free): new method.
1898 (spi_key_listener_free):
1899 refactored to call spi_key_listener_data_free.
1901 2002-06-20 Bill Haneman <bill.haneman@sun.com>
1903 * registryd/registry.c: [fix for bug 86048]
1904 (notify_listeners_cb):
1905 Clear CORBA system exceptions which occur when notifying
1906 listeners, before returning to the source of the original event,
1907 since the event source doesn't care if the relayed notify failed.
1908 In other words, don't complain to the atk-bridge if the registry
1909 could not notify all its listeners, that's no fault of the
1910 application and thus should not appear to be an error from the
1911 application's perspective.
1913 * cspi/spi_main.c: [fix for bug 85980]
1915 Replaced use of bonobo_object_dup_ref with call to the wrapper
1916 method, csou_dup_ref (); this silences a compiler warning and
1917 provided more portability.
1919 Ping the registry before return, and restart if necessary.
1921 * cspi/bonobo/cspi-bonobo.c:
1923 New internal method.
1925 Fixed this method to return an object reference, as it should have
1928 * cspi/cspi-lowlevel.h:
1929 Added internal definition for cspi_ping() and fixed
1930 return type of cspi_dup_ref().
1933 2002-06-19 Bill Haneman <bill.haneman@sun.com>
1935 * atk-bridge/bridge.c: [fix for bug 85305]
1936 (spi_atk_bridge_register_application):
1937 New method where the initial application registry calls have been
1938 moved; it allows an application to re-register in response to
1939 certain error conditions (such as a registry restart, see below).
1941 Moved some initialization code to the method
1942 spi_atk_bridge_get_registry, below.
1943 (spi_atk_bridge_get_registry):
1944 New, private accessor function for the Accessibility_Registry
1945 instance. If the registry has not been started before, or has
1946 died (as detected by failure of a CORBA exception), it is
1947 restarted before return, and spi_atk_bridge_register_application
1948 is called again to register with the new bridge instance.
1949 (spi_atk_emit_eventv):
1950 Set registry_died on error; use spi_atk_bridge_get_registry () to
1951 access the registry.
1953 * registryd/registry.c:
1954 (impl_accessibility_registry_register_global_event_listener):
1955 Set listener's event_type_quark to etype.minor instead of
1956 etype.major (fix for bug 84856).
1958 * test/event-listener-test.c:
1959 (report_detail_event):
1960 Change the output string so that user/tester can tell that the
1961 'detail listener' was called instead of the 'generic listener'.
1963 2002-06-18 Bill Haneman <bill.haneman@sun.com>
1965 Fixes for bugs 84900, 84908, 84897, 84898.
1970 Revved version to 1.1.0
1971 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
1972 version is going to HEAD which will be used for gnome-2-0-1 and later.)
1974 * idl/Accessibility_Registry.idl:
1975 (EventListener::notifyEvent):
1976 Removed 'oneway' directive after extensive consulation with
1977 ORBit2 team and others. This means also that unref() of the event
1978 source can and should be done synchronously after emission, rather
1979 than remotely in the client, after servicing the notify call on
1982 NOTE: This change speeds up listener performance considerably, but
1983 introduces new latency on the application side. We may want to
1984 add an event queue to the atk-bridge.
1986 * atk-bridge/bridge.c:
1987 (spi_atk_bridge_focus_tracker):
1988 Do a local unref() on the event source after emission.
1990 * registryd/registry.c:
1991 (desktop_remove_application):
1992 Do an unref() on the event source after emission.
1993 (desktop_add_application):
1994 Do an unref() on the event source after emission.
1995 (notify_listeners_cb):
1996 When relaying an event, don't automatically add the event source
1997 to the local object cache, just CORBA_dup it instead. Likewise,
1998 if this method reenters, release the ref rather than calling
2000 (impl_registry_notify_event):
2001 No longer call remote unref() on the event source after dispatch.
2003 * libspi/eventlistener.c:
2004 (impl_accessible_event_notify_event):
2005 Removed remote unref ()
2007 * cspi/bonobo/cspi-bonobo-listener.c:
2009 We now call cspi_object_new() instead of cspi_object_add() on
2010 receipt of an event; thus we only have an implicit object ref
2011 while the cspi_event method is being executed. If we need to keep
2012 a reference to the object, the listener must call ref() on the
2013 object. Thus also we don't need to call cspi_object_unref() after
2014 invoking the listener callbacks in this method.
2018 New internal API for creating a new cspi object, without adding it
2019 to the object cache.
2021 Now uses cspi_object_new() to create the cspi object instance.
2023 Now checks to see if the object is in the internal object cache,
2024 and adds it if necessary before incrementing its refcount (note
2025 that new objects are added with a refcount of 1).
2026 (report_leaked_ref):
2027 New method which gives some information on leaked object instances
2028 if leak detection is turned on.
2030 * test/event-listener-test.c:
2031 (timing_test_event):
2032 New method, used for testing event delivery timing for special
2033 events of type "object:test". It reports elapsed time and
2034 events/sec every 500 events.
2036 Added a new listener, 'test listener', to check timing of event
2037 receipt as noted above.
2039 Added some timing output here also, reports elapsed time every 100
2042 * test/stress-test.c:
2043 Emit events of type "object:test", for use with "event-listener-test".
2045 * test/test-simple.c:
2046 (global_listener_cb):
2047 Call Accessible_ref() on the event source before calling
2048 validate_accessible, since the validation process does pointer
2049 comparisons on the event source, meaning that the event source
2050 needs to be added to the local object cache first. Any use of
2051 such pointer comparisons between Accessible objects requires that
2052 the caller hold an explicit reference to those objects.
2053 We also must therefore call Accessible_unref() when leaving this method.
2055 2002-06-13 Bill Haneman <bill.haneman@sun.com>
2057 * registryd/deviceeventcontroller.c:
2058 (spi_controller_update_key_grabs):
2059 Fix for #84735, subsequent keygrab listeners not informed of
2060 registration failure.
2063 (spi_base_construct):
2064 Add an assertion on construct, to make sure the GObject passed in
2065 is really a GObject.
2067 Explicitly initialize object->gobj pointer to NULL;
2069 * cspi/bonobo/cspi-bonobo-listener.c:
2070 (cspi_object_add_ref):
2071 New method, can specify whether to dup-ref a bonobo object passed
2072 in if it's newly added to the object cache.
2074 Now calls cspi_object_add_ref with second param of "FALSE". This
2075 prevents us from doing a pointless dup-ref followed by
2076 release-unref for all those cases where the object is already in
2077 our object cache (fix for #85205).
2079 * atk-bridge/bridge.c:
2080 (spi_atk_bridge_idle_init):
2081 Removed this method, we don't need to initialize in an idle
2084 Changed to call spi_atk_register_event_listeners directly, not via an
2085 idle handler. (fix for #81139)
2086 (gnome_accessibility_module_shutdown):
2087 Removed conditional around deregistration of listeners, since we
2088 don't use the idle handler and thus have always registered when
2090 (spi_init_keystroke_from_atk_key_event):
2091 Changed references to Accessibility_KEY_PRESSED to
2092 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
2094 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2096 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
2101 * test/stress-test.c:
2104 (may have been an incomplete commit yesterday?)
2106 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2109 Added target for new stress-test.
2111 * test/stress-test.c:
2112 New test, sends 1000 focus notifies in quick succession.
2114 * test/key-listener-test.c:
2115 Now we report whether a keylistener registration
2116 request succeeded or failed.
2118 * test/event-listener-test.c:
2119 Uncommented some listeners which are now implemented.
2122 2002-06-06 Bill Haneman <bill.haneman@sun.com>
2124 * registryd/deviceeventcontroller.c:
2125 (spi_controller_update_key_grabs):
2126 Fix for #82509, lack of failure notification when
2127 ALL_WINDOWS keygrabs fail due to XGrabKey
2128 failure: we synchronize the server when
2129 registering a passive grab, to make sure we get the
2130 error message before the call returns.
2132 2002-06-03 Bill Haneman <bill.haneman@sun.com>
2134 * test/test-simple.c:
2136 Removed #ifdef KEY_IMPL_WORKS guards.
2137 (test_keylisteners):
2138 Removed #ifdef KEY_IMPL_WORKS guards.
2139 Fixed bug which was causing a hang waiting for a
2140 "press" event (which was already overwritten by a "release"
2141 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
2143 Added code to set globals 'key_press_received' and
2144 'key_release_received'.
2147 Added section "1.1 API Proposed Additions" which
2148 lists API additions desired for at-spi-1.1 (only one so far).
2149 Updated TODO list a little.
2151 2002-06-02 Bill Haneman <bill.haneman@sun.com>
2153 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
2156 * configure.in: Revved to 1.0.0.
2158 * idl/Accessibility_Registry.idl:
2159 (registerKeystrokeListener):
2160 Added boolean return value.
2162 * registryd/registry.c:
2163 (notify_listeners_cb): Minor fix to debug output.
2165 * registryd/Accessibility_Registry.server.in.in:
2166 Revved version number in OAFIID to 1.0.
2168 * registryd/registryd.c:
2170 Use new OAFIID version.
2172 * cspi/bonobo/cspi-bonobo.c:
2174 Use new OAFIID version.
2180 * atk-bridge/bridge.c:
2182 Use new OAFIID version.
2184 * registryd/deviceeventcontroller.c:
2185 (impl_register_keystroke_listener):
2186 Added CORBA_boolean return value.
2187 (spi_controller_register_device_listener):
2188 Added gboolean return value.
2189 (spi_controller_register_global_keygrabs):
2190 Added gboolean return value.
2191 (spi_key_set_contains_key):
2192 Added implementation for many more control keys,
2193 for instance F1-F12, arrow keys, End, Home, Page_Up,
2195 [TODO: some still not implemented].
2197 * text/screen-review-test.c:
2198 (text_chunk_pad_string):
2199 New function: it provides mapping between coordinate
2200 positions of text chunks and character positions in the
2201 screen-review-line output string.
2202 (text_chunk_to_string):
2203 New function, calls text_chunk_pad_string with various
2204 pad/delimiter characters. Pushbuttons are delimited with
2205 square brackets, Frames with vertical 'pipe' lines, and
2206 other text with double quotes.
2207 (text_chunk_list_to_string):
2208 Calls new function text_chunk_to_string.
2209 (toplevel_composite):
2210 New function to composite layers CANVAS through
2211 POPUP in each toplevel (other layers are composited
2212 across toplevels, i.e. BACKGROUND and OVERLAY).
2213 (review_buffer_composite):
2214 Revise to use new methods.
2220 2002-05-31 Laszlo Peter <laca@sun.com>
2222 * configure.in: add the Xtst libdir to the runpath on Solaris,
2223 since it's not in the default library search path.
2225 2002-05-29 jacob berkman <jacob@ximian.com>
2227 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
2229 2002-05-29 Bill Haneman <bill.haneman@sun.com>
2231 * test/screen-review-test.c:
2232 (text_chunk_pad_string):
2233 Added method, which pads the string according to the
2234 text bounds of the chunk. It also takes a 3-character
2235 string as a param which indicates the characters to be
2236 used for start, padding, and end delimitation of the chunk.
2237 (text_chunk_to_string):
2238 Changed to use text_chunk_pad_string.
2240 * configure.in: Fixed bug in AC_OUTPUT that was
2241 causing path substitution in Accessibility_Registry.server
2244 2002-05-23 Bill Haneman <bill.haneman@sun.com>
2246 * text/screen-review-test.c:
2247 (guess_string_clip):
2248 New method which attempts a best-guess at clipping
2249 text from components (like Java labels) which don't
2250 actually implement AccessibleText. This inaccurate
2251 clip is based on the assumption that the label is
2252 justified left-and-right, and monospaced.
2253 (text_chunk_get_clipped_string):
2254 We now call guess_string_clip() for text-containing
2255 components that don't implement AccessibleText.
2257 * test/screen-review-test.c:
2258 (review_buffer_get_text_chunk):
2259 We now pull "name" from labels if they do not implement
2260 AccessibleText (i.e. for Java labels).
2261 (get_screen_review_line_at):
2262 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
2265 Replaceded AC_OUTPUT target
2266 registryd/Accessibility_Registry.server with
2267 registryd/Accessibility_Registry.server.in.
2269 * registryd/Accessibility_Registry.server.in:
2270 Removed (this is now a Makefile target).
2272 * registryd/Accessibility_Registry.server.in.in:
2273 Added (source for target above). We now use $(libexecdir) as
2274 prefix for the executable at-spi-registryd.
2276 * registry/Makefile.am:
2277 Now install at-spi-registryd into $(libexecdir), and build .server
2278 file with path (see above).
2280 2002-05-22 Bill Haneman <bill.haneman@sun.com>
2282 * test/screen-review-test.c:
2283 (text_chunk_get_clipped_string):
2284 We now check to see if words fall within clip bounds
2285 before resorting to character-by-character clip bounds testing.
2287 * TODO: Added a section for "2.2 Proposed API Additions".
2289 2002-05-21 Bill Haneman <bill.haneman@sun.com>
2291 * test/screen-review-test.c:
2293 Added a screen review benchmarking and test program to test
2296 * cspi/spi_accessible.c:
2298 Made some of the debug strings passed to cspi_check_ev a
2299 little more specific.
2301 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
2303 * test/screen-review-test.c: Fix crashes in debug statements
2305 2002-05-20 Bill Haneman <bill.haneman@sun.com>
2307 * test/screen-review-test.c: Added this file.
2309 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2311 * atk-bridge/bridge.c: changed "object:state-change" to
2312 "object:state-changed" to match docs.
2314 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2316 * atk-bridge/bridge.c: Hooked up state-change event details.
2318 2002-05-11 Bill Haneman <bill.haneman@sun.com>
2320 * registryd/registry.c:
2321 Fixed quarking bug in event string parsing; now events with
2322 detail parameters get matched correctly to listeners.
2325 * util/idl/Magnifier.idl: remove.
2327 * util/*.[ch]: Remove.
2328 Magnification utilities and IDL are now in module gnome-mag.
2330 2002-05-10 Bill Haneman <bill.haneman@sun.com>
2332 * registryd/deviceeventcontroller.c:
2333 Fixed bug in grab key conversion which was causing keycode grabs
2334 to be converted to AnyKey grabs.
2337 updated NEWS file to reflect recent spin-off of gnome-mag.
2339 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
2341 * cspi/spi_accessible.c: Added exception checks. Fixed completely
2342 busted AccessibleStateSet_compare. Removed redundant casts.
2344 * cspi/spi-action.c: Removed redundant casts.
2346 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
2348 * cspi/spi_component.c: Fixed typos and casting error.
2350 * cspi/spi_editabletext.c: Removed redundant casts.
2352 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
2354 * cspi/spi_hypertext.c: Eliminated redundant casts.
2356 * cspi/spi_image.c: Eliminated redundant casts.
2358 * cspi/spi_registry.c: Eliminated redundant casts.
2359 SPI_deregisterGlobalEventListenerAll () removed retval variable.
2360 * cspi/spi_selection.c: Removed redundant casts.
2361 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
2362 handling. Screen geometry and text offsets were being returned as 0
2363 on error which is technically valid-- changed these to return -1.
2364 Added marshaller for text boundary types to fix bug with boundary
2365 types being passed incorrectly to atk.
2367 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2370 * cspi/spi_registry.c:
2371 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
2372 which was uncovered by the recent key changes.
2374 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2376 * test/event-listener-test.c:
2378 Added new test, "event-listener-test";
2379 this code does two things; it benchmarks traversal time
2380 for the accessible hierarchy for the first running accessible
2381 app, and it connects listeners for all supported event types.
2382 It is thus useful as an example event listener and for
2383 diagnostics/debugging of event generation.
2385 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2388 Removed unnecessary dependency on libutil.
2391 Revved micro version: 0.13.1
2393 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2396 Removed util/Makefile from targets.
2399 Removed util subdir from SUBDIRS (temporarily,
2400 pending removal of magnifier-only code
2404 #ifdef-ed out magnifier dependencies, since
2405 magnifier IDL, headers, and binary now live in
2406 module gnome-mag and we don't want at-spi to depend
2407 on gnome-mag. A magnifier demo which can run alongside
2408 simple-at is forthcoming in the gnome-mag module.
2410 NOTE: Split magnifier binary, IDL, and magnification
2411 activation code from at-spi into module gnome-mag.
2413 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
2415 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
2416 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
2418 2002-05-03 Bill Haneman <bill.haneman@sun.com>
2421 Revved to version 0.13.0
2423 * idl/Accessibility_Registry.idl:
2424 Changed definition of KeySet from sequence of longs to sequence of
2425 KeyDefinitions, and added KeyDefinition struct.
2426 Required for fix to bug 80616.
2428 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
2429 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
2430 to use new definition (see above).
2432 * registryd/deviceeventcontroller.c: handle_keygrab(),
2433 spi_keyset_contains_key():
2434 Changed to make use of new struct; this allows matching based on
2435 string key-name, for instance "Tab". This also allows matching of
2436 composed characters, non-alphanumeric characters in a way that
2437 doesn't involve dependencies on X keysym codes directly, etc.
2439 * test/key-listener-test.c:
2440 Added test for Alt-Tab key using "string" specification of keyset,
2441 and modified one of the tests to use a keycode-based keyset.
2442 Thus this test both tests and demonstrates the creation and use of
2443 keysets of three forms: specified via keycode array,
2444 keysym array, and string array. (The string case only contains a
2445 single string, i.e. a string array of length 1).
2448 Turned on PRINT_TREE option by default. Also fixed a
2449 string-freeing bug in the PRINT_TREE code.
2450 Added a listener to window:minimize events.
2452 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
2454 * atk-bridge/bridge.c:
2455 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
2456 for window:activate and window:deactiveate
2457 (atk_bridge_property_event_listener atk_bridge_signal_listener
2458 atk_bridge_window_event_listener) Tidy debug code
2460 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
2462 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
2463 Fixed handling for NULL return value from ATK.
2465 * libspi/action.c libspi/component.c libspi/editabletext.
2466 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
2467 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
2468 Removed redundant casts.
2470 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
2471 Fixed off by one bug.
2473 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
2474 function not present in idl)
2476 2002-05-02 jacob berkman <jacob@ximian.com>
2478 * atk-bridge/Makefile.am: make atk-bridge a real module
2480 2002-04-26 Radek Doulik <rodo@ximian.com>
2482 * libspi/stateset.c (spi_init_state_type_tables): fix size of
2483 atk_state_types table
2485 2002-04-22 jacob berkman <jacob@ximian.com>
2488 * libspi/Makefile.am: add deps on the built files to help
2489 automake, and don't version the ORBit typelib
2491 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
2493 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
2494 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
2495 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
2496 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
2497 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
2498 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
2499 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
2500 libspi/accessible.h libspi/accessible.h libspi/base.h
2501 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
2502 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
2503 libspi/relation.h libspi/remoteobject.h libspi/selection.h
2504 libspi/spi-private.h libspi/statetset.h libspi/table.h
2505 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
2506 util/mag_client.h util/mag_control.c util/mag_image.c
2507 util/mag_image.h util/magnifier.c util/magnifier.h:
2508 Add missing file headers; standardize existing ones
2510 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
2512 * atk-bridge/bridge.c: Added window event support.
2514 2002-04-18 Michael Meeks <michael@ximian.com>
2516 * libspi/relation.c (impl_getNTargets): impl.
2517 (impl_getTarget): impl.
2519 * libspi/Makefile.am: fix stateset install.
2521 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2524 Started putting useful info in this file.
2526 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
2528 * atk-bridge/bridge.c:
2529 Propagate state-changed notifications to ATs
2531 * cspi/spi_registry.c: update docs to reflect actual behavior of
2532 state-change events.
2534 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2537 Incremented version to 0.12.1
2539 * util/mag_client.h:
2540 Add missing declaration for magnifier_exit,
2541 used by mag_control.c - Forte compiler didn't like
2542 the implicit redeclaration of the function :-(
2545 2002-04-16 Bill Haneman <bill.haneman@sun.com>
2548 Revved version to 0.12 due to API change (see below).
2550 * cspi/spi-roletypes.h:
2551 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
2552 definition from the inline docs, and added docs
2553 for SPI_ROLE_LAST_DEFINED.
2556 * cspi/spi_streamablecontent.c:
2557 Added missing seek_type parameter to
2558 (so far unused) method,
2559 AccessibleStreamableContent_seek().
2560 [ RT approval JodyG. ]
2563 Fixed docs for SPI_createAccessibleKeystrokeListener.
2565 * cspi/spi_registry.c:
2566 Fixed docs for SPI_KEYSET_ALL_KEYS.
2568 * docs/reference/cspi/at-spi-cspi-sections.txt:
2569 Added a number of missing APIs to SECTIONS.
2571 2002-04-16 Bill Haneman <bill.haneman@sun.com>
2573 * registryd/Makefile.am:
2575 * cspi/bonobo/Makefile.am:
2576 Add $(X_LIBS) to makefiles.
2578 2002-04-15 Bill Haneman <bill.haneman@sun.com>
2581 Revved version to 0.11.
2583 * libspi/component.c:
2584 Added implementation for grabFocus.
2586 * idl/Accessibility_Component.idl
2587 (Accessibility_Component_grabFocus):
2588 Made this method return boolean to indicate success or failure, to
2589 be consistent with cspi and the corresponding ATK method.
2591 * idl/Accessibility_Selection.idl
2592 (Accessibility_Selection_selectAll) :
2593 Made these methods return boolean to indicate success or
2594 failure, to be consistent with cspi and the corresponding ATK methods.
2596 * idl/Accessibility_EditableText.idl
2597 (Accessibility_EditableText_setTextContents,
2598 Accessibility_EditableText_insertText,
2599 Accessibility_EditableText_cutText,
2600 Accessibility_EditableText_deleteText,
2601 Accessibility_EditableText_pasteText):
2602 Made these methods return boolean to indicate
2605 * cspi/spi_editabletext.c:
2606 Made these methods return booleans.
2608 * libspi/selection.c:
2609 * libspi/component.c:
2610 * libspi/editabletext.c:
2611 Connected the boolean returns from ATK
2612 to the server-side code referenced above.
2614 2002-04-14 Bill Haneman <bill.haneman@sun.com>
2616 * idl/Accessibility_Table.idl: Added missing methods,
2617 Accessibility_Table_addRowSelection,
2618 Accessibility_Table_addColumnSelection,
2619 Accessibility_Table_removeRowSelection,
2620 Accessibility_Table_removeColumnSelection.
2623 Added C wrappers for above IDL:
2624 AccessibleTable_addRowSelection,
2625 AccessibleTable_addColumnSelection,
2626 AccessibleTable_removeRowSelection,
2627 AccessibleTable_removeColumnSelection.
2630 Added server-side implementation code for IDL above, connecting
2631 to pre-existing ATK api.
2633 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
2635 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
2637 * libspi/accessible.c: Added implementation fo
2638 Accessibility_Accessible_get_state.
2640 * libspi/libspi.h: Added stateset.h to the list of includes.
2642 * libspi/stateset.c: Fixed broken implementation.
2644 2002-04-13 Bill Haneman <bill.haneman@sun.com>
2647 Added implementation code for Accessibility_Magnifier_exit ().
2649 * util/mag_control.c:
2650 Added test code for above method; you can
2651 now kill an existing magnifier via
2652 ./mag_control q, from the util directory.
2654 * test/key-listener-test.c:
2656 Added a new test, for our key listener API.
2658 2002-04-11 Bill Haneman <bill.haneman@sun.com>
2660 * test/app.c, test/keysynth-demo.c:
2662 Replace use of snprintf with g_snprintf.
2663 (fix for bugzilla 78249)
2665 2002-03-27 Michael Meeks <michael@ximian.com>
2669 * util/Makefile.am (INCLUDES): fix.
2670 (DONT_DIST_SOURCE): don't distribute the
2673 * libspi/Makefile.am (dist-hook): ditto.
2675 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
2677 * libspi/hypertext.c:
2678 Fix warnings when yelp is used with atk-bridge
2680 2002-03-21 Michael Meeks <michael@ximian.com>
2682 * libspi/application.c (spi_application_new):
2683 use spi_accessible_construct so we use the AtkObject
2686 2002-03-19 Michael Meeks <michael@ximian.com>
2688 * registryd/registry.c (desktop_remove_application),
2689 (desktop_add_application): clean coding style.
2691 * registryd/desktop.c (spi_desktop_remove_application),
2692 (spi_desktop_add_application): kill re-enterency hazards.
2693 (spi_desktop_dispose): remove bogus redundant cast
2694 obscuring bug; fix bug too.
2695 (spi_desktop_init): make the desktop object immortal.
2697 2002-03-16 Bill Haneman <bill.haneman@sun.com>
2700 Added a #define-guarded tree-traversal step
2701 when enumerating the apps (diagnostic tool).
2703 2002-03-15 Bill Haneman <bill.haneman@sun.com>
2705 * idl/Accessibility_Role.idl:
2706 Added ROLE_DRAWING_AREA which seemed to be missing from the
2709 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2711 * cspi/spi-roletypes.h cspi/spi_accessible.c
2712 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
2715 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
2716 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
2717 AT when applications are added and removed from the desktop. This
2718 reverts the previous broken implementation using the backing
2719 AtkObject for the SpiDesktop.
2721 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2723 * registryd/desktop.c: emit the "children-changed::add" and
2724 "children-changed::remove" signals on the backing ATK object for
2725 the desktop so AT can tell when applications are started and shut
2728 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2730 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
2732 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2734 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
2736 * cspi/spi_accessible.c: Implemented c bindings for stateset support
2738 * cspi/state-types.h: synched with IDL and ATK
2740 2002-03-13 Bill Haneman <bill.haneman@sun.com>
2742 * libspi/accessible.c
2743 (impl_accessibility_accessible_get_child_at_index):
2744 Change return value for g_return_if_fail ()
2745 to CORBA_OBJECT_NIL instead of "0" (!)
2747 * registryd/Makefile.am:
2748 * registryd/Accessibility_Register.server.in:
2749 Changed name of executable, "registryd",
2750 to something more informative:
2753 2002-03-13 Michael Meeks <michael@ximian.com>
2755 * atk-bridge/bridge.c (atk_bridge_init): don't register
2756 if we're in a bonobo-component, rather than a bonobo app.
2758 2002-03-13 Michael Meeks <michael@ximian.com>
2760 * atk-bridge/bridge.c (gtk_module_init): split
2761 out body to (atk_bridge_init): here, since otherwise
2762 we get symbol conflicts and oddness when invoked
2763 from (gnome_accessibility_module_init): here (upd.)
2765 2002-03-11 Bill Haneman <bill.haneman@sun.com>
2768 New file. Explicitly allow "build sheriff" putbacks provided
2769 they are tested on Solaris.
2771 * docs/reference/cspi/Makefile.am:
2772 Added '-' to the "cp" command for index.sgml.
2773 ("patch by thomasvs, soon coming to a GUADEC near you")
2776 Incremented version number (0.9.0) for new release.
2777 Changed macro that checks for popt, to better detect
2778 obsolete versions of popt.
2781 Added X_LIBS to AC_SUBST, for applications
2782 that call Xlib API directly.
2785 2002-03-07 Bill Haneman <bill.haneman@sun.com>
2788 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
2791 Fix regression caused by hard-coding major
2792 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
2795 * test/test-simple.c (test_editable_text),
2796 (test_test): revert previous change (error was
2797 a regression in gail which is now fixed).
2799 2002-03-04 Michael Meeks <michael@ximian.com>
2801 * test/test-simple.c (test_editable_text),
2802 (test_text): pass G_MAXINT instead of '-1' for
2803 whole string - is this a good thing !?
2805 * cspi/spi_accessible.c
2806 (Accessible_getRelationSet): fix crasher bug
2807 overwriting the end of the array.
2809 * test/test-simple.c (validate_accessible): free,
2810 not g_free returned relation set.
2812 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
2814 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
2815 implemented stateset support
2817 * idl/Accessibility_State.idl: Made necessary changes to
2818 the IDL to support state sets.
2820 2002-02-12 Bill Haneman <bill.haneman@sun.com>
2822 * registryd/deviceeventcontroller.c:
2823 Added implementation for generateMouseEvent.
2825 * cspi/spi_registry.c:
2826 Connected new implementation for generateMouseEvent
2829 2002-02-12 Bill Haneman <bill.haneman@sun.com>
2832 Incremented revision (but no change in public API
2833 outside of 'utils', which are not installed public yet.)
2835 * libspi/component.c:
2836 Changed to use atk_component API for layers and
2837 mdi_zorder, instead of deprecated atk_object API.
2839 Magnification Utility Enhancements:
2842 Added implementation of createZoomRegion, clearAllZoomRegions,
2843 resizeZoomRegion. Added new commandline argument
2844 "--no-initial-region". Note that clearAllZoomRegions doesn't
2845 unmap the old '0' region as it should (yet), and the other
2846 methods only work when creating/resizing a single region,
2847 which is "region 0".
2848 (Code for multiple region support will be added later.)
2851 Now we raise the magnifier window each time it's refreshed;
2852 this will help keep it on top.
2854 * util/mag_client.h:
2855 Added simple wrappers for above, used by mag_control.
2856 For general use, it's recommended to use the bonobo magnifier
2857 control API directly instead of using these wrappers.
2860 Moved ZoomRegionData from magnifier.c to this file.
2862 * util/mag_control.c:
2863 Added some code to exercise new IDL implementations.
2865 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
2867 * libspi/text.c: Provide implementation for getAttributes.
2869 2002-02-04 Bill Haneman <bill.haneman@sun.com>
2872 Incremented revision.
2874 * test/test-simple.c:
2875 Replaced use of deprecated g_main_iteration with
2876 g_main_context_iteration.
2878 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
2881 Incremented revision for desktop alpha 2.
2883 2002-01-28 Mark McLoughlin <mark@skynet.ie>
2885 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
2888 * test/simple-at.c: include netinet/in.h.
2890 2002-01-24 Mark McLoughlin <mark@skynet.ie>
2892 * cspi/spi_accessible.c: (Accessible_getRelationSet):
2893 use NULL, not CORBA_OBJECT_NIL.
2895 * libspi/accessible.c:
2896 (impl_accessibility_accessible_get_relation_set):
2897 allocate the sequence correctly.
2899 * libspi/remoteobject.h: kill spi_remote_object_new.
2901 * test/test-simple.c: (validate_accessible): add code
2902 to test relation sets, now all we need is to figure
2903 out how to excercise this code path :/
2905 2002-01-18 Michael Meeks <michael@ximian.com>
2907 * test/test-simple.c
2908 (key_listener_cb): consume the key.
2909 (test_keylisteners): update.
2910 (main): wait for any pending unrefs on events.
2912 * registryd/deviceeventcontroller.c
2913 (spi_controller_update_key_grabs): only re-issue the
2914 grab on a key release.
2915 (spi_device_event_controller_forward_key_event):
2916 refresh the keygrabs before we notify the listeners,
2917 to reduce the X ungrab / re-grab race.
2918 (spi_controller_register_with_devices): remove
2919 XSelectInput - we do that with the gdk_window_ call.
2920 (_spi_controller_device_error_handler): return a value.
2921 s/GDK_DISPLAY/spi_get_display/
2923 2002-01-17 Michael Meeks <michael@ximian.com>
2925 * registryd/deviceeventcontroller.c
2926 (_deregister_keygrab): don't blow out the later
2929 * test/test-simple.c (test_keylisteners): do a
2930 more intelligent validation.
2932 2002-01-14 Michael Meeks <michael@ximian.com>
2934 * atk-bridge/bridge.c
2935 (gnome_accessibility_module_init),
2936 (gnome_accessibility_module_shutdown): impl.
2937 (gtk_module_init): protect vs. double inits.
2938 (add_signal_listener): impl.
2939 (spi_atk_bridge_state_event_listener): kill
2940 (deregister_application): split out of
2941 (spi_atk_bridge_exit_func): here.
2943 2002-01-18 Bill Haneman <bill.haneman@sun.com>
2946 Added caret tracking when using magnifier, and
2947 now use text bounds for focus tracking of text elements, rather than
2948 the component bounds - this is helpful for short text fields in long
2949 table cells, at high magnification.
2951 2002-01-16 Bill Haneman <bill.haneman@sun.com>
2953 * registryd/deviceeventcontroller.c:
2954 Regression fix for keylistener de-registration; global keygrabs
2955 were not being released when deregisterKeystrokeListener was
2956 called in cspi, since
2957 Accessibility_DeviceEventController_deregisterKeystrokeListener
2958 was called with a zero-length keyset. That is because the cspi
2959 method, SPI_deregisterKeystrokeListener, does not take a keyset
2960 parameter but instead should remove all the key grabs held be a
2962 The code in impl_deregister_keystroke_listener was changed to copy
2963 the keylist from the listener instance previously registered with
2964 the DeviceEventController before releasing the grabs.
2966 * registryd/registry.c:
2967 * registryd/deviceeventcontroller.c:
2968 * libspi/spi-private.h:
2970 Changed spelling of "re-enterant" to "re-entrant" globally.
2972 2002-01-16 Bill Haneman <bill.haneman@sun.com>
2974 * test/test-simple.c:
2975 Changed key listeners test - the test was slightly mis-using the
2976 (admittedly poorly documented) SPI_generateKeyboardEvent API.
2977 It now uses '=' as the key event listened to and generated,
2978 relying on a keysym match rather than assuming that keycode 33
2979 is always equal to keysym '!'.
2981 2002-01-15 Bill Haneman <bill.haneman@sun.com>
2984 Changed simple-at to use a specific keyset, rather than
2985 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
2986 manager, desktop, etc.
2988 2002-01-11 Bill Haneman <bill.haneman@sun.com>
2990 * registryd/deviceeventcontroller.c:
2991 Replaced standard X error handler with a special handler that
2992 is non-fatal for failed keygrabs. This works around
2993 problems with keygrab clashes sometimes observed on
2995 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
2996 mouse handling code as yet).
2998 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3001 Incremented revision for desktop alpha release.
3004 Fixed a couple of the more glaring errors (still not
3007 2002-01-11 Michael Meeks <michael@ximian.com>
3009 * registryd/deviceeventcontroller.c
3010 (spi_device_event_controller_forward_key_event): kill
3011 XUngrabKey / XKeyGrab race.
3012 (spi_controller_grab_keyboard): rename to
3013 (spi_controller_update_key_grabs): this, and deal
3014 with incremental adding / removing grabs more
3016 (_register_keygrab): ensure we're not pending a remove.
3017 (spi_grab_mask_free): impl.
3018 (spi_controller_register_global_keygrabs): split out
3020 (handle_keygrab): impl.
3021 (_deregister_keygrab): impl.
3022 (spi_controller_deregister_global_keygrabs): impl.
3023 (spi_controller_update_key_grabs): re-issue the grab if
3024 we just recieved a notification.
3026 * test/test-simple.c (key_listener_cb): remove debug.
3028 * registryd/deviceeventcontroller.c
3029 (spi_controller_register_device_listener): after
3030 registering a global keygrab, actualy register it !
3031 don't wait for a timeout; doh !
3033 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
3034 to make it more readable / manipulable.
3035 s/grabmask/grab_mask/ s/refcount/ref_count/
3036 s/keyval/key_val/ s/modmask/mod_mask
3038 2002-01-08 Michael Meeks <michael@ximian.com>
3040 * registryd/deviceeventcontroller.c
3041 (spi_controller_register_with_devices): use gdk calls to
3043 (global_filter_fn): implement the filter.
3044 (spi_device_event_controller_check_key_event): rename to
3045 (spi_device_event_controller_forward_key_event): this & upd.
3046 (spi_get_display): replace with GDK_DISPLAY.
3048 * registryd/deviceeventcontroller.c
3049 (spi_controller_deregister_device_listener): unroll into
3050 (impl_deregister_keystroke_listener): here to simplify.
3051 (spi_controller_register_global_keygrabs): split cut and
3052 paste (!) out into (_register_keygrab): here, shorter & sweeter.
3053 (spi_controller_deregister_device_listener): remove.
3054 (impl_register_mouse_listener): remove, no mouse listener
3055 support in at-spi-1.0
3057 * registryd/registry.c
3058 (_device_event_controller_hook): kill.
3059 (spi_registry_init): upd.
3061 * registryd/deviceeventcontroller.c
3062 (spi_device_event_controller_class_init): upd.
3063 (spi_check_key_event): merge into.
3064 (spi_device_event_controller_check_key_event):
3065 here and kill strange static ev init, don't leak
3066 the x_event - nor dynamicaly allocate it.
3068 * registryd/registry-main.c (main): re-direct
3069 timeout to remove strange vtable mess.
3071 * registryd/deviceeventcontroller.c
3072 (remove_listener_cb): impl.
3073 (spi_controller_deregister_device_listener):
3074 fix re-enterancy hazard.
3076 2002-01-07 Michael Meeks <michael@ximian.com>
3078 * registryd/deviceeventcontroller.c
3079 (spi_device_event_controller_new): upd.
3080 (impl_notify_listeners_sync): upd. debug.
3081 (spi_notify_keylisteners): fix re-enterancy hazards,
3082 prettify, remove O(n*n) iteration.
3083 (spi_controller_grab_keyboard): fix iteration.
3084 (spi_check_key_event): re-format to suit coding style.
3085 Clean all the warnings - we're warning free.
3087 * registryd/deviceeventcontroller.h:
3088 * registryd/registry.h: make mutualy referential with
3089 typesafe forward references instead of (!) void pointer
3092 2002-01-11 Michael Meeks <michael@ximian.com>
3094 * cspi/spi_accessible.c (role_names): add a role name
3095 to sync this array with the enum; and make the regression
3098 2002-01-10 Michael Meeks <michael@ximian.com>
3100 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
3101 allow expansion of enumeration & kill warning.
3103 * test/test-simple.c (key_listener_cb): impl.
3104 (test_keylisteners): impl.
3106 * cspi/spi-listener.h: make listener signatures const
3107 on the provided (const) events.
3109 * test/keysynth-demo.c: upd. to const events.
3111 * test/simple-at.c: ditto.
3113 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3116 Rev the version to 0.5 (the previous tarball was named 0.4,
3117 even though the micro number was 3), so we need to rev upwards
3118 again for beta2/"desktop-alpha"
3121 Checked in a demo script, which requires editing before use!
3122 Proceed with caution.
3125 Fixed typo in header which was redefining SPI_ACTION_CLASS.
3127 * cspi/spi_accessible.c:
3128 Add a couple of missing enum initializations, and fix some enum
3131 * cspi/spi_registry.c:
3132 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
3134 * docs/reference/cspi/at-spi-cspi-sections.txt:
3135 Remove/fix a couple of broken document references.
3138 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
3139 as Alt-Control to listen for commands, since on some systems
3140 Control-Alt may already be grabbed.
3142 2002-01-10 Bill Haneman <bill.haneman@sun.com>
3145 Update version number to 0.4 for Beta2.
3147 * libspi/accessible.c, libspi/accessible.h:
3148 Expose spi_accessible_construct, to enable libgail-gnome
3149 construction from spi_accessible subtype.
3151 * utils/magnifier.c:
3152 Workaround for bug in some non-gnome-compliant window managers
3153 which made magnifier resize improperly.
3155 2002-01-09 Bill Haneman <bill.haneman@sun.com>
3157 * libspi/accessible.c: (spi_accessible_new) :
3158 Move the test for SPI_IS_REMOTE_OBJECT to
3159 spi_accessible_new_return, fixing a bug and compile time warning.
3161 2002-01-08 Michael Meeks <michael@ximian.com>
3163 * registryd/registry.c (parse_event_type): remove strndup.
3165 * libspi/Makefile.am (libspi_la_SOURCES): remove
3166 sources already included in the headers section.
3168 * libspi/util.c: add.
3170 * libspi/spi-private.h: add.
3172 * registryd/registry.c: update to moved list iterators.
3174 2002-01-05 Michael Meeks <michael@ximian.com>
3176 * test/simple-at.c (main): upd. auto-module set to atk-bridge
3178 * test/test-simple.c (main): ditto.
3180 2002-01-04 Michael Meeks <michael@ximian.com>
3182 * libspi/accessible.c (spi_accessible_new): remove 2nd,
3183 redundant construct.
3185 * registryd/registry.c
3186 (get_listener_list): impl.
3187 (impl_accessibility_registry_register_global_event_listener):
3188 re-impl. to simplify using ~, remove dodgy const cast off.
3189 (parse_event_type): constify.
3190 (impl_accessibility_registry_deregister_global_event_listener_all):
3191 re-write, more efficiency and simplicity, kill re-enterancy
3193 (compare_listener_corbaref, compare_corba_objects),
3194 (compare_listener_quarks): define out.
3195 (impl_accessibility_registry_deregister_global_event_listener):
3196 re-write for effiency, and nail re-enterancy hazard.
3197 (impl_accessibility_registry_get_desktop_list): impl.
3198 (re_enterant_list_delete_link): impl.
3199 (re_enterant_list_foreach): impl.
3200 (remove_listener_cb): impl.
3201 (_registry_notify_listeners): kill.
3202 (notify_listeners_cb): impl.
3204 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
3205 (SPI_getDesktopList): impl.
3207 * test/test-simple.c (test_desktop): test the methods.
3209 2002-01-03 Michael Meeks <michael@ximian.com>
3211 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
3212 keystrings since we free them
3213 (SPI_freeAccessibleKeySet): in here.
3215 * libspi/accessible.c (spi_accessible_new): kill warning,
3216 wonder what is going on with the constructor here.
3218 2002-03-01 Bill Haneman <bill.haneman@sun.com>
3220 * libspi/accessible.c (spi_accessible_new ()) :
3221 Added check to see if AtkObject is an SpiRemoteObject before
3222 creating an SpiAccessible.
3224 2002-05-01 Bill Haneman <bill.haneman@sun.com>
3226 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
3227 Enable keygrabs using the Control modifier, now that they are
3228 working properly (they were previously disabled).
3231 Change the command keygrab for this demo to "Control+Alt", so as
3232 to conflict with fewer other key commands on the system; this
3233 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
3235 Removed a pointlessly-chatty keylistener for unshifted keys
3236 (shifted keys are still reported).
3238 2002-02-01 Bill Haneman <bill.haneman@sun.com>
3240 * libspi/remoteobject.h:
3241 * libspi/remoteobject.c:
3242 Added definitions for special AtkObject subtype, required for
3243 support of remote components (specifically, used by BonoboControl
3244 accessibility implementation).
3246 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
3248 * cspi/spi.h: synched relation types with ATK
3250 * cspi/spi_accessible.c: Added implementations of
3251 AcccessibleRelation_* methods
3253 * idl/Accessibility_Relation.idl: added getRelationTypeName
3254 method. Synched known relation types with ATK. Allowed for
3255 relation type extension with the RELATION_EXTENDED type.
3257 * libspi/relation.c: Provided implementations for
3258 AccessibleRelation methods.
3260 2002-01-01 Bill Haneman <bill.haneman@sun.com>
3262 API tweaks for today's API 'freeze'.
3265 Added placeholder functions to allow future compatible expansion
3266 of the IDL interfaces.
3268 * idl/Accessibility_Registry.idl:
3269 Changed generateKeyEvent to generateKeyboardEvent. Changed
3270 signature of this method to accept an optional keystring in
3271 parameter (for complex text input synthesis) and changed use of
3272 simple 'boolean' parameter in registerKeystrokeListener to a
3273 struct, EventListenerMode.
3275 * cspi/spi_accessible.c:
3277 * cspi/spi_streamablecontent.c:
3278 Added references to AccessibleStreamableContent interface, and
3279 definition and implementation of AccessibleStreamableContent
3282 * cspi/spi_registry.c:
3284 Changed generateKeyEvent API to generateKeyboardEvent,
3285 taking a new (optional) keystring parameter to support complex
3290 Renamed directory (to better reflect its actual purpose, bridging
3291 from at-spi to ATK). The .so module is also now named
3294 * idl/Accessibility_Hypertext.idl:
3295 * libspi/accessible.c:
3296 * libspi/hypertext.h:
3297 * libspi/hypertext.c:
3298 Changed Accessibility_Hypertext to *not* derive from
3301 * cspi/spi_registry.c:
3302 Added list of legal event type names for 'window' events, which
3303 completes the registry event API.
3305 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
3307 * at-bridge/bridge.c: Added registration for separate
3308 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
3309 signals. If either of the first two parameters to the generic
3310 bridge signal handler are ints, they are passed on as event
3311 details. This allows an AT to determine what text was inserted.
3313 2001-12-21 Bill Haneman <bill.haneman@sun.com>
3315 * registryd/deviceeventcontroller.c:
3316 Fixed regressions in generateKeyEvent caused by the removal of
3317 gdk_init from registryd; we now use pure X calls to connect to the
3318 display, which makes sense because deviceeventcontroller already
3319 uses a fair bit of X API (should eventually be migrated to a
3320 'portability layer').
3322 * registryd/desktop.c:
3323 Fixed minor regression in spi_desktop_init, changed the way the
3324 desktop name is being set to work with new spi_base API
3325 (gobject-based, rather than AtkObject-based).
3327 * registryd/Makefile.am:
3328 Minor revision of makefile to use XTST_LIBS variable rather than
3329 hard-wiring the Xtst LD_ADD element.
3331 * test/keysynth-demo.c:
3332 Tweaked an output message; added initialization of the
3333 'keystrings' member of the "switch listener" key_set.
3335 * libspi/relation.c:
3336 Squashed compile-time warning.
3338 * libspi/accessible.c:
3339 Cosmetic and formatting fixes, renamed a static method.
3341 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
3343 * libspi/accessible.c
3345 * libspi/application.c
3348 * libspi/component.c
3349 * libspi/editabletext.c
3350 * libspi/hyperlink.c
3351 * libspi/hypertext.c
3353 * libspi/selection.c
3357 * registryd/desktop.c:
3358 Changed SpiBase to contain a GObject pointer rather than an AtkObject
3360 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3362 * idl/Accessibility_Registry.idl:
3363 Added boolean member 'is_text' to DeviceEvent. This is for the
3364 use of key events, and helps prevent ambiguity between composed
3365 key strings and keysym names, since both may potentially be
3366 returned in the 'event_string' member.
3368 * at-bridge/bridge.c:
3369 * registryd/deviceeventcontroller.c:
3370 Use the 'is_text' member when notifying device event listeners.
3371 Knon issue: composed characters are not dealt with correctly by
3372 the global key listener implementation yet.
3374 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3376 * at-bridge/bridge.c:
3377 Namespaced local static methods to spi_atk_bridge_* where
3378 previously named bridge_*, and spi_* elsewhere.
3380 * at-bridge/bridge.c:
3381 * cspi/bonobo/cspi-bonobo-listener.c:
3382 Added demarshalling/conversion for string member of
3383 Accessibility_DeviceEvent to AccessibleKeystroke.
3385 * registryd/deviceeventcontroller.c:
3386 Added code to fill the Accessibility_DeviceEvent key string value
3387 member for global key events (i.e. from XGrabKey), to match
3388 behavior of Accessibility_DeviceEvent from the toolkit key events
3389 from the bridge. Fixed timestamp in global key event notifications.
3392 Added printout of key event's string value to
3393 report_ordinary_key_event, for demo/debugging purposes.
3395 2001-12-15 Bill Haneman <bill.haneman@sun.com>
3397 * idl/Accessibility_Registry.idl:
3398 Removed Accessibility_KeyStroke structure in favor of generic
3399 Accessibility_DeviceEvent structure.
3400 Changed Accessibility_ControllerEventMask from a struct to an
3403 * at-bridge/bridge.c:
3404 Changed APIs to use DeviceEvent structure as above, and removed
3405 bogus casting between these event structures.
3407 * cspi/spi-listener.h:
3408 Added keystring member of AccessibleKeystroke structure, to enable
3409 matching on event "names" rather than only hardware codes and
3413 Added keystrings member of AccessibleKeySet struct, to allow
3414 matching on event names (as above).
3415 Added declarations for SPI_createAccessibleKeySet and
3416 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
3417 event modmasks directly as unsigned ints rather than structs with
3418 refcounts, in the DeviceEventController methods.
3420 * cspi/spi_registry.c:
3421 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
3423 * cspi/spi-roletypes.h:
3424 Added documentation of newly added SPI Roles.
3426 * cspi/bonobo/cspi-bonobo-listener.c:
3427 Changes in support of API changes above.
3429 * libspi/accessible.c:
3430 Converted APIs to use DeviceEvent structure (see IDL changes
3433 * registryd/deviceeventcontroller.c:
3434 Added DEControllerGrabMask structure to track keygrabs not only by
3435 modmask but by keyset as well; this allows us to do "global"
3436 (i.e. X) keygrabs on a per-key or keyset basis rather than always
3437 grabbing on AnyKey and then filtering after-the-fact.
3438 Bugfixes for event filtration mean that we don't get false matches
3439 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
3441 * registryd/deviceeventcontroller.c:
3442 Namespaced a number of static methods to use spi_ prefix. Major
3443 revision to internals of global (i.e. X) key grabs.
3445 * registryd/deviceeventcontroller.h:
3446 Removed keymask_list and added keygrabs_list to
3447 SpiDeviceEventController struct.
3450 Added use of SPI_createAccessibleKeySet API when creating a
3451 listener for only one key. Attach a listener to "shift spacebar
3452 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
3453 X key event names to SPI key event names, so that listeners are
3454 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
3456 * test/keysynth-demo.c:
3457 Changed (incorrect) use of X key event names (KeyPressed,
3458 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
3461 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3463 * libspi/accessible.c:
3464 Convert all AtkRole enumerations to Accessibility_Role enums when
3465 getting a role from an AtkObject.
3467 * cspi/spi_accessible.c:
3468 Complete the conversion of Accessibility_Role enums at runtime to
3469 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
3470 role enums correctly match those given in spi-roletypes.h.
3471 Re-synchronize the local names list for AccessibleRole_getName ().
3472 AccessibleRole_getName is now deprecated, since it duplicates the
3473 more reliable Accessible_getRoleName.
3474 Added some role types from Accessibility_Role.idl.
3476 * idl/Accessibility_Role.idl:
3477 Added some role types used by AtkRole.
3479 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3482 * cspi/spi_registry.c:
3484 * cspi/cspi-bonobo-listener.c:
3485 Namespaced all methods that did not begin with an "SPI_" or
3486 "Accessible" prefix to "SPI_".
3489 Homogenized internal function namespace to "cspi_" for statics.
3492 Patched tests to use the new CSPI API.
3494 * docs/reference/cspi/at-spi-cspi-sections.txt:
3495 Updated docs to reflect namespace changes, and added a number of
3496 methods to the documentation.
3498 * registryd/registry.c:
3499 Changed use of strings and string hashes in listener event
3500 matching and parse_event_string to use GQuark, which is guaranteed
3503 * registryd/registry.h:
3504 Squashed annoying warning.
3506 * idl/Accessibility_Role.idl:
3507 Extended range of available Accessibility_Role values.
3509 * cspi/spi_accessible.c:
3510 Re-ordered role names.
3512 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3514 * idl/Accessibility_Value.idl:
3515 Revert use of union back to CORBA_double, since the double type is
3516 more efficient and can contain the other types without loss of
3519 * idl/Accessibility_Accessible.idl:
3520 Added method Accessibility:Accessible:getRoleName, to complement
3521 Accessibility:Accessible:getRole.
3523 * cspi/spi_accessible.c:
3525 Added C binding for above, Accessible_getRoleName (), and changed
3526 signature of Accessible_getRole () to return an AccessibleRole.
3528 * cspi/spi-roletypes.h:
3529 Changed AccessibleRole_getName to return a char * instead of a
3530 const char *. This method is now at least temporarily deprecated
3531 in favor of asking Accessibles for their RoleNames directly.
3534 Revert to match Accessibility_Value.idl;
3538 Change signature of AccessibleValue methods to use double rather
3542 * cspi/spi_accessible.c:
3543 Changed Accessible_getRole to return an AccessibleRole enum rather
3544 than a UTF-8 string. The UTF-8 string can still be obtained via
3545 AccessibleRole_getName ().
3547 * test/test-simple.c:
3548 Add test_action. Small fixup to match API change to Accessible_getRole.
3551 Bugfix for get_action_from_servant ().
3553 2001-12-11 Michael Meeks <michael@ximian.com>
3555 * libspi/libspi.h: remove registry.h and
3556 desktop.h, deviceeventcontroller.h
3558 * libspi/Makefile.am: remove registry.[ch],
3559 desktop.[ch], deviceeventcontroller.[ch]
3561 * registryd/Makefile.am: add registry.[ch],
3562 desktop.[ch], rename registryd.c to registry-main.c.
3563 add deviceeventcontroller.[ch]
3565 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3568 Replace setenv() call with putenv ().
3570 * libspi/component.c:
3571 Bugfix in AccessibleComponent_getExtents (),
3574 2001-12-11 Michael Meeks <michael@ximian.com>
3576 * libspi/image.c (impl_getImageExtents): impl.
3577 (spi_image_class_init): upd.
3580 (AccessibleImage_getImageDescription): fix daft bug
3583 * test/test-simple.c (global_listener_cb): update
3584 to only quit if not --poke
3585 (main): catch --poke.
3586 (validate_accessible): upd. dumping, call test_image
3589 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
3592 * idl/Accessibility.idl: update all IDL includes.
3594 * idl/*.idl - rename to namespace - this sucks, blame
3595 mjs' bad decision for oafd.
3597 * test/test-simple.c (create_test_window): add more tests.
3598 (create_tree): split this out.
3599 (validate_accessible): bugfix.
3601 2001-12-11 Michael Meeks <michael@ximian.com>
3603 * cspi/bonobo/cspi-bonobo-listener.c:
3604 (cspi_kestroke_listener_unref),
3605 (cspi_event_listener_unref): impl. undoing previous
3606 homenous environment - for Bill.
3608 * cspi/spi_table.c (long_seq_to_array): use
3611 * cspi/spi_main.c: split out all bonoboish bits into
3614 * cspi/spi-impl.h: upd. typedefs.
3616 * cspi/spi_registry.c: update to lowlevel API,
3617 return booleans to indicate success in some places.
3619 * cspi/spi_event.c: update to lowlevel API.
3621 * cspi/bonobo/Makefile.am: add.
3623 * cspi/bonobo/cspi-lowlevel.h: add
3625 * cspi/bonobo/cspi-bonobo.c: add
3627 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
3629 * cspi/Makefile.am: remove spi-listener-impl.[ch],
3630 (SUBDIRS): add bonobo, link in the libs.
3632 * cspi/spi-util.c: kill this file.
3634 * TODO: merge in my bits.
3636 2001-12-11 Michael Meeks <michael@ximian.com>
3638 * test/test-simple.c (test_value, test_table, main):
3639 remove unused variables causing warnings.
3641 * configure.in: cleanup checks - require gail.
3643 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3646 Changed Value interface to use SValue (scalars) rather than
3647 assuming all values are floats. This allows floats, doubles,
3648 longs, shorts, and unsigned values to be manipulated.
3649 Introduced Accessibility:SValue union.
3652 Updated to use new API above, and to work correctly with GValues
3653 of different types in AtkValue.
3656 Updated to use new API above. cspi's API is as yet unchanged.
3659 Updated the Value revision action item.
3661 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3663 * test/test-simple.c:
3664 Added test_table (GtkTreeView widget in test window to follow).
3665 Un-commented test_value, added GtkRange widget.
3666 Added GtkTreeView widget with GtkListStore. It passes regression
3667 test but leaks one SPI object for some reason.
3670 Fixed bug in impl__set_currentValue.
3672 2001-12-10 Michael Meeks <michael@ximian.com>
3674 * cspi/spi_text.c: audit for exception handling,
3675 tolerating NULL object references safely etc.
3677 * cspi/spi_value.c: ditto.
3679 * cspi/spi_table.c (AccessibleTable_getSummary),
3680 (AccessibleTable_getAccessibleAt),
3681 (AccessibleTable_getRowHeader),
3682 (AccessibleTable_getColumnHeader),
3683 (AccessibleTable_getCaption): fix bugs hidden by
3685 (long_seq_to_array): impl.
3686 (AccessibleTable_getSelectedRows),
3687 (AccessibleTable_getSelectedColumns): use it.
3689 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3692 Added a TODO list (rough and short for now).
3694 * cspi/spi_hyperlink.c:
3695 * cspi/spi_hypertext.c:
3696 Fixed macro name typos, and remove use of obsolete macro in
3697 AccessibleHyperlink_getLink.
3699 * cspi/spi_action.c:
3700 * cspi/spi_accessible.c:
3701 * cspi/spi_application.c:
3702 * cspi/spi_component.c:
3703 * cspi/spi_selection.c:
3706 Documentation fixes (removed return values from ref/unref methods).
3708 2001-12-10 Michael Meeks <michael@ximian.com>
3710 * cspi/spi_action.c: audit for exception handling,
3711 tolerating NULL object references safely etc.
3713 * cspi/spi_accessible.c: ditto.
3715 * cspi/spi_component.c: ditto.
3717 * cspi/spi_editabletext.c: ditto.
3719 * cspi/spi_hyperlink.c: ditto.
3721 * cspi/spi_hypertext.c: ditto.
3723 * cspi/spi_image.c: ditto.
3725 * cspi/spi_selection.c: ditto.
3727 2001-12-10 Michael Meeks <michael@ximian.com>
3729 * configure.in: use cspi/libspi.pc.in instead.
3731 * Makefile.am (pkgconfig_DATA): upd. to match.
3733 * test/simple-at.c (report_focus_event): kill hacks around
3734 bad return values, use putenv not setenv
3736 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
3737 fire ChildGone - I killed it.
3739 * libspi/component.c
3740 (impl_accessibility_component_get_extents): remove
3743 * idl/Accessible.idl: kill ChildGone exception.
3745 * cspi/*.[ch]: kill int return from ref / unref.
3747 * cspi/spi_main.c (cspi_object_add_check): fold into
3748 (cspi_object_add): here.
3750 * cspi/spi_component.c (AccessibleComponent_getExtents):
3751 handle exceptions elegantly.
3753 * cspi/spi-private.h (cspi_check_ev_return),
3754 (cspi_return_if_fail): impl.
3756 * cspi/spi_accessible.c: use extensively.
3757 (AccessibleStateSet_equals): add direct compare check.
3759 * cspi/spi_selection.c: tolerate NULL objs, and check
3760 exceptions before return.
3762 * cspi/spi-util.c (cspi_warn_ev): rename to
3763 (cspi_check_ev): this & don't pass ev in; no point.
3765 2001-12-10 Michael Meeks <michael@ximian.com>
3767 * test/test-simple.c: use putenv not setenv
3768 (get_environment_vars): more chatty if you're not using
3771 * test/simple-at.c: do the setenv so more people see the
3774 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3776 * libspi/registry.c:
3777 Changed check of CORBA_environment on notification to be a warning
3778 instead of an error for the moment, since we can recover from this
3779 error when caused by a queued notification from a dead app.
3782 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
3783 used by all current implementors of AtkValue), and coerce to
3784 CORBA_float. (Proper general case fix may require change to Value.idl).
3786 2001-12-09 Bill Haneman <bill.haneman@sun.com>
3790 * cspi/spi_accessible.c:
3791 Documentation fixes: added user_data params to documentation for
3792 listeners and callbacks.
3794 * cspi/spi_accessible.c:
3795 Changed AccessibleStateSet_compare to return a
3796 StateSet rather than return the difference set into a third parameter.
3799 2001-12-09 Bill Haneman <bill.haneman@sun.com>
3802 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
3803 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
3807 Remove subdirectory po from SUBDIRS for now.
3809 * at-bridge/bridge.c:
3810 Beefed up a couple of debug printouts.
3811 One-line fix for signal notification name formatting.
3813 * libspi/accessible.c:
3814 Added assertion to spi_accessible_new ().
3816 * libspi/application.c:
3817 Put #ifdef qualifiers around a printf.
3820 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
3822 * registryd/Makefile.am:
3824 Replaces use of XML_I18N_MERGE_SERVER_RULE with
3825 INTLTOOL_SERVER_RULE macro.
3828 Added an event listener for several ATK signals, for
3829 testing and debugging. Removed a few g_warnings.
3830 Added test output if focussed item implements the Value interface.
3832 * test/test-simple.c:
3833 Added test_value () function (known not to pass at the moment, so
3834 not actually called yet.
3836 2001-12-08 Michael Meeks <michael@ximian.com>
3838 * at-bridge/bridge.c (bridge_focus_tracker),
3839 (emit_eventv): fix the same ref. leak.
3840 (register_atk_event_listeners): don't leak.
3842 * cspi/spi-listener-impl.c (cspi_event): more
3843 protection from client code.
3845 * test/test-simple.c (test_desktop): unref the app.
3847 * test/Makefile.am: upd. TESTS.
3849 * at-bridge/bridge.c (bridge_exit_func): release the registry.
3851 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
3853 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
3855 * cspi/spi_registry.c: constify in strings.
3856 (deregisterGlobalEventListenerAll): don't release the ref.
3858 * cspi/spi.h: start removing redundant / conflicting
3859 gtkdoc comments, making the API readable at a glance :-)
3861 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
3863 * test/keysynth-demo.c (keysynth_exit, main): upd.
3865 * test/simple-at.c (main, simple_at_exit): upd.
3867 * test/test-simple.c (unutterable_horror): kill.
3868 (utterable_normal_derefs): kill.
3869 (main): upd & do a setenv before gtk_init, so that we
3870 can use memprof - and to save the pain of remembering
3871 this, if we're running under memprof - don't exit.
3873 * cspi/spi_main.c (SPI_exit): return exit status
3875 (SPI_event_quit): impl.
3876 (SPI_event_main): simplify.
3877 (cspi_is_gnome_app): kill.
3878 (SPI_init): kill isGNOMEapp arg.
3880 * at-bridge/bridge.c (register_atk_event_listeners):
3881 re-instate the unref.
3882 (bridge_exit_func): don't re-activate the registry,
3883 protect vs. theoretical re-entry, use the
3884 AT_BRIDGE_SHUTDOWN env. var to determine whether to
3885 assert a clean shutdown - for regression tests.
3887 2001-12-08 Abel Cheung <maddog@linux.org.hk>
3889 * configure.in: Comment out dummy i18n support for now,
3890 otherwise it fails to build.
3891 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
3892 EXTRA_DIST. They are missing in tarball.
3894 2001-12-07 Michael Meeks <michael@ximian.com>
3896 * util/magnifier.c: kill bonobo activation reg. race.
3898 * libspi/component.c
3899 (impl_accessibility_component_get_extents): make it match
3902 * libspi/registry.c (_registry_notify_listeners):
3903 re-remove X headers & reconcile conflicts.
3904 (spi_listener_struct_free): bad conflict resolve.
3905 (impl_accessibility_registry_register_application):
3906 more bad merging fixed.
3907 (impl_accessibility_registry_deregister_application): ditto.
3908 (spi_registry_new): ditto.
3909 (spi_registry_init): don't have an applications field.
3911 [ merge fixups2 branch to here ]
3912 2001-12-07 Michael Meeks <michael@ximian.com>
3914 * test/simple-at.c (report_focus_event),
3915 (report_focussed_accessible): remove g_warning debug.
3917 2001-12-07 Michael Meeks <michael@ximian.com>
3919 * test/test-simple.c (validate_tree): comment out some checks.
3920 (test_desktop): app now not registered idly - horay.
3922 2001-12-07 Michael Meeks <michael@ximian.com>
3924 * cspi/spi_registry.c
3925 (registerAccessibleKeystrokeListener): clean, stop it leaking
3926 great swathes of memory, and device event controller references.
3927 ensure we always pass valid sequences.
3928 (deregisterAccessibleKeystrokeListener): ditto.
3929 (generateKeyEvent): upd.
3931 * at-bridge/bridge.c (bridge_key_listener): handle
3932 registry dead exception gracefully.
3933 (bridge_focus_tracker, emit_eventv): free ev.
3935 * test/simple-at.c (report_focus_event): fix polarity.
3937 * libspi/application.c (notify_listeners): kill the ev
3938 argument, and make sure we init the ev we use.
3939 (spi_application_object_event_listener): split out a chunk
3940 (get_atk_object_ref): here & fixup.
3941 (reverse_lookup_name_for_toolkit_event): make const.
3942 (spi_application_toolkit_event_listener): fixup, kill leaks
3945 * at-bridge/bridge.c (register_atk_event_listeners):
3946 don't unref the noop object - causes grief.
3948 * libspi/registry.c: remove the X headers.
3949 turn off the debug churn.
3951 * libspi/accessible.c (spi_accessible_new_return): only
3952 release the ref if we are supposed to [doh]
3954 * test/simple-at.c (report_button_press, report_focus_event):
3955 guard vs. unexpected exit.
3957 * at-bridge/bridge.c (gtk_module_init): prune printf.
3958 (bridge_exit_func): fix app unref.
3960 * libspi/Makefile.am: don't install registry or desktop.h
3962 * libspi/*.h: update includes.
3964 * libspi/application.h: don't include ourself, or
3965 other redundant headers.
3967 2001-12-06 Michael Meeks <michael@ximian.com>
3969 * libspi/accessible.c
3970 (get_accessible_from_servant): impl.
3971 Upd. all CORBA impl.s to use it killing cut and paste.
3973 * cspi/spi_main.c (cspi_cleanup): guard vs. double
3975 (SPI_init): register atexit cleanup handler here.
3977 2001-12-06 Michael Meeks <michael@ximian.com>
3979 * at-bridge/bridge.c (gtk_module_init): g_error on
3980 activation exception
3982 2001-12-06 Michael Meeks <michael@ximian.com>
3984 * at-bridge/bridge.c (gtk_module_init): some sort of
3985 confusing merge clash - reverted.
3986 (bridge_idle_init): ditto.
3988 * test/test-simple.c (main, utterable_normal_derefs):
3989 merge from Bill - somehow not committed.
3991 2001-12-06 Michael Meeks <michael@ximian.com>
3993 * libspi/value.c (spi_value_class_init): upd.
3994 (spi_value_finalize): kill.
3996 * libspi/table.c (spi_table_finalize): kill.
3997 (spi_table_interface_new): upd.
3998 (spi_table_class_init): upd.
3999 (get_table_from_servant): impl.
4000 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4002 * libspi/selection.c (spi_selection_finalize): kill.
4003 (spi_selection_interface_new): upd.
4004 (spi_selection_class_init): upd.
4005 (get_selection_from_servant): impl.
4006 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4008 * libspi/relation.c (spi_relation_finalize): kill.
4009 (spi_relation_class_init, spi_relation_new): upd
4011 * libspi/image.c (spi_image_finalize): kill.
4012 (spi_image_class_init): upd.
4013 (spi_image_interface_new): upd.
4014 (get_image_from_servant): impl.
4015 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4017 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
4018 (spi_hyperlink_finalize): kill.
4019 (spi_hyperlink_new): upd.
4020 (get_hyperlink_from_servant): impl.
4021 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4023 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
4024 (spi_hypertext_finalize): kill.
4025 (spi_hypertext_class_init): upd.
4026 (get_hypertext_from_servant): impl.
4027 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4029 * libspi/editabletext.c (spi_editable_text_finalize): kill.
4030 (spi_editable_text_interface_new): upd.
4031 (get_editable_text_from_servant): impl.
4032 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4034 * libspi/text.c (get_text_from_servant): impl.
4035 All impls - update to use it killing more cut and paste,
4036 also fix bad string returns on duff args ( a somewhat
4037 impossible case to handle - but hey ).
4038 (spi_text_construct): impl.
4039 (spi_text_interface_new): upd.
4040 (spi_text_object_finalize): kill.
4042 * libspi/component.c
4043 (accessibility_component_object_finalize): kill.
4044 (spi_component_class_init): upd.
4045 (get_component_from_servant): impl. helper to kill cut & paste.
4046 (impl_accessibility_component_contains):
4047 (impl_accessibility_component_get_accessible_at_point):
4048 (impl_accessibility_component_get_position):
4049 (impl_accessibility_component_get_extents):
4050 (impl_accessibility_component_get_mdi_z_order):
4051 (impl_accessibility_component_get_layer):
4052 (spi_component_interface_new): upd.
4054 * libspi/action.c (spi_action_finalize): kill.
4055 (spi_action_class_init): upd. inherit from SpiObject.
4056 (spi_action_interface_new): upd.
4057 (get_action_from_servant): impl. helper to reduce cut & paste.
4058 (impl_getKeyBinding, impl_getName, impl_doAction),
4059 (impl_getDescription): Use it everywhere.
4061 * cspi/spi_main.c (get_live_refs): a pointer hash.
4062 (spi_object_hash, spi_object_equal): comment out.
4063 There are issues with CORBA object hashing that need
4066 * libspi/application.c (spi_application_init),
4067 (spi_application_new): upd.
4069 * libspi/accessible.c (spi_accessible_object_finalize): kill.
4070 (spi_accessible_class_init): upd.
4071 s/accessible/object/ in epv methods.
4073 2001-12-05 Bill Haneman <bill.haneman@sun.com>
4075 * at-bridge/bridge.c:
4076 Reorder the bridge initialization into the bridge gtk_module_init,
4077 an immediate call to bridge_register_app, and an idle_add for
4078 register_atk_event_listeners (the only code that *must* wait until
4079 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
4080 the activation, creates the application's Accessible object, and
4081 queues the bridge_idle_init function. Restored call to
4082 Accessibility_Registry_deregisterApplication().
4083 Prior to making this call we obtain a new reference to the
4084 registry, which is a temporary hack that helps us handle apps that
4085 shut down the bonobo mainloop before we get there.
4087 * libspi/registry.c:
4088 Fix string leakage in debug block, and don't segv if a an app
4089 dies before its event notifications have been propagated.
4092 Modify cspi_check_ev() to call g_warning() rather than g_error(),
4093 as stopgap measure until we get proper exception handling when
4094 objects die during or before interrogation.
4098 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
4099 Also changed default value of is_gnome_app to TRUE.
4102 * test/keysynth-demo.c:
4103 Changed use of SPI_init and SPI_event_main to reflect API change above.
4106 Made report_focus_event check the warning value from getName
4107 before reporting on focussed accessible; simplifies handling of
4108 notifications from dead objects.
4110 * test/test-simple.c: (Changes not in this patch since source is
4113 2001-12-05 Michael Meeks <michael@ximian.com>
4115 * registryd/registryd.c (main): protect against
4116 bonobo-activation startup race condition.
4118 * cspi/spi_main.c (cspi_object_add_check): cope
4119 with the exception elegantly.
4121 * idl/Accessible.idl: decl. ChildGone
4123 * libspi/desktop.c (spi_desktop_dispose): impl.
4124 (spi_desktop_class_init): upd.
4125 (spi_desktop_add_application),
4126 (spi_desktop_remove_application),
4127 (abnormal_application_termination): impl.
4128 (impl_desktop_get_child_at_index): re-impl.
4131 (impl_accessibility_registry_deregister_application),
4132 (impl_accessibility_registry_register_application):
4133 kill excessive debug clutter.
4135 * test/test-simple.c (test_misc): test some NULL
4136 tolerance. (main): upd.
4138 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
4139 implements no interfaces - so let's not crash.
4141 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
4143 * libspi/accessible.c (spi_accessible_new_return): impl.
4144 helper to calm the cut and paste, to cope with
4145 NULL AtkObjects effectively and efficiently, and to kill
4146 the referencing bugs.
4148 * libspi/table.c (impl_getAccessibleAt),
4149 (impl_getRowHeader, impl_getColumnHeader): upd.
4151 * libspi/hyperlink.c (impl_getObject): upd.
4153 * libspi/accessible.c
4154 (impl_accessibility_accessible_get_child_at_index): upd.
4156 * libspi/component.c
4157 (impl_accessibility_component_get_accessible_at_point): upd.
4159 * test/test-simple.c (test_editable_text, test_text): impl.
4162 * cspi/spi_editabletext.c
4163 (AccessibleEditableText_insertText): constify.
4165 * test/test-simple.c (focus_me): make more robust.
4167 * libspi/accessible.c: remove some printfs in methods that
4168 we test and work fine, so we can get a clean tree dump.
4170 * test/test-simple.c (validate_accessible),
4171 (validate_tree): make tree dumping pretty too.
4173 * at-bridge/bridge.c (bridge_signal_listener): upd. so
4174 it builds without debug on.
4176 * test/test-simple.c (validate_accessible): fix the most
4179 * cspi/spi_main.c (spi_object_release): leave the nicely
4180 blanked memory around if in debug mode.
4182 * cspi/spi-listener-impl.c (cspi_event): use add_check.
4184 [committed to fixups2]
4185 2001-12-05 Michael Meeks <michael@ximian.com>
4187 * libspi/editabletext.c
4188 (spi_editable_text_class_init): g_type_class_peek_parent,
4189 not interface peek - so we finalize cleanly.
4191 * libspi/accessible.c (spi_accessible_new): kill debug.
4193 * test/test-simple.c (validate_accessible): fix ref.
4194 leak, print strings before freeing them; sigh, comment a
4195 chunk out due to strangeness.
4196 (validate_tree): unref the child after use.
4198 * cspi/spi_component.c (AccessibleComponent_getLayer):
4199 add missing break statement, switch on zlayer not the
4200 uninitialized retval.
4202 * cspi/spi_main.c (cspi_object_add): add assert, local ref
4203 before (possibly re-entering) remote unref.
4205 * test/simple-at.c (main): unref the desktop.
4207 * cspi/spi_accessible.c (cspi_accessible_is_a): move
4210 * cspi/spi_main.c (cspi_accessible_is_a): here to
4211 isolate bonobo API usage more.
4213 * libspi/registry.c (impl_accessibility_registry_register_application):
4214 prune bogus comment.
4216 2001-12-04 Michael Meeks <michael@ximian.com>
4218 * test/test-simple.c (validate_tree): upd.
4219 IndexInParent check to make it more lucid.
4220 (validate_accessible): dump the tree.
4222 * libspi/accessible.c (de_register_public_ref),
4223 (get_public_refs): impl.
4224 (spi_accessible_new): make more efficient & intuitive.
4225 Now IndexInParent check works.
4227 2001-12-04 Michael Meeks <michael@ximian.com>
4229 * cspi/spi-util.h: remove.
4231 * cspi/spi.h: move SPI_freeString here
4233 * libspi/component.c (impl_accessibility_component_get_layer):
4235 (impl_accessibility_component_get_mdi_z_order): ditto,
4236 return -1 on error - is this ok ?
4238 * test/test-simple.c (test_application): impl.
4240 * cspi/spi_accessible.c (Accessible_getApplication),
4241 (Accessible_isApplication): impl.
4243 * libspi/registry.c (spi_listener_struct_free): release
4244 the CORBA reference too.
4246 * libspi/accessible.c
4247 (impl_accessibility_accessible_get_parent): fix ref leak.
4249 * libspi/registry.c (spi_registry_new): make the registry
4250 immortal - we don't want it to go away ever.
4252 * libspi/application.c
4253 (spi_accessible_application_finalize): impl. cleanup.
4255 * cspi/spi_registry.c
4256 (deregisterGlobalEventListenerAll),
4257 (deregisterGlobalEventListener),
4258 (deregisterAccessibleKeystrokeListener): fix ref leak.
4260 * cspi/spi_main.c (SPI_init): remove redundant ref.
4262 * test/test-simple.c (unutterable_horror): impl. to force a
4267 (impl_accessibility_registry_deregister_application): release
4268 the application when we de-register it.
4270 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
4271 until we have the infastructure to get it right.
4273 2001-12-03 Michael Meeks <michael@ximian.com>
4275 * libspi/Makefile.am: only build eventlistener.[ch]
4277 * libspi/accessible.c
4278 (impl_accessibility_accessible_get_child_at_index): don't leak.
4280 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
4281 before we hit the idle handler.
4283 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
4284 debugging than exit.
4286 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
4288 * libspi/listener.c (impl_notify_event): check source
4289 not NIL before unref.
4291 * libspi/registry.c (impl_registry_notify_event): ditto.
4293 * libspi/eventlistener.c
4294 (impl_accessible_event_notify_event): unref the source.
4296 * libspi/accessibleeventlistener.c
4297 (impl_accessible_event_notify_event): unref the source.
4299 * idl/Event.idl: remove 'hash_id' attribute - of no
4302 * libspi/application.c (notify_listeners): upd list
4304 (spi_application_object_event_listener),
4305 (spi_application_toolkit_event_listener): upd to do correct
4309 (_registry_notify_listeners): update.
4310 (parse_event_type): this method also leaks like a sieve.
4311 (impl_accessibility_registry_deregister_global_event_listener):
4312 fix ETYPE_WINDOW case.
4314 * libspi/application.c
4315 (impl_accessibility_application_register_object_event_listener):
4318 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
4320 * libspi/hypertext.c (impl_getLink): ditto.
4322 * cspi/spi_main.c (cspi_object_add): remove
4323 bogus CORBA_Object_duplicate.
4325 * cspi/spi-listener-impl.c (cspi_event): dup/ref
4328 * cspi/spi_accessible.c
4329 (Accessible_getRelationSet): fix leak / referencing issue.
4331 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
4332 (cspi_object_add, cspi_object_unref): upd.
4333 (spi_object_release, get_live_refs): impl.
4334 (cspi_cleanup): simplify.
4336 * *.[ch]: s/boolean/SpiBoolean/
4338 * cspi/spi_accessible.c (role_names): actualy order so it
4339 corresponds with the enum !
4341 * test/test-simple.c (test_roles): check some role strings
4342 vs. enums to detect offset errors.
4344 2001-12-01 Michael Meeks <michael@ximian.com>
4346 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
4348 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
4350 (Accessible_getChildAtIndex): use cspi_add_check so we
4351 check the ev before using a (possibly) invalid value.
4353 * libspi/accessible.c
4354 (impl_accessibility_accessible_get_parent): don't segv
4357 * at-bridge/bridge.c (gtk_module_init): upd.
4358 (bridge_property_event_listener): don't leak strings
4360 (bridge_state_event_listener),
4361 (bridge_property_event_listener): don't use a static
4362 buffer in case of recursive event emission &
4363 re-enterancy - split out the swathe of cut and paste
4365 (emit_eventv): and fix 2 ref leaks here & comply to the
4367 (bridge_register_app): rename to
4368 (bridge_idle_init): this and kill arg parsing, split
4369 various inits & bonobo-activation registration to module
4370 init time, kill referencing error.
4371 (bridge_exit_func): fix the same leak.
4372 (bridge_focus_tracker): don't leak event structures
4374 (bridge_signal_listener): more leakage and cut & paste
4376 (bridge_key_listener): return the result - FIXME is
4377 this polarity correct ?
4378 (accessibility_keystroke_from_atk_key_event): rename
4379 (accessibility_init_keystroke_from_atk_key_event): and stop
4381 (gtk_module_init): return a value - not that it is checked by
4383 (bridge_key_listener): register my horror at casting between
4384 IDL defined structs.
4385 (bridge_get_registry): kill - not used.
4387 * cspi/spi_accessible.c (Accessible_getRole): make return const.
4389 * test/test-simple.c (test_roles): impl.
4390 (test_desktop, validate_accessible, validate_tree): impl.
4392 * cspi/spi_accessible.c (role_names): fixup bogus
4393 MAX_ROLES setup, make constants const for efficient linkage
4394 (AccessibleRole_getName): conform to coding style, make
4397 2001-11-30 Michael Meeks <michael@ximian.com>
4399 * cspi/spi.h: add missing prototype.
4401 * libspi/registry.c (spi_listener_struct_new): fix sig.
4403 * test/Makefile.am: add test-simple
4405 * test/test-simple.c: add
4407 * test/test.sh: add.
4409 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
4411 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
4412 do it straight - since otherwise we often get an activation race.
4414 [ work before Bill duplicated a chunk of it ... ]
4415 2001-11-30 Michael Meeks <michael@ximian.com>
4417 * libspi/keystrokelistener.c
4418 (spi_keystroke_listener_class_init): fixup arg
4421 * libspi/eventlistener.c
4422 (spi_event_listener_class_init): ditto.
4424 * tests/test.sh: add.
4426 * cspi/spi-listener-impl.h: update macros.
4428 * cspi/spi-listener-impl.c
4429 (cspi_event_listener_remove_callback): add
4430 correct pre-conditions.
4432 * cspi/spi_main.c (SPI_exit): guard vs. double
4433 exits, exit the mainloop nicely.
4434 (SPI_event_main): make more sense.
4435 (SPI_init): move the atexit evilness here so we
4436 always do it (yuck).
4437 (SPI_event_main): upd.
4439 * test/simple-at.c: update for listener changes.
4441 * registryd/registryd.c (main): prune kruft.
4443 * libspi/libspi.h: upd.
4445 * libspi/eventlistener.[ch]: rename broken macros.
4447 * libspi/accessibleeventlistener.[ch]: remove.
4449 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
4451 * test/test-simple.c: Add - automated tests.
4453 * cspi/spi-listener-impl.c (cspi_event),
4454 (cspi_key_event): add user_data to invoke.
4455 (cspi_keystroke_listener_finalize): impl.
4456 (cspi_keystroke_listener_class_init): upd.
4459 (createAccessibleEventListener),
4460 (AccessibleEventListener_addCallback),
4461 (createAccessibleKeystrokeListener),
4462 (AccessibleKeystrokeListener_addCallback): upd.
4464 * libspi/deviceeventcontroller.c
4465 (spi_device_event_controller_check_key_event): add public proto.
4468 (impl_accessibility_registry_deregister_global_event_listener):
4469 always init listeners.
4470 (_registry_notify_listeners): yes it is.
4472 * cspi/spi-listener-impl.c (cspi_key_event):
4474 (cspi_event_listener_finalize): impl.
4475 (cspi_event_listener_class_init): hook up.
4476 (event_handler_new, event_handler_free),
4477 (event_list_remove_by_callback): impl.
4478 (cspi_event_listener_remove_callback),
4479 (cspi_keystroke_listener_remove_callback),
4480 (cspi_keystroke_listener_add_callback),
4481 (cspi_event_listener_add_callback): upd.
4483 * libspi/keystrokelistener.c
4484 (keystroke_listener_object_finalize): kill
4485 (spi_keystroke_listener_class_init): upd.
4486 (spi_keystroke_listener_add_callback),
4487 (spi_keystroke_listener_remove_callback): kill,
4489 (impl_key_event): prune drasticaly.
4491 * libspi/eventlistener.c
4492 (spi_event_listener_add_callback),
4493 (spi_event_listener_remove_callback): kill, use
4495 (impl_accessible_event_notify_event): upd.
4496 (spi_event_listener_object_finalize): remove.
4498 * libspi/Makefile.am: use eventlistener.[ch]
4500 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4502 * libspi/registry.c (_registry_notify_listeners):
4503 Changed listener loop iteration to use preferred convention.
4504 Got rid of string memory leaks caused be calling g_strconcat
4505 inside function calls.
4507 * libspi/registry.c (parse_event_type):
4508 Stopped g_strconcat memory leaks, free the g_strsplit return,
4509 g_strdup the split pieces when used, etc.
4511 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4514 Change method 'compare' to return a 'difference set' rather than
4515 taking a StateSet as an out parameter (more Java-friendly).
4517 * idl/Accessible.idl:
4518 Added CORBA struct 'BoundingBox', to faciliate API changes below:
4520 * idl/Component.idl:
4522 Changed methods 'getExtents' and 'getImageExtents' in these
4523 interfaces to return a BoundingBox structure.
4524 (getPosition and getSize are redundant and possibly should be
4525 removed, rather than creating a corresponding Point struct.)
4527 * cspi/spi_component.c:
4528 Modify implementation of getExtents to reflect the above IDL
4533 Add (missing) AccessibleImage_getExtents () API.
4535 * docs/reference/cspi/at-spi-cspi-sections.txt:
4536 Added AccessibleImage_getImageExtents () to docs.
4538 2001-12-03 Bill Haneman <bill.haneman@sun.com>
4540 * idl/Component.idl:
4541 Added two methods, getLayer () and getMDIZOrder (), to reflect
4542 the new ATK methods atk_object_get_layer and
4543 atk_object_get_mdi_z_order. (Which arguably should be part of the
4544 AtkComponent API and AtkObject). Also added an enum,
4545 ComponentLayer, for the first method's return value.
4547 * libspi/component.c:
4548 Added implementations for these methods.
4550 * cspi/spi_component.c:
4552 Added cspi binding methods for above,
4553 AccessibleComponent_getLayer() and
4554 AccessibleComponent_getMDIZOrder().
4555 Added cspi enum 'AccessibleComponentLayer'.
4557 * docs/reference/cspi/at-spi-cspi-sections.txt:
4558 Added above methods to docs.
4562 Changed typedef for 'boolean' type (and all references to it) to
4563 SPIBoolean, to avoid keyword clashes with C++.
4566 Changed usages of 'boolean' to SPIBoolean.
4568 * test/keysynth-demo.c:
4569 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
4570 app), except where SPIBoolean is required by the callbacks API.
4572 2001-12-02 Bill Haneman <bill.haneman@sun.com>
4574 * cspi/spi_registry.c:
4575 Removed obsolete X event loop for passive keygrabs (which now
4578 * registryd/registryd.c:
4579 Removed unnecessary call to gdk_init() [cruft]. This also allows
4580 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
4583 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4585 * docs/reference/cspi:
4586 Included docs for SPI_freeString in generated documentation.
4589 Renamed spi_freeString to SPI_freeString, for consistency. Added
4590 documentation for this function.
4593 Renamed spi_freeString to SPI_freeString, for consistency.
4594 Removed obsolete method declaration string_from_corba_string.
4596 * test/keysynth-demo.c:
4597 Small tweak to comments.
4600 Stopped leaking the strings returned from CSPI.
4602 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4604 Merged Michael's branch (see his ChangeLog entries below).
4606 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
4607 bridge is alive, release on exit.
4609 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
4610 Fix type check macro.
4613 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
4616 Added is_gnome_app static, and method cspi_is_gnome_app(),
4617 so we can call the appropriate shutdown routine at exit in SPI_exit.
4619 * cspi/spi_main.c (cspi_object_ref):
4620 Duplicate the corba object passed in, since we're keeping it around.
4622 * cspi/SPI_exit.c, cspi_cleanup:
4623 Moved the releasing of the live refs to its own function, so we
4624 can put it in g_atexit (). Call the appropriate shutdown API
4625 depending on whethe calling client is a gnome app or not
4626 (bonobo_main_quit or CORBA_ORB_shutdown).
4628 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
4629 Unref the listener when this method is called, after
4630 deregistration. Updated the API docs to note this behavior.
4632 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
4633 Bugfixes: Ref the bonobo object when returning a parent or child
4634 reference, or an AccessibleRelation. Generally made sure
4635 BonoboObject refcount is incremented whenever we return an
4638 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
4639 Fixed typo/bug in signal declaration.
4641 * libspi/accessibleeventlistener.h:
4644 * libspi/application.c (spi_application_new):
4645 Fixed leak in initialization.
4648 Remembered to increment bonobo-object refcount when returning
4649 children (applications) from desktop object.
4650 Added (empty) finalize method.
4652 * libspi/deviceeventcontroller.c:
4653 Hold a ref to listeners inside DEControllerKeyListeners.
4654 Added dec_key_listener_free() method. Use prepend instead of
4655 append in key_listener list. Fixed some refcount madness and
4656 leaks in the listener registration/deregistration - deregistration
4657 now calls dec_key_listener_free() on listeners, and on the
4658 temporarily constructed dec_key_listener() used to perform the search/match.
4660 * libspi/hypertext.c (spi_hypertest_finalize):
4661 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
4662 class. Also fixed spi_hypertext_interface_new() and
4663 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
4665 * libspi/hypertext.h:
4666 Removed pointless and duplicate AtkObject pointer from
4669 * libspi/keystrokelistener.c:
4670 Fixed incorrect type of keystroke_listener_parent_class,
4671 renamed keystroke_listener_object_finalize to
4672 spi_keystroke_listener_object_finalize.
4673 Fixed typo in signal declaration
4674 (spi_keystroke_listener_class_init).
4676 * libspi/registry.c:
4677 Added funcsions spi_listener_struct_new() and
4678 spi_listener_struct_free() to help with memory management issues.
4679 We also now use these methods instead of gnew + poking stuff into
4680 the struct, and to decrement listener counts/free the listeners
4681 when deregistering them.
4682 Fix more refcount bugs in getDesktop() and
4683 getDeviceEventController().
4686 De-ref the desktop after enumerating the applications. Explicitly
4687 decrement the refcounts on the created listeners on exit (using
4688 _unref for keystroke listeners, and via the
4689 deregisterGlobalEventListenerAll command for other event
4692 2001-11-27 Michael Meeks <michael@ximian.com>
4694 * cspi/spi-listener.h: fixup enum.
4696 2001-11-27 Michael Meeks <michael@ximian.com>
4698 * cspi/spi-listener-impl.c (cspi_event_listener_new),
4699 (cspi_keystroke_listener_new): Use the cspi variants.
4701 2001-11-26 Michael Meeks <michael@ximian.com>
4703 * test/keysynth-demo.c: fix 2 compile warnings, missing
4706 * test/simple-at.c (report_focussed_accessible),
4707 (report_focus_event, report_button_press),
4708 (check_property_change, is_command_key),
4709 (report_ordinary_key_event, report_command_key_event): upd.
4711 * util/mag_client.h: include pre-requisites.
4713 * libspi/accessibleeventlistener.c
4714 (spi_event_listener_object_finalize): free any lingering
4717 * libspi/keystrokelistener.c
4718 (keystroke_listener_object_finalize): ditto.
4720 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
4721 callbacks, with cspi types.
4723 * cspi/spi_event.c (createAccessibleEventListener): chain to
4724 (AccessibleEventListener_addCallback): here.
4725 (createAccessibleKeystrokeListener): chain to
4726 (AccessibleKeystrokeListener_addCallback): here.
4728 * libspi/keystrokelistener.c
4729 (spi_keystroke_listener_class_init): add signal.
4730 (impl_key_event): emit the event.
4731 (boolean_handled_accumulator): impl.
4732 (marshal_BOOLEAN__POINTER): add, gack.
4734 * libspi/accessibleeventlistener.c
4735 (spi_event_listener_class_init): add signal.
4736 (impl_accessible_event_notify_event): emit the signal &
4737 make the loop efficient.
4738 (spi_event_listener_add_callback): prepend the callback.
4740 * libspi/accessibleeventlistener.h: add an 'event' signal,
4741 decl type on callback.
4743 * libspi/keystrokelistener.h: ditto.
4745 * cspi/spi-listener.h: make methods typesafe and
4746 make them use the new event typedefs.
4748 * test/simple-at.c (report_focussed_accessible):
4749 include mag_client.h
4750 Use *(void *)text_interface not the other thing.
4752 * configure.in: add gtk to registryd bits - since we use
4755 * util/magnifier.c: include libbonobo.h
4757 2001-11-25 Bill Haneman <bill.haneman@sun.com>
4759 * test/keysynth-demo.c:
4760 Turned this into a simple scanning keyboard, to demonstrate the
4761 use of g_timeout_add () as a means of creating timers for
4762 scanning, and the use of GtkStyle for visually indicating when
4763 virtual keyboard elements are selected.
4765 keysynth-demo now listens to any keyboard keys with zero-valued
4766 keycodes (i.e. 'unused' keys) and interprets them as
4769 Reworked the shiftlatch code so that shift-down state isn't held
4770 for long periods (it's only synthesized immediately prior to
4771 the keysynth event it's modifying). Note that shiftlatch in this
4772 demo is a convenience, not intended to take the place of AccessX
4773 which is the better choice for getting 'sticky' modifier keys.
4775 * libspi/deviceeventcontroller.c:
4776 * at-bridge/bridge.c:
4777 * cspi/spi_registry.c:
4778 Removed some debug print stuff, and put other verbosity in #ifdef
4783 Implemented some more of the magnifier IDL for the simple
4784 magnifier: namely, getZoomRegionParams.
4785 Added mag_x and mag_y members to MagnifierData struct, aid of this
4787 Added GtkWindow::realize signal handler to magnifier, to keep it
4788 from receiving keyboard focus from the WM.
4790 2001-11-23 Mark McLoughlin <mark@skynet.ie>
4792 * cspi/spi-private.h: my guess at what michael forgot
4793 before he ran off to NZ :-)
4795 2001-11-23 Michael Meeks <michael@ximian.com>
4797 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
4798 comment out non existant method invoke so we link.
4800 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
4801 use bonobo_exception_get_text for more friendly warnings.
4803 * cspi/spi.c (Obj_Add): move into spi_main & rename
4804 spi_object_add; kill spi.c
4806 * cspi/spi_registry.c
4807 (deregisterGlobalEventListener),
4808 (deregisterGlobalEventListenerAll),
4809 (registerGlobalEventListener): fix exception leaks.
4811 * cspi/spi_main.c (spi_exception): impl. helper, so we
4812 don't leak exceptions.
4814 * cspi/spi_selection.c
4815 (AccessibleSelection_deselectSelectedChild): return the
4818 * cspi/spi_main.c (spi_ev): impl; hack - gack.
4819 (spi_registry): ditto.
4820 (SPI_init): guard against double inits.
4822 * cspi/*.c: use spi_ev (), and spi_registry () where
4823 appropriate - a temporary hack until we have something
4824 better. Use spi_object_add
4826 2001-11-22 Michael Meeks <michael@ximian.com>
4828 * cspi/Makefile.am: re organise, install the headers.
4830 * cspi/*.h: add G_BEGIN/END_DECLS
4832 2001-11-22 Bill Haneman <bill.haneman@sun.com>
4835 Added non-preemptive keylistener for key events with no modifiers
4836 and shift-only modifier.
4838 * libspi/keystrokelistener.c:
4839 Removed some verbose diagnostics printout.
4841 * cspi/spi_registry.c:
4842 Fixed a bug that caused all key listeners to be registered as
4845 * libspi/deviceeventcontroller.c:
4846 Fixed bug that caused XGrabKey (preemptive key grab) to be called
4847 for non-preemptive key masks.
4850 2001-11-22 Bill Haneman <bill.haneman@sun.com>
4852 * docs/reference/idl/at-spi-idl-docs.sgml:
4853 * docs/reference/idl/at-spi-idl-sections.txt:
4854 * docs/reference/idl/at-spi-idl-overrides.txt:
4855 Added missing files.
4857 * docs/reference/Makefile.am:
4858 removed idl from SUBDIRS until we can figure a way to get gtk-doc
4859 to scan the IDL files :-(
4864 Added .cvsignore files.
4866 2001-11-21 Bill Haneman <bill.haneman@sun.com>
4868 * libspi/deviceeventcontroller.c:
4869 * libspi/keystrokelistener.c:
4871 * cspi/spi_registry.c:
4872 Added filters for KeySets, KeyEventSeq, and event types to key
4873 event dispatching, so listeners should only receive those events
4874 that they requested :-)
4876 2001-11-21 Bill Haneman <bill.haneman@sun.com>
4881 * docs/reference:Makefile.am:
4882 * docs/reference/cspi:
4883 * docs/reference/cspi:Makefile.am:
4884 * docs/reference/cspi:tmpl:
4885 * docs/reference/cspi:tmpl:*.sgml:
4886 * docs/reference/idl:
4887 * docs/reference/idl:Makefile.am:
4888 * docs/reference/idl:at-spi-idl-sections.txt:
4889 * docs/reference/idl:at-spi-idl-docs.sgml:
4890 * docs/reference/idl:tmpl:
4891 * docs/reference/idl:tmpl:*.sgml:
4893 Restructured docs directory to allow separate 'reference' docs
4894 section, and forked idl and cspi docs. Added the sgml template
4895 files to CVS. Added the first sections/structural sgml for the
4898 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
4900 * configure.in, libspi/Makefile.am: find libXtst.
4902 2001-11-21 Michael Meeks <michael@ximian.com>
4904 * test/accessx-gui.c: s/spi_value/value/ - doh.
4906 * libspi/base.[ch]: add.
4908 2001-11-18 Bill Haneman <bill.haneman@sun.com>
4910 * idl/Accessible.idl:
4911 * idl/Application.idl:
4914 Started gtk-doc cleanup on IDL.
4916 * libspi/deviceeventcontroller.c:
4917 Added and connected non-preemptive key notification from the
4918 toolkits (in addition to the pre-emptive support from XServer
4919 which we had before, but which causes 'focus flashing'). Filters
4920 are presently limited to key modifiers and global/non-global,
4921 KeySets are presently ignored, as are KeyEvent masks.
4923 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
4924 structs into the persistant structure rather than just storing
4925 pointers to things that might not persist across servant
4928 The XGrabKey call now does async keygrabs, because synchronous
4929 ones were deadlocking with GDK_event code in a very nasty way.
4931 Added boolean to internal method notify_keylisteners, to indicate
4932 whether the event came from the 'toolkit source' or the 'global
4933 (XServer) source' - this is used in the notification process to
4934 determine which listeners to send the event to.
4936 deviceeventcontroller.c is now warning-free.
4938 * libspi/registry.c:
4939 Fixed regression in application de-registration.
4940 Also fixed some really brain-dead weirdness having to do with
4941 event dispatching - event structs are now duplicated before being
4942 re-marshalled in the dispatch to listeners. This also fixes a
4943 Solaris build problem.
4946 2001-11-20 Michael Meeks <michael@ximian.com>
4949 (impl_accessibility_registry_deregister_global_event_listener):
4952 * libspi/deviceeventcontroller.c
4953 (spi_device_event_controller_check_key_event): return
4954 FALSE on no virtual method.
4956 * libspi/*..h: make includes work on a correctly pathed install.
4958 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
4960 * libspi/application.h: kill unused ( and whacked out )
4961 gboolean *spi_application_set_id (AtkObject *app, long id);
4963 2001-11-20 Michael Meeks <michael@ximian.com>
4965 * libspi/*.[ch]: further convert to bonobo's type func
4966 macros, remove redundnant casts etc.
4968 * libspi/text.c s/accessibility_text/spi_text/g,
4969 re-order to de-cruft.
4971 * libspi/hypertext.c: re-order to kill a huge slew
4972 of redundant forward decls.
4974 * libspi/relation.c: ditto.
4976 * libspi/image.c: ditto.
4978 * */.cvsignore: update
4980 2001-11-20 Michael Meeks <michael@ximian.com>
4982 * libspi/deviceeventcontroller.c
4983 (_controller_register_with_devices): use g_getenv,
4984 kill stdlib.h include.
4986 * libspi/keystrokelistener.c
4987 (spi_keystroke_listener_get_type): kill
4988 (spi_keystroke_listener_class_init),
4989 (spi_keystroke_listener_init): rename to this.
4991 * libspi/text.c (impl_getAttributes): fix warning / bug.
4993 * libspi/*.[ch]: more headers, includes and over commenting.
4995 2001-11-20 Michael Meeks <michael@ximian.com>
4997 * libspi/*.[ch]: fixup headers, includes and over commenting.
4999 * libspi/image.c (impl__get_imageDescription): const
5000 correctness warning fix. remove redundant casting.
5002 * libspi/table.c (impl_getRowDescription): ditto.
5003 (impl_getColumnDescription): ditto.
5005 * libspi/libspi.h: add.
5007 2001-11-19 Michael Meeks <michael@ximian.com>
5009 * libspi/editabletext.c (impl_setAttributes): fix warnings.
5011 * libspi/component.c (accessibility_component_get_type):
5012 rename to (spi_component_get_type): and macroify.
5013 (accessibility_component_init): rename to
5014 (spi_component_init): this
5015 (accessibility_component_class_init): rename to
5016 (spi_component_class_init): this
5018 * libspi/action.c (spi_action_get_type): kill, use the macro.
5020 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
5023 * libspi/application.c (spi_application_object_event_listener),
5024 (impl_accessibility_application_register_object_event_listener):
5025 warning fixes / const understanding updates.
5027 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
5030 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5032 * libspi/spi_accessible.c: Added docs and C bindings for
5033 AccessibleStateSet. (No implementations yet). Documentation
5034 coverage for C bindings now 100%. Made docs for event listeners
5039 boolean notifyListenersSync (in DeviceEventListener listener,
5040 in DeviceEvent event);
5042 oneway void notifyListenersAsync (in DeviceEventListener listener,
5043 in DeviceEvent event);
5045 Added DeviceEventListener and DeviceEvent structs (may deprecate
5046 KeyStroke and KeystrokeListener in favor of this generic
5047 event/listener framework for devices).
5049 * libspi/deviceeventcontroller.c:
5051 Changed some key listener code to take masks, etc., and paved the
5052 way for integration of toolkit/non-preemptive key events. Changed
5053 signatures of some internal methods.
5055 * at-bridge/bridge.c:
5056 Fixed regression connecting to interface signals, apparently
5057 caused by GTK+ changes.
5059 Added an internal bridge_state_listener to deal with
5060 property-change:accessible-state signals.
5062 Changed the key_listeners GList to store structs (including masks,
5063 etc.) instead of just CORBA_Objects (required for full
5064 implementation of key listener API).
5066 Connected the bridge to all currently supported Atk signals.
5067 Events now supported:
5068 object:property-change
5069 object:property-change:accessible-name
5070 object:property-change:accessible-state
5071 object:property-change:accessible-description
5072 object:property-change:accessible-parent
5073 object:property-change:accessible-value
5074 object:property-change:accessible-role
5075 object:property-change:accessible-table-caption
5076 object:property-change:accessible-table-column-description
5077 object:property-change:accessible-table-column-header
5078 object:property-change:accessible-table-row-description
5079 object:property-change:accessible-table-row-header
5080 object:property-change:accessible-table-summary
5081 object:children-changed
5082 object:visible-data-changed
5083 object:selection-changed
5084 object:text-selection-changed
5086 object:text-caret-moved
5088 object:row-reordered
5090 object:column-inserted
5091 object:column-reordered
5092 object:column-deleted
5093 object:model-changed
5095 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5097 * libspi/hyperlink.c,h:
5098 Fixed some broken stuff in hyperlink.
5100 * libspi/relation.h:
5101 * libspi/relation.c:
5102 * cspi/spi_accessible.c:
5103 Initial implementations of AccessibleRelation methods, and docs.
5105 * libspi/accessible.c:
5106 Fixed a bug that caused SEGV if an accessible
5107 object's description is NULL, and a client
5108 requests it. An empty string is now returned.
5110 * cspi/spi_editabletext.c:
5111 * cspi/spi_hypertext.c:
5113 * cspi/spi_hyperlink.c:
5117 Doc coverage now 95%.
5119 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5121 One last namespacing revision:
5122 * libspi/accessibleeventlistener.[ch]:
5123 Renamed SpiAccessibleEventListener to SpiEventListener,
5124 (no need for two namespaces ;-)
5126 And lots of documentation fixes:
5128 * docs/at-spi-docs.sgml:
5129 Fixed 'underscore vs. hyphen' bug that was preventing
5130 the gtk-doc API docs from being automatically generated.
5133 * cspi/spi-listener.h
5135 * cspi/spi_accessible.c
5137 * cspi/spi_application.c
5138 * cspi/spi_component.c
5139 * cspi/spi_editabletext.c
5141 * cspi/spi_hypertext.c
5143 * cspi/spi_registry.c
5144 * cspi/spi_selection.c
5148 * docs/at-spi-docs.sgml
5149 * docs/at-spi-sections.txt
5151 Added and fixed up gtk-doc documentation in cspi.
5153 Interfaces now (fully) documented (subject to revision and enhancement):
5155 Event Listener Support
5157 AccessibleApplication
5161 AccessibleEditableText
5168 AccessibleRelationSet
5173 2001-11-14 Bill Haneman <bill.haneman@sun.com>
5175 * at-bridge/bridge.c:
5176 Initial work for toolkit-level key snooper connection by bridge.
5181 New typedefs and fixes to support new namespacing, and cleaner
5182 separation of cspi bindings from libspi bonobo implementation.
5183 Removed inconsistent and extraneous Spi* namespace prefix that
5184 had crept into cspi headers.
5185 Lots of comment fixes that sed had missed.
5187 * cspi/spi-roletypes.h:
5188 * cspi/spi-statetypes.h:
5189 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
5190 to AccessibleRoleType.
5192 * libspi/accessibleeventlistener.h:
5193 Fixed minor namespacing weirdness.
5195 * libspi/deviceeventcontroller.c:
5196 Reordered some internal API for device listeners.
5197 Changed the key registry final boolean to 'is_system_global'
5198 rather than 'is_synchronous', which is more descriptive of its
5200 Added spi_device_event_controller_new().
5201 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
5203 * libspi/keystrokelistener.[ch]:
5204 Namespaced KeystrokeListener to SpiKeystrokeListener.
5205 Changed uses of keymasks to use SPI_ prefix, and did other
5208 * libspi/keymasks.h:
5209 Namespaced keymask constants with SPI_ prefix.
5211 * libspi/registry.c:
5212 Some warning fixes, and knock-on fixes from namespace changes.
5215 Added rules for accessx-gui test program.
5217 * test/accessx-gui.c:
5218 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
5219 utility. It doesn't actually use at-spi, but it's still cool and
5222 * test/keysynth-demo.c:
5226 Fixes so that these test clients work properly with the namespaced
5227 libraries. (Incompletely tested for technical reasons, fixes may follow)
5230 2001-11-13 Michael Meeks <michael@ximian.com>
5232 * libspi/application.c
5233 (impl_accessibility_application_get_version),
5234 (impl_accessibility_application_get_toolkit_name):
5236 (impl_accessibility_application_set_id),
5237 (impl_accessibility_application_get_id): remove
5238 redundant casting code.
5240 * libspi/action.c (impl_getDescription): fix warnings.
5242 * libspi/accessible.c
5243 (impl_accessibility_accessible_get_parent),
5244 (impl_accessibility_accessible_get_child_at_index),
5245 (impl_accessibility_accessible_get_state),
5246 (impl_accessibility_accessible_get_relation_set):
5247 warning fixes & include action.h
5249 2001-11-13 Michael Meeks <michael@ximian.com>
5251 * *.[ch] fix bits I screwed up:
5253 s/([^ \tb(\*\&\?\",])spi_/\1/g;
5254 s/([^ \tb(\*\&\?\",])Spi/\1/g;
5256 2001-11-13 Michael Meeks <michael@ximian.com>
5258 * *.[ch] Namespace libspi into spi_ and Spi.
5260 2001-13-11 Michael Meeks <michael@ximian.com>
5262 * Makefile.am: dist & install at-spi-1.0.pc
5264 * libspi/Makefile.am: install into at-spi-1.0
5266 * idl/Makefile.am (idldir): install into at-spi-1.0
5268 * at-spi-1.0.pc.in: add.
5270 * configure.in: build it.
5272 2001-11-12 Bill Haneman <bill.haneman@sun.com>
5274 * test/keysynth-demo.c:
5275 Use a 'realize' signal-handler to set the WM properties for
5276 the virtual keyboard, rather than making it a "POPUP" type
5277 override-redirect window (thanks to anders carlsson for that
5280 2001-11-11 Bill Haneman <bill.haneman@sun.com>
5283 * test/keysynth-demo.c:
5284 Added new test of key synthesis, which creates a simple
5285 (mouse-operated) onscreen keyboard. It inserts key events into
5286 the currently-focused window, thus it does not grab keyboard focus
5289 * cspi/spi_registry.c:
5290 Added C binding for AT-SPI generateKeyEvent.
5292 * libspi/deviceeventcontroller.c:
5293 Added call to XFilterEvent so that key listener works with XIM (we
5294 hope). Added event_synth_type to generateKeyEvent, so that we can
5295 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
5296 synthesize a press/release pair for KeySyms.
5298 2001-11-09 Bill Haneman <bill.haneman@sun.com>
5300 * libspi/Makefile.am:
5301 * registryd/Makefile.am:
5302 (temporary) hack to include libXtst in libspi and registryd.
5303 (Needed for keystroke synthesis, see below).
5306 Improved API for registerKeystrokeListener, in accordance with
5307 discussions with Gnopernicus team and X server research.
5309 * libspi/registry.c:
5310 * libspi/deviceeventcontroller.c:
5311 * libspi/accessible.c:
5312 * libspi/keystrokelistener.c:
5313 Changes and fixes to support keylisteners for potentially
5314 consumed key events (that is, 'passive grabs').
5315 Added implementation for generateKeyEvent() [untested].
5318 Changes to registerKeystrokeListener() API, as above.
5319 Added deregisterGlobalEventListenerAll(), and
5320 deregisterKeystrokeListener(), which are needed for clean exit of
5322 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
5323 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
5325 * cspi/spi_registry.c:
5326 Added implementations of function prototypes mentioned above.
5328 * registryd/registryd.c:
5329 Added the key listener event source as a g_timeout(), to allow
5330 receipt of key events that are not caught by GDK (since GDK
5331 doesn't support passive keygrabs, this was necessary).
5334 Changed to attach a keylistener to 'Alt' keys, and
5335 respond to the following keycommands: Alt-M (toggle magnifier);
5336 Alt-F (toggle speech); Alt-Q (quit).
5337 Added an exit routine to deregister the listeners, and a key
5338 listener that prints some key info to the console when a key
5339 matches the listener mask (and is thus received by the listener).
5341 * util/idl/Magnifier.idl:
5342 Changes to magnifier API to support multiple zoom regions,
5343 non-uniform scaling in x and y, markDirty, and a host of other
5344 features that would be useful to magnification.
5347 * util/mag_client.c:
5348 * util/mag_client.h:
5349 * util/mag_control.c:
5351 Source code changes to support the above IDL changes.
5354 As above, and also changes to use a (slower) generic conversion
5355 path for colormap conversions, since the fast RGB conversions have been
5356 reported to fail for 16-bit displays.
5358 2001-10-26 Michael Meeks <michael@ximian.com>
5360 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
5362 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
5364 * at-bridge/Makefile.am: fix LDFLAGS.
5366 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5368 * at-bridge/bridge.c:
5369 Re-worked listeners for toolkit events, now we have signal
5370 and property listeners. Added a private method
5371 register_atk_event_listeners(), which registers with the
5372 various atk and gtk signals we need to monitor in order to emit
5374 Added emission hook for AtkObject:property-change events, to
5375 support the 'property listeners'.
5376 Fixed some alloc()s of Accessibility_Event structs to use CORBA
5379 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
5380 which emit warnings and exit, respectively, if CORBA errors occur
5381 during remote calls, and we now use these methods to check most of
5382 our CORBA calls in the C bindings.
5384 * cspi/spi_accessible.c:
5385 Changed AccessibleSelection_refSelectedChild() to
5386 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
5387 now increment refcounts.
5389 * cspi/spi_component.c:
5390 Fixed some long pointer casts (dangerous!) to pass pointers to
5391 CORBA_longs of the proper type to the CORBA stubs, and copy the
5392 data into the longs that were passed into the C bindings code.
5394 * at-bridge/bridge.c:
5396 * libspi/accessible.c:
5397 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
5398 hyperlinks, AtkHyperlink is an object type.
5400 * libspi/application.c:
5401 Added various conversions to and from "generic" event types and
5402 atk-specific types; this is really part of the 'bridge'
5403 implementation but is valid for all AtkObject-based accessibility
5406 * libspi/editabletext.c:
5407 Fixed nasty bug wherein editable text's finalize method was
5408 unref'ing tha AtkObject reference that the text parent class was
5409 about to unref _again_. There was also a nasty inheritance bug
5410 that meant that the AccessibleEditableText class was corrupt.
5412 * libspi/selection.c:
5413 Provided implementations for some selection API that was broken.
5415 * idl/Application.idl:
5416 Added registerObjectEventListener () method.
5419 Fixed a number of return values that were Bonobo_Unknowns from
5420 bonobo_object_corba_objref(), which I
5421 forgot to dup before returning. Changed instances of
5422 bonobo_object_corba_objref (bonobo_object(o)) to
5423 BONOBO_OBJREF(o), for concision and clarity.
5425 2001-10-13 Louise Miller <louise.miller@sun.com>
5427 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
5428 idl/Event.idl, idl/Registry.idl
5429 Changed these files to include Bonobo_Unknown.idl instead
5432 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
5434 * libspi/component.c libspi/component.h:
5435 Fixed typo. Added assertions for object checks in
5436 AccessibleComponent code.
5438 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5440 * idl/Accessible.idl:
5441 Added 'isEqual (Accessible *object)'
5442 method for Accessible. (Not Yet Implemented).
5445 Changed signature of registerKeystrokeListener() to
5446 take a KeySet and KeyEventSeq so that specific keys and event
5447 types could be requested for monitoring, and added a flag
5448 is_synchronous so that either synchronous or asynchronous
5449 notification could be requested. (However this is not all
5450 implemented yet). This also meant adding two new typedefs,
5451 KeyEventSeq and KeySet.
5454 Added two new relations, RELATION_TOOLTIP_FOR and
5455 RELATION_LEAFNODE_OF.
5458 Added new state, STATE_HAS_TOOLTIP.
5460 * libspi/text.c, editabletext.c:
5461 Added new assertions to all casts of bonobo-objects from
5462 CORBA servants, to prevent Text API calls on non-text objects.
5463 Changed suspect casts of int-pointer types, so that we
5464 always send a valid CORBA_long pointer to the CORBA APIs that use
5465 in/out long parameters. We then have to copy from the CORBA_long
5466 into the regular long or int for return to the C bindings, or
5467 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
5470 * libspi/deviceeventcontroller.c:
5471 Cleaned these sources up.
5473 Changed return type for getCharacterAtOffset to
5474 CORBA_unsigned_long, to allow for 32-bit characters.
5477 2001-10-08 Bill Haneman <bill.haneman@sun.com>
5481 Fixed 'make dist' so that distro compiles...
5482 * libspi/keymasks.h:
5484 * cspi/spi-listener.c:
5485 KeystrokeListenerCB now returns a boolean.
5487 Added KeyEventType struct, and KeyStroke.
5488 Also added createKeystrokeListener(),
5489 KeystrokeListener_addCallback(),
5490 KeystrokeListener_removeCallback(), and added a keymask to
5491 registerKeystrokeListener().
5492 * cspi/spi_accessible.c:
5493 Changed numerous return types for interfaces from
5494 AccessibleComponent to Accessible<InterfaceName>; this was
5495 probably a cut-and-paste error.
5497 Implementations of new KeystrokeListener api (from spi.h,
5500 Changes to key modifier mapping.
5501 Created ControllerEventMask struct.
5502 Made DeviceEventController derive from Bonobo::Unknown.
5504 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
5505 * libspi/deviceeventcontroller.c:
5506 Added a number of new internal (private) methods.
5507 * libspi/editabletext.c:
5508 * libspi/editabletext.h:
5509 Fixed a number of bugs related to the fact that
5510 editabletext inherits from text. Fixed the EditableText struct,
5511 the init() call, and use correct casts when calling Text methods
5512 from an EditableText object. Removed (duplicate) atko from the
5513 EditableText structure, we use the one in the parent Text
5514 structure via the casts mentioned above.
5515 * libspi/keystrokelistener.[ch]:
5516 * libspi/registry.c:
5517 Changes in support of keyboard handling (above).
5519 Keyboard handling, though partly functional, is still not
5520 recommended for at-spi client use as there is considerable
5521 work yet to be done.
5524 Changed some places where pointers to various int types
5525 are cast to be pointers to CORBA_long types and vice-versa:
5526 pointer casting is not safe so we pass pointers of the correct
5527 types and then cast the result before putting it into the target
5530 * libspi/text.h: minor typos corrected.
5532 We now speak not only the name of a Text element, but the
5533 first sentence of its content, when it receives focus.
5534 I also changed the text compression to 75% from 50%.
5535 * util/Accessibility_Util.server.in:
5536 Changed the default magnifier type to be a 3x vertical
5537 splitscreen magnifier (was previously a 2x horizontal one).
5539 2001-10-03 Bill Haneman <bill.haneman@sun.com>
5541 * libspi/keystrokelistener.h:
5542 * libspi/keystrokelistener.c:
5543 Initial functional implementations of KeystrokeListener.
5546 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
5548 Fixed string handling for NULL strings in libspi.
5549 Added spi_freeString to free strings returned by C bindings.
5551 2001-09-30 Bill Haneman <bill.haneman@sun.com>
5553 * libspi/keystrokelistener.h:
5554 * libspi/keystrokelistener.c:
5555 Began (no-op) implementations of KeystrokeListener
5557 * libspi/deviceeventcontroller.c:
5558 * libspi/deviceeventcontroller.h:
5559 Began creating implementations of DeviceEventController,
5560 to handle keystroke and mouse event listening and
5562 * libspi/accessible.c:
5563 Stubbed-in the implementations for
5564 Accessibility_Accessible_getState and
5565 Accessibility_Accessible_getRelationSet.
5566 * libspi/registry.c:
5567 Improved de-registration process and fixed some bugs,
5568 deregistration now works correctly.
5570 Added initialization of applications list (to NULL).
5572 Reduced speech compression from 0.5 to 0.7, for demo.
5573 Changed call to gdk_window_set_decorations()
5574 to gtk_window_set_decorated().
5575 * at-bridge/bridge.c:
5576 Bridge now deregisters when app exits, via
5577 registration of a cleanup function
5578 with the g_atexit() call.
5579 Required making 'app' static, renamed 'this_app'.
5580 Fixed broken use of bonobo_init, passing argv wrongly.
5582 2001-09-27 Bill Haneman <bill.haneman@sun.com>
5586 Created a new directory for
5587 accessibility-related utilities, primarily for
5588 testing and demo purposes, but with possible
5595 Onscreen magnifier utility that
5596 is implemented as a bonobo service.
5598 * util/mag_client.c:
5599 * util/mag_client.h:
5600 Client-side support (simple C bindings)
5601 for Magnification service
5603 * util/mag_control.c:
5604 Client program example for
5605 Magnification service
5607 * util/Accessibility_Magnifier.server.in:
5608 Bonobo-activation file for the
5609 Magnification service.
5612 * util/idl/Magnifier.idl:
5613 IDL defining the bonobo Magnification
5617 Modifications to use the bonobo-activated magnifier
5618 above, in place of trying to connect to an existing
5619 magnifier that uses socket-listening IPC.
5621 If env variable MAGNIFIER is set, a magnifier service
5622 will be started if one does not exist.
5624 2001-09-25 Bill Haneman <bill.haneman@sun.com>
5626 * at-bridge/bridge.c:
5627 applied patch from Marc to build and run
5628 against new glib and gtk+ (seemed like a change
5629 to bonobo_init signature was made ?)
5631 made festival-server support turned off by default.
5632 Added support for a simple magnifier (off by default)
5633 which will be added to a 'util' directory later.
5634 * at-bridge/Makefile.am:
5635 Changed "application.h" header from a 'source'
5636 to a 'dependency' of libat-bridge.
5638 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
5647 Added interface implementation c files to list of
5648 includes so they are included in libcspi.
5651 Changed prototype of AccessibleAction_doAction to return a
5653 Changed prototype of AccessibleTable_getCaption to
5654 return an Accessible.
5655 Changed prototype of AccessibleTable_getSelectedRows
5656 and AccessibleTable_getSelectedColumns to
5657 return a long (returns the number of selected rows
5658 or columns respectively).
5659 Changed name of AccessibleText_refRunAttributes to
5660 AccessibleText_getAttributes.
5661 Changed prototype of AccessibleText_getCharacterExtents to
5662 return a void rather than a boolean.
5663 Added support for a AccessibleCoordType parameter
5664 specifying what type of coordinates are desired.
5665 Added an AccessibleCordType parameter to
5666 AccessibleText_getPointAtOffset.
5668 * cspi/spi_accessible.c:
5669 Added code to return the outstanding interfaces from
5670 Accessible_queryInterface.
5672 * cspi/spi_action.c:
5674 Corrected call to getNActions to call the c binding
5677 * cspi/spi_editabletext.c:
5679 Changed name from setRunAttributes to setAttributes.
5681 * cspi/spi_hyperlink.c:
5683 Changed call to getNAnchors to correctly call the c
5684 binding for an attribute.
5686 * cspi/spi_hypertext.c:
5688 Changed getImageDescription to correctly call the
5689 binding for an attribute.
5691 * cspi/spi_selection.c:
5692 Changed getNSelectedChildren to correctly call the c
5693 binding for the attribute.
5694 Changed refSelectedChild to getSelectedChild.
5698 Changed getCaption to return an Accessible.
5699 Fixed calls which retrieve attributes.
5700 Changed refAt to getAccessibleAt.
5701 Changed getNSelectedRows and getNSelectedColumns to
5705 Changed getCharacterExtents and getPointAtOffset to accept an
5706 AccessibleCoordType.
5708 Changed calls which retrieve attributes.
5709 Changed refRunAttributes to getAttributes.
5714 * idl/Hyperlink.idl:
5715 Changed n_anchors attribute to nAnchors to keep naming
5716 convention consistent.
5719 Made Table inherit from Bonobo::Unknown.
5720 Added nSelectedColumns and nSelectedRows attributes.
5723 Made Value inherit from Bonobo::Unknown.
5725 * libspi/hyperlink.c:
5726 Change for nAnchors attributte name change.
5728 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
5736 Added interface implementation c files to list of
5737 includes so they are included in libcspi.
5740 Changed prototype of AccessibleAction_doAction to return a
5742 Changed prototype of AccessibleTable_getCaption to
5743 return an Accessible.
5744 Changed prototype of AccessibleTable_getSelectedRows
5745 and AccessibleTable_getSelectedColumns to
5746 return a long (returns the number of selected rows
5747 or columns respectively).
5748 Changed name of AccessibleText_refRunAttributes to
5749 AccessibleText_getAttributes.
5750 Changed prototype of AccessibleText_getCharacterExtents to
5751 return a void rather than a boolean.
5752 Added support for a AccessibleCoordType parameter
5753 specifying what type of coordinates are desired.
5754 Added an AccessibleCordType parameter to
5755 AccessibleText_getPointAtOffset.
5757 * cspi/spi_accessible.c:
5758 Added code to return the outstanding interfaces from
5759 Accessible_queryInterface.
5761 * cspi/spi_action.c:
5763 Corrected call to getNActions to call the c binding
5766 * cspi/spi_editabletext.c:
5768 Changed name from setRunAttributes to setAttributes.
5770 * cspi/spi_hyperlink.c:
5772 Changed call to getNAnchors to correctly call the c
5773 binding for an attribute.
5775 * cspi/spi_hypertext.c:
5777 Changed getImageDescription to correctly call the
5778 binding for an attribute.
5780 * cspi/spi_selection.c:
5781 Changed getNSelectedChildren to correctly call the c
5782 binding for the attribute.
5783 Changed refSelectedChild to getSelectedChild.
5787 Changed getCaption to return an Accessible.
5788 Fixed calls which retrieve attributes.
5789 Changed refAt to getAccessibleAt.
5790 Changed getNSelectedRows and getNSelectedColumns to
5794 Changed getCharacterExtents and getPointAtOffset to accept an
5795 AccessibleCoordType.
5797 Changed calls which retrieve attributes.
5798 Changed refRunAttributes to getAttributes.
5803 * idl/Hyperlink.idl:
5804 Changed n_anchors attribute to nAnchors to keep naming
5805 convention consistent.
5808 Made Table inherit from Bonobo::Unknown.
5809 Added nSelectedColumns and nSelectedRows attributes.
5812 Made Value inherit from Bonobo::Unknown.
5814 * libspi/hyperlink.c:
5815 Change for nAnchors attributte name change.
5818 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
5820 implementations-- made server implementations own AtkObject pointers
5821 rather than their respective AtkInterrface pointers to fix
5822 refcounting. AtkHyperlink is still broken.
5824 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5825 * cspi/spi_accessible.c:
5826 Added method Accessible_Role_getName(),
5827 and requisite string array (role_names).
5828 Added conversion string_from_corba_strin() call
5829 to Accessible_getName and _getDescription.
5830 * libspi/accessible.c:
5831 Added implementation for Accessible_getRole()
5833 Added festival support, used if environment variable
5836 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5838 * at-bridge/bridge.c:
5839 Now allocate Accessibility_Event using
5840 Accessibility_Event__alloc() instead of g_new0().
5841 * libspi/accessibleeventlistener.c:
5842 Initialize AccessibleEventListener->callbacks to NULL.
5843 Fixed accessible__event_listener_init() param, changed to
5844 "AccessibleEventListener *" type.
5845 Changed a bonobo_object_release_unref() call to
5846 Accessibility_Accessible_unref().
5847 * libspi/listener.c:
5848 Changed Bonobo_Unknown_unref to (equivalent)
5849 Accessibility_Accessible_unref.
5850 * libspi/registry.c:
5851 Changed bonobo_object_release_unref to
5852 Accessibility_Accessible_unref.
5854 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
5857 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
5858 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
5859 spi-util.c spi-util.h
5860 Implementations for C bindings to remaining accessibility
5863 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
5866 changed return value of Action from void to boolean to
5867 bring in line with ATK.
5870 Changed getText funcions to return "out" start and end offsets.
5871 Changed getAttributes to take and offset and return the start
5872 and end offset of the attribute run.
5873 Changed getOffsetAtPoint and getCharacterExtents to take an
5874 enum describing whether coordinates are window or screen.
5877 libspi/action.c libspi/action.h libspi/editabletext.c
5878 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
5879 libspi/hypertext.c libspi/hypertext.h libspi/image.c
5880 libspi/image.h libspi/selection.c libspi/selection.h
5881 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
5882 libspi/value.c libspi/value.h
5883 Added server implementations for outstanding ATK interfaces
5884 not yet implemented.
5886 2001-09-04 Bill Haneman <bill.haneman@sun.com>
5889 Added (missing) getName() method.
5890 Made nActions an attribute.
5891 * idl/EditableText.idl:
5892 Changed order of params in setAttributes.
5893 * idl/Hyperlink.idl:
5894 Removed getAnchor, added getURI.
5896 Changed attributes to methods, for efficiency
5897 (so that getting extents can be done in one call)
5898 * idl/Selection.idl:
5899 Changed nSelectedChildren to attribute, and re-indented.
5900 * idl/Table.idl: changed nrows, ncolumns, caption, summary
5902 * idl/Text.idl: reformatted to match our coding style.
5903 (temporarily?) removed getRowColumnAtOffset().
5904 Changed text selection API to support multi-select and
5905 non-contiguous selections, as in ATK.
5906 * idl/Value.idl: changed some methods to attributes.
5908 2001-08-24 Mark McLoughlin <mark@skynet.ie>
5910 * libspi/listener.c(impl_notify_event):
5911 BonoboUnkown_unref the source instead
5912 of bonobo_object_release_unref - the ORB
5913 handles the releasing.
5915 * configure.in: require ORBit-2.3.94 for
5918 2001-08-21 Bill Haneman <bill.haneman@sun.com>
5920 Tagged CVS repository 'EA_1_0'.
5921 * README.EARLY_ACCESS:
5922 Alphabetized acknowledgements list, and
5924 Listed some known dependencies of at-spi.
5926 2001-08-20 Bill Haneman <bill.haneman@sun.com>
5928 * docs/at-spi-docs.sgml:
5929 * docs/at-spi-sections.txt:
5930 * docs/at-spi-overrides.txt: (Added zero-length file)
5931 Documentation improvements - gtk-doc should build
5932 docs for all implemented C bindings now.
5935 * cspi/spi.c: (New file)
5936 * cspi/spi_event.c: (New file)
5937 * cspi/spi_registry.c: (New file)
5938 * cspi/spi_accessible.c: (New file)
5939 * cspi/spi_application.c: (New file)
5940 * cspi/spi_component.c: (New file)
5941 Split spi_main.c into six parts, and included them from
5942 "spi.c". This is a bit of a hack, probably temporary,
5943 but required by gtk-doc, apparently.
5945 2001-08-20 Bill Haneman <bill.haneman@sun.com>
5948 * docs/at-spi-docs.sgml:
5949 * docs/at-spi-sections.txt:
5951 Initial checkins/modifications for gtk-doc generation.
5954 Added (missing) interface query methods to Accessible's C binding.
5956 Added GenericInterface type definition.
5958 Added query for AccessibleComponent interface to focus event handler.
5959 Added printout of bounding box for focussed component.
5960 * libspi/component.c:
5961 Added partial implementation for AccessibleComponent to C binding.
5962 * idl/Application.idl:
5963 * libspi/registry.c:
5964 * libspi/listener.c:
5965 * libspi/application.c:
5966 * libspi/application.h:
5967 Changed "ID" attribute type from string to long.
5969 2001-08-19 Bill Haneman <bill.haneman@sun.com>
5973 Made method naming consistent: methods taking object args
5974 start with uppercase, other methods (except those using
5975 acronyms) start with lowercase. Underscores delimit between
5976 object names and method names:
5977 SPI_init() - uppercase since it starts with an acronym.
5978 getDesktopCount () - lowercase start since no object param0.
5979 Accessible_getName() - uppercase object type name, studlyCaps method
5983 Added gtk-doc documentation for all currently implemented
5984 methods in the C bindings API.
5986 2001-08-18 Bill Haneman <bill.haneman@sun.com>
5988 * Makefile.am : changed build order to build test last.
5991 Changed "createEventListener" to "CreateEventListener".
5992 * libspi/accessibleeventlistener.c :
5993 Bugfix for addition of callbacks.
5994 * test/Makefile.am :
5995 * test/simple-at.c :
5996 Added new test that uses the C bindings API.
5998 * libspi/listener.c :
5999 * libspi/registry.c :
6000 * libspi/accessibleeventlistener.c :
6001 * at-bridge/bridge.c :
6002 Renamed member "target" of Accessibility_Event to "source",
6003 which is more descriptive.
6006 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6010 * cspi/Makefile.am :
6011 Added makefile support for at-spi/cspi directory.
6014 * cspi/spi-listener.h : (NEW FILE)
6015 Added support for/use of spi-listener.h.
6017 C bindings now build successfully, with no warnings.
6018 * libspi/accessibleeventlistener.h : (NEW FILE)
6019 * libspi/accessibleeventlistener.c : (NEW FILE)
6020 * libspi/Makefile.am :
6021 Added new object type "AccessibleEventListener"
6022 which inherits from Listener, and allows attachment
6023 of in-process callbacks (so that a client with a listening
6024 object instance can add functionality to the local
6025 implementation, dynamically).
6027 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6029 * libspi/accessible.c:
6030 Add implementation for get_index_in_parent().
6032 Added #include of "spi-roletypes.h", and
6033 added enumerated type AccessibleCoordType.
6034 Added definition for KeystrokeListener (function type).
6037 * cspi/spi-statetypes.h :
6038 * cspi/spi-roletypes.h :
6040 Added these headers, used by spi.h.
6042 Added code (NOTE: not yet built by make).
6044 2001-08-18 Mark McLoughlin <mark@skynet.ie>
6046 * libspi/Makefile.am: generate imodule
6047 at the same time as other idl compiler
6050 2001-08-17 Bill Haneman <bill.haneman@sun.com>
6051 * libspi/registry.c :
6052 * libspi/application.c :
6053 * idl/Application.idl :
6054 Made registration with toolkit an application method,
6055 which is required since each app has its own toolkit static
6056 environment. Thus the bridge must register for
6057 notification of toolkit events from each application in turn.
6058 Toolkit notifications are now successfully registered for, and
6059 sent to the listening at client.
6061 Changed toolkit event string to use hyphens rather than underscores.
6062 * libspi/listener.c :
6063 listner now gives more info in debug mode - it reports the
6064 name of the event received, as well as the name of the source.
6067 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6069 * libspi/registry.c :
6070 added more implementation for toolkit events.
6071 Fixed bug such that toolkit event registrations
6072 (via atk) use the whole event name string, not
6074 Removed a useless call to an ORBit_ method.
6075 * at-bridge/bridge.c :
6076 Removed unused local sbuf[] variable.
6078 We now register for Gtk:GtkWidget:button_press_event
6079 events as well as "focus:" events.
6081 Add some more API from Registry.idl that was missing,
6082 for keystroke listening, keystroke and mouse event
6083 synthesis, and enumeration of accessible desktops.
6085 2001-08-16 Michael Meeks <michael@ximian.com>
6087 * configure.in: use AM_GLIB_GNU_GETTEXT.
6089 * Makefile.am (SUBDIRS): kill intl.
6091 2001-08-15 Michael Meeks <michael@ximian.com>
6093 * registryd/Makefile.am: s/oaf/server/ relocate info file.
6095 * configure.in: upd.
6097 * configure.in: depend on a recent bonobo-activation that
6098 will find our server files ...
6100 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6102 * libspi/accessible.c : accessible_new() :
6103 Now we add the Component interface via bonobo_object_add_interface,
6104 if the contained AtkObject implements AtkComponent.
6105 * libspi/accessible.h : now include "component.h"
6106 * libspi/component.h :
6107 * libspi/component.c : added files - implementation of
6108 bonobo wrapper object for Accessibility/Component
6109 * libspi/listener.c :
6110 Added test code to check for Accessibility/Component:1.0
6111 interface and report whether it is implemented by the
6113 * libspi/registry.c :
6114 Now we check for not only the hash of the whole event
6115 string before relaying the event, we also check the
6116 "minor" event string (without the detail string).
6117 This allows event listeners to be registered against
6118 all events of a certain major+minor type, or just
6119 against a specific major+minor+detail type.
6120 * libspi/accessible.c :
6121 Added implementations for Accessible:get_parent(),
6122 Accessible:getChildCount(), and Accessible:getChildAtIndex().
6123 * libspi/registry.c :
6124 * libspi/listener.c :
6125 Replaced calls to Accessibility_Accessible_ref() and
6126 Accessibility_Accessible_unref() with
6127 calls to bonobo_object_dup_ref() and
6128 bonobo_object_release_unref(), so that the CORBA object
6129 is dup-ed and released when relayed, as well as the bonobo object.
6131 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6133 * libspi/Makefile.am,
6134 registryd/Makefile.am,
6135 at-bridge/Makefile.am.
6136 test/Makefile.am, configure.in:
6137 reverse previous changes.
6139 * /idl/Image.idl: fix typo.
6141 * test/Makefile.am: put DEBUG_FLAGS
6144 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6146 * test/app.c: use argv[0] instead of
6149 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6151 * libspi/Makefile.am,
6152 registryd/Makefile.am,
6153 at-bridge/Makefile.am.
6154 test/Makefile.am, configure.in:
6155 cleanup, replace individual LIBS/CFLAGS with
6156 AT_COMMON_{LIBS|CFLAGS}.
6160 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6162 * configure.in, libspi/Makefile.am:
6163 Change IDL path checking for bonobo-activation
6166 2001-08-15 Bill Haneman <bill.haneman@sun.com>
6168 * registryd/registry.c : separated event listeners to use
6169 3 separate lists (focus, window, toolkit). Began testing
6170 event names against hashes before relaying events.
6171 * test/at.c : now register for events of type "focus:"
6172 * test/app.c : now generate events of type "focus:"
6173 * at-bridge/bridge.c : register with ATK for focus events,
6174 and we now relay those focus events to any "focus:" listeners.
6175 This now works with the bridge as a GTK_MODULE when running test/at.
6176 * libspi/registry.c :
6177 * libspi/listener.c :
6178 now we ref event sources before propagating, and unref on receipt.
6179 * libspi/registry.c :
6180 some changes to internal structs, to support event typestring hashes.
6181 * text/app.c : changed the way the appname is generated.
6182 * cspi : added directory that will hold the C bindings library for
6183 non-CORBA/bonobo-savvy clients.
6184 * cspi/spi.h : header file that contains the function prototypes for the C binding.
6185 * idl/Component.idl : added in parameter to indicate coord system for
6186 geometry-related calls.
6187 * idl/Hyperlink.idl : added readonly n_links attribute
6188 * idl/Image.idl : changed methods to attributes.
6190 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6192 * at-bridge/Makefile.am: link against
6193 ../libspi/libspi.la instead of -lspi.
6195 * at-spi/test/app.c: include
6196 bonobo-activation.h. Use a default appname
6197 if one is not provided.
6199 2001-08-14 Bill Haneman <bill.haneman@sun.com>
6201 * idl/Registry.idl : temporarily changed register_Application
6202 to oneway, to work around issue with initial registration
6204 * idl/Application.idl : changed attribute "id" from readonly
6205 to read-write, since it needs to be assigned by Registry.
6206 * registryd/registryd.c : added call to set application id
6208 * registryd/registry.c : changed de-registration procedure to
6209 use CORBA_Object_hash() to find matching object ref in application
6210 lists and listener lists.
6211 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
6212 began distinguishing between event types (work in progress).
6214 2001-08-13 Bill Haneman <bill.haneman@sun.com>
6217 * libspi/application.c:
6218 Added implementations for get/set id, get_toolkitName,
6220 * registryd/registryd.c :
6224 Converted from use of OAF to bonobo-activation.
6225 * libspi/desktop.h :
6226 * libspi/desktop.c :
6228 Removed references to atksimpleobject, since base atkobject
6229 implementation now provides functionality we need.
6230 * libspi/atksimpleobject.c :
6231 * libspi/atksimpleobject.h :
6236 * at-bridge/Makefile.am
6237 * at-bridge/bridge.c
6240 Added directory "bridge" and contents, and added dependencies
6241 in Makefile.am/configure.in.
6242 Initial checkin of "at-bridge".
6243 This code is a GTK_MODULE which automatically registers
6244 GTK+ apps with the accessibility registry, using an object
6245 reference to the root ATK object.
6247 2001-08-10 Mark McLoughlin <mark@skynet.ie>
6249 * po/Makefile.in.in: Remove. Again. If this
6250 doesn't get autogenerated - you need to update
6253 2001-08-07 Mark McLoughlin <mark@skynet.ie>
6255 * po/Makefile.in.in: Add. Again.
6257 2001-07-31 Bill Haneman <bill.haneman@sun.com>
6259 * libspi/accessible.c : added support for 'description' property.
6260 * libspi/accessible.c
6262 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
6263 (since the two are now equivalent in libbonobo)
6271 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
6272 Bonobo::Unknown as does Accessibility::Accessible.
6273 * idl/StreamableContent.idl : as above, and replaced internal InputStream
6274 interface with Bonobo::Stream, since it was redundant with it.
6275 (The Stream returned by a StreamableContext object is expected to
6276 implement only a subset of Bonobo::Stream)
6278 2001-07-28 Anders Carlsson <andersca@gnome.org>
6280 * libspi/accessible.c (accessible_object_finalize): Change
6281 g_free to g_object_unref since the AtkObject is a GObject.
6283 2001-07-30 Bill Haneman <bill.haneman@sun.com>
6285 * idl/Accessibility.idl: add new IDL files
6288 * idl/Action.idl: Definitions of actionable UI object
6289 * idl/Component.idl: Definitions of UI component geometry, etc.
6290 * idl/Hyperlink.idl: Defs of hyperlink behavior
6291 * idl/Image.idl: Def of accessible image
6292 * idl/Selection.idl: Definition of UI object with selectable children
6293 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
6294 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
6295 * idl/Text.idl: Interface defs for UI elements with complex textual content
6296 * idl/Value.idl: Definition of UI element that is a value controller or display
6298 2001-07-27 Michael Meeks <michael@ximian.com>
6300 * po/Makefile.in.in: remove autogenerated file from CVS.
6302 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
6305 * idl/Registry.idl: include guard.
6307 * idl/Accessibility.idl: Add, and include all the other IDL
6310 * idl/*.idl: remove mass of pragmas etc.
6312 2001-07-26 Michael Meeks <michael@ximian.com>
6314 * registryd/Makefile.am (registryd_SOURCES): remove
6317 2001-07-27 Mark McLoughlin <mark@skynet.ie>
6319 * libspi/.cvsignore, registryd/.cvsignore,
6320 test/.cvsignore: updated.
6322 * po/Makefile.in.in: gettext update.
6324 2001-07-25 Bill Haneman <bill.haneman@sun.com>
6326 * initial CVS checkin
6328 2001-06-29 Michael Meeks <michael@ximian.com>
6330 * configure.in: add AM_CONFIG_HEADER to gen config.h