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