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