updating to the latest module.
[mono.git] / support / ChangeLog
1 2005-04-19  Jonathan Pryor  <jonpryor@vt.edu>
2
3         * map.c, map.h: Added XattrFlags values, functions.
4         * sys-xattr.c: Added; <sys/xattr.h> wrapper functions.  Thanks to Daniel
5           Drake for writing these.
6         * Makefile.am: Add sys-xattr.c to the build.
7
8 2005-04-07  Jonathan Pryor  <jonpryor@vt.edu>
9
10         * errno.c: Use the GNU version of strerror_r if _GNU_SOURCE is defined
11           (otherwise assume existence of XPG variant).  This allows proper
12           compilation under Red Hat 9.
13         * fstab.c: protect against users calling setfsent(), setfsent(), ...  
14           endfsent(), which would otherwise leak a FILE handle.
15
16 2005-04-05  Zoltan Varga  <vargaz@freemail.hu>
17
18         * mph.h: Apply patch from the freebsd ports collection.
19
20 2005-02-10  Zoltan Varga  <vargaz@freemail.hu>
21
22         * zlib_macros.c (create_z_stream): Explicitly check for older versions
23         of zlib.
24
25 2005-02-08  Zoltan Varga  <vargaz@freemail.hu>
26
27         * pwd.c (Mono_Posix_Syscall_getpwnam_r): Add another part missing from the last patch.
28
29 2005-02-07  Jonathan Pryor  <jonpryor@vt.edu>
30
31         * grp.c: Oops.  Didn't see other Solaris fix in #72292.
32
33 2005-02-07  Jonathan Pryor  <jonpryor@vt.edu>
34
35         * grp.c, pwd.c: Clear errno before calling the actual calls, as errno may
36           have a stale value, leading to spurious errors later.  Fixes #72292.
37
38 2005-02-03  Jonathan Pryor  <jonpryor@vt.edu>
39
40         * Makefile.am (MPH_C_SOURCE): Move errno.c into MPH_C_SOURCE, so it's built
41           on Windows as well as Unix.
42
43 2005-02-03  Jonathan Pryor  <jonpryor@vt.edu>
44
45         * errno.c: Mono_Posix_Syscall_SetLastError should be in Stdlib, not Syscall, 
46           since it's part of ANSI C (and errno will be used from StdioFileStream).  
47           Add Mono_Posix_Stdlib_SetLastError.  Don't remove the Syscall version, as 
48           we don't want to break Mono 1.1.4/svn users the day after release. :-)
49
50 2005-01-25  Jonathan Pryor  <jonpryor@vt.edu>
51
52         * macros.c: Use gint64, not long, to match C# declaration.  Fixes 71152.
53
54 2005-01-23  Geoff Norton  <gnorton@customerdna.com>
55
56         * dirent.c: Include <unistd.h> to bring off_t in on gcc4.0+OSX
57
58 2005-01-13  Jonathan Pryor  <jonpryor@vt.edu>
59
60         * map.h: Correct Mono_Posix_OpenFlags values (they should now match 
61           x86 linux); remove unused enumerations (MountFlags, etc.).
62
63 2005-01-13  Jonathan Pryor  <jonpryor@vt.edu>
64
65         * fstab.c: Fix HPUX support.  HPUX includes both <fstab.h> and
66           <checkpoint.h>, so we need to give preference to <checkpoint.h>.
67
68 2005-01-05  Jonathan Pryor  <jonpryor@vt.edu>
69
70         * fstab.c: Add support for HPUX, which uses <checklist.h>.
71
72 2005-01-05  Jonathan Pryor  <jonpryor@vt.edu>
73
74         * map.c: Continuing my ineptitude...  <sys/wait.h> isn't on Win32.
75         * mph.h: Win32 doesn't define EOVERFLOW, either.  Define it.
76
77 2005-01-05  Jonathan Pryor  <jonpryor@vt.edu>
78
79         * map.c: Include <config.h> so we can check for PLATFORM_WIN32.
80
81 2005-01-05  Jonathan Pryor  <jonpryor@vt.edu>
82
83         * map.c: Fix Win32 build break.  Win32 doesn't have all the sys/* headers.
84
85 2005-01-05  Jonathan Pryor  <jonpryor@vt.edu>
86
87         * serial.c: HPUX compiler fix.
88         * stdlib.c: Add C-defined macro wrappers.
89
90 2005-01-04  Jonathan Pryor  <jonpryor@vt.edu>
91
92         * stdio.c: Add wrapper for C99's snprintf(3).
93
94 2005-01-04  Jonathan Pryor  <jonpryor@vt.edu>
95
96         * Makefile.am: Rewrite.  Remove configure-generated warnings about 
97           multiple _LIBADD and _SOURCES lines.  Add support for Win32.  
98           Win32 support is limited to ANSI C functions.
99         * stdio.c: Don't compile Unix wrappers on Win32.
100
101 2005-01-04  Raja R Harinath  <rharinath@novell.com>
102
103         * Makefile.am (LIBS): Remove.  Was overriding results of configure check.
104         (libMonoPosixHelper_la_LIBADD): List $(GLIB_LIBS) here.
105
106 2005-01-04  Jonathan Pryor  <jonpryor@vt.edu>
107
108         * Makefile.am: Add libnsl to LIBS.  Hopefully this will let sparc link.
109         * mph.h: Make MPH_INTERNAL conditional on __GNUC__.
110
111 2005-01-03  Jonathan Pryor  <jonpryor@vt.edu>
112
113         * signal.c, stdio.c: Remove "function declaration isn't a prototype" warnings.
114         * unistd.c: Check for presence of gethostname and sethostname.
115
116 2005-01-03  Jonathan Pryor  <jonpryor@vt.edu>
117
118         * mph.h, x-struct-str.c: Add "const" to parameters to remove 
119           "warning: passing arg [2|4]...discards qualifiers" message.
120
121 2005-01-03  Jonathan Pryor  <jonpryor@vt.edu>
122
123         * fstab.c: Remove some sparc compiler warnings.
124
125 2005-01-03  Jonathan Pryor  <jonpryor@vt.edu>
126
127         * fstab.c: Solaris doesn't support getfsent(3), but it provides equivalent
128           functionality in getvfsent(3C).  Implement Solaris support.
129
130 2005-01-02  Jonathan Pryor  <jonpryor@vt.edu>
131
132         * stdio.c: More wrapper functions.  I missed a few macros...  This should
133           complete all macro's defined in <stdio.h> for C99.
134
135 2004-12-30  Jonathan Pryor  <jonpryor@vt.edu>
136
137         * stdio.c: More wrapper functions.  This should complete C89's <stdio.h>
138           requirements.
139
140 2004-12-30  Jonathan Pryor  <jonpryor@vt.edu>
141
142         * sys-statvfs.c: Further proving that changing code without compiling is
143           dangerous business...  Compiler fix for OS X.
144
145 2004-12-30  Jonathan Pryor  <jonpryor@vt.edu>
146
147         * signal.c: Mac OS X portability fixes -- it doesn't provide sighandler_t!
148
149 2004-12-30  Jonathan Pryor  <jonpryor@vt.edu>
150
151         * Makefile.am: Add signal.c to the build.
152         * signal.c: Added.  Contains helper functions to wrap signal(2).
153
154 2004-12-30  Jonathan Pryor  <jonpryor@vt.edu>
155
156         * sys-statvfs.c: Fix Mac OS X build (statfs.f_frsize doesn't exist on OSX;
157           f_fsid isn't an integral type; fstatfs needs to use fpathconf).
158
159 2004-12-29  Jonathan Pryor  <jonpryor@vt.edu>
160
161         * unistd.c: Null-terminate the string returned by readlink(2).  This works
162           around a marshaler "issue".
163
164 2004-12-28  Jonathan Pryor  <jonpryor@vt.edu>
165
166         * Makefile.am: Add GLIB_LIBS to the LIBS line, since we require linking
167           against glib-2.0 (to use g_assert()).
168
169 2004-12-28  Jonathan Pryor  <jonpryor@vt.edu>
170
171         * fstab.c: Added; wrap <fstab.h> functions: getfsent(3), getfsfile(3), 
172           getfsspec(3).
173         * map.c: Add new conversion functions for SyslogOptions, SyslogFacility, 
174           SyslogLevel; see syslog(3) for details.
175         * map.h: Add new conversion functions and values for SyslogOptions, 
176           SyslogFacility, SyslogLevel; see syslog(3) for details.
177         * Makefile.am (MPH_SOURCE): add fstab.c, sys-statvfs.c, x-struct-str.c.
178         * mph.h: Document location for Mac OS X man page documentation; add
179           MPH_INTERNAL macro for intra-library function calls (for functions that
180           shouldn't be exported from libMonoPosixHelper.so); declare
181           _mph_copy_structure_strings().
182         * pwd.c: Use _mph_copy_structure_strings() to copy strings embedded within
183           struct passwd.
184         * sys-statvfs.c: Added; wrap <sys/statvfs.h> functions statvfs(2),
185           fstatvfs(2), and (to complicate things) implement (f)statvfs(2) in terms
186           of (f)statfs(2) on Mac OS X (which lacks the -vfs calls).
187         * x-struct-str.c: implements _mph_copy_structure_strings(), which is a
188           generalized interface to copy strings between structures (as is needed in
189           pwd.c and fstab.c).
190
191 Thu Dec 23 14:58:09 EST 2004 Paolo Molaro <lupus@ximian.com>
192
193         * serial.c: remove mono calls from here: they break the build
194         and they don't belong here.
195
196 2004-12-21  Chris Toshok  <toshok@ximian.com>
197
198         * serial.c: initial import of System.IO.Ports pinvoke stuff.
199
200         * Makefile.am (MPH_SOURCE): add serial.c.
201
202 2004-11-30  Jonathan Pryor  <jonpryor@vt.edu>
203
204         * mph.h: Use <glib.h>, not <glib/gtypes.h>, as the HP/UX compiler needs
205           <glib/gutils.h> to handle the `inline' keyword.
206
207 2004-11-27  Miguel de Icaza  <miguel@ximian.com>
208
209         * Makefile.am (MPH_SOURCE): Add macros.c for compatibility with
210         the old API (currently the old API would fail).
211
212 2004-11-25  Raja R Harinath  <rharinath@novell.com>
213
214         * Makefile.am (MPH_SOURCE): Distribute old-map.h and map.h.
215
216 2004-11-18  Jonathan Pryor  <jonpryor@vt.edu>
217
218         * stdio.c: Add fread(3) and fwrite(3) wrappers.
219
220 2004-11-16  Jonathan Pryor  <jonpryor@vt.edu>
221
222         * Makefile.am: Remove sys-mount.c from the build.
223         * sys-mount.c: Delete.  We're not exporting mount-related functionality
224           anymore.  It's not remotely portable, and trying to make it portable is a
225           doomed idea.
226         * map.c: Remove mount- and umount-related conversion functions.
227
228 2004-11-14  Geoff Norton  <gnorton@customerdna.com>
229         
230         * mph.h:  Revernt jonp's removal of MPH_ON_BSD define as sys-mount.c
231         and unistd.c still check this configuration value.  This allows mono
232         to build on *BSD again.
233
234 2004-11-12  Jonathan Pryor <jonpryor@vt.edu>
235
236         * dirent.c: Only access members which exist on the target
237           platform.
238         * errno.c: Only export strerror_r if it's available.
239         * mph.h: Remove MPH_ON_BSD; use the configure checks instead.
240         * sys-mman.c: Only export posix_madvise if it's available.
241         * unistd.c: Only export sethostid if it's available.
242
243 2004-11-08  Jonathan Pryor <jonpryor@vt.edu>
244
245         * Makefile.am: Add sys-sendfile.c to the build.
246         * dirent.c, fcntl.c, unistd.c: Remove
247           compile-time checks for -64 apis (pread64, etc.), as they're
248           superfluous.  GLibc #defines the functions to the appropriate
249           -64 counterpart when necessary, and Darwin is intrinsically
250           large-file-aware, so manual checking on my part is redundant and
251           unnecessary.
252         * grp.c: Add checks for non-portable functions getgrnam_r,
253           getgrgid_r.
254         * pwd.c: Add checks for non-portable functions getpwnam_r,
255           getpwuid_r.
256         * map.c: Remove <poll.h> include.  Building on Tiger (Mac
257           OS X 10.4 beta) breaks when both <poll.h> and <sys/poll.h> are
258           included, so only use <sys/poll.h>.
259         * mph.h: Clean up macro handling for type overflow checking.
260
261 2004-11-05  Jonathan Pryor <jonpryor@vt.edu>
262
263         * .cvsignore: Ignore generated files.
264         * Makefile.am: Add new INCLUDE directives (for glib
265           headers), source; bump library version (so we don't clobber
266           previous versions of libMonoPosixHelper.so).
267         * dirent.c: New file; <dirent.h> wrapper functions; 
268           BSD portability fixes.
269         * errno.c: New file; <errno.h> wrapper functions
270         * fcntl.c: New file; <fcntl.h> wrapper functions;
271           BSD portability fixes.
272         * grp.c: New file; <grp.h> wrapper functions;
273           BSD portability fixes.
274         * map.c: Updated macro mapping functions (more enums
275           mapped, more error checking, etc.).
276         * map.h: Updated macro mapping functions
277         * old-map.c: Previous map.c implementation, for backward
278           compatibility Remove spurious warning about redefining
279           _GNU_SOURCE.
280         * old-map.h: Previous map.h implementation, for backward
281         compatibility
282         * mph.h: New file; Utility types, macros;
283           BSD portability fixes.
284         * pwd.c: New file; <pwd.h> wrapper functions;
285           BSD portability fixes.
286         * stdio.c: New file; <stdio.h> wrapper functions
287         * stdlib.c: New file; <stdlib.h> wrapper functions
288         * sys-mman.c: New file; <sys/mman.h> wrapper functions
289         * sys-mount.c: New file; <sys/mount.h> wrapper functions;
290           BSD portability fixes.
291         * sys-sendfile.c: New file; <sys/sendfile.h> wrapper
292           functions; BSD portability fixes.
293         * sys-stat.c: New file; <sys/stat.h> wrapper functions
294         * sys-wait.c: New file; <sys/wait.h> wrapper functions
295         * time.c: New file; <time.h> wrapper functions;
296           BSD portability fixes.
297         * unistd.c: New file; <unistd.h> wrapper functions;
298           BSD portability fixes.
299