ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/IO-AIO/Changes
(Generate patch)

Comparing IO-AIO/Changes (file contents):
Revision 1.9 by root, Mon Jul 11 01:49:14 2005 UTC vs.
Revision 1.80 by root, Tue Oct 24 00:26:32 2006 UTC

1Revision history for IO::AIO 1Revision history for IO::AIO
2 2
3TODO: better autoconf.pm that can return LIBS etc.
4TODO: use feeder for aio_scandir.
5TODO: -lock/unlock, +callback/etc.
6
72.0
8 - aio requests can be cancelled.
9 - callbacks can be set later.
10 - add aio_group: aio requests can be grouped.
11 - implement generator interface for groups.
12 - major documentation improvements.
13 - very minor bugfixes.
14 - add aio_nop for dummy requests.
15 - add aio_sleep mainly for benchmarking and debugging.
16 - deprecated max_outstanding.
17 - use "fast" mutexes on linux.
18 - use dynamic (and larger) buffers instead of
19 putting them onto the stack.
20 - optimise x86 and amd64 a bit.
21 - better error checking when ENOMEM.
22
231.8 Sat Jun 24 22:20:44 CEST 2006
24 - add and/or document aio_rename, aio_link, aio_symlink and aio_move.
25
261.73 Wed Mar 1 22:49:32 CET 2006
27 - codename "jost"
28 - AIX/Solaris(?) aren't being helpful again, hardcode a value
29 for NAME_MAX and drive with your eyes closed (reported by
30 wcooley@nakedape.cc).
31
321.72 Thu Feb 2 00:40:44 CET 2006
33 - another minor bug in aio_scandir, again, the callback was called
34 twice when the directory can't be stat'ed.
35
361.71 Mon Dec 26 20:20:03 CET 2005
37 - grr, another minor bug in aio_scandir, this time resulting
38 in a runtime error.
39
401.7 Mon Dec 26 19:29:48 CET 2005
41 - aio_scandir errornously called callback twice in some cases.
42 - added AnyEvent example.
43
441.61 Wed Sep 7 19:40:42 CEST 2005
45 - no longer include $Config{libs}, as distros include too much
46 garbage in there that is not installed on typical systems
47 (for example, debian links perl against -lgdbm and many more
48 libraries despite perl not needing it, slowing down startup and
49 wasting memory).
50
511.6 Tue Aug 30 17:44:44 CEST 2005
52 - added aio_readdir, aio_scandir.
53 - added aio_sendfile, including sendfile emulation when sendfile
54 isn't available. Linux, FreeBSD and HP-UX might work (sendfilev
55 support is unavailable on my solaris 8 machine, but preliminary
56 code is there. What's lacking is configury stuff and testing...).
57
581.5 Sat Aug 20 02:32:19 CEST 2005
59 - create the aio threads on demand only (good after forking).
60 - somebody nagged about C89 compatibility, so this release should
61 be C89 compatible, but no guarantees for future ones.
62 - abort when the configure script fails.
63
641.4 Wed Aug 17 08:07:27 CEST 2005
65 - forget to recreate the pipe after forking, this could cause
66 deadlocks.
67
681.3 Wed Aug 17 07:25:54 CEST 2005
69 - properly propagate exceptions from callbacks, instead of silently
70 eating them.
71 - use a different fork algorithm that avoids recursive callback
72 invocations and reduces fork latency in busy processes.
73 - fix a bug where the buffer scalar in aio_read got assigned the wrong
74 length after reading.
75 - fix a bug where the child would process some outstanding requests
76 from the parent.
77 - make a copy of the callback scalar, to avoid some very uncommon
78 (but valid) usages where the callback scalar changes.
79 - the callback was never freed in aio_read/aio_write.
80 - aio_read/aio_write will now set the readonly flag on the data
81 scalar for better error reporting.
82
831.2 Wed Aug 17 01:22:58 CEST 2005
84 - verified on cygwin, linux/amd64+ia32+alpha, solaris.
85 - use SvPVbyte for filenames now. You *need* to encode your strings to
86 the external filename encoding first.
87 - fix the bug where filehandles could leak (again).
88 - clarify freebsd situation: make it work and tell me how, or go away
89 with your underdocumented, broken and outdated OS.
90 - fork'ing should now be officially supported (where linux and
91 posix contradict each other, I followed posix).
92 - only call read() once per poll, not twice (speedup).
93 - new functions: aio_rmdir, aio_symlink.
94 - force callback arguments to be undef or a reference, for better
95 error catching.
96
971.1 Sun Aug 7 05:27:23 CEST 2005
98 - added configure script to detect availability of some calls.
99 (imperfect, as we cannot detect things like -lrt due to missing
100 feedback yet).
101 - emulate fdatasync via fsync, pread/pwrite via unsafe read/write
102 and readahead via manual reading on platforms lacking those.
103 - ported t/03_errors.t+framework by Brad Fitzpatrick
104 from Linux::AIO.
105 - removed XOPEN_SOURCE because stupid solaris 9 doesn't
106 compile with it enabled. Probably breaks others. Oh well.
107 - try to be more careful with errno on non-threaded perls.
108 - cygwins perl insisted on a matching open mode when morphing
109 the fd to an fh.
110 - convert sv's to "byte" encoding in aio_read/aio_write. Might
111 do that for pathnames, too, in the future, so make sure you
112 properly encode your pathnames.
113
1141.0 Fri Jul 22 10:43:30 CEST 2005
115 - aio_open did not reliably deliver (open) filehandles.
116 - all aio_*-functions keep a reference to the filehandle so
117 it doesn't go away while the aio requests is working on it.
118 - disable warnings in AIO.pm.
119
1200.9 Wed Jul 20 23:55:04 CEST 2005
121 - allow recursive calls to poll_cb, use less locking calls, too.
122 - fix the Gtk2-example in the SYNOPSIS.
123 - use pread/pwrite not pread64/pwrite64. this was simply a leftover
124 from Linux::AIO.
125 (found by compiling on cygwin. Unfortunately, cygwin declares but
126 does not implement pread/pwrite).
127 - only include <sys/syscall.h> on linux.
128
1290.5 Tue Jul 12 13:03:09 CEST 2005
130 - removed #include <endian.h>, it's not portable, and we don't
131 need it anyway.
132 - link against -lrt, as it might contain goodies such as fdatasync,
133 and often aio_read, which we do not use yet, but it shouldn't hurt.
134
1350.4 Mon Jul 11 05:28:25 CEST 2005
3 - added IO::AIO::flush, IO::AIO::poll. 136 - added IO::AIO::flush, IO::AIO::poll.
137 - make callback argument optional for all calls.
4 138
50.3 Mon Jul 11 01:42:37 CEST 2005 1390.3 Mon Jul 11 01:42:37 CEST 2005
6 - restructured manpage. 140 - restructured manpage.
7 - added SYNOPSIS with examples for Event, Glib, Tk. 141 - added SYNOPSIS with examples for Event, Glib, Tk.
8 - remove explicit context support so I don't have to maintain 142 - remove explicit context support so I don't have to maintain

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines