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