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