1 2005-02-03 Jonathan Pryor <jonpryor@vt.edu>
3 * Makefile.am (MPH_C_SOURCE): Move errno.c into MPH_C_SOURCE, so it's built
4 on Windows as well as Unix.
6 2005-02-03 Jonathan Pryor <jonpryor@vt.edu>
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. :-)
13 2005-01-25 Jonathan Pryor <jonpryor@vt.edu>
15 * macros.c: Use gint64, not long, to match C# declaration. Fixes 71152.
17 2005-01-23 Geoff Norton <gnorton@customerdna.com>
19 * dirent.c: Include <unistd.h> to bring off_t in on gcc4.0+OSX
21 2005-01-13 Jonathan Pryor <jonpryor@vt.edu>
23 * map.h: Correct Mono_Posix_OpenFlags values (they should now match
24 x86 linux); remove unused enumerations (MountFlags, etc.).
26 2005-01-13 Jonathan Pryor <jonpryor@vt.edu>
28 * fstab.c: Fix HPUX support. HPUX includes both <fstab.h> and
29 <checkpoint.h>, so we need to give preference to <checkpoint.h>.
31 2005-01-05 Jonathan Pryor <jonpryor@vt.edu>
33 * fstab.c: Add support for HPUX, which uses <checklist.h>.
35 2005-01-05 Jonathan Pryor <jonpryor@vt.edu>
37 * map.c: Continuing my ineptitude... <sys/wait.h> isn't on Win32.
38 * mph.h: Win32 doesn't define EOVERFLOW, either. Define it.
40 2005-01-05 Jonathan Pryor <jonpryor@vt.edu>
42 * map.c: Include <config.h> so we can check for PLATFORM_WIN32.
44 2005-01-05 Jonathan Pryor <jonpryor@vt.edu>
46 * map.c: Fix Win32 build break. Win32 doesn't have all the sys/* headers.
48 2005-01-05 Jonathan Pryor <jonpryor@vt.edu>
50 * serial.c: HPUX compiler fix.
51 * stdlib.c: Add C-defined macro wrappers.
53 2005-01-04 Jonathan Pryor <jonpryor@vt.edu>
55 * stdio.c: Add wrapper for C99's snprintf(3).
57 2005-01-04 Jonathan Pryor <jonpryor@vt.edu>
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.
64 2005-01-04 Raja R Harinath <rharinath@novell.com>
66 * Makefile.am (LIBS): Remove. Was overriding results of configure check.
67 (libMonoPosixHelper_la_LIBADD): List $(GLIB_LIBS) here.
69 2005-01-04 Jonathan Pryor <jonpryor@vt.edu>
71 * Makefile.am: Add libnsl to LIBS. Hopefully this will let sparc link.
72 * mph.h: Make MPH_INTERNAL conditional on __GNUC__.
74 2005-01-03 Jonathan Pryor <jonpryor@vt.edu>
76 * signal.c, stdio.c: Remove "function declaration isn't a prototype" warnings.
77 * unistd.c: Check for presence of gethostname and sethostname.
79 2005-01-03 Jonathan Pryor <jonpryor@vt.edu>
81 * mph.h, x-struct-str.c: Add "const" to parameters to remove
82 "warning: passing arg [2|4]...discards qualifiers" message.
84 2005-01-03 Jonathan Pryor <jonpryor@vt.edu>
86 * fstab.c: Remove some sparc compiler warnings.
88 2005-01-03 Jonathan Pryor <jonpryor@vt.edu>
90 * fstab.c: Solaris doesn't support getfsent(3), but it provides equivalent
91 functionality in getvfsent(3C). Implement Solaris support.
93 2005-01-02 Jonathan Pryor <jonpryor@vt.edu>
95 * stdio.c: More wrapper functions. I missed a few macros... This should
96 complete all macro's defined in <stdio.h> for C99.
98 2004-12-30 Jonathan Pryor <jonpryor@vt.edu>
100 * stdio.c: More wrapper functions. This should complete C89's <stdio.h>
103 2004-12-30 Jonathan Pryor <jonpryor@vt.edu>
105 * sys-statvfs.c: Further proving that changing code without compiling is
106 dangerous business... Compiler fix for OS X.
108 2004-12-30 Jonathan Pryor <jonpryor@vt.edu>
110 * signal.c: Mac OS X portability fixes -- it doesn't provide sighandler_t!
112 2004-12-30 Jonathan Pryor <jonpryor@vt.edu>
114 * Makefile.am: Add signal.c to the build.
115 * signal.c: Added. Contains helper functions to wrap signal(2).
117 2004-12-30 Jonathan Pryor <jonpryor@vt.edu>
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).
122 2004-12-29 Jonathan Pryor <jonpryor@vt.edu>
124 * unistd.c: Null-terminate the string returned by readlink(2). This works
125 around a marshaler "issue".
127 2004-12-28 Jonathan Pryor <jonpryor@vt.edu>
129 * Makefile.am: Add GLIB_LIBS to the LIBS line, since we require linking
130 against glib-2.0 (to use g_assert()).
132 2004-12-28 Jonathan Pryor <jonpryor@vt.edu>
134 * fstab.c: Added; wrap <fstab.h> functions: getfsent(3), getfsfile(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
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
154 Thu Dec 23 14:58:09 EST 2004 Paolo Molaro <lupus@ximian.com>
156 * serial.c: remove mono calls from here: they break the build
157 and they don't belong here.
159 2004-12-21 Chris Toshok <toshok@ximian.com>
161 * serial.c: initial import of System.IO.Ports pinvoke stuff.
163 * Makefile.am (MPH_SOURCE): add serial.c.
165 2004-11-30 Jonathan Pryor <jonpryor@vt.edu>
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.
170 2004-11-27 Miguel de Icaza <miguel@ximian.com>
172 * Makefile.am (MPH_SOURCE): Add macros.c for compatibility with
173 the old API (currently the old API would fail).
175 2004-11-25 Raja R Harinath <rharinath@novell.com>
177 * Makefile.am (MPH_SOURCE): Distribute old-map.h and map.h.
179 2004-11-18 Jonathan Pryor <jonpryor@vt.edu>
181 * stdio.c: Add fread(3) and fwrite(3) wrappers.
183 2004-11-16 Jonathan Pryor <jonpryor@vt.edu>
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
189 * map.c: Remove mount- and umount-related conversion functions.
191 2004-11-14 Geoff Norton <gnorton@customerdna.com>
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.
197 2004-11-12 Jonathan Pryor <jonpryor@vt.edu>
199 * dirent.c: Only access members which exist on the target
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.
206 2004-11-08 Jonathan Pryor <jonpryor@vt.edu>
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
215 * grp.c: Add checks for non-portable functions getgrnam_r,
217 * pwd.c: Add checks for non-portable functions getpwnam_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.
224 2004-11-05 Jonathan Pryor <jonpryor@vt.edu>
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
243 * old-map.h: Previous map.h implementation, for backward
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.