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