1 2006-06-12 Bill Haneman <bill.haneman@sun.com>
3 * configure.in: Require atk-1.12.0, to pick up
4 new API. (bug #344412).
6 * libspi-1.0-uninstalled.pc.in:
8 * libloginhelper-1.0.pc.in: Remove gtk+ dependency.
9 Fix for #341488 from Samual Thibault.
11 * configure.in, LINGUAS: Use LINGUAS, bug #338023.
12 Thanks to Brian Pepple.
14 2006-06-09 Bill Haneman <bill.haneman@sun.com>
17 (impl_get_nSelectedRows, impl_get_nSelectedColumns):
18 New, missing implementations of attribute reading methods
21 * cspi/spi.h, spi_value.c:
22 (AccessibleValue_getMinimumIncrement): New methods wrapping
23 the (formerly unimplemented) property from Value.idl.
26 (impl_get_minimumIncrement): Implementation for retrieving
27 the minimum valuator increment, (formerly unimplemented).
30 2006-06-09 Bill Haneman <bill.haneman@sun.com>
32 * idl/Accessibility_State.idl:
33 Added STATE_VISITED (bug #338369).
35 * cspi/spi_accessible.c:
36 (spi_state_to_corba) Fixed marshalling of new statetypes.
39 (spi_init_state_tables, impl_getStates):
40 Fixed conversion of new statetypes to/from ATK.
42 * idl/Accessibility_Role.idl: Added ROLE_FORM (bug #344266).
44 * cspi/spi-roletypes.h, spi_accessible.c: Added marshalling
45 definitions/conversions for new roles from ATK.
47 * idl/Accessibility_Relation.idl:
49 * cspi/spi.h, spi_accessible.c: Added SPI_RELATION_DESCRIBED_BY and
50 SPI_RELATION_DESCRIPTION_FOR. (bug #344264) Also
51 SPI_PARENT_WINDOW_OF, which was in ATK but not AT-SPI.
53 * libspi/accessible.c: Fixed marshalling of new role types from
56 2006-04-17 Matthias Clasen <mclasen@redhat.com>
58 * revert my previous change
60 2006-04-17 Kjartan Maraas <kmaraas@gnome.org>
62 * configure.in: Remove obssolete no_NO locale
63 * po/no.po: And the translation.
65 2006-04-05 Matthias Clasen <mclasen@redhat.com>
67 * atk-bridge/bridge.c (spi_atk_emit_eventv): Fix a
68 memory-management error that caused crashes on x86_64.
71 2006-03-30 Guntupalli Karunakar <karunakar@indlinux.org>
73 * configure.in: Added 'dz' (Dzongkha) to ALL_LINGUAS.
75 2006-03-27 Bill Haneman <bill.haneman@sun.com>
77 * configure.in: Define $LIBTOOL_EXPORT_OPTIONS
78 to strip "cspi_*" from the symbol table.
80 * cspi/spi_streamablecontent.c:
81 (get_streams): Make this method static.
84 (_cspi_exception_throw): rename to cspi_exception_throw,
85 so we can strip it with the rest...
88 Add LIBTOOL_EXPORT_OPTIONS to libcspi_la_LDFLAGS.
90 2006-03-27 Bill Haneman <bill.haneman@sun.com>
92 Add doxygen-generated IDL docs to tarball, and enable
93 doxygen during build/install when available. Bug #301345.
95 * configure.in: Add docs/reference/idl/Makefile to AC_OUTPUT.
97 * docs/reference/Makefile.am: Add idl to SUBDIRS.
99 * docs/reference/idl/Makefile.am: Optionally use
100 doxygen to create docs.
102 2006-03-20 Vladimer Sichinava <vlsichinava@gmail.com>
104 * configure.in: Added "ka" (Georgian) to ALL_LINGUAS
106 2006-03-20 Bill Haneman <bill.haneman@sun.com>
109 (impl_get_selected_rows): Don't free the selection if it's
110 empty or has not been assigned; init it to NULL so you can tell.
111 Also, allow for zero selected rows.
112 (impl_getSelectedColumns): Ditto. Bug #319088.
114 2006-03-11 Vincent Untz <vuntz@gnome.org>
116 Leak fix for bug #334217.
118 * libspi/application.c: spi_application_toolkit_event_listener():
119 don't duplicate the string we pass as an argument to
120 spi_init_any_nil() since spi_init_any_nil() already does it
121 * registryd/deviceeventcontroller.c:
122 (spi_dec_button_update_and_emit): ditto
123 (spi_dec_mouse_check): ditto
124 (spi_dec_emit_modifier_event): ditto
125 (spi_device_event_controller_forward_mouse): ditto
126 * registryd/registry.c:
127 (desktop_add_application): ditto
128 (desktop_remove_application): ditto
130 2006-02-20 Bill Haneman <billh@gnome.org>
132 * configure.in: Rev to 1.7.6.
134 Leak fixes for bug #331924.
136 * atk-bridge/bridge.c:
137 (spi_atk_bridge_init_base): Don't dup the string, it's already
138 been dup-ed. Fixes a leak.
139 (spi_atk_emit_eventv): Move the CORBA_free call here,
140 instead of spi_atk_state_event_listener; fixes another leak.
141 (spi_atk_bridge_key_listener):Free the dup'ed key strings after
142 notifying the registry; fixes another leak.
144 * registryd/registry.c:
145 (registry_flush_event_queue): Free the CORBA_any when
146 flushing the event, not just the string. Fixes another leak.
147 (registry_queue_event): Free the CORBA_any when dropping
148 events on the floor; fixes another leak.
151 (spi_init_any_object, spi_init_any_nil):
152 Always set _release to TRUE. Fixes another leak.
154 2006-02-20 Bill Haneman <billh@gnome.org>
156 * configure.in: Rev to 1.7.5.
157 Reinstate localization of this module. Thanks for Rodney
158 Dawes for fixing my patch.
160 * registryd/Makefile.am: Remove Accessibility_Registry.server
161 from dist, since it needs to be re-created at configure time.
164 2006-01-31 Bill Haneman <billh@gnome.org>
166 * configure.in: Rev to 1.7.4 (to include build fix below).
168 * idl/Makefile.am: Include Selector.idl in dist.
172 (cspi_internal_event_get_object): Handle case where
173 "object" isn't present, i.e. CORBA_TC_Object doesn't match
174 the EventDetails data.
175 (cspi_internal_event_get_text): Handle NULL string.
176 (cspi_internal_event_get_rect): Handle missing/empty rect
177 data, Accessibility_TC_RectBounds doesn't match any_data.
179 2006-01-30 Bill Haneman <billh@gnome.org>
183 * atk-bridge/bridge.c:
184 (spi_atk_emit_eventv): Check for SPI_REMOTE_OBJECT
185 interface and use that when instantiating a new source
186 accessible. Better fix for bug #321814.
188 2006-01-27 Bill Haneman <billh@gnome.org>
190 * idl/Accessibility_Selector.idl: Added to the cvs repository.
192 * configure.in: Revved to 1.7.3.
194 2006-01-17 Bill Haneman <billh@gnome.org>
196 * configure.in: Revved to 1.7.2, re-dist to include docs.
198 2006-01-09 Bill Haneman <billh@gnome.org>
200 * configure.in: Removed po/Makefile.in inclusion, we do not need
203 * idl/Accessibility.idl: Improved documentation here, and for all
204 IDL in the 'GNOME::Accessibility' namespace.
206 * idl/Accessibility_Accessible.idl:
207 (LOCALE_TYPE): Added enum.
208 (AttributeSet): New, for returning multiple name/value attribute pairs.
209 (RoleSet): New, sequence of Roles, to be used in upcoming
211 (getAttributes): New API, allows retrieval of name/value pair
212 annotations for all kinds of Accessible objects. C.f.
213 Text:getAttributes, which is only for typographic/textual/semantic tags in
215 (getApplication): New, retrieves the host/containing Application
216 instance for an object (without having to walk up the whole tree).
218 * idl/Accessibility_Component.idl:
219 (getAlpha): New method, returns the alpha blending (aka 'opacity')
220 value for an object. An alpha of 1.0 is fully opaque, 0.0 is
223 * idl/Accessibility_Event.idl:
224 (EventDetails): New struct definition, for encapsulating
225 commonly-queried information about emitted events. The use of
226 this structure in emitted events (in the 'any' member of
227 Accessibility_Event) should greatly reduce the number of
228 client-server roundtrips necessary.
230 * idl/Accessibility_Image.idl:
231 (imageLocale): New, a readonly attribute indicating the POSIX
232 LC_MESSAGES locale of the image and associated Alt/descriptive
235 * idl/Accessibility_Relation.idl:
236 (RELATION_PARENT_WINDOW_OF): Include, as complement to
239 * idl/Accessibility_Role.idl:
240 (ROLE_ENTRY, ROLE_CHART, ROLE_CAPTION, ROLE_DOCUMENT_FRAME)
241 (ROLE_HEADING, ROLE_PAGE, ROLE_SECTION): New roles for
242 complex document and form support.
244 * idl/Accessibility_State.idl:
245 (STATE_REQUIRED, STATE_TRUNCATED, STATE_ANIMATED)
246 (STATE_INVALID_ENTRY, STATE_SUPPORTS_AUTOCOMPLETION)
247 (STATE_SELECTABLE_TEXT, STATE_IS_DEFAULT): New states,
248 for support of complex documents and forms.
250 * idl/Accessibility_StreamableContent.idl:
251 (SeekType, IOError, NotSupported, NoPermission): New enum and exceptions, to
252 allow old bonobo-stream interfaces to be deprecated in the next
255 * idl/Accessibility_Text.idl:
256 (getAttributeValue): New method, allows query-by-name of single
259 * libspi/accessible.c:
260 Added support for new roles. Implemented new methods
261 (impl_accessibility_accessible_get_application): New
262 (impl_accessibility_accessible_get_attributes): New
264 * libspi/component.c:
265 (impl_accessibility_component_get_alpha): New.
268 (impl_accessibility_image_get_locale): New.
270 * libspi/relation.c: Added support for new relation type.
272 * libspi/stateset.c: Added support for new state types.
275 (impl_getAttributeValue): New.
278 New prototypes for private methods
280 spi_init_any_object, spi_init_any_string,
283 * libspi/spi_event.c:
284 Use EventDetails in the event emission methods.
286 * cspi/spi-private.h:
287 (cspi_role_from_spi_role): Expose this adapter method, since
288 we need it in the bridge (see below).
291 (AccessibleEvent_getSourceName):
292 (AccessibleEvent_getSourceRole):
293 (AccessibleEvent_getSourceApplication):
294 (AccessibleEvent_getSourceDetails):
295 New methods for interrogating/demarshalling
296 event details (i.e. source's accessible name, role,
299 * cspi/spi_accessible.c: Use cspi_role_from_spi_role.
300 Make use of the new EventDetails struct in events, if present.
301 (AccessibleEvent_getSourceName)
302 (AccessibleEvent_getSourceRole)
303 (AccessibleEvent_getSourceApplication)
304 (AccessibleEvent_getSourceDetails): Implement the newly exposed
306 (Accessible_getAttributes): New, wraps
307 Accessibility_Accessible_getAttributes.
308 (Accessible_getHostApplication): New, wraps
309 Accessibility_Accessible_getApplication.
312 (AccessibleImage_getImageLocale): New wrapper for
313 Accessibility_Image_get_imageLocale.
315 * cspi/spi_component.c:
316 (AccessibleComponent_getAlpha): New wrapper for
317 Accessibility_Component_getAlpha.
319 * atk-bridge/bridge.c:
320 Use new prototyped for init_any methods.
321 (spi_atk_bridge_init_nil, spi_atk_bridge_init_object)
322 (spi_atk_bridge_init_string, spi_atk_bridge_init_rect)
323 (spi_atk_bridge_init_base): Wrappers
324 for spi_init_any_* methods, due to refactor; include extended
325 information in the Accessibility_EventDetails struct, for instance
326 accessible-name, Role, and containing Application.
328 * registryd/registry.c:
329 Use new event emission (with EventDetails).
331 * registryd/deviceeventcontroller.c:
332 Use new event emission (with EventDetails).
334 2006-01-09 Kjartan Maraas <kmaraas@gnome.org>
336 * configure.in: Generate po/Makefile.in
337 * cspi/spi_main.c: Add #ifdef PRINT_LEAKS around a function
338 * cspi/spi_streamablecontent.c:
339 (accessible_bonobo_stream_client_seek),
340 (AccessibleStreamableContent_seek): Remove unused vars.
341 * libspi/application.c: Missing header.
342 * libspi/text.c: (impl_getDefaultAttributes): Unused vars
343 * login-helper/login-helper.c: (login_helper_finalize),
344 (login_helper_init): Remove unused stuff
345 * registryd/deviceeventcontroller.c: (spi_dec_replace_map_keysym),
346 (spi_dec_init_mouse_listener), (is_key_released): Remove unused vars
347 and surround some with #ifdef GRAB_BUTTON.
348 * test/event-listener-test.c: (main), (report_event),
349 (report_caret_event), (report_detail_event),
350 (report_detail1_event), (report_bounds_event), (report_text_event),
351 (report_text_selection_event),
352 (report_active_descendant_changed_event),
353 (report_children_changed_event), (report_name_changed_event),
354 (report_description_changed_event), (report_parent_changed_event),
355 (report_window_event), (report_table_summary_event),
356 (report_table_header_event), (report_table_caption_event),
357 (report_table_row_description_event),
358 (report_table_column_description_event), (timing_test_event):
359 Remove a bunch of unused variables and fix a slew of format specifiers
360 * test/key-listener-test.c: (report_all_key_event): Format specifier
361 * test/keypad-test.c: (print_key_event): Same
362 * test/login-helper-server-test.c: (main): Include gtkmain.h and remove
364 * test/screen-review-test.c: (main), (print_chunk_debug),
365 (review_buffer_get_text_chunk), (debug_chunk_list),
366 (string_guess_clip), (text_chunk_get_clipped_string),
367 (text_chunk_list_to_string), (get_screen_review_line_at):
368 Remove unused variables and fix format specifiers.
369 * test/simple-at.c: (report_text_event): Format specifier fix.
370 * test/stress-test.c: (main): Remove unused var.
372 2005-12-29 Abel Cheung <maddog@linuxhall.org>
374 * configure.in: Add zh_HK, zh_TW to ALL_LINGUAS
375 (yes I know that's useless)
377 2005-11-20 Theppitak Karoonboonyanan <thep@linux.thai.net>
379 * configure.in: Added "th" (Thai) to ALL_LINGUAS.
381 2005-11-17 Michael Meeks <michael.meeks@novell.com>
383 * atk-bridge/bridge.c (spi_atk_emit_eventv):
384 urgh-fix embarassing typo.
386 2005-11-16 Michael Meeks <michael.meeks@novell.com>
388 * atk-bridge/bridge.c (spi_atk_emit_eventv):
389 do a faster, less problematic _unref call on this local
390 object, rather than a slower (potentially cross-thread
391 complicated) CORBA call.
393 2005-11-02 Kjartan Maraas <kmaraas@gnome.org>
395 * atk-bridge/bridge.c: (spi_atk_bridge_signal_listener):
396 * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_seek):
397 * registryd/deviceeventcontroller.c:
398 (spi_controller_notify_mouselisteners),
399 (impl_generate_keyboard_event):
400 * test/screen-review-test.c: (chunk_bounds_within):
401 * test/test-simple.c: (test_desktop): Remove some unused code
402 and fix compiler warnings. Closes bug #320049.
404 2005-10-27 Bill Haneman <bill.haneman@sun.com>
406 * registryd/deviceeventcontroller.c:
407 (spi_controller_notify_keylisteners): Check
408 to make sure the event listener has requested 'preemptive'
409 status before pre-empting an event.
411 2005-08-29 Bill Haneman <bill.haneman@sun.com>
413 * configure.in, README, NEWS: Release 1.6.5.
415 2005-07-25 Matthias Clasen <mclasen@redhat.com>
417 * test/window-listener-test.c: Fix a printf
418 format error. (#169453)
420 2005-07-15 Bill Haneman <bill.haneman@sun.com>
422 * tests/test-simple.c:
423 (key_listener_cb): Ensure that the keystring is dup'ed instead of
424 relying on the old string from the key event hanging around after
425 the event handler returns. Fixes broken 'make check'.
427 2005-06-06 Swapnil Hajare <dreamil@gmail.com>
429 * Added Marathi (mr_IN) translations.
431 2005-05-27 Kjartan Maraas <kmaraas@gnome.org>
433 * cspi/bonobo/cspi-bonobo-listener.c:
434 (cspi_event_list_remove_by_cb): Fix the build.
436 2005-05-26 Michael Meeks <michael.meeks@novell.com>
438 * cspi/bonobo/cspi-bonobo-listener.c
439 (cspi_event_list_remove_by_cb): actually filter by callback.
441 2005-05-25 Bill Haneman <bill.haneman@sun.com>
443 * registryd/registry.c (remove_listener_cb):
444 Make deregistration filter rules match the event emission rules.
446 2005-05-25 Michael Meeks <michael.meeks@novell.com>
448 * registryd/registry.c (remove_listener_cb),
449 (impl_accessibility_registry_deregister_global_event_listener),
450 (impl_accessibility_registry_deregister_global_event_listener_all):
451 pass a closure to the remove callback to filter listeners more
452 accurately on remove.
454 2005-04-05 Bill Haneman <bill.haneman@sun.com>
456 * configure.in: Revved to 1.6.4.
457 Remember to put quotes around XEVIE_LIBS assignment.
458 Fixed one of tertiary AC_CHECK_HEADER tests for XEvie.
461 * tests/event-listener-test.c: Tweaked the tests - more detail
462 from caret events, and some interrogation of AccessibleText APIs.
463 Commented-out the bounds-changed events by default, since they can
466 2005-04-14 Kjartan Maraas <kmaraas@gnome.org>
468 * atk-bridge/bridge.c: (spi_atk_emit_eventv): Plug a leak.
469 * cspi/bonobo/cspi-bonobo-listener.c: (cspi_device_event):
470 Same here. Closes bug #167806
472 2005-04-05 Bill Haneman <bill.haneman@sun.com>
474 * atk-bridge/bridge.c:
475 (spi_atk_bridge_signal_listener):
476 Free the any._value if any._release is TRUE,
477 since the ORB won't do it for us in this case
478 [because this method is not a skel].
481 2005-03-30 Steve Murphy <murf@e-tools.com>
483 * configure.in: Added "rw" to ALL_LINGUAS.
485 2005-03-29 Bill Haneman <bill.haneman@sun.com>
487 * configure.in: Improved check for HAVE_XEVIE, to detect
488 presence on XOrg, where -lXevie is a separate library.
490 2005-03-08 Bill Haneman <bill.haneman@sun.com>
492 * configure.in, NEWS, README: Revved to 1.6.3.
494 2005-02-16 Adi Attar <aattar@cvs.gnome.org>
496 * configure.in: Added "xh" to ALL_LINGUAS.
498 2005-02-07 Bill Haneman <bill.haneman@sun.com>
500 * atk-bridge/bridge.c:
501 (atk_bridge_init): Added missing NULL in g_strconcat(),
502 also check for symlink before logging to
503 insecure directory. Thanks to meissner@suse.de.
505 2005-01-25 Padraig O'Briain <padraig.obriain@sun.com>
507 * tests/login-helper-server-test.c: Add return call to main
508 function. Patch from Chris Lahey. Fixes bug #165129.
510 2004-12-20 Padraig O'Briain <padraig.obriain@sun.com>
512 * cspi/spi.h: Add description for SPI_RELATION_SUBWINDOW_OF.
514 2004-12-09 Bill Haneman <billh@gnome.org>
516 * registryd/registry-main.c:
517 Added #define <string.h> for strrchr. (bug 160862).
518 Thanks to Vincent Berger for catching.
520 2004-12-09 Padraig O'Briain <padraig.obriain@sun.com>
522 * atk-bridge/bridge.c (spi_atk_get_registry): Do not attempt to
523 restart registry process if the registry process is found to have died
524 and the current process is exiting.
525 (spi_atk_bridge_exit_func): Do not attempt to deregister the
526 application if the registry process has died.
527 (spi_atk_emit_eventv): Return if call to spi_atk_get_registry
528 does not return a registry object.
529 (spi_atk_tidy_windows): Give up if the registry process has died.
531 This fixes problems with hangs and crashes when logging out.
533 2004-12-03 Padraig O'Briain <padraig.obriain@sun.com>
535 * registryd/desktop.c: Add checking that we are not exiting before
536 calling spi_desktop_remove_application in
537 abnormal_application_termination. Fix for bug #152147.
539 2004-12-02 Bill Haneman <billh@gnome.org>
541 * configure.in, NEWS, README: Revved to 1.6.1.
543 Patch from Padraig O'Briain <padraig.obriain@sun.com>
544 * atk-bridge/bridge.c:
545 (atk_bridge_init): Save the pid when we start, to detect forks.
546 (spi_atk_bridge_exit_func): Don't call the cleanup routines
547 if we're in a forked pid.
549 2004-10-09 Bill Haneman <billh@gnome.org>
551 * idl/Accessibility_LoginHelper.idl:
552 Improved inline documentation.
554 2004-10-02 Jesus Bravo Alvarez <suso@trasno.net>
556 * configure.in: Added gl (Galician) to ALL_LINGUAS
558 2004-09-30 Kjartan Maraas <kmaraas@gnome.org>
560 * libspi/accessible.c:
561 (impl_accessibility_accessible_get_role_name),
562 (impl_accessibility_accessible_get_local_role_name):
564 * libspi/component.c:
565 (impl_accessibility_component_get_accessible_at_point):
567 * libspi/eventlistener.c: (spi_event_listener_new):
569 * libspi/stateset.c: (impl_compare): More of the same
570 * libspi/table.c: (impl_getRowDescription): Again.
571 * registryd/desktop.c: (spi_atk_desktop_get_type): Same
572 * registryd/deviceeventcontroller.c: (spi_clear_error_state),
573 (impl_generate_keyboard_event): Same.
574 * registryd/registry-main.c: (main): Same
575 * test/event-listener-test.c: (test_exit): Same
576 * test/keysynth-demo.c: (scan_state), (create_vkbd): Same
577 * test/keysynth-test.c: (test_key_synthesis): Same
578 * test/login-helper-server-test.c: (main): Fix warning.
579 * test/screen-review-test.c: (test_exit): Fix include.
580 * test/simple-at.c: (simple_at_exit), (_festival_init):
583 2004-09-13 Padraig O'Briain <padraig.vriain@sun.com>
585 * configure.in, NEWS, README: Revved to 1.6.0.
587 2004-09-12 Bill Haneman <bill.haneman@sun.com>
589 * configure.in: Rev and re-dist, since the 1.5.4 tarball
590 was missing the HTML docs.
592 2004-09-12 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
594 * configure.in: only cleanups:
595 - better looking PKG_CHECK_MODULES() output,
597 - declare in one common place required versions of other tools using
600 2004-09-11 J.H.M. Dassen (Ray) <jdassen@debian.org>
602 * configure.in: libspi/accessible.c uses ATK_ROLE_EMBEDDED
603 (unconditionally) which was introduced in ATK 1.7.2. Bumped the
604 required ATK version accordingly.
606 2004-09-03 Bill Haneman <bill.haneman@sun.com>
608 * cspi/bonobo/cspi-bonobo.c:
609 (cspi_display_name): Fix C99ism.
610 * atk-bridge/bridge.c:
611 (spi_display_name): Fix C99ism.
612 Patch from Jens Granseuer, jensgr@gmx.net.
614 2004-09-03 Gora Mohanty <gmohanty@cvs.gnome.org>
616 * configure.in: Added "or" to ALL_LINGUAS.
618 2004-08-20 Bill Haneman <bill.haneman@sun.com>
620 * configure.in, NEWS, README: Revved to 1.5.4.
622 * registryd/registry-main.c:
623 (main): Set the reg_env to use AT_SPI_DISPLAY instead of
626 * cspi/bonobo/cspi-bonobo.c:
627 (cspi_display_name): New convenience method, gets DISPLAY with
628 screen number stripped, if AT_SPI_DISPLAY isn't already set.
629 (cspi_init): Set the activation env value above before getting
632 * atk-bridge/bridge.c:
633 (spi_display_name): Create the AT_SPI_DISPLAY activation
634 environment for an app, based on the DISPLAY environment with the
635 screen number stripped off.
636 (atk_bridge_init): Allow redirection of error messages to a log.
637 (spi_atk_bridge_get_registry): Call
638 bonobo_activation_set_activation_env_value for AT_SPI_DISPLAY.
640 Fixes for bugs #149962, #136986, #144086.
642 2004-08-16 Christian Rose <menthos@menthos.com>
644 * configure.in: Added "bs" to ALL_LINGUAS.
646 2004-08-12 Kjartan Maraas <kmaraas@gnome.org>
648 * configure.in: Added nb to ALL_LINGUAS.
650 2004-09-03 Bill Haneman <bill.haneman@sun.com>
653 (SPI_init): Return error code '2' if the activated
654 registry cannot be pinged. Fixes bug #147648.
656 2004-07-28 Bill Haneman <bill.haneman@sun.com>
658 * registryd/deviceeventcontroller.c:
659 (spi_dec_init_mouse_listener): Don't do XGrabButton,
660 rely on timer-poll instead, to avoid conflict with
663 2004-07-20 Bill Haneman <bill.haneman@sun.com>
665 * configure.in: Revved to 1.5.3.
667 * idl/Accessibility_Role.idl: Added ROLE_EMBEDDED (bug #144415).
669 * libspi/accessible.c: Added support for ROLE_EMBEDDED.
671 * cspi/spi_accessible.c: Support for ROLE_EMBEDDED.
673 * cspi/spi-roletypes.h: Added SPI_ROLE_EMBEDDED.
675 2004-06-11 Bill Haneman <bill.haneman@sun.com>
677 * atk-bridge/bridge.c:
678 (spi_atk_bridge_do_registration):
679 Register with ATK for AtkComponent:bounds-changed events.
680 (api_atk_bridge_signal_listener):
681 Marshal the AtkRectangle info into the event notification
682 for object:bounds-changed events.
685 (spi_init_any_rect): New method, inits a corba struct of
686 type Accessibility_BoundingBox from an AtkRectangle.
688 * libspi/spi-private.h: Declared spi_init_any_rect (above).
691 (SPIRect): New struct definition.
692 (SPI_freeRect): New declaration.
693 (AccessibleBoundsChangedEvent_getNewBounds): New, see below.
696 (AccessibleBoundsChangedEvent_getNewBounds): New method,
697 implemented. Gets the bounding box data from the CORBA_any
698 associated with a bounds-changed event notification.
699 (cspi_internal_event_get_rect): New, used internally by above method.
702 (SPI_freeRect): Implemented this new method, for freeing
705 * test/event-listener-test.c:
706 (main, report_bounds_event):
707 Added a test for object:bounds-changed events.
709 2004-06-01 Bill Haneman <bill.haneman@sun.com>
711 * test/login-helper-server-test.c:
712 (main): Fix C99-ism. Thanks to Jens Granseuer.
714 2004-05-28 Padraig O'Briain <padraig.obriain@sun.com>
716 * libloginhelper-1.0.pc.in:
717 * idl/Accessibility_LoginHelper.idl:
718 * login-helper/Makefile.am:
719 * login-helper/login-helper.[ch]:
720 * test/login-helper-client-test.c:
721 * test/login-helper-server-test.c: Added files missing from CVS.
722 Files obtained from at-spi-1.5.2 tarball.
724 2004-05-27 Bill Haneman <bill.haneman@sun.com>
726 * configure.in: Create login-helper/Makefile.
727 Incremented micro version.
729 * Makefile.am: Add login-helper subdir and pkgconfig data.
731 * login-helper: New subdir.
733 * libloginhelper-1.0.pc.in: New.
735 * idl/Accessibility_LoginHelper.idl: New file, defines
736 interface whereby authentication clients can identify agents which
737 need access to services during the login process, e.g. screen lock
740 * login-helper/Makefile.am : New.
742 * login-helper/login-helper.[ch] : New, implementation of
743 a LoginHelper base class. Services needing LoginHelper can subclass.
745 * test/Makefile.am : Added test for login-helper, client and
748 * test/app.c, at.c, keypad-test.c, keysynth-test.c, stress-test.c:
749 Use proper prefix in #include files.
751 * test/login-helper-client-test.c: New.
753 * test/login-helper-server-test.c: New.
755 2004-05-27 Alexander Shopov <ash@contact.bg>
757 * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
759 2004-05-14 Padraig O'Briain <padraig.obriain@sun.com>
761 * cspi/spi_main.c (cspi_object_unref): Add check that reference count
762 is positive. This should make it easier to detect inapprorpiate unref
765 2004-05-11 James Henstridge <james@daa.com.au>
767 * configure.in: remove GNOME_PLATFORM_GNOME_2 macro, which is a
768 no-op and deprecated.
770 2004-05-03 Pablo Saratxaga <pablo@mandrakesoft.com>
772 * configure.in: Added "wa" (Walloon) to ALL_LINGUAS.
774 2004-04-28 Bill Haneman <billh@gnome.org>
776 * Makefile.am: Added --enable-gtk-doc to
777 DISTCHECK_CONFIGURE_FLAGS; fixes make distcheck.
779 2004-04-19 Bill Haneman <billh@gnome.org>
781 * configure.in: Revved to 1.5.1.
783 * registryd/deviceeventcontroller.c:
785 (DEControllerPrivateData): Added fields for
786 reserved_keycode, reserved_keysym, and reserved_reset_timeout.
787 (spi_dec_replace_map_keysym): New internal utility for
788 replacing a keysym in the keymap - used to allow
789 synthesis of individual characters which aren't in the
791 (spi_dec_reset_reserved): New; resets the changed keysym value
793 (keycode_for_keysym): We now try to deal with failed
794 XKeysymToKeycode requests by changing a keymap value
795 and returning a reserved keycode. We now take
796 a DEController pointer as first arg.
797 (spi_controller_register_with_devices): Call XkbGetMap with
798 the XkbKeySymsMask. Find the highest keycode in the current
799 keymap which doesn't have any grabs, and mark that one for
800 temporary re-mapping when out-of-range KeySyms are synthesized.
801 (dec_synth_keycode_press): Call XFlush after synthesizing the key
804 2004-04-08 Guntupalli Karunakar <karunakar@freedomink.org>
806 * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
808 2004-03-24 Alexander Winston <alexander.winston@comcast.net>
810 * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
812 2004-03-24 Bill Haneman <billh@gnome.org>
815 (AccessibleTable_addRowSelection),
816 (AccessibleTable_addColumnSelection),
817 (AccessibleTable_removeRowSelection),
818 (AccessibleTable_removeColumnSelection):
819 Add declarations for spi wrappers which were
820 inadvertantly omitted. Fixes bug #133413.
823 Revved to 1.5.0 (unstable series for GNOME 2.7).
825 2004-03-24 Bill Haneman <billh@gnome.org>
827 * atk-bridge/bridge.c:
828 Bracketed some debug output in
829 conditionals, to avoid printing it in normal use.
832 * libspi/hyperlink.c:
833 Don't cast 'object' to ATK_OBJECT when constructing
834 an AtkAction interface for a hyperlink.
835 See discussion in bug #120659.
837 * test/key-listener-test.c:
838 (report_all_key_event): Send output to stderr,
839 not stdout, for consistency with the rest of the test callbacks.
842 Add -lXext to XINPUT_LIBS. Fix for bug #132237.
843 Don't add X_LIBS to CFLAGS (Fix for bug #134332).
844 Incremented to 1.4.1 (but didn't dist yet - I'm going to
845 try incrementing the revision AFTER doing a dist, at least
848 2004-03-22 Bill Haneman <billh@gnome.org>
850 * configure.in: Revved to 1.4.0, libtool 9.14.9
852 2004-03-17 Laszlo Peter <laca@sun.com>
854 * libspi-1.0-uninstalled.pc.in: add idldir
856 * cspi-1.0-uninstalled.pc.in: add idldir
858 2004-03-16 Gareth Owen <gowen72@yahoo.com>
860 * configure.in: Added "en_GB" to ALL_LINGUAS
862 2004-03-15 Bill Haneman <billh@gnome.org>
864 * configure.in: Revved to 1.3.16,
867 2004-03-15 Laszlo Peter <laca@sun.com>
869 * libspi-1.0-uninstalled.pc.in: new file
871 * cspi-1.0-uninstalled.pc.in: new file
873 * configure.in: add the new pc files to AC_OUTPUT
875 * Makefile.am: add the new pc files to EXTRA_DIST
877 2004-03-12 Bill Haneman <billh@gnome.org>
879 * atk-bridge/bridge.c:
880 (spi_atk_bridge_key_listener):
881 Make sure to return consumed=FALSE if snoop
882 event is not dispatched to listener.
885 2004-03-01 Bill Haneman <billh@gnome.org>
887 * configure.in: Revved to 1.3.15,
890 2004-03-07 Danilo Segan <dsegan@gmx.net>
892 * configure.in: Added "sr@ije" to ALL_LINGUAS.
894 2004-03-03 Guntupalli Karunakar <karunakar@freedomink.org>
896 * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
898 2004-03-01 Bill Haneman <billh@gnome.org>
900 * configure.in: Revved to 1.3.14.
903 (SPI_exit): Removed "bye-bye" exit message.
904 Moved "leak" report to happen before the
905 iteration over the leaked refs list.
906 Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
908 2004-02-24 Bill Haneman <billh@gnome.org>
910 * configure.in: Revved to 1.3.13.
912 * docs/reference/cspi/Makefile.am:
913 Correct typo that was breaking the docs build.
915 2004-02-11 Padraig O'Briain <padraig.obriain@sun.com>
917 * autogen.sh: Require version 1.7 of automake.
919 * configure.in: call GTK_DOC_CHECK([1.0])
921 * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
923 * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
925 * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
927 * test/Makefile.am: Remove use of CFLAGS.
929 This fixes bug #132987.
931 2004-02-11 Bill Haneman <billh@gnome.org>
933 * reverted most of Tomasz' patch below, since it was breaking
934 builds (see bug #134058).
936 2004-02-10 Tomasz KÅ‚oczko <kloczek@pld.org.pl>
938 * docs/reference/cspi/at-spi-cspi.types: added empty file for
939 correct pass "make dist" (empty .. because seems no sach types in
940 header files with gtk-doc markups).
941 * docs/reference/cspi/Makefile.am, configure.in:
942 Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
943 from gtk-doc >= 1.0 (modyfications based on scheme from atk).
944 * Makefile.am: added:
945 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
946 for force correct pass generate documentation on "make distcheck".
947 * libspi/Makefile.am: fixes for automake >= 1.6.
948 * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
949 AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
952 Sun Feb 8 11:20:50 2004 Matthias Clasen <maclas@gmx.de>
954 * docs/reference/cspi/Makefile.am (install-data-local): Install
955 index.sgml since the doc autobuilder on widget.gnome.org looks for
958 2004-02-02 Padraig O'Briain <padraig.obriain@sun.com>
960 * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
963 2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
965 * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
967 2004-01-27 Brian Cameron <brian.cameron@sun.com>
969 * test/simple-at.c: Fixed null string problems that cause core
970 dumping problems on Solaris.
972 2004-01-12 Bill Haneman <billh@gnome.org>
974 * configure.in: Incremented version to 1.3.11.
976 2004-01-05 Padraig O'Briain <padraig.obriain@sun.com>
978 * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
979 DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
982 2004-01-01 Roozbeh Pournader <roozbeh@sharif.edu>
984 * configure.in: Added "fa" to ALL_LINGUAS.
986 2003-12-20 Arafat Medini <lumina@silverpen.de>
988 * configure.in: Added "ar" to ALL_LINGUAS
990 2003-12-16 Bill Haneman <billh@gnome.org>
992 * registryd/registry-main.c:
994 Set the reg_env DISPLAY variable before registering the
995 activated registry service. Fixes bug #129479.
997 2003-12-16 Mohammad DAMT <mdamt@bisnisweb.com>
999 * configure.in: Added "id" in ALL_LINGUAS
1000 * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
1002 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
1004 * registryd/deviceeventcontroller.c (global_filter_fn):
1005 When an event is consumed discard any XEvents were added to
1006 the queue while dealing with the the event. This can happen if
1007 processing of the event takes a long time. Call XUngrabKeyboard
1008 if an event was discarded. This fixes bug $124837.
1009 Only call wait_for_release_event for a KeyPress.
1010 Use local variable display instead of spi_get_display().
1011 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
1014 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
1016 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
1017 Allow for mask to contain values other than NumLock mask.
1020 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1022 * registryd/devieceventcontroller.c:
1023 (wait_for_release_event): Change first parameter from GdkEvent to
1025 (global_filter_fn); Correct call to wait_for_release_event.
1029 2003-12-08 Bill Haneman <billh@gnome.org>
1033 * registryd/ucs2keysym.c: New file.
1035 * registryd/deviceeventcontroller.c:
1036 (dec_keysym_for_unichar): Remove old partial implementation and
1037 replace with call to ucs2keysym(), which is much more complete.
1038 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
1043 2003-12-05 Bill Haneman <billh@gnome.org>
1045 * configure.in: Version 1.3.9.
1047 * docs/reference/cspi/tmpl/spi_registry.sgml:
1048 Added reference to libspi/keymasks.h to the
1049 description of Registry queries: AccessibleKeyMaskType.
1052 2003-12-04 Bill Haneman <billh@gnome.org>
1054 Fix for bug #121974.
1056 * idl/Accessibility_Application.idl:
1057 (Accessibility::LOCALE_TYPE): New enum, corresponds to
1058 setlocale's LC_TYPEs.
1059 (Accessibility::Application::getLocale): New method.
1060 Allows clients to query the locale, by type, of an app.
1063 * cspi/spi_application.c:
1064 (AccessibleApplication_getLocale): New method, wraps IDL above.
1066 * libspi/application.c:
1067 (spi_application_class_init): Init epv entry for getLocale.
1068 (impl_accessibility_application_get_locale): Impl for above.
1070 * test/test-simple.c:
1071 (test_application): Added assertion for getLocale, i.e.
1072 that the string from AccessibleApplication_getLocale (app, type)
1073 is the same as that from setlocale (type, NULL);
1075 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1077 *registryd/deviceeventcontroller.c: Add an idle handler which polls
1078 the keyboard on a timeout intil the key state goes from pressed to
1079 released. Fixes bug #111429.
1081 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
1083 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
1084 root object so that it is present when a context menu in an
1085 out-of-process applet is popped up.
1086 (spi_atk_bridge_do_registration): Create acceessible application root
1087 object only if it does not exist.
1089 This fixes bug #125834.
1091 2003-12-01 Bill Haneman <billh@gnome.org>
1093 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
1096 Added enum for AccessibleStreamableContentSeekType.
1097 (AccessibleStreamableContent_freeContentTypeList): New.
1099 * cspi/spi_streamablecontent.c:
1100 (accessible_bonobo_stream_client_seek): New private method.
1101 (AccessibleStreamableContent_seek): Implemented this method,
1102 using Bonobo_Stream_seek.
1103 (AccessibleStreamableContent_freeContentTypeList): New method
1104 for freeing the return value from
1105 AccessibleStreamableContent_getContentTypes.
1106 (stream_cache_item_free): Replaces stream_release; stop leaks.
1107 (stream_release): removed.
1108 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
1109 free the memory properly.
1111 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
1113 Fix for bug #116009.
1115 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
1117 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
1119 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
1121 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
1123 2003-12-01 Bill Haneman <billh@gnome.org>
1125 Fix for bug/rfe #127463.
1127 * idl/Accessibility_Accessible.idl:
1128 (getLocalizedRoleName): New.
1129 (unimplemented4): Removed (replaced by above).
1131 * libspi/accessible.c:
1132 (impl_accessibility_accessible_get_local_role_name): New.
1133 (spi_accessible_class_init): Add getLocalizedRoleName entry to
1137 (Accessible_getLocalizedRoleName): New.
1139 * cspi/spi_accessible.c:
1140 (Accessible_getLocalizedRoleName): New.
1142 2003-12-01 Bill Haneman <billh@gnome.org>
1144 Fix for bug #118581.
1145 * idl/Accessibility_Text.idl:
1146 (getDefaultAttributes): New.
1147 (unimplemented4): Removed (replaced by above method).
1150 (impl_getDefaultAttributes): New method.
1151 (spi_text_class_init):
1152 initialize the get_default_attributes slot in the epv.
1155 (AccessibleText_getDefaultAttributes): New prototype.
1158 (AccessibleText_getDefaultAttributes): New method.
1160 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
1162 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
1163 write beyond the end of the table. Fixes bug #120473.
1165 2003-09-30 Christian Rose <menthos@menthos.com>
1167 * configure.in: Added "eu" to ALL_LINGUAS.
1169 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
1171 * configure.in: ALL_LINGUAS: Added no.
1173 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
1175 * configure.in: Added lt to ALL_LINGUAS.
1177 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
1179 * atk-bridge/bridge.c:
1180 (atk_bridge_init): Register event listeners always even for
1181 out-of-process applet.
1182 (spi_atk_bridge_toplevel_added): Remove call to
1183 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
1184 (spi_atk_bridge_toplevelk_removed): Remove call to
1185 spi_atk_deregister_event_listenersa as the listeners are now always
1187 (spi_atk_bridge_register_application): Remove call to
1188 spi_atk_register_event_listeners as it is not done in atk_bridge_init
1190 This fixes bug #120991.
1192 * libspi/table.c (impl_getColumnDescription): Correct typo,
1193 pointed out by Bolian.Yin@sun.com.
1195 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
1197 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
1199 2003-09-08 Bill Haneman <billh@gnome.org>
1201 * configure.in: Revved to 1.3.7.
1203 This is the GNOME 2.4.0 release of at-spi.
1205 * docs/reference/cspi/Makefile.am:
1206 Removed spurious inclusion of 'index.sgml' in the
1207 html directory; this was breaking make distcheck and
1208 also some other build environments.
1210 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
1212 * registryd/registry.[ch}:
1213 Add queue_handler_id and focus_object to SpiRegistry data structure.
1214 (registry_flush_event_queue): If event being discarded is
1215 "state-change:focused" store object as focus_object.
1216 (registry_start_queue): Remove queue handler and focus object
1218 (registry_discard_event): New function which discards a focus event
1219 if we had stored focus object in the registry.
1220 (registry_queue_event): Add new check that is_queueing is set as this
1221 function is reentrant.
1222 (registry_filer_event): Add call to registry_discard_event.
1224 This resolves issues raised in bug #108664.
1226 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
1228 * configure.in: Added "bn" to ALL_LINGUAS.
1230 2003-09-04 Bill Haneman <billh@gnome.org>
1232 * cspi/spi_event.c: Documentation improvements for
1233 (SPI_registerAccessibleKeylistener).
1235 * docs/reference/tmpl/spi_registry.sgml:
1236 Documentation improvements for SpiAccessibleKeylistenerCB.
1238 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
1240 * configure.in: Added "ro" to ALL_LINGUAS.
1243 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
1245 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
1246 not decremented to zero. Fixes bug #120725.
1248 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
1250 * configure.in: Added "ja" to ALL_LINGUAS.
1252 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
1254 * configure.in: Added "is" to ALL_LINGUAS.
1256 2003-08-22 Christian Rose <menthos@menthos.com>
1258 * configure.in: Added "nl" to ALL_LINGUAS.
1260 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1262 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
1263 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
1265 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
1267 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
1268 type for unspecified exception.
1269 * cspi_streamablecontect): Add include of string.h for memcpy.
1270 (stream_release): Correct call to bonobo_object_release_unref
1271 (stream_cache_item_free): Correct call to bonobo_object_release_unref
1272 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
1273 argument of _cspi_expection_throw.
1274 * libspi/hyperlink.c: Add include of libspi/action.h:
1275 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
1276 * libspi/streamablecontent.c: add include of libspi/component.h.
1277 * regisrtyd/deviceeventcontroller.c:
1278 (spi_dec_translate_mask): Removed unused variable priv.
1279 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
1280 * registryd/registry.c:
1281 (registry_filter_event): Remove unused variable queue_is-empty.
1282 (impl_registry_notify_event): Use correct modifier in fprintf call.
1284 This fixes compiler warnings reported in bug #120220.
1286 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
1288 * registryd/registryd.c: Remove this file.
1290 2003-08-17 Sanlig Badral <badral@openmn.org>
1292 * configure.in: Added mn to ALL_LINGUAS.
1294 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
1296 * configure.in: Added et to ALL_LINGUAS.
1298 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
1300 * test/event-listener-test.c: Change active-descendant to
1301 active-descendant-changed.
1303 2003-08-10 Sami Pesonen <sampeson@iki.fi>
1305 * configure.in: Added "fi" in ALL_LINGUAS.
1307 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
1309 * configure.in: Added "hi" in ALL_LINGUAS.
1311 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
1313 * configure.in: Revved to 1.3.6.
1317 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
1319 * registryd/deviceeventcontroller.c
1320 (spi_device_event_controller_object_finalize): Fix typo in previous
1323 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
1325 * registryd/deviceeventcontroller.c
1326 (spi_device_event_controller_object_finalize): Fix build on
1327 systems without XEvIE.
1329 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
1331 * acconfig.h, configure.in, registryd/Makefile.am,
1332 registryd/devicecontoller.[ch]: Add XEViE support.
1334 2003-08-06 Wang Jian <lark@linux.net.cn>
1336 * configure.in: Added "zh_CN" to ALL_LINGUAS.
1338 2003-08-06 Metin Amiroff<metin@karegen.com>
1340 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
1342 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
1344 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
1345 MODIFIER_ALT in correct place.
1347 This fixes part of bug #118114.
1349 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
1351 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
1353 2003-07-28 Changwoo Ryu <cwryu@debian.org>
1355 * configure.in: Added "ko" to ALL_LINGUAS.
1357 2003-07-28 Ole Laursen <olau@hardworking.dk>
1359 * configure.in: Added "da" to the commented out ALL_LINGUAS.
1361 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
1363 * configure.in: Added "sq" to ALL_LINGUAS.
1365 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
1367 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
1369 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
1371 * configure.in: updated ALL_LINGUAS list
1373 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1375 * configure.in: Added Belarusian to ALL_LINGUAS.
1377 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
1379 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
1381 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
1382 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
1384 This fixes bug #116949.
1386 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
1388 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
1389 Correct CSPI to SPI in function documentation.
1391 This fixes bug #118054.
1393 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
1395 * configure.in: Added Russian to ALL_LINGUAS.
1397 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
1399 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
1401 2003-07-14 Danilo Ã…Â Segan <dsegan@gmx.net>
1403 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
1405 2003-07-10 Joel Brich <joel.brich@laposte.net>
1407 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
1409 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
1411 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
1413 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
1415 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
1416 resources allocated for AccessibleEvent. See cspi_event().
1418 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
1419 static variable streams to NULL.
1421 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
1422 Update so that AcessibleEvent_ref will work.
1424 This fixes bug #116624.
1426 2003-07-06 Jordi Mallach <jordi@sindominio.net>
1428 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
1430 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
1432 * configure.in: Added "fr" (French) to ALL_LINGUAS.
1434 2003-07-02 Christian Neumair <chris@gnome-de.org>
1436 * configure.in: Added "de" (German) to ALL_LINGUAS.
1438 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
1440 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
1442 2003-07-01 Miloslav Trmac <mitr@volny.cz>
1444 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
1446 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
1448 * configure.in: Added "pl" to ALL_LINGUAS.
1450 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
1452 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
1454 2003-06-30 Bill Haneman <bill.haneman@sun.com>
1457 (get_action_from_servant):
1458 Removed assertion that action is implemented on an AtkObject.
1460 * libspi/hyperlink.c:
1461 (spi_hyperlink_new):
1462 Aggregate AccessibleAction interface on the hyperlink object if
1463 the object implements AtkAction. (This convention is used in
1466 2003-06-30 Bill Haneman <bill.haneman@sun.com>
1468 * configure.in: Revved to 1.3.5.
1470 * registryd/Accessibility_Registry.server.in.in:
1471 Marked up appropriate strings for translation.
1473 * atk-bridge/bridge.c: Marked a couple of
1474 user-visible warnings for translation. Questionable
1475 whether they are really useful, but possibly so.
1478 2003-06-28 Christian Rose <menthos@menthos.com>
1480 * configure.in: Added "sv" to ALL_LINGUAS.
1482 2003-06-26 Bill Haneman <bill.haneman@sun.com>
1484 * registryd/registry.c:
1485 (spi_registry_object_finalize): Unref the deviceeventcontroller.
1486 (registry_defer_on_event): Defer focus: events, this is an
1487 improvement to the patch for bug #108664.
1489 * TODO: Update with 2.4/"Dev Complete" items.
1491 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
1493 * atk-bridge/bridge.c:
1494 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
1495 looks up signals once.
1496 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
1497 if doing registration.
1498 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
1499 when doing registration.
1501 This fixes bug #115014.
1503 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
1505 * atk-bridge/bridge.c:
1506 (atk_bridge_init): Add signal handler for children-changed:remove on
1507 root when in a BonoboComponent.
1508 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
1509 for first toplevel only other incrememt variable toplevels.
1510 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
1511 application and remove listeners.
1512 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
1514 (spi_atk_deregister_event_listeners): New function which removes
1516 (reinit_register_vars): New fuction which reinitializes variables.
1518 This fixes bug #111578.
1520 2003-06-13 Bill Haneman <bill.haneman@sun.com>
1522 * configure.in: version 1.3.4.
1524 * cspi/spi_accessible.c:
1525 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
1528 2003-06-13 Michael Meeks <michael@ximian.com>
1530 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
1532 * cspi/spi_main.c (cspi_peek_ev): impl.
1534 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
1536 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
1538 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
1540 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
1541 SPI_ROLE_AUTOCOMPLETE
1543 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
1545 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
1546 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
1548 2003-06-11 Bill Haneman <bill.haneman@sun.com>
1550 * libspi/streamablecontent.h:
1551 * libspi/streamablecontent.c:
1552 New files, provide implementation/wrappers for
1553 Accessibility_StreamableContent.
1555 * cspi/spi_streamablecontent.c:
1556 Connected the C wrappers to the libspi C bindings.
1557 (AccessibleStreamableContent_close): New method.
1560 (AccessibleStreamableContent_close): New method, needed
1561 since we have an "open, [seek], read, close" model in cspi.
1563 2003-06-11 Bill Haneman <bill.haneman@sun.com>
1565 Fix for #108664; Padraig's revision of my original patch.
1567 * registryd/registry.h:
1568 Added event queue list, is_queuing, and exit_notify_timeout
1569 to the registry struct.
1571 * registryd/registry.c:
1572 (registry_init): Initialize new struct from registry.h.
1573 (impl_registry_notify_event):
1574 Filter events before notifying, in case some need to be
1576 (registry_filter_event): New,
1577 we defer certain incoming events (for instance
1578 window:deactivate) because we may wish to hide
1579 or reject them based on pending events. This is
1580 mostly a workaround for bug #108664.
1581 (registry_queue_event, registry_start_queue): New.
1582 (registry_defer_on_event): Test event to see if it
1584 (registry_reset_on_event): Returns TRUE if the
1585 event should cause a queue reset.
1586 (registry_discard_on_event): Returns TRUE if the event
1587 should cause the previous queue contents to be discarded.
1588 (registry_timeout_flush_queue): Flushes the pending event
1589 queue if no reset/discard-triggering events have come in
1590 within the timeout period.
1591 (registry_emit_event): New.
1592 (registry_clone_notify_context): New, used when queueing the
1593 event notify contexts.
1595 2003-06-10 Bill Haneman <bill.haneman@sun.com>
1597 * configure.in: Version revved to 1.3.2, lt 0.9.2
1598 Incremented ATK required version to 1.3.4.
1600 * cspi/spi_registry.c:
1601 (SPI_generateKeyEvent):
1602 We now pass the keystring along if it's non-null.
1604 * registryd/deviceeventcontroller.c:
1605 (keysym_mod_mask): New method, returns modifier mask
1606 required to generate a keysym from a given keycode.
1607 (dec_synth_keysym): New method.
1608 (dec_synth_keystring): New method.
1609 (dec_get_modifier_state): New method.
1610 (dec_lock_modifiers): New
1611 (dec_unlock_modifiers): New.
1612 (dec_keysym_for_unichar): New, rather brute-force
1613 conversion from UCS-4 to X KeySyms. Only works for
1614 Latin at the moment, with partial implementations for
1615 Greek, Hebrew, and (incomplete) Katakana.
1616 (impl_generate_keyboard_event): Now implement
1617 "KEYSTRING" synthesis and implement "KEYSYM"
1619 (keycode_from_keysym): Improved, passes a returned
1620 modmask value now if the corresponding param is non-NULL.
1622 Fixes bugs #92143 and #109776.
1625 * test/keysynth-test.c:
1626 New test program for key synthesis, to confirm fixes for
1630 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
1632 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
1634 * cspi/spi_accessible.c (cspi_init_relation_type_table):
1635 Add line for RELATION_POPUP_FOR
1637 * docs/reference/cspi/tmpl/spi_relation.sgml:
1638 Add relation SPI_RELATION_POPUP_FOR
1640 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1641 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
1643 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
1645 * libspi/relation.c (spi_init_relation_type_table):
1646 Add line for RELATION_POPUP_FOR
1648 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
1650 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
1651 there are still windows which have not been deleted and emit
1652 window:deactivate, if necessary and window:destroy events.
1653 This fixes bug #114370. The change on June 5th was not correct.
1655 2003-06-09 Bill Haneman <bill.haneman@sun.com>
1657 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
1660 (SPI_dupString): Allow dup-ing of a string such that it's safe to
1662 New methods for client exception handling and interception.
1663 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
1664 (SPI_exceptionHandlerPop): You guessed it...
1665 (SPI_getSourceType): Return the type of object which offended.
1666 (SPI_getExceptionCode): Return an enum code telling, possibly,
1667 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
1668 (SPIAccessibleException_getSource): get the source object for
1669 exceptions that come from Accessibles, if SPIExceptionSourceType is
1670 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
1671 (SPIException_getDescription): New, returns a string description of
1672 the problem. [Not yet a stable ABI, strings are not frozen]
1674 * cspi/spi-private.h:
1675 Added implementation details of opaque SPIException
1679 Implementations of above. Also
1680 (_cspi_exception_throw): new private method that
1681 dispatches exceptions to handlers, called from cspi-bonobo.c
1683 * cspi/bonobo/cspi-bonobo.c:
1684 (cspi_check_ev): call _cspi_exception_throw.
1685 Don't print a warning message if the exception has been
1686 handled by _cspi_exception_throw.
1688 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
1690 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
1691 there are still windows which have not been deleted and emit
1692 window:deactivate, if necessary and window:destroy events.
1693 This fixes bug #114370.
1695 2003-06-03 Bill Haneman <bill.haneman@sun.com>
1698 (cspi_accessible_is_a): Make non-fatal
1699 if the object reference is dead.
1701 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
1703 * cspi/spi_main.c: #include <stdio.h>
1704 * test/simple-at.c: ditto
1705 * test/event-listener-test.c: ditto
1706 * test/screen-review-test.c: ditto
1708 2003-05-30 Michael Meeks <michael@ximian.com>
1710 * test/test-simple.c (main): use CORBA_ORB_perform_work
1711 instead of an unnecessary linc_ call.
1713 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
1715 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
1716 Add SPI_STATE_INDETERMINATE.
1718 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
1721 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
1723 * libspi/stateset.c (init_state_type_tables): Add support for
1726 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
1728 * configure: Update versions of atk and gail required.
1729 This fixes bug #113268.
1731 2003-05-02 Bill Haneman <bill.haneman@sun.com>
1733 * configure.in: Revved micro version to 1.3.1 (because of build fix).
1735 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
1737 * libspi/Makefile.am:
1738 Ensure headers are generated before being used by c sources.
1740 2003-05-01 Bill Haneman <bill.haneman@sun.com>
1743 Simplified lt versioning rules.
1744 Incremented version to 1.3.0, to indicate that we're on the
1745 unstable branch now.
1747 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
1749 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
1750 Add MKDB_OPTIONS=--outtput-format=xml
1752 * docs/reference/cspi/at-spi-cspi-docs.sgml
1753 docs/reference/idl/at-spi-idl-docs.sgml:
1754 Convert to Docbook XML.
1756 This fixes bug #111793.
1758 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
1760 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
1761 AcccessibleKeyEventType, AccessibleKeyMaskType.
1763 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
1765 * cspi/state-types.h: Add documentation for AccessibleState.
1767 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
1768 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
1769 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
1770 AccessibleComponentLayer.
1772 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
1775 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
1777 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
1778 Accessible. Add description of AccessibleEvent,
1779 AccessibleEventListenerCB.
1781 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
1784 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
1785 documentation. Add description of AccessibleKeystrokeListenerCB,
1786 AccessibleKeyEventMask, AccessibleModifierMaskType,
1787 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
1788 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
1790 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
1793 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
1796 This fixes bug #104730.
1798 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
1800 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
1801 Set is_text field of Accessibility_DeviceEvent data structure.
1803 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
1804 is-text field of AccessibleDeviceEvent data structure.
1806 This addresses part of bug #108666.
1808 * registryd/devcieeventcontroller.c: Unset debug option.
1810 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
1812 * cspi/accessible.c:
1813 (cpi_initial_relation_type_table): New function which initializes
1814 mapping between Accessibility_RelationType and AccessibleRelationType.
1815 (cspi_relation_type_from_spi_relation_type): New function which
1816 translates an Accessibility_RelationType into an AccessibleRelationType.
1817 (AccessibleRelation_getRelationType): Use
1818 cpi_relation_type_get_spi_relation_type to return correct value.
1819 (spi_state_to_corba): Return correct type for default case.
1821 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
1822 Use Accessibility_EventType instead of Accessibility_KeyEventType.
1824 * cspi/cspi-bonobo-listener.c:
1825 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
1828 * libspi/accessible.c, libspi/action.c, libspi/application.c,
1829 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
1830 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
1831 libspi/image.c, libspi/listener.c, libspi/selection.c,
1832 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
1833 registryd/desktop.c, registryd/registry.c:
1834 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1836 * libspi/eventlistener.c
1837 Remove semicolon after BONOBO_TYPE_FUNC.
1839 * libspi/relation.c:
1840 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1841 (spi_init_relation_type_table): Initialize using correct type.
1843 * registryd/desktop.c:
1844 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1845 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
1846 of Accessibility_KeyEventType.
1848 * test/key-listener-test.c (report_tab_key_event): Use fprintf
1851 * tests/simple-at.c, tests/screen-review-test.c:
1852 Add include for <strings.h>.
1854 * tests.stress-test.c:
1855 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
1857 These changes fix compiler warnings when using FORTE compiler on
1858 Solaris; fixes bug #107479.
1861 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1864 * configure.in: revved to 1.1.10
1866 * libspi/keymasks.h:
1867 (SPI_KEYMASK_NUMLOCK): Added.
1869 * registryd/deviceeventcontroller.c:
1870 (spi_key_event_matches_listener): AND with a smaller
1871 bitmask (as we should).
1872 (spi_dec_translate_mask):
1873 New method, sets the virtual NumLock modifier bit
1874 if numlock is on. Eventually it can handle other virtual
1875 modifier bits if needed, or other marshalling from
1876 at-spi modifier masks to platform (X) masks.
1877 (spi_dec_key_listener_new):
1878 Call spi_dec_translate_mask to set up virtual mod bits
1879 in the 'mask' field when creating a new listener struct.
1880 (spi_dec_emit_modifier_event):
1881 Set the virtual (i.e. NumLock) bits before emitting event.
1882 (spi_controller_register_with_devices):
1883 Query for the NumLock modifier 'physical' bit if Xkb is
1884 present, for use in above methods.
1888 2003-04-10 Bill Haneman <bill.haneman@sun.com>
1890 * registryd/deviceeventcontroller.c:
1891 (spi_keystroke_from_x_key_event):
1892 Instead of checking to see if the keysym is
1893 printable, check the string from XLookupString
1894 if available, get the first unicode character from it,
1895 and call g_unichar_isprint to determine whether the
1896 is_text flag should be TRUE or FALSE.
1900 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1902 * atk-bridge/bridge.c: Add support for extended events
1903 * cspi/spi_event.c: Add documentation and implementation for
1905 * tests/event-listener-test.c: Add tests for extended events.
1907 This fixes bugs #100424 and #100426.
1909 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
1911 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
1912 of LT_CURRENT. This fixes bug #89350.
1914 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
1916 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
1917 number of signal parameter values before accessing them. This fixes
1920 2003-04-01 Bill Haneman <bill.haneman@sun.com>
1922 * configure.in: Fixed duplicate inclusion of -lspi.
1923 * branched for gnome-2-2/HEAD.
1924 [created tag "gnome-2-2"]
1926 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1928 * configure.in: 1.1.9 release.
1931 2003-03-07 Bill Haneman <bill.haneman@sun.com>
1933 [needed by GOK, to fix bugs 107985 and 107988]
1934 * registryd/deviceeventcontroller.c:
1935 (spi_dec_clear_unlatch_pending):
1936 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
1937 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
1938 (spi_dec_init_mouse_listener):Emit warning if mouse button
1940 (spi_device_event_controller_forward_mouse_event):
1941 Removed unnecessary parens from a conditional.
1942 (global_filter_fn):Added TODO comment.
1943 (impl_generate_keyboard_event):
1944 Cancel a pending relatch if a 'delatching' key was
1947 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
1949 * atk-bridge/bridge.c:
1950 Change atk_signal_child_changed to atk_signal_children_changed.
1951 Reorganize code in spi_atk_bridge_signal_listener().
1953 * test/event-listener-test.c:
1954 Add children_changed_listener and report_children_changed_event()
1955 to test AccessibleChildEvent_getChildAccessible.
1957 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
1959 * cspi/spi_event.c (cspi_internal_event_get_text): Change
1960 g_strdup to CORBA_String_dup (bug #105291)
1962 * test/event-listener-test.c (report_text_event): Add call to
1965 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1967 * registryd/deviceeventcontroller.c:
1968 (spi_keystroke_from_x_key_event):
1969 Fix string and keysym return codes to match modifier state.
1972 2003-02-28 Bill Haneman <bill.haneman@sun.com>
1974 * registryd/deviceeventcontroller.c:
1975 (spi_keystroke_from_x_key_event):
1976 Fix segv due to improper use of isprint(c). [bug #107254]
1978 2003-02-24 Bill Haneman <bill.haneman@sun.com>
1981 (get_accessible_text_boundary_type):
1982 Move default return value to (new) default case in switch.
1983 (get_accessible_text_clip_type):
1984 Move default return value to (new) default case in switch.
1986 * libspi/application.c:
1987 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
1988 Remove unused methods.
1989 (impl_accessibility_application_register_object_event_listener):
1990 Remove unused methods.
1993 Added #include of <math.h>.
1995 * registryd/deviceeventcontroller.c:
1996 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
1997 we don't currently use this method.
1998 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
2000 (impl_generate_key_event):
2001 Remove unused variables.
2002 (impl_generate_mouse_event):
2003 Initialize button to zero, just in case we get an invalid
2004 input. Added support for mouse buttons 4 and 5.
2005 (spi_device_event_controller_new):
2006 Removed unused variable declaration for 'private'.
2008 Added #include of <gdk/gdk.h>
2010 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2012 * configure.in: Update to work when X is not installed in expected
2013 location. Fixes bug #105836.
2015 * atk-bridge/bridge.c
2016 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
2018 (spi_atk_register_event_listener): Add signal listener for
2020 (spi_atk_bridge_signal_listener): Event event when link-selected
2021 signal is emitted. (bug #104622)
2023 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
2024 on returned string. (bug #105291)
2026 * test/event-listener-test.c: Add test for link-selected.
2028 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
2030 * atk-bridge/Makefile.am: Correct typo in previous commit.
2032 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
2034 * atk-bridge/Makefile.am: Allow for build directory to be different
2035 from source directory
2037 * registryd/Makefile.am: Allow for build directory to be different
2038 from source directory
2042 2003-01-29 Bill Haneman <bill.haneman@sun.com>
2045 Fixed dependencies for libcspi so that libspi gets pulled in
2046 properly. Fixes 104741.
2050 Clean up inline docs a little.
2052 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
2054 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
2055 This is done by implementing AtkComponent for SpiAtkDesktop, which is
2056 the AtkObject within an SpiDesktop.
2057 This addresses bug #101524.
2059 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
2060 Remove call to gdk_init().
2062 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
2063 so that Display is set when SpiDesktop is created.
2065 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
2067 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
2068 This fixes bug #102830.
2070 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2072 * test/test-simple.c: Update to take account of fact that GailButton
2073 now implements AtkText.
2074 (create_text_window): Set name on AtkObject for GtkEntry.
2075 (validate_accessible): Check accessible name before calling test_text().
2077 * libspi/Makefile.am: Fix problem with building outside of source
2078 directory. Bug #98120.
2080 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
2081 typo in documentation comments. Bug #94275.
2083 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
2085 * libspi/text.c (impl_getBoundedRanges): Bug fix.
2087 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
2090 Add includes to avoid compiler warnings on Solaris.
2091 (impl_getRangeExtents): Bug fix.
2093 2002-12-17 Bill Haneman <bill.haneman@sun.com>
2095 Fix for 100944, [API addition approved by Gman and murrayc].
2102 * idl/Accessibility_Text.idl:
2103 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
2104 (Text::getRangeExtents): New method for efficient
2105 bounds query of a text range.
2106 (Text::getBoundedRanges): New method for efficient
2107 clipping of text to bounding boxes.
2108 (unImplemented7, unImplemented8):
2109 Removed these padding methods to preserve bincompat.
2112 (impl_getRangeExtents): implementation of new IDL.
2113 (impl_getBoundedRanges): implementation of new IDL.
2114 (SpiTextRect): Internal use struct.
2115 (_spi_text_rect_union): internal method, calculates union of two
2116 SpiTextRect bounding rects.
2117 (_spi_text_range_seq_from_gslist): internal method, allows us
2118 to build our sequence efficiently as a gslist then convert it
2120 (_spi_bounds_contain): internal method, determines whether
2121 a text character is "in" or "out" of a clip rect according to
2122 values of TEXT_CLIP_TYPE.
2123 (spi_text_class_init): Initialize the new methods in the epv.
2126 (AccessibleTextClipType): New enum used by screen review api.
2127 (AccessibleTextRange): New struct used by screen review api.
2128 (AccessibleText_getRangeExtents):
2129 cspi binding for Accessibility_Text_getRangeExtents.
2130 (AccessibleText_getBoundedRanges):
2131 cspi binding for Accessibility_Text_getBoundedRanges.
2132 (AccessibleTextRange_freeRanges): convenience method.
2135 (AccessibleText_getRangeExtents):
2136 cspi binding for Accessibility_Text_getRangeExtents.
2137 (AccessibleText_getBoundedRanges):
2138 cspi binding for Accessibility_Text_getBoundedRanges.
2139 (AccessibleTextRange_freeRanges): convenience method.
2140 (get_accessible_text_clip_type): internal conversion method.
2141 (get_accessible_text_ranges_from_range_seq): internal conversion method.
2143 * registryd/deviceeventcontroller.c:
2144 (spi_dec_mouse_check):
2145 Improved behavior for mouse:abs events
2146 [same granularity as mouse:rel events, and no
2147 events when mouse is idle].
2149 2002-12-16 Michael Meeks <michael@ximian.com>
2151 * cspi/spi_accessible.c (spi_state_to_corba): rename.
2153 * libspi/stateset.c (state_spi_to_atk): split out
2154 ( fix several remote array bounds nasties )
2155 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
2156 (impl_remove): make safe from array bounds issues.
2157 (spi_atk_state_from_spi_state): impl.
2159 * libspi/stateset.h (spi_state_set_cache_is_empty):
2160 add a set of wrapper defines to get layering right.
2162 * cspi/spi_accessible.c: update state set stuff to
2165 2002-12-14 Michael Meeks <michael@ximian.com>
2167 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
2168 to avoid 2 roundtrips to the registry per key event
2169 (spi_atk_bridge_key_listener): upd.
2170 (deregister_application): release the dec.
2172 * registryd/registry.c (notify_listeners_cb):
2173 bin lots of re-enterant complexity - we no longer
2174 do a round-trip bonobo ref here, ensure that a single
2175 listener's exception failure won't poison all other
2177 (impl_registry_notify_event): bin obvious memory leak.
2179 2002-12-13 Michael Meeks <michael@ximian.com>
2181 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
2182 init the ev so the error is meaningful.
2183 (spi_atk_bridge_key_listener): ditto.
2185 * cspi/spi_main.c (cspi_ev): init the ev so we start
2186 with a clean slate, otherwise the first exception
2187 kills us completely.
2189 * cspi/spi_text.c (get_accessible_text_boundary_type):
2190 add a fallthrough for no warnings.
2192 * cspi/spi_registry.c: prune unused warnings.
2194 * cspi/spi_main.c (cspi_object_take): fix
2195 mind-blowing brokenness ( by watching the compile
2198 * cspi/spi_accessible.c (Accessible_getStateSet):
2199 re-impl. to use an AtkStateSet.
2200 (spi_state_type_from_accessible_state),
2201 (init_state_table): bin these.
2203 * libspi/stateset.c (spi_atk_state_set_from_sequence):
2205 (atk_state_set_from_accessibility_state_set): here.
2207 * cspi/spi_accessible.c (spi_state_to_atk): impl.
2208 (AccessibleStateSet_contains, AccessibleStateSet_ref),
2209 (AccessibleStateSet_unref, AccessibleStateSet_contains),
2210 (AccessibleStateSet_add, AccessibleStateSet_remove),
2211 (AccessibleStateSet_equals, AccessibleStateSet_compare),
2212 (AccessibleStateSet_isEmpty): re-write to use a local
2215 2002-12-13 Bill Haneman <bill.haneman@sun.com>
2217 * configure.in: Revved to 1.1.7 (new keymask vals).
2219 2002-12-10 Bill Haneman <bill.haneman@sun.com>
2221 * libspi/keymasks.h:
2222 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
2224 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
2227 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
2228 to compare two CORBA_TypeCodes.
2229 (cspi_internal_event_add): Silence warning from FORTE compiler.
2231 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
2232 avoid implicit declaration of functions.
2234 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
2236 * atk-bridge/bridge.c:
2237 (spi_atk_bridge_init_event_type_consts): Store signal id for
2238 active-descendant-changed signal.
2239 (spi_atk_register_event_listeners): Add signal listener for
2240 active-descendant-changed signal,
2241 (spi_atk_bridge_signal_listener): Move code in function
2242 spi_atk-signal_emit_event() into this function.
2243 Add support for active-descendant-changed
2244 Update support for child-changed signal.
2245 (spi_bridge_window_event_listener): Silence warning.
2247 * libspi/spi_private.[ch]:
2248 (spi_init_any_object): Change second parameter from CORBA_Object to
2250 Omit call to CORBA_Object_duplicate().
2251 Set CORBA_any's _value to CORBA_Object*.
2253 2002-12-06 Bill Haneman <bill.haneman@sun.com>
2259 (AccessibleEvent_ref, AccessibleEvent_unref):
2260 New methods, for persisting an event outside the emission context.
2261 Must be used if the new accessor methods are to be called
2262 outside of the event listener's callback.
2264 * cspi/bonobo/cspi-bonobo.c:
2265 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
2266 as second parameter instead of NULL, so we can call
2267 cspi_check_ev afterwards.
2270 (cspi_object_take): New internal method,
2271 converts a CORBA_Object reference to a hard ref on
2272 an Accessible if possible, returning NULL if the object
2273 reference is invalid or an Accessible * otherwise.
2276 (AccessibleEvent_ref):
2277 Increment the event's internal private refcount, and
2278 add the event's internal struct to an internal cache
2279 if it's not already there.
2280 (AccessibleEvent_unref):
2281 Decrement the event's refcount and remove it from
2282 the cspi event cache if refcount==0.
2283 (cspi_event_compare): New private method.
2284 Compares two event structs via their ids. Used
2286 (cspi_internal_event_lookup): New private method.
2287 (cspi_internal_event_check): New private method,
2288 a 0-order sanity check for events to make sure their
2289 private data is intact.
2290 (cspi_internal_event_add, cspi_internal_event_remove):
2291 New private methods for managiing the event cache.
2293 * cspi/bonobo/cspi-bonobo-listener.c:
2295 Initialize the new private data elements (id, magic, ref_count).
2297 * atk-bridge/bridge.c:
2298 (spi_atk_bridge_signal_listener):
2299 Fixed bug #100530, passing wrong params to emission func.
2301 * registryd/deviceeventcontroller.c:
2302 (spi_dec_button_update_and_emit):
2303 Fixed type in mask bit operations; fix for #99799.
2305 2002-12-02 Bill Haneman <bill.haneman@sun.com>
2307 Removed some of the more dangerous workarounds from
2308 previous commit; they are only needed by GOK, which
2309 in reality should be using another method to accomplish
2310 the goals. So on reconsideration some of the workarounds
2311 need to be reverted:
2313 * registryd/deviceeventcontroller.c:
2314 (spi_keycodes_contain, spi_dec_init_keycode_list):
2315 Removed these methods, used only by a nasty hack to try
2316 and detect whether a key synthesis should be allowed
2317 to reset the XKB latch state or not. This code was only
2318 required to work around an interaction between GOK,
2319 button events, and XKB.
2320 (impl_generate_key_event):
2321 Removed hack at end of key generation that tried to
2322 "do the right thing" if XKB latch keys were generated
2323 in the midst of button press/release pairs.
2326 Added a check for HAVE_XINPUT. Not normally used yet.
2328 2002-11-25 Bill Haneman <bill.haneman@sun.com>
2330 Workarounds and fixes for mouse event/XKB interaction.
2332 * registryd/deviceeventcontroller.c:
2333 (spi_keycodes_contain, spi_dec_init_keycode_list):
2334 New internal methods.
2335 (spi_dec_set_unlatch_pending):
2336 Split the method that tells XKB to expect an
2337 unlatch (and revert it) out of the rest of the
2338 event handling code. This method is called by the
2339 two mouse event handlers (the poll and the filter).
2340 (spi_dec_update_and_emit, spi_dec_mouse_check):
2341 New methods split from spi_dec_poll_mouse_moved.
2342 The second one is now called from inside the filterFn
2343 when an XKB delatch event is received, to determine
2344 whether to revert the delatch or not.
2345 (spi_poll_mouse_moved): Refactor; also we can now
2346 properly handle the case where multiple button states
2347 have changed between polling cycles and we didn't get
2348 notified due to another client's grab.
2350 Synchronize the server while handling an XKB notification.
2351 Ugly, but apparently necessary to avoid nasty races.
2352 Check the mouse state on receipt of an XKB latch change,
2353 to decide whether to revert the latch or not. (Latches are
2354 reverted if there is an immediately preceding mouse button
2355 event that a client has consumed, in which case we don't want
2356 the user to see the side-effect of the event).
2357 (spi_device_event_controller_forward_mouse_event):
2358 Check for modifier events and fire before resetting mouse_mask_state,
2359 prevents losing modifier events.
2361 (impl_generate_keyboard_event):
2362 If we've just generated a keyboard event for a non-shift key,
2363 we don't want to revert the pending XKB latch.
2364 Otherwise, check the modifier state (via a call to
2365 spi_dev_mouse_check) and set the relatch mask to
2366 that state before returning.
2368 2002-11-24 Bill Haneman <bill.haneman@sun.com>
2371 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
2374 * atk-bridge/bridge.c:
2375 (spi_atk_register_event_listeners):
2376 Don't re-register for ATK events if the registry has died
2377 and the app needs to re-register; the ATK listeners are in
2378 process and doing so will cause duplicate emission.
2380 * registryd/deviceeventcontroller.c:
2381 (spi_poll_mouse_moved):
2382 Reformat the source, detect and emit multiple button-change
2383 events (i.e. if multiple buttons have changed between poll
2385 Add code to detect mouse-down events even when the pointer
2386 is grabbed; workaround for GOK bug 98420.
2387 (spi_controller_register_with_devices):
2388 Call XTestGrabControl with 'impervious' flag set to True,
2389 allows us to synthesize events and query the pointer even during
2390 an active grab by another client.
2391 (spi_device_event_controller_forward_mouse_event):
2392 Set the mouse_mask_state to the mouse_button_state from
2393 the intercepted event, to synchronize the grab listener with
2396 2002-11-20 Bill Haneman <bill.haneman@sun.com>
2398 * cspi/spi_accessible.c:
2399 (AccessibleRole_getName):
2400 Added necessary strings for making this (deprecated)
2401 method work with the new role types.
2402 (init_role_table, role_table):
2403 Added definition of SPI_ROLE_APPLICATION.
2405 * libspi/spi-roletypes.h:
2406 Added SPI_ROLE_APPLICATION.
2408 * idl/Accessibility_Role.idl:
2409 Added ROLE_APPLICATION.
2411 * docs/reference/cspi/at-spi-cspi-decl.txt:
2412 Added SPI_ROLE_APPLICATION to docs.
2414 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
2416 * cspi/spi_accessible.c
2417 (cspi_init_role_table): Do not write beyond end of role_table.
2418 (Accessible_getRole): Use correct type for value returned by
2419 Accessibility_Accessible_getRole().
2421 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
2422 beyond end of role_table. (This fixes bug #98269)
2424 * libspi/application.c: Add include file spi-private.h for
2425 definition of spi_init_any_nil.
2427 2002-11-19 Bill Haneman <bill.haneman@sun.com>
2431 * libspi/spi-private.h:
2432 Added DGB() macro, and extern int _dbg declaration.
2434 * registryd/registry.c:
2435 (definitions) storage for _dbg.
2436 (spi_registry_init):
2437 Get environment variable "AT_SPI_DEBUG".
2438 (spi_registry_set_debug):
2439 New method, to initialize _dbg value.
2440 (spi_listener_struct_new, spi_registry_object_finalize):
2441 (notify_listeners_cb):
2442 Changed fprintfs to use DBG and g_warning().
2444 * registryd/deviceeventcontroller.c:
2445 (_deregister_keygrab, spi_controller_register_device_listener):
2446 Changed debug/warning messages to use DBG macro.
2448 * libspi/listener.c:
2449 (impl_notify_event):
2450 Changed warning messages to use DBG macro and g_warning().
2452 * atk-bridge/bridge.c:
2453 (atk_bridge_init, spi_atk_bridge_get_registry):
2454 (spi_atk_bridge_exit_func):
2455 (spi_atk_bridge_property_event_listener):
2456 Changed status, warning, and error messages to use
2457 g_warning, g_message, and DBG macros.
2460 Read the state of the AT_SPI_DEBUG environment variable
2461 and set a local '_dbg' accordingly.
2463 2002-11-19 Bill Haneman <bill.haneman@sun.com>
2465 FIXES for 98836, 98842, other bugs.
2468 Revved to 1.1.4, interface-age=4, binary-age=4.
2470 * registryd/deviceeventcontroller.c:
2472 Fixed crasher bug in last_mouse_pos initialization.
2474 * registryd/registry.c:
2475 (desktop_add_application, desktop_remove_application):
2476 Added (and then commented out) some support for
2477 object context marshalling. [TODO]
2479 * atk-bridge/bridge.c:
2480 (spi_atk_bridge_event_context_create):
2481 Commented out object context creation until it can
2482 be properly tested and debugged.
2484 * registryd/registry.c:
2485 (impl_registry_notify_event):
2486 Fixed crasher bug, we were calling
2487 spi_re_entrant_list_foreach () with an empty list.
2489 2002-11-18 Bill Haneman <bill.haneman@sun.com>
2491 * idl/Accessibility_Action.idl:
2492 * idl/Accessibility_Component.idl:
2493 * idl/Accessibility_Desktop.idl:
2494 * idl/Accessibility_Event.idl:
2495 * idl/Accessibility_Hyperlink.idl:
2496 * idl/Accessibility_Image.idl:
2497 * idl/Accessibility_Relation.idl:
2498 * idl/Accessibility_Selection.idl:
2499 * idl/Accessibility_State.idl:
2500 * idl/Accessibility_Value.idl:
2501 Updated unimplemented slot count to minimum of
2502 four for all interfaces, for ABI freeze.
2504 * idl/Accessibility_EditableText.idl:
2505 * idl/Accessibility_Text.idl:
2506 Updated unimplemented slot count to six
2509 * idl/Accessibility_Registry.idl:
2510 Updated unimplemented slot count to six
2511 (also for DeviceEventController),
2514 * idl/Accessibility_Table.idl:
2515 Updated unimplemented slot count to eight,
2518 * idl/Accessibility_Event.idl:
2519 Added CORBA_any "any_data" member to Event struct.
2521 * idl/Accessibility_Event.idl:
2522 Added CORBA_any "any_data" member to Event struct.
2524 * atk-bridge/bridge.c:
2526 atk_signal_text_changed, atk_signal_child_changed,
2527 signal ids queried from gtype system.
2528 (AtkBridgeEventContextType): New enum.
2529 (AtkBridgeEventContextData): New struct.
2530 (AtkBridgeEventContext): New struct.
2531 (atk_bridge_init_event_type_consts):
2532 New method, initializes type contants for comparison
2533 prior to emit_eventv.
2534 (atk_bridge_event_context_init): New method,
2535 initializes a CORBA_any from an AtkBridgeEventContext.
2536 (atk_bridge_focus_tracker): Call spi_init_any_nil to
2537 initialize the event.any_data struct.
2538 (spi_atk_bridge_event_context_create): New method,
2539 creates an AtkBridgeEventContext from signal/event info.
2540 (spi_atk_bridge_event_context_free): New method.
2541 (spi_atk_emit_eventv): Changed to take an
2542 AtkBridgeEventContext parameter. We now initialize
2543 the event.any_data member prior to notifying the
2544 Registry, via the AtkBridgeEventContext.
2545 (spi_atk_bridge_property_event_listener):
2546 (spi_atk_bridge_state_event_listener):
2547 Match emit_eventv signature.
2548 (spi_atk_bridge_object_event_listener):
2549 Match emit_eventv signature, and create an
2550 event context from the event details.
2551 Free the event context afterwards.
2552 (spi_atk_bridge_window_event_listener):
2553 Create an event context, pass it to the
2557 (AccessibleEvent_getContextString):
2558 (AccessibleEvent_getContextObject):
2559 New methods, allow query of AccessibleEvent objects
2560 for more context details (via the "any_data" member
2561 of the Event struct, above).
2564 Definitions for AccessibleEvent_getContextString
2565 and AccessibleEvent_getContextObject.
2567 * cspi/spi_listener.h:
2568 (InternalEvent): New struct.
2571 (AccessibleEvent_getContextString):
2572 (AccessibleEvent_getContextObject):
2573 Implementations of new methods, for obtaining
2574 additional context information from some event types.
2576 * cspi/spi_registry.c:
2577 (SPI_registerGlobalEventListener):
2578 Added mention of active-descendant-changed event in docs.
2580 * cspi/cspi-bonobo-listener.c:
2582 Marshal the any into the AccessibleEvent via
2585 * libspi/spi-private.h:
2586 #include <orbit/orbit.h>
2588 (spi_init_any_string):
2589 (spi_init_any_object):
2590 New convenience function declarations.
2594 (spi_init_any_string):
2595 (spi_init_any_object):
2596 New convenience function implementations.
2598 * registryd/deviceeventcontroller.c:
2599 (spi_poll_dec_mouse_moved):
2600 (spi_device_event_controller_forward_mous_event):
2601 Initialize any_data member of event.
2602 (spi_deregister_controller_device_listener):
2603 Fix incorrect param pass which was preventing deregistration.
2605 * registryd/registry.c:
2606 (desktop_add_application):
2607 (desktop_remove_application):
2608 Add object data to event's any_data before dispatch.
2610 Fix for error messages from GAIL.
2612 * test/event-listener-test.c:
2613 Test new ContextString and "any_data" API:
2614 (report_text_event): New method query and output context string.
2615 (main): register a new text listener with report_text_event
2618 2002-11-19 Darren Kenny <darren.kenny@sun.com>
2620 Fixes for bugs 98127 and 97914.
2621 * cspi/spi-roletypes.h:
2622 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
2624 * cspi/spi-statetypes.h:
2625 Added SPI_STATE_MANAGES_DESCENDANTS
2627 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
2628 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
2629 * cspi/spi_accessible.c:
2630 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
2631 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
2632 Accessibility_STATE_MANAGES_DESCENDANTS
2633 * libspi/accessible.c:
2634 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
2635 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
2636 As requested by Bill, I also cleaned up the alignment.
2637 * libspi/relation.c:
2638 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
2639 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
2640 * libspi/stateset.c:
2641 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
2642 Accessibility_STATE_MANAGES_DESCENDANTS
2643 * docs/reference/cspi/tmpl/spi_accessible.sgml:
2644 Document changes reflecting modifications to roles.
2645 * docs/reference/cspi/tmpl/spi_relation.sgml:
2646 Document changes reflecting modifications to relations.
2647 * docs/reference/cspi/tmpl/spi_stateset.sgml:
2648 Document changes reflecting modifications to states.
2650 2002-11-17 Bill Haneman <bill.haneman@sun.com>
2653 Revved to 1.1.3, interface-age=3, binary-age=3.
2654 Added REBUILD macro.
2657 Removed accessx-gui from the tests, since we have a nice
2658 keyboard accessibility capplet now :-)
2660 * test/keysynth-demo.c:
2661 (increment_scan): removed do-nothing default: case,
2664 * test/visual-bell.c:
2665 (main) : removed do-nothing default: case,
2668 * cspi/spi_action.c:
2669 (AccessibleAction_getKeyBinding_):
2670 Documented keybinding string format.
2674 (AccessibleText_getAttributes):
2675 Documented the text attribute string format.
2676 It's changed to use semicolon delimiters also,
2677 to prevent clashes with CSS attributes, but the old
2678 trick of looking for ", " strings will still work
2679 (as unreliably as ever). Fix for bug related to 97916.
2682 Include <cspi/bonobo/cspi-bonobo-listener.h>
2683 Fixes build warning.
2684 (SPI_freeAccessibleKeySet):
2685 (AccessibleKeystrokeListener_addCallback):
2686 (AccessibleKeystrokeListener_removeCallback):
2687 Modify to use AccessibleDeviceListener API internally,
2688 instead of AccessibleKeystrokeListener.
2690 * idl/Accessibility_Event.idl:
2691 Added two more empty slots to EventListener (for a total of four).
2693 * idl/Accessibility_Accessible.idl:
2694 Added four empty slots to Accessible interface.
2696 2002-11-15 Bill Haneman <bill.haneman@sun.com>
2698 * idl/Accessibility_Registry.idl:
2699 (KeyEventType, EventType):
2700 Marked KeyEventType as deprecated; it duplicates
2701 functionality of EventType, which has been extended to
2702 include Mouse-button events.
2703 (KeyEventTypeSeq): defined in terms of EventType.
2704 (registerDeviceEventListener, deregisterDeviceEventListener):
2705 New methods, for managing listeners to device events,
2706 which potentially may consume them.
2709 Added definition for AccessibleDeviceListener.
2711 * cspi/spi-listener.h:
2712 (enum AccessibleDeviceEventType):
2713 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
2714 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
2715 for backwards compat.
2716 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
2717 and typedef'd AccessibleKeystroke to it for back-compat.
2718 (AccessibleDeviceListenerCB):
2719 New function prototype typedef.
2722 (AccessibleDeviceEventMask): New typedef.
2723 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
2724 (AccessibleKeyMaskType):
2725 Set equivalent to AccessibleModifierMaskType for back-compat.
2726 (SPI_createAccessibleKeystrokeListener):
2727 (AccessibleKeystrokeListener_unref):
2728 Deprecated in favor of equivalent (better-named) new API below..
2729 keystroke listeners are like all device listeners.
2730 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
2731 New API names for old features :-).
2732 (AccessibleDeviceListener_addCallback):
2733 (AccessibleDeviceListener_removeCallback):
2734 (SPI_registerDeviceEventListener):
2735 (SPI_deregisterDeviceEventListener):
2739 (SPI_createAccessibleKeystrokeListener):
2740 Use new preferred API, cspi_device_listener_new() and
2741 cspi_device_listener_add_cb().
2742 (AccessibleKeystrokeListener_removeCallback):
2743 Use new preferred API, cspi_device_listener_remove_cb().
2744 (AccessibleKeystrokeListener_unref):
2745 Use new preferred API, cspi_device_listener_unref().
2746 (SPI_createAccessibleDeviceListener):
2747 (AccessibleDeviceListener_addCallback):
2748 (AccessibleDeviceListener_removeCallback):
2749 Implementation of new API.
2751 * cspi/spi_registry.c:
2752 (SPI_registerDeviceEventListener):
2753 (SPI_deregisterDeviceEventListener):
2754 Implementation of new API. Fixed memory leak and removed need to
2755 allocate EventTypeSeq (thanks Michael for catching this).
2756 Squashed a wayward CORBA_exception_free that shouldn't get called.
2758 * cspi/bonobo/cspi-bonobo-listener.c:
2760 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
2761 (cspi_key_event): renamed to cspi_device_event().
2762 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
2763 Extended to handle mouse button events as well as key events.
2764 (CSpiKeystrokeListener):
2765 Class superceded by CSpiDeviceListener.
2766 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
2767 These internal APIs changed to "*device_listener" from "*keystroke_listener".
2769 * cspi/bonobo/cspi-bonobo-listener.h:
2770 (CSpiKeystrokeListener):
2771 Class superceded by CSpiDeviceListener.
2772 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
2773 These internal APIs changed to "*device_listener" from "*keystroke_listener".
2775 * libspi/Makefile.am:
2776 Replaced keystrokelistener.h and keystrokelistener.c
2777 with devicelistener.h and devicelistener.c; keystrokelisener.h
2778 stub retained for back-compat.
2780 * libspi/keystrokelistener.c:
2784 Replaced inclusion of keystrokelistener.h with devicelistener.h.
2786 * registryd/deviceeventcontroller.c:
2787 (DEControllerListener): Added Accessibility_EventTypeSeq member.
2788 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
2789 (DEControllerPrivateData): Added xkb settings data.
2790 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
2791 button release events (which can't be captured via XGrabButton).
2792 Don't dispatch via the 'normal' event mechanism if the device event was
2794 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
2795 Handle the typeseq data in its new location (see above).
2796 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
2797 New methods, for "generic" device listeners.
2798 (spi_controller_register_device_listener):
2799 Now handle mouse event listeners as well as key listeners.
2800 (spi_controller_notify_mouselisteners):
2801 New internal method.
2802 (spi_device_event_controller_forward_mouse_event):
2803 Now we notify mouse device listeners as well as generating the
2804 non-consumable "mouse:" events.
2806 We must check and restore the XKB
2807 modifier map if we consume the event, since the act of triggering
2808 a mouse event will normally reset the XKB latch. This is required for
2810 (spi_controller_register_with_devices):
2811 Load the XKB settings when registering, and register for XKB
2812 state notify events.
2813 (spi_key_eventtype_seq_contains_event):
2814 Renamed spi_eventtype_seq_contains_event, since it's used
2815 internally for all device event types now.
2816 (spi_key_event_matches_listener):
2817 Uses spi_eventtype_seq_contains_event now.
2818 (spi_device_event_controller_object_finalize):
2819 Free the private data and the XkbKeyboard struct.
2820 (impl_register_device_listener, impl_deregister_device_listener):
2821 Implementation of new IDL.
2822 (spi_deregister_controller_device_listener):
2823 New internal method.
2824 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
2825 More efficient implementation, we don't have to create a new
2826 XkbControls structure every time we query.
2827 (spi_device_event_controller_class_init):
2828 Initialize the epv entries for the new IDL. Assign the
2829 "spi-dec-private" quark.
2830 (spi_device_event_controller_init):
2831 Initialize the private data.
2832 (spi_device_event_controller_forward_key_event):
2833 Removed a bogus CORBA_exception_free() call.
2835 * registryd/deviceeventcontroller.h:
2836 Replaced inclusion of keystrokelistener.h with
2839 * test/event-listener-test.c:
2840 (report_mouse_event):
2843 Added mouse-event device listener.
2845 * test/test-simple.c:
2846 (create_test_window):
2847 Fixed regression (we were instantiating a GtkRange,
2848 which is now an abstract class). Also fixed to match
2849 existing AtkRole names, this seems to have changed in ATK
2850 awhile ago; too late now I think, and the new
2851 mechanism is at least elegant and consistent with the
2852 glib enum "nick" APIs.
2854 2002-11-15 Darren Kenny <darren.kenny@sun.com>
2856 * idl/Accessibility_Relation.idl:
2857 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
2858 RELATION_EMBEDS,RELATION_EMBEDDED_BY
2859 * idl/Accessibility_Role.idl:
2860 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
2861 * idl/Accessibility_State.idl:
2862 add STATE_MANAGES_DESCENDANTS
2863 * test/event-listener-test.c:
2864 Added a listener for active-descendant events.
2866 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
2868 * atk-bridge/bridge.c
2869 (atk_bridge_init): If application is Bonobo component wait until top
2870 level is added before registering
2871 (spi_atk_bridge_do_registration): New function which contains code,
2872 formerly in atk_bridge_init, to do application registration.
2873 (spi_atk_bridge_toplevel_added): Signal called when top level
2874 added to Bonobo component
2876 This fixes bug #83134.
2878 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
2880 * registryd/deviceeventcontroller.c
2881 Fixed compilation error caused by calling gettimeofday()
2884 2002-10-18 Bill Haneman <bill.haneman@sun.com>
2889 Added template for HAVE_XKB.
2892 Changes to check for XKB, and to set the HAVE_XKB #define if it
2895 * libspi/listener.c:
2896 ()impl_notify_event): Make failure to get event source name
2899 * registryd/deviceeventcontroller.c:
2900 (#include): include X11/XKBlib.h.
2901 (DEControllerPrivateData) : New struct.
2902 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
2904 (dec_synth_keycode_press) (dec_synth_keycode_release):
2905 New methods; split the key synthesis code into these methods.
2906 They check XKB settings before determining the "time" values to
2907 pass to Xtest; this fixes bug #95828.
2908 (impl_generate_keyboard_event): Changed to use methods above,
2909 instead of callng Xtest directly.
2910 (spi_device_event_controller_init): Initialize new privae struct s
2912 (spi_device_event_controllr_object_finalize):
2913 Free the (new) private data.
2915 * registryd/deviceeventcontroller.h:
2916 Add new gpointer to end of struct data.
2918 2002-10-16 Bill Haneman <bill.haneman@sun.com>
2921 Incremented revision to 1.1.2, SONAME is still '.so', library
2922 extensions are ".so.0.0.2".
2924 * registryd/deviceeventcontroller.c:
2925 FIXES FOR #93592 and #95940.
2926 (statics): renamed mouse_button_state to mouse_mask_state,
2927 added key_modifier_mask.
2928 (spi_dec_poll_mouse_moved):
2929 Added key modifier checks, and emit "keyboard:modifiers"
2930 events when the key modifiers currently in use change.
2931 Also generate "mouse:abs" events periodically, even if the mouse
2932 is stationary (should we?).
2933 Alternatively we could generate "mouse:abs" events for either all
2934 mouse movements, or every 'nth' mouse movement, or at the
2935 beginning and end of every "active" mouse period.
2937 * test/event-listener-test.c:
2938 (main): Added listener for "keyboard:modifiers" events.
2940 2002-10-15 Bill Haneman <bill.haneman@sun.com>
2942 * libspi/keymasks.h:
2943 Added key mask #defines for mouse buttons; e.g.
2944 SPI_KEYMASK_BUTTON1, etc.
2947 Incremented dependency on ATK to version 1.1.0. (This dependency
2948 is probably premature but will soon be real enough).
2950 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
2952 * libspi/hyperlink.[ch]
2953 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
2954 (get_hyperlink_from_servant): Check object is AtkHyperlink not
2957 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
2962 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
2964 * registryd/deviceeventcontroller.c
2965 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
2966 events to be ignored.
2967 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
2968 keyboard_mode so that XAllowEvents() can be called.
2972 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
2974 * cspi/spi-accessible.c: Correct names of roles returned by
2975 AccessibleRole_getName(). Fixes bug #95055.
2977 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
2979 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
2982 * registryd/registry.c
2983 (desktop_remove_application: Write diagnostic message to stderr for
2986 (impl_accessibility_registry_deregister_global_event_listener):
2987 Correct size of lists array. This addresses bug #94555).
2989 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
2991 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
2994 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
2996 * registryd/Makefile: Add CLEANFILES so that .server file is removed
2999 * registryd/registry.c (impl_registry_notify_event): Remove
3000 unnecessary call to parser_event_type().
3002 * docs/reference/cspi/tmpl/spi_component.sgml:
3003 Add reference to SPI_LAYER_WINDOW.
3005 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
3007 * registryd/registry.c
3008 (desktop_add_application): Remove leak.
3009 (desktop_remove_application): Remove leak.
3010 (parser_event_type): Remove leak.
3012 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
3014 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
3015 bogus call to CORBA_string_dup(). Also removed unnecessary
3016 g_string_dup/g_free calls.
3018 2002-09-13 Bill Haneman <bill.haneman@sun.com>
3020 * registryd/deviceeventcontroller.c:
3021 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
3023 * test/event-listener-test.c:
3024 main: commented out three redundant listeners, to reduce output
3025 noise. (They still are potentially useful for testing).
3028 2002-09-13 Michael Meeks <michael@ximian.com>
3030 * Update all the copyrights to include Ximian.
3032 2002-09-06 Mark McLoughlin <mark@skynet.ie>
3034 * cspi/spi.h: add SPI_LAYER_WINDOW.
3036 * cspi/spi_component.c: (AccessibleComponent_getLayer):
3037 add Accessibility_LAYER_WINDOW case.
3039 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
3041 * libspi/component.c: (impl_accessibility_component_get_layer):
3042 add ATK_LAYER_WINDOW case.
3044 2002-08-28 Bill Haneman <bill.haneman@sun.com>
3046 * configure.in: incremented micro version.
3048 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
3050 2002-08-20 Bill Haneman <bill.haneman@sun.com>
3053 Clarified and reworded our commit policy.
3056 Started an API "todo" addition list for 2.2.
3059 (impl_getSelection):
3060 Free char pointer from atk_text_get_selection, which was being leaked.
3062 2002-08-19 Bill Haneman <bill.haneman@sun.com>
3065 Small revision to author acknowledgement.
3067 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
3069 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
3070 If signal has detail add it to the type of the event.
3073 2002-08-12 Michael Meeks <michael@ximian.com>
3075 * test/test-simple.c (global_listener_cb): bin bogosity.
3076 (test_keylisteners): disable, still doesn't work reliably,
3077 certainly not on my system anyway.
3079 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
3080 don't leak a reference on the DEC. This round-trip
3081 fetching of the DEC per keystroke sucks, it should be
3084 * cspi/spi-private.h,
3085 * cspi/cspi-lowlevel.h,
3086 * cspi/bonobo/cspi-bonobo-listener.[ch],
3087 * cspi/bonobo/cspi-bonobo.c: get the copyright
3088 notices better - there is still a large amount of
3089 work in at-spi falsely attributed solely to Sun.
3091 * cspi/spi_main.c (cspi_object_ref): kill bogus
3092 hash lookup, just increment the ref.
3093 (SPI_freeString): make explicit the fact that we
3094 handle NULL strings just fine.
3095 (report_leaked_ref): obey coding standards.
3096 (cspi_object_hash, cspi_object_equal): kill retval.
3097 (cspi_object_release): only release if not on loan.
3098 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
3099 (cspi_object_borrow, cspi_object_return): impl.
3101 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
3102 use cspi_object_borrow / return.
3104 2002-08-12 Darren Kenny <darren.kenny@sun.com>
3106 * cspi/bonobo/cspi-bonobo-listener.c:
3108 Don't call cspi_oject_new() because this is creating a new Accessible
3109 every single time that an event is fired. This causes ATs like at-poke
3110 to nolonger recognise the source of the event and thus ignore it.
3111 Re-use the object from the cache, ref it and then unref it after the
3112 listeners have been called.
3114 2002-08-06 Darren Kenny <darren.kenny@sun.com>
3116 * test/event-listener-test.c:
3117 Added command-line options to disable mouse events (m) and
3120 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
3122 * configure.in: Update required versions of ATK, GTK+ and GAIL
3124 * cspi-1.0.pc.in: Add dependency for X include files
3127 * cspi/bonobo/Makefile.am:
3128 Add $(X_CFLAGS) so that X include files
3129 are picked up even if not in standard place (bug #71686)
3131 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3133 * registryd/deviceeventcontroller.c: fix for 84261
3134 (spi_dec_mouse_moved):
3135 Added test of mouse button mask, so that we can detect mouse
3136 button release. Unfortunately we can't otherwise detect mouse
3137 button release events without consuming the mouse press event,
3138 because of the way XGrabButton works. This means that our mouse
3139 release events have a latency dependent on the polling period
3140 while the mouse button is down. At least in this case we only
3141 have to poll while the button is down, and not at other times.
3142 If the button masks don't match with what the last press event
3143 reported, we report the appropriate button release event.
3144 (spi_dec_ungrab_mouse):
3145 New method (not yet called).
3146 (spi_device_event_controller_forward_mouse_event):
3147 New method, sends mouse press event from GdkFilter.
3148 (spi_dec_init_mouse_listener):
3149 Added code to call XGrabButton, redirecting mouse button events to
3150 the root window and our Gdk event loop.
3152 Added code to filter mouse button events, and reordered.
3154 * test/event-listener-test.c:
3156 Added registration for mouse events of type "mouse:button".
3158 2002-06-25 Bill Haneman <bill.haneman@sun.com>
3160 * registryd/deviceeventcontroller.c: partial fix for 84261
3161 (spi_dec_poll_mouse_idle):
3162 New method, a timeout which checks to see if the mouse
3164 (spi_dec_poll_mouse_moving):
3165 A timeout to be called when mouse motion is underway.
3166 (spi_dec_poll_mouse_moved):
3167 A method which fires an event if the mouse has moved, and reports
3168 whether or not it did so.
3169 (spi_dec_init_mouse_listener):
3170 A method which sets up the timeouts above.
3171 (spi_device_event_controller_new):
3172 Now calls spi_dec_init_mouse_listener.
3174 * registryd/registry.c:
3175 (spi_registry_init):
3176 Now we initialize the device event controller when the registry is
3177 initialized, instead of waiting until a client has requested a key
3178 event notification; this is because we need the event controller
3179 for mouse events, but the mouse event registration API is a
3180 "registry" call and doesn't explicitly call the
3181 deviceeventcontroller.
3182 We now report mouse motion events with a 100 ms idle latency and
3183 a 20 ms granularity when motion is in progress.
3185 * test/event-listener-test.c:
3187 We now register the "detail listener" for events of type
3188 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
3189 delivered only for the first mouse event received, and thereafter
3190 "mouse:abs" events are delivered.)
3192 * cspi/spi_registry.c:
3193 DOCS: Documented the above mouse event typestrings.
3195 2002-06-21 Bill Haneman <bill.haneman@sun.com>
3197 Happy Summer Solstice...
3199 * registryd/deviceeventcontroller.c: [fix for bug 84100]
3200 (spi_controller_notify_keylisteners):
3201 Changes to remove a listener from the listener list, freeing its
3202 open keygrabs, if a notification to that listener fails. This
3203 means that although a dead listener can continue to hold a passive
3204 keygrab, a maximum of one dispatch to such a listener can fail
3205 before the listener is removed from the list, thus the keygrab
3206 will be released on the next occurrence.
3207 As part of this fix:
3208 (spi_notify_keylisteners):
3209 Renamed to spi_controller_notify_keylisteners, as the controller
3210 instance must now be passed as an argument.
3211 The copied 'notify' GList is now a list of DEControllerKeyListener
3212 objects, since we need more than just the CORBA reference if a
3213 notify fails and we need to deregister the listener.
3214 (impl_notify_listeners_sync):
3215 (impl_notify_listeners_async):
3216 (spi_device_event_controller_forward_key_event):
3217 Modify use of notify_keylisteners in accordance with above
3219 (spi_deregister_controller_key_listener):
3220 New method introduced by refactoring, from
3221 impl_deregister_keystroke_listener.
3222 (impl_deregister_keystroke_listener):
3223 Call spi_deregister_controller_key_listener.
3224 (spi_key_listener_clone):
3225 New method to copy a key listner without doing a 'ref' on the
3226 remote object instance; used to create a notifier list.
3227 (spi_key_listener_data_free):
3228 New method, frees data without unreffing the source.
3230 (spi_key_listener_clone_free): new method.
3231 (spi_key_listener_free):
3232 refactored to call spi_key_listener_data_free.
3234 2002-06-20 Bill Haneman <bill.haneman@sun.com>
3236 * registryd/registry.c: [fix for bug 86048]
3237 (notify_listeners_cb):
3238 Clear CORBA system exceptions which occur when notifying
3239 listeners, before returning to the source of the original event,
3240 since the event source doesn't care if the relayed notify failed.
3241 In other words, don't complain to the atk-bridge if the registry
3242 could not notify all its listeners, that's no fault of the
3243 application and thus should not appear to be an error from the
3244 application's perspective.
3246 * cspi/spi_main.c: [fix for bug 85980]
3248 Replaced use of bonobo_object_dup_ref with call to the wrapper
3249 method, csou_dup_ref (); this silences a compiler warning and
3250 provided more portability.
3252 Ping the registry before return, and restart if necessary.
3254 * cspi/bonobo/cspi-bonobo.c:
3256 New internal method.
3258 Fixed this method to return an object reference, as it should have
3261 * cspi/cspi-lowlevel.h:
3262 Added internal definition for cspi_ping() and fixed
3263 return type of cspi_dup_ref().
3266 2002-06-19 Bill Haneman <bill.haneman@sun.com>
3268 * atk-bridge/bridge.c: [fix for bug 85305]
3269 (spi_atk_bridge_register_application):
3270 New method where the initial application registry calls have been
3271 moved; it allows an application to re-register in response to
3272 certain error conditions (such as a registry restart, see below).
3274 Moved some initialization code to the method
3275 spi_atk_bridge_get_registry, below.
3276 (spi_atk_bridge_get_registry):
3277 New, private accessor function for the Accessibility_Registry
3278 instance. If the registry has not been started before, or has
3279 died (as detected by failure of a CORBA exception), it is
3280 restarted before return, and spi_atk_bridge_register_application
3281 is called again to register with the new bridge instance.
3282 (spi_atk_emit_eventv):
3283 Set registry_died on error; use spi_atk_bridge_get_registry () to
3284 access the registry.
3286 * registryd/registry.c:
3287 (impl_accessibility_registry_register_global_event_listener):
3288 Set listener's event_type_quark to etype.minor instead of
3289 etype.major (fix for bug 84856).
3291 * test/event-listener-test.c:
3292 (report_detail_event):
3293 Change the output string so that user/tester can tell that the
3294 'detail listener' was called instead of the 'generic listener'.
3296 2002-06-18 Bill Haneman <bill.haneman@sun.com>
3298 Fixes for bugs 84900, 84908, 84897, 84898.
3303 Revved version to 1.1.0
3304 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
3305 version is going to HEAD which will be used for gnome-2-0-1 and later.)
3307 * idl/Accessibility_Registry.idl:
3308 (EventListener::notifyEvent):
3309 Removed 'oneway' directive after extensive consulation with
3310 ORBit2 team and others. This means also that unref() of the event
3311 source can and should be done synchronously after emission, rather
3312 than remotely in the client, after servicing the notify call on
3315 NOTE: This change speeds up listener performance considerably, but
3316 introduces new latency on the application side. We may want to
3317 add an event queue to the atk-bridge.
3319 * atk-bridge/bridge.c:
3320 (spi_atk_bridge_focus_tracker):
3321 Do a local unref() on the event source after emission.
3323 * registryd/registry.c:
3324 (desktop_remove_application):
3325 Do an unref() on the event source after emission.
3326 (desktop_add_application):
3327 Do an unref() on the event source after emission.
3328 (notify_listeners_cb):
3329 When relaying an event, don't automatically add the event source
3330 to the local object cache, just CORBA_dup it instead. Likewise,
3331 if this method reenters, release the ref rather than calling
3333 (impl_registry_notify_event):
3334 No longer call remote unref() on the event source after dispatch.
3336 * libspi/eventlistener.c:
3337 (impl_accessible_event_notify_event):
3338 Removed remote unref ()
3340 * cspi/bonobo/cspi-bonobo-listener.c:
3342 We now call cspi_object_new() instead of cspi_object_add() on
3343 receipt of an event; thus we only have an implicit object ref
3344 while the cspi_event method is being executed. If we need to keep
3345 a reference to the object, the listener must call ref() on the
3346 object. Thus also we don't need to call cspi_object_unref() after
3347 invoking the listener callbacks in this method.
3351 New internal API for creating a new cspi object, without adding it
3352 to the object cache.
3354 Now uses cspi_object_new() to create the cspi object instance.
3356 Now checks to see if the object is in the internal object cache,
3357 and adds it if necessary before incrementing its refcount (note
3358 that new objects are added with a refcount of 1).
3359 (report_leaked_ref):
3360 New method which gives some information on leaked object instances
3361 if leak detection is turned on.
3363 * test/event-listener-test.c:
3364 (timing_test_event):
3365 New method, used for testing event delivery timing for special
3366 events of type "object:test". It reports elapsed time and
3367 events/sec every 500 events.
3369 Added a new listener, 'test listener', to check timing of event
3370 receipt as noted above.
3372 Added some timing output here also, reports elapsed time every 100
3375 * test/stress-test.c:
3376 Emit events of type "object:test", for use with "event-listener-test".
3378 * test/test-simple.c:
3379 (global_listener_cb):
3380 Call Accessible_ref() on the event source before calling
3381 validate_accessible, since the validation process does pointer
3382 comparisons on the event source, meaning that the event source
3383 needs to be added to the local object cache first. Any use of
3384 such pointer comparisons between Accessible objects requires that
3385 the caller hold an explicit reference to those objects.
3386 We also must therefore call Accessible_unref() when leaving this method.
3388 2002-06-13 Bill Haneman <bill.haneman@sun.com>
3390 * registryd/deviceeventcontroller.c:
3391 (spi_controller_update_key_grabs):
3392 Fix for #84735, subsequent keygrab listeners not informed of
3393 registration failure.
3396 (spi_base_construct):
3397 Add an assertion on construct, to make sure the GObject passed in
3398 is really a GObject.
3400 Explicitly initialize object->gobj pointer to NULL;
3402 * cspi/bonobo/cspi-bonobo-listener.c:
3403 (cspi_object_add_ref):
3404 New method, can specify whether to dup-ref a bonobo object passed
3405 in if it's newly added to the object cache.
3407 Now calls cspi_object_add_ref with second param of "FALSE". This
3408 prevents us from doing a pointless dup-ref followed by
3409 release-unref for all those cases where the object is already in
3410 our object cache (fix for #85205).
3412 * atk-bridge/bridge.c:
3413 (spi_atk_bridge_idle_init):
3414 Removed this method, we don't need to initialize in an idle
3417 Changed to call spi_atk_register_event_listeners directly, not via an
3418 idle handler. (fix for #81139)
3419 (gnome_accessibility_module_shutdown):
3420 Removed conditional around deregistration of listeners, since we
3421 don't use the idle handler and thus have always registered when
3423 (spi_init_keystroke_from_atk_key_event):
3424 Changed references to Accessibility_KEY_PRESSED to
3425 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
3427 2002-06-12 Bill Haneman <bill.haneman@sun.com>
3429 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
3434 * test/stress-test.c:
3437 (may have been an incomplete commit yesterday?)
3439 2002-06-12 Bill Haneman <bill.haneman@sun.com>
3442 Added target for new stress-test.
3444 * test/stress-test.c:
3445 New test, sends 1000 focus notifies in quick succession.
3447 * test/key-listener-test.c:
3448 Now we report whether a keylistener registration
3449 request succeeded or failed.
3451 * test/event-listener-test.c:
3452 Uncommented some listeners which are now implemented.
3455 2002-06-06 Bill Haneman <bill.haneman@sun.com>
3457 * registryd/deviceeventcontroller.c:
3458 (spi_controller_update_key_grabs):
3459 Fix for #82509, lack of failure notification when
3460 ALL_WINDOWS keygrabs fail due to XGrabKey
3461 failure: we synchronize the server when
3462 registering a passive grab, to make sure we get the
3463 error message before the call returns.
3465 2002-06-03 Bill Haneman <bill.haneman@sun.com>
3467 * test/test-simple.c:
3469 Removed #ifdef KEY_IMPL_WORKS guards.
3470 (test_keylisteners):
3471 Removed #ifdef KEY_IMPL_WORKS guards.
3472 Fixed bug which was causing a hang waiting for a
3473 "press" event (which was already overwritten by a "release"
3474 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
3476 Added code to set globals 'key_press_received' and
3477 'key_release_received'.
3480 Added section "1.1 API Proposed Additions" which
3481 lists API additions desired for at-spi-1.1 (only one so far).
3482 Updated TODO list a little.
3484 2002-06-02 Bill Haneman <bill.haneman@sun.com>
3486 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
3489 * configure.in: Revved to 1.0.0.
3491 * idl/Accessibility_Registry.idl:
3492 (registerKeystrokeListener):
3493 Added boolean return value.
3495 * registryd/registry.c:
3496 (notify_listeners_cb): Minor fix to debug output.
3498 * registryd/Accessibility_Registry.server.in.in:
3499 Revved version number in OAFIID to 1.0.
3501 * registryd/registryd.c:
3503 Use new OAFIID version.
3505 * cspi/bonobo/cspi-bonobo.c:
3507 Use new OAFIID version.
3513 * atk-bridge/bridge.c:
3515 Use new OAFIID version.
3517 * registryd/deviceeventcontroller.c:
3518 (impl_register_keystroke_listener):
3519 Added CORBA_boolean return value.
3520 (spi_controller_register_device_listener):
3521 Added gboolean return value.
3522 (spi_controller_register_global_keygrabs):
3523 Added gboolean return value.
3524 (spi_key_set_contains_key):
3525 Added implementation for many more control keys,
3526 for instance F1-F12, arrow keys, End, Home, Page_Up,
3528 [TODO: some still not implemented].
3530 * text/screen-review-test.c:
3531 (text_chunk_pad_string):
3532 New function: it provides mapping between coordinate
3533 positions of text chunks and character positions in the
3534 screen-review-line output string.
3535 (text_chunk_to_string):
3536 New function, calls text_chunk_pad_string with various
3537 pad/delimiter characters. Pushbuttons are delimited with
3538 square brackets, Frames with vertical 'pipe' lines, and
3539 other text with double quotes.
3540 (text_chunk_list_to_string):
3541 Calls new function text_chunk_to_string.
3542 (toplevel_composite):
3543 New function to composite layers CANVAS through
3544 POPUP in each toplevel (other layers are composited
3545 across toplevels, i.e. BACKGROUND and OVERLAY).
3546 (review_buffer_composite):
3547 Revise to use new methods.
3553 2002-05-31 Laszlo Peter <laca@sun.com>
3555 * configure.in: add the Xtst libdir to the runpath on Solaris,
3556 since it's not in the default library search path.
3558 2002-05-29 jacob berkman <jacob@ximian.com>
3560 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
3562 2002-05-29 Bill Haneman <bill.haneman@sun.com>
3564 * test/screen-review-test.c:
3565 (text_chunk_pad_string):
3566 Added method, which pads the string according to the
3567 text bounds of the chunk. It also takes a 3-character
3568 string as a param which indicates the characters to be
3569 used for start, padding, and end delimitation of the chunk.
3570 (text_chunk_to_string):
3571 Changed to use text_chunk_pad_string.
3573 * configure.in: Fixed bug in AC_OUTPUT that was
3574 causing path substitution in Accessibility_Registry.server
3577 2002-05-23 Bill Haneman <bill.haneman@sun.com>
3579 * text/screen-review-test.c:
3580 (guess_string_clip):
3581 New method which attempts a best-guess at clipping
3582 text from components (like Java labels) which don't
3583 actually implement AccessibleText. This inaccurate
3584 clip is based on the assumption that the label is
3585 justified left-and-right, and monospaced.
3586 (text_chunk_get_clipped_string):
3587 We now call guess_string_clip() for text-containing
3588 components that don't implement AccessibleText.
3590 * test/screen-review-test.c:
3591 (review_buffer_get_text_chunk):
3592 We now pull "name" from labels if they do not implement
3593 AccessibleText (i.e. for Java labels).
3594 (get_screen_review_line_at):
3595 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
3598 Replaceded AC_OUTPUT target
3599 registryd/Accessibility_Registry.server with
3600 registryd/Accessibility_Registry.server.in.
3602 * registryd/Accessibility_Registry.server.in:
3603 Removed (this is now a Makefile target).
3605 * registryd/Accessibility_Registry.server.in.in:
3606 Added (source for target above). We now use $(libexecdir) as
3607 prefix for the executable at-spi-registryd.
3609 * registry/Makefile.am:
3610 Now install at-spi-registryd into $(libexecdir), and build .server
3611 file with path (see above).
3613 2002-05-22 Bill Haneman <bill.haneman@sun.com>
3615 * test/screen-review-test.c:
3616 (text_chunk_get_clipped_string):
3617 We now check to see if words fall within clip bounds
3618 before resorting to character-by-character clip bounds testing.
3620 * TODO: Added a section for "2.2 Proposed API Additions".
3622 2002-05-21 Bill Haneman <bill.haneman@sun.com>
3624 * test/screen-review-test.c:
3626 Added a screen review benchmarking and test program to test
3629 * cspi/spi_accessible.c:
3631 Made some of the debug strings passed to cspi_check_ev a
3632 little more specific.
3634 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
3636 * test/screen-review-test.c: Fix crashes in debug statements
3638 2002-05-20 Bill Haneman <bill.haneman@sun.com>
3640 * test/screen-review-test.c: Added this file.
3642 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
3644 * atk-bridge/bridge.c: changed "object:state-change" to
3645 "object:state-changed" to match docs.
3647 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
3649 * atk-bridge/bridge.c: Hooked up state-change event details.
3651 2002-05-11 Bill Haneman <bill.haneman@sun.com>
3653 * registryd/registry.c:
3654 Fixed quarking bug in event string parsing; now events with
3655 detail parameters get matched correctly to listeners.
3658 * util/idl/Magnifier.idl: remove.
3660 * util/*.[ch]: Remove.
3661 Magnification utilities and IDL are now in module gnome-mag.
3663 2002-05-10 Bill Haneman <bill.haneman@sun.com>
3665 * registryd/deviceeventcontroller.c:
3666 Fixed bug in grab key conversion which was causing keycode grabs
3667 to be converted to AnyKey grabs.
3670 updated NEWS file to reflect recent spin-off of gnome-mag.
3672 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
3674 * cspi/spi_accessible.c: Added exception checks. Fixed completely
3675 busted AccessibleStateSet_compare. Removed redundant casts.
3677 * cspi/spi-action.c: Removed redundant casts.
3679 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
3681 * cspi/spi_component.c: Fixed typos and casting error.
3683 * cspi/spi_editabletext.c: Removed redundant casts.
3685 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
3687 * cspi/spi_hypertext.c: Eliminated redundant casts.
3689 * cspi/spi_image.c: Eliminated redundant casts.
3691 * cspi/spi_registry.c: Eliminated redundant casts.
3692 SPI_deregisterGlobalEventListenerAll () removed retval variable.
3693 * cspi/spi_selection.c: Removed redundant casts.
3694 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
3695 handling. Screen geometry and text offsets were being returned as 0
3696 on error which is technically valid-- changed these to return -1.
3697 Added marshaller for text boundary types to fix bug with boundary
3698 types being passed incorrectly to atk.
3700 2002-05-09 Bill Haneman <bill.haneman@sun.com>
3703 * cspi/spi_registry.c:
3704 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
3705 which was uncovered by the recent key changes.
3707 2002-05-09 Bill Haneman <bill.haneman@sun.com>
3709 * test/event-listener-test.c:
3711 Added new test, "event-listener-test";
3712 this code does two things; it benchmarks traversal time
3713 for the accessible hierarchy for the first running accessible
3714 app, and it connects listeners for all supported event types.
3715 It is thus useful as an example event listener and for
3716 diagnostics/debugging of event generation.
3718 2002-05-08 Bill Haneman <bill.haneman@sun.com>
3721 Removed unnecessary dependency on libutil.
3724 Revved micro version: 0.13.1
3726 2002-05-08 Bill Haneman <bill.haneman@sun.com>
3729 Removed util/Makefile from targets.
3732 Removed util subdir from SUBDIRS (temporarily,
3733 pending removal of magnifier-only code
3737 #ifdef-ed out magnifier dependencies, since
3738 magnifier IDL, headers, and binary now live in
3739 module gnome-mag and we don't want at-spi to depend
3740 on gnome-mag. A magnifier demo which can run alongside
3741 simple-at is forthcoming in the gnome-mag module.
3743 NOTE: Split magnifier binary, IDL, and magnification
3744 activation code from at-spi into module gnome-mag.
3746 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
3748 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
3749 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
3751 2002-05-03 Bill Haneman <bill.haneman@sun.com>
3754 Revved to version 0.13.0
3756 * idl/Accessibility_Registry.idl:
3757 Changed definition of KeySet from sequence of longs to sequence of
3758 KeyDefinitions, and added KeyDefinition struct.
3759 Required for fix to bug 80616.
3761 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
3762 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
3763 to use new definition (see above).
3765 * registryd/deviceeventcontroller.c: handle_keygrab(),
3766 spi_keyset_contains_key():
3767 Changed to make use of new struct; this allows matching based on
3768 string key-name, for instance "Tab". This also allows matching of
3769 composed characters, non-alphanumeric characters in a way that
3770 doesn't involve dependencies on X keysym codes directly, etc.
3772 * test/key-listener-test.c:
3773 Added test for Alt-Tab key using "string" specification of keyset,
3774 and modified one of the tests to use a keycode-based keyset.
3775 Thus this test both tests and demonstrates the creation and use of
3776 keysets of three forms: specified via keycode array,
3777 keysym array, and string array. (The string case only contains a
3778 single string, i.e. a string array of length 1).
3781 Turned on PRINT_TREE option by default. Also fixed a
3782 string-freeing bug in the PRINT_TREE code.
3783 Added a listener to window:minimize events.
3785 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
3787 * atk-bridge/bridge.c:
3788 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
3789 for window:activate and window:deactiveate
3790 (atk_bridge_property_event_listener atk_bridge_signal_listener
3791 atk_bridge_window_event_listener) Tidy debug code
3793 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
3795 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
3796 Fixed handling for NULL return value from ATK.
3798 * libspi/action.c libspi/component.c libspi/editabletext.
3799 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
3800 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
3801 Removed redundant casts.
3803 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
3804 Fixed off by one bug.
3806 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
3807 function not present in idl)
3809 2002-05-02 jacob berkman <jacob@ximian.com>
3811 * atk-bridge/Makefile.am: make atk-bridge a real module
3813 2002-04-26 Radek Doulik <rodo@ximian.com>
3815 * libspi/stateset.c (spi_init_state_type_tables): fix size of
3816 atk_state_types table
3818 2002-04-22 jacob berkman <jacob@ximian.com>
3821 * libspi/Makefile.am: add deps on the built files to help
3822 automake, and don't version the ORBit typelib
3824 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
3826 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
3827 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
3828 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
3829 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
3830 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
3831 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
3832 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
3833 libspi/accessible.h libspi/accessible.h libspi/base.h
3834 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
3835 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
3836 libspi/relation.h libspi/remoteobject.h libspi/selection.h
3837 libspi/spi-private.h libspi/statetset.h libspi/table.h
3838 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
3839 util/mag_client.h util/mag_control.c util/mag_image.c
3840 util/mag_image.h util/magnifier.c util/magnifier.h:
3841 Add missing file headers; standardize existing ones
3843 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
3845 * atk-bridge/bridge.c: Added window event support.
3847 2002-04-18 Michael Meeks <michael@ximian.com>
3849 * libspi/relation.c (impl_getNTargets): impl.
3850 (impl_getTarget): impl.
3852 * libspi/Makefile.am: fix stateset install.
3854 2002-04-17 Bill Haneman <bill.haneman@sun.com>
3857 Started putting useful info in this file.
3859 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
3861 * atk-bridge/bridge.c:
3862 Propagate state-changed notifications to ATs
3864 * cspi/spi_registry.c: update docs to reflect actual behavior of
3865 state-change events.
3867 2002-04-17 Bill Haneman <bill.haneman@sun.com>
3870 Incremented version to 0.12.1
3872 * util/mag_client.h:
3873 Add missing declaration for magnifier_exit,
3874 used by mag_control.c - Forte compiler didn't like
3875 the implicit redeclaration of the function :-(
3878 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3881 Revved version to 0.12 due to API change (see below).
3883 * cspi/spi-roletypes.h:
3884 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
3885 definition from the inline docs, and added docs
3886 for SPI_ROLE_LAST_DEFINED.
3889 * cspi/spi_streamablecontent.c:
3890 Added missing seek_type parameter to
3891 (so far unused) method,
3892 AccessibleStreamableContent_seek().
3893 [ RT approval JodyG. ]
3896 Fixed docs for SPI_createAccessibleKeystrokeListener.
3898 * cspi/spi_registry.c:
3899 Fixed docs for SPI_KEYSET_ALL_KEYS.
3901 * docs/reference/cspi/at-spi-cspi-sections.txt:
3902 Added a number of missing APIs to SECTIONS.
3904 2002-04-16 Bill Haneman <bill.haneman@sun.com>
3906 * registryd/Makefile.am:
3908 * cspi/bonobo/Makefile.am:
3909 Add $(X_LIBS) to makefiles.
3911 2002-04-15 Bill Haneman <bill.haneman@sun.com>
3914 Revved version to 0.11.
3916 * libspi/component.c:
3917 Added implementation for grabFocus.
3919 * idl/Accessibility_Component.idl
3920 (Accessibility_Component_grabFocus):
3921 Made this method return boolean to indicate success or failure, to
3922 be consistent with cspi and the corresponding ATK method.
3924 * idl/Accessibility_Selection.idl
3925 (Accessibility_Selection_selectAll) :
3926 Made these methods return boolean to indicate success or
3927 failure, to be consistent with cspi and the corresponding ATK methods.
3929 * idl/Accessibility_EditableText.idl
3930 (Accessibility_EditableText_setTextContents,
3931 Accessibility_EditableText_insertText,
3932 Accessibility_EditableText_cutText,
3933 Accessibility_EditableText_deleteText,
3934 Accessibility_EditableText_pasteText):
3935 Made these methods return boolean to indicate
3938 * cspi/spi_editabletext.c:
3939 Made these methods return booleans.
3941 * libspi/selection.c:
3942 * libspi/component.c:
3943 * libspi/editabletext.c:
3944 Connected the boolean returns from ATK
3945 to the server-side code referenced above.
3947 2002-04-14 Bill Haneman <bill.haneman@sun.com>
3949 * idl/Accessibility_Table.idl: Added missing methods,
3950 Accessibility_Table_addRowSelection,
3951 Accessibility_Table_addColumnSelection,
3952 Accessibility_Table_removeRowSelection,
3953 Accessibility_Table_removeColumnSelection.
3956 Added C wrappers for above IDL:
3957 AccessibleTable_addRowSelection,
3958 AccessibleTable_addColumnSelection,
3959 AccessibleTable_removeRowSelection,
3960 AccessibleTable_removeColumnSelection.
3963 Added server-side implementation code for IDL above, connecting
3964 to pre-existing ATK api.
3966 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
3968 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
3970 * libspi/accessible.c: Added implementation fo
3971 Accessibility_Accessible_get_state.
3973 * libspi/libspi.h: Added stateset.h to the list of includes.
3975 * libspi/stateset.c: Fixed broken implementation.
3977 2002-04-13 Bill Haneman <bill.haneman@sun.com>
3980 Added implementation code for Accessibility_Magnifier_exit ().
3982 * util/mag_control.c:
3983 Added test code for above method; you can
3984 now kill an existing magnifier via
3985 ./mag_control q, from the util directory.
3987 * test/key-listener-test.c:
3989 Added a new test, for our key listener API.
3991 2002-04-11 Bill Haneman <bill.haneman@sun.com>
3993 * test/app.c, test/keysynth-demo.c:
3995 Replace use of snprintf with g_snprintf.
3996 (fix for bugzilla 78249)
3998 2002-03-27 Michael Meeks <michael@ximian.com>
4002 * util/Makefile.am (INCLUDES): fix.
4003 (DONT_DIST_SOURCE): don't distribute the
4006 * libspi/Makefile.am (dist-hook): ditto.
4008 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
4010 * libspi/hypertext.c:
4011 Fix warnings when yelp is used with atk-bridge
4013 2002-03-21 Michael Meeks <michael@ximian.com>
4015 * libspi/application.c (spi_application_new):
4016 use spi_accessible_construct so we use the AtkObject
4019 2002-03-19 Michael Meeks <michael@ximian.com>
4021 * registryd/registry.c (desktop_remove_application),
4022 (desktop_add_application): clean coding style.
4024 * registryd/desktop.c (spi_desktop_remove_application),
4025 (spi_desktop_add_application): kill re-enterency hazards.
4026 (spi_desktop_dispose): remove bogus redundant cast
4027 obscuring bug; fix bug too.
4028 (spi_desktop_init): make the desktop object immortal.
4030 2002-03-16 Bill Haneman <bill.haneman@sun.com>
4033 Added a #define-guarded tree-traversal step
4034 when enumerating the apps (diagnostic tool).
4036 2002-03-15 Bill Haneman <bill.haneman@sun.com>
4038 * idl/Accessibility_Role.idl:
4039 Added ROLE_DRAWING_AREA which seemed to be missing from the
4042 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4044 * cspi/spi-roletypes.h cspi/spi_accessible.c
4045 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
4048 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
4049 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
4050 AT when applications are added and removed from the desktop. This
4051 reverts the previous broken implementation using the backing
4052 AtkObject for the SpiDesktop.
4054 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4056 * registryd/desktop.c: emit the "children-changed::add" and
4057 "children-changed::remove" signals on the backing ATK object for
4058 the desktop so AT can tell when applications are started and shut
4061 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4063 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
4065 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
4067 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
4069 * cspi/spi_accessible.c: Implemented c bindings for stateset support
4071 * cspi/state-types.h: synched with IDL and ATK
4073 2002-03-13 Bill Haneman <bill.haneman@sun.com>
4075 * libspi/accessible.c
4076 (impl_accessibility_accessible_get_child_at_index):
4077 Change return value for g_return_if_fail ()
4078 to CORBA_OBJECT_NIL instead of "0" (!)
4080 * registryd/Makefile.am:
4081 * registryd/Accessibility_Register.server.in:
4082 Changed name of executable, "registryd",
4083 to something more informative:
4086 2002-03-13 Michael Meeks <michael@ximian.com>
4088 * atk-bridge/bridge.c (atk_bridge_init): don't register
4089 if we're in a bonobo-component, rather than a bonobo app.
4091 2002-03-13 Michael Meeks <michael@ximian.com>
4093 * atk-bridge/bridge.c (gtk_module_init): split
4094 out body to (atk_bridge_init): here, since otherwise
4095 we get symbol conflicts and oddness when invoked
4096 from (gnome_accessibility_module_init): here (upd.)
4098 2002-03-11 Bill Haneman <bill.haneman@sun.com>
4101 New file. Explicitly allow "build sheriff" putbacks provided
4102 they are tested on Solaris.
4104 * docs/reference/cspi/Makefile.am:
4105 Added '-' to the "cp" command for index.sgml.
4106 ("patch by thomasvs, soon coming to a GUADEC near you")
4109 Incremented version number (0.9.0) for new release.
4110 Changed macro that checks for popt, to better detect
4111 obsolete versions of popt.
4114 Added X_LIBS to AC_SUBST, for applications
4115 that call Xlib API directly.
4118 2002-03-07 Bill Haneman <bill.haneman@sun.com>
4121 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
4124 Fix regression caused by hard-coding major
4125 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
4128 * test/test-simple.c (test_editable_text),
4129 (test_test): revert previous change (error was
4130 a regression in gail which is now fixed).
4132 2002-03-04 Michael Meeks <michael@ximian.com>
4134 * test/test-simple.c (test_editable_text),
4135 (test_text): pass G_MAXINT instead of '-1' for
4136 whole string - is this a good thing !?
4138 * cspi/spi_accessible.c
4139 (Accessible_getRelationSet): fix crasher bug
4140 overwriting the end of the array.
4142 * test/test-simple.c (validate_accessible): free,
4143 not g_free returned relation set.
4145 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
4147 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
4148 implemented stateset support
4150 * idl/Accessibility_State.idl: Made necessary changes to
4151 the IDL to support state sets.
4153 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4155 * registryd/deviceeventcontroller.c:
4156 Added implementation for generateMouseEvent.
4158 * cspi/spi_registry.c:
4159 Connected new implementation for generateMouseEvent
4162 2002-02-12 Bill Haneman <bill.haneman@sun.com>
4165 Incremented revision (but no change in public API
4166 outside of 'utils', which are not installed public yet.)
4168 * libspi/component.c:
4169 Changed to use atk_component API for layers and
4170 mdi_zorder, instead of deprecated atk_object API.
4172 Magnification Utility Enhancements:
4175 Added implementation of createZoomRegion, clearAllZoomRegions,
4176 resizeZoomRegion. Added new commandline argument
4177 "--no-initial-region". Note that clearAllZoomRegions doesn't
4178 unmap the old '0' region as it should (yet), and the other
4179 methods only work when creating/resizing a single region,
4180 which is "region 0".
4181 (Code for multiple region support will be added later.)
4184 Now we raise the magnifier window each time it's refreshed;
4185 this will help keep it on top.
4187 * util/mag_client.h:
4188 Added simple wrappers for above, used by mag_control.
4189 For general use, it's recommended to use the bonobo magnifier
4190 control API directly instead of using these wrappers.
4193 Moved ZoomRegionData from magnifier.c to this file.
4195 * util/mag_control.c:
4196 Added some code to exercise new IDL implementations.
4198 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
4200 * libspi/text.c: Provide implementation for getAttributes.
4202 2002-02-04 Bill Haneman <bill.haneman@sun.com>
4205 Incremented revision.
4207 * test/test-simple.c:
4208 Replaced use of deprecated g_main_iteration with
4209 g_main_context_iteration.
4211 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
4214 Incremented revision for desktop alpha 2.
4216 2002-01-28 Mark McLoughlin <mark@skynet.ie>
4218 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
4221 * test/simple-at.c: include netinet/in.h.
4223 2002-01-24 Mark McLoughlin <mark@skynet.ie>
4225 * cspi/spi_accessible.c: (Accessible_getRelationSet):
4226 use NULL, not CORBA_OBJECT_NIL.
4228 * libspi/accessible.c:
4229 (impl_accessibility_accessible_get_relation_set):
4230 allocate the sequence correctly.
4232 * libspi/remoteobject.h: kill spi_remote_object_new.
4234 * test/test-simple.c: (validate_accessible): add code
4235 to test relation sets, now all we need is to figure
4236 out how to excercise this code path :/
4238 2002-01-18 Michael Meeks <michael@ximian.com>
4240 * test/test-simple.c
4241 (key_listener_cb): consume the key.
4242 (test_keylisteners): update.
4243 (main): wait for any pending unrefs on events.
4245 * registryd/deviceeventcontroller.c
4246 (spi_controller_update_key_grabs): only re-issue the
4247 grab on a key release.
4248 (spi_device_event_controller_forward_key_event):
4249 refresh the keygrabs before we notify the listeners,
4250 to reduce the X ungrab / re-grab race.
4251 (spi_controller_register_with_devices): remove
4252 XSelectInput - we do that with the gdk_window_ call.
4253 (_spi_controller_device_error_handler): return a value.
4254 s/GDK_DISPLAY/spi_get_display/
4256 2002-01-17 Michael Meeks <michael@ximian.com>
4258 * registryd/deviceeventcontroller.c
4259 (_deregister_keygrab): don't blow out the later
4262 * test/test-simple.c (test_keylisteners): do a
4263 more intelligent validation.
4265 2002-01-14 Michael Meeks <michael@ximian.com>
4267 * atk-bridge/bridge.c
4268 (gnome_accessibility_module_init),
4269 (gnome_accessibility_module_shutdown): impl.
4270 (gtk_module_init): protect vs. double inits.
4271 (add_signal_listener): impl.
4272 (spi_atk_bridge_state_event_listener): kill
4273 (deregister_application): split out of
4274 (spi_atk_bridge_exit_func): here.
4276 2002-01-18 Bill Haneman <bill.haneman@sun.com>
4279 Added caret tracking when using magnifier, and
4280 now use text bounds for focus tracking of text elements, rather than
4281 the component bounds - this is helpful for short text fields in long
4282 table cells, at high magnification.
4284 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4286 * registryd/deviceeventcontroller.c:
4287 Regression fix for keylistener de-registration; global keygrabs
4288 were not being released when deregisterKeystrokeListener was
4289 called in cspi, since
4290 Accessibility_DeviceEventController_deregisterKeystrokeListener
4291 was called with a zero-length keyset. That is because the cspi
4292 method, SPI_deregisterKeystrokeListener, does not take a keyset
4293 parameter but instead should remove all the key grabs held be a
4295 The code in impl_deregister_keystroke_listener was changed to copy
4296 the keylist from the listener instance previously registered with
4297 the DeviceEventController before releasing the grabs.
4299 * registryd/registry.c:
4300 * registryd/deviceeventcontroller.c:
4301 * libspi/spi-private.h:
4303 Changed spelling of "re-enterant" to "re-entrant" globally.
4305 2002-01-16 Bill Haneman <bill.haneman@sun.com>
4307 * test/test-simple.c:
4308 Changed key listeners test - the test was slightly mis-using the
4309 (admittedly poorly documented) SPI_generateKeyboardEvent API.
4310 It now uses '=' as the key event listened to and generated,
4311 relying on a keysym match rather than assuming that keycode 33
4312 is always equal to keysym '!'.
4314 2002-01-15 Bill Haneman <bill.haneman@sun.com>
4317 Changed simple-at to use a specific keyset, rather than
4318 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
4319 manager, desktop, etc.
4321 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4323 * registryd/deviceeventcontroller.c:
4324 Replaced standard X error handler with a special handler that
4325 is non-fatal for failed keygrabs. This works around
4326 problems with keygrab clashes sometimes observed on
4328 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
4329 mouse handling code as yet).
4331 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4334 Incremented revision for desktop alpha release.
4337 Fixed a couple of the more glaring errors (still not
4340 2002-01-11 Michael Meeks <michael@ximian.com>
4342 * registryd/deviceeventcontroller.c
4343 (spi_device_event_controller_forward_key_event): kill
4344 XUngrabKey / XKeyGrab race.
4345 (spi_controller_grab_keyboard): rename to
4346 (spi_controller_update_key_grabs): this, and deal
4347 with incremental adding / removing grabs more
4349 (_register_keygrab): ensure we're not pending a remove.
4350 (spi_grab_mask_free): impl.
4351 (spi_controller_register_global_keygrabs): split out
4353 (handle_keygrab): impl.
4354 (_deregister_keygrab): impl.
4355 (spi_controller_deregister_global_keygrabs): impl.
4356 (spi_controller_update_key_grabs): re-issue the grab if
4357 we just recieved a notification.
4359 * test/test-simple.c (key_listener_cb): remove debug.
4361 * registryd/deviceeventcontroller.c
4362 (spi_controller_register_device_listener): after
4363 registering a global keygrab, actualy register it !
4364 don't wait for a timeout; doh !
4366 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
4367 to make it more readable / manipulable.
4368 s/grabmask/grab_mask/ s/refcount/ref_count/
4369 s/keyval/key_val/ s/modmask/mod_mask
4371 2002-01-08 Michael Meeks <michael@ximian.com>
4373 * registryd/deviceeventcontroller.c
4374 (spi_controller_register_with_devices): use gdk calls to
4376 (global_filter_fn): implement the filter.
4377 (spi_device_event_controller_check_key_event): rename to
4378 (spi_device_event_controller_forward_key_event): this & upd.
4379 (spi_get_display): replace with GDK_DISPLAY.
4381 * registryd/deviceeventcontroller.c
4382 (spi_controller_deregister_device_listener): unroll into
4383 (impl_deregister_keystroke_listener): here to simplify.
4384 (spi_controller_register_global_keygrabs): split cut and
4385 paste (!) out into (_register_keygrab): here, shorter & sweeter.
4386 (spi_controller_deregister_device_listener): remove.
4387 (impl_register_mouse_listener): remove, no mouse listener
4388 support in at-spi-1.0
4390 * registryd/registry.c
4391 (_device_event_controller_hook): kill.
4392 (spi_registry_init): upd.
4394 * registryd/deviceeventcontroller.c
4395 (spi_device_event_controller_class_init): upd.
4396 (spi_check_key_event): merge into.
4397 (spi_device_event_controller_check_key_event):
4398 here and kill strange static ev init, don't leak
4399 the x_event - nor dynamicaly allocate it.
4401 * registryd/registry-main.c (main): re-direct
4402 timeout to remove strange vtable mess.
4404 * registryd/deviceeventcontroller.c
4405 (remove_listener_cb): impl.
4406 (spi_controller_deregister_device_listener):
4407 fix re-enterancy hazard.
4409 2002-01-07 Michael Meeks <michael@ximian.com>
4411 * registryd/deviceeventcontroller.c
4412 (spi_device_event_controller_new): upd.
4413 (impl_notify_listeners_sync): upd. debug.
4414 (spi_notify_keylisteners): fix re-enterancy hazards,
4415 prettify, remove O(n*n) iteration.
4416 (spi_controller_grab_keyboard): fix iteration.
4417 (spi_check_key_event): re-format to suit coding style.
4418 Clean all the warnings - we're warning free.
4420 * registryd/deviceeventcontroller.h:
4421 * registryd/registry.h: make mutualy referential with
4422 typesafe forward references instead of (!) void pointer
4425 2002-01-11 Michael Meeks <michael@ximian.com>
4427 * cspi/spi_accessible.c (role_names): add a role name
4428 to sync this array with the enum; and make the regression
4431 2002-01-10 Michael Meeks <michael@ximian.com>
4433 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
4434 allow expansion of enumeration & kill warning.
4436 * test/test-simple.c (key_listener_cb): impl.
4437 (test_keylisteners): impl.
4439 * cspi/spi-listener.h: make listener signatures const
4440 on the provided (const) events.
4442 * test/keysynth-demo.c: upd. to const events.
4444 * test/simple-at.c: ditto.
4446 2002-01-11 Bill Haneman <bill.haneman@sun.com>
4449 Rev the version to 0.5 (the previous tarball was named 0.4,
4450 even though the micro number was 3), so we need to rev upwards
4451 again for beta2/"desktop-alpha"
4454 Checked in a demo script, which requires editing before use!
4455 Proceed with caution.
4458 Fixed typo in header which was redefining SPI_ACTION_CLASS.
4460 * cspi/spi_accessible.c:
4461 Add a couple of missing enum initializations, and fix some enum
4464 * cspi/spi_registry.c:
4465 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
4467 * docs/reference/cspi/at-spi-cspi-sections.txt:
4468 Remove/fix a couple of broken document references.
4471 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
4472 as Alt-Control to listen for commands, since on some systems
4473 Control-Alt may already be grabbed.
4475 2002-01-10 Bill Haneman <bill.haneman@sun.com>
4478 Update version number to 0.4 for Beta2.
4480 * libspi/accessible.c, libspi/accessible.h:
4481 Expose spi_accessible_construct, to enable libgail-gnome
4482 construction from spi_accessible subtype.
4484 * utils/magnifier.c:
4485 Workaround for bug in some non-gnome-compliant window managers
4486 which made magnifier resize improperly.
4488 2002-01-09 Bill Haneman <bill.haneman@sun.com>
4490 * libspi/accessible.c: (spi_accessible_new) :
4491 Move the test for SPI_IS_REMOTE_OBJECT to
4492 spi_accessible_new_return, fixing a bug and compile time warning.
4494 2002-01-08 Michael Meeks <michael@ximian.com>
4496 * registryd/registry.c (parse_event_type): remove strndup.
4498 * libspi/Makefile.am (libspi_la_SOURCES): remove
4499 sources already included in the headers section.
4501 * libspi/util.c: add.
4503 * libspi/spi-private.h: add.
4505 * registryd/registry.c: update to moved list iterators.
4507 2002-01-05 Michael Meeks <michael@ximian.com>
4509 * test/simple-at.c (main): upd. auto-module set to atk-bridge
4511 * test/test-simple.c (main): ditto.
4513 2002-01-04 Michael Meeks <michael@ximian.com>
4515 * libspi/accessible.c (spi_accessible_new): remove 2nd,
4516 redundant construct.
4518 * registryd/registry.c
4519 (get_listener_list): impl.
4520 (impl_accessibility_registry_register_global_event_listener):
4521 re-impl. to simplify using ~, remove dodgy const cast off.
4522 (parse_event_type): constify.
4523 (impl_accessibility_registry_deregister_global_event_listener_all):
4524 re-write, more efficiency and simplicity, kill re-enterancy
4526 (compare_listener_corbaref, compare_corba_objects),
4527 (compare_listener_quarks): define out.
4528 (impl_accessibility_registry_deregister_global_event_listener):
4529 re-write for effiency, and nail re-enterancy hazard.
4530 (impl_accessibility_registry_get_desktop_list): impl.
4531 (re_enterant_list_delete_link): impl.
4532 (re_enterant_list_foreach): impl.
4533 (remove_listener_cb): impl.
4534 (_registry_notify_listeners): kill.
4535 (notify_listeners_cb): impl.
4537 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
4538 (SPI_getDesktopList): impl.
4540 * test/test-simple.c (test_desktop): test the methods.
4542 2002-01-03 Michael Meeks <michael@ximian.com>
4544 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
4545 keystrings since we free them
4546 (SPI_freeAccessibleKeySet): in here.
4548 * libspi/accessible.c (spi_accessible_new): kill warning,
4549 wonder what is going on with the constructor here.
4551 2002-03-01 Bill Haneman <bill.haneman@sun.com>
4553 * libspi/accessible.c (spi_accessible_new ()) :
4554 Added check to see if AtkObject is an SpiRemoteObject before
4555 creating an SpiAccessible.
4557 2002-05-01 Bill Haneman <bill.haneman@sun.com>
4559 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
4560 Enable keygrabs using the Control modifier, now that they are
4561 working properly (they were previously disabled).
4564 Change the command keygrab for this demo to "Control+Alt", so as
4565 to conflict with fewer other key commands on the system; this
4566 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
4568 Removed a pointlessly-chatty keylistener for unshifted keys
4569 (shifted keys are still reported).
4571 2002-02-01 Bill Haneman <bill.haneman@sun.com>
4573 * libspi/remoteobject.h:
4574 * libspi/remoteobject.c:
4575 Added definitions for special AtkObject subtype, required for
4576 support of remote components (specifically, used by BonoboControl
4577 accessibility implementation).
4579 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
4581 * cspi/spi.h: synched relation types with ATK
4583 * cspi/spi_accessible.c: Added implementations of
4584 AcccessibleRelation_* methods
4586 * idl/Accessibility_Relation.idl: added getRelationTypeName
4587 method. Synched known relation types with ATK. Allowed for
4588 relation type extension with the RELATION_EXTENDED type.
4590 * libspi/relation.c: Provided implementations for
4591 AccessibleRelation methods.
4593 2002-01-01 Bill Haneman <bill.haneman@sun.com>
4595 API tweaks for today's API 'freeze'.
4598 Added placeholder functions to allow future compatible expansion
4599 of the IDL interfaces.
4601 * idl/Accessibility_Registry.idl:
4602 Changed generateKeyEvent to generateKeyboardEvent. Changed
4603 signature of this method to accept an optional keystring in
4604 parameter (for complex text input synthesis) and changed use of
4605 simple 'boolean' parameter in registerKeystrokeListener to a
4606 struct, EventListenerMode.
4608 * cspi/spi_accessible.c:
4610 * cspi/spi_streamablecontent.c:
4611 Added references to AccessibleStreamableContent interface, and
4612 definition and implementation of AccessibleStreamableContent
4615 * cspi/spi_registry.c:
4617 Changed generateKeyEvent API to generateKeyboardEvent,
4618 taking a new (optional) keystring parameter to support complex
4623 Renamed directory (to better reflect its actual purpose, bridging
4624 from at-spi to ATK). The .so module is also now named
4627 * idl/Accessibility_Hypertext.idl:
4628 * libspi/accessible.c:
4629 * libspi/hypertext.h:
4630 * libspi/hypertext.c:
4631 Changed Accessibility_Hypertext to *not* derive from
4634 * cspi/spi_registry.c:
4635 Added list of legal event type names for 'window' events, which
4636 completes the registry event API.
4638 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
4640 * at-bridge/bridge.c: Added registration for separate
4641 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
4642 signals. If either of the first two parameters to the generic
4643 bridge signal handler are ints, they are passed on as event
4644 details. This allows an AT to determine what text was inserted.
4646 2001-12-21 Bill Haneman <bill.haneman@sun.com>
4648 * registryd/deviceeventcontroller.c:
4649 Fixed regressions in generateKeyEvent caused by the removal of
4650 gdk_init from registryd; we now use pure X calls to connect to the
4651 display, which makes sense because deviceeventcontroller already
4652 uses a fair bit of X API (should eventually be migrated to a
4653 'portability layer').
4655 * registryd/desktop.c:
4656 Fixed minor regression in spi_desktop_init, changed the way the
4657 desktop name is being set to work with new spi_base API
4658 (gobject-based, rather than AtkObject-based).
4660 * registryd/Makefile.am:
4661 Minor revision of makefile to use XTST_LIBS variable rather than
4662 hard-wiring the Xtst LD_ADD element.
4664 * test/keysynth-demo.c:
4665 Tweaked an output message; added initialization of the
4666 'keystrings' member of the "switch listener" key_set.
4668 * libspi/relation.c:
4669 Squashed compile-time warning.
4671 * libspi/accessible.c:
4672 Cosmetic and formatting fixes, renamed a static method.
4674 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
4676 * libspi/accessible.c
4678 * libspi/application.c
4681 * libspi/component.c
4682 * libspi/editabletext.c
4683 * libspi/hyperlink.c
4684 * libspi/hypertext.c
4686 * libspi/selection.c
4690 * registryd/desktop.c:
4691 Changed SpiBase to contain a GObject pointer rather than an AtkObject
4693 2001-12-17 Bill Haneman <bill.haneman@sun.com>
4695 * idl/Accessibility_Registry.idl:
4696 Added boolean member 'is_text' to DeviceEvent. This is for the
4697 use of key events, and helps prevent ambiguity between composed
4698 key strings and keysym names, since both may potentially be
4699 returned in the 'event_string' member.
4701 * at-bridge/bridge.c:
4702 * registryd/deviceeventcontroller.c:
4703 Use the 'is_text' member when notifying device event listeners.
4704 Knon issue: composed characters are not dealt with correctly by
4705 the global key listener implementation yet.
4707 2001-12-17 Bill Haneman <bill.haneman@sun.com>
4709 * at-bridge/bridge.c:
4710 Namespaced local static methods to spi_atk_bridge_* where
4711 previously named bridge_*, and spi_* elsewhere.
4713 * at-bridge/bridge.c:
4714 * cspi/bonobo/cspi-bonobo-listener.c:
4715 Added demarshalling/conversion for string member of
4716 Accessibility_DeviceEvent to AccessibleKeystroke.
4718 * registryd/deviceeventcontroller.c:
4719 Added code to fill the Accessibility_DeviceEvent key string value
4720 member for global key events (i.e. from XGrabKey), to match
4721 behavior of Accessibility_DeviceEvent from the toolkit key events
4722 from the bridge. Fixed timestamp in global key event notifications.
4725 Added printout of key event's string value to
4726 report_ordinary_key_event, for demo/debugging purposes.
4728 2001-12-15 Bill Haneman <bill.haneman@sun.com>
4730 * idl/Accessibility_Registry.idl:
4731 Removed Accessibility_KeyStroke structure in favor of generic
4732 Accessibility_DeviceEvent structure.
4733 Changed Accessibility_ControllerEventMask from a struct to an
4736 * at-bridge/bridge.c:
4737 Changed APIs to use DeviceEvent structure as above, and removed
4738 bogus casting between these event structures.
4740 * cspi/spi-listener.h:
4741 Added keystring member of AccessibleKeystroke structure, to enable
4742 matching on event "names" rather than only hardware codes and
4746 Added keystrings member of AccessibleKeySet struct, to allow
4747 matching on event names (as above).
4748 Added declarations for SPI_createAccessibleKeySet and
4749 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
4750 event modmasks directly as unsigned ints rather than structs with
4751 refcounts, in the DeviceEventController methods.
4753 * cspi/spi_registry.c:
4754 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
4756 * cspi/spi-roletypes.h:
4757 Added documentation of newly added SPI Roles.
4759 * cspi/bonobo/cspi-bonobo-listener.c:
4760 Changes in support of API changes above.
4762 * libspi/accessible.c:
4763 Converted APIs to use DeviceEvent structure (see IDL changes
4766 * registryd/deviceeventcontroller.c:
4767 Added DEControllerGrabMask structure to track keygrabs not only by
4768 modmask but by keyset as well; this allows us to do "global"
4769 (i.e. X) keygrabs on a per-key or keyset basis rather than always
4770 grabbing on AnyKey and then filtering after-the-fact.
4771 Bugfixes for event filtration mean that we don't get false matches
4772 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
4774 * registryd/deviceeventcontroller.c:
4775 Namespaced a number of static methods to use spi_ prefix. Major
4776 revision to internals of global (i.e. X) key grabs.
4778 * registryd/deviceeventcontroller.h:
4779 Removed keymask_list and added keygrabs_list to
4780 SpiDeviceEventController struct.
4783 Added use of SPI_createAccessibleKeySet API when creating a
4784 listener for only one key. Attach a listener to "shift spacebar
4785 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
4786 X key event names to SPI key event names, so that listeners are
4787 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
4789 * test/keysynth-demo.c:
4790 Changed (incorrect) use of X key event names (KeyPressed,
4791 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
4794 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4796 * libspi/accessible.c:
4797 Convert all AtkRole enumerations to Accessibility_Role enums when
4798 getting a role from an AtkObject.
4800 * cspi/spi_accessible.c:
4801 Complete the conversion of Accessibility_Role enums at runtime to
4802 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
4803 role enums correctly match those given in spi-roletypes.h.
4804 Re-synchronize the local names list for AccessibleRole_getName ().
4805 AccessibleRole_getName is now deprecated, since it duplicates the
4806 more reliable Accessible_getRoleName.
4807 Added some role types from Accessibility_Role.idl.
4809 * idl/Accessibility_Role.idl:
4810 Added some role types used by AtkRole.
4812 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4815 * cspi/spi_registry.c:
4817 * cspi/cspi-bonobo-listener.c:
4818 Namespaced all methods that did not begin with an "SPI_" or
4819 "Accessible" prefix to "SPI_".
4822 Homogenized internal function namespace to "cspi_" for statics.
4825 Patched tests to use the new CSPI API.
4827 * docs/reference/cspi/at-spi-cspi-sections.txt:
4828 Updated docs to reflect namespace changes, and added a number of
4829 methods to the documentation.
4831 * registryd/registry.c:
4832 Changed use of strings and string hashes in listener event
4833 matching and parse_event_string to use GQuark, which is guaranteed
4836 * registryd/registry.h:
4837 Squashed annoying warning.
4839 * idl/Accessibility_Role.idl:
4840 Extended range of available Accessibility_Role values.
4842 * cspi/spi_accessible.c:
4843 Re-ordered role names.
4845 2001-12-12 Bill Haneman <bill.haneman@sun.com>
4847 * idl/Accessibility_Value.idl:
4848 Revert use of union back to CORBA_double, since the double type is
4849 more efficient and can contain the other types without loss of
4852 * idl/Accessibility_Accessible.idl:
4853 Added method Accessibility:Accessible:getRoleName, to complement
4854 Accessibility:Accessible:getRole.
4856 * cspi/spi_accessible.c:
4858 Added C binding for above, Accessible_getRoleName (), and changed
4859 signature of Accessible_getRole () to return an AccessibleRole.
4861 * cspi/spi-roletypes.h:
4862 Changed AccessibleRole_getName to return a char * instead of a
4863 const char *. This method is now at least temporarily deprecated
4864 in favor of asking Accessibles for their RoleNames directly.
4867 Revert to match Accessibility_Value.idl;
4871 Change signature of AccessibleValue methods to use double rather
4875 * cspi/spi_accessible.c:
4876 Changed Accessible_getRole to return an AccessibleRole enum rather
4877 than a UTF-8 string. The UTF-8 string can still be obtained via
4878 AccessibleRole_getName ().
4880 * test/test-simple.c:
4881 Add test_action. Small fixup to match API change to Accessible_getRole.
4884 Bugfix for get_action_from_servant ().
4886 2001-12-11 Michael Meeks <michael@ximian.com>
4888 * libspi/libspi.h: remove registry.h and
4889 desktop.h, deviceeventcontroller.h
4891 * libspi/Makefile.am: remove registry.[ch],
4892 desktop.[ch], deviceeventcontroller.[ch]
4894 * registryd/Makefile.am: add registry.[ch],
4895 desktop.[ch], rename registryd.c to registry-main.c.
4896 add deviceeventcontroller.[ch]
4898 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4901 Replace setenv() call with putenv ().
4903 * libspi/component.c:
4904 Bugfix in AccessibleComponent_getExtents (),
4907 2001-12-11 Michael Meeks <michael@ximian.com>
4909 * libspi/image.c (impl_getImageExtents): impl.
4910 (spi_image_class_init): upd.
4913 (AccessibleImage_getImageDescription): fix daft bug
4916 * test/test-simple.c (global_listener_cb): update
4917 to only quit if not --poke
4918 (main): catch --poke.
4919 (validate_accessible): upd. dumping, call test_image
4922 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
4925 * idl/Accessibility.idl: update all IDL includes.
4927 * idl/*.idl - rename to namespace - this sucks, blame
4928 mjs' bad decision for oafd.
4930 * test/test-simple.c (create_test_window): add more tests.
4931 (create_tree): split this out.
4932 (validate_accessible): bugfix.
4934 2001-12-11 Michael Meeks <michael@ximian.com>
4936 * cspi/bonobo/cspi-bonobo-listener.c:
4937 (cspi_kestroke_listener_unref),
4938 (cspi_event_listener_unref): impl. undoing previous
4939 homenous environment - for Bill.
4941 * cspi/spi_table.c (long_seq_to_array): use
4944 * cspi/spi_main.c: split out all bonoboish bits into
4947 * cspi/spi-impl.h: upd. typedefs.
4949 * cspi/spi_registry.c: update to lowlevel API,
4950 return booleans to indicate success in some places.
4952 * cspi/spi_event.c: update to lowlevel API.
4954 * cspi/bonobo/Makefile.am: add.
4956 * cspi/bonobo/cspi-lowlevel.h: add
4958 * cspi/bonobo/cspi-bonobo.c: add
4960 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
4962 * cspi/Makefile.am: remove spi-listener-impl.[ch],
4963 (SUBDIRS): add bonobo, link in the libs.
4965 * cspi/spi-util.c: kill this file.
4967 * TODO: merge in my bits.
4969 2001-12-11 Michael Meeks <michael@ximian.com>
4971 * test/test-simple.c (test_value, test_table, main):
4972 remove unused variables causing warnings.
4974 * configure.in: cleanup checks - require gail.
4976 2001-12-11 Bill Haneman <bill.haneman@sun.com>
4979 Changed Value interface to use SValue (scalars) rather than
4980 assuming all values are floats. This allows floats, doubles,
4981 longs, shorts, and unsigned values to be manipulated.
4982 Introduced Accessibility:SValue union.
4985 Updated to use new API above, and to work correctly with GValues
4986 of different types in AtkValue.
4989 Updated to use new API above. cspi's API is as yet unchanged.
4992 Updated the Value revision action item.
4994 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4996 * test/test-simple.c:
4997 Added test_table (GtkTreeView widget in test window to follow).
4998 Un-commented test_value, added GtkRange widget.
4999 Added GtkTreeView widget with GtkListStore. It passes regression
5000 test but leaks one SPI object for some reason.
5003 Fixed bug in impl__set_currentValue.
5005 2001-12-10 Michael Meeks <michael@ximian.com>
5007 * cspi/spi_text.c: audit for exception handling,
5008 tolerating NULL object references safely etc.
5010 * cspi/spi_value.c: ditto.
5012 * cspi/spi_table.c (AccessibleTable_getSummary),
5013 (AccessibleTable_getAccessibleAt),
5014 (AccessibleTable_getRowHeader),
5015 (AccessibleTable_getColumnHeader),
5016 (AccessibleTable_getCaption): fix bugs hidden by
5018 (long_seq_to_array): impl.
5019 (AccessibleTable_getSelectedRows),
5020 (AccessibleTable_getSelectedColumns): use it.
5022 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5025 Added a TODO list (rough and short for now).
5027 * cspi/spi_hyperlink.c:
5028 * cspi/spi_hypertext.c:
5029 Fixed macro name typos, and remove use of obsolete macro in
5030 AccessibleHyperlink_getLink.
5032 * cspi/spi_action.c:
5033 * cspi/spi_accessible.c:
5034 * cspi/spi_application.c:
5035 * cspi/spi_component.c:
5036 * cspi/spi_selection.c:
5039 Documentation fixes (removed return values from ref/unref methods).
5041 2001-12-10 Michael Meeks <michael@ximian.com>
5043 * cspi/spi_action.c: audit for exception handling,
5044 tolerating NULL object references safely etc.
5046 * cspi/spi_accessible.c: ditto.
5048 * cspi/spi_component.c: ditto.
5050 * cspi/spi_editabletext.c: ditto.
5052 * cspi/spi_hyperlink.c: ditto.
5054 * cspi/spi_hypertext.c: ditto.
5056 * cspi/spi_image.c: ditto.
5058 * cspi/spi_selection.c: ditto.
5060 2001-12-10 Michael Meeks <michael@ximian.com>
5062 * configure.in: use cspi/libspi.pc.in instead.
5064 * Makefile.am (pkgconfig_DATA): upd. to match.
5066 * test/simple-at.c (report_focus_event): kill hacks around
5067 bad return values, use putenv not setenv
5069 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
5070 fire ChildGone - I killed it.
5072 * libspi/component.c
5073 (impl_accessibility_component_get_extents): remove
5076 * idl/Accessible.idl: kill ChildGone exception.
5078 * cspi/*.[ch]: kill int return from ref / unref.
5080 * cspi/spi_main.c (cspi_object_add_check): fold into
5081 (cspi_object_add): here.
5083 * cspi/spi_component.c (AccessibleComponent_getExtents):
5084 handle exceptions elegantly.
5086 * cspi/spi-private.h (cspi_check_ev_return),
5087 (cspi_return_if_fail): impl.
5089 * cspi/spi_accessible.c: use extensively.
5090 (AccessibleStateSet_equals): add direct compare check.
5092 * cspi/spi_selection.c: tolerate NULL objs, and check
5093 exceptions before return.
5095 * cspi/spi-util.c (cspi_warn_ev): rename to
5096 (cspi_check_ev): this & don't pass ev in; no point.
5098 2001-12-10 Michael Meeks <michael@ximian.com>
5100 * test/test-simple.c: use putenv not setenv
5101 (get_environment_vars): more chatty if you're not using
5104 * test/simple-at.c: do the setenv so more people see the
5107 2001-12-10 Bill Haneman <bill.haneman@sun.com>
5109 * libspi/registry.c:
5110 Changed check of CORBA_environment on notification to be a warning
5111 instead of an error for the moment, since we can recover from this
5112 error when caused by a queued notification from a dead app.
5115 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
5116 used by all current implementors of AtkValue), and coerce to
5117 CORBA_float. (Proper general case fix may require change to Value.idl).
5119 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5123 * cspi/spi_accessible.c:
5124 Documentation fixes: added user_data params to documentation for
5125 listeners and callbacks.
5127 * cspi/spi_accessible.c:
5128 Changed AccessibleStateSet_compare to return a
5129 StateSet rather than return the difference set into a third parameter.
5132 2001-12-09 Bill Haneman <bill.haneman@sun.com>
5135 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
5136 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
5140 Remove subdirectory po from SUBDIRS for now.
5142 * at-bridge/bridge.c:
5143 Beefed up a couple of debug printouts.
5144 One-line fix for signal notification name formatting.
5146 * libspi/accessible.c:
5147 Added assertion to spi_accessible_new ().
5149 * libspi/application.c:
5150 Put #ifdef qualifiers around a printf.
5153 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
5155 * registryd/Makefile.am:
5157 Replaces use of XML_I18N_MERGE_SERVER_RULE with
5158 INTLTOOL_SERVER_RULE macro.
5161 Added an event listener for several ATK signals, for
5162 testing and debugging. Removed a few g_warnings.
5163 Added test output if focussed item implements the Value interface.
5165 * test/test-simple.c:
5166 Added test_value () function (known not to pass at the moment, so
5167 not actually called yet.
5169 2001-12-08 Michael Meeks <michael@ximian.com>
5171 * at-bridge/bridge.c (bridge_focus_tracker),
5172 (emit_eventv): fix the same ref. leak.
5173 (register_atk_event_listeners): don't leak.
5175 * cspi/spi-listener-impl.c (cspi_event): more
5176 protection from client code.
5178 * test/test-simple.c (test_desktop): unref the app.
5180 * test/Makefile.am: upd. TESTS.
5182 * at-bridge/bridge.c (bridge_exit_func): release the registry.
5184 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
5186 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
5188 * cspi/spi_registry.c: constify in strings.
5189 (deregisterGlobalEventListenerAll): don't release the ref.
5191 * cspi/spi.h: start removing redundant / conflicting
5192 gtkdoc comments, making the API readable at a glance :-)
5194 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
5196 * test/keysynth-demo.c (keysynth_exit, main): upd.
5198 * test/simple-at.c (main, simple_at_exit): upd.
5200 * test/test-simple.c (unutterable_horror): kill.
5201 (utterable_normal_derefs): kill.
5202 (main): upd & do a setenv before gtk_init, so that we
5203 can use memprof - and to save the pain of remembering
5204 this, if we're running under memprof - don't exit.
5206 * cspi/spi_main.c (SPI_exit): return exit status
5208 (SPI_event_quit): impl.
5209 (SPI_event_main): simplify.
5210 (cspi_is_gnome_app): kill.
5211 (SPI_init): kill isGNOMEapp arg.
5213 * at-bridge/bridge.c (register_atk_event_listeners):
5214 re-instate the unref.
5215 (bridge_exit_func): don't re-activate the registry,
5216 protect vs. theoretical re-entry, use the
5217 AT_BRIDGE_SHUTDOWN env. var to determine whether to
5218 assert a clean shutdown - for regression tests.
5220 2001-12-08 Abel Cheung <maddog@linux.org.hk>
5222 * configure.in: Comment out dummy i18n support for now,
5223 otherwise it fails to build.
5224 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
5225 EXTRA_DIST. They are missing in tarball.
5227 2001-12-07 Michael Meeks <michael@ximian.com>
5229 * util/magnifier.c: kill bonobo activation reg. race.
5231 * libspi/component.c
5232 (impl_accessibility_component_get_extents): make it match
5235 * libspi/registry.c (_registry_notify_listeners):
5236 re-remove X headers & reconcile conflicts.
5237 (spi_listener_struct_free): bad conflict resolve.
5238 (impl_accessibility_registry_register_application):
5239 more bad merging fixed.
5240 (impl_accessibility_registry_deregister_application): ditto.
5241 (spi_registry_new): ditto.
5242 (spi_registry_init): don't have an applications field.
5244 [ merge fixups2 branch to here ]
5245 2001-12-07 Michael Meeks <michael@ximian.com>
5247 * test/simple-at.c (report_focus_event),
5248 (report_focussed_accessible): remove g_warning debug.
5250 2001-12-07 Michael Meeks <michael@ximian.com>
5252 * test/test-simple.c (validate_tree): comment out some checks.
5253 (test_desktop): app now not registered idly - horay.
5255 2001-12-07 Michael Meeks <michael@ximian.com>
5257 * cspi/spi_registry.c
5258 (registerAccessibleKeystrokeListener): clean, stop it leaking
5259 great swathes of memory, and device event controller references.
5260 ensure we always pass valid sequences.
5261 (deregisterAccessibleKeystrokeListener): ditto.
5262 (generateKeyEvent): upd.
5264 * at-bridge/bridge.c (bridge_key_listener): handle
5265 registry dead exception gracefully.
5266 (bridge_focus_tracker, emit_eventv): free ev.
5268 * test/simple-at.c (report_focus_event): fix polarity.
5270 * libspi/application.c (notify_listeners): kill the ev
5271 argument, and make sure we init the ev we use.
5272 (spi_application_object_event_listener): split out a chunk
5273 (get_atk_object_ref): here & fixup.
5274 (reverse_lookup_name_for_toolkit_event): make const.
5275 (spi_application_toolkit_event_listener): fixup, kill leaks
5278 * at-bridge/bridge.c (register_atk_event_listeners):
5279 don't unref the noop object - causes grief.
5281 * libspi/registry.c: remove the X headers.
5282 turn off the debug churn.
5284 * libspi/accessible.c (spi_accessible_new_return): only
5285 release the ref if we are supposed to [doh]
5287 * test/simple-at.c (report_button_press, report_focus_event):
5288 guard vs. unexpected exit.
5290 * at-bridge/bridge.c (gtk_module_init): prune printf.
5291 (bridge_exit_func): fix app unref.
5293 * libspi/Makefile.am: don't install registry or desktop.h
5295 * libspi/*.h: update includes.
5297 * libspi/application.h: don't include ourself, or
5298 other redundant headers.
5300 2001-12-06 Michael Meeks <michael@ximian.com>
5302 * libspi/accessible.c
5303 (get_accessible_from_servant): impl.
5304 Upd. all CORBA impl.s to use it killing cut and paste.
5306 * cspi/spi_main.c (cspi_cleanup): guard vs. double
5308 (SPI_init): register atexit cleanup handler here.
5310 2001-12-06 Michael Meeks <michael@ximian.com>
5312 * at-bridge/bridge.c (gtk_module_init): g_error on
5313 activation exception
5315 2001-12-06 Michael Meeks <michael@ximian.com>
5317 * at-bridge/bridge.c (gtk_module_init): some sort of
5318 confusing merge clash - reverted.
5319 (bridge_idle_init): ditto.
5321 * test/test-simple.c (main, utterable_normal_derefs):
5322 merge from Bill - somehow not committed.
5324 2001-12-06 Michael Meeks <michael@ximian.com>
5326 * libspi/value.c (spi_value_class_init): upd.
5327 (spi_value_finalize): kill.
5329 * libspi/table.c (spi_table_finalize): kill.
5330 (spi_table_interface_new): upd.
5331 (spi_table_class_init): upd.
5332 (get_table_from_servant): impl.
5333 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5335 * libspi/selection.c (spi_selection_finalize): kill.
5336 (spi_selection_interface_new): upd.
5337 (spi_selection_class_init): upd.
5338 (get_selection_from_servant): impl.
5339 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5341 * libspi/relation.c (spi_relation_finalize): kill.
5342 (spi_relation_class_init, spi_relation_new): upd
5344 * libspi/image.c (spi_image_finalize): kill.
5345 (spi_image_class_init): upd.
5346 (spi_image_interface_new): upd.
5347 (get_image_from_servant): impl.
5348 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5350 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
5351 (spi_hyperlink_finalize): kill.
5352 (spi_hyperlink_new): upd.
5353 (get_hyperlink_from_servant): impl.
5354 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5356 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
5357 (spi_hypertext_finalize): kill.
5358 (spi_hypertext_class_init): upd.
5359 (get_hypertext_from_servant): impl.
5360 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5362 * libspi/editabletext.c (spi_editable_text_finalize): kill.
5363 (spi_editable_text_interface_new): upd.
5364 (get_editable_text_from_servant): impl.
5365 Upd. all CORBA impl.s to use it killing yet more cut and paste.
5367 * libspi/text.c (get_text_from_servant): impl.
5368 All impls - update to use it killing more cut and paste,
5369 also fix bad string returns on duff args ( a somewhat
5370 impossible case to handle - but hey ).
5371 (spi_text_construct): impl.
5372 (spi_text_interface_new): upd.
5373 (spi_text_object_finalize): kill.
5375 * libspi/component.c
5376 (accessibility_component_object_finalize): kill.
5377 (spi_component_class_init): upd.
5378 (get_component_from_servant): impl. helper to kill cut & paste.
5379 (impl_accessibility_component_contains):
5380 (impl_accessibility_component_get_accessible_at_point):
5381 (impl_accessibility_component_get_position):
5382 (impl_accessibility_component_get_extents):
5383 (impl_accessibility_component_get_mdi_z_order):
5384 (impl_accessibility_component_get_layer):
5385 (spi_component_interface_new): upd.
5387 * libspi/action.c (spi_action_finalize): kill.
5388 (spi_action_class_init): upd. inherit from SpiObject.
5389 (spi_action_interface_new): upd.
5390 (get_action_from_servant): impl. helper to reduce cut & paste.
5391 (impl_getKeyBinding, impl_getName, impl_doAction),
5392 (impl_getDescription): Use it everywhere.
5394 * cspi/spi_main.c (get_live_refs): a pointer hash.
5395 (spi_object_hash, spi_object_equal): comment out.
5396 There are issues with CORBA object hashing that need
5399 * libspi/application.c (spi_application_init),
5400 (spi_application_new): upd.
5402 * libspi/accessible.c (spi_accessible_object_finalize): kill.
5403 (spi_accessible_class_init): upd.
5404 s/accessible/object/ in epv methods.
5406 2001-12-05 Bill Haneman <bill.haneman@sun.com>
5408 * at-bridge/bridge.c:
5409 Reorder the bridge initialization into the bridge gtk_module_init,
5410 an immediate call to bridge_register_app, and an idle_add for
5411 register_atk_event_listeners (the only code that *must* wait until
5412 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
5413 the activation, creates the application's Accessible object, and
5414 queues the bridge_idle_init function. Restored call to
5415 Accessibility_Registry_deregisterApplication().
5416 Prior to making this call we obtain a new reference to the
5417 registry, which is a temporary hack that helps us handle apps that
5418 shut down the bonobo mainloop before we get there.
5420 * libspi/registry.c:
5421 Fix string leakage in debug block, and don't segv if a an app
5422 dies before its event notifications have been propagated.
5425 Modify cspi_check_ev() to call g_warning() rather than g_error(),
5426 as stopgap measure until we get proper exception handling when
5427 objects die during or before interrogation.
5431 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
5432 Also changed default value of is_gnome_app to TRUE.
5435 * test/keysynth-demo.c:
5436 Changed use of SPI_init and SPI_event_main to reflect API change above.
5439 Made report_focus_event check the warning value from getName
5440 before reporting on focussed accessible; simplifies handling of
5441 notifications from dead objects.
5443 * test/test-simple.c: (Changes not in this patch since source is
5446 2001-12-05 Michael Meeks <michael@ximian.com>
5448 * registryd/registryd.c (main): protect against
5449 bonobo-activation startup race condition.
5451 * cspi/spi_main.c (cspi_object_add_check): cope
5452 with the exception elegantly.
5454 * idl/Accessible.idl: decl. ChildGone
5456 * libspi/desktop.c (spi_desktop_dispose): impl.
5457 (spi_desktop_class_init): upd.
5458 (spi_desktop_add_application),
5459 (spi_desktop_remove_application),
5460 (abnormal_application_termination): impl.
5461 (impl_desktop_get_child_at_index): re-impl.
5464 (impl_accessibility_registry_deregister_application),
5465 (impl_accessibility_registry_register_application):
5466 kill excessive debug clutter.
5468 * test/test-simple.c (test_misc): test some NULL
5469 tolerance. (main): upd.
5471 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
5472 implements no interfaces - so let's not crash.
5474 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
5476 * libspi/accessible.c (spi_accessible_new_return): impl.
5477 helper to calm the cut and paste, to cope with
5478 NULL AtkObjects effectively and efficiently, and to kill
5479 the referencing bugs.
5481 * libspi/table.c (impl_getAccessibleAt),
5482 (impl_getRowHeader, impl_getColumnHeader): upd.
5484 * libspi/hyperlink.c (impl_getObject): upd.
5486 * libspi/accessible.c
5487 (impl_accessibility_accessible_get_child_at_index): upd.
5489 * libspi/component.c
5490 (impl_accessibility_component_get_accessible_at_point): upd.
5492 * test/test-simple.c (test_editable_text, test_text): impl.
5495 * cspi/spi_editabletext.c
5496 (AccessibleEditableText_insertText): constify.
5498 * test/test-simple.c (focus_me): make more robust.
5500 * libspi/accessible.c: remove some printfs in methods that
5501 we test and work fine, so we can get a clean tree dump.
5503 * test/test-simple.c (validate_accessible),
5504 (validate_tree): make tree dumping pretty too.
5506 * at-bridge/bridge.c (bridge_signal_listener): upd. so
5507 it builds without debug on.
5509 * test/test-simple.c (validate_accessible): fix the most
5512 * cspi/spi_main.c (spi_object_release): leave the nicely
5513 blanked memory around if in debug mode.
5515 * cspi/spi-listener-impl.c (cspi_event): use add_check.
5517 [committed to fixups2]
5518 2001-12-05 Michael Meeks <michael@ximian.com>
5520 * libspi/editabletext.c
5521 (spi_editable_text_class_init): g_type_class_peek_parent,
5522 not interface peek - so we finalize cleanly.
5524 * libspi/accessible.c (spi_accessible_new): kill debug.
5526 * test/test-simple.c (validate_accessible): fix ref.
5527 leak, print strings before freeing them; sigh, comment a
5528 chunk out due to strangeness.
5529 (validate_tree): unref the child after use.
5531 * cspi/spi_component.c (AccessibleComponent_getLayer):
5532 add missing break statement, switch on zlayer not the
5533 uninitialized retval.
5535 * cspi/spi_main.c (cspi_object_add): add assert, local ref
5536 before (possibly re-entering) remote unref.
5538 * test/simple-at.c (main): unref the desktop.
5540 * cspi/spi_accessible.c (cspi_accessible_is_a): move
5543 * cspi/spi_main.c (cspi_accessible_is_a): here to
5544 isolate bonobo API usage more.
5546 * libspi/registry.c (impl_accessibility_registry_register_application):
5547 prune bogus comment.
5549 2001-12-04 Michael Meeks <michael@ximian.com>
5551 * test/test-simple.c (validate_tree): upd.
5552 IndexInParent check to make it more lucid.
5553 (validate_accessible): dump the tree.
5555 * libspi/accessible.c (de_register_public_ref),
5556 (get_public_refs): impl.
5557 (spi_accessible_new): make more efficient & intuitive.
5558 Now IndexInParent check works.
5560 2001-12-04 Michael Meeks <michael@ximian.com>
5562 * cspi/spi-util.h: remove.
5564 * cspi/spi.h: move SPI_freeString here
5566 * libspi/component.c (impl_accessibility_component_get_layer):
5568 (impl_accessibility_component_get_mdi_z_order): ditto,
5569 return -1 on error - is this ok ?
5571 * test/test-simple.c (test_application): impl.
5573 * cspi/spi_accessible.c (Accessible_getApplication),
5574 (Accessible_isApplication): impl.
5576 * libspi/registry.c (spi_listener_struct_free): release
5577 the CORBA reference too.
5579 * libspi/accessible.c
5580 (impl_accessibility_accessible_get_parent): fix ref leak.
5582 * libspi/registry.c (spi_registry_new): make the registry
5583 immortal - we don't want it to go away ever.
5585 * libspi/application.c
5586 (spi_accessible_application_finalize): impl. cleanup.
5588 * cspi/spi_registry.c
5589 (deregisterGlobalEventListenerAll),
5590 (deregisterGlobalEventListener),
5591 (deregisterAccessibleKeystrokeListener): fix ref leak.
5593 * cspi/spi_main.c (SPI_init): remove redundant ref.
5595 * test/test-simple.c (unutterable_horror): impl. to force a
5600 (impl_accessibility_registry_deregister_application): release
5601 the application when we de-register it.
5603 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
5604 until we have the infastructure to get it right.
5606 2001-12-03 Michael Meeks <michael@ximian.com>
5608 * libspi/Makefile.am: only build eventlistener.[ch]
5610 * libspi/accessible.c
5611 (impl_accessibility_accessible_get_child_at_index): don't leak.
5613 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
5614 before we hit the idle handler.
5616 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
5617 debugging than exit.
5619 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
5621 * libspi/listener.c (impl_notify_event): check source
5622 not NIL before unref.
5624 * libspi/registry.c (impl_registry_notify_event): ditto.
5626 * libspi/eventlistener.c
5627 (impl_accessible_event_notify_event): unref the source.
5629 * libspi/accessibleeventlistener.c
5630 (impl_accessible_event_notify_event): unref the source.
5632 * idl/Event.idl: remove 'hash_id' attribute - of no
5635 * libspi/application.c (notify_listeners): upd list
5637 (spi_application_object_event_listener),
5638 (spi_application_toolkit_event_listener): upd to do correct
5642 (_registry_notify_listeners): update.
5643 (parse_event_type): this method also leaks like a sieve.
5644 (impl_accessibility_registry_deregister_global_event_listener):
5645 fix ETYPE_WINDOW case.
5647 * libspi/application.c
5648 (impl_accessibility_application_register_object_event_listener):
5651 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
5653 * libspi/hypertext.c (impl_getLink): ditto.
5655 * cspi/spi_main.c (cspi_object_add): remove
5656 bogus CORBA_Object_duplicate.
5658 * cspi/spi-listener-impl.c (cspi_event): dup/ref
5661 * cspi/spi_accessible.c
5662 (Accessible_getRelationSet): fix leak / referencing issue.
5664 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
5665 (cspi_object_add, cspi_object_unref): upd.
5666 (spi_object_release, get_live_refs): impl.
5667 (cspi_cleanup): simplify.
5669 * *.[ch]: s/boolean/SpiBoolean/
5671 * cspi/spi_accessible.c (role_names): actualy order so it
5672 corresponds with the enum !
5674 * test/test-simple.c (test_roles): check some role strings
5675 vs. enums to detect offset errors.
5677 2001-12-01 Michael Meeks <michael@ximian.com>
5679 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
5681 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
5683 (Accessible_getChildAtIndex): use cspi_add_check so we
5684 check the ev before using a (possibly) invalid value.
5686 * libspi/accessible.c
5687 (impl_accessibility_accessible_get_parent): don't segv
5690 * at-bridge/bridge.c (gtk_module_init): upd.
5691 (bridge_property_event_listener): don't leak strings
5693 (bridge_state_event_listener),
5694 (bridge_property_event_listener): don't use a static
5695 buffer in case of recursive event emission &
5696 re-enterancy - split out the swathe of cut and paste
5698 (emit_eventv): and fix 2 ref leaks here & comply to the
5700 (bridge_register_app): rename to
5701 (bridge_idle_init): this and kill arg parsing, split
5702 various inits & bonobo-activation registration to module
5703 init time, kill referencing error.
5704 (bridge_exit_func): fix the same leak.
5705 (bridge_focus_tracker): don't leak event structures
5707 (bridge_signal_listener): more leakage and cut & paste
5709 (bridge_key_listener): return the result - FIXME is
5710 this polarity correct ?
5711 (accessibility_keystroke_from_atk_key_event): rename
5712 (accessibility_init_keystroke_from_atk_key_event): and stop
5714 (gtk_module_init): return a value - not that it is checked by
5716 (bridge_key_listener): register my horror at casting between
5717 IDL defined structs.
5718 (bridge_get_registry): kill - not used.
5720 * cspi/spi_accessible.c (Accessible_getRole): make return const.
5722 * test/test-simple.c (test_roles): impl.
5723 (test_desktop, validate_accessible, validate_tree): impl.
5725 * cspi/spi_accessible.c (role_names): fixup bogus
5726 MAX_ROLES setup, make constants const for efficient linkage
5727 (AccessibleRole_getName): conform to coding style, make
5730 2001-11-30 Michael Meeks <michael@ximian.com>
5732 * cspi/spi.h: add missing prototype.
5734 * libspi/registry.c (spi_listener_struct_new): fix sig.
5736 * test/Makefile.am: add test-simple
5738 * test/test-simple.c: add
5740 * test/test.sh: add.
5742 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
5744 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
5745 do it straight - since otherwise we often get an activation race.
5747 [ work before Bill duplicated a chunk of it ... ]
5748 2001-11-30 Michael Meeks <michael@ximian.com>
5750 * libspi/keystrokelistener.c
5751 (spi_keystroke_listener_class_init): fixup arg
5754 * libspi/eventlistener.c
5755 (spi_event_listener_class_init): ditto.
5757 * tests/test.sh: add.
5759 * cspi/spi-listener-impl.h: update macros.
5761 * cspi/spi-listener-impl.c
5762 (cspi_event_listener_remove_callback): add
5763 correct pre-conditions.
5765 * cspi/spi_main.c (SPI_exit): guard vs. double
5766 exits, exit the mainloop nicely.
5767 (SPI_event_main): make more sense.
5768 (SPI_init): move the atexit evilness here so we
5769 always do it (yuck).
5770 (SPI_event_main): upd.
5772 * test/simple-at.c: update for listener changes.
5774 * registryd/registryd.c (main): prune kruft.
5776 * libspi/libspi.h: upd.
5778 * libspi/eventlistener.[ch]: rename broken macros.
5780 * libspi/accessibleeventlistener.[ch]: remove.
5782 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
5784 * test/test-simple.c: Add - automated tests.
5786 * cspi/spi-listener-impl.c (cspi_event),
5787 (cspi_key_event): add user_data to invoke.
5788 (cspi_keystroke_listener_finalize): impl.
5789 (cspi_keystroke_listener_class_init): upd.
5792 (createAccessibleEventListener),
5793 (AccessibleEventListener_addCallback),
5794 (createAccessibleKeystrokeListener),
5795 (AccessibleKeystrokeListener_addCallback): upd.
5797 * libspi/deviceeventcontroller.c
5798 (spi_device_event_controller_check_key_event): add public proto.
5801 (impl_accessibility_registry_deregister_global_event_listener):
5802 always init listeners.
5803 (_registry_notify_listeners): yes it is.
5805 * cspi/spi-listener-impl.c (cspi_key_event):
5807 (cspi_event_listener_finalize): impl.
5808 (cspi_event_listener_class_init): hook up.
5809 (event_handler_new, event_handler_free),
5810 (event_list_remove_by_callback): impl.
5811 (cspi_event_listener_remove_callback),
5812 (cspi_keystroke_listener_remove_callback),
5813 (cspi_keystroke_listener_add_callback),
5814 (cspi_event_listener_add_callback): upd.
5816 * libspi/keystrokelistener.c
5817 (keystroke_listener_object_finalize): kill
5818 (spi_keystroke_listener_class_init): upd.
5819 (spi_keystroke_listener_add_callback),
5820 (spi_keystroke_listener_remove_callback): kill,
5822 (impl_key_event): prune drasticaly.
5824 * libspi/eventlistener.c
5825 (spi_event_listener_add_callback),
5826 (spi_event_listener_remove_callback): kill, use
5828 (impl_accessible_event_notify_event): upd.
5829 (spi_event_listener_object_finalize): remove.
5831 * libspi/Makefile.am: use eventlistener.[ch]
5833 2001-12-04 Bill Haneman <bill.haneman@sun.com>
5835 * libspi/registry.c (_registry_notify_listeners):
5836 Changed listener loop iteration to use preferred convention.
5837 Got rid of string memory leaks caused be calling g_strconcat
5838 inside function calls.
5840 * libspi/registry.c (parse_event_type):
5841 Stopped g_strconcat memory leaks, free the g_strsplit return,
5842 g_strdup the split pieces when used, etc.
5844 2001-12-04 Bill Haneman <bill.haneman@sun.com>
5847 Change method 'compare' to return a 'difference set' rather than
5848 taking a StateSet as an out parameter (more Java-friendly).
5850 * idl/Accessible.idl:
5851 Added CORBA struct 'BoundingBox', to faciliate API changes below:
5853 * idl/Component.idl:
5855 Changed methods 'getExtents' and 'getImageExtents' in these
5856 interfaces to return a BoundingBox structure.
5857 (getPosition and getSize are redundant and possibly should be
5858 removed, rather than creating a corresponding Point struct.)
5860 * cspi/spi_component.c:
5861 Modify implementation of getExtents to reflect the above IDL
5866 Add (missing) AccessibleImage_getExtents () API.
5868 * docs/reference/cspi/at-spi-cspi-sections.txt:
5869 Added AccessibleImage_getImageExtents () to docs.
5871 2001-12-03 Bill Haneman <bill.haneman@sun.com>
5873 * idl/Component.idl:
5874 Added two methods, getLayer () and getMDIZOrder (), to reflect
5875 the new ATK methods atk_object_get_layer and
5876 atk_object_get_mdi_z_order. (Which arguably should be part of the
5877 AtkComponent API and AtkObject). Also added an enum,
5878 ComponentLayer, for the first method's return value.
5880 * libspi/component.c:
5881 Added implementations for these methods.
5883 * cspi/spi_component.c:
5885 Added cspi binding methods for above,
5886 AccessibleComponent_getLayer() and
5887 AccessibleComponent_getMDIZOrder().
5888 Added cspi enum 'AccessibleComponentLayer'.
5890 * docs/reference/cspi/at-spi-cspi-sections.txt:
5891 Added above methods to docs.
5895 Changed typedef for 'boolean' type (and all references to it) to
5896 SPIBoolean, to avoid keyword clashes with C++.
5899 Changed usages of 'boolean' to SPIBoolean.
5901 * test/keysynth-demo.c:
5902 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
5903 app), except where SPIBoolean is required by the callbacks API.
5905 2001-12-02 Bill Haneman <bill.haneman@sun.com>
5907 * cspi/spi_registry.c:
5908 Removed obsolete X event loop for passive keygrabs (which now
5911 * registryd/registryd.c:
5912 Removed unnecessary call to gdk_init() [cruft]. This also allows
5913 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
5916 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5918 * docs/reference/cspi:
5919 Included docs for SPI_freeString in generated documentation.
5922 Renamed spi_freeString to SPI_freeString, for consistency. Added
5923 documentation for this function.
5926 Renamed spi_freeString to SPI_freeString, for consistency.
5927 Removed obsolete method declaration string_from_corba_string.
5929 * test/keysynth-demo.c:
5930 Small tweak to comments.
5933 Stopped leaking the strings returned from CSPI.
5935 2001-11-28 Bill Haneman <bill.haneman@sun.com>
5937 Merged Michael's branch (see his ChangeLog entries below).
5939 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
5940 bridge is alive, release on exit.
5942 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
5943 Fix type check macro.
5946 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
5949 Added is_gnome_app static, and method cspi_is_gnome_app(),
5950 so we can call the appropriate shutdown routine at exit in SPI_exit.
5952 * cspi/spi_main.c (cspi_object_ref):
5953 Duplicate the corba object passed in, since we're keeping it around.
5955 * cspi/SPI_exit.c, cspi_cleanup:
5956 Moved the releasing of the live refs to its own function, so we
5957 can put it in g_atexit (). Call the appropriate shutdown API
5958 depending on whethe calling client is a gnome app or not
5959 (bonobo_main_quit or CORBA_ORB_shutdown).
5961 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
5962 Unref the listener when this method is called, after
5963 deregistration. Updated the API docs to note this behavior.
5965 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
5966 Bugfixes: Ref the bonobo object when returning a parent or child
5967 reference, or an AccessibleRelation. Generally made sure
5968 BonoboObject refcount is incremented whenever we return an
5971 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
5972 Fixed typo/bug in signal declaration.
5974 * libspi/accessibleeventlistener.h:
5977 * libspi/application.c (spi_application_new):
5978 Fixed leak in initialization.
5981 Remembered to increment bonobo-object refcount when returning
5982 children (applications) from desktop object.
5983 Added (empty) finalize method.
5985 * libspi/deviceeventcontroller.c:
5986 Hold a ref to listeners inside DEControllerKeyListeners.
5987 Added dec_key_listener_free() method. Use prepend instead of
5988 append in key_listener list. Fixed some refcount madness and
5989 leaks in the listener registration/deregistration - deregistration
5990 now calls dec_key_listener_free() on listeners, and on the
5991 temporarily constructed dec_key_listener() used to perform the search/match.
5993 * libspi/hypertext.c (spi_hypertest_finalize):
5994 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
5995 class. Also fixed spi_hypertext_interface_new() and
5996 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
5998 * libspi/hypertext.h:
5999 Removed pointless and duplicate AtkObject pointer from
6002 * libspi/keystrokelistener.c:
6003 Fixed incorrect type of keystroke_listener_parent_class,
6004 renamed keystroke_listener_object_finalize to
6005 spi_keystroke_listener_object_finalize.
6006 Fixed typo in signal declaration
6007 (spi_keystroke_listener_class_init).
6009 * libspi/registry.c:
6010 Added funcsions spi_listener_struct_new() and
6011 spi_listener_struct_free() to help with memory management issues.
6012 We also now use these methods instead of gnew + poking stuff into
6013 the struct, and to decrement listener counts/free the listeners
6014 when deregistering them.
6015 Fix more refcount bugs in getDesktop() and
6016 getDeviceEventController().
6019 De-ref the desktop after enumerating the applications. Explicitly
6020 decrement the refcounts on the created listeners on exit (using
6021 _unref for keystroke listeners, and via the
6022 deregisterGlobalEventListenerAll command for other event
6025 2001-11-27 Michael Meeks <michael@ximian.com>
6027 * cspi/spi-listener.h: fixup enum.
6029 2001-11-27 Michael Meeks <michael@ximian.com>
6031 * cspi/spi-listener-impl.c (cspi_event_listener_new),
6032 (cspi_keystroke_listener_new): Use the cspi variants.
6034 2001-11-26 Michael Meeks <michael@ximian.com>
6036 * test/keysynth-demo.c: fix 2 compile warnings, missing
6039 * test/simple-at.c (report_focussed_accessible),
6040 (report_focus_event, report_button_press),
6041 (check_property_change, is_command_key),
6042 (report_ordinary_key_event, report_command_key_event): upd.
6044 * util/mag_client.h: include pre-requisites.
6046 * libspi/accessibleeventlistener.c
6047 (spi_event_listener_object_finalize): free any lingering
6050 * libspi/keystrokelistener.c
6051 (keystroke_listener_object_finalize): ditto.
6053 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
6054 callbacks, with cspi types.
6056 * cspi/spi_event.c (createAccessibleEventListener): chain to
6057 (AccessibleEventListener_addCallback): here.
6058 (createAccessibleKeystrokeListener): chain to
6059 (AccessibleKeystrokeListener_addCallback): here.
6061 * libspi/keystrokelistener.c
6062 (spi_keystroke_listener_class_init): add signal.
6063 (impl_key_event): emit the event.
6064 (boolean_handled_accumulator): impl.
6065 (marshal_BOOLEAN__POINTER): add, gack.
6067 * libspi/accessibleeventlistener.c
6068 (spi_event_listener_class_init): add signal.
6069 (impl_accessible_event_notify_event): emit the signal &
6070 make the loop efficient.
6071 (spi_event_listener_add_callback): prepend the callback.
6073 * libspi/accessibleeventlistener.h: add an 'event' signal,
6074 decl type on callback.
6076 * libspi/keystrokelistener.h: ditto.
6078 * cspi/spi-listener.h: make methods typesafe and
6079 make them use the new event typedefs.
6081 * test/simple-at.c (report_focussed_accessible):
6082 include mag_client.h
6083 Use *(void *)text_interface not the other thing.
6085 * configure.in: add gtk to registryd bits - since we use
6088 * util/magnifier.c: include libbonobo.h
6090 2001-11-25 Bill Haneman <bill.haneman@sun.com>
6092 * test/keysynth-demo.c:
6093 Turned this into a simple scanning keyboard, to demonstrate the
6094 use of g_timeout_add () as a means of creating timers for
6095 scanning, and the use of GtkStyle for visually indicating when
6096 virtual keyboard elements are selected.
6098 keysynth-demo now listens to any keyboard keys with zero-valued
6099 keycodes (i.e. 'unused' keys) and interprets them as
6102 Reworked the shiftlatch code so that shift-down state isn't held
6103 for long periods (it's only synthesized immediately prior to
6104 the keysynth event it's modifying). Note that shiftlatch in this
6105 demo is a convenience, not intended to take the place of AccessX
6106 which is the better choice for getting 'sticky' modifier keys.
6108 * libspi/deviceeventcontroller.c:
6109 * at-bridge/bridge.c:
6110 * cspi/spi_registry.c:
6111 Removed some debug print stuff, and put other verbosity in #ifdef
6116 Implemented some more of the magnifier IDL for the simple
6117 magnifier: namely, getZoomRegionParams.
6118 Added mag_x and mag_y members to MagnifierData struct, aid of this
6120 Added GtkWindow::realize signal handler to magnifier, to keep it
6121 from receiving keyboard focus from the WM.
6123 2001-11-23 Mark McLoughlin <mark@skynet.ie>
6125 * cspi/spi-private.h: my guess at what michael forgot
6126 before he ran off to NZ :-)
6128 2001-11-23 Michael Meeks <michael@ximian.com>
6130 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
6131 comment out non existant method invoke so we link.
6133 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
6134 use bonobo_exception_get_text for more friendly warnings.
6136 * cspi/spi.c (Obj_Add): move into spi_main & rename
6137 spi_object_add; kill spi.c
6139 * cspi/spi_registry.c
6140 (deregisterGlobalEventListener),
6141 (deregisterGlobalEventListenerAll),
6142 (registerGlobalEventListener): fix exception leaks.
6144 * cspi/spi_main.c (spi_exception): impl. helper, so we
6145 don't leak exceptions.
6147 * cspi/spi_selection.c
6148 (AccessibleSelection_deselectSelectedChild): return the
6151 * cspi/spi_main.c (spi_ev): impl; hack - gack.
6152 (spi_registry): ditto.
6153 (SPI_init): guard against double inits.
6155 * cspi/*.c: use spi_ev (), and spi_registry () where
6156 appropriate - a temporary hack until we have something
6157 better. Use spi_object_add
6159 2001-11-22 Michael Meeks <michael@ximian.com>
6161 * cspi/Makefile.am: re organise, install the headers.
6163 * cspi/*.h: add G_BEGIN/END_DECLS
6165 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6168 Added non-preemptive keylistener for key events with no modifiers
6169 and shift-only modifier.
6171 * libspi/keystrokelistener.c:
6172 Removed some verbose diagnostics printout.
6174 * cspi/spi_registry.c:
6175 Fixed a bug that caused all key listeners to be registered as
6178 * libspi/deviceeventcontroller.c:
6179 Fixed bug that caused XGrabKey (preemptive key grab) to be called
6180 for non-preemptive key masks.
6183 2001-11-22 Bill Haneman <bill.haneman@sun.com>
6185 * docs/reference/idl/at-spi-idl-docs.sgml:
6186 * docs/reference/idl/at-spi-idl-sections.txt:
6187 * docs/reference/idl/at-spi-idl-overrides.txt:
6188 Added missing files.
6190 * docs/reference/Makefile.am:
6191 removed idl from SUBDIRS until we can figure a way to get gtk-doc
6192 to scan the IDL files :-(
6197 Added .cvsignore files.
6199 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6201 * libspi/deviceeventcontroller.c:
6202 * libspi/keystrokelistener.c:
6204 * cspi/spi_registry.c:
6205 Added filters for KeySets, KeyEventSeq, and event types to key
6206 event dispatching, so listeners should only receive those events
6207 that they requested :-)
6209 2001-11-21 Bill Haneman <bill.haneman@sun.com>
6214 * docs/reference:Makefile.am:
6215 * docs/reference/cspi:
6216 * docs/reference/cspi:Makefile.am:
6217 * docs/reference/cspi:tmpl:
6218 * docs/reference/cspi:tmpl:*.sgml:
6219 * docs/reference/idl:
6220 * docs/reference/idl:Makefile.am:
6221 * docs/reference/idl:at-spi-idl-sections.txt:
6222 * docs/reference/idl:at-spi-idl-docs.sgml:
6223 * docs/reference/idl:tmpl:
6224 * docs/reference/idl:tmpl:*.sgml:
6226 Restructured docs directory to allow separate 'reference' docs
6227 section, and forked idl and cspi docs. Added the sgml template
6228 files to CVS. Added the first sections/structural sgml for the
6231 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
6233 * configure.in, libspi/Makefile.am: find libXtst.
6235 2001-11-21 Michael Meeks <michael@ximian.com>
6237 * test/accessx-gui.c: s/spi_value/value/ - doh.
6239 * libspi/base.[ch]: add.
6241 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6243 * idl/Accessible.idl:
6244 * idl/Application.idl:
6247 Started gtk-doc cleanup on IDL.
6249 * libspi/deviceeventcontroller.c:
6250 Added and connected non-preemptive key notification from the
6251 toolkits (in addition to the pre-emptive support from XServer
6252 which we had before, but which causes 'focus flashing'). Filters
6253 are presently limited to key modifiers and global/non-global,
6254 KeySets are presently ignored, as are KeyEvent masks.
6256 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
6257 structs into the persistant structure rather than just storing
6258 pointers to things that might not persist across servant
6261 The XGrabKey call now does async keygrabs, because synchronous
6262 ones were deadlocking with GDK_event code in a very nasty way.
6264 Added boolean to internal method notify_keylisteners, to indicate
6265 whether the event came from the 'toolkit source' or the 'global
6266 (XServer) source' - this is used in the notification process to
6267 determine which listeners to send the event to.
6269 deviceeventcontroller.c is now warning-free.
6271 * libspi/registry.c:
6272 Fixed regression in application de-registration.
6273 Also fixed some really brain-dead weirdness having to do with
6274 event dispatching - event structs are now duplicated before being
6275 re-marshalled in the dispatch to listeners. This also fixes a
6276 Solaris build problem.
6279 2001-11-20 Michael Meeks <michael@ximian.com>
6282 (impl_accessibility_registry_deregister_global_event_listener):
6285 * libspi/deviceeventcontroller.c
6286 (spi_device_event_controller_check_key_event): return
6287 FALSE on no virtual method.
6289 * libspi/*..h: make includes work on a correctly pathed install.
6291 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
6293 * libspi/application.h: kill unused ( and whacked out )
6294 gboolean *spi_application_set_id (AtkObject *app, long id);
6296 2001-11-20 Michael Meeks <michael@ximian.com>
6298 * libspi/*.[ch]: further convert to bonobo's type func
6299 macros, remove redundnant casts etc.
6301 * libspi/text.c s/accessibility_text/spi_text/g,
6302 re-order to de-cruft.
6304 * libspi/hypertext.c: re-order to kill a huge slew
6305 of redundant forward decls.
6307 * libspi/relation.c: ditto.
6309 * libspi/image.c: ditto.
6311 * */.cvsignore: update
6313 2001-11-20 Michael Meeks <michael@ximian.com>
6315 * libspi/deviceeventcontroller.c
6316 (_controller_register_with_devices): use g_getenv,
6317 kill stdlib.h include.
6319 * libspi/keystrokelistener.c
6320 (spi_keystroke_listener_get_type): kill
6321 (spi_keystroke_listener_class_init),
6322 (spi_keystroke_listener_init): rename to this.
6324 * libspi/text.c (impl_getAttributes): fix warning / bug.
6326 * libspi/*.[ch]: more headers, includes and over commenting.
6328 2001-11-20 Michael Meeks <michael@ximian.com>
6330 * libspi/*.[ch]: fixup headers, includes and over commenting.
6332 * libspi/image.c (impl__get_imageDescription): const
6333 correctness warning fix. remove redundant casting.
6335 * libspi/table.c (impl_getRowDescription): ditto.
6336 (impl_getColumnDescription): ditto.
6338 * libspi/libspi.h: add.
6340 2001-11-19 Michael Meeks <michael@ximian.com>
6342 * libspi/editabletext.c (impl_setAttributes): fix warnings.
6344 * libspi/component.c (accessibility_component_get_type):
6345 rename to (spi_component_get_type): and macroify.
6346 (accessibility_component_init): rename to
6347 (spi_component_init): this
6348 (accessibility_component_class_init): rename to
6349 (spi_component_class_init): this
6351 * libspi/action.c (spi_action_get_type): kill, use the macro.
6353 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
6356 * libspi/application.c (spi_application_object_event_listener),
6357 (impl_accessibility_application_register_object_event_listener):
6358 warning fixes / const understanding updates.
6360 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
6363 2001-11-18 Bill Haneman <bill.haneman@sun.com>
6365 * libspi/spi_accessible.c: Added docs and C bindings for
6366 AccessibleStateSet. (No implementations yet). Documentation
6367 coverage for C bindings now 100%. Made docs for event listeners
6372 boolean notifyListenersSync (in DeviceEventListener listener,
6373 in DeviceEvent event);
6375 oneway void notifyListenersAsync (in DeviceEventListener listener,
6376 in DeviceEvent event);
6378 Added DeviceEventListener and DeviceEvent structs (may deprecate
6379 KeyStroke and KeystrokeListener in favor of this generic
6380 event/listener framework for devices).
6382 * libspi/deviceeventcontroller.c:
6384 Changed some key listener code to take masks, etc., and paved the
6385 way for integration of toolkit/non-preemptive key events. Changed
6386 signatures of some internal methods.
6388 * at-bridge/bridge.c:
6389 Fixed regression connecting to interface signals, apparently
6390 caused by GTK+ changes.
6392 Added an internal bridge_state_listener to deal with
6393 property-change:accessible-state signals.
6395 Changed the key_listeners GList to store structs (including masks,
6396 etc.) instead of just CORBA_Objects (required for full
6397 implementation of key listener API).
6399 Connected the bridge to all currently supported Atk signals.
6400 Events now supported:
6401 object:property-change
6402 object:property-change:accessible-name
6403 object:property-change:accessible-state
6404 object:property-change:accessible-description
6405 object:property-change:accessible-parent
6406 object:property-change:accessible-value
6407 object:property-change:accessible-role
6408 object:property-change:accessible-table-caption
6409 object:property-change:accessible-table-column-description
6410 object:property-change:accessible-table-column-header
6411 object:property-change:accessible-table-row-description
6412 object:property-change:accessible-table-row-header
6413 object:property-change:accessible-table-summary
6414 object:children-changed
6415 object:visible-data-changed
6416 object:selection-changed
6417 object:text-selection-changed
6419 object:text-caret-moved
6421 object:row-reordered
6423 object:column-inserted
6424 object:column-reordered
6425 object:column-deleted
6426 object:model-changed
6428 2001-11-16 Bill Haneman <bill.haneman@sun.com>
6430 * libspi/hyperlink.c,h:
6431 Fixed some broken stuff in hyperlink.
6433 * libspi/relation.h:
6434 * libspi/relation.c:
6435 * cspi/spi_accessible.c:
6436 Initial implementations of AccessibleRelation methods, and docs.
6438 * libspi/accessible.c:
6439 Fixed a bug that caused SEGV if an accessible
6440 object's description is NULL, and a client
6441 requests it. An empty string is now returned.
6443 * cspi/spi_editabletext.c:
6444 * cspi/spi_hypertext.c:
6446 * cspi/spi_hyperlink.c:
6450 Doc coverage now 95%.
6452 2001-11-16 Bill Haneman <bill.haneman@sun.com>
6454 One last namespacing revision:
6455 * libspi/accessibleeventlistener.[ch]:
6456 Renamed SpiAccessibleEventListener to SpiEventListener,
6457 (no need for two namespaces ;-)
6459 And lots of documentation fixes:
6461 * docs/at-spi-docs.sgml:
6462 Fixed 'underscore vs. hyphen' bug that was preventing
6463 the gtk-doc API docs from being automatically generated.
6466 * cspi/spi-listener.h
6468 * cspi/spi_accessible.c
6470 * cspi/spi_application.c
6471 * cspi/spi_component.c
6472 * cspi/spi_editabletext.c
6474 * cspi/spi_hypertext.c
6476 * cspi/spi_registry.c
6477 * cspi/spi_selection.c
6481 * docs/at-spi-docs.sgml
6482 * docs/at-spi-sections.txt
6484 Added and fixed up gtk-doc documentation in cspi.
6486 Interfaces now (fully) documented (subject to revision and enhancement):
6488 Event Listener Support
6490 AccessibleApplication
6494 AccessibleEditableText
6501 AccessibleRelationSet
6506 2001-11-14 Bill Haneman <bill.haneman@sun.com>
6508 * at-bridge/bridge.c:
6509 Initial work for toolkit-level key snooper connection by bridge.
6514 New typedefs and fixes to support new namespacing, and cleaner
6515 separation of cspi bindings from libspi bonobo implementation.
6516 Removed inconsistent and extraneous Spi* namespace prefix that
6517 had crept into cspi headers.
6518 Lots of comment fixes that sed had missed.
6520 * cspi/spi-roletypes.h:
6521 * cspi/spi-statetypes.h:
6522 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
6523 to AccessibleRoleType.
6525 * libspi/accessibleeventlistener.h:
6526 Fixed minor namespacing weirdness.
6528 * libspi/deviceeventcontroller.c:
6529 Reordered some internal API for device listeners.
6530 Changed the key registry final boolean to 'is_system_global'
6531 rather than 'is_synchronous', which is more descriptive of its
6533 Added spi_device_event_controller_new().
6534 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
6536 * libspi/keystrokelistener.[ch]:
6537 Namespaced KeystrokeListener to SpiKeystrokeListener.
6538 Changed uses of keymasks to use SPI_ prefix, and did other
6541 * libspi/keymasks.h:
6542 Namespaced keymask constants with SPI_ prefix.
6544 * libspi/registry.c:
6545 Some warning fixes, and knock-on fixes from namespace changes.
6548 Added rules for accessx-gui test program.
6550 * test/accessx-gui.c:
6551 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
6552 utility. It doesn't actually use at-spi, but it's still cool and
6555 * test/keysynth-demo.c:
6559 Fixes so that these test clients work properly with the namespaced
6560 libraries. (Incompletely tested for technical reasons, fixes may follow)
6563 2001-11-13 Michael Meeks <michael@ximian.com>
6565 * libspi/application.c
6566 (impl_accessibility_application_get_version),
6567 (impl_accessibility_application_get_toolkit_name):
6569 (impl_accessibility_application_set_id),
6570 (impl_accessibility_application_get_id): remove
6571 redundant casting code.
6573 * libspi/action.c (impl_getDescription): fix warnings.
6575 * libspi/accessible.c
6576 (impl_accessibility_accessible_get_parent),
6577 (impl_accessibility_accessible_get_child_at_index),
6578 (impl_accessibility_accessible_get_state),
6579 (impl_accessibility_accessible_get_relation_set):
6580 warning fixes & include action.h
6582 2001-11-13 Michael Meeks <michael@ximian.com>
6584 * *.[ch] fix bits I screwed up:
6586 s/([^ \tb(\*\&\?\",])spi_/\1/g;
6587 s/([^ \tb(\*\&\?\",])Spi/\1/g;
6589 2001-11-13 Michael Meeks <michael@ximian.com>
6591 * *.[ch] Namespace libspi into spi_ and Spi.
6593 2001-13-11 Michael Meeks <michael@ximian.com>
6595 * Makefile.am: dist & install at-spi-1.0.pc
6597 * libspi/Makefile.am: install into at-spi-1.0
6599 * idl/Makefile.am (idldir): install into at-spi-1.0
6601 * at-spi-1.0.pc.in: add.
6603 * configure.in: build it.
6605 2001-11-12 Bill Haneman <bill.haneman@sun.com>
6607 * test/keysynth-demo.c:
6608 Use a 'realize' signal-handler to set the WM properties for
6609 the virtual keyboard, rather than making it a "POPUP" type
6610 override-redirect window (thanks to anders carlsson for that
6613 2001-11-11 Bill Haneman <bill.haneman@sun.com>
6616 * test/keysynth-demo.c:
6617 Added new test of key synthesis, which creates a simple
6618 (mouse-operated) onscreen keyboard. It inserts key events into
6619 the currently-focused window, thus it does not grab keyboard focus
6622 * cspi/spi_registry.c:
6623 Added C binding for AT-SPI generateKeyEvent.
6625 * libspi/deviceeventcontroller.c:
6626 Added call to XFilterEvent so that key listener works with XIM (we
6627 hope). Added event_synth_type to generateKeyEvent, so that we can
6628 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
6629 synthesize a press/release pair for KeySyms.
6631 2001-11-09 Bill Haneman <bill.haneman@sun.com>
6633 * libspi/Makefile.am:
6634 * registryd/Makefile.am:
6635 (temporary) hack to include libXtst in libspi and registryd.
6636 (Needed for keystroke synthesis, see below).
6639 Improved API for registerKeystrokeListener, in accordance with
6640 discussions with Gnopernicus team and X server research.
6642 * libspi/registry.c:
6643 * libspi/deviceeventcontroller.c:
6644 * libspi/accessible.c:
6645 * libspi/keystrokelistener.c:
6646 Changes and fixes to support keylisteners for potentially
6647 consumed key events (that is, 'passive grabs').
6648 Added implementation for generateKeyEvent() [untested].
6651 Changes to registerKeystrokeListener() API, as above.
6652 Added deregisterGlobalEventListenerAll(), and
6653 deregisterKeystrokeListener(), which are needed for clean exit of
6655 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
6656 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
6658 * cspi/spi_registry.c:
6659 Added implementations of function prototypes mentioned above.
6661 * registryd/registryd.c:
6662 Added the key listener event source as a g_timeout(), to allow
6663 receipt of key events that are not caught by GDK (since GDK
6664 doesn't support passive keygrabs, this was necessary).
6667 Changed to attach a keylistener to 'Alt' keys, and
6668 respond to the following keycommands: Alt-M (toggle magnifier);
6669 Alt-F (toggle speech); Alt-Q (quit).
6670 Added an exit routine to deregister the listeners, and a key
6671 listener that prints some key info to the console when a key
6672 matches the listener mask (and is thus received by the listener).
6674 * util/idl/Magnifier.idl:
6675 Changes to magnifier API to support multiple zoom regions,
6676 non-uniform scaling in x and y, markDirty, and a host of other
6677 features that would be useful to magnification.
6680 * util/mag_client.c:
6681 * util/mag_client.h:
6682 * util/mag_control.c:
6684 Source code changes to support the above IDL changes.
6687 As above, and also changes to use a (slower) generic conversion
6688 path for colormap conversions, since the fast RGB conversions have been
6689 reported to fail for 16-bit displays.
6691 2001-10-26 Michael Meeks <michael@ximian.com>
6693 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
6695 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
6697 * at-bridge/Makefile.am: fix LDFLAGS.
6699 2001-10-09 Bill Haneman <bill.haneman@sun.com>
6701 * at-bridge/bridge.c:
6702 Re-worked listeners for toolkit events, now we have signal
6703 and property listeners. Added a private method
6704 register_atk_event_listeners(), which registers with the
6705 various atk and gtk signals we need to monitor in order to emit
6707 Added emission hook for AtkObject:property-change events, to
6708 support the 'property listeners'.
6709 Fixed some alloc()s of Accessibility_Event structs to use CORBA
6712 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
6713 which emit warnings and exit, respectively, if CORBA errors occur
6714 during remote calls, and we now use these methods to check most of
6715 our CORBA calls in the C bindings.
6717 * cspi/spi_accessible.c:
6718 Changed AccessibleSelection_refSelectedChild() to
6719 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
6720 now increment refcounts.
6722 * cspi/spi_component.c:
6723 Fixed some long pointer casts (dangerous!) to pass pointers to
6724 CORBA_longs of the proper type to the CORBA stubs, and copy the
6725 data into the longs that were passed into the C bindings code.
6727 * at-bridge/bridge.c:
6729 * libspi/accessible.c:
6730 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
6731 hyperlinks, AtkHyperlink is an object type.
6733 * libspi/application.c:
6734 Added various conversions to and from "generic" event types and
6735 atk-specific types; this is really part of the 'bridge'
6736 implementation but is valid for all AtkObject-based accessibility
6739 * libspi/editabletext.c:
6740 Fixed nasty bug wherein editable text's finalize method was
6741 unref'ing tha AtkObject reference that the text parent class was
6742 about to unref _again_. There was also a nasty inheritance bug
6743 that meant that the AccessibleEditableText class was corrupt.
6745 * libspi/selection.c:
6746 Provided implementations for some selection API that was broken.
6748 * idl/Application.idl:
6749 Added registerObjectEventListener () method.
6752 Fixed a number of return values that were Bonobo_Unknowns from
6753 bonobo_object_corba_objref(), which I
6754 forgot to dup before returning. Changed instances of
6755 bonobo_object_corba_objref (bonobo_object(o)) to
6756 BONOBO_OBJREF(o), for concision and clarity.
6758 2001-10-13 Louise Miller <louise.miller@sun.com>
6760 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
6761 idl/Event.idl, idl/Registry.idl
6762 Changed these files to include Bonobo_Unknown.idl instead
6765 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
6767 * libspi/component.c libspi/component.h:
6768 Fixed typo. Added assertions for object checks in
6769 AccessibleComponent code.
6771 2001-10-09 Bill Haneman <bill.haneman@sun.com>
6773 * idl/Accessible.idl:
6774 Added 'isEqual (Accessible *object)'
6775 method for Accessible. (Not Yet Implemented).
6778 Changed signature of registerKeystrokeListener() to
6779 take a KeySet and KeyEventSeq so that specific keys and event
6780 types could be requested for monitoring, and added a flag
6781 is_synchronous so that either synchronous or asynchronous
6782 notification could be requested. (However this is not all
6783 implemented yet). This also meant adding two new typedefs,
6784 KeyEventSeq and KeySet.
6787 Added two new relations, RELATION_TOOLTIP_FOR and
6788 RELATION_LEAFNODE_OF.
6791 Added new state, STATE_HAS_TOOLTIP.
6793 * libspi/text.c, editabletext.c:
6794 Added new assertions to all casts of bonobo-objects from
6795 CORBA servants, to prevent Text API calls on non-text objects.
6796 Changed suspect casts of int-pointer types, so that we
6797 always send a valid CORBA_long pointer to the CORBA APIs that use
6798 in/out long parameters. We then have to copy from the CORBA_long
6799 into the regular long or int for return to the C bindings, or
6800 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
6803 * libspi/deviceeventcontroller.c:
6804 Cleaned these sources up.
6806 Changed return type for getCharacterAtOffset to
6807 CORBA_unsigned_long, to allow for 32-bit characters.
6810 2001-10-08 Bill Haneman <bill.haneman@sun.com>
6814 Fixed 'make dist' so that distro compiles...
6815 * libspi/keymasks.h:
6817 * cspi/spi-listener.c:
6818 KeystrokeListenerCB now returns a boolean.
6820 Added KeyEventType struct, and KeyStroke.
6821 Also added createKeystrokeListener(),
6822 KeystrokeListener_addCallback(),
6823 KeystrokeListener_removeCallback(), and added a keymask to
6824 registerKeystrokeListener().
6825 * cspi/spi_accessible.c:
6826 Changed numerous return types for interfaces from
6827 AccessibleComponent to Accessible<InterfaceName>; this was
6828 probably a cut-and-paste error.
6830 Implementations of new KeystrokeListener api (from spi.h,
6833 Changes to key modifier mapping.
6834 Created ControllerEventMask struct.
6835 Made DeviceEventController derive from Bonobo::Unknown.
6837 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
6838 * libspi/deviceeventcontroller.c:
6839 Added a number of new internal (private) methods.
6840 * libspi/editabletext.c:
6841 * libspi/editabletext.h:
6842 Fixed a number of bugs related to the fact that
6843 editabletext inherits from text. Fixed the EditableText struct,
6844 the init() call, and use correct casts when calling Text methods
6845 from an EditableText object. Removed (duplicate) atko from the
6846 EditableText structure, we use the one in the parent Text
6847 structure via the casts mentioned above.
6848 * libspi/keystrokelistener.[ch]:
6849 * libspi/registry.c:
6850 Changes in support of keyboard handling (above).
6852 Keyboard handling, though partly functional, is still not
6853 recommended for at-spi client use as there is considerable
6854 work yet to be done.
6857 Changed some places where pointers to various int types
6858 are cast to be pointers to CORBA_long types and vice-versa:
6859 pointer casting is not safe so we pass pointers of the correct
6860 types and then cast the result before putting it into the target
6863 * libspi/text.h: minor typos corrected.
6865 We now speak not only the name of a Text element, but the
6866 first sentence of its content, when it receives focus.
6867 I also changed the text compression to 75% from 50%.
6868 * util/Accessibility_Util.server.in:
6869 Changed the default magnifier type to be a 3x vertical
6870 splitscreen magnifier (was previously a 2x horizontal one).
6872 2001-10-03 Bill Haneman <bill.haneman@sun.com>
6874 * libspi/keystrokelistener.h:
6875 * libspi/keystrokelistener.c:
6876 Initial functional implementations of KeystrokeListener.
6879 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
6881 Fixed string handling for NULL strings in libspi.
6882 Added spi_freeString to free strings returned by C bindings.
6884 2001-09-30 Bill Haneman <bill.haneman@sun.com>
6886 * libspi/keystrokelistener.h:
6887 * libspi/keystrokelistener.c:
6888 Began (no-op) implementations of KeystrokeListener
6890 * libspi/deviceeventcontroller.c:
6891 * libspi/deviceeventcontroller.h:
6892 Began creating implementations of DeviceEventController,
6893 to handle keystroke and mouse event listening and
6895 * libspi/accessible.c:
6896 Stubbed-in the implementations for
6897 Accessibility_Accessible_getState and
6898 Accessibility_Accessible_getRelationSet.
6899 * libspi/registry.c:
6900 Improved de-registration process and fixed some bugs,
6901 deregistration now works correctly.
6903 Added initialization of applications list (to NULL).
6905 Reduced speech compression from 0.5 to 0.7, for demo.
6906 Changed call to gdk_window_set_decorations()
6907 to gtk_window_set_decorated().
6908 * at-bridge/bridge.c:
6909 Bridge now deregisters when app exits, via
6910 registration of a cleanup function
6911 with the g_atexit() call.
6912 Required making 'app' static, renamed 'this_app'.
6913 Fixed broken use of bonobo_init, passing argv wrongly.
6915 2001-09-27 Bill Haneman <bill.haneman@sun.com>
6919 Created a new directory for
6920 accessibility-related utilities, primarily for
6921 testing and demo purposes, but with possible
6928 Onscreen magnifier utility that
6929 is implemented as a bonobo service.
6931 * util/mag_client.c:
6932 * util/mag_client.h:
6933 Client-side support (simple C bindings)
6934 for Magnification service
6936 * util/mag_control.c:
6937 Client program example for
6938 Magnification service
6940 * util/Accessibility_Magnifier.server.in:
6941 Bonobo-activation file for the
6942 Magnification service.
6945 * util/idl/Magnifier.idl:
6946 IDL defining the bonobo Magnification
6950 Modifications to use the bonobo-activated magnifier
6951 above, in place of trying to connect to an existing
6952 magnifier that uses socket-listening IPC.
6954 If env variable MAGNIFIER is set, a magnifier service
6955 will be started if one does not exist.
6957 2001-09-25 Bill Haneman <bill.haneman@sun.com>
6959 * at-bridge/bridge.c:
6960 applied patch from Marc to build and run
6961 against new glib and gtk+ (seemed like a change
6962 to bonobo_init signature was made ?)
6964 made festival-server support turned off by default.
6965 Added support for a simple magnifier (off by default)
6966 which will be added to a 'util' directory later.
6967 * at-bridge/Makefile.am:
6968 Changed "application.h" header from a 'source'
6969 to a 'dependency' of libat-bridge.
6971 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6980 Added interface implementation c files to list of
6981 includes so they are included in libcspi.
6984 Changed prototype of AccessibleAction_doAction to return a
6986 Changed prototype of AccessibleTable_getCaption to
6987 return an Accessible.
6988 Changed prototype of AccessibleTable_getSelectedRows
6989 and AccessibleTable_getSelectedColumns to
6990 return a long (returns the number of selected rows
6991 or columns respectively).
6992 Changed name of AccessibleText_refRunAttributes to
6993 AccessibleText_getAttributes.
6994 Changed prototype of AccessibleText_getCharacterExtents to
6995 return a void rather than a boolean.
6996 Added support for a AccessibleCoordType parameter
6997 specifying what type of coordinates are desired.
6998 Added an AccessibleCordType parameter to
6999 AccessibleText_getPointAtOffset.
7001 * cspi/spi_accessible.c:
7002 Added code to return the outstanding interfaces from
7003 Accessible_queryInterface.
7005 * cspi/spi_action.c:
7007 Corrected call to getNActions to call the c binding
7010 * cspi/spi_editabletext.c:
7012 Changed name from setRunAttributes to setAttributes.
7014 * cspi/spi_hyperlink.c:
7016 Changed call to getNAnchors to correctly call the c
7017 binding for an attribute.
7019 * cspi/spi_hypertext.c:
7021 Changed getImageDescription to correctly call the
7022 binding for an attribute.
7024 * cspi/spi_selection.c:
7025 Changed getNSelectedChildren to correctly call the c
7026 binding for the attribute.
7027 Changed refSelectedChild to getSelectedChild.
7031 Changed getCaption to return an Accessible.
7032 Fixed calls which retrieve attributes.
7033 Changed refAt to getAccessibleAt.
7034 Changed getNSelectedRows and getNSelectedColumns to
7038 Changed getCharacterExtents and getPointAtOffset to accept an
7039 AccessibleCoordType.
7041 Changed calls which retrieve attributes.
7042 Changed refRunAttributes to getAttributes.
7047 * idl/Hyperlink.idl:
7048 Changed n_anchors attribute to nAnchors to keep naming
7049 convention consistent.
7052 Made Table inherit from Bonobo::Unknown.
7053 Added nSelectedColumns and nSelectedRows attributes.
7056 Made Value inherit from Bonobo::Unknown.
7058 * libspi/hyperlink.c:
7059 Change for nAnchors attributte name change.
7061 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
7069 Added interface implementation c files to list of
7070 includes so they are included in libcspi.
7073 Changed prototype of AccessibleAction_doAction to return a
7075 Changed prototype of AccessibleTable_getCaption to
7076 return an Accessible.
7077 Changed prototype of AccessibleTable_getSelectedRows
7078 and AccessibleTable_getSelectedColumns to
7079 return a long (returns the number of selected rows
7080 or columns respectively).
7081 Changed name of AccessibleText_refRunAttributes to
7082 AccessibleText_getAttributes.
7083 Changed prototype of AccessibleText_getCharacterExtents to
7084 return a void rather than a boolean.
7085 Added support for a AccessibleCoordType parameter
7086 specifying what type of coordinates are desired.
7087 Added an AccessibleCordType parameter to
7088 AccessibleText_getPointAtOffset.
7090 * cspi/spi_accessible.c:
7091 Added code to return the outstanding interfaces from
7092 Accessible_queryInterface.
7094 * cspi/spi_action.c:
7096 Corrected call to getNActions to call the c binding
7099 * cspi/spi_editabletext.c:
7101 Changed name from setRunAttributes to setAttributes.
7103 * cspi/spi_hyperlink.c:
7105 Changed call to getNAnchors to correctly call the c
7106 binding for an attribute.
7108 * cspi/spi_hypertext.c:
7110 Changed getImageDescription to correctly call the
7111 binding for an attribute.
7113 * cspi/spi_selection.c:
7114 Changed getNSelectedChildren to correctly call the c
7115 binding for the attribute.
7116 Changed refSelectedChild to getSelectedChild.
7120 Changed getCaption to return an Accessible.
7121 Fixed calls which retrieve attributes.
7122 Changed refAt to getAccessibleAt.
7123 Changed getNSelectedRows and getNSelectedColumns to
7127 Changed getCharacterExtents and getPointAtOffset to accept an
7128 AccessibleCoordType.
7130 Changed calls which retrieve attributes.
7131 Changed refRunAttributes to getAttributes.
7136 * idl/Hyperlink.idl:
7137 Changed n_anchors attribute to nAnchors to keep naming
7138 convention consistent.
7141 Made Table inherit from Bonobo::Unknown.
7142 Added nSelectedColumns and nSelectedRows attributes.
7145 Made Value inherit from Bonobo::Unknown.
7147 * libspi/hyperlink.c:
7148 Change for nAnchors attributte name change.
7151 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
7153 implementations-- made server implementations own AtkObject pointers
7154 rather than their respective AtkInterrface pointers to fix
7155 refcounting. AtkHyperlink is still broken.
7157 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7158 * cspi/spi_accessible.c:
7159 Added method Accessible_Role_getName(),
7160 and requisite string array (role_names).
7161 Added conversion string_from_corba_strin() call
7162 to Accessible_getName and _getDescription.
7163 * libspi/accessible.c:
7164 Added implementation for Accessible_getRole()
7166 Added festival support, used if environment variable
7169 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7171 * at-bridge/bridge.c:
7172 Now allocate Accessibility_Event using
7173 Accessibility_Event__alloc() instead of g_new0().
7174 * libspi/accessibleeventlistener.c:
7175 Initialize AccessibleEventListener->callbacks to NULL.
7176 Fixed accessible__event_listener_init() param, changed to
7177 "AccessibleEventListener *" type.
7178 Changed a bonobo_object_release_unref() call to
7179 Accessibility_Accessible_unref().
7180 * libspi/listener.c:
7181 Changed Bonobo_Unknown_unref to (equivalent)
7182 Accessibility_Accessible_unref.
7183 * libspi/registry.c:
7184 Changed bonobo_object_release_unref to
7185 Accessibility_Accessible_unref.
7187 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7190 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
7191 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
7192 spi-util.c spi-util.h
7193 Implementations for C bindings to remaining accessibility
7196 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7199 changed return value of Action from void to boolean to
7200 bring in line with ATK.
7203 Changed getText funcions to return "out" start and end offsets.
7204 Changed getAttributes to take and offset and return the start
7205 and end offset of the attribute run.
7206 Changed getOffsetAtPoint and getCharacterExtents to take an
7207 enum describing whether coordinates are window or screen.
7210 libspi/action.c libspi/action.h libspi/editabletext.c
7211 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
7212 libspi/hypertext.c libspi/hypertext.h libspi/image.c
7213 libspi/image.h libspi/selection.c libspi/selection.h
7214 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
7215 libspi/value.c libspi/value.h
7216 Added server implementations for outstanding ATK interfaces
7217 not yet implemented.
7219 2001-09-04 Bill Haneman <bill.haneman@sun.com>
7222 Added (missing) getName() method.
7223 Made nActions an attribute.
7224 * idl/EditableText.idl:
7225 Changed order of params in setAttributes.
7226 * idl/Hyperlink.idl:
7227 Removed getAnchor, added getURI.
7229 Changed attributes to methods, for efficiency
7230 (so that getting extents can be done in one call)
7231 * idl/Selection.idl:
7232 Changed nSelectedChildren to attribute, and re-indented.
7233 * idl/Table.idl: changed nrows, ncolumns, caption, summary
7235 * idl/Text.idl: reformatted to match our coding style.
7236 (temporarily?) removed getRowColumnAtOffset().
7237 Changed text selection API to support multi-select and
7238 non-contiguous selections, as in ATK.
7239 * idl/Value.idl: changed some methods to attributes.
7241 2001-08-24 Mark McLoughlin <mark@skynet.ie>
7243 * libspi/listener.c(impl_notify_event):
7244 BonoboUnkown_unref the source instead
7245 of bonobo_object_release_unref - the ORB
7246 handles the releasing.
7248 * configure.in: require ORBit-2.3.94 for
7251 2001-08-21 Bill Haneman <bill.haneman@sun.com>
7253 Tagged CVS repository 'EA_1_0'.
7254 * README.EARLY_ACCESS:
7255 Alphabetized acknowledgements list, and
7257 Listed some known dependencies of at-spi.
7259 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7261 * docs/at-spi-docs.sgml:
7262 * docs/at-spi-sections.txt:
7263 * docs/at-spi-overrides.txt: (Added zero-length file)
7264 Documentation improvements - gtk-doc should build
7265 docs for all implemented C bindings now.
7268 * cspi/spi.c: (New file)
7269 * cspi/spi_event.c: (New file)
7270 * cspi/spi_registry.c: (New file)
7271 * cspi/spi_accessible.c: (New file)
7272 * cspi/spi_application.c: (New file)
7273 * cspi/spi_component.c: (New file)
7274 Split spi_main.c into six parts, and included them from
7275 "spi.c". This is a bit of a hack, probably temporary,
7276 but required by gtk-doc, apparently.
7278 2001-08-20 Bill Haneman <bill.haneman@sun.com>
7281 * docs/at-spi-docs.sgml:
7282 * docs/at-spi-sections.txt:
7284 Initial checkins/modifications for gtk-doc generation.
7287 Added (missing) interface query methods to Accessible's C binding.
7289 Added GenericInterface type definition.
7291 Added query for AccessibleComponent interface to focus event handler.
7292 Added printout of bounding box for focussed component.
7293 * libspi/component.c:
7294 Added partial implementation for AccessibleComponent to C binding.
7295 * idl/Application.idl:
7296 * libspi/registry.c:
7297 * libspi/listener.c:
7298 * libspi/application.c:
7299 * libspi/application.h:
7300 Changed "ID" attribute type from string to long.
7302 2001-08-19 Bill Haneman <bill.haneman@sun.com>
7306 Made method naming consistent: methods taking object args
7307 start with uppercase, other methods (except those using
7308 acronyms) start with lowercase. Underscores delimit between
7309 object names and method names:
7310 SPI_init() - uppercase since it starts with an acronym.
7311 getDesktopCount () - lowercase start since no object param0.
7312 Accessible_getName() - uppercase object type name, studlyCaps method
7316 Added gtk-doc documentation for all currently implemented
7317 methods in the C bindings API.
7319 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7321 * Makefile.am : changed build order to build test last.
7324 Changed "createEventListener" to "CreateEventListener".
7325 * libspi/accessibleeventlistener.c :
7326 Bugfix for addition of callbacks.
7327 * test/Makefile.am :
7328 * test/simple-at.c :
7329 Added new test that uses the C bindings API.
7331 * libspi/listener.c :
7332 * libspi/registry.c :
7333 * libspi/accessibleeventlistener.c :
7334 * at-bridge/bridge.c :
7335 Renamed member "target" of Accessibility_Event to "source",
7336 which is more descriptive.
7339 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7343 * cspi/Makefile.am :
7344 Added makefile support for at-spi/cspi directory.
7347 * cspi/spi-listener.h : (NEW FILE)
7348 Added support for/use of spi-listener.h.
7350 C bindings now build successfully, with no warnings.
7351 * libspi/accessibleeventlistener.h : (NEW FILE)
7352 * libspi/accessibleeventlistener.c : (NEW FILE)
7353 * libspi/Makefile.am :
7354 Added new object type "AccessibleEventListener"
7355 which inherits from Listener, and allows attachment
7356 of in-process callbacks (so that a client with a listening
7357 object instance can add functionality to the local
7358 implementation, dynamically).
7360 2001-08-18 Bill Haneman <bill.haneman@sun.com>
7362 * libspi/accessible.c:
7363 Add implementation for get_index_in_parent().
7365 Added #include of "spi-roletypes.h", and
7366 added enumerated type AccessibleCoordType.
7367 Added definition for KeystrokeListener (function type).
7370 * cspi/spi-statetypes.h :
7371 * cspi/spi-roletypes.h :
7373 Added these headers, used by spi.h.
7375 Added code (NOTE: not yet built by make).
7377 2001-08-18 Mark McLoughlin <mark@skynet.ie>
7379 * libspi/Makefile.am: generate imodule
7380 at the same time as other idl compiler
7383 2001-08-17 Bill Haneman <bill.haneman@sun.com>
7384 * libspi/registry.c :
7385 * libspi/application.c :
7386 * idl/Application.idl :
7387 Made registration with toolkit an application method,
7388 which is required since each app has its own toolkit static
7389 environment. Thus the bridge must register for
7390 notification of toolkit events from each application in turn.
7391 Toolkit notifications are now successfully registered for, and
7392 sent to the listening at client.
7394 Changed toolkit event string to use hyphens rather than underscores.
7395 * libspi/listener.c :
7396 listner now gives more info in debug mode - it reports the
7397 name of the event received, as well as the name of the source.
7400 2001-08-16 Bill Haneman <bill.haneman@sun.com>
7402 * libspi/registry.c :
7403 added more implementation for toolkit events.
7404 Fixed bug such that toolkit event registrations
7405 (via atk) use the whole event name string, not
7407 Removed a useless call to an ORBit_ method.
7408 * at-bridge/bridge.c :
7409 Removed unused local sbuf[] variable.
7411 We now register for Gtk:GtkWidget:button_press_event
7412 events as well as "focus:" events.
7414 Add some more API from Registry.idl that was missing,
7415 for keystroke listening, keystroke and mouse event
7416 synthesis, and enumeration of accessible desktops.
7418 2001-08-16 Michael Meeks <michael@ximian.com>
7420 * configure.in: use AM_GLIB_GNU_GETTEXT.
7422 * Makefile.am (SUBDIRS): kill intl.
7424 2001-08-15 Michael Meeks <michael@ximian.com>
7426 * registryd/Makefile.am: s/oaf/server/ relocate info file.
7428 * configure.in: upd.
7430 * configure.in: depend on a recent bonobo-activation that
7431 will find our server files ...
7433 2001-08-16 Bill Haneman <bill.haneman@sun.com>
7435 * libspi/accessible.c : accessible_new() :
7436 Now we add the Component interface via bonobo_object_add_interface,
7437 if the contained AtkObject implements AtkComponent.
7438 * libspi/accessible.h : now include "component.h"
7439 * libspi/component.h :
7440 * libspi/component.c : added files - implementation of
7441 bonobo wrapper object for Accessibility/Component
7442 * libspi/listener.c :
7443 Added test code to check for Accessibility/Component:1.0
7444 interface and report whether it is implemented by the
7446 * libspi/registry.c :
7447 Now we check for not only the hash of the whole event
7448 string before relaying the event, we also check the
7449 "minor" event string (without the detail string).
7450 This allows event listeners to be registered against
7451 all events of a certain major+minor type, or just
7452 against a specific major+minor+detail type.
7453 * libspi/accessible.c :
7454 Added implementations for Accessible:get_parent(),
7455 Accessible:getChildCount(), and Accessible:getChildAtIndex().
7456 * libspi/registry.c :
7457 * libspi/listener.c :
7458 Replaced calls to Accessibility_Accessible_ref() and
7459 Accessibility_Accessible_unref() with
7460 calls to bonobo_object_dup_ref() and
7461 bonobo_object_release_unref(), so that the CORBA object
7462 is dup-ed and released when relayed, as well as the bonobo object.
7464 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7466 * libspi/Makefile.am,
7467 registryd/Makefile.am,
7468 at-bridge/Makefile.am.
7469 test/Makefile.am, configure.in:
7470 reverse previous changes.
7472 * /idl/Image.idl: fix typo.
7474 * test/Makefile.am: put DEBUG_FLAGS
7477 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7479 * test/app.c: use argv[0] instead of
7482 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7484 * libspi/Makefile.am,
7485 registryd/Makefile.am,
7486 at-bridge/Makefile.am.
7487 test/Makefile.am, configure.in:
7488 cleanup, replace individual LIBS/CFLAGS with
7489 AT_COMMON_{LIBS|CFLAGS}.
7493 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7495 * configure.in, libspi/Makefile.am:
7496 Change IDL path checking for bonobo-activation
7499 2001-08-15 Bill Haneman <bill.haneman@sun.com>
7501 * registryd/registry.c : separated event listeners to use
7502 3 separate lists (focus, window, toolkit). Began testing
7503 event names against hashes before relaying events.
7504 * test/at.c : now register for events of type "focus:"
7505 * test/app.c : now generate events of type "focus:"
7506 * at-bridge/bridge.c : register with ATK for focus events,
7507 and we now relay those focus events to any "focus:" listeners.
7508 This now works with the bridge as a GTK_MODULE when running test/at.
7509 * libspi/registry.c :
7510 * libspi/listener.c :
7511 now we ref event sources before propagating, and unref on receipt.
7512 * libspi/registry.c :
7513 some changes to internal structs, to support event typestring hashes.
7514 * text/app.c : changed the way the appname is generated.
7515 * cspi : added directory that will hold the C bindings library for
7516 non-CORBA/bonobo-savvy clients.
7517 * cspi/spi.h : header file that contains the function prototypes for the C binding.
7518 * idl/Component.idl : added in parameter to indicate coord system for
7519 geometry-related calls.
7520 * idl/Hyperlink.idl : added readonly n_links attribute
7521 * idl/Image.idl : changed methods to attributes.
7523 2001-08-15 Mark McLoughlin <mark@skynet.ie>
7525 * at-bridge/Makefile.am: link against
7526 ../libspi/libspi.la instead of -lspi.
7528 * at-spi/test/app.c: include
7529 bonobo-activation.h. Use a default appname
7530 if one is not provided.
7532 2001-08-14 Bill Haneman <bill.haneman@sun.com>
7534 * idl/Registry.idl : temporarily changed register_Application
7535 to oneway, to work around issue with initial registration
7537 * idl/Application.idl : changed attribute "id" from readonly
7538 to read-write, since it needs to be assigned by Registry.
7539 * registryd/registryd.c : added call to set application id
7541 * registryd/registry.c : changed de-registration procedure to
7542 use CORBA_Object_hash() to find matching object ref in application
7543 lists and listener lists.
7544 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
7545 began distinguishing between event types (work in progress).
7547 2001-08-13 Bill Haneman <bill.haneman@sun.com>
7550 * libspi/application.c:
7551 Added implementations for get/set id, get_toolkitName,
7553 * registryd/registryd.c :
7557 Converted from use of OAF to bonobo-activation.
7558 * libspi/desktop.h :
7559 * libspi/desktop.c :
7561 Removed references to atksimpleobject, since base atkobject
7562 implementation now provides functionality we need.
7563 * libspi/atksimpleobject.c :
7564 * libspi/atksimpleobject.h :
7569 * at-bridge/Makefile.am
7570 * at-bridge/bridge.c
7573 Added directory "bridge" and contents, and added dependencies
7574 in Makefile.am/configure.in.
7575 Initial checkin of "at-bridge".
7576 This code is a GTK_MODULE which automatically registers
7577 GTK+ apps with the accessibility registry, using an object
7578 reference to the root ATK object.
7580 2001-08-10 Mark McLoughlin <mark@skynet.ie>
7582 * po/Makefile.in.in: Remove. Again. If this
7583 doesn't get autogenerated - you need to update
7586 2001-08-07 Mark McLoughlin <mark@skynet.ie>
7588 * po/Makefile.in.in: Add. Again.
7590 2001-07-31 Bill Haneman <bill.haneman@sun.com>
7592 * libspi/accessible.c : added support for 'description' property.
7593 * libspi/accessible.c
7595 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
7596 (since the two are now equivalent in libbonobo)
7604 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
7605 Bonobo::Unknown as does Accessibility::Accessible.
7606 * idl/StreamableContent.idl : as above, and replaced internal InputStream
7607 interface with Bonobo::Stream, since it was redundant with it.
7608 (The Stream returned by a StreamableContext object is expected to
7609 implement only a subset of Bonobo::Stream)
7611 2001-07-28 Anders Carlsson <andersca@gnome.org>
7613 * libspi/accessible.c (accessible_object_finalize): Change
7614 g_free to g_object_unref since the AtkObject is a GObject.
7616 2001-07-30 Bill Haneman <bill.haneman@sun.com>
7618 * idl/Accessibility.idl: add new IDL files
7621 * idl/Action.idl: Definitions of actionable UI object
7622 * idl/Component.idl: Definitions of UI component geometry, etc.
7623 * idl/Hyperlink.idl: Defs of hyperlink behavior
7624 * idl/Image.idl: Def of accessible image
7625 * idl/Selection.idl: Definition of UI object with selectable children
7626 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
7627 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
7628 * idl/Text.idl: Interface defs for UI elements with complex textual content
7629 * idl/Value.idl: Definition of UI element that is a value controller or display
7631 2001-07-27 Michael Meeks <michael@ximian.com>
7633 * po/Makefile.in.in: remove autogenerated file from CVS.
7635 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
7638 * idl/Registry.idl: include guard.
7640 * idl/Accessibility.idl: Add, and include all the other IDL
7643 * idl/*.idl: remove mass of pragmas etc.
7645 2001-07-26 Michael Meeks <michael@ximian.com>
7647 * registryd/Makefile.am (registryd_SOURCES): remove
7650 2001-07-27 Mark McLoughlin <mark@skynet.ie>
7652 * libspi/.cvsignore, registryd/.cvsignore,
7653 test/.cvsignore: updated.
7655 * po/Makefile.in.in: gettext update.
7657 2001-07-25 Bill Haneman <bill.haneman@sun.com>
7659 * initial CVS checkin
7661 2001-06-29 Michael Meeks <michael@ximian.com>
7663 * configure.in: add AM_CONFIG_HEADER to gen config.h