1 2008-01-28 Jonathan Pryor <jpryor@novell.com>
3 * Stdlib.cs: Obsolete Stdlib.signal(), as it's not safe; see also:
4 http://lists.ximian.com/pipermail/mono-devel-list/2008-January/026501.html
5 http://lists.ximian.com/pipermail/mono-devel-list/2008-January/026503.html
6 Add SetSignalAction() as a replacement.
8 2008-01-22 Sebastien Pouliot <sebastien@ximian.com>
10 * Syscall.cs: Fix Flock.Equals to avoid NRE (and return false if object
11 is null). Found using Gendarme.
13 2008-01-05 Jonathan Pryor <jonpryor@vt.edu>
15 * Syscall.cs: Add ST_NOEXEC, ST_REMOUNT, ST_BIND to MountFlags. Patch from
16 Joe Dluzen <jdluzen@gmail.com>.
18 2007-12-17 Jonathan Pryor <jonpryor@vt.edu>
20 * Syscall.cs: Bind uname(2).
22 2007-10-25 Jonathan Pryor <jonpryor@vt.edu>
24 * Stdlib.cs: Fix perror(3) so that it works as expected. (Since errno is
25 cleared during P/Invoke, previously Stdlib.perror("") would always print
26 "Success", which isn't very helpful.)
28 2007-06-28 Jonathan Pryor <jonpryor@vt.edu>
30 * NativeConvert.generated.cs: Flush (add TryCopy() methods for Utimbuf).
31 * Syscall.cs: Map Utimbuf to `struct utimbuf'; needed so that Mono.Fuse can
32 rely on Mono.Posix.dll for copying all native types.
34 2006-11-14 Jonathan Pryor <jonpryor@vt.edu>
36 * MapAttribute.cs: Update (changes SuppressFlags to a string holding mask).
37 * Syscall.cs: Specify the mask value for non-bitmask values in
40 2006-10-27 Jonathan Pryor <jonpryor@vt.edu>
42 * MapAttribute.cs: Update (adds SuppressFlags property).
43 * Syscall.cs: Mark non-flags FilePermissions enumeration members so that
44 they aren't treated as bitfields. Impacts e.g. S_IFDIR, S_IFCHR, etc..
46 2006-10-24 Jonathan Pryor <jonpryor@vt.edu>
48 * HeaderAttribute.cs: Removed. Use create-native-map command-line arguments
49 instead of HeaderAttribute.Includes & HeaderAttribute.Defines.
50 * make-map.cs: Moved to mono-tools/create-native-map/src/create-native-map.cs.
51 * MapAttribute.cs: Moved from ../Mono.Unix. Can now be
52 specified on Class, Delegeate, Enum, Field, & Struct (instead of just
53 Enum). Add NativeType property.
54 * NativeConvert.generated.cs: Flush (adds new .TryCopy methods to copy [Map]'d
56 * NativeConvert.cs: Add .TryCopy methods for Statvfs.
57 * Syscall.cs: Remove HeaderAttribute declaration; Markup [Map]'d structure
58 members with [Map] attributes (or MapAttribute subclasses) to specify the
59 native types they correspond to (used by create-native-map).
60 * TypeAttributes.cs: Added; internal subclasses of MapAttribute to help
61 markup structures (e.g. so I can use [blkcnt_t] instead of
62 [Map ("blkcnt_t")], thus minimizing the liklihood of a spelling error).
64 2006-09-15 Jonathan Pryor <jonpryor@vt.edu>
66 * Syscall.cs: "Remove" crypt(3), encrypt(3), setkey(3). These use an
67 encryption algorithm which was broken years ago and could be cracked in
68 minutes on a modern machine. This also removes a libcrypt.so dependency,
69 which means you don't need to have development packages installed to use
70 these either (since "crypt" wasn't <dllmap>'d). These are still present,
71 but marked [Obsolete] and throw a SecurityException when invoked.
73 2006-09-07 Jonathan Pryor <jonpryor@vt.edu>
75 * Syscall.cs: readdir(P) is not thread-safe, so it needs to be locked so
76 that the `struct dirent' it returns is stable.
78 2006-04-06 Jonathan Pryor <jonpryor@vt.edu>
80 * NativeConvert.cs: Fix ToDateTime()/FromDateTime()/ToTimeT()/FromTimeT() so
81 that they take timezones into account. Previously, results would be off
82 by an hour if Daylight Savings Time was in effect. Fixes #78033.
84 2006-03-23 Raja R Harinath <rharinath@novell.com>
86 * NativeConvert.generated.cs: Update after merge.
88 2006-02-25 Marek Safar <marek.safar@seznam.cz>
90 * NativeConvert.generated.cs: Guarded CLSCompliant attribute by NET_2_0
91 until mcs is merged with gmcs.
93 2006-02-21 Marek Safar <marek.safar@seznam.cz>
95 * NativeConvert.generated.cs: Removed duplicated CLSCompliant attribute.
97 2006-01-10 Raja R Harinath <rharinath@novell.com>
99 * Syscall.cs (sys_futimes): Remove buggy custom marshaller on 'fd' parameter.
101 2005-01-09 Jonathan Pryor <jonpryor@vt.edu>
103 * NativeConvert.cs: s/IsType/IsSet/g: deal with UnixFileSystemInfo method
106 2005-01-02 Jonathan Pryor <jonpryor@vt.edu>
108 * Stdlib.cs: s/ACCESS/ACCES/g. I didn't create a badly named errno value, I
109 mis-read EACCES in man pages. I can't read. :-(
111 2005-01-02 Jonathan Pryor <jonpryor@vt.edu>
113 * NativeConvert.generated.cs: Flush (remove Obsolete members).
114 * Syscall.cs: Remove invalid utimes(2) wrapper.
116 2005-01-02 Jonathan Pryor <jonpryor@vt.edu>
118 * Stdlib.cs: s/ACCES/ACCESS/g. How'd I create a badly named errno value?
120 2005-12-29 Jonathan Pryor <jonpryor@vt.edu>
122 * make-map.cs: Properly handle managed arrays in argument lists.
123 * Syscall.cs: Properly bind utimes(2) (the Linux man pages are vague on what
124 it does; the BSD ones are much better). Bind lutimes(2) and futimes(2).
126 2005-12-27 Jonathan Pryor <jonpryor@vt.edu>
128 * Syscall.cs: Include <sys/mman.h> for map.c generation. Fixes #77091.
130 2005-12-27 Jonathan Pryor <jonpryor@vt.edu>
132 * make-map.cs: Always include 2nd parameter of [Obsolete] attributes; mark
133 the [DllImport]ed method with [Obsolete] if the underlying type is
135 * NativeConvert.generated.cs: Flush.
137 2005-12-27 Jonathan Pryor <jonpryor@vt.edu>
139 * FileNameMarshaler.cs: Use UnixMarshal.PtrToStringUnix -- it's faster.
141 2005-11-28 Jonathan Pryor <jonpryor@vt.edu>
143 * Stdlib.cs: Prelink all SignalHandlers passed to Stdlib.signal(). This is
144 so that mono doesn't have to JIT the handler within signal context.
146 2005-11-08 Jonathan Pryor <jonpryor@vt.edu>
148 * Stdlib.cs: Implement IEquatable<FilePosition> for FilePosition.
149 * Syscall.cs: Provide GetHashCode(), Equals(), operator==, operator!= for
150 all structure types. Implement IEquatable<T> for all "value type"
153 2005-11-07 Jonathan Pryor <jonpryor@vt.edu>
155 * Syscall.cs: *xattr functions should use the FileNameMarshaler for filenames.
157 2005-11-07 Jonathan Pryor <jonpryor@vt.edu>
159 * make-map.cs: Always use ordinal string sorting behavior. The string
160 collation sorting has changed, so to keep the mono/support diff sizes down
161 we have to explicitly specify the previous implicit ordering.
163 2005-11-02 Jonathan Pryor <jonpryor@vt.edu>
165 * Syscall.cs: Remove [CLSCompliant(false)] when it isn't needed.
167 2005-11-02 Jonathan Pryor <jonpryor@vt.edu>
169 * FileNameMarshaler.cs: Use UnixMarshal.FreeHeap(). .Free() is obsolete.
171 2005-10-27 Jonathan Pryor <jonpryor@vt.edu>
173 * Stdlib.cs: Correct return type of setbuf(IntPtr, byte*).
174 * Syscall.cs: Remove [Obsolete] SyslogFacility.LOG_USRE member
175 (Mono.Unix.Native hasn't shipped yet, so nobody is using it); correct
176 [Obsolete] comment for getpagesize().
178 2005-10-26 Jonathan Pryor <jonpryor@vt.edu>
180 * FileNameMarshaler.cs: Deal with UnixMarshal method name changes.
182 2005-10-26 Jonathan Pryor <jonpryor@vt.edu>
184 * Stdlib.cs: FilePosition should derive from MarshalByRefObject, for two
185 reasons: (1) it's a recommendation from FxCop that classes implementing
186 IDisposable also derive from MarshalByRefObject; (2) FilePosition is
187 exposed from Mono.Unix.StdioFileStream, which (indirectly) inherits from
188 MarshalByRefObject. Fix Equals() so it doesn't rely on Reflection.
190 2005-10-25 Jonathan Pryor <jonpryor@vt.edu>
192 * FileNameMarshaler.cs: Custom marshaler to marshal filenames using
193 Mono.Unix.UnixEncoding. A custom marshaler is used to remove the need to
194 have ~6 lines of boilerplate on every method that takes filenames.
195 * Stdlib.cs, Syscall.cs: Filenames need to be marshaled through the
196 FileNameMarshaler, which will encode/decode filenames with UnixEncoder.
198 2005-10-14 Jonathan Pryor <jonpryor@vt.edu>
200 * Stdlib.cs, Syscall.cs: Flush naming convention documentation.
202 2005-10-14 Jonathan Pryor <jonpryor@vt.edu>
204 * NativeConvert.generated.cs: Flush currently generated version.
206 2005-10-14 Jonathan Pryor <jonpryor@vt.edu>
208 * make-map.cs: Fix documentation comment.
209 * Stdlib.cs: Fix export of XprintfFunctions.syslog(); make SetLastError()
210 protected (normal user code shouldn't call it, as it isn't safe);
211 replace functions which return `void' with functions which return `int'
212 (adding them to MonoPosixHelper.so as well) -- since users can't reliably
213 use SetLastError(), they need the "normal" error detection mechanism;
214 correct the strlen(3) export.
216 - s/PathConf/PathconfName/, s/SysConf/SysconfName/, s/ConfStr/ConfstrName/
217 to follow documented enumeration naming conventions.
218 - replace functions which return `void' with functions which return `int'
219 (adding them to MonoPosixHelper.so as well) -- since users can't reliably
220 use SetLastError(), they need the "normal" error detection mechanism;
222 2005-10-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
224 * Stdlib.cs: add strlen() to fix the build.
226 2005-09-23 Jonathan Pryor <jonpryor@vt.edu>
228 * make-map.cs: Generate NativeConvert documentation XML fragments for use in
231 2005-09-20 Jonathan Pryor <jonpryor@vt.edu>
233 * ChangeLog: Started.
234 * CdeclFunction.cs: Copied from ../Mono.Unix; change namespace.
235 * HeaderAttribute.cs: Added
236 * make-map.cs: Copied from ../Mono.Unix; sort type and member names in
237 output (makes for a more stable svn history, as types/members won't change
238 position anymore within generated code); look for HeaderAttribute not
239 IncludeAttribute for getting headers & #defines; generate NativeConvert
241 * NativeConvert.cs: Copied from ../Mono.Unix; change namespace; turn into a
242 partial class; Remove generated code (generated code is in
243 NativeConvert.generated.cs).
244 * NativeConvert.generated.cs: Added
245 * Stdlib.cs: Copied from ../Mono.Unix; change namespace; rename Error to
246 Errno (as Error is a "reserved word" in FxCop); [CLSCompliant(false)]
248 * Syscall.cs: Use HeaderAttribute, not IncludeAttribute, for CLS compliance;
249 add [CLSCompliant(false)] as needed; use NativeConvert, not UnixConvert.