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