ee783f9806c702e7da4509f6e398e129c9638609
[mono.git] / support / ChangeLog
1 2005-01-04  Jonathan Pryor  <jonpryor@vt.edu>
2
3         * Makefile.am: Add libnsl to LIBS.  Hopefully this will let sparc link.
4         * mph.h: Make MPH_INTERNAL conditional on __GNUC__.
5
6 2005-01-03  Jonathan Pryor  <jonpryor@vt.edu>
7
8         * signal.c, stdio.c: Remove "function declaration isn't a prototype" warnings.
9         * unistd.c: Check for presence of gethostname and sethostname.
10
11 2005-01-03  Jonathan Pryor  <jonpryor@vt.edu>
12
13         * mph.h, x-struct-str.c: Add "const" to parameters to remove 
14           "warning: passing arg [2|4]...discards qualifiers" message.
15
16 2005-01-03  Jonathan Pryor  <jonpryor@vt.edu>
17
18         * fstab.c: Remove some sparc compiler warnings.
19
20 2005-01-03  Jonathan Pryor  <jonpryor@vt.edu>
21
22         * fstab.c: Solaris doesn't support getfsent(3), but it provides equivalent
23           functionality in getvfsent(3C).  Implement Solaris support.
24
25 2005-01-02  Jonathan Pryor  <jonpryor@vt.edu>
26
27         * stdio.c: More wrapper functions.  I missed a few macros...  This should
28           complete all macro's defined in <stdio.h> for C99.
29
30 2004-12-30  Jonathan Pryor  <jonpryor@vt.edu>
31
32         * stdio.c: More wrapper functions.  This should complete C89's <stdio.h>
33           requirements.
34
35 2004-12-30  Jonathan Pryor  <jonpryor@vt.edu>
36
37         * sys-statvfs.c: Further proving that changing code without compiling is
38           dangerous business...  Compiler fix for OS X.
39
40 2004-12-30  Jonathan Pryor  <jonpryor@vt.edu>
41
42         * signal.c: Mac OS X portability fixes -- it doesn't provide sighandler_t!
43
44 2004-12-30  Jonathan Pryor  <jonpryor@vt.edu>
45
46         * Makefile.am: Add signal.c to the build.
47         * signal.c: Added.  Contains helper functions to wrap signal(2).
48
49 2004-12-30  Jonathan Pryor  <jonpryor@vt.edu>
50
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).
53
54 2004-12-29  Jonathan Pryor  <jonpryor@vt.edu>
55
56         * unistd.c: Null-terminate the string returned by readlink(2).  This works
57           around a marshaler "issue".
58
59 2004-12-28  Jonathan Pryor  <jonpryor@vt.edu>
60
61         * Makefile.am: Add GLIB_LIBS to the LIBS line, since we require linking
62           against glib-2.0 (to use g_assert()).
63
64 2004-12-28  Jonathan Pryor  <jonpryor@vt.edu>
65
66         * fstab.c: Added; wrap <fstab.h> functions: getfsent(3), getfsfile(3), 
67           getfsspec(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
78           struct passwd.
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
84           pwd.c and fstab.c).
85
86 Thu Dec 23 14:58:09 EST 2004 Paolo Molaro <lupus@ximian.com>
87
88         * serial.c: remove mono calls from here: they break the build
89         and they don't belong here.
90
91 2004-12-21  Chris Toshok  <toshok@ximian.com>
92
93         * serial.c: initial import of System.IO.Ports pinvoke stuff.
94
95         * Makefile.am (MPH_SOURCE): add serial.c.
96
97 2004-11-30  Jonathan Pryor  <jonpryor@vt.edu>
98
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.
101
102 2004-11-27  Miguel de Icaza  <miguel@ximian.com>
103
104         * Makefile.am (MPH_SOURCE): Add macros.c for compatibility with
105         the old API (currently the old API would fail).
106
107 2004-11-25  Raja R Harinath  <rharinath@novell.com>
108
109         * Makefile.am (MPH_SOURCE): Distribute old-map.h and map.h.
110
111 2004-11-18  Jonathan Pryor  <jonpryor@vt.edu>
112
113         * stdio.c: Add fread(3) and fwrite(3) wrappers.
114
115 2004-11-16  Jonathan Pryor  <jonpryor@vt.edu>
116
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
120           doomed idea.
121         * map.c: Remove mount- and umount-related conversion functions.
122
123 2004-11-14  Geoff Norton  <gnorton@customerdna.com>
124         
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.
128
129 2004-11-12  Jonathan Pryor <jonpryor@vt.edu>
130
131         * dirent.c: Only access members which exist on the target
132           platform.
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.
137
138 2004-11-08  Jonathan Pryor <jonpryor@vt.edu>
139
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
146           unnecessary.
147         * grp.c: Add checks for non-portable functions getgrnam_r,
148           getgrgid_r.
149         * pwd.c: Add checks for non-portable functions getpwnam_r,
150           getpwuid_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.
155
156 2004-11-05  Jonathan Pryor <jonpryor@vt.edu>
157
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
174           _GNU_SOURCE.
175         * old-map.h: Previous map.h implementation, for backward
176         compatibility
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.
194