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