* NativeConvert.cs: Fix ToDateTime()/FromDateTime()/ToTimeT()/FromTimeT() so
[mono.git] / mcs / class / Mono.Posix / Mono.Unix.Native / ChangeLog
1 2006-04-06  Jonathan Pryor  <jonpryor@vt.edu>
2
3         * NativeConvert.cs: Fix ToDateTime()/FromDateTime()/ToTimeT()/FromTimeT() so
4           that they take timezones into account.  Previously, results would be off
5           by an hour if Daylight Savings Time was in effect.  Fixes #78033.
6
7 2006-03-23  Raja R Harinath  <rharinath@novell.com>
8
9         * NativeConvert.generated.cs: Update after merge.
10
11 2006-02-25  Marek Safar  <marek.safar@seznam.cz>
12
13         * NativeConvert.generated.cs: Guarded CLSCompliant attribute by NET_2_0
14         until mcs is merged with gmcs.
15
16 2006-02-21  Marek Safar  <marek.safar@seznam.cz>
17
18         * NativeConvert.generated.cs: Removed duplicated CLSCompliant attribute.
19
20 2006-01-10  Raja R Harinath  <rharinath@novell.com>
21
22         * Syscall.cs (sys_futimes): Remove buggy custom marshaller on 'fd' parameter.
23
24 2005-01-09  Jonathan Pryor <jonpryor@vt.edu>
25
26         * NativeConvert.cs: s/IsType/IsSet/g: deal with UnixFileSystemInfo method 
27           name change.
28
29 2005-01-02  Jonathan Pryor <jonpryor@vt.edu>
30
31         * Stdlib.cs: s/ACCESS/ACCES/g.  I didn't create a badly named errno value, I
32           mis-read EACCES in man pages.  I can't read. :-(
33
34 2005-01-02  Jonathan Pryor <jonpryor@vt.edu>
35
36         * NativeConvert.generated.cs: Flush (remove Obsolete members).
37         * Syscall.cs: Remove invalid utimes(2) wrapper.
38
39 2005-01-02  Jonathan Pryor <jonpryor@vt.edu>
40
41         * Stdlib.cs: s/ACCES/ACCESS/g.  How'd I create a badly named errno value?
42
43 2005-12-29  Jonathan Pryor <jonpryor@vt.edu>
44
45         * make-map.cs: Properly handle managed arrays in argument lists.
46         * Syscall.cs: Properly bind utimes(2) (the Linux man pages are vague on what
47           it does; the BSD ones are much better).  Bind lutimes(2) and futimes(2).
48
49 2005-12-27  Jonathan Pryor <jonpryor@vt.edu>
50
51         * Syscall.cs: Include <sys/mman.h> for map.c generation.  Fixes #77091.
52
53 2005-12-27  Jonathan Pryor <jonpryor@vt.edu>
54
55         * make-map.cs: Always include 2nd parameter of [Obsolete] attributes; mark
56           the [DllImport]ed method with [Obsolete] if the underlying type is
57           [Obsolete].
58         * NativeConvert.generated.cs: Flush.
59
60 2005-12-27  Jonathan Pryor <jonpryor@vt.edu>
61
62         * FileNameMarshaler.cs: Use UnixMarshal.PtrToStringUnix -- it's faster.
63
64 2005-11-28  Jonathan Pryor <jonpryor@vt.edu>
65
66         * Stdlib.cs: Prelink all SignalHandlers passed to Stdlib.signal().  This is
67           so that mono doesn't have to JIT the handler within signal context.
68
69 2005-11-08  Jonathan Pryor <jonpryor@vt.edu>
70
71         * Stdlib.cs: Implement IEquatable<FilePosition> for FilePosition.
72         * Syscall.cs: Provide GetHashCode(), Equals(), operator==, operator!= for
73           all structure types.  Implement IEquatable<T> for all "value type" 
74           structs and classes.
75
76 2005-11-07  Jonathan Pryor <jonpryor@vt.edu>
77
78         * Syscall.cs: *xattr functions should use the FileNameMarshaler for filenames.
79
80 2005-11-07  Jonathan Pryor <jonpryor@vt.edu>
81
82         * make-map.cs: Always use ordinal string sorting behavior.  The string
83           collation sorting has changed, so to keep the mono/support diff sizes down
84           we have to explicitly specify the previous implicit ordering.
85
86 2005-11-02  Jonathan Pryor <jonpryor@vt.edu>
87
88         * Syscall.cs: Remove [CLSCompliant(false)] when it isn't needed.
89
90 2005-11-02  Jonathan Pryor <jonpryor@vt.edu>
91
92         * FileNameMarshaler.cs: Use UnixMarshal.FreeHeap().  .Free() is obsolete.
93
94 2005-10-27  Jonathan Pryor <jonpryor@vt.edu>
95
96         * Stdlib.cs: Correct return type of setbuf(IntPtr, byte*).
97         * Syscall.cs: Remove [Obsolete] SyslogFacility.LOG_USRE member
98           (Mono.Unix.Native hasn't shipped yet, so nobody is using it); correct
99           [Obsolete] comment for getpagesize().
100
101 2005-10-26  Jonathan Pryor <jonpryor@vt.edu>
102
103         * FileNameMarshaler.cs: Deal with UnixMarshal method name changes.
104
105 2005-10-26  Jonathan Pryor <jonpryor@vt.edu>
106
107         * Stdlib.cs: FilePosition should derive from MarshalByRefObject, for two
108           reasons: (1) it's a recommendation from FxCop that classes implementing
109           IDisposable also derive from MarshalByRefObject; (2) FilePosition is
110           exposed from Mono.Unix.StdioFileStream, which (indirectly) inherits from
111           MarshalByRefObject.  Fix Equals() so it doesn't rely on Reflection.
112
113 2005-10-25  Jonathan Pryor <jonpryor@vt.edu>
114
115         * FileNameMarshaler.cs: Custom marshaler to marshal filenames using
116           Mono.Unix.UnixEncoding.  A custom marshaler is used to remove the need to
117           have ~6 lines of boilerplate on every method that takes filenames.
118         * Stdlib.cs, Syscall.cs:  Filenames need to be marshaled through the
119           FileNameMarshaler, which will encode/decode filenames with UnixEncoder.
120
121 2005-10-14  Jonathan Pryor <jonpryor@vt.edu>
122
123         * Stdlib.cs, Syscall.cs: Flush naming convention documentation.
124
125 2005-10-14  Jonathan Pryor <jonpryor@vt.edu>
126
127         * NativeConvert.generated.cs: Flush currently generated version.
128
129 2005-10-14  Jonathan Pryor <jonpryor@vt.edu>
130
131         * make-map.cs: Fix documentation comment.
132         * Stdlib.cs: Fix export of XprintfFunctions.syslog(); make SetLastError()
133           protected (normal user code shouldn't call it, as it isn't safe); 
134           replace functions which return `void' with functions which return `int'
135           (adding them to MonoPosixHelper.so as well) -- since users can't reliably
136           use SetLastError(), they need the "normal" error detection mechanism;
137           correct the strlen(3) export.
138         * Syscall.cs: 
139           - s/PathConf/PathconfName/, s/SysConf/SysconfName/, s/ConfStr/ConfstrName/ 
140             to follow documented enumeration naming conventions.
141           - replace functions which return `void' with functions which return `int'
142             (adding them to MonoPosixHelper.so as well) -- since users can't reliably
143             use SetLastError(), they need the "normal" error detection mechanism;
144
145 2005-10-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
146
147         * Stdlib.cs: add strlen() to fix the build.
148
149 2005-09-23  Jonathan Pryor <jonpryor@vt.edu>
150
151         * make-map.cs: Generate NativeConvert documentation XML fragments for use in
152           monodoc.
153
154 2005-09-20  Jonathan Pryor <jonpryor@vt.edu>
155
156         * ChangeLog: Started.
157         * CdeclFunction.cs: Copied from ../Mono.Unix; change namespace.
158         * HeaderAttribute.cs: Added
159         * make-map.cs: Copied from ../Mono.Unix; sort type and member names in
160           output (makes for a more stable svn history, as types/members won't change
161           position anymore within generated code); look for HeaderAttribute not
162           IncludeAttribute for getting headers & #defines; generate NativeConvert
163           partial class.
164         * NativeConvert.cs: Copied from ../Mono.Unix; change namespace; turn into a
165           partial class; Remove generated code (generated code is in
166           NativeConvert.generated.cs).
167         * NativeConvert.generated.cs: Added
168         * Stdlib.cs: Copied from ../Mono.Unix; change namespace; rename Error to
169           Errno (as Error is a "reserved word" in FxCop); [CLSCompliant(false)]
170           support.
171         * Syscall.cs: Use HeaderAttribute, not IncludeAttribute, for CLS compliance; 
172           add [CLSCompliant(false)] as needed; use NativeConvert, not UnixConvert.
173