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