bb2e39f2dbb1f1040fc57d90165d8c81e0b06e5f
[platform/core/uifw/at-spi2-atk.git] / ChangeLog
1 2006-01-17  Bill Haneman <billh@gnome.org>
2
3         * configure.in: Revved to 1.7.2, re-dist to include docs.
4
5 2006-01-09  Bill Haneman <billh@gnome.org>
6
7         * configure.in: Removed po/Makefile.in inclusion, we do not need
8         it.  Revved to 1.7.0.
9
10         * idl/Accessibility.idl: Improved documentation here, and for all
11         IDL in the 'GNOME::Accessibility' namespace.
12
13         * idl/Accessibility_Accessible.idl:
14         (LOCALE_TYPE): Added enum.
15         (AttributeSet): New, for returning multiple name/value attribute pairs.
16         (RoleSet): New, sequence of Roles, to be used in upcoming
17         Collection API.
18         (getAttributes): New API, allows retrieval of name/value pair
19         annotations for all kinds of Accessible objects.  C.f. 
20         Text:getAttributes, which is only for typographic/textual/semantic tags in
21         text content.
22         (getApplication): New, retrieves the host/containing Application
23         instance for an object (without having to walk up the whole tree).
24
25         * idl/Accessibility_Component.idl:
26         (getAlpha): New method, returns the alpha blending (aka 'opacity')
27         value for an object.  An alpha of 1.0 is fully opaque, 0.0 is
28         fully transparent.
29
30         * idl/Accessibility_Event.idl:
31         (EventDetails): New struct definition, for encapsulating
32         commonly-queried information about emitted events.  The use of
33         this structure in emitted events (in the 'any' member of
34         Accessibility_Event) should greatly reduce the number of
35         client-server roundtrips necessary.
36
37         * idl/Accessibility_Image.idl:
38         (imageLocale): New, a readonly attribute indicating the POSIX 
39         LC_MESSAGES locale of the image and associated Alt/descriptive
40         text.
41
42         * idl/Accessibility_Relation.idl:
43         (RELATION_PARENT_WINDOW_OF): Include, as complement to
44         RELATION_POPUP_FOR.
45
46         * idl/Accessibility_Role.idl:
47         (ROLE_ENTRY, ROLE_CHART, ROLE_CAPTION, ROLE_DOCUMENT_FRAME)
48         (ROLE_HEADING, ROLE_PAGE, ROLE_SECTION): New roles for
49         complex document and form support.
50
51         * idl/Accessibility_State.idl:
52         (STATE_REQUIRED, STATE_TRUNCATED, STATE_ANIMATED)
53         (STATE_INVALID_ENTRY, STATE_SUPPORTS_AUTOCOMPLETION)
54         (STATE_SELECTABLE_TEXT, STATE_IS_DEFAULT): New states,
55         for support of complex documents and forms.
56
57         * idl/Accessibility_StreamableContent.idl:
58         (SeekType, IOError, NotSupported, NoPermission): New enum and exceptions, to
59         allow old bonobo-stream interfaces to be deprecated in the next
60         release.
61
62         * idl/Accessibility_Text.idl:
63         (getAttributeValue): New method, allows query-by-name of single
64         attributes.
65
66         * libspi/accessible.c:
67         Added support for new roles.  Implemented new methods
68         (impl_accessibility_accessible_get_application): New
69         (impl_accessibility_accessible_get_attributes): New
70
71         * libspi/component.c:
72         (impl_accessibility_component_get_alpha): New.
73
74         * libspi/image.c:
75         (impl_accessibility_image_get_locale): New.
76
77         * libspi/relation.c: Added support for new relation type.
78
79         * libspi/stateset.c: Added support for new state types.
80
81         * libspi/text.c: 
82         (impl_getAttributeValue): New.
83         
84         * libspi/util.c:
85         New prototypes for private methods
86         spi_init_any_nil,
87         spi_init_any_object, spi_init_any_string,
88         spi_init_any_rect.
89         
90         * libspi/spi_event.c: 
91         Use EventDetails in the event emission methods.
92
93         * cspi/spi-private.h:
94         (cspi_role_from_spi_role): Expose this adapter method, since
95         we need it in the bridge (see below).
96
97         * cspi/spi.h:
98         (AccessibleEvent_getSourceName):
99         (AccessibleEvent_getSourceRole):
100         (AccessibleEvent_getSourceApplication):
101         (AccessibleEvent_getSourceDetails):
102         New methods for interrogating/demarshalling
103         event details (i.e. source's accessible name, role, 
104         and host app).
105
106         * cspi/spi_accessible.c: Use cspi_role_from_spi_role.
107         Make use of the new EventDetails struct in events, if present.
108         (AccessibleEvent_getSourceName)
109         (AccessibleEvent_getSourceRole)
110         (AccessibleEvent_getSourceApplication)
111         (AccessibleEvent_getSourceDetails): Implement the newly exposed
112         methods from spi.h.
113         (Accessible_getAttributes): New, wraps
114         Accessibility_Accessible_getAttributes.
115         (Accessible_getHostApplication): New, wraps
116         Accessibility_Accessible_getApplication.
117
118         * cspi/spi_image.c:
119         (AccessibleImage_getImageLocale): New wrapper for
120         Accessibility_Image_get_imageLocale.
121
122         * cspi/spi_component.c:
123         (AccessibleComponent_getAlpha): New wrapper for
124         Accessibility_Component_getAlpha.
125         
126         * atk-bridge/bridge.c:
127         Use new prototyped for init_any methods.
128         (spi_atk_bridge_init_nil, spi_atk_bridge_init_object)
129         (spi_atk_bridge_init_string, spi_atk_bridge_init_rect)
130         (spi_atk_bridge_init_base): Wrappers
131         for spi_init_any_* methods, due to refactor; include extended
132         information in the Accessibility_EventDetails struct, for instance
133         accessible-name, Role, and containing Application.
134
135         * registryd/registry.c: 
136         Use new event emission (with EventDetails).
137         
138         * registryd/deviceeventcontroller.c:
139         Use new event emission (with EventDetails).
140
141 2006-01-09  Kjartan Maraas <kmaraas@gnome.org>
142
143         * configure.in: Generate po/Makefile.in
144         * cspi/spi_main.c: Add #ifdef PRINT_LEAKS around a function
145         * cspi/spi_streamablecontent.c: 
146         (accessible_bonobo_stream_client_seek),
147         (AccessibleStreamableContent_seek): Remove unused vars.
148         * libspi/application.c: Missing header.
149         * libspi/text.c: (impl_getDefaultAttributes): Unused vars
150         * login-helper/login-helper.c: (login_helper_finalize),
151         (login_helper_init): Remove unused stuff
152         * registryd/deviceeventcontroller.c: (spi_dec_replace_map_keysym),
153         (spi_dec_init_mouse_listener), (is_key_released): Remove unused vars
154         and surround some with #ifdef GRAB_BUTTON.
155         * test/event-listener-test.c: (main), (report_event),
156         (report_caret_event), (report_detail_event),
157         (report_detail1_event), (report_bounds_event), (report_text_event),
158         (report_text_selection_event),
159         (report_active_descendant_changed_event),
160         (report_children_changed_event), (report_name_changed_event),
161         (report_description_changed_event), (report_parent_changed_event),
162         (report_window_event), (report_table_summary_event),
163         (report_table_header_event), (report_table_caption_event),
164         (report_table_row_description_event),
165         (report_table_column_description_event), (timing_test_event):
166         Remove a bunch of unused variables and fix a slew of format specifiers
167         * test/key-listener-test.c: (report_all_key_event): Format specifier
168         * test/keypad-test.c: (print_key_event): Same
169         * test/login-helper-server-test.c: (main): Include gtkmain.h and remove
170         unused var.
171         * test/screen-review-test.c: (main), (print_chunk_debug),
172         (review_buffer_get_text_chunk), (debug_chunk_list),
173         (string_guess_clip), (text_chunk_get_clipped_string),
174         (text_chunk_list_to_string), (get_screen_review_line_at):
175         Remove unused variables and fix format specifiers.
176         * test/simple-at.c: (report_text_event): Format specifier fix.
177         * test/stress-test.c: (main): Remove unused var.
178
179 2005-12-29  Abel Cheung  <maddog@linuxhall.org>
180
181         * configure.in: Add zh_HK, zh_TW to ALL_LINGUAS
182         (yes I know that's useless)
183
184 2005-11-20  Theppitak Karoonboonyanan  <thep@linux.thai.net>
185
186         * configure.in: Added "th" (Thai) to ALL_LINGUAS.
187
188 2005-11-17  Michael Meeks  <michael.meeks@novell.com>
189
190         * atk-bridge/bridge.c (spi_atk_emit_eventv): 
191         urgh-fix embarassing typo.
192
193 2005-11-16  Michael Meeks  <michael.meeks@novell.com>
194
195         * atk-bridge/bridge.c (spi_atk_emit_eventv):
196         do a faster, less problematic _unref call on this local
197         object, rather than a slower (potentially cross-thread
198         complicated) CORBA call.
199
200 2005-11-02  Kjartan Maraas  <kmaraas@gnome.org>
201
202         * atk-bridge/bridge.c: (spi_atk_bridge_signal_listener):
203         * cspi/spi_streamablecontent.c: (AccessibleStreamableContent_seek):
204         * registryd/deviceeventcontroller.c:
205         (spi_controller_notify_mouselisteners),
206         (impl_generate_keyboard_event):
207         * test/screen-review-test.c: (chunk_bounds_within):
208         * test/test-simple.c: (test_desktop): Remove some unused code
209         and fix compiler warnings. Closes bug #320049.
210
211 2005-10-27 Bill Haneman <bill.haneman@sun.com>
212
213         * registryd/deviceeventcontroller.c:
214         (spi_controller_notify_keylisteners): Check
215         to make sure the event listener has requested 'preemptive'
216         status before pre-empting an event.
217         
218 2005-08-29 Bill Haneman <bill.haneman@sun.com>
219
220         * configure.in, README, NEWS: Release 1.6.5.
221         
222 2005-07-25  Matthias Clasen  <mclasen@redhat.com>
223
224         * test/window-listener-test.c: Fix a printf
225         format error.  (#169453)
226
227 2005-07-15  Bill Haneman <bill.haneman@sun.com>
228
229         * tests/test-simple.c: 
230         (key_listener_cb): Ensure that the keystring is dup'ed instead of
231         relying on the old string from the key event hanging around after
232         the event handler returns.  Fixes broken 'make check'.
233         
234 2005-06-06  Swapnil Hajare  <dreamil@gmail.com>
235
236         * Added Marathi (mr_IN) translations.
237
238 2005-05-27  Kjartan Maraas  <kmaraas@gnome.org>
239
240         * cspi/bonobo/cspi-bonobo-listener.c:
241         (cspi_event_list_remove_by_cb): Fix the build.
242
243 2005-05-26  Michael Meeks  <michael.meeks@novell.com>
244
245         * cspi/bonobo/cspi-bonobo-listener.c
246         (cspi_event_list_remove_by_cb): actually filter by callback.
247
248 2005-05-25  Bill Haneman <bill.haneman@sun.com>
249
250         * registryd/registry.c (remove_listener_cb):
251         Make deregistration filter rules match the event emission rules.
252
253 2005-05-25  Michael Meeks  <michael.meeks@novell.com>
254
255         * registryd/registry.c (remove_listener_cb),
256         (impl_accessibility_registry_deregister_global_event_listener),
257         (impl_accessibility_registry_deregister_global_event_listener_all): 
258         pass a closure to the remove callback to filter listeners more
259         accurately on remove.
260
261 2005-04-05  Bill Haneman <bill.haneman@sun.com>
262
263         * configure.in: Revved to 1.6.4.
264         Remember to put quotes around XEVIE_LIBS assignment.
265         Fixed one of tertiary AC_CHECK_HEADER tests for XEvie.
266         Fixes bug #303694.
267
268         * tests/event-listener-test.c: Tweaked the tests - more detail
269         from caret events, and some interrogation of AccessibleText APIs.
270         Commented-out the bounds-changed events by default, since they can
271         be very noisy.
272
273 2005-04-14  Kjartan Maraas  <kmaraas@gnome.org>
274
275         * atk-bridge/bridge.c: (spi_atk_emit_eventv): Plug a leak.
276         * cspi/bonobo/cspi-bonobo-listener.c: (cspi_device_event):
277         Same here. Closes bug #167806
278
279 2005-04-05  Bill Haneman <bill.haneman@sun.com>
280
281         * atk-bridge/bridge.c: 
282         (spi_atk_bridge_signal_listener):
283         Free the any._value if any._release is TRUE,
284         since the ORB won't do it for us in this case
285         [because this method is not a skel].
286         Fix for bug #168679.    
287         
288 2005-03-30  Steve Murphy  <murf@e-tools.com>
289
290         * configure.in: Added "rw" to ALL_LINGUAS.
291
292 2005-03-29  Bill Haneman <bill.haneman@sun.com>
293
294         * configure.in: Improved check for HAVE_XEVIE, to detect 
295         presence on XOrg, where -lXevie is a separate library.
296
297 2005-03-08  Bill Haneman <bill.haneman@sun.com>
298
299         * configure.in, NEWS, README: Revved to 1.6.3.
300
301 2005-02-16  Adi Attar  <aattar@cvs.gnome.org>
302
303         * configure.in: Added "xh" to ALL_LINGUAS.
304
305 2005-02-07  Bill Haneman <bill.haneman@sun.com>
306
307         * atk-bridge/bridge.c: 
308         (atk_bridge_init): Added missing NULL in g_strconcat(),
309         also check for symlink before logging to 
310         insecure directory.  Thanks to meissner@suse.de.
311
312 2005-01-25  Padraig O'Briain <padraig.obriain@sun.com>
313
314         * tests/login-helper-server-test.c: Add return call to main
315         function. Patch from Chris Lahey. Fixes bug #165129.
316
317 2004-12-20  Padraig O'Briain <padraig.obriain@sun.com>
318
319         * cspi/spi.h: Add description for SPI_RELATION_SUBWINDOW_OF.
320
321 2004-12-09  Bill Haneman <billh@gnome.org>
322
323         * registryd/registry-main.c:
324         Added #define <string.h> for strrchr. (bug 160862).
325         Thanks to Vincent Berger for catching.
326         
327 2004-12-09  Padraig O'Briain <padraig.obriain@sun.com>
328
329         * atk-bridge/bridge.c (spi_atk_get_registry): Do not attempt to
330         restart registry process if the registry process is found to have died
331         and the current process is exiting.
332         (spi_atk_bridge_exit_func): Do not attempt to deregister the
333         application if the registry process has died.
334         (spi_atk_emit_eventv): Return if call to spi_atk_get_registry
335         does not return a registry object.
336         (spi_atk_tidy_windows): Give up if the registry process has died.
337
338         This fixes problems with hangs and crashes when logging out.
339
340 2004-12-03  Padraig O'Briain <padraig.obriain@sun.com>
341
342         * registryd/desktop.c: Add checking that we are not exiting before
343         calling spi_desktop_remove_application in 
344         abnormal_application_termination. Fix for bug #152147.
345
346 2004-12-02  Bill Haneman <billh@gnome.org>
347
348         * configure.in, NEWS, README: Revved to 1.6.1.
349         
350         Patch from Padraig O'Briain <padraig.obriain@sun.com>
351         * atk-bridge/bridge.c:
352         (atk_bridge_init): Save the pid when we start, to detect forks.
353         (spi_atk_bridge_exit_func): Don't call the cleanup routines
354         if we're in a forked pid.
355         
356 2004-10-09  Bill Haneman <billh@gnome.org>
357
358         * idl/Accessibility_LoginHelper.idl:
359         Improved inline documentation.
360
361 2004-10-02  Jesus Bravo Alvarez  <suso@trasno.net>
362
363         * configure.in: Added gl (Galician) to ALL_LINGUAS
364
365 2004-09-30  Kjartan Maraas  <kmaraas@gnome.org>
366
367         * libspi/accessible.c:
368         (impl_accessibility_accessible_get_role_name),
369         (impl_accessibility_accessible_get_local_role_name):
370         NULL vs. 0 cleanups.
371         * libspi/component.c:
372         (impl_accessibility_component_get_accessible_at_point):
373         Same here.
374         * libspi/eventlistener.c: (spi_event_listener_new):
375         ANSIfication.
376         * libspi/stateset.c: (impl_compare): More of the same
377         * libspi/table.c: (impl_getRowDescription): Again.
378         * registryd/desktop.c: (spi_atk_desktop_get_type): Same
379         * registryd/deviceeventcontroller.c: (spi_clear_error_state),
380         (impl_generate_keyboard_event): Same.
381         * registryd/registry-main.c: (main): Same
382         * test/event-listener-test.c: (test_exit): Same
383         * test/keysynth-demo.c: (scan_state), (create_vkbd): Same
384         * test/keysynth-test.c: (test_key_synthesis): Same
385         * test/login-helper-server-test.c: (main): Fix warning.
386         * test/screen-review-test.c: (test_exit): Fix include.
387         * test/simple-at.c: (simple_at_exit), (_festival_init):
388         ANSIfication.
389
390 2004-09-13  Padraig O'Briain <padraig.vriain@sun.com>
391
392         * configure.in, NEWS, README: Revved to 1.6.0.
393
394 2004-09-12  Bill Haneman <bill.haneman@sun.com>
395
396         * configure.in: Rev and re-dist, since the 1.5.4 tarball
397         was missing the HTML docs.
398
399 2004-09-12  Tomasz KÅ‚oczko <kloczek@pld.org.pl>
400
401         * configure.in: only cleanups:
402         - better looking PKG_CHECK_MODULES() output,
403         - justification,
404         - declare in one common place required versions of other tools using
405           m4_define().
406
407 2004-09-11  J.H.M. Dassen (Ray) <jdassen@debian.org>
408
409         * configure.in: libspi/accessible.c uses ATK_ROLE_EMBEDDED
410         (unconditionally) which was introduced in ATK 1.7.2. Bumped the
411         required ATK version accordingly.
412
413 2004-09-03 Bill Haneman    <bill.haneman@sun.com>
414
415         * cspi/bonobo/cspi-bonobo.c:
416         (cspi_display_name): Fix C99ism.
417         * atk-bridge/bridge.c:
418         (spi_display_name): Fix C99ism.
419         Patch from Jens Granseuer, jensgr@gmx.net.
420         
421 2004-09-03  Gora Mohanty  <gmohanty@cvs.gnome.org>
422  
423         * configure.in: Added "or" to ALL_LINGUAS.
424
425 2004-08-20  Bill Haneman    <bill.haneman@sun.com>
426
427         * configure.in, NEWS, README: Revved to 1.5.4.
428         
429         * registryd/registry-main.c:
430         (main): Set the reg_env to use AT_SPI_DISPLAY instead of
431         $DISPLAY.  
432         
433         * cspi/bonobo/cspi-bonobo.c:
434         (cspi_display_name): New convenience method, gets DISPLAY with
435         screen number stripped, if AT_SPI_DISPLAY isn't already set.
436         (cspi_init): Set the activation env value above before getting
437         the registry.
438         
439         * atk-bridge/bridge.c:
440         (spi_display_name): Create the AT_SPI_DISPLAY activation
441         environment for an app, based on the DISPLAY environment with the
442         screen number stripped off.
443         (atk_bridge_init):  Allow redirection of error messages to a log.
444         (spi_atk_bridge_get_registry): Call
445         bonobo_activation_set_activation_env_value for AT_SPI_DISPLAY.
446
447         Fixes for bugs #149962, #136986, #144086.
448         
449 2004-08-16  Christian Rose  <menthos@menthos.com>
450
451         * configure.in: Added "bs" to ALL_LINGUAS.
452
453 2004-08-12  Kjartan Maraas  <kmaraas@gnome.org>
454
455         * configure.in: Added nb to ALL_LINGUAS.
456
457 2004-09-03 Bill Haneman <bill.haneman@sun.com>
458
459         * cspi/spi_main.c:
460         (SPI_init): Return error code '2' if the activated
461         registry cannot be pinged. Fixes bug #147648.
462         
463 2004-07-28 Bill Haneman <bill.haneman@sun.com>
464
465         * registryd/deviceeventcontroller.c:
466         (spi_dec_init_mouse_listener): Don't do XGrabButton, 
467         rely on timer-poll instead, to avoid conflict with 
468         xstroke.
469         
470 2004-07-20  Bill Haneman <bill.haneman@sun.com>
471
472         * configure.in: Revved to 1.5.3.
473
474         * idl/Accessibility_Role.idl: Added ROLE_EMBEDDED (bug #144415).
475
476         * libspi/accessible.c: Added support for ROLE_EMBEDDED.
477
478         * cspi/spi_accessible.c: Support for ROLE_EMBEDDED.
479
480         * cspi/spi-roletypes.h: Added SPI_ROLE_EMBEDDED.
481         
482 2004-06-11  Bill Haneman <bill.haneman@sun.com>
483
484         * atk-bridge/bridge.c:
485         (spi_atk_bridge_do_registration): 
486         Register with ATK for AtkComponent:bounds-changed events.
487         (api_atk_bridge_signal_listener): 
488         Marshal the AtkRectangle info into the event notification
489         for object:bounds-changed events.
490         
491         * libspi/util.c:
492         (spi_init_any_rect): New method, inits a corba struct of
493         type Accessibility_BoundingBox from an AtkRectangle.
494
495         * libspi/spi-private.h: Declared spi_init_any_rect (above).
496         
497         * cspi/spi.h:
498         (SPIRect): New struct definition.
499         (SPI_freeRect): New declaration.
500         (AccessibleBoundsChangedEvent_getNewBounds): New, see below.
501
502         * cspi/spi_event.c:
503         (AccessibleBoundsChangedEvent_getNewBounds): New method,
504         implemented.  Gets the bounding box data from the CORBA_any
505         associated with a bounds-changed event notification.
506         (cspi_internal_event_get_rect): New, used internally by above method.
507         
508         * cspi/spi_main.c:
509         (SPI_freeRect): Implemented this new method, for freeing
510         SPIRect structs.
511         
512         * test/event-listener-test.c:
513         (main, report_bounds_event):
514         Added a test for object:bounds-changed events.
515         
516 2004-06-01  Bill Haneman <bill.haneman@sun.com>
517
518         * test/login-helper-server-test.c:
519         (main): Fix C99-ism.  Thanks to Jens Granseuer.
520         
521 2004-05-28  Padraig O'Briain <padraig.obriain@sun.com>
522
523         * libloginhelper-1.0.pc.in:
524         * idl/Accessibility_LoginHelper.idl: 
525         * login-helper/Makefile.am:
526         * login-helper/login-helper.[ch]:
527         * test/login-helper-client-test.c:
528         * test/login-helper-server-test.c: Added files missing from CVS.
529         Files obtained from at-spi-1.5.2 tarball.
530
531 2004-05-27  Bill Haneman <bill.haneman@sun.com>
532
533         * configure.in: Create login-helper/Makefile.  
534         Incremented micro version.
535
536         * Makefile.am:  Add login-helper subdir and pkgconfig data.
537         
538         * login-helper: New subdir.
539
540         * libloginhelper-1.0.pc.in: New.
541
542         * idl/Accessibility_LoginHelper.idl: New file, defines
543         interface whereby authentication clients can identify agents which
544         need access to services during the login process, e.g. screen lock
545         dialogs, etc.
546
547         * login-helper/Makefile.am : New.
548
549         * login-helper/login-helper.[ch] : New, implementation of
550         a LoginHelper base class.  Services needing LoginHelper can subclass.
551
552         * test/Makefile.am : Added test for login-helper, client and
553         server.
554
555         * test/app.c, at.c, keypad-test.c, keysynth-test.c, stress-test.c:
556         Use proper prefix in #include files.
557
558         * test/login-helper-client-test.c: New.
559         
560         * test/login-helper-server-test.c: New.
561
562 2004-05-27  Alexander Shopov <ash@contact.bg>
563
564         * configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
565
566 2004-05-14  Padraig O'Briain <padraig.obriain@sun.com>
567
568         * cspi/spi_main.c (cspi_object_unref): Add check that reference count
569         is positive. This should make it easier to detect inapprorpiate unref
570         calls.
571
572 2004-05-11  James Henstridge  <james@daa.com.au>
573
574         * configure.in: remove GNOME_PLATFORM_GNOME_2 macro, which is a
575         no-op and deprecated.
576
577 2004-05-03  Pablo Saratxaga  <pablo@mandrakesoft.com>
578
579         * configure.in: Added "wa" (Walloon) to ALL_LINGUAS.
580
581 2004-04-28 Bill Haneman <billh@gnome.org>
582
583         * Makefile.am: Added --enable-gtk-doc to
584         DISTCHECK_CONFIGURE_FLAGS; fixes make distcheck.
585         
586 2004-04-19 Bill Haneman <billh@gnome.org>
587
588         * configure.in: Revved to 1.5.1.
589
590         * registryd/deviceeventcontroller.c:
591         #define XK_LATIN1.
592         (DEControllerPrivateData): Added fields for 
593         reserved_keycode, reserved_keysym, and reserved_reset_timeout.
594         (spi_dec_replace_map_keysym): New internal utility for
595         replacing a keysym in the keymap - used to allow
596         synthesis of individual characters which aren't in the
597         current X keymap.
598         (spi_dec_reset_reserved): New; resets the changed keysym value 
599         in the map.
600         (keycode_for_keysym): We now try to deal with failed
601         XKeysymToKeycode requests by changing a keymap value
602         and returning a reserved keycode.  We now take 
603         a DEController pointer as first arg.
604         (spi_controller_register_with_devices): Call XkbGetMap with 
605         the XkbKeySymsMask.  Find the highest keycode in the current
606         keymap which doesn't have any grabs, and mark that one for
607         temporary re-mapping when out-of-range KeySyms are synthesized.
608         (dec_synth_keycode_press): Call XFlush after synthesizing the key
609         event.
610         
611 2004-04-08  Guntupalli Karunakar  <karunakar@freedomink.org>
612
613         * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
614
615 2004-03-24  Alexander Winston  <alexander.winston@comcast.net>
616
617         * configure.in: Added "en_CA" (Canadian English) to ALL_LINGUAS.
618
619 2004-03-24  Bill Haneman <billh@gnome.org>
620
621         * cspi/spi.h:
622         (AccessibleTable_addRowSelection),
623         (AccessibleTable_addColumnSelection),
624         (AccessibleTable_removeRowSelection),
625         (AccessibleTable_removeColumnSelection):
626         Add declarations for spi wrappers which were
627         inadvertantly omitted.  Fixes bug #133413.
628
629         * configure.in:
630         Revved to 1.5.0 (unstable series for GNOME 2.7).
631         
632 2004-03-24  Bill Haneman <billh@gnome.org>
633
634         * atk-bridge/bridge.c:
635         Bracketed some debug output in 
636         conditionals, to avoid printing it in normal use.
637         Fixes bug #136660.
638
639         * libspi/hyperlink.c:
640         Don't cast 'object' to ATK_OBJECT when constructing
641         an AtkAction interface for a hyperlink.
642         See discussion in bug #120659.
643
644         * test/key-listener-test.c:
645         (report_all_key_event): Send output to stderr,
646         not stdout, for consistency with the rest of the test callbacks.
647
648         * configure.in:
649         Add -lXext to XINPUT_LIBS. Fix for bug #132237.
650         Don't add X_LIBS to CFLAGS (Fix for bug #134332).
651         Incremented to 1.4.1 (but didn't dist yet - I'm going to 
652         try incrementing the revision AFTER doing a dist, at least
653         for awhile).
654         
655 2004-03-22  Bill Haneman <billh@gnome.org>
656
657         * configure.in: Revved to 1.4.0, libtool 9.14.9
658
659 2004-03-17  Laszlo Peter  <laca@sun.com>
660
661         * libspi-1.0-uninstalled.pc.in: add idldir
662
663         * cspi-1.0-uninstalled.pc.in: add idldir
664
665 2004-03-16  Gareth Owen <gowen72@yahoo.com>
666
667         * configure.in: Added "en_GB" to ALL_LINGUAS
668
669 2004-03-15  Bill Haneman <billh@gnome.org>
670
671         * configure.in: Revved to 1.3.16, 
672         libtool 9.13.9.
673         
674 2004-03-15  Laszlo Peter  <laca@sun.com>
675
676         * libspi-1.0-uninstalled.pc.in: new file
677
678         * cspi-1.0-uninstalled.pc.in: new file
679
680         * configure.in: add the new pc files to AC_OUTPUT
681
682         * Makefile.am: add the new pc files to EXTRA_DIST
683
684 2004-03-12  Bill Haneman <billh@gnome.org>
685
686         * atk-bridge/bridge.c:
687         (spi_atk_bridge_key_listener):
688         Make sure to return consumed=FALSE if snoop 
689         event is not dispatched to listener.
690         Fixes #134037.
691         
692 2004-03-01  Bill Haneman <billh@gnome.org>
693
694         * configure.in: Revved to 1.3.15, 
695         libtool 9.12.9.
696         
697 2004-03-07  Danilo Segan  <dsegan@gmx.net>
698
699         * configure.in: Added "sr@ije" to ALL_LINGUAS.
700
701 2004-03-03  Guntupalli Karunakar  <karunakar@freedomink.org>
702
703         * configure.in: Added "pa" for Punjabi in ALL_LINGUAS.
704
705 2004-03-01  Bill Haneman <billh@gnome.org>
706
707         * configure.in: Revved to 1.3.14.
708         
709         * cspi/spi_main.c:
710         (SPI_exit): Removed "bye-bye" exit message.
711         Moved "leak" report to happen before the
712         iteration over the leaked refs list.
713         Don't PRINT_LEAKS unless DEBUG_OBJECTS is also #defined.
714         
715 2004-02-24  Bill Haneman <billh@gnome.org>
716
717         * configure.in: Revved to 1.3.13.
718
719         * docs/reference/cspi/Makefile.am:
720         Correct typo that was breaking the docs build.
721
722 2004-02-11  Padraig O'Briain <padraig.obriain@sun.com>
723
724         * autogen.sh: Require version 1.7 of automake.
725         
726         * configure.in: call GTK_DOC_CHECK([1.0])
727
728         * atk-bridge/Makefile.am: Remove use of LDFLAGS and CFLAGS
729
730         * docs/reference/cspi/Makefile.am: Update to use new gtk-doc.
731
732         * libspi/Makefile.am: Remove use of LDFLAGS and CFLAGS.
733
734         * test/Makefile.am:  Remove use of CFLAGS.
735
736         This fixes bug #132987.
737
738 2004-02-11  Bill Haneman <billh@gnome.org>
739
740         * reverted most of Tomasz' patch below, since it was breaking
741         builds (see bug #134058).
742         
743 2004-02-10  Tomasz KÅ‚oczko <kloczek@pld.org.pl>
744
745         * docs/reference/cspi/at-spi-cspi.types: added empty file for
746           correct pass "make dist" (empty .. because seems no sach types in
747           header files with gtk-doc markups).
748         * docs/reference/cspi/Makefile.am, configure.in:
749           Added better gtk-doc support using GTK_DOC_CHECK aclocal macro
750           from gtk-doc >= 1.0 (modyfications based on scheme from atk).
751         * Makefile.am: added:
752           DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
753           for force correct pass generate documentation on "make distcheck".
754         * libspi/Makefile.am: fixes for automake >= 1.6.
755         * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS),
756           AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are
757           substed by default.
758
759 Sun Feb  8 11:20:50 2004  Matthias Clasen  <maclas@gmx.de>
760
761         * docs/reference/cspi/Makefile.am (install-data-local): Install
762         index.sgml since the doc autobuilder on widget.gnome.org looks for
763         that file.
764
765 2004-02-02  Padraig O'Briain  <padraig.obriain@sun.com>
766
767         * atk-bridge/bridge.c (spi_atk_tidy_windows): Correct g_free call to
768         g_object_unref.
769
770 2004-02-01  Robert Sedak  <robert.sedak@sk.htnet.hr>
771
772         * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
773
774 2004-01-27  Brian Cameron <brian.cameron@sun.com>
775
776         * test/simple-at.c: Fixed null string problems that cause core
777           dumping problems on Solaris.
778
779 2004-01-12  Bill Haneman <billh@gnome.org>
780         
781         * configure.in: Incremented version to 1.3.11.
782
783 2004-01-05  Padraig O'Briain  <padraig.obriain@sun.com>
784
785         * docs/reference/cspi/at-spi-cspi-docs.sgml: Added XML in
786         DOCTYPE statement. Fixes bug #129728. Patch supplied by Sebastien
787         Bacher.
788
789 2004-01-01  Roozbeh Pournader  <roozbeh@sharif.edu>
790
791         * configure.in: Added "fa" to ALL_LINGUAS.
792
793 2003-12-20  Arafat Medini <lumina@silverpen.de>
794
795         * configure.in: Added "ar" to ALL_LINGUAS
796
797 2003-12-16      Bill Haneman <billh@gnome.org>
798
799         * registryd/registry-main.c:
800         (main):
801         Set the reg_env DISPLAY variable before registering the
802         activated registry service.  Fixes bug #129479.
803
804 2003-12-16      Mohammad DAMT  <mdamt@bisnisweb.com>
805
806         * configure.in: Added "id" in ALL_LINGUAS
807         * po/id.po: Indonesian translation by Ahmad Riza H Nst <ari@160c.afraid.org>
808
809 2003-12-15  Padraig O'Briain <padraig.obriain@sun.com>
810
811         * registryd/deviceeventcontroller.c (global_filter_fn):
812         When an event is consumed discard any XEvents were added to
813         the queue while dealing with the the event. This can happen if
814         processing of the event takes a long time. Call XUngrabKeyboard
815         if an event was discarded. This fixes bug $124837.
816         Only call wait_for_release_event for a KeyPress.
817         Use local variable display instead of spi_get_display().
818         (spi_controller_update_key_grabs): Move call to keycode_for_keysym
819         outside for loop.
820
821 2003-12-11  Padraig O'Briain <padraig.obriain@sun.com>
822
823         * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
824         Allow for mask to contain values other than NumLock mask.
825         Fixes bug #129103.
826
827 2003-12-10  Padraig O'Briain <padraig.obriain@sun.com>
828
829         * registryd/devieceventcontroller.c:
830         (wait_for_release_event): Change first parameter from GdkEvent to 
831         XEvent.
832         (global_filter_fn); Correct call to wait_for_release_event.
833
834         Fixes bug #128912.
835
836 2003-12-08  Bill Haneman <billh@gnome.org>
837
838         Version 1.3.10.
839
840         * registryd/ucs2keysym.c: New file.
841
842         * registryd/deviceeventcontroller.c:
843         (dec_keysym_for_unichar): Remove old partial implementation and
844         replace with call to ucs2keysym(), which is much more complete.
845         Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
846         the public domain.
847
848         Fixes bug #128824.
849
850 2003-12-05  Bill Haneman <billh@gnome.org>
851
852         * configure.in: Version 1.3.9.
853
854         * docs/reference/cspi/tmpl/spi_registry.sgml:
855         Added reference to libspi/keymasks.h to the
856         description of Registry queries: AccessibleKeyMaskType.
857         Fixes bug #118103.
858
859 2003-12-04  Bill Haneman <billh@gnome.org>
860
861         Fix for bug #121974.
862         
863         * idl/Accessibility_Application.idl:
864         (Accessibility::LOCALE_TYPE): New enum, corresponds to
865         setlocale's LC_TYPEs.
866         (Accessibility::Application::getLocale): New method.
867         Allows clients to query the locale, by type, of an app.
868         
869         * cspi/spi.h:
870         * cspi/spi_application.c:
871         (AccessibleApplication_getLocale): New method, wraps IDL above.
872
873         * libspi/application.c:
874         (spi_application_class_init): Init epv entry for getLocale.
875         (impl_accessibility_application_get_locale): Impl for above.
876
877         * test/test-simple.c:
878         (test_application): Added assertion for getLocale, i.e.
879         that the string from AccessibleApplication_getLocale (app, type) 
880         is the same as that from setlocale (type, NULL);
881
882 2003-12-03  Padraig O'Briain <padraig.obriain@sun.com>
883
884         *registryd/deviceeventcontroller.c: Add an idle handler which polls
885         the keyboard on a timeout intil the key state goes from pressed to
886         released. Fixes bug #111429.
887
888 2003-12-03  Padraig O'Briain <padraig.obriain@sun.com>
889
890         * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application 
891         root object so that it is present when a context menu in an 
892         out-of-process applet is popped up.
893         (spi_atk_bridge_do_registration): Create acceessible application root
894         object only if it does not exist.
895
896         This fixes bug #125834.
897
898 2003-12-01  Bill Haneman <billh@gnome.org>
899
900         Fix for bug #114926.  Thanks to Michael Meeks for some of this patch.
901
902         * cspi/spi.h:
903         Added enum for AccessibleStreamableContentSeekType.
904         (AccessibleStreamableContent_freeContentTypeList): New.
905         
906         * cspi/spi_streamablecontent.c:
907         (accessible_bonobo_stream_client_seek): New private method.
908         (AccessibleStreamableContent_seek): Implemented this method,
909         using Bonobo_Stream_seek.
910         (AccessibleStreamableContent_freeContentTypeList): New method
911         for freeing the return value from 
912         AccessibleStreamableContent_getContentTypes.
913         (stream_cache_item_free): Replaces stream_release; stop leaks.
914         (stream_release): removed.
915         (AccessibleStreamableContent_read): Use properly init'd CORBA_evs, 
916         free the memory properly.
917
918 2003-12-02  Padraig O'Briain <padraig.obriain@sun.com>
919
920         Fix for bug #116009.
921
922         * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
923
924         * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
925
926         * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
927
928         * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
929
930 2003-12-01  Bill Haneman <billh@gnome.org>
931
932         Fix for bug/rfe #127463.
933         
934         * idl/Accessibility_Accessible.idl:
935         (getLocalizedRoleName): New.
936         (unimplemented4): Removed (replaced by above).
937
938         * libspi/accessible.c:
939         (impl_accessibility_accessible_get_local_role_name): New.
940         (spi_accessible_class_init): Add getLocalizedRoleName entry to
941         epv.
942         
943         * cspi/spi.h:
944         (Accessible_getLocalizedRoleName): New.
945
946         * cspi/spi_accessible.c:
947         (Accessible_getLocalizedRoleName): New.
948         
949 2003-12-01  Bill Haneman <billh@gnome.org>
950         
951         Fix for bug #118581.
952         * idl/Accessibility_Text.idl:
953         (getDefaultAttributes): New.
954         (unimplemented4): Removed (replaced by above method).
955
956         * libspi/text.c:
957         (impl_getDefaultAttributes): New method.
958         (spi_text_class_init):
959         initialize the get_default_attributes slot in the epv.
960
961         * cspi/spi.h:
962         (AccessibleText_getDefaultAttributes): New prototype.
963
964         * cspi/spi_text.c:
965         (AccessibleText_getDefaultAttributes): New method.
966
967 2003-11-06  Padraig O'Briain <padraig.obriain@sun.com>
968
969         * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
970         write beyond the end of the table. Fixes bug #120473.
971
972 2003-09-30  Christian Rose  <menthos@menthos.com>
973
974         * configure.in: Added "eu" to ALL_LINGUAS.
975
976 2003-09-28  Kjartan Maraas  <kmaraas@gnome.org>
977
978         * configure.in: ALL_LINGUAS: Added no.
979
980 2003-09-28  Gediminas Paulauskas  <menesis@delfi.lt>
981
982     * configure.in: Added lt to ALL_LINGUAS.
983
984 2003-09-25  Padraig O'Briain <padraig.obriain@sun.com>
985
986         * atk-bridge/bridge.c:
987         (atk_bridge_init): Register event listeners always even for 
988         out-of-process applet.
989         (spi_atk_bridge_toplevel_added): Remove call to 
990         spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
991         (spi_atk_bridge_toplevelk_removed): Remove call to 
992         spi_atk_deregister_event_listenersa as the listeners are now always
993         registered
994         (spi_atk_bridge_register_application): Remove call to
995         spi_atk_register_event_listeners as it is not done in atk_bridge_init
996
997         This fixes bug #120991.
998
999         * libspi/table.c (impl_getColumnDescription): Correct typo,
1000         pointed out by Bolian.Yin@sun.com.
1001
1002 2003-09-21  Ãƒ\85smund Skjæveland  <aasmunds@fys.uio.no>
1003
1004         * configure.in: Added nn to ALL_LINGUAS (which is commented out).
1005
1006 2003-09-08  Bill Haneman <billh@gnome.org>
1007
1008         * configure.in: Revved to 1.3.7.
1009
1010         This is the GNOME 2.4.0 release of at-spi.
1011
1012         * docs/reference/cspi/Makefile.am:
1013         Removed spurious inclusion of 'index.sgml' in the
1014         html directory; this was breaking make distcheck and
1015         also some other build environments.
1016
1017 2003-09-05  Padraig O'Briain <padraig.obriain@sun.com>
1018
1019         * registryd/registry.[ch}:
1020         Add queue_handler_id and focus_object to SpiRegistry data structure.
1021         (registry_flush_event_queue): If event being discarded is 
1022         "state-change:focused" store object as focus_object.
1023         (registry_start_queue): Remove queue handler and focus object
1024         if present.
1025         (registry_discard_event): New function which discards a focus event
1026         if we had stored focus object in the registry.
1027         (registry_queue_event): Add new check that is_queueing is set as this
1028         function is reentrant.
1029         (registry_filer_event): Add call to registry_discard_event.
1030         
1031         This resolves issues raised in bug #108664.
1032         
1033 2003-09-05  Taneem Ahmed  <taneem@bengalinux.org>
1034
1035         * configure.in: Added "bn" to ALL_LINGUAS.
1036
1037 2003-09-04  Bill Haneman <billh@gnome.org>
1038
1039         * cspi/spi_event.c: Documentation improvements for
1040         (SPI_registerAccessibleKeylistener).
1041
1042         * docs/reference/tmpl/spi_registry.sgml:
1043         Documentation improvements for SpiAccessibleKeylistenerCB.
1044
1045 2003-09-02  Mugurel Tudor  <mugurelu@go.ro>
1046
1047         * configure.in: Added "ro" to ALL_LINGUAS.
1048
1049
1050 2003-09-01  Padraig O'Briain <padraig.obriain@sun.com>
1051
1052         * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
1053         not decremented to zero. Fixes bug #120725.
1054
1055 2003-08-30  KAMAGASAKO Masatoshi  <emerald@gnome.gr.jp>
1056
1057         * configure.in: Added "ja" to ALL_LINGUAS.
1058
1059 2003-08-22  Samúel Jón Gunnarsson  <sammi@techattack.nu>
1060
1061         * configure.in: Added "is" to ALL_LINGUAS.
1062         
1063 2003-08-22  Christian Rose  <menthos@menthos.com>
1064
1065         * configure.in: Added "nl" to ALL_LINGUAS.
1066
1067 2003-08-19  Padraig O'Briain <padraig.obriain@sun.com>
1068
1069         * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
1070         * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
1071         to return a value.
1072         * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
1073         arguments.
1074         * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
1075         type for unspecified exception.
1076         * cspi_streamablecontect): Add include of string.h for memcpy.
1077         (stream_release): Correct call to bonobo_object_release_unref
1078         (stream_cache_item_free): Correct call to bonobo_object_release_unref
1079         * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
1080         argument of _cspi_expection_throw.
1081         * libspi/hyperlink.c: Add include of libspi/action.h:
1082         (spi_hyperlink_new): Cast argument to spi_action_interface_new.
1083         * libspi/streamablecontent.c: add include of libspi/component.h.
1084         * regisrtyd/deviceeventcontroller.c:
1085         (spi_dec_translate_mask): Removed unused variable priv.
1086         (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
1087         * registryd/registry.c:
1088         (registry_filter_event): Remove unused variable queue_is-empty.
1089         (impl_registry_notify_event): Use correct modifier in fprintf call.
1090
1091         This fixes compiler warnings reported in bug #120220.
1092         
1093 2003-08-18  Padraig O'Briain <padraig.obriain@sun.com>
1094
1095         * registryd/registryd.c: Remove this file.
1096
1097 2003-08-17  Sanlig Badral  <badral@openmn.org>
1098
1099         * configure.in: Added mn to ALL_LINGUAS.
1100
1101 2003-08-16  Tõivo Leedjärv  <toivo@linux.ee>
1102
1103         * configure.in: Added et to ALL_LINGUAS.
1104
1105 2003-08-13  Padraig O'Briain <padraig.obriain@sun.com>
1106
1107         * test/event-listener-test.c: Change active-descendant to 
1108         active-descendant-changed.
1109
1110 2003-08-10  Sami Pesonen  <sampeson@iki.fi>
1111
1112         * configure.in: Added "fi" in ALL_LINGUAS.
1113
1114 2003-08-08  Guntupalli Karunakar  <karunakar@freedomink.org>
1115
1116         * configure.in: Added "hi" in ALL_LINGUAS.
1117
1118 2003-08-08  Padraig O'Briain <padraig.obriain@sun.com>
1119
1120         * configure.in: Revved to 1.3.6.
1121
1122         * NEWS: updated.
1123         
1124 2003-08-07  Padraig O'Briain <padraig.obriain@sun.com>
1125
1126         * registryd/deviceeventcontroller.c
1127         (spi_device_event_controller_object_finalize): Fix typo in previous 
1128         commit.
1129
1130 2003-08-07  Marc Mulcahy  <marc.mulcahy@sun.com>
1131
1132         * registryd/deviceeventcontroller.c
1133         (spi_device_event_controller_object_finalize): Fix build on
1134         systems without XEvIE.
1135         
1136 2003-08-06  Brian Cameron <Brian.Cameron@sun.com>
1137
1138         * acconfig.h, configure.in, registryd/Makefile.am,
1139           registryd/devicecontoller.[ch]: Add XEViE support.
1140
1141 2003-08-06  Wang Jian  <lark@linux.net.cn>
1142
1143         * configure.in: Added "zh_CN" to ALL_LINGUAS.
1144
1145 2003-08-06  Metin Amiroff<metin@karegen.com>
1146
1147         * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
1148
1149 2003-08-06  Padraig O'Briain <padraig.obriain@sun.com>
1150
1151         * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
1152         MODIFIER_ALT in correct place. 
1153
1154         This fixes part of bug #118114.
1155
1156 2003-07-30  Alessio Frusciante  <algol@firenze.linux.it>
1157
1158         * configure.in: Added "it" (Italian) to ALL_LINGUAS.
1159
1160 2003-07-28  Changwoo Ryu  <cwryu@debian.org>
1161
1162         * configure.in: Added "ko" to ALL_LINGUAS.
1163
1164 2003-07-28  Ole Laursen  <olau@hardworking.dk>
1165
1166         * configure.in: Added "da" to the commented out ALL_LINGUAS.
1167
1168 2003-07-27  Laurent Dhima  <laurenti@alblinux.net>
1169
1170         * configure.in: Added "sq" to ALL_LINGUAS.
1171
1172 2003-07-27  Hasbullah Bin Pit  <sebol@ikhlas.com>
1173                                                                                 
1174         * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
1175
1176 2003-07-24  Pablo Saratxaga  <pablo@mandrakesoft.com>
1177
1178         * configure.in: updated ALL_LINGUAS list
1179
1180 2003-07-24  Dmitry G. Mastrukov  <dmitry@taurussoft.org>
1181
1182         * configure.in: Added Belarusian to ALL_LINGUAS.
1183
1184 2003-07-23  Padraig O'Briain <padraig.obriain@sun.com>
1185
1186         * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
1187         event->data.
1188         * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call 
1189         CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
1190
1191         This fixes bug #116949.
1192
1193 2003-07-22  Padraig O'Briain <padraig.obriain@sun.com>
1194
1195         * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
1196         Correct CSPI to SPI in function documentation.
1197
1198         This fixes bug #118054.
1199
1200 2003-07-16  Dmitry G. Mastrukov  <dmitry@taurussoft.org>
1201
1202         * configure.in: Added Russian to ALL_LINGUAS.
1203
1204 2003-07-16  Duarte Loreto <happyguy_pt@hotmail.com>
1205
1206         * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
1207
1208 2003-07-14  Danilo Ã… Segan  <dsegan@gmx.net>
1209
1210         * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
1211
1212 2003-07-10  Joel Brich <joel.brich@laposte.net>
1213
1214         * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
1215
1216 2003-07-07  Pablo Gonzalo del Campo  <pablodc@bigfoot.com>
1217
1218         * configure.in (ALL_LINGUAS): Added "es" (Spanish).
1219
1220 2003-07-07  Padraig O'Briain <padraig.obriain@sun.com>
1221
1222         * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
1223         resources allocated for AccessibleEvent. See cspi_event().
1224
1225         * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
1226         static variable streams to NULL.
1227
1228         * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
1229         Update so that AcessibleEvent_ref will work.
1230
1231         This fixes bug #116624.
1232
1233 2003-07-06  Jordi Mallach  <jordi@sindominio.net>
1234
1235         * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
1236
1237 2003-07-06  Christophe Merlet  <redfox@redfoxcenter.org>
1238
1239         * configure.in: Added "fr" (French) to ALL_LINGUAS.
1240
1241 2003-07-02  Christian Neumair  <chris@gnome-de.org>
1242
1243         * configure.in: Added "de" (German) to ALL_LINGUAS.
1244
1245 2003-07-01  Dafydd Harries  <daf@parnassus.ath.cx>
1246
1247         * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
1248
1249 2003-07-01  Miloslav Trmac  <mitr@volny.cz>
1250
1251         * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
1252
1253 2003-07-01  Artur Flinta  <aflinta@cvs.gnome.org>
1254
1255         * configure.in: Added "pl" to ALL_LINGUAS.
1256
1257 2003-07-01  Gil "Dolfin" Osher <dolfin@rpg.org.il>
1258
1259         * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
1260
1261 2003-06-30  Bill Haneman <bill.haneman@sun.com>
1262         
1263         * libspi/action.c:
1264         (get_action_from_servant): 
1265         Removed assertion that action is implemented on an AtkObject.
1266
1267         * libspi/hyperlink.c:
1268         (spi_hyperlink_new):
1269         Aggregate AccessibleAction interface on the hyperlink object if
1270         the object implements AtkAction.  (This convention is used in
1271         gtkhtml2.)
1272         
1273 2003-06-30  Bill Haneman <bill.haneman@sun.com>
1274
1275         * configure.in: Revved to 1.3.5.
1276         
1277         * registryd/Accessibility_Registry.server.in.in:
1278         Marked up appropriate strings for translation.
1279         
1280         * atk-bridge/bridge.c: Marked a couple of
1281         user-visible warnings for translation.  Questionable
1282         whether they are really useful, but possibly so.
1283
1284         
1285 2003-06-28  Christian Rose  <menthos@menthos.com>
1286
1287         * configure.in: Added "sv" to ALL_LINGUAS.
1288
1289 2003-06-26  Bill Haneman <bill.haneman@sun.com>
1290
1291         * registryd/registry.c: 
1292         (spi_registry_object_finalize): Unref the deviceeventcontroller.
1293         (registry_defer_on_event): Defer focus: events, this is an
1294         improvement to the patch for bug #108664.
1295
1296         * TODO: Update with 2.4/"Dev Complete" items.
1297
1298 2003-06-26  Padraig O'Briain <padraig.obriain@sun.com>
1299
1300         * atk-bridge/bridge.c:
1301         (spi_atk_bridge_init_event_type_consts): Ensure that this function only
1302         looks up signals once.
1303         (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
1304         if doing registration.
1305         (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
1306         when doing registration.
1307         
1308         This fixes bug #115014.
1309
1310 2003-06-25  Padraig O'Briain <padraig.obriain@sun.com>
1311
1312         * atk-bridge/bridge.c:
1313         (atk_bridge_init): Add signal handler for children-changed:remove on
1314         root when in a BonoboComponent.
1315         (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
1316         for first toplevel only other incrememt variable toplevels.
1317         (spi_atk_bridge_toplevel_removed): For last toplevel deregister 
1318         application and remove listeners.
1319         (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
1320         consistency.
1321         (spi_atk_deregister_event_listeners): New function which removes
1322         listeners.
1323         (reinit_register_vars): New fuction which reinitializes variables.
1324
1325         This fixes bug #111578.
1326
1327 2003-06-13  Bill Haneman <bill.haneman@sun.com>
1328
1329         * configure.in: version 1.3.4.
1330
1331         * cspi/spi_accessible.c:
1332         Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
1333
1334
1335 2003-06-13  Michael Meeks  <michael@ximian.com>
1336
1337         * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
1338
1339         * cspi/spi_main.c (cspi_peek_ev): impl.
1340
1341 2003-06-11  Padraig O'Briain <padraig.obriain@sun.com>
1342
1343         * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
1344
1345         * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
1346
1347         * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role 
1348         SPI_ROLE_AUTOCOMPLETE
1349
1350         * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
1351
1352         * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
1353         for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
1354
1355 2003-06-11  Bill Haneman <bill.haneman@sun.com>
1356
1357         * libspi/streamablecontent.h:
1358         * libspi/streamablecontent.c:
1359         New files, provide implementation/wrappers for
1360         Accessibility_StreamableContent.
1361
1362         * cspi/spi_streamablecontent.c:
1363         Connected the C wrappers to the libspi C bindings.
1364         (AccessibleStreamableContent_close): New method.
1365
1366         * cspi/spi.h:
1367         (AccessibleStreamableContent_close): New method, needed
1368         since we have an "open, [seek], read, close" model in cspi.
1369         
1370 2003-06-11  Bill Haneman <bill.haneman@sun.com>
1371
1372         Fix for #108664; Padraig's revision of my original patch.
1373         
1374         * registryd/registry.h:
1375         Added event queue list, is_queuing, and exit_notify_timeout
1376         to the registry struct.
1377         
1378         * registryd/registry.c:
1379         (registry_init): Initialize new struct from registry.h.
1380         (impl_registry_notify_event):
1381         Filter events before notifying, in case some need to be
1382         deferred, etc.
1383         (registry_filter_event): New,
1384         we defer certain incoming events (for instance 
1385         window:deactivate) because we may wish to hide
1386         or reject them based on pending events.  This is
1387         mostly a workaround for bug #108664.
1388         (registry_queue_event, registry_start_queue): New.
1389         (registry_defer_on_event): Test event to see if it
1390         initiates queuing.
1391         (registry_reset_on_event): Returns TRUE if the
1392         event should cause a queue reset.
1393         (registry_discard_on_event): Returns TRUE if the event
1394         should cause the previous queue contents to be discarded.
1395         (registry_timeout_flush_queue): Flushes the pending event
1396         queue if no reset/discard-triggering events have come in 
1397         within the timeout period.
1398         (registry_emit_event): New.
1399         (registry_clone_notify_context): New, used when queueing the 
1400         event notify contexts.
1401
1402 2003-06-10  Bill Haneman <bill.haneman@sun.com>
1403
1404         * configure.in: Version revved to 1.3.2, lt 0.9.2
1405         Incremented ATK required version to 1.3.4.
1406
1407         * cspi/spi_registry.c:
1408         (SPI_generateKeyEvent):
1409         We now pass the keystring along if it's non-null.
1410         
1411         * registryd/deviceeventcontroller.c:
1412         (keysym_mod_mask): New method, returns modifier mask 
1413         required to generate a keysym from a given keycode.
1414         (dec_synth_keysym): New method.
1415         (dec_synth_keystring): New method.
1416         (dec_get_modifier_state): New method.
1417         (dec_lock_modifiers): New
1418         (dec_unlock_modifiers): New.
1419         (dec_keysym_for_unichar): New, rather brute-force
1420         conversion from UCS-4 to X KeySyms.  Only works for
1421         Latin at the moment, with partial implementations for
1422         Greek, Hebrew, and (incomplete) Katakana.
1423         (impl_generate_keyboard_event): Now implement 
1424         "KEYSTRING" synthesis and implement "KEYSYM"
1425         synthesis properly.
1426         (keycode_from_keysym): Improved, passes a returned
1427         modmask value now if the corresponding param is non-NULL.
1428         
1429         Fixes bugs #92143  and #109776.
1430
1431         * test/Makefile.am:
1432         * test/keysynth-test.c:
1433         New test program for key synthesis, to confirm fixes for
1434         above bugs.
1435
1436
1437 2003-06-10  Padraig O'Briain <padraig.obriain@sun.com>
1438
1439         * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
1440
1441         * cspi/spi_accessible.c (cspi_init_relation_type_table):
1442         Add line for RELATION_POPUP_FOR
1443
1444         * docs/reference/cspi/tmpl/spi_relation.sgml: 
1445         Add relation SPI_RELATION_POPUP_FOR
1446
1447         * docs/reference/cspi/tmpl/spi_stateset.sgml: 
1448         Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE 
1449
1450         * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
1451
1452         * libspi/relation.c (spi_init_relation_type_table): 
1453         Add line for RELATION_POPUP_FOR
1454
1455 2003-06-10  Padraig O'Briain <padraig.obriain@sun.com>
1456
1457         * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if 
1458         there are still windows which have not been deleted and emit 
1459         window:deactivate, if necessary and window:destroy events.
1460         This fixes bug #114370. The change on June 5th was not correct.
1461
1462 2003-06-09  Bill Haneman <bill.haneman@sun.com>
1463
1464         * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
1465
1466         * cspi/spi.h: 
1467         (SPI_dupString): Allow dup-ing of a string such that it's safe to
1468         SPI_freeString it.
1469         New methods for client exception handling and interception.
1470         (SPI_exceptionHandlerPush): New - push a handler onto the stack.
1471         (SPI_exceptionHandlerPop): You guessed it... 
1472         (SPI_getSourceType): Return the type of object which offended.
1473         (SPI_getExceptionCode): Return an enum code telling, possibly, 
1474         what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
1475         (SPIAccessibleException_getSource): get the source object for
1476         exceptions that come from Accessibles, if SPIExceptionSourceType is
1477         SPI_EXCEPTION_SOURCE_ACCESSIBLE.
1478         (SPIException_getDescription): New, returns a string description of
1479         the problem.  [Not yet a stable ABI, strings are not frozen]
1480
1481         * cspi/spi-private.h:
1482         Added implementation details of opaque SPIException
1483         structure.
1484         
1485         * cspi/spi_main.c:
1486         Implementations of above.  Also
1487         (_cspi_exception_throw): new private method that 
1488         dispatches exceptions to handlers, called from cspi-bonobo.c
1489
1490         * cspi/bonobo/cspi-bonobo.c:
1491         (cspi_check_ev): call _cspi_exception_throw.
1492         Don't print a warning message if the exception has been 
1493         handled by _cspi_exception_throw.
1494         
1495 2003-06-05  Padraig O'Briain <padraig.obriain@sun.com>
1496
1497         * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if 
1498         there are still windows which have not been deleted and emit 
1499         window:deactivate, if necessary and window:destroy events.
1500         This fixes bug #114370.
1501
1502 2003-06-03  Bill Haneman <bill.haneman@sun.com>
1503
1504         * cspi/spi_main.c:
1505         (cspi_accessible_is_a): Make non-fatal 
1506         if the object reference is dead.
1507
1508 Mon Jun  2 15:35:29 2003  Jonathan Blandford  <jrb@redhat.com>
1509
1510         * cspi/spi_main.c: #include <stdio.h>
1511         * test/simple-at.c: ditto
1512         * test/event-listener-test.c: ditto
1513         * test/screen-review-test.c: ditto
1514
1515 2003-05-30  Michael Meeks  <michael@ximian.com>
1516
1517         * test/test-simple.c (main): use CORBA_ORB_perform_work
1518         instead of an unnecessary linc_ call.
1519
1520 2003-05-20  Padraig O'Briain <padraig.obriain@sun.com>
1521
1522         * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
1523         Add SPI_STATE_INDETERMINATE.
1524
1525         * cspi/spi_accessible.c (spi_state_to_corba): Add support for
1526         INDETERMINATE.
1527
1528         * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
1529
1530         * libspi/stateset.c (init_state_type_tables): Add support for
1531         INDETERMINATE.
1532
1533 2003-05-19  Padraig O'Briain <padraig.obriain@sun.com>
1534
1535         * configure: Update versions of atk and gail required.
1536         This fixes bug #113268.
1537         
1538 2003-05-02  Bill Haneman  <bill.haneman@sun.com>
1539
1540         * configure.in: Revved micro version to 1.3.1 (because of build fix).
1541
1542 2003-05-02  Frederic Crozat  <fcrozat@mandrakesoft.com>
1543
1544         * libspi/Makefile.am:
1545         Ensure headers are generated before being used by c sources.
1546
1547 2003-05-01  Bill Haneman <bill.haneman@sun.com>
1548
1549         * configure.in:
1550         Simplified lt versioning rules.
1551         Incremented version to 1.3.0, to indicate that we're on the
1552         unstable branch now.  
1553
1554 2003-04-29  Padraig O'Briain <padraig.obriain@sun.com>
1555
1556         * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
1557         Add MKDB_OPTIONS=--outtput-format=xml
1558
1559         * docs/reference/cspi/at-spi-cspi-docs.sgml
1560         docs/reference/idl/at-spi-idl-docs.sgml:
1561         Convert to Docbook XML.
1562
1563         This fixes bug #111793.
1564
1565 2003-04-25  Padraig O'Briain <padraig.obriain@sun.com>
1566
1567         * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
1568         AcccessibleKeyEventType, AccessibleKeyMaskType.
1569
1570         * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
1571
1572         * cspi/state-types.h: Add documentation for AccessibleState.
1573
1574         * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
1575         AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
1576         AccessibleKeySynthType, AccessibleKeyListenerSyncType, 
1577         AccessibleComponentLayer.
1578
1579         * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs 
1580         in documentation.
1581
1582         * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
1583
1584         * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of 
1585         Accessible.  Add description of AccessibleEvent, 
1586         AccessibleEventListenerCB.
1587
1588         * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra 
1589         documentation.
1590
1591         * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra 
1592         documentation. Add description of AccessibleKeystrokeListenerCB,
1593         AccessibleKeyEventMask, AccessibleModifierMaskType, 
1594         AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
1595         AccessibleDeviceEventMask, AccessibleDeviceListenerCB. 
1596
1597         * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
1598         AccessibleStateSet.
1599
1600         * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra 
1601         documentation.
1602
1603         This fixes bug #104730.
1604
1605 2003-04-24  Padraig O'Briain <padraig.obriain@sun.com>
1606
1607         * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
1608         Set is_text field of Accessibility_DeviceEvent data structure.
1609
1610         * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
1611         is-text field of AccessibleDeviceEvent data structure.
1612
1613         This addresses part of bug #108666.
1614
1615         * registryd/devcieeventcontroller.c: Unset debug option.
1616
1617 2003-04-14  Padraig O'Briain <padraig.obriain@sun.com>
1618
1619         * cspi/accessible.c:
1620         (cpi_initial_relation_type_table): New function which initializes 
1621         mapping between Accessibility_RelationType and AccessibleRelationType.
1622         (cspi_relation_type_from_spi_relation_type): New function which
1623         translates an Accessibility_RelationType into an AccessibleRelationType.
1624         (AccessibleRelation_getRelationType): Use 
1625         cpi_relation_type_get_spi_relation_type to return correct value.
1626         (spi_state_to_corba): Return correct type for default case.
1627
1628         * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
1629         Use Accessibility_EventType instead of Accessibility_KeyEventType.
1630
1631         * cspi/cspi-bonobo-listener.c:
1632         Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
1633         warnings.
1634
1635         * libspi/accessible.c, libspi/action.c, libspi/application.c,
1636         libspi/base.c, libspi/component.c, libspi.devicelistener.c,
1637         libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
1638         libspi/image.c, libspi/listener.c, libspi/selection.c, 
1639         libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c, 
1640         registryd/desktop.c, registryd/registry.c:
1641         Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1642
1643         * libspi/eventlistener.c
1644         Remove semicolon after BONOBO_TYPE_FUNC.
1645
1646         * libspi/relation.c:
1647         Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1648         (spi_init_relation_type_table): Initialize using correct type.
1649
1650         * registryd/desktop.c:
1651         Remove semicolon after BONOBO_TYPE_FUNC_FULL.
1652         (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead 
1653         of Accessibility_KeyEventType.
1654
1655         * test/key-listener-test.c (report_tab_key_event): Use fprintf
1656         instead of g_print.
1657
1658         * tests/simple-at.c, tests/screen-review-test.c:
1659         Add include for <strings.h>.
1660
1661         * tests.stress-test.c:
1662         Add includes for <unistd.h> and <bonobo/bonobo-main.h>
1663
1664         These changes fix compiler warnings when using FORTE compiler on
1665         Solaris; fixes bug #107479.
1666
1667         
1668 2003-04-10  Bill Haneman <bill.haneman@sun.com>
1669
1670
1671         * configure.in: revved to 1.1.10
1672         
1673         * libspi/keymasks.h:
1674         (SPI_KEYMASK_NUMLOCK): Added.
1675
1676         * registryd/deviceeventcontroller.c:
1677         (spi_key_event_matches_listener): AND with a smaller
1678         bitmask (as we should).  
1679         (spi_dec_translate_mask): 
1680         New method, sets the virtual NumLock modifier bit
1681         if numlock is on.  Eventually it can handle other virtual
1682         modifier bits if needed, or other marshalling from
1683         at-spi modifier masks to platform (X) masks.
1684         (spi_dec_key_listener_new):
1685         Call spi_dec_translate_mask to set up virtual mod bits
1686         in the 'mask' field when creating a new listener struct.
1687         (spi_dec_emit_modifier_event):
1688         Set the virtual (i.e. NumLock) bits before emitting event.
1689         (spi_controller_register_with_devices):
1690         Query for the NumLock modifier 'physical' bit if Xkb is
1691         present, for use in above methods.
1692
1693         Fix for 107261.
1694         
1695 2003-04-10  Bill Haneman <bill.haneman@sun.com>
1696         
1697         * registryd/deviceeventcontroller.c:
1698         (spi_keystroke_from_x_key_event):
1699         Instead of checking to see if the keysym is
1700         printable, check the string from XLookupString
1701         if available, get the first unicode character from it,
1702         and call g_unichar_isprint to determine whether the
1703         is_text flag should be TRUE or FALSE.
1704         
1705         Fix for bug 110419.
1706
1707 2003-04-02  Padraig O'Briain <padraig.obriain@sun.com>
1708
1709         * atk-bridge/bridge.c: Add support for extended events
1710         * cspi/spi_event.c: Add documentation and implementation for
1711         extended events.
1712         * tests/event-listener-test.c: Add tests for extended events.
1713
1714         This fixes bugs #100424 and #100426.
1715  
1716 2003-04-02  Padraig O'Briain <padraig.obriain@sun.com>
1717
1718         * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
1719         of LT_CURRENT. This fixes bug #89350.
1720
1721 2003-04-01  Padraig O'Briain <padraig.obriain@sun.com>
1722
1723         * atk-bridge/bridge.c (spi_bridge_signal_listener):  Add check for
1724         number of signal parameter values before accessing them. This fixes
1725         bug #109626.
1726
1727 2003-04-01  Bill Haneman <bill.haneman@sun.com>
1728
1729         * configure.in: Fixed duplicate inclusion of -lspi.
1730         * branched for gnome-2-2/HEAD.  
1731         [created tag "gnome-2-2"]
1732
1733 2003-03-07  Bill Haneman <bill.haneman@sun.com>
1734
1735         * configure.in: 1.1.9 release.
1736         * NEWS: updated.
1737         
1738 2003-03-07  Bill Haneman <bill.haneman@sun.com>
1739
1740         [needed by GOK, to fix bugs 107985 and 107988]
1741         * registryd/deviceeventcontroller.c:
1742         (spi_dec_clear_unlatch_pending):
1743         New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
1744         (spi_dec_set_unlatch_pending):Revised DEBUG comment.
1745         (spi_dec_init_mouse_listener):Emit warning if mouse button
1746         passive grab fails.
1747         (spi_device_event_controller_forward_mouse_event):
1748         Removed unnecessary parens from a conditional.
1749         (global_filter_fn):Added TODO comment.
1750         (impl_generate_keyboard_event):
1751         Cancel a pending relatch if a 'delatching' key was 
1752         synthesized.
1753         
1754 2003-03-07  Padraig O'Briain <padraig.obriain@sun.com>
1755
1756         * atk-bridge/bridge.c:
1757         Change atk_signal_child_changed to atk_signal_children_changed. 
1758         Reorganize code in spi_atk_bridge_signal_listener().
1759
1760         * test/event-listener-test.c:
1761         Add children_changed_listener and report_children_changed_event()
1762         to test AccessibleChildEvent_getChildAccessible.
1763
1764 2003-03-05  Padraig O'Briain <padraig.obriain@sun.com>
1765
1766         * cspi/spi_event.c (cspi_internal_event_get_text): Change
1767         g_strdup to CORBA_String_dup (bug #105291)
1768
1769         * test/event-listener-test.c (report_text_event): Add call to
1770         SPI_freeString.
1771
1772 2003-02-28  Bill Haneman <bill.haneman@sun.com>
1773
1774         * registryd/deviceeventcontroller.c:
1775         (spi_keystroke_from_x_key_event): 
1776         Fix string and keysym return codes to match modifier state. 
1777         [bug #107256]
1778
1779 2003-02-28  Bill Haneman <bill.haneman@sun.com>
1780
1781         * registryd/deviceeventcontroller.c:
1782         (spi_keystroke_from_x_key_event): 
1783         Fix segv due to improper use of isprint(c). [bug #107254]
1784
1785 2003-02-24  Bill Haneman <bill.haneman@sun.com>
1786
1787         * cspi/spi_text.c:
1788         (get_accessible_text_boundary_type):
1789         Move default return value to (new) default case in switch.
1790         (get_accessible_text_clip_type):
1791         Move default return value to (new) default case in switch.
1792         
1793         * libspi/application.c:
1794         (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
1795         Remove unused methods.
1796         (impl_accessibility_application_register_object_event_listener):
1797         Remove unused methods.
1798
1799         * libspi/value.c:
1800         Added #include of <math.h>.
1801
1802         * registryd/deviceeventcontroller.c:
1803         (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since 
1804         we don't currently use this method.
1805         (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
1806         have_xkb is TRUE.
1807         (impl_generate_key_event):
1808         Remove unused variables.
1809         (impl_generate_mouse_event):
1810         Initialize button to zero, just in case we get an invalid
1811         input.  Added support for mouse buttons 4 and 5.
1812         (spi_device_event_controller_new):
1813         Removed unused variable declaration for 'private'.
1814         (registry.h):
1815         Added #include of <gdk/gdk.h>
1816
1817 2003-02-14  Padraig O'Briain <padraig.obriain@sun.com>
1818
1819         * configure.in: Update to work when X is not installed in expected 
1820         location. Fixes bug #105836.
1821
1822         * atk-bridge/bridge.c
1823         (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
1824         AtkHypertext
1825         (spi_atk_register_event_listener): Add signal listener for 
1826         link-selected
1827         (spi_atk_bridge_signal_listener): Event event when link-selected
1828         signal is emitted. (bug #104622)
1829
1830         * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
1831         on returned string. (bug #105291)
1832
1833         * test/event-listener-test.c: Add test for link-selected.
1834         
1835 2003-02-14  Padraig O'Briain <padraig.obriain@sun.com>
1836
1837         * atk-bridge/Makefile.am: Correct typo in previous commit.
1838
1839 2003-02-13  Padraig O'Briain <padraig.obriain@sun.com>
1840
1841         * atk-bridge/Makefile.am: Allow for build directory to be different 
1842         from source directory
1843
1844         * registryd/Makefile.am: Allow for build directory to be different
1845         from source directory
1846
1847         Bug #104744.
1848
1849 2003-01-29  Bill Haneman <bill.haneman@sun.com>
1850         
1851         * cspi/Makefile.am:
1852         Fixed dependencies for libcspi so that libspi gets pulled in
1853         properly.  Fixes 104741.
1854
1855         * cspi/spi.h:
1856         * cspi/spi_event.c:
1857         Clean up inline docs a little.
1858
1859 2003-01-27  Padraig O'Briain <padraig.obriain@sun.com>
1860
1861         * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
1862         This is done by implementing AtkComponent for SpiAtkDesktop, which is
1863         the AtkObject within an SpiDesktop.
1864         This addresses bug #101524.
1865
1866         * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
1867         Remove call to gdk_init().
1868
1869         * registryd/registry.c (spi_registry_init): Add call to gdk_init()
1870         so that Display is set when SpiDesktop is created.
1871
1872 2003-01-21  Padraig O'Briain <padraig.obriain@sun.com>
1873
1874         * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
1875         This fixes bug #102830.
1876
1877 2003-01-15  Padraig O'Briain <padraig.obriain@sun.com>
1878
1879         * test/test-simple.c: Update to take account of fact that GailButton 
1880         now implements AtkText.
1881         (create_text_window): Set name on AtkObject for GtkEntry.
1882         (validate_accessible): Check accessible name before calling test_text().
1883
1884         * libspi/Makefile.am: Fix problem with building outside of source
1885         directory. Bug #98120.
1886
1887         * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
1888         typo in documentation comments. Bug #94275.
1889
1890 2003-01-15  Padraig O'Briain <padraig.obriain@sun.com>
1891
1892         * libspi/text.c (impl_getBoundedRanges): Bug fix.
1893
1894 2003-01-10  Padraig O'Briain <padraig.obriain@sun.com>
1895
1896         * libspi/text.c:
1897         Add includes to avoid compiler warnings on Solaris.
1898         (impl_getRangeExtents): Bug fix.
1899
1900 2002-12-17  Bill Haneman <bill.haneman@sun.com>
1901
1902         Fix for 100944, [API addition approved by Gman and murrayc].
1903         
1904         * NEWS: updated.
1905         
1906         * configure.in:
1907         Revved to 1.1.8.
1908
1909         * idl/Accessibility_Text.idl:
1910         (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
1911         (Text::getRangeExtents): New method for efficient 
1912         bounds query of a text range.
1913         (Text::getBoundedRanges): New method for efficient
1914         clipping of text to bounding boxes.
1915         (unImplemented7, unImplemented8): 
1916         Removed these padding methods to preserve bincompat.
1917
1918         * libspi/text.c:
1919         (impl_getRangeExtents): implementation of new IDL.
1920         (impl_getBoundedRanges): implementation of new IDL.
1921         (SpiTextRect): Internal use struct.
1922         (_spi_text_rect_union): internal method, calculates union of two
1923         SpiTextRect bounding rects.
1924         (_spi_text_range_seq_from_gslist): internal method, allows us
1925         to build our sequence efficiently as a gslist then convert it
1926         to a CORBA seq.
1927         (_spi_bounds_contain): internal method, determines whether
1928         a text character is "in" or "out" of a clip rect according to
1929         values of TEXT_CLIP_TYPE.
1930         (spi_text_class_init): Initialize the new methods in the epv.
1931         
1932         * cspi/spi.h:
1933         (AccessibleTextClipType): New enum used by screen review api.
1934         (AccessibleTextRange): New struct used by screen review api.
1935         (AccessibleText_getRangeExtents): 
1936         cspi binding for Accessibility_Text_getRangeExtents.
1937         (AccessibleText_getBoundedRanges):
1938         cspi binding for Accessibility_Text_getBoundedRanges.
1939         (AccessibleTextRange_freeRanges): convenience method.
1940         
1941         * cspi/spi_text.c:
1942         (AccessibleText_getRangeExtents): 
1943         cspi binding for Accessibility_Text_getRangeExtents.
1944         (AccessibleText_getBoundedRanges):
1945         cspi binding for Accessibility_Text_getBoundedRanges.
1946         (AccessibleTextRange_freeRanges): convenience method.
1947         (get_accessible_text_clip_type): internal conversion method.
1948         (get_accessible_text_ranges_from_range_seq): internal conversion method.
1949
1950         * registryd/deviceeventcontroller.c:
1951         (spi_dec_mouse_check):
1952         Improved behavior for mouse:abs events 
1953         [same granularity as mouse:rel events, and no
1954         events when mouse is idle].     
1955         
1956 2002-12-16  Michael Meeks  <michael@ximian.com>
1957
1958         * cspi/spi_accessible.c (spi_state_to_corba): rename.
1959
1960         * libspi/stateset.c (state_spi_to_atk): split out
1961         ( fix several remote array bounds nasties )
1962         (spi_atk_state_set_from_sequence, impl_contains, impl_add),
1963         (impl_remove): make safe from array bounds issues.
1964         (spi_atk_state_from_spi_state): impl.
1965
1966         * libspi/stateset.h (spi_state_set_cache_is_empty): 
1967         add a set of wrapper defines to get layering right.
1968
1969         * cspi/spi_accessible.c: update state set stuff to
1970         use it.
1971
1972 2002-12-14  Michael Meeks  <michael@ximian.com>
1973
1974         * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
1975         to avoid 2 roundtrips to the registry per key event
1976         (spi_atk_bridge_key_listener): upd.
1977         (deregister_application): release the dec.
1978
1979         * registryd/registry.c (notify_listeners_cb):
1980         bin lots of re-enterant complexity - we no longer
1981         do a round-trip bonobo ref here, ensure that a single
1982         listener's exception failure won't poison all other
1983         notifications.
1984         (impl_registry_notify_event): bin obvious memory leak.
1985
1986 2002-12-13  Michael Meeks  <michael@ximian.com>
1987
1988         * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
1989         init the ev so the error is meaningful.
1990         (spi_atk_bridge_key_listener): ditto.
1991
1992         * cspi/spi_main.c (cspi_ev): init the ev so we start
1993         with a clean slate, otherwise the first exception
1994         kills us completely.
1995
1996         * cspi/spi_text.c (get_accessible_text_boundary_type): 
1997         add a fallthrough for no warnings.
1998
1999         * cspi/spi_registry.c: prune unused warnings.
2000
2001         * cspi/spi_main.c (cspi_object_take): fix
2002         mind-blowing brokenness ( by watching the compile
2003         warnings )
2004
2005         * cspi/spi_accessible.c (Accessible_getStateSet):
2006         re-impl. to use an AtkStateSet.
2007         (spi_state_type_from_accessible_state),
2008         (init_state_table): bin these.
2009
2010         * libspi/stateset.c (spi_atk_state_set_from_sequence):
2011         split out from
2012         (atk_state_set_from_accessibility_state_set): here.
2013
2014         * cspi/spi_accessible.c (spi_state_to_atk): impl.
2015         (AccessibleStateSet_contains, AccessibleStateSet_ref),
2016         (AccessibleStateSet_unref, AccessibleStateSet_contains),
2017         (AccessibleStateSet_add, AccessibleStateSet_remove),
2018         (AccessibleStateSet_equals, AccessibleStateSet_compare),
2019         (AccessibleStateSet_isEmpty): re-write to use a local
2020         AtkStateSet object.
2021
2022 2002-12-13  Bill Haneman <bill.haneman@sun.com>
2023
2024         * configure.in: Revved to 1.1.7 (new keymask vals).
2025
2026 2002-12-10  Bill Haneman <bill.haneman@sun.com>
2027
2028         * libspi/keymasks.h:
2029         Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
2030
2031 2002-12-10  Padraig O'Briain  <padraig.obriain@sun.com>
2032
2033         * cspi/spi_event.c 
2034         (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent() 
2035         to compare two CORBA_TypeCodes.
2036         (cspi_internal_event_add): Silence warning from FORTE compiler.
2037
2038         * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to 
2039         avoid implicit declaration of functions.
2040         
2041 2002-12-09  Padraig O'Briain  <padraig.obriain@sun.com>
2042
2043         * atk-bridge/bridge.c:
2044         (spi_atk_bridge_init_event_type_consts): Store signal id for
2045         active-descendant-changed signal.
2046         (spi_atk_register_event_listeners): Add signal listener for
2047         active-descendant-changed signal,
2048         (spi_atk_bridge_signal_listener): Move code in function 
2049         spi_atk-signal_emit_event() into this function.
2050         Add support for active-descendant-changed
2051         Update support for child-changed signal.
2052         (spi_bridge_window_event_listener): Silence warning.
2053
2054         * libspi/spi_private.[ch]:
2055         (spi_init_any_object): Change second parameter from CORBA_Object to
2056         CORBA_Object*.
2057         Omit call to CORBA_Object_duplicate(). 
2058         Set CORBA_any's _value to CORBA_Object*.        
2059
2060 2002-12-06  Bill Haneman  <bill.haneman@sun.com>
2061
2062         * configure.in:
2063         Revved to 1.1.6.
2064         
2065         * cspi/spi.h: 
2066         (AccessibleEvent_ref, AccessibleEvent_unref):
2067         New methods, for persisting an event outside the emission context.
2068         Must be used if the new accessor methods are to be called
2069         outside of the event listener's callback.
2070
2071         * cspi/bonobo/cspi-bonobo.c:
2072         (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
2073         as second parameter instead of NULL, so we can call
2074         cspi_check_ev afterwards.
2075         
2076         * cspi/spi_main.c:
2077         (cspi_object_take): New internal method, 
2078         converts a CORBA_Object reference to a hard ref on
2079         an Accessible if possible, returning NULL if the object
2080         reference is invalid or an Accessible * otherwise.
2081
2082         * cspi/spi_event.c:
2083         (AccessibleEvent_ref): 
2084         Increment the event's internal private refcount, and 
2085         add the event's internal struct to an internal cache 
2086         if it's not already there.
2087         (AccessibleEvent_unref): 
2088         Decrement the event's refcount and remove it from
2089         the cspi event cache if refcount==0.
2090         (cspi_event_compare): New private method.
2091         Compares two event structs via their ids. Used 
2092         for queue lookup.
2093         (cspi_internal_event_lookup): New private method.
2094         (cspi_internal_event_check): New private method,
2095         a 0-order sanity check for events to make sure their
2096         private data is intact.
2097         (cspi_internal_event_add, cspi_internal_event_remove):
2098         New private methods for managiing the event cache.
2099
2100         * cspi/bonobo/cspi-bonobo-listener.c:
2101         (cspi_event):
2102         Initialize the new private data elements (id, magic, ref_count).
2103         
2104         * atk-bridge/bridge.c:
2105         (spi_atk_bridge_signal_listener):
2106         Fixed bug #100530, passing wrong params to emission func.
2107
2108         * registryd/deviceeventcontroller.c:
2109         (spi_dec_button_update_and_emit): 
2110         Fixed type in mask bit operations; fix for #99799.
2111         
2112 2002-12-02  Bill Haneman  <bill.haneman@sun.com>
2113
2114         Removed some of the more dangerous workarounds from
2115         previous commit; they are only needed by GOK, which
2116         in reality should be using another method to accomplish
2117         the goals.  So on reconsideration some of the workarounds
2118         need to be reverted:
2119         
2120         * registryd/deviceeventcontroller.c:
2121         (spi_keycodes_contain, spi_dec_init_keycode_list): 
2122         Removed these methods, used only by a nasty hack to try
2123         and detect whether a key synthesis should be allowed
2124         to reset the XKB latch state or not. This code was only
2125         required to work around an interaction between GOK,
2126         button events, and XKB.
2127         (impl_generate_key_event):
2128         Removed hack at end of key generation that tried to
2129         "do the right thing" if XKB latch keys were generated
2130         in the midst of button press/release pairs.  
2131
2132         * configure.in:
2133         Added a check for HAVE_XINPUT.  Not normally used yet.
2134
2135 2002-11-25  Bill Haneman  <bill.haneman@sun.com>
2136
2137         Workarounds and fixes for mouse event/XKB interaction.
2138         
2139         * registryd/deviceeventcontroller.c:
2140         (spi_keycodes_contain, spi_dec_init_keycode_list): 
2141         New internal methods.
2142         (spi_dec_set_unlatch_pending):
2143         Split the method that tells XKB to expect an
2144         unlatch (and revert it) out of the rest of the
2145         event handling code.  This method is called by the
2146         two mouse event handlers (the poll and the filter).
2147         (spi_dec_update_and_emit, spi_dec_mouse_check): 
2148         New methods split from spi_dec_poll_mouse_moved.
2149         The second one is now called from inside the filterFn
2150         when an XKB delatch event is received, to determine 
2151         whether to revert the delatch or not.
2152         (spi_poll_mouse_moved): Refactor; also we can now
2153         properly handle the case where multiple button states
2154         have changed between polling cycles and we didn't get
2155         notified due to another client's grab.
2156         (global_filter_fn): 
2157         Synchronize the server while handling an XKB notification.
2158         Ugly, but apparently necessary to avoid nasty races.
2159         Check the mouse state on receipt of an XKB latch change,
2160         to decide whether to revert the latch or not. (Latches are
2161         reverted if there is an immediately preceding mouse button
2162         event that a client has consumed, in which case we don't want
2163         the user to see the side-effect of the event).
2164         (spi_device_event_controller_forward_mouse_event):
2165         Check for modifier events and fire before resetting mouse_mask_state,
2166         prevents losing modifier events.
2167
2168         (impl_generate_keyboard_event):
2169         If we've just generated a keyboard event for a non-shift key,
2170         we don't want to revert the pending XKB latch. 
2171         Otherwise, check the modifier state (via a call to 
2172         spi_dev_mouse_check) and set the relatch mask to 
2173         that state before returning.
2174         
2175 2002-11-24  Bill Haneman  <bill.haneman@sun.com>
2176
2177         * NEWS: 
2178         Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
2179         retagged).
2180         
2181         * atk-bridge/bridge.c:
2182         (spi_atk_register_event_listeners):
2183         Don't re-register for ATK events if the registry has died
2184         and the app needs to re-register; the ATK listeners are in
2185         process and doing so will cause duplicate emission.
2186
2187         * registryd/deviceeventcontroller.c:
2188         (spi_poll_mouse_moved):
2189         Reformat the source, detect and emit multiple button-change
2190         events (i.e. if multiple buttons have changed between poll
2191         intervals).
2192         Add code to detect mouse-down events even when the pointer
2193         is grabbed; workaround for GOK bug 98420.
2194         (spi_controller_register_with_devices):
2195         Call XTestGrabControl with 'impervious' flag set to True,
2196         allows us to synthesize events and query the pointer even during
2197         an active grab by another client.
2198         (spi_device_event_controller_forward_mouse_event):
2199         Set the mouse_mask_state to the mouse_button_state from
2200         the intercepted event, to synchronize the grab listener with
2201         the poll state.
2202         
2203 2002-11-20  Bill Haneman  <bill.haneman@sun.com>
2204
2205         * cspi/spi_accessible.c:
2206         (AccessibleRole_getName):
2207         Added necessary strings for making this (deprecated) 
2208         method work with the new role types. 
2209         (init_role_table, role_table):
2210         Added definition of SPI_ROLE_APPLICATION.
2211
2212         * libspi/spi-roletypes.h:
2213         Added SPI_ROLE_APPLICATION.
2214
2215         * idl/Accessibility_Role.idl:
2216         Added ROLE_APPLICATION. 
2217
2218         * docs/reference/cspi/at-spi-cspi-decl.txt:
2219         Added SPI_ROLE_APPLICATION to docs.
2220
2221 2002-11-20  Padraig O'Briain  <padraig.obriain@sun.com>
2222
2223         * cspi/spi_accessible.c
2224         (cspi_init_role_table): Do not write beyond end of role_table.
2225         (Accessible_getRole): Use correct type for value returned by
2226         Accessibility_Accessible_getRole().
2227
2228         * libspi/accessible.c (spi_init_role_lookup_table): Do not write
2229         beyond end of role_table. (This fixes bug #98269)
2230
2231         * libspi/application.c: Add include file spi-private.h for 
2232         definition of spi_init_any_nil.
2233
2234 2002-11-19 Bill Haneman <bill.haneman@sun.com>
2235
2236         FIX for bug 99024.
2237         
2238         * libspi/spi-private.h:
2239         Added DGB() macro, and extern int _dbg declaration.
2240         
2241         * registryd/registry.c:
2242         (definitions) storage for _dbg.
2243         (spi_registry_init):
2244         Get environment variable "AT_SPI_DEBUG".
2245         (spi_registry_set_debug):
2246         New method, to initialize _dbg value.
2247         (spi_listener_struct_new, spi_registry_object_finalize):
2248         (notify_listeners_cb):
2249         Changed fprintfs to use DBG and g_warning().
2250
2251         * registryd/deviceeventcontroller.c:
2252         (_deregister_keygrab, spi_controller_register_device_listener):
2253         Changed debug/warning messages to use DBG macro.
2254
2255         * libspi/listener.c:
2256         (impl_notify_event):
2257         Changed warning messages to use DBG macro and g_warning().
2258
2259         * atk-bridge/bridge.c:
2260         (atk_bridge_init, spi_atk_bridge_get_registry):
2261         (spi_atk_bridge_exit_func):
2262         (spi_atk_bridge_property_event_listener):
2263         Changed status, warning, and error messages to use
2264         g_warning, g_message, and DBG macros.
2265
2266         (atk_bridge_init):
2267         Read the state of the AT_SPI_DEBUG environment variable
2268         and set a local '_dbg' accordingly.
2269         
2270 2002-11-19 Bill Haneman <bill.haneman@sun.com>
2271
2272         FIXES for 98836, 98842, other bugs.
2273         
2274         * configure.in:
2275         Revved to 1.1.4, interface-age=4, binary-age=4.
2276
2277         * registryd/deviceeventcontroller.c:
2278         (statics):
2279         Fixed crasher bug in last_mouse_pos initialization.
2280
2281         * registryd/registry.c:
2282         (desktop_add_application, desktop_remove_application):
2283         Added (and then commented out) some support for
2284         object context marshalling. [TODO]
2285
2286         * atk-bridge/bridge.c:
2287         (spi_atk_bridge_event_context_create):
2288         Commented out object context creation until it can
2289         be properly tested and debugged.
2290
2291         * registryd/registry.c:
2292         (impl_registry_notify_event):
2293         Fixed crasher bug, we were calling 
2294         spi_re_entrant_list_foreach () with an empty list.
2295
2296 2002-11-18  Bill Haneman <bill.haneman@sun.com>
2297         
2298         * idl/Accessibility_Action.idl:
2299         * idl/Accessibility_Component.idl:
2300         * idl/Accessibility_Desktop.idl:
2301         * idl/Accessibility_Event.idl:
2302         * idl/Accessibility_Hyperlink.idl:
2303         * idl/Accessibility_Image.idl:
2304         * idl/Accessibility_Relation.idl:
2305         * idl/Accessibility_Selection.idl:
2306         * idl/Accessibility_State.idl:
2307         * idl/Accessibility_Value.idl:
2308         Updated unimplemented slot count to minimum of
2309         four for all interfaces, for ABI freeze. 
2310
2311         * idl/Accessibility_EditableText.idl:
2312         * idl/Accessibility_Text.idl:
2313         Updated unimplemented slot count to six
2314         for ABI freeze. 
2315         
2316         * idl/Accessibility_Registry.idl:
2317         Updated unimplemented slot count to six
2318         (also for DeviceEventController), 
2319         for ABI freeze. 
2320
2321         * idl/Accessibility_Table.idl:
2322         Updated unimplemented slot count to eight,
2323         for ABI freeze. 
2324
2325         * idl/Accessibility_Event.idl:
2326         Added CORBA_any "any_data" member to Event struct.
2327
2328         * idl/Accessibility_Event.idl:
2329         Added CORBA_any "any_data" member to Event struct.
2330
2331         * atk-bridge/bridge.c:
2332         (statics):
2333         atk_signal_text_changed, atk_signal_child_changed,
2334         signal ids queried from gtype system.
2335         (AtkBridgeEventContextType): New enum.
2336         (AtkBridgeEventContextData): New struct.
2337         (AtkBridgeEventContext): New struct.
2338         (atk_bridge_init_event_type_consts):
2339         New method, initializes type contants for comparison 
2340         prior to emit_eventv.
2341         (atk_bridge_event_context_init): New method,
2342         initializes a CORBA_any from an AtkBridgeEventContext.
2343         (atk_bridge_focus_tracker): Call spi_init_any_nil to
2344         initialize the event.any_data struct.
2345         (spi_atk_bridge_event_context_create): New method,
2346         creates an AtkBridgeEventContext from signal/event info.
2347         (spi_atk_bridge_event_context_free): New method.
2348         (spi_atk_emit_eventv): Changed to take an 
2349         AtkBridgeEventContext parameter. We now initialize
2350         the event.any_data member prior to notifying the 
2351         Registry, via the AtkBridgeEventContext.
2352         (spi_atk_bridge_property_event_listener):
2353         (spi_atk_bridge_state_event_listener):
2354         Match emit_eventv signature.
2355         (spi_atk_bridge_object_event_listener):
2356         Match emit_eventv signature, and create an
2357         event context from the event details.
2358         Free the event context afterwards.
2359         (spi_atk_bridge_window_event_listener):
2360         Create an event context, pass it to the
2361         emit_eventv call.
2362         
2363         * cspi/spi_event.c:
2364         (AccessibleEvent_getContextString):
2365         (AccessibleEvent_getContextObject):
2366         New methods, allow query of AccessibleEvent objects
2367         for more context details (via the "any_data" member 
2368         of the Event struct, above).
2369         
2370         * cspi/spi.h:
2371         Definitions for AccessibleEvent_getContextString
2372         and AccessibleEvent_getContextObject.
2373
2374         * cspi/spi_listener.h:
2375         (InternalEvent): New struct.
2376
2377         * cspi/spi_event.c:
2378         (AccessibleEvent_getContextString):
2379         (AccessibleEvent_getContextObject):
2380         Implementations of new methods, for obtaining
2381         additional context information from some event types.
2382
2383         * cspi/spi_registry.c:
2384         (SPI_registerGlobalEventListener):
2385         Added mention of active-descendant-changed event in docs.
2386
2387         * cspi/cspi-bonobo-listener.c:
2388         (cspi_event):
2389         Marshal the any into the AccessibleEvent via
2390         InternalEvent.
2391         
2392         * libspi/spi-private.h:
2393         #include <orbit/orbit.h>
2394         (spi_init_any_nil):
2395         (spi_init_any_string):
2396         (spi_init_any_object):
2397         New convenience function declarations.
2398
2399         * libspi/util.c:
2400         (spi_init_any_nil):
2401         (spi_init_any_string):
2402         (spi_init_any_object):
2403         New convenience function implementations.
2404
2405         * registryd/deviceeventcontroller.c:
2406         (spi_poll_dec_mouse_moved):
2407         (spi_device_event_controller_forward_mous_event):
2408         Initialize any_data member of event.
2409         (spi_deregister_controller_device_listener):
2410         Fix incorrect param pass which was preventing deregistration.
2411
2412         * registryd/registry.c:
2413         (desktop_add_application):
2414         (desktop_remove_application):
2415         Add object data to event's any_data before dispatch.
2416         (parse_event_type):
2417         Fix for error messages from GAIL.
2418         
2419         * test/event-listener-test.c:
2420         Test new ContextString and "any_data" API:
2421         (report_text_event): New method query and output context string.
2422         (main): register a new text listener with report_text_event
2423         callback.
2424
2425 2002-11-19  Darren Kenny  <darren.kenny@sun.com>
2426
2427         Fixes for bugs 98127 and 97914.
2428         * cspi/spi-roletypes.h:
2429         Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
2430         SPI_ROLE_RULER
2431         * cspi/spi-statetypes.h:
2432         Added SPI_STATE_MANAGES_DESCENDANTS
2433         * cspi/spi.h:
2434         Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
2435         SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
2436         * cspi/spi_accessible.c:
2437         Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
2438         Added mapping from SPI_STATE_MANAGES_DESCENDANTS to 
2439         Accessibility_STATE_MANAGES_DESCENDANTS
2440         * libspi/accessible.c:
2441         Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
2442         Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} 
2443         As requested by Bill, I also cleaned up the alignment.
2444         * libspi/relation.c:
2445         Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
2446         EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
2447         * libspi/stateset.c:
2448         Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
2449         Accessibility_STATE_MANAGES_DESCENDANTS
2450         * docs/reference/cspi/tmpl/spi_accessible.sgml:
2451         Document changes reflecting modifications to roles.
2452         * docs/reference/cspi/tmpl/spi_relation.sgml:
2453         Document changes reflecting modifications to relations.
2454         * docs/reference/cspi/tmpl/spi_stateset.sgml:
2455         Document changes reflecting modifications to states.
2456
2457 2002-11-17  Bill Haneman <bill.haneman@sun.com>
2458
2459         * configure.in:
2460         Revved to 1.1.3, interface-age=3, binary-age=3.
2461         Added REBUILD macro.
2462
2463         * test/Makefile.am:
2464         Removed accessx-gui from the tests, since we have a nice
2465         keyboard accessibility capplet now :-)
2466
2467         * test/keysynth-demo.c:
2468         (increment_scan): removed do-nothing default: case,
2469         silences warning.
2470
2471         * test/visual-bell.c:
2472         (main) : removed do-nothing default: case, 
2473         silences warning.
2474
2475         * cspi/spi_action.c:
2476         (AccessibleAction_getKeyBinding_): 
2477         Documented keybinding string format.
2478         FIX for bug 97916.
2479
2480         * cspi/spi_text.c:
2481         (AccessibleText_getAttributes):
2482         Documented the text attribute string format.
2483         It's changed to use semicolon delimiters also,
2484         to prevent clashes with CSS attributes, but the old
2485         trick of looking for ", " strings will still work
2486         (as unreliably as ever).  Fix for bug related to 97916.
2487
2488         * cspi/spi_event.c:
2489         Include <cspi/bonobo/cspi-bonobo-listener.h>
2490         Fixes build warning.
2491         (SPI_freeAccessibleKeySet):
2492         (AccessibleKeystrokeListener_addCallback):
2493         (AccessibleKeystrokeListener_removeCallback):
2494         Modify to use AccessibleDeviceListener API internally,
2495         instead of AccessibleKeystrokeListener.
2496         
2497         * idl/Accessibility_Event.idl:
2498         Added two more empty slots to EventListener (for a total of four).
2499
2500         * idl/Accessibility_Accessible.idl:
2501         Added four empty slots to Accessible interface.
2502
2503 2002-11-15  Bill Haneman <bill.haneman@sun.com>
2504
2505         * idl/Accessibility_Registry.idl:
2506         (KeyEventType, EventType):
2507         Marked KeyEventType as deprecated; it duplicates
2508         functionality of EventType, which has been extended to
2509         include Mouse-button events.
2510         (KeyEventTypeSeq): defined in terms of EventType.
2511         (registerDeviceEventListener, deregisterDeviceEventListener):
2512         New methods, for managing listeners to device events,
2513         which potentially may consume them.     
2514         
2515         * cspi/spi-impl.h:
2516         Added definition for AccessibleDeviceListener.
2517
2518         * cspi/spi-listener.h:
2519         (enum AccessibleDeviceEventType):
2520         Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
2521         Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
2522         for backwards compat.
2523         (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
2524         and typedef'd AccessibleKeystroke to it for back-compat.
2525         (AccessibleDeviceListenerCB):
2526         New function prototype typedef.
2527
2528         * cspi/spi.h:
2529         (AccessibleDeviceEventMask): New typedef.
2530         (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
2531         (AccessibleKeyMaskType): 
2532         Set equivalent to AccessibleModifierMaskType for back-compat.   
2533         (SPI_createAccessibleKeystrokeListener):
2534         (AccessibleKeystrokeListener_unref):
2535         Deprecated in favor of equivalent (better-named) new API below..
2536         keystroke listeners are like all device listeners.
2537         (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
2538         New API names for old features :-).
2539         (AccessibleDeviceListener_addCallback):
2540         (AccessibleDeviceListener_removeCallback): 
2541         (SPI_registerDeviceEventListener): 
2542         (SPI_deregisterDeviceEventListener): 
2543         New methods.
2544         
2545         * cspi/spi_event.c:
2546         (SPI_createAccessibleKeystrokeListener):
2547         Use new preferred API, cspi_device_listener_new() and
2548         cspi_device_listener_add_cb().
2549         (AccessibleKeystrokeListener_removeCallback):
2550         Use new preferred API, cspi_device_listener_remove_cb().
2551         (AccessibleKeystrokeListener_unref):
2552         Use new preferred API, cspi_device_listener_unref().
2553         (SPI_createAccessibleDeviceListener):
2554         (AccessibleDeviceListener_addCallback):
2555         (AccessibleDeviceListener_removeCallback):
2556         Implementation of new API.
2557
2558         * cspi/spi_registry.c:
2559         (SPI_registerDeviceEventListener):
2560         (SPI_deregisterDeviceEventListener):
2561         Implementation of new API.  Fixed memory leak and removed need to
2562         allocate EventTypeSeq (thanks Michael for catching this).
2563         Squashed a wayward CORBA_exception_free that shouldn't get called.
2564
2565         * cspi/bonobo/cspi-bonobo-listener.c:
2566         (EventHandler):
2567         Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
2568         (cspi_key_event): renamed to cspi_device_event().
2569         Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
2570         Extended to handle mouse button events as well as key events.
2571         (CSpiKeystrokeListener):
2572         Class superceded by CSpiDeviceListener.
2573         (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
2574         These internal APIs changed to "*device_listener" from "*keystroke_listener".
2575
2576         * cspi/bonobo/cspi-bonobo-listener.h:
2577         (CSpiKeystrokeListener):
2578         Class superceded by CSpiDeviceListener.
2579         (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
2580         These internal APIs changed to "*device_listener" from "*keystroke_listener".
2581
2582         * libspi/Makefile.am:
2583         Replaced keystrokelistener.h and keystrokelistener.c
2584         with devicelistener.h and devicelistener.c; keystrokelisener.h
2585         stub retained for back-compat.
2586
2587         * libspi/keystrokelistener.c:
2588         Removed file.
2589
2590         * libspi/libspi.h:
2591         Replaced inclusion of keystrokelistener.h with devicelistener.h.        
2592
2593         * registryd/deviceeventcontroller.c:
2594         (DEControllerListener): Added Accessibility_EventTypeSeq member.
2595         (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
2596         (DEControllerPrivateData): Added xkb settings data.
2597         (spi_dec_poll_mouse_moved): Changed to dispatch device events for
2598         button release events (which can't be captured via XGrabButton).
2599         Don't dispatch via the 'normal' event mechanism if the device event was
2600         consumed.
2601         (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
2602         Handle the typeseq data in its new location (see above).
2603         (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
2604         New methods, for "generic" device listeners.
2605         (spi_controller_register_device_listener):
2606         Now handle mouse event listeners as well as key listeners.
2607         (spi_controller_notify_mouselisteners):
2608         New internal method.
2609         (spi_device_event_controller_forward_mouse_event):
2610         Now we notify mouse device listeners as well as generating the
2611         non-consumable "mouse:" events.  
2612         (global_filter_fn):
2613         We must check and restore the XKB
2614         modifier map if we consume the event, since the act of triggering
2615         a mouse event will normally reset the XKB latch.  This is required for 
2616         instance by GOK.
2617         (spi_controller_register_with_devices):
2618         Load the XKB settings when registering, and register for XKB 
2619         state notify events. 
2620         (spi_key_eventtype_seq_contains_event):
2621         Renamed spi_eventtype_seq_contains_event, since it's used
2622         internally for all device event types now.
2623         (spi_key_event_matches_listener):
2624         Uses spi_eventtype_seq_contains_event now.
2625         (spi_device_event_controller_object_finalize):
2626         Free the private data and the XkbKeyboard struct.
2627         (impl_register_device_listener, impl_deregister_device_listener):
2628         Implementation of new IDL.
2629         (spi_deregister_controller_device_listener):
2630         New internal method.
2631         (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
2632         More efficient implementation, we don't have to create a new
2633         XkbControls structure every time we query.
2634         (spi_device_event_controller_class_init):
2635         Initialize the epv entries for the new IDL.  Assign the 
2636         "spi-dec-private" quark.
2637         (spi_device_event_controller_init):
2638         Initialize the private data.
2639         (spi_device_event_controller_forward_key_event):
2640         Removed a bogus CORBA_exception_free() call.
2641         
2642         * registryd/deviceeventcontroller.h:
2643         Replaced inclusion of keystrokelistener.h with
2644         devicelistener.h.
2645
2646         * test/event-listener-test.c:
2647         (report_mouse_event):
2648         New method.
2649         (main):
2650         Added mouse-event device listener.
2651
2652         * test/test-simple.c:
2653         (create_test_window):
2654         Fixed regression (we were instantiating a GtkRange,
2655         which is now an abstract class).  Also fixed to match
2656         existing AtkRole names, this seems to have changed in ATK
2657         awhile ago; too late now I think, and the new
2658         mechanism is at least elegant and consistent with the
2659         glib enum "nick" APIs.  
2660
2661 2002-11-15  Darren Kenny  <darren.kenny@sun.com>
2662
2663         * idl/Accessibility_Relation.idl:
2664         add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
2665         RELATION_EMBEDS,RELATION_EMBEDDED_BY
2666         * idl/Accessibility_Role.idl:
2667         add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
2668         * idl/Accessibility_State.idl:
2669         add STATE_MANAGES_DESCENDANTS
2670         * test/event-listener-test.c:
2671         Added a listener for active-descendant events.
2672
2673 2002-11-15  Padraig O'Briain  <padraig.obriain@sun.com>
2674
2675         * atk-bridge/bridge.c
2676         (atk_bridge_init): If application is Bonobo component wait until top
2677         level is added before registering
2678         (spi_atk_bridge_do_registration): New function which contains code, 
2679         formerly in atk_bridge_init, to do application registration.
2680         (spi_atk_bridge_toplevel_added): Signal called when top level
2681         added to Bonobo component
2682
2683         This fixes bug #83134.
2684
2685 2002-10-23  Vitaly Tishkov  <tvv@sparc.spb.su>
2686
2687         * registryd/deviceeventcontroller.c
2688         Fixed compilation error caused by calling gettimeofday() 
2689         with 1 parameter
2690
2691 2002-10-18  Bill Haneman  <bill.haneman@sun.com>
2692
2693         BUGFIX for #95828.
2694
2695         * acconfig.h:
2696         Added template for HAVE_XKB.
2697         
2698         * configure.in:
2699         Changes to check for XKB, and to set the HAVE_XKB #define if it 
2700         is available.
2701         
2702         * libspi/listener.c:
2703         ()impl_notify_event): Make failure to get event source name
2704         nonfatal.
2705
2706         * registryd/deviceeventcontroller.c:
2707         (#include): include X11/XKBlib.h.
2708         (DEControllerPrivateData) : New struct.
2709         (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) : 
2710         New methods.
2711         (dec_synth_keycode_press) (dec_synth_keycode_release):
2712         New methods; split the key synthesis code into these methods.
2713         They check XKB settings before determining the "time" values to
2714         pass to Xtest; this fixes bug #95828.
2715         (impl_generate_keyboard_event): Changed to use methods above,
2716         instead of callng Xtest directly.
2717         (spi_device_event_controller_init): Initialize new privae struct s
2718         above.
2719         (spi_device_event_controllr_object_finalize):
2720         Free the (new) private data.
2721
2722         * registryd/deviceeventcontroller.h:
2723         Add new gpointer to end of struct data.
2724
2725 2002-10-16  Bill Haneman  <bill.haneman@sun.com>
2726
2727         * configure.in:
2728         Incremented revision to 1.1.2, SONAME is still '.so', library
2729         extensions are ".so.0.0.2".
2730
2731         * registryd/deviceeventcontroller.c:
2732         FIXES FOR #93592 and #95940.
2733         (statics):  renamed mouse_button_state to mouse_mask_state, 
2734         added key_modifier_mask.
2735         (spi_dec_poll_mouse_moved): 
2736         Added key modifier checks, and emit "keyboard:modifiers"
2737         events when the key modifiers currently in use change.
2738         Also generate "mouse:abs" events periodically, even if the mouse
2739         is stationary (should we?).
2740         Alternatively we could generate "mouse:abs" events for either all
2741         mouse movements, or every 'nth' mouse movement, or at the
2742         beginning and end of every "active" mouse period.
2743         
2744         * test/event-listener-test.c:
2745         (main): Added listener for "keyboard:modifiers" events.
2746         
2747 2002-10-15  Bill Haneman  <bill.haneman@sun.com>
2748
2749         * libspi/keymasks.h:
2750         Added key mask #defines for mouse buttons; e.g.
2751         SPI_KEYMASK_BUTTON1, etc.
2752
2753         * configure.in:
2754         Incremented dependency on ATK to version 1.1.0. (This dependency
2755         is probably premature but will soon be real enough).
2756
2757 2002-10-11  Padraig O'Briain  <padraig.obriain@sun.com>
2758
2759         * libspi/hyperlink.[ch]
2760         (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
2761         (get_hyperlink_from_servant): Check object is AtkHyperlink not 
2762         AtkObject.
2763
2764         * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
2765         AtkObject.
2766
2767         Fixes bug #95517.
2768
2769 2002-10-10  Padraig O'Briain  <padraig.obriain@sun.com>
2770
2771         * registryd/deviceeventcontroller.c
2772         (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
2773         events to be ignored.
2774         (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
2775         keyboard_mode so that XAllowEvents() can be called.
2776
2777         Fixes bug #93658.
2778
2779 2002-10-08  Padraig O'Briain  <padraig.obriain@sun.com>
2780
2781         * cspi/spi-accessible.c: Correct names of roles returned by
2782         AccessibleRole_getName(). Fixes bug #95055.
2783
2784 2002-10-03  Padraig O'Briain  <padraig.obriain@sun.com>
2785
2786         * cspi/spi_main.c (report_leaked_ref): Report address of leaked
2787         object.
2788
2789         * registryd/registry.c
2790         (desktop_remove_application: Write diagnostic message to stderr for
2791         consistency.
2792
2793         (impl_accessibility_registry_deregister_global_event_listener):
2794         Correct size of lists array. This addresses bug #94555).
2795
2796 2002-09-24  Padraig O'Briain  <padraig.obriain@sun.com>
2797
2798         * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
2799         in some role names.
2800
2801 2002-09-19  Padraig O'Briain  <padraig.obriain@sun.com>
2802
2803         * registryd/Makefile: Add CLEANFILES so that .server file is removed
2804         on make clean
2805
2806         * registryd/registry.c (impl_registry_notify_event): Remove
2807         unnecessary call to parser_event_type().
2808
2809         * docs/reference/cspi/tmpl/spi_component.sgml:
2810         Add reference to SPI_LAYER_WINDOW.
2811
2812 2002-09-17  Padraig O'Briain  <padraig.obriain@sun.com>
2813
2814         * registryd/registry.c
2815         (desktop_add_application): Remove leak.
2816         (desktop_remove_application): Remove leak.
2817         (parser_event_type): Remove leak.
2818
2819 2002-09-16  Padraig O'Briain  <padraig.obriain@sun.com>
2820
2821         * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
2822         bogus call to CORBA_string_dup(). Also removed unnecessary
2823         g_string_dup/g_free calls.
2824         
2825 2002-09-13  Bill Haneman <bill.haneman@sun.com>
2826
2827         * registryd/deviceeventcontroller.c:
2828         spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
2829
2830         * test/event-listener-test.c:
2831         main: commented out three redundant listeners, to reduce output
2832         noise. (They still are potentially useful for testing).
2833         
2834
2835 2002-09-13  Michael Meeks  <michael@ximian.com>
2836
2837         * Update all the copyrights to include Ximian.
2838
2839 2002-09-06  Mark McLoughlin  <mark@skynet.ie>
2840
2841         * cspi/spi.h: add SPI_LAYER_WINDOW.
2842
2843         * cspi/spi_component.c: (AccessibleComponent_getLayer):
2844         add Accessibility_LAYER_WINDOW case.
2845
2846         * idl/Accessibility_Component.idl: add LAYER_WINDOW.
2847
2848         * libspi/component.c: (impl_accessibility_component_get_layer):
2849         add ATK_LAYER_WINDOW case.
2850
2851 2002-08-28  Bill Haneman <bill.haneman@sun.com>
2852
2853         * configure.in: incremented micro version.
2854
2855         * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
2856
2857 2002-08-20  Bill Haneman <bill.haneman@sun.com>
2858
2859         * HACKING: 
2860         Clarified and reworded our commit policy.
2861
2862         * NEWS:
2863         Started an API "todo" addition list for 2.2.
2864
2865         * libspi/text.c:
2866         (impl_getSelection):
2867         Free char pointer from atk_text_get_selection, which was being leaked.
2868
2869 2002-08-19  Bill Haneman <bill.haneman@sun.com>
2870
2871         * AUTHORS: 
2872         Small revision to author acknowledgement.
2873
2874 2002-08-19  Padraig O'Briain  <padraig.obriain@sun.com>
2875
2876         * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
2877         If signal has detail add it to the type of the event.
2878         (bug #90838)
2879         
2880 2002-08-12  Michael Meeks  <michael@ximian.com>
2881
2882         * test/test-simple.c (global_listener_cb): bin bogosity.
2883         (test_keylisteners): disable, still doesn't work reliably,
2884         certainly not on my system anyway.
2885
2886         * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
2887         don't leak a reference on the DEC. This round-trip
2888         fetching of the DEC per keystroke sucks, it should be
2889         cached.
2890
2891         * cspi/spi-private.h,
2892         * cspi/cspi-lowlevel.h,
2893         * cspi/bonobo/cspi-bonobo-listener.[ch],
2894         * cspi/bonobo/cspi-bonobo.c: get the copyright
2895         notices better - there is still a large amount of
2896         work in at-spi falsely attributed solely to Sun.
2897
2898         * cspi/spi_main.c (cspi_object_ref): kill bogus
2899         hash lookup, just increment the ref.
2900         (SPI_freeString): make explicit the fact that we
2901         handle NULL strings just fine.
2902         (report_leaked_ref): obey coding standards.
2903         (cspi_object_hash, cspi_object_equal): kill retval.
2904         (cspi_object_release): only release if not on loan.
2905         (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
2906         (cspi_object_borrow, cspi_object_return): impl.
2907
2908         * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
2909         use cspi_object_borrow / return.
2910
2911 2002-08-12  Darren Kenny  <darren.kenny@sun.com>
2912
2913         * cspi/bonobo/cspi-bonobo-listener.c: 
2914         (cspi_event):
2915         Don't call cspi_oject_new() because this is creating a new Accessible
2916         every single time that an event is fired. This causes ATs like at-poke
2917         to nolonger recognise the source of the event and thus ignore it.
2918         Re-use the object from the cache, ref it and then unref it after the
2919         listeners have been called.
2920
2921 2002-08-06  Darren Kenny  <darren.kenny@sun.com>
2922
2923         * test/event-listener-test.c: 
2924         Added command-line options to disable mouse events (m) and
2925         show usage (h). 
2926
2927 2002-07-31  Padraig O'Briain  <padraig.obriain@sun.com>
2928
2929         * configure.in: Update required versions of ATK, GTK+ and GAIL
2930
2931         * cspi-1.0.pc.in: Add dependency for X include files
2932
2933         * cspi/Makefile.am:
2934         * cspi/bonobo/Makefile.am: 
2935         Add $(X_CFLAGS) so that X include files 
2936         are picked up even if not in standard place (bug #71686)
2937
2938 2002-06-25  Bill Haneman  <bill.haneman@sun.com>
2939
2940         * registryd/deviceeventcontroller.c: fix for 84261
2941         (spi_dec_mouse_moved):
2942         Added test of mouse button mask, so that we can detect mouse
2943         button release.  Unfortunately we can't otherwise detect mouse
2944         button release events without consuming the mouse press event,
2945         because of the way XGrabButton works.  This means that our mouse
2946         release events have a latency dependent on the polling period
2947         while the mouse button is down.  At least in this case we only
2948         have to poll while the button is down, and not at other times.
2949         If the button masks don't match with what the last press event
2950         reported, we report the appropriate button release event.
2951         (spi_dec_ungrab_mouse):
2952         New method (not yet called).
2953         (spi_device_event_controller_forward_mouse_event):
2954         New method, sends mouse press event from GdkFilter.
2955         (spi_dec_init_mouse_listener):
2956         Added code to call XGrabButton, redirecting mouse button events to
2957         the root window and our Gdk event loop.
2958         (global_filter_fn):
2959         Added code to filter mouse button events, and reordered.
2960         
2961         * test/event-listener-test.c:
2962         (main):
2963         Added registration for mouse events of type "mouse:button".
2964
2965 2002-06-25  Bill Haneman  <bill.haneman@sun.com>
2966
2967         * registryd/deviceeventcontroller.c: partial fix for 84261
2968         (spi_dec_poll_mouse_idle):
2969         New method, a timeout which checks to see if the mouse
2970         has moved.
2971         (spi_dec_poll_mouse_moving):
2972         A timeout to be called when mouse motion is underway.
2973         (spi_dec_poll_mouse_moved):
2974         A method which fires an event if the mouse has moved, and reports
2975         whether or not it did so. 
2976         (spi_dec_init_mouse_listener):
2977         A method which sets up the timeouts above.
2978         (spi_device_event_controller_new):
2979         Now calls spi_dec_init_mouse_listener.
2980
2981         * registryd/registry.c:
2982         (spi_registry_init):
2983         Now we initialize the device event controller when the registry is
2984         initialized, instead of waiting until a client has requested a key
2985         event notification; this is because we need the event controller
2986         for mouse events, but the mouse event registration API is a
2987         "registry" call and doesn't explicitly call the 
2988         deviceeventcontroller.
2989         We now report mouse motion events with a 100 ms idle latency and
2990         a 20 ms granularity when motion is in progress.
2991
2992         * test/event-listener-test.c:
2993         (main):
2994         We now register the "detail listener" for events of type 
2995         "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
2996         delivered only for the first mouse event received, and thereafter
2997         "mouse:abs" events are delivered.)
2998
2999         * cspi/spi_registry.c:
3000         DOCS: Documented the above mouse event typestrings.
3001         
3002 2002-06-21  Bill Haneman  <bill.haneman@sun.com>
3003
3004         Happy Summer Solstice...
3005
3006         * registryd/deviceeventcontroller.c: [fix for bug 84100]
3007         (spi_controller_notify_keylisteners):
3008         Changes to remove a listener from the listener list, freeing its
3009         open keygrabs, if a notification to that listener fails.  This
3010         means that although a dead listener can continue to hold a passive
3011         keygrab, a maximum of one dispatch to such a listener can fail
3012         before the listener is removed from the list, thus the keygrab
3013         will be released on the next occurrence.
3014         As part of this fix:
3015         (spi_notify_keylisteners):
3016         Renamed to spi_controller_notify_keylisteners, as the controller
3017         instance must now be passed as an argument.
3018         The copied 'notify' GList is now a list of DEControllerKeyListener
3019         objects, since we need more than just the CORBA reference if a
3020         notify fails and we need to deregister the listener.
3021         (impl_notify_listeners_sync):
3022         (impl_notify_listeners_async):
3023         (spi_device_event_controller_forward_key_event):
3024         Modify use of notify_keylisteners in accordance with above
3025         changes.
3026         (spi_deregister_controller_key_listener):
3027         New method introduced by refactoring, from 
3028         impl_deregister_keystroke_listener.
3029         (impl_deregister_keystroke_listener):
3030         Call spi_deregister_controller_key_listener.
3031         (spi_key_listener_clone):
3032         New method to copy a key listner without doing a 'ref' on the
3033         remote object instance; used to create a notifier list.
3034         (spi_key_listener_data_free):
3035         New method, frees data without unreffing the source.
3036         Used in refactor.
3037         (spi_key_listener_clone_free): new method.
3038         (spi_key_listener_free): 
3039         refactored to call spi_key_listener_data_free.
3040         
3041 2002-06-20  Bill Haneman  <bill.haneman@sun.com>
3042
3043         * registryd/registry.c: [fix for bug 86048]
3044         (notify_listeners_cb):
3045         Clear CORBA system exceptions which occur when notifying
3046         listeners, before returning to the source of the original event,
3047         since the event source doesn't care if the relayed notify failed.
3048         In other words, don't complain to the atk-bridge if the registry
3049         could not notify all its listeners, that's no fault of the
3050         application and thus should not appear to be an error from the
3051         application's perspective.
3052         
3053         * cspi/spi_main.c: [fix for bug 85980]
3054         (cspi_object_ref):
3055         Replaced use of bonobo_object_dup_ref with call to the wrapper
3056         method, csou_dup_ref (); this silences a compiler warning and
3057         provided more portability.
3058         (cspi_registry):
3059         Ping the registry before return, and restart if necessary.
3060
3061         * cspi/bonobo/cspi-bonobo.c:
3062         (cspi_ping):
3063         New internal method.
3064         (cspi_dup_ref):
3065         Fixed this method to return an object reference, as it should have
3066         all along.
3067
3068         * cspi/cspi-lowlevel.h:
3069         Added internal definition for cspi_ping() and fixed 
3070         return type of cspi_dup_ref().
3071         
3072
3073 2002-06-19  Bill Haneman  <bill.haneman@sun.com>
3074
3075         * atk-bridge/bridge.c:  [fix for bug 85305]
3076         (spi_atk_bridge_register_application):
3077         New method where the initial application registry calls have been
3078         moved; it allows an application to re-register in response to
3079         certain error conditions (such as a registry restart, see below).
3080         (atk_bridge_init):
3081         Moved some initialization code to the method
3082         spi_atk_bridge_get_registry, below.
3083         (spi_atk_bridge_get_registry):
3084         New, private accessor function for the Accessibility_Registry
3085         instance.  If the registry has not been started before, or has
3086         died (as detected by failure of a CORBA exception), it is
3087         restarted before return, and spi_atk_bridge_register_application
3088         is called again to register with the new bridge instance.
3089         (spi_atk_emit_eventv):
3090         Set registry_died on error; use spi_atk_bridge_get_registry () to
3091         access the registry.
3092         
3093         * registryd/registry.c:
3094         (impl_accessibility_registry_register_global_event_listener):
3095         Set listener's event_type_quark to etype.minor instead of
3096         etype.major (fix for bug 84856).
3097
3098         * test/event-listener-test.c:
3099         (report_detail_event):
3100         Change the output string so that user/tester can tell that the
3101         'detail listener' was called instead of the 'generic listener'.
3102         
3103 2002-06-18  Bill Haneman  <bill.haneman@sun.com>
3104
3105         Fixes for bugs 84900, 84908, 84897, 84898.
3106
3107         * NEWS: updated.
3108         
3109         * configure.in:
3110         Revved version to 1.1.0 
3111         (reserving the 1.0.X branch for gnome-2-0-0 branch, this
3112         version is going to HEAD which will be used for gnome-2-0-1 and later.)
3113         
3114         * idl/Accessibility_Registry.idl:
3115         (EventListener::notifyEvent):
3116         Removed 'oneway' directive after extensive consulation with
3117         ORBit2 team and others.  This means also that unref() of the event
3118         source can and should be done synchronously after emission, rather
3119         than remotely in the client, after servicing the notify call on
3120         the listener side.
3121
3122         NOTE: This change speeds up listener performance considerably, but
3123         introduces new latency on the application side.  We may want to
3124         add an event queue to the atk-bridge.
3125
3126         * atk-bridge/bridge.c:
3127         (spi_atk_bridge_focus_tracker):
3128         Do a local unref() on the event source after emission.
3129         
3130         * registryd/registry.c:
3131         (desktop_remove_application):
3132         Do an unref() on the event source after emission.
3133         (desktop_add_application):
3134         Do an unref() on the event source after emission.
3135         (notify_listeners_cb):
3136         When relaying an event, don't automatically add the event source
3137         to the local object cache, just CORBA_dup it instead.  Likewise,
3138         if this method reenters, release the ref rather than calling
3139         unref() as well.
3140         (impl_registry_notify_event):
3141         No longer call remote unref() on the event source after dispatch.
3142
3143         * libspi/eventlistener.c:
3144         (impl_accessible_event_notify_event):
3145         Removed remote unref ()
3146         
3147         * cspi/bonobo/cspi-bonobo-listener.c:
3148         (cspi_event):
3149         We now call cspi_object_new() instead of cspi_object_add() on
3150         receipt of an event; thus we only have an implicit object ref
3151         while the cspi_event method is being executed.  If we need to keep
3152         a reference to the object, the listener must call ref() on the
3153         object.  Thus also we don't need to call cspi_object_unref() after
3154         invoking the listener callbacks in this method.
3155         
3156         * cspi/spi_main.c:
3157         (cspi_object_new):
3158         New internal API for creating a new cspi object, without adding it
3159         to the object cache.
3160         (cspi_object_add):
3161         Now uses cspi_object_new() to create the cspi object instance.
3162         (cspi_object_ref):
3163         Now checks to see if the object is in the internal object cache,
3164         and adds it if necessary before incrementing its refcount (note
3165         that new objects are added with a refcount of 1).
3166         (report_leaked_ref):
3167         New method which gives some information on leaked object instances
3168         if leak detection is turned on.
3169
3170         * test/event-listener-test.c:
3171         (timing_test_event):
3172         New method, used for testing event delivery timing for special
3173         events of type "object:test".  It reports elapsed time and
3174         events/sec every 500 events.
3175         (main):
3176         Added a new listener, 'test listener', to check timing of event
3177         receipt as noted above.
3178         (report_event):
3179         Added some timing output here also, reports elapsed time every 100
3180         events.
3181
3182         * test/stress-test.c:
3183         Emit events of type "object:test", for use with "event-listener-test".
3184
3185         * test/test-simple.c:
3186         (global_listener_cb):
3187         Call Accessible_ref() on the event source before calling
3188         validate_accessible, since the validation process does pointer
3189         comparisons on the event source, meaning that the event source
3190         needs to be added to the local object cache first.  Any use of
3191         such pointer comparisons between Accessible objects requires that
3192         the caller hold an explicit reference to those objects.
3193         We also must therefore call Accessible_unref() when leaving this method.
3194
3195 2002-06-13  Bill Haneman  <bill.haneman@sun.com>
3196
3197         * registryd/deviceeventcontroller.c:
3198         (spi_controller_update_key_grabs):
3199         Fix for #84735, subsequent keygrab listeners not informed of
3200         registration failure.
3201
3202         * libspi/base.c:
3203         (spi_base_construct):
3204         Add an assertion on construct, to make sure the GObject passed in
3205         is really a GObject.
3206         (spi_base_init):
3207         Explicitly initialize object->gobj pointer to NULL;
3208
3209         * cspi/bonobo/cspi-bonobo-listener.c:
3210         (cspi_object_add_ref):
3211         New method, can specify whether to dup-ref a bonobo object passed
3212         in if it's newly added to the object cache.
3213         (cspi_object_add):
3214         Now calls cspi_object_add_ref with second param of "FALSE".  This
3215         prevents us from doing a pointless dup-ref followed by
3216         release-unref for all those cases where the object is already in
3217         our object cache (fix for #85205).
3218
3219         * atk-bridge/bridge.c:
3220         (spi_atk_bridge_idle_init):
3221         Removed this method, we don't need to initialize in an idle
3222         handler anymore;
3223         (atk_bridge_init):
3224         Changed to call spi_atk_register_event_listeners directly, not via an
3225         idle handler. (fix for #81139)
3226         (gnome_accessibility_module_shutdown):
3227         Removed conditional around deregistration of listeners, since we
3228         don't use the idle handler and thus have always registered when
3229         shutdown is called.
3230         (spi_init_keystroke_from_atk_key_event):
3231         Changed references to Accessibility_KEY_PRESSED to 
3232         Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
3233         
3234 2002-06-12  Bill Haneman  <bill.haneman@sun.com>
3235
3236         (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
3237         
3238         * configure.in:
3239         Revved to 1.0.1
3240
3241         * test/stress-test.c:
3242         Added file.
3243
3244         (may have been an incomplete commit yesterday?)
3245
3246 2002-06-12  Bill Haneman  <bill.haneman@sun.com>
3247
3248         * test/Makefile.am:
3249         Added target for new stress-test.
3250         
3251         * test/stress-test.c:
3252         New test, sends 1000 focus notifies in quick succession.
3253
3254         * test/key-listener-test.c:
3255         Now we report whether a keylistener registration
3256         request succeeded or failed.
3257
3258         * test/event-listener-test.c:
3259         Uncommented some listeners which are now implemented.
3260
3261
3262 2002-06-06  Bill Haneman  <bill.haneman@sun.com>
3263
3264         * registryd/deviceeventcontroller.c:
3265         (spi_controller_update_key_grabs):
3266         Fix for #82509, lack of failure notification when
3267         ALL_WINDOWS keygrabs fail due to XGrabKey
3268         failure: we synchronize the server when 
3269         registering a passive grab, to make sure we get the
3270         error message before the call returns.
3271
3272 2002-06-03  Bill Haneman  <bill.haneman@sun.com>
3273
3274         * test/test-simple.c:
3275         (key_listener_cb):
3276         Removed #ifdef KEY_IMPL_WORKS guards.
3277         (test_keylisteners):
3278         Removed #ifdef KEY_IMPL_WORKS guards.
3279         Fixed bug which was causing a hang waiting for a 
3280         "press" event (which was already overwritten by a "release" 
3281         event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
3282         (key_listener_cb):
3283         Added code to set globals 'key_press_received' and
3284         'key_release_received'.
3285
3286         * TODO:
3287         Added section "1.1 API Proposed Additions" which
3288         lists API additions desired for at-spi-1.1 (only one so far).
3289         Updated TODO list a little.
3290         
3291 2002-06-02  Bill Haneman  <bill.haneman@sun.com>
3292
3293         AT-SPI 1.0 API FINAL: at-spi 1.0 is now
3294         API frozen.
3295         
3296         * configure.in: Revved to 1.0.0.
3297
3298         * idl/Accessibility_Registry.idl:
3299         (registerKeystrokeListener):
3300         Added boolean return value.
3301         
3302         * registryd/registry.c:
3303         (notify_listeners_cb): Minor fix to debug output.
3304
3305         * registryd/Accessibility_Registry.server.in.in:
3306         Revved version number in OAFIID to 1.0.
3307
3308         * registryd/registryd.c:
3309         (main):
3310         Use new OAFIID version.
3311
3312         * cspi/bonobo/cspi-bonobo.c:
3313         (cspi_init):
3314         Use new OAFIID version.
3315
3316         * test/at.c:
3317         (main):
3318         * test/app.c:
3319         (main):
3320         * atk-bridge/bridge.c:
3321         (atk_bridge_init):
3322         Use new OAFIID version.
3323
3324         * registryd/deviceeventcontroller.c:
3325         (impl_register_keystroke_listener):
3326         Added CORBA_boolean return value.
3327         (spi_controller_register_device_listener):
3328         Added gboolean return value.
3329         (spi_controller_register_global_keygrabs):
3330         Added gboolean return value.
3331         (spi_key_set_contains_key):
3332         Added implementation for many more control keys,
3333         for instance F1-F12, arrow keys, End, Home, Page_Up,
3334         Page_Down, Escape.
3335         [TODO: some still not implemented]. 
3336         
3337         * text/screen-review-test.c:
3338         (text_chunk_pad_string):
3339         New function: it provides mapping between coordinate
3340         positions of text chunks and character positions in the
3341         screen-review-line output string.
3342         (text_chunk_to_string):
3343         New function, calls text_chunk_pad_string with various
3344         pad/delimiter characters. Pushbuttons are delimited with
3345         square brackets, Frames with vertical 'pipe' lines, and 
3346         other text with double quotes.
3347         (text_chunk_list_to_string):
3348         Calls new function text_chunk_to_string.
3349         (toplevel_composite):
3350         New function to composite layers CANVAS through
3351         POPUP in each toplevel (other layers are composited
3352         across toplevels, i.e. BACKGROUND and OVERLAY).
3353         (review_buffer_composite):
3354         Revise to use new methods.
3355         
3356         
3357         
3358         
3359
3360 2002-05-31  Laszlo Peter  <laca@sun.com>
3361
3362         * configure.in: add the Xtst libdir to the runpath on Solaris,
3363         since it's not in the default library search path.
3364
3365 2002-05-29  jacob berkman  <jacob@ximian.com>
3366
3367         * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
3368
3369 2002-05-29  Bill Haneman  <bill.haneman@sun.com>
3370
3371         * test/screen-review-test.c:
3372         (text_chunk_pad_string):
3373         Added method, which pads the string according to the 
3374         text bounds of the chunk.  It also takes a 3-character
3375         string as a param which indicates the characters to be 
3376         used for start, padding, and end delimitation of the chunk.
3377         (text_chunk_to_string):
3378         Changed to use text_chunk_pad_string.
3379         
3380         * configure.in: Fixed bug in AC_OUTPUT that was
3381         causing path substitution in Accessibility_Registry.server
3382         to fail.
3383
3384 2002-05-23  Bill Haneman  <bill.haneman@sun.com>
3385
3386         * text/screen-review-test.c:
3387         (guess_string_clip):
3388         New method which attempts a best-guess at clipping
3389         text from components (like Java labels) which don't
3390         actually implement AccessibleText.  This inaccurate
3391         clip is based on the assumption that the label is
3392         justified left-and-right, and monospaced.
3393         (text_chunk_get_clipped_string):
3394         We now call guess_string_clip() for text-containing
3395         components that don't implement AccessibleText.
3396
3397         * test/screen-review-test.c:
3398         (review_buffer_get_text_chunk):
3399         We now pull "name" from labels if they do not implement
3400         AccessibleText (i.e. for Java labels).
3401         (get_screen_review_line_at):
3402         Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
3403
3404         * configure.in:
3405         Replaceded AC_OUTPUT target
3406         registryd/Accessibility_Registry.server with 
3407         registryd/Accessibility_Registry.server.in.
3408
3409         * registryd/Accessibility_Registry.server.in:
3410         Removed (this is now a Makefile target).
3411
3412         * registryd/Accessibility_Registry.server.in.in:
3413         Added (source for target above).  We now use $(libexecdir) as
3414         prefix for the executable at-spi-registryd.
3415
3416         * registry/Makefile.am: 
3417         Now install at-spi-registryd into $(libexecdir), and build .server
3418         file with path (see above).
3419         
3420 2002-05-22  Bill Haneman  <bill.haneman@sun.com>
3421
3422         * test/screen-review-test.c:
3423         (text_chunk_get_clipped_string):        
3424         We now check to see if words fall within clip bounds 
3425         before resorting to character-by-character clip bounds testing.
3426
3427         * TODO: Added a section for "2.2 Proposed API Additions".
3428
3429 2002-05-21  Bill Haneman  <bill.haneman@sun.com>
3430
3431         * test/screen-review-test.c:
3432         * test/Makefile.am:
3433         Added a screen review benchmarking and test program to test
3434         directory.
3435
3436         * cspi/spi_accessible.c:
3437         * cspi/spi_main.c:
3438         Made some of the debug strings passed to cspi_check_ev a
3439         little more specific.
3440
3441 2002-05-21  Padraig O'Briain  <padraig.obriain@sun.com>
3442
3443         * test/screen-review-test.c: Fix crashes in debug statements
3444
3445 2002-05-20  Bill Haneman  <bill.haneman@sun.com>
3446
3447         * test/screen-review-test.c: Added this file.
3448
3449 2002-05-13  Marc Mulcahy <marc.mulcahy@sun.com>
3450
3451         * atk-bridge/bridge.c: changed "object:state-change" to
3452         "object:state-changed" to match docs.
3453
3454 2002-05-13  Marc Mulcahy <marc.mulcahy@sun.com>
3455
3456         * atk-bridge/bridge.c: Hooked up state-change event details.
3457
3458 2002-05-11  Bill Haneman <bill.haneman@sun.com>
3459
3460         * registryd/registry.c:
3461         Fixed quarking bug in event string parsing; now events with
3462         detail parameters get matched correctly to listeners.
3463         [Bugzilla 80608].
3464
3465         * util/idl/Magnifier.idl: remove.
3466         * util/idl: remove
3467         * util/*.[ch]: Remove.
3468         Magnification utilities and IDL are now in module gnome-mag.
3469
3470 2002-05-10  Bill Haneman <bill.haneman@sun.com>
3471
3472         * registryd/deviceeventcontroller.c:
3473         Fixed bug in grab key conversion which was causing keycode grabs
3474         to be converted to AnyKey grabs.
3475
3476         * NEWS:
3477         updated NEWS file to reflect recent spin-off of gnome-mag.
3478
3479 2002-05-09  Marc Mulcahy <marc.mulcahy@sun.com>
3480
3481         * cspi/spi_accessible.c: Added exception checks.  Fixed completely
3482         busted AccessibleStateSet_compare.  Removed redundant casts.
3483         
3484         * cspi/spi-action.c: Removed redundant casts.
3485
3486         * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
3487
3488         * cspi/spi_component.c: Fixed typos and casting error.
3489
3490         * cspi/spi_editabletext.c: Removed redundant casts.
3491
3492         * cspi/spi_hyperlink.c: Fixed casting and exception checking.
3493
3494         * cspi/spi_hypertext.c: Eliminated redundant casts.
3495
3496         * cspi/spi_image.c: Eliminated redundant casts.
3497
3498         * cspi/spi_registry.c: Eliminated redundant casts.
3499         SPI_deregisterGlobalEventListenerAll () removed retval variable.
3500         * cspi/spi_selection.c: Removed redundant casts.
3501         * cspi/spi_text.c: Eliminated redundant casts.  Fixed exception
3502         handling.  Screen geometry and text offsets were being returned as 0
3503         on error which is technically valid-- changed these to return -1.
3504         Added marshaller for text boundary types to fix bug with boundary
3505         types being passed incorrectly to atk.
3506                         
3507 2002-05-09  Bill Haneman <bill.haneman@sun.com>
3508
3509         
3510         * cspi/spi_registry.c:
3511         Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
3512         which was uncovered by the recent key changes.
3513
3514 2002-05-09  Bill Haneman <bill.haneman@sun.com>
3515
3516         * test/event-listener-test.c:
3517         * test/Makefile.am:
3518         Added new test, "event-listener-test"; 
3519         this code does two things; it benchmarks traversal time 
3520         for the accessible hierarchy for the first running accessible 
3521         app, and it connects listeners for all supported event types.  
3522         It is thus useful as an example event listener and for 
3523         diagnostics/debugging of event generation.
3524         
3525 2002-05-08  Bill Haneman <bill.haneman@sun.com>
3526
3527         * test/Makefile.am:
3528         Removed unnecessary dependency on libutil.
3529
3530         * configure.in:
3531         Revved micro version: 0.13.1
3532
3533 2002-05-08  Bill Haneman <bill.haneman@sun.com>
3534
3535         * configure.in: 
3536         Removed util/Makefile from targets.
3537
3538         * Makefile.am:
3539         Removed util subdir from SUBDIRS (temporarily, 
3540         pending removal of magnifier-only code
3541         from UTIL).
3542
3543         * test/simple-at.c:
3544         #ifdef-ed out magnifier dependencies, since
3545         magnifier IDL, headers, and binary now live in
3546         module gnome-mag and we don't want at-spi to depend 
3547         on gnome-mag.  A magnifier demo which can run alongside
3548         simple-at is forthcoming in the gnome-mag module.
3549         
3550         NOTE: Split magnifier binary, IDL, and magnification
3551         activation code from at-spi into module gnome-mag.
3552
3553 2002-05-03  Marc Mulcahy <marc.mulcahy@sun.com>
3554  
3555         * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
3556         cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
3557  
3558 2002-05-03  Bill Haneman <bill.haneman@sun.com>
3559
3560         * configure.in:
3561         Revved to version 0.13.0
3562         
3563         * idl/Accessibility_Registry.idl:
3564         Changed definition of KeySet from sequence of longs to sequence of
3565         KeyDefinitions, and added KeyDefinition struct.
3566         Required for fix to bug 80616.
3567
3568         * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
3569         Changed AccessibleKeySet to Accessibility_KeySet marshalling code
3570         to use new definition (see above).  
3571
3572         * registryd/deviceeventcontroller.c: handle_keygrab(), 
3573         spi_keyset_contains_key():
3574         Changed to make use of new struct; this allows matching based on
3575         string key-name, for instance "Tab".  This also allows matching of
3576         composed characters, non-alphanumeric characters in a way that
3577         doesn't involve dependencies on X keysym codes directly, etc.
3578         
3579         * test/key-listener-test.c:
3580         Added test for Alt-Tab key using "string" specification of keyset,
3581         and modified one of the tests to use a keycode-based keyset.
3582         Thus this test both tests and demonstrates the creation and use of
3583         keysets of three forms:  specified via keycode array, 
3584         keysym array, and string array. (The string case only contains a
3585         single string, i.e. a string array of length 1).        
3586
3587         * test/simple-at.c:
3588         Turned on PRINT_TREE option by default.  Also fixed a
3589         string-freeing bug in the PRINT_TREE code.  
3590         Added a listener to window:minimize events.
3591         
3592 2002-05-08  Padraig O'Briain  <padraig.obriain@sun.com>
3593
3594         * atk-bridge/bridge.c:
3595         (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
3596         for window:activate and window:deactiveate
3597         (atk_bridge_property_event_listener atk_bridge_signal_listener
3598         atk_bridge_window_event_listener) Tidy debug code
3599
3600 2002-05-02  Marc Mulcahy <marc.mulcahy@sun.com>
3601
3602         * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
3603         Fixed handling for NULL return value from ATK.
3604
3605         * libspi/action.c libspi/component.c libspi/editabletext.
3606         libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
3607         libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
3608         Removed redundant casts.
3609         
3610         * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
3611         Fixed off by one bug.
3612         
3613         *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
3614         function not present in idl)
3615         
3616 2002-05-02  jacob berkman  <jacob@ximian.com>
3617
3618         * atk-bridge/Makefile.am: make atk-bridge a real module
3619
3620 2002-04-26  Radek Doulik  <rodo@ximian.com>
3621
3622         * libspi/stateset.c (spi_init_state_type_tables): fix size of
3623         atk_state_types table
3624
3625 2002-04-22  jacob berkman  <jacob@ximian.com>
3626
3627         * util/Makefile.am: 
3628         * libspi/Makefile.am: add deps on the built files to help
3629         automake, and don't version the ORBit typelib
3630
3631 2002-04-19  Padraig O'Briain  <padraig.obriain@sun.com>
3632
3633         * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h 
3634         cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
3635         cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c 
3636         cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
3637         cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
3638         cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
3639         cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
3640         libspi/accessible.h libspi/accessible.h libspi/base.h 
3641         libspi/component.h libspi/editabletext.h libspi/hyperlink.h 
3642         libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
3643         libspi/relation.h libspi/remoteobject.h libspi/selection.h 
3644         libspi/spi-private.h libspi/statetset.h libspi/table.h
3645         libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
3646         util/mag_client.h util/mag_control.c util/mag_image.c
3647         util/mag_image.h util/magnifier.c util/magnifier.h: 
3648         Add missing file headers; standardize existing ones
3649
3650 2002-04-18  Marc Mulcahy  <marc.mulcahy@sun.com>
3651
3652         * atk-bridge/bridge.c: Added window event support.
3653
3654 2002-04-18  Michael Meeks  <michael@ximian.com>
3655
3656         * libspi/relation.c (impl_getNTargets): impl.
3657         (impl_getTarget): impl.
3658
3659         * libspi/Makefile.am: fix stateset install.
3660
3661 2002-04-17  Bill Haneman <bill.haneman@sun.com>
3662
3663         * NEWS:
3664         Started putting useful info in this file.
3665         
3666 2002-04-17  Marc Mulcahy <marc.mulcahy@sun.com>
3667  
3668         * atk-bridge/bridge.c: 
3669         Propagate state-changed notifications to ATs
3670  
3671         * cspi/spi_registry.c: update docs to reflect actual behavior of
3672         state-change events.
3673
3674 2002-04-17  Bill Haneman <bill.haneman@sun.com>
3675
3676         * configure.in:
3677         Incremented version to 0.12.1
3678         
3679         * util/mag_client.h:
3680         Add missing declaration for magnifier_exit, 
3681         used by mag_control.c - Forte compiler didn't like
3682         the implicit redeclaration of the function :-(
3683
3684
3685 2002-04-16  Bill Haneman <bill.haneman@sun.com>
3686
3687         * configure.in:
3688         Revved version to 0.12 due to API change (see below).
3689
3690         * cspi/spi-roletypes.h:
3691         removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE 
3692         definition from the inline docs, and added docs
3693         for SPI_ROLE_LAST_DEFINED.
3694
3695         * cspi/spi.h:
3696         * cspi/spi_streamablecontent.c:
3697         Added missing seek_type parameter to
3698         (so far unused) method, 
3699         AccessibleStreamableContent_seek().
3700         [ RT approval JodyG. ]
3701
3702         * cspi/spi_event.c:
3703         Fixed docs for SPI_createAccessibleKeystrokeListener.
3704
3705         * cspi/spi_registry.c:
3706         Fixed docs for SPI_KEYSET_ALL_KEYS.
3707         
3708         * docs/reference/cspi/at-spi-cspi-sections.txt:
3709         Added a number of missing APIs to SECTIONS.
3710         
3711 2002-04-16  Bill Haneman <bill.haneman@sun.com>
3712
3713         * registryd/Makefile.am:
3714         * cspi/Makefile.am:
3715         * cspi/bonobo/Makefile.am:
3716         Add $(X_LIBS) to makefiles.
3717
3718 2002-04-15  Bill Haneman <bill.haneman@sun.com>
3719
3720         * configure.in:
3721         Revved version to 0.11.
3722
3723         * libspi/component.c:
3724         Added implementation for grabFocus.
3725
3726         * idl/Accessibility_Component.idl
3727         (Accessibility_Component_grabFocus):
3728         Made this method return boolean to indicate success or failure, to
3729         be consistent with cspi and the corresponding ATK method.
3730         
3731         * idl/Accessibility_Selection.idl
3732         (Accessibility_Selection_selectAll) :
3733         Made these methods return boolean to indicate success or
3734         failure, to be consistent with cspi and the corresponding ATK methods.
3735         
3736         * idl/Accessibility_EditableText.idl 
3737         (Accessibility_EditableText_setTextContents,
3738          Accessibility_EditableText_insertText,
3739          Accessibility_EditableText_cutText,
3740          Accessibility_EditableText_deleteText,
3741          Accessibility_EditableText_pasteText):
3742         Made these methods return boolean to indicate
3743         success or failure.
3744
3745         * cspi/spi_editabletext.c:
3746         Made these methods return booleans.
3747
3748         * libspi/selection.c:
3749         * libspi/component.c:
3750         * libspi/editabletext.c:
3751         Connected the boolean returns from ATK
3752         to the server-side code referenced above.
3753         
3754 2002-04-14  Bill Haneman <bill.haneman@sun.com>
3755
3756         * idl/Accessibility_Table.idl: Added missing methods,
3757         Accessibility_Table_addRowSelection,
3758         Accessibility_Table_addColumnSelection,
3759         Accessibility_Table_removeRowSelection,
3760         Accessibility_Table_removeColumnSelection.
3761
3762         * cspi/spi_table.c:
3763         Added C wrappers for above IDL:
3764         AccessibleTable_addRowSelection,
3765         AccessibleTable_addColumnSelection,
3766         AccessibleTable_removeRowSelection,
3767         AccessibleTable_removeColumnSelection.
3768         
3769         * libspi/table.c:
3770         Added server-side implementation code for IDL above, connecting
3771         to pre-existing ATK api.
3772         
3773 2002-04-13  Marc Mulcahy <marc.mulcahy@sun.com>
3774
3775         * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
3776
3777         * libspi/accessible.c: Added implementation fo
3778         Accessibility_Accessible_get_state.
3779         
3780         * libspi/libspi.h: Added stateset.h to the list of includes.
3781
3782         * libspi/stateset.c: Fixed broken implementation.
3783
3784 2002-04-13  Bill Haneman <bill.haneman@sun.com>
3785
3786         * util/magnifier.c:
3787         Added implementation code for Accessibility_Magnifier_exit ().
3788
3789         * util/mag_control.c:
3790         Added test code for above method; you can
3791         now kill an existing magnifier via 
3792         ./mag_control q, from the util directory.
3793
3794         * test/key-listener-test.c:
3795         * test/Makefile.am:
3796         Added a new test, for our key listener API.
3797
3798 2002-04-11  Bill Haneman <bill.haneman@sun.com>
3799
3800         * test/app.c, test/keysynth-demo.c:
3801         * util/magnifier.c:
3802         Replace use of snprintf with g_snprintf.
3803         (fix for bugzilla 78249)
3804
3805 2002-03-27  Michael Meeks  <michael@ximian.com>
3806
3807         * Version 0.10.0
3808
3809         * util/Makefile.am (INCLUDES): fix.
3810         (DONT_DIST_SOURCE): don't distribute the
3811         generated files.
3812
3813         * libspi/Makefile.am (dist-hook): ditto.
3814
3815 2002-03-27  Padraig O'Briain  <padraig.obriain@sun.com>
3816
3817         * libspi/hypertext.c:
3818         Fix warnings when yelp is used with atk-bridge
3819
3820 2002-03-21  Michael Meeks  <michael@ximian.com>
3821
3822         * libspi/application.c (spi_application_new):
3823         use spi_accessible_construct so we use the AtkObject
3824         cache correctly.
3825
3826 2002-03-19  Michael Meeks  <michael@ximian.com>
3827
3828         * registryd/registry.c (desktop_remove_application),
3829         (desktop_add_application): clean coding style.
3830
3831         * registryd/desktop.c (spi_desktop_remove_application),
3832         (spi_desktop_add_application): kill re-enterency hazards.
3833         (spi_desktop_dispose): remove bogus redundant cast
3834         obscuring bug; fix bug too.
3835         (spi_desktop_init): make the desktop object immortal.
3836
3837 2002-03-16 Bill Haneman <bill.haneman@sun.com>
3838
3839         * test/simple-at.c:
3840         Added a #define-guarded tree-traversal step
3841         when enumerating the apps (diagnostic tool).
3842
3843 2002-03-15 Bill Haneman <bill.haneman@sun.com>
3844
3845         * idl/Accessibility_Role.idl:
3846         Added ROLE_DRAWING_AREA which seemed to be missing from the
3847         previous commit.
3848
3849 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3850
3851         * cspi/spi-roletypes.h cspi/spi_accessible.c
3852         idl/Accessibility_Role.idl libspi/accessible.c: synched up role
3853         types with ATK.
3854
3855         * registryd/desktop.c registryd/desktop.h registryd/registry.c:
3856         Added signals to SpiDesktop and callbacks in SpiRegistry to notify
3857         AT when applications are added and removed from the desktop.  This
3858         reverts the previous broken implementation using the backing
3859         AtkObject for the SpiDesktop.
3860         
3861         2002-03-14  Marc Mulcahy <marc.mulcahy@sun.com>
3862
3863         * registryd/desktop.c: emit the "children-changed::add" and
3864         "children-changed::remove" signals on the backing ATK object for
3865         the desktop so AT can tell when applications are started and shut
3866         down.
3867
3868         2002-03-14  Marc Mulcahy <marc.mulcahy@sun.com>
3869
3870         * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
3871
3872         2002-03-14  Marc Mulcahy <marc.mulcahy@sun.com>
3873
3874         * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
3875
3876         * cspi/spi_accessible.c: Implemented c bindings for stateset support
3877
3878         * cspi/state-types.h: synched with IDL and ATK
3879
3880         2002-03-13  Bill Haneman <bill.haneman@sun.com>
3881
3882         * libspi/accessible.c 
3883         (impl_accessibility_accessible_get_child_at_index):
3884         Change return value for g_return_if_fail ()
3885         to CORBA_OBJECT_NIL instead of "0" (!)
3886
3887         * registryd/Makefile.am:
3888         * registryd/Accessibility_Register.server.in:
3889         Changed name of executable, "registryd",
3890         to something more informative:
3891         "at-spi-registryd".
3892
3893 2002-03-13  Michael Meeks  <michael@ximian.com>
3894
3895         * atk-bridge/bridge.c (atk_bridge_init): don't register
3896         if we're in a bonobo-component, rather than a bonobo app.
3897
3898 2002-03-13  Michael Meeks  <michael@ximian.com>
3899
3900         * atk-bridge/bridge.c (gtk_module_init): split
3901         out body to (atk_bridge_init): here, since otherwise
3902         we get symbol conflicts and oddness when invoked
3903         from (gnome_accessibility_module_init): here (upd.)
3904
3905 2002-03-11  Bill Haneman  <bill.haneman@sun.com>
3906
3907         * HACKING:
3908         New file.  Explicitly allow "build sheriff" putbacks provided
3909         they are tested on Solaris.
3910         
3911         * docs/reference/cspi/Makefile.am:
3912         Added '-' to the "cp" command for index.sgml.
3913         ("patch by thomasvs, soon coming to a GUADEC near you")
3914
3915         * configure.in:
3916         Incremented version number (0.9.0) for new release.
3917         Changed macro that checks for popt, to better detect
3918         obsolete versions of popt.
3919         
3920         * configure.in:
3921         Added X_LIBS to AC_SUBST, for applications
3922         that call Xlib API directly.
3923         
3924
3925 2002-03-07  Bill Haneman  <bill.haneman@sun.com>
3926
3927         * configure.in:
3928         Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
3929
3930         * util/Makefile.am:
3931         Fix regression caused by hard-coding major
3932         version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
3933         (see above change).
3934         
3935         * test/test-simple.c (test_editable_text),
3936         (test_test): revert previous change (error was 
3937         a regression in gail which is now fixed).
3938         
3939 2002-03-04  Michael Meeks  <michael@ximian.com>
3940
3941         * test/test-simple.c (test_editable_text),
3942         (test_text): pass G_MAXINT instead of '-1' for
3943         whole string - is this a good thing !?
3944
3945         * cspi/spi_accessible.c
3946         (Accessible_getRelationSet): fix crasher bug
3947         overwriting the end of the array.
3948
3949         * test/test-simple.c (validate_accessible): free,
3950         not g_free returned relation set.
3951
3952 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
3953
3954         * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
3955         implemented stateset support
3956
3957         * idl/Accessibility_State.idl: Made necessary changes to
3958         the IDL to support state sets.
3959
3960 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3961
3962         * registryd/deviceeventcontroller.c:
3963         Added implementation for generateMouseEvent.
3964
3965         * cspi/spi_registry.c:
3966         Connected new implementation for generateMouseEvent
3967         to the C bindings.
3968         
3969 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3970
3971         * configure.in: 0.8
3972         Incremented revision (but no change in public API
3973         outside of 'utils', which are not installed public yet.)
3974
3975         * libspi/component.c:
3976         Changed to use atk_component API for layers and
3977         mdi_zorder, instead of deprecated atk_object API.
3978         
3979         Magnification Utility Enhancements:
3980         
3981         * util/magnifier.c:
3982         Added implementation of createZoomRegion, clearAllZoomRegions,
3983         resizeZoomRegion.  Added new commandline argument
3984         "--no-initial-region".  Note that clearAllZoomRegions doesn't
3985         unmap the old '0' region as it should (yet), and the other
3986         methods only work when creating/resizing a single region,
3987         which is "region 0".  
3988         (Code for multiple region support will be added later.)
3989
3990         * util/mag_image.c:
3991         Now we raise the magnifier window each time it's refreshed;
3992         this will help keep it on top.
3993         
3994         * util/mag_client.h:
3995         Added simple wrappers for above, used by mag_control.
3996         For general use, it's recommended to use the bonobo magnifier
3997         control API directly instead of using these wrappers.
3998
3999         * util/mag_image.h:
4000         Moved ZoomRegionData from magnifier.c to this file.
4001         
4002         * util/mag_control.c: 
4003         Added some code to exercise new IDL implementations.
4004         
4005 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
4006
4007         * libspi/text.c: Provide implementation for getAttributes.
4008
4009 2002-02-04  Bill Haneman <bill.haneman@sun.com>
4010         
4011         * configure.in:
4012         Incremented revision.
4013
4014         * test/test-simple.c:
4015         Replaced use of deprecated g_main_iteration with 
4016         g_main_context_iteration.
4017         
4018 2002-01-28  Padraig O'Briain <padraig.obriain@sun.com>
4019
4020         * configure.in:
4021         Incremented revision for desktop alpha 2.
4022
4023 2002-01-28  Mark McLoughlin  <mark@skynet.ie>
4024
4025         * libspi/remoteobject.[ch]: make RemoteObject and interface rather
4026         than an atk object.
4027
4028         * test/simple-at.c: include netinet/in.h.
4029
4030 2002-01-24  Mark McLoughlin  <mark@skynet.ie>
4031
4032         * cspi/spi_accessible.c: (Accessible_getRelationSet):
4033         use NULL, not CORBA_OBJECT_NIL.
4034
4035         * libspi/accessible.c:
4036         (impl_accessibility_accessible_get_relation_set):
4037         allocate the sequence correctly.
4038
4039         * libspi/remoteobject.h: kill spi_remote_object_new.
4040
4041         * test/test-simple.c: (validate_accessible): add code
4042         to test relation sets, now all we need is to figure
4043         out how to excercise this code path :/
4044
4045 2002-01-18  Michael Meeks  <michael@ximian.com>
4046
4047         * test/test-simple.c
4048         (key_listener_cb): consume the key.
4049         (test_keylisteners): update.
4050         (main): wait for any pending unrefs on events.
4051
4052         * registryd/deviceeventcontroller.c
4053         (spi_controller_update_key_grabs): only re-issue the
4054         grab on a key release.
4055         (spi_device_event_controller_forward_key_event):
4056         refresh the keygrabs before we notify the listeners,
4057         to reduce the X ungrab / re-grab race.
4058         (spi_controller_register_with_devices): remove
4059         XSelectInput - we do that with the gdk_window_ call.
4060         (_spi_controller_device_error_handler): return a value.
4061         s/GDK_DISPLAY/spi_get_display/
4062
4063 2002-01-17  Michael Meeks  <michael@ximian.com>
4064
4065         * registryd/deviceeventcontroller.c
4066         (_deregister_keygrab): don't blow out the later
4067         assertion.
4068
4069         * test/test-simple.c (test_keylisteners): do a
4070         more intelligent validation.
4071
4072 2002-01-14  Michael Meeks  <michael@ximian.com>
4073
4074         * atk-bridge/bridge.c
4075         (gnome_accessibility_module_init),
4076         (gnome_accessibility_module_shutdown): impl.
4077         (gtk_module_init): protect vs. double inits.
4078         (add_signal_listener): impl.
4079         (spi_atk_bridge_state_event_listener): kill
4080         (deregister_application): split out of
4081         (spi_atk_bridge_exit_func): here.
4082
4083 2002-01-18  Bill Haneman <bill.haneman@sun.com>
4084
4085         * test/simple-at.c:
4086         Added caret tracking when using magnifier, and 
4087         now use text bounds for focus tracking of text elements, rather than
4088         the component bounds - this is helpful for short text fields in long
4089         table cells, at high magnification.
4090         
4091 2002-01-16  Bill Haneman <bill.haneman@sun.com>
4092
4093         * registryd/deviceeventcontroller.c:
4094         Regression fix for keylistener de-registration; global keygrabs
4095         were not being released when deregisterKeystrokeListener was
4096         called in cspi, since 
4097         Accessibility_DeviceEventController_deregisterKeystrokeListener
4098         was called with a zero-length keyset.  That is because the cspi
4099         method, SPI_deregisterKeystrokeListener, does not take a keyset
4100         parameter but instead should remove all the key grabs held be a
4101         keystroke listener.  
4102         The code in impl_deregister_keystroke_listener was changed to copy
4103         the keylist from the listener instance previously registered with
4104         the DeviceEventController before releasing the grabs.
4105
4106         * registryd/registry.c:
4107         * registryd/deviceeventcontroller.c:
4108         * libspi/spi-private.h:
4109         * libspi/util.c:
4110         Changed spelling of "re-enterant" to "re-entrant" globally.
4111
4112 2002-01-16  Bill Haneman <bill.haneman@sun.com>
4113
4114         * test/test-simple.c:
4115         Changed key listeners test - the test was slightly mis-using the
4116         (admittedly poorly documented) SPI_generateKeyboardEvent API.
4117         It now uses '=' as the key event listened to and generated,
4118         relying on a keysym match rather than assuming that keycode 33 
4119         is always equal to keysym '!'.
4120
4121 2002-01-15  Bill Haneman <bill.haneman@sun.com>
4122
4123         * test/simple-at.c:
4124         Changed simple-at to use a specific keyset, rather than
4125         SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
4126         manager, desktop, etc.
4127         
4128 2002-01-11  Bill Haneman <bill.haneman@sun.com>
4129
4130         * registryd/deviceeventcontroller.c:
4131         Replaced standard X error handler with a special handler that 
4132         is non-fatal for failed keygrabs.  This works around 
4133         problems with keygrab clashes sometimes observed on 
4134         Solaris using CDE.
4135         Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate 
4136         mouse handling code as yet).
4137         
4138 2002-01-11  Bill Haneman <bill.haneman@sun.com>
4139
4140         * configure.in:
4141         Incremented revision for desktop alpha release.
4142
4143         * README:
4144         Fixed a couple of the more glaring errors (still not 
4145         very up-to-date).
4146
4147 2002-01-11  Michael Meeks  <michael@ximian.com>
4148
4149         * registryd/deviceeventcontroller.c
4150         (spi_device_event_controller_forward_key_event): kill
4151         XUngrabKey / XKeyGrab race.
4152         (spi_controller_grab_keyboard): rename to
4153         (spi_controller_update_key_grabs): this, and deal
4154         with incremental adding / removing grabs more
4155         sensibly.
4156         (_register_keygrab): ensure we're not pending a remove.
4157         (spi_grab_mask_free): impl.
4158         (spi_controller_register_global_keygrabs): split out
4159         common code into:
4160         (handle_keygrab): impl.
4161         (_deregister_keygrab): impl.
4162         (spi_controller_deregister_global_keygrabs): impl.
4163         (spi_controller_update_key_grabs): re-issue the grab if
4164         we just recieved a notification.
4165
4166         * test/test-simple.c (key_listener_cb): remove debug.
4167
4168         * registryd/deviceeventcontroller.c
4169         (spi_controller_register_device_listener): after
4170         registering a global keygrab, actualy register it !
4171         don't wait for a timeout; doh !
4172
4173         * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
4174         to make it more readable / manipulable.
4175         s/grabmask/grab_mask/ s/refcount/ref_count/
4176         s/keyval/key_val/ s/modmask/mod_mask
4177
4178 2002-01-08  Michael Meeks  <michael@ximian.com>
4179
4180         * registryd/deviceeventcontroller.c
4181         (spi_controller_register_with_devices): use gdk calls to
4182         setup a filter.
4183         (global_filter_fn): implement the filter.
4184         (spi_device_event_controller_check_key_event): rename to
4185         (spi_device_event_controller_forward_key_event): this & upd.
4186         (spi_get_display): replace with GDK_DISPLAY.
4187
4188         * registryd/deviceeventcontroller.c
4189         (spi_controller_deregister_device_listener): unroll into
4190         (impl_deregister_keystroke_listener): here to simplify.
4191         (spi_controller_register_global_keygrabs): split cut and
4192         paste (!) out into (_register_keygrab): here, shorter & sweeter.
4193         (spi_controller_deregister_device_listener): remove.
4194         (impl_register_mouse_listener): remove, no mouse listener
4195         support in at-spi-1.0
4196
4197         * registryd/registry.c
4198         (_device_event_controller_hook): kill.
4199         (spi_registry_init): upd.
4200
4201         * registryd/deviceeventcontroller.c
4202         (spi_device_event_controller_class_init): upd.
4203         (spi_check_key_event): merge into.
4204         (spi_device_event_controller_check_key_event):
4205         here and kill strange static ev init, don't leak
4206         the x_event - nor dynamicaly allocate it.
4207
4208         * registryd/registry-main.c (main): re-direct
4209         timeout to remove strange vtable mess.
4210
4211         * registryd/deviceeventcontroller.c
4212         (remove_listener_cb): impl.
4213         (spi_controller_deregister_device_listener):
4214         fix re-enterancy hazard.
4215
4216 2002-01-07  Michael Meeks  <michael@ximian.com>
4217
4218         * registryd/deviceeventcontroller.c
4219         (spi_device_event_controller_new): upd.
4220         (impl_notify_listeners_sync): upd. debug.
4221         (spi_notify_keylisteners): fix re-enterancy hazards,
4222         prettify, remove O(n*n) iteration.
4223         (spi_controller_grab_keyboard): fix iteration.
4224         (spi_check_key_event): re-format to suit coding style.
4225         Clean all the warnings - we're warning free.
4226
4227         * registryd/deviceeventcontroller.h:
4228         * registryd/registry.h: make mutualy referential with
4229         typesafe forward references instead of (!) void pointer
4230         hacks.
4231
4232 2002-01-11  Michael Meeks  <michael@ximian.com>
4233
4234         * cspi/spi_accessible.c (role_names): add a role name
4235         to sync this array with the enum; and make the regression
4236         tests pass, sigh.
4237
4238 2002-01-10  Michael Meeks  <michael@ximian.com>
4239
4240         * cspi/spi_registry.c (SPI_generateKeyboardEvent): 
4241         allow expansion of enumeration & kill warning.
4242
4243         * test/test-simple.c (key_listener_cb): impl.
4244         (test_keylisteners): impl.
4245
4246         * cspi/spi-listener.h: make listener signatures const
4247         on the provided (const) events.
4248
4249         * test/keysynth-demo.c: upd. to const events.
4250
4251         * test/simple-at.c: ditto.
4252
4253 2002-01-11  Bill Haneman <bill.haneman@sun.com>
4254
4255         * configure.in:
4256         Rev the version to 0.5 (the previous tarball was named 0.4, 
4257         even though the micro number was 3), so we need to rev upwards
4258         again for beta2/"desktop-alpha" 
4259  
4260         * test/demo.csh:
4261         Checked in a demo script, which requires editing before use!
4262         Proceed with caution.
4263         
4264         * libspi/value.h:
4265         Fixed typo in header which was redefining SPI_ACTION_CLASS.
4266
4267         * cspi/spi_accessible.c:
4268         Add a couple of missing enum initializations, and fix some enum
4269         comments.
4270
4271         * cspi/spi_registry.c:
4272         Add comment describing keystring parameter to SPI_generateKeyboardEvent.
4273         
4274         * docs/reference/cspi/at-spi-cspi-sections.txt:
4275         Remove/fix a couple of broken document references.
4276
4277         * test/simple-at.c:
4278         Minor tweaks to the demo.  We now (sigh) use Alt-SHIFTLOCK as well
4279         as Alt-Control to listen for commands, since on some systems
4280         Control-Alt may already be grabbed.
4281
4282 2002-01-10  Bill Haneman <bill.haneman@sun.com>
4283
4284         * configure.in:
4285         Update version number to 0.4 for Beta2.
4286         
4287         * libspi/accessible.c, libspi/accessible.h:
4288         Expose spi_accessible_construct, to enable libgail-gnome
4289         construction from spi_accessible subtype.
4290
4291         * utils/magnifier.c:
4292         Workaround for bug in some non-gnome-compliant window managers
4293         which made magnifier resize improperly.
4294
4295 2002-01-09  Bill Haneman <bill.haneman@sun.com>
4296
4297         * libspi/accessible.c: (spi_accessible_new) :
4298         Move the test for SPI_IS_REMOTE_OBJECT to
4299         spi_accessible_new_return, fixing a bug and compile time warning.
4300         
4301 2002-01-08  Michael Meeks  <michael@ximian.com>
4302
4303         * registryd/registry.c (parse_event_type): remove strndup.
4304
4305         * libspi/Makefile.am (libspi_la_SOURCES): remove
4306         sources already included in the headers section.
4307
4308         * libspi/util.c: add.
4309
4310         * libspi/spi-private.h: add.
4311
4312         * registryd/registry.c: update to moved list iterators.
4313
4314 2002-01-05  Michael Meeks  <michael@ximian.com>
4315
4316         * test/simple-at.c (main): upd. auto-module set to atk-bridge
4317
4318         * test/test-simple.c (main): ditto.
4319
4320 2002-01-04  Michael Meeks  <michael@ximian.com>
4321
4322         * libspi/accessible.c (spi_accessible_new): remove 2nd,
4323         redundant construct.
4324
4325         * registryd/registry.c
4326         (get_listener_list): impl.
4327         (impl_accessibility_registry_register_global_event_listener):
4328         re-impl. to simplify using ~, remove dodgy const cast off.
4329         (parse_event_type): constify.
4330         (impl_accessibility_registry_deregister_global_event_listener_all): 
4331         re-write, more efficiency and simplicity, kill re-enterancy
4332         hazard.
4333         (compare_listener_corbaref, compare_corba_objects),
4334         (compare_listener_quarks): define out.
4335         (impl_accessibility_registry_deregister_global_event_listener): 
4336         re-write for effiency, and nail re-enterancy hazard.
4337         (impl_accessibility_registry_get_desktop_list): impl.
4338         (re_enterant_list_delete_link): impl.
4339         (re_enterant_list_foreach): impl.
4340         (remove_listener_cb): impl.
4341         (_registry_notify_listeners): kill.
4342         (notify_listeners_cb): impl.
4343
4344         * cspi/spi_registry.c (SPI_freeDesktopList): impl.
4345         (SPI_getDesktopList): impl.
4346
4347         * test/test-simple.c (test_desktop): test the methods.
4348
4349 2002-01-03  Michael Meeks  <michael@ximian.com>
4350
4351         * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
4352         keystrings since we free them
4353         (SPI_freeAccessibleKeySet): in here.
4354
4355         * libspi/accessible.c (spi_accessible_new): kill warning,
4356         wonder what is going on with the constructor here.
4357
4358 2002-03-01  Bill Haneman <bill.haneman@sun.com>
4359
4360         * libspi/accessible.c (spi_accessible_new ()) :
4361         Added check to see if AtkObject is an SpiRemoteObject before
4362         creating an SpiAccessible.
4363         
4364 2002-05-01  Bill Haneman <bill.haneman@sun.com>
4365
4366         * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
4367         Enable keygrabs using the Control modifier, now that they are
4368         working properly (they were previously disabled).
4369
4370         * test/simple-at.c:
4371         Change the command keygrab for this demo to "Control+Alt", so as
4372         to conflict with fewer other key commands on the system; this
4373         means that the quit command for "simple-at" is now "Ctrl-Alt-q".
4374
4375         Removed a pointlessly-chatty keylistener for unshifted keys
4376         (shifted keys are still reported).
4377         
4378 2002-02-01  Bill Haneman <bill.haneman@sun.com>
4379
4380         * libspi/remoteobject.h:
4381         * libspi/remoteobject.c:
4382         Added definitions for special AtkObject subtype, required for
4383         support of remote components (specifically, used by BonoboControl
4384         accessibility implementation).
4385         
4386 2002-01-02 Marc Mulcahy  <marc.mulcahy@sun.com>
4387
4388         * cspi/spi.h: synched relation types with ATK
4389
4390         * cspi/spi_accessible.c: Added implementations of
4391         AcccessibleRelation_* methods
4392
4393         * idl/Accessibility_Relation.idl: added getRelationTypeName
4394         method.  Synched known relation types with ATK.  Allowed for
4395         relation type extension with the RELATION_EXTENDED type.
4396         
4397         * libspi/relation.c: Provided implementations for
4398         AccessibleRelation methods.
4399
4400 2002-01-01  Bill Haneman <bill.haneman@sun.com>
4401
4402         API tweaks for today's API 'freeze'.
4403
4404         * idl/*:
4405         Added placeholder functions to allow future compatible expansion
4406         of the IDL interfaces.
4407
4408         * idl/Accessibility_Registry.idl:
4409         Changed generateKeyEvent to generateKeyboardEvent.  Changed
4410         signature of this method to accept an optional keystring in
4411         parameter (for complex text input synthesis) and changed use of
4412         simple 'boolean' parameter in registerKeystrokeListener to a
4413         struct, EventListenerMode.
4414
4415         * cspi/spi_accessible.c:
4416         * cspi/spi.h:
4417         * cspi/spi_streamablecontent.c:
4418         Added references to AccessibleStreamableContent interface, and
4419         definition and implementation of AccessibleStreamableContent 
4420         C bindings.
4421
4422         * cspi/spi_registry.c:
4423         * cspi/spi.h:
4424         Changed generateKeyEvent API to generateKeyboardEvent,
4425         taking a new (optional) keystring parameter to support complex
4426         text input.
4427         
4428         * at-bridge/*:
4429         * atk-bridge/*:
4430         Renamed directory (to better reflect its actual purpose, bridging
4431         from at-spi to ATK).  The .so module is also now named
4432         libatk-bridge.so.
4433
4434         * idl/Accessibility_Hypertext.idl:
4435         * libspi/accessible.c:
4436         * libspi/hypertext.h:
4437         * libspi/hypertext.c:
4438         Changed Accessibility_Hypertext to *not* derive from
4439         Accessibility_Text.
4440
4441         * cspi/spi_registry.c:
4442         Added list of legal event type names for 'window' events, which
4443         completes the registry event API.
4444
4445 2001-12-22  Marc Mulcahy  <marc.mulcahy@sun.com>
4446
4447         * at-bridge/bridge.c: Added registration for separate
4448         "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
4449         signals.  If either of the first two parameters to the generic
4450         bridge signal handler are ints, they are passed on as event
4451         details.  This allows an AT to determine what text was inserted.
4452
4453 2001-12-21  Bill Haneman <bill.haneman@sun.com>
4454
4455         * registryd/deviceeventcontroller.c:
4456         Fixed regressions in generateKeyEvent caused by the removal of
4457         gdk_init from registryd; we now use pure X calls to connect to the
4458         display, which makes sense because deviceeventcontroller already
4459         uses a fair bit of X API (should eventually be migrated to a
4460         'portability layer').
4461
4462         * registryd/desktop.c:
4463         Fixed minor regression in spi_desktop_init, changed the way the
4464         desktop name is being set to work with new spi_base API
4465         (gobject-based, rather than AtkObject-based).
4466
4467         * registryd/Makefile.am:
4468         Minor revision of makefile to use XTST_LIBS variable rather than
4469         hard-wiring the Xtst LD_ADD element.
4470
4471         * test/keysynth-demo.c:
4472         Tweaked an output message; added initialization of the
4473         'keystrings' member of the "switch listener" key_set.
4474
4475         * libspi/relation.c:
4476         Squashed compile-time warning.
4477
4478         * libspi/accessible.c:
4479         Cosmetic and formatting fixes, renamed a static method.
4480         
4481 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
4482
4483         * libspi/accessible.c 
4484         * libspi/action.c
4485         * libspi/application.c 
4486         * libspi/base.c 
4487         * libspi/base.h
4488         * libspi/component.c 
4489         * libspi/editabletext.c
4490         * libspi/hyperlink.c 
4491         * libspi/hypertext.c
4492         * libspi/image.c 
4493         * libspi/selection.c 
4494         * libspi/table.c
4495         * libspi/text.c 
4496         * libspi/value.c 
4497         * registryd/desktop.c:
4498         Changed SpiBase to contain a GObject pointer rather than an AtkObject
4499
4500 2001-12-17  Bill Haneman <bill.haneman@sun.com>
4501
4502         * idl/Accessibility_Registry.idl:
4503         Added boolean member 'is_text' to DeviceEvent.  This is for the
4504         use of key events, and helps prevent ambiguity between composed
4505         key strings and keysym names, since both may potentially be
4506         returned in the 'event_string' member.
4507
4508         * at-bridge/bridge.c:
4509         * registryd/deviceeventcontroller.c:
4510         Use the 'is_text' member when notifying device event listeners.
4511         Knon issue: composed characters are not dealt with correctly by
4512         the global key listener implementation yet.
4513         
4514 2001-12-17  Bill Haneman <bill.haneman@sun.com>
4515
4516         * at-bridge/bridge.c:
4517         Namespaced local static methods to spi_atk_bridge_* where
4518         previously named bridge_*, and spi_* elsewhere.
4519
4520         * at-bridge/bridge.c:
4521         * cspi/bonobo/cspi-bonobo-listener.c:
4522         Added demarshalling/conversion for string member of
4523         Accessibility_DeviceEvent to AccessibleKeystroke.
4524
4525         * registryd/deviceeventcontroller.c:
4526         Added code to fill the Accessibility_DeviceEvent key string value
4527         member for global key events (i.e. from XGrabKey), to match
4528         behavior of Accessibility_DeviceEvent from the toolkit key events
4529         from the bridge.  Fixed timestamp in global key event notifications.
4530
4531         * test/simple-at.c:
4532         Added printout of key event's string value to
4533         report_ordinary_key_event, for demo/debugging purposes.
4534
4535 2001-12-15  Bill Haneman <bill.haneman@sun.com>
4536
4537         * idl/Accessibility_Registry.idl:
4538         Removed Accessibility_KeyStroke structure in favor of generic
4539         Accessibility_DeviceEvent structure.
4540         Changed Accessibility_ControllerEventMask from a struct to an
4541         unsigned long.
4542
4543         * at-bridge/bridge.c:
4544         Changed APIs to use DeviceEvent structure as above, and removed
4545         bogus casting between these event structures.
4546
4547         * cspi/spi-listener.h:
4548         Added keystring member of AccessibleKeystroke structure, to enable
4549         matching on event "names" rather than only hardware codes and
4550         keysyms.
4551
4552         * cspi/spi.h:
4553         Added keystrings member of AccessibleKeySet struct, to allow
4554         matching on event names (as above).
4555         Added declarations for SPI_createAccessibleKeySet and
4556         SPI_freeAccessibleKeySet.  Due to changes in libspi, we now pass
4557         event modmasks directly as unsigned ints rather than structs with
4558         refcounts, in the DeviceEventController methods.
4559
4560         * cspi/spi_registry.c:
4561         Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
4562
4563         * cspi/spi-roletypes.h:
4564         Added documentation of newly added SPI Roles.
4565
4566         * cspi/bonobo/cspi-bonobo-listener.c:
4567         Changes in support of API changes above.
4568         
4569         * libspi/accessible.c:
4570         Converted APIs to use DeviceEvent structure (see IDL changes
4571         above). 
4572
4573         * registryd/deviceeventcontroller.c:
4574         Added DEControllerGrabMask structure to track keygrabs not only by
4575         modmask but by keyset as well; this allows us to do "global"
4576         (i.e. X) keygrabs on a per-key or keyset basis rather than always
4577         grabbing on AnyKey and then filtering after-the-fact.
4578         Bugfixes for event filtration mean that we don't get false matches
4579         on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
4580
4581         * registryd/deviceeventcontroller.c:
4582         Namespaced a number of static methods to use spi_ prefix.  Major
4583         revision to internals of global (i.e. X) key grabs.
4584
4585         * registryd/deviceeventcontroller.h:
4586         Removed keymask_list and added keygrabs_list to
4587         SpiDeviceEventController struct.
4588
4589         * test/simple-at.c:
4590         Added use of SPI_createAccessibleKeySet API when creating a
4591         listener for only one key.  Attach a listener to "shift spacebar
4592         SPI_KEY_RELEASE" as a demonstration.  Changed (incorrect) usage of
4593         X key event names to SPI key event names, so that listeners are
4594         registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
4595         
4596         * test/keysynth-demo.c:
4597         Changed (incorrect) use of X key event names (KeyPressed,
4598         KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
4599         
4600
4601 2001-12-12  Bill Haneman <bill.haneman@sun.com>
4602
4603         * libspi/accessible.c:
4604         Convert all AtkRole enumerations to Accessibility_Role enums when
4605         getting a role from an AtkObject.
4606         
4607         * cspi/spi_accessible.c:
4608         Complete the conversion of Accessibility_Role enums at runtime to
4609         AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
4610         role enums correctly match those given in spi-roletypes.h.  
4611         Re-synchronize the local names list for AccessibleRole_getName ().
4612         AccessibleRole_getName is now deprecated, since it duplicates the
4613         more reliable Accessible_getRoleName.
4614         Added some role types from Accessibility_Role.idl.
4615
4616         * idl/Accessibility_Role.idl:
4617         Added some role types used by AtkRole.
4618
4619 2001-12-12  Bill Haneman <bill.haneman@sun.com>
4620         
4621         * cspi/spi.h:
4622         * cspi/spi_registry.c:
4623         * cspi/spi_event.c:
4624         * cspi/cspi-bonobo-listener.c:
4625         Namespaced all methods that did not begin with an "SPI_" or
4626         "Accessible" prefix to "SPI_".  
4627
4628         * cspi/spi_main.c:
4629         Homogenized internal function namespace to "cspi_" for statics.
4630         
4631         * test/*.c:
4632         Patched tests to use the new CSPI API.
4633
4634         * docs/reference/cspi/at-spi-cspi-sections.txt:
4635         Updated docs to reflect namespace changes, and added a number of
4636         methods to the documentation.
4637         
4638         * registryd/registry.c:
4639         Changed use of strings and string hashes in listener event
4640         matching and parse_event_string to use GQuark, which is guaranteed
4641         unique.
4642         
4643         * registryd/registry.h:
4644         Squashed annoying warning.
4645
4646         * idl/Accessibility_Role.idl:
4647         Extended range of available Accessibility_Role values.
4648
4649         * cspi/spi_accessible.c:
4650         Re-ordered role names. 
4651
4652 2001-12-12  Bill Haneman <bill.haneman@sun.com>
4653
4654         * idl/Accessibility_Value.idl:
4655         Revert use of union back to CORBA_double, since the double type is
4656         more efficient and can contain the other types without loss of
4657         precision.
4658
4659         * idl/Accessibility_Accessible.idl:
4660         Added method Accessibility:Accessible:getRoleName, to complement
4661         Accessibility:Accessible:getRole.
4662
4663         * cspi/spi_accessible.c:
4664         * cspi/spi.h:
4665         Added C binding for above, Accessible_getRoleName (), and changed
4666         signature of Accessible_getRole () to return an AccessibleRole.
4667
4668         * cspi/spi-roletypes.h:
4669         Changed AccessibleRole_getName to return a char * instead of a
4670         const char *.  This method is now at least temporarily deprecated 
4671         in favor of asking Accessibles for their RoleNames directly.
4672
4673         * libspi/value.c:
4674         Revert to match Accessibility_Value.idl;
4675
4676         * cspi/spi_value.c:
4677         * cspi/spi.h:
4678         Change signature of AccessibleValue methods to use double rather
4679         than float.
4680
4681         * cspi/spi.h:
4682         * cspi/spi_accessible.c:
4683         Changed Accessible_getRole to return an AccessibleRole enum rather
4684         than a UTF-8 string.  The UTF-8 string can still be obtained via
4685         AccessibleRole_getName ().
4686         
4687         * test/test-simple.c:
4688         Add test_action.  Small fixup to match API change to Accessible_getRole.
4689
4690         * libspi/action.c:
4691         Bugfix for get_action_from_servant ().
4692
4693 2001-12-11  Michael Meeks  <michael@ximian.com>
4694
4695         * libspi/libspi.h: remove registry.h and
4696         desktop.h, deviceeventcontroller.h
4697
4698         * libspi/Makefile.am: remove registry.[ch],
4699         desktop.[ch], deviceeventcontroller.[ch]
4700
4701         * registryd/Makefile.am: add registry.[ch],
4702         desktop.[ch], rename registryd.c to registry-main.c.
4703         add deviceeventcontroller.[ch]
4704
4705 2001-12-11  Bill Haneman <bill.haneman@sun.com>
4706
4707         * test/simple-at.c:
4708         Replace setenv() call with putenv ().
4709
4710         * libspi/component.c:
4711         Bugfix in AccessibleComponent_getExtents (),
4712         (from Adi Dascal).
4713         
4714 2001-12-11  Michael Meeks  <michael@ximian.com>
4715
4716         * libspi/image.c (impl_getImageExtents): impl.
4717         (spi_image_class_init): upd.
4718
4719         * cspi/spi_image.c
4720         (AccessibleImage_getImageDescription): fix daft bug
4721         of mine (doh).
4722
4723         * test/test-simple.c (global_listener_cb): update
4724         to only quit if not --poke
4725         (main): catch --poke.
4726         (validate_accessible): upd. dumping, call test_image
4727         (test_image): impl.
4728
4729         * libspi/Makefile.am (IDL_DEPS): fixup the IDL
4730         dependencies.
4731
4732         * idl/Accessibility.idl: update all IDL includes.
4733
4734         * idl/*.idl - rename to namespace - this sucks, blame
4735         mjs' bad decision for oafd.
4736
4737         * test/test-simple.c (create_test_window): add more tests.
4738         (create_tree): split this out.
4739         (validate_accessible): bugfix.
4740
4741 2001-12-11  Michael Meeks  <michael@ximian.com>
4742
4743         * cspi/bonobo/cspi-bonobo-listener.c: 
4744         (cspi_kestroke_listener_unref),
4745         (cspi_event_listener_unref): impl. undoing previous
4746         homenous environment - for Bill.
4747
4748         * cspi/spi_table.c (long_seq_to_array): use
4749         malloc instead.
4750
4751         * cspi/spi_main.c: split out all bonoboish bits into
4752         bonobo/
4753
4754         * cspi/spi-impl.h: upd. typedefs.
4755
4756         * cspi/spi_registry.c: update to lowlevel API,
4757         return booleans to indicate success in some places.
4758
4759         * cspi/spi_event.c: update to lowlevel API.
4760
4761         * cspi/bonobo/Makefile.am: add.
4762
4763         * cspi/bonobo/cspi-lowlevel.h: add
4764
4765         * cspi/bonobo/cspi-bonobo.c: add
4766
4767         * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
4768
4769         * cspi/Makefile.am: remove spi-listener-impl.[ch],
4770         (SUBDIRS): add bonobo, link in the libs.
4771
4772         * cspi/spi-util.c: kill this file.
4773
4774         * TODO: merge in my bits.
4775
4776 2001-12-11  Michael Meeks  <michael@ximian.com>
4777
4778         * test/test-simple.c (test_value, test_table, main):
4779         remove unused variables causing warnings.
4780
4781         * configure.in: cleanup checks - require gail.
4782
4783 2001-12-11  Bill Haneman  <bill.haneman@sun.com>
4784
4785         * idl/Value.idl:
4786         Changed Value interface to use SValue (scalars) rather than
4787         assuming all values are floats.  This allows floats, doubles,
4788         longs, shorts, and unsigned values to be manipulated.
4789         Introduced Accessibility:SValue union.
4790
4791         * libspi/value.c:
4792         Updated to use new API above, and to work correctly with GValues
4793         of different types in AtkValue.
4794
4795         * cspi/spi_value.c:
4796         Updated to use new API above.  cspi's API is as yet unchanged.
4797
4798         * TODO: 
4799         Updated the Value revision action item.
4800         
4801 2001-12-10  Bill Haneman  <bill.haneman@sun.com>
4802
4803         * test/test-simple.c:
4804         Added test_table (GtkTreeView widget in test window to follow).
4805         Un-commented test_value, added GtkRange widget.
4806         Added GtkTreeView widget with GtkListStore.  It passes regression
4807         test but leaks one SPI object for some reason.
4808
4809         * libspi/value.c:
4810         Fixed bug in impl__set_currentValue.
4811
4812 2001-12-10  Michael Meeks  <michael@ximian.com>
4813
4814         * cspi/spi_text.c: audit for exception handling,
4815         tolerating NULL object references safely etc.
4816
4817         * cspi/spi_value.c: ditto.
4818
4819         * cspi/spi_table.c (AccessibleTable_getSummary),
4820         (AccessibleTable_getAccessibleAt),
4821         (AccessibleTable_getRowHeader),
4822         (AccessibleTable_getColumnHeader),
4823         (AccessibleTable_getCaption): fix bugs hidden by
4824         incorrect casts.
4825         (long_seq_to_array): impl.
4826         (AccessibleTable_getSelectedRows),
4827         (AccessibleTable_getSelectedColumns): use it.
4828
4829 2001-12-10  Bill Haneman  <bill.haneman@sun.com>
4830
4831         * TODO:
4832         Added a TODO list (rough and short for now).
4833
4834         * cspi/spi_hyperlink.c:
4835         * cspi/spi_hypertext.c:
4836         Fixed macro name typos, and remove use of obsolete macro in 
4837         AccessibleHyperlink_getLink.
4838
4839         * cspi/spi_action.c:
4840         * cspi/spi_accessible.c:
4841         * cspi/spi_application.c:
4842         * cspi/spi_component.c:
4843         * cspi/spi_selection.c:
4844         * cspi/spi_text.c:
4845         * cspi/spi_value.c:
4846         Documentation fixes (removed return values from ref/unref methods).
4847
4848 2001-12-10  Michael Meeks  <michael@ximian.com>
4849
4850         * cspi/spi_action.c: audit for exception handling,
4851         tolerating NULL object references safely etc.
4852
4853         * cspi/spi_accessible.c: ditto.
4854
4855         * cspi/spi_component.c: ditto.
4856
4857         * cspi/spi_editabletext.c: ditto.
4858
4859         * cspi/spi_hyperlink.c: ditto.
4860
4861         * cspi/spi_hypertext.c: ditto.
4862
4863         * cspi/spi_image.c: ditto.
4864
4865         * cspi/spi_selection.c: ditto.
4866
4867 2001-12-10  Michael Meeks  <michael@ximian.com>
4868
4869         * configure.in: use cspi/libspi.pc.in instead.
4870
4871         * Makefile.am (pkgconfig_DATA): upd. to match.
4872
4873         * test/simple-at.c (report_focus_event): kill hacks around
4874         bad return values, use putenv not setenv
4875
4876         * libspi/desktop.c (impl_desktop_get_child_at_index): don't
4877         fire ChildGone - I killed it.
4878
4879         * libspi/component.c
4880         (impl_accessibility_component_get_extents): remove
4881         bogus return.
4882
4883         * idl/Accessible.idl: kill ChildGone exception.
4884
4885         * cspi/*.[ch]: kill int return from ref / unref.
4886         
4887         * cspi/spi_main.c (cspi_object_add_check): fold into
4888         (cspi_object_add): here.
4889
4890         * cspi/spi_component.c (AccessibleComponent_getExtents):
4891         handle exceptions elegantly.
4892
4893         * cspi/spi-private.h (cspi_check_ev_return),
4894         (cspi_return_if_fail): impl.
4895
4896         * cspi/spi_accessible.c: use extensively.
4897         (AccessibleStateSet_equals): add direct compare check.
4898
4899         * cspi/spi_selection.c: tolerate NULL objs, and check
4900         exceptions before return.
4901
4902         * cspi/spi-util.c (cspi_warn_ev): rename to
4903         (cspi_check_ev): this & don't pass ev in; no point.
4904
4905 2001-12-10  Michael Meeks  <michael@ximian.com>
4906
4907         * test/test-simple.c: use putenv not setenv
4908         (get_environment_vars): more chatty if you're not using
4909         the fun bits.
4910
4911         * test/simple-at.c: do the setenv so more people see the
4912         nice demo easily.
4913
4914 2001-12-10  Bill Haneman <bill.haneman@sun.com>
4915
4916         * libspi/registry.c:
4917         Changed check of CORBA_environment on notification to be a warning
4918         instead of an error for the moment, since we can recover from this
4919         error when caused by a queued notification from a dead app.
4920         
4921         * libspi/value.c:
4922         Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
4923         used by all current implementors of AtkValue), and coerce to
4924         CORBA_float. (Proper general case fix may require change to Value.idl).
4925
4926 2001-12-09  Bill Haneman <bill.haneman@sun.com>
4927
4928         * cspi/spi.h:
4929         * cspi/spi_event.c:
4930         * cspi/spi_accessible.c:
4931         Documentation fixes: added user_data params to documentation for 
4932         listeners and callbacks.  
4933
4934         * cspi/spi_accessible.c: 
4935         Changed AccessibleStateSet_compare to return a
4936         StateSet rather than return the difference set into a third parameter.
4937         
4938         
4939 2001-12-09  Bill Haneman <bill.haneman@sun.com>
4940
4941         * configure.in:
4942         Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
4943         remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
4944         it). 
4945
4946         * Makefile.am:
4947         Remove subdirectory po from SUBDIRS for now.
4948
4949         * at-bridge/bridge.c:
4950         Beefed up a couple of debug printouts.
4951         One-line fix for signal notification name formatting.
4952
4953         * libspi/accessible.c:
4954         Added assertion to spi_accessible_new ().
4955
4956         * libspi/application.c:
4957         Put #ifdef qualifiers around a printf.
4958
4959         * libspi/value.c:
4960         Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
4961
4962         * registryd/Makefile.am:
4963         * util/Makefile.am:
4964         Replaces use of XML_I18N_MERGE_SERVER_RULE with
4965         INTLTOOL_SERVER_RULE macro.
4966
4967         * test/simple-at.c:
4968         Added an event listener for several ATK signals, for
4969         testing and debugging.  Removed a few g_warnings.
4970         Added test output if focussed item implements the Value interface.
4971
4972         * test/test-simple.c:
4973         Added test_value () function (known not to pass at the moment, so
4974         not actually called yet.
4975         
4976 2001-12-08  Michael Meeks  <michael@ximian.com>
4977
4978         * at-bridge/bridge.c (bridge_focus_tracker),
4979         (emit_eventv): fix the same ref. leak.
4980         (register_atk_event_listeners): don't leak.
4981
4982         * cspi/spi-listener-impl.c (cspi_event): more 
4983         protection from client code.
4984
4985         * test/test-simple.c (test_desktop): unref the app.
4986
4987         * test/Makefile.am: upd. TESTS.
4988
4989         * at-bridge/bridge.c (bridge_exit_func): release the registry.
4990
4991         * test/keysynth-demo.c (keysynth_exit): unref the listeners.
4992
4993         * cspi/spi_accessible.c (Accessible_queryInterface): constify.
4994
4995         * cspi/spi_registry.c: constify in strings.
4996         (deregisterGlobalEventListenerAll): don't release the ref.
4997
4998         * cspi/spi.h: start removing redundant / conflicting
4999         gtkdoc comments, making the API readable at a glance :-)
5000         
5001         * cspi/spi_event.c (AccessibleEventListener_unref): impl.
5002
5003         * test/keysynth-demo.c (keysynth_exit, main): upd.
5004
5005         * test/simple-at.c (main, simple_at_exit): upd.
5006
5007         * test/test-simple.c (unutterable_horror): kill.
5008         (utterable_normal_derefs): kill.
5009         (main): upd & do a setenv before gtk_init, so that we
5010         can use memprof - and to save the pain of remembering
5011         this, if we're running under memprof - don't exit.
5012
5013         * cspi/spi_main.c (SPI_exit): return exit status
5014         for cspi.
5015         (SPI_event_quit): impl.
5016         (SPI_event_main): simplify.
5017         (cspi_is_gnome_app): kill.
5018         (SPI_init): kill isGNOMEapp arg.
5019
5020         * at-bridge/bridge.c (register_atk_event_listeners):
5021         re-instate the unref.
5022         (bridge_exit_func): don't re-activate the registry,
5023         protect vs. theoretical re-entry, use the
5024         AT_BRIDGE_SHUTDOWN env. var to determine whether to
5025         assert a clean shutdown - for regression tests.
5026
5027 2001-12-08  Abel Cheung  <maddog@linux.org.hk>
5028
5029         * configure.in: Comment out dummy i18n support for now,
5030           otherwise it fails to build.
5031         * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
5032           EXTRA_DIST. They are missing in tarball.
5033
5034 2001-12-07  Michael Meeks  <michael@ximian.com>
5035
5036         * util/magnifier.c: kill bonobo activation reg. race.
5037
5038         * libspi/component.c
5039         (impl_accessibility_component_get_extents): make it match
5040         it's sig.
5041
5042         * libspi/registry.c (_registry_notify_listeners):
5043         re-remove X headers & reconcile conflicts.
5044         (spi_listener_struct_free): bad conflict resolve.
5045         (impl_accessibility_registry_register_application):
5046         more bad merging fixed.
5047         (impl_accessibility_registry_deregister_application): ditto.
5048         (spi_registry_new): ditto.
5049         (spi_registry_init): don't have an applications field.
5050
5051 [ merge fixups2 branch to here ]
5052 2001-12-07  Michael Meeks  <michael@ximian.com>
5053
5054         * test/simple-at.c (report_focus_event),
5055         (report_focussed_accessible): remove g_warning debug.
5056
5057 2001-12-07  Michael Meeks  <michael@ximian.com>
5058
5059         * test/test-simple.c (validate_tree): comment out some checks.
5060         (test_desktop): app now not registered idly - horay.
5061
5062 2001-12-07  Michael Meeks  <michael@ximian.com>
5063
5064         * cspi/spi_registry.c
5065         (registerAccessibleKeystrokeListener): clean, stop it leaking
5066         great swathes of memory, and device event controller references.
5067         ensure we always pass valid sequences.
5068         (deregisterAccessibleKeystrokeListener): ditto.
5069         (generateKeyEvent): upd.
5070
5071         * at-bridge/bridge.c (bridge_key_listener): handle
5072         registry dead exception gracefully.
5073         (bridge_focus_tracker, emit_eventv): free ev.
5074
5075         * test/simple-at.c (report_focus_event): fix polarity.
5076
5077         * libspi/application.c (notify_listeners): kill the ev
5078         argument, and make sure we init the ev we use.
5079         (spi_application_object_event_listener): split out a chunk
5080         (get_atk_object_ref): here & fixup.
5081         (reverse_lookup_name_for_toolkit_event): make const.
5082         (spi_application_toolkit_event_listener): fixup, kill leaks
5083         ref problems etc.
5084
5085         * at-bridge/bridge.c (register_atk_event_listeners):
5086         don't unref the noop object - causes grief.
5087
5088         * libspi/registry.c: remove the X headers.
5089         turn off the debug churn.
5090
5091         * libspi/accessible.c (spi_accessible_new_return): only
5092         release the ref if we are supposed to [doh]
5093
5094         * test/simple-at.c (report_button_press, report_focus_event):
5095         guard vs. unexpected exit.
5096
5097         * at-bridge/bridge.c (gtk_module_init): prune printf.
5098         (bridge_exit_func): fix app unref.
5099
5100         * libspi/Makefile.am: don't install registry or desktop.h
5101
5102         * libspi/*.h: update includes.
5103
5104         * libspi/application.h: don't include ourself, or
5105         other redundant headers.
5106
5107 2001-12-06  Michael Meeks  <michael@ximian.com>
5108
5109         * libspi/accessible.c
5110         (get_accessible_from_servant): impl.
5111         Upd. all CORBA impl.s to use it killing cut and paste.
5112
5113         * cspi/spi_main.c (cspi_cleanup): guard vs. double
5114         invokes.
5115         (SPI_init): register atexit cleanup handler here.
5116
5117 2001-12-06  Michael Meeks  <michael@ximian.com>
5118
5119         * at-bridge/bridge.c (gtk_module_init): g_error on
5120         activation exception
5121
5122 2001-12-06  Michael Meeks  <michael@ximian.com>
5123
5124         * at-bridge/bridge.c (gtk_module_init): some sort of
5125         confusing merge clash - reverted.
5126         (bridge_idle_init): ditto.
5127
5128         * test/test-simple.c (main, utterable_normal_derefs):
5129         merge from Bill - somehow not committed.
5130
5131 2001-12-06  Michael Meeks  <michael@ximian.com>
5132
5133         * libspi/value.c (spi_value_class_init): upd.
5134         (spi_value_finalize): kill.
5135
5136         * libspi/table.c (spi_table_finalize): kill.
5137         (spi_table_interface_new): upd.
5138         (spi_table_class_init): upd.
5139         (get_table_from_servant): impl.
5140         Upd. all CORBA impl.s to use it killing yet more cut and paste.
5141
5142         * libspi/selection.c (spi_selection_finalize): kill.
5143         (spi_selection_interface_new): upd.
5144         (spi_selection_class_init): upd.
5145         (get_selection_from_servant): impl.
5146         Upd. all CORBA impl.s to use it killing yet more cut and paste.
5147
5148         * libspi/relation.c (spi_relation_finalize): kill.
5149         (spi_relation_class_init, spi_relation_new): upd
5150
5151         * libspi/image.c (spi_image_finalize): kill.
5152         (spi_image_class_init): upd.
5153         (spi_image_interface_new): upd.
5154         (get_image_from_servant): impl.
5155         Upd. all CORBA impl.s to use it killing yet more cut and paste.
5156
5157         * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
5158         (spi_hyperlink_finalize): kill.
5159         (spi_hyperlink_new): upd.
5160         (get_hyperlink_from_servant): impl.
5161         Upd. all CORBA impl.s to use it killing yet more cut and paste.
5162
5163         * libspi/hypertext.c (spi_hypertext_interface_new): upd.
5164         (spi_hypertext_finalize): kill.
5165         (spi_hypertext_class_init): upd.
5166         (get_hypertext_from_servant): impl.
5167         Upd. all CORBA impl.s to use it killing yet more cut and paste.
5168
5169         * libspi/editabletext.c (spi_editable_text_finalize): kill.
5170         (spi_editable_text_interface_new): upd.
5171         (get_editable_text_from_servant): impl.
5172         Upd. all CORBA impl.s to use it killing yet more cut and paste.
5173         
5174         * libspi/text.c (get_text_from_servant): impl.
5175         All impls - update to use it killing more cut and paste,
5176         also fix bad string returns on duff args ( a somewhat
5177         impossible case to handle - but hey ).
5178         (spi_text_construct): impl.
5179         (spi_text_interface_new): upd.
5180         (spi_text_object_finalize): kill.
5181
5182         * libspi/component.c
5183         (accessibility_component_object_finalize): kill.
5184         (spi_component_class_init): upd.
5185         (get_component_from_servant): impl. helper to kill cut & paste.
5186         (impl_accessibility_component_contains): 
5187         (impl_accessibility_component_get_accessible_at_point): 
5188         (impl_accessibility_component_get_position): 
5189         (impl_accessibility_component_get_extents): 
5190         (impl_accessibility_component_get_mdi_z_order): 
5191         (impl_accessibility_component_get_layer): 
5192         (spi_component_interface_new): upd.
5193
5194         * libspi/action.c (spi_action_finalize): kill.
5195         (spi_action_class_init): upd. inherit from SpiObject.
5196         (spi_action_interface_new): upd.
5197         (get_action_from_servant): impl. helper to reduce cut & paste.
5198         (impl_getKeyBinding, impl_getName, impl_doAction),
5199         (impl_getDescription): Use it everywhere.
5200
5201         * cspi/spi_main.c (get_live_refs): a pointer hash.
5202         (spi_object_hash, spi_object_equal): comment out.
5203         There are issues with CORBA object hashing that need
5204         solving.
5205
5206         * libspi/application.c (spi_application_init),
5207         (spi_application_new): upd.
5208
5209         * libspi/accessible.c (spi_accessible_object_finalize): kill.
5210         (spi_accessible_class_init): upd.
5211         s/accessible/object/ in epv methods.
5212
5213 2001-12-05  Bill Haneman <bill.haneman@sun.com>
5214
5215         * at-bridge/bridge.c:
5216         Reorder the bridge initialization into the bridge gtk_module_init,
5217         an immediate call to bridge_register_app, and an idle_add for
5218         register_atk_event_listeners (the only code that *must* wait until
5219         GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
5220         the activation, creates the application's Accessible object, and
5221         queues the bridge_idle_init function.  Restored call to
5222         Accessibility_Registry_deregisterApplication().  
5223         Prior to making this call we obtain a new reference to the
5224         registry, which is a temporary hack that helps us handle apps that
5225         shut down the bonobo mainloop before we get there.
5226
5227         * libspi/registry.c:
5228         Fix string leakage in debug block, and don't segv if a an app
5229         dies before its event notifications have been propagated.
5230
5231         * cpi/spi_util.c:
5232         Modify cspi_check_ev() to call g_warning() rather than g_error(),
5233         as stopgap measure until we get proper exception handling when 
5234         objects die during or before interrogation.  
5235
5236         * cspi/spi_main.c:
5237         * cspi/spi.h:
5238         Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
5239         Also changed default value of is_gnome_app to TRUE.
5240
5241         * test/simple-at.c:
5242         * test/keysynth-demo.c:
5243         Changed use of SPI_init and SPI_event_main to reflect API change above.
5244
5245         * test/simple-at.c:
5246         Made report_focus_event check the warning value from getName
5247         before reporting on focussed accessible; simplifies handling of
5248         notifications from dead objects.
5249
5250         * test/test-simple.c: (Changes not in this patch since source is
5251         not in CVS ?)
5252         
5253 2001-12-05  Michael Meeks  <michael@ximian.com>
5254
5255         * registryd/registryd.c (main): protect against
5256         bonobo-activation startup race condition.
5257
5258         * cspi/spi_main.c (cspi_object_add_check): cope
5259         with the exception elegantly.
5260
5261         * idl/Accessible.idl: decl. ChildGone
5262
5263         * libspi/desktop.c (spi_desktop_dispose): impl.
5264         (spi_desktop_class_init): upd.
5265         (spi_desktop_add_application),
5266         (spi_desktop_remove_application),
5267         (abnormal_application_termination): impl.
5268         (impl_desktop_get_child_at_index): re-impl.
5269
5270         * libspi/registry.c
5271         (impl_accessibility_registry_deregister_application),
5272         (impl_accessibility_registry_register_application): 
5273         kill excessive debug clutter.
5274
5275         * test/test-simple.c (test_misc): test some NULL
5276         tolerance. (main): upd.
5277
5278         * cspi/spi_main.c (cspi_accessible_is_a): a NULL
5279         implements no interfaces - so let's not crash.
5280
5281         * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
5282
5283         * libspi/accessible.c (spi_accessible_new_return): impl.
5284         helper to calm the cut and paste, to cope with
5285         NULL AtkObjects effectively and efficiently, and to kill
5286         the referencing bugs.
5287
5288         * libspi/table.c (impl_getAccessibleAt),
5289         (impl_getRowHeader, impl_getColumnHeader): upd.
5290
5291         * libspi/hyperlink.c (impl_getObject): upd.
5292
5293         * libspi/accessible.c
5294         (impl_accessibility_accessible_get_child_at_index): upd.
5295
5296         * libspi/component.c
5297         (impl_accessibility_component_get_accessible_at_point): upd.
5298
5299         * test/test-simple.c (test_editable_text, test_text): impl.
5300         some simple tests.
5301
5302         * cspi/spi_editabletext.c
5303         (AccessibleEditableText_insertText): constify.
5304
5305         * test/test-simple.c (focus_me): make more robust.
5306
5307         * libspi/accessible.c: remove some printfs in methods that
5308         we test and work fine, so we can get a clean tree dump.
5309
5310         * test/test-simple.c (validate_accessible),
5311         (validate_tree): make tree dumping pretty too.
5312
5313         * at-bridge/bridge.c (bridge_signal_listener): upd. so
5314         it builds without debug on.
5315
5316         * test/test-simple.c (validate_accessible): fix the most
5317         ludicrous bug.
5318
5319         * cspi/spi_main.c (spi_object_release): leave the nicely
5320         blanked memory around if in debug mode.
5321
5322         * cspi/spi-listener-impl.c (cspi_event): use add_check.
5323
5324 [committed to fixups2]
5325 2001-12-05  Michael Meeks  <michael@ximian.com>
5326
5327         * libspi/editabletext.c
5328         (spi_editable_text_class_init): g_type_class_peek_parent,
5329         not interface peek - so we finalize cleanly.
5330
5331         * libspi/accessible.c (spi_accessible_new): kill debug.
5332
5333         * test/test-simple.c (validate_accessible): fix ref.
5334         leak, print strings before freeing them; sigh, comment a
5335         chunk out due to strangeness.
5336         (validate_tree): unref the child after use.
5337
5338         * cspi/spi_component.c (AccessibleComponent_getLayer):
5339         add missing break statement, switch on zlayer not the
5340         uninitialized retval.
5341
5342         * cspi/spi_main.c (cspi_object_add): add assert, local ref
5343         before (possibly re-entering) remote unref.
5344
5345         * test/simple-at.c (main): unref the desktop.
5346
5347         * cspi/spi_accessible.c (cspi_accessible_is_a): move 
5348         into:
5349         
5350         * cspi/spi_main.c (cspi_accessible_is_a): here to 
5351         isolate bonobo API usage more.
5352
5353         * libspi/registry.c (impl_accessibility_registry_register_application): 
5354         prune bogus comment.
5355
5356 2001-12-04  Michael Meeks  <michael@ximian.com>
5357
5358         * test/test-simple.c (validate_tree): upd.
5359         IndexInParent check to make it more lucid.
5360         (validate_accessible): dump the tree.
5361
5362         * libspi/accessible.c (de_register_public_ref),
5363         (get_public_refs): impl.
5364         (spi_accessible_new): make more efficient & intuitive.
5365         Now IndexInParent check works.
5366
5367 2001-12-04  Michael Meeks  <michael@ximian.com>
5368
5369         * cspi/spi-util.h: remove.
5370
5371         * cspi/spi.h: move SPI_freeString here
5372
5373         * libspi/component.c (impl_accessibility_component_get_layer): 
5374         warning fixage.
5375         (impl_accessibility_component_get_mdi_z_order): ditto,
5376         return -1 on error - is this ok ?
5377
5378         * test/test-simple.c (test_application): impl.
5379
5380         * cspi/spi_accessible.c (Accessible_getApplication),
5381         (Accessible_isApplication): impl.
5382
5383         * libspi/registry.c (spi_listener_struct_free): release
5384         the CORBA reference too.
5385
5386         * libspi/accessible.c
5387         (impl_accessibility_accessible_get_parent): fix ref leak.
5388
5389         * libspi/registry.c (spi_registry_new): make the registry
5390         immortal - we don't want it to go away ever.
5391
5392         * libspi/application.c
5393         (spi_accessible_application_finalize): impl. cleanup.
5394
5395         * cspi/spi_registry.c
5396         (deregisterGlobalEventListenerAll),
5397         (deregisterGlobalEventListener),
5398         (deregisterAccessibleKeystrokeListener): fix ref leak.
5399
5400         * cspi/spi_main.c (SPI_init): remove redundant ref.
5401
5402         * test/test-simple.c (unutterable_horror): impl. to force a
5403         clean shutdown.
5404         (main): use it.
5405
5406         * libspi/registry.c
5407         (impl_accessibility_registry_deregister_application): release
5408         the application when we de-register it.
5409
5410         * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
5411         until we have the infastructure to get it right.
5412
5413 2001-12-03  Michael Meeks  <michael@ximian.com>
5414
5415         * libspi/Makefile.am: only build eventlistener.[ch]
5416
5417         * libspi/accessible.c
5418         (impl_accessibility_accessible_get_child_at_index): don't leak.
5419
5420         * at-bridge/bridge.c (bridge_exit_func): cope with an exit
5421         before we hit the idle handler.
5422
5423         * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
5424         debugging than exit.
5425
5426         * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
5427
5428         * libspi/listener.c (impl_notify_event): check source
5429         not NIL before unref.
5430
5431         * libspi/registry.c (impl_registry_notify_event): ditto.
5432
5433         * libspi/eventlistener.c
5434         (impl_accessible_event_notify_event): unref the source.
5435
5436         * libspi/accessibleeventlistener.c
5437         (impl_accessible_event_notify_event): unref the source.
5438
5439         * idl/Event.idl: remove 'hash_id' attribute - of no
5440         concievable use.
5441
5442         * libspi/application.c (notify_listeners): upd list
5443         iteration & sig.
5444         (spi_application_object_event_listener), 
5445         (spi_application_toolkit_event_listener): upd to do correct
5446         CORBA ref counting.
5447
5448         * libspi/registry.c
5449         (_registry_notify_listeners): update.
5450         (parse_event_type): this method also leaks like a sieve.
5451         (impl_accessibility_registry_deregister_global_event_listener): 
5452         fix ETYPE_WINDOW case.
5453
5454         * libspi/application.c
5455         (impl_accessibility_application_register_object_event_listener): 
5456         kill leak.
5457
5458         * libspi/hyperlink.c (impl_getObject): fix ref mistake.
5459
5460         * libspi/hypertext.c (impl_getLink): ditto.
5461
5462         * cspi/spi_main.c (cspi_object_add): remove
5463         bogus CORBA_Object_duplicate.
5464
5465         * cspi/spi-listener-impl.c (cspi_event): dup/ref
5466         on the object_add.
5467
5468         * cspi/spi_accessible.c
5469         (Accessible_getRelationSet): fix leak / referencing issue.
5470
5471         * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
5472         (cspi_object_add, cspi_object_unref): upd.
5473         (spi_object_release, get_live_refs): impl.
5474         (cspi_cleanup): simplify.
5475
5476         * *.[ch]: s/boolean/SpiBoolean/
5477
5478         * cspi/spi_accessible.c (role_names): actualy order so it
5479         corresponds with the enum !
5480
5481         * test/test-simple.c (test_roles): check some role strings
5482         vs. enums to detect offset errors.
5483
5484 2001-12-01  Michael Meeks  <michael@ximian.com>
5485
5486         * cspi/spi_main.c (cspi_object_add_check): impl. helper.
5487
5488         * cspi/spi_accessible.c (Accessible_getChildAtIndex):
5489         check ev before 
5490         (Accessible_getChildAtIndex): use cspi_add_check so we
5491         check the ev before using a (possibly) invalid value.
5492
5493         * libspi/accessible.c
5494         (impl_accessibility_accessible_get_parent): don't segv
5495         on a NULL parent.
5496
5497         * at-bridge/bridge.c (gtk_module_init): upd.
5498         (bridge_property_event_listener): don't leak strings
5499         and events !
5500         (bridge_state_event_listener),
5501         (bridge_property_event_listener): don't use a static
5502         buffer in case of recursive event emission &
5503         re-enterancy - split out the swathe of cut and paste
5504         into:
5505         (emit_eventv): and fix 2 ref leaks here & comply to the
5506         coding style.
5507         (bridge_register_app): rename to 
5508         (bridge_idle_init): this and kill arg parsing, split
5509         various inits & bonobo-activation registration to module
5510         init time, kill referencing error.
5511         (bridge_exit_func): fix the same leak.
5512         (bridge_focus_tracker): don't leak event structures
5513         and strings.
5514         (bridge_signal_listener): more leakage and cut & paste
5515         fixage.
5516         (bridge_key_listener): return the result - FIXME is
5517         this polarity correct ?
5518         (accessibility_keystroke_from_atk_key_event): rename
5519         (accessibility_init_keystroke_from_atk_key_event): and stop
5520         leakage.
5521         (gtk_module_init): return a value - not that it is checked by
5522         Gtk - but hey.
5523         (bridge_key_listener): register my horror at casting between
5524         IDL defined structs.
5525         (bridge_get_registry): kill - not used.
5526
5527         * cspi/spi_accessible.c (Accessible_getRole): make return const.
5528
5529         * test/test-simple.c (test_roles): impl.
5530         (test_desktop, validate_accessible, validate_tree): impl.
5531
5532         * cspi/spi_accessible.c (role_names): fixup bogus
5533         MAX_ROLES setup, make constants const for efficient linkage
5534         (AccessibleRole_getName): conform to coding style, make
5535         return 'const'
5536
5537 2001-11-30  Michael Meeks  <michael@ximian.com>
5538
5539         * cspi/spi.h: add missing prototype.
5540
5541         * libspi/registry.c (spi_listener_struct_new): fix sig.
5542
5543         * test/Makefile.am: add test-simple
5544
5545         * test/test-simple.c: add
5546
5547         * test/test.sh: add.
5548
5549         * cspi/spi_main.c (SPI_init): make SPI_inited module global,
5550
5551         * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
5552         do it straight - since otherwise we often get an activation race.
5553
5554 [ work before Bill duplicated a chunk of it ... ]
5555 2001-11-30  Michael Meeks  <michael@ximian.com>
5556
5557         * libspi/keystrokelistener.c
5558         (spi_keystroke_listener_class_init): fixup arg
5559         count (doh).
5560
5561         * libspi/eventlistener.c
5562         (spi_event_listener_class_init): ditto.
5563
5564         * tests/test.sh: add.
5565
5566         * cspi/spi-listener-impl.h: update macros.
5567
5568         * cspi/spi-listener-impl.c
5569         (cspi_event_listener_remove_callback): add
5570         correct pre-conditions.
5571
5572         * cspi/spi_main.c (SPI_exit): guard vs. double
5573         exits, exit the mainloop nicely.
5574         (SPI_event_main): make more sense.
5575         (SPI_init): move the atexit evilness here so we
5576         always do it (yuck).
5577         (SPI_event_main): upd.
5578
5579         * test/simple-at.c: update for listener changes.
5580
5581         * registryd/registryd.c (main): prune kruft.
5582
5583         * libspi/libspi.h: upd.
5584
5585         * libspi/eventlistener.[ch]: rename broken macros.
5586
5587         * libspi/accessibleeventlistener.[ch]: remove.
5588
5589         * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
5590
5591         * test/test-simple.c: Add - automated tests.
5592
5593         * cspi/spi-listener-impl.c (cspi_event),
5594         (cspi_key_event): add user_data to invoke.
5595         (cspi_keystroke_listener_finalize): impl.
5596         (cspi_keystroke_listener_class_init): upd.
5597
5598         * cspi/spi_event.c
5599         (createAccessibleEventListener),
5600         (AccessibleEventListener_addCallback),
5601         (createAccessibleKeystrokeListener),
5602         (AccessibleKeystrokeListener_addCallback): upd.
5603
5604         * libspi/deviceeventcontroller.c
5605         (spi_device_event_controller_check_key_event): add public proto.
5606
5607         * libspi/registry.c
5608         (impl_accessibility_registry_deregister_global_event_listener): 
5609         always init listeners.
5610         (_registry_notify_listeners): yes it is.
5611
5612         * cspi/spi-listener-impl.c (cspi_key_event): 
5613         move debug to here.
5614         (cspi_event_listener_finalize): impl.
5615         (cspi_event_listener_class_init): hook up.
5616         (event_handler_new, event_handler_free),
5617         (event_list_remove_by_callback): impl.
5618         (cspi_event_listener_remove_callback),
5619         (cspi_keystroke_listener_remove_callback),
5620         (cspi_keystroke_listener_add_callback),
5621         (cspi_event_listener_add_callback): upd.
5622
5623         * libspi/keystrokelistener.c
5624         (keystroke_listener_object_finalize): kill
5625         (spi_keystroke_listener_class_init): upd.
5626         (spi_keystroke_listener_add_callback),
5627         (spi_keystroke_listener_remove_callback): kill,
5628         use signals.
5629         (impl_key_event): prune drasticaly.
5630
5631         * libspi/eventlistener.c
5632         (spi_event_listener_add_callback),
5633         (spi_event_listener_remove_callback): kill, use
5634         signals.
5635         (impl_accessible_event_notify_event): upd.
5636         (spi_event_listener_object_finalize): remove.
5637
5638         * libspi/Makefile.am: use eventlistener.[ch]
5639
5640 2001-12-04  Bill Haneman  <bill.haneman@sun.com>
5641
5642         * libspi/registry.c (_registry_notify_listeners):
5643         Changed listener loop iteration to use preferred convention.
5644         Got rid of string memory leaks caused be calling g_strconcat
5645         inside function calls.
5646
5647         * libspi/registry.c (parse_event_type):
5648         Stopped g_strconcat memory leaks, free the g_strsplit return,
5649         g_strdup the split pieces when used, etc.
5650
5651 2001-12-04  Bill Haneman  <bill.haneman@sun.com>
5652
5653         * idl/State.idl: 
5654         Change method 'compare' to return a 'difference set' rather than
5655         taking a StateSet as an out parameter (more Java-friendly).
5656
5657         * idl/Accessible.idl:
5658         Added CORBA struct 'BoundingBox', to faciliate API changes below:
5659         
5660         * idl/Component.idl:
5661         * idl/Image.idl:
5662         Changed methods 'getExtents' and 'getImageExtents' in these
5663         interfaces to return a BoundingBox structure.  
5664         (getPosition and getSize are redundant and possibly should be
5665         removed, rather than creating a corresponding Point struct.)
5666
5667         * cspi/spi_component.c:
5668         Modify implementation of getExtents to reflect the above IDL
5669         change.
5670         
5671         * cspi/spi_image.c:
5672         * cspi/spi.h:
5673         Add (missing) AccessibleImage_getExtents () API.
5674
5675         * docs/reference/cspi/at-spi-cspi-sections.txt:
5676         Added AccessibleImage_getImageExtents () to docs.
5677         
5678 2001-12-03  Bill Haneman  <bill.haneman@sun.com>
5679
5680         * idl/Component.idl:
5681         Added two methods, getLayer () and getMDIZOrder (), to reflect
5682         the new ATK methods atk_object_get_layer and
5683         atk_object_get_mdi_z_order. (Which arguably should be part of the
5684         AtkComponent API and AtkObject).  Also added an enum,
5685         ComponentLayer, for the first method's return value.
5686
5687         * libspi/component.c:
5688         Added implementations for these methods.
5689
5690         * cspi/spi_component.c:
5691         * cspi/spi.h:
5692         Added cspi binding methods for above, 
5693         AccessibleComponent_getLayer() and
5694         AccessibleComponent_getMDIZOrder().
5695         Added cspi enum 'AccessibleComponentLayer'.
5696
5697         * docs/reference/cspi/at-spi-cspi-sections.txt:
5698         Added above methods to docs.
5699
5700         * cspi/spi-impl.h:
5701         * cspi/spi*.[ch]:
5702         Changed typedef for 'boolean' type (and all references to it) to
5703         SPIBoolean, to avoid keyword clashes with C++.
5704
5705         * test/simple-at.c:
5706         Changed usages of 'boolean' to SPIBoolean.
5707
5708         * test/keysynth-demo.c:
5709         Changed usages of 'boolean' to 'gboolean' (since this is a gnome
5710         app), except where SPIBoolean is required by the callbacks API.
5711         
5712 2001-12-02  Bill Haneman  <bill.haneman@sun.com>
5713
5714         * cspi/spi_registry.c:
5715         Removed obsolete X event loop for passive keygrabs (which now
5716         lives in libspi).
5717
5718         * registryd/registryd.c:
5719         Removed unnecessary call to gdk_init() [cruft]. This also allows
5720         removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
5721         * configure.in.
5722
5723 2001-11-28  Bill Haneman  <bill.haneman@sun.com>
5724
5725         * docs/reference/cspi:
5726         Included docs for SPI_freeString in generated documentation.
5727
5728         * cspi/spi-util.c:c
5729         Renamed spi_freeString to SPI_freeString, for consistency.  Added
5730         documentation for this function.
5731
5732         * cspi/spi-util.h:
5733         Renamed spi_freeString to SPI_freeString, for consistency.  
5734         Removed obsolete method declaration string_from_corba_string.
5735
5736         * test/keysynth-demo.c:
5737         Small tweak to comments.
5738
5739         * test/simple-at.c:
5740         Stopped leaking the strings returned from CSPI. 
5741
5742 2001-11-28  Bill Haneman  <bill.haneman@sun.com>
5743
5744         Merged Michael's branch (see his ChangeLog entries below).
5745         
5746         * at-bridge/bridge.c: Explicitly hold a ref to the registry while
5747         bridge is alive, release on exit.
5748         
5749         * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
5750         Fix type check macro.
5751         
5752         * cspi/spi_event.c:
5753         Added AccessibleKeystrokeListener_unref() method to reduce leakage.
5754         
5755         * cspi/spi_main.c: 
5756         Added is_gnome_app static, and method cspi_is_gnome_app(), 
5757         so we can call the appropriate shutdown routine at exit in SPI_exit.
5758         
5759         * cspi/spi_main.c (cspi_object_ref):
5760         Duplicate the corba object passed in, since we're keeping it around.
5761         
5762         * cspi/SPI_exit.c, cspi_cleanup:
5763         Moved the releasing of the live refs to its own function, so we
5764         can put it in g_atexit ().  Call the appropriate shutdown API
5765         depending on whethe calling client is a gnome app or not
5766         (bonobo_main_quit or CORBA_ORB_shutdown).
5767         
5768         * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
5769         Unref the listener when this method is called, after
5770         deregistration.  Updated the API docs to note this behavior.
5771
5772         * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
5773         Bugfixes: Ref the bonobo object when returning a parent or child 
5774         reference, or an AccessibleRelation.  Generally made sure
5775         BonoboObject refcount is incremented whenever we return an
5776         Accessible.
5777
5778         * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
5779         Fixed typo/bug in signal declaration.
5780         
5781         * libspi/accessibleeventlistener.h:
5782         Fixed a type macro.
5783
5784         * libspi/application.c (spi_application_new):
5785         Fixed leak in initialization.
5786
5787         * libspi/desktop.c:
5788         Remembered to increment bonobo-object refcount when returning
5789         children (applications) from desktop object.
5790         Added (empty) finalize method.
5791
5792         * libspi/deviceeventcontroller.c:
5793         Hold a ref to listeners inside DEControllerKeyListeners.
5794         Added dec_key_listener_free() method.  Use prepend instead of
5795         append in key_listener list.  Fixed some refcount madness and
5796         leaks in the listener registration/deregistration - deregistration
5797         now calls dec_key_listener_free() on listeners, and on the
5798         temporarily constructed dec_key_listener() used to perform the search/match.
5799
5800         * libspi/hypertext.c (spi_hypertest_finalize):
5801         Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
5802         class.  Also fixed spi_hypertext_interface_new() and
5803         SpiHypertextClass.  Fixed a couple of paren-whitespace formatting bugs.
5804
5805         * libspi/hypertext.h: 
5806         Removed pointless and duplicate AtkObject pointer from
5807         SpiHypertextClass.
5808
5809         * libspi/keystrokelistener.c:
5810         Fixed incorrect type of keystroke_listener_parent_class,
5811         renamed keystroke_listener_object_finalize to
5812         spi_keystroke_listener_object_finalize.
5813         Fixed typo in signal declaration
5814         (spi_keystroke_listener_class_init).
5815
5816         * libspi/registry.c:
5817         Added funcsions spi_listener_struct_new() and
5818         spi_listener_struct_free() to help with memory management issues.
5819         We also now use these methods instead of gnew + poking stuff into
5820         the struct, and to decrement listener counts/free the listeners
5821         when deregistering them.
5822         Fix more refcount bugs in getDesktop() and
5823         getDeviceEventController().  
5824
5825         * test/simple-at.c:
5826         De-ref the desktop after enumerating the applications.  Explicitly
5827         decrement the refcounts on the created listeners on exit (using
5828         _unref for keystroke listeners, and via the
5829         deregisterGlobalEventListenerAll command for other event
5830         listeners).
5831         
5832 2001-11-27  Michael Meeks  <michael@ximian.com>
5833
5834         * cspi/spi-listener.h: fixup enum.
5835
5836 2001-11-27  Michael Meeks  <michael@ximian.com>
5837
5838         * cspi/spi-listener-impl.c (cspi_event_listener_new),
5839         (cspi_keystroke_listener_new): Use the cspi variants.
5840
5841 2001-11-26  Michael Meeks  <michael@ximian.com>
5842
5843         * test/keysynth-demo.c: fix 2 compile warnings, missing
5844         type in decl. etc.
5845
5846         * test/simple-at.c (report_focussed_accessible),
5847         (report_focus_event, report_button_press),
5848         (check_property_change, is_command_key),
5849         (report_ordinary_key_event, report_command_key_event): upd.
5850
5851         * util/mag_client.h: include pre-requisites.
5852
5853         * libspi/accessibleeventlistener.c
5854         (spi_event_listener_object_finalize): free any lingering
5855         callbacks.
5856         
5857         * libspi/keystrokelistener.c
5858         (keystroke_listener_object_finalize): ditto.
5859
5860         * cspi/spi-listener-impl.[ch]: Add to implement cspi style
5861         callbacks, with cspi types.
5862         
5863         * cspi/spi_event.c (createAccessibleEventListener): chain to
5864         (AccessibleEventListener_addCallback): here.
5865         (createAccessibleKeystrokeListener): chain to 
5866         (AccessibleKeystrokeListener_addCallback): here.
5867
5868         * libspi/keystrokelistener.c
5869         (spi_keystroke_listener_class_init): add signal.
5870         (impl_key_event): emit the event.
5871         (boolean_handled_accumulator): impl.
5872         (marshal_BOOLEAN__POINTER): add, gack.
5873
5874         * libspi/accessibleeventlistener.c
5875         (spi_event_listener_class_init): add signal.
5876         (impl_accessible_event_notify_event): emit the signal &
5877         make the loop efficient.
5878         (spi_event_listener_add_callback): prepend the callback.
5879
5880         * libspi/accessibleeventlistener.h: add an 'event' signal,
5881         decl type on callback.
5882
5883         * libspi/keystrokelistener.h: ditto.
5884
5885         * cspi/spi-listener.h: make methods typesafe and
5886         make them use the new event typedefs.
5887
5888         * test/simple-at.c (report_focussed_accessible):
5889         include mag_client.h
5890         Use *(void *)text_interface not the other thing.
5891         
5892         * configure.in: add gtk to registryd bits - since we use
5893         gdk there ( why ? )
5894
5895         * util/magnifier.c: include libbonobo.h
5896         
5897 2001-11-25  Bill Haneman  <bill.haneman@sun.com>
5898
5899         * test/keysynth-demo.c:
5900         Turned this into a simple scanning keyboard, to demonstrate the
5901         use of g_timeout_add () as a means of creating timers for
5902         scanning, and the use of GtkStyle for visually indicating when
5903         virtual keyboard elements are selected.
5904
5905         keysynth-demo now listens to any keyboard keys with zero-valued
5906         keycodes (i.e. 'unused' keys) and interprets them as
5907         single-switches.
5908
5909         Reworked the shiftlatch code so that shift-down state isn't held
5910         for long periods (it's only synthesized immediately prior to
5911         the keysynth event it's modifying).  Note that shiftlatch in this
5912         demo is a convenience, not intended to take the place of AccessX 
5913         which is the better choice for getting 'sticky' modifier keys.
5914
5915         * libspi/deviceeventcontroller.c:
5916         * at-bridge/bridge.c:
5917         * cspi/spi_registry.c:
5918         Removed some debug print stuff, and put other verbosity in #ifdef
5919         blocks.
5920
5921         * util/magnifier.c:
5922         * util/mag_image.h:
5923         Implemented some more of the magnifier IDL for the simple
5924         magnifier: namely, getZoomRegionParams. 
5925         Added mag_x and mag_y members to MagnifierData struct, aid of this
5926         implementation.
5927         Added GtkWindow::realize signal handler to magnifier, to keep it
5928         from receiving keyboard focus from the WM.
5929
5930 2001-11-23  Mark McLoughlin  <mark@skynet.ie>
5931
5932         * cspi/spi-private.h: my guess at what michael forgot
5933         before he ran off to NZ :-)
5934
5935 2001-11-23  Michael Meeks  <michael@ximian.com>
5936
5937         * cspi/spi_event.c (AccessibleEventListener_removeCallback):
5938         comment out non existant method invoke so we link.
5939
5940         * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
5941         use bonobo_exception_get_text for more friendly warnings.
5942
5943         * cspi/spi.c (Obj_Add): move into spi_main & rename
5944         spi_object_add; kill spi.c
5945
5946         * cspi/spi_registry.c
5947         (deregisterGlobalEventListener),
5948         (deregisterGlobalEventListenerAll),
5949         (registerGlobalEventListener): fix exception leaks.
5950
5951         * cspi/spi_main.c (spi_exception): impl. helper, so we
5952         don't leak exceptions.
5953
5954         * cspi/spi_selection.c
5955         (AccessibleSelection_deselectSelectedChild): return the
5956         success state.
5957
5958         * cspi/spi_main.c (spi_ev): impl; hack - gack.
5959         (spi_registry): ditto.
5960         (SPI_init): guard against double inits.
5961
5962         * cspi/*.c: use spi_ev (), and spi_registry () where
5963         appropriate - a temporary hack until we have something
5964         better. Use spi_object_add
5965
5966 2001-11-22  Michael Meeks  <michael@ximian.com>
5967
5968         * cspi/Makefile.am: re organise, install the headers.
5969
5970         * cspi/*.h: add G_BEGIN/END_DECLS
5971
5972 2001-11-22  Bill Haneman  <bill.haneman@sun.com>
5973
5974         * test/simple-at.c:
5975         Added non-preemptive keylistener for key events with no modifiers
5976         and shift-only modifier.
5977
5978         * libspi/keystrokelistener.c:
5979         Removed some verbose diagnostics printout.
5980
5981         * cspi/spi_registry.c:
5982         Fixed a bug that caused all key listeners to be registered as
5983         pre-emptive.
5984         
5985         * libspi/deviceeventcontroller.c:
5986         Fixed bug that caused XGrabKey (preemptive key grab) to be called
5987         for non-preemptive key masks.
5988
5989
5990 2001-11-22  Bill Haneman  <bill.haneman@sun.com>
5991
5992         * docs/reference/idl/at-spi-idl-docs.sgml:
5993         * docs/reference/idl/at-spi-idl-sections.txt:
5994         * docs/reference/idl/at-spi-idl-overrides.txt:
5995         Added missing files.
5996
5997         * docs/reference/Makefile.am:
5998         removed idl from SUBDIRS until we can figure a way to get gtk-doc
5999         to scan the IDL files :-(
6000
6001         * docs/reference:
6002         * docs/cspi:
6003         * docs/idl:
6004         Added .cvsignore files.
6005         
6006 2001-11-21  Bill Haneman  <bill.haneman@sun.com>
6007
6008         * libspi/deviceeventcontroller.c:
6009         * libspi/keystrokelistener.c:
6010         * cspi/spi_event.c:
6011         * cspi/spi_registry.c:
6012         Added filters for KeySets, KeyEventSeq, and event types to key
6013         event dispatching, so listeners should only receive those events
6014         that they requested :-)
6015
6016 2001-11-21  Bill Haneman  <bill.haneman@sun.com>
6017
6018         * configure.in:
6019         * docs/Makefile.am:
6020         * docs/reference:
6021         * docs/reference:Makefile.am:
6022         * docs/reference/cspi:
6023         * docs/reference/cspi:Makefile.am:
6024         * docs/reference/cspi:tmpl:
6025         * docs/reference/cspi:tmpl:*.sgml:
6026         * docs/reference/idl:
6027         * docs/reference/idl:Makefile.am:
6028         * docs/reference/idl:at-spi-idl-sections.txt:
6029         * docs/reference/idl:at-spi-idl-docs.sgml:
6030         * docs/reference/idl:tmpl:
6031         * docs/reference/idl:tmpl:*.sgml:
6032
6033         Restructured docs directory to allow separate 'reference' docs
6034         section, and forked idl and cspi docs.  Added the sgml template
6035         files to CVS.  Added the first sections/structural sgml for the
6036         IDL docs.
6037
6038 2001-11-21  Laszlo Peter  <laca@ireland.sun.com>
6039
6040         * configure.in, libspi/Makefile.am: find libXtst.
6041
6042 2001-11-21  Michael Meeks  <michael@ximian.com>
6043
6044         * test/accessx-gui.c: s/spi_value/value/ - doh.
6045
6046         * libspi/base.[ch]: add.
6047
6048 2001-11-18  Bill Haneman <bill.haneman@sun.com>
6049
6050         * idl/Accessible.idl:
6051         * idl/Application.idl:
6052         * idl/Registry.idl:
6053         * idl/Action.idl:
6054         Started gtk-doc cleanup on IDL.
6055
6056         * libspi/deviceeventcontroller.c:
6057         Added and connected non-preemptive key notification from the
6058         toolkits (in addition to the pre-emptive support from XServer
6059         which we had before, but which causes 'focus flashing').  Filters
6060         are presently limited to key modifiers and global/non-global,
6061         KeySets are presently ignored, as are KeyEvent masks.
6062
6063         Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
6064         structs into the persistant structure rather than just storing
6065         pointers to things that might not persist across servant
6066         invocations.
6067
6068         The XGrabKey call now does async keygrabs, because synchronous
6069         ones were deadlocking with GDK_event code in a very nasty way.
6070
6071         Added boolean to internal method notify_keylisteners, to indicate
6072         whether the event came from the 'toolkit source' or the 'global
6073         (XServer) source' - this is used in the notification process to
6074         determine which listeners to send the event to.
6075
6076         deviceeventcontroller.c is now warning-free.
6077         
6078         * libspi/registry.c:
6079         Fixed regression in application de-registration.
6080         Also fixed some really brain-dead weirdness having to do with
6081         event dispatching - event structs are now duplicated before being
6082         re-marshalled in the dispatch to listeners.  This also fixes a
6083         Solaris build problem.
6084         
6085         
6086 2001-11-20  Michael Meeks  <michael@ximian.com>
6087
6088         * libspi/registry.c
6089         (impl_accessibility_registry_deregister_global_event_listener): 
6090         segv. protection.
6091
6092         * libspi/deviceeventcontroller.c
6093         (spi_device_event_controller_check_key_event): return
6094         FALSE on no virtual method.
6095
6096         * libspi/*..h: make includes work on a correctly pathed install.
6097
6098         * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
6099
6100         * libspi/application.h: kill unused ( and whacked out )
6101         gboolean *spi_application_set_id (AtkObject *app, long id);
6102
6103 2001-11-20  Michael Meeks  <michael@ximian.com>
6104
6105         * libspi/*.[ch]: further convert to bonobo's type func
6106         macros, remove redundnant casts etc.
6107
6108         * libspi/text.c s/accessibility_text/spi_text/g,
6109         re-order to de-cruft.
6110
6111         * libspi/hypertext.c: re-order to kill a huge slew
6112         of redundant forward decls.
6113
6114         * libspi/relation.c: ditto.
6115
6116         * libspi/image.c: ditto.
6117
6118         * */.cvsignore: update
6119         
6120 2001-11-20  Michael Meeks  <michael@ximian.com>
6121
6122         * libspi/deviceeventcontroller.c
6123         (_controller_register_with_devices): use g_getenv,
6124         kill stdlib.h include.
6125
6126         * libspi/keystrokelistener.c
6127         (spi_keystroke_listener_get_type): kill
6128         (spi_keystroke_listener_class_init),
6129         (spi_keystroke_listener_init): rename to this.
6130
6131         * libspi/text.c (impl_getAttributes): fix warning / bug.
6132
6133         * libspi/*.[ch]: more headers, includes and over commenting.
6134         
6135 2001-11-20  Michael Meeks  <michael@ximian.com>
6136
6137         * libspi/*.[ch]: fixup headers, includes and over commenting.
6138
6139         * libspi/image.c (impl__get_imageDescription): const
6140         correctness warning fix. remove redundant casting.
6141
6142         * libspi/table.c (impl_getRowDescription): ditto.
6143         (impl_getColumnDescription): ditto.
6144
6145         * libspi/libspi.h: add.
6146
6147 2001-11-19  Michael Meeks  <michael@ximian.com>
6148
6149         * libspi/editabletext.c (impl_setAttributes): fix warnings.
6150
6151         * libspi/component.c (accessibility_component_get_type): 
6152         rename to (spi_component_get_type): and macroify.
6153         (accessibility_component_init): rename to
6154         (spi_component_init): this
6155         (accessibility_component_class_init): rename to
6156         (spi_component_class_init): this
6157
6158         * libspi/action.c (spi_action_get_type): kill, use the macro.
6159
6160         * libspi/deviceeventcontroller.c (_compare_listeners): re-order
6161         to avoid prototype.
6162
6163         * libspi/application.c (spi_application_object_event_listener),
6164         (impl_accessibility_application_register_object_event_listener):
6165         warning fixes / const understanding updates.
6166
6167         * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
6168         warning fixes.
6169
6170 2001-11-18  Bill Haneman <bill.haneman@sun.com>
6171
6172         * libspi/spi_accessible.c: Added docs and C bindings for
6173         AccessibleStateSet. (No implementations yet).  Documentation
6174         coverage for C bindings now 100%. Made docs for event listeners
6175         more explicit.
6176         
6177         * idl/Registry.idl:
6178         Added methods 
6179             boolean notifyListenersSync (in DeviceEventListener listener,
6180                                      in DeviceEvent event);
6181
6182             oneway void notifyListenersAsync (in DeviceEventListener listener,
6183                                           in DeviceEvent event);
6184
6185         Added DeviceEventListener and DeviceEvent structs (may deprecate
6186         KeyStroke and KeystrokeListener in favor of this generic
6187         event/listener framework for devices).
6188
6189         * libspi/deviceeventcontroller.c:
6190
6191         Changed some key listener code to take masks, etc., and paved the
6192         way for integration of toolkit/non-preemptive key events. Changed
6193         signatures of some internal methods.
6194
6195         * at-bridge/bridge.c:
6196         Fixed regression connecting to interface signals, apparently
6197         caused by GTK+ changes.
6198
6199         Added an internal bridge_state_listener to deal with
6200         property-change:accessible-state signals.
6201
6202         Changed the key_listeners GList to store structs (including masks,
6203         etc.) instead of just CORBA_Objects (required for full
6204         implementation of key listener API).
6205
6206         Connected the bridge to all currently supported Atk signals.
6207         Events now supported: 
6208             object:property-change
6209             object:property-change:accessible-name
6210             object:property-change:accessible-state
6211             object:property-change:accessible-description
6212             object:property-change:accessible-parent
6213             object:property-change:accessible-value
6214             object:property-change:accessible-role
6215             object:property-change:accessible-table-caption
6216             object:property-change:accessible-table-column-description
6217             object:property-change:accessible-table-column-header
6218             object:property-change:accessible-table-row-description
6219             object:property-change:accessible-table-row-header
6220             object:property-change:accessible-table-summary
6221             object:children-changed
6222             object:visible-data-changed
6223             object:selection-changed
6224             object:text-selection-changed
6225             object:text-changed
6226             object:text-caret-moved
6227             object:row-inserted
6228             object:row-reordered
6229             object:row-deleted
6230             object:column-inserted
6231             object:column-reordered
6232             object:column-deleted
6233             object:model-changed        
6234
6235 2001-11-16  Bill Haneman <bill.haneman@sun.com>
6236
6237         * libspi/hyperlink.c,h:
6238         Fixed some broken stuff in hyperlink.
6239         
6240         * libspi/relation.h:
6241         * libspi/relation.c:
6242         * cspi/spi_accessible.c:
6243         Initial implementations of AccessibleRelation methods, and docs.
6244
6245         * libspi/accessible.c:
6246         Fixed a bug that caused SEGV  if an accessible
6247         object's description is NULL, and a client
6248         requests it.  An empty string is now returned.
6249
6250         * cspi/spi_editabletext.c:
6251         * cspi/spi_hypertext.c:
6252         * cspi/spi_image.c:
6253         * cspi/spi_hyperlink.c:
6254         * cspi/spi_table.c:
6255         Added docs.  
6256
6257         Doc coverage now 95%.
6258
6259 2001-11-16  Bill Haneman <bill.haneman@sun.com>
6260
6261         One last namespacing revision:
6262         * libspi/accessibleeventlistener.[ch]:
6263         Renamed SpiAccessibleEventListener to SpiEventListener,
6264         (no need for two namespaces ;-)
6265
6266         And lots of documentation fixes:
6267
6268         * docs/at-spi-docs.sgml:
6269         Fixed 'underscore vs. hyphen' bug that was preventing
6270         the gtk-doc API docs from being automatically generated.
6271
6272         * cspi/spi-impl.h
6273         * cspi/spi-listener.h
6274         * cspi/spi.h
6275         * cspi/spi_accessible.c
6276         * cspi/spi_action.c
6277         * cspi/spi_application.c
6278         * cspi/spi_component.c
6279         * cspi/spi_editabletext.c
6280         * cspi/spi_event.c
6281         * cspi/spi_hypertext.c
6282         * cspi/spi_main.c
6283         * cspi/spi_registry.c
6284         * cspi/spi_selection.c
6285         * cspi/spi_text.c
6286         * cspi/spi_value.c
6287         * docs/Makefile.am
6288         * docs/at-spi-docs.sgml
6289         * docs/at-spi-sections.txt
6290         
6291         Added and fixed up gtk-doc documentation in cspi.
6292         
6293         Interfaces now (fully) documented (subject to revision and enhancement):
6294         SPI_main
6295         Event Listener Support
6296         Registry API
6297         AccessibleApplication
6298         Accessible
6299         AccessibleAction
6300         AccessibleComponent
6301         AccessibleEditableText
6302         AccessibleSelection
6303         AccessibleText
6304         AccessibleValue
6305
6306         still pending:
6307         AccessibleStateSet
6308         AccessibleRelationSet
6309         AccessibleImage
6310         AccessibleTable
6311         AccessibleHyperlink
6312         
6313 2001-11-14  Bill Haneman <bill.haneman@sun.com>
6314
6315         * at-bridge/bridge.c:
6316         Initial work for toolkit-level key snooper connection by bridge.
6317
6318         * cspi/spi-impl.h:
6319         * cspi/spi_*.h:
6320         * cspi/spi_*.c:
6321         New typedefs and fixes to support new namespacing, and cleaner
6322         separation of cspi bindings from libspi bonobo implementation.  
6323         Removed inconsistent and extraneous Spi* namespace prefix that
6324         had crept into cspi headers.
6325         Lots of comment fixes that sed had missed.
6326
6327         * cspi/spi-roletypes.h:
6328         * cspi/spi-statetypes.h:
6329         Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
6330         to AccessibleRoleType.
6331         
6332         * libspi/accessibleeventlistener.h:
6333         Fixed minor namespacing weirdness.
6334
6335         * libspi/deviceeventcontroller.c:
6336         Reordered some internal API for device listeners.
6337         Changed the key registry final boolean to 'is_system_global'
6338         rather than 'is_synchronous', which is more descriptive of its 
6339         actual meaning.
6340         Added spi_device_event_controller_new().
6341         Added  SpiRegistry backpointer to SpiDeviceEventControllerClass.
6342          
6343         * libspi/keystrokelistener.[ch]:
6344         Namespaced KeystrokeListener to SpiKeystrokeListener.
6345         Changed uses of keymasks to use SPI_ prefix, and did other
6346         knock-on fixups.
6347
6348         * libspi/keymasks.h:
6349         Namespaced keymask constants with SPI_ prefix.
6350
6351         * libspi/registry.c:
6352         Some warning fixes, and knock-on fixes from namespace changes.
6353
6354         * test/Makefile.am:
6355         Added rules for accessx-gui test program.
6356
6357         * test/accessx-gui.c:
6358         Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
6359         utility.  It doesn't actually use at-spi, but it's still cool and
6360         useful ;-)
6361
6362         * test/keysynth-demo.c:
6363         * test/simple-at.c:
6364         * test/at.c:
6365         * test/app.c:
6366         Fixes so that these test clients work properly with the namespaced
6367         libraries. (Incompletely tested for technical reasons, fixes may follow)
6368         
6369
6370 2001-11-13  Michael Meeks  <michael@ximian.com>
6371
6372         * libspi/application.c
6373         (impl_accessibility_application_get_version),
6374         (impl_accessibility_application_get_toolkit_name):
6375         warning fixes.
6376         (impl_accessibility_application_set_id),
6377         (impl_accessibility_application_get_id): remove
6378         redundant casting code.
6379
6380         * libspi/action.c (impl_getDescription): fix warnings.
6381
6382         * libspi/accessible.c
6383         (impl_accessibility_accessible_get_parent),
6384         (impl_accessibility_accessible_get_child_at_index),
6385         (impl_accessibility_accessible_get_state),
6386         (impl_accessibility_accessible_get_relation_set):
6387         warning fixes & include action.h
6388
6389 2001-11-13  Michael Meeks  <michael@ximian.com>
6390
6391         * *.[ch] fix bits I screwed up:
6392
6393                 s/([^ \tb(\*\&\?\",])spi_/\1/g;
6394                 s/([^ \tb(\*\&\?\",])Spi/\1/g;
6395         
6396 2001-11-13  Michael Meeks  <michael@ximian.com>
6397
6398         * *.[ch] Namespace libspi into spi_ and Spi.
6399
6400 2001-13-11  Michael Meeks  <michael@ximian.com>
6401
6402         * Makefile.am: dist & install at-spi-1.0.pc
6403
6404         * libspi/Makefile.am: install into at-spi-1.0
6405
6406         * idl/Makefile.am (idldir): install into at-spi-1.0
6407
6408         * at-spi-1.0.pc.in: add.
6409
6410         * configure.in: build it.
6411
6412 2001-11-12  Bill Haneman <bill.haneman@sun.com>
6413
6414         * test/keysynth-demo.c:
6415         Use a 'realize' signal-handler to set the WM properties for
6416         the virtual keyboard, rather than making it a "POPUP" type
6417         override-redirect window (thanks to anders carlsson for that
6418         tip!)
6419
6420 2001-11-11  Bill Haneman <bill.haneman@sun.com>
6421
6422         * test/Makefile.am:
6423         * test/keysynth-demo.c:
6424         Added new test of key synthesis, which creates a simple
6425         (mouse-operated) onscreen keyboard.  It inserts key events into
6426         the currently-focused window, thus it does not grab keyboard focus
6427         itself.
6428
6429         * cspi/spi_registry.c:
6430         Added C binding for AT-SPI generateKeyEvent.
6431
6432         * libspi/deviceeventcontroller.c:
6433         Added call to XFilterEvent so that key listener works with XIM (we
6434         hope).  Added event_synth_type to generateKeyEvent, so that we can
6435         produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
6436         synthesize a press/release pair for KeySyms.    
6437         
6438 2001-11-09  Bill Haneman <bill.haneman@sun.com>
6439
6440         * libspi/Makefile.am: 
6441         * registryd/Makefile.am:
6442         (temporary) hack to include libXtst in libspi and registryd.
6443         (Needed for keystroke synthesis, see below).
6444
6445         * idl/Registry.idl:
6446         Improved API for registerKeystrokeListener, in accordance with
6447         discussions with Gnopernicus team and X server research.
6448
6449         * libspi/registry.c:
6450         * libspi/deviceeventcontroller.c:
6451         * libspi/accessible.c:
6452         * libspi/keystrokelistener.c:
6453         Changes and fixes to support keylisteners for potentially
6454         consumed key events (that is, 'passive grabs').
6455         Added implementation for generateKeyEvent() [untested].
6456
6457         * cspi/spi.h:
6458         Changes to registerKeystrokeListener() API, as above.
6459         Added deregisterGlobalEventListenerAll(), and 
6460         deregisterKeystrokeListener(), which are needed for clean exit of
6461         clients.
6462         Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
6463         and a macro ALL_KEYS which may be used in place of a KeySet pointer.
6464         
6465         * cspi/spi_registry.c:
6466         Added implementations of function prototypes mentioned above.
6467         
6468         * registryd/registryd.c:
6469         Added the key listener event source as a g_timeout(), to allow
6470         receipt of key events that are not caught by GDK (since GDK
6471         doesn't support passive keygrabs, this was necessary).
6472
6473         * test/simple-at.c:
6474         Changed to attach a keylistener to 'Alt' keys, and
6475         respond to the following keycommands: Alt-M (toggle magnifier);
6476         Alt-F (toggle speech); Alt-Q (quit).
6477         Added an exit routine to deregister the listeners, and a key
6478         listener that prints some key info to the console when a key
6479         matches the listener mask (and is thus received by the listener).
6480         
6481         * util/idl/Magnifier.idl:
6482         Changes to magnifier API to support multiple zoom regions,
6483         non-uniform scaling in x and y, markDirty, and a host of other
6484         features that would be useful to magnification.
6485
6486         * util/mag_image.h:
6487         * util/mag_client.c:
6488         * util/mag_client.h:
6489         * util/mag_control.c:
6490         * util/magnifier.c:
6491         Source code changes to support the above IDL changes.
6492         
6493         * util/mag_image.c:
6494         As above, and also changes to use a (slower) generic conversion
6495         path for colormap conversions, since the fast RGB conversions have been
6496         reported to fail for 16-bit displays.
6497
6498 2001-10-26  Michael Meeks  <michael@ximian.com>
6499
6500         * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
6501
6502 2001-10-26  Laszlo Peter <laca@ireland.sun.com>
6503
6504         * at-bridge/Makefile.am: fix LDFLAGS.
6505
6506 2001-10-09  Bill Haneman <bill.haneman@sun.com>
6507
6508         * at-bridge/bridge.c:
6509         Re-worked listeners for toolkit events, now we have signal
6510         and property listeners. Added a private method
6511         register_atk_event_listeners(), which registers with the
6512         various atk and gtk signals we need to monitor in order to emit
6513         our at-spi events.
6514         Added emission hook for AtkObject:property-change events, to
6515         support the 'property listeners'.
6516         Fixed some alloc()s of Accessibility_Event structs to use CORBA
6517         allocation.
6518
6519         * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
6520         which emit warnings and exit, respectively, if CORBA errors occur
6521         during remote calls, and we now use these methods to check most of
6522         our CORBA calls in the C bindings.
6523
6524         * cspi/spi_accessible.c:
6525         Changed AccessibleSelection_refSelectedChild() to
6526         AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
6527         now increment refcounts.
6528
6529         * cspi/spi_component.c:
6530         Fixed some long pointer casts (dangerous!) to pass pointers to
6531         CORBA_longs of the proper type to the CORBA stubs, and copy the
6532         data into the longs that were passed into the C bindings code.
6533         
6534         * at-bridge/bridge.c:
6535         
6536         * libspi/accessible.c:
6537         Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
6538         hyperlinks, AtkHyperlink is an object type.     
6539
6540         * libspi/application.c:
6541         Added various conversions to and from "generic" event types and
6542         atk-specific types; this is really part of the 'bridge'
6543         implementation but is valid for all AtkObject-based accessibility 
6544         implementations.
6545
6546         * libspi/editabletext.c:
6547         Fixed nasty bug wherein editable text's finalize method was
6548         unref'ing tha AtkObject reference that the text parent class was
6549         about to unref _again_.  There was also a nasty inheritance bug
6550         that meant that the AccessibleEditableText class was corrupt.
6551
6552         * libspi/selection.c:
6553         Provided implementations for some selection API that was broken.
6554         
6555         * idl/Application.idl:
6556         Added registerObjectEventListener () method.
6557
6558         * THROUGHOUT:
6559         Fixed a number of return values that were Bonobo_Unknowns from
6560         bonobo_object_corba_objref(), which I
6561         forgot to dup before returning.  Changed instances of 
6562         bonobo_object_corba_objref (bonobo_object(o)) to
6563         BONOBO_OBJREF(o), for concision and clarity.
6564         
6565 2001-10-13  Louise Miller <louise.miller@sun.com>
6566
6567         * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
6568         idl/Event.idl, idl/Registry.idl
6569         Changed these files to include Bonobo_Unknown.idl instead
6570         of Bonobo.idl
6571
6572 2001-09-10  Marc Mulcahy <marc.mulcahy@sun.com
6573
6574         * libspi/component.c libspi/component.h:
6575                 Fixed typo.  Added assertions for object checks in 
6576         AccessibleComponent code.
6577
6578 2001-10-09  Bill Haneman <bill.haneman@sun.com>
6579
6580         * idl/Accessible.idl:
6581                 Added 'isEqual (Accessible *object)' 
6582         method for Accessible. (Not Yet Implemented).
6583         
6584         * idl/Registry.idl:
6585                 Changed signature of registerKeystrokeListener() to
6586         take a KeySet and KeyEventSeq so that specific keys and event
6587         types could be requested for monitoring, and added a flag
6588         is_synchronous so that either synchronous or asynchronous
6589         notification could be requested.  (However this is not all
6590         implemented yet). This also meant adding two new typedefs,
6591         KeyEventSeq and KeySet.
6592
6593         * idl/Relation.idl: 
6594                 Added two new relations, RELATION_TOOLTIP_FOR and
6595         RELATION_LEAFNODE_OF.
6596
6597         * idl/State.idl:
6598                 Added new state, STATE_HAS_TOOLTIP.
6599         
6600         * libspi/text.c, editabletext.c:
6601                 Added new assertions to all casts of bonobo-objects from
6602         CORBA servants, to prevent Text API calls on non-text objects.
6603                 Changed suspect casts of int-pointer types, so that we
6604         always send a valid CORBA_long pointer to the CORBA APIs that use
6605         in/out long parameters.  We then have to copy from the CORBA_long
6606         into the regular long or int for return to the C bindings, or
6607         vice-versa when returning parameters from ATK calls to the bonobo wrappers.
6608         
6609         * cspi/spi_text.c:
6610         * libspi/deviceeventcontroller.c:
6611                 Cleaned these sources up.
6612         * idl/Text.idl:
6613                 Changed return type for getCharacterAtOffset to
6614         CORBA_unsigned_long, to allow for 32-bit characters.
6615         
6616                 
6617 2001-10-08  Bill Haneman <bill.haneman@sun.com>
6618
6619         * util/Makefile.am:
6620         * idl/Makefile.am:
6621                 Fixed 'make dist' so that distro compiles...
6622         * libspi/keymasks.h:
6623                 new file.
6624         * cspi/spi-listener.c:
6625                 KeystrokeListenerCB now returns a boolean.
6626         * cspi/spi.h:
6627                 Added KeyEventType struct, and KeyStroke.
6628                 Also added createKeystrokeListener(),
6629         KeystrokeListener_addCallback(),
6630         KeystrokeListener_removeCallback(), and added a keymask to
6631         registerKeystrokeListener().
6632         * cspi/spi_accessible.c:
6633                 Changed numerous return types for interfaces from
6634         AccessibleComponent to Accessible<InterfaceName>; this was
6635         probably a cut-and-paste error.
6636         * cspi/spi_event.c:
6637                 Implementations of new KeystrokeListener api (from spi.h,
6638         above).
6639         * idl/Registry.idl:
6640                 Changes to key modifier mapping.
6641                 Created ControllerEventMask struct.
6642                 Made DeviceEventController derive from Bonobo::Unknown.
6643         * idl/Text.idl:
6644                 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
6645         * libspi/deviceeventcontroller.c:
6646                 Added a number of new internal (private) methods.
6647         * libspi/editabletext.c:
6648         * libspi/editabletext.h:
6649                 Fixed a number of bugs related to the fact that
6650         editabletext inherits from text.  Fixed the EditableText struct,
6651         the init() call, and use correct casts when calling Text methods
6652         from an EditableText object.  Removed (duplicate) atko from the
6653         EditableText structure, we use the one in the parent Text
6654         structure via the casts mentioned above.
6655         * libspi/keystrokelistener.[ch]:
6656         * libspi/registry.c:
6657                 Changes in support of keyboard handling (above).
6658         
6659         Keyboard handling, though partly functional, is still not
6660         recommended for at-spi client use as there is considerable 
6661         work yet to be done.
6662
6663         * libspi/text.c:
6664                 Changed some places where pointers to various int types
6665         are cast to be pointers to CORBA_long types and vice-versa:
6666         pointer casting is not safe so we pass pointers of the correct
6667         types and then cast the result before putting it into the target
6668         pointers.
6669
6670         * libspi/text.h: minor typos corrected.
6671         * test/simple-at.c: 
6672                 We now speak not only the name of a Text element, but the
6673         first sentence of its content, when it receives focus.
6674                 I also changed the text compression to 75% from 50%.
6675         * util/Accessibility_Util.server.in:
6676                 Changed the default magnifier type to be a 3x vertical
6677         splitscreen magnifier (was previously a 2x horizontal one).
6678
6679 2001-10-03  Bill Haneman <bill.haneman@sun.com>
6680
6681         * libspi/keystrokelistener.h:
6682         * libspi/keystrokelistener.c:
6683                 Initial functional implementations of KeystrokeListener.
6684         * idl/Registry.idl:
6685         
6686 2001-10-05  Marc Mulcahy <marc.mulcahy@sun.com>
6687
6688         Fixed string handling for NULL strings in libspi.
6689         Added spi_freeString to free strings returned by C bindings.
6690
6691 2001-09-30  Bill Haneman <bill.haneman@sun.com>
6692
6693         * libspi/keystrokelistener.h:
6694         * libspi/keystrokelistener.c:
6695                 Began (no-op) implementations of KeystrokeListener
6696                         (see below).
6697         * libspi/deviceeventcontroller.c:
6698         * libspi/deviceeventcontroller.h:
6699                 Began creating implementations of DeviceEventController,
6700                         to handle keystroke and mouse event listening and
6701                         synthesis.
6702         * libspi/accessible.c:
6703                 Stubbed-in the implementations for
6704                         Accessibility_Accessible_getState and
6705                         Accessibility_Accessible_getRelationSet.
6706         * libspi/registry.c:
6707                 Improved de-registration process and fixed some bugs, 
6708                         deregistration now works correctly.
6709         * libspi/desktop.c:
6710                 Added initialization of applications list (to NULL).
6711         * util/magnifier.c:
6712                 Reduced speech compression from 0.5 to 0.7, for demo.
6713                 Changed call to gdk_window_set_decorations()
6714                         to gtk_window_set_decorated().
6715         * at-bridge/bridge.c:
6716                 Bridge now deregisters when app exits, via
6717                         registration of a cleanup function
6718                         with the g_atexit() call.
6719                         Required making 'app' static, renamed 'this_app'.
6720                 Fixed broken use of bonobo_init, passing argv wrongly.
6721
6722 2001-09-27  Bill Haneman <bill.haneman@sun.com>
6723
6724         * util:
6725         * util/Makefile.am: 
6726                 Created a new directory for 
6727                         accessibility-related utilities, primarily for
6728                         testing and demo purposes, but with possible
6729                         end-user utility.
6730         
6731         * util/magnifier.c:
6732         * util/magnifier.h:
6733         * util/mag_image.c:
6734         * util/mag_image.h:
6735                 Onscreen magnifier utility that
6736                         is implemented as a bonobo service.
6737         
6738         * util/mag_client.c:
6739         * util/mag_client.h:
6740                 Client-side support (simple C bindings) 
6741                         for Magnification service
6742         
6743         * util/mag_control.c:
6744                 Client program example for 
6745                         Magnification service
6746         
6747         * util/Accessibility_Magnifier.server.in:
6748                 Bonobo-activation file for the 
6749                         Magnification service.
6750         
6751         * util/idl:
6752         * util/idl/Magnifier.idl:
6753                 IDL defining the bonobo Magnification
6754                         service interface.
6755
6756         * test/simple-at.c:
6757                 Modifications to use the bonobo-activated magnifier
6758                         above, in place of trying to connect to an existing
6759                         magnifier that uses socket-listening IPC.
6760
6761                 If env variable MAGNIFIER is set, a magnifier service
6762                         will be started if one does not exist.
6763         
6764 2001-09-25  Bill Haneman <bill.haneman@sun.com>
6765
6766         * at-bridge/bridge.c:
6767                 applied patch from Marc to build and run 
6768                 against new glib and gtk+ (seemed like a change 
6769                 to bonobo_init signature was made ?)
6770         * test/simple-at.c:
6771                 made festival-server support turned off by default.
6772                 Added support for a simple magnifier (off by default)
6773                 which will be added to a 'util' directory later.
6774         * at-bridge/Makefile.am:
6775                 Changed "application.h" header from a 'source'
6776                 to a 'dependency' of libat-bridge.
6777
6778 2001-09-12  Marc Mulcahy <marc.mulcahy@sun.com>
6779
6780         * cspi/Makefile.am:
6781                 Added spi-util.c.
6782
6783         * cspi/spi-util.c:
6784                 Fixed typo
6785
6786         * cspi/spi.c:
6787                 Added interface implementation c files to list of
6788                         includes so they are included in libcspi.
6789
6790         * cspi/spi.h:
6791                 Changed prototype of AccessibleAction_doAction to return a
6792                         boolean.
6793                 Changed prototype of AccessibleTable_getCaption to
6794                         return an Accessible.
6795                 Changed prototype of AccessibleTable_getSelectedRows
6796                         and AccessibleTable_getSelectedColumns to
6797                         return a long (returns the number of selected rows
6798                         or columns respectively).
6799                 Changed name of AccessibleText_refRunAttributes to
6800                         AccessibleText_getAttributes.
6801                 Changed prototype of AccessibleText_getCharacterExtents to
6802                         return a void rather than a boolean. 
6803                 Added support for a AccessibleCoordType parameter
6804                         specifying what type of coordinates are desired.
6805                 Added an AccessibleCordType parameter to
6806                         AccessibleText_getPointAtOffset.
6807
6808         * cspi/spi_accessible.c:
6809                 Added code to return the outstanding interfaces from
6810                         Accessible_queryInterface.
6811
6812         * cspi/spi_action.c:
6813                 Fixed typos.
6814                 Corrected call to getNActions to call the c binding
6815                         for an attribute.
6816
6817         * cspi/spi_editabletext.c:
6818                 Fixed typos.
6819                 Changed name from setRunAttributes to setAttributes.
6820
6821         * cspi/spi_hyperlink.c:
6822                 Fixed typos.
6823                 Changed call to getNAnchors to correctly call the c
6824                         binding for an attribute.
6825
6826         * cspi/spi_hypertext.c:
6827                 Fixed typos.
6828                 Changed getImageDescription to correctly call the
6829                         binding for an attribute.
6830
6831         * cspi/spi_selection.c:
6832                 Changed getNSelectedChildren to correctly call the c
6833                         binding for the attribute.
6834                 Changed refSelectedChild to getSelectedChild.
6835
6836         * cspi/spi_table.c:
6837                 Fixed typos.
6838                 Changed getCaption to return an Accessible.
6839                 Fixed calls which retrieve attributes.
6840                 Changed refAt to getAccessibleAt.
6841                 Changed getNSelectedRows and getNSelectedColumns to
6842                         return longs.
6843
6844         * cspi/spi_text.c:
6845                 Changed getCharacterExtents and getPointAtOffset to accept an
6846                         AccessibleCoordType.
6847                 Fixed typos.
6848                 Changed calls which retrieve attributes.
6849                 Changed refRunAttributes to getAttributes.
6850
6851         * cspi/spi_value.c:
6852                 Fixed typos.
6853
6854         * idl/Hyperlink.idl:
6855                 Changed n_anchors attribute to nAnchors to keep naming
6856                         convention consistent.
6857
6858         * idl/Table.idl:
6859                 Made Table inherit from Bonobo::Unknown.
6860                 Added nSelectedColumns and nSelectedRows attributes.
6861
6862         * idl/Value.idl:
6863                 Made Value inherit from Bonobo::Unknown.
6864
6865         * libspi/hyperlink.c:
6866                 Change for nAnchors attributte name change.
6867
6868 2001-09-12  Marc Mulcahy <marc.mulcahy@sun.com>
6869         * cspi/Makefile.am:
6870                 Added spi-util.c.
6871
6872         * cspi/spi-util.c:
6873                 Fixed typo
6874
6875         * cspi/spi.c:
6876                 Added interface implementation c files to list of
6877                         includes so they are included in libcspi.
6878
6879         * cspi/spi.h:
6880                 Changed prototype of AccessibleAction_doAction to return a
6881                         boolean.
6882                 Changed prototype of AccessibleTable_getCaption to
6883                         return an Accessible.
6884                 Changed prototype of AccessibleTable_getSelectedRows
6885                         and AccessibleTable_getSelectedColumns to
6886                         return a long (returns the number of selected rows
6887                         or columns respectively).
6888                 Changed name of AccessibleText_refRunAttributes to
6889                         AccessibleText_getAttributes.
6890                 Changed prototype of AccessibleText_getCharacterExtents to
6891                         return a void rather than a boolean. 
6892                 Added support for a AccessibleCoordType parameter
6893                         specifying what type of coordinates are desired.
6894                 Added an AccessibleCordType parameter to
6895                         AccessibleText_getPointAtOffset.
6896
6897         * cspi/spi_accessible.c:
6898                 Added code to return the outstanding interfaces from
6899                         Accessible_queryInterface.
6900
6901         * cspi/spi_action.c:
6902                 Fixed typos.
6903                 Corrected call to getNActions to call the c binding
6904                         for an attribute.
6905
6906         * cspi/spi_editabletext.c:
6907                 Fixed typos.
6908                 Changed name from setRunAttributes to setAttributes.
6909
6910         * cspi/spi_hyperlink.c:
6911                 Fixed typos.
6912                 Changed call to getNAnchors to correctly call the c
6913                         binding for an attribute.
6914
6915         * cspi/spi_hypertext.c:
6916                 Fixed typos.
6917                 Changed getImageDescription to correctly call the
6918                         binding for an attribute.
6919
6920         * cspi/spi_selection.c:
6921                 Changed getNSelectedChildren to correctly call the c
6922                         binding for the attribute.
6923                 Changed refSelectedChild to getSelectedChild.
6924
6925         * cspi/spi_table.c:
6926                 Fixed typos.
6927                 Changed getCaption to return an Accessible.
6928                 Fixed calls which retrieve attributes.
6929                 Changed refAt to getAccessibleAt.
6930                 Changed getNSelectedRows and getNSelectedColumns to
6931                         return longs.
6932
6933         * cspi/spi_text.c:
6934                 Changed getCharacterExtents and getPointAtOffset to accept an
6935                         AccessibleCoordType.
6936                 Fixed typos.
6937                 Changed calls which retrieve attributes.
6938                 Changed refRunAttributes to getAttributes.
6939
6940         * cspi/spi_value.c:
6941                 Fixed typos.
6942
6943         * idl/Hyperlink.idl:
6944                 Changed n_anchors attribute to nAnchors to keep naming
6945                         convention consistent.
6946
6947         * idl/Table.idl:
6948                 Made Table inherit from Bonobo::Unknown.
6949                 Added nSelectedColumns and nSelectedRows attributes.
6950
6951         * idl/Value.idl:
6952                 Made Value inherit from Bonobo::Unknown.
6953
6954         * libspi/hyperlink.c:
6955                 Change for nAnchors attributte name change.
6956
6957
6958 2001-09-05  Marc Mulcahy <marc.mulcahy@sun.com>
6959
6960         implementations-- made server implementations own AtkObject pointers
6961         rather than their respective AtkInterrface pointers to fix
6962         refcounting.  AtkHyperlink is still broken.
6963
6964 2001-09-04  Bill Haneman <bill.haneman@sun.com>
6965         * cspi/spi_accessible.c:
6966                 Added method Accessible_Role_getName(),
6967                         and requisite string array (role_names).
6968                 Added conversion string_from_corba_strin() call
6969                         to Accessible_getName and _getDescription.
6970         * libspi/accessible.c:
6971                 Added implementation for Accessible_getRole()
6972         * test/simple-at.c:
6973                 Added festival support, used if environment variable
6974                         FESTIVAL is set.
6975         
6976 2001-09-04  Bill Haneman <bill.haneman@sun.com>
6977
6978         * at-bridge/bridge.c:
6979             Now allocate Accessibility_Event using
6980             Accessibility_Event__alloc() instead of g_new0().
6981         * libspi/accessibleeventlistener.c:
6982             Initialize AccessibleEventListener->callbacks to NULL.
6983             Fixed accessible__event_listener_init() param, changed to
6984             "AccessibleEventListener *" type.
6985             Changed a bonobo_object_release_unref() call to
6986             Accessibility_Accessible_unref().
6987         * libspi/listener.c:
6988             Changed Bonobo_Unknown_unref to (equivalent) 
6989             Accessibility_Accessible_unref.
6990         * libspi/registry.c:
6991             Changed bonobo_object_release_unref to 
6992             Accessibility_Accessible_unref.
6993         
6994 2001-09-04  Marc Mulcahy <marc.mulcahy@sun.com>
6995         
6996         * Added files:
6997             spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
6998             spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
6999             spi-util.c spi-util.h
7000             Implementations for C bindings to remaining accessibility 
7001             interfaces.
7002
7003 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
7004         
7005         * idl/Action.idl:
7006             changed return value of Action from void to boolean to 
7007             bring in line with ATK.
7008
7009         * idl/Text.idl:
7010             Changed getText funcions to return "out" start and end offsets.
7011             Changed getAttributes to take and offset and return the start 
7012             and end offset of the attribute run.
7013             Changed getOffsetAtPoint and getCharacterExtents to take an 
7014              enum describing whether coordinates are window or screen.
7015
7016         * Added files:
7017             libspi/action.c libspi/action.h libspi/editabletext.c 
7018             libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
7019             libspi/hypertext.c libspi/hypertext.h libspi/image.c 
7020             libspi/image.h libspi/selection.c libspi/selection.h
7021             libspi/table.c libspi/table.h libspi/text.c libspi/text.h 
7022             libspi/value.c libspi/value.h
7023             Added server implementations for outstanding ATK interfaces 
7024             not yet implemented.
7025  
7026 2001-09-04  Bill Haneman <bill.haneman@sun.com>
7027
7028         * idl/Action.idl:
7029                 Added (missing) getName() method. 
7030                 Made nActions an attribute.
7031         * idl/EditableText.idl:
7032                 Changed order of params in setAttributes.
7033         * idl/Hyperlink.idl:
7034                 Removed getAnchor, added getURI.
7035         * idl/Image.idl:
7036                 Changed attributes to methods, for efficiency
7037                 (so that getting extents can be done in one call)
7038         * idl/Selection.idl:
7039                 Changed nSelectedChildren to attribute, and re-indented.
7040         * idl/Table.idl: changed nrows, ncolumns, caption, summary 
7041                 to attributes.
7042         * idl/Text.idl: reformatted to match our coding style.
7043                 (temporarily?) removed getRowColumnAtOffset().
7044                 Changed text selection API to support multi-select and
7045                 non-contiguous selections, as in ATK.
7046         * idl/Value.idl: changed some methods to attributes.
7047
7048 2001-08-24  Mark McLoughlin <mark@skynet.ie>
7049
7050         * libspi/listener.c(impl_notify_event):
7051         BonoboUnkown_unref the source instead
7052         of bonobo_object_release_unref - the ORB
7053         handles the releasing.
7054
7055         * configure.in: require ORBit-2.3.94 for
7056         this behaviour.
7057
7058 2001-08-21  Bill Haneman <bill.haneman@sun.com>
7059
7060         Tagged CVS repository 'EA_1_0'.
7061         * README.EARLY_ACCESS:
7062         Alphabetized acknowledgements list, and
7063         added someone.
7064         Listed some known dependencies of at-spi.
7065
7066 2001-08-20  Bill Haneman <bill.haneman@sun.com>
7067
7068         * docs/at-spi-docs.sgml:
7069         * docs/at-spi-sections.txt:
7070         * docs/at-spi-overrides.txt: (Added zero-length file)
7071         Documentation improvements - gtk-doc should build
7072         docs for all implemented C bindings now.
7073         * cspi/Makefile.am:
7074         * cspi/spi_main.c:
7075         * cspi/spi.c: (New file)
7076         * cspi/spi_event.c: (New file)
7077         * cspi/spi_registry.c: (New file)
7078         * cspi/spi_accessible.c: (New file)
7079         * cspi/spi_application.c: (New file)
7080         * cspi/spi_component.c: (New file)
7081         Split spi_main.c into six parts, and included them from
7082         "spi.c".  This is a bit of a hack, probably temporary,
7083         but required by gtk-doc, apparently.
7084         
7085 2001-08-20  Bill Haneman <bill.haneman@sun.com>
7086
7087         * docs/Makefile.am:
7088         * docs/at-spi-docs.sgml:
7089         * docs/at-spi-sections.txt:
7090         * configure.in:
7091         Initial checkins/modifications for gtk-doc generation.
7092         * cspi/spi.h:
7093         * cspi/spi.c:
7094         Added (missing) interface query methods to Accessible's C binding.
7095         * cspi/spi-impl.h:
7096         Added GenericInterface type definition.
7097         * test/simple-at.c:
7098         Added query for AccessibleComponent interface to focus event handler.
7099         Added printout of bounding box for focussed component.
7100         * libspi/component.c:
7101         Added partial implementation for AccessibleComponent to C binding.
7102         * idl/Application.idl:
7103         * libspi/registry.c:
7104         * libspi/listener.c:
7105         * libspi/application.c:
7106         * libspi/application.h:
7107         Changed "ID" attribute type from string to long.
7108
7109 2001-08-19  Bill Haneman <bill.haneman@sun.com>
7110
7111         * cspi/spi.h:
7112         * cspi/spi.c:
7113         Made method naming consistent: methods taking object args
7114         start with uppercase, other methods (except those using
7115         acronyms) start with lowercase.  Underscores delimit between
7116         object names and method names:
7117         SPI_init() - uppercase since it starts with an acronym.
7118         getDesktopCount () - lowercase start since no object param0.
7119         Accessible_getName() - uppercase object type name, studlyCaps method
7120                                name.
7121
7122         * cspi/spi.h:
7123         Added gtk-doc documentation for all currently implemented
7124         methods in the C bindings API.
7125
7126 2001-08-18  Bill Haneman <bill.haneman@sun.com>
7127
7128         * Makefile.am : changed build order to build test last.
7129         * cspi/spi.h :
7130         * cspi/spi_main.c :
7131         Changed "createEventListener" to "CreateEventListener".
7132         * libspi/accessibleeventlistener.c :
7133         Bugfix for addition of callbacks.
7134         * test/Makefile.am :
7135         * test/simple-at.c :
7136         Added new test that uses the C bindings API.
7137         * idl/Event.idl :
7138         * libspi/listener.c :
7139         * libspi/registry.c :
7140         * libspi/accessibleeventlistener.c :
7141         * at-bridge/bridge.c :
7142         Renamed member "target" of Accessibility_Event to "source",
7143         which is more descriptive.
7144         
7145
7146 2001-08-18  Bill Haneman <bill.haneman@sun.com>
7147
7148         * Makefile.am: 
7149         * configure.in :
7150         * cspi/Makefile.am :
7151         Added makefile support for at-spi/cspi directory.
7152         * cspi/spi.h : 
7153         * cspi/spi-impl.h :
7154         * cspi/spi-listener.h : (NEW FILE)
7155         Added support for/use of spi-listener.h.
7156         * cspi/spi_main.c :
7157         C bindings now build successfully, with no warnings.
7158         * libspi/accessibleeventlistener.h : (NEW FILE)
7159         * libspi/accessibleeventlistener.c : (NEW FILE)
7160         * libspi/Makefile.am :
7161         Added new object type "AccessibleEventListener"
7162         which inherits from Listener, and allows attachment
7163         of in-process callbacks (so that a client with a listening
7164         object instance can add functionality to the local 
7165         implementation, dynamically).
7166
7167 2001-08-18  Bill Haneman <bill.haneman@sun.com>
7168
7169         * libspi/accessible.c: 
7170         Add implementation for get_index_in_parent().
7171         * cspi/spi.h : 
7172         Added #include of "spi-roletypes.h", and
7173         added enumerated type AccessibleCoordType.
7174         Added definition for KeystrokeListener (function type).
7175
7176         ADDED FILES:
7177         * cspi/spi-statetypes.h :
7178         * cspi/spi-roletypes.h :
7179         * cspi/spi-impl.h :
7180         Added these headers, used by spi.h.
7181         * cspi/spi_main.c : 
7182         Added code (NOTE: not yet built by make).
7183
7184 2001-08-18  Mark McLoughlin <mark@skynet.ie>
7185
7186         * libspi/Makefile.am: generate imodule
7187         at the same time as other idl compiler 
7188         generated files. 
7189
7190 2001-08-17  Bill Haneman <bill.haneman@sun.com>
7191         * libspi/registry.c :
7192         * libspi/application.c :
7193         * idl/Application.idl :
7194         Made registration with toolkit an application method,
7195         which is required since each app has its own toolkit static
7196         environment.  Thus the bridge must register for 
7197         notification of toolkit events from each application in turn.
7198         Toolkit notifications are now successfully registered for, and
7199         sent to the listening at client.
7200         * test/at.c :
7201         Changed toolkit event string to use hyphens rather than underscores.
7202         * libspi/listener.c :
7203         listner now gives more info in debug mode - it reports the
7204         name of the event received, as well as the name of the source.
7205         
7206
7207 2001-08-16  Bill Haneman <bill.haneman@sun.com>
7208
7209         * libspi/registry.c :
7210         added more implementation for toolkit events.
7211         Fixed bug such that toolkit event registrations
7212         (via atk) use the whole event name string, not 
7213         just minor+detail.
7214         Removed a useless call to an ORBit_ method.
7215         * at-bridge/bridge.c :
7216         Removed unused local sbuf[] variable.
7217         * test/at.c :
7218         We now register for Gtk:GtkWidget:button_press_event 
7219         events as well as "focus:" events.
7220         * cspi/spi.h :
7221         Add some more API from Registry.idl that was missing,
7222         for keystroke listening, keystroke and mouse event
7223         synthesis, and enumeration of accessible desktops.
7224
7225 2001-08-16  Michael Meeks  <michael@ximian.com>
7226
7227         * configure.in: use AM_GLIB_GNU_GETTEXT.
7228
7229         * Makefile.am (SUBDIRS): kill intl.
7230
7231 2001-08-15  Michael Meeks  <michael@ximian.com>
7232
7233         * registryd/Makefile.am: s/oaf/server/ relocate info file.
7234
7235         * configure.in: upd.
7236
7237         * configure.in: depend on a recent bonobo-activation that
7238         will find our server files ...
7239
7240 2001-08-16  Bill Haneman <bill.haneman@sun.com>
7241
7242         * libspi/accessible.c : accessible_new() :
7243         Now we add the Component interface via bonobo_object_add_interface,
7244         if the contained AtkObject implements AtkComponent.
7245         * libspi/accessible.h : now include "component.h"
7246         * libspi/component.h :
7247         * libspi/component.c : added files - implementation of
7248         bonobo wrapper object for Accessibility/Component
7249         * libspi/listener.c :
7250         Added test code to check for Accessibility/Component:1.0
7251         interface and report whether it is implemented by the
7252         event source.
7253         * libspi/registry.c :
7254         Now we check for not only the hash of the whole event 
7255         string before relaying the event, we also check the
7256         "minor" event string (without the detail string).
7257         This allows event listeners to be registered against
7258         all events of a certain major+minor type, or just
7259         against a specific major+minor+detail type.
7260         * libspi/accessible.c :
7261         Added implementations for Accessible:get_parent(),
7262         Accessible:getChildCount(), and Accessible:getChildAtIndex().
7263         * libspi/registry.c :
7264         * libspi/listener.c :
7265         Replaced calls to Accessibility_Accessible_ref() and
7266         Accessibility_Accessible_unref() with 
7267         calls to bonobo_object_dup_ref() and 
7268         bonobo_object_release_unref(), so that the CORBA object
7269         is dup-ed and released when relayed, as well as the bonobo object.
7270
7271 2001-08-15  Mark McLoughlin <mark@skynet.ie>
7272
7273         * libspi/Makefile.am,
7274           registryd/Makefile.am,
7275           at-bridge/Makefile.am.
7276           test/Makefile.am, configure.in:
7277         reverse previous changes.
7278
7279         * /idl/Image.idl: fix typo.
7280
7281         * test/Makefile.am: put DEBUG_FLAGS
7282         in CFLAGS.
7283
7284 2001-08-15  Mark McLoughlin <mark@skynet.ie>
7285
7286         * test/app.c: use argv[0] instead of
7287         g_type_prgname.
7288
7289 2001-08-15  Mark McLoughlin <mark@skynet.ie>
7290
7291         * libspi/Makefile.am,
7292           registryd/Makefile.am,
7293           at-bridge/Makefile.am.
7294           test/Makefile.am, configure.in:
7295         cleanup, replace individual LIBS/CFLAGS with
7296         AT_COMMON_{LIBS|CFLAGS}.
7297
7298         * README: format.
7299
7300 2001-08-15  Mark McLoughlin <mark@skynet.ie>
7301         
7302         * configure.in, libspi/Makefile.am:
7303         Change IDL path checking for bonobo-activation
7304         as opposed to oaf.
7305
7306 2001-08-15  Bill Haneman <bill.haneman@sun.com>
7307
7308         * registryd/registry.c : separated event listeners to use
7309         3 separate lists (focus, window, toolkit).  Began testing
7310         event names against hashes before relaying events.
7311         * test/at.c : now register for events of type "focus:"
7312         * test/app.c : now generate events of type "focus:"
7313         * at-bridge/bridge.c : register with ATK for focus events,
7314         and we now relay those focus events to any "focus:" listeners.
7315         This now works with the bridge as a GTK_MODULE when running test/at.
7316         * libspi/registry.c :
7317         * libspi/listener.c : 
7318         now we ref event sources before propagating, and unref on receipt.
7319         * libspi/registry.c : 
7320         some changes to internal structs, to support event typestring hashes.
7321         * text/app.c : changed the way the appname is generated.
7322         * cspi : added directory that will hold the C bindings library for 
7323                 non-CORBA/bonobo-savvy clients.
7324         * cspi/spi.h : header file that contains the function prototypes for the C binding.
7325         * idl/Component.idl : added in parameter to indicate coord system for
7326                 geometry-related calls.
7327         * idl/Hyperlink.idl : added readonly n_links attribute
7328         * idl/Image.idl : changed methods to attributes.
7329         
7330 2001-08-15  Mark McLoughlin <mark@skynet.ie>
7331
7332         * at-bridge/Makefile.am: link against
7333         ../libspi/libspi.la instead of -lspi.
7334
7335         * at-spi/test/app.c: include 
7336         bonobo-activation.h. Use a default appname
7337         if one is not provided.
7338
7339 2001-08-14  Bill Haneman <bill.haneman@sun.com>
7340
7341         * idl/Registry.idl : temporarily changed register_Application
7342         to oneway, to work around issue with initial registration 
7343         re-entrancy.
7344         * idl/Application.idl : changed attribute "id" from readonly 
7345         to read-write, since it needs to be assigned by Registry.
7346         * registryd/registryd.c : added call to set application id 
7347         on registration.
7348         * registryd/registry.c : changed de-registration procedure to
7349         use CORBA_Object_hash() to find matching object ref in application
7350         lists and listener lists.
7351         * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
7352         began distinguishing between event types (work in progress).
7353
7354 2001-08-13  Bill Haneman <bill.haneman@sun.com>
7355
7356         CHANGES:
7357         * libspi/application.c:
7358         Added implementations for get/set id, get_toolkitName,
7359         get_version.
7360         * registryd/registryd.c :
7361         * test/at.c :
7362         * test/app.c :
7363         * Makefile.am :
7364         Converted from use of OAF to bonobo-activation.
7365         * libspi/desktop.h :
7366         * libspi/desktop.c :
7367         * test/app.c :
7368         Removed references to atksimpleobject, since base atkobject
7369         implementation now provides functionality we need.
7370         * libspi/atksimpleobject.c :
7371         * libspi/atksimpleobject.h :
7372         Removed.
7373         
7374         ADDITIONS:
7375         * at-bridge
7376         * at-bridge/Makefile.am
7377         * at-bridge/bridge.c
7378         * configure.in
7379         * Makefile.am
7380         Added directory "bridge" and contents, and added dependencies
7381         in Makefile.am/configure.in.  
7382         Initial checkin of "at-bridge".
7383         This code is a GTK_MODULE which automatically registers
7384         GTK+ apps with the accessibility registry, using an object
7385         reference to the root ATK object.
7386         
7387 2001-08-10  Mark McLoughlin <mark@skynet.ie>
7388
7389         * po/Makefile.in.in: Remove. Again. If this
7390         doesn't get autogenerated - you need to update
7391         gnome-common.
7392
7393 2001-08-07  Mark McLoughlin <mark@skynet.ie>
7394
7395         * po/Makefile.in.in: Add. Again.
7396
7397 2001-07-31  Bill Haneman <bill.haneman@sun.com>
7398
7399         * libspi/accessible.c : added support for 'description' property.
7400         * libspi/accessible.c
7401         * libspi/desktop.c
7402         * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
7403             (since the two are now equivalent in libbonobo)
7404         * idl/Action.idl
7405         * idl/Component.idl
7406         * idl/Hyperlink.idl
7407         * idl/Image.idl
7408         * idl/Selection.idl
7409         * idl/Table.idl
7410         * idl/Text.idl
7411         * idl/Value.idl : changed these 'secondary' interfaces to inherit from
7412              Bonobo::Unknown as does Accessibility::Accessible.
7413         * idl/StreamableContent.idl : as above, and replaced internal InputStream
7414              interface with Bonobo::Stream, since it was redundant with it.
7415              (The Stream returned by a StreamableContext object is expected to
7416              implement only a subset of Bonobo::Stream)
7417
7418 2001-07-28  Anders Carlsson  <andersca@gnome.org>
7419
7420         * libspi/accessible.c (accessible_object_finalize): Change
7421           g_free to g_object_unref since the AtkObject is a GObject.
7422
7423 2001-07-30  Bill Haneman <bill.haneman@sun.com>
7424
7425         * idl/Accessibility.idl: add new IDL files
7426         
7427         Added:
7428         * idl/Action.idl: Definitions of actionable UI object
7429         * idl/Component.idl: Definitions of UI component geometry, etc.
7430         * idl/Hyperlink.idl: Defs of hyperlink behavior
7431         * idl/Image.idl: Def of accessible image
7432         * idl/Selection.idl: Definition of UI object with selectable children
7433         * idl/StreamableContent.idl: Definition of UI object with streamable backing data
7434         * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
7435         * idl/Text.idl: Interface defs for UI elements with complex textual content
7436         * idl/Value.idl: Definition of UI element that is a value controller or display
7437         
7438 2001-07-27  Michael Meeks  <michael@ximian.com>
7439
7440         * po/Makefile.in.in: remove autogenerated file from CVS.
7441
7442         * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
7443         type library.
7444
7445         * idl/Registry.idl: include guard.
7446
7447         * idl/Accessibility.idl: Add, and include all the other IDL
7448         files.
7449
7450         * idl/*.idl: remove mass of pragmas etc.
7451
7452 2001-07-26  Michael Meeks  <michael@ximian.com>
7453
7454         * registryd/Makefile.am (registryd_SOURCES): remove
7455         redundant at_.
7456
7457 2001-07-27  Mark McLoughlin <mark@skynet.ie>
7458
7459         * libspi/.cvsignore, registryd/.cvsignore,
7460           test/.cvsignore: updated.
7461
7462         * po/Makefile.in.in: gettext update.
7463
7464 2001-07-25  Bill Haneman <bill.haneman@sun.com>
7465
7466         * initial CVS checkin
7467
7468 2001-06-29  Michael Meeks  <michael@ximian.com>
7469
7470         * configure.in: add AM_CONFIG_HEADER to gen config.h
7471
7472         * acconfig.h: add.
7473