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