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