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