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