1 2005-01-04 Jonathan Pryor <jonpryor@vt.edu>
3 * Makefile.am: Add libnsl to LIBS. Hopefully this will let sparc link.
4 * mph.h: Make MPH_INTERNAL conditional on __GNUC__.
6 2005-01-03 Jonathan Pryor <jonpryor@vt.edu>
8 * signal.c, stdio.c: Remove "function declaration isn't a prototype" warnings.
9 * unistd.c: Check for presence of gethostname and sethostname.
11 2005-01-03 Jonathan Pryor <jonpryor@vt.edu>
13 * mph.h, x-struct-str.c: Add "const" to parameters to remove
14 "warning: passing arg [2|4]...discards qualifiers" message.
16 2005-01-03 Jonathan Pryor <jonpryor@vt.edu>
18 * fstab.c: Remove some sparc compiler warnings.
20 2005-01-03 Jonathan Pryor <jonpryor@vt.edu>
22 * fstab.c: Solaris doesn't support getfsent(3), but it provides equivalent
23 functionality in getvfsent(3C). Implement Solaris support.
25 2005-01-02 Jonathan Pryor <jonpryor@vt.edu>
27 * stdio.c: More wrapper functions. I missed a few macros... This should
28 complete all macro's defined in <stdio.h> for C99.
30 2004-12-30 Jonathan Pryor <jonpryor@vt.edu>
32 * stdio.c: More wrapper functions. This should complete C89's <stdio.h>
35 2004-12-30 Jonathan Pryor <jonpryor@vt.edu>
37 * sys-statvfs.c: Further proving that changing code without compiling is
38 dangerous business... Compiler fix for OS X.
40 2004-12-30 Jonathan Pryor <jonpryor@vt.edu>
42 * signal.c: Mac OS X portability fixes -- it doesn't provide sighandler_t!
44 2004-12-30 Jonathan Pryor <jonpryor@vt.edu>
46 * Makefile.am: Add signal.c to the build.
47 * signal.c: Added. Contains helper functions to wrap signal(2).
49 2004-12-30 Jonathan Pryor <jonpryor@vt.edu>
51 * sys-statvfs.c: Fix Mac OS X build (statfs.f_frsize doesn't exist on OSX;
52 f_fsid isn't an integral type; fstatfs needs to use fpathconf).
54 2004-12-29 Jonathan Pryor <jonpryor@vt.edu>
56 * unistd.c: Null-terminate the string returned by readlink(2). This works
57 around a marshaler "issue".
59 2004-12-28 Jonathan Pryor <jonpryor@vt.edu>
61 * Makefile.am: Add GLIB_LIBS to the LIBS line, since we require linking
62 against glib-2.0 (to use g_assert()).
64 2004-12-28 Jonathan Pryor <jonpryor@vt.edu>
66 * fstab.c: Added; wrap <fstab.h> functions: getfsent(3), getfsfile(3),
68 * map.c: Add new conversion functions for SyslogOptions, SyslogFacility,
69 SyslogLevel; see syslog(3) for details.
70 * map.h: Add new conversion functions and values for SyslogOptions,
71 SyslogFacility, SyslogLevel; see syslog(3) for details.
72 * Makefile.am (MPH_SOURCE): add fstab.c, sys-statvfs.c, x-struct-str.c.
73 * mph.h: Document location for Mac OS X man page documentation; add
74 MPH_INTERNAL macro for intra-library function calls (for functions that
75 shouldn't be exported from libMonoPosixHelper.so); declare
76 _mph_copy_structure_strings().
77 * pwd.c: Use _mph_copy_structure_strings() to copy strings embedded within
79 * sys-statvfs.c: Added; wrap <sys/statvfs.h> functions statvfs(2),
80 fstatvfs(2), and (to complicate things) implement (f)statvfs(2) in terms
81 of (f)statfs(2) on Mac OS X (which lacks the -vfs calls).
82 * x-struct-str.c: implements _mph_copy_structure_strings(), which is a
83 generalized interface to copy strings between structures (as is needed in
86 Thu Dec 23 14:58:09 EST 2004 Paolo Molaro <lupus@ximian.com>
88 * serial.c: remove mono calls from here: they break the build
89 and they don't belong here.
91 2004-12-21 Chris Toshok <toshok@ximian.com>
93 * serial.c: initial import of System.IO.Ports pinvoke stuff.
95 * Makefile.am (MPH_SOURCE): add serial.c.
97 2004-11-30 Jonathan Pryor <jonpryor@vt.edu>
99 * mph.h: Use <glib.h>, not <glib/gtypes.h>, as the HP/UX compiler needs
100 <glib/gutils.h> to handle the `inline' keyword.
102 2004-11-27 Miguel de Icaza <miguel@ximian.com>
104 * Makefile.am (MPH_SOURCE): Add macros.c for compatibility with
105 the old API (currently the old API would fail).
107 2004-11-25 Raja R Harinath <rharinath@novell.com>
109 * Makefile.am (MPH_SOURCE): Distribute old-map.h and map.h.
111 2004-11-18 Jonathan Pryor <jonpryor@vt.edu>
113 * stdio.c: Add fread(3) and fwrite(3) wrappers.
115 2004-11-16 Jonathan Pryor <jonpryor@vt.edu>
117 * Makefile.am: Remove sys-mount.c from the build.
118 * sys-mount.c: Delete. We're not exporting mount-related functionality
119 anymore. It's not remotely portable, and trying to make it portable is a
121 * map.c: Remove mount- and umount-related conversion functions.
123 2004-11-14 Geoff Norton <gnorton@customerdna.com>
125 * mph.h: Revernt jonp's removal of MPH_ON_BSD define as sys-mount.c
126 and unistd.c still check this configuration value. This allows mono
127 to build on *BSD again.
129 2004-11-12 Jonathan Pryor <jonpryor@vt.edu>
131 * dirent.c: Only access members which exist on the target
133 * errno.c: Only export strerror_r if it's available.
134 * mph.h: Remove MPH_ON_BSD; use the configure checks instead.
135 * sys-mman.c: Only export posix_madvise if it's available.
136 * unistd.c: Only export sethostid if it's available.
138 2004-11-08 Jonathan Pryor <jonpryor@vt.edu>
140 * Makefile.am: Add sys-sendfile.c to the build.
141 * dirent.c, fcntl.c, unistd.c: Remove
142 compile-time checks for -64 apis (pread64, etc.), as they're
143 superfluous. GLibc #defines the functions to the appropriate
144 -64 counterpart when necessary, and Darwin is intrinsically
145 large-file-aware, so manual checking on my part is redundant and
147 * grp.c: Add checks for non-portable functions getgrnam_r,
149 * pwd.c: Add checks for non-portable functions getpwnam_r,
151 * map.c: Remove <poll.h> include. Building on Tiger (Mac
152 OS X 10.4 beta) breaks when both <poll.h> and <sys/poll.h> are
153 included, so only use <sys/poll.h>.
154 * mph.h: Clean up macro handling for type overflow checking.
156 2004-11-05 Jonathan Pryor <jonpryor@vt.edu>
158 * .cvsignore: Ignore generated files.
159 * Makefile.am: Add new INCLUDE directives (for glib
160 headers), source; bump library version (so we don't clobber
161 previous versions of libMonoPosixHelper.so).
162 * dirent.c: New file; <dirent.h> wrapper functions;
163 BSD portability fixes.
164 * errno.c: New file; <errno.h> wrapper functions
165 * fcntl.c: New file; <fcntl.h> wrapper functions;
166 BSD portability fixes.
167 * grp.c: New file; <grp.h> wrapper functions;
168 BSD portability fixes.
169 * map.c: Updated macro mapping functions (more enums
170 mapped, more error checking, etc.).
171 * map.h: Updated macro mapping functions
172 * old-map.c: Previous map.c implementation, for backward
173 compatibility Remove spurious warning about redefining
175 * old-map.h: Previous map.h implementation, for backward
177 * mph.h: New file; Utility types, macros;
178 BSD portability fixes.
179 * pwd.c: New file; <pwd.h> wrapper functions;
180 BSD portability fixes.
181 * stdio.c: New file; <stdio.h> wrapper functions
182 * stdlib.c: New file; <stdlib.h> wrapper functions
183 * sys-mman.c: New file; <sys/mman.h> wrapper functions
184 * sys-mount.c: New file; <sys/mount.h> wrapper functions;
185 BSD portability fixes.
186 * sys-sendfile.c: New file; <sys/sendfile.h> wrapper
187 functions; BSD portability fixes.
188 * sys-stat.c: New file; <sys/stat.h> wrapper functions
189 * sys-wait.c: New file; <sys/wait.h> wrapper functions
190 * time.c: New file; <time.h> wrapper functions;
191 BSD portability fixes.
192 * unistd.c: New file; <unistd.h> wrapper functions;
193 BSD portability fixes.