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