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