1 2004-12-30 Jonathan Pryor <jonpryor@vt.edu>
3 * signal.c: Mac OS X portability fixes -- it doesn't provide sighandler_t!
5 2004-12-30 Jonathan Pryor <jonpryor@vt.edu>
7 * Makefile.am: Add signal.c to the build.
8 * signal.c: Added. Contains helper functions to wrap signal(2).
10 2004-12-30 Jonathan Pryor <jonpryor@vt.edu>
12 * sys-statvfs.c: Fix Mac OS X build (statfs.f_frsize doesn't exist on OSX;
13 f_fsid isn't an integral type; fstatfs needs to use fpathconf).
15 2004-12-29 Jonathan Pryor <jonpryor@vt.edu>
17 * unistd.c: Null-terminate the string returned by readlink(2). This works
18 around a marshaler "issue".
20 2004-12-28 Jonathan Pryor <jonpryor@vt.edu>
22 * Makefile.am: Add GLIB_LIBS to the LIBS line, since we require linking
23 against glib-2.0 (to use g_assert()).
25 2004-12-28 Jonathan Pryor <jonpryor@vt.edu>
27 * fstab.c: Added; wrap <fstab.h> functions: getfsent(3), getfsfile(3),
29 * map.c: Add new conversion functions for SyslogOptions, SyslogFacility,
30 SyslogLevel; see syslog(3) for details.
31 * map.h: Add new conversion functions and values for SyslogOptions,
32 SyslogFacility, SyslogLevel; see syslog(3) for details.
33 * Makefile.am (MPH_SOURCE): add fstab.c, sys-statvfs.c, x-struct-str.c.
34 * mph.h: Document location for Mac OS X man page documentation; add
35 MPH_INTERNAL macro for intra-library function calls (for functions that
36 shouldn't be exported from libMonoPosixHelper.so); declare
37 _mph_copy_structure_strings().
38 * pwd.c: Use _mph_copy_structure_strings() to copy strings embedded within
40 * sys-statvfs.c: Added; wrap <sys/statvfs.h> functions statvfs(2),
41 fstatvfs(2), and (to complicate things) implement (f)statvfs(2) in terms
42 of (f)statfs(2) on Mac OS X (which lacks the -vfs calls).
43 * x-struct-str.c: implements _mph_copy_structure_strings(), which is a
44 generalized interface to copy strings between structures (as is needed in
47 Thu Dec 23 14:58:09 EST 2004 Paolo Molaro <lupus@ximian.com>
49 * serial.c: remove mono calls from here: they break the build
50 and they don't belong here.
52 2004-12-21 Chris Toshok <toshok@ximian.com>
54 * serial.c: initial import of System.IO.Ports pinvoke stuff.
56 * Makefile.am (MPH_SOURCE): add serial.c.
58 2004-11-30 Jonathan Pryor <jonpryor@vt.edu>
60 * mph.h: Use <glib.h>, not <glib/gtypes.h>, as the HP/UX compiler needs
61 <glib/gutils.h> to handle the `inline' keyword.
63 2004-11-27 Miguel de Icaza <miguel@ximian.com>
65 * Makefile.am (MPH_SOURCE): Add macros.c for compatibility with
66 the old API (currently the old API would fail).
68 2004-11-25 Raja R Harinath <rharinath@novell.com>
70 * Makefile.am (MPH_SOURCE): Distribute old-map.h and map.h.
72 2004-11-18 Jonathan Pryor <jonpryor@vt.edu>
74 * stdio.c: Add fread(3) and fwrite(3) wrappers.
76 2004-11-16 Jonathan Pryor <jonpryor@vt.edu>
78 * Makefile.am: Remove sys-mount.c from the build.
79 * sys-mount.c: Delete. We're not exporting mount-related functionality
80 anymore. It's not remotely portable, and trying to make it portable is a
82 * map.c: Remove mount- and umount-related conversion functions.
84 2004-11-14 Geoff Norton <gnorton@customerdna.com>
86 * mph.h: Revernt jonp's removal of MPH_ON_BSD define as sys-mount.c
87 and unistd.c still check this configuration value. This allows mono
88 to build on *BSD again.
90 2004-11-12 Jonathan Pryor <jonpryor@vt.edu>
92 * dirent.c: Only access members which exist on the target
94 * errno.c: Only export strerror_r if it's available.
95 * mph.h: Remove MPH_ON_BSD; use the configure checks instead.
96 * sys-mman.c: Only export posix_madvise if it's available.
97 * unistd.c: Only export sethostid if it's available.
99 2004-11-08 Jonathan Pryor <jonpryor@vt.edu>
101 * Makefile.am: Add sys-sendfile.c to the build.
102 * dirent.c, fcntl.c, unistd.c: Remove
103 compile-time checks for -64 apis (pread64, etc.), as they're
104 superfluous. GLibc #defines the functions to the appropriate
105 -64 counterpart when necessary, and Darwin is intrinsically
106 large-file-aware, so manual checking on my part is redundant and
108 * grp.c: Add checks for non-portable functions getgrnam_r,
110 * pwd.c: Add checks for non-portable functions getpwnam_r,
112 * map.c: Remove <poll.h> include. Building on Tiger (Mac
113 OS X 10.4 beta) breaks when both <poll.h> and <sys/poll.h> are
114 included, so only use <sys/poll.h>.
115 * mph.h: Clean up macro handling for type overflow checking.
117 2004-11-05 Jonathan Pryor <jonpryor@vt.edu>
119 * .cvsignore: Ignore generated files.
120 * Makefile.am: Add new INCLUDE directives (for glib
121 headers), source; bump library version (so we don't clobber
122 previous versions of libMonoPosixHelper.so).
123 * dirent.c: New file; <dirent.h> wrapper functions;
124 BSD portability fixes.
125 * errno.c: New file; <errno.h> wrapper functions
126 * fcntl.c: New file; <fcntl.h> wrapper functions;
127 BSD portability fixes.
128 * grp.c: New file; <grp.h> wrapper functions;
129 BSD portability fixes.
130 * map.c: Updated macro mapping functions (more enums
131 mapped, more error checking, etc.).
132 * map.h: Updated macro mapping functions
133 * old-map.c: Previous map.c implementation, for backward
134 compatibility Remove spurious warning about redefining
136 * old-map.h: Previous map.h implementation, for backward
138 * mph.h: New file; Utility types, macros;
139 BSD portability fixes.
140 * pwd.c: New file; <pwd.h> wrapper functions;
141 BSD portability fixes.
142 * stdio.c: New file; <stdio.h> wrapper functions
143 * stdlib.c: New file; <stdlib.h> wrapper functions
144 * sys-mman.c: New file; <sys/mman.h> wrapper functions
145 * sys-mount.c: New file; <sys/mount.h> wrapper functions;
146 BSD portability fixes.
147 * sys-sendfile.c: New file; <sys/sendfile.h> wrapper
148 functions; BSD portability fixes.
149 * sys-stat.c: New file; <sys/stat.h> wrapper functions
150 * sys-wait.c: New file; <sys/wait.h> wrapper functions
151 * time.c: New file; <time.h> wrapper functions;
152 BSD portability fixes.
153 * unistd.c: New file; <unistd.h> wrapper functions;
154 BSD portability fixes.