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