514c3cc6fcfaba99bde0e797bd831b3876d1ac2b
[mono.git] / mono / utils / ChangeLog
1 2008-05-29  Zoltan Varga  <vargaz@gmail.com>
2
3         * mono-value-hash.c: Remove the unused prime functions. Fixes #395320.
4
5 2008-05-27  Zoltan Varga  <vargaz@gmail.com>
6
7         * mono-value-hash.c: Fix build on older glib versions.
8
9         * Makefile.am (libmonoutils_la_SOURCES): Add mono-value-hash.{h,c}.
10
11         * mono-value-hash.h mono-value-hash.c: New files.
12
13 2008-05-26  Zoltan Varga  <vargaz@gmail.com>
14
15         * Makefile.am (libmonoutils_la_SOURCES): Add mono-property-hash.{h,c}.
16
17         * mono-property-hash.h mono-property-hash.c: New files.
18
19 2008-05-14  Kornél Pál  <kornelpal@gmail.com>
20
21         * mono-path.c (mono_path_canonicalize): Convert '/' to '\' on Windows that
22         fixes path canonicalization for paths containing '/'.
23
24         Contributed under MIT/X11 license.
25
26 2008-05-04  Andreas Faerber  <andreas.faerber@web.de>
27
28         * mono-membar.h: Prepare support for OSX/ppc64.
29
30         Contributed under MIT/X11 license.
31
32 2008-04-16  Jonathan Chambers  <joncham@gmail.com>
33         * monobitset.c (find_first_unset): Use gsize instead of gulong for platform
34           dependent size; fixes Win64.
35         * mono-member.h: Implement mono_memory_barrier, mono_memory_read_barrier, and 
36           mono_memory_write_barrier for Win64.
37
38         Contributed under MIT/X11 license.
39
40 2008-04-16  Marek Habersack  <mhabersack@novell.com>
41
42         * mono-io-portability.c (mono_portability_find_file): properly
43         process unrooted entries with a trailing slash.
44
45 2008-04-09  Zoltan Varga  <vargaz@gmail.com>
46
47         * dlmalloc.h dlmalloc.c: New files, a slightly modified version of Doug
48         Lea's malloc package.
49
50         * mono-codeman.c: Use dlmalloc for managing memory in dynamic code managers,
51         this allows us to set the executable bit on the system memory dlmalloc 
52         allocates from, fixing #320036.
53
54 2008-03-29  Zoltan Varga  <vargaz@gmail.com>
55
56         * mono-logger.h: Move G_END_DECLS outside of an #ifdef. Fixes #375107.
57
58 2008-03-14  Robert Jordan  <robertj@gmx.net>
59
60         * mono-dl.c (w32_load_module): prevent error dialog by resetting
61         the Win32 error mode during LoadLibrary (). Fixes #360363.
62
63         * mono-dl.c (w32_dlerror): kill a warning.
64
65 2007-MM-DD  Yoichi NAKAYAMA  <nakayama@pixela.co.jp>
66  
67         * mono-membar.h: Memory barrier for mips.
68  
69         Contributed under MIT/X11 license.
70  
71 Tue Feb 26 15:43:26 CET 2008 Paolo Molaro <lupus@ximian.com>
72
73         * mono-time.c, mono-time.h: new file with the implementation of the
74         time-related routines we need in mono. This includes a hires
75         monotonic clock and a proper monotonic replacement for GetTickCount ().
76
77 2008-02-13  Zoltan Varga  <vargaz@gmail.com>
78
79         * mono-membar.h (mono_memory_barrier): Applied patch by Sergey Tikhonov 
80         <tsv@solvo.ru>. Add alpha support.
81
82 2008-01-11  Zoltan Varga  <vargaz@gmail.com>
83
84         * mono-io-portability.c: Include errno.h since it is needed by code inside
85         #ifdef DEBUG.
86
87         * mono-ehash.c: Don't include os/gc_wrapper.h.
88
89 2008-01-06  Zoltan Varga  <vargaz@gmail.com>
90
91         * mono-hash.c: Don't include os/gc_wrapper.h.
92
93 2007-11-06  Geoff Norton  <gnorton@novell.com>
94
95         * strtod.c: Use a G_MUTEX call pattern compatible with eglib.  Patch
96         from Jonathan Chambers
97
98 2007-10-11  Zoltan Varga  <vargaz@freemail.hu>
99
100         * mono-mmap.c (mono_vfree): Fix call to VirtualFree (). Fixes #332165.
101
102 Mon Oct 8 11:47:44 CEST 2007 Paolo Molaro <lupus@ximian.com>
103
104         * mono-codeman.c, mono-codeman.h: added a function to be able
105         to specify alignment per-allocation. Changed the code to align
106         the starting position instead of the size, which wouldn't work
107         with variable-alignment.
108
109 Mon Oct 8 10:51:29 CEST 2007 Paolo Molaro <lupus@ximian.com>
110
111         * mono-codeman.c, mono-codeman.h: fixed alignment code to not
112         be wasteful, Added documentation. Added mono_code_manager_size ()
113         to gather statistics info about a code manager.
114
115 Mon Oct 8 10:21:47 CEST 2007 Paolo Molaro <lupus@ximian.com>
116
117         * mono-counters.h, mono-counters.c: better formatting of the output
118         and added a cleanup function.
119
120 2007-10-03  Miguel de Icaza  <miguel@novell.com>
121
122         * mono-compiler.h (trunc): Make the definition of trunk for MSC
123         use ceil or floor instead of always using floor which is
124         incorrect.
125
126         Issue pointed out by Aras Pranckevicius <aras@unity3d.com>
127
128 2007-10-02  Jonathan Chambers <joncham@gmail.com>
129
130         * mono-io-portability.c: Init __mono_io_portability_helpers
131         to PORTABILITY_NONE on windows as mono_portability_helpers_init
132         is not always called before mono_portability_find_file.
133         
134         Code is contributed under MIT/X11 license.
135
136 2007-10-01  Jonathan Chambers <joncham@gmail.com>
137
138         * mono-io-portability.c: Only support on non-Windows
139         platforms.
140         
141         Code is contributed under MIT/X11 license.
142
143 Mon Sep 24 17:14:05 CEST 2007 Paolo Molaro <lupus@ximian.com>
144
145         * strtod.h, strtod.c: made the code threadsafe, fixed gcc warnings,
146         renamed exported call and made it properly internal.
147
148 2007-09-14  Jonathan Chambers <joncham@gmail.com>
149
150         * mono-io-portability.c: Add HAVE_UNISTD_H check around include.
151         
152         Code is contributed under MIT/X11 license.
153
154 Wed Sep 12 15:15:47 CEST 2007 Paolo Molaro <lupus@ximian.com>
155
156         * Makefile.am: don't install internal headers.
157
158 2007-09-12  Marek Habersack  <mhabersack@novell.com>
159
160         * mono-io-portability.c: added. Moved options_init from io-layer.
161         (find_in_dir): moved from io-layer/io-portability.c
162         (mono_portability_find_file): moved find_file from
163         io-layer/io-portability.c, renamed and made MONO_INTERNAL.
164
165         * mono-io-portability.h: added. Contains declarations utility
166         functions and acros for checking whether MONO_IOMAP is in effect.
167         Added a prototype for mono_portability_find_file.
168
169 2007-09-09  Zoltan Varga  <vargaz@gmail.com>
170
171         * mono-compiler.h: Applied patch from Jurek Bartuszek (jurek@gentoo.org).
172         Fixes build with -fPIE.
173
174 2007-08-31  Jonathan Chambers <joncham@gmail.com>
175
176         * mono-compiler.h: Define MONO_INTERNAL to nothing on Windows.
177         Fixes tons of warnings we get on cygwin build.
178         
179         Code is contributed under MIT/X11 license.
180
181 2007-08-14  Jonathan Chambers <joncham@gmail.com>
182
183         * mono-membar.h: Use intrinsic functions in msvc.
184
185 2007-07-31  Zoltan Varga  <vargaz@freemail.hu>
186
187         * mono-dl.c (w32_dlerror): Fix call to FormatMessage (). Fixes #82260.
188
189 2007-07-27  Mark Probst  <mark.probst@gmail.com>
190
191         * mono-membar.h: Memory barriers.
192
193 2007-06-13  Mark Probst  <mark.probst@gmail.com>
194
195         * mono-codeman.c (mono_code_manager_reserve): Gather dynamic code
196         allocation stats.
197
198 2007-06-06  Mark Probst  <mark.probst@gmail.com>
199
200         * mono-internal-hash.c: Fixed a bug in the remove entry code.
201
202 2007-06-04  Mark Probst  <mark.probst@gmail.com>
203
204         * Makefile.am:
205         * mono-internal-hash.c, mono-internal-hash.h: Hash table which
206         uses the value themselves as nodes, hence doesn't have to allocate
207         nodes.
208
209 2007-05-24  Jonathan Chambers  <joncham@gmail.com>
210
211         * mono-path.c: Add configure checks for header files.
212         * mono-codeman.c: Add configure checks for header files.
213         * mono-poll.h: Add configure checks for header files.
214         * mono-stdlib.c: Add configure checks for header files.
215         
216         Code is contributed under MIT/X11 license.
217
218 2007-03-09  Jonathan Chambers  <joncham@gmail.com>
219
220         * mono-dl.c:  Use Unicode characters for Win32 functions.
221         
222         Code is contributed under MIT/X11 license.
223         
224 2007-01-26  Robert Jordan  <robertj@gmx.net>
225
226         * mono-dl.c (w32_find_symbol): Implement in-proc symbol lookup
227         for Win32.
228
229 Fri Jan 26 13:06:57 CET 2007 Paolo Molaro <lupus@ximian.com>
230
231         * mono-dl.h, mono-dl.c: make symbols internal and fixes.
232
233 Wed Jan 24 23:20:17 CET 2007 Paolo Molaro <lupus@ximian.com>
234
235         * mono-codeman.c: don't call mono_mprotect() on windows.
236
237 2007-01-20  Zoltan Varga  <vargaz@gmail.com>
238
239         * monobitset.h: monobitset.c: Move MonoBitSet type definition to
240         the header file. Add fast macro based versions of most bitset 
241         operations and optimize the rest a bit.
242
243 Mon Dec 18 18:59:08 CET 2006 Paolo Molaro <lupus@ximian.com>
244
245         * mono-dl.h, mono-dl.c, Makefile.am: implementation
246         of dynamic loading API.
247
248 Wed Dec 13 17:21:40 CET 2006 Paolo Molaro <lupus@ximian.com>
249
250         * mono-mmap.c, mono-mmap.h: use guint64 instead of off_t.
251
252 2006-12-12  Atsushi Enomoto  <atsushi@ximian.com>
253
254         * mono-mmap.c : win32 build fix.
255
256 Mon Dec 11 17:24:49 CET 2006 Paolo Molaro <lupus@ximian.com>
257
258         * mono-codeman.c: changed to use the mono-mmap.h API.
259
260 Mon Dec 11 15:08:27 CET 2006 Paolo Molaro <lupus@ximian.com>
261
262         * mono-mmap.c, mono-mmap.h, Makefile.am: introduced mmap-like API.
263
264 Mon Nov 27 16:03:58 CET 2006 Paolo Molaro <lupus@ximian.com>
265
266         * strtod.c: fix, again, 64 bit issues.
267
268 2006-11-25  Miguel de Icaza  <miguel@novell.com>
269
270         * strtod.c: Upgrade this implementation to the one from:
271         http://www.netlib.org/fp/
272
273         Fixed a few warnings, and added the header thta we had to
274         autodetect the FPU setup to use.
275
276         This should fix the hang when running the corlib test suite. 
277
278 2006-10-18  Miguel de Icaza  <miguel@novell.com>
279
280         * mono-ehash.c (mono_g_hash_table_destroy): Use mg_free, not
281         g_free. 
282
283 2006-10-17  Miguel de Icaza  <miguel@novell.com>
284
285         * mono-ehash.c: Use the new eglib hash implementation;   Currently
286         only Boehm is supported. 
287
288 Tue Oct 10 09:53:07 CEST 2006 Paolo Molaro <lupus@ximian.com>
289
290         * strtod.c: teleport to the new millennium.
291
292 2006-10-09  Miguel de Icaza  <miguel@novell.com>
293
294         * strtod.c: Replace the BSD implementation which was fairly old
295         and complex with a cleaner version from Tcl/Tk.   Fixes the hang
296         that we have in the Double parsing tests in our class libraries.
297
298 2006-09-12  Zoltan Varga  <vargaz@gmail.com>
299
300         * strtod.c (IEEE_8087): Applied patch from Sergey Tikhonov <tsv@solvo.ru>. Define
301         IEEE_8087 for alpha as well.
302
303 2006-09-04  Robert Jordan  <robertj@gmx.net>
304
305         * mono-stdlib.c (mono_mkstemp): Fix mkstemp's loop.
306
307 2006-08-30  Zoltan Varga  <vargaz@gmail.com>
308
309         * mono-codeman.c: Align code to a 16 byte boundary on amd64 too.
310
311 2006-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
312
313         * Makefile.am:
314         * mono-stdlib.[ch]: mkstemp implementation.
315
316 2006-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
317
318         * Makefile.am:
319         * mono-path.[ch]: new files with functions to handle/resolve paths.
320
321 2006-08-10  Zoltan Varga  <vargaz@gmail.com>
322
323         * mono-compiler.h: Fix TLS definitions so libmono can be loaded dynamically as a
324         module. Fixes #78767.
325
326 Wed May 17 19:00:15 CEST 2006 Paolo Molaro <lupus@ximian.com>
327
328         * mono-hash.h, mono-hash.c: changed the code so we're able to
329         specify if the key or value or both are managed objects.
330
331 2006-04-10  Zoltan Varga  <vargaz@gmail.com>
332
333         * monobitset.c (mono_bitset_sub): Use src->size since the assert 
334         guarantees it is less than dest->size.
335
336 Mon Apr 10 12:28:05 CEST 2006 Paolo Molaro <lupus@ximian.com>
337
338         * monobitset.c: cap size in mono_bitset_sub () to
339         avoid reading uninit memory.
340
341 Wed Mar 29 16:39:14 CEST 2006 Paolo Molaro <lupus@ximian.com>
342
343         * mono-counters.c: initialize the next pointer.
344
345 Mon Mar 20 14:50:35 CET 2006 Paolo Molaro <lupus@ximian.com>
346
347         * monobitset.c, monobitset.h: added mono_bitset_find_first_unset ().
348
349 2006-03-16  Zoltan Varga  <vargaz@gmail.com>
350
351         * monobitset.c: Guard inline asm with #ifdef __GNUC__.
352
353         * monobitset.c (mono_bitset_find_first): Turn a g_return_val_if_fail
354         into an assert.
355
356         * mono-compiler.h (MONO_INTERNAL): Disable this on the VC build.
357
358 2006-03-10  Zoltan Varga  <vargaz@gmail.com>
359
360         * monobitset.h monobitset.c: Merge lots of optimizations from the linear-il 
361         branch.
362
363 2006-03-01  Zoltan Varga  <vargaz@gmail.com>
364
365         * mono-compiler.h (__func__): Define this as __FUNCTION__ for MSVC.
366
367         * mono-counters.c: Fix windows build.
368
369 Wed Mar 1 12:33:26 CET 2006 Paolo Molaro <lupus@ximian.com>
370
371         * mono-counters.h, mono-counters.c, Makefile.am: added
372         API for flexible stats collection.
373
374 Tue Feb 28 13:58:50 CET 2006 Paolo Molaro <lupus@ximian.com>
375
376         * mono-compiler.h: fixed Jakub's patch to actually compile on amd64.
377
378 Tue Feb 28 11:33:40 CET 2006 Paolo Molaro <lupus@ximian.com>
379
380         * mono-compiler.h: patch from Jakub Jelinek to retrieve
381         the tls offset without a text writable section (bug #77653).
382
383 2006-02-01  Sebastien Pouliot  <sebastien@ximian.com>
384
385         * mono-compiler.h: Added a macro for isnormal(x) as it's not available
386         in VS.NET.
387
388 2006-01-20  Zoltan Varga  <vargaz@gmail.com>
389
390         * monobitset.h (mono_bitset_set_fast): Add more fast accessors. 
391
392 2006-01-17  Zoltan Varga  <vargaz@gmail.com>
393
394         * monobitset.h monobitset.c: Move the mono_bitset_test_fast macro here
395          from mini.h. Also fix it after the 64 bit changes.
396
397 2006-01-15  Zoltan Varga  <vargaz@gmail.com>
398
399         * monobitset.h monobitset.c: Use 64 bit chunks on 64 bit machines.
400
401 2006-01-04  Zoltan Varga  <vargaz@gmail.com>
402
403         * mono-codeman.c (new_codechunk): Fix warnings.
404
405 2005-12-13  Atsushi Enomoto  <atsushi@ximian.com>
406
407         * strtod.c : un-constified some variables to fix bug #75228.
408
409 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
410
411         * strenc.c: don't use the UTF16 conversion with g_convert. It returns
412         the FF FE at the beginning, which is not what we expect. Now
413         MONO_EXTERNAL_ENCODINGS can roundtrip and works.
414
415 2005-09-12  Zoltan Varga  <vargaz@freemail.hu>
416
417         * mono-compiler.h (MONO_THREAD_VAR_OFFSET): Fix compilation on amd64
418         with recent binutils.
419
420 Wed Sep 7 21:23:18 BST 2005 Paolo Molaro <lupus@ximian.com>
421
422         * mono-codeman.c: ensure we have enough room for thunks
423         with large allocations.
424
425 2005-08-27  Zoltan Varga  <vargaz@gmail.com>
426
427         * mono-compiler.h (MONO_THREAD_VAR_OFFSET): Disable this when using
428         intel icc.
429
430         * strtod.c (Storeinc): Modify code which is miscompiled by intel icc.
431
432 Thu Aug 4 20:06:28 BST 2005 Paolo Molaro <lupus@ximian.com>
433
434         * mono-codeman.c: allow room for far calls for ARM, too.
435
436 2005-07-20  Zoltan Varga  <vargaz@freemail.hu>
437
438         * mono-compiler.h (MONO_THREAD_VAR_OFFSET): Use the nice way of
439         getting the tls offsets on amd64 too.
440
441 2005-07-19  Zoltan Varga  <vargaz@freemail.hu>
442
443         * mono-compiler.h: Add TLS offset detection for ia64.
444
445 2005-06-28  Zoltan Varga  <vargaz@freemail.hu>
446
447         * mono-compiler.h (trunc): Define this to be floor under win32.
448
449 2005-06-13  Geoff Norton  <gnorton@customerdna.com>
450
451         * mono-compiler.h:  Be slightly more conservative on ppc
452         as this was previously causing crashes building.
453
454 2005-06-09  Duncan Mak  <duncan@novell.com>
455
456         * *.h: Added G_BEGIN_DECLS and G_END_DECLS where appropriate to
457         all public headers. Fixes #74919.
458
459 2005-05-18  Zoltan Varga  <vargaz@freemail.hu>
460
461         * mono-codeman.c: Align code on a 16 byte boundary on ia64.
462
463 2005-04-20  Zoltan Varga  <vargaz@freemail.hu>
464
465         * mono-digest.h mono-sha1.c mono-md5.c: Fix some gcc 4.0 warnings.
466
467 2005-04-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
468
469         * mono-poll.c: windows return code translation.
470         * mono-poll.h: FD_SETSIZE must be defined when compiling everything.
471         Moved to configure.in.
472
473 2005-04-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
474
475         * mono-poll.[ch]: mono_poll uses poll() when available, otherwise
476         implement it in terms of select().
477         * Makefile.am: added new files.
478
479 2005-03-29  Sebastien Pouliot  <sebastien@ximian.com>
480
481         * mono-compiler.h: Added defines to make it easier to compile mono and
482         it's unmanaged tools using the Microsoft C compiler (VS.NET 2005).
483
484 2005-02-27  Zoltan Varga  <vargaz@freemail.hu>
485
486         * mono-codeman.c: Pass MAP_32BIT to mmap on amd64 to force generated
487         code to have 32 bit addresses.
488
489 Fri Feb 25 14:54:19 CET 2005 Paolo Molaro <lupus@ximian.com>
490
491         * mono-compiler.h: amd64 can't handle local-exec in PIC libs.
492
493 Thu Feb 24 15:18:05 CET 2005 Paolo Molaro <lupus@ximian.com>
494
495         * Makefile.am, mono-compiler.h: added header to deal with 
496         compiler-specific bugs and features.
497
498 2005-01-30  Zoltan Varga  <vargaz@freemail.hu>
499
500         * mono-logger.c (mono_trace_is_traced): Fix comment.
501
502         * mono-logger.h mono-logger.c (mono_trace_is_traced): New helper function.
503
504 2005-01-15  Zoltan Varga  <vargaz@freemail.hu>
505
506         * mono-codeman.c (new_codechunk): Initialize pagesize in the dynamic
507         case as well.
508
509 2004-12-23  Ben Maurer  <bmaurer@ximian.com>
510
511         * strtod.c: add `cosnt' to some arrays to get them on shareable pages.
512
513 Tue Dec 7 17:53:01 CET 2004 Paolo Molaro <lupus@ximian.com>
514
515         * mono-codeman.c: align bsize so the returned pointer
516         is aligned also for dynamic methods.
517
518 2004-10-26  Zoltan Varga  <vargaz@freemail.hu>
519
520         * mono-codeman.c: Fall back to malloc if MAP_ANON is not defined.
521
522 2004-09-25  Zoltan Varga  <vargaz@freemail.hu>
523
524         * mono-codeman.c (new_codechunk): Set malloc'ed code pages as 
525         executable.
526
527 2004-09-07  Bernie Solomon  <bernard@ugsolutions.com>
528
529         * mono-sha1.c: Remove uint32 and int32 types completely
530
531 2004-09-02  Zoltan Varga  <vargaz@freemail.hu>
532
533         * mono-codeman.c (new_codechunk): Remove g_assert_not_reached ().
534         
535         * mono-codeman.c (new_codechunk): Fix windows build.
536
537         * mono-codeman.h mono-codeman.c: Generalize so it can be used to
538         allocate code for dynamic methods (one method per code manager).
539
540 2004-07-30  Zoltan Varga  <vargaz@freemail.hu>
541
542         * mono-logger.c (mono_trace_set_mask_string): Fix AOT tracing constant.
543
544 2004-07-28  Zoltan Varga  <vargaz@freemail.hu>
545
546         * mono-codeman.c (mono_code_manager_invalidate): Invalidate with
547         x86 break on AMD64 too.
548
549 2004-07-23  zovarga  <vargaz@freemail.hu>
550
551         * monobitset.c (my_g_bit_nth_msf): Add workaround for glib 2.2 bug on
552         64 bit platforms.
553
554 2004-07-09  Ben Maurer  <bmaurer@ximain.com>
555         
556         * mono-hash.c: register gc roots
557
558 2004-07-02  Zoltan Varga  <vargaz@freemail.hu>
559
560         * mono-logger.h mono-logger.c: Added AOT component.
561
562 2004-06-30  Zoltan Varga  <vargaz@freemail.hu>
563
564         * strtod.c: Use gint32 for 32 bit types.
565
566 2004-06-29  Zoltan Varga  <vargaz@freemail.hu>
567
568         * mono-sha1.c: Use gint32 for 32 types. Fixes random memory corruption
569         in SHA1Transform on 64 bit systems.
570
571 2004-06-24  David Waite  <mass@akuma.org>
572
573         * monobitset.c: change to C90-style comments from C99/C++-style 
574
575 2004-06-21  Atsushi Enomoto  <atsushi@ximian.com>
576
577         * mono-sha1.c : close opened file in case of successful read. This
578           saves a bunch of System.Reflection Emit failures under windows.
579
580 2004-06-18  Jackson Harper  <jackson@ximian.com>
581
582         * mono-logger.c/h: Add a trace mask option for tracing loading
583         config files. A little white space love.
584         
585 2004-06-18  Jackson Harper  <jackson@ximian.com>
586
587         * mono-logger.c: Change default logging level to ERROR. Make sure
588         that mono_trace_init is called if mono_tracev is our first trace
589         statement is mono_tracev. Little indentation fix.
590         
591 2004-05-25  Zoltan Varga  <vargaz@freemail.hu>
592
593         * mono-codeman.c (mono_code_manager_invalidate): On x86, fill the
594         memory with 0xcc (x86 break).
595
596 2004-05-02  Miguel de Icaza  <miguel@ximian.com>
597
598         * mono-sha1.c: MacOS X defines "LITTLE_ENDIAN", you are supposed
599         to test against BYTE_ORDER, and this caused trouble.  We now use
600         G_BYTE_ORDER and G_LITTLE_ENDIAN.  This should fix the MacOS woes.
601
602 2004-04-26  David Waite  <mass@akuma.org>
603
604         * mono-logger.h: remove comma from end of enumeration declaration
605
606 Fri Apr 23 11:04:33 EDT 2004 Paolo Molaro <lupus@ximian.com>
607
608         * mono-codeman.c: macosx pretends an argument (which is ignored)
609         to be -1. Make sure the thunks area is zeroed.
610
611 2004-03-11  Zoltan Varga  <vargaz@freemail.hu>
612
613         * monobitset.c (mono_bitset_test_bulk): New function to return multiple
614         bits at once.
615
616 Thu Mar 4 15:46:20 PST 2004 Paolo Molaro <lupus@ximian.com>
617
618         * mono-codeman.c: add a define to force the use of malloc
619         instead of mmap.
620
621 Tue Feb 17 21:45:12 CET 2004 Paolo Molaro <lupus@ximian.com>
622
623         * mono-codeman.c, mono-codeman.h: allocate extra room in memory close
624         to the native code for arch where calls have a limited immediate
625         displacement.
626
627 Wed Feb 11 15:26:18 CET 2004 Paolo Molaro <lupus@ximian.com>
628
629         * Makefile.am, mono-codeman.h, mono-codeman.c: new support code
630         to deal with buffers of native code (handles exec bits and other
631         details).
632
633 2004-01-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
634
635         * strenc.c:
636         (mono_unicode_from_external): UTF8 is the default, not the preferred
637         encoding, ie, try MONO_EXTERNAL_ENCODINGS first. When "default_locale"
638         was passed in the env. var., it always failed because we were passing
639         "default_locale" to g_convert. Also fixed the byte count for non-UTF8
640         conversions.
641         (mono_utf8_from_external): UTF8 is the default, not the preferred one.
642
643         Fixes bug #53166.
644
645 Thu Jan 8 19:56:08 CET 2004 Paolo Molaro <lupus@ximian.com>
646
647         * mono-uri.c: fixed compile problem.
648
649 2003-12-02  Bernie Solomon  <bernard@ugsolutions.com>
650
651         * mono-math.c: fix for older C compilers and big endian machines
652
653 2003-11-12  Zoltan Varga  <vargaz@freemail.hu>
654
655         * mono-math.h mono-math.c: New file which contains implementations of
656         math functions/macros which are missing on some platforms.
657
658 2003-11-10  Dick Porter  <dick@ximian.com>
659
660         * strenc.c: Use platform-endian UTF16
661
662 2003-10-28  Dick Porter  <dick@ximian.com>
663
664         * strenc.h:
665         * strenc.c: New files, convert text to and from unicode or utf8,
666         and the user's chosen encoding.
667
668 2003-08-26  Zoltan Varga  <vargaz@freemail.hu>
669
670         * mono-hash.h mono-hash.c (mono_g_hash_table_remap): New function used
671         to remap hashtable values during a copying collection. Not used at the
672         moment.
673         * mono-hash.c (g_hash_node_new): Restructured to avoid the global lock
674         in the common case.
675         * mono-hash.c (mono_g_hash_table_new_full): Enable the optimization of
676         the key function even if the client supplied g_direct_equal instead of
677         NULL.
678
679 2003-08-22  Duncan Mak  <duncan@ximian.com>
680
681         * strtod.c: 64-bit related fixes from Laurent Morichetti
682         <l_m@pacbell.net>. Patch approval from Miguel.
683
684 Fri Jun 6 19:09:51 CEST 2003 Paolo Molaro <lupus@ximian.com>
685
686         * mono-logger.h, mono-logger.c, Makefile.am: added
687         selective logging code by Jerome Laban <jlaban@wanadoo.fr>.
688
689 2003-03-05  Dietmar Maurer  <dietmar@ximian.com>
690
691         * monobitset.c (mono_bitset_set_all): impl.
692
693 Fri Sep 13 15:56:04 CEST 2002 Paolo Molaro <lupus@ximian.com>
694
695         * mono-digest.h, mono-sha1.c: Added mono_digest_get_public_token()
696         to get the public key token from a public key.
697
698 Thu Jul 25 13:59:34 CEST 2002 Paolo Molaro <lupus@ximian.com>
699
700         * mono-digest.h, mono-md5.c, mono-sha1.c: MD5 and SHA1
701         implementations.
702
703 Mon Jun 3 15:59:31 CEST 2002 Paolo Molaro <lupus@ximian.com>
704
705         * strtod.c: make __bsd_dtoa() always return malloc()ed memory.
706
707 Mon Jun 3 15:42:50 CEST 2002 Paolo Molaro <lupus@ximian.com>
708
709         * monobitset.c, monobitset.h: documentation and fixes from
710         Dennis Haney.
711
712 Sat Jun 1 14:10:23 CEST 2002 Paolo Molaro <lupus@ximian.com>
713
714         * monobitset.c: fix my screwup pointed out by Lawrence Pit
715         (loz@cable.a2000.nl).
716
717 Fri May 31 15:34:18 CEST 2002 Paolo Molaro <lupus@ximian.com>
718
719         * monobitset.c, monobitset.h: fixes. added mono_bitset_foreach().
720
721 Wed May 22 12:42:06 CEST 2002 Paolo Molaro <lupus@ximian.com>
722
723         * monobitset.c: use our own bit_nth_lsf since the glib one is buggy.
724         Add more tests. mono_bitset_find_first (set, -1) will work correctly
725         now.
726
727 2002-05-09  Dietmar Maurer  <dietmar@ximian.com>
728
729         * monobitset.c: use memcmp instead of memcpy
730
731 Thu May 9 17:23:17 CEST 2002 Paolo Molaro <lupus@ximian.com>
732
733         * monobitset.c, monibitset.h: bit set data structure.
734         Not included in the build yet because the jit has some symbol clashes
735         with it.
736
737 Mon Mar 25 12:50:53 CET 2002 Paolo Molaro <lupus@ximian.com>
738
739         * First checkin: libmonoutils is meant to hold some utility
740         data structures and bits that are usefult to the rest of the project
741         and don't require metadata/runtime support.
742         mono-hash is a GC-safe hash table: i.e. you can store GC-allocated
743         data in it.
744