1 2009-11-05 Rodrigo Kumpera <rkumpera@novell.com>
3 * mono-error-internals.h: Add mono_error_set_argument and mono_error_raise_exception.
5 * mono-error.h: Add new MONO_ERROR_ARGUMENT constant for
8 * mono-error.c: Implement mono_error_set_argument, mono_error_raise_exception.
10 * mono-error.c (mono_error_prepare_exception) Init error_out at the beginning. Add support
11 for MONO_ERROR_ARGUMENT.
13 2009-10-30 Gonzalo Paniagua Javier <gonzalo@novell.com>
15 * mono-proclib.c: hz is only multiplied by the number of cpus when
18 2009-10-29 Mark Probst <mark.probst@gmail.com>
20 * mono-hash.c (mono_g_hash_mark): Don't use SET_NODE_KEY/VALUE here.
22 2009-10-23 Alp Toker <alp@nuanti.com>
24 Fix embedding API breakage from r144688. mono-compiler.h is an internal
25 header and should not be shipped:
27 * Makefile.am: Include newly added public header mono-error.h in HEADERS so
30 2009-10-23 Rodrigo Kumpera <rkumpera@novell.com>
32 * Makefile.am: Fix make dist.
34 2009-10-22 Rodrigo Kumpera <rkumpera@novell.com>
36 * mono-compiler.h: Add MONO_DEPRECATED.
38 2009-10-22 Rodrigo Kumpera <rkumpera@novell.com>
40 * mono-error.c, mono-error.h, mono-error-internal.h: New error handling
41 structures and functions.
43 * Makefile.am: Add new files.
45 2009-10-12 Joel W. Reed <joelwreed@gmail.com>
47 * mono-networkinterfaces.c, mono-networkinterfaces.h: Read
48 network statistics from "/proc/net/dev" for performance counters.
50 Code is contributed under MIT/X11 license.
52 2009-09-29 Zoltan Varga <vargaz@gmail.com>
54 * mono-compiler.h (MONO_INTERNAL): Disable this on solaris as it produces a
55 millions of warnings during compilation.
57 2009-09-25 Jonathan Chambers <joncham@gmail.com>
59 * mono-logger.c: Include mono-compiler.h for __func__ on MSVC.
61 Code is contributed under MIT/X11 license.
63 2009-09-02 Rodrigo Kumpera <rkumpera@novell.com>
65 * mono-sha1.c: Update documentation.
67 2009-09-02 Rodrigo Kumpera <rkumpera@novell.com>
69 * mono-md5.c: Update documentation.
71 2009-09-02 Sebastien Pouliot <sebastien@ximian.com>
73 * mono-dl.c (mono_dl_open): Don't leak module if name is NULL
74 * mono-md5.c (mono_md5_get_digest_from_file): Close 'fp' even on
75 success (just like we do for sha1)
77 2009-08-21 Mark Probst <mark.probst@gmail.com>
79 * mono-hash.c: When creating a hash table, if the keys are managed
80 objects, assert that we have a hash function. Remove the
81 rehashing after GC marking.
83 2009-08-18 Christian Hergert <chris@dronelabs.com>
85 * strtod.c: Fix warnings for uninitialized variables.
87 2009-08-18 Christian Hergert <chris@dronelabs.com>
90 * mono-counters.c: Fix printf warnings.
92 2009-08-12 Mark Probst <mark.probst@gmail.com>
94 * mono-hash.c (mono_g_hash_mark): If the keys are managed objects,
95 rehash the table after marking.
97 2009-08-10 Gonzalo Paniagua Javier <gonzalo@novell.com>
99 * monobitset.h: add comment.
101 2009-08-01 Zoltan Varga <vargaz@gmail.com>
103 * mono-sigcontext.h (UCONTEXT_GREGS): Fix freebsd definition.
105 2009-07-30 Mark Probst <mark.probst@gmail.com>
107 * mono-sigcontext.h: Include config.h.
109 2009-07-30 Mark Probst <mark.probst@gmail.com>
111 * mono-sigcontext.h, Makefile.am: Arch-dependent sigcontext
112 macros, moved from mini.
114 2009-07-29 Massimiliano Mantione <massi@ximian.com>
116 * mono-codeman.c (free_chunklist and new_codechunk):
117 Call profiler hooks to keep track of code chunks.
119 2009-07-20 Geoff Norton <gnorton@novell.com>
121 * mono-semaphore.h: Refactor from io-layer/thread-private.h so it
122 can be used by the runtime as well.
124 2009-07-17 Gonzalo Paniagua Javier <gonzalo@novell.com>
126 * mono-proclib.c: fix reading processor usage for a process. Patch
127 from Jacob Gladish that fixes bug #523052.
129 2009-07-15 Gonzalo Paniagua Javier <gonzalo@novell.com>
131 * mono-proclib.c: fixed setting the NUL terminator.
132 Thanks to Jacob Gladish.
134 2009-06-15 Zoltan Varga <vargaz@gmail.com>
136 * gc_wrapper.h: Disable thread local alloc on mips.
138 2009-05-26 Zoltan Varga <vargaz@gmail.com>
140 * CMakeLists.txt: New file.
142 2009-05-09 Miguel de Icaza <miguel@novell.com>
144 * mono-value-hash.c (mono_value_hash_table_insert_replace):
145 Initialize variable, to quiet the compiler.
147 * mono-proclib.c: Eliminate two warnings.
149 2009-04-03 Miguel de Icaza <miguel@novell.com>
151 * mono-filemap.c: Move mono_file_unmap for the not-mmap case to
152 the mono-filemap.c file so it can be plugged in platform-specific
155 2009-04-03 Rodrigo Kumpera <rkumpera@novell.com>
158 * strenc.c: Add mono_utf8_validate_and_len_with_bounds.
160 2009-03-23 Zoltan Varga <vargaz@gmail.com>
162 * Makefile.am (libmonoutils_la_SOURCES): Fix make dist.
164 2009-03-22 Zoltan Varga <vargaz@gmail.com>
166 * gc_wrapper.h: Disable thread local allocation for ARM too because of
167 incomplete support in libgc.
169 2009-03-20 Zoltan Varga <vargaz@gmail.com>
171 * gc_wrapper.h: New file, moved from ../os.
173 * Makefile.am: Add gc_wrapper.h
175 2009-03-06 Zoltan Varga <vargaz@gmail.com>
177 * mono-hash.c: Use precise GC allocation for the Boehm GC as well.
179 2009-02-16 Mark Probst <mark.probst@gmail.com>
181 Contributed under the terms of the MIT/X11 license by Steven
182 Munroe <munroesj@us.ibm.com>.
184 * mono-compiler.h: MONO_THREAD_VAR_OFFSET for PPC(64).
186 2009-02-11 Bill Holmes <billholmes54@gmail.com>
188 * mono-filemap.c : Fixing the MSVC build.
190 Contributed under MIT/X11 license.
192 2009-02-03 Miguel de Icaza <miguel@novell.com>
194 * mono-dl.c: Add support for registering in-proc addresses as
195 libraries that can be P/Invoked. Used in operating systems that
196 lack a dynamic linker.
198 * mono-filemap.c: Integrate Paolo's mono-filemap code here, split
199 some code from mono-mmap. into this file to ease porting.
201 * mono-io-portability.c: Use new define to turn off portability
204 2009-01-25 Zoltan Varga <vargaz@gmail.com>
206 * mono-compiler.h (MONO_THREAD_VAR_OFFSET): Add ARM Linux support.
208 2009-01-21 Zoltan Varga <vargaz@gmail.com>
210 * mono-mmap.c: Applied patch from Koushik Dutta
211 (koush@koushikdutta.com). Rework the #ifdefs so Android could use the mmap
214 2009-01-19 Bill Holmes <billholmes54@gmail.com>
216 * mono-path.c (mono_path_canonicalize): Adding support for UNC
219 Contributed under MIT/X11 license.
221 2009-01-18 Zoltan Varga <vargaz@gmail.com>
223 * mono-mmap.c: Applied patch from Koushik Dutta
224 (koush@koushikdutta.com). Add an #ifdef HAVE_SHM_OPEN.
226 2009-01-16 Zoltan Varga <vargaz@gmail.com>
228 * mono-hash.c: Change the roots to use write barriers when running with
229 SGEN, to avoid scanning all the hash nodes at every minor collection.
231 2009-01-15 Zoltan Varga <vargaz@gmail.com>
233 * mono-hash.c: Rewrite the SGEN specific parts to use a user defined
234 marker function instead of registering each GC node as a hash root.
236 2009-01-08 Bill Holmes <billholmes54@gmail.com>
238 * mono-dl.c (mono_dl_open): Fix the MSVC build.
240 Contributed under MIT/X11 license.
242 2008-12-19 Miguel de Icaza <miguel@novell.com>
244 * mono-dl.c (mono_dl_open): Do not crash if the platform does not
247 2008-12-08 Kornél Pál <kornelpal@gmail.com>
249 * mono-time.c (mono_100ns_ticks, PLATFORM_WIN32): Use GetSystemTimeAsFileTime
250 with ULARGE_INTEGER that is more efficient.
252 Contributed under MIT/X11 license.
254 2008-12-02 Rodrigo Kumpera <rkumpera@novell.com>
256 * mono-property-hash.c (mono_property_hash_destroy): Release
257 the root hashtable as well.
259 2008-11-24 Zoltan Varga <vargaz@gmail.com>
261 * freebsd-elf_common.h (struct): Use uint32_t instead of
262 u_int32_t to fix the build on opensolaris.
264 2008-11-18 Zoltan Varga <vargaz@gmail.com>
266 * freebsd-dwarf.h: Add dwarf.h header file from freebsd.
268 2008-11-14 Andreas Färber <andreas.faerber@web.de>
270 * Makefile.am (ENABLE_DTRACE): Re-add dtrace -h flag.
273 Contributed under MIT/X11 license.
275 Mon Nov 10 17:38:41 CET 2008 Paolo Molaro <lupus@ximian.com>
277 * mono-proclib.c: adapt code for FreeBSD and hopefully other BSD
280 Mon Nov 10 17:27:01 CET 2008 Paolo Molaro <lupus@ximian.com>
282 * mono-proclib.c, mono-proclib.h: added elapsed time and parent pid.
284 2008-11-05 Zoltan Varga <vargaz@gmail.com>
286 * Makefile.am (libmonoutils_la_SOURCES): Add the freebsd-elf*.h files to
289 2008-11-04 Zoltan Varga <vargaz@gmail.com>
291 * freebsd-elf32.h freebsd-elf64.h freebsd-elf_common.h: Add elf header
294 Wed Oct 22 17:43:03 CEST 2008 Paolo Molaro <lupus@ximian.com>
296 * mono-proclib.c, mono-proclib.h: added functions to get info
297 about the processors in the system.
299 Wed Oct 22 16:45:20 CEST 2008 Paolo Molaro <lupus@ximian.com>
301 * mono-proclib.c, mono-mmap.c: basic support for OSX and
302 (untested) BSD systems.
304 2008-10-13 Bill Holmes <billholmes54@gmail.com>
306 * mono-proclib.c : Adding a compilation check for HAVE_UNISTD_H.
308 Contributed under MIT/X11 license.
310 Mon Oct 13 14:36:10 CEST 2008 Paolo Molaro <lupus@ximian.com>
312 * mono-proclib.c, mono-proclib.h: added a function to deal with
313 error handling if the caller needs the info.
315 Mon Oct 13 11:11:43 CEST 2008 Paolo Molaro <lupus@ximian.com>
317 * Makefile.am, mono-proclib.c, mono-proclib.h: utility functions to
318 access process-related information.
320 2008-10-08 Zoltan Varga <vargaz@gmail.com>
322 * mono-compiler.h (MONO_THREAD_VAR_OFFSET): Apply a patch from
323 the fedora packagers to the IA64 MONO_THREAD_VAR_OFFSET definition.
325 2008-09-26 Zoltan Varga <vargaz@gmail.com>
327 * mono-mmap.c (mono_shared_area_for_pid): Fix a warning.
329 Thu Sep 18 18:16:45 CEST 2008 Paolo Molaro <lupus@ximian.com>
331 * mono-mmap.c, mono-mmap.h: added mono_shared_area_instances ()
332 too return the list of mono processes with performance counter data.
334 2008-08-27 Bill Holmes <billholmes54@gmail.com>
336 * strenc.c : Fixing some waringings and compiler errors when using
339 Contributed under MIT/X11 license.
341 2008-08-20 Mike Voorhees <vernish13@gmail.com>
343 * strenc.h : Adding declaration for mono_utf8_validate_and_len.
345 * strenc.c : Adding implementation for mono_utf8_validate_and_len.
347 Contributed under MIT/X11 license.
349 2008-08-03 Andreas Färber <andreas.faerber@web.de>
351 * mono-io-portability.c (mono_portability_find_file): Fix ANSI C compliance.
353 Contributed under MIT/X11 license.
355 Fri Aug 1 15:48:53 CEST 2008 Paolo Molaro <lupus@ximian.com>
357 * mono-mmap.h, mono-mmap.c: added support for storing some runtime data
358 in a shared memory page.
360 2008-07-21 Bill Holmes <billholmes54@gmail.com>
362 * mono-membar.h : From previous commit. When including glib.h,
363 <> should be used and not "".
365 Contributed under MIT/X11 license.
367 2008-07-21 Bill Holmes <billholmes54@gmail.com>
369 * mono-membar.h : Including glib.h to get definition of 'inline.' Needed
370 by the MSVC compiler.
372 Contributed under MIT/X11 license.
374 2008-07-09 Zoltan Varga <vargaz@gmail.com>
376 * mono-codeman.c (mono_code_manager_new): Initialize the read-only field.
378 * mono-codeman.c (mono_code_manager_set_read_only): New helper function to
379 set the code manager to read-only status.
380 (mono_code_manager_reserve_align): Assert if the code manager is read only.
382 2008-06-14 Zoltan Varga <vargaz@gmail.com>
384 * mono-codeman.c (new_codechunk): Allocate memory for dynamic code managers
387 * dlmalloc.c: Enable the memalign functions.
389 2008-06-05 Zoltan Varga <vargaz@gmail.com>
391 * Makefile.am (libmonoutils_la_SOURCES): Add dtrace.h.
393 2008-06-05 Andreas Färber <andreas.faerber@web.de>
395 * dtrace.h: New file, defines macros for DTrace probes.
396 * Makefile.am (BUILT_SOURCES): Generate mono-dtrace.h when DTrace enabled.
398 Contributed under MIT/X11 license.
400 2008-05-29 Zoltan Varga <vargaz@gmail.com>
402 * mono-value-hash.c: Remove the unused prime functions. Fixes #395320.
404 2008-05-27 Zoltan Varga <vargaz@gmail.com>
406 * mono-value-hash.c: Fix build on older glib versions.
408 * Makefile.am (libmonoutils_la_SOURCES): Add mono-value-hash.{h,c}.
410 * mono-value-hash.h mono-value-hash.c: New files.
412 2008-05-26 Zoltan Varga <vargaz@gmail.com>
414 * Makefile.am (libmonoutils_la_SOURCES): Add mono-property-hash.{h,c}.
416 * mono-property-hash.h mono-property-hash.c: New files.
418 2008-05-14 Kornél Pál <kornelpal@gmail.com>
420 * mono-path.c (mono_path_canonicalize): Convert '/' to '\' on Windows that
421 fixes path canonicalization for paths containing '/'.
423 Contributed under MIT/X11 license.
425 2008-05-04 Andreas Faerber <andreas.faerber@web.de>
427 * mono-membar.h: Prepare support for OSX/ppc64.
429 Contributed under MIT/X11 license.
431 2008-04-16 Jonathan Chambers <joncham@gmail.com>
432 * monobitset.c (find_first_unset): Use gsize instead of gulong for platform
433 dependent size; fixes Win64.
434 * mono-member.h: Implement mono_memory_barrier, mono_memory_read_barrier, and
435 mono_memory_write_barrier for Win64.
437 Contributed under MIT/X11 license.
439 2008-04-16 Marek Habersack <mhabersack@novell.com>
441 * mono-io-portability.c (mono_portability_find_file): properly
442 process unrooted entries with a trailing slash.
444 2008-04-09 Zoltan Varga <vargaz@gmail.com>
446 * dlmalloc.h dlmalloc.c: New files, a slightly modified version of Doug
447 Lea's malloc package.
449 * mono-codeman.c: Use dlmalloc for managing memory in dynamic code managers,
450 this allows us to set the executable bit on the system memory dlmalloc
451 allocates from, fixing #320036.
453 2008-03-29 Zoltan Varga <vargaz@gmail.com>
455 * mono-logger.h: Move G_END_DECLS outside of an #ifdef. Fixes #375107.
457 2008-03-14 Robert Jordan <robertj@gmx.net>
459 * mono-dl.c (w32_load_module): prevent error dialog by resetting
460 the Win32 error mode during LoadLibrary (). Fixes #360363.
462 * mono-dl.c (w32_dlerror): kill a warning.
464 2007-MM-DD Yoichi NAKAYAMA <nakayama@pixela.co.jp>
466 * mono-membar.h: Memory barrier for mips.
468 Contributed under MIT/X11 license.
470 Tue Feb 26 15:43:26 CET 2008 Paolo Molaro <lupus@ximian.com>
472 * mono-time.c, mono-time.h: new file with the implementation of the
473 time-related routines we need in mono. This includes a hires
474 monotonic clock and a proper monotonic replacement for GetTickCount ().
476 2008-02-13 Zoltan Varga <vargaz@gmail.com>
478 * mono-membar.h (mono_memory_barrier): Applied patch by Sergey Tikhonov
479 <tsv@solvo.ru>. Add alpha support.
481 2008-01-11 Zoltan Varga <vargaz@gmail.com>
483 * mono-io-portability.c: Include errno.h since it is needed by code inside
486 * mono-ehash.c: Don't include os/gc_wrapper.h.
488 2008-01-06 Zoltan Varga <vargaz@gmail.com>
490 * mono-hash.c: Don't include os/gc_wrapper.h.
492 2007-11-06 Geoff Norton <gnorton@novell.com>
494 * strtod.c: Use a G_MUTEX call pattern compatible with eglib. Patch
495 from Jonathan Chambers
497 2007-10-11 Zoltan Varga <vargaz@freemail.hu>
499 * mono-mmap.c (mono_vfree): Fix call to VirtualFree (). Fixes #332165.
501 Mon Oct 8 11:47:44 CEST 2007 Paolo Molaro <lupus@ximian.com>
503 * mono-codeman.c, mono-codeman.h: added a function to be able
504 to specify alignment per-allocation. Changed the code to align
505 the starting position instead of the size, which wouldn't work
506 with variable-alignment.
508 Mon Oct 8 10:51:29 CEST 2007 Paolo Molaro <lupus@ximian.com>
510 * mono-codeman.c, mono-codeman.h: fixed alignment code to not
511 be wasteful, Added documentation. Added mono_code_manager_size ()
512 to gather statistics info about a code manager.
514 Mon Oct 8 10:21:47 CEST 2007 Paolo Molaro <lupus@ximian.com>
516 * mono-counters.h, mono-counters.c: better formatting of the output
517 and added a cleanup function.
519 2007-10-03 Miguel de Icaza <miguel@novell.com>
521 * mono-compiler.h (trunc): Make the definition of trunk for MSC
522 use ceil or floor instead of always using floor which is
525 Issue pointed out by Aras Pranckevicius <aras@unity3d.com>
527 2007-10-02 Jonathan Chambers <joncham@gmail.com>
529 * mono-io-portability.c: Init __mono_io_portability_helpers
530 to PORTABILITY_NONE on windows as mono_portability_helpers_init
531 is not always called before mono_portability_find_file.
533 Code is contributed under MIT/X11 license.
535 2007-10-01 Jonathan Chambers <joncham@gmail.com>
537 * mono-io-portability.c: Only support on non-Windows
540 Code is contributed under MIT/X11 license.
542 Mon Sep 24 17:14:05 CEST 2007 Paolo Molaro <lupus@ximian.com>
544 * strtod.h, strtod.c: made the code threadsafe, fixed gcc warnings,
545 renamed exported call and made it properly internal.
547 2007-09-14 Jonathan Chambers <joncham@gmail.com>
549 * mono-io-portability.c: Add HAVE_UNISTD_H check around include.
551 Code is contributed under MIT/X11 license.
553 Wed Sep 12 15:15:47 CEST 2007 Paolo Molaro <lupus@ximian.com>
555 * Makefile.am: don't install internal headers.
557 2007-09-12 Marek Habersack <mhabersack@novell.com>
559 * mono-io-portability.c: added. Moved options_init from io-layer.
560 (find_in_dir): moved from io-layer/io-portability.c
561 (mono_portability_find_file): moved find_file from
562 io-layer/io-portability.c, renamed and made MONO_INTERNAL.
564 * mono-io-portability.h: added. Contains declarations utility
565 functions and acros for checking whether MONO_IOMAP is in effect.
566 Added a prototype for mono_portability_find_file.
568 2007-09-09 Zoltan Varga <vargaz@gmail.com>
570 * mono-compiler.h: Applied patch from Jurek Bartuszek (jurek@gentoo.org).
571 Fixes build with -fPIE.
573 2007-08-31 Jonathan Chambers <joncham@gmail.com>
575 * mono-compiler.h: Define MONO_INTERNAL to nothing on Windows.
576 Fixes tons of warnings we get on cygwin build.
578 Code is contributed under MIT/X11 license.
580 2007-08-14 Jonathan Chambers <joncham@gmail.com>
582 * mono-membar.h: Use intrinsic functions in msvc.
584 2007-07-31 Zoltan Varga <vargaz@freemail.hu>
586 * mono-dl.c (w32_dlerror): Fix call to FormatMessage (). Fixes #82260.
588 2007-07-27 Mark Probst <mark.probst@gmail.com>
590 * mono-membar.h: Memory barriers.
592 2007-06-13 Mark Probst <mark.probst@gmail.com>
594 * mono-codeman.c (mono_code_manager_reserve): Gather dynamic code
597 2007-06-06 Mark Probst <mark.probst@gmail.com>
599 * mono-internal-hash.c: Fixed a bug in the remove entry code.
601 2007-06-04 Mark Probst <mark.probst@gmail.com>
604 * mono-internal-hash.c, mono-internal-hash.h: Hash table which
605 uses the value themselves as nodes, hence doesn't have to allocate
608 2007-05-24 Jonathan Chambers <joncham@gmail.com>
610 * mono-path.c: Add configure checks for header files.
611 * mono-codeman.c: Add configure checks for header files.
612 * mono-poll.h: Add configure checks for header files.
613 * mono-stdlib.c: Add configure checks for header files.
615 Code is contributed under MIT/X11 license.
617 2007-03-09 Jonathan Chambers <joncham@gmail.com>
619 * mono-dl.c: Use Unicode characters for Win32 functions.
621 Code is contributed under MIT/X11 license.
623 2007-01-26 Robert Jordan <robertj@gmx.net>
625 * mono-dl.c (w32_find_symbol): Implement in-proc symbol lookup
628 Fri Jan 26 13:06:57 CET 2007 Paolo Molaro <lupus@ximian.com>
630 * mono-dl.h, mono-dl.c: make symbols internal and fixes.
632 Wed Jan 24 23:20:17 CET 2007 Paolo Molaro <lupus@ximian.com>
634 * mono-codeman.c: don't call mono_mprotect() on windows.
636 2007-01-20 Zoltan Varga <vargaz@gmail.com>
638 * monobitset.h: monobitset.c: Move MonoBitSet type definition to
639 the header file. Add fast macro based versions of most bitset
640 operations and optimize the rest a bit.
642 Mon Dec 18 18:59:08 CET 2006 Paolo Molaro <lupus@ximian.com>
644 * mono-dl.h, mono-dl.c, Makefile.am: implementation
645 of dynamic loading API.
647 Wed Dec 13 17:21:40 CET 2006 Paolo Molaro <lupus@ximian.com>
649 * mono-mmap.c, mono-mmap.h: use guint64 instead of off_t.
651 2006-12-12 Atsushi Enomoto <atsushi@ximian.com>
653 * mono-mmap.c : win32 build fix.
655 Mon Dec 11 17:24:49 CET 2006 Paolo Molaro <lupus@ximian.com>
657 * mono-codeman.c: changed to use the mono-mmap.h API.
659 Mon Dec 11 15:08:27 CET 2006 Paolo Molaro <lupus@ximian.com>
661 * mono-mmap.c, mono-mmap.h, Makefile.am: introduced mmap-like API.
663 Mon Nov 27 16:03:58 CET 2006 Paolo Molaro <lupus@ximian.com>
665 * strtod.c: fix, again, 64 bit issues.
667 2006-11-25 Miguel de Icaza <miguel@novell.com>
669 * strtod.c: Upgrade this implementation to the one from:
670 http://www.netlib.org/fp/
672 Fixed a few warnings, and added the header thta we had to
673 autodetect the FPU setup to use.
675 This should fix the hang when running the corlib test suite.
677 2006-10-18 Miguel de Icaza <miguel@novell.com>
679 * mono-ehash.c (mono_g_hash_table_destroy): Use mg_free, not
682 2006-10-17 Miguel de Icaza <miguel@novell.com>
684 * mono-ehash.c: Use the new eglib hash implementation; Currently
685 only Boehm is supported.
687 Tue Oct 10 09:53:07 CEST 2006 Paolo Molaro <lupus@ximian.com>
689 * strtod.c: teleport to the new millennium.
691 2006-10-09 Miguel de Icaza <miguel@novell.com>
693 * strtod.c: Replace the BSD implementation which was fairly old
694 and complex with a cleaner version from Tcl/Tk. Fixes the hang
695 that we have in the Double parsing tests in our class libraries.
697 2006-09-12 Zoltan Varga <vargaz@gmail.com>
699 * strtod.c (IEEE_8087): Applied patch from Sergey Tikhonov <tsv@solvo.ru>. Define
700 IEEE_8087 for alpha as well.
702 2006-09-04 Robert Jordan <robertj@gmx.net>
704 * mono-stdlib.c (mono_mkstemp): Fix mkstemp's loop.
706 2006-08-30 Zoltan Varga <vargaz@gmail.com>
708 * mono-codeman.c: Align code to a 16 byte boundary on amd64 too.
710 2006-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
713 * mono-stdlib.[ch]: mkstemp implementation.
715 2006-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
718 * mono-path.[ch]: new files with functions to handle/resolve paths.
720 2006-08-10 Zoltan Varga <vargaz@gmail.com>
722 * mono-compiler.h: Fix TLS definitions so libmono can be loaded dynamically as a
723 module. Fixes #78767.
725 Wed May 17 19:00:15 CEST 2006 Paolo Molaro <lupus@ximian.com>
727 * mono-hash.h, mono-hash.c: changed the code so we're able to
728 specify if the key or value or both are managed objects.
730 2006-04-10 Zoltan Varga <vargaz@gmail.com>
732 * monobitset.c (mono_bitset_sub): Use src->size since the assert
733 guarantees it is less than dest->size.
735 Mon Apr 10 12:28:05 CEST 2006 Paolo Molaro <lupus@ximian.com>
737 * monobitset.c: cap size in mono_bitset_sub () to
738 avoid reading uninit memory.
740 Wed Mar 29 16:39:14 CEST 2006 Paolo Molaro <lupus@ximian.com>
742 * mono-counters.c: initialize the next pointer.
744 Mon Mar 20 14:50:35 CET 2006 Paolo Molaro <lupus@ximian.com>
746 * monobitset.c, monobitset.h: added mono_bitset_find_first_unset ().
748 2006-03-16 Zoltan Varga <vargaz@gmail.com>
750 * monobitset.c: Guard inline asm with #ifdef __GNUC__.
752 * monobitset.c (mono_bitset_find_first): Turn a g_return_val_if_fail
755 * mono-compiler.h (MONO_INTERNAL): Disable this on the VC build.
757 2006-03-10 Zoltan Varga <vargaz@gmail.com>
759 * monobitset.h monobitset.c: Merge lots of optimizations from the linear-il
762 2006-03-01 Zoltan Varga <vargaz@gmail.com>
764 * mono-compiler.h (__func__): Define this as __FUNCTION__ for MSVC.
766 * mono-counters.c: Fix windows build.
768 Wed Mar 1 12:33:26 CET 2006 Paolo Molaro <lupus@ximian.com>
770 * mono-counters.h, mono-counters.c, Makefile.am: added
771 API for flexible stats collection.
773 Tue Feb 28 13:58:50 CET 2006 Paolo Molaro <lupus@ximian.com>
775 * mono-compiler.h: fixed Jakub's patch to actually compile on amd64.
777 Tue Feb 28 11:33:40 CET 2006 Paolo Molaro <lupus@ximian.com>
779 * mono-compiler.h: patch from Jakub Jelinek to retrieve
780 the tls offset without a text writable section (bug #77653).
782 2006-02-01 Sebastien Pouliot <sebastien@ximian.com>
784 * mono-compiler.h: Added a macro for isnormal(x) as it's not available
787 2006-01-20 Zoltan Varga <vargaz@gmail.com>
789 * monobitset.h (mono_bitset_set_fast): Add more fast accessors.
791 2006-01-17 Zoltan Varga <vargaz@gmail.com>
793 * monobitset.h monobitset.c: Move the mono_bitset_test_fast macro here
794 from mini.h. Also fix it after the 64 bit changes.
796 2006-01-15 Zoltan Varga <vargaz@gmail.com>
798 * monobitset.h monobitset.c: Use 64 bit chunks on 64 bit machines.
800 2006-01-04 Zoltan Varga <vargaz@gmail.com>
802 * mono-codeman.c (new_codechunk): Fix warnings.
804 2005-12-13 Atsushi Enomoto <atsushi@ximian.com>
806 * strtod.c : un-constified some variables to fix bug #75228.
808 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
810 * strenc.c: don't use the UTF16 conversion with g_convert. It returns
811 the FF FE at the beginning, which is not what we expect. Now
812 MONO_EXTERNAL_ENCODINGS can roundtrip and works.
814 2005-09-12 Zoltan Varga <vargaz@freemail.hu>
816 * mono-compiler.h (MONO_THREAD_VAR_OFFSET): Fix compilation on amd64
817 with recent binutils.
819 Wed Sep 7 21:23:18 BST 2005 Paolo Molaro <lupus@ximian.com>
821 * mono-codeman.c: ensure we have enough room for thunks
822 with large allocations.
824 2005-08-27 Zoltan Varga <vargaz@gmail.com>
826 * mono-compiler.h (MONO_THREAD_VAR_OFFSET): Disable this when using
829 * strtod.c (Storeinc): Modify code which is miscompiled by intel icc.
831 Thu Aug 4 20:06:28 BST 2005 Paolo Molaro <lupus@ximian.com>
833 * mono-codeman.c: allow room for far calls for ARM, too.
835 2005-07-20 Zoltan Varga <vargaz@freemail.hu>
837 * mono-compiler.h (MONO_THREAD_VAR_OFFSET): Use the nice way of
838 getting the tls offsets on amd64 too.
840 2005-07-19 Zoltan Varga <vargaz@freemail.hu>
842 * mono-compiler.h: Add TLS offset detection for ia64.
844 2005-06-28 Zoltan Varga <vargaz@freemail.hu>
846 * mono-compiler.h (trunc): Define this to be floor under win32.
848 2005-06-13 Geoff Norton <gnorton@customerdna.com>
850 * mono-compiler.h: Be slightly more conservative on ppc
851 as this was previously causing crashes building.
853 2005-06-09 Duncan Mak <duncan@novell.com>
855 * *.h: Added G_BEGIN_DECLS and G_END_DECLS where appropriate to
856 all public headers. Fixes #74919.
858 2005-05-18 Zoltan Varga <vargaz@freemail.hu>
860 * mono-codeman.c: Align code on a 16 byte boundary on ia64.
862 2005-04-20 Zoltan Varga <vargaz@freemail.hu>
864 * mono-digest.h mono-sha1.c mono-md5.c: Fix some gcc 4.0 warnings.
866 2005-04-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
868 * mono-poll.c: windows return code translation.
869 * mono-poll.h: FD_SETSIZE must be defined when compiling everything.
870 Moved to configure.in.
872 2005-04-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
874 * mono-poll.[ch]: mono_poll uses poll() when available, otherwise
875 implement it in terms of select().
876 * Makefile.am: added new files.
878 2005-03-29 Sebastien Pouliot <sebastien@ximian.com>
880 * mono-compiler.h: Added defines to make it easier to compile mono and
881 it's unmanaged tools using the Microsoft C compiler (VS.NET 2005).
883 2005-02-27 Zoltan Varga <vargaz@freemail.hu>
885 * mono-codeman.c: Pass MAP_32BIT to mmap on amd64 to force generated
886 code to have 32 bit addresses.
888 Fri Feb 25 14:54:19 CET 2005 Paolo Molaro <lupus@ximian.com>
890 * mono-compiler.h: amd64 can't handle local-exec in PIC libs.
892 Thu Feb 24 15:18:05 CET 2005 Paolo Molaro <lupus@ximian.com>
894 * Makefile.am, mono-compiler.h: added header to deal with
895 compiler-specific bugs and features.
897 2005-01-30 Zoltan Varga <vargaz@freemail.hu>
899 * mono-logger.c (mono_trace_is_traced): Fix comment.
901 * mono-logger.h mono-logger.c (mono_trace_is_traced): New helper function.
903 2005-01-15 Zoltan Varga <vargaz@freemail.hu>
905 * mono-codeman.c (new_codechunk): Initialize pagesize in the dynamic
908 2004-12-23 Ben Maurer <bmaurer@ximian.com>
910 * strtod.c: add `cosnt' to some arrays to get them on shareable pages.
912 Tue Dec 7 17:53:01 CET 2004 Paolo Molaro <lupus@ximian.com>
914 * mono-codeman.c: align bsize so the returned pointer
915 is aligned also for dynamic methods.
917 2004-10-26 Zoltan Varga <vargaz@freemail.hu>
919 * mono-codeman.c: Fall back to malloc if MAP_ANON is not defined.
921 2004-09-25 Zoltan Varga <vargaz@freemail.hu>
923 * mono-codeman.c (new_codechunk): Set malloc'ed code pages as
926 2004-09-07 Bernie Solomon <bernard@ugsolutions.com>
928 * mono-sha1.c: Remove uint32 and int32 types completely
930 2004-09-02 Zoltan Varga <vargaz@freemail.hu>
932 * mono-codeman.c (new_codechunk): Remove g_assert_not_reached ().
934 * mono-codeman.c (new_codechunk): Fix windows build.
936 * mono-codeman.h mono-codeman.c: Generalize so it can be used to
937 allocate code for dynamic methods (one method per code manager).
939 2004-07-30 Zoltan Varga <vargaz@freemail.hu>
941 * mono-logger.c (mono_trace_set_mask_string): Fix AOT tracing constant.
943 2004-07-28 Zoltan Varga <vargaz@freemail.hu>
945 * mono-codeman.c (mono_code_manager_invalidate): Invalidate with
946 x86 break on AMD64 too.
948 2004-07-23 zovarga <vargaz@freemail.hu>
950 * monobitset.c (my_g_bit_nth_msf): Add workaround for glib 2.2 bug on
953 2004-07-09 Ben Maurer <bmaurer@ximain.com>
955 * mono-hash.c: register gc roots
957 2004-07-02 Zoltan Varga <vargaz@freemail.hu>
959 * mono-logger.h mono-logger.c: Added AOT component.
961 2004-06-30 Zoltan Varga <vargaz@freemail.hu>
963 * strtod.c: Use gint32 for 32 bit types.
965 2004-06-29 Zoltan Varga <vargaz@freemail.hu>
967 * mono-sha1.c: Use gint32 for 32 types. Fixes random memory corruption
968 in SHA1Transform on 64 bit systems.
970 2004-06-24 David Waite <mass@akuma.org>
972 * monobitset.c: change to C90-style comments from C99/C++-style
974 2004-06-21 Atsushi Enomoto <atsushi@ximian.com>
976 * mono-sha1.c : close opened file in case of successful read. This
977 saves a bunch of System.Reflection Emit failures under windows.
979 2004-06-18 Jackson Harper <jackson@ximian.com>
981 * mono-logger.c/h: Add a trace mask option for tracing loading
982 config files. A little white space love.
984 2004-06-18 Jackson Harper <jackson@ximian.com>
986 * mono-logger.c: Change default logging level to ERROR. Make sure
987 that mono_trace_init is called if mono_tracev is our first trace
988 statement is mono_tracev. Little indentation fix.
990 2004-05-25 Zoltan Varga <vargaz@freemail.hu>
992 * mono-codeman.c (mono_code_manager_invalidate): On x86, fill the
993 memory with 0xcc (x86 break).
995 2004-05-02 Miguel de Icaza <miguel@ximian.com>
997 * mono-sha1.c: MacOS X defines "LITTLE_ENDIAN", you are supposed
998 to test against BYTE_ORDER, and this caused trouble. We now use
999 G_BYTE_ORDER and G_LITTLE_ENDIAN. This should fix the MacOS woes.
1001 2004-04-26 David Waite <mass@akuma.org>
1003 * mono-logger.h: remove comma from end of enumeration declaration
1005 Fri Apr 23 11:04:33 EDT 2004 Paolo Molaro <lupus@ximian.com>
1007 * mono-codeman.c: macosx pretends an argument (which is ignored)
1008 to be -1. Make sure the thunks area is zeroed.
1010 2004-03-11 Zoltan Varga <vargaz@freemail.hu>
1012 * monobitset.c (mono_bitset_test_bulk): New function to return multiple
1015 Thu Mar 4 15:46:20 PST 2004 Paolo Molaro <lupus@ximian.com>
1017 * mono-codeman.c: add a define to force the use of malloc
1020 Tue Feb 17 21:45:12 CET 2004 Paolo Molaro <lupus@ximian.com>
1022 * mono-codeman.c, mono-codeman.h: allocate extra room in memory close
1023 to the native code for arch where calls have a limited immediate
1026 Wed Feb 11 15:26:18 CET 2004 Paolo Molaro <lupus@ximian.com>
1028 * Makefile.am, mono-codeman.h, mono-codeman.c: new support code
1029 to deal with buffers of native code (handles exec bits and other
1032 2004-01-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1035 (mono_unicode_from_external): UTF8 is the default, not the preferred
1036 encoding, ie, try MONO_EXTERNAL_ENCODINGS first. When "default_locale"
1037 was passed in the env. var., it always failed because we were passing
1038 "default_locale" to g_convert. Also fixed the byte count for non-UTF8
1040 (mono_utf8_from_external): UTF8 is the default, not the preferred one.
1044 Thu Jan 8 19:56:08 CET 2004 Paolo Molaro <lupus@ximian.com>
1046 * mono-uri.c: fixed compile problem.
1048 2003-12-02 Bernie Solomon <bernard@ugsolutions.com>
1050 * mono-math.c: fix for older C compilers and big endian machines
1052 2003-11-12 Zoltan Varga <vargaz@freemail.hu>
1054 * mono-math.h mono-math.c: New file which contains implementations of
1055 math functions/macros which are missing on some platforms.
1057 2003-11-10 Dick Porter <dick@ximian.com>
1059 * strenc.c: Use platform-endian UTF16
1061 2003-10-28 Dick Porter <dick@ximian.com>
1064 * strenc.c: New files, convert text to and from unicode or utf8,
1065 and the user's chosen encoding.
1067 2003-08-26 Zoltan Varga <vargaz@freemail.hu>
1069 * mono-hash.h mono-hash.c (mono_g_hash_table_remap): New function used
1070 to remap hashtable values during a copying collection. Not used at the
1072 * mono-hash.c (g_hash_node_new): Restructured to avoid the global lock
1074 * mono-hash.c (mono_g_hash_table_new_full): Enable the optimization of
1075 the key function even if the client supplied g_direct_equal instead of
1078 2003-08-22 Duncan Mak <duncan@ximian.com>
1080 * strtod.c: 64-bit related fixes from Laurent Morichetti
1081 <l_m@pacbell.net>. Patch approval from Miguel.
1083 Fri Jun 6 19:09:51 CEST 2003 Paolo Molaro <lupus@ximian.com>
1085 * mono-logger.h, mono-logger.c, Makefile.am: added
1086 selective logging code by Jerome Laban <jlaban@wanadoo.fr>.
1088 2003-03-05 Dietmar Maurer <dietmar@ximian.com>
1090 * monobitset.c (mono_bitset_set_all): impl.
1092 Fri Sep 13 15:56:04 CEST 2002 Paolo Molaro <lupus@ximian.com>
1094 * mono-digest.h, mono-sha1.c: Added mono_digest_get_public_token()
1095 to get the public key token from a public key.
1097 Thu Jul 25 13:59:34 CEST 2002 Paolo Molaro <lupus@ximian.com>
1099 * mono-digest.h, mono-md5.c, mono-sha1.c: MD5 and SHA1
1102 Mon Jun 3 15:59:31 CEST 2002 Paolo Molaro <lupus@ximian.com>
1104 * strtod.c: make __bsd_dtoa() always return malloc()ed memory.
1106 Mon Jun 3 15:42:50 CEST 2002 Paolo Molaro <lupus@ximian.com>
1108 * monobitset.c, monobitset.h: documentation and fixes from
1111 Sat Jun 1 14:10:23 CEST 2002 Paolo Molaro <lupus@ximian.com>
1113 * monobitset.c: fix my screwup pointed out by Lawrence Pit
1114 (loz@cable.a2000.nl).
1116 Fri May 31 15:34:18 CEST 2002 Paolo Molaro <lupus@ximian.com>
1118 * monobitset.c, monobitset.h: fixes. added mono_bitset_foreach().
1120 Wed May 22 12:42:06 CEST 2002 Paolo Molaro <lupus@ximian.com>
1122 * monobitset.c: use our own bit_nth_lsf since the glib one is buggy.
1123 Add more tests. mono_bitset_find_first (set, -1) will work correctly
1126 2002-05-09 Dietmar Maurer <dietmar@ximian.com>
1128 * monobitset.c: use memcmp instead of memcpy
1130 Thu May 9 17:23:17 CEST 2002 Paolo Molaro <lupus@ximian.com>
1132 * monobitset.c, monibitset.h: bit set data structure.
1133 Not included in the build yet because the jit has some symbol clashes
1136 Mon Mar 25 12:50:53 CET 2002 Paolo Molaro <lupus@ximian.com>
1138 * First checkin: libmonoutils is meant to hold some utility
1139 data structures and bits that are usefult to the rest of the project
1140 and don't require metadata/runtime support.
1141 mono-hash is a GC-safe hash table: i.e. you can store GC-allocated