2010-03-27 Zoltan Varga <vargaz@gmail.com>
[mono.git] / mono / utils / ChangeLog
1 2010-03-27  Zoltan Varga  <vargaz@gmail.com>
2
3         * mono-ehash.c: Rename this to mono-hash.c.
4
5 2010-03-26  Zoltan Varga  <vargaz@gmail.com>
6
7         * mono-ehash.c (rehash): Avoid function calls as macro arguments.
8
9 Fri Mar 26 19:44:40 CET 2010 Paolo Molaro <lupus@ximian.com>
10
11         * Makefile.am, mono-hash.c: removed mono-hash.c, since now
12         mono-ehash.c is GC-aware it doesn't make sense to keep two
13         implementations.
14
15 2010-03-26  Mark Probst  <mark.probst@gmail.com>
16
17         * mono-semaphore.h (MONO_SEM_POST): Fix on Darwin.
18
19 2010-03-26  Zoltan Varga  <vargaz@gmail.com>
20
21         * mono-proclib.c mono-semaphore.c: Apply some openbsd changes from openbsd
22         ports.
23
24 2010-03-25 Gonzalo Paniagua Javier <gonzalo@novell.com>
25
26         * mono-semaphore.[hc]: make sure the semaphore calls are restarted if
27         interrupted. Return 0 on success and -1 on failure on windows.
28
29 2010-03-25  Mark Probst  <mark.probst@gmail.com>
30
31         * mono-hash.c, mono-ehash.c: Fix rehashing with regard to moving
32         GC.  Register root for ehash.
33
34 2010-03-24  Andrés G. Aragoneses  <knocte@gmail.com>
35
36         * mono-dl.c: (mono_dl_build_path) Take in account the suffix
37         variable assigned wrt the prefix comparison to concat the final
38         path for dlopen. Fixes BNC#588143. r:vargaz
39
40 2010-03-23 Gonzalo Paniagua Javier <gonzalo@novell.com>
41
42         * mono-semaphore.h: MONO_SEM_WAIT() return value inverted when using
43         the windows API.
44         * mono-semaphore.c: handle INFINITE timeout.
45
46 2010-03-22  Zoltan Varga  <vargaz@gmail.com>
47
48         * mono-sigcontext.h: Define UCONTEXT accessors for openbsd/amd64.
49
50 2010-03-22  Zoltan Varga  <vargaz@gmail.com>
51
52         * mono-sigcontext.h: Applied patch from Robert Nagy (Robert@openbsd.org).
53         Add OpenBSD definitions.
54
55 2010-03-17 Gonzalo Paniagua Javier <gonzalo@novell.com>
56
57         * mono-semaphore.c: _timedwait takes an absolute time.
58
59 2010-03-04  Zoltan Varga  <vargaz@gmail.com>
60
61         * strtod.c: Get rid of locking so this works with eglib.
62
63 2010-03-03 Gonzalo Paniagua Javier <gonzalo@novell.com>
64
65         * mono-mmap.c: apparently kill() can return ENOMEM. Also use signal 0
66         which is the documented way of testing for the existence of a PID.
67         Thanks to Cal Page.
68
69 Thu Feb 25 11:59:22 CET 2010 Paolo Molaro <lupus@ximian.com>
70
71         * mono-logger.h, Makefile.am: expose in the API the ability to
72         set trace mask and level.
73         * mono-logger-internal.h: new header for mono internal use.
74         * mono-logger.c: fixed mono_trace_set_mask_string() to not change
75         the passed string argument.
76
77 Wed Feb 24 15:50:55 CET 2010 Paolo Molaro <lupus@ximian.com>
78
79         * mono-publib.h, mono-publib.c: new public header file to allow
80         the removal of gli from the other public headers.
81         * Makefile.am: install only the public header mono-publib.h.
82
83 2010-02-19 Gonzalo Paniagua Javier <gonzalo@novell.com>
84
85         * mono-semaphore.h: enable the #defines when io-layer is in use.
86         * Makefile.am: added new file.
87         * mono-semaphore.c: new mono_sem_timedwait() function.
88
89 2010-02-19 Gonzalo Paniagua Javier <gonzalo@novell.com>
90
91         * mono-semaphore.h: set maximum count to 0x7fffffff.
92
93 2010-01-28 Rodrigo Kumpera  <rkumpera@novell.com>
94
95         * mono-error-internals.h: Add mono_error_set_not_verifiable.
96
97         * mono-error.h: Add MONO_ERROR_NOT_VERIFIABLE.
98
99         * mono-error.c: Implement mono_error_set_not_verifiable.
100
101 2010-01-26  U-anarquia\miguel  <miguel@anarquia>
102
103         * mono-dl.c: Removed debugging messages for the embeddable version
104         of mono-dl.
105
106 2010-01-22 Miguel de Icaza (miguel@novell.com)
107
108         * mono-dl.c: Always strdup the return value, for consistency.
109
110 2010-01-18  Sebastien Pouliot  <sebastien@ximian.com>
111
112         * mono-error.c: Call va_end/va_start before reusing 'args'.
113
114 2010-01-15 Gonzalo Paniagua Javier <gonzalo@novell.com>
115
116         * mono-hash.c: fix the null-gc build.
117
118 2010-01-11  Miguel de Icaza  <miguel@novell.com>
119
120         * valgrind.h, memcheck.h: Add guards to prevent the gcc features
121         from being included in non-GCC builds like the Windows build.
122
123 2010-01-03  Zoltan Varga  <vargaz@gmail.com>
124
125         * mono-path.c (mono_path_resolve_symlinks): Use g_strfreev () to free the
126         result of g_strplit.
127
128 2009-12-18  Zoltan Varga  <vargaz@gmail.com>
129
130         * valgrind.h memcheck.h: New files containing the BSD licensed valgrind
131         headers so we can use the valgrind user requests even if mono is compiled on
132         a system where they are not installed.
133
134 2009-12-11  Marek Habersack  <mhabersack@novell.com>
135
136         * mono-io-portability.c: moved all the reporting code to the IOMAP
137         profiler module.
138         (mono_portability_find_file_internal): calls mono_profiler_iomap
139         whenever an adjustement is made.
140
141 2009-12-02  Mark Probst  <mark.probst@gmail.com>
142
143         * mono-hash.c: Don't use MONO_ROOT_SETREF for setting keys and
144         values.  It's unnecessary - the hash table has a marking function
145         which takes care of all GC-tracked keys and values.
146
147 2009-11-26  Zoltan Varga  <vargaz@gmail.com>
148
149         * mono-ehash.c (mono_g_hash_table_find): Add this for eglib too.
150
151 2009-11-25 Rodrigo Kumpera  <rkumpera@novell.com>
152
153         * mono-error-internals.h: Add mono_error_set_bad_image_name and change signature
154         of mono_error_set_bad_image to take a MonoImage instead of a const char *.
155
156         * mono-error.c: Same.
157
158 2009-11-25  Zoltan Varga  <vargaz@gmail.com>
159
160         * mono-hash.c (mono_g_hash_table_find): Implement this.
161
162 2009-11-24  Zoltan Varga  <vargaz@gmail.com>
163
164         * mono-io-portability.c (append_report): g_string_append_vprintf is available
165         only in glib 2.14.
166
167 2009-11-23  Andreas Färber  <andreas.faerber@web.de>
168
169         * mono-mmap.c (mono_mprotect): Use posix_madvise in absence of madvise.
170         
171         Code contributed under MIT/X11 license.
172
173 2009-11-23  Marek Habersack  <mhabersack@novell.com>
174
175         * mono-io-portability.c: gather up and report misnamed files
176         accessed by the application if the 'report' option is present in
177         the MONO_IOMAP environment variable.
178
179 2009-11-13 Jonathan Chambers <joncham@gmail.com>
180
181         * mono-semaphore.h: Implementation for Windows platform.
182
183         Code contributed under MIT/X11 license.
184
185 2009-11-12  Geoff Norton  <gnorton@novell.com>
186
187         * mono-path.c: When resolving symlinks in a path, we need to
188         split on the directory separator and check each level, as
189         readlink only checks the final destination.
190
191 2009-11-08  Rodrigo Kumpera  <rkumpera@novell.com>
192
193         * mono-sigcontext.h: Add ucontext support for FreeBSD/ppc64.
194
195         Patch by Justin Hibbits <chmeeedalf@gmail.com>.
196
197 2009-11-06 Gonzalo Paniagua Javier <gonzalo@novell.com>
198
199         * mono-error.c: VS does not like this.
200
201 2009-11-05 Rodrigo Kumpera  <rkumpera@novell.com>
202
203         * mono-error-internals.h: Add mono_error_set_argument and mono_error_raise_exception.
204
205         * mono-error.h: Add new MONO_ERROR_ARGUMENT constant for
206         ArgumentException.
207
208         * mono-error.c: Implement mono_error_set_argument, mono_error_raise_exception.
209
210         * mono-error.c (mono_error_prepare_exception) Init error_out at the beginning. Add support
211         for MONO_ERROR_ARGUMENT.
212
213 2009-10-30 Gonzalo Paniagua Javier <gonzalo@novell.com>
214
215         * mono-proclib.c: hz is only multiplied by the number of cpus when
216         requesting "_Total".
217
218 2009-10-29  Mark Probst  <mark.probst@gmail.com>
219
220         * mono-hash.c (mono_g_hash_mark): Don't use SET_NODE_KEY/VALUE here.
221
222 2009-10-23  Alp Toker  <alp@nuanti.com>
223
224         Fix embedding API breakage from r144688. mono-compiler.h is an internal
225         header and should not be shipped:
226
227         * Makefile.am: Include newly added public header mono-error.h in HEADERS so
228         it gets installed.
229
230 2009-10-23 Rodrigo Kumpera  <rkumpera@novell.com>
231
232         * Makefile.am: Fix make dist.
233
234 2009-10-22 Rodrigo Kumpera  <rkumpera@novell.com>
235
236         * mono-compiler.h: Add MONO_DEPRECATED.
237
238 2009-10-22 Rodrigo Kumpera  <rkumpera@novell.com>
239
240         * mono-error.c, mono-error.h, mono-error-internal.h: New error handling
241         structures and functions.
242
243         * Makefile.am: Add new files.
244
245 2009-10-12  Joel W. Reed <joelwreed@gmail.com>
246
247         * mono-networkinterfaces.c, mono-networkinterfaces.h: Read
248         network statistics from "/proc/net/dev" for performance counters.
249
250         Code is contributed under MIT/X11 license.
251
252 2009-09-29  Zoltan Varga  <vargaz@gmail.com>
253
254         * mono-compiler.h (MONO_INTERNAL): Disable this on solaris as it produces a
255         millions of warnings during compilation.
256
257 2009-09-25  Jonathan Chambers  <joncham@gmail.com>
258
259         * mono-logger.c: Include mono-compiler.h for __func__ on MSVC.
260
261         Code is contributed under MIT/X11 license.
262
263 2009-09-02 Rodrigo Kumpera  <rkumpera@novell.com>
264
265         * mono-sha1.c: Update documentation.
266
267 2009-09-02 Rodrigo Kumpera  <rkumpera@novell.com>
268
269         * mono-md5.c: Update documentation.
270
271 2009-09-02  Sebastien Pouliot  <sebastien@ximian.com>
272
273         * mono-dl.c (mono_dl_open): Don't leak module if name is NULL
274         * mono-md5.c (mono_md5_get_digest_from_file): Close 'fp' even on
275         success (just like we do for sha1)
276
277 2009-08-21  Mark Probst  <mark.probst@gmail.com>
278
279         * mono-hash.c: When creating a hash table, if the keys are managed
280         objects, assert that we have a hash function.  Remove the
281         rehashing after GC marking.
282
283 2009-08-18  Christian Hergert  <chris@dronelabs.com>
284
285         * strtod.c: Fix warnings for uninitialized variables.
286
287 2009-08-18  Christian Hergert  <chris@dronelabs.com>
288
289         * mono-proclib.c:
290         * mono-counters.c: Fix printf warnings.
291
292 2009-08-12  Mark Probst  <mark.probst@gmail.com>
293
294         * mono-hash.c (mono_g_hash_mark): If the keys are managed objects,
295         rehash the table after marking.
296
297 2009-08-10 Gonzalo Paniagua Javier <gonzalo@novell.com>
298
299         * monobitset.h: add comment.
300
301 2009-08-01  Zoltan Varga  <vargaz@gmail.com>
302
303         * mono-sigcontext.h (UCONTEXT_GREGS): Fix freebsd definition.
304
305 2009-07-30  Mark Probst  <mark.probst@gmail.com>
306
307         * mono-sigcontext.h: Include config.h.
308
309 2009-07-30  Mark Probst  <mark.probst@gmail.com>
310
311         * mono-sigcontext.h, Makefile.am: Arch-dependent sigcontext
312         macros, moved from mini.
313
314 2009-07-29  Massimiliano Mantione  <massi@ximian.com>
315
316         * mono-codeman.c (free_chunklist and new_codechunk):
317         Call profiler hooks to keep track of code chunks.
318
319 2009-07-20  Geoff Norton  <gnorton@novell.com>
320
321         * mono-semaphore.h: Refactor from io-layer/thread-private.h so it
322         can be used by the runtime as well.
323
324 2009-07-17 Gonzalo Paniagua Javier <gonzalo@novell.com>
325
326         * mono-proclib.c: fix reading processor usage for a process. Patch
327         from Jacob Gladish that fixes bug #523052.
328
329 2009-07-15 Gonzalo Paniagua Javier <gonzalo@novell.com>
330
331         * mono-proclib.c: fixed setting the NUL terminator.
332         Thanks to Jacob Gladish.
333
334 2009-06-15  Zoltan Varga  <vargaz@gmail.com>
335
336         * gc_wrapper.h: Disable thread local alloc on mips.
337
338 2009-05-26  Zoltan Varga  <vargaz@gmail.com>
339
340         * CMakeLists.txt: New file.
341
342 2009-05-09  Miguel de Icaza  <miguel@novell.com>
343
344         * mono-value-hash.c (mono_value_hash_table_insert_replace):
345         Initialize variable, to quiet the compiler. 
346
347         * mono-proclib.c: Eliminate two warnings.
348
349 2009-04-03  Miguel de Icaza  <miguel@novell.com>
350
351         * mono-filemap.c: Move mono_file_unmap for the not-mmap case to
352         the mono-filemap.c file so it can be plugged in platform-specific
353         code as well. 
354
355 2009-04-03 Rodrigo Kumpera  <rkumpera@novell.com>
356
357         * strenc.h:
358         * strenc.c: Add mono_utf8_validate_and_len_with_bounds.
359
360 2009-03-23  Zoltan Varga  <vargaz@gmail.com>
361
362         * Makefile.am (libmonoutils_la_SOURCES): Fix make dist.
363
364 2009-03-22  Zoltan Varga  <vargaz@gmail.com>
365
366         * gc_wrapper.h: Disable thread local allocation for ARM too because of
367         incomplete support in libgc.
368
369 2009-03-20  Zoltan Varga  <vargaz@gmail.com>
370
371         * gc_wrapper.h: New file, moved from ../os.
372
373         * Makefile.am: Add gc_wrapper.h
374
375 2009-03-06  Zoltan Varga  <vargaz@gmail.com>
376
377         * mono-hash.c: Use precise GC allocation for the Boehm GC as well.
378
379 2009-02-16  Mark Probst  <mark.probst@gmail.com>
380
381         Contributed under the terms of the MIT/X11 license by Steven
382         Munroe <munroesj@us.ibm.com>.
383
384         * mono-compiler.h: MONO_THREAD_VAR_OFFSET for PPC(64).
385
386 2009-02-11  Bill Holmes  <billholmes54@gmail.com>
387
388         * mono-filemap.c : Fixing the MSVC build.
389
390         Contributed under MIT/X11 license.
391
392 2009-02-03  Miguel de Icaza  <miguel@novell.com>
393
394         * mono-dl.c: Add support for registering in-proc addresses as
395         libraries that can be P/Invoked.   Used in operating systems that
396         lack a dynamic linker. 
397
398         * mono-filemap.c: Integrate Paolo's mono-filemap code here, split
399         some code from mono-mmap. into this file to ease porting.
400
401         * mono-io-portability.c: Use new define to turn off portability
402         features. 
403
404 2009-01-25  Zoltan Varga  <vargaz@gmail.com>
405
406         * mono-compiler.h (MONO_THREAD_VAR_OFFSET): Add ARM Linux support.
407
408 2009-01-21  Zoltan Varga  <vargaz@gmail.com>
409
410         * mono-mmap.c: Applied patch from Koushik Dutta
411         (koush@koushikdutta.com). Rework the #ifdefs so Android could use the mmap
412         implementation.
413
414 2009-01-19  Bill Holmes  <billholmes54@gmail.com>
415
416         * mono-path.c (mono_path_canonicalize): Adding support for UNC
417            paths on Windows.
418
419         Contributed under MIT/X11 license.
420
421 2009-01-18  Zoltan Varga  <vargaz@gmail.com>
422
423         * mono-mmap.c: Applied patch from Koushik Dutta
424         (koush@koushikdutta.com). Add an #ifdef HAVE_SHM_OPEN.
425
426 2009-01-16  Zoltan Varga  <vargaz@gmail.com>
427
428         * mono-hash.c: Change the roots to use write barriers when running with
429         SGEN, to avoid scanning all the hash nodes at every minor collection.
430
431 2009-01-15  Zoltan Varga  <vargaz@gmail.com>
432
433         * mono-hash.c: Rewrite the SGEN specific parts to use a user defined
434         marker function instead of registering each GC node as a hash root.
435
436 2009-01-08  Bill Holmes  <billholmes54@gmail.com>
437
438         * mono-dl.c (mono_dl_open): Fix the MSVC build.
439
440         Contributed under MIT/X11 license.
441
442 2008-12-19  Miguel de Icaza  <miguel@novell.com>
443
444         * mono-dl.c (mono_dl_open): Do not crash if the platform does not
445         support dlopen.
446
447 2008-12-08  Kornél Pál  <kornelpal@gmail.com>
448
449         * mono-time.c (mono_100ns_ticks, PLATFORM_WIN32): Use GetSystemTimeAsFileTime
450         with ULARGE_INTEGER that is more efficient.
451
452         Contributed under MIT/X11 license.
453
454 2008-12-02  Rodrigo Kumpera  <rkumpera@novell.com>
455
456         * mono-property-hash.c (mono_property_hash_destroy): Release
457         the root hashtable as well.
458
459 2008-11-24  Zoltan Varga  <vargaz@gmail.com>
460
461         * freebsd-elf_common.h (struct): Use uint32_t instead of 
462         u_int32_t to fix the build on opensolaris.
463
464 2008-11-18  Zoltan Varga  <vargaz@gmail.com>
465
466         * freebsd-dwarf.h: Add dwarf.h header file from freebsd.
467
468 2008-11-14  Andreas Färber  <andreas.faerber@web.de>
469
470         * Makefile.am (ENABLE_DTRACE): Re-add dtrace -h flag.
471         Fixes #445074.
472         
473         Contributed under MIT/X11 license.
474
475 Mon Nov 10 17:38:41 CET 2008 Paolo Molaro <lupus@ximian.com>
476
477         * mono-proclib.c: adapt code for FreeBSD and hopefully other BSD
478         systems.
479
480 Mon Nov 10 17:27:01 CET 2008 Paolo Molaro <lupus@ximian.com>
481
482         * mono-proclib.c, mono-proclib.h: added elapsed time and parent pid.
483
484 2008-11-05  Zoltan Varga  <vargaz@gmail.com>
485
486         * Makefile.am (libmonoutils_la_SOURCES): Add the freebsd-elf*.h files to
487         the build.
488
489 2008-11-04  Zoltan Varga  <vargaz@gmail.com>
490
491         * freebsd-elf32.h freebsd-elf64.h freebsd-elf_common.h: Add elf header
492         files from freebsd.
493
494 Wed Oct 22 17:43:03 CEST 2008 Paolo Molaro <lupus@ximian.com>
495
496         * mono-proclib.c, mono-proclib.h: added functions to get info
497         about the processors in the system.
498
499 Wed Oct 22 16:45:20 CEST 2008 Paolo Molaro <lupus@ximian.com>
500
501         * mono-proclib.c, mono-mmap.c: basic support for OSX and
502         (untested) BSD systems.
503
504 2008-10-13  Bill Holmes  <billholmes54@gmail.com>
505
506         * mono-proclib.c : Adding a compilation check for HAVE_UNISTD_H.
507
508         Contributed under MIT/X11 license.
509
510 Mon Oct 13 14:36:10 CEST 2008 Paolo Molaro <lupus@ximian.com>
511
512         * mono-proclib.c, mono-proclib.h: added a function to deal with
513         error handling if the caller needs the info.
514
515 Mon Oct 13 11:11:43 CEST 2008 Paolo Molaro <lupus@ximian.com>
516
517         * Makefile.am, mono-proclib.c, mono-proclib.h: utility functions to
518         access process-related information.
519
520 2008-10-08  Zoltan Varga  <vargaz@gmail.com>
521
522         * mono-compiler.h (MONO_THREAD_VAR_OFFSET): Apply a patch from
523         the fedora packagers to the IA64 MONO_THREAD_VAR_OFFSET definition.
524
525 2008-09-26  Zoltan Varga  <vargaz@gmail.com>
526
527         * mono-mmap.c (mono_shared_area_for_pid): Fix a warning.
528
529 Thu Sep 18 18:16:45 CEST 2008 Paolo Molaro <lupus@ximian.com>
530
531         * mono-mmap.c, mono-mmap.h: added mono_shared_area_instances ()
532         too return the list of mono processes with performance counter data.
533
534 2008-08-27  Bill Holmes  <billholmes54@gmail.com>
535
536         * strenc.c : Fixing some waringings and compiler errors when using
537           eglib.
538
539         Contributed under MIT/X11 license.
540
541 2008-08-20  Mike Voorhees  <vernish13@gmail.com>
542
543         * strenc.h : Adding declaration for mono_utf8_validate_and_len.
544
545         * strenc.c : Adding implementation for mono_utf8_validate_and_len.
546
547         Contributed under MIT/X11 license.
548
549 2008-08-03  Andreas Färber  <andreas.faerber@web.de>
550
551         * mono-io-portability.c (mono_portability_find_file): Fix ANSI C compliance.
552         
553         Contributed under MIT/X11 license.
554
555 Fri Aug 1 15:48:53 CEST 2008 Paolo Molaro <lupus@ximian.com>
556
557         * mono-mmap.h, mono-mmap.c: added support for storing some runtime data
558         in a shared memory page.
559
560 2008-07-21  Bill Holmes  <billholmes54@gmail.com>
561
562         * mono-membar.h :  From previous commit.  When including glib.h,
563           <> should be used and not "".
564
565         Contributed under MIT/X11 license.
566
567 2008-07-21  Bill Holmes  <billholmes54@gmail.com>
568
569         * mono-membar.h :  Including glib.h to get definition of 'inline.'  Needed
570           by the MSVC compiler.
571
572         Contributed under MIT/X11 license.
573
574 2008-07-09  Zoltan Varga  <vargaz@gmail.com>
575
576         * mono-codeman.c (mono_code_manager_new): Initialize the read-only field.
577         
578         * mono-codeman.c (mono_code_manager_set_read_only): New helper function to
579         set the code manager to read-only status.
580         (mono_code_manager_reserve_align): Assert if the code manager is read only.
581
582 2008-06-14  Zoltan Varga  <vargaz@gmail.com>
583
584         * mono-codeman.c (new_codechunk): Allocate memory for dynamic code managers
585         using dlmemalign.
586
587         * dlmalloc.c: Enable the memalign functions.
588
589 2008-06-05  Zoltan Varga  <vargaz@gmail.com>
590
591         * Makefile.am (libmonoutils_la_SOURCES): Add dtrace.h.
592
593 2008-06-05  Andreas Färber  <andreas.faerber@web.de>
594
595         * dtrace.h: New file, defines macros for DTrace probes.
596         * Makefile.am (BUILT_SOURCES): Generate mono-dtrace.h when DTrace enabled.
597
598         Contributed under MIT/X11 license.
599
600 2008-05-29  Zoltan Varga  <vargaz@gmail.com>
601
602         * mono-value-hash.c: Remove the unused prime functions. Fixes #395320.
603
604 2008-05-27  Zoltan Varga  <vargaz@gmail.com>
605
606         * mono-value-hash.c: Fix build on older glib versions.
607
608         * Makefile.am (libmonoutils_la_SOURCES): Add mono-value-hash.{h,c}.
609
610         * mono-value-hash.h mono-value-hash.c: New files.
611
612 2008-05-26  Zoltan Varga  <vargaz@gmail.com>
613
614         * Makefile.am (libmonoutils_la_SOURCES): Add mono-property-hash.{h,c}.
615
616         * mono-property-hash.h mono-property-hash.c: New files.
617
618 2008-05-14  Kornél Pál  <kornelpal@gmail.com>
619
620         * mono-path.c (mono_path_canonicalize): Convert '/' to '\' on Windows that
621         fixes path canonicalization for paths containing '/'.
622
623         Contributed under MIT/X11 license.
624
625 2008-05-04  Andreas Faerber  <andreas.faerber@web.de>
626
627         * mono-membar.h: Prepare support for OSX/ppc64.
628
629         Contributed under MIT/X11 license.
630
631 2008-04-16  Jonathan Chambers  <joncham@gmail.com>
632         * monobitset.c (find_first_unset): Use gsize instead of gulong for platform
633           dependent size; fixes Win64.
634         * mono-member.h: Implement mono_memory_barrier, mono_memory_read_barrier, and 
635           mono_memory_write_barrier for Win64.
636
637         Contributed under MIT/X11 license.
638
639 2008-04-16  Marek Habersack  <mhabersack@novell.com>
640
641         * mono-io-portability.c (mono_portability_find_file): properly
642         process unrooted entries with a trailing slash.
643
644 2008-04-09  Zoltan Varga  <vargaz@gmail.com>
645
646         * dlmalloc.h dlmalloc.c: New files, a slightly modified version of Doug
647         Lea's malloc package.
648
649         * mono-codeman.c: Use dlmalloc for managing memory in dynamic code managers,
650         this allows us to set the executable bit on the system memory dlmalloc 
651         allocates from, fixing #320036.
652
653 2008-03-29  Zoltan Varga  <vargaz@gmail.com>
654
655         * mono-logger.h: Move G_END_DECLS outside of an #ifdef. Fixes #375107.
656
657 2008-03-14  Robert Jordan  <robertj@gmx.net>
658
659         * mono-dl.c (w32_load_module): prevent error dialog by resetting
660         the Win32 error mode during LoadLibrary (). Fixes #360363.
661
662         * mono-dl.c (w32_dlerror): kill a warning.
663
664 2007-MM-DD  Yoichi NAKAYAMA  <nakayama@pixela.co.jp>
665  
666         * mono-membar.h: Memory barrier for mips.
667  
668         Contributed under MIT/X11 license.
669  
670 Tue Feb 26 15:43:26 CET 2008 Paolo Molaro <lupus@ximian.com>
671
672         * mono-time.c, mono-time.h: new file with the implementation of the
673         time-related routines we need in mono. This includes a hires
674         monotonic clock and a proper monotonic replacement for GetTickCount ().
675
676 2008-02-13  Zoltan Varga  <vargaz@gmail.com>
677
678         * mono-membar.h (mono_memory_barrier): Applied patch by Sergey Tikhonov 
679         <tsv@solvo.ru>. Add alpha support.
680
681 2008-01-11  Zoltan Varga  <vargaz@gmail.com>
682
683         * mono-io-portability.c: Include errno.h since it is needed by code inside
684         #ifdef DEBUG.
685
686         * mono-ehash.c: Don't include os/gc_wrapper.h.
687
688 2008-01-06  Zoltan Varga  <vargaz@gmail.com>
689
690         * mono-hash.c: Don't include os/gc_wrapper.h.
691
692 2007-11-06  Geoff Norton  <gnorton@novell.com>
693
694         * strtod.c: Use a G_MUTEX call pattern compatible with eglib.  Patch
695         from Jonathan Chambers
696
697 2007-10-11  Zoltan Varga  <vargaz@freemail.hu>
698
699         * mono-mmap.c (mono_vfree): Fix call to VirtualFree (). Fixes #332165.
700
701 Mon Oct 8 11:47:44 CEST 2007 Paolo Molaro <lupus@ximian.com>
702
703         * mono-codeman.c, mono-codeman.h: added a function to be able
704         to specify alignment per-allocation. Changed the code to align
705         the starting position instead of the size, which wouldn't work
706         with variable-alignment.
707
708 Mon Oct 8 10:51:29 CEST 2007 Paolo Molaro <lupus@ximian.com>
709
710         * mono-codeman.c, mono-codeman.h: fixed alignment code to not
711         be wasteful, Added documentation. Added mono_code_manager_size ()
712         to gather statistics info about a code manager.
713
714 Mon Oct 8 10:21:47 CEST 2007 Paolo Molaro <lupus@ximian.com>
715
716         * mono-counters.h, mono-counters.c: better formatting of the output
717         and added a cleanup function.
718
719 2007-10-03  Miguel de Icaza  <miguel@novell.com>
720
721         * mono-compiler.h (trunc): Make the definition of trunk for MSC
722         use ceil or floor instead of always using floor which is
723         incorrect.
724
725         Issue pointed out by Aras Pranckevicius <aras@unity3d.com>
726
727 2007-10-02  Jonathan Chambers <joncham@gmail.com>
728
729         * mono-io-portability.c: Init __mono_io_portability_helpers
730         to PORTABILITY_NONE on windows as mono_portability_helpers_init
731         is not always called before mono_portability_find_file.
732         
733         Code is contributed under MIT/X11 license.
734
735 2007-10-01  Jonathan Chambers <joncham@gmail.com>
736
737         * mono-io-portability.c: Only support on non-Windows
738         platforms.
739         
740         Code is contributed under MIT/X11 license.
741
742 Mon Sep 24 17:14:05 CEST 2007 Paolo Molaro <lupus@ximian.com>
743
744         * strtod.h, strtod.c: made the code threadsafe, fixed gcc warnings,
745         renamed exported call and made it properly internal.
746
747 2007-09-14  Jonathan Chambers <joncham@gmail.com>
748
749         * mono-io-portability.c: Add HAVE_UNISTD_H check around include.
750         
751         Code is contributed under MIT/X11 license.
752
753 Wed Sep 12 15:15:47 CEST 2007 Paolo Molaro <lupus@ximian.com>
754
755         * Makefile.am: don't install internal headers.
756
757 2007-09-12  Marek Habersack  <mhabersack@novell.com>
758
759         * mono-io-portability.c: added. Moved options_init from io-layer.
760         (find_in_dir): moved from io-layer/io-portability.c
761         (mono_portability_find_file): moved find_file from
762         io-layer/io-portability.c, renamed and made MONO_INTERNAL.
763
764         * mono-io-portability.h: added. Contains declarations utility
765         functions and acros for checking whether MONO_IOMAP is in effect.
766         Added a prototype for mono_portability_find_file.
767
768 2007-09-09  Zoltan Varga  <vargaz@gmail.com>
769
770         * mono-compiler.h: Applied patch from Jurek Bartuszek (jurek@gentoo.org).
771         Fixes build with -fPIE.
772
773 2007-08-31  Jonathan Chambers <joncham@gmail.com>
774
775         * mono-compiler.h: Define MONO_INTERNAL to nothing on Windows.
776         Fixes tons of warnings we get on cygwin build.
777         
778         Code is contributed under MIT/X11 license.
779
780 2007-08-14  Jonathan Chambers <joncham@gmail.com>
781
782         * mono-membar.h: Use intrinsic functions in msvc.
783
784 2007-07-31  Zoltan Varga  <vargaz@freemail.hu>
785
786         * mono-dl.c (w32_dlerror): Fix call to FormatMessage (). Fixes #82260.
787
788 2007-07-27  Mark Probst  <mark.probst@gmail.com>
789
790         * mono-membar.h: Memory barriers.
791
792 2007-06-13  Mark Probst  <mark.probst@gmail.com>
793
794         * mono-codeman.c (mono_code_manager_reserve): Gather dynamic code
795         allocation stats.
796
797 2007-06-06  Mark Probst  <mark.probst@gmail.com>
798
799         * mono-internal-hash.c: Fixed a bug in the remove entry code.
800
801 2007-06-04  Mark Probst  <mark.probst@gmail.com>
802
803         * Makefile.am:
804         * mono-internal-hash.c, mono-internal-hash.h: Hash table which
805         uses the value themselves as nodes, hence doesn't have to allocate
806         nodes.
807
808 2007-05-24  Jonathan Chambers  <joncham@gmail.com>
809
810         * mono-path.c: Add configure checks for header files.
811         * mono-codeman.c: Add configure checks for header files.
812         * mono-poll.h: Add configure checks for header files.
813         * mono-stdlib.c: Add configure checks for header files.
814         
815         Code is contributed under MIT/X11 license.
816
817 2007-03-09  Jonathan Chambers  <joncham@gmail.com>
818
819         * mono-dl.c:  Use Unicode characters for Win32 functions.
820         
821         Code is contributed under MIT/X11 license.
822         
823 2007-01-26  Robert Jordan  <robertj@gmx.net>
824
825         * mono-dl.c (w32_find_symbol): Implement in-proc symbol lookup
826         for Win32.
827
828 Fri Jan 26 13:06:57 CET 2007 Paolo Molaro <lupus@ximian.com>
829
830         * mono-dl.h, mono-dl.c: make symbols internal and fixes.
831
832 Wed Jan 24 23:20:17 CET 2007 Paolo Molaro <lupus@ximian.com>
833
834         * mono-codeman.c: don't call mono_mprotect() on windows.
835
836 2007-01-20  Zoltan Varga  <vargaz@gmail.com>
837
838         * monobitset.h: monobitset.c: Move MonoBitSet type definition to
839         the header file. Add fast macro based versions of most bitset 
840         operations and optimize the rest a bit.
841
842 Mon Dec 18 18:59:08 CET 2006 Paolo Molaro <lupus@ximian.com>
843
844         * mono-dl.h, mono-dl.c, Makefile.am: implementation
845         of dynamic loading API.
846
847 Wed Dec 13 17:21:40 CET 2006 Paolo Molaro <lupus@ximian.com>
848
849         * mono-mmap.c, mono-mmap.h: use guint64 instead of off_t.
850
851 2006-12-12  Atsushi Enomoto  <atsushi@ximian.com>
852
853         * mono-mmap.c : win32 build fix.
854
855 Mon Dec 11 17:24:49 CET 2006 Paolo Molaro <lupus@ximian.com>
856
857         * mono-codeman.c: changed to use the mono-mmap.h API.
858
859 Mon Dec 11 15:08:27 CET 2006 Paolo Molaro <lupus@ximian.com>
860
861         * mono-mmap.c, mono-mmap.h, Makefile.am: introduced mmap-like API.
862
863 Mon Nov 27 16:03:58 CET 2006 Paolo Molaro <lupus@ximian.com>
864
865         * strtod.c: fix, again, 64 bit issues.
866
867 2006-11-25  Miguel de Icaza  <miguel@novell.com>
868
869         * strtod.c: Upgrade this implementation to the one from:
870         http://www.netlib.org/fp/
871
872         Fixed a few warnings, and added the header thta we had to
873         autodetect the FPU setup to use.
874
875         This should fix the hang when running the corlib test suite. 
876
877 2006-10-18  Miguel de Icaza  <miguel@novell.com>
878
879         * mono-ehash.c (mono_g_hash_table_destroy): Use mg_free, not
880         g_free. 
881
882 2006-10-17  Miguel de Icaza  <miguel@novell.com>
883
884         * mono-ehash.c: Use the new eglib hash implementation;   Currently
885         only Boehm is supported. 
886
887 Tue Oct 10 09:53:07 CEST 2006 Paolo Molaro <lupus@ximian.com>
888
889         * strtod.c: teleport to the new millennium.
890
891 2006-10-09  Miguel de Icaza  <miguel@novell.com>
892
893         * strtod.c: Replace the BSD implementation which was fairly old
894         and complex with a cleaner version from Tcl/Tk.   Fixes the hang
895         that we have in the Double parsing tests in our class libraries.
896
897 2006-09-12  Zoltan Varga  <vargaz@gmail.com>
898
899         * strtod.c (IEEE_8087): Applied patch from Sergey Tikhonov <tsv@solvo.ru>. Define
900         IEEE_8087 for alpha as well.
901
902 2006-09-04  Robert Jordan  <robertj@gmx.net>
903
904         * mono-stdlib.c (mono_mkstemp): Fix mkstemp's loop.
905
906 2006-08-30  Zoltan Varga  <vargaz@gmail.com>
907
908         * mono-codeman.c: Align code to a 16 byte boundary on amd64 too.
909
910 2006-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
911
912         * Makefile.am:
913         * mono-stdlib.[ch]: mkstemp implementation.
914
915 2006-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
916
917         * Makefile.am:
918         * mono-path.[ch]: new files with functions to handle/resolve paths.
919
920 2006-08-10  Zoltan Varga  <vargaz@gmail.com>
921
922         * mono-compiler.h: Fix TLS definitions so libmono can be loaded dynamically as a
923         module. Fixes #78767.
924
925 Wed May 17 19:00:15 CEST 2006 Paolo Molaro <lupus@ximian.com>
926
927         * mono-hash.h, mono-hash.c: changed the code so we're able to
928         specify if the key or value or both are managed objects.
929
930 2006-04-10  Zoltan Varga  <vargaz@gmail.com>
931
932         * monobitset.c (mono_bitset_sub): Use src->size since the assert 
933         guarantees it is less than dest->size.
934
935 Mon Apr 10 12:28:05 CEST 2006 Paolo Molaro <lupus@ximian.com>
936
937         * monobitset.c: cap size in mono_bitset_sub () to
938         avoid reading uninit memory.
939
940 Wed Mar 29 16:39:14 CEST 2006 Paolo Molaro <lupus@ximian.com>
941
942         * mono-counters.c: initialize the next pointer.
943
944 Mon Mar 20 14:50:35 CET 2006 Paolo Molaro <lupus@ximian.com>
945
946         * monobitset.c, monobitset.h: added mono_bitset_find_first_unset ().
947
948 2006-03-16  Zoltan Varga  <vargaz@gmail.com>
949
950         * monobitset.c: Guard inline asm with #ifdef __GNUC__.
951
952         * monobitset.c (mono_bitset_find_first): Turn a g_return_val_if_fail
953         into an assert.
954
955         * mono-compiler.h (MONO_INTERNAL): Disable this on the VC build.
956
957 2006-03-10  Zoltan Varga  <vargaz@gmail.com>
958
959         * monobitset.h monobitset.c: Merge lots of optimizations from the linear-il 
960         branch.
961
962 2006-03-01  Zoltan Varga  <vargaz@gmail.com>
963
964         * mono-compiler.h (__func__): Define this as __FUNCTION__ for MSVC.
965
966         * mono-counters.c: Fix windows build.
967
968 Wed Mar 1 12:33:26 CET 2006 Paolo Molaro <lupus@ximian.com>
969
970         * mono-counters.h, mono-counters.c, Makefile.am: added
971         API for flexible stats collection.
972
973 Tue Feb 28 13:58:50 CET 2006 Paolo Molaro <lupus@ximian.com>
974
975         * mono-compiler.h: fixed Jakub's patch to actually compile on amd64.
976
977 Tue Feb 28 11:33:40 CET 2006 Paolo Molaro <lupus@ximian.com>
978
979         * mono-compiler.h: patch from Jakub Jelinek to retrieve
980         the tls offset without a text writable section (bug #77653).
981
982 2006-02-01  Sebastien Pouliot  <sebastien@ximian.com>
983
984         * mono-compiler.h: Added a macro for isnormal(x) as it's not available
985         in VS.NET.
986
987 2006-01-20  Zoltan Varga  <vargaz@gmail.com>
988
989         * monobitset.h (mono_bitset_set_fast): Add more fast accessors. 
990
991 2006-01-17  Zoltan Varga  <vargaz@gmail.com>
992
993         * monobitset.h monobitset.c: Move the mono_bitset_test_fast macro here
994          from mini.h. Also fix it after the 64 bit changes.
995
996 2006-01-15  Zoltan Varga  <vargaz@gmail.com>
997
998         * monobitset.h monobitset.c: Use 64 bit chunks on 64 bit machines.
999
1000 2006-01-04  Zoltan Varga  <vargaz@gmail.com>
1001
1002         * mono-codeman.c (new_codechunk): Fix warnings.
1003
1004 2005-12-13  Atsushi Enomoto  <atsushi@ximian.com>
1005
1006         * strtod.c : un-constified some variables to fix bug #75228.
1007
1008 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1009
1010         * strenc.c: don't use the UTF16 conversion with g_convert. It returns
1011         the FF FE at the beginning, which is not what we expect. Now
1012         MONO_EXTERNAL_ENCODINGS can roundtrip and works.
1013
1014 2005-09-12  Zoltan Varga  <vargaz@freemail.hu>
1015
1016         * mono-compiler.h (MONO_THREAD_VAR_OFFSET): Fix compilation on amd64
1017         with recent binutils.
1018
1019 Wed Sep 7 21:23:18 BST 2005 Paolo Molaro <lupus@ximian.com>
1020
1021         * mono-codeman.c: ensure we have enough room for thunks
1022         with large allocations.
1023
1024 2005-08-27  Zoltan Varga  <vargaz@gmail.com>
1025
1026         * mono-compiler.h (MONO_THREAD_VAR_OFFSET): Disable this when using
1027         intel icc.
1028
1029         * strtod.c (Storeinc): Modify code which is miscompiled by intel icc.
1030
1031 Thu Aug 4 20:06:28 BST 2005 Paolo Molaro <lupus@ximian.com>
1032
1033         * mono-codeman.c: allow room for far calls for ARM, too.
1034
1035 2005-07-20  Zoltan Varga  <vargaz@freemail.hu>
1036
1037         * mono-compiler.h (MONO_THREAD_VAR_OFFSET): Use the nice way of
1038         getting the tls offsets on amd64 too.
1039
1040 2005-07-19  Zoltan Varga  <vargaz@freemail.hu>
1041
1042         * mono-compiler.h: Add TLS offset detection for ia64.
1043
1044 2005-06-28  Zoltan Varga  <vargaz@freemail.hu>
1045
1046         * mono-compiler.h (trunc): Define this to be floor under win32.
1047
1048 2005-06-13  Geoff Norton  <gnorton@customerdna.com>
1049
1050         * mono-compiler.h:  Be slightly more conservative on ppc
1051         as this was previously causing crashes building.
1052
1053 2005-06-09  Duncan Mak  <duncan@novell.com>
1054
1055         * *.h: Added G_BEGIN_DECLS and G_END_DECLS where appropriate to
1056         all public headers. Fixes #74919.
1057
1058 2005-05-18  Zoltan Varga  <vargaz@freemail.hu>
1059
1060         * mono-codeman.c: Align code on a 16 byte boundary on ia64.
1061
1062 2005-04-20  Zoltan Varga  <vargaz@freemail.hu>
1063
1064         * mono-digest.h mono-sha1.c mono-md5.c: Fix some gcc 4.0 warnings.
1065
1066 2005-04-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1067
1068         * mono-poll.c: windows return code translation.
1069         * mono-poll.h: FD_SETSIZE must be defined when compiling everything.
1070         Moved to configure.in.
1071
1072 2005-04-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1073
1074         * mono-poll.[ch]: mono_poll uses poll() when available, otherwise
1075         implement it in terms of select().
1076         * Makefile.am: added new files.
1077
1078 2005-03-29  Sebastien Pouliot  <sebastien@ximian.com>
1079
1080         * mono-compiler.h: Added defines to make it easier to compile mono and
1081         it's unmanaged tools using the Microsoft C compiler (VS.NET 2005).
1082
1083 2005-02-27  Zoltan Varga  <vargaz@freemail.hu>
1084
1085         * mono-codeman.c: Pass MAP_32BIT to mmap on amd64 to force generated
1086         code to have 32 bit addresses.
1087
1088 Fri Feb 25 14:54:19 CET 2005 Paolo Molaro <lupus@ximian.com>
1089
1090         * mono-compiler.h: amd64 can't handle local-exec in PIC libs.
1091
1092 Thu Feb 24 15:18:05 CET 2005 Paolo Molaro <lupus@ximian.com>
1093
1094         * Makefile.am, mono-compiler.h: added header to deal with 
1095         compiler-specific bugs and features.
1096
1097 2005-01-30  Zoltan Varga  <vargaz@freemail.hu>
1098
1099         * mono-logger.c (mono_trace_is_traced): Fix comment.
1100
1101         * mono-logger.h mono-logger.c (mono_trace_is_traced): New helper function.
1102
1103 2005-01-15  Zoltan Varga  <vargaz@freemail.hu>
1104
1105         * mono-codeman.c (new_codechunk): Initialize pagesize in the dynamic
1106         case as well.
1107
1108 2004-12-23  Ben Maurer  <bmaurer@ximian.com>
1109
1110         * strtod.c: add `cosnt' to some arrays to get them on shareable pages.
1111
1112 Tue Dec 7 17:53:01 CET 2004 Paolo Molaro <lupus@ximian.com>
1113
1114         * mono-codeman.c: align bsize so the returned pointer
1115         is aligned also for dynamic methods.
1116
1117 2004-10-26  Zoltan Varga  <vargaz@freemail.hu>
1118
1119         * mono-codeman.c: Fall back to malloc if MAP_ANON is not defined.
1120
1121 2004-09-25  Zoltan Varga  <vargaz@freemail.hu>
1122
1123         * mono-codeman.c (new_codechunk): Set malloc'ed code pages as 
1124         executable.
1125
1126 2004-09-07  Bernie Solomon  <bernard@ugsolutions.com>
1127
1128         * mono-sha1.c: Remove uint32 and int32 types completely
1129
1130 2004-09-02  Zoltan Varga  <vargaz@freemail.hu>
1131
1132         * mono-codeman.c (new_codechunk): Remove g_assert_not_reached ().
1133         
1134         * mono-codeman.c (new_codechunk): Fix windows build.
1135
1136         * mono-codeman.h mono-codeman.c: Generalize so it can be used to
1137         allocate code for dynamic methods (one method per code manager).
1138
1139 2004-07-30  Zoltan Varga  <vargaz@freemail.hu>
1140
1141         * mono-logger.c (mono_trace_set_mask_string): Fix AOT tracing constant.
1142
1143 2004-07-28  Zoltan Varga  <vargaz@freemail.hu>
1144
1145         * mono-codeman.c (mono_code_manager_invalidate): Invalidate with
1146         x86 break on AMD64 too.
1147
1148 2004-07-23  zovarga  <vargaz@freemail.hu>
1149
1150         * monobitset.c (my_g_bit_nth_msf): Add workaround for glib 2.2 bug on
1151         64 bit platforms.
1152
1153 2004-07-09  Ben Maurer  <bmaurer@ximain.com>
1154         
1155         * mono-hash.c: register gc roots
1156
1157 2004-07-02  Zoltan Varga  <vargaz@freemail.hu>
1158
1159         * mono-logger.h mono-logger.c: Added AOT component.
1160
1161 2004-06-30  Zoltan Varga  <vargaz@freemail.hu>
1162
1163         * strtod.c: Use gint32 for 32 bit types.
1164
1165 2004-06-29  Zoltan Varga  <vargaz@freemail.hu>
1166
1167         * mono-sha1.c: Use gint32 for 32 types. Fixes random memory corruption
1168         in SHA1Transform on 64 bit systems.
1169
1170 2004-06-24  David Waite  <mass@akuma.org>
1171
1172         * monobitset.c: change to C90-style comments from C99/C++-style 
1173
1174 2004-06-21  Atsushi Enomoto  <atsushi@ximian.com>
1175
1176         * mono-sha1.c : close opened file in case of successful read. This
1177           saves a bunch of System.Reflection Emit failures under windows.
1178
1179 2004-06-18  Jackson Harper  <jackson@ximian.com>
1180
1181         * mono-logger.c/h: Add a trace mask option for tracing loading
1182         config files. A little white space love.
1183         
1184 2004-06-18  Jackson Harper  <jackson@ximian.com>
1185
1186         * mono-logger.c: Change default logging level to ERROR. Make sure
1187         that mono_trace_init is called if mono_tracev is our first trace
1188         statement is mono_tracev. Little indentation fix.
1189         
1190 2004-05-25  Zoltan Varga  <vargaz@freemail.hu>
1191
1192         * mono-codeman.c (mono_code_manager_invalidate): On x86, fill the
1193         memory with 0xcc (x86 break).
1194
1195 2004-05-02  Miguel de Icaza  <miguel@ximian.com>
1196
1197         * mono-sha1.c: MacOS X defines "LITTLE_ENDIAN", you are supposed
1198         to test against BYTE_ORDER, and this caused trouble.  We now use
1199         G_BYTE_ORDER and G_LITTLE_ENDIAN.  This should fix the MacOS woes.
1200
1201 2004-04-26  David Waite  <mass@akuma.org>
1202
1203         * mono-logger.h: remove comma from end of enumeration declaration
1204
1205 Fri Apr 23 11:04:33 EDT 2004 Paolo Molaro <lupus@ximian.com>
1206
1207         * mono-codeman.c: macosx pretends an argument (which is ignored)
1208         to be -1. Make sure the thunks area is zeroed.
1209
1210 2004-03-11  Zoltan Varga  <vargaz@freemail.hu>
1211
1212         * monobitset.c (mono_bitset_test_bulk): New function to return multiple
1213         bits at once.
1214
1215 Thu Mar 4 15:46:20 PST 2004 Paolo Molaro <lupus@ximian.com>
1216
1217         * mono-codeman.c: add a define to force the use of malloc
1218         instead of mmap.
1219
1220 Tue Feb 17 21:45:12 CET 2004 Paolo Molaro <lupus@ximian.com>
1221
1222         * mono-codeman.c, mono-codeman.h: allocate extra room in memory close
1223         to the native code for arch where calls have a limited immediate
1224         displacement.
1225
1226 Wed Feb 11 15:26:18 CET 2004 Paolo Molaro <lupus@ximian.com>
1227
1228         * Makefile.am, mono-codeman.h, mono-codeman.c: new support code
1229         to deal with buffers of native code (handles exec bits and other
1230         details).
1231
1232 2004-01-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1233
1234         * strenc.c:
1235         (mono_unicode_from_external): UTF8 is the default, not the preferred
1236         encoding, ie, try MONO_EXTERNAL_ENCODINGS first. When "default_locale"
1237         was passed in the env. var., it always failed because we were passing
1238         "default_locale" to g_convert. Also fixed the byte count for non-UTF8
1239         conversions.
1240         (mono_utf8_from_external): UTF8 is the default, not the preferred one.
1241
1242         Fixes bug #53166.
1243
1244 Thu Jan 8 19:56:08 CET 2004 Paolo Molaro <lupus@ximian.com>
1245
1246         * mono-uri.c: fixed compile problem.
1247
1248 2003-12-02  Bernie Solomon  <bernard@ugsolutions.com>
1249
1250         * mono-math.c: fix for older C compilers and big endian machines
1251
1252 2003-11-12  Zoltan Varga  <vargaz@freemail.hu>
1253
1254         * mono-math.h mono-math.c: New file which contains implementations of
1255         math functions/macros which are missing on some platforms.
1256
1257 2003-11-10  Dick Porter  <dick@ximian.com>
1258
1259         * strenc.c: Use platform-endian UTF16
1260
1261 2003-10-28  Dick Porter  <dick@ximian.com>
1262
1263         * strenc.h:
1264         * strenc.c: New files, convert text to and from unicode or utf8,
1265         and the user's chosen encoding.
1266
1267 2003-08-26  Zoltan Varga  <vargaz@freemail.hu>
1268
1269         * mono-hash.h mono-hash.c (mono_g_hash_table_remap): New function used
1270         to remap hashtable values during a copying collection. Not used at the
1271         moment.
1272         * mono-hash.c (g_hash_node_new): Restructured to avoid the global lock
1273         in the common case.
1274         * mono-hash.c (mono_g_hash_table_new_full): Enable the optimization of
1275         the key function even if the client supplied g_direct_equal instead of
1276         NULL.
1277
1278 2003-08-22  Duncan Mak  <duncan@ximian.com>
1279
1280         * strtod.c: 64-bit related fixes from Laurent Morichetti
1281         <l_m@pacbell.net>. Patch approval from Miguel.
1282
1283 Fri Jun 6 19:09:51 CEST 2003 Paolo Molaro <lupus@ximian.com>
1284
1285         * mono-logger.h, mono-logger.c, Makefile.am: added
1286         selective logging code by Jerome Laban <jlaban@wanadoo.fr>.
1287
1288 2003-03-05  Dietmar Maurer  <dietmar@ximian.com>
1289
1290         * monobitset.c (mono_bitset_set_all): impl.
1291
1292 Fri Sep 13 15:56:04 CEST 2002 Paolo Molaro <lupus@ximian.com>
1293
1294         * mono-digest.h, mono-sha1.c: Added mono_digest_get_public_token()
1295         to get the public key token from a public key.
1296
1297 Thu Jul 25 13:59:34 CEST 2002 Paolo Molaro <lupus@ximian.com>
1298
1299         * mono-digest.h, mono-md5.c, mono-sha1.c: MD5 and SHA1
1300         implementations.
1301
1302 Mon Jun 3 15:59:31 CEST 2002 Paolo Molaro <lupus@ximian.com>
1303
1304         * strtod.c: make __bsd_dtoa() always return malloc()ed memory.
1305
1306 Mon Jun 3 15:42:50 CEST 2002 Paolo Molaro <lupus@ximian.com>
1307
1308         * monobitset.c, monobitset.h: documentation and fixes from
1309         Dennis Haney.
1310
1311 Sat Jun 1 14:10:23 CEST 2002 Paolo Molaro <lupus@ximian.com>
1312
1313         * monobitset.c: fix my screwup pointed out by Lawrence Pit
1314         (loz@cable.a2000.nl).
1315
1316 Fri May 31 15:34:18 CEST 2002 Paolo Molaro <lupus@ximian.com>
1317
1318         * monobitset.c, monobitset.h: fixes. added mono_bitset_foreach().
1319
1320 Wed May 22 12:42:06 CEST 2002 Paolo Molaro <lupus@ximian.com>
1321
1322         * monobitset.c: use our own bit_nth_lsf since the glib one is buggy.
1323         Add more tests. mono_bitset_find_first (set, -1) will work correctly
1324         now.
1325
1326 2002-05-09  Dietmar Maurer  <dietmar@ximian.com>
1327
1328         * monobitset.c: use memcmp instead of memcpy
1329
1330 Thu May 9 17:23:17 CEST 2002 Paolo Molaro <lupus@ximian.com>
1331
1332         * monobitset.c, monibitset.h: bit set data structure.
1333         Not included in the build yet because the jit has some symbol clashes
1334         with it.
1335
1336 Mon Mar 25 12:50:53 CET 2002 Paolo Molaro <lupus@ximian.com>
1337
1338         * First checkin: libmonoutils is meant to hold some utility
1339         data structures and bits that are usefult to the rest of the project
1340         and don't require metadata/runtime support.
1341         mono-hash is a GC-safe hash table: i.e. you can store GC-allocated
1342         data in it.
1343