File: NEWS

package info (click to toggle)
g-wrap 1.9.15-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 3,344 kB
  • sloc: sh: 11,685; ansic: 4,706; lisp: 4,225; makefile: 246
file content (472 lines) | stat: -rw-r--r-- 16,011 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
G-Wrap NEWS -- history of user-visible changes.
Copyright (C) 2014-2015 David Pirotte
Copyright (C) 2003-2011 Andreas Rottmann
Copyright (C) 2000-2002 Rob Browning <rlb@defaultvalue.org>
Copyright (C) 2006 Ludovic Courtès <ludovic.courtes@laas.fr>
Initially created by Christopher Lee.
See the end for copying conditions.

Version 1.9.15

    - G-Wrap now requires Guile 2.0, allows Guile 2.2.

    - Requires autoconf >= 2.61, automake >= 1.12, adding /build-aux.

    - We no longer update Changelog, see G-Wrap's git logs instead.

    - No free/mark on WCT objects, and remove use of scm_gc_free.

    - Use scm_module_variable instead of the deprecated scm_sym2var.

    - The documentation has been restructured, updated and fixed to work
      with texinfo >= 5.2.

    - Removing doc/version.texi - it is generated/updated.

Version 1.9.14

    - Guile 2.0 is now supported.

    - G-Wrap no longer ships SRFI 34 and SRFI 35 implementations, as
      these have been both provided by Guile since 1.8.3.

Version 1.9.13

    - Fix the dependency declaration on libffi in the g-wrap-2.0-guile
      pkg-config file.

    - An alignment issue leading to testsuite failures on sparc has
      been fixed.

    - The g-wrap-config manpage from the Debian package is now
      included in the source, and installed.

Version 1.9.12

    - Fix the g-wrap-2.0-guile pkg-config file (bug #25187).

Version 1.9.11

    - Fix `double' return value handling on big-endian platforms.

    - libffi is no longer distributed with g-wrap, as it is available
      as a stand-alone package now (instead of being burried in the
      GCC sources).

Version 1.9.10

    - Fix WCT nullable behaviour for 'new' (i.e. non-compat) wrapsets;
      there is now a SRFI-39 parameter 'gw-wcts-nullable?' controlling
      the nullable behaviour; this parameter is #f by default, and set
      to #t when generating compat wrapsets.

Version 1.9.9

    - Support per-(type-)instance use of #:allowed-options

    - Build fixes:
      - Fix example build when libffi is not installed on the system.
      - Fix GLib build (was deactivated by accident)
      - Distribute and install SRFI 34/35 again

    - libffi updated from GCC SVN

    - It is now possible to have invisible output arguments; these
      won't show up as return values of the Scheme procedure.

Version 1.9.8

  - New feature: function flags. At the moment there is a single flag
    specifying whether to leave "Guile mode" when calling the wrapper
    functions. See the Guile manual on "scm_without_guile" for more
    information.

  - Don't rely on libc to provide (v)asprintf, take the implementation
    from gnulib.

  - The minimal GLib bindings now build against GLib 2.x. However,
    their use is deprecated in favour of the much more complete GLib
    bindings in guile-gnome
    (http://www.gnu.org/software/guile-gnome/).

Version 1.9.7

  - The shared libraries now reside in $(pkglibdir)/modules
    (e.g. /usr/lib/g-wrap/modules).

  - Users are now allowed to chose in which module generic functions
    should be defined.

  - New feature: aggregated typespecs.  See the node `Wrapping a C
    Function' of the manual for details.

  - Users can now specify a free and a mark function, as well as an
    equality predicate for wrapped C types (WCTs) in `wrap-as-wct!'.

  - Improved documentation with an API reference (yet to be finished).

  - Several bugfixes.

Version 1.9.6

  - Support for size_t and ssize_t data types.

Version 1.9.5

  - Bugfixes
    + The minimal GLib wrappers are now installed as (g-wrap gw-glib), 
      as expected by GnuCash.
    + A problem with generic specializer class lookup has been fixed.
    + A problem with generics specialization and default arguments has
      been fixed.
    + A problem with default arguments, when combined with 
      invisible arguments (such as output arguments) has been fixed.

Version 1.9.4

  - Enhanced generics support: now all arguments of methods are 
    specialized, not only the first one.

  - Bugfixes
    + Now ships with (g-wrap gw-wct) compatibilty module needed by 
      GnuCash at runtime.
    + Fixes for handling output arguments:
      - Wrapped functions with void return value and output arguments 
	now return expected results
      - Optional argument count is now correctly computed in the 
        presence of output arguments
    + The libffi alignment requirements are now honored. This fixes bus 
      errors on many non-x86 architectures.
    + On big-endian architectures libffi-wrapped functions that return
      char now work correctly.
    + Some "uninitialized variable" warnings were fixed in generated code
      which caused compiles with GCC 4.0 to fail (Debian Bug#290305).

Version 1.9.3

  - Comes with a compatibility layer that allows GnuCash to be built
    with it.

  - Reverts the enhanced generics support, which was introduced in
    1.9.2, since that currently breaks guile-gnome

  - Bugfixes
    + g-wrap-2.0-guile.pc is now generated correctly, even if the 
      internal libffi is used.
    + Types used by constants are now considered when calculating the 
      set of referenced types in a wrapset. This bug led to missing code
      and compile errors when a type defined in another wrapset was used 
      by only by a constant.
    + On platforms which lack alloca(), the version shipped with 
      G-Wrap should now build correctly.

Version 1.9.2

  - Now comes with libffi included, for systems which lack an libffi
    installation

  - SRFI module checks now work correctly, even if you do an in-tree build

Version 1.9.1

 - API change: destruct-value-cg is now named destroy-value-cg

 - Bugfixes
   + A bug in the latent generic code has been fixed
   + The error message for WCP type errors has been fixed

Version 1.9.0

 - Complete rewrite; too many changes to list, see the manual for the
   new GOOPS-based API and the guile-gnome project for an extended
   example.

  - New features:
    + Output arguments
    + Default arguments

  - G-Wrap should be target-language agnostic, like it was in its
    early days.

Version 1.3.3

 - Support has been added for GSlists via gw:gslist-of.

 - g-wrap's license has been changed to the Lesser GNU Public License.

 - g-wrap's code generation has been reworked to eliminate all of the
   -Wall warnings when compiling with gcc 3.2.

Version 1.3.2

 - Note that this version represents a major overhaul and is quite
   incompatible with previous versions -- such is life on the unstable
   branch.  I plan to rework the docs again shortly, but for now, use
   the existing -spec files as examples and send me email when you're
   confused.

 - Note that all wrapset names starting with "gw-" are reserved by
   g-wrap.  DON'T use them.

Version 1.3.1

 - Version numbers for g-wrap have been rearranged.  We'll be using
   the Linux kernel version numbering scheme from now on.  Stable
   versions have even "middle" numbers, i.e. 1.2.1, and unstable
   versions have odd middle numbers, i.e. 1.3.4.  Note that there was
   briefly a 1.1.12 which is actually "newer" than 1.2.1, but that
   version is what became 1.3.1.  The other reason for the change was
   that in 1.3.1 g-wrap's handling of Guile modules changed
   substantially, and in a somewhat backward incompatible way.

 - g-wrap has been rewritten to drop support for earlier Guile
   version's "automagic loading a shared library as a module".  When
   asked to generate a Guile module for a given g-wrap module, g-wrap
   will generate a plain Scheme file that will export all of the
   g-wrapped symbols and load the required g-wrap shared library to
   provide the wrapped function bindings.  This should work across
   guile 1.3.4, guile 1.4, and the forthcoming guile 1.6.  Note that
   the Scheme file must be found in an appropriate place via the
   %load-path just like any other guile module, and the directory
   containing the g-wrap shared library representing the wrapped code
   must be somewhere in LD_LIBRARY_PATH (for Guile 1.3.4), and
   LD_LIBRARY_PATH or LTDL_LIBRARY_PATH for newer Guiles.

 - Support has been added for a pre-c-lib-scmcodegen for both g-wrap
   modules and types.  If registered, the code generated will be
   inserted into the Scheme file generated (if any) for the Guile
   module representing the g-wrapped code.

 - g-wrap has now dropped official support for Guile versions earlier
   than 1.3.4.

Version 1.1.11

 - added beta changes to info pages -- they're unfinished and still
   partially document the old interface, but I'm going under the
   assumption that something is better than nothing.

 - automake's "make check" now runs the tests in ./test.

 - gw_wct_p now recognizes #f as a wcp.

 - missing string.h problems should be fixed.

Version 1.1.10

 - for enumerations, the automatically generated val->sym funcs now
   always return a list if show-all? is not #f, but the list may be
   empty.  This is better for memq, map, etc.

Version 0.9.8

 - Fixed bug which prevented inclusion of new m4 macros into tarfile.

Version 0.9.7

 - Fixed guile-1.3 problems. NOTE: Broken release - do not use!

Version 0.9.6

 - Fixed const-string bug (thanks to Robert Merkel).  Guile version
   problem still not fixed - stay tuned.

Version 0.9.5

 - fixed problems with guile-1.4.

Version 0.9.4

 - Pointer tokens and pointer token arrays have changed semantics.
   Now if a return value of one of these types would contain a NULL
   pointer, g-wrap just returns #f, and on the other side, passing in
   #f as an argument to a function expecting a pointer token or
   pointer token array will result in NULL being passed to the
   underlying C function.  As a result of these changes,
   pointer-token-null? is gone.  If you still need it, you can just
   (define (pointer-token-null? x) (eq? x #f)).

Version 0.9.3

 - RPM spec file available now as rpm/spec

Version 0.9.2

 - fixed --version command line arg.

Version 0.9.1

 - New development version.

 - Start officially using something like the linux kernel version
   numbering scheme.  This means that there will be three digits in
   the version number where the first digit is the major version
   number.  It changes whenever there's a large-scale change, like a
   serious backward-incompatibility, the second digit indicates
   whether this is considered a stable or development version.  When
   this is odd, it's a development version.  The last digit is the
   minor version number.  It gets bumped with every release.

 - Guile is now required.  Even if you're just going to be wrapping
   functions for languages other than guile, guile is now the
   implementation language of g-wrap itself.

 - added new top-level script, g-wrap.  This replaces all of the
   target language specific scripts.  See the info pages for usage
   details.

 - added conditionally compiled long long support for guile wrappers.

 - added g-wrap-config script to provide appropriate compile options
   for programs using g-wrap.  See the info pages for usage details.

 - added support for handling pointers to C structs on the guile side.
   This is in flux, so don't use it unless you're prepared to possibly
   rewrite everything when things settle.  See the info pages for
   details.

 - added support for a 'cleanup option to new types that lets you
   specify how an argument should be cleaned up (generally this means
   something like "free" for C APIs) whenever cleanup is needed.  This
   works in conjunction with a new ability to enable/disable cleanup
   for types by default, and for arguments/return values on a
   per-function basis.  See the info pages for details.

 - Add support for automatically generating a C header from the g-wrap
   spec file.  This can be useful if you want the g-wrap file to be
   the ultmate authority about the API.  See the info documentation
   for gwrap-generate-wrapped-header.

 - Add support for a guile-prefix to the gwrap-open-module call.  This
   option will allow you to specify a prefix that will be appended to
   the guile-side names.  This may be useful if you don't want to
   create a module (which you can do with the (guile-module #f) option
   to gwrap-open-module.

Version 0.8.1

 - Updates to get G-Wrap to build equivalent modules for RScheme and
   Guile from the same specification file

   - now, pointer '*'s are not assumed to be necessary when converting
     Guile smob-values to native C types

Version 0.8.0

 - Support added for RScheme

 - Changes in the name of some functions

   gwrap-scan-source-file (was gwrap-c-scan-source-file)
   gwrap-open-module (was gwrap-c-open-file)
   gwrap-assume-types-wrapped (was gwrap-c-assume-types-wrapped)
   gwrap-close-module (was gwrap-c-close-file)

 - Some functions are removed:

   gwrap-c-output-c
   gwrap-c-output-h
   gwrap-c-output-doc

Version 0.3.9

 - Prettier and more useful html documentation is generated from input
   files

 - Better C++ support

Version 0.3.8

 - Better ANISfication

 - Better C++ support

Version 0.3.7:

 - Improved configuration process

 - Integrated g-translate into g-wrap

Version 0.3.6:

 - Switched to automake/autoconf/libtool configuration

Version 0.3.5:

 - Generates an html file describing wrapped library

Version 0.3.4:

 - Option call-on-init in gwrap-c-open-file allows a function to be
   called upon intialization of the library wrapper.

Version 0.3:

 - A capability for generating dynamically-linkable Guile modules

 - Automatic support for exporting functions with more than 10
   arguments, without modification of libguile.

 - No longer relies on Slib (slib dependencies removed from
   output-file.scm, and g-wrap.scm)

 - Made generated *.h files more C++ friendly

 - New options for wrapping structures which are passed by value
   rather than by reference, and for generating C++ code.

 - new-function: New interface, automatically adds description to an
   assq list in variable "*gw:descriptions*", complete with a
   prototype and list of parameter and return types.

 - Renamed many functions -- the interface is pretty new overall.
   define-constant     --> new-constant
   c-file-include-local-header  --> gwrap-c-include-local-header
   c-file-include-global-header --> gwrap-c-include-global-header
   open-c-file		--> gwrap-c-open-file
   output-c		--> gwrap-c-output-c
   output-h		--> gwrap-c-output-h
   make-wrapper-c-type --> gwrap-c-assume-types-wrapped (simpler interface)

 - Code for generating Guile wrapper code is now a Guile module

 - g-wrap-guile is now written to use Guile interpreter rather than
   SCM

 - types are now given symbolic keys rather than being returned in
   structures

   - new function formats:
     (add-type scheme-sym c-type-str fn-to-scm fn-from-scm fn-isa)
     (add-new-type scheme-sym the-type)
     (new-type scheme-sym c-name c-print-name c-die-name c-eq-name . options)

     - If options contains (c-gc-name "fname"), fname is called for
       protecting objects from GC

     - If options contains (pass-c-ptr? #f), type is passed as struct
       rather than pointer to struct

 - gwrap-c-open-file: Accepts options telling it to generate a C++
   file and/or code for a dynamically linkable module

For older news, see the file ONEWS.

----------------------------------------------------------------------
Copyright information:

Copyright (C) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.

   Permission is granted to anyone to make or distribute verbatim copies
   of this document as received, in any medium, provided that the
   copyright notice and this permission notice are preserved,
   thus giving the recipient permission to redistribute in turn.

   Permission is granted to distribute modified versions
   of this document, or of portions of it,
   under the above conditions, provided also that they
   carry prominent notices stating who last changed them.
^L
Local variables:
mode: indented-text
end: