1 2009-12-18 Zoltan Varga <vargaz@gmail.com>
3 * valgrind.h memcheck.h: New files containing the BSD licensed valgrind
4 headers so we can use the valgrind user requests even if mono is compiled on
5 a system where they are not installed.
7 2009-12-11 Marek Habersack <mhabersack@novell.com>
9 * mono-io-portability.c: moved all the reporting code to the IOMAP
11 (mono_portability_find_file_internal): calls mono_profiler_iomap
12 whenever an adjustement is made.
14 2009-12-02 Mark Probst <mark.probst@gmail.com>
16 * mono-hash.c: Don't use MONO_ROOT_SETREF for setting keys and
17 values. It's unnecessary - the hash table has a marking function
18 which takes care of all GC-tracked keys and values.
20 2009-11-26 Zoltan Varga <vargaz@gmail.com>
22 * mono-ehash.c (mono_g_hash_table_find): Add this for eglib too.
24 2009-11-25 Rodrigo Kumpera <rkumpera@novell.com>
26 * mono-error-internals.h: Add mono_error_set_bad_image_name and change signature
27 of mono_error_set_bad_image to take a MonoImage instead of a const char *.
31 2009-11-25 Zoltan Varga <vargaz@gmail.com>
33 * mono-hash.c (mono_g_hash_table_find): Implement this.
35 2009-11-24 Zoltan Varga <vargaz@gmail.com>
37 * mono-io-portability.c (append_report): g_string_append_vprintf is available
40 2009-11-23 Andreas Färber <andreas.faerber@web.de>
42 * mono-mmap.c (mono_mprotect): Use posix_madvise in absence of madvise.
44 Code contributed under MIT/X11 license.
46 2009-11-23 Marek Habersack <mhabersack@novell.com>
48 * mono-io-portability.c: gather up and report misnamed files
49 accessed by the application if the 'report' option is present in
50 the MONO_IOMAP environment variable.
52 2009-11-13 Jonathan Chambers <joncham@gmail.com>
54 * mono-semaphore.h: Implementation for Windows platform.
56 Code contributed under MIT/X11 license.
58 2009-11-12 Geoff Norton <gnorton@novell.com>
60 * mono-path.c: When resolving symlinks in a path, we need to
61 split on the directory separator and check each level, as
62 readlink only checks the final destination.
64 2009-11-08 Rodrigo Kumpera <rkumpera@novell.com>
66 * mono-sigcontext.h: Add ucontext support for FreeBSD/ppc64.
68 Patch by Justin Hibbits <chmeeedalf@gmail.com>.
70 2009-11-06 Gonzalo Paniagua Javier <gonzalo@novell.com>
72 * mono-error.c: VS does not like this.
74 2009-11-05 Rodrigo Kumpera <rkumpera@novell.com>
76 * mono-error-internals.h: Add mono_error_set_argument and mono_error_raise_exception.
78 * mono-error.h: Add new MONO_ERROR_ARGUMENT constant for
81 * mono-error.c: Implement mono_error_set_argument, mono_error_raise_exception.
83 * mono-error.c (mono_error_prepare_exception) Init error_out at the beginning. Add support
84 for MONO_ERROR_ARGUMENT.
86 2009-10-30 Gonzalo Paniagua Javier <gonzalo@novell.com>
88 * mono-proclib.c: hz is only multiplied by the number of cpus when
91 2009-10-29 Mark Probst <mark.probst@gmail.com>
93 * mono-hash.c (mono_g_hash_mark): Don't use SET_NODE_KEY/VALUE here.
95 2009-10-23 Alp Toker <alp@nuanti.com>
97 Fix embedding API breakage from r144688. mono-compiler.h is an internal
98 header and should not be shipped:
100 * Makefile.am: Include newly added public header mono-error.h in HEADERS so
103 2009-10-23 Rodrigo Kumpera <rkumpera@novell.com>
105 * Makefile.am: Fix make dist.
107 2009-10-22 Rodrigo Kumpera <rkumpera@novell.com>
109 * mono-compiler.h: Add MONO_DEPRECATED.
111 2009-10-22 Rodrigo Kumpera <rkumpera@novell.com>
113 * mono-error.c, mono-error.h, mono-error-internal.h: New error handling
114 structures and functions.
116 * Makefile.am: Add new files.
118 2009-10-12 Joel W. Reed <joelwreed@gmail.com>
120 * mono-networkinterfaces.c, mono-networkinterfaces.h: Read
121 network statistics from "/proc/net/dev" for performance counters.
123 Code is contributed under MIT/X11 license.
125 2009-09-29 Zoltan Varga <vargaz@gmail.com>
127 * mono-compiler.h (MONO_INTERNAL): Disable this on solaris as it produces a
128 millions of warnings during compilation.
130 2009-09-25 Jonathan Chambers <joncham@gmail.com>
132 * mono-logger.c: Include mono-compiler.h for __func__ on MSVC.
134 Code is contributed under MIT/X11 license.
136 2009-09-02 Rodrigo Kumpera <rkumpera@novell.com>
138 * mono-sha1.c: Update documentation.
140 2009-09-02 Rodrigo Kumpera <rkumpera@novell.com>
142 * mono-md5.c: Update documentation.
144 2009-09-02 Sebastien Pouliot <sebastien@ximian.com>
146 * mono-dl.c (mono_dl_open): Don't leak module if name is NULL
147 * mono-md5.c (mono_md5_get_digest_from_file): Close 'fp' even on
148 success (just like we do for sha1)
150 2009-08-21 Mark Probst <mark.probst@gmail.com>
152 * mono-hash.c: When creating a hash table, if the keys are managed
153 objects, assert that we have a hash function. Remove the
154 rehashing after GC marking.
156 2009-08-18 Christian Hergert <chris@dronelabs.com>
158 * strtod.c: Fix warnings for uninitialized variables.
160 2009-08-18 Christian Hergert <chris@dronelabs.com>
163 * mono-counters.c: Fix printf warnings.
165 2009-08-12 Mark Probst <mark.probst@gmail.com>
167 * mono-hash.c (mono_g_hash_mark): If the keys are managed objects,
168 rehash the table after marking.
170 2009-08-10 Gonzalo Paniagua Javier <gonzalo@novell.com>
172 * monobitset.h: add comment.
174 2009-08-01 Zoltan Varga <vargaz@gmail.com>
176 * mono-sigcontext.h (UCONTEXT_GREGS): Fix freebsd definition.
178 2009-07-30 Mark Probst <mark.probst@gmail.com>
180 * mono-sigcontext.h: Include config.h.
182 2009-07-30 Mark Probst <mark.probst@gmail.com>
184 * mono-sigcontext.h, Makefile.am: Arch-dependent sigcontext
185 macros, moved from mini.
187 2009-07-29 Massimiliano Mantione <massi@ximian.com>
189 * mono-codeman.c (free_chunklist and new_codechunk):
190 Call profiler hooks to keep track of code chunks.
192 2009-07-20 Geoff Norton <gnorton@novell.com>
194 * mono-semaphore.h: Refactor from io-layer/thread-private.h so it
195 can be used by the runtime as well.
197 2009-07-17 Gonzalo Paniagua Javier <gonzalo@novell.com>
199 * mono-proclib.c: fix reading processor usage for a process. Patch
200 from Jacob Gladish that fixes bug #523052.
202 2009-07-15 Gonzalo Paniagua Javier <gonzalo@novell.com>
204 * mono-proclib.c: fixed setting the NUL terminator.
205 Thanks to Jacob Gladish.
207 2009-06-15 Zoltan Varga <vargaz@gmail.com>
209 * gc_wrapper.h: Disable thread local alloc on mips.
211 2009-05-26 Zoltan Varga <vargaz@gmail.com>
213 * CMakeLists.txt: New file.
215 2009-05-09 Miguel de Icaza <miguel@novell.com>
217 * mono-value-hash.c (mono_value_hash_table_insert_replace):
218 Initialize variable, to quiet the compiler.
220 * mono-proclib.c: Eliminate two warnings.
222 2009-04-03 Miguel de Icaza <miguel@novell.com>
224 * mono-filemap.c: Move mono_file_unmap for the not-mmap case to
225 the mono-filemap.c file so it can be plugged in platform-specific
228 2009-04-03 Rodrigo Kumpera <rkumpera@novell.com>
231 * strenc.c: Add mono_utf8_validate_and_len_with_bounds.
233 2009-03-23 Zoltan Varga <vargaz@gmail.com>
235 * Makefile.am (libmonoutils_la_SOURCES): Fix make dist.
237 2009-03-22 Zoltan Varga <vargaz@gmail.com>
239 * gc_wrapper.h: Disable thread local allocation for ARM too because of
240 incomplete support in libgc.
242 2009-03-20 Zoltan Varga <vargaz@gmail.com>
244 * gc_wrapper.h: New file, moved from ../os.
246 * Makefile.am: Add gc_wrapper.h
248 2009-03-06 Zoltan Varga <vargaz@gmail.com>
250 * mono-hash.c: Use precise GC allocation for the Boehm GC as well.
252 2009-02-16 Mark Probst <mark.probst@gmail.com>
254 Contributed under the terms of the MIT/X11 license by Steven
255 Munroe <munroesj@us.ibm.com>.
257 * mono-compiler.h: MONO_THREAD_VAR_OFFSET for PPC(64).
259 2009-02-11 Bill Holmes <billholmes54@gmail.com>
261 * mono-filemap.c : Fixing the MSVC build.
263 Contributed under MIT/X11 license.
265 2009-02-03 Miguel de Icaza <miguel@novell.com>
267 * mono-dl.c: Add support for registering in-proc addresses as
268 libraries that can be P/Invoked. Used in operating systems that
269 lack a dynamic linker.
271 * mono-filemap.c: Integrate Paolo's mono-filemap code here, split
272 some code from mono-mmap. into this file to ease porting.
274 * mono-io-portability.c: Use new define to turn off portability
277 2009-01-25 Zoltan Varga <vargaz@gmail.com>
279 * mono-compiler.h (MONO_THREAD_VAR_OFFSET): Add ARM Linux support.
281 2009-01-21 Zoltan Varga <vargaz@gmail.com>
283 * mono-mmap.c: Applied patch from Koushik Dutta
284 (koush@koushikdutta.com). Rework the #ifdefs so Android could use the mmap
287 2009-01-19 Bill Holmes <billholmes54@gmail.com>
289 * mono-path.c (mono_path_canonicalize): Adding support for UNC
292 Contributed under MIT/X11 license.
294 2009-01-18 Zoltan Varga <vargaz@gmail.com>
296 * mono-mmap.c: Applied patch from Koushik Dutta
297 (koush@koushikdutta.com). Add an #ifdef HAVE_SHM_OPEN.
299 2009-01-16 Zoltan Varga <vargaz@gmail.com>
301 * mono-hash.c: Change the roots to use write barriers when running with
302 SGEN, to avoid scanning all the hash nodes at every minor collection.
304 2009-01-15 Zoltan Varga <vargaz@gmail.com>
306 * mono-hash.c: Rewrite the SGEN specific parts to use a user defined
307 marker function instead of registering each GC node as a hash root.
309 2009-01-08 Bill Holmes <billholmes54@gmail.com>
311 * mono-dl.c (mono_dl_open): Fix the MSVC build.
313 Contributed under MIT/X11 license.
315 2008-12-19 Miguel de Icaza <miguel@novell.com>
317 * mono-dl.c (mono_dl_open): Do not crash if the platform does not
320 2008-12-08 Kornél Pál <kornelpal@gmail.com>
322 * mono-time.c (mono_100ns_ticks, PLATFORM_WIN32): Use GetSystemTimeAsFileTime
323 with ULARGE_INTEGER that is more efficient.
325 Contributed under MIT/X11 license.
327 2008-12-02 Rodrigo Kumpera <rkumpera@novell.com>
329 * mono-property-hash.c (mono_property_hash_destroy): Release
330 the root hashtable as well.
332 2008-11-24 Zoltan Varga <vargaz@gmail.com>
334 * freebsd-elf_common.h (struct): Use uint32_t instead of
335 u_int32_t to fix the build on opensolaris.
337 2008-11-18 Zoltan Varga <vargaz@gmail.com>
339 * freebsd-dwarf.h: Add dwarf.h header file from freebsd.
341 2008-11-14 Andreas Färber <andreas.faerber@web.de>
343 * Makefile.am (ENABLE_DTRACE): Re-add dtrace -h flag.
346 Contributed under MIT/X11 license.
348 Mon Nov 10 17:38:41 CET 2008 Paolo Molaro <lupus@ximian.com>
350 * mono-proclib.c: adapt code for FreeBSD and hopefully other BSD
353 Mon Nov 10 17:27:01 CET 2008 Paolo Molaro <lupus@ximian.com>
355 * mono-proclib.c, mono-proclib.h: added elapsed time and parent pid.
357 2008-11-05 Zoltan Varga <vargaz@gmail.com>
359 * Makefile.am (libmonoutils_la_SOURCES): Add the freebsd-elf*.h files to
362 2008-11-04 Zoltan Varga <vargaz@gmail.com>
364 * freebsd-elf32.h freebsd-elf64.h freebsd-elf_common.h: Add elf header
367 Wed Oct 22 17:43:03 CEST 2008 Paolo Molaro <lupus@ximian.com>
369 * mono-proclib.c, mono-proclib.h: added functions to get info
370 about the processors in the system.
372 Wed Oct 22 16:45:20 CEST 2008 Paolo Molaro <lupus@ximian.com>
374 * mono-proclib.c, mono-mmap.c: basic support for OSX and
375 (untested) BSD systems.
377 2008-10-13 Bill Holmes <billholmes54@gmail.com>
379 * mono-proclib.c : Adding a compilation check for HAVE_UNISTD_H.
381 Contributed under MIT/X11 license.
383 Mon Oct 13 14:36:10 CEST 2008 Paolo Molaro <lupus@ximian.com>
385 * mono-proclib.c, mono-proclib.h: added a function to deal with
386 error handling if the caller needs the info.
388 Mon Oct 13 11:11:43 CEST 2008 Paolo Molaro <lupus@ximian.com>
390 * Makefile.am, mono-proclib.c, mono-proclib.h: utility functions to
391 access process-related information.
393 2008-10-08 Zoltan Varga <vargaz@gmail.com>
395 * mono-compiler.h (MONO_THREAD_VAR_OFFSET): Apply a patch from
396 the fedora packagers to the IA64 MONO_THREAD_VAR_OFFSET definition.
398 2008-09-26 Zoltan Varga <vargaz@gmail.com>
400 * mono-mmap.c (mono_shared_area_for_pid): Fix a warning.
402 Thu Sep 18 18:16:45 CEST 2008 Paolo Molaro <lupus@ximian.com>
404 * mono-mmap.c, mono-mmap.h: added mono_shared_area_instances ()
405 too return the list of mono processes with performance counter data.
407 2008-08-27 Bill Holmes <billholmes54@gmail.com>
409 * strenc.c : Fixing some waringings and compiler errors when using
412 Contributed under MIT/X11 license.
414 2008-08-20 Mike Voorhees <vernish13@gmail.com>
416 * strenc.h : Adding declaration for mono_utf8_validate_and_len.
418 * strenc.c : Adding implementation for mono_utf8_validate_and_len.
420 Contributed under MIT/X11 license.
422 2008-08-03 Andreas Färber <andreas.faerber@web.de>
424 * mono-io-portability.c (mono_portability_find_file): Fix ANSI C compliance.
426 Contributed under MIT/X11 license.
428 Fri Aug 1 15:48:53 CEST 2008 Paolo Molaro <lupus@ximian.com>
430 * mono-mmap.h, mono-mmap.c: added support for storing some runtime data
431 in a shared memory page.
433 2008-07-21 Bill Holmes <billholmes54@gmail.com>
435 * mono-membar.h : From previous commit. When including glib.h,
436 <> should be used and not "".
438 Contributed under MIT/X11 license.
440 2008-07-21 Bill Holmes <billholmes54@gmail.com>
442 * mono-membar.h : Including glib.h to get definition of 'inline.' Needed
443 by the MSVC compiler.
445 Contributed under MIT/X11 license.
447 2008-07-09 Zoltan Varga <vargaz@gmail.com>
449 * mono-codeman.c (mono_code_manager_new): Initialize the read-only field.
451 * mono-codeman.c (mono_code_manager_set_read_only): New helper function to
452 set the code manager to read-only status.
453 (mono_code_manager_reserve_align): Assert if the code manager is read only.
455 2008-06-14 Zoltan Varga <vargaz@gmail.com>
457 * mono-codeman.c (new_codechunk): Allocate memory for dynamic code managers
460 * dlmalloc.c: Enable the memalign functions.
462 2008-06-05 Zoltan Varga <vargaz@gmail.com>
464 * Makefile.am (libmonoutils_la_SOURCES): Add dtrace.h.
466 2008-06-05 Andreas Färber <andreas.faerber@web.de>
468 * dtrace.h: New file, defines macros for DTrace probes.
469 * Makefile.am (BUILT_SOURCES): Generate mono-dtrace.h when DTrace enabled.
471 Contributed under MIT/X11 license.
473 2008-05-29 Zoltan Varga <vargaz@gmail.com>
475 * mono-value-hash.c: Remove the unused prime functions. Fixes #395320.
477 2008-05-27 Zoltan Varga <vargaz@gmail.com>
479 * mono-value-hash.c: Fix build on older glib versions.
481 * Makefile.am (libmonoutils_la_SOURCES): Add mono-value-hash.{h,c}.
483 * mono-value-hash.h mono-value-hash.c: New files.
485 2008-05-26 Zoltan Varga <vargaz@gmail.com>
487 * Makefile.am (libmonoutils_la_SOURCES): Add mono-property-hash.{h,c}.
489 * mono-property-hash.h mono-property-hash.c: New files.
491 2008-05-14 Kornél Pál <kornelpal@gmail.com>
493 * mono-path.c (mono_path_canonicalize): Convert '/' to '\' on Windows that
494 fixes path canonicalization for paths containing '/'.
496 Contributed under MIT/X11 license.
498 2008-05-04 Andreas Faerber <andreas.faerber@web.de>
500 * mono-membar.h: Prepare support for OSX/ppc64.
502 Contributed under MIT/X11 license.
504 2008-04-16 Jonathan Chambers <joncham@gmail.com>
505 * monobitset.c (find_first_unset): Use gsize instead of gulong for platform
506 dependent size; fixes Win64.
507 * mono-member.h: Implement mono_memory_barrier, mono_memory_read_barrier, and
508 mono_memory_write_barrier for Win64.
510 Contributed under MIT/X11 license.
512 2008-04-16 Marek Habersack <mhabersack@novell.com>
514 * mono-io-portability.c (mono_portability_find_file): properly
515 process unrooted entries with a trailing slash.
517 2008-04-09 Zoltan Varga <vargaz@gmail.com>
519 * dlmalloc.h dlmalloc.c: New files, a slightly modified version of Doug
520 Lea's malloc package.
522 * mono-codeman.c: Use dlmalloc for managing memory in dynamic code managers,
523 this allows us to set the executable bit on the system memory dlmalloc
524 allocates from, fixing #320036.
526 2008-03-29 Zoltan Varga <vargaz@gmail.com>
528 * mono-logger.h: Move G_END_DECLS outside of an #ifdef. Fixes #375107.
530 2008-03-14 Robert Jordan <robertj@gmx.net>
532 * mono-dl.c (w32_load_module): prevent error dialog by resetting
533 the Win32 error mode during LoadLibrary (). Fixes #360363.
535 * mono-dl.c (w32_dlerror): kill a warning.
537 2007-MM-DD Yoichi NAKAYAMA <nakayama@pixela.co.jp>
539 * mono-membar.h: Memory barrier for mips.
541 Contributed under MIT/X11 license.
543 Tue Feb 26 15:43:26 CET 2008 Paolo Molaro <lupus@ximian.com>
545 * mono-time.c, mono-time.h: new file with the implementation of the
546 time-related routines we need in mono. This includes a hires
547 monotonic clock and a proper monotonic replacement for GetTickCount ().
549 2008-02-13 Zoltan Varga <vargaz@gmail.com>
551 * mono-membar.h (mono_memory_barrier): Applied patch by Sergey Tikhonov
552 <tsv@solvo.ru>. Add alpha support.
554 2008-01-11 Zoltan Varga <vargaz@gmail.com>
556 * mono-io-portability.c: Include errno.h since it is needed by code inside
559 * mono-ehash.c: Don't include os/gc_wrapper.h.
561 2008-01-06 Zoltan Varga <vargaz@gmail.com>
563 * mono-hash.c: Don't include os/gc_wrapper.h.
565 2007-11-06 Geoff Norton <gnorton@novell.com>
567 * strtod.c: Use a G_MUTEX call pattern compatible with eglib. Patch
568 from Jonathan Chambers
570 2007-10-11 Zoltan Varga <vargaz@freemail.hu>
572 * mono-mmap.c (mono_vfree): Fix call to VirtualFree (). Fixes #332165.
574 Mon Oct 8 11:47:44 CEST 2007 Paolo Molaro <lupus@ximian.com>
576 * mono-codeman.c, mono-codeman.h: added a function to be able
577 to specify alignment per-allocation. Changed the code to align
578 the starting position instead of the size, which wouldn't work
579 with variable-alignment.
581 Mon Oct 8 10:51:29 CEST 2007 Paolo Molaro <lupus@ximian.com>
583 * mono-codeman.c, mono-codeman.h: fixed alignment code to not
584 be wasteful, Added documentation. Added mono_code_manager_size ()
585 to gather statistics info about a code manager.
587 Mon Oct 8 10:21:47 CEST 2007 Paolo Molaro <lupus@ximian.com>
589 * mono-counters.h, mono-counters.c: better formatting of the output
590 and added a cleanup function.
592 2007-10-03 Miguel de Icaza <miguel@novell.com>
594 * mono-compiler.h (trunc): Make the definition of trunk for MSC
595 use ceil or floor instead of always using floor which is
598 Issue pointed out by Aras Pranckevicius <aras@unity3d.com>
600 2007-10-02 Jonathan Chambers <joncham@gmail.com>
602 * mono-io-portability.c: Init __mono_io_portability_helpers
603 to PORTABILITY_NONE on windows as mono_portability_helpers_init
604 is not always called before mono_portability_find_file.
606 Code is contributed under MIT/X11 license.
608 2007-10-01 Jonathan Chambers <joncham@gmail.com>
610 * mono-io-portability.c: Only support on non-Windows
613 Code is contributed under MIT/X11 license.
615 Mon Sep 24 17:14:05 CEST 2007 Paolo Molaro <lupus@ximian.com>
617 * strtod.h, strtod.c: made the code threadsafe, fixed gcc warnings,
618 renamed exported call and made it properly internal.
620 2007-09-14 Jonathan Chambers <joncham@gmail.com>
622 * mono-io-portability.c: Add HAVE_UNISTD_H check around include.
624 Code is contributed under MIT/X11 license.
626 Wed Sep 12 15:15:47 CEST 2007 Paolo Molaro <lupus@ximian.com>
628 * Makefile.am: don't install internal headers.
630 2007-09-12 Marek Habersack <mhabersack@novell.com>
632 * mono-io-portability.c: added. Moved options_init from io-layer.
633 (find_in_dir): moved from io-layer/io-portability.c
634 (mono_portability_find_file): moved find_file from
635 io-layer/io-portability.c, renamed and made MONO_INTERNAL.
637 * mono-io-portability.h: added. Contains declarations utility
638 functions and acros for checking whether MONO_IOMAP is in effect.
639 Added a prototype for mono_portability_find_file.
641 2007-09-09 Zoltan Varga <vargaz@gmail.com>
643 * mono-compiler.h: Applied patch from Jurek Bartuszek (jurek@gentoo.org).
644 Fixes build with -fPIE.
646 2007-08-31 Jonathan Chambers <joncham@gmail.com>
648 * mono-compiler.h: Define MONO_INTERNAL to nothing on Windows.
649 Fixes tons of warnings we get on cygwin build.
651 Code is contributed under MIT/X11 license.
653 2007-08-14 Jonathan Chambers <joncham@gmail.com>
655 * mono-membar.h: Use intrinsic functions in msvc.
657 2007-07-31 Zoltan Varga <vargaz@freemail.hu>
659 * mono-dl.c (w32_dlerror): Fix call to FormatMessage (). Fixes #82260.
661 2007-07-27 Mark Probst <mark.probst@gmail.com>
663 * mono-membar.h: Memory barriers.
665 2007-06-13 Mark Probst <mark.probst@gmail.com>
667 * mono-codeman.c (mono_code_manager_reserve): Gather dynamic code
670 2007-06-06 Mark Probst <mark.probst@gmail.com>
672 * mono-internal-hash.c: Fixed a bug in the remove entry code.
674 2007-06-04 Mark Probst <mark.probst@gmail.com>
677 * mono-internal-hash.c, mono-internal-hash.h: Hash table which
678 uses the value themselves as nodes, hence doesn't have to allocate
681 2007-05-24 Jonathan Chambers <joncham@gmail.com>
683 * mono-path.c: Add configure checks for header files.
684 * mono-codeman.c: Add configure checks for header files.
685 * mono-poll.h: Add configure checks for header files.
686 * mono-stdlib.c: Add configure checks for header files.
688 Code is contributed under MIT/X11 license.
690 2007-03-09 Jonathan Chambers <joncham@gmail.com>
692 * mono-dl.c: Use Unicode characters for Win32 functions.
694 Code is contributed under MIT/X11 license.
696 2007-01-26 Robert Jordan <robertj@gmx.net>
698 * mono-dl.c (w32_find_symbol): Implement in-proc symbol lookup
701 Fri Jan 26 13:06:57 CET 2007 Paolo Molaro <lupus@ximian.com>
703 * mono-dl.h, mono-dl.c: make symbols internal and fixes.
705 Wed Jan 24 23:20:17 CET 2007 Paolo Molaro <lupus@ximian.com>
707 * mono-codeman.c: don't call mono_mprotect() on windows.
709 2007-01-20 Zoltan Varga <vargaz@gmail.com>
711 * monobitset.h: monobitset.c: Move MonoBitSet type definition to
712 the header file. Add fast macro based versions of most bitset
713 operations and optimize the rest a bit.
715 Mon Dec 18 18:59:08 CET 2006 Paolo Molaro <lupus@ximian.com>
717 * mono-dl.h, mono-dl.c, Makefile.am: implementation
718 of dynamic loading API.
720 Wed Dec 13 17:21:40 CET 2006 Paolo Molaro <lupus@ximian.com>
722 * mono-mmap.c, mono-mmap.h: use guint64 instead of off_t.
724 2006-12-12 Atsushi Enomoto <atsushi@ximian.com>
726 * mono-mmap.c : win32 build fix.
728 Mon Dec 11 17:24:49 CET 2006 Paolo Molaro <lupus@ximian.com>
730 * mono-codeman.c: changed to use the mono-mmap.h API.
732 Mon Dec 11 15:08:27 CET 2006 Paolo Molaro <lupus@ximian.com>
734 * mono-mmap.c, mono-mmap.h, Makefile.am: introduced mmap-like API.
736 Mon Nov 27 16:03:58 CET 2006 Paolo Molaro <lupus@ximian.com>
738 * strtod.c: fix, again, 64 bit issues.
740 2006-11-25 Miguel de Icaza <miguel@novell.com>
742 * strtod.c: Upgrade this implementation to the one from:
743 http://www.netlib.org/fp/
745 Fixed a few warnings, and added the header thta we had to
746 autodetect the FPU setup to use.
748 This should fix the hang when running the corlib test suite.
750 2006-10-18 Miguel de Icaza <miguel@novell.com>
752 * mono-ehash.c (mono_g_hash_table_destroy): Use mg_free, not
755 2006-10-17 Miguel de Icaza <miguel@novell.com>
757 * mono-ehash.c: Use the new eglib hash implementation; Currently
758 only Boehm is supported.
760 Tue Oct 10 09:53:07 CEST 2006 Paolo Molaro <lupus@ximian.com>
762 * strtod.c: teleport to the new millennium.
764 2006-10-09 Miguel de Icaza <miguel@novell.com>
766 * strtod.c: Replace the BSD implementation which was fairly old
767 and complex with a cleaner version from Tcl/Tk. Fixes the hang
768 that we have in the Double parsing tests in our class libraries.
770 2006-09-12 Zoltan Varga <vargaz@gmail.com>
772 * strtod.c (IEEE_8087): Applied patch from Sergey Tikhonov <tsv@solvo.ru>. Define
773 IEEE_8087 for alpha as well.
775 2006-09-04 Robert Jordan <robertj@gmx.net>
777 * mono-stdlib.c (mono_mkstemp): Fix mkstemp's loop.
779 2006-08-30 Zoltan Varga <vargaz@gmail.com>
781 * mono-codeman.c: Align code to a 16 byte boundary on amd64 too.
783 2006-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
786 * mono-stdlib.[ch]: mkstemp implementation.
788 2006-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
791 * mono-path.[ch]: new files with functions to handle/resolve paths.
793 2006-08-10 Zoltan Varga <vargaz@gmail.com>
795 * mono-compiler.h: Fix TLS definitions so libmono can be loaded dynamically as a
796 module. Fixes #78767.
798 Wed May 17 19:00:15 CEST 2006 Paolo Molaro <lupus@ximian.com>
800 * mono-hash.h, mono-hash.c: changed the code so we're able to
801 specify if the key or value or both are managed objects.
803 2006-04-10 Zoltan Varga <vargaz@gmail.com>
805 * monobitset.c (mono_bitset_sub): Use src->size since the assert
806 guarantees it is less than dest->size.
808 Mon Apr 10 12:28:05 CEST 2006 Paolo Molaro <lupus@ximian.com>
810 * monobitset.c: cap size in mono_bitset_sub () to
811 avoid reading uninit memory.
813 Wed Mar 29 16:39:14 CEST 2006 Paolo Molaro <lupus@ximian.com>
815 * mono-counters.c: initialize the next pointer.
817 Mon Mar 20 14:50:35 CET 2006 Paolo Molaro <lupus@ximian.com>
819 * monobitset.c, monobitset.h: added mono_bitset_find_first_unset ().
821 2006-03-16 Zoltan Varga <vargaz@gmail.com>
823 * monobitset.c: Guard inline asm with #ifdef __GNUC__.
825 * monobitset.c (mono_bitset_find_first): Turn a g_return_val_if_fail
828 * mono-compiler.h (MONO_INTERNAL): Disable this on the VC build.
830 2006-03-10 Zoltan Varga <vargaz@gmail.com>
832 * monobitset.h monobitset.c: Merge lots of optimizations from the linear-il
835 2006-03-01 Zoltan Varga <vargaz@gmail.com>
837 * mono-compiler.h (__func__): Define this as __FUNCTION__ for MSVC.
839 * mono-counters.c: Fix windows build.
841 Wed Mar 1 12:33:26 CET 2006 Paolo Molaro <lupus@ximian.com>
843 * mono-counters.h, mono-counters.c, Makefile.am: added
844 API for flexible stats collection.
846 Tue Feb 28 13:58:50 CET 2006 Paolo Molaro <lupus@ximian.com>
848 * mono-compiler.h: fixed Jakub's patch to actually compile on amd64.
850 Tue Feb 28 11:33:40 CET 2006 Paolo Molaro <lupus@ximian.com>
852 * mono-compiler.h: patch from Jakub Jelinek to retrieve
853 the tls offset without a text writable section (bug #77653).
855 2006-02-01 Sebastien Pouliot <sebastien@ximian.com>
857 * mono-compiler.h: Added a macro for isnormal(x) as it's not available
860 2006-01-20 Zoltan Varga <vargaz@gmail.com>
862 * monobitset.h (mono_bitset_set_fast): Add more fast accessors.
864 2006-01-17 Zoltan Varga <vargaz@gmail.com>
866 * monobitset.h monobitset.c: Move the mono_bitset_test_fast macro here
867 from mini.h. Also fix it after the 64 bit changes.
869 2006-01-15 Zoltan Varga <vargaz@gmail.com>
871 * monobitset.h monobitset.c: Use 64 bit chunks on 64 bit machines.
873 2006-01-04 Zoltan Varga <vargaz@gmail.com>
875 * mono-codeman.c (new_codechunk): Fix warnings.
877 2005-12-13 Atsushi Enomoto <atsushi@ximian.com>
879 * strtod.c : un-constified some variables to fix bug #75228.
881 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
883 * strenc.c: don't use the UTF16 conversion with g_convert. It returns
884 the FF FE at the beginning, which is not what we expect. Now
885 MONO_EXTERNAL_ENCODINGS can roundtrip and works.
887 2005-09-12 Zoltan Varga <vargaz@freemail.hu>
889 * mono-compiler.h (MONO_THREAD_VAR_OFFSET): Fix compilation on amd64
890 with recent binutils.
892 Wed Sep 7 21:23:18 BST 2005 Paolo Molaro <lupus@ximian.com>
894 * mono-codeman.c: ensure we have enough room for thunks
895 with large allocations.
897 2005-08-27 Zoltan Varga <vargaz@gmail.com>
899 * mono-compiler.h (MONO_THREAD_VAR_OFFSET): Disable this when using
902 * strtod.c (Storeinc): Modify code which is miscompiled by intel icc.
904 Thu Aug 4 20:06:28 BST 2005 Paolo Molaro <lupus@ximian.com>
906 * mono-codeman.c: allow room for far calls for ARM, too.
908 2005-07-20 Zoltan Varga <vargaz@freemail.hu>
910 * mono-compiler.h (MONO_THREAD_VAR_OFFSET): Use the nice way of
911 getting the tls offsets on amd64 too.
913 2005-07-19 Zoltan Varga <vargaz@freemail.hu>
915 * mono-compiler.h: Add TLS offset detection for ia64.
917 2005-06-28 Zoltan Varga <vargaz@freemail.hu>
919 * mono-compiler.h (trunc): Define this to be floor under win32.
921 2005-06-13 Geoff Norton <gnorton@customerdna.com>
923 * mono-compiler.h: Be slightly more conservative on ppc
924 as this was previously causing crashes building.
926 2005-06-09 Duncan Mak <duncan@novell.com>
928 * *.h: Added G_BEGIN_DECLS and G_END_DECLS where appropriate to
929 all public headers. Fixes #74919.
931 2005-05-18 Zoltan Varga <vargaz@freemail.hu>
933 * mono-codeman.c: Align code on a 16 byte boundary on ia64.
935 2005-04-20 Zoltan Varga <vargaz@freemail.hu>
937 * mono-digest.h mono-sha1.c mono-md5.c: Fix some gcc 4.0 warnings.
939 2005-04-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
941 * mono-poll.c: windows return code translation.
942 * mono-poll.h: FD_SETSIZE must be defined when compiling everything.
943 Moved to configure.in.
945 2005-04-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
947 * mono-poll.[ch]: mono_poll uses poll() when available, otherwise
948 implement it in terms of select().
949 * Makefile.am: added new files.
951 2005-03-29 Sebastien Pouliot <sebastien@ximian.com>
953 * mono-compiler.h: Added defines to make it easier to compile mono and
954 it's unmanaged tools using the Microsoft C compiler (VS.NET 2005).
956 2005-02-27 Zoltan Varga <vargaz@freemail.hu>
958 * mono-codeman.c: Pass MAP_32BIT to mmap on amd64 to force generated
959 code to have 32 bit addresses.
961 Fri Feb 25 14:54:19 CET 2005 Paolo Molaro <lupus@ximian.com>
963 * mono-compiler.h: amd64 can't handle local-exec in PIC libs.
965 Thu Feb 24 15:18:05 CET 2005 Paolo Molaro <lupus@ximian.com>
967 * Makefile.am, mono-compiler.h: added header to deal with
968 compiler-specific bugs and features.
970 2005-01-30 Zoltan Varga <vargaz@freemail.hu>
972 * mono-logger.c (mono_trace_is_traced): Fix comment.
974 * mono-logger.h mono-logger.c (mono_trace_is_traced): New helper function.
976 2005-01-15 Zoltan Varga <vargaz@freemail.hu>
978 * mono-codeman.c (new_codechunk): Initialize pagesize in the dynamic
981 2004-12-23 Ben Maurer <bmaurer@ximian.com>
983 * strtod.c: add `cosnt' to some arrays to get them on shareable pages.
985 Tue Dec 7 17:53:01 CET 2004 Paolo Molaro <lupus@ximian.com>
987 * mono-codeman.c: align bsize so the returned pointer
988 is aligned also for dynamic methods.
990 2004-10-26 Zoltan Varga <vargaz@freemail.hu>
992 * mono-codeman.c: Fall back to malloc if MAP_ANON is not defined.
994 2004-09-25 Zoltan Varga <vargaz@freemail.hu>
996 * mono-codeman.c (new_codechunk): Set malloc'ed code pages as
999 2004-09-07 Bernie Solomon <bernard@ugsolutions.com>
1001 * mono-sha1.c: Remove uint32 and int32 types completely
1003 2004-09-02 Zoltan Varga <vargaz@freemail.hu>
1005 * mono-codeman.c (new_codechunk): Remove g_assert_not_reached ().
1007 * mono-codeman.c (new_codechunk): Fix windows build.
1009 * mono-codeman.h mono-codeman.c: Generalize so it can be used to
1010 allocate code for dynamic methods (one method per code manager).
1012 2004-07-30 Zoltan Varga <vargaz@freemail.hu>
1014 * mono-logger.c (mono_trace_set_mask_string): Fix AOT tracing constant.
1016 2004-07-28 Zoltan Varga <vargaz@freemail.hu>
1018 * mono-codeman.c (mono_code_manager_invalidate): Invalidate with
1019 x86 break on AMD64 too.
1021 2004-07-23 zovarga <vargaz@freemail.hu>
1023 * monobitset.c (my_g_bit_nth_msf): Add workaround for glib 2.2 bug on
1026 2004-07-09 Ben Maurer <bmaurer@ximain.com>
1028 * mono-hash.c: register gc roots
1030 2004-07-02 Zoltan Varga <vargaz@freemail.hu>
1032 * mono-logger.h mono-logger.c: Added AOT component.
1034 2004-06-30 Zoltan Varga <vargaz@freemail.hu>
1036 * strtod.c: Use gint32 for 32 bit types.
1038 2004-06-29 Zoltan Varga <vargaz@freemail.hu>
1040 * mono-sha1.c: Use gint32 for 32 types. Fixes random memory corruption
1041 in SHA1Transform on 64 bit systems.
1043 2004-06-24 David Waite <mass@akuma.org>
1045 * monobitset.c: change to C90-style comments from C99/C++-style
1047 2004-06-21 Atsushi Enomoto <atsushi@ximian.com>
1049 * mono-sha1.c : close opened file in case of successful read. This
1050 saves a bunch of System.Reflection Emit failures under windows.
1052 2004-06-18 Jackson Harper <jackson@ximian.com>
1054 * mono-logger.c/h: Add a trace mask option for tracing loading
1055 config files. A little white space love.
1057 2004-06-18 Jackson Harper <jackson@ximian.com>
1059 * mono-logger.c: Change default logging level to ERROR. Make sure
1060 that mono_trace_init is called if mono_tracev is our first trace
1061 statement is mono_tracev. Little indentation fix.
1063 2004-05-25 Zoltan Varga <vargaz@freemail.hu>
1065 * mono-codeman.c (mono_code_manager_invalidate): On x86, fill the
1066 memory with 0xcc (x86 break).
1068 2004-05-02 Miguel de Icaza <miguel@ximian.com>
1070 * mono-sha1.c: MacOS X defines "LITTLE_ENDIAN", you are supposed
1071 to test against BYTE_ORDER, and this caused trouble. We now use
1072 G_BYTE_ORDER and G_LITTLE_ENDIAN. This should fix the MacOS woes.
1074 2004-04-26 David Waite <mass@akuma.org>
1076 * mono-logger.h: remove comma from end of enumeration declaration
1078 Fri Apr 23 11:04:33 EDT 2004 Paolo Molaro <lupus@ximian.com>
1080 * mono-codeman.c: macosx pretends an argument (which is ignored)
1081 to be -1. Make sure the thunks area is zeroed.
1083 2004-03-11 Zoltan Varga <vargaz@freemail.hu>
1085 * monobitset.c (mono_bitset_test_bulk): New function to return multiple
1088 Thu Mar 4 15:46:20 PST 2004 Paolo Molaro <lupus@ximian.com>
1090 * mono-codeman.c: add a define to force the use of malloc
1093 Tue Feb 17 21:45:12 CET 2004 Paolo Molaro <lupus@ximian.com>
1095 * mono-codeman.c, mono-codeman.h: allocate extra room in memory close
1096 to the native code for arch where calls have a limited immediate
1099 Wed Feb 11 15:26:18 CET 2004 Paolo Molaro <lupus@ximian.com>
1101 * Makefile.am, mono-codeman.h, mono-codeman.c: new support code
1102 to deal with buffers of native code (handles exec bits and other
1105 2004-01-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1108 (mono_unicode_from_external): UTF8 is the default, not the preferred
1109 encoding, ie, try MONO_EXTERNAL_ENCODINGS first. When "default_locale"
1110 was passed in the env. var., it always failed because we were passing
1111 "default_locale" to g_convert. Also fixed the byte count for non-UTF8
1113 (mono_utf8_from_external): UTF8 is the default, not the preferred one.
1117 Thu Jan 8 19:56:08 CET 2004 Paolo Molaro <lupus@ximian.com>
1119 * mono-uri.c: fixed compile problem.
1121 2003-12-02 Bernie Solomon <bernard@ugsolutions.com>
1123 * mono-math.c: fix for older C compilers and big endian machines
1125 2003-11-12 Zoltan Varga <vargaz@freemail.hu>
1127 * mono-math.h mono-math.c: New file which contains implementations of
1128 math functions/macros which are missing on some platforms.
1130 2003-11-10 Dick Porter <dick@ximian.com>
1132 * strenc.c: Use platform-endian UTF16
1134 2003-10-28 Dick Porter <dick@ximian.com>
1137 * strenc.c: New files, convert text to and from unicode or utf8,
1138 and the user's chosen encoding.
1140 2003-08-26 Zoltan Varga <vargaz@freemail.hu>
1142 * mono-hash.h mono-hash.c (mono_g_hash_table_remap): New function used
1143 to remap hashtable values during a copying collection. Not used at the
1145 * mono-hash.c (g_hash_node_new): Restructured to avoid the global lock
1147 * mono-hash.c (mono_g_hash_table_new_full): Enable the optimization of
1148 the key function even if the client supplied g_direct_equal instead of
1151 2003-08-22 Duncan Mak <duncan@ximian.com>
1153 * strtod.c: 64-bit related fixes from Laurent Morichetti
1154 <l_m@pacbell.net>. Patch approval from Miguel.
1156 Fri Jun 6 19:09:51 CEST 2003 Paolo Molaro <lupus@ximian.com>
1158 * mono-logger.h, mono-logger.c, Makefile.am: added
1159 selective logging code by Jerome Laban <jlaban@wanadoo.fr>.
1161 2003-03-05 Dietmar Maurer <dietmar@ximian.com>
1163 * monobitset.c (mono_bitset_set_all): impl.
1165 Fri Sep 13 15:56:04 CEST 2002 Paolo Molaro <lupus@ximian.com>
1167 * mono-digest.h, mono-sha1.c: Added mono_digest_get_public_token()
1168 to get the public key token from a public key.
1170 Thu Jul 25 13:59:34 CEST 2002 Paolo Molaro <lupus@ximian.com>
1172 * mono-digest.h, mono-md5.c, mono-sha1.c: MD5 and SHA1
1175 Mon Jun 3 15:59:31 CEST 2002 Paolo Molaro <lupus@ximian.com>
1177 * strtod.c: make __bsd_dtoa() always return malloc()ed memory.
1179 Mon Jun 3 15:42:50 CEST 2002 Paolo Molaro <lupus@ximian.com>
1181 * monobitset.c, monobitset.h: documentation and fixes from
1184 Sat Jun 1 14:10:23 CEST 2002 Paolo Molaro <lupus@ximian.com>
1186 * monobitset.c: fix my screwup pointed out by Lawrence Pit
1187 (loz@cable.a2000.nl).
1189 Fri May 31 15:34:18 CEST 2002 Paolo Molaro <lupus@ximian.com>
1191 * monobitset.c, monobitset.h: fixes. added mono_bitset_foreach().
1193 Wed May 22 12:42:06 CEST 2002 Paolo Molaro <lupus@ximian.com>
1195 * monobitset.c: use our own bit_nth_lsf since the glib one is buggy.
1196 Add more tests. mono_bitset_find_first (set, -1) will work correctly
1199 2002-05-09 Dietmar Maurer <dietmar@ximian.com>
1201 * monobitset.c: use memcmp instead of memcpy
1203 Thu May 9 17:23:17 CEST 2002 Paolo Molaro <lupus@ximian.com>
1205 * monobitset.c, monibitset.h: bit set data structure.
1206 Not included in the build yet because the jit has some symbol clashes
1209 Mon Mar 25 12:50:53 CET 2002 Paolo Molaro <lupus@ximian.com>
1211 * First checkin: libmonoutils is meant to hold some utility
1212 data structures and bits that are usefult to the rest of the project
1213 and don't require metadata/runtime support.
1214 mono-hash is a GC-safe hash table: i.e. you can store GC-allocated