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