2006-04-04 Zoltan Varga <vargaz@gmail.com>
[mono.git] / mono / utils / ChangeLog
1
2 Wed Mar 29 16:39:14 CEST 2006 Paolo Molaro <lupus@ximian.com>
3
4         * mono-counters.c: initialize the next pointer.
5
6 Mon Mar 20 14:50:35 CET 2006 Paolo Molaro <lupus@ximian.com>
7
8         * monobitset.c, monobitset.h: added mono_bitset_find_first_unset ().
9
10 2006-03-16  Zoltan Varga  <vargaz@gmail.com>
11
12         * monobitset.c: Guard inline asm with #ifdef __GNUC__.
13
14         * monobitset.c (mono_bitset_find_first): Turn a g_return_val_if_fail
15         into an assert.
16
17         * mono-compiler.h (MONO_INTERNAL): Disable this on the VC build.
18
19 2006-03-10  Zoltan Varga  <vargaz@gmail.com>
20
21         * monobitset.h monobitset.c: Merge lots of optimizations from the linear-il 
22         branch.
23
24 2006-03-01  Zoltan Varga  <vargaz@gmail.com>
25
26         * mono-compiler.h (__func__): Define this as __FUNCTION__ for MSVC.
27
28         * mono-counters.c: Fix windows build.
29
30 Wed Mar 1 12:33:26 CET 2006 Paolo Molaro <lupus@ximian.com>
31
32         * mono-counters.h, mono-counters.c, Makefile.am: added
33         API for flexible stats collection.
34
35 Tue Feb 28 13:58:50 CET 2006 Paolo Molaro <lupus@ximian.com>
36
37         * mono-compiler.h: fixed Jakub's patch to actually compile on amd64.
38
39 Tue Feb 28 11:33:40 CET 2006 Paolo Molaro <lupus@ximian.com>
40
41         * mono-compiler.h: patch from Jakub Jelinek to retrieve
42         the tls offset without a text writable section (bug #77653).
43
44 2006-02-01  Sebastien Pouliot  <sebastien@ximian.com>
45
46         * mono-compiler.h: Added a macro for isnormal(x) as it's not available
47         in VS.NET.
48
49 2006-01-20  Zoltan Varga  <vargaz@gmail.com>
50
51         * monobitset.h (mono_bitset_set_fast): Add more fast accessors. 
52
53 2006-01-17  Zoltan Varga  <vargaz@gmail.com>
54
55         * monobitset.h monobitset.c: Move the mono_bitset_test_fast macro here
56          from mini.h. Also fix it after the 64 bit changes.
57
58 2006-01-15  Zoltan Varga  <vargaz@gmail.com>
59
60         * monobitset.h monobitset.c: Use 64 bit chunks on 64 bit machines.
61
62 2006-01-04  Zoltan Varga  <vargaz@gmail.com>
63
64         * mono-codeman.c (new_codechunk): Fix warnings.
65
66 2005-12-13  Atsushi Enomoto  <atsushi@ximian.com>
67
68         * strtod.c : un-constified some variables to fix bug #75228.
69
70 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
71
72         * strenc.c: don't use the UTF16 conversion with g_convert. It returns
73         the FF FE at the beginning, which is not what we expect. Now
74         MONO_EXTERNAL_ENCODINGS can roundtrip and works.
75
76 2005-09-12  Zoltan Varga  <vargaz@freemail.hu>
77
78         * mono-compiler.h (MONO_THREAD_VAR_OFFSET): Fix compilation on amd64
79         with recent binutils.
80
81 Wed Sep 7 21:23:18 BST 2005 Paolo Molaro <lupus@ximian.com>
82
83         * mono-codeman.c: ensure we have enough room for thunks
84         with large allocations.
85
86 2005-08-27  Zoltan Varga  <vargaz@gmail.com>
87
88         * mono-compiler.h (MONO_THREAD_VAR_OFFSET): Disable this when using
89         intel icc.
90
91         * strtod.c (Storeinc): Modify code which is miscompiled by intel icc.
92
93 Thu Aug 4 20:06:28 BST 2005 Paolo Molaro <lupus@ximian.com>
94
95         * mono-codeman.c: allow room for far calls for ARM, too.
96
97 2005-07-20  Zoltan Varga  <vargaz@freemail.hu>
98
99         * mono-compiler.h (MONO_THREAD_VAR_OFFSET): Use the nice way of
100         getting the tls offsets on amd64 too.
101
102 2005-07-19  Zoltan Varga  <vargaz@freemail.hu>
103
104         * mono-compiler.h: Add TLS offset detection for ia64.
105
106 2005-06-28  Zoltan Varga  <vargaz@freemail.hu>
107
108         * mono-compiler.h (trunc): Define this to be floor under win32.
109
110 2005-06-13  Geoff Norton  <gnorton@customerdna.com>
111
112         * mono-compiler.h:  Be slightly more conservative on ppc
113         as this was previously causing crashes building.
114
115 2005-06-09  Duncan Mak  <duncan@novell.com>
116
117         * *.h: Added G_BEGIN_DECLS and G_END_DECLS where appropriate to
118         all public headers. Fixes #74919.
119
120 2005-05-18  Zoltan Varga  <vargaz@freemail.hu>
121
122         * mono-codeman.c: Align code on a 16 byte boundary on ia64.
123
124 2005-04-20  Zoltan Varga  <vargaz@freemail.hu>
125
126         * mono-digest.h mono-sha1.c mono-md5.c: Fix some gcc 4.0 warnings.
127
128 2005-04-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
129
130         * mono-poll.c: windows return code translation.
131         * mono-poll.h: FD_SETSIZE must be defined when compiling everything.
132         Moved to configure.in.
133
134 2005-04-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
135
136         * mono-poll.[ch]: mono_poll uses poll() when available, otherwise
137         implement it in terms of select().
138         * Makefile.am: added new files.
139
140 2005-03-29  Sebastien Pouliot  <sebastien@ximian.com>
141
142         * mono-compiler.h: Added defines to make it easier to compile mono and
143         it's unmanaged tools using the Microsoft C compiler (VS.NET 2005).
144
145 2005-02-27  Zoltan Varga  <vargaz@freemail.hu>
146
147         * mono-codeman.c: Pass MAP_32BIT to mmap on amd64 to force generated
148         code to have 32 bit addresses.
149
150 Fri Feb 25 14:54:19 CET 2005 Paolo Molaro <lupus@ximian.com>
151
152         * mono-compiler.h: amd64 can't handle local-exec in PIC libs.
153
154 Thu Feb 24 15:18:05 CET 2005 Paolo Molaro <lupus@ximian.com>
155
156         * Makefile.am, mono-compiler.h: added header to deal with 
157         compiler-specific bugs and features.
158
159 2005-01-30  Zoltan Varga  <vargaz@freemail.hu>
160
161         * mono-logger.c (mono_trace_is_traced): Fix comment.
162
163         * mono-logger.h mono-logger.c (mono_trace_is_traced): New helper function.
164
165 2005-01-15  Zoltan Varga  <vargaz@freemail.hu>
166
167         * mono-codeman.c (new_codechunk): Initialize pagesize in the dynamic
168         case as well.
169
170 2004-12-23  Ben Maurer  <bmaurer@ximian.com>
171
172         * strtod.c: add `cosnt' to some arrays to get them on shareable pages.
173
174 Tue Dec 7 17:53:01 CET 2004 Paolo Molaro <lupus@ximian.com>
175
176         * mono-codeman.c: align bsize so the returned pointer
177         is aligned also for dynamic methods.
178
179 2004-10-26  Zoltan Varga  <vargaz@freemail.hu>
180
181         * mono-codeman.c: Fall back to malloc if MAP_ANON is not defined.
182
183 2004-09-25  Zoltan Varga  <vargaz@freemail.hu>
184
185         * mono-codeman.c (new_codechunk): Set malloc'ed code pages as 
186         executable.
187
188 2004-09-07  Bernie Solomon  <bernard@ugsolutions.com>
189
190         * mono-sha1.c: Remove uint32 and int32 types completely
191
192 2004-09-02  Zoltan Varga  <vargaz@freemail.hu>
193
194         * mono-codeman.c (new_codechunk): Remove g_assert_not_reached ().
195         
196         * mono-codeman.c (new_codechunk): Fix windows build.
197
198         * mono-codeman.h mono-codeman.c: Generalize so it can be used to
199         allocate code for dynamic methods (one method per code manager).
200
201 2004-07-30  Zoltan Varga  <vargaz@freemail.hu>
202
203         * mono-logger.c (mono_trace_set_mask_string): Fix AOT tracing constant.
204
205 2004-07-28  Zoltan Varga  <vargaz@freemail.hu>
206
207         * mono-codeman.c (mono_code_manager_invalidate): Invalidate with
208         x86 break on AMD64 too.
209
210 2004-07-23  zovarga  <vargaz@freemail.hu>
211
212         * monobitset.c (my_g_bit_nth_msf): Add workaround for glib 2.2 bug on
213         64 bit platforms.
214
215 2004-07-09  Ben Maurer  <bmaurer@ximain.com>
216         
217         * mono-hash.c: register gc roots
218
219 2004-07-02  Zoltan Varga  <vargaz@freemail.hu>
220
221         * mono-logger.h mono-logger.c: Added AOT component.
222
223 2004-06-30  Zoltan Varga  <vargaz@freemail.hu>
224
225         * strtod.c: Use gint32 for 32 bit types.
226
227 2004-06-29  Zoltan Varga  <vargaz@freemail.hu>
228
229         * mono-sha1.c: Use gint32 for 32 types. Fixes random memory corruption
230         in SHA1Transform on 64 bit systems.
231
232 2004-06-24  David Waite  <mass@akuma.org>
233
234         * monobitset.c: change to C90-style comments from C99/C++-style 
235
236 2004-06-21  Atsushi Enomoto  <atsushi@ximian.com>
237
238         * mono-sha1.c : close opened file in case of successful read. This
239           saves a bunch of System.Reflection Emit failures under windows.
240
241 2004-06-18  Jackson Harper  <jackson@ximian.com>
242
243         * mono-logger.c/h: Add a trace mask option for tracing loading
244         config files. A little white space love.
245         
246 2004-06-18  Jackson Harper  <jackson@ximian.com>
247
248         * mono-logger.c: Change default logging level to ERROR. Make sure
249         that mono_trace_init is called if mono_tracev is our first trace
250         statement is mono_tracev. Little indentation fix.
251         
252 2004-05-25  Zoltan Varga  <vargaz@freemail.hu>
253
254         * mono-codeman.c (mono_code_manager_invalidate): On x86, fill the
255         memory with 0xcc (x86 break).
256
257 2004-05-02  Miguel de Icaza  <miguel@ximian.com>
258
259         * mono-sha1.c: MacOS X defines "LITTLE_ENDIAN", you are supposed
260         to test against BYTE_ORDER, and this caused trouble.  We now use
261         G_BYTE_ORDER and G_LITTLE_ENDIAN.  This should fix the MacOS woes.
262
263 2004-04-26  David Waite  <mass@akuma.org>
264
265         * mono-logger.h: remove comma from end of enumeration declaration
266
267 Fri Apr 23 11:04:33 EDT 2004 Paolo Molaro <lupus@ximian.com>
268
269         * mono-codeman.c: macosx pretends an argument (which is ignored)
270         to be -1. Make sure the thunks area is zeroed.
271
272 2004-03-11  Zoltan Varga  <vargaz@freemail.hu>
273
274         * monobitset.c (mono_bitset_test_bulk): New function to return multiple
275         bits at once.
276
277 Thu Mar 4 15:46:20 PST 2004 Paolo Molaro <lupus@ximian.com>
278
279         * mono-codeman.c: add a define to force the use of malloc
280         instead of mmap.
281
282 Tue Feb 17 21:45:12 CET 2004 Paolo Molaro <lupus@ximian.com>
283
284         * mono-codeman.c, mono-codeman.h: allocate extra room in memory close
285         to the native code for arch where calls have a limited immediate
286         displacement.
287
288 Wed Feb 11 15:26:18 CET 2004 Paolo Molaro <lupus@ximian.com>
289
290         * Makefile.am, mono-codeman.h, mono-codeman.c: new support code
291         to deal with buffers of native code (handles exec bits and other
292         details).
293
294 2004-01-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
295
296         * strenc.c:
297         (mono_unicode_from_external): UTF8 is the default, not the preferred
298         encoding, ie, try MONO_EXTERNAL_ENCODINGS first. When "default_locale"
299         was passed in the env. var., it always failed because we were passing
300         "default_locale" to g_convert. Also fixed the byte count for non-UTF8
301         conversions.
302         (mono_utf8_from_external): UTF8 is the default, not the preferred one.
303
304         Fixes bug #53166.
305
306 Thu Jan 8 19:56:08 CET 2004 Paolo Molaro <lupus@ximian.com>
307
308         * mono-uri.c: fixed compile problem.
309
310 2003-12-02  Bernie Solomon  <bernard@ugsolutions.com>
311
312         * mono-math.c: fix for older C compilers and big endian machines
313
314 2003-11-12  Zoltan Varga  <vargaz@freemail.hu>
315
316         * mono-math.h mono-math.c: New file which contains implementations of
317         math functions/macros which are missing on some platforms.
318
319 2003-11-10  Dick Porter  <dick@ximian.com>
320
321         * strenc.c: Use platform-endian UTF16
322
323 2003-10-28  Dick Porter  <dick@ximian.com>
324
325         * strenc.h:
326         * strenc.c: New files, convert text to and from unicode or utf8,
327         and the user's chosen encoding.
328
329 2003-08-26  Zoltan Varga  <vargaz@freemail.hu>
330
331         * mono-hash.h mono-hash.c (mono_g_hash_table_remap): New function used
332         to remap hashtable values during a copying collection. Not used at the
333         moment.
334         * mono-hash.c (g_hash_node_new): Restructured to avoid the global lock
335         in the common case.
336         * mono-hash.c (mono_g_hash_table_new_full): Enable the optimization of
337         the key function even if the client supplied g_direct_equal instead of
338         NULL.
339
340 2003-08-22  Duncan Mak  <duncan@ximian.com>
341
342         * strtod.c: 64-bit related fixes from Laurent Morichetti
343         <l_m@pacbell.net>. Patch approval from Miguel.
344
345 Fri Jun 6 19:09:51 CEST 2003 Paolo Molaro <lupus@ximian.com>
346
347         * mono-logger.h, mono-logger.c, Makefile.am: added
348         selective logging code by Jerome Laban <jlaban@wanadoo.fr>.
349
350 2003-03-05  Dietmar Maurer  <dietmar@ximian.com>
351
352         * monobitset.c (mono_bitset_set_all): impl.
353
354 Fri Sep 13 15:56:04 CEST 2002 Paolo Molaro <lupus@ximian.com>
355
356         * mono-digest.h, mono-sha1.c: Added mono_digest_get_public_token()
357         to get the public key token from a public key.
358
359 Thu Jul 25 13:59:34 CEST 2002 Paolo Molaro <lupus@ximian.com>
360
361         * mono-digest.h, mono-md5.c, mono-sha1.c: MD5 and SHA1
362         implementations.
363
364 Mon Jun 3 15:59:31 CEST 2002 Paolo Molaro <lupus@ximian.com>
365
366         * strtod.c: make __bsd_dtoa() always return malloc()ed memory.
367
368 Mon Jun 3 15:42:50 CEST 2002 Paolo Molaro <lupus@ximian.com>
369
370         * monobitset.c, monobitset.h: documentation and fixes from
371         Dennis Haney.
372
373 Sat Jun 1 14:10:23 CEST 2002 Paolo Molaro <lupus@ximian.com>
374
375         * monobitset.c: fix my screwup pointed out by Lawrence Pit
376         (loz@cable.a2000.nl).
377
378 Fri May 31 15:34:18 CEST 2002 Paolo Molaro <lupus@ximian.com>
379
380         * monobitset.c, monobitset.h: fixes. added mono_bitset_foreach().
381
382 Wed May 22 12:42:06 CEST 2002 Paolo Molaro <lupus@ximian.com>
383
384         * monobitset.c: use our own bit_nth_lsf since the glib one is buggy.
385         Add more tests. mono_bitset_find_first (set, -1) will work correctly
386         now.
387
388 2002-05-09  Dietmar Maurer  <dietmar@ximian.com>
389
390         * monobitset.c: use memcmp instead of memcpy
391
392 Thu May 9 17:23:17 CEST 2002 Paolo Molaro <lupus@ximian.com>
393
394         * monobitset.c, monibitset.h: bit set data structure.
395         Not included in the build yet because the jit has some symbol clashes
396         with it.
397
398 Mon Mar 25 12:50:53 CET 2002 Paolo Molaro <lupus@ximian.com>
399
400         * First checkin: libmonoutils is meant to hold some utility
401         data structures and bits that are usefult to the rest of the project
402         and don't require metadata/runtime support.
403         mono-hash is a GC-safe hash table: i.e. you can store GC-allocated
404         data in it.
405