forked from samueltardieu/adasockets
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathNEWS
438 lines (267 loc) · 12.6 KB
/
NEWS
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
-*- outline -*-
* New in AdaSockets 1.8.8
New constants Null_Socket_FD and Null_Multicast_Socket_FD have been
defined.
Use `pkg-config' for post-installation configuration.
* New in AdaSockets 1.8.7
The configure flag --enable-debug has been renamed into
--enable-maintainer-mode as it better reflects what it does. Also,
it now turns on all GNAT and GCC warnings.
This is probably one of the last release of AdaSockets not based on
GNAT.Sockets.
* New in AdaSockets 1.8.6
Add RTEMS port from Joel Sherrill <[email protected]>.
Fix style issues and warnings from newer GNAT versions.
Use a LIBVERSION of 1:0:0 as is done in the Debian package.
* New in AdaSockets 1.8.5
Fix locking race condition in naming routines. Bug found and fix sent by
Dmitriy Anisimkov <[email protected]>.
Allow explicit interface selection for multicast sockets. Patch sent by
Guillaume Foliard <[email protected]>.
Use inet_aton instead of inet_addr. Patch sent by Guillaume Foliard
Use -lresolv on Solaris for inet_aton.
Update build process with latest autotools.
Use stdlib.h and string.h in constants.c when appropriate.
* New in AdaSockets 1.8.4.7
Packaging glitch is now fixed, thanks to Dani <[email protected]>
for reporting it.
* New in AdaSockets 1.8.4.6
Fix documentation, thanks to <[email protected]>.
Do not require a C++ compiler to be present because it is of no use.
Request from Dmitriy Anisimkov <[email protected]>.
* New in AdaSockets 1.8.4.5
The Sockets.Naming.Value function now checks that a correct dotted IP address
is given.
Add a new example "value" to test the Sockets.Naming.Value function.
* New in AdaSockets 1.8.4.4
Fix bug an offset-by-one error in Sockets.Receive_Some. Bug found and fix
sent by Dmitriy Anisimkov <[email protected]>.
Fix typo in documentation, thanks to Vladimir <[email protected]>.
* New in AdaSockets 1.8.4.3
Fix bug in Sockets.Receive in presence of connection errors. Bug found
and fix sent by Dmitriy Anisimkov <[email protected]>.
* New in AdaSockets 1.8.4.2
In-source-tree build for AdaSockets was broken, this is now fixed.
* New in AdaSockets 1.8.4.1
AdaSockets now has two build options: --disable-doc and --disable-examples.
* New in AdaSockets 1.8.4
This version only fix some builds problems when gnatmake cannot be found.
* New in AdaSockets 1.8.3
Fix several bugs and glitches with older versions of GNAT.
* New in AdaSockets 1.8.2
To remove the risk of using two different versions of GNAT, gnatmake
is now used as the only driver to compile Ada code.
* New in AdaSockets 1.8.1
The change in AdaSockets 1.8 broke compilation with versions of GNAT
older than 5.01. This version restores it for every GNAT version.
Bug found by Duncan Sands <[email protected]>.
* New in AdaSockets 1.8
A change in the `gnatkr' program for GNAT 5.01 required a change in
AdaSockets. Patch sent by Dmitriy Anisimkov <[email protected]>.
* New in AdaSockets 1.7
A bug in multicast sockets handling has been fixed (which could cause
incompatibities on heterogeneous architectures). Bug found and fix sent
by Guillaume Foliard <[email protected]>.
A new Create_Multicast_Socket function allows you to choose the local
port to use.
* New in AdaSockets 1.6
A new procedure Get_Line looks like Ada.Text_IO equivalent. The Get_Line
function also now takes a default argument.
* New in AdaSockets 1.5.1
Interface change: some types have been moved in Sockets.Types, a new
package. Also, the sa_len and sin_len fields have been introduced
respectively in Sockaddr and Sockaddr_In types when applicable.
Autoconf file has been renamed from configure.in to configure.ac to
use newest autoconf file naming conventions.
* New in AdaSockets 1.5
AdaSockets don't check the version string of GNAT anymore as it works with
any decently recent version.
Also, remove two useless copies in some of the Receive_ routines which
could penalize large transfers.
* New in AdaSockets 1.4.1
Work with GNAT 3.15p (the version string has yet another format).
Thanks to Jean-Pierre Rosen <[email protected]> for signalling this problem.
* New in AdaSockets 1.4
AdaSockets now supports GNAT 3.2 from the GCC tree and Windows XP.
Windows patch sent by Jeffrey Creem <[email protected]>.
* New in AdaSockets 1.3
AdaSockets now supports OpenVMS. Support added by
Dominik Madon <[email protected]>.
* New in AdaSockets 1.2
** New Connect behaviour in case of failure
Connect can now raise Socket_Error (where previously Connection_Refused was
used) if another error happens (such as "no route to host"). Change
suggested and patch sent by Dmitriy Anisimkov <[email protected]>.
** Addendum in documentation
It has been explicitely noted that string-oriented communication with
datagrams requires the user to set a buffer on the receiving socket.
* New in AdaSockets 1.1
** New documentation
AdaSockets now comes with a small documentation. See it online on
http://www.rfc1149.net/devel/adasockets or in the doc directory of the
distribution.
** New constants
A whole set of new constants have been made available. See the documentation.
Thanks to Sune Falck <[email protected]>.
** Cleanup
The constant PF_INET should be used instead of AF_INET when creating sockets.
The old option (which is not correct even if they hold the same value)
should be changed in your source code into the new one.
** Bug fix
The examples/multi program can now be run several times on the same machine.
Thanks to Sune Falck <[email protected]>.
* New in AdaSockets 1.0
** New exception
The exception Socket_Error will be raised instead of Constraint_Error.
Thanks to Dmitriy Anisimkov <[email protected]>.
** Major version change
I was tired of the 0.1.x serie, as AdaSockets is now mature enough for
being used in large applications.
* New in AdaSockets 0.1.20
** New contrib directory
The new contrib directory includes scripts to make win32 installation easier,
thanks to Dmitriy Anisimkov <[email protected]>.
** New high-level function
Getsockopt is now available. Patch sent by Dmitriy Anisimkov
** New thin function and constants
The ioctl() function and two constants, FIONBIO and FIONREAD, have
been added to the thin binding. close() is now bound as a function
instead of a procedure, since specific code may need to check the
result. Also, a new Sockets.Thin.Errno function gives an error code
that is portable between Unix and win32. Thanks to Dmitriy Anisimkov
* New in AdaSockets 0.1.19
** New features for Windows
Maxim Reznik <[email protected]> did adapt AdaSockets so that it offers
all the functions needed for AdaBroker on Windows. This way, he could use
AdaBroker on this new platform.
** Minor enhancement
When a socket is closed, its buffer space is reclaimed if the socket was
still in buffered mode. Suggestion and patch sent by Dmitriy
Anisimkov <[email protected]>.
** Example fix
The multicast example (which now works on Windows) has been fixed to do
what it says. Fix sent by Juanma Barranquero <[email protected]>.
* New in AdaSockets 0.1.18
** New subprograms Set_Buffer and Unset_Buffer
Two new subprograms, Set_Buffer and Unset_Buffer, allow to read sockets
in buffered mode. This is particularily important for UDP sockets. Feature
suggested by Juanma Barranquero <[email protected]>.
The listener example has been modified to use buffered mode.
* New in AdaSockets 0.1.17
** Bug fix
A bug prevented UDP sockets to be able to receive data, at least on Windows.
Reported and fixed by Juanma Barranquero <[email protected]>.
* New in AdaSockets 0.1.16
** New port
Thanks to Dmitriy Anisimkov <[email protected]>, AdaSockets now builds
correctly on a Windows MINGW system. You need a set of Unix tools to
build it; it has been tested with the Cygwin toolset.
* New in AdaSockets 0.1.15
** Bug fix
Send could sometimes incorrectly raise Constraint_Error instead of
the more logical Connection_Closed. Reported and fixed by
Pascal Obry <[email protected]>.
* New in AdaSockets 0.1.14
** Bug fix
Get_Sock_Port and Get_Peer_Port did not return the right result on little
endian machines. Reported and fixed by Stéphane Patureau
* New in AdaSockets 0.1.13
** New functions Get_Sock_Addr and Get_Sock_Port
This time, the new functions, that work locally, have been suggested by
Alan Barnes <[email protected]>.
** Bind enhancement
Alan Barnes <[email protected]> also proposed a Bind enhancement to
accept 0 as a valid port. In this case, a free one will be allocated
by the system. Also, it is now possible to specify the bind address.
* New in AdaSockets 0.1.12
** New functions Get_Peer_Addr and Get_Peer_Port
Two new functions allow a user to know the address and port used by the
peer. Based on a suggestion from Sander Cox <[email protected]>.
** Bug fix
The split program had a forgotten incrementation, which made it fail on
some machines with long qualified names. Fix sent by Thomas Quinot
* New in AdaSockets 0.1.11
** New constants defined
David J. Kristola <[email protected]> asked for two new constants to be
defined, O_NONBLOCK and MSG_PEEK. These will be used for a new extension
(non-blocking sockets) that he plans to release in the near future.
* New in AdaSockets 0.1.10
** New package Sockets.Stream_IO
A new package Sockets.Stream_IO allows the user to build a stream from an
existing socket. The stream can then be used as any other Ada stream.
Two new examples, stream_listener and stream_sender are provided to
demonstrate this feature.
** New procedure Receive_Some.
A new Receive_Some procedure, suggested by Laurent Guerby, allows the user
to get the first data available instead of waiting for the buffer to be
filled.
** Allow adasockets-config to be called with no parameter.
This has been suggested by Preben Randhol, and simplifies the gnatmake
command line whenever someone uses no library but adasockets.
* New in AdaSockets 0.1.9
** Add a new function Get_FD.
A new function Get_FD has been added in the Sockets package to let GtkAda users
add this descriptor to the list of descriptors to watch. Patch sent by
Bobby D. Bryant <[email protected]>.
* New in AdaSockets 0.1.8
** Change the building process
AdaSockets now comes as a shared and a non-shared library.
** Fix bugs on 64 bit platforms
The iovec_len field in sockets-thin.ads was incorrectly marked as being
an Integer instead of a Storage_Offset.
* New in AdaSockets 0.1.7
** Add support for FreeBSD
FreeBSD 3.x, 4.0 and 5.0-CURRENT are now supported out of the box.
* New in AdaSockets 0.1.6
** Add a `adasockets-config' script
The AdaSockets library can now be found automatically on your system if
it has been installed properly.
* New in AdaSockets 0.1.5
** Fix a race condition when using naming services
gethostbyname() and friends functions are not thread safe because they return
a pointer on a static memory zone. Incriminated calls are now protected by a
mutex. The overhead should be neglictible as those functions aren't usually
called often.
* New in AdaSockets 0.1.4
** Fix a descriptor leak when using TCP sockets
close() was not called properly after a socket has been shutdowned in
both directions. Since we do not want to add the burden of calling
close() onto the user, we record the state for each direction and call
close() when appropriate.
** Fix an installation bug
In some situations (unexistant lib subdirectory in target prefix
directory), the installation directory was not properly created. This
is now fixed.
** Add some thin bindings entries
Thin bindigs entries have been added for socketpair() and AF_UNIX.
* New in AdaSockets 0.1.3
** Support for IP multicast
The package Sockets.Multicast can be used to create Multicast
interfaces on machine that support it.
** Interface changes
Some functions have been transformed into procedures to ease the
addition of multicast sockets.
** New example
The multi example can be used as both a multicast sender and receiver.
* New in AdaSockets 0.1.2
** Warning suppressed
Some versions of GNAT were detecting incorrectly a missing raise in
some cases. Signaled by Nicolas Ollinger <[email protected]>.
** New example
A listener example which is only a server has been added to avoid any
confusion between clients and servers. Suggestion by Scott Moody
* New in AdaSockets 0.1.1
** `aux' -> `support'
The subdirectory `aux' in the distribution has been renamed into
`support' to avoid a name clash on Windows NT with the standard
peripherical `aux'. Suggestion from Juanma Barranquero
** Better error messages
Exception raised during the connection now have messages in many cases
explaining why the connexion could not be made.