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