Fixes to unref behavior (changed some bonobo_object_release_unref()
[platform/core/uifw/at-spi2-atk.git] / ChangeLog
1 2001-09-04  Bill Haneman <bill.haneman@sun.com>
2
3         * at-bridge/bridge.c:
4             Now allocate Accessibility_Event using
5             Accessibility_Event__alloc() instead of g_new0().
6         * libspi/accessibleeventlistener.c:
7             Fixed accessible__event_listener_init() param, changed to
8             "AccessibleEventListener *" type.
9             Changed a bonobo_object_release_unref() call to
10             Accessibility_Accessible_unref().
11         * libspi/listener.c:
12             Changed Bonobo_Unknown_unref to (equivalent) 
13             Accessibility_Accessible_unref.
14         * libspi/registry.c:
15             Changed bonobo_object_release_unref to 
16             Accessibility_Accessible_unref.
17         
18 <2001-09-04  Marc Mulcahy <marc.mulcahy@sun.com>
19         
20         * Added files:
21             spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
22             spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
23             spi-util.c spi-util.h
24             Implementations for C bindings to remaining accessibility 
25             interfaces.
26
27 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
28         
29         * idl/Action.idl:
30             changed return value of Action from void to boolean to 
31             bring in line with ATK.
32
33         * idl/Text.idl:
34             Changed getText funcions to return "out" start and end offsets.
35             Changed getAttributes to take and offset and return the start 
36             and end offset of the attribute run.
37             Changed getOffsetAtPoint and getCharacterExtents to take an 
38              enum describing whether coordinates are window or screen.
39
40         * Added files:
41             libspi/action.c libspi/action.h libspi/editabletext.c 
42             libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
43             libspi/hypertext.c libspi/hypertext.h libspi/image.c 
44             libspi/image.h libspi/selection.c libspi/selection.h
45             libspi/table.c libspi/table.h libspi/text.c libspi/text.h 
46             libspi/value.c libspi/value.h
47             Added server implementations for outstanding ATK interfaces 
48             not yet implemented.
49  
50 2001-09-04  Bill Haneman <bill.haneman@sun.com>
51
52         * idl/Action.idl:
53                 Added (missing) getName() method. 
54                 Made nActions an attribute.
55         * idl/EditableText.idl:
56                 Changed order of params in setAttributes.
57         * idl/Hyperlink.idl:
58                 Removed getAnchor, added getURI.
59         * idl/Image.idl:
60                 Changed attributes to methods, for efficiency
61                 (so that getting extents can be done in one call)
62         * idl/Selection.idl:
63                 Changed nSelectedChildren to attribute, and re-indented.
64         * idl/Table.idl: changed nrows, ncolumns, caption, summary 
65                 to attributes.
66         * idl/Text.idl: reformatted to match our coding style.
67                 (temporarily?) removed getRowColumnAtOffset().
68                 Changed text selection API to support multi-select and
69                 non-contiguous selections, as in ATK.
70         * idl/Value.idl: changed some methods to attributes.
71
72 2001-08-24  Mark McLoughlin <mark@skynet.ie>
73
74         * libspi/listener.c(impl_notify_event):
75         BonoboUnkown_unref the source instead
76         of bonobo_object_release_unref - the ORB
77         handles the releasing.
78
79         * configure.in: require ORBit-2.3.94 for
80         this behaviour.
81
82 2001-08-21  Bill Haneman <bill.haneman@sun.com>
83
84         Tagged CVS repository 'EA_1_0'.
85         * README.EARLY_ACCESS:
86         Alphabetized acknowledgements list, and
87         added someone.
88         Listed some known dependencies of at-spi.
89
90 2001-08-20  Bill Haneman <bill.haneman@sun.com>
91
92         * docs/at-spi-docs.sgml:
93         * docs/at-spi-sections.txt:
94         * docs/at-spi-overrides.txt: (Added zero-length file)
95         Documentation improvements - gtk-doc should build
96         docs for all implemented C bindings now.
97         * cspi/Makefile.am:
98         * cspi/spi_main.c:
99         * cspi/spi.c: (New file)
100         * cspi/spi_event.c: (New file)
101         * cspi/spi_registry.c: (New file)
102         * cspi/spi_accessible.c: (New file)
103         * cspi/spi_application.c: (New file)
104         * cspi/spi_component.c: (New file)
105         Split spi_main.c into six parts, and included them from
106         "spi.c".  This is a bit of a hack, probably temporary,
107         but required by gtk-doc, apparently.
108         
109 2001-08-20  Bill Haneman <bill.haneman@sun.com>
110
111         * docs/Makefile.am:
112         * docs/at-spi-docs.sgml:
113         * docs/at-spi-sections.txt:
114         * configure.in:
115         Initial checkins/modifications for gtk-doc generation.
116         * cspi/spi.h:
117         * cspi/spi.c:
118         Added (missing) interface query methods to Accessible's C binding.
119         * cspi/spi-impl.h:
120         Added GenericInterface type definition.
121         * test/simple-at.c:
122         Added query for AccessibleComponent interface to focus event handler.
123         Added printout of bounding box for focussed component.
124         * libspi/component.c:
125         Added partial implementation for AccessibleComponent to C binding.
126         * idl/Application.idl:
127         * libspi/registry.c:
128         * libspi/listener.c:
129         * libspi/application.c:
130         * libspi/application.h:
131         Changed "ID" attribute type from string to long.
132
133 2001-08-19  Bill Haneman <bill.haneman@sun.com>
134
135         * cspi/spi.h:
136         * cspi/spi.c:
137         Made method naming consistent: methods taking object args
138         start with uppercase, other methods (except those using
139         acronyms) start with lowercase.  Underscores delimit between
140         object names and method names:
141         SPI_init() - uppercase since it starts with an acronym.
142         getDesktopCount () - lowercase start since no object param0.
143         Accessible_getName() - uppercase object type name, studlyCaps method
144                                name.
145
146         *cspi/spi.h:
147         Added gtk-doc documentation for all currently implemented
148         methods in the C bindings API.
149
150 2001-08-18  Bill Haneman <bill.haneman@sun.com>
151
152         * Makefile.am : changed build order to build test last.
153         * cspi/spi.h :
154         * cspi/spi_main.c :
155         Changed "createEventListener" to "CreateEventListener".
156         * libspi/accessibleeventlistener.c :
157         Bugfix for addition of callbacks.
158         * test/Makefile.am :
159         * test/simple-at.c :
160         Added new test that uses the C bindings API.
161         * idl/Event.idl :
162         * libspi/listener.c :
163         * libspi/registry.c :
164         * libspi/accessibleeventlistener.c :
165         * at-bridge/bridge.c :
166         Renamed member "target" of Accessibility_Event to "source",
167         which is more descriptive.
168         
169
170 2001-08-18  Bill Haneman <bill.haneman@sun.com>
171
172         * Makefile.am: 
173         * configure.in :
174         * cspi/Makefile.am :
175         Added makefile support for at-spi/cspi directory.
176         * cspi/spi.h : 
177         * cspi/spi-impl.h :
178         * cspi/spi-listener.h : (NEW FILE)
179         Added support for/use of spi-listener.h.
180         * cspi/spi_main.c :
181         C bindings now build successfully, with no warnings.
182         * libspi/accessibleeventlistener.h : (NEW FILE)
183         * libspi/accessibleeventlistener.c : (NEW FILE)
184         * libspi/Makefile.am :
185         Added new object type "AccessibleEventListener"
186         which inherits from Listener, and allows attachment
187         of in-process callbacks (so that a client with a listening
188         object instance can add functionality to the local 
189         implementation, dynamically).
190
191 2001-08-18  Bill Haneman <bill.haneman@sun.com>
192
193         * libspi/accessible.c: 
194         Add implementation for get_index_in_parent().
195         * cspi/spi.h : 
196         Added #include of "spi-roletypes.h", and
197         added enumerated type AccessibleCoordType.
198         Added definition for KeystrokeListener (function type).
199
200         ADDED FILES:
201         * cspi/spi-statetypes.h :
202         * cspi/spi-roletypes.h :
203         * cspi/spi-impl.h :
204         Added these headers, used by spi.h.
205         * cspi/spi_main.c : 
206         Added code (NOTE: not yet built by make).
207
208 2001-08-18  Mark McLoughlin <mark@skynet.ie>
209
210         * libspi/Makefile.am: generate imodule
211         at the same time as other idl compiler 
212         generated files. 
213
214 2001-08-17  Bill Haneman <bill.haneman@sun.com>
215         * libspi/registry.c :
216         * libspi/application.c :
217         * idl/Application.idl :
218         Made registration with toolkit an application method,
219         which is required since each app has its own toolkit static
220         environment.  Thus the bridge must register for 
221         notification of toolkit events from each application in turn.
222         Toolkit notifications are now successfully registered for, and
223         sent to the listening at client.
224         * test/at.c :
225         Changed toolkit event string to use hyphens rather than underscores.
226         * libspi/listener.c :
227         listner now gives more info in debug mode - it reports the
228         name of the event received, as well as the name of the source.
229         
230
231 2001-08-16  Bill Haneman <bill.haneman@sun.com>
232
233         * libspi/registry.c :
234         added more implementation for toolkit events.
235         Fixed bug such that toolkit event registrations
236         (via atk) use the whole event name string, not 
237         just minor+detail.
238         Removed a useless call to an ORBit_ method.
239         * at-bridge/bridge.c :
240         Removed unused local sbuf[] variable.
241         * test/at.c :
242         We now register for Gtk:GtkWidget:button_press_event 
243         events as well as "focus:" events.
244         * cspi/spi.h :
245         Add some more API from Registry.idl that was missing,
246         for keystroke listening, keystroke and mouse event
247         synthesis, and enumeration of accessible desktops.
248
249 2001-08-16  Michael Meeks  <michael@ximian.com>
250
251         * configure.in: use AM_GLIB_GNU_GETTEXT.
252
253         * Makefile.am (SUBDIRS): kill intl.
254
255 2001-08-15  Michael Meeks  <michael@ximian.com>
256
257         * registryd/Makefile.am: s/oaf/server/ relocate info file.
258
259         * configure.in: upd.
260
261         * configure.in: depend on a recent bonobo-activation that
262         will find our server files ...
263
264 2001-08-16  Bill Haneman <bill.haneman@sun.com>
265
266         * libspi/accessible.c : accessible_new() :
267         Now we add the Component interface via bonobo_object_add_interface,
268         if the contained AtkObject implements AtkComponent.
269         * libspi/accessible.h : now include "component.h"
270         * libspi/component.h :
271         * libspi/component.c : added files - implementation of
272         bonobo wrapper object for Accessibility/Component
273         * libspi/listener.c :
274         Added test code to check for Accessibility/Component:1.0
275         interface and report whether it is implemented by the
276         event source.
277         * libspi/registry.c :
278         Now we check for not only the hash of the whole event 
279         string before relaying the event, we also check the
280         "minor" event string (without the detail string).
281         This allows event listeners to be registered against
282         all events of a certain major+minor type, or just
283         against a specific major+minor+detail type.
284         * libspi/accessible.c :
285         Added implementations for Accessible:get_parent(),
286         Accessible:getChildCount(), and Accessible:getChildAtIndex().
287         * libspi/registry.c :
288         * libspi/listener.c :
289         Replaced calls to Accessibility_Accessible_ref() and
290         Accessibility_Accessible_unref() with 
291         calls to bonobo_object_dup_ref() and 
292         bonobo_object_release_unref(), so that the CORBA object
293         is dup-ed and released when relayed, as well as the bonobo object.
294
295 2001-08-15  Mark McLoughlin <mark@skynet.ie>
296
297         * libspi/Makefile.am,
298           registryd/Makefile.am,
299           at-bridge/Makefile.am.
300           test/Makefile.am, configure.in:
301         reverse previous changes.
302
303         * /idl/Image.idl: fix typo.
304
305         * test/Makefile.am: put DEBUG_FLAGS
306         in CFLAGS.
307
308 2001-08-15  Mark McLoughlin <mark@skynet.ie>
309
310         * test/app.c: use argv[0] instead of
311         g_type_prgname.
312
313 2001-08-15  Mark McLoughlin <mark@skynet.ie>
314
315         * libspi/Makefile.am,
316           registryd/Makefile.am,
317           at-bridge/Makefile.am.
318           test/Makefile.am, configure.in:
319         cleanup, replace individual LIBS/CFLAGS with
320         AT_COMMON_{LIBS|CFLAGS}.
321
322         * README: format.
323
324 2001-08-15  Mark McLoughlin <mark@skynet.ie>
325         
326         * configure.in, libspi/Makefile.am:
327         Change IDL path checking for bonobo-activation
328         as opposed to oaf.
329
330 2001-08-15  Bill Haneman <bill.haneman@sun.com>
331
332         * registryd/registry.c : separated event listeners to use
333         3 separate lists (focus, window, toolkit).  Began testing
334         event names against hashes before relaying events.
335         * test/at.c : now register for events of type "focus:"
336         * test/app.c : now generate events of type "focus:"
337         * at-bridge/bridge.c : register with ATK for focus events,
338         and we now relay those focus events to any "focus:" listeners.
339         This now works with the bridge as a GTK_MODULE when running test/at.
340         * libspi/registry.c :
341         * libspi/listener.c : 
342         now we ref event sources before propagating, and unref on receipt.
343         * libspi/registry.c : 
344         some changes to internal structs, to support event typestring hashes.
345         * text/app.c : changed the way the appname is generated.
346         * cspi : added directory that will hold the C bindings library for 
347                 non-CORBA/bonobo-savvy clients.
348         * cspi/spi.h : header file that contains the function prototypes for the C binding.
349         * idl/Component.idl : added in parameter to indicate coord system for
350                 geometry-related calls.
351         * idl/Hyperlink.idl : added readonly n_links attribute
352         * idl/Image.idl : changed methods to attributes.
353         
354 2001-08-15  Mark McLoughlin <mark@skynet.ie>
355
356         * at-bridge/Makefile.am: link against
357         ../libspi/libspi.la instead of -lspi.
358
359         * at-spi/test/app.c: include 
360         bonobo-activation.h. Use a default appname
361         if one is not provided.
362
363 2001-08-14  Bill Haneman <bill.haneman@sun.com>
364
365         * idl/Registry.idl : temporarily changed register_Application
366         to oneway, to work around issue with initial registration 
367         re-entrancy.
368         * idl/Application.idl : changed attribute "id" from readonly 
369         to read-write, since it needs to be assigned by Registry.
370         * registryd/registryd.c : added call to set application id 
371         on registration.
372         * registryd/registry.c : changed de-registration procedure to
373         use CORBA_Object_hash() to find matching object ref in application
374         lists and listener lists.
375         * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
376         began distinguishing between event types (work in progress).
377
378 2001-08-13  Bill Haneman <bill.haneman@sun.com>
379
380         CHANGES:
381         * libspi/application.c:
382         Added implementations for get/set id, get_toolkitName,
383         get_version.
384         * registryd/registryd.c :
385         * test/at.c :
386         * test/app.c :
387         * Makefile.am :
388         Converted from use of OAF to bonobo-activation.
389         * libspi/desktop.h :
390         * libspi/desktop.c :
391         * test/app.c :
392         Removed references to atksimpleobject, since base atkobject
393         implementation now provides functionality we need.
394         * libspi/atksimpleobject.c :
395         * libspi/atksimpleobject.h :
396         Removed.
397         
398         ADDITIONS:
399         * at-bridge
400         * at-bridge/Makefile.am
401         * at-bridge/bridge.c
402         * configure.in
403         * Makefile.am
404         Added directory "bridge" and contents, and added dependencies
405         in Makefile.am/configure.in.  
406         Initial checkin of "at-bridge".
407         This code is a GTK_MODULE which automatically registers
408         GTK+ apps with the accessibility registry, using an object
409         reference to the root ATK object.
410         
411 2001-08-10  Mark McLoughlin <mark@skynet.ie>
412
413         * po/Makefile.in.in: Remove. Again. If this
414         doesn't get autogenerated - you need to update
415         gnome-common.
416
417 2001-08-07  Mark McLoughlin <mark@skynet.ie>
418
419         * po/Makefile.in.in: Add. Again.
420
421 2001-07-31  Bill Haneman <bill.haneman@sun.com>
422
423         * libspi/accessible.c : added support for 'description' property.
424         * libspi/accessible.c
425         * libspi/desktop.c
426         * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
427             (since the two are now equivalent in libbonobo)
428         * idl/Action.idl
429         * idl/Component.idl
430         * idl/Hyperlink.idl
431         * idl/Image.idl
432         * idl/Selection.idl
433         * idl/Table.idl
434         * idl/Text.idl
435         * idl/Value.idl : changed these 'secondary' interfaces to inherit from
436              Bonobo::Unknown as does Accessibility::Accessible.
437         * idl/StreamableContent.idl : as above, and replaced internal InputStream
438              interface with Bonobo::Stream, since it was redundant with it.
439              (The Stream returned by a StreamableContext object is expected to
440              implement only a subset of Bonobo::Stream)
441
442 2001-07-28  Anders Carlsson  <andersca@gnome.org>
443
444         * libspi/accessible.c (accessible_object_finalize): Change
445           g_free to g_object_unref since the AtkObject is a GObject.
446
447 2001-07-30  Bill Haneman <bill.haneman@sun.com>
448
449         * idl/Accessibility.idl: add new IDL files
450         
451         Added:
452         * idl/Action.idl: Definitions of actionable UI object
453         * idl/Component.idl: Definitions of UI component geometry, etc.
454         * idl/Hyperlink.idl: Defs of hyperlink behavior
455         * idl/Image.idl: Def of accessible image
456         * idl/Selection.idl: Definition of UI object with selectable children
457         * idl/StreamableContent.idl: Definition of UI object with streamable backing data
458         * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
459         * idl/Text.idl: Interface defs for UI elements with complex textual content
460         * idl/Value.idl: Definition of UI element that is a value controller or display
461         
462 2001-07-27  Michael Meeks  <michael@ximian.com>
463
464         * po/Makefile.in.in: remove autogenerated file from CVS.
465
466         * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
467         type library.
468
469         * idl/Registry.idl: include guard.
470
471         * idl/Accessibility.idl: Add, and include all the other IDL
472         files.
473
474         * idl/*.idl: remove mass of pragmas etc.
475
476 2001-07-26  Michael Meeks  <michael@ximian.com>
477
478         * registryd/Makefile.am (registryd_SOURCES): remove
479         redundant at_.
480
481 2001-07-27  Mark McLoughlin <mark@skynet.ie>
482
483         * libspi/.cvsignore, registryd/.cvsignore,
484           test/.cvsignore: updated.
485
486         * po/Makefile.in.in: gettext update.
487
488 2001-07-25  Bill Haneman <bill.haneman@sun.com>
489
490         * initial CVS checkin
491
492 2001-06-29  Michael Meeks  <michael@ximian.com>
493
494         * configure.in: add AM_CONFIG_HEADER to gen config.h
495
496         * acconfig.h: add.
497