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