1 2005-01-05 Jonathan Pryor <jonpryor@vt.edu>
3 * fstab.c: Add support for HPUX, which uses <checklist.h>.
5 2005-01-05 Jonathan Pryor <jonpryor@vt.edu>
7 * map.c: Continuing my ineptitude... <sys/wait.h> isn't on Win32.
8 * mph.h: Win32 doesn't define EOVERFLOW, either. Define it.
10 2005-01-05 Jonathan Pryor <jonpryor@vt.edu>
12 * map.c: Include <config.h> so we can check for PLATFORM_WIN32.
14 2005-01-05 Jonathan Pryor <jonpryor@vt.edu>
16 * map.c: Fix Win32 build break. Win32 doesn't have all the sys/* headers.
18 2005-01-05 Jonathan Pryor <jonpryor@vt.edu>
20 * serial.c: HPUX compiler fix.
21 * stdlib.c: Add C-defined macro wrappers.
23 2005-01-04 Jonathan Pryor <jonpryor@vt.edu>
25 * stdio.c: Add wrapper for C99's snprintf(3).
27 2005-01-04 Jonathan Pryor <jonpryor@vt.edu>
29 * Makefile.am: Rewrite. Remove configure-generated warnings about
30 multiple _LIBADD and _SOURCES lines. Add support for Win32.
31 Win32 support is limited to ANSI C functions.
32 * stdio.c: Don't compile Unix wrappers on Win32.
34 2005-01-04 Raja R Harinath <rharinath@novell.com>
36 * Makefile.am (LIBS): Remove. Was overriding results of configure check.
37 (libMonoPosixHelper_la_LIBADD): List $(GLIB_LIBS) here.
39 2005-01-04 Jonathan Pryor <jonpryor@vt.edu>
41 * Makefile.am: Add libnsl to LIBS. Hopefully this will let sparc link.
42 * mph.h: Make MPH_INTERNAL conditional on __GNUC__.
44 2005-01-03 Jonathan Pryor <jonpryor@vt.edu>
46 * signal.c, stdio.c: Remove "function declaration isn't a prototype" warnings.
47 * unistd.c: Check for presence of gethostname and sethostname.
49 2005-01-03 Jonathan Pryor <jonpryor@vt.edu>
51 * mph.h, x-struct-str.c: Add "const" to parameters to remove
52 "warning: passing arg [2|4]...discards qualifiers" message.
54 2005-01-03 Jonathan Pryor <jonpryor@vt.edu>
56 * fstab.c: Remove some sparc compiler warnings.
58 2005-01-03 Jonathan Pryor <jonpryor@vt.edu>
60 * fstab.c: Solaris doesn't support getfsent(3), but it provides equivalent
61 functionality in getvfsent(3C). Implement Solaris support.
63 2005-01-02 Jonathan Pryor <jonpryor@vt.edu>
65 * stdio.c: More wrapper functions. I missed a few macros... This should
66 complete all macro's defined in <stdio.h> for C99.
68 2004-12-30 Jonathan Pryor <jonpryor@vt.edu>
70 * stdio.c: More wrapper functions. This should complete C89's <stdio.h>
73 2004-12-30 Jonathan Pryor <jonpryor@vt.edu>
75 * sys-statvfs.c: Further proving that changing code without compiling is
76 dangerous business... Compiler fix for OS X.
78 2004-12-30 Jonathan Pryor <jonpryor@vt.edu>
80 * signal.c: Mac OS X portability fixes -- it doesn't provide sighandler_t!
82 2004-12-30 Jonathan Pryor <jonpryor@vt.edu>
84 * Makefile.am: Add signal.c to the build.
85 * signal.c: Added. Contains helper functions to wrap signal(2).
87 2004-12-30 Jonathan Pryor <jonpryor@vt.edu>
89 * sys-statvfs.c: Fix Mac OS X build (statfs.f_frsize doesn't exist on OSX;
90 f_fsid isn't an integral type; fstatfs needs to use fpathconf).
92 2004-12-29 Jonathan Pryor <jonpryor@vt.edu>
94 * unistd.c: Null-terminate the string returned by readlink(2). This works
95 around a marshaler "issue".
97 2004-12-28 Jonathan Pryor <jonpryor@vt.edu>
99 * Makefile.am: Add GLIB_LIBS to the LIBS line, since we require linking
100 against glib-2.0 (to use g_assert()).
102 2004-12-28 Jonathan Pryor <jonpryor@vt.edu>
104 * fstab.c: Added; wrap <fstab.h> functions: getfsent(3), getfsfile(3),
106 * map.c: Add new conversion functions for SyslogOptions, SyslogFacility,
107 SyslogLevel; see syslog(3) for details.
108 * map.h: Add new conversion functions and values for SyslogOptions,
109 SyslogFacility, SyslogLevel; see syslog(3) for details.
110 * Makefile.am (MPH_SOURCE): add fstab.c, sys-statvfs.c, x-struct-str.c.
111 * mph.h: Document location for Mac OS X man page documentation; add
112 MPH_INTERNAL macro for intra-library function calls (for functions that
113 shouldn't be exported from libMonoPosixHelper.so); declare
114 _mph_copy_structure_strings().
115 * pwd.c: Use _mph_copy_structure_strings() to copy strings embedded within
117 * sys-statvfs.c: Added; wrap <sys/statvfs.h> functions statvfs(2),
118 fstatvfs(2), and (to complicate things) implement (f)statvfs(2) in terms
119 of (f)statfs(2) on Mac OS X (which lacks the -vfs calls).
120 * x-struct-str.c: implements _mph_copy_structure_strings(), which is a
121 generalized interface to copy strings between structures (as is needed in
124 Thu Dec 23 14:58:09 EST 2004 Paolo Molaro <lupus@ximian.com>
126 * serial.c: remove mono calls from here: they break the build
127 and they don't belong here.
129 2004-12-21 Chris Toshok <toshok@ximian.com>
131 * serial.c: initial import of System.IO.Ports pinvoke stuff.
133 * Makefile.am (MPH_SOURCE): add serial.c.
135 2004-11-30 Jonathan Pryor <jonpryor@vt.edu>
137 * mph.h: Use <glib.h>, not <glib/gtypes.h>, as the HP/UX compiler needs
138 <glib/gutils.h> to handle the `inline' keyword.
140 2004-11-27 Miguel de Icaza <miguel@ximian.com>
142 * Makefile.am (MPH_SOURCE): Add macros.c for compatibility with
143 the old API (currently the old API would fail).
145 2004-11-25 Raja R Harinath <rharinath@novell.com>
147 * Makefile.am (MPH_SOURCE): Distribute old-map.h and map.h.
149 2004-11-18 Jonathan Pryor <jonpryor@vt.edu>
151 * stdio.c: Add fread(3) and fwrite(3) wrappers.
153 2004-11-16 Jonathan Pryor <jonpryor@vt.edu>
155 * Makefile.am: Remove sys-mount.c from the build.
156 * sys-mount.c: Delete. We're not exporting mount-related functionality
157 anymore. It's not remotely portable, and trying to make it portable is a
159 * map.c: Remove mount- and umount-related conversion functions.
161 2004-11-14 Geoff Norton <gnorton@customerdna.com>
163 * mph.h: Revernt jonp's removal of MPH_ON_BSD define as sys-mount.c
164 and unistd.c still check this configuration value. This allows mono
165 to build on *BSD again.
167 2004-11-12 Jonathan Pryor <jonpryor@vt.edu>
169 * dirent.c: Only access members which exist on the target
171 * errno.c: Only export strerror_r if it's available.
172 * mph.h: Remove MPH_ON_BSD; use the configure checks instead.
173 * sys-mman.c: Only export posix_madvise if it's available.
174 * unistd.c: Only export sethostid if it's available.
176 2004-11-08 Jonathan Pryor <jonpryor@vt.edu>
178 * Makefile.am: Add sys-sendfile.c to the build.
179 * dirent.c, fcntl.c, unistd.c: Remove
180 compile-time checks for -64 apis (pread64, etc.), as they're
181 superfluous. GLibc #defines the functions to the appropriate
182 -64 counterpart when necessary, and Darwin is intrinsically
183 large-file-aware, so manual checking on my part is redundant and
185 * grp.c: Add checks for non-portable functions getgrnam_r,
187 * pwd.c: Add checks for non-portable functions getpwnam_r,
189 * map.c: Remove <poll.h> include. Building on Tiger (Mac
190 OS X 10.4 beta) breaks when both <poll.h> and <sys/poll.h> are
191 included, so only use <sys/poll.h>.
192 * mph.h: Clean up macro handling for type overflow checking.
194 2004-11-05 Jonathan Pryor <jonpryor@vt.edu>
196 * .cvsignore: Ignore generated files.
197 * Makefile.am: Add new INCLUDE directives (for glib
198 headers), source; bump library version (so we don't clobber
199 previous versions of libMonoPosixHelper.so).
200 * dirent.c: New file; <dirent.h> wrapper functions;
201 BSD portability fixes.
202 * errno.c: New file; <errno.h> wrapper functions
203 * fcntl.c: New file; <fcntl.h> wrapper functions;
204 BSD portability fixes.
205 * grp.c: New file; <grp.h> wrapper functions;
206 BSD portability fixes.
207 * map.c: Updated macro mapping functions (more enums
208 mapped, more error checking, etc.).
209 * map.h: Updated macro mapping functions
210 * old-map.c: Previous map.c implementation, for backward
211 compatibility Remove spurious warning about redefining
213 * old-map.h: Previous map.h implementation, for backward
215 * mph.h: New file; Utility types, macros;
216 BSD portability fixes.
217 * pwd.c: New file; <pwd.h> wrapper functions;
218 BSD portability fixes.
219 * stdio.c: New file; <stdio.h> wrapper functions
220 * stdlib.c: New file; <stdlib.h> wrapper functions
221 * sys-mman.c: New file; <sys/mman.h> wrapper functions
222 * sys-mount.c: New file; <sys/mount.h> wrapper functions;
223 BSD portability fixes.
224 * sys-sendfile.c: New file; <sys/sendfile.h> wrapper
225 functions; BSD portability fixes.
226 * sys-stat.c: New file; <sys/stat.h> wrapper functions
227 * sys-wait.c: New file; <sys/wait.h> wrapper functions
228 * time.c: New file; <time.h> wrapper functions;
229 BSD portability fixes.
230 * unistd.c: New file; <unistd.h> wrapper functions;
231 BSD portability fixes.